@opencode-ai/core 0.0.0-dev-19160 → 0.0.0-dev-19163

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 (774) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +79 -79
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{command-0e0xafbb.js → pty-0e0xafbb.js} +2 -2
  9. package/dist/chunks/{command-e6v427vd.js → pty-0ez61b8c.js} +2 -2
  10. package/dist/chunks/{command-tnzyjfsr.js → pty-0jhvtgy0.js} +25 -25
  11. package/dist/chunks/{command-7dqw4kz8.js → pty-0jwsre1p.js} +5 -5
  12. package/dist/chunks/{command-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{command-0s9ayhjt.js → pty-0s9ayhjt.js} +1 -1
  14. package/dist/chunks/{command-an7cqtb7.js → pty-0v53mg2y.js} +4 -4
  15. package/dist/chunks/{command-j5208yae.js → pty-10jtetaj.js} +4 -4
  16. package/dist/chunks/{command-8ehfs3z6.js → pty-13bwbegs.js} +6 -6
  17. package/dist/chunks/{command-7ry09vv5.js → pty-14hmenm3.js} +3 -3
  18. package/dist/chunks/{command-f02efhx2.js → pty-14hw9dzz.js} +25 -25
  19. package/dist/chunks/{command-yb3vshep.js → pty-18m7380n.js} +10 -10
  20. package/dist/chunks/{command-js78q0ey.js → pty-197cqqzc.js} +15 -15
  21. package/dist/chunks/{command-j8swj2w1.js → pty-19sjfhb0.js} +17 -17
  22. package/dist/chunks/{command-8d12smfc.js → pty-1a53kk3r.js} +16 -16
  23. package/dist/chunks/{command-1ct4r87x.js → pty-1ct4r87x.js} +1 -1
  24. package/dist/chunks/{command-m5045k8y.js → pty-1n116cmy.js} +9 -9
  25. package/dist/chunks/{command-1445ht27.js → pty-1v32g1wv.js} +31 -31
  26. package/dist/chunks/{command-4pgype50.js → pty-1wjnnkdq.js} +28 -28
  27. package/dist/chunks/pty-1x11rq2a.js +18 -0
  28. package/dist/chunks/{command-21r38tys.js → pty-21r38tys.js} +1 -1
  29. package/dist/chunks/{command-xa23jzcd.js → pty-23eh64wy.js} +18 -18
  30. package/dist/chunks/{command-rbmj63g6.js → pty-24hac89k.js} +18 -18
  31. package/dist/chunks/{command-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  32. package/dist/chunks/{command-mqd6mqcv.js → pty-2b4wwmr0.js} +9 -9
  33. package/dist/chunks/{command-2tse149y.js → pty-2g2ws9me.js} +6 -6
  34. package/dist/chunks/{command-2ht70gj7.js → pty-2ht70gj7.js} +1 -1
  35. package/dist/chunks/{command-3qze2g25.js → pty-2pgk7vty.js} +2 -2
  36. package/dist/chunks/{command-3nt7fz2d.js → pty-2xe3bfbr.js} +38 -38
  37. package/dist/chunks/{command-jh83r34y.js → pty-330abkrs.js} +14 -14
  38. package/dist/chunks/{command-cfaf1jcp.js → pty-39cxv2jc.js} +6 -6
  39. package/dist/chunks/{command-yecrbd4q.js → pty-3dxrpf6g.js} +23 -23
  40. package/dist/chunks/{command-gdvy8fx6.js → pty-3fc6dm20.js} +4 -4
  41. package/dist/chunks/{command-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{command-3qzbfqsy.js → pty-3qzbfqsy.js} +2 -2
  43. package/dist/chunks/{command-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{command-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{command-2bfwt810.js → pty-3vk4r4y0.js} +20 -20
  46. package/dist/chunks/{command-fgm3rptp.js → pty-3z7ymfy8.js} +11 -11
  47. package/dist/chunks/{command-bnd53w8e.js → pty-424y433t.js} +21 -21
  48. package/dist/chunks/{command-454k5vzh.js → pty-454k5vzh.js} +1 -1
  49. package/dist/chunks/{command-nst4gbxz.js → pty-46e97tr7.js} +10 -10
  50. package/dist/chunks/{command-41y5k8q3.js → pty-4ga1afgc.js} +30 -30
  51. package/dist/chunks/{command-shfaz11f.js → pty-4m423yy7.js} +4 -4
  52. package/dist/chunks/{command-3v7evdfw.js → pty-4q10ewvh.js} +37 -37
  53. package/dist/chunks/{command-4r2nyarf.js → pty-4r2nyarf.js} +1 -1
  54. package/dist/chunks/{command-403wd46a.js → pty-4vefptct.js} +14 -14
  55. package/dist/chunks/pty-4y7bcn0g.js +4 -0
  56. package/dist/chunks/{command-64z8z5x5.js → pty-4z6b0fg6.js} +6 -6
  57. package/dist/chunks/{command-24hkfxm1.js → pty-577kxxzn.js} +8 -8
  58. package/dist/chunks/pty-580rqf4t.js +247 -0
  59. package/dist/chunks/{command-5daktx2q.js → pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{command-5fmxt4p5.js → pty-5fmxt4p5.js} +1 -1
  61. package/dist/chunks/{command-5jvc5tg2.js → pty-5jvc5tg2.js} +1 -1
  62. package/dist/chunks/{command-hgeb4s25.js → pty-5k3f87xj.js} +1 -1
  63. package/dist/chunks/{command-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  64. package/dist/chunks/{command-yfmpqt7t.js → pty-6hjfxebm.js} +20 -20
  65. package/dist/chunks/{command-067xa773.js → pty-6kqyta9q.js} +53 -53
  66. package/dist/chunks/{command-2bymashh.js → pty-6t4t7zkh.js} +13 -13
  67. package/dist/chunks/{command-6abnk40k.js → pty-6z5bwd8g.js} +9 -9
  68. package/dist/chunks/{command-711hfp6y.js → pty-711hfp6y.js} +2 -2
  69. package/dist/chunks/{command-06rbd0ds.js → pty-71528wd2.js} +7 -7
  70. package/dist/chunks/{command-72nftnjy.js → pty-72nftnjy.js} +2 -2
  71. package/dist/chunks/{command-yhzb4m19.js → pty-74hz777x.js} +20 -20
  72. package/dist/chunks/{command-mb3t0p3g.js → pty-79swe9gn.js} +18 -18
  73. package/dist/chunks/{command-rbbz1t60.js → pty-7afcqx0a.js} +26 -26
  74. package/dist/chunks/{command-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{command-dyxej0k0.js → pty-7d25qaph.js} +15 -15
  76. package/dist/chunks/{command-9drvvwc8.js → pty-7egpt7q5.js} +43 -43
  77. package/dist/chunks/{command-gh3etp9m.js → pty-7vdhmnjr.js} +14 -14
  78. package/dist/chunks/{command-7w74e5nf.js → pty-7w74e5nf.js} +2 -2
  79. package/dist/chunks/{command-r6y16npb.js → pty-7xskqjj7.js} +26 -26
  80. package/dist/chunks/{command-2kq1zvc1.js → pty-84hk3ncg.js} +11 -11
  81. package/dist/chunks/{command-f9x6rp1j.js → pty-86s3977f.js} +1 -1
  82. package/dist/chunks/{command-pjvn5h54.js → pty-8f4vc4xx.js} +14 -14
  83. package/dist/chunks/{command-pb7mhrv4.js → pty-8m98nkw1.js} +32 -32
  84. package/dist/chunks/{command-09e7d9vb.js → pty-8r3ep68x.js} +30 -30
  85. package/dist/chunks/{command-v5rb3gry.js → pty-8sjvb6k9.js} +4 -4
  86. package/dist/chunks/{command-7th8yg4v.js → pty-8vdjpmsk.js} +10 -10
  87. package/dist/chunks/{command-5ms9567n.js → pty-8wktkxzr.js} +10 -10
  88. package/dist/chunks/{command-myw4ak0a.js → pty-92c2hcx4.js} +17 -17
  89. package/dist/chunks/{command-y2cqme3r.js → pty-93a8yfjt.js} +5 -5
  90. package/dist/chunks/{command-k6wd3zsg.js → pty-95andwzg.js} +34 -34
  91. package/dist/chunks/{command-36bx4p7m.js → pty-96t26a3p.js} +11 -11
  92. package/dist/chunks/{command-46fb7xft.js → pty-9c013v9n.js} +28 -28
  93. package/dist/chunks/{command-5x809xkz.js → pty-9cb708z9.js} +10 -10
  94. package/dist/chunks/{command-3jj6bjb6.js → pty-9d4efts8.js} +5 -5
  95. package/dist/chunks/{command-9qm9egsn.js → pty-9qm9egsn.js} +2 -2
  96. package/dist/chunks/{command-9shezh8w.js → pty-a65r260q.js} +13 -13
  97. package/dist/chunks/{command-x89xc156.js → pty-a8ez5wrk.js} +35 -35
  98. package/dist/chunks/{command-aaet6srn.js → pty-aaet6srn.js} +2 -2
  99. package/dist/chunks/{command-fvanntqq.js → pty-ab9238g2.js} +4 -4
  100. package/dist/chunks/{command-ajtjthsy.js → pty-ajtjthsy.js} +2 -2
  101. package/dist/chunks/{command-1p55cq3k.js → pty-ap3jkc54.js} +14 -14
  102. package/dist/chunks/{command-makhhr1b.js → pty-aqf60yyg.js} +11 -11
  103. package/dist/chunks/{command-yaxh95xb.js → pty-b3cmtr1b.js} +9 -9
  104. package/dist/chunks/{command-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{command-v53xvqvh.js → pty-b742egg5.js} +27 -27
  106. package/dist/chunks/{command-b9wsbatv.js → pty-b9wsbatv.js} +1 -1
  107. package/dist/chunks/{command-bcam29vw.js → pty-bdzxech8.js} +9 -9
  108. package/dist/chunks/{command-6hxkxj5e.js → pty-bgjnmd4j.js} +15 -15
  109. package/dist/chunks/{command-zhwkzg3q.js → pty-bhg5kqfm.js} +14 -14
  110. package/dist/chunks/{command-vnwde1cm.js → pty-bp916t1p.js} +4 -4
  111. package/dist/chunks/{command-hnyf01b0.js → pty-bsvvsrn1.js} +5 -5
  112. package/dist/chunks/{command-h287670b.js → pty-c8sxadgy.js} +19 -19
  113. package/dist/chunks/{command-mf0qyrea.js → pty-c9xamxgt.js} +8 -8
  114. package/dist/chunks/{command-fn1bgv7k.js → pty-cd07jt91.js} +12 -12
  115. package/dist/chunks/{command-3exrkx07.js → pty-cd5w3ehc.js} +46 -46
  116. package/dist/chunks/{command-5yrh131y.js → pty-cjw2t2ym.js} +6 -6
  117. package/dist/chunks/{command-0fy0jsyf.js → pty-cqdg1gmd.js} +15 -15
  118. package/dist/chunks/{command-ez9t0j11.js → pty-czdk2zk8.js} +26 -26
  119. package/dist/chunks/{command-47c0vj8e.js → pty-d09xjcdz.js} +13 -13
  120. package/dist/chunks/{command-6kzfdsbw.js → pty-d2degc6b.js} +39 -39
  121. package/dist/chunks/{command-d72308c8.js → pty-d72308c8.js} +2 -2
  122. package/dist/chunks/{command-2j46d33k.js → pty-daafe3cw.js} +24 -24
  123. package/dist/chunks/{command-q1mp0wyr.js → pty-dajeemk8.js} +11 -11
  124. package/dist/chunks/{command-36jsrrnq.js → pty-dh8qxndx.js} +4 -4
  125. package/dist/chunks/{command-qrsmsg1a.js → pty-dqffspr6.js} +11 -11
  126. package/dist/chunks/{command-f1q5pqmw.js → pty-dr4sghex.js} +8 -8
  127. package/dist/chunks/{command-ef8sx7p3.js → pty-dw29rff5.js} +27 -27
  128. package/dist/chunks/{command-cf0yyv30.js → pty-e2xsqmtw.js} +13 -13
  129. package/dist/chunks/{command-7nxyxket.js → pty-e5b0qn1c.js} +1 -1
  130. package/dist/chunks/{command-avr1tyrh.js → pty-eb76gdww.js} +22 -22
  131. package/dist/chunks/{command-pvwc59kc.js → pty-ebavfnsr.js} +6 -6
  132. package/dist/chunks/{command-x4a87jpz.js → pty-edfr7fce.js} +10 -10
  133. package/dist/chunks/{command-5mm0tfy6.js → pty-edj46y5c.js} +4 -4
  134. package/dist/chunks/{command-cze25jak.js → pty-efcf8wyf.js} +8 -8
  135. package/dist/chunks/{command-vex81zzz.js → pty-emveyfrq.js} +23 -23
  136. package/dist/chunks/{command-4aej6qjt.js → pty-evgernt9.js} +9 -9
  137. package/dist/chunks/{command-rzejcw32.js → pty-f0v448q8.js} +5 -5
  138. package/dist/chunks/{command-2j14775k.js → pty-f1sefvse.js} +25 -25
  139. package/dist/chunks/{command-y724s5yt.js → pty-f3wdts17.js} +4 -4
  140. package/dist/chunks/{command-c50h3021.js → pty-f8jgm434.js} +6 -6
  141. package/dist/chunks/{command-ed627kzc.js → pty-fh5krs60.js} +21 -21
  142. package/dist/chunks/{command-rz5nyh7y.js → pty-fkjvn1ms.js} +12 -12
  143. package/dist/chunks/{command-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  144. package/dist/chunks/{command-fxypknc8.js → pty-fxypknc8.js} +1 -1
  145. package/dist/chunks/{command-z62pd9tg.js → pty-g0nz2j4g.js} +5 -5
  146. package/dist/chunks/{command-69wcn9zj.js → pty-g3m9axkp.js} +4 -4
  147. package/dist/chunks/{command-986p65m9.js → pty-g41n1fn3.js} +5 -5
  148. package/dist/chunks/{command-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{command-an9xa30v.js → pty-ggk3wd08.js} +7 -7
  150. package/dist/chunks/{command-tr0exa0z.js → pty-gm79ndkw.js} +46 -46
  151. package/dist/chunks/{command-k9hbvqs8.js → pty-gs214jzb.js} +26 -26
  152. package/dist/chunks/{command-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  153. package/dist/chunks/{command-eqx628er.js → pty-h7ywdgbk.js} +32 -32
  154. package/dist/chunks/{command-5r6zs9dp.js → pty-h9yys4qj.js} +43 -43
  155. package/dist/chunks/{command-a09trhwb.js → pty-hbgrn803.js} +8 -8
  156. package/dist/chunks/{command-2wjp2tjd.js → pty-hdjt7769.js} +28 -28
  157. package/dist/chunks/{command-heyhwy2w.js → pty-heyhwy2w.js} +1 -1
  158. package/dist/chunks/{command-2k2b0myy.js → pty-hh9b9ghc.js} +5 -5
  159. package/dist/chunks/{command-sb910js5.js → pty-hj3nn2ka.js} +20 -20
  160. package/dist/chunks/{command-67qwxm7p.js → pty-hp466exx.js} +15 -15
  161. package/dist/chunks/{command-hrvm11jt.js → pty-hrvm11jt.js} +3 -3
  162. package/dist/chunks/{command-3zzw1d29.js → pty-hspkxs5s.js} +2 -2
  163. package/dist/chunks/{command-9f3285wp.js → pty-htm1sggk.js} +14 -14
  164. package/dist/chunks/{command-p4ffxaks.js → pty-hv2h1j34.js} +19 -19
  165. package/dist/chunks/{command-kvsjn1dr.js → pty-hw4pv20g.js} +2 -2
  166. package/dist/chunks/{command-ybbfsve3.js → pty-j2w5jyet.js} +28 -28
  167. package/dist/chunks/{command-ww4cprnv.js → pty-ja1egbcz.js} +32 -32
  168. package/dist/chunks/{command-t3jgv66k.js → pty-ja7ysnjt.js} +10 -10
  169. package/dist/chunks/{command-2qqffpqm.js → pty-jhr1c1vq.js} +31 -31
  170. package/dist/chunks/{command-ag4rn41e.js → pty-jj3qxa52.js} +4 -4
  171. package/dist/chunks/{command-crmey8mf.js → pty-jk2agv8z.js} +3 -3
  172. package/dist/chunks/{command-ytrfeffg.js → pty-jkm93dg3.js} +3 -3
  173. package/dist/chunks/pty-jpg38yrs.js +20 -0
  174. package/dist/chunks/{command-3v2tg306.js → pty-jzd86gch.js} +20 -20
  175. package/dist/chunks/{command-aj9kw0tw.js → pty-k3ed8yxa.js} +8 -8
  176. package/dist/chunks/{command-k4bwy1x5.js → pty-k4bwy1x5.js} +1 -1
  177. package/dist/chunks/{command-t3q2ka56.js → pty-kc9eqfnd.js} +27 -27
  178. package/dist/chunks/{command-kg06axw8.js → pty-kg06axw8.js} +1 -1
  179. package/dist/chunks/{command-mq4pan8t.js → pty-kk59jywv.js} +11 -11
  180. package/dist/chunks/{command-57xv9dk6.js → pty-kmm37hgd.js} +24 -24
  181. package/dist/chunks/{command-0mxxck6s.js → pty-kmmek74m.js} +40 -40
  182. package/dist/chunks/{command-1y88a9y4.js → pty-kw39nwz6.js} +26 -26
  183. package/dist/chunks/{command-ctd4qdmr.js → pty-kx2gvdct.js} +4 -4
  184. package/dist/chunks/{command-wcr0959g.js → pty-m1wfp3t7.js} +7 -7
  185. package/dist/chunks/{command-syf0fv3f.js → pty-m8a2ky82.js} +15 -15
  186. package/dist/chunks/{command-vc3d140a.js → pty-m98c39mt.js} +14 -14
  187. package/dist/chunks/{command-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  188. package/dist/chunks/{command-v8gy3pjr.js → pty-mcxg6pmm.js} +1 -1
  189. package/dist/chunks/{command-mx0e3zaa.js → pty-mevw1mz1.js} +37 -37
  190. package/dist/chunks/{command-7yh4e7ss.js → pty-mhkvc446.js} +3 -3
  191. package/dist/chunks/{command-83564ejt.js → pty-mj1y46es.js} +15 -15
  192. package/dist/chunks/{command-z3s9j4q6.js → pty-mq0gvw52.js} +18 -18
  193. package/dist/chunks/{command-scncj5yv.js → pty-mqfwwqaz.js} +20 -20
  194. package/dist/chunks/{command-yhr218qz.js → pty-mtcjf44p.js} +4 -4
  195. package/dist/chunks/{command-mfzvtt0p.js → pty-mvw1ngtk.js} +43 -43
  196. package/dist/chunks/{command-gpdv1k8z.js → pty-mz3gf8c0.js} +75 -75
  197. package/dist/chunks/{command-p35n44y6.js → pty-n2srwrws.js} +22 -22
  198. package/dist/chunks/{command-ztnyd3e4.js → pty-n38qs1ar.js} +9 -9
  199. package/dist/chunks/{command-06qbn9zd.js → pty-n8qe30xq.js} +9 -9
  200. package/dist/chunks/{command-dhc125dj.js → pty-np8tmzys.js} +15 -15
  201. package/dist/chunks/{command-btt262ey.js → pty-nyr9gh09.js} +13 -13
  202. package/dist/chunks/{command-8eqyawfy.js → pty-p3wf1qr1.js} +17 -17
  203. package/dist/chunks/{command-cj78h4gj.js → pty-p4q7gpc5.js} +5 -5
  204. package/dist/chunks/{command-m4535t75.js → pty-pae9v2p1.js} +8 -8
  205. package/dist/chunks/{command-j935v87r.js → pty-paphc93g.js} +2 -2
  206. package/dist/chunks/{command-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{command-pknna89w.js → pty-pknna89w.js} +1 -1
  208. package/dist/chunks/{command-hpkxe5vf.js → pty-ps7vy79j.js} +9 -9
  209. package/dist/chunks/{command-xbyx40wa.js → pty-pytss4s1.js} +14 -14
  210. package/dist/chunks/{command-66r9f6z1.js → pty-q6yya7b3.js} +5 -5
  211. package/dist/chunks/{command-80gwsprg.js → pty-qatzdmex.js} +19 -19
  212. package/dist/chunks/{command-9p3tsgpy.js → pty-qkzfms5c.js} +4 -4
  213. package/dist/chunks/{command-xxz5bf5t.js → pty-qq0tkz6q.js} +3 -3
  214. package/dist/chunks/{command-qsdy395h.js → pty-qsdy395h.js} +1 -1
  215. package/dist/chunks/{command-bsnns7jw.js → pty-qv548fbc.js} +41 -41
  216. package/dist/chunks/{command-z7f3thhk.js → pty-qyhcknjv.js} +4 -4
  217. package/dist/chunks/{command-r4zdmh6q.js → pty-r23rhjn4.js} +15 -15
  218. package/dist/chunks/{command-fb8301na.js → pty-r59d39z4.js} +15 -15
  219. package/dist/chunks/{command-pgrzqq7x.js → pty-r6sc6mvs.js} +285 -285
  220. package/dist/chunks/{command-r8dhm0tv.js → pty-r8dhm0tv.js} +1 -1
  221. package/dist/chunks/{command-90apwbxv.js → pty-rakype68.js} +1 -1
  222. package/dist/chunks/{command-d8mkz6xq.js → pty-rhmzvdhw.js} +5 -5
  223. package/dist/chunks/{command-v01naqnx.js → pty-rjszc2zh.js} +32 -32
  224. package/dist/chunks/{command-09a6army.js → pty-rkj48kta.js} +24 -24
  225. package/dist/chunks/{command-apjnhj61.js → pty-rmy3e5eg.js} +3 -3
  226. package/dist/chunks/{command-wwskzng8.js → pty-rnswsqfz.js} +9 -9
  227. package/dist/chunks/{command-eze362m1.js → pty-ry0tsm5j.js} +7 -7
  228. package/dist/chunks/{command-6rvfg3m1.js → pty-s34rn1a3.js} +31 -31
  229. package/dist/chunks/{command-qbyj8qxd.js → pty-s3eqpch7.js} +1 -1
  230. package/dist/chunks/{command-sba4qhjf.js → pty-sba4qhjf.js} +1 -1
  231. package/dist/chunks/{command-6nf9m9w8.js → pty-sm7swcp1.js} +20 -20
  232. package/dist/chunks/{command-mvcmfyp0.js → pty-st4exd81.js} +4 -4
  233. package/dist/chunks/{command-vj6w85cw.js → pty-stxyg5sw.js} +13 -13
  234. package/dist/chunks/{command-xb02k0wq.js → pty-t2fc4mz5.js} +4 -4
  235. package/dist/chunks/{command-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{command-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  237. package/dist/chunks/{command-fx63sjjh.js → pty-tdrv38f9.js} +9 -9
  238. package/dist/chunks/pty-tek6fqmc.js +22 -0
  239. package/dist/chunks/{command-tjykrgmx.js → pty-tjykrgmx.js} +1 -1
  240. package/dist/chunks/{command-qz2a5vjy.js → pty-ttmf2k06.js} +11 -11
  241. package/dist/chunks/{command-csf1agy9.js → pty-v2yjmh4r.js} +9 -9
  242. package/dist/chunks/{command-3gcs5xa7.js → pty-v8qpgep3.js} +16 -16
  243. package/dist/chunks/{command-6h683ksm.js → pty-vcdr3jqb.js} +3 -3
  244. package/dist/chunks/{command-wngp9twe.js → pty-vdjb0chr.js} +4 -4
  245. package/dist/chunks/{command-z3xgatyd.js → pty-vep9yay1.js} +4 -4
  246. package/dist/chunks/{command-sdrvr6hd.js → pty-vknt59z3.js} +15 -15
  247. package/dist/chunks/{command-mn2fhvjf.js → pty-vvqvsvmp.js} +21 -21
  248. package/dist/chunks/{command-xj845f8f.js → pty-vy6rh34j.js} +51 -51
  249. package/dist/chunks/{command-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  250. package/dist/chunks/{command-y0759frv.js → pty-w53v2v29.js} +78 -78
  251. package/dist/chunks/{command-xg3c18md.js → pty-wb7d89zp.js} +10 -10
  252. package/dist/chunks/{command-4myz20e1.js → pty-wcx5mfjt.js} +25 -25
  253. package/dist/chunks/{command-wd87259q.js → pty-wd87259q.js} +1 -1
  254. package/dist/chunks/{command-sjpb2e72.js → pty-wfk53g9c.js} +8 -8
  255. package/dist/chunks/{command-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  256. package/dist/chunks/{command-akpttafq.js → pty-x8sc7ayy.js} +14 -14
  257. package/dist/chunks/{command-dnv0g493.js → pty-x97dk724.js} +20 -20
  258. package/dist/chunks/{command-771gpf5h.js → pty-xazv95zf.js} +10 -10
  259. package/dist/chunks/{command-fde3eq2m.js → pty-xb34m1tb.js} +12 -12
  260. package/dist/chunks/{command-2dqn2d0f.js → pty-xgdp3zrt.js} +9 -9
  261. package/dist/chunks/{command-xf2mx0nj.js → pty-xkc3e3r9.js} +20 -20
  262. package/dist/chunks/{command-7ng7exzm.js → pty-xqsy6kp0.js} +1 -1
  263. package/dist/chunks/{command-t3xcjejh.js → pty-xvr7v4w4.js} +21 -21
  264. package/dist/chunks/{command-xf5dfsz3.js → pty-xykes5tk.js} +61 -61
  265. package/dist/chunks/{command-penn4k5a.js → pty-y0p5t1h8.js} +17 -17
  266. package/dist/chunks/{command-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{command-y71avatq.js → pty-y71avatq.js} +1 -1
  268. package/dist/chunks/{command-ajcccrn0.js → pty-y7gew26p.js} +3 -3
  269. package/dist/chunks/{command-yfbd16n1.js → pty-yfbd16n1.js} +2 -2
  270. package/dist/chunks/{command-g220pns6.js → pty-yjkzbzhw.js} +54 -54
  271. package/dist/chunks/{command-7nhnh7r3.js → pty-ypf8xw7k.js} +4 -4
  272. package/dist/chunks/{command-cb182ger.js → pty-yrzsrb4b.js} +7 -7
  273. package/dist/chunks/{command-e4byd2f0.js → pty-ysg26a53.js} +170 -170
  274. package/dist/chunks/{command-eab3te1e.js → pty-yzx76hw4.js} +17 -17
  275. package/dist/chunks/{command-z1k01bn4.js → pty-z1k01bn4.js} +2 -2
  276. package/dist/chunks/{command-29x78va6.js → pty-z63w68vq.js} +6 -6
  277. package/dist/chunks/{command-yzd93mfj.js → pty-z78tg67p.js} +5 -5
  278. package/dist/chunks/{command-adtw4hjy.js → pty-z9e33hn5.js} +26 -26
  279. package/dist/chunks/{command-kxnt8qcg.js → pty-zn2pq4p8.js} +5 -5
  280. package/dist/chunks/{command-nwqthrgy.js → pty-znvcphkc.js} +4 -4
  281. package/dist/chunks/{command-8hczv8aq.js → pty-zrtmz43p.js} +24 -24
  282. package/dist/chunks/{command-cx64my21.js → pty-zt0ezf4m.js} +24 -24
  283. package/dist/chunks/{command-abrpakxq.js → pty-zv0yd62f.js} +11 -11
  284. package/dist/chunks/{command-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +3 -3
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +2 -2
  288. package/dist/command.js +81 -81
  289. package/dist/config/discovery.js +77 -77
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +19 -19
  292. package/dist/config/plugin/agent.js +116 -116
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +153 -153
  295. package/dist/config/plugin/entry-observer.js +1 -1
  296. package/dist/config/plugin/formatter.js +116 -116
  297. package/dist/config/plugin/image.js +114 -114
  298. package/dist/config/plugin/instruction.js +85 -85
  299. package/dist/config/plugin/location-watcher.js +116 -116
  300. package/dist/config/plugin/mcp.js +125 -125
  301. package/dist/config/plugin/policy.js +113 -113
  302. package/dist/config/plugin/provider.js +112 -112
  303. package/dist/config/plugin/reference.js +116 -116
  304. package/dist/config/plugin/shell.js +117 -117
  305. package/dist/config/plugin/skill-file.js +96 -96
  306. package/dist/config/plugin/skill.js +134 -134
  307. package/dist/config/plugin/snapshot.js +114 -114
  308. package/dist/config/plugin/source.js +116 -116
  309. package/dist/config/plugin/tool-output.js +116 -116
  310. package/dist/config/plugin/websearch.js +114 -114
  311. package/dist/config/plugin/worktree.js +117 -117
  312. package/dist/config/variable.js +3 -3
  313. package/dist/config/watch.js +1 -1
  314. package/dist/config.js +118 -118
  315. package/dist/credential/sql.js +2 -2
  316. package/dist/credential.js +80 -80
  317. package/dist/database/database.js +64 -64
  318. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  319. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  321. package/dist/database/drizzle/index.js +13 -13
  322. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  323. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  325. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  326. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  327. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  333. package/dist/database/drizzle.js +14 -14
  334. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  335. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  336. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  337. package/dist/database/migration/20260225215848_workspace.js +1 -1
  338. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  339. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  340. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  341. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  342. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  343. package/dist/database/migration/20260323234822_events.js +1 -1
  344. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  345. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  346. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  347. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  348. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  349. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  350. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  351. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  352. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  353. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  354. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  355. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  356. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  357. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  358. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  359. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  360. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  361. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  362. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  363. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  364. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  365. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  366. package/dist/database/migration/20260611035744_credential.js +1 -1
  367. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  368. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  369. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  370. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  371. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  372. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  373. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  374. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  375. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  376. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  377. package/dist/database/migration/20260812213948_worktree.js +1 -1
  378. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  379. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  380. package/dist/database/migration.gen.js +47 -47
  381. package/dist/database/migration.js +49 -49
  382. package/dist/database/path.js +2 -2
  383. package/dist/database/schema.gen.js +1 -1
  384. package/dist/database/schema.sql.js +1 -1
  385. package/dist/database/sqlite.bun.js +1 -1
  386. package/dist/database/sqlite.js +1 -1
  387. package/dist/database/sqlite.node.js +1 -1
  388. package/dist/database/sqlite.workerd.js +1 -1
  389. package/dist/database/v1-migration.bun.js +74 -74
  390. package/dist/database/v1-migration.js +1 -1
  391. package/dist/effect/app-node-builder.js +358 -358
  392. package/dist/effect/app-node-platform.js +2 -2
  393. package/dist/effect/keyed-mutex.js +1 -1
  394. package/dist/effect/websocket-constructor.js +1 -1
  395. package/dist/environment/driver.js +1 -1
  396. package/dist/environment/environment.js +88 -88
  397. package/dist/environment/exec-defaults.js +2 -2
  398. package/dist/environment/files.js +1 -1
  399. package/dist/environment/index.js +90 -90
  400. package/dist/environment/local.js +2 -2
  401. package/dist/environment/memory.js +2 -2
  402. package/dist/environment/unavailable.js +1 -1
  403. package/dist/event/sql.js +1 -1
  404. package/dist/event-logger.js +68 -68
  405. package/dist/file-mutation.js +89 -89
  406. package/dist/file-retention.js +1 -1
  407. package/dist/file.js +1 -1
  408. package/dist/filesystem/fff.bun.js +2 -2
  409. package/dist/filesystem/fff.js +1 -1
  410. package/dist/filesystem/fff.node.js +2 -2
  411. package/dist/filesystem/fff.workerd.js +2 -2
  412. package/dist/filesystem/ignore.js +1 -1
  413. package/dist/filesystem/location-watcher-policy.js +6 -6
  414. package/dist/filesystem/location-watcher.js +220 -220
  415. package/dist/filesystem/protected.js +1 -1
  416. package/dist/filesystem/search.js +95 -95
  417. package/dist/filesystem/watcher-binding.js +3 -3
  418. package/dist/filesystem/watcher.js +15 -15
  419. package/dist/filesystem.js +96 -96
  420. package/dist/form.js +82 -82
  421. package/dist/formatter/builtins.js +4 -4
  422. package/dist/formatter.js +82 -82
  423. package/dist/generate.js +90 -90
  424. package/dist/git.js +7 -7
  425. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  426. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  427. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  428. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  429. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  431. package/dist/github-copilot/copilot-provider.js +17 -17
  432. package/dist/github-copilot/models.js +7 -7
  433. package/dist/github-copilot/openai-compatible-error.js +1 -1
  434. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  435. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  436. package/dist/github-copilot/responses/openai-error.js +1 -1
  437. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  438. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  439. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  440. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  441. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  442. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  443. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  444. package/dist/id/id.js +1 -1
  445. package/dist/image/photon.js +2 -2
  446. package/dist/image.js +2 -2
  447. package/dist/instance/service.js +7 -7
  448. package/dist/instance.js +349 -349
  449. package/dist/instruction-discovery.js +81 -81
  450. package/dist/instructions/builtins.js +80 -80
  451. package/dist/instructions/index.js +3 -3
  452. package/dist/integration/connection.js +1 -1
  453. package/dist/integration.js +85 -85
  454. package/dist/job.js +77 -77
  455. package/dist/kv/sql.js +2 -2
  456. package/dist/kv.js +71 -71
  457. package/dist/location-activity.js +83 -83
  458. package/dist/location-mutation.js +81 -81
  459. package/dist/location-service-map.js +83 -83
  460. package/dist/location-services.js +346 -346
  461. package/dist/location.js +84 -84
  462. package/dist/mcp/client.js +86 -86
  463. package/dist/mcp/index.js +104 -104
  464. package/dist/mcp/instructions.js +120 -120
  465. package/dist/mcp/oauth.js +2 -2
  466. package/dist/mcp/stdio.js +85 -85
  467. package/dist/mime.js +1 -1
  468. package/dist/modal/models.js +7 -7
  469. package/dist/model-resolver.js +85 -85
  470. package/dist/model.js +10 -10
  471. package/dist/models-dev.js +78 -78
  472. package/dist/oauth/page.js +1 -1
  473. package/dist/permission/saved.js +78 -78
  474. package/dist/permission/sql.js +5 -5
  475. package/dist/permission.js +107 -107
  476. package/dist/persistent-pty/binary.bun.js +1 -1
  477. package/dist/persistent-pty/daemon.js +1 -1
  478. package/dist/persistent-pty/index.js +84 -84
  479. package/dist/persistent-pty/pty-binding.js +1 -1
  480. package/dist/persistent-pty.js +73 -73
  481. package/dist/plugin/agent.js +98 -98
  482. package/dist/plugin/command.js +95 -95
  483. package/dist/plugin/hooks.js +5 -5
  484. package/dist/plugin/host.js +211 -211
  485. package/dist/plugin/instance.js +5 -5
  486. package/dist/plugin/internal.js +320 -320
  487. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  488. package/dist/plugin/models-dev.js +75 -75
  489. package/dist/plugin/module.js +7 -7
  490. package/dist/plugin/plan.js +96 -96
  491. package/dist/plugin/promise.js +1 -1
  492. package/dist/plugin/provider/alibaba.js +2 -2
  493. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  494. package/dist/plugin/provider/anthropic.js +2 -2
  495. package/dist/plugin/provider/azure.js +117 -117
  496. package/dist/plugin/provider/cerebras.js +2 -2
  497. package/dist/plugin/provider/cloudflare-ai-gateway.js +116 -116
  498. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  499. package/dist/plugin/provider/cohere.js +2 -2
  500. package/dist/plugin/provider/configured.js +113 -113
  501. package/dist/plugin/provider/dynamic.js +2 -2
  502. package/dist/plugin/provider/factory.js +1 -1
  503. package/dist/plugin/provider/gateway.js +2 -2
  504. package/dist/plugin/provider/github-copilot.js +79 -79
  505. package/dist/plugin/provider/gitlab.js +3 -3
  506. package/dist/plugin/provider/google-vertex.js +2 -2
  507. package/dist/plugin/provider/kilo.js +2 -2
  508. package/dist/plugin/provider/llmgateway.js +75 -75
  509. package/dist/plugin/provider/lmstudio.js +116 -116
  510. package/dist/plugin/provider/mistral.js +2 -2
  511. package/dist/plugin/provider/modal.js +78 -78
  512. package/dist/plugin/provider/nvidia.js +2 -2
  513. package/dist/plugin/provider/ollama.js +116 -116
  514. package/dist/plugin/provider/openai-compatible.js +1 -1
  515. package/dist/plugin/provider/openai.js +77 -77
  516. package/dist/plugin/provider/opencode.js +75 -75
  517. package/dist/plugin/provider/openrouter.js +3 -3
  518. package/dist/plugin/provider/perplexity.js +2 -2
  519. package/dist/plugin/provider/sap-ai-core.js +3 -3
  520. package/dist/plugin/provider/sdk-factory.js +1 -1
  521. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  522. package/dist/plugin/provider/venice.js +2 -2
  523. package/dist/plugin/provider/vercel.js +2 -2
  524. package/dist/plugin/provider/vllm.js +116 -116
  525. package/dist/plugin/provider/xai.js +76 -76
  526. package/dist/plugin/provider/zenmux.js +2 -2
  527. package/dist/plugin/provider.js +154 -154
  528. package/dist/plugin/sdk.js +74 -74
  529. package/dist/plugin/service.js +5 -5
  530. package/dist/plugin/skill.js +131 -131
  531. package/dist/plugin/source-directory.js +1 -1
  532. package/dist/plugin/supervisor.js +339 -339
  533. package/dist/plugin/system-prompt.js +2 -2
  534. package/dist/plugin/update.js +6 -6
  535. package/dist/plugin/variant.js +4 -4
  536. package/dist/plugin/vcs/git.js +82 -82
  537. package/dist/plugin/vcs/hg.js +82 -82
  538. package/dist/plugin/warming.js +111 -111
  539. package/dist/plugin/websearch/exa.js +7 -7
  540. package/dist/plugin/websearch/firecrawl.js +8 -8
  541. package/dist/plugin/websearch/index.js +8 -8
  542. package/dist/plugin/websearch/mcp.js +6 -6
  543. package/dist/plugin/websearch/parallel.js +6 -6
  544. package/dist/plugin/websearch/tavily.js +4 -4
  545. package/dist/plugin.js +218 -218
  546. package/dist/project/schema.js +8 -8
  547. package/dist/project/sql.js +4 -4
  548. package/dist/project.js +83 -83
  549. package/dist/provider.js +5 -5
  550. package/dist/pty/protocol.js +1 -1
  551. package/dist/pty/schema.js +3 -3
  552. package/dist/pty/ticket.js +1 -1
  553. package/dist/pty.js +94 -94
  554. package/dist/reference/instructions.js +82 -82
  555. package/dist/reference.js +86 -86
  556. package/dist/repository-cache.js +76 -76
  557. package/dist/repository.js +3 -3
  558. package/dist/ripgrep/binary.js +2 -2
  559. package/dist/ripgrep.js +91 -91
  560. package/dist/rpc.js +81 -81
  561. package/dist/schema.js +1 -1
  562. package/dist/session/command.js +72 -72
  563. package/dist/session/compaction.js +125 -125
  564. package/dist/session/context.js +145 -145
  565. package/dist/session/environment.js +5 -5
  566. package/dist/session/error.js +5 -5
  567. package/dist/session/event.js +1 -1
  568. package/dist/session/execution/restart.js +214 -214
  569. package/dist/session/execution.js +120 -120
  570. package/dist/session/generate.js +146 -146
  571. package/dist/session/history.js +14 -14
  572. package/dist/session/inbox.js +82 -82
  573. package/dist/session/info.js +3 -3
  574. package/dist/session/instruction-entry.js +75 -75
  575. package/dist/session/instruction-state.js +8 -8
  576. package/dist/session/instructions.js +91 -91
  577. package/dist/session/message-updater.js +2 -2
  578. package/dist/session/message.js +1 -1
  579. package/dist/session/model-request.js +110 -110
  580. package/dist/session/model-transport.js +7 -7
  581. package/dist/session/move.js +124 -124
  582. package/dist/session/projector.js +84 -84
  583. package/dist/session/prompt.js +99 -99
  584. package/dist/session/revert.js +85 -85
  585. package/dist/session/run-coordinator.js +3 -3
  586. package/dist/session/runner/index.js +3 -3
  587. package/dist/session/runner/llm.js +223 -223
  588. package/dist/session/runner/max-steps.js +1 -1
  589. package/dist/session/runner/model.js +85 -85
  590. package/dist/session/runner/publish-llm-event.js +3 -3
  591. package/dist/session/runner/retry.js +4 -4
  592. package/dist/session/runner/step.js +119 -119
  593. package/dist/session/runner/to-llm-message.js +1 -1
  594. package/dist/session/schema.js +5 -5
  595. package/dist/session/session.js +167 -167
  596. package/dist/session/shell.js +130 -130
  597. package/dist/session/skill.js +97 -97
  598. package/dist/session/sql.js +5 -5
  599. package/dist/session/stats.js +71 -71
  600. package/dist/session/store.js +82 -82
  601. package/dist/session/subagent-completion.js +1 -1
  602. package/dist/session/subagent-job.js +203 -203
  603. package/dist/session/system-prompt.js +5 -5
  604. package/dist/session/title.js +149 -149
  605. package/dist/session/to-session-error.js +105 -105
  606. package/dist/session/transfer.js +210 -210
  607. package/dist/session/usage.js +1 -1
  608. package/dist/session.js +207 -207
  609. package/dist/shell/parse.js +6 -6
  610. package/dist/shell/result.js +1 -1
  611. package/dist/shell/scan.js +1 -1
  612. package/dist/shell/select.js +13 -13
  613. package/dist/shell.js +132 -132
  614. package/dist/skill/discovery.js +6 -6
  615. package/dist/skill/instructions.js +99 -99
  616. package/dist/skill.js +106 -106
  617. package/dist/snapshot.js +86 -86
  618. package/dist/state.js +1 -1
  619. package/dist/tool/html-markdown.js +1 -1
  620. package/dist/tool/http-body.js +1 -1
  621. package/dist/tool/mcp.js +119 -119
  622. package/dist/tool/plugin/edit.js +114 -114
  623. package/dist/tool/plugin/file-diff.js +1 -1
  624. package/dist/tool/plugin/glob.js +115 -115
  625. package/dist/tool/plugin/grep.js +119 -119
  626. package/dist/tool/plugin/opencode.js +3 -3
  627. package/dist/tool/plugin/patch.js +112 -112
  628. package/dist/tool/plugin/question.js +99 -99
  629. package/dist/tool/plugin/read.js +118 -118
  630. package/dist/tool/plugin/shell.js +206 -206
  631. package/dist/tool/plugin/skill.js +105 -105
  632. package/dist/tool/plugin/subagent.js +212 -212
  633. package/dist/tool/plugin/webfetch.js +102 -102
  634. package/dist/tool/plugin/websearch.js +108 -108
  635. package/dist/tool/plugin/write.js +116 -116
  636. package/dist/tool/read-filesystem.js +96 -96
  637. package/dist/tool/runtime.js +1 -1
  638. package/dist/tool-output.js +8 -8
  639. package/dist/tool.js +9 -9
  640. package/dist/util/error.js +1 -1
  641. package/dist/util/iife.js +1 -1
  642. package/dist/util/lazy.js +1 -1
  643. package/dist/util/slug.js +1 -1
  644. package/dist/util/token.js +1 -1
  645. package/dist/util/which.js +1 -1
  646. package/dist/util/wildcard.js +1 -1
  647. package/dist/v1/config/agent.js +5 -5
  648. package/dist/v1/config/attachment.js +4 -4
  649. package/dist/v1/config/command.js +3 -3
  650. package/dist/v1/config/config.js +16 -16
  651. package/dist/v1/config/error.js +4 -4
  652. package/dist/v1/config/formatter.js +3 -3
  653. package/dist/v1/config/layout.js +1 -1
  654. package/dist/v1/config/lsp.js +3 -3
  655. package/dist/v1/config/mcp.js +4 -4
  656. package/dist/v1/config/migrate.js +4 -4
  657. package/dist/v1/config/permission.js +7 -7
  658. package/dist/v1/config/plugin.js +3 -3
  659. package/dist/v1/config/provider-options.js +1 -1
  660. package/dist/v1/config/provider.js +4 -4
  661. package/dist/v1/config/server.js +2 -2
  662. package/dist/v1/config/skills.js +3 -3
  663. package/dist/v1/permission.js +1 -1
  664. package/dist/vcs/patch.js +1 -1
  665. package/dist/vcs.js +85 -85
  666. package/dist/websearch.js +82 -82
  667. package/dist/wellknown/plugin.js +74 -74
  668. package/dist/wellknown.js +79 -79
  669. package/dist/workspace/driver.js +3 -3
  670. package/dist/workspace/sql.js +1 -1
  671. package/dist/workspace.js +78 -78
  672. package/dist/worktree/directory.js +4 -4
  673. package/dist/worktree/git.js +7 -7
  674. package/dist/worktree/refresh.js +338 -338
  675. package/dist/worktree/sql.js +5 -5
  676. package/dist/worktree.js +91 -91
  677. package/package.json +7 -7
  678. package/dist/chunks/command-kk8qrnxm.js +0 -20
  679. package/dist/chunks/command-nhtcvqe4.js +0 -247
  680. package/dist/chunks/command-qyyps5ek.js +0 -22
  681. package/dist/chunks/command-w3vb4krt.js +0 -4
  682. package/dist/chunks/command-ydckrtmx.js +0 -18
  683. /package/dist/chunks/{command-0fabt78z.js → pty-0fabt78z.js} +0 -0
  684. /package/dist/chunks/{command-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{command-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{command-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{command-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{command-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{command-2710q6r3.js → pty-2710q6r3.js} +0 -0
  690. /package/dist/chunks/{command-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  691. /package/dist/chunks/{command-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  692. /package/dist/chunks/{command-359p4xyc.js → pty-359p4xyc.js} +0 -0
  693. /package/dist/chunks/{command-3asan66x.js → pty-3asan66x.js} +0 -0
  694. /package/dist/chunks/{command-3t738kvx.js → pty-3t738kvx.js} +0 -0
  695. /package/dist/chunks/{command-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  696. /package/dist/chunks/{command-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  697. /package/dist/chunks/{command-41nvscxy.js → pty-41nvscxy.js} +0 -0
  698. /package/dist/chunks/{command-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  699. /package/dist/chunks/{command-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  700. /package/dist/chunks/{command-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  701. /package/dist/chunks/{command-53557ph1.js → pty-53557ph1.js} +0 -0
  702. /package/dist/chunks/{command-550bvhaj.js → pty-550bvhaj.js} +0 -0
  703. /package/dist/chunks/{command-6prwharc.js → pty-6prwharc.js} +0 -0
  704. /package/dist/chunks/{command-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  705. /package/dist/chunks/{command-7m9af43g.js → pty-7m9af43g.js} +0 -0
  706. /package/dist/chunks/{command-822emrt2.js → pty-822emrt2.js} +0 -0
  707. /package/dist/chunks/{command-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  708. /package/dist/chunks/{command-8n3pysct.js → pty-8n3pysct.js} +0 -0
  709. /package/dist/chunks/{command-982e01ww.js → pty-982e01ww.js} +0 -0
  710. /package/dist/chunks/{command-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  711. /package/dist/chunks/{command-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  712. /package/dist/chunks/{command-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  713. /package/dist/chunks/{command-af5trqkr.js → pty-af5trqkr.js} +0 -0
  714. /package/dist/chunks/{command-afrmfg78.js → pty-afrmfg78.js} +0 -0
  715. /package/dist/chunks/{command-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  716. /package/dist/chunks/{command-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  717. /package/dist/chunks/{command-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  718. /package/dist/chunks/{command-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  719. /package/dist/chunks/{command-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  720. /package/dist/chunks/{command-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  721. /package/dist/chunks/{command-d9fn303g.js → pty-d9fn303g.js} +0 -0
  722. /package/dist/chunks/{command-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  723. /package/dist/chunks/{command-dajrwvna.js → pty-dajrwvna.js} +0 -0
  724. /package/dist/chunks/{command-dap0rakb.js → pty-dap0rakb.js} +0 -0
  725. /package/dist/chunks/{command-df08tz66.js → pty-df08tz66.js} +0 -0
  726. /package/dist/chunks/{command-dy18nga0.js → pty-dy18nga0.js} +0 -0
  727. /package/dist/chunks/{command-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  728. /package/dist/chunks/{command-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  729. /package/dist/chunks/{command-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  730. /package/dist/chunks/{command-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  731. /package/dist/chunks/{command-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  732. /package/dist/chunks/{command-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  733. /package/dist/chunks/{command-faypxj3z.js → pty-faypxj3z.js} +0 -0
  734. /package/dist/chunks/{command-fd410y7t.js → pty-fd410y7t.js} +0 -0
  735. /package/dist/chunks/{command-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  736. /package/dist/chunks/{command-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  737. /package/dist/chunks/{command-g86h250q.js → pty-g86h250q.js} +0 -0
  738. /package/dist/chunks/{command-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  739. /package/dist/chunks/{command-hk9envan.js → pty-hk9envan.js} +0 -0
  740. /package/dist/chunks/{command-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  741. /package/dist/chunks/{command-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  742. /package/dist/chunks/{command-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  743. /package/dist/chunks/{command-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  744. /package/dist/chunks/{command-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  745. /package/dist/chunks/{command-mntxs535.js → pty-mntxs535.js} +0 -0
  746. /package/dist/chunks/{command-mp448xyj.js → pty-mp448xyj.js} +0 -0
  747. /package/dist/chunks/{command-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  748. /package/dist/chunks/{command-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  749. /package/dist/chunks/{command-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  750. /package/dist/chunks/{command-njntx4h6.js → pty-njntx4h6.js} +0 -0
  751. /package/dist/chunks/{command-p8qxwesx.js → pty-p8qxwesx.js} +0 -0
  752. /package/dist/chunks/{command-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  753. /package/dist/chunks/{command-q74kybfr.js → pty-q74kybfr.js} +0 -0
  754. /package/dist/chunks/{command-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  755. /package/dist/chunks/{command-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  756. /package/dist/chunks/{command-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  757. /package/dist/chunks/{command-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  758. /package/dist/chunks/{command-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  759. /package/dist/chunks/{command-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  760. /package/dist/chunks/{command-se0s1eqw.js → pty-se0s1eqw.js} +0 -0
  761. /package/dist/chunks/{command-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  762. /package/dist/chunks/{command-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  763. /package/dist/chunks/{command-twg0f83k.js → pty-twg0f83k.js} +0 -0
  764. /package/dist/chunks/{command-w803qqfp.js → pty-w803qqfp.js} +0 -0
  765. /package/dist/chunks/{command-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  766. /package/dist/chunks/{command-wtztk69x.js → pty-wtztk69x.js} +0 -0
  767. /package/dist/chunks/{command-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  768. /package/dist/chunks/{command-x1b8g1yb.js → pty-x1b8g1yb.js} +0 -0
  769. /package/dist/chunks/{command-x61499pn.js → pty-x61499pn.js} +0 -0
  770. /package/dist/chunks/{command-y44na4kk.js → pty-y44na4kk.js} +0 -0
  771. /package/dist/chunks/{command-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  772. /package/dist/chunks/{command-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  773. /package/dist/chunks/{command-z9919s4g.js → pty-z9919s4g.js} +0 -0
  774. /package/dist/chunks/{command-zbjnn3ac.js → pty-zbjnn3ac.js} +0 -0
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./command-crmey8mf.js";
4
+ } from "./pty-jk2agv8z.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./command-z7f3thhk.js";
8
+ } from "./pty-qyhcknjv.js";
9
9
  import {
10
- Service47,
11
- node50
12
- } from "./command-penn4k5a.js";
10
+ Service67,
11
+ node72
12
+ } from "./pty-y0p5t1h8.js";
13
13
  import {
14
- Service31,
15
- node35
16
- } from "./command-kk8qrnxm.js";
14
+ Service39,
15
+ node42
16
+ } from "./pty-jpg38yrs.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./command-mntxs535.js";
19
+ } from "./pty-mntxs535.js";
20
20
  import {
21
- make13
22
- } from "./command-z3xgatyd.js";
21
+ make15
22
+ } from "./pty-vep9yay1.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service29
26
- } from "./command-ag4rn41e.js";
25
+ Service25
26
+ } from "./pty-jj3qxa52.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./command-wcr0959g.js";
29
+ } from "./pty-m1wfp3t7.js";
30
30
  import {
31
- Service52,
32
- node55
33
- } from "./command-zhwkzg3q.js";
31
+ Service50,
32
+ node53
33
+ } from "./pty-bhg5kqfm.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./command-wngp9twe.js";
36
+ } from "./pty-vdjb0chr.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./command-dyxej0k0.js";
39
+ } from "./pty-7d25qaph.js";
40
40
  import {
41
41
  __export
42
- } from "./command-9rqn6x4v.js";
42
+ } from "./pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service28,
47
+ Service: () => Service24,
48
48
  SessionExecution: () => exports_execution,
49
- layer: () => layer12,
50
- node: () => node33,
49
+ layer: () => layer10,
50
+ node: () => node29,
51
51
  noopLayer: () => noopLayer2,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
56
- class Service28 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service24 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer12 = Layer.effect(Service28, Effect.gen(function* () {
69
- const store = yield* Service52;
70
- const instances = yield* Service31;
68
+ var layer10 = Layer.effect(Service24, Effect.gen(function* () {
69
+ const store = yield* Service50;
70
+ const instances = yield* Service39;
71
71
  const bus = yield* Service79;
72
- const jobs = yield* Service47;
72
+ const jobs = yield* Service67;
73
73
  const db = (yield* Service80).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service29.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service25.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make13({
91
+ const coordinator = yield* make15({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service28.of({
112
+ return Service24.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer12 = Layer.effect(Service28, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node33 = makeGlobalNode({
132
- service: Service28,
133
- layer: layer12,
134
- deps: [node55, node35, node84, node85, node50]
131
+ var node29 = makeGlobalNode({
132
+ service: Service24,
133
+ layer: layer10,
134
+ deps: [node53, node42, node84, node85, node72]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service28, Service28.of({
136
+ var noopLayer2 = Layer.succeed(Service24, Service24.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service28, Service28.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service28, terminal2, layer12, node33, noopLayer2, exports_execution };
145
+ export { Service24, terminal2, layer10, node29, noopLayer2, exports_execution };
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  which2
3
- } from "./command-qaymkmh1.js";
3
+ } from "./pty-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
7
7
  import { ChildProcess } from "effect/unstable/process";
8
- function make6(input) {
8
+ function make9(input) {
9
9
  const disabled = false;
10
10
  const findExecutable = (name) => which2(name, undefined, input.bin);
11
11
  const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
@@ -261,4 +261,4 @@ function isRecord(input) {
261
261
  return Boolean(input && typeof input === "object" && !Array.isArray(input));
262
262
  }
263
263
 
264
- export { make6 };
264
+ export { make9 };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./pty-p8qxwesx.js";
4
4
  import {
5
- Service67
6
- } from "./command-myw4ak0a.js";
5
+ Service69
6
+ } from "./pty-92c2hcx4.js";
7
7
  import {
8
- Service65
9
- } from "./command-9drvvwc8.js";
8
+ Service43
9
+ } from "./pty-7egpt7q5.js";
10
10
  import {
11
- Service55
12
- } from "./command-mfzvtt0p.js";
11
+ Service20
12
+ } from "./pty-mvw1ngtk.js";
13
13
  import {
14
14
  observe2
15
- } from "./command-qsdy395h.js";
15
+ } from "./pty-qsdy395h.js";
16
16
  import {
17
17
  __export
18
- } from "./command-9rqn6x4v.js";
18
+ } from "./pty-9rqn6x4v.js";
19
19
 
20
20
  // src/config/plugin/worktree.ts
21
21
  var exports_worktree = {};
22
22
  __export(exports_worktree, {
23
23
  ConfigWorktreePlugin: () => exports_worktree,
24
- Plugin: () => Plugin7
24
+ Plugin: () => Plugin30
25
25
  });
26
26
  import { define } from "@opencode-ai/plugin/effect/plugin";
27
27
  import { Effect } from "effect";
28
28
  import path from "path";
29
29
  import { Global } from "@opencode-ai/util/global";
30
- var Plugin7 = define({
30
+ var Plugin30 = define({
31
31
  id: "opencode.config.worktree",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service65;
34
- const location = yield* Service67;
33
+ const config = yield* Service43;
34
+ const location = yield* Service69;
35
35
  const global = yield* Global.Service;
36
- const worktrees = yield* Service55;
36
+ const worktrees = yield* Service20;
37
37
  const loaded = yield* observe2(config, ctx.event, worktrees.reload());
38
38
  yield* worktrees.transform((editor) => {
39
39
  for (const entry of loaded.entries) {
@@ -48,4 +48,4 @@ var Plugin7 = define({
48
48
  })
49
49
  });
50
50
 
51
- export { Plugin7, exports_worktree };
51
+ export { Plugin30, exports_worktree };
@@ -1,27 +1,27 @@
1
1
  import {
2
- ID17,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./command-64z8z5x5.js";
5
+ } from "./pty-4z6b0fg6.js";
6
6
  import {
7
- ID16,
7
+ ID9,
8
8
  VariantID2,
9
- Info30,
9
+ Info22,
10
10
  compatibility2
11
- } from "./command-pjvn5h54.js";
11
+ } from "./pty-8f4vc4xx.js";
12
12
  import {
13
13
  __export
14
- } from "./command-9rqn6x4v.js";
14
+ } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/modal/models.ts
17
- var exports_models2 = {};
18
- __export(exports_models2, {
19
- ModalModels: () => exports_models2,
20
- get: () => get3
17
+ var exports_models = {};
18
+ __export(exports_models, {
19
+ ModalModels: () => exports_models,
20
+ get: () => get2
21
21
  });
22
22
  import { Money } from "@opencode-ai/schema/money";
23
23
  import { Option, Schema } from "effect";
24
- var providerID = ID17.make("modal");
24
+ var providerID = ID18.make("modal");
25
25
  var ReasoningOption = Schema.Struct({
26
26
  type: Schema.Literal("effort"),
27
27
  values: Schema.Array(Schema.NullOr(Schema.String))
@@ -53,7 +53,7 @@ var RemoteModel = Schema.Struct({
53
53
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
54
54
  var decodeResponse = Schema.decodeUnknownSync(Response);
55
55
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
56
- async function get3(baseURL, apiKey, existing) {
56
+ async function get2(baseURL, apiKey, existing) {
57
57
  const response = await fetch(`${baseURL.replace(/\/+$/, "")}/models`, {
58
58
  headers: {
59
59
  Authorization: `Bearer ${apiKey}`
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
69
69
  const templates = new Map(existing.map((model) => [model.id, model]));
70
70
  const result = new Map;
71
71
  for (const item of remote) {
72
- const template = templates.get(ID16.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
- const id = ID16.make(item.id);
72
+ const template = templates.get(ID9.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
73
+ const id = ID9.make(item.id);
74
74
  result.set(id, build(id, item, baseURL, template));
75
75
  }
76
76
  return result;
@@ -88,10 +88,10 @@ function limit(value, fallback) {
88
88
  function build(id, remote, baseURL, previous) {
89
89
  const cost = previous?.cost[0];
90
90
  const input = previous?.limit.input;
91
- return Info30.make({
92
- ...Info30.default(providerID, id),
91
+ return Info22.make({
92
+ ...Info22.default(providerID, id),
93
93
  id,
94
- modelID: ID16.make(remote.id),
94
+ modelID: ID9.make(remote.id),
95
95
  providerID,
96
96
  name: remote.name ?? previous?.name ?? remote.id,
97
97
  family: previous?.family,
@@ -138,4 +138,4 @@ function variants(remote) {
138
138
  return [...seen.values()];
139
139
  }
140
140
 
141
- export { get3, exports_models2 };
141
+ export { get2, exports_models };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./command-z7f3thhk.js";
4
+ } from "./pty-qyhcknjv.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./command-p8qxwesx.js";
8
+ } from "./pty-p8qxwesx.js";
9
9
  import {
10
- Ref2,
11
- Service67,
12
- node72
13
- } from "./command-myw4ak0a.js";
10
+ Ref4,
11
+ Service69,
12
+ node74
13
+ } from "./pty-92c2hcx4.js";
14
14
  import {
15
15
  __export
16
- } from "./command-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service25,
22
+ Service: () => Service61,
23
23
  define: () => define2,
24
- node: () => node29
24
+ node: () => node65
25
25
  });
26
26
  import { define as define2 } from "@opencode-ai/schema/rpc";
27
27
  import { Event } from "@opencode-ai/schema/event";
28
28
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
29
29
  import { Context, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service25 extends Context.Service()("@opencode/Rpc") {
30
+ class Service61 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,10 +39,10 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service25, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service61, Effect.gen(function* () {
43
43
  const bus = yield* Service79;
44
- const location = yield* Service67;
45
- const ref = Ref2.make({ directory: location.directory, workspaceID: location.workspaceID });
44
+ const location = yield* Service69;
45
+ const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
48
48
  };
@@ -81,7 +81,7 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
81
81
  const event = registered.event;
82
82
  const data = yield* encode(event.schema, args[1]);
83
83
  return yield* bus.publish(registered.definition, data, {
84
- location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
84
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
85
85
  }).pipe(Effect.asVoid);
86
86
  })
87
87
  }
@@ -115,19 +115,19 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service67, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service69, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
- return Service25.of({ register, call, client });
123
+ return Service61.of({ register, call, client });
124
124
  }));
125
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node84, node72] });
125
+ var node65 = makeLocationNode({ service: Service61, layer, deps: [node84, node74] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
129
129
  metadata: optional2(Schema.Record(Schema.String, Schema.Unknown)),
130
- location: optional2(Ref2)
130
+ location: optional2(Ref4)
131
131
  };
132
132
  var EventData = Schema.Record(Schema.String, Schema.Unknown);
133
133
  var jsonSchemas = new WeakMap;
@@ -203,8 +203,8 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
203
203
  ...payload,
204
204
  type: eventType(definition, name),
205
205
  data,
206
- location: Ref2.make({ directory: ref.directory, workspaceID: ref.workspaceID })
206
+ location: Ref4.make({ directory: ref.directory, workspaceID: ref.workspaceID })
207
207
  };
208
208
  });
209
209
 
210
- export { Service25, node29, exports_rpc, define2 };
210
+ export { Service61, node65, exports_rpc, define2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./command-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make21,
21
+ make: () => make18,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make21(source) {
53
+ function make18(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make21, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make18, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,69 +1,69 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./command-p8qxwesx.js";
3
+ } from "./pty-p8qxwesx.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node74
7
- } from "./command-nst4gbxz.js";
6
+ node79
7
+ } from "./pty-46e97tr7.js";
8
8
  import {
9
- ID12
10
- } from "./command-wwskzng8.js";
9
+ ID16
10
+ } from "./pty-rnswsqfz.js";
11
11
  import {
12
12
  Slug2
13
- } from "./command-gebd4c9n.js";
13
+ } from "./pty-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./command-crmey8mf.js";
17
+ } from "./pty-jk2agv8z.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./command-z7f3thhk.js";
21
+ } from "./pty-qyhcknjv.js";
22
22
  import {
23
23
  ProjectTable2
24
- } from "./command-9qm9egsn.js";
24
+ } from "./pty-9qm9egsn.js";
25
25
  import {
26
26
  WorktreeTable2
27
- } from "./command-ajtjthsy.js";
27
+ } from "./pty-ajtjthsy.js";
28
28
  import {
29
- Service67,
30
- node72
31
- } from "./command-myw4ak0a.js";
29
+ Service69,
30
+ node74
31
+ } from "./pty-92c2hcx4.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./command-y2cqme3r.js";
34
+ canonical2
35
+ } from "./pty-93a8yfjt.js";
36
36
  import {
37
- make18
38
- } from "./command-qz2a5vjy.js";
37
+ make12
38
+ } from "./pty-ttmf2k06.js";
39
39
  import {
40
40
  create3
41
- } from "./command-kg06axw8.js";
41
+ } from "./pty-kg06axw8.js";
42
42
  import {
43
43
  __export
44
- } from "./command-9rqn6x4v.js";
44
+ } from "./pty-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
48
48
  __export(exports_worktree2, {
49
- CreateInput: () => CreateInput3,
49
+ CreateInput: () => CreateInput2,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event10,
53
- Info: () => Info10,
52
+ Event: () => Event5,
53
+ Info: () => Info3,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
56
  ListEntry: () => ListEntry3,
57
57
  OperationError: () => OperationError2,
58
58
  RefreshResult: () => RefreshResult2,
59
59
  RemoveInput: () => RemoveInput2,
60
- Service: () => Service55,
60
+ Service: () => Service20,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node58
66
+ node: () => node24
67
67
  });
68
68
  import { Context, Effect, Layer, Schema } from "effect";
69
69
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -76,17 +76,17 @@ import { AppProcess } from "@opencode-ai/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode-ai/schema/worktree";
78
78
  var StrategyID2 = Worktree.StrategyID;
79
- var CreateInput3 = Worktree.CreateInput;
79
+ var CreateInput2 = Worktree.CreateInput;
80
80
  var RemoveInput2 = Worktree.RemoveInput;
81
81
  var RefreshResult2 = Schema.Struct({
82
82
  updated: Schema.Array(AbsolutePath2),
83
83
  removed: Schema.Array(AbsolutePath2)
84
84
  }).annotate({ identifier: "Worktree.RefreshResult" });
85
- var Info10 = Worktree.Info;
85
+ var Info3 = Worktree.Info;
86
86
  var List2 = Worktree.List;
87
87
  var ListEntry3 = Worktree.ListEntry;
88
88
 
89
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID12, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID16, directory: Schema.optional(AbsolutePath2) }) {
90
90
  }
91
91
 
92
92
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -100,21 +100,21 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
100
100
 
101
101
  class UnsupportedLocationError2 extends Schema.TaggedError()("Worktree.UnsupportedLocationError", { directory: AbsolutePath2 }) {
102
102
  }
103
- var Event10 = Worktree.Event;
103
+ var Event5 = Worktree.Event;
104
104
 
105
- class Service55 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service20 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service55, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
108
108
  const fs = yield* FSUtil.Service;
109
109
  const database = yield* Service80;
110
110
  const db = database.db;
111
111
  const bus = yield* Service79;
112
112
  const processService = yield* AppProcess.Service;
113
- const location = yield* Service67;
113
+ const location = yield* Service69;
114
114
  const global = yield* Global.Service;
115
115
  const projectID = location.project.id;
116
116
  const local = location.workspaceID ? Effect.fail(new UnsupportedLocationError2({ directory: location.directory })) : Effect.void;
117
- const gitStrategy = yield* make18;
117
+ const gitStrategy = yield* make12;
118
118
  const state = create3({
119
119
  name: "worktree",
120
120
  initial: () => ({
@@ -135,7 +135,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event10.Updated, { projectID });
138
+ yield* bus.publish(Event5.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
161
161
  };
162
162
  const source = Effect.fnUntraced(function* (input) {
163
163
  const sourceDirectory = input ?? location.project.directory;
164
- const resolved = yield* canonical3(fs, sourceDirectory);
164
+ const resolved = yield* canonical2(fs, sourceDirectory);
165
165
  if ((yield* ops.find(resolved)) === undefined)
166
166
  return yield* new SourceDirectoryNotFoundError2({ projectID, directory: resolved });
167
167
  return resolved;
@@ -193,8 +193,8 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
193
193
  sourceDirectory,
194
194
  branch: input.branch
195
195
  }).pipe(Effect.mapError((error) => operationError(selected.id, "create", error)));
196
- const result = { directory: yield* canonical3(fs, created.directory) };
197
- if (result.directory !== (yield* canonical3(fs, worktreeDirectory)))
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
+ if (result.directory !== (yield* canonical2(fs, worktreeDirectory)))
198
198
  return yield* new InvalidDirectoryError2({ directory: result.directory });
199
199
  yield* changed(yield* ops.create({
200
200
  directory: result.directory,
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
220
220
  });
221
221
  const remove = Effect.fn("Worktree.remove")(function* (input) {
222
222
  yield* local;
223
- const worktreeDirectory = yield* canonical3(fs, input.directory);
223
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
224
224
  const stored = yield* ops.find(worktreeDirectory);
225
225
  if (!stored?.strategy)
226
226
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -241,7 +241,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
241
241
  for (const strategy of strategies) {
242
242
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
243
243
  for (const entry of entries) {
244
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
244
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
245
245
  if (!directory || discovered.has(directory))
246
246
  continue;
247
247
  discovered.set(directory, {
@@ -259,7 +259,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
259
259
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
260
260
  return changes;
261
261
  });
262
- return Service55.of({
262
+ return Service20.of({
263
263
  transform: state.transform,
264
264
  reload: state.reload,
265
265
  list: Effect.fn("Worktree.list")(function* () {
@@ -271,10 +271,10 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
271
271
  refresh
272
272
  });
273
273
  }));
274
- var node58 = makeLocationNode({
275
- service: Service55,
274
+ var node24 = makeLocationNode({
275
+ service: Service20,
276
276
  layer,
277
- deps: [FSUtil.node, node74, node84, node85, AppProcess.node, node72, Global.node]
277
+ deps: [FSUtil.node, node79, node84, node85, AppProcess.node, node74, Global.node]
278
278
  });
279
279
  function operationError(strategy, operation, error) {
280
280
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -284,4 +284,4 @@ function operationError(strategy, operation, error) {
284
284
  });
285
285
  }
286
286
 
287
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info10, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event10, Service55, node58, exports_worktree2, OperationError2 };
287
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event5, Service20, node24, exports_worktree2, OperationError2 };