jg-agent-hq 2.0.0 → 4.0.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/CHANGELOG.md +18 -0
- package/README.md +14 -14
- package/api/README.md +97 -65
- package/dist/actions/actions.js +15 -0
- package/dist/cli/cli.js +28 -5
- package/dist/cli/utilities.d.ts +3 -0
- package/dist/cli/utilities.js +13 -0
- package/dist/collaboration/dispatch/types.d.ts +2 -2
- package/dist/contracts/actions/types.d.ts +4 -4
- package/dist/contracts/browser/index.d.ts +1 -3
- package/dist/contracts/browser/index.js +1 -3
- package/dist/contracts/browser/types.d.ts +15 -1447
- package/dist/contracts/browser/types.js +3 -112
- package/dist/contracts/index.d.ts +9 -11
- package/dist/contracts/index.js +6 -8
- package/dist/contracts/plans/index.d.ts +4 -6
- package/dist/contracts/plans/index.js +2 -4
- package/dist/contracts/plans/types.d.ts +38 -905
- package/dist/contracts/plans/types.js +13 -139
- package/dist/contracts/sessions/index.d.ts +2 -0
- package/dist/contracts/sessions/index.js +2 -0
- package/dist/contracts/sessions/types.d.ts +101 -0
- package/dist/contracts/sessions/types.js +43 -0
- package/dist/contracts/types.d.ts +551 -1035
- package/dist/contracts/types.js +32 -0
- package/dist/index.d.ts +2 -2
- package/dist/index.js +1 -1
- package/dist/plans/admission.d.ts +6 -6
- package/dist/plans/admission.js +1 -1
- package/dist/plans/authority.d.ts +2 -0
- package/dist/plans/authority.js +23 -13
- package/dist/plans/documents.d.ts +20 -17
- package/dist/plans/documents.js +29 -63
- package/dist/plans/files.d.ts +2 -2
- package/dist/plans/files.js +5 -5
- package/dist/plans/finalization.d.ts +6 -8
- package/dist/plans/finalization.js +25 -26
- package/dist/plans/index.d.ts +2 -3
- package/dist/plans/index.js +1 -2
- package/dist/plans/plans.d.ts +8 -8
- package/dist/plans/plans.js +36 -83
- package/dist/plans/projections.d.ts +2 -2
- package/dist/plans/projections.js +44 -82
- package/dist/plans/revisions.d.ts +4 -5
- package/dist/plans/revisions.js +5 -44
- package/dist/plans/types.d.ts +5 -281
- package/dist/plans/types.js +2 -30
- package/dist/plans/utilities.js +2 -11
- package/dist/providers/claude/agents/agents.d.ts +16 -0
- package/dist/providers/claude/agents/agents.js +80 -0
- package/dist/providers/claude/agents/constants.d.ts +3 -0
- package/dist/providers/claude/agents/constants.js +4 -0
- package/dist/providers/claude/agents/index.d.ts +1 -0
- package/dist/providers/claude/agents/index.js +2 -0
- package/dist/providers/claude/agents/types.d.ts +14 -0
- package/dist/providers/claude/agents/types.js +9 -0
- package/dist/providers/claude/claude.js +2 -0
- package/dist/providers/claude/history/history.model.js +2 -0
- package/dist/providers/claude/history/types.d.ts +115 -368
- package/dist/providers/claude/index.d.ts +1 -0
- package/dist/providers/claude/index.js +2 -0
- package/dist/providers/claude/transformers.js +14 -1
- package/dist/providers/codex/adapter.d.ts +1 -1
- package/dist/providers/codex/adapter.js +26 -3
- package/dist/providers/codex/codex.js +51 -18
- package/dist/providers/codex/events.d.ts +2 -1
- package/dist/providers/codex/events.js +8 -3
- package/dist/providers/codex/index.d.ts +1 -1
- package/dist/providers/codex/index.js +1 -1
- package/dist/providers/codex/rpc.d.ts +9 -4
- package/dist/providers/codex/rpc.js +109 -47
- package/dist/providers/codex/skill-roots/constants.d.ts +4 -0
- package/dist/providers/codex/skill-roots/constants.js +7 -0
- package/dist/providers/codex/skill-roots/index.d.ts +2 -0
- package/dist/providers/codex/skill-roots/index.js +4 -0
- package/dist/providers/codex/skill-roots/skill-roots.d.ts +35 -0
- package/dist/providers/codex/skill-roots/skill-roots.js +93 -0
- package/dist/providers/codex/transformers.d.ts +3 -1
- package/dist/providers/codex/transformers.js +41 -3
- package/dist/providers/codex/types.d.ts +38 -1
- package/dist/providers/codex/types.js +15 -3
- package/dist/providers/codex/websocket/constants.d.ts +11 -0
- package/dist/providers/codex/websocket/constants.js +18 -0
- package/dist/providers/codex/websocket/index.d.ts +1 -0
- package/dist/providers/codex/websocket/index.js +2 -0
- package/dist/providers/codex/websocket/websocket.d.ts +7 -0
- package/dist/providers/codex/websocket/websocket.js +219 -0
- package/dist/providers/index.d.ts +2 -2
- package/dist/providers/index.js +1 -1
- package/dist/providers/process.d.ts +2 -2
- package/dist/providers/process.js +37 -4
- package/dist/providers/registry/registry.js +2 -1
- package/dist/providers/types.d.ts +25 -2
- package/dist/runtime/runtime.js +11 -3
- package/dist/runtime/state/index.d.ts +1 -1
- package/dist/runtime/state/index.js +1 -1
- package/dist/runtime/state/state.d.ts +15 -0
- package/dist/runtime/state/state.js +92 -1
- package/dist/runtime/types.d.ts +0 -2
- package/dist/runtime/types.js +0 -3
- package/dist/sessions/sessions.js +2 -0
- package/dist/snapshots/archive/archive.d.ts +29 -0
- package/dist/snapshots/archive/archive.js +342 -0
- package/dist/snapshots/archive/constants.d.ts +5 -0
- package/dist/snapshots/archive/constants.js +8 -0
- package/dist/snapshots/archive/index.d.ts +1 -0
- package/dist/snapshots/archive/index.js +2 -0
- package/dist/snapshots/artifacts.d.ts +10 -1
- package/dist/snapshots/artifacts.js +38 -13
- package/dist/snapshots/capture.d.ts +15 -0
- package/dist/snapshots/capture.js +158 -0
- package/dist/snapshots/database.d.ts +2 -0
- package/dist/snapshots/database.js +35 -55
- package/dist/snapshots/fences.d.ts +10 -0
- package/dist/snapshots/fences.js +51 -0
- package/dist/snapshots/index.d.ts +1 -0
- package/dist/snapshots/index.js +2 -0
- package/dist/snapshots/snapshots.d.ts +7 -3
- package/dist/snapshots/snapshots.js +31 -117
- package/dist/snapshots/snapshots.worker.js +5 -1
- package/dist/snapshots/types.d.ts +35 -3
- package/dist/snapshots/types.js +19 -4
- package/dist/storage/index.d.ts +2 -1
- package/dist/storage/index.js +2 -1
- package/dist/storage/schema/constants.d.ts +2 -0
- package/dist/storage/schema/constants.js +9 -0
- package/dist/storage/schema/index.d.ts +3 -0
- package/dist/storage/schema/index.js +6 -0
- package/dist/storage/schema/schema.d.ts +18 -0
- package/dist/storage/schema/schema.js +59 -0
- package/dist/storage/schema/types.d.ts +7 -0
- package/dist/storage/schema/types.js +8 -0
- package/dist/storage/storage.d.ts +1 -1
- package/dist/storage/storage.js +2 -2
- package/dist/storage/types.d.ts +0 -5
- package/dist/storage/types.js +0 -6
- package/dist/store/collaboration/collaboration.model.d.ts +2 -2
- package/dist/store/control/types.d.ts +16 -16
- package/dist/store/plans/plans.model.d.ts +3 -105
- package/dist/store/plans/plans.model.js +6 -46
- package/dist/store/schema.js +7 -35
- package/dist/store/schema.sql +91 -16
- package/dist/store/sessions/index.d.ts +1 -0
- package/dist/store/sessions/index.js +2 -0
- package/dist/store/sessions/sessions.model.d.ts +28 -0
- package/dist/store/sessions/sessions.model.js +105 -0
- package/dist/store/store.js +13 -7
- package/dist/store/store.worker.js +16 -11
- package/dist/store/types.d.ts +134 -513
- package/dist/store/types.js +21 -7
- package/docs/recovery.md +8 -4
- package/errors/README.md +3 -3
- package/package.json +2 -2
- package/dist/plans/reconciliation.d.ts +0 -34
- package/dist/plans/reconciliation.js +0 -246
|
@@ -949,23 +949,11 @@ export declare const HqRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
949
949
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
950
950
|
cursor: z.ZodOptional<z.ZodString>;
|
|
951
951
|
}, z.core.$strict>, z.ZodObject<{
|
|
952
|
-
|
|
953
|
-
|
|
954
|
-
|
|
955
|
-
|
|
956
|
-
|
|
957
|
-
relation: z.ZodEnum<{
|
|
958
|
-
equivalent: "equivalent";
|
|
959
|
-
"requirements-changed": "requirements-changed";
|
|
960
|
-
omitted: "omitted";
|
|
961
|
-
reopened: "reopened";
|
|
962
|
-
}>;
|
|
963
|
-
retainedPairs: z.ZodArray<z.ZodObject<{
|
|
964
|
-
sourceId: z.ZodUUID;
|
|
965
|
-
targetId: z.ZodUUID;
|
|
966
|
-
}, z.core.$strict>>;
|
|
967
|
-
}, z.core.$strict>>;
|
|
968
|
-
}, z.core.$strict>>;
|
|
952
|
+
kind: z.ZodLiteral<"register">;
|
|
953
|
+
target: z.ZodObject<{
|
|
954
|
+
directory: z.ZodString;
|
|
955
|
+
}, z.core.$strict>;
|
|
956
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
969
957
|
target: z.ZodObject<{
|
|
970
958
|
directory: z.ZodString;
|
|
971
959
|
}, z.core.$strict>;
|
|
@@ -1073,19 +1061,6 @@ export declare const HqRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1073
1061
|
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
1074
1062
|
}, z.core.$strict>;
|
|
1075
1063
|
kind: z.ZodLiteral<"revision-invoke">;
|
|
1076
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
1077
|
-
kind: z.ZodLiteral<"reconciliation">;
|
|
1078
|
-
target: z.ZodObject<{
|
|
1079
|
-
directory: z.ZodString;
|
|
1080
|
-
}, z.core.$strict>;
|
|
1081
|
-
collection: z.ZodEnum<{
|
|
1082
|
-
drafts: "drafts";
|
|
1083
|
-
sources: "sources";
|
|
1084
|
-
evidence: "evidence";
|
|
1085
|
-
correspondences: "correspondences";
|
|
1086
|
-
}>;
|
|
1087
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
1088
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
1089
1064
|
}, z.core.$strict>, z.ZodObject<{
|
|
1090
1065
|
scope: z.ZodEnum<{
|
|
1091
1066
|
plan: "plan";
|
|
@@ -1557,6 +1532,10 @@ export declare const HqRequestSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1557
1532
|
kind: z.ZodLiteral<"live-items">;
|
|
1558
1533
|
threadId: z.ZodUUID;
|
|
1559
1534
|
afterRevision: z.ZodOptional<z.ZodNumber>;
|
|
1535
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1536
|
+
kind: z.ZodLiteral<"session-states">;
|
|
1537
|
+
afterSequence: z.ZodDefault<z.ZodNumber>;
|
|
1538
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
1560
1539
|
}, z.core.$strict>], "kind">;
|
|
1561
1540
|
export type IHqRequest = z.infer<typeof HqRequestSchema>;
|
|
1562
1541
|
export type IHqRequestInput = z.input<typeof HqRequestSchema>;
|
|
@@ -1579,10 +1558,18 @@ export declare const ThreadSummarySchema: z.ZodObject<{
|
|
|
1579
1558
|
notLoaded: "notLoaded";
|
|
1580
1559
|
systemError: "systemError";
|
|
1581
1560
|
}>;
|
|
1561
|
+
state: z.ZodEnum<{
|
|
1562
|
+
unknown: "unknown";
|
|
1563
|
+
idle: "idle";
|
|
1564
|
+
failed: "failed";
|
|
1565
|
+
running: "running";
|
|
1566
|
+
waiting: "waiting";
|
|
1567
|
+
closed: "closed";
|
|
1568
|
+
}>;
|
|
1582
1569
|
ownership: z.ZodEnum<{
|
|
1583
1570
|
external: "external";
|
|
1584
|
-
uncertain: "uncertain";
|
|
1585
1571
|
managed: "managed";
|
|
1572
|
+
uncertain: "uncertain";
|
|
1586
1573
|
}>;
|
|
1587
1574
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
1588
1575
|
historyState: z.ZodEnum<{
|
|
@@ -1684,6 +1671,25 @@ export declare const LiveItemsSchema: z.ZodObject<{
|
|
|
1684
1671
|
}, z.core.$strip>>;
|
|
1685
1672
|
hasGap: z.ZodBoolean;
|
|
1686
1673
|
}, z.core.$strip>;
|
|
1674
|
+
export declare const UsageCreditsSchema: z.ZodObject<{
|
|
1675
|
+
bucket: z.ZodString;
|
|
1676
|
+
hasCredits: z.ZodBoolean;
|
|
1677
|
+
isUnlimited: z.ZodBoolean;
|
|
1678
|
+
balance: z.ZodNullable<z.ZodString>;
|
|
1679
|
+
}, z.core.$strip>;
|
|
1680
|
+
export type IUsageCredits = z.infer<typeof UsageCreditsSchema>;
|
|
1681
|
+
export declare const UsageResetCreditsSchema: z.ZodObject<{
|
|
1682
|
+
availableCount: z.ZodNumber;
|
|
1683
|
+
}, z.core.$strip>;
|
|
1684
|
+
export type IUsageResetCredits = z.infer<typeof UsageResetCreditsSchema>;
|
|
1685
|
+
export declare const UsageWindowScopeSchema: z.ZodObject<{
|
|
1686
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
1687
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1688
|
+
displayName: z.ZodString;
|
|
1689
|
+
}, z.core.$strip>>;
|
|
1690
|
+
surface: z.ZodNullable<z.ZodString>;
|
|
1691
|
+
}, z.core.$strip>;
|
|
1692
|
+
export type IUsageWindowScope = z.infer<typeof UsageWindowScopeSchema>;
|
|
1687
1693
|
export declare const UsageWindowSchema: z.ZodObject<{
|
|
1688
1694
|
id: z.ZodString;
|
|
1689
1695
|
bucket: z.ZodString;
|
|
@@ -1696,6 +1702,20 @@ export declare const UsageWindowSchema: z.ZodObject<{
|
|
|
1696
1702
|
remainingPercent: z.ZodNumber;
|
|
1697
1703
|
durationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1698
1704
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
1705
|
+
period: z.ZodOptional<z.ZodEnum<{
|
|
1706
|
+
"five-hour": "five-hour";
|
|
1707
|
+
"seven-day": "seven-day";
|
|
1708
|
+
other: "other";
|
|
1709
|
+
}>>;
|
|
1710
|
+
nativeKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1711
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1712
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1713
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
1714
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1715
|
+
displayName: z.ZodString;
|
|
1716
|
+
}, z.core.$strip>>;
|
|
1717
|
+
surface: z.ZodNullable<z.ZodString>;
|
|
1718
|
+
}, z.core.$strip>>>;
|
|
1699
1719
|
}, z.core.$strip>;
|
|
1700
1720
|
export declare const UsageSnapshotSchema: z.ZodObject<{
|
|
1701
1721
|
provider: z.ZodString;
|
|
@@ -1720,7 +1740,30 @@ export declare const UsageSnapshotSchema: z.ZodObject<{
|
|
|
1720
1740
|
remainingPercent: z.ZodNumber;
|
|
1721
1741
|
durationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
1722
1742
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
1743
|
+
period: z.ZodOptional<z.ZodEnum<{
|
|
1744
|
+
"five-hour": "five-hour";
|
|
1745
|
+
"seven-day": "seven-day";
|
|
1746
|
+
other: "other";
|
|
1747
|
+
}>>;
|
|
1748
|
+
nativeKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1749
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
1750
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1751
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
1752
|
+
id: z.ZodNullable<z.ZodString>;
|
|
1753
|
+
displayName: z.ZodString;
|
|
1754
|
+
}, z.core.$strip>>;
|
|
1755
|
+
surface: z.ZodNullable<z.ZodString>;
|
|
1756
|
+
}, z.core.$strip>>>;
|
|
1723
1757
|
}, z.core.$strip>>;
|
|
1758
|
+
credits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
1759
|
+
bucket: z.ZodString;
|
|
1760
|
+
hasCredits: z.ZodBoolean;
|
|
1761
|
+
isUnlimited: z.ZodBoolean;
|
|
1762
|
+
balance: z.ZodNullable<z.ZodString>;
|
|
1763
|
+
}, z.core.$strip>>>>;
|
|
1764
|
+
resetCredits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
1765
|
+
availableCount: z.ZodNumber;
|
|
1766
|
+
}, z.core.$strip>>>;
|
|
1724
1767
|
}, z.core.$strip>;
|
|
1725
1768
|
export type IUsageSnapshot = z.infer<typeof UsageSnapshotSchema>;
|
|
1726
1769
|
export declare const RuntimeStatusSchema: z.ZodObject<{
|
|
@@ -1829,10 +1872,18 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1829
1872
|
notLoaded: "notLoaded";
|
|
1830
1873
|
systemError: "systemError";
|
|
1831
1874
|
}>;
|
|
1875
|
+
state: z.ZodEnum<{
|
|
1876
|
+
unknown: "unknown";
|
|
1877
|
+
idle: "idle";
|
|
1878
|
+
failed: "failed";
|
|
1879
|
+
running: "running";
|
|
1880
|
+
waiting: "waiting";
|
|
1881
|
+
closed: "closed";
|
|
1882
|
+
}>;
|
|
1832
1883
|
ownership: z.ZodEnum<{
|
|
1833
1884
|
external: "external";
|
|
1834
|
-
uncertain: "uncertain";
|
|
1835
1885
|
managed: "managed";
|
|
1886
|
+
uncertain: "uncertain";
|
|
1836
1887
|
}>;
|
|
1837
1888
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
1838
1889
|
historyState: z.ZodEnum<{
|
|
@@ -1928,10 +1979,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1928
1979
|
delivery: z.ZodEnum<{
|
|
1929
1980
|
failed: "failed";
|
|
1930
1981
|
canceled: "canceled";
|
|
1982
|
+
uncertain: "uncertain";
|
|
1931
1983
|
queued: "queued";
|
|
1932
1984
|
submitted: "submitted";
|
|
1933
1985
|
acknowledged: "acknowledged";
|
|
1934
|
-
uncertain: "uncertain";
|
|
1935
1986
|
}>;
|
|
1936
1987
|
digest: z.ZodString;
|
|
1937
1988
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -2932,8 +2983,13 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2932
2983
|
closeActionId: z.ZodUUID;
|
|
2933
2984
|
}, z.core.$strict>>;
|
|
2934
2985
|
}, z.core.$strict>>;
|
|
2935
|
-
comparisonCount: z.ZodNumber;
|
|
2936
2986
|
completionCount: z.ZodNumber;
|
|
2987
|
+
unmatchedEvidence: z.ZodArray<z.ZodObject<{
|
|
2988
|
+
title: z.ZodString;
|
|
2989
|
+
id: z.ZodUUID;
|
|
2990
|
+
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
2991
|
+
completedAt: z.ZodNumber;
|
|
2992
|
+
}, z.core.$strict>>;
|
|
2937
2993
|
revision: z.ZodNullable<z.ZodObject<{
|
|
2938
2994
|
createdAt: z.ZodNumber;
|
|
2939
2995
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -2959,7 +3015,6 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2959
3015
|
phase: z.ZodEnum<{
|
|
2960
3016
|
quiescing: "quiescing";
|
|
2961
3017
|
editing: "editing";
|
|
2962
|
-
reconciling: "reconciling";
|
|
2963
3018
|
"awaiting-approval": "awaiting-approval";
|
|
2964
3019
|
blocked: "blocked";
|
|
2965
3020
|
finished: "finished";
|
|
@@ -2983,14 +3038,16 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2983
3038
|
}, z.core.$strict>>;
|
|
2984
3039
|
hasUncertainEffects: z.ZodBoolean;
|
|
2985
3040
|
hasCheckpoint: z.ZodBoolean;
|
|
2986
|
-
hasProposal: z.ZodBoolean;
|
|
2987
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
2988
|
-
unmatchedCount: z.ZodNumber;
|
|
2989
3041
|
}, z.core.$strict>>;
|
|
2990
3042
|
}, z.core.$strict>;
|
|
2991
3043
|
}, z.core.$strip>;
|
|
2992
3044
|
}, z.core.$strip>, z.ZodObject<{
|
|
2993
|
-
kind: z.ZodLiteral<"
|
|
3045
|
+
kind: z.ZodLiteral<"registered">;
|
|
3046
|
+
result: z.ZodObject<{
|
|
3047
|
+
directory: z.ZodString;
|
|
3048
|
+
}, z.core.$strip>;
|
|
3049
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3050
|
+
kind: z.ZodLiteral<"finalized">;
|
|
2994
3051
|
result: z.ZodObject<{
|
|
2995
3052
|
directory: z.ZodString;
|
|
2996
3053
|
revision: z.ZodObject<{
|
|
@@ -3158,8 +3215,13 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3158
3215
|
closeActionId: z.ZodUUID;
|
|
3159
3216
|
}, z.core.$strict>>;
|
|
3160
3217
|
}, z.core.$strict>>;
|
|
3161
|
-
comparisonCount: z.ZodNumber;
|
|
3162
3218
|
completionCount: z.ZodNumber;
|
|
3219
|
+
unmatchedEvidence: z.ZodArray<z.ZodObject<{
|
|
3220
|
+
title: z.ZodString;
|
|
3221
|
+
id: z.ZodUUID;
|
|
3222
|
+
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
3223
|
+
completedAt: z.ZodNumber;
|
|
3224
|
+
}, z.core.$strict>>;
|
|
3163
3225
|
revision: z.ZodNullable<z.ZodObject<{
|
|
3164
3226
|
createdAt: z.ZodNumber;
|
|
3165
3227
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -3185,7 +3247,6 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3185
3247
|
phase: z.ZodEnum<{
|
|
3186
3248
|
quiescing: "quiescing";
|
|
3187
3249
|
editing: "editing";
|
|
3188
|
-
reconciling: "reconciling";
|
|
3189
3250
|
"awaiting-approval": "awaiting-approval";
|
|
3190
3251
|
blocked: "blocked";
|
|
3191
3252
|
finished: "finished";
|
|
@@ -3209,478 +3270,125 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3209
3270
|
}, z.core.$strict>>;
|
|
3210
3271
|
hasUncertainEffects: z.ZodBoolean;
|
|
3211
3272
|
hasCheckpoint: z.ZodBoolean;
|
|
3212
|
-
hasProposal: z.ZodBoolean;
|
|
3213
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
3214
|
-
unmatchedCount: z.ZodNumber;
|
|
3215
3273
|
}, z.core.$strict>>;
|
|
3216
3274
|
}, z.core.$strict>;
|
|
3217
3275
|
}, z.core.$strip>;
|
|
3276
|
+
content: z.ZodNullable<z.ZodString>;
|
|
3218
3277
|
}, z.core.$strip>, z.ZodObject<{
|
|
3219
|
-
kind: z.ZodLiteral<"
|
|
3278
|
+
kind: z.ZodLiteral<"milestones">;
|
|
3220
3279
|
result: z.ZodObject<{
|
|
3221
|
-
data: z.ZodArray<z.
|
|
3222
|
-
|
|
3223
|
-
|
|
3224
|
-
|
|
3225
|
-
|
|
3226
|
-
|
|
3227
|
-
|
|
3228
|
-
|
|
3229
|
-
|
|
3230
|
-
|
|
3231
|
-
|
|
3232
|
-
|
|
3233
|
-
|
|
3234
|
-
|
|
3235
|
-
|
|
3236
|
-
|
|
3237
|
-
|
|
3238
|
-
|
|
3239
|
-
|
|
3240
|
-
|
|
3241
|
-
status: z.ZodEnum<{
|
|
3242
|
-
pending: "pending";
|
|
3243
|
-
"in progress": "in progress";
|
|
3244
|
-
done: "done";
|
|
3245
|
-
}>;
|
|
3246
|
-
id: z.ZodUUID;
|
|
3247
|
-
contractDigest: z.ZodString;
|
|
3248
|
-
contract: z.ZodString;
|
|
3249
|
-
sharedDigest: z.ZodString;
|
|
3250
|
-
matchedSourceId: z.ZodNullable<z.ZodUUID>;
|
|
3251
|
-
}, z.core.$strip>;
|
|
3252
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3253
|
-
kind: z.ZodLiteral<"evidence">;
|
|
3254
|
-
entry: z.ZodObject<{
|
|
3280
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3281
|
+
id: z.ZodNullable<z.ZodUUID>;
|
|
3282
|
+
ordinal: z.ZodNumber;
|
|
3283
|
+
title: z.ZodString;
|
|
3284
|
+
status: z.ZodEnum<{
|
|
3285
|
+
pending: "pending";
|
|
3286
|
+
"in progress": "in progress";
|
|
3287
|
+
done: "done";
|
|
3288
|
+
}>;
|
|
3289
|
+
contractDigest: z.ZodNullable<z.ZodString>;
|
|
3290
|
+
}, z.core.$strip>>;
|
|
3291
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3292
|
+
}, z.core.$strip>;
|
|
3293
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3294
|
+
kind: z.ZodLiteral<"execution-check">;
|
|
3295
|
+
result: z.ZodObject<{
|
|
3296
|
+
isAuthorized: z.ZodLiteral<true>;
|
|
3297
|
+
authorization: z.ZodObject<{
|
|
3298
|
+
runtimeEpoch: z.ZodUUID;
|
|
3299
|
+
action: z.ZodObject<{
|
|
3255
3300
|
id: z.ZodUUID;
|
|
3256
|
-
|
|
3257
|
-
|
|
3258
|
-
|
|
3259
|
-
|
|
3260
|
-
|
|
3261
|
-
|
|
3262
|
-
"user-message": "user-message";
|
|
3263
|
-
}>;
|
|
3264
|
-
reference: z.ZodString;
|
|
3265
|
-
}, z.core.$strict>;
|
|
3266
|
-
}, z.core.$strict>;
|
|
3267
|
-
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
3268
|
-
revision: z.ZodObject<{
|
|
3269
|
-
planDigest: z.ZodString;
|
|
3270
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3271
|
-
}, z.core.$strict>;
|
|
3272
|
-
contractDigest: z.ZodString;
|
|
3273
|
-
title: z.ZodString;
|
|
3274
|
-
contract: z.ZodString;
|
|
3275
|
-
sharedDigest: z.ZodNullable<z.ZodString>;
|
|
3276
|
-
checkouts: z.ZodArray<z.ZodObject<{
|
|
3277
|
-
repository: z.ZodString;
|
|
3278
|
-
directory: z.ZodString;
|
|
3279
|
-
claimReference: z.ZodString;
|
|
3280
|
-
paths: z.ZodArray<z.ZodString>;
|
|
3281
|
-
branch: z.ZodNullable<z.ZodString>;
|
|
3282
|
-
head: z.ZodString;
|
|
3283
|
-
fingerprint: z.ZodString;
|
|
3284
|
-
}, z.core.$strict>>;
|
|
3285
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
3286
|
-
command: z.ZodString;
|
|
3287
|
-
outcome: z.ZodLiteral<"passed">;
|
|
3301
|
+
operatorId: z.ZodString;
|
|
3302
|
+
source: z.ZodObject<{
|
|
3303
|
+
kind: z.ZodEnum<{
|
|
3304
|
+
"user-action": "user-action";
|
|
3305
|
+
"user-message": "user-message";
|
|
3306
|
+
}>;
|
|
3288
3307
|
reference: z.ZodString;
|
|
3289
|
-
}, z.core.$strict
|
|
3290
|
-
completedAt: z.ZodNumber;
|
|
3291
|
-
reopenActionId: z.ZodNullable<z.ZodUUID>;
|
|
3308
|
+
}, z.core.$strict>;
|
|
3292
3309
|
}, z.core.$strict>;
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3310
|
+
revision: z.ZodObject<{
|
|
3311
|
+
planDigest: z.ZodString;
|
|
3312
|
+
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3313
|
+
}, z.core.$strict>;
|
|
3314
|
+
mode: z.ZodEnum<{
|
|
3315
|
+
supervised: "supervised";
|
|
3316
|
+
auto: "auto";
|
|
3317
|
+
}>;
|
|
3318
|
+
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3319
|
+
createdAt: z.ZodNumber;
|
|
3320
|
+
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3296
3321
|
id: z.ZodUUID;
|
|
3297
|
-
|
|
3298
|
-
|
|
3299
|
-
|
|
3300
|
-
|
|
3301
|
-
|
|
3302
|
-
"user-action": "user-action";
|
|
3303
|
-
"user-message": "user-message";
|
|
3304
|
-
}>;
|
|
3305
|
-
reference: z.ZodString;
|
|
3306
|
-
}, z.core.$strict>;
|
|
3307
|
-
}, z.core.$strict>;
|
|
3308
|
-
revision: z.ZodObject<{
|
|
3309
|
-
planDigest: z.ZodString;
|
|
3310
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3311
|
-
}, z.core.$strict>;
|
|
3312
|
-
relation: z.ZodEnum<{
|
|
3313
|
-
equivalent: "equivalent";
|
|
3314
|
-
"requirements-changed": "requirements-changed";
|
|
3315
|
-
omitted: "omitted";
|
|
3316
|
-
reopened: "reopened";
|
|
3317
|
-
}>;
|
|
3318
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
3319
|
-
id: z.ZodUUID;
|
|
3320
|
-
contractDigest: z.ZodString;
|
|
3321
|
-
status: z.ZodEnum<{
|
|
3322
|
-
pending: "pending";
|
|
3323
|
-
"in progress": "in progress";
|
|
3324
|
-
done: "done";
|
|
3325
|
-
}>;
|
|
3326
|
-
}, z.core.$strict>>;
|
|
3327
|
-
invalidatedReceiptIds: z.ZodArray<z.ZodUUID>;
|
|
3328
|
-
recordedAt: z.ZodNumber;
|
|
3329
|
-
sources: z.ZodArray<z.ZodObject<{
|
|
3330
|
-
id: z.ZodUUID;
|
|
3331
|
-
status: z.ZodEnum<{
|
|
3332
|
-
pending: "pending";
|
|
3333
|
-
"in progress": "in progress";
|
|
3334
|
-
done: "done";
|
|
3322
|
+
operatorId: z.ZodString;
|
|
3323
|
+
source: z.ZodObject<{
|
|
3324
|
+
kind: z.ZodEnum<{
|
|
3325
|
+
"user-action": "user-action";
|
|
3326
|
+
"user-message": "user-message";
|
|
3335
3327
|
}>;
|
|
3336
|
-
|
|
3337
|
-
}, z.core.$
|
|
3338
|
-
}, z.core.$strict
|
|
3339
|
-
}, z.core.$
|
|
3340
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3328
|
+
reference: z.ZodString;
|
|
3329
|
+
}, z.core.$strict>;
|
|
3330
|
+
}, z.core.$strict>>;
|
|
3331
|
+
}, z.core.$strict>;
|
|
3341
3332
|
}, z.core.$strip>;
|
|
3342
|
-
}, z.core.$strip
|
|
3343
|
-
|
|
3344
|
-
|
|
3345
|
-
|
|
3346
|
-
|
|
3347
|
-
|
|
3348
|
-
|
|
3333
|
+
}, z.core.$strip>], "kind">;
|
|
3334
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3335
|
+
kind: z.ZodLiteral<"collaboration">;
|
|
3336
|
+
result: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3337
|
+
kind: z.ZodLiteral<"task">;
|
|
3338
|
+
task: z.ZodObject<{
|
|
3339
|
+
id: z.ZodUUID;
|
|
3340
|
+
workspaceRoot: z.ZodString;
|
|
3341
|
+
title: z.ZodString;
|
|
3342
|
+
ownerOperatorRef: z.ZodString;
|
|
3343
|
+
plan: z.ZodNullable<z.ZodObject<{
|
|
3344
|
+
planId: z.ZodString;
|
|
3345
|
+
directory: z.ZodString;
|
|
3346
|
+
revision: z.ZodObject<{
|
|
3347
|
+
planDigest: z.ZodString;
|
|
3348
|
+
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3349
|
+
}, z.core.$strict>;
|
|
3350
|
+
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3351
|
+
}, z.core.$strip>>;
|
|
3352
|
+
policy: z.ZodObject<{
|
|
3353
|
+
providers: z.ZodArray<z.ZodString>;
|
|
3354
|
+
workspaceRoots: z.ZodArray<z.ZodString>;
|
|
3355
|
+
effects: z.ZodArray<z.ZodEnum<{
|
|
3356
|
+
resume: "resume";
|
|
3357
|
+
read: "read";
|
|
3358
|
+
"planning-write": "planning-write";
|
|
3359
|
+
"workspace-write": "workspace-write";
|
|
3360
|
+
commit: "commit";
|
|
3361
|
+
push: "push";
|
|
3362
|
+
pause: "pause";
|
|
3363
|
+
}>>;
|
|
3364
|
+
canSpawn: z.ZodBoolean;
|
|
3365
|
+
canManagePeerSubscriptions: z.ZodBoolean;
|
|
3366
|
+
canExecuteRequests: z.ZodBoolean;
|
|
3367
|
+
automaticDispatch: z.ZodBoolean;
|
|
3368
|
+
concurrencyLimit: z.ZodNumber;
|
|
3369
|
+
spawnLimit: z.ZodNumber;
|
|
3370
|
+
automaticTurnLimit: z.ZodNumber;
|
|
3349
3371
|
}, z.core.$strict>;
|
|
3350
|
-
|
|
3351
|
-
|
|
3352
|
-
|
|
3353
|
-
coordination: z.ZodNullable<z.ZodString>;
|
|
3354
|
-
}, z.core.$strip>;
|
|
3372
|
+
policyRevision: z.ZodNumber;
|
|
3373
|
+
spawnCount: z.ZodNumber;
|
|
3374
|
+
automaticTurnCount: z.ZodNumber;
|
|
3355
3375
|
state: z.ZodEnum<{
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
|
|
3359
|
-
"plan-approval-required": "plan-approval-required";
|
|
3360
|
-
"breakdown-required": "breakdown-required";
|
|
3361
|
-
"sequence-approval-required": "sequence-approval-required";
|
|
3362
|
-
"in-progress": "in-progress";
|
|
3363
|
-
revising: "revising";
|
|
3376
|
+
paused: "paused";
|
|
3377
|
+
active: "active";
|
|
3378
|
+
stopped: "stopped";
|
|
3364
3379
|
}>;
|
|
3365
|
-
|
|
3366
|
-
|
|
3367
|
-
|
|
3368
|
-
|
|
3369
|
-
|
|
3370
|
-
|
|
3371
|
-
|
|
3372
|
-
|
|
3373
|
-
|
|
3374
|
-
|
|
3375
|
-
|
|
3376
|
-
|
|
3377
|
-
runtimeEpoch: z.ZodUUID;
|
|
3378
|
-
action: z.ZodObject<{
|
|
3379
|
-
id: z.ZodUUID;
|
|
3380
|
-
operatorId: z.ZodString;
|
|
3381
|
-
source: z.ZodObject<{
|
|
3382
|
-
kind: z.ZodEnum<{
|
|
3383
|
-
"user-action": "user-action";
|
|
3384
|
-
"user-message": "user-message";
|
|
3385
|
-
}>;
|
|
3386
|
-
reference: z.ZodString;
|
|
3387
|
-
}, z.core.$strict>;
|
|
3388
|
-
}, z.core.$strict>;
|
|
3389
|
-
revision: z.ZodObject<{
|
|
3390
|
-
planDigest: z.ZodString;
|
|
3391
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3392
|
-
}, z.core.$strict>;
|
|
3393
|
-
mode: z.ZodEnum<{
|
|
3394
|
-
supervised: "supervised";
|
|
3395
|
-
auto: "auto";
|
|
3396
|
-
}>;
|
|
3397
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3398
|
-
createdAt: z.ZodNumber;
|
|
3399
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3400
|
-
id: z.ZodUUID;
|
|
3401
|
-
operatorId: z.ZodString;
|
|
3402
|
-
source: z.ZodObject<{
|
|
3403
|
-
kind: z.ZodEnum<{
|
|
3404
|
-
"user-action": "user-action";
|
|
3405
|
-
"user-message": "user-message";
|
|
3406
|
-
}>;
|
|
3407
|
-
reference: z.ZodString;
|
|
3408
|
-
}, z.core.$strict>;
|
|
3409
|
-
}, z.core.$strict>>;
|
|
3410
|
-
}, z.core.$strict>>;
|
|
3411
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
3412
|
-
finalized: z.ZodNullable<z.ZodObject<{
|
|
3413
|
-
action: z.ZodObject<{
|
|
3414
|
-
id: z.ZodUUID;
|
|
3415
|
-
operatorId: z.ZodString;
|
|
3416
|
-
source: z.ZodObject<{
|
|
3417
|
-
kind: z.ZodEnum<{
|
|
3418
|
-
"user-action": "user-action";
|
|
3419
|
-
"user-message": "user-message";
|
|
3420
|
-
}>;
|
|
3421
|
-
reference: z.ZodString;
|
|
3422
|
-
}, z.core.$strict>;
|
|
3423
|
-
}, z.core.$strict>;
|
|
3424
|
-
revision: z.ZodObject<{
|
|
3425
|
-
planDigest: z.ZodString;
|
|
3426
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3427
|
-
}, z.core.$strict>;
|
|
3428
|
-
fileHash: z.ZodNullable<z.ZodString>;
|
|
3429
|
-
createdAt: z.ZodNumber;
|
|
3430
|
-
}, z.core.$strict>>;
|
|
3431
|
-
planApproval: z.ZodNullable<z.ZodObject<{
|
|
3432
|
-
action: z.ZodObject<{
|
|
3433
|
-
id: z.ZodUUID;
|
|
3434
|
-
operatorId: z.ZodString;
|
|
3435
|
-
source: z.ZodObject<{
|
|
3436
|
-
kind: z.ZodEnum<{
|
|
3437
|
-
"user-action": "user-action";
|
|
3438
|
-
"user-message": "user-message";
|
|
3439
|
-
}>;
|
|
3440
|
-
reference: z.ZodString;
|
|
3441
|
-
}, z.core.$strict>;
|
|
3442
|
-
}, z.core.$strict>;
|
|
3443
|
-
revision: z.ZodObject<{
|
|
3444
|
-
planDigest: z.ZodString;
|
|
3445
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3446
|
-
}, z.core.$strict>;
|
|
3447
|
-
presentationHash: z.ZodString;
|
|
3448
|
-
createdAt: z.ZodNumber;
|
|
3449
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3450
|
-
id: z.ZodUUID;
|
|
3451
|
-
operatorId: z.ZodString;
|
|
3452
|
-
source: z.ZodObject<{
|
|
3453
|
-
kind: z.ZodEnum<{
|
|
3454
|
-
"user-action": "user-action";
|
|
3455
|
-
"user-message": "user-message";
|
|
3456
|
-
}>;
|
|
3457
|
-
reference: z.ZodString;
|
|
3458
|
-
}, z.core.$strict>;
|
|
3459
|
-
}, z.core.$strict>>;
|
|
3460
|
-
}, z.core.$strict>>;
|
|
3461
|
-
sequenceApproval: z.ZodNullable<z.ZodObject<{
|
|
3462
|
-
action: z.ZodObject<{
|
|
3463
|
-
id: z.ZodUUID;
|
|
3464
|
-
operatorId: z.ZodString;
|
|
3465
|
-
source: z.ZodObject<{
|
|
3466
|
-
kind: z.ZodEnum<{
|
|
3467
|
-
"user-action": "user-action";
|
|
3468
|
-
"user-message": "user-message";
|
|
3469
|
-
}>;
|
|
3470
|
-
reference: z.ZodString;
|
|
3471
|
-
}, z.core.$strict>;
|
|
3472
|
-
}, z.core.$strict>;
|
|
3473
|
-
revision: z.ZodObject<{
|
|
3474
|
-
planDigest: z.ZodString;
|
|
3475
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3476
|
-
}, z.core.$strict>;
|
|
3477
|
-
presentationHash: z.ZodString;
|
|
3478
|
-
createdAt: z.ZodNumber;
|
|
3479
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3480
|
-
id: z.ZodUUID;
|
|
3481
|
-
operatorId: z.ZodString;
|
|
3482
|
-
source: z.ZodObject<{
|
|
3483
|
-
kind: z.ZodEnum<{
|
|
3484
|
-
"user-action": "user-action";
|
|
3485
|
-
"user-message": "user-message";
|
|
3486
|
-
}>;
|
|
3487
|
-
reference: z.ZodString;
|
|
3488
|
-
}, z.core.$strict>;
|
|
3489
|
-
}, z.core.$strict>>;
|
|
3490
|
-
}, z.core.$strict>>;
|
|
3491
|
-
lastActionId: z.ZodNullable<z.ZodUUID>;
|
|
3492
|
-
observedConflict: z.ZodNullable<z.ZodObject<{
|
|
3493
|
-
id: z.ZodUUID;
|
|
3494
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
3495
|
-
planDigest: z.ZodString;
|
|
3496
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3497
|
-
}, z.core.$strict>>;
|
|
3498
|
-
observedAt: z.ZodNumber;
|
|
3499
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
3500
|
-
phase: z.ZodEnum<{
|
|
3501
|
-
quiescing: "quiescing";
|
|
3502
|
-
blocked: "blocked";
|
|
3503
|
-
quiescent: "quiescent";
|
|
3504
|
-
}>;
|
|
3505
|
-
controls: z.ZodArray<z.ZodObject<{
|
|
3506
|
-
threadId: z.ZodUUID;
|
|
3507
|
-
interruptActionId: z.ZodUUID;
|
|
3508
|
-
closeActionId: z.ZodUUID;
|
|
3509
|
-
}, z.core.$strict>>;
|
|
3510
|
-
}, z.core.$strict>>;
|
|
3511
|
-
comparisonCount: z.ZodNumber;
|
|
3512
|
-
completionCount: z.ZodNumber;
|
|
3513
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
3514
|
-
createdAt: z.ZodNumber;
|
|
3515
|
-
reason: z.ZodNullable<z.ZodString>;
|
|
3516
|
-
id: z.ZodUUID;
|
|
3517
|
-
action: z.ZodObject<{
|
|
3518
|
-
id: z.ZodUUID;
|
|
3519
|
-
operatorId: z.ZodString;
|
|
3520
|
-
source: z.ZodObject<{
|
|
3521
|
-
kind: z.ZodEnum<{
|
|
3522
|
-
"user-action": "user-action";
|
|
3523
|
-
"user-message": "user-message";
|
|
3524
|
-
}>;
|
|
3525
|
-
reference: z.ZodString;
|
|
3526
|
-
}, z.core.$strict>;
|
|
3527
|
-
}, z.core.$strict>;
|
|
3528
|
-
threadIds: z.ZodArray<z.ZodUUID>;
|
|
3529
|
-
intent: z.ZodEnum<{
|
|
3530
|
-
plan: "plan";
|
|
3531
|
-
breakdown: "breakdown";
|
|
3532
|
-
}>;
|
|
3533
|
-
phaseActionId: z.ZodUUID;
|
|
3534
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
3535
|
-
phase: z.ZodEnum<{
|
|
3536
|
-
quiescing: "quiescing";
|
|
3537
|
-
editing: "editing";
|
|
3538
|
-
reconciling: "reconciling";
|
|
3539
|
-
"awaiting-approval": "awaiting-approval";
|
|
3540
|
-
blocked: "blocked";
|
|
3541
|
-
finished: "finished";
|
|
3542
|
-
}>;
|
|
3543
|
-
invocation: z.ZodNullable<z.ZodObject<{
|
|
3544
|
-
action: z.ZodObject<{
|
|
3545
|
-
id: z.ZodUUID;
|
|
3546
|
-
operatorId: z.ZodString;
|
|
3547
|
-
source: z.ZodObject<{
|
|
3548
|
-
kind: z.ZodEnum<{
|
|
3549
|
-
"user-action": "user-action";
|
|
3550
|
-
"user-message": "user-message";
|
|
3551
|
-
}>;
|
|
3552
|
-
reference: z.ZodString;
|
|
3553
|
-
}, z.core.$strict>;
|
|
3554
|
-
}, z.core.$strict>;
|
|
3555
|
-
skill: z.ZodEnum<{
|
|
3556
|
-
"jg-plan": "jg-plan";
|
|
3557
|
-
"jg-breakdown": "jg-breakdown";
|
|
3558
|
-
}>;
|
|
3559
|
-
}, z.core.$strict>>;
|
|
3560
|
-
hasUncertainEffects: z.ZodBoolean;
|
|
3561
|
-
hasCheckpoint: z.ZodBoolean;
|
|
3562
|
-
hasProposal: z.ZodBoolean;
|
|
3563
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
3564
|
-
unmatchedCount: z.ZodNumber;
|
|
3565
|
-
}, z.core.$strict>>;
|
|
3566
|
-
}, z.core.$strict>;
|
|
3567
|
-
}, z.core.$strip>;
|
|
3568
|
-
content: z.ZodNullable<z.ZodString>;
|
|
3569
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3570
|
-
kind: z.ZodLiteral<"milestones">;
|
|
3571
|
-
result: z.ZodObject<{
|
|
3572
|
-
data: z.ZodArray<z.ZodObject<{
|
|
3573
|
-
id: z.ZodNullable<z.ZodUUID>;
|
|
3574
|
-
ordinal: z.ZodNumber;
|
|
3575
|
-
title: z.ZodString;
|
|
3576
|
-
status: z.ZodEnum<{
|
|
3577
|
-
pending: "pending";
|
|
3578
|
-
"in progress": "in progress";
|
|
3579
|
-
done: "done";
|
|
3580
|
-
}>;
|
|
3581
|
-
contractDigest: z.ZodNullable<z.ZodString>;
|
|
3582
|
-
}, z.core.$strip>>;
|
|
3583
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3584
|
-
}, z.core.$strip>;
|
|
3585
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3586
|
-
kind: z.ZodLiteral<"execution-check">;
|
|
3587
|
-
result: z.ZodObject<{
|
|
3588
|
-
isAuthorized: z.ZodLiteral<true>;
|
|
3589
|
-
authorization: z.ZodObject<{
|
|
3590
|
-
runtimeEpoch: z.ZodUUID;
|
|
3591
|
-
action: z.ZodObject<{
|
|
3592
|
-
id: z.ZodUUID;
|
|
3593
|
-
operatorId: z.ZodString;
|
|
3594
|
-
source: z.ZodObject<{
|
|
3595
|
-
kind: z.ZodEnum<{
|
|
3596
|
-
"user-action": "user-action";
|
|
3597
|
-
"user-message": "user-message";
|
|
3598
|
-
}>;
|
|
3599
|
-
reference: z.ZodString;
|
|
3600
|
-
}, z.core.$strict>;
|
|
3601
|
-
}, z.core.$strict>;
|
|
3602
|
-
revision: z.ZodObject<{
|
|
3603
|
-
planDigest: z.ZodString;
|
|
3604
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3605
|
-
}, z.core.$strict>;
|
|
3606
|
-
mode: z.ZodEnum<{
|
|
3607
|
-
supervised: "supervised";
|
|
3608
|
-
auto: "auto";
|
|
3609
|
-
}>;
|
|
3610
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3611
|
-
createdAt: z.ZodNumber;
|
|
3612
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3613
|
-
id: z.ZodUUID;
|
|
3614
|
-
operatorId: z.ZodString;
|
|
3615
|
-
source: z.ZodObject<{
|
|
3616
|
-
kind: z.ZodEnum<{
|
|
3617
|
-
"user-action": "user-action";
|
|
3618
|
-
"user-message": "user-message";
|
|
3619
|
-
}>;
|
|
3620
|
-
reference: z.ZodString;
|
|
3621
|
-
}, z.core.$strict>;
|
|
3622
|
-
}, z.core.$strict>>;
|
|
3623
|
-
}, z.core.$strict>;
|
|
3624
|
-
}, z.core.$strip>;
|
|
3625
|
-
}, z.core.$strip>], "kind">;
|
|
3626
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3627
|
-
kind: z.ZodLiteral<"collaboration">;
|
|
3628
|
-
result: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3629
|
-
kind: z.ZodLiteral<"task">;
|
|
3630
|
-
task: z.ZodObject<{
|
|
3631
|
-
id: z.ZodUUID;
|
|
3632
|
-
workspaceRoot: z.ZodString;
|
|
3633
|
-
title: z.ZodString;
|
|
3634
|
-
ownerOperatorRef: z.ZodString;
|
|
3635
|
-
plan: z.ZodNullable<z.ZodObject<{
|
|
3636
|
-
planId: z.ZodString;
|
|
3637
|
-
directory: z.ZodString;
|
|
3638
|
-
revision: z.ZodObject<{
|
|
3639
|
-
planDigest: z.ZodString;
|
|
3640
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3641
|
-
}, z.core.$strict>;
|
|
3642
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3643
|
-
}, z.core.$strip>>;
|
|
3644
|
-
policy: z.ZodObject<{
|
|
3645
|
-
providers: z.ZodArray<z.ZodString>;
|
|
3646
|
-
workspaceRoots: z.ZodArray<z.ZodString>;
|
|
3647
|
-
effects: z.ZodArray<z.ZodEnum<{
|
|
3648
|
-
resume: "resume";
|
|
3649
|
-
read: "read";
|
|
3650
|
-
"planning-write": "planning-write";
|
|
3651
|
-
"workspace-write": "workspace-write";
|
|
3652
|
-
commit: "commit";
|
|
3653
|
-
push: "push";
|
|
3654
|
-
pause: "pause";
|
|
3655
|
-
}>>;
|
|
3656
|
-
canSpawn: z.ZodBoolean;
|
|
3657
|
-
canManagePeerSubscriptions: z.ZodBoolean;
|
|
3658
|
-
canExecuteRequests: z.ZodBoolean;
|
|
3659
|
-
automaticDispatch: z.ZodBoolean;
|
|
3660
|
-
concurrencyLimit: z.ZodNumber;
|
|
3661
|
-
spawnLimit: z.ZodNumber;
|
|
3662
|
-
automaticTurnLimit: z.ZodNumber;
|
|
3663
|
-
}, z.core.$strict>;
|
|
3664
|
-
policyRevision: z.ZodNumber;
|
|
3665
|
-
spawnCount: z.ZodNumber;
|
|
3666
|
-
automaticTurnCount: z.ZodNumber;
|
|
3667
|
-
state: z.ZodEnum<{
|
|
3668
|
-
paused: "paused";
|
|
3669
|
-
active: "active";
|
|
3670
|
-
stopped: "stopped";
|
|
3671
|
-
}>;
|
|
3672
|
-
lifecycleRevision: z.ZodNumber;
|
|
3673
|
-
createdAt: z.ZodNumber;
|
|
3674
|
-
}, z.core.$strip>;
|
|
3675
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3676
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3677
|
-
kind: z.ZodLiteral<"tasks">;
|
|
3678
|
-
data: z.ZodArray<z.ZodObject<{
|
|
3679
|
-
createdAt: z.ZodNumber;
|
|
3680
|
-
state: z.ZodEnum<{
|
|
3681
|
-
paused: "paused";
|
|
3682
|
-
active: "active";
|
|
3683
|
-
stopped: "stopped";
|
|
3380
|
+
lifecycleRevision: z.ZodNumber;
|
|
3381
|
+
createdAt: z.ZodNumber;
|
|
3382
|
+
}, z.core.$strip>;
|
|
3383
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
3384
|
+
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3385
|
+
kind: z.ZodLiteral<"tasks">;
|
|
3386
|
+
data: z.ZodArray<z.ZodObject<{
|
|
3387
|
+
createdAt: z.ZodNumber;
|
|
3388
|
+
state: z.ZodEnum<{
|
|
3389
|
+
paused: "paused";
|
|
3390
|
+
active: "active";
|
|
3391
|
+
stopped: "stopped";
|
|
3684
3392
|
}>;
|
|
3685
3393
|
title: z.ZodString;
|
|
3686
3394
|
id: z.ZodUUID;
|
|
@@ -5899,10 +5607,18 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5899
5607
|
notLoaded: "notLoaded";
|
|
5900
5608
|
systemError: "systemError";
|
|
5901
5609
|
}>;
|
|
5610
|
+
state: z.ZodEnum<{
|
|
5611
|
+
unknown: "unknown";
|
|
5612
|
+
idle: "idle";
|
|
5613
|
+
failed: "failed";
|
|
5614
|
+
running: "running";
|
|
5615
|
+
waiting: "waiting";
|
|
5616
|
+
closed: "closed";
|
|
5617
|
+
}>;
|
|
5902
5618
|
ownership: z.ZodEnum<{
|
|
5903
5619
|
external: "external";
|
|
5904
|
-
uncertain: "uncertain";
|
|
5905
5620
|
managed: "managed";
|
|
5621
|
+
uncertain: "uncertain";
|
|
5906
5622
|
}>;
|
|
5907
5623
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
5908
5624
|
historyState: z.ZodEnum<{
|
|
@@ -5932,10 +5648,18 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5932
5648
|
notLoaded: "notLoaded";
|
|
5933
5649
|
systemError: "systemError";
|
|
5934
5650
|
}>;
|
|
5651
|
+
state: z.ZodEnum<{
|
|
5652
|
+
unknown: "unknown";
|
|
5653
|
+
idle: "idle";
|
|
5654
|
+
failed: "failed";
|
|
5655
|
+
running: "running";
|
|
5656
|
+
waiting: "waiting";
|
|
5657
|
+
closed: "closed";
|
|
5658
|
+
}>;
|
|
5935
5659
|
ownership: z.ZodEnum<{
|
|
5936
5660
|
external: "external";
|
|
5937
|
-
uncertain: "uncertain";
|
|
5938
5661
|
managed: "managed";
|
|
5662
|
+
uncertain: "uncertain";
|
|
5939
5663
|
}>;
|
|
5940
5664
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
5941
5665
|
historyState: z.ZodEnum<{
|
|
@@ -6028,7 +5752,30 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6028
5752
|
remainingPercent: z.ZodNumber;
|
|
6029
5753
|
durationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
6030
5754
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
5755
|
+
period: z.ZodOptional<z.ZodEnum<{
|
|
5756
|
+
"five-hour": "five-hour";
|
|
5757
|
+
"seven-day": "seven-day";
|
|
5758
|
+
other: "other";
|
|
5759
|
+
}>>;
|
|
5760
|
+
nativeKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5761
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
5762
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5763
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
5764
|
+
id: z.ZodNullable<z.ZodString>;
|
|
5765
|
+
displayName: z.ZodString;
|
|
5766
|
+
}, z.core.$strip>>;
|
|
5767
|
+
surface: z.ZodNullable<z.ZodString>;
|
|
5768
|
+
}, z.core.$strip>>>;
|
|
6031
5769
|
}, z.core.$strip>>;
|
|
5770
|
+
credits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
5771
|
+
bucket: z.ZodString;
|
|
5772
|
+
hasCredits: z.ZodBoolean;
|
|
5773
|
+
isUnlimited: z.ZodBoolean;
|
|
5774
|
+
balance: z.ZodNullable<z.ZodString>;
|
|
5775
|
+
}, z.core.$strip>>>>;
|
|
5776
|
+
resetCredits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
5777
|
+
availableCount: z.ZodNumber;
|
|
5778
|
+
}, z.core.$strip>>>;
|
|
6032
5779
|
}, z.core.$strip>;
|
|
6033
5780
|
}, z.core.$strip>, z.ZodObject<{
|
|
6034
5781
|
kind: z.ZodLiteral<"skills">;
|
|
@@ -6140,10 +5887,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6140
5887
|
delivery: z.ZodEnum<{
|
|
6141
5888
|
failed: "failed";
|
|
6142
5889
|
canceled: "canceled";
|
|
5890
|
+
uncertain: "uncertain";
|
|
6143
5891
|
queued: "queued";
|
|
6144
5892
|
submitted: "submitted";
|
|
6145
5893
|
acknowledged: "acknowledged";
|
|
6146
|
-
uncertain: "uncertain";
|
|
6147
5894
|
}>;
|
|
6148
5895
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
6149
5896
|
completed: "completed";
|
|
@@ -6285,10 +6032,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6285
6032
|
delivery: z.ZodEnum<{
|
|
6286
6033
|
failed: "failed";
|
|
6287
6034
|
canceled: "canceled";
|
|
6035
|
+
uncertain: "uncertain";
|
|
6288
6036
|
queued: "queued";
|
|
6289
6037
|
submitted: "submitted";
|
|
6290
6038
|
acknowledged: "acknowledged";
|
|
6291
|
-
uncertain: "uncertain";
|
|
6292
6039
|
}>;
|
|
6293
6040
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
6294
6041
|
completed: "completed";
|
|
@@ -6400,8 +6147,8 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6400
6147
|
name: z.ZodString;
|
|
6401
6148
|
workspaceRoot: z.ZodString;
|
|
6402
6149
|
ownership: z.ZodEnum<{
|
|
6403
|
-
uncertain: "uncertain";
|
|
6404
6150
|
managed: "managed";
|
|
6151
|
+
uncertain: "uncertain";
|
|
6405
6152
|
}>;
|
|
6406
6153
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6407
6154
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6412,10 +6159,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6412
6159
|
failed: "failed";
|
|
6413
6160
|
interrupted: "interrupted";
|
|
6414
6161
|
"waiting-input": "waiting-input";
|
|
6162
|
+
running: "running";
|
|
6415
6163
|
creating: "creating";
|
|
6416
6164
|
inactive: "inactive";
|
|
6417
6165
|
starting: "starting";
|
|
6418
|
-
running: "running";
|
|
6419
6166
|
"waiting-approval": "waiting-approval";
|
|
6420
6167
|
stopping: "stopping";
|
|
6421
6168
|
}>;
|
|
@@ -6440,8 +6187,8 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6440
6187
|
name: z.ZodString;
|
|
6441
6188
|
workspaceRoot: z.ZodString;
|
|
6442
6189
|
ownership: z.ZodEnum<{
|
|
6443
|
-
uncertain: "uncertain";
|
|
6444
6190
|
managed: "managed";
|
|
6191
|
+
uncertain: "uncertain";
|
|
6445
6192
|
}>;
|
|
6446
6193
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6447
6194
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6452,10 +6199,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6452
6199
|
failed: "failed";
|
|
6453
6200
|
interrupted: "interrupted";
|
|
6454
6201
|
"waiting-input": "waiting-input";
|
|
6202
|
+
running: "running";
|
|
6455
6203
|
creating: "creating";
|
|
6456
6204
|
inactive: "inactive";
|
|
6457
6205
|
starting: "starting";
|
|
6458
|
-
running: "running";
|
|
6459
6206
|
"waiting-approval": "waiting-approval";
|
|
6460
6207
|
stopping: "stopping";
|
|
6461
6208
|
}>;
|
|
@@ -6478,8 +6225,8 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6478
6225
|
name: z.ZodString;
|
|
6479
6226
|
workspaceRoot: z.ZodString;
|
|
6480
6227
|
ownership: z.ZodEnum<{
|
|
6481
|
-
uncertain: "uncertain";
|
|
6482
6228
|
managed: "managed";
|
|
6229
|
+
uncertain: "uncertain";
|
|
6483
6230
|
}>;
|
|
6484
6231
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6485
6232
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6490,10 +6237,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6490
6237
|
failed: "failed";
|
|
6491
6238
|
interrupted: "interrupted";
|
|
6492
6239
|
"waiting-input": "waiting-input";
|
|
6240
|
+
running: "running";
|
|
6493
6241
|
creating: "creating";
|
|
6494
6242
|
inactive: "inactive";
|
|
6495
6243
|
starting: "starting";
|
|
6496
|
-
running: "running";
|
|
6497
6244
|
"waiting-approval": "waiting-approval";
|
|
6498
6245
|
stopping: "stopping";
|
|
6499
6246
|
}>;
|
|
@@ -6559,10 +6306,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6559
6306
|
delivery: z.ZodEnum<{
|
|
6560
6307
|
failed: "failed";
|
|
6561
6308
|
canceled: "canceled";
|
|
6309
|
+
uncertain: "uncertain";
|
|
6562
6310
|
queued: "queued";
|
|
6563
6311
|
submitted: "submitted";
|
|
6564
6312
|
acknowledged: "acknowledged";
|
|
6565
|
-
uncertain: "uncertain";
|
|
6566
6313
|
}>;
|
|
6567
6314
|
digest: z.ZodString;
|
|
6568
6315
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -6737,6 +6484,49 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6737
6484
|
}, z.core.$strip>>;
|
|
6738
6485
|
hasGap: z.ZodBoolean;
|
|
6739
6486
|
}, z.core.$strip>;
|
|
6487
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
6488
|
+
kind: z.ZodLiteral<"session-states">;
|
|
6489
|
+
result: z.ZodObject<{
|
|
6490
|
+
data: z.ZodArray<z.ZodObject<{
|
|
6491
|
+
sequence: z.ZodNumber;
|
|
6492
|
+
provider: z.ZodString;
|
|
6493
|
+
nativeId: z.ZodNullable<z.ZodString>;
|
|
6494
|
+
threadId: z.ZodNullable<z.ZodUUID>;
|
|
6495
|
+
ownership: z.ZodEnum<{
|
|
6496
|
+
external: "external";
|
|
6497
|
+
managed: "managed";
|
|
6498
|
+
uncertain: "uncertain";
|
|
6499
|
+
}>;
|
|
6500
|
+
previousState: z.ZodNullable<z.ZodEnum<{
|
|
6501
|
+
unknown: "unknown";
|
|
6502
|
+
idle: "idle";
|
|
6503
|
+
failed: "failed";
|
|
6504
|
+
running: "running";
|
|
6505
|
+
waiting: "waiting";
|
|
6506
|
+
closed: "closed";
|
|
6507
|
+
}>>;
|
|
6508
|
+
state: z.ZodEnum<{
|
|
6509
|
+
unknown: "unknown";
|
|
6510
|
+
idle: "idle";
|
|
6511
|
+
failed: "failed";
|
|
6512
|
+
running: "running";
|
|
6513
|
+
waiting: "waiting";
|
|
6514
|
+
closed: "closed";
|
|
6515
|
+
}>;
|
|
6516
|
+
reason: z.ZodEnum<{
|
|
6517
|
+
failed: "failed";
|
|
6518
|
+
closed: "closed";
|
|
6519
|
+
opened: "opened";
|
|
6520
|
+
"turn-started": "turn-started";
|
|
6521
|
+
"turn-completed": "turn-completed";
|
|
6522
|
+
"waiting-for-input": "waiting-for-input";
|
|
6523
|
+
"operator-stopped": "operator-stopped";
|
|
6524
|
+
disappeared: "disappeared";
|
|
6525
|
+
}>;
|
|
6526
|
+
recordedAt: z.ZodNumber;
|
|
6527
|
+
}, z.core.$strip>>;
|
|
6528
|
+
hasMore: z.ZodBoolean;
|
|
6529
|
+
}, z.core.$strip>;
|
|
6740
6530
|
}, z.core.$strip>], "kind">;
|
|
6741
6531
|
export type IHqResponse = z.infer<typeof HqResponseSchema>;
|
|
6742
6532
|
export declare const ErrorKindSchema: z.ZodEnum<{
|
|
@@ -7703,23 +7493,11 @@ export declare const IpcRequestSchema: z.ZodObject<{
|
|
|
7703
7493
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
7704
7494
|
cursor: z.ZodOptional<z.ZodString>;
|
|
7705
7495
|
}, z.core.$strict>, z.ZodObject<{
|
|
7706
|
-
|
|
7707
|
-
|
|
7708
|
-
|
|
7709
|
-
|
|
7710
|
-
|
|
7711
|
-
relation: z.ZodEnum<{
|
|
7712
|
-
equivalent: "equivalent";
|
|
7713
|
-
"requirements-changed": "requirements-changed";
|
|
7714
|
-
omitted: "omitted";
|
|
7715
|
-
reopened: "reopened";
|
|
7716
|
-
}>;
|
|
7717
|
-
retainedPairs: z.ZodArray<z.ZodObject<{
|
|
7718
|
-
sourceId: z.ZodUUID;
|
|
7719
|
-
targetId: z.ZodUUID;
|
|
7720
|
-
}, z.core.$strict>>;
|
|
7721
|
-
}, z.core.$strict>>;
|
|
7722
|
-
}, z.core.$strict>>;
|
|
7496
|
+
kind: z.ZodLiteral<"register">;
|
|
7497
|
+
target: z.ZodObject<{
|
|
7498
|
+
directory: z.ZodString;
|
|
7499
|
+
}, z.core.$strict>;
|
|
7500
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
7723
7501
|
target: z.ZodObject<{
|
|
7724
7502
|
directory: z.ZodString;
|
|
7725
7503
|
}, z.core.$strict>;
|
|
@@ -7827,19 +7605,6 @@ export declare const IpcRequestSchema: z.ZodObject<{
|
|
|
7827
7605
|
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
7828
7606
|
}, z.core.$strict>;
|
|
7829
7607
|
kind: z.ZodLiteral<"revision-invoke">;
|
|
7830
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7831
|
-
kind: z.ZodLiteral<"reconciliation">;
|
|
7832
|
-
target: z.ZodObject<{
|
|
7833
|
-
directory: z.ZodString;
|
|
7834
|
-
}, z.core.$strict>;
|
|
7835
|
-
collection: z.ZodEnum<{
|
|
7836
|
-
drafts: "drafts";
|
|
7837
|
-
sources: "sources";
|
|
7838
|
-
evidence: "evidence";
|
|
7839
|
-
correspondences: "correspondences";
|
|
7840
|
-
}>;
|
|
7841
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
7842
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
7843
7608
|
}, z.core.$strict>, z.ZodObject<{
|
|
7844
7609
|
scope: z.ZodEnum<{
|
|
7845
7610
|
plan: "plan";
|
|
@@ -8311,6 +8076,10 @@ export declare const IpcRequestSchema: z.ZodObject<{
|
|
|
8311
8076
|
kind: z.ZodLiteral<"live-items">;
|
|
8312
8077
|
threadId: z.ZodUUID;
|
|
8313
8078
|
afterRevision: z.ZodOptional<z.ZodNumber>;
|
|
8079
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
8080
|
+
kind: z.ZodLiteral<"session-states">;
|
|
8081
|
+
afterSequence: z.ZodDefault<z.ZodNumber>;
|
|
8082
|
+
limit: z.ZodDefault<z.ZodNumber>;
|
|
8314
8083
|
}, z.core.$strict>], "kind">;
|
|
8315
8084
|
}, z.core.$strict>;
|
|
8316
8085
|
export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -8404,10 +8173,18 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8404
8173
|
notLoaded: "notLoaded";
|
|
8405
8174
|
systemError: "systemError";
|
|
8406
8175
|
}>;
|
|
8176
|
+
state: z.ZodEnum<{
|
|
8177
|
+
unknown: "unknown";
|
|
8178
|
+
idle: "idle";
|
|
8179
|
+
failed: "failed";
|
|
8180
|
+
running: "running";
|
|
8181
|
+
waiting: "waiting";
|
|
8182
|
+
closed: "closed";
|
|
8183
|
+
}>;
|
|
8407
8184
|
ownership: z.ZodEnum<{
|
|
8408
8185
|
external: "external";
|
|
8409
|
-
uncertain: "uncertain";
|
|
8410
8186
|
managed: "managed";
|
|
8187
|
+
uncertain: "uncertain";
|
|
8411
8188
|
}>;
|
|
8412
8189
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
8413
8190
|
historyState: z.ZodEnum<{
|
|
@@ -8503,10 +8280,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8503
8280
|
delivery: z.ZodEnum<{
|
|
8504
8281
|
failed: "failed";
|
|
8505
8282
|
canceled: "canceled";
|
|
8283
|
+
uncertain: "uncertain";
|
|
8506
8284
|
queued: "queued";
|
|
8507
8285
|
submitted: "submitted";
|
|
8508
8286
|
acknowledged: "acknowledged";
|
|
8509
|
-
uncertain: "uncertain";
|
|
8510
8287
|
}>;
|
|
8511
8288
|
digest: z.ZodString;
|
|
8512
8289
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -9077,102 +8854,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9077
8854
|
message: z.ZodString;
|
|
9078
8855
|
}, z.core.$strip>;
|
|
9079
8856
|
}, z.core.$strip>], "state">;
|
|
9080
|
-
mcpServers: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9081
|
-
state: z.ZodLiteral<"supported">;
|
|
9082
|
-
changeMode: z.ZodEnum<{
|
|
9083
|
-
live: "live";
|
|
9084
|
-
"idle-restart": "idle-restart";
|
|
9085
|
-
}>;
|
|
9086
|
-
reason: z.ZodNull;
|
|
9087
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9088
|
-
state: z.ZodEnum<{
|
|
9089
|
-
unknown: "unknown";
|
|
9090
|
-
unsupported: "unsupported";
|
|
9091
|
-
unavailable: "unavailable";
|
|
9092
|
-
}>;
|
|
9093
|
-
changeMode: z.ZodNull;
|
|
9094
|
-
reason: z.ZodObject<{
|
|
9095
|
-
code: z.ZodString;
|
|
9096
|
-
message: z.ZodString;
|
|
9097
|
-
}, z.core.$strip>;
|
|
9098
|
-
}, z.core.$strip>], "state">;
|
|
9099
|
-
mcpTools: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9100
|
-
state: z.ZodLiteral<"supported">;
|
|
9101
|
-
changeMode: z.ZodEnum<{
|
|
9102
|
-
live: "live";
|
|
9103
|
-
"idle-restart": "idle-restart";
|
|
9104
|
-
}>;
|
|
9105
|
-
reason: z.ZodNull;
|
|
9106
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9107
|
-
state: z.ZodEnum<{
|
|
9108
|
-
unknown: "unknown";
|
|
9109
|
-
unsupported: "unsupported";
|
|
9110
|
-
unavailable: "unavailable";
|
|
9111
|
-
}>;
|
|
9112
|
-
changeMode: z.ZodNull;
|
|
9113
|
-
reason: z.ZodObject<{
|
|
9114
|
-
code: z.ZodString;
|
|
9115
|
-
message: z.ZodString;
|
|
9116
|
-
}, z.core.$strip>;
|
|
9117
|
-
}, z.core.$strip>], "state">;
|
|
9118
|
-
mcpResources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9119
|
-
state: z.ZodLiteral<"supported">;
|
|
9120
|
-
changeMode: z.ZodEnum<{
|
|
9121
|
-
live: "live";
|
|
9122
|
-
"idle-restart": "idle-restart";
|
|
9123
|
-
}>;
|
|
9124
|
-
reason: z.ZodNull;
|
|
9125
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9126
|
-
state: z.ZodEnum<{
|
|
9127
|
-
unknown: "unknown";
|
|
9128
|
-
unsupported: "unsupported";
|
|
9129
|
-
unavailable: "unavailable";
|
|
9130
|
-
}>;
|
|
9131
|
-
changeMode: z.ZodNull;
|
|
9132
|
-
reason: z.ZodObject<{
|
|
9133
|
-
code: z.ZodString;
|
|
9134
|
-
message: z.ZodString;
|
|
9135
|
-
}, z.core.$strip>;
|
|
9136
|
-
}, z.core.$strip>], "state">;
|
|
9137
|
-
skillsReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9138
|
-
state: z.ZodLiteral<"supported">;
|
|
9139
|
-
changeMode: z.ZodEnum<{
|
|
9140
|
-
live: "live";
|
|
9141
|
-
"idle-restart": "idle-restart";
|
|
9142
|
-
}>;
|
|
9143
|
-
reason: z.ZodNull;
|
|
9144
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9145
|
-
state: z.ZodEnum<{
|
|
9146
|
-
unknown: "unknown";
|
|
9147
|
-
unsupported: "unsupported";
|
|
9148
|
-
unavailable: "unavailable";
|
|
9149
|
-
}>;
|
|
9150
|
-
changeMode: z.ZodNull;
|
|
9151
|
-
reason: z.ZodObject<{
|
|
9152
|
-
code: z.ZodString;
|
|
9153
|
-
message: z.ZodString;
|
|
9154
|
-
}, z.core.$strip>;
|
|
9155
|
-
}, z.core.$strip>], "state">;
|
|
9156
|
-
mcpReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9157
|
-
state: z.ZodLiteral<"supported">;
|
|
9158
|
-
changeMode: z.ZodEnum<{
|
|
9159
|
-
live: "live";
|
|
9160
|
-
"idle-restart": "idle-restart";
|
|
9161
|
-
}>;
|
|
9162
|
-
reason: z.ZodNull;
|
|
9163
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9164
|
-
state: z.ZodEnum<{
|
|
9165
|
-
unknown: "unknown";
|
|
9166
|
-
unsupported: "unsupported";
|
|
9167
|
-
unavailable: "unavailable";
|
|
9168
|
-
}>;
|
|
9169
|
-
changeMode: z.ZodNull;
|
|
9170
|
-
reason: z.ZodObject<{
|
|
9171
|
-
code: z.ZodString;
|
|
9172
|
-
message: z.ZodString;
|
|
9173
|
-
}, z.core.$strip>;
|
|
9174
|
-
}, z.core.$strip>], "state">;
|
|
9175
|
-
mcpReconnect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8857
|
+
mcpServers: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9176
8858
|
state: z.ZodLiteral<"supported">;
|
|
9177
8859
|
changeMode: z.ZodEnum<{
|
|
9178
8860
|
live: "live";
|
|
@@ -9191,7 +8873,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9191
8873
|
message: z.ZodString;
|
|
9192
8874
|
}, z.core.$strip>;
|
|
9193
8875
|
}, z.core.$strip>], "state">;
|
|
9194
|
-
|
|
8876
|
+
mcpTools: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9195
8877
|
state: z.ZodLiteral<"supported">;
|
|
9196
8878
|
changeMode: z.ZodEnum<{
|
|
9197
8879
|
live: "live";
|
|
@@ -9210,7 +8892,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9210
8892
|
message: z.ZodString;
|
|
9211
8893
|
}, z.core.$strip>;
|
|
9212
8894
|
}, z.core.$strip>], "state">;
|
|
9213
|
-
|
|
8895
|
+
mcpResources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9214
8896
|
state: z.ZodLiteral<"supported">;
|
|
9215
8897
|
changeMode: z.ZodEnum<{
|
|
9216
8898
|
live: "live";
|
|
@@ -9229,7 +8911,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9229
8911
|
message: z.ZodString;
|
|
9230
8912
|
}, z.core.$strip>;
|
|
9231
8913
|
}, z.core.$strip>], "state">;
|
|
9232
|
-
|
|
8914
|
+
skillsReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9233
8915
|
state: z.ZodLiteral<"supported">;
|
|
9234
8916
|
changeMode: z.ZodEnum<{
|
|
9235
8917
|
live: "live";
|
|
@@ -9248,7 +8930,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9248
8930
|
message: z.ZodString;
|
|
9249
8931
|
}, z.core.$strip>;
|
|
9250
8932
|
}, z.core.$strip>], "state">;
|
|
9251
|
-
|
|
8933
|
+
mcpReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9252
8934
|
state: z.ZodLiteral<"supported">;
|
|
9253
8935
|
changeMode: z.ZodEnum<{
|
|
9254
8936
|
live: "live";
|
|
@@ -9267,7 +8949,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9267
8949
|
message: z.ZodString;
|
|
9268
8950
|
}, z.core.$strip>;
|
|
9269
8951
|
}, z.core.$strip>], "state">;
|
|
9270
|
-
|
|
8952
|
+
mcpReconnect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9271
8953
|
state: z.ZodLiteral<"supported">;
|
|
9272
8954
|
changeMode: z.ZodEnum<{
|
|
9273
8955
|
live: "live";
|
|
@@ -9286,7 +8968,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9286
8968
|
message: z.ZodString;
|
|
9287
8969
|
}, z.core.$strip>;
|
|
9288
8970
|
}, z.core.$strip>], "state">;
|
|
9289
|
-
|
|
8971
|
+
mcpSetEnabled: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9290
8972
|
state: z.ZodLiteral<"supported">;
|
|
9291
8973
|
changeMode: z.ZodEnum<{
|
|
9292
8974
|
live: "live";
|
|
@@ -9305,7 +8987,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9305
8987
|
message: z.ZodString;
|
|
9306
8988
|
}, z.core.$strip>;
|
|
9307
8989
|
}, z.core.$strip>], "state">;
|
|
9308
|
-
|
|
8990
|
+
mcpLogin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9309
8991
|
state: z.ZodLiteral<"supported">;
|
|
9310
8992
|
changeMode: z.ZodEnum<{
|
|
9311
8993
|
live: "live";
|
|
@@ -9317,255 +8999,124 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9317
8999
|
unknown: "unknown";
|
|
9318
9000
|
unsupported: "unsupported";
|
|
9319
9001
|
unavailable: "unavailable";
|
|
9320
|
-
}>;
|
|
9321
|
-
changeMode: z.ZodNull;
|
|
9322
|
-
reason: z.ZodObject<{
|
|
9323
|
-
code: z.ZodString;
|
|
9324
|
-
message: z.ZodString;
|
|
9325
|
-
}, z.core.$strip>;
|
|
9326
|
-
}, z.core.$strip>], "state">;
|
|
9327
|
-
|
|
9328
|
-
|
|
9329
|
-
|
|
9330
|
-
|
|
9331
|
-
|
|
9332
|
-
|
|
9333
|
-
|
|
9334
|
-
|
|
9335
|
-
|
|
9336
|
-
|
|
9337
|
-
|
|
9338
|
-
|
|
9339
|
-
|
|
9340
|
-
|
|
9341
|
-
|
|
9342
|
-
|
|
9343
|
-
|
|
9344
|
-
|
|
9345
|
-
|
|
9346
|
-
|
|
9347
|
-
|
|
9348
|
-
|
|
9349
|
-
|
|
9350
|
-
|
|
9351
|
-
|
|
9352
|
-
|
|
9353
|
-
}, z.core.$strip
|
|
9354
|
-
|
|
9355
|
-
|
|
9356
|
-
|
|
9357
|
-
|
|
9358
|
-
|
|
9359
|
-
|
|
9360
|
-
|
|
9361
|
-
|
|
9362
|
-
|
|
9363
|
-
|
|
9364
|
-
|
|
9365
|
-
|
|
9366
|
-
|
|
9367
|
-
|
|
9368
|
-
|
|
9369
|
-
|
|
9370
|
-
|
|
9371
|
-
|
|
9372
|
-
|
|
9373
|
-
|
|
9374
|
-
|
|
9375
|
-
|
|
9376
|
-
|
|
9377
|
-
|
|
9378
|
-
|
|
9379
|
-
|
|
9380
|
-
|
|
9381
|
-
|
|
9382
|
-
|
|
9383
|
-
|
|
9384
|
-
|
|
9385
|
-
|
|
9386
|
-
|
|
9387
|
-
|
|
9388
|
-
|
|
9389
|
-
|
|
9390
|
-
|
|
9391
|
-
|
|
9392
|
-
|
|
9393
|
-
|
|
9394
|
-
|
|
9395
|
-
|
|
9396
|
-
|
|
9397
|
-
|
|
9398
|
-
|
|
9399
|
-
|
|
9400
|
-
|
|
9401
|
-
|
|
9402
|
-
|
|
9403
|
-
|
|
9404
|
-
|
|
9405
|
-
|
|
9406
|
-
|
|
9407
|
-
|
|
9408
|
-
|
|
9409
|
-
|
|
9410
|
-
|
|
9411
|
-
|
|
9412
|
-
|
|
9413
|
-
|
|
9414
|
-
|
|
9415
|
-
|
|
9416
|
-
|
|
9417
|
-
|
|
9418
|
-
|
|
9419
|
-
|
|
9420
|
-
|
|
9421
|
-
|
|
9422
|
-
}, z.core.$strict>;
|
|
9423
|
-
revision: z.ZodObject<{
|
|
9424
|
-
planDigest: z.ZodString;
|
|
9425
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9426
|
-
}, z.core.$strict>;
|
|
9427
|
-
fileHash: z.ZodNullable<z.ZodString>;
|
|
9428
|
-
createdAt: z.ZodNumber;
|
|
9429
|
-
}, z.core.$strict>>;
|
|
9430
|
-
planApproval: z.ZodNullable<z.ZodObject<{
|
|
9431
|
-
action: z.ZodObject<{
|
|
9432
|
-
id: z.ZodUUID;
|
|
9433
|
-
operatorId: z.ZodString;
|
|
9434
|
-
source: z.ZodObject<{
|
|
9435
|
-
kind: z.ZodEnum<{
|
|
9436
|
-
"user-action": "user-action";
|
|
9437
|
-
"user-message": "user-message";
|
|
9438
|
-
}>;
|
|
9439
|
-
reference: z.ZodString;
|
|
9440
|
-
}, z.core.$strict>;
|
|
9441
|
-
}, z.core.$strict>;
|
|
9442
|
-
revision: z.ZodObject<{
|
|
9443
|
-
planDigest: z.ZodString;
|
|
9444
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9445
|
-
}, z.core.$strict>;
|
|
9446
|
-
presentationHash: z.ZodString;
|
|
9447
|
-
createdAt: z.ZodNumber;
|
|
9448
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
9449
|
-
id: z.ZodUUID;
|
|
9450
|
-
operatorId: z.ZodString;
|
|
9451
|
-
source: z.ZodObject<{
|
|
9452
|
-
kind: z.ZodEnum<{
|
|
9453
|
-
"user-action": "user-action";
|
|
9454
|
-
"user-message": "user-message";
|
|
9455
|
-
}>;
|
|
9456
|
-
reference: z.ZodString;
|
|
9457
|
-
}, z.core.$strict>;
|
|
9458
|
-
}, z.core.$strict>>;
|
|
9459
|
-
}, z.core.$strict>>;
|
|
9460
|
-
sequenceApproval: z.ZodNullable<z.ZodObject<{
|
|
9461
|
-
action: z.ZodObject<{
|
|
9462
|
-
id: z.ZodUUID;
|
|
9463
|
-
operatorId: z.ZodString;
|
|
9464
|
-
source: z.ZodObject<{
|
|
9465
|
-
kind: z.ZodEnum<{
|
|
9466
|
-
"user-action": "user-action";
|
|
9467
|
-
"user-message": "user-message";
|
|
9468
|
-
}>;
|
|
9469
|
-
reference: z.ZodString;
|
|
9470
|
-
}, z.core.$strict>;
|
|
9471
|
-
}, z.core.$strict>;
|
|
9472
|
-
revision: z.ZodObject<{
|
|
9473
|
-
planDigest: z.ZodString;
|
|
9474
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9475
|
-
}, z.core.$strict>;
|
|
9476
|
-
presentationHash: z.ZodString;
|
|
9477
|
-
createdAt: z.ZodNumber;
|
|
9478
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
9479
|
-
id: z.ZodUUID;
|
|
9480
|
-
operatorId: z.ZodString;
|
|
9481
|
-
source: z.ZodObject<{
|
|
9482
|
-
kind: z.ZodEnum<{
|
|
9483
|
-
"user-action": "user-action";
|
|
9484
|
-
"user-message": "user-message";
|
|
9485
|
-
}>;
|
|
9486
|
-
reference: z.ZodString;
|
|
9487
|
-
}, z.core.$strict>;
|
|
9488
|
-
}, z.core.$strict>>;
|
|
9489
|
-
}, z.core.$strict>>;
|
|
9490
|
-
lastActionId: z.ZodNullable<z.ZodUUID>;
|
|
9491
|
-
observedConflict: z.ZodNullable<z.ZodObject<{
|
|
9492
|
-
id: z.ZodUUID;
|
|
9493
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
9494
|
-
planDigest: z.ZodString;
|
|
9495
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9496
|
-
}, z.core.$strict>>;
|
|
9497
|
-
observedAt: z.ZodNumber;
|
|
9498
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
9499
|
-
phase: z.ZodEnum<{
|
|
9500
|
-
quiescing: "quiescing";
|
|
9501
|
-
blocked: "blocked";
|
|
9502
|
-
quiescent: "quiescent";
|
|
9503
|
-
}>;
|
|
9504
|
-
controls: z.ZodArray<z.ZodObject<{
|
|
9505
|
-
threadId: z.ZodUUID;
|
|
9506
|
-
interruptActionId: z.ZodUUID;
|
|
9507
|
-
closeActionId: z.ZodUUID;
|
|
9508
|
-
}, z.core.$strict>>;
|
|
9509
|
-
}, z.core.$strict>>;
|
|
9510
|
-
comparisonCount: z.ZodNumber;
|
|
9511
|
-
completionCount: z.ZodNumber;
|
|
9512
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
9513
|
-
createdAt: z.ZodNumber;
|
|
9514
|
-
reason: z.ZodNullable<z.ZodString>;
|
|
9515
|
-
id: z.ZodUUID;
|
|
9516
|
-
action: z.ZodObject<{
|
|
9517
|
-
id: z.ZodUUID;
|
|
9518
|
-
operatorId: z.ZodString;
|
|
9519
|
-
source: z.ZodObject<{
|
|
9520
|
-
kind: z.ZodEnum<{
|
|
9521
|
-
"user-action": "user-action";
|
|
9522
|
-
"user-message": "user-message";
|
|
9523
|
-
}>;
|
|
9524
|
-
reference: z.ZodString;
|
|
9525
|
-
}, z.core.$strict>;
|
|
9526
|
-
}, z.core.$strict>;
|
|
9527
|
-
threadIds: z.ZodArray<z.ZodUUID>;
|
|
9528
|
-
intent: z.ZodEnum<{
|
|
9529
|
-
plan: "plan";
|
|
9530
|
-
breakdown: "breakdown";
|
|
9531
|
-
}>;
|
|
9532
|
-
phaseActionId: z.ZodUUID;
|
|
9533
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
9534
|
-
phase: z.ZodEnum<{
|
|
9535
|
-
quiescing: "quiescing";
|
|
9536
|
-
editing: "editing";
|
|
9537
|
-
reconciling: "reconciling";
|
|
9538
|
-
"awaiting-approval": "awaiting-approval";
|
|
9539
|
-
blocked: "blocked";
|
|
9540
|
-
finished: "finished";
|
|
9541
|
-
}>;
|
|
9542
|
-
invocation: z.ZodNullable<z.ZodObject<{
|
|
9543
|
-
action: z.ZodObject<{
|
|
9544
|
-
id: z.ZodUUID;
|
|
9545
|
-
operatorId: z.ZodString;
|
|
9546
|
-
source: z.ZodObject<{
|
|
9547
|
-
kind: z.ZodEnum<{
|
|
9548
|
-
"user-action": "user-action";
|
|
9549
|
-
"user-message": "user-message";
|
|
9550
|
-
}>;
|
|
9551
|
-
reference: z.ZodString;
|
|
9552
|
-
}, z.core.$strict>;
|
|
9553
|
-
}, z.core.$strict>;
|
|
9554
|
-
skill: z.ZodEnum<{
|
|
9555
|
-
"jg-plan": "jg-plan";
|
|
9556
|
-
"jg-breakdown": "jg-breakdown";
|
|
9557
|
-
}>;
|
|
9558
|
-
}, z.core.$strict>>;
|
|
9559
|
-
hasUncertainEffects: z.ZodBoolean;
|
|
9560
|
-
hasCheckpoint: z.ZodBoolean;
|
|
9561
|
-
hasProposal: z.ZodBoolean;
|
|
9562
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
9563
|
-
unmatchedCount: z.ZodNumber;
|
|
9564
|
-
}, z.core.$strict>>;
|
|
9565
|
-
}, z.core.$strict>;
|
|
9002
|
+
}>;
|
|
9003
|
+
changeMode: z.ZodNull;
|
|
9004
|
+
reason: z.ZodObject<{
|
|
9005
|
+
code: z.ZodString;
|
|
9006
|
+
message: z.ZodString;
|
|
9007
|
+
}, z.core.$strip>;
|
|
9008
|
+
}, z.core.$strip>], "state">;
|
|
9009
|
+
pluginsReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9010
|
+
state: z.ZodLiteral<"supported">;
|
|
9011
|
+
changeMode: z.ZodEnum<{
|
|
9012
|
+
live: "live";
|
|
9013
|
+
"idle-restart": "idle-restart";
|
|
9014
|
+
}>;
|
|
9015
|
+
reason: z.ZodNull;
|
|
9016
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9017
|
+
state: z.ZodEnum<{
|
|
9018
|
+
unknown: "unknown";
|
|
9019
|
+
unsupported: "unsupported";
|
|
9020
|
+
unavailable: "unavailable";
|
|
9021
|
+
}>;
|
|
9022
|
+
changeMode: z.ZodNull;
|
|
9023
|
+
reason: z.ZodObject<{
|
|
9024
|
+
code: z.ZodString;
|
|
9025
|
+
message: z.ZodString;
|
|
9026
|
+
}, z.core.$strip>;
|
|
9027
|
+
}, z.core.$strip>], "state">;
|
|
9028
|
+
accountLogin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9029
|
+
state: z.ZodLiteral<"supported">;
|
|
9030
|
+
changeMode: z.ZodEnum<{
|
|
9031
|
+
live: "live";
|
|
9032
|
+
"idle-restart": "idle-restart";
|
|
9033
|
+
}>;
|
|
9034
|
+
reason: z.ZodNull;
|
|
9035
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9036
|
+
state: z.ZodEnum<{
|
|
9037
|
+
unknown: "unknown";
|
|
9038
|
+
unsupported: "unsupported";
|
|
9039
|
+
unavailable: "unavailable";
|
|
9040
|
+
}>;
|
|
9041
|
+
changeMode: z.ZodNull;
|
|
9042
|
+
reason: z.ZodObject<{
|
|
9043
|
+
code: z.ZodString;
|
|
9044
|
+
message: z.ZodString;
|
|
9045
|
+
}, z.core.$strip>;
|
|
9046
|
+
}, z.core.$strip>], "state">;
|
|
9047
|
+
accountLoginCancel: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9048
|
+
state: z.ZodLiteral<"supported">;
|
|
9049
|
+
changeMode: z.ZodEnum<{
|
|
9050
|
+
live: "live";
|
|
9051
|
+
"idle-restart": "idle-restart";
|
|
9052
|
+
}>;
|
|
9053
|
+
reason: z.ZodNull;
|
|
9054
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9055
|
+
state: z.ZodEnum<{
|
|
9056
|
+
unknown: "unknown";
|
|
9057
|
+
unsupported: "unsupported";
|
|
9058
|
+
unavailable: "unavailable";
|
|
9059
|
+
}>;
|
|
9060
|
+
changeMode: z.ZodNull;
|
|
9061
|
+
reason: z.ZodObject<{
|
|
9062
|
+
code: z.ZodString;
|
|
9063
|
+
message: z.ZodString;
|
|
9064
|
+
}, z.core.$strip>;
|
|
9065
|
+
}, z.core.$strip>], "state">;
|
|
9066
|
+
accountLogout: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9067
|
+
state: z.ZodLiteral<"supported">;
|
|
9068
|
+
changeMode: z.ZodEnum<{
|
|
9069
|
+
live: "live";
|
|
9070
|
+
"idle-restart": "idle-restart";
|
|
9071
|
+
}>;
|
|
9072
|
+
reason: z.ZodNull;
|
|
9073
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9074
|
+
state: z.ZodEnum<{
|
|
9075
|
+
unknown: "unknown";
|
|
9076
|
+
unsupported: "unsupported";
|
|
9077
|
+
unavailable: "unavailable";
|
|
9078
|
+
}>;
|
|
9079
|
+
changeMode: z.ZodNull;
|
|
9080
|
+
reason: z.ZodObject<{
|
|
9081
|
+
code: z.ZodString;
|
|
9082
|
+
message: z.ZodString;
|
|
9083
|
+
}, z.core.$strip>;
|
|
9084
|
+
}, z.core.$strip>], "state">;
|
|
9085
|
+
agentTools: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9086
|
+
state: z.ZodLiteral<"supported">;
|
|
9087
|
+
changeMode: z.ZodEnum<{
|
|
9088
|
+
live: "live";
|
|
9089
|
+
"idle-restart": "idle-restart";
|
|
9090
|
+
}>;
|
|
9091
|
+
reason: z.ZodNull;
|
|
9092
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9093
|
+
state: z.ZodEnum<{
|
|
9094
|
+
unknown: "unknown";
|
|
9095
|
+
unsupported: "unsupported";
|
|
9096
|
+
unavailable: "unavailable";
|
|
9097
|
+
}>;
|
|
9098
|
+
changeMode: z.ZodNull;
|
|
9099
|
+
reason: z.ZodObject<{
|
|
9100
|
+
code: z.ZodString;
|
|
9101
|
+
message: z.ZodString;
|
|
9102
|
+
}, z.core.$strip>;
|
|
9103
|
+
}, z.core.$strip>], "state">;
|
|
9566
9104
|
}, z.core.$strip>;
|
|
9567
|
-
|
|
9568
|
-
|
|
9105
|
+
inputSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
9106
|
+
configurationSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
9107
|
+
provider: z.ZodString;
|
|
9108
|
+
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9109
|
+
kind: z.ZodLiteral<"provider">;
|
|
9110
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9111
|
+
kind: z.ZodLiteral<"session">;
|
|
9112
|
+
threadId: z.ZodUUID;
|
|
9113
|
+
}, z.core.$strip>], "kind">;
|
|
9114
|
+
observedAt: z.ZodNumber;
|
|
9115
|
+
}, z.core.$strip>;
|
|
9116
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
9117
|
+
kind: z.ZodLiteral<"plan">;
|
|
9118
|
+
result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9119
|
+
kind: z.ZodLiteral<"status">;
|
|
9569
9120
|
result: z.ZodObject<{
|
|
9570
9121
|
directory: z.ZodString;
|
|
9571
9122
|
revision: z.ZodObject<{
|
|
@@ -9733,8 +9284,13 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9733
9284
|
closeActionId: z.ZodUUID;
|
|
9734
9285
|
}, z.core.$strict>>;
|
|
9735
9286
|
}, z.core.$strict>>;
|
|
9736
|
-
comparisonCount: z.ZodNumber;
|
|
9737
9287
|
completionCount: z.ZodNumber;
|
|
9288
|
+
unmatchedEvidence: z.ZodArray<z.ZodObject<{
|
|
9289
|
+
title: z.ZodString;
|
|
9290
|
+
id: z.ZodUUID;
|
|
9291
|
+
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
9292
|
+
completedAt: z.ZodNumber;
|
|
9293
|
+
}, z.core.$strict>>;
|
|
9738
9294
|
revision: z.ZodNullable<z.ZodObject<{
|
|
9739
9295
|
createdAt: z.ZodNumber;
|
|
9740
9296
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -9760,7 +9316,6 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9760
9316
|
phase: z.ZodEnum<{
|
|
9761
9317
|
quiescing: "quiescing";
|
|
9762
9318
|
editing: "editing";
|
|
9763
|
-
reconciling: "reconciling";
|
|
9764
9319
|
"awaiting-approval": "awaiting-approval";
|
|
9765
9320
|
blocked: "blocked";
|
|
9766
9321
|
finished: "finished";
|
|
@@ -9784,135 +9339,13 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9784
9339
|
}, z.core.$strict>>;
|
|
9785
9340
|
hasUncertainEffects: z.ZodBoolean;
|
|
9786
9341
|
hasCheckpoint: z.ZodBoolean;
|
|
9787
|
-
hasProposal: z.ZodBoolean;
|
|
9788
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
9789
|
-
unmatchedCount: z.ZodNumber;
|
|
9790
9342
|
}, z.core.$strict>>;
|
|
9791
9343
|
}, z.core.$strict>;
|
|
9792
9344
|
}, z.core.$strip>;
|
|
9793
9345
|
}, z.core.$strip>, z.ZodObject<{
|
|
9794
|
-
kind: z.ZodLiteral<"
|
|
9346
|
+
kind: z.ZodLiteral<"registered">;
|
|
9795
9347
|
result: z.ZodObject<{
|
|
9796
|
-
|
|
9797
|
-
kind: z.ZodLiteral<"source">;
|
|
9798
|
-
entry: z.ZodObject<{
|
|
9799
|
-
ordinal: z.ZodNumber;
|
|
9800
|
-
title: z.ZodString;
|
|
9801
|
-
status: z.ZodEnum<{
|
|
9802
|
-
pending: "pending";
|
|
9803
|
-
"in progress": "in progress";
|
|
9804
|
-
done: "done";
|
|
9805
|
-
}>;
|
|
9806
|
-
id: z.ZodUUID;
|
|
9807
|
-
contractDigest: z.ZodString;
|
|
9808
|
-
contract: z.ZodString;
|
|
9809
|
-
sharedDigest: z.ZodString;
|
|
9810
|
-
}, z.core.$strip>;
|
|
9811
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9812
|
-
kind: z.ZodLiteral<"draft">;
|
|
9813
|
-
entry: z.ZodObject<{
|
|
9814
|
-
ordinal: z.ZodNumber;
|
|
9815
|
-
title: z.ZodString;
|
|
9816
|
-
status: z.ZodEnum<{
|
|
9817
|
-
pending: "pending";
|
|
9818
|
-
"in progress": "in progress";
|
|
9819
|
-
done: "done";
|
|
9820
|
-
}>;
|
|
9821
|
-
id: z.ZodUUID;
|
|
9822
|
-
contractDigest: z.ZodString;
|
|
9823
|
-
contract: z.ZodString;
|
|
9824
|
-
sharedDigest: z.ZodString;
|
|
9825
|
-
matchedSourceId: z.ZodNullable<z.ZodUUID>;
|
|
9826
|
-
}, z.core.$strip>;
|
|
9827
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9828
|
-
kind: z.ZodLiteral<"evidence">;
|
|
9829
|
-
entry: z.ZodObject<{
|
|
9830
|
-
id: z.ZodUUID;
|
|
9831
|
-
action: z.ZodObject<{
|
|
9832
|
-
id: z.ZodUUID;
|
|
9833
|
-
operatorId: z.ZodString;
|
|
9834
|
-
source: z.ZodObject<{
|
|
9835
|
-
kind: z.ZodEnum<{
|
|
9836
|
-
"user-action": "user-action";
|
|
9837
|
-
"user-message": "user-message";
|
|
9838
|
-
}>;
|
|
9839
|
-
reference: z.ZodString;
|
|
9840
|
-
}, z.core.$strict>;
|
|
9841
|
-
}, z.core.$strict>;
|
|
9842
|
-
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
9843
|
-
revision: z.ZodObject<{
|
|
9844
|
-
planDigest: z.ZodString;
|
|
9845
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9846
|
-
}, z.core.$strict>;
|
|
9847
|
-
contractDigest: z.ZodString;
|
|
9848
|
-
title: z.ZodString;
|
|
9849
|
-
contract: z.ZodString;
|
|
9850
|
-
sharedDigest: z.ZodNullable<z.ZodString>;
|
|
9851
|
-
checkouts: z.ZodArray<z.ZodObject<{
|
|
9852
|
-
repository: z.ZodString;
|
|
9853
|
-
directory: z.ZodString;
|
|
9854
|
-
claimReference: z.ZodString;
|
|
9855
|
-
paths: z.ZodArray<z.ZodString>;
|
|
9856
|
-
branch: z.ZodNullable<z.ZodString>;
|
|
9857
|
-
head: z.ZodString;
|
|
9858
|
-
fingerprint: z.ZodString;
|
|
9859
|
-
}, z.core.$strict>>;
|
|
9860
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
9861
|
-
command: z.ZodString;
|
|
9862
|
-
outcome: z.ZodLiteral<"passed">;
|
|
9863
|
-
reference: z.ZodString;
|
|
9864
|
-
}, z.core.$strict>>;
|
|
9865
|
-
completedAt: z.ZodNumber;
|
|
9866
|
-
reopenActionId: z.ZodNullable<z.ZodUUID>;
|
|
9867
|
-
}, z.core.$strict>;
|
|
9868
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9869
|
-
kind: z.ZodLiteral<"correspondence">;
|
|
9870
|
-
entry: z.ZodObject<{
|
|
9871
|
-
id: z.ZodUUID;
|
|
9872
|
-
action: z.ZodObject<{
|
|
9873
|
-
id: z.ZodUUID;
|
|
9874
|
-
operatorId: z.ZodString;
|
|
9875
|
-
source: z.ZodObject<{
|
|
9876
|
-
kind: z.ZodEnum<{
|
|
9877
|
-
"user-action": "user-action";
|
|
9878
|
-
"user-message": "user-message";
|
|
9879
|
-
}>;
|
|
9880
|
-
reference: z.ZodString;
|
|
9881
|
-
}, z.core.$strict>;
|
|
9882
|
-
}, z.core.$strict>;
|
|
9883
|
-
revision: z.ZodObject<{
|
|
9884
|
-
planDigest: z.ZodString;
|
|
9885
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9886
|
-
}, z.core.$strict>;
|
|
9887
|
-
relation: z.ZodEnum<{
|
|
9888
|
-
equivalent: "equivalent";
|
|
9889
|
-
"requirements-changed": "requirements-changed";
|
|
9890
|
-
omitted: "omitted";
|
|
9891
|
-
reopened: "reopened";
|
|
9892
|
-
}>;
|
|
9893
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
9894
|
-
id: z.ZodUUID;
|
|
9895
|
-
contractDigest: z.ZodString;
|
|
9896
|
-
status: z.ZodEnum<{
|
|
9897
|
-
pending: "pending";
|
|
9898
|
-
"in progress": "in progress";
|
|
9899
|
-
done: "done";
|
|
9900
|
-
}>;
|
|
9901
|
-
}, z.core.$strict>>;
|
|
9902
|
-
invalidatedReceiptIds: z.ZodArray<z.ZodUUID>;
|
|
9903
|
-
recordedAt: z.ZodNumber;
|
|
9904
|
-
sources: z.ZodArray<z.ZodObject<{
|
|
9905
|
-
id: z.ZodUUID;
|
|
9906
|
-
status: z.ZodEnum<{
|
|
9907
|
-
pending: "pending";
|
|
9908
|
-
"in progress": "in progress";
|
|
9909
|
-
done: "done";
|
|
9910
|
-
}>;
|
|
9911
|
-
contractDigest: z.ZodString;
|
|
9912
|
-
}, z.core.$strip>>;
|
|
9913
|
-
}, z.core.$strict>;
|
|
9914
|
-
}, z.core.$strip>], "kind">>;
|
|
9915
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
9348
|
+
directory: z.ZodString;
|
|
9916
9349
|
}, z.core.$strip>;
|
|
9917
9350
|
}, z.core.$strip>, z.ZodObject<{
|
|
9918
9351
|
kind: z.ZodLiteral<"finalized">;
|
|
@@ -10083,8 +9516,13 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10083
9516
|
closeActionId: z.ZodUUID;
|
|
10084
9517
|
}, z.core.$strict>>;
|
|
10085
9518
|
}, z.core.$strict>>;
|
|
10086
|
-
comparisonCount: z.ZodNumber;
|
|
10087
9519
|
completionCount: z.ZodNumber;
|
|
9520
|
+
unmatchedEvidence: z.ZodArray<z.ZodObject<{
|
|
9521
|
+
title: z.ZodString;
|
|
9522
|
+
id: z.ZodUUID;
|
|
9523
|
+
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
9524
|
+
completedAt: z.ZodNumber;
|
|
9525
|
+
}, z.core.$strict>>;
|
|
10088
9526
|
revision: z.ZodNullable<z.ZodObject<{
|
|
10089
9527
|
createdAt: z.ZodNumber;
|
|
10090
9528
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -10110,7 +9548,6 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10110
9548
|
phase: z.ZodEnum<{
|
|
10111
9549
|
quiescing: "quiescing";
|
|
10112
9550
|
editing: "editing";
|
|
10113
|
-
reconciling: "reconciling";
|
|
10114
9551
|
"awaiting-approval": "awaiting-approval";
|
|
10115
9552
|
blocked: "blocked";
|
|
10116
9553
|
finished: "finished";
|
|
@@ -10134,9 +9571,6 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10134
9571
|
}, z.core.$strict>>;
|
|
10135
9572
|
hasUncertainEffects: z.ZodBoolean;
|
|
10136
9573
|
hasCheckpoint: z.ZodBoolean;
|
|
10137
|
-
hasProposal: z.ZodBoolean;
|
|
10138
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
10139
|
-
unmatchedCount: z.ZodNumber;
|
|
10140
9574
|
}, z.core.$strict>>;
|
|
10141
9575
|
}, z.core.$strict>;
|
|
10142
9576
|
}, z.core.$strip>;
|
|
@@ -12474,10 +11908,18 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12474
11908
|
notLoaded: "notLoaded";
|
|
12475
11909
|
systemError: "systemError";
|
|
12476
11910
|
}>;
|
|
11911
|
+
state: z.ZodEnum<{
|
|
11912
|
+
unknown: "unknown";
|
|
11913
|
+
idle: "idle";
|
|
11914
|
+
failed: "failed";
|
|
11915
|
+
running: "running";
|
|
11916
|
+
waiting: "waiting";
|
|
11917
|
+
closed: "closed";
|
|
11918
|
+
}>;
|
|
12477
11919
|
ownership: z.ZodEnum<{
|
|
12478
11920
|
external: "external";
|
|
12479
|
-
uncertain: "uncertain";
|
|
12480
11921
|
managed: "managed";
|
|
11922
|
+
uncertain: "uncertain";
|
|
12481
11923
|
}>;
|
|
12482
11924
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
12483
11925
|
historyState: z.ZodEnum<{
|
|
@@ -12507,10 +11949,18 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12507
11949
|
notLoaded: "notLoaded";
|
|
12508
11950
|
systemError: "systemError";
|
|
12509
11951
|
}>;
|
|
11952
|
+
state: z.ZodEnum<{
|
|
11953
|
+
unknown: "unknown";
|
|
11954
|
+
idle: "idle";
|
|
11955
|
+
failed: "failed";
|
|
11956
|
+
running: "running";
|
|
11957
|
+
waiting: "waiting";
|
|
11958
|
+
closed: "closed";
|
|
11959
|
+
}>;
|
|
12510
11960
|
ownership: z.ZodEnum<{
|
|
12511
11961
|
external: "external";
|
|
12512
|
-
uncertain: "uncertain";
|
|
12513
11962
|
managed: "managed";
|
|
11963
|
+
uncertain: "uncertain";
|
|
12514
11964
|
}>;
|
|
12515
11965
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
12516
11966
|
historyState: z.ZodEnum<{
|
|
@@ -12603,7 +12053,30 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12603
12053
|
remainingPercent: z.ZodNumber;
|
|
12604
12054
|
durationMinutes: z.ZodNullable<z.ZodNumber>;
|
|
12605
12055
|
resetsAt: z.ZodNullable<z.ZodNumber>;
|
|
12056
|
+
period: z.ZodOptional<z.ZodEnum<{
|
|
12057
|
+
"five-hour": "five-hour";
|
|
12058
|
+
"seven-day": "seven-day";
|
|
12059
|
+
other: "other";
|
|
12060
|
+
}>>;
|
|
12061
|
+
nativeKind: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12062
|
+
group: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
12063
|
+
scope: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12064
|
+
model: z.ZodNullable<z.ZodObject<{
|
|
12065
|
+
id: z.ZodNullable<z.ZodString>;
|
|
12066
|
+
displayName: z.ZodString;
|
|
12067
|
+
}, z.core.$strip>>;
|
|
12068
|
+
surface: z.ZodNullable<z.ZodString>;
|
|
12069
|
+
}, z.core.$strip>>>;
|
|
12606
12070
|
}, z.core.$strip>>;
|
|
12071
|
+
credits: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodObject<{
|
|
12072
|
+
bucket: z.ZodString;
|
|
12073
|
+
hasCredits: z.ZodBoolean;
|
|
12074
|
+
isUnlimited: z.ZodBoolean;
|
|
12075
|
+
balance: z.ZodNullable<z.ZodString>;
|
|
12076
|
+
}, z.core.$strip>>>>;
|
|
12077
|
+
resetCredits: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
12078
|
+
availableCount: z.ZodNumber;
|
|
12079
|
+
}, z.core.$strip>>>;
|
|
12607
12080
|
}, z.core.$strip>;
|
|
12608
12081
|
}, z.core.$strip>, z.ZodObject<{
|
|
12609
12082
|
kind: z.ZodLiteral<"skills">;
|
|
@@ -12715,10 +12188,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12715
12188
|
delivery: z.ZodEnum<{
|
|
12716
12189
|
failed: "failed";
|
|
12717
12190
|
canceled: "canceled";
|
|
12191
|
+
uncertain: "uncertain";
|
|
12718
12192
|
queued: "queued";
|
|
12719
12193
|
submitted: "submitted";
|
|
12720
12194
|
acknowledged: "acknowledged";
|
|
12721
|
-
uncertain: "uncertain";
|
|
12722
12195
|
}>;
|
|
12723
12196
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
12724
12197
|
completed: "completed";
|
|
@@ -12860,10 +12333,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12860
12333
|
delivery: z.ZodEnum<{
|
|
12861
12334
|
failed: "failed";
|
|
12862
12335
|
canceled: "canceled";
|
|
12336
|
+
uncertain: "uncertain";
|
|
12863
12337
|
queued: "queued";
|
|
12864
12338
|
submitted: "submitted";
|
|
12865
12339
|
acknowledged: "acknowledged";
|
|
12866
|
-
uncertain: "uncertain";
|
|
12867
12340
|
}>;
|
|
12868
12341
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
12869
12342
|
completed: "completed";
|
|
@@ -12975,8 +12448,8 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12975
12448
|
name: z.ZodString;
|
|
12976
12449
|
workspaceRoot: z.ZodString;
|
|
12977
12450
|
ownership: z.ZodEnum<{
|
|
12978
|
-
uncertain: "uncertain";
|
|
12979
12451
|
managed: "managed";
|
|
12452
|
+
uncertain: "uncertain";
|
|
12980
12453
|
}>;
|
|
12981
12454
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
12982
12455
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -12987,10 +12460,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12987
12460
|
failed: "failed";
|
|
12988
12461
|
interrupted: "interrupted";
|
|
12989
12462
|
"waiting-input": "waiting-input";
|
|
12463
|
+
running: "running";
|
|
12990
12464
|
creating: "creating";
|
|
12991
12465
|
inactive: "inactive";
|
|
12992
12466
|
starting: "starting";
|
|
12993
|
-
running: "running";
|
|
12994
12467
|
"waiting-approval": "waiting-approval";
|
|
12995
12468
|
stopping: "stopping";
|
|
12996
12469
|
}>;
|
|
@@ -13015,8 +12488,8 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13015
12488
|
name: z.ZodString;
|
|
13016
12489
|
workspaceRoot: z.ZodString;
|
|
13017
12490
|
ownership: z.ZodEnum<{
|
|
13018
|
-
uncertain: "uncertain";
|
|
13019
12491
|
managed: "managed";
|
|
12492
|
+
uncertain: "uncertain";
|
|
13020
12493
|
}>;
|
|
13021
12494
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
13022
12495
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -13027,10 +12500,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13027
12500
|
failed: "failed";
|
|
13028
12501
|
interrupted: "interrupted";
|
|
13029
12502
|
"waiting-input": "waiting-input";
|
|
12503
|
+
running: "running";
|
|
13030
12504
|
creating: "creating";
|
|
13031
12505
|
inactive: "inactive";
|
|
13032
12506
|
starting: "starting";
|
|
13033
|
-
running: "running";
|
|
13034
12507
|
"waiting-approval": "waiting-approval";
|
|
13035
12508
|
stopping: "stopping";
|
|
13036
12509
|
}>;
|
|
@@ -13053,8 +12526,8 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13053
12526
|
name: z.ZodString;
|
|
13054
12527
|
workspaceRoot: z.ZodString;
|
|
13055
12528
|
ownership: z.ZodEnum<{
|
|
13056
|
-
uncertain: "uncertain";
|
|
13057
12529
|
managed: "managed";
|
|
12530
|
+
uncertain: "uncertain";
|
|
13058
12531
|
}>;
|
|
13059
12532
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
13060
12533
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -13065,10 +12538,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13065
12538
|
failed: "failed";
|
|
13066
12539
|
interrupted: "interrupted";
|
|
13067
12540
|
"waiting-input": "waiting-input";
|
|
12541
|
+
running: "running";
|
|
13068
12542
|
creating: "creating";
|
|
13069
12543
|
inactive: "inactive";
|
|
13070
12544
|
starting: "starting";
|
|
13071
|
-
running: "running";
|
|
13072
12545
|
"waiting-approval": "waiting-approval";
|
|
13073
12546
|
stopping: "stopping";
|
|
13074
12547
|
}>;
|
|
@@ -13134,10 +12607,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13134
12607
|
delivery: z.ZodEnum<{
|
|
13135
12608
|
failed: "failed";
|
|
13136
12609
|
canceled: "canceled";
|
|
12610
|
+
uncertain: "uncertain";
|
|
13137
12611
|
queued: "queued";
|
|
13138
12612
|
submitted: "submitted";
|
|
13139
12613
|
acknowledged: "acknowledged";
|
|
13140
|
-
uncertain: "uncertain";
|
|
13141
12614
|
}>;
|
|
13142
12615
|
digest: z.ZodString;
|
|
13143
12616
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -13312,6 +12785,49 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13312
12785
|
}, z.core.$strip>>;
|
|
13313
12786
|
hasGap: z.ZodBoolean;
|
|
13314
12787
|
}, z.core.$strip>;
|
|
12788
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
12789
|
+
kind: z.ZodLiteral<"session-states">;
|
|
12790
|
+
result: z.ZodObject<{
|
|
12791
|
+
data: z.ZodArray<z.ZodObject<{
|
|
12792
|
+
sequence: z.ZodNumber;
|
|
12793
|
+
provider: z.ZodString;
|
|
12794
|
+
nativeId: z.ZodNullable<z.ZodString>;
|
|
12795
|
+
threadId: z.ZodNullable<z.ZodUUID>;
|
|
12796
|
+
ownership: z.ZodEnum<{
|
|
12797
|
+
external: "external";
|
|
12798
|
+
managed: "managed";
|
|
12799
|
+
uncertain: "uncertain";
|
|
12800
|
+
}>;
|
|
12801
|
+
previousState: z.ZodNullable<z.ZodEnum<{
|
|
12802
|
+
unknown: "unknown";
|
|
12803
|
+
idle: "idle";
|
|
12804
|
+
failed: "failed";
|
|
12805
|
+
running: "running";
|
|
12806
|
+
waiting: "waiting";
|
|
12807
|
+
closed: "closed";
|
|
12808
|
+
}>>;
|
|
12809
|
+
state: z.ZodEnum<{
|
|
12810
|
+
unknown: "unknown";
|
|
12811
|
+
idle: "idle";
|
|
12812
|
+
failed: "failed";
|
|
12813
|
+
running: "running";
|
|
12814
|
+
waiting: "waiting";
|
|
12815
|
+
closed: "closed";
|
|
12816
|
+
}>;
|
|
12817
|
+
reason: z.ZodEnum<{
|
|
12818
|
+
failed: "failed";
|
|
12819
|
+
closed: "closed";
|
|
12820
|
+
opened: "opened";
|
|
12821
|
+
"turn-started": "turn-started";
|
|
12822
|
+
"turn-completed": "turn-completed";
|
|
12823
|
+
"waiting-for-input": "waiting-for-input";
|
|
12824
|
+
"operator-stopped": "operator-stopped";
|
|
12825
|
+
disappeared: "disappeared";
|
|
12826
|
+
}>;
|
|
12827
|
+
recordedAt: z.ZodNumber;
|
|
12828
|
+
}, z.core.$strip>>;
|
|
12829
|
+
hasMore: z.ZodBoolean;
|
|
12830
|
+
}, z.core.$strip>;
|
|
13315
12831
|
}, z.core.$strip>], "kind">;
|
|
13316
12832
|
}, z.core.$strip>, z.ZodObject<{
|
|
13317
12833
|
schemaVersion: z.ZodLiteral<1>;
|