@agentdock/wire 0.0.32 → 0.0.33

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/dist/rpc.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { z } from 'zod';
2
- export declare const RpcMethod: z.ZodEnum<["spawn-session", "stop-session", "list-sessions", "abort", "switch-mode", "approve-permission", "deny-permission", "answer-question", "shutdown-daemon", "get-messages", "get-stats", "get-team-stats", "start-invite", "get-machine-info", "get-agent-settings", "set-agent-settings", "get-labs-settings", "set-labs-settings", "check-path", "backfill-history-session", "trigger-upgrade"]>;
2
+ export declare const RpcMethod: z.ZodEnum<["spawn-session", "stop-session", "list-sessions", "abort", "switch-mode", "approve-permission", "deny-permission", "answer-question", "shutdown-daemon", "get-messages", "get-stats", "get-team-stats", "start-invite", "get-machine-info", "get-agent-settings", "set-agent-settings", "get-labs-settings", "set-labs-settings", "check-path", "backfill-history-session", "trigger-upgrade", "checkpoint-list", "checkpoint-diff", "checkpoint-rollback"]>;
3
3
  export type RpcMethodType = z.infer<typeof RpcMethod>;
4
4
  /**
5
5
  * Session-scoped RPC methods — registered by `agentdock start` (CLI process).
@@ -10,14 +10,14 @@ export declare const SESSION_RPC_METHODS: readonly ["answer-question", "approve-
10
10
  * Machine-scoped RPC methods — registered by the persistent daemon only.
11
11
  * These are account/machine-level operations independent of any session.
12
12
  */
13
- export declare const MACHINE_RPC_METHODS: readonly ["start-invite", "get-machine-info", "get-agent-settings", "set-agent-settings", "get-labs-settings", "set-labs-settings", "check-path", "backfill-history-session", "trigger-upgrade"];
13
+ export declare const MACHINE_RPC_METHODS: readonly ["start-invite", "get-machine-info", "get-agent-settings", "set-agent-settings", "get-labs-settings", "set-labs-settings", "check-path", "backfill-history-session", "trigger-upgrade", "checkpoint-list", "checkpoint-diff", "checkpoint-rollback"];
14
14
  /**
15
15
  * All RPC methods that must be registered for Web UI to function.
16
16
  * Daemon registers MACHINE_RPC_METHODS; CLI registers SESSION_RPC_METHODS.
17
17
  *
18
18
  * @deprecated Use SESSION_RPC_METHODS or MACHINE_RPC_METHODS directly.
19
19
  */
20
- export declare const DAEMON_REQUIRED_RPC_METHODS: readonly ["answer-question", "approve-permission", "deny-permission", "abort", "stop-session", "start-invite", "get-machine-info", "get-agent-settings", "set-agent-settings", "get-labs-settings", "set-labs-settings", "check-path", "backfill-history-session", "trigger-upgrade"];
20
+ export declare const DAEMON_REQUIRED_RPC_METHODS: readonly ["answer-question", "approve-permission", "deny-permission", "abort", "stop-session", "start-invite", "get-machine-info", "get-agent-settings", "set-agent-settings", "get-labs-settings", "set-labs-settings", "check-path", "backfill-history-session", "trigger-upgrade", "checkpoint-list", "checkpoint-diff", "checkpoint-rollback"];
21
21
  export declare const RpcCallSchema: z.ZodObject<{
22
22
  method: z.ZodString;
23
23
  params: z.ZodUnknown;
@@ -51,7 +51,7 @@ export declare const RpcResultSchema: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
51
51
  ok: false;
52
52
  }>]>;
