@staff0rd/assist 0.1212.0 → 0.1213.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 (138) hide show
  1. package/dist/.build-files +133 -133
  2. package/dist/{add-PWEDXHMT.js → add-EZJUAHEI.js} +3 -3
  3. package/dist/{addActivity-J24A3PUK.js → addActivity-JOGJJZE7.js} +6 -6
  4. package/dist/{addPhase-JL3NKJSC.js → addPhase-RCLTCRDF.js} +12 -12
  5. package/dist/{advise-UQJGSYAY.js → advise-AG7OMJ3R.js} +10 -10
  6. package/dist/{ask-OPUZZIE3.js → ask-W2ZNR75N.js} +7 -7
  7. package/dist/{askCheck-7BV7TOU4.js → askCheck-T3I6Q2EP.js} +15 -15
  8. package/dist/{askDesign-LX33IIVG.js → askDesign-KZ4WYWZU.js} +10 -10
  9. package/dist/{askQuestion-EM27OQSM.js → askQuestion-Y63IMF3R.js} +6 -6
  10. package/dist/{branch-6QP53MBP.js → branch-W5BHBLBB.js} +8 -8
  11. package/dist/built-version +1 -1
  12. package/dist/{check-ZXDNWKQX.js → check-4222IYZK.js} +3 -3
  13. package/dist/{chunk-3K47OPUC.js → chunk-2D3ZCQE3.js} +2 -5
  14. package/dist/{chunk-7RXWUGFS.js → chunk-2I3MMPKJ.js} +1 -1
  15. package/dist/{chunk-5GE3M3D3.js → chunk-2LE4KXEV.js} +2 -2
  16. package/dist/{chunk-EH536EOJ.js → chunk-335IJSZA.js} +3 -3
  17. package/dist/{chunk-HV4KTY5R.js → chunk-4FLN5D6W.js} +1 -1
  18. package/dist/{chunk-2GM4WZCU.js → chunk-66TQS45B.js} +1 -1
  19. package/dist/{chunk-IDDKZ2QX.js → chunk-7Z36ABH4.js} +1 -1
  20. package/dist/{chunk-SE5PMYLT.js → chunk-AREFKCN5.js} +3 -3
  21. package/dist/{chunk-QBMFBNEG.js → chunk-BL7W6YRK.js} +7 -7
  22. package/dist/{chunk-T6XYXQM3.js → chunk-CQDPHLI3.js} +1 -1
  23. package/dist/{chunk-W23SGDCN.js → chunk-CS3E3ARZ.js} +1 -1
  24. package/dist/{chunk-J7MXNBHI.js → chunk-CUGSML2B.js} +1 -1
  25. package/dist/{chunk-CBPF2T7Q.js → chunk-CZ62NUZV.js} +1 -1
  26. package/dist/{chunk-X7DJE2JP.js → chunk-DM7ZP7OH.js} +2 -2
  27. package/dist/{chunk-CV72PJ76.js → chunk-DN3DZ6H7.js} +11 -2
  28. package/dist/{chunk-L2XD557T.js → chunk-DVKW6CP4.js} +2 -2
  29. package/dist/{chunk-W356LY6D.js → chunk-EOOPPGMZ.js} +16 -0
  30. package/dist/{chunk-OHGJBYWE.js → chunk-F434P5UD.js} +2 -2
  31. package/dist/{chunk-FWXTQHO2.js → chunk-FTNVJRGH.js} +4 -4
  32. package/dist/{chunk-BGQTKLYD.js → chunk-FYFQQ565.js} +4 -4
  33. package/dist/{chunk-CEF7DU26.js → chunk-GRDBSI7H.js} +1 -1
  34. package/dist/{chunk-XESSK667.js → chunk-HA2J6TGK.js} +58 -29
  35. package/dist/{chunk-HZAT5QBJ.js → chunk-IIJ4AI4C.js} +7 -7
  36. package/dist/{chunk-WHLB5F6P.js → chunk-IKL7P6NP.js} +1 -1
  37. package/dist/{chunk-DZBQRJLT.js → chunk-K4DJEFDZ.js} +1 -1
  38. package/dist/{chunk-ON25VUQS.js → chunk-KJ3OKLBQ.js} +1 -1
  39. package/dist/{chunk-257YFQ4G.js → chunk-KQOUE3WV.js} +1 -1
  40. package/dist/{chunk-NW2JSDY6.js → chunk-KWMG4BPT.js} +1 -1
  41. package/dist/{chunk-3P6FAG5Z.js → chunk-L4DE4ZRV.js} +1 -1
  42. package/dist/{chunk-EVXNDO7B.js → chunk-LH6L7JLA.js} +1 -1
  43. package/dist/{chunk-B6F37LCP.js → chunk-MMEOHVBU.js} +4 -4
  44. package/dist/{chunk-ICQAYEFY.js → chunk-MV64NHCW.js} +2 -2
  45. package/dist/{chunk-J3A42OYC.js → chunk-OHDUK77O.js} +1 -1
  46. package/dist/{chunk-RLWSM5QM.js → chunk-OPGROK7P.js} +2 -2
  47. package/dist/{chunk-65DQSH6Y.js → chunk-PIONZPIS.js} +2 -2
  48. package/dist/{chunk-MKBRD6TF.js → chunk-PPJGEDUO.js} +4 -4
  49. package/dist/{chunk-2F2IKQDM.js → chunk-QBDPUOLA.js} +1 -1
  50. package/dist/{chunk-AXIXL47Y.js → chunk-RGITC6GP.js} +1 -1
  51. package/dist/{chunk-IXBA6TVF.js → chunk-RZRY47PA.js} +2 -2
  52. package/dist/{chunk-YC7WO4ET.js → chunk-S56CW6LZ.js} +1 -1
  53. package/dist/{chunk-YDQIXIRP.js → chunk-S65PQ4QX.js} +2 -2
  54. package/dist/{chunk-JI2GUUWM.js → chunk-SVLIH3AL.js} +1 -1
  55. package/dist/{chunk-O4PLJ67D.js → chunk-SVTEKYM2.js} +1 -1
  56. package/dist/{chunk-APWG3CPP.js → chunk-T54TTGXU.js} +1 -1
  57. package/dist/{chunk-4QXA7WWO.js → chunk-T56YZ5YH.js} +1 -1
  58. package/dist/{chunk-LWU6ITEL.js → chunk-TEPDPWTW.js} +2 -2
  59. package/dist/{chunk-LQMU4BUO.js → chunk-U3IQIWLI.js} +1 -1
  60. package/dist/{chunk-6MYNVHWM.js → chunk-UNIRIQVI.js} +1 -1
  61. package/dist/{chunk-KVQ4QMGJ.js → chunk-UNRY64ES.js} +1 -1
  62. package/dist/{chunk-EF33C7EX.js → chunk-UVCAGPRO.js} +1 -1
  63. package/dist/{chunk-SZLVP4T4.js → chunk-VDOZCOQS.js} +2 -2
  64. package/dist/{chunk-6CMLXDMS.js → chunk-VTXNOOK4.js} +1 -1
  65. package/dist/{chunk-JKHOKRLE.js → chunk-WP4VQMD6.js} +2 -2
  66. package/dist/{chunk-VUFTZGRE.js → chunk-WPBBSIPP.js} +1 -1
  67. package/dist/{chunk-5SDSC2UT.js → chunk-WVTWOSHZ.js} +1 -1
  68. package/dist/{chunk-SDB7VRGZ.js → chunk-XG3C3JSK.js} +1 -1
  69. package/dist/{chunk-NMFBCWVV.js → chunk-YLQAQHRT.js} +1 -1
  70. package/dist/{chunk-BZOFSMYK.js → chunk-Z3WDRMDL.js} +1 -1
  71. package/dist/{chunk-TFOO4EAJ.js → chunk-ZC6RX66V.js} +1 -1
  72. package/dist/{chunk-2KAACFP6.js → chunk-ZHUQP5EF.js} +1 -1
  73. package/dist/{cliHook-QA2GFD3X.js → cliHook-ZDPXVT7I.js} +12 -12
  74. package/dist/{cliHookCheck-3GRSZRWY.js → cliHookCheck-DZSIPFBE.js} +7 -7
  75. package/dist/{codeCommentSet-EC5LIQNV.js → codeCommentSet-FIUWG7EL.js} +4 -4
  76. package/dist/{codexHook-UC5JGTE4.js → codexHook-HM33YTU3.js} +15 -15
  77. package/dist/{codexHookTrust-WZ5AVWHI.js → codexHookTrust-X7A73HGN.js} +2 -2
  78. package/dist/commands/sessions/web/bundle.js +85 -85
  79. package/dist/{comment-NHJMRR4S.js → comment-4U4GN3YV.js} +8 -8
  80. package/dist/{commentIssue-DTZMXY2Y.js → commentIssue-DTP47M7V.js} +7 -7
  81. package/dist/{commit-YNA2EJJI.js → commit-AG5NQTPY.js} +9 -9
  82. package/dist/{createIssue-SNM7DFZD.js → createIssue-54DXD3CG.js} +6 -6
  83. package/dist/{docsUnlock-QBON2H3L.js → docsUnlock-Y7YBDC7H.js} +5 -5
  84. package/dist/{doctorNodes-DSFOQ4WP.js → doctorNodes-LSSTJG3K.js} +3 -3
  85. package/dist/{done-ZOYCIYHZ.js → done-4AYDCPAI.js} +10 -10
  86. package/dist/{edit-AYOQRDLF.js → edit-3DINUPSQ.js} +6 -6
  87. package/dist/{editHook-6GAAR5M3.js → editHook-B3YTUZFV.js} +12 -12
  88. package/dist/{editIssue-4YD6J2T7.js → editIssue-DPLFROHD.js} +6 -6
  89. package/dist/{editIssueComment-CFEPGXQ6.js → editIssueComment-53TOKGX2.js} +7 -7
  90. package/dist/{fixConflict-VNGDPCRR.js → fixConflict-QFWLEXN3.js} +11 -11
  91. package/dist/{harnessFollowUps-T7OGTHQF.js → harnessFollowUps-W7N2ORIC.js} +1 -1
  92. package/dist/index.js +89 -89
  93. package/dist/{launchMode-7LDWQ35U.js → launchMode-NRSERDKC.js} +22 -22
  94. package/dist/{lint-ASAE7NX6.js → lint-TDI6KZ7A.js} +3 -3
  95. package/dist/{list-VNMPJPYS.js → list-IC4D5TKK.js} +11 -11
  96. package/dist/{migrate-IJKXZCAF.js → migrate-EXFKHV3N.js} +8 -8
  97. package/dist/{newCli-4UWFVT3W.js → newCli-O3BXVIXV.js} +4 -4
  98. package/dist/{next-36PMOJBR.js → next-J2BFGFPI.js} +21 -21
  99. package/dist/{notify-D337HCKX.js → notify-4MIQCSWO.js} +3 -3
  100. package/dist/{permitCliReads-NULJQE3W.js → permitCliReads-R5HUCLTX.js} +3 -3
  101. package/dist/{phaseDone-FJXYEZDG.js → phaseDone-GPMNF6RZ.js} +11 -11
  102. package/dist/{piHook-QFDZJWJJ.js → piHook-R2KLLME5.js} +12 -12
  103. package/dist/{postSlackMessage-WF5MVNAI.js → postSlackMessage-CTTOGVI3.js} +7 -7
  104. package/dist/{printComments-OGLWJHRC.js → printComments-JEFLCMVX.js} +3 -3
  105. package/dist/{propose-DU2TW3TD.js → propose-SOEEJUW3.js} +13 -13
  106. package/dist/{raise-DIO73ZXW.js → raise-CFOYN7RZ.js} +6 -6
  107. package/dist/{refine-T5FDNYEM.js → refine-EC2USXGN.js} +23 -23
  108. package/dist/{reply-NWH43MYG.js → reply-WCDWD66S.js} +7 -7
  109. package/dist/{resolveHarness-Z6C4LH4B.js → resolveHarness-Q53GCTJE.js} +2 -2
  110. package/dist/{resolveModel-NJHWCN2G.js → resolveModel-G7GJGUAY.js} +2 -2
  111. package/dist/{restartNode-7GSDKNZS.js → restartNode-SX2VKO5N.js} +5 -5
  112. package/dist/{review-QHTHJU72.js → review-STB4WEZS.js} +17 -17
  113. package/dist/{reviewPrComments-JNBOGJ4F.js → reviewPrComments-I72GJXNK.js} +11 -11
  114. package/dist/{rewindPhase-RVQRUWBX.js → rewindPhase-RKATMLUZ.js} +14 -14
  115. package/dist/{rulesAdd-S5UCL6JD.js → rulesAdd-XYXGF5SQ.js} +7 -7
  116. package/dist/{run-V3TNDPDS.js → run-ITDRO7K5.js} +19 -19
  117. package/dist/{run-MS2PKO4R.js → run-SZ6GHWER.js} +19 -19
  118. package/dist/{runDaemon-NL3C4A3H.js → runDaemon-7XB44V6Z.js} +25 -31
  119. package/dist/{runExtract-56HKDZWD.js → runExtract-PTONY7UJ.js} +6 -6
  120. package/dist/{runParallelPhase-EKM4GLK7.js → runParallelPhase-YLJPYQOM.js} +14 -14
  121. package/dist/{runRefine-CU3PMW3K.js → runRefine-E3ZLJYXJ.js} +24 -24
  122. package/dist/{runScope-2LB34N6K.js → runScope-A6IRHEBF.js} +4 -4
  123. package/dist/{scan-TOEDTT3B.js → scan-FBVX2CX4.js} +8 -8
  124. package/dist/{schemaConfirm-D5LFUE5G.js → schemaConfirm-EHLOP77W.js} +7 -7
  125. package/dist/{schemaLock-VYTWIP4J.js → schemaLock-WUY4PMBZ.js} +7 -7
  126. package/dist/{schemaUnlock-UJ7LGVYA.js → schemaUnlock-USXQOFZV.js} +10 -10
  127. package/dist/{search-RWJAVTCK.js → search-NZAWFOLS.js} +11 -11
  128. package/dist/{show-WFS5UHAP.js → show-6YMUENZE.js} +9 -9
  129. package/dist/{show-MPF2IFMM.js → show-M5TH7EGS.js} +8 -8
  130. package/dist/{signExtension-7KEECCPE.js → signExtension-CY6DCEKH.js} +1 -1
  131. package/dist/{slack-ST3UGGWU.js → slack-Y7LJCVZX.js} +7 -7
  132. package/dist/{sync-2Y2ARKTH.js → sync-ZXOYIHNP.js} +3 -3
  133. package/dist/{updateNode-G2XDGAW5.js → updateNode-ICEZQLF4.js} +5 -5
  134. package/dist/{updatePlan-4L6P4TON.js → updatePlan-YGS3KWES.js} +12 -12
  135. package/dist/{web-QCWQYUZ6.js → web-L4UMWMWQ.js} +22 -22
  136. package/dist/{web-OWU6NXW7.js → web-SMMQBDM4.js} +22 -22
  137. package/dist/{wontfix-RNUMSQJU.js → wontfix-IW6I53QK.js} +7 -7
  138. package/package.json +1 -1
