@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,11 +1,11 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-4z80d8a9.js";
4
+ } from "./pty-44dkc7mg.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./pty-8w0tny4e.js";
8
+ } from "./pty-b80d24dq.js";
9
9
  import {
10
10
  CredentialTable2
11
11
  } from "./pty-pknna89w.js";
@@ -20,44 +20,44 @@ import {
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID14,
25
- Info: () => Info27,
23
+ Event: () => Event20,
24
+ ID: () => ID16,
25
+ Info: () => Info31,
26
26
  Key: () => Key4,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service72,
28
+ Service: () => Service78,
29
29
  Value: () => Value2,
30
- node: () => node77
30
+ node: () => node83
31
31
  });
32
32
  import { asc, desc, eq } from "drizzle-orm";
33
33
  import { Cause, Context, Effect, Layer, Schema } from "effect";
34
34
  import { Credential } from "@opencode/schema/credential";
35
35
  import { Integration } from "@opencode/schema/integration";
36
36
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
37
- var ID14 = Credential.ID;
37
+ var ID16 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
39
  var Key4 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event20 = Credential.Event;
42
42
 
43
- class Info27 extends Schema.Class("Credential.Info")({
44
- id: ID14,
43
+ class Info31 extends Schema.Class("Credential.Info")({
44
+ id: ID16,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service72 extends Context.Service()("@opencode/Credential") {
51
+ class Service78 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service72, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
54
54
  const db = (yield* Service80).db;
55
55
  const bus = yield* Service79;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info27({
60
+ return new Info31({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service72.of({
71
+ return Service78.of({
72
72
  all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
73
73
  list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
74
74
  get: Effect.fn("Credential.get")(function* (id) {
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
76
76
  return row ? stored(row) : undefined;
77
77
  }),
78
78
  create: Effect.fn("Credential.create")(function* (input) {
79
- const credential = new Info27({
80
- id: ID14.create(),
79
+ const credential = new Info31({
80
+ id: ID16.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
101
101
  integrationID: credential.integrationID,
102
102
  type: credential.value.type
103
103
  });
104
- yield* bus.publish(Event19.Updated, {}, { global: true });
105
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
104
+ yield* bus.publish(Event20.Updated, {}, { global: true });
105
+ yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
106
106
  return credential;
107
107
  }),
108
108
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
122
122
  })), Effect.orDie);
123
123
  if (integrationID) {
124
124
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
125
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
125
+ yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
126
126
  }
127
127
  }),
128
128
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
154
154
  labelChanged: updates.label !== undefined && updates.label !== credential.label
155
155
  });
156
156
  if (updates.label !== undefined && updates.label !== credential.label)
157
- yield* bus.publish(Event19.Updated, {}, { global: true });
157
+ yield* bus.publish(Event20.Updated, {}, { global: true });
158
158
  }),
159
159
  remove: Effect.fn("Credential.remove")(function* (id) {
160
160
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
187
187
  active: removed.switched,
188
188
  ...removed.switched ? { replacementID: removed.credentialID } : {}
189
189
  });
190
- yield* bus.publish(Event19.Updated, {}, { global: true });
190
+ yield* bus.publish(Event20.Updated, {}, { global: true });
191
191
  if (removed.switched)
192
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
192
+ yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
193
193
  })
194
194
  });
195
195
  }));
196
- var node77 = makeGlobalNode({ service: Service72, layer, deps: [node85, node84] });
196
+ var node83 = makeGlobalNode({ service: Service78, layer, deps: [node85, node84] });
197
197
 
198
- export { ID14, OAuth3, Key4, Value2, Event19, Info27, Service72, node77, exports_credential };
198
+ export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service78, node83, exports_credential };
@@ -1,6 +1,6 @@
1
1
  import {
2
- Service70
3
- } from "./pty-3pmjwr1e.js";
2
+ Service48
3
+ } from "./pty-6jyd9m4h.js";
4
4
  import {
5
5
  __export
6
6
  } from "./pty-9rqn6x4v.js";
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service70;
22
+ const environment = yield* Service48;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;
@@ -10,16 +10,16 @@ var exports_directory = {};
10
10
  __export(exports_directory, {
11
11
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
12
12
  WorktreeDirectory: () => exports_directory,
13
- canonical: () => canonical3
13
+ canonical: () => canonical2
14
14
  });
