@inkeep/agents-core 0.0.0-dev-20251125022835 → 0.0.0-dev-20251125061854

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.
Files changed (2) hide show
  1. package/dist/index.js +16 -6
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -217313,9 +217313,14 @@ var createFullAgentServerSide = (db, logger10 = defaultLogger) => async (scopes,
217313
217313
  scopes: { tenantId, projectId, agentId: finalAgentId },
217314
217314
  subAgentId,
217315
217315
  toolId,
217316
- selectedTools: toolSelection || void 0,
217317
- headers: headers2 || void 0,
217318
- toolPolicies: toolPolicies || void 0,
217316
+ // Preserve null vs undefined distinction:
217317
+ // - null = all tools (updates DB to NULL)
217318
+ // - undefined = don't change (Drizzle skips field)
217319
+ // - [] = zero tools
217320
+ // - ['tool1', ...] = specific tools
217321
+ selectedTools: toolSelection,
217322
+ headers: headers2,
217323
+ toolPolicies,
217319
217324
  relationId: agentToolRelationId
217320
217325
  });
217321
217326
  logger10.info(
@@ -218048,9 +218053,14 @@ var updateFullAgentServerSide = (db, logger10 = defaultLogger) => async (scopes,
218048
218053
  scopes: { tenantId, projectId, agentId: finalAgentId },
218049
218054
  subAgentId,
218050
218055
  toolId,
218051
- selectedTools: toolSelection || void 0,
218052
- headers: headers2 || void 0,
218053
- toolPolicies: toolPolicies || void 0,
218056
+ // Preserve null vs undefined distinction:
218057
+ // - null = all tools (updates DB to NULL)
218058
+ // - undefined = don't change (Drizzle skips field)
218059
+ // - [] = zero tools
218060
+ // - ['tool1', ...] = specific tools
218061
+ selectedTools: toolSelection,
218062
+ headers: headers2,
218063
+ toolPolicies,
218054
218064
  relationId: agentToolRelationId
218055
218065
  });
218056
218066
  logger10.info(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@inkeep/agents-core",
3
- "version": "0.0.0-dev-20251125022835",
3
+ "version": "0.0.0-dev-20251125061854",
4
4
  "description": "Agents Core contains the database schema, types, and validation schemas for Inkeep Agent Framework, along with core components.",
5
5
  "type": "module",
6
6
  "license": "SEE LICENSE IN LICENSE.md",