@intentic/sandbox-contract 1.288.0 → 1.291.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/README.md +4 -1
- package/dist/contracts/agent.contract.d.ts +54 -12
- package/dist/contracts/agent.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.d.ts +14 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/agents.contract.js +4 -4
- package/dist/contracts/agents.contract.js.map +1 -1
- package/dist/contracts/diff.contract.d.ts +49 -0
- package/dist/contracts/diff.contract.d.ts.map +1 -0
- package/dist/contracts/diff.contract.js +14 -0
- package/dist/contracts/diff.contract.js.map +1 -0
- package/dist/contracts/extensions.contract.d.ts +1 -0
- package/dist/contracts/extensions.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +95 -95
- package/dist/contracts/sessions.contract.d.ts +13 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +58 -30
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/contracts/usage.contract.d.ts +15 -0
- package/dist/contracts/usage.contract.d.ts.map +1 -1
- package/dist/contracts/usage.contract.js +12 -2
- package/dist/contracts/usage.contract.js.map +1 -1
- package/dist/events/agent-events.d.ts +39 -0
- package/dist/events/agent-events.d.ts.map +1 -1
- package/dist/events/transcript.d.ts +95 -0
- package/dist/events/transcript.d.ts.map +1 -1
- package/dist/events/transcript.js +16 -2
- package/dist/events/transcript.js.map +1 -1
- package/dist/events/verify-nudge.d.ts +4 -0
- package/dist/events/verify-nudge.d.ts.map +1 -0
- package/dist/events/verify-nudge.js +4 -0
- package/dist/events/verify-nudge.js.map +1 -0
- package/dist/events/watch-wake.d.ts +14 -0
- package/dist/events/watch-wake.d.ts.map +1 -0
- package/dist/events/watch-wake.js +42 -0
- package/dist/events/watch-wake.js.map +1 -0
- package/dist/index.d.ts +168 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +7 -1
- package/dist/index.js.map +1 -1
- package/dist/models/agent-catalog.d.ts +1 -0
- package/dist/models/agent-catalog.d.ts.map +1 -1
- package/dist/models/agent-catalog.js +1 -0
- package/dist/models/agent-catalog.js.map +1 -1
- package/dist/models/agent-runtimes.d.ts.map +1 -1
- package/dist/models/agent-runtimes.js +2 -2
- package/dist/models/agent-runtimes.js.map +1 -1
- package/dist/models/plan-pools.d.ts +13 -0
- package/dist/models/plan-pools.d.ts.map +1 -1
- package/dist/models/plan-pools.js +43 -0
- package/dist/models/plan-pools.js.map +1 -1
- package/dist/schemas/agents.d.ts +4 -0
- package/dist/schemas/agents.d.ts.map +1 -1
- package/dist/schemas/agents.js +3 -0
- package/dist/schemas/agents.js.map +1 -1
- package/dist/schemas/devices.d.ts +21 -0
- package/dist/schemas/devices.d.ts.map +1 -1
- package/dist/schemas/devices.js +7 -1
- package/dist/schemas/devices.js.map +1 -1
- package/dist/schemas/diff.d.ts +62 -0
- package/dist/schemas/diff.d.ts.map +1 -0
- package/dist/schemas/diff.js +59 -0
- package/dist/schemas/diff.js.map +1 -0
- package/dist/schemas/extension-updates.d.ts +2 -0
- package/dist/schemas/extension-updates.d.ts.map +1 -1
- package/dist/schemas/terminal.d.ts +22 -0
- package/dist/schemas/terminal.d.ts.map +1 -1
- package/dist/schemas/terminal.js +9 -0
- package/dist/schemas/terminal.js.map +1 -1
- package/dist/state/history-state.d.ts.map +1 -1
- package/dist/state/history-state.js +1 -0
- package/dist/state/history-state.js.map +1 -1
- package/dist/text/transcript-fold.d.ts +1 -0
- package/dist/text/transcript-fold.d.ts.map +1 -1
- package/dist/text/transcript-fold.js +17 -10
- package/dist/text/transcript-fold.js.map +1 -1
- package/package.json +5 -5
- package/src/contracts/agents.contract.ts +4 -3
- package/src/contracts/diff.contract.ts +17 -0
- package/src/contracts/usage.contract.ts +19 -2
- package/src/events/transcript.ts +25 -2
- package/src/events/verify-nudge.ts +14 -0
- package/src/events/watch-wake.test.ts +67 -0
- package/src/events/watch-wake.ts +78 -0
- package/src/index.ts +7 -1
- package/src/models/agent-catalog.test.ts +6 -2
- package/src/models/agent-catalog.ts +5 -0
- package/src/models/agent-runtimes.ts +7 -4
- package/src/models/plan-pools.test.ts +40 -1
- package/src/models/plan-pools.ts +69 -0
- package/src/schemas/agents.ts +6 -0
- package/src/schemas/devices.ts +20 -1
- package/src/schemas/diff.ts +72 -0
- package/src/schemas/terminal.ts +11 -0
- package/src/state/history-state.ts +3 -0
- package/src/text/transcript-fold.test.ts +21 -0
- package/src/text/transcript-fold.ts +23 -11
|
@@ -54,6 +54,19 @@ export declare const systemContract: {
|
|
|
54
54
|
events: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
55
55
|
clientId: z.ZodOptional<z.ZodString>;
|
|
56
56
|
}, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
|
|
57
|
+
kind: "heartbeat";
|
|
58
|
+
rev: number;
|
|
59
|
+
} | {
|
|
60
|
+
ready: boolean;
|
|
61
|
+
startedAt: number;
|
|
62
|
+
steps: {
|
|
63
|
+
key: string;
|
|
64
|
+
label: string;
|
|
65
|
+
state: "done" | "failed" | "pending" | "running";
|
|
66
|
+
ms?: number | undefined;
|
|
67
|
+
}[];
|
|
68
|
+
kind: "boot";
|
|
69
|
+
} | {
|
|
57
70
|
kind: "hello";
|
|
58
71
|
workspaceId: string;
|
|
59
72
|
routes?: string[] | undefined;
|
|
@@ -70,18 +83,8 @@ export declare const systemContract: {
|
|
|
70
83
|
}[];
|
|
71
84
|
} | undefined;
|
|
72
85
|
} | {
|
|
73
|
-
kind: "
|
|
74
|
-
|
|
75
|
-
} | {
|
|
76
|
-
ready: boolean;
|
|
77
|
-
startedAt: number;
|
|
78
|
-
steps: {
|
|
79
|
-
key: string;
|
|
80
|
-
label: string;
|
|
81
|
-
state: "done" | "failed" | "pending" | "running";
|
|
82
|
-
ms?: number | undefined;
|
|
83
|
-
}[];
|
|
84
|
-
kind: "boot";
|
|
86
|
+
kind: "reposChanged";
|
|
87
|
+
repos: string[];
|
|
85
88
|
} | {
|
|
86
89
|
kind: "workspaceChanged";
|
|
87
90
|
paths: string[];
|
|
@@ -97,9 +100,6 @@ export declare const systemContract: {
|
|
|
97
100
|
shadows?: number | undefined;
|
|
98
101
|
sweptAt?: string | undefined;
|
|
99
102
|
};
|
|
100
|
-
} | {
|
|
101
|
-
kind: "reposChanged";
|
|
102
|
-
repos: string[];
|
|
103
103
|
} | {
|
|
104
104
|
kind: "refsChanged";
|
|
105
105
|
repos: string[];
|
|
@@ -290,6 +290,19 @@ export declare const systemContract: {
|
|
|
290
290
|
model?: string | undefined;
|
|
291
291
|
} | undefined;
|
|
292
292
|
}, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
|
|
293
|
+
kind: "heartbeat";
|
|
294
|
+
rev: number;
|
|
295
|
+
} | {
|
|
296
|
+
ready: boolean;
|
|
297
|
+
startedAt: number;
|
|
298
|
+
steps: {
|
|
299
|
+
key: string;
|
|
300
|
+
label: string;
|
|
301
|
+
state: "done" | "failed" | "pending" | "running";
|
|
302
|
+
ms?: number | undefined;
|
|
303
|
+
}[];
|
|
304
|
+
kind: "boot";
|
|
305
|
+
} | {
|
|
293
306
|
kind: "hello";
|
|
294
307
|
workspaceId: string;
|
|
295
308
|
routes?: string[] | undefined;
|
|
@@ -306,18 +319,8 @@ export declare const systemContract: {
|
|
|
306
319
|
}[];
|
|
307
320
|
} | undefined;
|
|
308
321
|
} | {
|
|
309
|
-
kind: "
|
|
310
|
-
|
|
311
|
-
} | {
|
|
312
|
-
ready: boolean;
|
|
313
|
-
startedAt: number;
|
|
314
|
-
steps: {
|
|
315
|
-
key: string;
|
|
316
|
-
label: string;
|
|
317
|
-
state: "done" | "failed" | "pending" | "running";
|
|
318
|
-
ms?: number | undefined;
|
|
319
|
-
}[];
|
|
320
|
-
kind: "boot";
|
|
322
|
+
kind: "reposChanged";
|
|
323
|
+
repos: string[];
|
|
321
324
|
} | {
|
|
322
325
|
kind: "workspaceChanged";
|
|
323
326
|
paths: string[];
|
|
@@ -333,9 +336,6 @@ export declare const systemContract: {
|
|
|
333
336
|
shadows?: number | undefined;
|
|
334
337
|
sweptAt?: string | undefined;
|
|
335
338
|
};
|
|
336
|
-
} | {
|
|
337
|
-
kind: "reposChanged";
|
|
338
|
-
repos: string[];
|
|
339
339
|
} | {
|
|
340
340
|
kind: "refsChanged";
|
|
341
341
|
repos: string[];
|
|
@@ -598,6 +598,17 @@ export declare const systemContract: {
|
|
|
598
598
|
message: z.ZodString;
|
|
599
599
|
requestedAt: z.ZodNumber;
|
|
600
600
|
}, z.core.$strip>>;
|
|
601
|
+
dialog: z.ZodOptional<z.ZodObject<{
|
|
602
|
+
pageId: z.ZodString;
|
|
603
|
+
kind: z.ZodEnum<{
|
|
604
|
+
alert: "alert";
|
|
605
|
+
beforeunload: "beforeunload";
|
|
606
|
+
confirm: "confirm";
|
|
607
|
+
prompt: "prompt";
|
|
608
|
+
}>;
|
|
609
|
+
message: z.ZodString;
|
|
610
|
+
defaultValue: z.ZodOptional<z.ZodString>;
|
|
611
|
+
}, z.core.$strip>>;
|
|
601
612
|
pages: z.ZodArray<z.ZodObject<{
|
|
602
613
|
id: z.ZodString;
|
|
603
614
|
title: z.ZodOptional<z.ZodString>;
|
|
@@ -696,11 +707,14 @@ export declare const systemContract: {
|
|
|
696
707
|
landHold: "landHold";
|
|
697
708
|
outageOptOut: "outageOptOut";
|
|
698
709
|
tierHold: "tierHold";
|
|
710
|
+
watchStop: "watchStop";
|
|
699
711
|
}>>;
|
|
700
712
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
701
713
|
credentialRenewal: "credentialRenewal";
|
|
702
714
|
personaRoute: "personaRoute";
|
|
715
|
+
watch: "watch";
|
|
703
716
|
}>>;
|
|
717
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
704
718
|
plan: z.ZodOptional<z.ZodObject<{
|
|
705
719
|
requestId: z.ZodString;
|
|
706
720
|
text: z.ZodString;
|
|
@@ -848,6 +862,16 @@ export declare const systemContract: {
|
|
|
848
862
|
network: z.ZodOptional<z.ZodString>;
|
|
849
863
|
}, z.core.$strip>>;
|
|
850
864
|
}, z.core.$strip>>;
|
|
865
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
866
|
+
outcome: z.ZodEnum<{
|
|
867
|
+
met: "met";
|
|
868
|
+
"restart-expired": "restart-expired";
|
|
869
|
+
timeout: "timeout";
|
|
870
|
+
}>;
|
|
871
|
+
note: z.ZodString;
|
|
872
|
+
elapsed: z.ZodString;
|
|
873
|
+
sent: z.ZodString;
|
|
874
|
+
}, z.core.$strip>>;
|
|
851
875
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
852
876
|
requestId: z.ZodString;
|
|
853
877
|
offer: z.ZodObject<{
|
|
@@ -971,6 +995,7 @@ export declare const systemContract: {
|
|
|
971
995
|
state: z.ZodEnum<{
|
|
972
996
|
busy: "busy";
|
|
973
997
|
"held-by-sandbox": "held-by-sandbox";
|
|
998
|
+
ignored: "ignored";
|
|
974
999
|
mirrored: "mirrored";
|
|
975
1000
|
}>;
|
|
976
1001
|
heldBy: z.ZodOptional<z.ZodString>;
|
|
@@ -1065,8 +1090,10 @@ export declare const systemContract: {
|
|
|
1065
1090
|
"dev-rebuild": "dev-rebuild";
|
|
1066
1091
|
"dev-rebuild-log": "dev-rebuild-log";
|
|
1067
1092
|
"dev-reload": "dev-reload";
|
|
1093
|
+
"mirror-ignore": "mirror-ignore";
|
|
1068
1094
|
"mirror-off": "mirror-off";
|
|
1069
1095
|
"mirror-on": "mirror-on";
|
|
1096
|
+
"mirror-unignore": "mirror-unignore";
|
|
1070
1097
|
"sync-clean": "sync-clean";
|
|
1071
1098
|
"sync-install": "sync-install";
|
|
1072
1099
|
"sync-pause": "sync-pause";
|
|
@@ -1079,6 +1106,7 @@ export declare const systemContract: {
|
|
|
1079
1106
|
sync: "sync";
|
|
1080
1107
|
}>>;
|
|
1081
1108
|
localDir: z.ZodOptional<z.ZodString>;
|
|
1109
|
+
port: z.ZodOptional<z.ZodNumber>;
|
|
1082
1110
|
}, z.core.$strip>, z.ZodObject<{
|
|
1083
1111
|
ok: z.ZodBoolean;
|
|
1084
1112
|
message: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"system.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/system.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AA6BxB,eAAO,MAAM,cAAc;IACvB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;IAUJ,gBAAgB;;;;;;;;;;;;;IAUhB,cAAc;;;;;;;IAWd,OAAO;;;;;IASP,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWN,QAAQ;;;;;;;;;IAWR,KAAK;;;;;;;;;;;;IASL,SAAS;;;;;;;;;;;;;;;;;;;;;;;;IAST,YAAY;;;;;IAUZ,kBAAkB;;;;;;;;;IAWlB,QAAQ
|
|
1
|
+
{"version":3,"file":"system.contract.d.ts","sourceRoot":"","sources":["../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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAalB,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWnB,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAWhB,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;CAUrB,CAAC"}
|
|
@@ -2,6 +2,16 @@ import { z } from "zod";
|
|
|
2
2
|
export declare const RefreshPlanLimitsSchema: z.ZodObject<{
|
|
3
3
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
4
4
|
}, z.core.$strip>;
|
|
5
|
+
export declare const PlanLimitsRefreshedSchema: z.ZodObject<{
|
|
6
|
+
ok: z.ZodLiteral<true>;
|
|
7
|
+
held: z.ZodArray<z.ZodObject<{
|
|
8
|
+
provider: z.ZodString;
|
|
9
|
+
account: z.ZodString;
|
|
10
|
+
resumesAt: z.ZodNumber;
|
|
11
|
+
}, z.core.$strip>>;
|
|
12
|
+
}, z.core.$strip>;
|
|
13
|
+
export type PlanLimitsRefreshed = z.infer<typeof PlanLimitsRefreshedSchema>;
|
|
14
|
+
export type PlanLimitsHeld = PlanLimitsRefreshed["held"][number];
|
|
5
15
|
export declare const usageContract: {
|
|
6
16
|
rollup: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
7
17
|
from: z.ZodOptional<z.ZodString>;
|
|
@@ -27,6 +37,11 @@ export declare const usageContract: {
|
|
|
27
37
|
force: z.ZodDefault<z.ZodBoolean>;
|
|
28
38
|
}, z.core.$strip>, z.ZodObject<{
|
|
29
39
|
ok: z.ZodLiteral<true>;
|
|
40
|
+
held: z.ZodArray<z.ZodObject<{
|
|
41
|
+
provider: z.ZodString;
|
|
42
|
+
account: z.ZodString;
|
|
43
|
+
resumesAt: z.ZodNumber;
|
|
44
|
+
}, z.core.$strip>>;
|
|
30
45
|
}, z.core.$strip>, Record<never, never>, Record<never, never>>;
|
|
31
46
|
limitReset: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
|
|
32
47
|
account: z.ZodString;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/usage.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAIH,eAAO,MAAM,aAAa;IACtB,MAAM;;;;;;;;;;;;;;;;;;;;IAWN,iBAAiB
|
|
1
|
+
{"version":3,"file":"usage.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/usage.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAKxB,eAAO,MAAM,uBAAuB;;iBAElC,CAAC;AAIH,eAAO,MAAM,yBAAyB;;;;;;;iBAWpC,CAAC;AACH,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,yBAAyB,CAAC,CAAC;AAC5E,MAAM,MAAM,cAAc,GAAG,mBAAmB,CAAC,MAAM,CAAC,CAAC,MAAM,CAAC,CAAC;AAIjE,eAAO,MAAM,aAAa;IACtB,MAAM;;;;;;;;;;;;;;;;;;;;IAWN,iBAAiB;;;;;;;;;;IAajB,UAAU;;;;;;;;IAUV,eAAe;;;;;;;;;;;;;;CAUlB,CAAC"}
|
|
@@ -5,6 +5,16 @@ import { DayWindowQuerySchema, UsageRollupSchema } from "../schemas/providers/us
|
|
|
5
5
|
export const RefreshPlanLimitsSchema = z.object({
|
|
6
6
|
force: z.boolean().default(false).describe("Measure again even if a reading was taken a moment ago."),
|
|
7
7
|
});
|
|
8
|
+
export const PlanLimitsRefreshedSchema = z.object({
|
|
9
|
+
ok: z.literal(true),
|
|
10
|
+
held: z
|
|
11
|
+
.array(z.object({
|
|
12
|
+
provider: z.string().describe("Which provider is holding the read off."),
|
|
13
|
+
account: z.string().describe("The account as its provider's list names it: an account id, or a routed auth file's name."),
|
|
14
|
+
resumesAt: z.number().describe("Unix seconds: when this account may be read again, the provider's own retry-after."),
|
|
15
|
+
}))
|
|
16
|
+
.describe("Accounts whose plan limits could not be read now because the provider is rate-limiting them."),
|
|
17
|
+
});
|
|
8
18
|
export const usageContract = {
|
|
9
19
|
rollup: oc
|
|
10
20
|
.route({
|
|
@@ -20,10 +30,10 @@ export const usageContract = {
|
|
|
20
30
|
method: "POST",
|
|
21
31
|
path: "/usage/plan-limits/refresh",
|
|
22
32
|
summary: "Measure every account's plan limits again",
|
|
23
|
-
description: "Reads how full each connected account's plan limits are, for every provider, and records it. Forced, it measures even accounts read a moment ago, which is the right thing when a plan was just changed and the question is whether the number on screen is still true.",
|
|
33
|
+
description: "Reads how full each connected account's plan limits are, for every provider, and records it. Forced, it measures even accounts read a moment ago, which is the right thing when a plan was just changed and the question is whether the number on screen is still true. Answers with the accounts it could not read because the provider is rate-limiting them, and when each may be asked again: those keep the reading they already had, so a number that does not move is explained rather than silent.",
|
|
24
34
|
})
|
|
25
35
|
.input(RefreshPlanLimitsSchema)
|
|
26
|
-
.output(
|
|
36
|
+
.output(PlanLimitsRefreshedSchema),
|
|
27
37
|
limitReset: oc
|
|
28
38
|
.route({
|
|
29
39
|
method: "GET",
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.contract.js","sourceRoot":"","sources":["../../src/contracts/usage.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,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AAgB,CAAC,EAAE,CAAC,CAAC;SAC1E,MAAM,CAAC,sBAAsB,CAAC;IACnC,eAAe,EAAE,EAAE;SACd,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,oCAAoC;QAC1C,OAAO,EAAE,0CAA0C;QACnD,WAAW,EACP,sQAAsQ;KAC7Q,CAAC;SACD,KAAK,CAAC,CAAC,CAAC,MAAM,CAAC,EAAE,OAAO,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,QAAQ,CAAC,gBAAgB,CAAC,EAAE,CAAC,CAAC;SAC1E,MAAM,CAAC,qBAAqB,CAAC;CACrC,CAAC"}
|
|
@@ -554,11 +554,14 @@ export declare const AttachFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
554
554
|
landHold: "landHold";
|
|
555
555
|
outageOptOut: "outageOptOut";
|
|
556
556
|
tierHold: "tierHold";
|
|
557
|
+
watchStop: "watchStop";
|
|
557
558
|
}>>;
|
|
558
559
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
559
560
|
credentialRenewal: "credentialRenewal";
|
|
560
561
|
personaRoute: "personaRoute";
|
|
562
|
+
watch: "watch";
|
|
561
563
|
}>>;
|
|
564
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
562
565
|
plan: z.ZodOptional<z.ZodObject<{
|
|
563
566
|
requestId: z.ZodString;
|
|
564
567
|
text: z.ZodString;
|
|
@@ -706,6 +709,16 @@ export declare const AttachFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
706
709
|
network: z.ZodOptional<z.ZodString>;
|
|
707
710
|
}, z.core.$strip>>;
|
|
708
711
|
}, z.core.$strip>>;
|
|
712
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
713
|
+
outcome: z.ZodEnum<{
|
|
714
|
+
met: "met";
|
|
715
|
+
"restart-expired": "restart-expired";
|
|
716
|
+
timeout: "timeout";
|
|
717
|
+
}>;
|
|
718
|
+
note: z.ZodString;
|
|
719
|
+
elapsed: z.ZodString;
|
|
720
|
+
sent: z.ZodString;
|
|
721
|
+
}, z.core.$strip>>;
|
|
709
722
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
710
723
|
requestId: z.ZodString;
|
|
711
724
|
offer: z.ZodObject<{
|
|
@@ -788,11 +801,14 @@ export declare const AttachFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
788
801
|
landHold: "landHold";
|
|
789
802
|
outageOptOut: "outageOptOut";
|
|
790
803
|
tierHold: "tierHold";
|
|
804
|
+
watchStop: "watchStop";
|
|
791
805
|
}>>;
|
|
792
806
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
793
807
|
credentialRenewal: "credentialRenewal";
|
|
794
808
|
personaRoute: "personaRoute";
|
|
809
|
+
watch: "watch";
|
|
795
810
|
}>>;
|
|
811
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
796
812
|
plan: z.ZodOptional<z.ZodObject<{
|
|
797
813
|
requestId: z.ZodString;
|
|
798
814
|
text: z.ZodString;
|
|
@@ -940,6 +956,16 @@ export declare const AttachFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
940
956
|
network: z.ZodOptional<z.ZodString>;
|
|
941
957
|
}, z.core.$strip>>;
|
|
942
958
|
}, z.core.$strip>>;
|
|
959
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
960
|
+
outcome: z.ZodEnum<{
|
|
961
|
+
met: "met";
|
|
962
|
+
"restart-expired": "restart-expired";
|
|
963
|
+
timeout: "timeout";
|
|
964
|
+
}>;
|
|
965
|
+
note: z.ZodString;
|
|
966
|
+
elapsed: z.ZodString;
|
|
967
|
+
sent: z.ZodString;
|
|
968
|
+
}, z.core.$strip>>;
|
|
943
969
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
944
970
|
requestId: z.ZodString;
|
|
945
971
|
offer: z.ZodObject<{
|
|
@@ -1020,11 +1046,14 @@ export declare const AttachFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1020
1046
|
landHold: "landHold";
|
|
1021
1047
|
outageOptOut: "outageOptOut";
|
|
1022
1048
|
tierHold: "tierHold";
|
|
1049
|
+
watchStop: "watchStop";
|
|
1023
1050
|
}>>;
|
|
1024
1051
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
1025
1052
|
credentialRenewal: "credentialRenewal";
|
|
1026
1053
|
personaRoute: "personaRoute";
|
|
1054
|
+
watch: "watch";
|
|
1027
1055
|
}>>;
|
|
1056
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
1028
1057
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1029
1058
|
requestId: z.ZodString;
|
|
1030
1059
|
text: z.ZodString;
|
|
@@ -1172,6 +1201,16 @@ export declare const AttachFrameSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
1172
1201
|
network: z.ZodOptional<z.ZodString>;
|
|
1173
1202
|
}, z.core.$strip>>;
|
|
1174
1203
|
}, z.core.$strip>>;
|
|
1204
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
1205
|
+
outcome: z.ZodEnum<{
|
|
1206
|
+
met: "met";
|
|
1207
|
+
"restart-expired": "restart-expired";
|
|
1208
|
+
timeout: "timeout";
|
|
1209
|
+
}>;
|
|
1210
|
+
note: z.ZodString;
|
|
1211
|
+
elapsed: z.ZodString;
|
|
1212
|
+
sent: z.ZodString;
|
|
1213
|
+
}, z.core.$strip>>;
|
|
1175
1214
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
1176
1215
|
requestId: z.ZodString;
|
|
1177
1216
|
offer: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-events.d.ts","sourceRoot":"","sources":["../../src/events/agent-events.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAexB,eAAO,MAA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ent?: TranscriptSubagent | undefined;
|
|
285
285
|
}
|
|
286
|
+
export declare const WatchOutcomeSchema: z.ZodEnum<{
|
|
287
|
+
met: "met";
|
|
288
|
+
"restart-expired": "restart-expired";
|
|
289
|
+
timeout: "timeout";
|
|
290
|
+
}>;
|
|
291
|
+
export type WatchOutcome = z.infer<typeof WatchOutcomeSchema>;
|
|
292
|
+
export declare const TranscriptWatchWakeSchema: z.ZodObject<{
|
|
293
|
+
outcome: z.ZodEnum<{
|
|
294
|
+
met: "met";
|
|
295
|
+
"restart-expired": "restart-expired";
|
|
296
|
+
timeout: "timeout";
|
|
297
|
+
}>;
|
|
298
|
+
note: z.ZodString;
|
|
299
|
+
elapsed: z.ZodString;
|
|
300
|
+
sent: z.ZodString;
|
|
301
|
+
}, z.core.$strip>;
|
|
302
|
+
export type TranscriptWatchWake = z.infer<typeof TranscriptWatchWakeSchema>;
|
|
286
303
|
export declare const TurnNoteSchema: z.ZodObject<{
|
|
287
304
|
title: z.ZodString;
|
|
288
305
|
text: z.ZodString;
|
|
@@ -335,11 +352,14 @@ export declare const TranscriptRowSchema: z.ZodObject<{
|
|
|
335
352
|
landHold: "landHold";
|
|
336
353
|
outageOptOut: "outageOptOut";
|
|
337
354
|
tierHold: "tierHold";
|
|
355
|
+
watchStop: "watchStop";
|
|
338
356
|
}>>;
|
|
339
357
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
340
358
|
credentialRenewal: "credentialRenewal";
|
|
341
359
|
personaRoute: "personaRoute";
|
|
360
|
+
watch: "watch";
|
|
342
361
|
}>>;
|
|
362
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
343
363
|
plan: z.ZodOptional<z.ZodObject<{
|
|
344
364
|
requestId: z.ZodString;
|
|
345
365
|
text: z.ZodString;
|
|
@@ -487,6 +507,16 @@ export declare const TranscriptRowSchema: z.ZodObject<{
|
|
|
487
507
|
network: z.ZodOptional<z.ZodString>;
|
|
488
508
|
}, z.core.$strip>>;
|
|
489
509
|
}, z.core.$strip>>;
|
|
510
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
511
|
+
outcome: z.ZodEnum<{
|
|
512
|
+
met: "met";
|
|
513
|
+
"restart-expired": "restart-expired";
|
|
514
|
+
timeout: "timeout";
|
|
515
|
+
}>;
|
|
516
|
+
note: z.ZodString;
|
|
517
|
+
elapsed: z.ZodString;
|
|
518
|
+
sent: z.ZodString;
|
|
519
|
+
}, z.core.$strip>>;
|
|
490
520
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
491
521
|
requestId: z.ZodString;
|
|
492
522
|
offer: z.ZodObject<{
|
|
@@ -572,11 +602,14 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
572
602
|
landHold: "landHold";
|
|
573
603
|
outageOptOut: "outageOptOut";
|
|
574
604
|
tierHold: "tierHold";
|
|
605
|
+
watchStop: "watchStop";
|
|
575
606
|
}>>;
|
|
576
607
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
577
608
|
credentialRenewal: "credentialRenewal";
|
|
578
609
|
personaRoute: "personaRoute";
|
|
610
|
+
watch: "watch";
|
|
579
611
|
}>>;
|
|
612
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
580
613
|
plan: z.ZodOptional<z.ZodObject<{
|
|
581
614
|
requestId: z.ZodString;
|
|
582
615
|
text: z.ZodString;
|
|
@@ -724,6 +757,16 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
724
757
|
network: z.ZodOptional<z.ZodString>;
|
|
725
758
|
}, z.core.$strip>>;
|
|
726
759
|
}, z.core.$strip>>;
|
|
760
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
761
|
+
outcome: z.ZodEnum<{
|
|
762
|
+
met: "met";
|
|
763
|
+
"restart-expired": "restart-expired";
|
|
764
|
+
timeout: "timeout";
|
|
765
|
+
}>;
|
|
766
|
+
note: z.ZodString;
|
|
767
|
+
elapsed: z.ZodString;
|
|
768
|
+
sent: z.ZodString;
|
|
769
|
+
}, z.core.$strip>>;
|
|
727
770
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
728
771
|
requestId: z.ZodString;
|
|
729
772
|
offer: z.ZodObject<{
|
|
@@ -804,11 +847,14 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
804
847
|
landHold: "landHold";
|
|
805
848
|
outageOptOut: "outageOptOut";
|
|
806
849
|
tierHold: "tierHold";
|
|
850
|
+
watchStop: "watchStop";
|
|
807
851
|
}>>;
|
|
808
852
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
809
853
|
credentialRenewal: "credentialRenewal";
|
|
810
854
|
personaRoute: "personaRoute";
|
|
855
|
+
watch: "watch";
|
|
811
856
|
}>>;
|
|
857
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
812
858
|
plan: z.ZodOptional<z.ZodObject<{
|
|
813
859
|
requestId: z.ZodString;
|
|
814
860
|
text: z.ZodString;
|
|
@@ -956,6 +1002,16 @@ export declare const TranscriptPatchSchema: z.ZodDiscriminatedUnion<[z.ZodObject
|
|
|
956
1002
|
network: z.ZodOptional<z.ZodString>;
|
|
957
1003
|
}, z.core.$strip>>;
|
|
958
1004
|
}, z.core.$strip>>;
|
|
1005
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
1006
|
+
outcome: z.ZodEnum<{
|
|
1007
|
+
met: "met";
|
|
1008
|
+
"restart-expired": "restart-expired";
|
|
1009
|
+
timeout: "timeout";
|
|
1010
|
+
}>;
|
|
1011
|
+
note: z.ZodString;
|
|
1012
|
+
elapsed: z.ZodString;
|
|
1013
|
+
sent: z.ZodString;
|
|
1014
|
+
}, z.core.$strip>>;
|
|
959
1015
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
960
1016
|
requestId: z.ZodString;
|
|
961
1017
|
offer: z.ZodObject<{
|
|
@@ -1052,11 +1108,14 @@ export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
|
1052
1108
|
landHold: "landHold";
|
|
1053
1109
|
outageOptOut: "outageOptOut";
|
|
1054
1110
|
tierHold: "tierHold";
|
|
1111
|
+
watchStop: "watchStop";
|
|
1055
1112
|
}>>;
|
|
1056
1113
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
1057
1114
|
credentialRenewal: "credentialRenewal";
|
|
1058
1115
|
personaRoute: "personaRoute";
|
|
1116
|
+
watch: "watch";
|
|
1059
1117
|
}>>;
|
|
1118
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
1060
1119
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1061
1120
|
requestId: z.ZodString;
|
|
1062
1121
|
text: z.ZodString;
|
|
@@ -1204,6 +1263,16 @@ export declare const SessionTranscriptSchema: z.ZodObject<{
|
|
|
1204
1263
|
network: z.ZodOptional<z.ZodString>;
|
|
1205
1264
|
}, z.core.$strip>>;
|
|
1206
1265
|
}, z.core.$strip>>;
|
|
1266
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
1267
|
+
outcome: z.ZodEnum<{
|
|
1268
|
+
met: "met";
|
|
1269
|
+
"restart-expired": "restart-expired";
|
|
1270
|
+
timeout: "timeout";
|
|
1271
|
+
}>;
|
|
1272
|
+
note: z.ZodString;
|
|
1273
|
+
elapsed: z.ZodString;
|
|
1274
|
+
sent: z.ZodString;
|
|
1275
|
+
}, z.core.$strip>>;
|
|
1207
1276
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
1208
1277
|
requestId: z.ZodString;
|
|
1209
1278
|
offer: z.ZodObject<{
|
|
@@ -1299,11 +1368,14 @@ export declare const AgentTranscriptSchema: z.ZodObject<{
|
|
|
1299
1368
|
landHold: "landHold";
|
|
1300
1369
|
outageOptOut: "outageOptOut";
|
|
1301
1370
|
tierHold: "tierHold";
|
|
1371
|
+
watchStop: "watchStop";
|
|
1302
1372
|
}>>;
|
|
1303
1373
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
1304
1374
|
credentialRenewal: "credentialRenewal";
|
|
1305
1375
|
personaRoute: "personaRoute";
|
|
1376
|
+
watch: "watch";
|
|
1306
1377
|
}>>;
|
|
1378
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
1307
1379
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1308
1380
|
requestId: z.ZodString;
|
|
1309
1381
|
text: z.ZodString;
|
|
@@ -1451,6 +1523,16 @@ export declare const AgentTranscriptSchema: z.ZodObject<{
|
|
|
1451
1523
|
network: z.ZodOptional<z.ZodString>;
|
|
1452
1524
|
}, z.core.$strip>>;
|
|
1453
1525
|
}, z.core.$strip>>;
|
|
1526
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
1527
|
+
outcome: z.ZodEnum<{
|
|
1528
|
+
met: "met";
|
|
1529
|
+
"restart-expired": "restart-expired";
|
|
1530
|
+
timeout: "timeout";
|
|
1531
|
+
}>;
|
|
1532
|
+
note: z.ZodString;
|
|
1533
|
+
elapsed: z.ZodString;
|
|
1534
|
+
sent: z.ZodString;
|
|
1535
|
+
}, z.core.$strip>>;
|
|
1454
1536
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
1455
1537
|
requestId: z.ZodString;
|
|
1456
1538
|
offer: z.ZodObject<{
|
|
@@ -1560,11 +1642,14 @@ export declare const SharePayloadSchema: z.ZodObject<{
|
|
|
1560
1642
|
landHold: "landHold";
|
|
1561
1643
|
outageOptOut: "outageOptOut";
|
|
1562
1644
|
tierHold: "tierHold";
|
|
1645
|
+
watchStop: "watchStop";
|
|
1563
1646
|
}>>;
|
|
1564
1647
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
1565
1648
|
credentialRenewal: "credentialRenewal";
|
|
1566
1649
|
personaRoute: "personaRoute";
|
|
1650
|
+
watch: "watch";
|
|
1567
1651
|
}>>;
|
|
1652
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
1568
1653
|
plan: z.ZodOptional<z.ZodObject<{
|
|
1569
1654
|
requestId: z.ZodString;
|
|
1570
1655
|
text: z.ZodString;
|
|
@@ -1712,6 +1797,16 @@ export declare const SharePayloadSchema: z.ZodObject<{
|
|
|
1712
1797
|
network: z.ZodOptional<z.ZodString>;
|
|
1713
1798
|
}, z.core.$strip>>;
|
|
1714
1799
|
}, z.core.$strip>>;
|
|
1800
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
1801
|
+
outcome: z.ZodEnum<{
|
|
1802
|
+
met: "met";
|
|
1803
|
+
"restart-expired": "restart-expired";
|
|
1804
|
+
timeout: "timeout";
|
|
1805
|
+
}>;
|
|
1806
|
+
note: z.ZodString;
|
|
1807
|
+
elapsed: z.ZodString;
|
|
1808
|
+
sent: z.ZodString;
|
|
1809
|
+
}, z.core.$strip>>;
|
|
1715
1810
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
1716
1811
|
requestId: z.ZodString;
|
|
1717
1812
|
offer: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"transcript.d.ts","sourceRoot":"","sources":["../../src/events/transcript.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,KAAK,EAAE,eAAe,EAAE,gBAAgB,EAAE,cAAc,EAAE,QAAQ,EAAC,MAAM,YAAY,CAAC;AAS7F,eAAO,MAAM,gBAAgB;;;;;EAA2D,CAAC;AACzF,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAC1D,eAAO,MAAM,oBAAoB;;;;EAA+C,CAAC;AACjF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,oBAAoB,CAAC,CAAC;AAClE,eAAO,MAAM,sBAAsB;;;;;;EAAkE,CAAC;AACtG,MAAM,MAAM,gBAAgB,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,sBAAsB,CAAC,CAAC;AACtE,eAAO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;;;;;;iBAM7B,CAAC;AACH,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,kBAAkB,CAAC,CAAC"}
|
|
@@ -66,6 +66,15 @@ export const TranscriptSubagentSchema = z.object({
|
|
|
66
66
|
error: z.string().optional(),
|
|
67
67
|
verification: SubagentVerificationSchema.optional(),
|
|
68
68
|
});
|
|
69
|
+
export const WatchOutcomeSchema = z.enum(["met", "timeout", "restart-expired"]);
|
|
70
|
+
export const TranscriptWatchWakeSchema = z.object({
|
|
71
|
+
outcome: WatchOutcomeSchema.describe("How the watch ended: the condition held, the deadline passed, or a restart cut it short."),
|
|
72
|
+
note: z.string().describe("The agent's own line on what it was waiting for."),
|
|
73
|
+
elapsed: z
|
|
74
|
+
.string()
|
|
75
|
+
.describe("How long the watch stood, already worded ('43m'): carried rather than recomputed, since the arming instant is not on the row."),
|
|
76
|
+
sent: z.string().describe("The whole prompt the model was woken with, disclosed under the row."),
|
|
77
|
+
});
|
|
69
78
|
export const TurnNoteSchema = z.object({
|
|
70
79
|
title: z.string().describe("The one line a reader sees, on a row that opens to the text below."),
|
|
71
80
|
text: z.string().describe("The note itself, which is also exactly what the model was told."),
|
|
@@ -110,13 +119,17 @@ export const TranscriptRowSchema = z.object({
|
|
|
110
119
|
.optional()
|
|
111
120
|
.describe("A person wrote this in the agent's voice, with no turn behind it. Marked for the human re-reading the conversation months later, so their own words do not pass as the agent's. The agent itself never sees the mark."),
|
|
112
121
|
noticeAction: z
|
|
113
|
-
.enum(["landHold", "outageOptOut", "depsInstall", "tierHold"])
|
|
122
|
+
.enum(["landHold", "outageOptOut", "depsInstall", "tierHold", "watchStop"])
|
|
114
123
|
.optional()
|
|
115
124
|
.describe("A one-press follow-up this notice offers, by name. The chat decides what it does and whether it still applies."),
|
|
116
125
|
noticeWait: z
|
|
117
|
-
.enum(["credentialRenewal", "personaRoute"])
|
|
126
|
+
.enum(["credentialRenewal", "personaRoute", "watch"])
|
|
118
127
|
.optional()
|
|
119
128
|
.describe("The wait this notice describes, by name, so a reader can say whether it is still on."),
|
|
129
|
+
noticeWaitId: z
|
|
130
|
+
.string()
|
|
131
|
+
.optional()
|
|
132
|
+
.describe("Which instance of the wait this notice names, for a kind that can have several running at once."),
|
|
120
133
|
plan: TranscriptPlanSchema.optional().describe("The plan this row asked approval for, and the answer."),
|
|
121
134
|
question: TranscriptQuestionSchema.optional().describe("The questions this row asked, and the picks that answered them."),
|
|
122
135
|
permission: TranscriptPermissionSchema.optional().describe("The tool this row asked permission for, and the decision."),
|
|
@@ -124,6 +137,7 @@ export const TranscriptRowSchema = z.object({
|
|
|
124
137
|
terminalHelp: TranscriptTerminalHelpSchema.optional().describe("The terminal hand-over this row asked for, and how it ended."),
|
|
125
138
|
capabilityOffer: TranscriptCapabilityOfferSchema.optional().describe("The capability setup this row asked for, the decision, and the outcome."),
|
|
126
139
|
paymentOffer: TranscriptPaymentOfferSchema.optional().describe("The payment this row asked for, the decision, and the receipt."),
|
|
140
|
+
watchWake: TranscriptWatchWakeSchema.optional().describe("The condition watch that woke this conversation, and the prompt it was woken with."),
|
|
127
141
|
credentialOffer: TranscriptCredentialOfferSchema.optional().describe("The gated credential this row asked to use, who may release it, and who did."),
|
|
128
142
|
});
|
|
129
143
|
export const CARD_FIELDS = [
|