@staff0rd/assist 0.1209.10 → 0.1209.11

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 (86) hide show
  1. package/dist/.build-files +81 -81
  2. package/dist/{addActivity-PLNFAQVP.js → addActivity-RJUB6VYL.js} +2 -2
  3. package/dist/{addPhase-TTGDRRKJ.js → addPhase-7GZMAD5M.js} +3 -3
  4. package/dist/{advise-36VIPPXJ.js → advise-P5BJ2VXH.js} +3 -3
  5. package/dist/{askCheck-DRRBLFHP.js → askCheck-Q25WGI6P.js} +7 -7
  6. package/dist/{askDesign-MJ6BAVD7.js → askDesign-C4ZW7N2J.js} +1 -1
  7. package/dist/{branch-OMFTQK3W.js → branch-GEXNKBNH.js} +3 -3
  8. package/dist/built-version +1 -1
  9. package/dist/{chunk-BZ4NSHKC.js → chunk-2IPZDH4Q.js} +1 -1
  10. package/dist/{chunk-AVWHLYRU.js → chunk-3N6Z2ZRY.js} +1 -1
  11. package/dist/{chunk-YP4LPJ7P.js → chunk-3PJJWRGZ.js} +1 -1
  12. package/dist/{chunk-NEC6OVBH.js → chunk-5FJGB5JB.js} +5 -5
  13. package/dist/{chunk-5GE4SCZV.js → chunk-5PE3M4A4.js} +1 -1
  14. package/dist/{chunk-VIKP2CPB.js → chunk-5WZOGIUM.js} +6 -6
  15. package/dist/{chunk-4JVS2C67.js → chunk-6ECUZF6F.js} +1 -1
  16. package/dist/{chunk-HFUFS7V6.js → chunk-6K7EALV5.js} +1 -1
  17. package/dist/{chunk-3OBPZZ6K.js → chunk-7H7XSGJD.js} +1 -1
  18. package/dist/{chunk-3EPOPLVB.js → chunk-BIHTVQ5N.js} +1 -1
  19. package/dist/{chunk-M6G6HBNN.js → chunk-BXMHCKEA.js} +2 -2
  20. package/dist/{chunk-4VJXZMG4.js → chunk-C3JJGZPE.js} +2 -2
  21. package/dist/{chunk-ZZPDMUIS.js → chunk-CA65WBYZ.js} +1 -1
  22. package/dist/{chunk-A4WGQPHE.js → chunk-CUZPCBRE.js} +1 -1
  23. package/dist/{chunk-GCC3III2.js → chunk-DLEUEJL4.js} +1 -1
  24. package/dist/{chunk-AZKNSOKB.js → chunk-DU7FBCCC.js} +1 -1
  25. package/dist/{chunk-YMENSLWI.js → chunk-FAOVYBS3.js} +1 -1
  26. package/dist/{chunk-TARU4556.js → chunk-GC5NZJLI.js} +1 -1
  27. package/dist/{chunk-3COAWQ2J.js → chunk-GCHTEVCU.js} +1 -1
  28. package/dist/{chunk-7TL5FF4G.js → chunk-GLCAAUED.js} +1 -1
  29. package/dist/{chunk-3MQCI3HR.js → chunk-H2X2PD2T.js} +1 -1
  30. package/dist/{chunk-DOIDAWFX.js → chunk-HHJ3BRJG.js} +1 -1
  31. package/dist/{chunk-VJPVCXTO.js → chunk-HXWON53G.js} +1 -1
  32. package/dist/{chunk-36F3K7HM.js → chunk-I77BQNOY.js} +2 -2
  33. package/dist/{chunk-734KE2N6.js → chunk-IEC4RN4Z.js} +1 -1
  34. package/dist/{chunk-ZPA2ZLQF.js → chunk-IHBOCKE2.js} +3 -3
  35. package/dist/{chunk-Y7N7LQ4X.js → chunk-KMWRROHA.js} +1 -1
  36. package/dist/{chunk-GH2U4GVZ.js → chunk-L74VPF63.js} +3 -3
  37. package/dist/{chunk-NH4S6JMP.js → chunk-NMMRT55A.js} +1 -1
  38. package/dist/{chunk-SIZYUJM7.js → chunk-S2SKT2T3.js} +1 -1
  39. package/dist/{chunk-KGACFC47.js → chunk-SSGT5KRZ.js} +7 -7
  40. package/dist/{chunk-GCVGBOX5.js → chunk-U27ZD3KQ.js} +1 -1
  41. package/dist/{chunk-LCEKIRDI.js → chunk-V3KJ4PGA.js} +2 -2
  42. package/dist/{chunk-HG2J53VZ.js → chunk-WW5CNGJH.js} +2 -2
  43. package/dist/{chunk-K6FSJTVW.js → chunk-XAYI77WW.js} +1 -1
  44. package/dist/{chunk-BCBJMZGJ.js → chunk-XLIFF7Y5.js} +59 -37
  45. package/dist/{chunk-J5FJLOMS.js → chunk-YMZH7BJH.js} +1 -1
  46. package/dist/{chunk-CGTWGF4R.js → chunk-ZWDNCH54.js} +2 -2
  47. package/dist/{cliHook-6AK4SZVH.js → cliHook-RW6JZJ5C.js} +6 -6
  48. package/dist/{cliHookCheck-BXTWEIKL.js → cliHookCheck-4A34MEJ4.js} +2 -2
  49. package/dist/{codexHook-CKPLYNYI.js → codexHook-73Y4ZXBT.js} +8 -8
  50. package/dist/commands/sessions/web/bundle.js +1 -1
  51. package/dist/{commit-XOT7U5LZ.js → commit-DPOMBIMJ.js} +4 -4
  52. package/dist/{doctorNodes-GZARZJLX.js → doctorNodes-ALAOG42B.js} +3 -3
  53. package/dist/{done-7XDZ5EOV.js → done-AVG3QRTA.js} +4 -4
  54. package/dist/{editHook-RG7F5O5G.js → editHook-TBRDX66J.js} +6 -6
  55. package/dist/{fixConflict-SHPVWNCI.js → fixConflict-OF3B5BRX.js} +4 -4
  56. package/dist/index.js +50 -50
  57. package/dist/{launchMode-E6C56QJ5.js → launchMode-YJHELXRI.js} +14 -14
  58. package/dist/{list-LWGNQ5OI.js → list-XL5WCHZX.js} +5 -5
  59. package/dist/{migrate-L6IK3N53.js → migrate-BW2IWRAX.js} +3 -3
  60. package/dist/{next-RU4CE65F.js → next-YU6KVEF3.js} +13 -13
  61. package/dist/{phaseDone-LXJHLT2U.js → phaseDone-C7YXMX7D.js} +5 -5
  62. package/dist/{piHook-3DLZZNQI.js → piHook-3Z3OODUR.js} +6 -6
  63. package/dist/{propose-S3E5BT6R.js → propose-MVYYF25R.js} +4 -4
  64. package/dist/{refine-PM727EVL.js → refine-YPDQ4DC3.js} +15 -15
  65. package/dist/{restartNode-YV73FMYW.js → restartNode-DQ6QNYDG.js} +5 -5
  66. package/dist/{review-LCT3ZUNR.js → review-XGFIOVID.js} +4 -4
  67. package/dist/{reviewPrComments-BOOP6SKN.js → reviewPrComments-JZSAMIMP.js} +4 -4
  68. package/dist/{rewindPhase-LUTTHL7A.js → rewindPhase-YYIMI5WB.js} +8 -8
  69. package/dist/{run-T4LRCNGP.js → run-4WYZVV2Y.js} +11 -11
  70. package/dist/{run-XKK6RIXT.js → run-NSKPDL3S.js} +11 -11
  71. package/dist/{runDaemon-OM23ZXUY.js → runDaemon-BHHUYUHQ.js} +23 -18
  72. package/dist/{runParallelPhase-TF7ICWA2.js → runParallelPhase-7IFBSTQK.js} +7 -7
  73. package/dist/{runRefine-U5VSEHLT.js → runRefine-B2VACNXX.js} +15 -15
  74. package/dist/{scan-QGGG4PDJ.js → scan-IB5GKFGY.js} +2 -2
  75. package/dist/{schemaConfirm-JZDXHHJB.js → schemaConfirm-4XTLWBSV.js} +2 -2
  76. package/dist/{schemaLock-X5744CQX.js → schemaLock-OORVKODN.js} +2 -2
  77. package/dist/{schemaUnlock-POW6IROW.js → schemaUnlock-ZAQIPVQW.js} +2 -2
  78. package/dist/{search-XENUF5PM.js → search-GRKDZSOE.js} +5 -5
  79. package/dist/{show-75ROW5SY.js → show-ACBXOMQV.js} +3 -3
  80. package/dist/{show-TKEXHAGK.js → show-BVJVHU57.js} +3 -3
  81. package/dist/{signExtension-27KZO6ML.js → signExtension-7KXHGGOO.js} +1 -1
  82. package/dist/{updateNode-YTGHYMUF.js → updateNode-G67DMBJD.js} +5 -5
  83. package/dist/{updatePlan-6CS7QADL.js → updatePlan-DTB6NORX.js} +4 -4
  84. package/dist/{web-4NPV4ZXK.js → web-4YJ3RREN.js} +16 -16
  85. package/dist/{web-677GLJFT.js → web-XMKS2YBC.js} +16 -16
  86. package/package.json +1 -1
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  next
3
- } from "./chunk-LCEKIRDI.js";
3
+ } from "./chunk-V3KJ4PGA.js";
4
4
  import {
5
5
  pullIfConfigured
6
6
  } from "./chunk-7VTFCHIT.js";
