@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.
Files changed (87) hide show
  1. package/dist/.build-files +81 -81
  2. package/dist/{addActivity-4AZB5FNU.js → addActivity-BB356JUC.js} +2 -2
  3. package/dist/{addPhase-LNPXIYPK.js → addPhase-7XECKHH4.js} +3 -3
  4. package/dist/{advise-MTBFUXTQ.js → advise-GSYVYRR7.js} +3 -3
  5. package/dist/{askCheck-SX5W2VA4.js → askCheck-RC7ZVCRL.js} +7 -7
  6. package/dist/{askDesign-SZ7K6CGJ.js → askDesign-QFCRD43M.js} +1 -1
  7. package/dist/{branch-VE22QM2F.js → branch-YQ3UUCKY.js} +3 -3
  8. package/dist/built-version +1 -1
  9. package/dist/{chunk-4RFTQWCL.js → chunk-3GINAMFT.js} +1 -1
  10. package/dist/{chunk-VOZOQ7ZU.js → chunk-3LQYJXPU.js} +6 -6
  11. package/dist/{chunk-2CRZID7T.js → chunk-3NOKJIMX.js} +10 -36
  12. package/dist/{chunk-ZKBD7ZIP.js → chunk-3Q2ILAJX.js} +1 -1
  13. package/dist/{chunk-PIPTIJL2.js → chunk-4XVWGIQZ.js} +1 -1
  14. package/dist/{chunk-T6WF6NZA.js → chunk-56Q4LYVU.js} +1 -1
  15. package/dist/{chunk-XE57ISQA.js → chunk-A37Z423F.js} +1 -1
  16. package/dist/{chunk-HOZ7ATOX.js → chunk-A6LWYAU3.js} +1 -1
  17. package/dist/{chunk-YBVGYTVF.js → chunk-BHVGF75Y.js} +1 -1
  18. package/dist/{chunk-HANSK4D3.js → chunk-C7RV262Q.js} +1 -1
  19. package/dist/{chunk-5PVYAAPY.js → chunk-EQ4PJNR3.js} +1 -1
  20. package/dist/{chunk-V23C35QR.js → chunk-EVNYRQFN.js} +2 -2
  21. package/dist/{chunk-NWCNDJBK.js → chunk-FAGKXS7M.js} +1 -1
  22. package/dist/{chunk-ORIIRECU.js → chunk-JK35TMPQ.js} +1 -1
  23. package/dist/{chunk-TLJTRWSR.js → chunk-KQJCHYLI.js} +1 -1
  24. package/dist/{chunk-JEWWWHLD.js → chunk-L6TIUQG7.js} +1 -1
  25. package/dist/{chunk-AEKCC6KD.js → chunk-LGCT5GWJ.js} +2 -2
  26. package/dist/{chunk-7Q7JIS5A.js → chunk-LJO2QGU2.js} +1 -1
  27. package/dist/{chunk-CUQ7A4YH.js → chunk-LW3XI5ST.js} +1 -1
  28. package/dist/{chunk-3ODUG247.js → chunk-MKKUAIO5.js} +1 -1
  29. package/dist/{chunk-6C255DOU.js → chunk-ODRXZQ3P.js} +175 -68
  30. package/dist/{chunk-SLTINDT7.js → chunk-OSZF5OIC.js} +3 -3
  31. package/dist/{chunk-NGG4N5VZ.js → chunk-PVMR7BDN.js} +1 -1
  32. package/dist/{chunk-2KN7ASRE.js → chunk-Q5FCUGEG.js} +1 -1
  33. package/dist/{chunk-TGCXWMNU.js → chunk-RORCGUAQ.js} +2 -2
  34. package/dist/{chunk-2VQGIVEV.js → chunk-RUU5Q4QJ.js} +2 -2
  35. package/dist/{chunk-ATKBOUCC.js → chunk-TMER6T2Y.js} +7 -7
  36. package/dist/{chunk-3FMGNYHM.js → chunk-TMXJY4YK.js} +1 -1
  37. package/dist/{chunk-EN57YHHK.js → chunk-TWQF3TMB.js} +1 -1
  38. package/dist/{chunk-G5IRYDTJ.js → chunk-UCRYRT7T.js} +5 -5
  39. package/dist/{chunk-24WESUC2.js → chunk-UNIWH4ZG.js} +1 -1
  40. package/dist/{chunk-R3BKXOWM.js → chunk-UVF7AAOM.js} +2 -2
  41. package/dist/{chunk-S4NSHQQ3.js → chunk-XVPHIREY.js} +1 -1
  42. package/dist/{chunk-7QTQJKJU.js → chunk-Y4RZPE5K.js} +1 -1
  43. package/dist/{chunk-3RPXIPH5.js → chunk-Z3FHSBJX.js} +1 -1
  44. package/dist/{chunk-MBSMCUTL.js → chunk-ZGNYGFEH.js} +1 -1
  45. package/dist/{chunk-RKNMJQF6.js → chunk-ZRI4LLEL.js} +3 -3
  46. package/dist/{chunk-KPVSCQHQ.js → chunk-ZYRQKPB5.js} +2 -2
  47. package/dist/{cliHook-66JBCEHG.js → cliHook-IHIYSUUT.js} +6 -6
  48. package/dist/{cliHookCheck-6VEZGNQI.js → cliHookCheck-37GDC6GC.js} +2 -2
  49. package/dist/{codexHook-5LK4N2AU.js → codexHook-QNPEZFMN.js} +8 -8
  50. package/dist/commands/extension/extension/updates.json +2 -2
  51. package/dist/commands/sessions/web/bundle.js +1 -1
  52. package/dist/{commit-YWSX4PND.js → commit-63G2R6X4.js} +4 -4
  53. package/dist/{doctorNodes-MR5C4FAF.js → doctorNodes-ZHT4VXJH.js} +3 -3
  54. package/dist/{done-6SQ4ZFU5.js → done-73ZFHC3V.js} +4 -4
  55. package/dist/{editHook-ZJBYDJ7A.js → editHook-UYFUDUBH.js} +6 -6
  56. package/dist/{fixConflict-CK6BZSOB.js → fixConflict-VDFA2YYB.js} +4 -4
  57. package/dist/index.js +50 -50
  58. package/dist/{launchMode-2AV2GQZV.js → launchMode-2Y6A3THN.js} +14 -14
  59. package/dist/{list-B53EGB5N.js → list-2I6MF33C.js} +5 -5
  60. package/dist/{migrate-EQEBYLSV.js → migrate-MMIFWW4D.js} +3 -3
  61. package/dist/{next-G5K5TM3V.js → next-ASEZ7YID.js} +13 -13
  62. package/dist/{phaseDone-X77US4BL.js → phaseDone-QUOCYSFL.js} +5 -5
  63. package/dist/{piHook-PHJVAO43.js → piHook-4UZFXOL2.js} +6 -6
  64. package/dist/{propose-V4APKP64.js → propose-TEAY3APD.js} +4 -4
  65. package/dist/{refine-U245OW2L.js → refine-OOKRHH6R.js} +15 -15
  66. package/dist/{restartNode-Y4IHGBFW.js → restartNode-SHSBTIPE.js} +5 -5
  67. package/dist/{review-RWWCSIRN.js → review-BI24OPV6.js} +4 -4
  68. package/dist/{reviewPrComments-MKPSQ6BR.js → reviewPrComments-BCPAUAY6.js} +4 -4
  69. package/dist/{rewindPhase-SZFVC6W5.js → rewindPhase-7AQG7BYT.js} +8 -8
  70. package/dist/{run-JXWKKDT5.js → run-L2KHLVUN.js} +11 -11
  71. package/dist/{run-FYD73JOG.js → run-R4W3PZCM.js} +11 -11
  72. package/dist/{runDaemon-5SPXM7TW.js → runDaemon-PANJUNOL.js} +31 -23
  73. package/dist/{runParallelPhase-VXN3OZXF.js → runParallelPhase-ER4T22WS.js} +7 -7
  74. package/dist/{runRefine-MDYWKJ3O.js → runRefine-2AOVNZGF.js} +15 -15
  75. package/dist/{scan-VAQU6SGK.js → scan-C7IJHRET.js} +2 -2
  76. package/dist/{schemaConfirm-6TEMFXGX.js → schemaConfirm-SCIGN5LJ.js} +2 -2
  77. package/dist/{schemaLock-WKR3Y542.js → schemaLock-TPOAQ3PF.js} +2 -2
  78. package/dist/{schemaUnlock-BYFQUMQ2.js → schemaUnlock-SLQ7Z6RV.js} +2 -2
  79. package/dist/{search-RGWI5N3E.js → search-3GQ2J6JG.js} +5 -5
  80. package/dist/{show-MPJ5KOKQ.js → show-4D35SSSY.js} +3 -3
  81. package/dist/{show-AF3AHY3O.js → show-HAR6XVMW.js} +3 -3
  82. package/dist/{signExtension-AHXRV5XT.js → signExtension-CNR43DHY.js} +1 -1
  83. package/dist/{updateNode-3EH44S2Z.js → updateNode-KOMLTDVK.js} +5 -5
  84. package/dist/{updatePlan-JPQNCN43.js → updatePlan-JYJMAJSP.js} +4 -4
  85. package/dist/{web-PPEZAIVF.js → web-HU52H4CS.js} +16 -16
  86. package/dist/{web-2RV7AVAP.js → web-NUVTYS3O.js} +16 -16
  87. package/package.json +1 -1
