@firfi/huly-mcp 0.8.0 → 0.9.1

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.
Files changed (37) hide show
  1. package/README.md +12 -2
  2. package/dist/index.cjs +25859 -25304
  3. package/dist/tsconfig.tsbuildinfo +1 -1
  4. package/package.json +31 -19
  5. package/dist/index.js +0 -116694
  6. package/dist/src/config/config.d.ts +0 -94
  7. package/dist/src/config/config.d.ts.map +0 -1
  8. package/dist/src/config/config.js +0 -247
  9. package/dist/src/config/config.js.map +0 -1
  10. package/dist/src/domain/schemas.d.ts +0 -256
  11. package/dist/src/domain/schemas.d.ts.map +0 -1
  12. package/dist/src/domain/schemas.js +0 -275
  13. package/dist/src/domain/schemas.js.map +0 -1
  14. package/dist/src/huly/client.d.ts +0 -63
  15. package/dist/src/huly/client.d.ts.map +0 -1
  16. package/dist/src/huly/client.js +0 -149
  17. package/dist/src/huly/client.js.map +0 -1
  18. package/dist/src/huly/errors.d.ts +0 -133
  19. package/dist/src/huly/errors.d.ts.map +0 -1
  20. package/dist/src/huly/errors.js +0 -108
  21. package/dist/src/huly/errors.js.map +0 -1
  22. package/dist/src/huly/operations/issues.d.ts +0 -122
  23. package/dist/src/huly/operations/issues.d.ts.map +0 -1
  24. package/dist/src/huly/operations/issues.js +0 -627
  25. package/dist/src/huly/operations/issues.js.map +0 -1
  26. package/dist/src/index.d.ts +0 -43
  27. package/dist/src/index.d.ts.map +0 -1
  28. package/dist/src/index.js +0 -154
  29. package/dist/src/index.js.map +0 -1
  30. package/dist/src/mcp/error-mapping.d.ts +0 -67
  31. package/dist/src/mcp/error-mapping.d.ts.map +0 -1
  32. package/dist/src/mcp/error-mapping.js +0 -195
  33. package/dist/src/mcp/error-mapping.js.map +0 -1
  34. package/dist/src/mcp/server.d.ts +0 -86
  35. package/dist/src/mcp/server.d.ts.map +0 -1
  36. package/dist/src/mcp/server.js +0 -216
  37. package/dist/src/mcp/server.js.map +0 -1
package/README.md CHANGED
@@ -147,7 +147,7 @@ MCP_TRANSPORT=http MCP_HTTP_PORT=8080 MCP_HTTP_HOST=0.0.0.0 npx -y @firfi/huly-m
147
147
  <!-- AUTO-GENERATED from src/mcp/tools/ descriptions. Do not edit manually. Run `pnpm update-readme` to regenerate. -->
148
148
  ## Available Tools
149
149
 
150
- **`TOOLSETS` categories:** `projects`, `issues`, `comments`, `milestones`, `documents`, `storage`, `attachments`, `contacts`, `channels`, `calendar`, `time tracking`, `search`, `activity`, `notifications`, `workspace`, `cards`, `custom-fields`, `labels`, `leads`, `tag-categories`, `test-management`
150
+ **`TOOLSETS` categories:** `projects`, `issues`, `comments`, `milestones`, `documents`, `storage`, `attachments`, `contacts`, `channels`, `calendar`, `time tracking`, `search`, `activity`, `notifications`, `workspace`, `cards`, `custom-fields`, `labels`, `leads`, `tag-categories`, `task-management`, `test-management`
151
151
 
152
152
  ### Projects
153
153
 
@@ -224,7 +224,7 @@ MCP_TRANSPORT=http MCP_HTTP_PORT=8080 MCP_HTTP_HOST=0.0.0.0 npx -y @firfi/huly-m
224
224
  | `delete_teamspace` | Permanently delete a Huly document teamspace. This action cannot be undone. |
225
225
  | `list_documents` | List documents in a Huly teamspace. Returns documents sorted by modification date (newest first). Each result includes a 'url' field pointing to the document in the Huly web app. Supports searching by title substring (titleSearch) and content (contentSearch). |
226
226
  | `get_document` | Retrieve full details for a Huly document including markdown content and a 'url' field pointing to the document in the Huly web app. Use this to view document content and metadata. |
227
- | `create_document` | Create a new document in a Huly teamspace. Content supports full markdown including native Mermaid diagrams (```mermaid blocks render interactively in Huly UI). Returns the created document id and a 'url' field pointing to the document in the Huly web app. Use link_document_to_issue to associate the document with a tracker issue. |
227
+ | `create_document` | Create a new document in a Huly teamspace. Content supports full markdown including native Mermaid diagrams (```mermaid blocks render interactively in Huly UI). Optionally pass parent as a document title or ID to create a nested child document; invalid parents fail instead of silently creating a top-level document. Returns the created document id and a 'url' field pointing to the document in the Huly web app. Use link_document_to_issue to associate the document with a tracker issue. |
228
228
  | `edit_document` | Edit an existing Huly document. Two content modes (mutually exclusive): (1) 'content' for full replace, (2) 'old_text' + 'new_text' for targeted search-and-replace. Multiple matches error unless replace_all is true. Empty new_text deletes matched text. Also supports renaming via 'title'. Content supports full markdown including native Mermaid diagrams. Returns a 'url' field pointing to the document in the Huly web app. |
229
229
  | `list_inline_comments` | List inline comment threads from a Huly document. Extracts comments embedded in document content as ProseMirror marks. Each comment includes the highlighted text and thread ID. Set includeReplies=true to also fetch thread reply messages with sender names. |
230
230
  | `delete_document` | Permanently delete a Huly document. This action cannot be undone. |
@@ -414,6 +414,16 @@ MCP_TRANSPORT=http MCP_HTTP_PORT=8080 MCP_HTTP_HOST=0.0.0.0 npx -y @firfi/huly-m
414
414
  | `update_tag_category` | Update a tag/label category. Accepts category ID or label name. Only provided fields are modified. |
415
415
  | `delete_tag_category` | Permanently delete a tag/label category. Accepts category ID or label name. Labels in this category will be orphaned (not deleted). This action cannot be undone. |
416
416
 
417
+ ### Task-Management
418
+
419
+ | Tool | Description |
420
+ |------|-------------|
421
+ | `list_project_types` | List Huly tracker project types/workflow templates. Returns ID, display name, descriptor, task type count, status count, and whether the type appears to be the default Classic tracker type. |
422
+ | `get_project_type` | Inspect one Huly tracker project type in a single call. Accepts projectType as ID or display name; when omitted, uses the unambiguous Classic tracker type. Returns task types, statuses, categories, and task-type-to-status mappings. |
423
+ | `list_task_types` | List Huly issue/task types. Optionally filter by projectType ID or display name. Returns task type identity, parent project type, kind, issue class, and available status count. |
424
+ | `create_task_type` | Add a Huly issue/task type to a project type idempotently by normalized name. Copies required workflow configuration from an existing template task type unless templateTaskType is supplied. Returns created, IDs, affected task type IDs, and a workspace-level workflow warning. |
425
+ | `create_issue_status` | Add a Huly issue workflow status idempotently by normalized name within a project type and task type scope. Accepts category as backlog, todo, active, done, or canceled; taskType may be ID or display name, and omission applies the status to every task type in the project type. |
426
+
417
427
  ### Test-Management
418
428
 
419
429
  | Tool | Description |