@staff0rd/assist 0.1209.3 → 0.1209.5

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 (89) hide show
  1. package/dist/.build-files +81 -81
  2. package/dist/{addActivity-5IHLW3KR.js → addActivity-PDO5KWZA.js} +2 -2
  3. package/dist/{addPhase-JXBPPYPV.js → addPhase-QJ4EUOJ2.js} +3 -3
  4. package/dist/{advise-HUXIBI55.js → advise-MFRZPEBP.js} +3 -3
  5. package/dist/{askCheck-OMZWZSDG.js → askCheck-UFSTPL2F.js} +7 -7
  6. package/dist/{askDesign-TRYOU2SS.js → askDesign-B3GWVSJW.js} +1 -1
  7. package/dist/{branch-Q7JEBAC7.js → branch-N54ETX7O.js} +3 -3
  8. package/dist/built-version +1 -1
  9. package/dist/{chunk-UAWWRUGI.js → chunk-3BQY2BB3.js} +3 -3
  10. package/dist/{chunk-ZURNWOPO.js → chunk-3NFBT54A.js} +3 -3
  11. package/dist/{chunk-BHTANDDT.js → chunk-4OI3MO2E.js} +2 -2
  12. package/dist/{chunk-KJJ7YKVO.js → chunk-6NVMCRWX.js} +1 -1
  13. package/dist/{chunk-43IGLMHV.js → chunk-ADVZCKAQ.js} +2 -2
  14. package/dist/{chunk-SLGI4CQU.js → chunk-AELKMRJ2.js} +1 -1
  15. package/dist/{chunk-TMQAAHWF.js → chunk-ATTQ7RTL.js} +1 -1
  16. package/dist/{chunk-4O5U7L7U.js → chunk-BCEGK4J7.js} +1 -1
  17. package/dist/{chunk-MZKLPZKK.js → chunk-BM4Z6OHN.js} +1 -1
  18. package/dist/{chunk-SZULEAYN.js → chunk-BVIXB6R4.js} +6 -6
  19. package/dist/{chunk-EASPTQRO.js → chunk-DC422SHC.js} +1 -1
  20. package/dist/{chunk-WLDMTEUA.js → chunk-DEPD3YLZ.js} +1 -1
  21. package/dist/{chunk-SOH32G6H.js → chunk-E3SZU72J.js} +7 -7
  22. package/dist/{chunk-X36UHTHQ.js → chunk-ELTAE6DJ.js} +1 -1
  23. package/dist/{chunk-NOQLH7BX.js → chunk-HXNHUANF.js} +2 -2
  24. package/dist/{chunk-Y3UHDNJW.js → chunk-JS2TUKUQ.js} +1 -1
  25. package/dist/{chunk-FZTOGLVO.js → chunk-K6JMJP23.js} +1 -1
  26. package/dist/{chunk-JEVOLDCO.js → chunk-LOG5JPDP.js} +1 -1
  27. package/dist/{chunk-6FPD4ZYO.js → chunk-M4EYLVOW.js} +1 -1
  28. package/dist/{chunk-2BVGGWKK.js → chunk-MJBGZSNX.js} +1 -1
  29. package/dist/{chunk-63VKYYWY.js → chunk-MVYEA4KI.js} +2 -2
  30. package/dist/{chunk-EOKDV2RK.js → chunk-MWMTH6HC.js} +1 -1
  31. package/dist/{chunk-FBET6XZJ.js → chunk-NFLJ3TZU.js} +1 -1
  32. package/dist/{chunk-O3I2QM4N.js → chunk-NFWEQISV.js} +1 -1
  33. package/dist/{chunk-F2YATAJO.js → chunk-NH24AS5R.js} +1 -1
  34. package/dist/{chunk-KBBQZHB7.js → chunk-OEHIRKSP.js} +2 -2
  35. package/dist/{chunk-NRE6OSLF.js → chunk-OIBRPG5W.js} +1 -1
  36. package/dist/{chunk-75LGZZJQ.js → chunk-PDPUVWVU.js} +5 -5
  37. package/dist/{chunk-LNJ43CGE.js → chunk-PJFHSU42.js} +1 -1
  38. package/dist/{chunk-JAX3ZTVZ.js → chunk-T6SWB24V.js} +1 -1
  39. package/dist/{chunk-NYOM4RXV.js → chunk-TJ35IKIS.js} +2 -2
  40. package/dist/{chunk-MSA3HS76.js → chunk-VX4I7SQT.js} +1 -1
  41. package/dist/{chunk-YSDL24KB.js → chunk-WZLJFB5Q.js} +1 -1
  42. package/dist/{chunk-WKJVRS52.js → chunk-X5SZS5NP.js} +48 -5
  43. package/dist/{chunk-3IVYCFSV.js → chunk-XFYD5XVJ.js} +1 -1
  44. package/dist/{chunk-2D5S5C5U.js → chunk-XMTJQC7W.js} +1 -1
  45. package/dist/{chunk-KK7ERD2F.js → chunk-XSC3PDJD.js} +1 -1
  46. package/dist/{chunk-GCGTU243.js → chunk-Z5JFM4GG.js} +1 -1
  47. package/dist/{cliHook-TFW5ZDYZ.js → cliHook-DAFDHDHA.js} +6 -6
  48. package/dist/{cliHookCheck-AUT6GUYH.js → cliHookCheck-CAXGEK6G.js} +2 -2
  49. package/dist/{codexHook-PYY2EMXP.js → codexHook-AASZZNAC.js} +8 -8
  50. package/dist/commands/extension/extension/content.js +1 -1
  51. package/dist/commands/extension/extension/docs.js +1 -1
  52. package/dist/commands/extension/extension/updates.json +2 -2
  53. package/dist/commands/sessions/web/bundle.js +4 -4
  54. package/dist/{commit-33YZP6VE.js → commit-H66ZQSLH.js} +4 -4
  55. package/dist/{doctorNodes-QJLRSG7H.js → doctorNodes-PIGABCNU.js} +3 -3
  56. package/dist/{done-KZKKSQXC.js → done-RTQS6CYV.js} +4 -4
  57. package/dist/{editHook-UGXNFLCH.js → editHook-P6JP6SN4.js} +6 -6
  58. package/dist/{fixConflict-EX5SIA6O.js → fixConflict-4VWJ5TY7.js} +4 -4
  59. package/dist/index.js +50 -50
  60. package/dist/{launchMode-VV5DDU2M.js → launchMode-DSRR5IRK.js} +14 -14
  61. package/dist/{list-SCNL3A7T.js → list-5SRNIOV3.js} +5 -5
  62. package/dist/{migrate-JSLFH6LB.js → migrate-ZM52NOYO.js} +3 -3
  63. package/dist/{next-W43PVMK2.js → next-OQIFLHEZ.js} +13 -13
  64. package/dist/{phaseDone-42B6CYW4.js → phaseDone-3BXCLZXC.js} +5 -5
  65. package/dist/{piHook-PEXKZLN4.js → piHook-DHXTOUJL.js} +6 -6
  66. package/dist/{propose-H7N33CFG.js → propose-SMKCRWDT.js} +4 -4
  67. package/dist/{refine-67IZGFAO.js → refine-OJ2OJCWJ.js} +15 -15
  68. package/dist/{restartNode-JA2OWBE2.js → restartNode-CZMC3M5O.js} +5 -5
  69. package/dist/{review-LAI3HYZ2.js → review-FK2TMTG7.js} +4 -4
  70. package/dist/{reviewPrComments-LR4MO6LJ.js → reviewPrComments-P33SVV36.js} +4 -4
  71. package/dist/{rewindPhase-LSFFUGR2.js → rewindPhase-DM3SGOSK.js} +8 -8
  72. package/dist/{run-DUAEQTRF.js → run-SIFRC7Q4.js} +11 -11
  73. package/dist/{run-5M5QUC7S.js → run-YGUUHGW6.js} +11 -11
  74. package/dist/{runDaemon-POZIE4AO.js → runDaemon-I3Y6IMKJ.js} +14 -14
  75. package/dist/{runParallelPhase-ZP7N2XEJ.js → runParallelPhase-ZEFILMOM.js} +7 -7
  76. package/dist/{runRefine-5HVKUKA4.js → runRefine-55GRWGZ5.js} +15 -15
  77. package/dist/{scan-UTNFATYU.js → scan-TASFSRN3.js} +2 -2
  78. package/dist/{schemaConfirm-K2EJIPE4.js → schemaConfirm-AEZMI2PG.js} +2 -2
  79. package/dist/{schemaLock-HCB5V4SW.js → schemaLock-65SMZQGT.js} +2 -2
  80. package/dist/{schemaUnlock-NWH4GYV6.js → schemaUnlock-WLOJPMWH.js} +2 -2
  81. package/dist/{search-B2DQWEVH.js → search-FNJG3KIW.js} +5 -5
  82. package/dist/{show-KFFI273N.js → show-IWQBSGOF.js} +3 -3
  83. package/dist/{show-H2RAF2FM.js → show-ZLMZPY4O.js} +3 -3
  84. package/dist/{signExtension-BDBFI4HU.js → signExtension-A7R2X7ON.js} +1 -1
  85. package/dist/{updateNode-K64TS2FD.js → updateNode-3JMHE3Z5.js} +5 -5
  86. package/dist/{updatePlan-QZTJ754L.js → updatePlan-IVHEZOVI.js} +4 -4
  87. package/dist/{web-ISTKB77Q.js → web-VYCWLMCR.js} +16 -16
  88. package/dist/{web-H3W2QKBX.js → web-ZU6MOKAJ.js} +16 -16
  89. package/package.json +1 -1
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  checkoutPr
3
- } from "./chunk-2D5S5C5U.js";
3
+ } from "./chunk-XMTJQC7W.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-WKJVRS52.js";
22
+ } from "./chunk-X5SZS5NP.js";
23
23
 
