oh-my-opencode 5.1.79 → 5.1.81
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/README.de.md +0 -6
- package/README.es.md +0 -6
- package/README.fr.md +0 -6
- package/README.it.md +0 -6
- package/README.ja.md +0 -6
- package/README.ko.md +0 -5
- package/README.md +0 -6
- package/README.pt-br.md +0 -6
- package/README.ru.md +0 -6
- package/README.zh-cn.md +0 -6
- package/dist/cli/index.js +790 -296
- package/dist/cli/service-auth/commands.d.ts +3 -6
- package/dist/cli/service-auth/device-flow.d.ts +9 -1
- package/dist/cli/service-auth/device-name.d.ts +3 -3
- package/dist/cli/service-auth/devices.d.ts +17 -0
- package/dist/cli/service-auth/index.d.ts +5 -3
- package/dist/cli/service-auth/keychain-helper/fake-keychain.test-support.d.ts +1 -0
- package/dist/cli/service-auth/keystore.d.ts +10 -1
- package/dist/cli/service-auth/linux-store-route.d.ts +28 -0
- package/dist/cli/service-auth/login-prelude.d.ts +10 -0
- package/dist/cli/service-auth/secret-service-lock.d.ts +1 -0
- package/dist/cli/service-auth/session.d.ts +6 -5
- package/dist/cli/service-auth/state-file-cli.fixture.d.ts +1 -0
- package/dist/cli/service-auth/state-file-store.d.ts +38 -0
- package/dist/cli-node/index.js +790 -296
- package/dist/config/schema/keyword-detector.d.ts +1 -23
- package/dist/features/builtin-commands/templates/ulw-execute.d.ts +1 -1
- package/dist/hooks/ulw-execute/parse-user-request.d.ts +1 -0
- package/dist/hooks/ulw-execute/worktree-block.d.ts +2 -0
- package/dist/index.js +1779 -1746
- package/dist/skills/browser/runtime/omowright/manifest.json +1 -1
- package/dist/skills/programming/SKILL.md +1 -0
- package/dist/skills/ulw-execute/SKILL.md +15 -5
- package/dist/tools/delegate-task/builtin-categories.d.ts +1 -0
- package/dist/tools/delegate-task/categories.d.ts +2 -0
- package/dist/tools/delegate-task/category-prompt-append.d.ts +1 -0
- package/dist/tools/delegate-task/category-resolution-result.d.ts +15 -0
- package/dist/tools/delegate-task/category-resolver.d.ts +1 -14
- package/dist/tools/delegate-task/constants.d.ts +1 -1
- package/dist/tools/delegate-task/executor.d.ts +1 -1
- package/dist/tui.js +82 -67
- package/package.json +19 -16
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/README.md +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +83 -3
- 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/lcx/skills/lcx-doctor/SKILL.md +3 -3
- 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/README.md +1 -1
- package/packages/omo-codex/plugin/components/rules/dist/cli.js +6 -0
- 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/rules/src/post-compact-budget.ts +6 -0
- package/packages/omo-codex/plugin/components/rules/test/hephaestus-model-variant.test.ts +2 -2
- package/packages/omo-codex/plugin/components/rules/test/post-compact-budget.test.ts +14 -23
- 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/README.md +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-clone-fidelity-reviewer.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-code-reviewer.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-gate-reviewer.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-qa-executor.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-worker-high.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-worker-low.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/lazycodex-worker-medium.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/metis.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/momus.toml +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/agents/plan.toml +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/ultrawork/test/codex-hook-trigger-policy.test.ts +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/model-catalog.json +14 -5
- package/packages/omo-codex/plugin/package-lock.json +12 -12
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/scripts/migrate-codex-config/catalog.mjs +14 -5
- package/packages/omo-codex/plugin/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/omo-codex/plugin/skills/lcx-doctor/SKILL.md +3 -3
- package/packages/omo-codex/plugin/skills/programming/SKILL.md +1 -0
- package/packages/omo-codex/plugin/skills/ulw-execute/SKILL.md +15 -5
- package/packages/omo-codex/plugin/test/aggregate-agents.test.mjs +10 -10
- package/packages/omo-codex/plugin/test/aggregate-model-catalog.test.mjs +7 -7
- package/packages/omo-codex/plugin/test/auto-update.test.mjs +2 -2
- package/packages/omo-codex/plugin/test/migrate-codex-config.test.mjs +44 -7
- package/packages/omo-codex/scripts/install-config-reasoning.test.mjs +3 -3
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +85 -5
- package/packages/shared-skills/skills/browser/runtime/omowright/manifest.json +1 -1
- package/packages/shared-skills/skills/programming/SKILL.md +1 -0
- package/packages/shared-skills/skills/ulw-execute/SKILL.md +15 -5
|
@@ -25,6 +25,7 @@ This skill is an index. The hard per-language rules live under `references/`. Lo
|
|
|
25
25
|
| `.ts`, `.tsx`, `.mts`, `.cts`, `.js`, `.jsx`, `.mjs`, `.cjs`, "TypeScript" / "JavaScript" | `references/typescript/README.md` + every file under `references/typescript/` that the README tells you to load on demand |
|
|
26
26
|
| `.go`, `go.mod`, `go.sum`, `.golangci.yml`, `*.proto` next to a Go module, "Go" / "Golang" | `references/go/README.md` + every file under `references/go/` that the README tells you to load on demand |
|
|
27
27
|
| any test file (`*.test.*`, `*.spec.*`, `*_test.go`, `test_*.py`, `*_test.py`, under `test/`, `tests/` or `__tests__/`), or a change that adds, reshapes, or deletes a test | the language row above PLUS `references/testing/README.md` (the authoring gate) and `references/testing/junk-classes.md` (the table the gate reviewer applies) |
|
|
28
|
+
| a rendered web surface: `.html`, `.css`, `.jsx`, `.tsx`, `.vue`, `.svelte`, `.astro`, or any task that ships a UI | the matching language row above, if any, PLUS the `frontend` skill, before the first line of UI code. With no design direction (no named brand, reference image or site, `DESIGN.md`, or existing styled UI to match), take the look from its references; never improvise one. The UI is done only after the `visual-qa` skill passes on the real rendered surface. |
|
|
28
29
|
|
|
29
30
|
3. Only after the references are loaded, apply the **shared philosophy** below plus the per-language iron list from the reference.
|
|
30
31
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: ulw-execute
|
|
3
3
|
description: "Executes a written ulw-plan work plan with Boulder state, evidence ledger, worktree discipline, and parallel subagents. Use when the user says ulw-execute or asks to run a .omo/plans plan."
|
|
4
|
-
argument-hint: "[plan-name] [--worktree <absolute-path>] [--make-pr] [--ship]"
|
|
4
|
+
argument-hint: "[plan-name] [--worktree <absolute-path>] [--make-pr] [--ship] [--light]"
|
|
5
5
|
---
|
|
6
6
|
|
|
7
7
|
## ABSOLUTE RULE: YOU ARE AN ORCHESTRATOR — NEVER THE IMPLEMENTER
|
|
@@ -41,13 +41,23 @@ Execute a work plan until every top-level checkbox is `[x]` or `[~]`. This skill
|
|
|
41
41
|
## Usage
|
|
42
42
|
|
|
43
43
|
```text
|
|
44
|
-
$ulw-execute [plan-name] [--worktree <absolute-path>] [--make-pr] [--ship]
|
|
44
|
+
$ulw-execute [plan-name] [--worktree <absolute-path>] [--make-pr] [--ship] [--light]
|
|
45
45
|
```
|
|
46
46
|
|
|
47
47
|
- `plan-name` (optional): a full or partial file stem under `.omo/plans/`.
|
|
48
48
|
- `--worktree` (optional): reuse an existing task-owned worktree for the first phase instead of creating one; every phase runs in a task-owned worktree regardless.
|
|
49
49
|
- `--make-pr` (optional): deliver each phase's worktree as a pull request — push the branch, open a reviewer-readable PR, hand off with the URL, and merge only if the user asks.
|
|
50
50
|
- `--ship` (optional): full delivery lifecycle; implies `--make-pr`. After the PR opens, stay on the job until it is MERGED: watch CI and review gates, fix failures and address feedback from the worktree (fresh QA evidence for behavior changes), merge per the repository's merge policy, then remove the worktree and sync `.omo/` state back.
|
|
51
|
+
- `--light` (optional): the light profile below. It keeps the plan and drops the per-step ceremony. Without it, every rule in this skill applies as written.
|
|
52
|
+
|
|
53
|
+
## Light profile (`--light`)
|
|
54
|
+
|
|
55
|
+
Keep: the plan, Boulder state, the goal, the todos, delegation and its parallelism, and the delivery mode. Change exactly these rules, and nothing else:
|
|
56
|
+
|
|
57
|
+
- **One worktree for the whole plan.** Create it once before the first dispatch (or use `--worktree`) and run every wave in it. Waves and lanes get no worktrees of their own, and under `--make-pr`/`--ship` the whole plan ships as one PR.
|
|
58
|
+
- **No per-checkbox gates.** A checkbox is `[x]` as soon as its worker reports done with its own tests passing. Skip Phase 4's five gates, the per-checkbox `DoneClaim`/`AdversarialVerify` loop and the adversarial-class probes.
|
|
59
|
+
- **No receipts or evidence files per step.** The ledger holds exactly two kinds of entry: one `run-start` entry with `"profile": "light"` (so a resumed session keeps the profile) and the `final-verification` entry. Workers write no evidence directories.
|
|
60
|
+
- **Verify once, at the end.** After the last checkbox, one worker runs the plan's verification commands and one real-surface QA against the plan's acceptance criteria, captured as one artifact. Final Verification Wave rows collapse into this pass. If it fails, send the failures back to workers and run the pass again. Stop after the same failure twice or after three failed passes, and report the run as unmet.
|
|
51
61
|
|
|
52
62
|
## Goal and todo discipline (MANDATORY)
|
|
53
63
|
|
|
@@ -98,7 +108,7 @@ Write `.omo/boulder.json` before implementation starts. Prefix session ids with
|
|
|
98
108
|
}
|
|
99
109
|
```
|
|
100
110
|
|
|
101
|
-
Every phase (plan wave) runs in its own task-owned worktree with its own goal: before the wave's first dispatch, record the wave's goal — its checkboxes and their acceptance criteria — as a ledger entry, then `git worktree add <repo>-wt/<plan>-<wave> <branch off the integration base>` (or verify a `--worktree` path with `git worktree list --porcelain`), store the absolute path as `worktree_path`, run every edit, command, test, and evidence capture inside it; the wave lands on the integration base once each of its checkboxes is verified or `[~]` (direct merge, or the PR under `--make-pr`/`--ship`; a `[~]` row's unverified changes do not land: a dispatched worker reverts them in the wave worktree before landing, and the `unmet` entry records the revert), and the next wave branches from that landed base. Use the bundled ultrawork directive’s Task resources and todo rules at wave/worktree creation; read those sections if absent from context.
|
|
111
|
+
Every phase (plan wave) runs in its own task-owned worktree with its own goal (under `--light`, one worktree serves every phase): before the wave's first dispatch, record the wave's goal — its checkboxes and their acceptance criteria — as a ledger entry, then `git worktree add <repo>-wt/<plan>-<wave> <branch off the integration base>` (or verify a `--worktree` path with `git worktree list --porcelain`), store the absolute path as `worktree_path`, run every edit, command, test, and evidence capture inside it; the wave lands on the integration base once each of its checkboxes is verified or `[~]` (direct merge, or the PR under `--make-pr`/`--ship`; a `[~]` row's unverified changes do not land: a dispatched worker reverts them in the wave worktree before landing, and the `unmet` entry records the revert), and the next wave branches from that landed base. Use the bundled ultrawork directive’s Task resources and todo rules at wave/worktree creation; read those sections if absent from context.
|
|
102
112
|
|
|
103
113
|
## Parallel delivery lanes (teams and worktrees)
|
|
104
114
|
|
|
@@ -107,7 +117,7 @@ Solo orchestration with parallel background workers is the default topology. Dec
|
|
|
107
117
|
- **Independent lanes -> parallel workers.** Separate files, no shared contract: one parallel spawn burst; no team.
|
|
108
118
|
- **Dependency-ordered lanes -> one `workflow` run per wave.** Sub-tasks with real ordering between them (C needs A and B finished first) and a harness with a native `workflow` tool: dispatch the wave as ONE run (one producer node per lane; add a verification node only when the wave's check is too long to run yourself); recover inside it with `retry`/`amend`/`send`; let the run's settle wake you instead of arming per-lane watchers; the next wave is a NEW run (use `amend` only to re-run the current wave after its definition changed) — never one graph for the whole plan. When the harness lists the `mass-ulw` skill, read its `SKILL.md` and `references/planning.md` IN FULL before defining any graph.
|
|
109
119
|
- **Overlapping lanes -> a team.** The lanes touch the same module or contract AND running them concurrently actually finishes sooner: stand up a team (where the harness has one) so one lane's discoveries relay through you mid-flight.
|
|
110
|
-
- **PR-mode independent lanes -> a worktree per lane.** Under `--make-pr`/`--ship
|
|
120
|
+
- **PR-mode independent lanes -> a worktree per lane.** Under `--make-pr`/`--ship` (never under `--light`), when a wave holds independent checkboxes, give each lane its own branch and task-owned worktree, delivered as its own PR.
|
|
111
121
|
|
|
112
122
|
Landing rules, regardless of topology:
|
|
113
123
|
|
|
@@ -176,7 +186,7 @@ The 9 ultraqa classes are trigger-mapped: new input parsing → malformed input;
|
|
|
176
186
|
|
|
177
187
|
## Phase 4: Verify and record evidence
|
|
178
188
|
|
|
179
|
-
|
|
189
|
+
Under `--light`, skip this phase for every checkbox and run the single end-of-plan verification from the light profile instead. Otherwise, for each checkbox, complete all five gates before marking it done:
|
|
180
190
|
|
|
181
191
|
1. Plan reread: confirm the checkbox and acceptance criteria.
|
|
182
192
|
2. Automated verification: run tests, typecheck, lint, build, or the plan-specific equivalent.
|
|
@@ -6,3 +6,4 @@ export declare const CATEGORY_CALLER_GUIDANCE: Record<string, string | undefined
|
|
|
6
6
|
export declare const CATEGORY_PROMPT_APPEND_RESOLVERS: Record<string, (model: string | undefined) => string>;
|
|
7
7
|
export declare const BUILTIN_CATEGORY_REQUIRES_MODEL: Record<string, readonly string[]>;
|
|
8
8
|
export declare function builtinCategoryGateModels(categoryName: string, requirementGateModel: string | undefined): readonly string[];
|
|
9
|
+
export declare function categoryGateServedModels(categoryName: string, availableModels: ReadonlySet<string>): Set<string> | undefined;
|
|
@@ -4,6 +4,8 @@ export interface ResolveCategoryConfigOptions {
|
|
|
4
4
|
inheritedModel?: string;
|
|
5
5
|
systemDefaultModel?: string;
|
|
6
6
|
availableModels?: Set<string>;
|
|
7
|
+
/** The user's sisyphus-junior model, which every category runs on when set. */
|
|
8
|
+
modelOverride?: string;
|
|
7
9
|
}
|
|
8
10
|
export interface ResolveCategoryConfigResult {
|
|
9
11
|
config: CategoryConfig;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function resolveCategoryPromptAppendForModel(categoryName: string, actualModel: string | undefined, staticPromptAppend: string, userPromptAppend: string | undefined): string | undefined;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import type { ModelFallbackInfo } from "../../features/task-toast-manager/types";
|
|
2
|
+
import type { FallbackEntry } from "../../shared/model-requirements";
|
|
3
|
+
import type { DelegatedModelConfig } from "./types";
|
|
4
|
+
export interface CategoryResolutionResult {
|
|
5
|
+
agentToUse: string;
|
|
6
|
+
categoryModel: DelegatedModelConfig | undefined;
|
|
7
|
+
categoryPromptAppend: string | undefined;
|
|
8
|
+
maxPromptTokens?: number;
|
|
9
|
+
modelInfo: ModelFallbackInfo | undefined;
|
|
10
|
+
actualModel: string | undefined;
|
|
11
|
+
isUnstableAgent: boolean;
|
|
12
|
+
fallbackChain?: FallbackEntry[];
|
|
13
|
+
error?: string;
|
|
14
|
+
}
|
|
15
|
+
export declare function categoryResolutionError(error: string): CategoryResolutionResult;
|
|
@@ -1,17 +1,4 @@
|
|
|
1
|
-
import type { ModelFallbackInfo } from "../../features/task-toast-manager/types";
|
|
2
1
|
import type { DelegateTaskArgs } from "./types";
|
|
3
2
|
import type { ExecutorContext } from "./executor-types";
|
|
4
|
-
import type
|
|
5
|
-
import type { DelegatedModelConfig } from "./types";
|
|
6
|
-
export interface CategoryResolutionResult {
|
|
7
|
-
agentToUse: string;
|
|
8
|
-
categoryModel: DelegatedModelConfig | undefined;
|
|
9
|
-
categoryPromptAppend: string | undefined;
|
|
10
|
-
maxPromptTokens?: number;
|
|
11
|
-
modelInfo: ModelFallbackInfo | undefined;
|
|
12
|
-
actualModel: string | undefined;
|
|
13
|
-
isUnstableAgent: boolean;
|
|
14
|
-
fallbackChain?: FallbackEntry[];
|
|
15
|
-
error?: string;
|
|
16
|
-
}
|
|
3
|
+
import { type CategoryResolutionResult } from "./category-resolution-result";
|
|
17
4
|
export declare function resolveCategoryExecution(args: DelegateTaskArgs, executorCtx: ExecutorContext, inheritedModel: string | undefined, systemDefaultModel: string | undefined): Promise<CategoryResolutionResult>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { AvailableCategory, AvailableSkill } from "../../agents/dynamic-agent-prompt-builder";
|
|
2
|
-
export { BUILTIN_CATEGORY_REQUIRES_MODEL, builtinCategoryGateModels, CATEGORY_DESCRIPTIONS, CATEGORY_PROMPT_APPENDS, CATEGORY_PROMPT_APPEND_RESOLVERS, DEFAULT_CATEGORIES, } from "./builtin-categories";
|
|
2
|
+
export { BUILTIN_CATEGORY_REQUIRES_MODEL, builtinCategoryGateModels, categoryGateServedModels, CATEGORY_DESCRIPTIONS, CATEGORY_PROMPT_APPENDS, CATEGORY_PROMPT_APPEND_RESOLVERS, DEFAULT_CATEGORIES, } from "./builtin-categories";
|
|
3
3
|
/**
|
|
4
4
|
* System prompt prepended to plan agent invocations.
|
|
5
5
|
* Instructs the plan agent to first gather context via explore/librarian agents,
|
|
@@ -7,5 +7,5 @@ export { executeUnstableAgentTask } from "./unstable-agent-task";
|
|
|
7
7
|
export { executeBackgroundTask } from "./background-task";
|
|
8
8
|
export { executeSyncTask } from "./sync-task";
|
|
9
9
|
export { resolveCategoryExecution } from "./category-resolver";
|
|
10
|
-
export type { CategoryResolutionResult } from "./category-
|
|
10
|
+
export type { CategoryResolutionResult } from "./category-resolution-result";
|
|
11
11
|
export { resolveSubagentExecution } from "./subagent-resolver";
|
package/dist/tui.js
CHANGED
|
@@ -3626,46 +3626,28 @@ var init_category_model_requirements = __esm(() => {
|
|
|
3626
3626
|
]
|
|
3627
3627
|
},
|
|
3628
3628
|
ultrabrain: {
|
|
3629
|
+
requiresAnyModel: true,
|
|
3629
3630
|
fallbackChain: [
|
|
3630
|
-
{ providers: ["openai", "chatgpt-subscription"], model: LATEST_MODEL_BY_FAMILY.gptAstra, variant: "max" },
|
|
3631
|
-
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6-astra", variant: "max" },
|
|
3632
|
-
{ providers: ["github-copilot"], model: "gpt-6-astra", variant: "max" },
|
|
3633
3631
|
{
|
|
3634
3632
|
providers: ["openai", "chatgpt-subscription", "opencode"],
|
|
3635
3633
|
model: LATEST_MODEL_BY_FAMILY.gptAstra,
|
|
3636
3634
|
variant: "max"
|
|
3637
|
-
}
|
|
3638
|
-
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-6-astra", variant: "max" },
|
|
3639
|
-
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.6-sol", variant: "max" },
|
|
3640
|
-
{ providers: ["github-copilot"], model: "gpt-5.6-sol", variant: "max" },
|
|
3641
|
-
{ providers: ["openai", "chatgpt-subscription", "opencode"], model: "gpt-5.6-sol", variant: "max" }
|
|
3635
|
+
}
|
|
3642
3636
|
]
|
|
3643
3637
|
},
|
|
3644
3638
|
"deep-low": {
|
|
3639
|
+
requiresAnyModel: true,
|
|
3645
3640
|
fallbackChain: [
|
|
3646
|
-
{ providers: ["openai", "chatgpt-subscription"], model: LATEST_MODEL_BY_FAMILY.gptSol, variant: "medium" }
|
|
3647
|
-
{ providers: ["openai", "chatgpt-subscription"], model: LATEST_MODEL_BY_FAMILY.gptSolFast, variant: "medium" },
|
|
3648
|
-
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6.1-sol", variant: "medium" },
|
|
3649
|
-
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-6.1-sol-fast", variant: "medium" },
|
|
3650
|
-
{
|
|
3651
|
-
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
3652
|
-
model: "gpt-5.6-sol",
|
|
3653
|
-
variant: "medium"
|
|
3654
|
-
},
|
|
3655
|
-
{ providers: ["openai", "chatgpt-subscription"], model: "gpt-5.6-sol-fast", variant: "medium" }
|
|
3641
|
+
{ providers: ["openai", "chatgpt-subscription"], model: LATEST_MODEL_BY_FAMILY.gptSol, variant: "medium" }
|
|
3656
3642
|
]
|
|
3657
3643
|
},
|
|
3658
3644
|
"deep-high": {
|
|
3645
|
+
requiresAnyModel: true,
|
|
3659
3646
|
fallbackChain: [
|
|
3660
3647
|
{
|
|
3661
3648
|
providers: ["openai", "chatgpt-subscription", "opencode"],
|
|
3662
3649
|
model: LATEST_MODEL_BY_FAMILY.gptAstra,
|
|
3663
3650
|
variant: "high"
|
|
3664
|
-
},
|
|
3665
|
-
{
|
|
3666
|
-
providers: ["openai", "chatgpt-subscription", "github-copilot", "opencode"],
|
|
3667
|
-
model: "gpt-6-astra",
|
|
3668
|
-
variant: "high"
|
|
3669
3651
|
}
|
|
3670
3652
|
]
|
|
3671
3653
|
},
|
|
@@ -5245,6 +5227,14 @@ var init_agent_display_names = __esm(() => {
|
|
|
5245
5227
|
};
|
|
5246
5228
|
REVERSE_DISPLAY_NAMES = Object.fromEntries(Object.entries(AGENT_DISPLAY_NAMES).map(([key, displayName]) => [displayName.toLowerCase(), key]));
|
|
5247
5229
|
});
|
|
5230
|
+
// packages/omo-opencode/src/shared/model-requirements.ts
|
|
5231
|
+
var init_model_requirements2 = __esm(() => {
|
|
5232
|
+
init_src2();
|
|
5233
|
+
});
|
|
5234
|
+
|
|
5235
|
+
// packages/omo-opencode/src/shared/provider-model-id-transform.ts
|
|
5236
|
+
var init_provider_model_id_transform = () => {};
|
|
5237
|
+
|
|
5248
5238
|
// packages/omo-opencode/src/tools/delegate-task/google-categories.ts
|
|
5249
5239
|
var VISUAL_CATEGORY_PROMPT_APPEND = `<Category_Context>
|
|
5250
5240
|
You are working on VISUAL/UI tasks.
|
|
@@ -5537,26 +5527,20 @@ You are working on tasks that don't fit specific categories but require moderate
|
|
|
5537
5527
|
</Category_Context>`, UNSPECIFIED_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits, effort is moderate, and scope stays within a few files/modules. Prefer any matching specialist category.</Selection_Gate>
|
|
5538
5528
|
<Caller_Warning>Provide explicit must-do steps, forbidden scope, and concrete success criteria.</Caller_Warning>`, UNSPECIFIED_HIGH_CATEGORY_PROMPT_APPEND = `<Category_Context>
|
|
5539
5529
|
You are working on tasks that don't fit specific categories but require substantial effort.
|
|
5540
|
-
</Category_Context>`, UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits and substantial effort spans systems/modules with broad impact. Use unspecified-low for contained moderate work.</Selection_Gate>`, DEEP_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Of the two deep lanes this is the default: the child settles its decisions from what it reads. When unsure, choose deep-low; a misrouted child returns \`ESCALATE: deep-high\` after one cheap attempt, and you re-spawn the same brief as deep-high with its findings.</Selection_Gate>`, DEEP_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here only when you can name the decision evidence cannot settle: a trade-off with no single right answer, a contract change crossing a package or process boundary, a mechanism with no in-repo pattern to copy, or correctness argued from invariants rather than observed in a test. Wide scope with easy decisions is deep-low or unspecified-high; reasoning as the deliverable is ultrabrain.</Selection_Gate>`,
|
|
5530
|
+
</Category_Context>`, UNSPECIFIED_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Use only when no specialist category fits and substantial effort spans systems/modules with broad impact. Use unspecified-low for contained moderate work.</Selection_Gate>`, DEEP_LOW_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Of the two deep lanes this is the default: the child settles its decisions from what it reads. When unsure, choose deep-low; a misrouted child returns \`ESCALATE: deep-high\` after one cheap attempt, and you re-spawn the same brief as deep-high with its findings.</Selection_Gate>`, DEEP_HIGH_CATEGORY_CALLER_GUIDANCE = `<Selection_Gate>Route here only when you can name the decision evidence cannot settle: a trade-off with no single right answer, a contract change crossing a package or process boundary, a mechanism with no in-repo pattern to copy, or correctness argued from invariants rather than observed in a test. Wide scope with easy decisions is deep-low or unspecified-high; reasoning as the deliverable is ultrabrain.</Selection_Gate>`, GPT_ASTRA_GATE_MODELS, DEEP_LOW_GATE_MODELS, OPENAI_CATEGORIES;
|
|
5541
5531
|
var init_openai_categories = __esm(() => {
|
|
5542
5532
|
init_types();
|
|
5543
5533
|
init_latest_models();
|
|
5544
|
-
|
|
5545
|
-
|
|
5546
|
-
LATEST_MODEL_BY_FAMILY.gptSolFast,
|
|
5547
|
-
"gpt-6.1-sol",
|
|
5548
|
-
"gpt-6.1-sol-fast",
|
|
5549
|
-
"gpt-5.6-sol-fast",
|
|
5550
|
-
"gpt-5.6-sol"
|
|
5551
|
-
];
|
|
5552
|
-
DEEP_HIGH_GATE_MODELS = [LATEST_MODEL_BY_FAMILY.gptAstra, "gpt-6-astra"];
|
|
5534
|
+
GPT_ASTRA_GATE_MODELS = [LATEST_MODEL_BY_FAMILY.gptAstra];
|
|
5535
|
+
DEEP_LOW_GATE_MODELS = [LATEST_MODEL_BY_FAMILY.gptSol];
|
|
5553
5536
|
OPENAI_CATEGORIES = [
|
|
5554
5537
|
{
|
|
5555
5538
|
name: "ultrabrain",
|
|
5556
5539
|
config: { model: `openai/${LATEST_MODEL_BY_FAMILY.gptAstra}`, variant: "max" },
|
|
5557
5540
|
description: "Use ONLY for genuinely hard, logic-heavy tasks. Give clear goals only, not step-by-step instructions.",
|
|
5558
5541
|
promptAppend: ULTRABRAIN_CATEGORY_PROMPT_APPEND,
|
|
5559
|
-
resolvePromptAppend: resolveUltrabrainCategoryPromptAppend
|
|
5542
|
+
resolvePromptAppend: resolveUltrabrainCategoryPromptAppend,
|
|
5543
|
+
requiresModel: GPT_ASTRA_GATE_MODELS
|
|
5560
5544
|
},
|
|
5561
5545
|
{
|
|
5562
5546
|
name: "deep-low",
|
|
@@ -5574,7 +5558,7 @@ var init_openai_categories = __esm(() => {
|
|
|
5574
5558
|
callerGuidance: DEEP_HIGH_CATEGORY_CALLER_GUIDANCE,
|
|
5575
5559
|
promptAppend: DEEP_HIGH_CATEGORY_PROMPT_APPEND,
|
|
5576
5560
|
resolvePromptAppend: resolveDeepHighCategoryPromptAppend,
|
|
5577
|
-
requiresModel:
|
|
5561
|
+
requiresModel: GPT_ASTRA_GATE_MODELS
|
|
5578
5562
|
},
|
|
5579
5563
|
{
|
|
5580
5564
|
name: "quick",
|
|
@@ -5607,6 +5591,8 @@ function buildCategoryRecord(selector) {
|
|
|
5607
5591
|
}
|
|
5608
5592
|
var BUILTIN_CATEGORIES, DEFAULT_CATEGORIES, CATEGORY_PROMPT_APPENDS, CATEGORY_DESCRIPTIONS, CATEGORY_CALLER_GUIDANCE, CATEGORY_PROMPT_APPEND_RESOLVERS, BUILTIN_CATEGORY_REQUIRES_MODEL;
|
|
5609
5593
|
var init_builtin_categories = __esm(() => {
|
|
5594
|
+
init_model_requirements2();
|
|
5595
|
+
init_provider_model_id_transform();
|
|
5610
5596
|
init_google_categories();
|
|
5611
5597
|
init_kimi_categories();
|
|
5612
5598
|
init_openai_categories();
|
|
@@ -61015,11 +61001,6 @@ var init_model_capabilities2 = __esm(() => {
|
|
|
61015
61001
|
init_model_capabilities_generated();
|
|
61016
61002
|
});
|
|
61017
61003
|
|
|
61018
|
-
// packages/omo-opencode/src/shared/model-requirements.ts
|
|
61019
|
-
var init_model_requirements2 = __esm(() => {
|
|
61020
|
-
init_src2();
|
|
61021
|
-
});
|
|
61022
|
-
|
|
61023
61004
|
// packages/omo-opencode/src/shared/agent-variant.ts
|
|
61024
61005
|
var init_agent_variant = __esm(() => {
|
|
61025
61006
|
init_agent_display_names();
|
|
@@ -70358,6 +70339,17 @@ var init_git_master = __esm(() => {
|
|
|
70358
70339
|
}).strict();
|
|
70359
70340
|
});
|
|
70360
70341
|
|
|
70342
|
+
// packages/omo-config-core/src/schema/keyword-detector.ts
|
|
70343
|
+
var KeywordTypeSchema, OmoKeywordDetectorSettingsSchema;
|
|
70344
|
+
var init_keyword_detector = __esm(() => {
|
|
70345
|
+
init_zod();
|
|
70346
|
+
KeywordTypeSchema = _enum(["ultrawork", "team", "hyperplan", "hyperplan-ultrawork"]);
|
|
70347
|
+
OmoKeywordDetectorSettingsSchema = object({
|
|
70348
|
+
enabled_expansions: array(KeywordTypeSchema).optional(),
|
|
70349
|
+
disabled_keywords: array(KeywordTypeSchema).optional()
|
|
70350
|
+
});
|
|
70351
|
+
});
|
|
70352
|
+
|
|
70361
70353
|
// packages/omo-config-core/src/schema/harness.ts
|
|
70362
70354
|
var HARNESS_IDS, OMO_CONFIG_HARNESS_IDS, OmoHarnessIdSchema, OMO_CONFIG_LEGACY_HARNESS_ALIASES, OMO_CONFIG_LEGACY_HARNESS_IDS;
|
|
70363
70355
|
var init_harness = __esm(() => {
|
|
@@ -71021,6 +71013,20 @@ var init_session_wake = __esm(() => {
|
|
|
71021
71013
|
}).strict();
|
|
71022
71014
|
});
|
|
71023
71015
|
|
|
71016
|
+
// packages/omo-config-core/src/schema/operator-alerts.ts
|
|
71017
|
+
var OmoOperatorAlertsSettingsSchema;
|
|
71018
|
+
var init_operator_alerts = __esm(() => {
|
|
71019
|
+
init_zod();
|
|
71020
|
+
OmoOperatorAlertsSettingsSchema = object({
|
|
71021
|
+
error_streak: object({
|
|
71022
|
+
threshold: number2().int().min(1).optional(),
|
|
71023
|
+
realert_minutes: number2().min(0).optional(),
|
|
71024
|
+
threads: array(string2().trim().min(1)).optional(),
|
|
71025
|
+
webhook_url_env: string2().regex(/^[A-Za-z_][A-Za-z0-9_]*$/).optional()
|
|
71026
|
+
}).strict().optional()
|
|
71027
|
+
}).strict();
|
|
71028
|
+
});
|
|
71029
|
+
|
|
71024
71030
|
// packages/omo-config-core/src/schema/config.ts
|
|
71025
71031
|
var OmoOpenCodeHarnessConfigSchema, OmoDisabledSkillsSchema, OmoExcludedModelsSchema, OmoTypedHarnessConfigSchema, OmoConfigProfileSchema, OmoConfigSchema, OmoConfigLayerSchema;
|
|
71026
71032
|
var init_config = __esm(() => {
|
|
@@ -71029,6 +71035,7 @@ var init_config = __esm(() => {
|
|
|
71029
71035
|
init_category();
|
|
71030
71036
|
init_computer();
|
|
71031
71037
|
init_git_master();
|
|
71038
|
+
init_keyword_detector();
|
|
71032
71039
|
init_memory();
|
|
71033
71040
|
init_model_catalog();
|
|
71034
71041
|
init_model_pad();
|
|
@@ -71041,12 +71048,14 @@ var init_config = __esm(() => {
|
|
|
71041
71048
|
init_format_on_mutation();
|
|
71042
71049
|
init_provenance();
|
|
71043
71050
|
init_session_wake();
|
|
71051
|
+
init_operator_alerts();
|
|
71044
71052
|
OmoOpenCodeHarnessConfigSchema = record(string2(), unknown());
|
|
71045
71053
|
OmoDisabledSkillsSchema = array(string2());
|
|
71046
71054
|
OmoExcludedModelsSchema = array(string2());
|
|
71047
71055
|
OmoTypedHarnessConfigSchema = object({
|
|
71048
71056
|
provenance: OmoProvenanceSettingsSchema.optional(),
|
|
71049
71057
|
session_wake: OmoSessionWakeSettingsSchema.optional(),
|
|
71058
|
+
operator_alerts: OmoOperatorAlertsSettingsSchema.optional(),
|
|
71050
71059
|
formatOnMutation: OmoFormatOnMutationLayerSchema.optional(),
|
|
71051
71060
|
categories: OmoCategoriesConfigSchema.optional(),
|
|
71052
71061
|
agents: OmoAgentsConfigSchema.optional(),
|
|
@@ -71063,11 +71072,13 @@ var init_config = __esm(() => {
|
|
|
71063
71072
|
side_panel: OmoSidePanelSettingsLayerSchema.optional(),
|
|
71064
71073
|
computer: OmoComputerSettingsLayerSchema.optional(),
|
|
71065
71074
|
disabled_skills: OmoDisabledSkillsSchema.optional(),
|
|
71075
|
+
keyword_detector: OmoKeywordDetectorSettingsSchema.optional(),
|
|
71066
71076
|
exclude_models: OmoExcludedModelsSchema.optional()
|
|
71067
71077
|
}).strict();
|
|
71068
71078
|
OmoConfigProfileSchema = object({
|
|
71069
71079
|
provenance: OmoProvenanceSettingsSchema.optional(),
|
|
71070
71080
|
session_wake: OmoSessionWakeSettingsSchema.optional(),
|
|
71081
|
+
operator_alerts: OmoOperatorAlertsSettingsSchema.optional(),
|
|
71071
71082
|
formatOnMutation: OmoFormatOnMutationLayerSchema.optional(),
|
|
71072
71083
|
categories: OmoCategoriesConfigSchema.optional(),
|
|
71073
71084
|
agents: OmoAgentsConfigSchema.optional(),
|
|
@@ -71084,6 +71095,7 @@ var init_config = __esm(() => {
|
|
|
71084
71095
|
side_panel: OmoSidePanelSettingsLayerSchema.optional(),
|
|
71085
71096
|
computer: OmoComputerSettingsLayerSchema.optional(),
|
|
71086
71097
|
disabled_skills: OmoDisabledSkillsSchema.optional(),
|
|
71098
|
+
keyword_detector: OmoKeywordDetectorSettingsSchema.optional(),
|
|
71087
71099
|
exclude_models: OmoExcludedModelsSchema.optional(),
|
|
71088
71100
|
"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),
|
|
71089
71101
|
"[native]": OmoTypedHarnessConfigSchema.optional(),
|
|
@@ -71093,6 +71105,7 @@ var init_config = __esm(() => {
|
|
|
71093
71105
|
OmoConfigSchema = object({
|
|
71094
71106
|
provenance: OmoProvenanceSettingsSchema.optional(),
|
|
71095
71107
|
session_wake: OmoSessionWakeSettingsSchema.optional(),
|
|
71108
|
+
operator_alerts: OmoOperatorAlertsSettingsSchema.optional(),
|
|
71096
71109
|
formatOnMutation: OmoFormatOnMutationSchema.optional(),
|
|
71097
71110
|
$schema: string2().optional(),
|
|
71098
71111
|
categories: OmoCategoriesConfigSchema.optional(),
|
|
@@ -71110,6 +71123,7 @@ var init_config = __esm(() => {
|
|
|
71110
71123
|
side_panel: OmoSidePanelSettingsSchema.optional(),
|
|
71111
71124
|
computer: OmoComputerSettingsSchema.optional(),
|
|
71112
71125
|
disabled_skills: OmoDisabledSkillsSchema.optional(),
|
|
71126
|
+
keyword_detector: OmoKeywordDetectorSettingsSchema.optional(),
|
|
71113
71127
|
exclude_models: OmoExcludedModelsSchema.optional(),
|
|
71114
71128
|
"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),
|
|
71115
71129
|
"[native]": OmoTypedHarnessConfigSchema.optional(),
|
|
@@ -71122,6 +71136,7 @@ var init_config = __esm(() => {
|
|
|
71122
71136
|
OmoConfigLayerSchema = object({
|
|
71123
71137
|
provenance: OmoProvenanceSettingsSchema.optional(),
|
|
71124
71138
|
session_wake: OmoSessionWakeSettingsSchema.optional(),
|
|
71139
|
+
operator_alerts: OmoOperatorAlertsSettingsSchema.optional(),
|
|
71125
71140
|
formatOnMutation: OmoFormatOnMutationLayerSchema.optional(),
|
|
71126
71141
|
$schema: string2().optional(),
|
|
71127
71142
|
categories: OmoCategoriesConfigSchema.optional(),
|
|
@@ -71139,6 +71154,7 @@ var init_config = __esm(() => {
|
|
|
71139
71154
|
side_panel: OmoSidePanelSettingsLayerSchema.optional(),
|
|
71140
71155
|
computer: OmoComputerSettingsLayerSchema.optional(),
|
|
71141
71156
|
disabled_skills: OmoDisabledSkillsSchema.optional(),
|
|
71157
|
+
keyword_detector: OmoKeywordDetectorSettingsSchema.optional(),
|
|
71142
71158
|
exclude_models: OmoExcludedModelsSchema.optional(),
|
|
71143
71159
|
"[opencode]": OmoOpenCodeHarnessConfigSchema.optional(),
|
|
71144
71160
|
"[native]": OmoTypedHarnessConfigSchema.optional(),
|
|
@@ -71269,6 +71285,7 @@ var init_schema = __esm(() => {
|
|
|
71269
71285
|
init_format_on_mutation();
|
|
71270
71286
|
init_git_master();
|
|
71271
71287
|
init_harness();
|
|
71288
|
+
init_keyword_detector();
|
|
71272
71289
|
init_legacy_category_names();
|
|
71273
71290
|
init_legacy_harness_names();
|
|
71274
71291
|
init_memory();
|
|
@@ -71278,6 +71295,7 @@ var init_schema = __esm(() => {
|
|
|
71278
71295
|
init_model_ref();
|
|
71279
71296
|
init_provenance();
|
|
71280
71297
|
init_session_wake();
|
|
71298
|
+
init_operator_alerts();
|
|
71281
71299
|
init_side_panel();
|
|
71282
71300
|
init_task();
|
|
71283
71301
|
init_team();
|
|
@@ -73565,14 +73583,8 @@ var init_i18n = __esm(() => {
|
|
|
73565
73583
|
});
|
|
73566
73584
|
|
|
73567
73585
|
// packages/omo-opencode/src/config/schema/keyword-detector.ts
|
|
73568
|
-
var
|
|
73569
|
-
|
|
73570
|
-
init_zod();
|
|
73571
|
-
KeywordTypeSchema = _enum(["ultrawork", "team", "hyperplan", "hyperplan-ultrawork"]);
|
|
73572
|
-
KeywordDetectorConfigSchema = object({
|
|
73573
|
-
enabled_expansions: array(KeywordTypeSchema).optional(),
|
|
73574
|
-
disabled_keywords: array(KeywordTypeSchema).optional()
|
|
73575
|
-
});
|
|
73586
|
+
var init_keyword_detector2 = __esm(() => {
|
|
73587
|
+
init_src4();
|
|
73576
73588
|
});
|
|
73577
73589
|
|
|
73578
73590
|
// packages/omo-opencode/src/config/schema/model-capabilities.ts
|
|
@@ -73838,7 +73850,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
73838
73850
|
init_experimental();
|
|
73839
73851
|
init_git_master2();
|
|
73840
73852
|
init_i18n();
|
|
73841
|
-
|
|
73853
|
+
init_keyword_detector2();
|
|
73842
73854
|
init_notification();
|
|
73843
73855
|
init_openclaw();
|
|
73844
73856
|
init_model_capabilities3();
|
|
@@ -73888,7 +73900,7 @@ var init_oh_my_opencode_config = __esm(() => {
|
|
|
73888
73900
|
i18n: I18nConfigSchema.optional(),
|
|
73889
73901
|
monitor: MonitorConfigSchema.optional(),
|
|
73890
73902
|
team_mode: TeamModeConfigSchema.optional(),
|
|
73891
|
-
keyword_detector:
|
|
73903
|
+
keyword_detector: OmoKeywordDetectorSettingsSchema.optional(),
|
|
73892
73904
|
babysitting: BabysittingConfigSchema.optional(),
|
|
73893
73905
|
git_master: GitMasterConfigSchema.default({
|
|
73894
73906
|
commit_footer: false,
|
|
@@ -73928,7 +73940,7 @@ var init_schema2 = __esm(() => {
|
|
|
73928
73940
|
init_git_master2();
|
|
73929
73941
|
init_hooks();
|
|
73930
73942
|
init_i18n();
|
|
73931
|
-
|
|
73943
|
+
init_keyword_detector2();
|
|
73932
73944
|
init_model_capabilities3();
|
|
73933
73945
|
init_notification();
|
|
73934
73946
|
init_oh_my_opencode_config();
|
|
@@ -75871,7 +75883,7 @@ init_shared();
|
|
|
75871
75883
|
// package.json
|
|
75872
75884
|
var package_default = {
|
|
75873
75885
|
name: "oh-my-opencode",
|
|
75874
|
-
version: "5.1.
|
|
75886
|
+
version: "5.1.81",
|
|
75875
75887
|
description: "The Best AI Agent Harness - Batteries-Included OpenCode Plugin with Multi-Model Orchestration, Parallel Background Agents, and Crafted LSP/AST Tools",
|
|
75876
75888
|
main: "./dist/index.js",
|
|
75877
75889
|
types: "dist/index.d.ts",
|
|
@@ -75879,6 +75891,7 @@ var package_default = {
|
|
|
75879
75891
|
workspaces: [
|
|
75880
75892
|
"packages/rules-engine",
|
|
75881
75893
|
"packages/delegate-core",
|
|
75894
|
+
"packages/thread-address-core",
|
|
75882
75895
|
"packages/ast-grep-mcp",
|
|
75883
75896
|
"packages/git-bash-mcp",
|
|
75884
75897
|
"packages/mcp-stdio-core",
|
|
@@ -76023,8 +76036,8 @@ var package_default = {
|
|
|
76023
76036
|
"test:model-capabilities": "bun test --timeout 20000 packages/model-core/src/model-capability-aliases.test.ts packages/model-core/src/model-capability-guardrails.test.ts packages/model-core/src/model-capabilities.test.ts packages/omo-opencode/src/cli/doctor/checks/model-resolution.test.ts --bail",
|
|
76024
76037
|
"check:copy": "bun script/check-copy.ts",
|
|
76025
76038
|
typecheck: "bun run check:copy && bun check --no-script --all -p tsconfig.json && bun run typecheck:script && bun run typecheck:packages && bun run typecheck:skill-scripts",
|
|
76026
|
-
"typecheck:skill-scripts": "bun check --no-script --all -p packages/shared-skills/skills/frontend/scripts/detect/tsconfig.json",
|
|
76027
|
-
"typecheck:packages": "bun check --no-script --all -p packages/rules-engine/tsconfig.json && bun check --no-script --all -p packages/delegate-core/tsconfig.json && bun check --no-script --all -p packages/mcp-stdio-core/tsconfig.json && bun check --no-script --all -p packages/mcp-client-core/tsconfig.json && bun check --no-script --all -p packages/git-bash-mcp/tsconfig.json && bun check --no-script --all -p packages/ast-grep-mcp/tsconfig.json && bun check --no-script --all -p packages/lsp-core/tsconfig.json && bun check --no-script --all -p packages/utils/tsconfig.json && bun check --no-script --all -p packages/device-service-core/tsconfig.json && bun check --no-script --all -p packages/model-core/tsconfig.json && bun check --no-script --all -p packages/omo-config-core/tsconfig.json && bun check --no-script --all -p packages/prompts-core/tsconfig.json && bun check --no-script --all -p packages/comment-checker-core/tsconfig.json && bun check --no-script --all -p packages/hashline-core/tsconfig.json && bun check --no-script --all -p packages/tmux-core/tsconfig.json && bun check --no-script --all -p packages/team-core/tsconfig.json && bun check --no-script --all -p packages/openclaw-core/tsconfig.json && bun check --no-script --all -p packages/boulder-state/tsconfig.json && bun check --no-script --all -p packages/isolation-core/tsconfig.json && bun check --no-script --all -p packages/memory-core/tsconfig.json && bun check --no-script --all -p packages/telemetry-core/tsconfig.json && bun check --no-script --all -p packages/claude-code-compat-core/tsconfig.json && bun check --no-script --all -p packages/skills-loader-core/tsconfig.json && bun check --no-script --all -p packages/agents-md-core/tsconfig.json && bun check --no-script --all -p packages/omo-codex/plugin/shared/tsconfig.json && bun check --no-script --all -p packages/omo-codex/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun check --no-script --all -p packages/senpi-task/tsconfig.json && bun check --no-script --all -p packages/omo-opencode/tsconfig.json && bun check --no-script --all -p packages/omo-native/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-protocol/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-engine/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-prelude/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-sdk/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-service/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-tool/tsconfig.json && bun check --no-script --all -p packages/omo-computer-protocol/tsconfig.json && bun check --no-script --all -p packages/omo-computer-sdk/tsconfig.json && bun check --no-script --all -p packages/omo-computer-engine/tsconfig.json && bun check --no-script --all -p packages/omo-computer-hand/tsconfig.json && bun check --no-script --all -p packages/omo-computer-carriers/tsconfig.json && bun check --no-script --all -p packages/omo-computer-tool/tsconfig.json && bun check --no-script --all -p packages/omo-computer-prelude/tsconfig.json",
|
|
76039
|
+
"typecheck:skill-scripts": "bun check --no-script --all -p packages/shared-skills/skills/frontend/scripts/detect/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/skills/omo-relay/scripts/sdk/tsconfig.json",
|
|
76040
|
+
"typecheck:packages": "bun check --no-script --all -p packages/rules-engine/tsconfig.json && bun check --no-script --all -p packages/delegate-core/tsconfig.json && bun check --no-script --all -p packages/thread-address-core/tsconfig.json && bun check --no-script --all -p packages/thread-address-core/tsconfig.test.json && bun check --no-script --all -p packages/mcp-stdio-core/tsconfig.json && bun check --no-script --all -p packages/mcp-client-core/tsconfig.json && bun check --no-script --all -p packages/git-bash-mcp/tsconfig.json && bun check --no-script --all -p packages/ast-grep-mcp/tsconfig.json && bun check --no-script --all -p packages/lsp-core/tsconfig.json && bun check --no-script --all -p packages/utils/tsconfig.json && bun check --no-script --all -p packages/device-service-core/tsconfig.json && bun check --no-script --all -p packages/model-core/tsconfig.json && bun check --no-script --all -p packages/omo-config-core/tsconfig.json && bun check --no-script --all -p packages/prompts-core/tsconfig.json && bun check --no-script --all -p packages/comment-checker-core/tsconfig.json && bun check --no-script --all -p packages/hashline-core/tsconfig.json && bun check --no-script --all -p packages/tmux-core/tsconfig.json && bun check --no-script --all -p packages/team-core/tsconfig.json && bun check --no-script --all -p packages/openclaw-core/tsconfig.json && bun check --no-script --all -p packages/boulder-state/tsconfig.json && bun check --no-script --all -p packages/isolation-core/tsconfig.json && bun check --no-script --all -p packages/memory-core/tsconfig.json && bun check --no-script --all -p packages/telemetry-core/tsconfig.json && bun check --no-script --all -p packages/claude-code-compat-core/tsconfig.json && bun check --no-script --all -p packages/skills-loader-core/tsconfig.json && bun check --no-script --all -p packages/agents-md-core/tsconfig.json && bun check --no-script --all -p packages/omo-codex/plugin/shared/tsconfig.json && bun check --no-script --all -p packages/omo-codex/tsconfig.json && bun check --no-script --all -p packages/omo-senpi/tsconfig.json && bun check --no-script --all -p packages/senpi-task/tsconfig.json && bun check --no-script --all -p packages/omo-opencode/tsconfig.json && bun check --no-script --all -p packages/omo-native/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-protocol/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-engine/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-prelude/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-sdk/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-service/tsconfig.json && bun check --no-script --all -p packages/senpi-desktop-tool/tsconfig.json && bun check --no-script --all -p packages/omo-computer-protocol/tsconfig.json && bun check --no-script --all -p packages/omo-computer-sdk/tsconfig.json && bun check --no-script --all -p packages/omo-computer-engine/tsconfig.json && bun check --no-script --all -p packages/omo-computer-hand/tsconfig.json && bun check --no-script --all -p packages/omo-computer-carriers/tsconfig.json && bun check --no-script --all -p packages/omo-computer-tool/tsconfig.json && bun check --no-script --all -p packages/omo-computer-prelude/tsconfig.json",
|
|
76028
76041
|
"typecheck:script": "bun check --no-script --all -p script/tsconfig.json",
|
|
76029
76042
|
test: "bun test --timeout 20000",
|
|
76030
76043
|
"changelog:section": "bun script/changelog-section.ts",
|
|
@@ -76040,6 +76053,7 @@ var package_default = {
|
|
|
76040
76053
|
"fmt:check": "bun fmt --no-script --check",
|
|
76041
76054
|
"lint:ratchet": "bun script/lint-ratchet.ts",
|
|
76042
76055
|
"knip:check": "knip --no-progress --no-config-hints",
|
|
76056
|
+
"qa:rpc-relay-parity": "bun script/qa/rpc-relay-parity-live.ts",
|
|
76043
76057
|
"lint:ratchet:update": "bun script/lint-ratchet.ts --update",
|
|
76044
76058
|
lint: "bun run check:copy && bun run fmt:check && oxlint packages/lsp-tools-mcp packages/lsp-daemon packages/web packages/omo-codex/plugin/components/comment-checker packages/omo-codex/plugin/components/lazycodex-executor-verify packages/omo-codex/plugin/components/lsp packages/omo-codex/plugin/components/rules packages/omo-codex/plugin/components/telemetry packages/omo-codex/plugin/components/ultrawork packages/omo-codex/plugin/components/ulw-execute-continuation packages/omo-codex/plugin/components/ulw-loop"
|
|
76045
76059
|
},
|
|
@@ -76069,7 +76083,7 @@ var package_default = {
|
|
|
76069
76083
|
},
|
|
76070
76084
|
devDependencies: {
|
|
76071
76085
|
"@clack/prompts": "^1.8.1",
|
|
76072
|
-
"@code-yeongyu/senpi": "2026.11.
|
|
76086
|
+
"@code-yeongyu/senpi": "2026.11.19-5",
|
|
76073
76087
|
"@modelcontextprotocol/sdk": "^1.30.0",
|
|
76074
76088
|
"@oh-my-opencode/agents-md-core": "workspace:*",
|
|
76075
76089
|
"@oh-my-opencode/ast-grep-mcp": "workspace:*",
|
|
@@ -76078,6 +76092,7 @@ var package_default = {
|
|
|
76078
76092
|
"@oh-my-opencode/claude-code-compat-core": "workspace:*",
|
|
76079
76093
|
"@oh-my-opencode/comment-checker-core": "workspace:*",
|
|
76080
76094
|
"@oh-my-opencode/delegate-core": "workspace:*",
|
|
76095
|
+
"@oh-my-opencode/thread-address-core": "workspace:*",
|
|
76081
76096
|
"@oh-my-opencode/git-bash-mcp": "workspace:*",
|
|
76082
76097
|
"@oh-my-opencode/hashline-core": "workspace:*",
|
|
76083
76098
|
"@oh-my-opencode/isolation-core": "workspace:*",
|
|
@@ -76142,18 +76157,18 @@ var package_default = {
|
|
|
76142
76157
|
typescript: "^7.0.2"
|
|
76143
76158
|
},
|
|
76144
76159
|
optionalDependencies: {
|
|
76145
|
-
"oh-my-opencode-darwin-arm64": "5.1.
|
|
76146
|
-
"oh-my-opencode-darwin-x64": "5.1.
|
|
76147
|
-
"oh-my-opencode-darwin-x64-baseline": "5.1.
|
|
76148
|
-
"oh-my-opencode-linux-arm64": "5.1.
|
|
76149
|
-
"oh-my-opencode-linux-arm64-musl": "5.1.
|
|
76150
|
-
"oh-my-opencode-linux-x64": "5.1.
|
|
76151
|
-
"oh-my-opencode-linux-x64-baseline": "5.1.
|
|
76152
|
-
"oh-my-opencode-linux-x64-musl": "5.1.
|
|
76153
|
-
"oh-my-opencode-linux-x64-musl-baseline": "5.1.
|
|
76154
|
-
"oh-my-opencode-windows-arm64": "5.1.
|
|
76155
|
-
"oh-my-opencode-windows-x64": "5.1.
|
|
76156
|
-
"oh-my-opencode-windows-x64-baseline": "5.1.
|
|
76160
|
+
"oh-my-opencode-darwin-arm64": "5.1.81",
|
|
76161
|
+
"oh-my-opencode-darwin-x64": "5.1.81",
|
|
76162
|
+
"oh-my-opencode-darwin-x64-baseline": "5.1.81",
|
|
76163
|
+
"oh-my-opencode-linux-arm64": "5.1.81",
|
|
76164
|
+
"oh-my-opencode-linux-arm64-musl": "5.1.81",
|
|
76165
|
+
"oh-my-opencode-linux-x64": "5.1.81",
|
|
76166
|
+
"oh-my-opencode-linux-x64-baseline": "5.1.81",
|
|
76167
|
+
"oh-my-opencode-linux-x64-musl": "5.1.81",
|
|
76168
|
+
"oh-my-opencode-linux-x64-musl-baseline": "5.1.81",
|
|
76169
|
+
"oh-my-opencode-windows-arm64": "5.1.81",
|
|
76170
|
+
"oh-my-opencode-windows-x64": "5.1.81",
|
|
76171
|
+
"oh-my-opencode-windows-x64-baseline": "5.1.81"
|
|
76157
76172
|
},
|
|
76158
76173
|
overrides: {
|
|
76159
76174
|
hono: "^4.13.8",
|