Initialize shared root lists and keep legacy navigation fields during migration.
Replace collection rows so concurrent renames and shares can merge.
Seed the desktop showcase with tag definitions and collection rules.
Keep workspace controls and primary navigation outside the scrolling tree.
Use the platform text input handler for sidebar names.
Keep collection entries as plain objects and merge concurrent edits by ID.
Read and write each workspace through its IndexedDB v3 store.
Keep document edits and deletions in order across retries and reloads.
Seed empty workspaces under the startup lock and release it if a write
cannot start or the connection closes.
Wait for pending transactions and read the stored clocks before each
retry. Cancel queued retries when the connection closes. Compact a
document only when its snapshot and all source updates still match.
SQLite is now the only clock writer for document updates. Each row takes
the event time or 1 ms after the document clock, whichever is later. The
session no longer keeps its own copy of the clock and gives SQLite the
event time of each update.
Each committed row reports its slot: the document clock before the write
and the row time. A row that the server holds moves pushed_clock when
the row took the slot right after the current pushed_clock.
A row from the server holds this proof when SQLite writes it. A local
row holds it when the server acknowledged its push and every earlier
push of the document.
The session keeps the slots of the other committed rows until the server
holds them. The flush checks only peer_clocks and clocks in its write
transaction, and it reads no row data.
Thus a remote update on a pushed document that the session never opened
moves pushed_clock in the same transaction. The next start no longer
loads and pushes that document again.
A row of another writer between two own rows stops pushed_clock. When
the server holds the whole in-memory state of that document, a content
check runs after the commit in one deferred transaction.
The same transaction reads the rows and writes pushed_clock. If another
connection writes first, SQLite returns SQLITE_BUSY_SNAPSHOT, the
transaction rolls back, and the next flush tries again.
A SQLite-backed session drops the staged broadcasts of the oldest
unknown document above the 64 document or 1 MiB limit. It now keeps the
ID of that document in a queue of up to 1024 IDs. The next flush looks
up these IDs in SQLite in one query.
A document that another writer added becomes a disk document that the
session loads and reconciles with the server, so the dropped changes
come back. The flush drops the other IDs.
On a page with 10,000 blocks, the flush after 20 acknowledged edits
takes 7.5 ms instead of 432 ms. The flush after 50 remote updates takes
12.3 ms instead of 1,024 ms.
Add SqliteDocStorage::has_active_blob to check blob existence without
reading blob payload overflow pages during ingestion.
Remove the redundant pre-check loop for generated media block IDs and
retry only when PageDocSession::insert_block reports a duplicate key.
Store SpaceSyncEngine outbound items in a VecDeque, peek before send in
WorkspaceSession, disconnect immediately on send failure, and clear
stale frames on disconnect.
Drop passive remote broadcasts for unknown documents without local
baselines or active loads in an in-memory session, bound in-flight load
staging with a reload flag, and clear load leases on failure,
disconnect, or deletion.
Another writer of the same SQLite file can add a document after a
session opens. Thus a SQLite-backed session stages passive broadcasts
for unknown documents, up to 64 documents and 1 MiB.
The next flush persists the broadcasts for documents that SQLite has
and drops the others. Above the limits, the oldest document loses its
staged broadcasts and needs a reload.
Split share receipt persistence into a sibling module and reject shares
targeting tombstoned documents before any write.
Keep only the written sidecar keys and their previous entries for
rollback. When COMMIT fails, take a new write lock and read the
sidecar again.
Restore only the keys that still hold this attempt without a committed
import. Thus receipts that another writer committed after SQLite
released the lock stay.
Migrate a legacy receipt of a permanently deleted document without a
witness, so the migration does not recreate its doc properties row,
and count that receipt as committed while the document stays deleted.
Reclaim oldest complete quarantine groups in ShareDiskInbox when old
quarantine files block valid batches under the 128 MiB cap.
Remove unnecessary allocations, scans, and repeated SQLite queries across document sync, media ingestion, and workspace table storage:
- Replace the full-page snapshot read and ID set scan in `next_available_media_block_id` with bounded O(1) read-only lookups against the root `blocks` map, keeping explicit block IDs in `ingest_media_into_doc_session` strict.
- Avoid cloning broadcast update payloads when a document is not in `LoadingRemote`, isolate per-update apply errors across live broadcasts and staged `DocLoaded` replays while triggering a single reconciliation and holding `remote_ts` on failure, skip unmanaged entries during timestamp sync, remove the unused `observed_remote_ts` state, and unify root, table, and page reconciliation dispatch in `doc_sync`.
- Encode `YjsTableDoc` state vectors and diffs directly via `y_octo::Doc::get_state_vector` and `encode_state_as_update_v1` instead of round-tripping full V1 updates.
- Cache per-document tombstone checks and monotonic clock watermarks within a single `BEGIN IMMEDIATE` write transaction in `sqlite/doc.rs`.
- Replace the two-query in-memory `HashMap` join in `list_unpushed_doc_clocks` with a single SQLite `LEFT JOIN` query while preserving `NaiveDateTime` comparison semantics.
The set_blob function bound the payload by reference. The sqlx encoder
then copied the full payload into a new buffer.
The function now moves the owned key, data and mime values into the
query arguments. The SQL, the upsert behavior and the public signature
do not change.
A new single-test binary counts Rust heap requests with a global
allocator. It also checks insert, overwrite, soft delete and revive.
For an 8 MiB payload, the old code requested 8,393,257 bytes in one
set_blob call, with one block at or above 1 MiB. The new code stays
below 64 KiB and makes no block at or above 1 MiB.
Remove eight duplicated or defensive code paths across affine-store,
affine-client, affine-mobile, and the web, iOS, and Android hosts:
- Remove explicit create recovery journals in store and client, and
require WorkspaceDb::from_root_update_v1 to receive initial db$*
tables at construction time instead of returning DbTableNotResolved.
- Consolidate auth protocol parsing, url::Url canonicalization,
legacy_storage_endpoint_key (unbracketed IPv6 for 0.27.5 storage
keys), chrono RFC3339 UTC Z normalization, Bearer checks, and
permanent error codes into affine_store::auth while keeping iOS and
Android 0.27.5 storage formats.
- Replace the duplicated legacy storage engine in affine-ios-host with
affine-legacy-import, preserve malformed affine-local-workspace raw
strings in one place, propagate iOS write-back serialization errors,
delegate Android sentinel evaluation and probe filtering to Rust via
a single JNI entry, and remove hardcoded Swift and Kotlin key lists.
- Remove the pure JS Yjs v1 decoder from hosts/web/src/idb-storage.js,
expose a safe Rust wasm-codec cdylib from affine-store reusing
merge_crdt_updates_v1, share a strict wasm-scalar-rpc.js loader with
preview workers, wire crdt-wasm-client through index.html,
worker-loader, host.js, stage-preview-workers, CI, and real-browser
IDB E2E, and migrate real Yjs v1 fixtures to affine-store tests.
- Remove the 12-iteration blind SQLite retry loop in sqlite/doc.rs
while preserving single-row empty-update registration.
- Upgrade SqliteDocStorage::checkpoint_passive to return WAL counts and
remove duplicate maintenance pools from iOS and Android hosts.
- Remove top-level mirrored workspace fields and workspace-switch
cloning in MobileAppState, and use generate_key_between for ordering.
- Remove pixel-fallback selection drag paths in iOS and Android hosts
so text-layout endpoints remain the single drag authority.
Add thin Web, iOS, and Android mobile hosts, harden the blocksuite-preview
Mermaid renderer and Wasm exports, and add S1 release performance probes
with CI artifact and native host linking gates.
- Preview: use FontPoolWidthMeasurer with variable-font HVAR weight
instantiation, integer pixel ceil widths, front-matter theme injection,
high-contrast Light and Dark palettes, premultiplied RGBA PNG compositing,
and Wasm theme parameters.
- Probes and CI: add s1_sqlite_probe and s1_probes release tests, record
measured latency and peak RSS in BENCHMARK.md, add timeout-minutes on all
np-mobile jobs, upload s1-probes-artifacts, and link Android NDK .so,
kotlinc Activity, and iOS Simulator swiftc executable in CI.
- Web host: use an offscreen canvas GPU probe, add OAuth redirect-loop and
runtime GPU loss guards, restrict embed URLs and sandbox tokens, match
/api/auth/captcha Turnstile headers, and launch four independent ES module
Blob workers pinned to site root.
- iOS host: add affine-ios-host staticlib crate implementing all C-ABI
functions with surrogate-pair safe UTF-16 editing, weak DisplayLinkProxy,
absolute ime_bottom contract, and in-memory LegacyCapacitorSchemeHandler.
- Android host: implement hand-written JNI bridge with absolute ime_bottom
logical-dp conversion, predictive and legacy back gesture handling, and a
pure Android platform SDK MainActivity and LegacyLocalStorageProbe.
Integrate `packages/common/store` (`affine-store`) into the unified
`packages/frontend` workspace and close cross-client compatibility and
crash-recovery invariants against `0.27.5`:
- Encode page creation identity via `PageIdSource` and `CreateDocId`
(`DerivedFromOp` vs `Explicit`), derive deterministic 10-character
URL-safe NanoIDs from `(space_id, op_id)` without sidecar tables or
extra keys in shared Yjs `meta.pages`, and reject `page_id` collisions
with the root `space_id`.
- Keep `DocMode::Page` writing only the root document, require
`db$docProperties` to be resolved before non-`Page` creation
(returning `StoreError::DbTableNotResolved` so retry intent survives
restarts), gate explicit non-`Page` crash-replay backfill on a
client-local `export_explicit_create_journal` /
`import_explicit_create_journal` record so legacy `0.27.5` pages
without `DocProperties` rows keep `DocMode::Page`, preserve existing
live or soft-deleted `DocProperties` rows independently of root page
repair, and start `SqliteDocStorage::push_updates_batch` with
`BEGIN IMMEDIATE` to prevent `SQLITE_BUSY_SNAPSHOT` on pooled WAL
connections.
- Capture unacknowledged `in_flight` and deferred `JoinDocs` updates in
`SpaceSyncEngine::snapshot()` ahead of `offline_queue` while keeping
live local writes gated on `waiting_for_id_converter`.
- Wire `vars.NP_ALLOW_PERF_BOOTSTRAP` in `native-playground.yml` and
document the three `perf/accepted.json` lifecycle actions in
`packages/frontend/AGENTS.md`.
#### PR Dependency Tree
* **PR #15883** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* Document creation can now recover incomplete registrations without
recreating document content.
* Document updates can detect revision conflicts, helping prevent
changes from overwriting newer edits.
* **Improvements**
* Document sync and update handling are improved across desktop,
Android, and iOS.
* Workspace metadata and legacy document pages are handled more
consistently during migration and recovery.
* Creator and editor details are better preserved when documents are
recovered or compacted.
* **Configuration**
* Removed the experimental document-merge setting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix#15850
#### PR Dependency Tree
* **PR #15865** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* Search results now include database rows that reference matching
documents, showing the referenced document’s current title.
* Linked-document titles appear consistently in database title and
rich-text values, including after a title changes.
* Search includes ordinary text matches alongside linked-document
references and supports retrieving additional results.
* **Bug Fixes**
* Rows referencing unavailable documents are not presented as
linked-title matches.
* If linked-row lookup fails, ordinary document search results remain
available.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15854** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* Added workspace document lifecycle tracking, including trashed and
deleted states, with migration support.
* Added workspace inventory syncing and state refresh across cloud and
local storage, improving document discovery and offline synchronization.
* Added clearer messages for invalid or oversized document updates and
temporarily unavailable sync or validation.
* Added paused-upload diagnostics and a Quick Export shortcut for
relevant workspace sync issues.
* **Improvements**
* Search, indexing, and document metadata now reflect workspace
inventory and lifecycle state.
* Restoring from history preserves concurrent edits made during
recovery.
* Unused-blob checks now scan document content and detect changes during
scanning.
* **Bug Fixes**
* Invalid document updates are rejected without partially saving a
batch.
* Document reading handles missing or cyclic block relationships more
reliably.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description
`generateFractionalIndexingKeyBetween(a, b)` can return a key that sorts
after `b`.
When the subkeys of `a` and `b` share a prefix, the key is built as
`generateKeyBetween(a, b) + '0' + postfix()`. If `b` itself starts with
`generateKeyBetween(a, b) + '0'`, the order against `b` is decided by
the random postfix. For example, with `a =
Zz0KDAn9nhfbtFAOnyTqT45wXkV4SGW7XBh` and `b =
Zz10c5IY1TbnCK75NE22mfQEp2rpu6q1n6Z7`, `generateKeyBetween(a, b)` is
`Zz1` and the returned key was `Zz10UESACG9CHEXJNxgEDqhyCILR7N91EmcV`,
which is greater than `b`.
This is easy to reach from the UI helpers: `FolderNode.indexAt('after',
firstId)`, the favorites list, pinned collections, workspace properties
and table rows/columns all call it with their neighbours and sort with a
plain string compare. Starting from an empty list, adding one item
before the first and then repeatedly inserting right after the first
item breaks the order in 1000 out of 1000 runs within 20 inserts; the
inserted item ends up after its intended next neighbour.
The fix keeps stepping towards `b` with `generateKeyBetween(key, b)`
while `b` still starts with `key + '0'`, so the appended postfix can no
longer push the key past `b`. Each step lengthens the shared prefix with
`b`, so the loop ends. Both copies of the helper (`@toeverything/infra`
and `@blocksuite/affine-shared`) get the same change.
Proof: the added tests in `fractional-indexing.spec.ts` and
`fractional-indexing.unit.spec.ts` insert right after the first key 50
times, 100 rounds each. Before the fix both fail (`key < b` is false);
after, both pass across 5 reruns. I also fuzzed 1500 sequences of 200
inserts with mixed insertion strategies: 677 ordering violations before,
0 after, no throws.
fix#15576
#### PR Dependency Tree
* **PR #15803** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved reliability of real-time subscriptions during disconnects,
reconnects, context changes, and concurrent requests.
* Subscription updates are now routed to the matching topic and input,
and canceled subscriptions are handled without disrupting other active
subscriptions.
* User-profile requests can resume after a disconnect and reconnect.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix#15654fix#15551
#### PR Dependency Tree
* **PR #15792** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
<!-- coderabbit-ai-generated:v1 -->
## Summary by CodeRabbit
* **New Features**
* Session refreshes can now recover from interrupted requests using the
same refresh attempt, including after an app restart.
* **Bug Fixes**
* Retrying a successful refresh no longer unnecessarily rotates tokens
or invalidates the session. Invalid or mismatched retries continue to be
rejected, while expired credentials are handled without revoking an
otherwise valid session.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15704** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Blob uploads now use the latest workspace storage limit, so uploads
can proceed after a quota change without relying on a stale limit.
* Upload cancellation is limited to the matching upload, preventing
unrelated uploads from being aborted.
* Failed or stale storage reservations can be retried more reliably,
while deleted storage keys and comment attachments remain protected from
unauthorized reuse.
* **Reliability**
* Upload and reservation failures now include contextual logging to aid
troubleshooting.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Workspace selection, creation, and navigation after import now use
consistent view transitions, including in browsers without native
transition support.
* **Chores**
* Updated supporting components for mathematical notation, diagrams,
desktop functionality, and backend services.
* Refreshed tools used by the app and its documentation, including
components for error reporting and GraphQL operations. These updates do
not change the rendered equations.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix#15650fix#15530fix#15534fix#15506
#### PR Dependency Tree
* **PR #15649** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary
* **New Features**
* Admin settings show configuration sources and secret status, conceal
secret values, and allow database-level overrides to be cleared.
* Self-hosted deployments can automatically upgrade existing
configuration files.
* **Improvements**
* Configuration changes apply without restarting the server, and storage
settings reload automatically.
* Uploads support runtime-managed proxy settings and signed upload
tokens.
* Incomplete managed Copilot profiles are disabled during migration.
* Saving an AI response as a document more reliably targets the matching
editor.
* **Documentation**
* The CLI clarifies that imported configuration changes take effect
after the next server start.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Description
While reading `DocSyncPeer.addPriority` I noticed the fix from #15338
(commit `cd6593c6`) was applied to only one of the three near-identical
copies of that method in `nbstore`. The two others still carry the
pre-#15338 code:
- `DocFrontend.addPriority` —
`packages/common/nbstore/src/frontend/doc.ts`
- `IndexerSyncStatus.addPriority` —
`packages/common/nbstore/src/sync/indexer/index.ts`
Both write the incoming priority over whatever was stored:
```ts
const oldPriority = this.prioritySettings.get(id) ?? 0;
this.prioritySettings.set(id, priority); // overwrites
this.jobDocQueue.setPriority(id, oldPriority + priority); // adds
```
The two lines already disagree with each other, and the release callback
returned by the method *subtracts* `priority` from the current value, so
it only makes sense if the forward path adds. The result is that
overlapping priority requests for the same doc don't stack, and
releasing one of them drops the doc to zero instead of back to the level
the remaining holder asked for.
That overlap is reachable from the UI. `WorkspaceEngine.doc` is a
`DocFrontend` (`entities/engine.ts` → `client.docFrontend`), and two
call sites add +10 to the same `pageId`: `detail-page-wrapper.tsx` and
`peek-view/view/utils.ts`. Open a doc, peek the same doc, close the peek
view, and the still-open doc is left at priority 0 — behind every other
queued doc. The indexer has the same pair: the navigation panel node and
the doc-summary store both add +10 to the same `docId`.
The fix is the same shape as #15338 — compute `newPriority` /
`restoredPriority` once and use it for both the map and the queue.
### Test
`doc priority requests accumulate` in
`packages/common/nbstore/src/__tests__/frontend.spec.ts`. Two holders
take +10 on `high` and one of them releases; `low` sits at +5; both load
jobs are queued before `start()` so the queue priority alone decides the
load order, which the test reads by spying on `storage.getDoc`.
On `canary` it fails:
```
FAIL packages/common/nbstore/src/__tests__/frontend.spec.ts > doc priority requests accumulate
AssertionError: expected [ 'low', 'high' ] to deeply equal [ 'high', 'low' ]
```
With the fix, the whole package is green (`yarn vitest run
packages/common/nbstore`: 16 files, 86 tests).
## Checklist
- [x] I have signed the [AFFiNE Contributor License
Agreement](https://cla-assistant.io/toeverything/AFFiNE)
- [x] The PR targets the `canary` branch and its title follows
[Conventional Commits](https://www.conventionalcommits.org/)
- [x] Tests are added or updated where it makes sense
- [x] `yarn lint` and `yarn typecheck` pass locally
- [x] If the PR code includes AI-generated edits, I have carefully
reviewed it to ensure that the scope of the PR is consistent with what
is claimed in the title and description, and that there are no redundant
or invalid implementations.
- [x] I agree that maintainers may close the PR without discussion if
they consider the code quality to be too low.
AI tools used
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved priority handling for document loading and indexing so
multiple priority requests accumulate correctly.
* Ensured queued work consistently reflects remaining priority requests
after individual requests are released.
* High-priority documents and indexing tasks are now processed ahead of
lower-priority work as expected.
* **Tests**
* Added coverage validating accumulated priority behavior for document
loading and index crawling.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
fix#15574
#### PR Dependency Tree
* **PR #15575** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## New Features
* Added source-aware blob handling for current documents and page
history.
* Added document lifecycle support for trashing, restoring, and
permanently deleting documents.
* Copilot attachments now upload directly to session attachment
endpoints.
## Bug Fixes
* Document actions now complete before confirmations, notifications, and
navigation proceed.
* Improved cancellation, upload fallback, size-limit handling, and cloud
synchronization reliability.
* Invite-link expiration now remains reliable for long durations.
* Improved synchronization for document permissions and reserved
documents.
## Changes
* Blob management now displays attachment icons instead of image
previews.
* Cloud synchronization now uses a unified batch protocol.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15542** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
- **New Features**
- Invitation links now require sign-in to view or accept.
- Added guidance when an invitation belongs to a different account, with
options to switch accounts or return to AFFiNE.
- Sign-in preserves the invitation link when switching accounts.
- **Bug Fixes**
- Invitation errors now display accurate messages instead of generic
errors.
- Improved handling of expired, invalid, and missing invitations.
- Invitation status checks now work correctly for authenticated
invitees.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
## Summary
- Route iOS nbstore worker token reads through the main-thread
MessagePort and skip Capacitor Auth on `/socket.io` polling so self-host
WebSocket/XHR sync no longer hangs on Connect timeout.
- Harden workspace `flavour:id` routing, DocSyncPeer abort/status
handling, and `resetSync` so local selfhost edits push and Mac browsers
can receive them.
- Soften root-doc readiness waits and session-exchange throttling to
keep mobile selfhost sign-in/sync stable under retries.
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
## Summary by CodeRabbit
* **New Features**
* Improved workspace switching across local and remote environments,
preserving workspace type and server context.
* Added support for page navigation with query parameters.
* Added iOS local-network permission messaging for self-hosted
workspaces.
* **Bug Fixes**
* Improved document synchronization, reset handling, prioritized
document refreshes, and retry behavior.
* Prevented authentication headers and refresh attempts for socket
connection requests.
* Improved workspace reopening and routing when multiple workspace types
share an ID.
* Fixed handling of unlimited data query limits.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
---------
Co-authored-by: DarkSky <darksky2048@gmail.com>
#### PR Dependency Tree
* **PR #15512** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Search now supports generation-based indexing with embedded and remote
providers.
* Added automatic search reconciliation and improved handling of
document, workspace, and permission changes.
* Added clearer search status errors for unavailable, syncing, unready,
or failed indexes.
* Added Manticore Search end-to-end support and provider-specific search
behavior.
* **Improvements**
* Search and aggregate pagination now report returned results and
continuation status more accurately.
* Improved permission filtering to prevent inaccessible documents from
appearing in results.
* Admin provider selection now consistently enables indexing.
* **Documentation**
* Clarified search pagination, aggregation counts, provider
configuration, and end-to-end setup.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Retry failed Copilot transcription tasks in real time.
* Retried tasks resume processing and report updated status.
* Managed Copilot provider models can be omitted to use provider
defaults.
* **Bug Fixes**
* Improved handling of incomplete BYOK profiles, including safe
replacement of legacy records.
* Duplicate profile creation now returns a clear validation error.
* Improved transcript processing reliability by preventing duplicate or
stale dispatches.
* **Migration**
* Consolidated legacy managed-provider settings while preserving
existing profiles and defaults.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15464** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Chores**
* Replaced the project’s formatting and linting workflow with Oxfmt and
Oxlint.
* Added shared formatting and linting configuration, editor integration,
and updated automated checks.
* Updated generated files, scripts, and lint guidance to use the new
tooling.
* **Style**
* Reformatted templates, source code, examples, and configuration files
for consistent readability.
* No user-facing functionality or rendering behavior changed.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15458** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **Bug Fixes**
* Improved realtime connection recovery with progressively longer retry
delays, capped to prevent excessive waiting.
* Connection retries now reset after successful reconnection and stop
cleanly when no longer needed.
* Reduced false error alerts by confirming repeated failures before
notifying users.
* Added cancellation handling when connection context changes or the
service is closed.
* **User Experience**
* Realtime connection alerts now identify authentication, network,
server, and timeout issues with localized messages.
* Active alerts are automatically dismissed when the connection
recovers.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15426** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Added workspace BYOK profiles with provider/model catalogs, capability
validation, connection probing, credential rotation, reordering, and
secure local leases.
* Added Copilot route options, selectable targets, managed tiers,
explicit profile/model overrides, and improved streaming with tool
callbacks and abort support.
* Added Copilot availability controls to prevent access when the feature
is disabled.
* **Changes**
* Simplified Copilot configuration and removed legacy provider-specific
settings.
* Removed obsolete model, token-cost, transcript strategy, and provider
metadata fields from public responses.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->
#### PR Dependency Tree
* **PR #15317** 👈
This tree was auto-generated by
[Charcoal](https://github.com/danerwilliams/charcoal)
<!-- This is an auto-generated comment: release notes by coderabbit.ai
-->
## Summary by CodeRabbit
* **New Features**
* Virtualized mobile navigation with shell navigation and interactive
swipe menus; coordinated mobile back handling with interactive
phases/state restoration.
* Added shared auth request proxy and message-port based token handling
across mobile and worker flows.
* **Bug Fixes**
* Hydrated remote worker error stacks for calls and observable errors.
* Improved SQLite FTS/indexer and nbstore optional text handling;
refined docs-search ref parsing and notification loading/retry.
* **Refactor / UX**
* Modal focus-preservation and pointer behavior updates; improved mobile
menu controls and back gesture plugins.
<!-- end of auto-generated comment: release notes by coderabbit.ai -->