Oh My DSH.文档GitHub ↗
文档导航

DOCUMENTATION 未发布源码候选 · 0.2.2-rc.5.omd.1.8.0

本页目录

原作者与项目地址#

OMD 自有代码采用根目录的 MIT 许可证;该声明不替换第三方代码、组件、提示词与素材的原许可证。

OMD-owned code uses the root MIT license. Third-party code, components, prompts and materials retain the licenses documented below.

The optional Unharnessed preset bundles the DSH Unharnessed distribution, with the MIT runtime from Unharnessed commit fe2cf2815f78463464b91c598fc0c31c0af98f4c and dill 0.4.0 under BSD-3-Clause. OMD adds opt-in preset registration, isolated checkpoint and cancellation identities, and a read-only activity view for safe disabling. Original and adapted file hashes are recorded in vendor/unharnessed.json; full notices and licenses are preserved in the bundled notices.

本页集中列出原作者、原项目与第三方许可;各节保留固定版本、修改范围和许可证说明。完整的自有产品、可选集成、组件和锁定依赖见项目、组件与致谢(English)。

上下文优化使用直接依赖:@ast-grep/wasm 0.51.0(MIT)、web-tree-sitter 0.26.0(MIT)、@vscode/tree-sitter-wasm 0.3.1(MIT,语法各自许可随包保留)、@toon-format/toon 4.4.0(MIT)、@mozilla/readability 0.6.0(Apache-2.0)和 jsdom 26.1.0(MIT)。依赖原件未修改;OMD 自有代码提供宿主适配、原文权限和结果视图。

文档提取使用未修改的 Mammoth 1.13.0(BSD-2-Clause)、PDF.js / pdfjs-dist 6.4.299(Apache-2.0)、CSV Parse 7.0.3(MIT)和 ExcelJS 4.4.0(MIT)。完整许可证及依赖声明随各安装包保留。

功能或组件 原作者/来源组织 原项目
DSH 宿主与基础组件 DeepSeek DeepSeek Harness
/btw 旁聊 gulagala001 DSH BTW
可选需求理解组件 啃轮胎的西狐(WestFox-AwA) dsh-prompt-optimizer
可选文件、文档与命令工具 · dsh-ops T-Auto 与 dsh-ops 贡献者 dsh-ops;兼容发行说明
提示词优化模板 linshenkx prompt-optimizer
OpenDesign 技能桥接 omegapaopao;技能来源为 nexu-io 及各技能作者 dsh-open-design、open-design;完整来源与许可

System prompt style sources#

OMD bundles fixed prompt text/source for optional system prompt styles. Upstream originals and licenses are preserved under src/prompt-styles/upstream/; each source.json records the repository, commit, retrieval date, original paths and SHA-256 values. Text adaptations are maintained separately in render.mjs; Pi/ZCode text builders are compiled from those sources. These integrations do not imply endorsement or install the upstream runtimes.

Source / authors Fixed version / commit License and scope
OpenAI Codex — OpenAI and contributors 0.164.0 / 6aaac694803004a63c6f393d153c96d22521a6b9 Apache-2.0; the gpt-6-astra default instructions template extracted from models.json
Cursor public sample — asgeirtj collection; text attributed to Cursor 3d535771ea2a5c33bbc1c8cf7845caaf9b959a56, file blob f6951fa520e3e37f0ce09ab47ee564818769d034 Collection license; third-party sample, not an official release. Product version, completeness and authenticity unverified. Collection licensing does not independently establish rights to third-party material
Pi — Mario Zechner and contributors 1.4.0 / 4a080252f06caf63a525d7873c5d94d3c23887e0 MIT; structured system prompt builder
Grok Build — xAI and contributors 2bdd1d6a6369de0e8c68132ea4539e9abd9e14a8 Apache-2.0; interactive main prompt template
ZCode — Z.ai and contributors 3.16.2 source / 3c5b227649371507ddc4eb46ac5133afe6db1cab Apache-2.0; prefix, identity, behavior and context builders; assembly source retained for provenance

Checked 2026-10-23. Necessary adaptations cover truthful host/model identity, available tools and contracts, transport, UI rendering and live context. Host permissions, project rules, skills and OMD memory/task protocols remain supplied by their existing owners. The source licenses remain authoritative. Adaptation details.

Models.dev API pricing data#

src/monitor-prices.json contains the pricing-only projection of models.dev, retrieved on 2026-10-15 (230 providers, 8,414 priced model routes). scripts/sync-monitor-prices.mjs refreshes this bundled snapshot; the runtime retrieves the same public feed daily and keeps a separate local cache. Model names, per-million-token rates and context tiers are retained; matching, overrides and presentation are OMD additions. The snapshot records the source timestamp and SHA-256 of the full source response.

Source: https://github.com/sst/models.dev

MIT License

Copyright (c) 2025 models.dev

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Bundled DSH BTW#

vendor/btw contains gulagala001/dsh-btw, package @gulagala001/dsh-btw, under the MIT License. OMD loads the same server and native popover client as the standalone product. The source commit, exact host, package version and per-file hashes are recorded in vendor/btw.json. Its license accompanies the snapshot.

Bundled Rewind#

vendor/rewind contains the standalone @gulagala001/dsh-undo-plugin plugin. OMD loads the same server and client entry points as the independent plugin. Package identity, exact host and per-file SHA-256 hashes are recorded in vendor/rewind.json; its license and notices accompany the snapshot.

Optional recommendation: Intent Assistant#

“需求理解 / Intent Assistant” is an optional, separately installed derivative of dsh-prompt-optimizer 0.7.4, originally authored by 啃轮胎的西狐(WestFox-AwA). gulagala001 maintains the SDK adapter. It is not an official upstream release. The separate plugin preserves the upstream BSD-3-Clause license, attribution and source provenance; the fixed rc.3 distribution is reproduced by scripts/build-intent-compat.mjs from the SHA-256-pinned 0.3.0 archive. Native message constructors use the host Loader and configuration follows the current profile. The installer keeps the exact DSH version requirement.

dsh-ops compatibility distribution#

The optional, separately installed dsh-ops compatibility distributions pin T-Auto's dsh-ops 0.4.1. Copyright (c) 2026 T-Auto and the dsh-ops contributors. gulagala001 maintains the compatibility changes; these are not official upstream releases. Exact package versions are 0.2.1-rc.1.ops.0.1.0 and 0.2.1-rc.2.ops.0.1.0, for their respective complete DSH host versions. The upstream archive is pinned to SHA-256 e8ae70fa1703004973f4a61d5afe6c163862dd1469e3e9f5d03c736f8da5a362; download links and per-release checksum files are in the installation guide.

The compatibility distribution adjusts exact host/framework metadata, accepts run_code together with the four host background controls for PTC detection, and obtains scope helpers from the same Loader module used by the host tools. Business tools continue through the SDK under host permissions and sandbox policies. Native receipt checks use the pinned upstream version. The native worker bytes and original provenance receipts are unchanged; packaging restores only the executable bits for the two POSIX workers. Replacing official tools, the optional browser panel and the TUI panel remain off by default.

The package preserves the upstream composite license MIT AND Apache-2.0, its LICENSE, NOTICE, licenses/ and docs/PROVENANCE.md. Its original MIT grant covers dsh-ops-authored work. The retained FastCtx attribution and Apache license notices remain included as required by the upstream distribution. The optional Windows @dsh-ops/bash-win32-x64@0.2.1 payload preserves the Git for Windows/Git component licenses, including GPL-2.0, and original notices. PowerShell remains host-managed and is not redistributed by this compatibility package. No third-party work is relicensed.

DSH#

The Agent preset was originally adapted from DeepSeek Harness 0.1.5-alpha.1, commit 5dda764ed3aa172535a7967b06ff95d9cbfe536a, and updated against 0.1.5-rc.1, commit 183f08e9c6dde7e36cd2318eaee70b0da08fb35e.

The shared todos projection in src/tasks.mjs follows the state version and reducer behavior of @deepseek-ai/dsh-tool-todo 0.1.5-rc.1.

The whale contours in src/client/brand.mjs are adapted from the animated whale in DSH 0.1.5-rc.1 (ui-conversation/HeroShell). Generated copies appear in the web favicon, Chrome popup and README logo. The lighting and orbit effects are modifications for Oh My DSH.

Source: https://github.com/deepseek-ai/deepseek-harness

The component sources under vendor/dsh are pinned to the exact DeepSeek Harness version, official tag and commit recorded in vendor/dsh.json, together with the included sources and artifacts. OMD retains the native Tools service and adds scoped tool presentation, optional background controls, workflow journaling, JSONL/context recovery, and a wait-aware Conversation composer. Derived factories are generated from matching sources. The rc.3 native Open in App client is generated by scripts/build-open-in-app.mjs after checking SHA-256 7a3adda611ea8318322e474294cba4c5a36be30f879c98dc52a41b57363cd6dc; only its header and shortcut directory selectors read the live native working-directory projection. Its components, dictionaries, actions and host path validation remain native.

The unmodified surface-transition, media-pricing and summarizer helpers in src/metering/native come from the matching official DSH commit. Their original MIT license is retained beside them. The build binds their estimator to the shared request contract and exposes the pinned summarization instruction; the surrounding service and policy adapters are OMD modifications.

The matching public native Chat implementation is retained separately under vendor/dsh/ui-chat, with its complete upstream sources, upstream-built artifacts, DeepSeek MIT license, patch and checksum manifest pinned to the matching official host commit recorded in that manifest. It was recovered from the public DSH-component snapshot in the primary OMD source, not authored by or copied from OpenCU modules. The matching public Conversation component remains under vendor/dsh/ui-conversation. The rewritten OpenCU bundle no longer includes the old CU or its historical Chat snapshot. OMD mounts the matching public Chat independently of OpenCU. scripts/chat-style-adapter.mjs validates the pinned factory and adds shared process-header layout to its original stylesheet. Long titles yield space to whole operation/failure/stopped badges in the native theme and skins; no renderer or upstream snapshot is replaced. All upstream copyright and license notices remain in place.

MIT License

Copyright (c) 2026 DeepSeek

Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.

