opencode-matrixx 2.1.0 → 2.3.0
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.md +150 -43
- package/dist/agents/bdd-contract.d.ts +7 -0
- package/dist/agents/builtin-agents/architect-agent.d.ts +1 -0
- package/dist/agents/builtin-agents/general-agents.d.ts +1 -0
- package/dist/agents/builtin-agents/{hephaestus-agent.d.ts → keymaker-agent.d.ts} +2 -0
- package/dist/agents/builtin-agents/model-resolution.d.ts +2 -1
- package/dist/agents/builtin-agents/morpheus-agent.d.ts +2 -0
- package/dist/agents/builtin-agents.d.ts +1 -1
- package/dist/agents/dynamic-agent-prompt-builder.d.ts +2 -1
- package/dist/agents/env-context.d.ts +1 -1
- package/dist/agents/index.d.ts +1 -1
- package/dist/agents/merovingian.d.ts +2 -2
- package/dist/agents/mouse/agent.d.ts +5 -2
- package/dist/agents/mouse/deepseek.d.ts +16 -0
- package/dist/agents/mouse/index.d.ts +3 -0
- package/dist/agents/mouse/mimo.d.ts +15 -0
- package/dist/agents/mouse/qwen.d.ts +16 -0
- package/dist/agents/mouse/shared.d.ts +7 -0
- package/dist/agents/types.d.ts +4 -1
- package/dist/config/index.d.ts +3 -4
- package/dist/config/presets.d.ts +4 -0
- package/dist/config/resolve-tiers.d.ts +32 -0
- package/dist/config/schema/agent-names.d.ts +9 -17
- package/dist/config/schema/agent-overrides.d.ts +133 -0
- package/dist/config/schema/assembly.d.ts +13 -0
- package/dist/config/schema/categories.d.ts +16 -1
- package/dist/config/schema/commands.d.ts +10 -0
- package/dist/config/schema/dcp.d.ts +16 -0
- package/dist/config/schema/hooks.d.ts +2 -1
- package/dist/config/schema/matrixx-config.d.ts +169 -19
- package/dist/config/schema/security.d.ts +0 -5
- package/dist/config/schema.d.ts +4 -1
- package/dist/create-hooks.d.ts +2 -0
- package/dist/features/assembly-state/index.d.ts +1 -0
- package/dist/features/assembly-state/manager.d.ts +6 -0
- package/dist/features/background-agent/error-helpers.d.ts +6 -0
- package/dist/features/background-agent/manager.d.ts +6 -8
- package/dist/features/background-agent/message-dir.d.ts +5 -0
- package/dist/features/background-agent/notification-builder.d.ts +17 -0
- package/dist/features/bdd/schema.d.ts +434 -0
- package/dist/features/bdd/types.d.ts +2 -0
- package/dist/features/builtin-commands/templates/assembly.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-backend.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-contract.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-frontend.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-pipeline.d.ts +1 -0
- package/dist/features/builtin-commands/templates/bdd-tests.d.ts +1 -0
- package/dist/features/builtin-commands/templates/dcp-profile.d.ts +1 -0
- package/dist/features/builtin-commands/templates/research.d.ts +1 -0
- package/dist/features/builtin-commands/templates/ultrawork.d.ts +1 -0
- package/dist/features/builtin-commands/types.d.ts +2 -2
- package/dist/features/builtin-skills/lazy-skill-helper.d.ts +17 -0
- package/dist/features/builtin-skills/skills/bdd-backend.d.ts +3 -0
- package/dist/features/builtin-skills/skills/bdd-contract.d.ts +3 -0
- package/dist/features/builtin-skills/skills/bdd-frontend.d.ts +3 -0
- package/dist/features/builtin-skills/skills/bdd-tests.d.ts +3 -0
- package/dist/features/builtin-skills/skills/docker-master.d.ts +2 -0
- package/dist/features/builtin-skills/skills/index.d.ts +7 -0
- package/dist/features/builtin-skills/skills/remove-ai-slops.d.ts +2 -0
- package/dist/features/builtin-skills/skills/ulw-research.d.ts +2 -0
- package/dist/features/command-loader/loader.d.ts +3 -0
- package/dist/features/hook-message-injector/injector.d.ts +1 -2
- package/dist/features/mission-state/constants.d.ts +10 -0
- package/dist/features/mission-state/index.d.ts +2 -0
- package/dist/features/mission-state/plan-storage.d.ts +48 -0
- package/dist/features/mission-state/rehydrate.d.ts +21 -0
- package/dist/features/mission-state/types.d.ts +46 -0
- package/dist/features/opencode-skill-loader/loader.d.ts +1 -3
- package/dist/features/opencode-skill-loader/skill-definition-record.d.ts +1 -1
- package/dist/features/opencode-skill-loader/types.d.ts +1 -1
- package/dist/features/skill-mcp-manager/connection-type.d.ts +2 -3
- package/dist/features/skill-mcp-manager/connection.d.ts +3 -4
- package/dist/features/skill-mcp-manager/manager.d.ts +2 -3
- package/dist/features/skill-mcp-manager/oauth-handler.d.ts +3 -3
- package/dist/features/skill-mcp-manager/types.d.ts +16 -4
- package/dist/features/tmux-subagent/index.d.ts +0 -2
- package/dist/features/ultrawork-state/index.d.ts +1 -0
- package/dist/features/ultrawork-state/manager.d.ts +6 -0
- package/dist/hooks/auto-update-checker/cache.d.ts +0 -2
- package/dist/hooks/auto-update-checker/index.d.ts +1 -1
- package/dist/hooks/env-context-injector/index.d.ts +23 -0
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/interactive-bash-session/parser.d.ts +0 -6
- package/dist/hooks/plan-persister/hook.d.ts +20 -0
- package/dist/hooks/plan-persister/index.d.ts +2 -0
- package/dist/index.js +44832 -26999
- package/dist/plugin/hooks/create-continuation-hooks.d.ts +2 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +1 -0
- package/dist/plugin/hooks/create-transform-hooks.d.ts +2 -1
- package/dist/plugin-config.d.ts +1 -1
- package/dist/plugin-handlers/agent-config-handler.d.ts +2 -0
- package/dist/plugin-handlers/plugin-components-loader.d.ts +1 -1
- package/dist/plugin-handlers/prometheus-agent-config-builder.d.ts +1 -0
- package/dist/shared/index.d.ts +2 -1
- package/dist/shared/merge-categories.d.ts +4 -0
- package/dist/shared/model-resolution-pipeline.d.ts +1 -24
- package/dist/shared/model-resolution-types.d.ts +4 -0
- package/dist/shared/model-resolver.d.ts +4 -2
- package/dist/shared/model-tiers.d.ts +31 -0
- package/dist/shared/opencode-config-dir.d.ts +1 -2
- package/dist/shared/session-directory-resolver.d.ts +0 -6
- package/dist/shared/tier-resolver.d.ts +26 -0
- package/dist/shared/tool-guards.d.ts +16 -0
- package/dist/tools/assembly/assembly-executor.d.ts +17 -0
- package/dist/tools/assembly/constants.d.ts +6 -0
- package/dist/tools/assembly/index.d.ts +2 -0
- package/dist/tools/assembly/provider-selector.d.ts +3 -0
- package/dist/tools/assembly/synthesizer.d.ts +3 -0
- package/dist/tools/assembly/tool-description.d.ts +2 -0
- package/dist/tools/assembly/tools.d.ts +10 -0
- package/dist/tools/assembly/types.d.ts +25 -0
- package/dist/tools/assembly/voter-spawner.d.ts +3 -0
- package/dist/tools/bdd-create-contract/constants.d.ts +1 -0
- package/dist/tools/bdd-create-contract/index.d.ts +3 -0
- package/dist/tools/bdd-create-contract/tools.d.ts +3 -0
- package/dist/tools/bdd-create-contract/types.d.ts +12 -0
- package/dist/tools/bdd-parse-gherkin/constants.d.ts +1 -0
- package/dist/tools/bdd-parse-gherkin/index.d.ts +3 -0
- package/dist/tools/bdd-parse-gherkin/tools.d.ts +5 -0
- package/dist/tools/bdd-parse-gherkin/types.d.ts +9 -0
- package/dist/tools/bdd-pipeline/analysis-report-sections.d.ts +10 -0
- package/dist/tools/bdd-pipeline/analysis-report.d.ts +9 -0
- package/dist/tools/bdd-pipeline/constants.d.ts +4 -0
- package/dist/tools/bdd-pipeline/feature-resolver.d.ts +5 -0
- package/dist/{features/run-continuation-state → tools/bdd-pipeline}/index.d.ts +1 -1
- package/dist/tools/bdd-pipeline/pipeline-runner.d.ts +6 -0
- package/dist/tools/bdd-pipeline/subagent-runner.d.ts +14 -0
- package/dist/tools/bdd-pipeline/tools.d.ts +5 -0
- package/dist/tools/bdd-pipeline/types.d.ts +74 -0
- package/dist/tools/bdd-validate-contract/index.d.ts +1 -0
- package/dist/tools/bdd-validate-contract/tools.d.ts +21 -0
- package/dist/tools/delegate-task/categories.d.ts +7 -0
- package/dist/tools/delegate-task/category-resolver.d.ts +6 -0
- package/dist/tools/delegate-task/complexity-constants.d.ts +24 -0
- package/dist/tools/delegate-task/complexity-scorer.d.ts +31 -0
- package/dist/tools/delegate-task/complexity-types.d.ts +10 -0
- package/dist/tools/delegate-task/executor-types.d.ts +1 -0
- package/dist/tools/delegate-task/index.d.ts +3 -0
- package/dist/tools/delegate-task/types.d.ts +8 -0
- package/dist/tools/handoff/constants.d.ts +0 -3
- package/dist/tools/index.d.ts +5 -0
- package/dist/tools/task/todo-sync.d.ts +1 -1
- package/package.json +22 -32
- package/bin/matrixx.js +0 -80
- package/bin/platform.js +0 -38
- package/bin/platform.test.ts +0 -148
- package/dist/agents/builtin-agents/environment-context.d.ts +0 -2
- package/dist/cli/cli-installer.d.ts +0 -2
- package/dist/cli/cli-program.d.ts +0 -1
- package/dist/cli/config-manager/add-plugin-to-opencode-config.d.ts +0 -2
- package/dist/cli/config-manager/add-provider-config.d.ts +0 -2
- package/dist/cli/config-manager/antigravity-provider-configuration.d.ts +0 -122
- package/dist/cli/config-manager/auth-plugins.d.ts +0 -3
- package/dist/cli/config-manager/bun-install.d.ts +0 -7
- package/dist/cli/config-manager/config-context.d.ts +0 -13
- package/dist/cli/config-manager/deep-merge-record.d.ts +0 -1
- package/dist/cli/config-manager/detect-current-config.d.ts +0 -2
- package/dist/cli/config-manager/ensure-config-directory-exists.d.ts +0 -1
- package/dist/cli/config-manager/format-error-with-suggestion.d.ts +0 -1
- package/dist/cli/config-manager/generate-matrixx-config.d.ts +0 -2
- package/dist/cli/config-manager/jsonc-provider-editor.d.ts +0 -1
- package/dist/cli/config-manager/npm-dist-tags.d.ts +0 -7
- package/dist/cli/config-manager/opencode-binary.d.ts +0 -2
- package/dist/cli/config-manager/opencode-config-format.d.ts +0 -6
- package/dist/cli/config-manager/parse-opencode-config-file.d.ts +0 -10
- package/dist/cli/config-manager/plugin-name-with-version.d.ts +0 -1
- package/dist/cli/config-manager/write-matrixx-config.d.ts +0 -2
- package/dist/cli/config-manager.d.ts +0 -14
- package/dist/cli/doctor/checks/config.d.ts +0 -2
- package/dist/cli/doctor/checks/dependencies.d.ts +0 -4
- package/dist/cli/doctor/checks/index.d.ts +0 -7
- package/dist/cli/doctor/checks/model-resolution-cache.d.ts +0 -2
- package/dist/cli/doctor/checks/model-resolution-config.d.ts +0 -2
- package/dist/cli/doctor/checks/model-resolution-details.d.ts +0 -6
- package/dist/cli/doctor/checks/model-resolution-effective-model.d.ts +0 -3
- package/dist/cli/doctor/checks/model-resolution-types.d.ts +0 -37
- package/dist/cli/doctor/checks/model-resolution-variant.d.ts +0 -5
- package/dist/cli/doctor/checks/model-resolution.d.ts +0 -6
- package/dist/cli/doctor/checks/system-binary.d.ts +0 -8
- package/dist/cli/doctor/checks/system-loaded-version.d.ts +0 -10
- package/dist/cli/doctor/checks/system-plugin.d.ts +0 -15
- package/dist/cli/doctor/checks/system.d.ts +0 -3
- package/dist/cli/doctor/checks/tools-gh.d.ts +0 -11
- package/dist/cli/doctor/checks/tools-lsp.d.ts +0 -6
- package/dist/cli/doctor/checks/tools-mcp.d.ts +0 -3
- package/dist/cli/doctor/checks/tools.d.ts +0 -3
- package/dist/cli/doctor/constants.d.ts +0 -31
- package/dist/cli/doctor/format-default.d.ts +0 -2
- package/dist/cli/doctor/format-shared.d.ts +0 -6
- package/dist/cli/doctor/format-status.d.ts +0 -2
- package/dist/cli/doctor/format-verbose.d.ts +0 -2
- package/dist/cli/doctor/formatter.d.ts +0 -3
- package/dist/cli/doctor/index.d.ts +0 -5
- package/dist/cli/doctor/runner.d.ts +0 -5
- package/dist/cli/doctor/types.d.ts +0 -96
- package/dist/cli/fallback-chain-resolution.d.ts +0 -10
- package/dist/cli/get-local-version/formatter.d.ts +0 -3
- package/dist/cli/get-local-version/get-local-version.d.ts +0 -2
- package/dist/cli/get-local-version/index.d.ts +0 -2
- package/dist/cli/get-local-version/types.d.ts +0 -13
- package/dist/cli/index.d.ts +0 -2
- package/dist/cli/index.js +0 -30691
- package/dist/cli/install-validators.d.ts +0 -31
- package/dist/cli/install.d.ts +0 -2
- package/dist/cli/mcp-oauth/index.d.ts +0 -6
- package/dist/cli/mcp-oauth/login.d.ts +0 -7
- package/dist/cli/mcp-oauth/logout.d.ts +0 -5
- package/dist/cli/mcp-oauth/status.d.ts +0 -1
- package/dist/cli/model-fallback-types.d.ts +0 -25
- package/dist/cli/model-fallback.d.ts +0 -4
- package/dist/cli/provider-availability.d.ts +0 -4
- package/dist/cli/provider-model-id-transform.d.ts +0 -1
- package/dist/cli/run/agent-resolver.d.ts +0 -5
- package/dist/cli/run/completion.d.ts +0 -2
- package/dist/cli/run/event-formatting.d.ts +0 -3
- package/dist/cli/run/event-handlers.d.ts +0 -10
- package/dist/cli/run/event-state.d.ts +0 -13
- package/dist/cli/run/event-stream-processor.d.ts +0 -3
- package/dist/cli/run/events.d.ts +0 -4
- package/dist/cli/run/index.d.ts +0 -9
- package/dist/cli/run/json-output.d.ts +0 -12
- package/dist/cli/run/on-complete-hook.d.ts +0 -7
- package/dist/cli/run/opencode-bin-path.d.ts +0 -3
- package/dist/cli/run/opencode-binary-resolver.d.ts +0 -4
- package/dist/cli/run/poll-for-completion.d.ts +0 -9
- package/dist/cli/run/runner.d.ts +0 -5
- package/dist/cli/run/server-connection.d.ts +0 -6
- package/dist/cli/run/session-resolver.d.ts +0 -6
- package/dist/cli/run/types.d.ts +0 -119
- package/dist/cli/tui-install-prompts.d.ts +0 -2
- package/dist/cli/tui-installer.d.ts +0 -2
- package/dist/cli/types.d.ts +0 -36
- package/dist/config/profiles.d.ts +0 -4
- package/dist/config/schema/claude-code.d.ts +0 -10
- package/dist/features/background-agent/background-task-notification-template.d.ts +0 -11
- package/dist/features/background-agent/opencode-client.d.ts +0 -2
- package/dist/features/background-agent/task-poller.d.ts +0 -21
- package/dist/features/claude-code-command-loader/loader.d.ts +0 -6
- package/dist/features/claude-code-mcp-loader/index.d.ts +0 -10
- package/dist/features/claude-code-mcp-loader/loader.d.ts +0 -3
- package/dist/features/claude-code-mcp-loader/transformer.d.ts +0 -2
- package/dist/features/claude-code-mcp-loader/types.d.ts +0 -39
- package/dist/features/claude-code-plugin-loader/agent-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/command-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/discovery.d.ts +0 -2
- package/dist/features/claude-code-plugin-loader/hook-loader.d.ts +0 -2
- package/dist/features/claude-code-plugin-loader/index.d.ts +0 -10
- package/dist/features/claude-code-plugin-loader/loader.d.ts +0 -20
- package/dist/features/claude-code-plugin-loader/mcp-server-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/plugin-path-resolver.d.ts +0 -1
- package/dist/features/claude-code-plugin-loader/skill-loader.d.ts +0 -3
- package/dist/features/claude-code-plugin-loader/types.d.ts +0 -187
- package/dist/features/claude-tasks/index.d.ts +0 -3
- package/dist/features/claude-tasks/session-storage.d.ts +0 -10
- package/dist/features/mcp-oauth/index.d.ts +0 -3
- package/dist/features/mcp-oauth/schema.d.ts +0 -5
- package/dist/features/run-continuation-state/constants.d.ts +0 -1
- package/dist/features/run-continuation-state/storage.d.ts +0 -6
- package/dist/features/run-continuation-state/types.d.ts +0 -13
- package/dist/features/tmux-subagent/cleanup.d.ts +0 -1
- package/dist/features/tmux-subagent/polling.d.ts +0 -1
- package/dist/hooks/session-recovery/recover-empty-content-message-sdk.d.ts +0 -13
- package/dist/hooks/task-reminder/hook.d.ts +0 -19
- package/dist/hooks/task-reminder/index.d.ts +0 -1
- package/dist/shared/claude-config-dir.d.ts +0 -1
- package/dist/tools/delegate-agent/background-agent-executor.d.ts +0 -5
- package/dist/tools/delegate-agent/message-storage-directory.d.ts +0 -1
- package/dist/tools/delegate-agent/subagent-session-creator.d.ts +0 -10
- package/dist/tools/delegate-agent/tool-context-with-metadata.d.ts +0 -10
- package/postinstall.mjs +0 -43
- /package/dist/features/{claude-code-agent-loader → agent-loader}/index.d.ts +0 -0
- /package/dist/features/{claude-code-agent-loader → agent-loader}/loader.d.ts +0 -0
- /package/dist/features/{claude-code-agent-loader → agent-loader}/types.d.ts +0 -0
- /package/dist/features/{claude-code-command-loader → command-loader}/index.d.ts +0 -0
- /package/dist/features/{claude-code-command-loader → command-loader}/types.d.ts +0 -0
- /package/dist/features/{claude-code-session-state → session-state}/index.d.ts +0 -0
- /package/dist/features/{claude-code-session-state → session-state}/state.d.ts +0 -0
- /package/dist/features/{claude-code-mcp-loader → skill-mcp-manager}/env-expander.d.ts +0 -0
- /package/dist/features/{claude-tasks → task-storage}/storage.d.ts +0 -0
- /package/dist/features/{claude-tasks → task-storage}/types.d.ts +0 -0
|
@@ -1,6 +1,20 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
export declare const TierNameSchema: z.ZodEnum<{
|
|
3
|
+
free: "free";
|
|
4
|
+
fast: "fast";
|
|
5
|
+
standard: "standard";
|
|
6
|
+
premium: "premium";
|
|
7
|
+
frontier: "frontier";
|
|
8
|
+
}>;
|
|
2
9
|
export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
3
10
|
model: z.ZodOptional<z.ZodString>;
|
|
11
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
12
|
+
free: "free";
|
|
13
|
+
fast: "fast";
|
|
14
|
+
standard: "standard";
|
|
15
|
+
premium: "premium";
|
|
16
|
+
frontier: "frontier";
|
|
17
|
+
}>>;
|
|
4
18
|
variant: z.ZodOptional<z.ZodString>;
|
|
5
19
|
category: z.ZodOptional<z.ZodString>;
|
|
6
20
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -82,6 +96,13 @@ export declare const AgentOverrideConfigSchema: z.ZodObject<{
|
|
|
82
96
|
export declare const AgentOverridesSchema: z.ZodObject<{
|
|
83
97
|
build: z.ZodOptional<z.ZodObject<{
|
|
84
98
|
model: z.ZodOptional<z.ZodString>;
|
|
99
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
100
|
+
free: "free";
|
|
101
|
+
fast: "fast";
|
|
102
|
+
standard: "standard";
|
|
103
|
+
premium: "premium";
|
|
104
|
+
frontier: "frontier";
|
|
105
|
+
}>>;
|
|
85
106
|
variant: z.ZodOptional<z.ZodString>;
|
|
86
107
|
category: z.ZodOptional<z.ZodString>;
|
|
87
108
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -162,6 +183,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
162
183
|
}, z.core.$strip>>;
|
|
163
184
|
plan: z.ZodOptional<z.ZodObject<{
|
|
164
185
|
model: z.ZodOptional<z.ZodString>;
|
|
186
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
187
|
+
free: "free";
|
|
188
|
+
fast: "fast";
|
|
189
|
+
standard: "standard";
|
|
190
|
+
premium: "premium";
|
|
191
|
+
frontier: "frontier";
|
|
192
|
+
}>>;
|
|
165
193
|
variant: z.ZodOptional<z.ZodString>;
|
|
166
194
|
category: z.ZodOptional<z.ZodString>;
|
|
167
195
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -242,6 +270,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
242
270
|
}, z.core.$strip>>;
|
|
243
271
|
morpheus: z.ZodOptional<z.ZodObject<{
|
|
244
272
|
model: z.ZodOptional<z.ZodString>;
|
|
273
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
274
|
+
free: "free";
|
|
275
|
+
fast: "fast";
|
|
276
|
+
standard: "standard";
|
|
277
|
+
premium: "premium";
|
|
278
|
+
frontier: "frontier";
|
|
279
|
+
}>>;
|
|
245
280
|
variant: z.ZodOptional<z.ZodString>;
|
|
246
281
|
category: z.ZodOptional<z.ZodString>;
|
|
247
282
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -322,6 +357,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
322
357
|
}, z.core.$strip>>;
|
|
323
358
|
keymaker: z.ZodOptional<z.ZodObject<{
|
|
324
359
|
model: z.ZodOptional<z.ZodString>;
|
|
360
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
361
|
+
free: "free";
|
|
362
|
+
fast: "fast";
|
|
363
|
+
standard: "standard";
|
|
364
|
+
premium: "premium";
|
|
365
|
+
frontier: "frontier";
|
|
366
|
+
}>>;
|
|
325
367
|
variant: z.ZodOptional<z.ZodString>;
|
|
326
368
|
category: z.ZodOptional<z.ZodString>;
|
|
327
369
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -402,6 +444,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
402
444
|
}, z.core.$strip>>;
|
|
403
445
|
mouse: z.ZodOptional<z.ZodObject<{
|
|
404
446
|
model: z.ZodOptional<z.ZodString>;
|
|
447
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
448
|
+
free: "free";
|
|
449
|
+
fast: "fast";
|
|
450
|
+
standard: "standard";
|
|
451
|
+
premium: "premium";
|
|
452
|
+
frontier: "frontier";
|
|
453
|
+
}>>;
|
|
405
454
|
variant: z.ZodOptional<z.ZodString>;
|
|
406
455
|
category: z.ZodOptional<z.ZodString>;
|
|
407
456
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -482,6 +531,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
482
531
|
}, z.core.$strip>>;
|
|
483
532
|
"OpenCode-Builder": z.ZodOptional<z.ZodObject<{
|
|
484
533
|
model: z.ZodOptional<z.ZodString>;
|
|
534
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
535
|
+
free: "free";
|
|
536
|
+
fast: "fast";
|
|
537
|
+
standard: "standard";
|
|
538
|
+
premium: "premium";
|
|
539
|
+
frontier: "frontier";
|
|
540
|
+
}>>;
|
|
485
541
|
variant: z.ZodOptional<z.ZodString>;
|
|
486
542
|
category: z.ZodOptional<z.ZodString>;
|
|
487
543
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -562,6 +618,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
562
618
|
}, z.core.$strip>>;
|
|
563
619
|
oracle: z.ZodOptional<z.ZodObject<{
|
|
564
620
|
model: z.ZodOptional<z.ZodString>;
|
|
621
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
622
|
+
free: "free";
|
|
623
|
+
fast: "fast";
|
|
624
|
+
standard: "standard";
|
|
625
|
+
premium: "premium";
|
|
626
|
+
frontier: "frontier";
|
|
627
|
+
}>>;
|
|
565
628
|
variant: z.ZodOptional<z.ZodString>;
|
|
566
629
|
category: z.ZodOptional<z.ZodString>;
|
|
567
630
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -642,6 +705,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
642
705
|
}, z.core.$strip>>;
|
|
643
706
|
seraph: z.ZodOptional<z.ZodObject<{
|
|
644
707
|
model: z.ZodOptional<z.ZodString>;
|
|
708
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
709
|
+
free: "free";
|
|
710
|
+
fast: "fast";
|
|
711
|
+
standard: "standard";
|
|
712
|
+
premium: "premium";
|
|
713
|
+
frontier: "frontier";
|
|
714
|
+
}>>;
|
|
645
715
|
variant: z.ZodOptional<z.ZodString>;
|
|
646
716
|
category: z.ZodOptional<z.ZodString>;
|
|
647
717
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -722,6 +792,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
722
792
|
}, z.core.$strip>>;
|
|
723
793
|
smith: z.ZodOptional<z.ZodObject<{
|
|
724
794
|
model: z.ZodOptional<z.ZodString>;
|
|
795
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
796
|
+
free: "free";
|
|
797
|
+
fast: "fast";
|
|
798
|
+
standard: "standard";
|
|
799
|
+
premium: "premium";
|
|
800
|
+
frontier: "frontier";
|
|
801
|
+
}>>;
|
|
725
802
|
variant: z.ZodOptional<z.ZodString>;
|
|
726
803
|
category: z.ZodOptional<z.ZodString>;
|
|
727
804
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -802,6 +879,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
802
879
|
}, z.core.$strip>>;
|
|
803
880
|
merovingian: z.ZodOptional<z.ZodObject<{
|
|
804
881
|
model: z.ZodOptional<z.ZodString>;
|
|
882
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
883
|
+
free: "free";
|
|
884
|
+
fast: "fast";
|
|
885
|
+
standard: "standard";
|
|
886
|
+
premium: "premium";
|
|
887
|
+
frontier: "frontier";
|
|
888
|
+
}>>;
|
|
805
889
|
variant: z.ZodOptional<z.ZodString>;
|
|
806
890
|
category: z.ZodOptional<z.ZodString>;
|
|
807
891
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -882,6 +966,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
882
966
|
}, z.core.$strip>>;
|
|
883
967
|
operator: z.ZodOptional<z.ZodObject<{
|
|
884
968
|
model: z.ZodOptional<z.ZodString>;
|
|
969
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
970
|
+
free: "free";
|
|
971
|
+
fast: "fast";
|
|
972
|
+
standard: "standard";
|
|
973
|
+
premium: "premium";
|
|
974
|
+
frontier: "frontier";
|
|
975
|
+
}>>;
|
|
885
976
|
variant: z.ZodOptional<z.ZodString>;
|
|
886
977
|
category: z.ZodOptional<z.ZodString>;
|
|
887
978
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -962,6 +1053,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
962
1053
|
}, z.core.$strip>>;
|
|
963
1054
|
trinity: z.ZodOptional<z.ZodObject<{
|
|
964
1055
|
model: z.ZodOptional<z.ZodString>;
|
|
1056
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1057
|
+
free: "free";
|
|
1058
|
+
fast: "fast";
|
|
1059
|
+
standard: "standard";
|
|
1060
|
+
premium: "premium";
|
|
1061
|
+
frontier: "frontier";
|
|
1062
|
+
}>>;
|
|
965
1063
|
variant: z.ZodOptional<z.ZodString>;
|
|
966
1064
|
category: z.ZodOptional<z.ZodString>;
|
|
967
1065
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1042,6 +1140,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1042
1140
|
}, z.core.$strip>>;
|
|
1043
1141
|
construct: z.ZodOptional<z.ZodObject<{
|
|
1044
1142
|
model: z.ZodOptional<z.ZodString>;
|
|
1143
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1144
|
+
free: "free";
|
|
1145
|
+
fast: "fast";
|
|
1146
|
+
standard: "standard";
|
|
1147
|
+
premium: "premium";
|
|
1148
|
+
frontier: "frontier";
|
|
1149
|
+
}>>;
|
|
1045
1150
|
variant: z.ZodOptional<z.ZodString>;
|
|
1046
1151
|
category: z.ZodOptional<z.ZodString>;
|
|
1047
1152
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1122,6 +1227,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1122
1227
|
}, z.core.$strip>>;
|
|
1123
1228
|
architect: z.ZodOptional<z.ZodObject<{
|
|
1124
1229
|
model: z.ZodOptional<z.ZodString>;
|
|
1230
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1231
|
+
free: "free";
|
|
1232
|
+
fast: "fast";
|
|
1233
|
+
standard: "standard";
|
|
1234
|
+
premium: "premium";
|
|
1235
|
+
frontier: "frontier";
|
|
1236
|
+
}>>;
|
|
1125
1237
|
variant: z.ZodOptional<z.ZodString>;
|
|
1126
1238
|
category: z.ZodOptional<z.ZodString>;
|
|
1127
1239
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1202,6 +1314,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1202
1314
|
}, z.core.$strip>>;
|
|
1203
1315
|
cipher: z.ZodOptional<z.ZodObject<{
|
|
1204
1316
|
model: z.ZodOptional<z.ZodString>;
|
|
1317
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1318
|
+
free: "free";
|
|
1319
|
+
fast: "fast";
|
|
1320
|
+
standard: "standard";
|
|
1321
|
+
premium: "premium";
|
|
1322
|
+
frontier: "frontier";
|
|
1323
|
+
}>>;
|
|
1205
1324
|
variant: z.ZodOptional<z.ZodString>;
|
|
1206
1325
|
category: z.ZodOptional<z.ZodString>;
|
|
1207
1326
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1282,6 +1401,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1282
1401
|
}, z.core.$strip>>;
|
|
1283
1402
|
sentinel: z.ZodOptional<z.ZodObject<{
|
|
1284
1403
|
model: z.ZodOptional<z.ZodString>;
|
|
1404
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1405
|
+
free: "free";
|
|
1406
|
+
fast: "fast";
|
|
1407
|
+
standard: "standard";
|
|
1408
|
+
premium: "premium";
|
|
1409
|
+
frontier: "frontier";
|
|
1410
|
+
}>>;
|
|
1285
1411
|
variant: z.ZodOptional<z.ZodString>;
|
|
1286
1412
|
category: z.ZodOptional<z.ZodString>;
|
|
1287
1413
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -1362,6 +1488,13 @@ export declare const AgentOverridesSchema: z.ZodObject<{
|
|
|
1362
1488
|
}, z.core.$strip>>;
|
|
1363
1489
|
sati: z.ZodOptional<z.ZodObject<{
|
|
1364
1490
|
model: z.ZodOptional<z.ZodString>;
|
|
1491
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
1492
|
+
free: "free";
|
|
1493
|
+
fast: "fast";
|
|
1494
|
+
standard: "standard";
|
|
1495
|
+
premium: "premium";
|
|
1496
|
+
frontier: "frontier";
|
|
1497
|
+
}>>;
|
|
1365
1498
|
variant: z.ZodOptional<z.ZodString>;
|
|
1366
1499
|
category: z.ZodOptional<z.ZodString>;
|
|
1367
1500
|
skills: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/** Assembly tool — provider model configuration for multi-model voting */
|
|
3
|
+
export declare const AssemblyConfigSchema: z.ZodObject<{
|
|
4
|
+
providers: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
5
|
+
providerID: z.ZodString;
|
|
6
|
+
modelID: z.ZodString;
|
|
7
|
+
}, z.core.$strip>>>;
|
|
8
|
+
default_voters: z.ZodOptional<z.ZodNumber>;
|
|
9
|
+
default_rounds: z.ZodOptional<z.ZodNumber>;
|
|
10
|
+
timeout_ms: z.ZodOptional<z.ZodNumber>;
|
|
11
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type AssemblyConfig = z.infer<typeof AssemblyConfigSchema>;
|
|
@@ -2,6 +2,13 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const CategoryConfigSchema: z.ZodObject<{
|
|
3
3
|
description: z.ZodOptional<z.ZodString>;
|
|
4
4
|
model: z.ZodOptional<z.ZodString>;
|
|
5
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
6
|
+
free: "free";
|
|
7
|
+
fast: "fast";
|
|
8
|
+
standard: "standard";
|
|
9
|
+
premium: "premium";
|
|
10
|
+
frontier: "frontier";
|
|
11
|
+
}>>;
|
|
5
12
|
variant: z.ZodOptional<z.ZodString>;
|
|
6
13
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
7
14
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -29,6 +36,7 @@ export declare const CategoryConfigSchema: z.ZodObject<{
|
|
|
29
36
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
30
37
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
31
38
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
39
|
+
complexity_downgrades: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
32
40
|
}, z.core.$strip>;
|
|
33
41
|
export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
34
42
|
construct: "construct";
|
|
@@ -43,6 +51,13 @@ export declare const BuiltinCategoryNameSchema: z.ZodEnum<{
|
|
|
43
51
|
export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
44
52
|
description: z.ZodOptional<z.ZodString>;
|
|
45
53
|
model: z.ZodOptional<z.ZodString>;
|
|
54
|
+
tier: z.ZodOptional<z.ZodEnum<{
|
|
55
|
+
free: "free";
|
|
56
|
+
fast: "fast";
|
|
57
|
+
standard: "standard";
|
|
58
|
+
premium: "premium";
|
|
59
|
+
frontier: "frontier";
|
|
60
|
+
}>>;
|
|
46
61
|
variant: z.ZodOptional<z.ZodString>;
|
|
47
62
|
temperature: z.ZodOptional<z.ZodNumber>;
|
|
48
63
|
top_p: z.ZodOptional<z.ZodNumber>;
|
|
@@ -70,7 +85,7 @@ export declare const CategoriesConfigSchema: z.ZodRecord<z.ZodString, z.ZodObjec
|
|
|
70
85
|
is_unstable_agent: z.ZodOptional<z.ZodBoolean>;
|
|
71
86
|
disable: z.ZodOptional<z.ZodBoolean>;
|
|
72
87
|
fallback_models: z.ZodOptional<z.ZodUnion<readonly [z.ZodString, z.ZodArray<z.ZodString>]>>;
|
|
88
|
+
complexity_downgrades: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
73
89
|
}, z.core.$strip>>;
|
|
74
90
|
export type CategoryConfig = z.infer<typeof CategoryConfigSchema>;
|
|
75
91
|
export type CategoriesConfig = z.infer<typeof CategoriesConfigSchema>;
|
|
76
|
-
export type BuiltinCategoryName = z.infer<typeof BuiltinCategoryNameSchema>;
|
|
@@ -1,5 +1,9 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
3
|
+
"bdd-contract": "bdd-contract";
|
|
4
|
+
"bdd-backend": "bdd-backend";
|
|
5
|
+
"bdd-frontend": "bdd-frontend";
|
|
6
|
+
"bdd-tests": "bdd-tests";
|
|
3
7
|
"init-deep": "init-deep";
|
|
4
8
|
"matrix-loop": "matrix-loop";
|
|
5
9
|
"ulw-loop": "ulw-loop";
|
|
@@ -9,5 +13,11 @@ export declare const BuiltinCommandNameSchema: z.ZodEnum<{
|
|
|
9
13
|
"stop-continuation": "stop-continuation";
|
|
10
14
|
profile: "profile";
|
|
11
15
|
"end-ultrawork": "end-ultrawork";
|
|
16
|
+
handoff: "handoff";
|
|
17
|
+
research: "research";
|
|
18
|
+
assembly: "assembly";
|
|
19
|
+
ultrawork: "ultrawork";
|
|
20
|
+
"bdd-pipeline": "bdd-pipeline";
|
|
21
|
+
"dcp-profile": "dcp-profile";
|
|
12
22
|
}>;
|
|
13
23
|
export type BuiltinCommandName = z.infer<typeof BuiltinCommandNameSchema>;
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
/**
|
|
3
|
+
* DCP (Dynamic Context Pruning) configuration.
|
|
4
|
+
*
|
|
5
|
+
* Controls the optional `/dcp-profile` slash command for switching between
|
|
6
|
+
* predefined DCP profile tiers (economy/balanced/performance/ultimate).
|
|
7
|
+
*
|
|
8
|
+
* DCP must be installed as a plugin: `~/.config/opencode/node_modules/@tarquinen/opencode-dcp`
|
|
9
|
+
*/
|
|
10
|
+
export declare const DcpConfigSchema: z.ZodObject<{
|
|
11
|
+
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
12
|
+
switch_script: z.ZodOptional<z.ZodString>;
|
|
13
|
+
profiles: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
14
|
+
default_profile: z.ZodOptional<z.ZodString>;
|
|
15
|
+
}, z.core.$strip>;
|
|
16
|
+
export type DcpConfig = z.infer<typeof DcpConfigSchema>;
|
|
@@ -34,9 +34,9 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
34
34
|
"edit-error-recovery": "edit-error-recovery";
|
|
35
35
|
"delegate-task-retry": "delegate-task-retry";
|
|
36
36
|
"prometheus-md-only": "prometheus-md-only";
|
|
37
|
+
"plan-persister": "plan-persister";
|
|
37
38
|
"mouse-notepad": "mouse-notepad";
|
|
38
39
|
"unstable-agent-babysitter": "unstable-agent-babysitter";
|
|
39
|
-
"task-reminder": "task-reminder";
|
|
40
40
|
"task-resume-info": "task-resume-info";
|
|
41
41
|
"stop-continuation-guard": "stop-continuation-guard";
|
|
42
42
|
"tasks-todowrite-disabler": "tasks-todowrite-disabler";
|
|
@@ -44,6 +44,7 @@ export declare const HookNameSchema: z.ZodEnum<{
|
|
|
44
44
|
"anthropic-effort": "anthropic-effort";
|
|
45
45
|
"hashline-read-enhancer": "hashline-read-enhancer";
|
|
46
46
|
"secret-leak-guard": "secret-leak-guard";
|
|
47
|
+
"env-context-injector": "env-context-injector";
|
|
47
48
|
"env-file-write-guard": "env-file-write-guard";
|
|
48
49
|
"json-error-recovery": "json-error-recovery";
|
|
49
50
|
"bash-file-read-guard": "bash-file-read-guard";
|