24
24
  // src/commands/launchPrSkill.ts
25
25
  import chalk from "chalk";
@@ -19,7 +19,7 @@ import {
19
19
  emptyScanUsage,
20
20
  harnessAdapter,
21
21
  scanUsageTokens
22
- } from "./chunk-WKJVRS52.js";
22
+ } from "./chunk-X5SZS5NP.js";
23
23
  import {
24
24
  inboxFeature
25
25
  } from "./chunk-LKZ7J5AK.js";
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-MUHZ22VQ.js";
4
4
  import {
5
5
  run
6
- } from "./chunk-SZULEAYN.js";
6
+ } from "./chunk-BVIXB6R4.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-Y3UHDNJW.js";
13
+ } from "./chunk-JS2TUKUQ.js";
14
14
  import {
15
15
  loadBacklog
16
16
  } from "./chunk-JAQ236DW.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2F2IKQDM.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-WKJVRS52.js";
7
+ } from "./chunk-X5SZS5NP.js";
8
8
  import {
9
9
  isCodex
10
10
  } from "./chunk-D7UZLH36.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-N65VOEFI.js";
7
7
  import {
8
8
  previewAnswerWaitBlocker
9
- } from "./chunk-JEVOLDCO.js";
9
+ } from "./chunk-LOG5JPDP.js";
10
10
  import {
11
11
  askQuestionEnabled
12
12
  } from "./chunk-IBPSXDUB.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-ZSIEDJSS.js";
4
4
  import {
5
5
  package_default
6
- } from "./chunk-3IVYCFSV.js";
6
+ } from "./chunk-XFYD5XVJ.js";
7
7
  import {
8
8
  loadConfig
9
9
  } from "./chunk-TL6KJYLM.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  OneShotUnavailableError,
3
3
  runOneShotPrompt
4
- } from "./chunk-SLGI4CQU.js";
4
+ } from "./chunk-AELKMRJ2.js";
5
5
  import {
6
6
  withSpinner
7
7
  } from "./chunk-OZNYQOQK.js";
@@ -18,16 +18,16 @@ import {
18
18
  import {
19
19
  createBranch,
20
20
  generateBranchSlug
21
- } from "./chunk-MZKLPZKK.js";
21
+ } from "./chunk-BM4Z6OHN.js";
22
22
  import {
23
23
  inWebSession
24
24
  } from "./chunk-HKGCLAZ7.js";
25
25
  import {
26
26
  executePhase
27
- } from "./chunk-ZURNWOPO.js";
27
+ } from "./chunk-3NFBT54A.js";
28
28
  import {
29
29
  backlogPhaseActivity
30
- } from "./chunk-MSA3HS76.js";
30
+ } from "./chunk-VX4I7SQT.js";
31
31
  import {
32
32
  awaitHarness
33
33
  } from "./chunk-ZYK7V4PG.js";
@@ -59,10 +59,10 @@ import {
59
59
  import {
60
60
  buildReviewPhase,
61
61
  resolveReviewPhase
62
- } from "./chunk-FZTOGLVO.js";
62
+ } from "./chunk-K6JMJP23.js";
63
63
  import {
64
64
  resolvePlan
65
- } from "./chunk-JAX3ZTVZ.js";
65
+ } from "./chunk-T6SWB24V.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-WKJVRS52.js";
89
+ } from "./chunk-X5SZS5NP.js";
90
90
  import {
91
91
  buildFeature
92
92
  } from "./chunk-LKZ7J5AK.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-IXBA6TVF.js";
10
10
  import {
11
11
  previewAnswerWaitBlocker
12
- } from "./chunk-JEVOLDCO.js";
12
+ } from "./chunk-LOG5JPDP.js";
13
13
  import {
14
14
  askQuestionEnabled
15
15
  } from "./chunk-IBPSXDUB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  hasOpenPhaseUnlock
3
- } from "./chunk-F2YATAJO.js";
3
+ } from "./chunk-NH24AS5R.js";
4
4
  import {
5
5
  resolveSessionItemId
6
6
  } from "./chunk-FPWL4VRC.js";
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-JM57BCD6.js";
11
11
  import {
12
12
  firstBrokenHop
13
- } from "./chunk-LNJ43CGE.js";
13
+ } from "./chunk-PJFHSU42.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-KK7ERD2F.js";
42
+ } from "./chunk-XSC3PDJD.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-4O5U7L7U.js";
50
+ } from "./chunk-BCEGK4J7.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-NYOM4RXV.js";
87
+ } from "./chunk-TJ35IKIS.js";
88
88
  import {
89
89
  configEntryLayers,
90
90
  ghFailure,
@@ -245,7 +245,7 @@ import {
245
245
  } from "./chunk-AJOU43WT.js";
246
246
  import {
247
247
  rewindItemToPhase
248
- } from "./chunk-NOQLH7BX.js";
248
+ } from "./chunk-HXNHUANF.js";
249
249
  import {
250
250
  loadItemSummaries,
251
251
  phaseUsageTotals,
@@ -268,7 +268,7 @@ import {
268
268
  } from "./chunk-W2UW25ZA.js";
269
269
  import {
270
270
  resolveRewindPlan
271
- } from "./chunk-KBBQZHB7.js";
271
+ } from "./chunk-OEHIRKSP.js";
272
272
  import {
273
273
  deleteItem,
274
274
  getOrigin,
@@ -317,7 +317,7 @@ import {
317
317
  discoverSessionJsonlPaths,
318
318
  harnessAdapter,
319
319
  parseSessionFile
320
- } from "./chunk-WKJVRS52.js";
320
+ } from "./chunk-X5SZS5NP.js";
321
321
  import {
322
322
  harnessLabel
323
323
  } from "./chunk-XZSATLYY.js";
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-FPWL4VRC.js";
7
7
  import {
8
8
  harnessAdapter
9
- } from "./chunk-WKJVRS52.js";
9
+ } from "./chunk-X5SZS5NP.js";
10
10
  import {
11
11
  legacyDefaultHarness
12
12
  } from "./chunk-XZSATLYY.js";
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-DM2P6BNS.js";
7
7
  import {
8
8
  resolveRewindPlan
9
- } from "./chunk-KBBQZHB7.js";
9
+ } from "./chunk-OEHIRKSP.js";
10
10
  import {
11
11
  resolvePlan
12
- } from "./chunk-JAX3ZTVZ.js";
12
+ } from "./chunk-T6SWB24V.js";
13
13
  import {
14
14
  resetPhaseAndDependents,
15
15
  updateStatus
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-O3I2QM4N.js";
3
+ } from "./chunk-NFWEQISV.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
  REVIEW_PHASE_NAME
3
- } from "./chunk-TMQAAHWF.js";
3
+ } from "./chunk-ATTQ7RTL.js";
4
4
 
5
5
  // src/commands/backlog/buildReviewPhase.ts
6
6
  function buildReviewPhase() {
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-2F2IKQDM.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-WKJVRS52.js";
7
+ } from "./chunk-X5SZS5NP.js";
8
8
  import {
9
9
  activeHarness
10
10
  } from "./chunk-DZBQRJLT.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  firstBrokenHop
3
- } from "./chunk-LNJ43CGE.js";
3
+ } from "./chunk-PJFHSU42.js";
4
4
  import {
5
5
  describePeerError
6
6
  } from "./chunk-VABNWHSE.js";
