oh-my-opencode-slim 2.1.1 → 2.2.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-JP.md +113 -118
- package/README.ko-KR.md +141 -123
- package/README.md +102 -145
- package/README.zh-CN.md +112 -118
- package/dist/agents/index.d.ts +0 -4
- package/dist/cli/index.js +57 -20
- package/dist/cli/providers.d.ts +11 -4
- package/dist/config/constants.d.ts +11 -1
- package/dist/config/schema.d.ts +680 -2
- package/dist/config/strip-orchestrator-model.d.ts +9 -0
- package/dist/hooks/command-hook-utils.d.ts +5 -0
- package/dist/hooks/foreground-fallback/index.d.ts +40 -28
- package/dist/hooks/image-hook.d.ts +1 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/index.js +1992 -455
- package/dist/interview/document.d.ts +2 -1
- package/dist/interview/ui.d.ts +0 -1
- package/dist/multiplexer/cmux/close-policy.d.ts +20 -0
- package/dist/multiplexer/cmux/index.d.ts +102 -0
- package/dist/multiplexer/cmux/session-lifecycle.d.ts +92 -0
- package/dist/multiplexer/cmux/session-state.d.ts +45 -0
- package/dist/multiplexer/factory.d.ts +0 -9
- package/dist/multiplexer/herdr/index.d.ts +2 -0
- package/dist/multiplexer/index.d.ts +3 -1
- package/dist/multiplexer/session-manager.d.ts +10 -2
- package/dist/multiplexer/shared.d.ts +8 -1
- package/dist/multiplexer/types.d.ts +5 -2
- package/dist/multiplexer/zellij/index.d.ts +1 -1
- package/dist/tools/smartfetch/utils.d.ts +3 -1
- package/dist/tui-state.d.ts +5 -5
- package/dist/tui.js +87 -27
- package/dist/utils/escape-html.d.ts +1 -0
- package/dist/utils/frontmatter.d.ts +6 -0
- package/dist/utils/index.d.ts +1 -1
- package/dist/utils/logger.d.ts +0 -2
- package/oh-my-opencode-slim.schema.json +717 -2
- package/package.json +1 -1
- package/src/skills/clonedeps/SKILL.md +32 -29
- package/src/skills/codemap.md +5 -3
- package/src/skills/deepwork/SKILL.md +17 -6
- package/src/skills/verification-planning/SKILL.md +102 -0
- package/src/skills/worktrees/SKILL.md +14 -7
- package/src/skills/release-smoke-test/SKILL.md +0 -159
package/dist/cli/providers.d.ts
CHANGED
|
@@ -30,6 +30,7 @@ export declare const MODEL_MAPPINGS: {
|
|
|
30
30
|
readonly kimi: {
|
|
31
31
|
readonly orchestrator: {
|
|
32
32
|
readonly model: "kimi-for-coding/k2p5";
|
|
33
|
+
readonly variant: "max";
|
|
33
34
|
};
|
|
34
35
|
readonly oracle: {
|
|
35
36
|
readonly model: "kimi-for-coding/k2p5";
|
|
@@ -55,6 +56,7 @@ export declare const MODEL_MAPPINGS: {
|
|
|
55
56
|
readonly copilot: {
|
|
56
57
|
readonly orchestrator: {
|
|
57
58
|
readonly model: "github-copilot/claude-opus-4.6";
|
|
59
|
+
readonly variant: "max";
|
|
58
60
|
};
|
|
59
61
|
readonly oracle: {
|
|
60
62
|
readonly model: "github-copilot/claude-opus-4.6";
|
|
@@ -80,6 +82,7 @@ export declare const MODEL_MAPPINGS: {
|
|
|
80
82
|
readonly 'zai-plan': {
|
|
81
83
|
readonly orchestrator: {
|
|
82
84
|
readonly model: "zai-coding-plan/glm-5";
|
|
85
|
+
readonly variant: "max";
|
|
83
86
|
};
|
|
84
87
|
readonly oracle: {
|
|
85
88
|
readonly model: "zai-coding-plan/glm-5";
|
|
@@ -104,17 +107,20 @@ export declare const MODEL_MAPPINGS: {
|
|
|
104
107
|
};
|
|
105
108
|
readonly 'opencode-go': {
|
|
106
109
|
readonly orchestrator: {
|
|
107
|
-
readonly model: "opencode-go/
|
|
110
|
+
readonly model: "opencode-go/minimax-m3";
|
|
111
|
+
readonly variant: "max";
|
|
108
112
|
};
|
|
109
113
|
readonly oracle: {
|
|
110
114
|
readonly model: "opencode-go/qwen3.7-max";
|
|
111
115
|
readonly variant: "max";
|
|
112
116
|
};
|
|
113
|
-
readonly
|
|
117
|
+
readonly explorer: {
|
|
114
118
|
readonly model: "opencode-go/deepseek-v4-flash";
|
|
119
|
+
readonly variant: "max";
|
|
115
120
|
};
|
|
116
|
-
readonly
|
|
121
|
+
readonly librarian: {
|
|
117
122
|
readonly model: "opencode-go/deepseek-v4-flash";
|
|
123
|
+
readonly variant: "high";
|
|
118
124
|
};
|
|
119
125
|
readonly designer: {
|
|
120
126
|
readonly model: "opencode-go/kimi-k2.7-code";
|
|
@@ -125,7 +131,8 @@ export declare const MODEL_MAPPINGS: {
|
|
|
125
131
|
readonly variant: "high";
|
|
126
132
|
};
|
|
127
133
|
readonly observer: {
|
|
128
|
-
readonly model: "opencode-go/
|
|
134
|
+
readonly model: "opencode-go/mimo-v2.5";
|
|
135
|
+
readonly variant: "max";
|
|
129
136
|
};
|
|
130
137
|
};
|
|
131
138
|
};
|
|
@@ -14,7 +14,7 @@ export declare const POLL_INTERVAL_MS = 500;
|
|
|
14
14
|
export declare const POLL_INTERVAL_BACKGROUND_MS = 2000;
|
|
15
15
|
export declare const MAX_POLL_TIME_MS: number;
|
|
16
16
|
export declare const DEFAULT_MAX_SUBAGENT_DEPTH = 3;
|
|
17
|
-
export declare const PHASE_REMINDER_TEXT = "!IMPORTANT! Scheduler workflow: plan lanes/dependencies \u2192 dispatch background specialists \u2192 track task IDs \u2192 wait for hook-driven completion \u2192 reconcile terminal results \u2192 verify. Do not poll running jobs, consume running-job output, or advance dependent work. !END!";
|
|
17
|
+
export declare const PHASE_REMINDER_TEXT = "!IMPORTANT! Scheduler workflow: First choose the lightest workflow that fits the work. If direct execution is justified, complete it and verify proportionately. Otherwise: plan lanes/dependencies \u2192 dispatch background specialists \u2192 track task IDs \u2192 wait for hook-driven completion \u2192 reconcile terminal results \u2192 verify. Do not poll running jobs, consume running-job output, or advance dependent work. !END!";
|
|
18
18
|
export declare function formatSystemReminder(text: string): string;
|
|
19
19
|
export declare const PHASE_REMINDER: string;
|
|
20
20
|
export declare const WRITABLE_FILE_OPERATIONS_RULES = "**File Operations Rules**:\n- Prefer dedicated file tools for normal code work: glob/grep/ast_grep_search for discovery, read for file contents, and edit/write/apply_patch for targeted source changes.\n- Use bash for execution and automation: git, package managers, tests, builds, scripts, diagnostics, and shell-native filesystem operations.\n- Shell is acceptable for bulk or mechanical filesystem changes when it is clearer or safer than many individual edits (for example: truncate generated logs, remove build artifacts, batch rename/move files), especially when the user explicitly asks for that shell operation.\n- Before destructive or broad shell operations, verify the target set and quote paths. Prefer a dry-run/listing first when practical.\n- Do not use cat/head/tail/sed/awk only to read code into context; use read/grep unless a shell pipeline is genuinely the better diagnostic.";
|
|
@@ -26,3 +26,13 @@ export declare const STABLE_POLLS_THRESHOLD = 3;
|
|
|
26
26
|
/** Agents that are disabled by default. Users must explicitly enable them
|
|
27
27
|
* by removing from disabled_agents and configuring an appropriate model. */
|
|
28
28
|
export declare const DEFAULT_DISABLED_AGENTS: string[];
|
|
29
|
+
export declare const DEFAULT_MAX_SESSIONS_PER_AGENT = 2;
|
|
30
|
+
export declare const DEFAULT_READ_CONTEXT_MIN_LINES = 10;
|
|
31
|
+
export declare const DEFAULT_READ_CONTEXT_MAX_FILES = 8;
|
|
32
|
+
export type ImageRouting = 'auto' | 'direct';
|
|
33
|
+
/**
|
|
34
|
+
* Used when image_routing is omitted, preserving legacy conditional Observer
|
|
35
|
+
* routing. Explicit "auto" is validated separately after config layers merge.
|
|
36
|
+
*/
|
|
37
|
+
export declare const DEFAULT_IMAGE_ROUTING: ImageRouting;
|
|
38
|
+
export declare function resolveImageRouting(imageRouting: ImageRouting | undefined): ImageRouting;
|