tenjin-cli 0.1.0-alpha.25 → 0.1.0-alpha.27
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 +16 -43
- package/dist/{chunk-EOGJKIOG.js → chunk-2TYQD22Q.js} +16 -7
- package/dist/chunk-2TYQD22Q.js.map +1 -0
- package/dist/{chunk-SCAE6PW6.js → chunk-4L7KMA7P.js} +6 -6
- package/dist/{chunk-UDWGT4FX.js → chunk-5FGO6TYT.js} +13 -5
- package/dist/chunk-5FGO6TYT.js.map +1 -0
- package/dist/{chunk-IYLECN4D.js → chunk-5NEHH2E5.js} +3 -3
- package/dist/{chunk-EACMJEF3.js → chunk-64SE3QC5.js} +75 -176
- package/dist/chunk-64SE3QC5.js.map +1 -0
- package/dist/chunk-6ZSGER3A.js +52 -0
- package/dist/chunk-6ZSGER3A.js.map +1 -0
- package/dist/{chunk-QF4SSCQV.js → chunk-AWKQSKUL.js} +4 -3
- package/dist/chunk-AWKQSKUL.js.map +1 -0
- package/dist/chunk-B2L53TMK.js +70 -0
- package/dist/chunk-B2L53TMK.js.map +1 -0
- package/dist/chunk-BOAI23CX.js +222 -0
- package/dist/chunk-BOAI23CX.js.map +1 -0
- package/dist/{chunk-OZ3LWLCI.js → chunk-DATCR7AU.js} +3 -3
- package/dist/{chunk-NTYQHAIM.js → chunk-DSNXKUXI.js} +2 -2
- package/dist/{chunk-HII5HOQV.js → chunk-G4AM2SOL.js} +5 -3
- package/dist/{chunk-HII5HOQV.js.map → chunk-G4AM2SOL.js.map} +1 -1
- package/dist/{chunk-VYONGSMQ.js → chunk-GU4GGKYP.js} +85 -6
- package/dist/chunk-GU4GGKYP.js.map +1 -0
- package/dist/{chunk-YSW57KUT.js → chunk-H2L33M7F.js} +31 -27
- package/dist/chunk-H2L33M7F.js.map +1 -0
- package/dist/{chunk-ODH7UXIS.js → chunk-HC3QEZKT.js} +5 -4
- package/dist/chunk-HC3QEZKT.js.map +1 -0
- package/dist/chunk-MAQUL5BD.js +99 -0
- package/dist/chunk-MAQUL5BD.js.map +1 -0
- package/dist/{chunk-EG7P4SM6.js → chunk-O7CUHHYU.js} +4 -4
- package/dist/{chunk-EG7P4SM6.js.map → chunk-O7CUHHYU.js.map} +1 -1
- package/dist/{chunk-CEMXMUIU.js → chunk-OHZYNZSD.js} +36 -7
- package/dist/chunk-OHZYNZSD.js.map +1 -0
- package/dist/{chunk-3ZYPVSIU.js → chunk-PY7MQUKP.js} +238 -43
- package/dist/chunk-PY7MQUKP.js.map +1 -0
- package/dist/chunk-PZ5N6BAL.js +268 -0
- package/dist/chunk-PZ5N6BAL.js.map +1 -0
- package/dist/chunk-S4SAZ7OD.js +30 -0
- package/dist/chunk-S4SAZ7OD.js.map +1 -0
- package/dist/{chunk-NYPFOHSJ.js → chunk-SKQQOEWH.js} +4 -4
- package/dist/{chunk-XICKN3CH.js → chunk-VIOUZW7Z.js} +2 -46
- package/dist/chunk-VIOUZW7Z.js.map +1 -0
- package/dist/{chunk-YTM7OURD.js → chunk-VNNXAYJE.js} +2 -2
- package/dist/{chunk-CKDD554V.js → chunk-VXIBZ6W5.js} +5 -3
- package/dist/{chunk-CKDD554V.js.map → chunk-VXIBZ6W5.js.map} +1 -1
- package/dist/{chunk-GT6W3VJM.js → chunk-X7I343ZY.js} +3 -53
- package/dist/chunk-X7I343ZY.js.map +1 -0
- package/dist/{chunk-KGTQRJGS.js → chunk-XVYATBKD.js} +5 -10
- package/dist/{chunk-KGTQRJGS.js.map → chunk-XVYATBKD.js.map} +1 -1
- package/dist/{chunk-DRXDTITB.js → chunk-YKM2ZTA2.js} +59 -25
- package/dist/chunk-YKM2ZTA2.js.map +1 -0
- package/dist/{chunk-CP7O6M55.js → chunk-YQOQ6XEI.js} +109 -27
- package/dist/chunk-YQOQ6XEI.js.map +1 -0
- package/dist/{cli-4WMGZPBP.js → cli-6JNIPZQ6.js} +43 -39
- package/dist/{cli-4WMGZPBP.js.map → cli-6JNIPZQ6.js.map} +1 -1
- package/dist/{config-VU6U7QOU.js → config-G75YT6NC.js} +15 -10
- package/dist/{doctor-26JS2SG3.js → doctor-3GMDOW4Y.js} +140 -98
- package/dist/doctor-3GMDOW4Y.js.map +1 -0
- package/dist/env-proxy-XL4P73MZ.js +15 -0
- package/dist/{fund-JJN3FRRF.js → fund-3IPR5YRJ.js} +26 -14
- package/dist/{fund-JJN3FRRF.js.map → fund-3IPR5YRJ.js.map} +1 -1
- package/dist/hook-command-ZXX4FT4N.js +32 -0
- package/dist/index.js +7 -5
- package/dist/index.js.map +1 -1
- package/dist/{install-GXQ33J4G.js → install-6OROTYHZ.js} +20 -14
- package/dist/{install-identity-HFQUXPSI.js → install-identity-PM4AGFFX.js} +7 -6
- package/dist/{install-wallet-27LTEHBI.js → install-wallet-6756NOB5.js} +11 -8
- package/dist/{install-wallet-27LTEHBI.js.map → install-wallet-6756NOB5.js.map} +1 -1
- package/dist/{mcp-AHCZVD2U.js → mcp-33FAAZ7F.js} +723 -123
- package/dist/mcp-33FAAZ7F.js.map +1 -0
- package/dist/{pay-3TCOPGCX.js → pay-XOYR4PCH.js} +14 -12
- package/dist/{payments-H3LSBGSL.js → payments-UTQDBO7H.js} +8 -6
- package/dist/{payments-H3LSBGSL.js.map → payments-UTQDBO7H.js.map} +1 -1
- package/dist/{send-LKCLN5GA.js → send-CVGNOQW3.js} +12 -9
- package/dist/{send-LKCLN5GA.js.map → send-CVGNOQW3.js.map} +1 -1
- package/dist/{status-2FDGI4LQ.js → status-NACN4DGX.js} +10 -7
- package/dist/{status-2FDGI4LQ.js.map → status-NACN4DGX.js.map} +1 -1
- package/dist/{status-line-QKDJYZGV.js → status-line-3IQKGRUH.js} +6 -5
- package/dist/{status-line-QKDJYZGV.js.map → status-line-3IQKGRUH.js.map} +1 -1
- package/dist/{status-line-wiring-ZDBYHNYR.js → status-line-wiring-QXBOOY2T.js} +4 -4
- package/dist/{uninstall-ZXWABDHS.js → uninstall-NYFKSYW4.js} +22 -16
- package/dist/{uninstall-ZXWABDHS.js.map → uninstall-NYFKSYW4.js.map} +1 -1
- package/dist/{update-HEIWVOP5.js → update-RJDA5ZY3.js} +11 -13
- package/dist/update-RJDA5ZY3.js.map +1 -0
- package/dist/{wallet-T7JYWI6O.js → wallet-B3FVHNTS.js} +11 -8
- package/dist/wallet-B3FVHNTS.js.map +1 -0
- package/docs/agent-permissions.md +18 -7
- package/docs/troubleshooting.md +13 -0
- package/package.json +4 -3
- package/dist/chunk-3ZYPVSIU.js.map +0 -1
- package/dist/chunk-CEMXMUIU.js.map +0 -1
- package/dist/chunk-CP7O6M55.js.map +0 -1
- package/dist/chunk-DRXDTITB.js.map +0 -1
- package/dist/chunk-EACMJEF3.js.map +0 -1
- package/dist/chunk-EOGJKIOG.js.map +0 -1
- package/dist/chunk-GT6W3VJM.js.map +0 -1
- package/dist/chunk-ODH7UXIS.js.map +0 -1
- package/dist/chunk-QF4SSCQV.js.map +0 -1
- package/dist/chunk-UDWGT4FX.js.map +0 -1
- package/dist/chunk-VYONGSMQ.js.map +0 -1
- package/dist/chunk-XICKN3CH.js.map +0 -1
- package/dist/chunk-YSW57KUT.js.map +0 -1
- package/dist/doctor-26JS2SG3.js.map +0 -1
- package/dist/hook-command-S2V4UNB3.js +0 -28
- package/dist/mcp-AHCZVD2U.js.map +0 -1
- package/dist/update-HEIWVOP5.js.map +0 -1
- /package/dist/{chunk-SCAE6PW6.js.map → chunk-4L7KMA7P.js.map} +0 -0
- /package/dist/{chunk-IYLECN4D.js.map → chunk-5NEHH2E5.js.map} +0 -0
- /package/dist/{chunk-OZ3LWLCI.js.map → chunk-DATCR7AU.js.map} +0 -0
- /package/dist/{chunk-NTYQHAIM.js.map → chunk-DSNXKUXI.js.map} +0 -0
- /package/dist/{chunk-NYPFOHSJ.js.map → chunk-SKQQOEWH.js.map} +0 -0
- /package/dist/{chunk-YTM7OURD.js.map → chunk-VNNXAYJE.js.map} +0 -0
- /package/dist/{config-VU6U7QOU.js.map → config-G75YT6NC.js.map} +0 -0
- /package/dist/{hook-command-S2V4UNB3.js.map → env-proxy-XL4P73MZ.js.map} +0 -0
- /package/dist/{install-GXQ33J4G.js.map → hook-command-ZXX4FT4N.js.map} +0 -0
- /package/dist/{install-identity-HFQUXPSI.js.map → install-6OROTYHZ.js.map} +0 -0
- /package/dist/{pay-3TCOPGCX.js.map → install-identity-PM4AGFFX.js.map} +0 -0
- /package/dist/{status-line-wiring-ZDBYHNYR.js.map → pay-XOYR4PCH.js.map} +0 -0
- /package/dist/{wallet-T7JYWI6O.js.map → status-line-wiring-QXBOOY2T.js.map} +0 -0
|
@@ -2,27 +2,28 @@ import { createRequire as __tenjinCreateRequire } from 'node:module'; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
maybeUpdate,
|
|
4
4
|
readUpdateSignal
|
|
5
|
-
} from "./chunk-
|
|
6
|
-
import {
|
|
7
|
-
defaultIo,
|
|
8
|
-
emitFailure,
|
|
9
|
-
emitSuccess
|
|
10
|
-
} from "./chunk-UDWGT4FX.js";
|
|
5
|
+
} from "./chunk-4L7KMA7P.js";
|
|
11
6
|
import {
|
|
12
7
|
noteBaseUrlFlag
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-SKQQOEWH.js";
|
|
9
|
+
import "./chunk-OHZYNZSD.js";
|
|
15
10
|
import {
|
|
16
11
|
PERMISSIONS_DOC_URL
|
|
17
12
|
} from "./chunk-A36LQPHV.js";
|
|
18
|
-
import "./chunk-2I4QTOLB.js";
|
|
19
|
-
import "./chunk-HII5HOQV.js";
|
|
20
13
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
14
|
+
defaultIo,
|
|
15
|
+
emitFailure,
|
|
16
|
+
emitSuccess
|
|
17
|
+
} from "./chunk-5FGO6TYT.js";
|
|
23
18
|
import {
|
|
24
19
|
package_default
|
|
25
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-HC3QEZKT.js";
|
|
21
|
+
import "./chunk-2I4QTOLB.js";
|
|
22
|
+
import "./chunk-G4AM2SOL.js";
|
|
23
|
+
import "./chunk-6ZSGER3A.js";
|
|
24
|
+
import {
|
|
25
|
+
external_exports
|
|
26
|
+
} from "./chunk-VIOUZW7Z.js";
|
|
26
27
|
import {
|
|
27
28
|
CliError
|
|
28
29
|
} from "./chunk-JLEF5WHM.js";
|
|
@@ -3495,7 +3496,7 @@ function registerCore(reg) {
|
|
|
3495
3496
|
const { runCommand, leaf: leaf2, addGlobalFlags: addGlobalFlags2 } = reg;
|
|
3496
3497
|
leaf2(SETUP, "install", "set up Tenjin for Claude Code and create a wallet").description(
|
|
3497
3498
|
"Set up Claude Code to use Tenjin: seven hook entries, the `x402` MCP server and its permission rule, spend limits for each lookup, and a wallet if this machine has none."
|
|
3498
|
-
).option("--project", "write into this project's .claude/settings.json instead of your home one").option("--no-wallet", "create no wallet").option("--refresh", "re-register the hook entries this machine already has; add nothing").option(
|
|
3499
|
+
).option("--project", "write into this project's .claude/settings.json instead of your home one").option("--no-wallet", "create no wallet").option("--refresh", "re-register the hook entries this machine already has; add nothing").option("--yes", "accept the default spend limits instead of asking").option(
|
|
3499
3500
|
"--status-line <mode>",
|
|
3500
3501
|
"the live footer: `own` registers it when you have no status line of your own, `compose` appends it to the one you do have, `skip` leaves the setting alone"
|
|
3501
3502
|
).addHelpText(
|
|
@@ -3512,12 +3513,13 @@ Learn more:
|
|
|
3512
3513
|
).action(async function() {
|
|
3513
3514
|
await runCommand("install", this, async (ctx) => {
|
|
3514
3515
|
const o = this.opts();
|
|
3515
|
-
const { runRouterInstall } = await import("./install-
|
|
3516
|
-
const { statusLineMode } = await import("./status-line-wiring-
|
|
3516
|
+
const { runRouterInstall } = await import("./install-6OROTYHZ.js");
|
|
3517
|
+
const { statusLineMode } = await import("./status-line-wiring-QXBOOY2T.js");
|
|
3517
3518
|
return runRouterInstall(
|
|
3518
3519
|
{
|
|
3519
3520
|
...o.project === true ? { project: true } : {},
|
|
3520
3521
|
...o.refresh === true ? { refresh: true } : {},
|
|
3522
|
+
...o.yes === true ? { yes: true } : {},
|
|
3521
3523
|
...o.statusLine !== void 0 ? { statusLine: statusLineMode(String(o.statusLine)) } : {},
|
|
3522
3524
|
...o.wallet === false ? { noWallet: true } : {}
|
|
3523
3525
|
},
|
|
@@ -3530,7 +3532,7 @@ Learn more:
|
|
|
3530
3532
|
).option("--project", "remove from this project's .claude/settings.json").action(async function() {
|
|
3531
3533
|
await runCommand("uninstall", this, async (ctx) => {
|
|
3532
3534
|
const o = this.opts();
|
|
3533
|
-
const { runRouterUninstall } = await import("./uninstall-
|
|
3535
|
+
const { runRouterUninstall } = await import("./uninstall-NYFKSYW4.js");
|
|
3534
3536
|
return runRouterUninstall({ ...o.project === true ? { project: true } : {} }, ctx);
|
|
3535
3537
|
});
|
|
3536
3538
|
});
|
|
@@ -3546,7 +3548,7 @@ Examples:
|
|
|
3546
3548
|
`
|
|
3547
3549
|
).action(async function() {
|
|
3548
3550
|
await runCommand("doctor", this, async (ctx) => {
|
|
3549
|
-
const { runRouterDoctor } = await import("./doctor-
|
|
3551
|
+
const { runRouterDoctor } = await import("./doctor-3GMDOW4Y.js");
|
|
3550
3552
|
return runRouterDoctor(ctx, this.opts().project === true ? { project: true } : {});
|
|
3551
3553
|
});
|
|
3552
3554
|
});
|
|
@@ -3554,7 +3556,7 @@ Examples:
|
|
|
3554
3556
|
"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."
|
|
3555
3557
|
).option("--check", "report whether a newer version exists without installing it").action(async function() {
|
|
3556
3558
|
await runCommand("update", this, async (ctx) => {
|
|
3557
|
-
const { runUpdate } = await import("./update-
|
|
3559
|
+
const { runUpdate } = await import("./update-RJDA5ZY3.js");
|
|
3558
3560
|
return runUpdate({ check: this.opts().check === true }, ctx);
|
|
3559
3561
|
});
|
|
3560
3562
|
});
|
|
@@ -3573,7 +3575,7 @@ Examples:
|
|
|
3573
3575
|
);
|
|
3574
3576
|
config.action(async function() {
|
|
3575
3577
|
await runCommand("config", this, async (ctx) => {
|
|
3576
|
-
const { runConfigList } = await import("./config-
|
|
3578
|
+
const { runConfigList } = await import("./config-G75YT6NC.js");
|
|
3577
3579
|
return runConfigList(ctx);
|
|
3578
3580
|
});
|
|
3579
3581
|
});
|
|
@@ -3581,7 +3583,7 @@ Examples:
|
|
|
3581
3583
|
"Print one effective config value by key. The effective value is what the command would use, defaults and environment overrides included."
|
|
3582
3584
|
).action(async function(key) {
|
|
3583
3585
|
await runCommand("config.get", this, async (ctx) => {
|
|
3584
|
-
const { runConfigGet } = await import("./config-
|
|
3586
|
+
const { runConfigGet } = await import("./config-G75YT6NC.js");
|
|
3585
3587
|
return runConfigGet({ key }, ctx);
|
|
3586
3588
|
});
|
|
3587
3589
|
});
|
|
@@ -3593,7 +3595,7 @@ Examples:
|
|
|
3593
3595
|
).option("--local", "with --project, write .tenjin/config.local.json instead, which is yours").action(async function(key, value) {
|
|
3594
3596
|
const o = this.opts();
|
|
3595
3597
|
await runCommand("config.set", this, async (ctx) => {
|
|
3596
|
-
const { runConfigSet } = await import("./config-
|
|
3598
|
+
const { runConfigSet } = await import("./config-G75YT6NC.js");
|
|
3597
3599
|
return runConfigSet(
|
|
3598
3600
|
{ key, value, project: o.project === true, local: o.local === true },
|
|
3599
3601
|
ctx
|
|
@@ -3615,38 +3617,40 @@ Examples:
|
|
|
3615
3617
|
).action(async function() {
|
|
3616
3618
|
await runCommand("wallet.create", this, async (ctx) => {
|
|
3617
3619
|
const o = this.opts();
|
|
3618
|
-
const { runWalletCreate } = await import("./wallet-
|
|
3620
|
+
const { runWalletCreate } = await import("./wallet-B3FVHNTS.js");
|
|
3619
3621
|
return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
|
|
3620
3622
|
});
|
|
3621
3623
|
});
|
|
3622
|
-
addGlobalFlags2(wallet.command("show")).summary("show the wallet address and key source").description(
|
|
3623
|
-
"Print the active wallet address and where its key comes from. The private key is never printed, by any flag."
|
|
3624
|
-
).action(async function() {
|
|
3624
|
+
addGlobalFlags2(wallet.command("show")).alias("address").summary("show the wallet address and key source").description(
|
|
3625
|
+
"Print the active wallet address and where its key comes from. The private key is never printed, by any flag. At a terminal it also draws the address as a QR code for a phone wallet to scan."
|
|
3626
|
+
).option("--no-qr", "print the address without the QR code").action(async function() {
|
|
3625
3627
|
await runCommand("wallet.show", this, async (ctx) => {
|
|
3626
|
-
const
|
|
3627
|
-
|
|
3628
|
+
const o = this.opts();
|
|
3629
|
+
const { runWalletShow } = await import("./wallet-B3FVHNTS.js");
|
|
3630
|
+
return runWalletShow(ctx, o.qr === false ? { qr: false } : {});
|
|
3628
3631
|
});
|
|
3629
3632
|
});
|
|
3630
3633
|
addGlobalFlags2(wallet.command("balance")).summary("show the wallet USDC balance on Base").description(
|
|
3631
3634
|
"Read the wallet USDC balance on Base. It is a chain read: no key is unlocked and nothing is spent."
|
|
3632
3635
|
).action(async function() {
|
|
3633
3636
|
await runCommand("wallet.balance", this, async (ctx) => {
|
|
3634
|
-
const { runWalletBalance } = await import("./wallet-
|
|
3637
|
+
const { runWalletBalance } = await import("./wallet-B3FVHNTS.js");
|
|
3635
3638
|
return runWalletBalance(ctx);
|
|
3636
3639
|
});
|
|
3637
3640
|
});
|
|
3638
3641
|
addGlobalFlags2(wallet.command("fund [amountUsd]")).summary("card-fund this wallet through Coinbase Onramp").description(
|
|
3639
3642
|
"Mint a Coinbase Onramp checkout link bound to THIS wallet, open it in the browser, and wait for the USDC to land on Base. Minting moves no money: a human completes the payment on pay.coinbase.com."
|
|
3640
|
-
).option("--no-open", "print the checkout link without opening a browser").option(
|
|
3643
|
+
).option("--no-open", "print the checkout link without opening a browser").option("--no-qr", "skip the QR code of the address for sending USDC from a phone").option(
|
|
3641
3644
|
"--no-wait",
|
|
3642
3645
|
"return once the link is issued instead of polling the balance (already the default when not at a TTY)"
|
|
3643
3646
|
).action(async function(amountUsd) {
|
|
3644
3647
|
await runCommand("wallet.fund", this, async (ctx) => {
|
|
3645
3648
|
const o = this.opts();
|
|
3646
|
-
const { runFund } = await import("./fund-
|
|
3649
|
+
const { runFund } = await import("./fund-3IPR5YRJ.js");
|
|
3647
3650
|
return runFund(ctx, {
|
|
3648
3651
|
...amountUsd !== void 0 ? { amountUsd } : {},
|
|
3649
3652
|
...o.open === false ? { open: false } : {},
|
|
3653
|
+
...o.qr === false ? { qr: false } : {},
|
|
3650
3654
|
...o.wait === false ? { wait: false } : {}
|
|
3651
3655
|
});
|
|
3652
3656
|
});
|
|
@@ -3662,7 +3666,7 @@ Examples:
|
|
|
3662
3666
|
).action(async function(amount, token, to) {
|
|
3663
3667
|
await runCommand("wallet.send", this, async (ctx) => {
|
|
3664
3668
|
const o = this.opts();
|
|
3665
|
-
const { runSend } = await import("./send-
|
|
3669
|
+
const { runSend } = await import("./send-CVGNOQW3.js");
|
|
3666
3670
|
return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
|
|
3667
3671
|
});
|
|
3668
3672
|
});
|
|
@@ -3682,7 +3686,7 @@ Examples:
|
|
|
3682
3686
|
).action(async function(url) {
|
|
3683
3687
|
await runCommand("pay", this, async (ctx) => {
|
|
3684
3688
|
const o = this.opts();
|
|
3685
|
-
const { runPay } = await import("./pay-
|
|
3689
|
+
const { runPay } = await import("./pay-XOYR4PCH.js");
|
|
3686
3690
|
return runPay(
|
|
3687
3691
|
{
|
|
3688
3692
|
url,
|
|
@@ -3718,7 +3722,7 @@ function registerRouter(reg) {
|
|
|
3718
3722
|
]) {
|
|
3719
3723
|
addGlobalFlags2(hook.command(name)).summary(summary).action(async function() {
|
|
3720
3724
|
const ctx = buildContext2(this);
|
|
3721
|
-
const { runHookCommand } = await import("./hook-command-
|
|
3725
|
+
const { runHookCommand } = await import("./hook-command-ZXX4FT4N.js");
|
|
3722
3726
|
await runHookCommand(name, io, {
|
|
3723
3727
|
dataDir: ctx.dataDir,
|
|
3724
3728
|
...ctx.flags.baseUrl !== void 0 ? { baseUrl: ctx.flags.baseUrl } : {}
|
|
@@ -3731,21 +3735,21 @@ function registerRouter(reg) {
|
|
|
3731
3735
|
"Run the local stdio MCP server that carries the `request` tool: one free routing decision per lookup, then the provider call, built here from the offer's spec and your assistant's input where it has one, 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."
|
|
3732
3736
|
).action(async function() {
|
|
3733
3737
|
const ctx = buildContext2(this);
|
|
3734
|
-
const { runRouterMcpServer } = await import("./mcp-
|
|
3738
|
+
const { runRouterMcpServer } = await import("./mcp-33FAAZ7F.js");
|
|
3735
3739
|
await runRouterMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
|
|
3736
3740
|
});
|
|
3737
3741
|
leaf2(INTEGRATION, "status-line", "the live footer, for Claude Code's status line").description(
|
|
3738
3742
|
"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."
|
|
3739
3743
|
).action(async function() {
|
|
3740
3744
|
const ctx = buildContext2(this);
|
|
3741
|
-
const { runStatusLine } = await import("./status-line-
|
|
3745
|
+
const { runStatusLine } = await import("./status-line-3IQKGRUH.js");
|
|
3742
3746
|
await runStatusLine(io, { dataDir: ctx.dataDir });
|
|
3743
3747
|
});
|
|
3744
3748
|
leaf2(SETUP, "status", "what this machine has spent, and what is still open").description(
|
|
3745
3749
|
"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."
|
|
3746
3750
|
).action(async function() {
|
|
3747
3751
|
await runCommand("status", this, async (ctx) => {
|
|
3748
|
-
const { runRouterStatus } = await import("./status-
|
|
3752
|
+
const { runRouterStatus } = await import("./status-NACN4DGX.js");
|
|
3749
3753
|
return runRouterStatus(ctx);
|
|
3750
3754
|
});
|
|
3751
3755
|
});
|
|
@@ -3756,7 +3760,7 @@ function registerRouter(reg) {
|
|
|
3756
3760
|
"For each paid lookup whose seller never confirmed settlement and whose authorization has expired, ask USDC on Base (through the configured rpcUrl) whether it was used: used means it was charged, unused means it never can be. Nothing is signed or sent but that one read."
|
|
3757
3761
|
).action(async function() {
|
|
3758
3762
|
await runCommand("payments.reconcile", this, async (ctx) => {
|
|
3759
|
-
const { runPaymentsReconcile } = await import("./payments-
|
|
3763
|
+
const { runPaymentsReconcile } = await import("./payments-UTQDBO7H.js");
|
|
3760
3764
|
return runPaymentsReconcile(ctx);
|
|
3761
3765
|
});
|
|
3762
3766
|
});
|
|
@@ -3906,4 +3910,4 @@ export {
|
|
|
3906
3910
|
buildProgram,
|
|
3907
3911
|
main
|
|
3908
3912
|
};
|
|
3909
|
-
//# sourceMappingURL=cli-
|
|
3913
|
+
//# sourceMappingURL=cli-6JNIPZQ6.js.map
|