dsh-output-retention
一个依赖较少的保留库:为必须限制返回上下文量的工具提供有界的面向模型输出。
A dependency-light retention library: bounded model-facing output for tools that must cap how much context they return.
2926 个插件 · 第 4 页,共 122 页
按 npm 周下载量倒序
一个依赖较少的保留库:为必须限制返回上下文量的工具提供有界的面向模型输出。
A dependency-light retention library: bounded model-facing output for tools that must cap how much context they return.
当前 Cordis Loader 树的只读 Host 投影。
Read-only Host projection of the current Cordis Loader tree.
Shell 插件:三列 AppFrame(拖拽手柄与让步链)以及 ctx.layout 面板几何服务;它注册到运行时拥有的根槽位,并声明 sidebar、conversation、details 和 conversation.empty。
Shell plugin: three-column AppFrame (drag handles and concession chain) plus the ctx.layout panel-geometry service; it registers into the runtime-owned root slot and declares sidebar, conversation, details, and conversation.empty.
dsh 启动器交给它所启动应用的命令行。
The command line a dsh launcher hands to the app it boots.
按会话加载与 AGENTS.md 兼容文件的工作区指令。
Per-session workspace instruction loading for AGENTS.md-compatible files.
WebService(ctx.web)定义了 harness 具备哪些 Web 访问能力——搜索 Web、抓取 URL——并支持多个提供商,而不把模型契约绑定到某一家厂商的 API 形态上。
The WebService (ctx.web) defines WHAT web access the harness has — search the web, fetch a URL — over multiple providers, without binding the model contract to one vendor's API shape.
与工具无关的 shell 环境插件:负责维护 ctx.shellEnv 注册表,其中存放可信的、按每次执行生效的 DSH_ 变量,面向模型的 shell 工具(dsh-tool-bash、dsh-tool-pwsh)会将这些变量收集到每次 shell 调用的环境中。
The tool-independent shell environment plugin: owns the ctx.shellEnv registry of trusted, per-execution DSH_ variables that the model-facing shell tools (dsh-tool-bash, dsh-tool-pwsh) collect into every shell call's environment.
面向模型的 bash 工具通过 ctx.bash 执行器接缝注册。
The model-facing bash tool registered over the ctx.bash executor seam.
已记录按 agent 的 plan 协作状态,包含部署方提供的指引、直接使用 /plan [message] 进入和 /plan off 退出的命令,以及经评审的 exit_plan_mode 退出方式。
Logged, per-agent plan collaboration state with deployment-owned guidance, direct /plan [message] entry and /plan off exit commands, and the reviewed exit_plan_mode exit.
用于 @deepseek-ai/dsh-bash 执行器接缝的本地 PowerShell 服务提供程序,基于 @deepseek-ai/dsh-subprocess 服务:PwshLocalExecutor 每次调用都会通过…以受管进程方式启动 pwsh -NoLogo -NoProfile -NonInteractive -Command。
Local PowerShell Service provider for the @deepseek-ai/dsh-bash executor seam over the @deepseek-ai/dsh-subprocess service: PwshLocalExecutor spawns pwsh -NoLogo -NoProfile -NonInteractive -Command per call as a managed process through…
@deepseek-ai/dsh-jobs 注册表契约的进程内实现:LocalJobRegistry 将所有记录保存在内存中,按类型发放 -N 形式的 id,并返回全新快照,而非实时状态。
Process-local implementation of the @deepseek-ai/dsh-jobs registry contract: LocalJobRegistry keeps every record in memory, issues per-kind -N ids, and hands out fresh snapshots, never live state.
通过 ctx.permissionPresets(PermissionPresetService)提供面向用户的权限预设。
User-facing permission presets through ctx.permissionPresets (PermissionPresetService).
面向模型的文件系统工具——read、write、edit——及其执行器。
The model-facing filesystem tools — read, write, edit — and their executor.
面向模型的 ctx.jobs 控制器:三个与 kind 无关的工具、完成通知,以及一个后台工作提示词部分。
The model-facing controller for ctx.jobs: three kind-independent tools, completion notices, and one background-work prompt section.
与触发器无关的会话反馈,以及面向用户的 /feedback 采集。
Trigger-independent session feedback plus human-facing /feedback capture.
侧边栏插件:按稳定的 Host 顺序展示真实的 Host Workspaces,每个 Workspace 按 Workspace 顺序包含其 sessionIds,并以 parentId 嵌套;不属于任何 Workspace 的 Sessions 显示在末尾的 Ungrouped 部分。
Sidebar plugin: real Host Workspaces in stable Host order, each containing its sessionIds in Workspace order with parentId nesting; Sessions outside every Workspace appear in a trailing Ungrouped section.
模型挂载动态包的宿主侧部分:定义注册表、用于宿主侧的 node:vm 沙箱与 fiber 生命周期、invoke 处理程序表,以及浏览器页面执行的 run 往返流程。
The host half of model-mounted dynamic packages: the definition registry, the node:vm sandbox and fiber lifecycle for host halves, the invoke handler table, and the run round trip a browser page carries out.
面向模型的委派工具,基于一个已配置的 ctx.subagents 提供方。
The model-facing delegation tool over one configured ctx.subagents provider.
用于 harness web 能力接缝(ctx.web)的、由 DeepSeek 支持的 WebSearchProvider。
A DeepSeek-backed WebSearchProvider for the harness web capability seam (ctx.web).
ctx.goals 面向模型的控制接口:get_goal、create_goal 和 update_goal。
The model-facing control surface for ctx.goals: get_goal, create_goal, and update_goal.
可安全重放的、无模型的裁剪服务(ctx.toolResultPruner)。
The replay-safe model-free pruning service (ctx.toolResultPruner).
@deepseek-ai/dsh-attachment 的私有本地实现。
The private local implementation of @deepseek-ai/dsh-attachment.
为官方 DeepSeek LLM API 适配器提供可追加的请求字段注册表
Additive request-field registry for the official DeepSeek LLM API adapter
可选的全局命名工具 send_message、interrupt_agent 和 list_agents 是 ctx.subagents 之上的轻量适配器。
The optional, globally named send_message, interrupt_agent, and list_agents tools are thin adapters over ctx.subagents.