@yankeguo/dsh-command-devlead 0.2.0 → 0.2.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/lib/index.js CHANGED
@@ -342,6 +342,8 @@ function friendlyDevLeadError(error) {
342
342
  return `The host could not find that Session: ${error.message}`;
343
343
  case "DEVLEAD_SESSION_ARCHIVED":
344
344
  return "That Session is archived; restore it from the Workspace sidebar before watching it.";
345
+ case "DEVLEAD_SESSION_ACTIVE":
346
+ return `That Session is still active, so it cannot be closed: ${error.message}. Stop its running work first, then retry.`;
345
347
  case "DEVLEAD_SESSION_UNAVAILABLE":
346
348
  return `That Session cannot be resumed right now: ${error.message}`;
347
349
  case "DEVLEAD_WATCH_LIMIT":
package/locale/en.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "DevLead Command",
4
+ "description": "Human-facing /devlead command: enable or disable DevLead mode, watch or unwatch Sessions, reset damaged state, and show the status view."
5
+ }
6
+ }
package/locale/zh.json ADDED
@@ -0,0 +1,6 @@
1
+ {
2
+ "meta": {
3
+ "title": "DevLead 命令",
4
+ "description": "面向人类的 /devlead 命令:开启或关闭 DevLead 模式、监督或取消监督会话、重置损坏状态,并显示状态视图。"
5
+ }
6
+ }
package/package.json CHANGED
@@ -1,16 +1,18 @@
1
1
  {
2
2
  "name": "@yankeguo/dsh-command-devlead",
3
- "version": "0.2.0",
3
+ "version": "0.2.2",
4
4
  "description": "Human-facing /devlead command: enable or disable DevLead mode for the current session and inspect the lead's managed workspaces, sessions, and notifications.",
5
5
  "license": "MIT",
6
6
  "type": "module",
7
7
  "main": "lib/index.js",
8
8
  "exports": {
9
9
  ".": "./lib/index.js",
10
+ "./locale/*.json": "./locale/*.json",
10
11
  "./package.json": "./package.json"
11
12
  },
12
13
  "files": [
13
14
  "lib",
15
+ "locale/*.json",
14
16
  "README.md"
15
17
  ],
16
18
  "peerDependencies": {
@@ -18,8 +20,8 @@
18
20
  "@deepseek-ai/dsh-commands": "0.2.2-rc.1"
19
21
  },
20
22
  "dependencies": {
21
- "@yankeguo/dsh-devlead": "0.2.0",
22
- "@yankeguo/dsh-devlead-protocol": "0.2.0"
23
+ "@yankeguo/dsh-devlead": "0.2.2",
24
+ "@yankeguo/dsh-devlead-protocol": "0.2.2"
23
25
  },
24
26
  "engines": {
25
27
  "dsh": ">=0.2.2-rc.1 <0.3.0"