@@ -23,6 +23,10 @@ var claudeHarness = {
23
23
  kind: "claude",
24
24
  command: "claude",
25
25
  homeDir: path.join(os.homedir(), ".claude"),
26
+ slashCommandSources: {
27
+ userHomes: [path.join(os.homedir(), ".claude")],
28
+ projectDirs: [".claude"]
29
+ },
26
30
  sync: {
27
31
  commandDest: (name) => path.join("skills", name, "SKILL.md"),
28
32
  designPromptDest: "design-system-prompt.md",
@@ -34,6 +38,14 @@ var codexHarness = {
34
38
  kind: "codex",
35
39
  command: "codex",
36
40
  homeDir: path.join(os.homedir(), ".codex"),
41
+ // why: Codex reads user skills from $CODEX_HOME/skills (where assist sync installs them) and ~/.agents/skills, and project skills from .agents/skills (legacy .codex/skills)
42
+ slashCommandSources: {
43
+ userHomes: [
44
+ path.join(os.homedir(), ".codex"),
45
+ path.join(os.homedir(), ".agents")
46
+ ],
47
+ projectDirs: [".agents", ".codex"]
48
+ },
37
49
  sync: {
38
50
  commandDest: (name) => path.join("skills", name, "SKILL.md"),
39
51
  designPromptDest: path.join("assist", "design-system-prompt.md"),
@@ -50,6 +62,10 @@ var harnesses = {
50
62
  kind: "pi",
51
63
  command: "pi",
52
64
  homeDir: path.join(os.homedir(), ".pi", "agent"),
65
+ slashCommandSources: {
66
+ userHomes: [path.join(os.homedir(), ".pi", "agent")],
67
+ projectDirs: [".pi"]
68
+ },
53
69
  sync: {
54
70
  commandDest: (name) => path.join("prompts", `${name}.md`),
55
71
  designPromptDest: path.join("assist", "design-system-prompt.md"),
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  launchMode
3
- } from "./chunk-QBMFBNEG.js";
3
+ } from "./chunk-BL7W6YRK.js";
4
4
  import {
5
5
  typeLabel
6
- } from "./chunk-2KAACFP6.js";
6
+ } from "./chunk-ZHUQP5EF.js";
7
7
  import {
8
8
  loadBacklogSummaries
9
9
  } from "./chunk-5PQE2NIS.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  backlogPhaseActivity,
3
3
  recordPhaseSession
4
- } from "./chunk-YC7WO4ET.js";
4
+ } from "./chunk-S56CW6LZ.js";
5
5
  import {
6
6
  resumeNudge
7
7
  } from "./chunk-7NZOH4LN.js";
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-ZYK7V4PG.js";
12
12
  import {
13
13
  preassignedId
14
- } from "./chunk-W23SGDCN.js";
14
+ } from "./chunk-CS3E3ARZ.js";
15
15
  import {
16
16
  emitActivity
17
17
  } from "./chunk-3DNFNT2L.js";
