@laoyuehanni/dsh-git-worktree 0.4.3-dsh-0.1.2-alpha.5 → 0.4.4

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/lib/git.d.ts CHANGED
@@ -26,7 +26,9 @@ export declare class GitError extends Error {
26
26
  }
27
27
  /** Facts the status route assembles: branches, worktrees, repo identity. */
28
28
  export interface RepoFacts {
29
- /** Absolute main worktree path (`rev-parse --show-toplevel` of the main dir). */
29
+ /** Absolute main worktree path (`dirname` of `--git-common-dir`, not the
30
+ * queried directory's `--show-toplevel` — a linked worktree's toplevel
31
+ * dies during `worktree remove`). */
30
32
  repoRoot: string;
31
33
  /** Main repository directory basename. */
32
34
  repoName: string;
@@ -43,6 +45,15 @@ export declare function childProcessExec(file: string, args: readonly string[],
43
45
  export type DirExists = (path: string) => boolean;
44
46
  /** Real existence check. */
45
47
  export declare const fsDirExists: DirExists;
48
+ /**
49
+ * Leftover-directory sweeper after `git worktree remove` unregisters but
50
+ * fails the final rmdir (Windows EPERM when a process still has the folder
51
+ * as cwd). `gone` = deleted; `empty` = still there but vacant (cwd hold);
52
+ * `occupied` = still has files — the caller must not pretend removal finished.
53
+ */
54
+ export type SweepDir = (path: string) => Promise<'gone' | 'empty' | 'occupied'>;
55
+ /** Real leftover sweep: `fs.rm` with Windows EPERM retries, then classify. */
56
+ export declare function fsSweepDir(path: string): Promise<'gone' | 'empty' | 'occupied'>;
46
57
  /**
47
58
  * Resolve a directory to repository facts, or undefined outside any git
48
59
  * repository (including the `git` binary missing: ENOENT surfaces as a
@@ -178,11 +189,13 @@ export declare function inspectWorktree(exec: Exec, worktreePath: string): Promi
178
189
  * @param worktreePath - the linked worktree directory to delete (absolute).
179
190
  * @param force - pass `--force` past uncommitted changes.
180
191
  * @param dirExists - existence seam for the stale-registration branch.
192
+ * @param sweepDir - leftover rmdir after git unregisters but the OS holds the
193
+ * folder (Windows Permission denied on the empty directory).
181
194
  * @returns the path plus whether only a stale registration was pruned.
182
195
  * @throws GitError for the main worktree, an unregistered path, or a refused
183
196
  * removal (git's own stderr verbatim).
184
197
  */
185
- export declare function removeWorktree(exec: Exec, repoRoot: string, worktreePath: string, force: boolean, dirExists?: DirExists): Promise<{
198
+ export declare function removeWorktree(exec: Exec, repoRoot: string, worktreePath: string, force: boolean, dirExists?: DirExists, sweepDir?: SweepDir): Promise<{
186
199
  path: string;
187
200
  pruned: boolean;
188
201
  }>;
package/lib/git.js CHANGED
@@ -4,7 +4,8 @@
4
4
  * argument assembly plus porcelain parsing, no ambient state.
5
5
  */
6
6
  import { execFile } from 'node:child_process';
7
- import { existsSync } from 'node:fs';
7
+ import { existsSync, readdirSync } from 'node:fs';
8
+ import { rm } from 'node:fs/promises';
8
9
  import { basename, dirname, isAbsolute, normalize, resolve } from 'node:path';
9
10
  import { localBranchName } from './normalize.js';
10
11
  /** Failure of one git invocation: non-zero exit with the stderr text. */
@@ -45,6 +46,33 @@ async function gitMaybe(exec, cwd, args) {
45
46
  }
46
47
  /** Real existence check. */
47
48
  export const fsDirExists = path => existsSync(path);
49
+ /** Real leftover sweep: `fs.rm` with Windows EPERM retries, then classify. */
50
+ export async function fsSweepDir(path) {
51
+ if (!existsSync(path))
52
+ return 'gone';
53
+ try {
54
+ await rm(path, { recursive: true, force: true, maxRetries: 8, retryDelay: 100 });
55
+ }
56
+ catch {
57
+ // Retries exhausted; classify whatever is still on disk.
58
+ }
59
+ if (!existsSync(path))
60
+ return 'gone';
61
+ try {
62
+ return readdirSync(path).length === 0 ? 'empty' : 'occupied';
63
+ }
64
+ catch {
65
+ return 'occupied';
66
+ }
67
+ }
68
+ /** stderr of a git rmdir that lost to an OS file lock (not git's dirty check). */
69
+ function isDirBusyGitError(error) {
70
+ const text = error.stderr;
71
+ return /permission denied/i.test(text)
72
+ || /\bEPERM\b/i.test(text)
73
+ || /\bEACCES\b/i.test(text)
74
+ || /\bEBUSY\b/i.test(text);
75
+ }
48
76
  /**
49
77
  * Resolve a directory to repository facts, or undefined outside any git
50
78
  * repository (including the `git` binary missing: ENOENT surfaces as a
@@ -61,10 +89,16 @@ export async function probeRepo(exec, path, dirExists = fsDirExists) {
61
89
  // repoName comes from the shared .git location: a linked worktree's own
62
90
  // toplevel would name the branch folder, not the repository. Both git
63
91
  // outputs carry forward slashes on Windows — normalize every derived path.
64
- const repoRoot = normalize(top.trim());
92
+ const toplevel = normalize(top.trim());
65
93
  const gitDir = commonDir !== undefined && commonDir.trim() !== ''
66
94
  ? normalize(resolve(path, commonDir.trim()))
67
- : resolve(repoRoot, '.git');
95
+ : resolve(toplevel, '.git');
96
+ // Main worktree, not the queried directory: a linked worktree's
97
+ // `--show-toplevel` is its own folder, which `git worktree remove` then
98
+ // destroys (including `.git`). Later `worktree list` / `worktree prune`
99
+ // must still run in a living git dir — the shared checkout
100
+ // (`dirname(--git-common-dir)`), same grouping key as probeWorkspaceGit.
101
+ const repoRoot = dirname(gitDir);
68
102
  return {
69
103
  repoRoot,
70
104
  repoName: basename(dirname(gitDir)),
@@ -387,11 +421,13 @@ export async function inspectWorktree(exec, worktreePath) {
387
421
  * @param worktreePath - the linked worktree directory to delete (absolute).
388
422
  * @param force - pass `--force` past uncommitted changes.
389
423
  * @param dirExists - existence seam for the stale-registration branch.
424
+ * @param sweepDir - leftover rmdir after git unregisters but the OS holds the
425
+ * folder (Windows Permission denied on the empty directory).
390
426
  * @returns the path plus whether only a stale registration was pruned.
391
427
  * @throws GitError for the main worktree, an unregistered path, or a refused
392
428
  * removal (git's own stderr verbatim).
393
429
  */
394
- export async function removeWorktree(exec, repoRoot, worktreePath, force, dirExists = fsDirExists) {
430
+ export async function removeWorktree(exec, repoRoot, worktreePath, force, dirExists = fsDirExists, sweepDir = fsSweepDir) {
395
431
  const target = normalize(worktreePath);
396
432
  const worktrees = await listWorktrees(exec, repoRoot);
397
433
  const registered = worktrees.find(w => w.path === target);
@@ -407,8 +443,32 @@ export async function removeWorktree(exec, repoRoot, worktreePath, force, dirExi
407
443
  await git(exec, repoRoot, ['worktree', 'prune']);
408
444
  return { path: target, pruned: true };
409
445
  }
410
- await git(exec, repoRoot, force ? ['worktree', 'remove', '--force', target] : ['worktree', 'remove', target]);
411
- return { path: target, pruned: false };
446
+ try {
447
+ await git(exec, repoRoot, force ? ['worktree', 'remove', '--force', target] : ['worktree', 'remove', target]);
448
+ return { path: target, pruned: false };
449
+ }
450
+ catch (error) {
451
+ // Windows: git often unregisters the worktree and empties the tree,
452
+ // then fails the last rmdir (`Permission denied`) because some process
453
+ // still has the folder as cwd. `--force` does not help — that flag only
454
+ // bypasses dirty/lock checks, not OS handles. Relist from `repoRoot`
455
+ // (the main checkout, which still has `.git`); listing from the target
456
+ // path would throw "not a git repository" once git has stripped its
457
+ // `.git`. If the registration is already gone, the git side is done;
458
+ // sweep the leftover and succeed so the DSH archive+unregister half
459
+ // can run. A still-occupied leftover (files remain) is a real refusal.
460
+ if (!(error instanceof GitError) || !isDirBusyGitError(error))
461
+ throw error;
462
+ const remaining = (await listWorktrees(exec, repoRoot)).find(w => w.path === target);
463
+ if (remaining !== undefined)
464
+ throw error;
465
+ if (!dirExists(target))
466
+ return { path: target, pruned: false };
467
+ const leftover = await sweepDir(target);
468
+ if (leftover === 'occupied')
469
+ throw error;
470
+ return { path: target, pruned: false };
471
+ }
412
472
  }
413
473
  /**
414
474
  * Lightweight git belonging probe for ONE workspace directory: the three
package/lib/index.d.ts CHANGED
@@ -2,8 +2,7 @@
2
2
  * dsh-git-worktree host half. Owns the worktree storage-root settings section
3
3
  * (the `git-worktree` namespace in the dsh settings document, registered
4
4
  * through SettingsProvider.installSection with the composition entry as its
5
- * base
6
- * layer) and — while a webServer service exists — the HTTP routes the browser
5
+ * base layer) and — while a webServer service exists — the HTTP routes the browser
7
6
  * half fetches. A stored root edit takes effect live: the routes read the
8
7
  * section source per request, so no restart and no route re-registration.
9
8
  *
@@ -23,6 +22,16 @@ export interface Config {
23
22
  /** Sidebar git grouping on/off; absent = on (the composition-entry layer's default). */
24
23
  groupSidebar?: boolean;
25
24
  }
25
+ /**
26
+ * Cordis resolves the composition entry's config through this schema before
27
+ * `apply` runs (official plugin-config convention: export the `Config` type
28
+ * and a same-named Schemastery schema). It fills the `groupSidebar` default;
29
+ * `rootDir` passes through untouched — its absence stays observable so the
30
+ * settings section keeps spelling the resolved default. Constraints the
31
+ * schema cannot express still fail loudly in validateConfig below (absolute
32
+ * path; unknown keys — schemastery keeps extras instead of rejecting them).
33
+ */
34
+ export declare const Config: z<Config>;
26
35
  /** Reject stale or misspelled config keys before defaults can hide them. */
27
36
  export declare function validateConfig(config: Config): void;
28
37
  /** The settings namespace this plugin serves; its browser card spells the same string. */
package/lib/index.js CHANGED
@@ -2,8 +2,7 @@
2
2
  * dsh-git-worktree host half. Owns the worktree storage-root settings section
3
3
  * (the `git-worktree` namespace in the dsh settings document, registered
4
4
  * through SettingsProvider.installSection with the composition entry as its
5
- * base
6
- * layer) and — while a webServer service exists — the HTTP routes the browser
5
+ * base layer) and — while a webServer service exists — the HTTP routes the browser
7
6
  * half fetches. A stored root edit takes effect live: the routes read the
8
7
  * section source per request, so no restart and no route re-registration.
9
8
  *
@@ -24,6 +23,19 @@ export const name = 'dsh-git-worktree';
24
23
  export const inject = [];
25
24
  /** Largest accepted request body (bytes) — these payloads are a few strings. */
26
25
  const BODY_LIMIT = 64 * 1024;
26
+ /**
27
+ * Cordis resolves the composition entry's config through this schema before
28
+ * `apply` runs (official plugin-config convention: export the `Config` type
29
+ * and a same-named Schemastery schema). It fills the `groupSidebar` default;
30
+ * `rootDir` passes through untouched — its absence stays observable so the
31
+ * settings section keeps spelling the resolved default. Constraints the
32
+ * schema cannot express still fail loudly in validateConfig below (absolute
33
+ * path; unknown keys — schemastery keeps extras instead of rejecting them).
34
+ */
35
+ export const Config = z.object({
36
+ rootDir: z.string(),
37
+ groupSidebar: z.boolean().default(true),
38
+ });
27
39
  /** Reject stale or misspelled config keys before defaults can hide them. */
28
40
  export function validateConfig(config) {
29
41
  const unknown = Object.keys(config).find(key => key !== 'rootDir' && key !== 'groupSidebar');
@@ -94,7 +106,7 @@ export function apply(ctx, config = {}) {
94
106
  });
95
107
  });
