node-autotask 0.20.0 → 0.23.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 (56) hide show
  1. package/ARCHITECTURE.md +44 -21
  2. package/CHANGELOG.md +42 -0
  3. package/MCP_TOOL_CATALOG.json +1458 -12
  4. package/MCP_TOOL_MANIFEST.md +23 -20
  5. package/MCP_TOOL_OVERRIDES.json +7 -7
  6. package/N8N_MCP_MANIFEST.json +20 -4
  7. package/N8N_MCP_MANIFEST.md +6 -5
  8. package/README.md +9 -9
  9. package/capabilities.json +12362 -7886
  10. package/capabilities.schema.json +33 -12
  11. package/dist/capabilities.cjs +2 -2
  12. package/dist/capabilities.d.cts +9 -2
  13. package/dist/capabilities.d.ts +9 -2
  14. package/dist/capabilities.js +1 -1
  15. package/dist/{chunk-GA6UCX3Z.js → chunk-B5SNZ3TZ.js} +3507 -3113
  16. package/dist/{chunk-L6V66V22.cjs → chunk-D5TVBI4U.cjs} +3039 -2645
  17. package/dist/{chunk-FLYTKJKV.cjs → chunk-JUO3URUI.cjs} +12361 -7885
  18. package/dist/{chunk-YH5CPRDN.cjs → chunk-N27NUB4R.cjs} +2466 -1745
  19. package/dist/{chunk-2T77J2ZM.js → chunk-OGNUI3UR.js} +12361 -7885
  20. package/dist/{chunk-XSYJB4IW.js → chunk-PVUUOM5G.js} +2092 -1371
  21. package/dist/{chunk-RMLGOCGA.cjs → chunk-TTQB537V.cjs} +135 -135
  22. package/dist/{chunk-JEJUFXHX.js → chunk-VYFO2N5F.js} +2 -2
  23. package/dist/{index-BXtKN1M5.d.cts → index-BVtycq-6.d.cts} +1 -1
  24. package/dist/{index-BXtKN1M5.d.ts → index-BVtycq-6.d.ts} +1 -1
  25. package/dist/{index-AN-NjLi9.d.cts → index-DBoX-Dnk.d.ts} +430 -952
  26. package/dist/{index-CvLLsOCP.d.ts → index-NC-x-bYl.d.cts} +430 -952
  27. package/dist/index.cjs +91 -62
  28. package/dist/index.d.cts +360 -5
  29. package/dist/index.d.ts +360 -5
  30. package/dist/index.js +74 -45
  31. package/dist/operations/index.cjs +462 -462
  32. package/dist/operations/index.d.cts +78 -84
  33. package/dist/operations/index.d.ts +78 -84
  34. package/dist/operations/index.js +382 -382
  35. package/dist/pool.cjs +8 -8
  36. package/dist/pool.d.cts +2 -2
  37. package/dist/pool.d.ts +2 -2
  38. package/dist/pool.js +4 -4
  39. package/dist/resources/index.cjs +4 -4
  40. package/dist/resources/index.d.cts +2 -2
  41. package/dist/resources/index.d.ts +2 -2
  42. package/dist/resources/index.js +3 -3
  43. package/dist/types/index.d.cts +1 -1
  44. package/dist/types/index.d.ts +1 -1
  45. package/docs/API.md +140 -45
  46. package/docs/N8N-ADAPTER.md +3 -3
  47. package/examples/mcp/errors.ts +135 -0
  48. package/examples/mcp/manifest.ts +168 -0
  49. package/examples/mcp/register.ts +66 -0
  50. package/examples/mcp/schemas.ts +203 -0
  51. package/examples/mcp/tools-meta.ts +120 -0
  52. package/examples/mcp/tools-mode.ts +177 -0
  53. package/examples/mcp/tools-read.ts +264 -0
  54. package/examples/mcp/types.ts +34 -0
  55. package/examples/mcp-register.ts +9 -1074
  56. package/package.json +1 -1
@@ -119,6 +119,39 @@
119
119
  "string",
120
120
  "null"
121
121
  ]
