One harness setup path: pipelines harness setup <claude|codex|opencode|pi>
Checks the CLI on the server's PATH (install command when missing), signs in with the harness's own login only when needed (--login forces it), keeps the OpenCode/Pi model pickers, and verifies with the server's check. Works on native and Docker installs (Docker delegates to the container setup); --host is a hidden compatibility alias. harness list shows all four harnesses' installed/signed-in/configured/default status. ./install --opencode|--pi now point to the command; ./install ends with the next-step hint.
This commit is contained in:
@@ -20,6 +20,7 @@ import (
|
||||
"git.a-wan.net/alan/pipelines/internal/client"
|
||||
"git.a-wan.net/alan/pipelines/internal/draft"
|
||||
"git.a-wan.net/alan/pipelines/internal/harness"
|
||||
"git.a-wan.net/alan/pipelines/internal/installation"
|
||||
"git.a-wan.net/alan/pipelines/internal/pipeline"
|
||||
"git.a-wan.net/alan/pipelines/internal/protocol"
|
||||
"git.a-wan.net/alan/pipelines/internal/runinspect"
|
||||
@@ -32,6 +33,9 @@ import (
|
||||
type App struct {
|
||||
Out, Err io.Writer
|
||||
In io.Reader
|
||||
// Install is the native installation manifest this CLI belongs to, or nil
|
||||
// (Docker installation, or a development/Go-installed CLI).
|
||||
Install *installation.Config
|
||||
}
|
||||
type options struct {
|
||||
outputFormat string
|
||||
|
||||
Reference in New Issue
Block a user