feat(home): agy を共通モジュールにして macmini にも入れる - #595
Merged
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
agy(antigravity-cli) を母艦専用の1行から共通モジュールに移し、macmini にも入れる。既定モデルもここで宣言する。settings.json は置き換えずに合流させる
agy はこのファイルを自分で書く (信頼したディレクトリが増えるたびに追記される)。store のシンボリックリンクで固めると、書けないファイルを渡すことになる。宣言したいキーだけを既存の内容に合流させて、残りは触らない。
既定は
gemini-3.1-pro-highにした。これはセカンドオピニオンを取りに行く道具なので、消費より答えの質を採る。1回ごとの上書きは--modelで、選択肢はagy models。Claude Sonnet 4.6 / Opus 4.6 / gpt-oss-120b もこの枠で選べる。ついでに macmini が評価できなくなっていたのを直した
私の変更とは無関係に、main の時点で
.#darwinConfigurations.macmini.systemが落ちていた。hosts/macmini.nixがnixpkgsAgentsを引数に取るのに、macmini のspecialArgsに渡していない。pr-gate は macmini のクロージャを建てないので、CI では見えていなかった。今回 macmini に何か入れようとして初めて当たった。1行足して通るようにしてある。
ここは別途考える価値がある。母艦と homeserver は毎回建てているが、macmini は「次に触る人が気づくまで壊れたまま」になる場所だということが分かった。