Commit Graph
340 Commits
Author SHA1 Message Date
Raven ScottandCursor 4d429a0985 Add guild.open listChannels and listMembers timing spans.
Parallel fetch during _openGuild is logged separately for load diagnostics in pearcord.log.

Co-authored-by: Cursor <[email protected]>
2026-05-23 06:40:26 -04:00
Raven ScottandCursor 6ce8575404 Expose formatSettingsDeepLink on platform API.
Wraps shared buildSettingsDeepLink for pearcord://settings URLs used by the settings copy-link button.

Co-authored-by: Cursor <[email protected]>
2026-05-23 06:33:51 -04:00
Raven ScottandCursor 4aa0e85c32 Handle pearcord://settings in navigateDeepLink.
Opens user or guild settings panels via deep-link-result without requiring guild load.

Co-authored-by: Cursor <[email protected]>
2026-05-23 06:27:39 -04:00
Raven ScottandCursor 3ae5581460 Add writeDiagnosticsJsonl for UI diagnostics panel export.
Persists filtered JSONL lines from the renderer to storage so agents and support can attach logs without clipboard limits.

Co-authored-by: Cursor <[email protected]>
2026-05-23 06:22:20 -04:00
Raven ScottandCursor b35f407106 docs(platform): note v0.8.252 search skip and prefetch guards
Co-authored-by: Cursor <[email protected]>
2026-05-23 05:32:50 -04:00
Raven ScottandCursor 2afaff3426 feat(platform): skip guild search and warm emoji when channels locked
When guild open has no viewable channels, skip mesh search refresh and
resolve empty results with skip metadata. Emoji batch prefetch honors the
negative miss cache; sticker gossip prefetch waits for attachments module.
Session startup logs INFO when initial guild mesh flush was bounded.

Co-authored-by: Cursor <[email protected]>
2026-05-23 05:32:25 -04:00
Raven ScottandCursor caec052e0b feat(platform): session startup INFO on bounded mesh and emoji prefetch
Log session.startup at info when guild mesh flush was bounded, skip forum
stale search until a forum channel is active, batch-prefetch emoji attachments
after guild open, and guard sticker prefetch until attachments exist.

Co-authored-by: Cursor <[email protected]>
2026-05-23 05:22:13 -04:00
Raven ScottandCursor 172407468d fix(platform): guild load/search polish and bounded-mesh log levels
Downgrade slow guild.open and guild.load spans to info when mesh flush
was bounded, skip stale search refresh until a channel is selected, and
defer sticker attachment prefetch until the emoji registry is initialized.

Co-authored-by: Cursor <[email protected]>
2026-05-23 05:13:15 -04:00
Raven ScottandCursor 3fce1d4c94 fix(platform): always surface guild slash commands in view
Init registry and ensure builtins when the command list is empty so the
composer picker has /help and /ping after guild open.

Co-authored-by: Cursor <[email protected]>
2026-05-23 05:05:51 -04:00
Raven ScottandCursor e2bf604bff fix(platform): guild.open INFO when no viewable channels (v0.8.249)
Avoid slow-open WARN when the user lacks view permission on all text
channels by passing logLevel info on the guild.open span.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:56:17 -04:00
Raven ScottandCursor 2c87352a8d fix(platform): guild access hints and deferred module init (v0.8.248)
Defer guild module wiring until after channel pick, expose no-viewable-channel
state on the view, and clear emoji miss cache when mesh prefetch succeeds.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:50:04 -04:00
Raven ScottandCursor 130c2c4528 fix(v0.8.247): viewable channel pick, emoji/sticker prefetch, perf
_selectGuildChannelWithUnread skips channels without view permission.
Prefetch emoji/sticker bytes on gossip, parallel listChannels+members
in view(), joinMesh span INFO when flush is bounded.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:43:08 -04:00
Raven ScottandCursor 4d871dfafc feat(v0.8.246): parallel session meshes and emoji miss cache
Join discovery, contacts, and settings meshes in parallel after guild
load. Cache negative emoji attachment lookups with TTL to avoid
retry storms.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:37:17 -04:00
Raven ScottandCursor 8954916895 feat: light view() polls with cached devices list
view(opts) accepts { light: true } to reuse deviceSync.listDevices()
for up to PEARCORD_VIEW_DEVICES_CACHE_MS on hot poll paths.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:31:18 -04:00
Raven ScottandCursor 00a8869663 fix(emoji): sync attachment meta from gossip; graceful image miss
Ensure EMOJI_UPSERT rows hydrate attachments store, return null from
readEmojiImage when bytes are missing, and log mesh flush timeout at INFO.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:23:16 -04:00
Raven ScottandCursor dfe370d72d perf(guild): bounded mesh flush, open sub-spans, defer heavy init
Cap Hyperswarm flush at PEARCORD_GUILD_SWARM_FLUSH_MS, log sub-spans for
leave/join/voice, defer guild modules and discovery touch off critical path.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:15:24 -04:00
Raven ScottandCursor 1813708714 fix(compose): silent setComposeDraft without local prefs notify
Co-authored-by: Cursor <[email protected]>
2026-05-23 04:10:24 -04:00
Raven ScottandCursor ccedd20edf feat(log): platform session and guild load spans
Wire pearcord-log for ready(), session startup, loadGuild, and openGuild
with stale-load warnings and structured errors.

