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
Problem: The task detail inspector exposed the output panel as Files even though task runs can produce links, evidence, generated files, and other useful outputs.
Why it matters: Users need one place to reopen run evidence without rereading the assistant transcript or losing local files behind non-clickable file:// links.
What changed: Renamed the inspector tab to Artifacts, added artifact extraction/deduping for links, file refs, MEDIA directives, and local tool outputs, and added a backend endpoint to reveal local file artifacts from the task artifact list.
What did not change: Existing task execution flow and task data shape remain compatible; web artifacts still open as normal external links.
Change Type
Bug fix
Feature
Security hardening
Documentation
Chore / infrastructure
Security Impact
New permissions or capabilities? Yes
Secrets or token handling changed? No
New or changed network calls? No
Local storage or memory scope changed? Yes
If any answer is Yes, explain the risk and mitigation: The new open endpoint can reveal only artifacts already associated with the requested task execution; it accepts an artifact id, resolves file:// or absolute-path file artifacts, rejects unresolvable paths, and is covered by route tests with an injected opener. Captured execution artifacts are stored with existing task execution data so useful links and generated files persist with the run.
Verification
npm audit
npm run typecheck
npm test
npm run build
npm pack --dry-run
UI screenshot or recording attached, if UI changed
Platform tested: macOS local development; browser QA on localhost verified a file artifact click returned 200 from the artifact open endpoint and did not navigate to file://.
Known limitations: Artifact detection is heuristic, so it favors useful URLs, local file paths, and explicit MEDIA directives while avoiding arbitrary noisy shell output as file artifacts.
Stop lowercasing artifact URLs during deduplication
Deduplicating on artifact.url?.toLowerCase() can collapse distinct artifacts that differ only by URL casing (for example /Report vs /report), even though many HTTP servers and file paths are case-sensitive. In those cases one artifact is silently dropped from persisted execution results, so users lose access to a real output/link from the run.
Reveal Linux directory artifacts instead of parent folder
The Linux branch always executes xdg-open on path.dirname(filePath), which is correct for files but wrong for directory artifacts: revealing /tmp/results opens /tmp instead of the requested artifact. Because revealArtifactFile explicitly accepts directories, this causes successful API responses to open the wrong location for directory artifacts on Linux.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Fileseven though task runs can produce links, evidence, generated files, and other useful outputs.file://links.Artifacts, added artifact extraction/deduping for links, file refs, MEDIA directives, and local tool outputs, and added a backend endpoint to reveal local file artifacts from the task artifact list.Change Type
Security Impact
file://or absolute-path file artifacts, rejects unresolvable paths, and is covered by route tests with an injected opener. Captured execution artifacts are stored with existing task execution data so useful links and generated files persist with the run.Verification
npm auditnpm run typechecknpm testnpm run buildnpm pack --dry-runNotes
file://.