ApplyPatchApprovalParams.ts 801 B

123456789101112131415161718192021
  1. // GENERATED CODE! DO NOT MODIFY BY HAND!
  2. // This file was generated by [ts-rs](https://github.com/Aleph-Alpha/ts-rs). Do not edit this file manually.
  3. import type { FileChange } from "./FileChange";
  4. import type { ThreadId } from "./ThreadId";
  5. export type ApplyPatchApprovalParams = { conversationId: ThreadId,
  6. /**
  7. * Use to correlate this with [codex_protocol::protocol::PatchApplyBeginEvent]
  8. * and [codex_protocol::protocol::PatchApplyEndEvent].
  9. */
  10. callId: string, fileChanges: { [key in string]?: FileChange },
  11. /**
  12. * Optional explanatory reason (e.g. request for extra write access).
  13. */
  14. reason: string | null,
  15. /**
  16. * When set, the agent is asking the user to allow writes under this root
  17. * for the remainder of the session (unclear if this is honored today).
  18. */
  19. grantRoot: string | null, };