@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
9 lines • 645 B
TypeScript
import type { ConnectionOrigin } from "../../core/turn-origin.ts";
/**
* The origin a record's own handling runs under (senpi#6342): delegated for a cross-account record that can act on the
* session's work, decided by the engine's own method-class table (`drive`, and `device_admin`, which grants more),
* never by a hand-kept list of commands, so a new run starter (`continue_from_leaf`, `wake`, `resume_for_run`, ...)
* cannot slip past the rule. Any other record runs as local.
*/
export declare function recordTurnOrigin(command: object, origin: ConnectionOrigin): ConnectionOrigin;
//# sourceMappingURL=delegated-drive-origin.d.ts.map