@intangle/mcp-server 2.3.7 → 2.3.9

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.js CHANGED
@@ -137,9 +137,8 @@ try {
137
137
  if (!space_id) {
138
138
  throw new Error("space_id is required. Use list_spaces to see available options.");
139
139
  }
140
- return makeApiCall("search-memories", {
140
+ return makeApiCall("search", {
141
141
  space_id,
142
- space_ids: [space_id], // Convert to array for backend compatibility
143
142
  query,
144
143
  topics,
145
144
  });
@@ -164,7 +164,7 @@ export const TOOLS = [
164
164
  },
165
165
  add: {
166
166
  type: "object",
167
- description: "Add new items to context with automatic intelligent classification and topic suggestion",
167
+ description: "Add new items. ALWAYS pass 'type' field on each item to skip expensive auto-classification.",
168
168
  properties: {
169
169
  items: {
170
170
  type: "array",
@@ -174,7 +174,12 @@ export const TOOLS = [
174
174
  title: { type: "string", description: "Item title" },
175
175
  content: {
176
176
  type: "string",
177
- description: "Item content - system automatically classifies as task (actionable), context (knowledge), or skill (workflow/procedure) and suggests relevant topics. VALUABLE CONTENT INCLUDES: decisions and their reasoning, user preferences observed, lessons learned, process descriptions, meeting outcomes, project context, expertise areas, working patterns, and anything that would help future sessions understand this user/space better."
177
+ description: "Item content. VALUABLE CONTENT INCLUDES: decisions and their reasoning, user preferences observed, lessons learned, process descriptions, meeting outcomes, project context, expertise areas, working patterns, and anything that would help future sessions understand this user/space better."
178
+ },
179
+ type: {
180
+ type: "string",
181
+ enum: ["task", "context", "skill", "document"],
182
+ description: "REQUIRED: Item type. 'task' for actionable items, 'context' for knowledge/facts, 'skill' for workflows, 'document' for long-form reference material. Omitting this triggers expensive auto-classification."
178
183
  },
179
184
  subtasks: {
180
185
  type: "array",
@@ -212,7 +217,7 @@ export const TOOLS = [
212
217
  },
213
218
  required: ["title", "content"]
214
219
  },
215
- description: "Array of items to add. System intelligently: (1) classifies as task, context, or skill, (2) suggests 1-3 relevant topics based on content and existing topics. Examples: 'Need to fix auth bug' → task with topics like 'authentication', 'bug-fix'. 'Learned React batches updates' → context with topics like 'react', 'learning'. Tasks can include subtasks array for hierarchical task management."
220
+ description: "Array of items to add. ALWAYS pass 'type' field to skip auto-classification. System suggests 1-3 relevant topics based on content. Tasks can include subtasks array for hierarchical task management."
216
221
  }
217
222
  }
218
223
  },
package/index.ts CHANGED
@@ -186,9 +186,8 @@ try {
186
186
  )
187
187
  }
188
188
 
189
- return makeApiCall("search-memories", {
189
+ return makeApiCall("search", {
190
190
  space_id,
191
- space_ids: [space_id], // Convert to array for backend compatibility
192
191
  query,
193
192
  topics,
194
193
  })
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "2.3.7",
3
+ "version": "2.3.9",
4
4
  "description": "Model Context Protocol server for Intangle - AI context that persists across conversations",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -187,7 +187,7 @@ export const TOOLS = [
187
187
  add: {
188
188
  type: "object",
189
189
  description:
190
- "Add new items to context with automatic intelligent classification and topic suggestion",
190
+ "Add new items. ALWAYS pass 'type' field on each item to skip expensive auto-classification.",
191
191
  properties: {
192
192
  items: {
193
193
  type: "array",
@@ -198,7 +198,13 @@ export const TOOLS = [
198
198
  content: {
199
199
  type: "string",
200
200
  description:
201
- "Item content - system automatically classifies as task (actionable), context (knowledge), or skill (workflow/procedure) and suggests relevant topics. VALUABLE CONTENT INCLUDES: decisions and their reasoning, user preferences observed, lessons learned, process descriptions, meeting outcomes, project context, expertise areas, working patterns, and anything that would help future sessions understand this user/space better."
201
+ "Item content. VALUABLE CONTENT INCLUDES: decisions and their reasoning, user preferences observed, lessons learned, process descriptions, meeting outcomes, project context, expertise areas, working patterns, and anything that would help future sessions understand this user/space better."
202
+ },
203
+ type: {
204
+ type: "string",
205
+ enum: ["task", "context", "skill", "document"],
206
+ description:
207
+ "REQUIRED: Item type. 'task' for actionable items, 'context' for knowledge/facts, 'skill' for workflows, 'document' for long-form reference material. Omitting this triggers expensive auto-classification."
202
208
  },
203
209
  subtasks: {
204
210
  type: "array",
@@ -242,7 +248,7 @@ export const TOOLS = [
242
248
  required: ["title", "content"]
243
249
  },
244
250
  description:
245
- "Array of items to add. System intelligently: (1) classifies as task, context, or skill, (2) suggests 1-3 relevant topics based on content and existing topics. Examples: 'Need to fix auth bug' → task with topics like 'authentication', 'bug-fix'. 'Learned React batches updates' → context with topics like 'react', 'learning'. Tasks can include subtasks array for hierarchical task management."
251
+ "Array of items to add. ALWAYS pass 'type' field to skip auto-classification. System suggests 1-3 relevant topics based on content. Tasks can include subtasks array for hierarchical task management."
246
252
  }
247
253
  }
248
254
  },