53
53
  export declare const SpawnSessionParamsSchema: z.ZodObject<{
54
- cli: z.ZodEnum<["claude", "copilot", "opencode", "codex", "gemini", "hermes", "openclaw", "qwen"]>;
54
+ agentType: z.ZodEnum<["claude", "copilot", "opencode", "codex", "gemini", "hermes", "openclaw", "qwen"]>;
55
55
  cwd: z.ZodString;
56
56
  prompt: z.ZodOptional<z.ZodString>;
57
57
  permissionMode: z.ZodDefault<z.ZodEnum<["default", "acceptEdits", "autoEdit", "bypassPermissions", "plan", "read-only", "safe-yolo", "yolo", "suggest", "auto-edit", "full-auto"]>>;
@@ -132,10 +132,16 @@ export declare const SpawnSessionParamsSchema: z.ZodObject<{
132
132
  allowDangerouslySkipPermissions: z.ZodOptional<z.ZodBoolean>;
133
133
  /** Shell commands to execute before agent starts (same shell, && chained). */
134
134
  startupScripts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
135
+ /** Session source — 'managed' (default), 'history' (scanner), 'scheduled' (cron). */
136
+ source: z.ZodDefault<z.ZodEnum<["managed", "history", "scheduled"]>>;
137
+ /** Run in background without a terminal window. Used by scheduled tasks. */
138
+ background: z.ZodDefault<z.ZodBoolean>;
135
139
  }, "strip", z.ZodTypeAny, {
136
140
  permissionMode: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto";
137
- cli: "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | "qwen";
141
+ agentType: "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | "qwen";
138
142
  cwd: string;
143
+ source: "managed" | "history" | "scheduled";
144
+ background: boolean;
139
145
  sessionId?: string | undefined;
140
146
  model?: string | undefined;
141
147
  fallbackModel?: string | undefined;
@@ -178,7 +184,7 @@ export declare const SpawnSessionParamsSchema: z.ZodObject<{
178
184
  allowDangerouslySkipPermissions?: boolean | undefined;
179
185
  startupScripts?: string[] | undefined;
180
186
  }, {
181
- cli: "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | "qwen";
187
+ agentType: "claude" | "copilot" | "opencode" | "codex" | "gemini" | "hermes" | "openclaw" | "qwen";
182
188
  cwd: string;
183
189
  sessionId?: string | undefined;
184
190
  permissionMode?: "default" | "acceptEdits" | "plan" | "bypassPermissions" | "autoEdit" | "read-only" | "safe-yolo" | "yolo" | "suggest" | "auto-edit" | "full-auto" | undefined;
@@ -222,6 +228,8 @@ export declare const SpawnSessionParamsSchema: z.ZodObject<{
222
228
  dangerouslySkipPermissions?: boolean | undefined;
223
229
  allowDangerouslySkipPermissions?: boolean | undefined;
224
230
  startupScripts?: string[] | undefined;
231
+ source?: "managed" | "history" | "scheduled" | undefined;
232
+ background?: boolean | undefined;
225
233
  }>;
226
234
  export declare const GetMessagesParamsSchema: z.ZodObject<{
227
235
  sessionId: z.ZodString;
@@ -305,118 +313,80 @@ export declare const GetMessagesResponseSchema: z.ZodObject<{
305
313
  total: number;
306
314
  hasMore: boolean;
307
315
  }>;
308
- export declare const MachineInfoResponseSchema: z.ZodObject<{
309
- homedir: z.ZodString;
310
- defaultCwd: z.ZodOptional<z.ZodString>;
311
- recentCwds: z.ZodArray<z.ZodString, "many">;
312
- /** All known project directories from ~/.claude/projects/ scan. */
313
- projectPaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
314
- availableAgents: z.ZodArray<z.ZodString, "many">;
315
- agentModels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
316
- id: z.ZodString;
317
- displayName: z.ZodString;
318
- isDefault: z.ZodBoolean;
319
- hidden: z.ZodBoolean;
320
- }, "strip", z.ZodTypeAny, {
321
- id: string;
322
- displayName: string;
323
- isDefault: boolean;
324
- hidden: boolean;
325
- }, {
326
- id: string;
327
- displayName: string;
328
- isDefault: boolean;
329
- hidden: boolean;
330
- }>, "many">>>;
331
- agentModes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
332
- id: z.ZodString;
333
- label: z.ZodString;
334
- }, "strip", z.ZodTypeAny, {
335
- label: string;
336
- id: string;
337
- }, {
338
- label: string;
339
- id: string;
340
- }>, "many">>>;
341
- }, "strip", z.ZodTypeAny, {
342
- homedir: string;
343
- recentCwds: string[];
344
- projectPaths: string[];
345
- availableAgents: string[];
346
- defaultCwd?: string | undefined;
347
- agentModels?: Record<string, {
348
- id: string;
349
- displayName: string;
350
- isDefault: boolean;
351
- hidden: boolean;
352
- }[]> | undefined;
353
- agentModes?: Record<string, {
354
- label: string;
355
- id: string;
356
- }[]> | undefined;
357
- }, {
358
- homedir: string;
359
- recentCwds: string[];
360
- availableAgents: string[];
361
- defaultCwd?: string | undefined;
362
- projectPaths?: string[] | undefined;
363
- agentModels?: Record<string, {
364
- id: string;
365
- displayName: string;
366
- isDefault: boolean;
367
- hidden: boolean;
368
- }[]> | undefined;
369
- agentModes?: Record<string, {
370
- label: string;
371
- id: string;
372
- }[]> | undefined;
373
- }>;
374
- export declare const CheckPathParamsSchema: z.ZodObject<{
375
- cwd: z.ZodString;
376
- /** Target machine for multi-host routing. Omit for single-machine (auto-select). */
377
- machineId: z.ZodOptional<z.ZodString>;
316
+ export declare const CustomModelSchema: z.ZodObject<{
317
+ id: z.ZodString;
318
+ label: z.ZodString;
378
319
  }, "strip", z.ZodTypeAny, {
379
- cwd: string;
380
- machineId?: string | undefined;
381
- }, {
382
- cwd: string;
383
- machineId?: string | undefined;
384
- }>;
385
- export declare const LabsSettingsSchema: z.ZodObject<{
386
- /** Enable discovery and sync of CLI history sessions (experimental). */
387
- historySessionSync: z.ZodDefault<z.ZodBoolean>;
388
- }, "strip", z.ZodTypeAny, {
389
- historySessionSync: boolean;
320
+ label: string;
321
+ id: string;
390
322
  }, {
391
- historySessionSync?: boolean | undefined;
323
+ label: string;
324
+ id: string;
392
325
  }>;
326
+ export type CustomModel = z.infer<typeof CustomModelSchema>;
393
327
  export declare const AGENT_ENV_NONE = "none";
394
328
  export declare const AgentEnvConfigSchema: z.ZodObject<{
395
329
  httpProxy: z.ZodOptional<z.ZodString>;
396
330
  httpsProxy: z.ZodOptional<z.ZodString>;
397
331
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
332
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
333
+ id: z.ZodString;
334
+ label: z.ZodString;
335
+ }, "strip", z.ZodTypeAny, {
336
+ label: string;
337
+ id: string;
338
+ }, {
339
+ label: string;
340
+ id: string;
341
+ }>, "many">>;
398
342
  }, "strip", z.ZodTypeAny, {
399
343
  httpProxy?: string | undefined;
400
344
  httpsProxy?: string | undefined;
401
345
  customEnv?: Record<string, string> | undefined;
346
+ customModels?: {
347
+ label: string;
348
+ id: string;
349
+ }[] | undefined;
402
350
  }, {
403
351
  httpProxy?: string | undefined;
404
352
  httpsProxy?: string | undefined;
405
353
  customEnv?: Record<string, string> | undefined;
354
+ customModels?: {
355
+ label: string;
356
+ id: string;
357
+ }[] | undefined;
406
358
  }>;
407
359
  export declare const AgentSettingsSchema: z.ZodObject<{
408
360
  defaults: z.ZodOptional<z.ZodObject<{
409
361
  httpProxy: z.ZodOptional<z.ZodString>;
410
362
  httpsProxy: z.ZodOptional<z.ZodString>;
411
363
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
364
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
365
+ id: z.ZodString;
366
+ label: z.ZodString;
367
+ }, "strip", z.ZodTypeAny, {
368
+ label: string;
369
+ id: string;
370
+ }, {
371
+ label: string;
372
+ id: string;
373
+ }>, "many">>;
412
374
  }, "strip", z.ZodTypeAny, {
413
375
  httpProxy?: string | undefined;
414
376
  httpsProxy?: string | undefined;
415
377
  customEnv?: Record<string, string> | undefined;
378
+ customModels?: {
379
+ label: string;
380
+ id: string;
381
+ }[] | undefined;
416
382
  }, {
417
383
  httpProxy?: string | undefined;
418
384
  httpsProxy?: string | undefined;
419
385
  customEnv?: Record<string, string> | undefined;
386
+ customModels?: {
387
+ label: string;
388
+ id: string;
389
+ }[] | undefined;
420
390
  }>>;
421
391
  startupScripts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
422
392
  telemetryEnabled: z.ZodOptional<z.ZodBoolean>;
@@ -425,134 +395,292 @@ export declare const AgentSettingsSchema: z.ZodObject<{
425
395
  httpProxy: z.ZodOptional<z.ZodString>;
426
396
  httpsProxy: z.ZodOptional<z.ZodString>;
427
397
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
398
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
399
+ id: z.ZodString;
400
+ label: z.ZodString;
401
+ }, "strip", z.ZodTypeAny, {
402
+ label: string;
403
+ id: string;
404
+ }, {
405
+ label: string;
406
+ id: string;
407
+ }>, "many">>;
428
408
  }, "strip", z.ZodTypeAny, {
429
409
  httpProxy?: string | undefined;
430
410
  httpsProxy?: string | undefined;
431
411
  customEnv?: Record<string, string> | undefined;
412
+ customModels?: {
413
+ label: string;
414
+ id: string;
415
+ }[] | undefined;
432
416
  }, {
433
417
  httpProxy?: string | undefined;
434
418
  httpsProxy?: string | undefined;
435
419
  customEnv?: Record<string, string> | undefined;
420
+ customModels?: {
421
+ label: string;
422
+ id: string;
423
+ }[] | undefined;
436
424
  }>>;
437
425
  copilot: z.ZodOptional<z.ZodObject<{
438
426
  httpProxy: z.ZodOptional<z.ZodString>;
439
427
  httpsProxy: z.ZodOptional<z.ZodString>;
440
428
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
429
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
430
+ id: z.ZodString;
431
+ label: z.ZodString;
432
+ }, "strip", z.ZodTypeAny, {
433
+ label: string;
434
+ id: string;
435
+ }, {
436
+ label: string;
437
+ id: string;
438
+ }>, "many">>;
441
439
  }, "strip", z.ZodTypeAny, {
442
440
  httpProxy?: string | undefined;
443
441
  httpsProxy?: string | undefined;
444
442
  customEnv?: Record<string, string> | undefined;
443
+ customModels?: {
444
+ label: string;
445
+ id: string;
446
+ }[] | undefined;
445
447
  }, {
446
448
  httpProxy?: string | undefined;
447
449
  httpsProxy?: string | undefined;
448
450
  customEnv?: Record<string, string> | undefined;
451
+ customModels?: {
452
+ label: string;
453
+ id: string;
454
+ }[] | undefined;
449
455
  }>>;
