Skip to content

Commit 645621a

Browse files
committed
Remove not used content
1 parent 3268452 commit 645621a

File tree

1 file changed

+0
-52
lines changed

1 file changed

+0
-52
lines changed

docs/protocol.md

Lines changed: 0 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -376,7 +376,6 @@ type ChatContent =
376376
| URLContent
377377
| ProgressContent
378378
| UsageContent
379-
| FileChangeContent
380379
| ReasonStartedContent
381380
| ReasonTextContent
382381
| ReasonFinishedContent
@@ -488,57 +487,6 @@ interface UsageContent {
488487
sessionCost?: string;
489488
}
490489

491-
/**
492-
* File changes that may require user approval
493-
*/
494-
interface FileChangeContent {
495-
type: 'fileChange';
496-
497-
/**
498-
* Description of what changes will be made
499-
*/
500-
description: string;
501-
502-
/**
503-
* Whether this change requires manual approval from the user
504-
*/
505-
manualApproval: boolean;
506-
507-
/**
508-
* The file to be changed
509-
*/
510-
file?: string;
511-
512-
/**
513-
* The changes to be applied
514-
*/
515-
changes?: [{
516-
/**
517-
* The type of change
518-
*/
519-
kind: 'create' | 'change' | 'delete';
520-
521-
/**
522-
* The content to be added/modified
523-
*/
524-
content?: string;
525-
526-
/**
527-
* The range of lines to be modified/deleted
528-
*/
529-
range?: {
530-
/**
531-
* The starting line number (1-based)
532-
*/
533-
startLine: number;
534-
/**
535-
* The ending line number (1-based)
536-
*/
537-
endLine: number;
538-
};
539-
}];
540-
}
541-
542490
/**
543491
* Tool call that LLM is preparing to execute.
544492
*/

0 commit comments

Comments
 (0)