Skip to content
OpenWaggle
Applies to @openwaggle/waggle-core@0.1.x

@openwaggle/waggle-core API

Complete public API reference for @openwaggle/waggle-core 0.1.

This reference inventories every public entry point and named export in @openwaggle/waggle-core 0.1.

Runtime-neutral Waggle configuration, prompts, state, presets, consensus, events, and turn-policy contracts.

@openwaggle/waggle-core

Convenience entry point for the complete runtime-neutral Waggle policy API.

ExportKind
buildWaggleTurnPromptfunction
BuildWaggleTurnPromptInputinterface
BUILT_IN_WAGGLE_PRESETSconst
checkConsensusfunction
completeWaggleTurnfunction
decideNextWaggleTurnfunction
evaluateConsensusfunction
getWaggleTurnfunction
getWaggleTurnAgentIndexfunction
isProviderQualifiedWaggleModelfunction
isWaggleInheritedModelfunction
MAX_WAGGLE_MAX_TURNS_SAFETYconst
mergeWagglePresetsfunction
metadataForWaggleTurnfunction
MIN_WAGGLE_MAX_TURNS_SAFETYconst
parseWaggleConfigfunction
parseWagglePresetfunction
startWaggleRunfunction
WAGGLE_AGENT_COLORSconst
WAGGLE_COLLABORATION_MODESconst
WAGGLE_INHERIT_MODELconst
WAGGLE_STOP_CONDITIONSconst
WaggleAgentColortype
WaggleAgentSlotinterface
WaggleCollaborationModetype
WaggleConfiginterface
WaggleConsensusCheckResultinterface
WaggleConsensusSignalinterface
WaggleEngineEventtype
WagglePresetinterface
WaggleRunStateinterface
WaggleRunStatustype
WaggleStopConditiontype
WaggleStopConfiginterface
WaggleStopReasontype
WaggleTurninterface
WaggleTurnCompletioninterface
WaggleTurnDecisioninterface
WaggleTurnMetadatainterface
WaggleValidationResulttype

@openwaggle/waggle-core/config

Configuration, validation, model, agent, and safety-limit contracts.

ExportKind
isProviderQualifiedWaggleModelfunction
isWaggleInheritedModelfunction
MAX_WAGGLE_MAX_TURNS_SAFETYconst
MIN_WAGGLE_MAX_TURNS_SAFETYconst
parseWaggleConfigfunction
parseWagglePresetfunction
WAGGLE_AGENT_COLORSconst
WAGGLE_COLLABORATION_MODESconst
WAGGLE_INHERIT_MODELconst
WAGGLE_STOP_CONDITIONSconst
WaggleAgentColortype
WaggleAgentSlotinterface
WaggleCollaborationModetype
WaggleConfiginterface
WagglePresetinterface
WaggleStopConditiontype
WaggleStopConfiginterface
WaggleValidationResulttype

@openwaggle/waggle-core/consensus

Consensus signals and convergence evaluation.

ExportKind
checkConsensusfunction
evaluateConsensusfunction
WaggleConsensusCheckResultinterface
WaggleConsensusSignalinterface

@openwaggle/waggle-core/events

Runtime-neutral collaboration event metadata.

ExportKind
metadataForWaggleTurnfunction
WaggleEngineEventtype
WaggleTurnMetadatainterface

@openwaggle/waggle-core/presets

Built-in preset definitions and preset composition.

ExportKind
BUILT_IN_WAGGLE_PRESETSconst
mergeWagglePresetsfunction

@openwaggle/waggle-core/prompts

Prompt builders for collaborative turns.

ExportKind
buildWaggleTurnPromptfunction
BuildWaggleTurnPromptInputinterface

@openwaggle/waggle-core/state

Serializable Waggle state helpers.

ExportKind
completeWaggleTurnfunction
startWaggleRunfunction
WaggleRunStateinterface
WaggleRunStatustype

@openwaggle/waggle-core/turn-policy

Turn ownership, continuation, and stopping decisions.

ExportKind
decideNextWaggleTurnfunction
getWaggleTurnfunction
getWaggleTurnAgentIndexfunction
WaggleStopReasontype
WaggleTurninterface
WaggleTurnCompletioninterface
WaggleTurnDecisioninterface