@staff0rd/assist 0.177.0 → 0.177.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 +5 -5
  2. package/package.json +1 -1
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.177.0",
9
+ version: "0.177.1",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -854,9 +854,10 @@ async function handleIncompletePhase() {
854
854
  // src/commands/backlog/writeSignal.ts
855
855
  import { writeFileSync as writeFileSync4 } from "fs";
856
856
  import { join as join6 } from "path";
857
- var SIGNAL_FILE = ".assist-signal.json";
858
857
  function getSignalPath() {
859
- return join6(getBacklogDir(), SIGNAL_FILE);
858
+ const sessionId = process.env.ASSIST_SESSION_ID;
859
+ const filename = sessionId ? `.assist-signal-${sessionId}.json` : ".assist-signal.json";
860
+ return join6(getBacklogDir(), filename);
860
861
  }
861
862
  function writeSignal(event, data) {
862
863
  const sessionId = process.env.ASSIST_SESSION_ID;
@@ -924,11 +925,10 @@ function readSignal() {
924
925
  // src/commands/backlog/watchForMarker.ts
925
926
  function watchForMarker(child) {
926
927
  const statusPath = getSignalPath();
927
- const sessionId = process.env.ASSIST_SESSION_ID;
928
928
  watchFile(statusPath, { interval: 1e3 }, () => {
929
929
  if (!existsSync7(statusPath)) return;
930
930
  const signal = readSignal();
931
- if (signal && (!signal.sessionId || signal.sessionId === sessionId)) {
931
+ if (signal) {
932
932
  unwatchFile(statusPath);
933
933
  child.kill("SIGTERM");
934
934
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.177.0",
3
+ "version": "0.177.1",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {