@lovelybunch/mcp 1.0.75-alpha.8 → 1.0.75

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.
@@ -2,7 +2,7 @@
2
2
  * Architecture Context tool for MCP - READ + WRITE
3
3
  * Allows the AI assistant to read and update the architecture document (.nut/context/architecture.md)
4
4
  */
5
- import type { MCPTool } from './proposals-tool.js';
5
+ import type { MCPTool } from './tasks-tool.js';
6
6
  /**
7
7
  * Architecture context tool for AI assistant.
8
8
  * Read and update the core architecture document.
@@ -1 +1 @@
1
- {"version":3,"file":"architecture-context-tool.d.ts","sourceRoot":"","sources":["../src/architecture-context-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,OA0BrC,CAAA"}
1
+ {"version":3,"file":"architecture-context-tool.d.ts","sourceRoot":"","sources":["../src/architecture-context-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,uBAAuB,EAAE,OA0BrC,CAAA"}
@@ -2,7 +2,7 @@
2
2
  * Events tool for MCP - READ ONLY
3
3
  * Allows the AI assistant to read recent activity/events from the Coconut instance
4
4
  */
5
- import type { MCPTool } from './proposals-tool.js';
5
+ import type { MCPTool } from './tasks-tool.js';
6
6
  /**
7
7
  * Read-only events tool for AI assistant.
8
8
  * Returns recent activity events, most recent first.
@@ -1 +1 @@
1
- {"version":3,"file":"events-tool.d.ts","sourceRoot":"","sources":["../src/events-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,OAuBxB,CAAA"}
1
+ {"version":3,"file":"events-tool.d.ts","sourceRoot":"","sources":["../src/events-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,UAAU,EAAE,OAuBxB,CAAA"}
package/dist/index.d.ts CHANGED
@@ -1,9 +1,10 @@
1
- export { proposalsTool, proposalsReadOnlyTool, proposalsFullTool, listProposalsTool, validateProposalData, createToolCall } from './proposals-tool.js';
1
+ export { tasksTool, tasksReadOnlyTool, tasksFullTool, listTasksTool, validateTaskData, createToolCall } from './tasks-tool.js';
2
2
  export { eventsTool } from './events-tool.js';
3
3
  export { projectContextTool } from './project-context-tool.js';
4
4
  export { architectureContextTool } from './architecture-context-tool.js';
5
5
  export { roleContextTool } from './role-context-tool.js';
6
6
  export { knowledgeTool, createKnowledgeToolCall, normalizeKnowledgeMetadata, buildKnowledgeActionPayload } from './knowledge-tool.js';
7
7
  export type { KnowledgeActionPayload, KnowledgeActionType, KnowledgeDocument, KnowledgeDocumentMetadata } from './knowledge-tool.js';
8
- export type { MCPTool, MCPToolCall } from './proposals-tool.js';
8
+ export { resourcesTool } from './resources-tool.js';
9
+ export type { MCPTool, MCPToolCall } from './tasks-tool.js';
9
10
  //# sourceMappingURL=index.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACtJ,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC9H,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,qBAAqB,CAAA;AAC5B,YAAY,EACV,sBAAsB,EACtB,mBAAmB,EACnB,iBAAiB,EACjB,yBAAyB,EAC1B,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA;AACnD,YAAY,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAA"}
package/dist/index.js CHANGED
@@ -1,7 +1,8 @@
1
- export { proposalsTool, proposalsReadOnlyTool, proposalsFullTool, listProposalsTool, validateProposalData, createToolCall } from './proposals-tool.js';
1
+ export { tasksTool, tasksReadOnlyTool, tasksFullTool, listTasksTool, validateTaskData, createToolCall } from './tasks-tool.js';
2
2
  export { eventsTool } from './events-tool.js';
3
3
  export { projectContextTool } from './project-context-tool.js';
4
4
  export { architectureContextTool } from './architecture-context-tool.js';
5
5
  export { roleContextTool } from './role-context-tool.js';
6
6
  export { knowledgeTool, createKnowledgeToolCall, normalizeKnowledgeMetadata, buildKnowledgeActionPayload } from './knowledge-tool.js';
7
+ export { resourcesTool } from './resources-tool.js';
7
8
  //# sourceMappingURL=index.js.map
package/dist/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,qBAAqB,EAAE,iBAAiB,EAAE,iBAAiB,EAAE,oBAAoB,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAA;AACtJ,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,qBAAqB,CAAA"}
1
+ {"version":3,"file":"index.js","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,SAAS,EAAE,iBAAiB,EAAE,aAAa,EAAE,aAAa,EAAE,gBAAgB,EAAE,cAAc,EAAE,MAAM,iBAAiB,CAAA;AAC9H,OAAO,EAAE,UAAU,EAAE,MAAM,kBAAkB,CAAA;AAC7C,OAAO,EAAE,kBAAkB,EAAE,MAAM,2BAA2B,CAAA;AAC9D,OAAO,EAAE,uBAAuB,EAAE,MAAM,gCAAgC,CAAA;AACxE,OAAO,EAAE,eAAe,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,EACL,aAAa,EACb,uBAAuB,EACvB,0BAA0B,EAC1B,2BAA2B,EAC5B,MAAM,qBAAqB,CAAA;AAO5B,OAAO,EAAE,aAAa,EAAE,MAAM,qBAAqB,CAAA"}
@@ -1,4 +1,4 @@
1
- import type { MCPTool, MCPToolCall } from './proposals-tool.js';
1
+ import type { MCPTool, MCPToolCall } from './tasks-tool.js';
2
2
  export interface KnowledgeDocumentMetadata {
3
3
  version?: string;
4
4
  updated: string;
@@ -1 +1 @@
1
- {"version":3,"file":"knowledge-tool.d.ts","sourceRoot":"","sources":["../src/knowledge-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,WAAW,EAAE,MAAM,qBAAqB,CAAA;AAE/D,MAAM,WAAW,yBAAyB;IACxC,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,IAAI,CAAC,EAAE,MAAM,EAAE,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,OAAO,CAAC,EAAE,MAAM,EAAE,CAAA;IAClB,KAAK,CAAC,EAAE;QACN,IAAI,EAAE,MAAM,CAAA;QACZ,KAAK,CAAC,EAAE,MAAM,CAAA;KACf,CAAA;IACD,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;IACnB,MAAM,CAAC,EAAE,MAAM,CAAA;IACf,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,CAAC,GAAG,EAAE,MAAM,GAAG,OAAO,CAAA;CACvB;AAED,MAAM,MAAM,mBAAmB,GAAG,QAAQ,GAAG,QAAQ,CAAA;AAErD,MAAM,WAAW,sBAAsB;IACrC,MAAM,EAAE,mBAAmB,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,QA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AsB;IACrC,MAAM,EAAE,mBAAmB,CAAA;IAC3B,KAAK,EAAE,MAAM,CAAA;IACb,OAAO,CAAC,EAAE,MAAM,CAAA;IAChB,OAAO,EAAE,MAAM,CAAA;IACf,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,yBAAyB,CAAA;IACpC,MAAM,CAAC,EAAE,MAAM,CAAA;CAChB;AAED,MAAM,WAAW,iBAAiB;IAChC,QAAQ,EAAE,MAAM,CAAA;IAChB,KAAK,EAAE,MAAM,CAAA;IACb,QAAQ,EAAE,yBAAyB,CAAA;IACnC,OAAO,EAAE,MAAM,CAAA;CAChB;AA2BD,eAAO,MAAM,aAAa,EAAE,OAoC3B,CAAA;AAED,wBAAgB,uBAAuB,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,WAAW,CAQrG;AAED,wBAAgB,0BAA0B,CAAC,QAAQ,CAAC,EAAE,yBAAyB,GAAG,IAAI,GAAG,yBAAyB,CAWjH;AAED,wBAAgB,2BAA2B,CAAC,KAAK,EAAE,sBAAsB,GAAG,sBAAsB,CAMjG"}
@@ -8,7 +8,7 @@ const metadataSchema = {
8
8
  category: { type: 'string', description: 'High-level category for grouping documents' },
9
9
  tags: { type: 'array', items: { type: 'string' }, description: 'Keyword tags to aid discovery' },
10
10
  sources: { type: 'array', items: { type: 'string' }, description: 'URLs or references that informed this knowledge' },
11
- related: { type: 'array', items: { type: 'string' }, description: 'Paths to related docs (e.g. proposals, specs)' },
11
+ related: { type: 'array', items: { type: 'string' }, description: 'Paths to related docs (e.g. tasks, specs)' },
12
12
  owner: {
13
13
  type: 'object',
14
14
  properties: {
@@ -24,7 +24,7 @@ const metadataSchema = {
24
24
  };
25
25
  export const knowledgeTool = {
26
26
  name: 'knowledge_documents',
27
- description: 'Manage knowledge base markdown documents stored in .nut/context/knowledge. IMPORTANT: When searching for documents by topic or keyword, always use the query parameter to filter results server-side. The returned count reflects filtered results.',
27
+ description: 'Manage knowledge base markdown documents stored in .nut/knowledge. IMPORTANT: When searching for documents by topic or keyword, always use the query parameter to filter results server-side. The returned count reflects filtered results.',
28
28
  parameters: {
29
29
  type: 'object',
30
30
  properties: {
@@ -1 +1 @@
1
- {"version":3,"file":"knowledge-tool.js","sourceRoot":"","sources":["../src/knowledge-tool.ts"],"names":[],"mappings":"AAuCA,MAAM,cAAc,GAAG;IACrB,IAAI,EAAE,QAAQ;IACd,WAAW,EAAE,kEAAkE;IAC/E,UAAU,EAAE;QACV,OAAO,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,4CAA4C,EAAE;QACtF,wFAAwF;QACxF,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,sCAAsC,EAAE;QAC7E,QAAQ,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,WAAW,EAAE,4CAA4C,EAAE;QACvF,IAAI,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,+BAA+B,EAAE;QAChG,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,iDAAiD,EAAE;QACrH,OAAO,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE,EAAE,WAAW,EAAE,+CAA+C,EAAE;QACnH,KAAK,EAAE;YACL,IAAI,EAAE,QAAQ;YACd,UAAU,EAAE;gBACV,IAAI,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;gBACxB,KAAK,EAAE,EAAE,IAAI,EAAE,QAAQ,EAAE;aAC1B;YACD,oBAAoB,EAAE,KAAK;SAC5B;QACD,QAAQ,EAAE,EAAE,IAAI,EAAE,OAAO,EAAE,KAAK,EAAE,EAAE,IAAI,E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,QAAQ,CAAC,CAAC,CAAC,0BAA0B,CAAC,KAAK,CAAC,QAAQ,CAAC,CAAC,CAAC,CAAC,SAAS,CAAA;IACxF,OAAO;QACL,GAAG,KAAK;QACR,QAAQ;KACT,CAAA;AACH,CAAC"}
@@ -2,7 +2,7 @@
2
2
  * Project Context tool for MCP - READ + WRITE
3
3
  * Allows the AI assistant to read and update the project definition document (.nut/context/project.md)
4
4
  */
