@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
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-4z80d8a9.js";
4
+ } from "./pty-44dkc7mg.js";
5
5
  import {
6
6
  Key3,
7
7
  removed2,
8
- make18,
8
+ make20,
9
9
  combine2
10
- } from "./pty-0gdmqesm.js";
10
+ } from "./pty-rhjbct0v.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
13
  } from "./pty-a1bz86dw.js";
@@ -22,11 +22,11 @@ __export(exports_instruction_entry, {
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service33,
25
+ Service: () => Service22,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node38,
29
+ node: () => node27,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service33 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service22 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make18({
64
+ var source = (entry) => make20({
65
65
  key: Key3.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,7 +75,7 @@ var source = (entry) => make18({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service33, Effect.gen(function* () {
78
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
79
79
  const { db } = yield* Service80;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service33, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service33.of({ list, put, remove, load });
111
+ return Service22.of({ list, put, remove, load });
112
112
  }));
113
- var node38 = makeLocationNode({ service: Service33, layer, deps: [node85] });
113
+ var node27 = makeLocationNode({ service: Service22, layer, deps: [node85] });
114
114
 
115
- export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service33, node38, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service22, node27, exports_instruction_entry };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-8w0tny4e.js";
4
+ } from "./pty-b80d24dq.js";
5
5
  import {
6
- Service78,
7
- node83
8
- } from "./pty-jefma2gq.js";
6
+ Service74,
7
+ node79
8
+ } from "./pty-9fwp41vh.js";
9
9
  import {
10
- Service76,
11
- node81
12
- } from "./pty-qpw0y00r.js";
10
+ Service72,
11
+ node77
12
+ } from "./pty-60r077ss.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./pty-by5v678g.js";
15
+ } from "./pty-q509s3k3.js";
16
16
  import {
17
- Service68,
18
- node72
19
- } from "./pty-pc04q47q.js";
17
+ Service50,
18
+ node53
19
+ } from "./pty-ca5anfan.js";
20
20
  import {
21
- node24
22
- } from "./pty-6zm1wyjc.js";
21
+ node19
22
+ } from "./pty-04d1p4as.js";
23
23
  import {
24
- Service9,
25
- node12
26
- } from "./pty-p1wf2k30.js";
24
+ Service12,
25
+ node15
26
+ } from "./pty-t0x5rdq8.js";
27
27
  import {
28
28
  __export
29
29
  } from "./pty-9rqn6x4v.js";
