agent: say claude-code is only on PATH for the claude runtime in acp.command
This commit is contained in:
parent
1ce5996c49
commit
3cc4fdb54c
1 changed files with 12 additions and 2 deletions
|
|
@ -264,7 +264,14 @@ in
|
|||
type = lib.types.str;
|
||||
default = "";
|
||||
example = lib.literalExpression ''"''${pkgs.opencode}/bin/opencode"'';
|
||||
description = "Program the harness spawns as its ACP agent (`HIVE_ACP_COMMAND`).";
|
||||
description = ''
|
||||
Program the harness spawns as its ACP agent (`HIVE_ACP_COMMAND`).
|
||||
|
||||
`claude` is on PATH only when `services.hyperhive.agent.runtime` is
|
||||
`"claude"`. A command that runs `claude` (a Claude ACP adapter, say)
|
||||
needs `pkgs.claude-code` in `environment.systemPackages` and
|
||||
`"claude-code"` in `nixpkgs.config.allowUnfreePackages`.
|
||||
'';
|
||||
};
|
||||
|
||||
args = lib.mkOption {
|
||||
|
|
|
|||
Loading…
Reference in a new issue