tenjin-cli 0.1.0-alpha.24 → 0.1.0-alpha.25

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.
Files changed (114) hide show
  1. package/README.md +5 -1
  2. package/dist/{chunk-H5UR3GFJ.js → chunk-3ZYPVSIU.js} +56 -31
  3. package/dist/chunk-3ZYPVSIU.js.map +1 -0
  4. package/dist/chunk-7EKYXMUO.js +7536 -0
  5. package/dist/chunk-7EKYXMUO.js.map +1 -0
  6. package/dist/chunk-AKWGE6JQ.js +49 -0
  7. package/dist/chunk-AKWGE6JQ.js.map +1 -0
  8. package/dist/{chunk-RCJ64OXH.js → chunk-CEMXMUIU.js} +3 -3
  9. package/dist/{chunk-XZUGRTSV.js → chunk-CKDD554V.js} +2 -2
  10. package/dist/{hook-command-GMIDXVFK.js → chunk-CP7O6M55.js} +190 -40
  11. package/dist/chunk-CP7O6M55.js.map +1 -0
  12. package/dist/{chunk-UBOFYC6J.js → chunk-DRXDTITB.js} +1821 -141
  13. package/dist/chunk-DRXDTITB.js.map +1 -0
  14. package/dist/{chunk-EP5P2STS.js → chunk-EACMJEF3.js} +201 -8
  15. package/dist/chunk-EACMJEF3.js.map +1 -0
  16. package/dist/{chunk-GPLSNGKX.js → chunk-EG7P4SM6.js} +4 -4
  17. package/dist/{chunk-RGVOODF4.js → chunk-EL56RW2J.js} +164 -7463
  18. package/dist/chunk-EL56RW2J.js.map +1 -0
  19. package/dist/{chunk-KC24CYGV.js → chunk-EOGJKIOG.js} +6 -8
  20. package/dist/{chunk-KC24CYGV.js.map → chunk-EOGJKIOG.js.map} +1 -1
  21. package/dist/{chunk-ZMFDMALH.js → chunk-GT6W3VJM.js} +2 -2
  22. package/dist/{chunk-TMLCEPCD.js → chunk-HII5HOQV.js} +3 -5
  23. package/dist/chunk-HII5HOQV.js.map +1 -0
  24. package/dist/{chunk-UXSF7IFD.js → chunk-IYLECN4D.js} +3 -3
  25. package/dist/{chunk-SQSKVKX6.js → chunk-KGTQRJGS.js} +17 -8
  26. package/dist/chunk-KGTQRJGS.js.map +1 -0
  27. package/dist/chunk-LFZJM56J.js +159 -0
  28. package/dist/chunk-LFZJM56J.js.map +1 -0
  29. package/dist/{chunk-YZTIYDWU.js → chunk-NTYQHAIM.js} +2 -2
  30. package/dist/{chunk-IIE65SJC.js → chunk-NYPFOHSJ.js} +4 -4
  31. package/dist/{chunk-ZNZGBUV6.js → chunk-ODH7UXIS.js} +8 -7
  32. package/dist/chunk-ODH7UXIS.js.map +1 -0
  33. package/dist/{chunk-NSDZESRS.js → chunk-OZ3LWLCI.js} +3 -3
  34. package/dist/{chunk-XRW4N23F.js → chunk-SCAE6PW6.js} +4 -4
  35. package/dist/{chunk-O2WN732M.js → chunk-UDWGT4FX.js} +2 -2
  36. package/dist/chunk-VYONGSMQ.js +119 -0
  37. package/dist/chunk-VYONGSMQ.js.map +1 -0
  38. package/dist/{chunk-P22ZWXFX.js → chunk-XICKN3CH.js} +49 -4
  39. package/dist/chunk-XICKN3CH.js.map +1 -0
  40. package/dist/chunk-YHKXNYTB.js +105 -0
  41. package/dist/chunk-YHKXNYTB.js.map +1 -0
  42. package/dist/{chunk-W2ARIOAZ.js → chunk-YSW57KUT.js} +8 -10
  43. package/dist/{chunk-W2ARIOAZ.js.map → chunk-YSW57KUT.js.map} +1 -1
  44. package/dist/{chunk-FFL5M5BC.js → chunk-YTM7OURD.js} +2 -2
  45. package/dist/{cli-GGNOQQEB.js → cli-4WMGZPBP.js} +27 -28
  46. package/dist/{cli-GGNOQQEB.js.map → cli-4WMGZPBP.js.map} +1 -1
  47. package/dist/{config-XUUFICXK.js → config-VU6U7QOU.js} +9 -8
  48. package/dist/{doctor-3LGF6CWI.js → doctor-26JS2SG3.js} +123 -31
  49. package/dist/doctor-26JS2SG3.js.map +1 -0
  50. package/dist/{fund-3URFMBMN.js → fund-JJN3FRRF.js} +13 -14
  51. package/dist/fund-JJN3FRRF.js.map +1 -0
  52. package/dist/hook-command-S2V4UNB3.js +28 -0
  53. package/dist/index.js +3 -3
  54. package/dist/{install-FRTG4KHF.js → install-GXQ33J4G.js} +19 -16
  55. package/dist/{install-identity-WNXSYP6N.js → install-identity-HFQUXPSI.js} +6 -7
  56. package/dist/{install-wallet-MXLJJP3N.js → install-wallet-27LTEHBI.js} +8 -9
  57. package/dist/{install-wallet-MXLJJP3N.js.map → install-wallet-27LTEHBI.js.map} +1 -1
  58. package/dist/{mcp-O2WJ3QBW.js → mcp-AHCZVD2U.js} +596 -75
  59. package/dist/mcp-AHCZVD2U.js.map +1 -0
  60. package/dist/{pay-43WUYTW5.js → pay-3TCOPGCX.js} +14 -13
  61. package/dist/{payments-7UTMMTIO.js → payments-H3LSBGSL.js} +6 -7
  62. package/dist/{payments-7UTMMTIO.js.map → payments-H3LSBGSL.js.map} +1 -1
  63. package/dist/{send-ALHG2RXT.js → send-LKCLN5GA.js} +9 -11
  64. package/dist/{send-ALHG2RXT.js.map → send-LKCLN5GA.js.map} +1 -1
  65. package/dist/{status-CFPNHB6R.js → status-2FDGI4LQ.js} +7 -9
  66. package/dist/{status-CFPNHB6R.js.map → status-2FDGI4LQ.js.map} +1 -1
  67. package/dist/{status-line-FJ6N7MKJ.js → status-line-QKDJYZGV.js} +4 -5
  68. package/dist/{status-line-FJ6N7MKJ.js.map → status-line-QKDJYZGV.js.map} +1 -1
  69. package/dist/{status-line-wiring-GXFNXHPE.js → status-line-wiring-ZDBYHNYR.js} +6 -4
  70. package/dist/{uninstall-5P2GFYBY.js → uninstall-ZXWABDHS.js} +33 -29
  71. package/dist/uninstall-ZXWABDHS.js.map +1 -0
  72. package/dist/{update-QJ5YHJ7I.js → update-HEIWVOP5.js} +17 -6
  73. package/dist/update-HEIWVOP5.js.map +1 -0
  74. package/dist/{wallet-6OJPGNEV.js → wallet-T7JYWI6O.js} +8 -9
  75. package/dist/wallet-T7JYWI6O.js.map +1 -0
  76. package/docs/agent-permissions.md +6 -3
  77. package/package.json +7 -6
  78. package/dist/chunk-EP5P2STS.js.map +0 -1
  79. package/dist/chunk-H5UR3GFJ.js.map +0 -1
  80. package/dist/chunk-O2JYBOUO.js +0 -47
  81. package/dist/chunk-O2JYBOUO.js.map +0 -1
  82. package/dist/chunk-P22ZWXFX.js.map +0 -1
  83. package/dist/chunk-RGVOODF4.js.map +0 -1
  84. package/dist/chunk-S2NRVRPF.js +0 -171
  85. package/dist/chunk-S2NRVRPF.js.map +0 -1
  86. package/dist/chunk-SQSKVKX6.js.map +0 -1
  87. package/dist/chunk-TMLCEPCD.js.map +0 -1
  88. package/dist/chunk-UBOFYC6J.js.map +0 -1
  89. package/dist/chunk-YXLG7Q6Q.js +0 -140
  90. package/dist/chunk-YXLG7Q6Q.js.map +0 -1
  91. package/dist/chunk-ZNZGBUV6.js.map +0 -1
  92. package/dist/doctor-3LGF6CWI.js.map +0 -1
  93. package/dist/fund-3URFMBMN.js.map +0 -1
  94. package/dist/hook-command-GMIDXVFK.js.map +0 -1
  95. package/dist/mcp-O2WJ3QBW.js.map +0 -1
  96. package/dist/uninstall-5P2GFYBY.js.map +0 -1
  97. package/dist/update-QJ5YHJ7I.js.map +0 -1
  98. /package/dist/{chunk-RCJ64OXH.js.map → chunk-CEMXMUIU.js.map} +0 -0
  99. /package/dist/{chunk-XZUGRTSV.js.map → chunk-CKDD554V.js.map} +0 -0
  100. /package/dist/{chunk-GPLSNGKX.js.map → chunk-EG7P4SM6.js.map} +0 -0
  101. /package/dist/{chunk-ZMFDMALH.js.map → chunk-GT6W3VJM.js.map} +0 -0
  102. /package/dist/{chunk-UXSF7IFD.js.map → chunk-IYLECN4D.js.map} +0 -0
  103. /package/dist/{chunk-YZTIYDWU.js.map → chunk-NTYQHAIM.js.map} +0 -0
  104. /package/dist/{chunk-IIE65SJC.js.map → chunk-NYPFOHSJ.js.map} +0 -0
  105. /package/dist/{chunk-NSDZESRS.js.map → chunk-OZ3LWLCI.js.map} +0 -0
  106. /package/dist/{chunk-XRW4N23F.js.map → chunk-SCAE6PW6.js.map} +0 -0
  107. /package/dist/{chunk-O2WN732M.js.map → chunk-UDWGT4FX.js.map} +0 -0
  108. /package/dist/{chunk-FFL5M5BC.js.map → chunk-YTM7OURD.js.map} +0 -0
  109. /package/dist/{config-XUUFICXK.js.map → config-VU6U7QOU.js.map} +0 -0
  110. /package/dist/{install-FRTG4KHF.js.map → hook-command-S2V4UNB3.js.map} +0 -0
  111. /package/dist/{install-identity-WNXSYP6N.js.map → install-GXQ33J4G.js.map} +0 -0
  112. /package/dist/{pay-43WUYTW5.js.map → install-identity-HFQUXPSI.js.map} +0 -0
  113. /package/dist/{status-line-wiring-GXFNXHPE.js.map → pay-3TCOPGCX.js.map} +0 -0
  114. /package/dist/{wallet-6OJPGNEV.js.map → status-line-wiring-ZDBYHNYR.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-XRW4N23F.js";
5
+ } from "./chunk-SCAE6PW6.js";
6
6
  import {
7
7
  defaultIo,
8
8
  emitFailure,
9
9
  emitSuccess
10
- } from "./chunk-O2WN732M.js";
10
+ } from "./chunk-UDWGT4FX.js";
11
11
  import {
12
12
  noteBaseUrlFlag
13
- } from "./chunk-IIE65SJC.js";
14
- import "./chunk-RCJ64OXH.js";
13
+ } from "./chunk-NYPFOHSJ.js";
14
+ import "./chunk-CEMXMUIU.js";
15
15
  import {
16
16
  PERMISSIONS_DOC_URL
17
17
  } from "./chunk-A36LQPHV.js";
