feat(core): bound v2 tool output (#30999)
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user