Files
boocode/packages/ion/src/index.ts
indifferentketchup 02063072ab chore: add ion package, codesight wiki, work plans, ascli config
New @boocode/ion package (v0.0.1) for inference optimization network.
.codesight/ wiki artifacts for codebase documentation.
.omo/ work plans for openspec cleanup and enhanced file panel.
2026-06-07 22:16:45 +00:00

153 lines
3.1 KiB
TypeScript

// Schema layer — types and validation
export type {
StepRetryConfig,
LoopNodeConfig,
TriggerRule,
EffortLevel,
ThinkingConfig,
ApprovalOnReject,
DagNodeBase,
CommandNode,
PromptNode,
BashNode,
ScriptNode,
LoopNode,
ApprovalNode,
CancelNode,
DagNode,
ModelReasoningEffort,
WebSearchMode,
WorkflowRequirement,
WorkflowWorktreePolicy,
SandboxConfig,
ProviderOverrides,
WorkflowBase,
WorkflowDefinition,
WorkflowSource,
WorkflowExecutionResult as SchemaWorkflowExecutionResult,
WorkflowWithSource,
WorkflowLoadError,
WorkflowLoadResult,
LoadCommandResult,
WorkflowRunStatus,
NodeState,
NodeOutput,
ApprovalContext,
WorkflowRun,
NodeExecutionResult,
} from './schema/index.js';
export {
stepRetryConfigSchema,
loopNodeConfigSchema,
triggerRuleSchema,
TRIGGER_RULES,
DEFAULT_TRIGGER_RULE,
effortLevelSchema,
thinkingConfigSchema,
approvalOnRejectSchema,
dagNodeBaseSchema,
commandNodeSchema,
promptNodeSchema,
bashNodeSchema,
scriptNodeSchema,
loopNodeSchema,
approvalNodeSchema,
cancelNodeSchema,
dagNodeSchema,
isBashNode,
isLoopNode,
isApprovalNode,
isCancelNode,
isScriptNode,
isPromptNode,
isCommandNode,
modelReasoningEffortSchema,
webSearchModeSchema,
workflowRequirementSchema,
workflowWorktreePolicySchema,
sandboxConfigSchema,
providerOverridesSchema,
workflowBaseSchema,
workflowDefinitionSchema,
WorkflowSourceSchema,
workflowExecutionResultSchema,
workflowWithSourceSchema,
workflowLoadErrorSchema,
workflowLoadResultSchema,
loadCommandResultSchema,
WorkflowRunStatusSchema,
TERMINAL_WORKFLOW_STATUSES,
RESUMABLE_WORKFLOW_STATUSES,
NodeStateSchema,
ApprovalContextSchema,
WorkflowRunSchema,
nodeOutputSchema,
} from './schema/index.js';
// Engine — core execution logic
export type {
IWorkflowPlatform,
IWorkflowStore,
IAgentProvider,
WorkflowDeps,
WorkflowConfig,
ProviderConfig,
CommandFolderConfig,
CreateWorkflowRunData,
WorkflowEvent,
DagWorkflowResult,
WorkflowExecutionOptions,
HydratedResumableRun,
ProjectPaths,
ErrorCategory,
} from './engine/index.js';
export {
buildTopologicalLayers,
checkTriggerRule,
executeNodeInternal,
executeScriptNode,
handleApprovalNode,
handleLoopNode,
executeDagWorkflow,
executeWorkflow,
hydrateResumableRun,
resolveProjectPaths,
substituteWorkflowVariables,
substituteNodeOutputRefs,
buildPromptWithContext,
evaluateCondition,
classifyError,
safeSendMessage,
formatSubprocessFailure,
resolveNodeOutputField,
OutputRefError,
DagCycleError,
NodeTimeoutError,
ApprovalRejectedError,
LoopMaxIterationsError,
} from './engine/index.js';
// Storage backends
export {
createFsStore,
createSqliteStore,
createPostgresStore,
} from './store/index.js';
export type {
IWorkflowStore as StoreIWorkflowStore,
} from './store/index.js';
// Format — markdown transpiler
export {
parseSopContent,
convertSopToWorkflowYaml,
discoverSopFiles,
} from './format/index.js';
export type {
SopDocument,
SopParameter,
SopStep,
} from './format/index.js';