@dvmkit/dvm-cli 0.9.2 → 0.11.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 (25) hide show
  1. package/dist/{chunk-BHR7QHJG.js → chunk-3R2GM6AD.js} +2 -2
  2. package/dist/{chunk-5R3BLFVO.js → chunk-6EYBCGGD.js} +2 -2
  3. package/dist/{chunk-BCDMVIPI.js → chunk-7N3HQJKE.js} +4 -4
  4. package/dist/{chunk-C7ZNQONB.js → chunk-BPWZNIMS.js} +2 -2
  5. package/dist/{chunk-PMPHS3LS.js → chunk-GEZVSJDM.js} +3 -3
  6. package/dist/{chunk-GD25CUI4.js → chunk-GHNF2I5C.js} +4 -4
  7. package/dist/{chunk-XDYBVNFS.js → chunk-HWWW7JEM.js} +3 -3
  8. package/dist/{chunk-MVVKMKWR.js → chunk-JJBRTWWS.js} +984 -24
  9. package/dist/{chunk-HUBCGZJL.js → chunk-K562SFVD.js} +2 -2
  10. package/dist/{chunk-6XTWANVN.js → chunk-MBSCP52L.js} +1073 -252
  11. package/dist/{chunk-QDOY3JF2.js → chunk-MMXHV3KC.js} +2 -2
  12. package/dist/{chunk-IEWV3CM2.js → chunk-UVFFMKU4.js} +3 -1
  13. package/dist/{client-MMJYIMKJ.js → client-DS4QJ346.js} +6 -6
  14. package/dist/dvm.js +1379 -1171
  15. package/dist/{internal-LRW4XR3J.js → internal-ZZHCUKOM.js} +15 -5
  16. package/dist/{lifecycle-QE3KHIHQ.js → lifecycle-XGNIMPTB.js} +6 -6
  17. package/dist/{payout-reporter-NXWQVKXW-KHVN6C4Z.js → payout-reporter-DDQ7FGRC-OKICJCC2.js} +2 -2
  18. package/dist/{pocket-refill-J3BME4O3.js → pocket-refill-3ZV36DOA.js} +10 -10
  19. package/dist/{revenue-reporter-HD4GMXGD-LAZU45ZA.js → revenue-reporter-RIEHBKRA-75BDPVVX.js} +2 -2
  20. package/dist/{tempo-lifecycle-HJQYBOZR.js → tempo-lifecycle-LGGBDCKK.js} +8 -8
  21. package/dist/{tempo-wallet-XN72C2GK.js → tempo-wallet-PLFC443A.js} +7 -7
  22. package/dist/{wallet-UEQTGVJE.js → wallet-UJ7EJNQA.js} +7 -7
  23. package/dist/{x402-RUJ4LUKF-ZB7JM22B.js → x402-AY6P5KV4-SIZF7YNW.js} +2 -2
  24. package/package.json +6 -3
  25. package/skills/dvm/calling.md +17 -1
@@ -6,9 +6,9 @@ import {
6
6
  } from "./chunk-R2DSAZBO.js";
7
7
  import {
8
8
  diagnosticConsole
9
- } from "./chunk-IEWV3CM2.js";
9
+ } from "./chunk-UVFFMKU4.js";
10
10
 
11
- // node_modules/@dvmkit/sdk/dist/chunk-ITRSITFP.js
11
+ // node_modules/@dvmkit/sdk/dist/chunk-2I6NXIPG.js
12
12
  import { createHash, randomUUID } from "crypto";
13
13
  async function x402EarnedCeiling(channel, earnedNative) {
14
14
  let earned;
@@ -5,10 +5,10 @@ import {
5
5
  formatUsdcMicrounits,
6
6
  listX402Channels,
7
7
  readX402ChannelGuardFacts
8
- } from "./chunk-6XTWANVN.js";
8
+ } from "./chunk-MBSCP52L.js";
9
9
  import {
10
10
  DvmError
11
- } from "./chunk-GD25CUI4.js";
11
+ } from "./chunk-GHNF2I5C.js";
12
12
 
13
13
  // src/lib/x402/lifecycle.ts
14
14
  async function assertX402WalletIdle(wallet, intent) {
@@ -4,14 +4,14 @@ const require = __dvmCreateRequire(import.meta.url);
4
4
  import {
5
5
  loadConfig,
6
6
  updateConfig
7
- } from "./chunk-QDOY3JF2.js";
7
+ } from "./chunk-MMXHV3KC.js";
8
8
  import {
9
9
  tempoAccountFromConfig,
10
10
  tryResolveTempoAsset
11
- } from "./chunk-6XTWANVN.js";
11
+ } from "./chunk-MBSCP52L.js";
12
12
  import {
13
13
  DvmError
14
- } from "./chunk-GD25CUI4.js";
14
+ } from "./chunk-GHNF2I5C.js";
15
15
 
16
16
  // src/lib/payment-rails/tempo-wallet.ts
17
17
  function tempoBalanceCheckHint(token) {
@@ -46,7 +46,7 @@ async function generateTempoKey(opts = {}) {
46
46
  );
47
47
  }
