oh-my-opencode 4.19.2 → 4.19.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.agents/command/publish.md +95 -28
- package/.agents/skills/publish/SKILL.md +20 -6
- package/.opencode/command/publish.md +95 -28
- package/THIRD-PARTY-NOTICES.md +7 -7
- package/dist/agents/sisyphus-runtime-prompt-reconciler.d.ts +1 -1
- package/dist/cli/config-migrate.d.ts +8 -0
- package/dist/cli/doctor/checks/legacy-config-leftovers.d.ts +10 -0
- package/dist/cli/doctor/checks/model-resolution-config.d.ts +1 -1
- package/dist/cli/doctor/checks/tools-lsp.d.ts +1 -1
- package/dist/cli/doctor/framework/constants.d.ts +1 -1
- package/dist/cli/index.js +95557 -92944
- package/dist/cli-node/index.js +95539 -92926
- package/dist/config/validate.d.ts +2 -1
- package/dist/config-migration/deep-diff.d.ts +1 -0
- package/dist/config-migration/discovery-paths.d.ts +11 -0
- package/dist/config-migration/discovery-roots.d.ts +7 -0
- package/dist/config-migration/discovery.d.ts +4 -0
- package/dist/config-migration/index.d.ts +9 -0
- package/dist/config-migration/legacy-history.d.ts +3 -0
- package/dist/config-migration/migration-executor.d.ts +4 -0
- package/dist/config-migration/migration-plans.d.ts +14 -0
- package/dist/config-migration/record-values.d.ts +4 -0
- package/dist/config-migration/schema-url.d.ts +1 -0
- package/dist/config-migration/transform-config-jsonc.d.ts +2 -0
- package/dist/config-migration/transform-opencode.d.ts +2 -0
- package/dist/config-migration/transform-types.d.ts +24 -0
- package/dist/config-migration/types.d.ts +39 -0
- package/dist/features/builtin-commands/templates/hyperplan.d.ts +1 -1
- package/dist/hooks/auto-update-checker/constants.d.ts +3 -3
- package/dist/index.js +10424 -8161
- package/dist/plugin-config/omo-config-chain.d.ts +14 -0
- package/dist/plugin-config/unknown-key-diagnostics.d.ts +5 -0
- package/dist/plugin-config.d.ts +2 -2
- package/dist/shared/agent-display-names.d.ts +1 -1
- package/dist/shared/jsonc-parser.d.ts +1 -1
- package/dist/shared/migration.d.ts +5 -1
- package/dist/shared/opencode-config-dir-types.d.ts +0 -1
- package/dist/shared/plugin-identity.d.ts +6 -8
- package/dist/shared/project-discovery-dirs.d.ts +0 -1
- package/dist/skills/frontend/ATTRIBUTION.md +7 -0
- package/dist/skills/frontend/SKILL.md +4 -1
- package/dist/skills/frontend/references/design/README.md +8 -0
- package/dist/skills/frontend/references/design/_INDEX.md +14 -1
- package/dist/skills/frontend/references/design/interaction-skill.md +144 -0
- package/dist/startup-migration.d.ts +28 -0
- package/dist/testing/create-plugin-module.d.ts +4 -0
- package/dist/tui.js +5356 -4643
- package/package.json +13 -13
- package/packages/lsp-core/src/lsp/client-diagnostics-freshness.integration.test.ts +19 -3
- package/packages/lsp-core/src/lsp/fixtures/workspace-edit-server.mjs +11 -2
- package/packages/omo-codex/THIRD-PARTY-NOTICES.md +2 -2
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/AGENTS.md +11 -5
- package/packages/omo-codex/plugin/components/codegraph/NOTICE +1 -1
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +10153 -2571
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +7311 -572
- package/packages/omo-codex/plugin/components/codegraph/package.json +2 -2
- package/packages/omo-codex/plugin/components/codegraph/src/hook-input.ts +33 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +36 -10
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +164 -159
- package/packages/omo-codex/plugin/components/codegraph/src/post-tool-use-hook.ts +34 -0
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +20 -2
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-command.ts +106 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-cooldown.ts +145 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-hook-runtime.ts +21 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-lock.ts +139 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-outcome.ts +15 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-paths.ts +32 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-project.ts +109 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker-result.ts +148 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +126 -175
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +4 -4
- package/packages/omo-codex/plugin/components/codegraph/test/hook-session-start-guard.test.ts +160 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-store-upgrade.test.ts +12 -138
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +28 -24
- package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +3 -3
- package/packages/omo-codex/plugin/components/codegraph/test/package-runtime.test.ts +2 -2
- package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +5 -5
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +3 -3
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +45 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +2 -2
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +70 -13
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-project.test.ts +58 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-state.test.ts +104 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-trust-boundary.test.ts +4 -2
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-cooldown.test.ts +116 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +58 -57
- package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/dist/cli.js +31 -14
- package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +17 -0
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
- package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-checking-start-work-continuation.json +1 -1
- package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
- package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +42 -41
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/shared/src/config-loader.ts +165 -16
- package/packages/omo-codex/plugin/shared/src/config-migration.ts +162 -0
- package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +186 -9
- package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +7 -0
- package/packages/omo-codex/plugin/skills/frontend/SKILL.md +4 -1
- package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +8 -0
- package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +14 -1
- package/packages/omo-codex/plugin/skills/frontend/references/design/interaction-skill.md +144 -0
- package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +17 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +1 -1
- package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +7 -0
- package/packages/shared-skills/skills/frontend/SKILL.md +4 -1
- package/packages/shared-skills/skills/frontend/references/design/README.md +8 -0
- package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +14 -1
- package/packages/shared-skills/skills/frontend/references/design/interaction-skill.md +144 -0
- package/dist/plugin-config/layered-config-loader.d.ts +0 -2
- package/dist/plugin-config/single-config-loader.d.ts +0 -4
- package/dist/shared/migrate-legacy-config-file.d.ts +0 -1
- package/dist/shared/migration/config-migration.d.ts +0 -1
|
@@ -3,7 +3,7 @@ description: Publish oh-my-opencode to npm via GitHub Actions workflow
|
|
|
3
3
|
argument-hint: <patch|minor|major>
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
You are the release manager for oh-my-opencode. Execute the FULL publish workflow from start to finish.
|
|
8
8
|
|
|
9
9
|
## CRITICAL: PUBLISH IS SHIP-ONLY — GO STRAIGHT TO THE WORKFLOW
|
|
@@ -26,6 +26,32 @@ Publishing is complete only after all release surfaces are verified:
|
|
|
26
26
|
|
|
27
27
|
The publish workflow must not be reported complete while any of `oh-my-opencode`, `oh-my-openagent`, `lazycodex-ai`, or `code-yeongyu/lazycodex` verification is unresolved.
|
|
28
28
|
|
|
29
|
+
## CRITICAL: FULL WORKFLOW MEANS DISCORD TOO
|
|
30
|
+
|
|
31
|
+
Publishing is not complete until the Discord release announcement has been attempted.
|
|
32
|
+
|
|
33
|
+
- **DO NOT stop after creating the GitHub release.**
|
|
34
|
+
- **DO NOT stop after drafting or applying release notes.**
|
|
35
|
+
- **DO NOT wait for a second user acknowledgement if the user already confirmed the publish.**
|
|
36
|
+
- After the release notes are finalized, immediately run Step 7.5 and post to Discord.
|
|
37
|
+
- If Discord posting fails after authentication/retry, report the failure clearly and continue the remaining verification steps. A skipped Discord step is a workflow failure.
|
|
38
|
+
|
|
39
|
+
## CRITICAL: NO EARLY TURN-END AFTER TRIGGER (COMPLETION CONTRACT)
|
|
40
|
+
|
|
41
|
+
Once `gh workflow run publish` succeeds, the publish is NOT done. A prior session forgot this: it triggered the workflow and ended its turn, leaving the release unverified, the enhanced summary unwritten, and the Discord announcement unsent. That mistake is why this section exists.
|
|
42
|
+
|
|
43
|
+
After Step 3 (trigger), you MUST drive the run to a terminal conclusion AND complete every post-trigger step before ending your turn. You may NOT end the turn, hand off, or stop for the day while ANY of these is unresolved:
|
|
44
|
+
|
|
45
|
+
1. **Run conclusion** — `gh run view <id> --json conclusion` must return `success` (poll while drafting notes; never sleep idle).
|
|
46
|
+
2. **Release exists** — Step 5: `gh release view v${NEW_VERSION}` resolves.
|
|
47
|
+
3. **Enhanced summary applied** — Step 6 + Step 7: draft (mandatory for patch/minor/major) AND `gh release edit --notes-file` applied. "Patch is optional" is wrong; patch summaries are MANDATORY.
|
|
48
|
+
4. **Discord announced** — Step 7.5: `agent-discordbot message send` attempted; either a message id is recorded OR a clear failure is reported to the user. A skipped Discord step is a workflow failure.
|
|
49
|
+
5. **npm verified** — Step 8: `npm view oh-my-opencode version` (and oh-my-openagent, lazycodex-ai) shows `${NEW_VERSION}`.
|
|
50
|
+
|
|
51
|
+
Only after all five are green may you end the turn. If the run fails, run `gh run view <id> --log-failed`, report it, and STOP (do not repair the tree mid-publish). If a post-trigger step fails for an external reason (npm propagation, Discord auth), report it clearly and continue the remaining steps — do not let one failure abort the rest.
|
|
52
|
+
|
|
53
|
+
This contract applies to the slash-command copies (`.agents/command/publish.md`, `.opencode/command/publish.md`) too; they are kept byte-identical to this skill per the `.agents/AGENTS.md` drift rule.
|
|
54
|
+
|
|
29
55
|
## CRITICAL: ARGUMENT REQUIREMENT
|
|
30
56
|
|
|
31
57
|
**You MUST receive a version bump type from the user.** Valid options:
|
|
@@ -52,8 +78,9 @@ The publish workflow must not be reported complete while any of `oh-my-opencode`
|
|
|
52
78
|
{ "id": "run-workflow", "content": "Trigger GitHub Actions publish workflow", "status": "pending", "priority": "high" },
|
|
53
79
|
{ "id": "wait-workflow", "content": "Wait for workflow completion (poll every 30s)", "status": "pending", "priority": "high" },
|
|
54
80
|
{ "id": "verify-and-preview", "content": "Verify release created + preview auto-generated changelog & contributor thanks", "status": "pending", "priority": "high" },
|
|
55
|
-
{ "id": "draft-summary", "content": "Draft enhanced release summary (mandatory for
|
|
56
|
-
{ "id": "apply-summary", "content": "Prepend enhanced summary to release
|
|
81
|
+
{ "id": "draft-summary", "content": "Draft enhanced release summary (mandatory for all release types)", "status": "pending", "priority": "high" },
|
|
82
|
+
{ "id": "apply-summary", "content": "Prepend enhanced summary to release", "status": "pending", "priority": "high" },
|
|
83
|
+
{ "id": "discord-announce", "content": "MANDATORY: post release announcement to Discord channel immediately after release notes are finalized", "status": "pending", "priority": "high" },
|
|
57
84
|
{ "id": "verify-npm", "content": "Verify npm package published successfully", "status": "pending", "priority": "high" },
|
|
58
85
|
{ "id": "verify-lazycodex", "content": "Verify lazycodex-ai publish, Codex plugin metadata version stamp, and code-yeongyu/lazycodex release/sync", "status": "pending", "priority": "high" },
|
|
59
86
|
{ "id": "verify-platform-binaries", "content": "Spot-check platform binary packages on npm", "status": "pending", "priority": "high" },
|
|
@@ -163,10 +190,9 @@ After running the preview, present the output to the user and say:
|
|
|
163
190
|
>
|
|
164
191
|
> You do NOT need to write any of this. It's handled.
|
|
165
192
|
>
|
|
166
|
-
> **For
|
|
167
|
-
> **For a minor/major release**, an enhanced summary is **required** — I'll draft one in the next step.
|
|
193
|
+
> **For all release types**, an enhanced summary is **required** — I'll draft one in the next step.
|
|
168
194
|
|
|
169
|
-
|
|
195
|
+
**APPROVAL GATE (single, binary):** The user's initial publish request with a named bump type IS the only approval this workflow requires. Do NOT wait for a separate acknowledgement here. Present the preview, then IMMEDIATELY proceed to Step 6. The only exception: if the user explicitly said "let me review the changelog before you continue" (or equivalent), stop and wait. Otherwise continue without ending the turn.
|
|
170
196
|
</agent-instruction>
|
|
171
197
|
|
|
172
198
|
---
|
|
@@ -177,7 +203,7 @@ Wait for the user to acknowledge before proceeding.
|
|
|
177
203
|
|
|
178
204
|
| Release Type | Action |
|
|
179
205
|
|-------------|--------|
|
|
180
|
-
| **patch** |
|
|
206
|
+
| **patch** | MANDATORY. Draft a concise bug-fix / change summary. Do NOT proceed without one. |
|
|
181
207
|
| **minor** | MANDATORY. Draft a concise feature summary. Do NOT proceed without one. |
|
|
182
208
|
| **major** | MANDATORY. Draft a full release narrative with migration notes if applicable. Do NOT proceed without one. |
|
|
183
209
|
|
|
@@ -238,17 +264,17 @@ cat /tmp/release-summary-v${NEW_VERSION}.md
|
|
|
238
264
|
```
|
|
239
265
|
|
|
240
266
|
<agent-instruction>
|
|
241
|
-
|
|
242
|
-
> "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks.
|
|
267
|
+
Present the draft to the user:
|
|
268
|
+
> "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks."
|
|
243
269
|
|
|
244
|
-
|
|
270
|
+
**APPROVAL GATE (same single gate):** The initial publish confirmation covers this step too. Present the draft, then IMMEDIATELY proceed to Step 7 (apply) and Step 7.5 (Discord). Do NOT stop to wait for approval unless the user explicitly requested a release-note review hold before the publish started. The Discord announcement (Step 7.5) is mandatory and must not be blocked by a review hold that was never requested.
|
|
245
271
|
</agent-instruction>
|
|
246
272
|
|
|
247
273
|
---
|
|
248
274
|
|
|
249
275
|
## STEP 7: APPLY ENHANCED SUMMARY TO RELEASE
|
|
250
276
|
|
|
251
|
-
|
|
277
|
+
This step is MANDATORY. The enhanced summary from Step 6 must always be applied.
|
|
252
278
|
|
|
253
279
|
<architecture>
|
|
254
280
|
The final release note structure:
|
|
@@ -297,6 +323,64 @@ gh release view "v${NEW_VERSION}" --json url --jq '.url'
|
|
|
297
323
|
|
|
298
324
|
---
|
|
299
325
|
|
|
326
|
+
## STEP 7.5: POST RELEASE NOTES TO DISCORD
|
|
327
|
+
|
|
328
|
+
After the release notes are finalized, post them to the Discord channel. This step is mandatory for every publish run.
|
|
329
|
+
|
|
330
|
+
<hard-gate>
|
|
331
|
+
The workflow is not complete until this step has either:
|
|
332
|
+
1. Sent a Discord message successfully and recorded the message ID, or
|
|
333
|
+
2. Failed after `agent-discordbot auth status` plus one send retry, with the Jobdori bot-token failure reported to the user.
|
|
334
|
+
|
|
335
|
+
Never skip this step because the release summary was awaiting approval. If the user already confirmed the publish, continue through Discord before stopping.
|
|
336
|
+
</hard-gate>
|
|
337
|
+
|
|
338
|
+
<agent-discord-instruction>
|
|
339
|
+
1. Use the Jobdori bot token through `agent-discordbot` for release announcements. This is the required release path; do not use the personal `agent-discord` token unless the bot path is unavailable and the user explicitly approves the fallback. Pin the bot id so release messages go out as the Jobdori bot even if the local `agent-discordbot` current bot changes.
|
|
340
|
+
```bash
|
|
341
|
+
JOBDORI_BOT_ID=1486173823354146917
|
|
342
|
+
agent-discordbot auth status --bot "$JOBDORI_BOT_ID"
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
2. **Read recent messages** in the channel to match the existing announcement style:
|
|
346
|
+
```bash
|
|
347
|
+
JOBDORI_BOT_ID=1486173823354146917
|
|
348
|
+
agent-discordbot message list 1454708427392680067 --bot "$JOBDORI_BOT_ID" --limit 5
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
3. If `agent-discordbot` is unavailable or unauthorized, stop and report that the Jobdori token path failed. Only then may a human decide whether to use `agent-discord`.
|
|
352
|
+
|
|
353
|
+
4. Post the release announcement to channel `1454708427392680067` matching the style of previous announcements. The message should follow this structure:
|
|
354
|
+
```
|
|
355
|
+
@here
|
|
356
|
+
|
|
357
|
+
🎉 **oh-my-opencode v{VERSION} — {Short Tagline}**
|
|
358
|
+
|
|
359
|
+
**Feature 1** — one-line description.
|
|
360
|
+
|
|
361
|
+
**Feature 2** — one-line description.
|
|
362
|
+
|
|
363
|
+
**Feature 3** — one-line description.
|
|
364
|
+
|
|
365
|
+
Plus {summary of remaining changes}.
|
|
366
|
+
|
|
367
|
+
📦 Install / upgrade:
|
|
368
|
+
`bun i -g oh-my-opencode@{VERSION}` (or `npm`)
|
|
369
|
+
|
|
370
|
+
📝 Full release notes: {RELEASE_URL}
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
JOBDORI_BOT_ID=1486173823354146917
|
|
375
|
+
RELEASE_URL=$(gh release view "v${NEW_VERSION}" --json url --jq '.url')
|
|
376
|
+
agent-discordbot message send 1454708427392680067 "{your message following the style above}" --bot "$JOBDORI_BOT_ID"
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
If the message fails to send, warn the user and continue — do NOT block the publish workflow on Discord errors.
|
|
380
|
+
</agent-discord-instruction>
|
|
381
|
+
|
|
382
|
+
---
|
|
383
|
+
|
|
300
384
|
## STEP 8: VERIFY NPM PUBLICATION
|
|
301
385
|
|
|
302
386
|
Poll npm registry until the new version appears:
|
|
@@ -343,20 +427,3 @@ Report success to user with:
|
|
|
343
427
|
## LANGUAGE
|
|
344
428
|
|
|
345
429
|
Respond to user in English.
|
|
346
|
-
|
|
347
|
-
</command-instruction>
|
|
348
|
-
|
|
349
|
-
<current-context>
|
|
350
|
-
<published-version>
|
|
351
|
-
!`npm view oh-my-opencode version 2>/dev/null || echo "not published"`
|
|
352
|
-
</published-version>
|
|
353
|
-
<local-version>
|
|
354
|
-
!`node -p "require('./package.json').version" 2>/dev/null || echo "unknown"`
|
|
355
|
-
</local-version>
|
|
356
|
-
<git-status>
|
|
357
|
-
!`git status --porcelain`
|
|
358
|
-
</git-status>
|
|
359
|
-
<recent-commits>
|
|
360
|
-
!`npm view oh-my-opencode version 2>/dev/null | xargs -I{} git log "v{}"..HEAD --oneline 2>/dev/null | head -15 || echo "no commits"`
|
|
361
|
-
</recent-commits>
|
|
362
|
-
</current-context>
|
|
@@ -35,6 +35,22 @@ Publishing is not complete until the Discord release announcement has been attem
|
|
|
35
35
|
- After the release notes are finalized, immediately run Step 7.5 and post to Discord.
|
|
36
36
|
- If Discord posting fails after authentication/retry, report the failure clearly and continue the remaining verification steps. A skipped Discord step is a workflow failure.
|
|
37
37
|
|
|
38
|
+
## CRITICAL: NO EARLY TURN-END AFTER TRIGGER (COMPLETION CONTRACT)
|
|
39
|
+
|
|
40
|
+
Once `gh workflow run publish` succeeds, the publish is NOT done. A prior session forgot this: it triggered the workflow and ended its turn, leaving the release unverified, the enhanced summary unwritten, and the Discord announcement unsent. That mistake is why this section exists.
|
|
41
|
+
|
|
42
|
+
After Step 3 (trigger), you MUST drive the run to a terminal conclusion AND complete every post-trigger step before ending your turn. You may NOT end the turn, hand off, or stop for the day while ANY of these is unresolved:
|
|
43
|
+
|
|
44
|
+
1. **Run conclusion** — `gh run view <id> --json conclusion` must return `success` (poll while drafting notes; never sleep idle).
|
|
45
|
+
2. **Release exists** — Step 5: `gh release view v${NEW_VERSION}` resolves.
|
|
46
|
+
3. **Enhanced summary applied** — Step 6 + Step 7: draft (mandatory for patch/minor/major) AND `gh release edit --notes-file` applied. "Patch is optional" is wrong; patch summaries are MANDATORY.
|
|
47
|
+
4. **Discord announced** — Step 7.5: `agent-discordbot message send` attempted; either a message id is recorded OR a clear failure is reported to the user. A skipped Discord step is a workflow failure.
|
|
48
|
+
5. **npm verified** — Step 8: `npm view oh-my-opencode version` (and oh-my-openagent, lazycodex-ai) shows `${NEW_VERSION}`.
|
|
49
|
+
|
|
50
|
+
Only after all five are green may you end the turn. If the run fails, run `gh run view <id> --log-failed`, report it, and STOP (do not repair the tree mid-publish). If a post-trigger step fails for an external reason (npm propagation, Discord auth), report it clearly and continue the remaining steps — do not let one failure abort the rest.
|
|
51
|
+
|
|
52
|
+
This contract applies to the slash-command copies (`.agents/command/publish.md`, `.opencode/command/publish.md`) too; they are kept byte-identical to this skill per the `.agents/AGENTS.md` drift rule.
|
|
53
|
+
|
|
38
54
|
## CRITICAL: ARGUMENT REQUIREMENT
|
|
39
55
|
|
|
40
56
|
**You MUST receive a version bump type from the user.** Valid options:
|
|
@@ -175,9 +191,7 @@ After running the preview, present the output to the user and say:
|
|
|
175
191
|
>
|
|
176
192
|
> **For all release types**, an enhanced summary is **required** — I'll draft one in the next step.
|
|
177
193
|
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
If the user already confirmed the publish workflow and did not explicitly ask to review the generated changelog before release-note editing, treat the publish confirmation as sufficient acknowledgement and continue. Do not end the assistant turn here.
|
|
194
|
+
**APPROVAL GATE (single, binary):** The user's initial publish request with a named bump type IS the only approval this workflow requires. Do NOT wait for a separate acknowledgement here. Present the preview, then IMMEDIATELY proceed to Step 6. The only exception: if the user explicitly said "let me review the changelog before you continue" (or equivalent), stop and wait. Otherwise continue without ending the turn.
|
|
181
195
|
</agent-instruction>
|
|
182
196
|
|
|
183
197
|
---
|
|
@@ -249,10 +263,10 @@ cat /tmp/release-summary-v${NEW_VERSION}.md
|
|
|
249
263
|
```
|
|
250
264
|
|
|
251
265
|
<agent-instruction>
|
|
252
|
-
|
|
253
|
-
> "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks.
|
|
266
|
+
Present the draft to the user:
|
|
267
|
+
> "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks."
|
|
254
268
|
|
|
255
|
-
|
|
269
|
+
**APPROVAL GATE (same single gate):** The initial publish confirmation covers this step too. Present the draft, then IMMEDIATELY proceed to Step 7 (apply) and Step 7.5 (Discord). Do NOT stop to wait for approval unless the user explicitly requested a release-note review hold before the publish started. The Discord announcement (Step 7.5) is mandatory and must not be blocked by a review hold that was never requested.
|
|
256
270
|
</agent-instruction>
|
|
257
271
|
|
|
258
272
|
---
|
|
@@ -3,7 +3,7 @@ description: Publish oh-my-opencode to npm via GitHub Actions workflow
|
|
|
3
3
|
argument-hint: <patch|minor|major>
|
|
4
4
|
---
|
|
5
5
|
|
|
6
|
-
|
|
6
|
+
|
|
7
7
|
You are the release manager for oh-my-opencode. Execute the FULL publish workflow from start to finish.
|
|
8
8
|
|
|
9
9
|
## CRITICAL: PUBLISH IS SHIP-ONLY — GO STRAIGHT TO THE WORKFLOW
|
|
@@ -26,6 +26,32 @@ Publishing is complete only after all release surfaces are verified:
|
|
|
26
26
|
|
|
27
27
|
The publish workflow must not be reported complete while any of `oh-my-opencode`, `oh-my-openagent`, `lazycodex-ai`, or `code-yeongyu/lazycodex` verification is unresolved.
|
|
28
28
|
|
|
29
|
+
## CRITICAL: FULL WORKFLOW MEANS DISCORD TOO
|
|
30
|
+
|
|
31
|
+
Publishing is not complete until the Discord release announcement has been attempted.
|
|
32
|
+
|
|
33
|
+
- **DO NOT stop after creating the GitHub release.**
|
|
34
|
+
- **DO NOT stop after drafting or applying release notes.**
|
|
35
|
+
- **DO NOT wait for a second user acknowledgement if the user already confirmed the publish.**
|
|
36
|
+
- After the release notes are finalized, immediately run Step 7.5 and post to Discord.
|
|
37
|
+
- If Discord posting fails after authentication/retry, report the failure clearly and continue the remaining verification steps. A skipped Discord step is a workflow failure.
|
|
38
|
+
|
|
39
|
+
## CRITICAL: NO EARLY TURN-END AFTER TRIGGER (COMPLETION CONTRACT)
|
|
40
|
+
|
|
41
|
+
Once `gh workflow run publish` succeeds, the publish is NOT done. A prior session forgot this: it triggered the workflow and ended its turn, leaving the release unverified, the enhanced summary unwritten, and the Discord announcement unsent. That mistake is why this section exists.
|
|
42
|
+
|
|
43
|
+
After Step 3 (trigger), you MUST drive the run to a terminal conclusion AND complete every post-trigger step before ending your turn. You may NOT end the turn, hand off, or stop for the day while ANY of these is unresolved:
|
|
44
|
+
|
|
45
|
+
1. **Run conclusion** — `gh run view <id> --json conclusion` must return `success` (poll while drafting notes; never sleep idle).
|
|
46
|
+
2. **Release exists** — Step 5: `gh release view v${NEW_VERSION}` resolves.
|
|
47
|
+
3. **Enhanced summary applied** — Step 6 + Step 7: draft (mandatory for patch/minor/major) AND `gh release edit --notes-file` applied. "Patch is optional" is wrong; patch summaries are MANDATORY.
|
|
48
|
+
4. **Discord announced** — Step 7.5: `agent-discordbot message send` attempted; either a message id is recorded OR a clear failure is reported to the user. A skipped Discord step is a workflow failure.
|
|
49
|
+
5. **npm verified** — Step 8: `npm view oh-my-opencode version` (and oh-my-openagent, lazycodex-ai) shows `${NEW_VERSION}`.
|
|
50
|
+
|
|
51
|
+
Only after all five are green may you end the turn. If the run fails, run `gh run view <id> --log-failed`, report it, and STOP (do not repair the tree mid-publish). If a post-trigger step fails for an external reason (npm propagation, Discord auth), report it clearly and continue the remaining steps — do not let one failure abort the rest.
|
|
52
|
+
|
|
53
|
+
This contract applies to the slash-command copies (`.agents/command/publish.md`, `.opencode/command/publish.md`) too; they are kept byte-identical to this skill per the `.agents/AGENTS.md` drift rule.
|
|
54
|
+
|
|
29
55
|
## CRITICAL: ARGUMENT REQUIREMENT
|
|
30
56
|
|
|
31
57
|
**You MUST receive a version bump type from the user.** Valid options:
|
|
@@ -52,8 +78,9 @@ The publish workflow must not be reported complete while any of `oh-my-opencode`
|
|
|
52
78
|
{ "id": "run-workflow", "content": "Trigger GitHub Actions publish workflow", "status": "pending", "priority": "high" },
|
|
53
79
|
{ "id": "wait-workflow", "content": "Wait for workflow completion (poll every 30s)", "status": "pending", "priority": "high" },
|
|
54
80
|
{ "id": "verify-and-preview", "content": "Verify release created + preview auto-generated changelog & contributor thanks", "status": "pending", "priority": "high" },
|
|
55
|
-
{ "id": "draft-summary", "content": "Draft enhanced release summary (mandatory for
|
|
56
|
-
{ "id": "apply-summary", "content": "Prepend enhanced summary to release
|
|
81
|
+
{ "id": "draft-summary", "content": "Draft enhanced release summary (mandatory for all release types)", "status": "pending", "priority": "high" },
|
|
82
|
+
{ "id": "apply-summary", "content": "Prepend enhanced summary to release", "status": "pending", "priority": "high" },
|
|
83
|
+
{ "id": "discord-announce", "content": "MANDATORY: post release announcement to Discord channel immediately after release notes are finalized", "status": "pending", "priority": "high" },
|
|
57
84
|
{ "id": "verify-npm", "content": "Verify npm package published successfully", "status": "pending", "priority": "high" },
|
|
58
85
|
{ "id": "verify-lazycodex", "content": "Verify lazycodex-ai publish, Codex plugin metadata version stamp, and code-yeongyu/lazycodex release/sync", "status": "pending", "priority": "high" },
|
|
59
86
|
{ "id": "verify-platform-binaries", "content": "Spot-check platform binary packages on npm", "status": "pending", "priority": "high" },
|
|
@@ -163,10 +190,9 @@ After running the preview, present the output to the user and say:
|
|
|
163
190
|
>
|
|
164
191
|
> You do NOT need to write any of this. It's handled.
|
|
165
192
|
>
|
|
166
|
-
> **For
|
|
167
|
-
> **For a minor/major release**, an enhanced summary is **required** — I'll draft one in the next step.
|
|
193
|
+
> **For all release types**, an enhanced summary is **required** — I'll draft one in the next step.
|
|
168
194
|
|
|
169
|
-
|
|
195
|
+
**APPROVAL GATE (single, binary):** The user's initial publish request with a named bump type IS the only approval this workflow requires. Do NOT wait for a separate acknowledgement here. Present the preview, then IMMEDIATELY proceed to Step 6. The only exception: if the user explicitly said "let me review the changelog before you continue" (or equivalent), stop and wait. Otherwise continue without ending the turn.
|
|
170
196
|
</agent-instruction>
|
|
171
197
|
|
|
172
198
|
---
|
|
@@ -177,7 +203,7 @@ Wait for the user to acknowledge before proceeding.
|
|
|
177
203
|
|
|
178
204
|
| Release Type | Action |
|
|
179
205
|
|-------------|--------|
|
|
180
|
-
| **patch** |
|
|
206
|
+
| **patch** | MANDATORY. Draft a concise bug-fix / change summary. Do NOT proceed without one. |
|
|
181
207
|
| **minor** | MANDATORY. Draft a concise feature summary. Do NOT proceed without one. |
|
|
182
208
|
| **major** | MANDATORY. Draft a full release narrative with migration notes if applicable. Do NOT proceed without one. |
|
|
183
209
|
|
|
@@ -238,17 +264,17 @@ cat /tmp/release-summary-v${NEW_VERSION}.md
|
|
|
238
264
|
```
|
|
239
265
|
|
|
240
266
|
<agent-instruction>
|
|
241
|
-
|
|
242
|
-
> "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks.
|
|
267
|
+
Present the draft to the user:
|
|
268
|
+
> "Here's the release summary I drafted. This will appear AT THE TOP of the release notes, above the auto-generated commit changelog and contributor thanks."
|
|
243
269
|
|
|
244
|
-
|
|
270
|
+
**APPROVAL GATE (same single gate):** The initial publish confirmation covers this step too. Present the draft, then IMMEDIATELY proceed to Step 7 (apply) and Step 7.5 (Discord). Do NOT stop to wait for approval unless the user explicitly requested a release-note review hold before the publish started. The Discord announcement (Step 7.5) is mandatory and must not be blocked by a review hold that was never requested.
|
|
245
271
|
</agent-instruction>
|
|
246
272
|
|
|
247
273
|
---
|
|
248
274
|
|
|
249
275
|
## STEP 7: APPLY ENHANCED SUMMARY TO RELEASE
|
|
250
276
|
|
|
251
|
-
|
|
277
|
+
This step is MANDATORY. The enhanced summary from Step 6 must always be applied.
|
|
252
278
|
|
|
253
279
|
<architecture>
|
|
254
280
|
The final release note structure:
|
|
@@ -297,6 +323,64 @@ gh release view "v${NEW_VERSION}" --json url --jq '.url'
|
|
|
297
323
|
|
|
298
324
|
---
|
|
299
325
|
|
|
326
|
+
## STEP 7.5: POST RELEASE NOTES TO DISCORD
|
|
327
|
+
|
|
328
|
+
After the release notes are finalized, post them to the Discord channel. This step is mandatory for every publish run.
|
|
329
|
+
|
|
330
|
+
<hard-gate>
|
|
331
|
+
The workflow is not complete until this step has either:
|
|
332
|
+
1. Sent a Discord message successfully and recorded the message ID, or
|
|
333
|
+
2. Failed after `agent-discordbot auth status` plus one send retry, with the Jobdori bot-token failure reported to the user.
|
|
334
|
+
|
|
335
|
+
Never skip this step because the release summary was awaiting approval. If the user already confirmed the publish, continue through Discord before stopping.
|
|
336
|
+
</hard-gate>
|
|
337
|
+
|
|
338
|
+
<agent-discord-instruction>
|
|
339
|
+
1. Use the Jobdori bot token through `agent-discordbot` for release announcements. This is the required release path; do not use the personal `agent-discord` token unless the bot path is unavailable and the user explicitly approves the fallback. Pin the bot id so release messages go out as the Jobdori bot even if the local `agent-discordbot` current bot changes.
|
|
340
|
+
```bash
|
|
341
|
+
JOBDORI_BOT_ID=1486173823354146917
|
|
342
|
+
agent-discordbot auth status --bot "$JOBDORI_BOT_ID"
|
|
343
|
+
```
|
|
344
|
+
|
|
345
|
+
2. **Read recent messages** in the channel to match the existing announcement style:
|
|
346
|
+
```bash
|
|
347
|
+
JOBDORI_BOT_ID=1486173823354146917
|
|
348
|
+
agent-discordbot message list 1454708427392680067 --bot "$JOBDORI_BOT_ID" --limit 5
|
|
349
|
+
```
|
|
350
|
+
|
|
351
|
+
3. If `agent-discordbot` is unavailable or unauthorized, stop and report that the Jobdori token path failed. Only then may a human decide whether to use `agent-discord`.
|
|
352
|
+
|
|
353
|
+
4. Post the release announcement to channel `1454708427392680067` matching the style of previous announcements. The message should follow this structure:
|
|
354
|
+
```
|
|
355
|
+
@here
|
|
356
|
+
|
|
357
|
+
🎉 **oh-my-opencode v{VERSION} — {Short Tagline}**
|
|
358
|
+
|
|
359
|
+
**Feature 1** — one-line description.
|
|
360
|
+
|
|
361
|
+
**Feature 2** — one-line description.
|
|
362
|
+
|
|
363
|
+
**Feature 3** — one-line description.
|
|
364
|
+
|
|
365
|
+
Plus {summary of remaining changes}.
|
|
366
|
+
|
|
367
|
+
📦 Install / upgrade:
|
|
368
|
+
`bun i -g oh-my-opencode@{VERSION}` (or `npm`)
|
|
369
|
+
|
|
370
|
+
📝 Full release notes: {RELEASE_URL}
|
|
371
|
+
```
|
|
372
|
+
|
|
373
|
+
```bash
|
|
374
|
+
JOBDORI_BOT_ID=1486173823354146917
|
|
375
|
+
RELEASE_URL=$(gh release view "v${NEW_VERSION}" --json url --jq '.url')
|
|
376
|
+
agent-discordbot message send 1454708427392680067 "{your message following the style above}" --bot "$JOBDORI_BOT_ID"
|
|
377
|
+
```
|
|
378
|
+
|
|
379
|
+
If the message fails to send, warn the user and continue — do NOT block the publish workflow on Discord errors.
|
|
380
|
+
</agent-discord-instruction>
|
|
381
|
+
|
|
382
|
+
---
|
|
383
|
+
|
|
300
384
|
## STEP 8: VERIFY NPM PUBLICATION
|
|
301
385
|
|
|
302
386
|
Poll npm registry until the new version appears:
|
|
@@ -343,20 +427,3 @@ Report success to user with:
|
|
|
343
427
|
## LANGUAGE
|
|
344
428
|
|
|
345
429
|
Respond to user in English.
|
|
346
|
-
|
|
347
|
-
</command-instruction>
|
|
348
|
-
|
|
349
|
-
<current-context>
|
|
350
|
-
<published-version>
|
|
351
|
-
!`npm view oh-my-opencode version 2>/dev/null || echo "not published"`
|
|
352
|
-
</published-version>
|
|
353
|
-
<local-version>
|
|
354
|
-
!`node -p "require('./package.json').version" 2>/dev/null || echo "unknown"`
|
|
355
|
-
</local-version>
|
|
356
|
-
<git-status>
|
|
357
|
-
!`git status --porcelain`
|
|
358
|
-
</git-status>
|
|
359
|
-
<recent-commits>
|
|
360
|
-
!`npm view oh-my-opencode version 2>/dev/null | xargs -I{} git log "v{}"..HEAD --oneline 2>/dev/null | head -15 || echo "no commits"`
|
|
361
|
-
</recent-commits>
|
|
362
|
-
</current-context>
|
package/THIRD-PARTY-NOTICES.md
CHANGED
|
@@ -24,43 +24,43 @@ Generator/checker note: update this file with the audited component list, then r
|
|
|
24
24
|
- Upstream URL: https://github.com/code-yeongyu/go-claude-code-comment-checker
|
|
25
25
|
- Where-bundled: root production dependency and vendored checker binary payload under `vendor/<platform>/`.
|
|
26
26
|
|
|
27
|
-
### @colbymchenry/codegraph@1.0
|
|
27
|
+
### @colbymchenry/codegraph@1.5.0
|
|
28
28
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
29
29
|
- Copyright: CodeGraph contributors.
|
|
30
30
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph
|
|
31
31
|
- Where-bundled: pinned CodeGraph provisioning payload for the CodeGraph OMO integration.
|
|
32
32
|
|
|
33
|
-
### @colbymchenry/codegraph-darwin-arm64@1.0
|
|
33
|
+
### @colbymchenry/codegraph-darwin-arm64@1.5.0
|
|
34
34
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
35
35
|
- Copyright: CodeGraph contributors.
|
|
36
36
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph-darwin-arm64
|
|
37
37
|
- Where-bundled: optional CodeGraph platform bundle for darwin arm64, including CodeGraph runtime files, Node.js runtime binary, and tree-sitter WASM assets.
|
|
38
38
|
|
|
39
|
-
### @colbymchenry/codegraph-darwin-x64@1.0
|
|
39
|
+
### @colbymchenry/codegraph-darwin-x64@1.5.0
|
|
40
40
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
41
41
|
- Copyright: CodeGraph contributors.
|
|
42
42
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph-darwin-x64
|
|
43
43
|
- Where-bundled: optional CodeGraph platform bundle for darwin x64, including CodeGraph runtime files, Node.js runtime binary, and tree-sitter WASM assets.
|
|
44
44
|
|
|
45
|
-
### @colbymchenry/codegraph-linux-arm64@1.0
|
|
45
|
+
### @colbymchenry/codegraph-linux-arm64@1.5.0
|
|
46
46
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
47
47
|
- Copyright: CodeGraph contributors.
|
|
48
48
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph-linux-arm64
|
|
49
49
|
- Where-bundled: optional CodeGraph platform bundle for linux arm64, including CodeGraph runtime files, Node.js runtime binary, and tree-sitter WASM assets.
|
|
50
50
|
|
|
51
|
-
### @colbymchenry/codegraph-linux-x64@1.0
|
|
51
|
+
### @colbymchenry/codegraph-linux-x64@1.5.0
|
|
52
52
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
53
53
|
- Copyright: CodeGraph contributors.
|
|
54
54
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph-linux-x64
|
|
55
55
|
- Where-bundled: optional CodeGraph platform bundle for linux x64, including CodeGraph runtime files, Node.js runtime binary, and tree-sitter WASM assets.
|
|
56
56
|
|
|
57
|
-
### @colbymchenry/codegraph-win32-arm64@1.0
|
|
57
|
+
### @colbymchenry/codegraph-win32-arm64@1.5.0
|
|
58
58
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
59
59
|
- Copyright: CodeGraph contributors.
|
|
60
60
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph-win32-arm64
|
|
61
61
|
- Where-bundled: optional CodeGraph platform bundle for win32 arm64, including CodeGraph runtime files, Node.js runtime binary, and tree-sitter WASM assets.
|
|
62
62
|
|
|
63
|
-
### @colbymchenry/codegraph-win32-x64@1.0
|
|
63
|
+
### @colbymchenry/codegraph-win32-x64@1.5.0
|
|
64
64
|
- License: MIT, from npm package metadata. The inspected tarball did not include a separate LICENSE file.
|
|
65
65
|
- Copyright: CodeGraph contributors.
|
|
66
66
|
- Upstream URL: https://www.npmjs.com/package/@colbymchenry/codegraph-win32-x64
|
|
@@ -16,7 +16,7 @@ export declare function setSisyphusRuntimePromptContext(ctx: SisyphusRuntimeProm
|
|
|
16
16
|
export declare function clearSisyphusRuntimePromptContext(): void;
|
|
17
17
|
/**
|
|
18
18
|
* The Sisyphus prompt body is baked at registration from the *configured* model
|
|
19
|
-
* in
|
|
19
|
+
* in `.omo/omo.jsonc`. When the user switches to a different model family
|
|
20
20
|
* in the TUI, the entire baked body is the wrong family for the runtime model
|
|
21
21
|
* (issue #5297/#5316): a GPT-configured agent run on a non-GPT model still
|
|
22
22
|
* carries the whole GPT-5.5 body, not just one apply_patch line.
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
export type ConfigMigrateOptions = {
|
|
2
|
+
readonly cwd?: string;
|
|
3
|
+
readonly dryRun?: boolean;
|
|
4
|
+
readonly environment?: Readonly<Record<string, string | undefined>>;
|
|
5
|
+
readonly json?: boolean;
|
|
6
|
+
readonly output?: (line: string) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare function runConfigMigrate(options?: ConfigMigrateOptions): number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import type { ConfigMigrationPathOperations } from "../../../config-migration";
|
|
2
|
+
import type { DoctorIssue } from "../framework/types";
|
|
3
|
+
export type LegacyConfigLeftoverOptions = {
|
|
4
|
+
readonly cwd: string;
|
|
5
|
+
readonly environment?: Readonly<Record<string, string | undefined>>;
|
|
6
|
+
readonly homeDir: string;
|
|
7
|
+
readonly pathOperations?: ConfigMigrationPathOperations;
|
|
8
|
+
};
|
|
9
|
+
export declare function findLegacyConfigLeftovers(options: LegacyConfigLeftoverOptions): readonly string[];
|
|
10
|
+
export declare function legacyConfigLeftoverWarning(paths: readonly string[]): DoctorIssue | undefined;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { OmoConfig } from "./model-resolution-types";
|
|
2
|
-
export declare function loadOmoConfig(): OmoConfig
|
|
2
|
+
export declare function loadOmoConfig(): OmoConfig;
|
|
@@ -29,5 +29,5 @@ export declare const EXIT_CODES: {
|
|
|
29
29
|
readonly FAILURE: 1;
|
|
30
30
|
};
|
|
31
31
|
export declare const MIN_OPENCODE_VERSION = "1.4.0";
|
|
32
|
-
export declare const PACKAGE_NAME
|
|
32
|
+
export declare const PACKAGE_NAME = "oh-my-openagent";
|
|
33
33
|
export declare const OPENCODE_BINARIES: readonly ["opencode", "opencode-desktop"];
|