Commit Graph
3324 Commits
Author SHA1 Message Date
thePR0M3TH3AN 9606c8ef0d Merge pull request #1401 from PR0M3TH3AN/codex/create-relay-health-ui-panel
Relay health panel with opt‑in telemetry and sanitized DM decrypt logs
2026-01-19 14:03:28 -05:00
thePR0M3TH3AN 6116b6a7db Add relay health panel and telemetry opt-in 2026-01-19 14:03:15 -05:00
thePR0M3TH3AN 6545fb201b Merge pull request #1400 from PR0M3TH3AN/codex/profile-queues-and-memory-usage
Limit DM decrypt workload, add LRU caches and diagnostics
2026-01-19 13:52:04 -05:00
thePR0M3TH3AN 1fbfee5915 Add DM decrypt limits and caches 2026-01-19 13:51:48 -05:00
thePR0M3TH3AN 88993694ed Merge pull request #1399 from PR0M3TH3AN/codex/add-ci-jobs-for-dm-tests
Add DM test suites and headless E2E CI
2026-01-19 13:43:35 -05:00
thePR0M3TH3AN 89e82778d6 Add DM test suites and headless e2e CI 2026-01-19 13:43:13 -05:00
thePR0M3TH3AN b4bdb21424 Merge pull request #1398 from PR0M3TH3AN/codex/implement-read-receipts-and-typing-indicators
Add opt-in DM read receipts and ephemeral typing indicators
2026-01-19 13:30:07 -05:00
thePR0M3TH3AN 3c75ac8c3f Add DM read receipts and typing indicators 2026-01-19 13:29:40 -05:00
thePR0M3TH3AN 14ace98991 Merge pull request #1397 from PR0M3TH3AN/codex/implement-link-preview-fetcher-with-caching
Add cached link preview fetcher with privacy toggle
2026-01-19 13:07:11 -05:00
thePR0M3TH3AN 0eacbd1063 Add cached link previews with privacy toggle 2026-01-19 13:06:50 -05:00
thePR0M3TH3AN b2028105a1 Merge pull request #1393 from PR0M3TH3AN/ai/fuzz-robustness-20250221-5177576113764982266
Fuzz testing harnesses for robustness verification
2026-01-19 12:53:45 -05:00
thePR0M3TH3AN 0bd2681a24 Merge pull request #1394 from PR0M3TH3AN/fix-dm-tests-and-leaks-8133857459641031321
Fix DM storage leaks and test environment issues
2026-01-19 12:52:41 -05:00
thePR0M3TH3AN ed306bdf65 Merge pull request #1396 from PR0M3TH3AN/codex/create-attachment-upload-and-preview-pipeline
Add DM attachment pipeline: client encryption, R2 upload, kind 15 events, and UI previews
2026-01-19 12:51:53 -05:00
thePR0M3TH3AN 9ea9fe2f08 Add DM attachment upload and preview flow 2026-01-19 12:51:34 -05:00
thePR0M3TH3AN fdf0c185be Merge pull request #1395 from PR0M3TH3AN/codex/add-zap-composer-ui-and-lnurl-integration
Add DM Zap composer + LNURL resolution and zap request/receipt support (kinds 9734/9735)
2026-01-19 11:58:35 -05:00
thePR0M3TH3AN d082df8e41 Add DM zap composer and zap request support 2026-01-19 11:29:55 -05:00
google-labs-jules[bot] b285819145 fix(storage): resolve db connection leaks and patch test environment
- Added `db.close()` to exported functions in `js/storage/dmDb.js` to ensure IndexedDB connections are released.
- Patched `tests/test-helpers/setup-localstorage.mjs` to include a `structuredClone` polyfill required by `fake-indexeddb` in Node.js environments.
- Updated `tests/dm-normalization.test.mjs`, `tests/dm-db.test.mjs`, and `tests/nostr/dm-direct-message-flow.test.mjs` to conditionally initialize `fake-indexeddb` to prevent global conflicts.
- Verified fixes by running unit tests and the `scripts/agent/interop-test.mjs` E2E suite.
2026-01-19 16:24:07 +00:00
google-labs-jules[bot] f9ce5b44db feat(test): add fuzzing harnesses for schemas, DM decryptor, and magnet utils
- Implemented deterministic fuzzers in `scripts/agent/`:
  - `fuzz-nostrEventSchemas.mjs`: Tests event builder functions and schema overrides.
  - `fuzz-dmDecryptor.mjs`: Tests DM decryption orchestration with mock decryptors.
  - `fuzz-magnetUtils.mjs`: Tests magnet link normalization.
