oh-my-opencode-slim 2.0.2 → 2.0.3

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.
@@ -180,6 +180,7 @@ export declare const FailoverConfigSchema: z.ZodObject<{
180
180
  export type FailoverConfig = z.infer<typeof FailoverConfigSchema>;
181
181
  export declare const CompanionConfigSchema: z.ZodObject<{
182
182
  enabled: z.ZodOptional<z.ZodBoolean>;
183
+ binaryPath: z.ZodOptional<z.ZodString>;
183
184
  position: z.ZodOptional<z.ZodEnum<{
184
185
  "bottom-right": "bottom-right";
185
186
  "bottom-left": "bottom-left";
@@ -191,8 +192,57 @@ export declare const CompanionConfigSchema: z.ZodObject<{
191
192
  medium: "medium";
192
193
  large: "large";
193
194
  }>>;
195
+ gifPack: z.ZodOptional<z.ZodEnum<{
196
+ default: "default";
197
+ }>>;
198
+ loopStyle: z.ZodOptional<z.ZodEnum<{
199
+ classic: "classic";
200
+ smooth: "smooth";
201
+ }>>;
202
+ speed: z.ZodOptional<z.ZodNumber>;
203
+ debug: z.ZodOptional<z.ZodBoolean>;
194
204
  }, z.core.$strip>;
195
205
  export type CompanionConfig = z.infer<typeof CompanionConfigSchema>;
206
+ export declare const AcpAgentPermissionModeSchema: z.ZodEnum<{
207
+ allow: "allow";
208
+ ask: "ask";
209
+ reject: "reject";
210
+ }>;
211
+ export declare const AcpAgentConfigSchema: z.ZodObject<{
212
+ command: z.ZodString;
213
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
214
+ env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
215
+ cwd: z.ZodOptional<z.ZodString>;
216
+ description: z.ZodOptional<z.ZodString>;
217
+ prompt: z.ZodOptional<z.ZodString>;
218
+ orchestratorPrompt: z.ZodOptional<z.ZodString>;
219
+ wrapperModel: z.ZodOptional<z.ZodString>;
220
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
221
+ permissionMode: z.ZodDefault<z.ZodEnum<{
222
+ allow: "allow";
223
+ ask: "ask";
224
+ reject: "reject";
225
+ }>>;
226
+ }, z.core.$strict>;
227
+ export declare const AcpAgentsConfigSchema: z.ZodRecord<z.ZodString, z.ZodObject<{
228
+ command: z.ZodString;
229
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
230
+ env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
231
+ cwd: z.ZodOptional<z.ZodString>;
232
+ description: z.ZodOptional<z.ZodString>;
233
+ prompt: z.ZodOptional<z.ZodString>;
234
+ orchestratorPrompt: z.ZodOptional<z.ZodString>;
235
+ wrapperModel: z.ZodOptional<z.ZodString>;
236
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
237
+ permissionMode: z.ZodDefault<z.ZodEnum<{
238
+ allow: "allow";
239
+ ask: "ask";
240
+ reject: "reject";
241
+ }>>;
242
+ }, z.core.$strict>>;
243
+ export type AcpAgentPermissionMode = z.infer<typeof AcpAgentPermissionModeSchema>;
244
+ export type AcpAgentConfig = z.infer<typeof AcpAgentConfigSchema>;
245
+ export type AcpAgentsConfig = z.infer<typeof AcpAgentsConfigSchema>;
196
246
  export declare const PluginConfigSchema: z.ZodObject<{
197
247
  preset: z.ZodOptional<z.ZodString>;
198
248
  setDefaultAgent: z.ZodOptional<z.ZodBoolean>;
@@ -322,6 +372,7 @@ export declare const PluginConfigSchema: z.ZodObject<{
322
372
  }>>>;
323
373
  companion: z.ZodOptional<z.ZodObject<{
324
374
  enabled: z.ZodOptional<z.ZodBoolean>;
375
+ binaryPath: z.ZodOptional<z.ZodString>;
325
376
  position: z.ZodOptional<z.ZodEnum<{
326
377
  "bottom-right": "bottom-right";
327
378
  "bottom-left": "bottom-left";
@@ -333,7 +384,32 @@ export declare const PluginConfigSchema: z.ZodObject<{
333
384
  medium: "medium";
334
385
  large: "large";
335
386
  }>>;
387
+ gifPack: z.ZodOptional<z.ZodEnum<{
388
+ default: "default";
389
+ }>>;
390
+ loopStyle: z.ZodOptional<z.ZodEnum<{
391
+ classic: "classic";
392
+ smooth: "smooth";
393
+ }>>;
394
+ speed: z.ZodOptional<z.ZodNumber>;
395
+ debug: z.ZodOptional<z.ZodBoolean>;
336
396
  }, z.core.$strip>>;
397
+ acpAgents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
398
+ command: z.ZodString;
399
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
400
+ env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
401
+ cwd: z.ZodOptional<z.ZodString>;
402
+ description: z.ZodOptional<z.ZodString>;
403
+ prompt: z.ZodOptional<z.ZodString>;
404
+ orchestratorPrompt: z.ZodOptional<z.ZodString>;
405
+ wrapperModel: z.ZodOptional<z.ZodString>;
406
+ timeoutMs: z.ZodDefault<z.ZodNumber>;
407
+ permissionMode: z.ZodDefault<z.ZodEnum<{
408
+ allow: "allow";
409
+ ask: "ask";
410
+ reject: "reject";
411
+ }>>;
412
+ }, z.core.$strict>>>;
337
413
  }, z.core.$strip>;
338
414
  export type PluginConfig = z.infer<typeof PluginConfigSchema>;
339
415
  export type { AgentName } from './constants';
@@ -15,3 +15,4 @@ export declare function getAgentOverride(config: PluginConfig | undefined, name:
15
15
  * legacy aliases.
16
16
  */
17
17
  export declare function getCustomAgentNames(config: PluginConfig | undefined): string[];
18
+ export declare function getAcpAgentNames(config: PluginConfig | undefined): string[];
@@ -1,3 +1,4 @@
1
+ import type { CompanionConfig } from '../../config/schema';
1
2
  export interface NpmDistTags {
2
3
  latest: string;
3
4
  [key: string]: string;
@@ -23,6 +24,7 @@ export interface PackageJson {
23
24
  }
24
25
  export interface AutoUpdateCheckerOptions {
25
26
  autoUpdate?: boolean;
27
+ companion?: CompanionConfig;
26
28
  }
27
29
  export interface PluginEntryInfo {
28
30
  entry: string;