@agledger/cli 0.5.3 → 0.7.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (237) hide show
  1. package/README.md +21 -13
  2. package/SKILL.md +5 -5
  3. package/dist/api-client.js +1 -1
  4. package/dist/base.d.ts +1 -1
  5. package/dist/base.js +1 -1
  6. package/dist/commands/api.js +8 -8
  7. package/dist/commands/api.js.map +1 -1
  8. package/dist/commands/discover.js +4 -4
  9. package/dist/commands/discover.js.map +1 -1
  10. package/dist/commands/list-commands.js +1 -1
  11. package/dist/commands/list-commands.js.map +1 -1
  12. package/dist/commands/verify.d.ts +1 -1
  13. package/dist/commands/verify.d.ts.map +1 -1
  14. package/dist/commands/verify.js +4 -4
  15. package/dist/commands/verify.js.map +1 -1
  16. package/dist/verify/verify-export.d.ts +5 -5
  17. package/dist/verify/verify-export.d.ts.map +1 -1
  18. package/dist/verify/verify-export.js +2 -2
  19. package/dist/verify/verify-export.js.map +1 -1
  20. package/oclif.manifest.json +9 -3516
  21. package/package.json +2 -1
  22. package/dist/commands/admin/create-agent.d.ts +0 -16
  23. package/dist/commands/admin/create-agent.d.ts.map +0 -1
  24. package/dist/commands/admin/create-agent.js +0 -32
  25. package/dist/commands/admin/create-agent.js.map +0 -1
  26. package/dist/commands/admin/create-enterprise.d.ts +0 -17
  27. package/dist/commands/admin/create-enterprise.d.ts.map +0 -1
  28. package/dist/commands/admin/create-enterprise.js +0 -35
  29. package/dist/commands/admin/create-enterprise.js.map +0 -1
  30. package/dist/commands/admin/set-config.d.ts +0 -18
  31. package/dist/commands/admin/set-config.d.ts.map +0 -1
  32. package/dist/commands/admin/set-config.js +0 -39
  33. package/dist/commands/admin/set-config.js.map +0 -1
  34. package/dist/commands/agent/list.d.ts +0 -16
  35. package/dist/commands/agent/list.d.ts.map +0 -1
  36. package/dist/commands/agent/list.js +0 -28
  37. package/dist/commands/agent/list.js.map +0 -1
  38. package/dist/commands/agent/reputation.d.ts +0 -15
  39. package/dist/commands/agent/reputation.d.ts.map +0 -1
  40. package/dist/commands/agent/reputation.js +0 -20
  41. package/dist/commands/agent/reputation.js.map +0 -1
  42. package/dist/commands/audit/events.d.ts +0 -17
  43. package/dist/commands/audit/events.d.ts.map +0 -1
  44. package/dist/commands/audit/events.js +0 -33
  45. package/dist/commands/audit/events.js.map +0 -1
  46. package/dist/commands/audit/trail.d.ts +0 -15
  47. package/dist/commands/audit/trail.d.ts.map +0 -1
  48. package/dist/commands/audit/trail.js +0 -20
  49. package/dist/commands/audit/trail.js.map +0 -1
  50. package/dist/commands/federation/audit-log.d.ts +0 -16
  51. package/dist/commands/federation/audit-log.d.ts.map +0 -1
  52. package/dist/commands/federation/audit-log.js +0 -32
  53. package/dist/commands/federation/audit-log.js.map +0 -1
  54. package/dist/commands/federation/create-token.d.ts +0 -15
  55. package/dist/commands/federation/create-token.d.ts.map +0 -1
  56. package/dist/commands/federation/create-token.js +0 -31
  57. package/dist/commands/federation/create-token.js.map +0 -1
  58. package/dist/commands/federation/health.d.ts +0 -12
  59. package/dist/commands/federation/health.d.ts.map +0 -1
  60. package/dist/commands/federation/health.js +0 -16
  61. package/dist/commands/federation/health.js.map +0 -1
  62. package/dist/commands/federation/list-gateways.d.ts +0 -14
  63. package/dist/commands/federation/list-gateways.d.ts.map +0 -1
  64. package/dist/commands/federation/list-gateways.js +0 -29
  65. package/dist/commands/federation/list-gateways.js.map +0 -1
  66. package/dist/commands/federation/query-mandates.d.ts +0 -16
  67. package/dist/commands/federation/query-mandates.d.ts.map +0 -1
  68. package/dist/commands/federation/query-mandates.js +0 -35
  69. package/dist/commands/federation/query-mandates.js.map +0 -1
  70. package/dist/commands/federation/revoke-gateway.d.ts +0 -17
  71. package/dist/commands/federation/revoke-gateway.d.ts.map +0 -1
  72. package/dist/commands/federation/revoke-gateway.js +0 -30
  73. package/dist/commands/federation/revoke-gateway.js.map +0 -1
  74. package/dist/commands/mandate/accept.d.ts +0 -16
  75. package/dist/commands/mandate/accept.d.ts.map +0 -1
  76. package/dist/commands/mandate/accept.js +0 -27
  77. package/dist/commands/mandate/accept.js.map +0 -1
  78. package/dist/commands/mandate/batch.d.ts +0 -13
  79. package/dist/commands/mandate/batch.d.ts.map +0 -1
  80. package/dist/commands/mandate/batch.js +0 -21
  81. package/dist/commands/mandate/batch.js.map +0 -1
  82. package/dist/commands/mandate/cancel.d.ts +0 -17
  83. package/dist/commands/mandate/cancel.d.ts.map +0 -1
  84. package/dist/commands/mandate/cancel.js +0 -31
  85. package/dist/commands/mandate/cancel.js.map +0 -1
  86. package/dist/commands/mandate/chain.d.ts +0 -15
  87. package/dist/commands/mandate/chain.d.ts.map +0 -1
  88. package/dist/commands/mandate/chain.js +0 -20
  89. package/dist/commands/mandate/chain.js.map +0 -1
  90. package/dist/commands/mandate/counter-propose.d.ts +0 -18
  91. package/dist/commands/mandate/counter-propose.d.ts.map +0 -1
  92. package/dist/commands/mandate/counter-propose.js +0 -39
  93. package/dist/commands/mandate/counter-propose.js.map +0 -1
  94. package/dist/commands/mandate/create.d.ts +0 -19
  95. package/dist/commands/mandate/create.d.ts.map +0 -1
  96. package/dist/commands/mandate/create.js +0 -57
  97. package/dist/commands/mandate/create.js.map +0 -1
  98. package/dist/commands/mandate/get.d.ts +0 -15
  99. package/dist/commands/mandate/get.d.ts.map +0 -1
  100. package/dist/commands/mandate/get.js +0 -20
  101. package/dist/commands/mandate/get.js.map +0 -1
  102. package/dist/commands/mandate/list.d.ts +0 -17
  103. package/dist/commands/mandate/list.d.ts.map +0 -1
  104. package/dist/commands/mandate/list.js +0 -33
  105. package/dist/commands/mandate/list.js.map +0 -1
  106. package/dist/commands/mandate/outcome.d.ts +0 -21
  107. package/dist/commands/mandate/outcome.d.ts.map +0 -1
  108. package/dist/commands/mandate/outcome.js +0 -51
  109. package/dist/commands/mandate/outcome.js.map +0 -1
  110. package/dist/commands/mandate/receipts.d.ts +0 -20
  111. package/dist/commands/mandate/receipts.d.ts.map +0 -1
  112. package/dist/commands/mandate/receipts.js +0 -29
  113. package/dist/commands/mandate/receipts.js.map +0 -1
  114. package/dist/commands/mandate/reject.d.ts +0 -17
  115. package/dist/commands/mandate/reject.d.ts.map +0 -1
  116. package/dist/commands/mandate/reject.js +0 -31
  117. package/dist/commands/mandate/reject.js.map +0 -1
  118. package/dist/commands/mandate/request-revision.d.ts +0 -17
  119. package/dist/commands/mandate/request-revision.d.ts.map +0 -1
  120. package/dist/commands/mandate/request-revision.js +0 -31
  121. package/dist/commands/mandate/request-revision.js.map +0 -1
  122. package/dist/commands/mandate/transition.d.ts +0 -19
  123. package/dist/commands/mandate/transition.d.ts.map +0 -1
  124. package/dist/commands/mandate/transition.js +0 -38
  125. package/dist/commands/mandate/transition.js.map +0 -1
  126. package/dist/commands/receipt/get.d.ts +0 -16
  127. package/dist/commands/receipt/get.d.ts.map +0 -1
  128. package/dist/commands/receipt/get.js +0 -21
  129. package/dist/commands/receipt/get.js.map +0 -1
  130. package/dist/commands/receipt/list.d.ts +0 -17
  131. package/dist/commands/receipt/list.d.ts.map +0 -1
  132. package/dist/commands/receipt/list.js +0 -26
  133. package/dist/commands/receipt/list.js.map +0 -1
  134. package/dist/commands/receipt/submit.d.ts +0 -18
  135. package/dist/commands/receipt/submit.d.ts.map +0 -1
  136. package/dist/commands/receipt/submit.js +0 -38
  137. package/dist/commands/receipt/submit.js.map +0 -1
  138. package/dist/commands/schema/blank-template.d.ts +0 -13
  139. package/dist/commands/schema/blank-template.d.ts.map +0 -1
  140. package/dist/commands/schema/blank-template.js +0 -34
  141. package/dist/commands/schema/blank-template.js.map +0 -1
  142. package/dist/commands/schema/check-compatibility.d.ts +0 -17
  143. package/dist/commands/schema/check-compatibility.d.ts.map +0 -1
  144. package/dist/commands/schema/check-compatibility.js +0 -28
  145. package/dist/commands/schema/check-compatibility.js.map +0 -1
  146. package/dist/commands/schema/deprecate.d.ts +0 -17
  147. package/dist/commands/schema/deprecate.d.ts.map +0 -1
  148. package/dist/commands/schema/deprecate.js +0 -30
  149. package/dist/commands/schema/deprecate.js.map +0 -1
  150. package/dist/commands/schema/diff.d.ts +0 -17
  151. package/dist/commands/schema/diff.d.ts.map +0 -1
  152. package/dist/commands/schema/diff.js +0 -34
  153. package/dist/commands/schema/diff.js.map +0 -1
  154. package/dist/commands/schema/export.d.ts +0 -17
  155. package/dist/commands/schema/export.d.ts.map +0 -1
  156. package/dist/commands/schema/export.js +0 -36
  157. package/dist/commands/schema/export.js.map +0 -1
  158. package/dist/commands/schema/get-version.d.ts +0 -16
  159. package/dist/commands/schema/get-version.d.ts.map +0 -1
  160. package/dist/commands/schema/get-version.js +0 -23
  161. package/dist/commands/schema/get-version.js.map +0 -1
  162. package/dist/commands/schema/get.d.ts +0 -15
  163. package/dist/commands/schema/get.d.ts.map +0 -1
  164. package/dist/commands/schema/get.js +0 -20
  165. package/dist/commands/schema/get.js.map +0 -1
  166. package/dist/commands/schema/import.d.ts +0 -16
  167. package/dist/commands/schema/import.d.ts.map +0 -1
  168. package/dist/commands/schema/import.js +0 -32
  169. package/dist/commands/schema/import.js.map +0 -1
  170. package/dist/commands/schema/list.d.ts +0 -15
  171. package/dist/commands/schema/list.d.ts.map +0 -1
  172. package/dist/commands/schema/list.js +0 -27
  173. package/dist/commands/schema/list.js.map +0 -1
  174. package/dist/commands/schema/meta-schema.d.ts +0 -13
  175. package/dist/commands/schema/meta-schema.d.ts.map +0 -1
  176. package/dist/commands/schema/meta-schema.js +0 -34
  177. package/dist/commands/schema/meta-schema.js.map +0 -1
  178. package/dist/commands/schema/preview.d.ts +0 -15
  179. package/dist/commands/schema/preview.d.ts.map +0 -1
  180. package/dist/commands/schema/preview.js +0 -29
  181. package/dist/commands/schema/preview.js.map +0 -1
  182. package/dist/commands/schema/register.d.ts +0 -16
  183. package/dist/commands/schema/register.d.ts.map +0 -1
  184. package/dist/commands/schema/register.js +0 -28
  185. package/dist/commands/schema/register.js.map +0 -1
  186. package/dist/commands/schema/rules.d.ts +0 -15
  187. package/dist/commands/schema/rules.d.ts.map +0 -1
  188. package/dist/commands/schema/rules.js +0 -20
  189. package/dist/commands/schema/rules.js.map +0 -1
  190. package/dist/commands/schema/template.d.ts +0 -16
  191. package/dist/commands/schema/template.d.ts.map +0 -1
  192. package/dist/commands/schema/template.js +0 -37
  193. package/dist/commands/schema/template.js.map +0 -1
  194. package/dist/commands/schema/validate.d.ts +0 -16
  195. package/dist/commands/schema/validate.d.ts.map +0 -1
  196. package/dist/commands/schema/validate.js +0 -30
  197. package/dist/commands/schema/validate.js.map +0 -1
  198. package/dist/commands/schema/versions.d.ts +0 -18
  199. package/dist/commands/schema/versions.d.ts.map +0 -1
  200. package/dist/commands/schema/versions.js +0 -30
  201. package/dist/commands/schema/versions.js.map +0 -1
  202. package/dist/commands/status.d.ts +0 -12
  203. package/dist/commands/status.d.ts.map +0 -1
  204. package/dist/commands/status.js +0 -16
  205. package/dist/commands/status.js.map +0 -1
  206. package/dist/commands/verdict/render.d.ts +0 -18
  207. package/dist/commands/verdict/render.d.ts.map +0 -1
  208. package/dist/commands/verdict/render.js +0 -32
  209. package/dist/commands/verdict/render.js.map +0 -1
  210. package/dist/commands/verify-keys.d.ts +0 -12
  211. package/dist/commands/verify-keys.d.ts.map +0 -1
  212. package/dist/commands/verify-keys.js +0 -16
  213. package/dist/commands/verify-keys.js.map +0 -1
  214. package/dist/commands/webhook/create.d.ts +0 -15
  215. package/dist/commands/webhook/create.d.ts.map +0 -1
  216. package/dist/commands/webhook/create.js +0 -28
  217. package/dist/commands/webhook/create.js.map +0 -1
  218. package/dist/commands/webhook/delete.d.ts +0 -16
  219. package/dist/commands/webhook/delete.d.ts.map +0 -1
  220. package/dist/commands/webhook/delete.js +0 -27
  221. package/dist/commands/webhook/delete.js.map +0 -1
  222. package/dist/commands/webhook/list.d.ts +0 -16
  223. package/dist/commands/webhook/list.d.ts.map +0 -1
  224. package/dist/commands/webhook/list.js +0 -30
  225. package/dist/commands/webhook/list.js.map +0 -1
  226. package/dist/util/colors.d.ts +0 -6
  227. package/dist/util/colors.d.ts.map +0 -1
  228. package/dist/util/colors.js +0 -14
  229. package/dist/util/colors.js.map +0 -1
  230. package/dist/util/diff-formatter.d.ts +0 -32
  231. package/dist/util/diff-formatter.d.ts.map +0 -1
  232. package/dist/util/diff-formatter.js +0 -42
  233. package/dist/util/diff-formatter.js.map +0 -1
  234. package/dist/util/validation-formatter.d.ts +0 -17
  235. package/dist/util/validation-formatter.d.ts.map +0 -1
  236. package/dist/util/validation-formatter.js +0 -19
  237. package/dist/util/validation-formatter.js.map +0 -1
@@ -9,7 +9,7 @@
9
9
  "required": true
10
10
  },
11
11
  "path": {
12
- "description": "Full API path including version prefix (e.g. /v1/mandates, /health, /federation/v1/register)",
12
+ "description": "Full API path including version prefix (e.g. /v1/records, /health, /federation/v1/register)",
13
13
  "name": "path",
14
14
  "required": true
15
15
  }