7
7
  import {
8
8
  run
9
- } from "./chunk-VIKP2CPB.js";
9
+ } from "./chunk-5WZOGIUM.js";
10
10
  import {
11
11
  launchBlocker
12
12
  } from "./chunk-LQMU4BUO.js";
@@ -15,7 +15,7 @@ import {
15
15
  readSignal,
16
16
  stopWatching,
17
17
  watchForMarker
18
- } from "./chunk-GH2U4GVZ.js";
18
+ } from "./chunk-L74VPF63.js";
19
19
  import {
20
20
  resumeNudge
21
21
  } from "./chunk-7NZOH4LN.js";
@@ -31,7 +31,7 @@ import {
31
31
  } from "./chunk-3DNFNT2L.js";
32
32
  import {
33
33
  isBlocked
34
- } from "./chunk-GCC3III2.js";
34
+ } from "./chunk-DLEUEJL4.js";
35
35
  import {
36
36
  loadItemSummaries
37
37
  } from "./chunk-ZWIWBQO2.js";
@@ -49,7 +49,7 @@ import {
49
49
  } from "./chunk-N65VOEFI.js";
50
50
  import {
51
51
  harnessAdapter
52
- } from "./chunk-BCBJMZGJ.js";
52
+ } from "./chunk-XLIFF7Y5.js";
53
53
 
