<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>开发容器 &#8211; mylogs.cn</title>
	<atom:link href="https://mylogs.cn/tag/%e5%bc%80%e5%8f%91%e5%ae%b9%e5%99%a8/feed/" rel="self" type="application/rss+xml" />
	<link>https://mylogs.cn</link>
	<description>发现、记录、分享</description>
	<lastBuildDate>Tue, 29 Sep 2026 16:18:33 +0000</lastBuildDate>
	<language>zh-Hans</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	
	<item>
		<title>VS Code 1.138 发布：AI 智能体进开发容器</title>
		<link>https://mylogs.cn/vs-code-1-138-%e5%8f%91%e5%b8%83%ef%bc%9aai-%e6%99%ba%e8%83%bd%e4%bd%93%e8%bf%9b%e5%bc%80%e5%8f%91%e5%ae%b9%e5%99%a8/</link>
		
		<dc:creator><![CDATA[steve, zhang]]></dc:creator>
		<pubDate>Thu, 17 Sep 2026 09:00:03 +0000</pubDate>
				<category><![CDATA[科技]]></category>
		<category><![CDATA[AI 智能体]]></category>
		<category><![CDATA[AI 编程工具]]></category>
		<category><![CDATA[Codex]]></category>
		<category><![CDATA[GitHub Copilot]]></category>
		<category><![CDATA[VS Code]]></category>
		<category><![CDATA[开发容器]]></category>
		<category><![CDATA[微软]]></category>
		<guid isPermaLink="false">https://mylogs.cn/vs-code-1-138-%e5%8f%91%e5%b8%83%ef%bc%9aai-%e6%99%ba%e8%83%bd%e4%bd%93%e8%bf%9b%e5%bc%80%e5%8f%91%e5%ae%b9%e5%99%a8/</guid>

					<description><![CDATA[微软于 9 月 17 日发布 Visual Studio Code 1.138 版本更新。本次更新的核心方向是 [&#8230;]]]></description>
										<content:encoded><![CDATA[<figure data-wp-context="{&quot;imageId&quot;:&quot;6ac11ed2480b6&quot;}" data-wp-interactive="core/image" data-wp-key="6ac11ed2480b6" class="wp-block-image wp-lightbox-container"><img decoding="async" data-wp-class--hide="state.isContentHidden" data-wp-class--show="state.isContentVisible" data-wp-init="callbacks.setButtonStyles" data-wp-on--click="actions.showLightbox" data-wp-on--load="callbacks.setButtonStyles" data-wp-on--pointerdown="actions.preloadImage" data-wp-on--pointerenter="actions.preloadImageWithDelay" data-wp-on--pointerleave="actions.cancelPreload" data-wp-on-window--resize="callbacks.setButtonStyles" style="max-width:100%;height:auto" src="https://mylogs.cn/wp-content/uploads/2026/09/763faf0f2e095eabbffed130e116a7f7_header.webp" alt="微软发布 VS Code 1.138 更新" /><button
			class="lightbox-trigger"
			type="button"
			aria-haspopup="dialog"
			data-wp-bind--aria-label="state.thisImage.triggerButtonAriaLabel"
			data-wp-init="callbacks.initTriggerButton"
			data-wp-on--click="actions.showLightbox"
			data-wp-style--right="state.thisImage.buttonRight"
			data-wp-style--top="state.thisImage.buttonTop"
		>
			<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" fill="none" viewBox="0 0 12 12">
				<path fill="#fff" d="M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z" />
			</svg>
		</button><figcaption>图片来源：IT之家</figcaption></figure>
<p class="wp-block-paragraph">微软于 9 月 17 日发布 Visual Studio Code 1.138 版本更新。本次更新的核心方向是强化<a href="https://mylogs.cn/chatgpt-pro-%e9%87%8d%e5%bc%80-200-%e7%be%8e%e5%85%83%e6%a1%a3%ef%bc%9aapi-%e4%bb%b7%e5%80%bc%e8%bf%91%e7%bf%bb%e5%80%8d/"><a href="https://mylogs.cn/%e8%85%be%e8%ae%af%e5%86%85%e6%b5%8b-ai-%e6%b8%b8%e6%88%8f%e6%90%ad%e5%ad%90%e9%b9%85%e6%ac%a1%e5%85%83%ef%bc%9a%e6%95%b0%e5%ad%97%e4%ba%ba%e9%99%aa%e4%bd%a0%e5%bc%80%e9%bb%91/">人工智能</a></a>智能体（Agent）在编辑器中的协作能力，包括支持在开发容器中运行智能体会话、扩展 Codex harness 运行环境，并预览一项会话清理功能。</p>
<h2 class="wp-block-heading">智能体会话进驻开发容器</h2>
<p class="wp-block-paragraph">新版最值得关注的变化，是允许智能体在本地开发容器中运行。启用配置项 chat.agentHost.devContainer.enabled 之后，凡是带有受支持开发容器配置的本地文件夹，都会在文件夹菜单中出现“使用开发容器”选项。点击该选项，智能体会话便会在对应的容器中执行，不过使用该功能需要预先安装 Docker。</p>
<p class="wp-block-paragraph">与以往智能体直接调用本机全部工具与依赖不同，容器内的智能体只能使用项目明确指定的工具和依赖项，并严格遵循项目配置的运行环境。这种设计让智能体的操作被限定在项目边界之内，减少了误触本机环境的隐患，也让“在同一套依赖下复现结果”变得更可靠。</p>
<h2 class="wp-block-heading">Codex harness 打通 ChatGPT 与 VS Code</h2>
<p class="wp-block-paragraph">1.138 版本还扩展了 Codex harness 的支持范围，使同一段会话可以在 ChatGPT 应用与 VS Code 之间延续。用户既可以选择 GitHub Copilot 订阅，也可以选择 ChatGPT 订阅；若两类账户同时登录，还能在模型选择器中直接切换所使用的模型。</p>
<p class="wp-block-paragraph">所谓 Codex harness，是指围绕 Codex 模型搭建的一整套运行环境与控制机制，负责把模型接入应用、工具与工作流。在 VS Code 中，Codex 能够调用编辑器的内置工具、扩展工具以及 MCP（模型上下文协议）工具。若使用的是基于 ChatGPT 的模型，Codex 还能在会话中直接调用图像生成工具。</p>
<h2 class="wp-block-heading">会话清理功能进入预览</h2>
<p class="wp-block-paragraph">本次更新还以预览形态推出了会话清理功能。它能够让开发者对已经完成的工作做调整，同时把对话保留下来以备日后查阅。在合并了所有非活跃会话对应的拉取请求之后，智能体窗口会支持将相关会话标记为“已完成”。</p>
<p class="wp-block-paragraph">整体来看，VS Code 1.138 把人工智能智能体从“对话窗”进一步推向“工程执行单元”：开发容器隔离、跨应用会话延续、可清理的会话管理，三者共同指向同一个目标——让智能体更可控、更可复现地参与到真实开发流程中。</p>]]></content:encoded>
					
		
		
			</item>
	</channel>
</rss>
