@dvmkit/dvm-cli 0.20.0 → 0.22.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/dist/{chunk-QXXPXQLM.js → chunk-23FGJKIX.js} +2 -2
- package/dist/{chunk-2B2MCZ2I.js → chunk-AFR5KKJX.js} +4 -4
- package/dist/{chunk-DOAMK5C6.js → chunk-AWK22TUP.js} +2 -2
- package/dist/{chunk-4RINUKY4.js → chunk-AWWLO2WW.js} +8330 -27312
- package/dist/{chunk-ZZCYSYXR.js → chunk-EA6RU4OR.js} +10 -10
- package/dist/{chunk-WCX4PNEF.js → chunk-GEG2YAIB.js} +19 -1
- package/dist/{chunk-2YPUKPJN.js → chunk-ITESN5XP.js} +3 -3
- package/dist/chunk-MP63OWTD.js +27343 -0
- package/dist/{chunk-W4ADV3HW.js → chunk-NSHMTEFJ.js} +27 -17
- package/dist/{chunk-4S6TNP4N.js → chunk-WGZ3HBST.js} +388 -92
- package/dist/{chunk-MSQJWCPT.js → chunk-X2CKIG2D.js} +3 -3
- package/dist/{chunk-EEQPFGPM.js → chunk-YSALCR5X.js} +3 -5
- package/dist/{client-FKYQXFBN.js → client-5SB2HSH5.js} +6 -6
- package/dist/dvm.js +5969 -772
- package/dist/{internal-EQJXMIR2.js → internal-EVD5WVAK.js} +5 -5
- package/dist/{lifecycle-3IBVUCTB.js → lifecycle-GR7WGYVQ.js} +6 -6
- package/dist/{payout-reporter-5PH53T44-7IA4NGIN.js → payout-reporter-O4OLJXKQ-7N2HPPPY.js} +2 -2
- package/dist/{pocket-refill-M65PPCN3.js → pocket-refill-TF7M2XCZ.js} +10 -10
- package/dist/{revenue-reporter-4XV3OO5O-RYHS3M34.js → revenue-reporter-RMK4HFEW-7HGJQOXL.js} +2 -2
- package/dist/{tempo-lifecycle-Q3N5GGIQ.js → tempo-lifecycle-7EYW5W5Z.js} +8 -8
- package/dist/{tempo-wallet-AY6R3E4Z.js → tempo-wallet-QOC3BHVE.js} +7 -7
- package/dist/{wallet-J7JCMFZ2.js → wallet-RIHHIQRK.js} +7 -7
- package/dist/{x402-FHHB3V4V-CM6OMLHE.js → x402-JCKCGEM3-NFTGP54F.js} +2 -2
- package/package.json +2 -2
- package/skills/dvm/SKILL.md +1 -1
- package/skills/dvm/calling.md +22 -4
- package/skills/dvm/credit.md +2 -0
- package/skills/dvm/wallets.md +3 -1
- package/dist/chunk-DF2OWCRY.js +0 -11127
|
@@ -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-
|
|
6
|
+
} from "./chunk-AFR5KKJX.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-
|
|
16
|
+
} from "./chunk-AWWLO2WW.js";
|
|
17
17
|
import {
|
|
18
18
|
DvmError
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-MP63OWTD.js";
|
|
20
20
|
|
|
21
21
|
// src/lib/cli-identity-resolve.ts
|
|
22
22
|
function resolveSigningIdentity(opts) {
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
CONFIG_PINNED_FILE,
|
|
9
9
|
ensureConfigDir,
|
|
10
10
|
require_proper_lockfile
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-AWWLO2WW.js";
|
|
12
12
|
import {
|
|
13
13
|
DvmError
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-MP63OWTD.js";
|
|
15
15
|
import {
|
|
16
16
|
__toESM
|
|
17
17
|
} from "./chunk-IYHTITNZ.js";
|
|
@@ -197,7 +197,6 @@ function readRawConfig() {
|
|
|
197
197
|
function writeConfigFile(config) {
|
|
198
198
|
writeJsonAtomic(CONFIG_FILE, config);
|
|
199
199
|
}
|
|
200
|
-
var CONFIG_SNAPSHOT_SLOTS = ["backup", "pinned"];
|
|
201
200
|
function configSnapshotPath(slot) {
|
|
202
201
|
return slot === "pinned" ? CONFIG_PINNED_FILE : CONFIG_BACKUP_FILE;
|
|
203
202
|
}
|
|
@@ -536,7 +535,6 @@ async function updateConfig(update) {
|
|
|
536
535
|
const stripped = [
|
|
537
536
|
.../* @__PURE__ */ new Set([...removals, ...superseded, ...update.sanitizeBackup ?? []])
|
|
538
537
|
].filter(isSecretProtectedTarget);
|
|
539
|
-
const sweeping = update.sweepSlots ?? CONFIG_SNAPSHOT_SLOTS;
|
|
540
538
|
const swept = [];
|
|
541
539
|
if (raw !== null) {
|
|
542
540
|
if (stripped.length > 0) {
|
|
@@ -546,7 +544,7 @@ async function updateConfig(update) {
|
|
|
546
544
|
retainConfigBackup();
|
|
547
545
|
}
|
|
548
546
|
}
|
|
549
|
-
if (stripped.length > 0 &&
|
|
547
|
+
if (stripped.length > 0 && update.preservePin !== true) {
|
|
550
548
|
if (sweepPinnedSnapshot(stripped, base ?? {}, update.reason)) swept.push("pinned");
|
|
551
549
|
}
|
|
552
550
|
const backup = describeConfigBackup();
|
|
@@ -3,8 +3,8 @@ import { createRequire as __dvmCreateRequire } from "node:module";
|
|
|
3
3
|
const require = __dvmCreateRequire(import.meta.url);
|
|
4
4
|
import {
|
|
5
5
|
tryX402Payment
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-23FGJKIX.js";
|
|
7
|
+
import "./chunk-AWWLO2WW.js";
|
|
8
8
|
import "./chunk-JBU7RKQ3.js";
|
|
9
9
|
import "./chunk-KDNFUDOG.js";
|
|
10
10
|
import "./chunk-IUTVV6N5.js";
|
|
@@ -13,11 +13,11 @@ import "./chunk-6LP4EGKA.js";
|
|
|
13
13
|
import "./chunk-N3UJT2NJ.js";
|
|
14
14
|
import "./chunk-SYFKO6BA.js";
|
|
15
15
|
import "./chunk-PUOXBKY2.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-MP63OWTD.js";
|
|
17
|
+
import "./chunk-EA6RU4OR.js";
|
|
18
|
+
import "./chunk-NSHMTEFJ.js";
|
|
19
19
|
import "./chunk-R2DSAZBO.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-GEG2YAIB.js";
|
|
21
21
|
import "./chunk-EVQERRCP.js";
|
|
22
22
|
import "./chunk-RA24J4QM.js";
|
|
23
23
|
import "./chunk-B4WHUMZM.js";
|