@elisym/mcp 0.29.0 → 0.31.0
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 +4 -2
- package/dist/index.js +1501 -261
- package/dist/index.js.map +1 -1
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -49,6 +49,8 @@ docker run --rm -it \
|
|
|
49
49
|
|
|
50
50
|
Generates a Nostr identity and a Solana keypair and writes them to `~/.elisym/<chosen-name>/` on the host.
|
|
51
51
|
|
|
52
|
+
The container runs as an unprivileged user (uid 1000), not root. On Linux, if your own uid is not 1000 (`id -u`), add `--user "$(id -u):$(id -g)"` to every `docker run` so the container can read and write the mounted `~/.elisym`. Docker Desktop (macOS, Windows) needs nothing extra for jobs. `buy_product` refuses mainnet purchases there, because its disk does not reliably keep a write through a crash. Buy on mainnet from `npx` on a local disk, or from Docker on a Linux host.
|
|
53
|
+
|
|
52
54
|
**2. Edit your MCP client's config file** and add the entry below. Replace `/Users/you/.elisym` with the absolute path to your home `.elisym` directory:
|
|
53
55
|
|
|
54
56
|
```json
|
|
@@ -204,9 +206,9 @@ npx @elisym/mcp disable-agent-switch <agent>
|
|
|
204
206
|
|
|
205
207
|
### Session spend limits
|
|
206
208
|
|
|
207
|
-
The MCP process enforces a shared cap on total amount spent per asset by `submit_and_pay_job`, `buy_capability`, and `send_payment`. `withdraw` is NOT counted (uses its own gate).
|
|
209
|
+
The MCP process enforces a shared cap on total amount spent per asset by `submit_and_pay_job`, `buy_capability`, `buy_product` (the price plus the SOL it spends on fees and rent), and `send_payment`. `withdraw` is NOT counted (uses its own gate).
|
|
208
210
|
|
|
209
|
-
Defaults (hardcoded): `0.5 SOL` (shared), `50 USDC` per network,
|
|
211
|
+
Defaults (hardcoded): `0.5 SOL` (shared), `50 USDC` per network, `1,000,000 LSM` (mainnet-only), and on Tempo `50 USDC.e` (mainnet) and `50 pathUSD` (one contract on both networks, so one shared cap - listed ahead of Tempo payments, so no build can pay in a coin without a cap; these two cannot be overridden yet) (the limiter is mint-keyed, so devnet USDC and mainnet USDC each get their own cap). Native SOL has no mint, so its cap is a single entry shared across networks - deliberate: in a mixed-network process the shared draw-down can only under-allow, never over-spend.
|
|
210
212
|
|
|
211
213
|
Soft warnings fire once per process when committed spend first crosses 50% and 80% of the cap for an asset; the warning is appended to the tool result and logged at `warn` level. Crossing the cap is still a hard reject (the tool call fails).
|
|
212
214
|
|