@visorcraft/idlehands 2.3.1 → 2.3.2
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/agent.js +4 -3
- package/dist/agent.js.map +1 -1
- package/dist/client.js +119 -20
- package/dist/client.js.map +1 -1
- package/dist/harnesses.js +1 -1
- package/dist/harnesses.js.map +1 -1
- package/package.json +1 -1
package/dist/agent.js
CHANGED
|
@@ -2144,10 +2144,10 @@ export async function createSession(opts) {
|
|
|
2144
2144
|
console.warn(`[warn] vault archive failed: ${e instanceof Error ? e.message : String(e)}`);
|
|
2145
2145
|
}
|
|
2146
2146
|
}
|
|
2147
|
-
// Skip lens+digest compaction for read_file/read_files – the model
|
|
2148
|
-
//
|
|
2147
|
+
// Skip lens+digest compaction for read_file/read_files/exec – the model
|
|
2148
|
+
// needs to see actual results in context (file content, command output).
|
|
2149
2149
|
// Context size is already bounded by max_read_lines config.
|
|
2150
|
-
const skipCompaction = toolName === 'read_file' || toolName === 'read_files';
|
|
2150
|
+
const skipCompaction = toolName === 'read_file' || toolName === 'read_files' || toolName === 'exec';
|
|
2151
2151
|
if (skipCompaction) {
|
|
2152
2152
|
return rawMsg;
|
|
2153
2153
|
}
|
|
@@ -2468,6 +2468,7 @@ export async function createSession(opts) {
|
|
|
2468
2468
|
: {}),
|
|
2469
2469
|
...(frequencyPenalty && { frequency_penalty: frequencyPenalty }),
|
|
2470
2470
|
...(presencePenalty && { presence_penalty: presencePenalty }),
|
|
2471
|
+
...(harness.toolCalls.parallelCalls && { parallel_tool_calls: true }),
|
|
2471
2472
|
},
|
|
2472
2473
|
signal: ac.signal,
|
|
2473
2474
|
requestId: `r${reqCounter}`,
|