node-autotask 0.82.0 → 0.83.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 (39) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/MCP_TOOL_CATALOG.json +265 -9
  3. package/README.md +1 -1
  4. package/capabilities.json +959 -7
  5. package/dist/capabilities-data.js +958 -6
  6. package/dist/capabilities.cjs +4 -4
  7. package/dist/capabilities.js +1 -1
  8. package/dist/{chunk-XJQYDJKB.cjs → chunk-5AHEJCSP.cjs} +32 -30
  9. package/dist/{chunk-EFINBMXE.cjs → chunk-C2AFRW5M.cjs} +297 -9
  10. package/dist/{chunk-HZGCJ2CQ.js → chunk-CV56RIGS.js} +292 -4
  11. package/dist/{chunk-EQ6LOII6.js → chunk-DBEAS3IR.js} +3 -3
  12. package/dist/{chunk-FYDLVUSN.js → chunk-HQJLIRXW.js} +4 -2
  13. package/dist/{chunk-5UR4L7SB.cjs → chunk-QCA5R7QF.cjs} +3 -3
  14. package/dist/{chunk-TZL45TYE.cjs → chunk-QEMBBAF5.cjs} +199 -199
  15. package/dist/{chunk-7PQKFGTI.js → chunk-ZKAJVHHZ.js} +2 -2
  16. package/dist/{index-inEhFJaU.d.cts → index-8Hg6dytT.d.cts} +88 -1
  17. package/dist/{index-inEhFJaU.d.ts → index-8Hg6dytT.d.ts} +88 -1
  18. package/dist/{index-Dt1KqDEQ.d.cts → index-DxESlIIg.d.cts} +4 -2
  19. package/dist/{index-CW3PJPqH.d.ts → index-nXhYAQOf.d.ts} +4 -2
  20. package/dist/index.cjs +84 -84
  21. package/dist/index.d.cts +3 -3
  22. package/dist/index.d.ts +3 -3
  23. package/dist/index.js +5 -5
  24. package/dist/operations/index.cjs +51 -51
  25. package/dist/operations/index.d.cts +4 -4
  26. package/dist/operations/index.d.ts +4 -4
  27. package/dist/operations/index.js +2 -2
  28. package/dist/pool.cjs +12 -12
  29. package/dist/pool.d.cts +1 -1
  30. package/dist/pool.d.ts +1 -1
  31. package/dist/pool.js +4 -4
  32. package/dist/resources/index.cjs +27 -27
  33. package/dist/resources/index.d.cts +2 -2
  34. package/dist/resources/index.d.ts +2 -2
  35. package/dist/resources/index.js +3 -3
  36. package/dist/types/index.d.cts +1 -1
  37. package/dist/types/index.d.ts +1 -1
  38. package/docs/API.md +4 -2
  39. 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.83.0] - 2026-11-19
11
+
12
+ ### Added
13
+
14
+ - Expense-report and resource file attachments: global query/count/metadata and parent-scoped get/create/delete, with file validation, fresh previews and destructive confirmation. Report queries preserve expense-item attachments. Parent IDs and author/child associations remain distinct; nesting, contact author overrides, updates and exact-parent deduplication are unsupported. Vendor permissions and upload limits remain conditional (#467, #464).
15
+
10
16
  ## [0.82.0] - 2026-11-19
11
17
 
12
18
  ### Added
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "generatedBy": "scripts/build-tool-catalog.mjs",
3
- "generatedAt": "2026-11-19T11:13:30.546Z",
4
- "planHash": "2de751fe81574eda1520f8db24e6f947cab79b1231aeeb39da8e379bf50d7308",
3
+ "generatedAt": "2026-11-19T12:17:04.297Z",
4
+ "planHash": "d758816a699191e3da784f70f8ebe1f37ea9458aaf528241770f7bac94ba6ede",
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 419 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 279 today); the 650 readOnlyHint: true tools — including this one — are safe ungated; the 68 destructiveHint: true tools (67 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.",
54
+ "description": "Route an effect=read registry operation by its exact name (never fuzzy, never a tool name): the 423 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 283 today); the 656 readOnlyHint: true tools — including this one — are safe ungated; the 70 destructiveHint: true tools (69 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 279 tools that require approval (readOnlyHint !== true); the 650 readOnlyHint: true tools are safe ungated, and the 68 destructiveHint: true tools (67 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.",
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 283 tools that require approval (readOnlyHint !== true); the 656 readOnlyHint: true tools are safe ungated, and the 70 destructiveHint: true tools (69 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 67), 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 68 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 279 today); the 650 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.",
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 69), 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 70 destructiveHint: true tools that require approval + confirm; approve every tool with readOnlyHint !== true (exactly 283 today); the 656 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",
@@ -3974,6 +3974,134 @@
3974
3974
  "reachReason": null,
