@opencode/core 0.0.0-dev-19372 → 0.0.0-dev-19377

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 (482) hide show
  1. package/dist/agent.js +67 -67
  2. package/dist/aisdk-native.js +2 -2
  3. package/dist/aisdk.js +6 -6
  4. package/dist/app.js +9 -9
  5. package/dist/bus.js +54 -54
  6. package/dist/catalog.js +68 -68
  7. package/dist/chunks/{pty-hw55hn24.js → pty-006ygbhe.js} +9 -9
  8. package/dist/chunks/{pty-5j7h8n2k.js → pty-01w9qjh9.js} +11 -11
  9. package/dist/chunks/{pty-6zm1wyjc.js → pty-04d1p4as.js} +18 -18
  10. package/dist/chunks/{pty-yntqacmd.js → pty-074fwbj6.js} +15 -15
  11. package/dist/chunks/{pty-4qv5c5xf.js → pty-0e1xjvyp.js} +22 -22
  12. package/dist/chunks/{pty-mqy0jkn2.js → pty-0gr7cw0d.js} +3 -3
  13. package/dist/chunks/{pty-jjc2e0wf.js → pty-0w7fw3r9.js} +14 -14
  14. package/dist/chunks/{pty-jsaewa63.js → pty-19xhtx11.js} +4 -4
  15. package/dist/chunks/{pty-wnqzfj2j.js → pty-1awm1f41.js} +13 -13
  16. package/dist/chunks/{pty-0hpxrkyb.js → pty-1dfhrqqs.js} +3 -3
  17. package/dist/chunks/{pty-q1bbvmq4.js → pty-1qacn438.js} +24 -24
  18. package/dist/chunks/{pty-w8dmehha.js → pty-1qamgzxb.js} +40 -40
  19. package/dist/chunks/{pty-33w4ejhs.js → pty-1ygqh575.js} +4 -4
  20. package/dist/chunks/{pty-s8bz6z4k.js → pty-2336b01z.js} +7 -7
  21. package/dist/chunks/{pty-6h73sxmp.js → pty-2402vzrj.js} +4 -4
  22. package/dist/chunks/{pty-6jnybvqn.js → pty-2bt6bea8.js} +7 -7
  23. package/dist/chunks/{pty-mf3kdcv1.js → pty-2d9xefx9.js} +8 -8
  24. package/dist/chunks/{pty-q24fq4k9.js → pty-2ehqxkpw.js} +11 -11
  25. package/dist/chunks/{pty-40d8dwxk.js → pty-2hkg1ese.js} +9 -9
  26. package/dist/chunks/{pty-k8a0mrdq.js → pty-2zb1amfr.js} +38 -38
  27. package/dist/chunks/{pty-m0pn08h0.js → pty-32rg2acf.js} +9 -9
  28. package/dist/chunks/{pty-crd48we5.js → pty-38t617vx.js} +77 -77
  29. package/dist/chunks/{pty-b3wkxfg9.js → pty-39r80e1r.js} +1 -1
  30. package/dist/chunks/{pty-a1dptbm0.js → pty-3f3d0cbx.js} +23 -23
  31. package/dist/chunks/{pty-kv3072p9.js → pty-3q64r879.js} +4 -4
  32. package/dist/chunks/{pty-0gg4eh9d.js → pty-3w1p8qpk.js} +9 -9
  33. package/dist/chunks/{pty-7rjdtxkk.js → pty-43k15f45.js} +4 -4
  34. package/dist/chunks/{pty-4z80d8a9.js → pty-44dkc7mg.js} +2 -2
  35. package/dist/chunks/{pty-qgy2rw28.js → pty-49ycyj1k.js} +7 -7
  36. package/dist/chunks/{pty-ken34rgm.js → pty-4g0ya2kt.js} +16 -16
  37. package/dist/chunks/{pty-mnewsc6w.js → pty-4gp3ykcw.js} +28 -28
  38. package/dist/chunks/{pty-dcdbx179.js → pty-4jk5hnnm.js} +46 -46
  39. package/dist/chunks/{pty-eg20r4ae.js → pty-4s814m4t.js} +15 -15
  40. package/dist/chunks/{pty-j4rqb0e8.js → pty-4yzj85jz.js} +292 -292
  41. package/dist/chunks/{pty-hcz3zddy.js → pty-510m7gjw.js} +3 -3
  42. package/dist/chunks/{pty-9m9t2a7k.js → pty-52x1vvhc.js} +16 -16
  43. package/dist/chunks/{pty-rrdk89a5.js → pty-56tf4rq2.js} +17 -17
  44. package/dist/chunks/{pty-m5aw9kqs.js → pty-59n4zhg4.js} +11 -11
  45. package/dist/chunks/pty-5ax6r0h3.js +22 -0
  46. package/dist/chunks/{pty-5vs9ndt5.js → pty-5tw27g45.js} +20 -20
  47. package/dist/chunks/{pty-qpw0y00r.js → pty-60r077ss.js} +16 -16
  48. package/dist/chunks/{pty-v8jfbz3g.js → pty-63xctefh.js} +5 -5
  49. package/dist/chunks/{pty-3pmjwr1e.js → pty-6jyd9m4h.js} +19 -19
  50. package/dist/chunks/{pty-q6rs4hjt.js → pty-6vwh2emb.js} +52 -52
  51. package/dist/chunks/{pty-4rph1v41.js → pty-6xsw6ps4.js} +12 -12
  52. package/dist/chunks/{pty-eq1pz5kg.js → pty-73tb2d7t.js} +2 -2
  53. package/dist/chunks/{pty-yzsvg0b0.js → pty-77jjzcn8.js} +170 -170
  54. package/dist/chunks/{pty-jy3rk2pm.js → pty-7amj9884.js} +14 -14
  55. package/dist/chunks/{pty-v1y1zkts.js → pty-7hr5xevn.js} +6 -6
  56. package/dist/chunks/{pty-cwtk2d1m.js → pty-7ttnvawf.js} +2 -2
  57. package/dist/chunks/{pty-zyr433b0.js → pty-818pfwc9.js} +9 -9
  58. package/dist/chunks/{pty-dv1qgsyq.js → pty-844ef7ks.js} +7 -7
  59. package/dist/chunks/{pty-cf7stcnz.js → pty-8450mckp.js} +8 -8
  60. package/dist/chunks/{pty-refnp3pv.js → pty-86g9bn8f.js} +1 -1
  61. package/dist/chunks/{pty-a31gkhvw.js → pty-8dar2rz8.js} +10 -10
  62. package/dist/chunks/{pty-6xe913v8.js → pty-8gaq70qr.js} +20 -20
  63. package/dist/chunks/{pty-jt2m25jy.js → pty-8ns6tfjc.js} +11 -11
  64. package/dist/chunks/{pty-8vct2pgr.js → pty-8q7cq0y1.js} +3 -3
  65. package/dist/chunks/{pty-f9dcx0s3.js → pty-8sf2nwrn.js} +14 -14
  66. package/dist/chunks/{pty-gcbpht8g.js → pty-8shp1cm6.js} +17 -17
  67. package/dist/chunks/{pty-rssnh3zg.js → pty-8vfk5djw.js} +22 -22
  68. package/dist/chunks/{pty-357v7vj3.js → pty-8vhbqs5w.js} +32 -32
  69. package/dist/chunks/{pty-nfk4q15c.js → pty-8x8pbyt1.js} +22 -22
  70. package/dist/chunks/{pty-gf4qtxm6.js → pty-96yt6zt0.js} +1 -1
  71. package/dist/chunks/{pty-e1sywrpy.js → pty-9a3tgymx.js} +3 -3
  72. package/dist/chunks/{pty-rzyzyf97.js → pty-9d99dnb1.js} +3 -3
  73. package/dist/chunks/{pty-jefma2gq.js → pty-9fwp41vh.js} +7 -7
  74. package/dist/chunks/{pty-jxcvs55h.js → pty-9kcgsz93.js} +10 -10
  75. package/dist/chunks/{pty-gy3ftesa.js → pty-9m59fmnv.js} +21 -21
  76. package/dist/chunks/{pty-4sksr709.js → pty-9pntmsg4.js} +4 -4
  77. package/dist/chunks/{pty-9fxpdq0y.js → pty-9pyd9sac.js} +27 -27
  78. package/dist/chunks/{pty-kwgqzsmm.js → pty-9t3jdf5e.js} +1 -1
  79. package/dist/chunks/{pty-4azybn4n.js → pty-9w2g1xxc.js} +35 -35
  80. package/dist/chunks/{pty-b428793c.js → pty-a03kqjf9.js} +12 -12
  81. package/dist/chunks/{pty-4dfh6zmw.js → pty-a08t2777.js} +10 -10
  82. package/dist/chunks/{pty-107fwvqp.js → pty-a4ma1ze7.js} +32 -32
  83. package/dist/chunks/{pty-kjr2p1gf.js → pty-a8emfn6x.js} +36 -36
  84. package/dist/chunks/{pty-5j4skxhh.js → pty-a8kmq1k9.js} +6 -6
  85. package/dist/chunks/{pty-ghe33san.js → pty-a8q88f3r.js} +13 -13
  86. package/dist/chunks/{pty-8gtqgsn5.js → pty-ae3ajeqv.js} +22 -22
  87. package/dist/chunks/{pty-sgaqms2z.js → pty-aqajd40k.js} +11 -11
  88. package/dist/chunks/{pty-1y981vcy.js → pty-b1xfxbkj.js} +29 -29
  89. package/dist/chunks/{pty-z5c2cr5p.js → pty-b2wnrkev.js} +14 -14
  90. package/dist/chunks/{pty-8w0tny4e.js → pty-b80d24dq.js} +1 -1
  91. package/dist/chunks/{pty-07770t2t.js → pty-b9grawmm.js} +5 -5
  92. package/dist/chunks/{pty-526v470z.js → pty-bcnz578n.js} +1 -1
  93. package/dist/chunks/{pty-vaynpwqg.js → pty-bgbx6e98.js} +8 -8
  94. package/dist/chunks/{pty-ewyzxja9.js → pty-bgmtf57a.js} +11 -11
  95. package/dist/chunks/{pty-q1hjdkpd.js → pty-bh5aff4j.js} +10 -10
  96. package/dist/chunks/{pty-gj9xpvv3.js → pty-bv56xrks.js} +5 -5
  97. package/dist/chunks/{pty-578n16w1.js → pty-bwp2svcp.js} +24 -24
  98. package/dist/chunks/{pty-pc04q47q.js → pty-ca5anfan.js} +22 -22
  99. package/dist/chunks/{pty-dhmh7aw6.js → pty-ca7w653e.js} +3 -3
  100. package/dist/chunks/{pty-ddmrj1q7.js → pty-ch3g59kk.js} +21 -21
  101. package/dist/chunks/{pty-vkxpz7g2.js → pty-cq37gk0t.js} +1 -1
  102. package/dist/chunks/{pty-3mke1r8k.js → pty-ct5dsnxp.js} +23 -23
  103. package/dist/chunks/{pty-0wmswe57.js → pty-cy0h5wfk.js} +20 -20
  104. package/dist/chunks/{pty-sgvsg5c7.js → pty-d4sp9rf7.js} +9 -9
  105. package/dist/chunks/{pty-47fetphe.js → pty-d4xwsxra.js} +29 -29
  106. package/dist/chunks/{pty-w7zd1bg5.js → pty-d9hwvmgm.js} +18 -18
  107. package/dist/chunks/{pty-cf3tj770.js → pty-d9wx0zpv.js} +8 -8
  108. package/dist/chunks/{pty-b1rqwz98.js → pty-dbqxyz5k.js} +7 -7
  109. package/dist/chunks/{pty-cj4mykbe.js → pty-dc2sw694.js} +7 -7
  110. package/dist/chunks/{pty-5zthbsee.js → pty-dpgvjqy9.js} +6 -6
  111. package/dist/chunks/pty-dx6znw8h.js +247 -0
  112. package/dist/chunks/{pty-wf7nhwxb.js → pty-ebcate35.js} +14 -14
  113. package/dist/chunks/{pty-gqqez5b8.js → pty-ej22x54z.js} +8 -8
  114. package/dist/chunks/{pty-gvvw2n81.js → pty-erx15syr.js} +9 -9
  115. package/dist/chunks/{pty-gtjpq3yd.js → pty-ew5awps8.js} +9 -9
  116. package/dist/chunks/{pty-xj584aw0.js → pty-ezz53t6j.js} +9 -9
  117. package/dist/chunks/{pty-s0fyf8fb.js → pty-f2mgn97g.js} +17 -17
  118. package/dist/chunks/{pty-bgks4w36.js → pty-f4nygem8.js} +25 -25
  119. package/dist/chunks/{pty-0pyqcms3.js → pty-f8q7mv7a.js} +1 -1
  120. package/dist/chunks/{pty-ng5shs3s.js → pty-fgh0kbhd.js} +1 -1
  121. package/dist/chunks/{pty-2pnhn36q.js → pty-g190xswt.js} +20 -20
  122. package/dist/chunks/{pty-te0vzhy5.js → pty-g2x47d18.js} +10 -10
  123. package/dist/chunks/{pty-0x4g6ndm.js → pty-g40n759s.js} +25 -25
  124. package/dist/chunks/{pty-hdsygwhy.js → pty-g820nd5k.js} +11 -11
  125. package/dist/chunks/{pty-b7n25z46.js → pty-gcmx30na.js} +15 -15
  126. package/dist/chunks/{pty-5g6xb262.js → pty-gh03ewrb.js} +25 -25
  127. package/dist/chunks/{pty-exrwhhqk.js → pty-ghkvzh5e.js} +3 -3
  128. package/dist/chunks/{pty-th5km1p3.js → pty-gv6a8nnw.js} +3 -3
  129. package/dist/chunks/{pty-nw5w3cjp.js → pty-h10ynz7s.js} +23 -23
  130. package/dist/chunks/{pty-f4dw8gwj.js → pty-h51vtk5a.js} +37 -37
  131. package/dist/chunks/{pty-nhy5jxhy.js → pty-hjt4xg1x.js} +3 -3
  132. package/dist/chunks/{pty-zjqdssy0.js → pty-hnbrmyfw.js} +11 -11
  133. package/dist/chunks/pty-hr9dp009.js +4 -0
  134. package/dist/chunks/{pty-41q0v4q7.js → pty-hwxg80b8.js} +7 -7
  135. package/dist/chunks/{pty-02zskd6f.js → pty-jrrn2k62.js} +3 -3
  136. package/dist/chunks/{pty-0996nyz8.js → pty-jwx4y25k.js} +3 -3
  137. package/dist/chunks/{pty-6126dgt1.js → pty-k00z28k0.js} +39 -39
  138. package/dist/chunks/{pty-abkdt1xb.js → pty-k16ay38w.js} +1 -1
  139. package/dist/chunks/{pty-rxyhbgbe.js → pty-k5pz2tr3.js} +15 -15
  140. package/dist/chunks/{pty-r8nahq2d.js → pty-kbme4tjs.js} +12 -12
  141. package/dist/chunks/{pty-ym4367vb.js → pty-khm98422.js} +19 -19
  142. package/dist/chunks/{pty-khy2t77v.js → pty-kscytsah.js} +30 -30
  143. package/dist/chunks/{pty-vyqtz9n7.js → pty-ksz0h0wp.js} +1 -1
  144. package/dist/chunks/{pty-f242nvhy.js → pty-kvne3rde.js} +5 -5
  145. package/dist/chunks/{pty-xa6by1f1.js → pty-kz49q7tk.js} +19 -19
  146. package/dist/chunks/{pty-9p3b3m98.js → pty-m27pyyd3.js} +5 -5
  147. package/dist/chunks/{pty-h91yv7bq.js → pty-m4kj3f5a.js} +16 -16
  148. package/dist/chunks/{pty-hv7vaf99.js → pty-m72y1cz2.js} +10 -10
  149. package/dist/chunks/{pty-z5wc9zep.js → pty-mewy3jp3.js} +10 -10
  150. package/dist/chunks/{pty-88sz8qcd.js → pty-mfhfdr54.js} +3 -3
  151. package/dist/chunks/{pty-bagg3g1z.js → pty-mzjyw1z2.js} +1 -1
  152. package/dist/chunks/{pty-qgp720zn.js → pty-n4a39eeb.js} +25 -25
  153. package/dist/chunks/{pty-yww5gzhe.js → pty-n76fdqym.js} +5 -5
  154. package/dist/chunks/{pty-d1f48wm0.js → pty-nh799jn3.js} +42 -42
  155. package/dist/chunks/{pty-7xggmshf.js → pty-nk3rvkbx.js} +6 -6
  156. package/dist/chunks/{pty-wreggwv7.js → pty-nkd0t4h0.js} +18 -18
  157. package/dist/chunks/{pty-sr4mx09d.js → pty-nsfnh1mv.js} +9 -9
  158. package/dist/chunks/{pty-tzaf1sec.js → pty-nwt9sqb3.js} +9 -9
  159. package/dist/chunks/{pty-gw1k03mf.js → pty-p2hgsd7c.js} +10 -10
  160. package/dist/chunks/{pty-14p0bf99.js → pty-p93a7xcd.js} +4 -4
  161. package/dist/chunks/{pty-j935v87r.js → pty-paphc93g.js} +2 -2
  162. package/dist/chunks/{pty-mtft99cd.js → pty-pecb0brz.js} +3 -3
  163. package/dist/chunks/{pty-7ce2cjd5.js → pty-phshbkdm.js} +16 -16
  164. package/dist/chunks/{pty-s4sy206n.js → pty-pks0s0zr.js} +30 -30
  165. package/dist/chunks/{pty-qq11w61w.js → pty-pmr4s4kc.js} +3 -3
  166. package/dist/chunks/{pty-jfdrs8g9.js → pty-ptns6nda.js} +10 -10
  167. package/dist/chunks/{pty-tp2tr8k0.js → pty-ptyjv6sg.js} +3 -3
  168. package/dist/chunks/{pty-by5v678g.js → pty-q509s3k3.js} +4 -4
  169. package/dist/chunks/{pty-zvpdk192.js → pty-q8z5f87d.js} +22 -22
  170. package/dist/chunks/{pty-jfqtm2ew.js → pty-qa3qhgw8.js} +3 -3
  171. package/dist/chunks/{pty-7dqw4kz8.js → pty-qgn6gcr1.js} +4 -4
  172. package/dist/chunks/{pty-qzdews7q.js → pty-qn64kb1t.js} +6 -6
  173. package/dist/chunks/{pty-9ef57syn.js → pty-qsak9770.js} +11 -11
  174. package/dist/chunks/{pty-rkg39e93.js → pty-qzyph8ek.js} +10 -10
  175. package/dist/chunks/{pty-q1tx050w.js → pty-r5cznk00.js} +7 -7
  176. package/dist/chunks/{pty-c9cenec4.js → pty-r6ejgkfw.js} +4 -4
  177. package/dist/chunks/{pty-bxft0ra9.js → pty-r846xv8j.js} +31 -31
  178. package/dist/chunks/{pty-cd4mc13g.js → pty-r9babyk8.js} +1 -1
  179. package/dist/chunks/{pty-rxjhrqx1.js → pty-rarc5met.js} +21 -21
  180. package/dist/chunks/{pty-3zhfhk0f.js → pty-rbqs1qrs.js} +2 -2
  181. package/dist/chunks/{pty-76mrr06k.js → pty-rggw41sg.js} +39 -39
  182. package/dist/chunks/{pty-0gdmqesm.js → pty-rhjbct0v.js} +3 -3
  183. package/dist/chunks/{pty-81swgkk7.js → pty-rk0rec3h.js} +7 -7
  184. package/dist/chunks/{pty-pqd1mzxt.js → pty-rpbnx6sk.js} +7 -7
  185. package/dist/chunks/{pty-0xkh6216.js → pty-rraf0nd7.js} +32 -32
  186. package/dist/chunks/{pty-bw8xqn9c.js → pty-rs7hs26b.js} +52 -52
  187. package/dist/chunks/{pty-feebpcf8.js → pty-rvkgvnp4.js} +15 -15
  188. package/dist/chunks/{pty-b5svzbqe.js → pty-rwzmtr9v.js} +8 -8
  189. package/dist/chunks/{pty-m2r7xkr0.js → pty-s0r9fgtt.js} +17 -17
  190. package/dist/chunks/{pty-cjr8y0wq.js → pty-s8zdkf47.js} +16 -16
  191. package/dist/chunks/{pty-c487kk09.js → pty-s9smgjtn.js} +40 -40
  192. package/dist/chunks/{pty-eea9n1gg.js → pty-say8dh30.js} +4 -4
  193. package/dist/chunks/{pty-0jzeq7bg.js → pty-sh4h10fx.js} +7 -7
  194. package/dist/chunks/{pty-mwva2wqz.js → pty-sj3w9yv9.js} +16 -16
  195. package/dist/chunks/{pty-v6wk655t.js → pty-snrqdf1w.js} +33 -33
  196. package/dist/chunks/{pty-m0f7gyab.js → pty-sqmjn1cn.js} +23 -23
  197. package/dist/chunks/{pty-fpmq6gma.js → pty-t0fxg8b9.js} +3 -3
  198. package/dist/chunks/{pty-p1wf2k30.js → pty-t0x5rdq8.js} +7 -7
  199. package/dist/chunks/{pty-cgs7ndjq.js → pty-t5q1ccxn.js} +6 -6
  200. package/dist/chunks/{pty-2x9w7gwc.js → pty-tfngb0ww.js} +2 -2
  201. package/dist/chunks/{pty-ajghh6ra.js → pty-tkd1aj9d.js} +4 -4
  202. package/dist/chunks/{pty-bh8p3ktg.js → pty-ty116xf8.js} +5 -5
  203. package/dist/chunks/{pty-qr736bxy.js → pty-v2hnet1n.js} +10 -10
  204. package/dist/chunks/{pty-ezs85qj9.js → pty-v52wsnkd.js} +1 -1
  205. package/dist/chunks/{pty-3a50zsz9.js → pty-v5d98jas.js} +16 -16
  206. package/dist/chunks/{pty-9cg0vjy1.js → pty-v5w9803s.js} +7 -7
  207. package/dist/chunks/{pty-r8febyms.js → pty-vg4rqzx2.js} +15 -15
  208. package/dist/chunks/{pty-8kcmt1fk.js → pty-vr048kar.js} +7 -7
  209. package/dist/chunks/{pty-0x1qwe4m.js → pty-vx0zf1rd.js} +8 -8
  210. package/dist/chunks/{pty-qz49fwgp.js → pty-w4arg62q.js} +5 -5
  211. package/dist/chunks/{pty-r0xf0e5c.js → pty-w7j91m09.js} +23 -23
  212. package/dist/chunks/{pty-egkwkxxa.js → pty-wcpsbhns.js} +87 -87
  213. package/dist/chunks/{pty-xdzdvgbv.js → pty-wfjha01d.js} +18 -18
  214. package/dist/chunks/{pty-jrvvap85.js → pty-wmzeh62n.js} +20 -20
  215. package/dist/chunks/{pty-c4twzx9w.js → pty-x0dwkdkr.js} +20 -20
  216. package/dist/chunks/{pty-pe79rxdj.js → pty-x76s0de8.js} +26 -26
  217. package/dist/chunks/{pty-yfbmjfv9.js → pty-xhct4fr6.js} +6 -6
  218. package/dist/chunks/{pty-g254301b.js → pty-xp0rt39m.js} +1 -1
  219. package/dist/chunks/{pty-p9ts1dg8.js → pty-xzh9rhk3.js} +12 -12
  220. package/dist/chunks/{pty-fr2caje5.js → pty-y8tez433.js} +36 -36
  221. package/dist/chunks/{pty-szjmac0q.js → pty-yc5avrgj.js} +20 -20
  222. package/dist/chunks/{pty-f2n192rq.js → pty-yp2x3t23.js} +3 -3
  223. package/dist/chunks/{pty-s4enseaf.js → pty-yrznvahk.js} +1 -1
  224. package/dist/chunks/{pty-v9cmgtcf.js → pty-yv9w4q4m.js} +1 -1
  225. package/dist/chunks/{pty-cny5rd43.js → pty-yvvvp4gn.js} +7 -7
  226. package/dist/chunks/{pty-51kcvgxx.js → pty-z2h7x86s.js} +13 -13
  227. package/dist/chunks/{pty-102jvkd5.js → pty-z2p9cf6c.js} +58 -58
  228. package/dist/chunks/{pty-29x78va6.js → pty-z63w68vq.js} +4 -4
  229. package/dist/chunks/{pty-6qw5vjfk.js → pty-z69s9t6b.js} +4 -4
  230. package/dist/chunks/{pty-1khr35v4.js → pty-zc2nqsz3.js} +25 -25
  231. package/dist/chunks/{pty-yy158baq.js → pty-zh1p0kdw.js} +9 -9
  232. package/dist/chunks/{pty-62k5e5wb.js → pty-zm6ygejy.js} +17 -17
  233. package/dist/chunks/{pty-an126cry.js → pty-zn0t31cj.js} +28 -28
  234. package/dist/codemode/instructions.js +6 -6
  235. package/dist/command.js +63 -63
  236. package/dist/config/discovery.js +60 -60
  237. package/dist/config/normalize.js +17 -17
  238. package/dist/config/plugin/agent.js +94 -94
  239. package/dist/config/plugin/command.js +175 -175
  240. package/dist/config/plugin/compaction.js +129 -129
  241. package/dist/config/plugin/formatter.js +95 -95
  242. package/dist/config/plugin/image.js +94 -94
  243. package/dist/config/plugin/instruction.js +67 -67
  244. package/dist/config/plugin/location-watcher.js +94 -94
  245. package/dist/config/plugin/mcp.js +101 -101
  246. package/dist/config/plugin/policy.js +93 -93
  247. package/dist/config/plugin/provider.js +92 -92
  248. package/dist/config/plugin/reference.js +96 -96
  249. package/dist/config/plugin/shell.js +94 -94
  250. package/dist/config/plugin/skill-file.js +75 -75
  251. package/dist/config/plugin/skill.js +111 -111
  252. package/dist/config/plugin/snapshot.js +94 -94
  253. package/dist/config/plugin/source.js +96 -96
  254. package/dist/config/plugin/tool-output.js +93 -93
  255. package/dist/config/plugin/websearch.js +92 -92
  256. package/dist/config/plugin/worktree.js +96 -96
  257. package/dist/config/variable.js +2 -2
  258. package/dist/config.js +99 -99
  259. package/dist/credential.js +67 -67
  260. package/dist/database/database.js +53 -53
  261. package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
  262. package/dist/database/drizzle/effect-sqlite/index.js +4 -4
  263. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  264. package/dist/database/drizzle/index.js +9 -9
  265. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  266. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  267. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  268. package/dist/database/drizzle.js +9 -9
  269. package/dist/database/migration.gen.js +37 -37
  270. package/dist/database/migration.js +38 -38
  271. package/dist/database/v1-migration.bun.js +9 -9
  272. package/dist/effect/app-node-builder.js +238 -238
  273. package/dist/environment/environment.js +66 -66
  274. package/dist/environment/index.js +66 -66
  275. package/dist/event-logger.js +9 -9
  276. package/dist/file-access.js +78 -78
  277. package/dist/file-mutation.js +67 -67
  278. package/dist/filesystem/location-watcher-policy.js +5 -5
  279. package/dist/filesystem/location-watcher.js +189 -189
  280. package/dist/filesystem/search.js +68 -68
  281. package/dist/filesystem/watcher-binding.js +3 -3
  282. package/dist/filesystem/watcher.js +14 -14
  283. package/dist/filesystem.js +69 -69
  284. package/dist/form.js +69 -69
  285. package/dist/formatter/builtins.js +3 -3
  286. package/dist/formatter.js +67 -67
  287. package/dist/generate.js +74 -74
  288. package/dist/git.js +5 -5
  289. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +2 -2
  290. package/dist/github-copilot/copilot-provider.js +3 -3
  291. package/dist/github-copilot/models.js +3 -3
  292. package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
  293. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +3 -3
  294. package/dist/image/photon.js +1 -1
  295. package/dist/image.js +5 -5
  296. package/dist/instance/service.js +5 -5
  297. package/dist/instance.js +310 -310
  298. package/dist/instruction-discovery.js +67 -67
  299. package/dist/instructions/builtins.js +65 -65
  300. package/dist/instructions/index.js +3 -3
  301. package/dist/integration.js +71 -71
  302. package/dist/job.js +63 -63
  303. package/dist/kv.js +58 -58
  304. package/dist/location-activity.js +56 -56
  305. package/dist/location-mutation.js +30 -30
  306. package/dist/location-service-map.js +66 -66
  307. package/dist/location-services.js +308 -308
  308. package/dist/location.js +67 -67
  309. package/dist/mcp/client.js +17 -17
  310. package/dist/mcp/index.js +81 -81
  311. package/dist/mcp/instructions.js +99 -99
  312. package/dist/mcp/stdio.js +63 -63
  313. package/dist/modal/models.js +3 -3
  314. package/dist/model-resolver.js +71 -71
  315. package/dist/model.js +10 -10
  316. package/dist/models-dev.js +72 -72
  317. package/dist/permission/saved.js +64 -64
  318. package/dist/permission.js +87 -87
  319. package/dist/persistent-pty/index.js +70 -70
  320. package/dist/persistent-pty.js +56 -56
  321. package/dist/plugin/agent.js +76 -76
  322. package/dist/plugin/command.js +72 -72
  323. package/dist/plugin/hooks.js +5 -5
  324. package/dist/plugin/host.js +182 -182
  325. package/dist/plugin/instance.js +5 -5
  326. package/dist/plugin/internal.js +280 -280
  327. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  328. package/dist/plugin/models-dev.js +61 -61
  329. package/dist/plugin/module.js +5 -5
  330. package/dist/plugin/optimize.js +4 -4
  331. package/dist/plugin/plan.js +76 -76
  332. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  333. package/dist/plugin/provider/anthropic.js +2 -2
  334. package/dist/plugin/provider/azure.js +96 -96
  335. package/dist/plugin/provider/cerebras.js +2 -2
  336. package/dist/plugin/provider/cloudflare-ai-gateway.js +96 -96
  337. package/dist/plugin/provider/cloudflare-workers-ai.js +96 -96
  338. package/dist/plugin/provider/configured.js +94 -94
  339. package/dist/plugin/provider/digitalocean.js +63 -63
  340. package/dist/plugin/provider/github-copilot.js +65 -65
  341. package/dist/plugin/provider/gitlab.js +3 -3
  342. package/dist/plugin/provider/google-vertex.js +2 -2
  343. package/dist/plugin/provider/kilo.js +2 -2
  344. package/dist/plugin/provider/llmgateway.js +61 -61
  345. package/dist/plugin/provider/lmstudio.js +97 -97
  346. package/dist/plugin/provider/modal.js +64 -64
  347. package/dist/plugin/provider/nvidia.js +2 -2
  348. package/dist/plugin/provider/ollama.js +97 -97
  349. package/dist/plugin/provider/openai.js +64 -64
  350. package/dist/plugin/provider/opencode.js +64 -64
  351. package/dist/plugin/provider/openrouter.js +3 -3
  352. package/dist/plugin/provider/poe.js +60 -60
  353. package/dist/plugin/provider/sap-ai-core.js +2 -2
  354. package/dist/plugin/provider/snowflake-cortex.js +96 -96
  355. package/dist/plugin/provider/vercel.js +2 -2
  356. package/dist/plugin/provider/vllm.js +97 -97
  357. package/dist/plugin/provider/xai.js +62 -62
  358. package/dist/plugin/provider/zenmux.js +2 -2
  359. package/dist/plugin/provider.js +130 -130
  360. package/dist/plugin/sdk.js +61 -61
  361. package/dist/plugin/service.js +3 -3
  362. package/dist/plugin/skill.js +111 -111
  363. package/dist/plugin/supervisor.js +299 -299
  364. package/dist/plugin/update.js +3 -3
  365. package/dist/plugin/variant.js +4 -4
  366. package/dist/plugin/vcs/git.js +64 -64
  367. package/dist/plugin/vcs/hg.js +64 -64
  368. package/dist/plugin/warming.js +92 -92
  369. package/dist/plugin/websearch/exa.js +6 -6
  370. package/dist/plugin/websearch/firecrawl.js +7 -7
  371. package/dist/plugin/websearch/index.js +7 -7
  372. package/dist/plugin/websearch/mcp.js +3 -3
  373. package/dist/plugin/websearch/parallel.js +7 -7
  374. package/dist/plugin/websearch/tavily.js +4 -4
  375. package/dist/plugin.js +194 -194
  376. package/dist/project/schema.js +7 -7
  377. package/dist/project.js +68 -68
  378. package/dist/provider.js +5 -5
  379. package/dist/pty/schema.js +3 -3
  380. package/dist/pty.js +75 -75
  381. package/dist/reference/instructions.js +69 -69
  382. package/dist/reference.js +71 -71
  383. package/dist/repository-cache.js +62 -62
  384. package/dist/repository.js +3 -3
  385. package/dist/ripgrep.js +67 -67
  386. package/dist/rpc.js +64 -64
  387. package/dist/session/command.js +58 -58
  388. package/dist/session/compaction.js +105 -105
  389. package/dist/session/context.js +121 -121
  390. package/dist/session/environment.js +5 -5
  391. package/dist/session/error.js +6 -6
  392. package/dist/session/execution/restart.js +120 -120
  393. package/dist/session/execution.js +101 -101
  394. package/dist/session/generate.js +120 -120
  395. package/dist/session/history.js +8 -8
  396. package/dist/session/inbox.js +67 -67
  397. package/dist/session/info.js +2 -2
  398. package/dist/session/instruction-entry.js +59 -59
  399. package/dist/session/instruction-state.js +2 -2
  400. package/dist/session/instructions.js +72 -72
  401. package/dist/session/message-updater.js +3 -3
  402. package/dist/session/model-request.js +90 -90
  403. package/dist/session/model-transport.js +7 -7
  404. package/dist/session/move.js +105 -105
  405. package/dist/session/projector.js +65 -65
  406. package/dist/session/prompt.js +78 -78
  407. package/dist/session/provider-context.js +3 -3
  408. package/dist/session/revert.js +65 -65
  409. package/dist/session/run-coordinator.js +3 -3
  410. package/dist/session/runner/index.js +3 -3
  411. package/dist/session/runner/llm.js +192 -192
  412. package/dist/session/runner/model.js +71 -71
  413. package/dist/session/runner/retry.js +89 -89
  414. package/dist/session/runner/step.js +96 -96
  415. package/dist/session/runner/to-llm-message.js +2 -2
  416. package/dist/session/schema.js +5 -5
  417. package/dist/session/session.js +139 -139
  418. package/dist/session/shell.js +104 -104
  419. package/dist/session/skill.js +77 -77
  420. package/dist/session/stats.js +8 -8
  421. package/dist/session/store.js +67 -67
  422. package/dist/session/subagent-job.js +174 -174
  423. package/dist/session/system-prompt.js +3 -3
  424. package/dist/session/title.js +124 -124
  425. package/dist/session/to-session-error.js +86 -86
  426. package/dist/session/transfer.js +117 -117
  427. package/dist/session.js +185 -185
  428. package/dist/shell/parse.js +2 -2
  429. package/dist/shell/select.js +7 -7
  430. package/dist/shell.js +107 -107
  431. package/dist/skill/discovery.js +5 -5
  432. package/dist/skill/instructions.js +79 -79
  433. package/dist/skill.js +84 -84
  434. package/dist/snapshot.js +69 -69
  435. package/dist/tool/mcp.js +96 -96
  436. package/dist/tool/plugin/edit.js +92 -92
  437. package/dist/tool/plugin/glob.js +89 -89
  438. package/dist/tool/plugin/grep.js +95 -95
  439. package/dist/tool/plugin/opencode.js +3 -3
  440. package/dist/tool/plugin/patch.js +94 -94
  441. package/dist/tool/plugin/question.js +77 -77
  442. package/dist/tool/plugin/read.js +93 -93
  443. package/dist/tool/plugin/shell.js +180 -180
  444. package/dist/tool/plugin/skill.js +87 -87
  445. package/dist/tool/plugin/subagent.js +181 -181
  446. package/dist/tool/plugin/webfetch.js +84 -84
  447. package/dist/tool/plugin/websearch.js +86 -86
  448. package/dist/tool/plugin/write.js +94 -94
  449. package/dist/tool/read-filesystem.js +70 -70
  450. package/dist/tool-output.js +5 -5
  451. package/dist/tool.js +9 -9
  452. package/dist/v1/config/agent.js +6 -6
  453. package/dist/v1/config/attachment.js +3 -3
  454. package/dist/v1/config/command.js +3 -3
  455. package/dist/v1/config/config.js +14 -14
  456. package/dist/v1/config/error.js +3 -3
  457. package/dist/v1/config/formatter.js +7 -7
  458. package/dist/v1/config/lsp.js +5 -5
  459. package/dist/v1/config/mcp.js +3 -3
  460. package/dist/v1/config/migrate.js +3 -3
  461. package/dist/v1/config/permission.js +7 -7
  462. package/dist/v1/config/plugin.js +3 -3
  463. package/dist/v1/config/provider.js +3 -3
  464. package/dist/v1/config/skills.js +3 -3
  465. package/dist/vcs.js +67 -67
  466. package/dist/websearch.js +67 -67
  467. package/dist/wellknown/plugin.js +60 -60
  468. package/dist/wellknown.js +63 -63
  469. package/dist/workspace/driver.js +5 -5
  470. package/dist/workspace.js +65 -65
  471. package/dist/worktree/directory.js +3 -3
  472. package/dist/worktree/git.js +5 -5
  473. package/dist/worktree/refresh.js +298 -298
  474. package/dist/worktree.js +73 -73
  475. package/package.json +8 -8
  476. package/dist/chunks/pty-0mesazry.js +0 -4
  477. package/dist/chunks/pty-jcst6tya.js +0 -247
  478. package/dist/chunks/pty-rnevd4w8.js +0 -22
  479. /package/dist/chunks/{pty-ghrzdqqx.js → pty-23kefcxh.js} +0 -0
  480. /package/dist/chunks/{pty-5sjkzzsa.js → pty-3zxpfz3n.js} +0 -0
  481. /package/dist/chunks/{pty-rbygrj0c.js → pty-9nepbqpa.js} +0 -0
  482. /package/dist/chunks/{pty-60geffh5.js → pty-c3se2jx9.js} +0 -0
