@jingyi0605/codingns4dsh 0.1.2 → 0.1.7-rc.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/README.en.md +4 -4
- package/README.md +14 -5
- package/data/build/dist/client/account-bar.js +57 -3
- package/data/build/dist/client/bundle.js +36246 -268
- package/data/build/dist/client/cli-slots.js +60 -18
- package/data/build/dist/client/dsh-h5-bootstrap.d.ts +2 -0
- package/data/build/dist/client/dsh-h5-bootstrap.js +79 -13
- package/data/build/dist/client/features/file-management-panel.d.ts +5 -0
- package/data/build/dist/client/features/file-management-panel.js +48 -0
- package/data/build/dist/client/features/file-management.d.ts +4 -0
- package/data/build/dist/client/features/file-management.js +50 -0
- package/data/build/dist/client/features/index.d.ts +10 -1
- package/data/build/dist/client/features/index.js +12 -1
- package/data/build/dist/client/features/login-protection-panel.js +1 -1
- package/data/build/dist/client/features/login-protection-session.d.ts +2 -0
- package/data/build/dist/client/features/login-protection-session.js +18 -0
- package/data/build/dist/client/features/peer-host.d.ts +4 -0
- package/data/build/dist/client/features/peer-host.js +89 -0
- package/data/build/dist/client/features/reverse-proxy-panel.js +23 -7
- package/data/build/dist/client/features/reverse-proxy.d.ts +1 -2
- package/data/build/dist/client/features/reverse-proxy.js +75 -5
- package/data/build/dist/client/features/types.d.ts +9 -0
- package/data/build/dist/client/features/workspace-session-enhancement-panel.js +10 -0
- package/data/build/dist/client/features/workspace-session-enhancement.js +18 -1
- package/data/build/dist/client/file-management-dom.d.ts +12 -0
- package/data/build/dist/client/file-management-dom.js +527 -0
- package/data/build/dist/client/git-management.js +24 -5
- package/data/build/dist/client/host-navigation.d.ts +29 -0
- package/data/build/dist/client/host-navigation.js +29 -0
- package/data/build/dist/client/host-router.d.ts +3 -0
- package/data/build/dist/client/host-router.js +2 -0
- package/data/build/dist/client/index.d.ts +6 -1
- package/data/build/dist/client/index.js +30 -10
- package/data/build/dist/client/locale.js +36 -7
- package/data/build/dist/client/peer-host-connection-button.d.ts +13 -0
- package/data/build/dist/client/peer-host-connection-button.js +69 -0
- package/data/build/dist/client/peer-host-management-api.d.ts +40 -0
- package/data/build/dist/client/peer-host-management-api.js +33 -0
- package/data/build/dist/client/peer-host-management-panel.d.ts +13 -0
- package/data/build/dist/client/peer-host-management-panel.js +181 -0
- package/data/build/dist/client/peer-host-native-session-ui.d.ts +60 -0
- package/data/build/dist/client/peer-host-native-session-ui.js +372 -0
- package/data/build/dist/client/peer-host-scoped-client.d.ts +67 -0
- package/data/build/dist/client/peer-host-scoped-client.js +316 -0
- package/data/build/dist/client/peer-host-session-controller.d.ts +30 -0
- package/data/build/dist/client/peer-host-session-controller.js +95 -0
- package/data/build/dist/client/quick-phrase-slot.js +14 -0
- package/data/build/dist/client/remote-web-context.js +26 -4
- package/data/build/dist/client/session-changed-files-view.d.ts +15 -0
- package/data/build/dist/client/session-changed-files-view.js +337 -0
- package/data/build/dist/client/settings-bridge.d.ts +14 -4
- package/data/build/dist/client/settings-bridge.js +59 -12
- package/data/build/dist/client/settings-section.js +17 -4
- package/data/build/dist/client/subscription-slot.js +21 -8
- package/data/build/dist/client/workspace-session-rightbar-dom.d.ts +28 -0
- package/data/build/dist/client/workspace-session-rightbar-dom.js +291 -0
- package/data/build/dist/dsh-capabilities/client/config-forms-adapter.js +25 -33
- package/data/build/dist/dsh-capabilities/client/settings-scope-adapter.d.ts +7 -1
- package/data/build/dist/dsh-capabilities/client/settings-scope-adapter.js +34 -11
- package/data/build/dist/dsh-capabilities/matrix.js +9 -0
- package/data/build/dist/dsh-capabilities/routes.js +35 -0
- package/data/build/dist/dsh-capabilities/settings-store.d.ts +12 -0
- package/data/build/dist/dsh-capabilities/settings-store.js +34 -0
- package/data/build/dist/dsh-capabilities/types.d.ts +1 -1
- package/data/build/dist/features/host-router.d.ts +26 -0
- package/data/build/dist/features/host-router.js +110 -0
- package/data/build/dist/features/registry.js +3 -0
- package/data/build/dist/host/cli-adapters/codex-driver.d.ts +13 -1
- package/data/build/dist/host/cli-adapters/codex-driver.js +528 -72
- package/data/build/dist/host/cli-adapters/command-code-driver.d.ts +21 -2
- package/data/build/dist/host/cli-adapters/command-code-driver.js +408 -105
- package/data/build/dist/host/cli-adapters/driver.d.ts +2 -0
- package/data/build/dist/host/cli-adapters/dsh-message-projector.d.ts +2 -0
- package/data/build/dist/host/cli-adapters/dsh-message-projector.js +47 -28
- package/data/build/dist/host/cli-adapters/dsh-tool-history.js +37 -0
- package/data/build/dist/host/cli-adapters/feature.js +94 -10
- package/data/build/dist/host/cli-adapters/json-rpc-process.d.ts +6 -0
- package/data/build/dist/host/cli-adapters/json-rpc-process.js +14 -3
- package/data/build/dist/host/cli-adapters/kimi-driver.js +3 -3
- package/data/build/dist/host/cli-adapters/model-catalog.d.ts +6 -0
- package/data/build/dist/host/cli-adapters/model-catalog.js +8 -0
- package/data/build/dist/host/cli-adapters/opencode-driver.js +14 -2
- package/data/build/dist/host/cli-adapters/pi-driver.js +2 -2
- package/data/build/dist/host/cli-adapters/process-utils.d.ts +8 -0
- package/data/build/dist/host/cli-adapters/process-utils.js +48 -0
- package/data/build/dist/host/cli-adapters/registry.d.ts +6 -1
- package/data/build/dist/host/cli-adapters/registry.js +41 -7
- package/data/build/dist/host/cli-adapters/rpc-driver-utils.js +23 -4
- package/data/build/dist/host/cli-adapters/standard-stream-driver.d.ts +3 -0
- package/data/build/dist/host/cli-adapters/standard-stream-driver.js +36 -15
- package/data/build/dist/host/dsh-device-runtime.d.ts +2 -0
- package/data/build/dist/host/dsh-device-runtime.js +55 -29
- package/data/build/dist/host/dsh-runtime-version.d.ts +3 -2
- package/data/build/dist/host/dsh-runtime-version.js +71 -2
- package/data/build/dist/host/features/auth.js +10 -2
- package/data/build/dist/host/features/file-management.d.ts +5 -0
- package/data/build/dist/host/features/file-management.js +267 -0
- package/data/build/dist/host/features/git-management.js +24 -2
- package/data/build/dist/host/features/index.d.ts +2 -0
- package/data/build/dist/host/features/index.js +6 -0
- package/data/build/dist/host/features/peer-host.d.ts +22 -0
- package/data/build/dist/host/features/peer-host.js +322 -0
- package/data/build/dist/host/features/types.d.ts +4 -0
- package/data/build/dist/host/host-router.d.ts +3 -0
- package/data/build/dist/host/host-router.js +2 -0
- package/data/build/dist/host/index-injection.d.ts +17 -0
- package/data/build/dist/host/index-injection.js +24 -0
- package/data/build/dist/host/index.d.ts +4 -1
- package/data/build/dist/host/index.js +41 -7
- package/data/build/dist/host/lan-access-dsh.d.ts +34 -1
- package/data/build/dist/host/lan-access-dsh.js +145 -26
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.d.ts +52 -0
- package/data/build/dist/host/modules/peer-host/host-api-proxy-service.js +166 -0
- package/data/build/dist/host/modules/peer-host/host-ws-connector.d.ts +31 -0
- package/data/build/dist/host/modules/peer-host/host-ws-connector.js +108 -0
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.d.ts +26 -0
- package/data/build/dist/host/modules/peer-host/host-ws-proxy-service.js +159 -0
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.d.ts +50 -0
- package/data/build/dist/host/modules/peer-host/peer-host-aggregate-service.js +97 -0
- package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.d.ts +19 -0
- package/data/build/dist/host/modules/peer-host/peer-host-diagnostics.js +54 -0
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.d.ts +44 -0
- package/data/build/dist/host/modules/peer-host/peer-host-handshake.js +133 -0
- package/data/build/dist/host/modules/peer-host/peer-host-relay.d.ts +65 -0
- package/data/build/dist/host/modules/peer-host/peer-host-relay.js +196 -0
- package/data/build/dist/host/modules/peer-host/peer-host-session.d.ts +42 -0
- package/data/build/dist/host/modules/peer-host/peer-host-session.js +152 -0
- package/data/build/dist/host/modules/peer-host/peer-host-store.d.ts +92 -0
- package/data/build/dist/host/modules/peer-host/peer-host-store.js +323 -0
- package/data/build/dist/host/modules/peer-host/peer-host-ws-gateway.d.ts +34 -0
- package/data/build/dist/host/modules/peer-host/peer-host-ws-gateway.js +156 -0
- package/data/build/dist/host/native-session-bridge.d.ts +18 -2
- package/data/build/dist/host/native-session-bridge.js +232 -8
- package/data/build/dist/host/remote-web-runtime.js +26 -1
- package/data/build/dist/host/rpc.js +8 -3
- package/data/build/dist/host/session-changes.d.ts +5 -0
- package/data/build/dist/host/session-changes.js +163 -0
- package/data/build/dist/host/settings.js +6 -0
- package/data/build/dist/index.d.ts +1 -1
- package/data/build/dist/index.js +1 -1
- package/data/build/dist/shared/contracts/cli-adapter.d.ts +23 -2
- package/data/build/dist/shared/contracts/config.d.ts +15 -0
- package/data/build/dist/shared/contracts/config.js +10 -0
- package/data/build/dist/shared/contracts/dsh-device.d.ts +2 -0
- package/data/build/dist/shared/contracts/errors.d.ts +14 -0
- package/data/build/dist/shared/contracts/errors.js +15 -0
- package/data/build/dist/shared/contracts/feature.d.ts +2 -0
- package/data/build/dist/shared/contracts/file-management.d.ts +6 -0
- package/data/build/dist/shared/contracts/file-management.js +3 -0
- package/data/build/dist/shared/contracts/peer-host.d.ts +116 -15
- package/data/build/dist/shared/contracts/peer-host.js +19 -0
- package/data/build/dist/shared/contracts/version.d.ts +1 -1
- package/data/build/dist/shared/contracts/version.js +1 -1
- package/data/build/dist/shared/index.d.ts +4 -3
- package/data/build/dist/shared/index.js +2 -2
- package/data/build/dist/transport/debug.d.ts +5 -0
- package/data/build/dist/transport/debug.js +23 -1
- package/data/build/dist/transport/dsh-transport.d.ts +2 -0
- package/data/build/dist/transport/dsh-transport.js +11 -0
- package/data/build/dist/transport/webrtc-client.d.ts +2 -0
- package/data/build/dist/transport/webrtc-client.js +2 -1
- package/data/build/dist/transport/webrtc-host.d.ts +2 -0
- package/data/build/dist/transport/webrtc-host.js +6 -3
- package/data/build/dist/typert.host.d.ts +1 -1
- package/data/build/dist/typert.host.js +2 -1
- package/dsh.bundle.patch +10 -0
- package/package.json +19 -11
- package/profile/README.md +2 -2
- package/profile/package.json +2 -2
- package/profile/version.json +1 -1
- package/version.json +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export declare const TYPERT: {
|
|
2
|
-
readonly package: "codingns4dsh";
|
|
2
|
+
readonly package: "@jingyi0605/codingns4dsh";
|
|
3
3
|
readonly face: "host";
|
|
4
4
|
readonly schemas: readonly [];
|
|
5
5
|
readonly invocations: readonly [Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>, Record<string, unknown>];
|
|
@@ -92,7 +92,8 @@ const voidResult = (method) => codec(`codingns4dsh#terminal/${method}:result`, z
|
|
|
92
92
|
const idParameter = () => json('id', 'id', 'codingns4dsh/shared#WebTerminalId', terminalIdSchema);
|
|
93
93
|
const attachmentParameter = () => json('attachmentId', 'attachmentId', 'codingns4dsh/shared#TerminalAttachmentId', attachmentIdSchema);
|
|
94
94
|
export const TYPERT = {
|
|
95
|
-
package
|
|
95
|
+
// Typert Loader 要求 manifest.package 与导出该 manifest 的 npm 包名完全一致。
|
|
96
|
+
package: '@jingyi0605/codingns4dsh',
|
|
96
97
|
face: 'host',
|
|
97
98
|
schemas: [],
|
|
98
99
|
invocations: [
|
package/dsh.bundle.patch
CHANGED
|
@@ -7,6 +7,16 @@
|
|
|
7
7
|
- id: ui-sidebar-terminal
|
|
8
8
|
name: '@deepseek-ai/dsh-client-ui-sidebar-terminal'
|
|
9
9
|
disabled: true
|
|
10
|
+
# 远程访问必须始终使用网页模态框。默认的 auto 会按 Host 环境切换到原生系统选择器,
|
|
11
|
+
# 这对远程浏览器不可达,而且会让同一个“添加工作区”入口出现两套交互。
|
|
12
|
+
- id: directory-picker
|
|
13
|
+
name: '@deepseek-ai/dsh-host-directory-picker-auto'
|
|
14
|
+
disabled: true
|
|
15
|
+
- insert:
|
|
16
|
+
- id: directory-picker-browse
|
|
17
|
+
name: '@deepseek-ai/dsh-host-directory-picker-browse'
|
|
18
|
+
- id: ui-directory-picker-browse
|
|
19
|
+
name: '@deepseek-ai/dsh-client-ui-directory-picker-browse'
|
|
10
20
|
- insert:
|
|
11
21
|
- id: '@jingyi0605/codingns4dsh'
|
|
12
22
|
name: '@jingyi0605/codingns4dsh'
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@jingyi0605/codingns4dsh",
|
|
3
|
-
"version": "0.1.2",
|
|
3
|
+
"version": "0.1.7-rc.2",
|
|
4
4
|
"description": "Codingns4DSH 插件骨架与连接契约",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -115,11 +115,21 @@
|
|
|
115
115
|
],
|
|
116
116
|
"devDependencies": {
|
|
117
117
|
"@deepseek-ai/cordis": "^4.0.2",
|
|
118
|
+
"@deepseek-ai/dsh-api-remotes": "0.1.6-alpha.2",
|
|
118
119
|
"@deepseek-ai/dsh-client-connection": "0.1.6-alpha.2",
|
|
120
|
+
"@deepseek-ai/dsh-client-locale": "0.1.6-alpha.2",
|
|
121
|
+
"@deepseek-ai/dsh-client-ui-conversation": "0.1.6-alpha.2",
|
|
122
|
+
"@deepseek-ai/dsh-client-ui-layout": "0.1.6-alpha.2",
|
|
123
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.1.6-alpha.2",
|
|
119
124
|
"@deepseek-ai/dsh-client-ui-renderer": "0.1.6-alpha.2",
|
|
120
125
|
"@deepseek-ai/dsh-client-ui-settings": "0.1.6-alpha.2",
|
|
121
126
|
"@deepseek-ai/dsh-client-ui-slots": "0.1.6-alpha.2",
|
|
127
|
+
"@deepseek-ai/dsh-client-ui-session": "0.1.6-alpha.2",
|
|
128
|
+
"@deepseek-ai/dsh-client-ui-sidebar-right": "0.1.6-alpha.2",
|
|
129
|
+
"@deepseek-ai/dsh-client-ui-theme": "0.1.6-alpha.2",
|
|
122
130
|
"@deepseek-ai/dsh-settings": "0.1.6-alpha.2",
|
|
131
|
+
"@deepseek-ai/dsh-typert-protocol": "0.1.6-alpha.2",
|
|
132
|
+
"@deepseek-ai/schemastery": "^3.18.3",
|
|
123
133
|
"@types/react": "~18.3.1",
|
|
124
134
|
"@types/ws": "^8.18.1",
|
|
125
135
|
"react": "^18.2.0",
|
|
@@ -127,19 +137,17 @@
|
|
|
127
137
|
"typescript": "^5.9.2"
|
|
128
138
|
},
|
|
129
139
|
"dependencies": {
|
|
130
|
-
"@
|
|
131
|
-
"@
|
|
132
|
-
"@
|
|
133
|
-
"@
|
|
134
|
-
"@
|
|
135
|
-
"@
|
|
136
|
-
"@
|
|
137
|
-
"@deepseek-ai/dsh-client-ui-theme": "0.1.6-alpha.2",
|
|
138
|
-
"@deepseek-ai/dsh-typert-protocol": "0.1.6-alpha.2",
|
|
139
|
-
"@deepseek-ai/schemastery": "^3.18.3",
|
|
140
|
+
"@codemirror/lang-css": "^6.3.1",
|
|
141
|
+
"@codemirror/lang-html": "^6.4.12",
|
|
142
|
+
"@codemirror/lang-javascript": "^6.2.5",
|
|
143
|
+
"@codemirror/lang-json": "^6.0.2",
|
|
144
|
+
"@codemirror/lang-markdown": "^6.5.2",
|
|
145
|
+
"@codemirror/lang-python": "^6.2.1",
|
|
146
|
+
"@codemirror/lang-sql": "^6.10.0",
|
|
140
147
|
"@lydell/node-pty": "1.1.0",
|
|
141
148
|
"@xterm/addon-fit": "^0.11.0",
|
|
142
149
|
"@xterm/xterm": "^6.0.0",
|
|
150
|
+
"codemirror": "^6.0.2",
|
|
143
151
|
"werift": "^0.24.4",
|
|
144
152
|
"ws": "^8.21.0",
|
|
145
153
|
"zod": "^4.4.3"
|
package/profile/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# Codingns4DSH Profile
|
|
2
2
|
|
|
3
|
-
这是独立的 Codingns4DSH Profile,插件版本为 `0.1.2`,兼容 DSH `>=0.1.5-rc.3 <=0.1.7-rc.2`,当前测试版本为 `0.1.6-alpha.2`。
|
|
3
|
+
这是独立的 Codingns4DSH Profile,插件版本为 `0.1.7-rc.2`,兼容 DSH `>=0.1.5-rc.3 <=0.1.7-rc.2`,当前测试版本为 `0.1.6-alpha.2`。
|
|
4
4
|
|
|
5
5
|
Profile 只选择 `codingns4dsh` Bundle。`cordis.patch.yml` 保持 `[]`,因为启动期
|
|
6
6
|
Transport 必须由外部 pre-Cordis 启动胶水在 DSH Client/Cordis 创建前登记,不能由
|
|
@@ -9,7 +9,7 @@ Transport 必须由外部 pre-Cordis 启动胶水在 DSH Client/Cordis 创建前
|
|
|
9
9
|
发布后,在 DSH 的 Profile 中安装精确版本的插件 Bundle:
|
|
10
10
|
|
|
11
11
|
```bash
|
|
12
|
-
dsh plugin --profile codingns4dsh add @jingyi0605/codingns4dsh@0.1.2
|
|
12
|
+
dsh plugin --profile codingns4dsh add @jingyi0605/codingns4dsh@0.1.7-rc.2
|
|
13
13
|
```
|
|
14
14
|
|
|
15
15
|
Profile 安装完成后,使用 DSH 官方启动器启动:
|
package/profile/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codingns4dsh-profile",
|
|
3
|
-
"version": "0.1.2",
|
|
3
|
+
"version": "0.1.7-rc.2",
|
|
4
4
|
"private": true,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"engines": {
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
"preinstall": "node scripts/check-dsh-install.mjs"
|
|
11
11
|
},
|
|
12
12
|
"dependencies": {
|
|
13
|
-
"@jingyi0605/codingns4dsh": "0.1.2"
|
|
13
|
+
"@jingyi0605/codingns4dsh": "0.1.7-rc.2"
|
|
14
14
|
},
|
|
15
15
|
"dsh": {
|
|
16
16
|
"profile": {
|
package/profile/version.json
CHANGED
package/version.json
CHANGED