@staff0rd/assist 0.548.0 → 0.548.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.
- package/dist/commands/sessions/web/bundle.js +64 -64
- package/dist/index.js +5 -6
- 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.548.
|
|
9
|
+
version: "0.548.1",
|
|
10
10
|
type: "module",
|
|
11
11
|
main: "dist/index.js",
|
|
12
12
|
bin: {
|
|
@@ -33573,7 +33573,7 @@ function allocateAndBind(ctx, cwd, create, options2 = {}, context) {
|
|
|
33573
33573
|
}
|
|
33574
33574
|
|
|
33575
33575
|
// src/commands/sessions/daemon/worktree/ensureWatcher.ts
|
|
33576
|
-
function ensureWatcher(ctx, cwd
|
|
33576
|
+
function ensureWatcher(ctx, cwd) {
|
|
33577
33577
|
if (!cwd) return void 0;
|
|
33578
33578
|
const repoRoot2 = findRepoRoot(cwd) ?? cwd;
|
|
33579
33579
|
const cfg = worktreeConfigFor(repoRoot2);
|
|
@@ -33590,8 +33590,7 @@ function ensureWatcher(ctx, cwd, launchedFrom) {
|
|
|
33590
33590
|
ctx,
|
|
33591
33591
|
clone,
|
|
33592
33592
|
(sid, resolvedCwd) => createWatcherSession(sid, resolvedCwd ?? clone),
|
|
33593
|
-
{ inPlace: true }
|
|
33594
|
-
{ launchedFrom }
|
|
33593
|
+
{ inPlace: true }
|
|
33595
33594
|
);
|
|
33596
33595
|
daemonLog(
|
|
33597
33596
|
`spawned watcher session ${id} running /watch in the clone ${clone}`
|
|
@@ -33689,7 +33688,7 @@ function reuseSessionForRun(session, itemId2, clients, onStatusChange, tree) {
|
|
|
33689
33688
|
onStatusChange
|
|
33690
33689
|
);
|
|
33691
33690
|
if (!started) return;
|
|
33692
|
-
if (tree) ensureWatcher(tree, originCwd
|
|
33691
|
+
if (tree) ensureWatcher(tree, originCwd);
|
|
33693
33692
|
attachReusedRun(session, alloc, clients, onStatusChange, tree);
|
|
33694
33693
|
daemonLog(
|
|
33695
33694
|
`session ${session.id} reused for backlog run ${itemId2}: ${session.name}`
|
|
@@ -34647,7 +34646,7 @@ function spawnAssistInTree(ctx, assistArgs, cwd, meta, context) {
|
|
|
34647
34646
|
},
|
|
34648
34647
|
context
|
|
34649
34648
|
);
|
|
34650
|
-
if (isBacklogRunArgs(assistArgs)) ensureWatcher(ctx, cwd
|
|
34649
|
+
if (isBacklogRunArgs(assistArgs)) ensureWatcher(ctx, cwd);
|
|
34651
34650
|
return id;
|
|
34652
34651
|
}
|
|
34653
34652
|
function resumeInTree(ctx, sessionId, cwd, name) {
|