@dvmkit/dvm-cli 0.5.0 → 0.7.0-rc.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (54) hide show
  1. package/README.md +10 -0
  2. package/dist/{_esm-MN4BUYV6.js → _esm-KJAA4KAJ.js} +7 -7
  3. package/dist/{actions-LR65XILR.js → actions-J7VGYDBF.js} +4 -4
  4. package/dist/{ccip-JXYJSXTW.js → ccip-CJFG4PLA.js} +1 -1
  5. package/dist/{chains-LJ7XK6H3.js → chains-J6VIUNUB.js} +4 -4
  6. package/dist/{chunk-QICJRKB7.js → chunk-32AOWN2U.js} +11032 -12469
  7. package/dist/chunk-3E4LW5R5.js +77 -0
  8. package/dist/chunk-5RVUW52C.js +122 -0
  9. package/dist/{chunk-MJ4X4BEW.js → chunk-6LP4EGKA.js} +61 -61
  10. package/dist/chunk-6PVFVHS5.js +5460 -0
  11. package/dist/{chunk-BECPI5H5.js → chunk-B4WHUMZM.js} +36 -36
  12. package/dist/{chunk-CJTE5TS3.js → chunk-ESOJUXVY.js} +5 -5
  13. package/dist/{chunk-F55NNH2F.js → chunk-FOWQ7R7S.js} +16 -16
  14. package/dist/{chunk-ID5G54HJ.js → chunk-FPWP4S5S.js} +5 -3
  15. package/dist/{chunk-EE2MREOM.js → chunk-IQV4KG63.js} +5 -3
  16. package/dist/{chunk-R55XNXAR.js → chunk-IUTVV6N5.js} +3 -3
  17. package/dist/{chunk-Z4CZUMUT.js → chunk-JBU7RKQ3.js} +15 -15
  18. package/dist/{chunk-SHZMNEXE.js → chunk-JTMBSEZO.js} +2770 -926
  19. package/dist/{chunk-ERJFRCJO.js → chunk-KDNFUDOG.js} +5 -5
  20. package/dist/chunk-MWWZX7OQ.js +262 -0
  21. package/dist/chunk-PATIATFK.js +765 -0
  22. package/dist/{chunk-WTM2EICO.js → chunk-PUOXBKY2.js} +3 -3
  23. package/dist/{chunk-GZWKCIYN.js → chunk-QXMKABL7.js} +3 -3
  24. package/dist/chunk-R2DSAZBO.js +87 -0
  25. package/dist/chunk-SNSJAOR3.js +43 -0
  26. package/dist/{chunk-FL2ICZW5.js → chunk-SYFKO6BA.js} +3 -3
  27. package/dist/{chunk-LH3QPVN6.js → chunk-TAZWRWM4.js} +8060 -8058
  28. package/dist/chunk-VIRAAIDU.js +409 -0
  29. package/dist/{chunk-TZWZTS37.js → chunk-WN5R367B.js} +57 -83
  30. package/dist/{chunk-EZHT2RLJ.js → chunk-X7SEGALJ.js} +3 -3
  31. package/dist/{chunk-XHOFQ3OS.js → chunk-Y3SQD37C.js} +9 -9
  32. package/dist/{client-RYDA62DU.js → client-6IHIUB6J.js} +10 -10
  33. package/dist/client-VHGN7ZFZ.js +36 -0
  34. package/dist/{dist-GKCEIY2A.js → dist-23E7OOCA.js} +9 -9
  35. package/dist/dvm.js +2844 -623
  36. package/dist/{internal-INUTGTXQ.js → internal-7RZYJLLG.js} +325 -508
  37. package/dist/lifecycle-Z7YUOTR5.js +36 -0
  38. package/dist/{payout-reporter-3Y2U55ZX-CMKACKA3.js → payout-reporter-WT7XYW42-U2QPDIYC.js} +3 -2
  39. package/dist/{pocket-refill-K5T4LZF6.js → pocket-refill-CCWF3G4N.js} +33 -30
  40. package/dist/{revenue-reporter-MAERPYGK-CCPZXGFA.js → revenue-reporter-7UR3W2SD-C5OMRGK3.js} +3 -2
  41. package/dist/{tempo-AXTE4ZEA.js → tempo-ORFVGUKP.js} +10 -10
  42. package/dist/tempo-lifecycle-OT75TYVA.js +38 -0
  43. package/dist/tempo-wallet-SGYOEWVY.js +43 -0
  44. package/dist/wallet-BRXTQ4BB.js +45 -0
  45. package/dist/{x402-R6HPBY5D-VMSW7Z32.js → x402-ZU4GML7Z-RYEACIIT.js} +4 -19
  46. package/package.json +4 -2
  47. package/skills/dvm/credit.md +4 -0
  48. package/skills/dvm/wallets.md +4 -0
  49. package/dist/chunk-3YE43JJR.js +0 -215
  50. package/dist/chunk-4KINCBHL.js +0 -5153
  51. package/dist/chunk-FSYEZERJ.js +0 -1667
  52. package/dist/chunk-VOO5IAK7.js +0 -2318
  53. package/dist/tempo-lifecycle-ZBBLFBMH-HWI4PLYP.js +0 -32
  54. package/dist/tempo-wallet-B5XXV3YH-SRQBMYFV.js +0 -41
