jackin workspace
Synopsis
Section titled “Synopsis”jackin workspace <SUBCOMMAND>Create, list, modify, and delete saved workspace definitions.
A workspace describes project access, not agent tooling. It answers: which host paths should be mounted into the container, and which agent classes are allowed to use that layout?
Subcommands
Section titled “Subcommands”workspace add
Section titled “workspace add”jackin workspace add <NAME> --workdir <PATH> [OPTIONS]Save a new workspace definition.
| Option | Description |
|---|---|
--workdir <PATH> | Working directory (auto-mounted at the same path by default) |
--mount <SPEC> | Additional bind-mount spec (repeatable) |
--no-workdir-mount | Don’t auto-mount the workdir |
--allowed-agent <NAME> | Restrict to these agent classes (repeatable) |
--default-agent <NAME> | Agent class to auto-select |
jackin workspace add my-app --workdir ~/Projects/my-appjackin workspace add my-app --workdir ~/Projects/my-app --mount ~/cache:/cache:rojackin workspace add monorepo --workdir /workspace --no-workdir-mount --mount ~/src:/workspacejackin workspace add restricted --workdir ~/app --allowed-agent agent-smith --default-agent agent-smithworkspace list
Section titled “workspace list”jackin workspace listShow all saved workspaces.
workspace show
Section titled “workspace show”jackin workspace show <NAME>Display details of a specific workspace including workdir, mounts, and agent restrictions.
workspace edit
Section titled “workspace edit”jackin workspace edit <NAME> [OPTIONS]Modify an existing workspace.
| Option | Description |
|---|---|
--workdir <PATH> | Update the working directory |
--mount <SPEC> | Add a mount (repeatable) |
--remove-destination <PATH> | Remove a mount by container path (repeatable) |
--allowed-agent <NAME> | Grant agent class access (repeatable) |
--remove-allowed-agent <NAME> | Revoke agent class access (repeatable) |
--default-agent <NAME> | Set default agent |
--clear-default-agent | Clear the default agent |
jackin workspace edit my-app --workdir ~/new-dirjackin workspace edit my-app --mount ~/cache:/cache:rojackin workspace edit my-app --remove-destination /old-mountjackin workspace edit my-app --allowed-agent chainargos/backend-engineerjackin workspace edit my-app --default-agent agent-smithjackin workspace edit my-app --clear-default-agentworkspace remove
Section titled “workspace remove”jackin workspace remove <NAME>Delete a saved workspace.