96
108
  // One-shot legacy migration: the pre-0.3 plugin persisted its own
97
- // ~/.dsh/git-work-tree/settings.json. Registered after installSettingsSection
109
+ // ~/.dsh/git-work-tree/settings.json. Registered after installSection
98
110
  // so the namespace is on the ledger by the time this fiber runs; a failure
99
111
  // (or a user layer that already chose) leaves both documents exactly as
100
112
  // they are, and the next startup retries.
@@ -153,90 +165,34 @@ export function apply(ctx, config = {}) {
153
165
  });
154
166
  req.on('error', rejectPromise);
155
167
  });
168
+ /** One exact POST route: bounded JSON body in, one RouteOutcome out. A
169
+ * body-level failure (too large, invalid JSON) answers 400 and leaves
170
+ * the server alive; handler outcomes carry their own status codes. */
171
+ const postRoute = (path, label, handle) => {
172
+ webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path, handler: async (req, res) => {
173
+ try {
174
+ send(res, await handle(deps(), await readJson(req)));
175
+ }
176
+ catch (error) {
177
+ send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
178
+ }
179
+ } }), `git-worktree: ${label} route`);
180
+ };
181
+ // The one query-driven route; every mutation is a POST body.
156
182
  webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_STATUS, handler: async (req, res) => {
157
183
  /* v8 ignore next -- node:http always sets url on server requests. */
158
184
  const query = new URL(req.url ?? '/', 'http://x').searchParams;
159
185
  send(res, await handleStatus(deps(), query.get('path') ?? undefined));
160
186
  } }), 'git-worktree: status route');
