oh-my-opencode-slim 2.0.0-beta.13 → 2.0.0-beta.14

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.
@@ -1,2 +1,7 @@
1
- import type { InstallArgs } from './types';
1
+ import type { InstallArgs, InstallConfig } from './types';
2
+ export declare function shouldPromptForBackgroundSubagents(config: InstallConfig): boolean;
3
+ export declare function configureBackgroundSubagents(config: InstallConfig): Promise<{
4
+ enabledNow: boolean;
5
+ configuredTarget?: string;
6
+ }>;
2
7
  export declare function install(args: InstallArgs): Promise<number>;
@@ -1,10 +1,13 @@
1
1
  export type BooleanArg = 'yes' | 'no';
2
+ export type BackgroundSubagentsArg = 'ask' | 'yes' | 'no';
2
3
  export interface InstallArgs {
3
4
  tui: boolean;
4
5
  skills?: BooleanArg;
5
6
  preset?: string;
6
7
  dryRun?: boolean;
7
8
  reset?: boolean;
9
+ backgroundSubagents?: BackgroundSubagentsArg;
10
+ backgroundSubagentsTarget?: string;
8
11
  }
9
12
  export interface OpenCodeConfig {
10
13
  plugin?: unknown[];
@@ -19,6 +22,8 @@ export interface InstallConfig {
19
22
  promptForStar?: boolean;
20
23
  dryRun?: boolean;
21
24
  reset: boolean;
25
+ backgroundSubagents: BackgroundSubagentsArg;
26
+ backgroundSubagentsTarget?: string;
22
27
  }
23
28
  export interface ConfigMergeResult {
24
29
  success: boolean;
@@ -176,13 +176,6 @@ export declare const DivoomConfigSchema: z.ZodObject<{
176
176
  gifs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
177
177
  }, z.core.$strip>;
178
178
  export type DivoomConfig = z.infer<typeof DivoomConfigSchema>;
179
- export declare const TodoContinuationConfigSchema: z.ZodObject<{
180
- maxContinuations: z.ZodDefault<z.ZodNumber>;
181
- cooldownMs: z.ZodDefault<z.ZodNumber>;
182
- autoEnable: z.ZodDefault<z.ZodBoolean>;
183
- autoEnableThreshold: z.ZodDefault<z.ZodNumber>;
184
- }, z.core.$strip>;
185
- export type TodoContinuationConfig = z.infer<typeof TodoContinuationConfigSchema>;
186
179
  export declare const FailoverConfigSchema: z.ZodObject<{
187
180
  enabled: z.ZodDefault<z.ZodBoolean>;
188
181
  timeoutMs: z.ZodDefault<z.ZodNumber>;
@@ -332,12 +325,6 @@ export declare const PluginConfigSchema: z.ZodObject<{
332
325
  posterizeBits: z.ZodDefault<z.ZodNumber>;
333
326
  gifs: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
334
327
  }, z.core.$strip>>;
335
- todoContinuation: z.ZodOptional<z.ZodObject<{
336
- maxContinuations: z.ZodDefault<z.ZodNumber>;
337
- cooldownMs: z.ZodDefault<z.ZodNumber>;
338
- autoEnable: z.ZodDefault<z.ZodBoolean>;
339
- autoEnableThreshold: z.ZodDefault<z.ZodNumber>;
340
- }, z.core.$strip>>;
341
328
  fallback: z.ZodOptional<z.ZodObject<{
342
329
  enabled: z.ZodDefault<z.ZodBoolean>;
343
330
  timeoutMs: z.ZodDefault<z.ZodNumber>;
@@ -11,4 +11,3 @@ export { createJsonErrorRecoveryHook } from './json-error-recovery';
11
11
  export { createPhaseReminderHook } from './phase-reminder';
12
12
  export { createPostFileToolNudgeHook } from './post-file-tool-nudge';
13
13
  export { createTaskSessionManagerHook } from './task-session-manager';
14
- export { createTodoContinuationHook } from './todo-continuation';