@inkeep/agents-run-api 0.0.0-dev-20251013194020 → 0.0.0-dev-20251013201931
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 +5 -5
- package/dist/index.js +5 -5
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -3937,7 +3937,7 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
|
|
|
3937
3937
|
"agent_session.id": this.sessionId,
|
|
3938
3938
|
"artifact.id": artifactData.artifactId,
|
|
3939
3939
|
"artifact.type": artifactData.artifactType || "unknown",
|
|
3940
|
-
"artifact.
|
|
3940
|
+
"artifact.sub_agent_id": artifactData.subAgentId || "unknown",
|
|
3941
3941
|
"artifact.tool_call_id": artifactData.metadata?.toolCallId || "unknown",
|
|
3942
3942
|
"artifact.data": JSON.stringify(artifactData.data, null, 2),
|
|
3943
3943
|
"tenant.id": artifactData.tenantId || "unknown",
|
|
@@ -7597,7 +7597,7 @@ var Agent = class {
|
|
|
7597
7597
|
"conversation.id": this.conversationId,
|
|
7598
7598
|
"tool.purpose": toolDefinition.description || "No description provided",
|
|
7599
7599
|
"ai.toolType": toolType || "unknown",
|
|
7600
|
-
"ai.
|
|
7600
|
+
"ai.subAgentName": this.config.name || "unknown",
|
|
7601
7601
|
"agent.id": this.config.agentId || "unknown"
|
|
7602
7602
|
});
|
|
7603
7603
|
}
|
|
@@ -7884,7 +7884,7 @@ var Agent = class {
|
|
|
7884
7884
|
originalToolName: tool3.name
|
|
7885
7885
|
}),
|
|
7886
7886
|
"ai.toolType": "mcp",
|
|
7887
|
-
"ai.
|
|
7887
|
+
"ai.subAgentName": this.config.name || "unknown",
|
|
7888
7888
|
"conversation.id": this.conversationId || "unknown",
|
|
7889
7889
|
"agent.id": this.config.agentId || "unknown",
|
|
7890
7890
|
"tenant.id": this.config.tenantId || "unknown",
|
|
@@ -8606,7 +8606,7 @@ var Agent = class {
|
|
|
8606
8606
|
"agent.load_tools",
|
|
8607
8607
|
{
|
|
8608
8608
|
attributes: {
|
|
8609
|
-
"
|
|
8609
|
+
"subAgent.name": this.config.name,
|
|
8610
8610
|
"session.id": sessionId
|
|
8611
8611
|
}
|
|
8612
8612
|
},
|
|
@@ -10761,7 +10761,7 @@ var ExecutionHandler = class {
|
|
|
10761
10761
|
span.setAttributes({
|
|
10762
10762
|
"ai.response.content": textContent || "No response content",
|
|
10763
10763
|
"ai.response.timestamp": (/* @__PURE__ */ new Date()).toISOString(),
|
|
10764
|
-
"ai.
|
|
10764
|
+
"ai.subAgent.name": currentAgentId
|
|
10765
10765
|
});
|
|
10766
10766
|
await agentsCore.createMessage(dbClient_default)({
|
|
10767
10767
|
id: nanoid.nanoid(),
|
package/dist/index.js
CHANGED
|
@@ -3023,7 +3023,7 @@ ${this.statusUpdateState?.config.prompt?.trim() || ""}`;
|
|
|
3023
3023
|
"agent_session.id": this.sessionId,
|
|
3024
3024
|
"artifact.id": artifactData.artifactId,
|
|
3025
3025
|
"artifact.type": artifactData.artifactType || "unknown",
|
|
3026
|
-
"artifact.
|
|
3026
|
+
"artifact.sub_agent_id": artifactData.subAgentId || "unknown",
|
|
3027
3027
|
"artifact.tool_call_id": artifactData.metadata?.toolCallId || "unknown",
|
|
3028
3028
|
"artifact.data": JSON.stringify(artifactData.data, null, 2),
|
|
3029
3029
|
"tenant.id": artifactData.tenantId || "unknown",
|
|
@@ -6658,7 +6658,7 @@ var Agent = class {
|
|
|
6658
6658
|
"conversation.id": this.conversationId,
|
|
6659
6659
|
"tool.purpose": toolDefinition.description || "No description provided",
|
|
6660
6660
|
"ai.toolType": toolType || "unknown",
|
|
6661
|
-
"ai.
|
|
6661
|
+
"ai.subAgentName": this.config.name || "unknown",
|
|
6662
6662
|
"agent.id": this.config.agentId || "unknown"
|
|
6663
6663
|
});
|
|
6664
6664
|
}
|
|
@@ -6945,7 +6945,7 @@ var Agent = class {
|
|
|
6945
6945
|
originalToolName: tool3.name
|
|
6946
6946
|
}),
|
|
6947
6947
|
"ai.toolType": "mcp",
|
|
6948
|
-
"ai.
|
|
6948
|
+
"ai.subAgentName": this.config.name || "unknown",
|
|
6949
6949
|
"conversation.id": this.conversationId || "unknown",
|
|
6950
6950
|
"agent.id": this.config.agentId || "unknown",
|
|
6951
6951
|
"tenant.id": this.config.tenantId || "unknown",
|
|
@@ -7667,7 +7667,7 @@ var Agent = class {
|
|
|
7667
7667
|
"agent.load_tools",
|
|
7668
7668
|
{
|
|
7669
7669
|
attributes: {
|
|
7670
|
-
"
|
|
7670
|
+
"subAgent.name": this.config.name,
|
|
7671
7671
|
"session.id": sessionId
|
|
7672
7672
|
}
|
|
7673
7673
|
},
|
|
@@ -9808,7 +9808,7 @@ var ExecutionHandler = class {
|
|
|
9808
9808
|
span.setAttributes({
|
|
9809
9809
|
"ai.response.content": textContent || "No response content",
|
|
9810
9810
|
"ai.response.timestamp": (/* @__PURE__ */ new Date()).toISOString(),
|
|
9811
|
-
"ai.
|
|
9811
|
+
"ai.subAgent.name": currentAgentId
|
|
9812
9812
|
});
|
|
9813
9813
|
await createMessage(dbClient_default)({
|
|
9814
9814
|
id: nanoid(),
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@inkeep/agents-run-api",
|
|
3
|
-
"version": "0.0.0-dev-
|
|
3
|
+
"version": "0.0.0-dev-20251013201931",
|
|
4
4
|
"description": "Agents Run API for Inkeep Agent Framework - handles chat, agent execution, and streaming",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
"traverse": "^0.6.11",
|
|
52
52
|
"ts-pattern": "^5.7.1",
|
|
53
53
|
"zod": "^4.1.11",
|
|
54
|
-
"@inkeep/agents-core": "^0.0.0-dev-
|
|
54
|
+
"@inkeep/agents-core": "^0.0.0-dev-20251013201931"
|
|
55
55
|
},
|
|
56
56
|
"optionalDependencies": {
|
|
57
57
|
"keytar": "^7.9.0"
|