@coffer-org/server 7.5.0 → 7.6.0

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.
@@ -266,7 +266,7 @@ export async function handleIncoming(connector, turn, deps) {
266
266
  try {
267
267
  const attachmentTools = await makeAttachmentCapabilities(agentMessages.flatMap((m) => m.attachments ?? []), agentMedia());
268
268
  const toolProvider = {
269
- tools: [...attachmentTools.tools, ...makeSystemCapabilities().tools],
269
+ tools: [...attachmentTools.tools, ...makeSystemCapabilities().tools, ...(turn.toolProvider?.tools ?? [])],
270
270
  };
271
271
  const userMessageCount = await countUserMessages(conversationId);
272
272
  agentTurn = {
@@ -146,6 +146,7 @@ export interface TurnRequest {
146
146
  capabilities?: ConnectorCapabilities;
147
147
  systemPrompt?: SystemAreas;
148
148
  turnContext?: ContextFact[];
149
+ toolProvider?: AgentToolProvider;
149
150
  agentId?: string;
150
151
  presetId?: string;
151
152
  signal?: AbortSignal;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@coffer-org/server",
3
- "version": "7.5.0",
3
+ "version": "7.6.0",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=24"