tenjin-cli 0.1.0-alpha.21 → 0.1.0-alpha.23
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 +17 -14
- package/dist/{chunk-PJEG2JIJ.js → chunk-2RMXTNLT.js} +4 -4
- package/dist/{chunk-2AQO4YDI.js → chunk-3IOS6YG6.js} +3 -3
- package/dist/{chunk-IOIHYOU4.js → chunk-6O6DFYF3.js} +2 -2
- package/dist/chunk-A2XMQSWI.js +140 -0
- package/dist/chunk-A2XMQSWI.js.map +1 -0
- package/dist/{chunk-YVODPFTL.js → chunk-DHCOGDJB.js} +4 -4
- package/dist/{chunk-AQRUD5GQ.js → chunk-F4IJQBGP.js} +4 -4
- package/dist/{chunk-SRVDXR6B.js → chunk-GONDQ27X.js} +5 -5
- package/dist/{chunk-JN7TMXVF.js → chunk-HJYI52HM.js} +2 -2
- package/dist/{chunk-UY2TOI3B.js → chunk-HTC4VJFT.js} +77 -7
- package/dist/chunk-HTC4VJFT.js.map +1 -0
- package/dist/{chunk-OTPEH3AH.js → chunk-I2GBBIDI.js} +5 -5
- package/dist/{chunk-GHTPYKDT.js → chunk-K63HPLYT.js} +4 -4
- package/dist/{chunk-3EUTWC2B.js → chunk-N7A5EXJZ.js} +4 -4
- package/dist/{chunk-N4DJEQAF.js → chunk-NYJCBQL5.js} +2 -2
- package/dist/{chunk-RCJQARZF.js → chunk-RA2J3TWG.js} +2 -2
- package/dist/{chunk-RCJQARZF.js.map → chunk-RA2J3TWG.js.map} +1 -1
- package/dist/{chunk-W3LVZ2EN.js → chunk-SAN5PFTL.js} +102 -5
- package/dist/chunk-SAN5PFTL.js.map +1 -0
- package/dist/{chunk-QRFONFRW.js → chunk-UGLTSPXQ.js} +2 -2
- package/dist/{chunk-IOB7URFH.js → chunk-UHEMZEGW.js} +2 -2
- package/dist/{chunk-U2ATFMKZ.js → chunk-WXFVJPZD.js} +2 -2
- package/dist/{chunk-C363JZN2.js → chunk-XBYTP4SP.js} +3 -3
- package/dist/{chunk-OSUD6YZZ.js → chunk-Y3LKUXZA.js} +8 -8
- package/dist/{chunk-ETW2ASBP.js → chunk-YT7A7DLY.js} +94 -29
- package/dist/chunk-YT7A7DLY.js.map +1 -0
- package/dist/{cli-7KJ4QLUU.js → cli-MUYFTWWB.js} +28 -28
- package/dist/{cli-7KJ4QLUU.js.map → cli-MUYFTWWB.js.map} +1 -1
- package/dist/{config-MSN6H4MD.js → config-IIRRO3XC.js} +7 -7
- package/dist/{doctor-ITUCKN6C.js → doctor-KGHM2CAC.js} +15 -15
- package/dist/{fund-XPB4IIG5.js → fund-DOWIT3JT.js} +9 -10
- package/dist/{fund-XPB4IIG5.js.map → fund-DOWIT3JT.js.map} +1 -1
- package/dist/{hook-command-VVV2Q23L.js → hook-command-RDT754KQ.js} +90 -12
- package/dist/hook-command-RDT754KQ.js.map +1 -0
- package/dist/index.js +3 -3
- package/dist/{install-OSJRM2ME.js → install-BYQUMYBN.js} +10 -10
- package/dist/{install-identity-YIWKQOUD.js → install-identity-KTQPYVAO.js} +6 -6
- package/dist/{install-wallet-BWJO2SUC.js → install-wallet-T737X74E.js} +8 -9
- package/dist/{install-wallet-BWJO2SUC.js.map → install-wallet-T737X74E.js.map} +1 -1
- package/dist/{mcp-KE5YKPS2.js → mcp-ZKOTURQN.js} +462 -69
- package/dist/mcp-ZKOTURQN.js.map +1 -0
- package/dist/{pay-MUV2U232.js → pay-LZPU2HUT.js} +11 -12
- package/dist/{payments-4D27K4L2.js → payments-26NVMFR2.js} +6 -7
- package/dist/{payments-4D27K4L2.js.map → payments-26NVMFR2.js.map} +1 -1
- package/dist/{send-BXHFKDBF.js → send-4RUBQQKP.js} +8 -9
- package/dist/{send-BXHFKDBF.js.map → send-4RUBQQKP.js.map} +1 -1
- package/dist/{status-3Z3YPRSE.js → status-CEHZKHBU.js} +5 -5
- package/dist/{status-line-CKRMGZ3Q.js → status-line-QRAO3Y2E.js} +4 -4
- package/dist/{status-line-wiring-GECLIIBT.js → status-line-wiring-7D2CSV3K.js} +4 -4
- package/dist/tenjin-daemon.mjs +5 -2
- package/dist/{uninstall-BZTVWJ7W.js → uninstall-VR44B4KD.js} +10 -10
- package/dist/{update-IQQTEOI5.js → update-SOYQLDBF.js} +5 -5
- package/dist/{wallet-UFXQ57TZ.js → wallet-IB2EFAUP.js} +8 -9
- package/docs/agent-permissions.md +8 -8
- package/docs/safety-model.md +2 -2
- package/package.json +1 -1
- package/dist/chunk-ETW2ASBP.js.map +0 -1
- package/dist/chunk-QHILSA6G.js +0 -82
- package/dist/chunk-QHILSA6G.js.map +0 -1
- package/dist/chunk-UY2TOI3B.js.map +0 -1
- package/dist/chunk-W3LVZ2EN.js.map +0 -1
- package/dist/hook-command-VVV2Q23L.js.map +0 -1
- package/dist/mcp-KE5YKPS2.js.map +0 -1
- /package/dist/{chunk-PJEG2JIJ.js.map → chunk-2RMXTNLT.js.map} +0 -0
- /package/dist/{chunk-2AQO4YDI.js.map → chunk-3IOS6YG6.js.map} +0 -0
- /package/dist/{chunk-IOIHYOU4.js.map → chunk-6O6DFYF3.js.map} +0 -0
- /package/dist/{chunk-YVODPFTL.js.map → chunk-DHCOGDJB.js.map} +0 -0
- /package/dist/{chunk-AQRUD5GQ.js.map → chunk-F4IJQBGP.js.map} +0 -0
- /package/dist/{chunk-SRVDXR6B.js.map → chunk-GONDQ27X.js.map} +0 -0
- /package/dist/{chunk-JN7TMXVF.js.map → chunk-HJYI52HM.js.map} +0 -0
- /package/dist/{chunk-OTPEH3AH.js.map → chunk-I2GBBIDI.js.map} +0 -0
- /package/dist/{chunk-GHTPYKDT.js.map → chunk-K63HPLYT.js.map} +0 -0
- /package/dist/{chunk-3EUTWC2B.js.map → chunk-N7A5EXJZ.js.map} +0 -0
- /package/dist/{chunk-N4DJEQAF.js.map → chunk-NYJCBQL5.js.map} +0 -0
- /package/dist/{chunk-QRFONFRW.js.map → chunk-UGLTSPXQ.js.map} +0 -0
- /package/dist/{chunk-IOB7URFH.js.map → chunk-UHEMZEGW.js.map} +0 -0
- /package/dist/{chunk-U2ATFMKZ.js.map → chunk-WXFVJPZD.js.map} +0 -0
- /package/dist/{chunk-C363JZN2.js.map → chunk-XBYTP4SP.js.map} +0 -0
- /package/dist/{chunk-OSUD6YZZ.js.map → chunk-Y3LKUXZA.js.map} +0 -0
- /package/dist/{config-MSN6H4MD.js.map → config-IIRRO3XC.js.map} +0 -0
- /package/dist/{doctor-ITUCKN6C.js.map → doctor-KGHM2CAC.js.map} +0 -0
- /package/dist/{install-OSJRM2ME.js.map → install-BYQUMYBN.js.map} +0 -0
- /package/dist/{install-identity-YIWKQOUD.js.map → install-identity-KTQPYVAO.js.map} +0 -0
- /package/dist/{pay-MUV2U232.js.map → pay-LZPU2HUT.js.map} +0 -0
- /package/dist/{status-3Z3YPRSE.js.map → status-CEHZKHBU.js.map} +0 -0
- /package/dist/{status-line-CKRMGZ3Q.js.map → status-line-QRAO3Y2E.js.map} +0 -0
- /package/dist/{status-line-wiring-GECLIIBT.js.map → status-line-wiring-7D2CSV3K.js.map} +0 -0
- /package/dist/{uninstall-BZTVWJ7W.js.map → uninstall-VR44B4KD.js.map} +0 -0
- /package/dist/{update-IQQTEOI5.js.map → update-SOYQLDBF.js.map} +0 -0
- /package/dist/{wallet-UFXQ57TZ.js.map → wallet-IB2EFAUP.js.map} +0 -0
|
@@ -2,28 +2,28 @@ import { createRequire as __tenjinCreateRequire } from 'node:module'; const requ
|
|
|
2
2
|
import {
|
|
3
3
|
maybeUpdate,
|
|
4
4
|
readUpdateSignal
|
|
5
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-N7A5EXJZ.js";
|
|
6
6
|
import {
|
|
7
7
|
defaultIo,
|
|
8
8
|
emitFailure,
|
|
9
9
|
emitSuccess
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-UGLTSPXQ.js";
|
|
11
11
|
import {
|
|
12
12
|
noteBaseUrlFlag
|
|
13
|
-
} from "./chunk-
|
|
14
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-K63HPLYT.js";
|
|
14
|
+
import "./chunk-3IOS6YG6.js";
|
|
15
15
|
import {
|
|
16
16
|
PERMISSIONS_DOC_URL
|
|
17
17
|
} from "./chunk-A36LQPHV.js";
|
|
18
18
|
import "./chunk-2I4QTOLB.js";
|
|
19
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-UHEMZEGW.js";
|
|
20
20
|
import "./chunk-O2JYBOUO.js";
|
|
21
21
|
import {
|
|
22
22
|
external_exports
|
|
23
|
-
} from "./chunk-
|
|
23
|
+
} from "./chunk-SAN5PFTL.js";
|
|
24
24
|
import {
|
|
25
25
|
package_default
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-RA2J3TWG.js";
|
|
27
27
|
import {
|
|
28
28
|
CliError
|
|
29
29
|
} from "./chunk-JLEF5WHM.js";
|
|
@@ -3513,8 +3513,8 @@ Learn more:
|
|
|
3513
3513
|
).action(async function() {
|
|
3514
3514
|
await runCommand("install", this, async (ctx) => {
|
|
3515
3515
|
const o = this.opts();
|
|
3516
|
-
const { runRouterInstall } = await import("./install-
|
|
3517
|
-
const { statusLineMode } = await import("./status-line-wiring-
|
|
3516
|
+
const { runRouterInstall } = await import("./install-BYQUMYBN.js");
|
|
3517
|
+
const { statusLineMode } = await import("./status-line-wiring-7D2CSV3K.js");
|
|
3518
3518
|
return runRouterInstall(
|
|
3519
3519
|
{
|
|
3520
3520
|
...o.project === true ? { project: true } : {},
|
|
@@ -3531,7 +3531,7 @@ Learn more:
|
|
|
3531
3531
|
).option("--project", "remove from this project's .claude/settings.json").action(async function() {
|
|
3532
3532
|
await runCommand("uninstall", this, async (ctx) => {
|
|
3533
3533
|
const o = this.opts();
|
|
3534
|
-
const { runRouterUninstall } = await import("./uninstall-
|
|
3534
|
+
const { runRouterUninstall } = await import("./uninstall-VR44B4KD.js");
|
|
3535
3535
|
return runRouterUninstall({ ...o.project === true ? { project: true } : {} }, ctx);
|
|
3536
3536
|
});
|
|
3537
3537
|
});
|
|
@@ -3547,7 +3547,7 @@ Examples:
|
|
|
3547
3547
|
`
|
|
3548
3548
|
).action(async function() {
|
|
3549
3549
|
await runCommand("doctor", this, async (ctx) => {
|
|
3550
|
-
const { runRouterDoctor } = await import("./doctor-
|
|
3550
|
+
const { runRouterDoctor } = await import("./doctor-KGHM2CAC.js");
|
|
3551
3551
|
return runRouterDoctor(ctx, this.opts().project === true ? { project: true } : {});
|
|
3552
3552
|
});
|
|
3553
3553
|
});
|
|
@@ -3555,7 +3555,7 @@ Examples:
|
|
|
3555
3555
|
"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."
|
|
3556
3556
|
).option("--check", "report whether a newer version exists without installing it").action(async function() {
|
|
3557
3557
|
await runCommand("update", this, async (ctx) => {
|
|
3558
|
-
const { runUpdate } = await import("./update-
|
|
3558
|
+
const { runUpdate } = await import("./update-SOYQLDBF.js");
|
|
3559
3559
|
return runUpdate({ check: this.opts().check === true }, ctx);
|
|
3560
3560
|
});
|
|
3561
3561
|
});
|
|
@@ -3574,7 +3574,7 @@ Examples:
|
|
|
3574
3574
|
);
|
|
3575
3575
|
config.action(async function() {
|
|
3576
3576
|
await runCommand("config", this, async (ctx) => {
|
|
3577
|
-
const { runConfigList } = await import("./config-
|
|
3577
|
+
const { runConfigList } = await import("./config-IIRRO3XC.js");
|
|
3578
3578
|
return runConfigList(ctx);
|
|
3579
3579
|
});
|
|
3580
3580
|
});
|
|
@@ -3582,7 +3582,7 @@ Examples:
|
|
|
3582
3582
|
"Print one effective config value by key. The effective value is what the command would use, defaults and environment overrides included."
|
|
3583
3583
|
).action(async function(key) {
|
|
3584
3584
|
await runCommand("config.get", this, async (ctx) => {
|
|
3585
|
-
const { runConfigGet } = await import("./config-
|
|
3585
|
+
const { runConfigGet } = await import("./config-IIRRO3XC.js");
|
|
3586
3586
|
return runConfigGet({ key }, ctx);
|
|
3587
3587
|
});
|
|
3588
3588
|
});
|
|
@@ -3594,7 +3594,7 @@ Examples:
|
|
|
3594
3594
|
).option("--local", "with --project, write .tenjin/config.local.json instead, which is yours").action(async function(key, value) {
|
|
3595
3595
|
const o = this.opts();
|
|
3596
3596
|
await runCommand("config.set", this, async (ctx) => {
|
|
3597
|
-
const { runConfigSet } = await import("./config-
|
|
3597
|
+
const { runConfigSet } = await import("./config-IIRRO3XC.js");
|
|
3598
3598
|
return runConfigSet(
|
|
3599
3599
|
{ key, value, project: o.project === true, local: o.local === true },
|
|
3600
3600
|
ctx
|
|
@@ -3616,7 +3616,7 @@ Examples:
|
|
|
3616
3616
|
).action(async function() {
|
|
3617
3617
|
await runCommand("wallet.create", this, async (ctx) => {
|
|
3618
3618
|
const o = this.opts();
|
|
3619
|
-
const { runWalletCreate } = await import("./wallet-
|
|
3619
|
+
const { runWalletCreate } = await import("./wallet-IB2EFAUP.js");
|
|
3620
3620
|
return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
|
|
3621
3621
|
});
|
|
3622
3622
|
});
|
|
@@ -3624,7 +3624,7 @@ Examples:
|
|
|
3624
3624
|
"Print the active wallet address and where its key comes from. The private key is never printed, by any flag."
|
|
3625
3625
|
).action(async function() {
|
|
3626
3626
|
await runCommand("wallet.show", this, async (ctx) => {
|
|
3627
|
-
const { runWalletShow } = await import("./wallet-
|
|
3627
|
+
const { runWalletShow } = await import("./wallet-IB2EFAUP.js");
|
|
3628
3628
|
return runWalletShow(ctx);
|
|
3629
3629
|
});
|
|
3630
3630
|
});
|
|
@@ -3632,7 +3632,7 @@ Examples:
|
|
|
3632
3632
|
"Read the wallet USDC balance on Base. It is a chain read: no key is unlocked and nothing is spent."
|
|
3633
3633
|
).action(async function() {
|
|
3634
3634
|
await runCommand("wallet.balance", this, async (ctx) => {
|
|
3635
|
-
const { runWalletBalance } = await import("./wallet-
|
|
3635
|
+
const { runWalletBalance } = await import("./wallet-IB2EFAUP.js");
|
|
3636
3636
|
return runWalletBalance(ctx);
|
|
3637
3637
|
});
|
|
3638
3638
|
});
|
|
@@ -3644,7 +3644,7 @@ Examples:
|
|
|
3644
3644
|
).action(async function(amountUsd) {
|
|
3645
3645
|
await runCommand("wallet.fund", this, async (ctx) => {
|
|
3646
3646
|
const o = this.opts();
|
|
3647
|
-
const { runFund } = await import("./fund-
|
|
3647
|
+
const { runFund } = await import("./fund-DOWIT3JT.js");
|
|
3648
3648
|
return runFund(ctx, {
|
|
3649
3649
|
...amountUsd !== void 0 ? { amountUsd } : {},
|
|
3650
3650
|
...o.open === false ? { open: false } : {},
|
|
@@ -3663,7 +3663,7 @@ Examples:
|
|
|
3663
3663
|
).action(async function(amount, token, to) {
|
|
3664
3664
|
await runCommand("wallet.send", this, async (ctx) => {
|
|
3665
3665
|
const o = this.opts();
|
|
3666
|
-
const { runSend } = await import("./send-
|
|
3666
|
+
const { runSend } = await import("./send-4RUBQQKP.js");
|
|
3667
3667
|
return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
|
|
3668
3668
|
});
|
|
3669
3669
|
});
|
|
@@ -3683,7 +3683,7 @@ Examples:
|
|
|
3683
3683
|
).action(async function(url) {
|
|
3684
3684
|
await runCommand("pay", this, async (ctx) => {
|
|
3685
3685
|
const o = this.opts();
|
|
3686
|
-
const { runPay } = await import("./pay-
|
|
3686
|
+
const { runPay } = await import("./pay-LZPU2HUT.js");
|
|
3687
3687
|
return runPay(
|
|
3688
3688
|
{
|
|
3689
3689
|
url,
|
|
@@ -3719,7 +3719,7 @@ function registerRouter(reg) {
|
|
|
3719
3719
|
]) {
|
|
3720
3720
|
addGlobalFlags2(hook.command(name)).summary(summary).action(async function() {
|
|
3721
3721
|
const ctx = buildContext2(this);
|
|
3722
|
-
const { runHookCommand } = await import("./hook-command-
|
|
3722
|
+
const { runHookCommand } = await import("./hook-command-RDT754KQ.js");
|
|
3723
3723
|
await runHookCommand(name, io, {
|
|
3724
3724
|
dataDir: ctx.dataDir,
|
|
3725
3725
|
...ctx.flags.baseUrl !== void 0 ? { baseUrl: ctx.flags.baseUrl } : {}
|
|
@@ -3729,24 +3729,24 @@ function registerRouter(reg) {
|
|
|
3729
3729
|
hook.command("unknown", { hidden: true, isDefault: true }).argument("[args...]").allowUnknownOption().allowExcessArguments().action(() => {
|
|
3730
3730
|
});
|
|
3731
3731
|
leaf2(INTEGRATION, "mcp", "run the local stdio MCP server").description(
|
|
3732
|
-
"Run the local stdio MCP server that carries the `request` tool: one
|
|
3732
|
+
"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."
|
|
3733
3733
|
).action(async function() {
|
|
3734
3734
|
const ctx = buildContext2(this);
|
|
3735
|
-
const { runRouterMcpServer } = await import("./mcp-
|
|
3735
|
+
const { runRouterMcpServer } = await import("./mcp-ZKOTURQN.js");
|
|
3736
3736
|
await runRouterMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
|
|
3737
3737
|
});
|
|
3738
3738
|
leaf2(INTEGRATION, "status-line", "the live footer, for Claude Code's status line").description(
|
|
3739
3739
|
"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."
|
|
3740
3740
|
).action(async function() {
|
|
3741
3741
|
const ctx = buildContext2(this);
|
|
3742
|
-
const { runStatusLine } = await import("./status-line-
|
|
3742
|
+
const { runStatusLine } = await import("./status-line-QRAO3Y2E.js");
|
|
3743
3743
|
await runStatusLine(io, { dataDir: ctx.dataDir });
|
|
3744
3744
|
});
|
|
3745
3745
|
leaf2(SETUP, "status", "what this machine has spent, and what is still open").description(
|
|
3746
3746
|
"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."
|
|
3747
3747
|
).action(async function() {
|
|
3748
3748
|
await runCommand("status", this, async (ctx) => {
|
|
3749
|
-
const { runRouterStatus } = await import("./status-
|
|
3749
|
+
const { runRouterStatus } = await import("./status-CEHZKHBU.js");
|
|
3750
3750
|
return runRouterStatus(ctx);
|
|
3751
3751
|
});
|
|
3752
3752
|
});
|
|
@@ -3757,7 +3757,7 @@ function registerRouter(reg) {
|
|
|
3757
3757
|
"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."
|
|
3758
3758
|
).action(async function() {
|
|
3759
3759
|
await runCommand("payments.reconcile", this, async (ctx) => {
|
|
3760
|
-
const { runPaymentsReconcile } = await import("./payments-
|
|
3760
|
+
const { runPaymentsReconcile } = await import("./payments-26NVMFR2.js");
|
|
3761
3761
|
return runPaymentsReconcile(ctx);
|
|
3762
3762
|
});
|
|
3763
3763
|
});
|
|
@@ -3907,4 +3907,4 @@ export {
|
|
|
3907
3907
|
buildProgram,
|
|
3908
3908
|
main
|
|
3909
3909
|
};
|
|
3910
|
-
//# sourceMappingURL=cli-
|
|
3910
|
+
//# sourceMappingURL=cli-MUYFTWWB.js.map
|