poe-code 3.0.269 → 3.0.271
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/cli/commands/agent.js +3 -31
- package/dist/cli/commands/agent.js.map +1 -1
- package/dist/index.js +1143 -909
- package/dist/index.js.map +4 -4
- package/dist/metafile.json +1 -1
- package/dist/providers/gemini-cli.js +10 -8
- package/dist/providers/gemini-cli.js.map +2 -2
- package/dist/providers/poe-agent.js +1 -0
- package/dist/providers/poe-agent.js.map +2 -2
- package/package.json +1 -1
- package/packages/agent-eval/dist/check/check.js +3 -0
- package/packages/agent-eval/dist/report/load.js +116 -2
- package/packages/agent-eval/dist/run/fixture-copy.d.ts +1 -0
- package/packages/agent-eval/dist/run/fixture-copy.js +24 -0
- package/packages/agent-eval/dist/run/run.js +2 -0
- package/packages/agent-eval/dist/schema.js +61 -20
- package/packages/agent-eval/dist/source/config.js +43 -1
- package/packages/agent-eval/dist/source/registry.js +3 -0
- package/packages/agent-spawn/dist/acp/session-update-converter.d.ts +7 -4
- package/packages/agent-spawn/dist/acp/session-update-converter.js +16 -14
- package/packages/agent-spawn/dist/acp/types.d.ts +15 -3
- package/packages/agent-spawn/dist/index.d.ts +2 -0
- package/packages/agent-spawn/dist/index.js +1 -0
|
@@ -12434,7 +12434,7 @@ function createToolRenderState() {
|
|
|
12434
12434
|
}
|
|
12435
12435
|
function toRenderKind(kind) {
|
|
12436
12436
|
if (kind === "execute") return "exec";
|
|
12437
|
-
if (kind === "write") return "edit";
|
|
12437
|
+
if (kind === "write" || kind === "edit") return "edit";
|
|
12438
12438
|
if (kind === "read") return "read";
|
|
12439
12439
|
return "other";
|
|
12440
12440
|
}
|
|
@@ -12493,15 +12493,17 @@ function sessionUpdateToEvents(update, state) {
|
|
|
12493
12493
|
return [];
|
|
12494
12494
|
}
|
|
12495
12495
|
state.startedToolCalls.add(update.toolCallId);
|
|
12496
|
-
return [
|
|
12497
|
-
|
|
12498
|
-
|
|
12499
|
-
|
|
12500
|
-
|
|
12501
|
-
|
|
12496
|
+
return [
|
|
12497
|
+
{
|
|
12498
|
+
event: "tool_start",
|
|
12499
|
+
kind: renderKind,
|
|
12500
|
+
title,
|
|
12501
|
+
id: update.toolCallId
|
|
12502
|
+
}
|
|
12503
|
+
];
|
|
12502
12504
|
}
|
|
12503
12505
|
if (update.sessionUpdate === "tool_call_update") {
|
|
12504
|
-
const renderKind =
|
|
12506
|
+
const renderKind = (update.kind == null ? void 0 : toRenderKind(update.kind)) || state.toolCallKinds.get(update.toolCallId) || "other";
|
|
12505
12507
|
state.toolCallKinds.set(update.toolCallId, renderKind);
|
|
12506
12508
|
const events = [];
|
|
12507
12509
|
const toolTitle = toToolTitle(
|