@code-yeongyu/senpi
Version:
Coding agent CLI with read, bash, edit, write tools and session management
12 lines • 701 B
JavaScript
import { transferDispatchApproval } from "../extensions/builtin/permission-system/dispatch.js";
import { transferApprovedMonitorParent } from "../extensions/builtin/terminal/monitor-permission.js";
/**
* The session's `afterToolFreeze`: the session's `tool_call` chain binds facts to the arguments object it saw, and the
* prepared executor runs a frozen copy, so each fact moves to that copy here (senpi#5795). Both transfers are no-ops for
* anything that is not an object and never throw.
*/
export function carryPreflightFacts(prepared, frozen) {
transferDispatchApproval(prepared, frozen);
transferApprovedMonitorParent(prepared, frozen);
}
//# sourceMappingURL=preflight-carry.js.map