@agledger/cli 0.4.1 → 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 +38 -17
- package/dist/api-client.js +1 -1
- package/dist/base.d.ts +43 -22
- package/dist/base.d.ts.map +1 -1
- package/dist/base.js +76 -87
- 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 +1046 -524
- 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,13 @@
|
|
|
1561
2017
|
"multiple": false,
|
|
1562
2018
|
"type": "option"
|
|
1563
2019
|
},
|
|
1564
|
-
"
|
|
1565
|
-
"description": "
|
|
1566
|
-
"name": "
|
|
1567
|
-
"required": true,
|
|
1568
|
-
"hasDynamicHelp": false,
|
|
1569
|
-
"multiple": false,
|
|
1570
|
-
"type": "option"
|
|
1571
|
-
},
|
|
1572
|
-
"performer": {
|
|
1573
|
-
"description": "Performer agent ID",
|
|
1574
|
-
"name": "performer",
|
|
1575
|
-
"hasDynamicHelp": false,
|
|
1576
|
-
"multiple": false,
|
|
1577
|
-
"type": "option"
|
|
1578
|
-
},
|
|
1579
|
-
"data": {
|
|
1580
|
-
"description": "Mandate data as JSON string",
|
|
1581
|
-
"name": "data",
|
|
1582
|
-
"hasDynamicHelp": false,
|
|
1583
|
-
"multiple": false,
|
|
1584
|
-
"type": "option"
|
|
1585
|
-
},
|
|
1586
|
-
"file": {
|
|
1587
|
-
"description": "Read mandate data from JSON file",
|
|
1588
|
-
"name": "file",
|
|
1589
|
-
"hasDynamicHelp": false,
|
|
1590
|
-
"multiple": false,
|
|
1591
|
-
"type": "option"
|
|
1592
|
-
},
|
|
1593
|
-
"max-submissions": {
|
|
1594
|
-
"description": "Max receipt submissions allowed (1-100)",
|
|
1595
|
-
"name": "max-submissions",
|
|
2020
|
+
"reason": {
|
|
2021
|
+
"description": "Reason for requesting revision",
|
|
2022
|
+
"name": "reason",
|
|
1596
2023
|
"hasDynamicHelp": false,
|
|
1597
2024
|
"multiple": false,
|
|
1598
2025
|
"type": "option"
|
|
1599
2026
|
},
|
|
1600
|
-
"activate": {
|
|
1601
|
-
"description": "Auto-activate the mandate (CREATED → ACTIVE)",
|
|
1602
|
-
"name": "activate",
|
|
1603
|
-
"allowNo": false,
|
|
1604
|
-
"type": "boolean"
|
|
1605
|
-
},
|
|
1606
2027
|
"dry-run": {
|
|
1607
2028
|
"description": "Show what would be sent without hitting the API",
|
|
1608
2029
|
"name": "dry-run",
|
|
@@ -1612,7 +2033,7 @@
|
|
|
1612
2033
|
},
|
|
1613
2034
|
"hasDynamicHelp": false,
|
|
1614
2035
|
"hiddenAliases": [],
|
|
1615
|
-
"id": "mandate:
|
|
2036
|
+
"id": "mandate:request-revision",
|
|
1616
2037
|
"pluginAlias": "@agledger/cli",
|
|
1617
2038
|
"pluginName": "@agledger/cli",
|
|
1618
2039
|
"pluginType": "core",
|
|
@@ -1623,22 +2044,26 @@
|
|
|
1623
2044
|
"dist",
|
|
1624
2045
|
"commands",
|
|
1625
2046
|
"mandate",
|
|
1626
|
-
"
|
|
2047
|
+
"request-revision.js"
|
|
1627
2048
|
]
|
|
1628
2049
|
},
|
|
1629
|
-
"mandate:
|
|
2050
|
+
"mandate:transition": {
|
|
1630
2051
|
"aliases": [],
|
|
1631
2052
|
"args": {
|
|
1632
2053
|
"id": {
|
|
1633
2054
|
"description": "Mandate ID",
|
|
1634
2055
|
"name": "id",
|
|
1635
2056
|
"required": true
|
|
2057
|
+
},
|
|
2058
|
+
"action": {
|
|
2059
|
+
"description": "Transition action (e.g. activate, cancel). Alternative: --action",
|
|
2060
|
+
"name": "action"
|
|
1636
2061
|
}
|
|
1637
2062
|
},
|
|
1638
|
-
"description": "
|
|
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.",
|
|
1639
2064
|
"flags": {
|
|
1640
2065
|
"json": {
|
|
1641
|
-
"description": "
|
|
2066
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1642
2067
|
"name": "json",
|
|
1643
2068
|
"allowNo": false,
|
|
1644
2069
|
"type": "boolean"
|
|
@@ -1664,11 +2089,31 @@
|
|
|
1664
2089
|
"hasDynamicHelp": false,
|
|
1665
2090
|
"multiple": false,
|
|
1666
2091
|
"type": "option"
|
|
2092
|
+
},
|
|
2093
|
+
"action": {
|
|
2094
|
+
"description": "Transition action — alternative to positional arg (matches API body field name)",
|
|
2095
|
+
"name": "action",
|
|
2096
|
+
"hasDynamicHelp": false,
|
|
2097
|
+
"multiple": false,
|
|
2098
|
+
"type": "option"
|
|
2099
|
+
},
|
|
2100
|
+
"reason": {
|
|
2101
|
+
"description": "Transition reason",
|
|
2102
|
+
"name": "reason",
|
|
2103
|
+
"hasDynamicHelp": false,
|
|
2104
|
+
"multiple": false,
|
|
2105
|
+
"type": "option"
|
|
2106
|
+
},
|
|
2107
|
+
"dry-run": {
|
|
2108
|
+
"description": "Show what would be sent without hitting the API",
|
|
2109
|
+
"name": "dry-run",
|
|
2110
|
+
"allowNo": false,
|
|
2111
|
+
"type": "boolean"
|
|
1667
2112
|
}
|
|
1668
2113
|
},
|
|
1669
2114
|
"hasDynamicHelp": false,
|
|
1670
2115
|
"hiddenAliases": [],
|
|
1671
|
-
"id": "mandate:
|
|
2116
|
+
"id": "mandate:transition",
|
|
1672
2117
|
"pluginAlias": "@agledger/cli",
|
|
1673
2118
|
"pluginName": "@agledger/cli",
|
|
1674
2119
|
"pluginType": "core",
|
|
@@ -1679,16 +2124,16 @@
|
|
|
1679
2124
|
"dist",
|
|
1680
2125
|
"commands",
|
|
1681
2126
|
"mandate",
|
|
1682
|
-
"
|
|
2127
|
+
"transition.js"
|
|
1683
2128
|
]
|
|
1684
2129
|
},
|
|
1685
|
-
"
|
|
2130
|
+
"federation:audit-log": {
|
|
1686
2131
|
"aliases": [],
|
|
1687
2132
|
"args": {},
|
|
1688
|
-
"description": "
|
|
2133
|
+
"description": "Query the federation audit log for gateway and mandate events.",
|
|
1689
2134
|
"flags": {
|
|
1690
2135
|
"json": {
|
|
1691
|
-
"description": "
|
|
2136
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1692
2137
|
"name": "json",
|
|
1693
2138
|
"allowNo": false,
|
|
1694
2139
|
"type": "boolean"
|
|
@@ -1715,45 +2160,38 @@
|
|
|
1715
2160
|
"multiple": false,
|
|
1716
2161
|
"type": "option"
|
|
1717
2162
|
},
|
|
1718
|
-
"
|
|
1719
|
-
"description": "Filter by
|
|
1720
|
-
"name": "
|
|
2163
|
+
"gateway-id": {
|
|
2164
|
+
"description": "Filter by gateway ID",
|
|
2165
|
+
"name": "gateway-id",
|
|
1721
2166
|
"hasDynamicHelp": false,
|
|
1722
2167
|
"multiple": false,
|
|
1723
2168
|
"type": "option"
|
|
1724
2169
|
},
|
|
1725
|
-
"type": {
|
|
1726
|
-
"description": "Filter by
|
|
1727
|
-
"name": "type",
|
|
2170
|
+
"entry-type": {
|
|
2171
|
+
"description": "Filter by audit entry type",
|
|
2172
|
+
"name": "entry-type",
|
|
1728
2173
|
"hasDynamicHelp": false,
|
|
1729
2174
|
"multiple": false,
|
|
1730
2175
|
"type": "option"
|
|
1731
2176
|
},
|
|
1732
|
-
"
|
|
1733
|
-
"description": "
|
|
1734
|
-
"name": "
|
|
1735
|
-
"default": 25,
|
|
2177
|
+
"mandate-id": {
|
|
2178
|
+
"description": "Filter by mandate ID",
|
|
2179
|
+
"name": "mandate-id",
|
|
1736
2180
|
"hasDynamicHelp": false,
|
|
1737
2181
|
"multiple": false,
|
|
1738
2182
|
"type": "option"
|
|
1739
2183
|
},
|
|
1740
|
-
"
|
|
1741
|
-
"description": "
|
|
1742
|
-
"name": "
|
|
2184
|
+
"limit": {
|
|
2185
|
+
"description": "Maximum number of entries to return",
|
|
2186
|
+
"name": "limit",
|
|
1743
2187
|
"hasDynamicHelp": false,
|
|
1744
2188
|
"multiple": false,
|
|
1745
2189
|
"type": "option"
|
|
1746
|
-
},
|
|
1747
|
-
"all": {
|
|
1748
|
-
"description": "Stream all pages as NDJSON",
|
|
1749
|
-
"name": "all",
|
|
1750
|
-
"allowNo": false,
|
|
1751
|
-
"type": "boolean"
|
|
1752
2190
|
}
|
|
1753
2191
|
},
|
|
1754
2192
|
"hasDynamicHelp": false,
|
|
1755
2193
|
"hiddenAliases": [],
|
|
1756
|
-
"id": "
|
|
2194
|
+
"id": "federation:audit-log",
|
|
1757
2195
|
"pluginAlias": "@agledger/cli",
|
|
1758
2196
|
"pluginName": "@agledger/cli",
|
|
1759
2197
|
"pluginType": "core",
|
|
@@ -1763,23 +2201,17 @@
|
|
|
1763
2201
|
"relativePath": [
|
|
1764
2202
|
"dist",
|
|
1765
2203
|
"commands",
|
|
1766
|
-
"
|
|
1767
|
-
"
|
|
2204
|
+
"federation",
|
|
2205
|
+
"audit-log.js"
|
|
1768
2206
|
]
|
|
1769
2207
|
},
|
|
1770
|
-
"
|
|
2208
|
+
"federation:create-token": {
|
|
1771
2209
|
"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)",
|
|
2210
|
+
"args": {},
|
|
2211
|
+
"description": "Create a federation registration token for gateway onboarding.",
|
|
1780
2212
|
"flags": {
|
|
1781
2213
|
"json": {
|
|
1782
|
-
"description": "
|
|
2214
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1783
2215
|
"name": "json",
|
|
1784
2216
|
"allowNo": false,
|
|
1785
2217
|
"type": "boolean"
|
|
@@ -1806,36 +2238,72 @@
|
|
|
1806
2238
|
"multiple": false,
|
|
1807
2239
|
"type": "option"
|
|
1808
2240
|
},
|
|
1809
|
-
"
|
|
1810
|
-
"description": "
|
|
1811
|
-
"name": "
|
|
1812
|
-
"required": true,
|
|
2241
|
+
"label": {
|
|
2242
|
+
"description": "Human-readable label for the token",
|
|
2243
|
+
"name": "label",
|
|
1813
2244
|
"hasDynamicHelp": false,
|
|
1814
2245
|
"multiple": false,
|
|
1815
2246
|
"type": "option"
|
|
1816
2247
|
},
|
|
1817
|
-
"
|
|
1818
|
-
"description": "
|
|
1819
|
-
"name": "
|
|
1820
|
-
"required": true,
|
|
2248
|
+
"expires-in-hours": {
|
|
2249
|
+
"description": "Token expiry in hours (default: server-configured)",
|
|
2250
|
+
"name": "expires-in-hours",
|
|
1821
2251
|
"hasDynamicHelp": false,
|
|
1822
2252
|
"multiple": false,
|
|
1823
|
-
"options": [
|
|
1824
|
-
"PASS",
|
|
1825
|
-
"FAIL"
|
|
1826
|
-
],
|
|
1827
2253
|
"type": "option"
|
|
1828
2254
|
},
|
|
1829
|
-
"
|
|
1830
|
-
"description": "
|
|
1831
|
-
"name": "
|
|
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",
|
|
1832
2299
|
"hasDynamicHelp": false,
|
|
1833
2300
|
"multiple": false,
|
|
1834
2301
|
"type": "option"
|
|
1835
2302
|
},
|
|
1836
|
-
"
|
|
1837
|
-
"description": "
|
|
1838
|
-
"
|
|
2303
|
+
"api-url": {
|
|
2304
|
+
"description": "AGLedger API base URL",
|
|
2305
|
+
"env": "AGLEDGER_API_URL",
|
|
2306
|
+
"name": "api-url",
|
|
1839
2307
|
"hasDynamicHelp": false,
|
|
1840
2308
|
"multiple": false,
|
|
1841
2309
|
"type": "option"
|
|
@@ -1843,7 +2311,7 @@
|
|
|
1843
2311
|
},
|
|
1844
2312
|
"hasDynamicHelp": false,
|
|
1845
2313
|
"hiddenAliases": [],
|
|
1846
|
-
"id": "
|
|
2314
|
+
"id": "federation:health",
|
|
1847
2315
|
"pluginAlias": "@agledger/cli",
|
|
1848
2316
|
"pluginName": "@agledger/cli",
|
|
1849
2317
|
"pluginType": "core",
|
|
@@ -1853,23 +2321,17 @@
|
|
|
1853
2321
|
"relativePath": [
|
|
1854
2322
|
"dist",
|
|
1855
2323
|
"commands",
|
|
1856
|
-
"
|
|
1857
|
-
"
|
|
2324
|
+
"federation",
|
|
2325
|
+
"health.js"
|
|
1858
2326
|
]
|
|
1859
2327
|
},
|
|
1860
|
-
"
|
|
2328
|
+
"federation:list-gateways": {
|
|
1861
2329
|
"aliases": [],
|
|
1862
|
-
"args": {
|
|
1863
|
-
|
|
1864
|
-
"description": "Mandate ID",
|
|
1865
|
-
"name": "id",
|
|
1866
|
-
"required": true
|
|
1867
|
-
}
|
|
1868
|
-
},
|
|
1869
|
-
"description": "Reject a proposed mandate (as performer)",
|
|
2330
|
+
"args": {},
|
|
2331
|
+
"description": "List federation gateways with optional status filter.",
|
|
1870
2332
|
"flags": {
|
|
1871
2333
|
"json": {
|
|
1872
|
-
"description": "
|
|
2334
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1873
2335
|
"name": "json",
|
|
1874
2336
|
"allowNo": false,
|
|
1875
2337
|
"type": "boolean"
|
|
@@ -1896,9 +2358,21 @@
|
|
|
1896
2358
|
"multiple": false,
|
|
1897
2359
|
"type": "option"
|
|
1898
2360
|
},
|
|
1899
|
-
"
|
|
1900
|
-
"description": "
|
|
1901
|
-
"name": "
|
|
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",
|
|
1902
2376
|
"hasDynamicHelp": false,
|
|
1903
2377
|
"multiple": false,
|
|
1904
2378
|
"type": "option"
|
|
@@ -1906,7 +2380,7 @@
|
|
|
1906
2380
|
},
|
|
1907
2381
|
"hasDynamicHelp": false,
|
|
1908
2382
|
"hiddenAliases": [],
|
|
1909
|
-
"id": "
|
|
2383
|
+
"id": "federation:list-gateways",
|
|
1910
2384
|
"pluginAlias": "@agledger/cli",
|
|
1911
2385
|
"pluginName": "@agledger/cli",
|
|
1912
2386
|
"pluginType": "core",
|
|
@@ -1916,23 +2390,17 @@
|
|
|
1916
2390
|
"relativePath": [
|
|
1917
2391
|
"dist",
|
|
1918
2392
|
"commands",
|
|
1919
|
-
"
|
|
1920
|
-
"
|
|
2393
|
+
"federation",
|
|
2394
|
+
"list-gateways.js"
|
|
1921
2395
|
]
|
|
1922
2396
|
},
|
|
1923
|
-
"
|
|
2397
|
+
"federation:query-mandates": {
|
|
1924
2398
|
"aliases": [],
|
|
1925
|
-
"args": {
|
|
1926
|
-
|
|
1927
|
-
"description": "Mandate ID",
|
|
1928
|
-
"name": "id",
|
|
1929
|
-
"required": true
|
|
1930
|
-
}
|
|
1931
|
-
},
|
|
1932
|
-
"description": "Request revision after principal rejection (rework loop)",
|
|
2399
|
+
"args": {},
|
|
2400
|
+
"description": "Query federated mandates across gateways.",
|
|
1933
2401
|
"flags": {
|
|
1934
2402
|
"json": {
|
|
1935
|
-
"description": "
|
|
2403
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
1936
2404
|
"name": "json",
|
|
1937
2405
|
"allowNo": false,
|
|
1938
2406
|
"type": "boolean"
|
|
@@ -1959,9 +2427,38 @@
|
|
|
1959
2427
|
"multiple": false,
|
|
1960
2428
|
"type": "option"
|
|
1961
2429
|
},
|
|
1962
|
-
"
|
|
1963
|
-
"description": "
|
|
1964
|
-
"name": "
|
|
2430
|
+
"gateway-id": {
|
|
2431
|
+
"description": "Filter by originating gateway ID",
|
|
2432
|
+
"name": "gateway-id",
|
|
2433
|
+
"hasDynamicHelp": false,
|
|
2434
|
+
"multiple": false,
|
|
2435
|
+
"type": "option"
|
|
2436
|
+
},
|
|
2437
|
+
"hub-state": {
|
|
2438
|
+
"description": "Filter by hub-side mandate state",
|
|
2439
|
+
"name": "hub-state",
|
|
2440
|
+
"hasDynamicHelp": false,
|
|
2441
|
+
"multiple": false,
|
|
2442
|
+
"options": [
|
|
2443
|
+
"OFFERED",
|
|
2444
|
+
"ACCEPTED",
|
|
2445
|
+
"ACTIVE",
|
|
2446
|
+
"COMPLETED",
|
|
2447
|
+
"DISPUTED",
|
|
2448
|
+
"TERMINAL"
|
|
2449
|
+
],
|
|
2450
|
+
"type": "option"
|
|
2451
|
+
},
|
|
2452
|
+
"contract-type": {
|
|
2453
|
+
"description": "Filter by contract type (e.g. ACH-PROC-v1)",
|
|
2454
|
+
"name": "contract-type",
|
|
2455
|
+
"hasDynamicHelp": false,
|
|
2456
|
+
"multiple": false,
|
|
2457
|
+
"type": "option"
|
|
2458
|
+
},
|
|
2459
|
+
"limit": {
|
|
2460
|
+
"description": "Maximum number of results to return",
|
|
2461
|
+
"name": "limit",
|
|
1965
2462
|
"hasDynamicHelp": false,
|
|
1966
2463
|
"multiple": false,
|
|
1967
2464
|
"type": "option"
|
|
@@ -1969,7 +2466,7 @@
|
|
|
1969
2466
|
},
|
|
1970
2467
|
"hasDynamicHelp": false,
|
|
1971
2468
|
"hiddenAliases": [],
|
|
1972
|
-
"id": "
|
|
2469
|
+
"id": "federation:query-mandates",
|
|
1973
2470
|
"pluginAlias": "@agledger/cli",
|
|
1974
2471
|
"pluginName": "@agledger/cli",
|
|
1975
2472
|
"pluginType": "core",
|
|
@@ -1979,28 +2476,23 @@
|
|
|
1979
2476
|
"relativePath": [
|
|
1980
2477
|
"dist",
|
|
1981
2478
|
"commands",
|
|
1982
|
-
"
|
|
1983
|
-
"
|
|
2479
|
+
"federation",
|
|
2480
|
+
"query-mandates.js"
|
|
1984
2481
|
]
|
|
1985
2482
|
},
|
|
1986
|
-
"
|
|
1987
|
-
"aliases": [],
|
|
1988
|
-
"args": {
|
|
1989
|
-
"
|
|
1990
|
-
"description": "
|
|
1991
|
-
"name": "
|
|
1992
|
-
"required": true
|
|
1993
|
-
},
|
|
1994
|
-
"action": {
|
|
1995
|
-
"description": "Transition action",
|
|
1996
|
-
"name": "action",
|
|
2483
|
+
"federation:revoke-gateway": {
|
|
2484
|
+
"aliases": [],
|
|
2485
|
+
"args": {
|
|
2486
|
+
"gateway_id": {
|
|
2487
|
+
"description": "Gateway ID to revoke",
|
|
2488
|
+
"name": "gateway_id",
|
|
1997
2489
|
"required": true
|
|
1998
2490
|
}
|
|
1999
2491
|
},
|
|
2000
|
-
"description": "
|
|
2492
|
+
"description": "Revoke a federation gateway, severing its connection to the hub.",
|
|
2001
2493
|
"flags": {
|
|
2002
2494
|
"json": {
|
|
2003
|
-
"description": "
|
|
2495
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2004
2496
|
"name": "json",
|
|
2005
2497
|
"allowNo": false,
|
|
2006
2498
|
"type": "boolean"
|
|
@@ -2028,16 +2520,23 @@
|
|
|
2028
2520
|
"type": "option"
|
|
2029
2521
|
},
|
|
2030
2522
|
"reason": {
|
|
2031
|
-
"description": "
|
|
2523
|
+
"description": "Reason for revocation",
|
|
2032
2524
|
"name": "reason",
|
|
2525
|
+
"required": true,
|
|
2033
2526
|
"hasDynamicHelp": false,
|
|
2034
2527
|
"multiple": false,
|
|
2035
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"
|
|
2036
2535
|
}
|
|
2037
2536
|
},
|
|
2038
2537
|
"hasDynamicHelp": false,
|
|
2039
2538
|
"hiddenAliases": [],
|
|
2040
|
-
"id": "
|
|
2539
|
+
"id": "federation:revoke-gateway",
|
|
2041
2540
|
"pluginAlias": "@agledger/cli",
|
|
2042
2541
|
"pluginName": "@agledger/cli",
|
|
2043
2542
|
"pluginType": "core",
|
|
@@ -2047,28 +2546,17 @@
|
|
|
2047
2546
|
"relativePath": [
|
|
2048
2547
|
"dist",
|
|
2049
2548
|
"commands",
|
|
2050
|
-
"
|
|
2051
|
-
"
|
|
2549
|
+
"federation",
|
|
2550
|
+
"revoke-gateway.js"
|
|
2052
2551
|
]
|
|
2053
2552
|
},
|
|
2054
|
-
"
|
|
2553
|
+
"audit:events": {
|
|
2055
2554
|
"aliases": [],
|
|
2056
|
-
"args": {
|
|
2057
|
-
|
|
2058
|
-
"description": "Mandate ID",
|
|
2059
|
-
"name": "mandateId",
|
|
2060
|
-
"required": true
|
|
2061
|
-
},
|
|
2062
|
-
"receiptId": {
|
|
2063
|
-
"description": "Receipt ID",
|
|
2064
|
-
"name": "receiptId",
|
|
2065
|
-
"required": true
|
|
2066
|
-
}
|
|
2067
|
-
},
|
|
2068
|
-
"description": "Get receipt details",
|
|
2555
|
+
"args": {},
|
|
2556
|
+
"description": "List audit events",
|
|
2069
2557
|
"flags": {
|
|
2070
2558
|
"json": {
|
|
2071
|
-
"description": "
|
|
2559
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2072
2560
|
"name": "json",
|
|
2073
2561
|
"allowNo": false,
|
|
2074
2562
|
"type": "boolean"
|
|
@@ -2094,11 +2582,52 @@
|
|
|
2094
2582
|
"hasDynamicHelp": false,
|
|
2095
2583
|
"multiple": false,
|
|
2096
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"
|
|
2097
2626
|
}
|
|
2098
2627
|
},
|
|
2099
2628
|
"hasDynamicHelp": false,
|
|
2100
2629
|
"hiddenAliases": [],
|
|
2101
|
-
"id": "
|
|
2630
|
+
"id": "audit:events",
|
|
2102
2631
|
"pluginAlias": "@agledger/cli",
|
|
2103
2632
|
"pluginName": "@agledger/cli",
|
|
2104
2633
|
"pluginType": "core",
|
|
@@ -2108,11 +2637,11 @@
|
|
|
2108
2637
|
"relativePath": [
|
|
2109
2638
|
"dist",
|
|
2110
2639
|
"commands",
|
|
2111
|
-
"
|
|
2112
|
-
"
|
|
2640
|
+
"audit",
|
|
2641
|
+
"events.js"
|
|
2113
2642
|
]
|
|
2114
2643
|
},
|
|
2115
|
-
"
|
|
2644
|
+
"audit:trail": {
|
|
2116
2645
|
"aliases": [],
|
|
2117
2646
|
"args": {
|
|
2118
2647
|
"mandateId": {
|
|
@@ -2121,10 +2650,10 @@
|
|
|
2121
2650
|
"required": true
|
|
2122
2651
|
}
|
|
2123
2652
|
},
|
|
2124
|
-
"description": "
|
|
2653
|
+
"description": "Get the hash-chained audit trail for a mandate",
|
|
2125
2654
|
"flags": {
|
|
2126
2655
|
"json": {
|
|
2127
|
-
"description": "
|
|
2656
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2128
2657
|
"name": "json",
|
|
2129
2658
|
"allowNo": false,
|
|
2130
2659
|
"type": "boolean"
|
|
@@ -2150,17 +2679,11 @@
|
|
|
2150
2679
|
"hasDynamicHelp": false,
|
|
2151
2680
|
"multiple": false,
|
|
2152
2681
|
"type": "option"
|
|
2153
|
-
},
|
|
2154
|
-
"all": {
|
|
2155
|
-
"description": "Stream all pages as NDJSON",
|
|
2156
|
-
"name": "all",
|
|
2157
|
-
"allowNo": false,
|
|
2158
|
-
"type": "boolean"
|
|
2159
2682
|
}
|
|
2160
2683
|
},
|
|
2161
2684
|
"hasDynamicHelp": false,
|
|
2162
2685
|
"hiddenAliases": [],
|
|
2163
|
-
"id": "
|
|
2686
|
+
"id": "audit:trail",
|
|
2164
2687
|
"pluginAlias": "@agledger/cli",
|
|
2165
2688
|
"pluginName": "@agledger/cli",
|
|
2166
2689
|
"pluginType": "core",
|
|
@@ -2170,23 +2693,32 @@
|
|
|
2170
2693
|
"relativePath": [
|
|
2171
2694
|
"dist",
|
|
2172
2695
|
"commands",
|
|
2173
|
-
"
|
|
2174
|
-
"
|
|
2696
|
+
"audit",
|
|
2697
|
+
"trail.js"
|
|
2175
2698
|
]
|
|
2176
2699
|
},
|
|
2177
|
-
"
|
|
2700
|
+
"verdict:render": {
|
|
2178
2701
|
"aliases": [],
|
|
2179
2702
|
"args": {
|
|
2180
2703
|
"mandateId": {
|
|
2181
2704
|
"description": "Mandate ID",
|
|
2182
2705
|
"name": "mandateId",
|
|
2183
2706
|
"required": true
|
|
2707
|
+
},
|
|
2708
|
+
"verdict": {
|
|
2709
|
+
"description": "PASS to accept, FAIL to reject",
|
|
2710
|
+
"name": "verdict",
|
|
2711
|
+
"options": [
|
|
2712
|
+
"PASS",
|
|
2713
|
+
"FAIL"
|
|
2714
|
+
],
|
|
2715
|
+
"required": true
|
|
2184
2716
|
}
|
|
2185
2717
|
},
|
|
2186
|
-
"description": "
|
|
2718
|
+
"description": "Render a verdict on a notarized agreement (accept or reject delivery)",
|
|
2187
2719
|
"flags": {
|
|
2188
2720
|
"json": {
|
|
2189
|
-
"description": "
|
|
2721
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2190
2722
|
"name": "json",
|
|
2191
2723
|
"allowNo": false,
|
|
2192
2724
|
"type": "boolean"
|
|
@@ -2213,16 +2745,9 @@
|
|
|
2213
2745
|
"multiple": false,
|
|
2214
2746
|
"type": "option"
|
|
2215
2747
|
},
|
|
2216
|
-
"
|
|
2217
|
-
"description": "
|
|
2218
|
-
"name": "
|
|
2219
|
-
"hasDynamicHelp": false,
|
|
2220
|
-
"multiple": false,
|
|
2221
|
-
"type": "option"
|
|
2222
|
-
},
|
|
2223
|
-
"file": {
|
|
2224
|
-
"description": "Read evidence from JSON file",
|
|
2225
|
-
"name": "file",
|
|
2748
|
+
"reason": {
|
|
2749
|
+
"description": "Reason for the verdict",
|
|
2750
|
+
"name": "reason",
|
|
2226
2751
|
"hasDynamicHelp": false,
|
|
2227
2752
|
"multiple": false,
|
|
2228
2753
|
"type": "option"
|
|
@@ -2236,7 +2761,7 @@
|
|
|
2236
2761
|
},
|
|
2237
2762
|
"hasDynamicHelp": false,
|
|
2238
2763
|
"hiddenAliases": [],
|
|
2239
|
-
"id": "
|
|
2764
|
+
"id": "verdict:render",
|
|
2240
2765
|
"pluginAlias": "@agledger/cli",
|
|
2241
2766
|
"pluginName": "@agledger/cli",
|
|
2242
2767
|
"pluginType": "core",
|
|
@@ -2246,8 +2771,8 @@
|
|
|
2246
2771
|
"relativePath": [
|
|
2247
2772
|
"dist",
|
|
2248
2773
|
"commands",
|
|
2249
|
-
"
|
|
2250
|
-
"
|
|
2774
|
+
"verdict",
|
|
2775
|
+
"render.js"
|
|
2251
2776
|
]
|
|
2252
2777
|
},
|
|
2253
2778
|
"schema:blank-template": {
|
|
@@ -2256,7 +2781,7 @@
|
|
|
2256
2781
|
"description": "Get a blank template for creating a custom contract type from scratch",
|
|
2257
2782
|
"flags": {
|
|
2258
2783
|
"json": {
|
|
2259
|
-
"description": "
|
|
2784
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2260
2785
|
"name": "json",
|
|
2261
2786
|
"allowNo": false,
|
|
2262
2787
|
"type": "boolean"
|
|
@@ -2320,7 +2845,7 @@
|
|
|
2320
2845
|
"description": "Check backward/forward compatibility of schema changes",
|
|
2321
2846
|
"flags": {
|
|
2322
2847
|
"json": {
|
|
2323
|
-
"description": "
|
|
2848
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2324
2849
|
"name": "json",
|
|
2325
2850
|
"allowNo": false,
|
|
2326
2851
|
"type": "boolean"
|
|
@@ -2392,7 +2917,7 @@
|
|
|
2392
2917
|
"description": "Deprecate a schema version",
|
|
2393
2918
|
"flags": {
|
|
2394
2919
|
"json": {
|
|
2395
|
-
"description": "
|
|
2920
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2396
2921
|
"name": "json",
|
|
2397
2922
|
"allowNo": false,
|
|
2398
2923
|
"type": "boolean"
|
|
@@ -2462,7 +2987,7 @@
|
|
|
2462
2987
|
"description": "Diff two versions of a contract type schema",
|
|
2463
2988
|
"flags": {
|
|
2464
2989
|
"json": {
|
|
2465
|
-
"description": "
|
|
2990
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2466
2991
|
"name": "json",
|
|
2467
2992
|
"allowNo": false,
|
|
2468
2993
|
"type": "boolean"
|
|
@@ -2534,7 +3059,7 @@
|
|
|
2534
3059
|
"description": "Export a contract type schema bundle to a file",
|
|
2535
3060
|
"flags": {
|
|
2536
3061
|
"json": {
|
|
2537
|
-
"description": "
|
|
3062
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2538
3063
|
"name": "json",
|
|
2539
3064
|
"allowNo": false,
|
|
2540
3065
|
"type": "boolean"
|
|
@@ -2606,7 +3131,7 @@
|
|
|
2606
3131
|
"description": "Get a specific version of a contract type schema",
|
|
2607
3132
|
"flags": {
|
|
2608
3133
|
"json": {
|
|
2609
|
-
"description": "
|
|
3134
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2610
3135
|
"name": "json",
|
|
2611
3136
|
"allowNo": false,
|
|
2612
3137
|
"type": "boolean"
|
|
@@ -2670,7 +3195,7 @@
|
|
|
2670
3195
|
"description": "Get the full JSON Schema for a contract type",
|
|
2671
3196
|
"flags": {
|
|
2672
3197
|
"json": {
|
|
2673
|
-
"description": "
|
|
3198
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2674
3199
|
"name": "json",
|
|
2675
3200
|
"allowNo": false,
|
|
2676
3201
|
"type": "boolean"
|
|
@@ -2726,7 +3251,7 @@
|
|
|
2726
3251
|
"description": "Import a schema bundle from a file",
|
|
2727
3252
|
"flags": {
|
|
2728
3253
|
"json": {
|
|
2729
|
-
"description": "
|
|
3254
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2730
3255
|
"name": "json",
|
|
2731
3256
|
"allowNo": false,
|
|
2732
3257
|
"type": "boolean"
|
|
@@ -2754,7 +3279,7 @@
|
|
|
2754
3279
|
"type": "option"
|
|
2755
3280
|
},
|
|
2756
3281
|
"dry-run": {
|
|
2757
|
-
"description": "Preview what would be imported without persisting",
|
|
3282
|
+
"description": "Preview what would be imported without persisting (server-side dry-run)",
|
|
2758
3283
|
"name": "dry-run",
|
|
2759
3284
|
"allowNo": false,
|
|
2760
3285
|
"type": "boolean"
|
|
@@ -2782,7 +3307,7 @@
|
|
|
2782
3307
|
"description": "List available contract type schemas",
|
|
2783
3308
|
"flags": {
|
|
2784
3309
|
"json": {
|
|
2785
|
-
"description": "
|
|
3310
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2786
3311
|
"name": "json",
|
|
2787
3312
|
"allowNo": false,
|
|
2788
3313
|
"type": "boolean"
|
|
@@ -2808,6 +3333,27 @@
|
|
|
2808
3333
|
"hasDynamicHelp": false,
|
|
2809
3334
|
"multiple": false,
|
|
2810
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"
|
|
2811
3357
|
}
|
|
2812
3358
|
},
|
|
2813
3359
|
"hasDynamicHelp": false,
|
|
@@ -2832,7 +3378,7 @@
|
|
|
2832
3378
|
"description": "Get the meta-schema for custom schema authoring",
|
|
2833
3379
|
"flags": {
|
|
2834
3380
|
"json": {
|
|
2835
|
-
"description": "
|
|
3381
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2836
3382
|
"name": "json",
|
|
2837
3383
|
"allowNo": false,
|
|
2838
3384
|
"type": "boolean"
|
|
@@ -2896,7 +3442,7 @@
|
|
|
2896
3442
|
"description": "Preview a schema before registration",
|
|
2897
3443
|
"flags": {
|
|
2898
3444
|
"json": {
|
|
2899
|
-
"description": "
|
|
3445
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2900
3446
|
"name": "json",
|
|
2901
3447
|
"allowNo": false,
|
|
2902
3448
|
"type": "boolean"
|
|
@@ -2952,7 +3498,7 @@
|
|
|
2952
3498
|
"description": "Register a new custom contract type schema",
|
|
2953
3499
|
"flags": {
|
|
2954
3500
|
"json": {
|
|
2955
|
-
"description": "
|
|
3501
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
2956
3502
|
"name": "json",
|
|
2957
3503
|
"allowNo": false,
|
|
2958
3504
|
"type": "boolean"
|
|
@@ -3014,7 +3560,7 @@
|
|
|
3014
3560
|
"description": "Get verification rules for a contract type",
|
|
3015
3561
|
"flags": {
|
|
3016
3562
|
"json": {
|
|
3017
|
-
"description": "
|
|
3563
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3018
3564
|
"name": "json",
|
|
3019
3565
|
"allowNo": false,
|
|
3020
3566
|
"type": "boolean"
|
|
@@ -3070,7 +3616,7 @@
|
|
|
3070
3616
|
"description": "Get a starter template from an existing contract type",
|
|
3071
3617
|
"flags": {
|
|
3072
3618
|
"json": {
|
|
3073
|
-
"description": "
|
|
3619
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3074
3620
|
"name": "json",
|
|
3075
3621
|
"allowNo": false,
|
|
3076
3622
|
"type": "boolean"
|
|
@@ -3139,7 +3685,7 @@
|
|
|
3139
3685
|
"description": "Validate receipt evidence against a contract type schema",
|
|
3140
3686
|
"flags": {
|
|
3141
3687
|
"json": {
|
|
3142
|
-
"description": "
|
|
3688
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3143
3689
|
"name": "json",
|
|
3144
3690
|
"allowNo": false,
|
|
3145
3691
|
"type": "boolean"
|
|
@@ -3195,7 +3741,7 @@
|
|
|
3195
3741
|
"description": "List all versions of a contract type schema",
|
|
3196
3742
|
"flags": {
|
|
3197
3743
|
"json": {
|
|
3198
|
-
"description": "
|
|
3744
|
+
"description": "Force JSON output (default when stdout is piped)",
|
|
3199
3745
|
"name": "json",
|
|
3200
3746
|
"allowNo": false,
|
|
3201
3747
|
"type": "boolean"
|
|
@@ -3221,83 +3767,32 @@
|
|
|
3221
3767
|
"hasDynamicHelp": false,
|
|
3222
3768
|
"multiple": false,
|
|
3223
3769
|
"type": "option"
|
|
3224
|
-
}
|
|
3225
|
-
},
|
|
3226
|
-
"hasDynamicHelp": false,
|
|
3227
|
-
"hiddenAliases": [],
|
|
3228
|
-
"id": "schema:versions",
|
|
3229
|
-
"pluginAlias": "@agledger/cli",
|
|
3230
|
-
"pluginName": "@agledger/cli",
|
|
3231
|
-
"pluginType": "core",
|
|
3232
|
-
"strict": true,
|
|
3233
|
-
"enableJsonFlag": false,
|
|
3234
|
-
"isESM": true,
|
|
3235
|
-
"relativePath": [
|
|
3236
|
-
"dist",
|
|
3237
|
-
"commands",
|
|
3238
|
-
"schema",
|
|
3239
|
-
"versions.js"
|
|
3240
|
-
]
|
|
3241
|
-
},
|
|
3242
|
-
"verdict:render": {
|
|
3243
|
-
"aliases": [],
|
|
3244
|
-
"args": {
|
|
3245
|
-
"mandateId": {
|
|
3246
|
-
"description": "Mandate ID",
|
|
3247
|
-
"name": "mandateId",
|
|
3248
|
-
"required": true
|
|
3249
|
-
},
|
|
3250
|
-
"verdict": {
|
|
3251
|
-
"description": "PASS to accept, FAIL to reject",
|
|
3252
|
-
"name": "verdict",
|
|
3253
|
-
"options": [
|
|
3254
|
-
"PASS",
|
|
3255
|
-
"FAIL"
|
|
3256
|
-
],
|
|
3257
|
-
"required": true
|
|
3258
|
-
}
|
|
3259
|
-
},
|
|
3260
|
-
"description": "Render a verdict on a notarized agreement (accept or reject delivery)",
|
|
3261
|
-
"flags": {
|
|
3262
|
-
"json": {
|
|
3263
|
-
"description": "Output as JSON",
|
|
3264
|
-
"name": "json",
|
|
3265
|
-
"allowNo": false,
|
|
3266
|
-
"type": "boolean"
|
|
3267
|
-
},
|
|
3268
|
-
"quiet": {
|
|
3269
|
-
"description": "Suppress output (exit code only)",
|
|
3270
|
-
"name": "quiet",
|
|
3271
|
-
"allowNo": false,
|
|
3272
|
-
"type": "boolean"
|
|
3273
3770
|
},
|
|
3274
|
-
"
|
|
3275
|
-
"description": "
|
|
3276
|
-
"
|
|
3277
|
-
"
|
|
3771
|
+
"limit": {
|
|
3772
|
+
"description": "Max results per page",
|
|
3773
|
+
"name": "limit",
|
|
3774
|
+
"default": 50,
|
|
3278
3775
|
"hasDynamicHelp": false,
|
|
3279
3776
|
"multiple": false,
|
|
3280
3777
|
"type": "option"
|
|
3281
3778
|
},
|
|
3282
|
-
"
|
|
3283
|
-
"description": "
|
|
3284
|
-
"
|
|
3285
|
-
"name": "api-url",
|
|
3779
|
+
"cursor": {
|
|
3780
|
+
"description": "Pagination cursor",
|
|
3781
|
+
"name": "cursor",
|
|
3286
3782
|
"hasDynamicHelp": false,
|
|
3287
3783
|
"multiple": false,
|
|
3288
3784
|
"type": "option"
|
|
3289
3785
|
},
|
|
3290
|
-
"
|
|
3291
|
-
"description": "
|
|
3292
|
-
"name": "
|
|
3293
|
-
"
|
|
3294
|
-
"
|
|
3295
|
-
"type": "option"
|
|
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
|
}
|