Skip to content

Tags: feicaiclub/forge

Tags

v1.0.3

Toggle v1.0.3's commit message
chore: bump version to 1.0.3

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v1.0.2

Toggle v1.0.2's commit message
chore: bump version to 1.0.2

v1.0.1

Toggle v1.0.1's commit message
fix: prevent onboarding from overwriting existing .claude/ config files

When ~/.forge/ database is deleted (e.g. during packaging) and the user
reinstalls, onboarding re-triggers. Previously it unconditionally
overwrote CLAUDE.md and USER.md, destroying user's customized content.

Fix: check if each file has real user content before writing. Files
matching known stub prefixes (from initializeWorkspaceDir defaults)
are treated as empty and get overwritten. Files with any other content
are preserved and reported in the `skipped` response field.

Tested scenarios:
- New project (no .claude/) → writes normally
- Existing project with custom content → skipped, content preserved
- Existing project with stub content → overwrites stubs
- Previous onboarding content → not re-overwritten

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>

v1.0.0

Toggle v1.0.0's commit message
feat: display Agent-created images/files in desktop ChatView

When the Agent downloads or creates images/files (via Write or Bash
curl/wget), they are now:
1. Detected from tool_use blocks after stream completes
2. Copied to uploads directory (accessible via /api/upload/)
3. Appended as image_attachment/file_attachment content blocks
4. Rendered inline in ChatView (images as <img>, files as download cards)

Refactored extractFilePaths + resolveFileAttachments into shared exported
functions, reused by both IM conversation-engine and desktop chat route.

ChatView assistant message renderer now handles image_attachment (inline
with max 300px, click to open) and file_attachment (icon + name + size,
click to download).

Co-Authored-By: Claude Opus 4.6 (1M context) <[email protected]>