tenjin-cli 0.1.0-alpha.26 → 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.
Files changed (110) hide show
  1. package/README.md +3 -3
  2. package/dist/{chunk-ALJRB7NG.js → chunk-2TYQD22Q.js} +8 -6
  3. package/dist/{chunk-ALJRB7NG.js.map → chunk-2TYQD22Q.js.map} +1 -1
  4. package/dist/{chunk-W36HL4TB.js → chunk-4L7KMA7P.js} +4 -4
  5. package/dist/{chunk-UDWGT4FX.js → chunk-5FGO6TYT.js} +13 -5
  6. package/dist/chunk-5FGO6TYT.js.map +1 -0
  7. package/dist/{chunk-5HS54CLI.js → chunk-5NEHH2E5.js} +3 -3
  8. package/dist/{chunk-Z7R2QDX2.js → chunk-64SE3QC5.js} +42 -7
  9. package/dist/chunk-64SE3QC5.js.map +1 -0
  10. package/dist/chunk-6ZSGER3A.js +52 -0
  11. package/dist/chunk-6ZSGER3A.js.map +1 -0
  12. package/dist/{chunk-QF4SSCQV.js → chunk-AWKQSKUL.js} +4 -3
  13. package/dist/chunk-AWKQSKUL.js.map +1 -0
  14. package/dist/{chunk-XMIVHQ35.js → chunk-B2L53TMK.js} +17 -2
  15. package/dist/{chunk-XMIVHQ35.js.map → chunk-B2L53TMK.js.map} +1 -1
  16. package/dist/{chunk-OZ3LWLCI.js → chunk-DATCR7AU.js} +3 -3
  17. package/dist/{chunk-65EJJVT3.js → chunk-DSNXKUXI.js} +2 -2
  18. package/dist/{chunk-HII5HOQV.js → chunk-G4AM2SOL.js} +5 -3
  19. package/dist/{chunk-HII5HOQV.js.map → chunk-G4AM2SOL.js.map} +1 -1
  20. package/dist/{chunk-OBPZ36HG.js → chunk-GU4GGKYP.js} +58 -5
  21. package/dist/chunk-GU4GGKYP.js.map +1 -0
  22. package/dist/{chunk-VNT3CQFV.js → chunk-H2L33M7F.js} +17 -13
  23. package/dist/{chunk-VNT3CQFV.js.map → chunk-H2L33M7F.js.map} +1 -1
  24. package/dist/{chunk-GHR4BTNJ.js → chunk-HC3QEZKT.js} +4 -4
  25. package/dist/chunk-HC3QEZKT.js.map +1 -0
  26. package/dist/{chunk-H4BOQLWW.js → chunk-MAQUL5BD.js} +2 -2
  27. package/dist/{chunk-4HAV6IFE.js → chunk-O7CUHHYU.js} +6 -6
  28. package/dist/{chunk-4HAV6IFE.js.map → chunk-O7CUHHYU.js.map} +1 -1
  29. package/dist/{chunk-5INS5ZZF.js → chunk-OHZYNZSD.js} +3 -3
  30. package/dist/{chunk-YHWBDCGS.js → chunk-PY7MQUKP.js} +20 -18
  31. package/dist/{chunk-YHWBDCGS.js.map → chunk-PY7MQUKP.js.map} +1 -1
  32. package/dist/{chunk-ZLD6MJVJ.js → chunk-S4SAZ7OD.js} +1 -1
  33. package/dist/chunk-S4SAZ7OD.js.map +1 -0
  34. package/dist/{chunk-WT7DHJNJ.js → chunk-SKQQOEWH.js} +4 -4
  35. package/dist/{chunk-XICKN3CH.js → chunk-VIOUZW7Z.js} +2 -46
  36. package/dist/chunk-VIOUZW7Z.js.map +1 -0
  37. package/dist/{chunk-YTM7OURD.js → chunk-VNNXAYJE.js} +2 -2
  38. package/dist/{chunk-5NUF4BHR.js → chunk-VXIBZ6W5.js} +3 -3
  39. package/dist/{chunk-6JIYGYRB.js → chunk-X7I343ZY.js} +2 -2
  40. package/dist/{chunk-DI7WHXOZ.js → chunk-XVYATBKD.js} +2 -2
  41. package/dist/{chunk-EJXIK6WY.js → chunk-YKM2ZTA2.js} +56 -22
  42. package/dist/chunk-YKM2ZTA2.js.map +1 -0
  43. package/dist/{chunk-YLCWI6ZR.js → chunk-YQOQ6XEI.js} +59 -18
  44. package/dist/chunk-YQOQ6XEI.js.map +1 -0
  45. package/dist/{cli-2U5JB7OQ.js → cli-6JNIPZQ6.js} +32 -31
  46. package/dist/{cli-2U5JB7OQ.js.map → cli-6JNIPZQ6.js.map} +1 -1
  47. package/dist/{config-44EGO636.js → config-G75YT6NC.js} +11 -10
  48. package/dist/{doctor-BD42BBEG.js → doctor-3GMDOW4Y.js} +28 -28
  49. package/dist/{doctor-BD42BBEG.js.map → doctor-3GMDOW4Y.js.map} +1 -1
  50. package/dist/{env-proxy-KEGEMWKX.js → env-proxy-XL4P73MZ.js} +2 -2
  51. package/dist/{fund-WQOOUESE.js → fund-3IPR5YRJ.js} +17 -15
  52. package/dist/{fund-WQOOUESE.js.map → fund-3IPR5YRJ.js.map} +1 -1
  53. package/dist/{hook-command-23LC5NRN.js → hook-command-ZXX4FT4N.js} +14 -14
  54. package/dist/index.js +6 -6
  55. package/dist/index.js.map +1 -1
  56. package/dist/{install-REPLHNU7.js → install-6OROTYHZ.js} +17 -17
  57. package/dist/{install-identity-4RDWTLJ2.js → install-identity-PM4AGFFX.js} +7 -6
  58. package/dist/{install-wallet-USHWL7AX.js → install-wallet-6756NOB5.js} +10 -9
  59. package/dist/{install-wallet-USHWL7AX.js.map → install-wallet-6756NOB5.js.map} +1 -1
  60. package/dist/{mcp-T5SYCLP7.js → mcp-33FAAZ7F.js} +503 -77
  61. package/dist/mcp-33FAAZ7F.js.map +1 -0
  62. package/dist/{pay-276DSSYG.js → pay-XOYR4PCH.js} +13 -12
  63. package/dist/{payments-TZYLJXK3.js → payments-UTQDBO7H.js} +8 -7
  64. package/dist/{payments-TZYLJXK3.js.map → payments-UTQDBO7H.js.map} +1 -1
  65. package/dist/{send-YHDKZPED.js → send-CVGNOQW3.js} +12 -10
  66. package/dist/{send-YHDKZPED.js.map → send-CVGNOQW3.js.map} +1 -1
  67. package/dist/{status-X2INT6VD.js → status-NACN4DGX.js} +10 -8
  68. package/dist/{status-X2INT6VD.js.map → status-NACN4DGX.js.map} +1 -1
  69. package/dist/{status-line-QKDJYZGV.js → status-line-3IQKGRUH.js} +6 -5
  70. package/dist/{status-line-QKDJYZGV.js.map → status-line-3IQKGRUH.js.map} +1 -1
  71. package/dist/{status-line-wiring-LW4HFRHB.js → status-line-wiring-QXBOOY2T.js} +4 -4
  72. package/dist/{uninstall-NVTGU7JD.js → uninstall-NYFKSYW4.js} +17 -17
  73. package/dist/{update-QXVH2DE7.js → update-RJDA5ZY3.js} +7 -16
  74. package/dist/update-RJDA5ZY3.js.map +1 -0
  75. package/dist/{wallet-CKKB23D5.js → wallet-B3FVHNTS.js} +10 -9
  76. package/docs/agent-permissions.md +5 -4
  77. package/package.json +3 -3
  78. package/dist/chunk-EJXIK6WY.js.map +0 -1
  79. package/dist/chunk-GHR4BTNJ.js.map +0 -1
  80. package/dist/chunk-OBPZ36HG.js.map +0 -1
  81. package/dist/chunk-PM2MOXJ3.js +0 -66
  82. package/dist/chunk-PM2MOXJ3.js.map +0 -1
  83. package/dist/chunk-QF4SSCQV.js.map +0 -1
  84. package/dist/chunk-UDWGT4FX.js.map +0 -1
  85. package/dist/chunk-XICKN3CH.js.map +0 -1
  86. package/dist/chunk-YLCWI6ZR.js.map +0 -1
  87. package/dist/chunk-Z7R2QDX2.js.map +0 -1
  88. package/dist/chunk-ZLD6MJVJ.js.map +0 -1
  89. package/dist/mcp-T5SYCLP7.js.map +0 -1
  90. package/dist/update-QXVH2DE7.js.map +0 -1
  91. /package/dist/{chunk-W36HL4TB.js.map → chunk-4L7KMA7P.js.map} +0 -0
  92. /package/dist/{chunk-5HS54CLI.js.map → chunk-5NEHH2E5.js.map} +0 -0
  93. /package/dist/{chunk-OZ3LWLCI.js.map → chunk-DATCR7AU.js.map} +0 -0
  94. /package/dist/{chunk-65EJJVT3.js.map → chunk-DSNXKUXI.js.map} +0 -0
  95. /package/dist/{chunk-H4BOQLWW.js.map → chunk-MAQUL5BD.js.map} +0 -0
  96. /package/dist/{chunk-5INS5ZZF.js.map → chunk-OHZYNZSD.js.map} +0 -0
  97. /package/dist/{chunk-WT7DHJNJ.js.map → chunk-SKQQOEWH.js.map} +0 -0
  98. /package/dist/{chunk-YTM7OURD.js.map → chunk-VNNXAYJE.js.map} +0 -0
  99. /package/dist/{chunk-5NUF4BHR.js.map → chunk-VXIBZ6W5.js.map} +0 -0
  100. /package/dist/{chunk-6JIYGYRB.js.map → chunk-X7I343ZY.js.map} +0 -0
  101. /package/dist/{chunk-DI7WHXOZ.js.map → chunk-XVYATBKD.js.map} +0 -0
  102. /package/dist/{config-44EGO636.js.map → config-G75YT6NC.js.map} +0 -0
  103. /package/dist/{env-proxy-KEGEMWKX.js.map → env-proxy-XL4P73MZ.js.map} +0 -0
  104. /package/dist/{hook-command-23LC5NRN.js.map → hook-command-ZXX4FT4N.js.map} +0 -0
  105. /package/dist/{install-REPLHNU7.js.map → install-6OROTYHZ.js.map} +0 -0
  106. /package/dist/{install-identity-4RDWTLJ2.js.map → install-identity-PM4AGFFX.js.map} +0 -0
  107. /package/dist/{pay-276DSSYG.js.map → pay-XOYR4PCH.js.map} +0 -0
  108. /package/dist/{status-line-wiring-LW4HFRHB.js.map → status-line-wiring-QXBOOY2T.js.map} +0 -0
  109. /package/dist/{uninstall-NVTGU7JD.js.map → uninstall-NYFKSYW4.js.map} +0 -0
  110. /package/dist/{wallet-CKKB23D5.js.map → wallet-B3FVHNTS.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-W36HL4TB.js";
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-WT7DHJNJ.js";
14
- import "./chunk-5INS5ZZF.js";
8
+ } from "./chunk-SKQQOEWH.js";
9
+ import "./chunk-OHZYNZSD.js";
15
10
  import {
16
11
  PERMISSIONS_DOC_URL
17
12
  } from "./chunk-A36LQPHV.js";
