clementine-agent 1.13.2 → 1.13.3

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.
@@ -54,10 +54,15 @@ async function buildOne(composio, slug, _connected) {
54
54
  // mcp__outlook__OUTLOOK_LIST_MESSAGES. The alternative, composio.create()
55
55
  // + session.tools(), uses Composio's tool-router pattern and only returns
56
56
  // 5 meta-tools (COMPOSIO_SEARCH_TOOLS, COMPOSIO_MULTI_EXECUTE_TOOL, …),
57
- // which doesn't match what the agent calls. Verified empirically:
58
- // tools.get returns 50+ actual Outlook tools.
57
+ // which doesn't match what the agent calls.
58
+ //
59
+ // Limit MUST be high enough to include every alphabetically-late tool.
60
+ // Outlook has ~400+ tools; capping at 200 silently dropped the message-
61
+ // reading tools (OUTLOOK_LIST_MESSAGES, OUTLOOK_GET_MESSAGES, etc.) which
62
+ // alphabetically come after OUTLOOK_LIST_CALENDAR_GROUP_*. GitHub has
63
+ // 800+. Set 1000 — comfortable headroom for any single toolkit.
59
64
  const userId = await getPreferredUserId();
60
- const toolsRaw = await composio.tools.get(userId, { toolkits: [slug], limit: 200 });
65
+ const toolsRaw = await composio.tools.get(userId, { toolkits: [slug], limit: 1000 });
61
66
  // tools.get can return an array OR an object depending on provider; normalise.
62
67
  const toolsArr = Array.isArray(toolsRaw) ? toolsRaw : Object.values(toolsRaw);
63
68
  const tools = toolsArr.filter((t) => t && typeof t.name === 'string' && typeof t.handler === 'function');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clementine-agent",
3
- "version": "1.13.2",
3
+ "version": "1.13.3",
4
4
  "description": "Clementine — Personal AI Assistant (TypeScript)",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",