oh-my-opencode 5.0.0-beta.33 → 5.0.0-beta.35

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.
Files changed (221) hide show
  1. package/.agents/skills/codex-qa/scripts/lsp-e2e.sh +1 -3
  2. package/.agents/skills/opencode-qa/scripts/lsp-e2e.sh +1 -1
  3. package/.agents/skills/tech-debt-audit/SKILL.md +6 -76
  4. package/README.ja.md +1 -1
  5. package/README.ko.md +1 -1
  6. package/README.md +1 -1
  7. package/README.ru.md +1 -1
  8. package/README.zh-cn.md +1 -1
  9. package/THIRD-PARTY-NOTICES.md +27 -99
  10. package/dist/cli/index.js +48350 -48559
  11. package/dist/cli-node/index.js +48480 -48689
  12. package/dist/config/index.d.ts +1 -1
  13. package/dist/config/schema/hooks.d.ts +0 -1
  14. package/dist/config/schema/oh-my-opencode-config.d.ts +0 -10
  15. package/dist/config/schema.d.ts +0 -1
  16. package/dist/create-hooks.d.ts +0 -1
  17. package/dist/hooks/index.d.ts +0 -1
  18. package/dist/index.js +11675 -13742
  19. package/dist/mcp/index.d.ts +0 -4
  20. package/dist/mcp/types.d.ts +0 -1
  21. package/dist/oh-my-opencode.schema.json +1 -45
  22. package/dist/plugin/hooks/create-core-hooks.d.ts +0 -1
  23. package/dist/plugin/hooks/create-session-hooks.d.ts +1 -2
  24. package/dist/shared/omo-process-sweep.d.ts +2 -4
  25. package/dist/skills/init-deep/SKILL.md +13 -13
  26. package/dist/skills/ulw-plan/SKILL.md +0 -1
  27. package/dist/tui.js +44809 -44910
  28. package/package.json +16 -18
  29. package/packages/omo-codex/THIRD-PARTY-NOTICES.md +0 -17
  30. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -3
  31. package/packages/omo-codex/plugin/.mcp.json +0 -6
  32. package/packages/omo-codex/plugin/AGENTS.md +5 -5
  33. package/packages/omo-codex/plugin/README.md +1 -1
  34. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +1 -15
  35. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  36. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  37. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  38. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  39. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  40. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  41. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  42. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  43. package/packages/omo-codex/plugin/components/lcx/skills/lcx-doctor/SKILL.md +1 -1
  44. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  45. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  46. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  47. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  48. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  49. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  50. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  51. package/packages/omo-codex/plugin/components/teammode/test/thread-title-hook.test.ts +1 -1
  52. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  53. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  54. package/packages/omo-codex/plugin/components/ultrawork/dist/cli.js +2 -2
  55. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  56. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  57. package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +0 -1
  58. package/packages/omo-codex/plugin/components/ultrawork/src/directive-content.ts +1 -1
  59. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +2 -2
  60. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  61. package/packages/omo-codex/plugin/components/ulw-loop/README.md +11 -1
  62. package/packages/omo-codex/plugin/components/ulw-loop/directive.md +2 -2
  63. package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-codex-validation.d.ts +12 -0
  64. package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-codex-validation.js +45 -0
  65. package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-reconciliation.d.ts +1 -0
  66. package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-reconciliation.js +5 -0
  67. package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint-template.js +10 -3
  68. package/packages/omo-codex/plugin/components/ulw-loop/dist/checkpoint.js +35 -38
  69. package/packages/omo-codex/plugin/components/ulw-loop/dist/cli.js +278 -193
  70. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-aggregate.d.ts +5 -0
  71. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-aggregate.js +7 -51
  72. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-artifacts.js +39 -22
  73. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-fields.d.ts +13 -1
  74. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-fields.js +64 -8
  75. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate-verdicts.js +5 -1
  76. package/packages/omo-codex/plugin/components/ulw-loop/dist/quality-gate.js +37 -18
  77. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
  78. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  79. package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/references/full-workflow.md +2 -1
  80. package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint-codex-validation.ts +81 -0
  81. package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint-reconciliation.ts +6 -0
  82. package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint-template.ts +10 -3
  83. package/packages/omo-codex/plugin/components/ulw-loop/src/checkpoint.ts +32 -63
  84. package/packages/omo-codex/plugin/components/ulw-loop/src/quality-gate-aggregate.ts +7 -53
  85. package/packages/omo-codex/plugin/components/ulw-loop/src/quality-gate-artifacts.ts +50 -31
  86. package/packages/omo-codex/plugin/components/ulw-loop/src/quality-gate-fields.ts +67 -14
  87. package/packages/omo-codex/plugin/components/ulw-loop/src/quality-gate-verdicts.ts +6 -1
  88. package/packages/omo-codex/plugin/components/ulw-loop/src/quality-gate.ts +36 -17
  89. package/packages/omo-codex/plugin/components/ulw-loop/test/checkpoint-final.test.ts +26 -0
  90. package/packages/omo-codex/plugin/components/ulw-loop/test/checkpoint-template.test.ts +47 -2
  91. package/packages/omo-codex/plugin/components/ulw-loop/test/quality-gate-aggregate-basics.test.ts +258 -0
  92. package/packages/omo-codex/plugin/components/ulw-loop/test/quality-gate-cap-and-dedupe.test.ts +22 -0
  93. package/packages/omo-codex/plugin/components/ulw-loop/test/quality-gate-poisoning-cascades.test.ts +97 -0
  94. package/packages/omo-codex/plugin/components/ulw-loop/test/quality-gate-single-report.test.ts +241 -0
  95. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  96. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  97. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  98. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  99. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  100. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  101. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  102. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  103. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  104. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  105. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  106. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  107. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  108. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  109. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  110. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  111. package/packages/omo-codex/plugin/hooks/subagent-stop-checking-ulw-execute-continuation.json +1 -1
  112. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  113. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  114. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  115. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  116. package/packages/omo-codex/plugin/package-lock.json +12 -146
  117. package/packages/omo-codex/plugin/package.json +1 -2
  118. package/packages/omo-codex/plugin/scripts/AGENTS.md +0 -1
  119. package/packages/omo-codex/plugin/scripts/auto-update-plan.mjs +0 -1
  120. package/packages/omo-codex/plugin/scripts/auto-update.mjs +0 -9
  121. package/packages/omo-codex/plugin/scripts/canonical-ultrawork-directive.mjs +17 -0
  122. package/packages/omo-codex/plugin/scripts/hook-status-message.mjs +0 -1
  123. package/packages/omo-codex/plugin/scripts/sync-skills.mjs +2 -8
  124. package/packages/omo-codex/plugin/shared/src/config-loader.ts +2 -102
  125. package/packages/omo-codex/plugin/shared/src/config-migration.ts +0 -1
  126. package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +41 -130
  127. package/packages/omo-codex/plugin/skills/init-deep/SKILL.md +13 -13
  128. package/packages/omo-codex/plugin/skills/lcx-doctor/SKILL.md +1 -1
  129. package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +2 -2
  130. package/packages/omo-codex/plugin/skills/ulw-loop/references/full-workflow.md +2 -1
  131. package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +0 -1
  132. package/packages/omo-codex/plugin/test/AGENTS.md +2 -2
  133. package/packages/omo-codex/plugin/test/aggregate-hooks.test.mjs +2 -21
  134. package/packages/omo-codex/plugin/test/aggregate-manifest.test.mjs +1 -2
  135. package/packages/omo-codex/plugin/test/aggregate-mcp.test.mjs +2 -7
  136. package/packages/omo-codex/plugin/test/auto-update.test.mjs +0 -25
  137. package/packages/omo-codex/plugin/test/bootstrap-setup.test.mjs +0 -31
  138. package/packages/omo-codex/plugin/test/canonical-ultrawork-directive.test.mjs +53 -0
  139. package/packages/omo-codex/plugin/test/component-bundled-cli.test.mjs +0 -50
  140. package/packages/omo-codex/plugin/test/hook-status-message.test.mjs +0 -1
  141. package/packages/omo-codex/plugin/test/mcp-research-servers.test.mjs +1 -3
  142. package/packages/omo-codex/scripts/install-cache-copy.test.mjs +27 -1
  143. package/packages/omo-codex/scripts/install-config-git-bash.test.mjs +0 -23
  144. package/packages/omo-codex/scripts/install-dist/install-local.mjs +238 -431
  145. package/packages/omo-codex/scripts/install-git-bash-mcp-env.test.mjs +1 -25
  146. package/packages/omo-codex/scripts/install-mcp-runtime.test.mjs +0 -36
  147. package/packages/shared-skills/skills/init-deep/SKILL.md +13 -13
  148. package/packages/shared-skills/skills/ulw-plan/SKILL.md +0 -1
  149. package/dist/config/schema/codegraph.d.ts +0 -12
  150. package/dist/hooks/codegraph-bootstrap/command-runner.d.ts +0 -17
  151. package/dist/hooks/codegraph-bootstrap/hook.d.ts +0 -35
  152. package/dist/hooks/codegraph-bootstrap/index.d.ts +0 -1
  153. package/dist/hooks/codegraph-bootstrap/project-root.d.ts +0 -1
  154. package/dist/hooks/codegraph-bootstrap/status.d.ts +0 -11
  155. package/dist/mcp/codegraph.d.ts +0 -16
  156. package/packages/omo-codex/plugin/components/codegraph/AGENTS.md +0 -58
  157. package/packages/omo-codex/plugin/components/codegraph/LICENSE +0 -21
  158. package/packages/omo-codex/plugin/components/codegraph/NODE-RUNTIME-LICENSES.md +0 -2951
  159. package/packages/omo-codex/plugin/components/codegraph/NOTICE +0 -16
  160. package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +0 -12326
  161. package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +0 -9908
  162. package/packages/omo-codex/plugin/components/codegraph/package.json +0 -33
  163. package/packages/omo-codex/plugin/components/codegraph/src/cache-gc.ts +0 -29
  164. package/packages/omo-codex/plugin/components/codegraph/src/cli.ts +0 -79
  165. package/packages/omo-codex/plugin/components/codegraph/src/hook-input.ts +0 -33
  166. package/packages/omo-codex/plugin/components/codegraph/src/hook-sweep.ts +0 -25
  167. package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +0 -131
  168. package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +0 -258
  169. package/packages/omo-codex/plugin/components/codegraph/src/mcp-bridge.ts +0 -310
  170. package/packages/omo-codex/plugin/components/codegraph/src/mcp-unavailable.ts +0 -92
  171. package/packages/omo-codex/plugin/components/codegraph/src/post-tool-use-hook.ts +0 -34
  172. package/packages/omo-codex/plugin/components/codegraph/src/serve-invocation.ts +0 -29
  173. package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +0 -263
  174. package/packages/omo-codex/plugin/components/codegraph/src/session-start-command.ts +0 -106
  175. package/packages/omo-codex/plugin/components/codegraph/src/session-start-cooldown.ts +0 -145
  176. package/packages/omo-codex/plugin/components/codegraph/src/session-start-hook-runtime.ts +0 -22
  177. package/packages/omo-codex/plugin/components/codegraph/src/session-start-lock.ts +0 -139
  178. package/packages/omo-codex/plugin/components/codegraph/src/session-start-outcome.ts +0 -15
  179. package/packages/omo-codex/plugin/components/codegraph/src/session-start-paths.ts +0 -32
  180. package/packages/omo-codex/plugin/components/codegraph/src/session-start-project.ts +0 -109
  181. package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker-result.ts +0 -148
  182. package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +0 -175
  183. package/packages/omo-codex/plugin/components/codegraph/src/sweep-cli.ts +0 -81
  184. package/packages/omo-codex/plugin/components/codegraph/test/cache-gc.test.ts +0 -34
  185. package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +0 -112
  186. package/packages/omo-codex/plugin/components/codegraph/test/hook-registration.test.ts +0 -26
  187. package/packages/omo-codex/plugin/components/codegraph/test/hook-session-start-guard.test.ts +0 -160
  188. package/packages/omo-codex/plugin/components/codegraph/test/hook-store-upgrade.test.ts +0 -50
  189. package/packages/omo-codex/plugin/components/codegraph/test/hook-sweep.test.ts +0 -29
  190. package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +0 -320
  191. package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +0 -172
  192. package/packages/omo-codex/plugin/components/codegraph/test/package-runtime.test.ts +0 -91
  193. package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +0 -100
  194. package/packages/omo-codex/plugin/components/codegraph/test/serve-built-wrapper.test.ts +0 -76
  195. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge-lifecycle.test.ts +0 -133
  196. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +0 -245
  197. package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +0 -69
  198. package/packages/omo-codex/plugin/components/codegraph/test/serve-node-support.test.ts +0 -43
  199. package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +0 -147
  200. package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable-idle.test.ts +0 -47
  201. package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +0 -175
  202. package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +0 -385
  203. package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +0 -206
  204. package/packages/omo-codex/plugin/components/codegraph/test/session-start-project.test.ts +0 -58
  205. package/packages/omo-codex/plugin/components/codegraph/test/session-start-state.test.ts +0 -104
  206. package/packages/omo-codex/plugin/components/codegraph/test/session-start-trust-boundary.test.ts +0 -65
  207. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-availability.test.ts +0 -106
  208. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-cooldown.test.ts +0 -116
  209. package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +0 -258
  210. package/packages/omo-codex/plugin/components/codegraph/test/sweep-cli.test.ts +0 -56
  211. package/packages/omo-codex/plugin/components/codegraph/tsconfig.build.json +0 -13
  212. package/packages/omo-codex/plugin/components/codegraph/tsconfig.json +0 -25
  213. package/packages/omo-codex/plugin/components/ulw-loop/test/quality-gate-aggregate.test.ts +0 -101
  214. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +0 -18
  215. package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +0 -17
  216. package/packages/omo-codex/plugin/scripts/migrate-omo-sot/editor.mjs +0 -125
  217. package/packages/omo-codex/plugin/scripts/migrate-omo-sot/jsonc.mjs +0 -43
  218. package/packages/omo-codex/plugin/scripts/migrate-omo-sot/scaffold.mjs +0 -29
  219. package/packages/omo-codex/plugin/scripts/migrate-omo-sot.mjs +0 -121
  220. package/packages/omo-codex/plugin/test/component-codegraph-mcp-smoke.test.mjs +0 -76
  221. package/packages/omo-codex/plugin/test/migrate-omo-sot.test.mjs +0 -179
