feat(core): bound v2 tool output (#30999)

This commit is contained in:
Kit Langton
2026-06-05 14:35:19 -04:00
committed by GitHub
parent 760d523847
commit a9094fd059
31 changed files with 390 additions and 555 deletions
+4
View File
@@ -1120,6 +1120,7 @@ export type GlobalEvent = {
[key: string]: unknown
}
content: Array<ToolTextContent | ToolFileContent>
outputPaths?: Array<string>
result?: unknown
provider: {
executed: boolean
@@ -3644,6 +3645,7 @@ export type SyncEventSessionNextToolSuccess = {
[key: string]: unknown
}
content: Array<ToolTextContent | ToolFileContent>
outputPaths?: Array<string>
result?: unknown
provider: {
executed: boolean
@@ -3957,6 +3959,7 @@ export type SessionMessageToolStateCompleted = {
}
attachments?: Array<PromptFileAttachment>
content: Array<ToolTextContent | ToolFileContent>
outputPaths?: Array<string>
structured: {
[key: string]: unknown
}
@@ -4716,6 +4719,7 @@ export type EventSessionNextToolSuccess = {
[key: string]: unknown
}
content: Array<ToolTextContent | ToolFileContent>
outputPaths?: Array<string>
result?: unknown
provider: {
executed: boolean