13
+ import {
14
+ defaultIo,
15
+ emitFailure,
16
+ emitSuccess
17
+ } from "./chunk-5FGO6TYT.js";
18
18
  import {
19
19
  package_default
20
- } from "./chunk-GHR4BTNJ.js";
20
+ } from "./chunk-HC3QEZKT.js";
21
21
  import "./chunk-2I4QTOLB.js";
22
- import "./chunk-HII5HOQV.js";
22
+ import "./chunk-G4AM2SOL.js";
23
+ import "./chunk-6ZSGER3A.js";
23
24
  import {
24
25
  external_exports
25
- } from "./chunk-XICKN3CH.js";
26
+ } from "./chunk-VIOUZW7Z.js";
26
27
  import {
27
28
  CliError
28
29
  } from "./chunk-JLEF5WHM.js";
@@ -3512,8 +3513,8 @@ 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-REPLHNU7.js");
3516
- const { statusLineMode } = await import("./status-line-wiring-LW4HFRHB.js");
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 } : {},
@@ -3531,7 +3532,7 @@ Learn more:
3531
3532
  ).option("--project", "remove from this project's .claude/settings.json").action(async function() {
3532
3533
  await runCommand("uninstall", this, async (ctx) => {
3533
3534
  const o = this.opts();
3534
- const { runRouterUninstall } = await import("./uninstall-NVTGU7JD.js");
3535
+ const { runRouterUninstall } = await import("./uninstall-NYFKSYW4.js");
3535
3536
  return runRouterUninstall({ ...o.project === true ? { project: true } : {} }, ctx);
3536
3537
  });
3537
3538
  });
