Skip to content

feat(opencode): add OpenCode plugin support via .opencode/INSTALL.md#6

Merged
kherembourg merged 1 commit into
mainfrom
feat/opencode-support
May 19, 2026
Merged

feat(opencode): add OpenCode plugin support via .opencode/INSTALL.md#6
kherembourg merged 1 commit into
mainfrom
feat/opencode-support

Conversation

@kherembourg
Copy link
Copy Markdown
Contributor

Objectif

Déverrouiller l'installation du plugin via OpenCode, sur le modèle d'obra/superpowers/.opencode/INSTALL.md. Plus de copie manuelle de fichiers : OpenCode fetch et cache le plugin directement depuis le repo GitHub.

Fichiers

Ajouté — .opencode/INSTALL.md

Sections complètes :

  • Prerequisites — OpenCode installé, Node ≥ 18, git, projet avec opencode.json.
  • Installation — ajouter l'entrée plugin à opencode.json :
    { "plugin": ["purchasely@git+https://github.com/Purchasely/Purchasely-AI-Plugin.git"] }
  • Usage — exemple "Tell me about your Purchasely skills" + 4 prompts type.
  • Updatingopencode plugin update purchasely + pin sur tag (#v1.0.0).
  • Troubleshooting :
    • Plugin not loading — vérifier JSON valide, logs verbose, accès git.
    • Windows install issues — workaround npm install --prefix %USERPROFILE%\.opencode\plugins + pointer opencode.json sur le chemin local.
    • Skills not found — vider le cache, vérifier le contenu plugin, version pin.

Structure calquée sur obra/superpowers/.opencode/INSTALL.md.

Modifié — README.md

Ajout d'un bloc <details> OpenCode dans la section Option 3 — Manual Setup Per Tool, pointant vers .opencode/INSTALL.md.

Quand #4 (per-harness Quickstart) sera mergée, le README contiendra aussi un bloc OpenCode dans la nouvelle section Quickstart — la PR #4 a déjà préparé cet emplacement. Cette PR (#5#6) reste cohérente avec la version main actuelle du README.

Acceptance criteria

  • .opencode/INSTALL.md créé, sections complètes (Prerequisites / Installation / Usage / Updating / Troubleshooting).
  • README contient une section OpenCode pointant vers .opencode/INSTALL.md.
  • CHANGELOG.md mis à jour : ### AddedOpenCode plugin support via .opencode/INSTALL.md.

Generated by Claude Code

@kherembourg kherembourg force-pushed the feat/opencode-support branch 2 times, most recently from 2008456 to db583b2 Compare May 19, 2026 19:01
Unlocks installation via OpenCode's native plugin spec — no symlinks, no
file copies, automatic updates.

- .opencode/INSTALL.md — prerequisites, opencode.json one-liner, usage,
  updating, troubleshooting (plugin not loading, Windows install issues
  with the npm --prefix workaround, skills not found).
- README — adds an OpenCode block in the per-tool setup section pointing
  at .opencode/INSTALL.md.

When the per-harness Quickstart restructure (#4) merges, the README also
gets an OpenCode entry in the new Quickstart section.
@kherembourg kherembourg force-pushed the feat/opencode-support branch from db583b2 to 017ca65 Compare May 19, 2026 19:07
@kherembourg kherembourg merged commit 8b7f591 into main May 19, 2026
9 checks passed
@kherembourg kherembourg deleted the feat/opencode-support branch May 19, 2026 19:08
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