はじめに

OpenCode に Lagune をプラグインとしてインストール

OpenCode 1.x と 2.x に Lagune をプラグインとしてインストールし、最新の状態に保ちます。

ターミナルからプラグインをインストールします:

opencode plugin add lagune

または、plugins リスト(opencode.json 内)に追加します:

{
"plugins": ["lagune"]
}

更新​

Lagune を更新するには、次のコマンドを実行します:

opencode plugin update lagune
opencode reload

コマンド​

@ と入力して @lagune-charter などのコマンドを選び、同じメッセージに続けて入力内容を書きます。


権限

エンジンは 2 つのツールで動作します。lagune_read はプロジェクトを読み取るだけで、lagune_write は .lagune/ に書き込むだけです。OpenCode は確認なしでこれらを実行します。

よくある質問

OpenCode 2.x では、opencode plugin add lagune を実行します。OpenCode 1.x では、opencode plugin lagune を実行します。すべてのプロジェクトにインストールするには -g を付けます。

OpenCode 2.x では、opencode plugin update lagune を実行してから opencode reload を実行します。OpenCode 1.x では、opencode plugin lagune@0.16.0 --force を実行します。

OpenCode 2.x では、@ と入力して @lagune-charter などのコマンドを選び、同じメッセージに続けて入力内容を書きます。OpenCode 1.x では、/lagune-charter のようにコマンド名をそのまま入力するか、/skills から探します。

いいえ。OpenCode は、エンジンの 2 つのツールである lagune_read と lagune_write を確認なしで実行します。