@tangle-network/agent-app 0.60.238 → 0.60.240
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 -3
- package/dist/chat-routes/index.js.map +1 -1
- package/dist/chat-routes/turn-route-contracts.d.ts +5 -0
- package/dist/{chunk-QW6PFYJS.js → chunk-LSXJJL4I.js} +8 -3
- package/dist/chunk-LSXJJL4I.js.map +1 -0
- package/dist/{chunk-K7SKQ7GY.js → chunk-P2E5TZUZ.js} +19 -4
- package/dist/chunk-P2E5TZUZ.js.map +1 -0
- package/dist/{chunk-4JUEOVQS.js → chunk-YNM44SQC.js} +57 -31
- package/dist/chunk-YNM44SQC.js.map +1 -0
- package/dist/public-consultation/index.js +1 -1
- package/dist/rollout/cli.js +3 -3
- package/dist/rollout/cli.js.map +1 -1
- package/dist/rollout/d1.d.ts +8 -1
- package/dist/rollout/d1.js +19 -4
- package/dist/rollout/d1.js.map +1 -1
- package/dist/rollout/index.d.ts +19 -13
- package/dist/rollout/index.js +3 -1
- package/dist/sandbox/index.js +1 -1
- package/dist/sandbox/sandbox-run-tool.d.ts +4 -0
- package/package.json +1 -1
- package/dist/chunk-4JUEOVQS.js.map +0 -1
- package/dist/chunk-K7SKQ7GY.js.map +0 -1
- package/dist/chunk-QW6PFYJS.js.map +0 -1
|
@@ -43,7 +43,7 @@ import {
|
|
|
43
43
|
flattenHistory,
|
|
44
44
|
readSandboxBinaryBytes,
|
|
45
45
|
statSandboxFileSize
|
|
46
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-P2E5TZUZ.js";
|
|
47
47
|
import "../chunk-4LBCTFBP.js";
|
|
48
48
|
import {
|
|
49
49
|
ModelFailoverExhaustedError,
|
|
@@ -83,7 +83,7 @@ import {
|
|
|
83
83
|
rowIdOf,
|
|
84
84
|
storeSupportsDraftPersistence,
|
|
85
85
|
streamChatRouteAsSandboxEvents
|
|
86
|
-
} from "../chunk-
|
|
86
|
+
} from "../chunk-LSXJJL4I.js";
|
|
87
87
|
import "../chunk-TCGZFSN5.js";
|
|
88
88
|
import "../chunk-FENBDSIW.js";
|
|
89
89
|
import "../chunk-RN4WPTBH.js";
|
|
@@ -1352,7 +1352,7 @@ function createRouterTurnProducer(options) {
|
|
|
1352
1352
|
}
|
|
1353
1353
|
|
|
1354
1354
|
// src/chat-routes/hybrid-producer.ts
|
|
1355
|
-
var HYBRID_TURN_GUIDANCE = "Start your reply with text: before your first tool call, write one short sentence telling the member what you are about to do, so they never wait in silence. Use sandbox_run only for work that needs code execution or files on the workspace computer
|
|
1355
|
+
var HYBRID_TURN_GUIDANCE = "Start your reply with text: before your first tool call, write one short sentence telling the member what you are about to do, so they never wait in silence. Use sandbox_run only for work that needs code execution or files on the workspace computer. Give the sandbox agent the member's requirements, paths and exact field names, not model-written code; the sandbox agent writes and runs the code. Report what it returns.";
|
|
1356
1356
|
var DEFAULT_SANDBOX_RUN_TIMEOUT_MS = 4 * 6e4;
|
|
1357
1357
|
function startHybridBox(body, acquire) {
|
|
1358
1358
|
const attachments = (body.parts ?? []).map((part) => ({
|
|
@@ -1390,6 +1390,7 @@ function createHybridTurnProducer(options) {
|
|
|
1390
1390
|
const sandboxRun = createSandboxRunTool({
|
|
1391
1391
|
box: () => acquire(),
|
|
1392
1392
|
runTask: box.runTask,
|
|
1393
|
+
memberRequest: router.userMessage,
|
|
1393
1394
|
timeoutMs,
|
|
1394
1395
|
signal: stop,
|
|
1395
1396
|
...box.warm ? { warm: box.warm } : {},
|