- Fuzzers generate reports in `artifacts/` (gitignored).
- Reproducers for crashes are saved to `examples/reproducers/` (none found yet).
- Fuzzers use input-derived seeding for deterministic execution.
2026-01-19 16:23:46 +00:00
thePR0M3TH3AN 26486ca57a Merge pull request #1392 from PR0M3TH3AN/codex/update-privacy-mode-and-profile-controls
Show DM privacy mode and add DM relay hint controls (kind:10050)
2026-01-19 10:57:42 -05:00
thePR0M3TH3AN 924ed9b482 Add DM privacy indicators and relay hint publishing 2026-01-19 10:56:54 -05:00
thePR0M3TH3AN 76566651a3 Merge pull request #1388 from PR0M3TH3AN/ai/reproducers-repost-comments-20250222-15793865835676794725
Add reproducer for repost comment visibility bug
2026-01-19 10:35:09 -05:00
thePR0M3TH3AN 6ab445011c Merge pull request #1390 from PR0M3TH3AN/ai/doc-nostr-client-20231026-4334329458905976061
chore(ai): document js/nostr/client.js
2026-01-19 10:34:12 -05:00
thePR0M3TH3AN e1d58a2530 Merge pull request #1391 from PR0M3TH3AN/codex/prioritize-kind-10050-relays-in-dms
Prioritize NIP-17 relay hints for DM send/subscribe
2026-01-19 10:31:29 -05:00
thePR0M3TH3AN 51b550adaa Improve DM relay selection fallback handling 2026-01-19 10:31:13 -05:00
google-labs-jules[bot] 38f1594243 chore(ai): doc js/nostr/client.js (agent)
- Added JSDoc comments to `NostrClient` class and methods.
- Added JSDoc comments to `EventsCacheStore`.
- Created `docs/nostr-client-overview.md` with high-level documentation.
- Fixed a race condition in `tests/nostr-delete-flow.test.mjs`.
2026-01-19 15:18:36 +00:00
thePR0M3TH3AN 202b6d8852 Merge pull request #1389 from PR0M3TH3AN/codex/add-nip-17-support-in-composer
Add NIP-17 DM delivery option with gift-wrap sending flow
2026-01-19 10:05:40 -05:00
thePR0M3TH3AN 4566c96330 Add NIP-17 DM delivery option 2026-01-19 10:05:00 -05:00
google-labs-jules[bot] c3f19f4bf5 add reproducer for repost comment visibility bug
This commit adds a minimal reproducer script that demonstrates a bug where comments on an original video are hidden when viewing that video via a Repost (Kind 6).

The issue stems from `normalizeCommentTarget` using the Repost's metadata (Kind 6, Reposter Pubkey) instead of the Original Video's metadata to generate the comment filter descriptor. This causes valid comments (which tag the Original Video) to be filtered out by `isVideoCommentEvent`.

