@invergent/agent-chat-react 2.16.1 → 2.16.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/index.cjs +12 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +12 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -1801,7 +1801,9 @@ var SIMPLE_MODE_HIDDEN_TOOLS = /* @__PURE__ */ new Set([
|
|
|
1801
1801
|
// agent accomplished, not *how*. Expert mode still has the full
|
|
1802
1802
|
// command + output block.
|
|
1803
1803
|
"terminal",
|
|
1804
|
-
"execute_code"
|
|
1804
|
+
"execute_code",
|
|
1805
|
+
// Procedure step markers are bookkeeping for the Studio canvas, not conversation.
|
|
1806
|
+
"skill_step"
|
|
1805
1807
|
]);
|
|
1806
1808
|
function isHiddenSimpleTool(tc) {
|
|
1807
1809
|
if (SIMPLE_MODE_HIDDEN_TOOLS.has(tc.toolName)) return true;
|
|
@@ -5520,7 +5522,8 @@ function cancelledToolLabel(toolName) {
|
|
|
5520
5522
|
kb_search_pages: "Knowledge base search",
|
|
5521
5523
|
kb_list_pages: "Knowledge base index",
|
|
5522
5524
|
kb_read_page: "Knowledge base page",
|
|
5523
|
-
vision_analyze: "Image analysis"
|
|
5525
|
+
vision_analyze: "Image analysis",
|
|
5526
|
+
skill_step: "Procedure step"
|
|
5524
5527
|
};
|
|
5525
5528
|
if (map[toolName]) return map[toolName];
|
|
5526
5529
|
if (toolName.startsWith("mcp__")) return formatMcpToolLabel(toolName);
|
|
@@ -5605,6 +5608,11 @@ function extractToolDetail(tc) {
|
|
|
5605
5608
|
const image = stringArg("image");
|
|
5606
5609
|
return image && !image.startsWith("data:") ? lastPathSegment(image) : null;
|
|
5607
5610
|
}
|
|
5611
|
+
case "skill_step": {
|
|
5612
|
+
const step = stringArg("step");
|
|
5613
|
+
const status = stringArg("status");
|
|
5614
|
+
return step && status ? `${step} ${status}` : null;
|
|
5615
|
+
}
|
|
5608
5616
|
case "skill_view":
|
|
5609
5617
|
case "skill_manage":
|
|
5610
5618
|
return stringArg("name") ?? stringArg("skill");
|
|
@@ -5756,6 +5764,8 @@ function toolRowLabel(tc) {
|
|
|
5756
5764
|
return detail ? `Memory ${detail}` : "Updated memory";
|
|
5757
5765
|
case "todo":
|
|
5758
5766
|
return detail ? `Todo ${detail}` : "Updated todo list";
|
|
5767
|
+
case "skill_step":
|
|
5768
|
+
return detail ? `Step ${detail}` : "Recorded a procedure step";
|
|
5759
5769
|
case "run_coding_agent":
|
|
5760
5770
|
case "code_run": {
|
|
5761
5771
|
const a = parseArgs(tc.args);
|