450
456
  opencode: z.ZodOptional<z.ZodObject<{
451
457
  httpProxy: z.ZodOptional<z.ZodString>;
452
458
  httpsProxy: z.ZodOptional<z.ZodString>;
453
459
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
460
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
461
+ id: z.ZodString;
462
+ label: z.ZodString;
463
+ }, "strip", z.ZodTypeAny, {
464
+ label: string;
465
+ id: string;
466
+ }, {
467
+ label: string;
468
+ id: string;
469
+ }>, "many">>;
454
470
  }, "strip", z.ZodTypeAny, {
455
471
  httpProxy?: string | undefined;
456
472
  httpsProxy?: string | undefined;
457
473
  customEnv?: Record<string, string> | undefined;
474
+ customModels?: {
475
+ label: string;
476
+ id: string;
477
+ }[] | undefined;
458
478
  }, {
459
479
  httpProxy?: string | undefined;
460
480
  httpsProxy?: string | undefined;
461
481
  customEnv?: Record<string, string> | undefined;
482
+ customModels?: {
483
+ label: string;
484
+ id: string;
485
+ }[] | undefined;
462
486
  }>>;
463
487
  codex: z.ZodOptional<z.ZodObject<{
464
488
  httpProxy: z.ZodOptional<z.ZodString>;
465
489
  httpsProxy: z.ZodOptional<z.ZodString>;
466
490
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
491
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
492
+ id: z.ZodString;
493
+ label: z.ZodString;
494
+ }, "strip", z.ZodTypeAny, {
495
+ label: string;
496
+ id: string;
497
+ }, {
498
+ label: string;
499
+ id: string;
500
+ }>, "many">>;
467
501
  }, "strip", z.ZodTypeAny, {
468
502
  httpProxy?: string | undefined;
469
503
  httpsProxy?: string | undefined;
470
504
  customEnv?: Record<string, string> | undefined;
505
+ customModels?: {
506
+ label: string;
507
+ id: string;
508
+ }[] | undefined;
471
509
  }, {
472
510
  httpProxy?: string | undefined;
473
511
  httpsProxy?: string | undefined;
474
512
  customEnv?: Record<string, string> | undefined;
513
+ customModels?: {
514
+ label: string;
515
+ id: string;
516
+ }[] | undefined;
475
517
  }>>;
476
518
  gemini: z.ZodOptional<z.ZodObject<{
477
519
  httpProxy: z.ZodOptional<z.ZodString>;
478
520
  httpsProxy: z.ZodOptional<z.ZodString>;
479
521
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
522
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
523
+ id: z.ZodString;
524
+ label: z.ZodString;
525
+ }, "strip", z.ZodTypeAny, {
526
+ label: string;
527
+ id: string;
528
+ }, {
529
+ label: string;
530
+ id: string;
531
+ }>, "many">>;
480
532
  }, "strip", z.ZodTypeAny, {
481
533
  httpProxy?: string | undefined;
482
534
  httpsProxy?: string | undefined;
483
535
  customEnv?: Record<string, string> | undefined;
536
+ customModels?: {
537
+ label: string;
538
+ id: string;
539
+ }[] | undefined;
484
540
  }, {
485
541
  httpProxy?: string | undefined;
486
542
  httpsProxy?: string | undefined;
487
543
  customEnv?: Record<string, string> | undefined;
544
+ customModels?: {
545
+ label: string;
546
+ id: string;
547
+ }[] | undefined;
488
548
  }>>;
