import{c as e,Q as t,j as i,m as l}from"./chunks/framework.DVkeSyfh.js";const u=JSON.parse('{"title":"代理配置","description":"","frontmatter":{},"headers":[],"relativePath":"guide/proxy.md","filePath":"guide/proxy.md"}'),o={name:"guide/proxy.md"};function r(s,a,p,n,d,c){return t(),i("div",null,[...a[0]||(a[0]=[l('<h1 id="代理配置" tabindex="-1">代理配置 <a class="header-anchor" href="#代理配置" aria-label="Permalink to &quot;代理配置&quot;">​</a></h1><p>AgentPulse 的本地代理路径是：</p><div class="language-text vp-adaptive-theme"><button title="Copy Code" class="copy"></button><span class="lang">text</span><pre class="shiki shiki-themes github-light github-dark vp-code" tabindex="0"><code><span class="line"><span>http://127.0.0.1:8080/proxy/{proxyKey}</span></span></code></pre></div><p>集成适配器会为不同工具生成代理配置计划。计划应用成功后，AgentPulse 会记录原始上游地址到本地代理地址的映射。</p><h2 id="安全流程" tabindex="-1">安全流程 <a class="header-anchor" href="#安全流程" aria-label="Permalink to &quot;安全流程&quot;">​</a></h2><p>配置变更必须支持：</p><ol><li>plan：生成计划，展示目标文件和变更意图。</li><li>backup：写入前备份原文件和元数据。</li><li>apply：应用配置变更。</li><li>rollback：按备份恢复或删除本次创建的配置文件。</li></ol><h2 id="流式响应" tabindex="-1">流式响应 <a class="header-anchor" href="#流式响应" aria-label="Permalink to &quot;流式响应&quot;">​</a></h2><p>代理层保持 SSE、chunked、未知长度响应的直接透传，不为了摘要记录阻塞用户侧响应路径。</p>',9)])])}const _=e(o,[["render",r]]);export{u as __pageData,_ as default};
