common
Module: @vibex/core/common
Common Types - Shared utility types
Interfaces
XError
View source
Common Types - Shared utility types
Properties:
| Name | Type | Description |
|---|---|---|
code | string | |
details | unknown | (optional) |
StreamChunk
View source
Stream chunk for streaming responses
Properties:
| Name | Type | Description |
|---|---|---|
type | "text" | "tool_call" | "tool_result" | "error" | "done" | |
content | string | (optional) |
tool | \{ name: string; args: unknown; result?: unknown; \} | (optional) |
error | XError | (optional) |
ModelConfig
View source
Model configuration
Properties:
| Name | Type | Description |
|---|---|---|
provider | "openai" | "anthropic" | "deepseek" | "openrouter" | "local" | |
model | string | |
temperature | number | (optional) |
maxOutputTokens | number | (optional) |
StorageConfig
View source
Storage configuration
Properties:
| Name | Type | Description |
|---|---|---|
type | "local" | "supabase" | |
basePath | string | (optional) |
supabaseUrl | string | (optional) |
supabaseKey | string | (optional) |
XConfig
View source
Main VibeX configuration
Properties:
| Name | Type | Description |
|---|---|---|
storage | StorageConfig | |
model | ModelConfig | |
streaming | boolean | (optional) |
debug | boolean | (optional) |