From ac7a6d94351fcc6c3c7fbe592375c82beac3271a Mon Sep 17 00:00:00 2001 From: Derek Ross Date: Tue, 28 Jul 2026 10:08:58 -0400 Subject: [PATCH 1/2] Replace relay.damus.io with nos.lol in default relays relay.damus.io is shutting down at the end of July 2026. It ships in APP_RELAYS, so every app bootstrapped from MKStack would include a dead relay out of the box. Swap in nos.lol, keeping read: false / write: true so the outbox strategy is unchanged. Also refresh the AGENTS.md copy of the default relay list, which had drifted from src/lib/appRelays.ts and still named damus. Closes #22 --- AGENTS.md | 5 +++-- src/lib/appRelays.ts | 2 +- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/AGENTS.md b/AGENTS.md index 6478f9b..3fd0da4 100644 --- a/AGENTS.md +++ b/AGENTS.md @@ -246,8 +246,9 @@ const defaultConfig: AppConfig = { relayMetadata: { relays: [ { url: 'wss://relay.ditto.pub', read: true, write: true }, - { url: 'wss://relay.primal.net', read: true, write: true }, - { url: 'wss://relay.damus.io', read: true, write: true }, + { url: 'wss://relay.dreamith.to', read: true, write: true }, + { url: 'wss://relay.primal.net', read: false, write: true }, + { url: 'wss://nos.lol', read: false, write: true }, ], updatedAt: 0, }, diff --git a/src/lib/appRelays.ts b/src/lib/appRelays.ts index 0300a83..4626c39 100644 --- a/src/lib/appRelays.ts +++ b/src/lib/appRelays.ts @@ -10,7 +10,7 @@ export const APP_RELAYS: RelayMetadata = { { url: 'wss://relay.ditto.pub/', read: true, write: true }, { url: 'wss://relay.dreamith.to/', read: true, write: true }, { url: 'wss://relay.primal.net/', read: false, write: true }, - { url: 'wss://relay.damus.io/', read: false, write: true }, + { url: 'wss://nos.lol/', read: false, write: true }, ], updatedAt: 0, }; From b5da5127da41b5ce012dd59758743a4238582713 Mon Sep 17 00:00:00 2001 From: Derek Ross Date: Tue, 28 Jul 2026 10:19:06 -0400 Subject: [PATCH 2/2] Replace damus relay examples in skill docs relay.damus.io is shutting down; the nostr-relay-pools and relay-management skills still used it as an illustrative URL, which would teach a dead relay to anything generating code from them. Use relay.ditto.pub instead. The relay group example already listed nos.lol, so ditto avoids duplicating an entry there. --- .agents/skills/nostr-relay-pools/SKILL.md | 4 ++-- .agents/skills/relay-management/SKILL.md | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.agents/skills/nostr-relay-pools/SKILL.md b/.agents/skills/nostr-relay-pools/SKILL.md index 960902f..b4f36cf 100644 --- a/.agents/skills/nostr-relay-pools/SKILL.md +++ b/.agents/skills/nostr-relay-pools/SKILL.md @@ -18,7 +18,7 @@ function useSpecificRelay() { const { nostr } = useNostr(); // Connect to a specific relay - const relay = nostr.relay('wss://relay.damus.io'); + const relay = nostr.relay('wss://relay.ditto.pub'); // Query from this relay only const events = await relay.query([{ kinds: [1], limit: 15 }]); @@ -45,7 +45,7 @@ function useRelayGroup() { // Create a group of specific relays const relayGroup = nostr.group([ - 'wss://relay.damus.io', + 'wss://relay.ditto.pub', 'wss://relay.primal.net', 'wss://nos.lol', ]); diff --git a/.agents/skills/relay-management/SKILL.md b/.agents/skills/relay-management/SKILL.md index de77344..5a99c01 100644 --- a/.agents/skills/relay-management/SKILL.md +++ b/.agents/skills/relay-management/SKILL.md @@ -72,7 +72,7 @@ The component takes no props. It reads from and writes to `AppContext` directly, NIP-65 defines kind 10002 ("Relay List Metadata") as a replaceable event containing `r` tags for each relay, optionally annotated with `read` / `write` markers: ``` -["r", "wss://relay.damus.io"] // both read and write +["r", "wss://relay.ditto.pub"] // both read and write ["r", "wss://relay.example.com", "read"] // read-only ["r", "wss://writer.example.com", "write"] // write-only ```