II.
InteractionPrimitive JSON
Structured · liveinteraction-primitive:agent-mux-cli-workspaces-create
amux workspaces create json
Inspect the normalized record payload exactly as the atlas UI reads it.
{
"id": "interaction-primitive:agent-mux-cli-workspaces-create",
"_kind": "InteractionPrimitive",
"_file": "extensions/interaction-patterns/agent-mux-cli-workspaces-host.yaml",
"_cluster": "extensions",
"attributes": {
"displayName": "amux workspaces create",
"kind": "cli-subcommand",
"surface": "cli",
"parentBin": "amux",
"subcommandVerb": "workspaces create",
"flags": [
"--repo:N:cloned repo path (repeatable, required)",
"--mode:1:worktree|symlink",
"--name:1:workspace name (else first positional)",
"--branch:1:branch prefix for worktree creation",
"--root:1:override workspace root directory"
],
"subcommandExitCodes": [
"0:success:workspace created",
"1:general-error:internal error",
"2:usage-error:missing name or --repo"
],
"description": "Create a new workspace (worktree or symlink) over one or more repos.\nSource: packages/agent-mux/cli/src/commands/workspaces.ts:73-99.\n"
},
"outgoingEdges": [],
"incomingEdges": [
{
"from": "agent-ui-impl:agent-mux.ui@current",
"to": "interaction-primitive:agent-mux-cli-workspaces-create",
"kind": "supports_interaction_primitive",
"attributes": {
"attributes": {
"mechanism": "cli-subcommand"
}
}
},
{
"from": "package:a5c-ai-agent-mux-cli",
"to": "interaction-primitive:agent-mux-cli-workspaces-create",
"kind": "exposes_subcommand",
"attributes": {}
}
]
}