@@ -17,12 +17,12 @@
17
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
18
  "examples": [
19
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"
20
+ "agledger api GET /v1/records -F status=ACTIVE -F limit=50",
21
+ "agledger api POST /v1/records --data '{\"type\":\"ACH-PROC-v1\",\"criteria\":{\"item_spec\":\"...\"}}'",
22
+ "agledger api POST /v1/records -F type=ACH-PROC-v1 -F criteria.item_spec=widgets -F criteria.quantity.target=500",
23
+ "agledger api POST /v1/records --input payload.json",
24
+ "cat payload.json | agledger api POST /v1/records --input -",
25
+ "agledger api GET /v1/records --paginate # streams all pages as NDJSON"
26
26
  ],
27
27
  "flags": {
28
28
  "json": {
@@ -511,104 +511,6 @@
511
511
  "logout.js"
512
512
  ]
513
513
  },
514
- "status": {
515
- "aliases": [],
516
- "args": {},
517
- "description": "Check AGLedger API health and status",
518
- "flags": {
519
- "json": {
520
- "description": "Force JSON output (default when stdout is piped)",
521
- "name": "json",
522
- "allowNo": false,
523
- "type": "boolean"
524
- },
525
- "quiet": {
526
- "description": "Suppress output (exit code only)",
527
- "name": "quiet",
528
- "allowNo": false,
529
- "type": "boolean"
530
- },
531
- "api-key": {
532
- "description": "AGLedger API key",
533
- "env": "AGLEDGER_API_KEY",
534
- "name": "api-key",
535
- "hasDynamicHelp": false,
536
- "multiple": false,
537
- "type": "option"
538
- },
539
- "api-url": {
540
- "description": "AGLedger API base URL",
541
- "env": "AGLEDGER_API_URL",
542
- "name": "api-url",
543
- "hasDynamicHelp": false,
544
- "multiple": false,
545
- "type": "option"
546
- }
547
- },
548
- "hasDynamicHelp": false,
549
- "hiddenAliases": [],
550
- "id": "status",
551
- "pluginAlias": "@agledger/cli",
552
- "pluginName": "@agledger/cli",
553
- "pluginType": "core",
554
- "strict": true,
555
- "enableJsonFlag": false,
556
- "isESM": true,
557
- "relativePath": [
558
- "dist",
559
- "commands",
560
- "status.js"
561
- ]
562
- },
563
- "verify-keys": {
564
- "aliases": [],
565
- "args": {},
566
- "description": "List vault signing public keys for independent audit chain verification",
567
- "flags": {
568
- "json": {
569
- "description": "Force JSON output (default when stdout is piped)",
570
- "name": "json",
571
- "allowNo": false,
572
- "type": "boolean"
573
- },
574
- "quiet": {
575
- "description": "Suppress output (exit code only)",
576
- "name": "quiet",
577
- "allowNo": false,
578
- "type": "boolean"
579
- },
580
- "api-key": {
581
- "description": "AGLedger API key",
582
- "env": "AGLEDGER_API_KEY",
583
- "name": "api-key",
584
- "hasDynamicHelp": false,
585
- "multiple": false,
586
- "type": "option"
587
- },
588
- "api-url": {
589
- "description": "AGLedger API base URL",
590
- "env": "AGLEDGER_API_URL",
591
- "name": "api-url",
592
- "hasDynamicHelp": false,
593
- "multiple": false,
594
- "type": "option"
595
- }
596
- },
597
- "hasDynamicHelp": false,
598
- "hiddenAliases": [],
599
- "id": "verify-keys",
600
- "pluginAlias": "@agledger/cli",
601
- "pluginName": "@agledger/cli",
602
- "pluginType": "core",
603
- "strict": true,
604
- "enableJsonFlag": false,
605
- "isESM": true,
606
- "relativePath": [
607
- "dist",
608
- "commands",
609
- "verify-keys.js"
610
- ]
611
- },
612
514
  "verify": {
613
515
  "aliases": [],
614
516
  "args": {
@@ -618,7 +520,7 @@
618
520
  "required": true
619
521
  }
620
522
  },
621
- "description": "Verify a mandate audit export offline (hash chain + Ed25519 signatures, RFC 8785).",
523
+ "description": "Verify a record audit export offline (hash chain + Ed25519 signatures, RFC 8785).",
622
524
  "examples": [
623
525
  "<%= config.bin %> verify audit-export.json",
624
526
  "<%= config.bin %> verify audit-export.json --keys vault-keys.json",
@@ -683,3416 +585,7 @@
683
585
  "commands",
684
586
  "verify.js"
685
587
  ]
