@shipers-dev/multi 0.20.0 → 0.20.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.
Files changed (2) hide show
  1. package/dist/index.js +8 -7
  2. package/package.json +3 -2
package/dist/index.js CHANGED
@@ -16503,7 +16503,7 @@ import { join as join5, dirname as dirname4 } from "path";
16503
16503
  // package.json
16504
16504
  var package_default = {
16505
16505
  name: "@shipers-dev/multi",
16506
- version: "0.20.0",
16506
+ version: "0.20.1",
16507
16507
  type: "module",
16508
16508
  bin: {
16509
16509
  "multi-agent": "./dist/index.js"
@@ -16517,8 +16517,9 @@ var package_default = {
16517
16517
  prepublishOnly: "bun run build"
16518
16518
  },
16519
16519
  dependencies: {
16520
+ "@agentclientprotocol/claude-agent-acp": "^0.31.0",
16520
16521
  "@agentclientprotocol/sdk": "^0.20.0",
16521
- "@agentclientprotocol/claude-agent-acp": "^0.31.0"
16522
+ effect: "^3.21.2"
16522
16523
  },
16523
16524
  devDependencies: {
16524
16525
  "@multi/lib": "workspace:*"
@@ -16876,7 +16877,7 @@ async function cmdConnect(apiUrl, config2) {
16876
16877
  postStream(apiUrl, t.issue_id, "queued", { queue_position: pos });
16877
16878
  }
16878
16879
  if (t.dispatch_id) {
16879
- ackDispatch(apiUrl, t.dispatch_id, config2.dispatchSecret);
16880
+ ackDispatch(apiUrl, t.dispatch_id, config2.token);
16880
16881
  }
16881
16882
  queueMicrotask(() => schedule());
16882
16883
  return Response.json({ accepted: true, task_id: taskId }, { status: 202 });
@@ -17017,9 +17018,9 @@ async function cmdConnect(apiUrl, config2) {
17017
17018
  {
17018
17019
  const pending = await heartbeat();
17019
17020
  if (pending > 0)
17020
- drainOfflineDispatches(apiUrl, config2.deviceId, config2.dispatchSecret, db, () => schedule());
17021
+ drainOfflineDispatches(apiUrl, config2.deviceId, config2.token, db, () => schedule());
17021
17022
  }
17022
- drainOfflineDispatches(apiUrl, config2.deviceId, config2.dispatchSecret, db, () => schedule());
17023
+ drainOfflineDispatches(apiUrl, config2.deviceId, config2.token, db, () => schedule());
17023
17024
  let alive = true;
17024
17025
  const shutdown = async (reason) => {
17025
17026
  if (!alive)
@@ -17068,7 +17069,7 @@ async function cmdConnect(apiUrl, config2) {
17068
17069
  try {
17069
17070
  const pending = await heartbeat();
17070
17071
  if (pending > 0)
17071
- drainOfflineDispatches(apiUrl, config2.deviceId, config2.dispatchSecret, db, () => schedule());
17072
+ drainOfflineDispatches(apiUrl, config2.deviceId, config2.token, db, () => schedule());
17072
17073
  } catch (e) {
17073
17074
  log(`heartbeat error after tunnel restart: ${String(e)}`);
17074
17075
  }
@@ -17125,7 +17126,7 @@ async function cmdConnect(apiUrl, config2) {
17125
17126
  try {
17126
17127
  const pending = await heartbeat();
17127
17128
  if (pending > 0)
17128
- drainOfflineDispatches(apiUrl, config2.deviceId, config2.dispatchSecret, db, () => schedule());
17129
+ drainOfflineDispatches(apiUrl, config2.deviceId, config2.token, db, () => schedule());
17129
17130
  } catch (e) {
17130
17131
  log(`heartbeat error: ${String(e)}`);
17131
17132
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipers-dev/multi",
3
- "version": "0.20.0",
3
+ "version": "0.20.1",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "multi-agent": "./dist/index.js"
@@ -14,8 +14,9 @@
14
14
  "prepublishOnly": "bun run build"
15
15
  },
16
16
  "dependencies": {
17
+ "@agentclientprotocol/claude-agent-acp": "^0.31.0",
17
18
  "@agentclientprotocol/sdk": "^0.20.0",
18
- "@agentclientprotocol/claude-agent-acp": "^0.31.0"
19
+ "effect": "^3.21.2"
19
20
  },
20
21
  "devDependencies": {
21
22
  "@multi/lib": "workspace:*"