54
54
  // src/commands/backlog/launchMode.ts
55
55
  import chalk3 from "chalk";
@@ -19,7 +19,7 @@ import {
19
19
  emptyScanUsage,
20
20
  harnessAdapter,
21
21
  scanUsageTokens
22
- } from "./chunk-BCBJMZGJ.js";
22
+ } from "./chunk-XLIFF7Y5.js";
23
23
  import {
24
24
  inboxFeature
25
25
  } from "./chunk-LKZ7J5AK.js";
@@ -15,16 +15,16 @@ import {
15
15
  import {
16
16
  createBranch,
17
17
  generateBranchSlug
18
- } from "./chunk-734KE2N6.js";
18
+ } from "./chunk-IEC4RN4Z.js";
19
19
  import {
20
20
  inWebSession
21
21
  } from "./chunk-HKGCLAZ7.js";
22
22
  import {
23
23
  executePhase
24
- } from "./chunk-GH2U4GVZ.js";
24
+ } from "./chunk-L74VPF63.js";
25
25
  import {
26
26
  backlogPhaseActivity
27
- } from "./chunk-4JVS2C67.js";
27
+ } from "./chunk-6ECUZF6F.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-YMENSLWI.js";
62
+ } from "./chunk-FAOVYBS3.js";
63
63
  import {
64
64
  resolvePlan
65
- } from "./chunk-3EPOPLVB.js";
65
+ } from "./chunk-BIHTVQ5N.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-BCBJMZGJ.js";
89
+ } from "./chunk-XLIFF7Y5.js";
90
90
  import {
91
91
  buildFeature
92
92
  } from "./chunk-LKZ7J5AK.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-YP4LPJ7P.js";
