Skip to content

Add local artifacts panel#104

Merged
slashdevcorpse merged 3 commits into
mainfrom
feature/artifacts-panel
May 31, 2026
Merged

Add local artifacts panel#104
slashdevcorpse merged 3 commits into
mainfrom
feature/artifacts-panel

Conversation

@slashdevcorpse
Copy link
Copy Markdown
Owner

@slashdevcorpse slashdevcorpse commented May 31, 2026

Summary

  • Add a local artifact registry that records command logs and detects generated file, patch, package, image, and export outputs from Codex command runs.
  • Add /api/artifacts for per-session artifact lists, safe local downloads, and redacted manifest downloads.
  • Add an Artifacts panel in chat with copy-path, safe download, refresh, and manifest actions.

Testing

  • pnpm -C apps/codex-claw lint
  • pnpm -C apps/codex-claw test
  • pnpm -C apps/codex-claw build

Closes #91


Summary by cubic

Adds a local artifacts registry and an Artifacts panel in chat to track files from Codex runs, with a new /api/artifacts endpoint for listing, safe downloads, and manifest export. Users can view logs, patches, images, and packages per session and download safe items.

  • New Features
    • Server: records command logs and detects output files; stores size, type, timestamps, and safe-to-open flag.
    • API: /api/artifacts supports per-session lists, safe file downloads (download=1), and redacted manifest export (manifest=1).
    • Safety: only text/images from trusted paths are downloadable; all entries use redacted paths in manifests.
    • UI: new Artifacts panel in chat with refresh, copy path, download (when safe), and manifest export.
    • Client: query helpers, route tree updates, and header toggle wired to the panel.
    • Tests: coverage for redacted manifests and safe download behavior.

Written for commit 866e0f0. Summary will update on new commits.

Review in cubic

Copilot AI review requested due to automatic review settings May 31, 2026 09:28
@slashdevcorpse slashdevcorpse merged commit 85e76ca into main May 31, 2026
5 of 6 checks passed
@slashdevcorpse slashdevcorpse deleted the feature/artifacts-panel branch May 31, 2026 09:30
Copy link
Copy Markdown

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Feature: artifacts panel for files, patches, logs, and exports

2 participants