@@ -26,7 +26,7 @@ import {
26
26
  } from "./chunk-LQMXLKPW.js";
27
27
  import {
28
28
  buildPhasePrompt
29
- } from "./chunk-ON25VUQS.js";
29
+ } from "./chunk-KJ3OKLBQ.js";
30
30
  import {
31
31
  getReady
32
32
  } from "./chunk-GINJQIVR.js";
@@ -38,7 +38,7 @@ import {
38
38
  } from "./chunk-2R4VODAU.js";
39
39
  import {
40
40
  harnessAdapter
41
- } from "./chunk-B6F37LCP.js";
41
+ } from "./chunk-MMEOHVBU.js";
42
42
  import {
43
43
  getSignalPath
44
44
  } from "./chunk-P23ZWXGY.js";
@@ -8,10 +8,10 @@ import {
8
8
  isDocsPath,
9
9
  isSchemaPath,
10
10
  mentionsDocsPath
11
- } from "./chunk-TFOO4EAJ.js";
11
+ } from "./chunk-ZC6RX66V.js";
12
12
  import {
13
13
  isSchemaLocked
14
- } from "./chunk-KVQ4QMGJ.js";
14
+ } from "./chunk-UNRY64ES.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-X7DJE2JP.js";
24
+ } from "./chunk-DM7ZP7OH.js";
25
25
  import {
26
26
  inWebSession
27
27
  } from "./chunk-HKGCLAZ7.js";