@@ -3547,7 +3548,7 @@ Examples:
3547
3548
  `
3548
3549
  ).action(async function() {
3549
3550
  await runCommand("doctor", this, async (ctx) => {
3550
- const { runRouterDoctor } = await import("./doctor-BD42BBEG.js");
3551
+ const { runRouterDoctor } = await import("./doctor-3GMDOW4Y.js");
3551
3552
  return runRouterDoctor(ctx, this.opts().project === true ? { project: true } : {});
3552
3553
  });
3553
3554
  });
@@ -3555,7 +3556,7 @@ Examples:
3555
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."
3556
3557
  ).option("--check", "report whether a newer version exists without installing it").action(async function() {
3557
3558
  await runCommand("update", this, async (ctx) => {
3558
- const { runUpdate } = await import("./update-QXVH2DE7.js");
3559
+ const { runUpdate } = await import("./update-RJDA5ZY3.js");
3559
3560
  return runUpdate({ check: this.opts().check === true }, ctx);
3560
3561
  });
3561
3562
  });
@@ -3574,7 +3575,7 @@ Examples:
3574
3575
  );
3575
3576
  config.action(async function() {
3576
3577
  await runCommand("config", this, async (ctx) => {
3577
- const { runConfigList } = await import("./config-44EGO636.js");
3578
+ const { runConfigList } = await import("./config-G75YT6NC.js");
3578
3579
  return runConfigList(ctx);
3579
3580
  });
3580
3581
  });
@@ -3582,7 +3583,7 @@ Examples:
3582
3583
  "Print one effective config value by key. The effective value is what the command would use, defaults and environment overrides included."
3583
3584
  ).action(async function(key) {
3584
3585
  await runCommand("config.get", this, async (ctx) => {
3585
- const { runConfigGet } = await import("./config-44EGO636.js");
3586
+ const { runConfigGet } = await import("./config-G75YT6NC.js");
3586
3587
  return runConfigGet({ key }, ctx);
3587
3588
  });
3588
3589
  });
@@ -3594,7 +3595,7 @@ Examples:
3594
3595
  ).option("--local", "with --project, write .tenjin/config.local.json instead, which is yours").action(async function(key, value) {
3595
3596
  const o = this.opts();
3596
3597
  await runCommand("config.set", this, async (ctx) => {
3597
- const { runConfigSet } = await import("./config-44EGO636.js");
3598
+ const { runConfigSet } = await import("./config-G75YT6NC.js");
3598
3599
  return runConfigSet(
3599
3600
  { key, value, project: o.project === true, local: o.local === true },
3600
3601
  ctx
@@ -3616,7 +3617,7 @@ Examples:
3616
3617
  ).action(async function() {
3617
3618
  await runCommand("wallet.create", this, async (ctx) => {
3618
3619
  const o = this.opts();
3619
- const { runWalletCreate } = await import("./wallet-CKKB23D5.js");
3620
+ const { runWalletCreate } = await import("./wallet-B3FVHNTS.js");
3620
3621
  return runWalletCreate(ctx, o.replace === true ? { replace: true } : {});
3621
3622
  });
3622
3623
  });
@@ -3625,7 +3626,7 @@ Examples:
3625
3626
  ).option("--no-qr", "print the address without the QR code").action(async function() {
3626
3627
  await runCommand("wallet.show", this, async (ctx) => {
3627
3628
  const o = this.opts();
3628
- const { runWalletShow } = await import("./wallet-CKKB23D5.js");
3629
+ const { runWalletShow } = await import("./wallet-B3FVHNTS.js");
3629
3630
  return runWalletShow(ctx, o.qr === false ? { qr: false } : {});
3630
3631
  });
3631
3632
  });
@@ -3633,7 +3634,7 @@ Examples:
3633
3634
  "Read the wallet USDC balance on Base. It is a chain read: no key is unlocked and nothing is spent."
3634
3635
  ).action(async function() {
3635
3636
  await runCommand("wallet.balance", this, async (ctx) => {
3636
- const { runWalletBalance } = await import("./wallet-CKKB23D5.js");
3637
+ const { runWalletBalance } = await import("./wallet-B3FVHNTS.js");
3637
3638
  return runWalletBalance(ctx);
3638
3639
  });
3639
3640
  });
@@ -3645,7 +3646,7 @@ Examples:
3645
3646
  ).action(async function(amountUsd) {
3646
3647
  await runCommand("wallet.fund", this, async (ctx) => {
3647
3648
  const o = this.opts();
3648
- const { runFund } = await import("./fund-WQOOUESE.js");
3649
+ const { runFund } = await import("./fund-3IPR5YRJ.js");
3649
3650
  return runFund(ctx, {
3650
3651
  ...amountUsd !== void 0 ? { amountUsd } : {},
3651
3652
  ...o.open === false ? { open: false } : {},
@@ -3665,7 +3666,7 @@ Examples:
3665
3666
  ).action(async function(amount, token, to) {
3666
3667
  await runCommand("wallet.send", this, async (ctx) => {
3667
3668
  const o = this.opts();
3668
- const { runSend } = await import("./send-YHDKZPED.js");
3669
+ const { runSend } = await import("./send-CVGNOQW3.js");
3669
3670
  return runSend({ amount, token, to, ...o.yes === true ? { yes: true } : {} }, ctx);
3670
3671
  });
3671
3672
  });
@@ -3685,7 +3686,7 @@ Examples:
3685
3686
  ).action(async function(url) {
3686
3687
  await runCommand("pay", this, async (ctx) => {
3687
3688
  const o = this.opts();
3688
- const { runPay } = await import("./pay-276DSSYG.js");
3689
+ const { runPay } = await import("./pay-XOYR4PCH.js");
3689
3690
  return runPay(
3690
3691
  {
3691
3692
  url,
@@ -3721,7 +3722,7 @@ function registerRouter(reg) {
3721
3722
  ]) {
3722
3723
  addGlobalFlags2(hook.command(name)).summary(summary).action(async function() {
3723
3724
  const ctx = buildContext2(this);
3724
- const { runHookCommand } = await import("./hook-command-23LC5NRN.js");
3725
+ const { runHookCommand } = await import("./hook-command-ZXX4FT4N.js");
3725
3726
  await runHookCommand(name, io, {
3726
3727
  dataDir: ctx.dataDir,
3727
3728
  ...ctx.flags.baseUrl !== void 0 ? { baseUrl: ctx.flags.baseUrl } : {}
@@ -3734,21 +3735,21 @@ function registerRouter(reg) {
3734
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."
3735
3736
  ).action(async function() {
3736
3737
  const ctx = buildContext2(this);
3737
- const { runRouterMcpServer } = await import("./mcp-T5SYCLP7.js");
3738
+ const { runRouterMcpServer } = await import("./mcp-33FAAZ7F.js");
3738
3739
  await runRouterMcpServer({ dataDir: ctx.dataDir, flags: ctx.flags });
3739
3740
  });
3740
3741
  leaf2(INTEGRATION, "status-line", "the live footer, for Claude Code's status line").description(
3741
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."
3742
3743
  ).action(async function() {
3743
3744
  const ctx = buildContext2(this);
3744
- const { runStatusLine } = await import("./status-line-QKDJYZGV.js");
3745
+ const { runStatusLine } = await import("./status-line-3IQKGRUH.js");
3745
3746
  await runStatusLine(io, { dataDir: ctx.dataDir });
3746
3747
  });
3747
3748
  leaf2(SETUP, "status", "what this machine has spent, and what is still open").description(
3748
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."
3749
3750
  ).action(async function() {
3750
3751
  await runCommand("status", this, async (ctx) => {
3751
- const { runRouterStatus } = await import("./status-X2INT6VD.js");
3752
+ const { runRouterStatus } = await import("./status-NACN4DGX.js");
3752
3753
  return runRouterStatus(ctx);
3753
3754
  });
3754
3755
  });
@@ -3759,7 +3760,7 @@ function registerRouter(reg) {
3759
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."
3760
3761
  ).action(async function() {
3761
3762
  await runCommand("payments.reconcile", this, async (ctx) => {
3762
- const { runPaymentsReconcile } = await import("./payments-TZYLJXK3.js");
3763
+ const { runPaymentsReconcile } = await import("./payments-UTQDBO7H.js");
3763
3764
  return runPaymentsReconcile(ctx);
3764
3765
  });
3765
3766
  });
@@ -3909,4 +3910,4 @@ export {
3909
3910
  buildProgram,
3910
3911
  main
3911
3912
  };
3912
- //# sourceMappingURL=cli-2U5JB7OQ.js.map
3913
+ //# sourceMappingURL=cli-6JNIPZQ6.js.map