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
fix(desktop): offer Finder fallback when HTML artifact preview cannot be read #5215
Maka already supports sandboxed HTML Artifact previews, but a generated HTML file that cannot be read is currently rendered as a failure message without a direct recovery action. In the reported workflow this leaves the user with a path or browser error and requires manual shell/Finder steps.
Expected behavior
When an HTML Artifact preview cannot be read, the failure state should include the existing safe "在 Finder 中打开" action. The action must use the artifact IPC path resolver; the renderer must not construct absolute paths or weaken the file:// navigation guard.
Scope
Maka Desktop Artifact UI only. This issue does not change Browser admission, localhost networking, background process state, or the file:// security policy.
Acceptance criteria
HTML read failures show a clear error and a Finder fallback action.
The action uses openArtifactPath(sessionId, artifactId) and preserves path validation/materialization in the main process.
Successful preview behavior and sandbox restrictions remain unchanged.
Add only the focused regression coverage needed for the new failure action.
Activity
Dante-dan commentedon Sep 12, 2026
take