@deepseek-ai/dsh-experimental-forge-bundle 0.0.0-stage → 0.2.2-alpha.2
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 +37 -0
- package/README.md +76 -2
- package/README.zh.md +77 -0
- package/cordis.patch.yml +17 -0
- package/icon.svg +11 -0
- package/lib/index.js +1 -0
- package/lib/types/index.d.ts +3 -0
- package/locale/de.json +6 -0
- package/locale/en.json +6 -0
- package/locale/es.json +6 -0
- package/locale/fr.json +6 -0
- package/locale/ja.json +6 -0
- package/locale/pt.json +6 -0
- package/locale/ru.json +6 -0
- package/locale/zh.json +6 -0
- package/package.json +50 -3
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,37 @@
|
|
|
1
|
+
# Bilingual-pair consistency record for README.md (docs/i18n/README.md): per heading
|
|
2
|
+
# section, a hash of its English and Chinese blocks outside code blocks and generated regions.
|
|
3
|
+
# After editing either side, bring the other along and re-record with:
|
|
4
|
+
# pnpm run verify-translation-pairing --write packages/experimental/forge-bundle/README.md
|
|
5
|
+
/:
|
|
6
|
+
en: 75db4d505f21f46f
|
|
7
|
+
zh: a0e463c38ed59efa
|
|
8
|
+
/deepseek-ai-dsh-experimental-forge-bundle:
|
|
9
|
+
en: 567570af44a77fa2
|
|
10
|
+
zh: 3d7722fe3ade65d6
|
|
11
|
+
/deepseek-ai-dsh-experimental-forge-bundle/summary:
|
|
12
|
+
en: f6ce7db50e10af0b
|
|
13
|
+
zh: 415f509876e88d8a
|
|
14
|
+
/deepseek-ai-dsh-experimental-forge-bundle/table-of-contents:
|
|
15
|
+
en: d152484eb41ac6b4
|
|
16
|
+
zh: 2f8a621b991260a1
|
|
17
|
+
/deepseek-ai-dsh-experimental-forge-bundle/use-this-package:
|
|
18
|
+
en: 227f8ec88513be9e
|
|
19
|
+
zh: be16cbbb4f3912e2
|
|
20
|
+
/deepseek-ai-dsh-experimental-forge-bundle/understand-the-implementation:
|
|
21
|
+
en: 6effcbf40264388b
|
|
22
|
+
zh: b4f093955671c650
|
|
23
|
+
/deepseek-ai-dsh-experimental-forge-bundle/further-exploration:
|
|
24
|
+
en: ab1f524b8ad79c55
|
|
25
|
+
zh: 137cfcb6d192c269
|
|
26
|
+
/deepseek-ai-dsh-experimental-forge-bundle/model-experience:
|
|
27
|
+
en: 0e8d555c9ba51844
|
|
28
|
+
zh: 1aeda456da13a9bd
|
|
29
|
+
/deepseek-ai-dsh-experimental-forge-bundle/model-experience/kv-cache-effect:
|
|
30
|
+
en: 06c8b68589e27fc7
|
|
31
|
+
zh: 092fd7649b34bc04
|
|
32
|
+
/deepseek-ai-dsh-experimental-forge-bundle/known-limitations-and-deferred-work:
|
|
33
|
+
en: ab489084b24ecb16
|
|
34
|
+
zh: 6be1686e9741dffa
|
|
35
|
+
/deepseek-ai-dsh-experimental-forge-bundle/known-limitations-and-deferred-work/dev-note:
|
|
36
|
+
en: e67f633dc6fe7773
|
|
37
|
+
zh: 3bb0c20c93f16f98
|
package/README.md
CHANGED
|
@@ -1,3 +1,77 @@
|
|
|
1
|
-
|
|
1
|
+
---
|
|
2
|
+
description: "Enable the change request panel and worktree Sessions from the Plugins page."
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
2
5
|
|
|
3
|
-
|
|
6
|
+
# @deepseek-ai/dsh-experimental-forge-bundle
|
|
7
|
+
|
|
8
|
+
English | [中文](README.zh.md)
|
|
9
|
+
|
|
10
|
+
## Summary
|
|
11
|
+
|
|
12
|
+
Show the change requests of each Session with their checks and reviews, and let a new Session start in its own Git worktree. Enable Change requests & worktrees on the Web or Desktop Plugins page; shipped profiles leave it disabled. GitHub status comes from the `gh` CLI signed in on the Host; without it, the panel still shows the branch and the worktree option still works.
|
|
13
|
+
|
|
14
|
+
## Table of Contents
|
|
15
|
+
|
|
16
|
+
- [Use this package](#use-this-package)
|
|
17
|
+
- [Understand the implementation](#understand-the-implementation)
|
|
18
|
+
- [Further Exploration](#further-exploration)
|
|
19
|
+
- [Model Experience](#model-experience)
|
|
20
|
+
- [Known Limitations and Deferred Work](#known-limitations-and-deferred-work)
|
|
21
|
+
- [Dev Note](#dev-note)
|
|
22
|
+
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
<a id="use-this-package"></a>
|
|
26
|
+
## Use this package
|
|
27
|
+
|
|
28
|
+
Open Plugins and enable Change requests & worktrees in the Official group. In a Git workspace, check Worktree in the composer before the first message to start the Session in a new worktree. In a Session whose directory is inside a Git checkout, the header button opens the panel. GitHub pull requests that the Session creates with `gh pr create`, opens with `gh pr view`, `gh pr edit`, or `gh pr checkout`, or works on as its branch or updates with a later `git push`, appear as change requests without further steps. Run `gh auth login --hostname <host>` in a terminal to sign in; the panel shows the command when sign-in is missing. The [panel package](../client-ui-forge/README.md#use-this-package) describes each control.
|
|
29
|
+
|
|
30
|
+
-----
|
|
31
|
+
|
|
32
|
+
<a id="understand-the-implementation"></a>
|
|
33
|
+
## Understand the implementation
|
|
34
|
+
|
|
35
|
+
<details>
|
|
36
|
+
<summary>Maintainer details — click to expand</summary>
|
|
37
|
+
|
|
38
|
+
The bundle patch inserts the forge registry, the GitHub provider, and the Session bindings as Host rows, and a group that isolates the `worktrees` service, holding a worktree service row and the panel's two-face package, whose Client half the Web and Desktop clients load while the row is enabled. The isolation lets the bundle coexist with the Git Worktrees bundle, whose model tool keeps its own service. The rows need the Session projection registry, working-directory, filesystem, subprocess, and sandbox services that every base-backed profile composes.
|
|
39
|
+
|
|
40
|
+
</details>
|
|
41
|
+
|
|
42
|
+
-----
|
|
43
|
+
|
|
44
|
+
<a id="further-exploration"></a>
|
|
45
|
+
## Further Exploration
|
|
46
|
+
|
|
47
|
+
[Forge subsystem](../../../docs/subsystems/forge.md) · [Session bindings](../forge-session/README.md) · [Panel](../client-ui-forge/README.md)
|
|
48
|
+
|
|
49
|
+
-----
|
|
50
|
+
|
|
51
|
+
<a id="model-experience"></a>
|
|
52
|
+
## Model Experience
|
|
53
|
+
|
|
54
|
+
None, as the composed packages add no model tool or prompt; the directory notice of a Session that starts in a worktree reaches the model through the working-directory service, as described by the [panel](../client-ui-forge/README.md#model-experience).
|
|
55
|
+
|
|
56
|
+
#### KV Cache effect
|
|
57
|
+
|
|
58
|
+
None from the bundle; see the [panel](../client-ui-forge/README.md#model-experience) for the worktree notice.
|
|
59
|
+
|
|
60
|
+
## Known Limitations and Deferred Work
|
|
61
|
+
|
|
62
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
63
|
+
|
|
64
|
+
- GitHub is the only code host provider, and the bundle serves github.com only; a GitHub Enterprise host needs a profile patch that lists it in the `forge-github` row's [`hosts`](../forge-github/README.md#use-this-package). No provider recognizes GitLab or other hosts.
|
|
65
|
+
- The model has no tool for bound change requests yet.
|
|
66
|
+
|
|
67
|
+
-----
|
|
68
|
+
|
|
69
|
+
<a id="dev-note"></a>
|
|
70
|
+
### Dev Note
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>Working context for maintainers — click to expand</summary>
|
|
74
|
+
|
|
75
|
+
None.
|
|
76
|
+
|
|
77
|
+
</details>
|
package/README.zh.md
ADDED
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
---
|
|
2
|
+
description: "从插件页面启用变更请求面板与 worktree Session。"
|
|
3
|
+
kind: "package-bundle"
|
|
4
|
+
---
|
|
5
|
+
|
|
6
|
+
# @deepseek-ai/dsh-experimental-forge-bundle
|
|
7
|
+
|
|
8
|
+
[English](README.md) | 中文
|
|
9
|
+
|
|
10
|
+
## 概述
|
|
11
|
+
|
|
12
|
+
展示每个 Session 的变更请求及其检查与评审状态,并让新 Session 在自己的 Git worktree 中开始。在 Web 或 Desktop 的插件页面启用“变更请求与工作树”;发布的 profile 默认禁用该功能。GitHub 状态来自宿主上已登录的 `gh` 命令行;没有它时,面板仍会显示分支,工作树选项也照常可用。
|
|
13
|
+
|
|
14
|
+
## 目录
|
|
15
|
+
|
|
16
|
+
- [使用本包](#use-this-package)
|
|
17
|
+
- [了解实现](#understand-the-implementation)
|
|
18
|
+
- [深入探索](#further-exploration)
|
|
19
|
+
- [模型体验](#model-experience)
|
|
20
|
+
- [已知限制与待办工作](#known-limitations-and-deferred-work)
|
|
21
|
+
- [开发备注](#dev-note)
|
|
22
|
+
|
|
23
|
+
-----
|
|
24
|
+
|
|
25
|
+
<a id="use-this-package"></a>
|
|
26
|
+
## 使用本包
|
|
27
|
+
|
|
28
|
+
打开插件页面,在官方分组中启用“变更请求与工作树”。在 Git 工作区中,发出第一条消息之前在输入框中勾选“工作树”,Session 就会在新的 worktree 中开始。Session 的目录位于 Git 检出中时,标题栏按钮会打开面板。Session 用 `gh pr create` 创建、用 `gh pr view`、`gh pr edit` 或 `gh pr checkout` 打开的 GitHub pull request,以及 Session 所在分支上或之后 `git push` 更新的 pull request,无需额外操作即会作为变更请求出现。在终端运行 `gh auth login --hostname <host>` 登录;缺少登录时,面板会显示这条命令。[面板包](../client-ui-forge/README.zh.md#use-this-package)说明了每个控件。
|
|
29
|
+
|
|
30
|
+
-----
|
|
31
|
+
|
|
32
|
+
<a id="understand-the-implementation"></a>
|
|
33
|
+
## 了解实现
|
|
34
|
+
|
|
35
|
+
<details>
|
|
36
|
+
<summary>维护者细节——点击展开</summary>
|
|
37
|
+
|
|
38
|
+
Bundle patch 以宿主行插入 forge 注册表、GitHub 提供方与 Session 绑定,并插入一个隔离 `worktrees` 服务的分组,其中包含一个 worktree 服务行与面板的双端包;该行启用期间,Web 与 Desktop 客户端会加载其客户端部分。隔离让本套件可以与 Git Worktrees 套件共存,后者的模型工具保有自己的服务。这些行依赖每个基于 base 的 profile 都会组合的 Session 投影注册表、工作目录、文件系统、子进程与沙箱服务。
|
|
39
|
+
|
|
40
|
+
</details>
|
|
41
|
+
|
|
42
|
+
-----
|
|
43
|
+
|
|
44
|
+
<a id="further-exploration"></a>
|
|
45
|
+
## 深入探索
|
|
46
|
+
|
|
47
|
+
[Forge 子系统](../../../docs/subsystems/forge.zh.md) · [Session 绑定](../forge-session/README.zh.md) · [面板](../client-ui-forge/README.zh.md)
|
|
48
|
+
|
|
49
|
+
-----
|
|
50
|
+
|
|
51
|
+
<a id="model-experience"></a>
|
|
52
|
+
## 模型体验
|
|
53
|
+
|
|
54
|
+
无:组合的包不增加模型工具或提示词;以 worktree 开始的 Session 的目录通知通过工作目录服务告知模型,详见[面板](../client-ui-forge/README.zh.md#model-experience)。
|
|
55
|
+
|
|
56
|
+
#### KV Cache 影响
|
|
57
|
+
|
|
58
|
+
Bundle 本身没有影响;worktree 通知见[面板](../client-ui-forge/README.zh.md#model-experience)。
|
|
59
|
+
|
|
60
|
+
## 已知限制与待办工作
|
|
61
|
+
|
|
62
|
+
<a id="known-limitations-and-deferred-work"></a>
|
|
63
|
+
|
|
64
|
+
- 只有 GitHub 一个代码托管提供方,且本 Bundle 只服务 github.com;GitHub Enterprise 主机需要用 profile patch 把它列入 `forge-github` 行的 [`hosts`](../forge-github/README.zh.md#use-this-package)。没有提供方识别 GitLab 等其他平台。
|
|
65
|
+
- 模型目前还没有读取已绑定变更请求的工具。
|
|
66
|
+
|
|
67
|
+
-----
|
|
68
|
+
|
|
69
|
+
<a id="dev-note"></a>
|
|
70
|
+
### 开发备注
|
|
71
|
+
|
|
72
|
+
<details>
|
|
73
|
+
<summary>维护者的工作上下文——点击展开</summary>
|
|
74
|
+
|
|
75
|
+
无。
|
|
76
|
+
|
|
77
|
+
</details>
|
package/cordis.patch.yml
ADDED
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
- insert:
|
|
2
|
+
- id: forge
|
|
3
|
+
name: '@deepseek-ai/dsh-experimental-forge'
|
|
4
|
+
- id: forge-github
|
|
5
|
+
name: '@deepseek-ai/dsh-experimental-forge-github'
|
|
6
|
+
- id: forge-session
|
|
7
|
+
name: '@deepseek-ai/dsh-experimental-forge-session'
|
|
8
|
+
- id: optional-forge-panel
|
|
9
|
+
name: cordis:group
|
|
10
|
+
group: true
|
|
11
|
+
isolate:
|
|
12
|
+
worktrees: true
|
|
13
|
+
config:
|
|
14
|
+
- id: forge-worktree
|
|
15
|
+
name: '@deepseek-ai/dsh-experimental-worktree'
|
|
16
|
+
- id: forge-panel
|
|
17
|
+
name: '@deepseek-ai/dsh-experimental-client-ui-forge'
|
package/icon.svg
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
<svg width="36" height="36" viewBox="0 0 36 36" fill="none" xmlns="http://www.w3.org/2000/svg">
|
|
2
|
+
<rect x="7" y="7" width="22" height="22" rx="4" fill="url(#forge-bundle-card)" fill-opacity="0.85" />
|
|
3
|
+
<circle cx="13" cy="12.5" r="1.9" stroke="#FFFFFF" stroke-width="1.6" />
|
|
4
|
+
<circle cx="13" cy="23.5" r="1.9" stroke="#FFFFFF" stroke-width="1.6" />
|
|
5
|
+
<circle cx="23" cy="23.5" r="1.9" stroke="#FFFFFF" stroke-width="1.6" />
|
|
6
|
+
<path d="M13 14.4V21.6M23 21.6V16.2C23 14.3 21.7 13 19.8 13H18" stroke="#FFFFFF" stroke-width="1.6" />
|
|
7
|
+
<path d="M20 11L18 13L20 15" stroke="#FFFFFF" stroke-width="1.6" stroke-linejoin="round" />
|
|
8
|
+
<defs>
|
|
9
|
+
<linearGradient id="forge-bundle-card" x1="18" y1="7" x2="18" y2="29" gradientUnits="userSpaceOnUse"><stop stop-color="#69B9FF" /><stop offset="1" stop-color="#324DE2" /></linearGradient>
|
|
10
|
+
</defs>
|
|
11
|
+
</svg>
|
package/lib/index.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
package/locale/de.json
ADDED
package/locale/en.json
ADDED
package/locale/es.json
ADDED
package/locale/fr.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Demandes de modification et arbres de travail",
|
|
4
|
+
"description": "Suivez les demandes de modification de chaque session avec leurs vérifications et revues, et démarrez de nouvelles sessions dans un arbre de travail Git ; utilise la CLI gh pour GitHub."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/ja.json
ADDED
package/locale/pt.json
ADDED
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
{
|
|
2
|
+
"meta": {
|
|
3
|
+
"title": "Solicitações de alteração e árvores de trabalho",
|
|
4
|
+
"description": "Acompanhe as solicitações de alteração de cada sessão com suas verificações e revisões e inicie novas sessões em uma árvore de trabalho Git; usa a CLI gh para o GitHub."
|
|
5
|
+
}
|
|
6
|
+
}
|
package/locale/ru.json
ADDED
package/locale/zh.json
ADDED
package/package.json
CHANGED
|
@@ -1,6 +1,53 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deepseek-ai/dsh-experimental-forge-bundle",
|
|
3
|
-
"
|
|
4
|
-
"
|
|
5
|
-
"
|
|
3
|
+
"description": "Experimental change request panel and worktree option for Sessions in Git repositories",
|
|
4
|
+
"version": "0.2.2-alpha.2",
|
|
5
|
+
"icon": "./icon.svg",
|
|
6
|
+
"publishConfig": {
|
|
7
|
+
"access": "public"
|
|
8
|
+
},
|
|
9
|
+
"repository": {
|
|
10
|
+
"type": "git",
|
|
11
|
+
"url": "git+https://github.com/deepseek-ai/deepseek-harness.git",
|
|
12
|
+
"directory": "packages/experimental/forge-bundle"
|
|
13
|
+
},
|
|
14
|
+
"type": "module",
|
|
15
|
+
"main": "lib/index.js",
|
|
16
|
+
"types": "lib/types/index.d.ts",
|
|
17
|
+
"exports": {
|
|
18
|
+
".": {
|
|
19
|
+
"types": "./lib/types/index.d.ts",
|
|
20
|
+
"default": "./lib/index.js"
|
|
21
|
+
},
|
|
22
|
+
"./src/*": "./src/*",
|
|
23
|
+
"./package.json": "./package.json",
|
|
24
|
+
"./cordis.patch.yml": "./cordis.patch.yml",
|
|
25
|
+
"./locale/*.json": "./locale/*.json"
|
|
26
|
+
},
|
|
27
|
+
"files": [
|
|
28
|
+
"icon.svg",
|
|
29
|
+
"locale/*.json",
|
|
30
|
+
"lib/index.js",
|
|
31
|
+
"cordis.patch.yml",
|
|
32
|
+
"lib/types/**/*.d.ts"
|
|
33
|
+
],
|
|
34
|
+
"license": "MIT",
|
|
35
|
+
"dependencies": {
|
|
36
|
+
"@deepseek-ai/dsh-experimental-client-ui-forge": "0.2.2-alpha.2",
|
|
37
|
+
"@deepseek-ai/dsh-experimental-forge": "0.2.2-alpha.2",
|
|
38
|
+
"@deepseek-ai/dsh-experimental-forge-github": "0.2.2-alpha.2",
|
|
39
|
+
"@deepseek-ai/dsh-experimental-forge-session": "0.2.2-alpha.2",
|
|
40
|
+
"@deepseek-ai/dsh-experimental-worktree": "0.2.2-alpha.2"
|
|
41
|
+
},
|
|
42
|
+
"peerDependencies": {
|
|
43
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1"
|
|
44
|
+
},
|
|
45
|
+
"devDependencies": {
|
|
46
|
+
"@deepseek-ai/cordis": "~4.0.6-alpha.1"
|
|
47
|
+
},
|
|
48
|
+
"dsh": {
|
|
49
|
+
"bundle": {
|
|
50
|
+
"patch": "./cordis.patch.yml"
|
|
51
|
+
}
|
|
52
|
+
}
|
|
6
53
|
}
|