@@ -33,7 +33,7 @@ import {
33
33
  } from "./chunk-XJTXAL22.js";
34
34
  import {
35
35
  defersPreviewWait
36
- } from "./chunk-IXBA6TVF.js";
36
+ } from "./chunk-RZRY47PA.js";
37
37
  import {
38
38
  askQuestionEnabled
39
39
  } from "./chunk-IBPSXDUB.js";
@@ -14,7 +14,7 @@ import {
14
14
  isHello,
15
15
  linkVersionCheck,
16
16
  negotiateProtocol
17
- } from "./chunk-7RXWUGFS.js";
17
+ } from "./chunk-2I3MMPKJ.js";
18
18
 
19
19
  // src/commands/sessions/nodes/probePeerHello.ts
20
20
  var HELLO_TIMEOUT_MS = 5e3;
@@ -10,7 +10,7 @@ import {
10
10
  } from "./chunk-JM57BCD6.js";
11
11
  import {
12
12
  firstBrokenHop
13
- } from "./chunk-O4PLJ67D.js";
13
+ } from "./chunk-SVTEKYM2.js";
14
14
  import {
15
15
  describePeerError,
16
16
  fetchPeerJson
@@ -30,6 +30,7 @@ import {
30
30
  harnessKindOf,
31
31
  headCommit,
32
32
  isBusy,
33
+ isHarnessKind,
33
34
  parseCodexSessionFile,
34
35
  parseUsageWindowKey,
35
36
  reExecOnDeclaredNode,
@@ -39,7 +40,7 @@ import {
39
40
  resolveLinkTarget,
40
41
  usageWindowKey,
41
42
  watcherLogPath
42
- } from "./chunk-CV72PJ76.js";
43
+ } from "./chunk-DN3DZ6H7.js";
43
44
  import {
44
45
  TRACE_HEADER,
45
46
  newTraceId
@@ -47,7 +48,7 @@ import {
47
48
  import {
48
49
  ASSIST_VERSION,
49
50
  PROTOCOL_VERSION
50
- } from "./chunk-7RXWUGFS.js";
51
+ } from "./chunk-2I3MMPKJ.js";
51
52
  import {
52
53
  findLinkSpec
53
54
  } from "./chunk-JWMBBFAS.js";
@@ -84,7 +85,7 @@ import {
84
85
  } from "./chunk-UJBW7FVI.js";
85
86
  import {
86
87
  targetConversationEvents
87
- } from "./chunk-SZLVP4T4.js";
88
+ } from "./chunk-VDOZCOQS.js";
88
89
  import {
89
90
  configEntryLayers,
90
91
  ghFailure,
@@ -251,7 +252,7 @@ import {
251
252
  } from "./chunk-ILJBR4Z5.js";
252
253
  import {
253
254
  rewindItemToPhase
254
- } from "./chunk-JKHOKRLE.js";
255
+ } from "./chunk-WP4VQMD6.js";
255
256
  import {
256
257
  loadItemSummaries,
257
258
  phaseUsageTotals,
@@ -280,7 +281,7 @@ import {
280
281
  } from "./chunk-AA4LR7TZ.js";
281
282
  import {
282
283
  resolveRewindPlan
283
- } from "./chunk-L2XD557T.js";
284
+ } from "./chunk-DVKW6CP4.js";
284
285
  import {
285
286
  deleteItem,
286
287
  getOrigin,
@@ -322,14 +323,14 @@ import {
322
323
  } from "./chunk-7GSALENY.js";
323
324
  import {
324
325
  resolveFeature
325
- } from "./chunk-2F2IKQDM.js";
326
+ } from "./chunk-QBDPUOLA.js";
326
327
  import {
327
328
  detectHarness,
328
329
  discoverCodexRolloutPaths,
329
330
  discoverSessionJsonlPaths,
330
331
  harnessAdapter,
331
332
  parseSessionFile
332
- } from "./chunk-B6F37LCP.js";
333
+ } from "./chunk-MMEOHVBU.js";
333
334
  import {
334
335
  harnessLabel
335
336
  } from "./chunk-XZSATLYY.js";