@@ -4,12 +4,12 @@ import {
4
4
  RelativePath2
5
5
  } from "./pty-922hggd3.js";
6
6
  import {
7
- Service70,
8
- node74
9
- } from "./pty-3pmjwr1e.js";
7
+ Service48,
8
+ node51
9
+ } from "./pty-6jyd9m4h.js";
10
10
  import {
11
11
  Content2
12
- } from "./pty-rrdk89a5.js";
12
+ } from "./pty-56tf4rq2.js";
13
13
  import {
14
14
  detect2
15
15
  } from "./pty-3smtnn6g.js";
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service2,
36
+ Service: () => Service8,
37
37
  TextPage: () => TextPage2,
38
- node: () => node4,
38
+ node: () => node11,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service2 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -326,13 +326,13 @@ var nthNewline = (bytes, count) => {
326
326
  return index + 1;
327
327
  }
328
328
  };
329
- var layer = Layer.effect(Service2, Effect.gen(function* () {
330
- const environment = yield* Service70;
331
- return Service2.of({
329
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
330
+ const environment = yield* Service48;
331
+ return Service8.of({
332
332
  list: environment.files.list,
333
333
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
334
334
  });
335
335
  }));
336
- var node4 = makeLocationNode({ service: Service2, layer, deps: [node74] });
336
+ var node11 = makeLocationNode({ service: Service8, layer, deps: [node51] });
337
337
 
338
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service2, read2, node4, exports_read_filesystem };
338
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node11, exports_read_filesystem };
@@ -1,14 +1,14 @@
1
1
  import {
2
- ID16,
2
+ ID18,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./pty-9p3b3m98.js";
5
+ } from "./pty-m27pyyd3.js";
6
6
  import {
7
- ID15,
7
+ ID17,
8
8
  VariantID2,
9
9
  Family2,
10
- Info28
11
- } from "./pty-wnqzfj2j.js";
10
+ Info32
11
+ } from "./pty-1awm1f41.js";
12
12
  import {
13
13
  __export
14
14
  } from "./pty-9rqn6x4v.js";
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID15.make(id);
90
+ const key = ID17.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info28.make({
115
- ...Info28.default(ID16.githubCopilot, id),
114
+ return Info32.make({
115
+ ...Info32.default(ID18.githubCopilot, id),
116
116
  id,
117
- modelID: ID15.make(remote.id),
118
- providerID: ID16.githubCopilot,
117
+ modelID: ID17.make(remote.id),
118
+ providerID: ID18.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -5,28 +5,28 @@ import {
5
5
  RelativePath2
6
6
  } from "./pty-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./pty-qpw0y00r.js";
8
+ Service72
9
+ } from "./pty-60r077ss.js";
10
10
  import {
11
- Service70
12
- } from "./pty-3pmjwr1e.js";
11
+ Service48
12
+ } from "./pty-6jyd9m4h.js";
13
13
  import {
14
14
  InvalidPatternError2,
15
- Service17
16
- } from "./pty-m5aw9kqs.js";
15
+ Service15
16
+ } from "./pty-59n4zhg4.js";
17
17
  import {
18
18
  DEFAULT_SEARCH_LIMIT2,
19
19
  DEFAULT_SEARCH_TIMEOUT_MS2,
20
20
  GrepInput2,
21
21
  Entry2,
22
22
  Match2
23
- } from "./pty-rrdk89a5.js";
23
+ } from "./pty-56tf4rq2.js";
24
24
  import {
25
- Service51
26
- } from "./pty-q6rs4hjt.js";
25
+ Service61
26
+ } from "./pty-6vwh2emb.js";
27
27
  import {
28
- Service13
29
- } from "./pty-7ce2cjd5.js";
28
+ Service60
29
+ } from "./pty-phshbkdm.js";
30
30
  import {
31
31
  __export
32
32
  } from "./pty-9rqn6x4v.js";
