Commit Graph
454 Commits
Author SHA1 Message Date
Alex Gleason 29913ef530 Extract comment system into the nostr-comments skill
Moves the NIP-22 (kind 1111) commenting stack out of src/ and into
.agents/skills/nostr-comments/files/ \u2014 useComments, usePostComment,
and the Comment / CommentForm / CommentsSection components.

Updates the existing SKILL.md with a setup preamble explaining how
to copy the files back into src/ when a project needs comment
functionality. No dependency changes were required; the skill only
uses packages already present in the template.
2026-04-26 17:57:46 -05:00
Alex Gleason c6be6355a7 Remove direct messaging from the codebase
Deletes the entire DM stack \u2014 DMProvider, DMContext, the dm/ UI
components, useDMContext, useConversationMessages, the dm* library
modules, pages/Messages.tsx, and the nostr-direct-messages skill.
Also drops the idb dependency, which was only used by the DM
IndexedDB message store.

The implementation was complex and tightly coupled; removing it
clears the way for a future, cleaner approach if DM support is
needed again.
2026-04-26 17:57:05 -05:00
Alex Gleason 9e2599502d Extract NWC and Lightning zap code into an nwc skill
Moves NWC wallet connection (useNWC, NWCContext, WalletModal) along with
the WebLN wallet detection (useWallet) and NIP-57 zap stack (useZaps,
ZapButton, ZapDialog) out of src/ and into .agents/skills/nwc/ as an
opt-in skill. Removes NWCProvider from App.tsx and TestApp.tsx, drops
the NWC-only dependencies (@getalby/sdk, @webbtc/webln-types) from
package.json, and updates AGENTS.md to stop referencing the extracted
hooks and components.