3975
3975
  "boundedAlternative": null
3976
3976
  },
3977
+ {
3978
+ "operation": "expense_report_attachments.count",
3979
+ "core": false,
3980
+ "tool": "autotask_expenseReportAttachment_count",
3981
+ "purpose": "Count expense report attachment records matching a JSON filter. Use expenseReportID for parent scope.",
3982
+ "preferredWhen": null,
3983
+ "backingOperation": "expense_report_attachments.count",
3984
+ "effect": "read",
3985
+ "dryRunFirst": false,
3986
+ "confirm": false,
3987
+ "requiredArgs": [],
3988
+ "tier": "extended",
3989
+ "reachable": true,
3990
+ "reach": "dedicated tool",
3991
+ "reachReason": null,
3992
+ "boundedAlternative": null
3993
+ },
3994
+ {
3995
+ "operation": "expense_report_attachments.create",
3996
+ "core": false,
3997
+ "tool": "autotask_expenseReportAttachment_create",
3998
+ "purpose": "Create a file attachment under an expense report.",
3999
+ "preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
4000
+ "backingOperation": "expense_report_attachments.create",
4001
+ "effect": "write",
4002
+ "dryRunFirst": true,
4003
+ "confirm": false,
4004
+ "requiredArgs": [
4005
+ "parentId",
4006
+ "data"
4007
+ ],
4008
+ "tier": "extended",
4009
+ "reachable": true,
4010
+ "reach": "dedicated tool",
4011
+ "reachReason": null,
4012
+ "boundedAlternative": null
4013
+ },
4014
+ {
4015
+ "operation": "expense_report_attachments.delete",
4016
+ "core": false,
4017
+ "tool": "autotask_expenseReportAttachment_delete",
4018
+ "purpose": "Delete an attachment under an expense report.",
4019
+ "preferredWhen": null,
4020
+ "backingOperation": "expense_report_attachments.delete",
4021
+ "effect": "destructive",
4022
+ "dryRunFirst": true,
4023
+ "confirm": true,
4024
+ "requiredArgs": [
4025
+ "parentId",
4026
+ "id"
4027
+ ],
4028
+ "tier": "extended",
4029
+ "reachable": true,
4030
+ "reach": "dedicated tool",
4031
+ "reachReason": null,
4032
+ "boundedAlternative": null
4033
+ },
4034
+ {
4035
+ "operation": "expense_report_attachments.get",
4036
+ "core": false,
4037
+ "tool": "autotask_expenseReportAttachment_get",
4038
+ "purpose": "Get one ExpenseReportAttachment by id.",
4039
+ "preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
4040
+ "backingOperation": "expense_report_attachments.get",
4041
+ "effect": "read",
4042
+ "dryRunFirst": false,
4043
+ "confirm": false,
4044
+ "requiredArgs": [
4045
+ "parentId",
4046
+ "id"
4047
+ ],
4048
+ "tier": "extended",
4049
+ "reachable": true,
4050
+ "reach": "dedicated tool",
4051
+ "reachReason": null,
4052
+ "boundedAlternative": null
4053
+ },
4054
+ {
4055
+ "operation": "expense_report_attachments.getEntityInfo",
4056
+ "core": false,
4057
+ "tool": null,
4058
+ "purpose": "Get the ExpenseReportAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
4059
+ "preferredWhen": null,
4060
+ "backingOperation": "expense_report_attachments.getEntityInfo",
4061
+ "effect": "read",
4062
+ "dryRunFirst": false,
4063
+ "confirm": false,
4064
+ "requiredArgs": [],
4065
+ "tier": "extended",
4066
+ "reachable": true,
4067
+ "reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
4068
+ "reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
4069
+ "boundedAlternative": null
4070
+ },
4071
+ {
4072
+ "operation": "expense_report_attachments.getFieldInfo",
4073
+ "core": false,
4074
+ "tool": null,
4075
+ "purpose": "Get the ExpenseReportAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
4076
+ "preferredWhen": null,
4077
+ "backingOperation": "expense_report_attachments.getFieldInfo",
4078
+ "effect": "read",
4079
+ "dryRunFirst": false,
4080
+ "confirm": false,
4081
+ "requiredArgs": [],
4082
+ "tier": "extended",
4083
+ "reachable": true,
4084
+ "reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
4085
+ "reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
4086
+ "boundedAlternative": null
4087
+ },
4088
+ {
4089
+ "operation": "expense_report_attachments.query",
4090
+ "core": false,
4091
+ "tool": "autotask_expenseReportAttachment_query",
4092
+ "purpose": "Query ExpenseReportAttachment records with a JSON filter.",
4093
+ "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).",
4094
+ "backingOperation": "expense_report_attachments.query",
4095
+ "effect": "read",
4096
+ "dryRunFirst": false,
4097
+ "confirm": false,
4098
+ "requiredArgs": [],
4099
+ "tier": "extended",
4100
+ "reachable": true,
4101
+ "reach": "dedicated tool",
4102
+ "reachReason": null,
4103
+ "boundedAlternative": null
4104
+ },
3977
4105
  {
3978
4106
  "operation": "expense_reports.count",
3979
4107
  "core": false,
@@ -6699,6 +6827,134 @@
6699
6827
  "reachReason": null,
6700
6828
  "boundedAlternative": null
6701
6829
  },
