@jaw.id/cli 0.1.25 → 0.2.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +202 -0
- package/NOTICE +5 -0
- package/README.md +4 -0
- package/dist/base-command.js +3 -1
- package/dist/base-command.js.map +1 -1
- package/dist/commands/config/set.js +140 -12
- package/dist/commands/config/set.js.map +1 -1
- package/dist/commands/config/show.js +3 -1
- package/dist/commands/config/show.js.map +1 -1
- package/dist/commands/config/write.js +6 -4
- package/dist/commands/config/write.js.map +1 -1
- package/dist/commands/disconnect.js +24 -10
- package/dist/commands/disconnect.js.map +1 -1
- package/dist/commands/mcp/index.js +2426 -94
- package/dist/commands/mcp/index.js.map +1 -1
- package/dist/commands/rpc/call.js +197 -45
- package/dist/commands/rpc/call.js.map +1 -1
- package/dist/commands/session/add.js +1547 -0
- package/dist/commands/session/add.js.map +1 -0
- package/dist/commands/session/revoke.js +181 -54
- package/dist/commands/session/revoke.js.map +1 -1
- package/dist/commands/session/setup.js +516 -65
- package/dist/commands/session/setup.js.map +1 -1
- package/dist/commands/session/status.js +315 -6
- package/dist/commands/session/status.js.map +1 -1
- package/dist/commands/version.js +3 -1
- package/dist/commands/version.js.map +1 -1
- package/dist/commands/x402/log.js +344 -0
- package/dist/commands/x402/log.js.map +1 -0
- package/dist/commands/x402/pay.js +2122 -0
- package/dist/commands/x402/pay.js.map +1 -0
- package/dist/commands/x402/status.js +1047 -0
- package/dist/commands/x402/status.js.map +1 -0
- package/dist/index.js +41 -14
- package/dist/index.js.map +1 -1
- package/dist/lib/bridge-singleton.js +41 -14
- package/dist/lib/bridge-singleton.js.map +1 -1
- package/dist/lib/config.js +26 -3
- package/dist/lib/config.js.map +1 -1
- package/dist/lib/keystore.js +13 -2
- package/dist/lib/keystore.js.map +1 -1
- package/dist/lib/paths.js +3 -1
- package/dist/lib/paths.js.map +1 -1
- package/dist/lib/payment-lock.js +121 -0
- package/dist/lib/payment-lock.js.map +1 -0
- package/dist/lib/session-bridge.js +148 -24
- package/dist/lib/session-bridge.js.map +1 -1
- package/dist/lib/session-config.js +78 -11
- package/dist/lib/session-config.js.map +1 -1
- package/dist/lib/terminal.js +22 -0
- package/dist/lib/terminal.js.map +1 -0
- package/dist/lib/validation.js +3 -3
- package/dist/lib/validation.js.map +1 -1
- package/dist/lib/ws-bridge.js +22 -10
- package/dist/lib/ws-bridge.js.map +1 -1
- package/dist/mcp/handlers/config.js +73 -6
- package/dist/mcp/handlers/config.js.map +1 -1
- package/dist/mcp/handlers/daemon.js +43 -12
- package/dist/mcp/handlers/daemon.js.map +1 -1
- package/dist/mcp/handlers/resources.js +119 -0
- package/dist/mcp/handlers/resources.js.map +1 -1
- package/dist/mcp/handlers/rpc.js +269 -60
- package/dist/mcp/handlers/rpc.js.map +1 -1
- package/dist/mcp/helpers.js +50 -3
- package/dist/mcp/helpers.js.map +1 -1
- package/dist/mcp/server.js +2426 -94
- package/dist/mcp/server.js.map +1 -1
- package/dist/mcp/tools.js +43 -3
- package/dist/mcp/tools.js.map +1 -1
- package/dist/x402/log-view.js +160 -0
- package/dist/x402/log-view.js.map +1 -0
- package/dist/x402/status-report.js +90 -0
- package/dist/x402/status-report.js.map +1 -0
- package/oclif.manifest.json +398 -4
- package/package.json +8 -3
package/oclif.manifest.json
CHANGED
|
@@ -144,7 +144,9 @@
|
|
|
144
144
|
"examples": [
|
|
145
145
|
"<%= config.bin %> config set apiKey=your-api-key defaultChain=8453",
|
|
146
146
|
"<%= config.bin %> config set ens=yourdomain.eth sessionExpiry=14",
|
|
147
|
-
"<%= config.bin %> config set apiKey your-api-key"
|
|
147
|
+
"<%= config.bin %> config set apiKey your-api-key",
|
|
148
|
+
"<%= config.bin %> config set x402.maxAmountPerPayment=50000 x402.maxTotalPerSession=1000000",
|
|
149
|
+
"<%= config.bin %> config set x402.allowedNetworks=eip155:8453,eip155:84532"
|
|
148
150
|
],
|
|
149
151
|
"flags": {
|
|
150
152
|
"output": {
|
|
@@ -446,9 +448,8 @@
|
|
|
446
448
|
},
|
|
447
449
|
"timeout": {
|
|
448
450
|
"char": "t",
|
|
449
|
-
"description": "Request timeout in seconds",
|
|
451
|
+
"description": "Request timeout in seconds (default 120, or JAW_BRIDGE_TIMEOUT_MS)",
|
|
450
452
|
"name": "timeout",
|
|
451
|
-
"default": 120,
|
|
452
453
|
"hasDynamicHelp": false,
|
|
453
454
|
"multiple": false,
|
|
454
455
|
"type": "option"
|
|
@@ -478,6 +479,104 @@
|
|
|
478
479
|
"call.js"
|
|
479
480
|
]
|
|
480
481
|
},
|
|
482
|
+
"session:add": {
|
|
483
|
+
"aliases": [],
|
|
484
|
+
"args": {},
|
|
485
|
+
"description": "Add permissions to the current session, keeping the ones it already has (one browser approval to grant, one to revoke the old).",
|
|
486
|
+
"examples": [
|
|
487
|
+
"<%= config.bin %> session add --x402",
|
|
488
|
+
"<%= config.bin %> session add --x402 --limit 10/day",
|
|
489
|
+
"<%= config.bin %> session add --permissions '{\"calls\":[...]}'"
|
|
490
|
+
],
|
|
491
|
+
"flags": {
|
|
492
|
+
"output": {
|
|
493
|
+
"char": "o",
|
|
494
|
+
"description": "Output format",
|
|
495
|
+
"env": "JAW_OUTPUT",
|
|
496
|
+
"name": "output",
|
|
497
|
+
"default": "human",
|
|
498
|
+
"hasDynamicHelp": false,
|
|
499
|
+
"multiple": false,
|
|
500
|
+
"options": [
|
|
501
|
+
"json",
|
|
502
|
+
"human"
|
|
503
|
+
],
|
|
504
|
+
"type": "option"
|
|
505
|
+
},
|
|
506
|
+
"chain": {
|
|
507
|
+
"char": "c",
|
|
508
|
+
"description": "Chain ID",
|
|
509
|
+
"env": "JAW_CHAIN_ID",
|
|
510
|
+
"name": "chain",
|
|
511
|
+
"hasDynamicHelp": false,
|
|
512
|
+
"multiple": false,
|
|
513
|
+
"type": "option"
|
|
514
|
+
},
|
|
515
|
+
"api-key": {
|
|
516
|
+
"description": "JAW API key",
|
|
517
|
+
"env": "JAW_API_KEY",
|
|
518
|
+
"name": "api-key",
|
|
519
|
+
"hasDynamicHelp": false,
|
|
520
|
+
"multiple": false,
|
|
521
|
+
"type": "option"
|
|
522
|
+
},
|
|
523
|
+
"yes": {
|
|
524
|
+
"char": "y",
|
|
525
|
+
"description": "Skip confirmations (for AI agents)",
|
|
526
|
+
"name": "yes",
|
|
527
|
+
"allowNo": false,
|
|
528
|
+
"type": "boolean"
|
|
529
|
+
},
|
|
530
|
+
"quiet": {
|
|
531
|
+
"char": "q",
|
|
532
|
+
"description": "Suppress non-essential output",
|
|
533
|
+
"name": "quiet",
|
|
534
|
+
"allowNo": false,
|
|
535
|
+
"type": "boolean"
|
|
536
|
+
},
|
|
537
|
+
"permissions": {
|
|
538
|
+
"description": "Permissions to add (inline JSON or file path).",
|
|
539
|
+
"exclusive": [
|
|
540
|
+
"x402"
|
|
541
|
+
],
|
|
542
|
+
"name": "permissions",
|
|
543
|
+
"hasDynamicHelp": false,
|
|
544
|
+
"multiple": false,
|
|
545
|
+
"type": "option"
|
|
546
|
+
},
|
|
547
|
+
"x402": {
|
|
548
|
+
"description": "Add exactly what x402 payments need on the session chain. Tune the cap with --limit.",
|
|
549
|
+
"exclusive": [
|
|
550
|
+
"permissions"
|
|
551
|
+
],
|
|
552
|
+
"name": "x402",
|
|
553
|
+
"allowNo": false,
|
|
554
|
+
"type": "boolean"
|
|
555
|
+
},
|
|
556
|
+
"limit": {
|
|
557
|
+
"description": "Spend cap for --x402, as <amount>/<period> (default 10/day).",
|
|
558
|
+
"name": "limit",
|
|
559
|
+
"hasDynamicHelp": false,
|
|
560
|
+
"multiple": false,
|
|
561
|
+
"type": "option"
|
|
562
|
+
}
|
|
563
|
+
},
|
|
564
|
+
"hasDynamicHelp": false,
|
|
565
|
+
"hiddenAliases": [],
|
|
566
|
+
"id": "session:add",
|
|
567
|
+
"pluginAlias": "@jaw.id/cli",
|
|
568
|
+
"pluginName": "@jaw.id/cli",
|
|
569
|
+
"pluginType": "core",
|
|
570
|
+
"strict": true,
|
|
571
|
+
"enableJsonFlag": false,
|
|
572
|
+
"isESM": true,
|
|
573
|
+
"relativePath": [
|
|
574
|
+
"dist",
|
|
575
|
+
"commands",
|
|
576
|
+
"session",
|
|
577
|
+
"add.js"
|
|
578
|
+
]
|
|
579
|
+
},
|
|
481
580
|
"session:revoke": {
|
|
482
581
|
"aliases": [],
|
|
483
582
|
"args": {},
|
|
@@ -527,6 +626,12 @@
|
|
|
527
626
|
"name": "quiet",
|
|
528
627
|
"allowNo": false,
|
|
529
628
|
"type": "boolean"
|
|
629
|
+
},
|
|
630
|
+
"force": {
|
|
631
|
+
"description": "Delete the local session even if some permissions could not be revoked. They stay live on chain until they expire, and their ids are printed because deleting the session is what loses them.",
|
|
632
|
+
"name": "force",
|
|
633
|
+
"allowNo": false,
|
|
634
|
+
"type": "boolean"
|
|
530
635
|
}
|
|
531
636
|
},
|
|
532
637
|
"hasDynamicHelp": false,
|
|
@@ -550,6 +655,8 @@
|
|
|
550
655
|
"args": {},
|
|
551
656
|
"description": "Generate a session key and grant scoped on-chain permissions (one-time browser approval).",
|
|
552
657
|
"examples": [
|
|
658
|
+
"<%= config.bin %> session setup --chain 8453 --x402",
|
|
659
|
+
"<%= config.bin %> session setup --chain 8453 --x402 --limit 25/day --expiry 14",
|
|
553
660
|
"<%= config.bin %> session setup --chain 84532",
|
|
554
661
|
"<%= config.bin %> session setup --permissions '{\"calls\":[...]}' --expiry 14",
|
|
555
662
|
"<%= config.bin %> session setup --permissions ./permissions.json"
|
|
@@ -602,11 +709,30 @@
|
|
|
602
709
|
},
|
|
603
710
|
"permissions": {
|
|
604
711
|
"description": "Permission scope (inline JSON or file path). Overrides config.permissions.",
|
|
712
|
+
"exclusive": [
|
|
713
|
+
"x402"
|
|
714
|
+
],
|
|
605
715
|
"name": "permissions",
|
|
606
716
|
"hasDynamicHelp": false,
|
|
607
717
|
"multiple": false,
|
|
608
718
|
"type": "option"
|
|
609
719
|
},
|
|
720
|
+
"x402": {
|
|
721
|
+
"description": "Grant exactly what x402 payments need on this chain: a USDC transfer capped per period. Builds the permission from the asset registry so the USDC address and function signature do not have to be written by hand. Tune the cap with --limit.",
|
|
722
|
+
"exclusive": [
|
|
723
|
+
"permissions"
|
|
724
|
+
],
|
|
725
|
+
"name": "x402",
|
|
726
|
+
"allowNo": false,
|
|
727
|
+
"type": "boolean"
|
|
728
|
+
},
|
|
729
|
+
"limit": {
|
|
730
|
+
"description": "Spend cap for --x402, as <amount>/<period> (default 10/day). Examples: 25/day, 2.5/week, 100/month.",
|
|
731
|
+
"name": "limit",
|
|
732
|
+
"hasDynamicHelp": false,
|
|
733
|
+
"multiple": false,
|
|
734
|
+
"type": "option"
|
|
735
|
+
},
|
|
610
736
|
"expiry": {
|
|
611
737
|
"description": "Permission expiry in days. Overrides config.sessionExpiry.",
|
|
612
738
|
"name": "expiry",
|
|
@@ -697,7 +823,275 @@
|
|
|
697
823
|
"session",
|
|
698
824
|
"status.js"
|
|
699
825
|
]
|
|
826
|
+
},
|
|
827
|
+
"x402:log": {
|
|
828
|
+
"aliases": [],
|
|
829
|
+
"args": {},
|
|
830
|
+
"description": "Show the local x402 payment ledger: every attempt, paid, failed or refused, with amounts and transactions.",
|
|
831
|
+
"examples": [
|
|
832
|
+
"<%= config.bin %> x402 log",
|
|
833
|
+
"<%= config.bin %> x402 log --limit 20",
|
|
834
|
+
"<%= config.bin %> x402 log --status failed",
|
|
835
|
+
"<%= config.bin %> x402 log --output json"
|
|
836
|
+
],
|
|
837
|
+
"flags": {
|
|
838
|
+
"output": {
|
|
839
|
+
"char": "o",
|
|
840
|
+
"description": "Output format",
|
|
841
|
+
"env": "JAW_OUTPUT",
|
|
842
|
+
"name": "output",
|
|
843
|
+
"default": "human",
|
|
844
|
+
"hasDynamicHelp": false,
|
|
845
|
+
"multiple": false,
|
|
846
|
+
"options": [
|
|
847
|
+
"json",
|
|
848
|
+
"human"
|
|
849
|
+
],
|
|
850
|
+
"type": "option"
|
|
851
|
+
},
|
|
852
|
+
"chain": {
|
|
853
|
+
"char": "c",
|
|
854
|
+
"description": "Chain ID",
|
|
855
|
+
"env": "JAW_CHAIN_ID",
|
|
856
|
+
"name": "chain",
|
|
857
|
+
"hasDynamicHelp": false,
|
|
858
|
+
"multiple": false,
|
|
859
|
+
"type": "option"
|
|
860
|
+
},
|
|
861
|
+
"api-key": {
|
|
862
|
+
"description": "JAW API key",
|
|
863
|
+
"env": "JAW_API_KEY",
|
|
864
|
+
"name": "api-key",
|
|
865
|
+
"hasDynamicHelp": false,
|
|
866
|
+
"multiple": false,
|
|
867
|
+
"type": "option"
|
|
868
|
+
},
|
|
869
|
+
"yes": {
|
|
870
|
+
"char": "y",
|
|
871
|
+
"description": "Skip confirmations (for AI agents)",
|
|
872
|
+
"name": "yes",
|
|
873
|
+
"allowNo": false,
|
|
874
|
+
"type": "boolean"
|
|
875
|
+
},
|
|
876
|
+
"quiet": {
|
|
877
|
+
"char": "q",
|
|
878
|
+
"description": "Suppress non-essential output",
|
|
879
|
+
"name": "quiet",
|
|
880
|
+
"allowNo": false,
|
|
881
|
+
"type": "boolean"
|
|
882
|
+
},
|
|
883
|
+
"limit": {
|
|
884
|
+
"description": "Show only the most recent N entries.",
|
|
885
|
+
"name": "limit",
|
|
886
|
+
"hasDynamicHelp": false,
|
|
887
|
+
"multiple": false,
|
|
888
|
+
"type": "option"
|
|
889
|
+
},
|
|
890
|
+
"status": {
|
|
891
|
+
"description": "Show only entries with this outcome.",
|
|
892
|
+
"name": "status",
|
|
893
|
+
"hasDynamicHelp": false,
|
|
894
|
+
"multiple": false,
|
|
895
|
+
"options": [
|
|
896
|
+
"paid",
|
|
897
|
+
"failed",
|
|
898
|
+
"refused"
|
|
899
|
+
],
|
|
900
|
+
"type": "option"
|
|
901
|
+
}
|
|
902
|
+
},
|
|
903
|
+
"hasDynamicHelp": false,
|
|
904
|
+
"hiddenAliases": [],
|
|
905
|
+
"id": "x402:log",
|
|
906
|
+
"pluginAlias": "@jaw.id/cli",
|
|
907
|
+
"pluginName": "@jaw.id/cli",
|
|
908
|
+
"pluginType": "core",
|
|
909
|
+
"strict": true,
|
|
910
|
+
"enableJsonFlag": false,
|
|
911
|
+
"isESM": true,
|
|
912
|
+
"relativePath": [
|
|
913
|
+
"dist",
|
|
914
|
+
"commands",
|
|
915
|
+
"x402",
|
|
916
|
+
"log.js"
|
|
917
|
+
]
|
|
918
|
+
},
|
|
919
|
+
"x402:pay": {
|
|
920
|
+
"aliases": [],
|
|
921
|
+
"args": {
|
|
922
|
+
"url": {
|
|
923
|
+
"description": "Resource URL to fetch",
|
|
924
|
+
"name": "url",
|
|
925
|
+
"required": true
|
|
926
|
+
}
|
|
927
|
+
},
|
|
928
|
+
"description": "Fetch a URL, paying an x402 challenge with the session key. Dry run by default: pass --pay to actually spend.",
|
|
929
|
+
"examples": [
|
|
930
|
+
"<%= config.bin %> x402 pay https://api.example.com/resource",
|
|
931
|
+
"<%= config.bin %> x402 pay https://api.example.com/resource --pay",
|
|
932
|
+
"<%= config.bin %> x402 pay https://api.example.com/resource --pay --max-amount 50000"
|
|
933
|
+
],
|
|
934
|
+
"flags": {
|
|
935
|
+
"output": {
|
|
936
|
+
"char": "o",
|
|
937
|
+
"description": "Output format",
|
|
938
|
+
"env": "JAW_OUTPUT",
|
|
939
|
+
"name": "output",
|
|
940
|
+
"default": "human",
|
|
941
|
+
"hasDynamicHelp": false,
|
|
942
|
+
"multiple": false,
|
|
943
|
+
"options": [
|
|
944
|
+
"json",
|
|
945
|
+
"human"
|
|
946
|
+
],
|
|
947
|
+
"type": "option"
|
|
948
|
+
},
|
|
949
|
+
"chain": {
|
|
950
|
+
"char": "c",
|
|
951
|
+
"description": "Chain ID",
|
|
952
|
+
"env": "JAW_CHAIN_ID",
|
|
953
|
+
"name": "chain",
|
|
954
|
+
"hasDynamicHelp": false,
|
|
955
|
+
"multiple": false,
|
|
956
|
+
"type": "option"
|
|
957
|
+
},
|
|
958
|
+
"api-key": {
|
|
959
|
+
"description": "JAW API key",
|
|
960
|
+
"env": "JAW_API_KEY",
|
|
961
|
+
"name": "api-key",
|
|
962
|
+
"hasDynamicHelp": false,
|
|
963
|
+
"multiple": false,
|
|
964
|
+
"type": "option"
|
|
965
|
+
},
|
|
966
|
+
"yes": {
|
|
967
|
+
"char": "y",
|
|
968
|
+
"description": "Skip confirmations (for AI agents)",
|
|
969
|
+
"name": "yes",
|
|
970
|
+
"allowNo": false,
|
|
971
|
+
"type": "boolean"
|
|
972
|
+
},
|
|
973
|
+
"quiet": {
|
|
974
|
+
"char": "q",
|
|
975
|
+
"description": "Suppress non-essential output",
|
|
976
|
+
"name": "quiet",
|
|
977
|
+
"allowNo": false,
|
|
978
|
+
"type": "boolean"
|
|
979
|
+
},
|
|
980
|
+
"pay": {
|
|
981
|
+
"description": "Actually sign and send the payment. Without this the command stops before spending.",
|
|
982
|
+
"name": "pay",
|
|
983
|
+
"allowNo": false,
|
|
984
|
+
"type": "boolean"
|
|
985
|
+
},
|
|
986
|
+
"max-amount": {
|
|
987
|
+
"description": "Hard ceiling in base units for this call, on top of the configured policy.",
|
|
988
|
+
"name": "max-amount",
|
|
989
|
+
"hasDynamicHelp": false,
|
|
990
|
+
"multiple": false,
|
|
991
|
+
"type": "option"
|
|
992
|
+
},
|
|
993
|
+
"method": {
|
|
994
|
+
"description": "HTTP method (default GET).",
|
|
995
|
+
"name": "method",
|
|
996
|
+
"hasDynamicHelp": false,
|
|
997
|
+
"multiple": false,
|
|
998
|
+
"type": "option"
|
|
999
|
+
},
|
|
1000
|
+
"body": {
|
|
1001
|
+
"description": "Request body.",
|
|
1002
|
+
"name": "body",
|
|
1003
|
+
"hasDynamicHelp": false,
|
|
1004
|
+
"multiple": false,
|
|
1005
|
+
"type": "option"
|
|
1006
|
+
}
|
|
1007
|
+
},
|
|
1008
|
+
"hasDynamicHelp": false,
|
|
1009
|
+
"hiddenAliases": [],
|
|
1010
|
+
"id": "x402:pay",
|
|
1011
|
+
"pluginAlias": "@jaw.id/cli",
|
|
1012
|
+
"pluginName": "@jaw.id/cli",
|
|
1013
|
+
"pluginType": "core",
|
|
1014
|
+
"strict": true,
|
|
1015
|
+
"enableJsonFlag": false,
|
|
1016
|
+
"isESM": true,
|
|
1017
|
+
"relativePath": [
|
|
1018
|
+
"dist",
|
|
1019
|
+
"commands",
|
|
1020
|
+
"x402",
|
|
1021
|
+
"pay.js"
|
|
1022
|
+
]
|
|
1023
|
+
},
|
|
1024
|
+
"x402:status": {
|
|
1025
|
+
"aliases": [],
|
|
1026
|
+
"args": {},
|
|
1027
|
+
"description": "Show x402 payment readiness: which account holds the funds, the resolved caps, and what has been spent. Reads only, never pays.",
|
|
1028
|
+
"examples": [
|
|
1029
|
+
"<%= config.bin %> x402 status",
|
|
1030
|
+
"<%= config.bin %> x402 status --output json"
|
|
1031
|
+
],
|
|
1032
|
+
"flags": {
|
|
1033
|
+
"output": {
|
|
1034
|
+
"char": "o",
|
|
1035
|
+
"description": "Output format",
|
|
1036
|
+
"env": "JAW_OUTPUT",
|
|
1037
|
+
"name": "output",
|
|
1038
|
+
"default": "human",
|
|
1039
|
+
"hasDynamicHelp": false,
|
|
1040
|
+
"multiple": false,
|
|
1041
|
+
"options": [
|
|
1042
|
+
"json",
|
|
1043
|
+
"human"
|
|
1044
|
+
],
|
|
1045
|
+
"type": "option"
|
|
1046
|
+
},
|
|
1047
|
+
"chain": {
|
|
1048
|
+
"char": "c",
|
|
1049
|
+
"description": "Chain ID",
|
|
1050
|
+
"env": "JAW_CHAIN_ID",
|
|
1051
|
+
"name": "chain",
|
|
1052
|
+
"hasDynamicHelp": false,
|
|
1053
|
+
"multiple": false,
|
|
1054
|
+
"type": "option"
|
|
1055
|
+
},
|
|
1056
|
+
"api-key": {
|
|
1057
|
+
"description": "JAW API key",
|
|
1058
|
+
"env": "JAW_API_KEY",
|
|
1059
|
+
"name": "api-key",
|
|
1060
|
+
"hasDynamicHelp": false,
|
|
1061
|
+
"multiple": false,
|
|
1062
|
+
"type": "option"
|
|
1063
|
+
},
|
|
1064
|
+
"yes": {
|
|
1065
|
+
"char": "y",
|
|
1066
|
+
"description": "Skip confirmations (for AI agents)",
|
|
1067
|
+
"name": "yes",
|
|
1068
|
+
"allowNo": false,
|
|
1069
|
+
"type": "boolean"
|
|
1070
|
+
},
|
|
1071
|
+
"quiet": {
|
|
1072
|
+
"char": "q",
|
|
1073
|
+
"description": "Suppress non-essential output",
|
|
1074
|
+
"name": "quiet",
|
|
1075
|
+
"allowNo": false,
|
|
1076
|
+
"type": "boolean"
|
|
1077
|
+
}
|
|
1078
|
+
},
|
|
1079
|
+
"hasDynamicHelp": false,
|
|
1080
|
+
"hiddenAliases": [],
|
|
1081
|
+
"id": "x402:status",
|
|
1082
|
+
"pluginAlias": "@jaw.id/cli",
|
|
1083
|
+
"pluginName": "@jaw.id/cli",
|
|
1084
|
+
"pluginType": "core",
|
|
1085
|
+
"strict": true,
|
|
1086
|
+
"enableJsonFlag": false,
|
|
1087
|
+
"isESM": true,
|
|
1088
|
+
"relativePath": [
|
|
1089
|
+
"dist",
|
|
1090
|
+
"commands",
|
|
1091
|
+
"x402",
|
|
1092
|
+
"status.js"
|
|
1093
|
+
]
|
|
700
1094
|
}
|
|
701
1095
|
},
|
|
702
|
-
"version": "0.
|
|
1096
|
+
"version": "0.2.0"
|
|
703
1097
|
}
|
package/package.json
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jaw.id/cli",
|
|
3
3
|
"description": "CLI + MCP Server for JAW.id smart accounts — for humans and AI agents",
|
|
4
|
-
"version": "0.
|
|
5
|
-
"license": "
|
|
4
|
+
"version": "0.2.0",
|
|
5
|
+
"license": "Apache-2.0",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"jaw": "./bin/run.js"
|
|
@@ -29,6 +29,8 @@
|
|
|
29
29
|
},
|
|
30
30
|
"files": [
|
|
31
31
|
"dist",
|
|
32
|
+
"LICENSE",
|
|
33
|
+
"NOTICE",
|
|
32
34
|
"bin/run.js",
|
|
33
35
|
"oclif.manifest.json",
|
|
34
36
|
"!**/*.tsbuildinfo"
|
|
@@ -53,6 +55,9 @@
|
|
|
53
55
|
},
|
|
54
56
|
"session": {
|
|
55
57
|
"description": "Manage session keys for autonomous AI agents"
|
|
58
|
+
},
|
|
59
|
+
"x402": {
|
|
60
|
+
"description": "Inspect and test agentic x402 payments"
|
|
56
61
|
}
|
|
57
62
|
}
|
|
58
63
|
},
|
|
@@ -107,7 +112,7 @@
|
|
|
107
112
|
}
|
|
108
113
|
},
|
|
109
114
|
"dependencies": {
|
|
110
|
-
"@jaw.id/core": "1.
|
|
115
|
+
"@jaw.id/core": "1.3.0",
|
|
111
116
|
"@modelcontextprotocol/sdk": "^1.12.1",
|
|
112
117
|
"@oclif/core": "^4.3.0",
|
|
113
118
|
"open": "^10.1.0",
|