@opencode/core 0.0.0-dev-20367 → 0.0.0-dev-20368

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +5 -5
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{job-882jhm7b.js → reference-00zfhxmf.js} +37 -37
  8. package/dist/chunks/{job-36p0cvtp.js → reference-01rnkbd0.js} +6 -6
  9. package/dist/chunks/{job-0gdmqesm.js → reference-02nrjc1r.js} +8 -8
  10. package/dist/chunks/{job-dy6g6r1x.js → reference-042pe1mc.js} +11 -11
  11. package/dist/chunks/{job-gayv5g80.js → reference-07br9k15.js} +48 -48
  12. package/dist/chunks/{job-bzyjzekh.js → reference-0cswr742.js} +19 -19
  13. package/dist/chunks/{job-w4arg62q.js → reference-0ft9cg2j.js} +4 -4
  14. package/dist/chunks/{job-t0xd0egn.js → reference-0jpfm16a.js} +22 -22
  15. package/dist/chunks/{job-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{job-q0djyqnm.js → reference-0rsrt5zk.js} +10 -10
  17. package/dist/chunks/{job-skh0f8k6.js → reference-139grr7s.js} +17 -17
  18. package/dist/chunks/{job-428ep8fh.js → reference-166kng33.js} +8 -8
  19. package/dist/chunks/{job-0m0bz9f8.js → reference-16ynv89z.js} +13 -13
  20. package/dist/chunks/{job-54wnwdwm.js → reference-1bfe16ws.js} +25 -25
  21. package/dist/chunks/{job-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
  22. package/dist/chunks/{job-43dc367v.js → reference-1dh04bw7.js} +11 -11
  23. package/dist/chunks/{job-tkmwgdpd.js → reference-1g7epwpd.js} +4 -4
  24. package/dist/chunks/{job-5rnnm2b5.js → reference-1nzh38e4.js} +9 -9
  25. package/dist/chunks/{job-dyw1x60t.js → reference-1p7vd7k0.js} +18 -18
  26. package/dist/chunks/{job-rrpxvh8q.js → reference-1pab0y9d.js} +35 -35
  27. package/dist/chunks/{job-4f1k543z.js → reference-1qxvqq93.js} +15 -15
  28. package/dist/chunks/{job-2bmjkj4c.js → reference-1w3qez5w.js} +17 -17
  29. package/dist/chunks/{job-56gdpj1q.js → reference-1ygqh575.js} +9 -9
  30. package/dist/chunks/{job-mn3s1fwv.js → reference-21g2k5h0.js} +14 -14
  31. package/dist/chunks/{job-21r38tys.js → reference-21r38tys.js} +1 -1
  32. package/dist/chunks/{job-0gtfmam4.js → reference-260n4hdp.js} +8 -8
  33. package/dist/chunks/{job-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{job-7w99qc9d.js → reference-2f04pwep.js} +3 -3
  35. package/dist/chunks/{job-zc5jecpb.js → reference-2kyyj8xa.js} +23 -23
  36. package/dist/chunks/{job-dyggpwm1.js → reference-2wbch7sf.js} +21 -21
  37. package/dist/chunks/{job-5vvk8sqy.js → reference-3340n1nd.js} +15 -15
  38. package/dist/chunks/{job-rsc9fyh1.js → reference-3bxd3j1q.js} +6 -6
  39. package/dist/chunks/{job-xc87ya66.js → reference-3e2kzjfs.js} +12 -12
  40. package/dist/chunks/{job-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{job-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{job-0jkw1j53.js → reference-3ppptnan.js} +6 -6
  43. package/dist/chunks/{job-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{job-bzzhr3zj.js → reference-3sy817ya.js} +21 -21
  45. package/dist/chunks/{job-st9cattx.js → reference-3t6ehjrr.js} +15 -15
  46. package/dist/chunks/{job-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{job-8s4zmq6r.js → reference-3v2fvqfd.js} +6 -6
  48. package/dist/chunks/{job-r1cbmm5y.js → reference-3wpn9sh3.js} +23 -23
  49. package/dist/chunks/{job-a5rgpd9n.js → reference-3wpv8ytq.js} +9 -9
  50. package/dist/chunks/{job-6rf44sa9.js → reference-3ybfhc1x.js} +3 -3
  51. package/dist/chunks/{job-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{job-m9yq670e.js → reference-44sx4v5c.js} +8 -8
  53. package/dist/chunks/{job-232hvyf5.js → reference-4r36fkdq.js} +9 -9
  54. package/dist/chunks/{job-gbra0ncn.js → reference-4srk58w8.js} +9 -9
  55. package/dist/chunks/{job-e6hmchc5.js → reference-510m7gjw.js} +5 -5
  56. package/dist/chunks/{job-54ma36ye.js → reference-54ma36ye.js} +1 -1
  57. package/dist/chunks/{job-57ez7d0k.js → reference-57ez7d0k.js} +2 -2
  58. package/dist/chunks/{job-5daktx2q.js → reference-5daktx2q.js} +1 -1
  59. package/dist/chunks/{job-k525kqyh.js → reference-5fanhak1.js} +5 -5
  60. package/dist/chunks/{job-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{job-59p0880v.js → reference-5v7h0m3g.js} +9 -9
  62. package/dist/chunks/{job-pa8pe2x7.js → reference-5xtgfte3.js} +8 -8
  63. package/dist/chunks/{job-8kgw4qrf.js → reference-5yts36ct.js} +1 -1
  64. package/dist/chunks/{job-8vesgk6h.js → reference-631f6jmb.js} +17 -17
  65. package/dist/chunks/{job-669tq793.js → reference-669tq793.js} +1 -1
  66. package/dist/chunks/{job-k8j1cw5c.js → reference-6brb3ydz.js} +6 -6
  67. package/dist/chunks/{job-9m0czbyn.js → reference-6cneqzas.js} +16 -16
  68. package/dist/chunks/{job-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{job-6pc27hjz.js → reference-6pc27hjz.js} +2 -2
  70. package/dist/chunks/{job-xehc972q.js → reference-6xb9xar3.js} +6 -6
  71. package/dist/chunks/{job-gdg5jmgt.js → reference-71ae86ge.js} +4 -4
  72. package/dist/chunks/{job-4f9vnbjh.js → reference-74fa380e.js} +3 -3
  73. package/dist/chunks/{job-yy4jce8h.js → reference-796w904k.js} +22 -22
  74. package/dist/chunks/{job-bdvsjrfp.js → reference-79cntjbh.js} +8 -8
  75. package/dist/chunks/{job-x14d71ge.js → reference-7a87smht.js} +6 -6
  76. package/dist/chunks/{job-bpy3snnk.js → reference-7an2zr3c.js} +14 -14
  77. package/dist/chunks/{job-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
  78. package/dist/chunks/{job-pse44q0r.js → reference-7sw46e0q.js} +7 -7
  79. package/dist/chunks/{job-r1trvvnh.js → reference-7wcwe48s.js} +17 -17
  80. package/dist/chunks/{job-8gf1193z.js → reference-7zeyjkbe.js} +4 -4
  81. package/dist/chunks/{job-84txncab.js → reference-84txncab.js} +1 -1
  82. package/dist/chunks/{job-j0axf2jn.js → reference-87szygx8.js} +78 -78
  83. package/dist/chunks/{job-sm965ndy.js → reference-8aaqm6qj.js} +8 -8
  84. package/dist/chunks/{job-yyrw5ybt.js → reference-8b69yyv4.js} +9 -9
  85. package/dist/chunks/{job-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{job-vawyqd0x.js → reference-8f2n1xr2.js} +5 -5
  87. package/dist/chunks/{job-38gz42ha.js → reference-8kg5m582.js} +32 -32
  88. package/dist/chunks/{job-j8m1p4p1.js → reference-8wbxkt1z.js} +4 -4
  89. package/dist/chunks/{job-94ek1h2f.js → reference-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{job-2gavhfkn.js → reference-9b4bv5f3.js} +16 -16
  91. package/dist/chunks/{job-wkhb7dks.js → reference-9dcx0t51.js} +7 -7
  92. package/dist/chunks/reference-9fsn2a6t.js +252 -0
  93. package/dist/chunks/{job-vh0p5v0t.js → reference-9nxs0dtz.js} +7 -7
  94. package/dist/chunks/{job-p0y4fdzp.js → reference-a1213hw5.js} +18 -18
  95. package/dist/chunks/{job-bfn9bqya.js → reference-a15efetj.js} +35 -35
  96. package/dist/chunks/{job-3vdv0ks5.js → reference-a7kwy4c1.js} +5 -5
  97. package/dist/chunks/{job-syf57q56.js → reference-a81kfqvn.js} +4 -4
  98. package/dist/chunks/{job-g64a4xw1.js → reference-a9w6ff6t.js} +28 -28
  99. package/dist/chunks/{job-aaet6srn.js → reference-aaet6srn.js} +2 -2
  100. package/dist/chunks/{job-mpk0rfs5.js → reference-addxnjmp.js} +4 -4
  101. package/dist/chunks/{job-vy4zg7qh.js → reference-afed7ext.js} +5 -5
  102. package/dist/chunks/{job-rkw5xhpp.js → reference-akpmqyxp.js} +21 -21
  103. package/dist/chunks/{job-hr433y7c.js → reference-anb3p609.js} +50 -50
  104. package/dist/chunks/{job-t4f1bpyy.js → reference-ar2zeb49.js} +5 -5
  105. package/dist/chunks/{job-awg97q1x.js → reference-asw2re3m.js} +8 -8
  106. package/dist/chunks/{job-zd1qw503.js → reference-atwm5pvn.js} +26 -26
  107. package/dist/chunks/{job-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{job-p0rf9kvp.js → reference-bemmtghz.js} +10 -10
  109. package/dist/chunks/{job-kbcv0s8h.js → reference-br6q4meh.js} +5 -5
  110. package/dist/chunks/{job-fbkspamq.js → reference-c3h0gj9a.js} +11 -11
  111. package/dist/chunks/{job-vq2m4hzd.js → reference-c4qd2t8a.js} +20 -20
  112. package/dist/chunks/{job-mwb00zv6.js → reference-c6b8rasb.js} +3 -3
  113. package/dist/chunks/{job-z5zeqmdz.js → reference-c7b2m6fb.js} +24 -24
  114. package/dist/chunks/{job-69srdcjj.js → reference-cfv2hvrv.js} +20 -20
  115. package/dist/chunks/{job-vexv4ykq.js → reference-chnshf5d.js} +7 -7
  116. package/dist/chunks/{job-ckecvw8r.js → reference-ckecvw8r.js} +2 -2
  117. package/dist/chunks/{job-h46arez0.js → reference-cp9438d3.js} +10 -10
  118. package/dist/chunks/{job-s8zy8myc.js → reference-cr07tj7n.js} +5 -5
  119. package/dist/chunks/{job-d82nvbjp.js → reference-czs4devj.js} +23 -23
  120. package/dist/chunks/{job-cf8g1z1e.js → reference-d1c553ec.js} +6 -6
  121. package/dist/chunks/{job-tbmac1c7.js → reference-d858xzj7.js} +4 -4
  122. package/dist/chunks/{job-s1kvmffy.js → reference-depwzj9d.js} +9 -9
  123. package/dist/chunks/{job-2mnyaw3v.js → reference-dez8vmgp.js} +314 -314
  124. package/dist/chunks/{job-qr8csav2.js → reference-dj9sq318.js} +5 -5
  125. package/dist/chunks/{job-djszqvmq.js → reference-djszqvmq.js} +2 -2
  126. package/dist/chunks/{job-w5bt4mtb.js → reference-dprgptw6.js} +29 -29
  127. package/dist/chunks/{job-eddp1xyx.js → reference-dqwatsve.js} +30 -30
  128. package/dist/chunks/{job-drwq78ky.js → reference-drwq78ky.js} +1 -1
  129. package/dist/chunks/{job-g6sz4tq5.js → reference-e2v1jf5m.js} +21 -21
  130. package/dist/chunks/{job-05y342xm.js → reference-e3t9f1ge.js} +45 -45
  131. package/dist/chunks/{job-tp98q2hz.js → reference-ea9448jf.js} +23 -23
  132. package/dist/chunks/{job-ecfe7b91.js → reference-ecfe7b91.js} +2 -2
  133. package/dist/chunks/{job-za2wxfsn.js → reference-ecjyjz8w.js} +16 -16
  134. package/dist/chunks/{job-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
  135. package/dist/chunks/{job-q80xae8x.js → reference-eh5brr6k.js} +41 -41
  136. package/dist/chunks/{job-4fjf8yxx.js → reference-eka80jh0.js} +16 -16
  137. package/dist/chunks/{job-pb1eahw5.js → reference-ep6z9mt6.js} +6 -6
  138. package/dist/chunks/{job-ksdjh0p5.js → reference-erycay7t.js} +30 -30
  139. package/dist/chunks/{job-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
  140. package/dist/chunks/{job-t15nrndc.js → reference-ey47svxm.js} +25 -25
  141. package/dist/chunks/{job-jm9m13na.js → reference-eygkpf76.js} +13 -13
  142. package/dist/chunks/{job-4a37hdt9.js → reference-f9kj06qm.js} +13 -13
  143. package/dist/chunks/{job-j82ypg12.js → reference-fdjebd74.js} +12 -12
  144. package/dist/chunks/{job-pnv527nz.js → reference-fhs97t90.js} +9 -9
  145. package/dist/chunks/{job-fa6fex3m.js → reference-fms3wttt.js} +4 -4
  146. package/dist/chunks/{job-a8vb6yp3.js → reference-g4x060ga.js} +11 -11
  147. package/dist/chunks/{job-e26zydd5.js → reference-gafg8g7a.js} +9 -9
  148. package/dist/chunks/{job-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
  149. package/dist/chunks/{job-427t97hr.js → reference-gg3hnhsj.js} +1 -1
  150. package/dist/chunks/{job-j83z9j2w.js → reference-gjvcgz1y.js} +33 -33
  151. package/dist/chunks/{job-hafpg71j.js → reference-gsm9w5gv.js} +29 -29
  152. package/dist/chunks/{job-rpg9c19m.js → reference-gst7axd9.js} +4 -4
  153. package/dist/chunks/{job-gv6a8nnw.js → reference-gv6a8nnw.js} +2 -2
  154. package/dist/chunks/{job-6ptmhvxc.js → reference-h0f5mnzz.js} +16 -16
  155. package/dist/chunks/{job-c9p2pga3.js → reference-h3k68wsb.js} +17 -17
  156. package/dist/chunks/{job-4qart0q5.js → reference-h3tvvjet.js} +25 -25
  157. package/dist/chunks/{job-165xc91v.js → reference-h6qwv4aw.js} +26 -26
  158. package/dist/chunks/{job-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{job-nyfjheeq.js → reference-h971pwhf.js} +11 -11
  160. package/dist/chunks/{job-ssx059rb.js → reference-hbedddsn.js} +11 -11
  161. package/dist/chunks/{job-kbqjp078.js → reference-hbyhqfhs.js} +5 -5
  162. package/dist/chunks/{job-ew0q6k30.js → reference-hgg8amch.js} +173 -173
  163. package/dist/chunks/{job-r2mmdhen.js → reference-hkv5p9ne.js} +3 -3
  164. package/dist/chunks/{job-ydgy0jv4.js → reference-htjw9qza.js} +6 -6
  165. package/dist/chunks/{job-jz5sxy2v.js → reference-hyftv91s.js} +7 -7
  166. package/dist/chunks/{job-1cfb3ja4.js → reference-j34dxvpb.js} +5 -5
  167. package/dist/chunks/{job-j56e64zr.js → reference-j56e64zr.js} +1 -1
  168. package/dist/chunks/{job-zjtz4r8b.js → reference-j993bjzs.js} +12 -12
  169. package/dist/chunks/{job-xtmqq4e3.js → reference-jdrzz5kz.js} +37 -37
  170. package/dist/chunks/{job-zz2t2kk4.js → reference-jhrpy0h8.js} +21 -21
  171. package/dist/chunks/{job-8v7ffv8d.js → reference-jken0ejx.js} +25 -25
  172. package/dist/chunks/{job-11h6rw47.js → reference-jkzjr3ma.js} +31 -31
  173. package/dist/chunks/{job-mxkgvy0a.js → reference-jpx3jw6j.js} +22 -22
  174. package/dist/chunks/{job-yz3qhr3r.js → reference-jqw8ttv0.js} +15 -15
  175. package/dist/chunks/{job-vb0abph4.js → reference-jxz16j3e.js} +28 -28
  176. package/dist/chunks/{job-d4c4qgdk.js → reference-k115rg6b.js} +11 -11
  177. package/dist/chunks/{job-7kvpsc06.js → reference-k2a504bc.js} +14 -14
  178. package/dist/chunks/{job-k3c624dm.js → reference-k3c624dm.js} +3 -3
  179. package/dist/chunks/{job-4r8dtk29.js → reference-k6rqs0s8.js} +3 -3
  180. package/dist/chunks/{job-2j95z75a.js → reference-k7d46rr6.js} +4 -4
  181. package/dist/chunks/{job-tx92n959.js → reference-kb6gw2zp.js} +4 -4
  182. package/dist/chunks/{job-r96zx2xa.js → reference-kdhn56cv.js} +32 -32
  183. package/dist/chunks/reference-kmfs87yw.js +26 -0
  184. package/dist/chunks/{job-p0cqgnhb.js → reference-kt609s0t.js} +5 -5
  185. package/dist/chunks/{job-vhfkbtqs.js → reference-ktd0gbm4.js} +3 -3
  186. package/dist/chunks/{job-h75mtxy7.js → reference-kz7w9h4r.js} +18 -18
  187. package/dist/chunks/{job-ervfjr3g.js → reference-kzacwcn9.js} +24 -24
  188. package/dist/chunks/{job-epcpjtmm.js → reference-m165mn98.js} +15 -15
  189. package/dist/chunks/{job-m3fdjcah.js → reference-m3fdjcah.js} +1 -1
  190. package/dist/chunks/{job-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{job-magykp64.js → reference-magykp64.js} +1 -1
  192. package/dist/chunks/{job-231fkzn9.js → reference-mc9ss0y5.js} +15 -15
  193. package/dist/chunks/{job-d75ppx60.js → reference-mcfy26hj.js} +29 -29
  194. package/dist/chunks/{job-73tb2d7t.js → reference-mhkvc446.js} +3 -3
  195. package/dist/chunks/{job-70dyee8s.js → reference-n1j0qfw4.js} +8 -8
  196. package/dist/chunks/{job-dst4ms2e.js → reference-n3j9v3wj.js} +12 -12
  197. package/dist/chunks/{job-76xremav.js → reference-n9kfxdp9.js} +20 -20
  198. package/dist/chunks/{job-jdcnnskf.js → reference-ngbzmknx.js} +9 -9
  199. package/dist/chunks/{job-2ae0w1q6.js → reference-np6nr2kx.js} +23 -23
  200. package/dist/chunks/{job-cvhge4xv.js → reference-nscc21qe.js} +22 -22
  201. package/dist/chunks/{job-eg9d22mh.js → reference-paqwx8q6.js} +2 -2
  202. package/dist/chunks/{job-skgkzd64.js → reference-pck83k06.js} +21 -21
  203. package/dist/chunks/reference-pf31ssb9.js +18 -0
  204. package/dist/chunks/{job-8b98verr.js → reference-phdse2cz.js} +10 -10
  205. package/dist/chunks/{job-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{job-pknna89w.js → reference-pknna89w.js} +1 -1
  207. package/dist/chunks/{job-qpbc7zwf.js → reference-pw9v3g6d.js} +8 -8
  208. package/dist/chunks/{job-9mczkx7c.js → reference-pxey72j3.js} +32 -32
  209. package/dist/chunks/{job-s82h7tsb.js → reference-pyj25zwj.js} +3 -3
  210. package/dist/chunks/{job-r790xmfm.js → reference-q3bp0eqq.js} +26 -26
  211. package/dist/chunks/{job-6e7sacjg.js → reference-q4b4mt0k.js} +85 -85
  212. package/dist/chunks/{job-39c9j40n.js → reference-qb2p9zbg.js} +44 -44
  213. package/dist/chunks/{job-ep21a2k1.js → reference-qcfhqezt.js} +13 -13
  214. package/dist/chunks/{job-0jwsre1p.js → reference-qgn6gcr1.js} +5 -5
  215. package/dist/chunks/{job-mg69qb51.js → reference-qmdmhxrm.js} +8 -8
  216. package/dist/chunks/{job-stn5vj2c.js → reference-qn0j8a2m.js} +13 -13
  217. package/dist/chunks/{job-qsdy395h.js → reference-qsdy395h.js} +1 -1
  218. package/dist/chunks/{job-7td7z3fp.js → reference-qxvtm6f6.js} +19 -19
  219. package/dist/chunks/{job-g0knnnvb.js → reference-r1nzxzk3.js} +6 -6
  220. package/dist/chunks/{job-8qqrm4zt.js → reference-r45e0rbq.js} +26 -26
  221. package/dist/chunks/{job-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
  222. package/dist/chunks/{job-sh5w4k31.js → reference-s7932dae.js} +11 -11
  223. package/dist/chunks/{job-nng2ktcm.js → reference-s8610hey.js} +2 -2
  224. package/dist/chunks/{job-tghe7e42.js → reference-ses91yzc.js} +8 -8
  225. package/dist/chunks/{job-ptg8ydkv.js → reference-sv2rsgqy.js} +27 -27
  226. package/dist/chunks/{job-q01t0nhq.js → reference-sz9xv9xn.js} +30 -30
  227. package/dist/chunks/{job-es0c2gra.js → reference-t1keb6et.js} +43 -43
  228. package/dist/chunks/{job-f4m9nz49.js → reference-t9cv2z2y.js} +17 -17
  229. package/dist/chunks/{job-za88e651.js → reference-t9yx3vxp.js} +20 -20
  230. package/dist/chunks/{job-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{job-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{job-tdstcens.js → reference-tdstcens.js} +1 -1
  233. package/dist/chunks/{job-k4t1mtpb.js → reference-tjb59763.js} +37 -37
  234. package/dist/chunks/{job-5nq0nea2.js → reference-tkr7t7pv.js} +11 -11
  235. package/dist/chunks/{job-ey36844v.js → reference-tm9580sr.js} +10 -10
  236. package/dist/chunks/{job-qrwm1nmb.js → reference-tt79120p.js} +17 -17
  237. package/dist/chunks/{job-12sfj3yb.js → reference-tvf9c7hb.js} +30 -30
  238. package/dist/chunks/{job-vbcswfa9.js → reference-tvk85ejt.js} +11 -11
  239. package/dist/chunks/{job-tvtrv512.js → reference-tvtrv512.js} +1 -1
  240. package/dist/chunks/{job-da7kmwxg.js → reference-tzpv42kz.js} +11 -11
  241. package/dist/chunks/{job-1x60rae4.js → reference-v1egv9yp.js} +27 -27
  242. package/dist/chunks/{job-veqvce7d.js → reference-veqvce7d.js} +1 -1
  243. package/dist/chunks/{job-g2zryj83.js → reference-vgj5jbet.js} +3 -3
  244. package/dist/chunks/{job-q2b1ymqp.js → reference-vncycja5.js} +4 -4
  245. package/dist/chunks/{job-5tbemrdz.js → reference-vrke23k5.js} +66 -66
  246. package/dist/chunks/{job-kvyy1gjj.js → reference-vsa42d0b.js} +27 -27
  247. package/dist/chunks/{job-358np968.js → reference-vt1m752q.js} +13 -13
  248. package/dist/chunks/{job-5m26qgtd.js → reference-vyn1hvw5.js} +20 -20
  249. package/dist/chunks/{job-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{job-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{job-pna42hr7.js → reference-w0ct177m.js} +36 -36
  252. package/dist/chunks/{job-v0spscbj.js → reference-w0y7f2dx.js} +5 -5
  253. package/dist/chunks/{job-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{job-9c3zczec.js → reference-w8bax687.js} +12 -12
  255. package/dist/chunks/{job-9ss7kw18.js → reference-wak1n191.js} +10 -10
  256. package/dist/chunks/{job-hz0q9sdq.js → reference-wb6eeyna.js} +8 -8
  257. package/dist/chunks/{job-wd3x2cqz.js → reference-wd3x2cqz.js} +2 -2
  258. package/dist/chunks/{job-wd87259q.js → reference-wd87259q.js} +1 -1
  259. package/dist/chunks/{job-tazp3vs0.js → reference-wgtcm0m7.js} +4 -4
  260. package/dist/chunks/{job-a8wt8y1z.js → reference-wsxhr7mz.js} +1 -1
  261. package/dist/chunks/{job-tc2ag5qj.js → reference-wzw60d3c.js} +6 -6
  262. package/dist/chunks/{job-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{job-wv91mkn5.js → reference-x54c8ekp.js} +13 -13
  264. package/dist/chunks/{job-rrqs6dcd.js → reference-xe8wrm2v.js} +7 -7
  265. package/dist/chunks/{job-dmqcgk4z.js → reference-xkntkrq7.js} +5 -5
  266. package/dist/chunks/{job-6vr4frws.js → reference-xtk3c0wk.js} +21 -21
  267. package/dist/chunks/{job-7pr2hkwv.js → reference-xvp1j2dc.js} +5 -5
  268. package/dist/chunks/{job-6x9kp8ex.js → reference-y1022pqf.js} +20 -20
  269. package/dist/chunks/{job-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{job-zx3b154r.js → reference-y5jzt5h7.js} +2 -2
  271. package/dist/chunks/{job-y71avatq.js → reference-y71avatq.js} +1 -1
  272. package/dist/chunks/{job-3kvemn9y.js → reference-ydqd2mjj.js} +14 -14
  273. package/dist/chunks/{job-crtzgn9t.js → reference-yf019c59.js} +21 -21
  274. package/dist/chunks/{job-dhpaedsx.js → reference-yfn15sv3.js} +4 -4
  275. package/dist/chunks/{job-gsn75v2a.js → reference-ygwjbdqw.js} +20 -20
  276. package/dist/chunks/{job-wdgz3xr4.js → reference-yn5hrsx6.js} +48 -48
  277. package/dist/chunks/{job-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
  278. package/dist/chunks/{job-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{job-yrznvahk.js → reference-yrznvahk.js} +2 -2
  280. package/dist/chunks/{job-0jbb0jam.js → reference-yzmt9s1b.js} +16 -16
  281. package/dist/chunks/{job-z07pqspn.js → reference-z07pqspn.js} +3 -3
  282. package/dist/chunks/{job-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
  283. package/dist/chunks/{job-bq2zwxzx.js → reference-z3zp24an.js} +6 -6
  284. package/dist/chunks/{job-z63w68vq.js → reference-z63w68vq.js} +2 -2
  285. package/dist/chunks/{job-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
  286. package/dist/chunks/{job-3fcw9sbf.js → reference-zhjy7jmn.js} +4 -4
  287. package/dist/chunks/{job-gjjcw6rp.js → reference-zn9yn8hw.js} +52 -52
  288. package/dist/chunks/{job-rgajyaf8.js → reference-znpmv816.js} +6 -6
  289. package/dist/chunks/{job-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
  290. package/dist/chunks/{job-q2src7z2.js → reference-zsc4zr95.js} +11 -11
  291. package/dist/chunks/{job-r8b1k8ga.js → reference-zwtn2b75.js} +18 -18
  292. package/dist/chunks/{job-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
  293. package/dist/codemode/catalog.js +1 -1
  294. package/dist/codemode/instructions.js +7 -7
  295. package/dist/codemode/tool.js +3 -3
  296. package/dist/codemode/web.js +1 -1
  297. package/dist/command.js +83 -83
  298. package/dist/config/discovery.js +82 -82
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +106 -106
  301. package/dist/config/plugin/agent.js +125 -125
  302. package/dist/config/plugin/command.js +215 -215
  303. package/dist/config/plugin/compaction.js +161 -161
  304. package/dist/config/plugin/compatibility.js +141 -141
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +124 -124
  307. package/dist/config/plugin/image.js +123 -123
  308. package/dist/config/plugin/instruction.js +90 -90
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +132 -132
  311. package/dist/config/plugin/policy.js +124 -124
  312. package/dist/config/plugin/provider.js +123 -123
  313. package/dist/config/plugin/reference.js +125 -125
  314. package/dist/config/plugin/shell.js +125 -125
  315. package/dist/config/plugin/skill-file.js +102 -102
  316. package/dist/config/plugin/skill.js +142 -142
  317. package/dist/config/plugin/snapshot.js +121 -121
  318. package/dist/config/plugin/source.js +126 -126
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +124 -124
  321. package/dist/config/plugin/worktree.js +125 -125
  322. package/dist/config/variable.js +3 -3
  323. package/dist/config/watch.js +1 -1
  324. package/dist/config.js +124 -124
  325. package/dist/credential/sql.js +2 -2
  326. package/dist/credential.js +85 -85
  327. package/dist/database/database.js +66 -66
  328. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  329. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  330. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  331. package/dist/database/drizzle/index.js +13 -13
  332. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  335. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  339. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  341. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  342. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  343. package/dist/database/drizzle.js +14 -14
  344. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  345. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  346. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  347. package/dist/database/migration/20260225215848_workspace.js +1 -1
  348. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  349. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  350. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  351. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  352. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  353. package/dist/database/migration/20260323234822_events.js +1 -1
  354. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  355. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  356. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  357. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  358. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  359. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  360. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  361. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  362. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  363. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  364. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  365. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  366. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  367. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  368. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  369. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  370. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  371. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  372. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  373. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  374. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  375. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  376. package/dist/database/migration/20260611035744_credential.js +1 -1
  377. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  378. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  379. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  380. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  381. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  382. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  383. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  384. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  385. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  386. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  387. package/dist/database/migration/20260812213948_worktree.js +1 -1
  388. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  389. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  390. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  391. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  392. package/dist/database/migration.gen.js +49 -49
  393. package/dist/database/migration.js +51 -51
  394. package/dist/database/path.js +2 -2
  395. package/dist/database/schema.gen.js +1 -1
  396. package/dist/database/schema.sql.js +1 -1
  397. package/dist/database/sqlite.bun.js +1 -1
  398. package/dist/database/sqlite.js +1 -1
  399. package/dist/database/sqlite.node.js +1 -1
  400. package/dist/database/sqlite.workerd.js +1 -1
  401. package/dist/database/v1-migration.bun.js +76 -76
  402. package/dist/database/v1-migration.js +1 -1
  403. package/dist/effect/app-node-builder.js +372 -372
  404. package/dist/effect/app-node-platform.js +2 -2
  405. package/dist/effect/keyed-mutex.js +1 -1
  406. package/dist/effect/websocket-constructor.js +1 -1
  407. package/dist/environment/driver.js +1 -1
  408. package/dist/environment/environment.js +93 -93
  409. package/dist/environment/exec-defaults.js +2 -2
  410. package/dist/environment/files.js +1 -1
  411. package/dist/environment/index.js +93 -93
  412. package/dist/environment/local.js +2 -2
  413. package/dist/environment/memory.js +2 -2
  414. package/dist/environment/unavailable.js +1 -1
  415. package/dist/event/sql.js +1 -1
  416. package/dist/event-logger.js +70 -70
  417. package/dist/file-access.js +104 -104
  418. package/dist/file-mutation.js +90 -90
  419. package/dist/file-retention.js +1 -1
  420. package/dist/filesystem/fff.bun.js +2 -2
  421. package/dist/filesystem/fff.js +1 -1
  422. package/dist/filesystem/fff.node.js +2 -2
  423. package/dist/filesystem/fff.workerd.js +2 -2
  424. package/dist/filesystem/ignore.js +1 -1
  425. package/dist/filesystem/location-watcher-policy.js +2 -2
  426. package/dist/filesystem/location-watcher.js +226 -226
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +103 -103
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +100 -100
  432. package/dist/form.js +84 -84
  433. package/dist/formatter/builtins.js +4 -4
  434. package/dist/formatter.js +89 -89
  435. package/dist/generate.js +103 -103
  436. package/dist/git.js +6 -6
  437. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  438. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  439. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  440. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  441. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  442. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  443. package/dist/github-copilot/copilot-provider.js +17 -17
  444. package/dist/github-copilot/models.js +91 -91
  445. package/dist/github-copilot/openai-compatible-error.js +1 -1
  446. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  447. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  448. package/dist/github-copilot/responses/openai-error.js +1 -1
  449. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  450. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  451. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  452. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  453. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  454. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  456. package/dist/id/id.js +1 -1
  457. package/dist/image/photon.js +2 -2
  458. package/dist/image.js +6 -6
  459. package/dist/instance/service.js +5 -5
  460. package/dist/instance.js +363 -363
  461. package/dist/instruction-discovery.js +85 -85
  462. package/dist/instructions/builtins.js +87 -87
  463. package/dist/instructions/index.js +5 -5
  464. package/dist/integration/connection.js +3 -3
  465. package/dist/integration.js +87 -87
  466. package/dist/job.js +79 -79
  467. package/dist/kv/sql.js +2 -2
  468. package/dist/kv.js +73 -73
  469. package/dist/location-activity.js +132 -132
  470. package/dist/location-lifecycle.js +107 -107
  471. package/dist/location-service-map.js +86 -86
  472. package/dist/location-services.js +360 -360
  473. package/dist/location.js +81 -81
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +109 -109
  477. package/dist/mcp/instructions.js +129 -129
  478. package/dist/mcp/oauth.js +78 -78
  479. package/dist/mcp/stdio.js +90 -90
  480. package/dist/mime.js +1 -1
  481. package/dist/modal/models.js +91 -91
  482. package/dist/model-resolver.js +98 -98
  483. package/dist/model.js +100 -100
  484. package/dist/models-dev.js +107 -107
  485. package/dist/oauth/page.js +1 -1
  486. package/dist/permission/saved.js +82 -82
  487. package/dist/permission/sql.js +5 -5
  488. package/dist/permission.js +113 -113
  489. package/dist/persistent-pty/binary.bun.js +1 -1
  490. package/dist/persistent-pty/daemon.js +1 -1
  491. package/dist/persistent-pty/index.js +82 -82
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +104 -104
  495. package/dist/plugin/command.js +102 -102
  496. package/dist/plugin/hooks.js +5 -5
  497. package/dist/plugin/host.js +219 -219
  498. package/dist/plugin/identity.js +3 -3
  499. package/dist/plugin/instance.js +5 -5
  500. package/dist/plugin/internal.js +335 -335
  501. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  502. package/dist/plugin/models-dev.js +96 -96
  503. package/dist/plugin/module.js +7 -7
  504. package/dist/plugin/optimize.js +2 -2
  505. package/dist/plugin/plan.js +102 -102
  506. package/dist/plugin/promise.js +1 -1
  507. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  508. package/dist/plugin/provider/azure.js +122 -122
  509. package/dist/plugin/provider/cerebras.js +1 -1
  510. package/dist/plugin/provider/chatgpt.js +93 -93
  511. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  512. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  513. package/dist/plugin/provider/cohere.js +2 -2
  514. package/dist/plugin/provider/configured.js +119 -119
  515. package/dist/plugin/provider/digitalocean.js +93 -93
  516. package/dist/plugin/provider/dynamic.js +2 -2
  517. package/dist/plugin/provider/factory.js +1 -1
  518. package/dist/plugin/provider/gateway.js +2 -2
  519. package/dist/plugin/provider/github-copilot.js +95 -95
  520. package/dist/plugin/provider/gitlab.js +93 -93
  521. package/dist/plugin/provider/google-vertex.js +90 -90
  522. package/dist/plugin/provider/kilo.js +1 -1
  523. package/dist/plugin/provider/llmgateway.js +78 -78
  524. package/dist/plugin/provider/lmstudio.js +122 -122
  525. package/dist/plugin/provider/modal.js +92 -92
  526. package/dist/plugin/provider/nvidia.js +1 -1
  527. package/dist/plugin/provider/ollama.js +122 -122
  528. package/dist/plugin/provider/openai.js +93 -93
  529. package/dist/plugin/provider/opencode.js +95 -95
  530. package/dist/plugin/provider/openrouter.js +91 -91
  531. package/dist/plugin/provider/perplexity.js +2 -2
  532. package/dist/plugin/provider/poe.js +79 -79
  533. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  534. package/dist/plugin/provider/sap-ai-core.js +91 -91
  535. package/dist/plugin/provider/sdk-factory.js +1 -1
  536. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  537. package/dist/plugin/provider/venice.js +2 -2
  538. package/dist/plugin/provider/vercel.js +90 -90
  539. package/dist/plugin/provider/vllm.js +122 -122
  540. package/dist/plugin/provider/xai.js +91 -91
  541. package/dist/plugin/provider/zenmux.js +1 -1
  542. package/dist/plugin/provider.js +163 -163
  543. package/dist/plugin/sdk.js +72 -72
  544. package/dist/plugin/service.js +3 -3
  545. package/dist/plugin/skill.js +141 -141
  546. package/dist/plugin/source-directory.js +1 -1
  547. package/dist/plugin/supervisor.js +352 -352
  548. package/dist/plugin/tool-input-repair.js +4 -4
  549. package/dist/plugin/update.js +6 -6
  550. package/dist/plugin/vcs/git.js +86 -86
  551. package/dist/plugin/vcs/hg.js +86 -86
  552. package/dist/plugin/verbosity.js +93 -93
  553. package/dist/plugin/warming.js +121 -121
  554. package/dist/plugin/websearch/exa.js +7 -7
  555. package/dist/plugin/websearch/firecrawl.js +8 -8
  556. package/dist/plugin/websearch/index.js +9 -9
  557. package/dist/plugin/websearch/mcp.js +6 -6
  558. package/dist/plugin/websearch/parallel.js +6 -6
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +228 -228
  562. package/dist/project/schema.js +2 -2
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +80 -80
  565. package/dist/provider.js +101 -101
  566. package/dist/pty/protocol.js +1 -1
  567. package/dist/pty/ticket.js +1 -1
  568. package/dist/pty.js +99 -99
  569. package/dist/reference/instructions.js +89 -89
  570. package/dist/reference.js +91 -91
  571. package/dist/repository-cache.js +81 -81
  572. package/dist/repository.js +1 -1
  573. package/dist/ripgrep/binary.js +2 -2
  574. package/dist/ripgrep.js +97 -97
  575. package/dist/rpc.js +86 -86
  576. package/dist/schema.js +1 -1
  577. package/dist/session/affinity.js +1 -1
  578. package/dist/session/command.js +74 -74
  579. package/dist/session/compaction.js +135 -135
  580. package/dist/session/context.js +151 -151
  581. package/dist/session/diff.js +88 -88
  582. package/dist/session/environment.js +5 -5
  583. package/dist/session/error.js +5 -5
  584. package/dist/session/event.js +1 -1
  585. package/dist/session/execution/restart.js +222 -222
  586. package/dist/session/execution.js +128 -128
  587. package/dist/session/generate.js +154 -154
  588. package/dist/session/history.js +13 -13
  589. package/dist/session/inbox.js +88 -88
  590. package/dist/session/info.js +3 -3
  591. package/dist/session/instruction-entry.js +79 -79
  592. package/dist/session/instruction-state.js +8 -8
  593. package/dist/session/instructions.js +97 -97
  594. package/dist/session/message-updater.js +4 -4
  595. package/dist/session/message.js +1 -1
  596. package/dist/session/model-request.js +120 -120
  597. package/dist/session/model-transport.js +9 -9
  598. package/dist/session/move.js +130 -130
  599. package/dist/session/projector.js +86 -86
  600. package/dist/session/prompt.js +105 -105
  601. package/dist/session/provider-context.js +3 -3
  602. package/dist/session/revert.js +90 -90
  603. package/dist/session/run-coordinator.js +1 -1
  604. package/dist/session/runner/index.js +3 -3
  605. package/dist/session/runner/llm.js +232 -232
  606. package/dist/session/runner/max-steps.js +1 -1
  607. package/dist/session/runner/model.js +98 -98
  608. package/dist/session/runner/publish-llm-event.js +3 -3
  609. package/dist/session/runner/retry.js +4 -4
  610. package/dist/session/runner/step.js +124 -124
  611. package/dist/session/runner/to-llm-message.js +2 -2
  612. package/dist/session/schema.js +5 -5
  613. package/dist/session/session.js +170 -170
  614. package/dist/session/shell.js +138 -138
  615. package/dist/session/skill.js +103 -103
  616. package/dist/session/sql.js +5 -5
  617. package/dist/session/stats.js +73 -73
  618. package/dist/session/store.js +87 -87
  619. package/dist/session/subagent-completion.js +1 -1
  620. package/dist/session/subagent-job.js +211 -211
  621. package/dist/session/system-prompt.js +1 -1
  622. package/dist/session/title.js +155 -155
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +215 -215
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +219 -219
  627. package/dist/shell/parse.js +6 -6
  628. package/dist/shell/result.js +1 -1
  629. package/dist/shell/scan.js +1 -1
  630. package/dist/shell/select.js +13 -13
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +105 -105
  634. package/dist/skill.js +110 -110
  635. package/dist/snapshot.js +91 -91
  636. package/dist/state.js +1 -1
  637. package/dist/tool/html-markdown.js +1 -1
  638. package/dist/tool/http-body.js +1 -1
  639. package/dist/tool/mcp.js +126 -126
  640. package/dist/tool/plugin/edit.js +120 -120
  641. package/dist/tool/plugin/file-diff.js +1 -1
  642. package/dist/tool/plugin/glob.js +124 -124
  643. package/dist/tool/plugin/grep.js +120 -120
  644. package/dist/tool/plugin/mcp-resource.js +117 -117
  645. package/dist/tool/plugin/opencode.js +3 -3
  646. package/dist/tool/plugin/patch.js +122 -122
  647. package/dist/tool/plugin/question.js +101 -101
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +214 -214
  650. package/dist/tool/plugin/skill.js +105 -105
  651. package/dist/tool/plugin/subagent.js +220 -220
  652. package/dist/tool/plugin/webfetch.js +112 -112
  653. package/dist/tool/plugin/websearch.js +114 -114
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +100 -100
  656. package/dist/tool/runtime.js +1 -1
  657. package/dist/tool-output.js +8 -8
  658. package/dist/tool.js +12 -12
  659. package/dist/util/error-summary.js +1 -1
  660. package/dist/util/error.js +1 -1
  661. package/dist/util/git-executable.js +2 -2
  662. package/dist/util/iife.js +1 -1
  663. package/dist/util/lazy.js +1 -1
  664. package/dist/util/slug.js +1 -1
  665. package/dist/util/token.js +1 -1
  666. package/dist/util/which.js +1 -1
  667. package/dist/util/wildcard.js +1 -1
  668. package/dist/v1/config/agent.js +5 -5
  669. package/dist/v1/config/attachment.js +4 -4
  670. package/dist/v1/config/command.js +3 -3
  671. package/dist/v1/config/config.js +16 -16
  672. package/dist/v1/config/error.js +2 -2
  673. package/dist/v1/config/formatter.js +5 -5
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +3 -3
  676. package/dist/v1/config/mcp.js +4 -4
  677. package/dist/v1/config/migrate.js +92 -92
  678. package/dist/v1/config/permission.js +1 -1
  679. package/dist/v1/config/plugin.js +3 -3
  680. package/dist/v1/config/provider-options.js +1 -1
  681. package/dist/v1/config/provider.js +4 -4
  682. package/dist/v1/config/server.js +2 -2
  683. package/dist/v1/config/skills.js +3 -3
  684. package/dist/v1/permission.js +1 -1
  685. package/dist/variant.js +93 -93
  686. package/dist/vcs/patch.js +1 -1
  687. package/dist/vcs.js +89 -89
  688. package/dist/websearch.js +82 -82
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +81 -81
  691. package/dist/workspace/driver.js +5 -5
  692. package/dist/workspace/sql.js +1 -1
  693. package/dist/workspace.js +80 -80
  694. package/dist/worktree/directory.js +2 -2
  695. package/dist/worktree/git.js +10 -10
  696. package/dist/worktree/sql.js +5 -5
  697. package/dist/worktree/strategies.js +89 -89
  698. package/dist/worktree.js +98 -98
  699. package/package.json +8 -8
  700. package/dist/chunks/job-9mag1gb4.js +0 -26
  701. package/dist/chunks/job-dxj72tfx.js +0 -18
  702. package/dist/chunks/job-gnj94y4s.js +0 -252
  703. /package/dist/chunks/{job-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
  704. /package/dist/chunks/{job-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
  705. /package/dist/chunks/{job-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
  706. /package/dist/chunks/{job-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
  707. /package/dist/chunks/{job-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
  708. /package/dist/chunks/{job-24dcb14g.js → reference-24dcb14g.js} +0 -0
  709. /package/dist/chunks/{job-2710q6r3.js → reference-2710q6r3.js} +0 -0
  710. /package/dist/chunks/{job-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
  711. /package/dist/chunks/{job-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
  712. /package/dist/chunks/{job-34c7v6d4.js → reference-34c7v6d4.js} +0 -0
  713. /package/dist/chunks/{job-359p4xyc.js → reference-359p4xyc.js} +0 -0
  714. /package/dist/chunks/{job-3asan66x.js → reference-3asan66x.js} +0 -0
  715. /package/dist/chunks/{job-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
  716. /package/dist/chunks/{job-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
  717. /package/dist/chunks/{job-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
  718. /package/dist/chunks/{job-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
  719. /package/dist/chunks/{job-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
  720. /package/dist/chunks/{job-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
  721. /package/dist/chunks/{job-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
  722. /package/dist/chunks/{job-53557ph1.js → reference-53557ph1.js} +0 -0
  723. /package/dist/chunks/{job-550bvhaj.js → reference-550bvhaj.js} +0 -0
  724. /package/dist/chunks/{job-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
  725. /package/dist/chunks/{job-6prwharc.js → reference-6prwharc.js} +0 -0
  726. /package/dist/chunks/{job-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{job-7m9af43g.js → reference-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{job-822emrt2.js → reference-822emrt2.js} +0 -0
  729. /package/dist/chunks/{job-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{job-8n3pysct.js → reference-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{job-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{job-922hggd3.js → reference-922hggd3.js} +0 -0
  733. /package/dist/chunks/{job-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{job-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{job-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{job-af5trqkr.js → reference-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{job-afrmfg78.js → reference-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{job-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{job-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{job-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{job-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{job-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{job-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{job-d9fn303g.js → reference-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{job-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{job-dajrwvna.js → reference-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{job-dap0rakb.js → reference-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{job-df08tz66.js → reference-df08tz66.js} +0 -0
  749. /package/dist/chunks/{job-dy18nga0.js → reference-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{job-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{job-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{job-ec1grn59.js → reference-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{job-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{job-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{job-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{job-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{job-faypxj3z.js → reference-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{job-fd410y7t.js → reference-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{job-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{job-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{job-g86h250q.js → reference-g86h250q.js} +0 -0
  762. /package/dist/chunks/{job-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{job-gftt206x.js → reference-gftt206x.js} +0 -0
  764. /package/dist/chunks/{job-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{job-hk9envan.js → reference-hk9envan.js} +0 -0
  766. /package/dist/chunks/{job-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{job-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{job-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{job-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{job-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{job-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{job-mp448xyj.js → reference-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{job-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{job-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{job-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{job-njntx4h6.js → reference-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{job-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{job-q74kybfr.js → reference-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{job-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{job-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{job-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{job-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{job-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{job-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{job-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{job-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{job-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{job-w803qqfp.js → reference-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{job-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{job-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{job-wtztk69x.js → reference-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{job-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{job-x61499pn.js → reference-x61499pn.js} +0 -0
  794. /package/dist/chunks/{job-y44na4kk.js → reference-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{job-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{job-y8f7s663.js → reference-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{job-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{job-ym463w8f.js → reference-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{job-z9919s4g.js → reference-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
- Service39
3
- } from "./job-pna42hr7.js";
2
+ Service49
3
+ } from "./reference-w0ct177m.js";
4
4
  import {
5
- Service50
6
- } from "./job-5rnnm2b5.js";
5
+ Service46
6
+ } from "./reference-1nzh38e4.js";
7
7
  import {
8
8
  observe2
9
- } from "./job-qsdy395h.js";
9
+ } from "./reference-qsdy395h.js";
10
10
  import {
11
11
  __export
12
- } from "./job-9rqn6x4v.js";
12
+ } from "./reference-9rqn6x4v.js";
13
13
 
14
14
  // src/config/plugin/image.ts
15
15
  var exports_image = {};
16
16
  __export(exports_image, {
17
17
  ConfigImagePlugin: () => exports_image,
18
- Plugin: () => Plugin23
18
+ Plugin: () => Plugin25
19
19
  });
20
20
  import { define } from "@opencode/plugin/effect/plugin";
21
21
  import { Effect } from "effect";
22
- var Plugin23 = define({
22
+ var Plugin25 = define({
23
23
  id: "opencode.config.image",
24
24
  effect: Effect.fn(function* (ctx) {
25
- const config = yield* Service39;
26
- const image = yield* Service50;
25
+ const config = yield* Service49;
26
+ const image = yield* Service46;
27
27
  const loaded = yield* observe2(config, ctx.event, image.reload());
28
28
  yield* image.transform((editor) => {
29
29
  for (const entry of loaded.entries) {
@@ -43,4 +43,4 @@ var Plugin23 = define({
43
43
  })
44
44
  });
45
45
 
46
- export { Plugin23, exports_image };
46
+ export { Plugin25, exports_image };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  AbsolutePath2,
3
3
  RelativePath2
4
- } from "./job-922hggd3.js";
4
+ } from "./reference-922hggd3.js";
5
5
  import {
6
6
  SessionSchema2
7
- } from "./job-7w99qc9d.js";
7
+ } from "./reference-2f04pwep.js";
8
8
 
9
9
  // src/session/info.ts
10
10
  import { DateTime, Schema } from "effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./job-gftt206x.js";
3
+ } from "./reference-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./job-7w99qc9d.js";
6
+ } from "./reference-2f04pwep.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./job-bq2zwxzx.js";
9
+ } from "./reference-z3zp24an.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./job-0gdmqesm.js";
13
+ } from "./reference-02nrjc1r.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./job-z07pqspn.js";
16
+ } from "./reference-z07pqspn.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./job-tazp3vs0.js";
20
+ } from "./reference-wgtcm0m7.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./job-syf57q56.js";
25
+ } from "./reference-a81kfqvn.js";
26
26
  import {
27
27
  __export
28
- } from "./job-9rqn6x4v.js";
28
+ } from "./reference-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -1,58 +1,58 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./job-8gf1193z.js";
4
+ } from "./reference-7zeyjkbe.js";
5
5
  import {
6
- Service72,
7
- node75
8
- } from "./job-4qart0q5.js";
6
+ Service70,
7
+ node74
8
+ } from "./reference-h3tvvjet.js";
9
9
  import {
10
10
  Service81,
11
11
  node85
12
- } from "./job-m9yq670e.js";
12
+ } from "./reference-44sx4v5c.js";
13
13
  import {
14
14
  Ref4,
15
15
  Service80,
16
16
  node84
17
- } from "./job-eg9d22mh.js";
17
+ } from "./reference-paqwx8q6.js";
18
18
  import {
19
19
  canonical3
20
- } from "./job-gbra0ncn.js";
20
+ } from "./reference-4srk58w8.js";
21
21
  import {
22
22
  SessionEvent2
23
- } from "./job-ec1grn59.js";
23
+ } from "./reference-ec1grn59.js";
24
24
  import {
25
- Service57,
26
- node59
27
- } from "./job-gjjcw6rp.js";
25
+ Service71,
26
+ node75
27
+ } from "./reference-zn9yn8hw.js";
28
28
  import {
29
- Service76,
30
- node79
31
- } from "./job-fbkspamq.js";
29
+ Service44,
30
+ node46
31
+ } from "./reference-c3h0gj9a.js";
32
32
  import {
33
33
  __export
34
- } from "./job-9rqn6x4v.js";
34
+ } from "./reference-9rqn6x4v.js";
35
35
 
36
36
  // src/location-lifecycle.ts
37
37
  var exports_location_lifecycle = {};
38
38
  __export(exports_location_lifecycle, {
39
39
  LocationLifecycle: () => exports_location_lifecycle,
40
- Service: () => Service14,
41
- node: () => node16
40
+ Service: () => Service15,
41
+ node: () => node17
42
42
  });
43
43
  import { Context, Effect, Layer, Schema } from "effect";
44
44
  import { makeLocationNode } from "@opencode/util/effect/app-node";
45
45
  import { LocationEvent } from "@opencode/schema/location-event";
46
46
  var isSessionEvent = Schema.is(SessionEvent2.Durable);
47
47
 
48
- class Service14 extends Context.Service()("@opencode/LocationLifecycle") {
48
+ class Service15 extends Context.Service()("@opencode/LocationLifecycle") {
49
49
  }
50
- var layer = Layer.effect(Service14, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service15, Effect.gen(function* () {
51
51
  const bus = yield* Service83;
52
52
  const location = yield* Service80;
53
- const permission = yield* Service57;
54
- const forms = yield* Service72;
55
- const rpc = yield* Service76;
53
+ const permission = yield* Service71;
54
+ const forms = yield* Service70;
55
+ const rpc = yield* Service44;
56
56
  const project = yield* Service81;
57
57
  const scope = yield* Effect.scope;
58
58
  yield* project.activate(location.project.id);
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
75
75
  location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
76
76
  });
77
77
  }).pipe(Effect.uninterruptible));
78
- return Service14.of({
78
+ return Service15.of({
79
79
  isClosed: () => closed,
80
80
  shutdown
81
81
  });
82
82
  }));
83
- var node16 = makeLocationNode({
84
- service: Service14,
83
+ var node17 = makeLocationNode({
84
+ service: Service15,
85
85
  layer,
86
- deps: [node87, node84, node59, node85, node75, node79]
86
+ deps: [node87, node84, node75, node85, node74, node46]
87
87
  });
88
88
 
89
- export { Service14, node16, exports_location_lifecycle };
89
+ export { Service15, node17, exports_location_lifecycle };
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./job-g2zryj83.js";
4
+ } from "./reference-vgj5jbet.js";
5
5
  import {
6
6
  Service83,
7
7
  node87
8
- } from "./job-8gf1193z.js";
8
+ } from "./reference-7zeyjkbe.js";
9
9
  import {
10
10
  CredentialTable2
11
- } from "./job-pknna89w.js";
11
+ } from "./reference-pknna89w.js";
12
12
  import {
13
13
  from2
14
- } from "./job-3zsf4n22.js";
14
+ } from "./reference-3zsf4n22.js";
15
15
  import {
16
16
  __export
17
- } from "./job-9rqn6x4v.js";
17
+ } from "./reference-9rqn6x4v.js";
18
18
 
19
19
  // src/credential.ts
20
20
  var exports_credential = {};
21
21
  __export(exports_credential, {
22
22
  Credential: () => exports_credential,
23
- Event: () => Event19,
24
- ID: () => ID15,
25
- Info: () => Info30,
26
- Key: () => Key4,
23
+ Event: () => Event16,
24
+ ID: () => ID11,
25
+ Info: () => Info25,
26
+ Key: () => Key3,
27
27
  OAuth: () => OAuth3,
28
- Service: () => Service73,
28
+ Service: () => Service69,
29
29
  Value: () => Value2,
30
- node: () => node76
30
+ node: () => node73
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 ID15 = Credential.ID;
37
+ var ID11 = Credential.ID;
38
38
  var OAuth3 = Credential.OAuth;
39
- var Key4 = Credential.Key;
39
+ var Key3 = Credential.Key;
40
40
  var Value2 = Credential.Value;
41
- var Event19 = Credential.Event;
41
+ var Event16 = Credential.Event;
42
42
 
43
- class Info30 extends Schema.Class("Credential.Info")({
44
- id: ID15,
43
+ class Info25 extends Schema.Class("Credential.Info")({
44
+ id: ID11,
45
45
  integrationID: Integration.ID,
46
46
  label: Schema.String,
47
47
  value: Value2
48
48
  }) {
49
49
  }
50
50
 
51
- class Service73 extends Context.Service()("@opencode/Credential") {
51
+ class Service69 extends Context.Service()("@opencode/Credential") {
52
52
  }
53
- var layer = Layer.effect(Service73, Effect.gen(function* () {
53
+ var layer = Layer.effect(Service69, Effect.gen(function* () {
54
54
  const db = (yield* Service84).db;
55
55
  const bus = yield* Service83;
56
56
  const decode = Schema.decodeUnknownSync(Value2);
57
57
  const stored = (row) => {
58
58
  if (!row.integration_id)
59
59
  return;
60
- return new Info30({
60
+ return new Info25({
61
61
  id: row.id,
62
62
  integrationID: row.integration_id,
63
63
  label: row.label,
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
68
68
  const credential = stored(row);
69
69
  return credential ? [credential] : [];
70
70
  });
71
- return Service73.of({
71
+ return Service69.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(Service73, 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 Info30({
80
- id: input.id ?? ID15.create(),
79
+ const credential = new Info25({
80
+ id: input.id ?? ID11.create(),
81
81
  integrationID: input.integrationID,
82
82
  label: input.label ?? "default",
83
83
  value: input.value
@@ -108,9 +108,9 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
108
108
  type: credential.value.type,
109
109
  active: activated
110
110
  });
111
- yield* bus.publish(Event19.Updated, {}, { global: true });
111
+ yield* bus.publish(Event16.Updated, {}, { global: true });
112
112
  if (activated)
113
- yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
113
+ yield* bus.publish(Event16.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
114
114
  return credential;
115
115
  }),
116
116
  activate: Effect.fn("Credential.activate")(function* (id) {
@@ -130,7 +130,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
130
130
  })), Effect.orDie);
131
131
  if (integrationID) {
132
132
  yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
133
- yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
133
+ yield* bus.publish(Event16.Switched, { integrationID, credentialID: id }, { global: true });
134
134
  }
135
135
  }),
136
136
  update: Effect.fn("Credential.update")(function* (id, updates) {
@@ -162,7 +162,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
162
162
  labelChanged: updates.label !== undefined && updates.label !== credential.label
163
163
  });
164
164
  if (updates.label !== undefined && updates.label !== credential.label)
165
- yield* bus.publish(Event19.Updated, {}, { global: true });
165
+ yield* bus.publish(Event16.Updated, {}, { global: true });
166
166
  }),
167
167
  remove: Effect.fn("Credential.remove")(function* (id) {
168
168
  const removed = yield* db.transaction((tx) => Effect.gen(function* () {
@@ -195,12 +195,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
195
195
  active: removed.switched,
196
196
  ...removed.switched ? { replacementID: removed.credentialID } : {}
197
197
  });
198
- yield* bus.publish(Event19.Updated, {}, { global: true });
198
+ yield* bus.publish(Event16.Updated, {}, { global: true });
199
199
  if (removed.switched)
200
- yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
200
+ yield* bus.publish(Event16.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
201
201
  })
202
202
  });
203
203
  }));
204
- var node76 = makeGlobalNode({ service: Service73, layer, deps: [node88, node87] });
204
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node88, node87] });
205
205
 
206
- export { ID15, OAuth3, Key4, Value2, Event19, Info30, Service73, node76, exports_credential };
206
+ export { ID11, OAuth3, Key3, Value2, Event16, Info25, Service69, node73, exports_credential };
@@ -1,57 +1,57 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./job-8gf1193z.js";
4
+ } from "./reference-7zeyjkbe.js";
5
5
  import {
6
6
  Service80,
7
7
  node84
8
- } from "./job-eg9d22mh.js";
8
+ } from "./reference-paqwx8q6.js";
9
9
  import {
10
- Service78,
11
- node81
12
- } from "./job-zz2t2kk4.js";
10
+ Service56,
11
+ node58
12
+ } from "./reference-jhrpy0h8.js";
13
13
  import {
14
14
  cleanup3
15
- } from "./job-gd4qta3r.js";
15
+ } from "./reference-gd4qta3r.js";
16
16
  import {
17
- Service69,
17
+ Service52,
18
18
  args2,
19
- node72
20
- } from "./job-7td7z3fp.js";
19
+ node54
20
+ } from "./reference-qxvtm6f6.js";
21
21
  import {
22
- Service62,
23
- node64
24
- } from "./job-428ep8fh.js";
22
+ Service75,
23
+ node79
24
+ } from "./reference-166kng33.js";
25
25
  import {
26
- Service38,
27
- node41
28
- } from "./job-sm965ndy.js";
26
+ Service48,
27
+ node50
28
+ } from "./reference-8aaqm6qj.js";
29
29
  import {
30
30
  SessionSchema2
31
- } from "./job-7w99qc9d.js";
31
+ } from "./reference-2f04pwep.js";
32
32
  import {
33
33
  latest2,
34
- Service39,
35
- node42
36
- } from "./job-pna42hr7.js";
34
+ Service49,
35
+ node51
36
+ } from "./reference-w0ct177m.js";
37
37
  import {
38
38
  MAX_LINES2,
39
39
  MAX_BYTES2
40
- } from "./job-9c3zczec.js";
40
+ } from "./reference-w8bax687.js";
41
41
  import {
42
42
  __export
43
- } from "./job-9rqn6x4v.js";
43
+ } from "./reference-9rqn6x4v.js";
44
44
 
45
45
  // src/shell.ts
46
46
  var exports_shell4 = {};
47
47
  __export(exports_shell4, {
48
48
  DIRECTORY: () => DIRECTORY2,
49
- NotFoundError: () => NotFoundError4,
49
+ NotFoundError: () => NotFoundError5,
50
50
  RETENTION: () => RETENTION2,
51
- Service: () => Service37,
51
+ Service: () => Service47,
52
52
  Shell: () => exports_shell4,
53
53
  cleanup: () => cleanup2,
54
- node: () => node40
54
+ node: () => node49
55
55
  });
56
56
  import path from "path";
57
57
  import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
63
63
  import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
65
  import { Global } from "@opencode/util/global";
66
- class NotFoundError4 extends Schema.TaggedError()("Shell.NotFoundError", {
66
+ class NotFoundError5 extends Schema.TaggedError()("Shell.NotFoundError", {
67
67
  id: Shell.ID
68
68
  }) {
69
69
  }
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
71
71
  var RETENTION2 = Duration.days(7);
72
72
  var DIRECTORY2 = "shell";
73
73
 
74
- class Service37 extends Context.Service()("@opencode/Shell") {
74
+ class Service47 extends Context.Service()("@opencode/Shell") {
75
75
  }
76
76
  var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
77
77
  const fs = yield* FSUtil.Service;
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
87
87
  layer: cleanupLayer,
88
88
  deps: [FSUtil.node, Global.node]
89
89
  });
90
- var layer = () => Layer.effect(Service37, Effect.gen(function* () {
90
+ var layer = () => Layer.effect(Service47, Effect.gen(function* () {
91
91
  const bus = yield* Service83;
92
92
  const location = yield* Service80;
93
93
  const global = yield* Global.Service;
94
- const shell = yield* Service69;
95
- const environment = yield* Service78;
96
- const hooks = yield* Service62;
97
- const environments = yield* Service38;
98
- const config = yield* Service39;
94
+ const shell = yield* Service52;
95
+ const environment = yield* Service56;
96
+ const hooks = yield* Service75;
97
+ const environments = yield* Service48;
98
+ const config = yield* Service49;
99
99
  const context = yield* Effect.context();
100
100
  const runFork = Effect.runForkWith(context);
101
101
  const commands = new Map;
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
116
116
  const require2 = Effect.fnUntraced(function* (id) {
117
117
  const command = commands.get(id);
118
118
  if (!command)
119
- return yield* new NotFoundError4({ id });
119
+ return yield* new NotFoundError5({ id });
120
120
  return command;
121
121
  });
122
122
  const removeCommand = Effect.fnUntraced(function* (id) {
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
129
129
  commands.delete(id);
130
130
  if (command.timeoutFiber)
131
131
  yield* Fiber.interrupt(command.timeoutFiber);
132
- yield* Deferred.fail(command.done, new NotFoundError4({ id }));
132
+ yield* Deferred.fail(command.done, new NotFoundError5({ id }));
133
133
  yield* Effect.promise(() => unlink(command.file).catch(() => {}));
134
134
  yield* bus.publish(Shell.Event.Deleted, { id });
135
135
  });
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service37, Effect.gen(function* () {
323
323
  const command = yield* Deferred.await(ready);
324
324
  return command.info;
325
325
  });
326
- return Service37.of({ create, list, get, wait, result, timeout, output, remove });
326
+ return Service47.of({ create, list, get, wait, result, timeout, output, remove });
327
327
  }));
328
- var node40 = makeLocationNode({
329
- service: Service37,
328
+ var node49 = makeLocationNode({
329
+ service: Service47,
330
330
  layer: layer(),
331
331
  deps: [
332
332
  node87,
333
333
  node84,
334
334
  Global.node,
335
- node72,
336
- node81,
337
- node64,
338
- node41,
339
- node42,
335
+ node54,
336
+ node58,
337
+ node79,
338
+ node50,
339
+ node51,
340
340
  cleanupNode
341
341
  ]
342
342
  });
343
343
 
344
- export { NotFoundError4, RETENTION2, DIRECTORY2, Service37, cleanup2, node40, exports_shell4 };
344
+ export { NotFoundError5, RETENTION2, DIRECTORY2, Service47, cleanup2, node49, exports_shell4 };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./job-tvtrv512.js";
3
+ } from "./reference-tvtrv512.js";
4
4
  import {
5
- Service75,
6
- node78
7
- } from "./job-q0djyqnm.js";
5
+ Service67,
6
+ node71
7
+ } from "./reference-0rsrt5zk.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./job-gftt206x.js";
10
+ } from "./reference-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./job-7w99qc9d.js";
13
+ } from "./reference-2f04pwep.js";
14
14
  import {
15
15
  __export
16
- } from "./job-9rqn6x4v.js";
16
+ } from "./reference-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service67,
23
- make: () => make20,
24
- node: () => node70
22
+ Service: () => Service60,
23
+ make: () => make18,
24
+ node: () => node63
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
  var COMPLETED_LIMIT = 25;
53
53
 
54
- class Service67 extends Context.Service()("@opencode/Job") {
54
+ class Service60 extends Context.Service()("@opencode/Job") {
55
55
  }
56
56
  function snapshot(job) {
57
57
  return {
@@ -86,8 +86,8 @@ function decrementSession(input, sessionID) {
86
86
  next.set(sessionID, count - 1);
87
87
  return next;
88
88
  }
89
- var make20 = Effect.gen(function* () {
90
- const kv = yield* Service75;
89
+ var make18 = Effect.gen(function* () {
90
+ const kv = yield* Service67;
91
91
  const state = {
92
92
  jobs: yield* SynchronizedRef.make(new Map),
93
93
  scope: yield* Scope.Scope
@@ -346,7 +346,7 @@ var make20 = Effect.gen(function* () {
346
346
  next.delete(entry[0]);
347
347
  return next;
348
348
  })));
349
- return Service67.of({
349
+ return Service60.of({
350
350
  get,
351
351
  start,
352
352
  wait,
@@ -358,7 +358,7 @@ var make20 = Effect.gen(function* () {
358
358
  completeBackground
359
359
  });
360
360
  });
361
- var layer = Layer.effect(Service67, make20);
362
- var node70 = makeGlobalNode({ service: Service67, layer, deps: [node78] });
361
+ var layer = Layer.effect(Service60, make18);
362
+ var node63 = makeGlobalNode({ service: Service60, layer, deps: [node71] });
363
363
 
364
- export { Service67, make20, node70, exports_job };
364
+ export { Service60, make18, node63, exports_job };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./job-5t3nmthw.js";
3
+ } from "./reference-5t3nmthw.js";
4
4
  import {
5
- Service56,
6
- node58
7
- } from "./job-39c9j40n.js";
5
+ Service53,
6
+ node55
7
+ } from "./reference-qb2p9zbg.js";
8
8
  import {
9
9
  __export
10
- } from "./job-9rqn6x4v.js";
10
+ } from "./reference-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service21,
17
+ Service: () => Service42,
18
18
  UnavailableError: () => UnavailableError2,
19
- layer: () => layer10,
20
- node: () => node24
19
+ layer: () => layer17,
20
+ node: () => node44
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { SessionID } from "@opencode/schema/session-id";
@@ -34,11 +34,11 @@ class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError"
34
34
  }) {
35
35
  }
36
36
 
37
- class Service21 extends Context.Service()("@opencode/Generate") {
37
+ class Service42 extends Context.Service()("@opencode/Generate") {
38
38
  }
39
- var layer10 = Layer.effect(Service21, Effect.gen(function* () {
39
+ var layer17 = Layer.effect(Service42, Effect.gen(function* () {
40
40
  const llm = yield* LLMClient.Service;
41
- const resolver = yield* Service56;
41
+ const resolver = yield* Service53;
42
42
  const runText = Effect.fn("Generate.text")(function* (input) {
43
43
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
44
44
  "SessionRunnerModel.VariantUnavailableError",
@@ -68,12 +68,12 @@ var layer10 = Layer.effect(Service21, Effect.gen(function* () {
68
68
  const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
69
69
  message: "Generation credentials are unavailable"
70
70
  })));
71
- return Service21.of({ text });
71
+ return Service42.of({ text });
72
72
  }));
73
- var node24 = makeLocationNode({
74
- service: Service21,
75
- layer: layer10,
76
- deps: [node58, llmClient2]
73
+ var node44 = makeLocationNode({
74
+ service: Service42,
75
+ layer: layer17,
76
+ deps: [node55, llmClient2]
77
77
  });
78
78
 
79
- export { ModelSelectionError2, UnavailableError2, Service21, layer10, node24, exports_generate };
79
+ export { ModelSelectionError2, UnavailableError2, Service42, layer17, node44, exports_generate2 };