686
- },
687
- "admin:create-agent": {
688
- "aliases": [],
689
- "args": {},
690
- "description": "Create a new agent (platform admin). Slug is auto-generated if omitted.",
691
- "flags": {
692
- "json": {
693
- "description": "Force JSON output (default when stdout is piped)",
694
- "name": "json",
695
- "allowNo": false,
696
- "type": "boolean"
697
- },
698
- "quiet": {
699
- "description": "Suppress output (exit code only)",
700
- "name": "quiet",
701
- "allowNo": false,
702
- "type": "boolean"
703
- },
704
- "api-key": {
705
- "description": "AGLedger API key",
706
- "env": "AGLEDGER_API_KEY",
707
- "name": "api-key",
708
- "hasDynamicHelp": false,
709
- "multiple": false,
710
- "type": "option"
711
- },
712
- "api-url": {
713
- "description": "AGLedger API base URL",
714
- "env": "AGLEDGER_API_URL",
715
- "name": "api-url",
716
- "hasDynamicHelp": false,
717
- "multiple": false,
718
- "type": "option"
719
- },
720
- "name": {
721
- "description": "Display name for the agent",
722
- "name": "name",
723
- "required": true,
724
- "hasDynamicHelp": false,
725
- "multiple": false,
726
- "type": "option"
727
- },
728
- "slug": {
729
- "description": "URL-safe slug (auto-generated from name if omitted)",
730
- "name": "slug",
731
- "hasDynamicHelp": false,
732
- "multiple": false,
733
- "type": "option"
734
- },
735
- "email": {
736
- "description": "Contact email",
737
- "name": "email",
738
- "hasDynamicHelp": false,
739
- "multiple": false,
740
- "type": "option"
741
- },
742
- "dry-run": {
743
- "description": "Show what would be sent without calling the API",
744
- "name": "dry-run",
745
- "allowNo": false,
746
- "type": "boolean"
747
- }
748
- },
749
- "hasDynamicHelp": false,
750
- "hiddenAliases": [],
751
- "id": "admin:create-agent",
752
- "pluginAlias": "@agledger/cli",
753
- "pluginName": "@agledger/cli",
754
- "pluginType": "core",
755
- "strict": true,
756
- "enableJsonFlag": false,
757
- "isESM": true,
758
- "relativePath": [
759
- "dist",
760
- "commands",
761
- "admin",
762
- "create-agent.js"
763
- ]
764
- },
765
- "admin:create-enterprise": {
766
- "aliases": [],
767
- "args": {},
768
- "description": "Create a new enterprise (platform admin). Slug is auto-generated if omitted.",
769
- "flags": {
770
- "json": {
771
- "description": "Force JSON output (default when stdout is piped)",
772
- "name": "json",
773
- "allowNo": false,
774
- "type": "boolean"
775
- },
776
- "quiet": {
777
- "description": "Suppress output (exit code only)",
778
- "name": "quiet",
779
- "allowNo": false,
780
- "type": "boolean"
781
- },
782
- "api-key": {
783
- "description": "AGLedger API key",
784
- "env": "AGLEDGER_API_KEY",
785
- "name": "api-key",
786
- "hasDynamicHelp": false,
787
- "multiple": false,
788
- "type": "option"
789
- },
790
- "api-url": {
791
- "description": "AGLedger API base URL",
792
- "env": "AGLEDGER_API_URL",
793
- "name": "api-url",
794
- "hasDynamicHelp": false,
795
- "multiple": false,
796
- "type": "option"
797
- },
798
- "name": {
799
- "description": "Legal or display name for the enterprise",
800
- "name": "name",
801
- "required": true,
802
- "hasDynamicHelp": false,
803
- "multiple": false,
804
- "type": "option"
805
- },
806
- "slug": {
807
- "description": "URL-safe slug (auto-generated from name if omitted)",
808
- "name": "slug",
809
- "hasDynamicHelp": false,
810
- "multiple": false,
811
- "type": "option"
812
- },
813
- "email": {
814
- "description": "Contact email",
815
- "name": "email",
816
- "hasDynamicHelp": false,
817
- "multiple": false,
818
- "type": "option"
819
- },
820
- "trust-level": {
821
- "description": "Initial trust level (sandbox, active, verified)",
822
- "name": "trust-level",
823
- "hasDynamicHelp": false,
824
- "multiple": false,
825
- "type": "option"
826
- },
827
- "dry-run": {
828
- "description": "Show what would be sent without calling the API",
829
- "name": "dry-run",
830
- "allowNo": false,
831
- "type": "boolean"
832
- }
833
- },
834
- "hasDynamicHelp": false,
835
- "hiddenAliases": [],
836
- "id": "admin:create-enterprise",
837
- "pluginAlias": "@agledger/cli",
838
- "pluginName": "@agledger/cli",
839
- "pluginType": "core",
840
- "strict": true,
841
- "enableJsonFlag": false,
842
- "isESM": true,
843
- "relativePath": [
844
- "dist",
845
- "commands",
846
- "admin",
847
- "create-enterprise.js"
848
- ]
849
- },
850
- "admin:set-config": {
851
- "aliases": [],
852
- "args": {
853
- "enterpriseId": {
854
- "description": "Enterprise ID to configure",
855
- "name": "enterpriseId",
856
- "required": true
857
- }
858
- },
859
- "description": "Set an enterprise's approval configuration (PUT). Omitted fields are removed.",
860
- "flags": {
861
- "json": {
862
- "description": "Force JSON output (default when stdout is piped)",
863
- "name": "json",
864
- "allowNo": false,
865
- "type": "boolean"
866
- },
867
- "quiet": {
868
- "description": "Suppress output (exit code only)",
869
- "name": "quiet",
870
- "allowNo": false,
871
- "type": "boolean"
872
- },
873
- "api-key": {
874
- "description": "AGLedger API key",
875
- "env": "AGLEDGER_API_KEY",
876
- "name": "api-key",
877
- "hasDynamicHelp": false,
878
- "multiple": false,
879
- "type": "option"
880
- },
881
- "api-url": {
882
- "description": "AGLedger API base URL",
883
- "env": "AGLEDGER_API_URL",
884
- "name": "api-url",
885
- "hasDynamicHelp": false,
886
- "multiple": false,
887
- "type": "option"
888
- },
889
- "data": {
890
- "description": "Config as JSON string",
891
- "name": "data",
892
- "hasDynamicHelp": false,
893
- "multiple": false,
894
- "type": "option"
895
- },
896
- "file": {
897
- "description": "Read config from JSON file",
898
- "name": "file",
899
- "hasDynamicHelp": false,
900
- "multiple": false,
901
- "type": "option"
902
- },
903
- "dry-run": {
904
- "description": "Show what would be sent without calling the API",
905
- "name": "dry-run",
906
- "allowNo": false,
907
- "type": "boolean"
908
- }
909
- },
910
- "hasDynamicHelp": false,
911
- "hiddenAliases": [],
912
- "id": "admin:set-config",
913
- "pluginAlias": "@agledger/cli",
914
- "pluginName": "@agledger/cli",
915
- "pluginType": "core",
916
- "strict": true,
917
- "enableJsonFlag": false,
918
- "isESM": true,
919
- "relativePath": [
920
- "dist",
921
- "commands",
922
- "admin",
923
- "set-config.js"
924
- ]
925
- },
926
- "agent:list": {
927
- "aliases": [],
928
- "args": {},
929
- "description": "List agents in an enterprise",
930
- "flags": {
931
- "json": {
932
- "description": "Force JSON output (default when stdout is piped)",
933
- "name": "json",
934
- "allowNo": false,
935
- "type": "boolean"
936
- },
937
- "quiet": {
938
- "description": "Suppress output (exit code only)",
939
- "name": "quiet",
940
- "allowNo": false,
941
- "type": "boolean"
942
- },
943
- "api-key": {
944
- "description": "AGLedger API key",
945
- "env": "AGLEDGER_API_KEY",
946
- "name": "api-key",
947
- "hasDynamicHelp": false,
948
- "multiple": false,
949
- "type": "option"
950
- },
951
- "api-url": {
952
- "description": "AGLedger API base URL",
953
- "env": "AGLEDGER_API_URL",
954
- "name": "api-url",
955
- "hasDynamicHelp": false,
956
- "multiple": false,
957
- "type": "option"
958
- },
959
- "enterprise": {
960
- "description": "Enterprise ID",
961
- "name": "enterprise",
962
- "required": true,
963
- "hasDynamicHelp": false,
964
- "multiple": false,
965
- "type": "option"
966
- },
967
- "limit": {
968
- "description": "Max results per page",
969
- "name": "limit",
970
- "default": 25,
971
- "hasDynamicHelp": false,
972
- "multiple": false,
973
- "type": "option"
974
- },
975
- "cursor": {
976
- "description": "Pagination cursor",
977
- "name": "cursor",
978
- "hasDynamicHelp": false,
979
- "multiple": false,
980
- "type": "option"
981
- },
982
- "all": {
983
- "description": "Stream all pages as NDJSON",
984
- "name": "all",
985
- "allowNo": false,
986
- "type": "boolean"
987
- }
988
- },
989
- "hasDynamicHelp": false,
990
- "hiddenAliases": [],
991
- "id": "agent:list",
992
- "pluginAlias": "@agledger/cli",
993
- "pluginName": "@agledger/cli",
994
- "pluginType": "core",
995
- "strict": true,
996
- "enableJsonFlag": false,
997
- "isESM": true,
998
- "relativePath": [
999
- "dist",
1000
- "commands",
1001
- "agent",
1002
- "list.js"
1003
- ]
1004
- },
1005
- "agent:reputation": {
1006
- "aliases": [],
1007
- "args": {
1008
- "agentId": {
1009
- "description": "Agent ID",
1010
- "name": "agentId",
1011
- "required": true
1012
- }
1013
- },
1014
- "description": "Get reputation score for an agent",
1015
- "flags": {
1016
- "json": {
1017
- "description": "Force JSON output (default when stdout is piped)",
1018
- "name": "json",
1019
- "allowNo": false,
1020
- "type": "boolean"
1021
- },
1022
- "quiet": {
1023
- "description": "Suppress output (exit code only)",
1024
- "name": "quiet",
1025
- "allowNo": false,
1026
- "type": "boolean"
1027
- },
1028
- "api-key": {
1029
- "description": "AGLedger API key",
1030
- "env": "AGLEDGER_API_KEY",
1031
- "name": "api-key",
1032
- "hasDynamicHelp": false,
1033
- "multiple": false,
1034
- "type": "option"
1035
- },
1036
- "api-url": {
1037
- "description": "AGLedger API base URL",
1038
- "env": "AGLEDGER_API_URL",
1039
- "name": "api-url",
1040
- "hasDynamicHelp": false,
1041
- "multiple": false,
1042
- "type": "option"
1043
- }
1044
- },
1045
- "hasDynamicHelp": false,
1046
- "hiddenAliases": [],
1047
- "id": "agent:reputation",
1048
- "pluginAlias": "@agledger/cli",
1049
- "pluginName": "@agledger/cli",
1050
- "pluginType": "core",
1051
- "strict": true,
1052
- "enableJsonFlag": false,
1053
- "isESM": true,
1054
- "relativePath": [
1055
- "dist",
1056
- "commands",
1057
- "agent",
1058
- "reputation.js"
1059
- ]
1060
- },
1061
- "audit:events": {
1062
- "aliases": [],
1063
- "args": {},
1064
- "description": "List audit events",
1065
- "flags": {
1066
- "json": {
1067
- "description": "Force JSON output (default when stdout is piped)",
1068
- "name": "json",
1069
- "allowNo": false,
1070
- "type": "boolean"
1071
- },
1072
- "quiet": {
1073
- "description": "Suppress output (exit code only)",
1074
- "name": "quiet",
1075
- "allowNo": false,
1076
- "type": "boolean"
1077
- },
1078
- "api-key": {
1079
- "description": "AGLedger API key",
1080
- "env": "AGLEDGER_API_KEY",
1081
- "name": "api-key",
1082
- "hasDynamicHelp": false,
1083
- "multiple": false,
1084
- "type": "option"
1085
- },
1086
- "api-url": {
1087
- "description": "AGLedger API base URL",
1088
- "env": "AGLEDGER_API_URL",
1089
- "name": "api-url",
1090
- "hasDynamicHelp": false,
1091
- "multiple": false,
1092
- "type": "option"
1093
- },
1094
- "since": {
1095
- "description": "ISO 8601 timestamp — list events after this time",
1096
- "name": "since",
1097
- "required": true,
1098
- "hasDynamicHelp": false,
1099
- "multiple": false,
1100
- "type": "option"
1101
- },
1102
- "order": {
1103
- "description": "Sort order",
1104
- "name": "order",
1105
- "default": "desc",
1106
- "hasDynamicHelp": false,
1107
- "multiple": false,
1108
- "options": [
1109
- "asc",
1110
- "desc"
1111
- ],
1112
- "type": "option"
1113
- },
1114
- "limit": {
1115
- "description": "Max results per page",
1116
- "name": "limit",
1117
- "default": 25,
1118
- "hasDynamicHelp": false,
1119
- "multiple": false,
1120
- "type": "option"
1121
- },
1122
- "cursor": {
1123
- "description": "Pagination cursor",
1124
- "name": "cursor",
1125
- "hasDynamicHelp": false,
1126
- "multiple": false,
1127
- "type": "option"
1128
- },
1129
- "all": {
1130
- "description": "Stream all pages as NDJSON",
1131
- "name": "all",
1132
- "allowNo": false,
1133
- "type": "boolean"
1134
- }
1135
- },
1136
- "hasDynamicHelp": false,
1137
- "hiddenAliases": [],
1138
- "id": "audit:events",
1139
- "pluginAlias": "@agledger/cli",
1140
- "pluginName": "@agledger/cli",
1141
- "pluginType": "core",
1142
- "strict": true,
1143
- "enableJsonFlag": false,
1144
- "isESM": true,
1145
- "relativePath": [
1146
- "dist",
1147
- "commands",
1148
- "audit",
1149
- "events.js"
1150
- ]
1151
- },
1152
- "audit:trail": {
1153
- "aliases": [],
1154
- "args": {
1155
- "mandateId": {
1156
- "description": "Mandate ID",
1157
- "name": "mandateId",
1158
- "required": true
1159
- }
1160
- },
1161
- "description": "Get the hash-chained audit trail for a mandate",
1162
- "flags": {
1163
- "json": {
1164
- "description": "Force JSON output (default when stdout is piped)",
1165
- "name": "json",
1166
- "allowNo": false,
1167
- "type": "boolean"
1168
- },
1169
- "quiet": {
1170
- "description": "Suppress output (exit code only)",
1171
- "name": "quiet",
1172
- "allowNo": false,
1173
- "type": "boolean"
1174
- },
1175
- "api-key": {
1176
- "description": "AGLedger API key",
1177
- "env": "AGLEDGER_API_KEY",
1178
- "name": "api-key",
1179
- "hasDynamicHelp": false,
1180
- "multiple": false,
1181
- "type": "option"
1182
- },
1183
- "api-url": {
1184
- "description": "AGLedger API base URL",
1185
- "env": "AGLEDGER_API_URL",
1186
- "name": "api-url",
1187
- "hasDynamicHelp": false,
1188
- "multiple": false,
1189
- "type": "option"
1190
- }
1191
- },
1192
- "hasDynamicHelp": false,
1193
- "hiddenAliases": [],
1194
- "id": "audit:trail",
1195
- "pluginAlias": "@agledger/cli",
1196
- "pluginName": "@agledger/cli",
1197
- "pluginType": "core",
1198
- "strict": true,
1199
- "enableJsonFlag": false,
1200
- "isESM": true,
1201
- "relativePath": [
1202
- "dist",
1203
- "commands",
1204
- "audit",
1205
- "trail.js"
1206
- ]
1207
- },
1208
- "federation:audit-log": {
1209
- "aliases": [],
1210
- "args": {},
1211
- "description": "Query the federation audit log for gateway and mandate events.",
1212
- "flags": {
1213
- "json": {
1214
- "description": "Force JSON output (default when stdout is piped)",
1215
- "name": "json",
1216
- "allowNo": false,
1217
- "type": "boolean"
1218
- },
1219
- "quiet": {
1220
- "description": "Suppress output (exit code only)",
1221
- "name": "quiet",
1222
- "allowNo": false,
1223
- "type": "boolean"
1224
- },
1225
- "api-key": {
1226
- "description": "AGLedger API key",
1227
- "env": "AGLEDGER_API_KEY",
1228
- "name": "api-key",
1229
- "hasDynamicHelp": false,
1230
- "multiple": false,
1231
- "type": "option"
1232
- },
1233
- "api-url": {
1234
- "description": "AGLedger API base URL",
1235
- "env": "AGLEDGER_API_URL",
1236
- "name": "api-url",
1237
- "hasDynamicHelp": false,
1238
- "multiple": false,
1239
- "type": "option"
1240
- },
1241
- "gateway-id": {
1242
- "description": "Filter by gateway ID",
1243
- "name": "gateway-id",
1244
- "hasDynamicHelp": false,
1245
- "multiple": false,
1246
- "type": "option"
1247
- },
1248
- "entry-type": {
1249
- "description": "Filter by audit entry type",
1250
- "name": "entry-type",
1251
- "hasDynamicHelp": false,
1252
- "multiple": false,
1253
- "type": "option"
1254
- },
1255
- "mandate-id": {
1256
- "description": "Filter by mandate ID",
1257
- "name": "mandate-id",
1258
- "hasDynamicHelp": false,
1259
- "multiple": false,
1260
- "type": "option"
1261
- },
1262
- "limit": {
1263
- "description": "Maximum number of entries to return",
1264
- "name": "limit",
1265
- "hasDynamicHelp": false,
1266
- "multiple": false,
1267
- "type": "option"
1268
- }
1269
- },
1270
- "hasDynamicHelp": false,
1271
- "hiddenAliases": [],
1272
- "id": "federation:audit-log",
1273
- "pluginAlias": "@agledger/cli",
1274
- "pluginName": "@agledger/cli",
1275
- "pluginType": "core",
1276
- "strict": true,
1277
- "enableJsonFlag": false,
1278
- "isESM": true,
1279
- "relativePath": [
1280
- "dist",
1281
- "commands",
1282
- "federation",
1283
- "audit-log.js"
1284
- ]
1285
- },
1286
- "federation:create-token": {
1287
- "aliases": [],
1288
- "args": {},
1289
- "description": "Create a federation registration token for gateway onboarding.",
1290
- "flags": {
1291
- "json": {
1292
- "description": "Force JSON output (default when stdout is piped)",
1293
- "name": "json",
1294
- "allowNo": false,
1295
- "type": "boolean"
1296
- },
1297
- "quiet": {
1298
- "description": "Suppress output (exit code only)",
1299
- "name": "quiet",
1300
- "allowNo": false,
1301
- "type": "boolean"
1302
- },
1303
- "api-key": {
1304
- "description": "AGLedger API key",
1305
- "env": "AGLEDGER_API_KEY",
1306
- "name": "api-key",
1307
- "hasDynamicHelp": false,
1308
- "multiple": false,
1309
- "type": "option"
1310
- },
1311
- "api-url": {
1312
- "description": "AGLedger API base URL",
1313
- "env": "AGLEDGER_API_URL",
1314
- "name": "api-url",
1315
- "hasDynamicHelp": false,
1316
- "multiple": false,
1317
- "type": "option"
1318
- },
1319
- "label": {
1320
- "description": "Human-readable label for the token",
1321
- "name": "label",
1322
- "hasDynamicHelp": false,
1323
- "multiple": false,
1324
- "type": "option"
1325
- },
1326
- "expires-in-hours": {
1327
- "description": "Token expiry in hours (default: server-configured)",
1328
- "name": "expires-in-hours",
1329
- "hasDynamicHelp": false,
1330
- "multiple": false,
1331
- "type": "option"
1332
- },
1333
- "dry-run": {
1334
- "description": "Show what would be sent without calling the API",
1335
- "name": "dry-run",
1336
- "allowNo": false,
1337
- "type": "boolean"
1338
- }
1339
- },
1340
- "hasDynamicHelp": false,
1341
- "hiddenAliases": [],
1342
- "id": "federation:create-token",
1343
- "pluginAlias": "@agledger/cli",
1344
- "pluginName": "@agledger/cli",
1345
- "pluginType": "core",
1346
- "strict": true,
1347
- "enableJsonFlag": false,
1348
- "isESM": true,
1349
- "relativePath": [
1350
- "dist",
1351
- "commands",
1352
- "federation",
1353
- "create-token.js"
1354
- ]
1355
- },
1356
- "federation:health": {
1357
- "aliases": [],
1358
- "args": {},
1359
- "description": "Show federation health summary (gateway counts, sync status, uptime).",
1360
- "flags": {
1361
- "json": {
1362
- "description": "Force JSON output (default when stdout is piped)",
1363
- "name": "json",
1364
- "allowNo": false,
1365
- "type": "boolean"
1366
- },
1367
- "quiet": {
1368
- "description": "Suppress output (exit code only)",
1369
- "name": "quiet",
1370
- "allowNo": false,
1371
- "type": "boolean"
1372
- },
1373
- "api-key": {
1374
- "description": "AGLedger API key",
1375
- "env": "AGLEDGER_API_KEY",
1376
- "name": "api-key",
1377
- "hasDynamicHelp": false,
1378
- "multiple": false,
1379
- "type": "option"
1380
- },
1381
- "api-url": {
1382
- "description": "AGLedger API base URL",
1383
- "env": "AGLEDGER_API_URL",
1384
- "name": "api-url",
1385
- "hasDynamicHelp": false,
1386
- "multiple": false,
1387
- "type": "option"
1388
- }
1389
- },
1390
- "hasDynamicHelp": false,
1391
- "hiddenAliases": [],
1392
- "id": "federation:health",
1393
- "pluginAlias": "@agledger/cli",
1394
- "pluginName": "@agledger/cli",
1395
- "pluginType": "core",
1396
- "strict": true,
1397
- "enableJsonFlag": false,
1398
- "isESM": true,
1399
- "relativePath": [
1400
- "dist",
1401
- "commands",
1402
- "federation",
1403
- "health.js"
1404
- ]
1405
- },
1406
- "federation:list-gateways": {
1407
- "aliases": [],
1408
- "args": {},
1409
- "description": "List federation gateways with optional status filter.",
1410
- "flags": {
1411
- "json": {
1412
- "description": "Force JSON output (default when stdout is piped)",
1413
- "name": "json",
1414
- "allowNo": false,
1415
- "type": "boolean"
1416
- },
1417
- "quiet": {
1418
- "description": "Suppress output (exit code only)",
1419
- "name": "quiet",
1420
- "allowNo": false,
1421
- "type": "boolean"
1422
- },
1423
- "api-key": {
1424
- "description": "AGLedger API key",
1425
- "env": "AGLEDGER_API_KEY",
1426
- "name": "api-key",
1427
- "hasDynamicHelp": false,
1428
- "multiple": false,
1429
- "type": "option"
1430
- },
1431
- "api-url": {
1432
- "description": "AGLedger API base URL",
1433
- "env": "AGLEDGER_API_URL",
1434
- "name": "api-url",
1435
- "hasDynamicHelp": false,
1436
- "multiple": false,
1437
- "type": "option"
1438
- },
1439
- "status": {
1440
- "description": "Filter by gateway status",
1441
- "name": "status",
1442
- "hasDynamicHelp": false,
1443
- "multiple": false,
1444
- "options": [
1445
- "active",
1446
- "suspended",
1447
- "revoked"
1448
- ],
1449
- "type": "option"
1450
- },
1451
- "limit": {
1452
- "description": "Maximum number of results to return",
1453
- "name": "limit",
1454
- "hasDynamicHelp": false,
1455
- "multiple": false,
1456
- "type": "option"
1457
- }
1458
- },
1459
- "hasDynamicHelp": false,
1460
- "hiddenAliases": [],
1461
- "id": "federation:list-gateways",
1462
- "pluginAlias": "@agledger/cli",
1463
- "pluginName": "@agledger/cli",
1464
- "pluginType": "core",
1465
- "strict": true,
1466
- "enableJsonFlag": false,
1467
- "isESM": true,
1468
- "relativePath": [
1469
- "dist",
1470
- "commands",
1471
- "federation",
1472
- "list-gateways.js"
1473
- ]
1474
- },
1475
- "federation:query-mandates": {
1476
- "aliases": [],
1477
- "args": {},
1478
- "description": "Query federated mandates across gateways.",
1479
- "flags": {
1480
- "json": {
1481
- "description": "Force JSON output (default when stdout is piped)",
1482
- "name": "json",
1483
- "allowNo": false,
1484
- "type": "boolean"
1485
- },
1486
- "quiet": {
1487
- "description": "Suppress output (exit code only)",
1488
- "name": "quiet",
1489
- "allowNo": false,
1490
- "type": "boolean"
1491
- },
1492
- "api-key": {
1493
- "description": "AGLedger API key",
1494
- "env": "AGLEDGER_API_KEY",
1495
- "name": "api-key",
1496
- "hasDynamicHelp": false,
1497
- "multiple": false,
1498
- "type": "option"
1499
- },
1500
- "api-url": {
1501
- "description": "AGLedger API base URL",
1502
- "env": "AGLEDGER_API_URL",
1503
- "name": "api-url",
1504
- "hasDynamicHelp": false,
1505
- "multiple": false,
1506
- "type": "option"
1507
- },
1508
- "gateway-id": {
1509
- "description": "Filter by originating gateway ID",
1510
- "name": "gateway-id",
1511
- "hasDynamicHelp": false,
1512
- "multiple": false,
1513
- "type": "option"
1514
- },
1515
- "hub-state": {
1516
- "description": "Filter by hub-side mandate state",
1517
- "name": "hub-state",
1518
- "hasDynamicHelp": false,
1519
- "multiple": false,
1520
- "options": [
1521
- "OFFERED",
1522
- "ACCEPTED",
1523
- "ACTIVE",
1524
- "COMPLETED",
1525
- "DISPUTED",
1526
- "TERMINAL"
1527
- ],
1528
- "type": "option"
1529
- },
1530
- "contract-type": {
1531
- "description": "Filter by contract type (e.g. ACH-PROC-v1)",
1532
- "name": "contract-type",
1533
- "hasDynamicHelp": false,
1534
- "multiple": false,
1535
- "type": "option"
1536
- },
1537
- "limit": {
1538
- "description": "Maximum number of results to return",
1539
- "name": "limit",
1540
- "hasDynamicHelp": false,
1541
- "multiple": false,
1542
- "type": "option"
1543
- }
1544
- },
1545
- "hasDynamicHelp": false,
1546
- "hiddenAliases": [],
1547
- "id": "federation:query-mandates",
1548
- "pluginAlias": "@agledger/cli",
1549
- "pluginName": "@agledger/cli",
1550
- "pluginType": "core",
1551
- "strict": true,
1552
- "enableJsonFlag": false,
1553
- "isESM": true,
1554
- "relativePath": [
1555
- "dist",
1556
- "commands",
1557
- "federation",
1558
- "query-mandates.js"
1559
- ]
1560
- },
1561
- "federation:revoke-gateway": {
1562
- "aliases": [],
1563
- "args": {
1564
- "gateway_id": {
1565
- "description": "Gateway ID to revoke",
1566
- "name": "gateway_id",
1567
- "required": true
1568
- }
1569
- },
1570
- "description": "Revoke a federation gateway, severing its connection to the hub.",
1571
- "flags": {
1572
- "json": {
1573
- "description": "Force JSON output (default when stdout is piped)",
1574
- "name": "json",
1575
- "allowNo": false,
1576
- "type": "boolean"
1577
- },
1578
- "quiet": {
1579
- "description": "Suppress output (exit code only)",
1580
- "name": "quiet",
1581
- "allowNo": false,
1582
- "type": "boolean"
1583
- },
1584
- "api-key": {
1585
- "description": "AGLedger API key",
1586
- "env": "AGLEDGER_API_KEY",
1587
- "name": "api-key",
1588
- "hasDynamicHelp": false,
1589
- "multiple": false,
1590
- "type": "option"
1591
- },
1592
- "api-url": {
1593
- "description": "AGLedger API base URL",
1594
- "env": "AGLEDGER_API_URL",
1595
- "name": "api-url",
1596
- "hasDynamicHelp": false,
1597
- "multiple": false,
1598
- "type": "option"
1599
- },
1600
- "reason": {
1601
- "description": "Reason for revocation",
1602
- "name": "reason",
1603
- "required": true,
1604
- "hasDynamicHelp": false,
1605
- "multiple": false,
1606
- "type": "option"
1607
- },
1608
- "dry-run": {
1609
- "description": "Show what would be sent without calling the API",
1610
- "name": "dry-run",
1611
- "allowNo": false,
1612
- "type": "boolean"
1613
- }
1614
- },
1615
- "hasDynamicHelp": false,
1616
- "hiddenAliases": [],
1617
- "id": "federation:revoke-gateway",
1618
- "pluginAlias": "@agledger/cli",
1619
- "pluginName": "@agledger/cli",
1620
- "pluginType": "core",
1621
- "strict": true,
1622
- "enableJsonFlag": false,
1623
- "isESM": true,
1624
- "relativePath": [
1625
- "dist",
1626
- "commands",
1627
- "federation",
1628
- "revoke-gateway.js"
1629
- ]
1630
- },
1631
- "mandate:accept": {
1632
- "aliases": [],
1633
- "args": {
1634
- "id": {
1635
- "description": "Mandate ID",
1636
- "name": "id",
1637
- "required": true
1638
- }
1639
- },
1640
- "description": "Accept a proposed mandate (as performer)",
1641
- "flags": {
1642
- "json": {
1643
- "description": "Force JSON output (default when stdout is piped)",
1644
- "name": "json",
1645
- "allowNo": false,
1646
- "type": "boolean"
1647
- },
1648
- "quiet": {
1649
- "description": "Suppress output (exit code only)",
1650
- "name": "quiet",
1651
- "allowNo": false,
1652
- "type": "boolean"
1653
- },
1654
- "api-key": {
1655
- "description": "AGLedger API key",
1656
- "env": "AGLEDGER_API_KEY",
1657
- "name": "api-key",
1658
- "hasDynamicHelp": false,
1659
- "multiple": false,
1660
- "type": "option"
1661
- },
1662
- "api-url": {
1663
- "description": "AGLedger API base URL",
1664
- "env": "AGLEDGER_API_URL",
1665
- "name": "api-url",
1666
- "hasDynamicHelp": false,
1667
- "multiple": false,
1668
- "type": "option"
1669
- },
1670
- "dry-run": {
1671
- "description": "Show what would be sent without hitting the API",
1672
- "name": "dry-run",
1673
- "allowNo": false,
1674
- "type": "boolean"
1675
- }
1676
- },
1677
- "hasDynamicHelp": false,
1678
- "hiddenAliases": [],
1679
- "id": "mandate:accept",
1680
- "pluginAlias": "@agledger/cli",
1681
- "pluginName": "@agledger/cli",
1682
- "pluginType": "core",
1683
- "strict": true,
1684
- "enableJsonFlag": false,
1685
- "isESM": true,
1686
- "relativePath": [
1687
- "dist",
1688
- "commands",
1689
- "mandate",
1690
- "accept.js"
1691
- ]
1692
- },
1693
- "mandate:batch": {
1694
- "aliases": [],
1695
- "args": {},
1696
- "description": "Fetch multiple mandates by ID (up to 100). Outputs NDJSON.",
1697
- "flags": {
1698
- "json": {
1699
- "description": "Force JSON output (default when stdout is piped)",
1700
- "name": "json",
1701
- "allowNo": false,
1702
- "type": "boolean"
1703
- },
1704
- "quiet": {
1705
- "description": "Suppress output (exit code only)",
1706
- "name": "quiet",
1707
- "allowNo": false,
1708
- "type": "boolean"
1709
- },
1710
- "api-key": {
1711
- "description": "AGLedger API key",
1712
- "env": "AGLEDGER_API_KEY",
1713
- "name": "api-key",
1714
- "hasDynamicHelp": false,
1715
- "multiple": false,
1716
- "type": "option"
1717
- },
1718
- "api-url": {
1719
- "description": "AGLedger API base URL",
1720
- "env": "AGLEDGER_API_URL",
1721
- "name": "api-url",
1722
- "hasDynamicHelp": false,
1723
- "multiple": false,
1724
- "type": "option"
1725
- },
1726
- "ids": {
1727
- "description": "Comma-separated mandate IDs",
1728
- "name": "ids",
1729
- "required": true,
1730
- "hasDynamicHelp": false,
1731
- "multiple": false,
1732
- "type": "option"
1733
- }
1734
- },
1735
- "hasDynamicHelp": false,
1736
- "hiddenAliases": [],
1737
- "id": "mandate:batch",
1738
- "pluginAlias": "@agledger/cli",
1739
- "pluginName": "@agledger/cli",
1740
- "pluginType": "core",
1741
- "strict": true,
1742
- "enableJsonFlag": false,
1743
- "isESM": true,
1744
- "relativePath": [
1745
- "dist",
1746
- "commands",
1747
- "mandate",
1748
- "batch.js"
1749
- ]
1750
- },
1751
- "mandate:cancel": {
1752
- "aliases": [],
1753
- "args": {
1754
- "id": {
1755
- "description": "Mandate ID",
1756
- "name": "id",
1757
- "required": true
1758
- }
1759
- },
1760
- "description": "Cancel a mandate",
1761
- "flags": {
1762
- "json": {
1763
- "description": "Force JSON output (default when stdout is piped)",
1764
- "name": "json",
1765
- "allowNo": false,
1766
- "type": "boolean"
1767
- },
1768
- "quiet": {
1769
- "description": "Suppress output (exit code only)",
1770
- "name": "quiet",
1771
- "allowNo": false,
1772
- "type": "boolean"
1773
- },
1774
- "api-key": {
1775
- "description": "AGLedger API key",
1776
- "env": "AGLEDGER_API_KEY",
1777
- "name": "api-key",
1778
- "hasDynamicHelp": false,
1779
- "multiple": false,
1780
- "type": "option"
1781
- },
1782
- "api-url": {
1783
- "description": "AGLedger API base URL",
1784
- "env": "AGLEDGER_API_URL",
1785
- "name": "api-url",
1786
- "hasDynamicHelp": false,
1787
- "multiple": false,
1788
- "type": "option"
1789
- },
1790
- "reason": {
1791
- "description": "Cancellation reason",
1792
- "name": "reason",
1793
- "hasDynamicHelp": false,
1794
- "multiple": false,
1795
- "type": "option"
1796
- },
1797
- "dry-run": {
1798
- "description": "Show what would be sent without hitting the API",
1799
- "name": "dry-run",
1800
- "allowNo": false,
1801
- "type": "boolean"
1802
- }
1803
- },
1804
- "hasDynamicHelp": false,
1805
- "hiddenAliases": [],
1806
- "id": "mandate:cancel",
1807
- "pluginAlias": "@agledger/cli",
1808
- "pluginName": "@agledger/cli",
1809
- "pluginType": "core",
1810
- "strict": true,
1811
- "enableJsonFlag": false,
1812
- "isESM": true,
1813
- "relativePath": [
1814
- "dist",
1815
- "commands",
1816
- "mandate",
1817
- "cancel.js"
1818
- ]
1819
- },
1820
- "mandate:chain": {
1821
- "aliases": [],
1822
- "args": {
1823
- "id": {
1824
- "description": "Mandate ID",
1825
- "name": "id",
1826
- "required": true
1827
- }
1828
- },
1829
- "description": "Get full delegation chain for a mandate",
1830
- "flags": {
1831
- "json": {
1832
- "description": "Force JSON output (default when stdout is piped)",
1833
- "name": "json",
1834
- "allowNo": false,
1835
- "type": "boolean"
1836
- },
1837
- "quiet": {
1838
- "description": "Suppress output (exit code only)",
1839
- "name": "quiet",
1840
- "allowNo": false,
1841
- "type": "boolean"
1842
- },
1843
- "api-key": {
1844
- "description": "AGLedger API key",
1845
- "env": "AGLEDGER_API_KEY",
1846
- "name": "api-key",
1847
- "hasDynamicHelp": false,
1848
- "multiple": false,
1849
- "type": "option"
1850
- },
1851
- "api-url": {
1852
- "description": "AGLedger API base URL",
1853
- "env": "AGLEDGER_API_URL",
1854
- "name": "api-url",
1855
- "hasDynamicHelp": false,
1856
- "multiple": false,
1857
- "type": "option"
1858
- }
1859
- },
1860
- "hasDynamicHelp": false,
1861
- "hiddenAliases": [],
1862
- "id": "mandate:chain",
1863
- "pluginAlias": "@agledger/cli",
1864
- "pluginName": "@agledger/cli",
1865
- "pluginType": "core",
1866
- "strict": true,
1867
- "enableJsonFlag": false,
1868
- "isESM": true,
1869
- "relativePath": [
1870
- "dist",
1871
- "commands",
1872
- "mandate",
1873
- "chain.js"
1874
- ]
1875
- },
1876
- "mandate:counter-propose": {
1877
- "aliases": [],
1878
- "args": {
1879
- "id": {
1880
- "description": "Mandate ID",
1881
- "name": "id",
1882
- "required": true
1883
- }
1884
- },
1885
- "description": "Counter-propose a mandate with revised terms (as performer)",
1886
- "flags": {
1887
- "json": {
1888
- "description": "Force JSON output (default when stdout is piped)",
1889
- "name": "json",
1890
- "allowNo": false,
1891
- "type": "boolean"
1892
- },
1893
- "quiet": {
1894
- "description": "Suppress output (exit code only)",
1895
- "name": "quiet",
1896
- "allowNo": false,
1897
- "type": "boolean"
1898
- },
1899
- "api-key": {
1900
- "description": "AGLedger API key",
1901
- "env": "AGLEDGER_API_KEY",
1902
- "name": "api-key",
1903
- "hasDynamicHelp": false,
1904
- "multiple": false,
1905
- "type": "option"
1906
- },
1907
- "api-url": {
1908
- "description": "AGLedger API base URL",
1909
- "env": "AGLEDGER_API_URL",
1910
- "name": "api-url",
1911
- "hasDynamicHelp": false,
1912
- "multiple": false,
1913
- "type": "option"
1914
- },
1915
- "data": {
1916
- "description": "Counter-proposal data as JSON string (counterCriteria, message)",
1917
- "name": "data",
1918
- "hasDynamicHelp": false,
1919
- "multiple": false,
1920
- "type": "option"
1921
- },
1922
- "file": {
1923
- "description": "Read counter-proposal data from JSON file",
1924
- "name": "file",
1925
- "hasDynamicHelp": false,
1926
- "multiple": false,
1927
- "type": "option"
1928
- },
1929
- "dry-run": {
1930
- "description": "Show what would be sent without hitting the API",
1931
- "name": "dry-run",
1932
- "allowNo": false,
1933
- "type": "boolean"
1934
- }
1935
- },
1936
- "hasDynamicHelp": false,
1937
- "hiddenAliases": [],
1938
- "id": "mandate:counter-propose",
1939
- "pluginAlias": "@agledger/cli",
1940
- "pluginName": "@agledger/cli",
1941
- "pluginType": "core",
1942
- "strict": true,
1943
- "enableJsonFlag": false,
1944
- "isESM": true,
1945
- "relativePath": [
1946
- "dist",
1947
- "commands",
1948
- "mandate",
1949
- "counter-propose.js"
1950
- ]
1951
- },
1952
- "mandate:create": {
1953
- "aliases": [],
1954
- "args": {},
1955
- "description": "Create a new mandate",
1956
- "flags": {
1957
- "json": {
1958
- "description": "Force JSON output (default when stdout is piped)",
1959
- "name": "json",
1960
- "allowNo": false,
1961
- "type": "boolean"
1962
- },
1963
- "quiet": {
1964
- "description": "Suppress output (exit code only)",
1965
- "name": "quiet",
1966
- "allowNo": false,
1967
- "type": "boolean"
1968
- },
1969
- "api-key": {
1970
- "description": "AGLedger API key",
1971
- "env": "AGLEDGER_API_KEY",
1972
- "name": "api-key",
1973
- "hasDynamicHelp": false,
1974
- "multiple": false,
1975
- "type": "option"
1976
- },
1977
- "api-url": {
1978
- "description": "AGLedger API base URL",
1979
- "env": "AGLEDGER_API_URL",
1980
- "name": "api-url",
1981
- "hasDynamicHelp": false,
1982
- "multiple": false,
1983
- "type": "option"
1984
- },
1985
- "type": {
1986
- "description": "Contract type (e.g., ACH-PROC-v1)",
1987
- "name": "type",
1988
- "required": true,
1989
- "hasDynamicHelp": false,
1990
- "multiple": false,
1991
- "type": "option"
1992
- },
1993
- "performer": {
1994
- "description": "Performer agent ID",
1995
- "name": "performer",
1996
- "hasDynamicHelp": false,
1997
- "multiple": false,
1998
- "type": "option"
1999
- },
2000
- "data": {
2001
- "description": "Mandate data as JSON string",
2002
- "name": "data",
2003
- "hasDynamicHelp": false,
2004
- "multiple": false,
2005
- "type": "option"
2006
- },
2007
- "file": {
2008
- "description": "Read mandate data from JSON file",
2009
- "name": "file",
2010
- "hasDynamicHelp": false,
2011
- "multiple": false,
2012
- "type": "option"
2013
- },
2014
- "max-submissions": {
2015
- "description": "Max receipt submissions allowed (1-100)",
2016
- "name": "max-submissions",
2017
- "hasDynamicHelp": false,
2018
- "multiple": false,
2019
- "type": "option"
2020
- },
2021
- "activate": {
2022
- "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`.",
2023
- "name": "activate",
2024
- "allowNo": false,
2025
- "type": "boolean"
2026
- },
2027
- "dry-run": {
2028
- "description": "Show what would be sent without hitting the API",
2029
- "name": "dry-run",
2030
- "allowNo": false,
2031
- "type": "boolean"
2032
- }
2033
- },
2034
- "hasDynamicHelp": false,
2035
- "hiddenAliases": [],
2036
- "id": "mandate:create",
2037
- "pluginAlias": "@agledger/cli",
2038
- "pluginName": "@agledger/cli",
2039
- "pluginType": "core",
2040
- "strict": true,
2041
- "enableJsonFlag": false,
2042
- "isESM": true,
2043
- "relativePath": [
2044
- "dist",
2045
- "commands",
2046
- "mandate",
2047
- "create.js"
2048
- ]
2049
- },
2050
- "mandate:get": {
2051
- "aliases": [],
2052
- "args": {
2053
- "id": {
2054
- "description": "Mandate ID",
2055
- "name": "id",
2056
- "required": true
2057
- }
2058
- },
2059
- "description": "Get mandate details by ID",
2060
- "flags": {
2061
- "json": {
2062
- "description": "Force JSON output (default when stdout is piped)",
2063
- "name": "json",
2064
- "allowNo": false,
2065
- "type": "boolean"
2066
- },
2067
- "quiet": {
2068
- "description": "Suppress output (exit code only)",
2069
- "name": "quiet",
2070
- "allowNo": false,
2071
- "type": "boolean"
2072
- },
2073
- "api-key": {
2074
- "description": "AGLedger API key",
2075
- "env": "AGLEDGER_API_KEY",
2076
- "name": "api-key",
2077
- "hasDynamicHelp": false,
2078
- "multiple": false,
2079
- "type": "option"
2080
- },
2081
- "api-url": {
2082
- "description": "AGLedger API base URL",
2083
- "env": "AGLEDGER_API_URL",
2084
- "name": "api-url",
2085
- "hasDynamicHelp": false,
2086
- "multiple": false,
2087
- "type": "option"
2088
- }
2089
- },
2090
- "hasDynamicHelp": false,
2091
- "hiddenAliases": [],
2092
- "id": "mandate:get",
2093
- "pluginAlias": "@agledger/cli",
2094
- "pluginName": "@agledger/cli",
2095
- "pluginType": "core",
2096
- "strict": true,
2097
- "enableJsonFlag": false,
2098
- "isESM": true,
2099
- "relativePath": [
2100
- "dist",
2101
- "commands",
2102
- "mandate",
2103
- "get.js"
2104
- ]
2105
- },
2106
- "mandate:list": {
2107
- "aliases": [],
2108
- "args": {},
2109
- "description": "List mandates with optional filters",
2110
- "flags": {
2111
- "json": {
2112
- "description": "Force JSON output (default when stdout is piped)",
2113
- "name": "json",
2114
- "allowNo": false,
2115
- "type": "boolean"
2116
- },
2117
- "quiet": {
2118
- "description": "Suppress output (exit code only)",
2119
- "name": "quiet",
2120
- "allowNo": false,
2121
- "type": "boolean"
2122
- },
2123
- "api-key": {
2124
- "description": "AGLedger API key",
2125
- "env": "AGLEDGER_API_KEY",
2126
- "name": "api-key",
2127
- "hasDynamicHelp": false,
2128
- "multiple": false,
2129
- "type": "option"
2130
- },
2131
- "api-url": {
2132
- "description": "AGLedger API base URL",
2133
- "env": "AGLEDGER_API_URL",
2134
- "name": "api-url",
2135
- "hasDynamicHelp": false,
2136
- "multiple": false,
2137
- "type": "option"
2138
- },
2139
- "status": {
2140
- "description": "Filter by mandate status (PROPOSED, REJECTED, CREATED, ACTIVE, PROCESSING, REVISION_REQUESTED, FULFILLED, FAILED, REMEDIATED, EXPIRED, CANCELLED)",
2141
- "name": "status",
2142
- "hasDynamicHelp": false,
2143
- "multiple": false,
2144
- "type": "option"
2145
- },
2146
- "type": {
2147
- "description": "Filter by contract type (e.g., ACH-PROC-v1)",
2148
- "name": "type",
2149
- "hasDynamicHelp": false,
2150
- "multiple": false,
2151
- "type": "option"
2152
- },
2153
- "limit": {
2154
- "description": "Max results per page",
2155
- "name": "limit",
2156
- "default": 25,
2157
- "hasDynamicHelp": false,
2158
- "multiple": false,
2159
- "type": "option"
2160
- },
2161
- "cursor": {
2162
- "description": "Pagination cursor",
2163
- "name": "cursor",
2164
- "hasDynamicHelp": false,
2165
- "multiple": false,
2166
- "type": "option"
2167
- },
2168
- "all": {
2169
- "description": "Stream all pages as NDJSON",
2170
- "name": "all",
2171
- "allowNo": false,
2172
- "type": "boolean"
2173
- }
2174
- },
2175
- "hasDynamicHelp": false,
2176
- "hiddenAliases": [],
2177
- "id": "mandate:list",
2178
- "pluginAlias": "@agledger/cli",
2179
- "pluginName": "@agledger/cli",
2180
- "pluginType": "core",
2181
- "strict": true,
2182
- "enableJsonFlag": false,
2183
- "isESM": true,
2184
- "relativePath": [
2185
- "dist",
2186
- "commands",
2187
- "mandate",
2188
- "list.js"
2189
- ]
2190
- },
2191
- "mandate:outcome": {
2192
- "aliases": [],
2193
- "args": {
2194
- "id": {
2195
- "description": "Mandate ID",
2196
- "name": "id",
2197
- "required": true
2198
- },
2199
- "outcome": {
2200
- "description": "PASS or FAIL. Alternative: --outcome",
2201
- "name": "outcome",
2202
- "options": [
2203
- "PASS",
2204
- "FAIL"
2205
- ]
2206
- }
2207
- },
2208
- "description": "Report principal verdict on a receipt (PASS or FAIL with settlement signal). Outcome can be given positionally or via --outcome.",
2209
- "flags": {
2210
- "json": {
2211
- "description": "Force JSON output (default when stdout is piped)",
2212
- "name": "json",
2213
- "allowNo": false,
2214
- "type": "boolean"
2215
- },
2216
- "quiet": {
2217
- "description": "Suppress output (exit code only)",
2218
- "name": "quiet",
2219
- "allowNo": false,
2220
- "type": "boolean"
2221
- },
2222
- "api-key": {
2223
- "description": "AGLedger API key",
2224
- "env": "AGLEDGER_API_KEY",
2225
- "name": "api-key",
2226
- "hasDynamicHelp": false,
2227
- "multiple": false,
2228
- "type": "option"
2229
- },
2230
- "api-url": {
2231
- "description": "AGLedger API base URL",
2232
- "env": "AGLEDGER_API_URL",
2233
- "name": "api-url",
2234
- "hasDynamicHelp": false,
2235
- "multiple": false,
2236
- "type": "option"
2237
- },
2238
- "receipt-id": {
2239
- "description": "Receipt ID to judge",
2240
- "name": "receipt-id",
2241
- "required": true,
2242
- "hasDynamicHelp": false,
2243
- "multiple": false,
2244
- "type": "option"
2245
- },
2246
- "outcome": {
2247
- "description": "PASS or FAIL — alternative to positional arg",
2248
- "name": "outcome",
2249
- "hasDynamicHelp": false,
2250
- "multiple": false,
2251
- "options": [
2252
- "PASS",
2253
- "FAIL"
2254
- ],
2255
- "type": "option"
2256
- },
2257
- "reason": {
2258
- "description": "Reason for the verdict",
2259
- "name": "reason",
2260
- "hasDynamicHelp": false,
2261
- "multiple": false,
2262
- "type": "option"
2263
- },
2264
- "signal": {
2265
- "description": "Settlement signal (settle, hold, escalate)",
2266
- "name": "signal",
2267
- "hasDynamicHelp": false,
2268
- "multiple": false,
2269
- "type": "option"
2270
- },
2271
- "dry-run": {
2272
- "description": "Show what would be sent without hitting the API",
2273
- "name": "dry-run",
2274
- "allowNo": false,
2275
- "type": "boolean"
2276
- }
2277
- },
2278
- "hasDynamicHelp": false,
2279
- "hiddenAliases": [],
2280
- "id": "mandate:outcome",
2281
- "pluginAlias": "@agledger/cli",
2282
- "pluginName": "@agledger/cli",
2283
- "pluginType": "core",
2284
- "strict": true,
2285
- "enableJsonFlag": false,
2286
- "isESM": true,
2287
- "relativePath": [
2288
- "dist",
2289
- "commands",
2290
- "mandate",
2291
- "outcome.js"
2292
- ]
2293
- },
2294
- "mandate:receipts": {
2295
- "aliases": [],
2296
- "args": {
2297
- "mandateId": {
2298
- "description": "Mandate ID",
2299
- "name": "mandateId",
2300
- "required": true
2301
- }
2302
- },
2303
- "description": "List receipts for a mandate (alias of `receipt list`)",
2304
- "flags": {
2305
- "json": {
2306
- "description": "Force JSON output (default when stdout is piped)",
2307
- "name": "json",
2308
- "allowNo": false,
2309
- "type": "boolean"
2310
- },
2311
- "quiet": {
2312
- "description": "Suppress output (exit code only)",
2313
- "name": "quiet",
2314
- "allowNo": false,
2315
- "type": "boolean"
2316
- },
2317
- "api-key": {
2318
- "description": "AGLedger API key",
2319
- "env": "AGLEDGER_API_KEY",
2320
- "name": "api-key",
2321
- "hasDynamicHelp": false,
2322
- "multiple": false,
2323
- "type": "option"
2324
- },
2325
- "api-url": {
2326
- "description": "AGLedger API base URL",
2327
- "env": "AGLEDGER_API_URL",
2328
- "name": "api-url",
2329
- "hasDynamicHelp": false,
2330
- "multiple": false,
2331
- "type": "option"
2332
- },
2333
- "all": {
2334
- "description": "Stream all pages as NDJSON",
2335
- "name": "all",
2336
- "allowNo": false,
2337
- "type": "boolean"
2338
- }
2339
- },
2340
- "hasDynamicHelp": false,
2341
- "hiddenAliases": [],
2342
- "id": "mandate:receipts",
2343
- "pluginAlias": "@agledger/cli",
2344
- "pluginName": "@agledger/cli",
2345
- "pluginType": "core",
2346
- "strict": true,
2347
- "enableJsonFlag": false,
2348
- "isESM": true,
2349
- "relativePath": [
2350
- "dist",
2351
- "commands",
2352
- "mandate",
2353
- "receipts.js"
2354
- ]
2355
- },
2356
- "mandate:reject": {
2357
- "aliases": [],
2358
- "args": {
2359
- "id": {
2360
- "description": "Mandate ID",
2361
- "name": "id",
2362
- "required": true
2363
- }
2364
- },
2365
- "description": "Reject a proposed mandate (as performer)",
2366
- "flags": {
2367
- "json": {
2368
- "description": "Force JSON output (default when stdout is piped)",
2369
- "name": "json",
2370
- "allowNo": false,
2371
- "type": "boolean"
2372
- },
2373
- "quiet": {
2374
- "description": "Suppress output (exit code only)",
2375
- "name": "quiet",
2376
- "allowNo": false,
2377
- "type": "boolean"
2378
- },
2379
- "api-key": {
2380
- "description": "AGLedger API key",
2381
- "env": "AGLEDGER_API_KEY",
2382
- "name": "api-key",
2383
- "hasDynamicHelp": false,
2384
- "multiple": false,
2385
- "type": "option"
2386
- },
2387
- "api-url": {
2388
- "description": "AGLedger API base URL",
2389
- "env": "AGLEDGER_API_URL",
2390
- "name": "api-url",
2391
- "hasDynamicHelp": false,
2392
- "multiple": false,
2393
- "type": "option"
2394
- },
2395
- "reason": {
2396
- "description": "Rejection reason",
2397
- "name": "reason",
2398
- "hasDynamicHelp": false,
2399
- "multiple": false,
2400
- "type": "option"
2401
- },
2402
- "dry-run": {
2403
- "description": "Show what would be sent without hitting the API",
2404
- "name": "dry-run",
2405
- "allowNo": false,
2406
- "type": "boolean"
2407
- }
2408
- },
2409
- "hasDynamicHelp": false,
2410
- "hiddenAliases": [],
2411
- "id": "mandate:reject",
2412
- "pluginAlias": "@agledger/cli",
2413
- "pluginName": "@agledger/cli",
2414
- "pluginType": "core",
2415
- "strict": true,
2416
- "enableJsonFlag": false,
2417
- "isESM": true,
2418
- "relativePath": [
2419
- "dist",
2420
- "commands",
2421
- "mandate",
2422
- "reject.js"
2423
- ]
2424
- },
2425
- "mandate:request-revision": {
2426
- "aliases": [],
2427
- "args": {
2428
- "id": {
2429
- "description": "Mandate ID",
2430
- "name": "id",
2431
- "required": true
2432
- }
2433
- },
2434
- "description": "Request revision after principal rejection (rework loop)",
2435
- "flags": {
2436
- "json": {
2437
- "description": "Force JSON output (default when stdout is piped)",
2438
- "name": "json",
2439
- "allowNo": false,
2440
- "type": "boolean"
2441
- },
2442
- "quiet": {
2443
- "description": "Suppress output (exit code only)",
2444
- "name": "quiet",
2445
- "allowNo": false,
2446
- "type": "boolean"
2447
- },
2448
- "api-key": {
2449
- "description": "AGLedger API key",
2450
- "env": "AGLEDGER_API_KEY",
2451
- "name": "api-key",
2452
- "hasDynamicHelp": false,
2453
- "multiple": false,
2454
- "type": "option"
2455
- },
2456
- "api-url": {
2457
- "description": "AGLedger API base URL",
2458
- "env": "AGLEDGER_API_URL",
2459
- "name": "api-url",
2460
- "hasDynamicHelp": false,
2461
- "multiple": false,
2462
- "type": "option"
2463
- },
2464
- "reason": {
2465
- "description": "Reason for requesting revision",
2466
- "name": "reason",
2467
- "hasDynamicHelp": false,
2468
- "multiple": false,
2469
- "type": "option"
2470
- },
2471
- "dry-run": {
2472
- "description": "Show what would be sent without hitting the API",
2473
- "name": "dry-run",
2474
- "allowNo": false,
2475
- "type": "boolean"
2476
- }
2477
- },
2478
- "hasDynamicHelp": false,
2479
- "hiddenAliases": [],
2480
- "id": "mandate:request-revision",
2481
- "pluginAlias": "@agledger/cli",
2482
- "pluginName": "@agledger/cli",
2483
- "pluginType": "core",
2484
- "strict": true,
2485
- "enableJsonFlag": false,
2486
- "isESM": true,
2487
- "relativePath": [
2488
- "dist",
2489
- "commands",
2490
- "mandate",
2491
- "request-revision.js"
2492
- ]
2493
- },
2494
- "mandate:transition": {
2495
- "aliases": [],
2496
- "args": {
2497
- "id": {
2498
- "description": "Mandate ID",
2499
- "name": "id",
2500
- "required": true
2501
- },
2502
- "action": {
2503
- "description": "Transition action (e.g. activate, cancel). Alternative: --action",
2504
- "name": "action"
2505
- }
2506
- },
2507
- "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.",
2508
- "flags": {
2509
- "json": {
2510
- "description": "Force JSON output (default when stdout is piped)",
2511
- "name": "json",
2512
- "allowNo": false,
2513
- "type": "boolean"
2514
- },
2515
- "quiet": {
2516
- "description": "Suppress output (exit code only)",
2517
- "name": "quiet",
2518
- "allowNo": false,
2519
- "type": "boolean"
2520
- },
2521
- "api-key": {
2522
- "description": "AGLedger API key",
2523
- "env": "AGLEDGER_API_KEY",
2524
- "name": "api-key",
2525
- "hasDynamicHelp": false,
2526
- "multiple": false,
2527
- "type": "option"
2528
- },
2529
- "api-url": {
2530
- "description": "AGLedger API base URL",
2531
- "env": "AGLEDGER_API_URL",
2532
- "name": "api-url",
2533
- "hasDynamicHelp": false,
2534
- "multiple": false,
2535
- "type": "option"
2536
- },
2537
- "action": {
2538
- "description": "Transition action — alternative to positional arg (matches API body field name)",
2539
- "name": "action",
2540
- "hasDynamicHelp": false,
2541
- "multiple": false,
2542
- "type": "option"
2543
- },
2544
- "reason": {
2545
- "description": "Transition reason",
2546
- "name": "reason",
2547
- "hasDynamicHelp": false,
2548
- "multiple": false,
2549
- "type": "option"
2550
- },
2551
- "dry-run": {
2552
- "description": "Show what would be sent without hitting the API",
2553
- "name": "dry-run",
2554
- "allowNo": false,
2555
- "type": "boolean"
2556
- }
2557
- },
2558
- "hasDynamicHelp": false,
2559
- "hiddenAliases": [],
2560
- "id": "mandate:transition",
2561
- "pluginAlias": "@agledger/cli",
2562
- "pluginName": "@agledger/cli",
2563
- "pluginType": "core",
2564
- "strict": true,
2565
- "enableJsonFlag": false,
2566
- "isESM": true,
2567
- "relativePath": [
2568
- "dist",
2569
- "commands",
2570
- "mandate",
2571
- "transition.js"
2572
- ]
2573
- },
2574
- "receipt:get": {
2575
- "aliases": [],
2576
- "args": {
2577
- "mandateId": {
2578
- "description": "Mandate ID",
2579
- "name": "mandateId",
2580
- "required": true
2581
- },
2582
- "receiptId": {
2583
- "description": "Receipt ID",
2584
- "name": "receiptId",
2585
- "required": true
2586
- }
2587
- },
2588
- "description": "Get receipt details",
2589
- "flags": {
2590
- "json": {
2591
- "description": "Force JSON output (default when stdout is piped)",
2592
- "name": "json",
2593
- "allowNo": false,
2594
- "type": "boolean"
2595
- },
2596
- "quiet": {
2597
- "description": "Suppress output (exit code only)",
2598
- "name": "quiet",
2599
- "allowNo": false,
2600
- "type": "boolean"
2601
- },
2602
- "api-key": {
2603
- "description": "AGLedger API key",
2604
- "env": "AGLEDGER_API_KEY",
2605
- "name": "api-key",
2606
- "hasDynamicHelp": false,
2607
- "multiple": false,
2608
- "type": "option"
2609
- },
2610
- "api-url": {
2611
- "description": "AGLedger API base URL",
2612
- "env": "AGLEDGER_API_URL",
2613
- "name": "api-url",
2614
- "hasDynamicHelp": false,
2615
- "multiple": false,
2616
- "type": "option"
2617
- }
2618
- },
2619
- "hasDynamicHelp": false,
2620
- "hiddenAliases": [],
2621
- "id": "receipt:get",
2622
- "pluginAlias": "@agledger/cli",
2623
- "pluginName": "@agledger/cli",
2624
- "pluginType": "core",
2625
- "strict": true,
2626
- "enableJsonFlag": false,
2627
- "isESM": true,
2628
- "relativePath": [
2629
- "dist",
2630
- "commands",
2631
- "receipt",
2632
- "get.js"
2633
- ]
2634
- },
2635
- "receipt:list": {
2636
- "aliases": [
2637
- "mandate:receipts"
2638
- ],
2639
- "args": {
2640
- "mandateId": {
2641
- "description": "Mandate ID",
2642
- "name": "mandateId",
2643
- "required": true
2644
- }
2645
- },
2646
- "description": "List receipts for a mandate",
2647
- "flags": {
2648
- "json": {
2649
- "description": "Force JSON output (default when stdout is piped)",
2650
- "name": "json",
2651
- "allowNo": false,
2652
- "type": "boolean"
2653
- },
2654
- "quiet": {
2655
- "description": "Suppress output (exit code only)",
2656
- "name": "quiet",
2657
- "allowNo": false,
2658
- "type": "boolean"
2659
- },
2660
- "api-key": {
2661
- "description": "AGLedger API key",
2662
- "env": "AGLEDGER_API_KEY",
2663
- "name": "api-key",
2664
- "hasDynamicHelp": false,
2665
- "multiple": false,
2666
- "type": "option"
2667
- },
2668
- "api-url": {
2669
- "description": "AGLedger API base URL",
2670
- "env": "AGLEDGER_API_URL",
2671
- "name": "api-url",
2672
- "hasDynamicHelp": false,
2673
- "multiple": false,
2674
- "type": "option"
2675
- },
2676
- "all": {
2677
- "description": "Stream all pages as NDJSON",
2678
- "name": "all",
2679
- "allowNo": false,
2680
- "type": "boolean"
2681
- }
2682
- },
2683
- "hasDynamicHelp": false,
2684
- "hiddenAliases": [],
2685
- "id": "receipt:list",
2686
- "pluginAlias": "@agledger/cli",
2687
- "pluginName": "@agledger/cli",
2688
- "pluginType": "core",
2689
- "strict": true,
2690
- "enableJsonFlag": false,
2691
- "isESM": true,
2692
- "relativePath": [
2693
- "dist",
2694
- "commands",
2695
- "receipt",
2696
- "list.js"
2697
- ]
2698
- },
2699
- "receipt:submit": {
2700
- "aliases": [],
2701
- "args": {
2702
- "mandateId": {
2703
- "description": "Mandate ID",
2704
- "name": "mandateId",
2705
- "required": true
2706
- }
2707
- },
2708
- "description": "Submit a receipt (evidence of completion) for a mandate",
2709
- "flags": {
2710
- "json": {
2711
- "description": "Force JSON output (default when stdout is piped)",
2712
- "name": "json",
2713
- "allowNo": false,
2714
- "type": "boolean"
2715
- },
2716
- "quiet": {
2717
- "description": "Suppress output (exit code only)",
2718
- "name": "quiet",
2719
- "allowNo": false,
2720
- "type": "boolean"
2721
- },
2722
- "api-key": {
2723
- "description": "AGLedger API key",
2724
- "env": "AGLEDGER_API_KEY",
2725
- "name": "api-key",
2726
- "hasDynamicHelp": false,
2727
- "multiple": false,
2728
- "type": "option"
2729
- },
2730
- "api-url": {
2731
- "description": "AGLedger API base URL",
2732
- "env": "AGLEDGER_API_URL",
2733
- "name": "api-url",
2734
- "hasDynamicHelp": false,
2735
- "multiple": false,
2736
- "type": "option"
2737
- },
2738
- "data": {
2739
- "description": "Evidence as JSON string. Either a raw evidence object or { \"evidence\": {...} } — both are accepted.",
2740
- "name": "data",
2741
- "hasDynamicHelp": false,
2742
- "multiple": false,
2743
- "type": "option"
2744
- },
2745
- "file": {
2746
- "description": "Read evidence from JSON file (same shape as --data)",
2747
- "name": "file",
2748
- "hasDynamicHelp": false,
2749
- "multiple": false,
2750
- "type": "option"
2751
- },
2752
- "dry-run": {
2753
- "description": "Show what would be sent without hitting the API",
2754
- "name": "dry-run",
2755
- "allowNo": false,
2756
- "type": "boolean"
2757
- }
2758
- },
2759
- "hasDynamicHelp": false,
2760
- "hiddenAliases": [],
2761
- "id": "receipt:submit",
2762
- "pluginAlias": "@agledger/cli",
2763
- "pluginName": "@agledger/cli",
2764
- "pluginType": "core",
2765
- "strict": true,
2766
- "enableJsonFlag": false,
2767
- "isESM": true,
2768
- "relativePath": [
2769
- "dist",
2770
- "commands",
2771
- "receipt",
2772
- "submit.js"
2773
- ]
2774
- },
2775
- "verdict:render": {
2776
- "aliases": [],
2777
- "args": {
2778
- "mandateId": {
2779
- "description": "Mandate ID",
2780
- "name": "mandateId",
2781
- "required": true
2782
- },
2783
- "verdict": {
2784
- "description": "PASS to accept, FAIL to reject",
2785
- "name": "verdict",
2786
- "options": [
2787
- "PASS",
2788
- "FAIL"
2789
- ],
2790
- "required": true
2791
- }
2792
- },
2793
- "description": "Render a verdict on a notarized agreement (accept or reject delivery)",
2794
- "flags": {
2795
- "json": {
2796
- "description": "Force JSON output (default when stdout is piped)",
2797
- "name": "json",
2798
- "allowNo": false,
2799
- "type": "boolean"
2800
- },
2801
- "quiet": {
2802
- "description": "Suppress output (exit code only)",
2803
- "name": "quiet",
2804
- "allowNo": false,
2805
- "type": "boolean"
2806
- },
2807
- "api-key": {
2808
- "description": "AGLedger API key",
2809
- "env": "AGLEDGER_API_KEY",
2810
- "name": "api-key",
2811
- "hasDynamicHelp": false,
2812
- "multiple": false,
2813
- "type": "option"
2814
- },
2815
- "api-url": {
2816
- "description": "AGLedger API base URL",
2817
- "env": "AGLEDGER_API_URL",
2818
- "name": "api-url",
2819
- "hasDynamicHelp": false,
2820
- "multiple": false,
2821
- "type": "option"
2822
- },
2823
- "reason": {
2824
- "description": "Reason for the verdict",
2825
- "name": "reason",
2826
- "hasDynamicHelp": false,
2827
- "multiple": false,
2828
- "type": "option"
2829
- },
2830
- "dry-run": {
2831
- "description": "Show what would be sent without hitting the API",
2832
- "name": "dry-run",
2833
- "allowNo": false,
2834
- "type": "boolean"
2835
- }
2836
- },
2837
- "hasDynamicHelp": false,
2838
- "hiddenAliases": [],
2839
- "id": "verdict:render",
2840
- "pluginAlias": "@agledger/cli",
2841
- "pluginName": "@agledger/cli",
2842
- "pluginType": "core",
2843
- "strict": true,
2844
- "enableJsonFlag": false,
2845
- "isESM": true,
2846
- "relativePath": [
2847
- "dist",
2848
- "commands",
2849
- "verdict",
2850
- "render.js"
2851
- ]
2852
- },
2853
- "schema:blank-template": {
2854
- "aliases": [],
2855
- "args": {},
2856
- "description": "Get a blank template for creating a custom contract type from scratch",
2857
- "flags": {
2858
- "json": {
2859
- "description": "Force JSON output (default when stdout is piped)",
2860
- "name": "json",
2861
- "allowNo": false,
2862
- "type": "boolean"
2863
- },
2864
- "quiet": {
2865
- "description": "Suppress output (exit code only)",
2866
- "name": "quiet",
2867
- "allowNo": false,
2868
- "type": "boolean"
2869
- },
2870
- "api-key": {
2871
- "description": "AGLedger API key",
2872
- "env": "AGLEDGER_API_KEY",
2873
- "name": "api-key",
2874
- "hasDynamicHelp": false,
2875
- "multiple": false,
2876
- "type": "option"
2877
- },
2878
- "api-url": {
2879
- "description": "AGLedger API base URL",
2880
- "env": "AGLEDGER_API_URL",
2881
- "name": "api-url",
2882
- "hasDynamicHelp": false,
2883
- "multiple": false,
2884
- "type": "option"
2885
- },
2886
- "output": {
2887
- "char": "o",
2888
- "description": "Write blank template to file",
2889
- "name": "output",
2890
- "hasDynamicHelp": false,
2891
- "multiple": false,
2892
- "type": "option"
2893
- }
2894
- },
2895
- "hasDynamicHelp": false,
2896
- "hiddenAliases": [],
2897
- "id": "schema:blank-template",
2898
- "pluginAlias": "@agledger/cli",
2899
- "pluginName": "@agledger/cli",
2900
- "pluginType": "core",
2901
- "strict": true,
2902
- "enableJsonFlag": false,
2903
- "isESM": true,
2904
- "relativePath": [
2905
- "dist",
2906
- "commands",
2907
- "schema",
2908
- "blank-template.js"
2909
- ]
2910
- },
2911
- "schema:check-compatibility": {
2912
- "aliases": [],
2913
- "args": {
2914
- "type": {
2915
- "description": "Contract type (e.g., ACH-PROC-v1)",
2916
- "name": "type",
2917
- "required": true
2918
- }
2919
- },
2920
- "description": "Check backward/forward compatibility of schema changes",
2921
- "flags": {
2922
- "json": {
2923
- "description": "Force JSON output (default when stdout is piped)",
2924
- "name": "json",
2925
- "allowNo": false,
2926
- "type": "boolean"
2927
- },
2928
- "quiet": {
2929
- "description": "Suppress output (exit code only)",
2930
- "name": "quiet",
2931
- "allowNo": false,
2932
- "type": "boolean"
2933
- },
2934
- "api-key": {
2935
- "description": "AGLedger API key",
2936
- "env": "AGLEDGER_API_KEY",
2937
- "name": "api-key",
2938
- "hasDynamicHelp": false,
2939
- "multiple": false,
2940
- "type": "option"
2941
- },
2942
- "api-url": {
2943
- "description": "AGLedger API base URL",
2944
- "env": "AGLEDGER_API_URL",
2945
- "name": "api-url",
2946
- "hasDynamicHelp": false,
2947
- "multiple": false,
2948
- "type": "option"
2949
- },
2950
- "mandate-schema": {
2951
- "description": "Path to mandate schema JSON file",
2952
- "name": "mandate-schema",
2953
- "required": true,
2954
- "hasDynamicHelp": false,
2955
- "multiple": false,
2956
- "type": "option"
2957
- },
2958
- "receipt-schema": {
2959
- "description": "Path to receipt schema JSON file",
2960
- "name": "receipt-schema",
2961
- "required": true,
2962
- "hasDynamicHelp": false,
2963
- "multiple": false,
2964
- "type": "option"
2965
- }
2966
- },
2967
- "hasDynamicHelp": false,
2968
- "hiddenAliases": [],
2969
- "id": "schema:check-compatibility",
2970
- "pluginAlias": "@agledger/cli",
2971
- "pluginName": "@agledger/cli",
2972
- "pluginType": "core",
2973
- "strict": true,
2974
- "enableJsonFlag": false,
2975
- "isESM": true,
2976
- "relativePath": [
2977
- "dist",
2978
- "commands",
2979
- "schema",
2980
- "check-compatibility.js"
2981
- ]
2982
- },
2983
- "schema:deprecate": {
2984
- "aliases": [],
2985
- "args": {
2986
- "type": {
2987
- "description": "Contract type (e.g., ACH-PROC-v1)",
2988
- "name": "type",
2989
- "required": true
2990
- }
2991
- },
2992
- "description": "Deprecate a schema version",
2993
- "flags": {
2994
- "json": {
2995
- "description": "Force JSON output (default when stdout is piped)",
2996
- "name": "json",
2997
- "allowNo": false,
2998
- "type": "boolean"
2999
- },
3000
- "quiet": {
3001
- "description": "Suppress output (exit code only)",
3002
- "name": "quiet",
3003
- "allowNo": false,
3004
- "type": "boolean"
3005
- },
3006
- "api-key": {
3007
- "description": "AGLedger API key",
3008
- "env": "AGLEDGER_API_KEY",
3009
- "name": "api-key",
3010
- "hasDynamicHelp": false,
3011
- "multiple": false,
3012
- "type": "option"
3013
- },
3014
- "api-url": {
3015
- "description": "AGLedger API base URL",
3016
- "env": "AGLEDGER_API_URL",
3017
- "name": "api-url",
3018
- "hasDynamicHelp": false,
3019
- "multiple": false,
3020
- "type": "option"
3021
- },
3022
- "version": {
3023
- "description": "Version number to deprecate",
3024
- "name": "version",
3025
- "required": true,
3026
- "hasDynamicHelp": false,
3027
- "multiple": false,
3028
- "type": "option"
3029
- },
3030
- "dry-run": {
3031
- "description": "Show what would be sent without hitting the API",
3032
- "name": "dry-run",
3033
- "allowNo": false,
3034
- "type": "boolean"
3035
- }
3036
- },
3037
- "hasDynamicHelp": false,
3038
- "hiddenAliases": [],
3039
- "id": "schema:deprecate",
3040
- "pluginAlias": "@agledger/cli",
3041
- "pluginName": "@agledger/cli",
3042
- "pluginType": "core",
3043
- "strict": true,
3044
- "enableJsonFlag": false,
3045
- "isESM": true,
3046
- "relativePath": [
3047
- "dist",
3048
- "commands",
3049
- "schema",
3050
- "deprecate.js"
3051
- ]
3052
- },
3053
- "schema:diff": {
3054
- "aliases": [],
3055
- "args": {
3056
- "type": {
3057
- "description": "Contract type (e.g., ACH-PROC-v1)",
3058
- "name": "type",
3059
- "required": true
3060
- }
3061
- },
3062
- "description": "Diff two versions of a contract type schema",
3063
- "flags": {
3064
- "json": {
3065
- "description": "Force JSON output (default when stdout is piped)",
3066
- "name": "json",
3067
- "allowNo": false,
3068
- "type": "boolean"
3069
- },
3070
- "quiet": {
3071
- "description": "Suppress output (exit code only)",
3072
- "name": "quiet",
3073
- "allowNo": false,
3074
- "type": "boolean"
3075
- },
3076
- "api-key": {
3077
- "description": "AGLedger API key",
3078
- "env": "AGLEDGER_API_KEY",
3079
- "name": "api-key",
3080
- "hasDynamicHelp": false,
3081
- "multiple": false,
3082
- "type": "option"
3083
- },
3084
- "api-url": {
3085
- "description": "AGLedger API base URL",
3086
- "env": "AGLEDGER_API_URL",
3087
- "name": "api-url",
3088
- "hasDynamicHelp": false,
3089
- "multiple": false,
3090
- "type": "option"
3091
- },
3092
- "from": {
3093
- "description": "Source version number",
3094
- "name": "from",
3095
- "required": true,
3096
- "hasDynamicHelp": false,
3097
- "multiple": false,
3098
- "type": "option"
3099
- },
3100
- "to": {
3101
- "description": "Target version number",
3102
- "name": "to",
3103
- "required": true,
3104
- "hasDynamicHelp": false,
3105
- "multiple": false,
3106
- "type": "option"
3107
- }
3108
- },
3109
- "hasDynamicHelp": false,
3110
- "hiddenAliases": [],
3111
- "id": "schema:diff",
3112
- "pluginAlias": "@agledger/cli",
3113
- "pluginName": "@agledger/cli",
3114
- "pluginType": "core",
3115
- "strict": true,
3116
- "enableJsonFlag": false,
3117
- "isESM": true,
3118
- "relativePath": [
3119
- "dist",
3120
- "commands",
3121
- "schema",
3122
- "diff.js"
3123
- ]
3124
- },
3125
- "schema:export": {
3126
- "aliases": [],
3127
- "args": {
3128
- "type": {
3129
- "description": "Contract type (e.g., ACH-PROC-v1)",
3130
- "name": "type",
3131
- "required": true
3132
- }
3133
- },
3134
- "description": "Export a contract type schema bundle to a file",
3135
- "flags": {
3136
- "json": {
3137
- "description": "Force JSON output (default when stdout is piped)",
3138
- "name": "json",
3139
- "allowNo": false,
3140
- "type": "boolean"
3141
- },
3142
- "quiet": {
3143
- "description": "Suppress output (exit code only)",
3144
- "name": "quiet",
3145
- "allowNo": false,
3146
- "type": "boolean"
3147
- },
3148
- "api-key": {
3149
- "description": "AGLedger API key",
3150
- "env": "AGLEDGER_API_KEY",
3151
- "name": "api-key",
3152
- "hasDynamicHelp": false,
3153
- "multiple": false,
3154
- "type": "option"
3155
- },
3156
- "api-url": {
3157
- "description": "AGLedger API base URL",
3158
- "env": "AGLEDGER_API_URL",
3159
- "name": "api-url",
3160
- "hasDynamicHelp": false,
3161
- "multiple": false,
3162
- "type": "option"
3163
- },
3164
- "output": {
3165
- "char": "o",
3166
- "description": "Output file path (required)",
3167
- "name": "output",
3168
- "required": true,
3169
- "hasDynamicHelp": false,
3170
- "multiple": false,
3171
- "type": "option"
3172
- },
3173
- "versions": {
3174
- "description": "Comma-separated version numbers to export (e.g., \"1,2\")",
3175
- "name": "versions",
3176
- "hasDynamicHelp": false,
3177
- "multiple": false,
3178
- "type": "option"
3179
- }
3180
- },
3181
- "hasDynamicHelp": false,
3182
- "hiddenAliases": [],
3183
- "id": "schema:export",
3184
- "pluginAlias": "@agledger/cli",
3185
- "pluginName": "@agledger/cli",
3186
- "pluginType": "core",
3187
- "strict": true,
3188
- "enableJsonFlag": false,
3189
- "isESM": true,
3190
- "relativePath": [
3191
- "dist",
3192
- "commands",
3193
- "schema",
3194
- "export.js"
3195
- ]
3196
- },
3197
- "schema:get-version": {
3198
- "aliases": [],
3199
- "args": {
3200
- "type": {
3201
- "description": "Contract type (e.g., ACH-PROC-v1)",
3202
- "name": "type",
3203
- "required": true
3204
- }
3205
- },
3206
- "description": "Get a specific version of a contract type schema",
3207
- "flags": {
3208
- "json": {
3209
- "description": "Force JSON output (default when stdout is piped)",
3210
- "name": "json",
3211
- "allowNo": false,
3212
- "type": "boolean"
3213
- },
3214
- "quiet": {
3215
- "description": "Suppress output (exit code only)",
3216
- "name": "quiet",
3217
- "allowNo": false,
3218
- "type": "boolean"
3219
- },
3220
- "api-key": {
3221
- "description": "AGLedger API key",
3222
- "env": "AGLEDGER_API_KEY",
3223
- "name": "api-key",
3224
- "hasDynamicHelp": false,
3225
- "multiple": false,
3226
- "type": "option"
3227
- },
3228
- "api-url": {
3229
- "description": "AGLedger API base URL",
3230
- "env": "AGLEDGER_API_URL",
3231
- "name": "api-url",
3232
- "hasDynamicHelp": false,
3233
- "multiple": false,
3234
- "type": "option"
3235
- },
3236
- "version": {
3237
- "description": "Version number",
3238
- "name": "version",
3239
- "required": true,
3240
- "hasDynamicHelp": false,
3241
- "multiple": false,
3242
- "type": "option"
3243
- }
3244
- },
3245
- "hasDynamicHelp": false,
3246
- "hiddenAliases": [],
3247
- "id": "schema:get-version",
3248
- "pluginAlias": "@agledger/cli",
3249
- "pluginName": "@agledger/cli",
3250
- "pluginType": "core",
3251
- "strict": true,
3252
- "enableJsonFlag": false,
3253
- "isESM": true,
3254
- "relativePath": [
3255
- "dist",
3256
- "commands",
3257
- "schema",
3258
- "get-version.js"
3259
- ]
3260
- },
3261
- "schema:get": {
3262
- "aliases": [],
3263
- "args": {
3264
- "type": {
3265
- "description": "Contract type (e.g., ACH-PROC-v1)",
3266
- "name": "type",
3267
- "required": true
3268
- }
3269
- },
3270
- "description": "Get the full JSON Schema for a contract type",
3271
- "flags": {
3272
- "json": {
3273
- "description": "Force JSON output (default when stdout is piped)",
3274
- "name": "json",
3275
- "allowNo": false,
3276
- "type": "boolean"
3277
- },
3278
- "quiet": {
3279
- "description": "Suppress output (exit code only)",
3280
- "name": "quiet",
3281
- "allowNo": false,
3282
- "type": "boolean"
3283
- },
3284
- "api-key": {
3285
- "description": "AGLedger API key",
3286
- "env": "AGLEDGER_API_KEY",
3287
- "name": "api-key",
3288
- "hasDynamicHelp": false,
3289
- "multiple": false,
3290
- "type": "option"
3291
- },
3292
- "api-url": {
3293
- "description": "AGLedger API base URL",
3294
- "env": "AGLEDGER_API_URL",
3295
- "name": "api-url",
3296
- "hasDynamicHelp": false,
3297
- "multiple": false,
3298
- "type": "option"
3299
- }
3300
- },
3301
- "hasDynamicHelp": false,
3302
- "hiddenAliases": [],
3303
- "id": "schema:get",
3304
- "pluginAlias": "@agledger/cli",
3305
- "pluginName": "@agledger/cli",
3306
- "pluginType": "core",
3307
- "strict": true,
3308
- "enableJsonFlag": false,
3309
- "isESM": true,
3310
- "relativePath": [
3311
- "dist",
3312
- "commands",
3313
- "schema",
3314
- "get.js"
3315
- ]
3316
- },
3317
- "schema:import": {
3318
- "aliases": [],
3319
- "args": {
3320
- "file": {
3321
- "description": "Path to schema export JSON file",
3322
- "name": "file",
3323
- "required": true
3324
- }
3325
- },
3326
- "description": "Import a schema bundle from a file",
3327
- "flags": {
3328
- "json": {
3329
- "description": "Force JSON output (default when stdout is piped)",
3330
- "name": "json",
3331
- "allowNo": false,
3332
- "type": "boolean"
3333
- },
3334
- "quiet": {
3335
- "description": "Suppress output (exit code only)",
3336
- "name": "quiet",
3337
- "allowNo": false,
3338
- "type": "boolean"
3339
- },
3340
- "api-key": {
3341
- "description": "AGLedger API key",
3342
- "env": "AGLEDGER_API_KEY",
3343
- "name": "api-key",
3344
- "hasDynamicHelp": false,
3345
- "multiple": false,
3346
- "type": "option"
3347
- },
3348
- "api-url": {
3349
- "description": "AGLedger API base URL",
3350
- "env": "AGLEDGER_API_URL",
3351
- "name": "api-url",
3352
- "hasDynamicHelp": false,
3353
- "multiple": false,
3354
- "type": "option"
3355
- },
3356
- "dry-run": {
3357
- "description": "Preview what would be imported without persisting (server-side dry-run)",
3358
- "name": "dry-run",
3359
- "allowNo": false,
3360
- "type": "boolean"
3361
- }
3362
- },
3363
- "hasDynamicHelp": false,
3364
- "hiddenAliases": [],
3365
- "id": "schema:import",
3366
- "pluginAlias": "@agledger/cli",
3367
- "pluginName": "@agledger/cli",
3368
- "pluginType": "core",
3369
- "strict": true,
3370
- "enableJsonFlag": false,
3371
- "isESM": true,
3372
- "relativePath": [
3373
- "dist",
3374
- "commands",
3375
- "schema",
3376
- "import.js"
3377
- ]
3378
- },
3379
- "schema:list": {
3380
- "aliases": [],
3381
- "args": {},
3382
- "description": "List available contract type schemas",
3383
- "flags": {
3384
- "json": {
3385
- "description": "Force JSON output (default when stdout is piped)",
3386
- "name": "json",
3387
- "allowNo": false,
3388
- "type": "boolean"
3389
- },
3390
- "quiet": {
3391
- "description": "Suppress output (exit code only)",
3392
- "name": "quiet",
3393
- "allowNo": false,
3394
- "type": "boolean"
3395
- },
3396
- "api-key": {
3397
- "description": "AGLedger API key",
3398
- "env": "AGLEDGER_API_KEY",
3399
- "name": "api-key",
3400
- "hasDynamicHelp": false,
3401
- "multiple": false,
3402
- "type": "option"
3403
- },
3404
- "api-url": {
3405
- "description": "AGLedger API base URL",
3406
- "env": "AGLEDGER_API_URL",
3407
- "name": "api-url",
3408
- "hasDynamicHelp": false,
3409
- "multiple": false,
3410
- "type": "option"
3411
- },
3412
- "limit": {
3413
- "description": "Max results per page",
3414
- "name": "limit",
3415
- "default": 50,
3416
- "hasDynamicHelp": false,
3417
- "multiple": false,
3418
- "type": "option"
3419
- },
3420
- "cursor": {
3421
- "description": "Pagination cursor",
3422
- "name": "cursor",
3423
- "hasDynamicHelp": false,
3424
- "multiple": false,
3425
- "type": "option"
3426
- },
3427
- "all": {
3428
- "description": "Stream all pages as NDJSON",
3429
- "name": "all",
3430
- "allowNo": false,
3431
- "type": "boolean"
3432
- }
3433
- },
3434
- "hasDynamicHelp": false,
3435
- "hiddenAliases": [],
3436
- "id": "schema:list",
3437
- "pluginAlias": "@agledger/cli",
3438
- "pluginName": "@agledger/cli",
3439
- "pluginType": "core",
3440
- "strict": true,
3441
- "enableJsonFlag": false,
3442
- "isESM": true,
3443
- "relativePath": [
3444
- "dist",
3445
- "commands",
3446
- "schema",
3447
- "list.js"
3448
- ]
3449
- },
3450
- "schema:meta-schema": {
3451
- "aliases": [],
3452
- "args": {},
3453
- "description": "Get the meta-schema for custom schema authoring",
3454
- "flags": {
3455
- "json": {
3456
- "description": "Force JSON output (default when stdout is piped)",
3457
- "name": "json",
3458
- "allowNo": false,
3459
- "type": "boolean"
3460
- },
3461
- "quiet": {
3462
- "description": "Suppress output (exit code only)",
3463
- "name": "quiet",
3464
- "allowNo": false,
3465
- "type": "boolean"
3466
- },
3467
- "api-key": {
3468
- "description": "AGLedger API key",
3469
- "env": "AGLEDGER_API_KEY",
3470
- "name": "api-key",
3471
- "hasDynamicHelp": false,
3472
- "multiple": false,
3473
- "type": "option"
3474
- },
3475
- "api-url": {
3476
- "description": "AGLedger API base URL",
3477
- "env": "AGLEDGER_API_URL",
3478
- "name": "api-url",
3479
- "hasDynamicHelp": false,
3480
- "multiple": false,
3481
- "type": "option"
3482
- },
3483
- "output": {
3484
- "char": "o",
3485
- "description": "Write meta-schema to file (e.g., for VS Code json.schemas)",
3486
- "name": "output",
3487
- "hasDynamicHelp": false,
3488
- "multiple": false,
3489
- "type": "option"
3490
- }
3491
- },
3492
- "hasDynamicHelp": false,
3493
- "hiddenAliases": [],
3494
- "id": "schema:meta-schema",
3495
- "pluginAlias": "@agledger/cli",
3496
- "pluginName": "@agledger/cli",
3497
- "pluginType": "core",
3498
- "strict": true,
3499
- "enableJsonFlag": false,
3500
- "isESM": true,
3501
- "relativePath": [
3502
- "dist",
3503
- "commands",
3504
- "schema",
3505
- "meta-schema.js"
3506
- ]
3507
- },
3508
- "schema:preview": {
3509
- "aliases": [],
3510
- "args": {
3511
- "file": {
3512
- "description": "Path to schema definition JSON file",
3513
- "name": "file",
3514
- "required": true
3515
- }
3516
- },
3517
- "description": "Preview a schema before registration",
3518
- "flags": {
3519
- "json": {
3520
- "description": "Force JSON output (default when stdout is piped)",
3521
- "name": "json",
3522
- "allowNo": false,
3523
- "type": "boolean"
3524
- },
3525
- "quiet": {
3526
- "description": "Suppress output (exit code only)",
3527
- "name": "quiet",
3528
- "allowNo": false,
3529
- "type": "boolean"
3530
- },
3531
- "api-key": {
3532
- "description": "AGLedger API key",
3533
- "env": "AGLEDGER_API_KEY",
3534
- "name": "api-key",
3535
- "hasDynamicHelp": false,
3536
- "multiple": false,
3537
- "type": "option"
3538
- },
3539
- "api-url": {
3540
- "description": "AGLedger API base URL",
3541
- "env": "AGLEDGER_API_URL",
3542
- "name": "api-url",
3543
- "hasDynamicHelp": false,
3544
- "multiple": false,
3545
- "type": "option"
3546
- }
3547
- },
3548
- "hasDynamicHelp": false,
3549
- "hiddenAliases": [],
3550
- "id": "schema:preview",
3551
- "pluginAlias": "@agledger/cli",
3552
- "pluginName": "@agledger/cli",
3553
- "pluginType": "core",
3554
- "strict": true,
3555
- "enableJsonFlag": false,
3556
- "isESM": true,
3557
- "relativePath": [
3558
- "dist",
3559
- "commands",
3560
- "schema",
3561
- "preview.js"
3562
- ]
3563
- },
3564
- "schema:register": {
3565
- "aliases": [],
3566
- "args": {
3567
- "file": {
3568
- "description": "Path to schema definition JSON file",
3569
- "name": "file",
3570
- "required": true
3571
- }
3572
- },
3573
- "description": "Register a new custom contract type schema",
3574
- "flags": {
3575
- "json": {
3576
- "description": "Force JSON output (default when stdout is piped)",
3577
- "name": "json",
3578
- "allowNo": false,
3579
- "type": "boolean"
3580
- },
3581
- "quiet": {
3582
- "description": "Suppress output (exit code only)",
3583
- "name": "quiet",
3584
- "allowNo": false,
3585
- "type": "boolean"
3586
- },
3587
- "api-key": {
3588
- "description": "AGLedger API key",
3589
- "env": "AGLEDGER_API_KEY",
3590
- "name": "api-key",
3591
- "hasDynamicHelp": false,
3592
- "multiple": false,
3593
- "type": "option"
3594
- },
3595
- "api-url": {
3596
- "description": "AGLedger API base URL",
3597
- "env": "AGLEDGER_API_URL",
3598
- "name": "api-url",
3599
- "hasDynamicHelp": false,
3600
- "multiple": false,
3601
- "type": "option"
3602
- },
3603
- "dry-run": {
3604
- "description": "Show what would be sent without hitting the API",
3605
- "name": "dry-run",
3606
- "allowNo": false,
3607
- "type": "boolean"
3608
- }
3609
- },
3610
- "hasDynamicHelp": false,
3611
- "hiddenAliases": [],
3612
- "id": "schema:register",
3613
- "pluginAlias": "@agledger/cli",
3614
- "pluginName": "@agledger/cli",
3615
- "pluginType": "core",
3616
- "strict": true,
3617
- "enableJsonFlag": false,
3618
- "isESM": true,
3619
- "relativePath": [
3620
- "dist",
3621
- "commands",
3622
- "schema",
3623
- "register.js"
3624
- ]
3625
- },
3626
- "schema:rules": {
3627
- "aliases": [],
3628
- "args": {
3629
- "type": {
3630
- "description": "Contract type (e.g., ACH-PROC-v1)",
3631
- "name": "type",
3632
- "required": true
3633
- }
3634
- },
3635
- "description": "Get verification rules for a contract type",
3636
- "flags": {
3637
- "json": {
3638
- "description": "Force JSON output (default when stdout is piped)",
3639
- "name": "json",
3640
- "allowNo": false,
3641
- "type": "boolean"
3642
- },
3643
- "quiet": {
3644
- "description": "Suppress output (exit code only)",
3645
- "name": "quiet",
3646
- "allowNo": false,
3647
- "type": "boolean"
3648
- },
3649
- "api-key": {
3650
- "description": "AGLedger API key",
3651
- "env": "AGLEDGER_API_KEY",
3652
- "name": "api-key",
3653
- "hasDynamicHelp": false,
3654
- "multiple": false,
3655
- "type": "option"
3656
- },
3657
- "api-url": {
3658
- "description": "AGLedger API base URL",
3659
- "env": "AGLEDGER_API_URL",
3660
- "name": "api-url",
3661
- "hasDynamicHelp": false,
3662
- "multiple": false,
3663
- "type": "option"
3664
- }
3665
- },
3666
- "hasDynamicHelp": false,
3667
- "hiddenAliases": [],
3668
- "id": "schema:rules",
3669
- "pluginAlias": "@agledger/cli",
3670
- "pluginName": "@agledger/cli",
3671
- "pluginType": "core",
3672
- "strict": true,
3673
- "enableJsonFlag": false,
3674
- "isESM": true,
3675
- "relativePath": [
3676
- "dist",
3677
- "commands",
3678
- "schema",
3679
- "rules.js"
3680
- ]
3681
- },
3682
- "schema:template": {
3683
- "aliases": [],
3684
- "args": {
3685
- "type": {
3686
- "description": "Contract type (e.g., ACH-PROC-v1)",
3687
- "name": "type",
3688
- "required": true
3689
- }
3690
- },
3691
- "description": "Get a starter template from an existing contract type",
3692
- "flags": {
3693
- "json": {
3694
- "description": "Force JSON output (default when stdout is piped)",
3695
- "name": "json",
3696
- "allowNo": false,
3697
- "type": "boolean"
3698
- },
3699
- "quiet": {
3700
- "description": "Suppress output (exit code only)",
3701
- "name": "quiet",
3702
- "allowNo": false,
3703
- "type": "boolean"
3704
- },
3705
- "api-key": {
3706
- "description": "AGLedger API key",
3707
- "env": "AGLEDGER_API_KEY",
3708
- "name": "api-key",
3709
- "hasDynamicHelp": false,
3710
- "multiple": false,
3711
- "type": "option"
3712
- },
3713
- "api-url": {
3714
- "description": "AGLedger API base URL",
3715
- "env": "AGLEDGER_API_URL",
3716
- "name": "api-url",
3717
- "hasDynamicHelp": false,
3718
- "multiple": false,
3719
- "type": "option"
3720
- },
3721
- "output": {
3722
- "char": "o",
3723
- "description": "Write template to file",
3724
- "name": "output",
3725
- "hasDynamicHelp": false,
3726
- "multiple": false,
3727
- "type": "option"
3728
- }
3729
- },
3730
- "hasDynamicHelp": false,
3731
- "hiddenAliases": [],
3732
- "id": "schema:template",
3733
- "pluginAlias": "@agledger/cli",
3734
- "pluginName": "@agledger/cli",
3735
- "pluginType": "core",
3736
- "strict": true,
3737
- "enableJsonFlag": false,
3738
- "isESM": true,
3739
- "relativePath": [
3740
- "dist",
3741
- "commands",
3742
- "schema",
3743
- "template.js"
3744
- ]
3745
- },
3746
- "schema:validate": {
3747
- "aliases": [],
3748
- "args": {
3749
- "type": {
3750
- "description": "Contract type (e.g., ACH-PROC-v1)",
3751
- "name": "type",
3752
- "required": true
3753
- },
3754
- "file": {
3755
- "description": "Path to receipt evidence JSON file",
3756
- "name": "file",
3757
- "required": true
3758
- }
3759
- },
3760
- "description": "Validate receipt evidence against a contract type schema",
3761
- "flags": {
3762
- "json": {
3763
- "description": "Force JSON output (default when stdout is piped)",
3764
- "name": "json",
3765
- "allowNo": false,
3766
- "type": "boolean"
3767
- },
3768
- "quiet": {
3769
- "description": "Suppress output (exit code only)",
3770
- "name": "quiet",
3771
- "allowNo": false,
3772
- "type": "boolean"
3773
- },
3774
- "api-key": {
3775
- "description": "AGLedger API key",
3776
- "env": "AGLEDGER_API_KEY",
3777
- "name": "api-key",
3778
- "hasDynamicHelp": false,
3779
- "multiple": false,
3780
- "type": "option"
3781
- },
3782
- "api-url": {
3783
- "description": "AGLedger API base URL",
3784
- "env": "AGLEDGER_API_URL",
3785
- "name": "api-url",
3786
- "hasDynamicHelp": false,
3787
- "multiple": false,
3788
- "type": "option"
3789
- }
3790
- },
3791
- "hasDynamicHelp": false,
3792
- "hiddenAliases": [],
3793
- "id": "schema:validate",
3794
- "pluginAlias": "@agledger/cli",
3795
- "pluginName": "@agledger/cli",
3796
- "pluginType": "core",
3797
- "strict": true,
3798
- "enableJsonFlag": false,
3799
- "isESM": true,
3800
- "relativePath": [
3801
- "dist",
3802
- "commands",
3803
- "schema",
3804
- "validate.js"
3805
- ]
3806
- },
3807
- "schema:versions": {
3808
- "aliases": [],
3809
- "args": {
3810
- "type": {
3811
- "description": "Contract type (e.g., ACH-PROC-v1)",
3812
- "name": "type",
3813
- "required": true
3814
- }
3815
- },
3816
- "description": "List all versions of a contract type schema",
3817
- "flags": {
3818
- "json": {
3819
- "description": "Force JSON output (default when stdout is piped)",
3820
- "name": "json",
3821
- "allowNo": false,
3822
- "type": "boolean"
3823
- },
3824
- "quiet": {
3825
- "description": "Suppress output (exit code only)",
3826
- "name": "quiet",
3827
- "allowNo": false,
3828
- "type": "boolean"
3829
- },
3830
- "api-key": {
3831
- "description": "AGLedger API key",
3832
- "env": "AGLEDGER_API_KEY",
3833
- "name": "api-key",
3834
- "hasDynamicHelp": false,
3835
- "multiple": false,
3836
- "type": "option"
3837
- },
3838
- "api-url": {
3839
- "description": "AGLedger API base URL",
3840
- "env": "AGLEDGER_API_URL",
3841
- "name": "api-url",
3842
- "hasDynamicHelp": false,
3843
- "multiple": false,
3844
- "type": "option"
3845
- },
3846
- "limit": {
3847
- "description": "Max results per page",
3848
- "name": "limit",
3849
- "default": 50,
3850
- "hasDynamicHelp": false,
3851
- "multiple": false,
3852
- "type": "option"
3853
- },
3854
- "cursor": {
3855
- "description": "Pagination cursor",
3856
- "name": "cursor",
3857
- "hasDynamicHelp": false,
3858
- "multiple": false,
3859
- "type": "option"
3860
- },
3861
- "all": {
3862
- "description": "Stream all pages as NDJSON",
3863
- "name": "all",
3864
- "allowNo": false,
3865
- "type": "boolean"
3866
- }
3867
- },
3868
- "hasDynamicHelp": false,
3869
- "hiddenAliases": [],
3870
- "id": "schema:versions",
3871
- "pluginAlias": "@agledger/cli",
3872
- "pluginName": "@agledger/cli",
3873
- "pluginType": "core",
3874
- "strict": true,
3875
- "enableJsonFlag": false,
3876
- "isESM": true,
3877
- "relativePath": [
3878
- "dist",
3879
- "commands",
3880
- "schema",
3881
- "versions.js"
3882
- ]
3883
- },
3884
- "webhook:create": {
3885
- "aliases": [],
3886
- "args": {},
3887
- "description": "Create a webhook subscription",
3888
- "flags": {
3889
- "json": {
3890
- "description": "Force JSON output (default when stdout is piped)",
3891
- "name": "json",
3892
- "allowNo": false,
3893
- "type": "boolean"
3894
- },
3895
- "quiet": {
3896
- "description": "Suppress output (exit code only)",
3897
- "name": "quiet",
3898
- "allowNo": false,
3899
- "type": "boolean"
3900
- },
3901
- "api-key": {
3902
- "description": "AGLedger API key",
3903
- "env": "AGLEDGER_API_KEY",
3904
- "name": "api-key",
3905
- "hasDynamicHelp": false,
3906
- "multiple": false,
3907
- "type": "option"
3908
- },
3909
- "api-url": {
3910
- "description": "AGLedger API base URL",
3911
- "env": "AGLEDGER_API_URL",
3912
- "name": "api-url",
3913
- "hasDynamicHelp": false,
3914
- "multiple": false,
3915
- "type": "option"
3916
- },
3917
- "url": {
3918
- "description": "Webhook endpoint URL",
3919
- "name": "url",
3920
- "required": true,
3921
- "hasDynamicHelp": false,
3922
- "multiple": false,
3923
- "type": "option"
3924
- },
3925
- "events": {
3926
- "description": "Comma-separated event types (e.g., mandate.created,receipt.submitted)",
3927
- "name": "events",
3928
- "required": true,
3929
- "hasDynamicHelp": false,
3930
- "multiple": false,
3931
- "type": "option"
3932
- },
3933
- "dry-run": {
3934
- "description": "Show what would be sent without hitting the API",
3935
- "name": "dry-run",
3936
- "allowNo": false,
3937
- "type": "boolean"
3938
- }
3939
- },
3940
- "hasDynamicHelp": false,
3941
- "hiddenAliases": [],
3942
- "id": "webhook:create",
3943
- "pluginAlias": "@agledger/cli",
3944
- "pluginName": "@agledger/cli",
3945
- "pluginType": "core",
3946
- "strict": true,
3947
- "enableJsonFlag": false,
3948
- "isESM": true,
3949
- "relativePath": [
3950
- "dist",
3951
- "commands",
3952
- "webhook",
3953
- "create.js"
3954
- ]
3955
- },
3956
- "webhook:delete": {
3957
- "aliases": [],
3958
- "args": {
3959
- "id": {
3960
- "description": "Webhook ID",
3961
- "name": "id",
3962
- "required": true
3963
- }
3964
- },
3965
- "description": "Delete a webhook subscription",
3966
- "flags": {
3967
- "json": {
3968
- "description": "Force JSON output (default when stdout is piped)",
3969
- "name": "json",
3970
- "allowNo": false,
3971
- "type": "boolean"
3972
- },
3973
- "quiet": {
3974
- "description": "Suppress output (exit code only)",
3975
- "name": "quiet",
3976
- "allowNo": false,
3977
- "type": "boolean"
3978
- },
3979
- "api-key": {
3980
- "description": "AGLedger API key",
3981
- "env": "AGLEDGER_API_KEY",
3982
- "name": "api-key",
3983
- "hasDynamicHelp": false,
3984
- "multiple": false,
3985
- "type": "option"
3986
- },
3987
- "api-url": {
3988
- "description": "AGLedger API base URL",
3989
- "env": "AGLEDGER_API_URL",
3990
- "name": "api-url",
3991
- "hasDynamicHelp": false,
3992
- "multiple": false,
3993
- "type": "option"
3994
- },
3995
- "dry-run": {
3996
- "description": "Show what would be deleted without hitting the API",
3997
- "name": "dry-run",
3998
- "allowNo": false,
3999
- "type": "boolean"
4000
- }
4001
- },
4002
- "hasDynamicHelp": false,
4003
- "hiddenAliases": [],
4004
- "id": "webhook:delete",
4005
- "pluginAlias": "@agledger/cli",
4006
- "pluginName": "@agledger/cli",
4007
- "pluginType": "core",
4008
- "strict": true,
4009
- "enableJsonFlag": false,
4010
- "isESM": true,
4011
- "relativePath": [
4012
- "dist",
4013
- "commands",
4014
- "webhook",
4015
- "delete.js"
4016
- ]
4017
- },
4018
- "webhook:list": {
4019
- "aliases": [],
4020
- "args": {},
4021
- "description": "List registered webhooks, optionally filtered by exact URL",
4022
- "flags": {
4023
- "json": {
4024
- "description": "Force JSON output (default when stdout is piped)",
4025
- "name": "json",
4026
- "allowNo": false,
4027
- "type": "boolean"
4028
- },
4029
- "quiet": {
4030
- "description": "Suppress output (exit code only)",
4031
- "name": "quiet",
4032
- "allowNo": false,
4033
- "type": "boolean"
4034
- },
4035
- "api-key": {
4036
- "description": "AGLedger API key",
4037
- "env": "AGLEDGER_API_KEY",
4038
- "name": "api-key",
4039
- "hasDynamicHelp": false,
4040
- "multiple": false,
4041
- "type": "option"
4042
- },
4043
- "api-url": {
4044
- "description": "AGLedger API base URL",
4045
- "env": "AGLEDGER_API_URL",
4046
- "name": "api-url",
4047
- "hasDynamicHelp": false,
4048
- "multiple": false,
4049
- "type": "option"
4050
- },
4051
- "url": {
4052
- "description": "Filter by exact webhook URL",
4053
- "name": "url",
4054
- "hasDynamicHelp": false,
4055
- "multiple": false,
4056
- "type": "option"
4057
- },
4058
- "limit": {
4059
- "description": "Max results per page",
4060
- "name": "limit",
4061
- "default": 50,
4062
- "hasDynamicHelp": false,
4063
- "multiple": false,
4064
- "type": "option"
4065
- },
4066
- "cursor": {
4067
- "description": "Pagination cursor",
4068
- "name": "cursor",
4069
- "hasDynamicHelp": false,
4070
- "multiple": false,
4071
- "type": "option"
4072
- },
4073
- "all": {
4074
- "description": "Stream all pages as NDJSON",
4075
- "name": "all",
4076
- "allowNo": false,
4077
- "type": "boolean"
4078
- }
4079
- },
4080
- "hasDynamicHelp": false,
4081
- "hiddenAliases": [],
4082
- "id": "webhook:list",
4083
- "pluginAlias": "@agledger/cli",
4084
- "pluginName": "@agledger/cli",
4085
- "pluginType": "core",
4086
- "strict": true,
4087
- "enableJsonFlag": false,
4088
- "isESM": true,
4089
- "relativePath": [
4090
- "dist",
4091
- "commands",
4092
- "webhook",
4093
- "list.js"
4094
- ]
4095
588
  }
4096
589
  },
4097
- "version": "0.5.3"
590
+ "version": "0.7.0"
4098
591
  }