@tangle-network/agent-app 0.63.47 → 0.63.48

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.
@@ -27,7 +27,7 @@ import {
27
27
  sandboxRunFailureDetail,
28
28
  streamSandboxPrompt,
29
29
  turnStorageBindings
30
- } from "./chunk-HHIEHETJ.js";
30
+ } from "./chunk-GQW4DBFS.js";
31
31
  import {
32
32
  redactErrorMessage
33
33
  } from "./chunk-MH74DY2I.js";
@@ -3936,4 +3936,4 @@ export {
3936
3936
  createChatTurnRoutes,
3937
3937
  streamChatRouteAsSandboxEvents
3938
3938
  };
3939
- //# sourceMappingURL=chunk-IMFJMFHK.js.map
3939
+ //# sourceMappingURL=chunk-LCOKBYAS.js.map
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  createChatTurnRoutes,
3
3
  streamChatRouteAsSandboxEvents
4
- } from "../chunk-IMFJMFHK.js";
4
+ } from "../chunk-LCOKBYAS.js";
5
5
  import "../chunk-CWO2LHXH.js";
6
6
  import "../chunk-H6BRJU5M.js";
7
7
  import "../chunk-4DBHC63F.js";
8
8
  import "../chunk-RN4WPTBH.js";
9
9
  import "../chunk-MM6RLOXF.js";
10
- import "../chunk-HHIEHETJ.js";
10
+ import "../chunk-GQW4DBFS.js";
11
11
  import "../chunk-F4TUZYMX.js";
12
12
  import "../chunk-MH74DY2I.js";
13
13
  import "../chunk-BMCC2BUP.js";
@@ -112,7 +112,7 @@ import {
112
112
  warmKey,
113
113
  warmReceiptId,
114
114
  warmWeekdayOf
115
- } from "../chunk-HHIEHETJ.js";
115
+ } from "../chunk-GQW4DBFS.js";
116
116
  import {
117
117
  createWarmCache
118
118
  } from "../chunk-F4TUZYMX.js";
@@ -39,8 +39,11 @@ import { type Outcome } from './outcome';
39
39
  * @param message the prompt as handed to the stream, so an echo of it is dropped
40
40
  * @param history folded into the dispatched prompt by `streamSandboxPrompt`;
41
41
  * pass whatever was passed there, since the echo replays the FOLDED text
42
+ * @param observe called with each raw event before it is folded
42
43
  */
43
- export declare function collectSandboxPromptText(events: AsyncIterable<unknown>, message: string | PromptInputPart[], history?: StreamSandboxPromptOptions['history']): Promise<string>;
44
+ export declare function collectSandboxPromptText(events: AsyncIterable<unknown>, message: string | PromptInputPart[], history?: StreamSandboxPromptOptions['history'],
45
+ /** Sees every raw event as it arrives, so a product can stream progress without forking the fold. */
46
+ observe?: (event: unknown) => void): Promise<string>;
44
47
  /**
45
48
  * Resolve a sandbox prompt by streaming it and aggregating the turn down to one
46
49
  * final string. The shell's profile / model / MCP resolution and severed-stream
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tangle-network/agent-app",
3
- "version": "0.63.47",
3
+ "version": "0.63.48",
4
4
  "packageManager": "pnpm@11.28.8",
5
5
  "description": "Build agent applications with typed chat, tools, sandboxes, integrations, billing, and evaluation.",
6
6
  "keywords": [