@@ -15,16 +15,16 @@ import {
15
15
  import {
16
16
  createBranch,
17
17
  generateBranchSlug
18
- } from "./chunk-T6WF6NZA.js";
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-SLTINDT7.js";
24
+ } from "./chunk-OSZF5OIC.js";
25
25
  import {
26
26
  backlogPhaseActivity
27
- } from "./chunk-3FMGNYHM.js";
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-S4NSHQQ3.js";
62
+ } from "./chunk-XVPHIREY.js";
63
63
  import {
64
64
  resolvePlan
65
- } from "./chunk-4RFTQWCL.js";
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-6C255DOU.js";
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-6C255DOU.js";
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 as resolve2 } from "path";
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) => resolve2(worktreePath, 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 existsSync4, mkdirSync } from "fs";
562
- import { dirname as dirname3, join as join4 } from "path";
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 = join4(clone, rel);
572
- if (!existsSync4(src)) continue;
573
- const dest = join4(worktreePath, rel);
545
+ const src = join3(clone, rel);
546
+ if (!existsSync3(src)) continue;
547
+ const dest = join3(worktreePath, rel);
574
548
  try {
575
- mkdirSync(dirname3(dest), { recursive: true });
549
+ mkdirSync(dirname2(dest), { recursive: true });
576
550
  copyFileSync(src, dest);
577
551
  daemonLog(`worktree ${worktreePath} seeded ${rel}`);
578
552
  } catch (error) {
@@ -14,7 +14,7 @@ import {
14
14
  isHello,
15
15
  linkVersionCheck,
16
16
  negotiateProtocol
17
- } from "./chunk-TLJTRWSR.js";
17
+ } from "./chunk-KQJCHYLI.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@staff0rd/assist",
4
- version: "0.1218.0",
4
+ version: "0.1219.0",
5
5
  type: "module",
