node-autotask 0.32.0 → 0.34.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 +47 -0
- package/MCP_TOOL_CATALOG.json +27 -8
- package/MCP_TOOL_MANIFEST.md +14 -13
- package/N8N_MCP_MANIFEST.json +38 -12
- package/N8N_MCP_MANIFEST.md +10 -9
- package/README.md +1 -1
- package/capabilities.json +4228 -2547
- package/capabilities.schema.json +32 -0
- package/dist/capabilities.cjs +2 -2
- package/dist/capabilities.d.cts +13 -1
- package/dist/capabilities.d.ts +13 -1
- package/dist/capabilities.js +1 -1
- package/dist/{chunk-M2EGFPGF.js → chunk-4MUBUSTL.js} +4227 -2546
- package/dist/{chunk-FVHPN7ZR.js → chunk-6ADFCU3I.js} +636 -429
- package/dist/{chunk-FTF2FEQ6.cjs → chunk-DKJP73FX.cjs} +1176 -969
- package/dist/{chunk-R6HLJCI2.js → chunk-EZKM4HQ6.js} +1038 -573
- package/dist/{chunk-DCTHO7CQ.cjs → chunk-FOOHJBPP.cjs} +4227 -2546
- package/dist/{chunk-IKPFR6K2.cjs → chunk-GDQ4QM7Q.cjs} +1085 -620
- package/dist/{chunk-QCB4LYKD.cjs → chunk-P6YN2POI.cjs} +143 -143
- package/dist/{chunk-T6EDJRLT.js → chunk-RDFL5QYE.js} +2 -2
- package/dist/{index-Cw4aNNMo.d.ts → index-ByMU8IC2.d.ts} +584 -198
- package/dist/{index-OkbCWcef.d.cts → index-Dx4-zpDo.d.cts} +584 -198
- package/dist/index.cjs +22 -22
- package/dist/index.d.cts +2 -2
- package/dist/index.d.ts +2 -2
- package/dist/index.js +4 -4
- package/dist/operations/index.cjs +165 -137
- package/dist/operations/index.d.cts +39 -25
- package/dist/operations/index.d.ts +39 -25
- package/dist/operations/index.js +48 -20
- package/dist/pool.cjs +9 -9
- 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 +4 -4
- package/dist/resources/index.d.cts +1 -1
- package/dist/resources/index.d.ts +1 -1
- package/dist/resources/index.js +3 -3
- package/docs/API.md +161 -36
- package/package.json +2 -1
package/capabilities.schema.json
CHANGED
|
@@ -396,6 +396,38 @@
|
|
|
396
396
|
}
|
|
397
397
|
}
|
|
398
398
|
},
|
|
399
|
+
"caveats": {
|
|
400
|
+
"type": "array",
|
|
401
|
+
"items": {
|
|
402
|
+
"type": "object",
|
|
403
|
+
"required": [
|
|
404
|
+
"kind",
|
|
405
|
+
"note"
|
|
406
|
+
],
|
|
407
|
+
"properties": {
|
|
408
|
+
"kind": {
|
|
409
|
+
"enum": [
|
|
410
|
+
"not-persisted"
|
|
411
|
+
]
|
|
412
|
+
},
|
|
413
|
+
"fields": {
|
|
414
|
+
"type": "array",
|
|
415
|
+
"items": {
|
|
416
|
+
"type": "string",
|
|
417
|
+
"minLength": 1
|
|
418
|
+
}
|
|
419
|
+
},
|
|
420
|
+
"note": {
|
|
421
|
+
"type": "string",
|
|
422
|
+
"minLength": 1
|
|
423
|
+
},
|
|
424
|
+
"remedyOp": {
|
|
425
|
+
"type": "string",
|
|
426
|
+
"minLength": 1
|
|
427
|
+
}
|
|
428
|
+
}
|
|
429
|
+
}
|
|
430
|
+
},
|
|
399
431
|
"createRequirements": {
|
|
400
432
|
"type": "object",
|
|
401
433
|
"properties": {
|
package/dist/capabilities.cjs
CHANGED
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
|
|
5
|
-
var
|
|
5
|
+
var _chunkFOOHJBPPcjs = require('./chunk-FOOHJBPP.cjs');
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
9
|
|
|
10
|
-
exports.CAPABILITIES =
|
|
10
|
+
exports.CAPABILITIES = _chunkFOOHJBPPcjs.CAPABILITIES; exports.CAPABILITY_GROUPS = _chunkFOOHJBPPcjs.CAPABILITY_GROUPS; exports.CAPABILITY_PLAN_HASHES = _chunkFOOHJBPPcjs.CAPABILITY_PLAN_HASHES;
|
package/dist/capabilities.d.cts
CHANGED
|
@@ -25,6 +25,17 @@ interface CapabilityArgSchema {
|
|
|
25
25
|
default?: number | boolean | string | string[];
|
|
26
26
|
}>;
|
|
27
27
|
}
|
|
28
|
+
/** One per-operation caveat (issue #249): the closed-kind row served on `metadata.caveats`. */
|
|
29
|
+
interface CapabilityCaveat {
|
|
30
|
+
/** The closed caveat kind. `not-persisted`: the op accepts the listed `fields` but the vendor does not store them. */
|
|
31
|
+
kind: 'not-persisted';
|
|
32
|
+
/** The affected vendor field names (required for `not-persisted`). */
|
|
33
|
+
fields?: string[];
|
|
34
|
+
/** One sentence for the caller. */
|
|
35
|
+
note: string;
|
|
36
|
+
/** The operation id that does what this op cannot (e.g. 'time_entries.moveToTicket'). */
|
|
37
|
+
remedyOp?: string;
|
|
38
|
+
}
|
|
28
39
|
/** One registered capability (a plan row that is implemented/tested). */
|
|
29
40
|
interface CapabilityRecord {
|
|
30
41
|
/** Plan row id, e.g. 'companies.query' or 'companies.search'. */
|
|
@@ -104,6 +115,7 @@ interface CapabilityRecord {
|
|
|
104
115
|
};
|
|
105
116
|
/** Stable error codes this operation can emit (plan column pass-through). */
|
|
106
117
|
errors: string[];
|
|
118
|
+
/** The descriptor bag (purpose, usage, ...). Optional `caveats?: CapabilityCaveat[]` (issue #249) names fields an op accepts but the vendor does not store. */
|
|
107
119
|
metadata: Record<string, unknown>;
|
|
108
120
|
/** Compact summary shape name, or null. */
|
|
109
121
|
compact: string | null;
|
|
@@ -132,4 +144,4 @@ declare const CAPABILITIES: CapabilityRecord[];
|
|
|
132
144
|
/** The plan hash per built group (staleness gate input). */
|
|
133
145
|
declare const CAPABILITY_PLAN_HASHES: Record<string, string>;
|
|
134
146
|
|
|
135
|
-
export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityRecord };
|
|
147
|
+
export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityCaveat, type CapabilityRecord };
|
package/dist/capabilities.d.ts
CHANGED
|
@@ -25,6 +25,17 @@ interface CapabilityArgSchema {
|
|
|
25
25
|
default?: number | boolean | string | string[];
|
|
26
26
|
}>;
|
|
27
27
|
}
|
|
28
|
+
/** One per-operation caveat (issue #249): the closed-kind row served on `metadata.caveats`. */
|
|
29
|
+
interface CapabilityCaveat {
|
|
30
|
+
/** The closed caveat kind. `not-persisted`: the op accepts the listed `fields` but the vendor does not store them. */
|
|
31
|
+
kind: 'not-persisted';
|
|
32
|
+
/** The affected vendor field names (required for `not-persisted`). */
|
|
33
|
+
fields?: string[];
|
|
34
|
+
/** One sentence for the caller. */
|
|
35
|
+
note: string;
|
|
36
|
+
/** The operation id that does what this op cannot (e.g. 'time_entries.moveToTicket'). */
|
|
37
|
+
remedyOp?: string;
|
|
38
|
+
}
|
|
28
39
|
/** One registered capability (a plan row that is implemented/tested). */
|
|
29
40
|
interface CapabilityRecord {
|
|
30
41
|
/** Plan row id, e.g. 'companies.query' or 'companies.search'. */
|
|
@@ -104,6 +115,7 @@ interface CapabilityRecord {
|
|
|
104
115
|
};
|
|
105
116
|
/** Stable error codes this operation can emit (plan column pass-through). */
|
|
106
117
|
errors: string[];
|
|
118
|
+
/** The descriptor bag (purpose, usage, ...). Optional `caveats?: CapabilityCaveat[]` (issue #249) names fields an op accepts but the vendor does not store. */
|
|
107
119
|
metadata: Record<string, unknown>;
|
|
108
120
|
/** Compact summary shape name, or null. */
|
|
109
121
|
compact: string | null;
|
|
@@ -132,4 +144,4 @@ declare const CAPABILITIES: CapabilityRecord[];
|
|
|
132
144
|
/** The plan hash per built group (staleness gate input). */
|
|
133
145
|
declare const CAPABILITY_PLAN_HASHES: Record<string, string>;
|
|
134
146
|
|
|
135
|
-
export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityRecord };
|
|
147
|
+
export { CAPABILITIES, CAPABILITY_GROUPS, CAPABILITY_PLAN_HASHES, type CapabilityArgSchema, type CapabilityCaveat, type CapabilityRecord };
|