@jetcrab/pi-desk-subagent 1.0.1-dev.9001 → 1.0.1

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.
@@ -723,7 +723,7 @@ export class SubagentRuntime {
723
723
  throw new Error(`当前能力模式不允许 ${record.agentType} Agent`);
724
724
  const text = this.requireText(prompt, 'prompt');
725
725
  if (record.status !== 'running' || !record.session) {
726
- throw new Error(`Agent ${record.taskId} 当前不是 running`);
726
+ throw new Error(`子代理未运行或恰好结束正在推送消息中,若有需要可以重启子代理继续任务。\n\nAgent ID: ${record.taskId}`);
727
727
  }
728
728
  if (!record.steerReady) {
729
729
  record.pendingSteers.push(text);
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "url": "git+https://github.com/JetCrab/pi-desk.git",
6
6
  "directory": "plugins/pi-desk-subagent"
7
7
  },
8
- "version": "1.0.1-dev.9001",
8
+ "version": "1.0.1",
9
9
  "license": "Apache-2.0",
10
10
  "publishConfig": {
11
11
  "registry": "https://registry.npmjs.org",
@@ -22,7 +22,7 @@
22
22
  "README.md"
23
23
  ],
24
24
  "dependencies": {
25
- "@jetcrab/pi-desk-sdk": "^1.0.1-dev.9001"
25
+ "@jetcrab/pi-desk-sdk": "^1.0.0"
26
26
  },
27
27
  "peerDependencies": {
28
28
  "@earendil-works/pi-agent-core": "*",