@firfi/huly-mcp 0.42.0 → 0.43.0
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/README.md +13 -1
- package/dist/index.cjs +2850 -1955
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -323,7 +323,7 @@ SDK upgrade revisit:
|
|
|
323
323
|
<!-- AUTO-GENERATED from src/mcp/tools/ descriptions. Do not edit manually. Run `pnpm update-readme` to regenerate. -->
|
|
324
324
|
## Available Tools
|
|
325
325
|
|
|
326
|
-
**`TOOLSETS` categories:** `projects`, `issues`, `comments`, `milestones`, `documents`, `storage`, `attachments`, `contacts`, `channels`, `calendar`, `time tracking`, `search`, `associations`, `activity`, `notifications`, `workspace`, `boards`, `cards`, `collaborators`, `custom-fields`, `drive`, `inventory`, `labels`, `leads`, `templates`, `planner`, `preferences`, `processes`, `recruiting`, `sdk-discovery`, `spaces`, `tag-categories`, `tags`, `task-management`, `test-management`, `user-statuses`, `views`, `virtual-office`
|
|
326
|
+
**`TOOLSETS` categories:** `projects`, `issues`, `comments`, `milestones`, `documents`, `storage`, `attachments`, `contacts`, `channels`, `calendar`, `time tracking`, `search`, `associations`, `activity`, `notifications`, `workspace`, `approvals`, `boards`, `cards`, `collaborators`, `custom-fields`, `drive`, `inventory`, `labels`, `leads`, `templates`, `planner`, `preferences`, `processes`, `recruiting`, `sdk-discovery`, `spaces`, `tag-categories`, `tags`, `task-management`, `test-management`, `user-statuses`, `views`, `virtual-office`
|
|
327
327
|
|
|
328
328
|
### Projects
|
|
329
329
|
|
|
@@ -623,6 +623,18 @@ SDK upgrade revisit:
|
|
|
623
623
|
| `create_access_link` | Create a Huly workspace access link. When role is omitted, role=GUEST. Supports anonymous reusable guest links by setting personalized=false with notBefore and expiration, and can restrict access to specific Huly space IDs via spaces. |
|
|
624
624
|
| `get_regions` | Get available regions for workspace creation. Returns region codes and display names. |
|
|
625
625
|
|
|
626
|
+
### Approvals
|
|
627
|
+
|
|
628
|
+
| Tool | Description |
|
|
629
|
+
|------|-------------|
|
|
630
|
+
| `list_approval_requests` | List generic Huly approval Request documents from the published @hcengineering/request SDK package. This is read-only discovery: filter by status, raw attachedTo document id, and/or raw attachedToClass class id when you know the target document. Omit filters to inspect recent approval requests across modules. |
|
|
631
|
+
| `get_approval_request` | Read one generic Huly approval Request document by raw request _id. Returns person refs with best-effort contact metadata plus the opaque SDK tx/rejectedTx payloads for inspection; approval mutations are intentionally not exposed by this read-only tool. |
|
|
632
|
+
| `add_approval_request` | Create a generic Huly approval Request attached to any target document. Provide raw attachedTo and attachedToClass from the target, requested people as Person ids or exact email/name identifiers, and a real opaque Huly SDK tx payload. Omit space to resolve it from the target; collection defaults to requests. Returns the new request id without doing an immediate stale-prone read-after-write. |
|
|
633
|
+
| `add_approval_request_comment` | Add a plain markdown comment to an approval Request by request _id. This does not approve, reject, cancel, or create a decision comment mixin. |
|
|
634
|
+
| `approve_approval_request` | Approve an active approval Request as the current Huly user. The current user's Employee/Person ref must be in the request's requested list. Optionally attach a markdown decision comment before approval. If the current user already approved it, returns changed=false. |
|
|
635
|
+
| `reject_approval_request` | Reject an active approval Request as the current Huly user and attach the required markdown rejection decision comment. Huly applies rejectedTx when present. |
|
|
636
|
+
| `cancel_approval_request` | Cancel an active approval Request created by the current Huly user. This is the safe removal-from-workflow operation; hard delete is intentionally not exposed. |
|
|
637
|
+
|
|
626
638
|
### Boards
|
|
627
639
|
|
|
628
640
|
| Tool | Description |
|