3
+ } from "./chunk-3PJJWRGZ.js";
4
4
  import {
5
5
  phaseSessions
6
6
  } from "./chunk-A45XXOEA.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  harnessAdapter,
3
3
  parseRolloutEntry
4
- } from "./chunk-BCBJMZGJ.js";
4
+ } from "./chunk-XLIFF7Y5.js";
5
5
  import {
6
6
  resolveCapability
7
7
  } from "./chunk-4QXA7WWO.js";
@@ -14,7 +14,7 @@ import {
14
14
  isHello,
15
15
  linkVersionCheck,
16
16
  negotiateProtocol
17
- } from "./chunk-Y7N7LQ4X.js";
17
+ } from "./chunk-KMWRROHA.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-7TL5FF4G.js";
3
+ } from "./chunk-GLCAAUED.js";
4
4
 
5
5
  // src/commands/backlog/resolvePlan.ts
6
6
  function resolvePlan(item) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  lookupConversation
3
- } from "./chunk-NH4S6JMP.js";
3
+ } from "./chunk-NMMRT55A.js";
4
4
  import {
5
5
  harnessAdapter,
6
6
  readTranscriptTail
7
- } from "./chunk-BCBJMZGJ.js";
7
+ } from "./chunk-XLIFF7Y5.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-DOIDAWFX.js";
3
+ } from "./chunk-HHJ3BRJG.js";
4
4
  import {
5
5
  launchBlocker
6
6
  } from "./chunk-LQMU4BUO.js";
@@ -19,7 +19,7 @@ import {
19
19
  } from "./chunk-3DNFNT2L.js";
20
20
  import {
21
21
  harnessAdapter
22
- } from "./chunk-BCBJMZGJ.js";
22
+ } from "./chunk-XLIFF7Y5.js";
23
23
 
24
24
  // src/commands/launchPrSkill.ts
25
25
  import chalk from "chalk";
@@ -16,7 +16,7 @@ import {
16
16
  codexRolloutMeta,
17
17
  deriveHistoryFields,
18
18
  readCodexHeadLines
19
- } from "./chunk-BCBJMZGJ.js";
19
+ } from "./chunk-XLIFF7Y5.js";
20
20
  import {
21
21
  resolveHarness
22
22
  } from "./chunk-XZSATLYY.js";
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@staff0rd/assist",
4
- version: "0.1209.10",
4
+ version: "0.1209.11",
5
5
  type: "module",
6
6
  main: "dist/index.js",
7
7
  bin: {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-7TL5FF4G.js";
3
+ } from "./chunk-GLCAAUED.js";
4
4
 
5
5
  // src/commands/backlog/list/shared.ts
6
6
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hasOpenPhaseUnlock
3
- } from "./chunk-BZ4NSHKC.js";
3
+ } from "./chunk-2IPZDH4Q.js";
4
4
  import {
5
5
  resolveSessionItemId
6
6
  } from "./chunk-FPWL4VRC.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-YP4LPJ7P.js";
3
+ } from "./chunk-3PJJWRGZ.js";
4
4
 
5
5
  // src/commands/backlog/buildReviewPhase.ts
6
6
  function buildReviewPhase() {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-FPWL4VRC.js";
7
7
  import {
8
8
  harnessAdapter
9
- } from "./chunk-BCBJMZGJ.js";
9
+ } from "./chunk-XLIFF7Y5.js";
10
10
  import {
11
11
  legacyDefaultHarness
12
12
  } from "./chunk-XZSATLYY.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2F2IKQDM.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-BCBJMZGJ.js";
7
+ } from "./chunk-XLIFF7Y5.js";
8
8
  import {
9
9
  isCodex
10
10
  } from "./chunk-D7UZLH36.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-YP4LPJ7P.js";