6
6
  main: "dist/index.js",
7
7
  bin: {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  OneShotUnavailableError,
3
3
  runOneShotPrompt
4
- } from "./chunk-ORIIRECU.js";
4
+ } from "./chunk-JK35TMPQ.js";
5
5
  import {
6
6
  withSpinner
7
7
  } from "./chunk-OZNYQOQK.js";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  currentExecutionIdentity,
6
6
  getSchemaSessionApprovalPath
7
- } from "./chunk-7Q7JIS5A.js";
7
+ } from "./chunk-LJO2QGU2.js";
8
8
  import {
9
9
  closeDb,
10
10
  getDb,
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-3ODUG247.js";
3
+ } from "./chunk-MKKUAIO5.js";
4
4
 
5
5
  // src/commands/backlog/list/shared.ts
6
6
  import chalk from "chalk";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-MA7HTHHM.js";
10
10
  import {
11
11
  previewAnswerWaitBlocker
12
- } from "./chunk-2KN7ASRE.js";
12
+ } from "./chunk-Q5FCUGEG.js";
13
13
  import {
14
14
  askQuestionEnabled
15
15
  } from "./chunk-IBPSXDUB.js";
@@ -19,7 +19,7 @@ import {
19
19
  emptyScanUsage,
20
20
  harnessAdapter,
21
21
  scanUsageTokens
22
- } from "./chunk-6C255DOU.js";
22
+ } from "./chunk-ODRXZQ3P.js";
23
23
  import {
24
24
  inboxFeature
25
25
  } from "./chunk-LKZ7J5AK.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  harnessAdapter,
