Skip to Content

common

Module: @vibex/core/common

Common Types - Shared utility types

Interfaces

XError

View source

Common Types - Shared utility types

Properties:

NameTypeDescription
codestring
detailsunknown(optional)

StreamChunk

View source

Stream chunk for streaming responses

Properties:

NameTypeDescription
type"text" | "tool_call" | "tool_result" | "error" | "done"
contentstring(optional)
tool\{ name: string; args: unknown; result?: unknown; \}(optional)
errorXError(optional)

ModelConfig

View source

Model configuration

Properties:

NameTypeDescription
provider"openai" | "anthropic" | "deepseek" | "openrouter" | "local"
modelstring
temperaturenumber(optional)
maxOutputTokensnumber(optional)

StorageConfig

View source

Storage configuration

Properties:

NameTypeDescription
type"local" | "supabase"
basePathstring(optional)
supabaseUrlstring(optional)
supabaseKeystring(optional)

XConfig

View source

Main VibeX configuration

Properties:

NameTypeDescription
storageStorageConfig
modelModelConfig
streamingboolean(optional)
debugboolean(optional)