@agentdock/wire 0.0.95 → 0.0.97

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.
Files changed (78) hide show
  1. package/dist/agentCapabilities.d.ts +5 -2
  2. package/dist/agentCapabilities.js +1 -1
  3. package/dist/agentCompatibility.d.ts +83 -0
  4. package/dist/agentCompatibility.js +1 -0
  5. package/dist/agentInstallGuide.js +1 -1
  6. package/dist/checkpointSchemas.d.ts +5 -0
  7. package/dist/checkpointSchemas.js +1 -1
  8. package/dist/enterpriseCurrency.d.ts +120 -0
  9. package/dist/enterpriseCurrency.js +1 -0
  10. package/dist/enterpriseDirectory.d.ts +636 -0
  11. package/dist/enterpriseDirectory.js +1 -0
  12. package/dist/enterpriseFileService.d.ts +7 -0
  13. package/dist/enterpriseFileService.js +1 -0
  14. package/dist/enterpriseGatewayExports.d.ts +4 -0
  15. package/dist/enterpriseGatewayExports.js +1 -0
  16. package/dist/enterpriseOverview.d.ts +423 -0
  17. package/dist/enterpriseOverview.js +1 -0
  18. package/dist/enterprisePolicy.d.ts +452 -489
  19. package/dist/enterprisePolicy.js +1 -1
  20. package/dist/enterprisePolicyExports.d.ts +4 -2
  21. package/dist/enterprisePolicyExports.js +1 -1
  22. package/dist/enterpriseRange.d.ts +19 -0
  23. package/dist/enterpriseRange.js +1 -0
  24. package/dist/enterpriseRuntime.d.ts +574 -46
  25. package/dist/enterpriseRuntime.js +1 -1
  26. package/dist/enterpriseUserContainer.d.ts +2 -0
  27. package/dist/enterpriseUserContainer.js +1 -0
  28. package/dist/gateway.d.ts +1393 -876
  29. package/dist/gateway.js +1 -1
  30. package/dist/gatewayBodyRetention.d.ts +149 -0
  31. package/dist/gatewayBodyRetention.js +2 -0
  32. package/dist/gatewayUsage.d.ts +3248 -0
  33. package/dist/gatewayUsage.js +1 -0
  34. package/dist/inboundEvents.d.ts +0 -6
  35. package/dist/inboundEvents.js +1 -1
  36. package/dist/index.d.ts +15 -6
  37. package/dist/index.js +1 -1
  38. package/dist/interactionEvents.d.ts +2 -2
  39. package/dist/legacyProtocol.d.ts +36 -36
  40. package/dist/machine.d.ts +1 -6
  41. package/dist/machine.js +1 -1
  42. package/dist/messageMeta.d.ts +9 -7
  43. package/dist/messageMeta.js +1 -1
  44. package/dist/messages.d.ts +36 -36
  45. package/dist/ops.d.ts +112 -0
  46. package/dist/ops.js +1 -1
  47. package/dist/opsExports.d.ts +4 -0
  48. package/dist/opsExports.js +1 -0
  49. package/dist/pushPreferences.d.ts +12 -0
  50. package/dist/pushPreferences.js +1 -0
  51. package/dist/rpc.d.ts +537 -66
  52. package/dist/rpc.js +1 -1
  53. package/dist/scheduledTasks.d.ts +96 -21
  54. package/dist/scheduledTasks.js +1 -1
  55. package/dist/session.d.ts +4 -0
  56. package/dist/session.js +1 -0
  57. package/dist/sessionBtw.d.ts +2 -2
  58. package/dist/sessionFiles.d.ts +70 -0
  59. package/dist/sessionFiles.js +1 -0
  60. package/dist/sessionSlashCommands.d.ts +15 -0
  61. package/dist/sessionSlashCommands.js +1 -0
  62. package/dist/spawnError.d.ts +3 -3
  63. package/dist/stats.d.ts +31 -31
  64. package/dist/sync.d.ts +45 -45
  65. package/dist/sync.js +1 -1
  66. package/dist/telemetry.d.ts +13 -13
  67. package/dist/telemetry.js +1 -1
  68. package/dist/workspaceFileReaderProtocol.d.ts +270 -0
  69. package/dist/workspaceFileReaderProtocol.js +1 -0
  70. package/dist/workspaceFileRelay.d.ts +188 -0
  71. package/dist/workspaceFileRelay.js +1 -0
  72. package/package.json +1 -1
  73. package/dist/agentRuntimeSettings.d.ts +0 -139
  74. package/dist/agentRuntimeSettings.js +0 -1
  75. package/dist/enterpriseGateway.d.ts +0 -214
  76. package/dist/enterpriseGateway.js +0 -1
  77. package/dist/goals.d.ts +0 -829
  78. package/dist/goals.js +0 -1
package/dist/rpc.d.ts CHANGED
@@ -43,15 +43,63 @@ export declare const RpcResultSchema: z.ZodDiscriminatedUnion<"ok", [z.ZodObject
43
43
  }>, z.ZodObject<{
44
44
  ok: z.ZodLiteral<false>;
45
45
  error: z.ZodString;
46
+ message: z.ZodOptional<z.ZodString>;
47
+ compatibilityBlock: z.ZodOptional<z.ZodEffects<z.ZodObject<{
48
+ status: z.ZodEnum<["too_old", "known_bad", "protocol_incompatible"]>;
49
+ detectedVersion: z.ZodNullable<z.ZodString>;
50
+ reasonCode: z.ZodEnum<["version_below_minimum", "version_known_bad", "protocol_handshake_failed", "required_capability_missing"]>;
51
+ action: z.ZodEnum<["upgrade", "downgrade", "wait_for_fix", "upgrade_agentdock"]>;
52
+ stage: z.ZodEnum<["discovery", "spawn", "acp_initialize"]>;
53
+ }, "strict", z.ZodTypeAny, {
54
+ status: "too_old" | "known_bad" | "protocol_incompatible";
55
+ detectedVersion: string | null;
56
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
57
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
58
+ stage: "discovery" | "spawn" | "acp_initialize";
59
+ }, {
60
+ status: "too_old" | "known_bad" | "protocol_incompatible";
61
+ detectedVersion: string | null;
62
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
63
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
64
+ stage: "discovery" | "spawn" | "acp_initialize";
65
+ }>, {
66
+ status: "too_old" | "known_bad" | "protocol_incompatible";
67
+ detectedVersion: string | null;
68
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
69
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
70
+ stage: "discovery" | "spawn" | "acp_initialize";
71
+ }, {
72
+ status: "too_old" | "known_bad" | "protocol_incompatible";
73
+ detectedVersion: string | null;
74
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
75
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
76
+ stage: "discovery" | "spawn" | "acp_initialize";
77
+ }>>;
46
78
  }, "strip", z.ZodTypeAny, {
47
79
  error: string;
48
80
  ok: false;
81
+ message?: string | undefined;
82
+ compatibilityBlock?: {
83
+ status: "too_old" | "known_bad" | "protocol_incompatible";
84
+ detectedVersion: string | null;
85
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
86
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
87
+ stage: "discovery" | "spawn" | "acp_initialize";
88
+ } | undefined;
49
89
  }, {
50
90
  error: string;
51
91
  ok: false;
92
+ message?: string | undefined;
93
+ compatibilityBlock?: {
94
+ status: "too_old" | "known_bad" | "protocol_incompatible";
95
+ detectedVersion: string | null;
96
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
97
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
98
+ stage: "discovery" | "spawn" | "acp_initialize";
99
+ } | undefined;
52
100
  }>]>;
