@baleybots/core
Classes
- Baleybot
- BaleybotError
- BudgetExceededError
- CloseFailedError
- Deterministic
- ExecutionContext
- ExecutionInterruptedError
- FileStorage
- FilterDroppedRowError
- GraphOutputDroppedError
- History
- InterruptSignal
- MemoryExecutionJournal
- MemoryStorage
- NotADecisionError
- NotStartedError
- OperationRegistry
- PipelineError
- PlanError
- ProviderError
- RequiredExecutionError
- StreamingJsonParser
Interfaces
- AddressFrame
- AISDKErrorDiagnostics
- ApprovalResponse
- AudioOptions
- BaleybotConfig
- BaleybotDefaults
- BaseSegment
- BatchConfig
ChatCompletionParamsChatCompletionResult- ChatMessage
- CommandAnalysisResult
- CompiledGraph
- ConsumeBotRouteHandlers
- ConsumeBotRouteResult
- DecideOptions
- DecisionDefaults
- DecisionSegment
- DeclaredGroup
- DefaultApiKeys
- DeriveUIMessagesOptions
- DoneSegment
- DSLBotState
- DSLPipelineData
- DSLPipelineState
- DSLStreamingState
- EnrichedAISDKError
- ErrorSegment
- ExecutionIdentity
- ExecutionJournal
- Family
- FamilyOptions
- FlatHistoryMessageRow
- GenerationDefaults
- GetMessagesForAPIOptions
- GraphDefinition
- GraphNodeOptions
- GraphNodeRecord
- GraphProcessable
- HistoryStorage
- InterruptContext
- Interruption
- InterruptRequest
- JournalSnapshot
- KvLikeHistoryStorageOptions
- LanguageModelLike
- LiveSession
- LiveSessionConfig
- LoopConfig
- LoopContext
- LoopState
- MapBotConfig
- MediaAudio
- MediaFile
- MediaFrame
- MediaImage
- MemberIdentity
- MemoryBankLike
- MessageContentBlock
- ModelConfig
- ModelInfo
- ModelProvider
- NodeContext
- OperationReference
- OutputConfig
- ParallelConfig
- ParallelMergeInput
- Partitioned
- PipelineLoopConfig
- Plan
- PlanInput
- Processable
- ProcessableChild
- ProcessableOptions
- ProcessHooks
- ProcessOptions
- PromptCacheOptions
- ProviderConfig
- ReasoningSegment
- ReconnectConfig
- RecursiveLoopConfig
- Registry
- ResolvedPromptCache
- RetryConfig
- RetryResult
- RouteConfig
- SanitizationResult
- SegmentGroup
- SequentialThinkingData
- Skill
- SkillActivation
- SkillFromMarkdownOptions
- SkillRuntime
- SkillSegment
- SpawnAgentData
- SpeechOptions
- StepTraceEntry
- StoredHistoryV1
- StoredHistoryV2
- Stream
- StreamChunk
- StreamSegmentState
- StructuredOutputSegment
- SubagentToolOptions
- SubscribeAllCallbacks
- Subscription
- TextSegment
- ThoughtItem
- TodoItem
- TokenHandlers
- ToolApprovalRequest
- ToolCall
- ToolCallSegment
- ToolDefinition
- ToolError
- ToolExecutionOptions
- ToolSuccess
- TranscriptEvent
- TypedToolCallData
- UIChatMessage
- UnifiedMessageInput
- UserMessage
- UserSegment
- WebSocketFetchConfig
- WhenConfig
- ZodToolDefinition
Type Aliases
- AgentType
- AnthropicCacheTtl
BaleybotBatchConfigBaleybotConditionalConfig- BaleybotFamily
- BaleybotStreamEvent
- BatchItemResult
- BotRouteFrame
- CacheControlOption
- CallableDeterministic
- ConditionalConfig
- DecisionAnswer
- DefaultsPatch
- DoneEvent
- DoneReason
- EnsureSupported
- ExecutionAddress
- GraphNodeDefinition
- InferArrayItem
- InferBotOutput
- InferChainOutput
- InferInput
- InferInterruptAnswer
- InferOutput
- InferPipelineOutput
- InferSchemaOutput
- InferStepOutput
- InferToolParams
- InferToolResult
- InputReference
- InterruptAnswer
- InterruptFileAnswer
- InterruptKind
- InterruptResponse
- InterruptSpec
- JournalValue
- LiveSessionState
- LoopCondition
- MatchedToolResult
- MessageRole
- ModelSelection
- NodeOutcome
- OnInterruptRequired
- PipelineStep
- PipelineStructure
- PlanErrorKind
- ProcessableEdge
- PromptCacheScope
- ProviderName
- RunOutcome
- SkipReason
- StepOptions
- StopCondition
- StoredMessage
- StreamingToolResult
- StreamingToolYield
- StreamOf
- StreamSegment
- SubscriptionCallback
- ToolApprovalResult
- ToolCallResults
- ToolCapability
- ToolCommitBundle
- ToolCommitOptions
- ToolFailMode
- ToolModelOutput
- ToolResult
- Tools
- ToolsFilter
- UserMessageEvent
- WaitAllResult
Variables
- anthropic
- ANTHROPIC_MAX_CACHE_BREAKPOINTS
- Baleybots
- decision
- DEFAULT_STOP_STEP_COUNT
- defaultStopCondition
- DELIMITERS
- graph
- graphDefinitionSchema
- helpers
- inputReferenceSchema
- InterruptSpecSchema
- ollama
- openai
- openrouter
- Output
- reduceStreamEvent
- sakana
- SCORE_LEVELS
- stepCountIs
- todoListTool
- TOOL_CAPABILITIES
- validators
- xai
Functions
- addressOf
- aggregate
- allConditions
- analyzeCommand
- anthropicCacheDirective
- applyLastToolCacheControl
- applyMessageCacheControl
- askHuman
- audio
- audioFromStream
- baleybotFamily
- batch
- budgetLastMessages
- canRead
- canWrite
- clearDefaultApiKeys
- closeAll
- coalesceCacheControl
- collectAISDKDiagnostics
- combine
- combineConditions
- conditional
- consumeBotRouteStream
- countContentCacheBreakpoints
- countToolCacheBreakpoints
- createHistoryStorage
- createInitialState
- createProcessable
- createRegistry
- createSkillRuntime
- createSubscriptionFilter
createTauriFetch- createTodoListTool
- customCondition
- decide
- decodeBotRouteNdjson
- decodeBotRouteSse
- decodeJournalValue
- defaultSubagentMapInput
- defineZodTool
- delay
- deriveAPIMessages
- deriveUIMessages
- detectInjectionAttempts
- deterministic
- devRegisterGroup
- digestValue
- emitTokenEvent
- encodeBotRouteNdjson
- encodeJournalValue
- enrichAISDKError
- ensureToolResultsExist
- escapeDelimiters
- escapeShellArg
- executionAddressKey
- file
- filter
- filterByAgent
- filterByEnabledMap
- filterReadonlyTools
- filterToolsByGroup
- filterToolsByMode
- filterToolsWithReadCapability
- filterToolsWithWriteCapability
- filterWriteonlyTools
- finalizeSegments
- formatAISDKErrorDiagnostics
- formatAmbiguousProviderError
- formatDuration
- forwardCacheTtl
- frames
- generateProcessableId
- getDefaultApiKey
- getDefaults
- getDSLPipelineData
- getGroupText
- getInterruptContext
- getMediaStream
- getReasonDisplay
- getSequentialThinkingData
- getSpawnAgentData
- getTextContent
- getToolCalls
- getToolCapability
- getToolData
- getToolFilterDescription
- groupByTurn
- hasChildren
- hasToolCall
- hasToolResult
- image
- isAISDKLanguageModel
- isAnyStreaming
- isBaleybot
- isBaleybotConfig
- isBrandedTool
- isDecisionSegment
- isDoneEvent
- isDoneSegment
- isErrorReason
- isErrorSegment
- isInterruptSignal
- isLiveAudio
- isLiveVideo
- isLoopFinished
- isMediaStream
- isModelConfig
- isMultimodal
- isNonRetryableError
- isReadonlyTool
- isReasoningSegment
- isResourceExhausted
- isResourceExhaustedError
- isSkillSegment
- isStaticAudio
- isStaticFrames
- isStructuredOutputSegment
- isSuccessReason
- isTextSegment
- isToolCallSegment
- isToolError
- isUserSegment
- isWriteonlyTool
- join
- kvLikeHistoryStorage
- labelOf
- listen
- listModels
- logPromptSecurityWarnings
- logSecurityWarnings
- loop
- loopWithState
- mapBot
- matchesAnyKeyword
- matchesChild
- memberIdOf
- merge
- mergeDefaults
- messageHasCacheStamp
- migrateFlatMessagesToHistory
- noToolCalls
- parallel
- parallelMerge
- parseBotRouteFrame
- parseInterruptSpec
- parsePartialJson
- partition
- pipeline
- plan
- processableFamily
- projectSegmentsToFlatMessages
- recursiveLoop
- requiresAudioAnalysis
- requiresAudioTranscription
- requiresFileProcessing
- requiresVision
- resetDefaults
- resolveDefaults
- resolveModel
- resolvePromptCache
- rethrowExecutionControl
- retry
- route
- runChild
- runParallel
- runParallelNamed
- runWithInterruptContext
- runWithInterruptContextAsync
- sanitizePromptContent
- setDefaultApiKey
- setDefaultApiKeys
- setDefaults
- skill
- skillFromMarkdown
- speech
- splitTools
- stableMemberKey
- step
- subagentTool
- text
- toAISDKOutput
- tool
- toolCommit
- toolError
- toolResult
- toolResultFrom
- totalToolCallsExceed
- typedToolCall
- validateGraphDefinition
- validateInterruptAnswer
- video
- websockets
- when
- withGoal
- withGoalAll
- withRetry
- withSchema
- wrapGoal
- wrapInstructions
- wrapWithDelimiters
- zodToJsonSchema
References
BaleybotInternalConfig
Renames and re-exports BaleybotConfig
BaleybotPublicConfig
Renames and re-exports BaleybotConfig
BaleybotResult
Renames and re-exports InferSchemaOutput