3
+ } from "./chunk-3PJJWRGZ.js";
4
4
 
5
5
  // src/commands/backlog/authoredPhases.ts
6
6
  function authoredPhases(plan) {
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-F4XCHVD7.js";
10
10
  import {
11
11
  REVIEW_PHASE_NAME
12
- } from "./chunk-YP4LPJ7P.js";
12
+ } from "./chunk-3PJJWRGZ.js";
13
13
  import {
14
14
  serializeManualChecks
15
15
  } from "./chunk-QNVYNVAM.js";
@@ -5,7 +5,7 @@ import {
5
5
  runInstall,
6
6
  seedWorktree,
7
7
  worktreeWithBranch
8
- } from "./chunk-GCVGBOX5.js";
8
+ } from "./chunk-U27ZD3KQ.js";
9
9
  import {
10
10
  loadPersistedSessions
11
11
  } from "./chunk-2GTVP7JI.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildDoctorProbes,
3
3
  diagnoseLink
4
- } from "./chunk-3OBPZZ6K.js";
4
+ } from "./chunk-7H7XSGJD.js";
5
5
  import {
6
6
  findLinkSpec
7
7
  } from "./chunk-HPBO553P.js";
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-DM2P6BNS.js";
7
7
  import {
8
8
  resolveRewindPlan
9
- } from "./chunk-HG2J53VZ.js";
9
+ } from "./chunk-WW5CNGJH.js";
10
10
  import {
11
11
  resolvePlan
12
- } from "./chunk-3EPOPLVB.js";
12
+ } from "./chunk-BIHTVQ5N.js";
13
13
  import {
14
14
  resetPhaseAndDependents,
15
15
  updateStatus
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  OneShotUnavailableError,
3
3
  runOneShotPrompt
4
- } from "./chunk-3COAWQ2J.js";
4
+ } from "./chunk-GCHTEVCU.js";
5
5
  import {
6
6
  withSpinner
7
7
  } from "./chunk-OZNYQOQK.js";
@@ -8,10 +8,10 @@ import {
8
8
  isDocsPath,
9
9
  isSchemaPath,
10
10
  mentionsDocsPath
11
- } from "./chunk-AZKNSOKB.js";
11
+ } from "./chunk-DU7FBCCC.js";
12
12
  import {
13
13
  isSchemaLocked
14
- } from "./chunk-BZ4NSHKC.js";
14
+ } from "./chunk-2IPZDH4Q.js";
15
15
  import {
16
16
  findBuiltinDenyRaw,
17
17
  findDeny,
@@ -21,7 +21,7 @@ import {
21
21
  isApprovedRead,
22
22
  resolvePermission,
23
23
  splitCompound
24
- } from "./chunk-AVWHLYRU.js";
24
+ } from "./chunk-3N6Z2ZRY.js";
25
25
  import {
26
26
  inWebSession
27
27
  } from "./chunk-HKGCLAZ7.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZSIEDJSS.js";
4
4
  import {
5
5
  package_default
6
- } from "./chunk-A4WGQPHE.js";
6
+ } from "./chunk-CUZPCBRE.js";
7
7
  import {
8
8
  loadConfig
9
9
  } from "./chunk-TL6KJYLM.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  backlogPhaseActivity,
3
3
  recordPhaseSession
4
- } from "./chunk-4JVS2C67.js";
4
+ } from "./chunk-6ECUZF6F.js";
5
5
  import {
6
6
  resumeNudge
7
7
  } from "./chunk-7NZOH4LN.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-DM2P6BNS.js";
27
27
  import {
28
28
  buildPhasePrompt
29
- } from "./chunk-YP4LPJ7P.js";
29
+ } from "./chunk-3PJJWRGZ.js";
30
30
  import {
31
31
  getReady
32
32
  } from "./chunk-JAQ236DW.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-A45XXOEA.js";
39
39
  import {
40
40
  harnessAdapter
41
- } from "./chunk-BCBJMZGJ.js";
41
+ } from "./chunk-XLIFF7Y5.js";
42
42
  import {
43
43
  getSignalPath
44
44
  } from "./chunk-P23ZWXGY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  harnessAdapter
