/** * Repository + handoff tools for the session surface. * * The session agent does NOT perform git operations or open pull requests * itself — code implementation is handed off to the existing per-issue * pipeline (which clones, edits, and opens PRs). These tools give the agent * what it needs to do that handoff well: see the product's repositories, and * create an issue for the pipeline to pick up. */ import { type SdkMcpToolDefinition } from '@anthropic-ai/claude-agent-sdk'; import { type ToolDeps } from '../../core/transport.js'; /** * `list_session_repositories` — the repos linked to the session's product, * with their IDs, full names and default branches, so the agent understands * the codebase scope (and can mention specific repos when filing issues). */ export declare function buildListSessionRepositories(deps: ToolDeps): SdkMcpToolDefinition; /** * `create_issue` — file an issue for the engineering pipeline to implement. * * This is the session agent's handoff path: instead of writing code directly, * it creates an issue (then typically marks it ready for AI via * update_issue_status) so the existing per-issue pipeline clones the repos, * implements the change, and opens the pull request(s). */ export declare function buildCreateIssue(deps: ToolDeps): SdkMcpToolDefinition;