53
101
  export declare const SpawnSessionParamsSchema: z.ZodObject<{
54
- agentType: z.ZodEnum<["claude", "copilot", "opencode", "codex", "gemini", "hermes", "openclaw"]>;
102
+ agentType: z.ZodEnum<["claude", "codex", "opencode", "pi", "copilot", "gemini", "hermes", "openclaw"]>;
55
103
  cwd: z.ZodString;
56
104
  prompt: z.ZodOptional<z.ZodString>;
57
105
  permissionMode: z.ZodDefault<z.ZodString>;
@@ -197,16 +245,16 @@ export declare const SpawnSessionParamsSchema: z.ZodObject<{
197
245
  useWindowsTerminal: z.ZodOptional<z.ZodBoolean>;
198
246
  }, "strict", z.ZodTypeAny, {
199
247
  permissionMode: string;
200
- agentType: "hermes" | "codex" | "claude" | "copilot" | "opencode" | "gemini" | "openclaw";
248
+ agentType: "claude" | "codex" | "opencode" | "pi" | "copilot" | "gemini" | "hermes" | "openclaw";
201
249
  source: "managed" | "history" | "scheduled";
202
250
  cwd: string;
203
251
  background: boolean;
204
- env?: Record<string, string> | undefined;
205
252
  model?: string | undefined;
206
253
  fallbackModel?: string | undefined;
207
254
  appendSystemPrompt?: string | undefined;
208
255
  allowedTools?: string[] | undefined;
209
256
  disallowedTools?: string[] | undefined;
257
+ env?: Record<string, string> | undefined;
210
258
  sessionId?: string | undefined;
211
259
  agents?: string | undefined;
212
260
  agent?: string | undefined;
@@ -258,15 +306,15 @@ export declare const SpawnSessionParamsSchema: z.ZodObject<{
258
306
  startupScripts?: string[] | undefined;
259
307
  useWindowsTerminal?: boolean | undefined;
260
308
  }, {
261
- agentType: "hermes" | "codex" | "claude" | "copilot" | "opencode" | "gemini" | "openclaw";
309
+ agentType: "claude" | "codex" | "opencode" | "pi" | "copilot" | "gemini" | "hermes" | "openclaw";
262
310
  cwd: string;
263
- env?: Record<string, string> | undefined;
264
311
  permissionMode?: string | undefined;
265
312
  model?: string | undefined;
266
313
  fallbackModel?: string | undefined;
267
314
  appendSystemPrompt?: string | undefined;
268
315
  allowedTools?: string[] | undefined;
269
316
  disallowedTools?: string[] | undefined;
317
+ env?: Record<string, string> | undefined;
270
318
  sessionId?: string | undefined;
271
319
  agents?: string | undefined;
272
320
  source?: "managed" | "history" | "scheduled" | undefined;
@@ -807,7 +855,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
807
855
  dingtalk?: string | undefined;
808
856
  }>>;
809
857
  } & {
810
- hermes: z.ZodOptional<z.ZodObject<{
858
+ claude: z.ZodOptional<z.ZodObject<{
811
859
  httpProxy: z.ZodOptional<z.ZodString>;
812
860
  httpsProxy: z.ZodOptional<z.ZodString>;
813
861
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -869,7 +917,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
869
917
  id: string;
870
918
  }[] | undefined;
871
919
  }>>;
872
- claude: z.ZodOptional<z.ZodObject<{
920
+ opencode: z.ZodOptional<z.ZodObject<{
873
921
  httpProxy: z.ZodOptional<z.ZodString>;
874
922
  httpsProxy: z.ZodOptional<z.ZodString>;
875
923
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -900,7 +948,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
900
948
  id: string;
901
949
  }[] | undefined;
902
950
  }>>;
903
- copilot: z.ZodOptional<z.ZodObject<{
951
+ pi: z.ZodOptional<z.ZodObject<{
904
952
  httpProxy: z.ZodOptional<z.ZodString>;
905
953
  httpsProxy: z.ZodOptional<z.ZodString>;
906
954
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -931,7 +979,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
931
979
  id: string;
932
980
  }[] | undefined;
933
981
  }>>;
934
- opencode: z.ZodOptional<z.ZodObject<{
982
+ copilot: z.ZodOptional<z.ZodObject<{
935
983
  httpProxy: z.ZodOptional<z.ZodString>;
936
984
  httpsProxy: z.ZodOptional<z.ZodString>;
937
985
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -993,6 +1041,37 @@ export declare const AgentSettingsSchema: z.ZodObject<{
993
1041
  id: string;
994
1042
  }[] | undefined;
995
1043
  }>>;
1044
+ hermes: z.ZodOptional<z.ZodObject<{
1045
+ httpProxy: z.ZodOptional<z.ZodString>;
1046
+ httpsProxy: z.ZodOptional<z.ZodString>;
1047
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
1048
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1049
+ id: z.ZodString;
1050
+ label: z.ZodString;
1051
+ }, "strip", z.ZodTypeAny, {
1052
+ label: string;
1053
+ id: string;
1054
+ }, {
1055
+ label: string;
1056
+ id: string;
1057
+ }>, "many">>;
1058
+ }, "strict", z.ZodTypeAny, {
1059
+ httpProxy?: string | undefined;
1060
+ httpsProxy?: string | undefined;
1061
+ customEnv?: Record<string, string> | undefined;
1062
+ customModels?: {
1063
+ label: string;
1064
+ id: string;
1065
+ }[] | undefined;
1066
+ }, {
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
+ }>>;
996
1075
  openclaw: z.ZodOptional<z.ZodObject<{
997
1076
  httpProxy: z.ZodOptional<z.ZodString>;
998
1077
  httpsProxy: z.ZodOptional<z.ZodString>;
@@ -1033,7 +1112,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1033
1112
  enabled: boolean;
1034
1113
  }>>;
1035
1114
  }, "strip", z.ZodTypeAny, {
1036
- hermes?: {
1115
+ claude?: {
1037
1116
  httpProxy?: string | undefined;
1038
1117
  httpsProxy?: string | undefined;
1039
1118
  customEnv?: Record<string, string> | undefined;
@@ -1051,7 +1130,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1051
1130
  id: string;
1052
1131
  }[] | undefined;
1053
1132
  } | undefined;
1054
- claude?: {
1133
+ opencode?: {
1055
1134
  httpProxy?: string | undefined;
1056
1135
  httpsProxy?: string | undefined;
1057
1136
  customEnv?: Record<string, string> | undefined;
@@ -1060,7 +1139,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1060
1139
  id: string;
1061
1140
  }[] | undefined;
1062
1141
  } | undefined;
1063
- copilot?: {
1142
+ pi?: {
1064
1143
  httpProxy?: string | undefined;
1065
1144
  httpsProxy?: string | undefined;
1066
1145
  customEnv?: Record<string, string> | undefined;
@@ -1069,7 +1148,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1069
1148
  id: string;
1070
1149
  }[] | undefined;
1071
1150
  } | undefined;
1072
- opencode?: {
1151
+ copilot?: {
1073
1152
  httpProxy?: string | undefined;
1074
1153
  httpsProxy?: string | undefined;
1075
1154
  customEnv?: Record<string, string> | undefined;
@@ -1087,6 +1166,15 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1087
1166
  id: string;
1088
1167
  }[] | undefined;
1089
1168
  } | undefined;
1169
+ hermes?: {
1170
+ httpProxy?: string | undefined;
1171
+ httpsProxy?: string | undefined;
1172
+ customEnv?: Record<string, string> | undefined;
1173
+ customModels?: {
1174
+ label: string;
1175
+ id: string;
1176
+ }[] | undefined;
1177
+ } | undefined;
1090
1178
  openclaw?: {
1091
1179
  httpProxy?: string | undefined;
1092
1180
  httpsProxy?: string | undefined;
@@ -1114,7 +1202,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1114
1202
  enabled: boolean;
1115
1203
  } | undefined;
1116
1204
  }, {
1117
- hermes?: {
1205
+ claude?: {
1118
1206
  httpProxy?: string | undefined;
1119
1207
  httpsProxy?: string | undefined;
1120
1208
  customEnv?: Record<string, string> | undefined;
@@ -1132,7 +1220,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1132
1220
  id: string;
1133
1221
  }[] | undefined;
1134
1222
  } | undefined;
1135
- claude?: {
1223
+ opencode?: {
1136
1224
  httpProxy?: string | undefined;
1137
1225
  httpsProxy?: string | undefined;
1138
1226
  customEnv?: Record<string, string> | undefined;
@@ -1141,7 +1229,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1141
1229
  id: string;
1142
1230
  }[] | undefined;
1143
1231
  } | undefined;
1144
- copilot?: {
1232
+ pi?: {
1145
1233
  httpProxy?: string | undefined;
1146
1234
  httpsProxy?: string | undefined;
1147
1235
  customEnv?: Record<string, string> | undefined;
@@ -1150,7 +1238,7 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1150
1238
  id: string;
1151
1239
  }[] | undefined;
1152
1240
  } | undefined;
1153
- opencode?: {
1241
+ copilot?: {
1154
1242
  httpProxy?: string | undefined;
1155
1243
  httpsProxy?: string | undefined;
1156
1244
  customEnv?: Record<string, string> | undefined;
@@ -1168,6 +1256,15 @@ export declare const AgentSettingsSchema: z.ZodObject<{
1168
1256
  id: string;
1169
1257
  }[] | undefined;
1170
1258
  } | undefined;
1259
+ hermes?: {
1260
+ httpProxy?: string | undefined;
1261
+ httpsProxy?: string | undefined;
1262
+ customEnv?: Record<string, string> | undefined;
1263
+ customModels?: {
1264
+ label: string;
1265
+ id: string;
1266
+ }[] | undefined;
1267
+ } | undefined;
1171
1268
  openclaw?: {
1172
1269
  httpProxy?: string | undefined;
1173
1270
  httpsProxy?: string | undefined;
@@ -1228,7 +1325,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1228
1325
 
1229
1326
  machineId: z.ZodOptional<z.ZodString>;
1230
1327
  } & {
1231
- hermes: z.ZodOptional<z.ZodObject<{
1328
+ claude: z.ZodOptional<z.ZodObject<{
1232
1329
  httpProxy: z.ZodOptional<z.ZodString>;
1233
1330
  httpsProxy: z.ZodOptional<z.ZodString>;
1234
1331
  customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1284,7 +1381,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1284
1381
  id: string;
1285
1382
  }[] | undefined;
1286
1383
  }>>;
1287
- claude: z.ZodOptional<z.ZodObject<{
1384
+ opencode: z.ZodOptional<z.ZodObject<{
1288
1385
  httpProxy: z.ZodOptional<z.ZodString>;
1289
1386
  httpsProxy: z.ZodOptional<z.ZodString>;
1290
1387
  customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1312,7 +1409,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1312
1409
  id: string;
1313
1410
  }[] | undefined;
1314
1411
  }>>;
1315
- copilot: z.ZodOptional<z.ZodObject<{
1412
+ pi: z.ZodOptional<z.ZodObject<{
1316
1413
  httpProxy: z.ZodOptional<z.ZodString>;
1317
1414
  httpsProxy: z.ZodOptional<z.ZodString>;
1318
1415
  customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1340,7 +1437,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1340
1437
  id: string;
1341
1438
  }[] | undefined;
1342
1439
  }>>;
1343
- opencode: z.ZodOptional<z.ZodObject<{
1440
+ copilot: z.ZodOptional<z.ZodObject<{
1344
1441
  httpProxy: z.ZodOptional<z.ZodString>;
1345
1442
  httpsProxy: z.ZodOptional<z.ZodString>;
1346
1443
  customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -1396,6 +1493,34 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1396
1493
  id: string;
1397
1494
  }[] | undefined;
1398
1495
  }>>;
1496
+ hermes: z.ZodOptional<z.ZodObject<{
1497
+ httpProxy: z.ZodOptional<z.ZodString>;
1498
+ httpsProxy: z.ZodOptional<z.ZodString>;
1499
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
1500
+ id: z.ZodString;
1501
+ label: z.ZodString;
1502
+ }, "strip", z.ZodTypeAny, {
1503
+ label: string;
1504
+ id: string;
1505
+ }, {
1506
+ label: string;
1507
+ id: string;
1508
+ }>, "many">>;
1509
+ }, "strict", z.ZodTypeAny, {
1510
+ httpProxy?: string | undefined;
1511
+ httpsProxy?: string | undefined;
1512
+ customModels?: {
1513
+ label: string;
1514
+ id: string;
1515
+ }[] | undefined;
1516
+ }, {
1517
+ httpProxy?: string | undefined;
1518
+ httpsProxy?: string | undefined;
1519
+ customModels?: {
1520
+ label: string;
1521
+ id: string;
1522
+ }[] | undefined;
1523
+ }>>;
1399
1524
  openclaw: z.ZodOptional<z.ZodObject<{
1400
1525
  httpProxy: z.ZodOptional<z.ZodString>;
1401
1526
  httpsProxy: z.ZodOptional<z.ZodString>;
@@ -1433,7 +1558,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1433
1558
  enabled: boolean;
1434
1559
  }>>;
1435
1560
  }, "strict", z.ZodTypeAny, {
1436
- hermes?: {
1561
+ claude?: {
1437
1562
  httpProxy?: string | undefined;
1438
1563
  httpsProxy?: string | undefined;
1439
1564
  customModels?: {
@@ -1449,7 +1574,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1449
1574
  id: string;
1450
1575
  }[] | undefined;
1451
1576
  } | undefined;
1452
- claude?: {
1577
+ opencode?: {
1453
1578
  httpProxy?: string | undefined;
1454
1579
  httpsProxy?: string | undefined;
1455
1580
  customModels?: {
@@ -1457,7 +1582,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1457
1582
  id: string;
1458
1583
  }[] | undefined;
1459
1584
  } | undefined;
1460
- copilot?: {
1585
+ pi?: {
1461
1586
  httpProxy?: string | undefined;
1462
1587
  httpsProxy?: string | undefined;
1463
1588
  customModels?: {
@@ -1465,7 +1590,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1465
1590
  id: string;
1466
1591
  }[] | undefined;
1467
1592
  } | undefined;
1468
- opencode?: {
1593
+ copilot?: {
1469
1594
  httpProxy?: string | undefined;
1470
1595
  httpsProxy?: string | undefined;
1471
1596
  customModels?: {
@@ -1481,6 +1606,14 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1481
1606
  id: string;
1482
1607
  }[] | undefined;
1483
1608
  } | undefined;
1609
+ hermes?: {
1610
+ httpProxy?: string | undefined;
1611
+ httpsProxy?: string | undefined;
1612
+ customModels?: {
1613
+ label: string;
1614
+ id: string;
1615
+ }[] | undefined;
1616
+ } | undefined;
1484
1617
  openclaw?: {
1485
1618
  httpProxy?: string | undefined;
1486
1619
  httpsProxy?: string | undefined;
@@ -1502,7 +1635,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1502
1635
  enabled: boolean;
1503
1636
  } | undefined;
1504
1637
  }, {
1505
- hermes?: {
1638
+ claude?: {
1506
1639
  httpProxy?: string | undefined;
1507
1640
  httpsProxy?: string | undefined;
1508
1641
  customModels?: {
@@ -1518,7 +1651,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1518
1651
  id: string;
1519
1652
  }[] | undefined;
1520
1653
  } | undefined;
1521
- claude?: {
1654
+ opencode?: {
1522
1655
  httpProxy?: string | undefined;
1523
1656
  httpsProxy?: string | undefined;
1524
1657
  customModels?: {
@@ -1526,7 +1659,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1526
1659
  id: string;
1527
1660
  }[] | undefined;
1528
1661
  } | undefined;
1529
- copilot?: {
1662
+ pi?: {
1530
1663
  httpProxy?: string | undefined;
1531
1664
  httpsProxy?: string | undefined;
1532
1665
  customModels?: {
@@ -1534,7 +1667,7 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1534
1667
  id: string;
1535
1668
  }[] | undefined;
1536
1669
  } | undefined;
1537
- opencode?: {
1670
+ copilot?: {
1538
1671
  httpProxy?: string | undefined;
1539
1672
  httpsProxy?: string | undefined;
1540
1673
  customModels?: {
@@ -1550,6 +1683,14 @@ export declare const SetAgentSettingsSchema: z.ZodObject<{
1550
1683
  id: string;
1551
1684
  }[] | undefined;
1552
1685
  } | undefined;
1686
+ hermes?: {
1687
+ httpProxy?: string | undefined;
1688
+ httpsProxy?: string | undefined;
1689
+ customModels?: {
1690
+ label: string;
1691
+ id: string;
1692
+ }[] | undefined;
1693
+ } | undefined;
1553
1694
  openclaw?: {
1554
1695
  httpProxy?: string | undefined;
1555
1696
  httpsProxy?: string | undefined;
@@ -1579,14 +1720,60 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1579
1720
 
1580
1721
  projectPaths: z.ZodDefault<z.ZodOptional<z.ZodArray<z.ZodString, "many">>>;
1581
1722
  availableAgents: z.ZodArray<z.ZodString, "many">;
1723
+
1724
+ availableAgentsAuthoritative: z.ZodOptional<z.ZodBoolean>;
1725
+
1726
+ agentCompatibilityBlocks: z.ZodOptional<z.ZodEffects<z.ZodRecord<z.ZodString, z.ZodEffects<z.ZodObject<{
1727
+ status: z.ZodEnum<["too_old", "known_bad", "protocol_incompatible"]>;
1728
+ detectedVersion: z.ZodNullable<z.ZodString>;
1729
+ reasonCode: z.ZodEnum<["version_below_minimum", "version_known_bad", "protocol_handshake_failed", "required_capability_missing"]>;
1730
+ action: z.ZodEnum<["upgrade", "downgrade", "wait_for_fix", "upgrade_agentdock"]>;
1731
+ stage: z.ZodEnum<["discovery", "spawn", "acp_initialize"]>;
1732
+ }, "strict", z.ZodTypeAny, {
1733
+ status: "too_old" | "known_bad" | "protocol_incompatible";
1734
+ detectedVersion: string | null;
1735
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
1736
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
1737
+ stage: "discovery" | "spawn" | "acp_initialize";
1738
+ }, {
1739
+ status: "too_old" | "known_bad" | "protocol_incompatible";
1740
+ detectedVersion: string | null;
1741
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
1742
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
1743
+ stage: "discovery" | "spawn" | "acp_initialize";
1744
+ }>, {
1745
+ status: "too_old" | "known_bad" | "protocol_incompatible";
1746
+ detectedVersion: string | null;
1747
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
1748
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
1749
+ stage: "discovery" | "spawn" | "acp_initialize";
1750
+ }, {
1751
+ status: "too_old" | "known_bad" | "protocol_incompatible";
1752
+ detectedVersion: string | null;
1753
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
1754
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
1755
+ stage: "discovery" | "spawn" | "acp_initialize";
1756
+ }>>, Record<string, {
1757
+ status: "too_old" | "known_bad" | "protocol_incompatible";
1758
+ detectedVersion: string | null;
1759
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
1760
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
1761
+ stage: "discovery" | "spawn" | "acp_initialize";
1762
+ }>, Record<string, {
1763
+ status: "too_old" | "known_bad" | "protocol_incompatible";
1764
+ detectedVersion: string | null;
1765
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
1766
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
1767
+ stage: "discovery" | "spawn" | "acp_initialize";
1768
+ }>>>;
1582
1769
  agentModels: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1583
1770
  id: z.ZodString;
1584
1771
  displayName: z.ZodString;
1585
1772
  isDefault: z.ZodBoolean;
1586
1773
  hidden: z.ZodBoolean;
1587
- source: z.ZodDefault<z.ZodOptional<z.ZodEnum<["builtin", "acp", "env", "custom"]>>>;
1774
+ source: z.ZodDefault<z.ZodOptional<z.ZodEnum<["builtin", "acp", "runtime", "env", "custom"]>>>;
1588
1775
  }, "strip", z.ZodTypeAny, {
1589
- source: "custom" | "builtin" | "acp" | "env";
1776
+ source: "custom" | "builtin" | "acp" | "runtime" | "env";
1590
1777
  id: string;
1591
1778
  displayName: string;
1592
1779
  isDefault: boolean;
@@ -1596,7 +1783,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1596
1783
  displayName: string;
1597
1784
  isDefault: boolean;
1598
1785
  hidden: boolean;
1599
- source?: "custom" | "builtin" | "acp" | "env" | undefined;
1786
+ source?: "custom" | "builtin" | "acp" | "runtime" | "env" | undefined;
1600
1787
  }>, "many">>>;
1601
1788
  agentModes: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
1602
1789
  id: z.ZodString;
@@ -1654,7 +1841,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1654
1841
  dingtalk?: string | undefined;
1655
1842
  }>>;
1656
1843
  } & {
1657
- hermes: z.ZodOptional<z.ZodObject<{
1844
+ claude: z.ZodOptional<z.ZodObject<{
1658
1845
  httpProxy: z.ZodOptional<z.ZodString>;
1659
1846
  httpsProxy: z.ZodOptional<z.ZodString>;
1660
1847
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1716,7 +1903,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1716
1903
  id: string;
1717
1904
  }[] | undefined;
1718
1905
  }>>;
1719
- claude: z.ZodOptional<z.ZodObject<{
1906
+ opencode: z.ZodOptional<z.ZodObject<{
1720
1907
  httpProxy: z.ZodOptional<z.ZodString>;
1721
1908
  httpsProxy: z.ZodOptional<z.ZodString>;
1722
1909
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1747,7 +1934,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1747
1934
  id: string;
1748
1935
  }[] | undefined;
1749
1936
  }>>;
1750
- copilot: z.ZodOptional<z.ZodObject<{
1937
+ pi: z.ZodOptional<z.ZodObject<{
1751
1938
  httpProxy: z.ZodOptional<z.ZodString>;
1752
1939
  httpsProxy: z.ZodOptional<z.ZodString>;
1753
1940
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1778,7 +1965,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1778
1965
  id: string;
1779
1966
  }[] | undefined;
1780
1967
  }>>;
1781
- opencode: z.ZodOptional<z.ZodObject<{
1968
+ copilot: z.ZodOptional<z.ZodObject<{
1782
1969
  httpProxy: z.ZodOptional<z.ZodString>;
1783
1970
  httpsProxy: z.ZodOptional<z.ZodString>;
1784
1971
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -1840,6 +2027,37 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1840
2027
  id: string;
1841
2028
  }[] | undefined;
1842
2029
  }>>;
2030
+ hermes: z.ZodOptional<z.ZodObject<{
2031
+ httpProxy: z.ZodOptional<z.ZodString>;
2032
+ httpsProxy: z.ZodOptional<z.ZodString>;
2033
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2034
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
2035
+ id: z.ZodString;
2036
+ label: z.ZodString;
2037
+ }, "strip", z.ZodTypeAny, {
2038
+ label: string;
2039
+ id: string;
2040
+ }, {
2041
+ label: string;
2042
+ id: string;
2043
+ }>, "many">>;
2044
+ }, "strict", z.ZodTypeAny, {
2045
+ httpProxy?: string | undefined;
2046
+ httpsProxy?: string | undefined;
2047
+ customEnv?: Record<string, string> | undefined;
2048
+ customModels?: {
2049
+ label: string;
2050
+ id: string;
2051
+ }[] | undefined;
2052
+ }, {
2053
+ httpProxy?: string | undefined;
2054
+ httpsProxy?: string | undefined;
2055
+ customEnv?: Record<string, string> | undefined;
2056
+ customModels?: {
2057
+ label: string;
2058
+ id: string;
2059
+ }[] | undefined;
2060
+ }>>;
1843
2061
  openclaw: z.ZodOptional<z.ZodObject<{
1844
2062
  httpProxy: z.ZodOptional<z.ZodString>;
1845
2063
  httpsProxy: z.ZodOptional<z.ZodString>;
@@ -1880,7 +2098,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1880
2098
  enabled: boolean;
1881
2099
  }>>;
1882
2100
  }, "strip", z.ZodTypeAny, {
1883
- hermes?: {
2101
+ claude?: {
1884
2102
  httpProxy?: string | undefined;
1885
2103
  httpsProxy?: string | undefined;
1886
2104
  customEnv?: Record<string, string> | undefined;
@@ -1898,7 +2116,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1898
2116
  id: string;
1899
2117
  }[] | undefined;
1900
2118
  } | undefined;
1901
- claude?: {
2119
+ opencode?: {
1902
2120
  httpProxy?: string | undefined;
1903
2121
  httpsProxy?: string | undefined;
1904
2122
  customEnv?: Record<string, string> | undefined;
@@ -1907,7 +2125,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1907
2125
  id: string;
1908
2126
  }[] | undefined;
1909
2127
  } | undefined;
1910
- copilot?: {
2128
+ pi?: {
1911
2129
  httpProxy?: string | undefined;
1912
2130
  httpsProxy?: string | undefined;
1913
2131
  customEnv?: Record<string, string> | undefined;
@@ -1916,7 +2134,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1916
2134
  id: string;
1917
2135
  }[] | undefined;
1918
2136
  } | undefined;
1919
- opencode?: {
2137
+ copilot?: {
1920
2138
  httpProxy?: string | undefined;
1921
2139
  httpsProxy?: string | undefined;
1922
2140
  customEnv?: Record<string, string> | undefined;
@@ -1934,6 +2152,15 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1934
2152
  id: string;
1935
2153
  }[] | undefined;
1936
2154
  } | undefined;
2155
+ hermes?: {
2156
+ httpProxy?: string | undefined;
2157
+ httpsProxy?: string | undefined;
2158
+ customEnv?: Record<string, string> | undefined;
2159
+ customModels?: {
2160
+ label: string;
2161
+ id: string;
2162
+ }[] | undefined;
2163
+ } | undefined;
1937
2164
  openclaw?: {
1938
2165
  httpProxy?: string | undefined;
1939
2166
  httpsProxy?: string | undefined;
@@ -1961,7 +2188,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1961
2188
  enabled: boolean;
1962
2189
  } | undefined;
1963
2190
  }, {
1964
- hermes?: {
2191
+ claude?: {
1965
2192
  httpProxy?: string | undefined;
1966
2193
  httpsProxy?: string | undefined;
1967
2194
  customEnv?: Record<string, string> | undefined;
@@ -1979,7 +2206,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1979
2206
  id: string;
1980
2207
  }[] | undefined;
1981
2208
  } | undefined;
1982
- claude?: {
2209
+ opencode?: {
1983
2210
  httpProxy?: string | undefined;
1984
2211
  httpsProxy?: string | undefined;
1985
2212
  customEnv?: Record<string, string> | undefined;
@@ -1988,7 +2215,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1988
2215
  id: string;
1989
2216
  }[] | undefined;
1990
2217
  } | undefined;
1991
- copilot?: {
2218
+ pi?: {
1992
2219
  httpProxy?: string | undefined;
1993
2220
  httpsProxy?: string | undefined;
1994
2221
  customEnv?: Record<string, string> | undefined;
@@ -1997,7 +2224,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
1997
2224
  id: string;
1998
2225
  }[] | undefined;
1999
2226
  } | undefined;
2000
- opencode?: {
2227
+ copilot?: {
2001
2228
  httpProxy?: string | undefined;
2002
2229
  httpsProxy?: string | undefined;
2003
2230
  customEnv?: Record<string, string> | undefined;
@@ -2015,6 +2242,15 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2015
2242
  id: string;
2016
2243
  }[] | undefined;
2017
2244
  } | undefined;
2245
+ hermes?: {
2246
+ httpProxy?: string | undefined;
2247
+ httpsProxy?: string | undefined;
2248
+ customEnv?: Record<string, string> | undefined;
2249
+ customModels?: {
2250
+ label: string;
2251
+ id: string;
2252
+ }[] | undefined;
2253
+ } | undefined;
2018
2254
  openclaw?: {
2019
2255
  httpProxy?: string | undefined;
2020
2256
  httpsProxy?: string | undefined;
@@ -2079,8 +2315,16 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2079
2315
  projectPaths: string[];
2080
2316
  availableAgents: string[];
2081
2317
  defaultCwd?: string | undefined;
2318
+ availableAgentsAuthoritative?: boolean | undefined;
2319
+ agentCompatibilityBlocks?: Record<string, {
2320
+ status: "too_old" | "known_bad" | "protocol_incompatible";
2321
+ detectedVersion: string | null;
2322
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
2323
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
2324
+ stage: "discovery" | "spawn" | "acp_initialize";
2325
+ }> | undefined;
2082
2326
  agentModels?: Record<string, {
2083
- source: "custom" | "builtin" | "acp" | "env";
2327
+ source: "custom" | "builtin" | "acp" | "runtime" | "env";
2084
2328
  id: string;
2085
2329
  displayName: string;
2086
2330
  isDefault: boolean;
@@ -2092,7 +2336,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2092
2336
  }[]> | undefined;
2093
2337
  agentCliPaths?: Record<string, string> | undefined;
2094
2338
  agentSettings?: {
2095
- hermes?: {
2339
+ claude?: {
2096
2340
  httpProxy?: string | undefined;
2097
2341
  httpsProxy?: string | undefined;
2098
2342
  customEnv?: Record<string, string> | undefined;
@@ -2110,7 +2354,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2110
2354
  id: string;
2111
2355
  }[] | undefined;
2112
2356
  } | undefined;
2113
- claude?: {
2357
+ opencode?: {
2114
2358
  httpProxy?: string | undefined;
2115
2359
  httpsProxy?: string | undefined;
2116
2360
  customEnv?: Record<string, string> | undefined;
@@ -2119,7 +2363,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2119
2363
  id: string;
2120
2364
  }[] | undefined;
2121
2365
  } | undefined;
2122
- copilot?: {
2366
+ pi?: {
2123
2367
  httpProxy?: string | undefined;
2124
2368
  httpsProxy?: string | undefined;
2125
2369
  customEnv?: Record<string, string> | undefined;
@@ -2128,7 +2372,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2128
2372
  id: string;
2129
2373
  }[] | undefined;
2130
2374
  } | undefined;
2131
- opencode?: {
2375
+ copilot?: {
2132
2376
  httpProxy?: string | undefined;
2133
2377
  httpsProxy?: string | undefined;
2134
2378
  customEnv?: Record<string, string> | undefined;
@@ -2146,6 +2390,15 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2146
2390
  id: string;
2147
2391
  }[] | undefined;
2148
2392
  } | undefined;
2393
+ hermes?: {
2394
+ httpProxy?: string | undefined;
2395
+ httpsProxy?: string | undefined;
2396
+ customEnv?: Record<string, string> | undefined;
2397
+ customModels?: {
2398
+ label: string;
2399
+ id: string;
2400
+ }[] | undefined;
2401
+ } | undefined;
2149
2402
  openclaw?: {
2150
2403
  httpProxy?: string | undefined;
2151
2404
  httpsProxy?: string | undefined;
@@ -2190,12 +2443,20 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2190
2443
  availableAgents: string[];
2191
2444
  defaultCwd?: string | undefined;
2192
2445
  projectPaths?: string[] | undefined;
2446
+ availableAgentsAuthoritative?: boolean | undefined;
2447
+ agentCompatibilityBlocks?: Record<string, {
2448
+ status: "too_old" | "known_bad" | "protocol_incompatible";
2449
+ detectedVersion: string | null;
2450
+ reasonCode: "version_below_minimum" | "version_known_bad" | "protocol_handshake_failed" | "required_capability_missing";
2451
+ action: "upgrade" | "downgrade" | "wait_for_fix" | "upgrade_agentdock";
2452
+ stage: "discovery" | "spawn" | "acp_initialize";
2453
+ }> | undefined;
2193
2454
  agentModels?: Record<string, {
2194
2455
  id: string;
2195
2456
  displayName: string;
2196
2457
  isDefault: boolean;
2197
2458
  hidden: boolean;
2198
- source?: "custom" | "builtin" | "acp" | "env" | undefined;
2459
+ source?: "custom" | "builtin" | "acp" | "runtime" | "env" | undefined;
2199
2460
  }[]> | undefined;
2200
2461
  agentModes?: Record<string, {
2201
2462
  label: string;
@@ -2203,7 +2464,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2203
2464
  }[]> | undefined;
2204
2465
  agentCliPaths?: Record<string, string> | undefined;
2205
2466
  agentSettings?: {
2206
- hermes?: {
2467
+ claude?: {
2207
2468
  httpProxy?: string | undefined;
2208
2469
  httpsProxy?: string | undefined;
2209
2470
  customEnv?: Record<string, string> | undefined;
@@ -2221,7 +2482,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2221
2482
  id: string;
2222
2483
  }[] | undefined;
2223
2484
  } | undefined;
2224
- claude?: {
2485
+ opencode?: {
2225
2486
  httpProxy?: string | undefined;
2226
2487
  httpsProxy?: string | undefined;
2227
2488
  customEnv?: Record<string, string> | undefined;
@@ -2230,7 +2491,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2230
2491
  id: string;
2231
2492
  }[] | undefined;
2232
2493
  } | undefined;
2233
- copilot?: {
2494
+ pi?: {
2234
2495
  httpProxy?: string | undefined;
2235
2496
  httpsProxy?: string | undefined;
2236
2497
  customEnv?: Record<string, string> | undefined;
@@ -2239,7 +2500,7 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2239
2500
  id: string;
2240
2501
  }[] | undefined;
2241
2502
  } | undefined;
2242
- opencode?: {
2503
+ copilot?: {
2243
2504
  httpProxy?: string | undefined;
2244
2505
  httpsProxy?: string | undefined;
2245
2506
  customEnv?: Record<string, string> | undefined;
@@ -2257,6 +2518,15 @@ export declare const MachineInfoResponseSchema: z.ZodObject<{
2257
2518
  id: string;
2258
2519
  }[] | undefined;
2259
2520
  } | undefined;
2521
+ hermes?: {
2522
+ httpProxy?: string | undefined;
2523
+ httpsProxy?: string | undefined;
2524
+ customEnv?: Record<string, string> | undefined;
2525
+ customModels?: {
2526
+ label: string;
2527
+ id: string;
2528
+ }[] | undefined;
2529
+ } | undefined;
2260
2530
  openclaw?: {
2261
2531
  httpProxy?: string | undefined;
2262
2532
  httpsProxy?: string | undefined;
@@ -2307,6 +2577,158 @@ export declare const CheckPathParamsSchema: z.ZodObject<{
2307
2577
  cwd: string;
2308
2578
  machineId?: string | undefined;
2309
2579
  }>;
2580
+ export declare const EnterpriseModelEntrySchema: z.ZodObject<{
2581
+ id: z.ZodString;
2582
+ displayName: z.ZodString;
2583
+ isDefault: z.ZodBoolean;
2584
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2585
+ id: z.ZodString;
2586
+ displayName: z.ZodString;
2587
+ isDefault: z.ZodBoolean;
2588
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2589
+ id: z.ZodString;
2590
+ displayName: z.ZodString;
2591
+ isDefault: z.ZodBoolean;
2592
+ }, z.ZodTypeAny, "passthrough">>;
2593
+ export type EnterpriseModelEntry = z.infer<typeof EnterpriseModelEntrySchema>;
2594
+
2595
+ export declare const RefreshEnterpriseModelsParamsSchema: z.ZodEffects<z.ZodObject<{
2596
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
2597
+ id: z.ZodString;
2598
+ displayName: z.ZodString;
2599
+ isDefault: z.ZodBoolean;
2600
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2601
+ id: z.ZodString;
2602
+ displayName: z.ZodString;
2603
+ isDefault: z.ZodBoolean;
2604
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2605
+ id: z.ZodString;
2606
+ displayName: z.ZodString;
2607
+ isDefault: z.ZodBoolean;
2608
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2609
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2610
+ id: z.ZodString;
2611
+ displayName: z.ZodString;
2612
+ isDefault: z.ZodBoolean;
2613
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2614
+ id: z.ZodString;
2615
+ displayName: z.ZodString;
2616
+ isDefault: z.ZodBoolean;
2617
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2618
+ id: z.ZodString;
2619
+ displayName: z.ZodString;
2620
+ isDefault: z.ZodBoolean;
2621
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
2622
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2623
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
2624
+ id: z.ZodString;
2625
+ displayName: z.ZodString;
2626
+ isDefault: z.ZodBoolean;
2627
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2628
+ id: z.ZodString;
2629
+ displayName: z.ZodString;
2630
+ isDefault: z.ZodBoolean;
2631
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2632
+ id: z.ZodString;
2633
+ displayName: z.ZodString;
2634
+ isDefault: z.ZodBoolean;
2635
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2636
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2637
+ id: z.ZodString;
2638
+ displayName: z.ZodString;
2639
+ isDefault: z.ZodBoolean;
2640
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2641
+ id: z.ZodString;
2642
+ displayName: z.ZodString;
2643
+ isDefault: z.ZodBoolean;
2644
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2645
+ id: z.ZodString;
2646
+ displayName: z.ZodString;
2647
+ isDefault: z.ZodBoolean;
2648
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
2649
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2650
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
2651
+ id: z.ZodString;
2652
+ displayName: z.ZodString;
2653
+ isDefault: z.ZodBoolean;
2654
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2655
+ id: z.ZodString;
2656
+ displayName: z.ZodString;
2657
+ isDefault: z.ZodBoolean;
2658
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2659
+ id: z.ZodString;
2660
+ displayName: z.ZodString;
2661
+ isDefault: z.ZodBoolean;
2662
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2663
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2664
+ id: z.ZodString;
2665
+ displayName: z.ZodString;
2666
+ isDefault: z.ZodBoolean;
2667
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2668
+ id: z.ZodString;
2669
+ displayName: z.ZodString;
2670
+ isDefault: z.ZodBoolean;
2671
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2672
+ id: z.ZodString;
2673
+ displayName: z.ZodString;
2674
+ isDefault: z.ZodBoolean;
2675
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
2676
+ }, z.ZodTypeAny, "passthrough">>, z.objectOutputType<{
2677
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
2678
+ id: z.ZodString;
2679
+ displayName: z.ZodString;
2680
+ isDefault: z.ZodBoolean;
2681
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2682
+ id: z.ZodString;
2683
+ displayName: z.ZodString;
2684
+ isDefault: z.ZodBoolean;
2685
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2686
+ id: z.ZodString;
2687
+ displayName: z.ZodString;
2688
+ isDefault: z.ZodBoolean;
2689
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2690
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2691
+ id: z.ZodString;
2692
+ displayName: z.ZodString;
2693
+ isDefault: z.ZodBoolean;
2694
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2695
+ id: z.ZodString;
2696
+ displayName: z.ZodString;
2697
+ isDefault: z.ZodBoolean;
2698
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2699
+ id: z.ZodString;
2700
+ displayName: z.ZodString;
2701
+ isDefault: z.ZodBoolean;
2702
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
2703
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2704
+ models: z.ZodOptional<z.ZodArray<z.ZodObject<{
2705
+ id: z.ZodString;
2706
+ displayName: z.ZodString;
2707
+ isDefault: z.ZodBoolean;
2708
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2709
+ id: z.ZodString;
2710
+ displayName: z.ZodString;
2711
+ isDefault: z.ZodBoolean;
2712
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2713
+ id: z.ZodString;
2714
+ displayName: z.ZodString;
2715
+ isDefault: z.ZodBoolean;
2716
+ }, z.ZodTypeAny, "passthrough">>, "many">>;
2717
+ agents: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodObject<{
2718
+ id: z.ZodString;
2719
+ displayName: z.ZodString;
2720
+ isDefault: z.ZodBoolean;
2721
+ }, "passthrough", z.ZodTypeAny, z.objectOutputType<{
2722
+ id: z.ZodString;
2723
+ displayName: z.ZodString;
2724
+ isDefault: z.ZodBoolean;
2725
+ }, z.ZodTypeAny, "passthrough">, z.objectInputType<{
2726
+ id: z.ZodString;
2727
+ displayName: z.ZodString;
2728
+ isDefault: z.ZodBoolean;
2729
+ }, z.ZodTypeAny, "passthrough">>, "many">>>;
2730
+ }, z.ZodTypeAny, "passthrough">>;
2731
+ export type RefreshEnterpriseModelsParams = z.infer<typeof RefreshEnterpriseModelsParamsSchema>;
2310
2732
  export declare const LabsSettingsSchema: z.ZodObject<{
2311
2733
 
2312
2734
  historySessionSync: z.ZodDefault<z.ZodBoolean>;
@@ -2369,7 +2791,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2369
2791
  dingtalk?: string | undefined;
2370
2792
  }>>;
2371
2793
  } & {
2372
- hermes: z.ZodOptional<z.ZodObject<{
2794
+ claude: z.ZodOptional<z.ZodObject<{
2373
2795
  httpProxy: z.ZodOptional<z.ZodString>;
2374
2796
  httpsProxy: z.ZodOptional<z.ZodString>;
2375
2797
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2431,7 +2853,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2431
2853
  id: string;
2432
2854
  }[] | undefined;
2433
2855
  }>>;
2434
- claude: z.ZodOptional<z.ZodObject<{
2856
+ opencode: z.ZodOptional<z.ZodObject<{
2435
2857
  httpProxy: z.ZodOptional<z.ZodString>;
2436
2858
  httpsProxy: z.ZodOptional<z.ZodString>;
2437
2859
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2462,7 +2884,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2462
2884
  id: string;
2463
2885
  }[] | undefined;
2464
2886
  }>>;
2465
- copilot: z.ZodOptional<z.ZodObject<{
2887
+ pi: z.ZodOptional<z.ZodObject<{
2466
2888
  httpProxy: z.ZodOptional<z.ZodString>;
2467
2889
  httpsProxy: z.ZodOptional<z.ZodString>;
2468
2890
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2493,7 +2915,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2493
2915
  id: string;
2494
2916
  }[] | undefined;
2495
2917
  }>>;
2496
- opencode: z.ZodOptional<z.ZodObject<{
2918
+ copilot: z.ZodOptional<z.ZodObject<{
2497
2919
  httpProxy: z.ZodOptional<z.ZodString>;
2498
2920
  httpsProxy: z.ZodOptional<z.ZodString>;
2499
2921
  customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
@@ -2555,6 +2977,37 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2555
2977
  id: string;
2556
2978
  }[] | undefined;
2557
2979
  }>>;
2980
+ hermes: z.ZodOptional<z.ZodObject<{
2981
+ httpProxy: z.ZodOptional<z.ZodString>;
2982
+ httpsProxy: z.ZodOptional<z.ZodString>;
2983
+ customEnv: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
2984
+ customModels: z.ZodOptional<z.ZodArray<z.ZodObject<{
2985
+ id: z.ZodString;
2986
+ label: z.ZodString;
2987
+ }, "strip", z.ZodTypeAny, {
2988
+ label: string;
2989
+ id: string;
2990
+ }, {
2991
+ label: string;
2992
+ id: string;
2993
+ }>, "many">>;
2994
+ }, "strict", z.ZodTypeAny, {
2995
+ httpProxy?: string | undefined;
2996
+ httpsProxy?: string | undefined;
2997
+ customEnv?: Record<string, string> | undefined;
2998
+ customModels?: {
2999
+ label: string;
3000
+ id: string;
3001
+ }[] | undefined;
3002
+ }, {
3003
+ httpProxy?: string | undefined;
3004
+ httpsProxy?: string | undefined;
3005
+ customEnv?: Record<string, string> | undefined;
3006
+ customModels?: {
3007
+ label: string;
3008
+ id: string;
3009
+ }[] | undefined;
3010
+ }>>;
2558
3011
  openclaw: z.ZodOptional<z.ZodObject<{
2559
3012
  httpProxy: z.ZodOptional<z.ZodString>;
2560
3013
  httpsProxy: z.ZodOptional<z.ZodString>;
@@ -2634,7 +3087,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2634
3087
  disableReasoning?: boolean | undefined;
2635
3088
  }>>;
2636
3089
  }, "strip", z.ZodTypeAny, {
2637
- hermes?: {
3090
+ claude?: {
2638
3091
  httpProxy?: string | undefined;
2639
3092
  httpsProxy?: string | undefined;
2640
3093
  customEnv?: Record<string, string> | undefined;
@@ -2652,7 +3105,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2652
3105
  id: string;
2653
3106
  }[] | undefined;
2654
3107
  } | undefined;
2655
- claude?: {
3108
+ opencode?: {
2656
3109
  httpProxy?: string | undefined;
2657
3110
  httpsProxy?: string | undefined;
2658
3111
  customEnv?: Record<string, string> | undefined;
@@ -2661,7 +3114,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2661
3114
  id: string;
2662
3115
  }[] | undefined;
2663
3116
  } | undefined;
2664
- copilot?: {
3117
+ pi?: {
2665
3118
  httpProxy?: string | undefined;
2666
3119
  httpsProxy?: string | undefined;
2667
3120
  customEnv?: Record<string, string> | undefined;
@@ -2670,7 +3123,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2670
3123
  id: string;
2671
3124
  }[] | undefined;
2672
3125
  } | undefined;
2673
- opencode?: {
3126
+ copilot?: {
2674
3127
  httpProxy?: string | undefined;
2675
3128
  httpsProxy?: string | undefined;
2676
3129
  customEnv?: Record<string, string> | undefined;
@@ -2688,6 +3141,15 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2688
3141
  id: string;
2689
3142
  }[] | undefined;
2690
3143
  } | undefined;
3144
+ hermes?: {
3145
+ httpProxy?: string | undefined;
3146
+ httpsProxy?: string | undefined;
3147
+ customEnv?: Record<string, string> | undefined;
3148
+ customModels?: {
3149
+ label: string;
3150
+ id: string;
3151
+ }[] | undefined;
3152
+ } | undefined;
2691
3153
  openclaw?: {
2692
3154
  httpProxy?: string | undefined;
2693
3155
  httpsProxy?: string | undefined;
@@ -2721,7 +3183,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2721
3183
  } | undefined;
2722
3184
  version?: 1 | undefined;
2723
3185
  }, {
2724
- hermes?: {
3186
+ claude?: {
2725
3187
  httpProxy?: string | undefined;
2726
3188
  httpsProxy?: string | undefined;
2727
3189
  customEnv?: Record<string, string> | undefined;
@@ -2739,7 +3201,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2739
3201
  id: string;
2740
3202
  }[] | undefined;
2741
3203
  } | undefined;
2742
- claude?: {
3204
+ opencode?: {
2743
3205
  httpProxy?: string | undefined;
2744
3206
  httpsProxy?: string | undefined;
2745
3207
  customEnv?: Record<string, string> | undefined;
@@ -2748,7 +3210,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2748
3210
  id: string;
2749
3211
  }[] | undefined;
2750
3212
  } | undefined;
2751
- copilot?: {
3213
+ pi?: {
2752
3214
  httpProxy?: string | undefined;
2753
3215
  httpsProxy?: string | undefined;
2754
3216
  customEnv?: Record<string, string> | undefined;
@@ -2757,7 +3219,7 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2757
3219
  id: string;
2758
3220
  }[] | undefined;
2759
3221
  } | undefined;
2760
- opencode?: {
3222
+ copilot?: {
2761
3223
  httpProxy?: string | undefined;
2762
3224
  httpsProxy?: string | undefined;
2763
3225
  customEnv?: Record<string, string> | undefined;
@@ -2775,6 +3237,15 @@ export declare const LocalAgentSettingsSchema: z.ZodObject<Omit<{
2775
3237
  id: string;
2776
3238
  }[] | undefined;
2777
3239
  } | undefined;
3240
+ hermes?: {
3241
+ httpProxy?: string | undefined;
3242
+ httpsProxy?: string | undefined;
3243
+ customEnv?: Record<string, string> | undefined;
3244
+ customModels?: {
3245
+ label: string;
3246
+ id: string;
3247
+ }[] | undefined;
3248
+ } | undefined;
2778
3249
  openclaw?: {
2779
3250
  httpProxy?: string | undefined;
2780
3251
  httpsProxy?: string | undefined;