@baleybots/core
Classes
- Baleybot
- BaleybotConditional
- BaleybotError
- BudgetExceededError
- Deterministic
- FileStorage
- FilterDroppedRowError
- GraphOutputDroppedError
- History
- Loop
- MemoryStorage
- ParallelMerge
- PipelineError
- PlanError
- ProviderError
- StreamingJsonParser
Interfaces
- AISDKErrorDiagnostics
- AudioOptions
- BaleybotConditionalConfig
- BaleybotConfig
- BaseSegment
- ChatCompletionParams
- ChatCompletionResult
- ChatMessage
- CommandAnalysisResult
- ConditionalResult
- ConditionalStep
- DefaultApiKeys
- DeriveUIMessagesOptions
- DoneSegment
- DSLBotState
- DSLPipelineData
DSLPipelineSegment- DSLPipelineState
- DSLStreamingState
- EnrichedAISDKError
- ErrorSegment
- GetMessagesForAPIOptions
- GraphStep
- HistoryStorage
- LiveSession
- LiveSessionConfig
- LoopConfig
- LoopContext
- LoopState
- LoopStep
- MapBotConfig
- MediaAudio
- MediaFile
- MediaFrame
- MediaImage
- MemoryBankLike
- MessageContentBlock
- ModelConfig
- ModelProvider
- NodeContext
- OutputConfig
- ParallelConfig
- ParallelMergeInput
- ParallelStep
- PipelineLoopConfig
- Plan
- PlanInput
- PredecessorOutputs
- Processable
- ProcessableOptions
- ProcessHooks
- ProcessOptions
- ProviderConfig
- ProviderRegistry
- ProviderRegistryEntry
- ReasoningSegment
- ReconnectConfig
- RecursiveLoopConfig
- RecursiveLoopStep
- RegisterProviderOptions
- Registry
- RetryConfig
- RetryResult
- RouteConfig
- RouteStep
- SanitizationResult
- SegmentGroup
- SequentialThinkingData
SequentialThinkingSegment- SpawnAgentData
SpawnAgentSegment- SpeechOptions
- StepTraceEntry
- StopConditionContext
- StoredHistoryV1
- StoredHistoryV2
- Stream
- StreamChunk
- StreamSegmentState
- StructuredOutputSegment
- Subscription
- TextSegment
- ThoughtItem
- TodoItem
- TokenHandlers
- ToolApprovalRequest
- ToolCall
- ToolCallSegment
- ToolDefinition
- ToolError
- ToolExecutionOptions
ToolLoopConfig- ToolSuccess
- TranscriptEvent
- TypedToolCallData
- UIChatMessage
- UnifiedMessageInput
- UserMessage
- UserSegment
- WebSocketFetchConfig
- WhenConfig
- ZodToolDefinition
Type Aliases
- AgentType
- BaleybotStreamEvent
- CallableDeterministic
- DoneEvent
- DoneReason
- EnsureSupported
- InferArrayItem
- InferBotOutput
- InferChainOutput
- InferInput
- InferOutput
- InferPipelineOutput
- InferSchemaOutput
- InferStepOutput
- InferToolParams
- InferToolResult
- LiveSessionState
- LoopCondition
- MessageRole
- NodeOutcome
- PipelineStep
- PipelineStructure
- PlanErrorKind
- ProviderName
- SkipReason
- StopCondition
- StoredMessage
- StreamingToolResult
- StreamingToolYield
- StreamOf
- StreamSegment
- SubscriptionCallback
- ToolApprovalResult
- ToolCallResults
- ToolCapability
- ToolFailMode
- ToolModelOutput
- ToolResult
- Tools
- ToolsFilter
- UserMessageEvent
V1StreamSegment- WaitAllResult
Variables
- Baleybots
- defaultStopCondition
- DELIMITERS
- graph
- helpers
- Output
- reduceStreamEvent
- todoListTool
- TOOL_CAPABILITIES
- validators
Functions
- aggregate
- allConditions
- analyzeCommand
- anthropic
- audio
- audioFromStream
- canRead
- canWrite
- clearDefaultApiKeys
- collectAISDKDiagnostics
- combine
- combineConditions
- createInitialState
- createProcessable
- createRegistry
- createSubscriptionFilter
- createTauriFetch
- createTodoListTool
- createTransformationState
- customCondition
- defineTool
- defineZodTool
- delay
- deriveAPIMessages
- deriveUIMessages
- detectInjectionAttempts
- deterministic
- emitTokenEvent
- enrichAISDKError
- ensureToolResultsExist
- escapeDelimiters
- escapeShellArg
- file
- filter
- filterByAgent
- filterByEnabledMap
- filterReadonlyTools
- filterToolsByGroup
- filterToolsByMode
- filterToolsWithReadCapability
- filterToolsWithWriteCapability
- filterWriteonlyTools
- finalizeSegments
- formatAISDKErrorDiagnostics
- formatDuration
- frames
- generateProcessableId
- getDefaultApiKey
- getDSLPipelineData
- getGroupText
- getMediaStream
- getProvider
- getReasonDisplay
- getSequentialThinkingData
- getSpawnAgentData
- getTextContent
- getToolCalls
- getToolCapability
- getToolData
- getToolFilterDescription
- groupByTurn
handleToolCalls- hasChildren
- hasToolResult
- image
- isAnyStreaming
- isBaleybot
- isBaleybotConfig
- isDoneEvent
- isDoneSegment
- isErrorReason
- isErrorSegment
- isLiveAudio
- isLiveVideo
- isMediaStream
- isModelConfig
- isMultimodal
- isNonRetryableError
isOutputConfig- isReadonlyTool
- isReasoningSegment
- isResourceExhausted
- isResourceExhaustedError
- isStaticAudio
- isStaticFrames
- isStructuredOutputSegment
- isSuccessReason
- isTextSegment
- isToolCallSegment
- isToolError
- isUserSegment
- isWriteonlyTool
- join
- listen
- logPromptSecurityWarnings
- logSecurityWarnings
- loop
- mapBot
- merge
- noToolCalls
- openai
- openrouter
- parallel
- parsePartialJson
- pipeline
- plan
- processable
- processor
- recursiveLoop
- registerProvider
- registerProviderEnvKey
- requiresAudioAnalysis
- requiresAudioTranscription
- requiresFileProcessing
- requiresVision
- resolveModel
- route
- sanitizePromptContent
- setDefaultApiKey
- setDefaultApiKeys
- speech
- splitTools
- step
- stepCountIs
- streamResponse
- text
- toAISDKOutput
- tool
- toolError
- toolResult
- totalToolCallsExceed
- typedToolCall
untilMessage- video
- websockets
- when
whileToolCalls- withGoal
- withGoalAll
- withRetry
- withSchema
- wrapGoal
- wrapInstructions
- wrapWithDelimiters
- xai
- zodToJsonSchema
References
BaleybotInternalConfig
Renames and re-exports BaleybotConfig
BaleybotPublicConfig
Renames and re-exports BaleybotConfig
BaleybotResult
Renames and re-exports InferSchemaOutput