jg-agent-hq 3.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 +9 -0
- package/README.md +13 -13
- package/api/README.md +91 -102
- package/dist/actions/actions.js +15 -0
- package/dist/cli/cli.js +26 -35
- package/dist/cli/utilities.d.ts +1 -1
- package/dist/cli/utilities.js +8 -25
- 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 +7 -9
- package/dist/contracts/index.js +5 -7
- 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 +461 -1047
- package/dist/contracts/types.js +8 -0
- package/dist/index.d.ts +2 -4
- package/dist/index.js +1 -3
- package/dist/plans/admission.d.ts +6 -6
- package/dist/plans/admission.js +1 -1
- package/dist/plans/authority.js +15 -13
- package/dist/plans/documents.d.ts +3 -17
- package/dist/plans/documents.js +6 -62
- package/dist/plans/files.d.ts +2 -2
- package/dist/plans/files.js +2 -4
- 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 +33 -82
- 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 +0 -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/history/history.model.js +2 -0
- package/dist/providers/claude/history/types.d.ts +92 -368
- package/dist/providers/claude/index.d.ts +1 -0
- package/dist/providers/claude/index.js +2 -0
- package/dist/providers/codex/adapter.d.ts +1 -1
- package/dist/providers/codex/adapter.js +26 -3
- package/dist/providers/codex/codex.js +47 -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 +12 -1
- package/dist/providers/codex/types.d.ts +4 -0
- package/dist/providers/codex/types.js +4 -1
- 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.d.ts +0 -2
- package/dist/runtime/runtime.js +11 -5
- package/dist/runtime/state/state.d.ts +1 -1
- package/dist/runtime/state/state.js +2 -2
- 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 +3 -2
- package/dist/snapshots/capture.js +29 -13
- package/dist/snapshots/database.d.ts +2 -2
- package/dist/snapshots/database.js +30 -14
- package/dist/snapshots/fences.d.ts +4 -9
- package/dist/snapshots/fences.js +9 -22
- package/dist/snapshots/index.d.ts +1 -2
- package/dist/snapshots/index.js +2 -3
- package/dist/snapshots/snapshots.d.ts +6 -5
- package/dist/snapshots/snapshots.js +13 -13
- package/dist/snapshots/snapshots.worker.js +1 -1
- package/dist/snapshots/types.d.ts +26 -5
- package/dist/snapshots/types.js +15 -4
- package/dist/storage/schema/constants.d.ts +2 -2
- package/dist/storage/schema/constants.js +9 -3
- package/dist/storage/schema/index.d.ts +2 -3
- package/dist/storage/schema/index.js +4 -3
- package/dist/storage/schema/schema.d.ts +10 -8
- package/dist/storage/schema/schema.js +22 -36
- package/dist/storage/schema/types.d.ts +1 -11
- package/dist/storage/schema/types.js +2 -2
- package/dist/storage/storage.d.ts +1 -1
- package/dist/storage/storage.js +2 -2
- 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.d.ts +0 -2
- package/dist/store/schema.js +6 -25
- package/dist/store/schema.sql +90 -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.d.ts +0 -2
- package/dist/store/store.js +13 -9
- 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 +6 -16
- package/errors/README.md +30 -36
- package/package.json +1 -1
- package/dist/plans/reconciliation.d.ts +0 -34
- package/dist/plans/reconciliation.js +0 -246
- package/dist/storage/schema/v1-to-v2.sql +0 -1
- package/dist/storage/schema/v1.sql +0 -538
- package/dist/storage/upgrade/index.d.ts +0 -2
- package/dist/storage/upgrade/index.js +0 -2
- package/dist/storage/upgrade/types.d.ts +0 -61
- package/dist/storage/upgrade/types.js +0 -42
- package/dist/storage/upgrade/upgrade.d.ts +0 -33
- package/dist/storage/upgrade/upgrade.js +0 -196
- package/dist/storage/upgrade/upgrade.worker.d.ts +0 -1
- package/dist/storage/upgrade/upgrade.worker.js +0 -220
|
@@ -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<{
|
|
@@ -1885,10 +1872,18 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1885
1872
|
notLoaded: "notLoaded";
|
|
1886
1873
|
systemError: "systemError";
|
|
1887
1874
|
}>;
|
|
1875
|
+
state: z.ZodEnum<{
|
|
1876
|
+
unknown: "unknown";
|
|
1877
|
+
idle: "idle";
|
|
1878
|
+
failed: "failed";
|
|
1879
|
+
running: "running";
|
|
1880
|
+
waiting: "waiting";
|
|
1881
|
+
closed: "closed";
|
|
1882
|
+
}>;
|
|
1888
1883
|
ownership: z.ZodEnum<{
|
|
1889
1884
|
external: "external";
|
|
1890
|
-
uncertain: "uncertain";
|
|
1891
1885
|
managed: "managed";
|
|
1886
|
+
uncertain: "uncertain";
|
|
1892
1887
|
}>;
|
|
1893
1888
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
1894
1889
|
historyState: z.ZodEnum<{
|
|
@@ -1984,10 +1979,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1984
1979
|
delivery: z.ZodEnum<{
|
|
1985
1980
|
failed: "failed";
|
|
1986
1981
|
canceled: "canceled";
|
|
1982
|
+
uncertain: "uncertain";
|
|
1987
1983
|
queued: "queued";
|
|
1988
1984
|
submitted: "submitted";
|
|
1989
1985
|
acknowledged: "acknowledged";
|
|
1990
|
-
uncertain: "uncertain";
|
|
1991
1986
|
}>;
|
|
1992
1987
|
digest: z.ZodString;
|
|
1993
1988
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -2988,8 +2983,13 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2988
2983
|
closeActionId: z.ZodUUID;
|
|
2989
2984
|
}, z.core.$strict>>;
|
|
2990
2985
|
}, z.core.$strict>>;
|
|
2991
|
-
comparisonCount: z.ZodNumber;
|
|
2992
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>>;
|
|
2993
2993
|
revision: z.ZodNullable<z.ZodObject<{
|
|
2994
2994
|
createdAt: z.ZodNumber;
|
|
2995
2995
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -3015,7 +3015,6 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3015
3015
|
phase: z.ZodEnum<{
|
|
3016
3016
|
quiescing: "quiescing";
|
|
3017
3017
|
editing: "editing";
|
|
3018
|
-
reconciling: "reconciling";
|
|
3019
3018
|
"awaiting-approval": "awaiting-approval";
|
|
3020
3019
|
blocked: "blocked";
|
|
3021
3020
|
finished: "finished";
|
|
@@ -3039,14 +3038,16 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3039
3038
|
}, z.core.$strict>>;
|
|
3040
3039
|
hasUncertainEffects: z.ZodBoolean;
|
|
3041
3040
|
hasCheckpoint: z.ZodBoolean;
|
|
3042
|
-
hasProposal: z.ZodBoolean;
|
|
3043
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
3044
|
-
unmatchedCount: z.ZodNumber;
|
|
3045
3041
|
}, z.core.$strict>>;
|
|
3046
3042
|
}, z.core.$strict>;
|
|
3047
3043
|
}, z.core.$strip>;
|
|
3048
3044
|
}, z.core.$strip>, z.ZodObject<{
|
|
3049
|
-
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">;
|
|
3050
3051
|
result: z.ZodObject<{
|
|
3051
3052
|
directory: z.ZodString;
|
|
3052
3053
|
revision: z.ZodObject<{
|
|
@@ -3214,8 +3215,13 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3214
3215
|
closeActionId: z.ZodUUID;
|
|
3215
3216
|
}, z.core.$strict>>;
|
|
3216
3217
|
}, z.core.$strict>>;
|
|
3217
|
-
comparisonCount: z.ZodNumber;
|
|
3218
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>>;
|
|
3219
3225
|
revision: z.ZodNullable<z.ZodObject<{
|
|
3220
3226
|
createdAt: z.ZodNumber;
|
|
3221
3227
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -3241,7 +3247,6 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3241
3247
|
phase: z.ZodEnum<{
|
|
3242
3248
|
quiescing: "quiescing";
|
|
3243
3249
|
editing: "editing";
|
|
3244
|
-
reconciling: "reconciling";
|
|
3245
3250
|
"awaiting-approval": "awaiting-approval";
|
|
3246
3251
|
blocked: "blocked";
|
|
3247
3252
|
finished: "finished";
|
|
@@ -3265,478 +3270,125 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
3265
3270
|
}, z.core.$strict>>;
|
|
3266
3271
|
hasUncertainEffects: z.ZodBoolean;
|
|
3267
3272
|
hasCheckpoint: z.ZodBoolean;
|
|
3268
|
-
hasProposal: z.ZodBoolean;
|
|
3269
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
3270
|
-
unmatchedCount: z.ZodNumber;
|
|
3271
3273
|
}, z.core.$strict>>;
|
|
3272
3274
|
}, z.core.$strict>;
|
|
3273
3275
|
}, z.core.$strip>;
|
|
3276
|
+
content: z.ZodNullable<z.ZodString>;
|
|
3274
3277
|
}, z.core.$strip>, z.ZodObject<{
|
|
3275
|
-
kind: z.ZodLiteral<"
|
|
3278
|
+
kind: z.ZodLiteral<"milestones">;
|
|
3276
3279
|
result: z.ZodObject<{
|
|
3277
|
-
data: z.ZodArray<z.
|
|
3278
|
-
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3287
|
-
|
|
3288
|
-
|
|
3289
|
-
|
|
3290
|
-
|
|
3291
|
-
|
|
3292
|
-
|
|
3293
|
-
|
|
3294
|
-
|
|
3295
|
-
|
|
3296
|
-
|
|
3297
|
-
status: z.ZodEnum<{
|
|
3298
|
-
pending: "pending";
|
|
3299
|
-
"in progress": "in progress";
|
|
3300
|
-
done: "done";
|
|
3301
|
-
}>;
|
|
3302
|
-
id: z.ZodUUID;
|
|
3303
|
-
contractDigest: z.ZodString;
|
|
3304
|
-
contract: z.ZodString;
|
|
3305
|
-
sharedDigest: z.ZodString;
|
|
3306
|
-
matchedSourceId: z.ZodNullable<z.ZodUUID>;
|
|
3307
|
-
}, z.core.$strip>;
|
|
3308
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3309
|
-
kind: z.ZodLiteral<"evidence">;
|
|
3310
|
-
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<{
|
|
3311
3300
|
id: z.ZodUUID;
|
|
3312
|
-
|
|
3313
|
-
|
|
3314
|
-
|
|
3315
|
-
|
|
3316
|
-
|
|
3317
|
-
|
|
3318
|
-
"user-message": "user-message";
|
|
3319
|
-
}>;
|
|
3320
|
-
reference: z.ZodString;
|
|
3321
|
-
}, z.core.$strict>;
|
|
3322
|
-
}, z.core.$strict>;
|
|
3323
|
-
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
3324
|
-
revision: z.ZodObject<{
|
|
3325
|
-
planDigest: z.ZodString;
|
|
3326
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3327
|
-
}, z.core.$strict>;
|
|
3328
|
-
contractDigest: z.ZodString;
|
|
3329
|
-
title: z.ZodString;
|
|
3330
|
-
contract: z.ZodString;
|
|
3331
|
-
sharedDigest: z.ZodNullable<z.ZodString>;
|
|
3332
|
-
checkouts: z.ZodArray<z.ZodObject<{
|
|
3333
|
-
repository: z.ZodString;
|
|
3334
|
-
directory: z.ZodString;
|
|
3335
|
-
claimReference: z.ZodString;
|
|
3336
|
-
paths: z.ZodArray<z.ZodString>;
|
|
3337
|
-
branch: z.ZodNullable<z.ZodString>;
|
|
3338
|
-
head: z.ZodString;
|
|
3339
|
-
fingerprint: z.ZodString;
|
|
3340
|
-
}, z.core.$strict>>;
|
|
3341
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
3342
|
-
command: z.ZodString;
|
|
3343
|
-
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
|
+
}>;
|
|
3344
3307
|
reference: z.ZodString;
|
|
3345
|
-
}, z.core.$strict
|
|
3346
|
-
completedAt: z.ZodNumber;
|
|
3347
|
-
reopenActionId: z.ZodNullable<z.ZodUUID>;
|
|
3308
|
+
}, z.core.$strict>;
|
|
3348
3309
|
}, z.core.$strict>;
|
|
3349
|
-
|
|
3350
|
-
|
|
3351
|
-
|
|
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<{
|
|
3352
3321
|
id: z.ZodUUID;
|
|
3353
|
-
|
|
3354
|
-
|
|
3355
|
-
|
|
3356
|
-
|
|
3357
|
-
|
|
3358
|
-
"user-action": "user-action";
|
|
3359
|
-
"user-message": "user-message";
|
|
3360
|
-
}>;
|
|
3361
|
-
reference: z.ZodString;
|
|
3362
|
-
}, z.core.$strict>;
|
|
3363
|
-
}, z.core.$strict>;
|
|
3364
|
-
revision: z.ZodObject<{
|
|
3365
|
-
planDigest: z.ZodString;
|
|
3366
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3367
|
-
}, z.core.$strict>;
|
|
3368
|
-
relation: z.ZodEnum<{
|
|
3369
|
-
equivalent: "equivalent";
|
|
3370
|
-
"requirements-changed": "requirements-changed";
|
|
3371
|
-
omitted: "omitted";
|
|
3372
|
-
reopened: "reopened";
|
|
3373
|
-
}>;
|
|
3374
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
3375
|
-
id: z.ZodUUID;
|
|
3376
|
-
contractDigest: z.ZodString;
|
|
3377
|
-
status: z.ZodEnum<{
|
|
3378
|
-
pending: "pending";
|
|
3379
|
-
"in progress": "in progress";
|
|
3380
|
-
done: "done";
|
|
3381
|
-
}>;
|
|
3382
|
-
}, z.core.$strict>>;
|
|
3383
|
-
invalidatedReceiptIds: z.ZodArray<z.ZodUUID>;
|
|
3384
|
-
recordedAt: z.ZodNumber;
|
|
3385
|
-
sources: z.ZodArray<z.ZodObject<{
|
|
3386
|
-
id: z.ZodUUID;
|
|
3387
|
-
status: z.ZodEnum<{
|
|
3388
|
-
pending: "pending";
|
|
3389
|
-
"in progress": "in progress";
|
|
3390
|
-
done: "done";
|
|
3322
|
+
operatorId: z.ZodString;
|
|
3323
|
+
source: z.ZodObject<{
|
|
3324
|
+
kind: z.ZodEnum<{
|
|
3325
|
+
"user-action": "user-action";
|
|
3326
|
+
"user-message": "user-message";
|
|
3391
3327
|
}>;
|
|
3392
|
-
|
|
3393
|
-
}, z.core.$
|
|
3394
|
-
}, z.core.$strict
|
|
3395
|
-
}, z.core.$
|
|
3396
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3328
|
+
reference: z.ZodString;
|
|
3329
|
+
}, z.core.$strict>;
|
|
3330
|
+
}, z.core.$strict>>;
|
|
3331
|
+
}, z.core.$strict>;
|
|
3397
3332
|
}, z.core.$strip>;
|
|
3398
|
-
}, z.core.$strip
|
|
3399
|
-
|
|
3400
|
-
|
|
3401
|
-
|
|
3402
|
-
|
|
3403
|
-
|
|
3404
|
-
|
|
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;
|
|
3405
3371
|
}, z.core.$strict>;
|
|
3406
|
-
|
|
3407
|
-
|
|
3408
|
-
|
|
3409
|
-
coordination: z.ZodNullable<z.ZodString>;
|
|
3410
|
-
}, z.core.$strip>;
|
|
3372
|
+
policyRevision: z.ZodNumber;
|
|
3373
|
+
spawnCount: z.ZodNumber;
|
|
3374
|
+
automaticTurnCount: z.ZodNumber;
|
|
3411
3375
|
state: z.ZodEnum<{
|
|
3412
|
-
|
|
3413
|
-
|
|
3414
|
-
|
|
3415
|
-
"plan-approval-required": "plan-approval-required";
|
|
3416
|
-
"breakdown-required": "breakdown-required";
|
|
3417
|
-
"sequence-approval-required": "sequence-approval-required";
|
|
3418
|
-
"in-progress": "in-progress";
|
|
3419
|
-
revising: "revising";
|
|
3376
|
+
paused: "paused";
|
|
3377
|
+
active: "active";
|
|
3378
|
+
stopped: "stopped";
|
|
3420
3379
|
}>;
|
|
3421
|
-
|
|
3422
|
-
|
|
3423
|
-
|
|
3424
|
-
|
|
3425
|
-
|
|
3426
|
-
|
|
3427
|
-
|
|
3428
|
-
|
|
3429
|
-
|
|
3430
|
-
|
|
3431
|
-
|
|
3432
|
-
|
|
3433
|
-
runtimeEpoch: z.ZodUUID;
|
|
3434
|
-
action: z.ZodObject<{
|
|
3435
|
-
id: z.ZodUUID;
|
|
3436
|
-
operatorId: z.ZodString;
|
|
3437
|
-
source: z.ZodObject<{
|
|
3438
|
-
kind: z.ZodEnum<{
|
|
3439
|
-
"user-action": "user-action";
|
|
3440
|
-
"user-message": "user-message";
|
|
3441
|
-
}>;
|
|
3442
|
-
reference: z.ZodString;
|
|
3443
|
-
}, z.core.$strict>;
|
|
3444
|
-
}, z.core.$strict>;
|
|
3445
|
-
revision: z.ZodObject<{
|
|
3446
|
-
planDigest: z.ZodString;
|
|
3447
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3448
|
-
}, z.core.$strict>;
|
|
3449
|
-
mode: z.ZodEnum<{
|
|
3450
|
-
supervised: "supervised";
|
|
3451
|
-
auto: "auto";
|
|
3452
|
-
}>;
|
|
3453
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3454
|
-
createdAt: z.ZodNumber;
|
|
3455
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3456
|
-
id: z.ZodUUID;
|
|
3457
|
-
operatorId: z.ZodString;
|
|
3458
|
-
source: z.ZodObject<{
|
|
3459
|
-
kind: z.ZodEnum<{
|
|
3460
|
-
"user-action": "user-action";
|
|
3461
|
-
"user-message": "user-message";
|
|
3462
|
-
}>;
|
|
3463
|
-
reference: z.ZodString;
|
|
3464
|
-
}, z.core.$strict>;
|
|
3465
|
-
}, z.core.$strict>>;
|
|
3466
|
-
}, z.core.$strict>>;
|
|
3467
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
3468
|
-
finalized: z.ZodNullable<z.ZodObject<{
|
|
3469
|
-
action: z.ZodObject<{
|
|
3470
|
-
id: z.ZodUUID;
|
|
3471
|
-
operatorId: z.ZodString;
|
|
3472
|
-
source: z.ZodObject<{
|
|
3473
|
-
kind: z.ZodEnum<{
|
|
3474
|
-
"user-action": "user-action";
|
|
3475
|
-
"user-message": "user-message";
|
|
3476
|
-
}>;
|
|
3477
|
-
reference: z.ZodString;
|
|
3478
|
-
}, z.core.$strict>;
|
|
3479
|
-
}, z.core.$strict>;
|
|
3480
|
-
revision: z.ZodObject<{
|
|
3481
|
-
planDigest: z.ZodString;
|
|
3482
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3483
|
-
}, z.core.$strict>;
|
|
3484
|
-
fileHash: z.ZodNullable<z.ZodString>;
|
|
3485
|
-
createdAt: z.ZodNumber;
|
|
3486
|
-
}, z.core.$strict>>;
|
|
3487
|
-
planApproval: z.ZodNullable<z.ZodObject<{
|
|
3488
|
-
action: z.ZodObject<{
|
|
3489
|
-
id: z.ZodUUID;
|
|
3490
|
-
operatorId: z.ZodString;
|
|
3491
|
-
source: z.ZodObject<{
|
|
3492
|
-
kind: z.ZodEnum<{
|
|
3493
|
-
"user-action": "user-action";
|
|
3494
|
-
"user-message": "user-message";
|
|
3495
|
-
}>;
|
|
3496
|
-
reference: z.ZodString;
|
|
3497
|
-
}, z.core.$strict>;
|
|
3498
|
-
}, z.core.$strict>;
|
|
3499
|
-
revision: z.ZodObject<{
|
|
3500
|
-
planDigest: z.ZodString;
|
|
3501
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3502
|
-
}, z.core.$strict>;
|
|
3503
|
-
presentationHash: z.ZodString;
|
|
3504
|
-
createdAt: z.ZodNumber;
|
|
3505
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3506
|
-
id: z.ZodUUID;
|
|
3507
|
-
operatorId: z.ZodString;
|
|
3508
|
-
source: z.ZodObject<{
|
|
3509
|
-
kind: z.ZodEnum<{
|
|
3510
|
-
"user-action": "user-action";
|
|
3511
|
-
"user-message": "user-message";
|
|
3512
|
-
}>;
|
|
3513
|
-
reference: z.ZodString;
|
|
3514
|
-
}, z.core.$strict>;
|
|
3515
|
-
}, z.core.$strict>>;
|
|
3516
|
-
}, z.core.$strict>>;
|
|
3517
|
-
sequenceApproval: z.ZodNullable<z.ZodObject<{
|
|
3518
|
-
action: z.ZodObject<{
|
|
3519
|
-
id: z.ZodUUID;
|
|
3520
|
-
operatorId: z.ZodString;
|
|
3521
|
-
source: z.ZodObject<{
|
|
3522
|
-
kind: z.ZodEnum<{
|
|
3523
|
-
"user-action": "user-action";
|
|
3524
|
-
"user-message": "user-message";
|
|
3525
|
-
}>;
|
|
3526
|
-
reference: z.ZodString;
|
|
3527
|
-
}, z.core.$strict>;
|
|
3528
|
-
}, z.core.$strict>;
|
|
3529
|
-
revision: z.ZodObject<{
|
|
3530
|
-
planDigest: z.ZodString;
|
|
3531
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3532
|
-
}, z.core.$strict>;
|
|
3533
|
-
presentationHash: z.ZodString;
|
|
3534
|
-
createdAt: z.ZodNumber;
|
|
3535
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3536
|
-
id: z.ZodUUID;
|
|
3537
|
-
operatorId: z.ZodString;
|
|
3538
|
-
source: z.ZodObject<{
|
|
3539
|
-
kind: z.ZodEnum<{
|
|
3540
|
-
"user-action": "user-action";
|
|
3541
|
-
"user-message": "user-message";
|
|
3542
|
-
}>;
|
|
3543
|
-
reference: z.ZodString;
|
|
3544
|
-
}, z.core.$strict>;
|
|
3545
|
-
}, z.core.$strict>>;
|
|
3546
|
-
}, z.core.$strict>>;
|
|
3547
|
-
lastActionId: z.ZodNullable<z.ZodUUID>;
|
|
3548
|
-
observedConflict: z.ZodNullable<z.ZodObject<{
|
|
3549
|
-
id: z.ZodUUID;
|
|
3550
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
3551
|
-
planDigest: z.ZodString;
|
|
3552
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3553
|
-
}, z.core.$strict>>;
|
|
3554
|
-
observedAt: z.ZodNumber;
|
|
3555
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
3556
|
-
phase: z.ZodEnum<{
|
|
3557
|
-
quiescing: "quiescing";
|
|
3558
|
-
blocked: "blocked";
|
|
3559
|
-
quiescent: "quiescent";
|
|
3560
|
-
}>;
|
|
3561
|
-
controls: z.ZodArray<z.ZodObject<{
|
|
3562
|
-
threadId: z.ZodUUID;
|
|
3563
|
-
interruptActionId: z.ZodUUID;
|
|
3564
|
-
closeActionId: z.ZodUUID;
|
|
3565
|
-
}, z.core.$strict>>;
|
|
3566
|
-
}, z.core.$strict>>;
|
|
3567
|
-
comparisonCount: z.ZodNumber;
|
|
3568
|
-
completionCount: z.ZodNumber;
|
|
3569
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
3570
|
-
createdAt: z.ZodNumber;
|
|
3571
|
-
reason: z.ZodNullable<z.ZodString>;
|
|
3572
|
-
id: z.ZodUUID;
|
|
3573
|
-
action: z.ZodObject<{
|
|
3574
|
-
id: z.ZodUUID;
|
|
3575
|
-
operatorId: z.ZodString;
|
|
3576
|
-
source: z.ZodObject<{
|
|
3577
|
-
kind: z.ZodEnum<{
|
|
3578
|
-
"user-action": "user-action";
|
|
3579
|
-
"user-message": "user-message";
|
|
3580
|
-
}>;
|
|
3581
|
-
reference: z.ZodString;
|
|
3582
|
-
}, z.core.$strict>;
|
|
3583
|
-
}, z.core.$strict>;
|
|
3584
|
-
threadIds: z.ZodArray<z.ZodUUID>;
|
|
3585
|
-
intent: z.ZodEnum<{
|
|
3586
|
-
plan: "plan";
|
|
3587
|
-
breakdown: "breakdown";
|
|
3588
|
-
}>;
|
|
3589
|
-
phaseActionId: z.ZodUUID;
|
|
3590
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
3591
|
-
phase: z.ZodEnum<{
|
|
3592
|
-
quiescing: "quiescing";
|
|
3593
|
-
editing: "editing";
|
|
3594
|
-
reconciling: "reconciling";
|
|
3595
|
-
"awaiting-approval": "awaiting-approval";
|
|
3596
|
-
blocked: "blocked";
|
|
3597
|
-
finished: "finished";
|
|
3598
|
-
}>;
|
|
3599
|
-
invocation: z.ZodNullable<z.ZodObject<{
|
|
3600
|
-
action: z.ZodObject<{
|
|
3601
|
-
id: z.ZodUUID;
|
|
3602
|
-
operatorId: z.ZodString;
|
|
3603
|
-
source: z.ZodObject<{
|
|
3604
|
-
kind: z.ZodEnum<{
|
|
3605
|
-
"user-action": "user-action";
|
|
3606
|
-
"user-message": "user-message";
|
|
3607
|
-
}>;
|
|
3608
|
-
reference: z.ZodString;
|
|
3609
|
-
}, z.core.$strict>;
|
|
3610
|
-
}, z.core.$strict>;
|
|
3611
|
-
skill: z.ZodEnum<{
|
|
3612
|
-
"jg-plan": "jg-plan";
|
|
3613
|
-
"jg-breakdown": "jg-breakdown";
|
|
3614
|
-
}>;
|
|
3615
|
-
}, z.core.$strict>>;
|
|
3616
|
-
hasUncertainEffects: z.ZodBoolean;
|
|
3617
|
-
hasCheckpoint: z.ZodBoolean;
|
|
3618
|
-
hasProposal: z.ZodBoolean;
|
|
3619
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
3620
|
-
unmatchedCount: z.ZodNumber;
|
|
3621
|
-
}, z.core.$strict>>;
|
|
3622
|
-
}, z.core.$strict>;
|
|
3623
|
-
}, z.core.$strip>;
|
|
3624
|
-
content: z.ZodNullable<z.ZodString>;
|
|
3625
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3626
|
-
kind: z.ZodLiteral<"milestones">;
|
|
3627
|
-
result: z.ZodObject<{
|
|
3628
|
-
data: z.ZodArray<z.ZodObject<{
|
|
3629
|
-
id: z.ZodNullable<z.ZodUUID>;
|
|
3630
|
-
ordinal: z.ZodNumber;
|
|
3631
|
-
title: z.ZodString;
|
|
3632
|
-
status: z.ZodEnum<{
|
|
3633
|
-
pending: "pending";
|
|
3634
|
-
"in progress": "in progress";
|
|
3635
|
-
done: "done";
|
|
3636
|
-
}>;
|
|
3637
|
-
contractDigest: z.ZodNullable<z.ZodString>;
|
|
3638
|
-
}, z.core.$strip>>;
|
|
3639
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3640
|
-
}, z.core.$strip>;
|
|
3641
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3642
|
-
kind: z.ZodLiteral<"execution-check">;
|
|
3643
|
-
result: z.ZodObject<{
|
|
3644
|
-
isAuthorized: z.ZodLiteral<true>;
|
|
3645
|
-
authorization: z.ZodObject<{
|
|
3646
|
-
runtimeEpoch: z.ZodUUID;
|
|
3647
|
-
action: z.ZodObject<{
|
|
3648
|
-
id: z.ZodUUID;
|
|
3649
|
-
operatorId: z.ZodString;
|
|
3650
|
-
source: z.ZodObject<{
|
|
3651
|
-
kind: z.ZodEnum<{
|
|
3652
|
-
"user-action": "user-action";
|
|
3653
|
-
"user-message": "user-message";
|
|
3654
|
-
}>;
|
|
3655
|
-
reference: z.ZodString;
|
|
3656
|
-
}, z.core.$strict>;
|
|
3657
|
-
}, z.core.$strict>;
|
|
3658
|
-
revision: z.ZodObject<{
|
|
3659
|
-
planDigest: z.ZodString;
|
|
3660
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3661
|
-
}, z.core.$strict>;
|
|
3662
|
-
mode: z.ZodEnum<{
|
|
3663
|
-
supervised: "supervised";
|
|
3664
|
-
auto: "auto";
|
|
3665
|
-
}>;
|
|
3666
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3667
|
-
createdAt: z.ZodNumber;
|
|
3668
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
3669
|
-
id: z.ZodUUID;
|
|
3670
|
-
operatorId: z.ZodString;
|
|
3671
|
-
source: z.ZodObject<{
|
|
3672
|
-
kind: z.ZodEnum<{
|
|
3673
|
-
"user-action": "user-action";
|
|
3674
|
-
"user-message": "user-message";
|
|
3675
|
-
}>;
|
|
3676
|
-
reference: z.ZodString;
|
|
3677
|
-
}, z.core.$strict>;
|
|
3678
|
-
}, z.core.$strict>>;
|
|
3679
|
-
}, z.core.$strict>;
|
|
3680
|
-
}, z.core.$strip>;
|
|
3681
|
-
}, z.core.$strip>], "kind">;
|
|
3682
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3683
|
-
kind: z.ZodLiteral<"collaboration">;
|
|
3684
|
-
result: z.ZodUnion<readonly [z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3685
|
-
kind: z.ZodLiteral<"task">;
|
|
3686
|
-
task: z.ZodObject<{
|
|
3687
|
-
id: z.ZodUUID;
|
|
3688
|
-
workspaceRoot: z.ZodString;
|
|
3689
|
-
title: z.ZodString;
|
|
3690
|
-
ownerOperatorRef: z.ZodString;
|
|
3691
|
-
plan: z.ZodNullable<z.ZodObject<{
|
|
3692
|
-
planId: z.ZodString;
|
|
3693
|
-
directory: z.ZodString;
|
|
3694
|
-
revision: z.ZodObject<{
|
|
3695
|
-
planDigest: z.ZodString;
|
|
3696
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
3697
|
-
}, z.core.$strict>;
|
|
3698
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
3699
|
-
}, z.core.$strip>>;
|
|
3700
|
-
policy: z.ZodObject<{
|
|
3701
|
-
providers: z.ZodArray<z.ZodString>;
|
|
3702
|
-
workspaceRoots: z.ZodArray<z.ZodString>;
|
|
3703
|
-
effects: z.ZodArray<z.ZodEnum<{
|
|
3704
|
-
resume: "resume";
|
|
3705
|
-
read: "read";
|
|
3706
|
-
"planning-write": "planning-write";
|
|
3707
|
-
"workspace-write": "workspace-write";
|
|
3708
|
-
commit: "commit";
|
|
3709
|
-
push: "push";
|
|
3710
|
-
pause: "pause";
|
|
3711
|
-
}>>;
|
|
3712
|
-
canSpawn: z.ZodBoolean;
|
|
3713
|
-
canManagePeerSubscriptions: z.ZodBoolean;
|
|
3714
|
-
canExecuteRequests: z.ZodBoolean;
|
|
3715
|
-
automaticDispatch: z.ZodBoolean;
|
|
3716
|
-
concurrencyLimit: z.ZodNumber;
|
|
3717
|
-
spawnLimit: z.ZodNumber;
|
|
3718
|
-
automaticTurnLimit: z.ZodNumber;
|
|
3719
|
-
}, z.core.$strict>;
|
|
3720
|
-
policyRevision: z.ZodNumber;
|
|
3721
|
-
spawnCount: z.ZodNumber;
|
|
3722
|
-
automaticTurnCount: z.ZodNumber;
|
|
3723
|
-
state: z.ZodEnum<{
|
|
3724
|
-
paused: "paused";
|
|
3725
|
-
active: "active";
|
|
3726
|
-
stopped: "stopped";
|
|
3727
|
-
}>;
|
|
3728
|
-
lifecycleRevision: z.ZodNumber;
|
|
3729
|
-
createdAt: z.ZodNumber;
|
|
3730
|
-
}, z.core.$strip>;
|
|
3731
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
3732
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
3733
|
-
kind: z.ZodLiteral<"tasks">;
|
|
3734
|
-
data: z.ZodArray<z.ZodObject<{
|
|
3735
|
-
createdAt: z.ZodNumber;
|
|
3736
|
-
state: z.ZodEnum<{
|
|
3737
|
-
paused: "paused";
|
|
3738
|
-
active: "active";
|
|
3739
|
-
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";
|
|
3740
3392
|
}>;
|
|
3741
3393
|
title: z.ZodString;
|
|
3742
3394
|
id: z.ZodUUID;
|
|
@@ -5955,10 +5607,18 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5955
5607
|
notLoaded: "notLoaded";
|
|
5956
5608
|
systemError: "systemError";
|
|
5957
5609
|
}>;
|
|
5610
|
+
state: z.ZodEnum<{
|
|
5611
|
+
unknown: "unknown";
|
|
5612
|
+
idle: "idle";
|
|
5613
|
+
failed: "failed";
|
|
5614
|
+
running: "running";
|
|
5615
|
+
waiting: "waiting";
|
|
5616
|
+
closed: "closed";
|
|
5617
|
+
}>;
|
|
5958
5618
|
ownership: z.ZodEnum<{
|
|
5959
5619
|
external: "external";
|
|
5960
|
-
uncertain: "uncertain";
|
|
5961
5620
|
managed: "managed";
|
|
5621
|
+
uncertain: "uncertain";
|
|
5962
5622
|
}>;
|
|
5963
5623
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
5964
5624
|
historyState: z.ZodEnum<{
|
|
@@ -5988,10 +5648,18 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5988
5648
|
notLoaded: "notLoaded";
|
|
5989
5649
|
systemError: "systemError";
|
|
5990
5650
|
}>;
|
|
5651
|
+
state: z.ZodEnum<{
|
|
5652
|
+
unknown: "unknown";
|
|
5653
|
+
idle: "idle";
|
|
5654
|
+
failed: "failed";
|
|
5655
|
+
running: "running";
|
|
5656
|
+
waiting: "waiting";
|
|
5657
|
+
closed: "closed";
|
|
5658
|
+
}>;
|
|
5991
5659
|
ownership: z.ZodEnum<{
|
|
5992
5660
|
external: "external";
|
|
5993
|
-
uncertain: "uncertain";
|
|
5994
5661
|
managed: "managed";
|
|
5662
|
+
uncertain: "uncertain";
|
|
5995
5663
|
}>;
|
|
5996
5664
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
5997
5665
|
historyState: z.ZodEnum<{
|
|
@@ -6219,10 +5887,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6219
5887
|
delivery: z.ZodEnum<{
|
|
6220
5888
|
failed: "failed";
|
|
6221
5889
|
canceled: "canceled";
|
|
5890
|
+
uncertain: "uncertain";
|
|
6222
5891
|
queued: "queued";
|
|
6223
5892
|
submitted: "submitted";
|
|
6224
5893
|
acknowledged: "acknowledged";
|
|
6225
|
-
uncertain: "uncertain";
|
|
6226
5894
|
}>;
|
|
6227
5895
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
6228
5896
|
completed: "completed";
|
|
@@ -6364,10 +6032,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6364
6032
|
delivery: z.ZodEnum<{
|
|
6365
6033
|
failed: "failed";
|
|
6366
6034
|
canceled: "canceled";
|
|
6035
|
+
uncertain: "uncertain";
|
|
6367
6036
|
queued: "queued";
|
|
6368
6037
|
submitted: "submitted";
|
|
6369
6038
|
acknowledged: "acknowledged";
|
|
6370
|
-
uncertain: "uncertain";
|
|
6371
6039
|
}>;
|
|
6372
6040
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
6373
6041
|
completed: "completed";
|
|
@@ -6479,8 +6147,8 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6479
6147
|
name: z.ZodString;
|
|
6480
6148
|
workspaceRoot: z.ZodString;
|
|
6481
6149
|
ownership: z.ZodEnum<{
|
|
6482
|
-
uncertain: "uncertain";
|
|
6483
6150
|
managed: "managed";
|
|
6151
|
+
uncertain: "uncertain";
|
|
6484
6152
|
}>;
|
|
6485
6153
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6486
6154
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6491,10 +6159,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6491
6159
|
failed: "failed";
|
|
6492
6160
|
interrupted: "interrupted";
|
|
6493
6161
|
"waiting-input": "waiting-input";
|
|
6162
|
+
running: "running";
|
|
6494
6163
|
creating: "creating";
|
|
6495
6164
|
inactive: "inactive";
|
|
6496
6165
|
starting: "starting";
|
|
6497
|
-
running: "running";
|
|
6498
6166
|
"waiting-approval": "waiting-approval";
|
|
6499
6167
|
stopping: "stopping";
|
|
6500
6168
|
}>;
|
|
@@ -6519,8 +6187,8 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6519
6187
|
name: z.ZodString;
|
|
6520
6188
|
workspaceRoot: z.ZodString;
|
|
6521
6189
|
ownership: z.ZodEnum<{
|
|
6522
|
-
uncertain: "uncertain";
|
|
6523
6190
|
managed: "managed";
|
|
6191
|
+
uncertain: "uncertain";
|
|
6524
6192
|
}>;
|
|
6525
6193
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6526
6194
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6531,10 +6199,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6531
6199
|
failed: "failed";
|
|
6532
6200
|
interrupted: "interrupted";
|
|
6533
6201
|
"waiting-input": "waiting-input";
|
|
6202
|
+
running: "running";
|
|
6534
6203
|
creating: "creating";
|
|
6535
6204
|
inactive: "inactive";
|
|
6536
6205
|
starting: "starting";
|
|
6537
|
-
running: "running";
|
|
6538
6206
|
"waiting-approval": "waiting-approval";
|
|
6539
6207
|
stopping: "stopping";
|
|
6540
6208
|
}>;
|
|
@@ -6557,8 +6225,8 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6557
6225
|
name: z.ZodString;
|
|
6558
6226
|
workspaceRoot: z.ZodString;
|
|
6559
6227
|
ownership: z.ZodEnum<{
|
|
6560
|
-
uncertain: "uncertain";
|
|
6561
6228
|
managed: "managed";
|
|
6229
|
+
uncertain: "uncertain";
|
|
6562
6230
|
}>;
|
|
6563
6231
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
6564
6232
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -6569,10 +6237,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6569
6237
|
failed: "failed";
|
|
6570
6238
|
interrupted: "interrupted";
|
|
6571
6239
|
"waiting-input": "waiting-input";
|
|
6240
|
+
running: "running";
|
|
6572
6241
|
creating: "creating";
|
|
6573
6242
|
inactive: "inactive";
|
|
6574
6243
|
starting: "starting";
|
|
6575
|
-
running: "running";
|
|
6576
6244
|
"waiting-approval": "waiting-approval";
|
|
6577
6245
|
stopping: "stopping";
|
|
6578
6246
|
}>;
|
|
@@ -6638,10 +6306,10 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6638
6306
|
delivery: z.ZodEnum<{
|
|
6639
6307
|
failed: "failed";
|
|
6640
6308
|
canceled: "canceled";
|
|
6309
|
+
uncertain: "uncertain";
|
|
6641
6310
|
queued: "queued";
|
|
6642
6311
|
submitted: "submitted";
|
|
6643
6312
|
acknowledged: "acknowledged";
|
|
6644
|
-
uncertain: "uncertain";
|
|
6645
6313
|
}>;
|
|
6646
6314
|
digest: z.ZodString;
|
|
6647
6315
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -6816,6 +6484,49 @@ export declare const HqResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
6816
6484
|
}, z.core.$strip>>;
|
|
6817
6485
|
hasGap: z.ZodBoolean;
|
|
6818
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>;
|
|
6819
6530
|
}, z.core.$strip>], "kind">;
|
|
6820
6531
|
export type IHqResponse = z.infer<typeof HqResponseSchema>;
|
|
6821
6532
|
export declare const ErrorKindSchema: z.ZodEnum<{
|
|
@@ -7782,23 +7493,11 @@ export declare const IpcRequestSchema: z.ZodObject<{
|
|
|
7782
7493
|
limit: z.ZodDefault<z.ZodNumber>;
|
|
7783
7494
|
cursor: z.ZodOptional<z.ZodString>;
|
|
7784
7495
|
}, z.core.$strict>, z.ZodObject<{
|
|
7785
|
-
|
|
7786
|
-
|
|
7787
|
-
|
|
7788
|
-
|
|
7789
|
-
|
|
7790
|
-
relation: z.ZodEnum<{
|
|
7791
|
-
equivalent: "equivalent";
|
|
7792
|
-
"requirements-changed": "requirements-changed";
|
|
7793
|
-
omitted: "omitted";
|
|
7794
|
-
reopened: "reopened";
|
|
7795
|
-
}>;
|
|
7796
|
-
retainedPairs: z.ZodArray<z.ZodObject<{
|
|
7797
|
-
sourceId: z.ZodUUID;
|
|
7798
|
-
targetId: z.ZodUUID;
|
|
7799
|
-
}, z.core.$strict>>;
|
|
7800
|
-
}, z.core.$strict>>;
|
|
7801
|
-
}, 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<{
|
|
7802
7501
|
target: z.ZodObject<{
|
|
7803
7502
|
directory: z.ZodString;
|
|
7804
7503
|
}, z.core.$strict>;
|
|
@@ -7906,19 +7605,6 @@ export declare const IpcRequestSchema: z.ZodObject<{
|
|
|
7906
7605
|
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
7907
7606
|
}, z.core.$strict>;
|
|
7908
7607
|
kind: z.ZodLiteral<"revision-invoke">;
|
|
7909
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
7910
|
-
kind: z.ZodLiteral<"reconciliation">;
|
|
7911
|
-
target: z.ZodObject<{
|
|
7912
|
-
directory: z.ZodString;
|
|
7913
|
-
}, z.core.$strict>;
|
|
7914
|
-
collection: z.ZodEnum<{
|
|
7915
|
-
drafts: "drafts";
|
|
7916
|
-
sources: "sources";
|
|
7917
|
-
evidence: "evidence";
|
|
7918
|
-
correspondences: "correspondences";
|
|
7919
|
-
}>;
|
|
7920
|
-
limit: z.ZodDefault<z.ZodNumber>;
|
|
7921
|
-
cursor: z.ZodOptional<z.ZodString>;
|
|
7922
7608
|
}, z.core.$strict>, z.ZodObject<{
|
|
7923
7609
|
scope: z.ZodEnum<{
|
|
7924
7610
|
plan: "plan";
|
|
@@ -8390,6 +8076,10 @@ export declare const IpcRequestSchema: z.ZodObject<{
|
|
|
8390
8076
|
kind: z.ZodLiteral<"live-items">;
|
|
8391
8077
|
threadId: z.ZodUUID;
|
|
8392
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>;
|
|
8393
8083
|
}, z.core.$strict>], "kind">;
|
|
8394
8084
|
}, z.core.$strict>;
|
|
8395
8085
|
export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
@@ -8483,10 +8173,18 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8483
8173
|
notLoaded: "notLoaded";
|
|
8484
8174
|
systemError: "systemError";
|
|
8485
8175
|
}>;
|
|
8176
|
+
state: z.ZodEnum<{
|
|
8177
|
+
unknown: "unknown";
|
|
8178
|
+
idle: "idle";
|
|
8179
|
+
failed: "failed";
|
|
8180
|
+
running: "running";
|
|
8181
|
+
waiting: "waiting";
|
|
8182
|
+
closed: "closed";
|
|
8183
|
+
}>;
|
|
8486
8184
|
ownership: z.ZodEnum<{
|
|
8487
8185
|
external: "external";
|
|
8488
|
-
uncertain: "uncertain";
|
|
8489
8186
|
managed: "managed";
|
|
8187
|
+
uncertain: "uncertain";
|
|
8490
8188
|
}>;
|
|
8491
8189
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
8492
8190
|
historyState: z.ZodEnum<{
|
|
@@ -8582,10 +8280,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
8582
8280
|
delivery: z.ZodEnum<{
|
|
8583
8281
|
failed: "failed";
|
|
8584
8282
|
canceled: "canceled";
|
|
8283
|
+
uncertain: "uncertain";
|
|
8585
8284
|
queued: "queued";
|
|
8586
8285
|
submitted: "submitted";
|
|
8587
8286
|
acknowledged: "acknowledged";
|
|
8588
|
-
uncertain: "uncertain";
|
|
8589
8287
|
}>;
|
|
8590
8288
|
digest: z.ZodString;
|
|
8591
8289
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -9137,121 +8835,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9137
8835
|
message: z.ZodString;
|
|
9138
8836
|
}, z.core.$strip>;
|
|
9139
8837
|
}, z.core.$strip>], "state">;
|
|
9140
|
-
account: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9141
|
-
state: z.ZodLiteral<"supported">;
|
|
9142
|
-
changeMode: z.ZodEnum<{
|
|
9143
|
-
live: "live";
|
|
9144
|
-
"idle-restart": "idle-restart";
|
|
9145
|
-
}>;
|
|
9146
|
-
reason: z.ZodNull;
|
|
9147
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9148
|
-
state: z.ZodEnum<{
|
|
9149
|
-
unknown: "unknown";
|
|
9150
|
-
unsupported: "unsupported";
|
|
9151
|
-
unavailable: "unavailable";
|
|
9152
|
-
}>;
|
|
9153
|
-
changeMode: z.ZodNull;
|
|
9154
|
-
reason: z.ZodObject<{
|
|
9155
|
-
code: z.ZodString;
|
|
9156
|
-
message: z.ZodString;
|
|
9157
|
-
}, z.core.$strip>;
|
|
9158
|
-
}, z.core.$strip>], "state">;
|
|
9159
|
-
mcpServers: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9160
|
-
state: z.ZodLiteral<"supported">;
|
|
9161
|
-
changeMode: z.ZodEnum<{
|
|
9162
|
-
live: "live";
|
|
9163
|
-
"idle-restart": "idle-restart";
|
|
9164
|
-
}>;
|
|
9165
|
-
reason: z.ZodNull;
|
|
9166
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9167
|
-
state: z.ZodEnum<{
|
|
9168
|
-
unknown: "unknown";
|
|
9169
|
-
unsupported: "unsupported";
|
|
9170
|
-
unavailable: "unavailable";
|
|
9171
|
-
}>;
|
|
9172
|
-
changeMode: z.ZodNull;
|
|
9173
|
-
reason: z.ZodObject<{
|
|
9174
|
-
code: z.ZodString;
|
|
9175
|
-
message: z.ZodString;
|
|
9176
|
-
}, z.core.$strip>;
|
|
9177
|
-
}, z.core.$strip>], "state">;
|
|
9178
|
-
mcpTools: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9179
|
-
state: z.ZodLiteral<"supported">;
|
|
9180
|
-
changeMode: z.ZodEnum<{
|
|
9181
|
-
live: "live";
|
|
9182
|
-
"idle-restart": "idle-restart";
|
|
9183
|
-
}>;
|
|
9184
|
-
reason: z.ZodNull;
|
|
9185
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9186
|
-
state: z.ZodEnum<{
|
|
9187
|
-
unknown: "unknown";
|
|
9188
|
-
unsupported: "unsupported";
|
|
9189
|
-
unavailable: "unavailable";
|
|
9190
|
-
}>;
|
|
9191
|
-
changeMode: z.ZodNull;
|
|
9192
|
-
reason: z.ZodObject<{
|
|
9193
|
-
code: z.ZodString;
|
|
9194
|
-
message: z.ZodString;
|
|
9195
|
-
}, z.core.$strip>;
|
|
9196
|
-
}, z.core.$strip>], "state">;
|
|
9197
|
-
mcpResources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9198
|
-
state: z.ZodLiteral<"supported">;
|
|
9199
|
-
changeMode: z.ZodEnum<{
|
|
9200
|
-
live: "live";
|
|
9201
|
-
"idle-restart": "idle-restart";
|
|
9202
|
-
}>;
|
|
9203
|
-
reason: z.ZodNull;
|
|
9204
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9205
|
-
state: z.ZodEnum<{
|
|
9206
|
-
unknown: "unknown";
|
|
9207
|
-
unsupported: "unsupported";
|
|
9208
|
-
unavailable: "unavailable";
|
|
9209
|
-
}>;
|
|
9210
|
-
changeMode: z.ZodNull;
|
|
9211
|
-
reason: z.ZodObject<{
|
|
9212
|
-
code: z.ZodString;
|
|
9213
|
-
message: z.ZodString;
|
|
9214
|
-
}, z.core.$strip>;
|
|
9215
|
-
}, z.core.$strip>], "state">;
|
|
9216
|
-
skillsReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9217
|
-
state: z.ZodLiteral<"supported">;
|
|
9218
|
-
changeMode: z.ZodEnum<{
|
|
9219
|
-
live: "live";
|
|
9220
|
-
"idle-restart": "idle-restart";
|
|
9221
|
-
}>;
|
|
9222
|
-
reason: z.ZodNull;
|
|
9223
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9224
|
-
state: z.ZodEnum<{
|
|
9225
|
-
unknown: "unknown";
|
|
9226
|
-
unsupported: "unsupported";
|
|
9227
|
-
unavailable: "unavailable";
|
|
9228
|
-
}>;
|
|
9229
|
-
changeMode: z.ZodNull;
|
|
9230
|
-
reason: z.ZodObject<{
|
|
9231
|
-
code: z.ZodString;
|
|
9232
|
-
message: z.ZodString;
|
|
9233
|
-
}, z.core.$strip>;
|
|
9234
|
-
}, z.core.$strip>], "state">;
|
|
9235
|
-
mcpReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9236
|
-
state: z.ZodLiteral<"supported">;
|
|
9237
|
-
changeMode: z.ZodEnum<{
|
|
9238
|
-
live: "live";
|
|
9239
|
-
"idle-restart": "idle-restart";
|
|
9240
|
-
}>;
|
|
9241
|
-
reason: z.ZodNull;
|
|
9242
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9243
|
-
state: z.ZodEnum<{
|
|
9244
|
-
unknown: "unknown";
|
|
9245
|
-
unsupported: "unsupported";
|
|
9246
|
-
unavailable: "unavailable";
|
|
9247
|
-
}>;
|
|
9248
|
-
changeMode: z.ZodNull;
|
|
9249
|
-
reason: z.ZodObject<{
|
|
9250
|
-
code: z.ZodString;
|
|
9251
|
-
message: z.ZodString;
|
|
9252
|
-
}, z.core.$strip>;
|
|
9253
|
-
}, z.core.$strip>], "state">;
|
|
9254
|
-
mcpReconnect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8838
|
+
account: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9255
8839
|
state: z.ZodLiteral<"supported">;
|
|
9256
8840
|
changeMode: z.ZodEnum<{
|
|
9257
8841
|
live: "live";
|
|
@@ -9270,7 +8854,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9270
8854
|
message: z.ZodString;
|
|
9271
8855
|
}, z.core.$strip>;
|
|
9272
8856
|
}, z.core.$strip>], "state">;
|
|
9273
|
-
|
|
8857
|
+
mcpServers: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9274
8858
|
state: z.ZodLiteral<"supported">;
|
|
9275
8859
|
changeMode: z.ZodEnum<{
|
|
9276
8860
|
live: "live";
|
|
@@ -9289,7 +8873,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9289
8873
|
message: z.ZodString;
|
|
9290
8874
|
}, z.core.$strip>;
|
|
9291
8875
|
}, z.core.$strip>], "state">;
|
|
9292
|
-
|
|
8876
|
+
mcpTools: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9293
8877
|
state: z.ZodLiteral<"supported">;
|
|
9294
8878
|
changeMode: z.ZodEnum<{
|
|
9295
8879
|
live: "live";
|
|
@@ -9308,7 +8892,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9308
8892
|
message: z.ZodString;
|
|
9309
8893
|
}, z.core.$strip>;
|
|
9310
8894
|
}, z.core.$strip>], "state">;
|
|
9311
|
-
|
|
8895
|
+
mcpResources: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9312
8896
|
state: z.ZodLiteral<"supported">;
|
|
9313
8897
|
changeMode: z.ZodEnum<{
|
|
9314
8898
|
live: "live";
|
|
@@ -9327,7 +8911,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9327
8911
|
message: z.ZodString;
|
|
9328
8912
|
}, z.core.$strip>;
|
|
9329
8913
|
}, z.core.$strip>], "state">;
|
|
9330
|
-
|
|
8914
|
+
skillsReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9331
8915
|
state: z.ZodLiteral<"supported">;
|
|
9332
8916
|
changeMode: z.ZodEnum<{
|
|
9333
8917
|
live: "live";
|
|
@@ -9346,7 +8930,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9346
8930
|
message: z.ZodString;
|
|
9347
8931
|
}, z.core.$strip>;
|
|
9348
8932
|
}, z.core.$strip>], "state">;
|
|
9349
|
-
|
|
8933
|
+
mcpReload: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9350
8934
|
state: z.ZodLiteral<"supported">;
|
|
9351
8935
|
changeMode: z.ZodEnum<{
|
|
9352
8936
|
live: "live";
|
|
@@ -9365,7 +8949,7 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9365
8949
|
message: z.ZodString;
|
|
9366
8950
|
}, z.core.$strip>;
|
|
9367
8951
|
}, z.core.$strip>], "state">;
|
|
9368
|
-
|
|
8952
|
+
mcpReconnect: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9369
8953
|
state: z.ZodLiteral<"supported">;
|
|
9370
8954
|
changeMode: z.ZodEnum<{
|
|
9371
8955
|
live: "live";
|
|
@@ -9384,7 +8968,121 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9384
8968
|
message: z.ZodString;
|
|
9385
8969
|
}, z.core.$strip>;
|
|
9386
8970
|
}, z.core.$strip>], "state">;
|
|
9387
|
-
|
|
8971
|
+
mcpSetEnabled: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8972
|
+
state: z.ZodLiteral<"supported">;
|
|
8973
|
+
changeMode: z.ZodEnum<{
|
|
8974
|
+
live: "live";
|
|
8975
|
+
"idle-restart": "idle-restart";
|
|
8976
|
+
}>;
|
|
8977
|
+
reason: z.ZodNull;
|
|
8978
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8979
|
+
state: z.ZodEnum<{
|
|
8980
|
+
unknown: "unknown";
|
|
8981
|
+
unsupported: "unsupported";
|
|
8982
|
+
unavailable: "unavailable";
|
|
8983
|
+
}>;
|
|
8984
|
+
changeMode: z.ZodNull;
|
|
8985
|
+
reason: z.ZodObject<{
|
|
8986
|
+
code: z.ZodString;
|
|
8987
|
+
message: z.ZodString;
|
|
8988
|
+
}, z.core.$strip>;
|
|
8989
|
+
}, z.core.$strip>], "state">;
|
|
8990
|
+
mcpLogin: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
8991
|
+
state: z.ZodLiteral<"supported">;
|
|
8992
|
+
changeMode: z.ZodEnum<{
|
|
8993
|
+
live: "live";
|
|
8994
|
+
"idle-restart": "idle-restart";
|
|
8995
|
+
}>;
|
|
8996
|
+
reason: z.ZodNull;
|
|
8997
|
+
}, z.core.$strip>, z.ZodObject<{
|
|
8998
|
+
state: z.ZodEnum<{
|
|
8999
|
+
unknown: "unknown";
|
|
9000
|
+
unsupported: "unsupported";
|
|
9001
|
+
unavailable: "unavailable";
|
|
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<{
|
|
9388
9086
|
state: z.ZodLiteral<"supported">;
|
|
9389
9087
|
changeMode: z.ZodEnum<{
|
|
9390
9088
|
live: "live";
|
|
@@ -9404,247 +9102,21 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9404
9102
|
}, z.core.$strip>;
|
|
9405
9103
|
}, z.core.$strip>], "state">;
|
|
9406
9104
|
}, z.core.$strip>;
|
|
9407
|
-
inputSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
9408
|
-
configurationSchema: z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodJSONSchema>>;
|
|
9409
|
-
provider: z.ZodString;
|
|
9410
|
-
scope: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9411
|
-
kind: z.ZodLiteral<"provider">;
|
|
9412
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9413
|
-
kind: z.ZodLiteral<"session">;
|
|
9414
|
-
threadId: z.ZodUUID;
|
|
9415
|
-
}, z.core.$strip>], "kind">;
|
|
9416
|
-
observedAt: z.ZodNumber;
|
|
9417
|
-
}, z.core.$strip>;
|
|
9418
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9419
|
-
kind: z.ZodLiteral<"plan">;
|
|
9420
|
-
result: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
9421
|
-
kind: z.ZodLiteral<"status">;
|
|
9422
|
-
result: z.ZodObject<{
|
|
9423
|
-
directory: z.ZodString;
|
|
9424
|
-
revision: z.ZodObject<{
|
|
9425
|
-
planDigest: z.ZodString;
|
|
9426
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9427
|
-
}, z.core.$strict>;
|
|
9428
|
-
inspection: z.ZodObject<{
|
|
9429
|
-
plan: z.ZodString;
|
|
9430
|
-
milestones: z.ZodNullable<z.ZodString>;
|
|
9431
|
-
coordination: z.ZodNullable<z.ZodString>;
|
|
9432
|
-
}, z.core.$strip>;
|
|
9433
|
-
state: z.ZodEnum<{
|
|
9434
|
-
ready: "ready";
|
|
9435
|
-
completed: "completed";
|
|
9436
|
-
blocked: "blocked";
|
|
9437
|
-
"plan-approval-required": "plan-approval-required";
|
|
9438
|
-
"breakdown-required": "breakdown-required";
|
|
9439
|
-
"sequence-approval-required": "sequence-approval-required";
|
|
9440
|
-
"in-progress": "in-progress";
|
|
9441
|
-
revising: "revising";
|
|
9442
|
-
}>;
|
|
9443
|
-
pendingActionId: z.ZodNullable<z.ZodUUID>;
|
|
9444
|
-
skillsBinding: z.ZodEnum<{
|
|
9445
|
-
absent: "absent";
|
|
9446
|
-
current: "current";
|
|
9447
|
-
stale: "stale";
|
|
9448
|
-
}>;
|
|
9449
|
-
isFinalized: z.ZodBoolean;
|
|
9450
|
-
isPlanApproved: z.ZodBoolean;
|
|
9451
|
-
isSequenceApproved: z.ZodBoolean;
|
|
9452
|
-
milestoneCount: z.ZodNumber;
|
|
9453
|
-
coordination: z.ZodObject<{
|
|
9454
|
-
execution: z.ZodNullable<z.ZodObject<{
|
|
9455
|
-
runtimeEpoch: z.ZodUUID;
|
|
9456
|
-
action: z.ZodObject<{
|
|
9457
|
-
id: z.ZodUUID;
|
|
9458
|
-
operatorId: z.ZodString;
|
|
9459
|
-
source: z.ZodObject<{
|
|
9460
|
-
kind: z.ZodEnum<{
|
|
9461
|
-
"user-action": "user-action";
|
|
9462
|
-
"user-message": "user-message";
|
|
9463
|
-
}>;
|
|
9464
|
-
reference: z.ZodString;
|
|
9465
|
-
}, z.core.$strict>;
|
|
9466
|
-
}, z.core.$strict>;
|
|
9467
|
-
revision: z.ZodObject<{
|
|
9468
|
-
planDigest: z.ZodString;
|
|
9469
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9470
|
-
}, z.core.$strict>;
|
|
9471
|
-
mode: z.ZodEnum<{
|
|
9472
|
-
supervised: "supervised";
|
|
9473
|
-
auto: "auto";
|
|
9474
|
-
}>;
|
|
9475
|
-
milestoneIds: z.ZodArray<z.ZodUUID>;
|
|
9476
|
-
createdAt: z.ZodNumber;
|
|
9477
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
9478
|
-
id: z.ZodUUID;
|
|
9479
|
-
operatorId: z.ZodString;
|
|
9480
|
-
source: z.ZodObject<{
|
|
9481
|
-
kind: z.ZodEnum<{
|
|
9482
|
-
"user-action": "user-action";
|
|
9483
|
-
"user-message": "user-message";
|
|
9484
|
-
}>;
|
|
9485
|
-
reference: z.ZodString;
|
|
9486
|
-
}, z.core.$strict>;
|
|
9487
|
-
}, z.core.$strict>>;
|
|
9488
|
-
}, z.core.$strict>>;
|
|
9489
|
-
schemaVersion: z.ZodLiteral<1>;
|
|
9490
|
-
finalized: z.ZodNullable<z.ZodObject<{
|
|
9491
|
-
action: z.ZodObject<{
|
|
9492
|
-
id: z.ZodUUID;
|
|
9493
|
-
operatorId: z.ZodString;
|
|
9494
|
-
source: z.ZodObject<{
|
|
9495
|
-
kind: z.ZodEnum<{
|
|
9496
|
-
"user-action": "user-action";
|
|
9497
|
-
"user-message": "user-message";
|
|
9498
|
-
}>;
|
|
9499
|
-
reference: z.ZodString;
|
|
9500
|
-
}, z.core.$strict>;
|
|
9501
|
-
}, z.core.$strict>;
|
|
9502
|
-
revision: z.ZodObject<{
|
|
9503
|
-
planDigest: z.ZodString;
|
|
9504
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9505
|
-
}, z.core.$strict>;
|
|
9506
|
-
fileHash: z.ZodNullable<z.ZodString>;
|
|
9507
|
-
createdAt: z.ZodNumber;
|
|
9508
|
-
}, z.core.$strict>>;
|
|
9509
|
-
planApproval: z.ZodNullable<z.ZodObject<{
|
|
9510
|
-
action: z.ZodObject<{
|
|
9511
|
-
id: z.ZodUUID;
|
|
9512
|
-
operatorId: z.ZodString;
|
|
9513
|
-
source: z.ZodObject<{
|
|
9514
|
-
kind: z.ZodEnum<{
|
|
9515
|
-
"user-action": "user-action";
|
|
9516
|
-
"user-message": "user-message";
|
|
9517
|
-
}>;
|
|
9518
|
-
reference: z.ZodString;
|
|
9519
|
-
}, z.core.$strict>;
|
|
9520
|
-
}, z.core.$strict>;
|
|
9521
|
-
revision: z.ZodObject<{
|
|
9522
|
-
planDigest: z.ZodString;
|
|
9523
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9524
|
-
}, z.core.$strict>;
|
|
9525
|
-
presentationHash: z.ZodString;
|
|
9526
|
-
createdAt: z.ZodNumber;
|
|
9527
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
9528
|
-
id: z.ZodUUID;
|
|
9529
|
-
operatorId: z.ZodString;
|
|
9530
|
-
source: z.ZodObject<{
|
|
9531
|
-
kind: z.ZodEnum<{
|
|
9532
|
-
"user-action": "user-action";
|
|
9533
|
-
"user-message": "user-message";
|
|
9534
|
-
}>;
|
|
9535
|
-
reference: z.ZodString;
|
|
9536
|
-
}, z.core.$strict>;
|
|
9537
|
-
}, z.core.$strict>>;
|
|
9538
|
-
}, z.core.$strict>>;
|
|
9539
|
-
sequenceApproval: z.ZodNullable<z.ZodObject<{
|
|
9540
|
-
action: z.ZodObject<{
|
|
9541
|
-
id: z.ZodUUID;
|
|
9542
|
-
operatorId: z.ZodString;
|
|
9543
|
-
source: z.ZodObject<{
|
|
9544
|
-
kind: z.ZodEnum<{
|
|
9545
|
-
"user-action": "user-action";
|
|
9546
|
-
"user-message": "user-message";
|
|
9547
|
-
}>;
|
|
9548
|
-
reference: z.ZodString;
|
|
9549
|
-
}, z.core.$strict>;
|
|
9550
|
-
}, z.core.$strict>;
|
|
9551
|
-
revision: z.ZodObject<{
|
|
9552
|
-
planDigest: z.ZodString;
|
|
9553
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9554
|
-
}, z.core.$strict>;
|
|
9555
|
-
presentationHash: z.ZodString;
|
|
9556
|
-
createdAt: z.ZodNumber;
|
|
9557
|
-
revokedBy: z.ZodNullable<z.ZodObject<{
|
|
9558
|
-
id: z.ZodUUID;
|
|
9559
|
-
operatorId: z.ZodString;
|
|
9560
|
-
source: z.ZodObject<{
|
|
9561
|
-
kind: z.ZodEnum<{
|
|
9562
|
-
"user-action": "user-action";
|
|
9563
|
-
"user-message": "user-message";
|
|
9564
|
-
}>;
|
|
9565
|
-
reference: z.ZodString;
|
|
9566
|
-
}, z.core.$strict>;
|
|
9567
|
-
}, z.core.$strict>>;
|
|
9568
|
-
}, z.core.$strict>>;
|
|
9569
|
-
lastActionId: z.ZodNullable<z.ZodUUID>;
|
|
9570
|
-
observedConflict: z.ZodNullable<z.ZodObject<{
|
|
9571
|
-
id: z.ZodUUID;
|
|
9572
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
9573
|
-
planDigest: z.ZodString;
|
|
9574
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9575
|
-
}, z.core.$strict>>;
|
|
9576
|
-
observedAt: z.ZodNumber;
|
|
9577
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
9578
|
-
phase: z.ZodEnum<{
|
|
9579
|
-
quiescing: "quiescing";
|
|
9580
|
-
blocked: "blocked";
|
|
9581
|
-
quiescent: "quiescent";
|
|
9582
|
-
}>;
|
|
9583
|
-
controls: z.ZodArray<z.ZodObject<{
|
|
9584
|
-
threadId: z.ZodUUID;
|
|
9585
|
-
interruptActionId: z.ZodUUID;
|
|
9586
|
-
closeActionId: z.ZodUUID;
|
|
9587
|
-
}, z.core.$strict>>;
|
|
9588
|
-
}, z.core.$strict>>;
|
|
9589
|
-
comparisonCount: z.ZodNumber;
|
|
9590
|
-
completionCount: z.ZodNumber;
|
|
9591
|
-
revision: z.ZodNullable<z.ZodObject<{
|
|
9592
|
-
createdAt: z.ZodNumber;
|
|
9593
|
-
reason: z.ZodNullable<z.ZodString>;
|
|
9594
|
-
id: z.ZodUUID;
|
|
9595
|
-
action: z.ZodObject<{
|
|
9596
|
-
id: z.ZodUUID;
|
|
9597
|
-
operatorId: z.ZodString;
|
|
9598
|
-
source: z.ZodObject<{
|
|
9599
|
-
kind: z.ZodEnum<{
|
|
9600
|
-
"user-action": "user-action";
|
|
9601
|
-
"user-message": "user-message";
|
|
9602
|
-
}>;
|
|
9603
|
-
reference: z.ZodString;
|
|
9604
|
-
}, z.core.$strict>;
|
|
9605
|
-
}, z.core.$strict>;
|
|
9606
|
-
threadIds: z.ZodArray<z.ZodUUID>;
|
|
9607
|
-
intent: z.ZodEnum<{
|
|
9608
|
-
plan: "plan";
|
|
9609
|
-
breakdown: "breakdown";
|
|
9610
|
-
}>;
|
|
9611
|
-
phaseActionId: z.ZodUUID;
|
|
9612
|
-
ownerRuntimeEpoch: z.ZodUUID;
|
|
9613
|
-
phase: z.ZodEnum<{
|
|
9614
|
-
quiescing: "quiescing";
|
|
9615
|
-
editing: "editing";
|
|
9616
|
-
reconciling: "reconciling";
|
|
9617
|
-
"awaiting-approval": "awaiting-approval";
|
|
9618
|
-
blocked: "blocked";
|
|
9619
|
-
finished: "finished";
|
|
9620
|
-
}>;
|
|
9621
|
-
invocation: z.ZodNullable<z.ZodObject<{
|
|
9622
|
-
action: z.ZodObject<{
|
|
9623
|
-
id: z.ZodUUID;
|
|
9624
|
-
operatorId: z.ZodString;
|
|
9625
|
-
source: z.ZodObject<{
|
|
9626
|
-
kind: z.ZodEnum<{
|
|
9627
|
-
"user-action": "user-action";
|
|
9628
|
-
"user-message": "user-message";
|
|
9629
|
-
}>;
|
|
9630
|
-
reference: z.ZodString;
|
|
9631
|
-
}, z.core.$strict>;
|
|
9632
|
-
}, z.core.$strict>;
|
|
9633
|
-
skill: z.ZodEnum<{
|
|
9634
|
-
"jg-plan": "jg-plan";
|
|
9635
|
-
"jg-breakdown": "jg-breakdown";
|
|
9636
|
-
}>;
|
|
9637
|
-
}, z.core.$strict>>;
|
|
9638
|
-
hasUncertainEffects: z.ZodBoolean;
|
|
9639
|
-
hasCheckpoint: z.ZodBoolean;
|
|
9640
|
-
hasProposal: z.ZodBoolean;
|
|
9641
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
9642
|
-
unmatchedCount: z.ZodNumber;
|
|
9643
|
-
}, z.core.$strict>>;
|
|
9644
|
-
}, z.core.$strict>;
|
|
9645
|
-
}, z.core.$strip>;
|
|
9646
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9647
|
-
kind: z.ZodLiteral<"reconciliation-required">;
|
|
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">;
|
|
9648
9120
|
result: z.ZodObject<{
|
|
9649
9121
|
directory: z.ZodString;
|
|
9650
9122
|
revision: z.ZodObject<{
|
|
@@ -9812,8 +9284,13 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9812
9284
|
closeActionId: z.ZodUUID;
|
|
9813
9285
|
}, z.core.$strict>>;
|
|
9814
9286
|
}, z.core.$strict>>;
|
|
9815
|
-
comparisonCount: z.ZodNumber;
|
|
9816
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>>;
|
|
9817
9294
|
revision: z.ZodNullable<z.ZodObject<{
|
|
9818
9295
|
createdAt: z.ZodNumber;
|
|
9819
9296
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -9839,7 +9316,6 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9839
9316
|
phase: z.ZodEnum<{
|
|
9840
9317
|
quiescing: "quiescing";
|
|
9841
9318
|
editing: "editing";
|
|
9842
|
-
reconciling: "reconciling";
|
|
9843
9319
|
"awaiting-approval": "awaiting-approval";
|
|
9844
9320
|
blocked: "blocked";
|
|
9845
9321
|
finished: "finished";
|
|
@@ -9863,135 +9339,13 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
9863
9339
|
}, z.core.$strict>>;
|
|
9864
9340
|
hasUncertainEffects: z.ZodBoolean;
|
|
9865
9341
|
hasCheckpoint: z.ZodBoolean;
|
|
9866
|
-
hasProposal: z.ZodBoolean;
|
|
9867
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
9868
|
-
unmatchedCount: z.ZodNumber;
|
|
9869
9342
|
}, z.core.$strict>>;
|
|
9870
9343
|
}, z.core.$strict>;
|
|
9871
9344
|
}, z.core.$strip>;
|
|
9872
9345
|
}, z.core.$strip>, z.ZodObject<{
|
|
9873
|
-
kind: z.ZodLiteral<"
|
|
9346
|
+
kind: z.ZodLiteral<"registered">;
|
|
9874
9347
|
result: z.ZodObject<{
|
|
9875
|
-
|
|
9876
|
-
kind: z.ZodLiteral<"source">;
|
|
9877
|
-
entry: z.ZodObject<{
|
|
9878
|
-
ordinal: z.ZodNumber;
|
|
9879
|
-
title: z.ZodString;
|
|
9880
|
-
status: z.ZodEnum<{
|
|
9881
|
-
pending: "pending";
|
|
9882
|
-
"in progress": "in progress";
|
|
9883
|
-
done: "done";
|
|
9884
|
-
}>;
|
|
9885
|
-
id: z.ZodUUID;
|
|
9886
|
-
contractDigest: z.ZodString;
|
|
9887
|
-
contract: z.ZodString;
|
|
9888
|
-
sharedDigest: z.ZodString;
|
|
9889
|
-
}, z.core.$strip>;
|
|
9890
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9891
|
-
kind: z.ZodLiteral<"draft">;
|
|
9892
|
-
entry: z.ZodObject<{
|
|
9893
|
-
ordinal: z.ZodNumber;
|
|
9894
|
-
title: z.ZodString;
|
|
9895
|
-
status: z.ZodEnum<{
|
|
9896
|
-
pending: "pending";
|
|
9897
|
-
"in progress": "in progress";
|
|
9898
|
-
done: "done";
|
|
9899
|
-
}>;
|
|
9900
|
-
id: z.ZodUUID;
|
|
9901
|
-
contractDigest: z.ZodString;
|
|
9902
|
-
contract: z.ZodString;
|
|
9903
|
-
sharedDigest: z.ZodString;
|
|
9904
|
-
matchedSourceId: z.ZodNullable<z.ZodUUID>;
|
|
9905
|
-
}, z.core.$strip>;
|
|
9906
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9907
|
-
kind: z.ZodLiteral<"evidence">;
|
|
9908
|
-
entry: z.ZodObject<{
|
|
9909
|
-
id: z.ZodUUID;
|
|
9910
|
-
action: z.ZodObject<{
|
|
9911
|
-
id: z.ZodUUID;
|
|
9912
|
-
operatorId: z.ZodString;
|
|
9913
|
-
source: z.ZodObject<{
|
|
9914
|
-
kind: z.ZodEnum<{
|
|
9915
|
-
"user-action": "user-action";
|
|
9916
|
-
"user-message": "user-message";
|
|
9917
|
-
}>;
|
|
9918
|
-
reference: z.ZodString;
|
|
9919
|
-
}, z.core.$strict>;
|
|
9920
|
-
}, z.core.$strict>;
|
|
9921
|
-
milestoneId: z.ZodNullable<z.ZodUUID>;
|
|
9922
|
-
revision: z.ZodObject<{
|
|
9923
|
-
planDigest: z.ZodString;
|
|
9924
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9925
|
-
}, z.core.$strict>;
|
|
9926
|
-
contractDigest: z.ZodString;
|
|
9927
|
-
title: z.ZodString;
|
|
9928
|
-
contract: z.ZodString;
|
|
9929
|
-
sharedDigest: z.ZodNullable<z.ZodString>;
|
|
9930
|
-
checkouts: z.ZodArray<z.ZodObject<{
|
|
9931
|
-
repository: z.ZodString;
|
|
9932
|
-
directory: z.ZodString;
|
|
9933
|
-
claimReference: z.ZodString;
|
|
9934
|
-
paths: z.ZodArray<z.ZodString>;
|
|
9935
|
-
branch: z.ZodNullable<z.ZodString>;
|
|
9936
|
-
head: z.ZodString;
|
|
9937
|
-
fingerprint: z.ZodString;
|
|
9938
|
-
}, z.core.$strict>>;
|
|
9939
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
9940
|
-
command: z.ZodString;
|
|
9941
|
-
outcome: z.ZodLiteral<"passed">;
|
|
9942
|
-
reference: z.ZodString;
|
|
9943
|
-
}, z.core.$strict>>;
|
|
9944
|
-
completedAt: z.ZodNumber;
|
|
9945
|
-
reopenActionId: z.ZodNullable<z.ZodUUID>;
|
|
9946
|
-
}, z.core.$strict>;
|
|
9947
|
-
}, z.core.$strip>, z.ZodObject<{
|
|
9948
|
-
kind: z.ZodLiteral<"correspondence">;
|
|
9949
|
-
entry: z.ZodObject<{
|
|
9950
|
-
id: z.ZodUUID;
|
|
9951
|
-
action: z.ZodObject<{
|
|
9952
|
-
id: z.ZodUUID;
|
|
9953
|
-
operatorId: z.ZodString;
|
|
9954
|
-
source: z.ZodObject<{
|
|
9955
|
-
kind: z.ZodEnum<{
|
|
9956
|
-
"user-action": "user-action";
|
|
9957
|
-
"user-message": "user-message";
|
|
9958
|
-
}>;
|
|
9959
|
-
reference: z.ZodString;
|
|
9960
|
-
}, z.core.$strict>;
|
|
9961
|
-
}, z.core.$strict>;
|
|
9962
|
-
revision: z.ZodObject<{
|
|
9963
|
-
planDigest: z.ZodString;
|
|
9964
|
-
breakdownDigest: z.ZodNullable<z.ZodString>;
|
|
9965
|
-
}, z.core.$strict>;
|
|
9966
|
-
relation: z.ZodEnum<{
|
|
9967
|
-
equivalent: "equivalent";
|
|
9968
|
-
"requirements-changed": "requirements-changed";
|
|
9969
|
-
omitted: "omitted";
|
|
9970
|
-
reopened: "reopened";
|
|
9971
|
-
}>;
|
|
9972
|
-
targets: z.ZodArray<z.ZodObject<{
|
|
9973
|
-
id: z.ZodUUID;
|
|
9974
|
-
contractDigest: z.ZodString;
|
|
9975
|
-
status: z.ZodEnum<{
|
|
9976
|
-
pending: "pending";
|
|
9977
|
-
"in progress": "in progress";
|
|
9978
|
-
done: "done";
|
|
9979
|
-
}>;
|
|
9980
|
-
}, z.core.$strict>>;
|
|
9981
|
-
invalidatedReceiptIds: z.ZodArray<z.ZodUUID>;
|
|
9982
|
-
recordedAt: z.ZodNumber;
|
|
9983
|
-
sources: z.ZodArray<z.ZodObject<{
|
|
9984
|
-
id: z.ZodUUID;
|
|
9985
|
-
status: z.ZodEnum<{
|
|
9986
|
-
pending: "pending";
|
|
9987
|
-
"in progress": "in progress";
|
|
9988
|
-
done: "done";
|
|
9989
|
-
}>;
|
|
9990
|
-
contractDigest: z.ZodString;
|
|
9991
|
-
}, z.core.$strip>>;
|
|
9992
|
-
}, z.core.$strict>;
|
|
9993
|
-
}, z.core.$strip>], "kind">>;
|
|
9994
|
-
nextCursor: z.ZodNullable<z.ZodString>;
|
|
9348
|
+
directory: z.ZodString;
|
|
9995
9349
|
}, z.core.$strip>;
|
|
9996
9350
|
}, z.core.$strip>, z.ZodObject<{
|
|
9997
9351
|
kind: z.ZodLiteral<"finalized">;
|
|
@@ -10162,8 +9516,13 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10162
9516
|
closeActionId: z.ZodUUID;
|
|
10163
9517
|
}, z.core.$strict>>;
|
|
10164
9518
|
}, z.core.$strict>>;
|
|
10165
|
-
comparisonCount: z.ZodNumber;
|
|
10166
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>>;
|
|
10167
9526
|
revision: z.ZodNullable<z.ZodObject<{
|
|
10168
9527
|
createdAt: z.ZodNumber;
|
|
10169
9528
|
reason: z.ZodNullable<z.ZodString>;
|
|
@@ -10189,7 +9548,6 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10189
9548
|
phase: z.ZodEnum<{
|
|
10190
9549
|
quiescing: "quiescing";
|
|
10191
9550
|
editing: "editing";
|
|
10192
|
-
reconciling: "reconciling";
|
|
10193
9551
|
"awaiting-approval": "awaiting-approval";
|
|
10194
9552
|
blocked: "blocked";
|
|
10195
9553
|
finished: "finished";
|
|
@@ -10213,9 +9571,6 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
10213
9571
|
}, z.core.$strict>>;
|
|
10214
9572
|
hasUncertainEffects: z.ZodBoolean;
|
|
10215
9573
|
hasCheckpoint: z.ZodBoolean;
|
|
10216
|
-
hasProposal: z.ZodBoolean;
|
|
10217
|
-
proposalId: z.ZodNullable<z.ZodUUID>;
|
|
10218
|
-
unmatchedCount: z.ZodNumber;
|
|
10219
9574
|
}, z.core.$strict>>;
|
|
10220
9575
|
}, z.core.$strict>;
|
|
10221
9576
|
}, z.core.$strip>;
|
|
@@ -12553,10 +11908,18 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12553
11908
|
notLoaded: "notLoaded";
|
|
12554
11909
|
systemError: "systemError";
|
|
12555
11910
|
}>;
|
|
11911
|
+
state: z.ZodEnum<{
|
|
11912
|
+
unknown: "unknown";
|
|
11913
|
+
idle: "idle";
|
|
11914
|
+
failed: "failed";
|
|
11915
|
+
running: "running";
|
|
11916
|
+
waiting: "waiting";
|
|
11917
|
+
closed: "closed";
|
|
11918
|
+
}>;
|
|
12556
11919
|
ownership: z.ZodEnum<{
|
|
12557
11920
|
external: "external";
|
|
12558
|
-
uncertain: "uncertain";
|
|
12559
11921
|
managed: "managed";
|
|
11922
|
+
uncertain: "uncertain";
|
|
12560
11923
|
}>;
|
|
12561
11924
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
12562
11925
|
historyState: z.ZodEnum<{
|
|
@@ -12586,10 +11949,18 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12586
11949
|
notLoaded: "notLoaded";
|
|
12587
11950
|
systemError: "systemError";
|
|
12588
11951
|
}>;
|
|
11952
|
+
state: z.ZodEnum<{
|
|
11953
|
+
unknown: "unknown";
|
|
11954
|
+
idle: "idle";
|
|
11955
|
+
failed: "failed";
|
|
11956
|
+
running: "running";
|
|
11957
|
+
waiting: "waiting";
|
|
11958
|
+
closed: "closed";
|
|
11959
|
+
}>;
|
|
12589
11960
|
ownership: z.ZodEnum<{
|
|
12590
11961
|
external: "external";
|
|
12591
|
-
uncertain: "uncertain";
|
|
12592
11962
|
managed: "managed";
|
|
11963
|
+
uncertain: "uncertain";
|
|
12593
11964
|
}>;
|
|
12594
11965
|
managedId: z.ZodNullable<z.ZodUUID>;
|
|
12595
11966
|
historyState: z.ZodEnum<{
|
|
@@ -12817,10 +12188,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12817
12188
|
delivery: z.ZodEnum<{
|
|
12818
12189
|
failed: "failed";
|
|
12819
12190
|
canceled: "canceled";
|
|
12191
|
+
uncertain: "uncertain";
|
|
12820
12192
|
queued: "queued";
|
|
12821
12193
|
submitted: "submitted";
|
|
12822
12194
|
acknowledged: "acknowledged";
|
|
12823
|
-
uncertain: "uncertain";
|
|
12824
12195
|
}>;
|
|
12825
12196
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
12826
12197
|
completed: "completed";
|
|
@@ -12962,10 +12333,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
12962
12333
|
delivery: z.ZodEnum<{
|
|
12963
12334
|
failed: "failed";
|
|
12964
12335
|
canceled: "canceled";
|
|
12336
|
+
uncertain: "uncertain";
|
|
12965
12337
|
queued: "queued";
|
|
12966
12338
|
submitted: "submitted";
|
|
12967
12339
|
acknowledged: "acknowledged";
|
|
12968
|
-
uncertain: "uncertain";
|
|
12969
12340
|
}>;
|
|
12970
12341
|
completion: z.ZodNullable<z.ZodEnum<{
|
|
12971
12342
|
completed: "completed";
|
|
@@ -13077,8 +12448,8 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13077
12448
|
name: z.ZodString;
|
|
13078
12449
|
workspaceRoot: z.ZodString;
|
|
13079
12450
|
ownership: z.ZodEnum<{
|
|
13080
|
-
uncertain: "uncertain";
|
|
13081
12451
|
managed: "managed";
|
|
12452
|
+
uncertain: "uncertain";
|
|
13082
12453
|
}>;
|
|
13083
12454
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
13084
12455
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -13089,10 +12460,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13089
12460
|
failed: "failed";
|
|
13090
12461
|
interrupted: "interrupted";
|
|
13091
12462
|
"waiting-input": "waiting-input";
|
|
12463
|
+
running: "running";
|
|
13092
12464
|
creating: "creating";
|
|
13093
12465
|
inactive: "inactive";
|
|
13094
12466
|
starting: "starting";
|
|
13095
|
-
running: "running";
|
|
13096
12467
|
"waiting-approval": "waiting-approval";
|
|
13097
12468
|
stopping: "stopping";
|
|
13098
12469
|
}>;
|
|
@@ -13117,8 +12488,8 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13117
12488
|
name: z.ZodString;
|
|
13118
12489
|
workspaceRoot: z.ZodString;
|
|
13119
12490
|
ownership: z.ZodEnum<{
|
|
13120
|
-
uncertain: "uncertain";
|
|
13121
12491
|
managed: "managed";
|
|
12492
|
+
uncertain: "uncertain";
|
|
13122
12493
|
}>;
|
|
13123
12494
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
13124
12495
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -13129,10 +12500,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13129
12500
|
failed: "failed";
|
|
13130
12501
|
interrupted: "interrupted";
|
|
13131
12502
|
"waiting-input": "waiting-input";
|
|
12503
|
+
running: "running";
|
|
13132
12504
|
creating: "creating";
|
|
13133
12505
|
inactive: "inactive";
|
|
13134
12506
|
starting: "starting";
|
|
13135
|
-
running: "running";
|
|
13136
12507
|
"waiting-approval": "waiting-approval";
|
|
13137
12508
|
stopping: "stopping";
|
|
13138
12509
|
}>;
|
|
@@ -13155,8 +12526,8 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13155
12526
|
name: z.ZodString;
|
|
13156
12527
|
workspaceRoot: z.ZodString;
|
|
13157
12528
|
ownership: z.ZodEnum<{
|
|
13158
|
-
uncertain: "uncertain";
|
|
13159
12529
|
managed: "managed";
|
|
12530
|
+
uncertain: "uncertain";
|
|
13160
12531
|
}>;
|
|
13161
12532
|
runtimeEpoch: z.ZodNullable<z.ZodUUID>;
|
|
13162
12533
|
activeTurnId: z.ZodNullable<z.ZodString>;
|
|
@@ -13167,10 +12538,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13167
12538
|
failed: "failed";
|
|
13168
12539
|
interrupted: "interrupted";
|
|
13169
12540
|
"waiting-input": "waiting-input";
|
|
12541
|
+
running: "running";
|
|
13170
12542
|
creating: "creating";
|
|
13171
12543
|
inactive: "inactive";
|
|
13172
12544
|
starting: "starting";
|
|
13173
|
-
running: "running";
|
|
13174
12545
|
"waiting-approval": "waiting-approval";
|
|
13175
12546
|
stopping: "stopping";
|
|
13176
12547
|
}>;
|
|
@@ -13236,10 +12607,10 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13236
12607
|
delivery: z.ZodEnum<{
|
|
13237
12608
|
failed: "failed";
|
|
13238
12609
|
canceled: "canceled";
|
|
12610
|
+
uncertain: "uncertain";
|
|
13239
12611
|
queued: "queued";
|
|
13240
12612
|
submitted: "submitted";
|
|
13241
12613
|
acknowledged: "acknowledged";
|
|
13242
|
-
uncertain: "uncertain";
|
|
13243
12614
|
}>;
|
|
13244
12615
|
digest: z.ZodString;
|
|
13245
12616
|
controlState: z.ZodNullable<z.ZodEnum<{
|
|
@@ -13414,6 +12785,49 @@ export declare const IpcResponseSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
13414
12785
|
}, z.core.$strip>>;
|
|
13415
12786
|
hasGap: z.ZodBoolean;
|
|
13416
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>;
|
|
13417
12831
|
}, z.core.$strip>], "kind">;
|
|
13418
12832
|
}, z.core.$strip>, z.ZodObject<{
|
|
13419
12833
|
schemaVersion: z.ZodLiteral<1>;
|