Public declaration syntax from forge-ts/packages/forge-agent/src/index.ts Original source SHA-256: 5b2ad1ec8450d18ef3a2d7fc3c8e5b2dd5b941ffbf9c817f136af89e275a8f90 Function bodies and constant values are omitted. This is not the complete implementation. Source line 45 export { ForgeAgentError, ForgeAgentErrorCode, type ForgeAgentErrorCodeType } from './error.js'; Source line 48 export { AgentStopReason, type AgentStopCondition, type LoopContext, maxIterations, maxTotalTokens, modelStopsNaturally, customStop, evaluateStopConditions, } from './loop-control.js'; Source line 60 export { type ToolLoopConfig, type ToolLoopIteration, type ToolLoopOutput, runToolLoop, } from './tool-loop.js'; Source line 68 export { type AgentConfig, ToolLoopAgent, } from './agent.js'; Source line 74 export { type WorkflowStep, type WorkflowResult, type RouterFn, SequentialWorkflow, ParallelWorkflow, RouterWorkflow, } from './workflow.js'; Source line 84 export { type SubAgentConfig, createSubAgent, runSubAgentTask, } from './subagent.js'; Source line 91 export { type AgentMessage, MessageType, type TypedMessage, AgentChannel, createAgentMessage, createTypedMessage, } from './messaging.js';