node-autotask 0.20.0 → 0.21.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.
Files changed (40) hide show
  1. package/CHANGELOG.md +11 -0
  2. package/MCP_TOOL_CATALOG.json +1393 -6
  3. package/MCP_TOOL_MANIFEST.md +7 -7
  4. package/MCP_TOOL_OVERRIDES.json +1 -1
  5. package/N8N_MCP_MANIFEST.json +2 -2
  6. package/N8N_MCP_MANIFEST.md +3 -3
  7. package/capabilities.json +10689 -1699
  8. package/capabilities.schema.json +33 -0
  9. package/dist/capabilities.cjs +2 -2
  10. package/dist/capabilities.d.cts +9 -0
  11. package/dist/capabilities.d.ts +9 -0
  12. package/dist/capabilities.js +1 -1
  13. package/dist/{chunk-FLYTKJKV.cjs → chunk-CBUY3MKB.cjs} +10688 -1698
  14. package/dist/{chunk-2T77J2ZM.js → chunk-DM67SXCO.js} +10688 -1698
  15. package/dist/{chunk-XSYJB4IW.js → chunk-GBVUXAUA.js} +2 -2
  16. package/dist/{chunk-YH5CPRDN.cjs → chunk-HEW4WJLC.cjs} +393 -393
  17. package/dist/{chunk-JEJUFXHX.js → chunk-JRSU6PKP.js} +2 -2
  18. package/dist/{chunk-GA6UCX3Z.js → chunk-KD6LOSAK.js} +19 -14
  19. package/dist/{chunk-RMLGOCGA.cjs → chunk-PMPFQDVM.cjs} +135 -135
  20. package/dist/{chunk-L6V66V22.cjs → chunk-QWAWNQEZ.cjs} +20 -15
  21. package/dist/{index-AN-NjLi9.d.cts → index-ByWYfNog.d.cts} +16 -11
  22. package/dist/{index-CvLLsOCP.d.ts → index-DSnuyiTr.d.ts} +16 -11
  23. package/dist/index.cjs +22 -22
  24. package/dist/index.d.cts +2 -2
  25. package/dist/index.d.ts +2 -2
  26. package/dist/index.js +4 -4
  27. package/dist/operations/index.cjs +111 -111
  28. package/dist/operations/index.d.cts +2 -2
  29. package/dist/operations/index.d.ts +2 -2
  30. package/dist/operations/index.js +2 -2
  31. package/dist/pool.cjs +8 -8
  32. package/dist/pool.d.cts +1 -1
  33. package/dist/pool.d.ts +1 -1
  34. package/dist/pool.js +4 -4
  35. package/dist/resources/index.cjs +4 -4
  36. package/dist/resources/index.d.cts +1 -1
  37. package/dist/resources/index.d.ts +1 -1
  38. package/dist/resources/index.js +3 -3
  39. package/docs/API.md +7 -4
  40. package/package.json +1 -1
package/CHANGELOG.md CHANGED
@@ -7,6 +7,17 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
 
8
8
  ## [Unreleased]
9
9
 
10
+ ## [0.21.0] - 2026-10-21
11
+
12
+ **Structured bag properties, core ops in the catalog, op-key error text (issues #162, #163, #164, #177, #178, #179, #180, #181).** The plan hash moves to `baf3e855956e` (MINOR) — plan-pinned consumers must re-pin.
13
+ - **Bag `properties` (#162).** every object-typed `inputSchema` arg whose prose declares a `{ key?: type (...) }` bag now also carries `properties: [{ name, type, optional, default? }]` (e.g. `companies.query` params: `limit` default 500, `fieldCheck` default true), derived from the same description text at generation time so the two cannot drift. Additive; the prose is unchanged.
14
+ - **Core ops in `MCP_TOOL_CATALOG.catalog` (#163).** the 10 core-profile backing ops (`resources.whoAmI`, `version.get`, `threshold_information.get`, `operations.resolveAny`, `operations.searchAcrossResources`, `{companies,configuration_items,contacts,projects,tickets}.resolve`) are now catalog rows, flagged `core: true` (every row carries `core`); `counts.catalogRows` equals `registryOperations` (1213). `coreProfile` is unchanged.
15
+ - **Property types (#177).** bag `properties` types are now real type expressions (`(number | string)[]` for `ticketIds`, `string` for the date strings, `'find' | 'delete'` for `operations.recovery` action); a test fails on any unrecognised type token.
16
+ - **Literal defaults (#179).** string-literal enum defaults (`companies.unbilledWork` `source`/`rollup`, `contracts.profitability` `labourCostMethod`) and the `operations.fieldCatalog` `include` array default now appear in `properties[].default`; non-literal prose defaults (e.g. 'today') stay prose-only.
17
+ - **Array defaults and bag keys (#180, #181).** `CapabilityArgSchema.properties[].default` is now typed `number | boolean | string | string[]` (also `BagProperty` and `capabilities.schema.json`, `default` allows an array of strings), so `operations.fieldCatalog` `include` default `['fields']` validates; `names` / `maxNameReads` (default false / 20) are now documented for `tickets.fullContext`, `companies.fullProfile` and `configuration_items.profile` and appear in their `properties`. A test checks every record's properties against the schema and every key of a named `*Options` interface against the record bag. `testHash` / `capabilities.json` served text moved.
18
+ - **Served text (#178).** served capability descriptions, the plan and docs point at the op key `operations.resolveAny` instead of the tool name.
19
+ - **Error text (#164).** the pre-request refusals of `operations.fetchMany` / `operations.expandResourceNames` for non-numeric string ids name the op key `operations.resolveAny`, not the tool name.
20
+
10
21
  ## [0.20.0] - 2026-10-20
11
22
 
12
23
  **Filter pre-validation, the latest-probe count cache, and the window/search/aggregate served-text corrections (issues #125, #127, #128, #129, #130, #131).** The plan hash moves to `f6a579e0b7a8` (MINOR) — plan-pinned consumers must re-pin.