node-autotask 0.75.0 → 0.76.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/CHANGELOG.md +6 -0
- package/MCP_TOOL_CATALOG.json +137 -9
- package/README.md +1 -1
- package/capabilities.json +483 -7
- package/dist/capabilities-data.js +482 -6
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-MCAGTC6R.js → chunk-3SFIKG2R.js} +189 -17
- package/dist/{chunk-YGJCTU7F.cjs → chunk-55BQEFBO.cjs} +31 -30
- package/dist/{chunk-VMFQ53HQ.cjs → chunk-C4S3EKIK.cjs} +3 -3
- package/dist/{chunk-OFYXDB5G.js → chunk-ECSE6B3U.js} +3 -3
- package/dist/{chunk-JEARDPBL.js → chunk-S7QPD6TR.js} +2 -2
- package/dist/{chunk-OTDNHBJJ.js → chunk-UFK7JYYC.js} +3 -2
- package/dist/{chunk-54CRUNXF.cjs → chunk-Y4BH5N6R.cjs} +194 -22
- package/dist/{chunk-52YS7NCR.cjs → chunk-YRTOAPWD.cjs} +199 -199
- package/dist/{index-BEuTtkQE.d.cts → index-BbAzrm2i.d.cts} +46 -1
- package/dist/{index-BEuTtkQE.d.ts → index-BbAzrm2i.d.ts} +46 -1
- package/dist/{index-CNuQgQ_Z.d.ts → index-CY7exGOe.d.ts} +3 -2
- package/dist/{index-BAu5alhB.d.cts → index-MY7qYY5d.d.cts} +3 -2
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +3 -3
- package/dist/index.d.ts +3 -3
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +51 -51
- package/dist/operations/index.d.cts +4 -4
- package/dist/operations/index.d.ts +4 -4
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +12 -12
- package/dist/pool.d.cts +1 -1
- package/dist/pool.d.ts +1 -1
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +2 -2
- package/dist/resources/index.d.ts +2 -2
- package/dist/resources/index.js +3 -3
- package/dist/types/index.d.cts +1 -1
- package/dist/types/index.d.ts +1 -1
- package/docs/API.md +3 -2
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.76.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add TaskNoteAttachments global query, count and metadata plus task-note-scoped get, file create and DELETE. Validate file data and task-note identity, and preserve the attachment model response contract (#467, #464).
|
|
15
|
+
|
|
10
16
|
## [0.75.0] - 2026-11-19
|
|
11
17
|
|
|
12
18
|
### Added
|
package/MCP_TOOL_CATALOG.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"generatedBy": "scripts/build-tool-catalog.mjs",
|
|
3
|
-
"generatedAt": "2026-11-
|
|
4
|
-
"planHash": "
|
|
3
|
+
"generatedAt": "2026-11-19T03:48:01.291Z",
|
|
4
|
+
"planHash": "ad752908bb8c2b868f1df63ba52fd308bd4eaec8e6c9c9182f97504ad79f5ca4",
|
|
5
5
|
"metaTools": [
|
|
6
6
|
{
|
|
7
7
|
"name": "autotask_catalog",
|
|
@@ -51,7 +51,7 @@
|
|
|
51
51
|
{
|
|
52
52
|
"name": "autotask_read",
|
|
53
53
|
"title": "Read One Registry Operation (read mode)",
|
|
54
|
-
"description": "Route an effect=read registry operation by its exact name (never fuzzy, never a tool name): the
|
|
54
|
+
"description": "Route an effect=read registry operation by its exact name (never fuzzy, never a tool name): the 407 field/entity/UDF-info reads (getEntityInfo/getFieldInfo/getUdfInfo) have no dedicated tool and ride this one, and any read op is routable. For field discovery use operations.fieldCatalog (compact) instead of per-resource getFieldInfo (full dump). Read-only by construction — every op it can route is effect=read (zero mutating requests), and a write or delete op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). Reads have no dry run (a read with dry_run: true is refused). Harness approval policy: approve every tool with readOnlyHint !== true (exactly 267 today); the 632 readOnlyHint: true tools — including this one — are safe ungated; the 62 destructiveHint: true tools (61 dedicated delete tools + autotask_delete) require confirm === the operation key. Migration: autotask_invoke is REPLACED by autotask_read/autotask_write/autotask_delete — update harness config. For query/count ops args[0] is a params object (filter/limit); call autotask_describe first for the exact arg shape and filter grammar. The argument set is CLOSED at the top level: an unknown argument is refused before any request, with a typed error naming the key and the valid keys.",
|
|
55
55
|
"input": {
|
|
56
56
|
"operation": {
|
|
57
57
|
"type": "string",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
{
|
|
72
72
|
"name": "autotask_write",
|
|
73
73
|
"title": "Write One Registry Operation (write mode)",
|
|
74
|
-
"description": "Route an effect=write registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true — the mutating request is never issued); pass dry_run: false to apply. A read or delete op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). The 2 approval-gated writes (configuration_items.moveConfigurationItem, contacts.moveToCompany) additionally require confirm === the operation key, in BOTH dry-run and apply mode. Harness approval policy: this tool is one of the
|
|
74
|
+
"description": "Route an effect=write registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true — the mutating request is never issued); pass dry_run: false to apply. A read or delete op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). The 2 approval-gated writes (configuration_items.moveConfigurationItem, contacts.moveToCompany) additionally require confirm === the operation key, in BOTH dry-run and apply mode. Harness approval policy: this tool is one of the 267 tools that require approval (readOnlyHint !== true); the 632 readOnlyHint: true tools are safe ungated, and the 62 destructiveHint: true tools (61 dedicated delete tools + autotask_delete) require confirm === the operation key. Migration: autotask_invoke is REPLACED by autotask_read/autotask_write/autotask_delete — update harness config. For query/count ops args[0] is a params object (filter/limit); call autotask_describe first for the exact arg shape and filter grammar. The argument set is CLOSED at the top level: an unknown argument is refused before any request, with a typed error naming the key and the valid keys.",
|
|
75
75
|
"input": {
|
|
76
76
|
"operation": {
|
|
77
77
|
"type": "string",
|
|
@@ -101,7 +101,7 @@
|
|
|
101
101
|
{
|
|
102
102
|
"name": "autotask_delete",
|
|
103
103
|
"title": "Delete One Registry Operation (delete mode)",
|
|
104
|
-
"description": "Route an effect=destructive (delete) registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true); pass dry_run: false to apply. confirm === the operation key is REQUIRED for every delete (all
|
|
104
|
+
"description": "Route an effect=destructive (delete) registry operation by its exact name (never fuzzy, never a tool name), dry-run-first: the first call always travels dry_run: true (the pinned DryRunResult envelope, simulated: true); pass dry_run: false to apply. confirm === the operation key is REQUIRED for every delete (all 61), in BOTH dry-run and apply mode — the deliberate act is the call, not the delete. A read or write op is refused BEFORE any request (cross-mode refusal; the message names the correct tool). Harness approval policy: this tool is one of the 62 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 267 today); the 632 readOnlyHint: true tools are safe ungated. Migration: autotask_invoke is REPLACED by autotask_read/autotask_write/autotask_delete — update harness config. The argument set is CLOSED at the top level: an unknown argument is refused before any request, with a typed error naming the key and the valid keys.",
|
|
105
105
|
"input": {
|
|
106
106
|
"operation": {
|
|
107
107
|
"type": "string",
|
|
@@ -20706,6 +20706,134 @@
|
|
|
20706
20706
|
"reachReason": null,
|
|
20707
20707
|
"boundedAlternative": null
|
|
20708
20708
|
},
|
|
20709
|
+
{
|
|
20710
|
+
"operation": "task_note_attachments.count",
|
|
20711
|
+
"core": false,
|
|
20712
|
+
"tool": "autotask_taskNoteAttachment_count",
|
|
20713
|
+
"purpose": "Count task note attachment records matching a JSON filter. Use taskNoteID for note scope.",
|
|
20714
|
+
"preferredWhen": null,
|
|
20715
|
+
"backingOperation": "task_note_attachments.count",
|
|
20716
|
+
"effect": "read",
|
|
20717
|
+
"dryRunFirst": false,
|
|
20718
|
+
"confirm": false,
|
|
20719
|
+
"requiredArgs": [],
|
|
20720
|
+
"tier": "extended",
|
|
20721
|
+
"reachable": true,
|
|
20722
|
+
"reach": "dedicated tool",
|
|
20723
|
+
"reachReason": null,
|
|
20724
|
+
"boundedAlternative": null
|
|
20725
|
+
},
|
|
20726
|
+
{
|
|
20727
|
+
"operation": "task_note_attachments.create",
|
|
20728
|
+
"core": false,
|
|
20729
|
+
"tool": "autotask_taskNoteAttachment_create",
|
|
20730
|
+
"purpose": "Create a file attachment under a task note.",
|
|
20731
|
+
"preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
|
|
20732
|
+
"backingOperation": "task_note_attachments.create",
|
|
20733
|
+
"effect": "write",
|
|
20734
|
+
"dryRunFirst": true,
|
|
20735
|
+
"confirm": false,
|
|
20736
|
+
"requiredArgs": [
|
|
20737
|
+
"parentId",
|
|
20738
|
+
"data"
|
|
20739
|
+
],
|
|
20740
|
+
"tier": "extended",
|
|
20741
|
+
"reachable": true,
|
|
20742
|
+
"reach": "dedicated tool",
|
|
20743
|
+
"reachReason": null,
|
|
20744
|
+
"boundedAlternative": null
|
|
20745
|
+
},
|
|
20746
|
+
{
|
|
20747
|
+
"operation": "task_note_attachments.delete",
|
|
20748
|
+
"core": false,
|
|
20749
|
+
"tool": "autotask_taskNoteAttachment_delete",
|
|
20750
|
+
"purpose": "Delete an attachment under a task note.",
|
|
20751
|
+
"preferredWhen": null,
|
|
20752
|
+
"backingOperation": "task_note_attachments.delete",
|
|
20753
|
+
"effect": "destructive",
|
|
20754
|
+
"dryRunFirst": true,
|
|
20755
|
+
"confirm": true,
|
|
20756
|
+
"requiredArgs": [
|
|
20757
|
+
"parentId",
|
|
20758
|
+
"id"
|
|
20759
|
+
],
|
|
20760
|
+
"tier": "extended",
|
|
20761
|
+
"reachable": true,
|
|
20762
|
+
"reach": "dedicated tool",
|
|
20763
|
+
"reachReason": null,
|
|
20764
|
+
"boundedAlternative": null
|
|
20765
|
+
},
|
|
20766
|
+
{
|
|
20767
|
+
"operation": "task_note_attachments.get",
|
|
20768
|
+
"core": false,
|
|
20769
|
+
"tool": "autotask_taskNoteAttachment_get",
|
|
20770
|
+
"purpose": "Get one TaskNoteAttachment by id.",
|
|
20771
|
+
"preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
|
|
20772
|
+
"backingOperation": "task_note_attachments.get",
|
|
20773
|
+
"effect": "read",
|
|
20774
|
+
"dryRunFirst": false,
|
|
20775
|
+
"confirm": false,
|
|
20776
|
+
"requiredArgs": [
|
|
20777
|
+
"parentId",
|
|
20778
|
+
"id"
|
|
20779
|
+
],
|
|
20780
|
+
"tier": "extended",
|
|
20781
|
+
"reachable": true,
|
|
20782
|
+
"reach": "dedicated tool",
|
|
20783
|
+
"reachReason": null,
|
|
20784
|
+
"boundedAlternative": null
|
|
20785
|
+
},
|
|
20786
|
+
{
|
|
20787
|
+
"operation": "task_note_attachments.getEntityInfo",
|
|
20788
|
+
"core": false,
|
|
20789
|
+
"tool": null,
|
|
20790
|
+
"purpose": "Get the TaskNoteAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
20791
|
+
"preferredWhen": null,
|
|
20792
|
+
"backingOperation": "task_note_attachments.getEntityInfo",
|
|
20793
|
+
"effect": "read",
|
|
20794
|
+
"dryRunFirst": false,
|
|
20795
|
+
"confirm": false,
|
|
20796
|
+
"requiredArgs": [],
|
|
20797
|
+
"tier": "extended",
|
|
20798
|
+
"reachable": true,
|
|
20799
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20800
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20801
|
+
"boundedAlternative": null
|
|
20802
|
+
},
|
|
20803
|
+
{
|
|
20804
|
+
"operation": "task_note_attachments.getFieldInfo",
|
|
20805
|
+
"core": false,
|
|
20806
|
+
"tool": null,
|
|
20807
|
+
"purpose": "Get the TaskNoteAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
20808
|
+
"preferredWhen": null,
|
|
20809
|
+
"backingOperation": "task_note_attachments.getFieldInfo",
|
|
20810
|
+
"effect": "read",
|
|
20811
|
+
"dryRunFirst": false,
|
|
20812
|
+
"confirm": false,
|
|
20813
|
+
"requiredArgs": [],
|
|
20814
|
+
"tier": "extended",
|
|
20815
|
+
"reachable": true,
|
|
20816
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20817
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20818
|
+
"boundedAlternative": null
|
|
20819
|
+
},
|
|
20820
|
+
{
|
|
20821
|
+
"operation": "task_note_attachments.query",
|
|
20822
|
+
"core": false,
|
|
20823
|
+
"tool": "autotask_taskNoteAttachment_query",
|
|
20824
|
+
"purpose": "Query TaskNoteAttachment records with a JSON filter.",
|
|
20825
|
+
"preferredWhen": "Default for filtered reads (the bounded query op). queryAll is the unbounded raw walk — only when you need the ENTIRE set and accept a large payload; default to the bounded query op. Prefer an includeFields subset over the full model (field names via operations.fieldCatalog). latest: N is the latest-N rows (id-descending) when the newest rows are the goal (the vendor has no sort — count-anchored, docs/API.md §4). Prefer a hand-listed includeFields for common narrow reads (removed the closed fieldsPreset presets — the v1 billing_join field list for billing_items.query, if you need it, is: companyID, ticketID, projectID, timeEntryID, contractServiceID, contractID, billingCodeID, expenseItemID, itemDate, quantity, rate, extendedPrice, totalAmount, nonBillable); noteChars: N caps the untrusted-class free-text fields of the resource (notes/descriptions/UDF prose) to N chars each with the explicit … [+N chars truncated] marker (opt-in; the raw result when absent).",
|
|
20826
|
+
"backingOperation": "task_note_attachments.query",
|
|
20827
|
+
"effect": "read",
|
|
20828
|
+
"dryRunFirst": false,
|
|
20829
|
+
"confirm": false,
|
|
20830
|
+
"requiredArgs": [],
|
|
20831
|
+
"tier": "extended",
|
|
20832
|
+
"reachable": true,
|
|
20833
|
+
"reach": "dedicated tool",
|
|
20834
|
+
"reachReason": null,
|
|
20835
|
+
"boundedAlternative": null
|
|
20836
|
+
},
|
|
20709
20837
|
{
|
|
20710
20838
|
"operation": "task_notes.count",
|
|
20711
20839
|
"core": false,
|
|
@@ -23799,11 +23927,11 @@
|
|
|
23799
23927
|
}
|
|
23800
23928
|
],
|
|
23801
23929
|
"counts": {
|
|
23802
|
-
"registryOperations":
|
|
23930
|
+
"registryOperations": 1301,
|
|
23803
23931
|
"coreOperations": 10,
|
|
23804
|
-
"catalogRows":
|
|
23805
|
-
"withTool":
|
|
23806
|
-
"readModeOnly":
|
|
23932
|
+
"catalogRows": 1301,
|
|
23933
|
+
"withTool": 894,
|
|
23934
|
+
"readModeOnly": 407,
|
|
23807
23935
|
"neverExposed": 0,
|
|
23808
23936
|
"metaTools": 5
|
|
23809
23937
|
}
|
package/README.md
CHANGED
|
@@ -389,7 +389,7 @@ The SDK ships the mechanical substrate, not a server (no MCP imports, no zod):
|
|
|
389
389
|
governor place: `src/operations/invoke.ts`).
|
|
390
390
|
|
|
391
391
|
<!-- BEGIN GENERATED:approval-policy -->
|
|
392
|
-
**Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **
|
|
392
|
+
**Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **267 tools**: the 265 dedicated write/delete tools (204 `effect=write` + 61 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **632 tools** (the 619 dedicated read tools + the 10 core read tools + `autotask_read` + `autotask_catalog` + `autotask_describe`) all carry `readOnlyHint: true` and are safe ungated: every op they can route is `effect=read` (zero mutating requests). Refined class for the highest-risk ops: the **62 tools with `destructiveHint: true`** (61 dedicated delete tools + `autotask_delete`) additionally require `confirm === <operation key>` even inside `autotask_delete`. The approval-gated writes (`configuration_items.moveConfigurationItem`, `contacts.moveToCompany`) require the same confirm inside `autotask_write`. Migration: `autotask_invoke` is REPLACED by `autotask_read`/`autotask_write`/`autotask_delete` — update harness config and remove any `autotask_invoke` entry. The rule is derivable from the registry `effect` column and the mode tools’ fixed annotations; it never needs a hand-maintained name list.
|
|
393
393
|
<!-- END GENERATED:approval-policy -->
|
|
394
394
|
**Provider tool-search interop.** Hosts with provider-native tool search
|
|
395
395
|
(OpenAI `type: "tool_search"` / `defer_loading`; Anthropic's tool search
|