Skip to content

feat(extension): open-file bridge — chat links open local files - #240

Merged
aarontrowbridge merged 2 commits into
release/0.2.0from
feat/open-file-bridge
Aug 2, 2026
Merged

aarontrowbridge merged 2 commits into
release/0.2.0from
feat/open-file-bridge

Conversation

@aarontrowbridge

Copy link
Copy Markdown
Member

Source: recovered from the shared dirty checkout on release/0.2.0 (the "Buried Amico output / ChatApp" session work) — Phase 0 of the fleet untangle.

What: adds an open-file bridge message kind so the framed chat app can ask the extension host to open local files (vault notes, run artifacts) in the editor. Gated: file:// URLs only; resolved path must be absolute, length-bounded, and exist on disk. Wired through ChatPanel and the deck shell forwarder.

Tests: vitest run test/chat_bridge.test.ts — 9/9 green locally (includes the new open-file cases).

Canonical vocabulary for the nightly/scheduled agentic jobs (GitHub
Actions Slack automation today, local repo/Julia jobs as it grows);
subsumes the dream cycle. Avoid: cron, scheduler, night shift.
…e editor

The framed app renders LLM output with file:// links (vault notes, run
artifacts) but cannot open local files; the extension host can. Adds an
open-file bridge message kind to chat_bridge, gated: file:// URLs only,
resolved path must be absolute, bounded (<=4096), and exist on disk.
Wired through ChatPanel and the deck shell message forwarder.
@aarontrowbridge
aarontrowbridge marked this pull request as ready for review August 2, 2026 16:41
aarontrowbridge added a commit to harmoniqs/opencode that referenced this pull request Aug 2, 2026
The fork-side half of the ChatApp 'buried output' work (extension half
already in harmoniqs/amicode#240): long working-context blocks group
and collapse like shell output instead of flooding the chat. Updates
the grouping model + part renderer; group-parts tests cover the new
grouping (10 tests).
@aarontrowbridge
aarontrowbridge merged commit e273f9f into release/0.2.0 Aug 2, 2026
6 checks passed
aarontrowbridge added a commit that referenced this pull request Aug 2, 2026
… (internal)

Repin the vendored opencode to the fork's v1.18.10-amicode.2 release
(PR #110: one home per chrome surface, closes amicode#105; plus
marked-math LaTeX rendering restored, buried working-context output in
message parts, edit-row model). Also carries extension-side #240
(open-file bridge) and #241 (Notturno vocabulary). sha256s from the
fork release notes; UI gate verified by the release workflow. Internal
channel — GitHub Release only, not Marketplace.
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.

1 participant