@blockrun/llm 3.12.0 → 3.13.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 +19 -0
- package/dist/index.cjs +229 -197
- package/dist/index.d.cts +28 -5
- package/dist/index.d.ts +28 -5
- package/dist/index.js +229 -197
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1536,6 +1536,25 @@ matches on that derived address — so a wallet file cannot claim an address it
|
|
|
1536
1536
|
cannot sign for, nor be adopted by one. `listDiscoveredWallets()` never returns
|
|
1537
1537
|
private keys.
|
|
1538
1538
|
|
|
1539
|
+
### One wallet across every BlockRun product
|
|
1540
|
+
|
|
1541
|
+
Base wallet resolution, discovery, and adoption are implemented in
|
|
1542
|
+
[`@blockrun/core`](https://www.npmjs.com/package/@blockrun/core), the shared kernel
|
|
1543
|
+
this SDK, the `blockrun` CLI, and clawrouter-codex all read. Defining the canonical
|
|
1544
|
+
order in one place is what keeps them in agreement — when each product carried its
|
|
1545
|
+
own copy, they drifted, and a fix made here did not reach the CLI.
|
|
1546
|
+
|
|
1547
|
+
The kernel is bundled into the SDK at build time (frozen, reviewed bytes — no
|
|
1548
|
+
floating dependency), so there is nothing extra to install. Set `BLOCKRUN_HOME`
|
|
1549
|
+
to override the base directory (`~` by default) for test isolation; unset,
|
|
1550
|
+
behaviour is unchanged. **Treat `BLOCKRUN_HOME` as security-sensitive**: it
|
|
1551
|
+
redirects where the signing key is read from and written to, so an environment
|
|
1552
|
+
that can set it controls the wallet as surely as one that can set
|
|
1553
|
+
`BLOCKRUN_WALLET_KEY`. Set it before importing the SDK — the exported
|
|
1554
|
+
`WALLET_FILE_PATH`/`WALLET_DIR_PATH` constants snapshot at import (all internal
|
|
1555
|
+
reads and writes resolve per call). Solana resolution is still SDK-local and
|
|
1556
|
+
does not honor `BLOCKRUN_HOME`.
|
|
1557
|
+
|
|
1539
1558
|
For a single run without changing anything, use
|
|
1540
1559
|
`export BLOCKRUN_WALLET_KEY=<private-key>`.
|
|
1541
1560
|
|