node-autotask 0.65.0 → 0.66.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 +19 -0
- package/MCP_TOOL_CATALOG.json +34 -14
- package/README.md +1 -1
- package/capabilities.json +157 -96
- package/dist/capabilities-data.js +156 -95
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-C73NILBZ.js → chunk-4HJVHVPE.js} +2 -2
- package/dist/{chunk-WKR5IJEC.cjs → chunk-FLVMENXG.cjs} +3 -3
- package/dist/{chunk-ULI4UUB3.js → chunk-KO36QZXN.js} +390 -405
- package/dist/{chunk-N4EO3KAY.js → chunk-L5K2D2MZ.js} +3 -3
- package/dist/{chunk-M63TK4ZH.cjs → chunk-QG3O5G4L.cjs} +175 -179
- package/dist/{chunk-MXLE2F5G.js → chunk-T5TI22K5.js} +4 -8
- package/dist/{chunk-NTHEFYA7.cjs → chunk-TIFJFCCN.cjs} +395 -410
- package/dist/{chunk-UHV7SAX6.cjs → chunk-XAJ7SBPE.cjs} +31 -31
- package/dist/{index-vcFKvZqm.d.ts → index-BZ11hF8H.d.ts} +10 -24
- package/dist/{index-CRVQBajX.d.cts → index-DnisYPlj.d.cts} +10 -24
- package/dist/index.cjs +84 -84
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +5 -5
- package/dist/operations/index.cjs +50 -50
- package/dist/operations/index.d.cts +3 -3
- package/dist/operations/index.d.ts +3 -3
- package/dist/operations/index.js +2 -2
- package/dist/pool.cjs +8 -8
- package/dist/pool.js +4 -4
- package/dist/resources/index.cjs +27 -27
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/docs/API.md +2 -2
- package/docs/VENDOR-QUIRKS.md +50 -34
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.66.0] - 2026-11-17
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
|
|
14
|
+
- Expose the vendor-supported `currencies.update` operation (#448), including the generated registry, MCP and n8n projections. Partial updates use a fresh read and the existing collection PUT merge; the write is marked account-wide. Currency create and delete remain unsupported by the vendor.
|
|
15
|
+
|
|
16
|
+
- Stop declaring documented opportunity and attachment creates impossible based on unsuccessful
|
|
17
|
+
reference-tenant probes (#447). Those attachment/opportunity rows now report `blocker.kind: unknown`,
|
|
18
|
+
retain `unproven: true` and their error evidence, and omit the previous `unsatisfiableViaApi: true`
|
|
19
|
+
flag. Consumers should treat retained `blind-parent` / `blind-reference` kinds as conditional
|
|
20
|
+
diagnostics, never as a current-user permission or inventory check.
|
|
21
|
+
Product and configuration-item guidance no longer infers tenant inventory or asset capability from
|
|
22
|
+
an empty product count. Configuration-item profiles no longer mark successfully returned product
|
|
23
|
+
associations blind merely because asset creates require a productID. Existing API operations
|
|
24
|
+
remain reachable through the same governed paths. Static parent/reference guidance, visibility
|
|
25
|
+
warnings and discovery notes now distinguish prior observations from current-tenant permissions
|
|
26
|
+
and inventory; known valid ids remain usable. The association-target plan and documentation
|
|
27
|
+
identify Vendor references as vendor-type Companies and retain official entity documentation links.
|
|
28
|
+
|
|
10
29
|
## [0.65.0] - 2026-11-17
|
|
11
30
|
|
|
12
31
|
### Fixed
|
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-17T05:05:06.790Z",
|
|
4
|
+
"planHash": "94052c314d189d4b2fcf6bc842d983d4817c8410109074ed9505b682f4855790",
|
|
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 390 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
|
|
54
|
+
"description": "Route an effect=read registry operation by its exact name (never fuzzy, never a tool name): the 390 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 252 today); the 610 readOnlyHint: true tools — including this one — are safe ungated; the 57 destructiveHint: true tools (56 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 252 tools that require approval (readOnlyHint !== true); the 610 readOnlyHint: true tools are safe ungated, and the 57 destructiveHint: true tools (56 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 56), 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 57 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly
|
|
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 56), 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 57 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 252 today); the 610 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",
|
|
@@ -3227,6 +3227,26 @@
|
|
|
3227
3227
|
"reachReason": null,
|
|
3228
3228
|
"boundedAlternative": null
|
|
3229
3229
|
},
|
|
3230
|
+
{
|
|
3231
|
+
"operation": "currencies.update",
|
|
3232
|
+
"core": false,
|
|
3233
|
+
"tool": "autotask_currency_update",
|
|
3234
|
+
"purpose": "Update a currency, including its exchange rate and display settings.",
|
|
3235
|
+
"preferredWhen": "Change supported fields on an existing currency; the vendor specification does not define currency create or delete operations.",
|
|
3236
|
+
"backingOperation": "currencies.update",
|
|
3237
|
+
"effect": "write",
|
|
3238
|
+
"dryRunFirst": true,
|
|
3239
|
+
"confirm": false,
|
|
3240
|
+
"requiredArgs": [
|
|
3241
|
+
"id",
|
|
3242
|
+
"data"
|
|
3243
|
+
],
|
|
3244
|
+
"tier": "advanced",
|
|
3245
|
+
"reachable": true,
|
|
3246
|
+
"reach": "dedicated tool",
|
|
3247
|
+
"reachReason": null,
|
|
3248
|
+
"boundedAlternative": null
|
|
3249
|
+
},
|
|
3230
3250
|
{
|
|
3231
3251
|
"operation": "departments.count",
|
|
3232
3252
|
"core": false,
|
|
@@ -17902,7 +17922,7 @@
|
|
|
17902
17922
|
"reachReason": null,
|
|
17903
17923
|
"boundedAlternative": null,
|
|
17904
17924
|
"writeQuirks": {
|
|
17905
|
-
"dateConventions": "date convention (
|
|
17925
|
+
"dateConventions": "date convention (verify against current field metadata): startDate and endDate are date-only at 00:00Z; tickets.dueDateTime is a true UTC instant."
|
|
17906
17926
|
}
|
|
17907
17927
|
},
|
|
17908
17928
|
{
|
|
@@ -18108,7 +18128,7 @@
|
|
|
18108
18128
|
"reachReason": null,
|
|
18109
18129
|
"boundedAlternative": null,
|
|
18110
18130
|
"writeQuirks": {
|
|
18111
|
-
"dateConventions": "date convention (
|
|
18131
|
+
"dateConventions": "date convention (verify against current field metadata): startDate and endDate are date-only at 00:00Z; tickets.dueDateTime is a true UTC instant."
|
|
18112
18132
|
}
|
|
18113
18133
|
},
|
|
18114
18134
|
{
|
|
@@ -22649,8 +22669,8 @@
|
|
|
22649
22669
|
"operation": "operations.createGuidance",
|
|
22650
22670
|
"core": false,
|
|
22651
22671
|
"tool": "autotask_create_guidance",
|
|
22652
|
-
"purpose": "
|
|
22653
|
-
"preferredWhen": "
|
|
22672
|
+
"purpose": "Read static creation requirements, prior validation findings and unproven input guidance. This is not a live test of current-tenant capability, inventory or permissions.",
|
|
22673
|
+
"preferredWhen": "Consult before a create, together with current field metadata and a governed preview; never substitute static reference-tenant observations for a live permission or inventory check.",
|
|
22654
22674
|
"backingOperation": "operations.createGuidance",
|
|
22655
22675
|
"effect": "read",
|
|
22656
22676
|
"dryRunFirst": false,
|
|
@@ -22772,8 +22792,8 @@
|
|
|
22772
22792
|
"operation": "operations.relationshipMap",
|
|
22773
22793
|
"core": false,
|
|
22774
22794
|
"tool": "autotask_relationship_map",
|
|
22775
|
-
"purpose": "Describe
|
|
22776
|
-
"preferredWhen": "
|
|
22795
|
+
"purpose": "Describe a resource’s SDK-covered parent/child operations, lookup keys and static create guidance without a vendor call. Current-user visibility and tenant inventory require live reads.",
|
|
22796
|
+
"preferredWhen": "Before composing related operations; use live read operations to establish the current tenant’s records and API-user visibility.",
|
|
22777
22797
|
"backingOperation": "operations.relationshipMap",
|
|
22778
22798
|
"effect": "read",
|
|
22779
22799
|
"dryRunFirst": false,
|
|
@@ -22919,10 +22939,10 @@
|
|
|
22919
22939
|
}
|
|
22920
22940
|
],
|
|
22921
22941
|
"counts": {
|
|
22922
|
-
"registryOperations":
|
|
22942
|
+
"registryOperations": 1247,
|
|
22923
22943
|
"coreOperations": 10,
|
|
22924
|
-
"catalogRows":
|
|
22925
|
-
"withTool":
|
|
22944
|
+
"catalogRows": 1247,
|
|
22945
|
+
"withTool": 857,
|
|
22926
22946
|
"readModeOnly": 390,
|
|
22927
22947
|
"neverExposed": 0,
|
|
22928
22948
|
"metaTools": 5
|
package/README.md
CHANGED
|
@@ -342,7 +342,7 @@ The SDK ships the mechanical substrate, not a server (no MCP imports, no zod):
|
|
|
342
342
|
governor place: `src/operations/invoke.ts`).
|
|
343
343
|
|
|
344
344
|
<!-- BEGIN GENERATED:approval-policy -->
|
|
345
|
-
**Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **
|
|
345
|
+
**Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **252 tools**: the 250 dedicated write/delete tools (194 `effect=write` + 56 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **610 tools** (the 597 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 **57 tools with `destructiveHint: true`** (56 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.
|
|
346
346
|
<!-- END GENERATED:approval-policy -->
|
|
347
347
|
**Provider tool-search interop.** Hosts with provider-native tool search
|
|
348
348
|
(OpenAI `type: "tool_search"` / `defer_loading`; Anthropic's tool search
|