- Add null check for fallbackPromptKey before using as Map key
- Wrap logic in conditional to ensure type safety
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add sourceKind property to Skill mock data in tests
- Fix UpdateProjectRequest type usage (remove invalid rootPath)
- Align WorkspaceType and ProjectType definitions
- Add index signatures to API request types for safeInvoke compatibility
- Fix agentStore toolCall status type narrowing
- Add missing API modules: apiCompatibility, endpointProviders, memory, profileAssets, voiceTools
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- Add Manager trait import for windows_startup_cmd.rs
- Add explicit type annotations for PathBuf in windows_startup_cmd.rs
- Fix unused import warning in screenshot_capture_service.rs
- Prefix unused variables with underscore in runner.rs and aster_agent_cmd.rs
- Update package.json with Node.js engine requirement
- Copy complete implementations from local aster for:
- capability_routing_metrics.rs
- request_dedup.rs
- response_cache.rs
- Add indexmap dependency to server crate
- Ensures CI builds succeed with aster v0.15.0 tag
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
- workspace_health_service: add ensure_workspace_ready_with_auto_relocate that falls back to
a managed path (~/.proxycast/projects/{id}) when original root is inaccessible
- WorkspaceReadyResult: include relocated, previousRootPath, warning fields
- workspace_cmd: expose relocated/previousRootPath/warning in WorkspaceEnsureResult response;
add ensure_workspace_ready_with_auto_relocate to workspace_update path
- useProjects/useWorkspace/AgentChatPage: use repaired (not created) flag to trigger repair
telemetry, since repaired=true covers both create-new and auto-relocate scenarios
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- RootRouter.tsx: wrap SmartInputPage, UpdateNotificationPage, and main app in AppCrashBoundary
to catch render errors and show recovery UI instead of blank screen
- App.tsx: add workspace_ensure_default_ready call on startup to auto-repair missing default
workspace directory and record repair telemetry
- NovelFlowWorkbench.tsx: improve character card parsing with normalizeCharacterText/getCardField
helpers that strip JSON noise and handle nested field aliases (name/姓名/character_name, etc.)
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add appVersion.ts: resolves app version from VITE_APP_VERSION env or package.json at build time
- Inject VITE_APP_VERSION into vite.config.ts define block for consistent version across environments
- Add frontend crash buffer to crashReporting.ts: persists last 80 crashes in localStorage
- Add invoke error buffer to safeInvoke.ts: captures last 120 Tauri IPC errors with secret sanitization
- Enhance CrashDiagnosticPayload with locale, timezone, page_url, runtime, invoke_error_buffer,
frontend_crash_buffer, persisted_log_tail, workspace_repair_history, diagnostic_collection_notes
- Add export types: DesktopPlatform, ClipboardPermissionGuide, CrashDiagnosticExportResult
- Export getInvokeErrorBuffer and InvokeErrorBufferEntry from dev-bridge index
- Update tauri-mock with new ServerStatus fields (capability_routing, response_cache, request_dedup, idempotency)
- Add tests for appVersion, crashReporting, crashDiagnostic, workspaceHealthTelemetry
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Add response cache middleware (backed by aster-rust implementation)
- Add request deduplication middleware to prevent duplicate in-flight requests
- Add capability routing metrics middleware for model/provider fallback tracking
- Add idempotency stats (atomic counters) to IdempotencyStore
- Expose all four stores in ServerState and surface stats in ServerStatus
- Add ResponseCacheSettings to ServerConfig with defaults (600s TTL, 200 max entries)
- Add API server observability infrastructure (IdempotencyGuard, RequestDedupGuard, ResponseCacheGuard)
- Add inline capability detection for vision/tools/context when routing requests
- Register workspace_ensure_ready and workspace_ensure_default_ready commands in runner
- Update docs with response_cache configuration example
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>