oh-my-opencode 5.1.6 → 5.1.7

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 (85) hide show
  1. package/dist/cli/index.js +40 -16
  2. package/dist/cli/run/runnable-agent-resolver.d.ts +3 -0
  3. package/dist/cli-node/index.js +40 -16
  4. package/dist/hooks/goal/validation.d.ts +1 -0
  5. package/dist/hooks/no-hephaestus-non-gpt/hook.d.ts +4 -0
  6. package/dist/index.js +76 -34
  7. package/dist/plugin/chat-message/loop-commands.d.ts +1 -0
  8. package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
  9. package/dist/tui.js +13 -13
  10. package/package.json +13 -13
  11. package/packages/lsp-core/src/post-edit/file-location.ts +7 -2
  12. package/packages/lsp-core/src/post-edit/not-installed.test.ts +25 -0
  13. package/packages/lsp-core/src/tool-surface.test.ts +11 -11
  14. package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
  15. package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +7 -0
  16. package/packages/omo-codex/plugin/components/bootstrap/hooks/hooks.json +1 -1
  17. package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
  18. package/packages/omo-codex/plugin/components/comment-checker/hooks/hooks.json +1 -1
  19. package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
  20. package/packages/omo-codex/plugin/components/git-bash/hooks/hooks.json +2 -2
  21. package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
  22. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/hooks/hooks.json +1 -1
  23. package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
  24. package/packages/omo-codex/plugin/components/lsp/dist/.omo-runtime-manifest.json +2 -2
  25. package/packages/omo-codex/plugin/components/lsp/hooks/hooks.json +2 -2
  26. package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
  27. package/packages/omo-codex/plugin/components/rules/README.md +0 -1
  28. package/packages/omo-codex/plugin/components/rules/bundled-rules/hephaestus/gpt-5.5.md +1 -1
  29. package/packages/omo-codex/plugin/components/rules/bundled-rules/hephaestus/gpt-5.6.md +1 -1
  30. package/packages/omo-codex/plugin/components/rules/bundled-rules/hephaestus/gpt-6.md +1 -1
  31. package/packages/omo-codex/plugin/components/rules/hooks/hooks.json +4 -4
  32. package/packages/omo-codex/plugin/components/rules/package.json +1 -1
  33. package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +1 -1
  34. package/packages/omo-codex/plugin/components/teammode/package.json +1 -1
  35. package/packages/omo-codex/plugin/components/telemetry/hooks/hooks.json +1 -1
  36. package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
  37. package/packages/omo-codex/plugin/components/ultrawork/hooks/hooks.json +1 -1
  38. package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
  39. package/packages/omo-codex/plugin/components/ulw-execute-continuation/hooks/hooks.json +1 -1
  40. package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
  41. package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
  42. package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
  43. package/packages/omo-codex/plugin/components/ulw-loop/test/spawn-role-matrix.test.ts +16 -0
  44. package/packages/omo-codex/plugin/hooks/post-compact-resetting-git-bash-mcp-reminder.json +1 -1
  45. package/packages/omo-codex/plugin/hooks/post-compact-resetting-lsp-diagnostics-cache.json +1 -1
  46. package/packages/omo-codex/plugin/hooks/post-compact-resetting-project-rule-cache.json +1 -1
  47. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-comments.json +1 -1
  48. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-lsp-diagnostics.json +1 -1
  49. package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +1 -1
  50. package/packages/omo-codex/plugin/hooks/post-tool-use-matching-project-rules.json +1 -1
  51. package/packages/omo-codex/plugin/hooks/post-tool-use-recording-spawn-admission.json +1 -1
  52. package/packages/omo-codex/plugin/hooks/pre-tool-use-enforcing-unlimited-goal-budget.json +1 -1
  53. package/packages/omo-codex/plugin/hooks/pre-tool-use-guarding-ulw-loop-spawns.json +1 -1
  54. package/packages/omo-codex/plugin/hooks/pre-tool-use-recommending-git-bash-mcp.json +1 -1
  55. package/packages/omo-codex/plugin/hooks/session-start-checking-auto-update.json +1 -1
  56. package/packages/omo-codex/plugin/hooks/session-start-checking-bootstrap-provisioning.json +1 -1
  57. package/packages/omo-codex/plugin/hooks/session-start-loading-project-rules.json +1 -1
  58. package/packages/omo-codex/plugin/hooks/session-start-recording-session-telemetry.json +1 -1
  59. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-execute-continuation.json +1 -1
  60. package/packages/omo-codex/plugin/hooks/stop-checking-ulw-loop-resume.json +1 -1
  61. package/packages/omo-codex/plugin/hooks/subagent-stop-verifying-lazycodex-executor-evidence.json +1 -1
  62. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ultrawork-trigger.json +1 -1
  63. package/packages/omo-codex/plugin/hooks/user-prompt-submit-checking-ulw-loop-steering.json +1 -1
  64. package/packages/omo-codex/plugin/hooks/user-prompt-submit-loading-project-rules.json +1 -1
  65. package/packages/omo-codex/plugin/package-lock.json +12 -12
  66. package/packages/omo-codex/plugin/package.json +1 -1
  67. package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
  68. package/packages/omo-codex/scripts/install-config-autonomous-features.test.mjs +24 -4
  69. package/packages/omo-codex/scripts/install-dist/install-local.mjs +9 -2
  70. package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
  71. package/dist/features/team-mode/team-layout-tmux/close-team-member-pane.d.ts +0 -1
  72. package/dist/features/team-mode/team-tasklist/claim.d.ts +0 -1
  73. package/dist/features/team-mode/team-tasklist/dependencies.d.ts +0 -1
  74. package/dist/features/team-mode/team-tasklist/get.d.ts +0 -1
  75. package/dist/features/team-mode/team-tasklist/store.d.ts +0 -1
  76. package/dist/features/team-mode/team-tasklist/update.d.ts +0 -1
  77. package/dist/hooks/hashline-edit-diff-enhancer/hook.d.ts +0 -29
  78. package/dist/hooks/hashline-edit-diff-enhancer/pending-captures.d.ts +0 -13
  79. package/dist/openclaw/config.d.ts +0 -1
  80. package/dist/openclaw/dispatcher.d.ts +0 -1
  81. package/dist/openclaw/gateway-url-validation.d.ts +0 -1
  82. package/dist/openclaw/reply-listener-injection.d.ts +0 -1
  83. package/dist/openclaw/reply-listener-start.d.ts +0 -1
  84. package/dist/openclaw/session-registry.d.ts +0 -1
  85. package/dist/openclaw/tmux.d.ts +0 -1
