@peasant-labs/schema 0.48.0 → 0.50.0

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.
@@ -430,6 +430,7 @@ export declare const zChannelTopic: z.ZodEnum<{
430
430
  trends: "trends";
431
431
  annotations: "annotations";
432
432
  project_familiarity: "project_familiarity";
433
+ kickstart: "kickstart";
433
434
  }>;
434
435
  export type ChannelTopic = z.infer<typeof zChannelTopic>;
435
436
  export declare const zChannelSubscription: z.ZodObject<{
@@ -447,6 +448,7 @@ export declare const zChannelSubscription: z.ZodObject<{
447
448
  trends: "trends";
448
449
  annotations: "annotations";
449
450
  project_familiarity: "project_familiarity";
451
+ kickstart: "kickstart";
450
452
  }>;
451
453
  }, z.core.$strip>;
452
454
  export type ChannelSubscription = z.infer<typeof zChannelSubscription>;
@@ -1094,6 +1096,448 @@ export declare const zLocalContributionEvidenceKind: z.ZodEnum<{
1094
1096
  "operation-diagnostics": "operation-diagnostics";
1095
1097
  }>;
1096
1098
  export type LocalContributionEvidenceKind = z.infer<typeof zLocalContributionEvidenceKind>;
1099
+ /**
1100
+ * Kickstart Close Reason
1101
+ *
1102
+ * Why a kickstart session ended: committed or expired
1103
+ */
1104
+ export declare const zLocalKickstartCloseReason: z.ZodEnum<{
1105
+ expired: "expired";
1106
+ committed: "committed";
1107
+ }>;
1108
+ export type LocalKickstartCloseReason = z.infer<typeof zLocalKickstartCloseReason>;
1109
+ export declare const zLocalKickstartConnect: z.ZodObject<{
1110
+ afterStop: z.ZodOptional<z.ZodString>;
1111
+ offered: z.ZodBoolean;
1112
+ prompt: z.ZodOptional<z.ZodString>;
1113
+ skip: z.ZodOptional<z.ZodString>;
1114
+ }, z.core.$strict>;
1115
+ export type LocalKickstartConnect = z.infer<typeof zLocalKickstartConnect>;
1116
+ /**
1117
+ * Kickstart Connect Answer
1118
+ *
1119
+ * Boundary offer answer: accept or skip. accept requires village to be connected
1120
+ */
1121
+ export declare const zLocalKickstartConnectAnswer: z.ZodEnum<{
1122
+ skip: "skip";
1123
+ accept: "accept";
1124
+ }>;
1125
+ export type LocalKickstartConnectAnswer = z.infer<typeof zLocalKickstartConnectAnswer>;
1126
+ /**
1127
+ * Kickstart Diff Line Type
1128
+ *
1129
+ * Structured config-diff line: add, del, or ctx
1130
+ */
1131
+ export declare const zLocalKickstartDiffLineType: z.ZodEnum<{
1132
+ add: "add";
1133
+ del: "del";
1134
+ ctx: "ctx";
1135
+ }>;
1136
+ export type LocalKickstartDiffLineType = z.infer<typeof zLocalKickstartDiffLineType>;
1137
+ export declare const zLocalKickstartDiffLine: z.ZodObject<{
1138
+ newNo: z.ZodOptional<z.ZodInt>;
1139
+ oldNo: z.ZodOptional<z.ZodInt>;
1140
+ text: z.ZodString;
1141
+ type: z.ZodEnum<{
1142
+ add: "add";
1143
+ del: "del";
1144
+ ctx: "ctx";
1145
+ }>;
1146
+ }, z.core.$strict>;
1147
+ export type LocalKickstartDiffLine = z.infer<typeof zLocalKickstartDiffLine>;
1148
+ /**
1149
+ * Kickstart Error Code
1150
+ *
1151
+ * Machine-readable reason a kickstart route refused a request or could not finish it. Each token answers with one HTTP status
1152
+ */
1153
+ export declare const zLocalKickstartErrorCode: z.ZodEnum<{
1154
+ kickstart_body_missing: "kickstart_body_missing";
1155
+ kickstart_body_invalid: "kickstart_body_invalid";
1156
+ kickstart_scope_invalid: "kickstart_scope_invalid";
1157
+ kickstart_answers_invalid: "kickstart_answers_invalid";
1158
+ kickstart_session_committing: "kickstart_session_committing";
1159
+ kickstart_revision_ahead: "kickstart_revision_ahead";
1160
+ kickstart_answer_refused: "kickstart_answer_refused";
1161
+ kickstart_scan_not_done: "kickstart_scan_not_done";
1162
+ kickstart_field_unknown: "kickstart_field_unknown";
1163
+ kickstart_field_out_of_scope: "kickstart_field_out_of_scope";
1164
+ kickstart_field_hidden: "kickstart_field_hidden";
1165
+ kickstart_tree_answer_shape: "kickstart_tree_answer_shape";
1166
+ kickstart_connect_out_of_scope: "kickstart_connect_out_of_scope";
1167
+ kickstart_connect_not_connected: "kickstart_connect_not_connected";
1168
+ kickstart_connect_unknown: "kickstart_connect_unknown";
1169
+ kickstart_commit_refused: "kickstart_commit_refused";
1170
+ kickstart_session_not_found: "kickstart_session_not_found";
1171
+ kickstart_preview_row_not_found: "kickstart_preview_row_not_found";
1172
+ kickstart_failed: "kickstart_failed";
1173
+ kickstart_status_unreadable: "kickstart_status_unreadable";
1174
+ kickstart_config_unreadable: "kickstart_config_unreadable";
1175
+ kickstart_config_unwritable: "kickstart_config_unwritable";
1176
+ kickstart_session_unbuildable: "kickstart_session_unbuildable";
1177
+ kickstart_answer_unencodable: "kickstart_answer_unencodable";
1178
+ kickstart_preview_unreadable: "kickstart_preview_unreadable";
1179
+ publishing_contract_breach: "publishing_contract_breach";
1180
+ kickstart_unavailable: "kickstart_unavailable";
1181
+ kickstart_config_busy: "kickstart_config_busy";
1182
+ kickstart_config_changing: "kickstart_config_changing";
1183
+ }>;
1184
+ export type LocalKickstartErrorCode = z.infer<typeof zLocalKickstartErrorCode>;
1185
+ export declare const zLocalKickstartErrorResponse: z.ZodObject<{
1186
+ code: z.ZodEnum<{
1187
+ kickstart_body_missing: "kickstart_body_missing";
1188
+ kickstart_body_invalid: "kickstart_body_invalid";
1189
+ kickstart_scope_invalid: "kickstart_scope_invalid";
1190
+ kickstart_answers_invalid: "kickstart_answers_invalid";
1191
+ kickstart_session_committing: "kickstart_session_committing";
1192
+ kickstart_revision_ahead: "kickstart_revision_ahead";
1193
+ kickstart_answer_refused: "kickstart_answer_refused";
1194
+ kickstart_scan_not_done: "kickstart_scan_not_done";
1195
+ kickstart_field_unknown: "kickstart_field_unknown";
1196
+ kickstart_field_out_of_scope: "kickstart_field_out_of_scope";
1197
+ kickstart_field_hidden: "kickstart_field_hidden";
1198
+ kickstart_tree_answer_shape: "kickstart_tree_answer_shape";
1199
+ kickstart_connect_out_of_scope: "kickstart_connect_out_of_scope";
1200
+ kickstart_connect_not_connected: "kickstart_connect_not_connected";
1201
+ kickstart_connect_unknown: "kickstart_connect_unknown";
1202
+ kickstart_commit_refused: "kickstart_commit_refused";
1203
+ kickstart_session_not_found: "kickstart_session_not_found";
1204
+ kickstart_preview_row_not_found: "kickstart_preview_row_not_found";
1205
+ kickstart_failed: "kickstart_failed";
1206
+ kickstart_status_unreadable: "kickstart_status_unreadable";
1207
+ kickstart_config_unreadable: "kickstart_config_unreadable";
1208
+ kickstart_config_unwritable: "kickstart_config_unwritable";
1209
+ kickstart_session_unbuildable: "kickstart_session_unbuildable";
1210
+ kickstart_answer_unencodable: "kickstart_answer_unencodable";
1211
+ kickstart_preview_unreadable: "kickstart_preview_unreadable";
1212
+ publishing_contract_breach: "publishing_contract_breach";
1213
+ kickstart_unavailable: "kickstart_unavailable";
1214
+ kickstart_config_busy: "kickstart_config_busy";
1215
+ kickstart_config_changing: "kickstart_config_changing";
1216
+ }>;
1217
+ error: z.ZodString;
1218
+ }, z.core.$strict>;
1219
+ export type LocalKickstartErrorResponse = z.infer<typeof zLocalKickstartErrorResponse>;
1220
+ /**
1221
+ * Kickstart Event Kind
1222
+ *
1223
+ * Live kickstart topic discriminator. One event carries one session id
1224
+ */
1225
+ export declare const zLocalKickstartEventKind: z.ZodEnum<{
1226
+ closed: "closed";
1227
+ session: "session";
1228
+ answers: "answers";
1229
+ conflicts: "conflicts";
1230
+ scan: "scan";
1231
+ ingest: "ingest";
1232
+ }>;
1233
+ export type LocalKickstartEventKind = z.infer<typeof zLocalKickstartEventKind>;
1234
+ /**
1235
+ * Kickstart Field Kind
1236
+ *
1237
+ * Control shape of one kickstart field
1238
+ */
1239
+ export declare const zLocalKickstartFieldKind: z.ZodEnum<{
1240
+ toggle: "toggle";
1241
+ action: "action";
1242
+ choice: "choice";
1243
+ tree: "tree";
1244
+ notice: "notice";
1245
+ }>;
1246
+ export type LocalKickstartFieldKind = z.infer<typeof zLocalKickstartFieldKind>;
1247
+ export declare const zLocalKickstartGuide: z.ZodObject<{
1248
+ hints: z.ZodOptional<z.ZodArray<z.ZodString>>;
1249
+ intro: z.ZodOptional<z.ZodString>;
1250
+ }, z.core.$strict>;
1251
+ export type LocalKickstartGuide = z.infer<typeof zLocalKickstartGuide>;
1252
+ export declare const zLocalKickstartHunk: z.ZodObject<{
1253
+ header: z.ZodString;
1254
+ lines: z.ZodArray<z.ZodObject<{
1255
+ newNo: z.ZodOptional<z.ZodInt>;
1256
+ oldNo: z.ZodOptional<z.ZodInt>;
1257
+ text: z.ZodString;
1258
+ type: z.ZodEnum<{
1259
+ add: "add";
1260
+ del: "del";
1261
+ ctx: "ctx";
1262
+ }>;
1263
+ }, z.core.$strict>>;
1264
+ }, z.core.$strict>;
1265
+ export type LocalKickstartHunk = z.infer<typeof zLocalKickstartHunk>;
1266
+ export declare const zLocalKickstartDiff: z.ZodObject<{
1267
+ file: z.ZodString;
1268
+ hunks: z.ZodArray<z.ZodObject<{
1269
+ header: z.ZodString;
1270
+ lines: z.ZodArray<z.ZodObject<{
1271
+ newNo: z.ZodOptional<z.ZodInt>;
1272
+ oldNo: z.ZodOptional<z.ZodInt>;
1273
+ text: z.ZodString;
1274
+ type: z.ZodEnum<{
1275
+ add: "add";
1276
+ del: "del";
1277
+ ctx: "ctx";
1278
+ }>;
1279
+ }, z.core.$strict>>;
1280
+ }, z.core.$strict>>;
1281
+ truncated: z.ZodOptional<z.ZodBoolean>;
1282
+ }, z.core.$strict>;
1283
+ export type LocalKickstartDiff = z.infer<typeof zLocalKickstartDiff>;
1284
+ /**
1285
+ * Kickstart Ingest State
1286
+ *
1287
+ * Import state pushed on the kickstart topic
1288
+ */
1289
+ export declare const zLocalKickstartIngestState: z.ZodEnum<{
1290
+ failed: "failed";
1291
+ idle: "idle";
1292
+ running: "running";
1293
+ busy: "busy";
1294
+ }>;
1295
+ export type LocalKickstartIngestState = z.infer<typeof zLocalKickstartIngestState>;
1296
+ export declare const zLocalKickstartIngest: z.ZodObject<{
1297
+ error: z.ZodOptional<z.ZodString>;
1298
+ new: z.ZodInt;
1299
+ note: z.ZodOptional<z.ZodString>;
1300
+ state: z.ZodEnum<{
1301
+ failed: "failed";
1302
+ idle: "idle";
1303
+ running: "running";
1304
+ busy: "busy";
1305
+ }>;
1306
+ updated: z.ZodInt;
1307
+ }, z.core.$strict>;
1308
+ export type LocalKickstartIngest = z.infer<typeof zLocalKickstartIngest>;
1309
+ /**
1310
+ * Kickstart Line Kind
1311
+ *
1312
+ * Typed preview or example line
1313
+ */
1314
+ export declare const zLocalKickstartLineKind: z.ZodEnum<{
1315
+ label: "label";
1316
+ spacer: "spacer";
1317
+ text: "text";
1318
+ after: "after";
1319
+ before: "before";
1320
+ }>;
1321
+ export type LocalKickstartLineKind = z.infer<typeof zLocalKickstartLineKind>;
1322
+ export declare const zLocalKickstartLine: z.ZodObject<{
1323
+ kind: z.ZodEnum<{
1324
+ label: "label";
1325
+ spacer: "spacer";
1326
+ text: "text";
1327
+ after: "after";
1328
+ before: "before";
1329
+ }>;
1330
+ text: z.ZodString;
1331
+ }, z.core.$strict>;
1332
+ export type LocalKickstartLine = z.infer<typeof zLocalKickstartLine>;
1333
+ /**
1334
+ * Kickstart Next Step
1335
+ *
1336
+ * One finish action. auto-publish-settings links to the settings section; it does not install a hook
1337
+ */
1338
+ export declare const zLocalKickstartNextStep: z.ZodEnum<{
1339
+ config: "config";
1340
+ "web-start": "web-start";
1341
+ "village-login": "village-login";
1342
+ "village-push": "village-push";
1343
+ "auto-publish-settings": "auto-publish-settings";
1344
+ }>;
1345
+ export type LocalKickstartNextStep = z.infer<typeof zLocalKickstartNextStep>;
1346
+ export declare const zLocalKickstartCommitted: z.ZodObject<{
1347
+ configPath: z.ZodString;
1348
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodString>>;
1349
+ ingest: z.ZodObject<{
1350
+ error: z.ZodOptional<z.ZodString>;
1351
+ new: z.ZodInt;
1352
+ note: z.ZodOptional<z.ZodString>;
1353
+ state: z.ZodEnum<{
1354
+ failed: "failed";
1355
+ idle: "idle";
1356
+ running: "running";
1357
+ busy: "busy";
1358
+ }>;
1359
+ updated: z.ZodInt;
1360
+ }, z.core.$strict>;
1361
+ nextSteps: z.ZodArray<z.ZodEnum<{
1362
+ config: "config";
1363
+ "web-start": "web-start";
1364
+ "village-login": "village-login";
1365
+ "village-push": "village-push";
1366
+ "auto-publish-settings": "auto-publish-settings";
1367
+ }>>;
1368
+ saved: z.ZodBoolean;
1369
+ }, z.core.$strict>;
1370
+ export type LocalKickstartCommitted = z.infer<typeof zLocalKickstartCommitted>;
1371
+ /**
1372
+ * Kickstart Node Kind
1373
+ *
1374
+ * Row kind in the selection forest
1375
+ */
1376
+ export declare const zLocalKickstartNodeKind: z.ZodEnum<{
1377
+ session: "session";
1378
+ group: "group";
1379
+ project: "project";
1380
+ branch: "branch";
1381
+ }>;
1382
+ export type LocalKickstartNodeKind = z.infer<typeof zLocalKickstartNodeKind>;
1383
+ /**
1384
+ * Kickstart Node State
1385
+ *
1386
+ * Server-computed selection of one forest row: none, some, or all. locked is a boolean, not a state
1387
+ */
1388
+ export declare const zLocalKickstartNodeState: z.ZodEnum<{
1389
+ some: "some";
1390
+ all: "all";
1391
+ none: "none";
1392
+ }>;
1393
+ export type LocalKickstartNodeState = z.infer<typeof zLocalKickstartNodeState>;
1394
+ export declare const zLocalKickstartNode: z.ZodObject<{
1395
+ childCount: z.ZodOptional<z.ZodInt>;
1396
+ harness: z.ZodOptional<z.ZodString>;
1397
+ id: z.ZodString;
1398
+ kind: z.ZodEnum<{
1399
+ session: "session";
1400
+ group: "group";
1401
+ project: "project";
1402
+ branch: "branch";
1403
+ }>;
1404
+ label: z.ZodString;
1405
+ locked: z.ZodOptional<z.ZodBoolean>;
1406
+ parentId: z.ZodOptional<z.ZodString>;
1407
+ sessionId: z.ZodOptional<z.ZodString>;
1408
+ state: z.ZodEnum<{
1409
+ some: "some";
1410
+ all: "all";
1411
+ none: "none";
1412
+ }>;
1413
+ }, z.core.$strict>;
1414
+ export type LocalKickstartNode = z.infer<typeof zLocalKickstartNode>;
1415
+ export declare const zLocalKickstartOption: z.ZodObject<{
1416
+ description: z.ZodOptional<z.ZodString>;
1417
+ label: z.ZodString;
1418
+ value: z.ZodString;
1419
+ }, z.core.$strict>;
1420
+ export type LocalKickstartOption = z.infer<typeof zLocalKickstartOption>;
1421
+ export declare const zLocalKickstartPreview: z.ZodObject<{
1422
+ lines: z.ZodArray<z.ZodObject<{
1423
+ kind: z.ZodEnum<{
1424
+ label: "label";
1425
+ spacer: "spacer";
1426
+ text: "text";
1427
+ after: "after";
1428
+ before: "before";
1429
+ }>;
1430
+ text: z.ZodString;
1431
+ }, z.core.$strict>>;
1432
+ }, z.core.$strict>;
1433
+ export type LocalKickstartPreview = z.infer<typeof zLocalKickstartPreview>;
1434
+ /**
1435
+ * Kickstart Resolution
1436
+ *
1437
+ * Which side of one conflict row to keep: mine is the draft, theirs is the file
1438
+ */
1439
+ export declare const zLocalKickstartResolution: z.ZodEnum<{
1440
+ mine: "mine";
1441
+ theirs: "theirs";
1442
+ }>;
1443
+ export type LocalKickstartResolution = z.infer<typeof zLocalKickstartResolution>;
1444
+ /**
1445
+ * Kickstart Scan State
1446
+ *
1447
+ * Discovery job state pushed on the kickstart topic
1448
+ */
1449
+ export declare const zLocalKickstartScanState: z.ZodEnum<{
1450
+ error: "error";
1451
+ idle: "idle";
1452
+ running: "running";
1453
+ done: "done";
1454
+ }>;
1455
+ export type LocalKickstartScanState = z.infer<typeof zLocalKickstartScanState>;
1456
+ export declare const zLocalKickstartScan: z.ZodObject<{
1457
+ done: z.ZodInt;
1458
+ droppedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1459
+ droppedSelections: z.ZodOptional<z.ZodInt>;
1460
+ error: z.ZodOptional<z.ZodString>;
1461
+ lockedNodes: z.ZodOptional<z.ZodInt>;
1462
+ notice: z.ZodOptional<z.ZodString>;
1463
+ phase: z.ZodOptional<z.ZodString>;
1464
+ state: z.ZodEnum<{
1465
+ error: "error";
1466
+ idle: "idle";
1467
+ running: "running";
1468
+ done: "done";
1469
+ }>;
1470
+ total: z.ZodInt;
1471
+ }, z.core.$strict>;
1472
+ export type LocalKickstartScan = z.infer<typeof zLocalKickstartScan>;
1473
+ /**
1474
+ * Kickstart Scope
1475
+ *
1476
+ * Answer set a kickstart session collects: the whole wizard, or the selection page
1477
+ */
1478
+ export declare const zLocalKickstartScope: z.ZodEnum<{
1479
+ full: "full";
1480
+ selection: "selection";
1481
+ }>;
1482
+ export type LocalKickstartScope = z.infer<typeof zLocalKickstartScope>;
1483
+ export declare const zLocalKickstartOpenRequest: z.ZodObject<{
1484
+ scope: z.ZodEnum<{
1485
+ full: "full";
1486
+ selection: "selection";
1487
+ }>;
1488
+ }, z.core.$strict>;
1489
+ export type LocalKickstartOpenRequest = z.infer<typeof zLocalKickstartOpenRequest>;
1490
+ export declare const zLocalKickstartStatus: z.ZodObject<{
1491
+ activeSessionId: z.ZodOptional<z.ZodString>;
1492
+ configured: z.ZodBoolean;
1493
+ }, z.core.$strict>;
1494
+ export type LocalKickstartStatus = z.infer<typeof zLocalKickstartStatus>;
1495
+ /**
1496
+ * Kickstart Stop Kind
1497
+ *
1498
+ * Layout of one kickstart stop
1499
+ */
1500
+ export declare const zLocalKickstartStopKind: z.ZodEnum<{
1501
+ config: "config";
1502
+ ingest: "ingest";
1503
+ connection: "connection";
1504
+ review: "review";
1505
+ }>;
1506
+ export type LocalKickstartStopKind = z.infer<typeof zLocalKickstartStopKind>;
1507
+ export declare const zLocalKickstartSummary: z.ZodObject<{
1508
+ effects: z.ZodArray<z.ZodString>;
1509
+ values: z.ZodArray<z.ZodString>;
1510
+ }, z.core.$strict>;
1511
+ export type LocalKickstartSummary = z.infer<typeof zLocalKickstartSummary>;
1512
+ export declare const zLocalKickstartTree: z.ZodObject<{
1513
+ nodes: z.ZodArray<z.ZodObject<{
1514
+ childCount: z.ZodOptional<z.ZodInt>;
1515
+ harness: z.ZodOptional<z.ZodString>;
1516
+ id: z.ZodString;
1517
+ kind: z.ZodEnum<{
1518
+ session: "session";
1519
+ group: "group";
1520
+ project: "project";
1521
+ branch: "branch";
1522
+ }>;
1523
+ label: z.ZodString;
1524
+ locked: z.ZodOptional<z.ZodBoolean>;
1525
+ parentId: z.ZodOptional<z.ZodString>;
1526
+ sessionId: z.ZodOptional<z.ZodString>;
1527
+ state: z.ZodEnum<{
1528
+ some: "some";
1529
+ all: "all";
1530
+ none: "none";
1531
+ }>;
1532
+ }, z.core.$strict>>;
1533
+ }, z.core.$strict>;
1534
+ export type LocalKickstartTree = z.infer<typeof zLocalKickstartTree>;
1535
+ export declare const zLocalKickstartVillage: z.ZodObject<{
1536
+ connected: z.ZodBoolean;
1537
+ url: z.ZodOptional<z.ZodString>;
1538
+ userId: z.ZodOptional<z.ZodString>;
1539
+ }, z.core.$strict>;
1540
+ export type LocalKickstartVillage = z.infer<typeof zLocalKickstartVillage>;
1097
1541
  /**
1098
1542
  * Local Operation Diagnostic Outcome
1099
1543
  *
@@ -1128,8 +1572,8 @@ export declare const zLocalSettingKind: z.ZodEnum<{
1128
1572
  string: "string";
1129
1573
  boolean: "boolean";
1130
1574
  integer: "integer";
1131
- string_list: "string_list";
1132
1575
  choice: "choice";
1576
+ string_list: "string_list";
1133
1577
  structured: "structured";
1134
1578
  }>;
1135
1579
  export type LocalSettingKind = z.infer<typeof zLocalSettingKind>;
@@ -1145,6 +1589,564 @@ export type LocalSettingRefusal = z.infer<typeof zLocalSettingRefusal>;
1145
1589
  */
