@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
@@ -2,14 +2,14 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./pty-8w0tny4e.js";
5
+ } from "./pty-b80d24dq.js";
6
6
  import {
7
7
  Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make18,
10
+ make20,
11
11
  diffByKey2
12
- } from "./pty-0gdmqesm.js";
12
+ } from "./pty-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
15
  } from "./pty-922hggd3.js";
@@ -26,11 +26,11 @@ __export(exports_instruction_discovery, {
26
26
  Event: () => Event7,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options6,
30
- Service: () => Service38,
31
- configured: () => configured6,
32
- layer: () => layer17,
33
- node: () => node42
29
+ Options: () => Options4,
30
+ Service: () => Service45,
31
+ configured: () => configured4,
32
+ layer: () => layer19,
33
+ node: () => node48
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -45,14 +45,14 @@ var key = Key3.make("core/instructions");
45
45
  var Event7 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options6 = Schema.Struct({
48
+ var Options4 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service38 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service45 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
55
+ var layer19 = (options) => Layer.effect(Service45, Effect.gen(function* () {
56
56
  const bus = yield* Service79;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
@@ -74,7 +74,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
74
74
  }),
75
75
  notify: () => bus.publish(Event7.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make18({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service38.of({
93
+ return Service45.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer17 = (options) => Layer.effect(Service38, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured6(options) {
107
+ function configured4(options) {
108
108
  return makeLocationNode({
109
- service: Service38,
110
- layer: layer17(options),
109
+ service: Service45,
110
+ layer: layer19(options),
111
111
  deps: [node84]
112
112
  });
113
113
  }
114
- var node42 = configured6();
114
+ var node48 = configured4();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event7, Options6, Service38, layer17, configured6, node42, exports_instruction_discovery };
145
+ export { File2, Event7, Options4, Service45, layer19, configured4, node48, exports_instruction_discovery };
@@ -3,19 +3,19 @@ import {
3
3
  } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/formatter.ts
6
- var exports_formatter3 = {};
7
- __export(exports_formatter3, {
8
- ConfigFormatterV1: () => exports_formatter3,
9
- Entry: () => Entry3,
10
- Info: () => Info21
6
+ var exports_formatter2 = {};
7
+ __export(exports_formatter2, {
8
+ ConfigFormatterV1: () => exports_formatter2,
9
+ Entry: () => Entry4,
10
+ Info: () => Info11
11
11
  });
12
12
  import { Schema } from "effect";
13
- var Entry3 = Schema.Struct({
13
+ var Entry4 = Schema.Struct({
14
14
  disabled: Schema.optional(Schema.Boolean),
15
15
  command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
16
16
  environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
17
17
  extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
18
18
  });
19
- var Info21 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry3)]);
19
+ var Info11 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
20
20
 
21
- export { Entry3, Info21, exports_formatter3 };
21
+ export { Entry4, Info11, exports_formatter2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service76
3
- } from "./pty-qpw0y00r.js";
2
+ Service72
3
+ } from "./pty-60r077ss.js";
4
4
  import {
5
5
  PATCH_CONTEXT_LINES2,
6
6
  MAX_PATCH_BYTES2,
@@ -10,7 +10,7 @@ import {
10
10
  } from "./pty-tazgh4e4.js";
11
11
  import {
12
12
  DiffError2
13
- } from "./pty-62k5e5wb.js";
13
+ } from "./pty-zm6ygejy.js";
14
14
  import {
15
15
  __export
16
16
  } from "./pty-9rqn6x4v.js";
@@ -18,17 +18,17 @@ import {
18
18
  // src/plugin/vcs/git.ts
19
19
  var exports_git = {};
20
20
  __export(exports_git, {
21
- Plugin: () => Plugin19,
21
+ Plugin: () => Plugin6,
22
22
  VcsGitPlugin: () => exports_git
23
23
  });
24
24
  import { define } from "@opencode/plugin/effect/plugin";
25
25
  import { Effect } from "effect";
26
26
  import { ChildProcess } from "effect/unstable/process";
27
27
  import { AppProcess } from "@opencode/util/process";
28
- var Plugin19 = define({
28
+ var Plugin6 = define({
29
29
  id: "opencode.vcs.git",
30
30
  effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
31
- const location = yield* Service76;
31
+ const location = yield* Service72;
32
32
  if (location.vcs?.type !== "git")
33
33
  return;
34
34
  const processes = yield* AppProcess.Service;
@@ -467,4 +467,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
467
467
  return yield* diffAgainstRef(ctx, ref, options);
468
468
  });
469
469
 
470
- export { Plugin19, exports_git };
470
+ export { Plugin6, exports_git };
@@ -1,12 +1,12 @@
1
1
  import {
2
- Service49
3
- } from "./pty-v8jfbz3g.js";
2
+ Service36
3
+ } from "./pty-63xctefh.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-by5v678g.js";
6
+ } from "./pty-q509s3k3.js";
7
7
  import {
8
- Service63
9
- } from "./pty-d1f48wm0.js";
8
+ Service42
9
+ } from "./pty-nh799jn3.js";
10
10
  import {
11
11
  unavailable2
12
12
  } from "./pty-fxbjtjnd.js";
@@ -22,8 +22,8 @@ __export(exports_shell3, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var start2 = Effect.fn("SessionShell.start")(function* (input) {
25
- const instances = yield* Service49;
26
- const shell = yield* awaitActivation2.pipe(Effect.andThen(Service63), instances.provide(input.session));
25
+ const instances = yield* Service36;
26
+ const shell = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
27
27
  const info = yield* shell.create({
28
28
  command: input.command,
29
29
  cwd: input.session.location.directory,
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  latest2,
3
- Service67
4
- } from "./pty-c487kk09.js";
3
+ Service49
4
+ } from "./pty-s9smgjtn.js";
5
5
  import {
6
6
  __export
7
7
  } from "./pty-9rqn6x4v.js";
@@ -9,7 +9,7 @@ import {
9
9
  // src/plugin/warming.ts
10
10
  var exports_warming = {};
11
11
  __export(exports_warming, {
12
- Plugin: () => Plugin24,
12
+ Plugin: () => Plugin12,
13
13
  WarmingPlugin: () => exports_warming
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
@@ -19,10 +19,10 @@ var defaults = {
19
19
  interval: Duration.minutes(4),
20
20
  duration: Duration.minutes(30)
21
21
  };
22
- var Plugin24 = define({
22
+ var Plugin12 = define({
23
23
  id: "opencode.warming",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service67;
25
+ const config = yield* Service49;
26
26
  const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
27
27
  const warming = latest2(yield* config.entries(), "warming");
28
28
  if (!warming)
@@ -90,4 +90,4 @@ var Plugin24 = define({
90
90
  })
91
91
  });
92
92
 
93
- export { Plugin24, exports_warming };
93
+ export { Plugin12, exports_warming };
@@ -0,0 +1,247 @@
1
+ import {
2
+ node69
3
+ } from "./pty-8vfk5djw.js";
4
+ import {
5
+ node49
6
+ } from "./pty-mewy3jp3.js";
7
+ import {
8
+ node82
9
+ } from "./pty-sqmjn1cn.js";
10
+ import {
11
+ node81
12
+ } from "./pty-1qacn438.js";
13
+ import {
14
+ node80
15
+ } from "./pty-w7j91m09.js";
16
+ import {
17
+ node44
18
+ } from "./pty-ebcate35.js";
19
+ import {
20
+ node77,
21
+ boundNode2
22
+ } from "./pty-60r077ss.js";
23
+ import {
24
+ configured5,
25
+ node52
26
+ } from "./pty-s9smgjtn.js";
27
+ import {
28
+ node51
29
+ } from "./pty-6jyd9m4h.js";
30
+ import {
31
+ node50
32
+ } from "./pty-8ns6tfjc.js";
33
+ import {
34
+ node63
35
+ } from "./pty-sj3w9yv9.js";
36
+ import {
37
+ node17
38
+ } from "./pty-9m59fmnv.js";
39
+ import {
40
+ node16
41
+ } from "./pty-56tf4rq2.js";
42
+ import {
43
+ node40
44
+ } from "./pty-1qamgzxb.js";
45
+ import {
46
+ node20
47
+ } from "./pty-yc5avrgj.js";
48
+ import {
49
+ node71
50
+ } from "./pty-rpbnx6sk.js";
51
+ import {
52
+ node32
53
+ } from "./pty-4jk5hnnm.js";
54
+ import {
55
+ Service36,
56
+ node39
57
+ } from "./pty-63xctefh.js";
58
+ import {
59
+ node27
60
+ } from "./pty-aqajd40k.js";
61
+ import {
62
+ node68
63
+ } from "./pty-v5w9803s.js";
64
+ import {
65
+ node65
66
+ } from "./pty-6vwh2emb.js";
67
+ import {
68
+ node38
69
+ } from "./pty-xzh9rhk3.js";
70
+ import {
71
+ configured4,
72
+ node48
73
+ } from "./pty-d9hwvmgm.js";
74
+ import {
75
+ node29
76
+ } from "./pty-gcmx30na.js";
77
+ import {
78
+ node55
79
+ } from "./pty-kz49q7tk.js";
80
+ import {
81
+ node30
82
+ } from "./pty-bwp2svcp.js";
83
+ import {
84
+ node60
85
+ } from "./pty-f4nygem8.js";
86
+ import {
87
+ node35
88
+ } from "./pty-8shp1cm6.js";
89
+ import {
90
+ node42
91
+ } from "./pty-wmzeh62n.js";
92
+ import {
93
+ node31
94
+ } from "./pty-4g0ya2kt.js";
95
+ import {
96
+ node24
97
+ } from "./pty-wcpsbhns.js";
98
+ import {
99
+ node43
100
+ } from "./pty-d4xwsxra.js";
101
+ import {
102
+ node74
103
+ } from "./pty-p2hgsd7c.js";
104
+ import {
105
+ node47
106
+ } from "./pty-bgbx6e98.js";
107
+ import {
108
+ node45
109
+ } from "./pty-nh799jn3.js";
110
+ import {
111
+ node22
112
+ } from "./pty-wfjha01d.js";
113
+ import {
114
+ node76
115
+ } from "./pty-zm6ygejy.js";
116
+ import {
117
+ node58
118
+ } from "./pty-3f3d0cbx.js";
119
+ import {
120
+ node21
121
+ } from "./pty-a8emfn6x.js";
122
+ import {
123
+ node19
124
+ } from "./pty-04d1p4as.js";
125
+ import {
126
+ node4
127
+ } from "./pty-b1xfxbkj.js";
128
+ import {
129
+ node64
130
+ } from "./pty-phshbkdm.js";
131
+ import {
132
+ node8,
133
+ bound2
134
+ } from "./pty-844ef7ks.js";
135
+ import {
136
+ node13
137
+ } from "./pty-5tw27g45.js";
138
+ import {
139
+ node10
140
+ } from "./pty-f2mgn97g.js";
141
+ import {
142
+ node11
143
+ } from "./pty-a03kqjf9.js";
144
+ import {
145
+ node6
146
+ } from "./pty-2zb1amfr.js";
147
+ import {
148
+ node5
149
+ } from "./pty-khm98422.js";
150
+ import {
151
+ node73
152
+ } from "./pty-rraf0nd7.js";
153
+ import {
154
+ node3
155
+ } from "./pty-0e1xjvyp.js";
156
+ import {
157
+ node2
158
+ } from "./pty-z2p9cf6c.js";
159
+ import {
160
+ __export
161
+ } from "./pty-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service36,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node39
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode/util/effect/layer-node";
174
+ import { Node } from "@opencode/util/effect/app-node";
175
+ var nodes = [
176
+ node77,
177
+ node51,
178
+ node52,
179
+ node69,
180
+ node44,
181
+ node60,
182
+ node22,
183
+ node58,
184
+ node81,
185
+ node80,
186
+ node40,
187
+ node49,
188
+ node19,
189
+ node68,
190
+ node8,
191
+ node6,
192
+ node5,
193
+ node21,
194
+ node17,
195
+ node16,
196
+ node74,
197
+ node73,
198
+ node45,
199
+ node42,
200
+ node29,
201
+ node48,
202
+ node64,
203
+ node50,
204
+ node63,
205
+ node32,
206
+ node65,
207
+ node55,
208
+ node47,
209
+ node71,
210
+ node31,
211
+ node35,
212
+ node27,
213
+ node82,
214
+ node20,
215
+ node11,
216
+ node30,
217
+ node10,
218
+ node38,
219
+ node13,
220
+ node3,
221
+ node24,
222
+ node43,
223
+ node2,
224
+ node76,
225
+ node4
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node52.replace(configured5({ project: false, global: false })),
230
+ node48.replace(configured4({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node77.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node8.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./pty-8w0tny4e.js";
4
+ } from "./pty-b80d24dq.js";
5
5
  import {
6
6
  create3
7
7
  } from "./pty-kg06axw8.js";
@@ -13,21 +13,21 @@ import {
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event10,
16
+ Event: () => Event6,
17
17
  ExecutionError: () => ExecutionError2,
18
18
  Info: () => Info7,
19
- NotFoundError: () => NotFoundError5,
20
- Service: () => Service44,
19
+ NotFoundError: () => NotFoundError3,
20
+ Service: () => Service41,
21
21
  layer: () => layer18,
22
- node: () => node48
22
+ node: () => node44
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event10 } from "@opencode/schema/command";
27
+ import { Event as Event6 } from "@opencode/schema/command";
28
28
  var Info7 = Command.Info;
29
29
 
30
- class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
30
+ class NotFoundError3 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
32
32
  message: Schema.String
33
33
  }) {
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service44 extends Context.Service()("@opencode/Command") {
42
+ class Service41 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer18 = Layer.effect(Service44, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service41, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -55,7 +55,7 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service44.of({
58
+ return Service41.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -66,13 +66,13 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
66
66
  execute: Effect.fn("Command.execute")(function* (input) {
67
67
  const definition = state.get().get(input.name);
68
68
  if (!definition)
69
- return yield* new NotFoundError5({ command: input.name, message: `Command not found: ${input.name}` });
69
+ return yield* new NotFoundError3({ command: input.name, message: `Command not found: ${input.name}` });
70
70
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
71
71
  })
72
72
  });
73
73
  }));
74
- var node48 = makeLocationNode({
75
- service: Service44,
74
+ var node44 = makeLocationNode({
75
+ service: Service41,
76
76
  layer: layer18,
77
77
  deps: [node84]
78
78
  });
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info7, NotFoundError5, ExecutionError2, Service44, layer18, node48, exports_command4, Event10 };
89
+ export { Info7, NotFoundError3, ExecutionError2, Service41, layer18, node44, exports_command4, Event6 };
@@ -1,15 +1,15 @@
1
1
  import {
2
- Service49
3
- } from "./pty-v8jfbz3g.js";
2
+ Service36
3
+ } from "./pty-63xctefh.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./pty-by5v678g.js";
6
+ } from "./pty-q509s3k3.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./pty-qgy2rw28.js";
9
+ } from "./pty-49ycyj1k.js";
10
10
  import {
11
- Service42
12
- } from "./pty-jrvvap85.js";
11
+ Service39
12
+ } from "./pty-wmzeh62n.js";
13
13
  import {
14
14
  __export
15
15
  } from "./pty-9rqn6x4v.js";
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service49;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service42), instances.provide(input.session));
25
+ const instances = yield* Service36;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service39), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
@@ -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
- Service55
7
- } from "./pty-47fetphe.js";
6
+ Service40
7
+ } from "./pty-d4xwsxra.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./pty-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin41
19
+ Plugin: () => Plugin43
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin41 = define({
23
+ var Plugin43 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service67;
27
- const snapshot = yield* Service55;
26
+ const config = yield* Service49;
27
+ const snapshot = yield* Service40;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin41 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin41, exports_snapshot };
38
+ export { Plugin43, exports_snapshot };
@@ -2,7 +2,7 @@ import {
2
2
  ephemeral2,
3
3
  Service79,
4
4
  node84
5
- } from "./pty-8w0tny4e.js";
5
+ } from "./pty-b80d24dq.js";
6
6
  import {
7
7
  __export
8
8
  } from "./pty-9rqn6x4v.js";
@@ -11,28 +11,28 @@ import {
11
11
  var exports_sdk = {};
12
12
  __export(exports_sdk, {
13
13
  SdkPlugins: () => exports_sdk,
14
- Service: () => Service5,
14
+ Service: () => Service6,
15
15
  Updated: () => Updated2,
16
- layer: () => layer4,
17
- node: () => node7
16
+ layer: () => layer5,
17
+ node: () => node9
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
  var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
22
22
 
23
- class Service5 extends Context.Service()("@opencode/SdkPlugins") {
23
+ class Service6 extends Context.Service()("@opencode/SdkPlugins") {
24
24
  }
25
- var layer4 = Layer.effect(Service5, Effect.gen(function* () {
25
+ var layer5 = Layer.effect(Service6, Effect.gen(function* () {
26
26
  const bus = yield* Service79;
27
27
  const plugins = new Map;
28
28
  let revision = 0;
29
- return Service5.of({
29
+ return Service6.of({
30
30
  register: (plugin) => Effect.sync(() => {
31
31
  plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
32
32
  }).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
33
33
  all: () => [...plugins.values()]
34
34
  });
35
35
  }));
36
- var node7 = makeGlobalNode({ service: Service5, layer: layer4, deps: [node84] });
36
+ var node9 = makeGlobalNode({ service: Service6, layer: layer5, deps: [node84] });
37
37
 
38
- export { Updated2, Service5, layer4, node7, exports_sdk };
38
+ export { Updated2, Service6, layer5, node9, exports_sdk };