@baleybots/core
Classes
- Baleybot
- BaleybotError
- BudgetExceededError
- CloseFailedError
- Deterministic
- ExecutionCancelledError
- ExecutionContext
- ExecutionInterruptedError
- ExecutionStoppedError
- ExecutionYieldedError
- FileStorage
- FilterDroppedRowError
- GraphOutputDroppedError
- History
- IncompatibleDefinitionError
- InterruptSignal
- JournalConflictError
- MemoryExecutionJournal
- MemoryRunIndex
- MemoryStorage
- NotADecisionError
- NotStartedError
- OperationRegistry
- OutputValidationError
- PipelineError
- PlanError
- ProviderBatchError
- ProviderError
- ReportLimitError
- ReportNotChartableError
- ReportValidationError
- RequiredExecutionError
- RunRequestError
- StreamingJsonParser
- UnknownRunError
Interfaces
- AddressFrame
- AISDKErrorDiagnostics
- ApprovalResponse
- AudioOptions
- BaleybotCallOptions
- BaleybotConfig
- BaleybotDefaults
- BaseSegment
- BatchConfig
- CanonicalJsonOptions
- ChartReportOptions
- ChatMessage
- CommandAnalysisResult
- CompactionInput
- CompiledGraph
- CompletionContract
- CompletionVerdict
- ConsumeBotRouteHandlers
- ConsumeBotRouteResult
- CsvReportOptions
- DecideOptions
- DecisionDefaults
- DecisionSegment
- DeclaredGroup
- DefaultApiKeys
- DeriveUIMessagesOptions
- DoneSegment
- DSLBotState
- DSLPipelineData
- DSLPipelineState
- DSLStreamingState
- DurableScopeOptions
- EffectAdapter
- EffectSuspension
- EnrichedAISDKError
- ErrorSegment
- ExecutionCapabilities
- ExecutionDefinition
- ExecutionIdentity
- ExecutionIdentityParts
- ExecutionJournal
- ExecutionProvider
- ExecutionRecovery
- ExecutionReference
- ExecutionResolution
- ExecutionRun
- ExecutionStartOptions
- ExecutorRequest
- Family
- FamilyOptions
- FlatHistoryMessageRow
- GenerationDefaults
- GetMessagesForAPIOptions
- GraphDefinition
- GraphNodeOptions
- GraphNodeRecord
- GraphProcessable
- HistoryStorage
- InterruptContext
- Interruption
- InterruptRequest
- JournalCancelRecord
- JournalCommit
- JournalOpenOptions
- JournalSnapshot
- JsonOutputOptions
- KvLikeHistoryStorageOptions
- LanguageModelLike
- LeafCallOptions
- LeafEventParts
- LeafEvents
- LoopConfig
- LoopContext
- LoopDefinition
- LoopState
- MapBotConfig
- MarkdownReportOptions
- MediaAudio
- MediaFile
- MediaFrame
- MediaImage
- MemberIdentity
- MemoryBankLike
- MessageContentBlock
- ModelConfig
- ModelInfo
- ModelProvider
- NodeContext
- NodeIdentity
- OperationReference
- OutputConfig
- ParallelConfig
- ParallelMergeInput
- ParsedModelId
- Partitioned
- PipelineLoopConfig
- PlacedProcessable
- Plan
- PlanInput
- PreparedExecution
- PricedStep
- Processable
- ProcessableChild
- ProcessableStructure
- ProcessHooks
- ProcessOptions
- PromptCacheOptions
- ProviderBatchOptions
- ProviderBatchReference
- ProviderCapabilities
- ProviderConfig
- ProviderDescriptor
- ReasoningSegment
- ReconnectConfig
- RecursiveLoopConfig
- Registry
- ReportChartHint
- ReportChartSpec
- ReportCoverage
- ReportData
- ReportDimension
- ReportDimensionColumn
- ReportMeasureColumn
- ReportMeasureCoverage
- ReportNarrative
- ReportOperationConfig
- ReportPresentation
- ReportRenderer
- ReportSort
- ReportSpec
- ReportSummarizer
- ReportTotalsGroup
- ReportValidationIssue
- ResolvedPromptCache
- RouteConfig
- RunIndex
- RunIndexEntry
- RunIndexReporter
- RunPath
- RunPolicy
- RunRoutePlace
- RunStartRequest
- SanitizationResult
- SearchResultBlock
- SegmentGroup
- SequentialThinkingData
- Skill
- SkillActivation
- SkillFromMarkdownOptions
- SkillRuntime
- SkillSegment
- SkillState
- SpawnAgentData
- SpendCondition
- SpendExceedsOptions
- SteerItem
- SteerQueue
- SteerReceipt
- SteerSource
- StepCompaction
- StepTraceEntry
- StoredHistoryV1
- StoredHistoryV2
- Stream
- StreamChunk
- StreamSegmentState
- StructuredOutputSegment
- SubagentToolOptions
- SubscribeAllCallbacks
- Subscription
- SummarizeContent
- SummarizeReportOptions
- TextSegment
- ThoughtItem
- TodoItem
- TokenHandlers
- TokenRates
- ToolApprovalRequest
- ToolApprovalSummary
- ToolCall
- ToolCallDisplay
- ToolCallSegment
- ToolDefinition
- ToolDiscovery
- ToolDiscoveryMetadata
- ToolDiscoveryOptions
- ToolDisplay
- ToolDurability
- ToolError
- ToolExecutionOptions
- ToolHook
- ToolHookCall
- ToolPresentation
- ToolSearchOptions
- ToolSearchPlan
- ToolSuccess
- TypedToolCallData
- UIChatMessage
- UnifiedMessageInput
- UserMessage
- UserSegment
- ValueContract
- WalkVisit
- WebSocketFetchConfig
- WhenConfig
- YieldContext
- ZodToolDefinition
Type Aliases
- Address
- AgentType
- AnthropicCacheTtl
BaleybotBatchConfigBaleybotConditionalConfig- BaleybotFamily
- BaleybotStreamEvent
- BatchItemResult
- BotRouteFrame
- BuiltinProviderName
- CacheControlOption
- CallableDeterministic
- ConditionalConfig
- DecisionAnswer
- DefaultsPatch
- DoneEvent
- DoneReason
- EffectReconciliation
- EnsureSupported
- ExecutionAddress
- ExecutionCapability
- ExecutionInspection
- FailureClass
- FrameFormat
- GraphNodeDefinition
- InferBotOutput
- InferChainOutput
- InferInput
- InferInterruptAnswer
- InferOutput
- InferPipelineOutput
- InferSchemaOutput
- InferStepOutput
- InputReference
- InterruptAnswer
- InterruptFileAnswer
- InterruptKind
- InterruptResponse
- InterruptSpec
- JournalValue
- LoopCondition
- MatchedToolResult
- MessageImageSource
- MessageRole
- ModelSelection
- NodeIdStem
- NodeOutcome
- OnInterruptRequired
- PipelineStep
- PipelineStructure
- PlanErrorKind
- PriceStep
- ProcessableEdge
- PromptCacheScope
- ProviderBatchEvent
- ProviderName
- ReportChartAxisType
- ReportChartMark
- ReportColumn
- ReportContent
- ReportFieldPath
- ReportJsonValue
- ReportMeasure
- ReportMeasureOp
- ReportRenderBody
- ReportTotalsCellKind
- ReportValue
- ReportValueType
- RunOutcome
- SkillFrontmatterValue
- SkipReason
- StepOptions
- StopCondition
- StopReason
- StoredMessage
- StreamingToolResult
- StreamingToolYield
- StreamOf
- StreamSegment
- SubscriptionCallback
- ToolApprovalResult
- ToolCapability
- ToolChoiceLike
- ToolCommitBundle
- ToolCommitOptions
- ToolContentBlock
- ToolDisplayKind
- ToolFailMode
- ToolModelOutput
- ToolReplay
- ToolResult
- Tools
- ToolSearchMode
- ToolsFilter
- UserMessageEvent
- ValueCheck
- WaitAllResult
Variables
- anthropic
- ANTHROPIC_MAX_CACHE_BREAKPOINTS
- Baleybots
- chartReportRenderer
- CLEARED_TOOL_RESULT
- COMPACTED_SUMMARY_HEADING
- csvReportRenderer
- decision
- DEFAULT_MODEL
- DEFAULT_RUN_POLICY
- DEFAULT_STOP_STEP_COUNT
- defaultReportRenderers
- DELIMITERS
- graph
- graphDefinitionSchema
- inputReferenceSchema
- InterruptSpecSchema
- LOCAL_EXECUTOR
- markdownReportRenderer
- MODEL_RATES
- NODE_ID_STEMS
- ollama
- openai
- openrouter
- Output
- PROVIDER_NAMES
- PROVIDERS
- reduceStreamEvent
- REPORT_LIMITS
- REPORT_OPERATION
- reportDataSchema
- reportNarrativeSchema
- reportSpecSchema
- RUN_ID
- sakana
- SCORE_LEVELS
- SEARCH_RESULT_CARRIER
- stepCountIs
- xai
Functions
- addressKey
- addressOf
- aggregate
- allConditions
- analyzeCommand
- anthropicCacheDirective
- applyLastToolCacheControl
- applyMessageCacheControl
- askHuman
- asProcessable
- assertCapabilities
- attachRun
- audio
- audioFromStream
- baleybotFamily
- batch
- botNamesOf
- budgetLastMessages
- buildReportChart
- cancelledErrorOf
- canonicalJson
- childRunId
- classifyFailure
- clearDefaultApiKeys
- clearToolResults
- closeAll
- coalesceCacheControl
- collectAISDKDiagnostics
- combine
- combineConditions
- conditional
- consumeBotRouteStream
- countContentCacheBreakpoints
- countToolCacheBreakpoints
- createHistoryStorage
- createInitialState
- createRegistry
- createReportSummarizer
- createSkillRuntime
- createSteerQueue
- createTodoListTool
- createToolDiscovery
- createValueContract
- decide
- declareChildRun
- decodeBotRouteNdjson
- decodeBotRouteSse
- decodeJournalValue
- defaultSubagentMapInput
- defineZodTool
- delay
- deriveAPIMessages
- deriveUIMessages
- describeToolApproval
- detectInjectionAttempts
- devRegisterGroup
- digestValue
- emitTokenEvent
- encodeBotRouteNdjson
- encodeJournalValue
- enrichAISDKError
- ensureToolResultsExist
- escapeDelimiters
- escapeShellArg
- executionAddressKey
- file
- filter
- filterByAgent
- filterByEnabledMap
- filterReadonlyTools
- filterToolsByGroup
- filterToolsByMode
- filterToolsWithReadCapability
- filterToolsWithWriteCapability
- filterWriteonlyTools
- finalizeSegments
- fingerprintProcessable
- formatAISDKErrorDiagnostics
- formatAmbiguousProviderError
- formatDuration
- forwardCacheTtl
- frameFormat
- frames
- framesResponse
- fromJournalPlain
- generateProcessableId
- getDefaultApiKey
- getDefaults
- getDSLPipelineData
- getGroupText
- getInterruptContext
- getMediaStream
- getReasonDisplay
- getSequentialThinkingData
- getSpawnAgentData
- getTextContent
- getToolCalls
- getToolCapability
- getToolData
- getToolFilterDescription
- groupByTurn
- hasChildren
- hasToolCall
- hasToolResult
- identifyProcessable
- image
- imageBlock
- inheritExecution
- isAISDKLanguageModel
- isAnyStreaming
- isBrandedTool
- isBuiltinProvider
- isDecisionSegment
- isDoneEvent
- isDoneSegment
- isErrorReason
- isErrorSegment
- isInterruptSignal
- isLiveAudio
- isLiveVideo
- isLoopFinished
- isMediaStream
- isModelConfig
- isModelFallbackError
- isMultimodal
- isProcessable
- isReasoningSegment
- isResourceExhausted
- isResourceExhaustedError
- isSearchResultBlock
- isSkillSegment
- isStaticAudio
- isStaticFrames
- isStructuredOutputSegment
- isSuccessReason
- isTextSegment
- isToolCallSegment
- isToolError
- isUserSegment
- join
- kvLikeHistoryStorage
- labelOf
- leafEvents
- listModels
- localCapabilities
- logPromptSecurityWarnings
- logSecurityWarnings
- loop
- loopIdentity
- loopWithState
- mapBot
- matchesAnyKeyword
- matchesChild
- matchRunPath
- memberIdOf
- merge
- mergeDefaults
- messageHasCacheStamp
- migrateFlatMessagesToHistory
- modelRate
- nodeIdOf
- noToolCalls
- parallel
- parallelMerge
- parseAddressKey
- parseApprovalResponses
- parseBotRouteFrame
- parseInterruptResponses
- parseInterruptSpec
- parseModelId
- parsePartialJson
- parseReportData
- parseSlashModelId
- partition
- pipeline
- placedOf
- plan
- processableFamily
- projectSegmentsToFlatMessages
- pumpEvents
- readToolDisplayMetadata
- recursiveLoop
- redriveDelay
- registerReportOperation
- report
- reportDataFromTotals
- reportOperation
- reportSpecIssues
- requirementsOf
- requiresAudioAnalysis
- requiresAudioTranscription
- requiresFileProcessing
- requiresVision
- resetDefaults
- resolveAddress
- resolveDefaults
- resolveModel
- resolvePromptCache
- resolveToolDisplay
- resolveToolReplay
- restoreSearchResultBlocks
- rethrowExecutionControl
- retry
- route
- runChild
- runIndexReporter
- runInExecutionScope
- runParallel
- runParallelNamed
- runsChildLoop
- runWithInterruptContext
- runWithInterruptContextAsync
- runWithToolHooks
- sanitizePromptContent
- searchResultBlock
- serveRunRoute
- setDefaultApiKey
- setDefaultApiKeys
- setDefaults
- skill
- skillFromMarkdown
- spendExceeds
- splitTools
- stableMemberKey
- startChildRun
- startLocalRun
- startRun
- step
- stepCost
- subagentTool
- summarizeReport
- supportsNativeToolSearch
- text
- textBlock
- toAISDKOutput
- toJournalPlain
- tokenPricing
- tool
- toolCommit
- toolDisplayMetadata
- toolError
- toolResult
- toolResultFrom
- toolSearch
- totalToolCallsExceed
- typedToolCall
- validateAgainstSchema
- validateGraphDefinition
- validateInterruptAnswer
- validateReportSpec
- video
- walk
- wantsFrames
- websockets
- when
- withGoal
- withGoalAll
- withoutImageData
- withSchema
- withSearchResultBlocks
- wrapGoal
- wrapInstructions
- wrapWithDelimiters
- zodToJsonSchema
References
BaleybotInternalConfig
Renames and re-exports BaleybotConfig
BaleybotPublicConfig
Renames and re-exports BaleybotConfig
BaleybotResult
Renames and re-exports InferSchemaOutput