d666516ce6
CI / check (pull_request) Successful in 3m20s
Add AgentForkFn and AgentCleanupFn type aliases. Extend AgentOptions with fork: AgentForkFn | null and cleanup: AgentCleanupFn | null fields. Add getAskSessionId / setAskSessionId session-cache helpers using <stepHash>:ask key shape (coexists with exec sessions in the same per-agent cache file). All four adapters pass fork: null, cleanup: null — real wiring lands in Phase 2b. Resolves #145. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
35 lines
1.2 KiB
TypeScript
35 lines
1.2 KiB
TypeScript
export { buildContinuationPrompt } from "./build-continuation-prompt.js";
|
|
export { buildOutputFormatInstruction } from "./build-output-format-instruction.js";
|
|
export { buildRolePrompt } from "./build-role-prompt.js";
|
|
export { buildThreadProgress } from "./build-thread-progress.js";
|
|
export type { BuildContextMeta } from "./context.js";
|
|
export { buildContext, buildContextWithMeta } from "./context.js";
|
|
export type { ExtractResult, ResolvedLlmProvider } from "./extract.js";
|
|
export {
|
|
extract,
|
|
resolveExtractModelAlias,
|
|
resolveModel,
|
|
} from "./extract.js";
|
|
export type { FrontmatterFastPathResult } from "./frontmatter.js";
|
|
export { tryFrontmatterFastPath } from "./frontmatter.js";
|
|
export { buildFrontmatterRetryPrompt } from "./frontmatter-retry-prompt.js";
|
|
export { createAgent, parseArgv } from "./run.js";
|
|
export {
|
|
getAskSessionId,
|
|
getCachedSessionId,
|
|
getCachePath,
|
|
setAskSessionId,
|
|
setCachedSessionId,
|
|
} from "./session-cache.js";
|
|
export { getConfigPath, getEnvPath, loadWorkflowConfig, resolveStorageRoot } from "./storage.js";
|
|
export type {
|
|
AdapterOutput,
|
|
AgentCleanupFn,
|
|
AgentContext,
|
|
AgentContinueFn,
|
|
AgentForkFn,
|
|
AgentOptions,
|
|
AgentRunFn,
|
|
AgentRunResult,
|
|
} from "./types.js";
|