oh-my-openagent 4.12.0 → 4.12.1
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/dist/cli/index.js +36 -17
- package/dist/cli-node/index.js +36 -17
- package/dist/index.js +361 -254
- package/dist/skills/ultraresearch/SKILL.md +11 -2
- package/dist/tools/background-task/constants.d.ts +1 -1
- package/dist/tui.js +9 -3
- package/package.json +13 -13
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +3 -1
- package/packages/omo-codex/plugin/components/bootstrap/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +327 -171
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +275 -31
- package/packages/omo-codex/plugin/components/codegraph/package.json +1 -1
- package/packages/omo-codex/plugin/components/codegraph/src/cli.ts +11 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +12 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +34 -0
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +40 -3
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +6 -5
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +49 -87
- package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +1 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +48 -0
- package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +1 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +142 -0
- package/packages/omo-codex/plugin/components/comment-checker/package.json +1 -1
- package/packages/omo-codex/plugin/components/git-bash/package.json +1 -1
- package/packages/omo-codex/plugin/components/lazycodex-executor-verify/package.json +1 -1
- package/packages/omo-codex/plugin/components/lsp/package.json +1 -1
- package/packages/omo-codex/plugin/components/rules/package.json +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/teammode/dist/cli.js +94 -0
- package/packages/omo-codex/plugin/components/teammode/hooks/hooks.json +17 -0
- package/packages/omo-codex/plugin/components/teammode/package.json +26 -0
- package/packages/omo-codex/plugin/components/teammode/src/cli.ts +12 -0
- package/packages/omo-codex/plugin/components/teammode/src/codex-hook.ts +125 -0
- package/packages/omo-codex/plugin/components/teammode/test/thread-title-hook.test.ts +116 -0
- package/packages/omo-codex/plugin/components/teammode/tsconfig.json +25 -0
- package/packages/omo-codex/plugin/components/telemetry/package.json +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-codegraph-init-guidance.json +17 -0
- package/packages/omo-codex/plugin/hooks/post-tool-use-checking-thread-title-hygiene.json +17 -0
- package/packages/omo-codex/plugin/hooks/session-start-checking-codegraph-bootstrap.json +1 -1
- package/packages/omo-codex/plugin/package-lock.json +30 -12
- package/packages/omo-codex/plugin/package.json +2 -1
- package/packages/omo-codex/plugin/scripts/hook-status-message.mjs +1 -0
- package/packages/omo-codex/plugin/skills/ultraresearch/SKILL.md +11 -2
- package/packages/omo-codex/plugin/test/aggregate-hooks.test.mjs +36 -0
- package/packages/omo-codex/plugin/test/aggregate-manifest.test.mjs +2 -1
- package/packages/omo-codex/plugin/test/aggregate-plugin-fixture.mjs +1 -1
- package/packages/omo-codex/plugin/test/component-bundled-cli.test.mjs +1 -0
- package/packages/omo-codex/plugin/test/component-hook-contract-cases.mjs +24 -0
- package/packages/omo-codex/plugin/test/hook-status-message.test.mjs +1 -0
- package/packages/omo-codex/plugin/test/ultraresearch-skill-contract.test.mjs +48 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +14 -1
- package/packages/shared-skills/skills/ultraresearch/SKILL.md +11 -2
package/dist/cli/index.js
CHANGED
|
@@ -2145,7 +2145,7 @@ var package_default;
|
|
|
2145
2145
|
var init_package = __esm(() => {
|
|
2146
2146
|
package_default = {
|
|
2147
2147
|
name: "oh-my-openagent",
|
|
2148
|
-
version: "4.12.
|
|
2148
|
+
version: "4.12.1",
|
|
2149
2149
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
2150
2150
|
main: "./dist/index.js",
|
|
2151
2151
|
types: "dist/index.d.ts",
|
|
@@ -2315,18 +2315,18 @@ var init_package = __esm(() => {
|
|
|
2315
2315
|
typescript: "^6.0.3"
|
|
2316
2316
|
},
|
|
2317
2317
|
optionalDependencies: {
|
|
2318
|
-
"oh-my-openagent-darwin-arm64": "4.12.
|
|
2319
|
-
"oh-my-openagent-darwin-x64": "4.12.
|
|
2320
|
-
"oh-my-openagent-darwin-x64-baseline": "4.12.
|
|
2321
|
-
"oh-my-openagent-linux-arm64": "4.12.
|
|
2322
|
-
"oh-my-openagent-linux-arm64-musl": "4.12.
|
|
2323
|
-
"oh-my-openagent-linux-x64": "4.12.
|
|
2324
|
-
"oh-my-openagent-linux-x64-baseline": "4.12.
|
|
2325
|
-
"oh-my-openagent-linux-x64-musl": "4.12.
|
|
2326
|
-
"oh-my-openagent-linux-x64-musl-baseline": "4.12.
|
|
2327
|
-
"oh-my-openagent-windows-arm64": "4.12.
|
|
2328
|
-
"oh-my-openagent-windows-x64": "4.12.
|
|
2329
|
-
"oh-my-openagent-windows-x64-baseline": "4.12.
|
|
2318
|
+
"oh-my-openagent-darwin-arm64": "4.12.1",
|
|
2319
|
+
"oh-my-openagent-darwin-x64": "4.12.1",
|
|
2320
|
+
"oh-my-openagent-darwin-x64-baseline": "4.12.1",
|
|
2321
|
+
"oh-my-openagent-linux-arm64": "4.12.1",
|
|
2322
|
+
"oh-my-openagent-linux-arm64-musl": "4.12.1",
|
|
2323
|
+
"oh-my-openagent-linux-x64": "4.12.1",
|
|
2324
|
+
"oh-my-openagent-linux-x64-baseline": "4.12.1",
|
|
2325
|
+
"oh-my-openagent-linux-x64-musl": "4.12.1",
|
|
2326
|
+
"oh-my-openagent-linux-x64-musl-baseline": "4.12.1",
|
|
2327
|
+
"oh-my-openagent-windows-arm64": "4.12.1",
|
|
2328
|
+
"oh-my-openagent-windows-x64": "4.12.1",
|
|
2329
|
+
"oh-my-openagent-windows-x64-baseline": "4.12.1"
|
|
2330
2330
|
},
|
|
2331
2331
|
overrides: {
|
|
2332
2332
|
hono: "^4.12.18",
|
|
@@ -7370,6 +7370,14 @@ var init_classify_path_environment = () => {};
|
|
|
7370
7370
|
|
|
7371
7371
|
// packages/utils/src/codegraph/env.ts
|
|
7372
7372
|
var init_env = () => {};
|
|
7373
|
+
|
|
7374
|
+
// packages/utils/src/codegraph/workspace.ts
|
|
7375
|
+
var init_workspace = () => {};
|
|
7376
|
+
|
|
7377
|
+
// packages/utils/src/codegraph/guidance.ts
|
|
7378
|
+
var init_guidance = __esm(() => {
|
|
7379
|
+
init_workspace();
|
|
7380
|
+
});
|
|
7373
7381
|
// packages/utils/src/codegraph/manifest.ts
|
|
7374
7382
|
var init_manifest = () => {};
|
|
7375
7383
|
|
|
@@ -7390,12 +7398,10 @@ var init_resolve2 = __esm(() => {
|
|
|
7390
7398
|
requireFromHere = createRequire(import.meta.url);
|
|
7391
7399
|
});
|
|
7392
7400
|
|
|
7393
|
-
// packages/utils/src/codegraph/workspace.ts
|
|
7394
|
-
var init_workspace = () => {};
|
|
7395
|
-
|
|
7396
7401
|
// packages/utils/src/codegraph/index.ts
|
|
7397
7402
|
var init_codegraph = __esm(() => {
|
|
7398
7403
|
init_env();
|
|
7404
|
+
init_guidance();
|
|
7399
7405
|
init_provision();
|
|
7400
7406
|
init_resolve2();
|
|
7401
7407
|
init_workspace();
|
|
@@ -64702,7 +64708,7 @@ var package_default2;
|
|
|
64702
64708
|
var init_package2 = __esm(() => {
|
|
64703
64709
|
package_default2 = {
|
|
64704
64710
|
name: "@oh-my-opencode/omo-codex",
|
|
64705
|
-
version: "4.12.
|
|
64711
|
+
version: "4.12.1",
|
|
64706
64712
|
type: "module",
|
|
64707
64713
|
private: true,
|
|
64708
64714
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -67215,6 +67221,8 @@ async function installCachedPlugin(input) {
|
|
|
67215
67221
|
await rewriteCachedPackageLocalFileDependencies(tempPath, input.sourcePath);
|
|
67216
67222
|
await copyBundledMcpRuntimeDists({ pluginRoot: tempPath, sourceRoot: input.sourcePath });
|
|
67217
67223
|
await maybeRunNpmInstall(tempPath, input.runCommand, ["ci", "--omit=dev"]);
|
|
67224
|
+
if (input.buildSource === false)
|
|
67225
|
+
await maybeRunNpmSyncSkills(tempPath, input.runCommand);
|
|
67218
67226
|
await rewriteCachedMcpManifest(tempPath, input.sourcePath);
|
|
67219
67227
|
await rewriteCachedManifestRoot(tempPath, tempPath, targetPath);
|
|
67220
67228
|
await assertHookCommandTargets(tempPath);
|
|
@@ -67241,6 +67249,17 @@ async function maybeRunNpmBuild(cwd, runCommand) {
|
|
|
67241
67249
|
return;
|
|
67242
67250
|
await runCommand("npm", ["run", "build"], { cwd });
|
|
67243
67251
|
}
|
|
67252
|
+
async function maybeRunNpmSyncSkills(cwd, runCommand) {
|
|
67253
|
+
if (!await fileExistsStrict(join31(cwd, "package.json")))
|
|
67254
|
+
return;
|
|
67255
|
+
const packageJson = JSON.parse(await readFile7(join31(cwd, "package.json"), "utf8"));
|
|
67256
|
+
if (!isPlainRecord3(packageJson))
|
|
67257
|
+
return;
|
|
67258
|
+
const scripts = packageJson.scripts;
|
|
67259
|
+
if (!isPlainRecord3(scripts) || typeof scripts["sync:skills"] !== "string")
|
|
67260
|
+
return;
|
|
67261
|
+
await runCommand("npm", ["run", "sync:skills"], { cwd });
|
|
67262
|
+
}
|
|
67244
67263
|
function createTempSiblingPath(targetPath) {
|
|
67245
67264
|
return join31(dirname11(targetPath), `.tmp-${basename6(targetPath)}-${process.pid}-${Date.now()}`);
|
|
67246
67265
|
}
|
package/dist/cli-node/index.js
CHANGED
|
@@ -2146,7 +2146,7 @@ var package_default;
|
|
|
2146
2146
|
var init_package = __esm(() => {
|
|
2147
2147
|
package_default = {
|
|
2148
2148
|
name: "oh-my-openagent",
|
|
2149
|
-
version: "4.12.
|
|
2149
|
+
version: "4.12.1",
|
|
2150
2150
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
2151
2151
|
main: "./dist/index.js",
|
|
2152
2152
|
types: "dist/index.d.ts",
|
|
@@ -2316,18 +2316,18 @@ var init_package = __esm(() => {
|
|
|
2316
2316
|
typescript: "^6.0.3"
|
|
2317
2317
|
},
|
|
2318
2318
|
optionalDependencies: {
|
|
2319
|
-
"oh-my-openagent-darwin-arm64": "4.12.
|
|
2320
|
-
"oh-my-openagent-darwin-x64": "4.12.
|
|
2321
|
-
"oh-my-openagent-darwin-x64-baseline": "4.12.
|
|
2322
|
-
"oh-my-openagent-linux-arm64": "4.12.
|
|
2323
|
-
"oh-my-openagent-linux-arm64-musl": "4.12.
|
|
2324
|
-
"oh-my-openagent-linux-x64": "4.12.
|
|
2325
|
-
"oh-my-openagent-linux-x64-baseline": "4.12.
|
|
2326
|
-
"oh-my-openagent-linux-x64-musl": "4.12.
|
|
2327
|
-
"oh-my-openagent-linux-x64-musl-baseline": "4.12.
|
|
2328
|
-
"oh-my-openagent-windows-arm64": "4.12.
|
|
2329
|
-
"oh-my-openagent-windows-x64": "4.12.
|
|
2330
|
-
"oh-my-openagent-windows-x64-baseline": "4.12.
|
|
2319
|
+
"oh-my-openagent-darwin-arm64": "4.12.1",
|
|
2320
|
+
"oh-my-openagent-darwin-x64": "4.12.1",
|
|
2321
|
+
"oh-my-openagent-darwin-x64-baseline": "4.12.1",
|
|
2322
|
+
"oh-my-openagent-linux-arm64": "4.12.1",
|
|
2323
|
+
"oh-my-openagent-linux-arm64-musl": "4.12.1",
|
|
2324
|
+
"oh-my-openagent-linux-x64": "4.12.1",
|
|
2325
|
+
"oh-my-openagent-linux-x64-baseline": "4.12.1",
|
|
2326
|
+
"oh-my-openagent-linux-x64-musl": "4.12.1",
|
|
2327
|
+
"oh-my-openagent-linux-x64-musl-baseline": "4.12.1",
|
|
2328
|
+
"oh-my-openagent-windows-arm64": "4.12.1",
|
|
2329
|
+
"oh-my-openagent-windows-x64": "4.12.1",
|
|
2330
|
+
"oh-my-openagent-windows-x64-baseline": "4.12.1"
|
|
2331
2331
|
},
|
|
2332
2332
|
overrides: {
|
|
2333
2333
|
hono: "^4.12.18",
|
|
@@ -7371,6 +7371,14 @@ var init_classify_path_environment = () => {};
|
|
|
7371
7371
|
|
|
7372
7372
|
// packages/utils/src/codegraph/env.ts
|
|
7373
7373
|
var init_env = () => {};
|
|
7374
|
+
|
|
7375
|
+
// packages/utils/src/codegraph/workspace.ts
|
|
7376
|
+
var init_workspace = () => {};
|
|
7377
|
+
|
|
7378
|
+
// packages/utils/src/codegraph/guidance.ts
|
|
7379
|
+
var init_guidance = __esm(() => {
|
|
7380
|
+
init_workspace();
|
|
7381
|
+
});
|
|
7374
7382
|
// packages/utils/src/codegraph/manifest.ts
|
|
7375
7383
|
var init_manifest = () => {};
|
|
7376
7384
|
|
|
@@ -7391,12 +7399,10 @@ var init_resolve2 = __esm(() => {
|
|
|
7391
7399
|
requireFromHere = createRequire2(import.meta.url);
|
|
7392
7400
|
});
|
|
7393
7401
|
|
|
7394
|
-
// packages/utils/src/codegraph/workspace.ts
|
|
7395
|
-
var init_workspace = () => {};
|
|
7396
|
-
|
|
7397
7402
|
// packages/utils/src/codegraph/index.ts
|
|
7398
7403
|
var init_codegraph = __esm(() => {
|
|
7399
7404
|
init_env();
|
|
7405
|
+
init_guidance();
|
|
7400
7406
|
init_provision();
|
|
7401
7407
|
init_resolve2();
|
|
7402
7408
|
init_workspace();
|
|
@@ -64758,7 +64764,7 @@ var package_default2;
|
|
|
64758
64764
|
var init_package2 = __esm(() => {
|
|
64759
64765
|
package_default2 = {
|
|
64760
64766
|
name: "@oh-my-opencode/omo-codex",
|
|
64761
|
-
version: "4.12.
|
|
64767
|
+
version: "4.12.1",
|
|
64762
64768
|
type: "module",
|
|
64763
64769
|
private: true,
|
|
64764
64770
|
description: "Codex harness adapter for oh-my-openagent. Vendored Codex plugin namespace (omo) + TypeScript installer + telemetry.",
|
|
@@ -67271,6 +67277,8 @@ async function installCachedPlugin(input) {
|
|
|
67271
67277
|
await rewriteCachedPackageLocalFileDependencies(tempPath, input.sourcePath);
|
|
67272
67278
|
await copyBundledMcpRuntimeDists({ pluginRoot: tempPath, sourceRoot: input.sourcePath });
|
|
67273
67279
|
await maybeRunNpmInstall(tempPath, input.runCommand, ["ci", "--omit=dev"]);
|
|
67280
|
+
if (input.buildSource === false)
|
|
67281
|
+
await maybeRunNpmSyncSkills(tempPath, input.runCommand);
|
|
67274
67282
|
await rewriteCachedMcpManifest(tempPath, input.sourcePath);
|
|
67275
67283
|
await rewriteCachedManifestRoot(tempPath, tempPath, targetPath);
|
|
67276
67284
|
await assertHookCommandTargets(tempPath);
|
|
@@ -67297,6 +67305,17 @@ async function maybeRunNpmBuild(cwd, runCommand) {
|
|
|
67297
67305
|
return;
|
|
67298
67306
|
await runCommand("npm", ["run", "build"], { cwd });
|
|
67299
67307
|
}
|
|
67308
|
+
async function maybeRunNpmSyncSkills(cwd, runCommand) {
|
|
67309
|
+
if (!await fileExistsStrict(join31(cwd, "package.json")))
|
|
67310
|
+
return;
|
|
67311
|
+
const packageJson = JSON.parse(await readFile7(join31(cwd, "package.json"), "utf8"));
|
|
67312
|
+
if (!isPlainRecord3(packageJson))
|
|
67313
|
+
return;
|
|
67314
|
+
const scripts = packageJson.scripts;
|
|
67315
|
+
if (!isPlainRecord3(scripts) || typeof scripts["sync:skills"] !== "string")
|
|
67316
|
+
return;
|
|
67317
|
+
await runCommand("npm", ["run", "sync:skills"], { cwd });
|
|
67318
|
+
}
|
|
67300
67319
|
function createTempSiblingPath(targetPath) {
|
|
67301
67320
|
return join31(dirname11(targetPath), `.tmp-${basename6(targetPath)}-${process.pid}-${Date.now()}`);
|
|
67302
67321
|
}
|