18
18
  import "./chunk-2I4QTOLB.js";
19
- import "./chunk-TMLCEPCD.js";
20
- import "./chunk-O2JYBOUO.js";
19
+ import "./chunk-HII5HOQV.js";
21
20
  import {
22
21
  external_exports
23
- } from "./chunk-P22ZWXFX.js";
22
+ } from "./chunk-XICKN3CH.js";
24
23
  import {
25
24
  package_default
26
- } from "./chunk-ZNZGBUV6.js";
25
+ } from "./chunk-ODH7UXIS.js";
27
26
  import {
28
27
  CliError
29
28
  } from "./chunk-JLEF5WHM.js";
@@ -3513,8 +3512,8 @@ Learn more:
3513
3512
  ).action(async function() {
3514
3513
  await runCommand("install", this, async (ctx) => {
3515
3514
  const o = this.opts();
3516
- const { runRouterInstall } = await import("./install-FRTG4KHF.js");
3517
- const { statusLineMode } = await import("./status-line-wiring-GXFNXHPE.js");
3515
+ const { runRouterInstall } = await import("./install-GXQ33J4G.js");
3516
+ const { statusLineMode } = await import("./status-line-wiring-ZDBYHNYR.js");
3518
3517
  return runRouterInstall(
3519
3518
  {
3520
3519
  ...o.project === true ? { project: true } : {},
@@ -3531,7 +3530,7 @@ Learn more:
3531
3530
  ).option("--project", "remove from this project's .claude/settings.json").action(async function() {
3532
3531
  await runCommand("uninstall", this, async (ctx) => {
3533
3532
  const o = this.opts();
3534
- const { runRouterUninstall } = await import("./uninstall-5P2GFYBY.js");
3533
+ const { runRouterUninstall } = await import("./uninstall-ZXWABDHS.js");
3535
3534
  return runRouterUninstall({ ...o.project === true ? { project: true } : {} }, ctx);
3536
3535
  });
3537
3536
  });
@@ -3547,7 +3546,7 @@ Examples:
3547
3546
  `
3548
3547
  ).action(async function() {
3549
3548
  await runCommand("doctor", this, async (ctx) => {
3550
- const { runRouterDoctor } = await import("./doctor-3LGF6CWI.js");
3549
+ const { runRouterDoctor } = await import("./doctor-26JS2SG3.js");
3551
3550
  return runRouterDoctor(ctx, this.opts().project === true ? { project: true } : {});
3552
3551
  });
3553
3552
  });
@@ -3555,7 +3554,7 @@ Examples:
3555
3554
  "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
3555
  ).option("--check", "report whether a newer version exists without installing it").action(async function() {
3557
3556
  await runCommand("update", this, async (ctx) => {
3558
- const { runUpdate } = await import("./update-QJ5YHJ7I.js");
3557
+ const { runUpdate } = await import("./update-HEIWVOP5.js");
3559
3558
  return runUpdate({ check: this.opts().check === true }, ctx);
3560
3559
  });
3561
3560
  });
@@ -3574,7 +3573,7 @@ Examples:
3574
3573
  );
3575
3574
  config.action(async function() {
3576
3575
  await runCommand("config", this, async (ctx) => {
3577
- const { runConfigList } = await import("./config-XUUFICXK.js");
3576
+ const { runConfigList } = await import("./config-VU6U7QOU.js");
3578
3577
  return runConfigList(ctx);
3579
3578
  });
3580
3579
  });
@@ -3582,7 +3581,7 @@ Examples:
3582
3581
  "Print one effective config value by key. The effective value is what the command would use, defaults and environment overrides included."
3583
3582
  ).action(async function(key) {
3584
3583
  await runCommand("config.get", this, async (ctx) => {
3585
- const { runConfigGet } = await import("./config-XUUFICXK.js");
3584
+ const { runConfigGet } = await import("./config-VU6U7QOU.js");
3586
3585
  return runConfigGet({ key }, ctx);
3587
3586
  });
3588
3587
  });
@@ -3594,7 +3593,7 @@ Examples:
3594
3593
  ).option("--local", "with --project, write .tenjin/config.local.json instead, which is yours").action(async function(key, value) {
3595
3594
  const o = this.opts();
3596
3595
  await runCommand("config.set", this, async (ctx) => {
3597
- const { runConfigSet } = await import("./config-XUUFICXK.js");
3596
+ const { runConfigSet } = await import("./config-VU6U7QOU.js");
3598
3597
  return runConfigSet(
3599
3598
  { key, value, project: o.project === true, local: o.local === true },
3600
3599
  ctx
@@ -3616,7 +3615,7 @@ Examples:
3616
3615
  ).action(async function() {
3617
3616
  await runCommand("wallet.create", this, async (ctx) => {
3618
3617
  const o = this.opts();
3619
- const { runWalletCreate } = await import("./wallet-6OJPGNEV.js");
3618
+ const { runWalletCreate } = await import("./wallet-T7JYWI6O.js");
3620
3619
  return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
3621
3620
  });
3622
3621
  });
@@ -3624,7 +3623,7 @@ Examples:
3624
3623
  "Print the active wallet address and where its key comes from. The private key is never printed, by any flag."
3625
3624
  ).action(async function() {
3626
3625
  await runCommand("wallet.show", this, async (ctx) => {
3627
- const { runWalletShow } = await import("./wallet-6OJPGNEV.js");
3626
+ const { runWalletShow } = await import("./wallet-T7JYWI6O.js");
3628
3627
  return runWalletShow(ctx);
3629
3628
  });
3630
3629
  });
@@ -3632,7 +3631,7 @@ Examples:
3632
3631
  "Read the wallet USDC balance on Base. It is a chain read: no key is unlocked and nothing is spent."
3633
3632
  ).action(async function() {
3634
3633
  await runCommand("wallet.balance", this, async (ctx) => {
3635
- const { runWalletBalance } = await import("./wallet-6OJPGNEV.js");
3634
+ const { runWalletBalance } = await import("./wallet-T7JYWI6O.js");
3636
3635
  return runWalletBalance(ctx);
3637
3636
  });
3638
3637
  });
@@ -3644,7 +3643,7 @@ Examples:
3644
3643
  ).action(async function(amountUsd) {
3645
3644
  await runCommand("wallet.fund", this, async (ctx) => {
3646
3645
  const o = this.opts();
3647
- const { runFund } = await import("./fund-3URFMBMN.js");
3646
+ const { runFund } = await import("./fund-JJN3FRRF.js");
3648
3647
  return runFund(ctx, {
3649
3648
  ...amountUsd !== void 0 ? { amountUsd } : {},
3650
3649
  ...o.open === false ? { open: false } : {},
@@ -3663,7 +3662,7 @@ Examples:
3663
3662
  ).action(async function(amount, token, to) {
3664
3663
  await runCommand("wallet.send", this, async (ctx) => {
3665
3664
  const o = this.opts();
3666
- const { runSend } = await import("./send-ALHG2RXT.js");
3665
+ const { runSend } = await import("./send-LKCLN5GA.js");
3667
3666
  return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
3668
3667
  });
3669
3668
  });
@@ -3683,7 +3682,7 @@ Examples:
3683
3682
  ).action(async function(url) {
3684
3683
  await runCommand("pay", this, async (ctx) => {
3685
3684
  const o = this.opts();
3686
- const { runPay } = await import("./pay-43WUYTW5.js");
3685
+ const { runPay } = await import("./pay-3TCOPGCX.js");
3687
3686
  return runPay(
3688
3687
  {
3689
3688
  url,
@@ -3719,7 +3718,7 @@ function registerRouter(reg) {
3719
3718
  ]) {
3720
3719
  addGlobalFlags2(hook.command(name)).summary(summary).action(async function() {
3721
3720
  const ctx = buildContext2(this);
3722
- const { runHookCommand } = await import("./hook-command-GMIDXVFK.js");
3721
+ const { runHookCommand } = await import("./hook-command-S2V4UNB3.js");
3723
3722
  await runHookCommand(name, io, {
3724
3723
  dataDir: ctx.dataDir,
3725
3724
  ...ctx.flags.baseUrl !== void 0 ? { baseUrl: ctx.flags.baseUrl } : {}
@@ -3732,21 +3731,21 @@ function registerRouter(reg) {
3732
3731
  "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
3732
  ).action(async function() {
3734
3733
  const ctx = buildContext2(this);
3735
- const { runRouterMcpServer } = await import("./mcp-O2WJ3QBW.js");
3734
+ const { runRouterMcpServer } = await import("./mcp-AHCZVD2U.js");
3736
3735
  await runRouterMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
3737
3736
  });
3738
3737
  leaf2(INTEGRATION, "status-line", "the live footer, for Claude Code's status line").description(
3739
3738
  "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
3739
  ).action(async function() {
3741
3740
  const ctx = buildContext2(this);
3742
- const { runStatusLine } = await import("./status-line-FJ6N7MKJ.js");
3741
+ const { runStatusLine } = await import("./status-line-QKDJYZGV.js");
3743
3742
  await runStatusLine(io, { dataDir: ctx.dataDir });
3744
3743
  });
3745
3744
  leaf2(SETUP, "status", "what this machine has spent, and what is still open").description(
3746
3745
  "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
3746
  ).action(async function() {
3748
3747
  await runCommand("status", this, async (ctx) => {
3749
- const { runRouterStatus } = await import("./status-CFPNHB6R.js");
3748
+ const { runRouterStatus } = await import("./status-2FDGI4LQ.js");
3750
3749
  return runRouterStatus(ctx);
3751
3750
  });
3752
3751
  });
@@ -3757,7 +3756,7 @@ function registerRouter(reg) {
3757
3756
  "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
3757
  ).action(async function() {
3759
3758
  await runCommand("payments.reconcile", this, async (ctx) => {
3760
- const { runPaymentsReconcile } = await import("./payments-7UTMMTIO.js");
3759
+ const { runPaymentsReconcile } = await import("./payments-H3LSBGSL.js");
3761
3760
  return runPaymentsReconcile(ctx);
3762
3761
  });
3763
3762
  });
@@ -3907,4 +3906,4 @@ export {
3907
3906
  buildProgram,
3908
3907
  main
3909
3908
  };
3910
- //# sourceMappingURL=cli-GGNOQQEB.js.map
3909
+ //# sourceMappingURL=cli-4WMGZPBP.js.map