@tangle-network/agent-app 0.46.30 → 0.46.31

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.
@@ -521,6 +521,11 @@ export interface ChatTurnRoutes {
521
521
  * running (and buffering) after a client disconnect. */
522
522
  turn(request: Request, ctx?: {
523
523
  waitUntil?(p: Promise<unknown>): void;
524
+ /**
525
+ * Abort this turn when the caller disconnects. Gateway adapters set this
526
+ * explicitly; browser callers omit it so the durable drain continues.
527
+ */
528
+ cancelOnDisconnect?: boolean;
524
529
  }): Promise<Response>;
525
530
  /** GET — replay a buffered turn from `?fromSeq=` (0 = everything), then
526
531
  * follow it live until it completes. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.46.30",
3
+ "version": "0.46.31",
4
4
  "packageManager": "pnpm@11.24.0",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [