@staff0rd/assist 0.727.0 → 0.728.0

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
@@ -6,7 +6,7 @@ import { Command } from "commander";
6
6
  // package.json
7
7
  var package_default = {
8
8
  name: "@staff0rd/assist",
9
- version: "0.727.0",
9
+ version: "0.728.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -13863,7 +13863,7 @@ async function nextItems(req, res) {
13863
13863
  section(() => fetchPeerPrs(cwd, peers)),
13864
13864
  section(() => fetchAssignedIssues(cwd))
13865
13865
  ]);
13866
- const body = { peerPrs, assignedIssues };
13866
+ const body = { peers, peerPrs, assignedIssues };
13867
13867
  respondJson(res, 200, body);
13868
13868
  }
13869
13869
 
@@ -43217,9 +43217,10 @@ function killedByDaemonRestart(interrupted) {
43217
43217
 
43218
43218
  // src/commands/sessions/daemon/restoreResumePlan.ts
43219
43219
  function restoreResumePlan(persisted, idle) {
43220
- if (!killedByDaemonRestart(persisted.interrupted)) return { idle };
43221
43220
  const tasks = interruptedBackgroundTasks(persisted);
43222
- if (idle && tasks.length === 0) return { idle: true };
43221
+ if (tasks.length > 0)
43222
+ return { prompt: daemonRestartPrompt(tasks), idle: false };
43223
+ if (!killedByDaemonRestart(persisted.interrupted) || idle) return { idle };
43223
43224
  return { prompt: daemonRestartPrompt(tasks), idle: false };
43224
43225
  }
43225
43226
  function resumePrompt(plan2) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.727.0",
3
+ "version": "0.728.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {