dsh-brand
Branded 名义类型原语——一个仅含类型的微型包(无运行时代码、不依赖 harness 包),由每个持有跨边界 id 的包共享。
The Branded nominal-typing primitive — a tiny, type-only package (no runtime code, no harness-package dependency) shared by every package that owns a cross-boundary id.
2926 个插件 · 第 1 页,共 122 页
按 npm 周下载量倒序
Branded 名义类型原语——一个仅含类型的微型包(无运行时代码、不依赖 harness 包),由每个持有跨边界 id 的包共享。
The Branded nominal-typing primitive — a tiny, type-only package (no runtime code, no harness-package dependency) shared by every package that owns a cross-boundary id.
与提供商无关的 LLM 词汇和抽象服务。
Provider-neutral LLM vocabulary and abstract service.
由业务包、生成的 Typert 产物、Host Gateway 和 Client API 共享的与编译器无关的声明。
Compiler-independent declarations shared by business packages, generated Typert artifacts, the Host Gateway, and Client API.
超时的计时与分类部分——一个零依赖的纯函数库(不依赖运行时 harness),被所有能力共享,用于钳制调用方的超时提示、设置截止时间,并在之后区分“已超时”……
The timing-and-classification half of a timeout — a zero-dependency library of pure functions (no runtime harness deps) shared by every capability that clamps a caller's timeout hint, arms a deadline, and later has to tell "timed out"…
事件溯源的会话日志与内存存储。
Event-sourced session log and in-memory store.
作用域注册原语。createScope(ctx, key) 创建一个带标记的 Cordis 上下文,其底层 fiber 拥有通过它进行的所有注册。
Scoped registration primitive. createScope(ctx, key) creates a tagged Cordis context whose backing fiber owns every registration made through it.
系统提示词组装注册表。插件提供有序的段落、工具 schema 和命名变量。
System prompt assembly registry. Plugins contribute ordered sections, tool schemas, and named variables.
Agent 接口、注册表、进程内发起者作用域,以及 agent/ 事件词汇表。
Agent interface, registry, process-local initiator scope, and agent/ event vocabulary.
用于包自有的运行时不变式检查的可配置注册表服务。
Configurable registry service for package-owned runtime invariant checks.
工具注册表与执行流水线。工具插件注册各自的 schema 与执行器;agent 循环通过 tools/pre-execute(可扩展的允许/拒绝门)→ 单调注册的守卫 → tools/execute(一个…
Tool registry and execution pipeline. Tool plugins register their schemas and executors; the agent loop executes each call through tools/pre-execute (the extensible allow/deny gate) → monotonic registered guards → tools/execute (an…
持久化附件接缝。ctx.attachments 校验并原子提交不可变的图像字节,然后返回可序列化的 ImageAttachmentRef;消费者绝不在会话中持久化浏览器路径、对象 URL、提供方 URL 或 base64……
The durable attachment seam. ctx.attachments validates and atomically commits immutable image bytes, then returns a serializable ImageAttachmentRef; consumers never persist browser paths, object URLs, provider URLs, or base64 in session…
与渠道无关的一次性审批接缝。ctx.approval.request(req) 返回 allowed-once、rejected、cancelled 或 unavailable;应答方缺失或失败时按失败关闭处理,且授权仅适用于所请求的操作。
Channel-neutral one-shot approval seam. ctx.approval.request(req) returns allowed-once, rejected, cancelled, or unavailable; missing or failing answerers fail closed, and a grant applies only to the requested action.
为 DeepSeek Harness 提供可安全重复安装的值原语
Duplicate-install-safe value primitives for the DeepSeek Harness
会话投影服务定义与驱动器注册表。
Session-projection Service Definition and drive registry.
零依赖、浏览器安全的 UUID 与字节编码工具
Zero-dependency browser-safe UUID and byte-encoding helpers
进程沙箱服务定义。负责 ctx.sandbox 服务契约(SandboxProvider)以及 harness 共享的隔离术语:SandboxMode(read-only / workspace-write / danger-full-access,仅文件效果),…
Process-sandbox Service Definition. Owns the ctx.sandbox service contract (SandboxProvider) and the confinement vocabulary the harness shares: SandboxMode (read-only / workspace-write / danger-full-access, file effects only),…
sandbox-policy 解析的唯一所有者:部署的默认 SandboxMode 与回退根目录,以及每个会话的持久模式覆盖和不可变工作区根目录。
The single owner of sandbox-policy resolution: the deployment's default SandboxMode and fallback root, plus each session's durable mode override and immutable workspace root.
用于 DeepSeek Harness 用户数据的共享文件系统路径辅助函数。
Shared filesystem path helpers for DeepSeek Harness user data.
用户设置服务定义(ctx.settings)。
User-settings Service Definition (ctx.settings).
子代理接缝让一个代理通过具名提供者将工作委派给子代理。
The subagent seam lets one agent delegate work to a child through a named provider.
零依赖的原子文件替换,由基于文件的存储共用,确保磁盘上绝不留下不完整、被符号链接劫持或超出预期范围的内容——用户设置文档(dsh-settings-local)与凭据存储……
Zero-dependency atomic file replacement shared by file-backed stores that must never leave partial, symlink-hijacked, or wider-than-intended content on disk — the user-settings document (dsh-settings-local) and the credentials store…
凭据服务定义(ctx.credentials)。
Credential Service Definition (ctx.credentials).
子进程接缝(ctx.subprocess)是一个执行世界中负责进程的那一半。
The subprocess seam (ctx.subprocess) is the process half of one execution world.
会话持久化是一个能力接缝。
Session persistence is a capability seam.