Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Agent ¶
type Agent struct {
// Name is the user-facing runner argument (`clawk run <name>`).
// Must be unique. Lowercase ASCII, no whitespace. Also the command
// resolved on the guest agent's PATH (which carries the image
// config's Env), so it lands wherever the image installed the tool.
Name string
// DefaultArgs are prepended to whatever the user passes through
// `-- <args>`. Claude and Codex both have explicit "externally
// sandboxed" modes, so clawk enables those by default.
DefaultArgs []string
}
Agent describes how a coding-agent runner is launched inside a sandbox. Treating each agent (claude, codex, opencode, ...) as a data-driven entry rather than a per-agent code path keeps the CLI surface symmetric: every agent's verb works the same way, and adding a fourth runner is a one-line registry change.
Source Files
¶
- admission.go
- agent_docs.go
- agent_session.go
- agents.go
- apply.go
- attach.go
- auth.go
- blocklist.go
- complete.go
- compose_files.go
- create.go
- cwd.go
- daemon.go
- debug.go
- destroy.go
- doctor.go
- doctor_linux.go
- down.go
- fcd.go
- forward.go
- here.go
- hostmem_linux.go
- idle.go
- image.go
- image_unix.go
- lifecycle.go
- list.go
- migrate.go
- mod.go
- namespace.go
- netpolicy.go
- netwatch.go
- network.go
- observe.go
- policy.go
- pr.go
- pr_state.go
- progress_ui.go
- providers_linux.go
- push_files.go
- resources.go
- reverse_forward.go
- root.go
- run.go
- runverb.go
- sessions.go
- sessions_cmd.go
- setup.go
- shares.go
- shell.go
- status.go
- system.go
- up.go
- version.go
- vshell.go
- vzd_stub.go
- work.go
- worktree.go
Click to show internal directories.
Click to hide internal directories.