Repository navigation
Release v7.170.0
The agent worker harness now prepares every branch a run needs and gives the agent a route to the tools Cratis Direct exposes. The agent still never receives a provider credential. Cratis Direct supplies the two new variables, DIRECT_FETCH_BRANCHES and DIRECT_TOOLS_MCP_URL.
Added
DIRECT_FETCH_BRANCHESfetches the named branches, or prefix patterns ending in*, intorefs/remotes/origin/<name>for local use. The remote's default branch is always fetched too, sogit merge origin/<default>works without network access. A branch that a repository does not have is skipped, and an invalid name fails the run with[git-config]. Host-prepared, bundle-diff and restricted investigation jobs refuse the variable.DIRECT_TOOLS_MCP_URLadds an MCP server nameddirect_toolsfor Claude Code and Copilot. It authenticates with the run's callback token as a bearer token, and the token never appears in the client configuration or on a command line. Pi does not get the server yet.
Fixed
- When
DIRECT_BRANCHalready exists on the remote, the checkout now continues from it and the push fast-forwards it, so the existing pull request is updated. Before, the branch was recreated from the default branch and the push was rejected as non-fast-forward.