15
15
  import { Effect, Schema } from "effect";
16
16
  class DirectoryUnavailableError2 extends Schema.TaggedError()("Worktree.DirectoryUnavailableError", { directory: AbsolutePath2 }) {
17
17
  }
18
- var canonical3 = Effect.fnUntraced(function* (fs, input) {
18
+ var canonical2 = Effect.fnUntraced(function* (fs, input) {
19
19
  const resolved = AbsolutePath2.make(yield* fs.resolve(input));
20
20
  if (!(yield* fs.isDir(resolved)))
21
21
  return yield* new DirectoryUnavailableError2({ directory: input });
22
22
  return resolved;
23
23
  });
24
24
 
25
- export { DirectoryUnavailableError2, canonical3, exports_directory };
25
+ export { DirectoryUnavailableError2, canonical2, exports_directory };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-4z80d8a9.js";
4
+ } from "./pty-44dkc7mg.js";
5
5
  import {
6
6
  makeUnsafe2
7
7
  } from "./pty-y71avatq.js";
8
8
  import {
9
9
  Binding2,
10
10
  RegistryService2,
11
- node76
12
- } from "./pty-07770t2t.js";
11
+ node57
12
+ } from "./pty-b9grawmm.js";
13
13
  import {
14
14
  WorkspaceTable2
15
15
  } from "./pty-faypxj3z.js";
