@opencode/core 0.0.0-dev-20648 → 0.0.0-dev-20650

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 (780) 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 +73 -73
  7. package/dist/chunks/{pty-vgd5xkr1.js → location-services-001b00fp.js} +90 -90
  8. package/dist/chunks/{pty-x8t7tj7c.js → location-services-085tpkqt.js} +10 -10
  9. package/dist/chunks/{pty-v8cctvef.js → location-services-0a1e8d3s.js} +7 -7
  10. package/dist/chunks/{pty-gbvzc8kx.js → location-services-0arksaxe.js} +22 -22
  11. package/dist/chunks/{pty-sqvzcy4n.js → location-services-0dygnakk.js} +4 -4
  12. package/dist/chunks/{pty-anfgajne.js → location-services-0ekp7bk0.js} +15 -15
  13. package/dist/chunks/{pty-h921bxg9.js → location-services-0ft2m84j.js} +11 -11
  14. package/dist/chunks/{pty-0paq2nw3.js → location-services-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{pty-ap8tz65t.js → location-services-0sw34p9e.js} +3 -3
  16. package/dist/chunks/{pty-9d8x5jdk.js → location-services-0t7w7e1z.js} +34 -34
  17. package/dist/chunks/{pty-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  18. package/dist/chunks/{pty-xqpfqqd7.js → location-services-14r5wq43.js} +23 -23
  19. package/dist/chunks/{pty-6rhsmm9b.js → location-services-16e73rhv.js} +4 -4
  20. package/dist/chunks/{pty-ehypbcz6.js → location-services-17yrvmpn.js} +33 -33
  21. package/dist/chunks/{pty-r8xr0va3.js → location-services-1acjjqhc.js} +4 -4
  22. package/dist/chunks/{pty-zge3vb8x.js → location-services-1bk9khzn.js} +25 -25
  23. package/dist/chunks/{pty-1dazxqgg.js → location-services-1dazxqgg.js} +2 -2
  24. package/dist/chunks/{pty-bw9phdsx.js → location-services-1nzp712d.js} +32 -32
  25. package/dist/chunks/{pty-2k71kv7p.js → location-services-1y283654.js} +4 -4
  26. package/dist/chunks/location-services-1yrx8st6.js +507 -0
  27. package/dist/chunks/{pty-q0jcpdgf.js → location-services-2486f0gc.js} +42 -42
  28. package/dist/chunks/{pty-923rcr6j.js → location-services-24vj1m2f.js} +15 -15
  29. package/dist/chunks/{pty-4wwqnvbr.js → location-services-2a49rb13.js} +4 -4
  30. package/dist/chunks/{pty-2a5m3afh.js → location-services-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{pty-9rh5dvbx.js → location-services-2b32xhw2.js} +3 -3
  32. package/dist/chunks/{pty-67edg2p2.js → location-services-2h1dy14m.js} +20 -20
  33. package/dist/chunks/{pty-bd8ayshm.js → location-services-2p1kqprv.js} +4 -4
  34. package/dist/chunks/{pty-wja9eyn5.js → location-services-2p5y98w0.js} +6 -6
  35. package/dist/chunks/{pty-k9s9h972.js → location-services-2sp9vt4c.js} +3 -3
  36. package/dist/chunks/{pty-zp1h7pbg.js → location-services-2vhq75nc.js} +22 -22
  37. package/dist/chunks/{pty-bt3wk4ae.js → location-services-33beq0ma.js} +4 -4
  38. package/dist/chunks/{pty-z4snssz9.js → location-services-3a4786ab.js} +26 -26
  39. package/dist/chunks/{pty-qr3e0xf1.js → location-services-3a91dp8a.js} +3 -3
  40. package/dist/chunks/{pty-ev7nexnv.js → location-services-3atax22v.js} +37 -37
  41. package/dist/chunks/{pty-ph20cxtq.js → location-services-3b9qt4hj.js} +9 -9
  42. package/dist/chunks/{pty-3cegwx68.js → location-services-3cegwx68.js} +2 -2
  43. package/dist/chunks/{pty-3fc6dm20.js → location-services-3fc6dm20.js} +1 -1
  44. package/dist/chunks/{pty-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{pty-f83zg7kr.js → location-services-3m50rrjg.js} +24 -24
  46. package/dist/chunks/{pty-v5zgyzx5.js → location-services-3mt2dy6d.js} +16 -16
  47. package/dist/chunks/{pty-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  48. package/dist/chunks/{pty-0retw3c6.js → location-services-3ss9g85e.js} +46 -46
  49. package/dist/chunks/{pty-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  50. package/dist/chunks/{pty-89rvcjqs.js → location-services-3zbwexce.js} +8 -8
  51. package/dist/chunks/{pty-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  52. package/dist/chunks/{pty-txjh0ez7.js → location-services-41g1yh39.js} +20 -20
  53. package/dist/chunks/{pty-gj71zhbs.js → location-services-47jkzegy.js} +5 -5
  54. package/dist/chunks/{pty-qtx5aasq.js → location-services-4ajkbp3f.js} +11 -11
  55. package/dist/chunks/{pty-yac0akaj.js → location-services-4ax7xn0r.js} +5 -5
  56. package/dist/chunks/{pty-xexk5p4t.js → location-services-4cz0dkbb.js} +69 -69
  57. package/dist/chunks/{pty-42q8eg0m.js → location-services-4dygtpfc.js} +5 -5
  58. package/dist/chunks/{pty-97c348b2.js → location-services-4fag9mqx.js} +32 -32
  59. package/dist/chunks/{pty-a2zg833y.js → location-services-4fwcrk1h.js} +11 -11
  60. package/dist/chunks/{pty-bvjche96.js → location-services-4htcxagg.js} +14 -14
  61. package/dist/chunks/{pty-0zrv4f4y.js → location-services-4maebaja.js} +13 -13
  62. package/dist/chunks/{pty-4ts7tf6z.js → location-services-4ts7tf6z.js} +2 -2
  63. package/dist/chunks/{pty-pk028k88.js → location-services-50s4shqd.js} +31 -31
  64. package/dist/chunks/{pty-gzqsmt5r.js → location-services-514hvnh9.js} +16 -16
  65. package/dist/chunks/{pty-acg7byny.js → location-services-51khb7z6.js} +9 -9
  66. package/dist/chunks/{pty-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  67. package/dist/chunks/{pty-1ygqh575.js → location-services-56gdpj1q.js} +9 -9
  68. package/dist/chunks/{pty-8j0pg7vy.js → location-services-5b7tqepp.js} +27 -27
  69. package/dist/chunks/{pty-5daktx2q.js → location-services-5daktx2q.js} +1 -1
  70. package/dist/chunks/{pty-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  71. package/dist/chunks/{pty-nche7t88.js → location-services-5rmxkhg6.js} +5 -5
  72. package/dist/chunks/{pty-5t3nmthw.js → location-services-5t3nmthw.js} +2 -2
  73. package/dist/chunks/{pty-r79jpe1g.js → location-services-607px8n0.js} +10 -10
  74. package/dist/chunks/{pty-zg438qz9.js → location-services-6bykwcaq.js} +42 -42
  75. package/dist/chunks/{pty-1p7f10vm.js → location-services-6c7yw9pm.js} +8 -8
  76. package/dist/chunks/{pty-f34j0f4a.js → location-services-6mncfa04.js} +13 -13
  77. package/dist/chunks/{pty-ksx0wd75.js → location-services-6qw1qkre.js} +11 -11
  78. package/dist/chunks/{pty-e3cy6mqt.js → location-services-6tg9txw5.js} +5 -5
  79. package/dist/chunks/{pty-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  80. package/dist/chunks/{pty-874yzzjt.js → location-services-71s3sq4y.js} +27 -27
  81. package/dist/chunks/{pty-3z4a0cq1.js → location-services-727zjhnd.js} +4 -4
  82. package/dist/chunks/{pty-8yen0vmk.js → location-services-72d0mfn3.js} +19 -19
  83. package/dist/chunks/{pty-55t9wqe0.js → location-services-7b0ws6vd.js} +20 -20
  84. package/dist/chunks/{pty-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  85. package/dist/chunks/{pty-sv5c54x8.js → location-services-7bwwwg4f.js} +39 -39
  86. package/dist/chunks/{pty-84h8c373.js → location-services-84h8c373.js} +2 -2
  87. package/dist/chunks/{pty-zt18z2tx.js → location-services-8c63zdcr.js} +32 -32
  88. package/dist/chunks/{pty-8d7r5vzw.js → location-services-8d7r5vzw.js} +1 -1
  89. package/dist/chunks/{pty-cfsekr6v.js → location-services-8sze2n9a.js} +6 -6
  90. package/dist/chunks/location-services-8y9ejeyn.js +26 -0
  91. package/dist/chunks/{pty-e04nd2rq.js → location-services-8yh9yfq0.js} +9 -9
  92. package/dist/chunks/{pty-c04nv0t5.js → location-services-956t9e47.js} +48 -48
  93. package/dist/chunks/{pty-phze5rqg.js → location-services-9a8g5ab0.js} +3 -3
  94. package/dist/chunks/{pty-csn018d7.js → location-services-9jbn959z.js} +49 -49
  95. package/dist/chunks/{pty-hqq5g41y.js → location-services-9r937kg5.js} +33 -33
  96. package/dist/chunks/{pty-gq70b9ca.js → location-services-9ykrx1qq.js} +7 -7
  97. package/dist/chunks/{pty-6tsxpv82.js → location-services-a16hf74s.js} +21 -21
  98. package/dist/chunks/{pty-23897brc.js → location-services-a20mmbrw.js} +8 -8
  99. package/dist/chunks/{pty-w7qxzhtt.js → location-services-aa33dgcr.js} +17 -17
  100. package/dist/chunks/{pty-aaet6srn.js → location-services-aaet6srn.js} +2 -2
  101. package/dist/chunks/{pty-nm21rvpv.js → location-services-ambyqp62.js} +11 -11
  102. package/dist/chunks/{pty-rfyh9d2c.js → location-services-ampgcpe6.js} +30 -30
  103. package/dist/chunks/{pty-5rz2hsq0.js → location-services-ara0ca5b.js} +7 -7
  104. package/dist/chunks/{pty-b6gygkdw.js → location-services-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{pty-ykher12f.js → location-services-bd0g7wdn.js} +19 -19
  106. package/dist/chunks/{pty-4kc2bv9g.js → location-services-bexxj179.js} +35 -35
  107. package/dist/chunks/{pty-nkxt7aqy.js → location-services-bj4d9qfd.js} +31 -31
  108. package/dist/chunks/{pty-y1202j2k.js → location-services-bss16c77.js} +4 -4
  109. package/dist/chunks/{pty-mt3n9ssm.js → location-services-bxpjjjkj.js} +5 -5
  110. package/dist/chunks/{pty-hzrfc1p4.js → location-services-c2sed5cq.js} +2 -2
  111. package/dist/chunks/{pty-c8449nhm.js → location-services-c6wv61cx.js} +11 -11
  112. package/dist/chunks/{pty-kvvk39gs.js → location-services-cavr175a.js} +4 -4
  113. package/dist/chunks/{pty-27qxacty.js → location-services-cbkmvndh.js} +17 -17
  114. package/dist/chunks/{pty-tp4ajszw.js → location-services-cm8pqatr.js} +38 -38
  115. package/dist/chunks/{pty-dmpsdkb3.js → location-services-csfhn2wr.js} +48 -48
  116. package/dist/chunks/{pty-f8m0k53h.js → location-services-cwwzrss4.js} +9 -9
  117. package/dist/chunks/{pty-m995qhkc.js → location-services-cx8ek9kt.js} +5 -5
  118. package/dist/chunks/{pty-1qq73t15.js → location-services-cyw6svx6.js} +10 -10
  119. package/dist/chunks/{pty-vxp3kcg3.js → location-services-d1r5081s.js} +5 -5
  120. package/dist/chunks/{pty-rrpq0de9.js → location-services-d1sprev3.js} +12 -12
  121. package/dist/chunks/{pty-2sejkfem.js → location-services-d4he2qe1.js} +9 -9
  122. package/dist/chunks/{pty-92n0272q.js → location-services-dfsz33p3.js} +19 -19
  123. package/dist/chunks/{pty-d036g1ys.js → location-services-ds99stjk.js} +7 -7
  124. package/dist/chunks/{pty-a2hf6yb4.js → location-services-e2tbx933.js} +8 -8
  125. package/dist/chunks/{pty-9r9wb4j2.js → location-services-e2v8ft38.js} +11 -11
  126. package/dist/chunks/{pty-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  127. package/dist/chunks/{pty-6pdpv8kk.js → location-services-ef7m5ry9.js} +8 -8
  128. package/dist/chunks/{pty-etq0c3wd.js → location-services-etq0c3wd.js} +1 -1
  129. package/dist/chunks/{pty-mb37bn90.js → location-services-ezx0c3nt.js} +9 -9
  130. package/dist/chunks/{pty-zqfdtaf3.js → location-services-f210znyg.js} +47 -47
  131. package/dist/chunks/{pty-hsf7jdvw.js → location-services-f6ngde2n.js} +35 -35
  132. package/dist/chunks/{pty-f75zav2x.js → location-services-f75zav2x.js} +2 -2
  133. package/dist/chunks/{pty-kpxf0xq6.js → location-services-fb9bde3m.js} +19 -19
  134. package/dist/chunks/{pty-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
  135. package/dist/chunks/{pty-bydnjh3t.js → location-services-ftjf86m5.js} +9 -9
  136. package/dist/chunks/{pty-d3mnj8kh.js → location-services-fwbcrs20.js} +1 -1
  137. package/dist/chunks/{pty-1nxxv4qb.js → location-services-g00c25k7.js} +23 -23
  138. package/dist/chunks/{pty-da3p7k9k.js → location-services-g0ahba55.js} +4 -4
  139. package/dist/chunks/{pty-cwtckkf6.js → location-services-g2r84ert.js} +26 -26
  140. package/dist/chunks/{pty-gb39ghec.js → location-services-g5696t09.js} +9 -9
  141. package/dist/chunks/{pty-g6yfr6ja.js → location-services-g6yfr6ja.js} +2 -2
  142. package/dist/chunks/{pty-bp8hqz04.js → location-services-gcst2knj.js} +8 -8
  143. package/dist/chunks/{pty-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  144. package/dist/chunks/{pty-efk260vg.js → location-services-gfwyksye.js} +22 -22
  145. package/dist/chunks/{pty-mk442ktg.js → location-services-gfzdj97b.js} +4 -4
  146. package/dist/chunks/{pty-6v23mrsw.js → location-services-ghz6dcrw.js} +11 -11
  147. package/dist/chunks/{pty-yas84py3.js → location-services-gj5tgtsk.js} +13 -13
  148. package/dist/chunks/{pty-thkc5986.js → location-services-gk7ynedz.js} +11 -11
  149. package/dist/chunks/{pty-tb7q8jz9.js → location-services-gv7x5wm3.js} +22 -22
  150. package/dist/chunks/{pty-cq5kxxzs.js → location-services-gy6z8b7d.js} +24 -24
  151. package/dist/chunks/{pty-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{pty-qq6e0a1m.js → location-services-h9wapceb.js} +25 -25
  153. package/dist/chunks/{pty-7pgwfb4h.js → location-services-hc5gcwsj.js} +35 -35
  154. package/dist/chunks/{pty-scgrse2b.js → location-services-hdkng2sj.js} +5 -5
  155. package/dist/chunks/{pty-0099bvhy.js → location-services-hjbndmcs.js} +9 -9
  156. package/dist/chunks/location-services-hydj2j77.js +253 -0
  157. package/dist/chunks/{pty-nanknxd5.js → location-services-j01q2zrr.js} +11 -11
  158. package/dist/chunks/{pty-84pbkp20.js → location-services-j12as4v5.js} +23 -23
  159. package/dist/chunks/{pty-9tyz0y11.js → location-services-j4rr3b6f.js} +11 -11
  160. package/dist/chunks/{pty-8jypv1cv.js → location-services-j54377ah.js} +13 -13
  161. package/dist/chunks/{pty-j56e64zr.js → location-services-j56e64zr.js} +1 -1
  162. package/dist/chunks/{pty-ay5x7dxy.js → location-services-j59bqac0.js} +36 -36
  163. package/dist/chunks/{pty-5rpr6ftq.js → location-services-j5kyfhbh.js} +15 -15
  164. package/dist/chunks/{pty-8wbxkt1z.js → location-services-j8m1p4p1.js} +4 -4
  165. package/dist/chunks/{pty-x3mar638.js → location-services-jan553tg.js} +182 -182
  166. package/dist/chunks/{pty-xbe8mphx.js → location-services-jb2g91f3.js} +12 -12
  167. package/dist/chunks/{pty-q581keqr.js → location-services-jcs5e93a.js} +2 -2
  168. package/dist/chunks/{pty-0y9mdftf.js → location-services-jegrxnf3.js} +6 -6
  169. package/dist/chunks/{pty-9se51ysk.js → location-services-jkjj242p.js} +33 -33
  170. package/dist/chunks/location-services-jqh9b0xq.js +18 -0
  171. package/dist/chunks/{pty-32t0bw84.js → location-services-jx32pc59.js} +15 -15
  172. package/dist/chunks/{pty-dppya6f9.js → location-services-jxkc3myh.js} +24 -24
  173. package/dist/chunks/{pty-nxkfy0rg.js → location-services-kaa3dmqg.js} +18 -18
  174. package/dist/chunks/{pty-kb9j3d72.js → location-services-kb9j3d72.js} +3 -3
  175. package/dist/chunks/{pty-rtjv9fpq.js → location-services-kkk3xdpb.js} +41 -41
  176. package/dist/chunks/{pty-d7jcpxfr.js → location-services-kn3avxvj.js} +13 -13
  177. package/dist/chunks/{pty-ky8w6whr.js → location-services-kt67x2pe.js} +6 -6
  178. package/dist/chunks/{pty-z1f2d5px.js → location-services-kxz2jsw3.js} +32 -32
  179. package/dist/chunks/{pty-m3fdjcah.js → location-services-m3fdjcah.js} +1 -1
  180. package/dist/chunks/{pty-p6drkcnf.js → location-services-m7ztr8b1.js} +18 -18
  181. package/dist/chunks/{pty-ddy3e1gr.js → location-services-m91sy8b7.js} +5 -5
  182. package/dist/chunks/{pty-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  183. package/dist/chunks/{pty-vjjaysxc.js → location-services-mb14aw74.js} +2 -2
  184. package/dist/chunks/{pty-c19p4hyh.js → location-services-mx1p25e3.js} +26 -26
  185. package/dist/chunks/{pty-yrcj3v3g.js → location-services-n1n192bv.js} +4 -4
  186. package/dist/chunks/{pty-fggkqnd8.js → location-services-n68t0apf.js} +16 -16
  187. package/dist/chunks/{pty-2hpka7mt.js → location-services-n6svg889.js} +18 -18
  188. package/dist/chunks/{pty-53ybeb94.js → location-services-nbdxm3p1.js} +23 -23
  189. package/dist/chunks/{pty-rvghhgda.js → location-services-ne96ewy3.js} +23 -23
  190. package/dist/chunks/{pty-wpybfb3e.js → location-services-ngyrtr94.js} +3 -3
  191. package/dist/chunks/{pty-f33yc4k3.js → location-services-nnyt92w2.js} +14 -14
  192. package/dist/chunks/{pty-b69jv39p.js → location-services-ns3eape4.js} +1 -1
  193. package/dist/chunks/{pty-qs7m5bs1.js → location-services-nt3x6kk1.js} +19 -19
  194. package/dist/chunks/{pty-dpkg50ah.js → location-services-nxm207yx.js} +4 -4
  195. package/dist/chunks/{pty-p1a0bpjp.js → location-services-p3cjk3f5.js} +22 -22
  196. package/dist/chunks/{pty-cmwkp3r5.js → location-services-pa8pe2x7.js} +8 -8
  197. package/dist/chunks/{pty-d7tem15s.js → location-services-pc2ca7gw.js} +15 -15
  198. package/dist/chunks/{pty-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  199. package/dist/chunks/{pty-pknna89w.js → location-services-pknna89w.js} +1 -1
  200. package/dist/chunks/{pty-gap9jj81.js → location-services-psf10pda.js} +21 -21
  201. package/dist/chunks/{pty-gcytf9y4.js → location-services-pshwgvdq.js} +29 -29
  202. package/dist/chunks/{pty-q0xm7vwc.js → location-services-q0xm7vwc.js} +2 -2
  203. package/dist/chunks/{pty-g9jfc9ac.js → location-services-q479fbf4.js} +17 -17
  204. package/dist/chunks/{pty-mjv4r1bw.js → location-services-qam4srmn.js} +29 -29
  205. package/dist/chunks/{pty-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  206. package/dist/chunks/{pty-wd3qynhg.js → location-services-qpk58yzq.js} +1 -1
  207. package/dist/chunks/{pty-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  208. package/dist/chunks/{pty-qxjc9qry.js → location-services-qxjc9qry.js} +3 -3
  209. package/dist/chunks/{pty-j17byzzq.js → location-services-qymnwkpy.js} +11 -11
  210. package/dist/chunks/{pty-d45sg6xs.js → location-services-r33djvem.js} +20 -20
  211. package/dist/chunks/{pty-y8p3zjbc.js → location-services-r3q6pmcz.js} +6 -6
  212. package/dist/chunks/{pty-a1gpj94z.js → location-services-r5x6zcsm.js} +3 -3
  213. package/dist/chunks/{pty-09pca8az.js → location-services-rcw89xq3.js} +20 -20
  214. package/dist/chunks/{pty-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{pty-9cfex9y1.js → location-services-re7zz5fm.js} +22 -22
  216. package/dist/chunks/{pty-wv396vej.js → location-services-rhjbct0v.js} +8 -8
  217. package/dist/chunks/{pty-a6syyywt.js → location-services-rzwydysx.js} +30 -30
  218. package/dist/chunks/{pty-8k3tzzhw.js → location-services-s3h11364.js} +47 -47
  219. package/dist/chunks/{pty-h462srpz.js → location-services-s7yezqte.js} +25 -25
  220. package/dist/chunks/{pty-p48syh26.js → location-services-sgn5w1sc.js} +16 -16
  221. package/dist/chunks/{pty-mjex1bph.js → location-services-sjs9ezqr.js} +46 -46
  222. package/dist/chunks/{pty-thrtz6av.js → location-services-smha7wt5.js} +3 -3
  223. package/dist/chunks/{pty-gtmxr1a9.js → location-services-sq42pm77.js} +28 -28
  224. package/dist/chunks/{pty-k70p9jzb.js → location-services-srq8z0b0.js} +9 -9
  225. package/dist/chunks/{pty-fv8pqfsd.js → location-services-ssew6xnx.js} +5 -5
  226. package/dist/chunks/{pty-d8h4y8x2.js → location-services-t01ewf6t.js} +11 -11
  227. package/dist/chunks/{pty-8rqycdgd.js → location-services-t2fc4mz5.js} +7 -7
  228. package/dist/chunks/{pty-ckf8nxjz.js → location-services-t7n9q6bq.js} +4 -4
  229. package/dist/chunks/{pty-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  230. package/dist/chunks/{pty-eqkxs06z.js → location-services-tcay1cqt.js} +6 -6
  231. package/dist/chunks/{pty-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{pty-tdstcens.js → location-services-tdstcens.js} +1 -1
  233. package/dist/chunks/{pty-2vqnfsz1.js → location-services-thg5jy7b.js} +21 -21
  234. package/dist/chunks/{pty-t4y1vgnz.js → location-services-thrv5kr1.js} +22 -22
  235. package/dist/chunks/{pty-vpxjmme6.js → location-services-tpty64js.js} +18 -18
  236. package/dist/chunks/{pty-624z605s.js → location-services-tvm9nqz9.js} +16 -16
  237. package/dist/chunks/{pty-v0es1rhs.js → location-services-v0es1rhs.js} +2 -2
  238. package/dist/chunks/{pty-ad0bmy2v.js → location-services-v1qd983m.js} +27 -27
  239. package/dist/chunks/{pty-y71s8m6t.js → location-services-v5hevtyx.js} +4 -4
  240. package/dist/chunks/{pty-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  241. package/dist/chunks/{pty-wa3vteb6.js → location-services-vfgsn3pb.js} +37 -37
  242. package/dist/chunks/{pty-em95cejf.js → location-services-vmd3sd6p.js} +15 -15
  243. package/dist/chunks/{pty-48km10qy.js → location-services-vrc04fwg.js} +14 -14
  244. package/dist/chunks/{pty-sf4w6t5k.js → location-services-vre0f3v3.js} +57 -57
  245. package/dist/chunks/{pty-qeh1kqdq.js → location-services-vrsc6b4y.js} +8 -8
  246. package/dist/chunks/{pty-9ex8f1cq.js → location-services-vwpcpzep.js} +8 -8
  247. package/dist/chunks/{pty-4kbb9d62.js → location-services-vym6yw1t.js} +13 -13
  248. package/dist/chunks/{pty-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  249. package/dist/chunks/{pty-g3msn0ej.js → location-services-vzx68d5n.js} +8 -8
  250. package/dist/chunks/{pty-84txncab.js → location-services-w1eejvng.js} +5 -5
  251. package/dist/chunks/{pty-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{pty-dshcjhsp.js → location-services-waec0c3j.js} +33 -33
  253. package/dist/chunks/{pty-tc6qcdy5.js → location-services-was7srj9.js} +8 -8
  254. package/dist/chunks/{pty-wd87259q.js → location-services-wd87259q.js} +1 -1
  255. package/dist/chunks/{pty-sm2pca5m.js → location-services-wfctfrf2.js} +5 -5
  256. package/dist/chunks/{pty-bncrevqt.js → location-services-wj9bqc1j.js} +27 -27
  257. package/dist/chunks/{pty-q8zbp1h0.js → location-services-wvws9fm3.js} +8 -8
  258. package/dist/chunks/{pty-7ppg2tjj.js → location-services-wz6j5yqf.js} +90 -90
  259. package/dist/chunks/{pty-mt4678g7.js → location-services-x53k8vh3.js} +22 -22
  260. package/dist/chunks/{pty-mxvxcxwy.js → location-services-x661k3y3.js} +4 -4
  261. package/dist/chunks/{pty-dhng9vzx.js → location-services-x7hmwq28.js} +32 -32
  262. package/dist/chunks/{pty-nj17t0gr.js → location-services-x7ytz0vq.js} +18 -18
  263. package/dist/chunks/{pty-g5w8qwbj.js → location-services-xfkkasph.js} +4 -4
  264. package/dist/chunks/{pty-ad0mmn42.js → location-services-xg7rec9w.js} +6 -6
  265. package/dist/chunks/{pty-xkntkrq7.js → location-services-xkntkrq7.js} +2 -2
  266. package/dist/chunks/{pty-kyr1z5gy.js → location-services-xzv6qj2m.js} +24 -24
  267. package/dist/chunks/{pty-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{pty-ctdhhp9a.js → location-services-y8shr9gw.js} +35 -35
  269. package/dist/chunks/{pty-bmcex1jf.js → location-services-yk982qs6.js} +9 -9
  270. package/dist/chunks/{pty-xvjb85ys.js → location-services-ynmx16w6.js} +4 -4
  271. package/dist/chunks/{pty-emwywv8g.js → location-services-yt3hy1g9.js} +5 -5
  272. package/dist/chunks/{pty-6fgykvfe.js → location-services-ywpk00n5.js} +11 -11
  273. package/dist/chunks/{pty-ndphwy30.js → location-services-z07zh9w3.js} +21 -21
  274. package/dist/chunks/{pty-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  275. package/dist/chunks/{pty-4c91ejxn.js → location-services-z4swa18j.js} +9 -9
  276. package/dist/chunks/{pty-m5canyms.js → location-services-z8rw9kn4.js} +11 -11
  277. package/dist/chunks/{pty-b3jqpnzw.js → location-services-zacf2nwq.js} +13 -13
  278. package/dist/chunks/{pty-t17teb9f.js → location-services-zdtpkxz5.js} +21 -21
  279. package/dist/chunks/{pty-pr3txkn9.js → location-services-zg3msdzq.js} +15 -15
  280. package/dist/chunks/{pty-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{pty-ngts6ef0.js → location-services-zrq8kphx.js} +8 -8
  282. package/dist/chunks/{pty-0akqd5d4.js → location-services-zxga9rac.js} +28 -28
  283. package/dist/chunks/{pty-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +5 -5
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +85 -85
  289. package/dist/config/discovery.js +82 -82
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +99 -99
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +154 -154
  295. package/dist/config/plugin/compatibility.js +134 -134
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +117 -117
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +90 -90
  300. package/dist/config/plugin/location-watcher.js +116 -116
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +117 -117
  303. package/dist/config/plugin/provider.js +116 -116
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +102 -102
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +119 -119
  310. package/dist/config/plugin/tool-output.js +117 -117
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +121 -121
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +70 -70
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration.gen.js +49 -49
  384. package/dist/database/migration.js +51 -51
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +79 -79
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +363 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +93 -93
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +95 -95
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +74 -74
  408. package/dist/file-access.js +104 -104
  409. package/dist/file-mutation.js +94 -94
  410. package/dist/file-retention.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/location-watcher-policy.js +6 -6
  416. package/dist/filesystem/location-watcher.js +214 -214
  417. package/dist/filesystem/protected.js +1 -1
  418. package/dist/filesystem/search.js +103 -103
  419. package/dist/filesystem/watcher-binding.js +1 -1
  420. package/dist/filesystem/watcher.js +15 -15
  421. package/dist/filesystem.js +102 -102
  422. package/dist/form.js +72 -72
  423. package/dist/formatter/builtins.js +4 -4
  424. package/dist/formatter.js +87 -87
  425. package/dist/generate.js +103 -103
  426. package/dist/git.js +10 -10
  427. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  428. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  429. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  430. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  431. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  433. package/dist/github-copilot/copilot-provider.js +17 -17
  434. package/dist/github-copilot/models.js +99 -99
  435. package/dist/github-copilot/openai-compatible-error.js +1 -1
  436. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  437. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  438. package/dist/github-copilot/responses/openai-error.js +1 -1
  439. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  440. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  441. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  442. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  443. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  444. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  446. package/dist/image/photon.js +2 -2
  447. package/dist/image.js +6 -6
  448. package/dist/instance/service.js +5 -5
  449. package/dist/instance.js +354 -354
  450. package/dist/instruction-discovery.js +85 -85
  451. package/dist/instructions/builtins.js +87 -87
  452. package/dist/instructions/index.js +5 -5
  453. package/dist/integration/connection.js +3 -3
  454. package/dist/integration.js +87 -87
  455. package/dist/job.js +78 -78
  456. package/dist/kv/sql.js +2 -2
  457. package/dist/kv.js +73 -73
  458. package/dist/location-activity.js +134 -134
  459. package/dist/location-lifecycle.js +107 -107
  460. package/dist/location-service-map.js +86 -86
  461. package/dist/location-services.js +351 -351
  462. package/dist/location.js +85 -85
  463. package/dist/managed-policy.js +5 -5
  464. package/dist/mcp/client.js +91 -91
  465. package/dist/mcp/index.js +103 -103
  466. package/dist/mcp/instructions.js +129 -129
  467. package/dist/mcp/oauth.js +78 -78
  468. package/dist/mcp/stdio.js +90 -90
  469. package/dist/mime.js +1 -1
  470. package/dist/modal/models.js +99 -99
  471. package/dist/model-resolver.js +96 -96
  472. package/dist/model.js +102 -102
  473. package/dist/models-dev.js +105 -105
  474. package/dist/oauth/page.js +1 -1
  475. package/dist/permission/saved.js +80 -80
  476. package/dist/permission/sql.js +5 -5
  477. package/dist/permission.js +109 -109
  478. package/dist/persistent-pty/binary.bun.js +1 -1
  479. package/dist/persistent-pty/daemon.js +1 -1
  480. package/dist/persistent-pty/index.js +80 -80
  481. package/dist/persistent-pty/pty-binding.js +1 -1
  482. package/dist/persistent-pty.js +75 -75
  483. package/dist/plugin/agent.js +104 -104
  484. package/dist/plugin/command.js +102 -102
  485. package/dist/plugin/hooks.js +5 -5
  486. package/dist/plugin/host.js +211 -211
  487. package/dist/plugin/identity.js +3 -3
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +326 -326
  490. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  491. package/dist/plugin/models-dev.js +96 -96
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +102 -102
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  497. package/dist/plugin/provider/azure.js +117 -117
  498. package/dist/plugin/provider/cerebras.js +1 -1
  499. package/dist/plugin/provider/chatgpt.js +93 -93
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +112 -112
  504. package/dist/plugin/provider/digitalocean.js +93 -93
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/github-copilot.js +95 -95
  508. package/dist/plugin/provider/gitlab.js +93 -93
  509. package/dist/plugin/provider/google-vertex.js +90 -90
  510. package/dist/plugin/provider/kilo.js +1 -1
  511. package/dist/plugin/provider/llmgateway.js +78 -78
  512. package/dist/plugin/provider/lmstudio.js +116 -116
  513. package/dist/plugin/provider/local.js +113 -113
  514. package/dist/plugin/provider/modal.js +92 -92
  515. package/dist/plugin/provider/nvidia.js +1 -1
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai.js +95 -95
  518. package/dist/plugin/provider/opencode.js +96 -96
  519. package/dist/plugin/provider/openrouter.js +91 -91
  520. package/dist/plugin/provider/perplexity.js +2 -2
  521. package/dist/plugin/provider/poe.js +79 -79
  522. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  523. package/dist/plugin/provider/sap-ai-core.js +91 -91
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  526. package/dist/plugin/provider/vercel.js +90 -90
  527. package/dist/plugin/provider/vllm.js +116 -116
  528. package/dist/plugin/provider/xai.js +91 -91
  529. package/dist/plugin/provider/zenmux.js +1 -1
  530. package/dist/plugin/provider.js +155 -155
  531. package/dist/plugin/sdk.js +76 -76
  532. package/dist/plugin/service.js +3 -3
  533. package/dist/plugin/skill.js +134 -134
  534. package/dist/plugin/source-directory.js +1 -1
  535. package/dist/plugin/supervisor.js +341 -341
  536. package/dist/plugin/tool-input-repair.js +4 -4
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/vcs/git.js +86 -86
  539. package/dist/plugin/vcs/hg.js +86 -86
  540. package/dist/plugin/verbosity.js +93 -93
  541. package/dist/plugin/warming.js +114 -114
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +6 -6
  544. package/dist/plugin/websearch/index.js +9 -9
  545. package/dist/plugin/websearch/mcp.js +6 -6
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin/websearch/tinyfish.js +8 -8
  549. package/dist/plugin.js +222 -222
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +99 -99
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +97 -97
  557. package/dist/reference/instructions.js +89 -89
  558. package/dist/reference.js +91 -91
  559. package/dist/repository-cache.js +81 -81
  560. package/dist/repository.js +3 -3
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +97 -97
  563. package/dist/rpc.js +86 -86
  564. package/dist/schema.js +1 -1
  565. package/dist/session/affinity.js +1 -1
  566. package/dist/session/command.js +74 -74
  567. package/dist/session/compaction.js +135 -135
  568. package/dist/session/context.js +153 -153
  569. package/dist/session/diff.js +88 -88
  570. package/dist/session/environment.js +5 -5
  571. package/dist/session/error.js +3 -3
  572. package/dist/session/event.js +1 -1
  573. package/dist/session/execution/restart.js +217 -217
  574. package/dist/session/execution.js +125 -125
  575. package/dist/session/generate.js +154 -154
  576. package/dist/session/history.js +13 -13
  577. package/dist/session/inbox.js +88 -88
  578. package/dist/session/info.js +3 -3
  579. package/dist/session/instruction-entry.js +79 -79
  580. package/dist/session/instruction-state.js +8 -8
  581. package/dist/session/instructions.js +97 -97
  582. package/dist/session/message-updater.js +2 -2
  583. package/dist/session/message.js +1 -1
  584. package/dist/session/model-request.js +120 -120
  585. package/dist/session/model-transport.js +9 -9
  586. package/dist/session/move.js +129 -129
  587. package/dist/session/projector.js +86 -86
  588. package/dist/session/prompt.js +105 -105
  589. package/dist/session/provider-context.js +3 -3
  590. package/dist/session/revert.js +90 -90
  591. package/dist/session/run-coordinator.js +3 -3
  592. package/dist/session/runner/index.js +3 -3
  593. package/dist/session/runner/llm.js +222 -222
  594. package/dist/session/runner/max-steps.js +1 -1
  595. package/dist/session/runner/model.js +98 -98
  596. package/dist/session/runner/publish-llm-event.js +113 -113
  597. package/dist/session/runner/retry.js +4 -4
  598. package/dist/session/runner/step.js +123 -123
  599. package/dist/session/runner/to-llm-message.js +2 -2
  600. package/dist/session/schema.js +3 -3
  601. package/dist/session/session.js +164 -164
  602. package/dist/session/shell.js +130 -130
  603. package/dist/session/skill.js +103 -103
  604. package/dist/session/sql.js +5 -5
  605. package/dist/session/stats.js +75 -75
  606. package/dist/session/store.js +85 -85
  607. package/dist/session/subagent-completion.js +1 -1
  608. package/dist/session/subagent-job.js +203 -203
  609. package/dist/session/system-prompt.js +3 -3
  610. package/dist/session/title.js +151 -151
  611. package/dist/session/to-session-error.js +111 -111
  612. package/dist/session/transfer.js +216 -216
  613. package/dist/session/usage.js +1 -1
  614. package/dist/session.js +205 -205
  615. package/dist/shell/parse.js +6 -6
  616. package/dist/shell/result.js +1 -1
  617. package/dist/shell/scan.js +1 -1
  618. package/dist/shell/select.js +13 -13
  619. package/dist/shell.js +132 -132
  620. package/dist/skill/discovery.js +6 -6
  621. package/dist/skill/instructions.js +107 -107
  622. package/dist/skill.js +110 -110
  623. package/dist/snapshot.js +89 -89
  624. package/dist/state.js +1 -1
  625. package/dist/tool/html-markdown.js +1 -1
  626. package/dist/tool/http-body.js +1 -1
  627. package/dist/tool/mcp.js +128 -128
  628. package/dist/tool/plugin/edit.js +120 -120
  629. package/dist/tool/plugin/file-diff.js +1 -1
  630. package/dist/tool/plugin/glob.js +124 -124
  631. package/dist/tool/plugin/grep.js +122 -122
  632. package/dist/tool/plugin/mcp-resource.js +117 -117
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +122 -122
  635. package/dist/tool/plugin/question.js +103 -103
  636. package/dist/tool/plugin/read.js +125 -125
  637. package/dist/tool/plugin/shell.js +210 -210
  638. package/dist/tool/plugin/skill.js +111 -111
  639. package/dist/tool/plugin/subagent.js +206 -206
  640. package/dist/tool/plugin/webfetch.js +112 -112
  641. package/dist/tool/plugin/websearch.js +114 -114
  642. package/dist/tool/plugin/write.js +122 -122
  643. package/dist/tool/read-filesystem.js +100 -100
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +7 -7
  646. package/dist/tool.js +12 -12
  647. package/dist/util/error-summary.js +1 -1
  648. package/dist/util/error.js +1 -1
  649. package/dist/util/git-executable.js +2 -2
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +5 -5
  657. package/dist/v1/config/command.js +5 -5
  658. package/dist/v1/config/error.js +2 -2
  659. package/dist/v1/config/mcp.js +2 -2
  660. package/dist/v1/config/migrate.js +92 -92
  661. package/dist/v1/config/permission.js +3 -3
  662. package/dist/v1/config/plugin.js +3 -3
  663. package/dist/v1/config/provider-options.js +1 -1
  664. package/dist/v1/config/provider.js +4 -4
  665. package/dist/variant.js +91 -91
  666. package/dist/vcs/patch.js +1 -1
  667. package/dist/vcs.js +89 -89
  668. package/dist/websearch.js +82 -82
  669. package/dist/wellknown/plugin.js +74 -74
  670. package/dist/wellknown.js +81 -81
  671. package/dist/workspace/driver.js +5 -5
  672. package/dist/workspace/sql.js +1 -1
  673. package/dist/workspace.js +80 -80
  674. package/dist/worktree/directory.js +2 -2
  675. package/dist/worktree/git.js +10 -10
  676. package/dist/worktree/sql.js +5 -5
  677. package/dist/worktree/strategies.js +89 -89
  678. package/dist/worktree.js +96 -96
  679. package/package.json +8 -8
  680. package/dist/chunks/pty-7fj5dwt0.js +0 -18
  681. package/dist/chunks/pty-7r9y934d.js +0 -253
  682. package/dist/chunks/pty-ab4j4ym1.js +0 -507
  683. package/dist/chunks/pty-b56sn4ad.js +0 -26
  684. /package/dist/chunks/{pty-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  685. /package/dist/chunks/{pty-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  686. /package/dist/chunks/{pty-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  687. /package/dist/chunks/{pty-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  688. /package/dist/chunks/{pty-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  689. /package/dist/chunks/{pty-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  690. /package/dist/chunks/{pty-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  691. /package/dist/chunks/{pty-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  692. /package/dist/chunks/{pty-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  693. /package/dist/chunks/{pty-34c7v6d4.js → location-services-34c7v6d4.js} +0 -0
  694. /package/dist/chunks/{pty-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  695. /package/dist/chunks/{pty-3asan66x.js → location-services-3asan66x.js} +0 -0
  696. /package/dist/chunks/{pty-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  697. /package/dist/chunks/{pty-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{pty-3w5fmr99.js → location-services-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{pty-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{pty-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{pty-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{pty-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{pty-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{pty-53557ph1.js → location-services-53557ph1.js} +0 -0
  705. /package/dist/chunks/{pty-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{pty-5qd3pb7m.js → location-services-5qd3pb7m.js} +0 -0
  707. /package/dist/chunks/{pty-6prwharc.js → location-services-6prwharc.js} +0 -0
  708. /package/dist/chunks/{pty-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  709. /package/dist/chunks/{pty-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{pty-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{pty-822emrt2.js → location-services-822emrt2.js} +0 -0
  712. /package/dist/chunks/{pty-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{pty-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{pty-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  715. /package/dist/chunks/{pty-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{pty-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{pty-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{pty-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{pty-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{pty-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{pty-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{pty-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{pty-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{pty-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{pty-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{pty-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{pty-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{pty-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{pty-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{pty-df08tz66.js → location-services-df08tz66.js} +0 -0
  731. /package/dist/chunks/{pty-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{pty-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{pty-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{pty-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{pty-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{pty-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{pty-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{pty-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{pty-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{pty-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{pty-fxgpk5d8.js → location-services-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{pty-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{pty-g86h250q.js → location-services-g86h250q.js} +0 -0
  744. /package/dist/chunks/{pty-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{pty-gftt206x.js → location-services-gftt206x.js} +0 -0
  746. /package/dist/chunks/{pty-hk9envan.js → location-services-hk9envan.js} +0 -0
  747. /package/dist/chunks/{pty-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{pty-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{pty-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  750. /package/dist/chunks/{pty-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  751. /package/dist/chunks/{pty-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  752. /package/dist/chunks/{pty-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  753. /package/dist/chunks/{pty-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  754. /package/dist/chunks/{pty-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  755. /package/dist/chunks/{pty-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  756. /package/dist/chunks/{pty-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  757. /package/dist/chunks/{pty-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  758. /package/dist/chunks/{pty-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{pty-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{pty-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{pty-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{pty-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{pty-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  764. /package/dist/chunks/{pty-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  765. /package/dist/chunks/{pty-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  766. /package/dist/chunks/{pty-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  767. /package/dist/chunks/{pty-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{pty-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  769. /package/dist/chunks/{pty-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  770. /package/dist/chunks/{pty-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{pty-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{pty-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{pty-x61499pn.js → location-services-x61499pn.js} +0 -0
  774. /package/dist/chunks/{pty-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{pty-y8cydn3q.js → location-services-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{pty-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{pty-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{pty-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{pty-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  780. /package/dist/chunks/{pty-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,26 +1,26 @@
1
1
  import {
2
- Key4,
2
+ Key3,
3
3
  removed2,
4
- make22,
4
+ make20,
5
5
  diffByKey2
6
- } from "./pty-wv396vej.js";
6
+ } from "./location-services-rhjbct0v.js";
7
7
  import {
8
8
  ID6,
9
9
  Name2,
10
10
  available3,
11
- Service53,
12
- node57
13
- } from "./pty-t4y1vgnz.js";
11
+ Service41,
12
+ node44
13
+ } from "./location-services-thrv5kr1.js";
14
14
  import {
15
15
  __export
16
- } from "./pty-9rqn6x4v.js";
16
+ } from "./location-services-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions2 = {};
20
- __export(exports_instructions2, {
21
- Service: () => Service34,
22
- SkillInstructions: () => exports_instructions2,
23
- node: () => node38
19
+ var exports_instructions4 = {};
20
+ __export(exports_instructions4, {
21
+ Service: () => Service30,
22
+ SkillInstructions: () => exports_instructions4,
23
+ node: () => node34
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
@@ -60,15 +60,15 @@ var update = (previous, current) => {
60
60
  `);
61
61
  };
62
62
 
63
- class Service34 extends Context.Service()("@opencode/SkillInstructions") {
63
+ class Service30 extends Context.Service()("@opencode/SkillInstructions") {
64
64
  }
65
- var layer = Layer.effect(Service34, Effect.gen(function* () {
66
- const skills = yield* Service53;
67
- return Service34.of({
65
+ var layer = Layer.effect(Service30, Effect.gen(function* () {
66
+ const skills = yield* Service41;
67
+ return Service30.of({
68
68
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
69
69
  const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
70
- return make22({
71
- key: Key4.make("core/skill-guidance"),
70
+ return make20({
71
+ key: Key3.make("core/skill-guidance"),
72
72
  codec: Schema.toCodecJson(Schema.Array(Summary)),
73
73
  read: Effect.succeed(available.length === 0 ? removed2 : available),
74
74
  render: {
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
80
80
  })
81
81
  });
82
82
  }));
83
- var node38 = makeLocationNode({ service: Service34, layer, deps: [node57] });
83
+ var node34 = makeLocationNode({ service: Service30, layer, deps: [node44] });
84
84
 
85
- export { Service34, node38, exports_instructions2 };
85
+ export { Service30, node34, exports_instructions4 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/state.ts
6
6
  var exports_state = {};
@@ -1,28 +1,28 @@
1
1
  import {
2
2
  lazy2
3
- } from "./pty-88xbtdfr.js";
3
+ } from "./location-services-88xbtdfr.js";
4
4
  import {
5
5
  load4
6
- } from "./pty-5qd3pb7m.js";
6
+ } from "./location-services-5qd3pb7m.js";
7
7
  import {
8
8
  __export
9
- } from "./pty-9rqn6x4v.js";
9
+ } from "./location-services-9rqn6x4v.js";
10
10
 
11
11
  // src/filesystem/watcher.ts
12
12
  var exports_watcher = {};
13
13
  __export(exports_watcher, {
14
- Event: () => Event8,
14
+ Event: () => Event11,
15
15
  Native: () => Native3,
16
- Options: () => Options7,
17
- Service: () => Service49,
16
+ Options: () => Options9,
17
+ Service: () => Service55,
18
18
  Test: () => Test3,
19
19
  Watcher: () => exports_watcher,
20
- configured: () => configured8,
20
+ configured: () => configured9,
21
21
  hasNativeBinding: () => hasNativeBinding2,
22
- layer: () => layer19,
22
+ layer: () => layer21,
23
23
  nativeLayer: () => nativeLayer2,
24
24
  nativeNode: () => nativeNode2,
25
- node: () => node53,
25
+ node: () => node57,
26
26
  testLayer: () => testLayer3
27
27
  });
28
28
  import { createWrapper } from "@parcel/watcher/wrapper.js";
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
33
33
  import { watch } from "node:fs";
34
34
  import path from "path";
35
35
  var SUBSCRIBE_TIMEOUT_MS = 1e4;
36
- var Event8 = { Updated: FileSystem.Event.Changed };
36
+ var Event11 = { Updated: FileSystem.Event.Changed };
37
37
  var watcher = lazy2(() => {
38
38
  try {
39
39
  return createWrapper(load4());
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
53
53
 
54
54
  class Native3 extends Context.Service()("@opencode/Watcher/Native") {
55
55
  }
56
- var Options7 = Schema.Struct({
56
+ var Options9 = Schema.Struct({
57
57
  enabled: Schema.optional(Schema.Boolean)
58
58
  });
59
59
 
60
- class Service49 extends Context.Service()("@opencode/Watcher") {
60
+ class Service55 extends Context.Service()("@opencode/Watcher") {
61
61
  }
62
62
 
63
63
  class Test3 extends Context.Service()("@opencode/Watcher/Test") {
64
64
  }
65
- var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
65
+ var layer21 = (options) => Layer.effect(Service55, Effect.gen(function* () {
66
66
  if (options?.enabled === false) {
67
- return Service49.of({ subscribe: () => Effect.succeed(Stream.empty) });
67
+ return Service55.of({ subscribe: () => Effect.succeed(Stream.empty) });
68
68
  }
69
69
  const native = yield* Native3;
70
70
  const watchers = yield* RcMap.make({
@@ -105,7 +105,7 @@ var layer19 = (options) => Layer.effect(Service49, Effect.gen(function* () {
105
105
  return Stream.fromSubscription(subscription);
106
106
  }));
107
107
  });
108
- return Service49.of({ subscribe });
108
+ return Service55.of({ subscribe });
109
109
  }));
110
110
  var testLayer3 = Layer.effectContext(Effect.gen(function* () {
111
111
  const subscriptions = [];
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
129
129
  };
130
130
  })
131
131
  });
132
- const context = yield* Layer.build(layer19().pipe(Layer.provide(Layer.succeed(Native3, native))));
132
+ const context = yield* Layer.build(layer21().pipe(Layer.provide(Layer.succeed(Native3, native))));
133
133
  const test = Test3.of({
134
- subscribe: Context.get(context, Service49).subscribe,
134
+ subscribe: Context.get(context, Service55).subscribe,
135
135
  emit: (update) => Effect.sync(() => {
136
136
  const target = path.resolve(update.path);
137
137
  active.forEach((matches, publish) => {
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
141
141
  }),
142
142
  subscriptions: () => Effect.sync(() => [...subscriptions])
143
143
  });
144
- return Context.empty().pipe(Context.add(Service49, test), Context.add(Test3, test));
144
+ return Context.empty().pipe(Context.add(Service55, test), Context.add(Test3, test));
145
145
  }));
146
146
  var nativeLayer2 = Layer.succeed(Native3, Native3.of({
147
147
  subscribe: (input) => {
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
164
164
  }
165
165
  }));
166
166
  var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
167
- function configured8(options) {
168
- return makeGlobalNode({ service: Service49, layer: layer19(options), deps: [nativeNode2] });
167
+ function configured9(options) {
168
+ return makeGlobalNode({ service: Service55, layer: layer21(options), deps: [nativeNode2] });
169
169
  }
170
- var node53 = configured8();
170
+ var node57 = configured9();
171
171
  function subscribeDirectory(native, backend, directory, ignore, publish) {
172
172
  if (!native || !backend) {
173
173
  return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
187
187
  }).pipe(Effect.as(undefined))));
188
188
  }
189
189
 
190
- export { Event8, hasNativeBinding2, Native3, Options7, Service49, Test3, layer19, testLayer3, nativeLayer2, nativeNode2, configured8, node53, exports_watcher };
190
+ export { Event11, hasNativeBinding2, Native3, Options9, Service55, Test3, layer21, testLayer3, nativeLayer2, nativeNode2, configured9, node57, exports_watcher };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./pty-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/instructions/index.ts
6
6
  var exports_instructions6 = {};
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
10
10
  Hash: () => Hash2,
11
11
  InitializationBlocked: () => InitializationBlocked2,
12
12
  Instructions: () => exports_instructions6,
13
- Key: () => Key4,
13
+ Key: () => Key3,
14
14
  Values: () => Values2,
15
15
  applyHashDelta: () => applyHashDelta2,
16
16
  combine: () => combine2,
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
18
18
  diffByKey: () => diffByKey2,
19
19
  empty: () => empty3,
20
20
  hash: () => hash2,
21
- make: () => make22,
21
+ make: () => make20,
22
22
  read: () => read3,
23
23
  removed: () => removed2,
24
24
  renderInitial: () => renderInitial2,
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
28
28
  import { createHash } from "crypto";
29
29
  import { Instruction } from "@opencode/schema/instruction";
30
30
  import { Data, Effect, Option, Schema } from "effect";
31
- var Key4 = Instruction.Key;
31
+ var Key3 = Instruction.Key;
32
32
  var Hash2 = Instruction.Hash;
33
33
  var Values2 = Instruction.Values;
34
34
  var Delta2 = Instruction.Delta;
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
36
36
  var unavailable3 = NonValue.Unavailable();
37
37
  var removed2 = NonValue.Removed();
38
38
 
39
- class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key4) }) {
39
+ class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
40
40
  get message() {
41
41
  return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
42
42
  }
43
43
  }
44
44
 
45
45
  class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
46
- key: Key4
46
+ key: Key3
47
47
  }) {
48
48
  get message() {
49
49
  return `Duplicate instruction key: ${this.key}`;
50
50
  }
51
51
  }
52
52
  var empty3 = [];
53
- function make22(source) {
53
+ function make20(source) {
54
54
  const decode = Schema.decodeUnknownOption(source.codec);
55
55
  const encode = Schema.encodeSync(source.codec);
56
56
  const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
193
193
  return text;
194
194
  }
195
195
 
196
- export { Key4, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make22, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
196
+ export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
@@ -1,36 +1,36 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service83,
4
- node87
5
- } from "./pty-gzqsmt5r.js";
3
+ Service80,
4
+ node84
5
+ } from "./location-services-514hvnh9.js";
6
6
  import {
7
- Key4,
7
+ Key3,
8
8
  unavailable3,
9
9
  removed2,
10
- make22,
10
+ make20,
11
11
  diffByKey2
12
- } from "./pty-wv396vej.js";
12
+ } from "./location-services-rhjbct0v.js";
13
13
  import {
14
14
  AbsolutePath2
15
- } from "./pty-z5v4ffb3.js";
15
+ } from "./location-services-z5v4ffb3.js";
16
16
  import {
17
17
  create3
18
- } from "./pty-rdw6cm16.js";
18
+ } from "./location-services-rdw6cm16.js";
19
19
  import {
20
20
  __export
21
- } from "./pty-9rqn6x4v.js";
21
+ } from "./location-services-9rqn6x4v.js";
22
22
 
23
23
  // src/instruction-discovery.ts
24
24
  var exports_instruction_discovery = {};
25
25
  __export(exports_instruction_discovery, {
26
- Event: () => Event20,
26
+ Event: () => Event10,
27
27
  File: () => File2,
28
28
  InstructionDiscovery: () => exports_instruction_discovery,
29
- Options: () => Options10,
30
- Service: () => Service78,
31
- configured: () => configured11,
32
- layer: () => layer25,
33
- node: () => node82
29
+ Options: () => Options6,
30
+ Service: () => Service43,
31
+ configured: () => configured6,
32
+ layer: () => layer17,
33
+ node: () => node46
34
34
  });
35
35
  import { Context, Effect, Layer, Schema } from "effect";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -41,19 +41,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
41
41
  }) {
42
42
  }
43
43
  var Files = Schema.Array(File2);
44
- var key = Key4.make("core/instructions");
45
- var Event20 = {
44
+ var key = Key3.make("core/instructions");
45
+ var Event10 = {
46
46
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
47
47
  };
48
- var Options10 = Schema.Struct({
48
+ var Options6 = Schema.Struct({
49
49
  project: Schema.optional(Schema.Boolean),
50
50
  global: Schema.optional(Schema.Boolean)
51
51
  });
52
52
 
53
- class Service78 extends Context.Service()("@opencode/InstructionDiscovery") {
53
+ class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
54
54
  }
55
- var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
56
- const bus = yield* Service83;
55
+ var layer17 = (options) => Layer.effect(Service43, Effect.gen(function* () {
56
+ const bus = yield* Service80;
57
57
  const state = create3({
58
58
  name: "instruction-discovery",
59
59
  initial: () => ({ files: new Map, available: true }),
@@ -72,9 +72,9 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
72
72
  editor.available = false;
73
73
  }
74
74
  }),
75
- notify: () => bus.publish(Event20.Updated, {}).pipe(Effect.asVoid)
75
+ notify: () => bus.publish(Event10.Updated, {}).pipe(Effect.asVoid)
76
76
  });
77
- const source = (value) => make22({
77
+ const source = (value) => make20({
78
78
  key,
79
79
  codec: Schema.toCodecJson(Files),
80
80
  read: Effect.succeed(value),
@@ -90,7 +90,7 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
90
90
  return unavailable3;
91
91
  return Array.from(current.files.values());
92
92
  });
93
- return Service78.of({
93
+ return Service43.of({
94
94
  project: options?.project !== false,
95
95
  global: options?.global !== false,
96
96
  transform: state.transform,
@@ -104,14 +104,14 @@ var layer25 = (options) => Layer.effect(Service78, Effect.gen(function* () {
104
104
  })
105
105
  });
106
106
  }));
107
- function configured11(options) {
107
+ function configured6(options) {
108
108
  return makeLocationNode({
109
- service: Service78,
110
- layer: layer25(options),
111
- deps: [node87]
109
+ service: Service43,
110
+ layer: layer17(options),
111
+ deps: [node84]
112
112
  });
113
113
  }
114
- var node82 = configured11();
114
+ var node46 = configured6();
115
115
  function render(files) {
116
116
  return files.map((file) => `Instructions from: ${file.path}
117
117
  ${file.content}`).join(`
@@ -142,4 +142,4 @@ ${render([after])}`;
142
142
  `);
143
143
  }
144
144
 
145
- export { File2, Event20, Options10, Service78, layer25, configured11, node82, exports_instruction_discovery };
145
+ export { File2, Event10, Options6, Service43, layer17, configured6, node46, exports_instruction_discovery };
@@ -1,38 +1,38 @@
1
1
  import {
2
2
  useragent2
3
- } from "./pty-m5canyms.js";
3
+ } from "./location-services-z8rw9kn4.js";
4
4
  import {
5
- Service83
6
- } from "./pty-gzqsmt5r.js";
5
+ Service80
6
+ } from "./location-services-514hvnh9.js";
7
7
  import {
8
- ID13,
8
+ ID16,
9
9
  OAuth3,
10
- Event17,
11
- Service72
12
- } from "./pty-ctdhhp9a.js";
10
+ Event19,
11
+ Service74
12
+ } from "./location-services-y8shr9gw.js";
13
13
  import {
14
14
  key2
15
- } from "./pty-mxvxcxwy.js";
15
+ } from "./location-services-x661k3y3.js";
16
16
  import {
17
- ID12,
17
+ ID14,
18
18
  MethodID2
19
- } from "./pty-dshcjhsp.js";
19
+ } from "./location-services-waec0c3j.js";
20
20
  import {
21
21
  which2
22
- } from "./pty-qaymkmh1.js";
22
+ } from "./location-services-qaymkmh1.js";
23
23
  import {
24
- ID11,
25
- Service70
26
- } from "./pty-9se51ysk.js";
24
+ ID13,
25
+ Service71
26
+ } from "./location-services-jkjj242p.js";
27
27
  import {
28
- ID10
29
- } from "./pty-7pgwfb4h.js";
28
+ ID12
29
+ } from "./location-services-hc5gcwsj.js";
30
30
  import {
31
31
  iife2
32
- } from "./pty-1kg9ymc8.js";
32
+ } from "./location-services-1kg9ymc8.js";
33
33
  import {
34
34
  configuredSettings2
35
- } from "./pty-ky8w6whr.js";
35
+ } from "./location-services-kt67x2pe.js";
36
36
 
37
37
  // src/plugin/provider/azure.ts
38
38
  import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
67
67
  }));
68
68
  var ResourceQuery = Schema.Struct({ query: Schema.String });
69
69
  var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
70
- function make4(endpoints = {
70
+ function make11(endpoints = {
71
71
  resource: (name) => `https://${name}.openai.azure.com/openai`,
72
72
  management: "https://management.azure.com"
73
73
  }) {
74
74
  return define({
75
75
  id: "opencode.provider.azure",
76
76
  effect: Effect.fn(function* (ctx) {
77
- const configured = yield* configuredSettings2(ID11.azure);
77
+ const configured = yield* configuredSettings2(ID13.azure);
78
78
  const processes = yield* AppProcess.Service;
79
- const bus = yield* Service83;
80
- const credentials = yield* Service72;
81
- const providers = yield* Service70;
79
+ const bus = yield* Service80;
80
+ const credentials = yield* Service74;
81
+ const providers = yield* Service71;
82
82
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
83
83
  const tokens = new Map;
84
84
  const resourceIDs = new Map;
@@ -116,13 +116,13 @@ function make4(endpoints = {
116
116
  });
117
117
  yield* ctx.integration.transform((editor) => {
118
118
  editor.method.update({
119
- integrationID: ID11.azure,
119
+ integrationID: ID13.azure,
120
120
  method: { type: "key", label: "API key", form: form() }
121
121
  });
122
122
  if (!available)
123
123
  return;
124
124
  editor.method.update({
125
- integrationID: ID11.azure,
125
+ integrationID: ID13.azure,
126
126
  method: {
127
127
  id: methodID,
128
128
  type: "oauth",
@@ -152,8 +152,8 @@ function make4(endpoints = {
152
152
  });
153
153
  });
154
154
  const load = Effect.fn("AzurePlugin.load")(function* () {
155
- const connection = yield* ctx.integration.connection.active(ID11.azure);
156
- const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
155
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
156
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
157
157
  return { connection, resource: credentialResource(stored?.value) };
158
158
  });
159
159
  const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
@@ -192,7 +192,7 @@ function make4(endpoints = {
192
192
  }));
193
193
  const discover = Effect.fn("AzurePlugin.discover")(function* () {
194
194
  const connection = loaded.connection;
195
- const settings = (yield* providers.get(ID11.azure))?.settings;
195
+ const settings = (yield* providers.get(ID13.azure))?.settings;
196
196
  const name = loaded.resource ?? resolveResourceName(settings);
197
197
  const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
198
198
  if (loaded.connection !== connection)
@@ -214,11 +214,11 @@ function make4(endpoints = {
214
214
  const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
215
215
  if (!found)
216
216
  return;
217
- if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID11.azure)))
217
+ if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID13.azure)))
218
218
  return;
219
219
  if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
220
220
  return;
221
- const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID11.azure)?.models.keys() ?? [], (id) => [
221
+ const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID13.azure)?.models.keys() ?? [], (id) => [
222
222
  id.toLowerCase(),
223
223
  id
224
224
  ]));
@@ -231,11 +231,11 @@ function make4(endpoints = {
231
231
  yield* ctx.model.reload();
232
232
  });
233
233
  const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
234
- const resourceFor = (provider) => provider.id === ID11.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
234
+ const resourceFor = (provider) => provider.id === ID13.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
235
235
  Object.assign(loaded, yield* load());
236
236
  yield* ctx.provider.transform((evt) => {
237
237
  for (const item of evt.list()) {
238
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
238
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
239
239
  continue;
240
240
  const resourceName = resourceFor(item.provider);
241
241
  const websocket = responsesWebSocketCapable(item.provider);
@@ -250,7 +250,7 @@ function make4(endpoints = {
250
250
  };
251
251
  });
252
252
  }
253
- const item = evt.get(ID11.azure);
253
+ const item = evt.get(ID13.azure);
254
254
  if (!item)
255
255
  return;
256
256
  evt.add({
@@ -261,7 +261,7 @@ function make4(endpoints = {
261
261
  });
262
262
  yield* ctx.model.transform((models) => {
263
263
  for (const item of models.provider.list()) {
264
- if (item.provider.id !== ID11.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
264
+ if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
265
265
  continue;
266
266
  const resourceName = resourceFor(item.provider);
267
267
  for (const model of models.list(item.provider.id)) {
@@ -273,20 +273,20 @@ function make4(endpoints = {
273
273
  }
274
274
  if (!loaded.deployments)
275
275
  return;
276
- const catalog = models.list(ID11.azure);
276
+ const catalog = models.list(ID13.azure);
277
277
  const deployed = deployedModels(loaded.deployments, catalog);
278
278
  for (const model of catalog) {
279
279
  if (!deployed.has(model.id))
280
- models.remove(ID11.azure, model.id);
280
+ models.remove(ID13.azure, model.id);
281
281
  }
282
282
  for (const [id, model] of deployed) {
283
- models.update(ID11.azure, id, (draft) => Object.assign(draft, model));
283
+ models.update(ID13.azure, id, (draft) => Object.assign(draft, model));
284
284
  }
285
285
  });
286
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
286
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
287
287
  yield* refresh().pipe(Effect.forkScoped);
288
288
  const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
289
- const connection = yield* ctx.integration.connection.active(ID11.azure);
289
+ const connection = yield* ctx.integration.connection.active(ID13.azure);
290
290
  const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
291
291
  return;
292
292
  })) : undefined;
@@ -298,7 +298,7 @@ function make4(endpoints = {
298
298
  return `Bearer ${current.access}`;
299
299
  });
300
300
  yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
301
- if (evt.model.providerID !== ID11.azure)
301
+ if (evt.model.providerID !== ID13.azure)
302
302
  return;
303
303
  const authorization = yield* bearer(evt.request.url);
304
304
  if (!authorization)
@@ -307,9 +307,9 @@ function make4(endpoints = {
307
307
  evt.request.headers.delete("x-api-key");
308
308
  evt.request.headers.set("authorization", authorization);
309
309
  evt.request.headers.set("user-agent", useragent2(ctx.app));
310
- }), { providerID: ID11.azure });
310
+ }), { providerID: ID13.azure });
311
311
  yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
312
- if (evt.model.providerID !== ID11.azure)
312
+ if (evt.model.providerID !== ID13.azure)
313
313
  return;
314
314
  const authorization = yield* bearer(evt.url);
315
315
  if (!authorization)
@@ -318,11 +318,11 @@ function make4(endpoints = {
318
318
  delete evt.headers["x-api-key"];
319
319
  evt.headers.authorization = authorization;
320
320
  evt.headers["user-agent"] = useragent2(ctx.app);
321
- }), { providerID: ID11.azure });
321
+ }), { providerID: ID13.azure });
322
322
  })
323
323
  });
324
324
  }
325
- var AzurePlugin2 = make4();
325
+ var AzurePlugin2 = make11();
326
326
  function resolveResourceName(settings, fallback) {
327
327
  const configured = settings?.resourceName;
328
328
  if (typeof configured === "string" && configured.trim() !== "")
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
352
352
  const model = catalogModel(models, deployment);
353
353
  if (!model)
354
354
  return [];
355
- const id = ID10.make(deployment.name.toLowerCase());
355
+ const id = ID12.make(deployment.name.toLowerCase());
356
356
  const info = {
357
357
  ...structuredClone(model),
358
358
  id,
359
- modelID: ID10.make(deployment.name),
359
+ modelID: ID12.make(deployment.name),
360
360
  name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
361
361
  };
362
362
  return [[id, info]];
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
378
378
  return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
379
379
  }
380
380
 
381
- export { make4, AzurePlugin2 };
381
+ export { make11, AzurePlugin2 };