mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 07:51:52 +00:00
- Rename `src/nostr-lock.mjs` to `src/lib.mjs` and export core functions. - Create `bin/torch-lock.mjs` as the CLI entry point. - Implement `dashboard` command in `src/lib.mjs` to serve the dashboard using Node.js. - Update `package.json` to configure `bin`, `main`, and `files` for NPM packaging. - Create `torch-config.example.json` as a template for consumers. - Update tests and README.md to reflect the new structure. - Exclude task-specific artifacts (logs, context) from the package while retaining prompts and docs. Co-authored-by: PR0M3TH3AN <[email protected]>
23 lines
447 B
JSON
23 lines
447 B
JSON
{
|
|
"nostrLock": {
|
|
"namespace": "torch-example",
|
|
"relays": [
|
|
"wss://relay.damus.io",
|
|
"wss://nos.lol",
|
|
"wss://relay.primal.net"
|
|
],
|
|
"ttlSeconds": 7200,
|
|
"queryTimeoutMs": 15000
|
|
},
|
|
"dashboard": {
|
|
"defaultCadenceView": "daily",
|
|
"defaultStatusView": "active"
|
|
},
|
|
"scheduler": {
|
|
"firstPromptByCadence": {
|
|
"daily": "scheduler-update-agent",
|
|
"weekly": "bug-reproducer-agent"
|
|
}
|
|
}
|
|
}
|