<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/">
    <channel>
        <title>Spike 博客</title>
        <link>https://leiyun.blog//</link>
        <description>技术|心得记录</description>
        <lastBuildDate>Sun, 17 May 2026 13:22:40 GMT</lastBuildDate>
        <docs>https://validator.w3.org/feed/docs/rss2.html</docs>
        <generator>https://github.com/jpmonette/feed</generator>
        <language>en-US</language>
        <copyright>All rights reserved 2026, spike</copyright>
        <item>
            <title><![CDATA[魔法森林篇]]></title>
            <link>https://leiyun.blog//article/36336bc9-a39e-815b-94ca-e58781b55047</link>
            <guid>https://leiyun.blog//article/36336bc9-a39e-815b-94ca-e58781b55047</guid>
            <pubDate>Wed, 06 May 2020 00:00:00 GMT</pubDate>
            <description><![CDATA[一个小男孩追逐风筝闯入魔法森林的奇幻故事]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-36336bc9a39e815b94cae58781b55047"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-36336bc9a39e81fb8297c36bdcad6b5f" data-id="36336bc9a39e81fb8297c36bdcad6b5f"><span><div id="36336bc9a39e81fb8297c36bdcad6b5f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36336bc9a39e81fb8297c36bdcad6b5f" title="🌴 魔法森林篇 🌴 — Chapter ¹"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">🌴 魔法森林篇 🌴 — Chapter ¹</span></span></h2><hr class="notion-hr notion-block-36336bc9a39e810a9d62eda6823626bc"/><div class="notion-text notion-block-36336bc9a39e819eba9cd984e08ceddd">远处的那个小男孩正在放着风筝</div><div class="notion-text notion-block-36336bc9a39e811a9811c2f83f8e8afc">风筝它飘呀飘……</div><div class="notion-text notion-block-36336bc9a39e817dbe51f2b809537e64">突然，风筝线极力撕断了自己的身体。风筝朝那个方向飞去，总有一种什么魔法吸引着它要去那片森林。他追呀追，脚步慢慢踏入这有着魔力的森林</div><hr class="notion-hr notion-block-36336bc9a39e8196878df6b731194df3"/><div class="notion-text notion-block-36336bc9a39e815990b0c899dc858288">☆🌳 🌳 🌳 🌲 🌲 🌲 🎄 🎄 🎄</div><hr class="notion-hr notion-block-36336bc9a39e814b90f7ccd13d313b44"/><blockquote class="notion-quote notion-block-36336bc9a39e81d28d26c534c1c9d3c3"><div>🌟 ⭐</div></blockquote><blockquote class="notion-quote notion-block-36336bc9a39e81d08bf7c4cb158c9de4"><div>记忆碎片🌾📷</div></blockquote><blockquote class="notion-quote notion-block-36336bc9a39e819fb765d21d9c868b57"><div>☁</div></blockquote><blockquote class="notion-quote notion-block-36336bc9a39e81f98b71c2e659c43c5e"><div>〰〰🌱🌤</div></blockquote><blockquote class="notion-quote notion-block-36336bc9a39e81a489bcc6a7053a745b"><div>✨ 💫</div></blockquote><hr class="notion-hr notion-block-36336bc9a39e811da578d31afe1ff392"/><div class="notion-text notion-block-36336bc9a39e8182b531c6ebda243531">☆🌳 🌳 🌳 🌲 🌲 🌲 🎄 🎄 🎄</div><hr class="notion-hr notion-block-36336bc9a39e81e1aa91f8ef4136c541"/><div class="notion-text notion-block-36336bc9a39e8149a112f01f2ac01742">他旋转着到处张望森林的每一个角落</div><div class="notion-text notion-block-36336bc9a39e814299d2c5a6f0651e44">寻找风筝我的到底在哪呢</div><hr class="notion-hr notion-block-36336bc9a39e81ec8299c253e7cea462"/><div class="notion-text notion-block-36336bc9a39e81fa8a23d946f2d6509a"><b>天空渐渐褪色</b></div><div class="notion-text notion-block-36336bc9a39e811fb74fdcb6732212b7"><b>可总有几丝残留的橙红色藏在云层角落</b></div><hr class="notion-hr notion-block-36336bc9a39e8178b550c7aaf084dd83"/><div class="notion-text notion-block-36336bc9a39e81be8134ef13fa082e8b">他慌张了，天快黑了，风筝还没找到。寻思着，明天再来找吧，他到处寻找出口，可四周全是密密麻麻的灌木丛，无奈之下，他坐在那里开始抽泣起来</div><div class="notion-text notion-block-36336bc9a39e81adac38f986f2f5fba9">一阵阵微风吹过来，干草的气味和乔木的拥抱，让他的恐惧终于慢慢被洗刷掉了</div><hr class="notion-hr notion-block-36336bc9a39e81879e47e570bb4012c0"/><div class="notion-text notion-block-36336bc9a39e81b7b9e0f2d5e94ced8e">🏝 🏔 ⛰️ 🏜</div><div class="notion-text notion-block-36336bc9a39e81cdaa95c3bf6b5177b1"><b>月亮挂在被填充成黑色的天空</b></div><div class="notion-text notion-block-36336bc9a39e81a08946c1de3414b6cd"><b>有好多处的星星正从黑色小漩涡中蠕动出来</b></div><div class="notion-text notion-block-36336bc9a39e81ecbcaef174f43fd98e"><b>拼命发着光</b> ✨</div><hr class="notion-hr notion-block-36336bc9a39e813ba961d9f803049749"/><div class="notion-text notion-block-36336bc9a39e814dbcfac2632c246f80">他抬起头来，看见高大乔木上好像挂着一个个什么发光的东西，他好想爬上面去看看。他卯足了力气往上爬呀爬，终于爬到上去了。他固定着坐在树杈上，努力地随便够着一个发光的东西</div><div class="notion-text notion-block-36336bc9a39e817fb468c4d9ef67e743">拿来一看，原来是个小竹杯。他打开密封的竹盖一闻，好像是山莓酿成的酒！</div><hr class="notion-hr notion-block-36336bc9a39e811abcb6c14462d0a0a4"/><div class="notion-text notion-block-36336bc9a39e814f9234f02dc80f7afa">被折射的月光照在他的脸上，他的眼睛正在寻找目标，原来树底下的那边还有一口被草卷裹着的井。他带着那杯山莓酒，顺着树爬到井的正上方，趴在树杈上，一点一点把酒倒入井里，这酒竟然有雾气！</div><div class="notion-text notion-block-36336bc9a39e8129b473fe3e327185e5">为了看清楚，他使劲揉了揉眼睛，由于脚没钩紧树杈，一下子随着这好像给森林浸泡过迟钝剂的雾气，慢帧视觉似的落入井中……</div><hr class="notion-hr notion-block-36336bc9a39e8194b21ad41bdfcdfb6b"/><div class="notion-text notion-block-36336bc9a39e810eaaa1c7bf25660420"><em>— End —</em></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[大佬博客]]></title>
            <link>https://leiyun.blog//article/exampleBlogs</link>
            <guid>https://leiyun.blog//article/exampleBlogs</guid>
            <pubDate>Thu, 29 Jan 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[收集值得参考的个人博客与技术站点，作为建站风格、内容组织和长期写作的灵感来源。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-2f736bc9a39e80ca8895f30a2182f214"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><h2 class="notion-h notion-h1 notion-h-indent-0 notion-block-2f736bc9a39e8081a696dad93a2907dc" data-id="2f736bc9a39e8081a696dad93a2907dc"><span><div id="2f736bc9a39e8081a696dad93a2907dc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#2f736bc9a39e8081a696dad93a2907dc" title="值得参考的博客"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">值得参考的博客</span></span></h2><div class="notion-text notion-block-36236bc9a39e819db00fcdddbf24263e">这里收集一些值得长期参考的个人博客与技术站点，后续可以按“内容质量、视觉风格、交互体验、建站实现”继续补充观察笔记。</div><div class="notion-row"><a class="notion-bookmark notion-block-2f736bc9a39e8090b44cc99328e8b35f" href="https://kang.ink/" target="_blank" rel="noopener noreferrer"><div><div class="notion-bookmark-title">雲風Blog | 行道修心 | kang.ink</div><div class="notion-bookmark-description">kang.ink</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fkang.ink%2Ffavicon.ico?table=block&amp;id=2f736bc9-a39e-8090-b44c-c99328e8b35f&amp;t=2f736bc9-a39e-8090-b44c-c99328e8b35f" alt="雲風Blog | 行道修心 | kang.ink" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://kang.ink/</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/images/page-cover/gradients_3.png" alt="雲風Blog | 行道修心 | kang.ink" loading="lazy" decoding="async"/></div></a></div><div class="notion-row"><a class="notion-bookmark notion-block-2f736bc9a39e8038a51eecf81fbdee03" href="https://www.aolifu.org/" target="_blank" rel="noopener noreferrer"><div><div class="notion-bookmark-title">奥利弗的狗窝 | 汪汪汪</div><div class="notion-bookmark-description">汪汪汪</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fstorage.xxlb.org%2Flogo.svg?table=block&amp;id=2f736bc9-a39e-8038-a51e-ecf81fbdee03&amp;t=2f736bc9-a39e-8038-a51e-ecf81fbdee03" alt="奥利弗的狗窝 | 汪汪汪" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://www.aolifu.org/</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fs3-us-west-2.amazonaws.com%2Fsecure.notion-static.com%2Faa63f0a1-e040-4c2d-9f82-9c50418b044f%2Fbackground2.jpeg?table=collection&amp;id=2bcb570e-49a7-45a7-9cb6-0c12078c0dc6&amp;t=2bcb570e-49a7-45a7-9cb6-0c12078c0dc6&amp;width=1080&amp;cache=v2&amp;t=2f736bc9-a39e-8038-a51e-ecf81fbdee03" alt="奥利弗的狗窝 | 汪汪汪" loading="lazy" decoding="async"/></div></a></div><div class="notion-row"><a class="notion-bookmark notion-block-2fd36bc9a39e8016859bf06193dff20d" href="https://blog.hehouhui.cn/" target="_blank" rel="noopener noreferrer"><div><div class="notion-bookmark-title">Honesty Blog | 花有重开日，人无再少年</div><div class="notion-bookmark-description">花有重开日，人无再少年</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fwww.hehouhui.cn%2Ffavicon.ico?table=block&amp;id=2fd36bc9-a39e-8016-859b-f06193dff20d&amp;t=2fd36bc9-a39e-8016-859b-f06193dff20d" alt="Honesty Blog | 花有重开日，人无再少年" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://blog.hehouhui.cn/</div></div></div><div class="notion-bookmark-image"><img style="object-fit:cover" src="https://www.notion.so/image/https%3A%2F%2Fblog-file.hehouhui.cn%2F202305111934350.jpeg?table=block&amp;id=2fd36bc9-a39e-8016-859b-f06193dff20d&amp;t=2fd36bc9-a39e-8016-859b-f06193dff20d" alt="Honesty Blog | 花有重开日，人无再少年" loading="lazy" decoding="async"/></div></a></div><div class="notion-row"><a class="notion-bookmark notion-block-2fd36bc9a39e80d98d32d5d2098abaa3" href="https://wcowin.work/" target="_blank" rel="noopener noreferrer"><div><div class="notion-bookmark-title">Wcowin&#x27;s Blog - 技术分享、开发笔记、生活随笔 - Wcowin&#x27;s Blog</div><div class="notion-bookmark-description">知足且上进，温柔且坚定。分享 MkDocs 教程、Mac 技巧、Python 开发、旅行记录等内容。</div><div class="notion-bookmark-link"><div class="notion-bookmark-link-icon"><img src="https://www.notion.so/image/https%3A%2F%2Fi.stardots.io%2Fwcowin%2F1750090373988.png?table=block&amp;id=2fd36bc9-a39e-80d9-8d32-d5d2098abaa3&amp;t=2fd36bc9-a39e-80d9-8d32-d5d2098abaa3" alt="Wcowin&#x27;s Blog - 技术分享、开发笔记、生活随笔 - Wcowin&#x27;s Blog" loading="lazy" decoding="async"/></div><div class="notion-bookmark-link-text">https://wcowin.work/</div></div></div></a></div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI 软件接入 Notion MCP 配置记录：Codex / CatPawAI / Trae]]></title>
            <link>https://leiyun.blog//article/notion-mcp-codex-catpawai-trae</link>
            <guid>https://leiyun.blog//article/notion-mcp-codex-catpawai-trae</guid>
            <pubDate>Fri, 15 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[记录 Codex、CatPawAI、Trae 等 AI 工具接入 Notion MCP 的完整配置过程，包括官方 MCP Server 和 suekou 非官方 MCP Server 两种方案的对比与配置方法。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-36136bc9a39e817e901af205751cbefd"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-block-36236bc9a39e81d29432fedf2903c483"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="💡">💡</span></div><div class="notion-callout-text">这篇文章整理了 Codex、CatPawAI、Trae 接入 Notion MCP 的配置路径，重点区分官方 MCP Server 与 suekou 非官方 Server 的使用场景、环境要求和配置方式。</div></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e819db5f3d4bd72cbbb0d" data-id="36136bc9a39e819db5f3d4bd72cbbb0d"><span><div id="36136bc9a39e819db5f3d4bd72cbbb0d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e819db5f3d4bd72cbbb0d" title="背景"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">背景</span></span></h3><div class="notion-text notion-block-36136bc9a39e81c48ed1c741020b54ec">为了让 AI 软件可以读取、整理和更新 Notion 文档，我尝试给 Codex、CatPawAI、Trae 等工具接入 Notion MCP。</div><div class="notion-text notion-block-36136bc9a39e81a5bf4cc42ad051e641">MCP 的作用是让 AI 客户端通过统一协议调用外部工具。接入 Notion MCP 后，AI 可以在授权范围内搜索页面、读取数据库、整理内容、创建文档和更新任务。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e817f8d57c117d0804d6f" data-id="36136bc9a39e817f8d57c117d0804d6f"><span><div id="36136bc9a39e817f8d57c117d0804d6f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e817f8d57c117d0804d6f" title="当前已验证方案"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">当前已验证方案</span></span></h3><div class="notion-text notion-block-36136bc9a39e81d28d12f413e8657507">目前在 CatPawAI 中已成功接入两种 Notion MCP Server：</div><ol start="1" class="notion-list notion-list-numbered notion-block-36136bc9a39e8194bc7edf01b4036652" style="list-style-type:decimal"><li>Notion 官方 MCP Server</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-36136bc9a39e81e9b2e0ff727de9fb40" style="list-style-type:decimal"><li>suekou 维护的非官方 Notion MCP Server</li></ol><div class="notion-text notion-block-36136bc9a39e814eb4e6c90541c11ccb">两种方式都可以使用，但定位略有不同。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e811fbfe0f09bfd107c6b" data-id="36136bc9a39e811fbfe0f09bfd107c6b"><span><div id="36136bc9a39e811fbfe0f09bfd107c6b" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e811fbfe0f09bfd107c6b" title="方案一：Notion 官方 MCP Server"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">方案一：Notion 官方 MCP Server</span></span></h3><div class="notion-text notion-block-36136bc9a39e8141ac03f9e98a9acb56">官方仓库：</div><div class="notion-text notion-block-36136bc9a39e815e8105c21fd9a0baef">https://github.com/makenotion/notion-mcp-server</div><div class="notion-text notion-block-36136bc9a39e81f88826e83b953bcfba">官方远程 MCP 地址：</div><div class="notion-text notion-block-36136bc9a39e81fea93ef9e18e3704d1">https://mcp.notion.com/mcp</div><div class="notion-text notion-block-36136bc9a39e816d974cf95fed9b762b">npm 包：</div><div class="notion-text notion-block-36136bc9a39e811cb156d3cb3b6aa60e">`@notionhq/notion-mcp-server`</div><div class="notion-text notion-block-36136bc9a39e8167a1a3c9387b3bd839">本地全局安装命令：</div><div class="notion-text notion-block-36136bc9a39e810abe98d1e75020c84f">Windows 本地命令路径示例：</div><div class="notion-text notion-block-36136bc9a39e81149e85d8f80ecb1105">`D:\dev\nodejs\node_global\notion-mcp-server.cmd`</div><div class="notion-text notion-block-36136bc9a39e8197adc0f87952a5d539">CatPawAI JSON 配置示例：</div><div class="notion-text notion-block-36136bc9a39e81329ad9ca3a3078f998">特点：</div><ul class="notion-list notion-list-disc notion-block-36136bc9a39e8153a868e1cd7a90d794"><li>官方维护，稳定性更好</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e8142a1ccd83d86f8c975"><li>适合标准 Notion API 读写</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81489f23d35351b26dbd"><li>默认 stdio 方式适合本地 AI 客户端</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81cd82f3e4646ec9b98d"><li>也支持 HTTP transport</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e813bb979cd0d7c12904f" data-id="36136bc9a39e813bb979cd0d7c12904f"><span><div id="36136bc9a39e813bb979cd0d7c12904f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e813bb979cd0d7c12904f" title="方案二：非官方 suekou MCP Server"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">方案二：非官方 suekou MCP Server</span></span></h3><div class="notion-text notion-block-36136bc9a39e811bba3ec14e30ad20df">仓库地址：</div><div class="notion-text notion-block-36136bc9a39e8181a24dccd7811f6f5f">https://github.com/suekou/mcp-notion-server</div><div class="notion-text notion-block-36136bc9a39e819dac0ed4f23fe54907">npm 包：</div><div class="notion-text notion-block-36136bc9a39e81ac9c42ec8320006aca">`@suekou/mcp-notion-server`</div><div class="notion-text notion-block-36136bc9a39e81b5bb64e76fc6dc1613">本地全局安装命令：</div><div class="notion-text notion-block-36136bc9a39e8171a184cb907d89c068">Windows 本地命令路径示例：</div><div class="notion-text notion-block-36136bc9a39e8191ae0ec47873f9a53d">`D:\dev\nodejs\node_global\mcp-notion-server.cmd`</div><div class="notion-text notion-block-36136bc9a39e81d7900bf9c6d6027104">CatPawAI JSON 配置示例：</div><div class="notion-text notion-block-36136bc9a39e81edbcf9d16578bcec67">特点：</div><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81cb903ad1f65c938453"><li>更偏向 AI 文档编辑体验</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e815290e0dd8bb30014a1"><li>适合读取页面、整理内容、追加 Markdown、批量处理文档</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81868d2df9c7960fb26f"><li>不是 Notion 官方维护</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e816a8f87c72a66f63509"><li>需要 Node.js 22 或更高版本</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e81998a9dce56a2c7a8ce" data-id="36136bc9a39e81998a9dce56a2c7a8ce"><span><div id="36136bc9a39e81998a9dce56a2c7a8ce" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81998a9dce56a2c7a8ce" title="Node.js 环境"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Node.js 环境</span></span></h3><div class="notion-text notion-block-36136bc9a39e815da201ff38123858a0">当前使用 nvm 管理 Node.js 版本。</div><div class="notion-text notion-block-36136bc9a39e8142b197d842200cd17d">推荐版本：</div><div class="notion-text notion-block-36136bc9a39e816fabdbd42c097be589">Node.js 22 LTS</div><div class="notion-text notion-block-36136bc9a39e81059a23d2a27711ca8c">常用命令：</div><div class="notion-text notion-block-36136bc9a39e81659749c19d4247b87e">如果 npm 下载失败，可以切换国内镜像：</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e81399b5fc940ce67cfeb" data-id="36136bc9a39e81399b5fc940ce67cfeb"><span><div id="36136bc9a39e81399b5fc940ce67cfeb" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81399b5fc940ce67cfeb" title="Windows 全局 npm 路径"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Windows 全局 npm 路径</span></span></h3><div class="notion-text notion-block-36136bc9a39e816a9f7fdef65027bba3">本机 npm 全局安装目录示例：</div><div class="notion-text notion-block-36136bc9a39e81c1ad50e191c1ad136a">`D:\dev\nodejs\node_global`</div><div class="notion-text notion-block-36136bc9a39e81568650ca39deb93994">如果命令行提示找不到 notion-mcp-server，需要把这个目录加入系统 Path。</div><div class="notion-text notion-block-36136bc9a39e8182b7ccc7e95f131234">也可以在 CatPawAI 配置中直接使用绝对路径，这种方式最稳定。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e81ef985eeaa03b0a23b6" data-id="36136bc9a39e81ef985eeaa03b0a23b6"><span><div id="36136bc9a39e81ef985eeaa03b0a23b6" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81ef985eeaa03b0a23b6" title="Notion Token 注意事项"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Notion Token 注意事项</span></span></h3><div class="notion-text notion-block-36136bc9a39e81da8e2ffb9adc827531">Notion Integration Token 需要从 Notion integrations 页面创建：</div><div class="notion-text notion-block-36136bc9a39e817790e1dbd46f3da5f3">https://www.notion.so/profile/integrations</div><div class="notion-text notion-block-36136bc9a39e81eabb87e23c3990a649">创建后，需要把目标页面或数据库授权给该 Integration。</div><div class="notion-text notion-block-36136bc9a39e819a838cf78e995fbd64">如果页面没有授权，MCP Server 即使连接成功，也无法读取 Notion 内容。</div><div class="notion-text notion-block-36136bc9a39e81939573f4b784bdd0f0">重要安全提醒：</div><div class="notion-text notion-block-36136bc9a39e81568d54ec87e616d4fe">Token 不要发到聊天、截图或公开文档中。如果曾经泄露，需要立刻重新生成 token，并废弃旧 token。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e81f6a856c1ed9a65286d" data-id="36136bc9a39e81f6a856c1ed9a65286d"><span><div id="36136bc9a39e81f6a856c1ed9a65286d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81f6a856c1ed9a65286d" title="推荐使用方式"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">推荐使用方式</span></span></h3><div class="notion-text notion-block-36136bc9a39e813eb404d49df98eff74">日常建议保留两个 MCP Server：</div><ul class="notion-list notion-list-disc notion-block-36136bc9a39e812dac9ee501258ff903"><li>notion-official：用于稳定的官方读写</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e8107a64aeb23323ed549"><li>notion-suekou：用于更顺手的 AI 文档整理和追加写入</li></ul><div class="notion-text notion-block-36136bc9a39e81468999ccb4af7d968f">示例完整配置：</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e8139b1a6f225d007f6ca" data-id="36136bc9a39e8139b1a6f225d007f6ca"><span><div id="36136bc9a39e8139b1a6f225d007f6ca" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e8139b1a6f225d007f6ca" title="建议增加的使用规则"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">建议增加的使用规则</span></span></h3><div class="notion-text notion-block-36136bc9a39e8192b326e4bab5a310ca">为了避免 AI 误改 Notion 内容，建议在 Notion 中新增一个页面，命名为：</div><div class="notion-text notion-block-36136bc9a39e81028de8ef642c50b9b6">AI 操作规则</div><div class="notion-text notion-block-36136bc9a39e8110b553eff7d3bd6efc">建议规则：</div><ol start="1" class="notion-list notion-list-numbered notion-block-36136bc9a39e81fc9220c4182ff8337c" style="list-style-type:decimal"><li>AI 默认只读取，不修改</li></ol><ol start="2" class="notion-list notion-list-numbered notion-block-36136bc9a39e819c81fbe18cd4ad0d8a" style="list-style-type:decimal"><li>批量修改前必须先列出 dry-run 清单</li></ol><ol start="3" class="notion-list notion-list-numbered notion-block-36136bc9a39e815d9568ea70acc43e07" style="list-style-type:decimal"><li>不允许删除页面或数据库</li></ol><ol start="4" class="notion-list notion-list-numbered notion-block-36136bc9a39e81398f8fe5de2c571f9c" style="list-style-type:decimal"><li>修改重要页面前必须先总结当前内容</li></ol><ol start="5" class="notion-list notion-list-numbered notion-block-36136bc9a39e81b8ac92d9bedde97215" style="list-style-type:decimal"><li>每次修改后追加一段变更记录</li></ol><ol start="6" class="notion-list notion-list-numbered notion-block-36136bc9a39e81409347fca495a6dffd" style="list-style-type:decimal"><li>项目相关文档需要明确项目名，例如 fjfy、spike 等</li></ol><ol start="7" class="notion-list notion-list-numbered notion-block-36136bc9a39e811fab23cab3e33dfa58" style="list-style-type:decimal"><li>token、密码、服务器地址等敏感信息不要写入公开页面</li></ol><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e8137b2e6e78e41e9e7af" data-id="36136bc9a39e8137b2e6e78e41e9e7af"><span><div id="36136bc9a39e8137b2e6e78e41e9e7af" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e8137b2e6e78e41e9e7af" title="常用提示词"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">常用提示词</span></span></h3><div class="notion-text notion-block-36136bc9a39e8157b571f62becd1c35c">只读总结：</div><div class="notion-text notion-block-36136bc9a39e81b5b35bffeddbea48d1">请搜索 Notion 中标题包含&quot;xxx&quot;的页面，只总结内容，不要修改。</div><div class="notion-text notion-block-36136bc9a39e816d809ee2cda1bf3475">创建文章：</div><div class="notion-text notion-block-36136bc9a39e8163a85ffe69c2ea6082">请在&quot;spike博客&quot;下面新增一篇文章，标题为&quot;xxx&quot;，内容如下。</div><div class="notion-text notion-block-36136bc9a39e81b78564fa75a201ce78">批量修改前预览：</div><div class="notion-text notion-block-36136bc9a39e8174b627da967a499b3d">请先 dry-run，列出你准备修改的页面、字段和值。等我确认&quot;执行&quot;后再真正修改。</div><div class="notion-text notion-block-36136bc9a39e817bb6e6fbf37ceca95d">任务整理：</div><div class="notion-text notion-block-36136bc9a39e813cb1a0cdec633f11e0">请读取任务库中状态为&quot;进行中&quot;的任务，按优先级生成今日待办，不要修改原页面。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e815faaa8d31a229aadc2" data-id="36136bc9a39e815faaa8d31a229aadc2"><span><div id="36136bc9a39e815faaa8d31a229aadc2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e815faaa8d31a229aadc2" title="当前结论"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">当前结论</span></span></h3><div class="notion-text notion-block-36136bc9a39e81c29b7cc7d24a61b5ac">如果 AI 客户端支持远程 MCP，优先尝试官方远程地址：</div><div class="notion-text notion-block-36136bc9a39e81a29a7bed51b7d482d2">https://mcp.notion.com/mcp</div><div class="notion-text notion-block-36136bc9a39e81b4961cf9f902803edc">如果客户端只支持 JSON / stdio 配置，则推荐本地 Node.js 22 + 全局安装 MCP Server。</div><div class="notion-text notion-block-36136bc9a39e8191a409c91a3b9d6880">当前 CatPawAI 已验证可以通过 JSON 配置连接本地 Notion MCP Server。</div></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[视频剪辑复盘：从兴趣尝试到账号定位]]></title>
            <link>https://leiyun.blog//article/video_teach</link>
            <guid>https://leiyun.blog//article/video_teach</guid>
            <pubDate>Mon, 05 Jan 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[仅供列表展示、文章无内容]]></description>
            <content:encoded><![CDATA[仅供列表展示、文章无内容]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[AI 问答沉淀：知识点与技能卡片]]></title>
            <link>https://leiyun.blog//article/ai-knowledge-notes</link>
            <guid>https://leiyun.blog//article/ai-knowledge-notes</guid>
            <pubDate>Fri, 15 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[用于沉淀日常询问 AI 后得到的可复用知识点、排障经验、工具用法和配置技巧。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-36136bc9a39e81efafdfea4004eba1e6"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-blue_background_co notion-block-b8b7661063174099b69702130c52ebb2"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="i">i</span></div><div class="notion-callout-text"><div class="notion-text notion-block-9ec014c0a7374c8e83dacf2abc825802">这篇文章用来沉淀“问 AI 之后真正学到的东西”。不是保存完整聊天记录，而是把其中可复用的知识点、技能点、排障方法和配置经验整理成短条目。</div></div></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-8e7e219c70b04f0cb04b568620b85727" data-id="8e7e219c70b04f0cb04b568620b85727"><span><div id="8e7e219c70b04f0cb04b568620b85727" class="notion-header-anchor"></div><a class="notion-hash-link" href="#8e7e219c70b04f0cb04b568620b85727" title="记录原则"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">记录原则</span></span></h3><ul class="notion-list notion-list-disc notion-block-701c49453b9b43aab606df198fbd0795"><li>只记录结论、原理和可复用步骤，不完整复制聊天过程。</li></ul><ul class="notion-list notion-list-disc notion-block-ea9d91b98b3f4fbd8f1ec2cd1f2a60f9"><li>每条尽量写清楚：问题场景、核心原理、操作步骤、注意事项。</li></ul><ul class="notion-list notion-list-disc notion-block-743102de0d214f528dadf5201c7a20b9"><li>涉及账号、token、内网地址、密码时，只写泛化说明，不写真实值。</li></ul><ul class="notion-list notion-list-disc notion-block-9e4a77cf8c794f569020a4d254b5db3b"><li>如果某个知识点可以独立成文，再拆成单独文章。</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-31171205f1884db889c0aeea762d9fa0" data-id="31171205f1884db889c0aeea762d9fa0"><span><div id="31171205f1884db889c0aeea762d9fa0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#31171205f1884db889c0aeea762d9fa0" title="记录模板"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">记录模板</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-a35a067de8c94f3cb1974fdcaa551013" data-id="a35a067de8c94f3cb1974fdcaa551013"><span><div id="a35a067de8c94f3cb1974fdcaa551013" class="notion-header-anchor"></div><a class="notion-hash-link" href="#a35a067de8c94f3cb1974fdcaa551013" title="标题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">标题</span></span></h4><div class="notion-text notion-block-91485101956b4d6aa682c3e91af892a7">问题场景：</div><div class="notion-text notion-block-25faad5b20ef41b38c069dce638ff74b">核心原理：</div><div class="notion-text notion-block-bfbad466208c4e1aba2435f315cc7071">操作步骤：</div><div class="notion-text notion-block-ee0e32b696244e37ac5c524ccd95174a">注意事项：</div><div class="notion-text notion-block-87228418a9ec407e9026f3aa09715b7a">相关链接：</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-87d73eac6e29418ab42e6f1c7df78ca3" data-id="87d73eac6e29418ab42e6f1c7df78ca3"><span><div id="87d73eac6e29418ab42e6f1c7df78ca3" class="notion-header-anchor"></div><a class="notion-hash-link" href="#87d73eac6e29418ab42e6f1c7df78ca3" title="已沉淀知识点"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">已沉淀知识点</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-4e808d483ee544ca9812120757cbbb7f" data-id="4e808d483ee544ca9812120757cbbb7f"><span><div id="4e808d483ee544ca9812120757cbbb7f" class="notion-header-anchor"></div><a class="notion-hash-link" href="#4e808d483ee544ca9812120757cbbb7f" title="Codex 切换中转站后历史记录消失"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">Codex 切换中转站后历史记录消失</span></span></h4><div class="notion-text notion-block-4c5e8751dc484726b6e09ab2c9ed646e">问题场景：使用 <code class="notion-inline-code">ccswitch</code> 切换 Codex 中转站或 provider 后，旧历史记录看不到。</div><div class="notion-text notion-block-c2fc7636ba5c4368b9007d55bbdcd581">核心原理：Codex 会按 <code class="notion-inline-code">model_provider</code>、账号或配置上下文隔离历史线程；历史通常还在本地 <code class="notion-inline-code">.codex</code> 目录，只是当前 provider 的索引里没有。</div><div class="notion-text notion-block-63e8cfeb80f3465ab0e9248524959e87">操作步骤：</div><div class="notion-text notion-block-360b94fde8894301b0079ad783fbf301">注意事项：执行前确认 <code class="notion-inline-code">--codex-home</code> 指向正确的 Codex 数据目录。重要历史可以先备份 <code class="notion-inline-code">.codex</code>。 </div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-800410b5e7df41e4b1948d7146b16bc0" data-id="800410b5e7df41e4b1948d7146b16bc0"><span><div id="800410b5e7df41e4b1948d7146b16bc0" class="notion-header-anchor"></div><a class="notion-hash-link" href="#800410b5e7df41e4b1948d7146b16bc0" title="后续可补充方向"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">后续可补充方向</span></span></h3><ul class="notion-list notion-list-disc notion-block-51e4bc842c4a4f0392e6d46488cbf8e1"><li>Codex / CatPawAI / Trae 接入 MCP 的差异。</li></ul><ul class="notion-list notion-list-disc notion-block-4112ec66eb034e39aba6c70ce7a70b36"><li>Notion MCP 官方版和非官方版的适用场景。</li></ul><ul class="notion-list notion-list-disc notion-block-a8040375b64448869852095a146b1209"><li>Windows 下 npm 全局路径、nvm、Node 版本切换经验。</li></ul><ul class="notion-list notion-list-disc notion-block-6c6c833dfdb74eae91e35454b83a2e44"><li>Charles、FoxyProxy、v2rayN / Clash Verge 代理分流经验。</li></ul><ul class="notion-list notion-list-disc notion-block-71174d8e1d774ea9af4017a7779da1c2"><li>Oracle 常用 SQL 排障片段。</li></ul><ul class="notion-list notion-list-disc notion-block-e5088a0bcb014acfae903b803aaf494a"><li>Vue 响应式更新和组件错误拦截经验。</li></ul></main></div>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Codex 切换中转站后历史记录消失：用 codex-threadripper 同步回来]]></title>
            <link>https://leiyun.blog//article/codex-threadripper-provider-sync</link>
            <guid>https://leiyun.blog//article/codex-threadripper-provider-sync</guid>
            <pubDate>Fri, 15 May 2026 00:00:00 GMT</pubDate>
            <description><![CDATA[记录使用 ccswitch 切换 Codex 中转站或 model_provider 后，历史会话看不到的原因，以及如何用 codex-threadripper 将旧线程同步到当前 provider 可见桶。]]></description>
            <content:encoded><![CDATA[<div id="notion-article" class="mx-auto overflow-hidden "><main class="notion light-mode notion-page notion-block-36136bc9a39e8160ac0bf7346b0e84ec"><div class="notion-viewport"></div><div class="notion-collection-page-properties"></div><div class="notion-callout notion-yellow_background_co notion-block-ef68809529ef4bc6b2a9df00fb3ee1b9"><div class="notion-page-icon-inline notion-page-icon-span"><span class="notion-page-icon" role="img" aria-label="i">i</span></div><div class="notion-callout-text"><div class="notion-text notion-block-e3f087fea691467298d87c770f58473d">这篇笔记记录一个很具体的问题：我用 <code class="notion-inline-code">ccswitch</code> 切换 Codex 中转站后，之前的 Codex 历史记录突然看不到了。解决办法是用 <code class="notion-inline-code">codex-threadripper</code> 把旧记录同步到当前 provider 可见的历史桶里。</div></div></div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e8134abbbe2877257b9f2" data-id="36136bc9a39e8134abbbe2877257b9f2"><span><div id="36136bc9a39e8134abbbe2877257b9f2" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e8134abbbe2877257b9f2" title="问题现象"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">问题现象</span></span></h3><div class="notion-text notion-block-36136bc9a39e81108b08e5032ade493e">我在 Codex 里切换不同的中转站或模型提供方后，发现之前的对话记录不见了。不是 <code class="notion-inline-code">.codex</code> 目录里的历史真的被删了，而是 Codex 当前读取历史记录时，会按配置里的 <code class="notion-inline-code">model_provider</code> 等信息去区分不同来源。</div><div class="notion-text notion-block-dd38fb4d9335467c82683ea14c344c96">换句话说：历史还在本机，只是当前 provider 看不到旧 provider 下的 thread。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-1569d30b7b25433fba93a4a7f49df3dc" data-id="1569d30b7b25433fba93a4a7f49df3dc"><span><div id="1569d30b7b25433fba93a4a7f49df3dc" class="notion-header-anchor"></div><a class="notion-hash-link" href="#1569d30b7b25433fba93a4a7f49df3dc" title="为什么切换 provider 后历史会消失"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">为什么切换 provider 后历史会消失</span></span></h3><div class="notion-text notion-block-36136bc9a39e8111b256f3ca653a3fd4">Codex 的本地目录通常在：</div><div class="notion-text notion-block-36136bc9a39e8195bd12f959c85fbec0">里面会存配置、会话、索引、日志等数据。</div><div class="notion-text notion-block-c1c2ca3b5e194c74817a58a5824bd2be">当你用 <code class="notion-inline-code">ccswitch</code> 切换中转站时，常见变化不是只换一个 API 地址，而是会一起影响这些信息：</div><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81b2bbd7d212ab25226a"><li><code class="notion-inline-code">model_provider</code>：当前使用的模型提供方名称，例如官方 OpenAI、第三方中转站、自定义 provider。</li></ul><ul class="notion-list notion-list-disc notion-block-dcf4d2eb1a0c4527abd04ec207843ddf"><li><code class="notion-inline-code">base_url</code>：请求发往哪个 API 网关或中转站。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e818ebdfde10e6ed71c13"><li><code class="notion-inline-code">model</code>：当前默认模型。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81618030f9792026cf41"><li>认证信息：不同 provider 可能使用不同 token 或登录态。</li></ul><div class="notion-text notion-block-36136bc9a39e817e9afadf746114efc7">Codex 为了避免不同账号、不同 provider 的历史混在一起，会把历史线程按 provider / 账号 / 配置上下文做隔离。这样做的好处是安全和清晰，坏处是你切换 provider 后，旧 provider 下的历史记录不会自然出现在新 provider 的列表里。</div><div class="notion-text notion-block-36136bc9a39e81a8b0d6ccea4d4e6375">所以看到“历史没了”时，真实情况通常是：</div><ul class="notion-list notion-list-disc notion-block-fc25c22047bf4c1d956e62d461881f64"><li>原始会话文件还在 <code class="notion-inline-code">.codex</code> 目录里。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e819da7fadb0556b91dcc"><li>当前 provider 的历史索引里没有这些旧 thread。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81d9943bf121d440bd45"><li>需要把旧 thread 同步到当前 provider 可见的索引中。</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e81f4ac95e1de9c451373" data-id="36136bc9a39e81f4ac95e1de9c451373"><span><div id="36136bc9a39e81f4ac95e1de9c451373" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81f4ac95e1de9c451373" title="解决工具：codex-threadripper"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">解决工具：codex-threadripper</span></span></h3><div class="notion-text notion-block-36136bc9a39e8140a72ad3ce2be6489c"><code class="notion-inline-code">codex-threadripper</code> 是一个用于处理 Codex 本地历史线程的命令行工具。它可以扫描 Codex home 目录，把历史 thread 同步到当前环境可查询、可显示的位置。</div><div class="notion-text notion-block-4acdf684a5dd42ce8572d9a094ee9a7e">这里的重点不是恢复删除文件，而是让当前 provider 能重新看见之前的会话记录。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e81f3bd20f4c6cc11c0b8" data-id="36136bc9a39e81f3bd20f4c6cc11c0b8"><span><div id="36136bc9a39e81f3bd20f4c6cc11c0b8" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81f3bd20f4c6cc11c0b8" title="最重要的命令"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">最重要的命令</span></span></h3><div class="notion-text notion-block-36136bc9a39e815dbe65df59d950c184">在 Windows 上，我当前使用的是：</div><div class="notion-text notion-block-36136bc9a39e81cf9086d3065767fd0f">执行后，它会读取指定的 Codex home，并同步历史线程。</div><div class="notion-text notion-block-36136bc9a39e81da87e1d8503dbdec0e">参数解释：</div><ul class="notion-list notion-list-disc notion-block-72465d1babdf4ae992a075687f6f62e3"><li><code class="notion-inline-code">codex-threadripper</code>：工具命令名。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e816080e5e3a9b92159c5"><li><code class="notion-inline-code">--codex-home &quot;C:\Users\雷云\.codex&quot;</code>：指定 Codex 的本地数据目录。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81b98593cf62a40faebf"><li><code class="notion-inline-code">sync</code>：执行同步，把历史 thread 更新到当前可用索引。</li></ul><div class="notion-text notion-block-b7a71d89405444178db90cac94a3a86a">如果你的 Windows 用户名或路径不同，把 <code class="notion-inline-code">C:\Users\雷云\.codex</code> 换成自己的路径。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-215569572e86403fa51e8d2505f99558" data-id="215569572e86403fa51e8d2505f99558"><span><div id="215569572e86403fa51e8d2505f99558" class="notion-header-anchor"></div><a class="notion-hash-link" href="#215569572e86403fa51e8d2505f99558" title="推荐使用流程"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">推荐使用流程</span></span></h3><ul class="notion-list notion-list-disc notion-block-e3a76b9eeec04bc4a86d613c999fc60f"><li>用 <code class="notion-inline-code">ccswitch</code> 切换到你现在要使用的中转站。</li></ul><ul class="notion-list notion-list-disc notion-block-1c1e8da8b98b465d96e06942c2f9574f"><li>确认 Codex 当前能正常启动。</li></ul><ul class="notion-list notion-list-disc notion-block-d29c3edd63934b43bdf528ba32a62fcf"><li>执行同步命令：</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81a78e69f4e2002aaa6f"><li>重新打开 Codex 或刷新历史列表。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e811991bcfe7bb525b5f1"><li>检查旧会话是否重新出现。</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e8152896bcbbaa9d4c7bd" data-id="36136bc9a39e8152896bcbbaa9d4c7bd"><span><div id="36136bc9a39e8152896bcbbaa9d4c7bd" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e8152896bcbbaa9d4c7bd" title="什么时候需要执行 sync"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">什么时候需要执行 sync</span></span></h3><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81b08f82c64d73292e2b"><li>切换了 Codex 中转站后，旧会话看不到。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81b4830ec1f0ae7e39d2"><li>修改了 <code class="notion-inline-code">model_provider</code> 后，历史列表变空。</li></ul><ul class="notion-list notion-list-disc notion-block-36136bc9a39e81b68dd0d2d3faed3420"><li>换过 Codex 配置目录，想重新索引旧线程。</li></ul><ul class="notion-list notion-list-disc notion-block-05858b00d9fc44bd9ee1c270d3c1c9d3"><li>重装或升级 Codex 后，历史记录还在本机但界面里不显示。</li></ul><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-36136bc9a39e8158afbfecf994ae377d" data-id="36136bc9a39e8158afbfecf994ae377d"><span><div id="36136bc9a39e8158afbfecf994ae377d" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e8158afbfecf994ae377d" title="常见问题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">常见问题</span></span></h3><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-36136bc9a39e81448687ed3850910103" data-id="36136bc9a39e81448687ed3850910103"><span><div id="36136bc9a39e81448687ed3850910103" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81448687ed3850910103" title="执行后还是看不到历史怎么办"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">执行后还是看不到历史怎么办</span></span></h4><div class="notion-text notion-block-36136bc9a39e8181b827e0acac8351fc">先检查 <code class="notion-inline-code">--codex-home</code> 是否指向真正的 Codex 数据目录。Windows 默认一般是：</div><div class="notion-text notion-block-1e061e53b0a94530825eb4f41c5b3ff0">如果你有多个 Codex 环境，可能历史不在当前目录。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-36136bc9a39e81e1a1b6eaca4c8229e4" data-id="36136bc9a39e81e1a1b6eaca4c8229e4"><span><div id="36136bc9a39e81e1a1b6eaca4c8229e4" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81e1a1b6eaca4c8229e4" title="路径里有中文会不会有问题"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">路径里有中文会不会有问题</span></span></h4><div class="notion-text notion-block-36136bc9a39e818db648f14082a09915">一般可以正常使用，但路径必须加英文双引号：</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-36136bc9a39e81babdb3c17aad1bda01" data-id="36136bc9a39e81babdb3c17aad1bda01"><span><div id="36136bc9a39e81babdb3c17aad1bda01" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81babdb3c17aad1bda01" title="这个命令会不会删除历史"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">这个命令会不会删除历史</span></span></h4><div class="notion-text notion-block-36136bc9a39e81168540fef951df91b3"><code class="notion-inline-code">sync</code> 的目标是同步索引，不是删除历史。为了稳妥，重要历史可以先备份整个 <code class="notion-inline-code">.codex</code> 目录。</div><h4 class="notion-h notion-h3 notion-h-indent-1 notion-block-36136bc9a39e81fea766d9938482ec0c" data-id="36136bc9a39e81fea766d9938482ec0c"><span><div id="36136bc9a39e81fea766d9938482ec0c" class="notion-header-anchor"></div><a class="notion-hash-link" href="#36136bc9a39e81fea766d9938482ec0c" title="切换 provider 是什么概念"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">切换 provider 是什么概念</span></span></h4><div class="notion-text notion-block-36136bc9a39e8005b8fdd7a441bd3745">可以把 provider 理解成“Codex 当前连接的模型服务来源”。官方 OpenAI、第三方中转站、自建网关，都可以是不同 provider。不同 provider 的配置、认证和历史上下文可能被 Codex 分开管理。</div><h3 class="notion-h notion-h2 notion-h-indent-0 notion-block-0e2a4b5964454d18991a1abc4502162e" data-id="0e2a4b5964454d18991a1abc4502162e"><span><div id="0e2a4b5964454d18991a1abc4502162e" class="notion-header-anchor"></div><a class="notion-hash-link" href="#0e2a4b5964454d18991a1abc4502162e" title="我的结论"><svg viewBox="0 0 16 16" width="16" height="16"><path fill-rule="evenodd" d="M7.775 3.275a.75.75 0 001.06 1.06l1.25-1.25a2 2 0 112.83 2.83l-2.5 2.5a2 2 0 01-2.83 0 .75.75 0 00-1.06 1.06 3.5 3.5 0 004.95 0l2.5-2.5a3.5 3.5 0 00-4.95-4.95l-1.25 1.25zm-4.69 9.64a2 2 0 010-2.83l2.5-2.5a2 2 0 012.83 0 .75.75 0 001.06-1.06 3.5 3.5 0 00-4.95 0l-2.5 2.5a3.5 3.5 0 004.95 4.95l1.25-1.25a.75.75 0 00-1.06-1.06l-1.25 1.25a2 2 0 01-2.83 0z"></path></svg></a><span class="notion-h-title">我的结论</span></span></h3><div class="notion-text notion-block-de226f48436a40ddb3b95daa131232dd">如果你用 <code class="notion-inline-code">ccswitch</code> 切换中转站后发现 Codex 历史记录消失，第一反应不要慌，先不要删配置，也不要重装。</div><div class="notion-text notion-block-ba84ac43555744b0ab920616196a03aa">先执行：</div><div class="notion-text notion-block-e75c026f4b284f2cb311fefa6b96385c">很多情况下，历史只是没有同步到当前 provider，而不是彻底丢了。</div></main></div>]]></content:encoded>
        </item>
    </channel>
</rss>