@@ -1,14 +1,13 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/omo-codex-plugin",
3
- "version": "5.0.0-beta.33",
3
+ "version": "5.0.0-beta.35",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sisyphuslabs/omo-codex-plugin",
9
- "version": "5.0.0-beta.33",
9
+ "version": "5.0.0-beta.35",
10
10
  "workspaces": [
11
- "components/codegraph",
12
11
  "components/comment-checker",
13
12
  "components/git-bash",
14
13
  "components/lazycodex-executor-verify",
@@ -89,38 +88,9 @@
89
88
  "posthog-node": "^5.51.1"
90
89
  }
91
90
  },
92
- "../../utils": {
93
- "name": "@oh-my-opencode/utils",
94
- "version": "0.1.0",
95
- "dev": true,
96
- "dependencies": {
97
- "@oh-my-opencode/omo-config-core": "workspace:*",
98
- "js-yaml": "^5.0.0",
99
- "jsonc-parser": "^3.3.1"
100
- }
101
- },
102
- "components/codegraph": {
103
- "name": "@sisyphuslabs/codex-codegraph",
104
- "version": "5.0.0-beta.33",
105
- "bin": {
106
- "omo-codegraph": "dist/cli.js"
107
- },
108
- "devDependencies": {
109
- "@oh-my-opencode/utils": "file:../../../../utils",
110
- "@types/node": "^26.2.0",
111
- "bun-types": "^1.4.0",
112
- "typescript": "^7.0.2"
113
- },
114
- "engines": {
115
- "node": ">=20.0.0"
116
- },
117
- "optionalDependencies": {
118
- "@colbymchenry/codegraph": "1.5.0"
119
- }
120
- },
121
91
  "components/comment-checker": {
122
92
  "name": "@code-yeongyu/codex-comment-checker",
123
- "version": "5.0.0-beta.33",
93
+ "version": "5.0.0-beta.35",
124
94
  "license": "MIT",
125
95
  "bin": {
126
96
  "omo-comment-checker": "dist/cli.js"
@@ -141,7 +111,7 @@
141
111
  },
142
112
  "components/git-bash": {
143
113
  "name": "@sisyphuslabs/codex-git-bash-hook",
144
- "version": "5.0.0-beta.33",
114
+ "version": "5.0.0-beta.35",
145
115
  "bin": {
146
116
  "omo-git-bash-hook": "dist/cli.js"
147
117
  },
@@ -155,7 +125,7 @@
155
125
  },
156
126
  "components/lazycodex-executor-verify": {
157
127
  "name": "@code-yeongyu/codex-lazycodex-executor-verify",
158
- "version": "5.0.0-beta.33",
128
+ "version": "5.0.0-beta.35",
159
129
  "license": "MIT",
160
130
  "bin": {
161
131
  "lazycodex-executor-verify": "dist/cli.js"
@@ -172,7 +142,7 @@
172
142
  },
173
143
  "components/lsp": {
174
144
  "name": "@code-yeongyu/codex-lsp",
175
- "version": "5.0.0-beta.33",
145
+ "version": "5.0.0-beta.35",
176
146
  "license": "MIT",
177
147
  "dependencies": {
178
148
  "@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",
@@ -193,7 +163,7 @@
193
163
  },
194
164
  "components/rules": {
195
165
  "name": "@code-yeongyu/codex-rules",
196
- "version": "5.0.0-beta.33",
166
+ "version": "5.0.0-beta.35",
197
167
  "license": "MIT",
198
168
  "dependencies": {
199
169
  "picomatch": "^4.0.7"
@@ -215,7 +185,7 @@
215
185
  },
216
186
  "components/teammode": {
217
187
  "name": "@sisyphuslabs/codex-teammode",
218
- "version": "5.0.0-beta.33",
188
+ "version": "5.0.0-beta.35",
219
189
  "devDependencies": {
220
190
  "@types/node": "^26.2.0",
221
191
  "bun-types": "^1.4.0",
@@ -228,7 +198,7 @@
228
198
  },
229
199
  "components/telemetry": {
230
200
  "name": "@code-yeongyu/codex-telemetry",
231
- "version": "5.0.0-beta.33",
201
+ "version": "5.0.0-beta.35",
232
202
  "license": "MIT",
233
203
  "bin": {
234
204
  "omo-telemetry": "dist/cli.js"
@@ -246,7 +216,7 @@
246
216
  },
247
217
  "components/ultrawork": {
248
218
  "name": "@code-yeongyu/codex-ultrawork",
249
- "version": "5.0.0-beta.33",
219
+ "version": "5.0.0-beta.35",
250
220
  "license": "MIT",
251
221
  "bin": {
252
222
  "omo-ultrawork": "dist/cli.js"
@@ -264,7 +234,7 @@
264
234
  },
265
235
  "components/ulw-execute-continuation": {
266
236
  "name": "@code-yeongyu/codex-ulw-execute-continuation",
267
- "version": "5.0.0-beta.33",
237
+ "version": "5.0.0-beta.35",
268
238
  "license": "MIT",
269
239
  "bin": {
270
240
  "omo-ulw-execute-continuation": "dist/cli.js"
@@ -281,7 +251,7 @@
281
251
  },
282
252
  "components/ulw-loop": {
283
253
  "name": "@code-yeongyu/codex-ulw-loop",
284
- "version": "5.0.0-beta.33",
254
+ "version": "5.0.0-beta.35",
285
255
  "license": "MIT",
286
256
  "bin": {
287
257
  "omo-ulw-loop": "dist/cli.js",
@@ -511,102 +481,6 @@
511
481
  "resolved": "../../lsp-daemon",
512
482
  "link": true
513
483
  },
514
- "node_modules/@colbymchenry/codegraph": {
515
- "version": "1.5.0",
516
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph/-/codegraph-1.5.0.tgz",
517
- "integrity": "sha512-/l1JMVOQ9WGQLrc/IIuAg7Igr944t79/oNCJTcnGkYtIeQx2XFIqI0ho+9Les/Yu4zKfmPU17hIUshD6yP1fKw==",
518
- "license": "MIT",
519
- "optional": true,
520
- "bin": {
521
- "codegraph": "npm-shim.js"
522
- },
523
- "optionalDependencies": {
524
- "@colbymchenry/codegraph-darwin-arm64": "1.5.0",
525
- "@colbymchenry/codegraph-darwin-x64": "1.5.0",
526
- "@colbymchenry/codegraph-linux-arm64": "1.5.0",
527
- "@colbymchenry/codegraph-linux-x64": "1.5.0",
528
- "@colbymchenry/codegraph-win32-arm64": "1.5.0",
529
- "@colbymchenry/codegraph-win32-x64": "1.5.0"
530
- }
531
- },
532
- "node_modules/@colbymchenry/codegraph-darwin-arm64": {
533
- "version": "1.5.0",
534
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph-darwin-arm64/-/codegraph-darwin-arm64-1.5.0.tgz",
535
- "integrity": "sha512-ptQV1WlEKCDDy0Wl2r/urVGwaczUn5ezjt/Rv22Gj7RnKHAc9pNdU1uvL3gQzvoWJ9q7kmCeo7q6866/ZohbjQ==",
536
- "cpu": [
537
- "arm64"
538
- ],
539
- "license": "MIT",
540
- "optional": true,
541
- "os": [
542
- "darwin"
543
- ]
544
- },
545
- "node_modules/@colbymchenry/codegraph-darwin-x64": {
546
- "version": "1.5.0",
547
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph-darwin-x64/-/codegraph-darwin-x64-1.5.0.tgz",
548
- "integrity": "sha512-7BUOOxMacLNXmXTQTrjDTZXhbo0o5R5Z19uKjICIau2KxO9oU+Zbk7Bnf4P/JT1T4M41xRuiCJVE1uqBi6cFWA==",
549
- "cpu": [
550
- "x64"
551
- ],
552
- "license": "MIT",
553
- "optional": true,
554
- "os": [
555
- "darwin"
556
- ]
557
- },
558
- "node_modules/@colbymchenry/codegraph-linux-arm64": {
559
- "version": "1.5.0",
560
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph-linux-arm64/-/codegraph-linux-arm64-1.5.0.tgz",
561
- "integrity": "sha512-Bq5Ggb7PoLF7mnOiGl/UxMrDgrPCAQUMsl7BpMkAxq8FulvVEp7E/GrIQih2YB32vWr18KpN2i2VoRLAHLIDUw==",
562
- "cpu": [
563
- "arm64"
564
- ],
565
- "license": "MIT",
566
- "optional": true,
567
- "os": [
568
- "linux"
569
- ]
570
- },
571
- "node_modules/@colbymchenry/codegraph-linux-x64": {
572
- "version": "1.5.0",
573
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph-linux-x64/-/codegraph-linux-x64-1.5.0.tgz",
574
- "integrity": "sha512-wT1O7NkQoV6zPiq36d1qBqoIHL2ZRnOkFMjQ7JJwWS7KHnP32qHCd/pPaSwl8cNRlGYkYSaX3WVDpz2BaV+Now==",
575
- "cpu": [
576
- "x64"
577
- ],
578
- "license": "MIT",
579
- "optional": true,
580
- "os": [
581
- "linux"
582
- ]
583
- },
584
- "node_modules/@colbymchenry/codegraph-win32-arm64": {
585
- "version": "1.5.0",
586
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph-win32-arm64/-/codegraph-win32-arm64-1.5.0.tgz",
587
- "integrity": "sha512-cWMJp8BeVLKR1mUVklI3opy9mJL/yrVkvjBqJFXRejM8CCU+UTpPDxDzQuPyywY0qyD0Ru2tjuWT4do7OUcNvg==",
588
- "cpu": [
589
- "arm64"
590
- ],
591
- "license": "MIT",
592
- "optional": true,
593
- "os": [
594
- "win32"
595
- ]
596
- },
597
- "node_modules/@colbymchenry/codegraph-win32-x64": {
598
- "version": "1.5.0",
599
- "resolved": "https://registry.npmjs.org/@colbymchenry/codegraph-win32-x64/-/codegraph-win32-x64-1.5.0.tgz",
600
- "integrity": "sha512-45gycJ+t153vpLEVkXChEySG1Ok5zqCgiBeonLe5V7Jxt1w+MF2vG00qexTC0pBWTmHSeMW4Q8d47nVMiC8ciQ==",
601
- "cpu": [
602
- "x64"
603
- ],
604
- "license": "MIT",
605
- "optional": true,
606
- "os": [
607
- "win32"
608
- ]
609
- },
610
484
  "node_modules/@jridgewell/sourcemap-codec": {
611
485
  "version": "1.5.5",
612
486
  "resolved": "https://registry.npmjs.org/@jridgewell/sourcemap-codec/-/sourcemap-codec-1.5.5.tgz",
@@ -638,10 +512,6 @@
638
512
  "resolved": "../../telemetry-core",
639
513
  "link": true
640
514
  },
641
- "node_modules/@oh-my-opencode/utils": {
642
- "resolved": "../../utils",
643
- "link": true
644
- },
645
515
  "node_modules/@oxc-project/types": {
646
516
  "version": "0.146.0",
647
517
  "resolved": "https://registry.npmjs.org/@oxc-project/types/-/types-0.146.0.tgz",
@@ -914,10 +784,6 @@
914
784
  "dev": true,
915
785
  "license": "MIT"
916
786
  },
917
- "node_modules/@sisyphuslabs/codex-codegraph": {
918
- "resolved": "components/codegraph",
919
- "link": true
920
- },
921
787
  "node_modules/@sisyphuslabs/codex-git-bash-hook": {
922
788
  "resolved": "components/git-bash",
923
789
  "link": true
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/omo-codex-plugin",
3
- "version": "5.0.0-beta.33",
3
+ "version": "5.0.0-beta.35",
4
4
  "description": "Aggregate Codex plugin root for OMO components.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
7
7
  "private": true,
8
8
  "workspaces": [
9
- "components/codegraph",
10
9
  "components/comment-checker",
11
10
  "components/git-bash",
12
11
  "components/lazycodex-executor-verify",
@@ -17,7 +17,6 @@ Executable Node ESM scripts driving the plugin build pipeline, SessionStart conf
17
17
  | `build-bundled-mcp-runtimes.mjs`, `materialize-shared-upstreams.mjs` | Bundled MCP runtime dists; shared upstream copies |
18
18
  | `auto-update.mjs` (+ `-plan`, `-release-notes`, `-state`) | SessionStart update throttle/lock/notice flow |
19
19
  | `migrate-codex-config.mjs` + `migrate-codex-config/` | `~/.codex/config.toml` migration: reasoning profile sync, MultiAgentV2 guard, subagent limits, Context7 placeholder guard, root settings |
20
- | `migrate-omo-sot.mjs` + `migrate-omo-sot/` | `~/.omo/omo.jsonc` SoT migration (`editor`, `jsonc`, `scaffold`) |
21
20
  | `entry-guard.mjs` | `isCliEntry()` — the mandatory CLI guard |
22
21
  | `hook-status-message.mjs`, `install-flow.mjs`, `spawn-command.mjs` | Shared helpers (status formatting, install-flow detection, spawn invocation resolution) |
23
22
 
@@ -15,7 +15,6 @@ const OMO_PLUGIN_NAME = "omo";
15
15
  const COMMAND_SHIM_MARKER = ":: generated by oh-my-openagent Codex installer";
16
16
  const MANAGED_COMPONENT_BIN_NAMES = new Set([
17
17
  "lazycodex-executor-verify",
18
- "omo-codegraph",
19
18
  "omo-comment-checker",
20
19
  "omo-git-bash-hook",
21
20
  "omo-lsp",
@@ -31,7 +31,6 @@ import {
31
31
  resolveReleaseNotes,
32
32
  } from "./auto-update-release-notes.mjs";
33
33
  import { migrateCodexConfig } from "./migrate-codex-config.mjs";
34
- import { migrateOmoSotConfig } from "./migrate-omo-sot.mjs";
35
34
  import { resolveSpawnInvocation } from "./spawn-command.mjs";
36
35
 
37
36
  const DEFAULT_INTERVAL_MS = 24 * 60 * 60 * 1_000;
@@ -296,14 +295,6 @@ function resolveUpdateContext({ env }) {
296
295
 
297
296
  async function runConfigMigration({ env, sessionModel = null, requireSessionModel = false }) {
298
297
  if (env.LAZYCODEX_CONFIG_MIGRATION_DISABLED === "1" || env.OMO_CODEX_CONFIG_MIGRATION_DISABLED === "1") return [];
299
- // The two migrations are independent; a SoT seeding failure must never
300
- // block the config.toml repair (which can be the difference between a
301
- // working and a fully broken GPT-5.6 session).
302
- try {
303
- await migrateOmoSotConfig({ env, seed: true });
304
- } catch (error) {
305
- if (!(error instanceof Error)) throw error;
306
- }
307
298
  try {
308
299
  const result = await migrateCodexConfig({ env, sessionModel, requireSessionModel });
309
300
  if (result.modeChanged.length === 0) return [];
@@ -0,0 +1,17 @@
1
+ import { existsSync } from "node:fs";
2
+ import { join } from "node:path";
3
+
4
+ // Relative to BOTH the repo root and the plugin root. In a repo checkout the directive lives at
5
+ // <repo>/packages/prompts-core/prompts/ultrawork/codex.md. The Codex installer flattens the plugin
6
+ // directory into <CODEX_HOME>/plugins/cache/<marketplace>/<name>/<version>, where the repo-relative
7
+ // path dangles (it would resolve to plugins/cache/packages/...), so the installer materializes the
8
+ // same file at <pluginRoot>/packages/prompts-core/prompts/ultrawork/codex.md and sync-skills reads
9
+ // that copy instead. Keep the two segments lists in lockstep with
10
+ // packages/omo-codex/src/install/codex-cache-install.ts (copyCanonicalPromptSources).
11
+ export const canonicalUltraworkDirectiveRelativePath = join("packages", "prompts-core", "prompts", "ultrawork", "codex.md");
12
+
13
+ export function resolveCanonicalUltraworkDirectivePath(pluginRoot, repoRoot) {
14
+ const checkoutPath = join(repoRoot, canonicalUltraworkDirectiveRelativePath);
15
+ if (existsSync(checkoutPath)) return checkoutPath;
16
+ return join(pluginRoot, canonicalUltraworkDirectiveRelativePath);
17
+ }
@@ -1,7 +1,6 @@
1
1
  const PRODUCT_NAME = "OmO";
2
2
 
3
3
  const WORD_OVERRIDES = new Map([
4
- ["codegraph", "CodeGraph"],
5
4
  ["lazycodex", "LazyCodex"],
6
5
  ["lsp", "LSP"],
7
6
  ["mcp", "MCP"],
@@ -3,6 +3,7 @@ import { cp, mkdir, readdir, readFile, rm, writeFile } from "node:fs/promises";
3
3
  import { dirname, join } from "node:path";
4
4
  import { fileURLToPath } from "node:url";
5
5
 
6
+ import { resolveCanonicalUltraworkDirectivePath } from "./canonical-ultrawork-directive.mjs";
6
7
  import { isCliEntry } from "./entry-guard.mjs";
7
8
  import { sharedSkillsRootPath } from "@oh-my-opencode/shared-skills";
8
9
 
@@ -14,14 +15,7 @@ const skillsRoot = join(root, "skills");
14
15
  // from a component-local copy: sync-skills runs before build-components (see plugin/package.json
15
16
  // build chain), so consuming components/ultrawork/scripts/sync-directive.mjs output would break a
16
17
  // clean checkout.
17
- const canonicalUltraworkDirectivePath = join(
18
- repoRoot,
19
- "packages",
20
- "prompts-core",
21
- "prompts",
22
- "ultrawork",
23
- "codex.md",
24
- );
18
+ const canonicalUltraworkDirectivePath = resolveCanonicalUltraworkDirectivePath(root, repoRoot);
25
19
  const ultraworkSkillFrontmatter = `---
26
20
  name: ultrawork
27
21
  description: Binding ultrawork mode directive for omo on Codex. When a prompt contains ultrawork or ulw, the omo UserPromptSubmit hook injects a short bootstrap that points at this file. Read the whole file and follow every rule in it for the rest of the task.
@@ -2,8 +2,6 @@ import { homedir } from "node:os"
2
2
 
3
3
  import {
4
4
  loadOmoConfig,
5
- mergeOmoConfigRecords,
6
- OmoConfigSchema,
7
5
  type LoadOmoConfigOptions,
8
6
  type MigrationEnvironment,
9
7
  type MigrationFileSystem,
@@ -26,33 +24,11 @@ export type CodexOmoConfigOptions = Omit<LoadOmoConfigOptions, "fileSystem" | "h
26
24
  export type CodexStartupMigrationOptions = CodexConfigMigrationOptions
27
25
  export type CodexStartupMigrationResult = CodexConfigMigrationResult
28
26
 
29
- type CodexCodegraphConfig = {
30
- readonly auto_provision?: boolean
31
- readonly daemon?: boolean
32
- readonly enabled?: boolean
33
- readonly excluded_roots?: readonly string[]
34
- readonly install_dir?: string
35
- readonly session_start_cooldown_ms?: number
36
- readonly telemetry?: boolean
37
- readonly watch_debounce_ms?: number
38
- }
39
-
40
- type CodexResolvedConfig = Omit<OmoConfig, "codegraph"> & {
41
- readonly codegraph?: CodexCodegraphConfig
42
- }
43
-
44
- export type CodexOmoConfig = CodexResolvedConfig & {
27
+ export type CodexOmoConfig = OmoConfig & {
45
28
  readonly sources: readonly OmoConfigSource[]
46
- readonly trustedCodegraphInstallDir?: string
47
29
  readonly warnings: readonly string[]
48
30
  }
49
31
 
50
- const ENV_BOOLEAN_SETTINGS = [
51
- ["auto_provision", "AUTO_PROVISION"],
52
- ["enabled", "ENABLED"],
53
- ["telemetry", "TELEMETRY"],
54
- ] as const
55
-
56
32
  function resolveHomeDir(options: CodexOmoConfigOptions): string {
57
33
  const env = options.env ?? process.env
58
34
  return options.homeDir ?? env.HOME ?? env.USERPROFILE ?? homedir()
@@ -74,44 +50,6 @@ export function runCodexStartupMigration(options: CodexStartupMigrationOptions):
74
50
  return runCodexConfigMigration(options)
75
51
  }
76
52
 
77
- function parseBoolean(value: string): boolean | undefined {
78
- const normalized = value.trim().toLowerCase()
79
- if (["1", "true", "yes", "on"].includes(normalized)) return true
80
- if (["0", "false", "no", "off"].includes(normalized)) return false
81
- return undefined
82
- }
83
-
84
- function envOverrides(env: OmoConfigEnv, warnings: string[]): Record<string, unknown> {
85
- const codegraph: Record<string, unknown> = {}
86
- for (const prefix of ["OMO", "CODEX"]) {
87
- for (const [setting, suffix] of ENV_BOOLEAN_SETTINGS) {
88
- const name = `${prefix}_CODEGRAPH_${suffix}`
89
- const rawValue = env[name]
90
- if (rawValue === undefined) continue
91
- const value = parseBoolean(rawValue)
92
- if (value === undefined) warnings.push(`${name} has invalid boolean value "${rawValue}"`)
93
- else codegraph[setting] = value
94
- }
95
-
96
- const installDir = env[`${prefix}_CODEGRAPH_INSTALL_DIR`]
97
- if (installDir !== undefined) codegraph["install_dir"] = installDir
98
- const cooldown = env[`${prefix}_CODEGRAPH_SESSION_START_COOLDOWN_MS`]
99
- if (cooldown !== undefined) {
100
- const value = Number(cooldown)
101
- if (!Number.isFinite(value) || value < 60_000) {
102
- warnings.push(`${prefix}_CODEGRAPH_SESSION_START_COOLDOWN_MS has invalid number value "${cooldown}"`)
103
- } else codegraph["session_start_cooldown_ms"] = value
104
- }
105
- const debounce = env[`${prefix}_CODEGRAPH_WATCH_DEBOUNCE_MS`]
106
- if (debounce !== undefined) {
107
- const value = Number(debounce)
108
- if (!Number.isFinite(value) || value < 0) warnings.push(`${prefix}_CODEGRAPH_WATCH_DEBOUNCE_MS has invalid number value "${debounce}"`)
109
- else codegraph["watch_debounce_ms"] = value
110
- }
111
- }
112
- return Object.keys(codegraph).length === 0 ? {} : { codegraph }
113
- }
114
-
115
53
  function migrationWarnings(result: CodexStartupMigrationResult): readonly string[] {
116
54
  const warnings: string[] = []
117
55
  if (result.error !== undefined) warnings.push(`omo-codex: configuration migration: ${result.error}`)
@@ -127,26 +65,6 @@ function migrationWarnings(result: CodexStartupMigrationResult): readonly string
127
65
  return warnings
128
66
  }
129
67
 
130
- function applicabilityWarnings(config: OmoConfig): readonly string[] {
131
- return config.codegraph?.watch_debounce_ms === undefined
132
- ? []
133
- : ["codegraph.watch_debounce_ms is not supported for harness codex"]
134
- }
135
-
136
- function codexCodegraphConfig(value: OmoConfig["codegraph"]): CodexCodegraphConfig | undefined {
137
- if (value === undefined) return undefined
138
- return {
139
- auto_provision: value.auto_provision,
140
- daemon: value.daemon,
141
- enabled: value.enabled,
142
- telemetry: value.telemetry,
143
- ...(value.excluded_roots === undefined ? {} : { excluded_roots: value.excluded_roots }),
144
- ...(value.install_dir === undefined ? {} : { install_dir: value.install_dir }),
145
- ...(value.session_start_cooldown_ms === undefined ? {} : { session_start_cooldown_ms: value.session_start_cooldown_ms }),
146
- ...(value.watch_debounce_ms === undefined ? {} : { watch_debounce_ms: value.watch_debounce_ms }),
147
- }
148
- }
149
-
150
68
  export function getCodexOmoConfig(options: CodexOmoConfigOptions = {}): CodexOmoConfig {
151
69
  const env = options.env ?? process.env
152
70
  const homeDir = resolveHomeDir(options)
@@ -166,30 +84,12 @@ export function getCodexOmoConfig(options: CodexOmoConfigOptions = {}): CodexOmo
166
84
  ...(options.platform === undefined ? {} : { platform: options.platform }),
167
85
  ...(options.profile === undefined ? {} : { profile: options.profile }),
168
86
  })
169
- const trustedConfig = loadOmoConfig({
170
- cwd: homeDir,
171
- env: environment,
172
- ...(options.fileSystem === undefined ? {} : { fileSystem: options.fileSystem }),
173
- harness: "codex",
174
- ...(options.platform === undefined ? {} : { platform: options.platform }),
175
- ...(options.profile === undefined ? {} : { profile: options.profile }),
176
- })
177
- const envWarnings: string[] = []
178
- const config = OmoConfigSchema.parse(mergeOmoConfigRecords(result.config, envOverrides(env, envWarnings)))
179
- const trustedCodegraphInstallDir = trustedConfig.config.codegraph?.install_dir
180
- const { codegraph, ...resolvedConfig } = config
181
- const codexCodegraph = codexCodegraphConfig(codegraph)
182
-
183
87
  return {
184
- ...resolvedConfig,
185
- ...(codexCodegraph === undefined ? {} : { codegraph: codexCodegraph }),
88
+ ...result.config,
186
89
  sources: result.sources,
187
- ...(trustedCodegraphInstallDir === undefined ? {} : { trustedCodegraphInstallDir }),
188
90
  warnings: [
189
91
  ...migrationWarnings(migration),
190
92
  ...result.diagnostics.map((diagnostic) => diagnostic.message),
191
- ...envWarnings,
192
- ...applicabilityWarnings(config),
193
93
  ],
194
94
  }
195
95
  }
@@ -83,7 +83,6 @@ function transformConfigJsonc(configPath: string, sources: readonly LoadedMigrat
83
83
  : [],
84
84
  document: {
85
85
  $schema: OMO_SCHEMA_URL,
86
- ...(recordAt(legacy, "codegraph") === undefined ? {} : { codegraph: recordAt(legacy, "codegraph") }),
87
86
  ...(recordAt(legacy, "[opencode]") === undefined ? {} : { "[opencode]": recordAt(legacy, "[opencode]") }),
88
87
  ...(recordAt(legacy, "[codex]") === undefined ? {} : { "[codex]": recordAt(legacy, "[codex]") }),
89
88
  ...(senpi === undefined && omo === undefined ? {} : { "[senpi]": senpi ?? omo }),