Files
TORCH/torch-config.example.json
T
google-labs-jules[bot]andPR0M3TH3AN 487081f319 Improve torch init experience with interactive prompts and script injection
- Modified `init` to be interactive, asking for install directory, namespace, and relays.
- Added automatic injection of convenience scripts (`torch:check`, `torch:lock`, etc.) into the host `package.json`.
- Increased default network timeouts (30s query, 15s publish) to reduce failure rate.
- Added visual feedback (logs) during relay connection and querying.
- Refactored `src/ops.mjs` to support flexible installation paths.
- Updated `src/torch-config.mjs` to support config resolution from parent directories (e.g., when running via `npm run --prefix`).

Co-authored-by: PR0M3TH3AN <[email protected]>
2026-02-16 02:44:48 +00:00

30 lines
641 B
JSON

{
"nostrLock": {
"namespace": "torch-example",
"relays": [
"wss://relay.damus.io",
"wss://nos.lol",
"wss://relay.primal.net"
],
"ttlSeconds": 7200,
"queryTimeoutMs": 30000,
"publishTimeoutMs": 15000,
"minSuccessfulRelayPublishes": 2,
"minActiveRelayPool": 2,
"relayFallbacks": [
"wss://relay.snort.social",
"wss://relay.nostr.band"
]
},
"dashboard": {
"defaultCadenceView": "daily",
"defaultStatusView": "active"
},
"scheduler": {
"firstPromptByCadence": {
"daily": "scheduler-update-agent",
"weekly": "bug-reproducer-agent"
}
}
}