The new SKILL.md explains how to reinstall the dependencies, copy the
files back into src/, and wire up NWCProvider when a project actually
needs Lightning wallet and zap functionality.
2026-04-26 17:48:46 -05:00
Alex Gleason 59c32c845c Add mandatory commit instruction to AGENTS.md
Require that every completed task end with a git commit, without waiting
for the user to ask. Committing is part of completing the task.
2026-04-26 00:58:25 -05:00
Alex Gleason 4044d586db Upgrade Radix UI packages to fix infinite render loop with React 19
@radix-ui/react-popper 1.2.4 had a useEffect with no dependency array
that called setState on every render, causing an infinite loop. Fixed
in 1.2.8 by tracking the previous anchor in a ref.
2026-03-28 02:31:41 -05:00
Alex Gleason 01889d1207 Upgrade Vite and Nostrify 2026-03-28 00:43:37 -05:00
Alex Gleason dcfdbf9e47 Upgrade to React 19
- react, react-dom: ^18.3.1 -> ^19.2.4
- @types/react, @types/react-dom: ^18.3.1 -> ^19.x
- react-day-picker: ^8.10.1 -> ^9.14.0 (rewrite calendar.tsx for v9 API)
- vaul: ^0.9.3 -> ^1.1.2
- Fix RefObject<T> type in ZapDialog for React 19 type changes
2026-03-28 00:13:05 -05:00
Alex Gleason cb52a18d09 Add NIP-42 relay authentication support
Sign kind 22242 AUTH events automatically when relays send challenges.
Uses a signer ref pattern so the pool doesn't need to be recreated
when the user logs in/out or switches accounts.
2026-03-25 02:14:41 -05:00
Alex Gleason 699a3acb85 Upgrade Nostrify 2026-03-25 01:47:45 -05:00
Alex Gleason 1caf9dabcb feat: add client-initiated NIP-46 (nostrconnect://) login support
Upgrade to @nostrify/[email protected] and implement the nostrconnect:// login flow:
- QR code display on desktop, deep link on mobile
- Copy URI button, retry on timeout, abort on dialog close
- Bunker URI manual input as fallback under the Remote Signer tab
- Add QRCodeCanvas component using the existing qrcode dependency
2026-03-24 16:21:15 -05:00
Alex Gleason 9af2db39f2 Upgrade to Vite 8
Way faster builds!
2026-03-20 15:51:52 -05:00
Alex Gleason 1cf1ad94b2 .claude/skills/ -> .agents/skills/ 2026-03-12 12:51:56 -05:00
Alex Gleason e67f5158b7 Standardize Nostr filter limit to 15 in AGENTS.md examples 2026-03-11 18:28:22 -05:00
Alex Gleason 32ba132ae5 Add plausible-analytics skill 2026-03-11 14:48:17 -05:00
Alex Gleason ba892fdd54 Fix iOS Safari auto-zoom on input focus by ensuring 16px minimum font size on mobile 2026-03-07 11:38:12 -06:00
Alex Gleason c88350270a Update nostr-comments skill to include full scope of NIP-73 commenting 2026-02-24 13:25:26 -06:00
Alex Gleason b39bd0b7b7 Support NIP-73 hashtag identifiers 2026-02-24 11:55:40 -06:00
Alex Gleason 4a87514a06 Remove github test workflow 2026-02-23 19:13:34 -06:00
Alex Gleason 7e184e9199 npm audit fix 2026-02-21 21:08:55 -06:00
Alex Gleason 3d77bdba93 Upgrade Nostrify 2026-02-21 21:08:26 -06:00
Alex Gleason 157ecac58b Remove AbortSignal.any calls 2026-02-21 13:57:43 -06:00
Alex Gleason 12dcbfdb33 Add 'nostr' prefix to author queryKey 2026-02-21 13:53:09 -06:00
Alex Gleason 8a69f988ce npm audit fix 2026-02-19 03:52:37 -06:00
Alex Gleason 3bbdab76a1 Upgrade Nostrify 2026-02-19 03:51:30 -06:00
Alex Gleason 6ddc230446 Reduce default eoseTimeout to 200ms 2026-02-12 14:39:07 -06:00
Alex Gleason 098be99f9f Upgrade Nostrify, also npm audit fix 2026-02-12 13:40:11 -06:00
Alex Gleason 57d3f8abec npx update-browserslist-db@latest 2026-01-30 22:58:29 -06:00
Alex Gleason 5bea40c1a2 Remove relay.nostr.band (I thought we already did this) 2026-01-30 21:55:45 -06:00
Alex Gleason c1bd55108c Remove stray docs mentions from AGENTS.md 2026-01-24 21:21:09 -06:00
Alex Gleason 266e2c92d8 Replace docs with skills 2026-01-24 21:20:22 -06:00
Alex Gleason 8163f30011 You don't actually have to pass signal now 2026-01-24 00:02:15 -06:00
Alex Gleason b97db2ca77 Upgrade zod to v4 2026-01-23 23:59:13 -06:00
Alex Gleason cda1b903a9 Merge branch 'main' of gitlab.com:soapbox-pub/mkstack 2026-01-21 16:52:45 -06:00
Alex Gleason ead11c31fe Remove stack.json 2026-01-21 16:52:23 -06:00
Alex Gleason a9bbb5ab84 Merge branch 'remove-nostr-band-relay' into 'main'
Replace dead relay.nostr.band with relay.primal.net

See merge request soapbox-pub/mkstack!29
2026-01-21 20:32:10 +00:00
Derek Ross f87510bc3a Replace dead relay.nostr.band with relay.primal.net 2026-01-21 15:29:02 -05:00
Alex Gleason fc010f9b91 Add Nostr Security Model to AGENTS.md 2026-01-21 12:14:24 -06:00
Alex Gleason 20f9ea9069 npm audit fix 2026-01-17 19:19:05 -06:00
Alex Gleason fc4c4deded Upgrade Nostrify 2026-01-17 19:18:43 -06:00
Alex Gleason b3dac352a4 Remove deploy script 2026-01-11 22:21:47 -06:00
Alex Gleason e94f53f0e2 Add -z-10 isolate hint 2026-01-10 11:37:12 -06:00
Alex Gleason 74449cf0d7 Add opencode.json with Nostr MCP server 2026-01-09 16:27:49 -06:00
Alex Gleason e26ab6a433 Fix URL wrapping in NoteContent 2025-12-30 18:19:20 -06:00
Alex Gleason 816051f5ea Greatly simplify the login and signup dialogs 2025-12-30 17:53:32 -06:00
Alex Gleason 413aa93e4f Generate custom images liberally 2025-12-23 05:54:11 -06:00
Alex Gleason 6941aad2f5 Upgrade Nostrify 2025-12-22 13:28:39 -06:00
Alex Gleason 28aba4b3a4 Revert "Fix happy-dom vuln"
This reverts commit e5b3f249f8.
2025-12-21 04:11:11 -06:00
Alex Gleason e5b3f249f8 Fix happy-dom vuln 2025-12-21 02:28:15 -06:00
Alex Gleason 12e6465912 npm audit fix 2025-12-21 02:02:24 -06:00
Alex Gleason 722d138f35 Remove "Vibed with MKStack" 2025-12-02 20:26:37 -06:00