@agledger/cli 0.4.0 → 0.5.1
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/README.md +73 -42
- package/SKILL.md +39 -18
- package/dist/api-client.js +1 -1
- package/dist/base.d.ts +43 -21
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +76 -65
- package/dist/base.js.map +1 -1
- package/dist/commands/admin/create-agent.d.ts.map +1 -1
- package/dist/commands/admin/create-agent.js +1 -2
- package/dist/commands/admin/create-agent.js.map +1 -1
- package/dist/commands/admin/create-enterprise.d.ts.map +1 -1
- package/dist/commands/admin/create-enterprise.js +1 -2
- package/dist/commands/admin/create-enterprise.js.map +1 -1
- package/dist/commands/admin/set-config.d.ts.map +1 -1
- package/dist/commands/admin/set-config.js +6 -8
- package/dist/commands/admin/set-config.js.map +1 -1
- package/dist/commands/agent/list.d.ts +3 -0
- package/dist/commands/agent/list.d.ts.map +1 -1
- package/dist/commands/agent/list.js +10 -2
- package/dist/commands/agent/list.js.map +1 -1
- package/dist/commands/api.d.ts +42 -0
- package/dist/commands/api.d.ts.map +1 -0
- package/dist/commands/api.js +174 -0
- package/dist/commands/api.js.map +1 -0
- package/dist/commands/auth.d.ts +5 -0
- package/dist/commands/auth.d.ts.map +1 -1
- package/dist/commands/auth.js +12 -4
- package/dist/commands/auth.js.map +1 -1
- package/dist/commands/config.d.ts +24 -0
- package/dist/commands/config.d.ts.map +1 -0
- package/dist/commands/config.js +75 -0
- package/dist/commands/config.js.map +1 -0
- package/dist/commands/discover.d.ts +20 -0
- package/dist/commands/discover.d.ts.map +1 -0
- package/dist/commands/discover.js +44 -0
- package/dist/commands/discover.js.map +1 -0
- package/dist/commands/federation/create-token.d.ts.map +1 -1
- package/dist/commands/federation/create-token.js +1 -2
- package/dist/commands/federation/create-token.js.map +1 -1
- package/dist/commands/federation/revoke-gateway.d.ts.map +1 -1
- package/dist/commands/federation/revoke-gateway.js +1 -2
- package/dist/commands/federation/revoke-gateway.js.map +1 -1
- package/dist/commands/help-json.d.ts.map +1 -1
- package/dist/commands/help-json.js +4 -4
- package/dist/commands/help-json.js.map +1 -1
- package/dist/commands/list-commands.d.ts +8 -1
- package/dist/commands/list-commands.d.ts.map +1 -1
- package/dist/commands/list-commands.js +21 -57
- package/dist/commands/list-commands.js.map +1 -1
- package/dist/commands/login.d.ts +5 -0
- package/dist/commands/login.d.ts.map +1 -1
- package/dist/commands/login.js +16 -14
- package/dist/commands/login.js.map +1 -1
- package/dist/commands/logout.d.ts +14 -0
- package/dist/commands/logout.d.ts.map +1 -0
- package/dist/commands/logout.js +33 -0
- package/dist/commands/logout.js.map +1 -0
- package/dist/commands/mandate/accept.d.ts +1 -0
- package/dist/commands/mandate/accept.d.ts.map +1 -1
- package/dist/commands/mandate/accept.js +9 -2
- package/dist/commands/mandate/accept.js.map +1 -1
- package/dist/commands/mandate/cancel.d.ts +1 -0
- package/dist/commands/mandate/cancel.d.ts.map +1 -1
- package/dist/commands/mandate/cancel.js +5 -0
- package/dist/commands/mandate/cancel.js.map +1 -1
- package/dist/commands/mandate/counter-propose.d.ts +3 -1
- package/dist/commands/mandate/counter-propose.d.ts.map +1 -1
- package/dist/commands/mandate/counter-propose.js +18 -3
- package/dist/commands/mandate/counter-propose.js.map +1 -1
- package/dist/commands/mandate/create.d.ts.map +1 -1
- package/dist/commands/mandate/create.js +14 -10
- package/dist/commands/mandate/create.js.map +1 -1
- package/dist/commands/mandate/list.js +1 -1
- package/dist/commands/mandate/list.js.map +1 -1
- package/dist/commands/mandate/outcome.d.ts +3 -1
- package/dist/commands/mandate/outcome.d.ts.map +1 -1
- package/dist/commands/mandate/outcome.js +21 -4
- package/dist/commands/mandate/outcome.js.map +1 -1
- package/dist/commands/mandate/receipts.d.ts +20 -0
- package/dist/commands/mandate/receipts.d.ts.map +1 -0
- package/dist/commands/mandate/receipts.js +29 -0
- package/dist/commands/mandate/receipts.js.map +1 -0
- package/dist/commands/mandate/reject.d.ts +1 -0
- package/dist/commands/mandate/reject.d.ts.map +1 -1
- package/dist/commands/mandate/reject.js +5 -0
- package/dist/commands/mandate/reject.js.map +1 -1
- package/dist/commands/mandate/request-revision.d.ts +1 -0
- package/dist/commands/mandate/request-revision.d.ts.map +1 -1
- package/dist/commands/mandate/request-revision.js +5 -0
- package/dist/commands/mandate/request-revision.js.map +1 -1
- package/dist/commands/mandate/transition.d.ts +3 -1
- package/dist/commands/mandate/transition.d.ts.map +1 -1
- package/dist/commands/mandate/transition.js +15 -4
- package/dist/commands/mandate/transition.js.map +1 -1
- package/dist/commands/receipt/list.d.ts +1 -0
- package/dist/commands/receipt/list.d.ts.map +1 -1
- package/dist/commands/receipt/list.js +1 -0
- package/dist/commands/receipt/list.js.map +1 -1
- package/dist/commands/receipt/submit.d.ts.map +1 -1
- package/dist/commands/receipt/submit.js +7 -16
- package/dist/commands/receipt/submit.js.map +1 -1
- package/dist/commands/schema/blank-template.d.ts.map +1 -1
- package/dist/commands/schema/blank-template.js +5 -3
- package/dist/commands/schema/blank-template.js.map +1 -1
- package/dist/commands/schema/check-compatibility.d.ts.map +1 -1
- package/dist/commands/schema/check-compatibility.js +2 -3
- package/dist/commands/schema/check-compatibility.js.map +1 -1
- package/dist/commands/schema/deprecate.d.ts.map +1 -1
- package/dist/commands/schema/deprecate.js +1 -2
- package/dist/commands/schema/deprecate.js.map +1 -1
- package/dist/commands/schema/diff.d.ts.map +1 -1
- package/dist/commands/schema/diff.js +2 -0
- package/dist/commands/schema/diff.js.map +1 -1
- package/dist/commands/schema/export.d.ts.map +1 -1
- package/dist/commands/schema/export.js +5 -3
- package/dist/commands/schema/export.js.map +1 -1
- package/dist/commands/schema/import.d.ts.map +1 -1
- package/dist/commands/schema/import.js +2 -4
- package/dist/commands/schema/import.js.map +1 -1
- package/dist/commands/schema/list.d.ts +3 -0
- package/dist/commands/schema/list.d.ts.map +1 -1
- package/dist/commands/schema/list.js +14 -3
- package/dist/commands/schema/list.js.map +1 -1
- package/dist/commands/schema/meta-schema.d.ts.map +1 -1
- package/dist/commands/schema/meta-schema.js +5 -3
- package/dist/commands/schema/meta-schema.js.map +1 -1
- package/dist/commands/schema/preview.d.ts.map +1 -1
- package/dist/commands/schema/preview.js +3 -2
- package/dist/commands/schema/preview.js.map +1 -1
- package/dist/commands/schema/register.d.ts.map +1 -1
- package/dist/commands/schema/register.js +2 -4
- package/dist/commands/schema/register.js.map +1 -1
- package/dist/commands/schema/template.d.ts.map +1 -1
- package/dist/commands/schema/template.js +5 -3
- package/dist/commands/schema/template.js.map +1 -1
- package/dist/commands/schema/validate.d.ts.map +1 -1
- package/dist/commands/schema/validate.js +3 -2
- package/dist/commands/schema/validate.js.map +1 -1
- package/dist/commands/schema/versions.d.ts +3 -0
- package/dist/commands/schema/versions.d.ts.map +1 -1
- package/dist/commands/schema/versions.js +14 -4
- package/dist/commands/schema/versions.js.map +1 -1
- package/dist/commands/verdict/render.d.ts +1 -0
- package/dist/commands/verdict/render.d.ts.map +1 -1
- package/dist/commands/verdict/render.js +5 -0
- package/dist/commands/verdict/render.js.map +1 -1
- package/dist/commands/webhook/create.d.ts.map +1 -1
- package/dist/commands/webhook/create.js +1 -2
- package/dist/commands/webhook/create.js.map +1 -1
- package/dist/commands/webhook/delete.d.ts +1 -0
- package/dist/commands/webhook/delete.d.ts.map +1 -1
- package/dist/commands/webhook/delete.js +9 -2
- package/dist/commands/webhook/delete.js.map +1 -1
- package/dist/commands/webhook/list.d.ts +3 -0
- package/dist/commands/webhook/list.d.ts.map +1 -1
- package/dist/commands/webhook/list.js +10 -3
- package/dist/commands/webhook/list.js.map +1 -1
- package/dist/util/config.d.ts +17 -0
- package/dist/util/config.d.ts.map +1 -0
- package/dist/util/config.js +37 -0
- package/dist/util/config.js.map +1 -0
- package/dist/util/field-parser.d.ts +28 -0
- package/dist/util/field-parser.d.ts.map +1 -0
- package/dist/util/field-parser.js +138 -0
- package/dist/util/field-parser.js.map +1 -0
- package/oclif.manifest.json +1254 -732
- package/package.json +1 -1
package/oclif.manifest.json
CHANGED
|
@@ -1,12 +1,122 @@
|
|
|
1
1
|
{
|
|
2
2
|
"commands": {
|
|
3
|
+
"api": {
|
|
4
|
+
"aliases": [],
|
|
5
|
+
"args": {
|
|
6
|
+
"method": {
|
|
7
|
+
"description": "HTTP method (GET, POST, PUT, PATCH, DELETE)",
|
|
8
|
+
"name": "method",
|
|
9
|
+
"required": true
|
|
10
|
+
},
|
|
11
|
+
"path": {
|
|
12
|
+
"description": "Full API path including version prefix (e.g. /v1/mandates, /health, /federation/v1/register)",
|
|
13
|
+
"name": "path",
|
|
14
|
+
"required": true
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
"description": "Call any AGLedger API endpoint. Pass-through with zero flag translation — use the exact path and body shape documented in the API (see `agledger discover` or GET /openapi.json).",
|
|
18
|
+
"examples": [
|
|
19
|
+
"agledger api GET /health",
|
|
20
|
+
"agledger api GET /v1/mandates -F status=ACTIVE -F limit=50",
|
|
21
|
+
"agledger api POST /v1/mandates --data '{\"contractType\":\"ACH-PROC-v1\",\"criteria\":{\"item_spec\":\"...\"}}'",
|
|
22
|
+
"agledger api POST /v1/mandates -F contractType=ACH-PROC-v1 -F criteria.item_spec=widgets -F criteria.quantity.target=500",
|
|
23
|
+
"agledger api POST /v1/mandates --input payload.json",
|
|
24
|
+
"cat payload.json | agledger api POST /v1/mandates --input -",
|
|
25
|
+
"agledger api GET /v1/mandates --paginate # streams all pages as NDJSON"
|
|
26
|
+
],
|
|
27
|
+
"flags": {
|
|
28
|
+
"json": {
|
|
29
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
30
|
+
"name": "json",
|
|
31
|
+
"allowNo": false,
|
|
32
|
+
"type": "boolean"
|
|
33
|
+
},
|
|
34
|
+
"quiet": {
|
|
35
|
+
"description": "Suppress output (exit code only)",
|
|
36
|
+
"name": "quiet",
|
|
37
|
+
"allowNo": false,
|
|
38
|
+
"type": "boolean"
|
|
39
|
+
},
|
|
40
|
+
"api-key": {
|
|
41
|
+
"description": "AGLedger API key",
|
|
42
|
+
"env": "AGLEDGER_API_KEY",
|
|
43
|
+
"name": "api-key",
|
|
44
|
+
"hasDynamicHelp": false,
|
|
45
|
+
"multiple": false,
|
|
46
|
+
"type": "option"
|
|
47
|
+
},
|
|
48
|
+
"api-url": {
|
|
49
|
+
"description": "AGLedger API base URL",
|
|
50
|
+
"env": "AGLEDGER_API_URL",
|
|
51
|
+
"name": "api-url",
|
|
52
|
+
"hasDynamicHelp": false,
|
|
53
|
+
"multiple": false,
|
|
54
|
+
"type": "option"
|
|
55
|
+
},
|
|
56
|
+
"data": {
|
|
57
|
+
"description": "Request body as a JSON string. For GET/DELETE, used as query parameters.",
|
|
58
|
+
"name": "data",
|
|
59
|
+
"hasDynamicHelp": false,
|
|
60
|
+
"multiple": false,
|
|
61
|
+
"type": "option"
|
|
62
|
+
},
|
|
63
|
+
"input": {
|
|
64
|
+
"description": "Read body JSON from file (or \"-\" for stdin). Shape matches --data.",
|
|
65
|
+
"name": "input",
|
|
66
|
+
"hasDynamicHelp": false,
|
|
67
|
+
"multiple": false,
|
|
68
|
+
"type": "option"
|
|
69
|
+
},
|
|
70
|
+
"field": {
|
|
71
|
+
"char": "F",
|
|
72
|
+
"description": "Set a field as key=value. Values are typed: true/false/null, numbers, or JSON for {...}/[...]. Supports nested (a.b.c=v) and array append (arr[]=v). Repeatable.",
|
|
73
|
+
"name": "field",
|
|
74
|
+
"hasDynamicHelp": false,
|
|
75
|
+
"multiple": true,
|
|
76
|
+
"type": "option"
|
|
77
|
+
},
|
|
78
|
+
"query": {
|
|
79
|
+
"description": "Extra query parameters as JSON. Merges over -F fields and --data for GET/DELETE routing.",
|
|
80
|
+
"name": "query",
|
|
81
|
+
"hasDynamicHelp": false,
|
|
82
|
+
"multiple": false,
|
|
83
|
+
"type": "option"
|
|
84
|
+
},
|
|
85
|
+
"paginate": {
|
|
86
|
+
"description": "Follow cursor pagination, stream all results as NDJSON. Requires GET on a paginated route.",
|
|
87
|
+
"name": "paginate",
|
|
88
|
+
"allowNo": false,
|
|
89
|
+
"type": "boolean"
|
|
90
|
+
},
|
|
91
|
+
"dry-run": {
|
|
92
|
+
"description": "Show the request that would be sent without calling the API.",
|
|
93
|
+
"name": "dry-run",
|
|
94
|
+
"allowNo": false,
|
|
95
|
+
"type": "boolean"
|
|
96
|
+
}
|
|
97
|
+
},
|
|
98
|
+
"hasDynamicHelp": false,
|
|
99
|
+
"hiddenAliases": [],
|
|
100
|
+
"id": "api",
|
|
101
|
+
"pluginAlias": "@agledger/cli",
|
|
102
|
+
"pluginName": "@agledger/cli",
|
|
103
|
+
"pluginType": "core",
|
|
104
|
+
"strict": true,
|
|
105
|
+
"enableJsonFlag": false,
|
|
106
|
+
"isESM": true,
|
|
107
|
+
"relativePath": [
|
|
108
|
+
"dist",
|
|
109
|
+
"commands",
|
|
110
|
+
"api.js"
|
|
111
|
+
]
|
|
112
|
+
},
|
|
3
113
|
"auth": {
|
|
4
114
|
"aliases": [],
|
|
5
115
|
"args": {},
|
|
6
|
-
"description": "Check current authentication status",
|
|
116
|
+
"description": "Check current authentication status. Returns `authenticated: false` when no key is configured (exit 0).",
|
|
7
117
|
"flags": {
|
|
8
118
|
"json": {
|
|
9
|
-
"description": "
|
|
119
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
10
120
|
"name": "json",
|
|
11
121
|
"allowNo": false,
|
|
12
122
|
"type": "boolean"
|
|
@@ -49,11 +159,139 @@
|
|
|
49
159
|
"auth.js"
|
|
50
160
|
]
|
|
51
161
|
},
|
|
162
|
+
"config": {
|
|
163
|
+
"aliases": [],
|
|
164
|
+
"args": {
|
|
165
|
+
"action": {
|
|
166
|
+
"description": "Action: list, get, use, path",
|
|
167
|
+
"name": "action",
|
|
168
|
+
"options": [
|
|
169
|
+
"list",
|
|
170
|
+
"get",
|
|
171
|
+
"use",
|
|
172
|
+
"path"
|
|
173
|
+
],
|
|
174
|
+
"required": true
|
|
175
|
+
},
|
|
176
|
+
"profile": {
|
|
177
|
+
"description": "Profile name (for `use`)",
|
|
178
|
+
"name": "profile"
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
"description": "Inspect or switch between stored profiles in ~/.agledger/config.json",
|
|
182
|
+
"examples": [
|
|
183
|
+
"agledger config list # list all profiles",
|
|
184
|
+
"agledger config get # show active profile",
|
|
185
|
+
"agledger config get --profile prod # show a specific profile",
|
|
186
|
+
"agledger config use prod # set prod as the active profile",
|
|
187
|
+
"agledger config path # print the config file path"
|
|
188
|
+
],
|
|
189
|
+
"flags": {
|
|
190
|
+
"json": {
|
|
191
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
192
|
+
"name": "json",
|
|
193
|
+
"allowNo": false,
|
|
194
|
+
"type": "boolean"
|
|
195
|
+
},
|
|
196
|
+
"quiet": {
|
|
197
|
+
"description": "Suppress output (exit code only)",
|
|
198
|
+
"name": "quiet",
|
|
199
|
+
"allowNo": false,
|
|
200
|
+
"type": "boolean"
|
|
201
|
+
},
|
|
202
|
+
"api-key": {
|
|
203
|
+
"description": "AGLedger API key",
|
|
204
|
+
"env": "AGLEDGER_API_KEY",
|
|
205
|
+
"name": "api-key",
|
|
206
|
+
"hasDynamicHelp": false,
|
|
207
|
+
"multiple": false,
|
|
208
|
+
"type": "option"
|
|
209
|
+
},
|
|
210
|
+
"api-url": {
|
|
211
|
+
"description": "AGLedger API base URL",
|
|
212
|
+
"env": "AGLEDGER_API_URL",
|
|
213
|
+
"name": "api-url",
|
|
214
|
+
"hasDynamicHelp": false,
|
|
215
|
+
"multiple": false,
|
|
216
|
+
"type": "option"
|
|
217
|
+
},
|
|
218
|
+
"profile": {
|
|
219
|
+
"description": "Profile name to inspect (for `get`)",
|
|
220
|
+
"name": "profile",
|
|
221
|
+
"hasDynamicHelp": false,
|
|
222
|
+
"multiple": false,
|
|
223
|
+
"type": "option"
|
|
224
|
+
}
|
|
225
|
+
},
|
|
226
|
+
"hasDynamicHelp": false,
|
|
227
|
+
"hiddenAliases": [],
|
|
228
|
+
"id": "config",
|
|
229
|
+
"pluginAlias": "@agledger/cli",
|
|
230
|
+
"pluginName": "@agledger/cli",
|
|
231
|
+
"pluginType": "core",
|
|
232
|
+
"strict": true,
|
|
233
|
+
"enableJsonFlag": false,
|
|
234
|
+
"isESM": true,
|
|
235
|
+
"relativePath": [
|
|
236
|
+
"dist",
|
|
237
|
+
"commands",
|
|
238
|
+
"config.js"
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
"discover": {
|
|
242
|
+
"aliases": [],
|
|
243
|
+
"args": {},
|
|
244
|
+
"description": "Check API health and current identity, and return the quickstart workflow. Call this first.",
|
|
245
|
+
"flags": {
|
|
246
|
+
"json": {
|
|
247
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
248
|
+
"name": "json",
|
|
249
|
+
"allowNo": false,
|
|
250
|
+
"type": "boolean"
|
|
251
|
+
},
|
|
252
|
+
"quiet": {
|
|
253
|
+
"description": "Suppress output (exit code only)",
|
|
254
|
+
"name": "quiet",
|
|
255
|
+
"allowNo": false,
|
|
256
|
+
"type": "boolean"
|
|
257
|
+
},
|
|
258
|
+
"api-key": {
|
|
259
|
+
"description": "AGLedger API key",
|
|
260
|
+
"env": "AGLEDGER_API_KEY",
|
|
261
|
+
"name": "api-key",
|
|
262
|
+
"hasDynamicHelp": false,
|
|
263
|
+
"multiple": false,
|
|
264
|
+
"type": "option"
|
|
265
|
+
},
|
|
266
|
+
"api-url": {
|
|
267
|
+
"description": "AGLedger API base URL",
|
|
268
|
+
"env": "AGLEDGER_API_URL",
|
|
269
|
+
"name": "api-url",
|
|
270
|
+
"hasDynamicHelp": false,
|
|
271
|
+
"multiple": false,
|
|
272
|
+
"type": "option"
|
|
273
|
+
}
|
|
274
|
+
},
|
|
275
|
+
"hasDynamicHelp": false,
|
|
276
|
+
"hiddenAliases": [],
|
|
277
|
+
"id": "discover",
|
|
278
|
+
"pluginAlias": "@agledger/cli",
|
|
279
|
+
"pluginName": "@agledger/cli",
|
|
280
|
+
"pluginType": "core",
|
|
281
|
+
"strict": true,
|
|
282
|
+
"enableJsonFlag": false,
|
|
283
|
+
"isESM": true,
|
|
284
|
+
"relativePath": [
|
|
285
|
+
"dist",
|
|
286
|
+
"commands",
|
|
287
|
+
"discover.js"
|
|
288
|
+
]
|
|
289
|
+
},
|
|
52
290
|
"help-json": {
|
|
53
291
|
"aliases": [],
|
|
54
292
|
"args": {
|
|
55
293
|
"command": {
|
|
56
|
-
"description": "
|
|
294
|
+
"description": "CLI command name (e.g., \"api\", \"discover\", \"login\")",
|
|
57
295
|
"name": "command",
|
|
58
296
|
"required": true
|
|
59
297
|
}
|
|
@@ -61,7 +299,7 @@
|
|
|
61
299
|
"description": "Get JSON schema for a specific command (agent discovery)",
|
|
62
300
|
"flags": {
|
|
63
301
|
"json": {
|
|
64
|
-
"description": "
|
|
302
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
65
303
|
"name": "json",
|
|
66
304
|
"allowNo": false,
|
|
67
305
|
"type": "boolean"
|
|
@@ -107,10 +345,10 @@
|
|
|
107
345
|
"list-commands": {
|
|
108
346
|
"aliases": [],
|
|
109
347
|
"args": {},
|
|
110
|
-
"description": "List all
|
|
348
|
+
"description": "List all CLI commands (for agent discovery). Most API work goes through `agledger api`.",
|
|
111
349
|
"flags": {
|
|
112
350
|
"json": {
|
|
113
|
-
"description": "
|
|
351
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
114
352
|
"name": "json",
|
|
115
353
|
"allowNo": false,
|
|
116
354
|
"type": "boolean"
|
|
@@ -156,10 +394,10 @@
|
|
|
156
394
|
"login": {
|
|
157
395
|
"aliases": [],
|
|
158
396
|
"args": {},
|
|
159
|
-
"description": "
|
|
397
|
+
"description": "Verify an API key and store it in ~/.agledger/config.json (0600)",
|
|
160
398
|
"flags": {
|
|
161
399
|
"json": {
|
|
162
|
-
"description": "
|
|
400
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
163
401
|
"name": "json",
|
|
164
402
|
"allowNo": false,
|
|
165
403
|
"type": "boolean"
|
|
@@ -210,13 +448,76 @@
|
|
|
210
448
|
"login.js"
|
|
211
449
|
]
|
|
212
450
|
},
|
|
451
|
+
"logout": {
|
|
452
|
+
"aliases": [],
|
|
453
|
+
"args": {},
|
|
454
|
+
"description": "Remove a stored profile from ~/.agledger/config.json",
|
|
455
|
+
"flags": {
|
|
456
|
+
"json": {
|
|
457
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
458
|
+
"name": "json",
|
|
459
|
+
"allowNo": false,
|
|
460
|
+
"type": "boolean"
|
|
461
|
+
},
|
|
462
|
+
"quiet": {
|
|
463
|
+
"description": "Suppress output (exit code only)",
|
|
464
|
+
"name": "quiet",
|
|
465
|
+
"allowNo": false,
|
|
466
|
+
"type": "boolean"
|
|
467
|
+
},
|
|
468
|
+
"api-key": {
|
|
469
|
+
"description": "AGLedger API key",
|
|
470
|
+
"env": "AGLEDGER_API_KEY",
|
|
471
|
+
"name": "api-key",
|
|
472
|
+
"hasDynamicHelp": false,
|
|
473
|
+
"multiple": false,
|
|
474
|
+
"type": "option"
|
|
475
|
+
},
|
|
476
|
+
"api-url": {
|
|
477
|
+
"description": "AGLedger API base URL",
|
|
478
|
+
"env": "AGLEDGER_API_URL",
|
|
479
|
+
"name": "api-url",
|
|
480
|
+
"hasDynamicHelp": false,
|
|
481
|
+
"multiple": false,
|
|
482
|
+
"type": "option"
|
|
483
|
+
},
|
|
484
|
+
"profile": {
|
|
485
|
+
"description": "Profile name to remove",
|
|
486
|
+
"name": "profile",
|
|
487
|
+
"default": "default",
|
|
488
|
+
"hasDynamicHelp": false,
|
|
489
|
+
"multiple": false,
|
|
490
|
+
"type": "option"
|
|
491
|
+
},
|
|
492
|
+
"all": {
|
|
493
|
+
"description": "Remove all profiles",
|
|
494
|
+
"name": "all",
|
|
495
|
+
"allowNo": false,
|
|
496
|
+
"type": "boolean"
|
|
497
|
+
}
|
|
498
|
+
},
|
|
499
|
+
"hasDynamicHelp": false,
|
|
500
|
+
"hiddenAliases": [],
|
|
501
|
+
"id": "logout",
|
|
502
|
+
"pluginAlias": "@agledger/cli",
|
|
503
|
+
"pluginName": "@agledger/cli",
|
|
504
|
+
"pluginType": "core",
|
|
505
|
+
"strict": true,
|
|
506
|
+
"enableJsonFlag": false,
|
|
507
|
+
"isESM": true,
|
|
508
|
+
"relativePath": [
|
|
509
|
+
"dist",
|
|
510
|
+
"commands",
|
|
511
|
+
"logout.js"
|
|
512
|
+
]
|
|
513
|
+
},
|
|
213
514
|
"status": {
|
|
214
515
|
"aliases": [],
|
|
215
516
|
"args": {},
|
|
216
517
|
"description": "Check AGLedger API health and status",
|
|
217
518
|
"flags": {
|
|
218
519
|
"json": {
|
|
219
|
-
"description": "
|
|
520
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
220
521
|
"name": "json",
|
|
221
522
|
"allowNo": false,
|
|
222
523
|
"type": "boolean"
|
|
@@ -265,7 +566,7 @@
|
|
|
265
566
|
"description": "List vault signing public keys for independent audit chain verification",
|
|
266
567
|
"flags": {
|
|
267
568
|
"json": {
|
|
268
|
-
"description": "
|
|
569
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
269
570
|
"name": "json",
|
|
270
571
|
"allowNo": false,
|
|
271
572
|
"type": "boolean"
|
|
@@ -314,7 +615,7 @@
|
|
|
314
615
|
"description": "Create a new agent (platform admin). Slug is auto-generated if omitted.",
|
|
315
616
|
"flags": {
|
|
316
617
|
"json": {
|
|
317
|
-
"description": "
|
|
618
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
318
619
|
"name": "json",
|
|
319
620
|
"allowNo": false,
|
|
320
621
|
"type": "boolean"
|
|
@@ -392,7 +693,7 @@
|
|
|
392
693
|
"description": "Create a new enterprise (platform admin). Slug is auto-generated if omitted.",
|
|
393
694
|
"flags": {
|
|
394
695
|
"json": {
|
|
395
|
-
"description": "
|
|
696
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
396
697
|
"name": "json",
|
|
397
698
|
"allowNo": false,
|
|
398
699
|
"type": "boolean"
|
|
@@ -483,7 +784,7 @@
|
|
|
483
784
|
"description": "Set an enterprise's approval configuration (PUT). Omitted fields are removed.",
|
|
484
785
|
"flags": {
|
|
485
786
|
"json": {
|
|
486
|
-
"description": "
|
|
787
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
487
788
|
"name": "json",
|
|
488
789
|
"allowNo": false,
|
|
489
790
|
"type": "boolean"
|
|
@@ -553,7 +854,7 @@
|
|
|
553
854
|
"description": "List agents in an enterprise",
|
|
554
855
|
"flags": {
|
|
555
856
|
"json": {
|
|
556
|
-
"description": "
|
|
857
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
557
858
|
"name": "json",
|
|
558
859
|
"allowNo": false,
|
|
559
860
|
"type": "boolean"
|
|
@@ -587,6 +888,27 @@
|
|
|
587
888
|
"hasDynamicHelp": false,
|
|
588
889
|
"multiple": false,
|
|
589
890
|
"type": "option"
|
|
891
|
+
},
|
|
892
|
+
"limit": {
|
|
893
|
+
"description": "Max results per page",
|
|
894
|
+
"name": "limit",
|
|
895
|
+
"default": 25,
|
|
896
|
+
"hasDynamicHelp": false,
|
|
897
|
+
"multiple": false,
|
|
898
|
+
"type": "option"
|
|
899
|
+
},
|
|
900
|
+
"cursor": {
|
|
901
|
+
"description": "Pagination cursor",
|
|
902
|
+
"name": "cursor",
|
|
903
|
+
"hasDynamicHelp": false,
|
|
904
|
+
"multiple": false,
|
|
905
|
+
"type": "option"
|
|
906
|
+
},
|
|
907
|
+
"all": {
|
|
908
|
+
"description": "Stream all pages as NDJSON",
|
|
909
|
+
"name": "all",
|
|
910
|
+
"allowNo": false,
|
|
911
|
+
"type": "boolean"
|
|
590
912
|
}
|
|
591
913
|
},
|
|
592
914
|
"hasDynamicHelp": false,
|
|
@@ -617,7 +939,7 @@
|
|
|
617
939
|
"description": "Get reputation score for an agent",
|
|
618
940
|
"flags": {
|
|
619
941
|
"json": {
|
|
620
|
-
"description": "
|
|
942
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
621
943
|
"name": "json",
|
|
622
944
|
"allowNo": false,
|
|
623
945
|
"type": "boolean"
|
|
@@ -661,13 +983,24 @@
|
|
|
661
983
|
"reputation.js"
|
|
662
984
|
]
|
|
663
985
|
},
|
|
664
|
-
"
|
|
986
|
+
"receipt:get": {
|
|
665
987
|
"aliases": [],
|
|
666
|
-
"args": {
|
|
667
|
-
|
|
988
|
+
"args": {
|
|
989
|
+
"mandateId": {
|
|
990
|
+
"description": "Mandate ID",
|
|
991
|
+
"name": "mandateId",
|
|
992
|
+
"required": true
|
|
993
|
+
},
|
|
994
|
+
"receiptId": {
|
|
995
|
+
"description": "Receipt ID",
|
|
996
|
+
"name": "receiptId",
|
|
997
|
+
"required": true
|
|
998
|
+
}
|
|
999
|
+
},
|
|
1000
|
+
"description": "Get receipt details",
|
|
668
1001
|
"flags": {
|
|
669
1002
|
"json": {
|
|
670
|
-
"description": "
|
|
1003
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
671
1004
|
"name": "json",
|
|
672
1005
|
"allowNo": false,
|
|
673
1006
|
"type": "boolean"
|
|
@@ -693,52 +1026,11 @@
|
|
|
693
1026
|
"hasDynamicHelp": false,
|
|
694
1027
|
"multiple": false,
|
|
695
1028
|
"type": "option"
|
|
696
|
-
},
|
|
697
|
-
"since": {
|
|
698
|
-
"description": "ISO 8601 timestamp — list events after this time",
|
|
699
|
-
"name": "since",
|
|
700
|
-
"required": true,
|
|
701
|
-
"hasDynamicHelp": false,
|
|
702
|
-
"multiple": false,
|
|
703
|
-
"type": "option"
|
|
704
|
-
},
|
|
705
|
-
"order": {
|
|
706
|
-
"description": "Sort order",
|
|
707
|
-
"name": "order",
|
|
708
|
-
"default": "desc",
|
|
709
|
-
"hasDynamicHelp": false,
|
|
710
|
-
"multiple": false,
|
|
711
|
-
"options": [
|
|
712
|
-
"asc",
|
|
713
|
-
"desc"
|
|
714
|
-
],
|
|
715
|
-
"type": "option"
|
|
716
|
-
},
|
|
717
|
-
"limit": {
|
|
718
|
-
"description": "Max results per page",
|
|
719
|
-
"name": "limit",
|
|
720
|
-
"default": 25,
|
|
721
|
-
"hasDynamicHelp": false,
|
|
722
|
-
"multiple": false,
|
|
723
|
-
"type": "option"
|
|
724
|
-
},
|
|
725
|
-
"cursor": {
|
|
726
|
-
"description": "Pagination cursor",
|
|
727
|
-
"name": "cursor",
|
|
728
|
-
"hasDynamicHelp": false,
|
|
729
|
-
"multiple": false,
|
|
730
|
-
"type": "option"
|
|
731
|
-
},
|
|
732
|
-
"all": {
|
|
733
|
-
"description": "Stream all pages as NDJSON",
|
|
734
|
-
"name": "all",
|
|
735
|
-
"allowNo": false,
|
|
736
|
-
"type": "boolean"
|
|
737
1029
|
}
|
|
738
1030
|
},
|
|
739
1031
|
"hasDynamicHelp": false,
|
|
740
1032
|
"hiddenAliases": [],
|
|
741
|
-
"id": "
|
|
1033
|
+
"id": "receipt:get",
|
|
742
1034
|
"pluginAlias": "@agledger/cli",
|
|
743
1035
|
"pluginName": "@agledger/cli",
|
|
744
1036
|
"pluginType": "core",
|
|
@@ -748,12 +1040,14 @@
|
|
|
748
1040
|
"relativePath": [
|
|
749
1041
|
"dist",
|
|
750
1042
|
"commands",
|
|
751
|
-
"
|
|
752
|
-
"
|
|
1043
|
+
"receipt",
|
|
1044
|
+
"get.js"
|
|
753
1045
|
]
|
|
754
1046
|
},
|
|
755
|
-
"
|
|
756
|
-
"aliases": [
|
|
1047
|
+
"receipt:list": {
|
|
1048
|
+
"aliases": [
|
|
1049
|
+
"mandate:receipts"
|
|
1050
|
+
],
|
|
757
1051
|
"args": {
|
|
758
1052
|
"mandateId": {
|
|
759
1053
|
"description": "Mandate ID",
|
|
@@ -761,10 +1055,10 @@
|
|
|
761
1055
|
"required": true
|
|
762
1056
|
}
|
|
763
1057
|
},
|
|
764
|
-
"description": "
|
|
1058
|
+
"description": "List receipts for a mandate",
|
|
765
1059
|
"flags": {
|
|
766
1060
|
"json": {
|
|
767
|
-
"description": "
|
|
1061
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
768
1062
|
"name": "json",
|
|
769
1063
|
"allowNo": false,
|
|
770
1064
|
"type": "boolean"
|
|
@@ -790,11 +1084,17 @@
|
|
|
790
1084
|
"hasDynamicHelp": false,
|
|
791
1085
|
"multiple": false,
|
|
792
1086
|
"type": "option"
|
|
1087
|
+
},
|
|
1088
|
+
"all": {
|
|
1089
|
+
"description": "Stream all pages as NDJSON",
|
|
1090
|
+
"name": "all",
|
|
1091
|
+
"allowNo": false,
|
|
1092
|
+
"type": "boolean"
|
|
793
1093
|
}
|
|
794
1094
|
},
|
|
795
1095
|
"hasDynamicHelp": false,
|
|
796
1096
|
"hiddenAliases": [],
|
|
797
|
-
"id": "
|
|
1097
|
+
"id": "receipt:list",
|
|
798
1098
|
"pluginAlias": "@agledger/cli",
|
|
799
1099
|
"pluginName": "@agledger/cli",
|
|
800
1100
|
"pluginType": "core",
|
|
@@ -804,17 +1104,23 @@
|
|
|
804
1104
|
"relativePath": [
|
|
805
1105
|
"dist",
|
|
806
1106
|
"commands",
|
|
807
|
-
"
|
|
808
|
-
"
|
|
1107
|
+
"receipt",
|
|
1108
|
+
"list.js"
|
|
809
1109
|
]
|
|
810
1110
|
},
|
|
811
|
-
"
|
|
1111
|
+
"receipt:submit": {
|
|
812
1112
|
"aliases": [],
|
|
813
|
-
"args": {
|
|
814
|
-
|
|
1113
|
+
"args": {
|
|
1114
|
+
"mandateId": {
|
|
1115
|
+
"description": "Mandate ID",
|
|
1116
|
+
"name": "mandateId",
|
|
1117
|
+
"required": true
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
"description": "Submit a receipt (evidence of completion) for a mandate",
|
|
815
1121
|
"flags": {
|
|
816
1122
|
"json": {
|
|
817
|
-
"description": "
|
|
1123
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
818
1124
|
"name": "json",
|
|
819
1125
|
"allowNo": false,
|
|
820
1126
|
"type": "boolean"
|
|
@@ -841,38 +1147,30 @@
|
|
|
841
1147
|
"multiple": false,
|
|
842
1148
|
"type": "option"
|
|
843
1149
|
},
|
|
844
|
-
"
|
|
845
|
-
"description": "
|
|
846
|
-
"name": "
|
|
847
|
-
"hasDynamicHelp": false,
|
|
848
|
-
"multiple": false,
|
|
849
|
-
"type": "option"
|
|
850
|
-
},
|
|
851
|
-
"entry-type": {
|
|
852
|
-
"description": "Filter by audit entry type",
|
|
853
|
-
"name": "entry-type",
|
|
1150
|
+
"data": {
|
|
1151
|
+
"description": "Evidence as JSON string. Either a raw evidence object or { \"evidence\": {...} } — both are accepted.",
|
|
1152
|
+
"name": "data",
|
|
854
1153
|
"hasDynamicHelp": false,
|
|
855
1154
|
"multiple": false,
|
|
856
1155
|
"type": "option"
|
|
857
1156
|
},
|
|
858
|
-
"
|
|
859
|
-
"description": "
|
|
860
|
-
"name": "
|
|
1157
|
+
"file": {
|
|
1158
|
+
"description": "Read evidence from JSON file (same shape as --data)",
|
|
1159
|
+
"name": "file",
|
|
861
1160
|
"hasDynamicHelp": false,
|
|
862
1161
|
"multiple": false,
|
|
863
1162
|
"type": "option"
|
|
864
1163
|
},
|
|
865
|
-
"
|
|
866
|
-
"description": "
|
|
867
|
-
"name": "
|
|
868
|
-
"
|
|
869
|
-
"
|
|
870
|
-
"type": "option"
|
|
1164
|
+
"dry-run": {
|
|
1165
|
+
"description": "Show what would be sent without hitting the API",
|
|
1166
|
+
"name": "dry-run",
|
|
1167
|
+
"allowNo": false,
|
|
1168
|
+
"type": "boolean"
|
|
871
1169
|
}
|
|
872
1170
|
},
|
|
873
1171
|
"hasDynamicHelp": false,
|
|
874
1172
|
"hiddenAliases": [],
|
|
875
|
-
"id": "
|
|
1173
|
+
"id": "receipt:submit",
|
|
876
1174
|
"pluginAlias": "@agledger/cli",
|
|
877
1175
|
"pluginName": "@agledger/cli",
|
|
878
1176
|
"pluginType": "core",
|
|
@@ -882,17 +1180,23 @@
|
|
|
882
1180
|
"relativePath": [
|
|
883
1181
|
"dist",
|
|
884
1182
|
"commands",
|
|
885
|
-
"
|
|
886
|
-
"
|
|
1183
|
+
"receipt",
|
|
1184
|
+
"submit.js"
|
|
887
1185
|
]
|
|
888
1186
|
},
|
|
889
|
-
"
|
|
1187
|
+
"mandate:accept": {
|
|
890
1188
|
"aliases": [],
|
|
891
|
-
"args": {
|
|
892
|
-
|
|
1189
|
+
"args": {
|
|
1190
|
+
"id": {
|
|
1191
|
+
"description": "Mandate ID",
|
|
1192
|
+
"name": "id",
|
|
1193
|
+
"required": true
|
|
1194
|
+
}
|
|
1195
|
+
},
|
|
1196
|
+
"description": "Accept a proposed mandate (as performer)",
|
|
893
1197
|
"flags": {
|
|
894
1198
|
"json": {
|
|
895
|
-
"description": "
|
|
1199
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
896
1200
|
"name": "json",
|
|
897
1201
|
"allowNo": false,
|
|
898
1202
|
"type": "boolean"
|
|
@@ -919,22 +1223,8 @@
|
|
|
919
1223
|
"multiple": false,
|
|
920
1224
|
"type": "option"
|
|
921
1225
|
},
|
|
922
|
-
"label": {
|
|
923
|
-
"description": "Human-readable label for the token",
|
|
924
|
-
"name": "label",
|
|
925
|
-
"hasDynamicHelp": false,
|
|
926
|
-
"multiple": false,
|
|
927
|
-
"type": "option"
|
|
928
|
-
},
|
|
929
|
-
"expires-in-hours": {
|
|
930
|
-
"description": "Token expiry in hours (default: server-configured)",
|
|
931
|
-
"name": "expires-in-hours",
|
|
932
|
-
"hasDynamicHelp": false,
|
|
933
|
-
"multiple": false,
|
|
934
|
-
"type": "option"
|
|
935
|
-
},
|
|
936
1226
|
"dry-run": {
|
|
937
|
-
"description": "Show what would be sent without
|
|
1227
|
+
"description": "Show what would be sent without hitting the API",
|
|
938
1228
|
"name": "dry-run",
|
|
939
1229
|
"allowNo": false,
|
|
940
1230
|
"type": "boolean"
|
|
@@ -942,7 +1232,7 @@
|
|
|
942
1232
|
},
|
|
943
1233
|
"hasDynamicHelp": false,
|
|
944
1234
|
"hiddenAliases": [],
|
|
945
|
-
"id": "
|
|
1235
|
+
"id": "mandate:accept",
|
|
946
1236
|
"pluginAlias": "@agledger/cli",
|
|
947
1237
|
"pluginName": "@agledger/cli",
|
|
948
1238
|
"pluginType": "core",
|
|
@@ -952,17 +1242,17 @@
|
|
|
952
1242
|
"relativePath": [
|
|
953
1243
|
"dist",
|
|
954
1244
|
"commands",
|
|
955
|
-
"
|
|
956
|
-
"
|
|
1245
|
+
"mandate",
|
|
1246
|
+
"accept.js"
|
|
957
1247
|
]
|
|
958
1248
|
},
|
|
959
|
-
"
|
|
1249
|
+
"mandate:batch": {
|
|
960
1250
|
"aliases": [],
|
|
961
1251
|
"args": {},
|
|
962
|
-
"description": "
|
|
1252
|
+
"description": "Fetch multiple mandates by ID (up to 100). Outputs NDJSON.",
|
|
963
1253
|
"flags": {
|
|
964
1254
|
"json": {
|
|
965
|
-
"description": "
|
|
1255
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
966
1256
|
"name": "json",
|
|
967
1257
|
"allowNo": false,
|
|
968
1258
|
"type": "boolean"
|
|
@@ -988,11 +1278,19 @@
|
|
|
988
1278
|
"hasDynamicHelp": false,
|
|
989
1279
|
"multiple": false,
|
|
990
1280
|
"type": "option"
|
|
1281
|
+
},
|
|
1282
|
+
"ids": {
|
|
1283
|
+
"description": "Comma-separated mandate IDs",
|
|
1284
|
+
"name": "ids",
|
|
1285
|
+
"required": true,
|
|
1286
|
+
"hasDynamicHelp": false,
|
|
1287
|
+
"multiple": false,
|
|
1288
|
+
"type": "option"
|
|
991
1289
|
}
|
|
992
1290
|
},
|
|
993
1291
|
"hasDynamicHelp": false,
|
|
994
1292
|
"hiddenAliases": [],
|
|
995
|
-
"id": "
|
|
1293
|
+
"id": "mandate:batch",
|
|
996
1294
|
"pluginAlias": "@agledger/cli",
|
|
997
1295
|
"pluginName": "@agledger/cli",
|
|
998
1296
|
"pluginType": "core",
|
|
@@ -1002,17 +1300,23 @@
|
|
|
1002
1300
|
"relativePath": [
|
|
1003
1301
|
"dist",
|
|
1004
1302
|
"commands",
|
|
1005
|
-
"
|
|
1006
|
-
"
|
|
1303
|
+
"mandate",
|
|
1304
|
+
"batch.js"
|
|
1007
1305
|
]
|
|
1008
1306
|
},
|
|
1009
|
-
"
|
|
1307
|
+
"mandate:cancel": {
|
|
1010
1308
|
"aliases": [],
|
|
1011
|
-
"args": {
|
|
1012
|
-
|
|
1309
|
+
"args": {
|
|
1310
|
+
"id": {
|
|
1311
|
+
"description": "Mandate ID",
|
|
1312
|
+
"name": "id",
|
|
1313
|
+
"required": true
|
|
1314
|
+
}
|
|
1315
|
+
},
|
|
1316
|
+
"description": "Cancel a mandate",
|
|
1013
1317
|
"flags": {
|
|
1014
1318
|
"json": {
|
|
1015
|
-
"description": "
|
|
1319
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1016
1320
|
"name": "json",
|
|
1017
1321
|
"allowNo": false,
|
|
1018
1322
|
"type": "boolean"
|
|
@@ -1039,29 +1343,23 @@
|
|
|
1039
1343
|
"multiple": false,
|
|
1040
1344
|
"type": "option"
|
|
1041
1345
|
},
|
|
1042
|
-
"
|
|
1043
|
-
"description": "
|
|
1044
|
-
"name": "
|
|
1346
|
+
"reason": {
|
|
1347
|
+
"description": "Cancellation reason",
|
|
1348
|
+
"name": "reason",
|
|
1045
1349
|
"hasDynamicHelp": false,
|
|
1046
1350
|
"multiple": false,
|
|
1047
|
-
"options": [
|
|
1048
|
-
"active",
|
|
1049
|
-
"suspended",
|
|
1050
|
-
"revoked"
|
|
1051
|
-
],
|
|
1052
1351
|
"type": "option"
|
|
1053
1352
|
},
|
|
1054
|
-
"
|
|
1055
|
-
"description": "
|
|
1056
|
-
"name": "
|
|
1057
|
-
"
|
|
1058
|
-
"
|
|
1059
|
-
"type": "option"
|
|
1353
|
+
"dry-run": {
|
|
1354
|
+
"description": "Show what would be sent without hitting the API",
|
|
1355
|
+
"name": "dry-run",
|
|
1356
|
+
"allowNo": false,
|
|
1357
|
+
"type": "boolean"
|
|
1060
1358
|
}
|
|
1061
1359
|
},
|
|
1062
1360
|
"hasDynamicHelp": false,
|
|
1063
1361
|
"hiddenAliases": [],
|
|
1064
|
-
"id": "
|
|
1362
|
+
"id": "mandate:cancel",
|
|
1065
1363
|
"pluginAlias": "@agledger/cli",
|
|
1066
1364
|
"pluginName": "@agledger/cli",
|
|
1067
1365
|
"pluginType": "core",
|
|
@@ -1071,17 +1369,23 @@
|
|
|
1071
1369
|
"relativePath": [
|
|
1072
1370
|
"dist",
|
|
1073
1371
|
"commands",
|
|
1074
|
-
"
|
|
1075
|
-
"
|
|
1372
|
+
"mandate",
|
|
1373
|
+
"cancel.js"
|
|
1076
1374
|
]
|
|
1077
1375
|
},
|
|
1078
|
-
"
|
|
1376
|
+
"mandate:chain": {
|
|
1079
1377
|
"aliases": [],
|
|
1080
|
-
"args": {
|
|
1081
|
-
|
|
1378
|
+
"args": {
|
|
1379
|
+
"id": {
|
|
1380
|
+
"description": "Mandate ID",
|
|
1381
|
+
"name": "id",
|
|
1382
|
+
"required": true
|
|
1383
|
+
}
|
|
1384
|
+
},
|
|
1385
|
+
"description": "Get full delegation chain for a mandate",
|
|
1082
1386
|
"flags": {
|
|
1083
1387
|
"json": {
|
|
1084
|
-
"description": "
|
|
1388
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1085
1389
|
"name": "json",
|
|
1086
1390
|
"allowNo": false,
|
|
1087
1391
|
"type": "boolean"
|
|
@@ -1107,47 +1411,11 @@
|
|
|
1107
1411
|
"hasDynamicHelp": false,
|
|
1108
1412
|
"multiple": false,
|
|
1109
1413
|
"type": "option"
|
|
1110
|
-
},
|
|
1111
|
-
"gateway-id": {
|
|
1112
|
-
"description": "Filter by originating gateway ID",
|
|
1113
|
-
"name": "gateway-id",
|
|
1114
|
-
"hasDynamicHelp": false,
|
|
1115
|
-
"multiple": false,
|
|
1116
|
-
"type": "option"
|
|
1117
|
-
},
|
|
1118
|
-
"hub-state": {
|
|
1119
|
-
"description": "Filter by hub-side mandate state",
|
|
1120
|
-
"name": "hub-state",
|
|
1121
|
-
"hasDynamicHelp": false,
|
|
1122
|
-
"multiple": false,
|
|
1123
|
-
"options": [
|
|
1124
|
-
"OFFERED",
|
|
1125
|
-
"ACCEPTED",
|
|
1126
|
-
"ACTIVE",
|
|
1127
|
-
"COMPLETED",
|
|
1128
|
-
"DISPUTED",
|
|
1129
|
-
"TERMINAL"
|
|
1130
|
-
],
|
|
1131
|
-
"type": "option"
|
|
1132
|
-
},
|
|
1133
|
-
"contract-type": {
|
|
1134
|
-
"description": "Filter by contract type (e.g. ACH-PROC-v1)",
|
|
1135
|
-
"name": "contract-type",
|
|
1136
|
-
"hasDynamicHelp": false,
|
|
1137
|
-
"multiple": false,
|
|
1138
|
-
"type": "option"
|
|
1139
|
-
},
|
|
1140
|
-
"limit": {
|
|
1141
|
-
"description": "Maximum number of results to return",
|
|
1142
|
-
"name": "limit",
|
|
1143
|
-
"hasDynamicHelp": false,
|
|
1144
|
-
"multiple": false,
|
|
1145
|
-
"type": "option"
|
|
1146
1414
|
}
|
|
1147
1415
|
},
|
|
1148
1416
|
"hasDynamicHelp": false,
|
|
1149
1417
|
"hiddenAliases": [],
|
|
1150
|
-
"id": "
|
|
1418
|
+
"id": "mandate:chain",
|
|
1151
1419
|
"pluginAlias": "@agledger/cli",
|
|
1152
1420
|
"pluginName": "@agledger/cli",
|
|
1153
1421
|
"pluginType": "core",
|
|
@@ -1157,23 +1425,23 @@
|
|
|
1157
1425
|
"relativePath": [
|
|
1158
1426
|
"dist",
|
|
1159
1427
|
"commands",
|
|
1160
|
-
"
|
|
1161
|
-
"
|
|
1428
|
+
"mandate",
|
|
1429
|
+
"chain.js"
|
|
1162
1430
|
]
|
|
1163
1431
|
},
|
|
1164
|
-
"
|
|
1432
|
+
"mandate:counter-propose": {
|
|
1165
1433
|
"aliases": [],
|
|
1166
1434
|
"args": {
|
|
1167
|
-
"
|
|
1168
|
-
"description": "
|
|
1169
|
-
"name": "
|
|
1435
|
+
"id": {
|
|
1436
|
+
"description": "Mandate ID",
|
|
1437
|
+
"name": "id",
|
|
1170
1438
|
"required": true
|
|
1171
1439
|
}
|
|
1172
1440
|
},
|
|
1173
|
-
"description": "
|
|
1441
|
+
"description": "Counter-propose a mandate with revised terms (as performer)",
|
|
1174
1442
|
"flags": {
|
|
1175
1443
|
"json": {
|
|
1176
|
-
"description": "
|
|
1444
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1177
1445
|
"name": "json",
|
|
1178
1446
|
"allowNo": false,
|
|
1179
1447
|
"type": "boolean"
|
|
@@ -1200,16 +1468,120 @@
|
|
|
1200
1468
|
"multiple": false,
|
|
1201
1469
|
"type": "option"
|
|
1202
1470
|
},
|
|
1203
|
-
"
|
|
1204
|
-
"description": "
|
|
1205
|
-
"name": "
|
|
1471
|
+
"data": {
|
|
1472
|
+
"description": "Counter-proposal data as JSON string (counterCriteria, message)",
|
|
1473
|
+
"name": "data",
|
|
1474
|
+
"hasDynamicHelp": false,
|
|
1475
|
+
"multiple": false,
|
|
1476
|
+
"type": "option"
|
|
1477
|
+
},
|
|
1478
|
+
"file": {
|
|
1479
|
+
"description": "Read counter-proposal data from JSON file",
|
|
1480
|
+
"name": "file",
|
|
1481
|
+
"hasDynamicHelp": false,
|
|
1482
|
+
"multiple": false,
|
|
1483
|
+
"type": "option"
|
|
1484
|
+
},
|
|
1485
|
+
"dry-run": {
|
|
1486
|
+
"description": "Show what would be sent without hitting the API",
|
|
1487
|
+
"name": "dry-run",
|
|
1488
|
+
"allowNo": false,
|
|
1489
|
+
"type": "boolean"
|
|
1490
|
+
}
|
|
1491
|
+
},
|
|
1492
|
+
"hasDynamicHelp": false,
|
|
1493
|
+
"hiddenAliases": [],
|
|
1494
|
+
"id": "mandate:counter-propose",
|
|
1495
|
+
"pluginAlias": "@agledger/cli",
|
|
1496
|
+
"pluginName": "@agledger/cli",
|
|
1497
|
+
"pluginType": "core",
|
|
1498
|
+
"strict": true,
|
|
1499
|
+
"enableJsonFlag": false,
|
|
1500
|
+
"isESM": true,
|
|
1501
|
+
"relativePath": [
|
|
1502
|
+
"dist",
|
|
1503
|
+
"commands",
|
|
1504
|
+
"mandate",
|
|
1505
|
+
"counter-propose.js"
|
|
1506
|
+
]
|
|
1507
|
+
},
|
|
1508
|
+
"mandate:create": {
|
|
1509
|
+
"aliases": [],
|
|
1510
|
+
"args": {},
|
|
1511
|
+
"description": "Create a new mandate",
|
|
1512
|
+
"flags": {
|
|
1513
|
+
"json": {
|
|
1514
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1515
|
+
"name": "json",
|
|
1516
|
+
"allowNo": false,
|
|
1517
|
+
"type": "boolean"
|
|
1518
|
+
},
|
|
1519
|
+
"quiet": {
|
|
1520
|
+
"description": "Suppress output (exit code only)",
|
|
1521
|
+
"name": "quiet",
|
|
1522
|
+
"allowNo": false,
|
|
1523
|
+
"type": "boolean"
|
|
1524
|
+
},
|
|
1525
|
+
"api-key": {
|
|
1526
|
+
"description": "AGLedger API key",
|
|
1527
|
+
"env": "AGLEDGER_API_KEY",
|
|
1528
|
+
"name": "api-key",
|
|
1529
|
+
"hasDynamicHelp": false,
|
|
1530
|
+
"multiple": false,
|
|
1531
|
+
"type": "option"
|
|
1532
|
+
},
|
|
1533
|
+
"api-url": {
|
|
1534
|
+
"description": "AGLedger API base URL",
|
|
1535
|
+
"env": "AGLEDGER_API_URL",
|
|
1536
|
+
"name": "api-url",
|
|
1537
|
+
"hasDynamicHelp": false,
|
|
1538
|
+
"multiple": false,
|
|
1539
|
+
"type": "option"
|
|
1540
|
+
},
|
|
1541
|
+
"type": {
|
|
1542
|
+
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
1543
|
+
"name": "type",
|
|
1206
1544
|
"required": true,
|
|
1207
1545
|
"hasDynamicHelp": false,
|
|
1208
1546
|
"multiple": false,
|
|
1209
1547
|
"type": "option"
|
|
1210
1548
|
},
|
|
1549
|
+
"performer": {
|
|
1550
|
+
"description": "Performer agent ID",
|
|
1551
|
+
"name": "performer",
|
|
1552
|
+
"hasDynamicHelp": false,
|
|
1553
|
+
"multiple": false,
|
|
1554
|
+
"type": "option"
|
|
1555
|
+
},
|
|
1556
|
+
"data": {
|
|
1557
|
+
"description": "Mandate data as JSON string",
|
|
1558
|
+
"name": "data",
|
|
1559
|
+
"hasDynamicHelp": false,
|
|
1560
|
+
"multiple": false,
|
|
1561
|
+
"type": "option"
|
|
1562
|
+
},
|
|
1563
|
+
"file": {
|
|
1564
|
+
"description": "Read mandate data from JSON file",
|
|
1565
|
+
"name": "file",
|
|
1566
|
+
"hasDynamicHelp": false,
|
|
1567
|
+
"multiple": false,
|
|
1568
|
+
"type": "option"
|
|
1569
|
+
},
|
|
1570
|
+
"max-submissions": {
|
|
1571
|
+
"description": "Max receipt submissions allowed (1-100)",
|
|
1572
|
+
"name": "max-submissions",
|
|
1573
|
+
"hasDynamicHelp": false,
|
|
1574
|
+
"multiple": false,
|
|
1575
|
+
"type": "option"
|
|
1576
|
+
},
|
|
1577
|
+
"activate": {
|
|
1578
|
+
"description": "Auto-activate on principal keys (sets autoActivate in body). Not supported on agent keys — agent-created mandates go through PROPOSED → accept → ACTIVE; use `mandate accept` then `mandate transition <id> activate`.",
|
|
1579
|
+
"name": "activate",
|
|
1580
|
+
"allowNo": false,
|
|
1581
|
+
"type": "boolean"
|
|
1582
|
+
},
|
|
1211
1583
|
"dry-run": {
|
|
1212
|
-
"description": "Show what would be sent without
|
|
1584
|
+
"description": "Show what would be sent without hitting the API",
|
|
1213
1585
|
"name": "dry-run",
|
|
1214
1586
|
"allowNo": false,
|
|
1215
1587
|
"type": "boolean"
|
|
@@ -1217,7 +1589,7 @@
|
|
|
1217
1589
|
},
|
|
1218
1590
|
"hasDynamicHelp": false,
|
|
1219
1591
|
"hiddenAliases": [],
|
|
1220
|
-
"id": "
|
|
1592
|
+
"id": "mandate:create",
|
|
1221
1593
|
"pluginAlias": "@agledger/cli",
|
|
1222
1594
|
"pluginName": "@agledger/cli",
|
|
1223
1595
|
"pluginType": "core",
|
|
@@ -1227,11 +1599,11 @@
|
|
|
1227
1599
|
"relativePath": [
|
|
1228
1600
|
"dist",
|
|
1229
1601
|
"commands",
|
|
1230
|
-
"
|
|
1231
|
-
"
|
|
1602
|
+
"mandate",
|
|
1603
|
+
"create.js"
|
|
1232
1604
|
]
|
|
1233
1605
|
},
|
|
1234
|
-
"mandate:
|
|
1606
|
+
"mandate:get": {
|
|
1235
1607
|
"aliases": [],
|
|
1236
1608
|
"args": {
|
|
1237
1609
|
"id": {
|
|
@@ -1240,10 +1612,10 @@
|
|
|
1240
1612
|
"required": true
|
|
1241
1613
|
}
|
|
1242
1614
|
},
|
|
1243
|
-
"description": "
|
|
1615
|
+
"description": "Get mandate details by ID",
|
|
1244
1616
|
"flags": {
|
|
1245
1617
|
"json": {
|
|
1246
|
-
"description": "
|
|
1618
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1247
1619
|
"name": "json",
|
|
1248
1620
|
"allowNo": false,
|
|
1249
1621
|
"type": "boolean"
|
|
@@ -1273,7 +1645,7 @@
|
|
|
1273
1645
|
},
|
|
1274
1646
|
"hasDynamicHelp": false,
|
|
1275
1647
|
"hiddenAliases": [],
|
|
1276
|
-
"id": "mandate:
|
|
1648
|
+
"id": "mandate:get",
|
|
1277
1649
|
"pluginAlias": "@agledger/cli",
|
|
1278
1650
|
"pluginName": "@agledger/cli",
|
|
1279
1651
|
"pluginType": "core",
|
|
@@ -1284,16 +1656,16 @@
|
|
|
1284
1656
|
"dist",
|
|
1285
1657
|
"commands",
|
|
1286
1658
|
"mandate",
|
|
1287
|
-
"
|
|
1659
|
+
"get.js"
|
|
1288
1660
|
]
|
|
1289
1661
|
},
|
|
1290
|
-
"mandate:
|
|
1662
|
+
"mandate:list": {
|
|
1291
1663
|
"aliases": [],
|
|
1292
1664
|
"args": {},
|
|
1293
|
-
"description": "
|
|
1665
|
+
"description": "List mandates with optional filters",
|
|
1294
1666
|
"flags": {
|
|
1295
1667
|
"json": {
|
|
1296
|
-
"description": "
|
|
1668
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1297
1669
|
"name": "json",
|
|
1298
1670
|
"allowNo": false,
|
|
1299
1671
|
"type": "boolean"
|
|
@@ -1320,18 +1692,45 @@
|
|
|
1320
1692
|
"multiple": false,
|
|
1321
1693
|
"type": "option"
|
|
1322
1694
|
},
|
|
1323
|
-
"
|
|
1324
|
-
"description": "
|
|
1325
|
-
"name": "
|
|
1326
|
-
"
|
|
1695
|
+
"status": {
|
|
1696
|
+
"description": "Filter by mandate status (PROPOSED, REJECTED, CREATED, ACTIVE, PROCESSING, REVISION_REQUESTED, FULFILLED, FAILED, REMEDIATED, EXPIRED, CANCELLED)",
|
|
1697
|
+
"name": "status",
|
|
1698
|
+
"hasDynamicHelp": false,
|
|
1699
|
+
"multiple": false,
|
|
1700
|
+
"type": "option"
|
|
1701
|
+
},
|
|
1702
|
+
"type": {
|
|
1703
|
+
"description": "Filter by contract type (e.g., ACH-PROC-v1)",
|
|
1704
|
+
"name": "type",
|
|
1705
|
+
"hasDynamicHelp": false,
|
|
1706
|
+
"multiple": false,
|
|
1707
|
+
"type": "option"
|
|
1708
|
+
},
|
|
1709
|
+
"limit": {
|
|
1710
|
+
"description": "Max results per page",
|
|
1711
|
+
"name": "limit",
|
|
1712
|
+
"default": 25,
|
|
1713
|
+
"hasDynamicHelp": false,
|
|
1714
|
+
"multiple": false,
|
|
1715
|
+
"type": "option"
|
|
1716
|
+
},
|
|
1717
|
+
"cursor": {
|
|
1718
|
+
"description": "Pagination cursor",
|
|
1719
|
+
"name": "cursor",
|
|
1327
1720
|
"hasDynamicHelp": false,
|
|
1328
1721
|
"multiple": false,
|
|
1329
1722
|
"type": "option"
|
|
1723
|
+
},
|
|
1724
|
+
"all": {
|
|
1725
|
+
"description": "Stream all pages as NDJSON",
|
|
1726
|
+
"name": "all",
|
|
1727
|
+
"allowNo": false,
|
|
1728
|
+
"type": "boolean"
|
|
1330
1729
|
}
|
|
1331
1730
|
},
|
|
1332
1731
|
"hasDynamicHelp": false,
|
|
1333
1732
|
"hiddenAliases": [],
|
|
1334
|
-
"id": "mandate:
|
|
1733
|
+
"id": "mandate:list",
|
|
1335
1734
|
"pluginAlias": "@agledger/cli",
|
|
1336
1735
|
"pluginName": "@agledger/cli",
|
|
1337
1736
|
"pluginType": "core",
|
|
@@ -1342,22 +1741,30 @@
|
|
|
1342
1741
|
"dist",
|
|
1343
1742
|
"commands",
|
|
1344
1743
|
"mandate",
|
|
1345
|
-
"
|
|
1744
|
+
"list.js"
|
|
1346
1745
|
]
|
|
1347
1746
|
},
|
|
1348
|
-
"mandate:
|
|
1747
|
+
"mandate:outcome": {
|
|
1349
1748
|
"aliases": [],
|
|
1350
1749
|
"args": {
|
|
1351
1750
|
"id": {
|
|
1352
1751
|
"description": "Mandate ID",
|
|
1353
1752
|
"name": "id",
|
|
1354
1753
|
"required": true
|
|
1754
|
+
},
|
|
1755
|
+
"outcome": {
|
|
1756
|
+
"description": "PASS or FAIL. Alternative: --outcome",
|
|
1757
|
+
"name": "outcome",
|
|
1758
|
+
"options": [
|
|
1759
|
+
"PASS",
|
|
1760
|
+
"FAIL"
|
|
1761
|
+
]
|
|
1355
1762
|
}
|
|
1356
1763
|
},
|
|
1357
|
-
"description": "
|
|
1764
|
+
"description": "Report principal verdict on a receipt (PASS or FAIL with settlement signal). Outcome can be given positionally or via --outcome.",
|
|
1358
1765
|
"flags": {
|
|
1359
1766
|
"json": {
|
|
1360
|
-
"description": "
|
|
1767
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1361
1768
|
"name": "json",
|
|
1362
1769
|
"allowNo": false,
|
|
1363
1770
|
"type": "boolean"
|
|
@@ -1384,17 +1791,49 @@
|
|
|
1384
1791
|
"multiple": false,
|
|
1385
1792
|
"type": "option"
|
|
1386
1793
|
},
|
|
1794
|
+
"receipt-id": {
|
|
1795
|
+
"description": "Receipt ID to judge",
|
|
1796
|
+
"name": "receipt-id",
|
|
1797
|
+
"required": true,
|
|
1798
|
+
"hasDynamicHelp": false,
|
|
1799
|
+
"multiple": false,
|
|
1800
|
+
"type": "option"
|
|
1801
|
+
},
|
|
1802
|
+
"outcome": {
|
|
1803
|
+
"description": "PASS or FAIL — alternative to positional arg",
|
|
1804
|
+
"name": "outcome",
|
|
1805
|
+
"hasDynamicHelp": false,
|
|
1806
|
+
"multiple": false,
|
|
1807
|
+
"options": [
|
|
1808
|
+
"PASS",
|
|
1809
|
+
"FAIL"
|
|
1810
|
+
],
|
|
1811
|
+
"type": "option"
|
|
1812
|
+
},
|
|
1387
1813
|
"reason": {
|
|
1388
|
-
"description": "
|
|
1814
|
+
"description": "Reason for the verdict",
|
|
1389
1815
|
"name": "reason",
|
|
1390
1816
|
"hasDynamicHelp": false,
|
|
1391
1817
|
"multiple": false,
|
|
1392
1818
|
"type": "option"
|
|
1819
|
+
},
|
|
1820
|
+
"signal": {
|
|
1821
|
+
"description": "Settlement signal (settle, hold, escalate)",
|
|
1822
|
+
"name": "signal",
|
|
1823
|
+
"hasDynamicHelp": false,
|
|
1824
|
+
"multiple": false,
|
|
1825
|
+
"type": "option"
|
|
1826
|
+
},
|
|
1827
|
+
"dry-run": {
|
|
1828
|
+
"description": "Show what would be sent without hitting the API",
|
|
1829
|
+
"name": "dry-run",
|
|
1830
|
+
"allowNo": false,
|
|
1831
|
+
"type": "boolean"
|
|
1393
1832
|
}
|
|
1394
1833
|
},
|
|
1395
1834
|
"hasDynamicHelp": false,
|
|
1396
1835
|
"hiddenAliases": [],
|
|
1397
|
-
"id": "mandate:
|
|
1836
|
+
"id": "mandate:outcome",
|
|
1398
1837
|
"pluginAlias": "@agledger/cli",
|
|
1399
1838
|
"pluginName": "@agledger/cli",
|
|
1400
1839
|
"pluginType": "core",
|
|
@@ -1405,22 +1844,22 @@
|
|
|
1405
1844
|
"dist",
|
|
1406
1845
|
"commands",
|
|
1407
1846
|
"mandate",
|
|
1408
|
-
"
|
|
1847
|
+
"outcome.js"
|
|
1409
1848
|
]
|
|
1410
1849
|
},
|
|
1411
|
-
"mandate:
|
|
1850
|
+
"mandate:receipts": {
|
|
1412
1851
|
"aliases": [],
|
|
1413
1852
|
"args": {
|
|
1414
|
-
"
|
|
1853
|
+
"mandateId": {
|
|
1415
1854
|
"description": "Mandate ID",
|
|
1416
|
-
"name": "
|
|
1855
|
+
"name": "mandateId",
|
|
1417
1856
|
"required": true
|
|
1418
1857
|
}
|
|
1419
1858
|
},
|
|
1420
|
-
"description": "
|
|
1859
|
+
"description": "List receipts for a mandate (alias of `receipt list`)",
|
|
1421
1860
|
"flags": {
|
|
1422
1861
|
"json": {
|
|
1423
|
-
"description": "
|
|
1862
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1424
1863
|
"name": "json",
|
|
1425
1864
|
"allowNo": false,
|
|
1426
1865
|
"type": "boolean"
|
|
@@ -1446,11 +1885,17 @@
|
|
|
1446
1885
|
"hasDynamicHelp": false,
|
|
1447
1886
|
"multiple": false,
|
|
1448
1887
|
"type": "option"
|
|
1888
|
+
},
|
|
1889
|
+
"all": {
|
|
1890
|
+
"description": "Stream all pages as NDJSON",
|
|
1891
|
+
"name": "all",
|
|
1892
|
+
"allowNo": false,
|
|
1893
|
+
"type": "boolean"
|
|
1449
1894
|
}
|
|
1450
1895
|
},
|
|
1451
1896
|
"hasDynamicHelp": false,
|
|
1452
1897
|
"hiddenAliases": [],
|
|
1453
|
-
"id": "mandate:
|
|
1898
|
+
"id": "mandate:receipts",
|
|
1454
1899
|
"pluginAlias": "@agledger/cli",
|
|
1455
1900
|
"pluginName": "@agledger/cli",
|
|
1456
1901
|
"pluginType": "core",
|
|
@@ -1461,10 +1906,10 @@
|
|
|
1461
1906
|
"dist",
|
|
1462
1907
|
"commands",
|
|
1463
1908
|
"mandate",
|
|
1464
|
-
"
|
|
1909
|
+
"receipts.js"
|
|
1465
1910
|
]
|
|
1466
1911
|
},
|
|
1467
|
-
"mandate:
|
|
1912
|
+
"mandate:reject": {
|
|
1468
1913
|
"aliases": [],
|
|
1469
1914
|
"args": {
|
|
1470
1915
|
"id": {
|
|
@@ -1473,10 +1918,10 @@
|
|
|
1473
1918
|
"required": true
|
|
1474
1919
|
}
|
|
1475
1920
|
},
|
|
1476
|
-
"description": "
|
|
1921
|
+
"description": "Reject a proposed mandate (as performer)",
|
|
1477
1922
|
"flags": {
|
|
1478
1923
|
"json": {
|
|
1479
|
-
"description": "
|
|
1924
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1480
1925
|
"name": "json",
|
|
1481
1926
|
"allowNo": false,
|
|
1482
1927
|
"type": "boolean"
|
|
@@ -1503,18 +1948,23 @@
|
|
|
1503
1948
|
"multiple": false,
|
|
1504
1949
|
"type": "option"
|
|
1505
1950
|
},
|
|
1506
|
-
"
|
|
1507
|
-
"description": "
|
|
1508
|
-
"name": "
|
|
1509
|
-
"required": true,
|
|
1951
|
+
"reason": {
|
|
1952
|
+
"description": "Rejection reason",
|
|
1953
|
+
"name": "reason",
|
|
1510
1954
|
"hasDynamicHelp": false,
|
|
1511
1955
|
"multiple": false,
|
|
1512
1956
|
"type": "option"
|
|
1957
|
+
},
|
|
1958
|
+
"dry-run": {
|
|
1959
|
+
"description": "Show what would be sent without hitting the API",
|
|
1960
|
+
"name": "dry-run",
|
|
1961
|
+
"allowNo": false,
|
|
1962
|
+
"type": "boolean"
|
|
1513
1963
|
}
|
|
1514
1964
|
},
|
|
1515
1965
|
"hasDynamicHelp": false,
|
|
1516
1966
|
"hiddenAliases": [],
|
|
1517
|
-
"id": "mandate:
|
|
1967
|
+
"id": "mandate:reject",
|
|
1518
1968
|
"pluginAlias": "@agledger/cli",
|
|
1519
1969
|
"pluginName": "@agledger/cli",
|
|
1520
1970
|
"pluginType": "core",
|
|
@@ -1525,16 +1975,22 @@
|
|
|
1525
1975
|
"dist",
|
|
1526
1976
|
"commands",
|
|
1527
1977
|
"mandate",
|
|
1528
|
-
"
|
|
1978
|
+
"reject.js"
|
|
1529
1979
|
]
|
|
1530
1980
|
},
|
|
1531
|
-
"mandate:
|
|
1981
|
+
"mandate:request-revision": {
|
|
1532
1982
|
"aliases": [],
|
|
1533
|
-
"args": {
|
|
1534
|
-
|
|
1983
|
+
"args": {
|
|
1984
|
+
"id": {
|
|
1985
|
+
"description": "Mandate ID",
|
|
1986
|
+
"name": "id",
|
|
1987
|
+
"required": true
|
|
1988
|
+
}
|
|
1989
|
+
},
|
|
1990
|
+
"description": "Request revision after principal rejection (rework loop)",
|
|
1535
1991
|
"flags": {
|
|
1536
1992
|
"json": {
|
|
1537
|
-
"description": "
|
|
1993
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1538
1994
|
"name": "json",
|
|
1539
1995
|
"allowNo": false,
|
|
1540
1996
|
"type": "boolean"
|
|
@@ -1561,48 +2017,93 @@
|
|
|
1561
2017
|
"multiple": false,
|
|
1562
2018
|
"type": "option"
|
|
1563
2019
|
},
|
|
1564
|
-
"
|
|
1565
|
-
"description": "
|
|
1566
|
-
"name": "
|
|
1567
|
-
"required": true,
|
|
2020
|
+
"reason": {
|
|
2021
|
+
"description": "Reason for requesting revision",
|
|
2022
|
+
"name": "reason",
|
|
1568
2023
|
"hasDynamicHelp": false,
|
|
1569
2024
|
"multiple": false,
|
|
1570
2025
|
"type": "option"
|
|
1571
2026
|
},
|
|
1572
|
-
"
|
|
1573
|
-
"description": "
|
|
1574
|
-
"name": "
|
|
2027
|
+
"dry-run": {
|
|
2028
|
+
"description": "Show what would be sent without hitting the API",
|
|
2029
|
+
"name": "dry-run",
|
|
2030
|
+
"allowNo": false,
|
|
2031
|
+
"type": "boolean"
|
|
2032
|
+
}
|
|
2033
|
+
},
|
|
2034
|
+
"hasDynamicHelp": false,
|
|
2035
|
+
"hiddenAliases": [],
|
|
2036
|
+
"id": "mandate:request-revision",
|
|
2037
|
+
"pluginAlias": "@agledger/cli",
|
|
2038
|
+
"pluginName": "@agledger/cli",
|
|
2039
|
+
"pluginType": "core",
|
|
2040
|
+
"strict": true,
|
|
2041
|
+
"enableJsonFlag": false,
|
|
2042
|
+
"isESM": true,
|
|
2043
|
+
"relativePath": [
|
|
2044
|
+
"dist",
|
|
2045
|
+
"commands",
|
|
2046
|
+
"mandate",
|
|
2047
|
+
"request-revision.js"
|
|
2048
|
+
]
|
|
2049
|
+
},
|
|
2050
|
+
"mandate:transition": {
|
|
2051
|
+
"aliases": [],
|
|
2052
|
+
"args": {
|
|
2053
|
+
"id": {
|
|
2054
|
+
"description": "Mandate ID",
|
|
2055
|
+
"name": "id",
|
|
2056
|
+
"required": true
|
|
2057
|
+
},
|
|
2058
|
+
"action": {
|
|
2059
|
+
"description": "Transition action (e.g. activate, cancel). Alternative: --action",
|
|
2060
|
+
"name": "action"
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
2063
|
+
"description": "Transition mandate state. Action can be given positionally or via --action. Allowed actions depend on current state — see API schema or call without a valid action to see the error.",
|
|
2064
|
+
"flags": {
|
|
2065
|
+
"json": {
|
|
2066
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2067
|
+
"name": "json",
|
|
2068
|
+
"allowNo": false,
|
|
2069
|
+
"type": "boolean"
|
|
2070
|
+
},
|
|
2071
|
+
"quiet": {
|
|
2072
|
+
"description": "Suppress output (exit code only)",
|
|
2073
|
+
"name": "quiet",
|
|
2074
|
+
"allowNo": false,
|
|
2075
|
+
"type": "boolean"
|
|
2076
|
+
},
|
|
2077
|
+
"api-key": {
|
|
2078
|
+
"description": "AGLedger API key",
|
|
2079
|
+
"env": "AGLEDGER_API_KEY",
|
|
2080
|
+
"name": "api-key",
|
|
1575
2081
|
"hasDynamicHelp": false,
|
|
1576
2082
|
"multiple": false,
|
|
1577
2083
|
"type": "option"
|
|
1578
2084
|
},
|
|
1579
|
-
"
|
|
1580
|
-
"description": "
|
|
1581
|
-
"
|
|
2085
|
+
"api-url": {
|
|
2086
|
+
"description": "AGLedger API base URL",
|
|
2087
|
+
"env": "AGLEDGER_API_URL",
|
|
2088
|
+
"name": "api-url",
|
|
1582
2089
|
"hasDynamicHelp": false,
|
|
1583
2090
|
"multiple": false,
|
|
1584
2091
|
"type": "option"
|
|
1585
2092
|
},
|
|
1586
|
-
"
|
|
1587
|
-
"description": "
|
|
1588
|
-
"name": "
|
|
2093
|
+
"action": {
|
|
2094
|
+
"description": "Transition action — alternative to positional arg (matches API body field name)",
|
|
2095
|
+
"name": "action",
|
|
1589
2096
|
"hasDynamicHelp": false,
|
|
1590
2097
|
"multiple": false,
|
|
1591
2098
|
"type": "option"
|
|
1592
2099
|
},
|
|
1593
|
-
"
|
|
1594
|
-
"description": "
|
|
1595
|
-
"name": "
|
|
2100
|
+
"reason": {
|
|
2101
|
+
"description": "Transition reason",
|
|
2102
|
+
"name": "reason",
|
|
1596
2103
|
"hasDynamicHelp": false,
|
|
1597
2104
|
"multiple": false,
|
|
1598
2105
|
"type": "option"
|
|
1599
2106
|
},
|
|
1600
|
-
"activate": {
|
|
1601
|
-
"description": "Auto-activate the mandate (CREATED → ACTIVE)",
|
|
1602
|
-
"name": "activate",
|
|
1603
|
-
"allowNo": false,
|
|
1604
|
-
"type": "boolean"
|
|
1605
|
-
},
|
|
1606
2107
|
"dry-run": {
|
|
1607
2108
|
"description": "Show what would be sent without hitting the API",
|
|
1608
2109
|
"name": "dry-run",
|
|
@@ -1612,7 +2113,7 @@
|
|
|
1612
2113
|
},
|
|
1613
2114
|
"hasDynamicHelp": false,
|
|
1614
2115
|
"hiddenAliases": [],
|
|
1615
|
-
"id": "mandate:
|
|
2116
|
+
"id": "mandate:transition",
|
|
1616
2117
|
"pluginAlias": "@agledger/cli",
|
|
1617
2118
|
"pluginName": "@agledger/cli",
|
|
1618
2119
|
"pluginType": "core",
|
|
@@ -1623,22 +2124,16 @@
|
|
|
1623
2124
|
"dist",
|
|
1624
2125
|
"commands",
|
|
1625
2126
|
"mandate",
|
|
1626
|
-
"
|
|
2127
|
+
"transition.js"
|
|
1627
2128
|
]
|
|
1628
2129
|
},
|
|
1629
|
-
"
|
|
2130
|
+
"federation:audit-log": {
|
|
1630
2131
|
"aliases": [],
|
|
1631
|
-
"args": {
|
|
1632
|
-
|
|
1633
|
-
"description": "Mandate ID",
|
|
1634
|
-
"name": "id",
|
|
1635
|
-
"required": true
|
|
1636
|
-
}
|
|
1637
|
-
},
|
|
1638
|
-
"description": "Get mandate details by ID",
|
|
2132
|
+
"args": {},
|
|
2133
|
+
"description": "Query the federation audit log for gateway and mandate events.",
|
|
1639
2134
|
"flags": {
|
|
1640
2135
|
"json": {
|
|
1641
|
-
"description": "
|
|
2136
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1642
2137
|
"name": "json",
|
|
1643
2138
|
"allowNo": false,
|
|
1644
2139
|
"type": "boolean"
|
|
@@ -1664,11 +2159,39 @@
|
|
|
1664
2159
|
"hasDynamicHelp": false,
|
|
1665
2160
|
"multiple": false,
|
|
1666
2161
|
"type": "option"
|
|
2162
|
+
},
|
|
2163
|
+
"gateway-id": {
|
|
2164
|
+
"description": "Filter by gateway ID",
|
|
2165
|
+
"name": "gateway-id",
|
|
2166
|
+
"hasDynamicHelp": false,
|
|
2167
|
+
"multiple": false,
|
|
2168
|
+
"type": "option"
|
|
2169
|
+
},
|
|
2170
|
+
"entry-type": {
|
|
2171
|
+
"description": "Filter by audit entry type",
|
|
2172
|
+
"name": "entry-type",
|
|
2173
|
+
"hasDynamicHelp": false,
|
|
2174
|
+
"multiple": false,
|
|
2175
|
+
"type": "option"
|
|
2176
|
+
},
|
|
2177
|
+
"mandate-id": {
|
|
2178
|
+
"description": "Filter by mandate ID",
|
|
2179
|
+
"name": "mandate-id",
|
|
2180
|
+
"hasDynamicHelp": false,
|
|
2181
|
+
"multiple": false,
|
|
2182
|
+
"type": "option"
|
|
2183
|
+
},
|
|
2184
|
+
"limit": {
|
|
2185
|
+
"description": "Maximum number of entries to return",
|
|
2186
|
+
"name": "limit",
|
|
2187
|
+
"hasDynamicHelp": false,
|
|
2188
|
+
"multiple": false,
|
|
2189
|
+
"type": "option"
|
|
1667
2190
|
}
|
|
1668
2191
|
},
|
|
1669
2192
|
"hasDynamicHelp": false,
|
|
1670
2193
|
"hiddenAliases": [],
|
|
1671
|
-
"id": "
|
|
2194
|
+
"id": "federation:audit-log",
|
|
1672
2195
|
"pluginAlias": "@agledger/cli",
|
|
1673
2196
|
"pluginName": "@agledger/cli",
|
|
1674
2197
|
"pluginType": "core",
|
|
@@ -1678,17 +2201,17 @@
|
|
|
1678
2201
|
"relativePath": [
|
|
1679
2202
|
"dist",
|
|
1680
2203
|
"commands",
|
|
1681
|
-
"
|
|
1682
|
-
"
|
|
2204
|
+
"federation",
|
|
2205
|
+
"audit-log.js"
|
|
1683
2206
|
]
|
|
1684
2207
|
},
|
|
1685
|
-
"
|
|
2208
|
+
"federation:create-token": {
|
|
1686
2209
|
"aliases": [],
|
|
1687
2210
|
"args": {},
|
|
1688
|
-
"description": "
|
|
2211
|
+
"description": "Create a federation registration token for gateway onboarding.",
|
|
1689
2212
|
"flags": {
|
|
1690
2213
|
"json": {
|
|
1691
|
-
"description": "
|
|
2214
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1692
2215
|
"name": "json",
|
|
1693
2216
|
"allowNo": false,
|
|
1694
2217
|
"type": "boolean"
|
|
@@ -1715,45 +2238,149 @@
|
|
|
1715
2238
|
"multiple": false,
|
|
1716
2239
|
"type": "option"
|
|
1717
2240
|
},
|
|
1718
|
-
"
|
|
1719
|
-
"description": "
|
|
1720
|
-
"name": "
|
|
2241
|
+
"label": {
|
|
2242
|
+
"description": "Human-readable label for the token",
|
|
2243
|
+
"name": "label",
|
|
1721
2244
|
"hasDynamicHelp": false,
|
|
1722
2245
|
"multiple": false,
|
|
1723
2246
|
"type": "option"
|
|
1724
2247
|
},
|
|
1725
|
-
"
|
|
1726
|
-
"description": "
|
|
1727
|
-
"name": "
|
|
2248
|
+
"expires-in-hours": {
|
|
2249
|
+
"description": "Token expiry in hours (default: server-configured)",
|
|
2250
|
+
"name": "expires-in-hours",
|
|
1728
2251
|
"hasDynamicHelp": false,
|
|
1729
2252
|
"multiple": false,
|
|
1730
2253
|
"type": "option"
|
|
1731
2254
|
},
|
|
1732
|
-
"
|
|
1733
|
-
"description": "
|
|
1734
|
-
"name": "
|
|
1735
|
-
"
|
|
2255
|
+
"dry-run": {
|
|
2256
|
+
"description": "Show what would be sent without calling the API",
|
|
2257
|
+
"name": "dry-run",
|
|
2258
|
+
"allowNo": false,
|
|
2259
|
+
"type": "boolean"
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2262
|
+
"hasDynamicHelp": false,
|
|
2263
|
+
"hiddenAliases": [],
|
|
2264
|
+
"id": "federation:create-token",
|
|
2265
|
+
"pluginAlias": "@agledger/cli",
|
|
2266
|
+
"pluginName": "@agledger/cli",
|
|
2267
|
+
"pluginType": "core",
|
|
2268
|
+
"strict": true,
|
|
2269
|
+
"enableJsonFlag": false,
|
|
2270
|
+
"isESM": true,
|
|
2271
|
+
"relativePath": [
|
|
2272
|
+
"dist",
|
|
2273
|
+
"commands",
|
|
2274
|
+
"federation",
|
|
2275
|
+
"create-token.js"
|
|
2276
|
+
]
|
|
2277
|
+
},
|
|
2278
|
+
"federation:health": {
|
|
2279
|
+
"aliases": [],
|
|
2280
|
+
"args": {},
|
|
2281
|
+
"description": "Show federation health summary (gateway counts, sync status, uptime).",
|
|
2282
|
+
"flags": {
|
|
2283
|
+
"json": {
|
|
2284
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2285
|
+
"name": "json",
|
|
2286
|
+
"allowNo": false,
|
|
2287
|
+
"type": "boolean"
|
|
2288
|
+
},
|
|
2289
|
+
"quiet": {
|
|
2290
|
+
"description": "Suppress output (exit code only)",
|
|
2291
|
+
"name": "quiet",
|
|
2292
|
+
"allowNo": false,
|
|
2293
|
+
"type": "boolean"
|
|
2294
|
+
},
|
|
2295
|
+
"api-key": {
|
|
2296
|
+
"description": "AGLedger API key",
|
|
2297
|
+
"env": "AGLEDGER_API_KEY",
|
|
2298
|
+
"name": "api-key",
|
|
1736
2299
|
"hasDynamicHelp": false,
|
|
1737
2300
|
"multiple": false,
|
|
1738
2301
|
"type": "option"
|
|
1739
2302
|
},
|
|
1740
|
-
"
|
|
1741
|
-
"description": "
|
|
1742
|
-
"
|
|
2303
|
+
"api-url": {
|
|
2304
|
+
"description": "AGLedger API base URL",
|
|
2305
|
+
"env": "AGLEDGER_API_URL",
|
|
2306
|
+
"name": "api-url",
|
|
1743
2307
|
"hasDynamicHelp": false,
|
|
1744
2308
|
"multiple": false,
|
|
1745
2309
|
"type": "option"
|
|
2310
|
+
}
|
|
2311
|
+
},
|
|
2312
|
+
"hasDynamicHelp": false,
|
|
2313
|
+
"hiddenAliases": [],
|
|
2314
|
+
"id": "federation:health",
|
|
2315
|
+
"pluginAlias": "@agledger/cli",
|
|
2316
|
+
"pluginName": "@agledger/cli",
|
|
2317
|
+
"pluginType": "core",
|
|
2318
|
+
"strict": true,
|
|
2319
|
+
"enableJsonFlag": false,
|
|
2320
|
+
"isESM": true,
|
|
2321
|
+
"relativePath": [
|
|
2322
|
+
"dist",
|
|
2323
|
+
"commands",
|
|
2324
|
+
"federation",
|
|
2325
|
+
"health.js"
|
|
2326
|
+
]
|
|
2327
|
+
},
|
|
2328
|
+
"federation:list-gateways": {
|
|
2329
|
+
"aliases": [],
|
|
2330
|
+
"args": {},
|
|
2331
|
+
"description": "List federation gateways with optional status filter.",
|
|
2332
|
+
"flags": {
|
|
2333
|
+
"json": {
|
|
2334
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2335
|
+
"name": "json",
|
|
2336
|
+
"allowNo": false,
|
|
2337
|
+
"type": "boolean"
|
|
1746
2338
|
},
|
|
1747
|
-
"
|
|
1748
|
-
"description": "
|
|
1749
|
-
"name": "
|
|
2339
|
+
"quiet": {
|
|
2340
|
+
"description": "Suppress output (exit code only)",
|
|
2341
|
+
"name": "quiet",
|
|
1750
2342
|
"allowNo": false,
|
|
1751
2343
|
"type": "boolean"
|
|
2344
|
+
},
|
|
2345
|
+
"api-key": {
|
|
2346
|
+
"description": "AGLedger API key",
|
|
2347
|
+
"env": "AGLEDGER_API_KEY",
|
|
2348
|
+
"name": "api-key",
|
|
2349
|
+
"hasDynamicHelp": false,
|
|
2350
|
+
"multiple": false,
|
|
2351
|
+
"type": "option"
|
|
2352
|
+
},
|
|
2353
|
+
"api-url": {
|
|
2354
|
+
"description": "AGLedger API base URL",
|
|
2355
|
+
"env": "AGLEDGER_API_URL",
|
|
2356
|
+
"name": "api-url",
|
|
2357
|
+
"hasDynamicHelp": false,
|
|
2358
|
+
"multiple": false,
|
|
2359
|
+
"type": "option"
|
|
2360
|
+
},
|
|
2361
|
+
"status": {
|
|
2362
|
+
"description": "Filter by gateway status",
|
|
2363
|
+
"name": "status",
|
|
2364
|
+
"hasDynamicHelp": false,
|
|
2365
|
+
"multiple": false,
|
|
2366
|
+
"options": [
|
|
2367
|
+
"active",
|
|
2368
|
+
"suspended",
|
|
2369
|
+
"revoked"
|
|
2370
|
+
],
|
|
2371
|
+
"type": "option"
|
|
2372
|
+
},
|
|
2373
|
+
"limit": {
|
|
2374
|
+
"description": "Maximum number of results to return",
|
|
2375
|
+
"name": "limit",
|
|
2376
|
+
"hasDynamicHelp": false,
|
|
2377
|
+
"multiple": false,
|
|
2378
|
+
"type": "option"
|
|
1752
2379
|
}
|
|
1753
2380
|
},
|
|
1754
2381
|
"hasDynamicHelp": false,
|
|
1755
2382
|
"hiddenAliases": [],
|
|
1756
|
-
"id": "
|
|
2383
|
+
"id": "federation:list-gateways",
|
|
1757
2384
|
"pluginAlias": "@agledger/cli",
|
|
1758
2385
|
"pluginName": "@agledger/cli",
|
|
1759
2386
|
"pluginType": "core",
|
|
@@ -1763,23 +2390,17 @@
|
|
|
1763
2390
|
"relativePath": [
|
|
1764
2391
|
"dist",
|
|
1765
2392
|
"commands",
|
|
1766
|
-
"
|
|
1767
|
-
"list.js"
|
|
2393
|
+
"federation",
|
|
2394
|
+
"list-gateways.js"
|
|
1768
2395
|
]
|
|
1769
2396
|
},
|
|
1770
|
-
"
|
|
2397
|
+
"federation:query-mandates": {
|
|
1771
2398
|
"aliases": [],
|
|
1772
|
-
"args": {
|
|
1773
|
-
|
|
1774
|
-
"description": "Mandate ID",
|
|
1775
|
-
"name": "id",
|
|
1776
|
-
"required": true
|
|
1777
|
-
}
|
|
1778
|
-
},
|
|
1779
|
-
"description": "Report principal verdict on a receipt (PASS or FAIL with settlement signal)",
|
|
2399
|
+
"args": {},
|
|
2400
|
+
"description": "Query federated mandates across gateways.",
|
|
1780
2401
|
"flags": {
|
|
1781
2402
|
"json": {
|
|
1782
|
-
"description": "
|
|
2403
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1783
2404
|
"name": "json",
|
|
1784
2405
|
"allowNo": false,
|
|
1785
2406
|
"type": "boolean"
|
|
@@ -1806,36 +2427,38 @@
|
|
|
1806
2427
|
"multiple": false,
|
|
1807
2428
|
"type": "option"
|
|
1808
2429
|
},
|
|
1809
|
-
"
|
|
1810
|
-
"description": "
|
|
1811
|
-
"name": "
|
|
1812
|
-
"required": true,
|
|
2430
|
+
"gateway-id": {
|
|
2431
|
+
"description": "Filter by originating gateway ID",
|
|
2432
|
+
"name": "gateway-id",
|
|
1813
2433
|
"hasDynamicHelp": false,
|
|
1814
2434
|
"multiple": false,
|
|
1815
2435
|
"type": "option"
|
|
1816
2436
|
},
|
|
1817
|
-
"
|
|
1818
|
-
"description": "
|
|
1819
|
-
"name": "
|
|
1820
|
-
"required": true,
|
|
2437
|
+
"hub-state": {
|
|
2438
|
+
"description": "Filter by hub-side mandate state",
|
|
2439
|
+
"name": "hub-state",
|
|
1821
2440
|
"hasDynamicHelp": false,
|
|
1822
2441
|
"multiple": false,
|
|
1823
2442
|
"options": [
|
|
1824
|
-
"
|
|
1825
|
-
"
|
|
2443
|
+
"OFFERED",
|
|
2444
|
+
"ACCEPTED",
|
|
2445
|
+
"ACTIVE",
|
|
2446
|
+
"COMPLETED",
|
|
2447
|
+
"DISPUTED",
|
|
2448
|
+
"TERMINAL"
|
|
1826
2449
|
],
|
|
1827
2450
|
"type": "option"
|
|
1828
2451
|
},
|
|
1829
|
-
"
|
|
1830
|
-
"description": "
|
|
1831
|
-
"name": "
|
|
2452
|
+
"contract-type": {
|
|
2453
|
+
"description": "Filter by contract type (e.g. ACH-PROC-v1)",
|
|
2454
|
+
"name": "contract-type",
|
|
1832
2455
|
"hasDynamicHelp": false,
|
|
1833
2456
|
"multiple": false,
|
|
1834
2457
|
"type": "option"
|
|
1835
2458
|
},
|
|
1836
|
-
"
|
|
1837
|
-
"description": "
|
|
1838
|
-
"name": "
|
|
2459
|
+
"limit": {
|
|
2460
|
+
"description": "Maximum number of results to return",
|
|
2461
|
+
"name": "limit",
|
|
1839
2462
|
"hasDynamicHelp": false,
|
|
1840
2463
|
"multiple": false,
|
|
1841
2464
|
"type": "option"
|
|
@@ -1843,7 +2466,7 @@
|
|
|
1843
2466
|
},
|
|
1844
2467
|
"hasDynamicHelp": false,
|
|
1845
2468
|
"hiddenAliases": [],
|
|
1846
|
-
"id": "
|
|
2469
|
+
"id": "federation:query-mandates",
|
|
1847
2470
|
"pluginAlias": "@agledger/cli",
|
|
1848
2471
|
"pluginName": "@agledger/cli",
|
|
1849
2472
|
"pluginType": "core",
|
|
@@ -1853,23 +2476,23 @@
|
|
|
1853
2476
|
"relativePath": [
|
|
1854
2477
|
"dist",
|
|
1855
2478
|
"commands",
|
|
1856
|
-
"
|
|
1857
|
-
"
|
|
2479
|
+
"federation",
|
|
2480
|
+
"query-mandates.js"
|
|
1858
2481
|
]
|
|
1859
2482
|
},
|
|
1860
|
-
"
|
|
2483
|
+
"federation:revoke-gateway": {
|
|
1861
2484
|
"aliases": [],
|
|
1862
2485
|
"args": {
|
|
1863
|
-
"
|
|
1864
|
-
"description": "
|
|
1865
|
-
"name": "
|
|
2486
|
+
"gateway_id": {
|
|
2487
|
+
"description": "Gateway ID to revoke",
|
|
2488
|
+
"name": "gateway_id",
|
|
1866
2489
|
"required": true
|
|
1867
2490
|
}
|
|
1868
2491
|
},
|
|
1869
|
-
"description": "
|
|
2492
|
+
"description": "Revoke a federation gateway, severing its connection to the hub.",
|
|
1870
2493
|
"flags": {
|
|
1871
2494
|
"json": {
|
|
1872
|
-
"description": "
|
|
2495
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1873
2496
|
"name": "json",
|
|
1874
2497
|
"allowNo": false,
|
|
1875
2498
|
"type": "boolean"
|
|
@@ -1897,16 +2520,23 @@
|
|
|
1897
2520
|
"type": "option"
|
|
1898
2521
|
},
|
|
1899
2522
|
"reason": {
|
|
1900
|
-
"description": "
|
|
2523
|
+
"description": "Reason for revocation",
|
|
1901
2524
|
"name": "reason",
|
|
2525
|
+
"required": true,
|
|
1902
2526
|
"hasDynamicHelp": false,
|
|
1903
2527
|
"multiple": false,
|
|
1904
2528
|
"type": "option"
|
|
2529
|
+
},
|
|
2530
|
+
"dry-run": {
|
|
2531
|
+
"description": "Show what would be sent without calling the API",
|
|
2532
|
+
"name": "dry-run",
|
|
2533
|
+
"allowNo": false,
|
|
2534
|
+
"type": "boolean"
|
|
1905
2535
|
}
|
|
1906
2536
|
},
|
|
1907
2537
|
"hasDynamicHelp": false,
|
|
1908
2538
|
"hiddenAliases": [],
|
|
1909
|
-
"id": "
|
|
2539
|
+
"id": "federation:revoke-gateway",
|
|
1910
2540
|
"pluginAlias": "@agledger/cli",
|
|
1911
2541
|
"pluginName": "@agledger/cli",
|
|
1912
2542
|
"pluginType": "core",
|
|
@@ -1916,23 +2546,114 @@
|
|
|
1916
2546
|
"relativePath": [
|
|
1917
2547
|
"dist",
|
|
1918
2548
|
"commands",
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
2549
|
+
"federation",
|
|
2550
|
+
"revoke-gateway.js"
|
|
1921
2551
|
]
|
|
1922
2552
|
},
|
|
1923
|
-
"
|
|
2553
|
+
"audit:events": {
|
|
2554
|
+
"aliases": [],
|
|
2555
|
+
"args": {},
|
|
2556
|
+
"description": "List audit events",
|
|
2557
|
+
"flags": {
|
|
2558
|
+
"json": {
|
|
2559
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2560
|
+
"name": "json",
|
|
2561
|
+
"allowNo": false,
|
|
2562
|
+
"type": "boolean"
|
|
2563
|
+
},
|
|
2564
|
+
"quiet": {
|
|
2565
|
+
"description": "Suppress output (exit code only)",
|
|
2566
|
+
"name": "quiet",
|
|
2567
|
+
"allowNo": false,
|
|
2568
|
+
"type": "boolean"
|
|
2569
|
+
},
|
|
2570
|
+
"api-key": {
|
|
2571
|
+
"description": "AGLedger API key",
|
|
2572
|
+
"env": "AGLEDGER_API_KEY",
|
|
2573
|
+
"name": "api-key",
|
|
2574
|
+
"hasDynamicHelp": false,
|
|
2575
|
+
"multiple": false,
|
|
2576
|
+
"type": "option"
|
|
2577
|
+
},
|
|
2578
|
+
"api-url": {
|
|
2579
|
+
"description": "AGLedger API base URL",
|
|
2580
|
+
"env": "AGLEDGER_API_URL",
|
|
2581
|
+
"name": "api-url",
|
|
2582
|
+
"hasDynamicHelp": false,
|
|
2583
|
+
"multiple": false,
|
|
2584
|
+
"type": "option"
|
|
2585
|
+
},
|
|
2586
|
+
"since": {
|
|
2587
|
+
"description": "ISO 8601 timestamp — list events after this time",
|
|
2588
|
+
"name": "since",
|
|
2589
|
+
"required": true,
|
|
2590
|
+
"hasDynamicHelp": false,
|
|
2591
|
+
"multiple": false,
|
|
2592
|
+
"type": "option"
|
|
2593
|
+
},
|
|
2594
|
+
"order": {
|
|
2595
|
+
"description": "Sort order",
|
|
2596
|
+
"name": "order",
|
|
2597
|
+
"default": "desc",
|
|
2598
|
+
"hasDynamicHelp": false,
|
|
2599
|
+
"multiple": false,
|
|
2600
|
+
"options": [
|
|
2601
|
+
"asc",
|
|
2602
|
+
"desc"
|
|
2603
|
+
],
|
|
2604
|
+
"type": "option"
|
|
2605
|
+
},
|
|
2606
|
+
"limit": {
|
|
2607
|
+
"description": "Max results per page",
|
|
2608
|
+
"name": "limit",
|
|
2609
|
+
"default": 25,
|
|
2610
|
+
"hasDynamicHelp": false,
|
|
2611
|
+
"multiple": false,
|
|
2612
|
+
"type": "option"
|
|
2613
|
+
},
|
|
2614
|
+
"cursor": {
|
|
2615
|
+
"description": "Pagination cursor",
|
|
2616
|
+
"name": "cursor",
|
|
2617
|
+
"hasDynamicHelp": false,
|
|
2618
|
+
"multiple": false,
|
|
2619
|
+
"type": "option"
|
|
2620
|
+
},
|
|
2621
|
+
"all": {
|
|
2622
|
+
"description": "Stream all pages as NDJSON",
|
|
2623
|
+
"name": "all",
|
|
2624
|
+
"allowNo": false,
|
|
2625
|
+
"type": "boolean"
|
|
2626
|
+
}
|
|
2627
|
+
},
|
|
2628
|
+
"hasDynamicHelp": false,
|
|
2629
|
+
"hiddenAliases": [],
|
|
2630
|
+
"id": "audit:events",
|
|
2631
|
+
"pluginAlias": "@agledger/cli",
|
|
2632
|
+
"pluginName": "@agledger/cli",
|
|
2633
|
+
"pluginType": "core",
|
|
2634
|
+
"strict": true,
|
|
2635
|
+
"enableJsonFlag": false,
|
|
2636
|
+
"isESM": true,
|
|
2637
|
+
"relativePath": [
|
|
2638
|
+
"dist",
|
|
2639
|
+
"commands",
|
|
2640
|
+
"audit",
|
|
2641
|
+
"events.js"
|
|
2642
|
+
]
|
|
2643
|
+
},
|
|
2644
|
+
"audit:trail": {
|
|
1924
2645
|
"aliases": [],
|
|
1925
2646
|
"args": {
|
|
1926
|
-
"
|
|
2647
|
+
"mandateId": {
|
|
1927
2648
|
"description": "Mandate ID",
|
|
1928
|
-
"name": "
|
|
2649
|
+
"name": "mandateId",
|
|
1929
2650
|
"required": true
|
|
1930
2651
|
}
|
|
1931
2652
|
},
|
|
1932
|
-
"description": "
|
|
2653
|
+
"description": "Get the hash-chained audit trail for a mandate",
|
|
1933
2654
|
"flags": {
|
|
1934
2655
|
"json": {
|
|
1935
|
-
"description": "
|
|
2656
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1936
2657
|
"name": "json",
|
|
1937
2658
|
"allowNo": false,
|
|
1938
2659
|
"type": "boolean"
|
|
@@ -1958,18 +2679,11 @@
|
|
|
1958
2679
|
"hasDynamicHelp": false,
|
|
1959
2680
|
"multiple": false,
|
|
1960
2681
|
"type": "option"
|
|
1961
|
-
},
|
|
1962
|
-
"reason": {
|
|
1963
|
-
"description": "Reason for requesting revision",
|
|
1964
|
-
"name": "reason",
|
|
1965
|
-
"hasDynamicHelp": false,
|
|
1966
|
-
"multiple": false,
|
|
1967
|
-
"type": "option"
|
|
1968
2682
|
}
|
|
1969
2683
|
},
|
|
1970
2684
|
"hasDynamicHelp": false,
|
|
1971
2685
|
"hiddenAliases": [],
|
|
1972
|
-
"id": "
|
|
2686
|
+
"id": "audit:trail",
|
|
1973
2687
|
"pluginAlias": "@agledger/cli",
|
|
1974
2688
|
"pluginName": "@agledger/cli",
|
|
1975
2689
|
"pluginType": "core",
|
|
@@ -1979,28 +2693,32 @@
|
|
|
1979
2693
|
"relativePath": [
|
|
1980
2694
|
"dist",
|
|
1981
2695
|
"commands",
|
|
1982
|
-
"
|
|
1983
|
-
"
|
|
2696
|
+
"audit",
|
|
2697
|
+
"trail.js"
|
|
1984
2698
|
]
|
|
1985
2699
|
},
|
|
1986
|
-
"
|
|
2700
|
+
"verdict:render": {
|
|
1987
2701
|
"aliases": [],
|
|
1988
2702
|
"args": {
|
|
1989
|
-
"
|
|
2703
|
+
"mandateId": {
|
|
1990
2704
|
"description": "Mandate ID",
|
|
1991
|
-
"name": "
|
|
2705
|
+
"name": "mandateId",
|
|
1992
2706
|
"required": true
|
|
1993
2707
|
},
|
|
1994
|
-
"
|
|
1995
|
-
"description": "
|
|
1996
|
-
"name": "
|
|
2708
|
+
"verdict": {
|
|
2709
|
+
"description": "PASS to accept, FAIL to reject",
|
|
2710
|
+
"name": "verdict",
|
|
2711
|
+
"options": [
|
|
2712
|
+
"PASS",
|
|
2713
|
+
"FAIL"
|
|
2714
|
+
],
|
|
1997
2715
|
"required": true
|
|
1998
2716
|
}
|
|
1999
2717
|
},
|
|
2000
|
-
"description": "
|
|
2718
|
+
"description": "Render a verdict on a notarized agreement (accept or reject delivery)",
|
|
2001
2719
|
"flags": {
|
|
2002
2720
|
"json": {
|
|
2003
|
-
"description": "
|
|
2721
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2004
2722
|
"name": "json",
|
|
2005
2723
|
"allowNo": false,
|
|
2006
2724
|
"type": "boolean"
|
|
@@ -2028,16 +2746,22 @@
|
|
|
2028
2746
|
"type": "option"
|
|
2029
2747
|
},
|
|
2030
2748
|
"reason": {
|
|
2031
|
-
"description": "
|
|
2749
|
+
"description": "Reason for the verdict",
|
|
2032
2750
|
"name": "reason",
|
|
2033
2751
|
"hasDynamicHelp": false,
|
|
2034
2752
|
"multiple": false,
|
|
2035
2753
|
"type": "option"
|
|
2754
|
+
},
|
|
2755
|
+
"dry-run": {
|
|
2756
|
+
"description": "Show what would be sent without hitting the API",
|
|
2757
|
+
"name": "dry-run",
|
|
2758
|
+
"allowNo": false,
|
|
2759
|
+
"type": "boolean"
|
|
2036
2760
|
}
|
|
2037
2761
|
},
|
|
2038
2762
|
"hasDynamicHelp": false,
|
|
2039
2763
|
"hiddenAliases": [],
|
|
2040
|
-
"id": "
|
|
2764
|
+
"id": "verdict:render",
|
|
2041
2765
|
"pluginAlias": "@agledger/cli",
|
|
2042
2766
|
"pluginName": "@agledger/cli",
|
|
2043
2767
|
"pluginType": "core",
|
|
@@ -2047,8 +2771,8 @@
|
|
|
2047
2771
|
"relativePath": [
|
|
2048
2772
|
"dist",
|
|
2049
2773
|
"commands",
|
|
2050
|
-
"
|
|
2051
|
-
"
|
|
2774
|
+
"verdict",
|
|
2775
|
+
"render.js"
|
|
2052
2776
|
]
|
|
2053
2777
|
},
|
|
2054
2778
|
"schema:blank-template": {
|
|
@@ -2057,7 +2781,7 @@
|
|
|
2057
2781
|
"description": "Get a blank template for creating a custom contract type from scratch",
|
|
2058
2782
|
"flags": {
|
|
2059
2783
|
"json": {
|
|
2060
|
-
"description": "
|
|
2784
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2061
2785
|
"name": "json",
|
|
2062
2786
|
"allowNo": false,
|
|
2063
2787
|
"type": "boolean"
|
|
@@ -2121,7 +2845,7 @@
|
|
|
2121
2845
|
"description": "Check backward/forward compatibility of schema changes",
|
|
2122
2846
|
"flags": {
|
|
2123
2847
|
"json": {
|
|
2124
|
-
"description": "
|
|
2848
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2125
2849
|
"name": "json",
|
|
2126
2850
|
"allowNo": false,
|
|
2127
2851
|
"type": "boolean"
|
|
@@ -2193,7 +2917,7 @@
|
|
|
2193
2917
|
"description": "Deprecate a schema version",
|
|
2194
2918
|
"flags": {
|
|
2195
2919
|
"json": {
|
|
2196
|
-
"description": "
|
|
2920
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2197
2921
|
"name": "json",
|
|
2198
2922
|
"allowNo": false,
|
|
2199
2923
|
"type": "boolean"
|
|
@@ -2263,7 +2987,7 @@
|
|
|
2263
2987
|
"description": "Diff two versions of a contract type schema",
|
|
2264
2988
|
"flags": {
|
|
2265
2989
|
"json": {
|
|
2266
|
-
"description": "
|
|
2990
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2267
2991
|
"name": "json",
|
|
2268
2992
|
"allowNo": false,
|
|
2269
2993
|
"type": "boolean"
|
|
@@ -2335,7 +3059,7 @@
|
|
|
2335
3059
|
"description": "Export a contract type schema bundle to a file",
|
|
2336
3060
|
"flags": {
|
|
2337
3061
|
"json": {
|
|
2338
|
-
"description": "
|
|
3062
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2339
3063
|
"name": "json",
|
|
2340
3064
|
"allowNo": false,
|
|
2341
3065
|
"type": "boolean"
|
|
@@ -2407,7 +3131,7 @@
|
|
|
2407
3131
|
"description": "Get a specific version of a contract type schema",
|
|
2408
3132
|
"flags": {
|
|
2409
3133
|
"json": {
|
|
2410
|
-
"description": "
|
|
3134
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2411
3135
|
"name": "json",
|
|
2412
3136
|
"allowNo": false,
|
|
2413
3137
|
"type": "boolean"
|
|
@@ -2471,7 +3195,7 @@
|
|
|
2471
3195
|
"description": "Get the full JSON Schema for a contract type",
|
|
2472
3196
|
"flags": {
|
|
2473
3197
|
"json": {
|
|
2474
|
-
"description": "
|
|
3198
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2475
3199
|
"name": "json",
|
|
2476
3200
|
"allowNo": false,
|
|
2477
3201
|
"type": "boolean"
|
|
@@ -2515,245 +3239,19 @@
|
|
|
2515
3239
|
"get.js"
|
|
2516
3240
|
]
|
|
2517
3241
|
},
|
|
2518
|
-
"schema:import": {
|
|
2519
|
-
"aliases": [],
|
|
2520
|
-
"args": {
|
|
2521
|
-
"file": {
|
|
2522
|
-
"description": "Path to schema export JSON file",
|
|
2523
|
-
"name": "file",
|
|
2524
|
-
"required": true
|
|
2525
|
-
}
|
|
2526
|
-
},
|
|
2527
|
-
"description": "Import a schema bundle from a file",
|
|
2528
|
-
"flags": {
|
|
2529
|
-
"json": {
|
|
2530
|
-
"description": "Output as JSON",
|
|
2531
|
-
"name": "json",
|
|
2532
|
-
"allowNo": false,
|
|
2533
|
-
"type": "boolean"
|
|
2534
|
-
},
|
|
2535
|
-
"quiet": {
|
|
2536
|
-
"description": "Suppress output (exit code only)",
|
|
2537
|
-
"name": "quiet",
|
|
2538
|
-
"allowNo": false,
|
|
2539
|
-
"type": "boolean"
|
|
2540
|
-
},
|
|
2541
|
-
"api-key": {
|
|
2542
|
-
"description": "AGLedger API key",
|
|
2543
|
-
"env": "AGLEDGER_API_KEY",
|
|
2544
|
-
"name": "api-key",
|
|
2545
|
-
"hasDynamicHelp": false,
|
|
2546
|
-
"multiple": false,
|
|
2547
|
-
"type": "option"
|
|
2548
|
-
},
|
|
2549
|
-
"api-url": {
|
|
2550
|
-
"description": "AGLedger API base URL",
|
|
2551
|
-
"env": "AGLEDGER_API_URL",
|
|
2552
|
-
"name": "api-url",
|
|
2553
|
-
"hasDynamicHelp": false,
|
|
2554
|
-
"multiple": false,
|
|
2555
|
-
"type": "option"
|
|
2556
|
-
},
|
|
2557
|
-
"dry-run": {
|
|
2558
|
-
"description": "Preview what would be imported without persisting",
|
|
2559
|
-
"name": "dry-run",
|
|
2560
|
-
"allowNo": false,
|
|
2561
|
-
"type": "boolean"
|
|
2562
|
-
}
|
|
2563
|
-
},
|
|
2564
|
-
"hasDynamicHelp": false,
|
|
2565
|
-
"hiddenAliases": [],
|
|
2566
|
-
"id": "schema:import",
|
|
2567
|
-
"pluginAlias": "@agledger/cli",
|
|
2568
|
-
"pluginName": "@agledger/cli",
|
|
2569
|
-
"pluginType": "core",
|
|
2570
|
-
"strict": true,
|
|
2571
|
-
"enableJsonFlag": false,
|
|
2572
|
-
"isESM": true,
|
|
2573
|
-
"relativePath": [
|
|
2574
|
-
"dist",
|
|
2575
|
-
"commands",
|
|
2576
|
-
"schema",
|
|
2577
|
-
"import.js"
|
|
2578
|
-
]
|
|
2579
|
-
},
|
|
2580
|
-
"schema:list": {
|
|
2581
|
-
"aliases": [],
|
|
2582
|
-
"args": {},
|
|
2583
|
-
"description": "List available contract type schemas",
|
|
2584
|
-
"flags": {
|
|
2585
|
-
"json": {
|
|
2586
|
-
"description": "Output as JSON",
|
|
2587
|
-
"name": "json",
|
|
2588
|
-
"allowNo": false,
|
|
2589
|
-
"type": "boolean"
|
|
2590
|
-
},
|
|
2591
|
-
"quiet": {
|
|
2592
|
-
"description": "Suppress output (exit code only)",
|
|
2593
|
-
"name": "quiet",
|
|
2594
|
-
"allowNo": false,
|
|
2595
|
-
"type": "boolean"
|
|
2596
|
-
},
|
|
2597
|
-
"api-key": {
|
|
2598
|
-
"description": "AGLedger API key",
|
|
2599
|
-
"env": "AGLEDGER_API_KEY",
|
|
2600
|
-
"name": "api-key",
|
|
2601
|
-
"hasDynamicHelp": false,
|
|
2602
|
-
"multiple": false,
|
|
2603
|
-
"type": "option"
|
|
2604
|
-
},
|
|
2605
|
-
"api-url": {
|
|
2606
|
-
"description": "AGLedger API base URL",
|
|
2607
|
-
"env": "AGLEDGER_API_URL",
|
|
2608
|
-
"name": "api-url",
|
|
2609
|
-
"hasDynamicHelp": false,
|
|
2610
|
-
"multiple": false,
|
|
2611
|
-
"type": "option"
|
|
2612
|
-
}
|
|
2613
|
-
},
|
|
2614
|
-
"hasDynamicHelp": false,
|
|
2615
|
-
"hiddenAliases": [],
|
|
2616
|
-
"id": "schema:list",
|
|
2617
|
-
"pluginAlias": "@agledger/cli",
|
|
2618
|
-
"pluginName": "@agledger/cli",
|
|
2619
|
-
"pluginType": "core",
|
|
2620
|
-
"strict": true,
|
|
2621
|
-
"enableJsonFlag": false,
|
|
2622
|
-
"isESM": true,
|
|
2623
|
-
"relativePath": [
|
|
2624
|
-
"dist",
|
|
2625
|
-
"commands",
|
|
2626
|
-
"schema",
|
|
2627
|
-
"list.js"
|
|
2628
|
-
]
|
|
2629
|
-
},
|
|
2630
|
-
"schema:meta-schema": {
|
|
2631
|
-
"aliases": [],
|
|
2632
|
-
"args": {},
|
|
2633
|
-
"description": "Get the meta-schema for custom schema authoring",
|
|
2634
|
-
"flags": {
|
|
2635
|
-
"json": {
|
|
2636
|
-
"description": "Output as JSON",
|
|
2637
|
-
"name": "json",
|
|
2638
|
-
"allowNo": false,
|
|
2639
|
-
"type": "boolean"
|
|
2640
|
-
},
|
|
2641
|
-
"quiet": {
|
|
2642
|
-
"description": "Suppress output (exit code only)",
|
|
2643
|
-
"name": "quiet",
|
|
2644
|
-
"allowNo": false,
|
|
2645
|
-
"type": "boolean"
|
|
2646
|
-
},
|
|
2647
|
-
"api-key": {
|
|
2648
|
-
"description": "AGLedger API key",
|
|
2649
|
-
"env": "AGLEDGER_API_KEY",
|
|
2650
|
-
"name": "api-key",
|
|
2651
|
-
"hasDynamicHelp": false,
|
|
2652
|
-
"multiple": false,
|
|
2653
|
-
"type": "option"
|
|
2654
|
-
},
|
|
2655
|
-
"api-url": {
|
|
2656
|
-
"description": "AGLedger API base URL",
|
|
2657
|
-
"env": "AGLEDGER_API_URL",
|
|
2658
|
-
"name": "api-url",
|
|
2659
|
-
"hasDynamicHelp": false,
|
|
2660
|
-
"multiple": false,
|
|
2661
|
-
"type": "option"
|
|
2662
|
-
},
|
|
2663
|
-
"output": {
|
|
2664
|
-
"char": "o",
|
|
2665
|
-
"description": "Write meta-schema to file (e.g., for VS Code json.schemas)",
|
|
2666
|
-
"name": "output",
|
|
2667
|
-
"hasDynamicHelp": false,
|
|
2668
|
-
"multiple": false,
|
|
2669
|
-
"type": "option"
|
|
2670
|
-
}
|
|
2671
|
-
},
|
|
2672
|
-
"hasDynamicHelp": false,
|
|
2673
|
-
"hiddenAliases": [],
|
|
2674
|
-
"id": "schema:meta-schema",
|
|
2675
|
-
"pluginAlias": "@agledger/cli",
|
|
2676
|
-
"pluginName": "@agledger/cli",
|
|
2677
|
-
"pluginType": "core",
|
|
2678
|
-
"strict": true,
|
|
2679
|
-
"enableJsonFlag": false,
|
|
2680
|
-
"isESM": true,
|
|
2681
|
-
"relativePath": [
|
|
2682
|
-
"dist",
|
|
2683
|
-
"commands",
|
|
2684
|
-
"schema",
|
|
2685
|
-
"meta-schema.js"
|
|
2686
|
-
]
|
|
2687
|
-
},
|
|
2688
|
-
"schema:preview": {
|
|
2689
|
-
"aliases": [],
|
|
2690
|
-
"args": {
|
|
2691
|
-
"file": {
|
|
2692
|
-
"description": "Path to schema definition JSON file",
|
|
2693
|
-
"name": "file",
|
|
2694
|
-
"required": true
|
|
2695
|
-
}
|
|
2696
|
-
},
|
|
2697
|
-
"description": "Preview a schema before registration",
|
|
2698
|
-
"flags": {
|
|
2699
|
-
"json": {
|
|
2700
|
-
"description": "Output as JSON",
|
|
2701
|
-
"name": "json",
|
|
2702
|
-
"allowNo": false,
|
|
2703
|
-
"type": "boolean"
|
|
2704
|
-
},
|
|
2705
|
-
"quiet": {
|
|
2706
|
-
"description": "Suppress output (exit code only)",
|
|
2707
|
-
"name": "quiet",
|
|
2708
|
-
"allowNo": false,
|
|
2709
|
-
"type": "boolean"
|
|
2710
|
-
},
|
|
2711
|
-
"api-key": {
|
|
2712
|
-
"description": "AGLedger API key",
|
|
2713
|
-
"env": "AGLEDGER_API_KEY",
|
|
2714
|
-
"name": "api-key",
|
|
2715
|
-
"hasDynamicHelp": false,
|
|
2716
|
-
"multiple": false,
|
|
2717
|
-
"type": "option"
|
|
2718
|
-
},
|
|
2719
|
-
"api-url": {
|
|
2720
|
-
"description": "AGLedger API base URL",
|
|
2721
|
-
"env": "AGLEDGER_API_URL",
|
|
2722
|
-
"name": "api-url",
|
|
2723
|
-
"hasDynamicHelp": false,
|
|
2724
|
-
"multiple": false,
|
|
2725
|
-
"type": "option"
|
|
2726
|
-
}
|
|
2727
|
-
},
|
|
2728
|
-
"hasDynamicHelp": false,
|
|
2729
|
-
"hiddenAliases": [],
|
|
2730
|
-
"id": "schema:preview",
|
|
2731
|
-
"pluginAlias": "@agledger/cli",
|
|
2732
|
-
"pluginName": "@agledger/cli",
|
|
2733
|
-
"pluginType": "core",
|
|
2734
|
-
"strict": true,
|
|
2735
|
-
"enableJsonFlag": false,
|
|
2736
|
-
"isESM": true,
|
|
2737
|
-
"relativePath": [
|
|
2738
|
-
"dist",
|
|
2739
|
-
"commands",
|
|
2740
|
-
"schema",
|
|
2741
|
-
"preview.js"
|
|
2742
|
-
]
|
|
2743
|
-
},
|
|
2744
|
-
"schema:register": {
|
|
3242
|
+
"schema:import": {
|
|
2745
3243
|
"aliases": [],
|
|
2746
3244
|
"args": {
|
|
2747
3245
|
"file": {
|
|
2748
|
-
"description": "Path to schema
|
|
3246
|
+
"description": "Path to schema export JSON file",
|
|
2749
3247
|
"name": "file",
|
|
2750
3248
|
"required": true
|
|
2751
3249
|
}
|
|
2752
3250
|
},
|
|
2753
|
-
"description": "
|
|
3251
|
+
"description": "Import a schema bundle from a file",
|
|
2754
3252
|
"flags": {
|
|
2755
3253
|
"json": {
|
|
2756
|
-
"description": "
|
|
3254
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2757
3255
|
"name": "json",
|
|
2758
3256
|
"allowNo": false,
|
|
2759
3257
|
"type": "boolean"
|
|
@@ -2781,7 +3279,7 @@
|
|
|
2781
3279
|
"type": "option"
|
|
2782
3280
|
},
|
|
2783
3281
|
"dry-run": {
|
|
2784
|
-
"description": "
|
|
3282
|
+
"description": "Preview what would be imported without persisting (server-side dry-run)",
|
|
2785
3283
|
"name": "dry-run",
|
|
2786
3284
|
"allowNo": false,
|
|
2787
3285
|
"type": "boolean"
|
|
@@ -2789,7 +3287,7 @@
|
|
|
2789
3287
|
},
|
|
2790
3288
|
"hasDynamicHelp": false,
|
|
2791
3289
|
"hiddenAliases": [],
|
|
2792
|
-
"id": "schema:
|
|
3290
|
+
"id": "schema:import",
|
|
2793
3291
|
"pluginAlias": "@agledger/cli",
|
|
2794
3292
|
"pluginName": "@agledger/cli",
|
|
2795
3293
|
"pluginType": "core",
|
|
@@ -2800,22 +3298,16 @@
|
|
|
2800
3298
|
"dist",
|
|
2801
3299
|
"commands",
|
|
2802
3300
|
"schema",
|
|
2803
|
-
"
|
|
3301
|
+
"import.js"
|
|
2804
3302
|
]
|
|
2805
3303
|
},
|
|
2806
|
-
"schema:
|
|
3304
|
+
"schema:list": {
|
|
2807
3305
|
"aliases": [],
|
|
2808
|
-
"args": {
|
|
2809
|
-
|
|
2810
|
-
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
2811
|
-
"name": "type",
|
|
2812
|
-
"required": true
|
|
2813
|
-
}
|
|
2814
|
-
},
|
|
2815
|
-
"description": "Get verification rules for a contract type",
|
|
3306
|
+
"args": {},
|
|
3307
|
+
"description": "List available contract type schemas",
|
|
2816
3308
|
"flags": {
|
|
2817
3309
|
"json": {
|
|
2818
|
-
"description": "
|
|
3310
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2819
3311
|
"name": "json",
|
|
2820
3312
|
"allowNo": false,
|
|
2821
3313
|
"type": "boolean"
|
|
@@ -2841,11 +3333,32 @@
|
|
|
2841
3333
|
"hasDynamicHelp": false,
|
|
2842
3334
|
"multiple": false,
|
|
2843
3335
|
"type": "option"
|
|
3336
|
+
},
|
|
3337
|
+
"limit": {
|
|
3338
|
+
"description": "Max results per page",
|
|
3339
|
+
"name": "limit",
|
|
3340
|
+
"default": 50,
|
|
3341
|
+
"hasDynamicHelp": false,
|
|
3342
|
+
"multiple": false,
|
|
3343
|
+
"type": "option"
|
|
3344
|
+
},
|
|
3345
|
+
"cursor": {
|
|
3346
|
+
"description": "Pagination cursor",
|
|
3347
|
+
"name": "cursor",
|
|
3348
|
+
"hasDynamicHelp": false,
|
|
3349
|
+
"multiple": false,
|
|
3350
|
+
"type": "option"
|
|
3351
|
+
},
|
|
3352
|
+
"all": {
|
|
3353
|
+
"description": "Stream all pages as NDJSON",
|
|
3354
|
+
"name": "all",
|
|
3355
|
+
"allowNo": false,
|
|
3356
|
+
"type": "boolean"
|
|
2844
3357
|
}
|
|
2845
3358
|
},
|
|
2846
3359
|
"hasDynamicHelp": false,
|
|
2847
3360
|
"hiddenAliases": [],
|
|
2848
|
-
"id": "schema:
|
|
3361
|
+
"id": "schema:list",
|
|
2849
3362
|
"pluginAlias": "@agledger/cli",
|
|
2850
3363
|
"pluginName": "@agledger/cli",
|
|
2851
3364
|
"pluginType": "core",
|
|
@@ -2856,22 +3369,16 @@
|
|
|
2856
3369
|
"dist",
|
|
2857
3370
|
"commands",
|
|
2858
3371
|
"schema",
|
|
2859
|
-
"
|
|
3372
|
+
"list.js"
|
|
2860
3373
|
]
|
|
2861
3374
|
},
|
|
2862
|
-
"schema:
|
|
3375
|
+
"schema:meta-schema": {
|
|
2863
3376
|
"aliases": [],
|
|
2864
|
-
"args": {
|
|
2865
|
-
|
|
2866
|
-
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
2867
|
-
"name": "type",
|
|
2868
|
-
"required": true
|
|
2869
|
-
}
|
|
2870
|
-
},
|
|
2871
|
-
"description": "Get a starter template from an existing contract type",
|
|
3377
|
+
"args": {},
|
|
3378
|
+
"description": "Get the meta-schema for custom schema authoring",
|
|
2872
3379
|
"flags": {
|
|
2873
3380
|
"json": {
|
|
2874
|
-
"description": "
|
|
3381
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2875
3382
|
"name": "json",
|
|
2876
3383
|
"allowNo": false,
|
|
2877
3384
|
"type": "boolean"
|
|
@@ -2900,7 +3407,7 @@
|
|
|
2900
3407
|
},
|
|
2901
3408
|
"output": {
|
|
2902
3409
|
"char": "o",
|
|
2903
|
-
"description": "Write
|
|
3410
|
+
"description": "Write meta-schema to file (e.g., for VS Code json.schemas)",
|
|
2904
3411
|
"name": "output",
|
|
2905
3412
|
"hasDynamicHelp": false,
|
|
2906
3413
|
"multiple": false,
|
|
@@ -2909,7 +3416,7 @@
|
|
|
2909
3416
|
},
|
|
2910
3417
|
"hasDynamicHelp": false,
|
|
2911
3418
|
"hiddenAliases": [],
|
|
2912
|
-
"id": "schema:
|
|
3419
|
+
"id": "schema:meta-schema",
|
|
2913
3420
|
"pluginAlias": "@agledger/cli",
|
|
2914
3421
|
"pluginName": "@agledger/cli",
|
|
2915
3422
|
"pluginType": "core",
|
|
@@ -2920,27 +3427,22 @@
|
|
|
2920
3427
|
"dist",
|
|
2921
3428
|
"commands",
|
|
2922
3429
|
"schema",
|
|
2923
|
-
"
|
|
3430
|
+
"meta-schema.js"
|
|
2924
3431
|
]
|
|
2925
3432
|
},
|
|
2926
|
-
"schema:
|
|
3433
|
+
"schema:preview": {
|
|
2927
3434
|
"aliases": [],
|
|
2928
3435
|
"args": {
|
|
2929
|
-
"type": {
|
|
2930
|
-
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
2931
|
-
"name": "type",
|
|
2932
|
-
"required": true
|
|
2933
|
-
},
|
|
2934
3436
|
"file": {
|
|
2935
|
-
"description": "Path to
|
|
3437
|
+
"description": "Path to schema definition JSON file",
|
|
2936
3438
|
"name": "file",
|
|
2937
3439
|
"required": true
|
|
2938
3440
|
}
|
|
2939
3441
|
},
|
|
2940
|
-
"description": "
|
|
3442
|
+
"description": "Preview a schema before registration",
|
|
2941
3443
|
"flags": {
|
|
2942
3444
|
"json": {
|
|
2943
|
-
"description": "
|
|
3445
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2944
3446
|
"name": "json",
|
|
2945
3447
|
"allowNo": false,
|
|
2946
3448
|
"type": "boolean"
|
|
@@ -2970,7 +3472,7 @@
|
|
|
2970
3472
|
},
|
|
2971
3473
|
"hasDynamicHelp": false,
|
|
2972
3474
|
"hiddenAliases": [],
|
|
2973
|
-
"id": "schema:
|
|
3475
|
+
"id": "schema:preview",
|
|
2974
3476
|
"pluginAlias": "@agledger/cli",
|
|
2975
3477
|
"pluginName": "@agledger/cli",
|
|
2976
3478
|
"pluginType": "core",
|
|
@@ -2981,22 +3483,22 @@
|
|
|
2981
3483
|
"dist",
|
|
2982
3484
|
"commands",
|
|
2983
3485
|
"schema",
|
|
2984
|
-
"
|
|
3486
|
+
"preview.js"
|
|
2985
3487
|
]
|
|
2986
3488
|
},
|
|
2987
|
-
"schema:
|
|
3489
|
+
"schema:register": {
|
|
2988
3490
|
"aliases": [],
|
|
2989
3491
|
"args": {
|
|
2990
|
-
"
|
|
2991
|
-
"description": "
|
|
2992
|
-
"name": "
|
|
3492
|
+
"file": {
|
|
3493
|
+
"description": "Path to schema definition JSON file",
|
|
3494
|
+
"name": "file",
|
|
2993
3495
|
"required": true
|
|
2994
3496
|
}
|
|
2995
3497
|
},
|
|
2996
|
-
"description": "
|
|
3498
|
+
"description": "Register a new custom contract type schema",
|
|
2997
3499
|
"flags": {
|
|
2998
3500
|
"json": {
|
|
2999
|
-
"description": "
|
|
3501
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3000
3502
|
"name": "json",
|
|
3001
3503
|
"allowNo": false,
|
|
3002
3504
|
"type": "boolean"
|
|
@@ -3022,11 +3524,17 @@
|
|
|
3022
3524
|
"hasDynamicHelp": false,
|
|
3023
3525
|
"multiple": false,
|
|
3024
3526
|
"type": "option"
|
|
3527
|
+
},
|
|
3528
|
+
"dry-run": {
|
|
3529
|
+
"description": "Show what would be sent without hitting the API",
|
|
3530
|
+
"name": "dry-run",
|
|
3531
|
+
"allowNo": false,
|
|
3532
|
+
"type": "boolean"
|
|
3025
3533
|
}
|
|
3026
3534
|
},
|
|
3027
3535
|
"hasDynamicHelp": false,
|
|
3028
3536
|
"hiddenAliases": [],
|
|
3029
|
-
"id": "schema:
|
|
3537
|
+
"id": "schema:register",
|
|
3030
3538
|
"pluginAlias": "@agledger/cli",
|
|
3031
3539
|
"pluginName": "@agledger/cli",
|
|
3032
3540
|
"pluginType": "core",
|
|
@@ -3037,27 +3545,22 @@
|
|
|
3037
3545
|
"dist",
|
|
3038
3546
|
"commands",
|
|
3039
3547
|
"schema",
|
|
3040
|
-
"
|
|
3548
|
+
"register.js"
|
|
3041
3549
|
]
|
|
3042
3550
|
},
|
|
3043
|
-
"
|
|
3551
|
+
"schema:rules": {
|
|
3044
3552
|
"aliases": [],
|
|
3045
3553
|
"args": {
|
|
3046
|
-
"
|
|
3047
|
-
"description": "
|
|
3048
|
-
"name": "
|
|
3049
|
-
"required": true
|
|
3050
|
-
},
|
|
3051
|
-
"receiptId": {
|
|
3052
|
-
"description": "Receipt ID",
|
|
3053
|
-
"name": "receiptId",
|
|
3554
|
+
"type": {
|
|
3555
|
+
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
3556
|
+
"name": "type",
|
|
3054
3557
|
"required": true
|
|
3055
3558
|
}
|
|
3056
3559
|
},
|
|
3057
|
-
"description": "Get
|
|
3560
|
+
"description": "Get verification rules for a contract type",
|
|
3058
3561
|
"flags": {
|
|
3059
3562
|
"json": {
|
|
3060
|
-
"description": "
|
|
3563
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3061
3564
|
"name": "json",
|
|
3062
3565
|
"allowNo": false,
|
|
3063
3566
|
"type": "boolean"
|
|
@@ -3087,7 +3590,7 @@
|
|
|
3087
3590
|
},
|
|
3088
3591
|
"hasDynamicHelp": false,
|
|
3089
3592
|
"hiddenAliases": [],
|
|
3090
|
-
"id": "
|
|
3593
|
+
"id": "schema:rules",
|
|
3091
3594
|
"pluginAlias": "@agledger/cli",
|
|
3092
3595
|
"pluginName": "@agledger/cli",
|
|
3093
3596
|
"pluginType": "core",
|
|
@@ -3097,23 +3600,23 @@
|
|
|
3097
3600
|
"relativePath": [
|
|
3098
3601
|
"dist",
|
|
3099
3602
|
"commands",
|
|
3100
|
-
"
|
|
3101
|
-
"
|
|
3603
|
+
"schema",
|
|
3604
|
+
"rules.js"
|
|
3102
3605
|
]
|
|
3103
3606
|
},
|
|
3104
|
-
"
|
|
3607
|
+
"schema:template": {
|
|
3105
3608
|
"aliases": [],
|
|
3106
3609
|
"args": {
|
|
3107
|
-
"
|
|
3108
|
-
"description": "
|
|
3109
|
-
"name": "
|
|
3610
|
+
"type": {
|
|
3611
|
+
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
3612
|
+
"name": "type",
|
|
3110
3613
|
"required": true
|
|
3111
3614
|
}
|
|
3112
3615
|
},
|
|
3113
|
-
"description": "
|
|
3616
|
+
"description": "Get a starter template from an existing contract type",
|
|
3114
3617
|
"flags": {
|
|
3115
3618
|
"json": {
|
|
3116
|
-
"description": "
|
|
3619
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3117
3620
|
"name": "json",
|
|
3118
3621
|
"allowNo": false,
|
|
3119
3622
|
"type": "boolean"
|
|
@@ -3140,16 +3643,18 @@
|
|
|
3140
3643
|
"multiple": false,
|
|
3141
3644
|
"type": "option"
|
|
3142
3645
|
},
|
|
3143
|
-
"
|
|
3144
|
-
"
|
|
3145
|
-
"
|
|
3146
|
-
"
|
|
3147
|
-
"
|
|
3646
|
+
"output": {
|
|
3647
|
+
"char": "o",
|
|
3648
|
+
"description": "Write template to file",
|
|
3649
|
+
"name": "output",
|
|
3650
|
+
"hasDynamicHelp": false,
|
|
3651
|
+
"multiple": false,
|
|
3652
|
+
"type": "option"
|
|
3148
3653
|
}
|
|
3149
3654
|
},
|
|
3150
3655
|
"hasDynamicHelp": false,
|
|
3151
3656
|
"hiddenAliases": [],
|
|
3152
|
-
"id": "
|
|
3657
|
+
"id": "schema:template",
|
|
3153
3658
|
"pluginAlias": "@agledger/cli",
|
|
3154
3659
|
"pluginName": "@agledger/cli",
|
|
3155
3660
|
"pluginType": "core",
|
|
@@ -3159,23 +3664,28 @@
|
|
|
3159
3664
|
"relativePath": [
|
|
3160
3665
|
"dist",
|
|
3161
3666
|
"commands",
|
|
3162
|
-
"
|
|
3163
|
-
"
|
|
3667
|
+
"schema",
|
|
3668
|
+
"template.js"
|
|
3164
3669
|
]
|
|
3165
3670
|
},
|
|
3166
|
-
"
|
|
3671
|
+
"schema:validate": {
|
|
3167
3672
|
"aliases": [],
|
|
3168
3673
|
"args": {
|
|
3169
|
-
"
|
|
3170
|
-
"description": "
|
|
3171
|
-
"name": "
|
|
3674
|
+
"type": {
|
|
3675
|
+
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
3676
|
+
"name": "type",
|
|
3677
|
+
"required": true
|
|
3678
|
+
},
|
|
3679
|
+
"file": {
|
|
3680
|
+
"description": "Path to receipt evidence JSON file",
|
|
3681
|
+
"name": "file",
|
|
3172
3682
|
"required": true
|
|
3173
3683
|
}
|
|
3174
3684
|
},
|
|
3175
|
-
"description": "
|
|
3685
|
+
"description": "Validate receipt evidence against a contract type schema",
|
|
3176
3686
|
"flags": {
|
|
3177
3687
|
"json": {
|
|
3178
|
-
"description": "
|
|
3688
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3179
3689
|
"name": "json",
|
|
3180
3690
|
"allowNo": false,
|
|
3181
3691
|
"type": "boolean"
|
|
@@ -3201,31 +3711,11 @@
|
|
|
3201
3711
|
"hasDynamicHelp": false,
|
|
3202
3712
|
"multiple": false,
|
|
3203
3713
|
"type": "option"
|
|
3204
|
-
},
|
|
3205
|
-
"data": {
|
|
3206
|
-
"description": "Evidence as JSON string",
|
|
3207
|
-
"name": "data",
|
|
3208
|
-
"hasDynamicHelp": false,
|
|
3209
|
-
"multiple": false,
|
|
3210
|
-
"type": "option"
|
|
3211
|
-
},
|
|
3212
|
-
"file": {
|
|
3213
|
-
"description": "Read evidence from JSON file",
|
|
3214
|
-
"name": "file",
|
|
3215
|
-
"hasDynamicHelp": false,
|
|
3216
|
-
"multiple": false,
|
|
3217
|
-
"type": "option"
|
|
3218
|
-
},
|
|
3219
|
-
"dry-run": {
|
|
3220
|
-
"description": "Show what would be sent without hitting the API",
|
|
3221
|
-
"name": "dry-run",
|
|
3222
|
-
"allowNo": false,
|
|
3223
|
-
"type": "boolean"
|
|
3224
3714
|
}
|
|
3225
3715
|
},
|
|
3226
3716
|
"hasDynamicHelp": false,
|
|
3227
3717
|
"hiddenAliases": [],
|
|
3228
|
-
"id": "
|
|
3718
|
+
"id": "schema:validate",
|
|
3229
3719
|
"pluginAlias": "@agledger/cli",
|
|
3230
3720
|
"pluginName": "@agledger/cli",
|
|
3231
3721
|
"pluginType": "core",
|
|
@@ -3235,32 +3725,23 @@
|
|
|
3235
3725
|
"relativePath": [
|
|
3236
3726
|
"dist",
|
|
3237
3727
|
"commands",
|
|
3238
|
-
"
|
|
3239
|
-
"
|
|
3728
|
+
"schema",
|
|
3729
|
+
"validate.js"
|
|
3240
3730
|
]
|
|
3241
3731
|
},
|
|
3242
|
-
"
|
|
3732
|
+
"schema:versions": {
|
|
3243
3733
|
"aliases": [],
|
|
3244
3734
|
"args": {
|
|
3245
|
-
"
|
|
3246
|
-
"description": "
|
|
3247
|
-
"name": "
|
|
3248
|
-
"required": true
|
|
3249
|
-
},
|
|
3250
|
-
"verdict": {
|
|
3251
|
-
"description": "PASS to accept, FAIL to reject",
|
|
3252
|
-
"name": "verdict",
|
|
3253
|
-
"options": [
|
|
3254
|
-
"PASS",
|
|
3255
|
-
"FAIL"
|
|
3256
|
-
],
|
|
3735
|
+
"type": {
|
|
3736
|
+
"description": "Contract type (e.g., ACH-PROC-v1)",
|
|
3737
|
+
"name": "type",
|
|
3257
3738
|
"required": true
|
|
3258
3739
|
}
|
|
3259
3740
|
},
|
|
3260
|
-
"description": "
|
|
3741
|
+
"description": "List all versions of a contract type schema",
|
|
3261
3742
|
"flags": {
|
|
3262
3743
|
"json": {
|
|
3263
|
-
"description": "
|
|
3744
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3264
3745
|
"name": "json",
|
|
3265
3746
|
"allowNo": false,
|
|
3266
3747
|
"type": "boolean"
|
|
@@ -3287,17 +3768,31 @@
|
|
|
3287
3768
|
"multiple": false,
|
|
3288
3769
|
"type": "option"
|
|
3289
3770
|
},
|
|
3290
|
-
"
|
|
3291
|
-
"description": "
|
|
3292
|
-
"name": "
|
|
3771
|
+
"limit": {
|
|
3772
|
+
"description": "Max results per page",
|
|
3773
|
+
"name": "limit",
|
|
3774
|
+
"default": 50,
|
|
3775
|
+
"hasDynamicHelp": false,
|
|
3776
|
+
"multiple": false,
|
|
3777
|
+
"type": "option"
|
|
3778
|
+
},
|
|
3779
|
+
"cursor": {
|
|
3780
|
+
"description": "Pagination cursor",
|
|
3781
|
+
"name": "cursor",
|
|
3293
3782
|
"hasDynamicHelp": false,
|
|
3294
3783
|
"multiple": false,
|
|
3295
3784
|
"type": "option"
|
|
3785
|
+
},
|
|
3786
|
+
"all": {
|
|
3787
|
+
"description": "Stream all pages as NDJSON",
|
|
3788
|
+
"name": "all",
|
|
3789
|
+
"allowNo": false,
|
|
3790
|
+
"type": "boolean"
|
|
3296
3791
|
}
|
|
3297
3792
|
},
|
|
3298
3793
|
"hasDynamicHelp": false,
|
|
3299
3794
|
"hiddenAliases": [],
|
|
3300
|
-
"id": "
|
|
3795
|
+
"id": "schema:versions",
|
|
3301
3796
|
"pluginAlias": "@agledger/cli",
|
|
3302
3797
|
"pluginName": "@agledger/cli",
|
|
3303
3798
|
"pluginType": "core",
|
|
@@ -3307,8 +3802,8 @@
|
|
|
3307
3802
|
"relativePath": [
|
|
3308
3803
|
"dist",
|
|
3309
3804
|
"commands",
|
|
3310
|
-
"
|
|
3311
|
-
"
|
|
3805
|
+
"schema",
|
|
3806
|
+
"versions.js"
|
|
3312
3807
|
]
|
|
3313
3808
|
},
|
|
3314
3809
|
"webhook:create": {
|
|
@@ -3317,7 +3812,7 @@
|
|
|
3317
3812
|
"description": "Create a webhook subscription",
|
|
3318
3813
|
"flags": {
|
|
3319
3814
|
"json": {
|
|
3320
|
-
"description": "
|
|
3815
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3321
3816
|
"name": "json",
|
|
3322
3817
|
"allowNo": false,
|
|
3323
3818
|
"type": "boolean"
|
|
@@ -3395,7 +3890,7 @@
|
|
|
3395
3890
|
"description": "Delete a webhook subscription",
|
|
3396
3891
|
"flags": {
|
|
3397
3892
|
"json": {
|
|
3398
|
-
"description": "
|
|
3893
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3399
3894
|
"name": "json",
|
|
3400
3895
|
"allowNo": false,
|
|
3401
3896
|
"type": "boolean"
|
|
@@ -3421,6 +3916,12 @@
|
|
|
3421
3916
|
"hasDynamicHelp": false,
|
|
3422
3917
|
"multiple": false,
|
|
3423
3918
|
"type": "option"
|
|
3919
|
+
},
|
|
3920
|
+
"dry-run": {
|
|
3921
|
+
"description": "Show what would be deleted without hitting the API",
|
|
3922
|
+
"name": "dry-run",
|
|
3923
|
+
"allowNo": false,
|
|
3924
|
+
"type": "boolean"
|
|
3424
3925
|
}
|
|
3425
3926
|
},
|
|
3426
3927
|
"hasDynamicHelp": false,
|
|
@@ -3445,7 +3946,7 @@
|
|
|
3445
3946
|
"description": "List registered webhooks, optionally filtered by exact URL",
|
|
3446
3947
|
"flags": {
|
|
3447
3948
|
"json": {
|
|
3448
|
-
"description": "
|
|
3949
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3449
3950
|
"name": "json",
|
|
3450
3951
|
"allowNo": false,
|
|
3451
3952
|
"type": "boolean"
|
|
@@ -3478,6 +3979,27 @@
|
|
|
3478
3979
|
"hasDynamicHelp": false,
|
|
3479
3980
|
"multiple": false,
|
|
3480
3981
|
"type": "option"
|
|
3982
|
+
},
|
|
3983
|
+
"limit": {
|
|
3984
|
+
"description": "Max results per page",
|
|
3985
|
+
"name": "limit",
|
|
3986
|
+
"default": 50,
|
|
3987
|
+
"hasDynamicHelp": false,
|
|
3988
|
+
"multiple": false,
|
|
3989
|
+
"type": "option"
|
|
3990
|
+
},
|
|
3991
|
+
"cursor": {
|
|
3992
|
+
"description": "Pagination cursor",
|
|
3993
|
+
"name": "cursor",
|
|
3994
|
+
"hasDynamicHelp": false,
|
|
3995
|
+
"multiple": false,
|
|
3996
|
+
"type": "option"
|
|
3997
|
+
},
|
|
3998
|
+
"all": {
|
|
3999
|
+
"description": "Stream all pages as NDJSON",
|
|
4000
|
+
"name": "all",
|
|
4001
|
+
"allowNo": false,
|
|
4002
|
+
"type": "boolean"
|
|
3481
4003
|
}
|
|
3482
4004
|
},
|
|
3483
4005
|
"hasDynamicHelp": false,
|
|
@@ -3497,5 +4019,5 @@
|
|
|
3497
4019
|
]
|
|
3498
4020
|
}
|
|
3499
4021
|
},
|
|
3500
|
-
"version": "0.
|
|
4022
|
+
"version": "0.5.1"
|
|
3501
4023
|
}
|