@tangle-network/agent-app 0.63.14 → 0.63.15
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/chat-routes/index.js +4 -4
- package/dist/{chunk-IRD2IVX2.js → chunk-UKVLJBP4.js} +5 -5
- package/dist/{chunk-562GGG3L.js → chunk-ZXZU32Q4.js} +45 -15
- package/dist/{chunk-562GGG3L.js.map → chunk-ZXZU32Q4.js.map} +1 -1
- package/dist/public-consultation/index.js +3 -3
- package/dist/sandbox/index.js +2 -1
- package/dist/sandbox/prompt-result.d.ts +9 -1
- package/package.json +1 -1
- /package/dist/{chunk-IRD2IVX2.js.map → chunk-UKVLJBP4.js.map} +0 -0
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createChatTurnRoutes,
|
|
3
3
|
streamChatRouteAsSandboxEvents
|
|
4
|
-
} from "../chunk-
|
|
4
|
+
} from "../chunk-UKVLJBP4.js";
|
|
5
5
|
import "../chunk-KH4QSBNI.js";
|
|
6
6
|
import "../chunk-CQGEGPY7.js";
|
|
7
7
|
import "../chunk-RN4WPTBH.js";
|
|
8
8
|
import "../chunk-WP2GYFZ4.js";
|
|
9
9
|
import "../chunk-4DBHC63F.js";
|
|
10
|
-
import "../chunk-MH74DY2I.js";
|
|
11
10
|
import "../chunk-MM6RLOXF.js";
|
|
12
|
-
import "../chunk-
|
|
11
|
+
import "../chunk-ZXZU32Q4.js";
|
|
13
12
|
import "../chunk-F4TUZYMX.js";
|
|
13
|
+
import "../chunk-MH74DY2I.js";
|
|
14
14
|
import "../chunk-N6URQ6DM.js";
|
|
15
15
|
import "../chunk-Z4RD5UF7.js";
|
|
16
16
|
import "../chunk-YG66IHDU.js";
|
package/dist/sandbox/index.js
CHANGED
|
@@ -101,10 +101,11 @@ import {
|
|
|
101
101
|
warmKey,
|
|
102
102
|
warmReceiptId,
|
|
103
103
|
warmWeekdayOf
|
|
104
|
-
} from "../chunk-
|
|
104
|
+
} from "../chunk-ZXZU32Q4.js";
|
|
105
105
|
import {
|
|
106
106
|
createWarmCache
|
|
107
107
|
} from "../chunk-F4TUZYMX.js";
|
|
108
|
+
import "../chunk-MH74DY2I.js";
|
|
108
109
|
import {
|
|
109
110
|
EGRESS_PROXY_RECOVERY_PHASE,
|
|
110
111
|
EGRESS_PROXY_RECOVERY_REQUIRED,
|
|
@@ -28,6 +28,13 @@ import { type Outcome } from './outcome';
|
|
|
28
28
|
* A blank-but-present `result.finalText` is ignored in favour of the streamed
|
|
29
29
|
* text rather than overwriting a real answer with whitespace.
|
|
30
30
|
*
|
|
31
|
+
* A turn with no answer is never returned as an empty string. It throws a
|
|
32
|
+
* `SandboxRunError` that keeps the runtime's own account: `sandbox_unconfirmed`
|
|
33
|
+
* when the stream never confirmed an end, `sandbox_failed` with the redacted
|
|
34
|
+
* failure text the stream reported, else `sandbox_empty`. The error's cause
|
|
35
|
+
* lists the event types the stream carried, so a product's failure log names
|
|
36
|
+
* what the box did.
|
|
37
|
+
*
|
|
31
38
|
* @param events raw sandbox turn events, in order
|
|
32
39
|
* @param message the prompt as handed to the stream, so an echo of it is dropped
|
|
33
40
|
* @param history folded into the dispatched prompt by `streamSandboxPrompt`;
|
|
@@ -39,7 +46,8 @@ export declare function collectSandboxPromptText(events: AsyncIterable<unknown>,
|
|
|
39
46
|
* final string. The shell's profile / model / MCP resolution and severed-stream
|
|
40
47
|
* fail-loud come from `streamSandboxPrompt`; the aggregation is
|
|
41
48
|
* `collectSandboxPromptText`, which products driving their own generator should
|
|
42
|
-
* import directly.
|
|
49
|
+
* import directly. Unlike that collector, an answer does not excuse a stream
|
|
50
|
+
* that never confirmed its end or that reported a failure.
|
|
43
51
|
*/
|
|
44
52
|
export declare function runSandboxPrompt(shell: SandboxRuntimeConfig, box: SandboxInstance, message: string | PromptInputPart[], options?: StreamSandboxPromptOptions): Promise<string>;
|
|
45
53
|
/** Define options to manage deterministic session resumption and turn idempotency in sandboxed drive turns */
|
package/package.json
CHANGED
|
File without changes
|