Added:
- `examples/reproducers/2-repost-comment-visibility-bug/reproduce_issue.js`
- `examples/reproducers/2-repost-comment-visibility-bug/README.md`
2026-01-19 15:00:15 +00:00
thePR0M3TH3AN 7930a0fce8 Merge pull request #1387 from PR0M3TH3AN/codex/add-unwrap-logic-for-giftwraps
Unwrap kind:1059 gift-wrap DMs and normalize inner rumor timestamps
2026-01-19 09:48:21 -05:00
thePR0M3TH3AN ef8307c560 Normalize giftwrap DM timestamps 2026-01-19 09:47:57 -05:00
thePR0M3TH3AN 1b4b4cf94a Merge pull request #1386 from PR0M3TH3AN/codex/extend-crypto-worker-for-nip-44-support
NIP‑44 verify‑before‑decrypt in DM worker (surface signature failures, persist encryption_scheme)
2026-01-19 09:41:10 -05:00
thePR0M3TH3AN 4cc51d7a79 Add NIP-44 verification to DM decrypt worker 2026-01-19 09:40:51 -05:00
thePR0M3TH3AN 2b79021184 Merge pull request #1385 from PR0M3TH3AN/codex/add-tests-for-normalization-and-integration
Add DM normalization, DB persistence, and integration tests for direct messages
2026-01-19 09:32:35 -05:00
thePR0M3TH3AN 8f04692165 Add DM normalization and integration tests 2026-01-19 09:32:14 -05:00
thePR0M3TH3AN 47b312b2a8 Merge pull request #1383 from PR0M3TH3AN/ai/lint-20250222-8105466209014839431
chore(ai): apply formatting/lint autofixes
2026-01-19 09:25:53 -05:00
thePR0M3TH3AN 3376185276 Merge pull request #1376 from PR0M3TH3AN/ai/tests-core-modules-20250226-2648005617024541031
Add unit tests for core modules (cache, sessionActor, r2Service)
2026-01-19 09:24:16 -05:00
thePR0M3TH3AN 5471789826 Merge pull request #1375 from PR0M3TH3AN/ai/deps-scan-13927014258585276675
chore(ai): dependency scan results
2026-01-19 09:23:53 -05:00
thePR0M3TH3AN d5b4909be0 Merge pull request #1384 from PR0M3TH3AN/codex/extend-profile-modal-logic-for-actions
Profile modal: add DM recipient context, relay hints & actions
2026-01-19 09:22:53 -05:00
thePR0M3TH3AN eb52fbdf11 Add DM recipient handling in profile modal 2026-01-19 09:22:35 -05:00
thePR0M3TH3AN dc4d501a6b Merge pull request #1374 from PR0M3TH3AN/ai/interop-tests-20260119-1042596527916415444
Add interop-test.mjs for Nostr protocol verification
2026-01-19 09:21:42 -05:00
thePR0M3TH3AN e96a8ff5c6 Merge pull request #1373 from PR0M3TH3AN/telemetry-and-aggregation-5517299699870716397
Add privacy-preserving telemetry and error aggregation script
2026-01-19 09:21:17 -05:00
thePR0M3TH3AN e9ce138e71 Merge pull request #1372 from PR0M3TH3AN/ai/schema-validate-20250222-1045837655123295994
chore(ai): event schema validation tool + fixes
2026-01-19 09:20:48 -05:00
google-labs-jules[bot] 9adeb0e6e5 chore(ai): apply formatting/lint autofixes
Run `npm run format` and `npm run lint`.
Fix stylelint configuration to correctly parse variables with units in their names.
Migrate raw CSS measurements to tokens in `css/tokens.css` and update usages in `css/tailwind.source.css` and HTML templates.
Improve `scripts/check-design-tokens.mjs` to handle variable names with unit-like suffixes.

Files changed:
- css/tailwind.source.css (formatted and fixed lint)
- css/tokens.css (added tokens)
- stylelint.config.cjs (fixed regex)
- scripts/check-design-tokens.mjs (improved detection logic)
- components/profile-modal.html (fixed arbitrary values)
- index.html (fixed arbitrary values)
2026-01-19 14:12:29 +00:00
thePR0M3TH3AN cd72b72ea1 Merge pull request #1382 from PR0M3TH3AN/codex/add-notification-manager-for-conversations
Add DM notification manager to track opened/downloaded timestamps and unseen counts
2026-01-19 08:59:58 -05:00
thePR0M3TH3AN ab286d2bb3 Add DM notification manager for seen state 2026-01-19 08:59:41 -05:00
thePR0M3TH3AN 4b8f58f54c Merge pull request #1381 from PR0M3TH3AN/codex/subscribe-to-kind-4-events-for-messages
Add DM decrypt worker, normalize & persist DM records, and track downloaded_until
2026-01-19 08:50:18 -05:00
thePR0M3TH3AN b05e898391 Add worker DM decrypt and persistence 2026-01-19 08:49:58 -05:00
thePR0M3TH3AN 761081883d Merge pull request #1380 from PR0M3TH3AN/codex/implement-dm-compose-flow-for-unsigned-events
Implement worker-based NIP-04 DM sending with signing adapter and persistence
2026-01-19 08:40:01 -05:00
thePR0M3TH3AN 56f2c1807c Implement worker-based NIP-04 DM sending 2026-01-19 08:39:43 -05:00
thePR0M3TH3AN d87c5dbbcc Merge pull request #1379 from PR0M3TH3AN/codex/create-signingadapter-contract
Add SigningAdapter (NIP‑07 / dev / test) and wire DM composer to use it
2026-01-19 08:24:24 -05:00