fix: resolve Cubic review issues - workflow YAML, issue templates, stale references
This commit is contained in:
@@ -13,10 +13,13 @@ body:
|
|||||||
description: Please confirm the following before submitting
|
description: Please confirm the following before submitting
|
||||||
options:
|
options:
|
||||||
- label: I will write this issue in English (see our [Language Policy](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/CONTRIBUTING.md#language-policy))
|
- label: I will write this issue in English (see our [Language Policy](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/CONTRIBUTING.md#language-policy))
|
||||||
|
required: true
|
||||||
- label: I have searched existing issues to avoid duplicates
|
- label: I have searched existing issues to avoid duplicates
|
||||||
required: true
|
required: true
|
||||||
- label: I am using the latest version of oh-my-openagent
|
- label: I am using the latest version of oh-my-openagent
|
||||||
|
required: true
|
||||||
- label: I have read the [documentation](https://github.com/code-yeongyu/oh-my-openagent#readme) or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
|
- label: I have read the [documentation](https://github.com/code-yeongyu/oh-my-openagent#readme) or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: description
|
id: description
|
||||||
@@ -84,7 +87,8 @@ body:
|
|||||||
id: config
|
id: config
|
||||||
attributes:
|
attributes:
|
||||||
label: Configuration
|
label: Configuration
|
||||||
description: If relevant, share your oh-my-openagent configuration (remove sensitive data)
|
description: If relevant, share your oh-my-openagent configuration (remove sensitive data)
|
||||||
|
placeholder: |
|
||||||
{
|
{
|
||||||
"agents": { ... },
|
"agents": { ... },
|
||||||
"disabled_hooks": [ ... ]
|
"disabled_hooks": [ ... ]
|
||||||
|
|||||||
@@ -13,10 +13,13 @@ body:
|
|||||||
description: Please confirm the following before submitting
|
description: Please confirm the following before submitting
|
||||||
options:
|
options:
|
||||||
- label: I will write this issue in English (see our [Language Policy](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/CONTRIBUTING.md#language-policy))
|
- label: I will write this issue in English (see our [Language Policy](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/CONTRIBUTING.md#language-policy))
|
||||||
|
required: true
|
||||||
- label: I have searched existing issues and discussions to avoid duplicates
|
- label: I have searched existing issues and discussions to avoid duplicates
|
||||||
required: true
|
required: true
|
||||||
- label: This feature request is specific to oh-my-openagent (not OpenCode core)
|
- label: This feature request is specific to oh-my-openagent (not OpenCode core)
|
||||||
|
required: true
|
||||||
- label: I have read the [documentation](https://github.com/code-yeongyu/oh-my-openagent#readme) or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
|
- label: I have read the [documentation](https://github.com/code-yeongyu/oh-my-openagent#readme) or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
|
||||||
|
required: true
|
||||||
|
|
||||||
- type: textarea
|
- type: textarea
|
||||||
id: problem
|
id: problem
|
||||||
|
|||||||
@@ -13,9 +13,11 @@ body:
|
|||||||
description: Please confirm the following before submitting
|
description: Please confirm the following before submitting
|
||||||
options:
|
options:
|
||||||
- label: I will write this issue in English (see our [Language Policy](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/CONTRIBUTING.md#language-policy))
|
- label: I will write this issue in English (see our [Language Policy](https://github.com/code-yeongyu/oh-my-openagent/blob/dev/CONTRIBUTING.md#language-policy))
|
||||||
|
required: true
|
||||||
- label: I have searched existing issues and discussions
|
- label: I have searched existing issues and discussions
|
||||||
required: true
|
required: true
|
||||||
- label: I have read the [documentation](https://github.com/code-yeongyu/oh-my-openagent#readme) or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
|
- label: I have read the [documentation](https://github.com/code-yeongyu/oh-my-openagent#readme) or asked an AI coding agent with this project's GitHub URL loaded and couldn't find the answer
|
||||||
|
required: true
|
||||||
- label: This is a question (not a bug report or feature request)
|
- label: This is a question (not a bug report or feature request)
|
||||||
required: true
|
required: true
|
||||||
|
|
||||||
|
|||||||
@@ -269,6 +269,7 @@ jobs:
|
|||||||
registry-url: "https://registry.npmjs.org"
|
registry-url: "https://registry.npmjs.org"
|
||||||
|
|
||||||
- name: Publish oh-my-openagent-${{ matrix.platform }}
|
- name: Publish oh-my-openagent-${{ matrix.platform }}
|
||||||
|
if: steps.check.outputs.skip != 'true' && steps.download.outcome == 'success'
|
||||||
run: |
|
run: |
|
||||||
cd packages/${{ matrix.platform }}
|
cd packages/${{ matrix.platform }}
|
||||||
|
|
||||||
@@ -284,21 +285,21 @@ jobs:
|
|||||||
timeout-minutes: 15
|
timeout-minutes: 15
|
||||||
|
|
||||||
- name: Publish oh-my-opencode-${{ matrix.platform }} (alias)
|
- name: Publish oh-my-opencode-${{ matrix.platform }} (alias)
|
||||||
|
if: steps.check.outputs.skip != 'true' && steps.download.outcome == 'success'
|
||||||
|
run: |
|
||||||
cd packages/${{ matrix.platform }}
|
cd packages/${{ matrix.platform }}
|
||||||
|
|
||||||
# Rename package for oh-my-opencode
|
# Rename package for oh-my-opencode
|
||||||
jq --arg name "oh-my-opencode-${{ matrix.platform }}" \
|
jq --arg name "oh-my-opencode-${{ matrix.platform }}" \
|
||||||
--arg desc "Platform-specific binary for oh-my-opencode (${{ matrix.platform }})" \
|
--arg desc "Platform-specific binary for oh-my-opencode (${{ matrix.platform }})" \
|
||||||
'.name = $name | .description = $desc | .bin = {"oh-my-opencode": (.bin | to_entries | .[0].value)}' \
|
'.name = $name | .description = $desc | .bin = {"oh-my-opencode": (.bin | to_entries | .[0].value)}' \
|
||||||
package.json > tmp.json && mv tmp.json package.json
|
package.json > tmp.json && mv tmp.json package.json
|
||||||
'.name = $name | .description = $desc | .bin = {"oh-my-openagent": (.bin | to_entries | .[0].value)}' \
|
|
||||||
package.json > tmp.json && mv tmp.json package.json
|
|
||||||
|
|
||||||
TAG_ARG=""
|
TAG_ARG=""
|
||||||
if [ -n "${{ inputs.dist_tag }}" ]; then
|
if [ -n "${{ inputs.dist_tag }}" ]; then
|
||||||
TAG_ARG="--tag ${{ inputs.dist_tag }}"
|
TAG_ARG="--tag ${{ inputs.dist_tag }}"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
npm publish --access public --provenance $TAG_ARG
|
npm publish --access public --provenance $TAG_ARG
|
||||||
env:
|
env:
|
||||||
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
NODE_AUTH_TOKEN: ${{ secrets.NODE_AUTH_TOKEN }}
|
||||||
|
|||||||
@@ -152,6 +152,7 @@ jobs:
|
|||||||
VERSION="${{ inputs.version }}"
|
VERSION="${{ inputs.version }}"
|
||||||
if [ -z "$VERSION" ]; then
|
if [ -z "$VERSION" ]; then
|
||||||
PREV=$(curl -s https://registry.npmjs.org/oh-my-openagent/latest | jq -r '.version // "0.0.0"')
|
PREV=$(curl -s https://registry.npmjs.org/oh-my-openagent/latest | jq -r '.version // "0.0.0"')
|
||||||
|
BASE="${PREV%%-*}"
|
||||||
IFS='.' read -r MAJOR MINOR PATCH <<< "$BASE"
|
IFS='.' read -r MAJOR MINOR PATCH <<< "$BASE"
|
||||||
case "${{ inputs.bump }}" in
|
case "${{ inputs.bump }}" in
|
||||||
major) VERSION="$((MAJOR+1)).0.0" ;;
|
major) VERSION="$((MAJOR+1)).0.0" ;;
|
||||||
@@ -173,6 +174,7 @@ jobs:
|
|||||||
- name: Check if already published
|
- name: Check if already published
|
||||||
id: check
|
id: check
|
||||||
run: |
|
run: |
|
||||||
|
VERSION="${{ steps.version.outputs.version }}"
|
||||||
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "https://registry.npmjs.org/oh-my-openagent/${VERSION}")
|
STATUS=$(curl -s -o /dev/null -w "%{http_code}" "https://registry.npmjs.org/oh-my-openagent/${VERSION}")
|
||||||
if [ "$STATUS" = "200" ]; then
|
if [ "$STATUS" = "200" ]; then
|
||||||
echo "skip=true" >> $GITHUB_OUTPUT
|
echo "skip=true" >> $GITHUB_OUTPUT
|
||||||
|
|||||||
@@ -110,6 +110,7 @@ jobs:
|
|||||||
REPO_PATH=$(pwd)
|
REPO_PATH=$(pwd)
|
||||||
jq --arg path "file://$REPO_PATH/src/index.ts" '
|
jq --arg path "file://$REPO_PATH/src/index.ts" '
|
||||||
.plugin = [.plugin[] | select(. != "oh-my-opencode" and . != "oh-my-openagent")] + [$path]
|
.plugin = [.plugin[] | select(. != "oh-my-opencode" and . != "oh-my-openagent")] + [$path]
|
||||||
|
' "$OPENCODE_JSON" > /tmp/oc.json && mv /tmp/oc.json "$OPENCODE_JSON"
|
||||||
|
|
||||||
OPENCODE_JSON=~/.config/opencode/opencode.json
|
OPENCODE_JSON=~/.config/opencode/opencode.json
|
||||||
jq --arg baseURL "$ANTHROPIC_BASE_URL" --arg apiKey "$ANTHROPIC_API_KEY" '
|
jq --arg baseURL "$ANTHROPIC_BASE_URL" --arg apiKey "$ANTHROPIC_API_KEY" '
|
||||||
|
|||||||
+1
-1
@@ -110,7 +110,7 @@ After making changes, you can test your local build in OpenCode:
|
|||||||
```
|
```
|
||||||
oh-my-openagent/
|
oh-my-openagent/
|
||||||
├── src/
|
├── src/
|
||||||
│ ├── index.ts # Plugin entry (OhMyOpenCodePlugin)
|
│ ├── index.ts # Plugin entry (OhMyOpenAgentPlugin)
|
||||||
│ ├── plugin-config.ts # JSONC multi-level config (Zod v4)
|
│ ├── plugin-config.ts # JSONC multi-level config (Zod v4)
|
||||||
│ ├── agents/ # 11 agents (Sisyphus, Hephaestus, Oracle, Librarian, Explore, Atlas, Prometheus, Metis, Momus, Multimodal-Looker, Sisyphus-Junior)
|
│ ├── agents/ # 11 agents (Sisyphus, Hephaestus, Oracle, Librarian, Explore, Atlas, Prometheus, Metis, Momus, Multimodal-Looker, Sisyphus-Junior)
|
||||||
│ ├── hooks/ # Lifecycle hooks for orchestration, recovery, UX, and context management
|
│ ├── hooks/ # Lifecycle hooks for orchestration, recovery, UX, and context management
|
||||||
|
|||||||
@@ -20,7 +20,6 @@ export function buildGeminiSisyphusJuniorPrompt(
|
|||||||
? "All tasks marked completed"
|
? "All tasks marked completed"
|
||||||
: "All todos marked completed"
|
: "All todos marked completed"
|
||||||
const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent.
|
const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent.
|
||||||
You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent.
|
|
||||||
|
|
||||||
## Identity
|
## Identity
|
||||||
|
|
||||||
@@ -191,4 +190,4 @@ No tasks on multi-step work = INCOMPLETE WORK. The user tracks your progress thr
|
|||||||
- **Batching** — NEVER batch completions. Mark EACH todo individually.
|
- **Batching** — NEVER batch completions. Mark EACH todo individually.
|
||||||
|
|
||||||
No todos on multi-step work = INCOMPLETE WORK. The user tracks your progress through todos.`
|
No todos on multi-step work = INCOMPLETE WORK. The user tracks your progress through todos.`
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ export function buildGpt54SisyphusJuniorPrompt(
|
|||||||
? "All tasks marked completed"
|
? "All tasks marked completed"
|
||||||
: "All todos marked completed";
|
: "All todos marked completed";
|
||||||
const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent.
|
const prompt = `You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent.
|
||||||
You are Sisyphus-Junior — a focused task executor from OhMyOpenAgent.
|
|
||||||
|
|
||||||
## Identity
|
## Identity
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user