@tangle-network/agent-app 0.60.238 → 0.60.239

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.
@@ -43,7 +43,7 @@ import {
43
43
  flattenHistory,
44
44
  readSandboxBinaryBytes,
45
45
  statSandboxFileSize
46
- } from "../chunk-K7SKQ7GY.js";
46
+ } from "../chunk-GNWGP3PA.js";
47
47
  import "../chunk-4LBCTFBP.js";
48
48
  import {
49
49
  ModelFailoverExhaustedError,
@@ -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; describe the whole task in it and report what it returns.";
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 } : {},