48
48
  if (existing && opts.force) {
49
- const { assertTempoWalletIdle } = await import("./tempo-lifecycle-HJQYBOZR.js");
49
+ const { assertTempoWalletIdle } = await import("./tempo-lifecycle-LGGBDCKK.js");
50
50
  await assertTempoWalletIdle("replace");
51
51
  }
52
52
  const { privateKeyToAccount, generatePrivateKey } = await import("./accounts-2WZE4N5F.js");
@@ -12,7 +12,7 @@ import {
12
12
  isSignableExactRequirement,
13
13
  maxAdvertisedMicro,
14
14
  withinAdvertisedTolerance
15
- } from "./chunk-6XTWANVN.js";
15
+ } from "./chunk-MBSCP52L.js";
16
16
  import {
17
17
  DvmError,
18
18
  X402_V1_VERSION,
@@ -30,7 +30,7 @@ import {
30
30
  usdcToMsats,
31
31
  x402NetworkByCaip2,
32
32
  x402NetworkToCaip2
33
- } from "./chunk-GD25CUI4.js";
33
+ } from "./chunk-GHNF2I5C.js";
34
34
 
35
35
  // src/lib/x402/client.ts
36
36
  import { randomBytes } from "crypto";
@@ -5,11 +5,11 @@ import {
5
5
  authorizeProtectedRemoval,
6
6
  loadConfig,
7
7
  updateConfig
8
- } from "./chunk-QDOY3JF2.js";
8
+ } from "./chunk-MMXHV3KC.js";
9
9
  import {
10
10
  withX402ChannelLock,
11
11
  x402WalletFromConfig
12
- } from "./chunk-6XTWANVN.js";
12
+ } from "./chunk-MBSCP52L.js";
13
13
  import {
14
14
  DvmError,
15
15
  X402_DEFAULT_NETWORK,
@@ -17,7 +17,7 @@ import {
17
17
  ensureAddress,
18
18
  isValidEvmPrivateKey,
19
19
  x402NetworkByCaip2
20
- } from "./chunk-GD25CUI4.js";
20
+ } from "./chunk-GHNF2I5C.js";
21
21
 
22
22
  // src/lib/x402/networks.ts
23
23
  function x402NetworkLabel(network) {
@@ -3,7 +3,7 @@ import { createRequire as __dvmCreateRequire } from "node:module";
3
3
  const require = __dvmCreateRequire(import.meta.url);
4
4
  import {
5
5
  diagnosticConsole
6
- } from "./chunk-IEWV3CM2.js";
6
+ } from "./chunk-UVFFMKU4.js";
7
7
  import {
8
8
  __export
9
9
  } from "./chunk-IYHTITNZ.js";
@@ -3105,7 +3105,7 @@ function buildNoopLoggers() {
3105
3105
  };
3106
3106
  }
3107
3107
 
3108
- // node_modules/@dvmkit/sdk/dist/chunk-E7ZBCT5U.js
3108
+ // node_modules/@dvmkit/sdk/dist/chunk-I2H2XYQV.js
3109
3109
  import { AsyncLocalStorage } from "async_hooks";
3110
3110
  import { createPrivateKey, randomBytes as randomBytes2 } from "crypto";
3111
3111
 
@@ -10597,7 +10597,7 @@ var SignJWT = class {
10597
10597
  }
10598
10598
  };
10599
10599
 
10600
- // node_modules/@dvmkit/sdk/dist/chunk-E7ZBCT5U.js
10600
+ // node_modules/@dvmkit/sdk/dist/chunk-I2H2XYQV.js
10601
10601
  var scopes = new AsyncLocalStorage();
10602
10602
  function withPaymentDiagnostics(fn) {
10603
10603
  return scopes.run({}, fn);
@@ -10772,7 +10772,7 @@ function logRejected(stage) {
10772
10772
  });
10773
10773
  }
10774
10774
 
10775
- // node_modules/@dvmkit/sdk/dist/chunk-3YFFZLW7.js
10775
+ // node_modules/@dvmkit/sdk/dist/chunk-IUODXRQN.js
10776
10776
  async function verifyX402Payment(paymentHeader, config, requiredUsdcMicro, resource, btcUsdRate, exactVersions = { v1: true, v2: true }) {
10777
10777
  return callerLoggers.x402.span(
10778
10778
  "x402.verify_payment",
@@ -3,7 +3,7 @@ import { createRequire as __dvmCreateRequire } from "node:module";
3
3
  const require = __dvmCreateRequire(import.meta.url);
4
4
  import {
5
5
  connectedTempoAccount
6
- } from "./chunk-BCDMVIPI.js";
6
+ } from "./chunk-7N3HQJKE.js";
7
7
  import {
8
8
  deriveIdentityFromPrivkey,
9
9
  formatUsdcMicrounits,
@@ -13,10 +13,10 @@ import {
13
13
  reconcileTempoChannelOnChain,
14
14
  shellQuoteArg,
15
15
  tempoChannelControlledBy
16
- } from "./chunk-6XTWANVN.js";
16
+ } from "./chunk-MBSCP52L.js";
17
17
  import {
18
18
  DvmError
19
- } from "./chunk-GD25CUI4.js";
19
+ } from "./chunk-GHNF2I5C.js";
20
20
 
21
21
  // src/lib/cli-identity-resolve.ts
22
22
  function resolveSigningIdentity(opts) {