3
- } from "./chunk-BCBJMZGJ.js";
3
+ } from "./chunk-XLIFF7Y5.js";
4
4
  import {
5
5
  resolveCapability
6
6
  } from "./chunk-4QXA7WWO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  firstBrokenHop
3
- } from "./chunk-VJPVCXTO.js";
3
+ } from "./chunk-HXWON53G.js";
4
4
  import {
5
5
  describePeerError
6
6
  } from "./chunk-VABNWHSE.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-JM57BCD6.js";
11
11
  import {
12
12
  firstBrokenHop
13
- } from "./chunk-VJPVCXTO.js";
13
+ } from "./chunk-HXWON53G.js";
14
14
  import {
15
15
  describePeerError,
16
16
  fetchPeerJson
@@ -39,7 +39,7 @@ import {
39
39
  resolveLinkTarget,
40
40
  usageWindowKey,
41
41
  watcherLogPath
42
- } from "./chunk-ZZPDMUIS.js";
42
+ } from "./chunk-CA65WBYZ.js";
43
43
  import {
44
44
  TRACE_HEADER,
45
45
  newTraceId
@@ -47,7 +47,7 @@ import {
47
47
  import {
48
48
  ASSIST_VERSION,
49
49
  PROTOCOL_VERSION
50
- } from "./chunk-Y7N7LQ4X.js";
50
+ } from "./chunk-KMWRROHA.js";
51
51
  import {
52
52
  findLinkSpec
53
53
  } from "./chunk-HPBO553P.js";
@@ -84,7 +84,7 @@ import {
84
84
  } from "./chunk-UJBW7FVI.js";
85
85
  import {
86
86
  targetConversationEvents
87
- } from "./chunk-M6G6HBNN.js";
87
+ } from "./chunk-BXMHCKEA.js";
88
88
  import {
89
89
  configEntryLayers,
90
90
  ghFailure,
@@ -251,7 +251,7 @@ import {
251
251
  } from "./chunk-AJOU43WT.js";
252
252
  import {
253
253
  rewindItemToPhase
254
- } from "./chunk-36F3K7HM.js";
254
+ } from "./chunk-I77BQNOY.js";
255
255
  import {
256
256
  loadItemSummaries,
257
257
  phaseUsageTotals,
@@ -280,7 +280,7 @@ import {
280
280
  } from "./chunk-W2UW25ZA.js";
281
281
  import {
282
282
  resolveRewindPlan
283
- } from "./chunk-HG2J53VZ.js";
283
+ } from "./chunk-WW5CNGJH.js";
284
284
  import {
285
285
  deleteItem,
286
286
  getOrigin,
@@ -329,7 +329,7 @@ import {
329
329
  discoverSessionJsonlPaths,
330
330
  harnessAdapter,
331
331
  parseSessionFile
332
- } from "./chunk-BCBJMZGJ.js";
332
+ } from "./chunk-XLIFF7Y5.js";
333
333
  import {
334
334
  harnessLabel
335
335
  } from "./chunk-XZSATLYY.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-LKDW2GWH.js";
24
24
  import {
25
25
  loginShellCommand
26
- } from "./chunk-BCBJMZGJ.js";
26
+ } from "./chunk-XLIFF7Y5.js";
27
27
  import {
28
28
  daemonLog
29
29
  } from "./chunk-MRUIXQXS.js";
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-7VTFCHIT.js";
4
4
  import {
5
5
  run
6
- } from "./chunk-VIKP2CPB.js";
6
+ } from "./chunk-5WZOGIUM.js";
7
7
  import {
8
8
  isLockedByOther
9
9
  } from "./chunk-BXGPF3TG.js";
10
10
  import {
11
11
  isBlocked,
12
12
  typeLabel
13
- } from "./chunk-GCC3III2.js";
13
+ } from "./chunk-DLEUEJL4.js";
14
14
  import {
15
15
  loadBacklog
16
16
  } from "./chunk-JAQ236DW.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveReviewPhase
