@opencode/core 0.0.0-dev-20369 → 0.0.0-dev-20371

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 (800) 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 +9 -9
  6. package/dist/bus.js +69 -69
  7. package/dist/chunks/{repository-cache-pfmwbpnc.js → job-070z7q5z.js} +5 -5
  8. package/dist/chunks/{repository-cache-asmhed6t.js → job-08zvwfa6.js} +8 -8
  9. package/dist/chunks/{repository-cache-427t97hr.js → job-0bfcnrg1.js} +1 -1
  10. package/dist/chunks/{repository-cache-rf54a7zr.js → job-0drc8hcc.js} +11 -11
  11. package/dist/chunks/{repository-cache-wk5z6jzv.js → job-0jq9fyba.js} +9 -9
  12. package/dist/chunks/{repository-cache-rkf60bj6.js → job-0ks83ste.js} +5 -5
  13. package/dist/chunks/{repository-cache-pwxxk091.js → job-0ntx8wq1.js} +15 -15
  14. package/dist/chunks/{repository-cache-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{repository-cache-73tb2d7t.js → job-1bbkgx8g.js} +3 -3
  16. package/dist/chunks/{repository-cache-ytbkfms3.js → job-1d51n6mq.js} +182 -182
  17. package/dist/chunks/{repository-cache-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{repository-cache-9mrmz292.js → job-1q9kwsw9.js} +33 -33
  19. package/dist/chunks/{repository-cache-s06stbnd.js → job-1qp8cny8.js} +12 -12
  20. package/dist/chunks/{repository-cache-vqk8nwkc.js → job-1s7g3qea.js} +45 -45
  21. package/dist/chunks/{repository-cache-j9c63wzn.js → job-1vatpf3b.js} +6 -6
  22. package/dist/chunks/{repository-cache-hv8yjb44.js → job-1vfwrmvr.js} +3 -3
  23. package/dist/chunks/{repository-cache-33w4ejhs.js → job-1ygqh575.js} +6 -6
  24. package/dist/chunks/{repository-cache-21r38tys.js → job-21r38tys.js} +1 -1
  25. package/dist/chunks/{repository-cache-wht100tr.js → job-28wwj7rw.js} +18 -18
  26. package/dist/chunks/{repository-cache-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  27. package/dist/chunks/{repository-cache-2q54vq3t.js → job-2b5ph6bv.js} +11 -11
  28. package/dist/chunks/{repository-cache-6tb60k4h.js → job-2cephfsv.js} +4 -4
  29. package/dist/chunks/{repository-cache-57ez7d0k.js → job-2fgn2we9.js} +9 -9
  30. package/dist/chunks/{repository-cache-dat3r6mv.js → job-2kj542me.js} +17 -17
  31. package/dist/chunks/{repository-cache-a2654jmr.js → job-2sg81vp0.js} +10 -10
  32. package/dist/chunks/{repository-cache-1vxqmaxs.js → job-2yb3d34d.js} +6 -6
  33. package/dist/chunks/{repository-cache-qj10ksrk.js → job-2zekrh71.js} +2 -2
  34. package/dist/chunks/{repository-cache-zv4kd1sh.js → job-32t7nvvg.js} +9 -9
  35. package/dist/chunks/{repository-cache-hg4kcybh.js → job-365696rp.js} +32 -32
  36. package/dist/chunks/{repository-cache-vsacqhcb.js → job-37pv846m.js} +17 -17
  37. package/dist/chunks/{repository-cache-64gr48sc.js → job-392vgaca.js} +11 -11
  38. package/dist/chunks/{repository-cache-ew2yn983.js → job-3d7e55bn.js} +5 -5
  39. package/dist/chunks/{repository-cache-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  40. package/dist/chunks/{repository-cache-rpnv56mn.js → job-3gw2rwh7.js} +8 -8
  41. package/dist/chunks/{repository-cache-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{repository-cache-k6rvtcby.js → job-3kzpn2f6.js} +33 -33
  43. package/dist/chunks/{repository-cache-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  44. package/dist/chunks/{repository-cache-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  45. package/dist/chunks/{repository-cache-evbgk2k8.js → job-3w0fmcng.js} +5 -5
  46. package/dist/chunks/{repository-cache-mb9ashqs.js → job-3y9tqqzt.js} +7 -7
  47. package/dist/chunks/{repository-cache-3zsf4n22.js → job-3zsf4n22.js} +1 -1
  48. package/dist/chunks/{repository-cache-0bkd3x0g.js → job-40td2ptr.js} +40 -40
  49. package/dist/chunks/{repository-cache-45h82h9y.js → job-4gk0f1ce.js} +21 -21
  50. package/dist/chunks/{repository-cache-fqf5xbzx.js → job-4tqs85z2.js} +19 -19
  51. package/dist/chunks/{repository-cache-a37k8rrq.js → job-54jnjdgy.js} +12 -12
  52. package/dist/chunks/{repository-cache-54ma36ye.js → job-54ma36ye.js} +1 -1
  53. package/dist/chunks/{repository-cache-jzcedyre.js → job-5655v4tw.js} +10 -10
  54. package/dist/chunks/{repository-cache-rfpzg1kb.js → job-59wxjycg.js} +8 -8
  55. package/dist/chunks/{repository-cache-5daktx2q.js → job-5daktx2q.js} +1 -1
  56. package/dist/chunks/{repository-cache-ap2206v9.js → job-5mtehfab.js} +5 -5
  57. package/dist/chunks/{repository-cache-8grkf0eh.js → job-5prsmz6x.js} +15 -15
  58. package/dist/chunks/{repository-cache-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  59. package/dist/chunks/{repository-cache-m6yr2gq6.js → job-61j7v7zp.js} +11 -11
  60. package/dist/chunks/{repository-cache-dvh99x22.js → job-626p78sa.js} +21 -21
  61. package/dist/chunks/{repository-cache-cd0j2xk9.js → job-65pvh2pf.js} +7 -7
  62. package/dist/chunks/{repository-cache-669tq793.js → job-669tq793.js} +1 -1
  63. package/dist/chunks/{repository-cache-d91rdxge.js → job-66jzwthx.js} +22 -22
  64. package/dist/chunks/{repository-cache-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  65. package/dist/chunks/{repository-cache-smya4g4s.js → job-6nh3e7fm.js} +32 -32
  66. package/dist/chunks/{repository-cache-py3kkmfq.js → job-6pc27hjz.js} +6 -6
  67. package/dist/chunks/{repository-cache-ydgy0jv4.js → job-6sbznzgf.js} +6 -6
  68. package/dist/chunks/{repository-cache-cwa6csj7.js → job-79qaa2kf.js} +9 -9
  69. package/dist/chunks/{repository-cache-pywavm7z.js → job-79rs5pvv.js} +31 -31
  70. package/dist/chunks/{repository-cache-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  71. package/dist/chunks/{repository-cache-c651xxjb.js → job-7cdat2nm.js} +4 -4
  72. package/dist/chunks/{repository-cache-2k8khapm.js → job-7dqw4kz8.js} +5 -5
  73. package/dist/chunks/{repository-cache-kj9cewpz.js → job-7f7gk7wj.js} +26 -26
  74. package/dist/chunks/{repository-cache-p44d8wdy.js → job-7gvwkz6m.js} +5 -5
  75. package/dist/chunks/{repository-cache-k7bkg04e.js → job-7h8gt534.js} +9 -9
  76. package/dist/chunks/{repository-cache-jp80hny8.js → job-7qzz6k6n.js} +33 -33
  77. package/dist/chunks/{repository-cache-0a0hvk85.js → job-7s4xyb9b.js} +21 -21
  78. package/dist/chunks/{repository-cache-eeaf82dq.js → job-7sbn2nrf.js} +8 -8
  79. package/dist/chunks/{repository-cache-agsg4cpk.js → job-7vnkjmkt.js} +39 -39
  80. package/dist/chunks/{repository-cache-t07jxw78.js → job-81111kpe.js} +18 -18
  81. package/dist/chunks/{repository-cache-w1eejvng.js → job-84txncab.js} +5 -5
  82. package/dist/chunks/{repository-cache-eksppc5n.js → job-86sw97n2.js} +55 -55
  83. package/dist/chunks/{repository-cache-scakzs5b.js → job-89j8qhap.js} +13 -13
  84. package/dist/chunks/{repository-cache-fzvt39wb.js → job-89thx78j.js} +3 -3
  85. package/dist/chunks/{repository-cache-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  86. package/dist/chunks/{repository-cache-e2hjzebn.js → job-8gxqpgph.js} +4 -4
  87. package/dist/chunks/{repository-cache-wrs9pw8e.js → job-8refj9rj.js} +28 -28
  88. package/dist/chunks/{repository-cache-vca4nb65.js → job-939twzwa.js} +33 -33
  89. package/dist/chunks/{repository-cache-94ek1h2f.js → job-94ek1h2f.js} +2 -2
  90. package/dist/chunks/{repository-cache-7jkezq9t.js → job-97knfzv3.js} +11 -11
  91. package/dist/chunks/{repository-cache-zeg8wypa.js → job-9ffrtm6a.js} +19 -19
  92. package/dist/chunks/{repository-cache-xjt7eya3.js → job-9ymrmzwn.js} +17 -17
  93. package/dist/chunks/{repository-cache-rbg03t47.js → job-a00e1vjd.js} +13 -13
  94. package/dist/chunks/{repository-cache-bgz93gp7.js → job-a39qz51m.js} +46 -46
  95. package/dist/chunks/{repository-cache-za7gw4wk.js → job-a4pdvehx.js} +6 -6
  96. package/dist/chunks/{repository-cache-a23pvya7.js → job-a5xkvzcq.js} +3 -3
  97. package/dist/chunks/{repository-cache-aaet6srn.js → job-aaet6srn.js} +2 -2
  98. package/dist/chunks/{repository-cache-xqk27j46.js → job-abgca53t.js} +6 -6
  99. package/dist/chunks/{repository-cache-q2jytm9w.js → job-ahnwgsjc.js} +14 -14
  100. package/dist/chunks/{repository-cache-z45tr6e4.js → job-aqqfnkfr.js} +20 -20
  101. package/dist/chunks/{repository-cache-2h357dj2.js → job-av2hk3b3.js} +11 -11
  102. package/dist/chunks/{repository-cache-wzz0kxab.js → job-awaee7qt.js} +9 -9
  103. package/dist/chunks/{repository-cache-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{repository-cache-sc5pc2yp.js → job-b6pqbech.js} +26 -26
  105. package/dist/chunks/{repository-cache-3ddydpdy.js → job-bqepa4bz.js} +11 -11
  106. package/dist/chunks/{repository-cache-1667m5cp.js → job-bqh4ek6f.js} +8 -8
  107. package/dist/chunks/{repository-cache-2stw3wyk.js → job-bra8fq5c.js} +3 -3
  108. package/dist/chunks/{repository-cache-xw2wg1y5.js → job-bv3vnfn9.js} +10 -10
  109. package/dist/chunks/{repository-cache-c9sa8xnx.js → job-bv4yq929.js} +20 -20
  110. package/dist/chunks/{repository-cache-47m3nr6v.js → job-bvtbh1zd.js} +24 -24
  111. package/dist/chunks/{repository-cache-jysawejs.js → job-c8vx28sk.js} +25 -25
  112. package/dist/chunks/{repository-cache-xj33k3cs.js → job-cb97g57e.js} +15 -15
  113. package/dist/chunks/{repository-cache-5cvf39ct.js → job-cgz7w10m.js} +11 -11
  114. package/dist/chunks/{repository-cache-ckecvw8r.js → job-ckecvw8r.js} +2 -2
  115. package/dist/chunks/{repository-cache-80sa0j8b.js → job-ckxv70fd.js} +43 -43
  116. package/dist/chunks/{repository-cache-pmxw3e6e.js → job-cs3bgcz8.js} +5 -5
  117. package/dist/chunks/{repository-cache-wd2p6tkx.js → job-cscnhd06.js} +19 -19
  118. package/dist/chunks/{repository-cache-y16p1w2y.js → job-csmvz898.js} +9 -9
  119. package/dist/chunks/{repository-cache-gejnakz3.js → job-cx8d1p1r.js} +22 -22
  120. package/dist/chunks/{repository-cache-z0aj456m.js → job-d858xzj7.js} +4 -4
  121. package/dist/chunks/{repository-cache-z69xn9rw.js → job-dd80ran9.js} +11 -11
  122. package/dist/chunks/{repository-cache-291xmebt.js → job-dfy0dep3.js} +13 -13
  123. package/dist/chunks/{repository-cache-bwhecd05.js → job-djk93v3m.js} +36 -36
  124. package/dist/chunks/{repository-cache-0sbc344g.js → job-dnhgeb65.js} +23 -23
  125. package/dist/chunks/{repository-cache-3011g7h6.js → job-dp3p8yg5.js} +3 -3
  126. package/dist/chunks/{repository-cache-xfkkasph.js → job-drwq78ky.js} +4 -4
  127. package/dist/chunks/{repository-cache-ras1rzfd.js → job-dw8ejfa5.js} +4 -4
  128. package/dist/chunks/{repository-cache-e38jm44f.js → job-e3892a5g.js} +15 -15
  129. package/dist/chunks/{repository-cache-t550f9t1.js → job-eaj1djv9.js} +8 -8
  130. package/dist/chunks/{repository-cache-ecfe7b91.js → job-ecfe7b91.js} +2 -2
  131. package/dist/chunks/{repository-cache-jbkekqyw.js → job-eewk93g1.js} +11 -11
  132. package/dist/chunks/{repository-cache-ef5x83kb.js → job-ef5x83kb.js} +1 -1
  133. package/dist/chunks/{repository-cache-3ky3469x.js → job-ehs9p6c6.js} +4 -4
  134. package/dist/chunks/{repository-cache-ge53arp8.js → job-ep9rxn62.js} +48 -48
  135. package/dist/chunks/{repository-cache-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{repository-cache-qt26wktx.js → job-exe90egw.js} +23 -23
  137. package/dist/chunks/{repository-cache-kf2m36k8.js → job-exr3ztv0.js} +22 -22
  138. package/dist/chunks/{repository-cache-y55db347.js → job-eybnxx9x.js} +34 -34
  139. package/dist/chunks/{repository-cache-32ymn5e1.js → job-eyz64kwr.js} +6 -6
  140. package/dist/chunks/{repository-cache-cex2j2jp.js → job-ez72xzmx.js} +24 -24
  141. package/dist/chunks/{repository-cache-2q8xkfgn.js → job-f72hpyzs.js} +10 -10
  142. package/dist/chunks/{repository-cache-yakvhztc.js → job-f97tesgw.js} +36 -36
  143. package/dist/chunks/{repository-cache-6zc7rmqw.js → job-fd6p76xn.js} +15 -15
  144. package/dist/chunks/{repository-cache-dvkyzkrt.js → job-fkg44zq1.js} +30 -30
  145. package/dist/chunks/{repository-cache-yyhxvm28.js → job-fknfzssq.js} +54 -54
  146. package/dist/chunks/{repository-cache-m8cyjv6r.js → job-g2py15eg.js} +18 -18
  147. package/dist/chunks/{repository-cache-s0xttw3k.js → job-g35x6qc6.js} +22 -22
  148. package/dist/chunks/{repository-cache-g5agzp2h.js → job-g5agzp2h.js} +2 -2
  149. package/dist/chunks/{repository-cache-g1wy4zv9.js → job-g7hz4x51.js} +20 -20
  150. package/dist/chunks/{repository-cache-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{repository-cache-r4nnjac8.js → job-gjf2r0cw.js} +47 -47
  152. package/dist/chunks/{repository-cache-gv6a8nnw.js → job-gv6a8nnw.js} +2 -2
  153. package/dist/chunks/job-gyce5qg1.js +18 -0
  154. package/dist/chunks/{repository-cache-nfcr1yw4.js → job-h2r7bbkd.js} +8 -8
  155. package/dist/chunks/{repository-cache-6rm5yzkt.js → job-h6310vsd.js} +4 -4
  156. package/dist/chunks/{repository-cache-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  157. package/dist/chunks/{repository-cache-cvjg7bv4.js → job-h77n0n1v.js} +91 -91
  158. package/dist/chunks/{repository-cache-yrennevv.js → job-hbxj6d7m.js} +19 -19
  159. package/dist/chunks/{repository-cache-eqkxs06z.js → job-hdab2k61.js} +6 -6
  160. package/dist/chunks/{repository-cache-2p22eq26.js → job-ht26072f.js} +20 -20
  161. package/dist/chunks/{repository-cache-sntmbee3.js → job-hxsn41ry.js} +5 -5
  162. package/dist/chunks/{repository-cache-7psgveam.js → job-hygdzndk.js} +23 -23
  163. package/dist/chunks/{repository-cache-zmkzffe7.js → job-j4526dn8.js} +32 -32
  164. package/dist/chunks/{repository-cache-j56e64zr.js → job-j56e64zr.js} +1 -1
  165. package/dist/chunks/{repository-cache-t9zs3egg.js → job-j83byb14.js} +4 -4
  166. package/dist/chunks/{repository-cache-nng2ktcm.js → job-jca4demv.js} +2 -2
  167. package/dist/chunks/{repository-cache-bgxcxs0p.js → job-jv01nqvq.js} +5 -5
  168. package/dist/chunks/{repository-cache-g190xswt.js → job-jw80jp6b.js} +4 -4
  169. package/dist/chunks/{repository-cache-stpnd7xz.js → job-jyyhspxb.js} +28 -28
  170. package/dist/chunks/{repository-cache-nzks3jc8.js → job-k3c624dm.js} +3 -3
  171. package/dist/chunks/{repository-cache-231d6nsc.js → job-k8d8jhfq.js} +9 -9
  172. package/dist/chunks/{repository-cache-j7yag5py.js → job-kps8mm0h.js} +25 -25
  173. package/dist/chunks/{repository-cache-be6nvhda.js → job-krkftj6y.js} +3 -3
  174. package/dist/chunks/{repository-cache-pp6ma3n4.js → job-ks5ytj7w.js} +32 -32
  175. package/dist/chunks/{repository-cache-nceekcwx.js → job-kt2qxt1q.js} +22 -22
  176. package/dist/chunks/{repository-cache-r33ff4dw.js → job-kxpygcw9.js} +6 -6
  177. package/dist/chunks/{repository-cache-syxkcnbr.js → job-m1b0y4ms.js} +69 -69
  178. package/dist/chunks/{repository-cache-m3fdjcah.js → job-m3fdjcah.js} +1 -1
  179. package/dist/chunks/{repository-cache-gs7k0xe7.js → job-m7gqy8fq.js} +3 -3
  180. package/dist/chunks/{repository-cache-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{repository-cache-3gme9a8b.js → job-may0v2nw.js} +7 -7
  182. package/dist/chunks/{repository-cache-qst67tj6.js → job-mffs11ds.js} +9 -9
  183. package/dist/chunks/{repository-cache-zqq2pk5b.js → job-mfkmvaxb.js} +26 -26
  184. package/dist/chunks/{repository-cache-kt7sr4py.js → job-mvt89ew9.js} +11 -11
  185. package/dist/chunks/{repository-cache-5gm763qm.js → job-mwg87ph2.js} +13 -13
  186. package/dist/chunks/{repository-cache-g24mhrgs.js → job-mz9987p5.js} +11 -11
  187. package/dist/chunks/{repository-cache-21x0kyec.js → job-n2111k47.js} +25 -25
  188. package/dist/chunks/{repository-cache-h6df3pyv.js → job-n4gep9mb.js} +12 -12
  189. package/dist/chunks/job-n99wrmcv.js +252 -0
  190. package/dist/chunks/{repository-cache-qp7ve9d0.js → job-ndjhpbp9.js} +20 -20
  191. package/dist/chunks/{repository-cache-wtrdp2zm.js → job-nepqcnnp.js} +16 -16
  192. package/dist/chunks/{repository-cache-z5crsmww.js → job-njp0gf2a.js} +13 -13
  193. package/dist/chunks/{repository-cache-z34ds6ds.js → job-nr1759yc.js} +26 -26
  194. package/dist/chunks/{repository-cache-2kc95tmw.js → job-nr4cbwsz.js} +11 -11
  195. package/dist/chunks/{repository-cache-dv1qgsyq.js → job-p37cw4rj.js} +6 -6
  196. package/dist/chunks/{repository-cache-xk59rbx9.js → job-p4re4qw3.js} +5 -5
  197. package/dist/chunks/{repository-cache-dvs6yr4k.js → job-p55v1mgs.js} +30 -30
  198. package/dist/chunks/{repository-cache-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{repository-cache-ewtw6aeq.js → job-pk4fzd2r.js} +13 -13
  200. package/dist/chunks/{repository-cache-pknna89w.js → job-pknna89w.js} +1 -1
  201. package/dist/chunks/{repository-cache-hdpxa6fd.js → job-prwaxg3a.js} +4 -4
  202. package/dist/chunks/{repository-cache-0wdkc2wa.js → job-pt44024h.js} +8 -8
  203. package/dist/chunks/{repository-cache-7w99qc9d.js → job-q3t37ft6.js} +3 -3
  204. package/dist/chunks/{repository-cache-w7mpr4xf.js → job-q7e7h3jc.js} +34 -34
  205. package/dist/chunks/{repository-cache-c965vwdg.js → job-q7tsf30m.js} +18 -18
  206. package/dist/chunks/{repository-cache-n20df6db.js → job-q81jybvn.js} +37 -37
  207. package/dist/chunks/{repository-cache-mgmaefw5.js → job-q8n9d2sh.js} +8 -8
  208. package/dist/chunks/{repository-cache-keyj6cah.js → job-q9xgy8ym.js} +17 -17
  209. package/dist/chunks/{repository-cache-4bcse622.js → job-qs9pxh57.js} +89 -89
  210. package/dist/chunks/{repository-cache-qsdy395h.js → job-qsdy395h.js} +1 -1
  211. package/dist/chunks/{repository-cache-p53sd9ee.js → job-qssv3dx8.js} +24 -24
  212. package/dist/chunks/{repository-cache-gx2j0qm7.js → job-qwjvyef7.js} +10 -10
  213. package/dist/chunks/{repository-cache-wjqqpmpn.js → job-qwvk0c2d.js} +10 -10
  214. package/dist/chunks/{repository-cache-rdw6cm16.js → job-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{repository-cache-08cc3crx.js → job-rj1bbv9j.js} +12 -12
  216. package/dist/chunks/{repository-cache-k8hpw67k.js → job-rnx2ffb5.js} +5 -5
  217. package/dist/chunks/{repository-cache-v5dkyp31.js → job-ryr25ayn.js} +4 -4
  218. package/dist/chunks/{repository-cache-r5gzwt7x.js → job-rznxkf9m.js} +14 -14
  219. package/dist/chunks/{repository-cache-tap5zb78.js → job-s1yd2jbk.js} +21 -21
  220. package/dist/chunks/{repository-cache-syf57q56.js → job-s30fyz93.js} +4 -4
  221. package/dist/chunks/{repository-cache-x8xh44zn.js → job-s4dvknn7.js} +39 -39
  222. package/dist/chunks/job-s6gm95me.js +26 -0
  223. package/dist/chunks/{repository-cache-a2crq8zj.js → job-s83zsfm2.js} +20 -20
  224. package/dist/chunks/{repository-cache-1sp2eg82.js → job-se32ht20.js} +11 -11
  225. package/dist/chunks/{repository-cache-6f36mv2g.js → job-sekmtqhk.js} +25 -25
  226. package/dist/chunks/{repository-cache-f7rj482f.js → job-sjjwhc07.js} +8 -8
  227. package/dist/chunks/{repository-cache-jdgxkak0.js → job-t0jhd4bp.js} +44 -44
  228. package/dist/chunks/{repository-cache-q68wa7tn.js → job-t1va49jq.js} +1 -1
  229. package/dist/chunks/{repository-cache-djgvgpsy.js → job-t3ceny3k.js} +10 -10
  230. package/dist/chunks/{repository-cache-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{repository-cache-wewgh3cc.js → job-tc6qcdy5.js} +5 -5
  232. package/dist/chunks/{repository-cache-tcezcvh9.js → job-tcezcvh9.js} +1 -1
  233. package/dist/chunks/{repository-cache-p6x3ebhz.js → job-tdse14yb.js} +16 -16
  234. package/dist/chunks/{repository-cache-tdstcens.js → job-tdstcens.js} +1 -1
  235. package/dist/chunks/{repository-cache-bbkf9pcq.js → job-tfs9ggmd.js} +17 -17
  236. package/dist/chunks/{repository-cache-1kgp9mnr.js → job-tpa1ymwm.js} +23 -23
  237. package/dist/chunks/{repository-cache-tvtrv512.js → job-tvtrv512.js} +1 -1
  238. package/dist/chunks/{repository-cache-qby9dwvd.js → job-tx9w5tca.js} +8 -8
  239. package/dist/chunks/{repository-cache-c8mkc70c.js → job-ty0kmg92.js} +15 -15
  240. package/dist/chunks/{repository-cache-2hh6b730.js → job-v1390g52.js} +25 -25
  241. package/dist/chunks/{repository-cache-z42hbx87.js → job-v3g267jc.js} +10 -10
  242. package/dist/chunks/{repository-cache-kcmnest9.js → job-v6rsc0ja.js} +18 -18
  243. package/dist/chunks/{repository-cache-cgg1386b.js → job-vae58e1e.js} +16 -16
  244. package/dist/chunks/{repository-cache-veqvce7d.js → job-veqvce7d.js} +1 -1
  245. package/dist/chunks/{repository-cache-thtyfg4s.js → job-vf6wxnqf.js} +43 -43
  246. package/dist/chunks/{repository-cache-y3sv3n32.js → job-vhpph6c8.js} +19 -19
  247. package/dist/chunks/{repository-cache-2n1w6jqq.js → job-vt818j22.js} +32 -32
  248. package/dist/chunks/{repository-cache-wr4ecj30.js → job-vvb7z6kn.js} +14 -14
  249. package/dist/chunks/{repository-cache-n8zdancj.js → job-vyhg5b8v.js} +1 -1
  250. package/dist/chunks/{repository-cache-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  251. package/dist/chunks/{repository-cache-vzs5sf6e.js → job-vzs5sf6e.js} +1 -1
  252. package/dist/chunks/{repository-cache-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  253. package/dist/chunks/{repository-cache-wd3x2cqz.js → job-wd3x2cqz.js} +2 -2
  254. package/dist/chunks/{repository-cache-wd87259q.js → job-wd87259q.js} +1 -1
  255. package/dist/chunks/{repository-cache-5yrkbczz.js → job-wna4f359.js} +35 -35
  256. package/dist/chunks/{repository-cache-n1ka8r9d.js → job-wq4mmp7m.js} +4 -4
  257. package/dist/chunks/{repository-cache-ckc7wkyg.js → job-wrce431g.js} +32 -32
  258. package/dist/chunks/{repository-cache-pfqe37c4.js → job-wrm0d5m3.js} +25 -25
  259. package/dist/chunks/{repository-cache-50zetvfx.js → job-ww0zfs5y.js} +12 -12
  260. package/dist/chunks/{repository-cache-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{repository-cache-hz6g7x4z.js → job-x248gk1b.js} +8 -8
  262. package/dist/chunks/{repository-cache-qjsj8s2h.js → job-x4wpewa3.js} +18 -18
  263. package/dist/chunks/{repository-cache-ve9ds9se.js → job-x94yaj2b.js} +23 -23
  264. package/dist/chunks/{repository-cache-qbvmjyzb.js → job-xbaejtq7.js} +9 -9
  265. package/dist/chunks/{repository-cache-maeqbeqr.js → job-xd0g28fh.js} +9 -9
  266. package/dist/chunks/{repository-cache-wb7w4rth.js → job-xdsb90pv.js} +11 -11
  267. package/dist/chunks/{repository-cache-qg0jgkcp.js → job-xk747vep.js} +9 -9
  268. package/dist/chunks/{repository-cache-xkntkrq7.js → job-xkntkrq7.js} +2 -2
  269. package/dist/chunks/{repository-cache-fknpd3nq.js → job-xy1g38wv.js} +17 -17
  270. package/dist/chunks/{repository-cache-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  271. package/dist/chunks/{repository-cache-ewgkfh1g.js → job-y268xf5j.js} +5 -5
  272. package/dist/chunks/{repository-cache-g13d9vgq.js → job-y49vnmvd.js} +26 -26
  273. package/dist/chunks/{repository-cache-afed7ext.js → job-y5df08dr.js} +12 -12
  274. package/dist/chunks/{repository-cache-mpk0rfs5.js → job-y6bex35g.js} +4 -4
  275. package/dist/chunks/{repository-cache-y71avatq.js → job-y71avatq.js} +1 -1
  276. package/dist/chunks/{repository-cache-0thxwbsq.js → job-yaf95dqt.js} +11 -11
  277. package/dist/chunks/{repository-cache-aw9cnddb.js → job-yeqhe88k.js} +9 -9
  278. package/dist/chunks/{repository-cache-2cmv458r.js → job-ykczf8eq.js} +5 -5
  279. package/dist/chunks/{repository-cache-j6k053yf.js → job-ymph2q1s.js} +4 -4
  280. package/dist/chunks/{repository-cache-r8xr0va3.js → job-yp2x3t23.js} +4 -4
  281. package/dist/chunks/{repository-cache-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  282. package/dist/chunks/{repository-cache-yrznvahk.js → job-yrznvahk.js} +2 -2
  283. package/dist/chunks/{repository-cache-kxdk9anj.js → job-ys4a075p.js} +20 -20
  284. package/dist/chunks/{repository-cache-z07pqspn.js → job-z07pqspn.js} +3 -3
  285. package/dist/chunks/{repository-cache-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  286. package/dist/chunks/{repository-cache-z63w68vq.js → job-z63w68vq.js} +2 -2
  287. package/dist/chunks/{repository-cache-hw7qarbm.js → job-zcsv6hgt.js} +4 -4
  288. package/dist/chunks/{repository-cache-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{repository-cache-vwm97rz7.js → job-zjxkp4nz.js} +6 -6
  290. package/dist/chunks/{repository-cache-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  291. package/dist/chunks/job-zscfgz3n.js +507 -0
  292. package/dist/chunks/{repository-cache-zxq2ej10.js → job-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 +123 -123
  302. package/dist/config/plugin/command.js +213 -213
  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 +125 -125
  310. package/dist/config/plugin/mcp.js +130 -130
  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 +123 -123
  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 +123 -123
  318. package/dist/config/plugin/source.js +124 -124
  319. package/dist/config/plugin/tool-output.js +125 -125
  320. package/dist/config/plugin/websearch.js +122 -122
  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 +95 -95
  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 +94 -94
  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 +6 -6
  426. package/dist/filesystem/location-watcher.js +228 -228
  427. package/dist/filesystem/protected.js +1 -1
  428. package/dist/filesystem/search.js +99 -99
  429. package/dist/filesystem/watcher-binding.js +1 -1
  430. package/dist/filesystem/watcher.js +13 -13
  431. package/dist/filesystem.js +102 -102
  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 +10 -10
  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 +81 -81
  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 +87 -87
  474. package/dist/managed-policy.js +5 -5
  475. package/dist/mcp/client.js +91 -91
  476. package/dist/mcp/index.js +105 -105
  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 +102 -102
  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 +84 -84
  492. package/dist/persistent-pty/pty-binding.js +1 -1
  493. package/dist/persistent-pty.js +75 -75
  494. package/dist/plugin/agent.js +102 -102
  495. package/dist/plugin/command.js +100 -100
  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 +3 -3
  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 +4 -4
  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 +95 -95
  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 +74 -74
  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 +354 -354
  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 +5 -5
  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 +4 -4
  558. package/dist/plugin/websearch/parallel.js +8 -8
  559. package/dist/plugin/websearch/tavily.js +6 -6
  560. package/dist/plugin/websearch/tinyfish.js +8 -8
  561. package/dist/plugin.js +230 -230
  562. package/dist/project/schema.js +8 -8
  563. package/dist/project/sql.js +4 -4
  564. package/dist/project.js +88 -88
  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 +3 -3
  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 +153 -153
  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 +126 -126
  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 +2 -2
  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 +3 -3
  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 +2 -2
  610. package/dist/session/runner/step.js +126 -126
  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 +172 -172
  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 +3 -3
  622. package/dist/session/title.js +157 -157
  623. package/dist/session/to-session-error.js +111 -111
  624. package/dist/session/transfer.js +218 -218
  625. package/dist/session/usage.js +1 -1
  626. package/dist/session.js +217 -217
  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 +15 -15
  631. package/dist/shell.js +140 -140
  632. package/dist/skill/discovery.js +6 -6
  633. package/dist/skill/instructions.js +107 -107
  634. package/dist/skill.js +106 -106
  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 +118 -118
  643. package/dist/tool/plugin/grep.js +124 -124
  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 +120 -120
  647. package/dist/tool/plugin/question.js +103 -103
  648. package/dist/tool/plugin/read.js +125 -125
  649. package/dist/tool/plugin/shell.js +216 -216
  650. package/dist/tool/plugin/skill.js +113 -113
  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 +108 -108
  654. package/dist/tool/plugin/write.js +122 -122
  655. package/dist/tool/read-filesystem.js +98 -98
  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 +7 -7
  674. package/dist/v1/config/layout.js +1 -1
  675. package/dist/v1/config/lsp.js +5 -5
  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 +3 -3
  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 +84 -84
  689. package/dist/wellknown/plugin.js +76 -76
  690. package/dist/wellknown.js +79 -79
  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/repository-cache-031k76aj.js +0 -252
  701. package/dist/chunks/repository-cache-9sh4wc5j.js +0 -18
  702. package/dist/chunks/repository-cache-njf7bbrt.js +0 -507
  703. package/dist/chunks/repository-cache-vbty6caj.js +0 -26
  704. /package/dist/chunks/{repository-cache-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{repository-cache-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{repository-cache-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{repository-cache-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{repository-cache-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{repository-cache-24dcb14g.js → job-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{repository-cache-2710q6r3.js → job-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{repository-cache-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{repository-cache-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{repository-cache-34c7v6d4.js → job-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{repository-cache-359p4xyc.js → job-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{repository-cache-3asan66x.js → job-3asan66x.js} +0 -0
  716. /package/dist/chunks/{repository-cache-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{repository-cache-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{repository-cache-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{repository-cache-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{repository-cache-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{repository-cache-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{repository-cache-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{repository-cache-53557ph1.js → job-53557ph1.js} +0 -0
  724. /package/dist/chunks/{repository-cache-550bvhaj.js → job-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{repository-cache-5qd3pb7m.js → job-5qd3pb7m.js} +0 -0
  726. /package/dist/chunks/{repository-cache-6prwharc.js → job-6prwharc.js} +0 -0
  727. /package/dist/chunks/{repository-cache-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  728. /package/dist/chunks/{repository-cache-7m9af43g.js → job-7m9af43g.js} +0 -0
  729. /package/dist/chunks/{repository-cache-822emrt2.js → job-822emrt2.js} +0 -0
  730. /package/dist/chunks/{repository-cache-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  731. /package/dist/chunks/{repository-cache-8n3pysct.js → job-8n3pysct.js} +0 -0
  732. /package/dist/chunks/{repository-cache-8wj87zfr.js → job-8wj87zfr.js} +0 -0
  733. /package/dist/chunks/{repository-cache-922hggd3.js → job-922hggd3.js} +0 -0
  734. /package/dist/chunks/{repository-cache-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  735. /package/dist/chunks/{repository-cache-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  736. /package/dist/chunks/{repository-cache-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  737. /package/dist/chunks/{repository-cache-af5trqkr.js → job-af5trqkr.js} +0 -0
  738. /package/dist/chunks/{repository-cache-afrmfg78.js → job-afrmfg78.js} +0 -0
  739. /package/dist/chunks/{repository-cache-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  740. /package/dist/chunks/{repository-cache-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  741. /package/dist/chunks/{repository-cache-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  742. /package/dist/chunks/{repository-cache-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  743. /package/dist/chunks/{repository-cache-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  744. /package/dist/chunks/{repository-cache-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  745. /package/dist/chunks/{repository-cache-d9fn303g.js → job-d9fn303g.js} +0 -0
  746. /package/dist/chunks/{repository-cache-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  747. /package/dist/chunks/{repository-cache-dajrwvna.js → job-dajrwvna.js} +0 -0
  748. /package/dist/chunks/{repository-cache-dap0rakb.js → job-dap0rakb.js} +0 -0
  749. /package/dist/chunks/{repository-cache-df08tz66.js → job-df08tz66.js} +0 -0
  750. /package/dist/chunks/{repository-cache-dy18nga0.js → job-dy18nga0.js} +0 -0
  751. /package/dist/chunks/{repository-cache-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  752. /package/dist/chunks/{repository-cache-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  753. /package/dist/chunks/{repository-cache-ec1grn59.js → job-ec1grn59.js} +0 -0
  754. /package/dist/chunks/{repository-cache-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  755. /package/dist/chunks/{repository-cache-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  756. /package/dist/chunks/{repository-cache-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  757. /package/dist/chunks/{repository-cache-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  758. /package/dist/chunks/{repository-cache-faypxj3z.js → job-faypxj3z.js} +0 -0
  759. /package/dist/chunks/{repository-cache-fd410y7t.js → job-fd410y7t.js} +0 -0
  760. /package/dist/chunks/{repository-cache-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  761. /package/dist/chunks/{repository-cache-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  762. /package/dist/chunks/{repository-cache-g86h250q.js → job-g86h250q.js} +0 -0
  763. /package/dist/chunks/{repository-cache-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  764. /package/dist/chunks/{repository-cache-gftt206x.js → job-gftt206x.js} +0 -0
  765. /package/dist/chunks/{repository-cache-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  766. /package/dist/chunks/{repository-cache-hk9envan.js → job-hk9envan.js} +0 -0
  767. /package/dist/chunks/{repository-cache-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  768. /package/dist/chunks/{repository-cache-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  769. /package/dist/chunks/{repository-cache-jjkms2e6.js → job-jjkms2e6.js} +0 -0
  770. /package/dist/chunks/{repository-cache-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  771. /package/dist/chunks/{repository-cache-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  772. /package/dist/chunks/{repository-cache-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  773. /package/dist/chunks/{repository-cache-mp448xyj.js → job-mp448xyj.js} +0 -0
  774. /package/dist/chunks/{repository-cache-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  775. /package/dist/chunks/{repository-cache-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  776. /package/dist/chunks/{repository-cache-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  777. /package/dist/chunks/{repository-cache-njntx4h6.js → job-njntx4h6.js} +0 -0
  778. /package/dist/chunks/{repository-cache-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  779. /package/dist/chunks/{repository-cache-q74kybfr.js → job-q74kybfr.js} +0 -0
  780. /package/dist/chunks/{repository-cache-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  781. /package/dist/chunks/{repository-cache-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  782. /package/dist/chunks/{repository-cache-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  783. /package/dist/chunks/{repository-cache-qg3g05ea.js → job-qg3g05ea.js} +0 -0
  784. /package/dist/chunks/{repository-cache-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  785. /package/dist/chunks/{repository-cache-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  786. /package/dist/chunks/{repository-cache-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  787. /package/dist/chunks/{repository-cache-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  788. /package/dist/chunks/{repository-cache-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  789. /package/dist/chunks/{repository-cache-w803qqfp.js → job-w803qqfp.js} +0 -0
  790. /package/dist/chunks/{repository-cache-wc3fc9cn.js → job-wc3fc9cn.js} +0 -0
  791. /package/dist/chunks/{repository-cache-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  792. /package/dist/chunks/{repository-cache-wtztk69x.js → job-wtztk69x.js} +0 -0
  793. /package/dist/chunks/{repository-cache-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  794. /package/dist/chunks/{repository-cache-x61499pn.js → job-x61499pn.js} +0 -0
  795. /package/dist/chunks/{repository-cache-y44na4kk.js → job-y44na4kk.js} +0 -0
  796. /package/dist/chunks/{repository-cache-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  797. /package/dist/chunks/{repository-cache-y8f7s663.js → job-y8f7s663.js} +0 -0
  798. /package/dist/chunks/{repository-cache-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  799. /package/dist/chunks/{repository-cache-ym463w8f.js → job-ym463w8f.js} +0 -0
  800. /package/dist/chunks/{repository-cache-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
- node86
6
- } from "./repository-cache-afed7ext.js";
5
+ node85
6
+ } from "./job-y5df08dr.js";
7
7
  import {
8
- Service80,
9
- node84
10
- } from "./repository-cache-wtrdp2zm.js";
8
+ Service79,
9
+ node83
10
+ } from "./job-nepqcnnp.js";
11
11
  import {
12
12
  create3
13
- } from "./repository-cache-rdw6cm16.js";
13
+ } from "./job-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./repository-cache-mgmaefw5.js";
15
+ make15
16
+ } from "./job-q8n9d2sh.js";
17
17
  import {
18
18
  __export
19
- } from "./repository-cache-9rqn6x4v.js";
19
+ } from "./job-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service23,
24
+ Service: () => Service36,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node26
26
+ node: () => node39
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service23 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service36 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service23, Effect.gen(function* () {
37
- const location = yield* Service80;
36
+ var layer = Layer.effect(Service36, Effect.gen(function* () {
37
+ const location = yield* Service79;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make15;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service23.of({ ...state, directory: location.directory });
58
+ return Service36.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node26 = makeLocationNode({
61
- service: Service23,
60
+ var node39 = makeLocationNode({
61
+ service: Service36,
62
62
  layer,
63
- deps: [node84, Global.node, node86, FSUtil.node]
63
+ deps: [node83, Global.node, node85, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service23, node26, exports_strategies };
66
+ export { Service36, node39, exports_strategies };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service40,
8
+ Service: () => Service57,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node43
10
+ node: () => node59
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service57 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service40, () => {
17
+ var layer = Layer.sync(Service57, () => {
18
18
  const environments = new Map;
19
- return Service40.of({
19
+ return Service57.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service40, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node43 = makeGlobalNode({ service: Service40, layer, deps: [] });
29
+ var node59 = makeGlobalNode({ service: Service57, layer, deps: [] });
30
30
 
31
- export { Service40, node43, exports_environment };
31
+ export { Service57, node59, exports_environment };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-cache-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
5
  Service84,
6
6
  node88
7
- } from "./repository-cache-gs7k0xe7.js";
7
+ } from "./job-m7gqy8fq.js";
8
8
  import {
9
9
  Service83,
10
10
  node87
11
- } from "./repository-cache-6tb60k4h.js";
11
+ } from "./job-2cephfsv.js";
12
12
  import {
13
- Service82,
14
- node86
15
- } from "./repository-cache-afed7ext.js";
13
+ Service81,
14
+ node85
15
+ } from "./job-y5df08dr.js";
16
16
  import {
17
- ID18,
17
+ ID17,
18
18
  Current3,
19
- Info34,
19
+ Info33,
20
20
  UpdateInput4,
21
- Event21,
21
+ Event20,
22
22
  Vcs3
23
- } from "./repository-cache-57ez7d0k.js";
23
+ } from "./job-2fgn2we9.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./repository-cache-wd3x2cqz.js";
27
+ } from "./job-wd3x2cqz.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./repository-cache-94ek1h2f.js";
30
+ } from "./job-94ek1h2f.js";
31
31
  import {
32
32
  __export
33
- } from "./repository-cache-9rqn6x4v.js";
33
+ } from "./job-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID17,
40
- Info: () => Info33,
39
+ ID: () => ID16,
40
+ Info: () => Info32,
41
41
  NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service80,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node84,
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 ID16 = ID17;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info33 = Info34;
61
+ var Info32 = Info33;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
64
  class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID17
65
+ projectID: ID16
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
72
72
  });
73
73
  var ACTIVATE_INTERVAL = 60000;
74
74
 
75
- class Service81 extends Context.Service()("@opencode/Project") {
75
+ class Service80 extends Context.Service()("@opencode/Project") {
76
76
  }
77
77
  function fromRow(row) {
78
78
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -95,9 +95,9 @@ function fromRow(row) {
95
95
  sandboxes: row.sandboxes
96
96
  };
97
97
  }
98
- var layer = Layer.effect(Service81, Effect.gen(function* () {
98
+ var layer = Layer.effect(Service80, Effect.gen(function* () {
99
99
  const fs = yield* FSUtil.Service;
100
- const git = yield* Service82;
100
+ const git = yield* Service81;
101
101
  const proc = yield* AppProcess.Service;
102
102
  const bus = yield* Service83;
103
103
  const db = (yield* Service84).db;
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
108
108
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
109
109
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
110
110
  if (row)
111
- yield* bus.publish(Event21.Updated, fromRow(row));
111
+ yield* bus.publish(Event20.Updated, fromRow(row));
112
112
  }
113
113
  if (!project.vcs)
114
114
  return project;
@@ -145,7 +145,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
145
145
  yield* bus.publish(Worktree.Event.Resolved, {
146
146
  projectID: item.projectID,
147
147
  directory: item.directory,
148
- previous: project.previous ?? ID17.global,
148
+ previous: project.previous ?? ID16.global,
149
149
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
150
150
  }, {
151
151
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -170,7 +170,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
170
170
  if (!row)
171
171
  return yield* new NotFoundError11({ projectID: input.projectID });
172
172
  const project = fromRow(row);
173
- yield* bus.publish(Event21.Updated, project);
173
+ yield* bus.publish(Event20.Updated, project);
174
174
  return project;
175
175
  });
176
176
  const activated = new Map;
@@ -181,10 +181,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
181
181
  activated.set(projectID, now);
182
182
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
183
183
  if (row)
184
- yield* bus.publish(Event21.Updated, fromRow(row));
184
+ yield* bus.publish(Event20.Updated, fromRow(row));
185
185
  });
186
186
  const cached = Effect.fnUntraced(function* (dir) {
187
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
187
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
188
188
  return;
189
189
  }));
190
190
  });
@@ -195,7 +195,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
195
195
  const normalized = url(origin);
196
196
  if (!normalized)
197
197
  return;
198
- return ID17.make(Hash.fast(`git-remote:${normalized}`));
198
+ return ID16.make(Hash.fast(`git-remote:${normalized}`));
199
199
  });
200
200
  function url(input) {
201
201
  const value = input.trim();
@@ -220,7 +220,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
220
220
  }
221
221
  const rootCommit = Effect.fnUntraced(function* (repo) {
222
222
  const root = (yield* git.history.rootCommits(repo))[0];
223
- return root ? ID17.make(root) : undefined;
223
+ return root ? ID16.make(root) : undefined;
224
224
  });
225
225
  const hgRoot = Effect.fnUntraced(function* (worktree) {
226
226
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -236,7 +236,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
236
236
  return;
237
237
  const node = result.stdout.toString("utf8").split(`
238
238
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
239
- return node ? ID17.make(node) : undefined;
239
+ return node ? ID16.make(node) : undefined;
240
240
  });
241
241
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
242
242
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -245,7 +245,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
245
245
  const id = previous ?? (yield* hgRoot(worktree));
246
246
  return {
247
247
  previous,
248
- id: id ?? ID17.global,
248
+ id: id ?? ID16.global,
249
249
  directory: worktree,
250
250
  vcs: { type: "hg", store }
251
251
  };
@@ -262,7 +262,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
262
262
  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));
263
263
  return yield* persist({
264
264
  previous,
265
- id: id ?? ID17.global,
265
+ id: id ?? ID16.global,
266
266
  directory: repo.worktree,
267
267
  canonical,
268
268
  vcs: { type: "git", store: repo.commonDirectory }
@@ -276,18 +276,18 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
276
276
  });
277
277
  }
278
278
  return yield* persist({
279
- id: ID17.make(Hash.fast(`directory:${directory}`)),
279
+ id: ID16.make(Hash.fast(`directory:${directory}`)),
280
280
  directory,
281
281
  canonical: directory,
282
282
  vcs: undefined
283
283
  });
284
284
  });
285
- return Service81.of({ list, update, activate, resolve });
285
+ return Service80.of({ list, update, activate, resolve });
286
286
  }));
287
- var node85 = makeGlobalNode({
288
- service: Service81,
287
+ var node84 = makeGlobalNode({
288
+ service: Service80,
289
289
  layer,
290
- deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
290
+ deps: [node87, node88, FSUtil.node, node85, AppProcess.node]
291
291
  });
292
292
 
293
- export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
293
+ export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError11, root2, Service80, node84, exports_project };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./repository-cache-wtrdp2zm.js";
2
+ Service79,
3
+ node83
4
+ } from "./job-nepqcnnp.js";
5
5
  import {
6
6
  create3
7
- } from "./repository-cache-rdw6cm16.js";
7
+ } from "./job-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./repository-cache-9rqn6x4v.js";
10
+ } from "./job-9rqn6x4v.js";
11
11
 
12
12
  // src/formatter.ts
13
- var exports_formatter3 = {};
14
- __export(exports_formatter3, {
15
- Formatter: () => exports_formatter3,
16
- Service: () => Service71,
17
- node: () => node74
13
+ var exports_formatter2 = {};
14
+ __export(exports_formatter2, {
15
+ Formatter: () => exports_formatter2,
16
+ Service: () => Service17,
17
+ node: () => node19
18
18
  });
19
19
  import { Context, Effect, Layer } from "effect";
20
20
  import { ChildProcess } from "effect/unstable/process";
21
21
  import path from "path";
22
22
  import { makeLocationNode } from "@opencode/util/effect/app-node";
23
23
  import { AppProcess } from "@opencode/util/process";
24
- class Service71 extends Context.Service()("@opencode/v2/Formatter") {
24
+ class Service17 extends Context.Service()("@opencode/v2/Formatter") {
25
25
  }
26
- var layer = Layer.effect(Service71, Effect.gen(function* () {
27
- const location = yield* Service80;
26
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
27
+ const location = yield* Service79;
28
28
  const processes = yield* AppProcess.Service;
29
29
  const commands = new WeakMap;
30
30
  const state = create3({
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
85
85
  }
86
86
  return false;
87
87
  });
88
- return Service71.of({ transform: state.transform, reload: state.reload, file });
88
+ return Service17.of({ transform: state.transform, reload: state.reload, file });
89
89
  }));
90
- var node74 = makeLocationNode({
91
- service: Service71,
90
+ var node19 = makeLocationNode({
91
+ service: Service17,
92
92
  layer,
93
- deps: [node84, AppProcess.node]
93
+ deps: [node83, AppProcess.node]
94
94
  });
95
95
 
96
- export { Service71, node74, exports_formatter3 };
96
+ export { Service17, node19, exports_formatter2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./repository-cache-9rqn6x4v.js";
3
+ } from "./job-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  Service83,
3
3
  node87
4
- } from "./repository-cache-6tb60k4h.js";
4
+ } from "./job-2cephfsv.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./repository-cache-wtrdp2zm.js";
6
+ Service79,
7
+ node83
8
+ } from "./job-nepqcnnp.js";
9
9
  import {
10
- ID9,
11
- Service65,
12
- node68
13
- } from "./repository-cache-tap5zb78.js";
10
+ ID18,
11
+ Service82,
12
+ node86
13
+ } from "./job-s1yd2jbk.js";
14
14
  import {
15
- NotFoundError9
16
- } from "./repository-cache-32ymn5e1.js";
15
+ NotFoundError10
16
+ } from "./job-eyz64kwr.js";
17
17
  import {
18
- Service63,
19
- node66
20
- } from "./repository-cache-wr4ecj30.js";
18
+ Service77,
19
+ node81
20
+ } from "./job-vvb7z6kn.js";
21
21
  import {
22
22
  match2
23
- } from "./repository-cache-y1fvbwt7.js";
23
+ } from "./job-y1fvbwt7.js";
24
24
  import {
25
- Service64,
26
- node67
27
- } from "./repository-cache-xjt7eya3.js";
25
+ Service76,
26
+ node80
27
+ } from "./job-9ymrmzwn.js";
28
28
  import {
29
- Service66,
30
- node69
31
- } from "./repository-cache-qby9dwvd.js";
29
+ Service78,
30
+ node82
31
+ } from "./job-tx9w5tca.js";
32
32
  import {
33
33
  __export
34
- } from "./repository-cache-9rqn6x4v.js";
34
+ } from "./job-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
37
  var exports_permission2 = {};
@@ -42,29 +42,29 @@ __export(exports_permission2, {
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event14,
46
- ID: () => ID7,
47
- NotFoundError: () => NotFoundError8,
45
+ Event: () => Event19,
46
+ ID: () => ID13,
47
+ NotFoundError: () => NotFoundError9,
48
48
  Permission: () => exports_permission2,
49
- Reply: () => Reply2,
49
+ Reply: () => Reply3,
50
50
  ReplyInput: () => ReplyInput2,
51
- Request: () => Request2,
51
+ Request: () => Request3,
52
52
  Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service62,
54
+ Service: () => Service75,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node65
58
+ node: () => node79
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
63
  import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event14 } from "@opencode/schema/permission";
64
+ import { Event as Event19 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
- var ID7 = Permission.ID;
67
+ var ID13 = Permission.ID;
68
68
  var Source5 = Permission.Source;
69
69
  var RequestFields = {
70
70
  sessionID: Permission.Request.fields.sessionID,
@@ -74,20 +74,20 @@ var RequestFields = {
74
74
  metadata: Permission.Request.fields.metadata,
75
75
  source: Permission.Request.fields.source
76
76
  };
77
- var Request2 = Permission.Request;
78
- var Reply2 = Permission.Reply;
77
+ var Request3 = Permission.Request;
78
+ var Reply3 = Permission.Reply;
79
79
  var AssertInput2 = Schema.Struct({
80
- id: ID7.pipe(Schema.optional),
80
+ id: ID13.pipe(Schema.optional),
81
81
  ...RequestFields,
82
- agent: ID9.pipe(Schema.optional)
82
+ agent: ID18.pipe(Schema.optional)
83
83
  }).annotate({ identifier: "Permission.AssertInput" });
84
84
  var ReplyInput2 = Schema.Struct({
85
- requestID: ID7,
86
- reply: Reply2,
85
+ requestID: ID13,
86
+ reply: Reply3,
87
87
  message: Schema.String.pipe(Schema.optional)
88
88
  }).annotate({ identifier: "Permission.ReplyInput" });
89
89
  var AskResult2 = Schema.Struct({
90
- id: ID7,
90
+ id: ID13,
91
91
  effect: Permission.Effect
92
92
  }).annotate({ identifier: "Permission.AskResult" });
93
93
 
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
- requestID: ID7
113
+ class NotFoundError9 extends Schema.TaggedError()("Permission.NotFoundError", {
114
+ requestID: ID13
115
115
  }) {
116
116
  }
117
117
  function evaluate2(action, resource, ...rulesets) {
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service62 extends Context.Service()("@opencode/Permission") {
128
+ class Service75 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service62, Effect.gen(function* () {
130
+ var layer = Layer.effect(Service75, Effect.gen(function* () {
131
131
  const bus = yield* Service83;
132
- const location = yield* Service80;
133
- const agents = yield* Service65;
134
- const sessions = yield* Service63;
135
- const saved = yield* Service64;
136
- const hooks = yield* Service66;
132
+ const location = yield* Service79;
133
+ const agents = yield* Service82;
134
+ const sessions = yield* Service77;
135
+ const saved = yield* Service76;
136
+ const hooks = yield* Service78;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError9({ sessionID });
159
+ return yield* new NotFoundError10({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
186
186
  });
187
187
  function request(input, message) {
188
188
  return {
189
- id: input.id ?? ID7.create(),
189
+ id: input.id ?? ID13.create(),
190
190
  sessionID: input.sessionID,
191
191
  action: input.action,
192
192
  resources: input.resources,
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
211
211
  }));
212
212
  const ask = Effect.fn("Permission.ask")(function* (input) {
213
213
  if (closed)
214
- return { id: input.id ?? ID7.create(), effect: "deny" };
214
+ return { id: input.id ?? ID13.create(), effect: "deny" };
215
215
  const result = yield* evaluateInput(input);
216
216
  const value = request(input, result.message);
217
217
  if (result.effect === "ask")
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError8({ requestID: input.requestID });
245
+ return yield* new NotFoundError9({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service62.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service75.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node65 = makeLocationNode({
303
- service: Service62,
302
+ var node79 = makeLocationNode({
303
+ service: Service75,
304
304
  layer,
305
- deps: [node87, node84, node68, node66, node67, node69]
305
+ deps: [node87, node83, node86, node81, node80, node82]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service62, node65, exports_permission2, Rule3, Ruleset2, Event14 };
308
+ export { PermissionEffect, ID13, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError9, evaluate2, merge2, Service75, node79, exports_permission2, Rule3, Ruleset2, Event19 };