mirror of
https://github.com/stablyai/orca.git
synced 2026-10-07 08:02:21 +00:00
* refactor(ai-vault): delete the unused session-scanner worker thread Production always scans through the forked session-scanner service process; the worker thread was reachable only under NODE_ENV=test or the undocumented ORCA_AI_VAULT_SERVICE_PROCESS=0 switch, and nothing fell back to it on service failure. Remove the thread (spawn, client, protocol, entry, tests), its build entry, knip and plain-node-guard listings, and the backend switch, so session-scanner-background always routes to the service. - Move the scan options type to the service protocol as AiVaultServiceScanOptions. - Tests now mock session-scanner-service-spawn, the seam production calls. - Repoint the hot-path listing reliability gate from the worker-client test to the service-client test, which covers the same bounded-queue, cancellation, and fault-restart properties for the real executor. STA-9122 * test(ai-vault): cover the service's Claude-vs-OMP subagent lister choice Runs the real service entry and subagent reader, replacing only the two per-agent listers, so a swapped lister choice fails. STA-9122
46 lines
1.6 KiB
JSON
46 lines
1.6 KiB
JSON
{
|
|
"$schema": "https://unpkg.com/knip@5/schema.json",
|
|
"entry": [
|
|
"src/main/index.ts",
|
|
"src/preload/index.ts",
|
|
"src/preload/browser-window-close.ts",
|
|
"src/main/daemon/daemon-entry.ts",
|
|
"src/main/plugins/plugin-host-entry.ts",
|
|
"src/main/computer/sidecar-entry.ts",
|
|
"src/main/speech/stt-worker.ts",
|
|
"src/main/warp-themes/warp-theme-parser-worker.ts",
|
|
"src/main/foreign-sqlite-readers/foreign-sqlite-reader-entry.ts",
|
|
"src/main/ports/port-scan-command-worker-entry.ts",
|
|
"src/main/ipc/parcel-watcher-process-entry.ts",
|
|
"src/main/hang-watchdog/main-thread-hang-watchdog-entry.ts",
|
|
"src/main/agent-hooks/managed-agent-hook-controls.ts",
|
|
"src/main/claude-accounts/keychain.ts",
|
|
"src/renderer/src/main.tsx",
|
|
"src/renderer/src/popout.tsx",
|
|
"src/renderer/src/web/main.tsx",
|
|
"src/renderer/src/**/*.worker.ts",
|
|
"src/cli/index.ts",
|
|
"src/relay/relay.ts",
|
|
"src/relay/wsl-agent-hook-relay.ts",
|
|
"config/scripts/**/*.{mjs,cjs,js,ts}",
|
|
"config/build-plugins/**/*.ts",
|
|
"electron.vite.config.ts",
|
|
"vite.web.config.ts",
|
|
"config/vitest.config.ts",
|
|
"config/i18next.config.ts",
|
|
"config/electron-builder.config.cjs",
|
|
"config/oxlint-plugins/**/*.{js,mjs,ts}",
|
|
"tests/**/*.{ts,tsx,mjs}",
|
|
"**/*.test.{ts,tsx}"
|
|
],
|
|
"project": [
|
|
"src/**/*.{ts,tsx}",
|
|
"config/scripts/**/*.{mjs,cjs,js,ts}",
|
|
"config/build-plugins/**/*.ts"
|
|
],
|
|
"ignore": ["mobile/**", "out/**", "dist/**", "node_modules/**", "resources/**"],
|
|
"ignoreDependencies": ["electron", "@types/*"],
|
|
"ignoreExportsUsedInFile": true,
|
|
"includeEntryExports": false
|
|
}
|