Skip to content

armgit / macro

Public Imported from GitHub
0

Macro is a unified workspace for teams: email, chat, docs, tasks, agents, calls, and CRM — @-linked together with shared AI memory.

Seanaye/feat/tauri offline filter (#6391)

Sean Ayee32df0e851ea
diff --git a/Cargo.lock b/Cargo.lock
index 137d256e29..5a971944f8 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -279,7 +279,7 @@ dependencies = [
"redis",
"reqwest 0.13.4",
"rootcause",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"serde",
"serde_json",
"sqlx",
@@ -1798,9 +1798,9 @@ dependencies = [
[[package]]
name = "aws-lc-rs"
-version = "1.17.0"
+version = "1.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "5ec2f1fc3ec205783a5da9a7e6c1509cc69dedf09a1949e412c1e18469326d00"
+checksum = "b281d307588d634de920874890732659e2e7672f72b5e10e81badc1a8a83621e"
dependencies = [
"aws-lc-sys",
"zeroize",
@@ -1808,14 +1808,15 @@ dependencies = [
[[package]]
name = "aws-lc-sys"
-version = "0.41.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "1a2f9779ce85b93ab6170dd940ad0169b5766ff848247aff13bb788b832fe3f4"
+checksum = "9bff6c3b54fad79a2e60b8102caf565819711497c1f5f092f49508e2f5c31b27"
dependencies = [
"cc",
"cmake",
"dunce",
"fs_extra",
+ "pkg-config",
]
[[package]]
@@ -2280,7 +2281,7 @@ dependencies = [
"hyper-util",
"pin-project-lite",
"rustls 0.21.12",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-native-certs",
"rustls-pki-types",
"tokio",
@@ -3033,7 +3034,7 @@ dependencies = [
[[package]]
name = "cache-wasm"
-version = "0.6.10"
+version = "0.6.11"
dependencies = [
"async-lock",
"cache-core",
@@ -3664,7 +3665,7 @@ dependencies = [
"ratatui",
"reqwest 0.13.4",
"rootcause",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"serde",
"serde_json",
"shell-words",
@@ -8157,7 +8158,7 @@ dependencies = [
"http 1.4.0",
"hyper 1.9.0",
"hyper-util",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-native-certs",
"tokio",
"tokio-rustls 0.26.4",
@@ -9215,7 +9216,7 @@ dependencies = [
"nom 8.0.0",
"percent-encoding",
"quoted_printable",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"socket2 0.6.3",
"tokio",
"tokio-rustls 0.26.4",
@@ -13128,7 +13129,7 @@ dependencies = [
"quinn-proto",
"quinn-udp",
"rustc-hash 2.1.2",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"socket2 0.6.3",
"thiserror 2.0.18",
"tokio",
@@ -13149,7 +13150,7 @@ dependencies = [
"rand 0.9.4",
"ring",
"rustc-hash 2.1.2",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"slab",
"thiserror 2.0.18",
@@ -13543,7 +13544,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"rand 0.9.4",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-native-certs",
"ryu",
"sha1_smol",
@@ -13737,7 +13738,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"serde",
"serde_json",
@@ -13782,7 +13783,7 @@ dependencies = [
"percent-encoding",
"pin-project-lite",
"quinn",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"rustls-platform-verifier",
"serde",
@@ -14160,16 +14161,16 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.40"
+version = "0.23.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "ef86cd5876211988985292b91c96a8f2d298df24e75989a43a3c73f2d4d8168b"
+checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634"
dependencies = [
"aws-lc-rs",
"log",
"once_cell",
"ring",
"rustls-pki-types",
- "rustls-webpki 0.103.13",
+ "rustls-webpki 0.103.15",
"subtle",
"zeroize",
]
@@ -14207,10 +14208,10 @@ dependencies = [
"jni 0.22.4",
"log",
"once_cell",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-native-certs",
"rustls-platform-verifier-android",
- "rustls-webpki 0.103.13",
+ "rustls-webpki 0.103.15",
"security-framework",
"security-framework-sys",
"webpki-root-certs",
@@ -14235,9 +14236,9 @@ dependencies = [
[[package]]
name = "rustls-webpki"
-version = "0.103.13"
+version = "0.103.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
+checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
dependencies = [
"aws-lc-rs",
"ring",
@@ -15715,7 +15716,7 @@ dependencies = [
"memchr",
"once_cell",
"percent-encoding",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"serde",
"serde_json",
"sha2 0.10.9",
@@ -16710,7 +16711,7 @@ version = "0.26.4"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "1729aa945f29d91ba541258c8df89027d5792d85a8841fb65e8bf0f4ede4ef61"
dependencies = [
- "rustls 0.23.40",
+ "rustls 0.23.45",
"tokio",
]
@@ -16744,7 +16745,7 @@ checksum = "d25a406cddcc431a75d3d9afc6a7c0f7428d4891dd973e4d54c56b46127bf857"
dependencies = [
"futures-util",
"log",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.4",
@@ -16760,7 +16761,7 @@ checksum = "8f72a05e828585856dacd553fba484c242c46e391fb0e58917c942ee9202915c"
dependencies = [
"futures-util",
"log",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"tokio",
"tokio-rustls 0.26.4",
@@ -17180,7 +17181,7 @@ dependencies = [
"httparse",
"log",
"rand 0.9.4",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"sha1 0.10.6",
"thiserror 2.0.18",
@@ -17200,7 +17201,7 @@ dependencies = [
"httparse",
"log",
"rand 0.9.4",
- "rustls 0.23.40",
+ "rustls 0.23.45",
"rustls-pki-types",
"sha1 0.10.6",
"thiserror 2.0.18",
@@ -18958,8 +18959,8 @@ dependencies = [
"rustc-hash 2.1.2",
"rustix 1.1.4",
"rustls 0.21.12",
- "rustls 0.23.40",
- "rustls-webpki 0.103.13",
+ "rustls 0.23.45",
+ "rustls-webpki 0.103.15",
"schemars 1.2.1",
"scopeguard",
"security-framework-sys",
diff --git a/apps/web/package.json b/apps/web/package.json
index 5ff05c043a..c4711d1604 100644
--- a/apps/web/package.json
+++ b/apps/web/package.json
@@ -9,6 +9,11 @@
"postbuild:semver": "echo $npm_package_version+$(git rev-parse --short HEAD) > ./dist/semver.txt",
"postbuild:bundle-manifest": "bun ./scripts/write-bundle-manifest.mjs",
"test": "bunx vitest run",
+ "native:e2e:build": "bash tests/native/build.sh",
+ "native:e2e": "bash tests/native/run.sh",
+ "native:e2e:smoke": "bash tests/native/run.sh --smoke",
+ "native:e2e:fixtures": "bun test tests/native/fixtures",
+ "native:e2e:check": "tsc -p tests/native/tsconfig.json",
"local:e2e": "LOCAL_E2E=true bunx playwright test",
"local:e2e:ui": "LOCAL_E2E=true bunx playwright test --ui",
"gen-api": "bun scripts/generate-api-schema.ts",
@@ -154,9 +159,9 @@
"zod-validation-error": "^5.0.0"
},
"devDependencies": {
- "@datadog/datadog-ci": "^3.7.0",
"@apidevtools/json-schema-ref-parser": "^15.3.5",
"@biomejs/biome": "2.5.6",
+ "@datadog/datadog-ci": "^3.7.0",
"@graphql-codegen/cli": "^7.1.3",
"@graphql-codegen/typed-document-node": "^7.0.3",
"@graphql-codegen/typescript-operations": "^6.0.5",
@@ -164,11 +169,11 @@
"@solidjs/meta": "^0.29.4",
"@solidjs/testing-library": "^0.8.10",
"@testing-library/user-event": "^14.6.1",
- "@types/facebook-pixel": "^0.0.31",
"@types/bun": "^1.2.19",
"@types/d3-array": "^3.2.2",
"@types/d3-scale": "^4.0.9",
"@types/d3-shape": "^3.1.8",
+ "@types/facebook-pixel": "^0.0.31",
"@types/gtag.js": "^0.0.20",
"@types/linkify-it": "^5.0.0",
"@types/lodash": "^4.17.20",
@@ -180,20 +185,21 @@
"bebop-tools": "3.1.3",
"concurrently": "^9.2.1",
"graphql": "^16.9.0",
+ "jsdom": "^26.1.0",
"json-refs": "^3.0.15",
"json-schema-to-typescript": "^15.0.4",
"json-schema-to-zod": "2.6.1",
- "jsdom": "^26.1.0",
"knip": "^6.0.4",
"lightningcss": "^1.30.2",
"openai": "^6.25.0",
"orval": "^7.21.0",
- "typescript": "^5.9.3",
"typedoc": "^0.22.18",
+ "typescript": "^5.9.3",
"vite": "^6.4.1",
"vite-plugin-solid": "^2.11.8",
"vite-plugin-solid-svg": "^0.8.1",
"vite-tsconfig-paths": "^5.1.4",
- "vitest": "^3.2.4"
+ "vitest": "^3.2.4",
+ "webdriverio": "9.29.1"
}
}
diff --git a/apps/web/src/lib/graphql-cache/host/tauri-host.test.ts b/apps/web/src/lib/graphql-cache/host/tauri-host.test.ts
index e631621455..9e6cb14846 100644
--- a/apps/web/src/lib/graphql-cache/host/tauri-host.test.ts
+++ b/apps/web/src/lib/graphql-cache/host/tauri-host.test.ts
@@ -6,11 +6,32 @@ const listenMock = vi.hoisted(() => vi.fn());
vi.mock('@tauri-apps/api/core', () => ({ invoke: invokeMock }));
vi.mock('@tauri-apps/api/event', () => ({ listen: listenMock }));
-import { INITIAL_CACHE_REVISION } from '../protocol';
+import {
+ type EntityFilterCacheArgs,
+ type EntityFilterCacheResult,
+ INITIAL_CACHE_REVISION,
+} from '../protocol';
import { createTauriCacheHost } from './tauri-host';
type EventCallback = (event: { payload: Record<string, unknown> }) => void;
+const filterArgs: EntityFilterCacheArgs = {
+ filters: {},
+ sortMethod: 'UPDATED_AT',
+ sortDirection: 'DESC',
+ limit: 25,
+ mail: { view: 'ALL' },
+};
+const missingFilterCommand = 'Command graphql_cache_entity_filter not found';
+const emptyMailPage: EntityFilterCacheResult = {
+ kind: 'mail-page',
+ revision: INITIAL_CACHE_REVISION,
+ keys: [],
+ sortTimestamps: [],
+ nextCursor: null,
+ optimistic: false,
+};
+
describe('createTauriCacheHost', () => {
let eventCallbacks: Map<string, EventCallback>;
const unlisten = vi.fn();
@@ -143,6 +164,206 @@ describe('createTauriCacheHost', () => {
});
});
+ it('waits for native initialization and forwards Mail filter requests over IPC', async () => {
+ let initialize: () => void = () => {
+ throw new Error('init not requested');
+ };
+ const page = {
+ kind: 'mail-page',
+ revision: INITIAL_CACHE_REVISION,
+ keys: ['GraphqlSoupEmailThread:thread-1'],
+ sortTimestamps: ['2025-01-04T00:00:00Z'],
+ nextCursor: 'local-cursor',
+ optimistic: false,
+ };
+ invokeMock.mockImplementation((command: string) =>
+ command === 'graphql_cache_init'
+ ? new Promise<void>((resolve) => {
+ initialize = resolve;
+ })
+ : Promise.resolve(page)
+ );
+ const host = createTauriCacheHost({ scope: 'scope-1' });
+ const args: EntityFilterCacheArgs = {
+ filters: { emailFilter: { tree: { literal: { importance: false } } } },
+ sortMethod: 'UPDATED_AT',
+ sortDirection: 'DESC',
+ limit: 25,
+ mail: { view: 'INBOX', cursor: 'previous-local-cursor' },
+ };
+ const pending = host.entityFilter(args);
+ await Promise.resolve();
+ expect(invokeMock).toHaveBeenCalledTimes(1);
+ initialize();
+ await expect(pending).resolves.toEqual(page);
+ expect(invokeMock).toHaveBeenLastCalledWith('graphql_cache_entity_filter', {
+ request: args,
+ });
+ host.dispose();
+ });
+
+ it.each([missingFilterCommand, new Error(missingFilterCommand)])(
+ 'preserves legacy native behavior and remembers a missing filter command (%s)',
+ async (failure) => {
+ invokeMock.mockImplementation(async (command: string) => {
+ if (command === 'graphql_cache_entity_filter') throw failure;
+ if (command === 'graphql_cache_read') return { kind: 'miss' };
+ if (command === 'graphql_cache_hydrate')
+ return { kind: 'void', revision: INITIAL_CACHE_REVISION };
+ return null;
+ });
+ const host = createTauriCacheHost({ scope: 'old-native' });
+ try {
+ await expect(host.entityFilter(filterArgs)).resolves.toEqual({
+ kind: 'unsupported',
+ });
+ await expect(
+ host.entityFilter({ ...filterArgs, mail: { view: 'INBOX' } })
+ ).resolves.toEqual({ kind: 'unsupported' });
+ expect(
+ invokeMock.mock.calls.filter(
+ ([command]) => command === 'graphql_cache_entity_filter'
+ )
+ ).toHaveLength(1);
+ // Missing this additive command must not disable the existing cache API.
+ await expect(host.readQuery({ query: '{ x }' })).resolves.toEqual({
+ kind: 'miss',
+ });
+ await expect(
+ host.hydrateQuery({ query: '{ x }', data: { x: 1 } })
+ ).resolves.toEqual({
+ kind: 'void',
+ revision: INITIAL_CACHE_REVISION,
+ });
+ } finally {
+ host.dispose();
+ }
+ }
+ );
+
+ it('does not treat an unsupported predicate as a missing native command', async () => {
+ const page = emptyMailPage;
+ const filter = vi
+ .fn()
+ .mockResolvedValueOnce({ kind: 'unsupported' })
+ .mockResolvedValueOnce(page);
+ invokeMock.mockImplementation(async (command: string) =>
+ command === 'graphql_cache_entity_filter' ? await filter() : null
+ );
+ const host = createTauriCacheHost({ scope: 'new-native' });
+ try {
+ await expect(host.entityFilter(filterArgs)).resolves.toEqual({
+ kind: 'unsupported',
+ });
+ await expect(
+ host.entityFilter({ ...filterArgs, mail: { view: 'INBOX' } })
+ ).resolves.toEqual(page);
+ expect(filter).toHaveBeenCalledTimes(2);
+ } finally {
+ host.dispose();
+ }
+ });
+
+ it.each([
+ 'cache storage failed',
+ 'invalid entity-filter sort direction',
+ 'Command graphql_cache_entity_filter not allowed by ACL',
+ 'Command graphql_cache_read not found',
+ 'Command not found',
+ ])(
+ 'propagates non-capability errors without disabling future filtering: %s',
+ async (message) => {
+ const page = emptyMailPage;
+ const filter = vi
+ .fn()
+ .mockRejectedValueOnce(message)
+ .mockResolvedValueOnce(page);
+ invokeMock.mockImplementation(async (command: string) =>
+ command === 'graphql_cache_entity_filter' ? await filter() : null
+ );
+ const host = createTauriCacheHost({ scope: 'new-native' });
+ try {
+ await expect(host.entityFilter(filterArgs)).rejects.toThrow(message);
+ await expect(host.entityFilter(filterArgs)).resolves.toEqual(page);
+ expect(filter).toHaveBeenCalledTimes(2);
+ } finally {
+ host.dispose();
+ }
+ }
+ );
+
+ it('does not hide native cache initialization failures', async () => {
+ invokeMock.mockRejectedValue(new Error('cache initialization failed'));
+ const host = createTauriCacheHost({ scope: 'old-native' });
+ try {
+ await expect(host.entityFilter(filterArgs)).rejects.toThrow(
+ 'cache initialization failed'
+ );
+ expect(invokeMock).toHaveBeenCalledTimes(1);
+ } finally {
+ host.dispose();
+ }
+ });
+
+ it('does not suppress filter timeouts or permanently disable the command', async () => {
+ vi.useFakeTimers();
+ const host = createTauriCacheHost({
+ scope: 'new-native',
+ requestTimeoutMs: 50,
+ });
+ try {
+ invokeMock.mockImplementation((command: string) =>
+ command === 'graphql_cache_entity_filter'
+ ? new Promise(() => {})
+ : Promise.resolve(null)
+ );
+ const assertion = expect(host.entityFilter(filterArgs)).rejects.toThrow(
+ 'graphql cache ipc timeout: graphql_cache_entity_filter'
+ );
+ await vi.advanceTimersByTimeAsync(60);
+ await assertion;
+ invokeMock.mockResolvedValue({ kind: 'unsupported' });
+ await expect(host.entityFilter(filterArgs)).resolves.toEqual({
+ kind: 'unsupported',
+ });
+ expect(
+ invokeMock.mock.calls.filter(
+ ([command]) => command === 'graphql_cache_entity_filter'
+ )
+ ).toHaveLength(2);
+ } finally {
+ host.dispose();
+ vi.useRealTimers();
+ }
+ });
+
+ it('rechecks capabilities when a new native host is created', async () => {
+ const filter = vi
+ .fn()
+ .mockRejectedValueOnce(missingFilterCommand)
+ .mockResolvedValueOnce(emptyMailPage);
+ invokeMock.mockImplementation(async (command: string) =>
+ command === 'graphql_cache_entity_filter' ? await filter() : null
+ );
+ const oldHost = createTauriCacheHost({ scope: 'scope-1' });
+ try {
+ await expect(oldHost.entityFilter(filterArgs)).resolves.toEqual({
+ kind: 'unsupported',
+ });
+ } finally {
+ oldHost.dispose();
+ }
+ const newHost = createTauriCacheHost({ scope: 'scope-1' });
+ try {
+ await expect(newHost.entityFilter(filterArgs)).resolves.toEqual(
+ emptyMailPage
+ );
+ expect(filter).toHaveBeenCalledTimes(2);
+ } finally {
+ newHost.dispose();
+ }
+ });
+
it('sends writes with origin and dependency registration', async () => {
const host = createTauriCacheHost({ scope: 'scope-1' });
const writeResult = { changed: ['A:1'], affectedOps: [], reset: false };
diff --git a/apps/web/src/lib/graphql-cache/host/tauri-host.ts b/apps/web/src/lib/graphql-cache/host/tauri-host.ts
index ea4a05fc12..e79c891fed 100644
--- a/apps/web/src/lib/graphql-cache/host/tauri-host.ts
+++ b/apps/web/src/lib/graphql-cache/host/tauri-host.ts
@@ -18,6 +18,8 @@ import type {
CommitOptimisticWriteResult,
DeferOptimisticWriteResult,
EnqueueOptimisticMutationResult,
+ EntityFilterCacheArgs,
+ EntityFilterCacheResult,
HydrationResult,
MutationClaim,
MutationSettlement,
@@ -73,6 +75,7 @@ export interface TauriHostOptions {
}
const DEFAULT_REQUEST_TIMEOUT_MS = 10_000;
+const ENTITY_FILTER_COMMAND = 'graphql_cache_entity_filter';
export function createTauriCacheHost(options: TauriHostOptions): CacheHost {
const clientId = crypto.randomUUID();
@@ -84,6 +87,12 @@ export function createTauriCacheHost(options: TauriHostOptions): CacheHost {
const requestTimeoutMs =
options.requestTimeoutMs ?? DEFAULT_REQUEST_TIMEOUT_MS;
+ // TODO(native-full-release): Remove this flag and the missing-command fallback
+ // once a full native/iOS release includes entity filtering AND older binaries
+ // no longer receive these OTA bundles. OTA updates cannot add Rust commands.
+ // Keep this per host so a new native binary is probed again after restarting.
+ let entityFilterUnavailable = false;
+
function request<T>(
command: string,
args: Record<string, unknown>,
@@ -204,9 +213,27 @@ export function createTauriCacheHost(options: TauriHostOptions): CacheHost {
});
},
- async entityFilter() {
- // The first profile is browser Turso/OPFS-only.
- return { kind: 'unsupported' };
+ async entityFilter(
+ args: EntityFilterCacheArgs
+ ): Promise<EntityFilterCacheResult> {
+ await ready;
+ if (entityFilterUnavailable) return { kind: 'unsupported' };
+ try {
+ return await request<EntityFilterCacheResult>(ENTITY_FILTER_COMMAND, {
+ request: args,
+ });
+ } catch (error) {
+ // Match Tauri's exact unknown-command response, not storage, validation,
+ // ACL or timeout failures. Preserve the pre-OTA behavior on old binaries.
+ if (
+ !(error instanceof Error) ||
+ error.message !== `Command ${ENTITY_FILTER_COMMAND} not found`
+ ) {
+ throw error;
+ }
+ entityFilterUnavailable = true;
+ return { kind: 'unsupported' };
+ }
},
async writeQuery(args: CacheWriteArgs): Promise<WriteResult> {
diff --git a/apps/web/src/lib/queries/soup/backfill.test.tsx b/apps/web/src/lib/queries/soup/backfill.test.tsx
index 7c508839fb..d0bc5d7e63 100644
--- a/apps/web/src/lib/queries/soup/backfill.test.tsx
+++ b/apps/web/src/lib/queries/soup/backfill.test.tsx
@@ -407,9 +407,31 @@ describe('runSoupBackfills', () => {
rendered.unmount();
});
+ it('does not reuse pre-projection native backfill checkpoints', () => {
+ localStorage.setItem(
+ 'graphql-soup-backfill:v12:user-1:email-filter-metadata',
+ JSON.stringify({
+ userId: 'user-1',
+ nextCursor: 'old-page',
+ pagesFetched: 3,
+ completed: false,
+ scanStartedAt: '2026-09-01T00:00:00.000Z',
+ updatedSince: null,
+ completedAt: null,
+ })
+ );
+ expect(
+ loadSoupBackfillCheckpoint('user-1', 'email-filter-metadata')
+ ).toMatchObject({
+ nextCursor: null,
+ pagesFetched: 0,
+ completed: false,
+ });
+ });
+
it('restarts from the beginning when the cache generation is replaced', async () => {
localStorage.setItem(
- 'graphql-soup-backfill:v12:user-1:core-entities',
+ 'graphql-soup-backfill:v13:user-1:core-entities',
JSON.stringify({
userId: 'user-1',
nextCursor: 'stale-cursor',
diff --git a/apps/web/src/lib/queries/soup/backfill.ts b/apps/web/src/lib/queries/soup/backfill.ts
index 5f0f488ecc..36201fc4b0 100644
--- a/apps/web/src/lib/queries/soup/backfill.ts
+++ b/apps/web/src/lib/queries/soup/backfill.ts
@@ -26,8 +26,9 @@ import { createEffect, createSignal, onCleanup } from 'solid-js';
// Bump when a default backfill input or completion guarantee changes so
// persisted cursors cannot retain an older hydration contract.
-// Rehydrate existing channel rows into the general Soup predicate profile.
-const BACKFILL_VERSION = 12;
+// Native hosts now maintain Soup/Mail predicate projections. Restart old
+// scans (including interrupted ones) so pre-index native records are rehydrated.
+const BACKFILL_VERSION = 13;
const PAGE_LIMIT = 100;
// Five threads × twenty messages reaches the backend's 100-message cap.
const EMAIL_CONTENT_PAGE_LIMIT = 5;
diff --git a/apps/web/src/lib/queries/soup/graphql/items.test.ts b/apps/web/src/lib/queries/soup/graphql/items.test.ts
index d12784f103..4c446b62d9 100644
--- a/apps/web/src/lib/queries/soup/graphql/items.test.ts
+++ b/apps/web/src/lib/queries/soup/graphql/items.test.ts
@@ -5,6 +5,7 @@ import type {
OperationContext,
OperationResult,
} from '@urql/core';
+import { CombinedError } from '@urql/core';
import { createComputed, createRoot, createSignal } from 'solid-js';
import { beforeEach, describe, expect, it, vi } from 'vitest';
import { makeSubject } from 'wonka';
@@ -69,6 +70,7 @@ import { createGraphqlSoupAstItemsQuery } from './items';
type FakeExecution = {
variables: Record<string, unknown>;
+ fail(error: CombinedError): void;
next(
data: unknown,
metadata?: {
@@ -116,6 +118,8 @@ function makeFakeClient(): {
} as Operation<unknown, Record<string, unknown>>;
executions.push({
variables: _request.variables,
+ fail: (error) =>
+ subject.next({ operation, error, stale: false, hasNext: false }),
next: (
data,
metadata = { source: 'live-network', revision: REVISION_1 }
@@ -267,6 +271,73 @@ describe('createGraphqlSoupAstItemsQuery', () => {
}
});
+ it.each(['mail-page', 'incomplete', 'unsupported'] as const)(
+ 'handles a failed network refresh with %s local Mail proof',
+ async (kind) => {
+ const fake = makeFakeClient();
+ getGraphqlSoupClientMock.mockReturnValue(fake.client);
+ getGraphqlSoupCacheHostMock.mockReturnValue({
+ currentRevision: async () => REVISION_0,
+ entityFilter: entityFilterMock,
+ onCacheChanged: () => () => {},
+ onCacheGenerationChanged: () => () => {},
+ });
+ makeGraphqlSoupInputMock.mockReturnValue({
+ initial: { emailView: 'ALL', sortMethod: 'UPDATED_AT', limit: 10 },
+ });
+ entityFilterMock.mockResolvedValue({
+ kind,
+ revision: REVISION_0,
+ keys: [],
+ sortTimestamps: [],
+ nextCursor: null,
+ optimistic: false,
+ });
+ readRecordsByKeysMock.mockResolvedValue({
+ revision: REVISION_0,
+ records: [],
+ });
+ let dispose!: () => void;
+ let query!: ReturnType<typeof createGraphqlSoupAstItemsQuery>;
+ createRoot((stop) => {
+ dispose = stop;
+ query = createGraphqlSoupAstItemsQuery(
+ () => ({ params: {}, body: {} }),
+ () => ({ enabled: true })
+ );
+ });
+ try {
+ await vi.waitFor(() => expect(entityFilterMock).toHaveBeenCalled());
+ const offlineError = new CombinedError({
+ networkError: new Error('API disconnected'),
+ });
+ fake.executions[0].fail(offlineError);
+ if (kind === 'mail-page') {
+ await vi.waitFor(() => expect(query.data()?.cachedMail).toBe(true));
+ expect(query.data()?.entities).toEqual([]);
+ expect(query.error()).toBeUndefined();
+ // Server-reported errors are not hidden just because local data exists.
+ const serverError = new CombinedError({
+ graphQLErrors: ['Forbidden'],
+ });
+ fake.executions[0].fail(serverError);
+ expect(query.error()).toBe(serverError);
+ const unauthorized = new CombinedError({
+ networkError: new Error('HTTP 403'),
+ response: { status: 403 },
+ });
+ fake.executions[0].fail(unauthorized);
+ expect(query.error()).toBe(unauthorized);
+ } else {
+ expect(query.data()?.cachedMail).not.toBe(true);
+ expect(query.error()).toBe(offlineError);
+ }
+ } finally {
+ dispose();
+ }
+ }
+ );
+
it.each([
{ localNext: null, networkNext: 'server-next' },
{ localNext: 'local-next', networkNext: null },
diff --git a/apps/web/src/lib/queries/soup/graphql/items.ts b/apps/web/src/lib/queries/soup/graphql/items.ts
index b283b2eb08..d4758b15f8 100644
--- a/apps/web/src/lib/queries/soup/graphql/items.ts
+++ b/apps/web/src/lib/queries/soup/graphql/items.ts
@@ -561,7 +561,22 @@ export function createGraphqlSoupAstItemsQuery(
};
});
- const error = (): CombinedError | undefined => query.error ?? undefined;
+ const error = (): CombinedError | undefined => {
+ const error = query.error;
+ // A background transport failure must not replace usable cached Mail
+ // (including an exact empty page) with the full-screen error state.
+ // Keep server responses (including HTTP auth failures), GraphQL errors,
+ // and failures without current-query local proof visible.
+ if (
+ error?.networkError &&
+ !error.response &&
+ error.graphQLErrors.length === 0 &&
+ displayLocalProjection()?.mail
+ ) {
+ return undefined;
+ }
+ return error ?? undefined;
+ };
createComputed(
on(error, (queryError) => {
if (queryError) {
diff --git a/apps/web/src/lib/service-clients/service-storage/shared-mail-backfill.test.ts b/apps/web/src/lib/service-clients/service-storage/shared-mail-backfill.test.ts
index b56e2f770b..3cf6a4c776 100644
--- a/apps/web/src/lib/service-clients/service-storage/shared-mail-backfill.test.ts
+++ b/apps/web/src/lib/service-clients/service-storage/shared-mail-backfill.test.ts
@@ -1,8 +1,15 @@
+import { createTauriCacheHost } from '@graphql-cache/host/tauri-host';
import type { CacheHost } from '@graphql-cache/host/types';
import { parseCacheRevision } from '@graphql-cache/protocol';
import { describe, expect, it, vi } from 'vitest';
import { createSharedMailBackfillFetcher } from './shared-mail-backfill';
+const invokeMock = vi.hoisted(() => vi.fn());
+vi.mock('@tauri-apps/api/core', () => ({ invoke: invokeMock }));
+vi.mock('@tauri-apps/api/event', () => ({
+ listen: vi.fn(async () => () => {}),
+}));
+
vi.mock('./graphql-soup', () => ({
getGraphqlSoupCacheHost: vi.fn(),
hydrateGraphqlSoup: vi.fn(),
@@ -29,6 +36,61 @@ function host() {
const input = { initial: { emailView: 'ALL' as const } };
describe('Shared Mail scope refresh', () => {
+ it('continues Shared hydration when an OTA frontend runs on a native binary without entity filtering', async () => {
+ invokeMock.mockReset();
+ invokeMock.mockImplementation(async (command: string) => {
+ if (command === 'graphql_cache_init') return null;
+ if (command === 'graphql_cache_read')
+ return { kind: 'hit', data: { user: { id: 'viewer' } } };
+ if (command === 'graphql_cache_entity_filter')
+ throw new Error('Command graphql_cache_entity_filter not found');
+ throw new Error(`Unexpected native command: ${command}`);
+ });
+ const cache = createTauriCacheHost({ scope: 'legacy-ios' });
+ const fetch = vi
+ .fn()
+ .mockResolvedValueOnce({
+ nextCursor: 'network-next',
+ entityIds: ['first'],
+ })
+ .mockResolvedValueOnce({ nextCursor: null, entityIds: ['second'] });
+ try {
+ const scan = await createSharedMailBackfillFetcher(
+ 'viewer',
+ cache,
+ fetch
+ );
+ await expect(scan(input)).resolves.toEqual({
+ nextCursor: 'network-next',
+ entityIds: ['first'],
+ });
+ const continuation = { continuation: { cursor: 'network-next' } };
+ await expect(scan(continuation)).resolves.toEqual({
+ nextCursor: null,
+ entityIds: ['second'],
+ });
+ expect(fetch.mock.calls).toEqual([
+ [input, undefined],
+ [continuation, undefined],
+ ]);
+ await createSharedMailBackfillFetcher('viewer', cache, fetch);
+ expect(
+ invokeMock.mock.calls.filter(
+ ([command]) => command === 'graphql_cache_entity_filter'
+ )
+ ).toHaveLength(1);
+ expect(
+ invokeMock.mock.calls.some(
+ ([command]) =>
+ command === 'graphql_cache_invalidate' ||
+ command === 'graphql_cache_delete_records'
+ )
+ ).toBe(false);
+ } finally {
+ cache.dispose();
+ }
+ });
+
it('invalidates missing old proof only after a complete successful scan', async () => {
const cache = host();
const fetch = vi
diff --git a/apps/web/tauri/Cargo.lock b/apps/web/tauri/Cargo.lock
index df01d213ee..22c2e59e79 100644
--- a/apps/web/tauri/Cargo.lock
+++ b/apps/web/tauri/Cargo.lock
@@ -481,9 +481,9 @@ checksum = "c08606f8c3cbf4ce6ec8e28fb0014a2c086708fe954eaa885384a6165172e7e8"
[[package]]
name = "aws-lc-rs"
-version = "1.16.3"
+version = "1.18.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "0ec6fb3fe69024a75fa7e1bfb48aa6cf59706a101658ea01bfd33b2b248a038f"
+checksum = "b281d307588d634de920874890732659e2e7672f72b5e10e81badc1a8a83621e"
dependencies = [
"aws-lc-sys",
"zeroize",
@@ -491,14 +491,15 @@ dependencies = [
[[package]]
name = "aws-lc-sys"
-version = "0.40.0"
+version = "0.45.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "f50037ee5e1e41e7b8f9d161680a725bd1626cb6f8c7e901f91f942850852fe7"
+checksum = "9bff6c3b54fad79a2e60b8102caf565819711497c1f5f092f49508e2f5c31b27"
dependencies = [
"cc",
"cmake",
"dunce",
"fs_extra",
+ "pkg-config",
]
[[package]]
@@ -1143,6 +1144,13 @@ version = "3.0.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7704b5fdd17b18ae31c4c1da5a2e0305a2bf17b5249300a9ee9ed7b72114c636"
+[[package]]
+name = "cowlike"
+version = "0.1.0"
+dependencies = [
+ "either",
+]
+
[[package]]
name = "cpufeatures"
version = "0.2.17"
@@ -1614,6 +1622,15 @@ dependencies = [
"litrs",
]
+[[package]]
+name = "document_sub_type"
+version = "0.1.0"
+dependencies = [
+ "serde",
+ "strum 0.27.2",
+ "thiserror 2.0.18",
+]
+
[[package]]
name = "dom_query"
version = "0.27.0"
@@ -1629,6 +1646,45 @@ dependencies = [
"tendril 0.5.0",
]
+[[package]]
+name = "doppleganger"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "51a96cb2655fc126bfa552d79866bfaa542e9956dcd8f79454a49c405003cf86"
+dependencies = [
+ "doppleganger-core",
+ "doppleganger-macros",
+]
+
+[[package]]
+name = "doppleganger-core"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "98a55433d78ee9219f69b8c34d1058f2f26b413a959606c593704eb453f4e7d2"
+
+[[package]]
+name = "doppleganger-macros"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7eedde8f1d892e8453ec1a3cd51029d19afab36546d0df43e6d31f049de4021d"
+dependencies = [
+ "doppleganger-macros-parse",
+ "proc-macro2",
+ "quote",
+ "unsynn",
+]
+
+[[package]]
+name = "doppleganger-macros-parse"
+version = "0.5.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "8adad89fa08cce316e9a1d678aad6ff3afd9b04c5f70b9bb03bbd7ae5fde8f9b"
+dependencies = [
+ "proc-macro2",
+ "quote",
+ "unsynn",
+]
+
[[package]]
name = "dpi"
version = "0.1.2"
@@ -1863,6 +1919,14 @@ dependencies = [
"rustc_version",
]
+[[package]]
+name = "filter_ast"
+version = "0.1.0"
+dependencies = [
+ "recursion",
+ "serde",
+]
+
[[package]]
name = "find-msvc-tools"
version = "0.1.11"
@@ -2379,14 +2443,34 @@ dependencies = [
"cache-core",
"cache-turso",
"pollster",
+ "predicate-index",
"serde",
"serde_json",
+ "soup-filter-cache-adapter",
+ "soup-filter-projection",
"tauri",
"tempfile",
"tokio",
"tracing",
]
+[[package]]
+name = "graphql_soup_filter_input"
+version = "0.1.0"
+dependencies = [
+ "chrono",
+ "document_sub_type",
+ "filter_ast",
+ "item_filters",
+ "macro_user_id",
+ "model_file_type",
+ "notification_state",
+ "serde",
+ "serde_json",
+ "thiserror 2.0.18",
+ "uuid",
+]
+
[[package]]
name = "gtk"
version = "0.18.2"
@@ -3001,6 +3085,38 @@ dependencies = [
"once_cell",
]
+[[package]]
+name = "item-filter-index"
+version = "0.1.0"
+dependencies = [
+ "filter_ast",
+ "item_filters",
+ "predicate-index",
+ "thiserror 2.0.18",
+ "uuid",
+]
+
+[[package]]
+name = "item_filters"
+version = "0.1.0"
+dependencies = [
+ "chrono",
+ "document_sub_type",
+ "either",
+ "filter_ast",
+ "macro_user_id",
+ "model_file_type",
+ "nom",
+ "non_empty",
+ "notification_state",
+ "rootcause",
+ "serde",
+ "serde_json",
+ "strum 0.27.2",
+ "thiserror 2.0.18",
+ "uuid",
+]
+
[[package]]
name = "itoa"
version = "1.0.18"
@@ -3415,6 +3531,18 @@ dependencies = [
"zip",
]
+[[package]]
+name = "macro_user_id"
+version = "0.1.0"
+dependencies = [
+ "cowlike",
+ "doppleganger",
+ "nom",
+ "serde",
+ "thiserror 2.0.18",
+ "tracing",
+]
+
[[package]]
name = "markup5ever"
version = "0.14.1"
@@ -3550,6 +3678,16 @@ dependencies = [
"windows-sys 0.61.2",
]
+[[package]]
+name = "model_file_type"
+version = "0.1.0"
+dependencies = [
+ "serde",
+ "serde_json",
+ "strum 0.27.2",
+ "thiserror 2.0.18",
+]
+
[[package]]
name = "muda"
version = "0.17.2"
@@ -3571,6 +3709,12 @@ dependencies = [
"windows-sys 0.60.2",
]
+[[package]]
+name = "mutants"
+version = "0.0.3"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "bc0287524726960e07b119cebd01678f852f147742ae0d925e6a520dca956126"
+
[[package]]
name = "navigation_plugin"
version = "0.1.0"
@@ -3740,6 +3884,20 @@ dependencies = [
"memchr",
]
+[[package]]
+name = "non_empty"
+version = "0.1.0"
+dependencies = [
+ "serde",
+]
+
+[[package]]
+name = "notification_state"
+version = "0.1.0"
+dependencies = [
+ "serde",
+]
+
[[package]]
name = "notify-rust"
version = "4.16.0"
@@ -4995,6 +5153,12 @@ version = "0.6.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "20675572f6f24e9e76ef639bc5552774ed45f1c30e2951e1e99c59888861c539"
+[[package]]
+name = "recursion"
+version = "0.5.4"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "9dba2197bf7b1d87b4dd460c195f4edeb45a94e82e8054f8d5f317c1f0e93ca1"
+
[[package]]
name = "redox_syscall"
version = "0.5.18"
@@ -5177,6 +5341,7 @@ version = "0.12.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "4fc4bd36159c7ce180fe2de1e5371ef107a2885f0048430f631e78202e2255d4"
dependencies = [
+ "anyhow",
"hashbrown 0.16.1",
"indexmap 2.14.0",
"rootcause-internals",
@@ -5278,9 +5443,9 @@ dependencies = [
[[package]]
name = "rustls"
-version = "0.23.38"
+version = "0.23.45"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "69f9466fb2c14ea04357e91413efb882e2a6d4a406e625449bc0a5d360d53a21"
+checksum = "0d41d731c7d2f962d1ccc364cec258de3c0e93b38c2fb3ba97ac74513048d634"
dependencies = [
"aws-lc-rs",
"once_cell",
@@ -5341,9 +5506,9 @@ checksum = "f87165f0995f63a9fbeea62b64d10b4d9d8e78ec6d7d51fb2125fda7bb36788f"
[[package]]
name = "rustls-webpki"
-version = "0.103.13"
+version = "0.103.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "61c429a8649f110dddef65e2a5ad240f747e85f7758a6bccc7e5777bd33f756e"
+checksum = "f3c3cf1d8b1e7d4927e2d154c3fcb02979afb9939629c62cd9048d4f07b60ac2"
dependencies = [
"aws-lc-rs",
"ring",
@@ -5870,6 +6035,39 @@ dependencies = [
"windows-sys 0.61.2",
]
+[[package]]
+name = "soup-filter-cache-adapter"
+version = "0.1.0"
+dependencies = [
+ "cache-core",
+ "chrono",
+ "graphql_soup_filter_input",
+ "indexmap 2.14.0",
+ "item-filter-index",
+ "predicate-index",
+ "serde",
+ "serde_json",
+ "soup-filter-projection",
+ "thiserror 2.0.18",
+ "uuid",
+]
+
+[[package]]
+name = "soup-filter-projection"
+version = "0.1.0"
+dependencies = [
+ "base64 0.22.1",
+ "chrono",
+ "document_sub_type",
+ "item-filter-index",
+ "model_file_type",
+ "postcard",
+ "predicate-index",
+ "serde",
+ "thiserror 2.0.18",
+ "uuid",
+]
+
[[package]]
name = "soup3"
version = "0.5.0"
@@ -7418,7 +7616,7 @@ version = "2.1.3"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "8464ec13c3691491391d9fce00f6416c9a48e46972f72d7865688be2080192c9"
dependencies = [
- "rand 0.9.4",
+ "rand 0.10.2",
]
[[package]]
@@ -7552,6 +7750,17 @@ dependencies = [
"subtle",
]
+[[package]]
+name = "unsynn"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "501a7adf1a4bd9951501e5c66621e972ef8874d787628b7f90e64f936ef7ec0a"
+dependencies = [
+ "mutants",
+ "proc-macro2",
+ "rustc-hash 2.1.2",
+]
+
[[package]]
name = "untrusted"
version = "0.9.0"
diff --git a/apps/web/tauri/graphql_cache_plugin/Cargo.toml b/apps/web/tauri/graphql_cache_plugin/Cargo.toml
index b38bdaa17c..d7244e3150 100644
--- a/apps/web/tauri/graphql_cache_plugin/Cargo.toml
+++ b/apps/web/tauri/graphql_cache_plugin/Cargo.toml
@@ -6,6 +6,8 @@ edition.workspace = true
[dependencies]
cache-core = { path = "../../../../crates/client/cache-core" }
cache-turso = { path = "../../../../crates/client/cache-turso" }
+predicate-index = { path = "../../../../crates/predicate_index" }
+soup-filter-cache-adapter = { path = "../../../../crates/soup_filter_cache_adapter" }
serde = { workspace = true, features = ["derive"] }
serde_json = "1"
tauri = { workspace = true }
@@ -15,3 +17,4 @@ tracing = { workspace = true }
[dev-dependencies]
pollster = { workspace = true }
tempfile = "3"
+soup-filter-projection = { path = "../../../../crates/soup_filter_projection", default-features = false }
diff --git a/apps/web/tauri/graphql_cache_plugin/src/commands.rs b/apps/web/tauri/graphql_cache_plugin/src/commands.rs
index 51465a904d..0b39e43aaa 100644
--- a/apps/web/tauri/graphql_cache_plugin/src/commands.rs
+++ b/apps/web/tauri/graphql_cache_plugin/src/commands.rs
@@ -12,8 +12,9 @@
use crate::engine::{
AffectedOperationsResultWire, ClaimedMutationWire, CommitOptimisticWriteResultWire,
DeferOptimisticWriteResultWire, EngineHandle, EnqueueOptimisticMutationResultWire,
- MutationUpsertKindWire, ReadResultWire, RecordSelectionResultWire,
- RollbackOptimisticWriteResultWire, WriteRegistration, WriteRequest, WriteResultWire,
+ EntityFilterRequest, EntityFilterResult, MutationUpsertKindWire, ReadResultWire,
+ RecordSelectionResultWire, RollbackOptimisticWriteResultWire, WriteRegistration, WriteRequest,
+ WriteResultWire,
};
use crate::{
CacheState, InitializedCache, emit_cache_changed, emit_mutation_settled, emit_ops_affected,
@@ -129,6 +130,15 @@ pub async fn graphql_cache_search(
engine_handle(&state)?.search(request).await
}
+/// Evaluates Soup filters over native projections, including cached Mail pages.
+#[tauri::command]
+pub async fn graphql_cache_entity_filter(
+ state: State<'_, CacheState>,
+ request: EntityFilterRequest,
+) -> Result<EntityFilterResult, String> {
+ engine_handle(&state)?.entity_filter(request).await
+}
+
/// Active-query registration installed by a network write.
#[derive(Debug, Deserialize)]
#[serde(rename_all = "camelCase")]
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine.rs b/apps/web/tauri/graphql_cache_plugin/src/engine.rs
index 824bc2e524..eb5387fa7a 100644
--- a/apps/web/tauri/graphql_cache_plugin/src/engine.rs
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine.rs
@@ -33,6 +33,11 @@ use std::collections::HashMap;
use std::sync::Arc;
use tokio::sync::Mutex;
+mod soup;
+pub use soup::{
+ EntityFilterRequest, EntityFilterResult, PredicateBaselineEntry, PredicateFilterResult,
+};
+
/// Mirrors `ReadResult` in `apps/web/src/lib/graphql-cache/protocol.ts`.
#[derive(Debug, Serialize)]
#[serde(tag = "kind", rename_all = "camelCase")]
@@ -349,6 +354,9 @@ struct EngineState {
#[derive(Clone)]
pub struct EngineHandle {
inner: Arc<Mutex<EngineState>>,
+ // Shared by cloned handles, changed when the native engine is reopened.
+ // Revisions alone may repeat across process restarts.
+ mail_generation: String,
}
fn wire_write_result(ops: &OpInterner, result: WriteResult) -> WriteResultWire {
@@ -385,6 +393,7 @@ impl EngineHandle {
None => Engine::new(storage),
};
EngineHandle {
+ mail_generation: soup_filter_cache_adapter::mail::new_generation(),
inner: Arc::new(Mutex::new(EngineState {
engine,
ops: OpInterner::default(),
@@ -476,6 +485,15 @@ impl EngineHandle {
.map_err(|error| error.to_string())
}
+ /// Evaluates a Soup predicate or a revision-bound cached Mail page.
+ pub async fn entity_filter(
+ &self,
+ request: EntityFilterRequest,
+ ) -> Result<EntityFilterResult, String> {
+ let mut state = self.inner.lock().await;
+ soup::filter(&mut state.engine, &self.mail_generation, request).await
+ }
+
/// Recovers cached query variables without materializing each variant.
pub async fn inspect_query_variants(
&self,
@@ -537,8 +555,17 @@ impl EngineHandle {
let op_id = ops.intern(&registration.op_id);
(op_id, registration.entity_resolvers)
});
+ let projections = soup::write_projections(
+ engine,
+ &query,
+ operation_name.as_deref(),
+ &variables,
+ &data,
+ identity.as_deref(),
+ )
+ .await?;
engine
- .write_query_with_registration(
+ .write_query_with_registration_and_projections(
origin,
registration
.as_ref()
@@ -553,6 +580,7 @@ impl EngineHandle {
data: &data,
identity: identity.as_deref(),
},
+ projections,
)
.await
.map(|result| wire_write_result(ops, result))
@@ -571,13 +599,23 @@ impl EngineHandle {
) -> Result<HydrationWriteResultWire, String> {
let mut state = self.inner.lock().await;
let EngineState { engine, ops } = &mut *state;
+ let projections = soup::write_projections(
+ engine,
+ &query,
+ operation_name.as_deref(),
+ &variables,
+ &data,
+ identity.as_deref(),
+ )
+ .await?;
engine
- .hydrate_query(
+ .hydrate_query_with_projections(
&query,
operation_name.as_deref(),
&variables,
&data,
identity.as_deref(),
+ projections,
)
.await
.map(|result| HydrationWriteResultWire {
@@ -608,8 +646,17 @@ impl EngineHandle {
let mut state = self.inner.lock().await;
let EngineState { engine, ops } = &mut *state;
let origin = origin_op_id.map(|name| ops.intern(&name));
+ let projections = soup::optimistic_projections(
+ engine,
+ &query,
+ operation_name.as_deref(),
+ &variables,
+ &data,
+ created_at_ms,
+ )
+ .await?;
let result = engine
- .enqueue_optimistic_mutation(
+ .enqueue_optimistic_mutation_with_projections(
origin,
BeginOptimisticWrite {
uuid: &uuid,
@@ -626,6 +673,7 @@ impl EngineHandle {
now_ms,
lease_expires_at_ms,
},
+ projections,
)
.await
.map_err(|error| error.to_string())?;
@@ -716,14 +764,24 @@ impl EngineHandle {
};
let mut state = self.inner.lock().await;
let EngineState { engine, ops } = &mut *state;
+ let projections = soup::write_projections(
+ engine,
+ &query,
+ operation_name.as_deref(),
+ &variables,
+ &data,
+ None,
+ )
+ .await?;
match engine
- .commit_optimistic_write_with_outcome(
+ .commit_optimistic_write_with_projections_outcome(
transaction,
claim,
&query,
operation_name.as_deref(),
&variables,
&data,
+ projections,
)
.await
.map_err(|e| e.to_string())?
@@ -780,12 +838,14 @@ impl EngineHandle {
&self,
keys: Vec<String>,
) -> Result<AffectedOperationsResultWire, String> {
- let keys: Vec<EntityKey<'static>> =
- keys.into_iter().map(|key| EntityKey(key.into())).collect();
let mut state = self.inner.lock().await;
let EngineState { engine, ops } = &mut *state;
+ let projections = soup::invalidation_projections(engine, &keys).await?;
+ let keys: Vec<EntityKey<'static>> =
+ keys.into_iter().map(|key| EntityKey(key.into())).collect();
let affected = engine
- .invalidate_keys(keys.iter())
+ .invalidate_keys_with_projections(&keys, projections)
+ .await
.map_err(|error| error.to_string())?;
Ok(AffectedOperationsResultWire {
revision: affected.revision.to_string(),
@@ -799,11 +859,15 @@ impl EngineHandle {
&self,
keys: Vec<String>,
) -> Result<AffectedOperationsResultWire, String> {
- let keys: Vec<EntityKey<'static>> =
- keys.into_iter().map(|key| EntityKey(key.into())).collect();
let mut state = self.inner.lock().await;
let EngineState { engine, ops } = &mut *state;
- let affected = engine.delete_keys(&keys).await.map_err(|e| e.to_string())?;
+ let projections = soup::deletion_projections(engine, &keys).await?;
+ let keys: Vec<EntityKey<'static>> =
+ keys.into_iter().map(|key| EntityKey(key.into())).collect();
+ let affected = engine
+ .delete_keys_with_projection_changes(&keys, projections)
+ .await
+ .map_err(|e| e.to_string())?;
Ok(AffectedOperationsResultWire {
revision: affected.revision.to_string(),
affected_ops: ops.names(affected.value),
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine/soup.rs b/apps/web/tauri/graphql_cache_plugin/src/engine/soup.rs
new file mode 100644
index 0000000000..79db8456bc
--- /dev/null
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine/soup.rs
@@ -0,0 +1,282 @@
+//! Native transport glue for the same Soup adapter used by cache-wasm.
+//! Application policy stays in soup-filter-cache-adapter; commands hold the
+//! engine lock across projection preparation and the atomic cache write.
+
+use super::{Engine, TursoStorage, Variables};
+use cache_core::predicate::{PredicateQueryResult, ProjectionMutation};
+use predicate_index::{OptimisticProjectionMutation, RecordKey};
+use serde::{Deserialize, Serialize};
+use serde_json::Value;
+use soup_filter_cache_adapter::{
+ SoupFilterCompileOutcome, authoritative_projection_mutations, compile_filter_request,
+ dirty_projection_mutations, mail, notification_deletion_updates,
+ notification_projection_updates, optimistic_notification_updates,
+ optimistic_projection_mutations,
+};
+
+/// Same request shape as the browser host's `EntityFilterCacheArgs`.
+#[derive(Deserialize)]
+#[serde(rename_all = "camelCase", deny_unknown_fields)]
+pub struct EntityFilterRequest {
+ /// GraphQL Soup filter AST; policy/validation belongs to the Soup adapter.
+ pub filters: Value,
+ /// Requested Soup sort method.
+ pub sort_method: String,
+ /// Requested sort direction.
+ pub sort_direction: String,
+ /// Bounded maximum page size, validated by the shared compiler.
+ pub limit: u16,
+ /// Same-query server membership evidence, when reconciliation is requested.
+ pub baseline: Option<Vec<PredicateBaselineEntry>>,
+ /// Independent local Mail page request, never a server cursor.
+ pub mail: Option<mail::PageRequest>,
+}
+
+/// Server membership evidence supplied by the caller for this exact query.
+#[derive(Deserialize)]
+#[serde(rename_all = "camelCase", deny_unknown_fields)]
+pub struct PredicateBaselineEntry {
+ /// Normalized entity key.
+ pub key: String,
+ /// RFC 3339 timestamp retaining sub-millisecond sort precision.
+ pub sort_timestamp: String,
+}
+
+/// Native/browser-compatible filter result. Mail uses the shared adapter's
+/// wire representation directly rather than redefining its cursor contract.
+#[derive(Serialize)]
+#[serde(untagged)]
+pub enum EntityFilterResult {
+ /// Canonical cached Mail pagination result.
+ Mail(mail::PageResult),
+ /// Generic Soup predicate-index result.
+ Predicate(PredicateFilterResult),
+}
+
+/// Generic Soup results matching the browser shell's tagged wire contract.
+#[derive(Serialize)]
+#[serde(
+ tag = "kind",
+ rename_all = "kebab-case",
+ rename_all_fields = "camelCase"
+)]
+pub enum PredicateFilterResult {
+ /// Local results reconciled with same-query server membership evidence.
+ Reconciled {
+ /// Effective-view revision.
+ revision: String,
+ /// Matching normalized entity keys in display order.
+ keys: Vec<String>,
+ /// Survivors backed only by the supplied server baseline.
+ retained_keys: Vec<String>,
+ /// Whether queued optimistic work contributed to the result.
+ optimistic: bool,
+ },
+ /// Exact local evaluation over the supported profile.
+ Complete {
+ /// Effective-view revision.
+ revision: String,
+ /// Matching normalized entity keys in display order.
+ keys: Vec<String>,
+ /// Whether queued optimistic work contributed to the result.
+ optimistic: bool,
+ },
+ /// The requested predicate is outside the local support profile.
+ Unsupported,
+ /// Required cached proof is missing or uncertain, not a negative match.
+ Incomplete {
+ /// Effective-view revision.
+ revision: String,
+ },
+}
+
+pub(super) async fn filter(
+ engine: &mut Engine<TursoStorage>,
+ generation: &str,
+ request: EntityFilterRequest,
+) -> Result<EntityFilterResult, String> {
+ if let Some(mail_request) = request.mail {
+ return mail::page(
+ engine,
+ generation,
+ request.filters,
+ &request.sort_method,
+ &request.sort_direction,
+ request.limit,
+ mail_request,
+ )
+ .await
+ .map(EntityFilterResult::Mail)
+ .map_err(|error| error.to_string());
+ }
+ let outcome = compile_filter_request(
+ request.filters,
+ &request.sort_method,
+ &request.sort_direction,
+ request.limit,
+ )
+ .map_err(|error| error.to_string())?;
+ let result = match outcome {
+ SoupFilterCompileOutcome::Unsupported => PredicateFilterResult::Unsupported,
+ SoupFilterCompileOutcome::Supported(query) if request.baseline.is_some() => {
+ let baseline = request.baseline.unwrap();
+ if baseline.len() > cache_core::predicate::reconciliation::MAX_RECONCILIATION_BASELINE {
+ return Err("reconciliation baseline is too large".to_owned());
+ }
+ let baseline = baseline
+ .into_iter()
+ .map(|entry| {
+ soup_filter_cache_adapter::reconciliation_baseline_entry(
+ entry.key,
+ &entry.sort_timestamp,
+ )
+ })
+ .collect::<Result<Vec<_>, _>>()
+ .map_err(|error| error.to_string())?;
+ let result = engine
+ .reconcile_predicate_index(&query, &baseline)
+ .await
+ .map_err(|error| error.to_string())?;
+ PredicateFilterResult::Reconciled {
+ revision: result.revision.to_string(),
+ keys: result
+ .value
+ .keys
+ .into_iter()
+ .map(|key| key.as_str().to_owned())
+ .collect(),
+ retained_keys: result
+ .value
+ .retained_keys
+ .into_iter()
+ .map(|key| key.as_str().to_owned())
+ .collect(),
+ optimistic: result.value.optimistic,
+ }
+ }
+ SoupFilterCompileOutcome::Supported(query) => {
+ let result = engine
+ .query_predicate_index(&query)
+ .await
+ .map_err(|error| error.to_string())?;
+ let revision = result.revision.to_string();
+ match result.value {
+ PredicateQueryResult::Complete(keys) => PredicateFilterResult::Complete {
+ revision,
+ keys: keys
+ .into_iter()
+ .map(|key| key.as_str().to_owned())
+ .collect(),
+ optimistic: false,
+ },
+ PredicateQueryResult::Optimistic(keys) => PredicateFilterResult::Complete {
+ revision,
+ keys: keys
+ .into_iter()
+ .map(|key| key.as_str().to_owned())
+ .collect(),
+ optimistic: true,
+ },
+ PredicateQueryResult::Incomplete => PredicateFilterResult::Incomplete { revision },
+ }
+ }
+ };
+ Ok(EntityFilterResult::Predicate(result))
+}
+
+pub(super) async fn write_projections(
+ engine: &mut Engine<TursoStorage>,
+ query: &str,
+ operation: Option<&str>,
+ variables: &Variables,
+ data: &Value,
+ identity: Option<&str>,
+) -> Result<Vec<ProjectionMutation>, String> {
+ let mut projections = authoritative_projection_mutations(query, operation, data)
+ .map_err(|error| error.to_string())?;
+ // Do not compose the new viewer's partial writes with the old viewer's
+ // authoritative data. Engine still owns the actual atomic identity reset.
+ let reuse_stored_identity = match identity {
+ Some(observed) => engine
+ .current_identity()
+ .await
+ .map_err(|error| error.to_string())?
+ .as_deref()
+ .is_none_or(|bound| bound == observed),
+ None => true,
+ };
+ if reuse_stored_identity {
+ projections.extend(
+ notification_projection_updates(engine.storage(), query, operation, variables, data)
+ .await
+ .map_err(|error| error.to_string())?,
+ );
+ }
+ projections.extend(
+ mail::projection_updates_for_write(
+ engine.storage(),
+ query,
+ operation,
+ variables,
+ data,
+ reuse_stored_identity,
+ )
+ .await
+ .map_err(|error| error.to_string())?,
+ );
+ Ok(projections)
+}
+
+pub(super) async fn optimistic_projections(
+ engine: &Engine<TursoStorage>,
+ query: &str,
+ operation: Option<&str>,
+ variables: &Variables,
+ data: &Value,
+ created_at_ms: i64,
+) -> Result<Vec<OptimisticProjectionMutation>, String> {
+ let mut projections = optimistic_projection_mutations(data, created_at_ms);
+ projections.extend(
+ optimistic_notification_updates(
+ notification_projection_updates(engine.storage(), query, operation, variables, data)
+ .await
+ .map_err(|error| error.to_string())?,
+ )
+ .map_err(|error| error.to_string())?,
+ );
+ projections.extend(mail::optimistic_updates(
+ mail::projection_updates(engine.storage(), query, operation, variables, data)
+ .await
+ .map_err(|error| error.to_string())?,
+ ));
+ Ok(projections)
+}
+
+pub(super) async fn invalidation_projections(
+ engine: &Engine<TursoStorage>,
+ keys: &[String],
+) -> Result<Vec<ProjectionMutation>, String> {
+ let mut projections = dirty_projection_mutations(keys);
+ projections.extend(mail::dirty_updates(keys));
+ projections.extend(
+ notification_deletion_updates(engine.storage(), keys, true)
+ .await
+ .map_err(|error| error.to_string())?,
+ );
+ Ok(projections)
+}
+
+pub(super) async fn deletion_projections(
+ engine: &Engine<TursoStorage>,
+ keys: &[String],
+) -> Result<Vec<ProjectionMutation>, String> {
+ let mut projections = notification_deletion_updates(engine.storage(), keys, false)
+ .await
+ .map_err(|error| error.to_string())?;
+ projections.extend(
+ keys.iter()
+ .filter_map(|key| RecordKey::new(key.clone()).ok())
+ .map(ProjectionMutation::Delete),
+ );
+ Ok(projections)
+}
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine/test.rs b/apps/web/tauri/graphql_cache_plugin/src/engine/test.rs
index b3058d53fa..32f46b8ef3 100644
--- a/apps/web/tauri/graphql_cache_plugin/src/engine/test.rs
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine/test.rs
@@ -1,6 +1,8 @@
use super::*;
use pollster::block_on;
+mod soup;
+
const QUERY: &str = r#"query Soup($input: SoupInput!) {
user { id soup(input: $input) { nextCursor items { __typename id } } }
}"#;
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine/test/mail.graphql b/apps/web/tauri/graphql_cache_plugin/src/engine/test/mail.graphql
new file mode 100644
index 0000000000..cbcd9b11fa
--- /dev/null
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine/test/mail.graphql
@@ -0,0 +1,27 @@
+query NativeMailBackfill {
+ user {
+ id @cacheOnly
+ emailLinks @cacheOnly { id }
+ soup(input: { initial: { limit: 100, emailView: ALL } }) {
+ items @cacheOnly {
+ __typename
+ id
+ cacheProjection
+ ... on GraphqlSoupEmailThread {
+ name
+ ownerId
+ linkId
+ isRead
+ inboxVisible
+ isSignal
+ latestInboundMessageTs
+ updatedAt
+ mailAllPreview { id subject snippet isDraft senderEmail senderName senderPhotoUrl }
+ mailDraftPreview { id subject snippet isDraft senderEmail senderName senderPhotoUrl }
+ mailSentPreview { id subject snippet isDraft senderEmail senderName senderPhotoUrl }
+ }
+ }
+ nextCursor
+ }
+ }
+}
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine/test/partial-mail.graphql b/apps/web/tauri/graphql_cache_plugin/src/engine/test/partial-mail.graphql
new file mode 100644
index 0000000000..3f842b5c11
--- /dev/null
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine/test/partial-mail.graphql
@@ -0,0 +1,13 @@
+query PartialMail {
+ user {
+ id
+ emailLinks { id }
+ soup(input: { initial: { limit: 1, emailView: ALL } }) {
+ items {
+ __typename
+ id
+ ... on GraphqlSoupEmailThread { isRead inboxVisible }
+ }
+ }
+ }
+}
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine/test/project.graphql b/apps/web/tauri/graphql_cache_plugin/src/engine/test/project.graphql
new file mode 100644
index 0000000000..5bf94f579e
--- /dev/null
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine/test/project.graphql
@@ -0,0 +1,19 @@
+query NativeProject {
+ user {
+ id
+ soup(input: { initial: { limit: 100 } }) {
+ items {
+ __typename
+ id
+ cacheProjection
+ ... on GraphqlSoupProject {
+ ownerId
+ parentId
+ createdAt
+ updatedAt
+ notifications { __typename id }
+ }
+ }
+ }
+ }
+}
diff --git a/apps/web/tauri/graphql_cache_plugin/src/engine/test/soup.rs b/apps/web/tauri/graphql_cache_plugin/src/engine/test/soup.rs
new file mode 100644
index 0000000000..fdbc1069b7
--- /dev/null
+++ b/apps/web/tauri/graphql_cache_plugin/src/engine/test/soup.rs
@@ -0,0 +1,448 @@
+use super::*;
+use cache_turso::TursoFileDatabase;
+use predicate_index::RecordKey;
+use serde_json::{Value, json};
+use soup_filter_projection::{
+ MailCacheProjectionFacts, SoupCacheProjectionSupplement, encode_cache_projection_supplement,
+};
+
+const VIEWER: &str = "macro|[email protected]";
+const MAIL: &str = include_str!("mail.graphql");
+const PARTIAL: &str = include_str!("partial-mail.graphql");
+const ROWS: &[u16] = &[4, 6, 8, 9, 10, 12];
+const TIMESTAMP: &str = "2025-01-04T00:00:00Z";
+const TIMESTAMP_MICROS: i64 = 1_735_948_800_000_000;
+
+fn id(n: u16) -> String {
+ format!("00000000-0000-0000-0000-{n:012}")
+}
+fn key(n: u16) -> String {
+ format!("GraphqlSoupEmailThread:{}", id(n))
+}
+
+fn preview(n: u16, offset: u16) -> Value {
+ json!({"id": id(n + offset), "subject": format!("Mail {n}"), "snippet": "preview",
+ "isDraft": offset == 2000, "senderEmail": null, "senderName": null, "senderPhotoUrl": null})
+}
+
+fn row(n: u16) -> Value {
+ let capsule = encode_cache_projection_supplement(&SoupCacheProjectionSupplement::mail(
+ RecordKey::new(key(n)).unwrap(),
+ MailCacheProjectionFacts::new(
+ Some(TIMESTAMP_MICROS),
+ n.is_multiple_of(4).then_some(TIMESTAMP_MICROS),
+ false,
+ false,
+ ),
+ ))
+ .unwrap();
+ json!({
+ "__typename": "GraphqlSoupEmailThread", "id": id(n), "name": format!("Mail {n}"),
+ "ownerId": VIEWER, "linkId": id(1000), "isRead": n.is_multiple_of(4),
+ "inboxVisible": n.is_multiple_of(2), "isSignal": n.is_multiple_of(3),
+ "cacheProjection": capsule, "latestInboundMessageTs": TIMESTAMP, "updatedAt": TIMESTAMP,
+ "mailAllPreview": preview(n, 1000),
+ "mailDraftPreview": n.is_multiple_of(3).then(|| preview(n, 2000)),
+ "mailSentPreview": n.is_multiple_of(4).then(|| preview(n, 3000)),
+ })
+}
+
+fn seed() -> Value {
+ json!({"user": {"id": VIEWER, "emailLinks": [{"id": id(1000)}], "soup": {
+ "items": ROWS.iter().copied().map(row).collect::<Vec<_>>(), "nextCursor": null,
+ }}})
+}
+
+fn filters() -> Value {
+ let nil = id(0);
+ json!({
+ "documentFilter": {"literal": {"id": nil}},
+ "projectFilter": {"literal": {"projectId": nil}},
+ "chatFilter": {"literal": {"chatId": nil}},
+ "calendarEventFilter": {"literal": {"id": nil}},
+ "channelFilter": {"literal": {"channelId": nil}},
+ "channelThreadFilter": {"literal": {"channelId": nil}},
+ "reminderFilter": {"literal": {"id": nil}},
+ "agentSessionFilter": {"literal": {"id": nil}},
+ "callFilter": {"literal": {"callId": nil}},
+ "crmCompanyFilter": {"literal": {"id": nil}},
+ "foreignEntityFilter": {"literal": {"id": nil}},
+ })
+}
+
+fn request(
+ view: &str,
+ importance: Option<bool>,
+ limit: u16,
+ cursor: Option<&str>,
+) -> EntityFilterRequest {
+ let mut filters = filters();
+ if let Some(importance) = importance {
+ filters["emailFilter"] = json!({"tree": {"literal": {"importance": importance}}});
+ }
+ serde_json::from_value(json!({"filters": filters, "sortMethod": "UPDATED_AT",
+ "sortDirection": "DESC", "limit": limit, "mail": {"view": view, "cursor": cursor}}))
+ .unwrap()
+}
+
+fn evaluate(handle: &EngineHandle, request: EntityFilterRequest) -> Value {
+ serde_json::to_value(block_on(handle.entity_filter(request)).unwrap()).unwrap()
+}
+
+fn keys(page: &Value) -> Vec<String> {
+ assert_eq!(page["kind"], "mail-page", "{page}");
+ serde_json::from_value(page["keys"].clone()).unwrap()
+}
+
+fn hydrate(handle: &EngineHandle) {
+ let result = block_on(handle.hydrate_query(
+ MAIL.into(),
+ Some("NativeMailBackfill".into()),
+ Variables::new(),
+ seed(),
+ Some(VIEWER.into()),
+ ))
+ .unwrap();
+ assert_eq!(
+ result.data,
+ Some(json!({"user": {"soup": {"nextCursor": null}}}))
+ );
+}
+
+fn patch(viewer: &str, n: u16, inbox: bool) -> Value {
+ json!({"user": {"id": viewer, "emailLinks": [{"id": id(1000)}], "soup": {"items": [{
+ "__typename": "GraphqlSoupEmailThread", "id": id(n), "isRead": true, "inboxVisible": inbox,
+ }]}}})
+}
+
+fn write_data(
+ handle: &EngineHandle,
+ query: &str,
+ data: Value,
+ identity: Option<&str>,
+) -> WriteResultWire {
+ block_on(handle.write(WriteRequest {
+ origin_op_id: None,
+ registration: None,
+ query: query.into(),
+ operation_name: None,
+ variables: Variables::new(),
+ data,
+ identity: identity.map(str::to_owned),
+ }))
+ .unwrap()
+}
+
+#[test]
+fn native_backfill_evaluates_unseen_mail_filters_without_query_baselines() {
+ let handle = spawn_handle();
+ assert_eq!(
+ evaluate(&handle, request("ALL", None, 100, None))["kind"],
+ "incomplete"
+ );
+ hydrate(&handle);
+ for (view, importance, expected) in [
+ ("INBOX", Some(true), vec![12, 6]),
+ ("INBOX", Some(false), vec![10, 8, 4]),
+ ("ALL", None, vec![12, 10, 9, 8, 6, 4]),
+ ("DRAFTS", None, vec![12, 9, 6]),
+ ("SENT", None, vec![12, 8, 4]),
+ ] {
+ let page = evaluate(&handle, request(view, importance, 100, None));
+ assert_eq!(
+ keys(&page),
+ expected.into_iter().map(key).collect::<Vec<_>>()
+ );
+ assert_eq!(
+ page["sortTimestamps"].as_array().unwrap().len(),
+ keys(&page).len()
+ );
+ assert_eq!(page["optimistic"], false);
+ }
+ let mut unread = request("ALL", None, 100, None);
+ unread.filters["emailFilter"] = json!({"tree": {"literal": {"read": false}}});
+ assert_eq!(
+ keys(&evaluate(&handle, unread)),
+ vec![key(10), key(9), key(6)]
+ );
+}
+
+#[test]
+fn native_mail_pagination_and_revision_bound_cursors() {
+ let handle = spawn_handle();
+ write_data(&handle, MAIL, seed(), Some(VIEWER));
+ let first = evaluate(&handle, request("ALL", None, 2, None));
+ let first_cursor = first["nextCursor"].as_str().unwrap();
+ let second = evaluate(&handle, request("ALL", None, 2, Some(first_cursor)));
+ let third = evaluate(
+ &handle,
+ request("ALL", None, 2, second["nextCursor"].as_str()),
+ );
+ assert_eq!(
+ [keys(&first), keys(&second), keys(&third)].concat(),
+ vec![12, 10, 9, 8, 6, 4]
+ .into_iter()
+ .map(key)
+ .collect::<Vec<_>>()
+ );
+ assert!(third["nextCursor"].is_null());
+ assert_eq!(
+ evaluate(&handle, request("INBOX", None, 2, Some(first_cursor)))["kind"],
+ "stale-cursor"
+ );
+ write_data(&handle, PARTIAL, patch(VIEWER, 4, false), None);
+ assert_eq!(
+ evaluate(&handle, request("ALL", None, 2, Some(first_cursor)))["kind"],
+ "stale-cursor"
+ );
+ assert!(block_on(handle.entity_filter(request("ALL", None, 2, Some("not a cursor")))).is_err());
+}
+
+#[test]
+fn native_mail_projections_persist_and_reopen_with_a_new_cursor_generation() {
+ let dir = tempfile::tempdir().unwrap();
+ let database = TursoFileDatabase::new(dir.path().join("cache.turso")).unwrap();
+ let handle = EngineHandle::new(database.open_or_reset("native-mail").unwrap(), None);
+ hydrate(&handle);
+ let page = evaluate(&handle, request("ALL", None, 2, None));
+ let generation = handle.mail_generation.clone();
+ handle.shutdown().unwrap();
+ let reopened = EngineHandle::new(database.open_or_reset("native-mail").unwrap(), None);
+ assert_ne!(generation, reopened.mail_generation);
+ assert_eq!(
+ keys(&evaluate(
+ &reopened,
+ request("INBOX", Some(false), 100, None)
+ )),
+ vec![key(10), key(8), key(4)]
+ );
+ assert_eq!(
+ evaluate(
+ &reopened,
+ request("ALL", None, 2, page["nextCursor"].as_str())
+ )["kind"],
+ "stale-cursor"
+ );
+ reopened.shutdown().unwrap();
+}
+
+#[test]
+fn native_invalidation_and_deletion_do_not_leave_stale_mail_candidates() {
+ let handle = spawn_handle();
+ hydrate(&handle);
+ block_on(handle.invalidate(vec![key(4)])).unwrap();
+ assert_eq!(
+ keys(&evaluate(&handle, request("INBOX", Some(false), 100, None))),
+ vec![key(10), key(8)]
+ );
+ hydrate(&handle);
+ assert_eq!(
+ keys(&evaluate(&handle, request("INBOX", Some(false), 100, None))),
+ vec![key(10), key(8), key(4)]
+ );
+ block_on(handle.delete_records(vec![key(4)])).unwrap();
+ assert_eq!(
+ keys(&evaluate(&handle, request("INBOX", Some(false), 100, None))),
+ vec![key(10), key(8)]
+ );
+ block_on(handle.clear()).unwrap();
+ assert_eq!(
+ evaluate(&handle, request("ALL", None, 100, None))["kind"],
+ "incomplete"
+ );
+}
+
+fn enqueue_archive(handle: &EngineHandle, n: u16) -> (String, String) {
+ let result = block_on(handle.enqueue_optimistic_mutation(
+ None,
+ "00000000-0000-7000-8000-000000000001".into(),
+ PARTIAL.into(),
+ None,
+ Variables::new(),
+ patch(VIEWER, n, false),
+ vec![],
+ vec![],
+ 0,
+ "native-runner".into(),
+ 10,
+ 1000,
+ ))
+ .unwrap();
+ let InitialMutationClaimWire::Claimed { mutation } = result.initial_claim else {
+ panic!("claim expected")
+ };
+ (result.transaction_id, mutation.lease_generation)
+}
+
+#[test]
+fn native_optimistic_archive_rollback_and_commit_update_filter_membership() {
+ let handle = spawn_handle();
+ hydrate(&handle);
+ let (transaction, generation) = enqueue_archive(&handle, 4);
+ let optimistic = evaluate(&handle, request("INBOX", Some(false), 100, None));
+ assert_eq!(keys(&optimistic), vec![key(10), key(8)]);
+ assert_eq!(optimistic["optimistic"], true);
+ block_on(handle.rollback_optimistic_write(transaction, "native-runner".into(), generation))
+ .unwrap();
+ assert_eq!(
+ keys(&evaluate(&handle, request("INBOX", Some(false), 100, None))),
+ vec![key(10), key(8), key(4)]
+ );
+ let (transaction, generation) = enqueue_archive(&handle, 4);
+ block_on(handle.commit_optimistic_write(
+ transaction,
+ "native-runner".into(),
+ generation,
+ PARTIAL.into(),
+ None,
+ Variables::new(),
+ patch(VIEWER, 4, false),
+ ))
+ .unwrap();
+ let committed = evaluate(&handle, request("INBOX", Some(false), 100, None));
+ assert_eq!(keys(&committed), vec![key(10), key(8)]);
+ assert_eq!(committed["optimistic"], false);
+}
+
+#[test]
+fn native_optimistic_mail_membership_survives_engine_restart() {
+ let dir = tempfile::tempdir().unwrap();
+ let database = TursoFileDatabase::new(dir.path().join("cache.turso")).unwrap();
+ let handle = EngineHandle::new(database.open_or_reset("queued-mail").unwrap(), None);
+ hydrate(&handle);
+ let (transaction, generation) = enqueue_archive(&handle, 4);
+ handle.shutdown().unwrap();
+ let reopened = EngineHandle::new(database.open_or_reset("queued-mail").unwrap(), None);
+ let page = evaluate(&reopened, request("INBOX", Some(false), 100, None));
+ assert_eq!(keys(&page), vec![key(10), key(8)]);
+ assert_eq!(page["optimistic"], true);
+ block_on(reopened.rollback_optimistic_write(transaction, "native-runner".into(), generation))
+ .unwrap();
+ assert_eq!(
+ keys(&evaluate(
+ &reopened,
+ request("INBOX", Some(false), 100, None)
+ )),
+ vec![key(10), key(8), key(4)]
+ );
+ reopened.shutdown().unwrap();
+}
+
+#[test]
+fn native_identity_switch_does_not_borrow_old_mail_projection_inputs() {
+ for hydration in [false, true] {
+ let handle = spawn_handle();
+ hydrate(&handle);
+ let data = patch("macro|[email protected]", 4, true);
+ let reset = if hydration {
+ block_on(handle.hydrate_query(
+ PARTIAL.into(),
+ None,
+ Variables::new(),
+ data,
+ Some("macro|[email protected]".into()),
+ ))
+ .unwrap()
+ .write_result
+ .reset
+ } else {
+ write_data(&handle, PARTIAL, data, Some("macro|[email protected]")).reset
+ };
+ assert!(reset);
+ assert!(
+ keys(&evaluate(&handle, request("ALL", None, 100, None))).is_empty(),
+ "partial new-viewer data cannot borrow old-viewer proof"
+ );
+ }
+}
+
+#[test]
+fn native_general_soup_filter_and_server_baseline_reconciliation() {
+ let handle = spawn_handle();
+ let project_key = format!("GraphqlSoupProject:{}", id(100));
+ write_data(
+ &handle,
+ include_str!("project.graphql"),
+ json!({"user": {"id": VIEWER, "soup": {
+ "items": [{"__typename": "GraphqlSoupProject", "id": id(100), "cacheProjection": null,
+ "ownerId": VIEWER, "parentId": null, "createdAt": TIMESTAMP, "updatedAt": TIMESTAMP,
+ "notifications": []}],
+ }}}),
+ Some(VIEWER),
+ );
+ let general_request = || {
+ let mut request = request("ALL", None, 100, None);
+ request.mail = None;
+ request.filters["emailFilter"] = json!({"tree": {"literal": {"threadId": id(0)}}});
+ request.filters["projectFilter"] = json!({"literal": {"projectIdSelf": id(100)}});
+ request
+ };
+ let complete = evaluate(&handle, general_request());
+ assert_eq!(complete["kind"], "complete");
+ assert_eq!(complete["keys"], json!([project_key]));
+ block_on(handle.invalidate(vec![project_key.clone()])).unwrap();
+ let mut reconciled = general_request();
+ reconciled.baseline = Some(vec![PredicateBaselineEntry {
+ key: project_key.clone(),
+ sort_timestamp: TIMESTAMP.into(),
+ }]);
+ let page = evaluate(&handle, reconciled);
+ assert_eq!(page["kind"], "reconciled");
+ assert_eq!(page["keys"], json!([project_key]));
+ assert_eq!(page["retainedKeys"], json!([project_key]));
+ let mut too_many = general_request();
+ too_many.baseline = Some(
+ (0..5001)
+ .map(|_| PredicateBaselineEntry {
+ key: project_key.clone(),
+ sort_timestamp: TIMESTAMP.into(),
+ })
+ .collect(),
+ );
+ let error = block_on(handle.entity_filter(too_many)).err().unwrap();
+ assert_eq!(error, "reconciliation baseline is too large");
+ let mut unsupported = general_request();
+ unsupported.sort_method = "VIEWED_UPDATED".into();
+ assert_eq!(evaluate(&handle, unsupported)["kind"], "unsupported");
+}
+
+#[test]
+fn native_mail_confinement_never_admits_nonempty_deferred_partitions() {
+ let handle = spawn_handle();
+ hydrate(&handle);
+ for (partition, id_field) in [
+ ("reminderFilter", "id"),
+ ("agentSessionFilter", "id"),
+ ("channelThreadFilter", "channelId"),
+ ] {
+ for tree in [
+ json!({"literal": {id_field: id(999)}}),
+ json!({"not": {"literal": {id_field: id(0)}}}),
+ json!({"or": {"left": {"literal": {id_field: id(0)}}, "right": {"literal": {id_field: id(999)}}}}),
+ ] {
+ let mut query = request("ALL", None, 100, None);
+ query.filters[partition] = tree;
+ assert_eq!(
+ evaluate(&handle, query)["kind"],
+ "unsupported",
+ "{partition}"
+ );
+ }
+ }
+}
+
+#[test]
+fn native_filter_rejects_malformed_requests_and_preserves_unsupported() {
+ let handle = spawn_handle();
+ hydrate(&handle);
+ assert!(block_on(handle.entity_filter(request("ALL", None, 0, None))).is_err());
+ let mut unsupported = request("ALL", None, 100, None);
+ unsupported.sort_method = "VIEWED_UPDATED".into();
+ assert_eq!(evaluate(&handle, unsupported)["kind"], "unsupported");
+ assert!(
+ serde_json::from_value::<EntityFilterRequest>(json!({
+ "filters": {}, "sortMethod": "UPDATED_AT", "sortDirection": "DESC", "limit": -1,
+ }))
+ .is_err()
+ );
+}
diff --git a/apps/web/tauri/graphql_cache_plugin/src/lib.rs b/apps/web/tauri/graphql_cache_plugin/src/lib.rs
index 1b5519070f..172340609e 100644
--- a/apps/web/tauri/graphql_cache_plugin/src/lib.rs
+++ b/apps/web/tauri/graphql_cache_plugin/src/lib.rs
@@ -25,7 +25,8 @@ mod engine;
pub use engine::{
AffectedOperationsResultWire, ClaimedMutationWire, CommitOptimisticWriteResultWire,
DeferOptimisticWriteResultWire, EngineHandle, EnqueueOptimisticMutationResultWire,
- InitialMutationClaimWire, ReadResultWire, RecordSelectionResultWire,
+ EntityFilterRequest, EntityFilterResult, InitialMutationClaimWire, PredicateBaselineEntry,
+ PredicateFilterResult, ReadResultWire, RecordSelectionResultWire,
RollbackOptimisticWriteResultWire, WriteResultWire,
};
diff --git a/apps/web/tauri/src-tauri/README.md b/apps/web/tauri/src-tauri/README.md
index af5d79f9dc..1e5f414e46 100644
--- a/apps/web/tauri/src-tauri/README.md
+++ b/apps/web/tauri/src-tauri/README.md
@@ -39,6 +39,12 @@ The `beforeBuildCommand` is `just build-tauri`, which runs `bun run build` and
emits the frontend into `dist`. Tauri then packages that output
according to `tauri.conf.json`.
+## Automated offline tests (Linux)
+
+See [native E2E](../../tests/native/README.md) for the isolated WebDriver setup,
+fixture-backed backfill smoke test, and offline Mail filter regression. Use
+`nix develop .#tauri-e2e`; this exercises the native cache, not browser WASM.
+
## Platform aware UI
Use the helpers in `@core/util/platform` (`isTauri()`, `getPlatform()`,
diff --git a/apps/web/tauri/src-tauri/src/lib.rs b/apps/web/tauri/src-tauri/src/lib.rs
index 69e2a2a46a..7ae9a2bd09 100644
--- a/apps/web/tauri/src-tauri/src/lib.rs
+++ b/apps/web/tauri/src-tauri/src/lib.rs
@@ -257,6 +257,7 @@ pub fn run() {
graphql_cache_plugin::commands::graphql_cache_read,
graphql_cache_plugin::commands::graphql_cache_read_records_by_keys,
graphql_cache_plugin::commands::graphql_cache_search,
+ graphql_cache_plugin::commands::graphql_cache_entity_filter,
graphql_cache_plugin::commands::graphql_cache_write,
graphql_cache_plugin::commands::graphql_cache_hydrate,
graphql_cache_plugin::commands::graphql_cache_enqueue_optimistic_mutation,
diff --git a/apps/web/tests/native/README.md b/apps/web/tests/native/README.md
new file mode 100644
index 0000000000..6192c10636
--- /dev/null
+++ b/apps/web/tests/native/README.md
@@ -0,0 +1,120 @@
+# Native offline E2E (Linux)
+
+Automates the **real desktop Tauri application** using WebdriverIO →
+`tauri-driver` → WebKitWebDriver. No Chromium, mock IPC, WASM cache substitute,
+or production test hooks.
+
+## Run
+
+From the repository root:
+
+```sh
+nix develop .#tauri-e2e
+bun install --frozen-lockfile
+\cd apps/web
+bun run native:e2e:build # pinned driver, required WASM assets, native binary
+bun run native:e2e:smoke # verify environment/backfill/native transport
+bun run native:e2e # includes the offline filter regression
+```
+
+First build downloads/compiles Rust dependencies. Subsequent builds are incremental.
+Rebuild after native code or `tauri.e2e.conf.json` changes; frontend changes are
+served directly by Vite. The build temporarily sets the existing ignored
+`.macro-tauri-env` marker to development and restores it on exit. Do not run a
+normal Tauri build concurrently with this preparation step.
+
+The binary, driver and build caches live under `apps/web/tauri/target/e2e/`.
+The helper WASM builds respect an explicit `CARGO_TARGET_DIR`; otherwise their
+build cache is isolated there too. No database, migrations, credentials, dev
+account, Docker, sudo, or local backend stack is required.
+
+### Expected result
+
+Both suites must pass. The full suite checks native Soup predicate evaluation via
+`graphql_cache_entity_filter`, including filter combinations never fetched online.
+Neither IPC nor cache results are replaced. Establish a passing smoke run first
+when diagnosing an environment/startup failure.
+
+## What is real and what is a fixture?
+
+Real: app navigation and filter controls, service clients/native HTTP, urql,
+`useSoupBackfills`/checkpointing, GraphQL normalization, Tauri IPC, and the
+file-backed native Turso cache.
+
+Fixtures replace the **remote services**, not the client cache. `fixtures/server.ts`
+serves the normal `/dss/items/soup/graphql` path, executes the app's generated
+queries against `static_assets/schema.graphql`, and returns three pages of Mail
+metadata. Projection capsules reuse the existing Rust-encoded fixtures.
+Unrelated app-chrome reads return explicit empty resources. Unexpected requests,
+unknown cursors and GraphQL validation errors are recorded and fail the smoke
+suite; nothing forwards to hosted services. This does not test the Rust HTTP
+server's authorization, SQL, or Gmail synchronization.
+
+The six threads are IDs ending in 4, 6, 8, 9, 10, and 12:
+
+| View | Expected IDs |
+| --- | --- |
+| Initial online Signal | 6, 12 |
+| Offline Noise | 4, 8, 10 |
+| Offline All | 4, 6, 8, 9, 10, 12 |
+
+Only the initial Signal view may receive an online Mail response. The other rows
+arrive via metadata backfill. Tests wait for the real three-page completion
+checkpoint, then read the six normalized records through native IPC before
+changing filters. Tab changes use the app's public numeric hotkeys (2 / 7) and
+verify `aria-current` before checking results. Assertions compare exact row
+identities, not just counts.
+
+## Offline model and isolation
+
+`run.sh` creates unprivileged user/network/PID/mount namespaces with **only
+loopback**, a private D-Bus session and Xvfb display, and a disposable HOME/XDG
+profile. The binary has a separate `com.macro.app.e2e` identifier and `macro-e2e`
+deep-link scheme, with automatic OTA updates compiled out. No real user cache,
+cookies, desktop registration or host network configuration is changed.
+
+Vite and the fixture API have different listeners. Going offline closes the API
+listener, in-flight HTTP connections and open WebSockets. The test verifies that
+native `platformFetch` can reach it before disconnect and fails afterward, while
+native cache reads still work. All external routes are absent for the entire run,
+so native HTTP/WebSocket clients cannot bypass browser-only interception.
+
+Vite/WebDriver remain reachable to load lazy frontend chunks and drive controls.
+This models **API transport loss**, not an offline packaged-app cold launch.
+Linux has no iOS `NWPathMonitor`: the test does not fake `navigator.onLine` or
+native reachability notifications. Dropdown filters (read/unread, done, etc.),
+app restart/persistence, offline pagination, multiple accounts and iOS
+reachability are follow-up scenarios. The initial test changes the real Mail
+tabs, which change Soup's importance predicate and INBOX/ALL scope.
+
+## Diagnostics and checks
+
+Every run writes `apps/web/test-results/native/<timestamp>/`:
+
+- `requests.json`: method/path, GraphQL operation/variables, fixture errors (no auth headers).
+- `checkpoints.json`: persisted backfill progress.
+- `webview.png` / `webview.html`: final UI, plus per-scenario captures on failure.
+- `vite*.log` / `tauri*.log`: frontend server, native driver and application output.
+
+```sh
+bun run native:e2e:fixtures # fast schema/pagination/disconnect fixture tests
+bun run native:e2e:check # standalone harness TypeScript check
+```
+
+- Missing WebKitWebDriver/Xvfb: enter `.#tauri-e2e`, not the default shell.
+- `unshare: Operation not permitted`: the host/CI runner must permit unprivileged
+ user namespaces. Fail closed; do not remove isolation or run against hosted data.
+- Startup timeout: inspect Vite/native logs and request errors first. Never reset
+ the developer's cache to troubleshoot; every run already starts clean.
+- Exit/interrupt tears down owned processes and removes the temporary profile.
+ A four-minute watchdog bounds wedged WebDriver requests and shutdown. Artifacts
+ are retained; fixed ports are safe inside the private network namespace.
+
+## Future iOS driver
+
+Keep fixture API data and expected filter cases independent of Linux process
+management. `driver.ts` contains WebDriver webview interactions; `runner.ts` and
+`run.sh` own Linux launch/isolation. An iOS runner can reuse the fixtures and
+assertions with Appium/XCUITest in the app's webview context, but needs its own
+simulator installation/profile lifecycle, reachable fixture origin, and native
+network-loss control. This change does not install or claim iOS support.
diff --git a/apps/web/tests/native/build.sh b/apps/web/tests/native/build.sh
new file mode 100644
index 0000000000..7bdc5513fd
--- /dev/null
+++ b/apps/web/tests/native/build.sh
@@ -0,0 +1,37 @@
+#!/usr/bin/env bash
+# Run from any directory inside `nix develop .#tauri-e2e`.
+set -euo pipefail
+root=$(git rev-parse --show-toplevel)
+web="$root/apps/web"
+out="$web/tauri/target/e2e"
+mkdir -p "$out"
+
+# Pin the upstream driver; never replace the developer's globally installed one.
+if ! test -x "$out/tools/bin/tauri-driver"; then
+ cargo install tauri-driver --version 2.0.5 --locked --root "$out/tools"
+fi
+
+\cd "$web"
+export CARGO_TARGET_DIR="${CARGO_TARGET_DIR:-$out/prepare-target}"
+just ensure-cache-wasm
+just ensure-agent-fold-wasm
+
+# build.rs reads this ignored file. Restore it even if compilation fails.
+env_file="$web/tauri/src-tauri/.macro-tauri-env"
+backup=$(mktemp)
+had_env=false
+if test -f "$env_file"; then cp "$env_file" "$backup"; had_env=true; fi
+restore() {
+ if "$had_env"; then cp "$backup" "$env_file"; else rm -f "$env_file"; fi
+ rm -f "$backup"
+}
+trap restore EXIT
+printf development > "$env_file"
+export TAURI_CONFIG
+TAURI_CONFIG=$(< "$web/tests/native/tauri.e2e.conf.json")
+export CARGO_TARGET_DIR="$out/cargo"
+\cd "$web/tauri/src-tauri"
+# Dev-protocol binary: Vite serves the real UI. No production bundle or OTA.
+cargo build --locked -p app --no-default-features
+cp "$CARGO_TARGET_DIR/debug/app" "$out/app"
+echo "Built isolated E2E application: $out/app"
diff --git a/apps/web/tests/native/driver.ts b/apps/web/tests/native/driver.ts
new file mode 100644
index 0000000000..fed5bb39c3
--- /dev/null
+++ b/apps/web/tests/native/driver.ts
@@ -0,0 +1,143 @@
+import assert from 'node:assert/strict';
+import type { Browser } from 'webdriverio';
+import { fixtureId, USER_ID } from './fixtures/mail';
+
+/** Read-only native-cache diagnostics; never seed the cache or replace IPC. */
+export async function invokeNative(
+ browser: Browser,
+ command: string,
+ args: Record<string, unknown>
+) {
+ return browser.execute(
+ async (command, args) => {
+ const tauri = (
+ window as unknown as {
+ __TAURI_INTERNALS__?: {
+ invoke: (
+ command: string,
+ args: Record<string, unknown>
+ ) => Promise<unknown>;
+ };
+ }
+ ).__TAURI_INTERNALS__;
+ if (!tauri) throw new Error('Not a native Tauri webview');
+ return await tauri.invoke(command, args);
+ },
+ command,
+ args
+ );
+}
+
+export async function checkpoints(browser: Browser) {
+ return browser.execute(
+ (userId) =>
+ Object.keys(localStorage)
+ .filter(
+ (key) =>
+ key.startsWith('graphql-soup-backfill:') && key.includes(userId)
+ )
+ .map((key) => ({
+ key,
+ ...(JSON.parse(localStorage.getItem(key) ?? '{}') as {
+ completed: boolean;
+ pagesFetched: number;
+ }),
+ })),
+ USER_ID
+ );
+}
+
+export async function waitForBackfill(browser: Browser) {
+ await browser.waitUntil(
+ async () =>
+ (await checkpoints(browser)).some(
+ (checkpoint) =>
+ checkpoint.key.endsWith(':email-filter-metadata') &&
+ checkpoint.completed &&
+ checkpoint.pagesFetched === 3
+ ),
+ {
+ timeout: 120_000,
+ timeoutMsg: 'Real metadata backfill did not checkpoint all three pages',
+ }
+ );
+}
+
+export async function assertNativeRecords(browser: Browser) {
+ const result = (await invokeNative(
+ browser,
+ 'graphql_cache_read_records_by_keys',
+ {
+ document:
+ 'fragment NativeE2ERecord on GraphqlSoupEmailThread { id name isRead inboxVisible }',
+ fragmentName: 'NativeE2ERecord',
+ keys: [4, 6, 8, 9, 10, 12].map(
+ (n) => `GraphqlSoupEmailThread:${fixtureId(n)}`
+ ),
+ }
+ )) as { records: { recordKey: string; record: { id: string } | null }[] };
+ assert.equal(result.records.length, 6);
+ assert.deepEqual(
+ result.records.map((record) => record.record?.id).sort(),
+ [4, 6, 8, 9, 10, 12].map(fixtureId).sort()
+ );
+}
+
+/** Assert exact row identities rather than counts or cached labels alone. */
+export async function expectRows(browser: Browser, numbers: number[]) {
+ const expected = numbers.map(fixtureId).sort();
+ await browser.waitUntil(
+ async () => {
+ const actual = await browser.execute(() =>
+ [...document.querySelectorAll('[data-entity-id]')]
+ .map((element) => element.getAttribute('data-entity-id'))
+ .filter(
+ (id): id is string =>
+ id?.startsWith('00000000-0000-0000-0000-') ?? false
+ )
+ );
+ return (
+ JSON.stringify([...new Set(actual)].sort()) === JSON.stringify(expected)
+ );
+ },
+ {
+ timeout: 15_000,
+ timeoutMsg: `Expected visible mail rows ${numbers.join(', ')} from the native cache.`,
+ }
+ );
+}
+
+/** Exercise the same native HTTP transport as the app, not the runner's fetch. */
+export async function nativeHttpReachable(browser: Browser, origin: string) {
+ return browser.execute(async (origin) => {
+ const modulePath = '/src/lib/core/util/platformFetch.ts';
+ const { platformFetch }: { platformFetch: typeof fetch } = await import(
+ modulePath
+ );
+ try {
+ return (
+ await platformFetch(`${origin}/health`, {
+ signal: AbortSignal.timeout(2000),
+ })
+ ).ok;
+ } catch {
+ return false;
+ }
+ }, origin);
+}
+
+export async function selectTab(browser: Browser, label: 'Noise' | 'All') {
+ const tab = browser.$(
+ `//nav[@aria-label="Email tabs"]//button[.//span[normalize-space(.)="${label}"]]`
+ );
+ // Public Email tab hotkeys (see useViewTabHotkeys/EMAIL_TABS). Keep focus
+ // in the list; Enter would activate an email rather than the sidebar tab.
+ await browser.keys(label === 'Noise' ? '2' : '7');
+ await browser.waitUntil(
+ async () => (await tab.getAttribute('aria-current')) === 'page',
+ {
+ timeout: 5000,
+ timeoutMsg: `${label} tab did not become selected`,
+ }
+ );
+}
diff --git a/apps/web/tests/native/fixtures/bootstrap.ts b/apps/web/tests/native/fixtures/bootstrap.ts
new file mode 100644
index 0000000000..83f619ff60
--- /dev/null
+++ b/apps/web/tests/native/fixtures/bootstrap.ts
@@ -0,0 +1,54 @@
+import type { Link } from '../../../src/lib/service-clients/service-email/generated/schemas/link';
+import { accounts, EMAIL, identity, USER_ID } from './mail';
+
+const link: Link = {
+ id: accounts[0].id,
+ macro_id: USER_ID,
+ email_address: EMAIL,
+ fusionauth_user_id: 'fixture-user',
+ is_primary: true,
+ provider: 'GMAIL',
+ is_sync_active: true,
+ sync_status: 'UP_TO_DATE',
+ needs_reauth: false,
+ needs_calendar_permission: false,
+ calendar_disabled: false,
+ has_calendar_data: false,
+ photo_url: null,
+ settings: { signature: null },
+ created_at: '2025-01-01T00:00:00Z',
+ updated_at: '2025-01-01T00:00:00Z',
+};
+const name = { id: USER_ID, first_name: 'Offline', last_name: 'Fixture' };
+
+/** Empty, unrelated app-chrome resources. Unlisted requests remain errors. */
+export const bootstrapResponses = new Map<
+ string,
+ { body: unknown; status?: number }
+>([
+ ['GET /auth/user/legacy_user_permissions', { body: identity }],
+ ['GET /auth/user/me', { body: { user_id: USER_ID, permissions: [] } }],
+ ['GET /auth/user/name', { body: name }],
+ ['POST /auth/user/get_names_with_email', { body: { names: [name] } }],
+ ['POST /auth/user/profile_pictures', { body: { pictures: [] } }],
+ ['GET /auth/team', { body: {}, status: 404 }],
+ ['GET /auth/team/user/invites', { body: { invites: [] } }],
+ [
+ 'GET /auth/link/github/status',
+ { body: { reauthentication_required: false } },
+ ],
+ ['GET /email/email/links', { body: { links: [link] } }],
+ ['POST /email/email/links/health-check', { body: {} }],
+ ['GET /contacts/contacts', { body: { contacts: [] } }],
+ ['GET /dss/comms/channels', { body: { items: [], next_cursor: null } }],
+ ['GET /dss/channels/activity', { body: [] }],
+ ['GET /dss/bots', { body: [] }],
+ ['GET /dss/properties/definitions', { body: [] }],
+ ['GET /dss/properties/tags', { body: [] }],
+ ['GET /dss/call/active', { body: { calls: [] } }],
+ ['GET /dss/instructions', { body: {}, status: 404 }],
+ ['GET /dss/crm/settings', { body: {}, status: 403 }],
+ ['GET /notification/unsubscribe', { body: [] }],
+ ['POST /dss/items/soup', { body: { items: [], next_cursor: null } }],
+ ['POST /dss/items/soup/ast', { body: { items: [], next_cursor: null } }],
+]);
diff --git a/apps/web/tests/native/fixtures/mail.ts b/apps/web/tests/native/fixtures/mail.ts
new file mode 100644
index 0000000000..d45c3b1020
--- /dev/null
+++ b/apps/web/tests/native/fixtures/mail.ts
@@ -0,0 +1,72 @@
+import { mailProjectionCapsules } from '../../../src/lib/graphql-cache/worker/browser-test/mail-projection-capsules';
+
+export const USER_ID = 'macro|[email protected]';
+export const EMAIL = '[email protected]';
+export const fixtureId = (n: number) =>
+ `00000000-0000-0000-0000-${String(n).padStart(12, '0')}`;
+const timestamp = '2025-01-04T00:00:00Z';
+
+export const accounts = [
+ { id: fixtureId(1000), emailAddress: EMAIL, photoUrl: null },
+];
+
+/** Subset of the canonical Rust-encoded Mail fixtures. These are API records,
+ * not cache writes or precomputed filter results. Keep the capsule facts intact. */
+export const mail = [4, 6, 8, 9, 10, 12].map((n) => {
+ const preview = (offset: number, subject: string, isDraft: boolean) => ({
+ id: fixtureId(n + offset),
+ subject,
+ snippet: subject,
+ isDraft,
+ senderEmail: '[email protected]',
+ senderName: 'Fixture sender',
+ senderPhotoUrl: null,
+ });
+ return {
+ __typename: 'GraphqlSoupEmailThread',
+ id: fixtureId(n),
+ entityType: 'EMAIL_THREAD',
+ name: `Email ${n}`,
+ displayName: `Email ${n}`,
+ ownerId: USER_ID,
+ linkId: accounts[0].id,
+ cacheProjection: mailProjectionCapsules[n - 1],
+ mailAllPreview: preview(10000, `Email ${n}`, false),
+ mailDraftPreview: n % 3 === 0 ? preview(20000, `Draft ${n}`, true) : null,
+ mailSentPreview: n % 4 === 0 ? preview(30000, `Sent ${n}`, false) : null,
+ inboxVisible: n % 2 === 0,
+ isRead: n % 4 === 0,
+ isSignal: n % 3 === 0,
+ isImportant: n % 3 === 0,
+ isDraft: false,
+ snippet: `Fixture message ${n}`,
+ senderEmail: '[email protected]',
+ senderName: 'Fixture sender',
+ senderPhotoUrl: null,
+ latestInboundMessageTs: '2025-01-02T00:00:00Z',
+ sortTs: timestamp,
+ createdAt: timestamp,
+ updatedAt: timestamp,
+ viewedAt: null,
+ notifications: [],
+ participants: [],
+ attachments: [],
+ labels: [],
+ properties: [],
+ messages: [],
+ isFavorited: false,
+ };
+});
+
+export const identity = {
+ userId: USER_ID,
+ email: EMAIL,
+ name: 'Offline Fixture',
+ permissions: [],
+ licenseStatus: 'Active',
+ tutorialComplete: true,
+ hasChromeExt: false,
+ hasTrialed: true,
+ aiDataConsent: true,
+ referralCode: 'offline-fixture',
+};
diff --git a/apps/web/tests/native/fixtures/server.test.ts b/apps/web/tests/native/fixtures/server.test.ts
new file mode 100644
index 0000000000..27626ee348
--- /dev/null
+++ b/apps/web/tests/native/fixtures/server.test.ts
@@ -0,0 +1,252 @@
+import { afterEach, expect, test } from 'bun:test';
+import { type DocumentNode, type ExecutionResult, print, visit } from 'graphql';
+import {
+ SoupDocument,
+ type SoupInput,
+ SoupMailBackfillDocument,
+ type SoupQuery,
+} from '../../../src/lib/service-clients/service-storage/graphql/generated/graphql';
+import { fixtureId } from './mail';
+import { startFixtureServer } from './server';
+
+let server: ReturnType<typeof startFixtureServer> | undefined;
+afterEach(async () => {
+ await server?.disconnect();
+});
+
+function transportQuery(document: DocumentNode): string {
+ return print(
+ visit(document, {
+ Directive(node) {
+ return node.name.value === 'cacheOnly' ? null : undefined;
+ },
+ })
+ );
+}
+
+const query = transportQuery(SoupMailBackfillDocument);
+const soupQuery = transportQuery(SoupDocument);
+
+async function requestSoup(
+ input: SoupInput
+): Promise<ExecutionResult<SoupQuery>> {
+ if (!server) throw new Error('Fixture server must be started first');
+ const response = await fetch(`${server.origin}/dss/items/soup/graphql`, {
+ method: 'POST',
+ body: JSON.stringify({
+ query: soupQuery,
+ operationName: 'Soup',
+ variables: { input },
+ }),
+ });
+ return await response.json();
+}
+
+test('real generated backfill document validates, pages, and includes projection/preview metadata', async () => {
+ server = startFixtureServer();
+ const ids: string[] = [];
+ let cursor: string | null = null;
+ for (let page = 0; page < 3; page++) {
+ const response = await fetch(`${server.origin}/dss/items/soup/graphql`, {
+ method: 'POST',
+ body: JSON.stringify({
+ query,
+ operationName: 'SoupMailBackfill',
+ variables: {
+ input: cursor
+ ? { continuation: { cursor, emailView: 'ALL' } }
+ : { initial: { limit: 100, emailView: 'ALL' } },
+ },
+ }),
+ });
+ const result: {
+ errors?: unknown;
+ data: {
+ user: {
+ soup: {
+ items: {
+ id: string;
+ cacheProjection: string;
+ mailAllPreview: { subject: string };
+ }[];
+ nextCursor: string | null;
+ };
+ };
+ };
+ } = await response.json();
+ expect(result.errors).toBeUndefined();
+ const soup = result.data.user.soup;
+ expect(soup.items).toHaveLength(2);
+ for (const item of soup.items) {
+ ids.push(item.id);
+ expect(item.cacheProjection).toBeString();
+ expect(item.mailAllPreview.subject).toStartWith('Email ');
+ }
+ cursor = soup.nextCursor;
+ if (page < 2) expect(cursor).toBeString();
+ }
+ expect(cursor).toBeNull();
+ expect(ids).toEqual([4, 6, 8, 9, 10, 12].map(fixtureId));
+ expect(server.metadataPagesServed).toBe(3);
+});
+
+const signalTree = {
+ and: {
+ left: { literal: { importance: true } },
+ right: { literal: { shared: 'EXCLUDE' } },
+ },
+} as const;
+
+test('accepts the initial Signal INBOX query with both email predicates', async () => {
+ server = startFixtureServer();
+ const result = await requestSoup({
+ initial: {
+ emailView: 'INBOX',
+ filters: { emailFilter: { tree: signalTree } },
+ },
+ });
+ expect(result.errors).toBeUndefined();
+ expect(result.data?.user.soup.items.map((item) => item.id)).toEqual([
+ fixtureId(6),
+ fixtureId(12),
+ ]);
+});
+
+const invalidSignalInputs: Array<[string, SoupInput]> = [
+ [
+ 'importance only in the channel branch',
+ {
+ initial: {
+ emailView: 'INBOX',
+ filters: {
+ channelFilter: { literal: { importance: true } },
+ emailFilter: {
+ tree: {
+ and: {
+ left: { literal: { importance: false } },
+ right: { literal: { shared: 'EXCLUDE' } },
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ [
+ 'missing shared exclusion',
+ {
+ initial: {
+ emailView: 'INBOX',
+ filters: { emailFilter: { tree: { literal: { importance: true } } } },
+ },
+ },
+ ],
+ [
+ 'shared INCLUDE',
+ {
+ initial: {
+ emailView: 'INBOX',
+ filters: {
+ emailFilter: {
+ tree: {
+ and: {
+ left: { literal: { importance: true } },
+ right: { literal: { shared: 'INCLUDE' } },
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ [
+ 'shared ONLY',
+ {
+ initial: {
+ emailView: 'INBOX',
+ filters: {
+ emailFilter: {
+ tree: {
+ and: {
+ left: { literal: { importance: true } },
+ right: { literal: { shared: 'ONLY' } },
+ },
+ },
+ },
+ },
+ },
+ },
+ ],
+ [
+ 'negated importance',
+ {
+ initial: {
+ emailView: 'INBOX',
+ filters: {
+ emailFilter: { tree: { not: { literal: { importance: true } } } },
+ },
+ },
+ },
+ ],
+ [
+ 'ALL rather than INBOX',
+ {
+ initial: {
+ emailView: 'ALL',
+ filters: { emailFilter: { tree: signalTree } },
+ },
+ },
+ ],
+ ['missing filters', { initial: { emailView: 'INBOX' } }],
+];
+
+for (const [name, input] of invalidSignalInputs) {
+ test(`rejects non-Signal online query: ${name}`, async () => {
+ server = startFixtureServer();
+ const result = await requestSoup(input);
+ expect(result.errors?.map((error) => error.message)).toEqual([
+ 'Only the initial Signal view may be fetched online',
+ ]);
+ expect(result.data?.user?.soup?.items ?? []).toEqual([]);
+ });
+}
+
+test('unknown endpoints fail closed; disconnect removes the TCP listener', async () => {
+ server = startFixtureServer();
+ expect((await fetch(`${server.origin}/unimplemented`)).status).toBe(501);
+ await server.disconnect();
+ await expect(fetch(`${server.origin}/health`)).rejects.toThrow();
+});
+
+test('disconnect closes live WebSockets and finishes shutdown', async () => {
+ server = startFixtureServer();
+ const socket = new WebSocket(
+ server.origin.replace('http', 'ws') + '/connection-gateway'
+ );
+ await new Promise<void>((resolve, reject) => {
+ socket.onopen = () => resolve();
+ socket.onerror = reject;
+ });
+ expect(server.socketCount).toBe(1);
+ const closed = new Promise<void>((resolve) => {
+ socket.onclose = () => resolve();
+ });
+ await server.disconnect();
+ await closed;
+ expect(server.socketCount).toBe(0);
+}, 3000);
+
+test('invalid cursors fail rather than silently completing the scan', async () => {
+ server = startFixtureServer();
+ const response = await fetch(`${server.origin}/dss/items/soup/graphql`, {
+ method: 'POST',
+ body: JSON.stringify({
+ query,
+ operationName: 'SoupMailBackfill',
+ variables: { input: { continuation: { cursor: 'invalid' } } },
+ }),
+ });
+ expect((await response.json()).errors[0].message).toBe(
+ 'Unknown metadata cursor'
+ );
+});
diff --git a/apps/web/tests/native/fixtures/server.ts b/apps/web/tests/native/fixtures/server.ts
new file mode 100644
index 0000000000..1c9e8d451f
--- /dev/null
+++ b/apps/web/tests/native/fixtures/server.ts
@@ -0,0 +1,199 @@
+import { buildSchema, graphql } from 'graphql';
+import type { SoupInput } from '../../../src/lib/service-clients/service-storage/graphql/generated/graphql';
+import { bootstrapResponses } from './bootstrap';
+import { accounts, fixtureId, mail, USER_ID } from './mail';
+
+const schema = buildSchema(
+ await Bun.file(
+ new URL('../../../../../static_assets/schema.graphql', import.meta.url)
+ ).text()
+);
+
+function excludesMail(input: SoupInput) {
+ return (
+ input.initial?.filters?.emailFilter?.tree?.literal?.threadId ===
+ fixtureId(0)
+ );
+}
+
+export type RequestRecord = {
+ method: string;
+ path: string;
+ operation?: string;
+ variables?: Record<string, unknown>;
+ error?: string;
+};
+
+/** HTTP fixtures at the production API paths: real platformFetch, urql,
+ * checkpointed backfill, normalization and native storage remain in the app.
+ * No forwarding to a hosted backend, cache seeding, or filter-result injection. */
+export function startFixtureServer(port = 0) {
+ const requests: RequestRecord[] = [];
+ const pageSize = 2;
+ const cursors = new Map<string, number>();
+ let pagesServed = 0;
+
+ function soupPage(input: SoupInput, operation: string) {
+ if (operation === 'SoupMailBackfill') {
+ let offset = 0;
+ if (input.continuation) {
+ const saved = cursors.get(input.continuation.cursor);
+ if (saved === undefined) throw new Error('Unknown metadata cursor');
+ offset = saved;
+ } else if (input.initial?.emailView !== 'ALL') {
+ throw new Error('Metadata backfill must request ALL');
+ }
+ const nextOffset = offset + pageSize;
+ const nextCursor =
+ nextOffset < mail.length ? `metadata-${nextOffset}` : null;
+ if (nextCursor) cursors.set(nextCursor, nextOffset);
+ pagesServed += 1;
+ return { items: mail.slice(offset, nextOffset), nextCursor };
+ }
+ // This fixture has metadata, no core/shared entities or message bodies.
+ if (
+ operation === 'SoupBackfill' ||
+ operation === 'SoupSharedMailBackfill' ||
+ operation === 'SoupNotifications'
+ ) {
+ return { items: [], nextCursor: null };
+ }
+ if (operation === 'Soup') {
+ // The app sidebar also queries channel Soup, explicitly excluding mail.
+ if (excludesMail(input)) {
+ return { items: [], nextCursor: null };
+ }
+ const signalTree = input.initial?.filters?.emailFilter?.tree;
+ if (
+ input.initial?.emailView !== 'INBOX' ||
+ signalTree?.and?.left?.literal?.importance !== true ||
+ signalTree?.and?.right?.literal?.shared !== 'EXCLUDE'
+ ) {
+ throw new Error('Only the initial Signal view may be fetched online');
+ }
+ return { items: [mail[1], mail[5]], nextCursor: null };
+ }
+ throw new Error(`Unimplemented Soup operation: ${operation}`);
+ }
+
+ const cors = {
+ 'Access-Control-Allow-Origin': '*',
+ 'Access-Control-Allow-Headers': '*',
+ 'Access-Control-Allow-Methods': 'GET, POST, OPTIONS',
+ };
+ const json = (data: unknown, status = 200) =>
+ Response.json(data, { status, headers: cors });
+
+ async function graphqlResponse(request: Request, record: RequestRecord) {
+ try {
+ const body = (await request.json()) as {
+ query: string;
+ operationName?: string;
+ variables?: Record<string, unknown>;
+ };
+ const operation =
+ body.operationName ?? /\bquery\s+(\w+)/.exec(body.query)?.[1] ?? '';
+ record.operation = operation;
+ record.variables = body.variables;
+ const result = await graphql({
+ schema,
+ source: body.query,
+ variableValues: body.variables,
+ operationName: body.operationName,
+ rootValue: {
+ user: {
+ id: USER_ID,
+ emailLinks: accounts,
+ emailLabels: [],
+ favorites: [],
+ soup: ({ input }: { input: SoupInput }) =>
+ soupPage(input, operation),
+ },
+ },
+ });
+ if (result.errors)
+ record.error = result.errors.map((error) => error.message).join('; ');
+ return json(result);
+ } catch (error) {
+ record.error = String(error);
+ return json({ error: record.error }, 500);
+ }
+ }
+
+ const sockets = new Set<Bun.ServerWebSocket<{ path: string }>>();
+ const server = Bun.serve<{ path: string }>({
+ hostname: '127.0.0.1',
+ port,
+ fetch(request, server) {
+ const path = new URL(request.url).pathname;
+ if (request.method === 'OPTIONS')
+ return new Response(null, { headers: cors });
+ const record: RequestRecord = { method: request.method, path };
+ requests.push(record);
+ try {
+ if (path === '/health') return json({ ok: true });
+ if (
+ [
+ '/websocket',
+ '/connection-gateway',
+ '/dss/items/soup/graphql/ws',
+ ].includes(path) &&
+ request.headers.get('upgrade')?.toLowerCase() === 'websocket'
+ ) {
+ if (server.upgrade(request, { data: { path } })) return;
+ throw new Error('WebSocket upgrade failed');
+ }
+ const bootstrap = bootstrapResponses.get(`${request.method} ${path}`);
+ if (bootstrap) return json(bootstrap.body, bootstrap.status);
+ if (path === '/dss/items/soup/graphql' && request.method === 'POST') {
+ return graphqlResponse(request, record);
+ }
+ record.error = `Unimplemented fixture: ${request.method} ${path}`;
+ return json({ error: record.error }, 501);
+ } catch (error) {
+ record.error = String(error);
+ return json({ error: record.error }, 500);
+ }
+ },
+ websocket: {
+ open(socket) {
+ sockets.add(socket);
+ },
+ close(socket) {
+ sockets.delete(socket);
+ },
+ message(socket, message) {
+ if (socket.data.path !== '/dss/items/soup/graphql/ws') return;
+ const payload: { type?: string } = JSON.parse(String(message));
+ if (payload.type === 'connection_init')
+ socket.send(JSON.stringify({ type: 'connection_ack' }));
+ if (payload.type === 'ping')
+ socket.send(JSON.stringify({ type: 'pong' }));
+ // No fixture entity changes; subscriptions stay connected until offline.
+ },
+ },
+ });
+
+ let shutdown: Promise<void> | undefined;
+ return {
+ origin: `http://localhost:${server.port}`,
+ requests,
+ get socketCount() {
+ return sockets.size;
+ },
+ get metadataPagesServed() {
+ return pagesServed;
+ },
+ /** Closes the listener and every in-flight connection, including native
+ * HTTP. The runner's network namespace has no external route to fall back to. */
+ async disconnect() {
+ if (shutdown) return await shutdown;
+ // Start stopping before terminating upgrades: Bun's stop promise can
+ // otherwise miss their close notifications and never settle.
+ shutdown = server.stop(true);
+ for (const socket of sockets) socket.terminate();
+ sockets.clear();
+ await shutdown;
+ },
+ };
+}
diff --git a/apps/web/tests/native/run.sh b/apps/web/tests/native/run.sh
new file mode 100644
index 0000000000..7a7e1b73af
--- /dev/null
+++ b/apps/web/tests/native/run.sh
@@ -0,0 +1,42 @@
+#!/usr/bin/env bash
+set -euo pipefail
+root=$(git rev-parse --show-toplevel)
+for tool in bun unshare ip dbus-run-session xvfb-run WebKitWebDriver; do
+ if ! command -v "$tool" >/dev/null; then
+ echo "Missing $tool. Run inside: nix develop .#tauri-e2e" >&2
+ exit 1
+ fi
+done
+if ! test -x "$root/apps/web/tauri/target/e2e/app"; then
+ echo 'Build first: bun run native:e2e:build (from apps/web)' >&2
+ exit 1
+fi
+# Isolate D-Bus, desktop registrations and WebKit as well as the cache. Never
+# let portals use the developer's real session or runtime directory.
+profile=$(mktemp -d -t macro-native-e2e-XXXXXXXX)
+export HOME="$profile"
+export XDG_CONFIG_HOME="$profile/config" XDG_DATA_HOME="$profile/data"
+export XDG_CACHE_HOME="$profile/cache" XDG_RUNTIME_DIR="$profile/runtime"
+mkdir -p "$XDG_CONFIG_HOME" "$XDG_DATA_HOME" "$XDG_CACHE_HOME" "$XDG_RUNTIME_DIR"
+chmod 700 "$XDG_RUNTIME_DIR"
+unset DBUS_SESSION_BUS_ADDRESS WAYLAND_DISPLAY
+export GDK_BACKEND=x11 GTK_USE_PORTAL=0
+child=
+cleanup() {
+ if [ -n "$child" ]; then kill -KILL "$child" 2>/dev/null || true; wait "$child" 2>/dev/null || true; fi
+ rm -rf "$profile"
+}
+trap cleanup EXIT
+trap 'exit 130' INT
+trap 'exit 143' TERM
+# Only loopback exists; closing the fixture listener takes every API transport
+# offline. No sudo, host firewall changes, hosted data, or port collisions.
+unshare --user --map-root-user --net --pid --fork --mount-proc --kill-child=SIGKILL \
+ bash -c 'set -euo pipefail
+ ip link set lo up
+ export MACRO_E2E_NETNS=1
+ exec dbus-run-session -- xvfb-run --auto-servernum --server-args="-screen 0 1440x1000x24 -nolisten tcp" \
+ bun "$1/apps/web/tests/native/runner.ts" "${@:2}"
+ ' bash "$root" "$@" &
+child=$!
+wait "$child"
diff --git a/apps/web/tests/native/runner.ts b/apps/web/tests/native/runner.ts
new file mode 100644
index 0000000000..e0f5d7deee
--- /dev/null
+++ b/apps/web/tests/native/runner.ts
@@ -0,0 +1,263 @@
+import assert from 'node:assert/strict';
+import { writeFileSync } from 'node:fs';
+import { mkdir, stat } from 'node:fs/promises';
+import { resolve } from 'node:path';
+import { type Browser, remote } from 'webdriverio';
+import {
+ assertNativeRecords,
+ checkpoints,
+ expectRows,
+ nativeHttpReachable,
+ selectTab,
+ waitForBackfill,
+} from './driver';
+import { startFixtureServer } from './fixtures/server';
+
+assert.equal(process.platform, 'linux', 'Linux is the initial driver target');
+assert.equal(
+ process.env.MACRO_E2E_NETNS,
+ '1',
+ 'Use run.sh: native tests must have network isolation'
+);
+assert(
+ process.argv.slice(2).every((arg) => arg === '--smoke'),
+ 'Usage: native:e2e [--smoke]'
+);
+const smokeOnly = process.argv.includes('--smoke');
+const web = resolve(import.meta.dirname, '../..');
+const binaries = resolve(web, 'tauri/target/e2e');
+const artifacts = resolve(
+ web,
+ 'test-results/native',
+ new Date().toISOString().replaceAll(':', '-')
+);
+await mkdir(artifacts, { recursive: true });
+const env = {
+ ...Object.fromEntries(
+ Object.entries(process.env).filter(
+ ([key]) =>
+ !/^(VITE_|LOCAL_JWT$|MODE$|PORT$|TAURI_|https?_proxy$|all_proxy$|no_proxy$)/i.test(
+ key
+ )
+ )
+ ),
+ // This app is root only within the unprivileged, loopback-only user namespace.
+ WEBKIT_DISABLE_SANDBOX_THIS_IS_DANGEROUS: '1',
+ WEBKIT_DISABLE_DMABUF_RENDERER: '1',
+ LIBGL_ALWAYS_SOFTWARE: '1',
+};
+const children: ReturnType<typeof Bun.spawn>[] = [];
+let browser: Browser | undefined;
+const fixture = startFixtureServer(18090);
+// Bound even a wedged WebDriver request or shutdown. The shell owns namespace
+// and profile cleanup, so forced exit cannot leave an app or fixture listening.
+const watchdog = setTimeout(() => {
+ writeFileSync(
+ resolve(artifacts, 'requests.json'),
+ JSON.stringify(fixture.requests, null, 2)
+ );
+ console.error(`E2E timed out after four minutes. Artifacts: ${artifacts}`);
+ process.exit(1);
+}, 240_000);
+
+function spawn(name: string, cmd: string[], extraEnv = {}) {
+ const child = Bun.spawn(cmd, {
+ cwd: web,
+ env: { ...env, ...extraEnv },
+ stdout: Bun.file(resolve(artifacts, `${name}.log`)),
+ stderr: Bun.file(resolve(artifacts, `${name}.stderr.log`)),
+ });
+ children.push(child);
+ return child;
+}
+
+async function ready(url: string, child: ReturnType<typeof Bun.spawn>) {
+ const deadline = Date.now() + 120_000;
+ while (Date.now() < deadline) {
+ if (child.exitCode !== null)
+ throw new Error(`Process exited before ready: ${url}. See ${artifacts}`);
+ try {
+ if ((await fetch(url, { signal: AbortSignal.timeout(1000) })).ok) return;
+ } catch {
+ /* listener not yet bound */
+ }
+ await Bun.sleep(250);
+ }
+ throw new Error(`Timed out waiting for ${url}`);
+}
+
+async function capture(prefix = 'webview') {
+ await Bun.write(
+ resolve(artifacts, 'requests.json'),
+ JSON.stringify(fixture.requests, null, 2)
+ );
+ if (!browser) return;
+ try {
+ await browser.saveScreenshot(resolve(artifacts, `${prefix}.png`));
+ await Bun.write(
+ resolve(artifacts, `${prefix}.html`),
+ await browser.getPageSource()
+ );
+ await Bun.write(
+ resolve(artifacts, 'checkpoints.json'),
+ JSON.stringify(await checkpoints(browser), null, 2)
+ );
+ } catch (error) {
+ console.error('Could not capture webview diagnostics:', error);
+ }
+}
+
+try {
+ const vite = spawn(
+ 'vite',
+ [
+ 'bun',
+ 'x',
+ '--no-install',
+ 'vite',
+ '--config',
+ 'tests/native/vite.config.ts',
+ ],
+ {
+ MODE: 'development',
+ PORT: '3009',
+ VITE_LOCAL_SERVERS: 'ALL',
+ VITE_LOCAL_BACKEND_ORIGIN: fixture.origin,
+ VITE_ENABLE_BEARER_TOKEN_AUTH: 'true',
+ LOCAL_JWT: 'fixture-only',
+ VITE_ENABLE_GRAPHQL_SOUP: 'true',
+ VITE_ENABLE_GRAPHQL_BACKFILL: 'true',
+ VITE_ENABLE_NEW_APP_VIEWS: 'true',
+ VITE_ENABLE_AUTO_UPDATE_UI: 'false',
+ }
+ );
+ await ready('http://localhost:3009/app/component/mail', vite);
+ const driver = spawn('tauri', [
+ resolve(binaries, 'tools/bin/tauri-driver'),
+ '--port',
+ '4444',
+ '--native-driver',
+ Bun.which('WebKitWebDriver')!,
+ ]);
+ await ready('http://localhost:4444/status', driver);
+ const capabilities: WebdriverIO.Capabilities & {
+ 'tauri:options': { application: string };
+ } = {
+ 'tauri:options': { application: resolve(binaries, 'app') },
+ };
+ browser = await remote({
+ hostname: '127.0.0.1',
+ port: 4444,
+ logLevel: 'warn',
+ connectionRetryCount: 0,
+ connectionRetryTimeout: 120_000,
+ capabilities,
+ });
+ console.log(`Native session ${browser.sessionId}; opening Email`);
+ const emailNavigation = browser.$('button[aria-label="Go to Email"]');
+ await emailNavigation.waitForDisplayed({ timeout: 120_000 });
+ await emailNavigation.click();
+ console.log('Waiting for three metadata backfill pages');
+ await waitForBackfill(browser);
+ assert.equal(fixture.metadataPagesServed, 3);
+ assert.deepEqual(
+ fixture.requests.filter((request) => request.error),
+ []
+ );
+ await assertNativeRecords(browser);
+ const cacheFile = resolve(
+ process.env.XDG_DATA_HOME!,
+ 'com.macro.app.e2e/graphql-cache/cache.turso'
+ );
+ assert(
+ (await stat(cacheFile)).size > 0,
+ 'Expected the isolated native Turso database'
+ );
+ await expectRows(browser, [6, 12]);
+ const onlineSoupRequests = fixture.requests.filter(
+ (request) =>
+ request.operation === 'Soup' &&
+ JSON.stringify(request.variables).includes('"emailView":"INBOX"')
+ );
+ assert(
+ onlineSoupRequests.length > 0,
+ 'Initial Signal baseline must come from the API'
+ );
+ console.log(
+ 'PASS: real UI, three backfill pages, and all six records in the native cache'
+ );
+
+ assert.equal(await nativeHttpReachable(browser, fixture.origin), true);
+ assert(
+ fixture.socketCount > 0,
+ 'Realtime transports must connect before the outage'
+ );
+ await fixture.disconnect();
+ assert.equal(fixture.socketCount, 0);
+ assert.equal(await nativeHttpReachable(browser, fixture.origin), false);
+ await assert.rejects(
+ fetch(`${fixture.origin}/health`, { signal: AbortSignal.timeout(1000) })
+ );
+ // Native storage still works with the API listener gone.
+ await assertNativeRecords(browser);
+ if (!smokeOnly) {
+ const requestsAtDisconnect = fixture.requests.length;
+ // None of these views were fetched online: their rows must be selected
+ // from backfilled normalized records, not replayed query-response caches.
+ const failures: unknown[] = [];
+ const cases = [
+ {
+ name: 'noise',
+ select: () => selectTab(browser!, 'Noise'),
+ rows: [4, 8, 10],
+ },
+ {
+ name: 'all',
+ select: () => selectTab(browser!, 'All'),
+ rows: [4, 6, 8, 9, 10, 12],
+ },
+ ];
+ for (const scenario of cases) {
+ await scenario.select();
+ try {
+ await expectRows(browser, scenario.rows);
+ console.log(`PASS: offline ${scenario.name}`);
+ } catch (error) {
+ failures.push(error);
+ console.error(`FAIL: offline ${scenario.name}`);
+ await capture(scenario.name);
+ }
+ }
+ assert.equal(fixture.requests.length, requestsAtDisconnect);
+ if (failures.length)
+ throw new AggregateError(failures, 'Native offline filter regressions');
+ console.log('PASS: unseen email filter combinations evaluated offline');
+ } else {
+ console.log(
+ 'PASS: disconnected API with native cache reads (filter regression not run)'
+ );
+ }
+} catch (error) {
+ process.exitCode = 1;
+ console.error(error);
+} finally {
+ await capture();
+ if (browser) {
+ try {
+ await browser.deleteSession();
+ } catch {
+ /* driver may have already exited */
+ }
+ }
+ await fixture.disconnect();
+ for (const child of children.reverse()) {
+ child.kill();
+ await Promise.race([child.exited, Bun.sleep(3000)]);
+ if (child.exitCode === null) {
+ child.kill('SIGKILL');
+ await child.exited;
+ }
+ }
+ clearTimeout(watchdog);
+ console.log(`Artifacts: ${artifacts}`);
+}
diff --git a/apps/web/tests/native/tauri.e2e.conf.json b/apps/web/tests/native/tauri.e2e.conf.json
new file mode 100644
index 0000000000..42f6472381
--- /dev/null
+++ b/apps/web/tests/native/tauri.e2e.conf.json
@@ -0,0 +1,21 @@
+{
+ "identifier": "com.macro.app.e2e",
+ "productName": "Macro E2E",
+ "build": {
+ "devUrl": "http://localhost:3009",
+ "beforeDevCommand": "",
+ "beforeBuildCommand": ""
+ },
+ "app": {
+ "windows": [{
+ "label": "main",
+ "title": "Macro E2E",
+ "url": "app/component/mail",
+ "width": 1440,
+ "height": 1000,
+ "resizable": true,
+ "backgroundThrottling": "disabled"
+ }]
+ },
+ "plugins": { "deep-link": { "desktop": { "schemes": ["macro-e2e"] } } }
+}
diff --git a/apps/web/tests/native/tsconfig.json b/apps/web/tests/native/tsconfig.json
new file mode 100644
index 0000000000..e87699bc20
--- /dev/null
+++ b/apps/web/tests/native/tsconfig.json
@@ -0,0 +1,16 @@
+{
+ "compilerOptions": {
+ "target": "ESNext",
+ "module": "ESNext",
+ "moduleResolution": "bundler",
+ "strict": true,
+ "skipLibCheck": true,
+ "noEmit": true,
+ "esModuleInterop": true,
+ "allowImportingTsExtensions": true,
+ "resolveJsonModule": true,
+ "types": ["bun", "node"],
+ "lib": ["ESNext", "DOM", "DOM.Iterable"]
+ },
+ "include": ["./**/*.ts"]
+}
diff --git a/apps/web/tests/native/vite.config.ts b/apps/web/tests/native/vite.config.ts
new file mode 100644
index 0000000000..1e5c37fec0
--- /dev/null
+++ b/apps/web/tests/native/vite.config.ts
@@ -0,0 +1,11 @@
+import { defineConfig, mergeConfig } from 'vite';
+import { createAppViteConfig } from '../../vite.base';
+
+export default defineConfig((env) =>
+ mergeConfig(createAppViteConfig()(env), {
+ // Never load the developer's .env (tokens, hosted origins, feature overrides).
+ envDir: import.meta.dirname,
+ cacheDir: 'node_modules/.vite-native-e2e',
+ server: { host: '127.0.0.1', port: 3009, strictPort: true },
+ })
+);
diff --git a/bun.lock b/bun.lock
index 5b19f8df5b..f6277ac671 100644
--- a/bun.lock
+++ b/bun.lock
@@ -169,6 +169,7 @@
"vite-plugin-solid-svg": "^0.8.1",
"vite-tsconfig-paths": "^5.1.4",
"vitest": "^3.2.4",
+ "webdriverio": "9.29.1",
},
},
"packages/collaboration": {
@@ -967,7 +968,7 @@
"@img/sharp-win32-x64": ["@img/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-+29YMsqY2/9eFEiW93eqWnuLcWcufowXewwSNIT6UwZdUUCrM3oFjMWH/Z6/TMmb4hlFenmfAVbpWeup2jryCw=="],
- "@inkibra/tauri-plugins": ["@inkibra/tauri-plugins@github:macro-inc/tauri-plugins#6ddd660", { "dependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" } }, "macro-inc-tauri-plugins-6ddd660"],
+ "@inkibra/tauri-plugins": ["@inkibra/tauri-plugins@github:macro-inc/tauri-plugins#6ddd660", { "dependencies": { "react": "^18.3.1", "react-dom": "^18.3.1" } }, "macro-inc-tauri-plugins-6ddd660", "sha512-7+0ebEOYqedkOY67Clwu65Np3qJ3aJc/H/NjNxmjgA/7HIu0C+DSoKAArG7HTdTVpdcAtHyhrqsJujdEAyJf6Q=="],
"@inquirer/ansi": ["@inquirer/[email protected]", "", {}, "sha512-3eTuUO1vH2cZm2ZKHeQxnOqlTi9EfZDGgIe3BL3I4u+rJHocr9Fz86M4fjYABPvFnQG/gGK551HqDiIcETwU6Q=="],
@@ -1327,6 +1328,8 @@
"@preact/signals-core": ["@preact/[email protected]", "", {}, "sha512-HNB6HYeYKhQbJ1aKl+YRjrS4+QWHLKX6qKoUsfS/m0vqzsVaEBiZiaKbG/e+NKk2ch5ALQr/ihWaMHxiCuuWHA=="],
+ "@promptbook/utils": ["@promptbook/[email protected]", "", { "dependencies": { "spacetrim": "0.11.59" } }, "sha512-xm5Ti/Hp3o4xHrsK9Yy3MS6KbDxYbq485hDsFvxqaNA7equHLPdo8H8faTitTeb14QCDfLW4iwCxdVYu5sn6YQ=="],
+
"@protobufjs/aspromise": ["@protobufjs/[email protected]", "", {}, "sha512-j+gKExEuLmKwvz3OgROXtrJ2UG2x8Ch2YZUxahh+s1F2HZ+wAceUNLkvy6zKCPVRkU++ZWQrdxsUeQXmcg4uoQ=="],
"@protobufjs/base64": ["@protobufjs/[email protected]", "", {}, "sha512-AZkcAA5vnN/v4PDqKyMR5lx7hZttPDgClv83E//FMNhR2TMcLUhfRUBHCmSl0oi9zMgDDqRUJkSxO3wm85+XLg=="],
@@ -1345,6 +1348,8 @@
"@protobufjs/utf8": ["@protobufjs/[email protected]", "", {}, "sha512-b1UQwcEZ4yCnMCD8DAL1VlbvBJE9/IX4FTIp7BG1xYpf29SLazLSrqUkj4w7Y5y7cCVP6E5tcqqcI0xemPkHug=="],
+ "@puppeteer/browsers": ["@puppeteer/[email protected]", "", { "dependencies": { "debug": "^4.4.3", "extract-zip": "^2.0.1", "progress": "^2.0.3", "proxy-agent": "^6.5.0", "semver": "^7.7.4", "tar-fs": "^3.1.1", "yargs": "^17.7.2" }, "bin": { "browsers": "lib/cjs/main-cli.js" } }, "sha512-5EUZSUIc37H6aIXyWO0Z4y8NlF8NnjgmqeQgOGiswAU7pY0HOo16ho4+alIWmSfdZnjqBRawMsP3I5YqLSn6kw=="],
+
"@repeaterjs/repeater": ["@repeaterjs/[email protected]", "", {}, "sha512-TaoVksZRSx2KWYYpyLQtMQXXeS98VsgZImzW65xmiVgbYhXLk+aEsmzPLirqVuE4/XuUapH2iMtxUzaBNDzdSQ=="],
"@rollup/rollup-android-arm-eabi": ["@rollup/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-6o7ZLZK+BeenkZCFNDXqpbjw9bD6nuWonvS/lwQJp7NoVVxm6p3qE7qQ5jGuBjiFsgvqjD8mZAU5oWxTmbOeOg=="],
@@ -1665,6 +1670,8 @@
"@types/service-worker-mock": ["@types/[email protected]", "", {}, "sha512-MEBT2eiqYfhxjqYm/oAf2AvKLbPTPwJJAYrMdheKnGyz1yG9XBRfxCzi93h27qpSvI7jOYfXqFLVMLBXFDqo4A=="],
+ "@types/sinonjs__fake-timers": ["@types/[email protected]", "", {}, "sha512-mQkU2jY8jJEF7YHjHvsQO8+3ughTL1mcnn96igfhONmR+fUPSKIkefQYpSe8bsly2Ep7oQbn/6VG5/9/0qcArQ=="],
+
"@types/tough-cookie": ["@types/[email protected]", "", {}, "sha512-/Ad8+nIOV7Rl++6f1BdKxFSMgmoqEoYbHRpPcx3JEfv8VRsQe9Z4mCXeJBzxs7mbHY/XOZZuXlRNfhpVPbs6ZA=="],
"@types/trusted-types": ["@types/[email protected]", "", {}, "sha512-ScaPdn1dQczgbl0QFTeTOmVHFULt394XJgOQNoyVhZ6r2vLnMLJfBPd53SB52T/3G36VI1/g2MZaX0cwDuXsfw=="],
@@ -1677,6 +1684,8 @@
"@types/whatwg-mimetype": ["@types/[email protected]", "", {}, "sha512-c2AKvDT8ToxLIOUlN51gTiHXflsfIFisS4pO7pDPoKouJCESkhZnEy623gwP9laCy5lnLDAw1vAzu2vM2YLOrA=="],
+ "@types/which": ["@types/[email protected]", "", {}, "sha512-113D3mDkZDjo+EeUEHCFy0qniNc1ZpecGiAU7WSo7YDoSzolZIQKpYFHrPpjkB2nuyahcKfrmLXeQlh7gqJYdw=="],
+
"@types/wicg-file-system-access": ["@types/[email protected]", "", {}, "sha512-ggMz8nOygG7d/stpH40WVaNvBwuyYLnrg5Mbyf6bmsj/8+gb6Ei4ZZ9/4PNpcPNTT8th9Q8sM8wYmWGjMWLX/A=="],
"@types/ws": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-ThVF6DCVhA8kUGy+aazFQ4kXQ7E1Ty7A3ypFOe0IcJV8O/M511G99AW24irKrW56Wt44yG9+ij8FaqoBGkuBXg=="],
@@ -1685,6 +1694,8 @@
"@types/yargs-parser": ["@types/[email protected]", "", {}, "sha512-I4q9QU9MQv4oEOz4tAHJtNz1cwuLxn2F3xcc2iV5WdqLPpUnj30aUuxt1mAxYTG+oe8CZMV/+6rU4S4gRDzqtQ=="],
+ "@types/yauzl": ["@types/[email protected]", "", { "dependencies": { "@types/node": "*" } }, "sha512-oJoftv0LSuaDZE3Le4DbKX+KS9G36NzOeSap90UIK0yMA/NhKJhqlSGtNDORNRaIbQfzjXDrQa0ytJ6mNRGz/Q=="],
+
"@typespec/ts-http-runtime": ["@typespec/[email protected]", "", { "dependencies": { "http-proxy-agent": "^7.0.0", "https-proxy-agent": "^7.0.0", "tslib": "^2.6.2" } }, "sha512-jIXhD0eWQ1JA6ln/5Dltyx22UxWNrw0hZmhy2rlv6m6KgF7kplHx3g0fzi09lNmTJQRR91OlemYp3xFnvDK9og=="],
"@ungap/structured-clone": ["@ungap/[email protected]", "", {}, "sha512-60YRaenCQcVjYEKOcG824+DRGGIQ3VKErcBoAEDJZz5bKIs2ZG+X/H9Nk+Q6EVkwJk5QNApxbrc5QtBSwtrXAg=="],
@@ -1713,6 +1724,18 @@
"@wapython/unionfs": ["@wapython/[email protected]", "", { "dependencies": { "fs-monkey": "^1.0.0" } }, "sha512-7809nAVelP9TqXCq5c1yCwymPreTXrK4n4q/zxOlQOIIz4PNmoQmIKiLnwkKk39GDnLmP1MvP9ZkBDyXCCmTfg=="],
+ "@wdio/config": ["@wdio/[email protected]", "", { "dependencies": { "@wdio/logger": "9.29.1", "@wdio/types": "9.29.1", "@wdio/utils": "9.29.1", "deepmerge-ts": "^7.0.3", "glob": "^10.2.2", "import-meta-resolve": "^4.0.0", "jiti": "^2.6.1" } }, "sha512-8IXDiRG9wUUnpU6M/uzsVqIHJD/7o4y9RaOU2Jh/OdRJP/7rxwfGsa24Bv486rnMGdghztkwLCBJWG0jbeEtfw=="],
+
+ "@wdio/logger": ["@wdio/[email protected]", "", { "dependencies": { "chalk": "^5.1.2", "loglevel": "^1.6.0", "loglevel-plugin-prefix": "^0.8.4", "safe-regex2": "^5.0.0", "strip-ansi": "^7.1.0" } }, "sha512-0ZAEIo6PNyMIJPlOGkIgyOJUjcd0pC8/QHlVAAe1c91/IcjZ1X+k0yidXHaboJdN7dq1XPUacmhRdtua0U5EZg=="],
+
+ "@wdio/protocols": ["@wdio/[email protected]", "", {}, "sha512-NFlBQOA4zDb4D/ETpVMqDgbJyEqdhGRsJWybLOXG7PGlPwfcrfmTMHC1+Boq4KODgpwbhCmI9zIk2JQmGYIttQ=="],
+
+ "@wdio/repl": ["@wdio/[email protected]", "", { "dependencies": { "@types/node": "^20.1.0" } }, "sha512-FLTF0VL6+o5BSTCO7yLSXocm3kUnu31zYwzdsz4n9s5YWt83sCtzGZlZpt7TaTzb3jVUfxuHNQDTb8UMkCu0lQ=="],
+
+ "@wdio/types": ["@wdio/[email protected]", "", { "dependencies": { "@types/node": "^20.1.0" } }, "sha512-jp8jgMv6TS35G96YzHZxw3PVN0Dz6xQ6tnMAicndAJ8Jt9AIXb0ywIse4TjaFywakO3dLoEhlyA3ZtR26vmt+w=="],
+
+ "@wdio/utils": ["@wdio/[email protected]", "", { "dependencies": { "@puppeteer/browsers": "^2.2.0", "@wdio/logger": "9.29.1", "@wdio/types": "9.29.1", "decamelize": "^6.0.0", "deepmerge-ts": "^7.0.3", "edgedriver": "^6.1.2", "geckodriver": "^6.1.0", "get-port": "^7.0.0", "import-meta-resolve": "^4.0.0", "locate-app": "^2.2.24", "mitt": "^3.0.1", "safaridriver": "^1.0.0", "split2": "^4.2.0", "wait-port": "^1.1.0" } }, "sha512-jyt6b6FfdYwVbMISVhuyGC1xQGZj6xM03KhTHozH7a9/zu9b++94KRdT9HRbwX8zefjW0YeIC5+qWSIf7WWHZg=="],
+
"@whatwg-node/disposablestack": ["@whatwg-node/[email protected]", "", { "dependencies": { "@whatwg-node/promise-helpers": "^1.0.0", "tslib": "^2.6.3" } }, "sha512-LOtTn+JgJvX8WfBVJtF08TGrdjuFzGJc4mkP8EdDI8ADbvO7kiexYep1o8dwnt0okb0jYclCDXF13xU7Ge4zSw=="],
"@whatwg-node/fetch": ["@whatwg-node/[email protected]", "", { "dependencies": { "@whatwg-node/node-fetch": "^0.8.3", "urlpattern-polyfill": "^10.0.0" } }, "sha512-b4PhJ+zYj4357zwk4TTuF2nEe0vVtOrwdsrNo5hL+u1ojXNhh1FgJ6pg1jzDlwlT4oBdzfSwaBwMCtFCsIWg8Q=="],
@@ -1721,6 +1744,8 @@
"@whatwg-node/promise-helpers": ["@whatwg-node/[email protected]", "", { "dependencies": { "tslib": "^2.6.3" } }, "sha512-Nst5JdK47VIl9UcGwtv2Rcgyn5lWtZ0/mhRQ4G8NN2isxpq2TO30iqHzmwoJycjWuyUfg3GFXqP/gFHXeV57IA=="],
+ "@zip.js/zip.js": ["@zip.js/[email protected]", "", {}, "sha512-hYAuHAaWjt0axbofaDL5XUlmrQPsBDcK3f45ApZuh6N+8UGVk26GoGdtGDvcvzahsHytTQ6DtBVXwG9IcCMjjQ=="],
+
"@zoompinch/core": ["@zoompinch/[email protected]", "", {}, "sha512-lsFy8S1XG6NJTFmgCtpXzS1tfxheA7UeZuy6ahd6ENlxNh4Rn1BvJN5pD9wStZmN7a064D8FAT9WvmsZDFt9Mw=="],
"abort-controller": ["[email protected]", "", { "dependencies": { "event-target-shim": "^5.0.0" } }, "sha512-h8lQ8tacZYnR3vNQTgibj+tODHI5/+l06Au2Pcriv/Gmet0eaj4TwWH41sO9wnHDiQsEj19q0drzdWdeAHtweg=="],
@@ -1757,6 +1782,10 @@
"any-base": ["[email protected]", "", {}, "sha512-uMgjozySS8adZZYePpaWs8cxB9/kdzmpX6SgJZ+wbz1K5eYk5QMYDVJaZKhxyIHUdnnJkfR7SVgStgH7LkGUyg=="],
+ "archiver": ["[email protected]", "", { "dependencies": { "archiver-utils": "^5.0.2", "async": "^3.2.4", "buffer-crc32": "^1.0.0", "readable-stream": "^4.0.0", "readdir-glob": "^1.1.2", "tar-stream": "^3.0.0", "zip-stream": "^6.0.1" } }, "sha512-ZcbTaIqJOfCc03QwD468Unz/5Ir8ATtvAHsK+FdXbDIbGfihqh9mrvdcYunQzqn4HrvWWaFyaxJhGZagaJJpPQ=="],
+
+ "archiver-utils": ["[email protected]", "", { "dependencies": { "glob": "^10.0.0", "graceful-fs": "^4.2.0", "is-stream": "^2.0.1", "lazystream": "^1.0.0", "lodash": "^4.17.15", "normalize-path": "^3.0.0", "readable-stream": "^4.0.0" } }, "sha512-wuLJMmIBQYCsGZgYLTy5FIB2pF6Lfb6cXMSF8Qywwk3t20zWnAi7zLcQFdKQmIB8wyZpY5ER38x08GbwtR2cLA=="],
+
"argparse": ["[email protected]", "", {}, "sha512-8+9WqebbFzpX9OR+Wa6O29asIogeRMzcGtAINdpMHHyAg10f05aSFVBbcEqGf/PXw1EjAZ+q2/bEBg3DvurK3Q=="],
"aria-query": ["[email protected]", "", { "dependencies": { "dequal": "^2.0.3" } }, "sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A=="],
@@ -1781,6 +1810,8 @@
"astring": ["[email protected]", "", { "bin": { "astring": "bin/astring" } }, "sha512-LElXdjswlqjWrPpJFg1Fx4wpkOCxj1TDHlSV4PlaRxHGWko024xICaa97ZkMfs6DRKlCguiAI+rbXv5GWwXIkg=="],
+ "async": ["[email protected]", "", {}, "sha512-htCUDlxyyCLMgaM3xXg0C0LW2xqfuQ6p05pCEIsXuyQ+a1koYKTuBMzRNwmybfLgvJDMd0r1LTn4+E0Ti6C2AA=="],
+
"async-function": ["[email protected]", "", {}, "sha512-hsU18Ae8CDTR6Kgu9DYf0EbCr/a5iGL0rytQDobUcdpYOKokk8LEjVphnXkDkgpi0wYVsqrXuP0bZxJaTqdgoA=="],
"async-mutex": ["[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-1A94B18jkJ3DYq284ohPxoXbfTA5HsQ7/Mf4DEhcyLx3Bz27Rh59iScbB6EPiP+B+joue6YCxcMXSbFC1tZKwA=="],
@@ -1795,12 +1826,24 @@
"axios": ["[email protected]", "", { "dependencies": { "follow-redirects": "^1.16.0", "form-data": "^4.0.5", "https-proxy-agent": "^5.0.1", "proxy-from-env": "^2.1.0" } }, "sha512-3nTvFlvpn9Zu/RkHUqtc7/+al4UpRW5az71ap5zccp6e8RAYEzhMTecX8Dz1wWDYrPpUoB1HAQEGEAEvUr7S9g=="],
+ "b4a": ["[email protected]", "", { "peerDependencies": { "react-native-b4a": "*" }, "optionalPeers": ["react-native-b4a"] }, "sha512-dpfcF9fDNR6++cthXR67iyhgqWy9CBouAvIWhIntzBG6cvK/cnIPiZQjBwi/ZqjjBEDGfoNDtmB0kTjroOJ3pQ=="],
+
"babel-plugin-jsx-dom-expressions": ["[email protected]", "", { "dependencies": { "@babel/helper-module-imports": "7.18.6", "@babel/plugin-syntax-jsx": "^7.18.6", "@babel/types": "^7.20.7", "html-entities": "2.3.3", "parse5": "^7.1.2" }, "peerDependencies": { "@babel/core": "^7.20.12" } }, "sha512-/O6JWUmjv03OI9lL2ry9bUjpD5S3PclM55RRJEyCdcFZ5W2SEA/59d+l2hNsk3gI6kiWRdRPdOtqZmsQzFN1pQ=="],
"babel-preset-solid": ["[email protected]", "", { "dependencies": { "babel-plugin-jsx-dom-expressions": "^0.40.6" }, "peerDependencies": { "@babel/core": "^7.0.0", "solid-js": "^1.9.12" }, "optionalPeers": ["solid-js"] }, "sha512-LLqnuKVDlKpyBlMPcH6qEvs/wmS9a+NczppxJ3ryS/c0O5IiSFOIBQi9GzyiGDSbcJpx4Gr87jyFTos1MyEuWg=="],
"balanced-match": ["[email protected]", "", {}, "sha512-BLrgEcRTwX2o6gGxGOCNyMvGSp35YofuYzw9h1IMTRmKqttAZZVU67bdb9Pr2vUHA8+j3i2tJfjO6C6+4myGTA=="],
+ "bare-events": ["[email protected]", "", { "peerDependencies": { "bare-abort-controller": "*" }, "optionalPeers": ["bare-abort-controller"] }, "sha512-AIPKioV7/Y/8KfZ3AAhjPJxLLbY49S64Ym5DakZlUg75qQiTgUq9hEJoEwa4eUezPUlXRy/i5NpsKvo9jgKmoA=="],
+
+ "bare-fs": ["[email protected]", "", { "dependencies": { "bare-events": "^2.5.4", "bare-path": "^3.0.0", "bare-stream": "^2.6.4", "bare-url": "^2.2.2", "fast-fifo": "^1.3.2" }, "peerDependencies": { "bare-buffer": "*" }, "optionalPeers": ["bare-buffer"] }, "sha512-N1nnXdHZAOSstz0XiHikGS4HGMH4CnSwhqWdGQQMqqdvp4Jybm9sE3R1WVnpWVd4SFkc8ryPDBLViNLwiEqECg=="],
+
+ "bare-path": ["[email protected]", "", {}, "sha512-ZyKbsuuqK6Ag0K8pX6V5Txq6XeJRvY+wXucnFGRjiyVYP9YWDpIQugk/b+enRYrEYBJaqLzghRQpXPMR7341Nw=="],
+
+ "bare-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.8.1", "streamx": "^2.25.0", "teex": "^1.0.1" }, "peerDependencies": { "bare-abort-controller": "*", "bare-buffer": "*", "bare-events": "*" }, "optionalPeers": ["bare-abort-controller", "bare-buffer", "bare-events"] }, "sha512-PcrQ8lVLbiJscNm1Kez+Yp4Gy4AHGcN1lzwjvf5NybWen7VvEgUfyfnXYJ2zNqWnzOfCb1Abq6lH8ti0syQszA=="],
+
+ "bare-url": ["[email protected]", "", { "dependencies": { "bare-path": "^3.0.0" } }, "sha512-Gxa7UVWBr0/edU1b+TJhn/AZvMQUj9OGspvYsaTYQrAbZA4BOTZGL3LiZxvD+CeMlDH4juwD84+eTAp/bLYW5g=="],
+
"base64-js": ["[email protected]", "", {}, "sha512-AKpaYlHn8t4SVbOHCy+b5+KKgvR4vrsD8vbvrbiQJps7fKDTkjkDry6ji0rUJjC0kzbNePLwzxq8iypo41qeWA=="],
"baseline-browser-mapping": ["[email protected]", "", { "bin": { "baseline-browser-mapping": "dist/cli.cjs" } }, "sha512-AjYpR78kDWAY3Efj+cDTFH9t9SCoL7OoTp1BOb0mQV7S+6CiLwnWM3FyxhJtdPufDFKzmCSFoUncKjWgJEZTCQ=="],
@@ -1831,7 +1874,9 @@
"browserslist": ["[email protected]", "", { "dependencies": { "baseline-browser-mapping": "^2.10.42", "caniuse-lite": "^1.0.30001800", "electron-to-chromium": "^1.5.387", "node-releases": "^2.0.50", "update-browserslist-db": "^1.2.3" }, "bin": { "browserslist": "cli.js" } }, "sha512-Cu2E6QejHWzuDMTkuwgpABFgDfZrXLQq5V13YOACZx4mFAG4IwGTbTfHPMr4WtxlHoXSM8FIuRwYYCz5XiabaQ=="],
- "buffer": ["[email protected]", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],
+ "buffer": ["[email protected]", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.2.1" } }, "sha512-FTiCpNxtwiZZHEZbcbTIcZjERVICn9yq/pDFkTl95/AxzD1naBctN7YO68riM/gLSDY7sdrMby8hofADYuuqOA=="],
+
+ "buffer-crc32": ["[email protected]", "", {}, "sha512-Db1SbgBS/fg/392AblrMJk97KggmvYhr4pB5ZIMTWtaivCPMWLkmb7m21cJvpvgK+J3nsU2CmmixNBZx4vFj/w=="],
"buffer-equal-constant-time": ["[email protected]", "", {}, "sha512-zRpUiDwd/xk6ADqPMATG8vc9VPrkck7T07OIx0gnjmJAnHnTVXNQG3vfvWNuiZIkwu9KrKdA1iJKfsfTVxE6NA=="],
@@ -1877,6 +1922,10 @@
"check-error": ["[email protected]", "", {}, "sha512-PAJdDJusoxnwm1VwW07VWwUN1sl7smmC3OKggvndJFadxxDRyFJBX/ggnu/KE4kQAB7a3Dp8f/YXC1FlUprWmA=="],
+ "cheerio": ["[email protected]", "", { "dependencies": { "cheerio-select": "^2.1.0", "dom-serializer": "^2.0.0", "domhandler": "^5.0.3", "domutils": "^3.2.2", "encoding-sniffer": "^0.2.1", "htmlparser2": "^10.1.0", "parse5": "^7.3.0", "parse5-htmlparser2-tree-adapter": "^7.1.0", "parse5-parser-stream": "^7.1.2", "undici": "^7.19.0", "whatwg-mimetype": "^4.0.0" } }, "sha512-WDrybc/gKFpTYQutKIK6UvfcuxijIZfMfXaYm8NMsPQxSYvf+13fXUJ4rztGGbJcBQ/GF55gvrZ0Bc0bj/mqvg=="],
+
+ "cheerio-select": ["[email protected]", "", { "dependencies": { "boolbase": "^1.0.0", "css-select": "^5.1.0", "css-what": "^6.1.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.0.1" } }, "sha512-9v9kG0LvzrlcungtnJtpGNxY+fzECQKhK4EGJX2vByejiMX84MFNQw4UxPJl3bFbTMw+Dfs37XaIkCwTZfLh4g=="],
+
"chokidar": ["[email protected]", "", { "dependencies": { "readdirp": "^4.0.1" } }, "sha512-Qgzu8kfBvo+cA4962jnP1KkS6Dop5NS6g7R5LFYJr4b8Ub94PPQXUksCw9PvXoeXPRRddRNC5C1JQUR2SMGtnA=="],
"cli-cursor": ["[email protected]", "", { "dependencies": { "restore-cursor": "^3.1.0" } }, "sha512-I/zHAwsKf9FqGoXM4WWRACob9+SNukZTd94DWF57E4toouRulbCxcUh6RKUEOQlYTHJnzkPMySvPNaaSLNfLZw=="],
@@ -1913,6 +1962,8 @@
"component-emitter": ["[email protected]", "", {}, "sha512-T0+barUSQRTUQASh8bx02dl+DhF54GtIDY13Y3m9oWTklKbb3Wv974meRpeZ3lp1JpLVECWWNHC4vaG2XHXouQ=="],
+ "compress-commons": ["[email protected]", "", { "dependencies": { "crc-32": "^1.2.0", "crc32-stream": "^6.0.0", "is-stream": "^2.0.1", "normalize-path": "^3.0.0", "readable-stream": "^4.0.0" } }, "sha512-6FqVXeETqWPoGcfzrXb37E50NP0LXT8kAMu5ooZayhWWdgEY4lBEEcbQNXtkuKQsGduxiIcI4gOTsxTmuq/bSg=="],
+
"concurrently": ["[email protected]", "", { "dependencies": { "chalk": "4.1.2", "rxjs": "7.8.2", "shell-quote": "1.9.0", "supports-color": "8.1.1", "tree-kill": "1.2.2", "yargs": "17.7.2" }, "bin": { "concurrently": "dist/bin/concurrently.js", "conc": "dist/bin/concurrently.js" } }, "sha512-TZ0CEhyzvFjgtAvHTusDMgj7wNdihCh7LLLrzdUOXIhdlnL2JBBGA9eJxR24rtqgmdjh3OA3hrN1rCHj6HM8qA=="],
"convert-source-map": ["[email protected]", "", {}, "sha512-Kvp459HrV2FEJ1CAsi1Ku+MY3kasH19TFykTz2xWmMeq6bk2NU3XXvfJ+Q61m0xktWwt+1HSYf3JZsTms3aRJg=="],
@@ -1929,6 +1980,10 @@
"cpu-features": ["[email protected]", "", { "dependencies": { "buildcheck": "~0.0.6", "nan": "^2.19.0" } }, "sha512-9IkYqtX3YHPCzoVg1Py+o9057a3i0fp7S530UWokCSaFVTc7CwXPRiOjRjBQQ18ZCNafx78YfnG+HALxtVmOGA=="],
+ "crc-32": ["[email protected]", "", { "bin": { "crc32": "bin/crc32.njs" } }, "sha512-ROmzCKrTnOwybPcJApAA6WBWij23HVfGVNKqqrZpuyZOHqK2CwHSvpGuyt/UNNvaIjEd8X5IFGp4Mh+Ie1IHJQ=="],
+
+ "crc32-stream": ["[email protected]", "", { "dependencies": { "crc-32": "^1.2.0", "readable-stream": "^4.0.0" } }, "sha512-piICUB6ei4IlTv1+653yq5+KoqfBYmj9bw6LqXoOneTMDXk5nM1qt12mFW1caG3LlJXEKW1Bp0WggEmIfQB34g=="],
+
"crelt": ["[email protected]", "", {}, "sha512-aK6BbWfhf4U/wCcLHKPJl/xa6VkVstRaPywWtMKGwuOLc/wZTyQYuoxgvZnNsBvv7Kg3YTBQYYBCggcviQczuA=="],
"cross-inspect": ["[email protected]", "", { "dependencies": { "tslib": "^2.4.0" } }, "sha512-Pcw1JTvZLSJH83iiGWt6fRcT+BjZlCDRVwYLbUcHzv/CRpB7r0MlSrGbIyQvVSNyGnbt7G4AXuyCiDR3POvZ1A=="],
@@ -1937,8 +1992,12 @@
"css-select": ["[email protected]", "", { "dependencies": { "boolbase": "^2.0.0", "css-what": "^8.0.0", "domhandler": "^6.0.1", "domutils": "^4.0.2", "nth-check": "^3.0.1" } }, "sha512-snmjEVXy+1LnwXdxhYvTMj1d9tOh4HxkA1YmoayVBeeyR2C14Pum7fcxJIm4SswYspVy866eYNwlH6xC3/VH5g=="],
+ "css-shorthand-properties": ["[email protected]", "", {}, "sha512-C2AugXIpRGQTxaCW0N7n5jD/p5irUmCrwl03TrnMFBHDbdq44CFWR2zO7rK9xPN4Eo3pUxC4vQzQgbIpzrD1PQ=="],
+
"css-tree": ["[email protected]", "", { "dependencies": { "mdn-data": "2.0.30", "source-map-js": "^1.0.1" } }, "sha512-6Fv1DV/TYw//QF5IzQdqsNDjx/wc8TrMBZsqjL9eW01tWb7R7k/mq+/VXfJCl7SoD5emsJop9cOByJZfs8hYIw=="],
+ "css-value": ["[email protected]", "", {}, "sha512-FUV3xaJ63buRLgHrLQVlVgQnQdR4yqdLGaDu7g8CQcWjInDfM9plBTPI9FRfpahju1UBSaMckeb2/46ApS/V1Q=="],
+
"css-what": ["[email protected]", "", {}, "sha512-u/O3vwbptzhMs3L1fQE82ZSLHQQfto5gyZzwteVIEyeaY5Fc7R4dapF/BvRoSYFeqfBk4m0V1Vafq5Pjv25wvA=="],
"csso": ["[email protected]", "", { "dependencies": { "css-tree": "~2.2.0" } }, "sha512-0LrrStPOdJj+SPCCrGhzryycLjwcgUSHBtxNA8aIDxf0GLsRh1cKYhB00Gd1lDOS4yGH69+SNn13+TWbVHETFQ=="],
@@ -1989,6 +2048,8 @@
"debug": ["[email protected]", "", { "dependencies": { "ms": "^2.1.3" } }, "sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA=="],
+ "decamelize": ["[email protected]", "", {}, "sha512-G7Cqgaelq68XHJNGlZ7lrNQyhZGsFqpwtGFexqUv4IQdjKoSYF7ipZ9UuTJZUSQXFj/XaoBLuEVIVqr8EJngEQ=="],
+
"decimal.js": ["[email protected]", "", {}, "sha512-YpgQiITW3JXGntzdUmyUR1V812Hn8T1YVXhCu+wO3OpS4eU9l4YdD3qjyiKdV6mvV29zapkMeD390UVEf2lkUg=="],
"deep-eql": ["[email protected]", "", {}, "sha512-h5k/5U50IJJFpzfL6nO9jaaumfjO/f2NjK/oYB2Djzm4p9L+3T9qWpZqZ2hAbLPuuYq9wrU08WQyBTL5GbPk5Q=="],
@@ -1999,6 +2060,8 @@
"deepmerge": ["[email protected]", "", {}, "sha512-3sUqbMEc77XqpdNO7FRyRog+eW3ph+GYCbj+rK+uYyRMuwsVy0rMiVtPn+QJlKFvWP/1PYpapqYn0Me2knFn+A=="],
+ "deepmerge-ts": ["[email protected]", "", {}, "sha512-gQhL1ksGBLQbHeAo47YU6cs2ahd3Pv+8PFYoWogNZbQnNwQyOh9Ad5kbeHFiWwbKdeWQJ5Z7Y7mwb9ew2hXBLw=="],
+
"default-browser": ["[email protected]", "", { "dependencies": { "bundle-name": "^4.1.0", "default-browser-id": "^5.0.0" } }, "sha512-H9LMLr5zwIbSxrmvikGuI/5KGhZ8E2zH3stkMgM5LpOWDutGM2JZaj460Udnf1a+946zc7YBgrqEWwbk7zHvGw=="],
"default-browser-id": ["[email protected]", "", {}, "sha512-x1VCxdX4t+8wVfd1so/9w+vQ4vx7lKd2Qp5tDRutErwmR85OgmfX7RlLRMWafRMY7hbEiXIbudNrjOAPa/hL8Q=="],
@@ -2041,17 +2104,17 @@
"dom-css": ["[email protected]", "", { "dependencies": { "add-px-to-style": "1.0.0", "prefix-style": "2.0.1", "to-camel-case": "1.0.0" } }, "sha512-w9kU7FAbaSh3QKijL6n59ofAhkkmMJ31GclJIz/vyQdjogfyxcB6Zf8CZyibOERI5o0Hxz30VmJS7+7r5fEj2Q=="],
- "dom-serializer": ["[email protected]", "", { "dependencies": { "domelementtype": "^3.0.0", "domhandler": "^6.0.0", "entities": "^8.0.0" } }, "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw=="],
+ "dom-serializer": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", "entities": "^4.2.0" } }, "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg=="],
"domelementtype": ["[email protected]", "", {}, "sha512-OLETBj6w0OsagBwdXnPdN0cnMfF9opN69co+7ZrbfPGrdpPVNBUj02spi6B1N7wChLQiPn4CSH/zJvXw56gmHw=="],
- "domhandler": ["[email protected]", "", { "dependencies": { "domelementtype": "^3.0.0" } }, "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg=="],
+ "domhandler": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="],
"dommatrix": ["[email protected]", "", {}, "sha512-l32Xp/TLgWb8ReqbVJAFIvXmY7go4nTxxlWiAFyhoQw9RKEOHBZNnyGvJWqDVSPmq3Y9HlM4npqF/T6VMOXhww=="],
"dompurify": ["[email protected]", "", { "optionalDependencies": { "@types/trusted-types": "^2.0.7" } }, "sha512-dVoH9z+MY+C9IilgGCk3YfFqjLi3fChm2OiKJMzh6axrJ5qwxqWaZamgmHrpv22CN/KdbZJuGEGgfQoL00LTdg=="],
- "domutils": ["[email protected]", "", { "dependencies": { "dom-serializer": "^3.0.0", "domelementtype": "^3.0.0", "domhandler": "^6.0.0" } }, "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA=="],
+ "domutils": ["[email protected]", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="],
"dot-prop": ["[email protected]", "", { "dependencies": { "is-obj": "^2.0.0" } }, "sha512-tE7ztYzXHIeyvc7N+hR3oi7FIbf/NIjVP9hmAt3yMXzrQ072/fpjGLx2GxNxGxUl5V73MEqYzioOMoVhGMJ5cA=="],
@@ -2065,6 +2128,10 @@
"ecdsa-sig-formatter": ["[email protected]", "", { "dependencies": { "safe-buffer": "^5.0.1" } }, "sha512-nagl3RYrbNv6kQkeJIpt6NJZy8twLB/2vtz6yN9Z4vRKHN4/QZJIEbqohALSgwKdnksuY3k5Addp5lg8sVoVcQ=="],
+ "edge-paths": ["[email protected]", "", { "dependencies": { "@types/which": "^2.0.1", "which": "^2.0.2" } }, "sha512-sB7vSrDnFa4ezWQk9nZ/n0FdpdUuC6R1EOrlU3DL+bovcNFK28rqu2emmAUjujYEJTWIgQGqgVVWUZXMnc8iWg=="],
+
+ "edgedriver": ["[email protected]", "", { "dependencies": { "@wdio/logger": "^9.29.1", "@zip.js/zip.js": "^2.8.11", "decamelize": "^6.0.1", "edge-paths": "^3.0.5", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.6", "which": "^6.0.1" }, "bin": { "edgedriver": "bin/edgedriver.js" } }, "sha512-wCL/Ydgt0DPkWecjhhPj2/lnDxsGeHLPKeJYKKMTNol+ULFVg4WaTvxoB19GU4tieM6LSA3vZEdZxmDC0DwIpQ=="],
+
"ee-first": ["[email protected]", "", {}, "sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow=="],
"effect": ["[email protected]", "", { "dependencies": { "@standard-schema/spec": "^1.1.0", "fast-check": "^4.9.0", "msgpackr": "^2.0.5" } }, "sha512-ASd5L58EIR0CUNueZNKKjSsyOCd+2alxOAIaTcHaqkJkPsaYSsw5Cg/cfANk5K4Jr2YsX756xvX11shzqsreWA=="],
@@ -2081,6 +2148,8 @@
"emojilib": ["[email protected]", "", {}, "sha512-KbWiYre9aRSaPbHrHZIz9zmoM+21LAsK1VFJtnTh1VCtWE/rNMDviGhQTmselFl95dhqtGlY22iH0leG5BuW0g=="],
+ "encoding-sniffer": ["[email protected]", "", { "dependencies": { "iconv-lite": "^0.6.3", "whatwg-encoding": "^3.1.1" } }, "sha512-5gvq20T6vfpekVtqrYQsSCFZ1wEg5+wW0/QaZMWkFr6BqD3NfKs0rLCx4rrVlSWJeZb5NBJgVLswK/w2MWU+Gw=="],
+
"end-of-stream": ["[email protected]", "", { "dependencies": { "once": "^1.4.0" } }, "sha512-ooEGc6HP26xXq/N+GCGOT0JKCLDGrq2bQUZrQ7gyrJiZANJ/8YDTxTpQBXGMn+WbIQXNVpyWymm7KYVICQnyOg=="],
"enhanced-resolve": ["[email protected]", "", { "dependencies": { "graceful-fs": "^4.2.4", "tapable": "^2.3.3" } }, "sha512-GVoi+ICHocoOIU7qVVM48wOJziRsqrsyqlI0Ce0LdowRn6v3bcH2zUa9kp85ncx0nwIb9/HOCOLS3fdThDG/XQ=="],
@@ -2143,6 +2212,8 @@
"events": ["[email protected]", "", {}, "sha512-mQw+2fkQbALzQ7V0MY0IqdnXNOeTtP4r0lN9z7AAawCXgqea7bDii20AYrIBrFd/Hx0M2Ocz6S111CaFkUcb0Q=="],
+ "events-universal": ["[email protected]", "", { "dependencies": { "bare-events": "^2.7.0" } }, "sha512-LUd5euvbMLpwOF8m6ivPCbhQeSiYVNb8Vs0fQ8QjXo0JTkEHpz8pxdQf0gStltaPpw0Cca8b39KxvK9cfKRiAw=="],
+
"eventsource-parser": ["[email protected]", "", {}, "sha512-kJezFj9YFAMLeORyi7aCLxLbD5/qWMQnoMVlVPyHIll7lgRJCc3JVln9Vgl9nwQi0YkMnhdGTMNn7CkRRAptMg=="],
"execa": ["[email protected]", "", { "dependencies": { "cross-spawn": "^7.0.3", "get-stream": "^6.0.0", "human-signals": "^2.1.0", "is-stream": "^2.0.0", "merge-stream": "^2.0.0", "npm-run-path": "^4.0.1", "onetime": "^5.1.2", "signal-exit": "^3.0.3", "strip-final-newline": "^2.0.0" } }, "sha512-8uSpZZocAZRBAPIEINJj3Lo9HyGitllczc27Eh5YYojjMFMn8yHMDMaUHE2Jqfq05D/wucwI4JGURyXt1vchyg=="],
@@ -2153,12 +2224,16 @@
"extend": ["[email protected]", "", {}, "sha512-fjquC59cD7CyW6urNXK0FBufkZcoiGG80wTuPujX590cB5Ttln20E2UB4S/WARVqhXffZl2LNgS+gQdPIIim/g=="],
+ "extract-zip": ["[email protected]", "", { "dependencies": { "debug": "^4.1.1", "get-stream": "^5.1.0", "yauzl": "^2.10.0" }, "optionalDependencies": { "@types/yauzl": "^2.9.1" }, "bin": { "extract-zip": "cli.js" } }, "sha512-GDhU9ntwuKyGXdZBUgTIe+vXnWj0fppUEtMDL0+idd5Sta8TGpHssn/eusA9mrPr9qNDym6SxAYZjNvCn/9RBg=="],
+
"fast-check": ["[email protected]", "", { "dependencies": { "pure-rand": "^8.0.0" } }, "sha512-7ms6T7SybUev/PQITciI0yLM2pOSFy5zpG8Ty7tQofcVaQUvrMXp6CBwqF6fThLCLOrfBtuHAtwq6Yu4XPCllg=="],
"fast-deep-equal": ["[email protected]", "", {}, "sha512-f3qQ9oQy9j2AhBe/H9VC91wLmKBCCU/gDOnKNAYG5hswO7BLKj09Hc5HYNz9cGI++xlpDCIgDaitVs03ATR84Q=="],
"fast-diff": ["[email protected]", "", {}, "sha512-VxPP4NqbUjj6MaAOafWeUn2cXWLcCtljklUtZf0Ind4XQ+QPtmA0b18zZy0jIQx+ExRVCR/ZQpBmik5lXshNsw=="],
+ "fast-fifo": ["[email protected]", "", {}, "sha512-/d9sfos4yxzpwkDkuN7k2SqFKtYNmCTzgfEpz82x34IM9/zc8KGxQoXg1liNC/izpRM/MBdt44Nmx41ZWqk+FQ=="],
+
"fast-glob": ["[email protected]", "", { "dependencies": { "@nodelib/fs.stat": "^2.0.2", "@nodelib/fs.walk": "^1.2.3", "glob-parent": "^5.1.2", "merge2": "^1.3.0", "micromatch": "^4.0.8" } }, "sha512-7MptL8U0cqcFdzIzwOTHoilX9x5BrNqye7Z/LuC7kCMRio1EMSyqRK3BEAUD7sXRq4iT4AzTVuZdhgQ2TCvYLg=="],
"fast-levenshtein": ["[email protected]", "", { "dependencies": { "fastest-levenshtein": "^1.0.7" } }, "sha512-hKKNajm46uNmTlhHSyZkmToAc56uZJwYq7yrciZjqOxnlfQwERDQJmHPUp7m1m9wx8vgOe8IaCKZ5Kv2k1DdCQ=="],
@@ -2183,6 +2258,8 @@
"fd-package-json": ["[email protected]", "", { "dependencies": { "walk-up-path": "^4.0.0" } }, "sha512-jKmm9YtsNXN789RS/0mSzOC1NUq9mkVd65vbSSVsKdjGvYXBuE4oWe2QOEoFeRmJg+lPuZxpmrfFclNhoRMneQ=="],
+ "fd-slicer": ["[email protected]", "", { "dependencies": { "pend": "~1.2.0" } }, "sha512-cE1qsB/VwyQozZ+q1dGxR8LBYNZeofhEdUNGSMbQD3Gw2lAzX9Zb3uIU6Ebc/Fmyjo9AWWfnn0AUCHqtevs/8g=="],
+
"fdir": ["[email protected]", "", { "peerDependencies": { "picomatch": "^3 || ^4" }, "optionalPeers": ["picomatch"] }, "sha512-tIbYtZbucOs0BRGqPJkshJUYdL+SDH7dVM8gjy+ERp3WAUjLEFJE+02kanyHtwjWOnwrKYBiwAmM0p4kLJAnXg=="],
"fetch-blob": ["[email protected]", "", { "dependencies": { "node-domexception": "^1.0.0", "web-streams-polyfill": "^3.0.3" } }, "sha512-7yAQpD2UMJzLi1Dqv7qFYnPbaPx7ZfFK6PiIxQ4PfkGPyNyl2Ugx+a/umUonmKqjhM4DnfbMvdX6otXq83soQQ=="],
@@ -2233,6 +2310,8 @@
"gcp-metadata": ["[email protected]", "", { "dependencies": { "gaxios": "^6.1.1", "google-logging-utils": "^0.0.2", "json-bigint": "^1.0.0" } }, "sha512-a4tiq7E0/5fTjxPAaH4jpjkSv/uCaU2p5KC6HVGrvl0cDjA8iBZv4vv1gyzlmK0ZUKqwpOyQMKzZQe3lTit77A=="],
+ "geckodriver": ["[email protected]", "", { "dependencies": { "@wdio/logger": "^9.18.0", "@zip.js/zip.js": "^2.8.11", "decamelize": "^6.0.1", "http-proxy-agent": "^7.0.2", "https-proxy-agent": "^7.0.6", "modern-tar": "^0.7.3" }, "bin": { "geckodriver": "bin/geckodriver.js" } }, "sha512-/AcCyc9o9o6hUbudaSJM2iOtXbxSLqQPOb4GrPvEN40cjraUeaX/j5kH3mSgwiroyMn7qzx2wM61AQ2XY8j3sA=="],
+
"generator-function": ["[email protected]", "", {}, "sha512-SFdFmIJi+ybC0vjlHN0ZGVGHc3lgE0DxPAT0djjVg+kjOnSqclqmj0KQ7ykTOLP6YxoqOvuAODGdcHJn+43q3g=="],
"gensync": ["[email protected]", "", {}, "sha512-3hN7NaskYvMDLQY55gnW3NQ+mesEAepTqlg+VEbj7zzqEMBVNhzcGYYeqFo/TlYz6eQiFcp1HcsCZO+nGgS8zg=="],
@@ -2243,6 +2322,8 @@
"get-intrinsic": ["[email protected]", "", { "dependencies": { "call-bind-apply-helpers": "^1.0.2", "es-define-property": "^1.0.1", "es-errors": "^1.3.0", "es-object-atoms": "^1.1.1", "function-bind": "^1.1.2", "get-proto": "^1.0.1", "gopd": "^1.2.0", "has-symbols": "^1.1.0", "hasown": "^2.0.2", "math-intrinsics": "^1.1.0" } }, "sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ=="],
+ "get-port": ["[email protected]", "", {}, "sha512-afP4W205ONCuMoPBqcR6PSXnzX35KTcJygfJfcp+QY+uwm3p20p1YczWXhlICIzGMCxYBQcySEcOgsJcrkyobg=="],
+
"get-proto": ["[email protected]", "", { "dependencies": { "dunder-proto": "^1.0.1", "es-object-atoms": "^1.0.0" } }, "sha512-sTSfBjoXBp89JvIKIefqw7U2CCebsc74kiY6awiGogKtoSGbgjYE/G/+l9sF3MWFPNc9IcoOC4ODfKHfxFmp0g=="],
"get-stream": ["[email protected]", "", {}, "sha512-ts6Wi+2j3jQjqi70w5AlN8DFnkSwC+MqmxEzdEALB2qXZYV3X/b1CTfgPLGJNMeAWxdPfU8FO1ms3NUfaHCPYg=="],
@@ -2279,6 +2360,8 @@
"graceful-fs": ["[email protected]", "", {}, "sha512-RbJ5/jmFcNNCcDV5o9eTnBLJ/HszWV0P73bc+Ff4nS/rJj+YaS6IGyiOL0VoBYX+l1Wrl3k63h/KrH+nhJ0XvQ=="],
+ "grapheme-splitter": ["[email protected]", "", {}, "sha512-bzh50DW9kTPM00T8y4o8vQg89Di9oLJVLW/KaOGIXJWP/iqCN6WKYkbNOF04vFLJhwcpYUh9ydh/+5vpOqV4YQ=="],
+
"graphlib": ["[email protected]", "", { "dependencies": { "lodash": "^4.17.15" } }, "sha512-jcLLfkpoVGmH7/InMC/1hIvOPSUh38oJtGhvrOFGzioE1DZ+0YW16RgmOJhHiuWTvGiJQ9Z1Ik43JvkRPRvE+A=="],
"graphql": ["[email protected]", "", {}, "sha512-Chq1s4CY7jmh8gO2qvLIJyfCDIN+EHLFW/9iShnp1z8FjBQMoodWP1kDC36VAMXXIvAjj4ARa7ntfAV2BrjsbA=="],
@@ -2321,6 +2404,8 @@
"html-void-elements": ["[email protected]", "", {}, "sha512-bEqo66MRXsUGxWHV5IP0PUiAWwoEjba4VCzg0LjFJBpchPaTfyfCKTG6bc5F8ucKec3q5y6qOdGyYTSBEvhCrg=="],
+ "htmlfy": ["[email protected]", "", {}, "sha512-xWROBw9+MEGwxpotll0h672KCaLrKKiCYzsyN8ZgL9cQbVumFnyvsk2JqiB9ELAV1GLj1GG/jxZUjV9OZZi/yQ=="],
+
"htmlparser2": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.3", "domutils": "^3.2.2", "entities": "^7.0.1" } }, "sha512-VTZkM9GWRAtEpveh7MSF6SjjrpNVNNVJfFup7xTY3UpFtm67foy9HDVXneLtFVt4pMz5kZtgNcvCniNFb1hlEQ=="],
"http-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "^7.1.0", "debug": "^4.3.4" } }, "sha512-T1gkAiYYDWYx3V5Bmyu7HcfcvL7mUrTWiM6yOfa3PIphViJ/gFPbvidQ+veqSOHci/PxBcDabeUNCzpOODJZig=="],
@@ -2349,6 +2434,8 @@
"import-from": ["[email protected]", "", {}, "sha512-P9J71vT5nLlDeV8FHs5nNxaLbrpfAV5cF5srvbZfpwpcJoM/xZR3hiv+q+SAnuSmuGbXMWud063iIMx/V/EWZQ=="],
+ "import-meta-resolve": ["[email protected]", "", {}, "sha512-Iqv2fzaTQN28s/FwZAoFq0ZSs/7hMAHJVX+w8PZl3cY19Pxk6jFFalxQoIfW2826i/fDLXv8IiEZRIT0lDuWcg=="],
+
"inflected": ["[email protected]", "", {}, "sha512-hAEKNxvHf2Iq3H60oMBHkB4wl5jn3TPF3+fXek/sRwAB5gP9xWs4r7aweSF95f99HFoz69pnZTcu8f0SIHV18w=="],
"inflight": ["[email protected]", "", { "dependencies": { "once": "^1.3.0", "wrappy": "1" } }, "sha512-k92I/b08q4wvFscXCLvqfsHCrjrF7yiXsQuIVvVE7N82W3+aqpzuUdBbfhWcy/FZR3/4IgflMgKLOsvPDrGCJA=="],
@@ -2415,6 +2502,8 @@
"is-obj": ["[email protected]", "", {}, "sha512-drqDG3cbczxxEJRoOXcOjtdp1J/lyp1mNn0xaznRs8+muBhgQcrnbspox5X5fOw0HnMnbfDzvnEMEtqDEJEo8w=="],
+ "is-plain-obj": ["[email protected]", "", {}, "sha512-+Pgi+vMuUNkJyExiMBt5IlFoMyKnr5zhJ4Uspz58WOhBF5QoIZkFyNHIbBAtHwzVAgk5RtndVNsDRN61/mmDqg=="],
+
"is-plain-object": ["[email protected]", "", { "dependencies": { "isobject": "^3.0.1" } }, "sha512-h5PpgXkWitc38BBMYawTYMWJHFZJVnBquFE57xFpjB8pJFiF6gZ+bU+WyI/yqXiFR5mdLsgYNaPe8uao6Uv9Og=="],
"is-potential-custom-element-name": ["[email protected]", "", {}, "sha512-bCYeRA2rVibKZd+s2625gGnGF/t7DSqDs4dP7CrLA1m7jKWz6pps0LpYLJN8Q64HtmPKJ1hrN3nzPNKFEKOUiQ=="],
@@ -2525,6 +2614,8 @@
"knip": ["[email protected]", "", { "dependencies": { "fdir": "^6.5.0", "formatly": "^0.3.0", "get-tsconfig": "4.14.0", "jiti": "^2.7.0", "oxc-parser": "^0.140.0", "oxc-resolver": "11.24.2", "picomatch": "^4.0.5", "smol-toml": "^1.7.0", "strip-json-comments": "5.0.3", "tinyglobby": "^0.2.17", "unbash": "^4.0.3", "yaml": "^2.9.0", "zod": "^4.4.3" }, "bin": { "knip": "bin/knip.js", "knip-bun": "bin/knip-bun.js" } }, "sha512-A3kXqSBky1tWBAqiU9srdtu0Larhzkuyor0aD/gg+ToiqyBncCCs2Q60sLsxmcKhV0OsKss9LV0hMPpwLv711Q=="],
+ "lazystream": ["[email protected]", "", { "dependencies": { "readable-stream": "^2.0.5" } }, "sha512-b94GiNHQNy6JNTrt5w6zNyffMrNkXZb3KTkCZJb2V1xaEGCk093vkZ2jk3tpaeP33/OiXC+WvK9AxUebnf5nbw=="],
+
"leven": ["[email protected]", "", {}, "sha512-qsda+H8jTaUaN/x5vzW2rzc+8Rw4TAQ/4KjB46IwK5VH+IlVeeeje/EoZRpiXvIqjFgK84QffqPztGI3VBLG1A=="],
"lexical": ["[email protected]", "", { "dependencies": { "@lexical/internal": "0.45.0" } }, "sha512-z2M9C2ILPW7SopQE1aKbOFdZJbe3HvsrgWnJKveMDrSEvVjU9Hce4UpKVsAdkwY7TgY9RDuCV3+sfrGu0WkL+w=="],
@@ -2569,6 +2660,8 @@
"livekit-client": ["[email protected]", "", { "dependencies": { "@livekit/mutex": "1.1.1", "@livekit/protocol": "1.50.4", "events": "^3.3.0", "jose": "^6.1.0", "loglevel": "^1.9.2", "sdp-transform": "^2.15.0", "tslib": "2.8.1", "typed-emitter": "^2.1.0", "webrtc-adapter": "9.0.6" }, "peerDependencies": { "@types/dom-mediacapture-record": "^1" } }, "sha512-RBUhPkV/sl1nzl8lokVlK5uATPwn0AlsudCBZXissw/kDl9yz8ac4pNJ43iPpMVoHOeBYH/BZ3vUC1adqa/zFQ=="],
+ "locate-app": ["[email protected]", "", { "dependencies": { "@promptbook/utils": "0.69.5", "type-fest": "4.26.0", "userhome": "1.0.1" } }, "sha512-xIqbzPMBYArJRmPGUZD9CzV9wOqmVtQnaAn3wrj3s6WYW0bQvPI7x+sPYUGmDTYMHefVK//zc6HEYZ1qnxIK+Q=="],
+
"locate-path": ["[email protected]", "", { "dependencies": { "p-locate": "^5.0.0" } }, "sha512-iPZK6eYjbxRu3uB4/WZ3EsEIMJFMqAoopl3R+zuq0UjcAm/MO6KCweDgPfP3elTztoKP3KtnVHxTn2NHBSDVUw=="],
"lodash": ["[email protected]", "", {}, "sha512-dMInicTPVE8d1e5otfwmmjlxkZoUpiVLwyeTdUsi/Caj/gfzzblBcCE5sRHV/AsjuCmxWrte2TNGSYuCeCq+0Q=="],
@@ -2609,6 +2702,8 @@
"lodash.uniqwith": ["[email protected]", "", {}, "sha512-7lYL8bLopMoy4CTICbxygAUq6CdRJ36vFc80DucPueUee+d5NBRxz3FdT9Pes/HEx5mPoT9jwnsEJWz1N7uq7Q=="],
+ "lodash.zip": ["[email protected]", "", {}, "sha512-C7IOaBBK/0gMORRBd8OETNx3kmOkgIWIPvyDpZSCTwUrpYmgZwJkjZeOD8ww4xbOUOs4/attY+pciKvadNfFbg=="],
+
"log-symbols": ["[email protected]", "", { "dependencies": { "is-unicode-supported": "^2.0.0", "yoctocolors": "^2.1.1" } }, "sha512-ja1E3yCr9i/0hmBVaM0bfwDjnGy8I/s6PP4DFp+yP+a+mrHO4Rm7DtmnqROTUkHIkqffC84YY7AeqX6oFk0WFg=="],
"log-update": ["[email protected]", "", { "dependencies": { "ansi-escapes": "^7.0.0", "cli-cursor": "^5.0.0", "slice-ansi": "^7.1.0", "strip-ansi": "^7.1.0", "wrap-ansi": "^9.0.0" } }, "sha512-9ie8ItPR6tjY5uYJh8K/Zrv/RMZ5VOlOWvtZdEHYSTFKZfIBPQa9tOAEeAWhd+AnIneLJ22w5fjOYtoutpWq5w=="],
@@ -2689,6 +2784,10 @@
"minipass": ["[email protected]", "", {}, "sha512-tEBHqDnIoM/1rXME1zgka9g6Q2lcoCkxHLuc7ODJ5BxbP5d4c2Z5cGgtXAku59200Cx7diuHTOYfSBD8n6mm8A=="],
+ "mitt": ["[email protected]", "", {}, "sha512-vKivATfr97l2/QBCYAkXYDbrIWPM2IIKEl7YPhjCvKlG3kE2gm+uBo6nEXK3M5/Ffh/FLpKExzOQ3JJoJGFKBw=="],
+
+ "modern-tar": ["[email protected]", "", {}, "sha512-t9VmxaqrmANnEOBhpSDI6HD192Ge48k8vmWqQQL7hSFEqHEYwZbbsu49+aKLWZeRvFs3j1pMhXOqqF4kPlvjkQ=="],
+
"mrmime": ["[email protected]", "", {}, "sha512-Y3wQdFg2Va6etvQ5I82yUhGdsKrcYox6p7FfL1LbK2J4V01F9TGlepTIhnK24t7koZibmg82KGglhA1XK5IsLQ=="],
"ms": ["[email protected]", "", {}, "sha512-6FlzubTLZG3J2a/NVCAleEhjzq5oxgHyaCU9yYXvcLsvoVaHJq/s5xXI6/XXP6tz7R9xAOtHnSO/tXtF3WRTlA=="],
@@ -2807,6 +2906,10 @@
"parse5": ["[email protected]", "", { "dependencies": { "entities": "^6.0.0" } }, "sha512-IInvU7fabl34qmi9gY8XOVxhYyMyuH2xUNpb2q8/Y+7552KlejkRvqvD19nMoUW/uQGGbqNpA6Tufu5FL5BZgw=="],
+ "parse5-htmlparser2-tree-adapter": ["[email protected]", "", { "dependencies": { "domhandler": "^5.0.3", "parse5": "^7.0.0" } }, "sha512-ruw5xyKs6lrpo9x9rCZqZZnIUntICjQAd0Wsmp396Ul9lN/h+ifgVV1x1gZHi8euej6wTfpqX8j+BFQxF0NS/g=="],
+
+ "parse5-parser-stream": ["[email protected]", "", { "dependencies": { "parse5": "^7.0.0" } }, "sha512-JyeQc9iwFLn5TbvvqACIF/VXG6abODeB3Fwmv/TGdLk2LfbWkaySGY72at4+Ty7EkPZj854u4CrICqNk2qIbow=="],
+
"path-browserify": ["[email protected]", "", {}, "sha512-b7uo2UCUOYZcnF/3ID0lulOJi/bafxa1xPe7ZPsammBSpjSWQkjNxlt635YGS2MiR9GjvuXCtz2emr3jbsz98g=="],
"path-exists": ["[email protected]", "", {}, "sha512-ak9Qy5Q7jYb2Wwcey5Fpvg2KoAc/ZIhLSLOSBmRmygPsGwkVVt0fZa0qrtMz+m6tJTAHfZQ8FnmB4MG4LWy7/w=="],
@@ -2829,7 +2932,9 @@
"pathval": ["[email protected]", "", {}, "sha512-//nshmD55c46FuFw26xV/xFAaB5HF9Xdap7HJBBnrKdAd6/GxDBaNA1870O79+9ueg61cZLSVc+OaFlfmObYVQ=="],
- "pdfjs-dist": ["pdfjs-dist@github:macro-inc/pdf.js#f9b2ce6", { "dependencies": { "dommatrix": "^1.0.3", "web-streams-polyfill": "^3.2.1" }, "peerDependencies": { "worker-loader": "^3.0.8" }, "optionalPeers": ["worker-loader"] }, "macro-inc-pdf.js-f9b2ce6"],
+ "pdfjs-dist": ["pdfjs-dist@github:macro-inc/pdf.js#f9b2ce6", { "dependencies": { "dommatrix": "^1.0.3", "web-streams-polyfill": "^3.2.1" }, "peerDependencies": { "worker-loader": "^3.0.8" }, "optionalPeers": ["worker-loader"] }, "macro-inc-pdf.js-f9b2ce6", "sha512-HDFaPbCxLG2GHpf1smUG97nku5aPGBGaCcIbK05dGdp07TBLUlDcXsM4WcE82mO5W4RBPIBVYobX5N/6M6NFrA=="],
+
+ "pend": ["[email protected]", "", {}, "sha512-F3asv42UuXchdzt+xXqfW1OGlVBe+mxa2mqI0pg5yAHZPvFmY3Y6drSf/GQ1A86WgWEN9Kzh/WrgKa6iGcHXLg=="],
"performance-now": ["[email protected]", "", {}, "sha512-7EAHlyLHI56VEIdK57uwHdHKIaAGbnXPiw0yWbarQZOKaKpvUIgW0jWRVLiatnM+XXlSwsanIBH/hzGMJulMow=="],
@@ -2859,8 +2964,12 @@
"prismjs": ["[email protected]", "", {}, "sha512-DEvV2ZF2r2/63V+tK8hQvrR2ZGn10srHbXviTlcv7Kpzw8jWiNTqbVgjO3IY8RxrrOUF8VPMQQFysYYYv0YZxw=="],
+ "process": ["[email protected]", "", {}, "sha512-cdGef/drWFoydD1JsMzuFf8100nZl+GT+yacc2bEced5f9Rjk4z+WtFUTBu9PhOi9j/jfmBPu0mMEY4wIdAF8A=="],
+
"process-nextick-args": ["[email protected]", "", {}, "sha512-3ouUOpQhtgrbOa17J7+uxOTpITYWaGP7/AhoR3+A+/1e9skrzelGi/dXzEYyvbxubEF6Wn2ypscTKiKJFFn1ag=="],
+ "progress": ["[email protected]", "", {}, "sha512-7PiHtLll5LdnKIMw100I+8xJXR5gW2QwWYkT6iJva0bXitZKa/XMrSbdmg3r2Xnaidz9Qumd0VPaMrZlF9V9sA=="],
+
"property-information": ["[email protected]", "", {}, "sha512-IAtzIB6sUiWaJYrX9smp3V46pBGbBeLFRGdh25kg1334VcBlD8HzhPeNIWQH9zhGmo2itIe25EHt9dQP7G5hmg=="],
"proto3-json-serializer": ["[email protected]", "", { "dependencies": { "protobufjs": "^7.2.5" } }, "sha512-SAzp/O4Yh02jGdRc+uIrGoe87dkN/XtwxfZ4ZyafJHymd79ozp5VG5nyZ7ygqPM5+cpLDjjGnYFUkngonyDPOQ=="],
@@ -2915,7 +3024,9 @@
"react-is-19": ["[email protected]", "", {}, "sha512-kZFnouyVv7eP/Phmrlo9FK+zcAdriZJvzxXHF1Sl1P377WSGe2G/JxVolhTrB/jeV47lKImhNUsijjHAAbcl/A=="],
- "readable-stream": ["[email protected]", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
+ "readable-stream": ["[email protected]", "", { "dependencies": { "abort-controller": "^3.0.0", "buffer": "^6.0.3", "events": "^3.3.0", "process": "^0.11.10", "string_decoder": "^1.3.0" } }, "sha512-oIGGmcpTLwPga8Bn6/Z75SVaH1z5dUut2ibSyAMVhmUggWpmDn2dapB0n7f8nwaSiRtepAsfJyfXIO5DCVAODg=="],
+
+ "readdir-glob": ["[email protected]", "", { "dependencies": { "minimatch": "^5.1.0" } }, "sha512-v05I2k7xN8zXvPD9N+z/uhXPaj0sUFCe2rcWZIpBsqxfP7xXFQ0tipAd/wjj1YxWyWtUS5IDJpOG82JKt2EAVA=="],
"readdirp": ["[email protected]", "", {}, "sha512-GDhwkLfywWL2s6vEjyhri+eXmfH6j1L7JE27WhqLeYzoh/A3DBaYGEj2H/HFZCn/kMfim73FXxEJTw06WtxQwg=="],
@@ -2945,8 +3056,12 @@
"resolve-pkg-maps": ["[email protected]", "", {}, "sha512-seS2Tj26TBVOC2NIc2rOe2y2ZO7efxITtLZcGSOnHHNOQ7CkiUBfw0Iw2ck6xkIhPwLhKNLS8BO+hEpngQlqzw=="],
+ "resq": ["[email protected]", "", { "dependencies": { "fast-deep-equal": "^2.0.1" } }, "sha512-G10EBz+zAAy3zUd/CDoBbXRL6ia9kOo3xRHrMDsHljI0GDkhYlyjwoCx5+3eCC4swi1uCoZQhskuJkj7Gp57Bw=="],
+
"restore-cursor": ["[email protected]", "", { "dependencies": { "onetime": "^5.1.0", "signal-exit": "^3.0.2" } }, "sha512-l+sSefzHpj5qimhFSE5a8nufZYAM3sBSVMAPtYkmC+4EH2anSGaEMXSD0izRQbu9nfyQ9y5JrVmp7E8oZrUjvA=="],
+ "ret": ["[email protected]", "", {}, "sha512-I1XxrZSQ+oErkRR4jYbAyEEu2I0avBvvMM5JN+6EBprOGRCs63ENqZ3vjavq8fBw2+62G5LF5XelKwuJpcvcxw=="],
+
"retry": ["[email protected]", "", {}, "sha512-9LkiTwjUh6rT555DtE9rTX+BKByPfrMzEAtnlEtdEwr3Nkffwiihqe2bWADg+OQRjt9gl6ICdmB/ZFDCGAtSow=="],
"retry-request": ["[email protected]", "", { "dependencies": { "@types/request": "^2.48.8", "extend": "^3.0.2", "teeny-request": "^9.0.0" } }, "sha512-dUOvLMJ0/JJYEn8NrpOaGNE7X3vpI5XlZS/u0ANjqtcZVKnIxP7IgCFwrKTxENw29emmwug53awKtaMm4i9g5w=="],
@@ -2955,6 +3070,8 @@
"rfdc": ["[email protected]", "", {}, "sha512-q1b3N5QkRUWUl7iyylaaj3kOpIT0N2i9MqIEQXP73GVsN9cw3fdx8X63cEmWhJGi2PPCF23Ijp7ktmd39rawIA=="],
+ "rgb2hex": ["[email protected]", "", {}, "sha512-22MOP1Rh7sAo1BZpDG6R5RFYzR2lYEgwq7HEmyW2qcsOqR2lQKmn+O//xV3YG/0rrhMC6KVX2hU+ZXuaw9a5bw=="],
+
"rimraf": ["[email protected]", "", { "dependencies": { "glob": "^10.3.7" }, "bin": { "rimraf": "dist/esm/bin.mjs" } }, "sha512-l0OE8wL34P4nJH/H2ffoaniAokM2qSmrtXHmlpvYr5AVVX8msAyW0l8NVJFDxlSK4u3Uh/f41cQheDVdnYijwQ=="],
"rollup": ["[email protected]", "", { "dependencies": { "@types/estree": "1.0.9" }, "optionalDependencies": { "@rollup/rollup-android-arm-eabi": "4.62.2", "@rollup/rollup-android-arm64": "4.62.2", "@rollup/rollup-darwin-arm64": "4.62.2", "@rollup/rollup-darwin-x64": "4.62.2", "@rollup/rollup-freebsd-arm64": "4.62.2", "@rollup/rollup-freebsd-x64": "4.62.2", "@rollup/rollup-linux-arm-gnueabihf": "4.62.2", "@rollup/rollup-linux-arm-musleabihf": "4.62.2", "@rollup/rollup-linux-arm64-gnu": "4.62.2", "@rollup/rollup-linux-arm64-musl": "4.62.2", "@rollup/rollup-linux-loong64-gnu": "4.62.2", "@rollup/rollup-linux-loong64-musl": "4.62.2", "@rollup/rollup-linux-ppc64-gnu": "4.62.2", "@rollup/rollup-linux-ppc64-musl": "4.62.2", "@rollup/rollup-linux-riscv64-gnu": "4.62.2", "@rollup/rollup-linux-riscv64-musl": "4.62.2", "@rollup/rollup-linux-s390x-gnu": "4.62.2", "@rollup/rollup-linux-x64-gnu": "4.62.2", "@rollup/rollup-linux-x64-musl": "4.62.2", "@rollup/rollup-openbsd-x64": "4.62.2", "@rollup/rollup-openharmony-arm64": "4.62.2", "@rollup/rollup-win32-arm64-msvc": "4.62.2", "@rollup/rollup-win32-ia32-msvc": "4.62.2", "@rollup/rollup-win32-x64-gnu": "4.62.2", "@rollup/rollup-win32-x64-msvc": "4.62.2", "fsevents": "~2.3.2" }, "bin": { "rollup": "dist/bin/rollup" } }, "sha512-RFnrW4lhXA3s3eqHDZvN654g8OTjzRfqpIRJYczCGB6HzphckVAi/Qh4tbPUbRuDi7s1Llv8g/NspLkttY3gTA=="],
@@ -2969,6 +3086,8 @@
"rxjs": ["[email protected]", "", { "dependencies": { "tslib": "^2.1.0" } }, "sha512-dhKf903U/PQZY6boNNtAGdWbG85WAbjT/1xYoZIC7FAY0yWapOBQVsVrDl58W86//e1VpMNBtRV4MaXfdMySFA=="],
+ "safaridriver": ["[email protected]", "", {}, "sha512-jkg4434cYgtrIF2AeY/X0Wmd2W73cK5qIEFE3hDrrQenJH/2SDJIXGvPAigfvQTcE9+H31zkiNHbUqcihEiMRA=="],
+
"safe-array-concat": ["[email protected]", "", { "dependencies": { "call-bind": "^1.0.9", "call-bound": "^1.0.4", "get-intrinsic": "^1.3.0", "has-symbols": "^1.1.0", "isarray": "^2.0.5" } }, "sha512-wtZlHyOje6OZTGqAoaDKxFkgRtkF9CnHAVnCHKfuj200wAgL+bSJhdsCD2l0Qx/2ekEXjPWcyKkfGb5CPboslg=="],
"safe-buffer": ["[email protected]", "", {}, "sha512-rp3So07KcdmmKbGvgaNxQSJr7bGVSVk5S9Eq1F+ppbRo70+YeaDxkw5Dd8NPN+GD6bjnYm2VuPuCXmpuYvmCXQ=="],
@@ -2977,6 +3096,8 @@
"safe-regex-test": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.2", "es-errors": "^1.3.0", "is-regex": "^1.2.1" } }, "sha512-x/+Cz4YrimQxQccJf5mKEbIa1NzeCRNI5Ecl/ekmlYaampdNLPalVyIcCZNNH3MvmqBugV5TMYZXv0ljslUlaw=="],
+ "safe-regex2": ["[email protected]", "", { "dependencies": { "ret": "~0.5.0" }, "bin": { "safe-regex2": "bin/safe-regex2.js" } }, "sha512-mOSBvHGDZMuIEZMdOz/aCEYDCv0E7nfcNsIhUF+/P+xC7Hyf3FkvymqgPbg9D1EdSGu+uKbJgy09K/RKKc7kJA=="],
+
"safe-stable-stringify": ["[email protected]", "", {}, "sha512-ERq4hUjKDbJfE4+XtZLFPCDi8Vb1JqaxAPTxWFLBx8XcAlf9Bda/ZJdVezs/NAfsMQScyIlUMx+Yeu7P7rx5jw=="],
"safer-buffer": ["[email protected]", "", {}, "sha512-YZo3K82SD7Riyi0E1EQPojLz7kpepnSQI9IyPbHHg1XXXevb5dJI7tpyN2ADxGcQbHG7vcyRHk0cbwqcQriUtg=="],
@@ -2993,6 +3114,8 @@
"semver": ["[email protected]", "", { "bin": { "semver": "bin/semver.js" } }, "sha512-Y7/KDsb8LjooZpwaqGyulO6DQlksgCncchHGk+sZIY4SBvUocMBEFH5Ur1fI4dV+Jvl0w6cjvucaIi40puRioA=="],
+ "serialize-error": ["[email protected]", "", { "dependencies": { "type-fest": "^4.31.0" } }, "sha512-ZYkZLAvKTKQXWuh5XpBw7CdbSzagarX39WyZ2H07CDLC5/KfsRGlIXV8d4+tfqX1M7916mRqR1QfNHSij+c9Pw=="],
+
"seroval": ["[email protected]", "", {}, "sha512-bSjOuPcwPKLSJNhr9+bZxA20nQxVle5J5MNsYRVE6cIg7KpRLXGupymePavu0jrxlPiPsr4xGZSB8yUY2sH2sw=="],
"seroval-plugins": ["[email protected]", "", { "peerDependencies": { "seroval": "^1.0" } }, "sha512-+BDhqYM6CEn3x09v44dpa9p6974FuUB2dxk+Ctn04k0cO1Zt6QODTXfmEZK0eBaTe/fJBvP4NMGuNJ+R8T+QMg=="],
@@ -3089,6 +3212,10 @@
"space-separated-tokens": ["[email protected]", "", {}, "sha512-PEGlAwrG8yXGXRjW32fGbg66JAlOAwbObuqVoJpv/mRgoWDQfgH1wDPvtzWyUSNAXBGSk8h755YDbbcEy3SH2Q=="],
+ "spacetrim": ["[email protected]", "", {}, "sha512-lLYsktklSRKprreOm7NXReW8YiX2VBjbgmXYEziOoGf/qsJqAEACaDvoTtUOycwjpaSh+bT8eu0KrJn7UNxiCg=="],
+
+ "split2": ["[email protected]", "", {}, "sha512-UcjcJOWknrNkF6PLX83qcHM6KHgVKNkV62Y8a5uYDVv9ydGQVwAHMKqHdJje1VTWpljG0WYpCDhrCdAOYH4TWg=="],
+
"sponge-case": ["[email protected]", "", {}, "sha512-i4h9ZGRfxV6Xw3mpZSFOfbXjf0cQcYmssGWutgNIfFZ2VM+YIWfD71N/kjjwK6X/AAHzBr+rciEcn/L34S8TGw=="],
"sprintf-js": ["[email protected]", "", {}, "sha512-D9cPgkvLlV3t3IzL0D0YLvGA9Ahk4PcvVwUbN0dSGr1aP0Nrt4AEnTUbuGvquEC0mA64Gqt1fzirlRs5ibXx8g=="],
@@ -3107,6 +3234,8 @@
"stream-shift": ["[email protected]", "", {}, "sha512-76ORR0DO1o1hlKwTbi/DM3EXWGf3ZJYO8cXX5RJwnul2DEg2oyoZyjLNoQM8WsvZiFKCRfC1O0J7iCvie3RZmQ=="],
+ "streamx": ["[email protected]", "", { "dependencies": { "events-universal": "^1.0.0", "fast-fifo": "^1.3.2", "text-decoder": "^1.1.0" } }, "sha512-zEzXb0s5Cds7tqMH6rhZ05lcJydCWiQPEwiNngVqzsxCc962vLY4Uw+mW7od8kDH258k2Uz/JrOkdIAAhSh9VA=="],
+
"string-argv": ["[email protected]", "", {}, "sha512-aqD2Q0144Z+/RqG52NeHEkZauTAUWJO8c6yTftGJKO3Tja5tUgIfmIl6kExvhtxSDP7fXB6DvzkfMpCd/F3G+Q=="],
"string-env-interpolation": ["[email protected]", "", {}, "sha512-78lwMoCcn0nNu8LszbP1UA7g55OeE4v7rCeWnM5B453rnNr4aq+5it3FEYtZrSEiMvHZOZ9Jlqb0OD0M2VInqg=="],
@@ -3121,7 +3250,7 @@
"string.prototype.trimstart": ["[email protected]", "", { "dependencies": { "call-bind": "^1.0.7", "define-properties": "^1.2.1", "es-object-atoms": "^1.0.0" } }, "sha512-UXSH262CSZY1tfu3G3Secr6uGLCFVPMhIqHjlgCUtCCcgihYc/xKs9djMTMUOb2j1mVSeU8EU6NWc/iQKU6Gfg=="],
- "string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
+ "string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.2.0" } }, "sha512-hkRX8U1WjJFd8LsDJ2yQ/wWWxaopEsABU1XfkM8A+j0+85JAGppt16cr1Whg6KIbb4okU6Mql6BOj+uup/wKeA=="],
"stringify-entities": ["[email protected]", "", { "dependencies": { "character-entities-html4": "^2.0.0", "character-entities-legacy": "^3.0.0" } }, "sha512-IwfBptatlO+QCJUo19AqvrPNqlVMpW9YEL2LIVY+Rpv2qsjCGxaDLNRgeGsQWJhfItebuJhsGSLjaBbNSQ+ieg=="],
@@ -3171,12 +3300,20 @@
"tapable": ["[email protected]", "", {}, "sha512-uxc/zpqFg6x7C8vOE7lh6Lbda8eEL9zmVm/PLeTPBRhh1xCgdWaQ+J1CUieGpIfm2HdtsUpRv+HshiasBMcc6A=="],
+ "tar-fs": ["[email protected]", "", { "dependencies": { "pump": "^3.0.0", "tar-stream": "^3.1.5" }, "optionalDependencies": { "bare-fs": "^4.0.1", "bare-path": "^3.0.0" } }, "sha512-/hU4AXnIdZu+Gvl1pk0oI5f5HxWsCJRtY2aFaJdk9VvyL48DWU6iU5WAIPG+wIi1YvWA6eTJvIviP/tMAZZNwQ=="],
+
+ "tar-stream": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4", "bare-fs": "^4.5.5", "fast-fifo": "^1.2.0", "streamx": "^2.15.0" } }, "sha512-nqsEO8zLZJvrOMdEwkA0QdCLFbetHMn95Zqu4fKwX+hkaTWJPZZOrxx/PwtxoK0MMGQmBQNRW3CPs8IFYQz4cQ=="],
+
"tauri-plugin-safe-area-insets": ["[email protected]", "", { "dependencies": { "@tauri-apps/api": ">=2.0.0-beta.6" } }, "sha512-NhtxSQdU7+laTJiO4WZFlTB1CBzRlNE5EuHflGAGXS55fiwOkkaWztfNishFQO+eZtb9i5jLHX3Yho48lnqcRQ=="],
"teeny-request": ["[email protected]", "", { "dependencies": { "http-proxy-agent": "^5.0.0", "https-proxy-agent": "^5.0.0", "node-fetch": "^2.6.9", "stream-events": "^1.0.5", "uuid": "^9.0.0" } }, "sha512-resvxdc6Mgb7YEThw6G6bExlXKkv6+YbuzGg9xuXxSgxJF7Ozs+o8Y9+2R3sArdWdW8nOokoQb1yrpFB0pQK2g=="],
+ "teex": ["[email protected]", "", { "dependencies": { "streamx": "^2.12.5" } }, "sha512-eYE6iEI62Ni1H8oIa7KlDU6uQBtqr4Eajni3wX7rpfXD8ysFx8z0+dri+KWEPWpBsxXfxu58x/0jvTVT1ekOSg=="],
+
"terminal-link": ["[email protected]", "", { "dependencies": { "ansi-escapes": "^4.2.1", "supports-hyperlinks": "^2.0.0" } }, "sha512-un0FmiRUQNr5PJqy9kP7c40F5BOfpGlYTrxonDChEZB7pzZxRNp/bt+ymiy9/npwXya9KH99nJ/GXFIiUkYGFQ=="],
+ "text-decoder": ["[email protected]", "", { "dependencies": { "b4a": "^1.6.4" } }, "sha512-vlLytXkeP4xvEq2otHeJfSQIRyWxo/oZGEbXrtEEF9Hnmrdly59sUbzZ/QgyWuLYHctCHxFF4tRQZNQ9k60ExQ=="],
+
"through": ["[email protected]", "", {}, "sha512-w89qg7PI8wAdvX60bMDP+bFoD5Dvhm9oLheFp5O4a2QF0cSBGsBX4qZmadPMvVqlLJBBci+WqGGOAPvcDeNSVg=="],
"timeout-signal": ["[email protected]", "", {}, "sha512-YBGpG4bWsHoPvofT6y/5iqulfXIiIErl5B0LdtHT1mGXDFTAhhRrbUpTvBgYbovr+3cKblya2WAOcpoy90XguA=="],
@@ -3233,7 +3370,7 @@
"typanion": ["[email protected]", "", {}, "sha512-ZW/lVMRabETuYCd9O9ZvMhAh8GslSqaUjxmK/JLPCh6l73CvLBiuXswj/+7LdnWOgYsQ130FqLzFz5aGT4I3Ug=="],
- "type-fest": ["[email protected]", "", {}, "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="],
+ "type-fest": ["[email protected]", "", {}, "sha512-TeTSQ6H5YHvpqVwBRcnLDCBnDOHWYu7IvGbHT6N8AOymcr9PJGjc1GTtiWZTYg0NCgYwvnYWEkVChQAr9bjfwA=="],
"typed-array-buffer": ["[email protected]", "", { "dependencies": { "call-bound": "^1.0.3", "es-errors": "^1.3.0", "is-typed-array": "^1.1.14" } }, "sha512-nAYYwfY3qnzX30IkA6AQZjVbtK6duGontcQm1WSG1MD94YLqK0515GNApXkoxKOWMusVssAHWLh9SeaoefYFGw=="],
@@ -3297,6 +3434,8 @@
"urlpattern-polyfill": ["[email protected]", "", {}, "sha512-IGjKp/o0NL3Bso1PymYURCJxMPNAf/ILOpendP9f5B6e1rTJgdgiOvgfoT8VxCAdY+Wisb9uhGaJJf3yZ2V9nw=="],
+ "userhome": ["[email protected]", "", {}, "sha512-5cnLm4gseXjAclKowC4IjByaGsjtAoV6PrOQOljplNB54ReUYJP8HdAFq2muHinSDAh09PPX/uXDPfdxRHvuSA=="],
+
"util-deprecate": ["[email protected]", "", {}, "sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw=="],
"utility-types": ["[email protected]", "", {}, "sha512-6Z7Ma2aVEWisaL6TvBCy7P8rm2LQoPv6dJ7ecIaIixHcwfbJ0x7mWdbcwlIM5IGQxPZSFYeqRCqlOOeKoJYMkw=="],
@@ -3335,6 +3474,8 @@
"w3c-xmlserializer": ["[email protected]", "", { "dependencies": { "xml-name-validator": "^5.0.0" } }, "sha512-o8qghlI8NZHU1lLPrpi2+Uq7abh4GGPpYANlalzWxyWteJOCsr/P+oPBA49TOLu5FTZO4d3F9MnWJfiMo4BkmA=="],
+ "wait-port": ["[email protected]", "", { "dependencies": { "chalk": "^4.1.2", "commander": "^9.3.0", "debug": "^4.3.4" }, "bin": { "wait-port": "bin/wait-port.js" } }, "sha512-3e04qkoN3LxTMLakdqeWth8nih8usyg+sf1Bgdf9wwUkp05iuK1eSY/QpLvscT/+F/gA89+LpUmmgBtesbqI2Q=="],
+
"walk-up-path": ["[email protected]", "", {}, "sha512-3hu+tD8YzSLGuFYtPRb48vdhKMi0KQV5sn+uWr8+7dMEq/2G/dtLrdDinkLjqq5TIbIBjYJ4Ax/n3YiaW7QM8A=="],
"wasi-js": ["[email protected]", "", { "dependencies": { "@cowasm/memfs": "^3.5.1", "@wapython/unionfs": "^4.5.7", "debug": "^4.3.4", "fflate": "^0.7.3", "path-browserify": "^1.0.0", "randomfill": "^1.0.4", "typedarray-to-buffer": "^4.0.0" }, "bin": { "wasi-run": "bin/run.js" } }, "sha512-4oq6iVdY4nlsqFviS98ltEdWnhYQoeZwz3/5AxQ3bs0fd/YBzBMS162p/n0DHEIJFev1Jvk3gnJwck1s4a8mVQ=="],
@@ -3347,6 +3488,10 @@
"web-vitals-soft-navs": ["[email protected]", "", {}, "sha512-rLcLXA2sx6+9dE88NHFubwTtGxpK4yYBLj6qHPdFoCaLr0cXGb4efOqtKLlm4loGA4OEKHIQKMKzZkKyOh5ctw=="],
+ "webdriver": ["[email protected]", "", { "dependencies": { "@types/node": "^20.1.0", "@types/ws": "^8.5.3", "@wdio/config": "9.29.1", "@wdio/logger": "9.29.1", "@wdio/protocols": "9.29.1", "@wdio/types": "9.29.1", "@wdio/utils": "9.29.1", "deepmerge-ts": "^7.0.3", "https-proxy-agent": "^7.0.6", "undici": "^6.21.3", "ws": "^8.8.0" } }, "sha512-uhxYap3qQXC9H2V8SDr7vcy0blZETeri4goLwbw1TFq4EZHF1Dv503Zc0PAjfkNQJCD4/rzAyr07+EX72kx1pg=="],
+
+ "webdriverio": ["[email protected]", "", { "dependencies": { "@types/node": "^20.11.30", "@types/sinonjs__fake-timers": "^8.1.5", "@wdio/config": "9.29.1", "@wdio/logger": "9.29.1", "@wdio/protocols": "9.29.1", "@wdio/repl": "9.16.2", "@wdio/types": "9.29.1", "@wdio/utils": "9.29.1", "archiver": "^7.0.1", "aria-query": "^5.3.0", "cheerio": "^1.0.0-rc.12", "css-shorthand-properties": "^1.1.1", "css-value": "^0.0.1", "grapheme-splitter": "^1.0.4", "htmlfy": "^0.8.1", "is-plain-obj": "^4.1.0", "jszip": "^3.10.1", "lodash.clonedeep": "^4.5.0", "lodash.zip": "^4.2.0", "query-selector-shadow-dom": "^1.0.1", "resq": "^1.11.0", "rgb2hex": "0.2.5", "serialize-error": "^12.0.0", "urlpattern-polyfill": "^10.0.0", "webdriver": "9.29.1" }, "peerDependencies": { "puppeteer-core": ">=22.x || <=24.x" }, "optionalPeers": ["puppeteer-core"] }, "sha512-UIplAnvbjdE0tucHVR/8Uk0Y7rz72VaEx/s0Tq91fMdXm+m+Za16e+b5tObh4xEEfyCITODPfzgBva9rA+xApQ=="],
+
"webidl-conversions": ["[email protected]", "", {}, "sha512-VwddBukDzu71offAQR975unBIGqfKZpM+8ZX6ySk8nYhVoo5CYaZyzt3YBvYtRtO+aoGlqxPg/B87NGVZ/fu6g=="],
"webrtc-adapter": ["[email protected]", "", { "dependencies": { "sdp": "^3.2.0" } }, "sha512-CHbl2ZQbxx164IgWRgzJno4hWtM4tFbRam1QfI3Yxhs3w/DvqluVxVWeXs3oL5/fbGkSNLKo0Ty5MgUWceNhog=="],
@@ -3405,6 +3550,8 @@
"yargs-parser": ["[email protected]", "", {}, "sha512-rwu/ClNdSMpkSrUb+d6BRsSkLUq1fmfsY6TOpYzTwvwkg1/NRG85KBy3kq++A8LKQwX6lsu+aWad+2khvuXrqw=="],
+ "yauzl": ["[email protected]", "", { "dependencies": { "buffer-crc32": "~0.2.3", "fd-slicer": "~1.1.0" } }, "sha512-p4a9I6X6nu6IhoGmBqAcbJy1mlC4j27vEPZX9F4L4/vZT3Lyq1VkFHw/V/PUcB9Buo+DG3iHkT0x3Qya58zc3g=="],
+
"yocto-queue": ["[email protected]", "", {}, "sha512-rVksvsnNCdJ/ohGc6xgPwyN8eheCxsiLM8mxuE/t/mOVqJewPuO1miLpTHQiRgTKCLexL4MeAFVagts7HmNZ2Q=="],
"yoctocolors": ["[email protected]", "", {}, "sha512-CzhO+pFNo8ajLM2d2IW/R93ipy99LWjtwblvC1RsoSUMZgyLbYFr221TnSNT7GjGdYui6P459mw9JH/g/zW2ug=="],
@@ -3413,6 +3560,8 @@
"youch-core": ["[email protected]", "", { "dependencies": { "@poppinss/exception": "^1.2.2", "error-stack-parser-es": "^1.0.5" } }, "sha512-ho7XuGjLaJ2hWHoK8yFnsUGy2Y5uDpqSTq1FkHLK4/oqKtyUU1AFbOOxY4IpC9f0fTLjwYbslUz0Po5BpD1wrA=="],
+ "zip-stream": ["[email protected]", "", { "dependencies": { "archiver-utils": "^5.0.0", "compress-commons": "^6.0.2", "readable-stream": "^4.0.0" } }, "sha512-zK7YHHz4ZXpW89AHXUPbQVGKI7uvkd3hzusTdotCg1UxyaVtg0zFJSTfW/Dq5f7OBBVnq6cZIaC8Ti4hb6dtCA=="],
+
"zod": ["[email protected]", "", {}, "sha512-ytENFjIJFl2UwYglde2jchW2Hwm4GJFLDiSXWdTrJQBIN9Fcyp7n4DhxJEiWNAJMV1/BqWfW/kkg71UDcHJyTQ=="],
"zod-validation-error": ["[email protected]", "", { "peerDependencies": { "zod": "^3.25.0 || ^4.0.0" } }, "sha512-hmk+pkyKq7Q71PiWVSDUc3VfpzpvcRHZ3QPw9yEMVvmtCekaMeOHnbr3WbxfrgEnQTv6haGP4cmv0Ojmihzsxw=="],
@@ -3543,6 +3692,8 @@
"@poppinss/dumper/supports-color": ["[email protected]", "", {}, "sha512-SS+jx45GF1QjgEXQx4NJZV9ImqmO2NPz5FNsIHrsDjh2YsHnawpan7SNQ1o8NuhrbHZy9AZhIoCUiCeaW/C80g=="],
+ "@puppeteer/browsers/yargs": ["[email protected]", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
+
"@smithy/property-provider/@smithy/types": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-QwYgloJ0sVNBeBuBs65cIkTbfzV/Q6ZNPCJ99EICFEdJYG50nGIY/uYXp+TbsdJReIuPr0a0kXmCvren3MbRRw=="],
"@smithy/service-error-classification/@smithy/types": ["@smithy/[email protected]", "", { "dependencies": { "tslib": "^2.6.2" } }, "sha512-QwYgloJ0sVNBeBuBs65cIkTbfzV/Q6ZNPCJ99EICFEdJYG50nGIY/uYXp+TbsdJReIuPr0a0kXmCvren3MbRRw=="],
@@ -3593,18 +3744,38 @@
"@types/ws/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg=="],
+ "@types/yauzl/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg=="],
+
"@vitest/ui/@vitest/utils": ["@vitest/[email protected]", "", { "dependencies": { "@vitest/pretty-format": "4.1.10", "convert-source-map": "^2.0.0", "tinyrainbow": "^3.1.0" } }, "sha512-fy9am/HWxbaGt/Sawrp90vt6Y6jQwf1RX77cz3uwoJwJVMli/e1IEwRPnMNJ7vKfPTwo0diXifkpPvwH9v7nGA=="],
"@vitest/ui/tinyrainbow": ["[email protected]", "", {}, "sha512-Bf+ILmBgretUrdJxzXM0SgXLZ3XfiaUuOj/IKQHuTXip+05Xn+uyEYdVg0kYDipTBcLrCVyUzAPz7QmArb0mmw=="],
+ "@wdio/config/glob": ["[email protected]", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg=="],
+
+ "@wdio/logger/chalk": ["[email protected]", "", {}, "sha512-7NzBL0rN6fMUW+f7A6Io4h40qQlG+xGmtMxfbnH/K7TAtt8JQWVQK+6g0UXKMeVJoyV5EkkNsErQ8pVD3bLHbA=="],
+
+ "@wdio/logger/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
+
+ "@wdio/repl/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="],
+
+ "@wdio/types/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="],
+
"ai-editing-worker/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg=="],
+ "ansi-escapes/type-fest": ["[email protected]", "", {}, "sha512-t0rzBq87m3fVcduHDUFhKmyyX+9eo6WQjZvf51Ea/M0Q7+T374Jp1aUiyUl0GKxp8M/OETVHSDvmkyPgvX+X2w=="],
+
"anthropic-status-bot/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg=="],
+ "archiver-utils/glob": ["[email protected]", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg=="],
+
+ "archiver-utils/normalize-path": ["[email protected]", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="],
+
"axios/https-proxy-agent": ["[email protected]", "", { "dependencies": { "agent-base": "6", "debug": "4" } }, "sha512-dFcAjpTQFgoLMzC2VwU+C/CbS7uRL0lWmxDITmqm7C+7F0Odmj6s9l6alZc6AELXhrnggM2CeWSXHGOdX2YtwA=="],
"babel-plugin-jsx-dom-expressions/@babel/helper-module-imports": ["@babel/[email protected]", "", { "dependencies": { "@babel/types": "^7.18.6" } }, "sha512-0NFvs3VkuSYbFi1x2Vd6tKrywq+z/cLeYC/RJNFrIX/30Bf5aiGYbtvGXolEktzJH8o5E5KJ3tT+nkxuuZFVlA=="],
+ "bl/buffer": ["[email protected]", "", { "dependencies": { "base64-js": "^1.3.1", "ieee754": "^1.1.13" } }, "sha512-EHcyIPBQ4BSGlvjB16k5KgAJ27CIsHY/2JBmCRReo48y9rQ3MaUzWX3KVlBa4U7MyX02HdVj0K7C3WaB3ju7FQ=="],
+
"bl/readable-stream": ["[email protected]", "", { "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="],
"buffer-image-size/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg=="],
@@ -3615,12 +3786,18 @@
"chanfana/js-yaml": ["[email protected]", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="],
+ "cheerio-select/boolbase": ["[email protected]", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="],
+
+ "cheerio-select/css-select": ["[email protected]", "", { "dependencies": { "boolbase": "^1.0.0", "css-what": "^6.1.0", "domhandler": "^5.0.2", "domutils": "^3.0.1", "nth-check": "^2.0.1" } }, "sha512-TizTzUddG/xYLA3NXodFM0fSbNizXjOKhqiQQwvhlspadZokn1KDy0NZFS0wuEubIYAV5/c1/lAr0TaaFXEXzw=="],
+
"cli-truncate/string-width": ["[email protected]", "", { "dependencies": { "get-east-asian-width": "^1.5.0", "strip-ansi": "^7.1.2" } }, "sha512-GaPUh5gfdrYzqeVNZvUfT23vYYxXzKYidUcnMtJg/3rxRV63EFZy3k6xfKlmfeJD0176lnUV/Usr3XcwSvFzpg=="],
"cliui/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
"cliui/wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^6.2.1", "string-width": "^7.0.0", "strip-ansi": "^7.1.0" } }, "sha512-42AtmgqjV+X1VpdOfyTGOYRi0/zsoLqtXQckTmqTeybT+BDIbM/Guxo7x3pE2vtpr1ok6xRqM9OpBe+Jyoqyww=="],
+ "compress-commons/normalize-path": ["[email protected]", "", {}, "sha512-6eZs5Ls3WtCisHWp9S2GUy8dqkpGi4BVSz3GaqiE6ezub0512ESztXUwUB6C6IKbQkY2Pnb/mD4WYojCRwcwLA=="],
+
"concurrently/chalk": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="],
"concurrently/yargs": ["[email protected]", "", { "dependencies": { "cliui": "^8.0.1", "escalade": "^3.1.1", "get-caller-file": "^2.0.5", "require-directory": "^2.1.1", "string-width": "^4.2.3", "y18n": "^5.0.5", "yargs-parser": "^21.1.1" } }, "sha512-7dSzzRQ++CKnNI/krKnYRV7JKKPUXMEh61soaHKg9mrWEhzFWhFnxPxGl+69cD1Ou63C13NUPCnmIcrvqCuM6w=="],
@@ -3629,22 +3806,24 @@
"css-select/css-what": ["[email protected]", "", {}, "sha512-DH0Bqq3DNp5tdOReuNyAA+Ev4Y2GS5FMbZpeTLP6C4CDi0h5nL0BmUPChXw3o/qbHLDWHl49sbNqQVY7bMSDdw=="],
- "csso/css-tree": ["[email protected]", "", { "dependencies": { "mdn-data": "2.0.28", "source-map-js": "^1.0.1" } }, "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA=="],
+ "css-select/domhandler": ["[email protected]", "", { "dependencies": { "domelementtype": "^3.0.0" } }, "sha512-gYzvtM72ZtxQO0T048kd6HWSbbGCNOUwcnfQ01cqIJ4X2IYKFFHZ5mKvrQETcFXxsRObZulDaKmy//R7TPtsBg=="],
- "datadog-metrics/debug": ["[email protected]", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g=="],
+ "css-select/domutils": ["[email protected]", "", { "dependencies": { "dom-serializer": "^3.0.0", "domelementtype": "^3.0.0", "domhandler": "^6.0.0" } }, "sha512-qI4JLRKnSzqFqr7hAlS5xQDusBCjKSEG4t4+7aNrIQMHBcsC2TGEhuyABJdYkgSewL57PNLYEiibY2iPKhKpaA=="],
- "dom-serializer/domelementtype": ["[email protected]", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="],
-
- "dom-serializer/entities": ["[email protected]", "", {}, "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA=="],
+ "csso/css-tree": ["[email protected]", "", { "dependencies": { "mdn-data": "2.0.28", "source-map-js": "^1.0.1" } }, "sha512-OA0mILzGc1kCOCSJerOeqDxDQ4HOh+G8NbOJFOTgOCzpw7fCBubk0fEyxp8AgOL/jvLgYA/uV0cMbe43ElF1JA=="],
- "domhandler/domelementtype": ["[email protected]", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="],
+ "datadog-metrics/debug": ["[email protected]", "", { "dependencies": { "ms": "2.0.0" } }, "sha512-OX8XqP7/1a9cqkxYw2yXss15f26NKWBpDXQd0/uK/KPqdQhxbPa994hnzjcE2VqQpDslf55723cKPUOGSmMY3g=="],
- "domutils/domelementtype": ["[email protected]", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="],
+ "dom-serializer/entities": ["[email protected]", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
"duplexify/readable-stream": ["[email protected]", "", { "dependencies": { "inherits": "^2.0.3", "string_decoder": "^1.1.1", "util-deprecate": "^1.0.1" } }, "sha512-9u/sniCrY3D5WdsERHzHE4G2YCXqoG5FTHUiCC4SIbr6XcLZBY05ya9EKjYek9O5xOAwjGq+1JdGBAS7Q9ScoA=="],
+ "edgedriver/which": ["[email protected]", "", { "dependencies": { "isexe": "^4.0.0" }, "bin": { "node-which": "bin/which.js" } }, "sha512-oGLe46MIrCRqX7ytPUf66EAYvdeMIZYn3WaocqqKZAxrBpkqHfL/qvTyJ/bTk5+AqHCjXmrv3CEWgy368zhRUg=="],
+
"eventid/uuid": ["[email protected]", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-+NYs2QeMWy+GWFOEm9xnn6HCDp0l7QBD7ml8zLUmJ+93Q5NF0NocErnwkTkXVFNiX3/fpC6afS8Dhb/gz7R7eg=="],
+ "extract-zip/get-stream": ["[email protected]", "", { "dependencies": { "pump": "^3.0.0" } }, "sha512-nBF+F1rAZVCu/p7rjzgA+Yb4lfYXrpl7a6VmJrU8wF9I1CKvP/QwPNZHnOlwbTkY6dvtFIzFMSyQXbLoTQPRpA=="],
+
"foreground-child/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],
"gcp-metadata/gaxios": ["[email protected]", "", { "dependencies": { "extend": "^3.0.2", "https-proxy-agent": "^7.0.1", "is-stream": "^2.0.0", "node-fetch": "^2.6.9", "uuid": "^9.0.1" } }, "sha512-LDODD4TMYx7XXdpwxAVRAIAuB0bzv0s+ywFonY46k126qzQHT9ygyoa9tncmOiQmmDrik65UYsEkv3lbfqQ3yQ=="],
@@ -3673,10 +3852,6 @@
"happy-dom/whatwg-mimetype": ["[email protected]", "", {}, "sha512-nt+N2dzIutVRxARx1nghPKGv1xHikU7HKdfafKkLNLindmPU/ch3U31NOCGGA/dmPcmb1VlofO0vnKAcsm0o/Q=="],
- "htmlparser2/domhandler": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="],
-
- "htmlparser2/domutils": ["[email protected]", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="],
-
"htmlparser2/entities": ["[email protected]", "", {}, "sha512-TWrgLOFUQTH994YUyl1yT4uyavY5nNB5muff+RtWaqNVCAK408b5ZnnbNAUEWLTCpum9w6arT70i1XdQ4UeOPA=="],
"import-fresh/resolve-from": ["[email protected]", "", {}, "sha512-pb/MYmXstAkysRFx8piNI1tGFNQIFA3vkE3Gq4EuA1dF6gHp/+vgZqsCGJapvy8N3Q+4o7FwvquPJcnZ7RYy4g=="],
@@ -3701,14 +3876,20 @@
"json-schema-to-typescript/js-yaml": ["[email protected]", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="],
+ "jszip/readable-stream": ["[email protected]", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
+
"katex/commander": ["[email protected]", "", {}, "sha512-OkTL9umf+He2DZkUq8f8J9of7yL6RJKI24dVITBmNfZBmri9zYZQrKkuXiKhyfPSu8tUhnVBB1iKXevvnlR4Ww=="],
+ "lazystream/readable-stream": ["[email protected]", "", { "dependencies": { "core-util-is": "~1.0.0", "inherits": "~2.0.3", "isarray": "~1.0.0", "process-nextick-args": "~2.0.0", "safe-buffer": "~5.1.1", "string_decoder": "~1.1.1", "util-deprecate": "~1.0.1" } }, "sha512-8p0AUk4XODgIewSi0l8Epjs+EVnWiK7NoDIEGU0HhE7+ZyY8D1IMY7odu5lRrFXGg71L15KG8QrPmum45RTtdA=="],
+
"lexical-service/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.20.0" } }, "sha512-ClIbNe36lawluuvq3+YYhnIN2CELi+6q8NpnM7PYp4hBn/TatfboPgVSm2rwKRfnV2M+Ty9GWDFI64KEe+kysA=="],
"lexical-service/nanoid": ["[email protected]", "", { "bin": { "nanoid": "bin/nanoid.js" } }, "sha512-kVrnsrJqMR8+oLJnGEmSWw9BivK5mt7H3FZatVRjrc5wGqFYuBxX1yG7+A7Gi5AefkX6t/oCkizcQgpu0cY1dQ=="],
"livekit-client/@livekit/protocol": ["@livekit/[email protected]", "", { "dependencies": { "@bufbuild/protobuf": "^1.10.0" } }, "sha512-L1uggNQAqyY21smQY8AllyOYbcv9Me9TaxwuLytL1R8ck9nbYPmQLNwEDi3pOFGAMa5F8I2nUi2Jc59W5awxlA=="],
+ "locate-app/type-fest": ["[email protected]", "", {}, "sha512-OduNjVJsFbifKb57UqZ2EMP1i4u64Xwow3NYXUtBbD4vIwJdQd4+xl8YDou1dlm4DVrtwT/7Ky8z8WyCULVfxw=="],
+
"log-update/ansi-escapes": ["[email protected]", "", { "dependencies": { "environment": "^1.0.0" } }, "sha512-BvU8nYgGQBxcmMuEeUEmNTvrMVjJNSH7RgW24vXexN4Ven6qCvy4TntnvlnwnMLTVlcRQQdbRY8NKnaIoeWDNg=="],
"log-update/cli-cursor": ["[email protected]", "", { "dependencies": { "restore-cursor": "^5.0.0" } }, "sha512-aCj4O5wKyszjMmDT4tZj93kxyydN/K5zPWSCe6/0AV/AA1pqe5ZBIw0a2ZfPQV7lL5/yb5HsUreJ6UFAF1tEQw=="],
@@ -3763,7 +3944,7 @@
"rc/strip-json-comments": ["[email protected]", "", {}, "sha512-4gB8na07fecVVkOI6Rs4e7T6NOTki5EmL7TUduTs6bu3EdnSycntVJ4re8kgZA+wx9IueI2Y11bfbgwtzuE0KQ=="],
- "readable-stream/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
+ "resq/fast-deep-equal": ["[email protected]", "", {}, "sha512-bCK/2Z4zLidyB4ReuIsvALH6w31YfAQDmXMqMx6FyfHqvBxtjC0eRumeSu4Bs3XtXwpyIywtSTrVT99BxY1f9w=="],
"rimraf/glob": ["[email protected]", "", { "dependencies": { "foreground-child": "^3.1.0", "jackspeak": "^3.1.2", "minimatch": "^9.0.4", "minipass": "^7.1.2", "package-json-from-dist": "^1.0.0", "path-scurry": "^1.11.1" }, "bin": { "glob": "dist/esm/bin.mjs" } }, "sha512-DfXN8DfhJ7NH3Oe7cFmu3NCu1wKbkReJ8TorzSAFbSKrlNaQSKfIzqYqVY8zlbs2NLBbWpRiU52GX2PbaBVNkg=="],
@@ -3783,8 +3964,6 @@
"string-width-cjs/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
- "string_decoder/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
-
"strip-literal/js-tokens": ["[email protected]", "", {}, "sha512-mxa9E9ITFOt0ban3j6L5MpjwegGz6lBQmM1IJkWeBZGcMxto50+eWdjC/52xDbS2vy0k7vIMK0Fe2wfL9OQSpQ=="],
"stripe-payment-bot/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": ">=7.24.0 <7.24.7" } }, "sha512-OScDchr2fwuUmWdf4kZ9h7PcJiYDVInhJizG/biAq3cAvqwYktuy/TYGGdZNMtNTFUP7rnb0NU4TUdm82kt4Rg=="],
@@ -3819,8 +3998,16 @@
"vite-tsconfig-paths/tsconfck": ["[email protected]", "", { "peerDependencies": { "typescript": "^5.0.0" }, "optionalPeers": ["typescript"], "bin": { "tsconfck": "bin/tsconfck.js" } }, "sha512-ks6Vjr/jEw0P1gmOVwutM3B7fWxoWBL2KRDb1JfqGVawBmO5UsvmWOQFGHBPl5yxYz4eERr19E6L7NMv+Fej4w=="],
+ "wait-port/chalk": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.1.0", "supports-color": "^7.1.0" } }, "sha512-oKnbhFyRIXpUuez8iBMmyEa4nbj4IOQyuhc/wy9kY7/WVPcwIO9VA668Pu8RkO7+0G76SLROeyw9CpQ061i4mA=="],
+
+ "wait-port/commander": ["[email protected]", "", {}, "sha512-KRs7WVDKg86PWiuAqhDrAQnTXZKraVcCc6vFdL14qrZ/DcWwuRo7VoiYXalXO7S5GKpqYiVEwCbgFDfxNHKJBQ=="],
+
"wasi-js/fflate": ["[email protected]", "", {}, "sha512-5u2V/CDW15QM1XbbgS+0DfPxVB+jUKhWEKuuFuHncbk3tEEqzmoXL+2KyOFuKGqOnmdIy0/davWF1CkuwtibCw=="],
+ "webdriver/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="],
+
+ "webdriverio/@types/node": ["@types/[email protected]", "", { "dependencies": { "undici-types": "~6.21.0" } }, "sha512-6oYBAi5ikg4Pl+kGsoYtawUMBT2zZMCvPNF7pVLnHZfd1zf38DRiWn/gT01RYCdUqkv7Fhr+C9ot4/tb+2sVvA=="],
+
"which-builtin-type/isarray": ["[email protected]", "", {}, "sha512-xHjhDr3cNBK0BzdUJSPXZntQUx/mwMS5Rw4A7lPJ90XGAO6ISP/ePDNuo0vhqOZU+UD5JoodwCAAoZQd3FeAKw=="],
"wrangler/esbuild": ["[email protected]", "", { "optionalDependencies": { "@esbuild/aix-ppc64": "0.28.1", "@esbuild/android-arm": "0.28.1", "@esbuild/android-arm64": "0.28.1", "@esbuild/android-x64": "0.28.1", "@esbuild/darwin-arm64": "0.28.1", "@esbuild/darwin-x64": "0.28.1", "@esbuild/freebsd-arm64": "0.28.1", "@esbuild/freebsd-x64": "0.28.1", "@esbuild/linux-arm": "0.28.1", "@esbuild/linux-arm64": "0.28.1", "@esbuild/linux-ia32": "0.28.1", "@esbuild/linux-loong64": "0.28.1", "@esbuild/linux-mips64el": "0.28.1", "@esbuild/linux-ppc64": "0.28.1", "@esbuild/linux-riscv64": "0.28.1", "@esbuild/linux-s390x": "0.28.1", "@esbuild/linux-x64": "0.28.1", "@esbuild/netbsd-arm64": "0.28.1", "@esbuild/netbsd-x64": "0.28.1", "@esbuild/openbsd-arm64": "0.28.1", "@esbuild/openbsd-x64": "0.28.1", "@esbuild/openharmony-arm64": "0.28.1", "@esbuild/sunos-x64": "0.28.1", "@esbuild/win32-arm64": "0.28.1", "@esbuild/win32-ia32": "0.28.1", "@esbuild/win32-x64": "0.28.1" }, "bin": { "esbuild": "bin/esbuild" } }, "sha512-HrJrvZv5ayxBzPfwphOoNzkzOIIlifzk0KJrGK2c8R4+LKpMtpYLQeUdjnwjWv/LZlkH2laZk+4w78pi99D4Vw=="],
@@ -3833,6 +4020,8 @@
"wrap-ansi-cjs/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
+ "yauzl/buffer-crc32": ["[email protected]", "", {}, "sha512-VO9Ht/+p3SN7SKWqcrgEzjGbRSJYTx+Q1pTQC0wrWqHx0vpJraQ6GtHx8tvcg1rlK1byhU5gccxgOgj7B0TDkQ=="],
+
"@apidevtools/swagger-parser/@apidevtools/json-schema-ref-parser/js-yaml": ["[email protected]", "", { "dependencies": { "argparse": "^2.0.1" }, "bin": { "js-yaml": "bin/js-yaml.js" } }, "sha512-qQKT4zQxXl8lLwBtHMWwaTcGfFOZviOJet3Oy/xmGk2gZH677CJM9EvtfdSkgWcATZhj/55JZ0rmy3myCT5lsA=="],
"@datadog/datadog-ci/js-yaml/argparse": ["[email protected]", "", { "dependencies": { "sprintf-js": "~1.0.2" } }, "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="],
@@ -3911,6 +4100,12 @@
"@orval/query/chalk/supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
+ "@puppeteer/browsers/yargs/cliui": ["[email protected]", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
+
+ "@puppeteer/browsers/yargs/string-width": ["[email protected]", "", { "dependencies": { "emoji-regex": "^8.0.0", "is-fullwidth-code-point": "^3.0.0", "strip-ansi": "^6.0.1" } }, "sha512-wKyQRQpjJ0sIp62ErSZdGsjMJWsap5oRNihHhu6G7JVO/9jIB6UyevL+tXuOqrng8j/cxKTWyWUwvSTriiZz/g=="],
+
+ "@puppeteer/browsers/yargs/yargs-parser": ["[email protected]", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
+
"@stoplight/json-ref-readers/node-fetch/whatwg-url": ["[email protected]", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
"@stoplight/spectral-runtime/node-fetch/whatwg-url": ["[email protected]", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
@@ -3943,18 +4138,30 @@
"@types/ws/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
+ "@types/yauzl/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
+
"@vitest/ui/@vitest/utils/@vitest/pretty-format": ["@vitest/[email protected]", "", { "dependencies": { "tinyrainbow": "^3.1.0" } }, "sha512-W1HsjSH4MXQ9YfmmhLAoIYf1HRfekQCGngeIgcei6MP5QQGWUe0gkopdZQaVCFO+JDJMrAJGwa5pRpNpvy4P8Q=="],
+ "@wdio/logger/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
+
+ "@wdio/repl/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
+
+ "@wdio/types/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
+
"ai-editing-worker/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
"anthropic-status-bot/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
"axios/https-proxy-agent/agent-base": ["[email protected]", "", { "dependencies": { "debug": "4" } }, "sha512-RZNwNclF7+MS/8bDg70amg32dyeZGZxiDuQmZxKLAlQjr3jGyLx+4Kkk58UO7D2QdgFIQCovuSuZESne6RG6XQ=="],
+ "bl/readable-stream/string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
+
"buffer-image-size/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
"bun-types/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
+ "cheerio-select/css-select/nth-check": ["[email protected]", "", { "dependencies": { "boolbase": "^1.0.0" } }, "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w=="],
+
"cli-truncate/string-width/strip-ansi": ["[email protected]", "", { "dependencies": { "ansi-regex": "^6.2.2" } }, "sha512-yDPMNjp4WyfYBkHnjIRLfca1i6KMyGCtsVgoKe/z1+6vukgaENdgGBZt+ZmKPc4gavvEZ5OgHfHdrazhgNyG7w=="],
"cliui/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
@@ -3969,10 +4176,20 @@
"concurrently/yargs/yargs-parser": ["[email protected]", "", {}, "sha512-tVpsJW7DdjecAiFpbIB1e3qxIQsE6NoPc5/eTdrbbIC4h0LVsWhnoa3g+m2HclBIujHzsxZ4VJVA+GUuc2/LBw=="],
+ "css-select/domhandler/domelementtype": ["[email protected]", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="],
+
+ "css-select/domutils/dom-serializer": ["[email protected]", "", { "dependencies": { "domelementtype": "^3.0.0", "domhandler": "^6.0.0", "entities": "^8.0.0" } }, "sha512-4MEa38/QexBob6gFNwu+EGdWvhJ1OKuNwdYY3Y3NyeWDQfnGeDYQUDfIRzWu5B5gsv03so2Uxd28YC6zrsx3Lw=="],
+
+ "css-select/domutils/domelementtype": ["[email protected]", "", {}, "sha512-umCQid3jKbDmVjx8jGaW7uUykm4DEUeyV21hPxNMo2nV955DhUThwqyOIDtreepP31hl84X7G5U9ZfsWvIB3Pg=="],
+
"csso/css-tree/mdn-data": ["[email protected]", "", {}, "sha512-aylIc7Z9y4yzHYAJNuESG3hfhC+0Ibp/MAMiaOZgNv4pmEdFyfZhhhny4MNiAfWdBQ1RQ2mfDWmM1x8SvGyp8g=="],
"datadog-metrics/debug/ms": ["[email protected]", "", {}, "sha512-Tpp60P6IUJDTuOq/5Z8cdskzJujfwqfOTkrwIwj7IRISpnkJnT6SyJ4PCPnGMoFjC9ddhal5KVIYtAt97ix05A=="],
+ "duplexify/readable-stream/string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
+
+ "edgedriver/which/isexe": ["[email protected]", "", {}, "sha512-FFUtZMpoZ8RqHS3XeXEmHWLA4thH+ZxCv2lOiPIn1Xc7CxrqhWzNSDzD+/chS/zbYezmiwWLdQC09JdQKmthOw=="],
+
"gcp-metadata/gaxios/node-fetch": ["[email protected]", "", { "dependencies": { "whatwg-url": "^5.0.0" }, "peerDependencies": { "encoding": "^0.1.0" }, "optionalPeers": ["encoding"] }, "sha512-c4FRfUm/dbcWZ7U+1Wq0AwCyFL+3nt2bEw05wfxSz+DWpWsitgmSgYmy2dQdWyKC1694ELPqMs/YzUSNozLt8A=="],
"gcp-metadata/gaxios/uuid": ["[email protected]", "", { "bin": { "uuid": "dist/bin/uuid" } }, "sha512-b+1eJOlsR9K8HJpow9Ok3fiWOWSIcIzXodvv0rQjVoOVNpWMpxf1wZNpt4y9h10odCNrqnYp1OBzRktckBe3sA=="],
@@ -3991,8 +4208,6 @@
"happy-dom/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
- "htmlparser2/domutils/dom-serializer": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", "entities": "^4.2.0" } }, "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg=="],
-
"inquirer-checkbox-plus-prompt/chalk/supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
"inquirer-checkbox-plus-prompt/rxjs/tslib": ["[email protected]", "", {}, "sha512-Xni35NKzjgMrwevysHTCArtLDpPvye8zV/0E4EyYn43P7/7qvQwPh9BGkHewbMulVntbigmcT7rdX3BNo9wRJg=="],
@@ -4007,6 +4222,14 @@
"json-refs/js-yaml/argparse": ["[email protected]", "", { "dependencies": { "sprintf-js": "~1.0.2" } }, "sha512-o5Roy6tNG4SL/FOkCAN6RzjiakZS25RLYFrcMttJqbdd8BWrnA+fGz57iN5Pb06pvBGvl5gQ0B48dJlslXvoTg=="],
+ "jszip/readable-stream/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
+
+ "jszip/readable-stream/string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
+
+ "lazystream/readable-stream/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
+
+ "lazystream/readable-stream/string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
+
"lexical-service/@types/node/undici-types": ["[email protected]", "", {}, "sha512-Ny6QZ2Nju20vw1SRHe3d9jVu6gJ+4e3+MMpqu7pqE5HT6WsTSlce++GQmK5UXS8mzV8DSYHrQH+Xrf2jVcuKNg=="],
"log-update/cli-cursor/restore-cursor": ["[email protected]", "", { "dependencies": { "onetime": "^7.0.0", "signal-exit": "^4.1.0" } }, "sha512-oMA2dcrw6u0YfxJQXm342bFKX/E4sG9rbTzO9ptUcR/e8A33cHuvStiYOwH7fszkZlZ1z/ta9AAoPk2F4qIOHA=="],
@@ -4035,11 +4258,9 @@
"stripe-payment-bot/@types/node/undici-types": ["[email protected]", "", {}, "sha512-WRNW+sJgj5OBN4/0JpHFqtqzhpbnV0GuB+OozA9gCL7a993SmU+1JBZCzLNxYsbMfIeDL+lTsphD5jN5N+n0zg=="],
- "svgo/css-select/boolbase": ["[email protected]", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="],
+ "superagent/readable-stream/string_decoder": ["[email protected]", "", { "dependencies": { "safe-buffer": "~5.1.0" } }, "sha512-n/ShnvDi6FHbbVfviro+WojiFzv+s8MPMHBczVePfUpDJLwoLT0ht1l4YwBCbi8pJAveEEdnkHyPyTP/mzRfwg=="],
- "svgo/css-select/domhandler": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0" } }, "sha512-cgwlv/1iFQiFnU96XXgROh8xTeetsnJiDsTc7TYCLFd9+/WNkIqPTxiM/8pSd8VIrhXGTf1Ny1q1hquVqDJB5w=="],
-
- "svgo/css-select/domutils": ["[email protected]", "", { "dependencies": { "dom-serializer": "^2.0.0", "domelementtype": "^2.3.0", "domhandler": "^5.0.3" } }, "sha512-6kZKyUajlDuqlHKVX1w7gyslj9MPIXzIFiz/rGu35uC1wMi+kMhQwGhl4lt9unC9Vb9INnY9Z3/ZA3+FhASLaw=="],
+ "svgo/css-select/boolbase": ["[email protected]", "", {}, "sha512-JZOSA7Mo9sNGB8+UjSgzdLtokWAky1zbztM3WRLCbZ70/3cTANmQmOdR7y2g+J0e2WXywy1yS468tY+IruqEww=="],
"svgo/css-select/nth-check": ["[email protected]", "", { "dependencies": { "boolbase": "^1.0.0" } }, "sha512-lqjrjmaOoAnWfMmBPL+XNnynZh2+swxiX3WUE0s4yEHI6m+AwrK2UZOimIRl3X/4QctVqS8AiZjFqyOGrMXb/w=="],
@@ -4109,6 +4330,12 @@
"tsx/esbuild/@esbuild/win32-x64": ["@esbuild/[email protected]", "", { "os": "win32", "cpu": "x64" }, "sha512-bm4Mowrv+GXMlpWX++EcXw/iLyd1o3+bJkC2DkWXYVvgZCqD/bSj9ctZeAMC3cIxgjRVR2Dufaiu4YPxr5gW1A=="],
+ "wait-port/chalk/supports-color": ["[email protected]", "", { "dependencies": { "has-flag": "^4.0.0" } }, "sha512-qpCAvRl9stuOHveKsn7HncJRvv501qIacKzQlO/+Lwxc9+0q2wLyv4Dfvt80/DPn2pqOBsJdDiogXGR9+OvwRw=="],
+
+ "webdriver/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
+
+ "webdriverio/@types/node/undici-types": ["[email protected]", "", {}, "sha512-iwDZqg0QAGrg9Rav5H4n0M64c3mkR59cJ6wQp+7C4nI0gsmExaedaYLNO44eT4AtBBwjbTiGPMlt2Md0T9H9JQ=="],
+
"wrangler/esbuild/@esbuild/aix-ppc64": ["@esbuild/[email protected]", "", { "os": "aix", "cpu": "ppc64" }, "sha512-Svl7tq8k/08+p6CXPpRjQ1fKX+1odH/BQbb48fV6fj3CWHhsoIOoY87w1oHXm0qEpkIK3ZfVgp0hed3XBXzXMQ=="],
"wrangler/esbuild/@esbuild/android-arm": ["@esbuild/[email protected]", "", { "os": "android", "cpu": "arm" }, "sha512-0k2F129Xdio1TdJfzJ8sy1Q47vUD2NnwdhiAf7drUN1EBTfPf4hsFCtmMgu/6m8JSzsBrlmVjudMBQqOfG8usQ=="],
@@ -4183,6 +4410,10 @@
"@grpc/proto-loader/yargs/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
+ "@puppeteer/browsers/yargs/cliui/wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
+
+ "@puppeteer/browsers/yargs/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
+
"@stoplight/json-ref-readers/node-fetch/whatwg-url/tr46": ["[email protected]", "", {}, "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="],
"@stoplight/json-ref-readers/node-fetch/whatwg-url/webidl-conversions": ["[email protected]", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
@@ -4191,12 +4422,18 @@
"@stoplight/spectral-runtime/node-fetch/whatwg-url/webidl-conversions": ["[email protected]", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
+ "bl/readable-stream/string_decoder/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
+
"cli-truncate/string-width/strip-ansi/ansi-regex": ["[email protected]", "", {}, "sha512-Bq3SmSpyFHaWjPk8If9yc6svM8c56dB5BAtW4Qbw5jHTwwXXcTLoRMkpDJp6VL0XzlWaCHTXrkFURMYmD0sLqg=="],
"concurrently/yargs/cliui/wrap-ansi": ["[email protected]", "", { "dependencies": { "ansi-styles": "^4.0.0", "string-width": "^4.1.0", "strip-ansi": "^6.0.0" } }, "sha512-YVGIj2kamLSTxw6NsZjoBxfSwsn0ycdesmc4p+Q21c5zPuZ1pl+NfxVdxPtdHvmNVOQ6XSYG4AUtyt/Fi7D16Q=="],
"concurrently/yargs/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
+ "css-select/domutils/dom-serializer/entities": ["[email protected]", "", {}, "sha512-kxL7msIffSuh9aaFAMD7rxAIuTRMAHMeBtgHW2yUdWw732ZNh4MehkF2gdjvtdmikkaIP9bFDDJOPlsvm7avrA=="],
+
+ "duplexify/readable-stream/string_decoder/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
+
"gcp-metadata/gaxios/node-fetch/whatwg-url": ["[email protected]", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
"google-gax/@grpc/proto-loader/yargs/cliui": ["[email protected]", "", { "dependencies": { "string-width": "^4.2.0", "strip-ansi": "^6.0.1", "wrap-ansi": "^7.0.0" } }, "sha512-BSeNnyus75C4//NQ9gQt1/csTXyo/8Sb+afLAkzAptFuMsod9HFokGNudZpi/oQV73hnVK+sR+5PVRMd+Dr7YQ=="],
@@ -4211,8 +4448,6 @@
"gtoken/gaxios/node-fetch/whatwg-url": ["[email protected]", "", { "dependencies": { "tr46": "~0.0.3", "webidl-conversions": "^3.0.0" } }, "sha512-saE57nupxk6v3HY35+jzBwYa0rKSy0XR8JSxZPwgLr7ys0IBzhGviA1/TUGJLmSVqs8pb9AnvICXEuOHLprYTw=="],
- "htmlparser2/domutils/dom-serializer/entities": ["[email protected]", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
-
"log-update/cli-cursor/restore-cursor/onetime": ["[email protected]", "", { "dependencies": { "mimic-function": "^5.0.0" } }, "sha512-VXJjc87FScF88uafS3JllDgvAm+c/Slfz06lorj2uAY34rlUu0Nt+v8wreiImcrgAjjIHp1rXpTDlLOGw29WwQ=="],
"log-update/cli-cursor/restore-cursor/signal-exit": ["[email protected]", "", {}, "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw=="],
@@ -4221,7 +4456,7 @@
"oas-resolver/yargs/string-width/emoji-regex": ["[email protected]", "", {}, "sha512-MSjYzcWNOA0ewAHpz0MxpYFvwg6yjy1NG3xteoqz644VCo/RPgnr1/GGt+ic3iJTzQ8Eu3TdM14SawnVUmGE6A=="],
- "svgo/css-select/domutils/dom-serializer": ["[email protected]", "", { "dependencies": { "domelementtype": "^2.3.0", "domhandler": "^5.0.2", "entities": "^4.2.0" } }, "sha512-wIkAryiqt/nV5EQKqQpo3SToSOV9J0DnbJqwK7Wv/Trc92zIAYZ4FlMu+JPFW1DfGFt81ZTCGgDEabffXeLyJg=="],
+ "superagent/readable-stream/string_decoder/safe-buffer": ["[email protected]", "", {}, "sha512-Gd2UZBJDkXlY7GbJxfsE8/nvKkUEU1G38c1siN6QP6a9PT9MmHB8GnpscSmMJSoF8LOIrt8ud/wPtojys4G6+g=="],
"swagger2openapi/node-fetch/whatwg-url/tr46": ["[email protected]", "", {}, "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="],
@@ -4251,8 +4486,6 @@
"gtoken/gaxios/node-fetch/whatwg-url/webidl-conversions": ["[email protected]", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
- "svgo/css-select/domutils/dom-serializer/entities": ["[email protected]", "", {}, "sha512-V0hjH4dGPh9Ao5p0MoRY6BVqtwCjhz6vI5LT8AJ55H+4g9/4vbHx1I54fS0XuclLhDHArPQCiMjDxjaL8fPxhw=="],
-
"@google-cloud/common/google-auth-library/gaxios/node-fetch/whatwg-url/tr46": ["[email protected]", "", {}, "sha512-N3WMsuqV66lT30CrXNbEjx4GEwlow3v6rr4mCcv6prnfwhS01rkgyFdjPNBYd9br7LpXV1+Emh01fHnq2Gdgrw=="],
"@google-cloud/common/google-auth-library/gaxios/node-fetch/whatwg-url/webidl-conversions": ["[email protected]", "", {}, "sha512-2JAn3z8AR6rjK8Sm8orRC0h/bcl/DqL7tRPdGZ4I1CjdF+EaMLmYxBHyXuKL849eucPFhvBoxMsflfOb8kxaeQ=="],
diff --git a/crates/client/cache-wasm/Cargo.toml b/crates/client/cache-wasm/Cargo.toml
index 7859c6df1a..99fd9e3a9d 100644
--- a/crates/client/cache-wasm/Cargo.toml
+++ b/crates/client/cache-wasm/Cargo.toml
@@ -3,7 +3,7 @@ edition = "2024"
name = "cache-wasm"
publish = false
# Rebuild for canonical Mail tab previews and viewer-scoped shared eligibility.
-version = "0.6.10"
+version = "0.6.11"
[features]
default = []
diff --git a/crates/documents/src/domain/service/tests.rs b/crates/documents/src/domain/service/tests.rs
index 3698f74f65..07cdec879f 100644
--- a/crates/documents/src/domain/service/tests.rs
+++ b/crates/documents/src/domain/service/tests.rs
@@ -2179,6 +2179,17 @@ impl crate::domain::ports::create::DocumentBytesUploadPort for RejectUnexpectedF
}
}
+impl crate::domain::ports::mentions::DocumentMentionTrackingPort for RejectUnexpectedFinalization {
+ async fn track_document_mentions(
+ &self,
+ _: &str,
+ _: &macro_user_id::user_id::MacroUserIdStr<'static>,
+ _: &str,
+ ) -> anyhow::Result<()> {
+ panic!("failed repository creation must not track mentions");
+ }
+}
+
#[tokio::test]
async fn creator_forwards_explicit_consent_and_stops_after_repository_failure() {
use crate::domain::create::{
@@ -2220,6 +2231,7 @@ async fn creator_forwards_explicit_consent_and_stops_after_repository_failure()
service,
RejectUnexpectedFinalization,
RejectUnexpectedFinalization,
+ RejectUnexpectedFinalization,
);
let result = creator
.create_markdown_text(
diff --git a/crates/item_filter_index/src/lib.rs b/crates/item_filter_index/src/lib.rs
index ab63d51d2b..7208226778 100644
--- a/crates/item_filter_index/src/lib.rs
+++ b/crates/item_filter_index/src/lib.rs
@@ -4,6 +4,7 @@
use filter_ast::Expr;
use item_filters::ast::{
EntityFilterAst,
+ agent_session::AgentSessionLiteral,
calendar_event::CalendarEventLiteral,
call::CallLiteral,
channel::{ChannelLiteral, ChannelThreadLiteral},
@@ -15,6 +16,7 @@ use item_filters::ast::{
foreign_entity::ForeignEntityLiteral,
project::ProjectLiteral,
properties::{PropertiesLiteral, PropertyEntityType, PropertyMatchValue},
+ reminder::ReminderLiteral,
};
use predicate_index::{
ExactValue, IndexQuery, PartitionPredicate, PredicateExpr, Profile, RangeBound, SortDirection,
@@ -334,7 +336,7 @@ fn check_soup_flat(
unsupported_partition(
ast.channel_thread_filter.as_deref(),
"channelThread",
- |literal| matches!(literal, ChannelThreadLiteral::ThreadId(id) if id.is_nil()),
+ |literal| matches!(literal, ChannelThreadLiteral::ThreadId(id) | ChannelThreadLiteral::ChannelId(id) if id.is_nil()),
),
unsupported_partition(
ast.call_filter.as_deref(),
@@ -357,12 +359,23 @@ fn check_soup_flat(
}
}
- // Reminders are uniquely excluded by Soup when their tree is omitted.
- if ast.reminder_filter.is_some() {
+ // These opt-in partitions are empty when omitted. The UI's confine()
+ // also excludes them with a positive nil ID. Accept only proven emptiness,
+ // not arbitrary trees over partitions that have no local index.
+ if ast.reminder_filter.as_deref().is_some_and(|expr| {
+ !proves_none(
+ expr,
+ |literal| matches!(literal, ReminderLiteral::Id(id) if id.is_nil()),
+ )
+ }) {
return Eligibility::Unsupported(UnsupportedReason::Partition("reminder"));
}
- // Agent sessions are opt-in the same way.
- if ast.agent_session_filter.is_some() {
+ if ast.agent_session_filter.as_deref().is_some_and(|expr| {
+ !proves_none(
+ expr,
+ |literal| matches!(literal, AgentSessionLiteral::Id(id) if id.is_nil()),
+ )
+ }) {
return Eligibility::Unsupported(UnsupportedReason::Partition("agent_session"));
}
diff --git a/crates/item_filter_index/src/test.rs b/crates/item_filter_index/src/test.rs
index 8cd7cbab76..1869da36ba 100644
--- a/crates/item_filter_index/src/test.rs
+++ b/crates/item_filter_index/src/test.rs
@@ -21,6 +21,7 @@ use predicate_index::{PredicateExpr, RangeBound};
use super::*;
mod channels;
+mod confinement;
fn request() -> SoupFlatRequest {
SoupFlatRequest {
diff --git a/crates/item_filter_index/src/test/confinement.rs b/crates/item_filter_index/src/test/confinement.rs
new file mode 100644
index 0000000000..22a8de6f52
--- /dev/null
+++ b/crates/item_filter_index/src/test/confinement.rs
@@ -0,0 +1,103 @@
+use super::*;
+
+#[test]
+fn frontend_nil_exclusions_are_supported_without_indexing_deferred_entities() {
+ let mut ast = excluded_deferred_partitions();
+ ast.channel_thread_filter = Some(Arc::new(Expr::val(ChannelThreadLiteral::ChannelId(
+ Uuid::nil(),
+ ))));
+ ast.reminder_filter = Some(Arc::new(Expr::val(ReminderLiteral::Id(Uuid::nil()))));
+ ast.agent_session_filter = Some(Arc::new(Expr::val(AgentSessionLiteral::Id(Uuid::nil()))));
+ assert_eq!(check_soup_flat_v3(&ast, request()), Eligibility::Supported);
+ assert!(matches!(
+ compile_soup_flat_v4(&ast, request()).unwrap(),
+ LocalCompileOutcome::Supported(_)
+ ));
+
+ // Exact forms emitted by the Email view's confine()/GraphQL translation.
+ ast.document_filter = Some(Arc::new(Expr::val(DocumentLiteral::Id(Uuid::nil()))));
+ ast.project_filter = Some(Arc::new(Expr::val(ProjectLiteral::ProjectId(Uuid::nil()))));
+ ast.chat_filter = Some(Arc::new(Expr::val(ChatLiteral::ChatId(Uuid::nil()))));
+ ast.email_filter.tree = Some(Arc::new(Expr::and(
+ Expr::val(EmailLiteral::Importance(false)),
+ Expr::val(EmailLiteral::Shared(
+ item_filters::SharedEmailFilter::Exclude,
+ )),
+ )));
+ assert!(matches!(
+ mail::compile(
+ &ast,
+ request(),
+ "INBOX",
+ &[Uuid::from_u128(1)],
+ )
+ .unwrap(),
+ LocalCompileOutcome::Supported(_)
+ ));
+}
+
+#[test]
+fn opt_in_partitions_still_reject_trees_that_could_match() {
+ for tree in [
+ Expr::val(ReminderLiteral::Include),
+ Expr::val(ReminderLiteral::Id(Uuid::from_u128(1))),
+ Expr::is_not(Expr::val(ReminderLiteral::Id(Uuid::nil()))),
+ Expr::or(
+ Expr::val(ReminderLiteral::Id(Uuid::nil())),
+ Expr::val(ReminderLiteral::Include),
+ ),
+ ] {
+ let mut ast = excluded_deferred_partitions();
+ ast.reminder_filter = Some(Arc::new(tree));
+ assert_eq!(
+ check_soup_flat_v3(&ast, request()),
+ Eligibility::Unsupported(UnsupportedReason::Partition("reminder"))
+ );
+ }
+ for tree in [
+ Expr::val(AgentSessionLiteral::Include),
+ Expr::val(AgentSessionLiteral::Id(Uuid::from_u128(1))),
+ Expr::is_not(Expr::val(AgentSessionLiteral::Id(Uuid::nil()))),
+ Expr::or(
+ Expr::val(AgentSessionLiteral::Id(Uuid::nil())),
+ Expr::val(AgentSessionLiteral::Include),
+ ),
+ ] {
+ let mut ast = excluded_deferred_partitions();
+ ast.agent_session_filter = Some(Arc::new(tree));
+ assert_eq!(
+ check_soup_flat_v3(&ast, request()),
+ Eligibility::Unsupported(UnsupportedReason::Partition("agent_session"))
+ );
+ }
+ for tree in [
+ Expr::val(ChannelThreadLiteral::ChannelId(Uuid::from_u128(1))),
+ Expr::is_not(Expr::val(ChannelThreadLiteral::ChannelId(Uuid::nil()))),
+ Expr::or(
+ Expr::val(ChannelThreadLiteral::ChannelId(Uuid::nil())),
+ Expr::val(ChannelThreadLiteral::ThreadId(Uuid::from_u128(1))),
+ ),
+ ] {
+ let mut ast = excluded_deferred_partitions();
+ ast.channel_thread_filter = Some(Arc::new(tree));
+ assert_eq!(
+ check_soup_flat_v3(&ast, request()),
+ Eligibility::Unsupported(UnsupportedReason::Partition("channelThread"))
+ );
+ }
+}
+
+#[test]
+fn conjoined_nil_exclusions_prove_empty_even_with_opt_in_literals() {
+ let mut ast = excluded_deferred_partitions();
+ ast.reminder_filter = Some(Arc::new(Expr::and(
+ Expr::val(ReminderLiteral::Include),
+ Expr::val(ReminderLiteral::Id(Uuid::nil())),
+ )));
+ ast.agent_session_filter = Some(Arc::new(Expr::and(
+ Expr::val(AgentSessionLiteral::Id(Uuid::nil())),
+ Expr::val(AgentSessionLiteral::Include),
+ )));
+ assert_eq!(check_soup_flat_v3(&ast, request()), Eligibility::Supported);
+}
diff --git a/crates/soup_filter_cache_adapter/src/lib.rs b/crates/soup_filter_cache_adapter/src/lib.rs
index 253c0fa534..03f572802e 100644
--- a/crates/soup_filter_cache_adapter/src/lib.rs
+++ b/crates/soup_filter_cache_adapter/src/lib.rs
@@ -1,5 +1,5 @@
#![deny(missing_docs)]
-//! Soup-specific browser adapter for the generic predicate-index cache.
+//! Soup-specific host adapter for the generic predicate-index cache.
//!
//! This crate owns the application GraphQL schema and Soup projection policy.
//! Cache crates receive only the generic query and projection IR produced here.
diff --git a/crates/soup_filter_cache_adapter/src/mail.rs b/crates/soup_filter_cache_adapter/src/mail.rs
index ea2789f880..d9970b0efe 100644
--- a/crates/soup_filter_cache_adapter/src/mail.rs
+++ b/crates/soup_filter_cache_adapter/src/mail.rs
@@ -452,7 +452,7 @@ pub fn dirty_updates(keys: &[String]) -> Vec<ProjectionMutation> {
.collect()
}
-/// A browser-engine generation identity, distinct from its reusable revision counter.
+/// A cache-engine generation identity, distinct from its reusable revision counter.
pub fn new_generation() -> String {
uuid::Uuid::new_v4().to_string()
}
diff --git a/docs/AGENT_GUIDE/surfaces.md b/docs/AGENT_GUIDE/surfaces.md
index 15452d3e64..d163681fa5 100644
--- a/docs/AGENT_GUIDE/surfaces.md
+++ b/docs/AGENT_GUIDE/surfaces.md
@@ -100,7 +100,7 @@ connected account. Search is `Ctrl+F` within the surface.
### Cached Mail filtering
-With browser GraphQL caching enabled and the email metadata backfill synchronized,
+With GraphQL caching enabled (browser or native Tauri) and the email metadata backfill synchronized,
All, Signal, Noise, Drafts, Sent, Calendar, and Shared support tab changes and new
filter combinations while offline: account selection
(including delegated inboxes), read/unread, and archive-based Done/Not Done. Mail Done
@@ -140,7 +140,22 @@ and a new backfill checkpoint, preserving existing queued work. Deploy the backe
schema additions before the client: it selects canonical message eligibility/recency
fields, body-free canonical preview references, and viewer-relative share facts.
The `soup-mail-v2` profile and new backfill checkpoint rebuild Mail proof without
-changing the persisted mutation queue format.
+changing the persisted mutation queue format. Native Tauri maintains the same
+predicate projections and revision-bound local page contract as the browser.
+Checkpoint v13 restarts older scans to populate native indexes without wiping
+queued work. A background network failure does not hide a usable current-query
+cached Mail page; server-reported GraphQL errors still surface.
+
+Native filter evaluation requires a full native app update, not just an OTA
+frontend update. Older binaries retain their previous unsupported-filter fallback
+while Shared Mail network backfill continues. The temporary compatibility guard
+can be removed once a full native release includes the filter command and OTA
+delivery excludes older binaries.
+
+For Linux desktop automation, see the [native E2E guide](../../apps/web/tests/native/README.md).
+The first scenario covers Signal → Noise → All after disconnecting both native
+HTTP and WebSockets. iOS shares the native cache code but is not yet covered by
+that driver.
Threads open at `/app/email/<thread-id>`. Click a message header to expand or
collapse it; `Show N hidden messages` reveals the collapsed middle of a longer
diff --git a/docs/RUNNING_LOCALLY.md b/docs/RUNNING_LOCALLY.md
index 271cf94820..59bcca52d5 100644
--- a/docs/RUNNING_LOCALLY.md
+++ b/docs/RUNNING_LOCALLY.md
@@ -44,6 +44,10 @@ experimental-features = nix-command flakes
The default shell does not include the Tauri platform dependencies. They are large, so they live in their own shells. For Linux desktop development, use `nix develop .#tauri-linux`. For Android development on x86_64 Linux, use `nix develop .#tauri-android`.
+For automated Linux desktop offline tests, use `nix develop .#tauri-e2e` and the
+[native E2E guide](../apps/web/tests/native/README.md). It runs the real Tauri
+webview/native cache with deterministic API fixtures, without the local stack.
+
## Run the frontend against hosted services
The web app talks to hosted `*-dev` services when you run `bun run dev` from the web app.
diff --git a/nix-support/node_modules-hashes.json b/nix-support/node_modules-hashes.json
index 9dfd23ebc3..f02b5f1355 100644
--- a/nix-support/node_modules-hashes.json
+++ b/nix-support/node_modules-hashes.json
@@ -1,6 +1,6 @@
{
"nodeModules": {
- "aarch64-darwin": "sha256-9ne2SHrYZr7qGUaF+SHQx0lf7cR18uW4YsvmMl55Gpg=",
- "x86_64-linux": "sha256-X+qDhkwrx+rrX5Khclx1/+uSiaQ3MLS/XTleVW9zxoA="
+ "aarch64-darwin": "sha256-UXDVS8kwlQIhUyRC+M6kclMV6Yp4qTsdBDOwe5Erj+8=",
+ "x86_64-linux": "sha256-y7ugC++nVl0cKqILOTk++9+YP/5zNTTN6+5jTlSXK94="
}
}
diff --git a/nix/tauri-dev-shells.nix b/nix/tauri-dev-shells.nix
index 11b1421ad2..172206661d 100644
--- a/nix/tauri-dev-shells.nix
+++ b/nix/tauri-dev-shells.nix
@@ -86,6 +86,19 @@
{
devShells =
lib.optionalAttrs isLinux {
+ # WebDriver is installed at a pinned version by the test build script.
+ # Keep display/network isolation tools out of the ordinary desktop shell.
+ tauri-e2e = config.devShells.tauri-linux.overrideAttrs (old: {
+ buildInputs =
+ (old.buildInputs or [ ])
+ ++ (with tauriPkgs; [
+ dbus
+ iproute2
+ util-linux
+ xvfb-run
+ xorg-server
+ ]);
+ });
tauri-linux = config.devShells.default.overrideAttrs (old: {
buildInputs = (old.buildInputs or [ ]) ++ tauriLinuxPackages ++ tauriLinuxLibraries;
shellHook = (old.shellHook or "") + tauriLinuxShellHook;