@bluecopa/harness 0.1.0-snapshot.124 → 0.1.0-snapshot.126
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/arc/app-adapter.d.ts +1 -1
- package/dist/arc/create-arc-agent.d.ts +1 -1
- package/dist/arc/create-arc-agent.js +3 -2
- package/dist/arc/create-arc-agent.js.map +1 -1
- package/dist/arc/profile-builder.d.ts +1 -1
- package/dist/arc/profile-builder.js.map +1 -1
- package/dist/loop/vercel-agent-loop.d.ts +1 -1
- package/dist/loop/vercel-agent-loop.js +1 -1
- package/dist/loop/vercel-agent-loop.js.map +1 -1
- package/dist/{types-DtF5XMs7.d.ts → types-B9-u3Kmc.d.ts} +1 -0
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { j as ArcLoopConfig, g as AgentMessage, A as ArcEvent, k as ArcRunResult, l as TraceEvent } from '../types-
|
|
1
|
+
import { j as ArcLoopConfig, g as AgentMessage, A as ArcEvent, k as ArcRunResult, l as TraceEvent } from '../types-B9-u3Kmc.js';
|
|
2
2
|
import 'zod';
|
|
3
3
|
import './profile-graph.js';
|
|
4
4
|
import 'ai';
|
|
@@ -115,7 +115,7 @@ function estimateMessagesTokens(messages) {
|
|
|
115
115
|
|
|
116
116
|
// src/arc/types.ts
|
|
117
117
|
function resolveToolChoice(config, turn) {
|
|
118
|
-
if (!config) return
|
|
118
|
+
if (!config) return "auto";
|
|
119
119
|
return typeof config === "function" ? config(turn) : config;
|
|
120
120
|
}
|
|
121
121
|
function isProfileDeclaration(p) {
|
|
@@ -2464,7 +2464,8 @@ var AgentRunner = class {
|
|
|
2464
2464
|
priorToolCalls.push({
|
|
2465
2465
|
name: action.name,
|
|
2466
2466
|
args: action.args,
|
|
2467
|
-
ok: toolResult.success
|
|
2467
|
+
ok: toolResult.success,
|
|
2468
|
+
...toolResult.error != null ? { error: toolResult.error } : {}
|
|
2468
2469
|
});
|
|
2469
2470
|
}
|
|
2470
2471
|
executedToolCalls += toolCallInfos.filter((tc) => tc.toolName !== OUTPUT_TOOL_NAME2).length;
|