create-interview-cockpit 0.19.0 → 0.21.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -132,6 +132,8 @@ export interface Question {
132
132
  title: string;
133
133
  systemContext: string;
134
134
  codeContextFiles: string[];
135
+ /** Optional git diff selection that the LLM can lazy-fetch via readFile. */
136
+ gitDiffContext?: GitDiffContext;
135
137
  contextFiles: ContextFile[];
136
138
  messages: Message[];
137
139
  annotations?: Annotation[];
@@ -143,6 +145,16 @@ export interface Question {
143
145
  createdAt: string;
144
146
  }
145
147
 
148
+ export type GitDiffMode = "two-dot" | "three-dot" | "working-tree";
149
+
150
+ export interface GitDiffContext {
151
+ baseRef: string;
152
+ /** Empty / WORKING_TREE when mode is working-tree. */
153
+ headRef: string;
154
+ mode: GitDiffMode;
155
+ selectedFiles: string[];
156
+ }
157
+
146
158
  // ── Workspace registry types ──────────────────────────────────────────
147
159
  export interface DriveConfig {
148
160
  folderId: string;