@@ -353,7 +354,7 @@ import {
353
354
  } from "./chunk-GVVK5XFZ.js";
354
355
  import {
355
356
  harnesses
356
- } from "./chunk-W356LY6D.js";
357
+ } from "./chunk-EOOPPGMZ.js";
357
358
  import {
358
359
  setBacklogDir
359
360
  } from "./chunk-C42HQYEM.js";
@@ -1475,14 +1476,14 @@ async function daemonLogTail(req, res) {
1475
1476
  }
1476
1477
 
1477
1478
  // src/commands/sessions/shared/conversationFromParams.ts
1478
- function isHarnessKind(value) {
1479
+ function isHarnessKind2(value) {
1479
1480
  return harnessKinds.includes(value);
1480
1481
  }
1481
1482
  function conversationFromParams(params) {
1482
1483
  const conversationId = params.get("session");
1483
1484
  if (!conversationId) return void 0;
1484
1485
  const harness = params.get("harness");
1485
- return isHarnessKind(harness) ? { conversationId, harness } : { conversationId };
1486
+ return isHarnessKind2(harness) ? { conversationId, harness } : { conversationId };
1486
1487
  }
1487
1488
 
1488
1489
  // src/commands/sessions/web/getConversationParam.ts
@@ -5202,6 +5203,14 @@ function listScopedRules(req, res) {
5202
5203
  // src/commands/sessions/web/slashCommands/listSlashCommands.ts
5203
5204
  import path6 from "path";
5204
5205
 
5206
+ // src/commands/sessions/web/slashCommands/mergeSourceCommands.ts
5207
+ function mergeSourceCommands(lists) {
5208
+ const byName = /* @__PURE__ */ new Map();
5209
+ for (const command of lists.flat())
5210
+ if (!byName.has(command.name)) byName.set(command.name, command);
5211
+ return [...byName.values()].sort((a, b) => a.name.localeCompare(b.name));
5212
+ }
5213
+
5205
5214
  // src/commands/sessions/web/slashCommands/readSlashCommands.ts
5206
5215
  import fs from "fs";
5207
5216
  import path5 from "path";
@@ -5250,19 +5259,33 @@ function readSlashCommands(home, scope) {
5250
5259
  }
5251
5260
 
5252
5261
  // src/commands/sessions/web/slashCommands/listSlashCommands.ts
5253
- function listSlashCommands(claudeHome, cwd, projectCommands) {
5254
- const user = readSlashCommands(claudeHome, "user");
5262
+ function listSlashCommands(sources, cwd, projectCommands) {
5263
+ const user = mergeSourceCommands(
5264
+ sources.userHomes.map((home) => readSlashCommands(home, "user"))
5265
+ );
5255
5266
  const userNames = new Set(user.map((command) => command.name));
5256
- const project = projectCommands ?? readSlashCommands(path6.join(cwd, ".claude"), "project");
5267
+ const project = projectCommands ?? mergeSourceCommands(
5268
+ sources.projectDirs.map(
5269
+ (dir) => readSlashCommands(path6.join(cwd, dir), "project")
5270
+ )
5271
+ );
5257
5272
  return [
5258
5273
  ...user,
5259
5274
  ...project.filter((command) => !userNames.has(command.name))
5260
5275
  ];
5261
5276
  }
5262
5277
 
5278
+ // src/commands/sessions/web/slashCommands/requestedSlashSources.ts
5279
+ function requestedSlashSources(req) {
5280
+ const params = new URL(req.url ?? "/", "http://localhost").searchParams;
5281
+ const harness = params.get("harness");
5282
+ return {
5283
+ sources: harnesses[isHarnessKind(harness) ? harness : "claude"].slashCommandSources,
5284
+ startPoint: params.get("startPoint") === "1"
5285
+ };
5286
+ }
5287
+
5263
5288
  // src/commands/sessions/web/slashCommands/readSlashCommandsAtRef.ts
5264
- var COMMAND = /^\.claude\/commands\/([^/]+)\.md$/;
5265
- var SKILL = /^\.claude\/skills\/([^/]+)\/SKILL\.md$/;
5266
5289
  async function describeAt(repo, ref, file) {
5267
5290
  const content = await gitOrNull(repo, ["show", `${ref}:${file}`]);
5268
5291
  return content ? splitFrontmatter(content).description : void 0;
@@ -5279,7 +5302,7 @@ async function entriesMatching(repo, ref, files, pattern) {
5279
5302
  }))
5280
5303
  );
5281
5304
  }
