@sparkelf/dsh-omitted 0.2.0-rc.18
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +21 -0
- package/README.i18n.yaml +6 -0
- package/README.md +61 -0
- package/README.zh.md +65 -0
- package/lib/index.js +1 -0
- package/lib/types/index.d.ts +17 -0
- package/lib/types/index.js +2 -0
- package/package.json +38 -0
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2026 DeepSeek
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/README.i18n.yaml
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
# Bilingual-pair consistency record (docs/i18n/README.md): the git blob hash of each
|
|
2
|
+
# side as of the last confirmed-consistent state. Both languages carry equal authority;
|
|
3
|
+
# after editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/plus/omitted/README.md
|
|
5
|
+
README.md: e710be74bd50289824b03d4d2e3f4fe8227c6570
|
|
6
|
+
README.zh.md: ce5bf948b7bef73ee7ac06a76a3dcc1137bd3313
|
package/README.md
ADDED
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "Placeholder package an omitted capability is overridden onto, so an installation never receives the real one."
|
|
3
|
+
kind: "package-reference"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @sparkelf/dsh-omitted
|
|
7
|
+
|
|
8
|
+
English | [中文](README.zh.md)
|
|
9
|
+
|
|
10
|
+
A placeholder a deployment points an `overrides` entry at when it must not install a capability.
|
|
11
|
+
|
|
12
|
+
## Table of Contents
|
|
13
|
+
|
|
14
|
+
- [Use this package](#use-this-package)
|
|
15
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
16
|
+
- [Dev Note](#dev-note)
|
|
17
|
+
|
|
18
|
+
-----
|
|
19
|
+
|
|
20
|
+
## Summary
|
|
21
|
+
|
|
22
|
+
npm expresses package substitution through `overrides` and has no removal semantics: an override can only replace a package with another one, never delete it. A deployment that omits a capability therefore points its override at this package, and the substituted name never reaches the installation.
|
|
23
|
+
|
|
24
|
+
The omission stays auditable for the same reason: a scan of the tree finds the placeholder rather than the capability it replaced.
|
|
25
|
+
|
|
26
|
+
## Use this package
|
|
27
|
+
|
|
28
|
+
```json
|
|
29
|
+
{
|
|
30
|
+
"overrides": {
|
|
31
|
+
"@deepseek-ai/dsh-computer-use": "npm:@sparkelf/dsh-omitted@0.2.0-rc.17"
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
```
|
|
35
|
+
|
|
36
|
+
## Dev Note
|
|
37
|
+
|
|
38
|
+
The package exists for one reason, so it carries no dependency of its own beyond the Cordis peer every plugin in this repository declares.
|
|
39
|
+
|
|
40
|
+
- No runtime invariant companion is published because the package exports nothing and holds no state; a substitution is observed by the installation tree that npm resolves, not by this module.
|
|
41
|
+
|
|
42
|
+
## Model Experience
|
|
43
|
+
|
|
44
|
+
### Omitted capability substitution
|
|
45
|
+
|
|
46
|
+
#### What the model sees
|
|
47
|
+
|
|
48
|
+
Nothing. `@sparkelf/dsh-omitted` registers no tool, prompt section, or Session event of its own, and the deployment that installs it omits the capability it stands in for.
|
|
49
|
+
|
|
50
|
+
#### Token effect
|
|
51
|
+
|
|
52
|
+
Zero. The package adds no model-request tokens.
|
|
53
|
+
|
|
54
|
+
#### KV Cache effect
|
|
55
|
+
|
|
56
|
+
None. It contributes no prompt content, so it cannot shift a cache prefix.
|
|
57
|
+
|
|
58
|
+
## Known Limitations and Deferred Work
|
|
59
|
+
|
|
60
|
+
- The module exports nothing. Loading it in place of a real plugin fails at the mount step with a missing-export error, which is intended: a deployment that omitted a capability must not silently mount a stub for it. A deployment must also not mount the substituted name as a bundle.
|
|
61
|
+
- This package has no behaviour to configure and no commands.
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "被省略能力的 overrides 占位包,使安装结果中不会出现真实包。"
|
|
3
|
+
kind: "package-reference"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @sparkelf/dsh-omitted
|
|
7
|
+
|
|
8
|
+
[English](README.md) | 中文
|
|
9
|
+
|
|
10
|
+
当部署不允许安装某个能力时,把它指向的占位包。
|
|
11
|
+
|
|
12
|
+
## 目录
|
|
13
|
+
|
|
14
|
+
- [使用](#use-this-package)
|
|
15
|
+
- [已知限制和延期工作](#known-limitations-and-deferred-work)
|
|
16
|
+
- [开发备注](#dev-note)
|
|
17
|
+
|
|
18
|
+
-----
|
|
19
|
+
|
|
20
|
+
## 概述
|
|
21
|
+
|
|
22
|
+
npm 通过 `overrides` 表达包替换,且没有删除语义:override 只能把包替换成另一个包,不能删除它。因此省略某能力的部署把 override 指向本包,被替换的名字就不会出现在安装结果里。
|
|
23
|
+
|
|
24
|
+
省略也因此可审计:扫描依赖树会找到占位包,而不是被它替换的能力包。
|
|
25
|
+
|
|
26
|
+
<a id="use-this-package"></a>
|
|
27
|
+
## 使用
|
|
28
|
+
|
|
29
|
+
```json
|
|
30
|
+
{
|
|
31
|
+
"overrides": {
|
|
32
|
+
"@deepseek-ai/dsh-computer-use": "npm:@sparkelf/dsh-omitted@0.2.0-rc.17"
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
```
|
|
36
|
+
|
|
37
|
+
<a id="dev-note"></a>
|
|
38
|
+
## 开发备注
|
|
39
|
+
|
|
40
|
+
本包只为一件事存在,因此除了本仓库每个插件都声明的 Cordis peer 之外没有自己的依赖。
|
|
41
|
+
|
|
42
|
+
- 不发布运行时 invariant 伴随模块,因为本包不导出任何内容也不持有状态;替换由 npm 解析出的安装树观察,而不是由本模块观察。
|
|
43
|
+
|
|
44
|
+
<a id="model-experience"></a>
|
|
45
|
+
## 模型体验
|
|
46
|
+
|
|
47
|
+
### Omitted capability substitution
|
|
48
|
+
|
|
49
|
+
#### What the model sees
|
|
50
|
+
|
|
51
|
+
什么都没有。`@sparkelf/dsh-omitted` 不注册自己的工具、提示词段落或 Session 事件,而安装它的部署省略了它所替代的能力。
|
|
52
|
+
|
|
53
|
+
#### Token effect
|
|
54
|
+
|
|
55
|
+
零。本包不增加任何模型请求 token。
|
|
56
|
+
|
|
57
|
+
#### KV Cache effect
|
|
58
|
+
|
|
59
|
+
无。它不贡献提示词内容,因此不会移动缓存前缀。
|
|
60
|
+
|
|
61
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
62
|
+
## 已知限制和延期工作
|
|
63
|
+
|
|
64
|
+
- 本模块不导出任何内容。把它当作真实插件加载会在挂载步骤以缺失导出报错,这是有意为之:省略了某能力的部署不应静默挂载它的替身。该部署也不应把被替换的名字作为 bundle 挂载。
|
|
65
|
+
- 本包无需配置的行为,也没有命令。
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* A placeholder that stands in for a capability a deployment omits.
|
|
3
|
+
*
|
|
4
|
+
* npm expresses package substitution through \`overrides\` and has no removal
|
|
5
|
+
* semantics, so a deployment that must not install a capability points its override at
|
|
6
|
+
* this package instead. The substituted name never reaches the installation, which is
|
|
7
|
+
* what makes the omission auditable: a scan of the tree finds the placeholder rather
|
|
8
|
+
* than the capability.
|
|
9
|
+
*
|
|
10
|
+
* The module deliberately exports nothing. Loading it in place of a real plugin fails
|
|
11
|
+
* at the mount step with a missing-export error, which is the intended outcome: a
|
|
12
|
+
* deployment that omitted a capability must not silently mount a stub for it.
|
|
13
|
+
*
|
|
14
|
+
* @module @sparkelf/dsh-omitted
|
|
15
|
+
*/
|
|
16
|
+
export {};
|
|
17
|
+
//# sourceMappingURL=index.d.ts.map
|
package/package.json
ADDED
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
{
|
|
2
|
+
"description": "Placeholder package an omitted capability is overridden onto, so an installation never receives the real one.",
|
|
3
|
+
"devDependencies": {
|
|
4
|
+
"@deepseek-ai/cordis": "^4.0.2"
|
|
5
|
+
},
|
|
6
|
+
"exports": {
|
|
7
|
+
".": {
|
|
8
|
+
"default": "./lib/index.js",
|
|
9
|
+
"types": "./lib/types/index.d.ts"
|
|
10
|
+
},
|
|
11
|
+
"./package.json": "./package.json"
|
|
12
|
+
},
|
|
13
|
+
"files": [
|
|
14
|
+
"lib/**/*.js",
|
|
15
|
+
"lib/**/*.d.ts",
|
|
16
|
+
"README.md",
|
|
17
|
+
"README.zh.md",
|
|
18
|
+
"README.i18n.yaml"
|
|
19
|
+
],
|
|
20
|
+
"license": "MIT",
|
|
21
|
+
"main": "lib/index.js",
|
|
22
|
+
"name": "@sparkelf/dsh-omitted",
|
|
23
|
+
"peerDependencies": {
|
|
24
|
+
"@deepseek-ai/cordis": ">=4.0.2"
|
|
25
|
+
},
|
|
26
|
+
"private": false,
|
|
27
|
+
"publishConfig": {
|
|
28
|
+
"access": "public"
|
|
29
|
+
},
|
|
30
|
+
"repository": {
|
|
31
|
+
"directory": "packages/plus/omitted",
|
|
32
|
+
"type": "git",
|
|
33
|
+
"url": "git+https://github.com/SparkElf/deepseek-harness-plus.git"
|
|
34
|
+
},
|
|
35
|
+
"type": "module",
|
|
36
|
+
"types": "lib/types/index.d.ts",
|
|
37
|
+
"version": "0.2.0-rc.18"
|
|
38
|
+
}
|