@inkeep/agents-sdk 0.0.0-dev-20250912184739 → 0.0.0-dev-20250912191101

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 CHANGED
@@ -1295,14 +1295,10 @@ var AgentGraph = class {
1295
1295
  for (const [toolName, toolInstance] of Object.entries(agentTools)) {
1296
1296
  if (toolInstance && typeof toolInstance === "object") {
1297
1297
  let toolId;
1298
- if ("server" in toolInstance && "selectedTools" in toolInstance) {
1299
- const mcpConfig = toolInstance;
1300
- toolId = mcpConfig.server.getId();
1301
- if (mcpConfig.selectedTools !== void 0) {
1302
- selectedToolsMapping[toolId] = mcpConfig.selectedTools;
1303
- }
1304
- } else {
1305
- toolId = toolInstance.getId?.() || toolInstance.id || toolName;
1298
+ toolId = toolInstance.getId?.() || toolInstance.id;
1299
+ if ("selectedTools" in toolInstance && toolInstance.selectedTools !== void 0) {
1300
+ logger7.info({ toolId, selectedTools: toolInstance.selectedTools }, "Selected tools");
1301
+ selectedToolsMapping[toolId] = toolInstance.selectedTools;
1306
1302
  }
1307
1303
  tools.push(toolId);
1308
1304
  }
package/dist/index.js CHANGED
@@ -1293,14 +1293,10 @@ var AgentGraph = class {
1293
1293
  for (const [toolName, toolInstance] of Object.entries(agentTools)) {
1294
1294
  if (toolInstance && typeof toolInstance === "object") {
1295
1295
  let toolId;
1296
- if ("server" in toolInstance && "selectedTools" in toolInstance) {
1297
- const mcpConfig = toolInstance;
1298
- toolId = mcpConfig.server.getId();
1299
- if (mcpConfig.selectedTools !== void 0) {
1300
- selectedToolsMapping[toolId] = mcpConfig.selectedTools;
1301
- }
1302
- } else {
1303
- toolId = toolInstance.getId?.() || toolInstance.id || toolName;
1296
+ toolId = toolInstance.getId?.() || toolInstance.id;
1297
+ if ("selectedTools" in toolInstance && toolInstance.selectedTools !== void 0) {
1298
+ logger7.info({ toolId, selectedTools: toolInstance.selectedTools }, "Selected tools");
1299
+ selectedToolsMapping[toolId] = toolInstance.selectedTools;
1304
1300
  }
1305
1301
  tools.push(toolId);
1306
1302
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-sdk",
3
- "version": "0.0.0-dev-20250912184739",
3
+ "version": "0.0.0-dev-20250912191101",
4
4
  "description": "Agents SDK for building and managing agents in the Inkeep Agent Framework",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -8,7 +8,7 @@
8
8
  "dependencies": {
9
9
  "nanoid": "^5.1.5",
10
10
  "zod": "^4.1.5",
11
- "@inkeep/agents-core": "^0.0.0-dev-20250912184739"
11
+ "@inkeep/agents-core": "^0.0.0-dev-20250912191101"
12
12
  },
13
13
  "devDependencies": {
14
14
  "@types/node": "^20.11.24",