@intangle/mcp-server 2.3.1 → 2.3.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.
package/dist/index.js CHANGED
@@ -183,8 +183,8 @@ try {
183
183
  if (!args.space_id) {
184
184
  throw new Error("space_id is required. Use view_spaces to see available options.");
185
185
  }
186
- if (!args.add && !args.update && !args.delete) {
187
- throw new Error("At least one operation (add, update, delete) must be provided");
186
+ if (!args.add && !args.update && !args.delete && !args.link && !args.unlink) {
187
+ throw new Error("At least one operation must be provided");
188
188
  }
189
189
  // Pass through to API with new structure
190
190
  return makeApiCall("update-memory", {
@@ -192,6 +192,8 @@ try {
192
192
  add: args.add,
193
193
  update: args.update,
194
194
  delete: args.delete,
195
+ link: args.link,
196
+ unlink: args.unlink,
195
197
  });
196
198
  }
197
199
  server.setRequestHandler(CallToolRequestSchema, async (request) => {
@@ -233,10 +233,19 @@ export const TOOLS = [
233
233
  enum: ["urgent", "high", "medium", "low"],
234
234
  description: "New priority (optional, tasks only)",
235
235
  },
236
+ assignee_id: {
237
+ type: "string",
238
+ description: "Assignee ID (user or agent ID). Set to null to unassign. (optional, tasks only)",
239
+ },
240
+ assignee_type: {
241
+ type: "string",
242
+ enum: ["agent", "user"],
243
+ description: "Type of assignee (optional, tasks only)",
244
+ },
236
245
  },
237
246
  required: ["id"],
238
247
  },
239
- description: "Array of items to update. Type automatically detected from ID prefix (mem_* = context, task_* = task, skill_* = skill). For context/skill items, status/priority are ignored.",
248
+ description: "Array of items to update. Type automatically detected from ID prefix (mem_* = context, task_* = task, skill_* = skill). For context/skill items, status/priority/assignee are ignored.",
240
249
  },
241
250
  },
242
251
  },
@@ -255,4 +264,23 @@ export const TOOLS = [
255
264
  required: ["space_id"],
256
265
  },
257
266
  },
267
+ {
268
+ name: "memory_action",
269
+ title: "Memory Action (OHM Protocol)",
270
+ description: "Perform memory operations using natural language. Add, update, delete items, fetch details, view topics. The system parses your intent into structured actions. Do NOT use for search - context comes from background activation.",
271
+ inputSchema: {
272
+ type: "object",
273
+ properties: {
274
+ space_id: {
275
+ type: "string",
276
+ description: "The space to operate in",
277
+ },
278
+ intent: {
279
+ type: "string",
280
+ description: "Natural language description of the memory operation (e.g., 'add a task to fix the login bug', 'mark task_123 as completed', 'delete mem_456')",
281
+ },
282
+ },
283
+ required: ["space_id", "intent"],
284
+ },
285
+ },
258
286
  ];
package/index.ts CHANGED
@@ -253,9 +253,9 @@ try {
253
253
  )
254
254
  }
255
255
 
256
- if (!args.add && !args.update && !args.delete) {
256
+ if (!args.add && !args.update && !args.delete && !args.link && !args.unlink) {
257
257
  throw new Error(
258
- "At least one operation (add, update, delete) must be provided"
258
+ "At least one operation must be provided"
259
259
  )
260
260
  }
261
261
 
@@ -265,6 +265,8 @@ try {
265
265
  add: args.add,
266
266
  update: args.update,
267
267
  delete: args.delete,
268
+ link: args.link,
269
+ unlink: args.unlink,
268
270
  })
269
271
  }
270
272
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@intangle/mcp-server",
3
- "version": "2.3.1",
3
+ "version": "2.3.3",
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",
@@ -254,10 +254,19 @@ export const TOOLS = [
254
254
  enum: ["urgent", "high", "medium", "low"],
255
255
  description: "New priority (optional, tasks only)",
256
256
  },
257
+ assignee_id: {
258
+ type: "string",
259
+ description: "Assignee ID (user or agent ID). Set to null to unassign. (optional, tasks only)",
260
+ },
261
+ assignee_type: {
262
+ type: "string",
263
+ enum: ["agent", "user"],
264
+ description: "Type of assignee (optional, tasks only)",
265
+ },
257
266
  },
258
267
  required: ["id"],
259
268
  },
260
- description: "Array of items to update. Type automatically detected from ID prefix (mem_* = context, task_* = task, skill_* = skill). For context/skill items, status/priority are ignored.",
269
+ description: "Array of items to update. Type automatically detected from ID prefix (mem_* = context, task_* = task, skill_* = skill). For context/skill items, status/priority/assignee are ignored.",
261
270
  },
262
271
  },
263
272
  },
@@ -276,4 +285,25 @@ export const TOOLS = [
276
285
  required: ["space_id"],
277
286
  },
278
287
  },
288
+ {
289
+ name: "memory_action",
290
+ title: "Memory Action (OHM Protocol)",
291
+ description:
292
+ "Perform memory operations using natural language. Add, update, delete items, fetch details, view topics. The system parses your intent into structured actions. Do NOT use for search - context comes from background activation.",
293
+ inputSchema: {
294
+ type: "object",
295
+ properties: {
296
+ space_id: {
297
+ type: "string",
298
+ description: "The space to operate in",
299
+ },
300
+ intent: {
301
+ type: "string",
302
+ description:
303
+ "Natural language description of the memory operation (e.g., 'add a task to fix the login bug', 'mark task_123 as completed', 'delete mem_456')",
304
+ },
305
+ },
306
+ required: ["space_id", "intent"],
307
+ },
308
+ },
279
309
  ];