Rewritten OpenCU#

OpenCU is bundled from the rewritten plugin repository, replacing the old CU distribution. Its notices cover the original REA components, React runtime, browser and native dependencies. OMD and standalone OpenCU share the same core, tool registration and client presentation when co-installed. This distribution does not confer redistribution rights to proprietary REA assets or change any upstream license.

Acorn#

Acorn 8.18.0 parses workflow metadata without evaluating it and is bundled into the workflow host factories. Its copyright notice and MIT license are included in vendor/licenses/acorn-LICENSE.

Source: https://github.com/acornjs/acorn

Playwright#

Playwright 1.63.0 is used as a runtime dependency under the Apache License 2.0. Its license and notices are included in the installed Playwright package.

Source: https://github.com/microsoft/playwright License: https://github.com/microsoft/playwright/blob/v1.63.0/LICENSE

ws#

ws 8.21.3 is used as a runtime dependency under the MIT License. Its license is included in the installed ws package.

Source: https://github.com/websockets/ws

Google Material Expressive skin fonts and icons#

The Google Material Expressive skin embeds subsets of Google Sans Flex, Google Sans Code, and Noto Sans SC under SIL Open Font License 1.1, and Material Symbols Rounded under Apache License 2.0. Sources, modification notes, character coverage, and the complete licenses accompany the font files in src/client/skins/google-material-expressive/assets/.

Sources: https://github.com/googlefonts/googlesans-flex, https://github.com/googlefonts/googlesans-code, https://github.com/google/fonts/tree/main/ofl/notosanssc, and https://github.com/google/material-design-icons

Open Claude UI#

The Claude Desktop theme adapts design tokens, composer elevation, control and message styling, scroll masks, splitter gestures and image pan/zoom geometry from Caho1/open-claude-ui, commit c1f923ae0051a871941b98a0e2e3183a545e6a85, under the MIT License, copyright (c) 2026 Caho1. The source record lists the reference files and host adaptation. The complete license accompanies this distribution. Existing DSH components supply editing, IME, messaging, tools, scrolling and window controls. No proprietary fonts, recordings or upstream application binaries are included.

Other bundled skin fonts#

The Claude CLI skin embeds JetBrains Mono under SIL Open Font License 1.1. Its complete license is included in docs/skin-font-licenses/ and alongside the source font files. Apple and other operating-system fonts are referenced through system font stacks and are not redistributed.

Source: https://github.com/JetBrains/JetBrainsMono

sharp#

sharp 0.35.5 is used for screenshot pixel normalization under the Apache License 2.0. Its license and the notices for its native dependencies are included in the installed packages.

Source: https://github.com/lovell/sharp

CodeGraph#

@colbymchenry/codegraph 1.6.0 and its matching platform runtime are runtime dependencies under the MIT License. Oh My DSH launches the unmodified upstream bundled runtime and discovers its MCP tool definitions. The platform packages include CodeGraph's own runtime dependencies and notices.

Source: https://github.com/colbymchenry/codegraph License: https://github.com/colbymchenry/codegraph/blob/v1.6.0/LICENSE

@modelcontextprotocol/client 2.2.0 provides the MCP transport under the MIT License. @deepseek-ai/dsh-mcp-client 0.2.1-rc.2 provides the host tool/result adapter under the MIT License.

Sources: https://github.com/modelcontextprotocol/typescript-sdk and https://github.com/deepseek-ai/deepseek-harness

The modular main-agent prompt adaptation in src/cc-adaptation comes from the project's own DSH 0.1.6 CC migration candidate 0.4.0. Its fixed comparison source is the CC prompt snapshot. The historical migration targeted DSH 0.1.6-alpha.1; the current OMD integration targets the exact DSH version recorded in package.json. This attribution does not grant additional rights to third-party prompt text.

Prompt Optimizer templates#

The user-prompt basic, professional, planning, and iteration templates in vendor/prompt-optimizer/ come from Prompt Optimizer commit 93c37090846dd7ba9619a0ebc152f205624df9f1 (2025-10-30), distributed at that revision under the MIT License, copyright (c) 2025 linshenkx. The complete license is included in vendor/prompt-optimizer/LICENSE. The original TypeScript files are unchanged; templates.json extracts their system/user message literals as runtime data. Source paths and SHA-256 hashes are in vendor/prompt-optimizer/manifest.json.

Oh My DSH supplies its own model transport, input UI, draft history, cancellation and send handling. Additional integration instructions preserve the user's intent and structured references and prohibit invented requirements. These instructions are appended by src/prompt-optimizer.mjs; they do not modify the archived upstream files. The upstream application, UI, SDKs, history database and newer AGPL-licensed changes are not included.

Source and license at the pinned revision: https://github.com/linshenkx/prompt-optimizer/tree/93c37090846dd7ba9619a0ebc152f205624df9f1

DSH Response ID Reuse#

vendor/response-id-reuse contains gulagala001/dsh-response-id-reuse, package @gulagala001/dsh-response-id-reuse, under the MIT License. The source commit, exact host version and file hashes are recorded in vendor/response-id-reuse.json. Its license accompanies the full package snapshot.