<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/"><channel><title>DeepSeek Harness 权威指南：架构解析与二次开发 on 梦兽编程</title><link>https://rexai.top/tutorials/deepseek-harness/</link><description>Recent content in DeepSeek Harness 权威指南：架构解析与二次开发 on 梦兽编程</description><generator>Hugo -- 0.163.3</generator><language>zh-cn</language><copyright>梦兽编程</copyright><lastBuildDate>Mon, 17 Aug 2026 10:00:00 +0800</lastBuildDate><atom:link href="https://rexai.top/tutorials/deepseek-harness/index.xml" rel="self" type="application/rss+xml"/><item><title>DeepSeek Harness Agent 事件流与命令：一条 turn 从输入到收束</title><link>https://rexai.top/tutorials/deepseek-harness/dev-agent-events-and-commands/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-agent-events-and-commands/</guid><description>用官方测试同款依赖组装一个无模型的 agent 循环：followup / steer / inject / cancel 四种输入、turn/step 事件序列、工具调用如何进入会话日志，以及 slash command 为什么绕过 turn。</description></item><item><title>DeepSeek Harness Hook 与权限插件：先 allow/deny，再 ask/guard</title><link>https://rexai.top/tutorials/deepseek-harness/dev-hook-and-permission/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-hook-and-permission/</guid><description>从 tools/pre-execute、ctx.tools.guard 与 ctx.approval 的官方源码出发，实作一个无 I/O 的 greet 权限门禁，观察 allow、deny、ask、单调 guard 与最终结果边界。</description></item><item><title>DeepSeek Harness LLM 适配器：provider 选路由，不是“换个模型就能用”</title><link>https://rexai.top/tutorials/deepseek-harness/dev-llm-adapter/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-llm-adapter/</guid><description>用官方 LlmAdapter、registerAdapter 与 DeepSeek 适配器源码，实作一个作者本机 OpenAI 风格 SSE loopback。区分 provider 路由、model id、请求映射、流式翻译、凭据、错误与可验证边界。</description></item><item><title>DeepSeek Harness LLM 与流式：用适配器隔离提供方差异</title><link>https://rexai.top/tutorials/deepseek-harness/llm-and-streaming/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/llm-and-streaming/</guid><description>DeepSeek Harness LLM 适配器与流式系统深讲：LlmAdapter seam、7 个 StreamChunk 变体、BlockAssembler、带上限的指数退避与 token 计量；源码契约与本机 mock 示例分别标明范围。</description></item><item><title>DeepSeek Harness 插件打包：从本地项目到可交付包</title><link>https://rexai.top/tutorials/deepseek-harness/dev-plugin-packaging/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-plugin-packaging/</guid><description>按官方 adding-a-package 清单把本地插件整理成可交付包：named-export 模块契约、package.json 不变式、tsconfig 项目布局、Loader+Include 组合装载，以及 bundle patch 的分层组装。</description></item><item><title>DeepSeek Harness 插件树深讲：注册即副作用，卸载即撤销</title><link>https://rexai.top/tutorials/deepseek-harness/plugin-tree-deep-dive/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/plugin-tree-deep-dive/</guid><description>DeepSeek Harness 插件树深讲：apply 契约、函数/对象/类三形态、inject 依赖注入、ctx.effect 可逆副作用、Fiber 六态生命周期，全部配本机真实运行输出与 --patch 配置树实证。</description></item><item><title>DeepSeek Harness 端到端实战：从零做一个知识库问答插件（kb-qa-plugin）</title><link>https://rexai.top/tutorials/deepseek-harness/dev-real-world-case/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-real-world-case/</guid><description>B 线收官实战：需求→设计→架构→实现→真实运行→截图→分发的完整项目。kb-qa-plugin 是一个只读、有界、带路径策略门与 owner guard 的本地 markdown 知识库问答插件，真实装载进 dsh web profile。</description></item><item><title>DeepSeek Harness 二开快速上手：2 个文件、2 次验证，把插件装进 Web UI</title><link>https://rexai.top/tutorials/deepseek-harness/dev-quickstart/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-quickstart/</guid><description>DeepSeek Harness 二次开发快速上手：从源码构建、第一个 apply(ctx) 插件、Windows file:/// 路径、--dump-config 与真实启动两道验证。所有命令和输出均由本机 deepseek-harness 47f9438 实跑。</description></item><item><title>DeepSeek Harness 工具插件：把一段 TypeScript 变成模型可见能力</title><link>https://rexai.top/tutorials/deepseek-harness/dev-tool-plugin/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-tool-plugin/</guid><description>用官方 greet 示例拆解 DeepSeek Harness 工具插件：inject、defineTool、ctx.tools.register、canonical output、模型 schema、执行流水线、guard 与无模型测试。区分可见、可调用和实际执行。</description></item><item><title>DeepSeek Harness 工具结果、审计与 UI Presentation：一个 value 的多种投影</title><link>https://rexai.top/tutorials/deepseek-harness/dev-tool-result-and-presentation/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/dev-tool-result-and-presentation/</guid><description>从 ToolExecutionResult、post-execute、tool/call + tool/result 会话事件到 presentCall / presentResult：一次工具调用产生的 canonical value 如何在执行层、持久日志、模型 transcript 与 UI 四层分别投影。</description></item><item><title>DeepSeek Harness 工具系统：模型的手和眼睛</title><link>https://rexai.top/tutorials/deepseek-harness/tool-system/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/tool-system/</guid><description>DeepSeek Harness 工具系统通俗深讲：模型怎么调用工具、注册表是什么、一次调用过哪七道关卡（pre-execute/guard/execute/post-execute/result），配完整旅程图、真实运行输出与源码位置。</description></item><item><title>DeepSeek Harness 会话与事件系统：从事件日志投影模型历史</title><link>https://rexai.top/tutorials/deepseek-harness/session-and-events/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/session-and-events/</guid><description>DeepSeek Harness 会话与事件系统深讲：SessionEvent 日志如何通过 deriveMessages 投影模型历史，事件三类用途与 turn/step 轮次；关键源码、中文文档规则和本机示例分别标明范围。</description></item><item><title>DeepSeek Harness 架构总览：没有特权内核的插件世界</title><link>https://rexai.top/tutorials/deepseek-harness/architecture-overview/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/architecture-overview/</guid><description>DeepSeek Harness 架构深度解析：Cordis 插件树如何让模型适配器、工具、会话日志、agent 主循环全部可替换。附五层配置树图与核心服务图，全部经本地 dump-config 实测验证。</description></item><item><title>DeepSeek Harness 能力 seam 与沙箱：给模型文件权限，也说明边界</title><link>https://rexai.top/tutorials/deepseek-harness/capability-seams-and-sandbox/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/capability-seams-and-sandbox/</guid><description>DeepSeek Harness 的 ctx.sandbox 同宿主进程约束 seam：逐调用文件效果策略、平台 runner 选择、full/partial 报告、fail-closed、路径围栏与一次性提权。区分官方源码契约和作者 Windows scratch。</description></item><item><title>DeepSeek Harness 是什么：一个“一切皆插件”的 Agent 框架</title><link>https://rexai.top/tutorials/deepseek-harness/what-is-deepseek-harness/</link><pubDate>Mon, 17 Aug 2026 10:00:00 +0800</pubDate><guid>https://rexai.top/tutorials/deepseek-harness/what-is-deepseek-harness/</guid><description>DeepSeek Harness（dsh）是由插件树组装的可扩展 Agent 框架。本文标注 GitHub/npm 快照口径和本机运行范围，说明它与 Claude Code、Codex、OpenClaw 的定位差异与选型边界。</description></item></channel></rss>