Co-authored-by: Cursor <[email protected]>
2026-05-23 04:02:53 -04:00
Raven ScottandCursor c4146fa079 fix(platform): sessionReady and guildLoading view fields (v0.8.237)
Expose boot/switch loading state, always emit session-ready in finally,
ignore stale loadGuild via generation counter, and cancel load on openHome.

Co-authored-by: Cursor <[email protected]>
2026-05-23 03:37:42 -04:00
Raven ScottandCursor c36c5799e4 feat(platform): updateGuildSettings nsfwGateEnabled (v0.8.174)
Expose server-wide age-restricted gate toggle through updateGuildSettings and
include nsfwGateEnabled in guild view snapshots for UI gate logic.

Co-authored-by: Cursor <[email protected]>
2026-05-22 22:48:40 -04:00
Raven ScottandCursor 25a4a48a1e Add setChannelNsfw for age-restricted channel marking
Manage Channels permission updates nsfw flag with audit log and channel gossip.

Co-authored-by: Cursor <[email protected]>
2026-05-22 22:35:53 -04:00
Raven ScottandCursor df0060623c Expose slowmode remaining and voice user limit APIs
Compute slowmodeRemainingSec for composer UI, setChannelUserLimit, and capacity checks on voice/stage join.

Co-authored-by: Cursor <[email protected]>
2026-05-22 22:25:38 -04:00
Raven ScottandCursor aa91e1a0ff Expose emoji-only layout and renameChannel for GUI
messageLayoutKind returns emoji-only; renameChannel gossips category/channel name updates for inline sidebar rename.

Co-authored-by: Cursor <[email protected]>
2026-05-22 22:17:44 -04:00
Raven ScottandCursor 21a5f7984b feat(platform): include custom role names in mentionNames (v0.8.170)
Role @mentions in composer autocomplete highlight in message rendering.

Co-authored-by: Cursor <[email protected]>
2026-05-22 22:05:57 -04:00
Raven ScottandCursor 45cf74ec42 feat(platform): moveChannelToParent with gossip and audit (v0.8.168)
Expose channel parent moves for Manage Channels permission holders.

Co-authored-by: Cursor <[email protected]>
2026-05-22 21:55:29 -04:00
Raven ScottandCursor dff4064efe feat(platform): setChannelMuteDuration and notification level cleanup
Wire timed mute IPC and clear channelMuteUntil when setting permanent
notification levels.

Co-authored-by: Cursor <[email protected]>
2026-05-22 21:45:06 -04:00
Raven ScottandCursor 91d7e3abc9 feat(platform): channel open read snapshot and role reorder API
Expose activeChannelLastReadAt from pre-mark read cursor for unread
divider UI and add reorderGuildCustomRoles with ROLE_UPSERT gossip.

Co-authored-by: Cursor <[email protected]>
2026-05-22 21:37:58 -04:00
Raven ScottandCursor c768d9fe3b feat(platform): setChannelNotificationLevel for guild channel prefs
Wire per-channel notification overrides with mutedChannelIds sync and
mesh gossip via notification prefs.

Co-authored-by: Cursor <[email protected]>
2026-05-22 21:20:30 -04:00
Raven ScottandCursor 7d899fb655 feat(platform): reorderCategories with permissions and gossip
Expose category reorder for MANAGE_CHANNELS holders with audit logging
and mesh gossip for each moved category row.

Co-authored-by: Cursor <[email protected]>
2026-05-22 21:08:23 -04:00
Raven ScottandCursor 8bfae6e3c2 feat(platform): reorderChannelsInParent with permission and gossip
Wire guild channel reorder for MANAGE_CHANNELS holders, gossip
CHANNEL_UPDATE per moved channel, and audit channel.reorder events.

