- Generate and rename temporary `t3code/*` worktree branches on first user turn in `ProviderCommandReactor` - Remove websocket/client branch-generation RPCs and related contract/API surface - Update Codex text-generation prompt to include attachment metadata only when attachments exist, with expanded tests
Showing the changes to packages (2 of 12 files). Show all
Unified · Split
| @@ -1,10 +1,6 @@ | |||
| 1 | import type { | 1 | import type { |
| 2 | GitCheckoutInput, | 2 | GitCheckoutInput, |
| 3 | GitCreateBranchInput, | 3 | GitCreateBranchInput, |
| 4 | GitGenerateAndRenameBranchInput, | ||
| 5 | GitGenerateAndRenameBranchResult, | ||
| 6 | GitGenerateBranchNameInput, | ||
| 7 | GitGenerateBranchNameResult, | ||
| 8 | GitRenameBranchInput, | 4 | GitRenameBranchInput, |
| 9 | GitRenameBranchResult, | 5 | GitRenameBranchResult, |
| 10 | GitCreateWorktreeInput, | 6 | GitCreateWorktreeInput, |
| @@ -80,10 +76,6 @@ export interface NativeApi { · 69 unmodified lines | |||
| 80 | // Existing branch/worktree API | 76 | // Existing branch/worktree API |
| 81 | listBranches: (input: GitListBranchesInput) => Promise<GitListBranchesResult>; | 77 | listBranches: (input: GitListBranchesInput) => Promise<GitListBranchesResult>; |
| 82 | createWorktree: (input: GitCreateWorktreeInput) => Promise<GitCreateWorktreeResult>; | 78 | createWorktree: (input: GitCreateWorktreeInput) => Promise<GitCreateWorktreeResult>; |
| 83 | generateBranchName: (input: GitGenerateBranchNameInput) => Promise<GitGenerateBranchNameResult>; | ||
| 84 | generateAndRenameBranch: ( | ||
| 85 | input: GitGenerateAndRenameBranchInput, | ||
| 86 | ) => Promise<GitGenerateAndRenameBranchResult>; | ||
| 87 | renameBranch: (input: GitRenameBranchInput) => Promise<GitRenameBranchResult>; | 79 | renameBranch: (input: GitRenameBranchInput) => Promise<GitRenameBranchResult>; |
| 88 | removeWorktree: (input: GitRemoveWorktreeInput) => Promise<void>; | 80 | removeWorktree: (input: GitRemoveWorktreeInput) => Promise<void>; |
| 89 | createBranch: (input: GitCreateBranchInput) => Promise<void>; | 81 | createBranch: (input: GitCreateBranchInput) => Promise<void>; |
| @@ -11,9 +11,7 @@ import { · 10 unmodified lines | |||
| 11 | } from "./orchestration"; | 11 | } from "./orchestration"; |
| 12 | import { | 12 | import { |
| 13 | GitCheckoutInput, | 13 | GitCheckoutInput, |
| 14 | GitGenerateAndRenameBranchInput, | ||
| 15 | GitCreateBranchInput, | 14 | GitCreateBranchInput, |
| 16 | GitGenerateBranchNameInput, | ||
| 17 | GitCreateWorktreeInput, | 15 | GitCreateWorktreeInput, |
| 18 | GitInitInput, | 16 | GitInitInput, |
| 19 | GitListBranchesInput, | 17 | GitListBranchesInput, |
| @@ -53,8 +51,6 @@ export const WS_METHODS = { · 33 unmodified lines | |||
| 53 | gitRunStackedAction: "git.runStackedAction", | 51 | gitRunStackedAction: "git.runStackedAction", |
| 54 | gitListBranches: "git.listBranches", | 52 | gitListBranches: "git.listBranches", |
| 55 | gitCreateWorktree: "git.createWorktree", | 53 | gitCreateWorktree: "git.createWorktree", |
| 56 | gitGenerateBranchName: "git.generateBranchName", | ||
| 57 | gitGenerateAndRenameBranch: "git.generateAndRenameBranch", | ||
| 58 | gitRenameBranch: "git.renameBranch", | 54 | gitRenameBranch: "git.renameBranch", |
| 59 | gitRemoveWorktree: "git.removeWorktree", | 55 | gitRemoveWorktree: "git.removeWorktree", |
| 60 | gitCreateBranch: "git.createBranch", | 56 | gitCreateBranch: "git.createBranch", |
| @@ -117,8 +113,6 @@ export const WebSocketRequestBody = Schema.Union([ · 56 unmodified lines | |||
| 117 | tagRequestBody(WS_METHODS.gitRunStackedAction, GitRunStackedActionInput), | 113 | tagRequestBody(WS_METHODS.gitRunStackedAction, GitRunStackedActionInput), |
| 118 | tagRequestBody(WS_METHODS.gitListBranches, GitListBranchesInput), | 114 | tagRequestBody(WS_METHODS.gitListBranches, GitListBranchesInput), |
| 119 | tagRequestBody(WS_METHODS.gitCreateWorktree, GitCreateWorktreeInput), | 115 | tagRequestBody(WS_METHODS.gitCreateWorktree, GitCreateWorktreeInput), |
| 120 | tagRequestBody(WS_METHODS.gitGenerateBranchName, GitGenerateBranchNameInput), | ||
| 121 | tagRequestBody(WS_METHODS.gitGenerateAndRenameBranch, GitGenerateAndRenameBranchInput), | ||
| 122 | tagRequestBody(WS_METHODS.gitRenameBranch, GitRenameBranchInput), | 116 | tagRequestBody(WS_METHODS.gitRenameBranch, GitRenameBranchInput), |
| 123 | tagRequestBody(WS_METHODS.gitRemoveWorktree, GitRemoveWorktreeInput), | 117 | tagRequestBody(WS_METHODS.gitRemoveWorktree, GitRemoveWorktreeInput), |
| 124 | tagRequestBody(WS_METHODS.gitCreateBranch, GitCreateBranchInput), | 118 | tagRequestBody(WS_METHODS.gitCreateBranch, GitCreateBranchInput), |