tenjin-cli 0.1.0-alpha.17 → 0.1.0-alpha.19
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/README.md +152 -38
- package/dist/{_esm-CE7KNONL.js → _esm-OVVGTKHH.js} +4 -4
- package/dist/{chunk-5QHHRMRA.js → chunk-2SQEFBAM.js} +4 -3
- package/dist/chunk-3KKKB2AQ.js +40 -0
- package/dist/chunk-3KKKB2AQ.js.map +1 -0
- package/dist/{chunk-LJ4DMVFI.js → chunk-3VYGDRRL.js} +5 -5
- package/dist/{chunk-PDA2BVFY.js → chunk-5DOHKQ24.js} +4 -15
- package/dist/chunk-5DOHKQ24.js.map +1 -0
- package/dist/{chunk-N35E6CM2.js → chunk-6DCELMQA.js} +6 -6
- package/dist/{chunk-WXC57XGG.js → chunk-A36LQPHV.js} +1 -1
- package/dist/chunk-A36LQPHV.js.map +1 -0
- package/dist/{chunk-56MOAIP5.js → chunk-A6CY6BUW.js} +11 -8
- package/dist/chunk-A6CY6BUW.js.map +1 -0
- package/dist/{chunk-TP4D47BY.js → chunk-AISBL7EY.js} +3 -3
- package/dist/{chunk-KK4YGYTV.js → chunk-AMG4SONW.js} +138 -58
- package/dist/chunk-AMG4SONW.js.map +1 -0
- package/dist/{chunk-AUKDYPPX.js → chunk-BG2EXNAA.js} +7 -6
- package/dist/chunk-BG2EXNAA.js.map +1 -0
- package/dist/{chunk-O4ZNKFRU.js → chunk-FHBGTOFA.js} +121 -40
- package/dist/chunk-FHBGTOFA.js.map +1 -0
- package/dist/{chunk-HPWO4O6S.js → chunk-FPUPBQHX.js} +2 -2
- package/dist/{chunk-3AUDA53C.js → chunk-KTAW4KGH.js} +6 -5
- package/dist/{chunk-J5INH7WB.js → chunk-LSWVVSFX.js} +106 -5
- package/dist/chunk-LSWVVSFX.js.map +1 -0
- package/dist/chunk-O2JYBOUO.js +47 -0
- package/dist/chunk-O2JYBOUO.js.map +1 -0
- package/dist/{chunk-5UDD5VSY.js → chunk-PZQRSZJV.js} +2 -2
- package/dist/{chunk-5UDD5VSY.js.map → chunk-PZQRSZJV.js.map} +1 -1
- package/dist/{chunk-QDD2RN7G.js → chunk-SCAOYGKX.js} +356 -90
- package/dist/chunk-SCAOYGKX.js.map +1 -0
- package/dist/{chunk-35M3VITA.js → chunk-TDGN476R.js} +60 -7
- package/dist/chunk-TDGN476R.js.map +1 -0
- package/dist/{chunk-AR7U7BRG.js → chunk-UNV4K45L.js} +12 -18
- package/dist/{chunk-AR7U7BRG.js.map → chunk-UNV4K45L.js.map} +1 -1
- package/dist/{chunk-MRGADYDD.js → chunk-VFVFVQM6.js} +4 -4
- package/dist/{chunk-2JGT3KDW.js → chunk-WUU3BH6G.js} +2 -2
- package/dist/{chunk-KUBEYXSO.js → chunk-XDADPAWW.js} +22 -22
- package/dist/{chunk-WGQVJM56.js → chunk-XNP6VUAJ.js} +3 -3
- package/dist/{chunk-AWQPGIR6.js → chunk-Y66XUXVI.js} +5 -5
- package/dist/{chunk-XZOEUYMX.js → chunk-ZDKEU2GF.js} +2 -2
- package/dist/{chunk-WLMJE3GJ.js → chunk-ZTFIQC4C.js} +2 -2
- package/dist/{cli-VHYYYYXM.js → cli-456F77ZY.js} +33 -28
- package/dist/{cli-VHYYYYXM.js.map → cli-456F77ZY.js.map} +1 -1
- package/dist/{config-5ADBAAXU.js → config-BLUWOH6S.js} +9 -12
- package/dist/{doctor-Q35VQW3S.js → doctor-PS45CR3T.js} +37 -29
- package/dist/{doctor-Q35VQW3S.js.map → doctor-PS45CR3T.js.map} +1 -1
- package/dist/{fund-GDDPL2BB.js → fund-4SW2ZBWC.js} +18 -17
- package/dist/{fund-GDDPL2BB.js.map → fund-4SW2ZBWC.js.map} +1 -1
- package/dist/{hook-command-PBERPRE3.js → hook-command-YTV7X333.js} +318 -37
- package/dist/hook-command-YTV7X333.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{install-OKDKGUXM.js → install-U4BIDCHH.js} +14 -13
- package/dist/{install-wallet-SI4LZ73K.js → install-wallet-EYHELQMG.js} +15 -14
- package/dist/{install-wallet-SI4LZ73K.js.map → install-wallet-EYHELQMG.js.map} +1 -1
- package/dist/{mcp-XX3WRQEZ.js → mcp-AC4PIXH5.js} +43 -28
- package/dist/{mcp-XX3WRQEZ.js.map → mcp-AC4PIXH5.js.map} +1 -1
- package/dist/{pay-3SYKHKWJ.js → pay-VJOP6TFT.js} +24 -19
- package/dist/{send-LQRKTEJT.js → send-YH75Z6LB.js} +15 -14
- package/dist/{send-LQRKTEJT.js.map → send-YH75Z6LB.js.map} +1 -1
- package/dist/{status-FFC6FO72.js → status-5CHCDLUE.js} +24 -17
- package/dist/status-5CHCDLUE.js.map +1 -0
- package/dist/{status-line-SAXSU6CR.js → status-line-CZAZUOAY.js} +6 -6
- package/dist/{status-line-wiring-L2WYIYBM.js → status-line-wiring-2ABDVXSJ.js} +4 -4
- package/dist/tenjin-daemon.mjs +3 -14
- package/dist/{uninstall-OACH27UV.js → uninstall-BYVGAQMO.js} +36 -18
- package/dist/uninstall-BYVGAQMO.js.map +1 -0
- package/dist/{update-4W6EKLGZ.js → update-7QJDSHST.js} +5 -5
- package/dist/{viemAdapter-By13KInL-X2VY6CY3.js → viemAdapter-By13KInL-N2GIVMZ7.js} +2 -2
- package/dist/{wallet-BMEXRR3P.js → wallet-YZOXIXBC.js} +15 -14
- package/docs/agent-permissions.md +30 -14
- package/docs/safety-model.md +7 -1
- package/package.json +1 -1
- package/dist/chunk-35M3VITA.js.map +0 -1
- package/dist/chunk-56MOAIP5.js.map +0 -1
- package/dist/chunk-AUKDYPPX.js.map +0 -1
- package/dist/chunk-J5INH7WB.js.map +0 -1
- package/dist/chunk-KK4YGYTV.js.map +0 -1
- package/dist/chunk-O4ZNKFRU.js.map +0 -1
- package/dist/chunk-PDA2BVFY.js.map +0 -1
- package/dist/chunk-QDD2RN7G.js.map +0 -1
- package/dist/chunk-U2DZISAH.js +0 -111
- package/dist/chunk-U2DZISAH.js.map +0 -1
- package/dist/chunk-WS4JA6TC.js +0 -137
- package/dist/chunk-WS4JA6TC.js.map +0 -1
- package/dist/chunk-WXC57XGG.js.map +0 -1
- package/dist/hook-command-PBERPRE3.js.map +0 -1
- package/dist/skill-placement-JMDPSKE6.js +0 -299
- package/dist/skill-placement-JMDPSKE6.js.map +0 -1
- package/dist/status-FFC6FO72.js.map +0 -1
- package/dist/uninstall-OACH27UV.js.map +0 -1
- /package/dist/{_esm-CE7KNONL.js.map → _esm-OVVGTKHH.js.map} +0 -0
- /package/dist/{chunk-5QHHRMRA.js.map → chunk-2SQEFBAM.js.map} +0 -0
- /package/dist/{chunk-LJ4DMVFI.js.map → chunk-3VYGDRRL.js.map} +0 -0
- /package/dist/{chunk-N35E6CM2.js.map → chunk-6DCELMQA.js.map} +0 -0
- /package/dist/{chunk-TP4D47BY.js.map → chunk-AISBL7EY.js.map} +0 -0
- /package/dist/{chunk-HPWO4O6S.js.map → chunk-FPUPBQHX.js.map} +0 -0
- /package/dist/{chunk-3AUDA53C.js.map → chunk-KTAW4KGH.js.map} +0 -0
- /package/dist/{chunk-MRGADYDD.js.map → chunk-VFVFVQM6.js.map} +0 -0
- /package/dist/{chunk-2JGT3KDW.js.map → chunk-WUU3BH6G.js.map} +0 -0
- /package/dist/{chunk-KUBEYXSO.js.map → chunk-XDADPAWW.js.map} +0 -0
- /package/dist/{chunk-WGQVJM56.js.map → chunk-XNP6VUAJ.js.map} +0 -0
- /package/dist/{chunk-AWQPGIR6.js.map → chunk-Y66XUXVI.js.map} +0 -0
- /package/dist/{chunk-XZOEUYMX.js.map → chunk-ZDKEU2GF.js.map} +0 -0
- /package/dist/{chunk-WLMJE3GJ.js.map → chunk-ZTFIQC4C.js.map} +0 -0
- /package/dist/{config-5ADBAAXU.js.map → config-BLUWOH6S.js.map} +0 -0
- /package/dist/{install-OKDKGUXM.js.map → install-U4BIDCHH.js.map} +0 -0
- /package/dist/{pay-3SYKHKWJ.js.map → pay-VJOP6TFT.js.map} +0 -0
- /package/dist/{status-line-SAXSU6CR.js.map → status-line-CZAZUOAY.js.map} +0 -0
- /package/dist/{status-line-wiring-L2WYIYBM.js.map → status-line-wiring-2ABDVXSJ.js.map} +0 -0
- /package/dist/{update-4W6EKLGZ.js.map → update-7QJDSHST.js.map} +0 -0
- /package/dist/{viemAdapter-By13KInL-X2VY6CY3.js.map → viemAdapter-By13KInL-N2GIVMZ7.js.map} +0 -0
- /package/dist/{wallet-BMEXRR3P.js.map → wallet-YZOXIXBC.js.map} +0 -0
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
emitNotice
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZTFIQC4C.js";
|
|
5
5
|
import {
|
|
6
6
|
external_exports,
|
|
7
7
|
loadConfig
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UNV4K45L.js";
|
|
9
9
|
import {
|
|
10
10
|
package_default
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-PZQRSZJV.js";
|
|
12
12
|
import {
|
|
13
13
|
writeFileAtomic
|
|
14
14
|
} from "./chunk-JLEF5WHM.js";
|
|
@@ -191,4 +191,4 @@ export {
|
|
|
191
191
|
fetchDistTags,
|
|
192
192
|
isNewer
|
|
193
193
|
};
|
|
194
|
-
//# sourceMappingURL=chunk-
|
|
194
|
+
//# sourceMappingURL=chunk-VFVFVQM6.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
inspectHooksFile
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-ZDKEU2GF.js";
|
|
5
5
|
import {
|
|
6
6
|
CliError,
|
|
7
7
|
writeFileAtomic
|
|
@@ -169,4 +169,4 @@ export {
|
|
|
169
169
|
removeStatusLine,
|
|
170
170
|
inspectStatusLine
|
|
171
171
|
};
|
|
172
|
-
//# sourceMappingURL=chunk-
|
|
172
|
+
//# sourceMappingURL=chunk-WUU3BH6G.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
createLocalSpendAuthorizer
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-BG2EXNAA.js";
|
|
5
5
|
import {
|
|
6
6
|
hashAuthorization,
|
|
7
7
|
hashMessage,
|
|
@@ -10,12 +10,7 @@ import {
|
|
|
10
10
|
publicKeyToAddress,
|
|
11
11
|
serializeSignature,
|
|
12
12
|
serializeTransaction
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import {
|
|
15
|
-
hmac,
|
|
16
|
-
secp256k1,
|
|
17
|
-
sha256
|
|
18
|
-
} from "./chunk-JRGFKVAZ.js";
|
|
13
|
+
} from "./chunk-6DCELMQA.js";
|
|
19
14
|
import {
|
|
20
15
|
InvalidAddressError,
|
|
21
16
|
concat3 as concat,
|
|
@@ -31,27 +26,15 @@ import {
|
|
|
31
26
|
toHex,
|
|
32
27
|
toHex2
|
|
33
28
|
} from "./chunk-EGELTSPU.js";
|
|
34
|
-
import {
|
|
35
|
-
ahash,
|
|
36
|
-
anumber,
|
|
37
|
-
asyncLoop,
|
|
38
|
-
checkOpts,
|
|
39
|
-
clean,
|
|
40
|
-
createView,
|
|
41
|
-
kdfInputToBytes,
|
|
42
|
-
rotl,
|
|
43
|
-
swap32IfBE,
|
|
44
|
-
u32
|
|
45
|
-
} from "./chunk-BPMWXTFX.js";
|
|
46
29
|
import {
|
|
47
30
|
emitNotice
|
|
48
|
-
} from "./chunk-
|
|
31
|
+
} from "./chunk-ZTFIQC4C.js";
|
|
49
32
|
import {
|
|
50
33
|
hasCode
|
|
51
34
|
} from "./chunk-2I4QTOLB.js";
|
|
52
35
|
import {
|
|
53
36
|
external_exports
|
|
54
|
-
} from "./chunk-
|
|
37
|
+
} from "./chunk-UNV4K45L.js";
|
|
55
38
|
import {
|
|
56
39
|
CliError,
|
|
57
40
|
fsyncDir,
|
|
@@ -65,6 +48,23 @@ import {
|
|
|
65
48
|
spendLedgerPath,
|
|
66
49
|
walletPath
|
|
67
50
|
} from "./chunk-2BKS2FVE.js";
|
|
51
|
+
import {
|
|
52
|
+
hmac,
|
|
53
|
+
secp256k1,
|
|
54
|
+
sha256
|
|
55
|
+
} from "./chunk-JRGFKVAZ.js";
|
|
56
|
+
import {
|
|
57
|
+
ahash,
|
|
58
|
+
anumber,
|
|
59
|
+
asyncLoop,
|
|
60
|
+
checkOpts,
|
|
61
|
+
clean,
|
|
62
|
+
createView,
|
|
63
|
+
kdfInputToBytes,
|
|
64
|
+
rotl,
|
|
65
|
+
swap32IfBE,
|
|
66
|
+
u32
|
|
67
|
+
} from "./chunk-BPMWXTFX.js";
|
|
68
68
|
|
|
69
69
|
// src/lib/wallet/store.ts
|
|
70
70
|
import { readFile, stat } from "node:fs/promises";
|
|
@@ -1678,4 +1678,4 @@ export {
|
|
|
1678
1678
|
@noble/ciphers/esm/utils.js:
|
|
1679
1679
|
(*! noble-ciphers - MIT License (c) 2023 Paul Miller (paulmillr.com) *)
|
|
1680
1680
|
*/
|
|
1681
|
-
//# sourceMappingURL=chunk-
|
|
1681
|
+
//# sourceMappingURL=chunk-XDADPAWW.js.map
|
|
@@ -2,10 +2,10 @@ import { createRequire as __tenjinCreateRequire } from 'node:module'; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
fetchFailureToCliError,
|
|
4
4
|
httpRequest
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-2SQEFBAM.js";
|
|
6
6
|
import {
|
|
7
7
|
external_exports
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-UNV4K45L.js";
|
|
9
9
|
|
|
10
10
|
// src/router/decision.ts
|
|
11
11
|
var ROUTER_PATH = "/api/x402-router";
|
|
@@ -162,4 +162,4 @@ export {
|
|
|
162
162
|
ROUTER_PATH,
|
|
163
163
|
requestDecision
|
|
164
164
|
};
|
|
165
|
-
//# sourceMappingURL=chunk-
|
|
165
|
+
//# sourceMappingURL=chunk-XNP6VUAJ.js.map
|
|
@@ -24,10 +24,7 @@ import {
|
|
|
24
24
|
toBlobSidecars,
|
|
25
25
|
toRlp,
|
|
26
26
|
validateTypedData
|
|
27
|
-
} from "./chunk-
|
|
28
|
-
import {
|
|
29
|
-
secp256k1
|
|
30
|
-
} from "./chunk-JRGFKVAZ.js";
|
|
27
|
+
} from "./chunk-6DCELMQA.js";
|
|
31
28
|
import {
|
|
32
29
|
AtomicReadyWalletRejectedUpgradeError,
|
|
33
30
|
AtomicityNotSupportedError,
|
|
@@ -209,6 +206,9 @@ import {
|
|
|
209
206
|
validate,
|
|
210
207
|
validate2
|
|
211
208
|
} from "./chunk-EGELTSPU.js";
|
|
209
|
+
import {
|
|
210
|
+
secp256k1
|
|
211
|
+
} from "./chunk-JRGFKVAZ.js";
|
|
212
212
|
import {
|
|
213
213
|
__export
|
|
214
214
|
} from "./chunk-ZXTAQYNA.js";
|
|
@@ -10300,4 +10300,4 @@ export {
|
|
|
10300
10300
|
serializeCompactSignature,
|
|
10301
10301
|
signatureToCompactSignature
|
|
10302
10302
|
};
|
|
10303
|
-
//# sourceMappingURL=chunk-
|
|
10303
|
+
//# sourceMappingURL=chunk-Y66XUXVI.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
package_default
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-PZQRSZJV.js";
|
|
5
5
|
import {
|
|
6
6
|
CliError,
|
|
7
7
|
HARNESSES,
|
|
@@ -1781,4 +1781,4 @@ export {
|
|
|
1781
1781
|
registeredHooks,
|
|
1782
1782
|
writeHooks
|
|
1783
1783
|
};
|
|
1784
|
-
//# sourceMappingURL=chunk-
|
|
1784
|
+
//# sourceMappingURL=chunk-ZDKEU2GF.js.map
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { createRequire as __tenjinCreateRequire } from 'node:module'; const require = __tenjinCreateRequire(import.meta.url);
|
|
2
2
|
import {
|
|
3
3
|
external_exports
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-UNV4K45L.js";
|
|
5
5
|
import {
|
|
6
6
|
CliError
|
|
7
7
|
} from "./chunk-JLEF5WHM.js";
|
|
@@ -228,4 +228,4 @@ export {
|
|
|
228
228
|
sanitizeForTerminal,
|
|
229
229
|
paint
|
|
230
230
|
};
|
|
231
|
-
//# sourceMappingURL=chunk-
|
|
231
|
+
//# sourceMappingURL=chunk-ZTFIQC4C.js.map
|
|
@@ -2,21 +2,21 @@ import { createRequire as __tenjinCreateRequire } from 'node:module'; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
maybeUpdate,
|
|
4
4
|
readUpdateSignal
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-VFVFVQM6.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultIo,
|
|
8
8
|
emitFailure,
|
|
9
9
|
emitSuccess
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-ZTFIQC4C.js";
|
|
11
11
|
import {
|
|
12
12
|
PERMISSIONS_DOC_URL
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-A36LQPHV.js";
|
|
14
14
|
import {
|
|
15
15
|
external_exports
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-UNV4K45L.js";
|
|
17
17
|
import {
|
|
18
18
|
package_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-PZQRSZJV.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError
|
|
22
22
|
} from "./chunk-JLEF5WHM.js";
|
|
@@ -3506,8 +3506,8 @@ Learn more:
|
|
|
3506
3506
|
).action(async function() {
|
|
3507
3507
|
await runCommand("install", this, async (ctx) => {
|
|
3508
3508
|
const o = this.opts();
|
|
3509
|
-
const { runRouterInstall } = await import("./install-
|
|
3510
|
-
const { statusLineMode } = await import("./status-line-wiring-
|
|
3509
|
+
const { runRouterInstall } = await import("./install-U4BIDCHH.js");
|
|
3510
|
+
const { statusLineMode } = await import("./status-line-wiring-2ABDVXSJ.js");
|
|
3511
3511
|
return runRouterInstall(
|
|
3512
3512
|
{
|
|
3513
3513
|
...o.project === true ? { project: true } : {},
|
|
@@ -3524,7 +3524,7 @@ Learn more:
|
|
|
3524
3524
|
).option("--project", "remove from this project's .claude/settings.json").action(async function() {
|
|
3525
3525
|
await runCommand("uninstall", this, async (ctx) => {
|
|
3526
3526
|
const o = this.opts();
|
|
3527
|
-
const { runRouterUninstall } = await import("./uninstall-
|
|
3527
|
+
const { runRouterUninstall } = await import("./uninstall-BYVGAQMO.js");
|
|
3528
3528
|
return runRouterUninstall({ ...o.project === true ? { project: true } : {} }, ctx);
|
|
3529
3529
|
});
|
|
3530
3530
|
});
|
|
@@ -3540,7 +3540,7 @@ Examples:
|
|
|
3540
3540
|
`
|
|
3541
3541
|
).action(async function() {
|
|
3542
3542
|
await runCommand("doctor", this, async (ctx) => {
|
|
3543
|
-
const { runRouterDoctor } = await import("./doctor-
|
|
3543
|
+
const { runRouterDoctor } = await import("./doctor-PS45CR3T.js");
|
|
3544
3544
|
return runRouterDoctor(ctx, this.opts().project === true ? { project: true } : {});
|
|
3545
3545
|
});
|
|
3546
3546
|
});
|
|
@@ -3548,7 +3548,7 @@ Examples:
|
|
|
3548
3548
|
"Update tenjin-cli to the newest version npm publishes on the latest tag. It then runs `install --refresh` on the new binary, so every profile on this machine gets the skills and hook scripts of the build that just landed."
|
|
3549
3549
|
).option("--check", "report whether a newer version exists without installing it").action(async function() {
|
|
3550
3550
|
await runCommand("update", this, async (ctx) => {
|
|
3551
|
-
const { runUpdate } = await import("./update-
|
|
3551
|
+
const { runUpdate } = await import("./update-7QJDSHST.js");
|
|
3552
3552
|
return runUpdate({ check: this.opts().check === true }, ctx);
|
|
3553
3553
|
});
|
|
3554
3554
|
});
|
|
@@ -3567,7 +3567,7 @@ Examples:
|
|
|
3567
3567
|
);
|
|
3568
3568
|
config.action(async function() {
|
|
3569
3569
|
await runCommand("config", this, async (ctx) => {
|
|
3570
|
-
const { runConfigList } = await import("./config-
|
|
3570
|
+
const { runConfigList } = await import("./config-BLUWOH6S.js");
|
|
3571
3571
|
return runConfigList(ctx);
|
|
3572
3572
|
});
|
|
3573
3573
|
});
|
|
@@ -3575,7 +3575,7 @@ Examples:
|
|
|
3575
3575
|
"Print one effective config value by key. The effective value is what the command would use, defaults and environment overrides included."
|
|
3576
3576
|
).action(async function(key) {
|
|
3577
3577
|
await runCommand("config.get", this, async (ctx) => {
|
|
3578
|
-
const { runConfigGet } = await import("./config-
|
|
3578
|
+
const { runConfigGet } = await import("./config-BLUWOH6S.js");
|
|
3579
3579
|
return runConfigGet({ key }, ctx);
|
|
3580
3580
|
});
|
|
3581
3581
|
});
|
|
@@ -3587,7 +3587,7 @@ Examples:
|
|
|
3587
3587
|
).option("--local", "with --project, write .tenjin/config.local.json instead, which is yours").action(async function(key, value) {
|
|
3588
3588
|
const o = this.opts();
|
|
3589
3589
|
await runCommand("config.set", this, async (ctx) => {
|
|
3590
|
-
const { runConfigSet } = await import("./config-
|
|
3590
|
+
const { runConfigSet } = await import("./config-BLUWOH6S.js");
|
|
3591
3591
|
return runConfigSet(
|
|
3592
3592
|
{ key, value, project: o.project === true, local: o.local === true },
|
|
3593
3593
|
ctx
|
|
@@ -3609,7 +3609,7 @@ Examples:
|
|
|
3609
3609
|
).action(async function() {
|
|
3610
3610
|
await runCommand("wallet.create", this, async (ctx) => {
|
|
3611
3611
|
const o = this.opts();
|
|
3612
|
-
const { runWalletCreate } = await import("./wallet-
|
|
3612
|
+
const { runWalletCreate } = await import("./wallet-YZOXIXBC.js");
|
|
3613
3613
|
return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
|
|
3614
3614
|
});
|
|
3615
3615
|
});
|
|
@@ -3617,7 +3617,7 @@ Examples:
|
|
|
3617
3617
|
"Print the active wallet address and where its key comes from. The private key is never printed, by any flag."
|
|
3618
3618
|
).action(async function() {
|
|
3619
3619
|
await runCommand("wallet.show", this, async (ctx) => {
|
|
3620
|
-
const { runWalletShow } = await import("./wallet-
|
|
3620
|
+
const { runWalletShow } = await import("./wallet-YZOXIXBC.js");
|
|
3621
3621
|
return runWalletShow(ctx);
|
|
3622
3622
|
});
|
|
3623
3623
|
});
|
|
@@ -3625,7 +3625,7 @@ Examples:
|
|
|
3625
3625
|
"Read the wallet USDC balance on Base. It is a chain read: no key is unlocked and nothing is spent."
|
|
3626
3626
|
).action(async function() {
|
|
3627
3627
|
await runCommand("wallet.balance", this, async (ctx) => {
|
|
3628
|
-
const { runWalletBalance } = await import("./wallet-
|
|
3628
|
+
const { runWalletBalance } = await import("./wallet-YZOXIXBC.js");
|
|
3629
3629
|
return runWalletBalance(ctx);
|
|
3630
3630
|
});
|
|
3631
3631
|
});
|
|
@@ -3637,7 +3637,7 @@ Examples:
|
|
|
3637
3637
|
).action(async function(amountUsd) {
|
|
3638
3638
|
await runCommand("wallet.fund", this, async (ctx) => {
|
|
3639
3639
|
const o = this.opts();
|
|
3640
|
-
const { runFund } = await import("./fund-
|
|
3640
|
+
const { runFund } = await import("./fund-4SW2ZBWC.js");
|
|
3641
3641
|
return runFund(ctx, {
|
|
3642
3642
|
...amountUsd !== void 0 ? { amountUsd } : {},
|
|
3643
3643
|
...o.open === false ? { open: false } : {},
|
|
@@ -3656,23 +3656,27 @@ Examples:
|
|
|
3656
3656
|
).action(async function(amount, token, to) {
|
|
3657
3657
|
await runCommand("wallet.send", this, async (ctx) => {
|
|
3658
3658
|
const o = this.opts();
|
|
3659
|
-
const { runSend } = await import("./send-
|
|
3659
|
+
const { runSend } = await import("./send-YH75Z6LB.js");
|
|
3660
3660
|
return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
|
|
3661
3661
|
});
|
|
3662
3662
|
});
|
|
3663
|
-
leaf2(WALLET, "pay <url>", "pay
|
|
3664
|
-
"Pay
|
|
3665
|
-
).option("-X, --method <method>", "GET (default) or POST (implied by --data)").option("-d, --data <json>", "JSON request body (sent as application/json)").option("--max-price <usd>", "hard price cap in decimal USD (never bypassed by --yes)").option("--yes", "bypass the interactive confirm only (not the price cap)").option(
|
|
3663
|
+
leaf2(WALLET, "pay <url>", "pay an x402 endpoint with explicit user consent").description(
|
|
3664
|
+
"Pay an x402 endpoint (exact scheme, USDC on Base) with explicit user consent. Manual pay ignores automatic router limits and always confirms; --yes records prior consent for this quote. Never use it as an autonomous workaround for router refusal. Unlisted endpoints need no warning flag. Registry lookup failures or listed-term mismatches require --ignore-warnings separately. Every paid call pays; entitled delivery remains free."
|
|
3665
|
+
).option("-X, --method <method>", "GET (default) or POST (implied by --data)").option("-d, --data <json>", "JSON request body (sent as application/json)").option("--max-price <usd>", "hard price cap in decimal USD (never bypassed by --yes)").option("--yes", "bypass the interactive confirm only (not the price cap)").option(
|
|
3666
|
+
"--ignore-warnings",
|
|
3667
|
+
"acknowledge direct-payment registry warnings only; all payment checks still apply"
|
|
3668
|
+
).option("--print-body", "print the full body instead of the capped preview").addHelpText(
|
|
3666
3669
|
"after",
|
|
3667
3670
|
`
|
|
3668
3671
|
Examples:
|
|
3669
3672
|
$ tenjin pay https://api.example.com/quote --max-price 0.05
|
|
3673
|
+
$ tenjin pay https://api.example.com/quote --json --max-price 0.05 --ignore-warnings --yes
|
|
3670
3674
|
$ tenjin pay https://api.example.com/quote -d '{"symbol":"ETH"}' --yes
|
|
3671
3675
|
`
|
|
3672
3676
|
).action(async function(url) {
|
|
3673
3677
|
await runCommand("pay", this, async (ctx) => {
|
|
3674
3678
|
const o = this.opts();
|
|
3675
|
-
const { runPay } = await import("./pay-
|
|
3679
|
+
const { runPay } = await import("./pay-VJOP6TFT.js");
|
|
3676
3680
|
return runPay(
|
|
3677
3681
|
{
|
|
3678
3682
|
url,
|
|
@@ -3680,7 +3684,8 @@ Examples:
|
|
|
3680
3684
|
...typeof o.data === "string" ? { data: o.data } : {},
|
|
3681
3685
|
...typeof o.maxPrice === "string" ? { maxPrice: o.maxPrice } : {},
|
|
3682
3686
|
...o.yes === true ? { yes: true } : {},
|
|
3683
|
-
...o.printBody === true ? { printBody: true } : {}
|
|
3687
|
+
...o.printBody === true ? { printBody: true } : {},
|
|
3688
|
+
...o.ignoreWarnings === true ? { ignoreWarnings: true } : {}
|
|
3684
3689
|
},
|
|
3685
3690
|
ctx
|
|
3686
3691
|
);
|
|
@@ -3705,7 +3710,7 @@ function registerRouter(reg) {
|
|
|
3705
3710
|
]) {
|
|
3706
3711
|
addGlobalFlags2(hook.command(name)).summary(summary).action(async function() {
|
|
3707
3712
|
const ctx = buildContext2(this);
|
|
3708
|
-
const { runHookCommand } = await import("./hook-command-
|
|
3713
|
+
const { runHookCommand } = await import("./hook-command-YTV7X333.js");
|
|
3709
3714
|
await runHookCommand(name, io, {
|
|
3710
3715
|
dataDir: ctx.dataDir,
|
|
3711
3716
|
...ctx.flags.baseUrl !== void 0 ? { baseUrl: ctx.flags.baseUrl } : {}
|
|
@@ -3718,21 +3723,21 @@ function registerRouter(reg) {
|
|
|
3718
3723
|
"Run the local stdio MCP server that carries the `request` tool: one paid routing decision per lookup, then the provider call, under your local spend policy. It speaks on stdin and stdout and runs until the client disconnects, so it prints no envelope of its own."
|
|
3719
3724
|
).action(async function() {
|
|
3720
3725
|
const ctx = buildContext2(this);
|
|
3721
|
-
const { runRouterMcpServer } = await import("./mcp-
|
|
3726
|
+
const { runRouterMcpServer } = await import("./mcp-AC4PIXH5.js");
|
|
3722
3727
|
await runRouterMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
|
|
3723
3728
|
});
|
|
3724
3729
|
leaf2(INTEGRATION, "status-line", "the live footer, for Claude Code's status line").description(
|
|
3725
3730
|
"Print one line naming what this session is looking up right now: the provider actually being called, its bounded parameters, and what it cost. It reads Claude Code's status event on stdin for the session identity, reads that session's own progress records, writes nothing, and prints `x402 \xB7 ready` when this session has no activity. `tenjin install` registers it; you never run it by hand."
|
|
3726
3731
|
).action(async function() {
|
|
3727
3732
|
const ctx = buildContext2(this);
|
|
3728
|
-
const { runStatusLine } = await import("./status-line-
|
|
3733
|
+
const { runStatusLine } = await import("./status-line-CZAZUOAY.js");
|
|
3729
3734
|
await runStatusLine(io, { dataDir: ctx.dataDir });
|
|
3730
3735
|
});
|
|
3731
3736
|
leaf2(SETUP, "status", "what this machine has spent, and what is still open").description(
|
|
3732
3737
|
"Report the rolling 24h spend window from spend.json: what has settled, what is reserved by a request still in flight, and the per-call and per-day caps in force."
|
|
3733
3738
|
).action(async function() {
|
|
3734
3739
|
await runCommand("status", this, async (ctx) => {
|
|
3735
|
-
const { runRouterStatus } = await import("./status-
|
|
3740
|
+
const { runRouterStatus } = await import("./status-5CHCDLUE.js");
|
|
3736
3741
|
return runRouterStatus(ctx);
|
|
3737
3742
|
});
|
|
3738
3743
|
});
|
|
@@ -3881,4 +3886,4 @@ export {
|
|
|
3881
3886
|
buildProgram,
|
|
3882
3887
|
main
|
|
3883
3888
|
};
|
|
3884
|
-
//# sourceMappingURL=cli-
|
|
3889
|
+
//# sourceMappingURL=cli-456F77ZY.js.map
|