Skip to content

feat(installer): install and update be-concise from GitHub releases - #20

Merged
yannelli merged 2 commits into
mainfrom
add-be-concise-plugin-manage-updates
Oct 5, 2026
Merged

yannelli merged 2 commits into
mainfrom
add-be-concise-plugin-manage-updates

Conversation

@yannelli

@yannelli yannelli commented Oct 5, 2026 •

Copy link
Copy Markdown
Owner

Adds a Plugin tab that installs, updates, downgrades, and removes concise@be-concise for Claude Code and Codex from the yannelli/be-concise GitHub releases. The tab also appears in the Connect be-concise state, so a host without be-concise can install it from Paseo.

The server lists stable releases at or above 0.7.0 and clones the selected tag into ~/.local/share/paseo-be-concise/releases/vX.Y.Z. It checks the manifests and plugin version, then points the be-concise marketplace at that folder through the claude and codex CLIs. A marketplace that uses another source changes only after the user confirms Switch to GitHub releases. If a host command fails after the switch starts, the server adds the earlier source again and the error names it.

Changes run as background jobs because Paseo plugin RPCs time out after 60 seconds. A plugin reload stops the running job and its host command. After a change, the adapter loads the selected release, so the panel version matches after a downgrade. docs/plugin-installer.md records the CLI behavior this feature uses.

The server resolves symlinks before it decides that a marketplace points at a managed release, because Codex reports resolved paths. Status output that is not the expected JSON shows as a host error and leaves state.json unchanged. A release folder that no host uses stays for 7 days, so a running Claude Code session keeps a valid plugin root.

Testing

  • npm run check (typecheck and 37 tests)
  • Install, update, remove, and a switch from a GitHub-sourced marketplace with Claude Code 2.1.289 and Codex CLI 0.159.0, in temporary CLAUDE_CONFIG_DIR, CODEX_HOME, and XDG_DATA_HOME folders
  • Install, update, and remove on both hosts with XDG_DATA_HOME set to a symlink
  • Not checked: the rendered tab in a running Paseo app, the .exe lookup on Windows, and a dedicated test for concurrent adapter resets

@yannelli yannelli self-assigned this Oct 5, 2026
@yannelli
yannelli marked this pull request as ready for review October 5, 2026 02:11
…eloads

Resolve symlinks before the managed marketplace check, because Codex
reports resolved paths. Report status output that is not JSON as a host
error. Add the earlier marketplace source again when a switch fails.
Keep unused release folders for 7 days. Abort host commands on plugin
close, and run adapter resets in sequence.
@yannelli
yannelli merged commit ee81c95 into main Oct 5, 2026
1 check passed
@yannelli
yannelli deleted the add-be-concise-plugin-manage-updates branch October 5, 2026 02:33
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