1146
1590
  export declare const zLocalSettingValue: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1147
1591
  export type LocalSettingValue = z.infer<typeof zLocalSettingValue>;
1592
+ export declare const zLocalKickstartAnswers: z.ZodObject<{
1593
+ connectAnswer: z.ZodOptional<z.ZodEnum<{
1594
+ skip: "skip";
1595
+ accept: "accept";
1596
+ }>>;
1597
+ resolutions: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodEnum<{
1598
+ mine: "mine";
1599
+ theirs: "theirs";
1600
+ }>>>;
1601
+ revision: z.ZodInt;
1602
+ selectedIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1603
+ values: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>>>;
1604
+ }, z.core.$strict>;
1605
+ export type LocalKickstartAnswers = z.infer<typeof zLocalKickstartAnswers>;
1606
+ export declare const zLocalKickstartConflict: z.ZodObject<{
1607
+ field: z.ZodString;
1608
+ label: z.ZodString;
1609
+ mine: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1610
+ stop: z.ZodString;
1611
+ theirs: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1612
+ }, z.core.$strict>;
1613
+ export type LocalKickstartConflict = z.infer<typeof zLocalKickstartConflict>;
1614
+ export declare const zLocalKickstartCommitRefusal: z.ZodObject<{
1615
+ conflicts: z.ZodArray<z.ZodObject<{
1616
+ field: z.ZodString;
1617
+ label: z.ZodString;
1618
+ mine: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1619
+ stop: z.ZodString;
1620
+ theirs: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1621
+ }, z.core.$strict>>;
1622
+ error: z.ZodString;
1623
+ }, z.core.$strict>;
1624
+ export type LocalKickstartCommitRefusal = z.infer<typeof zLocalKickstartCommitRefusal>;
1625
+ export declare const zLocalKickstartField: z.ZodObject<{
1626
+ description: z.ZodOptional<z.ZodString>;
1627
+ example: z.ZodOptional<z.ZodArray<z.ZodObject<{
1628
+ kind: z.ZodEnum<{
1629
+ label: "label";
1630
+ spacer: "spacer";
1631
+ text: "text";
1632
+ after: "after";
1633
+ before: "before";
1634
+ }>;
1635
+ text: z.ZodString;
1636
+ }, z.core.$strict>>>;
1637
+ key: z.ZodString;
1638
+ kind: z.ZodEnum<{
1639
+ toggle: "toggle";
1640
+ action: "action";
1641
+ choice: "choice";
1642
+ tree: "tree";
1643
+ notice: "notice";
1644
+ }>;
1645
+ label: z.ZodString;
1646
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1647
+ description: z.ZodOptional<z.ZodString>;
1648
+ label: z.ZodString;
1649
+ value: z.ZodString;
1650
+ }, z.core.$strict>>>;
1651
+ refusal: z.ZodOptional<z.ZodObject<{
1652
+ error: z.ZodString;
1653
+ key: z.ZodString;
1654
+ }, z.core.$strip>>;
1655
+ value: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1656
+ }, z.core.$strict>;
1657
+ export type LocalKickstartField = z.infer<typeof zLocalKickstartField>;
1658
+ export declare const zLocalKickstartOverwrite: z.ZodObject<{
1659
+ key: z.ZodString;
1660
+ previous: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1661
+ revision: z.ZodInt;
1662
+ }, z.core.$strict>;
1663
+ export type LocalKickstartOverwrite = z.infer<typeof zLocalKickstartOverwrite>;
1664
+ export declare const zLocalKickstartStop: z.ZodObject<{
1665
+ diff: z.ZodOptional<z.ZodObject<{
1666
+ file: z.ZodString;
1667
+ hunks: z.ZodArray<z.ZodObject<{
1668
+ header: z.ZodString;
1669
+ lines: z.ZodArray<z.ZodObject<{
1670
+ newNo: z.ZodOptional<z.ZodInt>;
1671
+ oldNo: z.ZodOptional<z.ZodInt>;
1672
+ text: z.ZodString;
1673
+ type: z.ZodEnum<{
1674
+ add: "add";
1675
+ del: "del";
1676
+ ctx: "ctx";
1677
+ }>;
1678
+ }, z.core.$strict>>;
1679
+ }, z.core.$strict>>;
1680
+ truncated: z.ZodOptional<z.ZodBoolean>;
1681
+ }, z.core.$strict>>;
1682
+ fields: z.ZodArray<z.ZodObject<{
1683
+ description: z.ZodOptional<z.ZodString>;
1684
+ example: z.ZodOptional<z.ZodArray<z.ZodObject<{
1685
+ kind: z.ZodEnum<{
1686
+ label: "label";
1687
+ spacer: "spacer";
1688
+ text: "text";
1689
+ after: "after";
1690
+ before: "before";
1691
+ }>;
1692
+ text: z.ZodString;
1693
+ }, z.core.$strict>>>;
1694
+ key: z.ZodString;
1695
+ kind: z.ZodEnum<{
1696
+ toggle: "toggle";
1697
+ action: "action";
1698
+ choice: "choice";
1699
+ tree: "tree";
1700
+ notice: "notice";
1701
+ }>;
1702
+ label: z.ZodString;
1703
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1704
+ description: z.ZodOptional<z.ZodString>;
1705
+ label: z.ZodString;
1706
+ value: z.ZodString;
1707
+ }, z.core.$strict>>>;
1708
+ refusal: z.ZodOptional<z.ZodObject<{
1709
+ error: z.ZodString;
1710
+ key: z.ZodString;
1711
+ }, z.core.$strip>>;
1712
+ value: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1713
+ }, z.core.$strict>>;
1714
+ guide: z.ZodObject<{
1715
+ hints: z.ZodOptional<z.ZodArray<z.ZodString>>;
1716
+ intro: z.ZodOptional<z.ZodString>;
1717
+ }, z.core.$strict>;
1718
+ hiddenBecause: z.ZodOptional<z.ZodString>;
1719
+ key: z.ZodString;
1720
+ kind: z.ZodEnum<{
1721
+ config: "config";
1722
+ ingest: "ingest";
1723
+ connection: "connection";
1724
+ review: "review";
1725
+ }>;
1726
+ summary: z.ZodOptional<z.ZodObject<{
1727
+ effects: z.ZodArray<z.ZodString>;
1728
+ values: z.ZodArray<z.ZodString>;
1729
+ }, z.core.$strict>>;
1730
+ title: z.ZodString;
1731
+ visible: z.ZodBoolean;
1732
+ }, z.core.$strict>;
1733
+ export type LocalKickstartStop = z.infer<typeof zLocalKickstartStop>;
1734
+ export declare const zLocalKickstartSession: z.ZodObject<{
1735
+ conflicts: z.ZodArray<z.ZodObject<{
1736
+ field: z.ZodString;
1737
+ label: z.ZodString;
1738
+ mine: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1739
+ stop: z.ZodString;
1740
+ theirs: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1741
+ }, z.core.$strict>>;
1742
+ connect: z.ZodObject<{
1743
+ afterStop: z.ZodOptional<z.ZodString>;
1744
+ offered: z.ZodBoolean;
1745
+ prompt: z.ZodOptional<z.ZodString>;
1746
+ skip: z.ZodOptional<z.ZodString>;
1747
+ }, z.core.$strict>;
1748
+ id: z.ZodString;
1749
+ openedAt: z.ZodString;
1750
+ revision: z.ZodInt;
1751
+ scan: z.ZodObject<{
1752
+ done: z.ZodInt;
1753
+ droppedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1754
+ droppedSelections: z.ZodOptional<z.ZodInt>;
1755
+ error: z.ZodOptional<z.ZodString>;
1756
+ lockedNodes: z.ZodOptional<z.ZodInt>;
1757
+ notice: z.ZodOptional<z.ZodString>;
1758
+ phase: z.ZodOptional<z.ZodString>;
1759
+ state: z.ZodEnum<{
1760
+ error: "error";
1761
+ idle: "idle";
1762
+ running: "running";
1763
+ done: "done";
1764
+ }>;
1765
+ total: z.ZodInt;
1766
+ }, z.core.$strict>;
1767
+ scope: z.ZodEnum<{
1768
+ full: "full";
1769
+ selection: "selection";
1770
+ }>;
1771
+ stops: z.ZodArray<z.ZodObject<{
1772
+ diff: z.ZodOptional<z.ZodObject<{
1773
+ file: z.ZodString;
1774
+ hunks: z.ZodArray<z.ZodObject<{
1775
+ header: z.ZodString;
1776
+ lines: z.ZodArray<z.ZodObject<{
1777
+ newNo: z.ZodOptional<z.ZodInt>;
1778
+ oldNo: z.ZodOptional<z.ZodInt>;
1779
+ text: z.ZodString;
1780
+ type: z.ZodEnum<{
1781
+ add: "add";
1782
+ del: "del";
1783
+ ctx: "ctx";
1784
+ }>;
1785
+ }, z.core.$strict>>;
1786
+ }, z.core.$strict>>;
1787
+ truncated: z.ZodOptional<z.ZodBoolean>;
1788
+ }, z.core.$strict>>;
1789
+ fields: z.ZodArray<z.ZodObject<{
1790
+ description: z.ZodOptional<z.ZodString>;
1791
+ example: z.ZodOptional<z.ZodArray<z.ZodObject<{
1792
+ kind: z.ZodEnum<{
1793
+ label: "label";
1794
+ spacer: "spacer";
1795
+ text: "text";
1796
+ after: "after";
1797
+ before: "before";
1798
+ }>;
1799
+ text: z.ZodString;
1800
+ }, z.core.$strict>>>;
1801
+ key: z.ZodString;
1802
+ kind: z.ZodEnum<{
1803
+ toggle: "toggle";
1804
+ action: "action";
1805
+ choice: "choice";
1806
+ tree: "tree";
1807
+ notice: "notice";
1808
+ }>;
1809
+ label: z.ZodString;
1810
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1811
+ description: z.ZodOptional<z.ZodString>;
1812
+ label: z.ZodString;
1813
+ value: z.ZodString;
1814
+ }, z.core.$strict>>>;
1815
+ refusal: z.ZodOptional<z.ZodObject<{
1816
+ error: z.ZodString;
1817
+ key: z.ZodString;
1818
+ }, z.core.$strip>>;
1819
+ value: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1820
+ }, z.core.$strict>>;
1821
+ guide: z.ZodObject<{
1822
+ hints: z.ZodOptional<z.ZodArray<z.ZodString>>;
1823
+ intro: z.ZodOptional<z.ZodString>;
1824
+ }, z.core.$strict>;
1825
+ hiddenBecause: z.ZodOptional<z.ZodString>;
1826
+ key: z.ZodString;
1827
+ kind: z.ZodEnum<{
1828
+ config: "config";
1829
+ ingest: "ingest";
1830
+ connection: "connection";
1831
+ review: "review";
1832
+ }>;
1833
+ summary: z.ZodOptional<z.ZodObject<{
1834
+ effects: z.ZodArray<z.ZodString>;
1835
+ values: z.ZodArray<z.ZodString>;
1836
+ }, z.core.$strict>>;
1837
+ title: z.ZodString;
1838
+ visible: z.ZodBoolean;
1839
+ }, z.core.$strict>>;
1840
+ village: z.ZodObject<{
1841
+ connected: z.ZodBoolean;
1842
+ url: z.ZodOptional<z.ZodString>;
1843
+ userId: z.ZodOptional<z.ZodString>;
1844
+ }, z.core.$strict>;
1845
+ }, z.core.$strict>;
1846
+ export type LocalKickstartSession = z.infer<typeof zLocalKickstartSession>;
1847
+ export declare const zLocalKickstartEvent: z.ZodObject<{
1848
+ committed: z.ZodOptional<z.ZodObject<{
1849
+ configPath: z.ZodString;
1850
+ diagnostics: z.ZodOptional<z.ZodArray<z.ZodString>>;
1851
+ ingest: z.ZodObject<{
1852
+ error: z.ZodOptional<z.ZodString>;
1853
+ new: z.ZodInt;
1854
+ note: z.ZodOptional<z.ZodString>;
1855
+ state: z.ZodEnum<{
1856
+ failed: "failed";
1857
+ idle: "idle";
1858
+ running: "running";
1859
+ busy: "busy";
1860
+ }>;
1861
+ updated: z.ZodInt;
1862
+ }, z.core.$strict>;
1863
+ nextSteps: z.ZodArray<z.ZodEnum<{
1864
+ config: "config";
1865
+ "web-start": "web-start";
1866
+ "village-login": "village-login";
1867
+ "village-push": "village-push";
1868
+ "auto-publish-settings": "auto-publish-settings";
1869
+ }>>;
1870
+ saved: z.ZodBoolean;
1871
+ }, z.core.$strict>>;
1872
+ ingest: z.ZodOptional<z.ZodObject<{
1873
+ error: z.ZodOptional<z.ZodString>;
1874
+ new: z.ZodInt;
1875
+ note: z.ZodOptional<z.ZodString>;
1876
+ state: z.ZodEnum<{
1877
+ failed: "failed";
1878
+ idle: "idle";
1879
+ running: "running";
1880
+ busy: "busy";
1881
+ }>;
1882
+ updated: z.ZodInt;
1883
+ }, z.core.$strict>>;
1884
+ kind: z.ZodEnum<{
1885
+ closed: "closed";
1886
+ session: "session";
1887
+ answers: "answers";
1888
+ conflicts: "conflicts";
1889
+ scan: "scan";
1890
+ ingest: "ingest";
1891
+ }>;
1892
+ reason: z.ZodOptional<z.ZodEnum<{
1893
+ expired: "expired";
1894
+ committed: "committed";
1895
+ }>>;
1896
+ revision: z.ZodInt;
1897
+ scan: z.ZodOptional<z.ZodObject<{
1898
+ done: z.ZodInt;
1899
+ droppedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1900
+ droppedSelections: z.ZodOptional<z.ZodInt>;
1901
+ error: z.ZodOptional<z.ZodString>;
1902
+ lockedNodes: z.ZodOptional<z.ZodInt>;
1903
+ notice: z.ZodOptional<z.ZodString>;
1904
+ phase: z.ZodOptional<z.ZodString>;
1905
+ state: z.ZodEnum<{
1906
+ error: "error";
1907
+ idle: "idle";
1908
+ running: "running";
1909
+ done: "done";
1910
+ }>;
1911
+ total: z.ZodInt;
1912
+ }, z.core.$strict>>;
1913
+ sessionId: z.ZodString;
1914
+ view: z.ZodOptional<z.ZodObject<{
1915
+ conflicts: z.ZodArray<z.ZodObject<{
1916
+ field: z.ZodString;
1917
+ label: z.ZodString;
1918
+ mine: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1919
+ stop: z.ZodString;
1920
+ theirs: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
1921
+ }, z.core.$strict>>;
1922
+ connect: z.ZodObject<{
1923
+ afterStop: z.ZodOptional<z.ZodString>;
1924
+ offered: z.ZodBoolean;
1925
+ prompt: z.ZodOptional<z.ZodString>;
1926
+ skip: z.ZodOptional<z.ZodString>;
1927
+ }, z.core.$strict>;
1928
+ id: z.ZodString;
1929
+ openedAt: z.ZodString;
1930
+ revision: z.ZodInt;
1931
+ scan: z.ZodObject<{
1932
+ done: z.ZodInt;
1933
+ droppedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1934
+ droppedSelections: z.ZodOptional<z.ZodInt>;
1935
+ error: z.ZodOptional<z.ZodString>;
1936
+ lockedNodes: z.ZodOptional<z.ZodInt>;
1937
+ notice: z.ZodOptional<z.ZodString>;
1938
+ phase: z.ZodOptional<z.ZodString>;
1939
+ state: z.ZodEnum<{
1940
+ error: "error";
1941
+ idle: "idle";
1942
+ running: "running";
1943
+ done: "done";
1944
+ }>;
1945
+ total: z.ZodInt;
1946
+ }, z.core.$strict>;
1947
+ scope: z.ZodEnum<{
1948
+ full: "full";
1949
+ selection: "selection";
1950
+ }>;
1951
+ stops: z.ZodArray<z.ZodObject<{
1952
+ diff: z.ZodOptional<z.ZodObject<{
1953
+ file: z.ZodString;
1954
+ hunks: z.ZodArray<z.ZodObject<{
1955
+ header: z.ZodString;
1956
+ lines: z.ZodArray<z.ZodObject<{
1957
+ newNo: z.ZodOptional<z.ZodInt>;
1958
+ oldNo: z.ZodOptional<z.ZodInt>;
1959
+ text: z.ZodString;
1960
+ type: z.ZodEnum<{
1961
+ add: "add";
1962
+ del: "del";
1963
+ ctx: "ctx";
1964
+ }>;
1965
+ }, z.core.$strict>>;
1966
+ }, z.core.$strict>>;
1967
+ truncated: z.ZodOptional<z.ZodBoolean>;
1968
+ }, z.core.$strict>>;
1969
+ fields: z.ZodArray<z.ZodObject<{
1970
+ description: z.ZodOptional<z.ZodString>;
1971
+ example: z.ZodOptional<z.ZodArray<z.ZodObject<{
1972
+ kind: z.ZodEnum<{
1973
+ label: "label";
1974
+ spacer: "spacer";
1975
+ text: "text";
1976
+ after: "after";
1977
+ before: "before";
1978
+ }>;
1979
+ text: z.ZodString;
1980
+ }, z.core.$strict>>>;
1981
+ key: z.ZodString;
1982
+ kind: z.ZodEnum<{
1983
+ toggle: "toggle";
1984
+ action: "action";
1985
+ choice: "choice";
1986
+ tree: "tree";
1987
+ notice: "notice";
1988
+ }>;
1989
+ label: z.ZodString;
1990
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
1991
+ description: z.ZodOptional<z.ZodString>;
1992
+ label: z.ZodString;
1993
+ value: z.ZodString;
1994
+ }, z.core.$strict>>>;
1995
+ refusal: z.ZodOptional<z.ZodObject<{
1996
+ error: z.ZodString;
1997
+ key: z.ZodString;
1998
+ }, z.core.$strip>>;
1999
+ value: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
2000
+ }, z.core.$strict>>;
2001
+ guide: z.ZodObject<{
2002
+ hints: z.ZodOptional<z.ZodArray<z.ZodString>>;
2003
+ intro: z.ZodOptional<z.ZodString>;
2004
+ }, z.core.$strict>;
2005
+ hiddenBecause: z.ZodOptional<z.ZodString>;
2006
+ key: z.ZodString;
2007
+ kind: z.ZodEnum<{
2008
+ config: "config";
2009
+ ingest: "ingest";
2010
+ connection: "connection";
2011
+ review: "review";
2012
+ }>;
2013
+ summary: z.ZodOptional<z.ZodObject<{
2014
+ effects: z.ZodArray<z.ZodString>;
2015
+ values: z.ZodArray<z.ZodString>;
2016
+ }, z.core.$strict>>;
2017
+ title: z.ZodString;
2018
+ visible: z.ZodBoolean;
2019
+ }, z.core.$strict>>;
2020
+ village: z.ZodObject<{
2021
+ connected: z.ZodBoolean;
2022
+ url: z.ZodOptional<z.ZodString>;
2023
+ userId: z.ZodOptional<z.ZodString>;
2024
+ }, z.core.$strict>;
2025
+ }, z.core.$strict>>;
2026
+ }, z.core.$strict>;
2027
+ export type LocalKickstartEvent = z.infer<typeof zLocalKickstartEvent>;
2028
+ export declare const zLocalKickstartPatchResult: z.ZodObject<{
2029
+ overwritten: z.ZodOptional<z.ZodArray<z.ZodObject<{
2030
+ key: z.ZodString;
2031
+ previous: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
2032
+ revision: z.ZodInt;
2033
+ }, z.core.$strict>>>;
2034
+ revision: z.ZodInt;
2035
+ stale: z.ZodBoolean;
2036
+ view: z.ZodOptional<z.ZodObject<{
2037
+ conflicts: z.ZodArray<z.ZodObject<{
2038
+ field: z.ZodString;
2039
+ label: z.ZodString;
2040
+ mine: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
2041
+ stop: z.ZodString;
2042
+ theirs: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
2043
+ }, z.core.$strict>>;
2044
+ connect: z.ZodObject<{
2045
+ afterStop: z.ZodOptional<z.ZodString>;
2046
+ offered: z.ZodBoolean;
2047
+ prompt: z.ZodOptional<z.ZodString>;
2048
+ skip: z.ZodOptional<z.ZodString>;
2049
+ }, z.core.$strict>;
2050
+ id: z.ZodString;
2051
+ openedAt: z.ZodString;
2052
+ revision: z.ZodInt;
2053
+ scan: z.ZodObject<{
2054
+ done: z.ZodInt;
2055
+ droppedLabels: z.ZodOptional<z.ZodArray<z.ZodString>>;
2056
+ droppedSelections: z.ZodOptional<z.ZodInt>;
2057
+ error: z.ZodOptional<z.ZodString>;
2058
+ lockedNodes: z.ZodOptional<z.ZodInt>;
2059
+ notice: z.ZodOptional<z.ZodString>;
2060
+ phase: z.ZodOptional<z.ZodString>;
2061
+ state: z.ZodEnum<{
2062
+ error: "error";
2063
+ idle: "idle";
2064
+ running: "running";
2065
+ done: "done";
2066
+ }>;
2067
+ total: z.ZodInt;
2068
+ }, z.core.$strict>;
2069
+ scope: z.ZodEnum<{
2070
+ full: "full";
2071
+ selection: "selection";
2072
+ }>;
2073
+ stops: z.ZodArray<z.ZodObject<{
2074
+ diff: z.ZodOptional<z.ZodObject<{
2075
+ file: z.ZodString;
2076
+ hunks: z.ZodArray<z.ZodObject<{
2077
+ header: z.ZodString;
2078
+ lines: z.ZodArray<z.ZodObject<{
2079
+ newNo: z.ZodOptional<z.ZodInt>;
2080
+ oldNo: z.ZodOptional<z.ZodInt>;
2081
+ text: z.ZodString;
2082
+ type: z.ZodEnum<{
2083
+ add: "add";
2084
+ del: "del";
2085
+ ctx: "ctx";
2086
+ }>;
2087
+ }, z.core.$strict>>;
2088
+ }, z.core.$strict>>;
2089
+ truncated: z.ZodOptional<z.ZodBoolean>;
2090
+ }, z.core.$strict>>;
2091
+ fields: z.ZodArray<z.ZodObject<{
2092
+ description: z.ZodOptional<z.ZodString>;
2093
+ example: z.ZodOptional<z.ZodArray<z.ZodObject<{
2094
+ kind: z.ZodEnum<{
2095
+ label: "label";
2096
+ spacer: "spacer";
2097
+ text: "text";
2098
+ after: "after";
2099
+ before: "before";
2100
+ }>;
2101
+ text: z.ZodString;
2102
+ }, z.core.$strict>>>;
2103
+ key: z.ZodString;
2104
+ kind: z.ZodEnum<{
2105
+ toggle: "toggle";
2106
+ action: "action";
2107
+ choice: "choice";
2108
+ tree: "tree";
2109
+ notice: "notice";
2110
+ }>;
2111
+ label: z.ZodString;
2112
+ options: z.ZodOptional<z.ZodArray<z.ZodObject<{
2113
+ description: z.ZodOptional<z.ZodString>;
2114
+ label: z.ZodString;
2115
+ value: z.ZodString;
2116
+ }, z.core.$strict>>>;
2117
+ refusal: z.ZodOptional<z.ZodObject<{
2118
+ error: z.ZodString;
2119
+ key: z.ZodString;
2120
+ }, z.core.$strip>>;
2121
+ value: z.ZodNullable<z.ZodUnion<readonly [z.ZodBoolean, z.ZodInt, z.ZodString, z.ZodArray<z.ZodUnknown>, z.ZodRecord<z.ZodString, z.ZodUnknown>]>>;
2122
+ }, z.core.$strict>>;
2123
+ guide: z.ZodObject<{
2124
+ hints: z.ZodOptional<z.ZodArray<z.ZodString>>;
2125
+ intro: z.ZodOptional<z.ZodString>;
2126
+ }, z.core.$strict>;
2127
+ hiddenBecause: z.ZodOptional<z.ZodString>;
2128
+ key: z.ZodString;
2129
+ kind: z.ZodEnum<{
2130
+ config: "config";
2131
+ ingest: "ingest";
2132
+ connection: "connection";
2133
+ review: "review";
2134
+ }>;
2135
+ summary: z.ZodOptional<z.ZodObject<{
2136
+ effects: z.ZodArray<z.ZodString>;
2137
+ values: z.ZodArray<z.ZodString>;
2138
+ }, z.core.$strict>>;
2139
+ title: z.ZodString;
2140
+ visible: z.ZodBoolean;
2141
+ }, z.core.$strict>>;
2142
+ village: z.ZodObject<{
2143
+ connected: z.ZodBoolean;
2144
+ url: z.ZodOptional<z.ZodString>;
2145
+ userId: z.ZodOptional<z.ZodString>;
2146
+ }, z.core.$strict>;
2147
+ }, z.core.$strict>>;
2148
+ }, z.core.$strict>;
2149
+ export type LocalKickstartPatchResult = z.infer<typeof zLocalKickstartPatchResult>;
1148
2150
  export declare const zLocalSetting: z.ZodObject<{
1149
2151
  description: z.ZodOptional<z.ZodString>;
1150
2152
  editable: z.ZodBoolean;
@@ -1155,8 +2157,8 @@ export declare const zLocalSetting: z.ZodObject<{
1155
2157
  string: "string";
1156
2158
  boolean: "boolean";
1157
2159
  integer: "integer";
1158
- string_list: "string_list";
1159
2160
  choice: "choice";
2161
+ string_list: "string_list";
1160
2162
  structured: "structured";
1161
2163
  }>;
1162
2164
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -1251,6 +2253,7 @@ export declare const zMessageType: z.ZodEnum<{
1251
2253
  trends: "trends";
1252
2254
  annotations: "annotations";
1253
2255
  project_familiarity: "project_familiarity";
2256
+ kickstart: "kickstart";
1254
2257
  subscribe: "subscribe";
1255
2258
  unsubscribe: "unsubscribe";
1256
2259
  }>;
@@ -1271,6 +2274,7 @@ export declare const zClientMessage: z.ZodObject<{
1271
2274
  trends: "trends";
1272
2275
  annotations: "annotations";
1273
2276
  project_familiarity: "project_familiarity";
2277
+ kickstart: "kickstart";
1274
2278
  }>;
1275
2279
  }, z.core.$strip>>>;