@@ -4,7 +4,7 @@ import {
4
4
  } from "./chunk-VDXS55BC.js";
5
5
  import {
6
6
  harnessAdapter
7
- } from "./chunk-WKJVRS52.js";
7
+ } from "./chunk-X5SZS5NP.js";
8
8
  import {
9
9
  activeHarness
10
10
  } from "./chunk-DZBQRJLT.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  launchMode
3
- } from "./chunk-75LGZZJQ.js";
3
+ } from "./chunk-PDPUVWVU.js";
4
4
  import {
5
5
  typeLabel
6
- } from "./chunk-Y3UHDNJW.js";
6
+ } from "./chunk-JS2TUKUQ.js";
7
7
  import {
8
8
  loadBacklogSummaries
9
9
  } from "./chunk-5B6YWHDU.js";
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-F4XCHVD7.js";
10
10
  import {
11
11
  REVIEW_PHASE_NAME
12
- } from "./chunk-TMQAAHWF.js";
12
+ } from "./chunk-ATTQ7RTL.js";
13
13
  import {
14
14
  serializeManualChecks
15
15
  } from "./chunk-QNVYNVAM.js";
@@ -27,7 +27,7 @@ import {
27
27
  } from "./chunk-LKDW2GWH.js";
28
28
  import {
29
29
  loginShellCommand
30
- } from "./chunk-WKJVRS52.js";
30
+ } from "./chunk-X5SZS5NP.js";
31
31
  import {
32
32
  daemonLog
33
33
  } from "./chunk-MRUIXQXS.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-TMQAAHWF.js";
3
+ } from "./chunk-ATTQ7RTL.js";
4
4
 
5
5
  // src/commands/backlog/authoredPhases.ts
6
6
  function authoredPhases(plan) {
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  currentExecutionIdentity,
6
6
  getSchemaSessionApprovalPath
7
- } from "./chunk-X36UHTHQ.js";
7
+ } from "./chunk-ELTAE6DJ.js";
8
8
  import {
9
9
  closeDb,
10
10
  getDb,
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  resolveReviewPhase
3
- } from "./chunk-FZTOGLVO.js";
3
+ } from "./chunk-K6JMJP23.js";
4
4
  import {
5
5
  resolvePlan
6
- } from "./chunk-JAX3ZTVZ.js";
6
+ } from "./chunk-T6SWB24V.js";
7
7
 
8
8
  // src/commands/backlog/resolveRewindPlan.ts
9
9
  function resolveRewindPlan(item) {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  harnessAdapter,
3
3
  parseRolloutEntry
4
- } from "./chunk-WKJVRS52.js";
4
+ } from "./chunk-X5SZS5NP.js";
5
5
  import {
6
6
  resolveCapability
7
7
  } from "./chunk-4QXA7WWO.js";
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  next
3
- } from "./chunk-43IGLMHV.js";
3
+ } from "./chunk-ADVZCKAQ.js";
4
4
  import {
5
5
  pullIfConfigured
6
6
  } from "./chunk-MUHZ22VQ.js";
7
7
  import {
8
8
  run
9
- } from "./chunk-SZULEAYN.js";
9
+ } from "./chunk-BVIXB6R4.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-ZURNWOPO.js";
18
+ } from "./chunk-3NFBT54A.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-Y3UHDNJW.js";
34
+ } from "./chunk-JS2TUKUQ.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-WKJVRS52.js";
52
+ } from "./chunk-X5SZS5NP.js";
53
53
 
54
54
  // src/commands/backlog/launchMode.ts
55
55
  import chalk3 from "chalk";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildDoctorProbes,
3
3
  diagnoseLink
4
- } from "./chunk-YSDL24KB.js";
4
+ } from "./chunk-WZLJFB5Q.js";
5
5
  import {
6
6
  findLinkSpec
7
7
  } from "./chunk-HPBO553P.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-O3I2QM4N.js";
3
+ } from "./chunk-NFWEQISV.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-GCGTU243.js";
3
+ } from "./chunk-Z5JFM4GG.js";
4
4
  import {
5
5
  harnessAdapter,
6
6
  readTranscriptTail
7
- } from "./chunk-WKJVRS52.js";
7
+ } from "./chunk-X5SZS5NP.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
  REVIEW_PHASE_NAME