@@ -32,23 +32,23 @@ import {
32
32
  var exports_location_watcher = {};
33
33
  __export(exports_location_watcher, {
34
34
  LocationWatcher: () => exports_location_watcher,
35
- Service: () => Service6,
36
- node: () => node8
35
+ Service: () => Service3,
36
+ node: () => node4
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service6 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service3 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service6, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service68;
45
+ var layer = Layer.effect(Service3, Effect.gen(function* () {
46
+ const location = yield* Service72;
47
+ const watcher = yield* Service50;
48
48
  const bus = yield* Service79;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
51
- const policy = yield* Service9;
50
+ const git = yield* Service74;
51
+ const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service6.of({});
103
+ return Service3.of({});
104
104
  }));
105
- var node8 = makeLocationNode({
106
- service: Service6,
105
+ var node4 = makeLocationNode({
106
+ service: Service3,
107
107
  layer,
108
- deps: [node72, FSUtil.node, node81, node83, node84, node24, node12]
108
+ deps: [node53, FSUtil.node, node77, node79, node84, node19, node15]
109
109
  });
110
110
 
111
- export { Service6, node8, exports_location_watcher };
111
+ export { Service3, node4, exports_location_watcher };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-4z80d8a9.js";
4
+ } from "./pty-44dkc7mg.js";
5
5
  import {
6
6
  SessionTable2,
7
7
  SessionMessageTable2
8
8
  } from "./pty-a1bz86dw.js";
9
9
  import {
10
10
  decodeMessageRow2,
11
- load2
12
- } from "./pty-b5svzbqe.js";
11
+ load3
12
+ } from "./pty-rwzmtr9v.js";
13
13
  import {
14
14
  fromRow2
15
- } from "./pty-ezs85qj9.js";
15
+ } from "./pty-v52wsnkd.js";
16
16
  import {
17
17
  __export
18
18
  } from "./pty-9rqn6x4v.js";
@@ -20,10 +20,10 @@ import {
20
20
  // src/session/store.ts
21
21
  var exports_store = {};
22
22
  __export(exports_store, {
23
- ListInput: () => ListInput5,
24
- Service: () => Service53,
23
+ ListInput: () => ListInput4,
24
+ Service: () => Service62,
25
25
  SessionStore: () => exports_store,
26
- node: () => node56
26
+ node: () => node66
27
27
  });
28
28
  import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
29
29
  import { Context, Effect, Layer, Schema } from "effect";
@@ -50,13 +50,13 @@ var ListProjectInput = Schema.Struct({
50
50
  subpath: RelativePath.pipe(Schema.optional)
51
51
  });
52
52
  var ListAllInput = Schema.Struct(ListInputBase);
53
- var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
53
+ var ListInput4 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
54
54
 
55
- class Service53 extends Context.Service()("@opencode/SessionStore") {
55
+ class Service62 extends Context.Service()("@opencode/SessionStore") {
56
56
  }
57
- var layer = Layer.effect(Service53, Effect.gen(function* () {
57
+ var layer = Layer.effect(Service62, Effect.gen(function* () {
58
58
  const { db } = yield* Service80;
59
- return Service53.of({
59
+ return Service62.of({
60
60
  get: Effect.fnUntraced(function* (sessionID) {
61
61
  const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
62
62
  return row ? fromRow2(row) : undefined;
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
99
99
  const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
100
100
  return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
101
101
  }),
102
- context: Effect.fn("SessionStore.context")((sessionID) => load2(db, sessionID, "latest")),
102
+ context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
103
103
  message: Effect.fn("SessionStore.message")(function* (messageID) {
104
104
  const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
105
105
  return row ? {
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
126
126
  })
127
127
  });
128
128
  }));
129
- var node56 = makeGlobalNode({ service: Service53, layer, deps: [node85] });
129
+ var node66 = makeGlobalNode({ service: Service62, layer, deps: [node85] });
130
130
 
131
- export { ListInput5, Service53, node56, exports_store };
131
+ export { ListInput4, Service62, node66, exports_store };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-4z80d8a9.js";
4
+ } from "./pty-44dkc7mg.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
@@ -10,8 +10,8 @@ __export(exports_driver, {
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make21,
14
- node: () => node76,
13
+ make: () => make19,
14
+ node: () => node57,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make21 = (driver) => driver;
32
+ var make19 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node76 = registryNode2({});
47
+ var node57 = registryNode2({});
48
48
 
49
- export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node76, exports_driver };
49
+ export { Binding2, Error5, ProviderNotFound2, make19, RegistryService2, registry2, registryNode2, node57, exports_driver };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  mergeOverlay2,
3
3
  mergeHeaders2
4
- } from "./pty-9p3b3m98.js";
4
+ } from "./pty-m27pyyd3.js";
5
5
  import {
6
6
  __export
7
7
  } from "./pty-9rqn6x4v.js";
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
18
18
  MAX_BYTES: () => MAX_BYTES2,
19
19
  MAX_LINES: () => MAX_LINES2,
20
20
  RETENTION: () => RETENTION3,
21
- Service: () => Service65,
21
+ Service: () => Service44,
22
22
  ToolOutput: () => exports_tool_output2,
23
- node: () => node69
23
+ node: () => node47
24
24
  });
25
25
  import path from "path";
26
26
  import { Context, Duration, Effect, Layer, Schedule } from "effect";
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
32
32
  var RETENTION3 = Duration.days(7);
33
33
  var DIRECTORY3 = "tool-output";
34
34
 
35
- class Service65 extends Context.Service()("@opencode/ToolOutput") {
35
+ class Service44 extends Context.Service()("@opencode/ToolOutput") {
36
36
  }
37
37
  var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
38
38
  const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
39
39
  yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
40
40
  });
41
- var layer = Layer.effect(Service65, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service44, Effect.gen(function* () {
42
42
  const fs = yield* FSUtil.Service;
43
43
  const global = yield* Global.Service;
44
44
  const directory = path.join(global.data, DIRECTORY3);
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service65, Effect.gen(function* () {
122
122
  metadata: { ...result.metadata, truncated: true, outputPath: file }
123
123
  };
124
124
  });
125
- return Service65.of({
125
+ return Service44.of({
126
126
  transform: state.transform,
127
127
  reload: state.reload,
128
128
  truncate,
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
139
139
  layer: cleanupLayer,
140
140
  deps: [FSUtil.node, Global.node]
141
141
  });
142
- var node69 = makeLocationNode({
143
- service: Service65,
142
+ var node47 = makeLocationNode({
143
+ service: Service44,
144
144
  layer,
145
145
  deps: [FSUtil.node, Global.node, cleanupNode]
146
146
  });
147
147
 
148
- export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service65, node69, exports_tool_output2 };
148
+ export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service44, node47, exports_tool_output2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Ref4
3
- } from "./pty-qpw0y00r.js";
2
+ Ref2
3
+ } from "./pty-60r077ss.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -9,26 +9,26 @@ import {
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service61,
13
- canonical: () => canonical2,
14
- node: () => node64
12
+ Service: () => Service66,
13
+ canonical: () => canonical3,
14
+ node: () => node70
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service61 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service66 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service61, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service66, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node64 = LayerNode.unbound(Service61, Node.tags.values.global);
27
- function canonical2(ref) {
28
- return Ref4.make({
26
+ var node70 = LayerNode.unbound(Service66, Node.tags.values.global);
27
+ function canonical3(ref) {
28
+ return Ref2.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
30
30
  workspaceID: ref.workspaceID
31
31
  });
32
32
  }
33
33
 
34
- export { Service61, node64, canonical2, exports_location_service_map };
34
+ export { Service66, node70, canonical3, exports_location_service_map };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service59
3
- } from "./pty-m0f7gyab.js";
2
+ Service77
3
+ } from "./pty-sqmjn1cn.js";
4
4
  import {
5
- Service51
6
- } from "./pty-q6rs4hjt.js";
5
+ Service61
6
+ } from "./pty-6vwh2emb.js";
7
7
  import {
8
8
  __export
9
9
  } from "./pty-9rqn6x4v.js";
@@ -12,7 +12,7 @@ import {
12
12
  var exports_question = {};
13
13
  __export(exports_question, {
14
14
  CancelledError: () => CancelledError2,
15
- Input: () => Input14,
15
+ Input: () => Input13,
16
16
  Output: () => Output9,
17
17
  Plugin: () => Plugin45,
18
18
  QuestionTool: () => exports_question,
@@ -34,7 +34,7 @@ Usage notes:
34
34
  - A "Type your own answer" option is added automatically; don't include a separate option for free form answers
35
35
  - Set \`multiple: true\` to allow selecting more than one option
36
36
  - If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
37
- var Input14 = Schema.Struct({
37
+ var Input13 = Schema.Struct({
38
38
  questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
39
39
  });
40
40
  var Output9 = Schema.Struct({
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
53
53
  var Plugin45 = {
54
54
  id: "opencode.tool.question",
55
55
  effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
56
- const forms = yield* Service59;
57
- const permission = yield* Service51;
56
+ const forms = yield* Service77;
57
+ const permission = yield* Service61;
58
58
  yield* ctx.tool.transform((editor) => editor.add({
59
59
  name: name14,
60
60
  options: { codemode: false },
61
61
  description: description6,
62
- input: Input14,
62
+ input: Input13,
63
63
  output: Output9,
64
64
  execute: (input, context) => permission.assert({
65
65
  action: "question",
@@ -115,4 +115,4 @@ function toField(question, index) {
115
115
  };
116
116
  }
117
117
 
118
- export { name14, description6, Input14, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
118
+ export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  render3
3
- } from "./pty-nhy5jxhy.js";
3
+ } from "./pty-hjt4xg1x.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -12,7 +12,7 @@ __export(exports_optimize, {
12
12
  ArceePlugin: () => ArceePlugin2,
13
13
  KimiPlugin: () => KimiPlugin2,
14
14
  MetaPlugin: () => MetaPlugin2,
15
- OpenAIPlugin: () => OpenAIPlugin2,
15
+ OpenAIPlugin: () => OpenAIPlugin3,
16
16
  OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
17
17
  OptimizePlugin: () => exports_optimize,
18
18
  Plugins: () => Plugins2
@@ -368,7 +368,7 @@ assistant: Clients are marked as failed in the \`connectToServer\` function in s
368
368
  `;
369
369
 
370
370
  // src/plugin/optimize.ts
371
- var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
371
+ var OpenAIPlugin3 = make("opencode.prompt.openai", (model) => {
372
372
  const id = model.id.toLowerCase();
373
373
  if (!id.includes("gpt"))
374
374
  return;
@@ -397,7 +397,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
397
397
  return;
398
398
  return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
399
399
  });
400
- var Plugins2 = [OpenAIPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
400
+ var Plugins2 = [OpenAIPlugin3, KimiPlugin2, ArceePlugin2, MetaPlugin2];
401
401
  function make(id, optimize) {
402
402
  return define({
403
403
  id,
@@ -418,4 +418,4 @@ function make(id, optimize) {
418
418
  });
419
419
  }
420
420
 
421
- export { OpenAIPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
421
+ export { OpenAIPlugin3, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-8w0tny4e.js";
4
+ } from "./pty-b80d24dq.js";
5
5
  import {
6
- Service35,
7
- node39
8
- } from "./pty-dcdbx179.js";
6
+ Service28,
7
+ node32
8
+ } from "./pty-4jk5hnnm.js";
9
9
  import {
10
- Service51,
11
- node54
12
- } from "./pty-q6rs4hjt.js";
10
+ Service61,
11
+ node65
12
+ } from "./pty-6vwh2emb.js";
13
13
  import {
14
- Service40,
15
- node44
16
- } from "./pty-xa6by1f1.js";
14
+ Service52,
15
+ node55
16
+ } from "./pty-kz49q7tk.js";
17
17
  import {
18
18
  __export
19
19
  } from "./pty-9rqn6x4v.js";
@@ -22,11 +22,11 @@ import {
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service32,
26
- layer: () => layer13,
25
+ Service: () => Service26,
26
+ layer: () => layer11,
27
27
  name: () => name13,
28
28
  namespace: () => namespace2,
29
- node: () => node37
29
+ node: () => node30
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service32 extends Context.Service()("@opencode/McpTool") {
38
+ class Service26 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer13 = Layer.effect(Service32, Effect.gen(function* () {
41
- const mcp = yield* Service35;
42
- const tools = yield* Service40;
40
+ var layer11 = Layer.effect(Service26, Effect.gen(function* () {
41
+ const mcp = yield* Service28;
42
+ const tools = yield* Service52;
43
43
  const bus = yield* Service79;
44
- const permission = yield* Service51;
44
+ const permission = yield* Service61;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -112,12 +112,12 @@ var layer13 = Layer.effect(Service32, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service32.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service26.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node37 = makeLocationNode({
118
- service: Service32,
119
- layer: layer13,
120
- deps: [node44, node39, node84, node54]
117
+ var node30 = makeLocationNode({
118
+ service: Service26,
119
+ layer: layer11,
120
+ deps: [node55, node32, node84, node65]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service32, layer13, node37, exports_mcp3 };
123
+ export { namespace2, name13, Service26, layer11, node30, exports_mcp3 };