import { c as _c } from "react/compiler-runtime";
import { basename, relative } from 'path';
import React, { useMemo } from 'react';
import type { z } from 'zod/v4';
import { Text } from '../../../ink.js';
import { FileWriteTool } from '../../../tools/FileWriteTool/FileWriteTool.js';
import { getCwd } from '../../../utils/cwd.js';
import { isENOENT } from '../../../utils/errors.js';
import { readFileSync } from '../../../utils/fileRead.js';
import { FilePermissionDialog } from '../FilePermissionDialog/FilePermissionDialog.js';
import { createSingleEditDiffConfig, type FileEdit, type IDEDiffSupport } from '../FilePermissionDialog/ideDiffConfig.js';
import type { PermissionRequestProps } from '../PermissionRequest.js';
import { FileWriteToolDiff } from './FileWriteToolDiff.js';
type FileWriteToolInput = z.infer<typeof FileWriteTool.inputSchema>;
const ideDiffSupport: IDEDiffSupport<FileWriteToolInput> = {
  getConfig: (input: FileWriteToolInput) => {
    let oldContent: string;
    try {
      oldContent = readFileSync(input.file_path);
    } catch (e) {
      if (!isENOENT(e)) throw e;
      oldContent = '';
    }
    return createSingleEditDiffConfig(input.file_path, oldContent, input.content, false // For file writes, we replace the entire content
    );
  },
  applyChanges: (input: FileWriteToolInput, modifiedEdits: FileEdit[]) => {
    const firstEdit = modifiedEdits[0];
    if (firstEdit) {
      return {
        ...input,
        content: firstEdit.new_string
      };
    }
    return input;
  }
};
export function FileWritePermissionRequest(props) {
  const $ = _c(30);
  const parseInput = _temp;
  let t0;
  if ($[0] !== props.toolUseConfirm.input) {
    t0 = parseInput(props.toolUseConfirm.input);
    $[0] = props.toolUseConfirm.input;
    $[1] = t0;
  } else {
    t0 = $[1];
  }
  const parsed = t0;
  const {
    file_path,
    content
  } = parsed;
  let t1;
  if ($[2] !== file_path) {
    ;
    try {
      t1 = {
        fileExists: true,
        oldContent: readFileSync(file_path)
      };
    } catch (t2) {
      const e = t2;
      if (!isENOENT(e)) {
        throw e;
      }
      let t3;
      if ($[4] === Symbol.for("react.memo_cache_sentinel")) {
        t3 = {
          fileExists: false,
          oldContent: ""
        };
        $[4] = t3;
      } else {
        t3 = $[4];
      }
      t1 = t3;
    }
    $[2] = file_path;
    $[3] = t1;
  } else {
    t1 = $[3];
  }
  const {
    fileExists,
    oldContent
  } = t1;
  const actionText = fileExists ? "overwrite" : "create";
  const t2 = props.toolUseConfirm;
  const t3 = props.toolUseContext;
  const t4 = props.onDone;
  const t5 = props.onReject;
  const t6 = props.workerBadge;
  const t7 = fileExists ? "Overwrite file" : "Create file";
  let t8;
  if ($[5] !== file_path) {
    t8 = relative(getCwd(), file_path);
    $[5] = file_path;
    $[6] = t8;
  } else {
    t8 = $[6];
  }
  let t9;
  if ($[7] !== file_path) {
    t9 = basename(file_path);
    $[7] = file_path;
    $[8] = t9;
  } else {
    t9 = $[8];
  }
  let t10;
  if ($[9] !== t9) {
    t10 = <Text bold={true}>{t9}</Text>;
    $[9] = t9;
    $[10] = t10;
  } else {
    t10 = $[10];
  }
  let t11;
  if ($[11] !== actionText || $[12] !== t10) {
    t11 = <Text>Do you want to {actionText} {t10}?</Text>;
    $[11] = actionText;
    $[12] = t10;
    $[13] = t11;
  } else {
    t11 = $[13];
  }
  let t12;
  if ($[14] !== content || $[15] !== fileExists || $[16] !== file_path || $[17] !== oldContent) {
    t12 = <FileWriteToolDiff file_path={file_path} content={content} fileExists={fileExists} oldContent={oldContent} />;
    $[14] = content;
    $[15] = fileExists;
    $[16] = file_path;
    $[17] = oldContent;
    $[18] = t12;
  } else {
    t12 = $[18];
  }
  let t13;
  if ($[19] !== file_path || $[20] !== props.onDone || $[21] !== props.onReject || $[22] !== props.toolUseConfirm || $[23] !== props.toolUseContext || $[24] !== props.workerBadge || $[25] !== t11 || $[26] !== t12 || $[27] !== t7 || $[28] !== t8) {
    t13 = <FilePermissionDialog toolUseConfirm={t2} toolUseContext={t3} onDone={t4} onReject={t5} workerBadge={t6} title={t7} subtitle={t8} question={t11} content={t12} path={file_path} completionType="write_file_single" parseInput={parseInput} ideDiffSupport={ideDiffSupport} />;
    $[19] = file_path;
    $[20] = props.onDone;
    $[21] = props.onReject;
    $[22] = props.toolUseConfirm;
    $[23] = props.toolUseContext;
    $[24] = props.workerBadge;
    $[25] = t11;
    $[26] = t12;
    $[27] = t7;
    $[28] = t8;
    $[29] = t13;
  } else {
    t13 = $[29];
  }
  return t13;
}
function _temp(input) {
  return FileWriteTool.inputSchema.parse(input);
}
//# sourceMappingURL=data:application/json;charset=utf-8;base64,eyJ2ZXJzaW9uIjozLCJuYW1lcyI6WyJiYXNlbmFtZSIsInJlbGF0aXZlIiwiUmVhY3QiLCJ1c2VNZW1vIiwieiIsIlRleHQiLCJGaWxlV3JpdGVUb29sIiwiZ2V0Q3dkIiwiaXNFTk9FTlQiLCJyZWFkRmlsZVN5bmMiLCJGaWxlUGVybWlzc2lvbkRpYWxvZyIsImNyZWF0ZVNpbmdsZUVkaXREaWZmQ29uZmlnIiwiRmlsZUVkaXQiLCJJREVEaWZmU3VwcG9ydCIsIlBlcm1pc3Npb25SZXF1ZXN0UHJvcHMiLCJGaWxlV3JpdGVUb29sRGlmZiIsIkZpbGVXcml0ZVRvb2xJbnB1dCIsImluZmVyIiwiaW5wdXRTY2hlbWEiLCJpZGVEaWZmU3VwcG9ydCIsImdldENvbmZpZyIsImlucHV0Iiwib2xkQ29udGVudCIsImZpbGVfcGF0aCIsImUiLCJjb250ZW50IiwiYXBwbHlDaGFuZ2VzIiwibW9kaWZpZWRFZGl0cyIsImZpcnN0RWRpdCIsIm5ld19zdHJpbmciLCJGaWxlV3JpdGVQZXJtaXNzaW9uUmVxdWVzdCIsInByb3BzIiwiJCIsIl9jIiwicGFyc2VJbnB1dCIsIl90ZW1wIiwidDAiLCJ0b29sVXNlQ29uZmlybSIsInBhcnNlZCIsInQxIiwiZmlsZUV4aXN0cyIsInQyIiwidDMiLCJTeW1ib2wiLCJmb3IiLCJhY3Rpb25UZXh0IiwidG9vbFVzZUNvbnRleHQiLCJ0NCIsIm9uRG9uZSIsInQ1Iiwib25SZWplY3QiLCJ0NiIsIndvcmtlckJhZGdlIiwidDciLCJ0OCIsInQ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