@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,12 +1,12 @@
1
1
  import {
2
2
  Service80
3
- } from "./pty-4z80d8a9.js";
3
+ } from "./pty-44dkc7mg.js";
4
4
  import {
5
5
  Service79
6
- } from "./pty-8w0tny4e.js";
6
+ } from "./pty-b80d24dq.js";
7
7
  import {
8
- Service49
9
- } from "./pty-v8jfbz3g.js";
8
+ Service36
9
+ } from "./pty-63xctefh.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./pty-fxbjtjnd.js";
@@ -14,41 +14,41 @@ import {
14
14
  SessionMessage2
15
15
  } from "./pty-gftt206x.js";
16
16
  import {
17
- NotFoundError7,
17
+ NotFoundError6,
18
18
  PromptConflictError2,
19
19
  SyntheticConflictError2,
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./pty-qgy2rw28.js";
23
+ } from "./pty-49ycyj1k.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./pty-ec1grn59.js";
27
27
  import {
28
- Service53
29
- } from "./pty-z5c2cr5p.js";
28
+ Service62
29
+ } from "./pty-b2wnrkev.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service47
34
- } from "./pty-feebpcf8.js";
33
+ Service34
34
+ } from "./pty-rvkgvnp4.js";
35
35
  import {
36
- Service45
37
- } from "./pty-4azybn4n.js";
36
+ Service32
37
+ } from "./pty-9w2g1xxc.js";
38
38
  import {
39
39
  prepare2
40
- } from "./pty-jjc2e0wf.js";
40
+ } from "./pty-0w7fw3r9.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./pty-rxyhbgbe.js";
45
+ } from "./pty-k5pz2tr3.js";
46
46
  import {
47
47
  start2
48
- } from "./pty-cj4mykbe.js";
48
+ } from "./pty-dc2sw694.js";
49
49
  import {
50
50
  get4
51
- } from "./pty-gqqez5b8.js";
51
+ } from "./pty-ej22x54z.js";
52
52
  import {
53
53
  __export
54
54
  } from "./pty-9rqn6x4v.js";
@@ -65,16 +65,16 @@ import { FSUtil } from "@opencode/util/fs-util";
65
65
  var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service79;
67
67
  const database = yield* Service80;
68
- const store = yield* Service53;
69
- const instances = yield* Service49;
70
- const execution = yield* Service45;
71
- const admission = yield* Service47;
68
+ const store = yield* Service62;
69
+ const instances = yield* Service36;
70
+ const execution = yield* Service32;
71
+ const admission = yield* Service34;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
75
75
  const session = yield* store.get(sessionID);
76
76
  if (!session)
77
- return yield* new NotFoundError7({ sessionID });
77
+ return yield* new NotFoundError6({ sessionID });
78
78
  return session;
79
79
  });
80
80
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -127,7 +127,7 @@ var make13 = Effect.fn("Session.make")(function* () {
127
127
  });
128
128
  if (existing)
129
129
  return existing;
130
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service49, instances), Effect.provideService(FSUtil.Service, fs)));
130
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service36, instances), Effect.provideService(FSUtil.Service, fs)));
131
131
  if (session.revert)
132
132
  yield* commit2(bus, session);
