mirror of
https://github.com/PR0M3TH3AN/TORCH.git
synced 2026-10-27 16:01:54 +00:00
- 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]>
30 lines
641 B
JSON
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"
|
|
}
|
|
}
|
|
}
|