82d3478895
Move pure role utilities (decorateRole, withDryRun, onFail, schemaDefaults) into @uncaged/workflow-util-role. extractMetaOrThrow stays in role-llm since it depends on LLM capabilities. Dependency graph (no cycles): util-role → workflow role-llm → workflow, util-role committer → workflow, util-role, role-llm Closes #15
23 lines
707 B
TypeScript
23 lines
707 B
TypeScript
export {
|
|
decorateRole,
|
|
type OnFailOptions,
|
|
onFail,
|
|
type RoleDecorator,
|
|
schemaDefaults,
|
|
type WithDryRunOptions,
|
|
withDryRun,
|
|
} from "@uncaged/workflow-util-role";
|
|
export { buildDescriptorFromRoles, type RoleDescriptorInput } from "./build-descriptor.js";
|
|
export { chatCompletionText, createLlmAdapter, type LlmChatError } from "./create-llm-adapter.js";
|
|
export { type CreateRoleArgs, createRole } from "./create-role.js";
|
|
export { extractMetaOrThrow } from "./extract-meta.js";
|
|
export {
|
|
type LlmError,
|
|
type LlmExtractArgs,
|
|
type LlmProvider,
|
|
llmErrorToCause,
|
|
llmExtract,
|
|
llmExtractWithRetry,
|
|
} from "./llm-extract.js";
|
|
export type { LlmMessage, MetaExtractConfig } from "./types.js";
|