tenjin-cli 0.1.0-alpha.0 → 0.1.0-alpha.1

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 (51) hide show
  1. package/README.md +39 -7
  2. package/dist/{ccip-FXWZDDF5.js → ccip-UCLT5VOW.js} +4 -4
  3. package/dist/{chunk-F5DZJLU3.js → chunk-BRJHUQSY.js} +770 -59
  4. package/dist/chunk-BRJHUQSY.js.map +1 -0
  5. package/dist/{chunk-CPUZRZ2A.js → chunk-CUWUHTIL.js} +42 -1
  6. package/dist/{chunk-CPUZRZ2A.js.map → chunk-CUWUHTIL.js.map} +1 -1
  7. package/dist/{chunk-376LHMK2.js → chunk-DXPYFVKG.js} +32 -6
  8. package/dist/chunk-DXPYFVKG.js.map +1 -0
  9. package/dist/chunk-EXBMF5X7.js +1198 -0
  10. package/dist/chunk-EXBMF5X7.js.map +1 -0
  11. package/dist/{chunk-LTTRND4A.js → chunk-EZROUI5U.js} +2 -2
  12. package/dist/{chunk-PAAL45FJ.js → chunk-IPOWB3G3.js} +123 -133
  13. package/dist/chunk-IPOWB3G3.js.map +1 -0
  14. package/dist/{chunk-WOHCAMDQ.js → chunk-LPRVHM7P.js} +14 -697
  15. package/dist/chunk-LPRVHM7P.js.map +1 -0
  16. package/dist/{chunk-TX5T3LKJ.js → chunk-Q53IYV2G.js} +3 -2
  17. package/dist/{chunk-SXQQ2ZSR.js → chunk-T4LKNY7T.js} +24 -11
  18. package/dist/chunk-T4LKNY7T.js.map +1 -0
  19. package/dist/chunk-YBMMV4Y4.js +51 -0
  20. package/dist/chunk-YBMMV4Y4.js.map +1 -0
  21. package/dist/{chunk-FIYZLITH.js → chunk-YG2DO46P.js} +6 -2
  22. package/dist/{chunk-FIYZLITH.js.map → chunk-YG2DO46P.js.map} +1 -1
  23. package/dist/{cli-LMHGCZ5S.js → cli-WA65NP4Y.js} +13 -17
  24. package/dist/{cli-LMHGCZ5S.js.map → cli-WA65NP4Y.js.map} +1 -1
  25. package/dist/{config-XVXZ3V2Q.js → config-CEFTL5ZL.js} +9 -51
  26. package/dist/config-CEFTL5ZL.js.map +1 -0
  27. package/dist/{doctor-MVLZRVPU.js → doctor-3QBYN46N.js} +7 -7
  28. package/dist/index.js +1 -1
  29. package/dist/{secp256k1-35YNNB6F.js → secp256k1-BEZS642W.js} +3 -3
  30. package/dist/{usdc-OQUOFF6R.js → usdc-44R6XZF2.js} +7 -7
  31. package/dist/{wallet-QUWK2PA4.js → wallet-ELBTBMXO.js} +8 -10
  32. package/dist/wallet-XD576HF3.js +173 -0
  33. package/dist/wallet-XD576HF3.js.map +1 -0
  34. package/package.json +3 -1
  35. package/dist/chunk-376LHMK2.js.map +0 -1
  36. package/dist/chunk-F5DZJLU3.js.map +0 -1
  37. package/dist/chunk-PAAL45FJ.js.map +0 -1
  38. package/dist/chunk-QHIEYBLV.js +0 -320
  39. package/dist/chunk-QHIEYBLV.js.map +0 -1
  40. package/dist/chunk-SXQQ2ZSR.js.map +0 -1
  41. package/dist/chunk-WOHCAMDQ.js.map +0 -1
  42. package/dist/config-XVXZ3V2Q.js.map +0 -1
  43. package/dist/wallet-NRKWLKHX.js +0 -153
  44. package/dist/wallet-NRKWLKHX.js.map +0 -1
  45. /package/dist/{ccip-FXWZDDF5.js.map → ccip-UCLT5VOW.js.map} +0 -0
  46. /package/dist/{chunk-LTTRND4A.js.map → chunk-EZROUI5U.js.map} +0 -0
  47. /package/dist/{chunk-TX5T3LKJ.js.map → chunk-Q53IYV2G.js.map} +0 -0
  48. /package/dist/{doctor-MVLZRVPU.js.map → doctor-3QBYN46N.js.map} +0 -0
  49. /package/dist/{secp256k1-35YNNB6F.js.map → secp256k1-BEZS642W.js.map} +0 -0
  50. /package/dist/{usdc-OQUOFF6R.js.map → usdc-44R6XZF2.js.map} +0 -0
  51. /package/dist/{wallet-QUWK2PA4.js.map → wallet-ELBTBMXO.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  CliError,
4
4
  dataDir,
5
5
  external_exports
6
- } from "./chunk-FIYZLITH.js";
6
+ } from "./chunk-YG2DO46P.js";
7
7
  import {
8
8
  __commonJS,
9
9
  __require,
@@ -3463,7 +3463,7 @@ var {
3463
3463
  // package.json
3464
3464
  var package_default = {
3465
3465
  name: "tenjin-cli",
3466
- version: "0.1.0-alpha.0",
3466
+ version: "0.1.0-alpha.1",
3467
3467
  type: "module",
3468
3468
  description: "Tenjin agent CLI for the x402 knowledge marketplace.",
3469
3469
  license: "MIT",
@@ -3487,7 +3487,7 @@ var package_default = {
3487
3487
  "cli"
3488
3488
  ],
3489
3489
  bin: {
3490
- tenjin: "./dist/index.js"
3490
+ tenjin: "dist/index.js"
3491
3491
  },
3492
3492
  engines: {
3493
3493
  node: ">=22"
@@ -3505,6 +3505,7 @@ var package_default = {
3505
3505
  format: "prettier --write .",
3506
3506
  "format:check": "prettier --check .",
3507
3507
  check: "pnpm run build && pnpm run test",
3508
+ "sync:skill": "node scripts/sync-skill.mjs",
3508
3509
  "pack-smoke": "bash scripts/pack-smoke.sh",
3509
3510
  prepare: "git config core.hooksPath .githooks || true"
3510
3511
  },
@@ -3515,6 +3516,7 @@ var package_default = {
3515
3516
  commander: "^14.0.1",
3516
3517
  eslint: "^9",
3517
3518
  "eslint-config-prettier": "^10",
3519
+ ox: "0.14.30",
3518
3520
  prettier: "^3",
3519
3521
  tsup: "^8.5.0",
3520
3522
  typescript: "^6",
@@ -3675,7 +3677,7 @@ function buildProgram(io, setExit) {
3675
3677
  }).exitOverride();
3676
3678
  addGlobalFlags(program2.command("doctor")).description("Check the local environment and Tenjin API reachability").action(async function() {
3677
3679
  await runCommand("doctor", this, async (ctx) => {
3678
- const { runDoctor } = await import("./doctor-MVLZRVPU.js");
3680
+ const { runDoctor } = await import("./doctor-3QBYN46N.js");
3679
3681
  return runDoctor(ctx);
3680
3682
  });
3681
3683
  });
@@ -3684,19 +3686,19 @@ function buildProgram(io, setExit) {
3684
3686
  );
3685
3687
  config.action(async function() {
3686
3688
  await runCommand("config", this, async (ctx) => {
3687
- const { runConfigList } = await import("./config-XVXZ3V2Q.js");
3689
+ const { runConfigList } = await import("./config-CEFTL5ZL.js");
3688
3690
  return runConfigList(ctx);
3689
3691
  });
3690
3692
  });
3691
3693
  addGlobalFlags(config.command("get <key>")).description("Print one effective config value").action(async function(key) {
3692
3694
  await runCommand("config.get", this, async (ctx) => {
3693
- const { runConfigGet } = await import("./config-XVXZ3V2Q.js");
3695
+ const { runConfigGet } = await import("./config-CEFTL5ZL.js");
3694
3696
  return runConfigGet({ key }, ctx);
3695
3697
  });
3696
3698
  });
3697
3699
  addGlobalFlags(config.command("set <key> <value>")).description("Set a config value (decimal USD accepted for spend keys)").action(async function(key, value) {
3698
3700
  await runCommand("config.set", this, async (ctx) => {
3699
- const { runConfigSet } = await import("./config-XVXZ3V2Q.js");
3701
+ const { runConfigSet } = await import("./config-CEFTL5ZL.js");
3700
3702
  return runConfigSet({ key, value }, ctx);
3701
3703
  });
3702
3704
  });
@@ -3705,28 +3707,22 @@ function buildProgram(io, setExit) {
3705
3707
  );
3706
3708
  addGlobalFlags(wallet.command("create")).description("Create a new local wallet").action(async function() {
3707
3709
  await runCommand("wallet.create", this, async (ctx) => {
3708
- const { runWalletCreate } = await import("./wallet-NRKWLKHX.js");
3710
+ const { runWalletCreate } = await import("./wallet-XD576HF3.js");
3709
3711
  return runWalletCreate(ctx);
3710
3712
  });
3711
3713
  });
3712
3714
  addGlobalFlags(wallet.command("show")).description("Show the wallet address and key source (never the key)").action(async function() {
3713
3715
  await runCommand("wallet.show", this, async (ctx) => {
3714
- const { runWalletShow } = await import("./wallet-NRKWLKHX.js");
3716
+ const { runWalletShow } = await import("./wallet-XD576HF3.js");
3715
3717
  return runWalletShow(ctx);
3716
3718
  });
3717
3719
  });
3718
3720
  addGlobalFlags(wallet.command("balance")).description("Show the wallet USDC balance on Base").action(async function() {
3719
3721
  await runCommand("wallet.balance", this, async (ctx) => {
3720
- const { runWalletBalance } = await import("./wallet-NRKWLKHX.js");
3722
+ const { runWalletBalance } = await import("./wallet-XD576HF3.js");
3721
3723
  return runWalletBalance(ctx);
3722
3724
  });
3723
3725
  });
3724
- addGlobalFlags(wallet.command("import")).description("Import a private key from stdin or --from-env").option("--from-env", "read the key from TENJIN_WALLET_KEY").action(async function(options) {
3725
- await runCommand("wallet.import", this, async (ctx) => {
3726
- const { runWalletImport } = await import("./wallet-NRKWLKHX.js");
3727
- return runWalletImport({ fromEnv: options.fromEnv === true }, ctx);
3728
- });
3729
- });
3730
3726
  return program2;
3731
3727
  }
3732
3728
  async function main(argv, io = defaultIo()) {
@@ -3760,4 +3756,4 @@ export {
3760
3756
  buildProgram,
3761
3757
  main
3762
3758
  };
3763
- //# sourceMappingURL=cli-LMHGCZ5S.js.map
3759
+ //# sourceMappingURL=cli-WA65NP4Y.js.map