5282
- async function readSlashCommandsAtRef(repo, ref, scope) {
5305
+ async function readSlashCommandsAtRef(repo, ref, scope, projectDir = ".claude") {
5283
5306
  if (!await gitOrNull(repo, ["rev-parse", "--verify", "--quiet", ref]))
5284
5307
  return null;
5285
5308
  const listing = await gitOrNull(repo, [
@@ -5289,39 +5312,45 @@ async function readSlashCommandsAtRef(repo, ref, scope) {
5289
5312
  "--name-only",
5290
5313
  ref,
5291
5314
  "--",
5292
- ".claude/commands",
5293
- ".claude/skills"
5315
+ `${projectDir}/commands`,
5316
+ `${projectDir}/skills`
5294
5317
  ]);
5295
5318
  const files = listing ? listing.split("\n") : [];
5319
+ const dir = projectDir.replaceAll(".", String.raw`\.`);
5320
+ const command = new RegExp(`^${dir}/commands/([^/]+)\\.md$`);
5321
+ const skill = new RegExp(`^${dir}/skills/([^/]+)/SKILL\\.md$`);
5296
5322
  return mergeSlashCommands(
5297
- await entriesMatching(repo, ref, files, COMMAND),
5298
- await entriesMatching(repo, ref, files, SKILL),
5323
+ await entriesMatching(repo, ref, files, command),
5324
+ await entriesMatching(repo, ref, files, skill),
5299
5325
  scope
5300
5326
  );
5301
5327
  }
5302
5328
 
5303
5329
  // src/commands/sessions/web/slashCommands/startPointProjectCommands.ts
5304
- async function startPointProjectCommands(cwd) {
5330
+ async function startPointProjectCommands(cwd, projectDirs) {
5305
5331
  const repoRoot2 = findRepoRoot(cwd) ?? cwd;
5306
5332
  const cfg = worktreeConfigFor(repoRoot2);
5307
5333
  if (!cfg.enabled) return null;
5308
5334
  const clone = mainWorktree(repoRoot2) ?? repoRoot2;
5309
5335
  const { ref } = await worktreeStartPoint(clone, cfg.trunk);
5310
5336
  if (ref === "HEAD") return null;
5311
- return readSlashCommandsAtRef(clone, ref, "project");
5337
+ const lists = [];
5338
+ for (const dir of projectDirs) {
5339
+ const list = await readSlashCommandsAtRef(clone, ref, "project", dir);
5340
+ if (!list) return null;
5341
+ lists.push(list);
5342
+ }
5343
+ return mergeSourceCommands(lists);
5312
5344
  }
5313
5345
 
5314
5346
  // src/commands/sessions/web/slashCommands/slashCommands.ts
5315
- function wantsStartPoint(req) {
5316
- const url = new URL(req.url ?? "/", "http://localhost");
5317
- return url.searchParams.get("startPoint") === "1";
5318
- }
5319
5347
  async function slashCommands(req, res) {
5320
5348
  const cwd = getCwdParam(req, res);
5321
5349
  if (!cwd) return;
5322
- const project = wantsStartPoint(req) ? await startPointProjectCommands(cwd) : null;
5350
+ const { sources, startPoint } = requestedSlashSources(req);
5351
+ const project = startPoint ? await startPointProjectCommands(cwd, sources.projectDirs) : null;
5323
5352
  respondJson(res, 200, {
5324
- commands: listSlashCommands(harnesses.claude.homeDir, cwd, project)
5353
+ commands: listSlashCommands(sources, cwd, project)
5325
5354
  });
5326
5355
  }
5327
5356
 
@@ -11,20 +11,20 @@ import {
11
11
  } from "./chunk-BXGPF3TG.js";
12
12
  import {
13
13
  launchBlocker
14
- } from "./chunk-LQMU4BUO.js";
14
+ } from "./chunk-U3IQIWLI.js";
15
15
  import {
16
16
  createBranch,
17
17
  generateBranchSlug
18
- } from "./chunk-J7MXNBHI.js";
18
+ } from "./chunk-CUGSML2B.js";
19
19
  import {
20
20
  inWebSession
21
21
  } from "./chunk-HKGCLAZ7.js";
22
22
  import {
23
23
  executePhase
24
- } from "./chunk-FWXTQHO2.js";
24
+ } from "./chunk-FTNVJRGH.js";
25
25
  import {
26
26
  backlogPhaseActivity
27
- } from "./chunk-YC7WO4ET.js";
27
+ } from "./chunk-S56CW6LZ.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-JI2GUUWM.js";
62
+ } from "./chunk-SVLIH3AL.js";
63
63
  import {
64
64
  resolvePlan
65
- } from "./chunk-AXIXL47Y.js";
65
+ } from "./chunk-RGITC6GP.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-B6F37LCP.js";
89
+ } from "./chunk-MMEOHVBU.js";
90
90
  import {
91
91
  buildFeature
92
92
  } from "./chunk-LKZ7J5AK.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  deliverPinNotification