6830
+ {
6831
+ "operation": "resource_attachments.count",
6832
+ "core": false,
6833
+ "tool": "autotask_resourceAttachment_count",
6834
+ "purpose": "Count resource attachment records matching a JSON filter. Use resourceID for parent scope.",
6835
+ "preferredWhen": null,
6836
+ "backingOperation": "resource_attachments.count",
6837
+ "effect": "read",
6838
+ "dryRunFirst": false,
6839
+ "confirm": false,
6840
+ "requiredArgs": [],
6841
+ "tier": "extended",
6842
+ "reachable": true,
6843
+ "reach": "dedicated tool",
6844
+ "reachReason": null,
6845
+ "boundedAlternative": null
6846
+ },
6847
+ {
6848
+ "operation": "resource_attachments.create",
6849
+ "core": false,
6850
+ "tool": "autotask_resourceAttachment_create",
6851
+ "purpose": "Create a file attachment under a resource.",
6852
+ "preferredWhen": "Add a new attachment; existing attachments cannot be updated. Replace through separately governed delete and create actions.",
6853
+ "backingOperation": "resource_attachments.create",
6854
+ "effect": "write",
6855
+ "dryRunFirst": true,
6856
+ "confirm": false,
6857
+ "requiredArgs": [
6858
+ "parentId",
6859
+ "data"
6860
+ ],
6861
+ "tier": "extended",
6862
+ "reachable": true,
6863
+ "reach": "dedicated tool",
6864
+ "reachReason": null,
6865
+ "boundedAlternative": null
6866
+ },
6867
+ {
6868
+ "operation": "resource_attachments.delete",
6869
+ "core": false,
6870
+ "tool": "autotask_resourceAttachment_delete",
6871
+ "purpose": "Delete an attachment under a resource.",
6872
+ "preferredWhen": null,
6873
+ "backingOperation": "resource_attachments.delete",
6874
+ "effect": "destructive",
6875
+ "dryRunFirst": true,
6876
+ "confirm": true,
6877
+ "requiredArgs": [
6878
+ "parentId",
6879
+ "id"
6880
+ ],
6881
+ "tier": "extended",
6882
+ "reachable": true,
6883
+ "reach": "dedicated tool",
6884
+ "reachReason": null,
6885
+ "boundedAlternative": null
6886
+ },
6887
+ {
6888
+ "operation": "resource_attachments.get",
6889
+ "core": false,
6890
+ "tool": "autotask_resourceAttachment_get",
6891
+ "purpose": "Get one ResourceAttachment by id.",
6892
+ "preferredWhen": "Use a known attachment id; query the scoped collection to discover ids.",
6893
+ "backingOperation": "resource_attachments.get",
6894
+ "effect": "read",
6895
+ "dryRunFirst": false,
6896
+ "confirm": false,
6897
+ "requiredArgs": [
6898
+ "parentId",
6899
+ "id"
6900
+ ],
6901
+ "tier": "extended",
6902
+ "reachable": true,
6903
+ "reach": "dedicated tool",
6904
+ "reachReason": null,
6905
+ "boundedAlternative": null
6906
+ },
6907
+ {
6908
+ "operation": "resource_attachments.getEntityInfo",
6909
+ "core": false,
6910
+ "tool": null,
6911
+ "purpose": "Get the ResourceAttachment capability metadata (canCreate/canUpdate/hasUserDefinedFields/...).",
6912
+ "preferredWhen": null,
6913
+ "backingOperation": "resource_attachments.getEntityInfo",
6914
+ "effect": "read",
6915
+ "dryRunFirst": false,
6916
+ "confirm": false,
6917
+ "requiredArgs": [],
6918
+ "tier": "extended",
6919
+ "reachable": true,
6920
+ "reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
6921
+ "reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
6922
+ "boundedAlternative": null
6923
+ },
6924
+ {
6925
+ "operation": "resource_attachments.getFieldInfo",
6926
+ "core": false,
6927
+ "tool": null,
6928
+ "purpose": "Get the ResourceAttachment field catalog (types, picklists, required, maxLength) — the full raw field dump (the largest read of the info trio; compact discovery: operations.fieldCatalog).",
6929
+ "preferredWhen": null,
6930
+ "backingOperation": "resource_attachments.getFieldInfo",
6931
+ "effect": "read",
6932
+ "dryRunFirst": false,
6933
+ "confirm": false,
6934
+ "requiredArgs": [],
6935
+ "tier": "extended",
6936
+ "reachable": true,
6937
+ "reach": "autotask_read (exact operation name; effect=read — read-only; zero mutating requests)",
6938
+ "reachReason": "no dedicated tool — the op is still discoverable and invocable by exact name",
6939
+ "boundedAlternative": null
6940
+ },
6941
+ {
6942
+ "operation": "resource_attachments.query",
6943
+ "core": false,
6944
+ "tool": "autotask_resourceAttachment_query",
6945
+ "purpose": "Query ResourceAttachment records with a JSON filter.",
6946
+ "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).",
6947
+ "backingOperation": "resource_attachments.query",
6948
+ "effect": "read",
6949
+ "dryRunFirst": false,
6950
+ "confirm": false,
6951
+ "requiredArgs": [],
6952
+ "tier": "extended",
6953
+ "reachable": true,
6954
+ "reach": "dedicated tool",
6955
+ "reachReason": null,
6956
+ "boundedAlternative": null
6957
+ },
6702
6958
  {
6703
6959
  "operation": "resource_role_queues.count",
6704
6960
  "core": false,
@@ -24695,11 +24951,11 @@
24695
24951
  }
24696
24952
  ],
24697
24953
  "counts": {
24698
- "registryOperations": 1343,
24954
+ "registryOperations": 1357,
24699
24955
  "coreOperations": 10,
24700
- "catalogRows": 1343,
24701
- "withTool": 924,
24702
- "readModeOnly": 419,
24956
+ "catalogRows": 1357,
24957
+ "withTool": 934,
24958
+ "readModeOnly": 423,
24703
24959
  "neverExposed": 0,
24704
24960
  "metaTools": 5
24705
24961
  }
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 **279 tools**: the 277 dedicated write/delete tools (210 `effect=write` + 67 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **650 tools** (the 637 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 **68 tools with `destructiveHint: true`** (67 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.
392
+ **Harness approval policy (recommended).** Require approval on every tool whose MCP annotation is `readOnlyHint !== true` — today exactly **283 tools**: the 281 dedicated write/delete tools (212 `effect=write` + 69 `effect=destructive`, every one of them has a dedicated tool) + `autotask_write` + `autotask_delete`. The remaining **656 tools** (the 643 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 **70 tools with `destructiveHint: true`** (69 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