@intentic/sandbox-contract 1.169.0 → 1.171.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.
- package/dist/agent-catalog.d.ts +1 -0
- package/dist/agent-catalog.d.ts.map +1 -1
- package/dist/agent-catalog.js +2 -1
- package/dist/agent-catalog.js.map +1 -1
- package/dist/chores/chores.d.ts +45 -0
- package/dist/chores/chores.d.ts.map +1 -0
- package/dist/chores/chores.js +487 -0
- package/dist/chores/chores.js.map +1 -0
- package/dist/chores/digest.d.ts +3 -0
- package/dist/chores/digest.d.ts.map +1 -0
- package/dist/chores/digest.js +0 -0
- package/dist/chores/digest.js.map +1 -0
- package/dist/chores/index.d.ts +10 -0
- package/dist/chores/index.d.ts.map +1 -0
- package/dist/chores/index.js +6 -0
- package/dist/chores/index.js.map +1 -0
- package/dist/chores/probes.d.ts +15 -0
- package/dist/chores/probes.d.ts.map +1 -0
- package/dist/chores/probes.js +177 -0
- package/dist/chores/probes.js.map +1 -0
- package/dist/chores/prompt.d.ts +14 -0
- package/dist/chores/prompt.d.ts.map +1 -0
- package/dist/chores/prompt.js +12 -0
- package/dist/chores/prompt.js.map +1 -0
- package/dist/chores/verdict.d.ts +20 -0
- package/dist/chores/verdict.d.ts.map +1 -0
- package/dist/chores/verdict.js +59 -0
- package/dist/chores/verdict.js.map +1 -0
- package/dist/contracts/agent.contract.d.ts +22 -0
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agent.contract.js +2 -1
- package/dist/contracts/agent.contract.js.map +1 -1
- package/dist/contracts/agents.contract.d.ts +2 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/automations.contract.d.ts +54 -0
- package/dist/contracts/automations.contract.d.ts.map +1 -1
- package/dist/contracts/chores.contract.d.ts +151 -0
- package/dist/contracts/chores.contract.d.ts.map +1 -0
- package/dist/contracts/chores.contract.js +8 -0
- package/dist/contracts/chores.contract.js.map +1 -0
- package/dist/contracts/extensions.contract.d.ts +7 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/extensions.contract.js +2 -1
- package/dist/contracts/extensions.contract.js.map +1 -1
- package/dist/contracts/system.contract.d.ts +14 -14
- package/dist/contracts/workspace.contract.d.ts +11 -24
- package/dist/contracts/workspace.contract.d.ts.map +1 -1
- package/dist/events.d.ts +10 -0
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +7 -1
- package/dist/events.js.map +1 -1
- package/dist/hostnames.d.ts +0 -1
- package/dist/hostnames.d.ts.map +1 -1
- package/dist/hostnames.js +0 -1
- package/dist/hostnames.js.map +1 -1
- package/dist/index.d.ts +261 -38
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -0
- package/dist/index.js.map +1 -1
- package/dist/schemas.d.ts +618 -40
- package/dist/schemas.d.ts.map +1 -1
- package/dist/schemas.js +145 -2
- package/dist/schemas.js.map +1 -1
- package/dist/tunnel-ids.d.ts +2 -0
- package/dist/tunnel-ids.d.ts.map +1 -1
- package/dist/tunnel-ids.js +2 -0
- package/dist/tunnel-ids.js.map +1 -1
- package/dist/workspace-state.d.ts.map +1 -1
- package/dist/workspace-state.js +9 -0
- package/dist/workspace-state.js.map +1 -1
- package/package.json +14 -2
- package/src/agent-catalog.test.ts +32 -1
- package/src/agent-catalog.ts +25 -7
- package/src/chores/chores.ts +837 -0
- package/src/chores/digest.test.ts +30 -0
- package/src/chores/digest.ts +0 -0
- package/src/chores/index.ts +9 -0
- package/src/chores/probes.test.ts +166 -0
- package/src/chores/probes.ts +273 -0
- package/src/chores/prompt.ts +64 -0
- package/src/chores/verdict.test.ts +394 -0
- package/src/chores/verdict.ts +167 -0
- package/src/contracts/agent.contract.ts +14 -1
- package/src/contracts/chores.contract.ts +23 -0
- package/src/contracts/extensions.contract.ts +5 -0
- package/src/events.ts +15 -2
- package/src/hostnames.ts +4 -6
- package/src/index.ts +3 -0
- package/src/schemas.ts +427 -19
- package/src/tunnel-ids.test.ts +49 -0
- package/src/tunnel-ids.ts +24 -0
- package/src/workspace-state.ts +13 -0
package/dist/schemas.d.ts
CHANGED
|
@@ -76,6 +76,7 @@ export declare const AgentTurnSchema: z.ZodObject<{
|
|
|
76
76
|
default: "default";
|
|
77
77
|
plan: "plan";
|
|
78
78
|
}>>;
|
|
79
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
79
80
|
effort: z.ZodOptional<z.ZodString>;
|
|
80
81
|
thinking: z.ZodOptional<z.ZodBoolean>;
|
|
81
82
|
editorContext: z.ZodOptional<z.ZodObject<{
|
|
@@ -258,6 +259,7 @@ export declare const AgentsListSchema: z.ZodObject<{
|
|
|
258
259
|
}, z.core.$strip>>;
|
|
259
260
|
rev: z.ZodNumber;
|
|
260
261
|
}, z.core.$strip>;
|
|
262
|
+
export type AgentsList = z.infer<typeof AgentsListSchema>;
|
|
261
263
|
export declare const AgentIdSchema: z.ZodObject<{
|
|
262
264
|
id: z.ZodString;
|
|
263
265
|
}, z.core.$strip>;
|
|
@@ -395,6 +397,7 @@ export declare const LandConflictSchema: z.ZodObject<{
|
|
|
395
397
|
}>;
|
|
396
398
|
}, z.core.$strip>>;
|
|
397
399
|
clean: z.ZodNumber;
|
|
400
|
+
mainBranch: z.ZodOptional<z.ZodString>;
|
|
398
401
|
}, z.core.$strip>;
|
|
399
402
|
export type LandConflict = z.infer<typeof LandConflictSchema>;
|
|
400
403
|
export declare const LandResultSchema: z.ZodObject<{
|
|
@@ -410,6 +413,7 @@ export declare const LandResultSchema: z.ZodObject<{
|
|
|
410
413
|
}>;
|
|
411
414
|
}, z.core.$strip>>;
|
|
412
415
|
clean: z.ZodNumber;
|
|
416
|
+
mainBranch: z.ZodOptional<z.ZodString>;
|
|
413
417
|
}, z.core.$strip>>>;
|
|
414
418
|
resolving: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
415
419
|
repo: z.ZodString;
|
|
@@ -456,6 +460,28 @@ export declare const AccountUsageSchema: z.ZodObject<{
|
|
|
456
460
|
measuredAt: z.ZodNumber;
|
|
457
461
|
}, z.core.$strip>;
|
|
458
462
|
export type AccountUsage = z.infer<typeof AccountUsageSchema>;
|
|
463
|
+
export declare const ProviderRefusalSchema: z.ZodObject<{
|
|
464
|
+
at: z.ZodNumber;
|
|
465
|
+
kind: z.ZodEnum<{
|
|
466
|
+
auth: "auth";
|
|
467
|
+
limit: "limit";
|
|
468
|
+
}>;
|
|
469
|
+
message: z.ZodString;
|
|
470
|
+
account: z.ZodOptional<z.ZodString>;
|
|
471
|
+
}, z.core.$strip>;
|
|
472
|
+
export type ProviderRefusal = z.infer<typeof ProviderRefusalSchema>;
|
|
473
|
+
export declare const ProviderRefusalsSchema: z.ZodObject<{
|
|
474
|
+
refusals: z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
475
|
+
at: z.ZodNumber;
|
|
476
|
+
kind: z.ZodEnum<{
|
|
477
|
+
auth: "auth";
|
|
478
|
+
limit: "limit";
|
|
479
|
+
}>;
|
|
480
|
+
message: z.ZodString;
|
|
481
|
+
account: z.ZodOptional<z.ZodString>;
|
|
482
|
+
}, z.core.$strip>>;
|
|
483
|
+
}, z.core.$strip>;
|
|
484
|
+
export type ProviderRefusals = z.infer<typeof ProviderRefusalsSchema>;
|
|
459
485
|
export declare const TranslatorAccountSchema: z.ZodObject<{
|
|
460
486
|
name: z.ZodString;
|
|
461
487
|
label: z.ZodString;
|
|
@@ -618,6 +644,7 @@ export declare const OauthAccountListSchema: z.ZodObject<{
|
|
|
618
644
|
}, z.core.$strip>>;
|
|
619
645
|
}, z.core.$strip>>;
|
|
620
646
|
}, z.core.$strip>;
|
|
647
|
+
export type OauthAccountList = z.infer<typeof OauthAccountListSchema>;
|
|
621
648
|
export declare const AccountIdSchema: z.ZodObject<{
|
|
622
649
|
id: z.ZodString;
|
|
623
650
|
}, z.core.$strip>;
|
|
@@ -697,6 +724,7 @@ export declare const SessionSummarySchema: z.ZodObject<{
|
|
|
697
724
|
updatedAt: z.ZodNumber;
|
|
698
725
|
snippet: z.ZodOptional<z.ZodString>;
|
|
699
726
|
}, z.core.$strip>;
|
|
727
|
+
export type SessionSummary = z.infer<typeof SessionSummarySchema>;
|
|
700
728
|
export declare const SessionsListSchema: z.ZodObject<{
|
|
701
729
|
sessions: z.ZodArray<z.ZodObject<{
|
|
702
730
|
id: z.ZodString;
|
|
@@ -1190,6 +1218,7 @@ export declare const AgentChangesSchema: z.ZodObject<{
|
|
|
1190
1218
|
}>;
|
|
1191
1219
|
}, z.core.$strip>>;
|
|
1192
1220
|
clean: z.ZodNumber;
|
|
1221
|
+
mainBranch: z.ZodOptional<z.ZodString>;
|
|
1193
1222
|
}, z.core.$strip>>>;
|
|
1194
1223
|
}, z.core.$strip>;
|
|
1195
1224
|
export type AgentChanges = z.infer<typeof AgentChangesSchema>;
|
|
@@ -1362,31 +1391,18 @@ export declare const FileDiffSchema: z.ZodObject<{
|
|
|
1362
1391
|
truncated: z.ZodOptional<z.ZodBoolean>;
|
|
1363
1392
|
}, z.core.$strip>;
|
|
1364
1393
|
export type FileDiff = z.infer<typeof FileDiffSchema>;
|
|
1365
|
-
export
|
|
1366
|
-
name:
|
|
1367
|
-
path:
|
|
1368
|
-
type:
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
1373
|
-
|
|
1374
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1375
|
-
}, z.core.$strip>;
|
|
1376
|
-
export type WorkspaceTreeEntry = z.infer<typeof WorkspaceTreeEntrySchema>;
|
|
1394
|
+
export interface WorkspaceTreeEntry {
|
|
1395
|
+
readonly name: string;
|
|
1396
|
+
readonly path: string;
|
|
1397
|
+
readonly type: "file" | "dir";
|
|
1398
|
+
readonly size?: number | undefined;
|
|
1399
|
+
readonly ignored?: boolean | undefined;
|
|
1400
|
+
readonly children?: readonly WorkspaceTreeEntry[] | undefined;
|
|
1401
|
+
}
|
|
1402
|
+
export declare const WorkspaceTreeEntrySchema: z.ZodType<WorkspaceTreeEntry>;
|
|
1377
1403
|
export declare const WorkspaceTreeSchema: z.ZodObject<{
|
|
1378
1404
|
root: z.ZodString;
|
|
1379
|
-
tree: z.ZodArray<z.
|
|
1380
|
-
name: z.ZodString;
|
|
1381
|
-
path: z.ZodString;
|
|
1382
|
-
type: z.ZodEnum<{
|
|
1383
|
-
dir: "dir";
|
|
1384
|
-
file: "file";
|
|
1385
|
-
}>;
|
|
1386
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
1387
|
-
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1388
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1389
|
-
}, z.core.$strip>>;
|
|
1405
|
+
tree: z.ZodArray<z.ZodType<WorkspaceTreeEntry, unknown, z.core.$ZodTypeInternals<WorkspaceTreeEntry, unknown>>>;
|
|
1390
1406
|
hidden: z.ZodNumber;
|
|
1391
1407
|
}, z.core.$strip>;
|
|
1392
1408
|
export type WorkspaceTree = z.infer<typeof WorkspaceTreeSchema>;
|
|
@@ -1394,17 +1410,7 @@ export declare const WorkspaceChildrenQuerySchema: z.ZodObject<{
|
|
|
1394
1410
|
path: z.ZodString;
|
|
1395
1411
|
}, z.core.$strip>;
|
|
1396
1412
|
export declare const WorkspaceChildrenSchema: z.ZodObject<{
|
|
1397
|
-
entries: z.ZodArray<z.
|
|
1398
|
-
name: z.ZodString;
|
|
1399
|
-
path: z.ZodString;
|
|
1400
|
-
type: z.ZodEnum<{
|
|
1401
|
-
dir: "dir";
|
|
1402
|
-
file: "file";
|
|
1403
|
-
}>;
|
|
1404
|
-
size: z.ZodOptional<z.ZodNumber>;
|
|
1405
|
-
ignored: z.ZodOptional<z.ZodBoolean>;
|
|
1406
|
-
children: z.ZodOptional<z.ZodArray<z.ZodObject<any, z.core.$strip>>>;
|
|
1407
|
-
}, z.core.$strip>>;
|
|
1413
|
+
entries: z.ZodArray<z.ZodType<WorkspaceTreeEntry, unknown, z.core.$ZodTypeInternals<WorkspaceTreeEntry, unknown>>>;
|
|
1408
1414
|
hidden: z.ZodNumber;
|
|
1409
1415
|
}, z.core.$strip>;
|
|
1410
1416
|
export type WorkspaceChildren = z.infer<typeof WorkspaceChildrenSchema>;
|
|
@@ -1470,6 +1476,9 @@ export declare const WorkspaceSearchQuerySchema: z.ZodObject<{
|
|
|
1470
1476
|
sym: "sym";
|
|
1471
1477
|
}>>;
|
|
1472
1478
|
includeIgnored: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
1479
|
+
literal: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
1480
|
+
word: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
1481
|
+
caseSensitive: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
1473
1482
|
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
1474
1483
|
after: z.ZodOptional<z.ZodString>;
|
|
1475
1484
|
}, z.core.$strip>;
|
|
@@ -1491,11 +1500,18 @@ export declare const WorkspaceSearchTagSchema: z.ZodObject<{
|
|
|
1491
1500
|
score: z.ZodOptional<z.ZodNumber>;
|
|
1492
1501
|
}, z.core.$strip>;
|
|
1493
1502
|
export type WorkspaceSearchTag = z.infer<typeof WorkspaceSearchTagSchema>;
|
|
1503
|
+
export declare const WorkspaceSearchSpanSchema: z.ZodObject<{
|
|
1504
|
+
start: z.ZodNumber;
|
|
1505
|
+
end: z.ZodNumber;
|
|
1506
|
+
}, z.core.$strip>;
|
|
1507
|
+
export type WorkspaceSearchSpan = z.infer<typeof WorkspaceSearchSpanSchema>;
|
|
1494
1508
|
export declare const WorkspaceSearchHitSchema: z.ZodObject<{
|
|
1495
1509
|
line: z.ZodNumber;
|
|
1496
1510
|
text: z.ZodString;
|
|
1497
|
-
|
|
1498
|
-
|
|
1511
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
1512
|
+
start: z.ZodNumber;
|
|
1513
|
+
end: z.ZodNumber;
|
|
1514
|
+
}, z.core.$strip>>;
|
|
1499
1515
|
tags: z.ZodArray<z.ZodObject<{
|
|
1500
1516
|
kind: z.ZodEnum<{
|
|
1501
1517
|
bm25: "bm25";
|
|
@@ -1522,8 +1538,10 @@ export declare const WorkspaceSearchGroupSchema: z.ZodObject<{
|
|
|
1522
1538
|
hits: z.ZodArray<z.ZodObject<{
|
|
1523
1539
|
line: z.ZodNumber;
|
|
1524
1540
|
text: z.ZodString;
|
|
1525
|
-
|
|
1526
|
-
|
|
1541
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
1542
|
+
start: z.ZodNumber;
|
|
1543
|
+
end: z.ZodNumber;
|
|
1544
|
+
}, z.core.$strip>>;
|
|
1527
1545
|
tags: z.ZodArray<z.ZodObject<{
|
|
1528
1546
|
kind: z.ZodEnum<{
|
|
1529
1547
|
bm25: "bm25";
|
|
@@ -1559,6 +1577,7 @@ export type WorkspaceSearchFreshness = z.infer<typeof WorkspaceSearchFreshnessSc
|
|
|
1559
1577
|
export declare const WorkspaceSearchResultSchema: z.ZodObject<{
|
|
1560
1578
|
mode: z.ZodString;
|
|
1561
1579
|
total: z.ZodNumber;
|
|
1580
|
+
files: z.ZodNumber;
|
|
1562
1581
|
shown: z.ZodNumber;
|
|
1563
1582
|
groups: z.ZodArray<z.ZodObject<{
|
|
1564
1583
|
path: z.ZodString;
|
|
@@ -1566,8 +1585,10 @@ export declare const WorkspaceSearchResultSchema: z.ZodObject<{
|
|
|
1566
1585
|
hits: z.ZodArray<z.ZodObject<{
|
|
1567
1586
|
line: z.ZodNumber;
|
|
1568
1587
|
text: z.ZodString;
|
|
1569
|
-
|
|
1570
|
-
|
|
1588
|
+
spans: z.ZodArray<z.ZodObject<{
|
|
1589
|
+
start: z.ZodNumber;
|
|
1590
|
+
end: z.ZodNumber;
|
|
1591
|
+
}, z.core.$strip>>;
|
|
1571
1592
|
tags: z.ZodArray<z.ZodObject<{
|
|
1572
1593
|
kind: z.ZodEnum<{
|
|
1573
1594
|
bm25: "bm25";
|
|
@@ -1601,6 +1622,7 @@ export declare const WorkspaceSearchResultSchema: z.ZodObject<{
|
|
|
1601
1622
|
truncated: z.ZodBoolean;
|
|
1602
1623
|
cursor: z.ZodOptional<z.ZodString>;
|
|
1603
1624
|
hint: z.ZodOptional<z.ZodString>;
|
|
1625
|
+
note: z.ZodOptional<z.ZodString>;
|
|
1604
1626
|
related: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1605
1627
|
candidates: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1606
1628
|
features: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -2729,6 +2751,7 @@ export declare const ExtensionSummarySchema: z.ZodObject<{
|
|
|
2729
2751
|
}, z.core.$strip>;
|
|
2730
2752
|
commit: z.ZodString;
|
|
2731
2753
|
builtin: z.ZodBoolean;
|
|
2754
|
+
enabled: z.ZodBoolean;
|
|
2732
2755
|
}, z.core.$strip>;
|
|
2733
2756
|
export type ExtensionSummary = z.infer<typeof ExtensionSummarySchema>;
|
|
2734
2757
|
export declare const ExtensionsListSchema: z.ZodObject<{
|
|
@@ -2852,6 +2875,7 @@ export declare const ExtensionsListSchema: z.ZodObject<{
|
|
|
2852
2875
|
}, z.core.$strip>;
|
|
2853
2876
|
commit: z.ZodString;
|
|
2854
2877
|
builtin: z.ZodBoolean;
|
|
2878
|
+
enabled: z.ZodBoolean;
|
|
2855
2879
|
}, z.core.$strip>>;
|
|
2856
2880
|
}, z.core.$strip>;
|
|
2857
2881
|
export declare const ExtensionSettingsSchema: z.ZodObject<{
|
|
@@ -2863,6 +2887,10 @@ export declare const ExtensionSettingsInputSchema: z.ZodObject<{
|
|
|
2863
2887
|
id: z.ZodString;
|
|
2864
2888
|
settings: z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>;
|
|
2865
2889
|
}, z.core.$strip>;
|
|
2890
|
+
export declare const ExtensionEnabledInputSchema: z.ZodObject<{
|
|
2891
|
+
id: z.ZodString;
|
|
2892
|
+
enabled: z.ZodBoolean;
|
|
2893
|
+
}, z.core.$strip>;
|
|
2866
2894
|
export declare const ExtensionProcessParamSchema: z.ZodObject<{
|
|
2867
2895
|
id: z.ZodString;
|
|
2868
2896
|
name: z.ZodString;
|
|
@@ -2923,6 +2951,77 @@ export declare const TriggerSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2923
2951
|
repo: z.ZodOptional<z.ZodString>;
|
|
2924
2952
|
}, z.core.$strip>], "kind">;
|
|
2925
2953
|
export type Trigger = z.infer<typeof TriggerSchema>;
|
|
2954
|
+
export declare const WebchatConfigSchema: z.ZodObject<{
|
|
2955
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
2956
|
+
google: "google";
|
|
2957
|
+
public: "public";
|
|
2958
|
+
}>>;
|
|
2959
|
+
requireName: z.ZodOptional<z.ZodBoolean>;
|
|
2960
|
+
antiBot: z.ZodOptional<z.ZodEnum<{
|
|
2961
|
+
pow: "pow";
|
|
2962
|
+
turnstile: "turnstile";
|
|
2963
|
+
}>>;
|
|
2964
|
+
turnstileSiteKey: z.ZodOptional<z.ZodString>;
|
|
2965
|
+
turnstileSecret: z.ZodOptional<z.ZodString>;
|
|
2966
|
+
googleClientId: z.ZodOptional<z.ZodString>;
|
|
2967
|
+
title: z.ZodOptional<z.ZodString>;
|
|
2968
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
2969
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
2970
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
2971
|
+
"bottom-left": "bottom-left";
|
|
2972
|
+
"bottom-right": "bottom-right";
|
|
2973
|
+
"top-left": "top-left";
|
|
2974
|
+
"top-right": "top-right";
|
|
2975
|
+
}>>;
|
|
2976
|
+
dailyMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
2977
|
+
conversationMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
2978
|
+
sessionTtlMinutes: z.ZodOptional<z.ZodNumber>;
|
|
2979
|
+
}, z.core.$strip>;
|
|
2980
|
+
export type WebchatConfig = z.infer<typeof WebchatConfigSchema>;
|
|
2981
|
+
export declare const WEBCHAT_DAILY_MAX_DEFAULT = 200;
|
|
2982
|
+
export declare const WebchatPublicConfigSchema: z.ZodObject<{
|
|
2983
|
+
automationId: z.ZodString;
|
|
2984
|
+
title: z.ZodString;
|
|
2985
|
+
greeting: z.ZodString;
|
|
2986
|
+
accent: z.ZodString;
|
|
2987
|
+
position: z.ZodEnum<{
|
|
2988
|
+
"bottom-left": "bottom-left";
|
|
2989
|
+
"bottom-right": "bottom-right";
|
|
2990
|
+
"top-left": "top-left";
|
|
2991
|
+
"top-right": "top-right";
|
|
2992
|
+
}>;
|
|
2993
|
+
access: z.ZodEnum<{
|
|
2994
|
+
google: "google";
|
|
2995
|
+
public: "public";
|
|
2996
|
+
}>;
|
|
2997
|
+
requireName: z.ZodBoolean;
|
|
2998
|
+
antiBot: z.ZodEnum<{
|
|
2999
|
+
off: "off";
|
|
3000
|
+
pow: "pow";
|
|
3001
|
+
turnstile: "turnstile";
|
|
3002
|
+
}>;
|
|
3003
|
+
turnstileSiteKey: z.ZodOptional<z.ZodString>;
|
|
3004
|
+
googleClientId: z.ZodOptional<z.ZodString>;
|
|
3005
|
+
}, z.core.$strip>;
|
|
3006
|
+
export type WebchatPublicConfig = z.infer<typeof WebchatPublicConfigSchema>;
|
|
3007
|
+
export declare const WebchatChallengeSchema: z.ZodObject<{
|
|
3008
|
+
salt: z.ZodString;
|
|
3009
|
+
difficulty: z.ZodNumber;
|
|
3010
|
+
}, z.core.$strip>;
|
|
3011
|
+
export type WebchatChallenge = z.infer<typeof WebchatChallengeSchema>;
|
|
3012
|
+
export declare const WebchatMessageSchema: z.ZodObject<{
|
|
3013
|
+
conversationId: z.ZodString;
|
|
3014
|
+
content: z.ZodString;
|
|
3015
|
+
displayName: z.ZodOptional<z.ZodString>;
|
|
3016
|
+
idToken: z.ZodOptional<z.ZodString>;
|
|
3017
|
+
turnstileToken: z.ZodOptional<z.ZodString>;
|
|
3018
|
+
powNonce: z.ZodOptional<z.ZodString>;
|
|
3019
|
+
history: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3020
|
+
author: z.ZodOptional<z.ZodString>;
|
|
3021
|
+
content: z.ZodString;
|
|
3022
|
+
}, z.core.$strip>>>;
|
|
3023
|
+
}, z.core.$strip>;
|
|
3024
|
+
export type WebchatMessage = z.infer<typeof WebchatMessageSchema>;
|
|
2926
3025
|
export declare const AutomationSchema: z.ZodObject<{
|
|
2927
3026
|
id: z.ZodString;
|
|
2928
3027
|
trigger: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -2948,6 +3047,33 @@ export declare const AutomationSchema: z.ZodObject<{
|
|
|
2948
3047
|
}, z.core.$strip>], "kind">;
|
|
2949
3048
|
guard: z.ZodOptional<z.ZodString>;
|
|
2950
3049
|
prompt: z.ZodString;
|
|
3050
|
+
webchat: z.ZodOptional<z.ZodObject<{
|
|
3051
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
3052
|
+
google: "google";
|
|
3053
|
+
public: "public";
|
|
3054
|
+
}>>;
|
|
3055
|
+
requireName: z.ZodOptional<z.ZodBoolean>;
|
|
3056
|
+
antiBot: z.ZodOptional<z.ZodEnum<{
|
|
3057
|
+
pow: "pow";
|
|
3058
|
+
turnstile: "turnstile";
|
|
3059
|
+
}>>;
|
|
3060
|
+
turnstileSiteKey: z.ZodOptional<z.ZodString>;
|
|
3061
|
+
turnstileSecret: z.ZodOptional<z.ZodString>;
|
|
3062
|
+
googleClientId: z.ZodOptional<z.ZodString>;
|
|
3063
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3064
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
3065
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
3066
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
3067
|
+
"bottom-left": "bottom-left";
|
|
3068
|
+
"bottom-right": "bottom-right";
|
|
3069
|
+
"top-left": "top-left";
|
|
3070
|
+
"top-right": "top-right";
|
|
3071
|
+
}>>;
|
|
3072
|
+
dailyMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
3073
|
+
conversationMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
3074
|
+
sessionTtlMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3075
|
+
}, z.core.$strip>>;
|
|
3076
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2951
3077
|
agent: z.ZodOptional<z.ZodString>;
|
|
2952
3078
|
harness: z.ZodOptional<z.ZodEnum<{
|
|
2953
3079
|
"claude-code": "claude-code";
|
|
@@ -3028,6 +3154,33 @@ export declare const AutomationSummarySchema: z.ZodObject<{
|
|
|
3028
3154
|
}, z.core.$strip>], "kind">;
|
|
3029
3155
|
guard: z.ZodOptional<z.ZodString>;
|
|
3030
3156
|
prompt: z.ZodString;
|
|
3157
|
+
webchat: z.ZodOptional<z.ZodObject<{
|
|
3158
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
3159
|
+
google: "google";
|
|
3160
|
+
public: "public";
|
|
3161
|
+
}>>;
|
|
3162
|
+
requireName: z.ZodOptional<z.ZodBoolean>;
|
|
3163
|
+
antiBot: z.ZodOptional<z.ZodEnum<{
|
|
3164
|
+
pow: "pow";
|
|
3165
|
+
turnstile: "turnstile";
|
|
3166
|
+
}>>;
|
|
3167
|
+
turnstileSiteKey: z.ZodOptional<z.ZodString>;
|
|
3168
|
+
turnstileSecret: z.ZodOptional<z.ZodString>;
|
|
3169
|
+
googleClientId: z.ZodOptional<z.ZodString>;
|
|
3170
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3171
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
3172
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
3173
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
3174
|
+
"bottom-left": "bottom-left";
|
|
3175
|
+
"bottom-right": "bottom-right";
|
|
3176
|
+
"top-left": "top-left";
|
|
3177
|
+
"top-right": "top-right";
|
|
3178
|
+
}>>;
|
|
3179
|
+
dailyMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
3180
|
+
conversationMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
3181
|
+
sessionTtlMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3182
|
+
}, z.core.$strip>>;
|
|
3183
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3031
3184
|
agent: z.ZodOptional<z.ZodString>;
|
|
3032
3185
|
harness: z.ZodOptional<z.ZodEnum<{
|
|
3033
3186
|
"claude-code": "claude-code";
|
|
@@ -3077,6 +3230,33 @@ export declare const AutomationsListSchema: z.ZodObject<{
|
|
|
3077
3230
|
}, z.core.$strip>], "kind">;
|
|
3078
3231
|
guard: z.ZodOptional<z.ZodString>;
|
|
3079
3232
|
prompt: z.ZodString;
|
|
3233
|
+
webchat: z.ZodOptional<z.ZodObject<{
|
|
3234
|
+
access: z.ZodOptional<z.ZodEnum<{
|
|
3235
|
+
google: "google";
|
|
3236
|
+
public: "public";
|
|
3237
|
+
}>>;
|
|
3238
|
+
requireName: z.ZodOptional<z.ZodBoolean>;
|
|
3239
|
+
antiBot: z.ZodOptional<z.ZodEnum<{
|
|
3240
|
+
pow: "pow";
|
|
3241
|
+
turnstile: "turnstile";
|
|
3242
|
+
}>>;
|
|
3243
|
+
turnstileSiteKey: z.ZodOptional<z.ZodString>;
|
|
3244
|
+
turnstileSecret: z.ZodOptional<z.ZodString>;
|
|
3245
|
+
googleClientId: z.ZodOptional<z.ZodString>;
|
|
3246
|
+
title: z.ZodOptional<z.ZodString>;
|
|
3247
|
+
greeting: z.ZodOptional<z.ZodString>;
|
|
3248
|
+
accent: z.ZodOptional<z.ZodString>;
|
|
3249
|
+
position: z.ZodOptional<z.ZodEnum<{
|
|
3250
|
+
"bottom-left": "bottom-left";
|
|
3251
|
+
"bottom-right": "bottom-right";
|
|
3252
|
+
"top-left": "top-left";
|
|
3253
|
+
"top-right": "top-right";
|
|
3254
|
+
}>>;
|
|
3255
|
+
dailyMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
3256
|
+
conversationMessageMax: z.ZodOptional<z.ZodNumber>;
|
|
3257
|
+
sessionTtlMinutes: z.ZodOptional<z.ZodNumber>;
|
|
3258
|
+
}, z.core.$strip>>;
|
|
3259
|
+
allowedTools: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3080
3260
|
agent: z.ZodOptional<z.ZodString>;
|
|
3081
3261
|
harness: z.ZodOptional<z.ZodEnum<{
|
|
3082
3262
|
"claude-code": "claude-code";
|
|
@@ -3686,6 +3866,7 @@ export declare const InfoSchema: z.ZodObject<{
|
|
|
3686
3866
|
latest: z.ZodOptional<z.ZodString>;
|
|
3687
3867
|
updateAvailable: z.ZodOptional<z.ZodBoolean>;
|
|
3688
3868
|
}, z.core.$strip>;
|
|
3869
|
+
export type Info = z.infer<typeof InfoSchema>;
|
|
3689
3870
|
export declare const DaemonSessionSchema: z.ZodObject<{
|
|
3690
3871
|
token: z.ZodString;
|
|
3691
3872
|
expiresAt: z.ZodNumber;
|
|
@@ -3963,4 +4144,401 @@ export declare const PushTestSchema: z.ZodObject<{
|
|
|
3963
4144
|
delivered: z.ZodNumber;
|
|
3964
4145
|
}, z.core.$strip>;
|
|
3965
4146
|
export type PushTest = z.infer<typeof PushTestSchema>;
|
|
4147
|
+
export declare const PROBE_IDS: readonly ["outdated", "audit", "knip", "jscpd"];
|
|
4148
|
+
export declare const ProbeIdSchema: z.ZodEnum<{
|
|
4149
|
+
audit: "audit";
|
|
4150
|
+
jscpd: "jscpd";
|
|
4151
|
+
knip: "knip";
|
|
4152
|
+
outdated: "outdated";
|
|
4153
|
+
}>;
|
|
4154
|
+
export type ProbeId = z.infer<typeof ProbeIdSchema>;
|
|
4155
|
+
export declare const OutdatedPackageSchema: z.ZodObject<{
|
|
4156
|
+
name: z.ZodString;
|
|
4157
|
+
current: z.ZodString;
|
|
4158
|
+
latest: z.ZodString;
|
|
4159
|
+
kind: z.ZodEnum<{
|
|
4160
|
+
major: "major";
|
|
4161
|
+
minor: "minor";
|
|
4162
|
+
patch: "patch";
|
|
4163
|
+
}>;
|
|
4164
|
+
section: z.ZodString;
|
|
4165
|
+
}, z.core.$strip>;
|
|
4166
|
+
export type OutdatedPackage = z.infer<typeof OutdatedPackageSchema>;
|
|
4167
|
+
export declare const AdvisorySchema: z.ZodObject<{
|
|
4168
|
+
name: z.ZodString;
|
|
4169
|
+
severity: z.ZodEnum<{
|
|
4170
|
+
critical: "critical";
|
|
4171
|
+
high: "high";
|
|
4172
|
+
info: "info";
|
|
4173
|
+
low: "low";
|
|
4174
|
+
moderate: "moderate";
|
|
4175
|
+
}>;
|
|
4176
|
+
title: z.ZodString;
|
|
4177
|
+
patched: z.ZodOptional<z.ZodString>;
|
|
4178
|
+
dev: z.ZodBoolean;
|
|
4179
|
+
}, z.core.$strip>;
|
|
4180
|
+
export type Advisory = z.infer<typeof AdvisorySchema>;
|
|
4181
|
+
export declare const DeadCodeSchema: z.ZodObject<{
|
|
4182
|
+
files: z.ZodNumber;
|
|
4183
|
+
exports: z.ZodNumber;
|
|
4184
|
+
types: z.ZodNumber;
|
|
4185
|
+
dependencies: z.ZodNumber;
|
|
4186
|
+
devDependencies: z.ZodNumber;
|
|
4187
|
+
sample: z.ZodArray<z.ZodString>;
|
|
4188
|
+
}, z.core.$strip>;
|
|
4189
|
+
export type DeadCode = z.infer<typeof DeadCodeSchema>;
|
|
4190
|
+
export declare const DuplicationSchema: z.ZodObject<{
|
|
4191
|
+
percentage: z.ZodNumber;
|
|
4192
|
+
clones: z.ZodNumber;
|
|
4193
|
+
top: z.ZodArray<z.ZodObject<{
|
|
4194
|
+
lines: z.ZodNumber;
|
|
4195
|
+
first: z.ZodString;
|
|
4196
|
+
second: z.ZodString;
|
|
4197
|
+
}, z.core.$strip>>;
|
|
4198
|
+
}, z.core.$strip>;
|
|
4199
|
+
export type Duplication = z.infer<typeof DuplicationSchema>;
|
|
4200
|
+
export declare const ProbeStateSchema: z.ZodEnum<{
|
|
4201
|
+
failed: "failed";
|
|
4202
|
+
ok: "ok";
|
|
4203
|
+
unavailable: "unavailable";
|
|
4204
|
+
}>;
|
|
4205
|
+
export type ProbeState = z.infer<typeof ProbeStateSchema>;
|
|
4206
|
+
export declare const ProbeFactsSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4207
|
+
id: z.ZodLiteral<"outdated">;
|
|
4208
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
4209
|
+
name: z.ZodString;
|
|
4210
|
+
current: z.ZodString;
|
|
4211
|
+
latest: z.ZodString;
|
|
4212
|
+
kind: z.ZodEnum<{
|
|
4213
|
+
major: "major";
|
|
4214
|
+
minor: "minor";
|
|
4215
|
+
patch: "patch";
|
|
4216
|
+
}>;
|
|
4217
|
+
section: z.ZodString;
|
|
4218
|
+
}, z.core.$strip>>;
|
|
4219
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4220
|
+
id: z.ZodLiteral<"audit">;
|
|
4221
|
+
advisories: z.ZodArray<z.ZodObject<{
|
|
4222
|
+
name: z.ZodString;
|
|
4223
|
+
severity: z.ZodEnum<{
|
|
4224
|
+
critical: "critical";
|
|
4225
|
+
high: "high";
|
|
4226
|
+
info: "info";
|
|
4227
|
+
low: "low";
|
|
4228
|
+
moderate: "moderate";
|
|
4229
|
+
}>;
|
|
4230
|
+
title: z.ZodString;
|
|
4231
|
+
patched: z.ZodOptional<z.ZodString>;
|
|
4232
|
+
dev: z.ZodBoolean;
|
|
4233
|
+
}, z.core.$strip>>;
|
|
4234
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4235
|
+
id: z.ZodLiteral<"knip">;
|
|
4236
|
+
deadCode: z.ZodObject<{
|
|
4237
|
+
files: z.ZodNumber;
|
|
4238
|
+
exports: z.ZodNumber;
|
|
4239
|
+
types: z.ZodNumber;
|
|
4240
|
+
dependencies: z.ZodNumber;
|
|
4241
|
+
devDependencies: z.ZodNumber;
|
|
4242
|
+
sample: z.ZodArray<z.ZodString>;
|
|
4243
|
+
}, z.core.$strip>;
|
|
4244
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4245
|
+
id: z.ZodLiteral<"jscpd">;
|
|
4246
|
+
duplication: z.ZodObject<{
|
|
4247
|
+
percentage: z.ZodNumber;
|
|
4248
|
+
clones: z.ZodNumber;
|
|
4249
|
+
top: z.ZodArray<z.ZodObject<{
|
|
4250
|
+
lines: z.ZodNumber;
|
|
4251
|
+
first: z.ZodString;
|
|
4252
|
+
second: z.ZodString;
|
|
4253
|
+
}, z.core.$strip>>;
|
|
4254
|
+
}, z.core.$strip>;
|
|
4255
|
+
}, z.core.$strip>], "id">;
|
|
4256
|
+
export type ProbeFacts = z.infer<typeof ProbeFactsSchema>;
|
|
4257
|
+
export declare const ProbeResultSchema: z.ZodObject<{
|
|
4258
|
+
id: z.ZodEnum<{
|
|
4259
|
+
audit: "audit";
|
|
4260
|
+
jscpd: "jscpd";
|
|
4261
|
+
knip: "knip";
|
|
4262
|
+
outdated: "outdated";
|
|
4263
|
+
}>;
|
|
4264
|
+
state: z.ZodEnum<{
|
|
4265
|
+
failed: "failed";
|
|
4266
|
+
ok: "ok";
|
|
4267
|
+
unavailable: "unavailable";
|
|
4268
|
+
}>;
|
|
4269
|
+
ranAt: z.ZodNumber;
|
|
4270
|
+
tookMs: z.ZodNumber;
|
|
4271
|
+
facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4272
|
+
id: z.ZodLiteral<"outdated">;
|
|
4273
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
4274
|
+
name: z.ZodString;
|
|
4275
|
+
current: z.ZodString;
|
|
4276
|
+
latest: z.ZodString;
|
|
4277
|
+
kind: z.ZodEnum<{
|
|
4278
|
+
major: "major";
|
|
4279
|
+
minor: "minor";
|
|
4280
|
+
patch: "patch";
|
|
4281
|
+
}>;
|
|
4282
|
+
section: z.ZodString;
|
|
4283
|
+
}, z.core.$strip>>;
|
|
4284
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4285
|
+
id: z.ZodLiteral<"audit">;
|
|
4286
|
+
advisories: z.ZodArray<z.ZodObject<{
|
|
4287
|
+
name: z.ZodString;
|
|
4288
|
+
severity: z.ZodEnum<{
|
|
4289
|
+
critical: "critical";
|
|
4290
|
+
high: "high";
|
|
4291
|
+
info: "info";
|
|
4292
|
+
low: "low";
|
|
4293
|
+
moderate: "moderate";
|
|
4294
|
+
}>;
|
|
4295
|
+
title: z.ZodString;
|
|
4296
|
+
patched: z.ZodOptional<z.ZodString>;
|
|
4297
|
+
dev: z.ZodBoolean;
|
|
4298
|
+
}, z.core.$strip>>;
|
|
4299
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4300
|
+
id: z.ZodLiteral<"knip">;
|
|
4301
|
+
deadCode: z.ZodObject<{
|
|
4302
|
+
files: z.ZodNumber;
|
|
4303
|
+
exports: z.ZodNumber;
|
|
4304
|
+
types: z.ZodNumber;
|
|
4305
|
+
dependencies: z.ZodNumber;
|
|
4306
|
+
devDependencies: z.ZodNumber;
|
|
4307
|
+
sample: z.ZodArray<z.ZodString>;
|
|
4308
|
+
}, z.core.$strip>;
|
|
4309
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4310
|
+
id: z.ZodLiteral<"jscpd">;
|
|
4311
|
+
duplication: z.ZodObject<{
|
|
4312
|
+
percentage: z.ZodNumber;
|
|
4313
|
+
clones: z.ZodNumber;
|
|
4314
|
+
top: z.ZodArray<z.ZodObject<{
|
|
4315
|
+
lines: z.ZodNumber;
|
|
4316
|
+
first: z.ZodString;
|
|
4317
|
+
second: z.ZodString;
|
|
4318
|
+
}, z.core.$strip>>;
|
|
4319
|
+
}, z.core.$strip>;
|
|
4320
|
+
}, z.core.$strip>], "id">>;
|
|
4321
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4322
|
+
}, z.core.$strip>;
|
|
4323
|
+
export type ProbeResult = z.infer<typeof ProbeResultSchema>;
|
|
4324
|
+
export declare const ChorePackageSchema: z.ZodObject<{
|
|
4325
|
+
dir: z.ZodString;
|
|
4326
|
+
name: z.ZodString;
|
|
4327
|
+
engines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4328
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
4329
|
+
devDependencies: z.ZodArray<z.ZodString>;
|
|
4330
|
+
documented: z.ZodBoolean;
|
|
4331
|
+
}, z.core.$strip>;
|
|
4332
|
+
export type ChorePackage = z.infer<typeof ChorePackageSchema>;
|
|
4333
|
+
export declare const ChoreShapeSchema: z.ZodObject<{
|
|
4334
|
+
docs: z.ZodArray<z.ZodString>;
|
|
4335
|
+
dockerfiles: z.ZodArray<z.ZodString>;
|
|
4336
|
+
ci: z.ZodArray<z.ZodString>;
|
|
4337
|
+
lockfile: z.ZodBoolean;
|
|
4338
|
+
packageManifest: z.ZodBoolean;
|
|
4339
|
+
}, z.core.$strip>;
|
|
4340
|
+
export type ChoreShape = z.infer<typeof ChoreShapeSchema>;
|
|
4341
|
+
export declare const ChoreSignalsSchema: z.ZodObject<{
|
|
4342
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
4343
|
+
dir: z.ZodString;
|
|
4344
|
+
name: z.ZodString;
|
|
4345
|
+
engines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4346
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
4347
|
+
devDependencies: z.ZodArray<z.ZodString>;
|
|
4348
|
+
documented: z.ZodBoolean;
|
|
4349
|
+
}, z.core.$strip>>;
|
|
4350
|
+
shape: z.ZodObject<{
|
|
4351
|
+
docs: z.ZodArray<z.ZodString>;
|
|
4352
|
+
dockerfiles: z.ZodArray<z.ZodString>;
|
|
4353
|
+
ci: z.ZodArray<z.ZodString>;
|
|
4354
|
+
lockfile: z.ZodBoolean;
|
|
4355
|
+
packageManifest: z.ZodBoolean;
|
|
4356
|
+
}, z.core.$strip>;
|
|
4357
|
+
hotspots: z.ZodArray<z.ZodObject<{
|
|
4358
|
+
path: z.ZodString;
|
|
4359
|
+
commits: z.ZodNumber;
|
|
4360
|
+
adds: z.ZodNumber;
|
|
4361
|
+
dels: z.ZodNumber;
|
|
4362
|
+
complexity: z.ZodNumber;
|
|
4363
|
+
score: z.ZodNumber;
|
|
4364
|
+
latestMs: z.ZodNumber;
|
|
4365
|
+
}, z.core.$strip>>;
|
|
4366
|
+
keyModules: z.ZodArray<z.ZodObject<{
|
|
4367
|
+
path: z.ZodString;
|
|
4368
|
+
exports: z.ZodNumber;
|
|
4369
|
+
}, z.core.$strip>>;
|
|
4370
|
+
totals: z.ZodObject<{
|
|
4371
|
+
files: z.ZodNumber;
|
|
4372
|
+
symbols: z.ZodNumber;
|
|
4373
|
+
complexity: z.ZodNumber;
|
|
4374
|
+
hotspots: z.ZodNumber;
|
|
4375
|
+
}, z.core.$strip>;
|
|
4376
|
+
indexed: z.ZodBoolean;
|
|
4377
|
+
}, z.core.$strip>;
|
|
4378
|
+
export type ChoreSignals = z.infer<typeof ChoreSignalsSchema>;
|
|
4379
|
+
export declare const ChoreOutcomeSchema: z.ZodEnum<{
|
|
4380
|
+
acted: "acted";
|
|
4381
|
+
clean: "clean";
|
|
4382
|
+
reported: "reported";
|
|
4383
|
+
}>;
|
|
4384
|
+
export type ChoreOutcome = z.infer<typeof ChoreOutcomeSchema>;
|
|
4385
|
+
export declare const ChoreLedgerEntrySchema: z.ZodObject<{
|
|
4386
|
+
repo: z.ZodString;
|
|
4387
|
+
chore: z.ZodString;
|
|
4388
|
+
ranAt: z.ZodNumber;
|
|
4389
|
+
runId: z.ZodString;
|
|
4390
|
+
outcome: z.ZodEnum<{
|
|
4391
|
+
acted: "acted";
|
|
4392
|
+
clean: "clean";
|
|
4393
|
+
reported: "reported";
|
|
4394
|
+
}>;
|
|
4395
|
+
digest: z.ZodString;
|
|
4396
|
+
snoozedUntil: z.ZodOptional<z.ZodNumber>;
|
|
4397
|
+
}, z.core.$strip>;
|
|
4398
|
+
export type ChoreLedgerEntry = z.infer<typeof ChoreLedgerEntrySchema>;
|
|
4399
|
+
export declare const ChoresReportSchema: z.ZodObject<{
|
|
4400
|
+
repos: z.ZodArray<z.ZodObject<{
|
|
4401
|
+
repo: z.ZodString;
|
|
4402
|
+
probes: z.ZodArray<z.ZodObject<{
|
|
4403
|
+
id: z.ZodEnum<{
|
|
4404
|
+
audit: "audit";
|
|
4405
|
+
jscpd: "jscpd";
|
|
4406
|
+
knip: "knip";
|
|
4407
|
+
outdated: "outdated";
|
|
4408
|
+
}>;
|
|
4409
|
+
state: z.ZodEnum<{
|
|
4410
|
+
failed: "failed";
|
|
4411
|
+
ok: "ok";
|
|
4412
|
+
unavailable: "unavailable";
|
|
4413
|
+
}>;
|
|
4414
|
+
ranAt: z.ZodNumber;
|
|
4415
|
+
tookMs: z.ZodNumber;
|
|
4416
|
+
facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
4417
|
+
id: z.ZodLiteral<"outdated">;
|
|
4418
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
4419
|
+
name: z.ZodString;
|
|
4420
|
+
current: z.ZodString;
|
|
4421
|
+
latest: z.ZodString;
|
|
4422
|
+
kind: z.ZodEnum<{
|
|
4423
|
+
major: "major";
|
|
4424
|
+
minor: "minor";
|
|
4425
|
+
patch: "patch";
|
|
4426
|
+
}>;
|
|
4427
|
+
section: z.ZodString;
|
|
4428
|
+
}, z.core.$strip>>;
|
|
4429
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4430
|
+
id: z.ZodLiteral<"audit">;
|
|
4431
|
+
advisories: z.ZodArray<z.ZodObject<{
|
|
4432
|
+
name: z.ZodString;
|
|
4433
|
+
severity: z.ZodEnum<{
|
|
4434
|
+
critical: "critical";
|
|
4435
|
+
high: "high";
|
|
4436
|
+
info: "info";
|
|
4437
|
+
low: "low";
|
|
4438
|
+
moderate: "moderate";
|
|
4439
|
+
}>;
|
|
4440
|
+
title: z.ZodString;
|
|
4441
|
+
patched: z.ZodOptional<z.ZodString>;
|
|
4442
|
+
dev: z.ZodBoolean;
|
|
4443
|
+
}, z.core.$strip>>;
|
|
4444
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4445
|
+
id: z.ZodLiteral<"knip">;
|
|
4446
|
+
deadCode: z.ZodObject<{
|
|
4447
|
+
files: z.ZodNumber;
|
|
4448
|
+
exports: z.ZodNumber;
|
|
4449
|
+
types: z.ZodNumber;
|
|
4450
|
+
dependencies: z.ZodNumber;
|
|
4451
|
+
devDependencies: z.ZodNumber;
|
|
4452
|
+
sample: z.ZodArray<z.ZodString>;
|
|
4453
|
+
}, z.core.$strip>;
|
|
4454
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
4455
|
+
id: z.ZodLiteral<"jscpd">;
|
|
4456
|
+
duplication: z.ZodObject<{
|
|
4457
|
+
percentage: z.ZodNumber;
|
|
4458
|
+
clones: z.ZodNumber;
|
|
4459
|
+
top: z.ZodArray<z.ZodObject<{
|
|
4460
|
+
lines: z.ZodNumber;
|
|
4461
|
+
first: z.ZodString;
|
|
4462
|
+
second: z.ZodString;
|
|
4463
|
+
}, z.core.$strip>>;
|
|
4464
|
+
}, z.core.$strip>;
|
|
4465
|
+
}, z.core.$strip>], "id">>;
|
|
4466
|
+
reason: z.ZodOptional<z.ZodString>;
|
|
4467
|
+
}, z.core.$strip>>;
|
|
4468
|
+
signals: z.ZodObject<{
|
|
4469
|
+
packages: z.ZodArray<z.ZodObject<{
|
|
4470
|
+
dir: z.ZodString;
|
|
4471
|
+
name: z.ZodString;
|
|
4472
|
+
engines: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
|
|
4473
|
+
dependencies: z.ZodArray<z.ZodString>;
|
|
4474
|
+
devDependencies: z.ZodArray<z.ZodString>;
|
|
4475
|
+
documented: z.ZodBoolean;
|
|
4476
|
+
}, z.core.$strip>>;
|
|
4477
|
+
shape: z.ZodObject<{
|
|
4478
|
+
docs: z.ZodArray<z.ZodString>;
|
|
4479
|
+
dockerfiles: z.ZodArray<z.ZodString>;
|
|
4480
|
+
ci: z.ZodArray<z.ZodString>;
|
|
4481
|
+
lockfile: z.ZodBoolean;
|
|
4482
|
+
packageManifest: z.ZodBoolean;
|
|
4483
|
+
}, z.core.$strip>;
|
|
4484
|
+
hotspots: z.ZodArray<z.ZodObject<{
|
|
4485
|
+
path: z.ZodString;
|
|
4486
|
+
commits: z.ZodNumber;
|
|
4487
|
+
adds: z.ZodNumber;
|
|
4488
|
+
dels: z.ZodNumber;
|
|
4489
|
+
complexity: z.ZodNumber;
|
|
4490
|
+
score: z.ZodNumber;
|
|
4491
|
+
latestMs: z.ZodNumber;
|
|
4492
|
+
}, z.core.$strip>>;
|
|
4493
|
+
keyModules: z.ZodArray<z.ZodObject<{
|
|
4494
|
+
path: z.ZodString;
|
|
4495
|
+
exports: z.ZodNumber;
|
|
4496
|
+
}, z.core.$strip>>;
|
|
4497
|
+
totals: z.ZodObject<{
|
|
4498
|
+
files: z.ZodNumber;
|
|
4499
|
+
symbols: z.ZodNumber;
|
|
4500
|
+
complexity: z.ZodNumber;
|
|
4501
|
+
hotspots: z.ZodNumber;
|
|
4502
|
+
}, z.core.$strip>;
|
|
4503
|
+
indexed: z.ZodBoolean;
|
|
4504
|
+
}, z.core.$strip>;
|
|
4505
|
+
}, z.core.$strip>>;
|
|
4506
|
+
ledger: z.ZodArray<z.ZodObject<{
|
|
4507
|
+
repo: z.ZodString;
|
|
4508
|
+
chore: z.ZodString;
|
|
4509
|
+
ranAt: z.ZodNumber;
|
|
4510
|
+
runId: z.ZodString;
|
|
4511
|
+
outcome: z.ZodEnum<{
|
|
4512
|
+
acted: "acted";
|
|
4513
|
+
clean: "clean";
|
|
4514
|
+
reported: "reported";
|
|
4515
|
+
}>;
|
|
4516
|
+
digest: z.ZodString;
|
|
4517
|
+
snoozedUntil: z.ZodOptional<z.ZodNumber>;
|
|
4518
|
+
}, z.core.$strip>>;
|
|
4519
|
+
node: z.ZodString;
|
|
4520
|
+
}, z.core.$strip>;
|
|
4521
|
+
export type ChoresReport = z.infer<typeof ChoresReportSchema>;
|
|
4522
|
+
export declare const ChoreProbeRequestSchema: z.ZodObject<{
|
|
4523
|
+
repo: z.ZodString;
|
|
4524
|
+
id: z.ZodEnum<{
|
|
4525
|
+
audit: "audit";
|
|
4526
|
+
jscpd: "jscpd";
|
|
4527
|
+
knip: "knip";
|
|
4528
|
+
outdated: "outdated";
|
|
4529
|
+
}>;
|
|
4530
|
+
}, z.core.$strip>;
|
|
4531
|
+
export declare const ChoreLedgerWriteSchema: z.ZodObject<{
|
|
4532
|
+
repo: z.ZodString;
|
|
4533
|
+
chore: z.ZodString;
|
|
4534
|
+
ranAt: z.ZodNumber;
|
|
4535
|
+
runId: z.ZodString;
|
|
4536
|
+
outcome: z.ZodEnum<{
|
|
4537
|
+
acted: "acted";
|
|
4538
|
+
clean: "clean";
|
|
4539
|
+
reported: "reported";
|
|
4540
|
+
}>;
|
|
4541
|
+
digest: z.ZodString;
|
|
4542
|
+
snoozedUntil: z.ZodOptional<z.ZodNumber>;
|
|
4543
|
+
}, z.core.$strip>;
|
|
3966
4544
|
//# sourceMappingURL=schemas.d.ts.map
|