3
- } from "./chunk-EF33C7EX.js";
3
+ } from "./chunk-UVCAGPRO.js";
4
4
  import {
5
5
  sweepRestrictedDir
6
6
  } from "./chunk-JVG5AJA2.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-D7UZLH36.js";
4
4
  import {
5
5
  harnesses
6
- } from "./chunk-W356LY6D.js";
6
+ } from "./chunk-EOOPPGMZ.js";
7
7
 
8
8
  // src/lib/isClaudeCode.ts
9
9
  function isClaudeCode() {
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-N65VOEFI.js";
7
7
  import {
8
8
  previewAnswerWaitBlocker
9
- } from "./chunk-SE5PMYLT.js";
9
+ } from "./chunk-AREFKCN5.js";
10
10
  import {
11
11
  askQuestionEnabled
12
12
  } from "./chunk-IBPSXDUB.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  harnesses,
3
3
  isHarnessAvailable
4
- } from "./chunk-W356LY6D.js";
4
+ } from "./chunk-EOOPPGMZ.js";
5
5
  import {
6
6
  loadConfig
7
7
  } from "./chunk-TH42OUCW.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  formatPreviewComments
3
- } from "./chunk-T6XYXQM3.js";
3
+ } from "./chunk-CQDPHLI3.js";
4
4
 
5
5
  // src/commands/sessions/shared/printApprovedComments.ts
6
6
  function printApprovedComments(decision) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-ON25VUQS.js";
3
+ } from "./chunk-KJ3OKLBQ.js";
4
4
 
5
5
  // src/commands/backlog/authoredPhases.ts
6
6
  function authoredPhases(plan) {
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-LKDW2GWH.js";
24
24
  import {
25
25
  loginShellCommand
26
- } from "./chunk-B6F37LCP.js";
26
+ } from "./chunk-MMEOHVBU.js";
27
27
  import {
28
28
  daemonLog
29
29
  } from "./chunk-MRUIXQXS.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-MRUIXQXS.js";
4
4
  import {
5
5
  piExtensionsDir
6
- } from "./chunk-NMFBCWVV.js";
6
+ } from "./chunk-YLQAQHRT.js";
7
7
  import {
8
8
  readLitellmConfig
9
9
  } from "./chunk-5AAHWTRQ.js";
@@ -18,12 +18,12 @@ import {
18
18
  import {
19
19
  harnessCapability,
20
20
  sdkAgentEnv
21
- } from "./chunk-4QXA7WWO.js";
21
+ } from "./chunk-T56YZ5YH.js";
22
22
  import {
23
23
  harnessCapabilityDeclarations,
24
24
  supported,
25
25
  unsupported
26
- } from "./chunk-3K47OPUC.js";
26
+ } from "./chunk-2D3ZCQE3.js";
27
27
  import {
28
28
  harnessLabel,
29
29
  resolveHarness
@@ -32,7 +32,7 @@ import {
32
32
  checkCliAvailable,
33
33
  harnesses,
34
34
  isHarnessAvailable
35
- } from "./chunk-W356LY6D.js";
35
+ } from "./chunk-EOOPPGMZ.js";
36
36
  import {
37
37
  declaredNode
38
38
  } from "./chunk-XYZPWUS6.js";
@@ -3,14 +3,14 @@ import {
3
3
  } from "./chunk-HB2TXZX4.js";
4
4
  import {
5
5
  run
6
- } from "./chunk-HZAT5QBJ.js";
6
+ } from "./chunk-IIJ4AI4C.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-2KAACFP6.js";
13
+ } from "./chunk-ZHUQP5EF.js";
14
14
  import {
15
15
  loadBacklog
16
16
  } from "./chunk-GINJQIVR.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  awaitPreviewApproval