Co-authored-by: Cursor <[email protected]>
2026-05-22 21:03:25 -04:00
Raven ScottandCursor 3438c3d252 docs: v0.8.158 dual combo buckets highest on guild open
Document guild channel pick when two mention+plain parent buckets compete;
smoke test:guild-dual-combo-buckets-highest.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:42:16 -04:00
Raven ScottandCursor d4a5b1afc3 docs: v0.8.157 plain bucket beats triple combo on guild open
Document guild channel pick when one heavy plain-only category outscores
three mention+plain combo categories; smoke test:guild-plain-beats-triple-combo.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:39:22 -04:00
Raven ScottandCursor 1c2f03d031 docs: v0.8.156 triple combo buckets highest on guild open
Document guild channel pick when three mention+plain parent buckets compete;
smoke test:guild-triple-combo-buckets-highest.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:37:05 -04:00
Raven ScottandCursor fb3df3d835 docs: v0.8.155 triple plain bucket wins on guild open
Document guild channel pick when three plain-only parent buckets compete;
smoke test:guild-triple-plain-bucket-pick.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:33:11 -04:00
Raven ScottandCursor 9dcc4a751a docs: v0.8.154 combo bucket beats heavy plain on guild open
Document guild channel pick when mention+plain parent score exceeds
a higher plain-only bucket; smoke test:guild-combo-beats-plain-bucket.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:30:19 -04:00
Raven ScottandCursor 846aae78cd docs: v0.8.153 plain bucket wins equal combo on minPos tie
Document guild-open bucket selection when mention+plain and plain-only
totals match and lower channel position breaks the tie.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:26:35 -04:00
Raven ScottandCursor 3e09637234 docs: v0.8.152 dual plain-only parent bucket pick
Document guild-open selection when two plain-only categories compete by
unread total.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:22:06 -04:00
Raven ScottandCursor 98a7a92733 docs: v0.8.151 plain-only bucket beats lighter combo on guild open
Document parent-bucket selection when plain unread total exceeds a
mention+plain combo bucket score.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:20:01 -04:00
Raven ScottandCursor 1aeeb97887 docs: v0.8.150 triple combo bucket highest total wins
Document guild-open selection among three mention+plain parent buckets.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:17:35 -04:00
Raven ScottandCursor 28b4ae4c81 docs: v0.8.149 equal combo bucket minPos tie-break
Document guild-open selection when two mention+plain buckets share the same
total score and lower minimum channel position wins.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:15:24 -04:00
Raven ScottandCursor 557d4d6a35 docs: v0.8.148 combo beats plain-only at equal plain unread
Document guild-open bucket selection when mention weight breaks a tie
between equal plain-unread totals across categories.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:13:03 -04:00
Raven ScottandCursor a644eb1e49 docs: v0.8.147 dual combo bucket pick smoke
Document that the higher mention+plain parent-bucket total wins when two
categories both have combined unread.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:10:16 -04:00
Raven ScottandCursor 6c17e43a6c docs: v0.8.146 mention+plain bucket pick smoke
Document that a category with one mention plus plain unread beats a higher
plain-only bucket in another category on guild open.

Co-authored-by: Cursor <[email protected]>
2026-05-22 20:07:05 -04:00
Raven ScottandCursor 143d63f345 docs: note root plain bucket beats dual mention categories (v0.8.145)
Co-authored-by: Cursor <[email protected]>
2026-05-22 19:57:18 -04:00
Raven ScottandCursor 67b935e7fe docs: note mention triple-bucket beats plain totals (v0.8.144)
Co-authored-by: Cursor <[email protected]>
2026-05-22 19:54:52 -04:00
Raven ScottandCursor 63166b1e5f docs: note three-way equal bucket minPos pick (v0.8.143)
Co-authored-by: Cursor <[email protected]>
2026-05-22 19:52:49 -04:00
Raven ScottandCursor 936f835c97 docs: note equal minPos bucket order tie-break (v0.8.142)
Co-authored-by: Cursor <[email protected]>
2026-05-22 19:50:15 -04:00
Raven ScottandCursor 33fc374096 docs: note equal bucket minPos tie includes root (v0.8.141)
Co-authored-by: Cursor <[email protected]>
2026-05-22 19:47:03 -04:00
Raven ScottandCursor f7ff17718f feat(platform): removeSearchRecent and root mention bucket pick (v0.8.140)
Expose removeSearchRecent to drop guild-scoped recent queries from prefs.
Document root mention bucket beating higher plain category unread.

Co-authored-by: Cursor <[email protected]>
2026-05-22 19:41:52 -04:00
Raven ScottandCursor 924e9fdb61 docs: note mention bucket beats plain root unread (v0.8.139)
Co-authored-by: Cursor <[email protected]>
2026-05-22 19:37:16 -04:00