489
549
  hermes: z.ZodOptional<z.ZodObject<{
490
550
  httpProxy: z.ZodOptional<z.ZodString>;
491
551
  httpsProxy: z.ZodOptional<z.ZodString>;
492
552
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
553
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
554
+ id: z.ZodString;
555
+ label: z.ZodString;
556
+ }, "strip", z.ZodTypeAny, {
557
+ label: string;
558
+ id: string;
559
+ }, {
560
+ label: string;
561
+ id: string;
562
+ }>, "many">>;
493
563
  }, "strip", z.ZodTypeAny, {
494
564
  httpProxy?: string | undefined;
495
565
  httpsProxy?: string | undefined;
496
566
  customEnv?: Record<string, string> | undefined;
567
+ customModels?: {
568
+ label: string;
569
+ id: string;
570
+ }[] | undefined;
497
571
  }, {
498
572
  httpProxy?: string | undefined;
499
573
  httpsProxy?: string | undefined;
500
574
  customEnv?: Record<string, string> | undefined;
575
+ customModels?: {
576
+ label: string;
577
+ id: string;
578
+ }[] | undefined;
501
579
  }>>;
502
580
  openclaw: z.ZodOptional<z.ZodObject<{
503
581
  httpProxy: z.ZodOptional<z.ZodString>;
504
582
  httpsProxy: z.ZodOptional<z.ZodString>;
505
583
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
584
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
585
+ id: z.ZodString;
586
+ label: z.ZodString;
587
+ }, "strip", z.ZodTypeAny, {
588
+ label: string;
589
+ id: string;
590
+ }, {
591
+ label: string;
592
+ id: string;
593
+ }>, "many">>;
506
594
  }, "strip", z.ZodTypeAny, {
507
595
  httpProxy?: string | undefined;
508
596
  httpsProxy?: string | undefined;
509
597
  customEnv?: Record<string, string> | undefined;
598
+ customModels?: {
599
+ label: string;
600
+ id: string;
601
+ }[] | undefined;
510
602
  }, {
511
603
  httpProxy?: string | undefined;
512
604
  httpsProxy?: string | undefined;
513
605
  customEnv?: Record<string, string> | undefined;
606
+ customModels?: {
607
+ label: string;
608
+ id: string;
609
+ }[] | undefined;
514
610
  }>>;
515
611
  }, "strip", z.ZodTypeAny, {
516
612
  claude?: {
517
613
  httpProxy?: string | undefined;
518
614
  httpsProxy?: string | undefined;
519
615
  customEnv?: Record<string, string> | undefined;
616
+ customModels?: {
617
+ label: string;
618
+ id: string;
619
+ }[] | undefined;
520
620
  } | undefined;
521
621
  copilot?: {
522
622
  httpProxy?: string | undefined;
523
623
  httpsProxy?: string | undefined;
524
624
  customEnv?: Record<string, string> | undefined;
625
+ customModels?: {
626
+ label: string;
627
+ id: string;
628
+ }[] | undefined;
525
629
  } | undefined;
526
630
  opencode?: {
527
631
  httpProxy?: string | undefined;
528
632
  httpsProxy?: string | undefined;
529
633
  customEnv?: Record<string, string> | undefined;
634
+ customModels?: {
635
+ label: string;
636
+ id: string;
637
+ }[] | undefined;
530
638
  } | undefined;
531
639
  codex?: {
532
640
  httpProxy?: string | undefined;
533
641
  httpsProxy?: string | undefined;
534
642
  customEnv?: Record<string, string> | undefined;
643
+ customModels?: {
644
+ label: string;
645
+ id: string;
646
+ }[] | undefined;
535
647
  } | undefined;
536
648
  gemini?: {
537
649
  httpProxy?: string | undefined;
538
650
  httpsProxy?: string | undefined;
539
651
  customEnv?: Record<string, string> | undefined;
652
+ customModels?: {
653
+ label: string;
654
+ id: string;
655
+ }[] | undefined;
540
656
  } | undefined;
541
657
  hermes?: {
542
658
  httpProxy?: string | undefined;
543
659
  httpsProxy?: string | undefined;
544
660
  customEnv?: Record<string, string> | undefined;
661
+ customModels?: {
662
+ label: string;
663
+ id: string;
664
+ }[] | undefined;
545
665
  } | undefined;
546
666
  openclaw?: {
547
667
  httpProxy?: string | undefined;
548
668
  httpsProxy?: string | undefined;
549
669
  customEnv?: Record<string, string> | undefined;
670
+ customModels?: {
671
+ label: string;
672
+ id: string;
673
+ }[] | undefined;
550
674
  } | undefined;
551
675
  startupScripts?: string[] | undefined;
552
676
  defaults?: {
553
677
  httpProxy?: string | undefined;
554
678
  httpsProxy?: string | undefined;
555
679
  customEnv?: Record<string, string> | undefined;
680
+ customModels?: {
681
+ label: string;
682
+ id: string;
683
+ }[] | undefined;
556
684
  } | undefined;
557
685
  telemetryEnabled?: boolean | undefined;
558
686
  }, {
@@ -560,45 +688,717 @@ export declare const AgentSettingsSchema: z.ZodObject<{
560
688
  httpProxy?: string | undefined;
561
689
  httpsProxy?: string | undefined;
562
690
  customEnv?: Record<string, string> | undefined;
691
+ customModels?: {
692
+ label: string;
693
+ id: string;
694
+ }[] | undefined;
563
695
  } | undefined;
564
696
  copilot?: {
565
697
  httpProxy?: string | undefined;
566
698
  httpsProxy?: string | undefined;
567
699
  customEnv?: Record<string, string> | undefined;
700
+ customModels?: {
701
+ label: string;
702
+ id: string;
703
+ }[] | undefined;
568
704
  } | undefined;
569
705
  opencode?: {
570
706
  httpProxy?: string | undefined;
571
707
  httpsProxy?: string | undefined;
572
708
  customEnv?: Record<string, string> | undefined;
709
+ customModels?: {
710
+ label: string;
711
+ id: string;
712
+ }[] | undefined;
573
713
  } | undefined;
574
714
  codex?: {
575
715
  httpProxy?: string | undefined;
576
716
  httpsProxy?: string | undefined;
577
717
  customEnv?: Record<string, string> | undefined;
718
+ customModels?: {
719
+ label: string;
720
+ id: string;
721
+ }[] | undefined;
578
722
  } | undefined;
579
723
  gemini?: {
580
724
  httpProxy?: string | undefined;
581
725
  httpsProxy?: string | undefined;
582
726
  customEnv?: Record<string, string> | undefined;
727
+ customModels?: {
728
+ label: string;
729
+ id: string;
730
+ }[] | undefined;
583
731
  } | undefined;
584
732
  hermes?: {
585
733
  httpProxy?: string | undefined;
586
734
  httpsProxy?: string | undefined;
587
735
  customEnv?: Record<string, string> | undefined;
736
+ customModels?: {
737
+ label: string;
738
+ id: string;
739
+ }[] | undefined;
588
740
  } | undefined;
589
741
  openclaw?: {
590
742
  httpProxy?: string | undefined;
591
743
  httpsProxy?: string | undefined;
592
744
  customEnv?: Record<string, string> | undefined;
745
+ customModels?: {
746
+ label: string;
747
+ id: string;
748
+ }[] | undefined;
593
749
  } | undefined;
594
750
  startupScripts?: string[] | undefined;
595
751
  defaults?: {
596
752
  httpProxy?: string | undefined;
597
753
  httpsProxy?: string | undefined;
598
754
  customEnv?: Record<string, string> | undefined;
755
+ customModels?: {
756
+ label: string;
757
+ id: string;
758
+ }[] | undefined;
599
759
  } | undefined;
600
760
  telemetryEnabled?: boolean | undefined;
601
761
  }>;
