oh-my-opencode 5.1.63 → 5.1.65
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 +98 -60
- package/dist/cli/service-auth/closed-device-login.d.ts +16 -0
- package/dist/cli/service-auth/commands.d.ts +9 -2
- package/dist/cli/service-auth/session.d.ts +12 -0
- package/dist/cli-node/index.js +98 -60
- package/dist/features/background-agent/manager.d.ts +1 -0
- package/dist/hooks/runtime-fallback/auto-retry-timeout.d.ts +1 -1
- package/dist/hooks/runtime-fallback/auto-retry.d.ts +1 -1
- package/dist/hooks/runtime-fallback/constants.d.ts +1 -0
- package/dist/hooks/runtime-fallback/fallback-state.d.ts +1 -0
- package/dist/hooks/runtime-fallback/types.d.ts +10 -1
- package/dist/index.js +881 -234
- package/dist/shared/compaction-in-flight.d.ts +15 -0
- package/dist/shared/runtime-fallback-recovery.d.ts +38 -0
- package/dist/shared/runtime-fallback-retry-marker.d.ts +2 -0
- package/dist/skills/browser/SKILL.md +3 -1
- package/dist/skills/browser/runtime/omowright/index.js +232 -341
- package/dist/skills/browser/runtime/omowright/manifest.json +5 -5
- package/dist/skills/browser/runtime/omowright/page-bundle.js +1586 -1394
- package/dist/skills/browser/scripts/browser-doctor-report.mjs +68 -0
- package/dist/skills/browser/scripts/browser-doctor.mjs +8 -43
- package/dist/skills/browser/scripts/omowright.mjs +7 -1
- package/dist/tui.js +35 -16
- package/package.json +15 -15
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +19 -0
- 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/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/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/rules/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-execute-continuation/hooks/hooks.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-execute-continuation/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +5 -5
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- 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-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/post-tool-use-recording-spawn-admission.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-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-ulw-execute-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-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 +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/skills/browser/SKILL.md +3 -1
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/index.js +232 -341
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +5 -5
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/page-bundle.js +1586 -1394
- package/packages/omo-codex/plugin/skills/browser/scripts/browser-doctor-report.mjs +68 -0
- package/packages/omo-codex/plugin/skills/browser/scripts/browser-doctor.mjs +8 -43
- package/packages/omo-codex/plugin/skills/browser/scripts/omowright.mjs +7 -1
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +21 -2
- package/packages/shared-skills/skills/browser/SKILL.md +3 -1
- package/packages/shared-skills/skills/browser/runtime/omowright/index.js +232 -341
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +5 -5
- package/packages/shared-skills/skills/browser/runtime/omowright/page-bundle.js +1586 -1394
- package/packages/shared-skills/skills/browser/scripts/browser-doctor-report.mjs +68 -0
- package/packages/shared-skills/skills/browser/scripts/browser-doctor.mjs +8 -43
- package/packages/shared-skills/skills/browser/scripts/omowright.mjs +7 -1
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
// The browser doctor's report: one bskDoctor run turned into the `state` the browser skill routes on, its remedy, and a
|
|
2
|
+
// summary. browser-doctor.mjs is the CLI over it; `doctorOptions` reach bskDoctor unchanged (the CLI passes none).
|
|
3
|
+
|
|
4
|
+
// BrowserSkill extension 0.4.0 put every task tab into a native "BrowserSkill" tab group that the browser saves and
|
|
5
|
+
// syncs, so each task left a group in the user's own browser (upstream removed the grouping in 0.4.1).
|
|
6
|
+
const TAB_GROUPING_EXTENSION_VERSION = "0.4.0"
|
|
7
|
+
|
|
8
|
+
function stateOf(report, outdated) {
|
|
9
|
+
if (report.browsersConnected.length > outdated.length) return "ready"
|
|
10
|
+
if (outdated.length > 0) return "outdated-extension"
|
|
11
|
+
if (!report.cli.installed) return "no-cli"
|
|
12
|
+
if (!report.daemon.running) return "no-daemon"
|
|
13
|
+
if (report.browsers.length === 0 && !report.primary) return "no-browser-support"
|
|
14
|
+
return report.identification.needsChoice ? "choose-browser" : "no-extension"
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
const named = (browsers) => browsers.map((browser) => `${browser.browser_name} [${browser.instance_id}]`).join(", ")
|
|
18
|
+
|
|
19
|
+
// With a 0.4.0 browser connected beside an up-to-date one, a session started without `browser` may land on the 0.4.0
|
|
20
|
+
// one (the daemon picks), so the remedy names the up-to-date browser's instance and lists the browsers to avoid.
|
|
21
|
+
function readyRemedy(report, outdated) {
|
|
22
|
+
const live = "Attached engine is live: const { connectBrowserSkill } = await import(omowrightEntry); "
|
|
23
|
+
if (outdated.length === 0) return `${live}const session = await connectBrowserSkill({ name: "<task>", focused: false })`
|
|
24
|
+
const usable = report.browsersConnected.filter((connected) => !outdated.includes(connected))
|
|
25
|
+
const others = usable.length > 1 ? ` (or another up-to-date browser: ${named(usable.slice(1))})` : ""
|
|
26
|
+
return `${live}const session = await connectBrowserSkill({ name: "<task>", focused: false, browser: "${usable[0].instance_id}" })${others}. Always pass browser: the BrowserSkill extension in ${named(outdated)} is 0.4.0, which leaves a "BrowserSkill" tab group in the user's browser after every task; never start a session there, and ask the user to update it to 0.4.1 or later and delete any saved "BrowserSkill" tab groups by hand.`
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
function remedyFor(state, report, outdated) {
|
|
30
|
+
switch (state) {
|
|
31
|
+
case "ready":
|
|
32
|
+
return readyRemedy(report, outdated)
|
|
33
|
+
case "outdated-extension":
|
|
34
|
+
return `The connected BrowserSkill extension is 0.4.0 (${named(outdated)}), which leaves a "BrowserSkill" tab group in the user's browser after every task. Do not start a session. Ask the user to update the extension to 0.4.1 or later (chrome://extensions, Developer mode, Update) and to delete any saved "BrowserSkill" tab groups by hand, then re-run this doctor.`
|
|
35
|
+
case "no-cli":
|
|
36
|
+
return "Run node \"<skill-root>/scripts/browser-install.mjs\". It installs the CLI, starts the daemon and registers the extension; then tell the user the single step it prints."
|
|
37
|
+
case "no-daemon":
|
|
38
|
+
return "Run node \"<skill-root>/scripts/browser-install.mjs\" (it starts the daemon through `bsk status`), then re-run this doctor."
|
|
39
|
+
case "no-extension":
|
|
40
|
+
return report.nextStep ?? "Register the extension with browser-install.mjs, then relay its human step to the user and re-run this doctor."
|
|
41
|
+
case "choose-browser":
|
|
42
|
+
return `Do not install anything yet. First check your memory for the browser this user works in; if it names one of the candidates, re-run with --browser=<id>. Otherwise ask the user which browser they actually use (${report.identification.reason}), record the answer in memory, then run node "<skill-root>/scripts/browser-install.mjs" --browser=<id>.`
|
|
43
|
+
case "no-browser-support":
|
|
44
|
+
return "No Chromium-family browser profile was found on this machine. Say so and stop; do not substitute another engine."
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
/** @param {{ omowright: any, entry: string | undefined, browser?: string, doctorOptions?: Record<string, unknown> }} options */
|
|
49
|
+
export async function runBrowserDoctor({ omowright, entry, browser, doctorOptions = {} }) {
|
|
50
|
+
const report = await omowright.bskDoctor({ waitForBrowserMs: 0, browser, ...doctorOptions })
|
|
51
|
+
const outdated = report.browsersConnected.filter((connected) => connected.extension_version === TAB_GROUPING_EXTENSION_VERSION)
|
|
52
|
+
const state = stateOf(report, outdated)
|
|
53
|
+
return {
|
|
54
|
+
state,
|
|
55
|
+
omowright: entry,
|
|
56
|
+
cli: report.cli,
|
|
57
|
+
daemon: { running: report.daemon.running, version: report.daemon.version ?? null, protocolVersion: report.daemon.protocolVersion ?? null, error: report.daemon.error ?? null },
|
|
58
|
+
browser: report.primary ? { id: report.primary.id, label: report.primary.label, confidence: report.identification.confidence, reason: report.identification.reason } : null,
|
|
59
|
+
identificationReason: report.identification.reason,
|
|
60
|
+
candidates: report.identification.candidates.map((c) => ({ id: c.id, label: c.label, signals: c.signals })),
|
|
61
|
+
defaultBrowser: report.identification.defaultBrowser,
|
|
62
|
+
registeredElsewhere: report.identification.registeredElsewhere,
|
|
63
|
+
browsersDetected: report.browsers.map((detected) => ({ id: detected.id, userDataDir: detected.userDataDir, extensionRegistered: detected.extensionRegistered })),
|
|
64
|
+
browsersConnected: report.browsersConnected.map((connected) => ({ instanceId: connected.instance_id, name: connected.browser_name, version: connected.browser_version, extensionVersion: connected.extension_version ?? null })),
|
|
65
|
+
nextStep: report.nextStep,
|
|
66
|
+
remedy: remedyFor(state, report, outdated),
|
|
67
|
+
}
|
|
68
|
+
}
|
|
@@ -1,57 +1,22 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
+
import { runBrowserDoctor } from "./browser-doctor-report.mjs"
|
|
2
3
|
import { loadOmowright } from "./omowright.mjs"
|
|
3
4
|
|
|
4
5
|
const { entry, omowright } = await loadOmowright()
|
|
5
6
|
const browserArg = process.argv.find((arg) => arg.startsWith("--browser="))
|
|
6
|
-
const
|
|
7
|
-
|
|
8
|
-
const state = report.ready
|
|
9
|
-
? "ready"
|
|
10
|
-
: !report.cli.installed
|
|
11
|
-
? "no-cli"
|
|
12
|
-
: !report.daemon.running
|
|
13
|
-
? "no-daemon"
|
|
14
|
-
: report.browsers.length === 0 && !report.primary
|
|
15
|
-
? "no-browser-support"
|
|
16
|
-
: report.identification.needsChoice
|
|
17
|
-
? "choose-browser"
|
|
18
|
-
: "no-extension"
|
|
19
|
-
|
|
20
|
-
const REMEDIES = {
|
|
21
|
-
ready: "Attached engine is live: const { connectBrowserSkill } = await import(omowrightEntry); const session = await connectBrowserSkill({ name: \"<task>\", focused: false })",
|
|
22
|
-
"no-cli": "Run node \"<skill-root>/scripts/browser-install.mjs\". It installs the CLI, starts the daemon and registers the extension; then tell the user the single step it prints.",
|
|
23
|
-
"no-daemon": "Run node \"<skill-root>/scripts/browser-install.mjs\" (it starts the daemon through `bsk status`), then re-run this doctor.",
|
|
24
|
-
"no-extension": report.nextStep ?? "Register the extension with browser-install.mjs, then relay its human step to the user and re-run this doctor.",
|
|
25
|
-
"choose-browser": `Do not install anything yet. First check your memory for the browser this user works in; if it names one of the candidates, re-run with --browser=<id>. Otherwise ask the user which browser they actually use (${report.identification.reason}), record the answer in memory, then run node "<skill-root>/scripts/browser-install.mjs" --browser=<id>.`,
|
|
26
|
-
"no-browser-support": "No Chromium-family browser profile was found on this machine. Say so and stop; do not substitute another engine.",
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
const summary = {
|
|
30
|
-
state,
|
|
31
|
-
omowright: entry,
|
|
32
|
-
cli: report.cli,
|
|
33
|
-
daemon: { running: report.daemon.running, version: report.daemon.version ?? null, protocolVersion: report.daemon.protocolVersion ?? null, error: report.daemon.error ?? null },
|
|
34
|
-
browser: report.primary ? { id: report.primary.id, label: report.primary.label, confidence: report.identification.confidence, reason: report.identification.reason } : null,
|
|
35
|
-
candidates: report.identification.candidates.map((c) => ({ id: c.id, label: c.label, signals: c.signals })),
|
|
36
|
-
defaultBrowser: report.identification.defaultBrowser,
|
|
37
|
-
registeredElsewhere: report.identification.registeredElsewhere,
|
|
38
|
-
browsersDetected: report.browsers.map((browser) => ({ id: browser.id, userDataDir: browser.userDataDir, extensionRegistered: browser.extensionRegistered })),
|
|
39
|
-
browsersConnected: report.browsersConnected.map((browser) => ({ instanceId: browser.instance_id, name: browser.browser_name, version: browser.browser_version })),
|
|
40
|
-
nextStep: report.nextStep,
|
|
41
|
-
remedy: REMEDIES[state],
|
|
42
|
-
}
|
|
7
|
+
const { identificationReason, ...summary } = await runBrowserDoctor({ omowright, entry, browser: browserArg ? browserArg.slice("--browser=".length) : undefined })
|
|
43
8
|
|
|
44
9
|
if (process.argv.includes("--json")) {
|
|
45
10
|
console.log(JSON.stringify(summary, null, 2))
|
|
46
11
|
} else {
|
|
47
|
-
console.log(`state: ${state}`)
|
|
12
|
+
console.log(`state: ${summary.state}`)
|
|
48
13
|
console.log(`omowright: ${entry}`)
|
|
49
|
-
console.log(`cli: ${
|
|
50
|
-
console.log(`daemon: ${
|
|
51
|
-
console.log(`browser the user uses: ${summary.browser ? `${summary.browser.label} [${summary.browser.id}] (${summary.browser.reason})` : `not identified (${
|
|
14
|
+
console.log(`cli: ${summary.cli.installed ? `${summary.cli.bskBin} (${summary.cli.version})` : "not installed"}`)
|
|
15
|
+
console.log(`daemon: ${summary.daemon.running ? `running (${summary.daemon.version}, protocol ${summary.daemon.protocolVersion})` : `not running${summary.daemon.error ? ` - ${summary.daemon.error}` : ""}`}`)
|
|
16
|
+
console.log(`browser the user uses: ${summary.browser ? `${summary.browser.label} [${summary.browser.id}] (${summary.browser.reason})` : `not identified (${identificationReason})`}`)
|
|
52
17
|
console.log(`candidates: ${summary.candidates.map((c) => `${c.id}${c.signals.length ? ` (${c.signals.join(", ")})` : ""}`).join(", ") || "none"}`)
|
|
53
18
|
if (summary.registeredElsewhere.length > 0) console.log(`extension entries left in other browsers: ${summary.registeredElsewhere.join(", ")} (not removed automatically)`)
|
|
54
19
|
console.log(`browsers detected: ${summary.browsersDetected.map((b) => `${b.id}${b.extensionRegistered ? " (extension registered)" : ""}`).join(", ") || "none"}`)
|
|
55
|
-
console.log(`browsers connected: ${summary.browsersConnected.map((b) => `${b.name} ${b.version} [${b.instanceId}]`).join(", ") || "none"}`)
|
|
56
|
-
console.log(`\n${
|
|
20
|
+
console.log(`browsers connected: ${summary.browsersConnected.map((b) => `${b.name} ${b.version} [${b.instanceId}]${b.extensionVersion ? ` extension ${b.extensionVersion}` : ""}`).join(", ") || "none"}`)
|
|
21
|
+
console.log(`\n${summary.remedy}`)
|
|
57
22
|
}
|
|
@@ -9,10 +9,16 @@ const scriptDir = dirname(fileURLToPath(import.meta.url))
|
|
|
9
9
|
const skillRoot = dirname(scriptDir)
|
|
10
10
|
|
|
11
11
|
export function resolveOmowrightEntry(env = process.env) {
|
|
12
|
+
const packageRoot = join(skillRoot, "..", "..", "..", "..", "node_modules", "omowright")
|
|
13
|
+
// Same order as stage-omowright-runtime.mjs: sources before the build, `.ts` before `.js`. A git
|
|
14
|
+
// install carries the sources (TypeScript since omowright's strict port, which only Bun imports);
|
|
15
|
+
// a package built for its `exports` carries `dist/` only.
|
|
12
16
|
const candidates = [
|
|
13
17
|
env.OMOWRIGHT_ROOT ? join(env.OMOWRIGHT_ROOT, "index.js") : undefined,
|
|
14
18
|
join(skillRoot, "runtime", "omowright", "index.js"),
|
|
15
|
-
join(
|
|
19
|
+
join(packageRoot, "src", "index.ts"),
|
|
20
|
+
join(packageRoot, "src", "index.js"),
|
|
21
|
+
join(packageRoot, "dist", "index.js"),
|
|
16
22
|
].filter((candidate) => candidate !== undefined)
|
|
17
23
|
return candidates.find((candidate) => existsSync(candidate))
|
|
18
24
|
}
|
package/dist/tui.js
CHANGED
|
@@ -70345,7 +70345,7 @@ var init_memory_agreements = __esm(() => {
|
|
|
70345
70345
|
});
|
|
70346
70346
|
|
|
70347
70347
|
// packages/omo-config-core/src/schema/memory.ts
|
|
70348
|
-
var OmoMemoryReflectionTriggerSchema, OmoMemoryReflectionSchema, OmoMemorySyncSchema, OmoMemorySearchSchema, OmoMemoryRecallEventCapsSchema, OmoMemoryRecallSchema, OmoMemoryProjectScopeSchema, OmoMemoryProjectScopeLayerSchema, OmoMemoryNudgeSchema, OmoMemoryFactsSchema, OmoMemoryDreamSchema, OmoMemoryPeopleSchema, OmoMemorySoulSchema, OmoMemoryWriteNoticeSchema, OmoMemoryReflectionTriggerLayerSchema, OmoMemoryReflectionLayerSchema, OmoMemorySyncLayerSchema, OmoMemorySearchLayerSchema, OmoMemoryRecallEventCapsLayerSchema, OmoMemoryRecallLayerSchema, OmoMemoryNudgeLayerSchema, OmoMemoryFactsLayerSchema, OmoMemoryDreamLayerSchema, OmoMemoryPeopleLayerSchema, OmoMemorySoulLayerSchema, OmoMemoryWriteNoticeLayerSchema, OmoMemoryProjectionSchema, OmoMemoryProjectionLayerSchema, OmoMemoryAgentOverridesSchema, OmoMemoryAutoIdentitySchema, OmoMemorySettingsSchema, OmoMemorySettingsLayerSchema;
|
|
70348
|
+
var OmoMemoryReflectionTriggerSchema, OmoMemoryReflectionSchema, OmoMemorySyncSchema, OmoMemorySearchSchema, OmoMemoryRecallEventCapsSchema, OmoMemoryRecallSchema, OmoMemoryProjectScopeSchema, OmoMemoryProjectScopeLayerSchema, OmoMemoryNudgeSchema, OmoMemoryFactsSchema, OmoMemoryDreamSchema, OmoMemoryPeopleSchema, OmoMemorySoulSchema, OmoMemoryWriteNoticeSchema, OmoMemoryReflectionTriggerLayerSchema, OmoMemoryReflectionLayerSchema, OmoMemorySyncLayerSchema, OmoMemorySearchLayerSchema, OmoMemoryRecallEventCapsLayerSchema, OmoMemoryRecallLayerSchema, OmoMemoryNudgeLayerSchema, OmoMemoryFactsLayerSchema, OmoMemoryDreamLayerSchema, OmoMemoryPeopleLayerSchema, OmoMemorySoulLayerSchema, OmoMemoryWriteNoticeLayerSchema, OmoMemoryProjectionSchema, OmoMemoryProjectionLayerSchema, OmoMemoryRuntimeSchema, OmoMemoryRuntimeLayerSchema, OmoMemoryAgentOverridesSchema, OmoMemoryAutoIdentitySchema, OmoMemorySettingsSchema, OmoMemorySettingsLayerSchema;
|
|
70349
70349
|
var init_memory = __esm(() => {
|
|
70350
70350
|
init_zod();
|
|
70351
70351
|
init_memory_agreements();
|
|
@@ -70494,6 +70494,22 @@ var init_memory = __esm(() => {
|
|
|
70494
70494
|
max_entries_per_directory: number2().int().min(0).optional(),
|
|
70495
70495
|
max_bytes: number2().int().min(0).optional()
|
|
70496
70496
|
}).strict();
|
|
70497
|
+
OmoMemoryRuntimeSchema = object({
|
|
70498
|
+
retention_days: number2().int().min(1).default(7),
|
|
70499
|
+
abandoned_journal_days: number2().int().min(1).default(14),
|
|
70500
|
+
completions_days: number2().int().min(1).default(30),
|
|
70501
|
+
pass_budget_ms: number2().int().min(1).default(60000),
|
|
70502
|
+
discard_unreflected_journals: boolean2().default(false),
|
|
70503
|
+
max_bytes: number2().int().min(0).default(2 * 1024 * 1024 * 1024)
|
|
70504
|
+
}).strict();
|
|
70505
|
+
OmoMemoryRuntimeLayerSchema = object({
|
|
70506
|
+
retention_days: number2().int().min(1).optional(),
|
|
70507
|
+
abandoned_journal_days: number2().int().min(1).optional(),
|
|
70508
|
+
completions_days: number2().int().min(1).optional(),
|
|
70509
|
+
pass_budget_ms: number2().int().min(1).optional(),
|
|
70510
|
+
discard_unreflected_journals: boolean2().optional(),
|
|
70511
|
+
max_bytes: number2().int().min(0).optional()
|
|
70512
|
+
}).strict();
|
|
70497
70513
|
OmoMemoryAgentOverridesSchema = object({
|
|
70498
70514
|
enabled: boolean2().optional(),
|
|
70499
70515
|
agent: string2().min(1).optional(),
|
|
@@ -70509,6 +70525,7 @@ var init_memory = __esm(() => {
|
|
|
70509
70525
|
search: OmoMemorySearchLayerSchema.optional(),
|
|
70510
70526
|
recall: OmoMemoryRecallLayerSchema.optional(),
|
|
70511
70527
|
projection: OmoMemoryProjectionLayerSchema.optional(),
|
|
70528
|
+
runtime: OmoMemoryRuntimeLayerSchema.optional(),
|
|
70512
70529
|
compile_warn_tokens: number2().int().positive().optional()
|
|
70513
70530
|
}).strict();
|
|
70514
70531
|
OmoMemoryAutoIdentitySchema = _enum(["path", "git"]);
|
|
@@ -70553,6 +70570,7 @@ var init_memory = __esm(() => {
|
|
|
70553
70570
|
}),
|
|
70554
70571
|
project_scope: OmoMemoryProjectScopeSchema.default({ nudge: true, recall: true }),
|
|
70555
70572
|
projection: OmoMemoryProjectionSchema.default({ max_entries_per_directory: 0, max_bytes: 40960 }),
|
|
70573
|
+
runtime: OmoMemoryRuntimeSchema.default({ retention_days: 7, abandoned_journal_days: 14, completions_days: 30, pass_budget_ms: 60000, discard_unreflected_journals: false, max_bytes: 2 * 1024 * 1024 * 1024 }),
|
|
70556
70574
|
compile_warn_tokens: number2().int().positive().default(30000),
|
|
70557
70575
|
agents: record(string2(), OmoMemoryAgentOverridesSchema).default({})
|
|
70558
70576
|
}).strict();
|
|
@@ -70573,6 +70591,7 @@ var init_memory = __esm(() => {
|
|
|
70573
70591
|
recall: OmoMemoryRecallLayerSchema.optional(),
|
|
70574
70592
|
project_scope: OmoMemoryProjectScopeLayerSchema.optional(),
|
|
70575
70593
|
projection: OmoMemoryProjectionLayerSchema.optional(),
|
|
70594
|
+
runtime: OmoMemoryRuntimeLayerSchema.optional(),
|
|
70576
70595
|
compile_warn_tokens: number2().int().positive().optional(),
|
|
70577
70596
|
agents: record(string2(), OmoMemoryAgentOverridesSchema).optional()
|
|
70578
70597
|
}).strict();
|
|
@@ -75741,7 +75760,7 @@ init_shared();
|
|
|
75741
75760
|
// package.json
|
|
75742
75761
|
var package_default = {
|
|
75743
75762
|
name: "oh-my-opencode",
|
|
75744
|
-
version: "5.1.
|
|
75763
|
+
version: "5.1.65",
|
|
75745
75764
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
75746
75765
|
main: "./dist/index.js",
|
|
75747
75766
|
types: "dist/index.d.ts",
|
|
@@ -75928,7 +75947,7 @@ var package_default = {
|
|
|
75928
75947
|
},
|
|
75929
75948
|
devDependencies: {
|
|
75930
75949
|
"@clack/prompts": "^1.8.1",
|
|
75931
|
-
"@code-yeongyu/senpi": "2026.11.
|
|
75950
|
+
"@code-yeongyu/senpi": "2026.11.6-3",
|
|
75932
75951
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
75933
75952
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
75934
75953
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
@@ -75983,7 +76002,7 @@ var package_default = {
|
|
|
75983
76002
|
"jsonc-parser": "^3.3.1",
|
|
75984
76003
|
knip: "6.43.0",
|
|
75985
76004
|
"node-pty": "^1.1.0",
|
|
75986
|
-
omowright: "
|
|
76005
|
+
omowright: "^0.3.0",
|
|
75987
76006
|
"oxc-parser": "0.148.0",
|
|
75988
76007
|
oxlint: "1.89.0",
|
|
75989
76008
|
picocolors: "^1.1.1",
|
|
@@ -75993,18 +76012,18 @@ var package_default = {
|
|
|
75993
76012
|
typescript: "^7.0.2"
|
|
75994
76013
|
},
|
|
75995
76014
|
optionalDependencies: {
|
|
75996
|
-
"oh-my-opencode-darwin-arm64": "5.1.
|
|
75997
|
-
"oh-my-opencode-darwin-x64": "5.1.
|
|
75998
|
-
"oh-my-opencode-darwin-x64-baseline": "5.1.
|
|
75999
|
-
"oh-my-opencode-linux-arm64": "5.1.
|
|
76000
|
-
"oh-my-opencode-linux-arm64-musl": "5.1.
|
|
76001
|
-
"oh-my-opencode-linux-x64": "5.1.
|
|
76002
|
-
"oh-my-opencode-linux-x64-baseline": "5.1.
|
|
76003
|
-
"oh-my-opencode-linux-x64-musl": "5.1.
|
|
76004
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.1.
|
|
76005
|
-
"oh-my-opencode-windows-arm64": "5.1.
|
|
76006
|
-
"oh-my-opencode-windows-x64": "5.1.
|
|
76007
|
-
"oh-my-opencode-windows-x64-baseline": "5.1.
|
|
76015
|
+
"oh-my-opencode-darwin-arm64": "5.1.65",
|
|
76016
|
+
"oh-my-opencode-darwin-x64": "5.1.65",
|
|
76017
|
+
"oh-my-opencode-darwin-x64-baseline": "5.1.65",
|
|
76018
|
+
"oh-my-opencode-linux-arm64": "5.1.65",
|
|
76019
|
+
"oh-my-opencode-linux-arm64-musl": "5.1.65",
|
|
76020
|
+
"oh-my-opencode-linux-x64": "5.1.65",
|
|
76021
|
+
"oh-my-opencode-linux-x64-baseline": "5.1.65",
|
|
76022
|
+
"oh-my-opencode-linux-x64-musl": "5.1.65",
|
|
76023
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.1.65",
|
|
76024
|
+
"oh-my-opencode-windows-arm64": "5.1.65",
|
|
76025
|
+
"oh-my-opencode-windows-x64": "5.1.65",
|
|
76026
|
+
"oh-my-opencode-windows-x64-baseline": "5.1.65"
|
|
76008
76027
|
},
|
|
76009
76028
|
overrides: {
|
|
76010
76029
|
hono: "^4.13.8",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "oh-my-opencode",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.65",
|
|
4
4
|
"description": "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
},
|
|
188
188
|
"devDependencies": {
|
|
189
189
|
"@clack/prompts": "^1.8.1",
|
|
190
|
-
"@code-yeongyu/senpi": "2026.11.
|
|
190
|
+
"@code-yeongyu/senpi": "2026.11.6-3",
|
|
191
191
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
192
192
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
193
193
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
@@ -242,7 +242,7 @@
|
|
|
242
242
|
"jsonc-parser": "^3.3.1",
|
|
243
243
|
"knip": "6.43.0",
|
|
244
244
|
"node-pty": "^1.1.0",
|
|
245
|
-
"omowright": "
|
|
245
|
+
"omowright": "^0.3.0",
|
|
246
246
|
"oxc-parser": "0.148.0",
|
|
247
247
|
"oxlint": "1.89.0",
|
|
248
248
|
"picocolors": "^1.1.1",
|
|
@@ -252,18 +252,18 @@
|
|
|
252
252
|
"typescript": "^7.0.2"
|
|
253
253
|
},
|
|
254
254
|
"optionalDependencies": {
|
|
255
|
-
"oh-my-opencode-darwin-arm64": "5.1.
|
|
256
|
-
"oh-my-opencode-darwin-x64": "5.1.
|
|
257
|
-
"oh-my-opencode-darwin-x64-baseline": "5.1.
|
|
258
|
-
"oh-my-opencode-linux-arm64": "5.1.
|
|
259
|
-
"oh-my-opencode-linux-arm64-musl": "5.1.
|
|
260
|
-
"oh-my-opencode-linux-x64": "5.1.
|
|
261
|
-
"oh-my-opencode-linux-x64-baseline": "5.1.
|
|
262
|
-
"oh-my-opencode-linux-x64-musl": "5.1.
|
|
263
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.1.
|
|
264
|
-
"oh-my-opencode-windows-arm64": "5.1.
|
|
265
|
-
"oh-my-opencode-windows-x64": "5.1.
|
|
266
|
-
"oh-my-opencode-windows-x64-baseline": "5.1.
|
|
255
|
+
"oh-my-opencode-darwin-arm64": "5.1.65",
|
|
256
|
+
"oh-my-opencode-darwin-x64": "5.1.65",
|
|
257
|
+
"oh-my-opencode-darwin-x64-baseline": "5.1.65",
|
|
258
|
+
"oh-my-opencode-linux-arm64": "5.1.65",
|
|
259
|
+
"oh-my-opencode-linux-arm64-musl": "5.1.65",
|
|
260
|
+
"oh-my-opencode-linux-x64": "5.1.65",
|
|
261
|
+
"oh-my-opencode-linux-x64-baseline": "5.1.65",
|
|
262
|
+
"oh-my-opencode-linux-x64-musl": "5.1.65",
|
|
263
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.1.65",
|
|
264
|
+
"oh-my-opencode-windows-arm64": "5.1.65",
|
|
265
|
+
"oh-my-opencode-windows-x64": "5.1.65",
|
|
266
|
+
"oh-my-opencode-windows-x64-baseline": "5.1.65"
|
|
267
267
|
},
|
|
268
268
|
"overrides": {
|
|
269
269
|
"hono": "^4.13.8",
|
|
@@ -7287,6 +7287,22 @@ var OmoMemoryProjectionLayerSchema = object({
|
|
|
7287
7287
|
max_entries_per_directory: number2().int().min(0).optional(),
|
|
7288
7288
|
max_bytes: number2().int().min(0).optional()
|
|
7289
7289
|
}).strict();
|
|
7290
|
+
var OmoMemoryRuntimeSchema = object({
|
|
7291
|
+
retention_days: number2().int().min(1).default(7),
|
|
7292
|
+
abandoned_journal_days: number2().int().min(1).default(14),
|
|
7293
|
+
completions_days: number2().int().min(1).default(30),
|
|
7294
|
+
pass_budget_ms: number2().int().min(1).default(60000),
|
|
7295
|
+
discard_unreflected_journals: boolean2().default(false),
|
|
7296
|
+
max_bytes: number2().int().min(0).default(2 * 1024 * 1024 * 1024)
|
|
7297
|
+
}).strict();
|
|
7298
|
+
var OmoMemoryRuntimeLayerSchema = object({
|
|
7299
|
+
retention_days: number2().int().min(1).optional(),
|
|
7300
|
+
abandoned_journal_days: number2().int().min(1).optional(),
|
|
7301
|
+
completions_days: number2().int().min(1).optional(),
|
|
7302
|
+
pass_budget_ms: number2().int().min(1).optional(),
|
|
7303
|
+
discard_unreflected_journals: boolean2().optional(),
|
|
7304
|
+
max_bytes: number2().int().min(0).optional()
|
|
7305
|
+
}).strict();
|
|
7290
7306
|
var OmoMemoryAgentOverridesSchema = object({
|
|
7291
7307
|
enabled: boolean2().optional(),
|
|
7292
7308
|
agent: string2().min(1).optional(),
|
|
@@ -7302,6 +7318,7 @@ var OmoMemoryAgentOverridesSchema = object({
|
|
|
7302
7318
|
search: OmoMemorySearchLayerSchema.optional(),
|
|
7303
7319
|
recall: OmoMemoryRecallLayerSchema.optional(),
|
|
7304
7320
|
projection: OmoMemoryProjectionLayerSchema.optional(),
|
|
7321
|
+
runtime: OmoMemoryRuntimeLayerSchema.optional(),
|
|
7305
7322
|
compile_warn_tokens: number2().int().positive().optional()
|
|
7306
7323
|
}).strict();
|
|
7307
7324
|
var OmoMemoryAutoIdentitySchema = _enum(["path", "git"]);
|
|
@@ -7346,6 +7363,7 @@ var OmoMemorySettingsSchema = object({
|
|
|
7346
7363
|
}),
|
|
7347
7364
|
project_scope: OmoMemoryProjectScopeSchema.default({ nudge: true, recall: true }),
|
|
7348
7365
|
projection: OmoMemoryProjectionSchema.default({ max_entries_per_directory: 0, max_bytes: 40960 }),
|
|
7366
|
+
runtime: OmoMemoryRuntimeSchema.default({ retention_days: 7, abandoned_journal_days: 14, completions_days: 30, pass_budget_ms: 60000, discard_unreflected_journals: false, max_bytes: 2 * 1024 * 1024 * 1024 }),
|
|
7349
7367
|
compile_warn_tokens: number2().int().positive().default(30000),
|
|
7350
7368
|
agents: record(string2(), OmoMemoryAgentOverridesSchema).default({})
|
|
7351
7369
|
}).strict();
|
|
@@ -7366,6 +7384,7 @@ var OmoMemorySettingsLayerSchema = object({
|
|
|
7366
7384
|
recall: OmoMemoryRecallLayerSchema.optional(),
|
|
7367
7385
|
project_scope: OmoMemoryProjectScopeLayerSchema.optional(),
|
|
7368
7386
|
projection: OmoMemoryProjectionLayerSchema.optional(),
|
|
7387
|
+
runtime: OmoMemoryRuntimeLayerSchema.optional(),
|
|
7369
7388
|
compile_warn_tokens: number2().int().positive().optional(),
|
|
7370
7389
|
agents: record(string2(), OmoMemoryAgentOverridesSchema).optional()
|
|
7371
7390
|
}).strict();
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"command": "node \"${PLUGIN_ROOT}/components/bootstrap/dist/cli.js\" hook session-start",
|
|
9
9
|
"commandWindows": "powershell -NoProfile -ExecutionPolicy Bypass -File \"${PLUGIN_ROOT}\\components\\bootstrap\\scripts\\bootstrap.ps1\"",
|
|
10
10
|
"timeout": 30,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.65) Checking Bootstrap Provisioning"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook pre-tool-use",
|
|
10
10
|
"timeout": 5,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.65) Recommending Git Bash MCP"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"type": "command",
|
|
21
21
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
|
|
22
22
|
"timeout": 5,
|
|
23
|
-
"statusMessage": "(OmO 5.1.
|
|
23
|
+
"statusMessage": "(OmO 5.1.65) Resetting Git Bash MCP Reminder"
|
|
24
24
|
}
|
|
25
25
|
]
|
|
26
26
|
}
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node \"${PLUGIN_ROOT}/components/lazycodex-executor-verify/dist/cli.js\" hook subagent-stop",
|
|
10
10
|
"timeout": 10,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.65) Verifying LazyCodex Executor Evidence"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": 1,
|
|
3
|
-
"version": "5.1.
|
|
4
|
-
"inputDigest": "sha256:
|
|
3
|
+
"version": "5.1.65",
|
|
4
|
+
"inputDigest": "sha256:e8b91a5bd311da4e3caa0a092e81a60da3730227efae0c157dce391a1804fe6a",
|
|
5
5
|
"outputs": [
|
|
6
6
|
{
|
|
7
7
|
"path": "cli.d.ts",
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
"type": "command",
|
|
9
9
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
|
|
10
10
|
"timeout": 60,
|
|
11
|
-
"statusMessage": "(OmO 5.1.
|
|
11
|
+
"statusMessage": "(OmO 5.1.65) Checking LSP Diagnostics"
|
|
12
12
|
}
|
|
13
13
|
]
|
|
14
14
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
"type": "command",
|
|
22
22
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
|
|
23
23
|
"timeout": 5,
|
|
24
|
-
"statusMessage": "(OmO 5.1.
|
|
24
|
+
"statusMessage": "(OmO 5.1.65) Resetting LSP Diagnostics Cache"
|
|
25
25
|
}
|
|
26
26
|
]
|
|
27
27
|
}
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"type": "command",
|
|
8
8
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook session-start",
|
|
9
9
|
"timeout": 10,
|
|
10
|
-
"statusMessage": "(OmO 5.1.
|
|
10
|
+
"statusMessage": "(OmO 5.1.65) Loading Project Rules"
|
|
11
11
|
}
|
|
12
12
|
]
|
|
13
13
|
}
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"type": "command",
|
|
20
20
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook user-prompt-submit",
|
|
21
21
|
"timeout": 10,
|
|
22
|
-
"statusMessage": "(OmO 5.1.
|
|
22
|
+
"statusMessage": "(OmO 5.1.65) Loading Project Rules"
|
|
23
23
|
}
|
|
24
24
|
]
|
|
25
25
|
}
|
|
@@ -32,7 +32,7 @@
|
|
|
32
32
|
"type": "command",
|
|
33
33
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-tool-use",
|
|
34
34
|
"timeout": 10,
|
|
35
|
-
"statusMessage": "(OmO 5.1.
|
|
35
|
+
"statusMessage": "(OmO 5.1.65) Matching Project Rules"
|
|
36
36
|
}
|
|
37
37
|
]
|
|
38
38
|
}
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"type": "command",
|
|
46
46
|
"command": "node \"${PLUGIN_ROOT}/dist/cli.js\" hook post-compact",
|
|
47
47
|
"timeout": 10,
|
|
48
|
-
"statusMessage": "(OmO 5.1.
|
|
48
|
+
"statusMessage": "(OmO 5.1.65) Resetting Project Rule Cache"
|
|
49
49
|
}
|
|
50
50
|
]
|
|
51
51
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@code-yeongyu/codex-ultrawork",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.65",
|
|
4
4
|
"description": "Codex plugin that injects the ultrawork orchestration directive and ships LazyCodex planning, review, QA, and gate agent roles.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"packageManager": "npm@11.12.1",
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
"type": "command",
|
|
8
8
|
"command": "node \"${PLUGIN_ROOT}/components/ulw-execute-continuation/dist/cli.js\" hook stop",
|
|
9
9
|
"timeout": 10,
|
|
10
|
-
"statusMessage": "(OmO 5.1.
|
|
10
|
+
"statusMessage": "(OmO 5.1.65) Checking Ulw-Execute Continuation"
|
|
11
11
|
}
|
|
12
12
|
]
|
|
13
13
|
}
|