@@ -35,17 +35,17 @@ import {
35
35
  var exports_grep = {};
36
36
  __export(exports_grep, {
37
37
  GrepTool: () => exports_grep,
38
- Input: () => Input11,
39
- Output: () => Output8,
40
- Plugin: () => Plugin12,
41
- name: () => name11,
42
- toModelContent: () => toModelContent6
38
+ Input: () => Input7,
39
+ Output: () => Output4,
40
+ Plugin: () => Plugin21,
41
+ name: () => name7,
42
+ toModelContent: () => toModelContent3
43
43
  });
44
44
  import { ToolFailure } from "@opencode/ai";
45
45
  import { Effect, Schema } from "effect";
46
46
  import path from "path";
47
- var name11 = "grep";
48
- var Input11 = Schema.Struct({
47
+ var name7 = "grep";
48
+ var Input7 = Schema.Struct({
49
49
  pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
50
50
  description: "Regular expression or literal text to match in file contents."
51
51
  }),
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
65
65
  description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
66
66
  })
67
67
  });
68
- var Output8 = Schema.Array(Match2);
69
- var toModelContent6 = (matches, truncated = false) => {
68
+ var Output4 = Schema.Array(Match2);
69
+ var toModelContent3 = (matches, truncated = false) => {
70
70
  const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
71
71
  let current = "";
72
72
  for (const match of matches) {
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
83
83
  return lines.join(`
84
84
  `);
85
85
  };
86
- var Plugin12 = {
86
+ var Plugin21 = {
87
87
  id: "opencode.tool.grep",
88
88
  effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
89
- const environment = yield* Service70;
90
- const ripgrep = yield* Service17;
91
- const location = yield* Service76;
92
- const access = yield* Service13;
93
- const permission = yield* Service51;
89
+ const environment = yield* Service48;
90
+ const ripgrep = yield* Service15;
91
+ const location = yield* Service72;
92
+ const access = yield* Service60;
93
+ const permission = yield* Service61;
94
94
  yield* ctx.tool.transform((editor) => editor.add({
95
- name: name11,
95
+ name: name7,
96
96
  options: { codemode: false },
97
97
  description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
98
- input: Input11,
99
- output: Output8,
98
+ input: Input7,
99
+ output: Output4,
100
100
  execute: (input, context) => Effect.gen(function* () {
101
101
  const source = { type: "tool", messageID: context.messageID, id: context.id };
102
102
  const target = yield* access.resolve({ path: input.path ?? "." });
103
103
  yield* access.authorizeExternal([target], context);
104
104
  yield* permission.assert({
105
- action: name11,
105
+ action: name7,
106
106
  resources: [input.pattern],
107
107
  save: ["*"],
108
108
  metadata: {
@@ -144,7 +144,7 @@ var Plugin12 = {
144
144
  return { matches: matches.slice(0, limit), truncated: matches.length > limit };
145
145
  }).pipe(Effect.map((result) => ({
146
146
  output: result.matches,
147
- content: toModelContent6(result.matches.map((match) => ({
147
+ content: toModelContent3(result.matches.map((match) => ({
148
148
  ...match,
149
149
  entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
150
150
  })), result.truncated),
@@ -154,4 +154,4 @@ var Plugin12 = {
154
154
  })
155
155
  };
156
156
 
157
- export { name11, Input11, Output8, toModelContent6, Plugin12, exports_grep };
157
+ export { name7, Input7, Output4, toModelContent3, Plugin21, exports_grep };
@@ -3,22 +3,22 @@ import {
3
3
  } from "./pty-922hggd3.js";
4
4
  import {
5
5
  WorktreeError2,
6
- node83
7
- } from "./pty-jefma2gq.js";
6
+ node79
7
+ } from "./pty-9fwp41vh.js";
8
8
  import {
9
- ID18
10
- } from "./pty-81swgkk7.js";
9
+ ID13
10
+ } from "./pty-rk0rec3h.js";
11
11
  import {
12
12
  Slug2
13
13
  } from "./pty-gebd4c9n.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./pty-4z80d8a9.js";
17
+ } from "./pty-44dkc7mg.js";
18
18
  import {
19
19
  Service79,
20
20
  node84
21
- } from "./pty-8w0tny4e.js";
21
+ } from "./pty-b80d24dq.js";
22
22
  import {
23
23
  ProjectTable2
24
24
  } from "./pty-8p4f9s12.js";
@@ -26,16 +26,16 @@ import {
26
26
  WorktreeTable2
27
27
  } from "./pty-cfpkc3c9.js";
28
28
  import {
29
- Service76,
30
- node81
31
- } from "./pty-qpw0y00r.js";
29
+ Service72,
30
+ node77
31
+ } from "./pty-60r077ss.js";
32
32
  import {
33
33
  DirectoryUnavailableError2,
34
- canonical3
35
- } from "./pty-th5km1p3.js";
34
+ canonical2
35
+ } from "./pty-gv6a8nnw.js";
36
36
  import {
37
- make19
38
- } from "./pty-a31gkhvw.js";
37
+ make12
38
+ } from "./pty-8dar2rz8.js";
39
39
  import {
40
40
  create3
41
41
  } from "./pty-kg06axw8.js";
@@ -46,24 +46,24 @@ import {
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: () => Event16,
53
- Info: () => Info14,
52
+ Event: () => Event4,
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: () => Service62,
60
+ Service: () => Service17,
61
61
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
62
62
  StrategyID: () => StrategyID2,
63
63
  StrategyUnavailableError: () => StrategyUnavailableError2,
64
64
  UnsupportedLocationError: () => UnsupportedLocationError2,
65
65
  Worktree: () => exports_worktree2,
66
- node: () => node65
66
+ node: () => node21
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/util/process";
76
76
  import { ChildProcess } from "effect/unstable/process";
77
77
  import { OperationError as OperationError2 } from "@opencode/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 Info14 = 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: ID18, directory: Schema.optional(AbsolutePath2) }) {
89
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID13, 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 Event16 = Worktree.Event;
103
+ var Event4 = Worktree.Event;
104
104
 
105
- class Service62 extends Context.Service()("@opencode/v2/Worktree") {
105
+ class Service17 extends Context.Service()("@opencode/v2/Worktree") {
106
106
  }
107
- var layer = Layer.effect(Service62, Effect.gen(function* () {
107
+ var layer = Layer.effect(Service17, 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* Service76;
113
+ const location = yield* Service72;
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* make19;
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(Service62, Effect.gen(function* () {
135
135
  });
136
136
  const changed = Effect.fnUntraced(function* (update) {
137
137
  if (update)
138
- yield* bus.publish(Event16.Updated, { projectID });
138
+ yield* bus.publish(Event4.Updated, { projectID });
139
139
  });
140
140
  const ops = {
141
141
  list: Effect.fnUntraced(function* () {
@@ -161,7 +161,7 @@ var layer = Layer.effect(Service62, 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,7 +193,7 @@ var layer = Layer.effect(Service62, 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) };
196
+ const result = { directory: yield* canonical2(fs, created.directory) };
197
197
  yield* changed(yield* ops.create({
198
198
  directory: result.directory,
199
199
  strategy: selected.id,
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
218
218
  });
219
219
  const remove = Effect.fn("Worktree.remove")(function* (input) {
220
220
  yield* local;
221
- const worktreeDirectory = yield* canonical3(fs, input.directory);
221
+ const worktreeDirectory = yield* canonical2(fs, input.directory);
222
222
  const stored = yield* ops.find(worktreeDirectory);
223
223
  if (!stored?.strategy)
224
224
  return yield* new InvalidDirectoryError2({ directory: worktreeDirectory });
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
239
239
  for (const strategy of strategies) {
240
240
  const entries = yield* strategy.list(location.project.directory).pipe(Effect.mapError((error) => operationError(strategy.id, "list", error)), Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.succeed([])));
241
241
  for (const entry of entries) {
242
- const directory = yield* canonical3(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
242
+ const directory = yield* canonical2(fs, entry.directory).pipe(Effect.catchTag("Worktree.DirectoryUnavailableError", () => Effect.undefined));
243
243
  if (!directory || discovered.has(directory))
244
244
  continue;
245
245
  discovered.set(directory, {
@@ -257,7 +257,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
257
257
  yield* changed(changes.updated.length > 0 || changes.removed.length > 0);
258
258
  return changes;
259
259
  });
260
- return Service62.of({
260
+ return Service17.of({
261
261
  transform: state.transform,
262
262
  reload: state.reload,
263
263
  list: Effect.fn("Worktree.list")(function* () {
@@ -269,10 +269,10 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
269
269
  refresh
270
270
  });
271
271
  }));
272
- var node65 = makeLocationNode({
273
- service: Service62,
272
+ var node21 = makeLocationNode({
273
+ service: Service17,
274
274
  layer,
275
- deps: [FSUtil.node, node83, node84, node85, AppProcess.node, node81, Global.node]
275
+ deps: [FSUtil.node, node79, node84, node85, AppProcess.node, node77, Global.node]
276
276
  });
277
277
  function operationError(strategy, operation, error) {
278
278
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -282,4 +282,4 @@ function operationError(strategy, operation, error) {
282
282
  });
283
283
  }
284
284
 
285
- export { StrategyID2, CreateInput3, RemoveInput2, RefreshResult2, Info14, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event16, Service62, node65, exports_worktree2, OperationError2 };
285
+ export { StrategyID2, CreateInput2, RemoveInput2, RefreshResult2, Info3, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, UnsupportedLocationError2, Event4, Service17, node21, exports_worktree2, OperationError2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./pty-c487kk09.js";
3
+ Service49
4
+ } from "./pty-s9smgjtn.js";
5
5
  import {
6
6
  observe2
7
7
  } from "./pty-qsdy395h.js";
@@ -13,14 +13,14 @@ import {
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin29
16
+ Plugin: () => Plugin39
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin29 = define({
20
+ var Plugin39 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service67;
23
+ const config = yield* Service49;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin29 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin29, exports_websearch2 };
35
+ export { Plugin39, exports_websearch2 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service68
3
- } from "./pty-pc04q47q.js";
2
+ Service50
3
+ } from "./pty-ca5anfan.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./pty-0gdmqesm.js";
6
+ } from "./pty-rhjbct0v.js";
7
7
  import {
8
8
  AbsolutePath2
9
9
  } from "./pty-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service38
13
- } from "./pty-w7zd1bg5.js";
12
+ Service45
13
+ } from "./pty-d9hwvmgm.js";
14
14
  import {
15
- Service76
16
- } from "./pty-qpw0y00r.js";
15
+ Service72
16
+ } from "./pty-60r077ss.js";
17
17
  import {
18
18
  __export
19
19
  } from "./pty-9rqn6x4v.js";
@@ -22,24 +22,24 @@ import {
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin38
25
+ Plugin: () => Plugin30
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin38 = define({
32
+ var Plugin30 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service38;
35
+ const discovery = yield* Service45;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service76;
42
- const watcher = yield* Service68;
41
+ const location = yield* Service72;
42
+ const watcher = yield* Service50;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin38, exports_instruction };
117
+ export { Plugin30, exports_instruction };
@@ -5,26 +5,26 @@ import {
5
5
  RelativePath2
6
6
  } from "./pty-922hggd3.js";
7
7
  import {
8
- Service76
9
- } from "./pty-qpw0y00r.js";
8
+ Service72
9
+ } from "./pty-60r077ss.js";
10
10
  import {
11
- Service70
12
- } from "./pty-3pmjwr1e.js";
11
+ Service48
12
+ } from "./pty-6jyd9m4h.js";
13
13
  import {
14
- Service17
15
- } from "./pty-m5aw9kqs.js";
14
+ Service15
15
+ } from "./pty-59n4zhg4.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./pty-rrdk89a5.js";
21
+ } from "./pty-56tf4rq2.js";
22
22
  import {
23
- Service51
24
- } from "./pty-q6rs4hjt.js";
23
+ Service61
24
+ } from "./pty-6vwh2emb.js";
25
25
  import {
26
- Service13
27
- } from "./pty-7ce2cjd5.js";
26
+ Service60
27
+ } from "./pty-phshbkdm.js";
28
28
  import {
29
29
  __export
30
30
  } from "./pty-9rqn6x4v.js";
@@ -35,9 +35,9 @@ __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
36
  Input: () => Input8,
37
37
  Output: () => Output5,
38
- Plugin: () => Plugin8,
38
+ Plugin: () => Plugin22,
39
39
  name: () => name8,
40
- toModelContent: () => toModelContent5
40
+ toModelContent: () => toModelContent4
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
@@ -56,21 +56,21 @@ var Input8 = Schema.Struct({
56
56
  })
57
57
  });
58
58
  var Output5 = Schema.Array(Entry2);
59
- var toModelContent5 = (entries, truncated = false) => {
59
+ var toModelContent4 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin8 = {
66
+ var Plugin22 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service70;
70
- const ripgrep = yield* Service17;
71
- const location = yield* Service76;
72
- const access = yield* Service13;
73
- const permission = yield* Service51;
69
+ const environment = yield* Service48;
70
+ const ripgrep = yield* Service15;
71
+ const location = yield* Service72;
72
+ const access = yield* Service60;
73
+ const permission = yield* Service61;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
75
  name: name8,
76
76
  options: { codemode: false },
@@ -118,11 +118,11 @@ var Plugin8 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name8, Input8, Output5, toModelContent5, Plugin8, exports_glob };
128
+ export { name8, Input8, Output5, toModelContent4, Plugin22, exports_glob };