node-autotask 0.77.0 → 0.78.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-RLXUY4VM.js → chunk-3SYNF5QD.js} +2 -2
- package/dist/{chunk-3FZJJX5B.cjs → chunk-MVKI2AZX.cjs} +3 -3
- package/dist/{chunk-QTFK2HAO.js → chunk-S7BJNQ2X.js} +3 -2
- package/dist/{chunk-6VBOBCWA.cjs → chunk-S7JH6K2Z.cjs} +157 -13
- package/dist/{chunk-NAI7XIX4.cjs → chunk-U7LVWEO4.cjs} +199 -199
- package/dist/{chunk-F5Y7WBWY.js → chunk-XBT332X7.js} +152 -8
- package/dist/{chunk-G2U6NHPO.js → chunk-YH5UCY2X.js} +3 -3
- package/dist/{chunk-5MH3MPLB.cjs → chunk-YONRIG6F.cjs} +31 -30
- package/dist/{index-B-vNyiD_.d.cts → index-BHqdOo_5.d.cts} +45 -1
- package/dist/{index-B-vNyiD_.d.ts → index-BHqdOo_5.d.ts} +45 -1
- package/dist/{index-PLdAoAFJ.d.cts → index-DfcdtQO0.d.cts} +3 -2
- package/dist/{index-ecr6unv3.d.ts → index-ci3TSJrT.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 +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.78.0] - 2026-11-19
|
|
11
|
+
|
|
12
|
+
### Added
|
|
13
|
+
|
|
14
|
+
- Add ConfigurationItemNoteAttachments global query, count and metadata plus note-scoped get, file create and DELETE. Keep the note identifier distinct from the owning asset and validate file input and attachment identity (#467, #464).
|
|
15
|
+
|
|
10
16
|
## [0.77.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-19T06:42:18.795Z",
|
|
4
|
+
"planHash": "a84c111cf8c415f470fc48dff7ad406f0f67ee9c2a8d75f963e4812e5a2577b2",
|
|
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 411 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 271 today); the 638 readOnlyHint: true tools — including this one — are safe ungated; the 64 destructiveHint: true tools (63 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 271 tools that require approval (readOnlyHint !== true); the 638 readOnlyHint: true tools are safe ungated, and the 64 destructiveHint: true tools (63 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 63), 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 64 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 271 today); the 638 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",
|
|
@@ -14187,6 +14187,134 @@
|
|
|
14187
14187
|
"reachReason": null,
|
|
14188
14188
|
"boundedAlternative": null
|
|
14189
14189
|
},
|
|
14190
|
+
{
|
|
14191
|
+
"operation": "configuration_item_note_attachments.count",
|
|
14192
|
+
"core": false,
|
|
14193
|
+
"tool": "autotask_configurationItemNoteAttachment_count",
|
|
14194
|
+
"purpose": "Count configuration item note attachment records matching a JSON filter. Use configurationItemNoteID for note scope.",
|
|
14195
|
+
"preferredWhen": null,
|
|
14196
|
+
"backingOperation": "configuration_item_note_attachments.count",
|
|
14197
|
+
"effect": "read",
|
|
14198
|
+
"dryRunFirst": false,
|
|
14199
|
+
"confirm": false,
|
|
14200
|
+
"requiredArgs": [],
|
|
14201
|
+
"tier": "extended",
|
|
14202
|
+
"reachable": true,
|
|
14203
|
+
"reach": "dedicated tool",
|
|
14204
|
+
"reachReason": null,
|
|
14205
|
+
"boundedAlternative": null
|
|
14206
|
+
},
|
|
14207
|
+
{
|
|
14208
|
+
"operation": "configuration_item_note_attachments.create",
|
|
14209
|
+
"core": false,
|
|
14210
|
+
"tool": "autotask_configurationItemNoteAttachment_create",
|
|
14211
|
+
"purpose": "Create a file attachment under a configuration-item note.",
|
|
14212
|
+
"preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
|
|
14213
|
+
"backingOperation": "configuration_item_note_attachments.create",
|
|
14214
|
+
"effect": "write",
|
|
14215
|
+
"dryRunFirst": true,
|
|
14216
|
+
"confirm": false,
|
|
14217
|
+
"requiredArgs": [
|
|
14218
|
+
"parentId",
|
|
14219
|
+
"data"
|
|
14220
|
+
],
|
|
14221
|
+
"tier": "extended",
|
|
14222
|
+
"reachable": true,
|
|
14223
|
+
"reach": "dedicated tool",
|
|
14224
|
+
"reachReason": null,
|
|
14225
|
+
"boundedAlternative": null
|
|
14226
|
+
},
|
|
14227
|
+
{
|
|
14228
|
+
"operation": "configuration_item_note_attachments.delete",
|
|
14229
|
+
"core": false,
|
|
14230
|
+
"tool": "autotask_configurationItemNoteAttachment_delete",
|
|
14231
|
+
"purpose": "Delete an attachment under a configuration-item note.",
|
|
14232
|
+
"preferredWhen": null,
|
|
14233
|
+
"backingOperation": "configuration_item_note_attachments.delete",
|
|
14234
|
+
"effect": "destructive",
|
|
14235
|
+
"dryRunFirst": true,
|
|
14236
|
+
"confirm": true,
|
|
14237
|
+
"requiredArgs": [
|
|
14238
|
+
"parentId",
|
|
14239
|
+
"id"
|
|
14240
|
+
],
|
|
14241
|
+
"tier": "extended",
|
|
14242
|
+
"reachable": true,
|
|
14243
|
+
"reach": "dedicated tool",
|
|
14244
|
+
"reachReason": null,
|
|
14245
|
+
"boundedAlternative": null
|
|
14246
|
+
},
|
|
14247
|
+
{
|
|
14248
|
+
"operation": "configuration_item_note_attachments.get",
|
|
14249
|
+
"core": false,
|
|
14250
|
+
"tool": "autotask_configurationItemNoteAttachment_get",
|
|
14251
|
+
"purpose": "Get one ConfigurationItemNoteAttachment by id.",
|
|
14252
|
+
"preferredWhen": "Use a known note id and attachment id. Use the global query filtered by configurationItemNoteID to discover attachments.",
|
|
14253
|
+
"backingOperation": "configuration_item_note_attachments.get",
|
|
14254
|
+
"effect": "read",
|
|
14255
|
+
"dryRunFirst": false,
|
|
14256
|
+
"confirm": false,
|
|
14257
|
+
"requiredArgs": [
|
|
14258
|
+
"parentId",
|
|
14259
|
+
"id"
|
|
14260
|
+
],
|
|
14261
|
+
"tier": "extended",
|
|
14262
|
+
"reachable": true,
|
|
14263
|
+
"reach": "dedicated tool",
|
|
14264
|
+
"reachReason": null,
|
|
14265
|
+
"boundedAlternative": null
|
|
14266
|
+
},
|
|
14267
|
+
{
|
|
14268
|
+
"operation": "configuration_item_note_attachments.getEntityInfo",
|
|
14269
|
+
"core": false,
|
|
14270
|
+
"tool": null,
|
|
14271
|
+
"purpose": "Get the ConfigurationItemNoteAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
|
|
14272
|
+
"preferredWhen": null,
|
|
14273
|
+
"backingOperation": "configuration_item_note_attachments.getEntityInfo",
|
|
14274
|
+
"effect": "read",
|
|
14275
|
+
"dryRunFirst": false,
|
|
14276
|
+
"confirm": false,
|
|
14277
|
+
"requiredArgs": [],
|
|
14278
|
+
"tier": "extended",
|
|
14279
|
+
"reachable": true,
|
|
14280
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
14281
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
14282
|
+
"boundedAlternative": null
|
|
14283
|
+
},
|
|
14284
|
+
{
|
|
14285
|
+
"operation": "configuration_item_note_attachments.getFieldInfo",
|
|
14286
|
+
"core": false,
|
|
14287
|
+
"tool": null,
|
|
14288
|
+
"purpose": "Get the ConfigurationItemNoteAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
|
|
14289
|
+
"preferredWhen": null,
|
|
14290
|
+
"backingOperation": "configuration_item_note_attachments.getFieldInfo",
|
|
14291
|
+
"effect": "read",
|
|
14292
|
+
"dryRunFirst": false,
|
|
14293
|
+
"confirm": false,
|
|
14294
|
+
"requiredArgs": [],
|
|
14295
|
+
"tier": "extended",
|
|
14296
|
+
"reachable": true,
|
|
14297
|
+
"reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
|
|
14298
|
+
"reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
|
|
14299
|
+
"boundedAlternative": null
|
|
14300
|
+
},
|
|
14301
|
+
{
|
|
14302
|
+
"operation": "configuration_item_note_attachments.query",
|
|
14303
|
+
"core": false,
|
|
14304
|
+
"tool": "autotask_configurationItemNoteAttachment_query",
|
|
14305
|
+
"purpose": "Query ConfigurationItemNoteAttachment records with a JSON filter.",
|
|
14306
|
+
"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).",
|
|
14307
|
+
"backingOperation": "configuration_item_note_attachments.query",
|
|
14308
|
+
"effect": "read",
|
|
14309
|
+
"dryRunFirst": false,
|
|
14310
|
+
"confirm": false,
|
|
14311
|
+
"requiredArgs": [],
|
|
14312
|
+
"tier": "extended",
|
|
14313
|
+
"reachable": true,
|
|
14314
|
+
"reach": "dedicated tool",
|
|
14315
|
+
"reachReason": null,
|
|
14316
|
+
"boundedAlternative": null
|
|
14317
|
+
},
|
|
14190
14318
|
{
|
|
14191
14319
|
"operation": "configuration_item_notes.count",
|
|
14192
14320
|
"core": false,
|
|
@@ -24055,11 +24183,11 @@
|
|
|
24055
24183
|
}
|
|
24056
24184
|
],
|
|
24057
24185
|
"counts": {
|
|
24058
|
-
"registryOperations":
|
|
24186
|
+
"registryOperations": 1315,
|
|
24059
24187
|
"coreOperations": 10,
|
|
24060
|
-
"catalogRows":
|
|
24061
|
-
"withTool":
|
|
24062
|
-
"readModeOnly":
|
|
24188
|
+
"catalogRows": 1315,
|
|
24189
|
+
"withTool": 904,
|
|
24190
|
+
"readModeOnly": 411,
|
|
24063
24191
|
"neverExposed": 0,
|
|
24064
24192
|
"metaTools": 5
|
|
24065
24193
|
}
|
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 **271 tools**: the 269 dedicated write/delete tools (206 `effect=write` + 63 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **638 tools** (the 625 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 **64 tools with `destructiveHint: true`** (63 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
|