node-autotask 0.71.0 → 0.72.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 +10 -0
- package/MCP_TOOL_CATALOG.json +155 -9
- package/README.md +1 -1
- package/capabilities.json +519 -9
- package/dist/capabilities-data.js +518 -8
- package/dist/capabilities.cjs +4 -4
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-YKQ2KNQO.js → chunk-A4IRIYZ5.js} +3 -2
- package/dist/{chunk-4OR3XBIP.js → chunk-EGG2RGL5.js} +145 -4
- package/dist/{chunk-5COLIVBE.js → chunk-F2TYZKJS.js} +2 -2
- package/dist/{chunk-4DSLRDIF.cjs → chunk-HJVTA7SI.cjs} +31 -30
- package/dist/{chunk-LKJA57CH.js → chunk-K33DPJFK.js} +3 -3
- package/dist/{chunk-QQFF7X67.cjs → chunk-KVC5DZAP.cjs} +150 -9
- package/dist/{chunk-JLCHKCEB.cjs → chunk-SPME362B.cjs} +3 -3
- package/dist/{chunk-QJ327YI6.cjs → chunk-V5UGW6KZ.cjs} +177 -177
- package/dist/{index-CM_SRgtH.d.cts → index-BXnhBnhN.d.cts} +40 -1
- package/dist/{index-CM_SRgtH.d.ts → index-BXnhBnhN.d.ts} +40 -1
- package/dist/{index-CAXT5ZKT.d.cts → index-CqsY5YHt.d.cts} +3 -2
- package/dist/{index-lGpxr4gY.d.ts → index-DxfspQR1.d.ts} +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 +25 -6
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,16 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.72.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add TaskNotes global query/count/metadata and task-scoped get/create/PATCH update through typed `taskNotes` and registered generic dispatch. Enforce documented writable fields, text limits and required matching taskID on create across preview, apply and direct creation compositions; preserve baseline, permissions, impersonation and rich-text limitations. No DELETE is introduced (#465).
|
|
15
|
+
|
|
16
|
+
### Fixed
|
|
17
|
+
|
|
18
|
+
- Use model-backed numeric parent filters and bounded registered invocation in DNS-record query/count examples; preserve the existing installedProductID relationship and routes (#474).
|
|
19
|
+
|
|
10
20
|
## [0.71.0] - 2026-11-18
|
|
11
21
|
|
|
12
22
|
### 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-18T13:26:15.447Z",
|
|
4
|
+
"planHash": "79f3968f072705fbc7b479dba6863a27bde47deee7b85885eda8d019302f9c25",
|
|
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 400 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 258 today); the 623 readOnlyHint: true tools — including this one — are safe ungated; the 59 destructiveHint: true tools (58 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 258 tools that require approval (readOnlyHint !== true); the 623 readOnlyHint: true tools are safe ungated, and the 59 destructiveHint: true tools (58 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 58), 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 59 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 58), 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 59 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 258 today); the 623 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",
|
|
@@ -20537,6 +20537,152 @@
|
|
|
20537
20537
|
"reachReason": null,
|
|
20538
20538
|
"boundedAlternative": null
|
|
20539
20539
|
},
|
|
20540
|
+
{
|
|
20541
|
+
"operation": "task_notes.count",
|
|
20542
|
+
"core": false,
|
|
20543
|
+
"tool": "autotask_taskNote_count",
|
|
20544
|
+
"purpose": "Count task note records matching a JSON filter.",
|
|
20545
|
+
"preferredWhen": null,
|
|
20546
|
+
"backingOperation": "task_notes.count",
|
|
20547
|
+
"effect": "read",
|
|
20548
|
+
"dryRunFirst": false,
|
|
20549
|
+
"confirm": false,
|
|
20550
|
+
"requiredArgs": [],
|
|
20551
|
+
"tier": "extended",
|
|
20552
|
+
"reachable": true,
|
|
20553
|
+
"reach": "dedicated tool",
|
|
20554
|
+
"reachReason": null,
|
|
20555
|
+
"boundedAlternative": null
|
|
20556
|
+
},
|
|
20557
|
+
{
|
|
20558
|
+
"operation": "task_notes.create",
|
|
20559
|
+
"core": false,
|
|
20560
|
+
"tool": "autotask_taskNote_create",
|
|
20561
|
+
"purpose": "Create a task note.",
|
|
20562
|
+
"preferredWhen": "Only for a record that does not exist yet; prefer update for an id you already have.",
|
|
20563
|
+
"backingOperation": "task_notes.create",
|
|
20564
|
+
"effect": "write",
|
|
20565
|
+
"dryRunFirst": true,
|
|
20566
|
+
"confirm": false,
|
|
20567
|
+
"requiredArgs": [
|
|
20568
|
+
"parentId",
|
|
20569
|
+
"data"
|
|
20570
|
+
],
|
|
20571
|
+
"tier": "extended",
|
|
20572
|
+
"reachable": true,
|
|
20573
|
+
"reach": "dedicated tool",
|
|
20574
|
+
"reachReason": null,
|
|
20575
|
+
"boundedAlternative": null
|
|
20576
|
+
},
|
|
20577
|
+
{
|
|
20578
|
+
"operation": "task_notes.get",
|
|
20579
|
+
"core": false,
|
|
20580
|
+
"tool": "autotask_taskNote_get",
|
|
20581
|
+
"purpose": "Get one TaskNote by id.",
|
|
20582
|
+
"preferredWhen": "Preferred when the parent task ID and note ID are known; use a bounded taskID-filtered query to discover notes.",
|
|
20583
|
+
"backingOperation": "task_notes.get",
|
|
20584
|
+
"effect": "read",
|
|
20585
|
+
"dryRunFirst": false,
|
|
20586
|
+
"confirm": false,
|
|
20587
|
+
"requiredArgs": [
|
|
20588
|
+
"parentId",
|
|
20589
|
+
"id"
|
|
20590
|
+
],
|
|
20591
|
+
"tier": "extended",
|
|
20592
|
+
"reachable": true,
|
|
20593
|
+
"reach": "dedicated tool",
|
|
20594
|
+
"reachReason": null,
|
|
20595
|
+
"boundedAlternative": null
|
|
20596
|
+
},
|
|
20597
|
+
{
|
|
20598
|
+
"operation": "task_notes.getEntityInfo",
|
|
20599
|
+
"core": false,
|
|
20600
|
+
"tool": null,
|
|
20601
|
+
"purpose": "Get the TaskNote capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
20602
|
+
"preferredWhen": null,
|
|
20603
|
+
"backingOperation": "task_notes.getEntityInfo",
|
|
20604
|
+
"effect": "read",
|
|
20605
|
+
"dryRunFirst": false,
|
|
20606
|
+
"confirm": false,
|
|
20607
|
+
"requiredArgs": [],
|
|
20608
|
+
"tier": "extended",
|
|
20609
|
+
"reachable": true,
|
|
20610
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20611
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20612
|
+
"boundedAlternative": null
|
|
20613
|
+
},
|
|
20614
|
+
{
|
|
20615
|
+
"operation": "task_notes.getFieldInfo",
|
|
20616
|
+
"core": false,
|
|
20617
|
+
"tool": null,
|
|
20618
|
+
"purpose": "Get the TaskNote field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
20619
|
+
"preferredWhen": null,
|
|
20620
|
+
"backingOperation": "task_notes.getFieldInfo",
|
|
20621
|
+
"effect": "read",
|
|
20622
|
+
"dryRunFirst": false,
|
|
20623
|
+
"confirm": false,
|
|
20624
|
+
"requiredArgs": [],
|
|
20625
|
+
"tier": "extended",
|
|
20626
|
+
"reachable": true,
|
|
20627
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20628
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20629
|
+
"boundedAlternative": null
|
|
20630
|
+
},
|
|
20631
|
+
{
|
|
20632
|
+
"operation": "task_notes.getUdfInfo",
|
|
20633
|
+
"core": false,
|
|
20634
|
+
"tool": null,
|
|
20635
|
+
"purpose": "Get the TaskNote user-defined-field catalog.",
|
|
20636
|
+
"preferredWhen": null,
|
|
20637
|
+
"backingOperation": "task_notes.getUdfInfo",
|
|
20638
|
+
"effect": "read",
|
|
20639
|
+
"dryRunFirst": false,
|
|
20640
|
+
"confirm": false,
|
|
20641
|
+
"requiredArgs": [],
|
|
20642
|
+
"tier": "extended",
|
|
20643
|
+
"reachable": true,
|
|
20644
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
20645
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
20646
|
+
"boundedAlternative": null
|
|
20647
|
+
},
|
|
20648
|
+
{
|
|
20649
|
+
"operation": "task_notes.query",
|
|
20650
|
+
"core": false,
|
|
20651
|
+
"tool": "autotask_taskNote_query",
|
|
20652
|
+
"purpose": "Query TaskNote records with a JSON filter.",
|
|
20653
|
+
"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).",
|
|
20654
|
+
"backingOperation": "task_notes.query",
|
|
20655
|
+
"effect": "read",
|
|
20656
|
+
"dryRunFirst": false,
|
|
20657
|
+
"confirm": false,
|
|
20658
|
+
"requiredArgs": [],
|
|
20659
|
+
"tier": "extended",
|
|
20660
|
+
"reachable": true,
|
|
20661
|
+
"reach": "dedicated tool",
|
|
20662
|
+
"reachReason": null,
|
|
20663
|
+
"boundedAlternative": null
|
|
20664
|
+
},
|
|
20665
|
+
{
|
|
20666
|
+
"operation": "task_notes.update",
|
|
20667
|
+
"core": false,
|
|
20668
|
+
"tool": "autotask_taskNote_update",
|
|
20669
|
+
"purpose": "Update a task note.",
|
|
20670
|
+
"preferredWhen": "Use when an existing task note needs a supported field change.",
|
|
20671
|
+
"backingOperation": "task_notes.update",
|
|
20672
|
+
"effect": "write",
|
|
20673
|
+
"dryRunFirst": true,
|
|
20674
|
+
"confirm": false,
|
|
20675
|
+
"requiredArgs": [
|
|
20676
|
+
"parentId",
|
|
20677
|
+
"id",
|
|
20678
|
+
"data"
|
|
20679
|
+
],
|
|
20680
|
+
"tier": "extended",
|
|
20681
|
+
"reachable": true,
|
|
20682
|
+
"reach": "dedicated tool",
|
|
20683
|
+
"reachReason": null,
|
|
20684
|
+
"boundedAlternative": null
|
|
20685
|
+
},
|
|
20540
20686
|
{
|
|
20541
20687
|
"operation": "task_secondary_resources.count",
|
|
20542
20688
|
"core": false,
|
|
@@ -23318,11 +23464,11 @@
|
|
|
23318
23464
|
}
|
|
23319
23465
|
],
|
|
23320
23466
|
"counts": {
|
|
23321
|
-
"registryOperations":
|
|
23467
|
+
"registryOperations": 1276,
|
|
23322
23468
|
"coreOperations": 10,
|
|
23323
|
-
"catalogRows":
|
|
23324
|
-
"withTool":
|
|
23325
|
-
"readModeOnly":
|
|
23469
|
+
"catalogRows": 1276,
|
|
23470
|
+
"withTool": 876,
|
|
23471
|
+
"readModeOnly": 400,
|
|
23326
23472
|
"neverExposed": 0,
|
|
23327
23473
|
"metaTools": 5
|
|
23328
23474
|
}
|
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 **258 tools**: the 256 dedicated write/delete tools (198 `effect=write` + 58 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **623 tools** (the 610 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 **59 tools with `destructiveHint: true`** (58 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
|