@@ -7,7 +7,7 @@
7
7
  "type": "command",
8
8
  "command": "node \"${PLUGIN_ROOT}/components/rules/dist/cli.js\" hook user-prompt-submit",
9
9
  "timeout": 10,
10
- "statusMessage": "(OmO 5.1.6) Loading Project Rules",
10
+ "statusMessage": "(OmO 5.1.7) Loading Project Rules",
11
11
  "commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\node-dispatch.ps1\" \"${PLUGIN_ROOT}\\components\\rules\\dist\\cli.js\" hook user-prompt-submit"
12
12
  }
13
13
  ]
@@ -1,12 +1,12 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/omo-codex-plugin",
3
- "version": "5.1.6",
3
+ "version": "5.1.7",
4
4
  "lockfileVersion": 3,
5
5
  "requires": true,
6
6
  "packages": {
7
7
  "": {
8
8
  "name": "@sisyphuslabs/omo-codex-plugin",
9
- "version": "5.1.6",
9
+ "version": "5.1.7",
10
10
  "workspaces": [
11
11
  "components/comment-checker",
12
12
  "components/git-bash",
@@ -95,7 +95,7 @@
95
95
  },
96
96
  "components/comment-checker": {
97
97
  "name": "@code-yeongyu/codex-comment-checker",
98
- "version": "5.1.6",
98
+ "version": "5.1.7",
99
99
  "license": "MIT",
100
100
  "bin": {
101
101
  "omo-comment-checker": "dist/cli.js"
@@ -117,7 +117,7 @@
117
117
  },
118
118
  "components/git-bash": {
119
119
  "name": "@sisyphuslabs/codex-git-bash-hook",
120
- "version": "5.1.6",
120
+ "version": "5.1.7",
121
121
  "bin": {
122
122
  "omo-git-bash-hook": "dist/cli.js"
123
123
  },
@@ -131,7 +131,7 @@
131
131
  },
132
132
  "components/lazycodex-executor-verify": {
133
133
  "name": "@code-yeongyu/codex-lazycodex-executor-verify",
134
- "version": "5.1.6",
134
+ "version": "5.1.7",
135
135
  "license": "MIT",
136
136
  "bin": {
137
137
  "lazycodex-executor-verify": "dist/cli.js"
@@ -149,7 +149,7 @@
149
149
  },
150
150
  "components/lsp": {
151
151
  "name": "@code-yeongyu/codex-lsp",
152
- "version": "5.1.6",
152
+ "version": "5.1.7",
153
153
  "license": "MIT",
154
154
  "dependencies": {
155
155
  "@code-yeongyu/lsp-daemon": "file:../../../../lsp-daemon",
@@ -171,7 +171,7 @@
171
171
  },
172
172
  "components/rules": {
173
173
  "name": "@code-yeongyu/codex-rules",
174
- "version": "5.1.6",
174
+ "version": "5.1.7",
175
175
  "license": "MIT",
176
176
  "dependencies": {
177
177
  "picomatch": "^4.0.7"
@@ -194,7 +194,7 @@
194
194
  },
195
195
  "components/teammode": {
196
196
  "name": "@sisyphuslabs/codex-teammode",
197
- "version": "5.1.6",
197
+ "version": "5.1.7",
198
198
  "devDependencies": {
199
199
  "@types/node": "^26.6.2",
200
200
  "@vitest/coverage-v8": "5.0.1",
@@ -208,7 +208,7 @@
208
208
  },
209
209
  "components/telemetry": {
210
210
  "name": "@code-yeongyu/codex-telemetry",
211
- "version": "5.1.6",
211
+ "version": "5.1.7",
212
212
  "license": "MIT",
213
213
  "bin": {
214
214
  "omo-telemetry": "dist/cli.js"
@@ -227,7 +227,7 @@
227
227
  },
228
228
  "components/ultrawork": {
229
229
  "name": "@code-yeongyu/codex-ultrawork",
230
- "version": "5.1.6",
230
+ "version": "5.1.7",
231
231
  "license": "MIT",
232
232
  "bin": {
233
233
  "omo-ultrawork": "dist/cli.js"
@@ -246,7 +246,7 @@
246
246
  },
247
247
  "components/ulw-execute-continuation": {
248
248
  "name": "@code-yeongyu/codex-ulw-execute-continuation",
249
- "version": "5.1.6",
249
+ "version": "5.1.7",
250
250
  "license": "MIT",
251
251
  "bin": {
252
252
  "omo-ulw-execute-continuation": "dist/cli.js"
@@ -264,7 +264,7 @@
264
264
  },
265
265
  "components/ulw-loop": {
266
266
  "name": "@code-yeongyu/codex-ulw-loop",
267
- "version": "5.1.6",
267
+ "version": "5.1.7",
268
268
  "license": "MIT",
269
269
  "bin": {
270
270
  "omo-ulw-loop": "dist/cli.js",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sisyphuslabs/omo-codex-plugin",
3
- "version": "5.1.6",
3
+ "version": "5.1.7",
4
4
  "description": "Aggregate Codex plugin root for OMO components.",
5
5
  "type": "module",
6
6
  "packageManager": "npm@11.12.1",
@@ -5,5 +5,5 @@
5
5
  "index.js": "b6b064fab277031c6c51f5a58b84b31040f9960bf767bf646adc0540c1d25c1b",
6
6
  "page-bundle.js": "bfd51e8383cf47200d57387bbbed258bce5a3a3d00c38fc108034d2888e23f0c"
7
7
  },
8
- "stagedAtUtc": "2026-09-30T18:48:33.732Z"
8
+ "stagedAtUtc": "2026-09-30T23:56:44.170Z"
9
9
  }
@@ -85,9 +85,30 @@ test("#given autonomous permissions disabled #when script installer updates conf
85
85
  }
86
86
  });
87
87
 
88
- test("#given existing child_agents_md setting #when script installer updates config #then preserves it without stamping unsupported values", async () => {
88
+ test("#given existing child_agents_md=true setting #when script installer updates config #then removes the unsupported feature", async () => {
89
89
  // given
90
- const root = await mkdtemp(join(tmpdir(), "omo-codex-script-config-child-agents-preserve-"));
90
+ const root = await mkdtemp(join(tmpdir(), "omo-codex-script-config-child-agents-true-"));
91
+ const configPath = join(root, "config.toml");
92
+ await writeFile(configPath, ["[features]", "child_agents_md = true", ""].join("\n"));
93
+
94
+ // when
95
+ await updateCodexConfig({
96
+ configPath,
97
+ repoRoot: "/repo/packages/omo-codex",
98
+ marketplaceName: "debug",
99
+ marketplaceSource: { sourceType: "local", source: "/repo/packages/omo-codex" },
100
+ pluginNames: ["omo"],
101
+ autonomousPermissions: true,
102
+ });
103
+
104
+ // then
105
+ const content = await readFile(configPath, "utf8");
106
+ assert.doesNotMatch(content, /child_agents_md/);
107
+ });
108
+
109
+ test("#given existing child_agents_md=false setting #when script installer updates config #then removes the unsupported feature", async () => {
110
+ // given
111
+ const root = await mkdtemp(join(tmpdir(), "omo-codex-script-config-child-agents-false-"));
91
112
  const configPath = join(root, "config.toml");
92
113
  await writeFile(configPath, ["[features]", "child_agents_md = false", ""].join("\n"));
93
114
 
@@ -103,8 +124,7 @@ test("#given existing child_agents_md setting #when script installer updates con
103
124
 
104
125
  // then
105
126
  const content = await readFile(configPath, "utf8");
106
- assert.match(content, /child_agents_md = false/);
107
- assert.doesNotMatch(content, /child_agents_md = true/);
127
+ assert.doesNotMatch(content, /child_agents_md/);
108
128
  });
109
129
 
110
130
  test("#given config without child_agents_md #when script installer updates config #then does not add unsupported feature key", async () => {
@@ -1,5 +1,5 @@
1
1
  #!/usr/bin/env node
2
- // omo-codex-install:926babe1233096485f8e4db8e616e5deaa07ce9e732fdb0477b03390f4f15efa:4d5d406ea49f40877a220f86f4699fafaf2529a5afcea4e30abccfe48760df2c
2
+ // omo-codex-install:36a2cdbddec650930467b3965504e73ddeb3d82f229071008f1296a9498fe265:249413365bf0de355352ccfffc9c04669f220c439ce18a287a5bf27105c0f72d
3
3
  var __esm = (fn, res, err) => () => {
4
4
  if (fn)
5
5
  try {
@@ -9984,7 +9984,7 @@ var package_default;
9984
9984
  var init_package = __esm(() => {
9985
9985
  package_default = {
9986
9986
  name: "@oh-my-opencode/omo-codex",
9987
- version: "5.1.6",
9987
+ version: "5.1.7",
9988
9988
  type: "module",
9989
9989
  private: true,
9990
9990
  description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
@@ -12529,6 +12529,12 @@ ${featureName} = true
12529
12529
  }
12530
12530
  return replaceOrInsertSetting(config, section, featureName, "true");
12531
12531
  }
12532
+ function removeFeature(config, featureName) {
12533
+ const section = findTomlSection(config, "features");
12534
+ if (section !== null)
12535
+ return removeSetting(config, section, featureName);
12536
+ return removeRootSetting(config, `features.${featureName}`);
12537
+ }
12532
12538
 
12533
12539
  // packages/omo-codex/src/install/codex-config-marketplaces.ts
12534
12540
  var SISYPHUS_LEGACY_MARKETPLACES = ["lazycodex", "code-yeongyu-codex-plugins"];
@@ -13121,6 +13127,7 @@ async function updateCodexConfig(input) {
13121
13127
  config = ensureFeatureEnabled(config, "plugins");
13122
13128
  config = ensureFeatureEnabled(config, "plugin_hooks");
13123
13129
  config = ensureFeatureEnabled(config, "multi_agent");
13130
+ config = removeFeature(config, "child_agents_md");
13124
13131
  config = removeUnsupportedCodexMultiAgentModeConfig(config);
13125
13132
  config = ensureCodexReasoningConfig(config, applyReasoningOverride(await readCodexModelCatalog(input.repoRoot), input.reasoning));
13126
13133
  config = ensureCodexMultiAgentV2Config(config, {
@@ -5,5 +5,5 @@
5
5
  "index.js": "b6b064fab277031c6c51f5a58b84b31040f9960bf767bf646adc0540c1d25c1b",
6
6
  "page-bundle.js": "bfd51e8383cf47200d57387bbbed258bce5a3a3d00c38fc108034d2888e23f0c"
7
7
  },
8
- "stagedAtUtc": "2026-09-30T18:48:33.732Z"
8
+ "stagedAtUtc": "2026-09-30T23:56:44.170Z"
9
9
  }
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/team-core/team-layout-tmux/close-team-member-pane";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/team-core/team-tasklist/claim";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/team-core/team-tasklist/dependencies";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/team-core/team-tasklist/get";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/team-core/team-tasklist/store";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/team-core/team-tasklist/update";
@@ -1,29 +0,0 @@
1
- interface HashlineEditDiffEnhancerConfig {
2
- hashline_edit?: {
3
- enabled: boolean;
4
- };
5
- }
6
- type BeforeInput = {
7
- tool: string;
8
- sessionID: string;
9
- callID: string;
10
- };
11
- type BeforeOutput = {
12
- args: Record<string, unknown>;
13
- };
14
- type AfterInput = {
15
- tool: string;
16
- sessionID: string;
17
- callID: string;
18
- };
19
- type AfterOutput = {
20
- title: string;
21
- output: string;
22
- metadata: Record<string, unknown>;
23
- };
24
- export declare function createHashlineEditDiffEnhancerHook(config: HashlineEditDiffEnhancerConfig): {
25
- "tool.execute.before": (input: BeforeInput, output: BeforeOutput) => Promise<void>;
26
- "tool.execute.after": (input: AfterInput, output: AfterOutput) => Promise<void>;
27
- dispose: () => void;
28
- };
29
- export {};
@@ -1,13 +0,0 @@
1
- export declare const HASHLINE_PENDING_CAPTURE_TTL_MS: number;
2
- export type PendingCapture = {
3
- content: string;
4
- filePath: string;
5
- storedAt: number;
6
- };
7
- export declare function pruneStalePendingCaptures(now?: number): void;
8
- export declare function setPendingCapture(sessionID: string, callID: string, capture: {
9
- content: string;
10
- filePath: string;
11
- }): void;
12
- export declare function takePendingCapture(sessionID: string, callID: string): PendingCapture | undefined;
13
- export declare function stopPendingCaptureCleanup(): void;
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/config";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/dispatcher";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/gateway-url-validation";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/reply-listener-injection";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/reply-listener-start";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/session-registry";
@@ -1 +0,0 @@
1
- export * from "@oh-my-opencode/openclaw-core/tmux";