3
3
  parseRolloutEntry
4
- } from "./chunk-6C255DOU.js";
4
+ } from "./chunk-ODRXZQ3P.js";
5
5
  import {
6
6
  resolveCapability
7
7
  } from "./chunk-QC6JEJEO.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  lookupConversation
3
- } from "./chunk-EN57YHHK.js";
3
+ } from "./chunk-TWQF3TMB.js";
4
4
  import {
5
5
  harnessAdapter,
6
6
  readTranscriptTail
7
- } from "./chunk-6C255DOU.js";
7
+ } from "./chunk-ODRXZQ3P.js";
8
8
 
9
9
  // src/commands/sessions/shared/targetConversationEvents.ts
10
10
  async function targetConversationEvents(cwd, target) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VDXS55BC.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-6C255DOU.js";
7
+ } from "./chunk-ODRXZQ3P.js";
8
8
  import {
9
9
  activeHarness
10
10
  } from "./chunk-K4DJEFDZ.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-6MXYEGDK.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-6C255DOU.js";
7
+ } from "./chunk-ODRXZQ3P.js";
8
8
  import {
9
9
  isCodex
10
10
  } from "./chunk-D7UZLH36.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-3DLJJ7YO.js";
4
4
  import {
5
5
  package_default
6
- } from "./chunk-PIPTIJL2.js";
6
+ } from "./chunk-4XVWGIQZ.js";
7
7
  import {
8
8
  loadConfig
9
9
  } from "./chunk-YS46IJ4M.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildDoctorProbes,
3
3
  diagnoseLink
4
- } from "./chunk-ZKBD7ZIP.js";
4
+ } from "./chunk-3Q2ILAJX.js";
5
5
  import {
6
6
  findLinkSpec
7
7
  } from "./chunk-6KSMPTXN.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  checkoutPr
3
- } from "./chunk-MBSMCUTL.js";
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-6C255DOU.js";
22
+ } from "./chunk-ODRXZQ3P.js";
23
23
 
24
24
  // src/commands/launchPrSkill.ts
25
25
  import chalk from "chalk";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-FPWL4VRC.js";
7
7
  import {
8
8
  harnessAdapter
9
- } from "./chunk-6C255DOU.js";
9
+ } from "./chunk-ODRXZQ3P.js";
10
10
  import {
11
11
  legacyDefaultHarness
12
12
  } from "./chunk-XZSATLYY.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-N65VOEFI.js";
7
7
  import {
8
8
  previewAnswerWaitBlocker
9
- } from "./chunk-2KN7ASRE.js";
9
+ } from "./chunk-Q5FCUGEG.js";
10
10
  import {
11
11
  askQuestionEnabled
12
12
  } from "./chunk-IBPSXDUB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-CUQ7A4YH.js";
3
+ } from "./chunk-LW3XI5ST.js";
4
4
 
5
5
  // src/commands/backlog/authoredPhases.ts
6
6
  function authoredPhases(plan) {