'use strict';

var path = require('path');

function _interopDefault (e) { return e && e.__esModule ? e : { default: e }; }

var path__default = /*#__PURE__*/_interopDefault(path);

// src/platform/prompts/history-reference.ts
function createPromptHistoryReferences(paths) {
  return {
    aiHistoryDirectoryPath: paths.historyDir,
    promptHistoryFilePath: paths.promptHistoryPath
  };
}
function createPromptHistoryReferenceSection(historyReferences) {
  if (!historyReferences) {
    return void 0;
  }
  return {
    heading: "\uD788\uC2A4\uD1A0\uB9AC \uCC38\uC870",
    markdown: [
      "- \uD604\uC7AC \uC694\uCCAD\uC774 \uC774\uC804 \uC791\uC5C5\uC758 \uC5F0\uC7A5, \uC218\uC815, \uD6C4\uC18D \uC9C8\uBB38, \uC0DD\uB7B5\uB41C \uB9E5\uB77D \uBCF5\uC6D0\uCC98\uB7FC \uBCF4\uC774\uBA74 \uC0AC\uC6A9\uC790\uAC00 \uBA85\uC2DC\uD558\uC9C0 \uC54A\uC544\uB3C4 \uBA3C\uC800 \uC544\uB798 \uD788\uC2A4\uD1A0\uB9AC\uB97C \uD655\uC778\uD55C\uB2E4.",
      '- \uC0AC\uC6A9\uC790\uAC00 "\uC774\uC804", "\uBC29\uAE08", "\uC544\uAE4C", "\uACC4\uC18D", "\uADF8\uAC70", "\uADF8 \uBC29\uC2DD", "\uAC19\uC740 \uAE30\uC900"\uCC98\uB7FC \uAE30\uC874 \uB9E5\uB77D\uC744 \uC554\uC2DC\uD558\uBA74 \uC6B0\uC120\uC801\uC73C\uB85C \uD788\uC2A4\uD1A0\uB9AC\uB97C \uC870\uD68C\uD55C\uB2E4.',
      "- \uC694\uCCAD\uB9CC\uC73C\uB85C\uB294 \uC548\uC804\uD55C \uAD6C\uD604 \uACB0\uC815\uC744 \uB0B4\uB9AC\uAE30 \uC5B4\uB835\uAC70\uB098, \uAE30\uC874 \uACB0\uC815/\uC0B0\uCD9C\uBB3C/\uC2E4\uD328 \uC6D0\uC778\uC744 \uC7AC\uC0AC\uC6A9\uD574\uC57C \uD558\uBA74 \uB0B4\uBD80 \uD310\uB2E8\uC73C\uB85C \uD788\uC2A4\uD1A0\uB9AC\uB97C \uBA3C\uC800 \uD655\uC778\uD55C\uB2E4.",
      "- AI\uC758 \uC804\uCCB4 \uD788\uC2A4\uD1A0\uB9AC\uB97C \uC870\uD68C/\uCC38\uC870\uD574\uC57C \uD558\uB294 \uACBD\uC6B0 \uC544\uB798 \uB514\uB809\uD130\uB9AC\uB97C \uC9C1\uC811 \uD655\uC778\uD55C\uB2E4.",
      `- \uC804\uCCB4 AI \uD788\uC2A4\uD1A0\uB9AC \uB514\uB809\uD130\uB9AC: \`${path__default.default.normalize(historyReferences.aiHistoryDirectoryPath)}\``,
      "- \uC0AC\uC6A9\uC790\uAC00 \uC791\uC131\uD55C \uD504\uB86C\uD504\uD2B8 \uB0B4\uC5ED\uB9CC \uD544\uC694\uD55C \uACBD\uC6B0 \uC544\uB798 \uD30C\uC77C\uC744 \uC9C1\uC811 \uD655\uC778\uD55C\uB2E4.",
      `- \uC0AC\uC6A9\uC790 \uD504\uB86C\uD504\uD2B8 \uD788\uC2A4\uD1A0\uB9AC \uD30C\uC77C: \`${path__default.default.normalize(historyReferences.promptHistoryFilePath)}\``,
      "- \uD504\uB86C\uD504\uD2B8 \uBCF8\uBB38\uC5D0\uB294 \uACFC\uAC70 \uD788\uC2A4\uD1A0\uB9AC \uB0B4\uC6A9\uC744 \uC9C1\uC811 \uB2E4\uC2DC \uC2E3\uC9C0 \uB9D0\uACE0, \uD544\uC694\uD560 \uB54C \uC704 \uACBD\uB85C\uB97C \uCC38\uC870\uD574 \uBB38\uB9E5\uC744 \uBCF5\uC6D0\uD55C \uB4A4 \uC791\uC5C5\uD55C\uB2E4."
    ].join("\n")
  };
}

exports.createPromptHistoryReferenceSection = createPromptHistoryReferenceSection;
exports.createPromptHistoryReferences = createPromptHistoryReferences;
