oh-my-opencode 4.2.3 → 4.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.ja.md +1 -0
- package/README.ko.md +1 -0
- package/README.md +3 -2
- package/README.zh-cn.md +1 -0
- package/dist/agents/atlas/default-prompt-sections.d.ts +1 -1
- package/dist/agents/builtin-agents/available-skills.d.ts +1 -1
- package/dist/agents/builtin-agents/model-resolution.d.ts +1 -1
- package/dist/agents/prometheus/plan-generation.d.ts +1 -1
- package/dist/agents/prometheus/plan-template.d.ts +1 -1
- package/dist/agents/prometheus/spec-driven-mode.d.ts +7 -0
- package/dist/cli/doctor/checks/system-binary.d.ts +1 -1
- package/dist/cli/doctor/checks/tui-plugin-config.d.ts +14 -0
- package/dist/cli/doctor/constants.d.ts +1 -0
- package/dist/cli/index.js +3203 -2368
- package/dist/cli/provider-model-id-transform.d.ts +1 -1
- package/dist/config/index.d.ts +1 -1
- package/dist/config/schema/agent-overrides.d.ts +147 -1
- package/dist/config/schema/background-task.d.ts +1 -0
- package/dist/config/schema/default-mode.d.ts +6 -0
- package/dist/config/schema/hooks.d.ts +2 -0
- package/dist/config/schema/i18n.d.ts +5 -0
- package/dist/config/schema/keyword-detector.d.ts +8 -0
- package/dist/config/schema/oh-my-opencode-config.d.ts +163 -1
- package/dist/config/schema.d.ts +2 -0
- package/dist/create-hooks.d.ts +2 -0
- package/dist/features/background-agent/fallback-retry-handler.d.ts +3 -0
- package/dist/features/background-agent/manager.d.ts +0 -1
- package/dist/features/background-agent/parent-wake-notifier.d.ts +5 -0
- package/dist/features/background-agent/session-activity.d.ts +12 -0
- package/dist/features/background-agent/session-existence.d.ts +2 -0
- package/dist/features/background-agent/session-stream-activity.d.ts +18 -0
- package/dist/features/background-agent/task-activity-refresh.d.ts +11 -0
- package/dist/features/background-agent/task-poller.d.ts +2 -0
- package/dist/features/boulder-state/constants.d.ts +1 -10
- package/dist/features/boulder-state/format-duration.d.ts +1 -1
- package/dist/features/boulder-state/storage.d.ts +1 -83
- package/dist/features/boulder-state/top-level-task.d.ts +1 -2
- package/dist/features/boulder-state/types.d.ts +1 -100
- package/dist/features/task-toast-manager/manager.d.ts +1 -1
- package/dist/features/team-mode/team-state-store/locks.d.ts +7 -4
- package/dist/features/tmux-subagent/manager.d.ts +2 -0
- package/dist/hooks/atlas/system-reminder-templates.d.ts +1 -1
- package/dist/hooks/claude-code-hooks/config-loader.d.ts +7 -0
- package/dist/hooks/claude-code-hooks/config.d.ts +4 -1
- package/dist/hooks/claude-code-hooks/types.d.ts +17 -1
- package/dist/hooks/comment-checker/cli.d.ts +2 -22
- package/dist/hooks/comment-checker/types.d.ts +1 -31
- package/dist/hooks/directory-agents-injector/finder.d.ts +2 -7
- package/dist/hooks/directory-agents-injector/injector.d.ts +1 -18
- package/dist/hooks/index.d.ts +2 -0
- package/dist/hooks/keyword-detector/analyze/default.d.ts +1 -1
- package/dist/hooks/keyword-detector/constants.d.ts +10 -5
- package/dist/hooks/keyword-detector/detector.d.ts +2 -2
- package/dist/hooks/keyword-detector/hook.d.ts +2 -1
- package/dist/hooks/keyword-detector/hyperplan/default.d.ts +5 -0
- package/dist/hooks/notepad-write-guard/index.d.ts +2 -0
- package/dist/hooks/plan-format-validator/hook.d.ts +21 -0
- package/dist/hooks/plan-format-validator/index.d.ts +1 -0
- package/dist/hooks/prometheus-md-only/constants.d.ts +8 -0
- package/dist/hooks/rules-injector/constants.d.ts +1 -7
- package/dist/hooks/rules-injector/matcher.d.ts +2 -2
- package/dist/hooks/rules-injector/parser.d.ts +2 -2
- package/dist/hooks/rules-injector/project-root-finder.d.ts +1 -1
- package/dist/hooks/rules-injector/rule-distance.d.ts +1 -1
- package/dist/hooks/rules-injector/rule-file-finder.d.ts +2 -2
- package/dist/hooks/rules-injector/rule-file-scanner.d.ts +1 -1
- package/dist/hooks/rules-injector/rule-scan-cache.d.ts +2 -2
- package/dist/hooks/rules-injector/types.d.ts +1 -1
- package/dist/hooks/session-todo-status.d.ts +1 -0
- package/dist/hooks/sisyphus-junior-notepad/constants.d.ts +1 -1
- package/dist/hooks/start-work/context-info-builder.d.ts +1 -0
- package/dist/hooks/start-work/session-plan-affinity.d.ts +7 -0
- package/dist/hooks/todo-continuation-enforcer/types.d.ts +1 -0
- package/dist/index.js +18290 -16069
- package/dist/locales/en.d.ts +18 -0
- package/dist/locales/index.d.ts +6 -0
- package/dist/locales/zh.d.ts +17 -0
- package/dist/mcp/ast-grep.d.ts +2 -0
- package/dist/mcp/cli-suffix.d.ts +1 -0
- package/dist/mcp/index.d.ts +2 -0
- package/dist/mcp/lsp.d.ts +2 -0
- package/dist/mcp/runtime-executable.d.ts +11 -0
- package/dist/oh-my-opencode.schema.json +449 -1
- package/dist/plugin/hooks/create-core-hooks.d.ts +2 -0
- package/dist/plugin/hooks/create-tool-guard-hooks.d.ts +3 -1
- package/dist/plugin/system-transform.d.ts +2 -1
- package/dist/plugin/tool-definition.d.ts +9 -0
- package/dist/plugin-handlers/agent-key-remapper.d.ts +5 -1
- package/dist/plugin-handlers/hook-config-handler.d.ts +7 -0
- package/dist/plugin-handlers/index.d.ts +1 -0
- package/dist/plugin-handlers/plugin-components-loader.d.ts +2 -3
- package/dist/shared/agent-display-names.d.ts +10 -2
- package/dist/shared/bun-spawn-shim.d.ts +3 -0
- package/dist/shared/command-executor/execute-hook-command.d.ts +2 -0
- package/dist/shared/contains-path.d.ts +1 -2
- package/dist/shared/context-limit-resolver.d.ts +2 -5
- package/dist/shared/deep-merge.d.ts +1 -13
- package/dist/shared/disabled-providers.d.ts +14 -0
- package/dist/shared/extract-semver.d.ts +1 -1
- package/dist/shared/fallback-chain-from-models.d.ts +1 -12
- package/dist/shared/file-utils.d.ts +1 -7
- package/dist/shared/frontmatter.d.ts +1 -7
- package/dist/shared/i18n.d.ts +9 -0
- package/dist/shared/index.d.ts +0 -1
- package/dist/shared/jsonc-parser.d.ts +1 -23
- package/dist/shared/model-availability.d.ts +18 -5
- package/dist/shared/model-capabilities/index.d.ts +6 -3
- package/dist/shared/model-capabilities-cache.d.ts +4 -8
- package/dist/shared/model-error-classifier.d.ts +4 -33
- package/dist/shared/model-format-normalizer.d.ts +1 -7
- package/dist/shared/model-normalization.d.ts +1 -2
- package/dist/shared/model-requirements.d.ts +2 -22
- package/dist/shared/model-resolution-pipeline.d.ts +5 -30
- package/dist/shared/model-resolution-types.d.ts +1 -36
- package/dist/shared/model-resolver.d.ts +8 -35
- package/dist/shared/model-sanitizer.d.ts +1 -3
- package/dist/shared/model-settings-compatibility.d.ts +2 -40
- package/dist/shared/model-string-parser.d.ts +1 -9
- package/dist/shared/model-suggestion-retry.d.ts +3 -7
- package/dist/shared/opencode-config-dir.d.ts +1 -0
- package/dist/shared/port-utils.d.ts +1 -9
- package/dist/shared/process-stream-reader.d.ts +3 -0
- package/dist/shared/prompt-async-gate/pending-tool-turn.d.ts +9 -0
- package/dist/shared/prompt-async-gate/queue.d.ts +8 -0
- package/dist/shared/prompt-async-gate/reservations.d.ts +9 -0
- package/dist/shared/prompt-async-gate/session-idle-dispatch.d.ts +15 -0
- package/dist/shared/prompt-async-gate/timing.d.ts +8 -0
- package/dist/shared/prompt-async-gate/types.d.ts +120 -0
- package/dist/shared/prompt-async-gate.d.ts +3 -90
- package/dist/shared/provider-model-id-transform.d.ts +1 -1
- package/dist/shared/record-type-guard.d.ts +1 -1
- package/dist/shared/replace-tool-args.d.ts +1 -13
- package/dist/shared/session-idle-settle.d.ts +2 -1
- package/dist/shared/shell-env.d.ts +7 -5
- package/dist/shared/snake-case.d.ts +1 -5
- package/dist/shared/tool-name.d.ts +1 -1
- package/dist/testing/create-plugin-module.d.ts +2 -0
- package/dist/tools/delegate-task/constants.d.ts +19 -0
- package/dist/tools/delegate-task/skill-resolver.d.ts +9 -2
- package/dist/tools/delegate-task/types.d.ts +32 -0
- package/dist/tools/glob/cli.d.ts +3 -1
- package/dist/tools/glob/constants.d.ts +1 -1
- package/dist/tools/grep/cli.d.ts +4 -2
- package/dist/tools/grep/constants.d.ts +1 -1
- package/dist/tools/hashline-edit/autocorrect-replacement-lines.d.ts +1 -6
- package/dist/tools/hashline-edit/constants.d.ts +1 -4
- package/dist/tools/hashline-edit/diff-utils.d.ts +1 -6
- package/dist/tools/hashline-edit/edit-deduplication.d.ts +1 -5
- package/dist/tools/hashline-edit/edit-operation-primitives.d.ts +1 -10
- package/dist/tools/hashline-edit/edit-operations.d.ts +2 -8
- package/dist/tools/hashline-edit/edit-ordering.d.ts +1 -4
- package/dist/tools/hashline-edit/edit-text-normalization.d.ts +1 -7
- package/dist/tools/hashline-edit/file-text-canonicalization.d.ts +2 -7
- package/dist/tools/hashline-edit/hash-computation.d.ts +2 -11
- package/dist/tools/hashline-edit/hashline-chunk-formatter.d.ts +2 -10
- package/dist/tools/hashline-edit/hashline-edit-diff.d.ts +1 -1
- package/dist/tools/hashline-edit/normalize-edits.d.ts +2 -10
- package/dist/tools/hashline-edit/types.d.ts +1 -17
- package/dist/tools/hashline-edit/validation.d.ts +2 -20
- package/dist/tools/look-at/assistant-message-extractor.d.ts +7 -0
- package/dist/tools/look-at/session-poller.d.ts +9 -1
- package/dist/tools/shared/search-process-output.d.ts +7 -0
- package/dist/tools/skill/tools.d.ts +1 -1
- package/dist/tools/skill/types.d.ts +2 -0
- package/package.json +31 -16
- package/packages/ast-grep-mcp/dist/cli.js +272 -248
- package/dist/hooks/comment-checker/apply-patch-edits.d.ts +0 -2
- package/dist/shared/known-variants.d.ts +0 -6
- package/dist/shared/model-capabilities/bundled-snapshot.d.ts +0 -2
- package/dist/shared/model-capabilities/get-model-capabilities.d.ts +0 -2
- package/dist/shared/model-capabilities/runtime-model-readers.d.ts +0 -11
- package/dist/shared/model-capabilities/supplemental-entries.d.ts +0 -2
- package/dist/shared/model-capabilities/types.d.ts +0 -94
- package/dist/shared/model-capability-aliases.d.ts +0 -21
- package/dist/shared/model-capability-guardrails.d.ts +0 -38
- package/dist/shared/model-capability-heuristics.d.ts +0 -11
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
declare const locales: {
|
|
2
|
+
readonly "toast.new_background_task": "New Background Task";
|
|
3
|
+
readonly "toast.new_task_executed": "New Task Executed";
|
|
4
|
+
readonly "toast.task_completed": "Task Completed";
|
|
5
|
+
readonly "toast.task_completion_message": "\"{{description}}\" finished in {{duration}}";
|
|
6
|
+
readonly "toast.task_completion_remaining": "Still running: {{running}} | Queued: {{queued}}";
|
|
7
|
+
readonly "toast.status_queued": "Queued";
|
|
8
|
+
readonly "toast.task_list_running": "Running ({{count}}):";
|
|
9
|
+
readonly "toast.task_list_queued": "Queued ({{count}}):";
|
|
10
|
+
readonly "toast.task_list_new": " ← NEW";
|
|
11
|
+
readonly "toast.fallback_prefix": "[FALLBACK] Model: {{model}}{{suffix}}";
|
|
12
|
+
readonly "toast.fallback_inherited": " (inherited from parent)";
|
|
13
|
+
readonly "toast.fallback_system_default": " (system default fallback)";
|
|
14
|
+
readonly "toast.fallback_runtime": " (runtime fallback)";
|
|
15
|
+
readonly "toast.concurrency_info": " [{{total}}/{{limit}}]";
|
|
16
|
+
};
|
|
17
|
+
export type TranslationKey = keyof typeof locales;
|
|
18
|
+
export default locales;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { type TranslationKey } from "./en";
|
|
2
|
+
export type { TranslationKey };
|
|
3
|
+
export type SupportedLocale = "en" | "zh";
|
|
4
|
+
export type LocaleMessages = Record<TranslationKey, string>;
|
|
5
|
+
type LocaleMap = Record<SupportedLocale, LocaleMessages>;
|
|
6
|
+
export declare const locales: LocaleMap;
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
declare const locales: {
|
|
2
|
+
"toast.new_background_task": string;
|
|
3
|
+
"toast.new_task_executed": string;
|
|
4
|
+
"toast.task_completed": string;
|
|
5
|
+
"toast.task_completion_message": string;
|
|
6
|
+
"toast.task_completion_remaining": string;
|
|
7
|
+
"toast.status_queued": string;
|
|
8
|
+
"toast.task_list_running": string;
|
|
9
|
+
"toast.task_list_queued": string;
|
|
10
|
+
"toast.task_list_new": string;
|
|
11
|
+
"toast.fallback_prefix": string;
|
|
12
|
+
"toast.fallback_inherited": string;
|
|
13
|
+
"toast.fallback_system_default": string;
|
|
14
|
+
"toast.fallback_runtime": string;
|
|
15
|
+
"toast.concurrency_info": string;
|
|
16
|
+
};
|
|
17
|
+
export default locales;
|
package/dist/mcp/ast-grep.d.ts
CHANGED
|
@@ -1,9 +1,11 @@
|
|
|
1
1
|
import type { LocalMcpConfig } from "./lsp";
|
|
2
|
+
import { type RuntimeExecutableResolver } from "./runtime-executable";
|
|
2
3
|
type AstGrepMcpConfigOptions = {
|
|
3
4
|
readonly cwd?: string;
|
|
4
5
|
readonly disabledTools?: readonly string[];
|
|
5
6
|
readonly moduleUrl?: string;
|
|
6
7
|
readonly exists?: (path: string) => boolean;
|
|
8
|
+
readonly resolveExecutable?: RuntimeExecutableResolver;
|
|
7
9
|
};
|
|
8
10
|
export declare function createAstGrepMcpConfig(options?: AstGrepMcpConfigOptions): LocalMcpConfig;
|
|
9
11
|
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare function hasCliSuffix(candidatePath: string, suffix: string): boolean;
|
package/dist/mcp/index.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { type LocalMcpConfig } from "./lsp";
|
|
2
|
+
import type { RuntimeExecutableResolver } from "./runtime-executable";
|
|
2
3
|
import type { OhMyOpenCodeConfig } from "../config/schema";
|
|
3
4
|
export { McpNameSchema, type McpName } from "./types";
|
|
4
5
|
type RemoteMcpConfig = {
|
|
@@ -11,5 +12,6 @@ type RemoteMcpConfig = {
|
|
|
11
12
|
type BuiltinMcpConfig = RemoteMcpConfig | LocalMcpConfig;
|
|
12
13
|
type BuiltinMcpOptions = {
|
|
13
14
|
readonly cwd?: string;
|
|
15
|
+
readonly resolveExecutable?: RuntimeExecutableResolver;
|
|
14
16
|
};
|
|
15
17
|
export declare function createBuiltinMcps(disabledMcps?: string[], config?: OhMyOpenCodeConfig, options?: BuiltinMcpOptions): Record<string, BuiltinMcpConfig>;
|
package/dist/mcp/lsp.d.ts
CHANGED
|
@@ -1,7 +1,9 @@
|
|
|
1
|
+
import { type RuntimeExecutableResolver } from "./runtime-executable";
|
|
1
2
|
type LspMcpConfigOptions = {
|
|
2
3
|
readonly cwd?: string;
|
|
3
4
|
readonly moduleUrl?: string;
|
|
4
5
|
readonly exists?: (path: string) => boolean;
|
|
6
|
+
readonly resolveExecutable?: RuntimeExecutableResolver;
|
|
5
7
|
};
|
|
6
8
|
export type LocalMcpConfig = {
|
|
7
9
|
type: "local";
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
export type RuntimeExecutable = {
|
|
2
|
+
readonly command: string;
|
|
3
|
+
readonly available: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type RuntimeExecutableResolver = (commandName: string) => RuntimeExecutable;
|
|
6
|
+
type RuntimeExecutableOptions = {
|
|
7
|
+
readonly which?: (commandName: string) => string | null;
|
|
8
|
+
readonly execPath?: string;
|
|
9
|
+
};
|
|
10
|
+
export declare function resolveRuntimeExecutable(commandName: string, options?: RuntimeExecutableOptions): RuntimeExecutable;
|
|
11
|
+
export {};
|
|
@@ -87,6 +87,12 @@
|
|
|
87
87
|
"type": "string"
|
|
88
88
|
}
|
|
89
89
|
},
|
|
90
|
+
"disabled_providers": {
|
|
91
|
+
"type": "array",
|
|
92
|
+
"items": {
|
|
93
|
+
"type": "string"
|
|
94
|
+
}
|
|
95
|
+
},
|
|
90
96
|
"mcp_env_allowlist": {
|
|
91
97
|
"type": "array",
|
|
92
98
|
"items": {
|
|
@@ -307,6 +313,9 @@
|
|
|
307
313
|
"type": "string",
|
|
308
314
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
309
315
|
},
|
|
316
|
+
"displayName": {
|
|
317
|
+
"type": "string"
|
|
318
|
+
},
|
|
310
319
|
"permission": {
|
|
311
320
|
"type": "object",
|
|
312
321
|
"properties": {
|
|
@@ -660,6 +669,9 @@
|
|
|
660
669
|
"type": "string",
|
|
661
670
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
662
671
|
},
|
|
672
|
+
"displayName": {
|
|
673
|
+
"type": "string"
|
|
674
|
+
},
|
|
663
675
|
"permission": {
|
|
664
676
|
"type": "object",
|
|
665
677
|
"properties": {
|
|
@@ -1013,6 +1025,9 @@
|
|
|
1013
1025
|
"type": "string",
|
|
1014
1026
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
1015
1027
|
},
|
|
1028
|
+
"displayName": {
|
|
1029
|
+
"type": "string"
|
|
1030
|
+
},
|
|
1016
1031
|
"permission": {
|
|
1017
1032
|
"type": "object",
|
|
1018
1033
|
"properties": {
|
|
@@ -1366,6 +1381,9 @@
|
|
|
1366
1381
|
"type": "string",
|
|
1367
1382
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
1368
1383
|
},
|
|
1384
|
+
"displayName": {
|
|
1385
|
+
"type": "string"
|
|
1386
|
+
},
|
|
1369
1387
|
"permission": {
|
|
1370
1388
|
"type": "object",
|
|
1371
1389
|
"properties": {
|
|
@@ -1722,6 +1740,9 @@
|
|
|
1722
1740
|
"type": "string",
|
|
1723
1741
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
1724
1742
|
},
|
|
1743
|
+
"displayName": {
|
|
1744
|
+
"type": "string"
|
|
1745
|
+
},
|
|
1725
1746
|
"permission": {
|
|
1726
1747
|
"type": "object",
|
|
1727
1748
|
"properties": {
|
|
@@ -2075,6 +2096,9 @@
|
|
|
2075
2096
|
"type": "string",
|
|
2076
2097
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
2077
2098
|
},
|
|
2099
|
+
"displayName": {
|
|
2100
|
+
"type": "string"
|
|
2101
|
+
},
|
|
2078
2102
|
"permission": {
|
|
2079
2103
|
"type": "object",
|
|
2080
2104
|
"properties": {
|
|
@@ -2428,6 +2452,9 @@
|
|
|
2428
2452
|
"type": "string",
|
|
2429
2453
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
2430
2454
|
},
|
|
2455
|
+
"displayName": {
|
|
2456
|
+
"type": "string"
|
|
2457
|
+
},
|
|
2431
2458
|
"permission": {
|
|
2432
2459
|
"type": "object",
|
|
2433
2460
|
"properties": {
|
|
@@ -2781,6 +2808,9 @@
|
|
|
2781
2808
|
"type": "string",
|
|
2782
2809
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
2783
2810
|
},
|
|
2811
|
+
"displayName": {
|
|
2812
|
+
"type": "string"
|
|
2813
|
+
},
|
|
2784
2814
|
"permission": {
|
|
2785
2815
|
"type": "object",
|
|
2786
2816
|
"properties": {
|
|
@@ -3134,6 +3164,9 @@
|
|
|
3134
3164
|
"type": "string",
|
|
3135
3165
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
3136
3166
|
},
|
|
3167
|
+
"displayName": {
|
|
3168
|
+
"type": "string"
|
|
3169
|
+
},
|
|
3137
3170
|
"permission": {
|
|
3138
3171
|
"type": "object",
|
|
3139
3172
|
"properties": {
|
|
@@ -3487,6 +3520,9 @@
|
|
|
3487
3520
|
"type": "string",
|
|
3488
3521
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
3489
3522
|
},
|
|
3523
|
+
"displayName": {
|
|
3524
|
+
"type": "string"
|
|
3525
|
+
},
|
|
3490
3526
|
"permission": {
|
|
3491
3527
|
"type": "object",
|
|
3492
3528
|
"properties": {
|
|
@@ -3840,6 +3876,9 @@
|
|
|
3840
3876
|
"type": "string",
|
|
3841
3877
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
3842
3878
|
},
|
|
3879
|
+
"displayName": {
|
|
3880
|
+
"type": "string"
|
|
3881
|
+
},
|
|
3843
3882
|
"permission": {
|
|
3844
3883
|
"type": "object",
|
|
3845
3884
|
"properties": {
|
|
@@ -4193,6 +4232,9 @@
|
|
|
4193
4232
|
"type": "string",
|
|
4194
4233
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
4195
4234
|
},
|
|
4235
|
+
"displayName": {
|
|
4236
|
+
"type": "string"
|
|
4237
|
+
},
|
|
4196
4238
|
"permission": {
|
|
4197
4239
|
"type": "object",
|
|
4198
4240
|
"properties": {
|
|
@@ -4546,6 +4588,9 @@
|
|
|
4546
4588
|
"type": "string",
|
|
4547
4589
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
4548
4590
|
},
|
|
4591
|
+
"displayName": {
|
|
4592
|
+
"type": "string"
|
|
4593
|
+
},
|
|
4549
4594
|
"permission": {
|
|
4550
4595
|
"type": "object",
|
|
4551
4596
|
"properties": {
|
|
@@ -4899,6 +4944,9 @@
|
|
|
4899
4944
|
"type": "string",
|
|
4900
4945
|
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
4901
4946
|
},
|
|
4947
|
+
"displayName": {
|
|
4948
|
+
"type": "string"
|
|
4949
|
+
},
|
|
4902
4950
|
"permission": {
|
|
4903
4951
|
"type": "object",
|
|
4904
4952
|
"properties": {
|
|
@@ -5048,7 +5096,362 @@
|
|
|
5048
5096
|
"additionalProperties": false
|
|
5049
5097
|
}
|
|
5050
5098
|
},
|
|
5051
|
-
"additionalProperties":
|
|
5099
|
+
"additionalProperties": {
|
|
5100
|
+
"type": "object",
|
|
5101
|
+
"properties": {
|
|
5102
|
+
"model": {
|
|
5103
|
+
"type": "string"
|
|
5104
|
+
},
|
|
5105
|
+
"fallback_models": {
|
|
5106
|
+
"anyOf": [
|
|
5107
|
+
{
|
|
5108
|
+
"type": "string"
|
|
5109
|
+
},
|
|
5110
|
+
{
|
|
5111
|
+
"type": "array",
|
|
5112
|
+
"items": {
|
|
5113
|
+
"type": "string"
|
|
5114
|
+
}
|
|
5115
|
+
},
|
|
5116
|
+
{
|
|
5117
|
+
"type": "array",
|
|
5118
|
+
"items": {
|
|
5119
|
+
"type": "object",
|
|
5120
|
+
"properties": {
|
|
5121
|
+
"model": {
|
|
5122
|
+
"type": "string"
|
|
5123
|
+
},
|
|
5124
|
+
"variant": {
|
|
5125
|
+
"type": "string"
|
|
5126
|
+
},
|
|
5127
|
+
"reasoningEffort": {
|
|
5128
|
+
"type": "string",
|
|
5129
|
+
"enum": [
|
|
5130
|
+
"none",
|
|
5131
|
+
"minimal",
|
|
5132
|
+
"low",
|
|
5133
|
+
"medium",
|
|
5134
|
+
"high",
|
|
5135
|
+
"xhigh",
|
|
5136
|
+
"max"
|
|
5137
|
+
]
|
|
5138
|
+
},
|
|
5139
|
+
"temperature": {
|
|
5140
|
+
"type": "number",
|
|
5141
|
+
"minimum": 0,
|
|
5142
|
+
"maximum": 2
|
|
5143
|
+
},
|
|
5144
|
+
"top_p": {
|
|
5145
|
+
"type": "number",
|
|
5146
|
+
"minimum": 0,
|
|
5147
|
+
"maximum": 1
|
|
5148
|
+
},
|
|
5149
|
+
"maxTokens": {
|
|
5150
|
+
"type": "number"
|
|
5151
|
+
},
|
|
5152
|
+
"thinking": {
|
|
5153
|
+
"type": "object",
|
|
5154
|
+
"properties": {
|
|
5155
|
+
"type": {
|
|
5156
|
+
"type": "string",
|
|
5157
|
+
"enum": [
|
|
5158
|
+
"enabled",
|
|
5159
|
+
"disabled"
|
|
5160
|
+
]
|
|
5161
|
+
},
|
|
5162
|
+
"budgetTokens": {
|
|
5163
|
+
"type": "number"
|
|
5164
|
+
}
|
|
5165
|
+
},
|
|
5166
|
+
"required": [
|
|
5167
|
+
"type"
|
|
5168
|
+
],
|
|
5169
|
+
"additionalProperties": false
|
|
5170
|
+
}
|
|
5171
|
+
},
|
|
5172
|
+
"required": [
|
|
5173
|
+
"model"
|
|
5174
|
+
],
|
|
5175
|
+
"additionalProperties": false
|
|
5176
|
+
}
|
|
5177
|
+
},
|
|
5178
|
+
{
|
|
5179
|
+
"type": "array",
|
|
5180
|
+
"items": {
|
|
5181
|
+
"anyOf": [
|
|
5182
|
+
{
|
|
5183
|
+
"type": "string"
|
|
5184
|
+
},
|
|
5185
|
+
{
|
|
5186
|
+
"type": "object",
|
|
5187
|
+
"properties": {
|
|
5188
|
+
"model": {
|
|
5189
|
+
"type": "string"
|
|
5190
|
+
},
|
|
5191
|
+
"variant": {
|
|
5192
|
+
"type": "string"
|
|
5193
|
+
},
|
|
5194
|
+
"reasoningEffort": {
|
|
5195
|
+
"type": "string",
|
|
5196
|
+
"enum": [
|
|
5197
|
+
"none",
|
|
5198
|
+
"minimal",
|
|
5199
|
+
"low",
|
|
5200
|
+
"medium",
|
|
5201
|
+
"high",
|
|
5202
|
+
"xhigh",
|
|
5203
|
+
"max"
|
|
5204
|
+
]
|
|
5205
|
+
},
|
|
5206
|
+
"temperature": {
|
|
5207
|
+
"type": "number",
|
|
5208
|
+
"minimum": 0,
|
|
5209
|
+
"maximum": 2
|
|
5210
|
+
},
|
|
5211
|
+
"top_p": {
|
|
5212
|
+
"type": "number",
|
|
5213
|
+
"minimum": 0,
|
|
5214
|
+
"maximum": 1
|
|
5215
|
+
},
|
|
5216
|
+
"maxTokens": {
|
|
5217
|
+
"type": "number"
|
|
5218
|
+
},
|
|
5219
|
+
"thinking": {
|
|
5220
|
+
"type": "object",
|
|
5221
|
+
"properties": {
|
|
5222
|
+
"type": {
|
|
5223
|
+
"type": "string",
|
|
5224
|
+
"enum": [
|
|
5225
|
+
"enabled",
|
|
5226
|
+
"disabled"
|
|
5227
|
+
]
|
|
5228
|
+
},
|
|
5229
|
+
"budgetTokens": {
|
|
5230
|
+
"type": "number"
|
|
5231
|
+
}
|
|
5232
|
+
},
|
|
5233
|
+
"required": [
|
|
5234
|
+
"type"
|
|
5235
|
+
],
|
|
5236
|
+
"additionalProperties": false
|
|
5237
|
+
}
|
|
5238
|
+
},
|
|
5239
|
+
"required": [
|
|
5240
|
+
"model"
|
|
5241
|
+
],
|
|
5242
|
+
"additionalProperties": false
|
|
5243
|
+
}
|
|
5244
|
+
]
|
|
5245
|
+
}
|
|
5246
|
+
}
|
|
5247
|
+
]
|
|
5248
|
+
},
|
|
5249
|
+
"variant": {
|
|
5250
|
+
"type": "string"
|
|
5251
|
+
},
|
|
5252
|
+
"category": {
|
|
5253
|
+
"type": "string"
|
|
5254
|
+
},
|
|
5255
|
+
"skills": {
|
|
5256
|
+
"type": "array",
|
|
5257
|
+
"items": {
|
|
5258
|
+
"type": "string"
|
|
5259
|
+
}
|
|
5260
|
+
},
|
|
5261
|
+
"temperature": {
|
|
5262
|
+
"type": "number",
|
|
5263
|
+
"minimum": 0,
|
|
5264
|
+
"maximum": 2
|
|
5265
|
+
},
|
|
5266
|
+
"top_p": {
|
|
5267
|
+
"type": "number",
|
|
5268
|
+
"minimum": 0,
|
|
5269
|
+
"maximum": 1
|
|
5270
|
+
},
|
|
5271
|
+
"prompt": {
|
|
5272
|
+
"type": "string"
|
|
5273
|
+
},
|
|
5274
|
+
"prompt_append": {
|
|
5275
|
+
"type": "string"
|
|
5276
|
+
},
|
|
5277
|
+
"tools": {
|
|
5278
|
+
"type": "object",
|
|
5279
|
+
"propertyNames": {
|
|
5280
|
+
"type": "string"
|
|
5281
|
+
},
|
|
5282
|
+
"additionalProperties": {
|
|
5283
|
+
"type": "boolean"
|
|
5284
|
+
}
|
|
5285
|
+
},
|
|
5286
|
+
"disable": {
|
|
5287
|
+
"type": "boolean"
|
|
5288
|
+
},
|
|
5289
|
+
"description": {
|
|
5290
|
+
"type": "string"
|
|
5291
|
+
},
|
|
5292
|
+
"mode": {
|
|
5293
|
+
"type": "string",
|
|
5294
|
+
"enum": [
|
|
5295
|
+
"subagent",
|
|
5296
|
+
"primary",
|
|
5297
|
+
"all"
|
|
5298
|
+
]
|
|
5299
|
+
},
|
|
5300
|
+
"color": {
|
|
5301
|
+
"type": "string",
|
|
5302
|
+
"pattern": "^#[0-9A-Fa-f]{6}$"
|
|
5303
|
+
},
|
|
5304
|
+
"displayName": {
|
|
5305
|
+
"type": "string"
|
|
5306
|
+
},
|
|
5307
|
+
"permission": {
|
|
5308
|
+
"type": "object",
|
|
5309
|
+
"properties": {
|
|
5310
|
+
"edit": {
|
|
5311
|
+
"type": "string",
|
|
5312
|
+
"enum": [
|
|
5313
|
+
"ask",
|
|
5314
|
+
"allow",
|
|
5315
|
+
"deny"
|
|
5316
|
+
]
|
|
5317
|
+
},
|
|
5318
|
+
"bash": {
|
|
5319
|
+
"anyOf": [
|
|
5320
|
+
{
|
|
5321
|
+
"type": "string",
|
|
5322
|
+
"enum": [
|
|
5323
|
+
"ask",
|
|
5324
|
+
"allow",
|
|
5325
|
+
"deny"
|
|
5326
|
+
]
|
|
5327
|
+
},
|
|
5328
|
+
{
|
|
5329
|
+
"type": "object",
|
|
5330
|
+
"propertyNames": {
|
|
5331
|
+
"type": "string"
|
|
5332
|
+
},
|
|
5333
|
+
"additionalProperties": {
|
|
5334
|
+
"type": "string",
|
|
5335
|
+
"enum": [
|
|
5336
|
+
"ask",
|
|
5337
|
+
"allow",
|
|
5338
|
+
"deny"
|
|
5339
|
+
]
|
|
5340
|
+
}
|
|
5341
|
+
}
|
|
5342
|
+
]
|
|
5343
|
+
},
|
|
5344
|
+
"webfetch": {
|
|
5345
|
+
"type": "string",
|
|
5346
|
+
"enum": [
|
|
5347
|
+
"ask",
|
|
5348
|
+
"allow",
|
|
5349
|
+
"deny"
|
|
5350
|
+
]
|
|
5351
|
+
},
|
|
5352
|
+
"task": {
|
|
5353
|
+
"type": "string",
|
|
5354
|
+
"enum": [
|
|
5355
|
+
"ask",
|
|
5356
|
+
"allow",
|
|
5357
|
+
"deny"
|
|
5358
|
+
]
|
|
5359
|
+
},
|
|
5360
|
+
"doom_loop": {
|
|
5361
|
+
"type": "string",
|
|
5362
|
+
"enum": [
|
|
5363
|
+
"ask",
|
|
5364
|
+
"allow",
|
|
5365
|
+
"deny"
|
|
5366
|
+
]
|
|
5367
|
+
},
|
|
5368
|
+
"external_directory": {
|
|
5369
|
+
"type": "string",
|
|
5370
|
+
"enum": [
|
|
5371
|
+
"ask",
|
|
5372
|
+
"allow",
|
|
5373
|
+
"deny"
|
|
5374
|
+
]
|
|
5375
|
+
}
|
|
5376
|
+
},
|
|
5377
|
+
"additionalProperties": false
|
|
5378
|
+
},
|
|
5379
|
+
"maxTokens": {
|
|
5380
|
+
"type": "number"
|
|
5381
|
+
},
|
|
5382
|
+
"thinking": {
|
|
5383
|
+
"type": "object",
|
|
5384
|
+
"properties": {
|
|
5385
|
+
"type": {
|
|
5386
|
+
"type": "string",
|
|
5387
|
+
"enum": [
|
|
5388
|
+
"enabled",
|
|
5389
|
+
"disabled"
|
|
5390
|
+
]
|
|
5391
|
+
},
|
|
5392
|
+
"budgetTokens": {
|
|
5393
|
+
"type": "number"
|
|
5394
|
+
}
|
|
5395
|
+
},
|
|
5396
|
+
"required": [
|
|
5397
|
+
"type"
|
|
5398
|
+
],
|
|
5399
|
+
"additionalProperties": false
|
|
5400
|
+
},
|
|
5401
|
+
"reasoningEffort": {
|
|
5402
|
+
"type": "string",
|
|
5403
|
+
"enum": [
|
|
5404
|
+
"none",
|
|
5405
|
+
"minimal",
|
|
5406
|
+
"low",
|
|
5407
|
+
"medium",
|
|
5408
|
+
"high",
|
|
5409
|
+
"xhigh",
|
|
5410
|
+
"max"
|
|
5411
|
+
]
|
|
5412
|
+
},
|
|
5413
|
+
"textVerbosity": {
|
|
5414
|
+
"type": "string",
|
|
5415
|
+
"enum": [
|
|
5416
|
+
"low",
|
|
5417
|
+
"medium",
|
|
5418
|
+
"high"
|
|
5419
|
+
]
|
|
5420
|
+
},
|
|
5421
|
+
"providerOptions": {
|
|
5422
|
+
"type": "object",
|
|
5423
|
+
"propertyNames": {
|
|
5424
|
+
"type": "string"
|
|
5425
|
+
},
|
|
5426
|
+
"additionalProperties": {}
|
|
5427
|
+
},
|
|
5428
|
+
"ultrawork": {
|
|
5429
|
+
"type": "object",
|
|
5430
|
+
"properties": {
|
|
5431
|
+
"model": {
|
|
5432
|
+
"type": "string"
|
|
5433
|
+
},
|
|
5434
|
+
"variant": {
|
|
5435
|
+
"type": "string"
|
|
5436
|
+
}
|
|
5437
|
+
},
|
|
5438
|
+
"additionalProperties": false
|
|
5439
|
+
},
|
|
5440
|
+
"compaction": {
|
|
5441
|
+
"type": "object",
|
|
5442
|
+
"properties": {
|
|
5443
|
+
"model": {
|
|
5444
|
+
"type": "string"
|
|
5445
|
+
},
|
|
5446
|
+
"variant": {
|
|
5447
|
+
"type": "string"
|
|
5448
|
+
}
|
|
5449
|
+
},
|
|
5450
|
+
"additionalProperties": false
|
|
5451
|
+
}
|
|
5452
|
+
},
|
|
5453
|
+
"additionalProperties": false
|
|
5454
|
+
}
|
|
5052
5455
|
},
|
|
5053
5456
|
"categories": {
|
|
5054
5457
|
"type": "object",
|
|
@@ -5744,6 +6147,10 @@
|
|
|
5744
6147
|
"type": "number",
|
|
5745
6148
|
"minimum": 10000
|
|
5746
6149
|
},
|
|
6150
|
+
"taskCleanupDelayMs": {
|
|
6151
|
+
"type": "number",
|
|
6152
|
+
"minimum": 60000
|
|
6153
|
+
},
|
|
5747
6154
|
"syncPollTimeoutMs": {
|
|
5748
6155
|
"type": "number",
|
|
5749
6156
|
"minimum": 60000
|
|
@@ -5946,6 +6353,15 @@
|
|
|
5946
6353
|
],
|
|
5947
6354
|
"additionalProperties": false
|
|
5948
6355
|
},
|
|
6356
|
+
"i18n": {
|
|
6357
|
+
"type": "object",
|
|
6358
|
+
"properties": {
|
|
6359
|
+
"locale": {
|
|
6360
|
+
"type": "string"
|
|
6361
|
+
}
|
|
6362
|
+
},
|
|
6363
|
+
"additionalProperties": false
|
|
6364
|
+
},
|
|
5949
6365
|
"team_mode": {
|
|
5950
6366
|
"type": "object",
|
|
5951
6367
|
"properties": {
|
|
@@ -6026,6 +6442,20 @@
|
|
|
6026
6442
|
"keyword_detector": {
|
|
6027
6443
|
"type": "object",
|
|
6028
6444
|
"properties": {
|
|
6445
|
+
"enabled_expansions": {
|
|
6446
|
+
"type": "array",
|
|
6447
|
+
"items": {
|
|
6448
|
+
"type": "string",
|
|
6449
|
+
"enum": [
|
|
6450
|
+
"ultrawork",
|
|
6451
|
+
"search",
|
|
6452
|
+
"analyze",
|
|
6453
|
+
"team",
|
|
6454
|
+
"hyperplan",
|
|
6455
|
+
"hyperplan-ultrawork"
|
|
6456
|
+
]
|
|
6457
|
+
}
|
|
6458
|
+
},
|
|
6029
6459
|
"disabled_keywords": {
|
|
6030
6460
|
"type": "array",
|
|
6031
6461
|
"items": {
|
|
@@ -6215,6 +6645,24 @@
|
|
|
6215
6645
|
],
|
|
6216
6646
|
"additionalProperties": false
|
|
6217
6647
|
},
|
|
6648
|
+
"default_mode": {
|
|
6649
|
+
"type": "object",
|
|
6650
|
+
"properties": {
|
|
6651
|
+
"ultrawork": {
|
|
6652
|
+
"default": false,
|
|
6653
|
+
"type": "boolean"
|
|
6654
|
+
},
|
|
6655
|
+
"ralph_loop": {
|
|
6656
|
+
"default": false,
|
|
6657
|
+
"type": "boolean"
|
|
6658
|
+
}
|
|
6659
|
+
},
|
|
6660
|
+
"required": [
|
|
6661
|
+
"ultrawork",
|
|
6662
|
+
"ralph_loop"
|
|
6663
|
+
],
|
|
6664
|
+
"additionalProperties": false
|
|
6665
|
+
},
|
|
6218
6666
|
"_migrations": {
|
|
6219
6667
|
"type": "array",
|
|
6220
6668
|
"items": {
|
|
@@ -35,6 +35,8 @@ export declare function createCoreHooks(args: {
|
|
|
35
35
|
webfetchRedirectGuard: ReturnType<typeof import("../../hooks").createWebFetchRedirectGuardHook> | null;
|
|
36
36
|
fsyncSkipWarning: ReturnType<typeof import("../../hooks").createFsyncSkipWarningHook> | null;
|
|
37
37
|
teamToolGating: ReturnType<typeof import("../../hooks").createTeamToolGating> | null;
|
|
38
|
+
notepadWriteGuard: ReturnType<typeof import("../../hooks").createNotepadWriteGuardHook> | null;
|
|
39
|
+
planFormatValidator: ReturnType<typeof import("../../hooks").createPlanFormatValidatorHook> | null;
|
|
38
40
|
contextWindowMonitor: ReturnType<typeof import("../../hooks").createContextWindowMonitorHook> | null;
|
|
39
41
|
preemptiveCompaction: ReturnType<typeof import("../../hooks").createPreemptiveCompactionHook> | null;
|
|
40
42
|
sessionRecovery: ReturnType<typeof import("../../hooks").createSessionRecoveryHook> | null;
|