@inkeep/agents-cli 0.19.6 → 0.19.8
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.js +9 -3
- package/package.json +3 -3
package/dist/index.js
CHANGED
|
@@ -237375,10 +237375,16 @@ async function chatCommandEnhanced(agentIdInput, options) {
|
|
|
237375
237375
|
const subAgentId = details.subAgentId || "unknown-agent";
|
|
237376
237376
|
let displayText = "";
|
|
237377
237377
|
if (opType === "completion") {
|
|
237378
|
-
displayText = `${label} (sub-agent: ${
|
|
237379
|
-
} else if (opType === "
|
|
237378
|
+
displayText = `${label} (sub-agent: ${agentId})`;
|
|
237379
|
+
} else if (opType === "tool_call") {
|
|
237380
237380
|
const toolData = details.data || {};
|
|
237381
|
-
displayText = `${label} - ${toolData.toolName || "unknown tool"}`;
|
|
237381
|
+
displayText = `${label} - ${toolData.toolName || "unknown tool"} (calling)`;
|
|
237382
|
+
} else if (opType === "tool_result") {
|
|
237383
|
+
const toolData = details.data || {};
|
|
237384
|
+
const status = toolData.error ? "failed" : "completed";
|
|
237385
|
+
displayText = `${label} - ${toolData.toolName || "unknown tool"} (${status})`;
|
|
237386
|
+
} else if (opType === "error") {
|
|
237387
|
+
displayText = `${label} - ${dataOp.data?.message || "Unknown error"}`;
|
|
237382
237388
|
} else if (opType === "agent_generate" || opType === "agent_reasoning") {
|
|
237383
237389
|
displayText = `${label}`;
|
|
237384
237390
|
} else {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-cli",
|
|
3
|
-
"version": "0.19.
|
|
3
|
+
"version": "0.19.8",
|
|
4
4
|
"description": "Inkeep CLI tool",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.js",
|
|
@@ -46,8 +46,8 @@
|
|
|
46
46
|
"recast": "^0.23.0",
|
|
47
47
|
"ts-morph": "^26.0.0",
|
|
48
48
|
"tsx": "^4.20.5",
|
|
49
|
-
"@inkeep/agents-core": "^0.19.
|
|
50
|
-
"@inkeep/agents-sdk": "^0.19.
|
|
49
|
+
"@inkeep/agents-core": "^0.19.8",
|
|
50
|
+
"@inkeep/agents-sdk": "^0.19.8"
|
|
51
51
|
},
|
|
52
52
|
"devDependencies": {
|
|
53
53
|
"@types/degit": "^2.8.6",
|