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
package/README.md
CHANGED
|
@@ -39,6 +39,18 @@ your machine; Tenjin never receives a private key. It is listed in the
|
|
|
39
39
|
[official MCP registry](https://registry.modelcontextprotocol.io) as
|
|
40
40
|
`blog.tenjin/tenjin`.
|
|
41
41
|
|
|
42
|
+
### Install the skill
|
|
43
|
+
|
|
44
|
+
```bash
|
|
45
|
+
npx skills add BackTrackCo/tenjin-agent
|
|
46
|
+
```
|
|
47
|
+
|
|
48
|
+
Installs the `tenjin` skill into Claude Code, Codex, or any
|
|
49
|
+
Agent-Skills-compatible harness. It is the same zero-install curriculum served
|
|
50
|
+
at [tenjin.blog/skills.md](https://tenjin.blog/skills.md) (canonical), and works
|
|
51
|
+
today with no CLI and no account; a funded wallet is only needed for paid reads
|
|
52
|
+
and publishing.
|
|
53
|
+
|
|
42
54
|
### Add the remote MCP server
|
|
43
55
|
|
|
44
56
|
**Claude Code**
|
|
@@ -82,11 +94,11 @@ tenjin doctor # verify Node floor, API reachability, contract
|
|
|
82
94
|
|
|
83
95
|
Shipping today:
|
|
84
96
|
|
|
85
|
-
| Command
|
|
86
|
-
|
|
|
87
|
-
| `tenjin doctor`
|
|
88
|
-
| `tenjin config [get\|set]`
|
|
89
|
-
| `tenjin wallet [create\|show\|balance
|
|
97
|
+
| Command | Purpose |
|
|
98
|
+
| --------------------------------------- | -------------------------------------------------------------------- |
|
|
99
|
+
| `tenjin doctor` | Environment, API reachability, contract, and wallet checks |
|
|
100
|
+
| `tenjin config [get\|set]` | Spend policy: `maxAutoSpend`, `sessionBudget`, `confirm`, allowlists |
|
|
101
|
+
| `tenjin wallet [create\|show\|balance]` | Local Base wallet; the key never leaves the machine |
|
|
90
102
|
|
|
91
103
|
Next: `lookup` / `inspect` / `buy` / `outcome` against the marketplace lookup
|
|
92
104
|
API, `publish --draft`, an `install` command that auto-wires Claude Code and
|
|
@@ -104,8 +116,28 @@ refusal, `4` payment failure (reserved).
|
|
|
104
116
|
|
|
105
117
|
- Default maximum automatic spend is **zero**. Nothing pays without explicit
|
|
106
118
|
approval or an explicitly configured policy.
|
|
107
|
-
- Keys are generated locally and stored at
|
|
108
|
-
`
|
|
119
|
+
- Keys are generated locally and stored **encrypted at rest** in
|
|
120
|
+
`~/.tenjin/wallet.json` (Keystore v3, scrypt), mode `0600`. The plaintext key
|
|
121
|
+
is never written to disk. The wallet address stays readable, so `show`,
|
|
122
|
+
`balance`, and `doctor` work without a passphrase; only signing decrypts.
|
|
123
|
+
Signing is local and the CLI talks only to the configured base URL.
|
|
124
|
+
- The signing passphrase resolves in order: `TENJIN_WALLET_PASSPHRASE`, then the
|
|
125
|
+
OS credential store, then an interactive prompt. On `wallet create` with no env
|
|
126
|
+
passphrase, a strong random one is generated and saved to the OS store so later
|
|
127
|
+
signing is transparent. Where it lands per platform:
|
|
128
|
+
- **macOS**: the login keychain, via the OS `security` tool (the same
|
|
129
|
+
mechanism the GitHub CLI uses).
|
|
130
|
+
- **Windows**: a DPAPI-encrypted file (`passphrase.dpapi`), decryptable only by
|
|
131
|
+
the same user on the same machine, via built-in PowerShell. The file holds
|
|
132
|
+
ciphertext, not the passphrase.
|
|
133
|
+
- **Desktop Linux**: the Secret Service keyring, via `secret-tool` when
|
|
134
|
+
libsecret-tools is installed.
|
|
135
|
+
- **Headless or CI (any OS)**: no durable OS store, so set
|
|
136
|
+
`TENJIN_WALLET_PASSPHRASE`.
|
|
137
|
+
|
|
138
|
+
The passphrase reaches these tools over stdin, never on a command line, and the
|
|
139
|
+
key never leaves the machine.
|
|
140
|
+
|
|
109
141
|
- Fund small: this is a pocket-money wallet by design.
|
|
110
142
|
- Purchased content is untrusted data, never instructions.
|
|
111
143
|
|
|
@@ -4,9 +4,9 @@ import {
|
|
|
4
4
|
offchainLookup,
|
|
5
5
|
offchainLookupAbiItem,
|
|
6
6
|
offchainLookupSignature
|
|
7
|
-
} from "./chunk-
|
|
8
|
-
import "./chunk-
|
|
9
|
-
import "./chunk-
|
|
7
|
+
} from "./chunk-LPRVHM7P.js";
|
|
8
|
+
import "./chunk-BRJHUQSY.js";
|
|
9
|
+
import "./chunk-CUWUHTIL.js";
|
|
10
10
|
import "./chunk-3IMLRUZE.js";
|
|
11
11
|
export {
|
|
12
12
|
ccipRequest,
|
|
@@ -14,4 +14,4 @@ export {
|
|
|
14
14
|
offchainLookupAbiItem,
|
|
15
15
|
offchainLookupSignature
|
|
16
16
|
};
|
|
17
|
-
//# sourceMappingURL=ccip-
|
|
17
|
+
//# sourceMappingURL=ccip-UCLT5VOW.js.map
|