@shipers-dev/multi 0.16.0 → 0.17.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.
Files changed (2) hide show
  1. package/dist/index.js +5 -7
  2. package/package.json +1 -1
package/dist/index.js CHANGED
@@ -16324,7 +16324,7 @@ import { join as join5, dirname as dirname4 } from "path";
16324
16324
  // package.json
16325
16325
  var package_default = {
16326
16326
  name: "@shipers-dev/multi",
16327
- version: "0.16.0",
16327
+ version: "0.17.2",
16328
16328
  type: "module",
16329
16329
  bin: {
16330
16330
  "multi-agent": "./dist/index.js"
@@ -16753,8 +16753,9 @@ async function cmdConnect(apiUrl, config2) {
16753
16753
  try {
16754
16754
  entry.child?.kill("SIGKILL");
16755
16755
  } catch {}
16756
- }, 5000);
16756
+ }, 1500);
16757
16757
  }
16758
+ markStopped(apiUrl, issue_id, "user requested");
16758
16759
  return Response.json({ ok: true, state: "running-signalled" });
16759
16760
  } catch (e) {
16760
16761
  return Response.json({ error: String(e) }, { status: 400 });
@@ -17594,7 +17595,7 @@ Issue actions:
17594
17595
 
17595
17596
  \`\`\`multi-plan
17596
17597
  {"actions":[
17597
- {"type":"create","title":"...","description":"...","assignee_type":"agent","assignee_id":"<agent id>"},
17598
+ {"type":"create","title":"...","description":"... (required, non-empty: relays full task context to the assignee)","assignee_type":"agent","assignee_id":"<agent id>"},
17598
17599
  {"type":"update","id":"<issue id>","status":"done"},
17599
17600
  {"type":"delegate","id":"<issue id>","assignee_id":"<agent id>"}
17600
17601
  ]}
@@ -17726,10 +17727,7 @@ async function executePlanActions(apiUrl, parentTask, actions, ctx) {
17726
17727
  lines.push(`- \u274C agent.create "${a.name}": ${res.error || res.status}`);
17727
17728
  continue;
17728
17729
  }
17729
- if (res.data?.queued)
17730
- lines.push(`- \u23F3 agent.create "${a.name}" queued for human approval (op ${res.data.pending_op_id})`);
17731
- else
17732
- lines.push(`- \u2713 agent.create "${a.name}" \u2192 ${res.data?.agent_id}`);
17730
+ lines.push(`- \u2713 agent.create "${a.name}" \u2192 ${res.data?.agent_id}`);
17733
17731
  } else if (a.type === "agent.update") {
17734
17732
  const res = await apiClient.post(`${apiUrl}/api/agent_ops/agents/mutate`, { action: "update", ...a }, { headers });
17735
17733
  if (!res.success) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shipers-dev/multi",
3
- "version": "0.16.0",
3
+ "version": "0.17.2",
4
4
  "type": "module",
5
5
  "bin": {
6
6
  "multi-agent": "./dist/index.js"