1276
2280
  type: z.ZodEnum<{
@@ -1283,6 +2287,7 @@ export declare const zClientMessage: z.ZodObject<{
1283
2287
  trends: "trends";
1284
2288
  annotations: "annotations";
1285
2289
  project_familiarity: "project_familiarity";
2290
+ kickstart: "kickstart";
1286
2291
  subscribe: "subscribe";
1287
2292
  unsubscribe: "unsubscribe";
1288
2293
  }>;
@@ -2225,6 +3230,7 @@ export declare const zServerMessage: z.ZodObject<{
2225
3230
  trends: "trends";
2226
3231
  annotations: "annotations";
2227
3232
  project_familiarity: "project_familiarity";
3233
+ kickstart: "kickstart";
2228
3234
  }>>;
2229
3235
  type: z.ZodEnum<{
2230
3236
  error: "error";
@@ -2236,6 +3242,7 @@ export declare const zServerMessage: z.ZodObject<{
2236
3242
  trends: "trends";
2237
3243
  annotations: "annotations";
2238
3244
  project_familiarity: "project_familiarity";
3245
+ kickstart: "kickstart";
2239
3246
  subscribe: "subscribe";
2240
3247
  unsubscribe: "unsubscribe";
2241
3248
  }>;
@@ -2991,10 +3998,10 @@ export type SourceInfo = z.infer<typeof zSourceInfo>;
2991
3998
  */
2992
3999
  export declare const zStopReason: z.ZodEnum<{
2993
4000
  cancelled: "cancelled";
4001
+ refusal: "refusal";
2994
4002
  end_turn: "end_turn";
2995
4003
  max_tokens: "max_tokens";
2996
4004
  max_turn_requests: "max_turn_requests";
2997
- refusal: "refusal";
2998
4005
  }>;
2999
4006
  export type StopReason = z.infer<typeof zStopReason>;
3000
4007
  export declare const zSubagentRef: z.ZodObject<{
@@ -5842,10 +6849,10 @@ export declare const zAuthoritativeSessionEntry: z.ZodObject<{
5842
6849
  sourceEntryRef: z.ZodOptional<z.ZodString>;
5843
6850
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5844
6851
  cancelled: "cancelled";
6852
+ refusal: "refusal";
5845
6853
  end_turn: "end_turn";
5846
6854
  max_tokens: "max_tokens";
5847
6855
  max_turn_requests: "max_turn_requests";
5848
- refusal: "refusal";
5849
6856
  }>>>;
5850
6857
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5851
6858
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -5975,10 +6982,10 @@ export declare const zCanonicalPublishReplacement: z.ZodObject<{
5975
6982
  sourceEntryRef: z.ZodOptional<z.ZodString>;
5976
6983
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
5977
6984
  cancelled: "cancelled";
6985
+ refusal: "refusal";
5978
6986
  end_turn: "end_turn";
5979
6987
  max_tokens: "max_tokens";
5980
6988
  max_turn_requests: "max_turn_requests";
5981
- refusal: "refusal";
5982
6989
  }>>>;
5983
6990
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
5984
6991
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -6258,10 +7265,10 @@ export declare const zSessionEntry: z.ZodObject<{
6258
7265
  sourceEntryRef: z.ZodOptional<z.ZodString>;
6259
7266
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6260
7267
  cancelled: "cancelled";
7268
+ refusal: "refusal";
6261
7269
  end_turn: "end_turn";
6262
7270
  max_tokens: "max_tokens";
6263
7271
  max_turn_requests: "max_turn_requests";
6264
- refusal: "refusal";
6265
7272
  }>>>;
6266
7273
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6267
7274
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -6391,10 +7398,10 @@ export declare const zPublishRequest: z.ZodObject<{
6391
7398
  sourceEntryRef: z.ZodOptional<z.ZodString>;
6392
7399
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6393
7400
  cancelled: "cancelled";
7401
+ refusal: "refusal";
6394
7402
  end_turn: "end_turn";
6395
7403
  max_tokens: "max_tokens";
6396
7404
  max_turn_requests: "max_turn_requests";
6397
- refusal: "refusal";
6398
7405
  }>>>;
6399
7406
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6400
7407
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -6687,10 +7694,10 @@ export declare const zCanonicalPublishOperation: z.ZodObject<{
6687
7694
  sourceEntryRef: z.ZodOptional<z.ZodString>;
6688
7695
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
6689
7696
  cancelled: "cancelled";
7697
+ refusal: "refusal";
6690
7698
  end_turn: "end_turn";
6691
7699
  max_tokens: "max_tokens";
6692
7700
  max_turn_requests: "max_turn_requests";
6693
- refusal: "refusal";
6694
7701
  }>>>;
6695
7702
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
6696
7703
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -8267,10 +9274,10 @@ export declare const zTranscriptTurn: z.ZodObject<{
8267
9274
  sourceEntryRef: z.ZodOptional<z.ZodString>;
8268
9275
  stopReason: z.ZodOptional<z.ZodEnum<{
8269
9276
  cancelled: "cancelled";
9277
+ refusal: "refusal";
8270
9278
  end_turn: "end_turn";
8271
9279
  max_tokens: "max_tokens";
8272
9280
  max_turn_requests: "max_turn_requests";
8273
- refusal: "refusal";
8274
9281
  }>>;
8275
9282
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
8276
9283
  max: "max";
@@ -8587,10 +9594,10 @@ export declare const zTranscriptSegment: z.ZodObject<{
8587
9594
  sourceEntryRef: z.ZodOptional<z.ZodString>;
8588
9595
  stopReason: z.ZodOptional<z.ZodEnum<{
8589
9596
  cancelled: "cancelled";
9597
+ refusal: "refusal";
8590
9598
  end_turn: "end_turn";
8591
9599
  max_tokens: "max_tokens";
8592
9600
  max_turn_requests: "max_turn_requests";
8593
- refusal: "refusal";
8594
9601
  }>>;
8595
9602
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
8596
9603
  max: "max";
@@ -8899,10 +9906,10 @@ export declare const zTurnDetail: z.ZodObject<{
8899
9906
  sourceEntryRef: z.ZodOptional<z.ZodString>;
8900
9907
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
8901
9908
  cancelled: "cancelled";
9909
+ refusal: "refusal";
8902
9910
  end_turn: "end_turn";
8903
9911
  max_tokens: "max_tokens";
8904
9912
  max_turn_requests: "max_turn_requests";
8905
- refusal: "refusal";
8906
9913
  }>>>;
8907
9914
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
8908
9915
  max: "max";
@@ -9243,10 +10250,10 @@ export declare const zEarlierHistorySection: z.ZodObject<{
9243
10250
  sourceEntryRef: z.ZodOptional<z.ZodString>;
9244
10251
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9245
10252
  cancelled: "cancelled";
10253
+ refusal: "refusal";
9246
10254
  end_turn: "end_turn";
9247
10255
  max_tokens: "max_tokens";
9248
10256
  max_turn_requests: "max_turn_requests";
9249
- refusal: "refusal";
9250
10257
  }>>>;
9251
10258
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
9252
10259
  max: "max";
@@ -9598,10 +10605,10 @@ export declare const zSessionDetailPayload: z.ZodObject<{
9598
10605
  sourceEntryRef: z.ZodOptional<z.ZodString>;
9599
10606
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
9600
10607
  cancelled: "cancelled";
10608
+ refusal: "refusal";
9601
10609
  end_turn: "end_turn";
9602
10610
  max_tokens: "max_tokens";
9603
10611
  max_turn_requests: "max_turn_requests";
9604
- refusal: "refusal";
9605
10612
  }>>>;
9606
10613
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
9607
10614
  max: "max";
@@ -10072,10 +11079,10 @@ export declare const zSessionDetailPayload: z.ZodObject<{
10072
11079
  sourceEntryRef: z.ZodOptional<z.ZodString>;
10073
11080
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
10074
11081
  cancelled: "cancelled";
11082
+ refusal: "refusal";
10075
11083
  end_turn: "end_turn";
10076
11084
  max_tokens: "max_tokens";
10077
11085
  max_turn_requests: "max_turn_requests";
10078
- refusal: "refusal";
10079
11086
  }>>>;
10080
11087
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
10081
11088
  max: "max";
@@ -10428,10 +11435,10 @@ export declare const zSessionDetailReadPayload: z.ZodObject<{
10428
11435
  sourceEntryRef: z.ZodOptional<z.ZodString>;
10429
11436
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
10430
11437
  cancelled: "cancelled";
11438
+ refusal: "refusal";
10431
11439
  end_turn: "end_turn";
10432
11440
  max_tokens: "max_tokens";
10433
11441
  max_turn_requests: "max_turn_requests";
10434
- refusal: "refusal";
10435
11442
  }>>>;
10436
11443
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
10437
11444
  max: "max";
@@ -10941,10 +11948,10 @@ export declare const zSessionDetailReadPayload: z.ZodObject<{
10941
11948
  sourceEntryRef: z.ZodOptional<z.ZodString>;
10942
11949
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
10943
11950
  cancelled: "cancelled";
11951
+ refusal: "refusal";
10944
11952
  end_turn: "end_turn";
10945
11953
  max_tokens: "max_tokens";
10946
11954
  max_turn_requests: "max_turn_requests";
10947
- refusal: "refusal";
10948
11955
  }>>>;
10949
11956
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
10950
11957
  max: "max";
@@ -11302,10 +12309,10 @@ export declare const zTranscriptContent: z.ZodObject<{
11302
12309
  sourceEntryRef: z.ZodOptional<z.ZodString>;
11303
12310
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11304
12311
  cancelled: "cancelled";
12312
+ refusal: "refusal";
11305
12313
  end_turn: "end_turn";
11306
12314
  max_tokens: "max_tokens";
11307
12315
  max_turn_requests: "max_turn_requests";
11308
- refusal: "refusal";
11309
12316
  }>>>;
11310
12317
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
11311
12318
  max: "max";
@@ -11776,10 +12783,10 @@ export declare const zTranscriptContent: z.ZodObject<{
11776
12783
  sourceEntryRef: z.ZodOptional<z.ZodString>;
11777
12784
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
11778
12785
  cancelled: "cancelled";
12786
+ refusal: "refusal";
11779
12787
  end_turn: "end_turn";
11780
12788
  max_tokens: "max_tokens";
11781
12789
  max_turn_requests: "max_turn_requests";
11782
- refusal: "refusal";
11783
12790
  }>>>;
11784
12791
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
11785
12792
  max: "max";
@@ -15064,8 +16071,8 @@ export declare const zLocalSettingsResponse: z.ZodObject<{
15064
16071
  string: "string";
15065
16072
  boolean: "boolean";
15066
16073
  integer: "integer";
15067
- string_list: "string_list";
15068
16074
  choice: "choice";
16075
+ string_list: "string_list";
15069
16076
  structured: "structured";
15070
16077
  }>;
15071
16078
  options: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -22671,10 +23678,10 @@ export declare const zAuthoritativePublishRequest: z.ZodObject<{
22671
23678
  sourceEntryRef: z.ZodOptional<z.ZodString>;
22672
23679
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22673
23680
  cancelled: "cancelled";
23681
+ refusal: "refusal";
22674
23682
  end_turn: "end_turn";
22675
23683
  max_tokens: "max_tokens";
22676
23684
  max_turn_requests: "max_turn_requests";
22677
- refusal: "refusal";
22678
23685
  }>>>;
22679
23686
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
22680
23687
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -22984,10 +23991,10 @@ export declare const zScryCheckRequest: z.ZodObject<{
22984
23991
  sourceEntryRef: z.ZodOptional<z.ZodString>;
22985
23992
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
22986
23993
  cancelled: "cancelled";
23994
+ refusal: "refusal";
22987
23995
  end_turn: "end_turn";
22988
23996
  max_tokens: "max_tokens";
22989
23997
  max_turn_requests: "max_turn_requests";
22990
- refusal: "refusal";
22991
23998
  }>>>;
22992
23999
  timestampMs: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
22993
24000
  tokensIn: z.ZodOptional<z.ZodNullable<z.ZodInt>>;
@@ -23333,10 +24340,10 @@ export declare const zScryCheckRequest: z.ZodObject<{
23333
24340
  sourceEntryRef: z.ZodOptional<z.ZodString>;
23334
24341
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
23335
24342
  cancelled: "cancelled";
24343
+ refusal: "refusal";
23336
24344
  end_turn: "end_turn";
23337
24345
  max_tokens: "max_tokens";
23338
24346
  max_turn_requests: "max_turn_requests";
23339
- refusal: "refusal";
23340
24347
  }>>>;
23341
24348
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
23342
24349
  max: "max";
@@ -23807,10 +24814,10 @@ export declare const zScryCheckRequest: z.ZodObject<{
23807
24814
  sourceEntryRef: z.ZodOptional<z.ZodString>;
23808
24815
  stopReason: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
23809
24816
  cancelled: "cancelled";
24817
+ refusal: "refusal";
23810
24818
  end_turn: "end_turn";
23811
24819
  max_tokens: "max_tokens";
23812
24820
  max_turn_requests: "max_turn_requests";
23813
- refusal: "refusal";
23814
24821
  }>>>;
23815
24822
  thinkingLevel: z.ZodOptional<z.ZodEnum<{
23816
24823
  max: "max";