routstrd 0.4.5 → 0.4.7
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 +14 -0
- package/dist/daemon/index.js +68073 -77087
- package/dist/index.js +235 -192
- package/package.json +9 -2
- package/src/cli.ts +63 -15
- package/src/daemon/http/index.ts +1857 -0
- package/src/daemon/index.ts +408 -0
- package/src/daemon/wallet/index.ts +360 -0
- package/src/index.ts +4 -0
- package/src/integrations/index.ts +159 -0
- package/src/tui/usage/index.ts +1 -0
- package/.claude/settings.local.json +0 -10
- package/.dockerignore +0 -12
- package/COCO-2.0.0-MIGRATION-PLAN.md +0 -1191
- package/Dockerfile +0 -11
- package/IMPLEMENTATION.md +0 -253
- package/SKILL.md +0 -324
- package/bun.lock +0 -808
- package/docker-compose.yml +0 -15
- package/refund.js +0 -33
- package/refund_new.js +0 -20
- package/routstr-cost-logging.md +0 -71
- package/test_box.ts +0 -15
- package/test_chat.sh +0 -29
- package/test_curl.sh +0 -11
- package/test_split_box.ts +0 -17
- package/test_split_box2.ts +0 -23
- package/tests/daemon/config-store.perms.test.ts +0 -55
- package/tests/daemon/config-store.scenario.ts +0 -113
- package/tests/integrations/hermes.test.ts +0 -134
- package/tests/utils/daemon-client.test.ts +0 -61
- package/tests/wallet/short-keyset-token.test.ts +0 -106
- package/tsconfig.json +0 -20
- package/v1-messages-format-report.md +0 -223
package/README.md
CHANGED
|
@@ -218,6 +218,20 @@ Typecheck:
|
|
|
218
218
|
bun run lint
|
|
219
219
|
```
|
|
220
220
|
|
|
221
|
+
### Manual chat-completions smoke test
|
|
222
|
+
|
|
223
|
+
With a funded daemon running, create or reuse a client API key and pass one or
|
|
224
|
+
more current model IDs to the smoke script:
|
|
225
|
+
|
|
226
|
+
```sh
|
|
227
|
+
routstrd clients add --name smoke-test
|
|
228
|
+
ROUTSTRD_API_KEY=<api-key> scripts/smoke/chat-completions.sh <model> [model ...]
|
|
229
|
+
```
|
|
230
|
+
|
|
231
|
+
Set `ROUTSTRD_BASE_URL` to test a daemon at a different address. The script
|
|
232
|
+
makes live provider requests that may spend wallet funds, so it is intentionally
|
|
233
|
+
not part of `bun test`.
|
|
234
|
+
|
|
221
235
|
## Project Structure
|
|
222
236
|
|
|
223
237
|
```
|