133
133
  return yield* admission.admit({
@@ -143,7 +143,7 @@ var make13 = Effect.fn("Session.make")(function* () {
143
143
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
144
144
  const session = yield* get(sessionID);
145
145
  const running = yield* Effect.gen(function* () {
146
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service49, instances), Effect.tapError((error) => synthetic(sessionID, {
146
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service36, instances), Effect.tapError((error) => synthetic(sessionID, {
147
147
  text: `User shell command failed to start:
148
148
  ${input.command}
149
149
 
@@ -172,7 +172,7 @@ ${error.message}`,
172
172
  });
173
173
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
174
174
  const session = yield* get(sessionID);
175
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service49, instances));
175
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service36, instances));
176
176
  yield* bus.publish(SessionEvent2.Skill.Activated, {
177
177
  sessionID,
178
178
  id: skill.id,
@@ -229,13 +229,13 @@ ${error.message}`,
229
229
  const session = yield* get(sessionID);
230
230
  if (yield* execution.isActive(sessionID))
231
231
  return yield* new BusyError2({ sessionID });
232
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
232
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
233
233
  });
234
234
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
235
235
  const session = yield* get(sessionID);
236
236
  if (yield* execution.isActive(sessionID))
237
237
  return yield* new BusyError2({ sessionID });
238
- yield* clear2(session).pipe(Effect.provideService(Service49, instances), Effect.provideService(Service79, bus));
238
+ yield* clear2(session).pipe(Effect.provideService(Service36, instances), Effect.provideService(Service79, bus));
239
239
  return yield* execution.wake(sessionID);
240
240
  });
241
241
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./pty-c487kk09.js";
3
+ Service49
4
+ } from "./pty-s9smgjtn.js";
5
5
  import {
6
- Service65
7
- } from "./pty-vaynpwqg.js";
6
+ Service44
7
+ } from "./pty-bgbx6e98.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./pty-qsdy395h.js";
@@ -23,8 +23,8 @@ import { Effect } from "effect";
23
23
  var Plugin34 = define({
24
24
  id: "opencode.config.tool-output",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service67;
27
- const output = yield* Service65;
26
+ const config = yield* Service49;
27
+ const output = yield* Service44;
28
28
  const loaded = yield* observe2(config, ctx.event, output.reload());
29
29
  yield* output.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "tool_output");
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  migrations2
3
- } from "./pty-5sjkzzsa.js";
3
+ } from "./pty-3zxpfz3n.js";
4
4
  import {
5
5
  schema_gen_default
6
6
  } from "./pty-twg0f83k.js";
@@ -3,12 +3,12 @@ import {
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
5
  UnsupportedCompactionError3,
6
- Service56,
7
- node59
8
- } from "./pty-w8dmehha.js";
6
+ Service37,
7
+ node40
8
+ } from "./pty-1qamgzxb.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./pty-8vct2pgr.js";
11
+ } from "./pty-8q7cq0y1.js";
12
12
  import {
13
13
  __export
14
14
  } from "./pty-9rqn6x4v.js";
@@ -18,13 +18,13 @@ var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service48,
21
+ Service: () => Service35,
22
22
  SessionRunnerModel: () => exports_model,
23
23
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
24
24
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
25
25
  UnsupportedPackageError: () => UnsupportedPackageError2,
26
26
  VariantUnavailableError: () => VariantUnavailableError2,
27
- node: () => node51,
27
+ node: () => node38,
28
28
  resolved: () => resolved2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
51
51
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
52
52
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
53
53
 
54
- class Service48 extends Context.Service()("@opencode/SessionRunnerModel") {
54
+ class Service35 extends Context.Service()("@opencode/SessionRunnerModel") {
55
55
  }
56
56
  var resolved2 = (model, options) => ({
57
57
  model,
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
65
65
  limit: options.limit,
66
66
  compaction: options.compaction
67
67
  });
68
- var layer = Layer.effect(Service48, Effect.gen(function* () {
69
- const resolver = yield* Service56;
70
- return Service48.of({
68
+ var layer = Layer.effect(Service35, Effect.gen(function* () {
69
+ const resolver = yield* Service37;
70
+ return Service35.of({
71
71
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
72
72
  if (!session.model) {
73
73
  const resolved = yield* resolver.resolve();
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node51 = makeLocationNode({ service: Service48, layer, deps: [node59] });
88
+ var node38 = makeLocationNode({ service: Service35, layer, deps: [node40] });
89
89
 
90
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service48, resolved2, node51, exports_model };
90
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service35, resolved2, node38, exports_model };
@@ -1,30 +1,30 @@
1
1
  import {
2
- ID8,
3
- Service54
4
- } from "./pty-rssnh3zg.js";
2
+ ID10,
3
+ Service65
4
+ } from "./pty-8vfk5djw.js";
5
5
  import {
6
6
  latest2,
7
- Service67
8
- } from "./pty-c487kk09.js";
7
+ Service49
8
+ } from "./pty-s9smgjtn.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./pty-8vct2pgr.js";
11
+ } from "./pty-8q7cq0y1.js";
12
12
  import {
13
- Service50
14
- } from "./pty-jy3rk2pm.js";
13
+ Service38
14
+ } from "./pty-7amj9884.js";
15
15
  import {
16
16
  evaluate2,
17
- Service51
18
- } from "./pty-q6rs4hjt.js";
17
+ Service61
18
+ } from "./pty-6vwh2emb.js";
19
19
  import {
20
- Service25
21
- } from "./pty-crd48we5.js";
20
+ Service19
21
+ } from "./pty-38t617vx.js";
22
22
  import {
23
23
  NO_TEXT2
24
24
  } from "./pty-x1ezjp6w.js";
25
25
  import {
26
- make10
27
- } from "./pty-m0pn08h0.js";
26
+ make9
27
+ } from "./pty-32rg2acf.js";
28
28
  import {
29
29
  __export
30
30
  } from "./pty-9rqn6x4v.js";
@@ -32,16 +32,16 @@ import {
32
32
  // src/tool/plugin/subagent.ts
33
33
  var exports_subagent = {};
34
34
  __export(exports_subagent, {
35
- Input: () => Input5,
36
- Output: () => Output3,
37
- Plugin: () => Plugin5,
35
+ Input: () => Input3,
36
+ Output: () => Output2,
37
+ Plugin: () => Plugin16,
38
38
  SubagentTool: () => exports_subagent,
39
39
  description: () => description3,
40
- name: () => name5
40
+ name: () => name3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
- var name5 = "subagent";
44
+ var name3 = "subagent";
45
45
  var backgroundResult = (sessionID) => ({
46
46
  sessionID,
47
47
  status: "running",
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
52
52
  ].join(`
53
53
  `)
54
54
  });
55
- var Input5 = Schema.Struct({
55
+ var Input3 = Schema.Struct({
56
56
  agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
57
57
  description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
58
58
  prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
@@ -63,7 +63,7 @@ var Input5 = Schema.Struct({
63
63
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
64
64
  })
65
65
  });
66
- var Output3 = Schema.Struct({
66
+ var Output2 = Schema.Struct({
67
67
  sessionID: SessionSchema2.ID,
68
68
  status: Schema.Literals(["completed", "running"]),
69
69
  output: Schema.String
@@ -77,21 +77,21 @@ var description3 = [
77
77
  "Use background only for independent work that can run while you continue elsewhere."
78
78
  ].join(`
79
79
  `);
80
- var Plugin5 = {
80
+ var Plugin16 = {
81
81
  id: "opencode.tool.subagent",
82
82
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
83
- const sessions = yield* Service25;
84
- const jobs = yield* Service50;
85
- const agents = yield* Service54;
86
- const config = yield* Service67;
87
- const permission = yield* Service51;
88
- const subagents = yield* make10;
83
+ const sessions = yield* Service19;
84
+ const jobs = yield* Service38;
85
+ const agents = yield* Service65;
86
+ const config = yield* Service49;
87
+ const permission = yield* Service61;
88
+ const subagents = yield* make9;
89
89
  yield* ctx.tool.transform((editor) => editor.add({
90
- name: name5,
90
+ name: name3,
91
91
  options: { codemode: false },
92
92
  description: description3,
93
- input: Input5,
94
- output: Output3,
93
+ input: Input3,
94
+ output: Output2,
95
95
  execute: (input, context) => Effect.gen(function* () {
96
96
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
97
97
  let current = parent;
@@ -111,7 +111,7 @@ var Plugin5 = {
111
111
  if (agent.mode === "primary")
112
112
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
113
113
  yield* permission.assert({
114
- action: name5,
114
+ action: name3,
115
115
  resources: [agent.id],
116
116
  save: [agent.id],
117
117
  sessionID: context.sessionID,
@@ -134,7 +134,7 @@ var Plugin5 = {
134
134
  const child = existing ?? (yield* sessions.create({
135
135
  parentID: context.sessionID,
136
136
  title: input.description,
137
- agent: ID8.make(input.agent),
137
+ agent: ID10.make(input.agent),
138
138
  model
139
139
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
140
140
  const background = input.background === true;
@@ -184,13 +184,13 @@ ${output.output}
184
184
  })))
185
185
  })).pipe(Effect.orDie);
186
186
  yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
187
- const tool = event.tools[name5];
187
+ const tool = event.tools[name3];
188
188
  if (!tool)
189
189
  return;
190
190
  const selected = yield* agents.resolve(event.agent);
191
191
  if (!selected)
192
192
  return;
193
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
193
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
194
194
  if (available.length === 0)
195
195
  return;
196
196
  tool.description = [
@@ -204,4 +204,4 @@ ${output.output}
204
204
  })
205
205
  };
206
206
 
207
- export { name5, Input5, Output3, description3, Plugin5, exports_subagent };
207
+ export { name3, Input3, Output2, description3, Plugin16, exports_subagent };
@@ -2,9 +2,9 @@ import {
2
2
  llmClient2
3
3
  } from "./pty-5t3nmthw.js";
4
4
  import {
5
- Service56,
6
- node59
7
- } from "./pty-w8dmehha.js";
5
+ Service37,
6
+ node40
7
+ } from "./pty-1qamgzxb.js";
8
8
  import {
9
9
  __export
10
10
  } from "./pty-9rqn6x4v.js";
@@ -14,10 +14,10 @@ var exports_generate = {};
14
14
  __export(exports_generate, {
15
15
  Generate: () => exports_generate,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service24,
18
- UnavailableError: () => UnavailableError3,
19
- layer: () => layer11,
20
- node: () => node28
17
+ Service: () => Service16,
18
+ UnavailableError: () => UnavailableError2,
19
+ layer: () => layer9,
20
+ node: () => node20
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service24 extends Context.Service()("@opencode/Generate") {
36
+ class Service16 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer11 = Layer.effect(Service24, Effect.gen(function* () {
38
+ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service56;
40
+ const resolver = yield* Service37;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -45,28 +45,28 @@ var layer11 = Layer.effect(Service24, Effect.gen(function* () {
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError",
46
46
  "SessionRunnerModel.UnsupportedCompactionError"
47
47
  ], (error) => {
48
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
48
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
49
49
  return Effect.fail(mapped);
50
50
  }));
51
51
  if (!resolved)
52
52
  return yield* new ModelSelectionError2({
53
53
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
54
54
  });
55
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
55
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
56
56
  message: error.message,
57
57
  service: resolved.ref.providerID
58
58
  })));
59
59
  return response.text;
60
60
  });
61
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
61
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
62
62
  message: "Generation credentials are unavailable"
63
63
  })));
64
- return Service24.of({ text });
64
+ return Service16.of({ text });
65
65
  }));
66
- var node28 = makeLocationNode({
67
- service: Service24,
68
- layer: layer11,
69
- deps: [node59, llmClient2]
66
+ var node20 = makeLocationNode({
67
+ service: Service16,
68
+ layer: layer9,
69
+ deps: [node40, llmClient2]
70
70
  });
71
71
 
72
- export { ModelSelectionError2, UnavailableError3, Service24, layer11, node28, exports_generate };
72
+ export { ModelSelectionError2, UnavailableError2, Service16, layer9, node20, exports_generate };
@@ -6,10 +6,10 @@ import {
6
6
  var exports_run_coordinator = {};
7
7
  __export(exports_run_coordinator, {
8
8
  SessionRunCoordinator: () => exports_run_coordinator,
9
- make: () => make15
9
+ make: () => make16
10
10
  });
11
11
  import { Deferred, Effect, Fiber, FiberSet } from "effect";
12
- var make15 = (options) => Effect.gen(function* () {
12
+ var make16 = (options) => Effect.gen(function* () {
13
13
  const executions = new Map;
14
14
  const fork = yield* FiberSet.makeRuntime();
15
15
  const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
89
89
  };
90
90
  });
91
91
 
92
- export { make15, exports_run_coordinator };
92
+ export { make16, exports_run_coordinator };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  InvalidError2
3
- } from "./pty-29x78va6.js";
3
+ } from "./pty-z63w68vq.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -2,7 +2,7 @@ import {
2
2
  SQLiteEffectPreparedQuery2,
3
3
  SQLiteEffectSession2,
4
4
  SQLiteEffectTransaction2
5
- } from "./pty-bagg3g1z.js";
5
+ } from "./pty-mzjyw1z2.js";
6
6
 
7
7
  // src/database/drizzle/effect-sqlite/session.ts
8
8
  import * as Context from "effect/Context";
@@ -5,18 +5,18 @@ import {
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service64,
8
+ Service: () => Service43,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node68
10
+ node: () => node46
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service64 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service43 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service64, () => {
17
+ var layer = Layer.sync(Service43, () => {
18
18
  const environments = new Map;
19
- return Service64.of({
19
+ return Service43.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service64, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node68 = makeGlobalNode({ service: Service64, layer, deps: [] });
29
+ var node46 = makeGlobalNode({ service: Service43, layer, deps: [] });
30
30
 
31
- export { Service64, node68, exports_environment };
31
+ export { Service43, node46, exports_environment };
@@ -3,24 +3,24 @@ import {
3
3
  } from "./pty-922hggd3.js";
4
4
  import {
5
5
  Info6,
6
- ID5,
6
+ ID3,
7
7
  Name2
8
- } from "./pty-jrvvap85.js";
8
+ } from "./pty-wmzeh62n.js";
9
9
  import {
10
- Service67
11
- } from "./pty-c487kk09.js";
10
+ Service49
11
+ } from "./pty-s9smgjtn.js";
12
12
  import {
13
13
  __export
14
14
  } from "./pty-9rqn6x4v.js";
15
15
 
16
16
  // src/plugin/skill.ts
17
- var exports_skill2 = {};
18
- __export(exports_skill2, {
17
+ var exports_skill = {};
18
+ __export(exports_skill, {
19
19
  OpencodeContent: () => OpencodeContent2,
20
20
  OpencodeDescription: () => OpencodeDescription2,
21
- Plugin: () => Plugin20,
21
+ Plugin: () => Plugin9,
22
22
  ReportContent: () => ReportContent2,
23
- SkillPlugin: () => exports_skill2
23
+ SkillPlugin: () => exports_skill
24
24
  });
25
25
  import { define } from "@opencode/plugin/effect/plugin";
26
26
  import { Effect } from "effect";
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
422
422
  var ReportContent2 = report_default;
423
423
  var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
424
424
  var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
425
- var Plugin20 = define({
425
+ var Plugin9 = define({
426
426
  id: "opencode.skill",
427
427
  effect: Effect.fn(function* (ctx) {
428
428
  const reportContent = yield* reportContentWithDiagnostics(ctx.app);
429
429
  yield* ctx.skill.transform((editor) => {
430
430
  editor.add(Info6.make({
431
- id: ID5.make("opencode"),
431
+ id: ID3.make("opencode"),
432
432
  name: Name2.make("OpenCode"),
433
433
  description: OpencodeDescription2,
434
434
  location: AbsolutePath2.make("/builtin/opencode.md"),
435
435
  content: OpencodeContent2
436
436
  }));
437
437
  editor.add(Info6.make({
438
- id: ID5.make("report"),
438
+ id: ID3.make("report"),
439
439
  name: Name2.make("Report"),
440
440
  description: REPORT_DESCRIPTION,
441
441
  slash: true,
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
464
464
  `);
465
465
  });
466
466
  var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
467
- const config = yield* Service67;
467
+ const config = yield* Service49;
468
468
  return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
469
469
  });
470
470
  function terminal() {
@@ -478,4 +478,4 @@ function shell() {
478
478
  return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
479
479
  }
480
480
 
481
- export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin20, exports_skill2 };
481
+ export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin9, exports_skill };