Documentation
¶
Index ¶
Constants ¶
View Source
const ( // AgentClaude is the supported public agent identifier for the Claude CLI. AgentClaude = "claude" // AgentGemini is the supported public agent identifier for the Gemini CLI. AgentGemini = "gemini" // AgentCodex is the supported public agent identifier for the Codex CLI. AgentCodex = "codex" // DefaultClaudeModel is the default Claude model alias for demo runs. DefaultClaudeModel = "sonnet" // DefaultGeminiModel is the default Gemini model alias for demo runs. DefaultGeminiModel = "gemini-2.5-flash" // DefaultCodexModel is the default Codex model alias for demo runs (empty uses Codex default). DefaultCodexModel = "" // DefaultAgentTimeout is the default maximum runtime for a demo agent invocation. DefaultAgentTimeout = 5 * time.Minute // TaskTemplateFile is the default task template file name for the task. TaskTemplateFile = "guided_tdd_workflow.yaml" )
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DemoOptions ¶
type DemoOptions struct {
Agent string
RootPath string
CentianBinaryPath string
Timeout time.Duration
ClaudeModel string
GeminiModel string
CodexModel string
OpenBrowser bool
Stdout io.Writer
Stderr io.Writer
}
DemoOptions configures a single demo run.
type DemoResult ¶
type DemoResult struct {
RootPath string
WorkspacePath string
ConfigPath string
PromptPath string
AgentStdout string
AgentStderr string
UIPublicURL string
MCPURL string
PID int
StopHint string
}
DemoResult describes the generated demo workspace and running Centian instance.
type DemoRunner ¶
type DemoRunner struct{}
DemoRunner provisions and launches a self-contained Centian demo workspace.
func (DemoRunner) RunDemo ¶
func (DemoRunner) RunDemo(ctx context.Context, opts *DemoOptions) (*DemoResult, error)
RunDemo creates the demo workspace, starts Centian, launches the selected agent, and leaves Centian running after the agent exits.
Click to show internal directories.
Click to hide internal directories.