161
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_WORKTREE, handler: async (req, res) => {
162
- try {
163
- send(res, await handleCreateWorktree(deps(), await readJson(req)));
164
- }
165
- catch (error) {
166
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
167
- }
168
- } }), 'git-worktree: worktree route');
169
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_SWITCH, handler: async (req, res) => {
170
- try {
171
- send(res, await handleSwitch(deps(), await readJson(req)));
172
- }
173
- catch (error) {
174
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
175
- }
176
- } }), 'git-worktree: switch route');
177
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_BRANCH, handler: async (req, res) => {
178
- try {
179
- send(res, await handleCreateBranch(deps(), await readJson(req)));
180
- }
181
- catch (error) {
182
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
183
- }
184
- } }), 'git-worktree: branch route');
185
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_FETCH, handler: async (req, res) => {
186
- try {
187
- send(res, await handleFetch(deps(), await readJson(req)));
188
- }
189
- catch (error) {
190
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
191
- }
192
- } }), 'git-worktree: fetch route');
193
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_GROUP, handler: async (req, res) => {
194
- try {
195
- send(res, await handleGroupWorktrees(deps(), await readJson(req)));
196
- }
197
- catch (error) {
198
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
199
- }
200
- } }), 'git-worktree: group route');
201
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_UPDATE, handler: async (req, res) => {
202
- try {
203
- send(res, await handleUpdate(deps(), await readJson(req)));
204
- }
205
- catch (error) {
206
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
207
- }
208
- } }), 'git-worktree: update route');
209
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_INSPECT, handler: async (req, res) => {
210
- try {
211
- send(res, await handleInspectWorktree(deps(), await readJson(req)));
212
- }
213
- catch (error) {
214
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
215
- }
216
- } }), 'git-worktree: inspect route');
217
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_REMOVE, handler: async (req, res) => {
218
- try {
219
- send(res, await handleRemoveWorktree(deps(), await readJson(req)));
220
- }
221
- catch (error) {
222
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
223
- }
224
- } }), 'git-worktree: remove route');
225
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_EXISTS, handler: async (req, res) => {
226
- try {
227
- send(res, await handlePathExists(deps(), await readJson(req)));
228
- }
229
- catch (error) {
230
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
231
- }
232
- } }), 'git-worktree: exists route');
233
- webCtx.effect(() => webCtx.webServer.register({ kind: 'exact', path: ROUTE_ENSURE_DIRECTORY, handler: async (req, res) => {
234
- try {
235
- send(res, await handleEnsureDirectory(deps(), await readJson(req)));
236
- }
237
- catch (error) {
238
- send(res, { status: 400, body: { error: error instanceof Error ? error.message : String(error) } });
239
- }
240
- } }), 'git-worktree: ensure-directory route');
187
+ postRoute(ROUTE_WORKTREE, 'worktree', handleCreateWorktree);
188
+ postRoute(ROUTE_SWITCH, 'switch', handleSwitch);
189
+ postRoute(ROUTE_BRANCH, 'branch', handleCreateBranch);
190
+ postRoute(ROUTE_FETCH, 'fetch', handleFetch);
191
+ postRoute(ROUTE_GROUP, 'group', handleGroupWorktrees);
192
+ postRoute(ROUTE_UPDATE, 'update', handleUpdate);
193
+ postRoute(ROUTE_INSPECT, 'inspect', handleInspectWorktree);
194
+ postRoute(ROUTE_REMOVE, 'remove', handleRemoveWorktree);
195
+ postRoute(ROUTE_EXISTS, 'exists', handlePathExists);
196
+ postRoute(ROUTE_ENSURE_DIRECTORY, 'ensure-directory', handleEnsureDirectory);
241
197
  });
