@staff0rd/assist 0.1218.0 → 0.1219.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/.build-files +81 -81
- package/dist/{addActivity-4AZB5FNU.js → addActivity-BB356JUC.js} +2 -2
- package/dist/{addPhase-LNPXIYPK.js → addPhase-7XECKHH4.js} +3 -3
- package/dist/{advise-MTBFUXTQ.js → advise-GSYVYRR7.js} +3 -3
- package/dist/{askCheck-SX5W2VA4.js → askCheck-RC7ZVCRL.js} +7 -7
- package/dist/{askDesign-SZ7K6CGJ.js → askDesign-QFCRD43M.js} +1 -1
- package/dist/{branch-VE22QM2F.js → branch-YQ3UUCKY.js} +3 -3
- package/dist/built-version +1 -1
- package/dist/{chunk-4RFTQWCL.js → chunk-3GINAMFT.js} +1 -1
- package/dist/{chunk-VOZOQ7ZU.js → chunk-3LQYJXPU.js} +6 -6
- package/dist/{chunk-2CRZID7T.js → chunk-3NOKJIMX.js} +10 -36
- package/dist/{chunk-ZKBD7ZIP.js → chunk-3Q2ILAJX.js} +1 -1
- package/dist/{chunk-PIPTIJL2.js → chunk-4XVWGIQZ.js} +1 -1
- package/dist/{chunk-T6WF6NZA.js → chunk-56Q4LYVU.js} +1 -1
- package/dist/{chunk-XE57ISQA.js → chunk-A37Z423F.js} +1 -1
- package/dist/{chunk-HOZ7ATOX.js → chunk-A6LWYAU3.js} +1 -1
- package/dist/{chunk-YBVGYTVF.js → chunk-BHVGF75Y.js} +1 -1
- package/dist/{chunk-HANSK4D3.js → chunk-C7RV262Q.js} +1 -1
- package/dist/{chunk-5PVYAAPY.js → chunk-EQ4PJNR3.js} +1 -1
- package/dist/{chunk-V23C35QR.js → chunk-EVNYRQFN.js} +2 -2
- package/dist/{chunk-NWCNDJBK.js → chunk-FAGKXS7M.js} +1 -1
- package/dist/{chunk-ORIIRECU.js → chunk-JK35TMPQ.js} +1 -1
- package/dist/{chunk-TLJTRWSR.js → chunk-KQJCHYLI.js} +1 -1
- package/dist/{chunk-JEWWWHLD.js → chunk-L6TIUQG7.js} +1 -1
- package/dist/{chunk-AEKCC6KD.js → chunk-LGCT5GWJ.js} +2 -2
- package/dist/{chunk-7Q7JIS5A.js → chunk-LJO2QGU2.js} +1 -1
- package/dist/{chunk-CUQ7A4YH.js → chunk-LW3XI5ST.js} +1 -1
- package/dist/{chunk-3ODUG247.js → chunk-MKKUAIO5.js} +1 -1
- package/dist/{chunk-6C255DOU.js → chunk-ODRXZQ3P.js} +175 -68
- package/dist/{chunk-SLTINDT7.js → chunk-OSZF5OIC.js} +3 -3
- package/dist/{chunk-NGG4N5VZ.js → chunk-PVMR7BDN.js} +1 -1
- package/dist/{chunk-2KN7ASRE.js → chunk-Q5FCUGEG.js} +1 -1
- package/dist/{chunk-TGCXWMNU.js → chunk-RORCGUAQ.js} +2 -2
- package/dist/{chunk-2VQGIVEV.js → chunk-RUU5Q4QJ.js} +2 -2
- package/dist/{chunk-ATKBOUCC.js → chunk-TMER6T2Y.js} +7 -7
- package/dist/{chunk-3FMGNYHM.js → chunk-TMXJY4YK.js} +1 -1
- package/dist/{chunk-EN57YHHK.js → chunk-TWQF3TMB.js} +1 -1
- package/dist/{chunk-G5IRYDTJ.js → chunk-UCRYRT7T.js} +5 -5
- package/dist/{chunk-24WESUC2.js → chunk-UNIWH4ZG.js} +1 -1
- package/dist/{chunk-R3BKXOWM.js → chunk-UVF7AAOM.js} +2 -2
- package/dist/{chunk-S4NSHQQ3.js → chunk-XVPHIREY.js} +1 -1
- package/dist/{chunk-7QTQJKJU.js → chunk-Y4RZPE5K.js} +1 -1
- package/dist/{chunk-3RPXIPH5.js → chunk-Z3FHSBJX.js} +1 -1
- package/dist/{chunk-MBSMCUTL.js → chunk-ZGNYGFEH.js} +1 -1
- package/dist/{chunk-RKNMJQF6.js → chunk-ZRI4LLEL.js} +3 -3
- package/dist/{chunk-KPVSCQHQ.js → chunk-ZYRQKPB5.js} +2 -2
- package/dist/{cliHook-66JBCEHG.js → cliHook-IHIYSUUT.js} +6 -6
- package/dist/{cliHookCheck-6VEZGNQI.js → cliHookCheck-37GDC6GC.js} +2 -2
- package/dist/{codexHook-5LK4N2AU.js → codexHook-QNPEZFMN.js} +8 -8
- package/dist/commands/extension/extension/updates.json +2 -2
- package/dist/commands/sessions/web/bundle.js +1 -1
- package/dist/{commit-YWSX4PND.js → commit-63G2R6X4.js} +4 -4
- package/dist/{doctorNodes-MR5C4FAF.js → doctorNodes-ZHT4VXJH.js} +3 -3
- package/dist/{done-6SQ4ZFU5.js → done-73ZFHC3V.js} +4 -4
- package/dist/{editHook-ZJBYDJ7A.js → editHook-UYFUDUBH.js} +6 -6
- package/dist/{fixConflict-CK6BZSOB.js → fixConflict-VDFA2YYB.js} +4 -4
- package/dist/index.js +50 -50
- package/dist/{launchMode-2AV2GQZV.js → launchMode-2Y6A3THN.js} +14 -14
- package/dist/{list-B53EGB5N.js → list-2I6MF33C.js} +5 -5
- package/dist/{migrate-EQEBYLSV.js → migrate-MMIFWW4D.js} +3 -3
- package/dist/{next-G5K5TM3V.js → next-ASEZ7YID.js} +13 -13
- package/dist/{phaseDone-X77US4BL.js → phaseDone-QUOCYSFL.js} +5 -5
- package/dist/{piHook-PHJVAO43.js → piHook-4UZFXOL2.js} +6 -6
- package/dist/{propose-V4APKP64.js → propose-TEAY3APD.js} +4 -4
- package/dist/{refine-U245OW2L.js → refine-OOKRHH6R.js} +15 -15
- package/dist/{restartNode-Y4IHGBFW.js → restartNode-SHSBTIPE.js} +5 -5
- package/dist/{review-RWWCSIRN.js → review-BI24OPV6.js} +4 -4
- package/dist/{reviewPrComments-MKPSQ6BR.js → reviewPrComments-BCPAUAY6.js} +4 -4
- package/dist/{rewindPhase-SZFVC6W5.js → rewindPhase-7AQG7BYT.js} +8 -8
- package/dist/{run-JXWKKDT5.js → run-L2KHLVUN.js} +11 -11
- package/dist/{run-FYD73JOG.js → run-R4W3PZCM.js} +11 -11
- package/dist/{runDaemon-5SPXM7TW.js → runDaemon-PANJUNOL.js} +31 -23
- package/dist/{runParallelPhase-VXN3OZXF.js → runParallelPhase-ER4T22WS.js} +7 -7
- package/dist/{runRefine-MDYWKJ3O.js → runRefine-2AOVNZGF.js} +15 -15
- package/dist/{scan-VAQU6SGK.js → scan-C7IJHRET.js} +2 -2
- package/dist/{schemaConfirm-6TEMFXGX.js → schemaConfirm-SCIGN5LJ.js} +2 -2
- package/dist/{schemaLock-WKR3Y542.js → schemaLock-TPOAQ3PF.js} +2 -2
- package/dist/{schemaUnlock-BYFQUMQ2.js → schemaUnlock-SLQ7Z6RV.js} +2 -2
- package/dist/{search-RGWI5N3E.js → search-3GQ2J6JG.js} +5 -5
- package/dist/{show-MPJ5KOKQ.js → show-4D35SSSY.js} +3 -3
- package/dist/{show-AF3AHY3O.js → show-HAR6XVMW.js} +3 -3
- package/dist/{signExtension-AHXRV5XT.js → signExtension-CNR43DHY.js} +1 -1
- package/dist/{updateNode-3EH44S2Z.js → updateNode-KOMLTDVK.js} +5 -5
- package/dist/{updatePlan-JPQNCN43.js → updatePlan-JYJMAJSP.js} +4 -4
- package/dist/{web-PPEZAIVF.js → web-HU52H4CS.js} +16 -16
- package/dist/{web-2RV7AVAP.js → web-NUVTYS3O.js} +16 -16
- package/package.json +1 -1
|
@@ -15,16 +15,16 @@ import {
|
|
|
15
15
|
import {
|
|
16
16
|
createBranch,
|
|
17
17
|
generateBranchSlug
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-56Q4LYVU.js";
|
|
19
19
|
import {
|
|
20
20
|
inWebSession
|
|
21
21
|
} from "./chunk-HKGCLAZ7.js";
|
|
22
22
|
import {
|
|
23
23
|
executePhase
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OSZF5OIC.js";
|
|
25
25
|
import {
|
|
26
26
|
backlogPhaseActivity
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-TMXJY4YK.js";
|
|
28
28
|
import {
|
|
29
29
|
awaitHarness
|
|
30
30
|
} from "./chunk-ZYK7V4PG.js";
|
|
@@ -59,10 +59,10 @@ import {
|
|
|
59
59
|
import {
|
|
60
60
|
buildReviewPhase,
|
|
61
61
|
resolveReviewPhase
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-XVPHIREY.js";
|
|
63
63
|
import {
|
|
64
64
|
resolvePlan
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-3GINAMFT.js";
|
|
66
66
|
import {
|
|
67
67
|
findOneItem,
|
|
68
68
|
getOrigin,
|
|
@@ -86,7 +86,7 @@ import {
|
|
|
86
86
|
import {
|
|
87
87
|
harnessAdapter,
|
|
88
88
|
withoutResumeSession
|
|
89
|
-
} from "./chunk-
|
|
89
|
+
} from "./chunk-ODRXZQ3P.js";
|
|
90
90
|
import {
|
|
91
91
|
buildFeature
|
|
92
92
|
} from "./chunk-LKZ7J5AK.js";
|
|
@@ -22,8 +22,9 @@ import {
|
|
|
22
22
|
expandTilde
|
|
23
23
|
} from "./chunk-LKDW2GWH.js";
|
|
24
24
|
import {
|
|
25
|
+
findNodePin,
|
|
25
26
|
loginShellCommand
|
|
26
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ODRXZQ3P.js";
|
|
27
28
|
import {
|
|
28
29
|
daemonLog
|
|
29
30
|
} from "./chunk-MRUIXQXS.js";
|
|
@@ -189,7 +190,7 @@ ${output}` : "";
|
|
|
189
190
|
}
|
|
190
191
|
|
|
191
192
|
// src/commands/sessions/daemon/worktree/installPaths.ts
|
|
192
|
-
import { resolve
|
|
193
|
+
import { resolve } from "path";
|
|
193
194
|
|
|
194
195
|
// src/commands/sessions/daemon/worktree/enclosingPaths.ts
|
|
195
196
|
import { isAbsolute, relative } from "path";
|
|
@@ -262,33 +263,6 @@ function quoteForPosixShell(value) {
|
|
|
262
263
|
return `'${value.replaceAll("'", `'\\''`)}'`;
|
|
263
264
|
}
|
|
264
265
|
|
|
265
|
-
// src/commands/sessions/daemon/worktree/findNodePin.ts
|
|
266
|
-
import { existsSync as existsSync3, readFileSync } from "fs";
|
|
267
|
-
import { dirname as dirname2, join as join3, resolve } from "path";
|
|
268
|
-
var PIN_FILES = [".node-version", ".nvmrc"];
|
|
269
|
-
function readPin(file) {
|
|
270
|
-
if (!existsSync3(file)) return void 0;
|
|
271
|
-
try {
|
|
272
|
-
return readFileSync(file, "utf8").split(/\r?\n/).map((line) => line.trim()).find((line) => line && !line.startsWith("#"));
|
|
273
|
-
} catch {
|
|
274
|
-
return void 0;
|
|
275
|
-
}
|
|
276
|
-
}
|
|
277
|
-
function findNodePin(dir, root) {
|
|
278
|
-
const top = resolve(root);
|
|
279
|
-
let current = resolve(dir);
|
|
280
|
-
for (; ; ) {
|
|
281
|
-
for (const name of PIN_FILES) {
|
|
282
|
-
const file = join3(current, name);
|
|
283
|
-
const spec = readPin(file);
|
|
284
|
-
if (spec) return { file, spec };
|
|
285
|
-
}
|
|
286
|
-
const parent = dirname2(current);
|
|
287
|
-
if (current === top || parent === current) return void 0;
|
|
288
|
-
current = parent;
|
|
289
|
-
}
|
|
290
|
-
}
|
|
291
|
-
|
|
292
266
|
// src/commands/sessions/daemon/worktree/resolveInstallNode.ts
|
|
293
267
|
var defaultDeps = {
|
|
294
268
|
resolve: (spec) => resolveNodeSpec(spec),
|
|
@@ -492,7 +466,7 @@ function pathsProgress(paths, states, failures, onInstalling) {
|
|
|
492
466
|
|
|
493
467
|
// src/commands/sessions/daemon/worktree/installPaths.ts
|
|
494
468
|
function installPaths(worktreePath, paths, onSeeded, onInstalling) {
|
|
495
|
-
const dirs = paths.map((rel) =>
|
|
469
|
+
const dirs = paths.map((rel) => resolve(worktreePath, rel));
|
|
496
470
|
const enclosing = enclosingPaths(dirs);
|
|
497
471
|
const states = paths.map(() => "pending");
|
|
498
472
|
const failures = paths.map(() => void 0);
|
|
@@ -558,8 +532,8 @@ function runInstall(worktreePath, clone, install, onSeeded, onInstalling = () =>
|
|
|
558
532
|
}
|
|
559
533
|
|
|
560
534
|
// src/commands/sessions/daemon/worktree/seedWorktree.ts
|
|
561
|
-
import { copyFileSync, existsSync as
|
|
562
|
-
import { dirname as
|
|
535
|
+
import { copyFileSync, existsSync as existsSync3, mkdirSync } from "fs";
|
|
536
|
+
import { dirname as dirname2, join as join3 } from "path";
|
|
563
537
|
function seedWorktree(worktreePath, clone, onSeeded = () => {
|
|
564
538
|
}, onInstalling) {
|
|
565
539
|
const cfg = worktreeConfigFor(clone);
|
|
@@ -568,11 +542,11 @@ function seedWorktree(worktreePath, clone, onSeeded = () => {
|
|
|
568
542
|
}
|
|
569
543
|
function copyConfigFiles(worktreePath, clone, copy) {
|
|
570
544
|
for (const rel of copy) {
|
|
571
|
-
const src =
|
|
572
|
-
if (!
|
|
573
|
-
const dest =
|
|
545
|
+
const src = join3(clone, rel);
|
|
546
|
+
if (!existsSync3(src)) continue;
|
|
547
|
+
const dest = join3(worktreePath, rel);
|
|
574
548
|
try {
|
|
575
|
-
mkdirSync(
|
|
549
|
+
mkdirSync(dirname2(dest), { recursive: true });
|
|
576
550
|
copyFileSync(src, dest);
|
|
577
551
|
daemonLog(`worktree ${worktreePath} seeded ${rel}`);
|
|
578
552
|
} catch (error) {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lookupConversation
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-TWQF3TMB.js";
|
|
4
4
|
import {
|
|
5
5
|
harnessAdapter,
|
|
6
6
|
readTranscriptTail
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-ODRXZQ3P.js";
|
|
8
8
|
|
|
9
9
|
// src/commands/sessions/shared/targetConversationEvents.ts
|
|
10
10
|
async function targetConversationEvents(cwd, target) {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
checkoutPr
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-ZGNYGFEH.js";
|
|
4
4
|
import {
|
|
5
5
|
launchBlocker
|
|
6
6
|
} from "./chunk-24YN3552.js";
|
|
@@ -19,7 +19,7 @@ import {
|
|
|
19
19
|
} from "./chunk-3DNFNT2L.js";
|
|
20
20
|
import {
|
|
21
21
|
harnessAdapter
|
|
22
|
-
} from "./chunk-
|
|
22
|
+
} from "./chunk-ODRXZQ3P.js";
|
|
23
23
|
|
|
24
24
|
// src/commands/launchPrSkill.ts
|
|
25
25
|
import chalk from "chalk";
|