5
- import type { MCPTool } from './proposals-tool.js';
5
+ import type { MCPTool } from './tasks-tool.js';
6
6
  /**
7
7
  * Project context tool for AI assistant.
8
8
  * Read and update the core project definition document.
@@ -1 +1 @@
1
- {"version":3,"file":"project-context-tool.d.ts","sourceRoot":"","sources":["../src/project-context-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,OA0BhC,CAAA"}
1
+ {"version":3,"file":"project-context-tool.d.ts","sourceRoot":"","sources":["../src/project-context-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,kBAAkB,EAAE,OA0BhC,CAAA"}
@@ -0,0 +1,3 @@
1
+ import type { MCPTool } from './tasks-tool.js';
2
+ export declare const resourcesTool: MCPTool;
3
+ //# sourceMappingURL=resources-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources-tool.d.ts","sourceRoot":"","sources":["../src/resources-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C,eAAO,MAAM,aAAa,EAAE,OA0E3B,CAAA"}
@@ -0,0 +1,76 @@
1
+ export const resourcesTool = {
2
+ name: 'resources',
3
+ description: 'Manage media resources: generate images, audio, and video via AI, save files from URLs, and browse existing resources. Generation operations auto-save to the resource library with thumbnails.',
4
+ parameters: {
5
+ type: 'object',
6
+ properties: {
7
+ operation: {
8
+ type: 'string',
9
+ enum: ['list', 'get', 'generate_image', 'generate_audio', 'generate_video', 'add_from_url'],
10
+ description: 'The resource operation to execute'
11
+ },
12
+ // READ params
13
+ query: {
14
+ type: 'string',
15
+ description: 'Search filter for list operation — matches name, description, or tags'
16
+ },
17
+ type_filter: {
18
+ type: 'string',
19
+ description: 'Filter by media type prefix for list operation (e.g. "image", "audio", "video")'
20
+ },
21
+ resource_id: {
22
+ type: 'string',
23
+ description: 'Resource ID for get operation (e.g. "res-1234567890-abc123def")'
24
+ },
25
+ // generate_image params
26
+ prompt: {
27
+ type: 'string',
28
+ description: 'Text prompt describing the image or video to generate'
29
+ },
30
+ model: {
31
+ type: 'string',
32
+ enum: ['nano-banana-pro', 'flux-2-dev', 'flux-2-pro', 'gpt-image-1.5'],
33
+ description: 'AI model for image generation. Default: nano-banana-pro. Use gpt-image-1.5 for transparent backgrounds.'
34
+ },
35
+ aspect_ratio: {
36
+ type: 'string',
37
+ description: 'Aspect ratio for image/video (e.g. "1:1", "16:9", "9:16", "4:3", "3:2"). Default: 16:9 for images, 16:9 for video.'
38
+ },
39
+ // generate_audio params
40
+ text: {
41
+ type: 'string',
42
+ description: 'Text to convert to speech for audio generation'
43
+ },
44
+ voice: {
45
+ type: 'string',
46
+ description: 'Voice ID for audio generation. Default: English_Trustworth_Man'
47
+ },
48
+ // generate_video params (prompt is reused)
49
+ duration: {
50
+ type: 'number',
51
+ description: 'Video duration in seconds, 5-16. Default: 8'
52
+ },
53
+ resolution: {
54
+ type: 'string',
55
+ description: 'Video resolution (480p, 720p, 1080p). Default: 720p'
56
+ },
57
+ // add_from_url params
58
+ url: {
59
+ type: 'string',
60
+ description: 'URL to download and save as a resource'
61
+ },
62
+ // Shared metadata
63
+ tags: {
64
+ type: 'string',
65
+ description: 'Comma-separated tags for the resource'
66
+ },
67
+ description: {
68
+ type: 'string',
69
+ description: 'Description of the resource'
70
+ }
71
+ },
72
+ required: ['operation'],
73
+ additionalProperties: false
74
+ }
75
+ };
76
+ //# sourceMappingURL=resources-tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"resources-tool.js","sourceRoot":"","sources":["../src/resources-tool.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAY;IACpC,IAAI,EAAE,WAAW;IACjB,WAAW,EAAE,iMAAiM;IAC9M,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ;QACd,UAAU,EAAE;YACV,SAAS,EAAE;gBACT,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,MAAM,EAAE,KAAK,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,cAAc,CAAC;gBAC3F,WAAW,EAAE,mCAAmC;aACjD;YACD,cAAc;YACd,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uEAAuE;aACrF;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iFAAiF;aAC/F;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,iEAAiE;aAC/E;YACD,wBAAwB;YACxB,MAAM,EAAE;gBACN,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uDAAuD;aACrE;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,IAAI,EAAE,CAAC,iBAAiB,EAAE,YAAY,EAAE,YAAY,EAAE,eAAe,CAAC;gBACtE,WAAW,EAAE,yGAAyG;aACvH;YACD,YAAY,EAAE;gBACZ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,oHAAoH;aAClI;YACD,wBAAwB;YACxB,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gDAAgD;aAC9D;YACD,KAAK,EAAE;gBACL,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,gEAAgE;aAC9E;YACD,2CAA2C;YAC3C,QAAQ,EAAE;gBACR,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6CAA6C;aAC3D;YACD,UAAU,EAAE;gBACV,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,qDAAqD;aACnE;YACD,sBAAsB;YACtB,GAAG,EAAE;gBACH,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,wCAAwC;aACtD;YACD,kBAAkB;YAClB,IAAI,EAAE;gBACJ,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,uCAAuC;aACrD;YACD,WAAW,EAAE;gBACX,IAAI,EAAE,QAAQ;gBACd,WAAW,EAAE,6BAA6B;aAC3C;SACF;QACD,QAAQ,EAAE,CAAC,WAAW,CAAC;QACvB,oBAAoB,EAAE,KAAK;KAC5B;CACF,CAAA"}
@@ -2,7 +2,7 @@
2
2
  * Role Context tool for MCP - READ + WRITE
3
3
  * Allows the AI assistant to read and update the role definition document (.nut/context/role.md)
4
4
  */