3
- } from "./chunk-YMENSLWI.js";
3
+ } from "./chunk-FAOVYBS3.js";
4
4
  import {
5
5
  resolvePlan
6
- } from "./chunk-3EPOPLVB.js";
6
+ } from "./chunk-BIHTVQ5N.js";
7
7
 
8
8
  // src/commands/backlog/resolveRewindPlan.ts
9
9
  function resolveRewindPlan(item) {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2F2IKQDM.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-BCBJMZGJ.js";
7
+ } from "./chunk-XLIFF7Y5.js";
8
8
  import {
9
9
  activeHarness
10
10
  } from "./chunk-DZBQRJLT.js";
@@ -381,6 +381,18 @@ function deriveSessionType(commandName, name) {
381
381
  return void 0;
382
382
  }
383
383
 
384
+ // src/commands/sessions/shared/deriveProject.ts
385
+ import * as path4 from "path";
386
+ function deriveProject(cwd, filePath, origin) {
387
+ if (!cwd) return dirNameToProject(filePath);
388
+ return origin === "windows" ? path4.win32.basename(cwd) : path4.basename(cwd);
389
+ }
390
+ function dirNameToProject(filePath) {
391
+ const dirName = path4.basename(path4.dirname(filePath));
392
+ const parts = dirName.split("--");
393
+ return parts[parts.length - 1].replace(/-/g, "/");
394
+ }
395
+
384
396
  // src/commands/sessions/shared/backlogRunMarkers.ts
385
397
  function backlogRunMarkers(text) {
386
398
  const match = text.match(/backlog item a(\d+):[ \t]*([^\n]*)/);
@@ -392,8 +404,31 @@ function backlogRunMarkers(text) {
392
404
  };
393
405
  }
394
406
 
