chore: generate
This commit is contained in:
@@ -129,5 +129,4 @@ describe("EventV2", () => {
|
|||||||
expect(received).toEqual([Message.type, "stream"])
|
expect(received).toEqual([Message.type, "stream"])
|
||||||
}),
|
}),
|
||||||
)
|
)
|
||||||
|
|
||||||
})
|
})
|
||||||
|
|||||||
@@ -21,7 +21,6 @@ export type Event =
|
|||||||
| EventTodoUpdated
|
| EventTodoUpdated
|
||||||
| EventSessionStatus
|
| EventSessionStatus
|
||||||
| EventSessionIdle
|
| EventSessionIdle
|
||||||
| EventSessionCompacted
|
|
||||||
| EventTuiPromptAppend
|
| EventTuiPromptAppend
|
||||||
| EventTuiCommandExecute
|
| EventTuiCommandExecute
|
||||||
| EventTuiToastShow1
|
| EventTuiToastShow1
|
||||||
@@ -30,6 +29,7 @@ export type Event =
|
|||||||
| EventMcpBrowserOpenFailed
|
| EventMcpBrowserOpenFailed
|
||||||
| EventCommandExecuted
|
| EventCommandExecuted
|
||||||
| EventProjectUpdated
|
| EventProjectUpdated
|
||||||
|
| EventSessionCompacted
|
||||||
| EventVcsBranchUpdated
|
| EventVcsBranchUpdated
|
||||||
| EventWorkspaceReady
|
| EventWorkspaceReady
|
||||||
| EventWorkspaceFailed
|
| EventWorkspaceFailed
|
||||||
@@ -42,13 +42,9 @@ export type Event =
|
|||||||
| EventPtyDeleted
|
| EventPtyDeleted
|
||||||
| EventInstallationUpdated
|
| EventInstallationUpdated
|
||||||
| EventInstallationUpdateAvailable
|
| EventInstallationUpdateAvailable
|
||||||
| EventMessageUpdated
|
| EventServerConnected
|
||||||
| EventMessageRemoved
|
| EventGlobalDisposed
|
||||||
| EventMessagePartUpdated
|
| EventCatalogModelUpdated
|
||||||
| EventMessagePartRemoved
|
|
||||||
| EventSessionCreated
|
|
||||||
| EventSessionUpdated
|
|
||||||
| EventSessionDeleted
|
|
||||||
| EventSessionNextAgentSwitched
|
| EventSessionNextAgentSwitched
|
||||||
| EventSessionNextModelSwitched
|
| EventSessionNextModelSwitched
|
||||||
| EventSessionNextPrompted
|
| EventSessionNextPrompted
|
||||||
@@ -61,23 +57,20 @@ export type Event =
|
|||||||
| EventSessionNextTextStarted
|
| EventSessionNextTextStarted
|
||||||
| EventSessionNextTextDelta
|
| EventSessionNextTextDelta
|
||||||
| EventSessionNextTextEnded
|
| EventSessionNextTextEnded
|
||||||
|
| EventSessionNextReasoningStarted
|
||||||
|
| EventSessionNextReasoningDelta
|
||||||
|
| EventSessionNextReasoningEnded
|
||||||
| EventSessionNextToolInputStarted
|
| EventSessionNextToolInputStarted
|
||||||
| EventSessionNextToolInputDelta
|
| EventSessionNextToolInputDelta
|
||||||
| EventSessionNextToolInputEnded
|
| EventSessionNextToolInputEnded
|
||||||
| EventSessionNextToolCalled
|
| EventSessionNextToolCalled
|
||||||
|
| EventSessionNextToolProgress
|
||||||
| EventSessionNextToolSuccess
|
| EventSessionNextToolSuccess
|
||||||
| EventSessionNextToolFailed
|
| EventSessionNextToolFailed
|
||||||
| EventSessionNextReasoningStarted
|
|
||||||
| EventSessionNextReasoningDelta
|
|
||||||
| EventSessionNextReasoningEnded
|
|
||||||
| EventSessionNextRetried
|
| EventSessionNextRetried
|
||||||
| EventSessionNextCompactionStarted
|
| EventSessionNextCompactionStarted
|
||||||
| EventSessionNextCompactionDelta
|
| EventSessionNextCompactionDelta
|
||||||
| EventSessionNextCompactionEnded
|
| EventSessionNextCompactionEnded
|
||||||
| EventServerConnected
|
|
||||||
| EventGlobalDisposed
|
|
||||||
| EventSessionNextToolProgress
|
|
||||||
| EventCatalogModelUpdated
|
|
||||||
|
|
||||||
export type OAuth = {
|
export type OAuth = {
|
||||||
type: "oauth"
|
type: "oauth"
|
||||||
@@ -370,6 +363,13 @@ export type Pty = {
|
|||||||
pid: number
|
pid: number
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type Prompt = {
|
||||||
|
text: string
|
||||||
|
files?: Array<PromptFileAttachment>
|
||||||
|
agents?: Array<PromptAgentAttachment>
|
||||||
|
references?: Array<PromptReferenceAttachment>
|
||||||
|
}
|
||||||
|
|
||||||
export type OutputFormatText = {
|
export type OutputFormatText = {
|
||||||
type: "text"
|
type: "text"
|
||||||
}
|
}
|
||||||
@@ -778,13 +778,6 @@ export type Session = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type Prompt = {
|
|
||||||
text: string
|
|
||||||
files?: Array<PromptFileAttachment>
|
|
||||||
agents?: Array<PromptAgentAttachment>
|
|
||||||
references?: Array<PromptReferenceAttachment>
|
|
||||||
}
|
|
||||||
|
|
||||||
export type GlobalEvent = {
|
export type GlobalEvent = {
|
||||||
directory: string
|
directory: string
|
||||||
project?: string
|
project?: string
|
||||||
@@ -806,7 +799,6 @@ export type GlobalEvent = {
|
|||||||
| EventTodoUpdated
|
| EventTodoUpdated
|
||||||
| EventSessionStatus
|
| EventSessionStatus
|
||||||
| EventSessionIdle
|
| EventSessionIdle
|
||||||
| EventSessionCompacted
|
|
||||||
| EventTuiPromptAppend
|
| EventTuiPromptAppend
|
||||||
| EventTuiCommandExecute
|
| EventTuiCommandExecute
|
||||||
| EventTuiToastShow
|
| EventTuiToastShow
|
||||||
@@ -815,6 +807,7 @@ export type GlobalEvent = {
|
|||||||
| EventMcpBrowserOpenFailed
|
| EventMcpBrowserOpenFailed
|
||||||
| EventCommandExecuted
|
| EventCommandExecuted
|
||||||
| EventProjectUpdated
|
| EventProjectUpdated
|
||||||
|
| EventSessionCompacted
|
||||||
| EventVcsBranchUpdated
|
| EventVcsBranchUpdated
|
||||||
| EventWorkspaceReady
|
| EventWorkspaceReady
|
||||||
| EventWorkspaceFailed
|
| EventWorkspaceFailed
|
||||||
@@ -827,13 +820,9 @@ export type GlobalEvent = {
|
|||||||
| EventPtyDeleted
|
| EventPtyDeleted
|
||||||
| EventInstallationUpdated
|
| EventInstallationUpdated
|
||||||
| EventInstallationUpdateAvailable
|
| EventInstallationUpdateAvailable
|
||||||
| EventMessageUpdated
|
| EventServerConnected
|
||||||
| EventMessageRemoved
|
| EventGlobalDisposed
|
||||||
| EventMessagePartUpdated
|
| EventCatalogModelUpdated
|
||||||
| EventMessagePartRemoved
|
|
||||||
| EventSessionCreated
|
|
||||||
| EventSessionUpdated
|
|
||||||
| EventSessionDeleted
|
|
||||||
| EventSessionNextAgentSwitched
|
| EventSessionNextAgentSwitched
|
||||||
| EventSessionNextModelSwitched
|
| EventSessionNextModelSwitched
|
||||||
| EventSessionNextPrompted
|
| EventSessionNextPrompted
|
||||||
@@ -846,23 +835,20 @@ export type GlobalEvent = {
|
|||||||
| EventSessionNextTextStarted
|
| EventSessionNextTextStarted
|
||||||
| EventSessionNextTextDelta
|
| EventSessionNextTextDelta
|
||||||
| EventSessionNextTextEnded
|
| EventSessionNextTextEnded
|
||||||
|
| EventSessionNextReasoningStarted
|
||||||
|
| EventSessionNextReasoningDelta
|
||||||
|
| EventSessionNextReasoningEnded
|
||||||
| EventSessionNextToolInputStarted
|
| EventSessionNextToolInputStarted
|
||||||
| EventSessionNextToolInputDelta
|
| EventSessionNextToolInputDelta
|
||||||
| EventSessionNextToolInputEnded
|
| EventSessionNextToolInputEnded
|
||||||
| EventSessionNextToolCalled
|
| EventSessionNextToolCalled
|
||||||
|
| EventSessionNextToolProgress
|
||||||
| EventSessionNextToolSuccess
|
| EventSessionNextToolSuccess
|
||||||
| EventSessionNextToolFailed
|
| EventSessionNextToolFailed
|
||||||
| EventSessionNextReasoningStarted
|
|
||||||
| EventSessionNextReasoningDelta
|
|
||||||
| EventSessionNextReasoningEnded
|
|
||||||
| EventSessionNextRetried
|
| EventSessionNextRetried
|
||||||
| EventSessionNextCompactionStarted
|
| EventSessionNextCompactionStarted
|
||||||
| EventSessionNextCompactionDelta
|
| EventSessionNextCompactionDelta
|
||||||
| EventSessionNextCompactionEnded
|
| EventSessionNextCompactionEnded
|
||||||
| EventServerConnected
|
|
||||||
| EventGlobalDisposed
|
|
||||||
| EventSessionNextToolProgress
|
|
||||||
| EventCatalogModelUpdated
|
|
||||||
| SyncEventMessageUpdated
|
| SyncEventMessageUpdated
|
||||||
| SyncEventMessageRemoved
|
| SyncEventMessageRemoved
|
||||||
| SyncEventMessagePartUpdated
|
| SyncEventMessagePartUpdated
|
||||||
@@ -2542,14 +2528,6 @@ export type EventSessionIdle = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventSessionCompacted = {
|
|
||||||
id: string
|
|
||||||
type: "session.compacted"
|
|
||||||
properties: {
|
|
||||||
sessionID: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventMcpToolsChanged = {
|
export type EventMcpToolsChanged = {
|
||||||
id: string
|
id: string
|
||||||
type: "mcp.tools.changed"
|
type: "mcp.tools.changed"
|
||||||
@@ -2584,6 +2562,14 @@ export type EventProjectUpdated = {
|
|||||||
properties: Project
|
properties: Project
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventSessionCompacted = {
|
||||||
|
id: string
|
||||||
|
type: "session.compacted"
|
||||||
|
properties: {
|
||||||
|
sessionID: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventVcsBranchUpdated = {
|
export type EventVcsBranchUpdated = {
|
||||||
id: string
|
id: string
|
||||||
type: "vcs.branch.updated"
|
type: "vcs.branch.updated"
|
||||||
@@ -2683,68 +2669,125 @@ export type EventInstallationUpdateAvailable = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventMessageUpdated = {
|
export type EventServerConnected = {
|
||||||
id: string
|
id: string
|
||||||
type: "message.updated"
|
type: "server.connected"
|
||||||
properties: {
|
properties: {
|
||||||
sessionID: string
|
[key: string]: unknown
|
||||||
info: Message
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventMessageRemoved = {
|
export type EventGlobalDisposed = {
|
||||||
id: string
|
id: string
|
||||||
type: "message.removed"
|
type: "global.disposed"
|
||||||
properties: {
|
properties: {
|
||||||
sessionID: string
|
[key: string]: unknown
|
||||||
messageID: string
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventMessagePartUpdated = {
|
export type ModelV2Info = {
|
||||||
id: string
|
id: string
|
||||||
type: "message.part.updated"
|
apiID: string
|
||||||
properties: {
|
providerID: string
|
||||||
sessionID: string
|
family?: string
|
||||||
part: Part
|
name: string
|
||||||
time: number
|
endpoint:
|
||||||
|
| {
|
||||||
|
type: "unknown"
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
type: "openai/responses"
|
||||||
|
url: string
|
||||||
|
websocket?: boolean
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
type: "openai/completions"
|
||||||
|
url: string
|
||||||
|
reasoning?:
|
||||||
|
| {
|
||||||
|
type: "reasoning_content"
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
type: "reasoning_details"
|
||||||
|
}
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
type: "anthropic/messages"
|
||||||
|
url: string
|
||||||
|
}
|
||||||
|
| {
|
||||||
|
type: "aisdk"
|
||||||
|
package: string
|
||||||
|
url?: string
|
||||||
|
}
|
||||||
|
capabilities: {
|
||||||
|
tools: boolean
|
||||||
|
input: Array<string>
|
||||||
|
output: Array<string>
|
||||||
|
}
|
||||||
|
options: {
|
||||||
|
headers: {
|
||||||
|
[key: string]: string
|
||||||
|
}
|
||||||
|
body: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
aisdk: {
|
||||||
|
provider: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
request: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
variant?: string
|
||||||
|
}
|
||||||
|
variants: Array<{
|
||||||
|
id: string
|
||||||
|
headers: {
|
||||||
|
[key: string]: string
|
||||||
|
}
|
||||||
|
body: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
aisdk: {
|
||||||
|
provider: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
request: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}>
|
||||||
|
time: {
|
||||||
|
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN"
|
||||||
|
}
|
||||||
|
cost: Array<{
|
||||||
|
tier?: {
|
||||||
|
type: "context"
|
||||||
|
size: number
|
||||||
|
}
|
||||||
|
input: number
|
||||||
|
output: number
|
||||||
|
cache: {
|
||||||
|
read: number
|
||||||
|
write: number
|
||||||
|
}
|
||||||
|
}>
|
||||||
|
status: "alpha" | "beta" | "deprecated" | "active"
|
||||||
|
enabled: boolean
|
||||||
|
limit: {
|
||||||
|
context: number
|
||||||
|
input?: number
|
||||||
|
output: number
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventMessagePartRemoved = {
|
export type EventCatalogModelUpdated = {
|
||||||
id: string
|
id: string
|
||||||
type: "message.part.removed"
|
type: "catalog.model.updated"
|
||||||
properties: {
|
properties: {
|
||||||
sessionID: string
|
model: ModelV2Info
|
||||||
messageID: string
|
|
||||||
partID: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventSessionCreated = {
|
|
||||||
id: string
|
|
||||||
type: "session.created"
|
|
||||||
properties: {
|
|
||||||
sessionID: string
|
|
||||||
info: Session
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventSessionUpdated = {
|
|
||||||
id: string
|
|
||||||
type: "session.updated"
|
|
||||||
properties: {
|
|
||||||
sessionID: string
|
|
||||||
info: Session
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventSessionDeleted = {
|
|
||||||
id: string
|
|
||||||
type: "session.deleted"
|
|
||||||
properties: {
|
|
||||||
sessionID: string
|
|
||||||
info: Session
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -2926,6 +2969,38 @@ export type EventSessionNextTextEnded = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventSessionNextReasoningStarted = {
|
||||||
|
id: string
|
||||||
|
type: "session.next.reasoning.started"
|
||||||
|
properties: {
|
||||||
|
timestamp: number
|
||||||
|
sessionID: string
|
||||||
|
reasoningID: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventSessionNextReasoningDelta = {
|
||||||
|
id: string
|
||||||
|
type: "session.next.reasoning.delta"
|
||||||
|
properties: {
|
||||||
|
timestamp: number
|
||||||
|
sessionID: string
|
||||||
|
reasoningID: string
|
||||||
|
delta: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
export type EventSessionNextReasoningEnded = {
|
||||||
|
id: string
|
||||||
|
type: "session.next.reasoning.ended"
|
||||||
|
properties: {
|
||||||
|
timestamp: number
|
||||||
|
sessionID: string
|
||||||
|
reasoningID: string
|
||||||
|
text: string
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventSessionNextToolInputStarted = {
|
export type EventSessionNextToolInputStarted = {
|
||||||
id: string
|
id: string
|
||||||
type: "session.next.tool.input.started"
|
type: "session.next.tool.input.started"
|
||||||
@@ -2991,6 +3066,20 @@ export type ToolFileContent = {
|
|||||||
name?: string
|
name?: string
|
||||||
}
|
}
|
||||||
|
|
||||||
|
export type EventSessionNextToolProgress = {
|
||||||
|
id: string
|
||||||
|
type: "session.next.tool.progress"
|
||||||
|
properties: {
|
||||||
|
timestamp: number
|
||||||
|
sessionID: string
|
||||||
|
callID: string
|
||||||
|
structured: {
|
||||||
|
[key: string]: unknown
|
||||||
|
}
|
||||||
|
content: Array<ToolTextContent | ToolFileContent>
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
export type EventSessionNextToolSuccess = {
|
export type EventSessionNextToolSuccess = {
|
||||||
id: string
|
id: string
|
||||||
type: "session.next.tool.success"
|
type: "session.next.tool.success"
|
||||||
@@ -3028,38 +3117,6 @@ export type EventSessionNextToolFailed = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventSessionNextReasoningStarted = {
|
|
||||||
id: string
|
|
||||||
type: "session.next.reasoning.started"
|
|
||||||
properties: {
|
|
||||||
timestamp: number
|
|
||||||
sessionID: string
|
|
||||||
reasoningID: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventSessionNextReasoningDelta = {
|
|
||||||
id: string
|
|
||||||
type: "session.next.reasoning.delta"
|
|
||||||
properties: {
|
|
||||||
timestamp: number
|
|
||||||
sessionID: string
|
|
||||||
reasoningID: string
|
|
||||||
delta: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventSessionNextReasoningEnded = {
|
|
||||||
id: string
|
|
||||||
type: "session.next.reasoning.ended"
|
|
||||||
properties: {
|
|
||||||
timestamp: number
|
|
||||||
sessionID: string
|
|
||||||
reasoningID: string
|
|
||||||
text: string
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type SessionNextRetryError = {
|
export type SessionNextRetryError = {
|
||||||
message: string
|
message: string
|
||||||
statusCode?: number
|
statusCode?: number
|
||||||
@@ -3115,142 +3172,6 @@ export type EventSessionNextCompactionEnded = {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
export type EventServerConnected = {
|
|
||||||
id: string
|
|
||||||
type: "server.connected"
|
|
||||||
properties: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventGlobalDisposed = {
|
|
||||||
id: string
|
|
||||||
type: "global.disposed"
|
|
||||||
properties: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventSessionNextToolProgress = {
|
|
||||||
id: string
|
|
||||||
type: "session.next.tool.progress"
|
|
||||||
properties: {
|
|
||||||
timestamp: number
|
|
||||||
sessionID: string
|
|
||||||
callID: string
|
|
||||||
structured: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
content: Array<ToolTextContent | ToolFileContent>
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type ModelV2Info = {
|
|
||||||
id: string
|
|
||||||
apiID: string
|
|
||||||
providerID: string
|
|
||||||
family?: string
|
|
||||||
name: string
|
|
||||||
endpoint:
|
|
||||||
| {
|
|
||||||
type: "unknown"
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "openai/responses"
|
|
||||||
url: string
|
|
||||||
websocket?: boolean
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "openai/completions"
|
|
||||||
url: string
|
|
||||||
reasoning?:
|
|
||||||
| {
|
|
||||||
type: "reasoning_content"
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "reasoning_details"
|
|
||||||
}
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "anthropic/messages"
|
|
||||||
url: string
|
|
||||||
}
|
|
||||||
| {
|
|
||||||
type: "aisdk"
|
|
||||||
package: string
|
|
||||||
url?: string
|
|
||||||
}
|
|
||||||
capabilities: {
|
|
||||||
tools: boolean
|
|
||||||
input: Array<string>
|
|
||||||
output: Array<string>
|
|
||||||
}
|
|
||||||
options: {
|
|
||||||
headers: {
|
|
||||||
[key: string]: string
|
|
||||||
}
|
|
||||||
body: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
aisdk: {
|
|
||||||
provider: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
request: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
variant?: string
|
|
||||||
}
|
|
||||||
variants: Array<{
|
|
||||||
id: string
|
|
||||||
headers: {
|
|
||||||
[key: string]: string
|
|
||||||
}
|
|
||||||
body: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
aisdk: {
|
|
||||||
provider: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
request: {
|
|
||||||
[key: string]: unknown
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}>
|
|
||||||
time: {
|
|
||||||
released: number | "NaN" | "Infinity" | "-Infinity" | "Infinity" | "-Infinity" | "NaN"
|
|
||||||
}
|
|
||||||
cost: Array<{
|
|
||||||
tier?: {
|
|
||||||
type: "context"
|
|
||||||
size: number
|
|
||||||
}
|
|
||||||
input: number
|
|
||||||
output: number
|
|
||||||
cache: {
|
|
||||||
read: number
|
|
||||||
write: number
|
|
||||||
}
|
|
||||||
}>
|
|
||||||
status: "alpha" | "beta" | "deprecated" | "active"
|
|
||||||
enabled: boolean
|
|
||||||
limit: {
|
|
||||||
context: number
|
|
||||||
input?: number
|
|
||||||
output: number
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type EventCatalogModelUpdated = {
|
|
||||||
id: string
|
|
||||||
type: "catalog.model.updated"
|
|
||||||
properties: {
|
|
||||||
model: ModelV2Info
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
export type SessionInfo = {
|
export type SessionInfo = {
|
||||||
id: string
|
id: string
|
||||||
parentID?: string
|
parentID?: string
|
||||||
|
|||||||
+2071
-588
File diff suppressed because it is too large
Load Diff
Reference in New Issue
Block a user