5
- import type { MCPTool } from './proposals-tool.js';
5
+ import type { MCPTool } from './tasks-tool.js';
6
6
  /**
7
7
  * Role context tool for AI assistant.
8
8
  * Read and update the role definition document.
@@ -1 +1 @@
1
- {"version":3,"file":"role-context-tool.d.ts","sourceRoot":"","sources":["../src/role-context-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,qBAAqB,CAAA;AAElD;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,OA0B7B,CAAA"}
1
+ {"version":3,"file":"role-context-tool.d.ts","sourceRoot":"","sources":["../src/role-context-tool.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAA;AAE9C;;;GAGG;AACH,eAAO,MAAM,eAAe,EAAE,OA0B7B,CAAA"}
@@ -0,0 +1,31 @@
1
+ import type { Task } from '@lovelybunch/types';
2
+ export interface MCPTool {
3
+ name: string;
4
+ description: string;
5
+ parameters: {
6
+ type: 'object';
7
+ properties: Record<string, any>;
8
+ required?: string[];
9
+ additionalProperties?: boolean;
10
+ };
11
+ }
12
+ export interface MCPToolCall {
13
+ name: string;
14
+ arguments: Record<string, any>;
15
+ }
16
+ export declare const listTasksTool: MCPTool;
17
+ export declare const tasksTool: MCPTool;
18
+ /**
19
+ * Read-only version of the tasks tool for AI assistant.
20
+ * Only exposes list and get operations - no create/update/delete.
21
+ * Creating tasks should be done by coding agents (Claude Code, Cursor, etc.) or via the UI.
22
+ */
23
+ export declare const tasksReadOnlyTool: MCPTool;
24
+ /**
25
+ * Full CRUD tasks tool that includes create and update operations.
26
+ * Uses Zod schemas for validation.
27
+ */
28
+ export declare const tasksFullTool: MCPTool;
29
+ export declare function validateTaskData(data: any): Partial<Task>;
30
+ export declare function createToolCall(operation: string, args: any): MCPToolCall;
31
+ //# sourceMappingURL=tasks-tool.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks-tool.d.ts","sourceRoot":"","sources":["../src/tasks-tool.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,IAAI,EAAE,MAAM,oBAAoB,CAAA;AAG9C,MAAM,WAAW,OAAO;IACtB,IAAI,EAAE,MAAM,CAAA;IACZ,WAAW,EAAE,MAAM,CAAA;IACnB,UAAU,EAAE;QACV,IAAI,EAAE,QAAQ,CAAA;QACd,UAAU,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;QAC/B,QAAQ,CAAC,EAAE,MAAM,EAAE,CAAA;QACnB,oBAAoB,CAAC,EAAE,OAAO,CAAA;KAC/B,CAAA;CACF;AAED,MAAM,WAAW,WAAW;IAC1B,IAAI,EAAE,MAAM,CAAA;IACZ,SAAS,EAAE,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,CAAA;CAC/B;AAQD,eAAO,MAAM,aAAa,EAAE,OAa3B,CAAA;AAED,eAAO,MAAM,SAAS,EAAE,OA+BvB,CAAA;AAED;;;;GAIG;AACH,eAAO,MAAM,iBAAiB,EAAE,OAwB/B,CAAA;AAED;;;GAGG;AACH,eAAO,MAAM,aAAa,EAAE,OAoC3B,CAAA;AAED,wBAAgB,gBAAgB,CAAC,IAAI,EAAE,GAAG,GAAG,OAAO,CAAC,IAAI,CAAC,CAazD;AAED,wBAAgB,cAAc,CAAC,SAAS,EAAE,MAAM,EAAE,IAAI,EAAE,GAAG,GAAG,WAAW,CAQxE"}
@@ -0,0 +1,153 @@
1
+ import { taskJsonSchemas } from '@lovelybunch/core';
2
+ // Use pre-computed JSON schemas from core
3
+ const filtersProperties = taskJsonSchemas.filters;
4
+ const createProperties = taskJsonSchemas.create;
5
+ const updateProperties = taskJsonSchemas.update;
6
+ const createRequired = taskJsonSchemas.createRequired;
7
+ export const listTasksTool = {
8
+ name: "list_tasks",
9
+ description: "List all tasks with metadata only (title, ID, status, priority, tags)",
10
+ parameters: {
11
+ type: "object",
12
+ properties: {
13
+ filters: {
14
+ type: "object",
15
+ description: "Optional filters for the task list",
16
+ properties: filtersProperties
17
+ }
18
+ }
19
+ }
20
+ };
21
+ export const tasksTool = {
22
+ name: "tasks",
23
+ description: "Manage tasks - create, read, update, delete tasks. IMPORTANT: When searching for tasks by topic or keyword, always use filters.search to filter results server-side. The 'list' operation returns lightweight summaries — use 'get' with a task ID for full details.",
24
+ parameters: {
25
+ type: "object",
26
+ properties: {
27
+ operation: {
28
+ type: "string",
29
+ enum: ["list", "get", "create", "update", "delete"],
30
+ description: "The operation to perform on tasks"
31
+ },
32
+ id: {
33
+ type: "string",
34
+ description: "Task ID (required for get, update, delete operations)"
35
+ },
36
+ // Filters for list operation - auto-generated from Zod schema
37
+ filters: {
38
+ type: "object",
39
+ description: "Filters for list operation. Defaults to limit=20. Use search to find tasks by keyword — results are filtered server-side for accuracy.",
40
+ properties: filtersProperties
41
+ },
42
+ // Task data for create operation - auto-generated from Zod schema
43
+ task: {
44
+ type: "object",
45
+ description: "Task data for create/update operations. For create: intent and content are required. For update: at least one field is required.",
46
+ properties: createProperties,
47
+ required: [...createRequired]
48
+ }
49
+ },
50
+ required: ["operation"]
51
+ }
52
+ };
53
+ /**
54
+ * Read-only version of the tasks tool for AI assistant.
55
+ * Only exposes list and get operations - no create/update/delete.
56
+ * Creating tasks should be done by coding agents (Claude Code, Cursor, etc.) or via the UI.
57
+ */
58
+ export const tasksReadOnlyTool = {
59
+ name: "tasks",
60
+ description: "READ-ONLY: Search and read tasks. You can ONLY use 'list' and 'get' operations. You CANNOT create, update, or delete tasks — that should be done by coding agents (Claude Code, Cursor, etc.) which have broader codebase context, or via the Tasks UI. The 'list' operation returns lightweight summaries — use 'get' with a task ID for full details.",
61
+ parameters: {
62
+ type: "object",
63
+ properties: {
64
+ operation: {
65
+ type: "string",
66
+ enum: ["list", "get"],
67
+ description: "ONLY 'list' or 'get' are allowed. 'list' to search/browse tasks (returns summaries), 'get' to retrieve a specific task by ID (returns full details)"
68
+ },
69
+ id: {
70
+ type: "string",
71
+ description: "Task ID (required for get operation)"
72
+ },
73
+ // Filters auto-generated from Zod schema
74
+ filters: {
75
+ type: "object",
76
+ description: "Filters for list operation. Defaults to limit=20. Use search to find tasks by keyword.",
77
+ properties: filtersProperties
78
+ }
79
+ },
80
+ required: ["operation"]
81
+ }
82
+ };
83
+ /**
84
+ * Full CRUD tasks tool that includes create and update operations.
85
+ * Uses Zod schemas for validation.
86
+ */
87
+ export const tasksFullTool = {
88
+ name: "tasks",
89
+ description: "Full CRUD for tasks - create, read, update, delete. Use this when you need to create or modify tasks via MCP. The 'list' operation returns lightweight summaries (id, title, status, priority, tags, author, dates) — use 'get' with a specific task ID to retrieve full task details including content and plan steps.",
90
+ parameters: {
91
+ type: "object",
92
+ properties: {
93
+ operation: {
94
+ type: "string",
95
+ enum: ["list", "get", "create", "update", "delete"],
96
+ description: "The operation to perform"
97
+ },
98
+ id: {
99
+ type: "string",
100
+ description: "Task ID (required for get, update, delete operations)"
101
+ },
102
+ filters: {
103
+ type: "object",
104
+ description: "Filters for list operation. Defaults to limit=20. Use status, priority, tags, search, or author to narrow results.",
105
+ properties: filtersProperties
106
+ },
107
+ // For create - all fields from CreateTaskInputSchema
108
+ task: {
109
+ type: "object",
110
+ description: "Task data for create operation",
111
+ properties: createProperties,
112
+ required: [...createRequired]
113
+ },
114
+ // For update - partial fields from UpdateTaskInputSchema
115
+ updates: {
116
+ type: "object",
117
+ description: "Fields to update (for update operation). At least one field required.",
118
+ properties: updateProperties
119
+ }
120
+ },
121
+ required: ["operation"]
122
+ }
123
+ };
124
+ export function validateTaskData(data) {
125
+ const task = {};
126
+ if (data.title)
127
+ task.title = data.title;
128
+ if (data.intent)
129
+ task.intent = data.intent;
130
+ if (data.content)
131
+ task.content = data.content;
132
+ if (data.author)
133
+ task.author = data.author;
134
+ if (data.planSteps)
135
+ task.planSteps = data.planSteps;
136
+ if (data.status)
137
+ task.status = data.status;
138
+ if (data.metadata)
139
+ task.metadata = data.metadata;
140
+ if (data.productSpecRef)
141
+ task.productSpecRef = data.productSpecRef;
142
+ return task;
143
+ }
144
+ export function createToolCall(operation, args) {
145
+ return {
146
+ name: "tasks",
147
+ arguments: {
148
+ operation,
149
+ ...args
150
+ }
151
+ };
152
+ }
153
+ //# sourceMappingURL=tasks-tool.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"tasks-tool.js","sourceRoot":"","sources":["../src/tasks-tool.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAA;AAkBnD,0CAA0C;AAC1C,MAAM,iBAAiB,GAAG,eAAe,CAAC,OAAO,CAAA;AACjD,MAAM,gBAAgB,GAAG,eAAe,CAAC,MAAM,CAAA;AAC/C,MAAM,gBAAgB,GAAG,eAAe,CAAC,MAAM,CAAA;AAC/C,MAAM,cAAc,GAAG,eAAe,CAAC,cAAc,CAAA;AAErD,MAAM,CAAC,MAAM,aAAa,GAAY;IACpC,IAAI,EAAE,YAAY;IAClB,WAAW,EAAE,uEAAuE;IACpF,UAA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;QAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;IAC1C,IAAI,IAAI,CAAC,OAAO;QAAE,IAAI,CAAC,OAAO,GAAG,IAAI,CAAC,OAAO,CAAA;IAC7C,IAAI,IAAI,CAAC,MAAM;QAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;IAC1C,IAAI,IAAI,CAAC,SAAS;QAAE,IAAI,CAAC,SAAS,GAAG,IAAI,CAAC,SAAS,CAAA;IACnD,IAAI,IAAI,CAAC,MAAM;QAAE,IAAI,CAAC,MAAM,GAAG,IAAI,CAAC,MAAM,CAAA;IAC1C,IAAI,IAAI,CAAC,QAAQ;QAAE,IAAI,CAAC,QAAQ,GAAG,IAAI,CAAC,QAAQ,CAAA;IAChD,IAAI,IAAI,CAAC,cAAc;QAAE,IAAI,CAAC,cAAc,GAAG,IAAI,CAAC,cAAc,CAAA;IAElE,OAAO,IAAI,CAAA;AACb,CAAC;AAED,MAAM,UAAU,cAAc,CAAC,SAAiB,EAAE,IAAS;IACzD,OAAO;QACL,IAAI,EAAE,OAAO;QACb,SAAS,EAAE;YACT,SAAS;YACT,GAAG,IAAI;SACR;KACF,CAAA;AACH,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lovelybunch/mcp",
3
- "version": "1.0.75-alpha.8",
3
+ "version": "1.0.75",
4
4
  "description": "MCP tools for Coconut",
5
5
  "main": "dist/index.js",
6
6
  "type": "module",
@@ -14,8 +14,8 @@
14
14
  "test:ui": "vitest --ui"
15
15
  },
16
16
  "dependencies": {
17
- "@lovelybunch/core": "^1.0.75-alpha.8",
18
- "@lovelybunch/types": "^1.0.75-alpha.8",
17
+ "@lovelybunch/core": "^1.0.75",
18
+ "@lovelybunch/types": "^1.0.75",
19
19
  "hono": "^4.0.0"
20
20
  },
21
21
  "devDependencies": {
@@ -3,7 +3,7 @@
3
3
  * Allows the AI assistant to read and update the architecture document (.nut/context/architecture.md)
4
4
  */
5
5
 
6
- import type { MCPTool } from './proposals-tool.js'
6
+ import type { MCPTool } from './tasks-tool.js'
7
7
 
8
8
  /**
9
9
  * Architecture context tool for AI assistant.
@@ -3,7 +3,7 @@
3
3
  * Allows the AI assistant to read recent activity/events from the Coconut instance
4
4
  */
5
5
 
6
- import type { MCPTool } from './proposals-tool.js'
6
+ import type { MCPTool } from './tasks-tool.js'
7
7
 
8
8
  /**
9
9
  * Read-only events tool for AI assistant.
package/src/index.ts CHANGED
@@ -1,4 +1,4 @@
1
- export { proposalsTool, proposalsReadOnlyTool, proposalsFullTool, listProposalsTool, validateProposalData, createToolCall } from './proposals-tool.js'
1
+ export { tasksTool, tasksReadOnlyTool, tasksFullTool, listTasksTool, validateTaskData, createToolCall } from './tasks-tool.js'
2
2
  export { eventsTool } from './events-tool.js'
3
3
  export { projectContextTool } from './project-context-tool.js'
4
4
  export { architectureContextTool } from './architecture-context-tool.js'
@@ -15,4 +15,5 @@ export type {
15
15
  KnowledgeDocument,
16
16
  KnowledgeDocumentMetadata
17
17
  } from './knowledge-tool.js'
18
- export type { MCPTool, MCPToolCall } from './proposals-tool.js'
18
+ export { resourcesTool } from './resources-tool.js'
19
+ export type { MCPTool, MCPToolCall } from './tasks-tool.js'
@@ -1,4 +1,4 @@
1
- import type { MCPTool, MCPToolCall } from './proposals-tool.js'
1
+ import type { MCPTool, MCPToolCall } from './tasks-tool.js'
2
2
 
3
3
  export interface KnowledgeDocumentMetadata {
4
4
  version?: string
@@ -47,7 +47,7 @@ const metadataSchema = {
47
47
  category: { type: 'string', description: 'High-level category for grouping documents' },
48
48
  tags: { type: 'array', items: { type: 'string' }, description: 'Keyword tags to aid discovery' },
49
49
  sources: { type: 'array', items: { type: 'string' }, description: 'URLs or references that informed this knowledge' },
50
- related: { type: 'array', items: { type: 'string' }, description: 'Paths to related docs (e.g. proposals, specs)' },
50
+ related: { type: 'array', items: { type: 'string' }, description: 'Paths to related docs (e.g. tasks, specs)' },
51
51
  owner: {
52
52
  type: 'object',
53
53
  properties: {
@@ -64,7 +64,7 @@ const metadataSchema = {
64
64
 
65
65
  export const knowledgeTool: MCPTool = {
66
66
  name: 'knowledge_documents',
67
- description: 'Manage knowledge base markdown documents stored in .nut/context/knowledge. IMPORTANT: When searching for documents by topic or keyword, always use the query parameter to filter results server-side. The returned count reflects filtered results.',
67
+ description: 'Manage knowledge base markdown documents stored in .nut/knowledge. IMPORTANT: When searching for documents by topic or keyword, always use the query parameter to filter results server-side. The returned count reflects filtered results.',
68
68
  parameters: {
69
69
  type: 'object',
70
70
  properties: {
@@ -3,7 +3,7 @@
3
3
  * Allows the AI assistant to read and update the project definition document (.nut/context/project.md)
4
4
  */
5
5
 
6
- import type { MCPTool } from './proposals-tool.js'
6
+ import type { MCPTool } from './tasks-tool.js'
7
7
 
8
8
  /**
9
9
  * Project context tool for AI assistant.