You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Web: dead API-client functions, stale PWA config, and a centralized requestJson helper for client.ts #40
launchWithArgs — api/client.ts:222-230. The "Launch with arguments" flow routes through handleLaunch; either wire it up or delete (the /api/actions/launch-with-args endpoint is likewise unused by the UI).
Vestigial language state — StatusBar.tsx:140-166 toggle + App.tsx:93, 1440-1441 changes nothing (see the i18n issue).
vite.config.ts:25-48 — PWA config references public/favicon.ico, robots.txt, /icon-192.png, /icon-512.png that don't exist (public/ has only favicon.svg), so the manifest ships broken icon refs; a service worker inside a localhost webview only causes the stale-asset problems web/README documents. Drop VitePWA from the webview build or fix the assets. The @ alias (:50-54) is unused.
Only 3 of 25 functions extract FastAPI's detail (loadConfigContent, reloadConfig, startWorkflowSession); the rest throw generic strings and hide the server's reason.
Unguarded res.json() everywhere — a proxy 502 HTML page surfaces as "Unexpected token '<'…".
No timeouts/AbortController on non-scan calls — a hung backend leaves e.g. hash computation silent after the toast expires and the workflow modal stuck.
Fix: one requestJson helper (method/headers/ok-check/detail extraction/AbortSignal.timeout) that all 25 delegate to.
Raw fetch bypasses the client: handleClearFile (App.tsx:892-904, discards server detail), DirectoryPickerModal.tsx:63 (duplicates client.browseDirectory).
Type hygiene
38 any occurrences (33 are catch (err: any)) → err instanceof Error ? err.message : String(err) helper.
DirectoryPickerModal.tsx:13-23 redefines BrowseEntry/BrowseResult already exported from api/types.ts — import instead.
client.ts:251-263generateBarcode keeps a filePath/file_path compat shim; all callers pass filePath — drop the shim.
Activity