@remits/remits-cli 0.1.79 → 0.1.80
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/package.json
CHANGED
|
@@ -217,7 +217,7 @@ Use `mcp_support_ticket` to manage lifecycle:
|
|
|
217
217
|
- `update_status` — move to `in_progress` or `pending_review`
|
|
218
218
|
- `complete` — resolve the ticket with a summary of what was done
|
|
219
219
|
- `release` — unassign if you cannot continue
|
|
220
|
-
-
|
|
220
|
+
- **Pulling a ticket by number is enough — you do NOT need to know its account first.** The `ticketId` IS the ticket's globally-unique anchor id, and `mcp_support_ticket` resolves the owning account from it for every action that operates on an existing ticket (`read`, `accept`, `update_status`, `complete`, `release`, `record_progress`, `add_artifact`, `get_attachment`). So when a user says "pull ticket 19463", just call `read` with `{ "action": "read", "ticketId": "19463" }` from any authenticated **prod** session (the ticket lives in prod data) — omit `accountId` entirely. The response returns the resolved `accountId`/`accountName` (and `implementationAccountId` when set); use those for any follow-up work. **Only `create` requires an explicit `accountId`** (a brand-new ticket has no anchor to resolve from). If a bare `ticketId` returns "Support ticket not found", double-check you are in `--data-mode prod`, then fall back to passing an explicit `accountId`.
|
|
221
221
|
- If a ticket is part of the request, manage the lifecycle proactively. Do not wait for the human user to remind you to read, accept, update, complete, or release it.
|
|
222
222
|
|
|
223
223
|
Ticket-routing context:
|
|
@@ -1109,9 +1109,9 @@ Create and manage the full lifecycle of account-relative `support_tickets`.
|
|
|
1109
1109
|
|
|
1110
1110
|
| Parameter | Required | Description |
|
|
1111
1111
|
|-----------|----------|-------------|
|
|
1112
|
-
| `accountId` |
|
|
1112
|
+
| `accountId` | conditional | The account that owns the support ticket. **Required only for `create`.** For every other action it is optional — the tool resolves the owning account from `ticketId` (the ticket's anchor id) and returns it. Pass it only to override/disambiguate. |
|
|
1113
1113
|
| `action` | yes | `create`, `read`, `accept`, `update_status`, `complete`, `release`, `record_progress`, `add_artifact`, or `get_attachment` |
|
|
1114
|
-
| `ticketId` | conditional | Required for every action **except** `create` (which returns the new ticket ID) |
|
|
1114
|
+
| `ticketId` | conditional | Required for every action **except** `create` (which returns the new ticket ID). Alone it is sufficient to resolve the ticket and its owning account. |
|
|
1115
1115
|
| `subject` | conditional | Short title. Required for `create`. |
|
|
1116
1116
|
| `type` | conditional | Required for `create`: `enhancement`, `defect`, `question`, `task`, or `incident` |
|
|
1117
1117
|
| `priority` | no | `low`/`medium`/`high`/`critical` for `create` (default `medium`) |
|