122
+ },
123
+ "properties": {
124
+ "type": "array",
125
+ "items": {
126
+ "type": "object",
127
+ "required": [
128
+ "name",
129
+ "type",
130
+ "optional"
131
+ ],
132
+ "properties": {
133
+ "name": {
134
+ "type": "string"
135
+ },
136
+ "type": {
137
+ "type": "string"
138
+ },
139
+ "optional": {
140
+ "type": "boolean"
141
+ },
142
+ "default": {
143
+ "type": [
144
+ "number",
145
+ "boolean",
146
+ "string",
147
+ "array"
148
+ ],
149
+ "items": {
150
+ "type": "string"
151
+ }
152
+ }
153
+ }
154
+ }
122
155
  }
123
156
  }
124
157
  }
@@ -364,18 +397,6 @@
364
397
  "null"
365
398
  ],
366
399
  "pattern": "^[a-f0-9]{64}$"
367
- },
368
- "testFiles": {
369
- "type": "array",
370
- "items": {
371
- "type": "string"
372
- }
373
- },
374
- "testHash": {
375
- "type": [
376
- "string",
377
- "null"
378
- ]
379
400
  }
380
401
  }
381
402
  }
@@ -2,9 +2,9 @@
2
2
 
3
3
 
4
4
 
5
- var _chunkFLYTKJKVcjs = require('./chunk-FLYTKJKV.cjs');
5
+ var _chunkJUO3URUIcjs = require('./chunk-JUO3URUI.cjs');
6
6
 
7
7
 
8
8
 
9
9
 
10
- exports.CAPABILITIES = _chunkFLYTKJKVcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkFLYTKJKVcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkFLYTKJKVcjs.CAPABILITY_PLAN_HASHES;
10
+ exports.CAPABILITIES = _chunkJUO3URUIcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkJUO3URUIcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkJUO3URUIcjs.CAPABILITY_PLAN_HASHES;
@@ -15,6 +15,15 @@ interface CapabilityArgSchema {
15
15
  required: boolean;
16
16
  /** What the arg is (never a sample value — redaction discipline). */
17
17
  description?: string;
18
+ /** Issue #162: structured per-key view of a params/opts bag, derived from the
19
+ * same prose as 'description' at generation time (so they cannot drift).
20
+ * 'default' is present only where the prose states one. */
21
+ properties?: Array<{
22
+ name: string;
23
+ type: string;
24
+ optional: boolean;
25
+ default?: number | boolean | string | string[];
26
+ }>;
18
27
  }
19
28
  /** One registered capability (a plan row that is implemented/tested). */
20
29
  interface CapabilityRecord {
@@ -105,8 +114,6 @@ interface CapabilityRecord {
105
114
  planHash: string;
106
115
  sourceFile: string;
107
116
  sourceHash: string | null;
108
- testFiles: string[];
109
- testHash: string | null;
110
117
  };
111
118
  }
112
119
  /** Grouped registry (one section per built group). */
@@ -15,6 +15,15 @@ interface CapabilityArgSchema {
15
15
  required: boolean;
16
16
  /** What the arg is (never a sample value — redaction discipline). */
17
17
  description?: string;
18
+ /** Issue #162: structured per-key view of a params/opts bag, derived from the
19
+ * same prose as 'description' at generation time (so they cannot drift).
20
+ * 'default' is present only where the prose states one. */
21
+ properties?: Array<{
22
+ name: string;
23
+ type: string;
24
+ optional: boolean;
25
+ default?: number | boolean | string | string[];
26
+ }>;
18
27
  }
19
28
  /** One registered capability (a plan row that is implemented/tested). */
20
29
  interface CapabilityRecord {
@@ -105,8 +114,6 @@ interface CapabilityRecord {
105
114
  planHash: string;
106
115
  sourceFile: string;
107
116
  sourceHash: string | null;
108
- testFiles: string[];
109
- testHash: string | null;
110
117
  };
111
118
  }
112
119
  /** Grouped registry (one section per built group). */
@@ -2,7 +2,7 @@ import {
2
2
  CAPABILITIES,
3
3
  CAPABILITY_GROUPS,
4
4
  CAPABILITY_PLAN_HASHES
5
- } from "./chunk-2T77J2ZM.js";
5
+ } from "./chunk-OGNUI3UR.js";
6
6
  export {
7
7
  CAPABILITIES,
8
8
  CAPABILITY_GROUPS,