package/README.md CHANGED
@@ -56,3 +56,13 @@ Apache-2.0. See [LICENSE](./LICENSE) and [NOTICE](./NOTICE).
56
56
  Terminal `dvm status` can replay a saved outcome and receipt offline (`source: "local"`), so its current content metadata is unknown. Use `dvm status --messages` for a fresh authenticated read. Message commands make a separate status read after retrieving messages, bounded to at most five seconds; a failed observation leaves metadata unknown and preserves the messages. Content can change between these reads.
57
57
 
58
58
  Save output before automatic expiry with `dvm messages <job-id> --no-stream > messages.json`. For a portable job without a local record, retain the original `--endpoint` and `--job-token` options before the redirection, or keep `DVM_JOB_ENDPOINT` and `DVM_JOB_TOKEN` set. Never copy the token into shared output or logs. A job already saved in the local record can use the command without those overrides. `--human` retains the existing artifact saves to private temporary files at the printed paths. Unavailable provider content does not remove existing local saves or stored receipts; verify the latter offline with `dvm receipts verify <job-id>`. A no-expiry observation does not promise permanent availability.
59
+
60
+ ### Durable local wallet history
61
+
62
+ `dvm wallet history` lists budget charges, credit draws, completed refunds, expired credit losses, and active recovery, newest first. Confirmed spending and completed credit history have no automatic expiry. Older entries already removed by an earlier release cannot be reconstructed. Budget limits still use rolling windows.
63
+
64
+ Filter with `--today`, `--since <date-or-duration>`, `--endpoint <url>`, or `--kind <kind>`. Kinds are `job`, `float_fund`, `credit_fund`, `credit_draw`, `completed_refund`, `expired_credit_loss`, and `active_recovery`. `--limit` defaults to 50. Equal timestamps sort by descending row ID. Repeat the same filters with `--cursor <next_cursor>` to continue; if matching local records change, the command refuses the continuation and asks you to restart. `--offset` is a convenience for unchanged records. Each invocation reads the ledger, active recovery, and the completed SDK journal through 100-record snapshot pages; output pagination does not bound total archive scanning or memory use.
65
+
66
+ `total_usd` sums budget charges on the displayed page, counting funding once. Credit draws, refunds, losses, and active recovery do not add another wallet outflow. Legacy `msats` values are BTC-equivalent budget valuations, not evidence of native Bitcoin settlement. Native rail, currency, amount, fee, and collection time remain unknown when the saved evidence cannot establish them. `active_recovery` means unresolved, never refunded.
67
+
68
+ `dvm credit receipts <dvm> --export` writes JSONL bundles from both active reclaim evidence and archived completed refunds, offline. Existing top-level `drain_id`, `credit_id`, `endpoint`, `caller_pubkey`, `collected_at`, `receipts`, and optional `builder` remain. Bundles add native settlement fields, unsigned local `settled_at` observations, outcome, and fresh offline verification provenance. Receipt signatures and the pinned builder advertisement establish receipt authenticity; local settlement markers and fees are separate observations. Unknown fields stay `null`. No wallet keys, bearer proofs, or unresolved recovery credentials are exported. Unsupported signed artifact fields cause export to fail before emitting bundles; `--drain-id` can select a supported bundle. `--export` takes precedence over `--refetch` and never fetches a replacement anchor.
@@ -35,7 +35,7 @@ import {
35
35
  walletActions,
36
36
  webSocket,
37
37
  weiUnits
38
- } from "./chunk-CJTE5TS3.js";
38
+ } from "./chunk-ESOJUXVY.js";
39
39
  import {
40
40
  BundleFailedError,
41
41
  EnsAvatarInvalidNftUriError,
@@ -47,7 +47,7 @@ import {
47
47
  labelhash,
48
48
  namehash,
49
49
  zeroAddress
50
- } from "./chunk-GZWKCIYN.js";
50
+ } from "./chunk-QXMKABL7.js";
51
51
  import {
52
52
  BaseFeeScalarError,
53
53
  BlockNotFoundError,
@@ -88,22 +88,22 @@ import {
88
88
  parseGwei,
89
89
  parseTransaction,
90
90
  parseUnits,
91
- recoverAddress,
91
+ recoverAddress2 as recoverAddress,
92
92
  recoverMessageAddress,
93
- recoverPublicKey,
93
+ recoverPublicKey2 as recoverPublicKey,
94
94
  recoverTypedDataAddress,
95
95
  ripemd160,
96
96
  serializeErc6492Signature,
97
97
  serializeErc8010Signature,
98
98
  transactionType,
99
- verifyHash,
99
+ verifyHash2 as verifyHash,
100
100
  verifyMessage,
101
101
  verifyTypedData,
102
102
  withCache,
103
103
  withRetry,
104
104
  withTimeout,
105
105
  zeroHash
106
- } from "./chunk-LH3QPVN6.js";
106
+ } from "./chunk-TAZWRWM4.js";
107
107
  import {
108
108
  InvalidDomainError,
109
109
  InvalidPrimaryTypeError,
@@ -240,7 +240,7 @@ import {
240
240
  toFunctionSelector,
241
241
  toSignature,
242
242
  toSignatureHash
243
- } from "./chunk-F55NNH2F.js";
243
+ } from "./chunk-FOWQ7R7S.js";
244
244
  import {
245
245
  AbiConstructorNotFoundError,
246
246
  AbiConstructorParamsNotFoundError,
@@ -84,7 +84,7 @@ import {
84
84
  watchBlocks,
85
85
  watchEvent,
86
86
  watchPendingTransactions
87
- } from "./chunk-GZWKCIYN.js";
87
+ } from "./chunk-QXMKABL7.js";
88
88
  import {
89
89
  createContractEventFilter,
90
90
  defaultParameters,
@@ -109,20 +109,20 @@ import {
109
109
  sendTransaction,
110
110
  sendTransactionSync,
111
111
  uninstallFilter,
112
- verifyHash2 as verifyHash,
112
+ verifyHash,
113
113
  waitForTransactionReceipt,
114
114
  watchBlockNumber,
115
115
  watchContractEvent,
116
116
  writeContract,
117
117
  writeContractSync
118
- } from "./chunk-LH3QPVN6.js";
118
+ } from "./chunk-TAZWRWM4.js";
119
119
  import {
120
120
  getTransactionCount
121
121
  } from "./chunk-6O27TEXD.js";
