@staff0rd/assist 0.747.4 → 0.748.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.747.4",
9
+ version: "0.748.0",
10
10
  type: "module",
11
11
  main: "dist/index.js",
12
12
  bin: {
@@ -41646,7 +41646,7 @@ function isCloneBoundDraft(session) {
41646
41646
  if (session.commandType !== "assist") return false;
41647
41647
  if (!isDraftCommand(session.assistArgs?.[0])) return false;
41648
41648
  const cfg = worktreeConfigFor(session.cwd);
41649
- return cfg.enabled === true && cfg.includeDrafts !== true;
41649
+ return cfg.enabled !== true || cfg.includeDrafts !== true;
41650
41650
  }
41651
41651
 
41652
41652
  // src/commands/sessions/daemon/worktree/closeGateApplies.ts
@@ -41655,9 +41655,7 @@ function closeGateApplies(sessions, session) {
41655
41655
  if (session.worktree) return true;
41656
41656
  if (isCloneBoundDraft(session)) return false;
41657
41657
  if (!session.cwd) return false;
41658
- if (session.status !== "running" && session.status !== "waiting")
41659
- return false;
41660
- return worktreeConfigFor(session.cwd).enabled === true;
41658
+ return session.status === "running" || session.status === "waiting";
41661
41659
  }
41662
41660
 
41663
41661
  // src/commands/sessions/daemon/worktree/liveProcessesInTree.ts
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@staff0rd/assist",
3
- "version": "0.747.4",
3
+ "version": "0.748.0",
4
4
  "type": "module",
5
5
  "main": "dist/index.js",
6
6
  "bin": {