@shipers-dev/multi 0.6.4 → 0.6.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/dist/index.js CHANGED
@@ -5484,7 +5484,7 @@ function parseAcpLine(line, setStop) {
5484
5484
  return [];
5485
5485
  }
5486
5486
  const out = [];
5487
- if (msg.method === "session/update" && msg.params?.sessionUpdate) {
5487
+ if (msg.method === "session/update" && msg.params?.update?.sessionUpdate) {
5488
5488
  return handleSessionUpdate(msg.params);
5489
5489
  }
5490
5490
  if (msg.id && msg.result && typeof msg.result === "object" && "stopReason" in msg.result) {
@@ -5573,7 +5573,7 @@ var LOG_PATH2 = join2(MULTI_DIR, "logs", "agent.log");
5573
5573
  var SKILLS_DIR = join2(MULTI_DIR, "skills");
5574
5574
  var STOP_PATH = join2(MULTI_DIR, "stop.flag");
5575
5575
  var TASKS_DB_PATH = join2(MULTI_DIR, "tasks.db");
5576
- var VERSION = "0.6.4";
5576
+ var VERSION = "0.6.5";
5577
5577
  var COMMANDS = {
5578
5578
  setup: "Register this device with a workspace",
5579
5579
  connect: "Connect device to realtime hub and execute assigned tasks",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipers-dev/multi",
3
- "version": "0.6.4",
3
+ "version": "0.6.5",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "multi-agent": "./dist/index.js"
@@ -110,7 +110,7 @@ function parseAcpLine(line: string, setStop: (r: string) => void): AcpEvent[] {
110
110
  const out: AcpEvent[] = [];
111
111
 
112
112
  // session/update notification
113
- if (msg.method === 'session/update' && msg.params?.sessionUpdate) {
113
+ if (msg.method === 'session/update' && msg.params?.update?.sessionUpdate) {
114
114
  return handleSessionUpdate(msg.params);
115
115
  }
116
116
  // prompt result
package/src/index.ts CHANGED
@@ -17,7 +17,7 @@ const LOG_PATH = join(MULTI_DIR, 'logs', 'agent.log');
17
17
  const SKILLS_DIR = join(MULTI_DIR, 'skills');
18
18
  const STOP_PATH = join(MULTI_DIR, 'stop.flag');
19
19
  const TASKS_DB_PATH = join(MULTI_DIR, 'tasks.db');
20
- const VERSION = '0.6.4';
20
+ const VERSION = '0.6.5';
21
21
 
22
22
  const COMMANDS = {
23
23
  setup: 'Register this device with a workspace',