/**
 * deep-research-codebase / opencode
 *
 * OpenCode replica of the Claude deep-research-codebase workflow. Specialist
 * sub-agents are dispatched as separate headless `ctx.stage()` calls — each
 * call passes `agent: "<name>"` to `s.client.session.prompt()` directly,
 * which is OpenCode's SDK-native way to route a turn to a sub-agent.
 *
 * OpenCode-specific concerns baked in (see references/failure-modes.md):
 *
 *   • F5 — every `ctx.stage()` is a FRESH session. Each specialist receives
 *     everything it needs (research question, scope, scout overview, and —
 *     for layer-2 specialists — verbatim locator output) in its first prompt.
 *
 *   • F3 — `result.data!.parts` is a heterogenous array (text/tool/reasoning/
 *     file parts). Use `extractResponseText()` to filter to text parts only;
 *     concatenating raw `parts` produces `[object Object]` strings.
 *
 *   • F6 — every prompt explicitly requires trailing prose so transcripts and
 *     `extractResponseText()` reads are never empty.
 *
 *   • F9 — `s.save()` receives the unwrapped `{ info, parts }` payload from
 *     `result.data!`; passing the full `result` or raw `result.data!.parts`
 *     breaks downstream `transcript()` reads.
 *
 * See claude/index.ts for the full design rationale and topology diagram.
 */
declare const _default: import("../../../index.ts").WorkflowDefinition<"opencode", "prompt">;
export default _default;
//# sourceMappingURL=index.d.ts.map