chore: generate
This commit is contained in:
parent
9583e08be4
commit
e4d3b81b0e
11 changed files with 182 additions and 104 deletions
|
|
@ -77,6 +77,7 @@ export type Event =
|
|||
| EventSessionNextCompactionStarted
|
||||
| EventSessionNextCompactionDelta
|
||||
| EventSessionNextCompactionEnded
|
||||
| EventPluginAdded
|
||||
| EventCatalogModelUpdated
|
||||
| EventModelsDevRefreshed
|
||||
| EventAccountAdded
|
||||
|
|
@ -878,6 +879,7 @@ export type GlobalEvent = {
|
|||
| EventSessionNextCompactionStarted
|
||||
| EventSessionNextCompactionDelta
|
||||
| EventSessionNextCompactionEnded
|
||||
| EventPluginAdded
|
||||
| EventCatalogModelUpdated
|
||||
| EventModelsDevRefreshed
|
||||
| EventAccountAdded
|
||||
|
|
@ -1316,6 +1318,7 @@ export type Config = {
|
|||
primary_tools?: Array<string>
|
||||
continue_loop_on_deny?: boolean
|
||||
mcp_timeout?: number
|
||||
policies?: Array<ConfigV2ExperimentalPolicy>
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -2137,7 +2140,7 @@ export type SyncEventSessionNextModelSwitched = {
|
|||
model: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2209,7 +2212,7 @@ export type SyncEventSessionNextStepStarted = {
|
|||
model: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
snapshot?: string
|
||||
}
|
||||
|
|
@ -2890,7 +2893,7 @@ export type EventSessionNextModelSwitched = {
|
|||
model: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2978,7 +2981,7 @@ export type EventSessionNextStepStarted = {
|
|||
model: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
snapshot?: string
|
||||
}
|
||||
|
|
@ -3252,6 +3255,14 @@ export type EventSessionNextCompactionEnded = {
|
|||
}
|
||||
}
|
||||
|
||||
export type EventPluginAdded = {
|
||||
id: string
|
||||
type: "plugin.added"
|
||||
properties: {
|
||||
id: string
|
||||
}
|
||||
}
|
||||
|
||||
export type ModelV2Info = {
|
||||
id: string
|
||||
apiID: string
|
||||
|
|
@ -3416,6 +3427,14 @@ export type EventAccountSwitched = {
|
|||
}
|
||||
}
|
||||
|
||||
export type PolicyEffect = "allow" | "deny"
|
||||
|
||||
export type ConfigV2ExperimentalPolicy = {
|
||||
action: "provider.use"
|
||||
effect: PolicyEffect
|
||||
resource: string
|
||||
}
|
||||
|
||||
export type SessionInfo = {
|
||||
id: string
|
||||
parentID?: string
|
||||
|
|
@ -3426,7 +3445,7 @@ export type SessionInfo = {
|
|||
model?: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
cost: number
|
||||
tokens: {
|
||||
|
|
@ -3472,7 +3491,7 @@ export type SessionMessageModelSwitched = {
|
|||
model: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
}
|
||||
|
||||
|
|
@ -3607,7 +3626,7 @@ export type SessionMessageAssistant = {
|
|||
model: {
|
||||
id: string
|
||||
providerID: string
|
||||
variant: string
|
||||
variant?: string
|
||||
}
|
||||
content: Array<SessionMessageAssistantText | SessionMessageAssistantReasoning | SessionMessageAssistantTool>
|
||||
snapshot?: {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue