@intentic/sandbox-contract 1.239.0 → 1.240.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/contracts/agent.contract.d.ts +28 -28
- package/dist/contracts/agents.contract.d.ts +474 -0
- package/dist/contracts/agents.contract.d.ts.map +1 -1
- package/dist/contracts/runner.contract.d.ts +28 -28
- package/dist/contracts/sessions.contract.d.ts +474 -0
- package/dist/contracts/sessions.contract.d.ts.map +1 -1
- package/dist/contracts/system.contract.d.ts +474 -0
- package/dist/contracts/system.contract.d.ts.map +1 -1
- package/dist/events.d.ts +2533 -123
- package/dist/events.d.ts.map +1 -1
- package/dist/events.js +112 -61
- package/dist/events.js.map +1 -1
- package/dist/index.d.ts +1450 -28
- package/dist/index.d.ts.map +1 -1
- package/package.json +4 -4
- package/src/events.ts +206 -97
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,aAAa,CAAC;AA0CjD,OAAO,EAAE,gBAAgB,EAAE,MAAM,kCAAkC,CAAC;AACpE,OAAO,EAAE,aAAa,EAAE,MAAM,+BAA+B,CAAC;AAC9D,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,mBAAmB,EAAE,MAAM,qCAAqC,CAAC;AAC1E,OAAO,EAAE,oBAAoB,EAAE,MAAM,sCAAsC,CAAC;AAC5E,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,UAAU,EAAE,MAAM,4BAA4B,CAAC;AACxD,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,OAAO,EAAE,cAAc,EAAE,MAAM,gCAAgC,CAAC;AAChE,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
|
1
1
|
{
|
|
2
2
|
"name": "@intentic/sandbox-contract",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.240.0",
|
|
4
4
|
"description": "oRPC wire contract for the intentic sandbox daemon, shared by the daemon and its browser client",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"type": "module",
|
|
@@ -119,9 +119,9 @@
|
|
|
119
119
|
}
|
|
120
120
|
},
|
|
121
121
|
"dependencies": {
|
|
122
|
-
"@intentic/constants": "1.
|
|
123
|
-
"@intentic/extension-manifest": "1.
|
|
124
|
-
"@intentic/registry": "1.
|
|
122
|
+
"@intentic/constants": "1.240.0",
|
|
123
|
+
"@intentic/extension-manifest": "1.240.0",
|
|
124
|
+
"@intentic/registry": "1.240.0",
|
|
125
125
|
"@orpc/contract": "1.14.13",
|
|
126
126
|
"tslib": "2.8.1",
|
|
127
127
|
"zod": "4.4.3"
|
package/src/events.ts
CHANGED
|
@@ -286,6 +286,168 @@ export const ToolCallContentSchema = z.discriminatedUnion("type", [
|
|
|
286
286
|
]);
|
|
287
287
|
export type ToolCallContent = z.infer<typeof ToolCallContentSchema>;
|
|
288
288
|
|
|
289
|
+
/* WHAT A PARKED CARD IS ABOUT: the document the turn wrote and is now asking a question against.
|
|
290
|
+
*
|
|
291
|
+
* A card asks for a decision; until this it carried no SUBJECT. The commonest shape of a real decision is "I
|
|
292
|
+
* analysed this and wrote it up, now choose", and the write-up went into a file whose card had already folded
|
|
293
|
+
* itself into `Write · +135 −0` twenty tool calls back. So the reader was asked to choose between options
|
|
294
|
+
* describing a document the chat had never shown them.
|
|
295
|
+
*
|
|
296
|
+
* Carried BY VALUE rather than as a path, for the same reason the diff on a tool call is: the bytes are already
|
|
297
|
+
* in hand when the card is raised, a path would make the card's meaning depend on a file that keeps changing
|
|
298
|
+
* under it, and a restored or published transcript has no workspace to go read. The path rides along anyway, so
|
|
299
|
+
* a document past the wire cap still has somewhere to send the reader.
|
|
300
|
+
*
|
|
301
|
+
* Nothing is asked of the MODEL for this. It calls `ask` exactly as before; the daemon knows what the turn
|
|
302
|
+
* wrote, because every write came past it as a frame (documents.ts decides which of them is a document). A
|
|
303
|
+
* harness that can see the answer must not spend prompt on asking the model to repeat it. */
|
|
304
|
+
export const CardDocumentSchema = z.object({
|
|
305
|
+
path: z.string().describe("Where it lives, as a workspace path."),
|
|
306
|
+
title: z.string().describe("What it is called: its opening heading, or its file name."),
|
|
307
|
+
markdown: z.string().describe("The document itself."),
|
|
308
|
+
truncated: z.boolean().optional().describe("It was clipped at the wire cap; the file on disk has more."),
|
|
309
|
+
plan: z.boolean().optional().describe("It is one of the CLI's plan files, written to be approved rather than merely read."),
|
|
310
|
+
});
|
|
311
|
+
export type CardDocument = z.infer<typeof CardDocumentSchema>;
|
|
312
|
+
|
|
313
|
+
/* ONE CARD'S OWN FIELDS, spelled once. Three readers carry the same card and must agree on what it is: the
|
|
314
|
+
* frame that raises it (AgentEventSchema below), the journal entry that keeps a parked one across a restart
|
|
315
|
+
* (ParkedCardSchema), and the record row that keeps it for good (RestoredMessageSchema's card fields). A shape
|
|
316
|
+
* declared inline in each was three shapes with one name. */
|
|
317
|
+
const REQUEST_ID = z.string().describe("What to send back when you answer.");
|
|
318
|
+
const planCard = {
|
|
319
|
+
requestId: REQUEST_ID,
|
|
320
|
+
text: z.string().describe("The plan itself."),
|
|
321
|
+
// Present when the adjacent plan prose POINTS at a document instead of being one: the model wrote the real
|
|
322
|
+
// plan to a file and summarised it there. Absent when the text already is the whole plan.
|
|
323
|
+
document: CardDocumentSchema.optional().describe("The write-up this plan refers to, when the plan itself is a pointer to one."),
|
|
324
|
+
};
|
|
325
|
+
const questionCard = {
|
|
326
|
+
requestId: REQUEST_ID,
|
|
327
|
+
questions: z.array(AskQuestionSchema).describe("What it wants to know."),
|
|
328
|
+
document: CardDocumentSchema.optional().describe("The document this turn wrote and is asking about, so the choice can be read beside it."),
|
|
329
|
+
};
|
|
330
|
+
const permissionCard = { requestId: REQUEST_ID };
|
|
331
|
+
// The agent's browser needs a person: it parked mid-sign-in on something it cannot clear itself (a captcha,
|
|
332
|
+
// a password it does not hold, a phone check). `session` names the browser session on /browsers, the card's
|
|
333
|
+
// one action is going THERE, where the live stage and Take control already are; the Browsers banner and this
|
|
334
|
+
// card resolve the same requestId. `account` is the capability the sign-in is for, so the card can say whose
|
|
335
|
+
// login is stuck even after the browser has navigated somewhere unrecognizable.
|
|
336
|
+
const browserHelpCard = {
|
|
337
|
+
requestId: z.string(),
|
|
338
|
+
session: z.string(),
|
|
339
|
+
account: z.string(),
|
|
340
|
+
message: z.string(),
|
|
341
|
+
};
|
|
342
|
+
// The agent's TERMINAL needs a person: a command it started is sitting at a prompt it cannot answer (a
|
|
343
|
+
// one-time password, a security-key touch, a confirm). `session` names the tmux session on the terminal
|
|
344
|
+
// panel, the card's one action is going THERE, where the live pane and its prompt already are, which is
|
|
345
|
+
// the same division of labour the browser card has with /browsers.
|
|
346
|
+
const terminalHelpCard = {
|
|
347
|
+
requestId: z.string(),
|
|
348
|
+
session: z.string(),
|
|
349
|
+
message: z.string(),
|
|
350
|
+
};
|
|
351
|
+
const serviceOfferCard = { requestId: z.string(), offer: ServiceOfferSchema };
|
|
352
|
+
const capabilityOfferCard = { requestId: z.string(), offer: CapabilityOfferSchema };
|
|
353
|
+
const paymentOfferCard = { requestId: z.string(), offer: PaymentOfferSchema };
|
|
354
|
+
|
|
355
|
+
/* HOW AN OFFER'S ACCEPTED HALF ENDED, the follow-up that lands on the card after the click. Each is the body of
|
|
356
|
+
* the frame that reports it (`service_receipt`, `capability_outcome`, `payment_receipt`) and the field the
|
|
357
|
+
* record keeps it in, one shape for both, so a receipt reopened tomorrow says exactly what the live card said. */
|
|
358
|
+
export const ServiceReceiptSchema = z.object({
|
|
359
|
+
outcome: z.enum(["ok", "refunded", "refused"]),
|
|
360
|
+
credits: z.number(),
|
|
361
|
+
remaining: z.number().optional(),
|
|
362
|
+
});
|
|
363
|
+
export type ServiceReceipt = z.infer<typeof ServiceReceiptSchema>;
|
|
364
|
+
export const CapabilityOutcomeSchema = z.object({
|
|
365
|
+
outcome: z.enum(["connected", "unfinished"]),
|
|
366
|
+
id: z.string().optional(),
|
|
367
|
+
});
|
|
368
|
+
export type CapabilityOutcome = z.infer<typeof CapabilityOutcomeSchema>;
|
|
369
|
+
export const PaymentReceiptSchema = z.object({
|
|
370
|
+
outcome: z.enum(["paid", "failed"]),
|
|
371
|
+
amountUsd: z.string(),
|
|
372
|
+
transaction: z.string().optional(),
|
|
373
|
+
network: z.string().optional(),
|
|
374
|
+
});
|
|
375
|
+
export type PaymentReceipt = z.infer<typeof PaymentReceiptSchema>;
|
|
376
|
+
|
|
377
|
+
/* THE THREE RESTORABLE CARDS, named so the turn journal can hold them verbatim: a parked turn's raised cards
|
|
378
|
+
* are written down beside its prompt (sandbox turn-journal.ts), and a daemon death under the park restores the
|
|
379
|
+
* very same frames instead of ending the turn `interrupted`, the card the user was about to answer survives
|
|
380
|
+
* the restart that killed the process holding it. The two handover cards are deliberately not among them:
|
|
381
|
+
* `browser_help`'s Chromium and `terminal_help`'s waiting command both die with the container, so those parks
|
|
382
|
+
* cannot be restored, only reported. */
|
|
383
|
+
const PlanCardSchema = z.object({
|
|
384
|
+
kind: z.literal("plan").describe("The agent has written a plan and is waiting for a yes."),
|
|
385
|
+
...planCard,
|
|
386
|
+
});
|
|
387
|
+
const QuestionCardSchema = z.object({
|
|
388
|
+
kind: z.literal("question").describe("The agent has asked you something and is waiting."),
|
|
389
|
+
...questionCard,
|
|
390
|
+
});
|
|
391
|
+
const PermissionCardSchema = PermissionAskSchema.extend({
|
|
392
|
+
kind: z.literal("permission").describe("The agent wants to use a tool it needs permission for."),
|
|
393
|
+
...permissionCard,
|
|
394
|
+
});
|
|
395
|
+
export const ParkedCardSchema = z.discriminatedUnion("kind", [PlanCardSchema, QuestionCardSchema, PermissionCardSchema]);
|
|
396
|
+
export type ParkedCard = z.infer<typeof ParkedCardSchema>;
|
|
397
|
+
|
|
398
|
+
// ---- restored cards ----
|
|
399
|
+
/* THE CARDS A TURN PARKED ON, as the record keeps them: the card exactly as it was raised, and the reply that
|
|
400
|
+
* released it exactly as the client sent it (the `resolved` frame's own payload), plus whatever landed on the
|
|
401
|
+
* card afterwards (a permission's late explanation, an offer's stream and receipt).
|
|
402
|
+
*
|
|
403
|
+
* They exist because the record used to keep NONE of this. A question the user answered was on screen for as
|
|
404
|
+
* long as the turn's frame log lived (minutes) and in the browser's local mirror for as long as that survived
|
|
405
|
+
* (until the next web build), and then the record repainted the conversation without it: the card, the
|
|
406
|
+
* questions, and the user's own picks, gone from the only durable copy. The rule the record follows is that a
|
|
407
|
+
* reopened chat redraws what was on screen, and a decision the user made is the part of a conversation they
|
|
408
|
+
* come back to re-read.
|
|
409
|
+
*
|
|
410
|
+
* The REPLY rides verbatim rather than as a derived status, for the same reason the `resolved` frame carries
|
|
411
|
+
* it that way: the client already turns a reply into the card's frozen state for the live stream, and a
|
|
412
|
+
* restored card goes through that one function too, so the two can never disagree about what "answered"
|
|
413
|
+
* looks like. Absent, nobody answered (the turn was stopped, or died under the card), which is not a decision
|
|
414
|
+
* and must not replay as one. */
|
|
415
|
+
const settled = {
|
|
416
|
+
reply: AgentReplySchema.optional().describe(
|
|
417
|
+
"How it was answered, exactly as the client sent it. Absent when nobody did: the turn was stopped or died under the card, which is not a decision and does not read back as one.",
|
|
418
|
+
),
|
|
419
|
+
};
|
|
420
|
+
export const RestoredPlanSchema = z.object({ ...planCard, ...settled });
|
|
421
|
+
export type RestoredPlan = z.infer<typeof RestoredPlanSchema>;
|
|
422
|
+
export const RestoredQuestionSchema = z.object({ ...questionCard, ...settled });
|
|
423
|
+
export type RestoredQuestion = z.infer<typeof RestoredQuestionSchema>;
|
|
424
|
+
// `explain`, the quick model's late sentence (the `permission_note` frame), lands here through PermissionAskSchema.
|
|
425
|
+
export const RestoredPermissionSchema = PermissionAskSchema.extend({ ...permissionCard, ...settled });
|
|
426
|
+
export type RestoredPermission = z.infer<typeof RestoredPermissionSchema>;
|
|
427
|
+
export const RestoredBrowserHelpSchema = z.object({ ...browserHelpCard, ...settled });
|
|
428
|
+
export type RestoredBrowserHelp = z.infer<typeof RestoredBrowserHelpSchema>;
|
|
429
|
+
export const RestoredTerminalHelpSchema = z.object({ ...terminalHelpCard, ...settled });
|
|
430
|
+
export type RestoredTerminalHelp = z.infer<typeof RestoredTerminalHelpSchema>;
|
|
431
|
+
export const RestoredServiceOfferSchema = z.object({
|
|
432
|
+
...serviceOfferCard,
|
|
433
|
+
...settled,
|
|
434
|
+
events: z.array(ServiceStreamEventSchema).optional().describe("The approved run's stream, in order (the service_event frames)."),
|
|
435
|
+
receipt: ServiceReceiptSchema.optional().describe("How the approved run ended (the service_receipt frame)."),
|
|
436
|
+
});
|
|
437
|
+
export type RestoredServiceOffer = z.infer<typeof RestoredServiceOfferSchema>;
|
|
438
|
+
export const RestoredCapabilityOfferSchema = z.object({
|
|
439
|
+
...capabilityOfferCard,
|
|
440
|
+
...settled,
|
|
441
|
+
outcome: CapabilityOutcomeSchema.optional().describe("How an accepted ask's setup ended (the capability_outcome frame)."),
|
|
442
|
+
});
|
|
443
|
+
export type RestoredCapabilityOffer = z.infer<typeof RestoredCapabilityOfferSchema>;
|
|
444
|
+
export const RestoredPaymentOfferSchema = z.object({
|
|
445
|
+
...paymentOfferCard,
|
|
446
|
+
...settled,
|
|
447
|
+
receipt: PaymentReceiptSchema.optional().describe("How the approved payment ended (the payment_receipt frame)."),
|
|
448
|
+
});
|
|
449
|
+
export type RestoredPaymentOffer = z.infer<typeof RestoredPaymentOfferSchema>;
|
|
450
|
+
|
|
289
451
|
// ---- restored transcripts ----
|
|
290
452
|
// What /sessions/{id} replays into a reopened tab, and what the daemon's own conversation record stores. It has
|
|
291
453
|
// to REDRAW the transcript the user was looking at rather than merely paraphrase it, so it keeps the assistant's
|
|
@@ -427,9 +589,42 @@ export const RestoredMessageSchema = z.object({
|
|
|
427
589
|
.enum(["tierHold"])
|
|
428
590
|
.optional()
|
|
429
591
|
.describe("A one-press follow-up this recorded notice offers, by name. The chat decides what it does and whether it still applies."),
|
|
592
|
+
/* THE CARD THIS BUBBLE PARKED ON (assistant rows only), at most one: a card closes the bubble it lands in,
|
|
593
|
+
* live (turnReducer nulls the turn's bubble) and in the fold alike (sessions/turn-transcript.ts), so the
|
|
594
|
+
* next thing the agent says opens a fresh row beneath it. One field per kind rather than one union field,
|
|
595
|
+
* because that is the shape the live ChatMessage has and a restored row is meant to be indistinguishable
|
|
596
|
+
* from the one it replaces. See the restored-cards section above for why these exist at all. */
|
|
597
|
+
plan: RestoredPlanSchema.optional().describe("The plan this row asked approval for, and the answer."),
|
|
598
|
+
question: RestoredQuestionSchema.optional().describe("The questions this row asked, and the picks that answered them."),
|
|
599
|
+
permission: RestoredPermissionSchema.optional().describe("The tool this row asked permission for, and the decision."),
|
|
600
|
+
browserHelp: RestoredBrowserHelpSchema.optional().describe("The browser hand-over this row asked for, and how it ended."),
|
|
601
|
+
terminalHelp: RestoredTerminalHelpSchema.optional().describe("The terminal hand-over this row asked for, and how it ended."),
|
|
602
|
+
serviceOffer: RestoredServiceOfferSchema.optional().describe("The priced service run this row offered, the decision, and the receipt."),
|
|
603
|
+
capabilityOffer: RestoredCapabilityOfferSchema.optional().describe("The capability setup this row asked for, the decision, and the outcome."),
|
|
604
|
+
paymentOffer: RestoredPaymentOfferSchema.optional().describe("The payment this row asked for, the decision, and the receipt."),
|
|
430
605
|
});
|
|
431
606
|
export type RestoredMessage = z.infer<typeof RestoredMessageSchema>;
|
|
432
607
|
|
|
608
|
+
/* THE CARD FIELDS A ROW CAN CARRY, as one list, for every reader that has to ask "does this row hold a card":
|
|
609
|
+
* the fold that counts a card-only bubble as a row (sessions/turn-transcript.ts), the client's own row count
|
|
610
|
+
* (recordedRows), which must agree with it to the row or a branch is cut in the wrong place, and the client's
|
|
611
|
+
* restore, which turns each into its live card. The live ChatMessage names its cards exactly this way, so the
|
|
612
|
+
* list is the same list on both sides rather than two that have to be kept in step. */
|
|
613
|
+
export const RESTORED_CARD_FIELDS = [
|
|
614
|
+
"plan",
|
|
615
|
+
"question",
|
|
616
|
+
"permission",
|
|
617
|
+
"browserHelp",
|
|
618
|
+
"terminalHelp",
|
|
619
|
+
"serviceOffer",
|
|
620
|
+
"capabilityOffer",
|
|
621
|
+
"paymentOffer",
|
|
622
|
+
] as const;
|
|
623
|
+
export type RestoredCardField = (typeof RESTORED_CARD_FIELDS)[number];
|
|
624
|
+
export type RestoredCards = Pick<RestoredMessage, RestoredCardField>;
|
|
625
|
+
// Whether a row holds a card at all, the question the row counts on both sides ask.
|
|
626
|
+
export const holdsCard = (message: RestoredCards): boolean => RESTORED_CARD_FIELDS.some((field) => message[field] !== undefined);
|
|
627
|
+
|
|
433
628
|
export const SessionTranscriptSchema = z.object({
|
|
434
629
|
messages: z
|
|
435
630
|
.array(RestoredMessageSchema)
|
|
@@ -477,57 +672,6 @@ export const SharePayloadSchema = z.object({
|
|
|
477
672
|
});
|
|
478
673
|
export type SharePayload = z.infer<typeof SharePayloadSchema>;
|
|
479
674
|
|
|
480
|
-
/* WHAT A PARKED CARD IS ABOUT: the document the turn wrote and is now asking a question against.
|
|
481
|
-
*
|
|
482
|
-
* A card asks for a decision; until this it carried no SUBJECT. The commonest shape of a real decision is "I
|
|
483
|
-
* analysed this and wrote it up, now choose", and the write-up went into a file whose card had already folded
|
|
484
|
-
* itself into `Write · +135 −0` twenty tool calls back. So the reader was asked to choose between options
|
|
485
|
-
* describing a document the chat had never shown them.
|
|
486
|
-
*
|
|
487
|
-
* Carried BY VALUE rather than as a path, for the same reason the diff on a tool call is: the bytes are already
|
|
488
|
-
* in hand when the card is raised, a path would make the card's meaning depend on a file that keeps changing
|
|
489
|
-
* under it, and a restored or published transcript has no workspace to go read. The path rides along anyway, so
|
|
490
|
-
* a document past the wire cap still has somewhere to send the reader.
|
|
491
|
-
*
|
|
492
|
-
* Nothing is asked of the MODEL for this. It calls `ask` exactly as before; the daemon knows what the turn
|
|
493
|
-
* wrote, because every write came past it as a frame (documents.ts decides which of them is a document). A
|
|
494
|
-
* harness that can see the answer must not spend prompt on asking the model to repeat it. */
|
|
495
|
-
export const CardDocumentSchema = z.object({
|
|
496
|
-
path: z.string().describe("Where it lives, as a workspace path."),
|
|
497
|
-
title: z.string().describe("What it is called: its opening heading, or its file name."),
|
|
498
|
-
markdown: z.string().describe("The document itself."),
|
|
499
|
-
truncated: z.boolean().optional().describe("It was clipped at the wire cap; the file on disk has more."),
|
|
500
|
-
plan: z.boolean().optional().describe("It is one of the CLI's plan files, written to be approved rather than merely read."),
|
|
501
|
-
});
|
|
502
|
-
export type CardDocument = z.infer<typeof CardDocumentSchema>;
|
|
503
|
-
|
|
504
|
-
/* THE THREE RESTORABLE CARDS, named so the turn journal can hold them verbatim: a parked turn's raised cards
|
|
505
|
-
* are written down beside its prompt (sandbox turn-journal.ts), and a daemon death under the park restores the
|
|
506
|
-
* very same frames instead of ending the turn `interrupted`, the card the user was about to answer survives
|
|
507
|
-
* the restart that killed the process holding it. The two handover cards are deliberately not among them:
|
|
508
|
-
* `browser_help`'s Chromium and `terminal_help`'s waiting command both die with the container, so those parks
|
|
509
|
-
* cannot be restored, only reported. */
|
|
510
|
-
const PlanCardSchema = z.object({
|
|
511
|
-
kind: z.literal("plan").describe("The agent has written a plan and is waiting for a yes."),
|
|
512
|
-
requestId: z.string().describe("What to send back when you answer."),
|
|
513
|
-
text: z.string().describe("The plan itself."),
|
|
514
|
-
// Present when the adjacent plan prose POINTS at a document instead of being one: the model wrote the real
|
|
515
|
-
// plan to a file and summarised it there. Absent when the text already is the whole plan.
|
|
516
|
-
document: CardDocumentSchema.optional().describe("The write-up this plan refers to, when the plan itself is a pointer to one."),
|
|
517
|
-
});
|
|
518
|
-
const QuestionCardSchema = z.object({
|
|
519
|
-
kind: z.literal("question").describe("The agent has asked you something and is waiting."),
|
|
520
|
-
requestId: z.string().describe("What to send back when you answer."),
|
|
521
|
-
questions: z.array(AskQuestionSchema).describe("What it wants to know."),
|
|
522
|
-
document: CardDocumentSchema.optional().describe("The document this turn wrote and is asking about, so the choice can be read beside it."),
|
|
523
|
-
});
|
|
524
|
-
const PermissionCardSchema = PermissionAskSchema.extend({
|
|
525
|
-
kind: z.literal("permission").describe("The agent wants to use a tool it needs permission for."),
|
|
526
|
-
requestId: z.string().describe("What to send back when you answer."),
|
|
527
|
-
});
|
|
528
|
-
export const ParkedCardSchema = z.discriminatedUnion("kind", [PlanCardSchema, QuestionCardSchema, PermissionCardSchema]);
|
|
529
|
-
export type ParkedCard = z.infer<typeof ParkedCardSchema>;
|
|
530
|
-
|
|
531
675
|
// One frame from an agent turn, relayed to the UI. `kind`-discriminated. The daemon normalizes the SDK's
|
|
532
676
|
// ~40 SDKMessage types down to this union: high-value block types get a dedicated frame
|
|
533
677
|
// (delta/thinking/tool_call/tool_call_update/todos/usage/rate_limit_info/account_usage/context_usage/init/compact); any SDK message
|
|
@@ -843,35 +987,18 @@ export const AgentEventSchema = z.discriminatedUnion("kind", [
|
|
|
843
987
|
PlanCardSchema,
|
|
844
988
|
QuestionCardSchema,
|
|
845
989
|
PermissionCardSchema,
|
|
846
|
-
// The agent's browser needs a person
|
|
847
|
-
//
|
|
848
|
-
|
|
849
|
-
//
|
|
850
|
-
// login is stuck even after the browser has navigated somewhere unrecognizable.
|
|
851
|
-
z.object({
|
|
852
|
-
kind: z.literal("browser_help"),
|
|
853
|
-
requestId: z.string(),
|
|
854
|
-
session: z.string(),
|
|
855
|
-
account: z.string(),
|
|
856
|
-
message: z.string(),
|
|
857
|
-
}),
|
|
858
|
-
// The agent's TERMINAL needs a person: a command it started is sitting at a prompt it cannot answer (a
|
|
859
|
-
// one-time password, a security-key touch, a confirm). `session` names the tmux session on the terminal
|
|
860
|
-
// panel, the card's one action is going THERE, where the live pane and its prompt already are, which is
|
|
861
|
-
// the same division of labour the browser card has with /browsers. Not journalled for restore, and for the
|
|
990
|
+
// The agent's browser needs a person (see browserHelpCard for what the card carries). Not journalled for
|
|
991
|
+
// restore: the Chromium holding the page dies with the container.
|
|
992
|
+
z.object({ kind: z.literal("browser_help"), ...browserHelpCard }),
|
|
993
|
+
// The agent's TERMINAL needs a person (see terminalHelpCard). Not journalled for restore, and for the
|
|
862
994
|
// browser card's reason one door along: the pane holding the prompt belongs to a process the restart kills.
|
|
863
|
-
z.object({
|
|
864
|
-
kind: z.literal("terminal_help"),
|
|
865
|
-
requestId: z.string(),
|
|
866
|
-
session: z.string(),
|
|
867
|
-
message: z.string(),
|
|
868
|
-
}),
|
|
995
|
+
z.object({ kind: z.literal("terminal_help"), ...terminalHelpCard }),
|
|
869
996
|
/* A premium service run awaiting the owner's click. Raised OUTSIDE the turn generator, the daemon's
|
|
870
997
|
* services route parks the agent's own `services run` call and pushes this frame into the live run
|
|
871
998
|
* (platform/service-offer.ts), so unlike the four cards above it is not journalled for restore: its
|
|
872
999
|
* waiter is the CLI's held connection, which dies with the daemon, and a restored card would offer
|
|
873
1000
|
* buttons nothing is waiting behind. Settles through the same `POST /agent/reply` as every other card. */
|
|
874
|
-
z.object({ kind: z.literal("service_offer"),
|
|
1001
|
+
z.object({ kind: z.literal("service_offer"), ...serviceOfferCard }),
|
|
875
1002
|
/* One event off an approved run's stream, pushed as the provider emits it so the settled card shows the
|
|
876
1003
|
* run living rather than a spinner of unknowable length. Today that is `status` lines; `result` stays off
|
|
877
1004
|
* the transcript on purpose (it is the agent's answer to act on, not the card's to duplicate), the frame
|
|
@@ -881,49 +1008,31 @@ export const AgentEventSchema = z.discriminatedUnion("kind", [
|
|
|
881
1008
|
* rather than a promise: `ok` served and charged, `refunded` failed to answer and charged nothing,
|
|
882
1009
|
* `refused` the platform said no after the click (a raced-out allowance). `remaining` is the meter after,
|
|
883
1010
|
* when the platform stated one. Skip needs no receipt, nothing happened, and `resolved` already says so. */
|
|
884
|
-
z.
|
|
885
|
-
kind: z.literal("service_receipt"),
|
|
886
|
-
requestId: z.string(),
|
|
887
|
-
outcome: z.enum(["ok", "refunded", "refused"]),
|
|
888
|
-
credits: z.number(),
|
|
889
|
-
remaining: z.number().optional(),
|
|
890
|
-
}),
|
|
1011
|
+
ServiceReceiptSchema.extend({ kind: z.literal("service_receipt"), requestId: z.string() }),
|
|
891
1012
|
/* A missing capability asking for the owner's setup, the agent hit something this sandbox is not
|
|
892
1013
|
* connected to and raised the card instead of describing manual steps. Raised OUTSIDE the turn generator
|
|
893
1014
|
* exactly like the service offer above (the daemon's ask route parks the agent's `capabilities request`
|
|
894
1015
|
* call and pushes this frame into the live run; capabilities/capability-offer.ts), so it is not
|
|
895
1016
|
* journalled for restore either: its waiter is the CLI's held connection, which dies with the daemon.
|
|
896
1017
|
* Settles through the same `POST /agent/reply` as every other card. */
|
|
897
|
-
z.object({ kind: z.literal("capability_offer"),
|
|
1018
|
+
z.object({ kind: z.literal("capability_offer"), ...capabilityOfferCard }),
|
|
898
1019
|
/* How an accepted ask ended, pushed once the daemon stops watching for the connection: `connected`, the
|
|
899
1020
|
* capability came live while the agent waited (`id` is the connected instance, the agent's handle for it)
|
|
900
1021
|
*, or `unfinished`, the setup did not complete while anyone was waiting (the deadline passed, or the
|
|
901
1022
|
* asking command died). A skip needs no outcome frame, nothing was set up, and `resolved` already says
|
|
902
1023
|
* so. It is what settles the card's "waiting for you to finish setup" state on every surface. */
|
|
903
|
-
z.
|
|
904
|
-
kind: z.literal("capability_outcome"),
|
|
905
|
-
requestId: z.string(),
|
|
906
|
-
outcome: z.enum(["connected", "unfinished"]),
|
|
907
|
-
id: z.string().optional(),
|
|
908
|
-
}),
|
|
1024
|
+
CapabilityOutcomeSchema.extend({ kind: z.literal("capability_outcome"), requestId: z.string() }),
|
|
909
1025
|
/* A USDC payment awaiting the owner's click. Raised OUTSIDE the turn generator exactly like the service
|
|
910
1026
|
* offer above (the daemon's wallet route parks the agent's `wallet fetch` call and pushes this frame into
|
|
911
1027
|
* the live run; wallet/payment-offer.ts), so it is not journalled for restore either: its waiter is the
|
|
912
1028
|
* CLI's held connection, which dies with the daemon. Settles through the same `POST /agent/reply`. */
|
|
913
|
-
z.object({ kind: z.literal("payment_offer"),
|
|
1029
|
+
z.object({ kind: z.literal("payment_offer"), ...paymentOfferCard }),
|
|
914
1030
|
/* How an approved (or auto-approved) payment ended, pushed after the endpoint answered so the card can
|
|
915
1031
|
* settle as a receipt rather than a promise: `paid`, the endpoint confirmed settlement (`transaction` is
|
|
916
1032
|
* the onchain hash when it stated one); `failed`, the payment was refused or settlement failed, in which
|
|
917
1033
|
* case the signed authorization expires unused and NOTHING left the wallet. A skip needs no receipt,
|
|
918
1034
|
* nothing moved, and `resolved` already says so. */
|
|
919
|
-
z.
|
|
920
|
-
kind: z.literal("payment_receipt"),
|
|
921
|
-
requestId: z.string(),
|
|
922
|
-
outcome: z.enum(["paid", "failed"]),
|
|
923
|
-
amountUsd: z.string(),
|
|
924
|
-
transaction: z.string().optional(),
|
|
925
|
-
network: z.string().optional(),
|
|
926
|
-
}),
|
|
1035
|
+
PaymentReceiptSchema.extend({ kind: z.literal("payment_receipt"), requestId: z.string() }),
|
|
927
1036
|
// The card above named by `requestId` is released, the user answered (or dismissed it, or the turn was
|
|
928
1037
|
// stopped out from under it), so the turn is executing again. Emitted by whoever parked, the moment its
|
|
929
1038
|
// waiter settles, because the park's END is otherwise invisible on this stream: nothing else here says
|