import type { SessionOpts } from './session-types.js'; import type { OrgDef, OrgRole } from './types.js'; /** * Resolves the extra system-prompt block for a role: its pinned library * skills and on-demand skill catalog (skill-library.ts) plus the role's own * `instructions_file`, if any — all optional and independent. A missing or * unreadable `instructions_file` is skipped (not an error): a role shouldn't * fail to start a session over a stale/typo'd custom-file path. */ export declare function resolveRoleExtraGuidance(role: OrgRole, projectRoot?: string): string | undefined; /** Resolve the model string for a role: explicit adapter_config.model wins; * otherwise fall back to the vendor/runtime default. * * Vendor defaults are read straight off VERCEL_PROVIDERS, which already * carries a defaultModel per vendor. A second hand-kept table lived here and * restated all sixteen of them — two lists of per-vendor defaults that would * eventually disagree, which is precisely the drift #252 was. An empty * registry default (openai-compatible, which serves arbitrary endpoints) is * falsy and so falls through to the runtime switch, as it always did. */ export declare function resolveModel(role: OrgRole, runtime?: string, vendor?: string): string; /** Role briefing given to each agent session (SDK systemPrompt option). * `extraGuidance` carries pre-resolved text the caller already loaded from * disk — the role's library skills and/or its own `instructions_file`, * if either resolved to something. Kept as a plain string param (not read here) * so this function stays synchronous/pure and trivially testable. */ export declare function buildRolePrompt(role: OrgRole, def: Pick, roster: string[], glossary?: string[], extraGuidance?: string, /** M2: one line per endpoint role (endpointBriefingLines) — boss only. */ endpointBriefing?: string[], /** The run's task text (`org run --task`), when it differs from the goal. Only the coordinator is sent it as a * message; every role gets it here, so a worker does not have to ask for it or dig it out of the bus. */ runTask?: string): string; /** The system prompt one session of this role is built with. */ export declare function rolePromptFor(opts: SessionOpts): string; //# sourceMappingURL=session-prompt.d.ts.map