3
- } from "./chunk-T6XYXQM3.js";
3
+ } from "./chunk-CQDPHLI3.js";
4
4
  import {
5
5
  loadConfig
6
6
  } from "./chunk-TH42OUCW.js";
@@ -6,13 +6,13 @@ import {
6
6
  } from "./chunk-FPWL4VRC.js";
7
7
  import {
8
8
  harnessAdapter
9
- } from "./chunk-B6F37LCP.js";
9
+ } from "./chunk-MMEOHVBU.js";
10
10
  import {
11
11
  legacyDefaultHarness
12
12
  } from "./chunk-XZSATLYY.js";
13
13
  import {
14
14
  activeHarness
15
- } from "./chunk-DZBQRJLT.js";
15
+ } from "./chunk-K4DJEFDZ.js";
16
16
 
17
17
  // src/shared/currentExecutionIdentity.ts
18
18
  function currentExecutionIdentity(conversationId) {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-2JYMVJGZ.js";
4
4
  import {
5
5
  launchBlocker
6
- } from "./chunk-LQMU4BUO.js";
6
+ } from "./chunk-U3IQIWLI.js";
7
7
  import {
8
8
  INBOX_LAST_SCAN_KEY,
9
9
  inboxConnectorRun,
@@ -19,7 +19,7 @@ import {
19
19
  emptyScanUsage,
20
20
  harnessAdapter,
21
21
  scanUsageTokens
22
- } from "./chunk-B6F37LCP.js";
22
+ } from "./chunk-MMEOHVBU.js";
23
23
  import {
24
24
  inboxFeature
25
25
  } from "./chunk-LKZ7J5AK.js";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  checkoutPr
3
- } from "./chunk-SDB7VRGZ.js";
3
+ } from "./chunk-XG3C3JSK.js";
4
4
  import {
5
5
  launchBlocker
6
- } from "./chunk-LQMU4BUO.js";
6
+ } from "./chunk-U3IQIWLI.js";
7
7
  import {
8
8
  resumeNudge
9
9
  } from "./chunk-7NZOH4LN.js";
@@ -13,13 +13,13 @@ import {
13
13
  } from "./chunk-ZYK7V4PG.js";
14
14
  import {
15
15
  preassignedId
16
- } from "./chunk-W23SGDCN.js";
16
+ } from "./chunk-CS3E3ARZ.js";
17
17
  import {
18
18
  emitActivity
19
19
  } from "./chunk-3DNFNT2L.js";
20
20
  import {
21
21
  harnessAdapter
22
- } from "./chunk-B6F37LCP.js";
22
+ } from "./chunk-MMEOHVBU.js";
23
23
 
24
24
  // src/commands/launchPrSkill.ts
25
25
  import chalk from "chalk";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  resolveCapability
3
- } from "./chunk-4QXA7WWO.js";
3
+ } from "./chunk-T56YZ5YH.js";
4
4
 
5
5
  // src/shared/harnessAdapters/formatUnavailable.ts
6
6
  function formatUnavailable(what, harnessLabel, reasons) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  authoredPhases
3
- } from "./chunk-3P6FAG5Z.js";
3
+ } from "./chunk-L4DE4ZRV.js";
4
4
 
5
5
  // src/commands/backlog/resolvePlan.ts
6
6
  function resolvePlan(item) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  harnessCapability,
3
3
  sdkAgentEnv
4
- } from "./chunk-4QXA7WWO.js";
4
+ } from "./chunk-T56YZ5YH.js";
5
5
  import {
6
6
  activeHarness
7
- } from "./chunk-DZBQRJLT.js";
7
+ } from "./chunk-K4DJEFDZ.js";
8
8
 
9
9
  // src/commands/sessions/shared/defersPreviewWait.ts
10
10
  function defersPreviewWait(env = process.env) {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-ON25VUQS.js";
3
+ } from "./chunk-KJ3OKLBQ.js";
4
4
  import {
5
5
  phaseSessions
6
6
  } from "./chunk-2R4VODAU.js";
@@ -6,10 +6,10 @@ import {
6
6
  } from "./chunk-XJTXAL22.js";
7
7
  import {
8
8
  defersPreviewWait
9
- } from "./chunk-IXBA6TVF.js";
9
+ } from "./chunk-RZRY47PA.js";
10
10
  import {
11
11
  previewAnswerWaitBlocker
12
- } from "./chunk-SE5PMYLT.js";
12
+ } from "./chunk-AREFKCN5.js";
13
13
  import {
14
14
  askQuestionEnabled
15
15
  } from "./chunk-IBPSXDUB.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  REVIEW_PHASE_NAME
3
- } from "./chunk-ON25VUQS.js";
3
+ } from "./chunk-KJ3OKLBQ.js";
4
4
 
5
5
  // src/commands/backlog/buildReviewPhase.ts
6
6
  function buildReviewPhase() {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  buildDoctorProbes,
3
3
  diagnoseLink
4
- } from "./chunk-CEF7DU26.js";
4
+ } from "./chunk-GRDBSI7H.js";
5
5
  import {
6
6
  findLinkSpec
7
7
  } from "./chunk-JWMBBFAS.js";
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@staff0rd/assist",
4
- version: "0.1212.0",
4
+ version: "0.1213.0",
5
5
  type: "module",
6
6
  main: "dist/index.js",
7
7
  bin: {