import type { SessionOpts } from './session-types.js'; export { gatedCanUseTool } from './session-gate.js'; export { buildRolePrompt, resolveModel, resolveRoleExtraGuidance, } from './session-prompt.js'; export type { DeliverFn, SessionOpts } from './session-types.js'; /** * Runs a role for the life of the org, transparently restarting the * underlying SDK session whenever it ends on its own (`maxTurns` reached) * while the mailbox is still open. `maxTurns` bounds a single SDK query() * call's TOTAL turns, not "turns per incoming message" - since one query() * call stays open across every mailbox message for as long as the mailbox * itself stays open, without a restart the role would go permanently silent * (no crash, no alert) once its lifetime turn count crossed the limit, while * deliver() kept queuing new messages into a mailbox nobody was reading. */ export declare function runAgentSession(opts: SessionOpts): Promise; export { buildOrgTools } from './org-tools.js'; export { AUTO_ASSIGNEE } from './task-tools.js'; //# sourceMappingURL=session.d.ts.map