242
198
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@laoyuehanni/dsh-git-worktree",
3
- "version": "0.4.3-dsh-0.1.2-alpha.5",
3
+ "version": "0.4.4",
4
4
  "description": "DSH plugin: branch visibility and git worktree isolation for Web UI sessions",
5
5
  "keywords": [
6
6
  "dsh",
@@ -40,14 +40,14 @@
40
40
  },
41
41
  "files": [
42
42
  "lib",
43
+ "!lib/**/*.map",
43
44
  "cordis.patch.yml",
44
45
  "README.md",
45
46
  "README.zh.md"
46
47
  ],
47
48
  "publishConfig": {
48
49
  "registry": "https://registry.npmjs.org/",
49
- "access": "public",
50
- "tag": "dsh-alpha"
50
+ "access": "public"
51
51
  },
52
52
  "dsh": {
53
53
  "bundle": {
@@ -75,33 +75,34 @@
75
75
  },
76
76
  "peerDependencies": {
77
77
  "@deepseek-ai/cordis": "^4.0.1",
78
- "@deepseek-ai/dsh-host-webserver": ">=0.1.2-alpha.4 <0.2.0",
79
- "@deepseek-ai/dsh-settings": ">=0.1.2-alpha.4 <0.2.0",
78
+ "@deepseek-ai/dsh-host-webserver": "^0.1.2-rc.1",
79
+ "@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
80
80
  "@deepseek-ai/schemastery": "^3.18.1"
81
81
  },
82
82
  "devDependencies": {
83
83
  "@deepseek-ai/cordis": "^4.0.2",
84
- "@deepseek-ai/dsh-api-gateway": "^0.1.2-alpha.5",
85
- "@deepseek-ai/dsh-api-remotes": "^0.1.2-alpha.5",
86
- "@deepseek-ai/dsh-api-session-controller": "^0.1.2-alpha.5",
87
- "@deepseek-ai/dsh-api-workspace-controller": "^0.1.2-alpha.5",
88
- "@deepseek-ai/dsh-client-locale": "^0.1.2-alpha.5",
89
- "@deepseek-ai/dsh-client-connection": "^0.1.2-alpha.5",
90
- "@deepseek-ai/dsh-client-store": "^0.1.2-alpha.5",
91
- "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-alpha.5",
92
- "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-alpha.5",
93
- "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-alpha.5",
94
- "@deepseek-ai/dsh-client-ui-settings": "^0.1.2-alpha.5",
95
- "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.2-alpha.5",
96
- "@deepseek-ai/dsh-client-ui-session": "^0.1.2-alpha.5",
97
- "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.2-alpha.5",
98
- "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-alpha.5",
99
- "@deepseek-ai/dsh-client-ui-workspace": "^0.1.2-alpha.5",
100
- "@deepseek-ai/dsh-host-webserver": "^0.1.2-alpha.5",
101
- "@deepseek-ai/dsh-session": "^0.1.2-alpha.5",
102
- "@deepseek-ai/dsh-settings": "^0.1.2-alpha.5",
103
- "@deepseek-ai/dsh-util-workspace-path": "^0.1.2-alpha.5",
104
- "@deepseek-ai/schemastery": "^3.18.2",
84
+ "@deepseek-ai/dsh-api-gateway": "^0.1.2-rc.1",
85
+ "@deepseek-ai/dsh-api-remotes": "^0.1.2-rc.1",
86
+ "@deepseek-ai/dsh-api-session-controller": "^0.1.2-rc.1",
87
+ "@deepseek-ai/dsh-api-workspace-controller": "^0.1.2-rc.1",
88
+ "@deepseek-ai/dsh-client-locale": "^0.1.2-rc.1",
89
+ "@deepseek-ai/dsh-client-connection": "^0.1.2-rc.1",
90
+ "@deepseek-ai/dsh-client-store": "^0.1.2-rc.1",
91
+ "@deepseek-ai/dsh-client-ui-conversation": "^0.1.2-rc.1",
92
+ "@deepseek-ai/dsh-client-ui-primitives": "^0.1.2-rc.1",
93
+ "@deepseek-ai/dsh-client-ui-renderer": "^0.1.2-rc.1",
94
+ "@deepseek-ai/dsh-client-ui-settings": "^0.1.2-rc.1",
95
+ "@deepseek-ai/dsh-client-ui-settings-plugins": "^0.1.2-rc.1",
96
+ "@deepseek-ai/dsh-client-ui-session": "^0.1.2-rc.1",
97
+ "@deepseek-ai/dsh-client-ui-sidebar": "^0.1.2-rc.1",
98
+ "@deepseek-ai/dsh-client-ui-slots": "^0.1.2-rc.1",
99
+ "@deepseek-ai/dsh-client-ui-workspace": "^0.1.2-rc.1",
100
+ "@deepseek-ai/dsh-host-webserver": "^0.1.2-rc.1",
101
+ "@deepseek-ai/dsh-session": "^0.1.2-rc.1",
102
+ "@deepseek-ai/dsh-settings": "^0.1.2-rc.1",
103
+ "@deepseek-ai/dsh-util-workspace-path": "^0.1.2-rc.1",
104
+ "@deepseek-ai/dsh-workspace": "^0.1.2-rc.1",
105
+ "@deepseek-ai/schemastery": "^3.18.1",
105
106
  "@types/node": "^24.13.3",
106
107
  "@types/react": "~18.3.1",
107
108
  "@types/react-dom": "~18.3.1",