Code
Inspect files and changes in a specific project working copy. Links from chats and tasks connect agent results with source code.
Available actions
- Select a project, repository and main or task working copy.
- Browse files and search code.
- Open a file at a line or follow chat file links.
- Compare working tree and Git index changes.
- Inspect file history, line authorship, commits and change ranges.
- Stage changes, create commits and push them.
- Pull the current branch using fast-forward only.
- Switch the main application's branch, then build and start it with configured commands.
- Send file context to an agent conversation.
Choose the correct working copy
The main repository and sandbox working copy are different contexts. Verify which copy is open before reviewing a result. Paths come from project settings and registered Git worktrees.
Files, Changes and Commits cover current code, uncommitted edits and history respectively.
Pull the current branch
In Changes, the circular arrow fetches remote refs and refreshes branch information. The Pull changes down arrow updates the current branch and files using fast-forward only. It requires a clean working copy and configured upstream. Diverged history stops the operation with an explanation; it does not automatically rebase, merge or stash changes.
Check another branch on the main application
In the main working copy, use the current branch button. Configure stop, build, background start and readiness commands once; saving them does not start the application. Choose a known Git branch, use Switch and build, and review the directory, branch and commit in the confirmation. Fetch new remote branches before selecting them.
The operation uses the same directory and application environment. Uncommitted, staged or untracked files, an unfinished Git operation or an agent working in that directory block it. Follow progress in the stage log. The return action switches to the configured working branch and runs the saved commands again; its default is dev.
A build failure may leave the application stopped. Check the log and actual branch, fix the cause and retry, or return to the working branch.
Related screens: projects, sandboxes, pipelines and terminal.