oh-my-opencode-slim 2.0.0-beta.1 → 2.0.0-beta.10
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 +635 -0
- package/README.md +19 -9
- package/README.zh-CN.md +624 -0
- package/dist/cli/index.js +9 -3
- package/dist/config/constants.d.ts +1 -1
- package/dist/config/schema.d.ts +3 -3
- package/dist/hooks/deepwork/index.d.ts +13 -0
- package/dist/hooks/index.d.ts +1 -1
- package/dist/hooks/phase-reminder/index.d.ts +1 -1
- package/dist/index.js +766 -1271
- package/dist/multiplexer/session-manager.d.ts +4 -1
- package/dist/tools/ast-grep/tools.d.ts +1 -1
- package/dist/tools/cancel-task.d.ts +10 -0
- package/dist/tools/index.d.ts +1 -2
- package/dist/tui.js +10 -4
- package/dist/utils/background-job-board.d.ts +34 -1
- package/dist/utils/index.d.ts +0 -1
- package/oh-my-opencode-slim.schema.json +1 -1
- package/package.json +6 -4
- package/src/skills/codemap.md +3 -2
- package/src/skills/deepwork/SKILL.md +89 -0
- package/dist/agents/council-master.d.ts +0 -2
- package/dist/background/background-manager.d.ts +0 -203
- package/dist/background/index.d.ts +0 -3
- package/dist/background/multiplexer-session-manager.d.ts +0 -70
- package/dist/background/subagent-depth.d.ts +0 -35
- package/dist/cli/divoom.d.ts +0 -23
- package/dist/goal/index.d.ts +0 -3
- package/dist/goal/manager.d.ts +0 -41
- package/dist/goal/prompts.d.ts +0 -4
- package/dist/goal/store.d.ts +0 -15
- package/dist/goal/types.d.ts +0 -28
- package/dist/hooks/session-goal/index.d.ts +0 -38
- package/dist/integrations/divoom/index.d.ts +0 -3
- package/dist/integrations/divoom/status-manager.d.ts +0 -31
- package/dist/integrations/divoom/swift-helper-source.d.ts +0 -1
- package/dist/integrations/divoom/swift-transport.d.ts +0 -26
- package/dist/integrations/divoom/types.d.ts +0 -41
- package/dist/tools/background.d.ts +0 -13
- package/dist/tools/fork/command.d.ts +0 -28
- package/dist/tools/fork/files.d.ts +0 -33
- package/dist/tools/fork/index.d.ts +0 -10
- package/dist/tools/fork/state.d.ts +0 -7
- package/dist/tools/fork/tools.d.ts +0 -23
- package/dist/tools/fork/vendor.d.ts +0 -28
- package/dist/tools/handoff/command.d.ts +0 -29
- package/dist/tools/handoff/files.d.ts +0 -33
- package/dist/tools/handoff/index.d.ts +0 -10
- package/dist/tools/handoff/state.d.ts +0 -7
- package/dist/tools/handoff/tools.d.ts +0 -23
- package/dist/tools/handoff/vendor.d.ts +0 -28
- package/dist/tools/lsp/client.d.ts +0 -81
- package/dist/tools/lsp/config-store.d.ts +0 -29
- package/dist/tools/lsp/config.d.ts +0 -5
- package/dist/tools/lsp/constants.d.ts +0 -24
- package/dist/tools/lsp/index.d.ts +0 -4
- package/dist/tools/lsp/tools.d.ts +0 -5
- package/dist/tools/lsp/types.d.ts +0 -45
- package/dist/tools/lsp/utils.d.ts +0 -34
- package/dist/tools/subtask/command.d.ts +0 -30
- package/dist/tools/subtask/files.d.ts +0 -34
- package/dist/tools/subtask/index.d.ts +0 -11
- package/dist/tools/subtask/state.d.ts +0 -7
- package/dist/tools/subtask/tools.d.ts +0 -23
- package/dist/tools/subtask/vendor.d.ts +0 -27
- package/dist/utils/session-manager.d.ts +0 -55
- package/dist/utils/tmux-debug-log.d.ts +0 -2
package/dist/cli/index.js
CHANGED
|
@@ -351,7 +351,7 @@ var InterviewConfigSchema = z2.object({
|
|
|
351
351
|
port: z2.number().int().min(0).max(65535).default(0),
|
|
352
352
|
dashboard: z2.boolean().default(false)
|
|
353
353
|
});
|
|
354
|
-
var
|
|
354
|
+
var BackgroundJobsConfigSchema = z2.object({
|
|
355
355
|
maxSessionsPerAgent: z2.number().int().min(1).max(10).default(2),
|
|
356
356
|
readContextMinLines: z2.number().int().min(0).max(1000).default(10),
|
|
357
357
|
readContextMaxFiles: z2.number().int().min(0).max(50).default(8)
|
|
@@ -417,7 +417,7 @@ var PluginConfigSchema = z2.object({
|
|
|
417
417
|
tmux: TmuxConfigSchema.optional(),
|
|
418
418
|
websearch: WebsearchConfigSchema.optional(),
|
|
419
419
|
interview: InterviewConfigSchema.optional(),
|
|
420
|
-
|
|
420
|
+
backgroundJobs: BackgroundJobsConfigSchema.optional(),
|
|
421
421
|
divoom: DivoomConfigSchema.optional(),
|
|
422
422
|
todoContinuation: TodoContinuationConfigSchema.optional(),
|
|
423
423
|
fallback: FailoverConfigSchema.optional(),
|
|
@@ -473,6 +473,12 @@ var CUSTOM_SKILLS = [
|
|
|
473
473
|
description: "Clone important dependency source for local inspection",
|
|
474
474
|
allowedAgents: ["orchestrator"],
|
|
475
475
|
sourcePath: "src/skills/clonedeps"
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
name: "deepwork",
|
|
479
|
+
description: "Heavy/complex coding sessions and large modifications workflow",
|
|
480
|
+
allowedAgents: ["orchestrator"],
|
|
481
|
+
sourcePath: "src/skills/deepwork"
|
|
476
482
|
}
|
|
477
483
|
];
|
|
478
484
|
function getCustomSkillsDir() {
|
|
@@ -1079,7 +1085,7 @@ function mergePluginConfigs(base, override) {
|
|
|
1079
1085
|
tmux: deepMerge(base.tmux, override.tmux),
|
|
1080
1086
|
multiplexer: deepMerge(base.multiplexer, override.multiplexer),
|
|
1081
1087
|
interview: deepMerge(base.interview, override.interview),
|
|
1082
|
-
|
|
1088
|
+
backgroundJobs: deepMerge(base.backgroundJobs, override.backgroundJobs),
|
|
1083
1089
|
divoom: deepMerge(base.divoom, override.divoom),
|
|
1084
1090
|
fallback: deepMerge(base.fallback, override.fallback),
|
|
1085
1091
|
council: deepMerge(base.council, override.council)
|
|
@@ -20,7 +20,7 @@ export declare const DEFAULT_TIMEOUT_MS: number;
|
|
|
20
20
|
export declare const MAX_POLL_TIME_MS: number;
|
|
21
21
|
export declare const FALLBACK_FAILOVER_TIMEOUT_MS = 15000;
|
|
22
22
|
export declare const DEFAULT_MAX_SUBAGENT_DEPTH = 3;
|
|
23
|
-
export declare const PHASE_REMINDER_TEXT = "!IMPORTANT! Scheduler workflow: plan lanes/dependencies \u2192 dispatch background specialists \u2192 track task IDs \u2192
|
|
23
|
+
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 or use task_status only when needed \u2192 reconcile terminal results \u2192 verify. Do not consume running-job output or advance dependent work. !END!";
|
|
24
24
|
export declare const TMUX_SPAWN_DELAY_MS = 500;
|
|
25
25
|
export declare const COUNCILLOR_STAGGER_MS = 250;
|
|
26
26
|
export declare const STABLE_POLLS_THRESHOLD = 3;
|
package/dist/config/schema.d.ts
CHANGED
|
@@ -158,12 +158,12 @@ export declare const InterviewConfigSchema: z.ZodObject<{
|
|
|
158
158
|
dashboard: z.ZodDefault<z.ZodBoolean>;
|
|
159
159
|
}, z.core.$strip>;
|
|
160
160
|
export type InterviewConfig = z.infer<typeof InterviewConfigSchema>;
|
|
161
|
-
export declare const
|
|
161
|
+
export declare const BackgroundJobsConfigSchema: z.ZodObject<{
|
|
162
162
|
maxSessionsPerAgent: z.ZodDefault<z.ZodNumber>;
|
|
163
163
|
readContextMinLines: z.ZodDefault<z.ZodNumber>;
|
|
164
164
|
readContextMaxFiles: z.ZodDefault<z.ZodNumber>;
|
|
165
165
|
}, z.core.$strip>;
|
|
166
|
-
export type
|
|
166
|
+
export type BackgroundJobsConfig = z.infer<typeof BackgroundJobsConfigSchema>;
|
|
167
167
|
export declare const DivoomConfigSchema: z.ZodObject<{
|
|
168
168
|
enabled: z.ZodDefault<z.ZodBoolean>;
|
|
169
169
|
python: z.ZodDefault<z.ZodString>;
|
|
@@ -316,7 +316,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
|
|
|
316
316
|
port: z.ZodDefault<z.ZodNumber>;
|
|
317
317
|
dashboard: z.ZodDefault<z.ZodBoolean>;
|
|
318
318
|
}, z.core.$strip>>;
|
|
319
|
-
|
|
319
|
+
backgroundJobs: z.ZodOptional<z.ZodObject<{
|
|
320
320
|
maxSessionsPerAgent: z.ZodDefault<z.ZodNumber>;
|
|
321
321
|
readContextMinLines: z.ZodDefault<z.ZodNumber>;
|
|
322
322
|
readContextMaxFiles: z.ZodDefault<z.ZodNumber>;
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare function createDeepworkCommandHook(): {
|
|
2
|
+
registerCommand: (config: Record<string, unknown>) => void;
|
|
3
|
+
handleCommandExecuteBefore: (input: {
|
|
4
|
+
command: string;
|
|
5
|
+
sessionID: string;
|
|
6
|
+
arguments: string;
|
|
7
|
+
}, output: {
|
|
8
|
+
parts: Array<{
|
|
9
|
+
type: string;
|
|
10
|
+
text?: string;
|
|
11
|
+
}>;
|
|
12
|
+
}) => Promise<void>;
|
|
13
|
+
};
|
package/dist/hooks/index.d.ts
CHANGED
|
@@ -2,6 +2,7 @@ export { createApplyPatchHook } from './apply-patch';
|
|
|
2
2
|
export type { AutoUpdateCheckerOptions } from './auto-update-checker';
|
|
3
3
|
export { createAutoUpdateCheckerHook } from './auto-update-checker';
|
|
4
4
|
export { createChatHeadersHook } from './chat-headers';
|
|
5
|
+
export { createDeepworkCommandHook } from './deepwork';
|
|
5
6
|
export { createDelegateTaskRetryHook } from './delegate-task-retry';
|
|
6
7
|
export { createFilterAvailableSkillsHook } from './filter-available-skills';
|
|
7
8
|
export { ForegroundFallbackManager, isRateLimitError, } from './foreground-fallback';
|
|
@@ -9,6 +10,5 @@ export { processImageAttachments } from './image-hook';
|
|
|
9
10
|
export { createJsonErrorRecoveryHook } from './json-error-recovery';
|
|
10
11
|
export { createPhaseReminderHook } from './phase-reminder';
|
|
11
12
|
export { createPostFileToolNudgeHook } from './post-file-tool-nudge';
|
|
12
|
-
export { createSessionGoalHook } from './session-goal';
|
|
13
13
|
export { createTaskSessionManagerHook } from './task-session-manager';
|
|
14
14
|
export { createTodoContinuationHook } from './todo-continuation';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export declare const PHASE_REMINDER = "<internal_reminder>!IMPORTANT! Scheduler workflow: plan lanes/dependencies \u2192 dispatch background specialists \u2192 track task IDs \u2192
|
|
1
|
+
export declare const PHASE_REMINDER = "<internal_reminder>!IMPORTANT! Scheduler workflow: plan lanes/dependencies \u2192 dispatch background specialists \u2192 track task IDs \u2192 wait for hook-driven completion or use task_status only when needed \u2192 reconcile terminal results \u2192 verify. Do not consume running-job output or advance dependent work. !END!</internal_reminder>";
|
|
2
2
|
interface MessageInfo {
|
|
3
3
|
role: string;
|
|
4
4
|
agent?: string;
|