@yankeguo/dsh-command-devlead 0.2.2 → 0.2.3
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 +4 -0
- package/package.json +3 -3
package/lib/index.js
CHANGED
|
@@ -356,6 +356,10 @@ function friendlyDevLeadError(error) {
|
|
|
356
356
|
return `The Workspace could not be resolved: ${error.message}`;
|
|
357
357
|
case "DEVLEAD_DIRECTORY_MISSING":
|
|
358
358
|
return `The target directory is missing: ${error.message}`;
|
|
359
|
+
case "DEVLEAD_MODEL_UNAVAILABLE":
|
|
360
|
+
return `The requested model is not available on this Host: ${error.message}. Use a provider/model pair the Host advertises, or omit it to use the Host default.`;
|
|
361
|
+
case "DEVLEAD_TEAM_UNAVAILABLE":
|
|
362
|
+
return `Agent Teams is not available on this Host: ${error.message}. Omit agent_teams, or use a Host composition that includes the Agent Teams service.`;
|
|
359
363
|
default: {
|
|
360
364
|
const unknownCode = error.code;
|
|
361
365
|
return `The DevLead request failed (${String(unknownCode)}): ${error.message}`;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@yankeguo/dsh-command-devlead",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
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",
|
|
@@ -20,8 +20,8 @@
|
|
|
20
20
|
"@deepseek-ai/dsh-commands": "0.2.2-rc.1"
|
|
21
21
|
},
|
|
22
22
|
"dependencies": {
|
|
23
|
-
"@yankeguo/dsh-devlead": "0.2.
|
|
24
|
-
"@yankeguo/dsh-devlead-protocol": "0.2.
|
|
23
|
+
"@yankeguo/dsh-devlead": "0.2.3",
|
|
24
|
+
"@yankeguo/dsh-devlead-protocol": "0.2.3"
|
|
25
25
|
},
|
|
26
26
|
"engines": {
|
|
27
27
|
"dsh": ">=0.2.2-rc.1 <0.3.0"
|