3
- } from "./chunk-TMQAAHWF.js";
3
+ } from "./chunk-ATTQ7RTL.js";
4
4
  import {
5
5
  phaseSessions
6
6
  } from "./chunk-A45XXOEA.js";
@@ -14,7 +14,7 @@ import {
14
14
  isHello,
15
15
  linkVersionCheck,
16
16
  negotiateProtocol
17
- } from "./chunk-4O5U7L7U.js";
17
+ } from "./chunk-BCEGK4J7.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -1438,6 +1438,46 @@ function claudeToolResults(content) {
1438
1438
  }));
1439
1439
  }
1440
1440
 
1441
+ // src/shared/harnessAdapters/missingConnectorToolsError.ts
1442
+ function stringList(value) {
1443
+ return Array.isArray(value) ? value.filter((item) => typeof item === "string") : [];
1444
+ }
1445
+ function describeServers(value) {
1446
+ if (!Array.isArray(value) || value.length === 0) return "none";
1447
+ return value.map(
1448
+ (server) => server?.status ? `${server.name} (${server.status})` : `${server?.name}`
1449
+ ).join(", ");
1450
+ }
1451
+ function connectorName(native) {
1452
+ return native.match(/^mcp__claude_ai_([^_]+)__/)?.[1] ?? native;
1453
+ }
1454
+ function missingConnectorToolsError(requested, init) {
1455
+ const available = new Set(stringList(init.tools));
1456
+ const missing = requested.map(claudeConnectorTools.native).filter((native) => !available.has(native));
1457
+ if (missing.length === 0) return void 0;
1458
+ const connectors = [...new Set(missing.map(connectorName))];
1459
+ return new Error(
1460
+ `claude.ai ${connectors.join(" and ")} connector${connectors.length > 1 ? "s" : ""} unavailable to the claude run: missing ${missing.map(claudeConnectorTools.label).join(", ")}. MCP servers at start: ${describeServers(init.mcpServers)}`
1461
+ );
1462
+ }
1463
+
1464
+ // src/shared/harnessAdapters/createClaudeInitCheck.ts
1465
+ function createClaudeInitCheck(tools, onEvent) {
1466
+ let init;
1467
+ return {
1468
+ onSystem(event) {
1469
+ if (event.subtype === "init" && Array.isArray(event.tools))
1470
+ init = { tools: event.tools, mcpServers: event.mcp_servers };
1471
+ if (typeof event.model === "string")
1472
+ onEvent({ type: "model", model: event.model });
1473
+ },
1474
+ assertToolsPresent() {
1475
+ const missing = init && missingConnectorToolsError(tools, init);
1476
+ if (missing) throw missing;
1477
+ }
1478
+ };
1479
+ }
1480
+
1441
1481
  // src/commands/review/parseTokenUsage.ts
