mirror of
https://github.com/morluto/rea.git
synced 2026-11-03 21:36:13 +00:00
Bind typed service creation, observed availability and retryable cleanup in one composition owner. Reuse selected CLI/MCP factories and canonical contract groups without copying provider operation inventories. Closes #8429. Refs #740. Validated paired real application workflows, actual local Codex CLI Terra/high use, complete Evidence and Unknown checkpoint parity, compiler-backed import boundaries, SDK schemas and final real mixed routing. Automated review findings were fixed at their producing owners. Existing exact-base CodeQL alerts are documented on the PR under the owner-authorized unrelated-check exception; no global alerts or security rules were changed. Assisted-by: Suika (gensokyo-skills:suika-scatter-gather-planning)
21 lines
661 B
TypeScript
21 lines
661 B
TypeScript
/** One static import or re-export specifier and its source line. */
|
|
export interface ImportSpecifierFact {
|
|
readonly specifier: string;
|
|
readonly line: number;
|
|
/** True only when TypeScript erases this module edge under verbatimModuleSyntax. */
|
|
readonly typeOnly: boolean;
|
|
}
|
|
|
|
/** Static string specifier on one import or re-export node, when it has one. */
|
|
export function importSpecifier(node: {
|
|
readonly type: string;
|
|
}): string | undefined;
|
|
|
|
/**
|
|
* Static import and re-export specifiers in source order.
|
|
* Comments and string literals are not imports.
|
|
*/
|
|
export function readImportSpecifiers(
|
|
source: string,
|
|
): readonly ImportSpecifierFact[];
|