407
+ // src/commands/sessions/shared/parseFirstUserEntry.ts
408
+ function parseFirstUserEntry(entry) {
409
+ const raw = messageText(entry);
410
+ const commandName = matchMarker(raw, "command-name").replace(/^\//, "");
411
+ const commandArgs = matchMarker(raw, "command-args");
412
+ const name = stripMarkers(raw);
413
+ if (commandName) return { name, commandName, commandArgs };
414
+ return { name, ...backlogRunMarkers(raw) };
415
+ }
416
+ function messageText(entry) {
417
+ const msg = entry.message;
418
+ const content = msg?.content;
419
+ return typeof content === "string" ? content : Array.isArray(content) ? content.find((c) => c.type === "text")?.text ?? "" : "";
420
+ }
421
+ function matchMarker(text, tag) {
422
+ const match = text.match(new RegExp(`<${tag}>([\\s\\S]*?)</${tag}>`));
423
+ return match ? match[1].trim() : "";
424
+ }
425
+ function stripMarkers(text) {
426
+ return text.replace(/<command-[^>]*>[^<]*<\/command-[^>]*>/g, "").trim().slice(0, 80);
427
+ }
428
+
395
429
  // src/commands/sessions/shared/extractSessionMeta.ts
396
430
  function extractSessionMeta(lines) {
431
+ let reachedFirstPrompt = false;
397
432
  let sessionId = "";
398
433
  let cwd = "";
399
434
  let timestamp = "";
@@ -408,18 +443,19 @@ function extractSessionMeta(lines) {
408
443
  cwd ||= strField(entry, "cwd");
409
444
  if (entry.type === "user" && !entry.isMeta) {
410
445
  ({ name, commandName, commandArgs } = parseFirstUserEntry(entry));
446
+ reachedFirstPrompt = true;
411
447
  break;
412
448
  }
413
449
  }
414
- return { sessionId, cwd, timestamp, name, commandName, commandArgs };
415
- }
416
- function parseFirstUserEntry(entry) {
417
- const raw = messageText(entry);
418
- const commandName = matchMarker(raw, "command-name").replace(/^\//, "");
419
- const commandArgs = matchMarker(raw, "command-args");
420
- const name = stripMarkers(raw);
421
- if (commandName) return { name, commandName, commandArgs };
422
- return { name, ...backlogRunMarkers(raw) };
450
+ return {
451
+ sessionId,
452
+ cwd,
453
+ timestamp,
454
+ name,
455
+ commandName,
456
+ commandArgs,
457
+ reachedFirstPrompt
458
+ };
423
459
  }
424
460
  function strField(entry, key) {
425
461
  const value = entry[key];
@@ -432,29 +468,20 @@ function safeParse(line) {
432
468
  return null;
433
469
  }
434
470
  }
435
- function messageText(entry) {
436
- const msg = entry.message;
437
- const content = msg?.content;
438
- return typeof content === "string" ? content : Array.isArray(content) ? content.find((c) => c.type === "text")?.text ?? "" : "";
439
- }
440
- function stripMarkers(text) {
441
- return text.replace(/<command-[^>]*>[^<]*<\/command-[^>]*>/g, "").trim().slice(0, 80);
442
- }
443
- function matchMarker(text, tag) {
444
- const match = text.match(new RegExp(`<${tag}>([\\s\\S]*?)</${tag}>`));
445
- return match ? match[1].trim() : "";
446
- }
447
471
 
448
- // src/commands/sessions/shared/deriveProject.ts
449
- import * as path4 from "path";
450
- function deriveProject(cwd, filePath, origin) {
451
- if (!cwd) return dirNameToProject(filePath);
452
- return origin === "windows" ? path4.win32.basename(cwd) : path4.basename(cwd);
453
- }
454
- function dirNameToProject(filePath) {
455
- const dirName = path4.basename(path4.dirname(filePath));
456
- const parts = dirName.split("--");
457
- return parts[parts.length - 1].replace(/-/g, "/");
472
+ // src/commands/sessions/shared/readSessionMeta.ts
473
+ var GROWING_HEAD_SIZES = [16384, 262144, 2097152];
474
+ async function readSessionMeta(handle) {
475
+ let meta = extractSessionMeta([]);
476
+ for (const size of GROWING_HEAD_SIZES) {
477
+ const buf = Buffer.alloc(size);
478
+ const { bytesRead } = await handle.read(buf, 0, size, 0);
479
+ meta = extractSessionMeta(
480
+ buf.toString("utf8", 0, bytesRead).split("\n").filter(Boolean)
481
+ );
482
+ if (bytesRead < size || meta.reachedFirstPrompt) break;
483
+ }
484
+ return meta;
458
485
  }
459
486
 
460
487
  // src/commands/sessions/shared/parseSessionFile.ts
@@ -462,7 +489,7 @@ async function parseSessionFile(filePath, origin = "wsl") {
462
489
  let handle;
463
490
  try {
464
491
  handle = await fs2.promises.open(filePath, "r");
465
- const meta = extractSessionMeta(await readHeadLines(handle));
492
+ const meta = await readSessionMeta(handle);
466
493
  if (!meta.sessionId) return null;
467
494
  const lastActivity = (await fs2.promises.stat(filePath)).mtime.toISOString();
468
495
  return {
@@ -481,11 +508,6 @@ async function parseSessionFile(filePath, origin = "wsl") {
481
508
  await handle?.close();
482
509
  }
483
510
  }
484
- async function readHeadLines(handle) {
485
- const buf = Buffer.alloc(16384);
486
- const { bytesRead } = await handle.read(buf, 0, buf.length, 0);
487
- return buf.toString("utf8", 0, bytesRead).split("\n").filter(Boolean);
488
- }
489
511
 
490
512
  // src/commands/sessions/shared/discoverSessionJsonlPaths.ts
491
513
  import * as fs3 from "fs";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IXBA6TVF.js";
10
10
  import {
11
11
  previewAnswerWaitBlocker
12
- } from "./chunk-K6FSJTVW.js";
12
+ } from "./chunk-XAYI77WW.js";
13
13
  import {
14
14
  askQuestionEnabled
15
15
  } from "./chunk-IBPSXDUB.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  launchMode
3
- } from "./chunk-NEC6OVBH.js";
3
+ } from "./chunk-5FJGB5JB.js";
4
4
  import {
5
5
  typeLabel
6
- } from "./chunk-GCC3III2.js";
6
+ } from "./chunk-DLEUEJL4.js";
7
7
  import {
8
8
  loadBacklogSummaries
9
9
  } from "./chunk-5B6YWHDU.js";