@@ -21,13 +21,13 @@ import {
21
21
  var exports_workspace = {};
22
22
  __export(exports_workspace, {
23
23
  CreateConflict: () => CreateConflict2,
24
- ID: () => ID13,
25
- Info: () => Info26,
24
+ ID: () => ID5,
25
+ Info: () => Info18,
26
26
  NotFound: () => NotFound3,
27
- Service: () => Service71,
27
+ Service: () => Service53,
28
28
  Workspace: () => exports_workspace,
29
- configured: () => configured10,
30
- node: () => node75
29
+ configured: () => configured7,
30
+ node: () => node56
31
31
  });
32
32
  import { Workspace } from "@opencode/schema/workspace";
33
33
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -35,10 +35,10 @@ import { eq } from "drizzle-orm";
35
35
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
36
36
  import { systemError } from "effect/PlatformError";
37
37
  import { make } from "effect/unstable/process/ChildProcessSpawner";
38
- var ID13 = Workspace.ID;
38
+ var ID5 = Workspace.ID;
39
39
 
40
- class Info26 extends Schema.Class("Workspace.Info")({
41
- id: ID13,
40
+ class Info18 extends Schema.Class("Workspace.Info")({
41
+ id: ID5,
42
42
  provider: Schema.String,
43
43
  binding: Binding2,
44
44
  createdAt: Schema.Number,
@@ -46,24 +46,24 @@ class Info26 extends Schema.Class("Workspace.Info")({
46
46
  }) {
47
47
  }
48
48
 
49
- class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID13 }) {
49
+ class NotFound3 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
50
50
  }
51
51
 
52
52
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
53
- workspaceID: ID13,
53
+ workspaceID: ID5,
54
54
  provider: Schema.String,
55
55
  existingProvider: Schema.String
56
56
  }) {
57
57
  }
58
58
 
59
- class Service71 extends Context.Service()("@opencode/Workspace") {
59
+ class Service53 extends Context.Service()("@opencode/Workspace") {
60
60
  }
61
- var configured10 = (options = {}) => makeGlobalNode({
62
- service: Service71,
61
+ var configured7 = (options = {}) => makeGlobalNode({
62
+ service: Service53,
63
63
  layer: layer(options),
64
- deps: [node85, node76]
64
+ deps: [node85, node57]
65
65
  });
66
- var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
66
+ var layer = (options) => Layer.effect(Service53, Effect.gen(function* () {
67
67
  const db = (yield* Service80).db;
68
68
  const registry = yield* RegistryService2;
69
69
  const lifetime = yield* Scope.Scope;
@@ -80,7 +80,7 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
80
80
  return row;
81
81
  });
82
82
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
83
- const info = (row, binding) => new Info26({
83
+ const info = (row, binding) => new Info18({
84
84
  id: row.id,
85
85
  provider: row.provider,
86
86
  binding,
@@ -154,9 +154,9 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
154
154
  yield* Scope.close(connection.scope, Exit.void);
155
155
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
156
156
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
157
- return Service71.of({
157
+ return Service53.of({
158
158
  create: Effect.fn("Workspace.create")(function* (input) {
159
- const workspaceID = input.id ?? ID13.create();
159
+ const workspaceID = input.id ?? ID5.create();
160
160
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
161
161
  if (existing) {
162
162
  if (existing.provider === input.provider)
@@ -221,6 +221,6 @@ var layer = (options) => Layer.effect(Service71, Effect.gen(function* () {
221
221
  })
222
222
  });
223
223
  }));
224
- var node75 = configured10();
224
+ var node56 = configured7();
225
225
 
226
- export { ID13, Info26, NotFound3, CreateConflict2, Service71, configured10, node75, exports_workspace };
226
+ export { ID5, Info18, NotFound3, CreateConflict2, Service53, configured7, node56, exports_workspace };
@@ -4,23 +4,23 @@ import {
4
4
  import {
5
5
  Service80,
6
6
  node85
7
- } from "./pty-4z80d8a9.js";
7
+ } from "./pty-44dkc7mg.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./pty-8w0tny4e.js";
11
+ } from "./pty-b80d24dq.js";
12
12
  import {
13
- Service78,
14
- node83
15
- } from "./pty-jefma2gq.js";
13
+ Service74,
14
+ node79
15
+ } from "./pty-9fwp41vh.js";
16
16
  import {
17
- ID18,
17
+ ID13,
18
18
  Current3,
19
- Info33,
19
+ Info28,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event16,
22
22
  Vcs3
23
- } from "./pty-81swgkk7.js";
23
+ } from "./pty-rk0rec3h.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
@@ -36,14 +36,14 @@ import {
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info32,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID12,
40
+ Info: () => Info27,
41
+ NotFoundError: () => NotFoundError9,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service73,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node82,
46
+ node: () => node78,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID17 = ID18;
58
+ var ID12 = ID13;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info27 = Info28;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
64
+ class NotFoundError9 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID12
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service73 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -94,9 +94,9 @@ function fromRow(row) {
94
94
  sandboxes: row.sandboxes
95
95
  };
96
96
  }
97
- var layer = Layer.effect(Service77, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
- const git = yield* Service78;
99
+ const git = yield* Service74;
100
100
  const proc = yield* AppProcess.Service;
101
101
  const bus = yield* Service79;
102
102
  const db = (yield* Service80).db;
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
107
107
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
108
108
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
109
109
  if (row)
110
- yield* bus.publish(Event20.Updated, fromRow(row));
110
+ yield* bus.publish(Event16.Updated, fromRow(row));
111
111
  }
112
112
  if (!project.vcs)
113
113
  return project;
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
144
144
  yield* bus.publish(Worktree.Event.Resolved, {
145
145
  projectID: item.projectID,
146
146
  directory: item.directory,
147
- previous: project.previous ?? ID17.global,
147
+ previous: project.previous ?? ID12.global,
148
148
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
149
149
  }, {
150
150
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
167
167
  time_updated: Date.now()
168
168
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
169
169
  if (!row)
170
- return yield* new NotFoundError10({ projectID: input.projectID });
170
+ return yield* new NotFoundError9({ projectID: input.projectID });
171
171
  const project = fromRow(row);
172
- yield* bus.publish(Event20.Updated, project);
172
+ yield* bus.publish(Event16.Updated, project);
173
173
  return project;
174
174
  });
175
175
  const cached = Effect.fnUntraced(function* (dir) {
176
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID12.make(value) : undefined), Effect.orElseSucceed(() => {
177
177
  return;
178
178
  }));
179
179
  });
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
184
184
  const normalized = url(origin);
185
185
  if (!normalized)
186
186
  return;
187
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
+ return ID12.make(Hash.fast(`git-remote:${normalized}`));
188
188
  });
189
189
  function url(input) {
190
190
  const value = input.trim();
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
209
209
  }
210
210
  const rootCommit = Effect.fnUntraced(function* (repo) {
211
211
  const root = (yield* git.history.rootCommits(repo))[0];
212
- return root ? ID17.make(root) : undefined;
212
+ return root ? ID12.make(root) : undefined;
213
213
  });
214
214
  const hgRoot = Effect.fnUntraced(function* (worktree) {
215
215
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
225
225
  return;
226
226
  const node = result.stdout.toString("utf8").split(`
227
227
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
228
- return node ? ID17.make(node) : undefined;
228
+ return node ? ID12.make(node) : undefined;
229
229
  });
230
230
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
231
231
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
234
234
  const id = previous ?? (yield* hgRoot(worktree));
235
235
  return {
236
236
  previous,
237
- id: id ?? ID17.global,
237
+ id: id ?? ID12.global,
238
238
  directory: worktree,
239
239
  vcs: { type: "hg", store }
240
240
  };
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
251
251
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
252
252
  return yield* persist({
253
253
  previous,
254
- id: id ?? ID17.global,
254
+ id: id ?? ID12.global,
255
255
  directory: repo.worktree,
256
256
  canonical,
257
257
  vcs: { type: "git", store: repo.commonDirectory }
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
265
265
  });
266
266
  }
267
267
  return yield* persist({
268
- id: ID17.make(Hash.fast(`directory:${directory}`)),
268
+ id: ID12.make(Hash.fast(`directory:${directory}`)),
269
269
  directory,
270
270
  canonical: directory,
271
271
  vcs: undefined
272
272
  });
273
273
  });
274
- return Service77.of({ list, update, resolve });
274
+ return Service73.of({ list, update, resolve });
275
275
  }));
276
- var node82 = makeGlobalNode({
277
- service: Service77,
276
+ var node78 = makeGlobalNode({
277
+ service: Service73,
278
278
  layer,
279
- deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
279
+ deps: [node84, node85, FSUtil.node, node79, AppProcess.node]
280
280
  });
281
281
 
282
- export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
282
+ export { ID12, Vcs2, Current2, Info27, UpdateInput3, NotFoundError9, root2, Service73, node78, exports_project };
@@ -6,7 +6,7 @@ import {
6
6
  var exports_system_prompt = {};
7
7
  __export(exports_system_prompt, {
8
8
  SessionSystemPrompt: () => exports_system_prompt,
9
- make: () => make14,
9
+ make: () => make15,
10
10
  render: () => render3
11
11
  });
12
12
 
@@ -29,7 +29,7 @@ var system_default = `You are an AI agent powered by OpenCode, a coding agent ha
29
29
  `;
30
30
 
31
31
  // src/session/system-prompt.ts
32
- function make14(tools) {
32
+ function make15(tools) {
33
33
  return render3(system_default, tools);
34
34
  }
35
35
  function render3(prompt, tools) {
@@ -47,4 +47,4 @@ function render3(prompt, tools) {
47
47
  `));
48
48
  }
49
49
 
50
- export { make14, render3, exports_system_prompt };
50
+ export { make15, render3, exports_system_prompt };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./pty-4z80d8a9.js";
4
+ } from "./pty-44dkc7mg.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./pty-8w0tny4e.js";
9
+ } from "./pty-b80d24dq.js";
10
10
  import {
11
11
  SessionEvent2
12
12
  } from "./pty-ec1grn59.js";
@@ -14,8 +14,8 @@ import {
14
14
  SessionMessage2
15
15
  } from "./pty-gftt206x.js";
16
16
  import {
17
- update3
18
- } from "./pty-0hpxrkyb.js";
17
+ update2
18
+ } from "./pty-1dfhrqqs.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
@@ -33,16 +33,16 @@ import {
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./pty-feebpcf8.js";
36
+ } from "./pty-rvkgvnp4.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./pty-vkxpz7g2.js";
42
+ } from "./pty-cq37gk0t.js";
43
43
  import {
44
44
  initialize2
45
- } from "./pty-sgaqms2z.js";
45
+ } from "./pty-aqajd40k.js";
46
46
  import {
47
47
  Slug2
48
48
  } from "./pty-gebd4c9n.js";