1442
1482
  function count(value) {
1443
1483
  return typeof value === "number" ? value : 0;
@@ -1524,9 +1564,10 @@ function parseScanStreamLine(line) {
1524
1564
  }
1525
1565
 
1526
1566
  // src/shared/harnessAdapters/createClaudeConnectorStream.ts
1527
- function createClaudeConnectorStream(onEvent) {
1567
+ function createClaudeConnectorStream(onEvent, tools) {
1528
1568
  const usage = createScanUsageTracker();
1529
1569
  let result;
1570
+ const initCheck = createClaudeInitCheck(tools, onEvent);
1530
1571
  const emitUsage = () => onEvent({ type: "usage", usage: usage.current() });
1531
1572
  const onAssistant = (message2) => {
1532
1573
  const counted = usage.addTurn(message2.id, message2.usage);
@@ -1539,8 +1580,7 @@ function createClaudeConnectorStream(onEvent) {
1539
1580
  return {
1540
1581
  onLine(line) {
1541
1582
  const event = parseScanStreamLine(line);
1542
- if (event?.type === "system" && typeof event.model === "string")
1543
- onEvent({ type: "model", model: event.model });
1583
+ if (event?.type === "system") initCheck.onSystem(event);
1544
1584
  else if (event?.type === "assistant") onAssistant(event.message ?? {});
1545
1585
  else if (event?.type === "user")
1546
1586
  claudeToolResults(event.message?.content).forEach(onEvent);
@@ -1550,7 +1590,10 @@ function createClaudeConnectorStream(onEvent) {
1550
1590
  emitUsage();
1551
1591
  }
1552
1592
  },
1553
- finish: (failure) => claudeConnectorResult(result, failure, usage.current())
1593
+ finish(failure) {
1594
+ initCheck.assertToolsPresent();
1595
+ return claudeConnectorResult(result, failure, usage.current());
1596
+ }
1554
1597
  };
1555
1598
  }
1556
1599
 
@@ -1564,7 +1607,7 @@ async function claudeConnectorRun(run) {
1564
1607
  windowsHide: true,
1565
1608
  timeout: run.timeoutMs
1566
1609
  });
1567
- const stream = createClaudeConnectorStream(run.onEvent);
1610
+ const stream = createClaudeConnectorStream(run.onEvent, run.tools);
1568
1611
  const flush = attachLineParser(child, stream.onLine);
1569
1612
  const stderr = attachStderrCollector(child);
1570
1613
  const exit = await new Promise((resolve, reject) => {
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@staff0rd/assist",
4
- version: "0.1209.3",
4
+ version: "0.1209.5",
5
5
  type: "module",
6
6
  main: "dist/index.js",
7
7
  bin: {
@@ -5,7 +5,7 @@ import {
5
5
  runInstall,
6
6
  seedWorktree,
7
7
  worktreeWithBranch
8
- } from "./chunk-FBET6XZJ.js";
8
+ } from "./chunk-NFLJ3TZU.js";
9
9
  import {
10
10
  loadPersistedSessions
11
11
  } from "./chunk-2GTVP7JI.js";
@@ -16,7 +16,7 @@ import {
16
16
  codexRolloutMeta,
17
17
  deriveHistoryFields,
18
18
  readCodexHeadLines
19
- } from "./chunk-WKJVRS52.js";
19
+ } from "./chunk-X5SZS5NP.js";
20
20
  import {
21
21
  resolveHarness
22
22
  } from "./chunk-XZSATLYY.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  harnessAdapter
3
- } from "./chunk-WKJVRS52.js";
3
+ } from "./chunk-X5SZS5NP.js";
4
4
  import {
5
5
  resolveCapability
6
6
  } from "./chunk-4QXA7WWO.js";
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  decideToolOperations,
3
3
  logPolicyDeny
4
- } from "./chunk-UAWWRUGI.js";
4
+ } from "./chunk-3BQY2BB3.js";
5
5
  import "./chunk-CDU6M5IX.js";
6
- import "./chunk-WLDMTEUA.js";
7
- import "./chunk-F2YATAJO.js";
6
+ import "./chunk-DEPD3YLZ.js";
7
+ import "./chunk-NH24AS5R.js";
8
8
  import "./chunk-ZN4PSZSA.js";
9
9
  import {
10
10
  currentExecutionIdentity
11
- } from "./chunk-X36UHTHQ.js";
11
+ } from "./chunk-ELTAE6DJ.js";
12
12
  import "./chunk-ZMH7UZNP.js";
13
- import "./chunk-2BVGGWKK.js";
13
+ import "./chunk-MJBGZSNX.js";
14
14
  import "./chunk-VDXS55BC.js";
15
15
  import "./chunk-HKGCLAZ7.js";
16
16
  import "./chunk-FPWL4VRC.js";
@@ -28,7 +28,7 @@ import "./chunk-2HVXTV2K.js";
28
28
  import "./chunk-AC5H7ZZJ.js";
29
29
  import {
30
30
  claudeAdapter
31
- } from "./chunk-WKJVRS52.js";
31
+ } from "./chunk-X5SZS5NP.js";
32
32
  import "./chunk-MRUIXQXS.js";
33
33
  import "./chunk-NMFBCWVV.js";
34
34
  import "./chunk-PA3ILSLY.js";
@@ -5,9 +5,9 @@ import {
5
5
  findTruncatedReadDenyRaw,
6
6
  isApprovedRead,
7
7
  splitCompound
8
- } from "./chunk-2BVGGWKK.js";
8
+ } from "./chunk-MJBGZSNX.js";
9
9
  import "./chunk-VDXS55BC.js";
10
- import "./chunk-WKJVRS52.js";
10
+ import "./chunk-X5SZS5NP.js";
11
11
  import "./chunk-MRUIXQXS.js";
12
12
  import "./chunk-NMFBCWVV.js";
13
13
  import "./chunk-PA3ILSLY.js";