oh-my-opencode 4.19.1 → 4.19.3
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/.agents/command/publish.md +95 -28
- package/.agents/skills/publish/SKILL.md +20 -6
- package/.opencode/command/publish.md +95 -28
- package/README.ja.md +2 -2
- package/README.ko.md +2 -2
- package/README.md +2 -2
- package/README.ru.md +2 -2
- package/README.zh-cn.md +2 -2
- package/THIRD-PARTY-NOTICES.md +7 -7
- package/dist/agents/atlas/agent.d.ts +4 -2
- package/dist/agents/explore.d.ts +4 -2
- package/dist/agents/hephaestus/agent.d.ts +4 -2
- package/dist/agents/librarian.d.ts +4 -2
- package/dist/agents/metis.d.ts +4 -2
- package/dist/agents/momus.d.ts +3 -2
- package/dist/agents/multimodal-looker.d.ts +4 -2
- package/dist/agents/oracle.d.ts +4 -2
- package/dist/agents/sisyphus/claude-opus-5.d.ts +33 -0
- package/dist/agents/sisyphus/index.d.ts +2 -0
- package/dist/agents/sisyphus-agent-factory.d.ts +5 -2
- package/dist/agents/sisyphus-junior/agent.d.ts +4 -1
- package/dist/agents/sisyphus-runtime-prompt-reconciler.d.ts +1 -1
- package/dist/agents/types.d.ts +2 -2
- package/dist/cli/config-migrate.d.ts +8 -0
- package/dist/cli/doctor/checks/legacy-config-leftovers.d.ts +10 -0
- package/dist/cli/doctor/checks/model-resolution-config.d.ts +1 -1
- package/dist/cli/doctor/checks/tools-lsp.d.ts +1 -1
- package/dist/cli/doctor/framework/constants.d.ts +1 -1
- package/dist/cli/index.js +95391 -88524
- package/dist/cli-node/index.js +95504 -88637
- package/dist/config/schema/agent-names.d.ts +26 -26
- package/dist/config/schema/agent-overrides.d.ts +400 -400
- package/dist/config/schema/browser-automation.d.ts +2 -2
- package/dist/config/schema/categories.d.ts +36 -36
- package/dist/config/schema/commands.d.ts +2 -2
- package/dist/config/schema/dynamic-context-pruning.d.ts +1 -1
- package/dist/config/schema/experimental.d.ts +1 -1
- package/dist/config/schema/fallback-models.d.ts +25 -25
- package/dist/config/schema/hooks.d.ts +43 -43
- package/dist/config/schema/internal/permission.d.ts +9 -9
- package/dist/config/schema/keyword-detector.d.ts +6 -6
- package/dist/config/schema/oh-my-opencode-config.d.ts +402 -402
- package/dist/config/schema/tmux.d.ts +6 -6
- package/dist/config/validate.d.ts +2 -1
- package/dist/config-migration/deep-diff.d.ts +1 -0
- package/dist/config-migration/discovery-paths.d.ts +11 -0
- package/dist/config-migration/discovery-roots.d.ts +7 -0
- package/dist/config-migration/discovery.d.ts +4 -0
- package/dist/config-migration/index.d.ts +9 -0
- package/dist/config-migration/legacy-history.d.ts +3 -0
- package/dist/config-migration/migration-executor.d.ts +4 -0
- package/dist/config-migration/migration-plans.d.ts +14 -0
- package/dist/config-migration/record-values.d.ts +4 -0
- package/dist/config-migration/schema-url.d.ts +1 -0
- package/dist/config-migration/transform-config-jsonc.d.ts +2 -0
- package/dist/config-migration/transform-opencode.d.ts +2 -0
- package/dist/config-migration/transform-types.d.ts +24 -0
- package/dist/config-migration/types.d.ts +39 -0
- package/dist/create-hooks.d.ts +35 -35
- package/dist/features/background-agent/spawner/tmux-callback-invoker.d.ts +11 -0
- package/dist/features/builtin-commands/templates/hyperplan.d.ts +1 -1
- package/dist/features/builtin-commands/templates/start-work.d.ts +1 -1
- package/dist/features/claude-tasks/types.d.ts +4 -4
- package/dist/features/team-mode/team-runtime/shutdown-helpers.d.ts +1 -1
- package/dist/features/team-mode/team-runtime/shutdown-test-fixtures.d.ts +4 -4
- package/dist/features/team-mode/tools/lifecycle-test-fixture.d.ts +42 -42
- package/dist/features/tmux-subagent/environment-eligibility.d.ts +2 -0
- package/dist/features/tmux-subagent/index.d.ts +1 -0
- package/dist/features/tmux-subagent/tracked-session-state.d.ts +1 -0
- package/dist/features/tui-sidebar/snapshot-schema.d.ts +6 -6
- package/dist/help/schema/acp.d.ts +3 -3
- package/dist/help/schema/doctor.d.ts +4 -4
- package/dist/help/schema/status.d.ts +3 -3
- package/dist/hooks/auto-update-checker/constants.d.ts +3 -3
- package/dist/hooks/goal/types.d.ts +5 -5
- package/dist/hooks/non-interactive-env/constants.d.ts +4 -1
- package/dist/hooks/start-work/parse-user-request.d.ts +2 -0
- package/dist/hooks/start-work/worktree-block.d.ts +5 -0
- package/dist/index.js +35450 -28257
- package/dist/mcp/types.d.ts +3 -3
- package/dist/oh-my-opencode.schema.json +1 -1
- package/dist/plugin/chat-message/loop-commands.d.ts +1 -0
- package/dist/plugin/command-execute-before.d.ts +3 -3
- package/dist/plugin/hooks/create-core-hooks.d.ts +25 -25
- package/dist/plugin-config/omo-config-chain.d.ts +14 -0
- package/dist/plugin-config/unknown-key-diagnostics.d.ts +5 -0
- package/dist/plugin-config.d.ts +2 -2
- package/dist/shared/agent-display-names.d.ts +1 -1
- package/dist/shared/jsonc-parser.d.ts +1 -1
- package/dist/shared/migration.d.ts +5 -1
- package/dist/shared/opencode-config-dir-types.d.ts +0 -1
- package/dist/shared/plugin-identity.d.ts +6 -8
- package/dist/shared/project-discovery-dirs.d.ts +0 -1
- package/dist/shared/tmux/tmux-utils/environment.d.ts +1 -1
- package/dist/shared/tmux/tmux-utils.d.ts +1 -1
- package/dist/shared/typescript-native-source-parser.d.ts +7 -0
- package/dist/skills/coding-agent-sessions/SKILL.md +5 -2
- package/dist/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/dist/skills/coding-agent-sessions/references/senpi.md +15 -5
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/dist/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +19 -10
- package/dist/skills/debugging/SKILL.md +2 -1
- package/dist/skills/debugging/references/methodology/03-flaky-triage.md +47 -0
- package/dist/skills/frontend/ATTRIBUTION.md +7 -0
- package/dist/skills/frontend/SKILL.md +4 -1
- package/dist/skills/frontend/references/design/README.md +8 -0
- package/dist/skills/frontend/references/design/_INDEX.md +14 -1
- package/dist/skills/frontend/references/design/interaction-skill.md +144 -0
- package/dist/skills/programming/SKILL.md +11 -1
- package/dist/skills/programming/references/logging.md +6 -1
- package/dist/skills/programming/scripts/typescript/check-no-excuse-rules.ts +51 -17
- package/dist/skills/start-work/SKILL.md +12 -2
- package/dist/skills/ulw-plan/SKILL.md +1 -1
- package/dist/skills/ulw-plan/references/full-workflow.md +12 -1
- package/dist/skills/ulw-plan/references/intent-clear.md +1 -1
- package/dist/startup-migration.d.ts +28 -0
- package/dist/testing/create-plugin-module.d.ts +4 -0
- package/dist/tools/task/types.d.ts +10 -10
- package/dist/tui.js +31812 -26849
- package/package.json +14 -14
- package/packages/lsp-core/src/lsp/client-diagnostics-freshness.integration.test.ts +21 -5
- package/packages/lsp-core/src/lsp/fixtures/workspace-edit-server.mjs +11 -2
- package/packages/omo-codex/THIRD-PARTY-NOTICES.md +2 -2
- package/packages/omo-codex/plugin/.codex-plugin/plugin.json +1 -1
- package/packages/omo-codex/plugin/components/bootstrap/dist/cli.js +8 -4
- 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/codegraph/AGENTS.md +11 -5
- package/packages/omo-codex/plugin/components/codegraph/NOTICE +1 -1
- package/packages/omo-codex/plugin/components/codegraph/dist/cli.js +10272 -2600
- package/packages/omo-codex/plugin/components/codegraph/dist/serve.js +7341 -562
- package/packages/omo-codex/plugin/components/codegraph/package.json +2 -2
- package/packages/omo-codex/plugin/components/codegraph/src/hook-input.ts +33 -0
- package/packages/omo-codex/plugin/components/codegraph/src/hook-types.ts +36 -10
- package/packages/omo-codex/plugin/components/codegraph/src/hook.ts +170 -186
- package/packages/omo-codex/plugin/components/codegraph/src/post-tool-use-hook.ts +34 -0
- package/packages/omo-codex/plugin/components/codegraph/src/serve.ts +22 -5
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-command.ts +106 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-cooldown.ts +145 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-hook-runtime.ts +21 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-lock.ts +139 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-outcome.ts +15 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-paths.ts +32 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-project.ts +109 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker-result.ts +148 -0
- package/packages/omo-codex/plugin/components/codegraph/src/session-start-worker.ts +126 -186
- package/packages/omo-codex/plugin/components/codegraph/test/hook-exclusion.test.ts +9 -4
- package/packages/omo-codex/plugin/components/codegraph/test/hook-session-start-guard.test.ts +160 -0
- package/packages/omo-codex/plugin/components/codegraph/test/hook-store-upgrade.test.ts +12 -110
- package/packages/omo-codex/plugin/components/codegraph/test/hook.test.ts +29 -20
- package/packages/omo-codex/plugin/components/codegraph/test/mcp-bridge-fixtures.ts +3 -3
- package/packages/omo-codex/plugin/components/codegraph/test/package-runtime.test.ts +2 -2
- package/packages/omo-codex/plugin/components/codegraph/test/provisioned-node-guard.test.ts +11 -5
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-bridge.test.ts +3 -3
- package/packages/omo-codex/plugin/components/codegraph/test/serve-mcp-facade.test.ts +2 -1
- package/packages/omo-codex/plugin/components/codegraph/test/serve-provision.test.ts +50 -5
- package/packages/omo-codex/plugin/components/codegraph/test/serve-unavailable.test.ts +3 -2
- package/packages/omo-codex/plugin/components/codegraph/test/serve.test.ts +24 -13
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-node-support.test.ts +70 -13
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-project.test.ts +58 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-state.test.ts +104 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-trust-boundary.test.ts +4 -2
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-cooldown.test.ts +116 -0
- package/packages/omo-codex/plugin/components/codegraph/test/session-start-worker-flow.test.ts +114 -119
- 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/dist/cli.js +31 -14
- 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/start-work-continuation/directive.md +1 -1
- package/packages/omo-codex/plugin/components/start-work-continuation/hooks/hooks.json +2 -2
- package/packages/omo-codex/plugin/components/start-work-continuation/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/directive.md +12 -7
- 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/skills/ultrawork/SKILL.md +12 -7
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/full-workflow.md +12 -1
- package/packages/omo-codex/plugin/components/ultrawork/skills/ulw-plan/references/intent-clear.md +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/directive.md +12 -7
- package/packages/omo-codex/plugin/components/ulw-loop/hooks/hooks.json +4 -4
- package/packages/omo-codex/plugin/components/ulw-loop/package.json +1 -1
- package/packages/omo-codex/plugin/components/ulw-loop/skills/ulw-loop/SKILL.md +19 -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-codegraph-init-guidance.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/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-checking-codegraph-bootstrap.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-start-work-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-checking-start-work-continuation.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 +42 -41
- package/packages/omo-codex/plugin/package.json +1 -1
- package/packages/omo-codex/plugin/shared/src/config-loader.ts +165 -16
- package/packages/omo-codex/plugin/shared/src/config-migration.ts +162 -0
- package/packages/omo-codex/plugin/shared/test/config-loader.test.ts +196 -18
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/SKILL.md +5 -2
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/references/senpi.md +15 -5
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/packages/omo-codex/plugin/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +19 -10
- package/packages/omo-codex/plugin/skills/debugging/SKILL.md +2 -1
- package/packages/omo-codex/plugin/skills/debugging/references/methodology/03-flaky-triage.md +47 -0
- package/packages/omo-codex/plugin/skills/frontend/ATTRIBUTION.md +7 -0
- package/packages/omo-codex/plugin/skills/frontend/SKILL.md +4 -1
- package/packages/omo-codex/plugin/skills/frontend/references/design/README.md +8 -0
- package/packages/omo-codex/plugin/skills/frontend/references/design/_INDEX.md +14 -1
- package/packages/omo-codex/plugin/skills/frontend/references/design/interaction-skill.md +144 -0
- package/packages/omo-codex/plugin/skills/programming/SKILL.md +11 -1
- package/packages/omo-codex/plugin/skills/programming/references/logging.md +6 -1
- package/packages/omo-codex/plugin/skills/programming/scripts/typescript/check-no-excuse-rules.ts +51 -17
- package/packages/omo-codex/plugin/skills/start-work/SKILL.md +12 -2
- package/packages/omo-codex/plugin/skills/ultrawork/SKILL.md +12 -7
- package/packages/omo-codex/plugin/skills/ulw-loop/SKILL.md +19 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/SKILL.md +1 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/references/full-workflow.md +12 -1
- package/packages/omo-codex/plugin/skills/ulw-plan/references/intent-clear.md +1 -1
- package/packages/omo-codex/plugin/test/sync-skills-orchestration.test.mjs +22 -0
- package/packages/omo-codex/scripts/install-dist/install-local.mjs +1 -1
- package/packages/shared-skills/skills/coding-agent-sessions/SKILL.md +5 -2
- package/packages/shared-skills/skills/coding-agent-sessions/references/all-platforms.md +3 -1
- package/packages/shared-skills/skills/coding-agent-sessions/references/senpi.md +15 -5
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/pi_family.py +46 -0
- package/packages/shared-skills/skills/coding-agent-sessions/scripts/agent_sessions/scanners.py +19 -10
- package/packages/shared-skills/skills/debugging/SKILL.md +2 -1
- package/packages/shared-skills/skills/debugging/references/methodology/03-flaky-triage.md +47 -0
- package/packages/shared-skills/skills/frontend/ATTRIBUTION.md +7 -0
- package/packages/shared-skills/skills/frontend/SKILL.md +4 -1
- package/packages/shared-skills/skills/frontend/references/design/README.md +8 -0
- package/packages/shared-skills/skills/frontend/references/design/_INDEX.md +14 -1
- package/packages/shared-skills/skills/frontend/references/design/interaction-skill.md +144 -0
- package/packages/shared-skills/skills/programming/SKILL.md +11 -1
- package/packages/shared-skills/skills/programming/references/logging.md +6 -1
- package/packages/shared-skills/skills/programming/scripts/typescript/check-no-excuse-rules.ts +51 -17
- package/packages/shared-skills/skills/start-work/SKILL.md +12 -2
- package/packages/shared-skills/skills/ulw-plan/SKILL.md +1 -1
- package/packages/shared-skills/skills/ulw-plan/references/full-workflow.md +12 -1
- package/packages/shared-skills/skills/ulw-plan/references/intent-clear.md +1 -1
- package/dist/plugin-config/layered-config-loader.d.ts +0 -2
- package/dist/plugin-config/single-config-loader.d.ts +0 -4
- package/dist/shared/migrate-legacy-config-file.d.ts +0 -1
- package/dist/shared/migration/config-migration.d.ts +0 -1
|
@@ -6,22 +6,22 @@ export declare const TuiRuntimeSnapshotSchema: z.ZodObject<{
|
|
|
6
6
|
activeAgents: z.ZodArray<z.ZodObject<{
|
|
7
7
|
name: z.ZodString;
|
|
8
8
|
status: z.ZodEnum<{
|
|
9
|
-
error: "error";
|
|
10
9
|
busy: "busy";
|
|
10
|
+
error: "error";
|
|
11
|
+
idle: "idle";
|
|
11
12
|
retry: "retry";
|
|
12
13
|
running: "running";
|
|
13
|
-
idle: "idle";
|
|
14
14
|
}>;
|
|
15
15
|
}, z.core.$strip>>;
|
|
16
16
|
jobBoard: z.ZodArray<z.ZodObject<{
|
|
17
17
|
title: z.ZodString;
|
|
18
18
|
status: z.ZodEnum<{
|
|
19
|
-
error: "error";
|
|
20
|
-
running: "running";
|
|
21
|
-
completed: "completed";
|
|
22
|
-
pending: "pending";
|
|
23
19
|
cancelled: "cancelled";
|
|
20
|
+
completed: "completed";
|
|
21
|
+
error: "error";
|
|
24
22
|
interrupt: "interrupt";
|
|
23
|
+
pending: "pending";
|
|
24
|
+
running: "running";
|
|
25
25
|
}>;
|
|
26
26
|
toolCalls: z.ZodNullable<z.ZodNumber>;
|
|
27
27
|
lastTool: z.ZodNullable<z.ZodString>;
|
|
@@ -19,9 +19,9 @@ export declare const AcpConnectionSchema: z.ZodObject<{
|
|
|
19
19
|
id: z.ZodString;
|
|
20
20
|
agentId: z.ZodString;
|
|
21
21
|
state: z.ZodEnum<{
|
|
22
|
-
error: "error";
|
|
23
22
|
connected: "connected";
|
|
24
23
|
disconnected: "disconnected";
|
|
24
|
+
error: "error";
|
|
25
25
|
}>;
|
|
26
26
|
startedAt: z.ZodNumber;
|
|
27
27
|
messagesSent: z.ZodNumber;
|
|
@@ -47,9 +47,9 @@ export declare const AcpServerSchema: z.ZodObject<{
|
|
|
47
47
|
id: z.ZodString;
|
|
48
48
|
agentId: z.ZodString;
|
|
49
49
|
state: z.ZodEnum<{
|
|
50
|
-
error: "error";
|
|
51
50
|
connected: "connected";
|
|
52
51
|
disconnected: "disconnected";
|
|
52
|
+
error: "error";
|
|
53
53
|
}>;
|
|
54
54
|
startedAt: z.ZodNumber;
|
|
55
55
|
messagesSent: z.ZodNumber;
|
|
@@ -77,9 +77,9 @@ export declare const AcpResultSchema: z.ZodObject<{
|
|
|
77
77
|
id: z.ZodString;
|
|
78
78
|
agentId: z.ZodString;
|
|
79
79
|
state: z.ZodEnum<{
|
|
80
|
-
error: "error";
|
|
81
80
|
connected: "connected";
|
|
82
81
|
disconnected: "disconnected";
|
|
82
|
+
error: "error";
|
|
83
83
|
}>;
|
|
84
84
|
startedAt: z.ZodNumber;
|
|
85
85
|
messagesSent: z.ZodNumber;
|
|
@@ -16,9 +16,9 @@ export declare const DoctorIssueSchema: z.ZodObject<{
|
|
|
16
16
|
export declare const CheckResultSchema: z.ZodObject<{
|
|
17
17
|
name: z.ZodString;
|
|
18
18
|
status: z.ZodEnum<{
|
|
19
|
-
skip: "skip";
|
|
20
|
-
pass: "pass";
|
|
21
19
|
fail: "fail";
|
|
20
|
+
pass: "pass";
|
|
21
|
+
skip: "skip";
|
|
22
22
|
warn: "warn";
|
|
23
23
|
}>;
|
|
24
24
|
message: z.ZodString;
|
|
@@ -82,9 +82,9 @@ export declare const DoctorResultSchema: z.ZodObject<{
|
|
|
82
82
|
results: z.ZodArray<z.ZodObject<{
|
|
83
83
|
name: z.ZodString;
|
|
84
84
|
status: z.ZodEnum<{
|
|
85
|
-
skip: "skip";
|
|
86
|
-
pass: "pass";
|
|
87
85
|
fail: "fail";
|
|
86
|
+
pass: "pass";
|
|
87
|
+
skip: "skip";
|
|
88
88
|
warn: "warn";
|
|
89
89
|
}>;
|
|
90
90
|
message: z.ZodString;
|
|
@@ -6,8 +6,8 @@ import { z } from "zod";
|
|
|
6
6
|
export declare const SessionStatusSchema: z.ZodObject<{
|
|
7
7
|
type: z.ZodEnum<{
|
|
8
8
|
busy: "busy";
|
|
9
|
-
retry: "retry";
|
|
10
9
|
idle: "idle";
|
|
10
|
+
retry: "retry";
|
|
11
11
|
}>;
|
|
12
12
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
13
13
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -46,8 +46,8 @@ export declare const SystemHealthSchema: z.ZodObject<{
|
|
|
46
46
|
statuses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
47
47
|
type: z.ZodEnum<{
|
|
48
48
|
busy: "busy";
|
|
49
|
-
retry: "retry";
|
|
50
49
|
idle: "idle";
|
|
50
|
+
retry: "retry";
|
|
51
51
|
}>;
|
|
52
52
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
53
53
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -94,8 +94,8 @@ export declare const StatusResultSchema: z.ZodObject<{
|
|
|
94
94
|
statuses: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
95
95
|
type: z.ZodEnum<{
|
|
96
96
|
busy: "busy";
|
|
97
|
-
retry: "retry";
|
|
98
97
|
idle: "idle";
|
|
98
|
+
retry: "retry";
|
|
99
99
|
}>;
|
|
100
100
|
attempt: z.ZodOptional<z.ZodNumber>;
|
|
101
101
|
message: z.ZodOptional<z.ZodString>;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PACKAGE_NAME
|
|
1
|
+
export declare const PACKAGE_NAME = "oh-my-openagent";
|
|
2
2
|
/**
|
|
3
3
|
* All package names the canonical plugin may be published under.
|
|
4
4
|
*
|
|
@@ -8,8 +8,8 @@ export declare const PACKAGE_NAME: string;
|
|
|
8
8
|
* because the installed name depends on which package the user added to
|
|
9
9
|
* their config. Code that *writes* continues to use {@link PACKAGE_NAME}.
|
|
10
10
|
*/
|
|
11
|
-
export declare const ACCEPTED_PACKAGE_NAMES:
|
|
12
|
-
export declare const NPM_REGISTRY_URL
|
|
11
|
+
export declare const ACCEPTED_PACKAGE_NAMES: string[];
|
|
12
|
+
export declare const NPM_REGISTRY_URL = "https://registry.npmjs.org/-/package/oh-my-openagent/dist-tags";
|
|
13
13
|
export declare const NPM_FETCH_TIMEOUT = 5000;
|
|
14
14
|
export declare const CACHE_ROOT_DIR: string;
|
|
15
15
|
export declare const CACHE_DIR: string;
|
|
@@ -2,8 +2,8 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const GOAL_STATUS_VALUES: readonly ["active", "paused", "complete"];
|
|
3
3
|
export declare const GoalStatusSchema: z.ZodEnum<{
|
|
4
4
|
active: "active";
|
|
5
|
-
paused: "paused";
|
|
6
5
|
complete: "complete";
|
|
6
|
+
paused: "paused";
|
|
7
7
|
}>;
|
|
8
8
|
export type GoalStatus = z.infer<typeof GoalStatusSchema>;
|
|
9
9
|
export declare const GoalSchema: z.ZodObject<{
|
|
@@ -12,8 +12,8 @@ export declare const GoalSchema: z.ZodObject<{
|
|
|
12
12
|
objective: z.ZodString;
|
|
13
13
|
status: z.ZodEnum<{
|
|
14
14
|
active: "active";
|
|
15
|
-
paused: "paused";
|
|
16
15
|
complete: "complete";
|
|
16
|
+
paused: "paused";
|
|
17
17
|
}>;
|
|
18
18
|
tokensUsed: z.ZodNumber;
|
|
19
19
|
timeUsedSeconds: z.ZodNumber;
|
|
@@ -31,8 +31,8 @@ export declare const GoalFileSchema: z.ZodObject<{
|
|
|
31
31
|
objective: z.ZodString;
|
|
32
32
|
status: z.ZodEnum<{
|
|
33
33
|
active: "active";
|
|
34
|
-
paused: "paused";
|
|
35
34
|
complete: "complete";
|
|
35
|
+
paused: "paused";
|
|
36
36
|
}>;
|
|
37
37
|
tokensUsed: z.ZodNumber;
|
|
38
38
|
timeUsedSeconds: z.ZodNumber;
|
|
@@ -65,8 +65,8 @@ export declare const GoalToolSnapshotSchema: z.ZodObject<{
|
|
|
65
65
|
objective: z.ZodString;
|
|
66
66
|
status: z.ZodEnum<{
|
|
67
67
|
active: "active";
|
|
68
|
-
paused: "paused";
|
|
69
68
|
complete: "complete";
|
|
69
|
+
paused: "paused";
|
|
70
70
|
}>;
|
|
71
71
|
tokensUsed: z.ZodNumber;
|
|
72
72
|
timeUsedSeconds: z.ZodNumber;
|
|
@@ -80,8 +80,8 @@ export declare const GoalToolResponseSchema: z.ZodObject<{
|
|
|
80
80
|
objective: z.ZodString;
|
|
81
81
|
status: z.ZodEnum<{
|
|
82
82
|
active: "active";
|
|
83
|
-
paused: "paused";
|
|
84
83
|
complete: "complete";
|
|
84
|
+
paused: "paused";
|
|
85
85
|
}>;
|
|
86
86
|
tokensUsed: z.ZodNumber;
|
|
87
87
|
timeUsedSeconds: z.ZodNumber;
|
|
@@ -28,7 +28,10 @@ export declare const SHELL_COMMAND_PATTERNS: {
|
|
|
28
28
|
readonly banned: readonly ["vim", "nano", "vi", "emacs", "less", "more", "man", "python (REPL)", "node (REPL)", "git add -p", "git rebase -i"];
|
|
29
29
|
readonly workarounds: {
|
|
30
30
|
readonly yesPipe: "yes | ./script.sh";
|
|
31
|
-
readonly heredoc:
|
|
31
|
+
readonly heredoc: `./script.sh <<EOF
|
|
32
|
+
option1
|
|
33
|
+
option2
|
|
34
|
+
EOF`;
|
|
32
35
|
readonly expectAlternative: "Use environment variables or config files instead of expect";
|
|
33
36
|
};
|
|
34
37
|
};
|
|
@@ -1 +1,6 @@
|
|
|
1
1
|
export declare function createWorktreeActiveBlock(worktreePath: string): string;
|
|
2
|
+
export interface PrDeliveryFlags {
|
|
3
|
+
readonly makePr: boolean;
|
|
4
|
+
readonly ship: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare function createPrDeliveryBlock(flags: PrDeliveryFlags, worktreePath: string | undefined): string;
|