@@ -55,7 +55,7 @@ var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node31
58
+ node: () => node26
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -245,7 +245,7 @@ function run(db, event) {
245
245
  updateCompaction: updateMessage,
246
246
  appendMessage
247
247
  };
248
- yield* update3(adapter, event);
248
+ yield* update2(adapter, event);
249
249
  });
250
250
  }
251
251
  function insertMessage(db, event, message) {
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node31 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
458
+ var node26 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node31, exports_projector };
460
+ export { SessionAlreadyProjected2, node26, exports_projector };
@@ -0,0 +1,4 @@
1
+ // src/pty/schema.ts
2
+ import { ID as ID11 } from "@opencode/schema/pty";
3
+
4
+ export { ID11 };
@@ -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,
@@ -13,7 +13,7 @@ import {
13
13
  } from "./pty-tazgh4e4.js";
14
14
  import {
15
15
  DiffError2
16
- } from "./pty-62k5e5wb.js";
16
+ } from "./pty-zm6ygejy.js";
17
17
  import {
18
18
  __export
19
19
  } from "./pty-9rqn6x4v.js";
@@ -21,7 +21,7 @@ import {
21
21
  // src/plugin/vcs/hg.ts
22
22
  var exports_hg = {};
23
23
  __export(exports_hg, {
24
- Plugin: () => Plugin14,
24
+ Plugin: () => Plugin5,
25
25
  VcsHgPlugin: () => exports_hg
26
26
  });
27
27
  import path from "path";
@@ -30,10 +30,10 @@ import { ChildProcess } from "effect/unstable/process";
30
30
  import { define } from "@opencode/plugin/effect/plugin";
31
31
  import { FSUtil } from "@opencode/util/fs-util";
32
32
  import { AppProcess } from "@opencode/util/process";
33
- var Plugin14 = define({
33
+ var Plugin5 = define({
34
34
  id: "opencode.vcs.hg",
35
35
  effect: Effect.fn("VcsHgPlugin")(function* (ctx) {
36
- const location = yield* Service76;
36
+ const location = yield* Service72;
37
37
  if (location.vcs?.type !== "hg")
38
38
  return;
39
39
  const processes = yield* AppProcess.Service;
@@ -188,4 +188,4 @@ function makeHg(proc, worktree) {
188
188
  return { status, diff, branch, ancestor, cat };
189
189
  }
190
190
 
191
- export { Plugin14, exports_hg };
191
+ export { Plugin5, exports_hg };
@@ -7,7 +7,7 @@ var exports_opencode = {};
7
7
  __export(exports_opencode, {
8
8
  MoveInput: () => MoveInput2,
9
9
  OpenCodeTools: () => exports_opencode,
10
- Plugin: () => Plugin9,
10
+ Plugin: () => Plugin17,
11
11
  RenameInput: () => RenameInput2
12
12
  });
13
13
  import { SystemPart, ToolFailure } from "@opencode/ai";
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
26
26
  })
27
27
  });
28
28
  var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
29
- var Plugin9 = {
29
+ var Plugin17 = {
30
30
  id: "opencode.tools",
31
31
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
32
32
  yield* ctx.session.hook("context", (event) => Effect.sync(() => {
@@ -74,4 +74,4 @@ var Plugin9 = {
74
74
  })
75
75
  };
76
76
 
77
- export { RenameInput2, MoveInput2, Plugin9, exports_opencode };
77
+ export { RenameInput2, MoveInput2, Plugin17, exports_opencode };
@@ -10,7 +10,7 @@ var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
12
  Service: () => Service4,
13
- node: () => node6
13
+ node: () => node7
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node6 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
52
+ var node7 = makeGlobalNode({ service: Service4, layer, deps: [Npm.node] });
53
53
 
54
- export { Service4, node6, exports_update };
54
+ export { Service4, node7, exports_update };