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.
- package/README.md +39 -7
- package/dist/{ccip-FXWZDDF5.js → ccip-UCLT5VOW.js} +4 -4
- package/dist/{chunk-F5DZJLU3.js → chunk-BRJHUQSY.js} +770 -59
- package/dist/chunk-BRJHUQSY.js.map +1 -0
- package/dist/{chunk-CPUZRZ2A.js → chunk-CUWUHTIL.js} +42 -1
- package/dist/{chunk-CPUZRZ2A.js.map → chunk-CUWUHTIL.js.map} +1 -1
- package/dist/{chunk-376LHMK2.js → chunk-DXPYFVKG.js} +32 -6
- package/dist/chunk-DXPYFVKG.js.map +1 -0
- package/dist/chunk-EXBMF5X7.js +1198 -0
- package/dist/chunk-EXBMF5X7.js.map +1 -0
- package/dist/{chunk-LTTRND4A.js → chunk-EZROUI5U.js} +2 -2
- package/dist/{chunk-PAAL45FJ.js → chunk-IPOWB3G3.js} +123 -133
- package/dist/chunk-IPOWB3G3.js.map +1 -0
- package/dist/{chunk-WOHCAMDQ.js → chunk-LPRVHM7P.js} +14 -697
- package/dist/chunk-LPRVHM7P.js.map +1 -0
- package/dist/{chunk-TX5T3LKJ.js → chunk-Q53IYV2G.js} +3 -2
- package/dist/{chunk-SXQQ2ZSR.js → chunk-T4LKNY7T.js} +24 -11
- package/dist/chunk-T4LKNY7T.js.map +1 -0
- package/dist/chunk-YBMMV4Y4.js +51 -0
- package/dist/chunk-YBMMV4Y4.js.map +1 -0
- package/dist/{chunk-FIYZLITH.js → chunk-YG2DO46P.js} +6 -2
- package/dist/{chunk-FIYZLITH.js.map → chunk-YG2DO46P.js.map} +1 -1
- package/dist/{cli-LMHGCZ5S.js → cli-WA65NP4Y.js} +13 -17
- package/dist/{cli-LMHGCZ5S.js.map → cli-WA65NP4Y.js.map} +1 -1
- package/dist/{config-XVXZ3V2Q.js → config-CEFTL5ZL.js} +9 -51
- package/dist/config-CEFTL5ZL.js.map +1 -0
- package/dist/{doctor-MVLZRVPU.js → doctor-3QBYN46N.js} +7 -7
- package/dist/index.js +1 -1
- package/dist/{secp256k1-35YNNB6F.js → secp256k1-BEZS642W.js} +3 -3
- package/dist/{usdc-OQUOFF6R.js → usdc-44R6XZF2.js} +7 -7
- package/dist/{wallet-QUWK2PA4.js → wallet-ELBTBMXO.js} +8 -10
- package/dist/wallet-XD576HF3.js +173 -0
- package/dist/wallet-XD576HF3.js.map +1 -0
- package/package.json +3 -1
- package/dist/chunk-376LHMK2.js.map +0 -1
- package/dist/chunk-F5DZJLU3.js.map +0 -1
- package/dist/chunk-PAAL45FJ.js.map +0 -1
- package/dist/chunk-QHIEYBLV.js +0 -320
- package/dist/chunk-QHIEYBLV.js.map +0 -1
- package/dist/chunk-SXQQ2ZSR.js.map +0 -1
- package/dist/chunk-WOHCAMDQ.js.map +0 -1
- package/dist/config-XVXZ3V2Q.js.map +0 -1
- package/dist/wallet-NRKWLKHX.js +0 -153
- package/dist/wallet-NRKWLKHX.js.map +0 -1
- /package/dist/{ccip-FXWZDDF5.js.map → ccip-UCLT5VOW.js.map} +0 -0
- /package/dist/{chunk-LTTRND4A.js.map → chunk-EZROUI5U.js.map} +0 -0
- /package/dist/{chunk-TX5T3LKJ.js.map → chunk-Q53IYV2G.js.map} +0 -0
- /package/dist/{doctor-MVLZRVPU.js.map → doctor-3QBYN46N.js.map} +0 -0
- /package/dist/{secp256k1-35YNNB6F.js.map → secp256k1-BEZS642W.js.map} +0 -0
- /package/dist/{usdc-OQUOFF6R.js.map → usdc-44R6XZF2.js.map} +0 -0
- /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-
|
|
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.
|
|
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: "
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3759
|
+
//# sourceMappingURL=cli-WA65NP4Y.js.map
|