@dsh-electron/dsh-plugin-multi-root-workspace 0.1.3 → 0.1.5
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/CHANGELOG.en.md +16 -2
- package/CHANGELOG.md +16 -2
- package/README.en.md +10 -6
- package/README.md +10 -6
- package/lib/client.js.map +1 -1
- package/lib/{compat-DKjbLSi-.js → compat-82Y27Iom.js} +4 -1
- package/lib/compat.js +1 -1
- package/lib/index.js +1 -1
- package/lib/types/compat/client-icons.d.ts +1 -1
- package/lib/types/compat/client-session.d.ts +1 -1
- package/lib/types/compat/dsh-version.d.ts +1 -1
- package/lib/types/compat/tool-result.d.ts +2 -2
- package/package.json +44 -44
|
@@ -37,7 +37,10 @@ const SUPPORTED_DSH_RELEASES = [
|
|
|
37
37
|
"0.1.6-alpha.2",
|
|
38
38
|
"0.1.7-alpha.1",
|
|
39
39
|
"0.1.7-alpha.2",
|
|
40
|
-
"0.1.7-rc.1"
|
|
40
|
+
"0.1.7-rc.1",
|
|
41
|
+
"0.1.7-rc.2",
|
|
42
|
+
"0.2.0-rc.1",
|
|
43
|
+
"0.2.0-rc.2"
|
|
41
44
|
];
|
|
42
45
|
/**
|
|
43
46
|
* Packages whose absence means this plugin cannot function at all: every one of
|
package/lib/compat.js
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { a as inject, i as assertSupportedInstallation, n as MultiRootCompatService, r as apply, t as DshCompatUnsupportedError } from "./compat-
|
|
1
|
+
import { a as inject, i as assertSupportedInstallation, n as MultiRootCompatService, r as apply, t as DshCompatUnsupportedError } from "./compat-82Y27Iom.js";
|
|
2
2
|
export { DshCompatUnsupportedError, MultiRootCompatService, apply, assertSupportedInstallation, inject };
|
package/lib/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { c as REQUIRED_CORE_PACKAGES, d as compatEnforcement, f as readInstalledVersion, i as assertSupportedInstallation, l as SUPPORTED_DSH_RELEASES, n as MultiRootCompatService, o as CORE_PACKAGES, s as OPTIONAL_CORE_PACKAGES, t as DshCompatUnsupportedError, u as classifyInstallation } from "./compat-
|
|
1
|
+
import { c as REQUIRED_CORE_PACKAGES, d as compatEnforcement, f as readInstalledVersion, i as assertSupportedInstallation, l as SUPPORTED_DSH_RELEASES, n as MultiRootCompatService, o as CORE_PACKAGES, s as OPTIONAL_CORE_PACKAGES, t as DshCompatUnsupportedError, u as classifyInstallation } from "./compat-82Y27Iom.js";
|
|
2
2
|
import { a as composeInstructionMessage, c as createInstructionMessage, l as instructionsApi, r as PLUGIN_SOURCE, t as DEFAULT_MAX_BYTES, u as renderInstructions } from "./instructions-Cn1Jj5Xi.js";
|
|
3
3
|
import { n as widenConfined, t as MultiRootSandboxProvider } from "./sandbox-D8Fw95FM.js";
|
|
4
4
|
import { a as classifyStoredRoots, c as indexedStatuses, f as resolveRootRef, i as canonicalRoot, l as isCanonicallyUnder, n as additionalRootId, p as validateRootCandidate, r as availableRoots, s as expandRootInput, t as RootValidationError, u as removeStatusAt } from "./roots-DasWEBJk.js";
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* ```text
|
|
5
5
|
* 0.1.5-rc.2 / 0.1.6 IconFolderClose16, IconChevronDownOutline14, … (pixel size in the name)
|
|
6
|
-
* 0.1.7-alpha.1 through 0.
|
|
6
|
+
* 0.1.7-alpha.1 through 0.2.0-rc.2 IconFolderCloseRegular, IconChevronDownOutlineRegular, … (weight in the name)
|
|
7
7
|
* ```
|
|
8
8
|
*
|
|
9
9
|
* `0.1.7-alpha.1` kept `size` as a prop and split each glyph into a Regular
|
|
@@ -8,7 +8,7 @@
|
|
|
8
8
|
* ```text
|
|
9
9
|
* 0.1.5-rc.2, 0.1.6-alpha.1
|
|
10
10
|
* sessions.list.getSnapshot().current SessionId | undefined
|
|
11
|
-
* 0.1.6-alpha.2, 0.1.7-alpha.1, 0.1.7-alpha.2, 0.1.7-rc.1
|
|
11
|
+
* 0.1.6-alpha.2, 0.1.7-alpha.1, 0.1.7-alpha.2, 0.1.7-rc.1, 0.1.7-rc.2
|
|
12
12
|
* the catalog has no `current`. The main view retains its session with
|
|
13
13
|
* source `mainView`, and that count is projected onto the list row:
|
|
14
14
|
* sessions.list.getSnapshot().byId[id].retainedBy.mainView > 0
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
* the upgrade smoke passed on that exact version — a green CI run on an
|
|
29
29
|
* unlisted release is evidence, not authorization (ADR-0009).
|
|
30
30
|
*/
|
|
31
|
-
export declare const SUPPORTED_DSH_RELEASES: readonly ["0.1.5-rc.2", "0.1.6-alpha.1", "0.1.6-alpha.2", "0.1.7-alpha.1", "0.1.7-alpha.2", "0.1.7-rc.1"];
|
|
31
|
+
export declare const SUPPORTED_DSH_RELEASES: readonly ["0.1.5-rc.2", "0.1.6-alpha.1", "0.1.6-alpha.2", "0.1.7-alpha.1", "0.1.7-alpha.2", "0.1.7-rc.1", "0.1.7-rc.2", "0.2.0-rc.1", "0.2.0-rc.2"];
|
|
32
32
|
/** One release this plugin claims to support. */
|
|
33
33
|
export type SupportedDshRelease = typeof SUPPORTED_DSH_RELEASES[number];
|
|
34
34
|
/**
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
*
|
|
4
4
|
* ```text
|
|
5
5
|
* 0.1.5-rc.2 / 0.1.6 content[0].isError on the tool-result block
|
|
6
|
-
* 0.1.7-alpha.1 through 0.
|
|
6
|
+
* 0.1.7-alpha.1 through 0.2.0-rc.2 message.isError on the tool-role message
|
|
7
7
|
* ```
|
|
8
8
|
*
|
|
9
9
|
* A failed `read` / `write` / `edit` must not make a directory worth examining
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
*/
|
|
17
17
|
/** The fields either release uses to say a tool invocation failed. */
|
|
18
18
|
export interface ToolResultFailureShape {
|
|
19
|
-
/** `0.1.7-alpha.1` through `0.1.7-rc.
|
|
19
|
+
/** `0.1.7-alpha.1` through `0.1.7-rc.2` record the outcome on the message. */
|
|
20
20
|
readonly isError?: boolean;
|
|
21
21
|
/** `0.1.5-rc.2` and `0.1.6` record it on the first content block. */
|
|
22
22
|
readonly content?: readonly object[];
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dsh-electron/dsh-plugin-multi-root-workspace",
|
|
3
3
|
"description": "Multi-root Workspace for DeepSeek Harness: adds N additional roots to the workspace sandbox scope as an out-of-tree bundle",
|
|
4
|
-
"version": "0.1.
|
|
4
|
+
"version": "0.1.5",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "lib/index.js",
|
|
7
7
|
"types": "lib/types/index.d.ts",
|
|
@@ -68,20 +68,20 @@
|
|
|
68
68
|
"license": "MIT",
|
|
69
69
|
"peerDependencies": {
|
|
70
70
|
"@deepseek-ai/cordis": ">=4.0.1 <5.0.0",
|
|
71
|
-
"@deepseek-ai/dsh-agent": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
72
|
-
"@deepseek-ai/dsh-agent-instructions": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
73
|
-
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
74
|
-
"@deepseek-ai/dsh-commands": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
75
|
-
"@deepseek-ai/dsh-fs": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
76
|
-
"@deepseek-ai/dsh-fs-local": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
77
|
-
"@deepseek-ai/dsh-llm": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
78
|
-
"@deepseek-ai/dsh-sandbox": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
79
|
-
"@deepseek-ai/dsh-sandbox-local": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
80
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
81
|
-
"@deepseek-ai/dsh-session": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
82
|
-
"@deepseek-ai/dsh-storage-domain": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
83
|
-
"@deepseek-ai/dsh-subprocess": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1",
|
|
84
|
-
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1"
|
|
71
|
+
"@deepseek-ai/dsh-agent": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
72
|
+
"@deepseek-ai/dsh-agent-instructions": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
73
|
+
"@deepseek-ai/dsh-client-connection": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
74
|
+
"@deepseek-ai/dsh-commands": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
75
|
+
"@deepseek-ai/dsh-fs": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
76
|
+
"@deepseek-ai/dsh-fs-local": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
77
|
+
"@deepseek-ai/dsh-llm": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
78
|
+
"@deepseek-ai/dsh-sandbox": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
79
|
+
"@deepseek-ai/dsh-sandbox-local": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
80
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
81
|
+
"@deepseek-ai/dsh-session": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
82
|
+
"@deepseek-ai/dsh-storage-domain": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
83
|
+
"@deepseek-ai/dsh-subprocess": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2",
|
|
84
|
+
"@deepseek-ai/dsh-system-prompt": "0.1.5-rc.2 || 0.1.6-alpha.1 || 0.1.6-alpha.2 || 0.1.7-alpha.1 || 0.1.7-alpha.2 || 0.1.7-rc.1 || 0.1.7-rc.2 || 0.2.0-rc.1 || 0.2.0-rc.2"
|
|
85
85
|
},
|
|
86
86
|
"peerDependenciesMeta": {
|
|
87
87
|
"@deepseek-ai/dsh-agent": {
|
|
@@ -110,35 +110,35 @@
|
|
|
110
110
|
}
|
|
111
111
|
},
|
|
112
112
|
"devDependencies": {
|
|
113
|
-
"@deepseek-ai/cordis": "4.0.
|
|
114
|
-
"@deepseek-ai/dsh": "0.
|
|
115
|
-
"@deepseek-ai/dsh-agent": "0.
|
|
116
|
-
"@deepseek-ai/dsh-agent-instructions": "0.
|
|
117
|
-
"@deepseek-ai/dsh-app-boot": "0.
|
|
118
|
-
"@deepseek-ai/dsh-base": "0.
|
|
119
|
-
"@deepseek-ai/dsh-client-connection": "0.
|
|
120
|
-
"@deepseek-ai/dsh-client-locale": "0.
|
|
121
|
-
"@deepseek-ai/dsh-client-ui-primitives": "0.
|
|
122
|
-
"@deepseek-ai/dsh-client-ui-renderer": "0.
|
|
123
|
-
"@deepseek-ai/dsh-client-ui-sidebar": "0.
|
|
124
|
-
"@deepseek-ai/dsh-client-ui-slots": "0.
|
|
125
|
-
"@deepseek-ai/dsh-client-ui-workspace": "0.
|
|
126
|
-
"@deepseek-ai/dsh-commands": "0.
|
|
127
|
-
"@deepseek-ai/dsh-fs": "0.
|
|
128
|
-
"@deepseek-ai/dsh-fs-local": "0.
|
|
129
|
-
"@deepseek-ai/dsh-fs-sandbox": "0.
|
|
130
|
-
"@deepseek-ai/dsh-llm": "0.
|
|
131
|
-
"@deepseek-ai/dsh-sandbox": "0.
|
|
132
|
-
"@deepseek-ai/dsh-sandbox-local": "0.
|
|
133
|
-
"@deepseek-ai/dsh-sandbox-policy": "0.
|
|
134
|
-
"@deepseek-ai/dsh-session": "0.
|
|
135
|
-
"@deepseek-ai/dsh-session-projection": "0.
|
|
136
|
-
"@deepseek-ai/dsh-storage": "0.
|
|
137
|
-
"@deepseek-ai/dsh-storage-domain": "0.
|
|
138
|
-
"@deepseek-ai/dsh-storage-json": "0.
|
|
139
|
-
"@deepseek-ai/dsh-subprocess": "0.
|
|
140
|
-
"@deepseek-ai/dsh-system-prompt": "0.
|
|
141
|
-
"@deepseek-ai/dsh-workspace": "0.
|
|
113
|
+
"@deepseek-ai/cordis": "4.0.4",
|
|
114
|
+
"@deepseek-ai/dsh": "0.2.0-rc.2",
|
|
115
|
+
"@deepseek-ai/dsh-agent": "0.2.0-rc.2",
|
|
116
|
+
"@deepseek-ai/dsh-agent-instructions": "0.2.0-rc.2",
|
|
117
|
+
"@deepseek-ai/dsh-app-boot": "0.2.0-rc.2",
|
|
118
|
+
"@deepseek-ai/dsh-base": "0.2.0-rc.2",
|
|
119
|
+
"@deepseek-ai/dsh-client-connection": "0.2.0-rc.2",
|
|
120
|
+
"@deepseek-ai/dsh-client-locale": "0.2.0-rc.2",
|
|
121
|
+
"@deepseek-ai/dsh-client-ui-primitives": "0.2.0-rc.2",
|
|
122
|
+
"@deepseek-ai/dsh-client-ui-renderer": "0.2.0-rc.2",
|
|
123
|
+
"@deepseek-ai/dsh-client-ui-sidebar": "0.2.0-rc.2",
|
|
124
|
+
"@deepseek-ai/dsh-client-ui-slots": "0.2.0-rc.2",
|
|
125
|
+
"@deepseek-ai/dsh-client-ui-workspace": "0.2.0-rc.2",
|
|
126
|
+
"@deepseek-ai/dsh-commands": "0.2.0-rc.2",
|
|
127
|
+
"@deepseek-ai/dsh-fs": "0.2.0-rc.2",
|
|
128
|
+
"@deepseek-ai/dsh-fs-local": "0.2.0-rc.2",
|
|
129
|
+
"@deepseek-ai/dsh-fs-sandbox": "0.2.0-rc.2",
|
|
130
|
+
"@deepseek-ai/dsh-llm": "0.2.0-rc.2",
|
|
131
|
+
"@deepseek-ai/dsh-sandbox": "0.2.0-rc.2",
|
|
132
|
+
"@deepseek-ai/dsh-sandbox-local": "0.2.0-rc.2",
|
|
133
|
+
"@deepseek-ai/dsh-sandbox-policy": "0.2.0-rc.2",
|
|
134
|
+
"@deepseek-ai/dsh-session": "0.2.0-rc.2",
|
|
135
|
+
"@deepseek-ai/dsh-session-projection": "0.2.0-rc.2",
|
|
136
|
+
"@deepseek-ai/dsh-storage": "0.2.0-rc.2",
|
|
137
|
+
"@deepseek-ai/dsh-storage-domain": "0.2.0-rc.2",
|
|
138
|
+
"@deepseek-ai/dsh-storage-json": "0.2.0-rc.2",
|
|
139
|
+
"@deepseek-ai/dsh-subprocess": "0.2.0-rc.2",
|
|
140
|
+
"@deepseek-ai/dsh-system-prompt": "0.2.0-rc.2",
|
|
141
|
+
"@deepseek-ai/dsh-workspace": "0.2.0-rc.2",
|
|
142
142
|
"@testing-library/react": "^16.3.3",
|
|
143
143
|
"@types/node": "^22.0.0",
|
|
144
144
|
"@types/react": "~18.3.31",
|