@intentic/sandbox-contract 1.288.0 → 1.290.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/sessions.contract.d.ts +13 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +13 -0
- 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 +102 -13
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.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/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/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 +3 -1
- package/src/schemas/agents.ts +6 -0
- package/src/text/transcript-fold.test.ts +21 -0
- package/src/text/transcript-fold.ts +23 -11
package/README.md
CHANGED
|
@@ -43,7 +43,10 @@ mismatch is a type error rather than a runtime surprise.
|
|
|
43
43
|
`TranscriptRow` (a speaker's bubble, a notice, a card), a `TranscriptPatch` (append, replace, drop, more text or
|
|
44
44
|
thinking, a tool's progress)), the turn's own frames ([agent-events.ts](src/events/agent-events.ts): the
|
|
45
45
|
`AgentEvent` union, the `TurnFact` view of it, and the `AttachFrame` union a window follows a run through), the
|
|
46
|
-
resume notes ([resume.ts](src/events/resume.ts))
|
|
46
|
+
resume notes ([resume.ts](src/events/resume.ts)), the two other prompts the daemon composes and sends as turns —
|
|
47
|
+
a condition watch's wake ([watch-wake.ts](src/events/watch-wake.ts)) and the unverified-work follow-up
|
|
48
|
+
([verify-nudge.ts](src/events/verify-nudge.ts)), each recognisable by its opening so the chat can draw it as
|
|
49
|
+
something other than the user's own words — and what is about the sandbox rather than a turn
|
|
47
50
|
([system-events.ts](src/events/system-events.ts): heartbeat, boot, presence, what just moved).
|
|
48
51
|
- [src/transcript-fold.ts](src/text/transcript-fold.ts), its own entry point (`@intentic/sandbox-contract/transcript-fold`):
|
|
49
52
|
THE fold from a turn's frames to its rows, and the patches each frame is worth. The daemon runs it inside every
|
|
@@ -111,8 +111,9 @@ export declare const agentContract: {
|
|
|
111
111
|
text: string;
|
|
112
112
|
}[] | undefined;
|
|
113
113
|
placed?: boolean | undefined;
|
|
114
|
-
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | undefined;
|
|
115
|
-
noticeWait?: "credentialRenewal" | "personaRoute" | undefined;
|
|
114
|
+
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | "watchStop" | undefined;
|
|
115
|
+
noticeWait?: "credentialRenewal" | "personaRoute" | "watch" | undefined;
|
|
116
|
+
noticeWaitId?: string | undefined;
|
|
116
117
|
plan?: {
|
|
117
118
|
requestId: string;
|
|
118
119
|
text: string;
|
|
@@ -216,6 +217,12 @@ export declare const agentContract: {
|
|
|
216
217
|
network?: string | undefined;
|
|
217
218
|
} | undefined;
|
|
218
219
|
} | undefined;
|
|
220
|
+
watchWake?: {
|
|
221
|
+
outcome: "met" | "restart-expired" | "timeout";
|
|
222
|
+
note: string;
|
|
223
|
+
elapsed: string;
|
|
224
|
+
sent: string;
|
|
225
|
+
} | undefined;
|
|
219
226
|
credentialOffer?: {
|
|
220
227
|
requestId: string;
|
|
221
228
|
offer: {
|
|
@@ -265,8 +272,9 @@ export declare const agentContract: {
|
|
|
265
272
|
text: string;
|
|
266
273
|
}[] | undefined;
|
|
267
274
|
placed?: boolean | undefined;
|
|
268
|
-
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | undefined;
|
|
269
|
-
noticeWait?: "credentialRenewal" | "personaRoute" | undefined;
|
|
275
|
+
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | "watchStop" | undefined;
|
|
276
|
+
noticeWait?: "credentialRenewal" | "personaRoute" | "watch" | undefined;
|
|
277
|
+
noticeWaitId?: string | undefined;
|
|
270
278
|
plan?: {
|
|
271
279
|
requestId: string;
|
|
272
280
|
text: string;
|
|
@@ -370,6 +378,12 @@ export declare const agentContract: {
|
|
|
370
378
|
network?: string | undefined;
|
|
371
379
|
} | undefined;
|
|
372
380
|
} | undefined;
|
|
381
|
+
watchWake?: {
|
|
382
|
+
outcome: "met" | "restart-expired" | "timeout";
|
|
383
|
+
note: string;
|
|
384
|
+
elapsed: string;
|
|
385
|
+
sent: string;
|
|
386
|
+
} | undefined;
|
|
373
387
|
credentialOffer?: {
|
|
374
388
|
requestId: string;
|
|
375
389
|
offer: {
|
|
@@ -417,8 +431,9 @@ export declare const agentContract: {
|
|
|
417
431
|
text: string;
|
|
418
432
|
}[] | undefined;
|
|
419
433
|
placed?: boolean | undefined;
|
|
420
|
-
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | undefined;
|
|
421
|
-
noticeWait?: "credentialRenewal" | "personaRoute" | undefined;
|
|
434
|
+
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | "watchStop" | undefined;
|
|
435
|
+
noticeWait?: "credentialRenewal" | "personaRoute" | "watch" | undefined;
|
|
436
|
+
noticeWaitId?: string | undefined;
|
|
422
437
|
plan?: {
|
|
423
438
|
requestId: string;
|
|
424
439
|
text: string;
|
|
@@ -522,6 +537,12 @@ export declare const agentContract: {
|
|
|
522
537
|
network?: string | undefined;
|
|
523
538
|
} | undefined;
|
|
524
539
|
} | undefined;
|
|
540
|
+
watchWake?: {
|
|
541
|
+
outcome: "met" | "restart-expired" | "timeout";
|
|
542
|
+
note: string;
|
|
543
|
+
elapsed: string;
|
|
544
|
+
sent: string;
|
|
545
|
+
} | undefined;
|
|
525
546
|
credentialOffer?: {
|
|
526
547
|
requestId: string;
|
|
527
548
|
offer: {
|
|
@@ -594,8 +615,9 @@ export declare const agentContract: {
|
|
|
594
615
|
text: string;
|
|
595
616
|
}[] | undefined;
|
|
596
617
|
placed?: boolean | undefined;
|
|
597
|
-
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | undefined;
|
|
598
|
-
noticeWait?: "credentialRenewal" | "personaRoute" | undefined;
|
|
618
|
+
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | "watchStop" | undefined;
|
|
619
|
+
noticeWait?: "credentialRenewal" | "personaRoute" | "watch" | undefined;
|
|
620
|
+
noticeWaitId?: string | undefined;
|
|
599
621
|
plan?: {
|
|
600
622
|
requestId: string;
|
|
601
623
|
text: string;
|
|
@@ -699,6 +721,12 @@ export declare const agentContract: {
|
|
|
699
721
|
network?: string | undefined;
|
|
700
722
|
} | undefined;
|
|
701
723
|
} | undefined;
|
|
724
|
+
watchWake?: {
|
|
725
|
+
outcome: "met" | "restart-expired" | "timeout";
|
|
726
|
+
note: string;
|
|
727
|
+
elapsed: string;
|
|
728
|
+
sent: string;
|
|
729
|
+
} | undefined;
|
|
702
730
|
credentialOffer?: {
|
|
703
731
|
requestId: string;
|
|
704
732
|
offer: {
|
|
@@ -748,8 +776,9 @@ export declare const agentContract: {
|
|
|
748
776
|
text: string;
|
|
749
777
|
}[] | undefined;
|
|
750
778
|
placed?: boolean | undefined;
|
|
751
|
-
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | undefined;
|
|
752
|
-
noticeWait?: "credentialRenewal" | "personaRoute" | undefined;
|
|
779
|
+
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | "watchStop" | undefined;
|
|
780
|
+
noticeWait?: "credentialRenewal" | "personaRoute" | "watch" | undefined;
|
|
781
|
+
noticeWaitId?: string | undefined;
|
|
753
782
|
plan?: {
|
|
754
783
|
requestId: string;
|
|
755
784
|
text: string;
|
|
@@ -853,6 +882,12 @@ export declare const agentContract: {
|
|
|
853
882
|
network?: string | undefined;
|
|
854
883
|
} | undefined;
|
|
855
884
|
} | undefined;
|
|
885
|
+
watchWake?: {
|
|
886
|
+
outcome: "met" | "restart-expired" | "timeout";
|
|
887
|
+
note: string;
|
|
888
|
+
elapsed: string;
|
|
889
|
+
sent: string;
|
|
890
|
+
} | undefined;
|
|
856
891
|
credentialOffer?: {
|
|
857
892
|
requestId: string;
|
|
858
893
|
offer: {
|
|
@@ -900,8 +935,9 @@ export declare const agentContract: {
|
|
|
900
935
|
text: string;
|
|
901
936
|
}[] | undefined;
|
|
902
937
|
placed?: boolean | undefined;
|
|
903
|
-
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | undefined;
|
|
904
|
-
noticeWait?: "credentialRenewal" | "personaRoute" | undefined;
|
|
938
|
+
noticeAction?: "depsInstall" | "landHold" | "outageOptOut" | "tierHold" | "watchStop" | undefined;
|
|
939
|
+
noticeWait?: "credentialRenewal" | "personaRoute" | "watch" | undefined;
|
|
940
|
+
noticeWaitId?: string | undefined;
|
|
905
941
|
plan?: {
|
|
906
942
|
requestId: string;
|
|
907
943
|
text: string;
|
|
@@ -1005,6 +1041,12 @@ export declare const agentContract: {
|
|
|
1005
1041
|
network?: string | undefined;
|
|
1006
1042
|
} | undefined;
|
|
1007
1043
|
} | undefined;
|
|
1044
|
+
watchWake?: {
|
|
1045
|
+
outcome: "met" | "restart-expired" | "timeout";
|
|
1046
|
+
note: string;
|
|
1047
|
+
elapsed: string;
|
|
1048
|
+
sent: string;
|
|
1049
|
+
} | undefined;
|
|
1008
1050
|
credentialOffer?: {
|
|
1009
1051
|
requestId: string;
|
|
1010
1052
|
offer: {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUH,MAAM
|
|
1
|
+
{"version":3,"file":"agent.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agent.contract.ts"],"names":[],"mappings":"AAWA,eAAO,MAAM,aAAa;IACtB,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUH,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AQ;;;;;;;;;;;;;CASX,CAAC"}
|
|
@@ -656,11 +656,14 @@ export declare const agentsContract: {
|
|
|
656
656
|
landHold: "landHold";
|
|
657
657
|
outageOptOut: "outageOptOut";
|
|
658
658
|
tierHold: "tierHold";
|
|
659
|
+
watchStop: "watchStop";
|
|
659
660
|
}>>;
|
|
660
661
|
noticeWait: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
661
662
|
credentialRenewal: "credentialRenewal";
|
|
662
663
|
personaRoute: "personaRoute";
|
|
664
|
+
watch: "watch";
|
|
663
665
|
}>>;
|
|
666
|
+
noticeWaitId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
664
667
|
plan: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
665
668
|
requestId: import("zod").ZodString;
|
|
666
669
|
text: import("zod").ZodString;
|
|
@@ -808,6 +811,16 @@ export declare const agentsContract: {
|
|
|
808
811
|
network: import("zod").ZodOptional<import("zod").ZodString>;
|
|
809
812
|
}, import("zod/v4/core").$strip>>;
|
|
810
813
|
}, import("zod/v4/core").$strip>>;
|
|
814
|
+
watchWake: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
815
|
+
outcome: import("zod").ZodEnum<{
|
|
816
|
+
met: "met";
|
|
817
|
+
"restart-expired": "restart-expired";
|
|
818
|
+
timeout: "timeout";
|
|
819
|
+
}>;
|
|
820
|
+
note: import("zod").ZodString;
|
|
821
|
+
elapsed: import("zod").ZodString;
|
|
822
|
+
sent: import("zod").ZodString;
|
|
823
|
+
}, import("zod/v4/core").$strip>>;
|
|
811
824
|
credentialOffer: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
812
825
|
requestId: import("zod").ZodString;
|
|
813
826
|
offer: import("zod").ZodObject<{
|
|
@@ -2000,6 +2013,7 @@ export declare const agentsContract: {
|
|
|
2000
2013
|
}, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
|
|
2001
2014
|
stopWatching: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
|
|
2002
2015
|
id: import("zod").ZodString;
|
|
2016
|
+
watchId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
2003
2017
|
}, import("zod/v4/core").$strip>, import("zod").ZodObject<{
|
|
2004
2018
|
id: import("zod").ZodString;
|
|
2005
2019
|
sessionId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"agents.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"AAgCA,eAAO,MAAM,cAAc;IACvB,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASJ,QAAQ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUR,MAAM;;;;;;;;;;;;;;;;;IAUN,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IASH,UAAU;;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WJ,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUX,OAAO;;;;;IAUP,OAAO;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUP,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAUT,KAAK;;;CASR,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { oc } from "@orpc/contract";
|
|
2
2
|
import { AgentTranscriptSchema } from "../events/transcript.js";
|
|
3
|
-
import { AgentArchiveSchema, AgentAutoLandSchema, AgentFileDiffQuerySchema, AgentIdSchema, AgentTranscriptQuerySchema, AgentIdsSchema, AgentLandSchema, AgentPlaceSchema, AgentRenameSchema, AgentResumeAfterLimitSchema, AgentMoveAfterLimitSchema, AgentResumeAfterOutageSchema, AgentsArchivedSchema, AgentSearchQuerySchema, AgentSearchResultSchema, AgentsMovedSchema, AgentsRemovedSchema, AgentSummarySchema, LandResultSchema, } from "../schemas/agents.js";
|
|
3
|
+
import { AgentArchiveSchema, AgentAutoLandSchema, AgentFileDiffQuerySchema, AgentIdSchema, AgentTranscriptQuerySchema, AgentIdsSchema, AgentLandSchema, AgentPlaceSchema, AgentRenameSchema, AgentResumeAfterLimitSchema, AgentStopWatchingSchema, AgentMoveAfterLimitSchema, AgentResumeAfterOutageSchema, AgentsArchivedSchema, AgentSearchQuerySchema, AgentSearchResultSchema, AgentsMovedSchema, AgentsRemovedSchema, AgentSummarySchema, LandResultSchema, } from "../schemas/agents.js";
|
|
4
4
|
import { AgentsListSchema } from "../schemas/automations.js";
|
|
5
5
|
import { AgentChangesSchema, AgentHistorySchema } from "../schemas/git/git.js";
|
|
6
6
|
import { FileDiffSchema } from "../schemas/history.js";
|
|
@@ -116,10 +116,10 @@ export const agentsContract = {
|
|
|
116
116
|
.route({
|
|
117
117
|
method: "POST",
|
|
118
118
|
path: "/agents/{id}/stop-watching",
|
|
119
|
-
summary: "Stop
|
|
120
|
-
description: "Disarms
|
|
119
|
+
summary: "Stop a conversation's condition watches",
|
|
120
|
+
description: "Disarms this conversation's outside-condition watches, so they will not wake it. Named without a watch id it disarms all of them, because that is what the press means when it is made about a card; a press made about one watch's own row names that watch and leaves the rest armed. Nothing else about the conversation changes.",
|
|
121
121
|
})
|
|
122
|
-
.input(
|
|
122
|
+
.input(AgentStopWatchingSchema)
|
|
123
123
|
.output(AgentSummarySchema),
|
|
124
124
|
seenAll: oc
|
|
125
125
|
.route({
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agents.contract.js","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACH,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,2BAA2B,EAC3B,yBAAyB,EACzB,4BAA4B,EAC5B,oB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AAC,2BAA2B,CAAC;SAClC,MAAM,CAAC,kBAAkB,CAAC;IAE/B,cAAc,EAAE,EAAE;SACb,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,+BAA+B;QACrC,OAAO,EAAE,gFAAgF;QACzF,WAAW,EACP,kNAAkN;KACzN,CAAC;SACD,KAAK,CAAC,yBAAyB,CAAC;SAChC,MAAM,CAAC,kBAAkB,CAAC;IAC/B,IAAI,EAAE,EAAE;SACH,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,mBAAmB;QACzB,OAAO,EAAE,0BAA0B;QACnC,WAAW,EACP,8IAA8I;KACrJ,CAAC;SACD,KAAK,CAAC,aAAa,CAAC;SACpB,MAAM,CAAC,kBAAkB,CAAC;IAE/B,YAAY,EAAE,EAAE;SACX,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,4BAA4B;QAClC,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"agents.contract.js","sourceRoot":"","sources":["../../src/contracts/agents.contract.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,gBAAgB,CAAC;AACpC,OAAO,EAAE,qBAAqB,EAAE,MAAM,yBAAyB,CAAC;AAChE,OAAO,EACH,kBAAkB,EAClB,mBAAmB,EACnB,wBAAwB,EACxB,aAAa,EACb,0BAA0B,EAC1B,cAAc,EACd,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,2BAA2B,EAC3B,uBAAuB,EACvB,yBAAyB,EACzB,4BAA4B,EAC5B,oBAAoB,EACpB,sBAAsB,EACtB,uBAAuB,EACvB,iBAAiB,EACjB,mBAAmB,EACnB,kBAAkB,EAClB,gBAAgB,GACnB,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,kBAAkB,EAAE,kBAAkB,EAAE,MAAM,uBAAuB,CAAC;AAC/E,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Ae;QACrB,OAAO,EAAE,4BAA4B;QACrC,WAAW,EACP,uTAAuT;KAC9T,CAAC;SACD,MAAM,CAAC,mBAAmB,CAAC;CACnC,CAAC"}
|
|
@@ -59,11 +59,14 @@ export declare const sessionsContract: {
|
|
|
59
59
|
landHold: "landHold";
|
|
60
60
|
outageOptOut: "outageOptOut";
|
|
61
61
|
tierHold: "tierHold";
|
|
62
|
+
watchStop: "watchStop";
|
|
62
63
|
}>>;
|
|
63
64
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
64
65
|
credentialRenewal: "credentialRenewal";
|
|
65
66
|
personaRoute: "personaRoute";
|
|
67
|
+
watch: "watch";
|
|
66
68
|
}>>;
|
|
69
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
67
70
|
plan: z.ZodOptional<z.ZodObject<{
|
|
68
71
|
requestId: z.ZodString;
|
|
69
72
|
text: z.ZodString;
|
|
@@ -211,6 +214,16 @@ export declare const sessionsContract: {
|
|
|
211
214
|
network: z.ZodOptional<z.ZodString>;
|
|
212
215
|
}, z.core.$strip>>;
|
|
213
216
|
}, z.core.$strip>>;
|
|
217
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
218
|
+
outcome: z.ZodEnum<{
|
|
219
|
+
met: "met";
|
|
220
|
+
"restart-expired": "restart-expired";
|
|
221
|
+
timeout: "timeout";
|
|
222
|
+
}>;
|
|
223
|
+
note: z.ZodString;
|
|
224
|
+
elapsed: z.ZodString;
|
|
225
|
+
sent: z.ZodString;
|
|
226
|
+
}, z.core.$strip>>;
|
|
214
227
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
215
228
|
requestId: z.ZodString;
|
|
216
229
|
offer: z.ZodObject<{
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;IACzB,IAAI;;;;;;;;;;;;;;;;;IAUJ,GAAG
|
|
1
|
+
{"version":3,"file":"sessions.contract.d.ts","sourceRoot":"","sources":["../../src/contracts/sessions.contract.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAYxB,eAAO,MAAM,gBAAgB;IACzB,IAAI;;;;;;;;;;;;;;;;;IAUJ,GAAG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CASN,CAAC"}
|
|
@@ -696,11 +696,14 @@ export declare const systemContract: {
|
|
|
696
696
|
landHold: "landHold";
|
|
697
697
|
outageOptOut: "outageOptOut";
|
|
698
698
|
tierHold: "tierHold";
|
|
699
|
+
watchStop: "watchStop";
|
|
699
700
|
}>>;
|
|
700
701
|
noticeWait: z.ZodOptional<z.ZodEnum<{
|
|
701
702
|
credentialRenewal: "credentialRenewal";
|
|
702
703
|
personaRoute: "personaRoute";
|
|
704
|
+
watch: "watch";
|
|
703
705
|
}>>;
|
|
706
|
+
noticeWaitId: z.ZodOptional<z.ZodString>;
|
|
704
707
|
plan: z.ZodOptional<z.ZodObject<{
|
|
705
708
|
requestId: z.ZodString;
|
|
706
709
|
text: z.ZodString;
|
|
@@ -848,6 +851,16 @@ export declare const systemContract: {
|
|
|
848
851
|
network: z.ZodOptional<z.ZodString>;
|
|
849
852
|
}, z.core.$strip>>;
|
|
850
853
|
}, z.core.$strip>>;
|
|
854
|
+
watchWake: z.ZodOptional<z.ZodObject<{
|
|
855
|
+
outcome: z.ZodEnum<{
|
|
856
|
+
met: "met";
|
|
857
|
+
"restart-expired": "restart-expired";
|
|
858
|
+
timeout: "timeout";
|
|
859
|
+
}>;
|
|
860
|
+
note: z.ZodString;
|
|
861
|
+
elapsed: z.ZodString;
|
|
862
|
+
sent: z.ZodString;
|
|
863
|
+
}, z.core.$strip>>;
|
|
851
864
|
credentialOffer: z.ZodOptional<z.ZodObject<{
|
|
852
865
|
requestId: z.ZodString;
|
|
853
866
|
offer: z.ZodObject<{
|
|
@@ -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;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAST,kBAAkB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MAAM,+BAA+B,CAAC;AAGxF,MAAM,CAAC,MAAM,uBAAuB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC5C,KAAK,EAAE,CAAC,CAAC,OAAO,EAAE,CAAC,OAAO,CAAC,KAAK,CAAC,CAAC,QAAQ,CAAC,yDAAyD,CAAC;CACxG,CAAC,CAAC;AAIH,MAAM,CAAC,MAAM,aAAa,GAAG;IACzB,MAAM,EAAE,EAAE;SACL,KAAK,CAAC;QACH,MAAM,EAAE,KAAK;QACb,IAAI,EAAE,eAAe;QACrB,OAAO,EAAE,yBAAyB;QAClC,WAAW,EACP,8RAA8R;KACrS,CAAC;SACD,KAAK,CAAC,oBAAoB,CAAC;SAC3B,MAAM,CAAC,iBAAiB,CAAC;IAE9B,iBAAiB,EAAE,EAAE;SAChB,KAAK,CAAC;QACH,MAAM,EAAE,MAAM;QACd,IAAI,EAAE,4BAA4B;QAClC,OAAO,EAAE,2CAA2C;QACpD,WAAW,EACP,
|
|
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,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,sBAAsB,EAAE,MAAM,qCAAqC,CAAC;AACpG,OAAO,EAAE,oBAAoB,EAAE,iBAAiB,EAAE,MA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EAAE,8BAA8B;QACpC,OAAO,EAAE,2DAA2D;QACpE,WAAW,EACP,+UAA+U;KACtV,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,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,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2BA2Q3B,CAAC;AACH,MAAM,MAAM,UAAU,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAG1D,eAAO,MAAM,eAAe,YACxB,SAAS,EACT,UAAU,EACV,MAAM,EACN,UAAU,EACV,SAAS,EACT,UAAU,EACV,OAAO,EACP,iBAAiB,EACjB,WAAW,EACX,MAAM,EACN,gBAAgB,EAChB,eAAe,EACf,eAAe,EACf,MAAM,EACN,OAAO,CACD,CAAC;AACX,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE;IAAE,IAAI,EAAE,CAAC,OAAO,eAAe,CAAC,CAAC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