Cleanup dead code (#1336)
* Remove unused delete file endpoint, move test helpers to test files Fix missing git id in tests * Remove unused gh cli methods * Remove unused replace_process * Fix open editor exports, remove unused struct Fix compile * Remove unused get_tasks endpoint Re-add get tasks, used by mcp * Remove unused get_execution_processes endpoint * Remove unused get tag endpoint
This commit is contained in:
@@ -152,6 +152,12 @@ export type RenameBranchRequest = { new_branch_name: string, };
|
||||
|
||||
export type RenameBranchResponse = { branch: string, };
|
||||
|
||||
export type CommitCompareResult = { head_oid: string, target_oid: string, ahead_from_head: number, behind_from_head: number, is_linear: boolean, };
|
||||
|
||||
export type OpenEditorRequest = { editor_type: string | null, file_path: string | null, };
|
||||
|
||||
export type OpenEditorResponse = { url: string | null, };
|
||||
|
||||
export type AssignSharedTaskRequest = { new_assignee_user_id: string | null, version: bigint | null, };
|
||||
|
||||
export type AssignSharedTaskResponse = { shared_task: SharedTask, };
|
||||
@@ -198,8 +204,6 @@ additions: number | null, deletions: number | null, };
|
||||
|
||||
export type DiffChangeKind = "added" | "deleted" | "modified" | "renamed" | "copied" | "permissionChange";
|
||||
|
||||
export type RepositoryInfo = { id: bigint, name: string, full_name: string, owner: string, description: string | null, clone_url: string, ssh_url: string, default_branch: string, private: boolean, };
|
||||
|
||||
export type CommandBuilder = {
|
||||
/**
|
||||
* Base executable command (e.g., "npx -y @anthropic-ai/claude-code@latest")
|
||||
@@ -284,28 +288,6 @@ export type RebaseTaskAttemptRequest = { old_base_branch: string | null, new_bas
|
||||
|
||||
export type GitOperationError = { "type": "merge_conflicts", message: string, op: ConflictOp, } | { "type": "rebase_in_progress" };
|
||||
|
||||
export type ReplaceProcessRequest = {
|
||||
/**
|
||||
* Process to replace (delete this and later ones)
|
||||
*/
|
||||
process_id: string,
|
||||
/**
|
||||
* New prompt to use for the replacement follow-up
|
||||
*/
|
||||
prompt: string,
|
||||
/**
|
||||
* Optional variant override
|
||||
*/
|
||||
variant: string | null,
|
||||
/**
|
||||
* If true, allow resetting Git even when uncommitted changes exist
|
||||
*/
|
||||
force_when_dirty: boolean | null,
|
||||
/**
|
||||
* If false, skip performing the Git reset step (history drop still applies)
|
||||
*/
|
||||
perform_git_reset: boolean | null, };
|
||||
|
||||
export type CommitInfo = { sha: string, subject: string, };
|
||||
|
||||
export type BranchStatus = { commits_behind: number | null, commits_ahead: number | null, has_uncommitted_changes: boolean | null, head_oid: string | null, uncommitted_count: number | null, untracked_count: number | null, target_branch_name: string, remote_commits_behind: number | null, remote_commits_ahead: number | null, merges: Array<Merge>,
|
||||
|
||||
Reference in New Issue
Block a user