Skip to content

Add Images and native Plugins surfaces - #236

Merged
BunsDev merged 4 commits into
mainfrom
images-plugins
Oct 15, 2026
Merged

BunsDev merged 4 commits into
mainfrom
images-plugins

Conversation

@BunsDev

@BunsDev BunsDev commented Oct 15, 2026 •

Copy link
Copy Markdown
Contributor

Changes

Adds full-desktop Images and Plugins destinations. Images owns imported originals and thumbnails, supports Chat/Space reuse, and runs queued generation/revisions through an explicitly selected native CLI plugin skill with normal approvals and validated output registration. Plugins exposes installed/discover/source views and the lifecycle operations supported by the installed Claude/Codex CLI.

  • Preserve prompts, references, job history, cancellation and explicit retry across restarts; never replay interrupted generation automatically.
  • Respect shared CLI identity, scope/version checks and mutation admission; Store and iPhone keep these capabilities disabled.
  • Drain admitted requests before thread deletion so unrelated active turns and drafts remain usable.
  • Preserve current-main Analytics, Fable credit fallback and Notes storage behavior; retain Space sidebar resizing.

Verification

Build, desktop main/renderer typecheck and the complete unit suite passed on the Notes-integrated implementation: 1,534 passed, 16 platform skips. Focused image/plugin, Notes, sidebar resizing and updater recovery flows passed (12 tests); stronger updater assertions passed separately (2 tests). After integrating the Notes workspace tree from main, full CI-parity E2E passed with Knowledge opt-in enabled: 307 desktop tests and 7 site tests, zero failures.

A follow-up replaces interpolated test-script source with static scripts and process arguments, and makes the image preparation promise handoff explicit. Build and all 1,529 unit tests passed again; all 6 Images/Plugins E2E cases passed on the follow-up.

The site suite passed with its supported port override after another local process occupied the default port. Independent review confirmed that Notes-tree moves/renames preserve image references and revision-checked insertion.

Independent review found and verified fixes for native plugin command disposal and image-draft close protection. A Space resize regression was caught by the full suite and fixed, then passed its focused test. One earlier local unit run hit an unchanged Knowledge cleanup kill EPERM; its isolated recheck and subsequent full runs passed.

Offline fixtures exercise approval, output registration and persistence. Live provider/plugin acceptance, human keyboard/VoiceOver acceptance and signed/notarized release verification remain separate release gates; this PR does not publish a release.

Coven-Harness: Codex / GPT-6

Own imported image assets and durable generation drafts/jobs, connect native CLI
plugin discovery and lifecycle commands, and preserve normal runner approvals.
Protect image drafts on close, drain plugin subprocesses on shutdown, and wait
for admitted requests before deleting thread owners.

Coven-Harness: Codex / GPT-6
@vercel

vercel Bot commented Oct 15, 2026 •

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated
modex Ready Ready Preview Oct 15, 2026 6:00pm UTC

Request Review

Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/test/plugins.test.ts Fixed
Comment thread apps/desktop/src/main/index.ts Fixed
Pass fixture data as process arguments instead of constructing JavaScript, and
return image preparation promises through an explicit media availability check.

Coven-Harness: Codex / GPT-6
Integrate the remote branch cleanup policy with no application or test changes.

Coven-Harness: Codex / GPT-6
Preserve Images navigation, reference protection and revision-checked insertion
alongside the new Notes workspace tree. Record complete integration verification.

Coven-Harness: Codex / GPT-6
@BunsDev
BunsDev merged commit f4b4e48 into main Oct 15, 2026
12 checks passed
@BunsDev
BunsDev deleted the images-plugins branch October 15, 2026 18:28
BunsDev added a commit that referenced this pull request Oct 15, 2026
Four conflicts, each resolved by keeping both sides:
- index.html: the image CSP allows both modex-notes: (page images) and modex-image: (Images assets).
- markdown.ts: web URLs and modex-image asset URLs pass through; any other image path is resolved
  beside the page by localImage, which blanks anything it cannot serve.
- App.tsx and SpaceView.tsx: SpaceView takes both openProject (Open notes) and onOpenImages.

Coven-Harness: Claude Code / claude-opus-5-5
BunsDev added a commit that referenced this pull request Oct 15, 2026
Bump the desktop package to 0.1.0. Record the candidate's scope since v0.0.12, its review
history, source and local evidence, and the remaining release gates. Val chose to include
Images and Plugins (#236). Local notarization was skipped because the 1Password CLI could
not reach the desktop app. The signed rehearsal passed, and the Release workflow notarizes.

Coven-Harness: Claude Code / claude-opus-5-5

This branch was successfully deployed

1 active deployment
Preview — 761b43de Deployed Oct 15, 2026 by vercel[bot]
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.

2 participants