122
122
  import "./chunk-65EY7CT4.js";
123
123
  import {
124
124
  call
125
- } from "./chunk-F55NNH2F.js";
125
+ } from "./chunk-FOWQ7R7S.js";
126
126
  import "./chunk-MLDUKBU3.js";
127
127
  import "./chunk-7OK7MBT6.js";
128
128
  import "./chunk-IYHTITNZ.js";
@@ -6,7 +6,7 @@ import {
6
6
  offchainLookup,
7
7
  offchainLookupAbiItem,
8
8
  offchainLookupSignature
9
- } from "./chunk-F55NNH2F.js";
9
+ } from "./chunk-FOWQ7R7S.js";
10
10
  import "./chunk-MLDUKBU3.js";
11
11
  import "./chunk-7OK7MBT6.js";
12
12
  import "./chunk-IYHTITNZ.js";
@@ -720,12 +720,12 @@ import {
720
720
  zora,
721
721
  zoraSepolia,
722
722
  zoraTestnet
723
- } from "./chunk-BECPI5H5.js";
724
- import "./chunk-EZHT2RLJ.js";
725
- import "./chunk-LH3QPVN6.js";
723
+ } from "./chunk-B4WHUMZM.js";
724
+ import "./chunk-X7SEGALJ.js";
725
+ import "./chunk-TAZWRWM4.js";
726
726
  import "./chunk-6O27TEXD.js";
727
727
  import "./chunk-65EY7CT4.js";
728
- import "./chunk-F55NNH2F.js";
728
+ import "./chunk-FOWQ7R7S.js";
729
729
  import "./chunk-MLDUKBU3.js";
730
730
  import "./chunk-7OK7MBT6.js";
731
731
  import "./chunk-IYHTITNZ.js";