tenjin-cli 0.1.0-alpha.16 → 0.1.0-alpha.17
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 +2 -0
- package/dist/chunk-2G2WLVHB.js +102 -0
- package/dist/chunk-2G2WLVHB.js.map +1 -0
- package/dist/chunk-2I4QTOLB.js +11 -0
- package/dist/chunk-2I4QTOLB.js.map +1 -0
- package/dist/{chunk-HVRC33OL.js → chunk-2JGT3KDW.js} +4 -6
- package/dist/{chunk-HVRC33OL.js.map → chunk-2JGT3KDW.js.map} +1 -1
- package/dist/chunk-35M3VITA.js +102 -0
- package/dist/chunk-35M3VITA.js.map +1 -0
- package/dist/{chunk-5X4SZ5BF.js → chunk-5QHHRMRA.js} +4 -4
- package/dist/{chunk-BFFM2WFK.js → chunk-5UDD5VSY.js} +2 -2
- package/dist/{chunk-BFFM2WFK.js.map → chunk-5UDD5VSY.js.map} +1 -1
- package/dist/{chunk-OIM4HLN6.js → chunk-7QKHZQKW.js} +295 -20
- package/dist/chunk-7QKHZQKW.js.map +1 -0
- package/dist/{chunk-BBVUVBUO.js → chunk-AR7U7BRG.js} +44 -7
- package/dist/{chunk-BBVUVBUO.js.map → chunk-AR7U7BRG.js.map} +1 -1
- package/dist/{chunk-DMZZLPZN.js → chunk-AUKDYPPX.js} +14 -89
- package/dist/chunk-AUKDYPPX.js.map +1 -0
- package/dist/{chunk-PZEN5PHN.js → chunk-J5INH7WB.js} +17 -3
- package/dist/chunk-J5INH7WB.js.map +1 -0
- package/dist/{chunk-7WEQQJLG.js → chunk-JLEF5WHM.js} +66 -2
- package/dist/chunk-JLEF5WHM.js.map +1 -0
- package/dist/{chunk-GULLJQXA.js → chunk-KK4YGYTV.js} +127 -17
- package/dist/chunk-KK4YGYTV.js.map +1 -0
- package/dist/{chunk-YEETV6IW.js → chunk-KUBEYXSO.js} +10 -12
- package/dist/{chunk-YEETV6IW.js.map → chunk-KUBEYXSO.js.map} +1 -1
- package/dist/{chunk-2U5ZVEV3.js → chunk-LJ4DMVFI.js} +5 -5
- package/dist/{chunk-3AJS6LLN.js → chunk-MRGADYDD.js} +7 -7
- package/dist/{chunk-25TJPVBF.js → chunk-O4ZNKFRU.js} +28 -15
- package/dist/chunk-O4ZNKFRU.js.map +1 -0
- package/dist/{chunk-OJLYNM4Z.js → chunk-PDA2BVFY.js} +77 -19
- package/dist/chunk-PDA2BVFY.js.map +1 -0
- package/dist/{chunk-L3PVMIYQ.js → chunk-QDD2RN7G.js} +29 -119
- package/dist/chunk-QDD2RN7G.js.map +1 -0
- package/dist/chunk-S2NRVRPF.js +171 -0
- package/dist/chunk-S2NRVRPF.js.map +1 -0
- package/dist/chunk-TGLKKLQG.js +11 -0
- package/dist/chunk-TGLKKLQG.js.map +1 -0
- package/dist/chunk-TP4D47BY.js +127 -0
- package/dist/chunk-TP4D47BY.js.map +1 -0
- package/dist/{chunk-WH7OWT6G.js → chunk-U2DZISAH.js} +2 -8
- package/dist/chunk-U2DZISAH.js.map +1 -0
- package/dist/{chunk-USS336NF.js → chunk-WGQVJM56.js} +5 -5
- package/dist/chunk-WGQVJM56.js.map +1 -0
- package/dist/{chunk-YJHHCWM3.js → chunk-WLMJE3GJ.js} +3 -3
- package/dist/{chunk-U5DXNFJC.js → chunk-WS4JA6TC.js} +3 -3
- package/dist/{chunk-SKAHDQH7.js → chunk-XZOEUYMX.js} +6 -7
- package/dist/{chunk-SKAHDQH7.js.map → chunk-XZOEUYMX.js.map} +1 -1
- package/dist/{cli-M3XCSOU6.js → cli-VHYYYYXM.js} +43 -29
- package/dist/{cli-M3XCSOU6.js.map → cli-VHYYYYXM.js.map} +1 -1
- package/dist/{config-MXOX7XDR.js → config-5ADBAAXU.js} +11 -10
- package/dist/{doctor-LU4YIZWM.js → doctor-Q35VQW3S.js} +108 -21
- package/dist/doctor-Q35VQW3S.js.map +1 -0
- package/dist/{fund-A54P2QFK.js → fund-GDDPL2BB.js} +11 -10
- package/dist/{fund-A54P2QFK.js.map → fund-GDDPL2BB.js.map} +1 -1
- package/dist/hook-command-PBERPRE3.js +763 -0
- package/dist/hook-command-PBERPRE3.js.map +1 -0
- package/dist/index.js +2 -2
- package/dist/{install-XUM2XSHW.js → install-OKDKGUXM.js} +21 -14
- package/dist/{install-wallet-QIOFORTX.js → install-wallet-SI4LZ73K.js} +10 -9
- package/dist/{install-wallet-QIOFORTX.js.map → install-wallet-SI4LZ73K.js.map} +1 -1
- package/dist/{mcp-HJC2PLRV.js → mcp-XX3WRQEZ.js} +63 -31
- package/dist/{mcp-HJC2PLRV.js.map → mcp-XX3WRQEZ.js.map} +1 -1
- package/dist/{pay-SBXZEPEP.js → pay-3SYKHKWJ.js} +15 -13
- package/dist/{redact-46ZHF2NH.js → redact-6W23GGJC.js} +4 -6
- package/dist/{send-ASD2ZXJD.js → send-LQRKTEJT.js} +10 -9
- package/dist/{send-ASD2ZXJD.js.map → send-LQRKTEJT.js.map} +1 -1
- package/dist/{skill-placement-NFVHY6A3.js → skill-placement-JMDPSKE6.js} +12 -13
- package/dist/{skill-placement-NFVHY6A3.js.map → skill-placement-JMDPSKE6.js.map} +1 -1
- package/dist/{status-T2SDB57A.js → status-FFC6FO72.js} +8 -7
- package/dist/{status-T2SDB57A.js.map → status-FFC6FO72.js.map} +1 -1
- package/dist/{status-line-CGPUSDMC.js → status-line-SAXSU6CR.js} +19 -3
- package/dist/status-line-SAXSU6CR.js.map +1 -0
- package/dist/{status-line-wiring-BYPHTYZE.js → status-line-wiring-L2WYIYBM.js} +5 -6
- package/dist/tenjin-daemon.mjs +384 -23
- package/dist/{uninstall-FKYZHAM3.js → uninstall-OACH27UV.js} +18 -15
- package/dist/{uninstall-FKYZHAM3.js.map → uninstall-OACH27UV.js.map} +1 -1
- package/dist/{update-ANJ2AOTN.js → update-4W6EKLGZ.js} +6 -7
- package/dist/{update-ANJ2AOTN.js.map → update-4W6EKLGZ.js.map} +1 -1
- package/dist/{wallet-PWAHVKWW.js → wallet-BMEXRR3P.js} +10 -9
- package/docs/agent-permissions.md +16 -8
- package/docs/safety-model.md +1 -1
- package/package.json +1 -1
- package/dist/chunk-25TJPVBF.js.map +0 -1
- package/dist/chunk-7WEQQJLG.js.map +0 -1
- package/dist/chunk-DMZZLPZN.js.map +0 -1
- package/dist/chunk-GULLJQXA.js.map +0 -1
- package/dist/chunk-L3PVMIYQ.js.map +0 -1
- package/dist/chunk-OCBHUHWB.js +0 -69
- package/dist/chunk-OCBHUHWB.js.map +0 -1
- package/dist/chunk-OIM4HLN6.js.map +0 -1
- package/dist/chunk-OJLYNM4Z.js.map +0 -1
- package/dist/chunk-PZEN5PHN.js.map +0 -1
- package/dist/chunk-USS336NF.js.map +0 -1
- package/dist/chunk-WH7OWT6G.js.map +0 -1
- package/dist/doctor-LU4YIZWM.js.map +0 -1
- package/dist/hook-command-U6KWPEDQ.js +0 -377
- package/dist/hook-command-U6KWPEDQ.js.map +0 -1
- package/dist/status-line-CGPUSDMC.js.map +0 -1
- /package/dist/{chunk-5X4SZ5BF.js.map → chunk-5QHHRMRA.js.map} +0 -0
- /package/dist/{chunk-2U5ZVEV3.js.map → chunk-LJ4DMVFI.js.map} +0 -0
- /package/dist/{chunk-3AJS6LLN.js.map → chunk-MRGADYDD.js.map} +0 -0
- /package/dist/{chunk-YJHHCWM3.js.map → chunk-WLMJE3GJ.js.map} +0 -0
- /package/dist/{chunk-U5DXNFJC.js.map → chunk-WS4JA6TC.js.map} +0 -0
- /package/dist/{config-MXOX7XDR.js.map → config-5ADBAAXU.js.map} +0 -0
- /package/dist/{install-XUM2XSHW.js.map → install-OKDKGUXM.js.map} +0 -0
- /package/dist/{pay-SBXZEPEP.js.map → pay-3SYKHKWJ.js.map} +0 -0
- /package/dist/{redact-46ZHF2NH.js.map → redact-6W23GGJC.js.map} +0 -0
- /package/dist/{status-line-wiring-BYPHTYZE.js.map → status-line-wiring-L2WYIYBM.js.map} +0 -0
- /package/dist/{wallet-PWAHVKWW.js.map → wallet-BMEXRR3P.js.map} +0 -0
|
@@ -2,28 +2,27 @@ import { createRequire as __tenjinCreateRequire } from 'node:module'; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
maybeUpdate,
|
|
4
4
|
readUpdateSignal
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-MRGADYDD.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultIo,
|
|
8
8
|
emitFailure,
|
|
9
9
|
emitSuccess
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-WLMJE3GJ.js";
|
|
11
11
|
import {
|
|
12
12
|
PERMISSIONS_DOC_URL
|
|
13
13
|
} from "./chunk-WXC57XGG.js";
|
|
14
14
|
import {
|
|
15
15
|
external_exports
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-AR7U7BRG.js";
|
|
17
17
|
import {
|
|
18
18
|
package_default
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-5UDD5VSY.js";
|
|
20
20
|
import {
|
|
21
21
|
CliError
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-JLEF5WHM.js";
|
|
23
23
|
import {
|
|
24
24
|
dataDir
|
|
25
25
|
} from "./chunk-2BKS2FVE.js";
|
|
26
|
-
import "./chunk-7WEQQJLG.js";
|
|
27
26
|
import {
|
|
28
27
|
__commonJS,
|
|
29
28
|
__require,
|
|
@@ -3489,7 +3488,7 @@ var INTEGRATION = "Integration:";
|
|
|
3489
3488
|
function registerCore(reg) {
|
|
3490
3489
|
const { runCommand, leaf: leaf2, addGlobalFlags: addGlobalFlags2 } = reg;
|
|
3491
3490
|
leaf2(SETUP, "install", "set up Tenjin for Claude Code and create a wallet").description(
|
|
3492
|
-
"Set up Claude Code to use Tenjin:
|
|
3491
|
+
"Set up Claude Code to use Tenjin: five hook entries, the `x402` MCP server and its permission rule, spend limits for each lookup, and a wallet if this machine has none."
|
|
3493
3492
|
).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(
|
|
3494
3493
|
"--status-line <mode>",
|
|
3495
3494
|
"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"
|
|
@@ -3507,8 +3506,8 @@ Learn more:
|
|
|
3507
3506
|
).action(async function() {
|
|
3508
3507
|
await runCommand("install", this, async (ctx) => {
|
|
3509
3508
|
const o = this.opts();
|
|
3510
|
-
const { runRouterInstall } = await import("./install-
|
|
3511
|
-
const { statusLineMode } = await import("./status-line-wiring-
|
|
3509
|
+
const { runRouterInstall } = await import("./install-OKDKGUXM.js");
|
|
3510
|
+
const { statusLineMode } = await import("./status-line-wiring-L2WYIYBM.js");
|
|
3512
3511
|
return runRouterInstall(
|
|
3513
3512
|
{
|
|
3514
3513
|
...o.project === true ? { project: true } : {},
|
|
@@ -3525,7 +3524,7 @@ Learn more:
|
|
|
3525
3524
|
).option("--project", "remove from this project's .claude/settings.json").action(async function() {
|
|
3526
3525
|
await runCommand("uninstall", this, async (ctx) => {
|
|
3527
3526
|
const o = this.opts();
|
|
3528
|
-
const { runRouterUninstall } = await import("./uninstall-
|
|
3527
|
+
const { runRouterUninstall } = await import("./uninstall-OACH27UV.js");
|
|
3529
3528
|
return runRouterUninstall({ ...o.project === true ? { project: true } : {} }, ctx);
|
|
3530
3529
|
});
|
|
3531
3530
|
});
|
|
@@ -3541,7 +3540,7 @@ Examples:
|
|
|
3541
3540
|
`
|
|
3542
3541
|
).action(async function() {
|
|
3543
3542
|
await runCommand("doctor", this, async (ctx) => {
|
|
3544
|
-
const { runRouterDoctor } = await import("./doctor-
|
|
3543
|
+
const { runRouterDoctor } = await import("./doctor-Q35VQW3S.js");
|
|
3545
3544
|
return runRouterDoctor(ctx, this.opts().project === true ? { project: true } : {});
|
|
3546
3545
|
});
|
|
3547
3546
|
});
|
|
@@ -3549,7 +3548,7 @@ Examples:
|
|
|
3549
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."
|
|
3550
3549
|
).option("--check", "report whether a newer version exists without installing it").action(async function() {
|
|
3551
3550
|
await runCommand("update", this, async (ctx) => {
|
|
3552
|
-
const { runUpdate } = await import("./update-
|
|
3551
|
+
const { runUpdate } = await import("./update-4W6EKLGZ.js");
|
|
3553
3552
|
return runUpdate({ check: this.opts().check === true }, ctx);
|
|
3554
3553
|
});
|
|
3555
3554
|
});
|
|
@@ -3563,11 +3562,12 @@ Examples:
|
|
|
3563
3562
|
$ tenjin config
|
|
3564
3563
|
$ tenjin config set publish.mode review
|
|
3565
3564
|
$ tenjin config set maxAutoSpend 0.25
|
|
3565
|
+
$ tenjin config set --project router.enabled false
|
|
3566
3566
|
`
|
|
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-5ADBAAXU.js");
|
|
3571
3571
|
return runConfigList(ctx);
|
|
3572
3572
|
});
|
|
3573
3573
|
});
|
|
@@ -3575,16 +3575,23 @@ 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-5ADBAAXU.js");
|
|
3579
3579
|
return runConfigGet({ key }, ctx);
|
|
3580
3580
|
});
|
|
3581
3581
|
});
|
|
3582
3582
|
addGlobalFlags2(config.command("set <key> <value>")).summary("set a config value").description(
|
|
3583
3583
|
"Write one config value, validated against the key it is for. Spend keys take decimal USD."
|
|
3584
|
-
).
|
|
3584
|
+
).option(
|
|
3585
|
+
"--project",
|
|
3586
|
+
"write a router key into this project's .tenjin/config.json, which is committed"
|
|
3587
|
+
).option("--local", "with --project, write .tenjin/config.local.json instead, which is yours").action(async function(key, value) {
|
|
3588
|
+
const o = this.opts();
|
|
3585
3589
|
await runCommand("config.set", this, async (ctx) => {
|
|
3586
|
-
const { runConfigSet } = await import("./config-
|
|
3587
|
-
return runConfigSet(
|
|
3590
|
+
const { runConfigSet } = await import("./config-5ADBAAXU.js");
|
|
3591
|
+
return runConfigSet(
|
|
3592
|
+
{ key, value, project: o.project === true, local: o.local === true },
|
|
3593
|
+
ctx
|
|
3594
|
+
);
|
|
3588
3595
|
});
|
|
3589
3596
|
});
|
|
3590
3597
|
const wallet = leaf2(
|
|
@@ -3602,7 +3609,7 @@ Examples:
|
|
|
3602
3609
|
).action(async function() {
|
|
3603
3610
|
await runCommand("wallet.create", this, async (ctx) => {
|
|
3604
3611
|
const o = this.opts();
|
|
3605
|
-
const { runWalletCreate } = await import("./wallet-
|
|
3612
|
+
const { runWalletCreate } = await import("./wallet-BMEXRR3P.js");
|
|
3606
3613
|
return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
|
|
3607
3614
|
});
|
|
3608
3615
|
});
|
|
@@ -3610,7 +3617,7 @@ Examples:
|
|
|
3610
3617
|
"Print the active wallet address and where its key comes from. The private key is never printed, by any flag."
|
|
3611
3618
|
).action(async function() {
|
|
3612
3619
|
await runCommand("wallet.show", this, async (ctx) => {
|
|
3613
|
-
const { runWalletShow } = await import("./wallet-
|
|
3620
|
+
const { runWalletShow } = await import("./wallet-BMEXRR3P.js");
|
|
3614
3621
|
return runWalletShow(ctx);
|
|
3615
3622
|
});
|
|
3616
3623
|
});
|
|
@@ -3618,7 +3625,7 @@ Examples:
|
|
|
3618
3625
|
"Read the wallet USDC balance on Base. It is a chain read: no key is unlocked and nothing is spent."
|
|
3619
3626
|
).action(async function() {
|
|
3620
3627
|
await runCommand("wallet.balance", this, async (ctx) => {
|
|
3621
|
-
const { runWalletBalance } = await import("./wallet-
|
|
3628
|
+
const { runWalletBalance } = await import("./wallet-BMEXRR3P.js");
|
|
3622
3629
|
return runWalletBalance(ctx);
|
|
3623
3630
|
});
|
|
3624
3631
|
});
|
|
@@ -3630,7 +3637,7 @@ Examples:
|
|
|
3630
3637
|
).action(async function(amountUsd) {
|
|
3631
3638
|
await runCommand("wallet.fund", this, async (ctx) => {
|
|
3632
3639
|
const o = this.opts();
|
|
3633
|
-
const { runFund } = await import("./fund-
|
|
3640
|
+
const { runFund } = await import("./fund-GDDPL2BB.js");
|
|
3634
3641
|
return runFund(ctx, {
|
|
3635
3642
|
...amountUsd !== void 0 ? { amountUsd } : {},
|
|
3636
3643
|
...o.open === false ? { open: false } : {},
|
|
@@ -3649,7 +3656,7 @@ Examples:
|
|
|
3649
3656
|
).action(async function(amount, token, to) {
|
|
3650
3657
|
await runCommand("wallet.send", this, async (ctx) => {
|
|
3651
3658
|
const o = this.opts();
|
|
3652
|
-
const { runSend } = await import("./send-
|
|
3659
|
+
const { runSend } = await import("./send-LQRKTEJT.js");
|
|
3653
3660
|
return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
|
|
3654
3661
|
});
|
|
3655
3662
|
});
|
|
@@ -3665,7 +3672,7 @@ Examples:
|
|
|
3665
3672
|
).action(async function(url) {
|
|
3666
3673
|
await runCommand("pay", this, async (ctx) => {
|
|
3667
3674
|
const o = this.opts();
|
|
3668
|
-
const { runPay } = await import("./pay-
|
|
3675
|
+
const { runPay } = await import("./pay-3SYKHKWJ.js");
|
|
3669
3676
|
return runPay(
|
|
3670
3677
|
{
|
|
3671
3678
|
url,
|
|
@@ -3689,36 +3696,43 @@ function registerRouter(reg) {
|
|
|
3689
3696
|
).helpCommand(false);
|
|
3690
3697
|
for (const [name, summary] of [
|
|
3691
3698
|
["prompt", "UserPromptSubmit: build the session packet and ask the free gate"],
|
|
3692
|
-
["native", "PreToolUse on WebSearch|WebFetch: allow the call, or redirect it"]
|
|
3699
|
+
["native", "PreToolUse on WebSearch|WebFetch: allow the call, or redirect it"],
|
|
3700
|
+
[
|
|
3701
|
+
"shortfall",
|
|
3702
|
+
"PostToolUse(Failure) on WebSearch|WebFetch: offer a paid lookup when the result came back short"
|
|
3703
|
+
],
|
|
3704
|
+
["agent", "PreToolUse on Agent|Task: append any paid offer to the subagent's task"]
|
|
3693
3705
|
]) {
|
|
3694
3706
|
addGlobalFlags2(hook.command(name)).summary(summary).action(async function() {
|
|
3695
3707
|
const ctx = buildContext2(this);
|
|
3696
|
-
const { runHookCommand } = await import("./hook-command-
|
|
3708
|
+
const { runHookCommand } = await import("./hook-command-PBERPRE3.js");
|
|
3697
3709
|
await runHookCommand(name, io, {
|
|
3698
3710
|
dataDir: ctx.dataDir,
|
|
3699
3711
|
...ctx.flags.baseUrl !== void 0 ? { baseUrl: ctx.flags.baseUrl } : {}
|
|
3700
3712
|
});
|
|
3701
3713
|
});
|
|
3702
3714
|
}
|
|
3715
|
+
hook.command("unknown", { hidden: true, isDefault: true }).argument("[args...]").allowUnknownOption().allowExcessArguments().action(() => {
|
|
3716
|
+
});
|
|
3703
3717
|
leaf2(INTEGRATION, "mcp", "run the local stdio MCP server").description(
|
|
3704
3718
|
"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."
|
|
3705
3719
|
).action(async function() {
|
|
3706
3720
|
const ctx = buildContext2(this);
|
|
3707
|
-
const { runRouterMcpServer } = await import("./mcp-
|
|
3721
|
+
const { runRouterMcpServer } = await import("./mcp-XX3WRQEZ.js");
|
|
3708
3722
|
await runRouterMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
|
|
3709
3723
|
});
|
|
3710
3724
|
leaf2(INTEGRATION, "status-line", "the live footer, for Claude Code's status line").description(
|
|
3711
3725
|
"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."
|
|
3712
3726
|
).action(async function() {
|
|
3713
3727
|
const ctx = buildContext2(this);
|
|
3714
|
-
const { runStatusLine } = await import("./status-line-
|
|
3728
|
+
const { runStatusLine } = await import("./status-line-SAXSU6CR.js");
|
|
3715
3729
|
await runStatusLine(io, { dataDir: ctx.dataDir });
|
|
3716
3730
|
});
|
|
3717
3731
|
leaf2(SETUP, "status", "what this machine has spent, and what is still open").description(
|
|
3718
3732
|
"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."
|
|
3719
3733
|
).action(async function() {
|
|
3720
3734
|
await runCommand("status", this, async (ctx) => {
|
|
3721
|
-
const { runRouterStatus } = await import("./status-
|
|
3735
|
+
const { runRouterStatus } = await import("./status-FFC6FO72.js");
|
|
3722
3736
|
return runRouterStatus(ctx);
|
|
3723
3737
|
});
|
|
3724
3738
|
});
|
|
@@ -3867,4 +3881,4 @@ export {
|
|
|
3867
3881
|
buildProgram,
|
|
3868
3882
|
main
|
|
3869
3883
|
};
|
|
3870
|
-
//# sourceMappingURL=cli-
|
|
3884
|
+
//# sourceMappingURL=cli-VHYYYYXM.js.map
|