762
+ export declare const MachineInfoResponseSchema: z.ZodObject<{
763
+ homedir: z.ZodString;
764
+ defaultCwd: z.ZodOptional<z.ZodString>;
765
+ recentCwds: z.ZodArray<z.ZodString, "many">;
766
+ /** All known project directories from ~/.claude/projects/ scan. */
767
+ projectPaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
768
+ availableAgents: z.ZodArray<z.ZodString, "many">;
769
+ agentModels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
770
+ id: z.ZodString;
771
+ displayName: z.ZodString;
772
+ isDefault: z.ZodBoolean;
773
+ hidden: z.ZodBoolean;
774
+ }, "strip", z.ZodTypeAny, {
775
+ id: string;
776
+ displayName: string;
777
+ isDefault: boolean;
778
+ hidden: boolean;
779
+ }, {
780
+ id: string;
781
+ displayName: string;
782
+ isDefault: boolean;
783
+ hidden: boolean;
784
+ }>, "many">>>;
785
+ agentModes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
786
+ id: z.ZodString;
787
+ label: z.ZodString;
788
+ }, "strip", z.ZodTypeAny, {
789
+ label: string;
790
+ id: string;
791
+ }, {
792
+ label: string;
793
+ id: string;
794
+ }>, "many">>>;
795
+ agentSettings: z.ZodOptional<z.ZodObject<{
796
+ defaults: z.ZodOptional<z.ZodObject<{
797
+ httpProxy: z.ZodOptional<z.ZodString>;
798
+ httpsProxy: z.ZodOptional<z.ZodString>;
799
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
800
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
801
+ id: z.ZodString;
802
+ label: z.ZodString;
803
+ }, "strip", z.ZodTypeAny, {
804
+ label: string;
805
+ id: string;
806
+ }, {
807
+ label: string;
808
+ id: string;
809
+ }>, "many">>;
810
+ }, "strip", z.ZodTypeAny, {
811
+ httpProxy?: string | undefined;
812
+ httpsProxy?: string | undefined;
813
+ customEnv?: Record<string, string> | undefined;
814
+ customModels?: {
815
+ label: string;
816
+ id: string;
817
+ }[] | undefined;
818
+ }, {
819
+ httpProxy?: string | undefined;
820
+ httpsProxy?: string | undefined;
821
+ customEnv?: Record<string, string> | undefined;
822
+ customModels?: {
823
+ label: string;
824
+ id: string;
825
+ }[] | undefined;
826
+ }>>;
827
+ startupScripts: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
828
+ telemetryEnabled: z.ZodOptional<z.ZodBoolean>;
829
+ } & {
830
+ claude: z.ZodOptional<z.ZodObject<{
831
+ httpProxy: z.ZodOptional<z.ZodString>;
832
+ httpsProxy: z.ZodOptional<z.ZodString>;
833
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
834
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
835
+ id: z.ZodString;
836
+ label: z.ZodString;
837
+ }, "strip", z.ZodTypeAny, {
838
+ label: string;
839
+ id: string;
840
+ }, {
841
+ label: string;
842
+ id: string;
843
+ }>, "many">>;
844
+ }, "strip", z.ZodTypeAny, {
845
+ httpProxy?: string | undefined;
846
+ httpsProxy?: string | undefined;
847
+ customEnv?: Record<string, string> | undefined;
848
+ customModels?: {
849
+ label: string;
850
+ id: string;
851
+ }[] | undefined;
852
+ }, {
853
+ httpProxy?: string | undefined;
854
+ httpsProxy?: string | undefined;
855
+ customEnv?: Record<string, string> | undefined;
856
+ customModels?: {
857
+ label: string;
858
+ id: string;
859
+ }[] | undefined;
860
+ }>>;
861
+ copilot: z.ZodOptional<z.ZodObject<{
862
+ httpProxy: z.ZodOptional<z.ZodString>;
863
+ httpsProxy: z.ZodOptional<z.ZodString>;
864
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
865
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
866
+ id: z.ZodString;
867
+ label: z.ZodString;
868
+ }, "strip", z.ZodTypeAny, {
869
+ label: string;
870
+ id: string;
871
+ }, {
872
+ label: string;
873
+ id: string;
874
+ }>, "many">>;
875
+ }, "strip", z.ZodTypeAny, {
876
+ httpProxy?: string | undefined;
877
+ httpsProxy?: string | undefined;
878
+ customEnv?: Record<string, string> | undefined;
879
+ customModels?: {
880
+ label: string;
881
+ id: string;
882
+ }[] | undefined;
883
+ }, {
884
+ httpProxy?: string | undefined;
885
+ httpsProxy?: string | undefined;
886
+ customEnv?: Record<string, string> | undefined;
887
+ customModels?: {
888
+ label: string;
889
+ id: string;
890
+ }[] | undefined;
891
+ }>>;
892
+ opencode: z.ZodOptional<z.ZodObject<{
893
+ httpProxy: z.ZodOptional<z.ZodString>;
894
+ httpsProxy: z.ZodOptional<z.ZodString>;
895
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
896
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
897
+ id: z.ZodString;
898
+ label: z.ZodString;
899
+ }, "strip", z.ZodTypeAny, {
900
+ label: string;
901
+ id: string;
902
+ }, {
903
+ label: string;
904
+ id: string;
905
+ }>, "many">>;
906
+ }, "strip", z.ZodTypeAny, {
907
+ httpProxy?: string | undefined;
908
+ httpsProxy?: string | undefined;
909
+ customEnv?: Record<string, string> | undefined;
910
+ customModels?: {
911
+ label: string;
912
+ id: string;
913
+ }[] | undefined;
914
+ }, {
915
+ httpProxy?: string | undefined;
916
+ httpsProxy?: string | undefined;
917
+ customEnv?: Record<string, string> | undefined;
918
+ customModels?: {
919
+ label: string;
920
+ id: string;
921
+ }[] | undefined;
922
+ }>>;
923
+ codex: z.ZodOptional<z.ZodObject<{
924
+ httpProxy: z.ZodOptional<z.ZodString>;
925
+ httpsProxy: z.ZodOptional<z.ZodString>;
926
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
927
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
928
+ id: z.ZodString;
929
+ label: z.ZodString;
930
+ }, "strip", z.ZodTypeAny, {
931
+ label: string;
932
+ id: string;
933
+ }, {
934
+ label: string;
935
+ id: string;
936
+ }>, "many">>;
937
+ }, "strip", z.ZodTypeAny, {
938
+ httpProxy?: string | undefined;
939
+ httpsProxy?: string | undefined;
940
+ customEnv?: Record<string, string> | undefined;
941
+ customModels?: {
942
+ label: string;
943
+ id: string;
944
+ }[] | undefined;
945
+ }, {
946
+ httpProxy?: string | undefined;
947
+ httpsProxy?: string | undefined;
948
+ customEnv?: Record<string, string> | undefined;
949
+ customModels?: {
950
+ label: string;
951
+ id: string;
952
+ }[] | undefined;
953
+ }>>;
954
+ gemini: z.ZodOptional<z.ZodObject<{
955
+ httpProxy: z.ZodOptional<z.ZodString>;
956
+ httpsProxy: z.ZodOptional<z.ZodString>;
957
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
958
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
959
+ id: z.ZodString;
960
+ label: z.ZodString;
961
+ }, "strip", z.ZodTypeAny, {
962
+ label: string;
963
+ id: string;
964
+ }, {
965
+ label: string;
966
+ id: string;
967
+ }>, "many">>;
968
+ }, "strip", z.ZodTypeAny, {
969
+ httpProxy?: string | undefined;
970
+ httpsProxy?: string | undefined;
971
+ customEnv?: Record<string, string> | undefined;
972
+ customModels?: {
973
+ label: string;
974
+ id: string;
975
+ }[] | undefined;
976
+ }, {
977
+ httpProxy?: string | undefined;
978
+ httpsProxy?: string | undefined;
979
+ customEnv?: Record<string, string> | undefined;
980
+ customModels?: {
981
+ label: string;
982
+ id: string;
983
+ }[] | undefined;
984
+ }>>;
985
+ hermes: z.ZodOptional<z.ZodObject<{
986
+ httpProxy: z.ZodOptional<z.ZodString>;
987
+ httpsProxy: z.ZodOptional<z.ZodString>;
988
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
989
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
990
+ id: z.ZodString;
991
+ label: z.ZodString;
992
+ }, "strip", z.ZodTypeAny, {
993
+ label: string;
994
+ id: string;
995
+ }, {
996
+ label: string;
997
+ id: string;
998
+ }>, "many">>;
999
+ }, "strip", z.ZodTypeAny, {
1000
+ httpProxy?: string | undefined;
1001
+ httpsProxy?: string | undefined;
1002
+ customEnv?: Record<string, string> | undefined;
1003
+ customModels?: {
1004
+ label: string;
1005
+ id: string;
1006
+ }[] | undefined;
1007
+ }, {
1008
+ httpProxy?: string | undefined;
1009
+ httpsProxy?: string | undefined;
1010
+ customEnv?: Record<string, string> | undefined;
1011
+ customModels?: {
1012
+ label: string;
1013
+ id: string;
1014
+ }[] | undefined;
1015
+ }>>;
1016
+ openclaw: z.ZodOptional<z.ZodObject<{
1017
+ httpProxy: z.ZodOptional<z.ZodString>;
1018
+ httpsProxy: z.ZodOptional<z.ZodString>;
1019
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1020
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1021
+ id: z.ZodString;
1022
+ label: z.ZodString;
1023
+ }, "strip", z.ZodTypeAny, {
1024
+ label: string;
1025
+ id: string;
1026
+ }, {
1027
+ label: string;
1028
+ id: string;
1029
+ }>, "many">>;
1030
+ }, "strip", z.ZodTypeAny, {
1031
+ httpProxy?: string | undefined;
1032
+ httpsProxy?: string | undefined;
1033
+ customEnv?: Record<string, string> | undefined;
1034
+ customModels?: {
1035
+ label: string;
1036
+ id: string;
1037
+ }[] | undefined;
1038
+ }, {
1039
+ httpProxy?: string | undefined;
1040
+ httpsProxy?: string | undefined;
1041
+ customEnv?: Record<string, string> | undefined;
1042
+ customModels?: {
1043
+ label: string;
1044
+ id: string;
1045
+ }[] | undefined;
1046
+ }>>;
1047
+ }, "strip", z.ZodTypeAny, {
1048
+ claude?: {
1049
+ httpProxy?: string | undefined;
1050
+ httpsProxy?: string | undefined;
1051
+ customEnv?: Record<string, string> | undefined;
1052
+ customModels?: {
1053
+ label: string;
1054
+ id: string;
1055
+ }[] | undefined;
1056
+ } | undefined;
1057
+ copilot?: {
1058
+ httpProxy?: string | undefined;
1059
+ httpsProxy?: string | undefined;
1060
+ customEnv?: Record<string, string> | undefined;
1061
+ customModels?: {
1062
+ label: string;
1063
+ id: string;
1064
+ }[] | undefined;
1065
+ } | undefined;
1066
+ opencode?: {
1067
+ httpProxy?: string | undefined;
1068
+ httpsProxy?: string | undefined;
1069
+ customEnv?: Record<string, string> | undefined;
1070
+ customModels?: {
1071
+ label: string;
1072
+ id: string;
1073
+ }[] | undefined;
1074
+ } | undefined;
1075
+ codex?: {
1076
+ httpProxy?: string | undefined;
1077
+ httpsProxy?: string | undefined;
1078
+ customEnv?: Record<string, string> | undefined;
1079
+ customModels?: {
1080
+ label: string;
1081
+ id: string;
1082
+ }[] | undefined;
1083
+ } | undefined;
1084
+ gemini?: {
1085
+ httpProxy?: string | undefined;
1086
+ httpsProxy?: string | undefined;
1087
+ customEnv?: Record<string, string> | undefined;
1088
+ customModels?: {
1089
+ label: string;
1090
+ id: string;
1091
+ }[] | undefined;
1092
+ } | undefined;
1093
+ hermes?: {
1094
+ httpProxy?: string | undefined;
1095
+ httpsProxy?: string | undefined;
1096
+ customEnv?: Record<string, string> | undefined;
1097
+ customModels?: {
1098
+ label: string;
1099
+ id: string;
1100
+ }[] | undefined;
1101
+ } | undefined;
1102
+ openclaw?: {
1103
+ httpProxy?: string | undefined;
1104
+ httpsProxy?: string | undefined;
1105
+ customEnv?: Record<string, string> | undefined;
1106
+ customModels?: {
1107
+ label: string;
1108
+ id: string;
1109
+ }[] | undefined;
1110
+ } | undefined;
1111
+ startupScripts?: string[] | undefined;
1112
+ defaults?: {
1113
+ httpProxy?: string | undefined;
1114
+ httpsProxy?: string | undefined;
1115
+ customEnv?: Record<string, string> | undefined;
1116
+ customModels?: {
1117
+ label: string;
1118
+ id: string;
1119
+ }[] | undefined;
1120
+ } | undefined;
1121
+ telemetryEnabled?: boolean | undefined;
1122
+ }, {
1123
+ claude?: {
1124
+ httpProxy?: string | undefined;
1125
+ httpsProxy?: string | undefined;
1126
+ customEnv?: Record<string, string> | undefined;
1127
+ customModels?: {
1128
+ label: string;
1129
+ id: string;
1130
+ }[] | undefined;
1131
+ } | undefined;
1132
+ copilot?: {
1133
+ httpProxy?: string | undefined;
1134
+ httpsProxy?: string | undefined;
1135
+ customEnv?: Record<string, string> | undefined;
1136
+ customModels?: {
1137
+ label: string;
1138
+ id: string;
1139
+ }[] | undefined;
1140
+ } | undefined;
1141
+ opencode?: {
1142
+ httpProxy?: string | undefined;
1143
+ httpsProxy?: string | undefined;
1144
+ customEnv?: Record<string, string> | undefined;
1145
+ customModels?: {
1146
+ label: string;
1147
+ id: string;
1148
+ }[] | undefined;
1149
+ } | undefined;
1150
+ codex?: {
1151
+ httpProxy?: string | undefined;
1152
+ httpsProxy?: string | undefined;
1153
+ customEnv?: Record<string, string> | undefined;
1154
+ customModels?: {
1155
+ label: string;
1156
+ id: string;
1157
+ }[] | undefined;
1158
+ } | undefined;
1159
+ gemini?: {
1160
+ httpProxy?: string | undefined;
1161
+ httpsProxy?: string | undefined;
1162
+ customEnv?: Record<string, string> | undefined;
1163
+ customModels?: {
1164
+ label: string;
1165
+ id: string;
1166
+ }[] | undefined;
1167
+ } | undefined;
1168
+ hermes?: {
1169
+ httpProxy?: string | undefined;
1170
+ httpsProxy?: string | undefined;
1171
+ customEnv?: Record<string, string> | undefined;
1172
+ customModels?: {
1173
+ label: string;
1174
+ id: string;
1175
+ }[] | undefined;
1176
+ } | undefined;
1177
+ openclaw?: {
1178
+ httpProxy?: string | undefined;
1179
+ httpsProxy?: string | undefined;
1180
+ customEnv?: Record<string, string> | undefined;
1181
+ customModels?: {
1182
+ label: string;
1183
+ id: string;
1184
+ }[] | undefined;
1185
+ } | undefined;
1186
+ startupScripts?: string[] | undefined;
1187
+ defaults?: {
1188
+ httpProxy?: string | undefined;
1189
+ httpsProxy?: string | undefined;
1190
+ customEnv?: Record<string, string> | undefined;
1191
+ customModels?: {
1192
+ label: string;
1193
+ id: string;
1194
+ }[] | undefined;
1195
+ } | undefined;
1196
+ telemetryEnabled?: boolean | undefined;
1197
+ }>>;
1198
+ }, "strip", z.ZodTypeAny, {
1199
+ homedir: string;
1200
+ recentCwds: string[];
1201
+ projectPaths: string[];
1202
+ availableAgents: string[];
1203
+ defaultCwd?: string | undefined;
1204
+ agentModels?: Record<string, {
1205
+ id: string;
1206
+ displayName: string;
1207
+ isDefault: boolean;
1208
+ hidden: boolean;
1209
+ }[]> | undefined;
1210
+ agentModes?: Record<string, {
1211
+ label: string;
1212
+ id: string;
1213
+ }[]> | undefined;
1214
+ agentSettings?: {
1215
+ claude?: {
1216
+ httpProxy?: string | undefined;
1217
+ httpsProxy?: string | undefined;
1218
+ customEnv?: Record<string, string> | undefined;
1219
+ customModels?: {
1220
+ label: string;
1221
+ id: string;
1222
+ }[] | undefined;
1223
+ } | undefined;
1224
+ copilot?: {
1225
+ httpProxy?: string | undefined;
1226
+ httpsProxy?: string | undefined;
1227
+ customEnv?: Record<string, string> | undefined;
1228
+ customModels?: {
1229
+ label: string;
1230
+ id: string;
1231
+ }[] | undefined;
1232
+ } | undefined;
1233
+ opencode?: {
1234
+ httpProxy?: string | undefined;
1235
+ httpsProxy?: string | undefined;
1236
+ customEnv?: Record<string, string> | undefined;
1237
+ customModels?: {
1238
+ label: string;
1239
+ id: string;
1240
+ }[] | undefined;
1241
+ } | undefined;
1242
+ codex?: {
1243
+ httpProxy?: string | undefined;
1244
+ httpsProxy?: string | undefined;
1245
+ customEnv?: Record<string, string> | undefined;
1246
+ customModels?: {
1247
+ label: string;
1248
+ id: string;
1249
+ }[] | undefined;
1250
+ } | undefined;
1251
+ gemini?: {
1252
+ httpProxy?: string | undefined;
1253
+ httpsProxy?: string | undefined;
1254
+ customEnv?: Record<string, string> | undefined;
1255
+ customModels?: {
1256
+ label: string;
1257
+ id: string;
1258
+ }[] | undefined;
1259
+ } | undefined;
1260
+ hermes?: {
1261
+ httpProxy?: string | undefined;
1262
+ httpsProxy?: string | undefined;
1263
+ customEnv?: Record<string, string> | undefined;
1264
+ customModels?: {
1265
+ label: string;
1266
+ id: string;
1267
+ }[] | undefined;
1268
+ } | undefined;
1269
+ openclaw?: {
1270
+ httpProxy?: string | undefined;
1271
+ httpsProxy?: string | undefined;
1272
+ customEnv?: Record<string, string> | undefined;
1273
+ customModels?: {
1274
+ label: string;
1275
+ id: string;
1276
+ }[] | undefined;
1277
+ } | undefined;
1278
+ startupScripts?: string[] | undefined;
1279
+ defaults?: {
1280
+ httpProxy?: string | undefined;
1281
+ httpsProxy?: string | undefined;
1282
+ customEnv?: Record<string, string> | undefined;
1283
+ customModels?: {
1284
+ label: string;
1285
+ id: string;
1286
+ }[] | undefined;
1287
+ } | undefined;
1288
+ telemetryEnabled?: boolean | undefined;
1289
+ } | undefined;
1290
+ }, {
1291
+ homedir: string;
1292
+ recentCwds: string[];
1293
+ availableAgents: string[];
1294
+ defaultCwd?: string | undefined;
1295
+ projectPaths?: string[] | undefined;
1296
+ agentModels?: Record<string, {
1297
+ id: string;
1298
+ displayName: string;
1299
+ isDefault: boolean;
1300
+ hidden: boolean;
1301
+ }[]> | undefined;
1302
+ agentModes?: Record<string, {
1303
+ label: string;
1304
+ id: string;
1305
+ }[]> | undefined;
1306
+ agentSettings?: {
1307
+ claude?: {
1308
+ httpProxy?: string | undefined;
1309
+ httpsProxy?: string | undefined;
1310
+ customEnv?: Record<string, string> | undefined;
1311
+ customModels?: {
1312
+ label: string;
1313
+ id: string;
1314
+ }[] | undefined;
1315
+ } | undefined;
1316
+ copilot?: {
1317
+ httpProxy?: string | undefined;
1318
+ httpsProxy?: string | undefined;
1319
+ customEnv?: Record<string, string> | undefined;
1320
+ customModels?: {
1321
+ label: string;
1322
+ id: string;
1323
+ }[] | undefined;
1324
+ } | undefined;
1325
+ opencode?: {
1326
+ httpProxy?: string | undefined;
1327
+ httpsProxy?: string | undefined;
1328
+ customEnv?: Record<string, string> | undefined;
1329
+ customModels?: {
1330
+ label: string;
1331
+ id: string;
1332
+ }[] | undefined;
1333
+ } | undefined;
1334
+ codex?: {
1335
+ httpProxy?: string | undefined;
1336
+ httpsProxy?: string | undefined;
1337
+ customEnv?: Record<string, string> | undefined;
1338
+ customModels?: {
1339
+ label: string;
1340
+ id: string;
1341
+ }[] | undefined;
1342
+ } | undefined;
1343
+ gemini?: {
1344
+ httpProxy?: string | undefined;
1345
+ httpsProxy?: string | undefined;
1346
+ customEnv?: Record<string, string> | undefined;
1347
+ customModels?: {
1348
+ label: string;
1349
+ id: string;
1350
+ }[] | undefined;
1351
+ } | undefined;
1352
+ hermes?: {
1353
+ httpProxy?: string | undefined;
1354
+ httpsProxy?: string | undefined;
1355
+ customEnv?: Record<string, string> | undefined;
1356
+ customModels?: {
1357
+ label: string;
1358
+ id: string;
1359
+ }[] | undefined;
1360
+ } | undefined;
1361
+ openclaw?: {
1362
+ httpProxy?: string | undefined;
1363
+ httpsProxy?: string | undefined;
1364
+ customEnv?: Record<string, string> | undefined;
1365
+ customModels?: {
1366
+ label: string;
1367
+ id: string;
1368
+ }[] | undefined;
1369
+ } | undefined;
1370
+ startupScripts?: string[] | undefined;
1371
+ defaults?: {
1372
+ httpProxy?: string | undefined;
1373
+ httpsProxy?: string | undefined;
1374
+ customEnv?: Record<string, string> | undefined;
1375
+ customModels?: {
1376
+ label: string;
1377
+ id: string;
1378
+ }[] | undefined;
1379
+ } | undefined;
1380
+ telemetryEnabled?: boolean | undefined;
1381
+ } | undefined;
1382
+ }>;
1383
+ export declare const CheckPathParamsSchema: z.ZodObject<{
1384
+ cwd: z.ZodString;
1385
+ /** Target machine for multi-host routing. Omit for single-machine (auto-select). */
1386
+ machineId: z.ZodOptional<z.ZodString>;
1387
+ }, "strip", z.ZodTypeAny, {
1388
+ cwd: string;
1389
+ machineId?: string | undefined;
1390
+ }, {
1391
+ cwd: string;
1392
+ machineId?: string | undefined;
1393
+ }>;
1394
+ export declare const LabsSettingsSchema: z.ZodObject<{
1395
+ /** Enable discovery and sync of CLI history sessions (experimental). */
1396
+ historySessionSync: z.ZodDefault<z.ZodBoolean>;
1397
+ }, "strip", z.ZodTypeAny, {
1398
+ historySessionSync: boolean;
1399
+ }, {
1400
+ historySessionSync?: boolean | undefined;
1401
+ }>;
602
1402
  export type RpcCall = z.infer<typeof RpcCallSchema>;
603
1403
  export type RpcResult = z.infer<typeof RpcResultSchema>;
604
1404
  export type SpawnSessionParams = z.infer<typeof SpawnSessionParamsSchema>;