mirror of
https://github.com/stablyai/orca.git
synced 2026-11-05 03:27:44 +00:00
Adds the per-verb table (flagless acts as the session; a conflicting --from or --terminal is refused before any request; the session's own spellings are accepted), the enumerated guess population with its positive control, the structured worker's own handle, the identity-less refusal for an older child, the unchanged terminal agent, and the envelope. dispatch-show's --from only fills preview text, so it passes through unfenced and a session's flagless preview names the address the real dispatch writes.
8 lines
443 B
TypeScript
8 lines
443 B
TypeScript
// Deliberately not `term_`: `issueHandle` revalidates the renderer graph epoch against the
|
|
// renderer-driven leaves map, so a main-minted `term_` leaf evaporates on the next window reload.
|
|
export const STRUCTURED_WORKER_HANDLE_PREFIX = 'structworker_'
|
|
|
|
export function isStructuredWorkerHandle(handle: string | null | undefined): handle is string {
|
|
return typeof handle === 'string' && handle.startsWith(STRUCTURED_WORKER_HANDLE_PREFIX)
|
|
}
|