@opencode/core 0.0.0-dev-20968 → 0.0.0-dev-20970

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 (463) hide show
  1. package/dist/agent.js +70 -70
  2. package/dist/aisdk-native.js +68 -68
  3. package/dist/aisdk.js +73 -73
  4. package/dist/app.js +7 -7
  5. package/dist/bus.js +59 -59
  6. package/dist/chunks/{location-service-map-vfd5z52g.js → location-service-map-0e0z4xs4.js} +22 -22
  7. package/dist/chunks/{location-service-map-t550f9t1.js → location-service-map-0gdmqesm.js} +3 -3
  8. package/dist/chunks/{location-service-map-2gw07b48.js → location-service-map-0hws4rz6.js} +22 -22
  9. package/dist/chunks/{location-service-map-4v7ngy20.js → location-service-map-0xqyf95c.js} +3 -3
  10. package/dist/chunks/{location-service-map-3fgtv7ze.js → location-service-map-15gp8gwp.js} +18 -18
  11. package/dist/chunks/{location-service-map-wvf4y7rr.js → location-service-map-1cwtqt4r.js} +17 -17
  12. package/dist/chunks/{location-service-map-bjx1sjef.js → location-service-map-1ffvrpkg.js} +4 -4
  13. package/dist/chunks/{location-service-map-emxdjm72.js → location-service-map-1g7cdmxb.js} +20 -20
  14. package/dist/chunks/{location-service-map-a62egxb3.js → location-service-map-1j6f3fcz.js} +4 -4
  15. package/dist/chunks/{location-service-map-kp5we7ps.js → location-service-map-1nswxt31.js} +24 -24
  16. package/dist/chunks/{location-service-map-4z58m4b4.js → location-service-map-1rn5pcm9.js} +3 -3
  17. package/dist/chunks/{location-service-map-mgjjdy5b.js → location-service-map-2f8xmtvs.js} +9 -9
  18. package/dist/chunks/{location-service-map-a42kkhkg.js → location-service-map-2gbtb9ex.js} +27 -27
  19. package/dist/chunks/{location-service-map-e334ff5n.js → location-service-map-2kgr186q.js} +17 -17
  20. package/dist/chunks/{location-service-map-hxtckxf3.js → location-service-map-2sxk7h72.js} +25 -25
  21. package/dist/chunks/{location-service-map-bpq9gadp.js → location-service-map-2wdjt9g8.js} +12 -12
  22. package/dist/chunks/{location-service-map-5jvy51wy.js → location-service-map-333jpv82.js} +1 -1
  23. package/dist/chunks/{location-service-map-vxznmwbn.js → location-service-map-3a7h0qtw.js} +12 -12
  24. package/dist/chunks/{location-service-map-yjqnk9hn.js → location-service-map-3p5gpzs5.js} +25 -25
  25. package/dist/chunks/{location-service-map-5pyvwtgy.js → location-service-map-3sw2dssw.js} +12 -12
  26. package/dist/chunks/{location-service-map-trecwywa.js → location-service-map-3z3xn5yy.js} +18 -18
  27. package/dist/chunks/{location-service-map-qrabmw5q.js → location-service-map-40jkzs91.js} +44 -44
  28. package/dist/chunks/{location-service-map-st6tfvct.js → location-service-map-47yqzcwx.js} +28 -28
  29. package/dist/chunks/{location-service-map-qb7q1f1d.js → location-service-map-4f3wm1ac.js} +12 -12
  30. package/dist/chunks/{location-service-map-mh8n60fa.js → location-service-map-4h8beb84.js} +42 -42
  31. package/dist/chunks/{location-service-map-had4kgfk.js → location-service-map-4ns3h2re.js} +3 -3
  32. package/dist/chunks/{location-service-map-9d2vkprr.js → location-service-map-4ybf7fnk.js} +9 -9
  33. package/dist/chunks/{location-service-map-exs4tskk.js → location-service-map-50n7yzyq.js} +44 -44
  34. package/dist/chunks/{location-service-map-4sqgwhvg.js → location-service-map-58sy987p.js} +14 -14
  35. package/dist/chunks/{location-service-map-8czxvfjx.js → location-service-map-5jz5gmkx.js} +28 -28
  36. package/dist/chunks/{location-service-map-5cs9fw4j.js → location-service-map-5mq28h2t.js} +13 -13
  37. package/dist/chunks/{location-service-map-a4hp8e9p.js → location-service-map-5tjn6tpp.js} +15 -15
  38. package/dist/chunks/{location-service-map-gabsh7yw.js → location-service-map-5wbv3d1w.js} +6 -6
  39. package/dist/chunks/{location-service-map-9hn6k4tm.js → location-service-map-5xtgfte3.js} +7 -7
  40. package/dist/chunks/{location-service-map-gd0tnyjc.js → location-service-map-68wqtz75.js} +1 -1
  41. package/dist/chunks/{location-service-map-x5wrmng7.js → location-service-map-6bjhz71w.js} +3 -3
  42. package/dist/chunks/{location-service-map-g0xzmjr0.js → location-service-map-6jpm8ex2.js} +16 -16
  43. package/dist/chunks/{location-service-map-8ykp9xbw.js → location-service-map-79nhj7b6.js} +29 -29
  44. package/dist/chunks/{location-service-map-2k8khapm.js → location-service-map-7dqw4kz8.js} +4 -4
  45. package/dist/chunks/{location-service-map-ej81gkeg.js → location-service-map-7k1rdhbp.js} +5 -5
  46. package/dist/chunks/{location-service-map-hhyv66vq.js → location-service-map-7ph0vnsv.js} +7 -7
  47. package/dist/chunks/{location-service-map-kdxh9szv.js → location-service-map-7zdn2k09.js} +9 -9
  48. package/dist/chunks/{location-service-map-k4xdy46r.js → location-service-map-80m1sdbk.js} +314 -314
  49. package/dist/chunks/{location-service-map-vycw7md4.js → location-service-map-80scg3y3.js} +3 -3
  50. package/dist/chunks/{location-service-map-dacbrmk2.js → location-service-map-89x5zc49.js} +5 -5
  51. package/dist/chunks/{location-service-map-najnejyn.js → location-service-map-8acdjqfv.js} +11 -11
  52. package/dist/chunks/{location-service-map-mt6brxxc.js → location-service-map-8fe0d2sh.js} +1 -1
  53. package/dist/chunks/{location-service-map-w34bt5ev.js → location-service-map-8v3872mr.js} +4 -4
  54. package/dist/chunks/{location-service-map-0fzbfnq7.js → location-service-map-8z12w5mn.js} +1 -1
  55. package/dist/chunks/{location-service-map-6mdwj01c.js → location-service-map-9a1mrhyh.js} +13 -13
  56. package/dist/chunks/{location-service-map-qe178b41.js → location-service-map-9byyftbt.js} +22 -22
  57. package/dist/chunks/{location-service-map-kww7pfa5.js → location-service-map-9m4mwgwd.js} +5 -5
  58. package/dist/chunks/{location-service-map-7fj5dwt0.js → location-service-map-9sh4wc5j.js} +4 -4
  59. package/dist/chunks/{location-service-map-w75czvp0.js → location-service-map-9t8w0vez.js} +4 -4
  60. package/dist/chunks/{location-service-map-6xc75jjq.js → location-service-map-a22dk6g9.js} +43 -43
  61. package/dist/chunks/{location-service-map-jeewe651.js → location-service-map-a5e101j6.js} +4 -4
  62. package/dist/chunks/{location-service-map-0hw4dk4w.js → location-service-map-a7z0fe8c.js} +1 -1
  63. package/dist/chunks/{location-service-map-69jqfsnf.js → location-service-map-a8hvaj9p.js} +8 -8
  64. package/dist/chunks/{location-service-map-x661k3y3.js → location-service-map-addxnjmp.js} +3 -3
  65. package/dist/chunks/{location-service-map-j5chjq9f.js → location-service-map-agg557zn.js} +9 -9
  66. package/dist/chunks/{location-service-map-jrzj45fy.js → location-service-map-ah1t51zw.js} +9 -9
  67. package/dist/chunks/{location-service-map-1xjc3krj.js → location-service-map-ah9s4888.js} +4 -4
  68. package/dist/chunks/{location-service-map-05hkmm44.js → location-service-map-apbyd0y0.js} +13 -13
  69. package/dist/chunks/{location-service-map-jvnghvnw.js → location-service-map-at1kfnmk.js} +7 -7
  70. package/dist/chunks/{location-service-map-nc1ev885.js → location-service-map-av4ka64b.js} +70 -70
  71. package/dist/chunks/{location-service-map-bh3fdk74.js → location-service-map-avdzqnth.js} +2 -2
  72. package/dist/chunks/{location-service-map-jpaf2qm1.js → location-service-map-b5ab48k5.js} +41 -41
  73. package/dist/chunks/{location-service-map-thf5141v.js → location-service-map-bg0scr0s.js} +4 -4
  74. package/dist/chunks/{location-service-map-t9es0ena.js → location-service-map-bpqmbvp8.js} +17 -17
  75. package/dist/chunks/{location-service-map-ncp1h5wm.js → location-service-map-brzr8pgk.js} +1 -1
  76. package/dist/chunks/{location-service-map-xdfgfet0.js → location-service-map-bz1ch3a7.js} +24 -24
  77. package/dist/chunks/{location-service-map-kcdapykd.js → location-service-map-c67afrq3.js} +6 -6
  78. package/dist/chunks/{location-service-map-rfnwmvtk.js → location-service-map-c9y76qr3.js} +10 -10
  79. package/dist/chunks/{location-service-map-r2m716tb.js → location-service-map-cwa6csj7.js} +7 -7
  80. package/dist/chunks/{location-service-map-mdmc61fe.js → location-service-map-d2s7sfgk.js} +3 -3
  81. package/dist/chunks/{location-service-map-bjkg2ks4.js → location-service-map-dbd4bcxh.js} +24 -24
  82. package/dist/chunks/{location-service-map-6bkr64fg.js → location-service-map-ddnd35kk.js} +8 -8
  83. package/dist/chunks/{location-service-map-9h357zpk.js → location-service-map-djvdn7j4.js} +3 -3
  84. package/dist/chunks/{location-service-map-z1a6nf3f.js → location-service-map-dn85cbp5.js} +12 -12
  85. package/dist/chunks/{location-service-map-k6709ays.js → location-service-map-dn8fxr7e.js} +14 -14
  86. package/dist/chunks/{location-service-map-38x8v0tv.js → location-service-map-dnxwqgza.js} +16 -16
  87. package/dist/chunks/{location-service-map-y71avatq.js → location-service-map-dpkg50ah.js} +3 -3
  88. package/dist/chunks/{location-service-map-1hyeesvh.js → location-service-map-dprgbttx.js} +19 -19
  89. package/dist/chunks/{location-service-map-189fjxnc.js → location-service-map-dqss8s9h.js} +18 -18
  90. package/dist/chunks/{location-service-map-pck7vvdx.js → location-service-map-drmqggy3.js} +1 -1
  91. package/dist/chunks/{location-service-map-ktgr00t7.js → location-service-map-drnf6xwf.js} +1 -1
  92. package/dist/chunks/{location-service-map-h9mky73t.js → location-service-map-dvzj1xmf.js} +9 -9
  93. package/dist/chunks/{location-service-map-ewf8j77t.js → location-service-map-dwwb2yn6.js} +9 -9
  94. package/dist/chunks/{location-service-map-sdk84yjp.js → location-service-map-dzj3pesk.js} +5 -5
  95. package/dist/chunks/{location-service-map-wve2b6s5.js → location-service-map-e59gya24.js} +8 -8
  96. package/dist/chunks/{location-service-map-h8rphgn6.js → location-service-map-eegn9671.js} +4 -4
  97. package/dist/chunks/{location-service-map-95kyz0q3.js → location-service-map-ek79twyn.js} +1 -1
  98. package/dist/chunks/{location-service-map-8cxvr4t8.js → location-service-map-f6vptca4.js} +40 -40
  99. package/dist/chunks/{location-service-map-whqshyfz.js → location-service-map-fahd1t22.js} +7 -7
  100. package/dist/chunks/{location-service-map-v6tgae3y.js → location-service-map-fdn2kncn.js} +175 -175
  101. package/dist/chunks/{location-service-map-7hff53af.js → location-service-map-fjmme1zd.js} +21 -21
  102. package/dist/chunks/{location-service-map-vh4rw25j.js → location-service-map-fkrwggfj.js} +8 -8
  103. package/dist/chunks/{location-service-map-7mp49jye.js → location-service-map-ftxqeyfp.js} +22 -22
  104. package/dist/chunks/{location-service-map-hsvqr7g3.js → location-service-map-fwh25w6r.js} +27 -27
  105. package/dist/chunks/{location-service-map-ebbyhdvc.js → location-service-map-g16zfax1.js} +29 -29
  106. package/dist/chunks/{location-service-map-0b5g1ynf.js → location-service-map-gbh65n66.js} +1 -1
  107. package/dist/chunks/{location-service-map-fkhvp8gb.js → location-service-map-gc30vjt8.js} +19 -19
  108. package/dist/chunks/{location-service-map-6kpyj4fb.js → location-service-map-gfvfhfth.js} +9 -9
  109. package/dist/chunks/{location-service-map-9zdssp4n.js → location-service-map-gh8rs6tp.js} +8 -8
  110. package/dist/chunks/{location-service-map-q4aap459.js → location-service-map-gq9mz0q5.js} +23 -23
  111. package/dist/chunks/{location-service-map-977pwvh6.js → location-service-map-gvmyet0t.js} +4 -4
  112. package/dist/chunks/{location-service-map-9vjjhptz.js → location-service-map-gwaf4cyv.js} +7 -7
  113. package/dist/chunks/{location-service-map-eb5nwvjj.js → location-service-map-gybmckzj.js} +11 -11
  114. package/dist/chunks/{location-service-map-gv2dj64n.js → location-service-map-h36qpgyc.js} +5 -5
  115. package/dist/chunks/{location-service-map-61qtfb41.js → location-service-map-h3damvf7.js} +19 -19
  116. package/dist/chunks/{location-service-map-f50nbvzh.js → location-service-map-h5ctynge.js} +40 -40
  117. package/dist/chunks/{location-service-map-bhhmebad.js → location-service-map-h796dgtk.js} +11 -11
  118. package/dist/chunks/{location-service-map-ttbvdjdw.js → location-service-map-hbhk3w7g.js} +14 -14
  119. package/dist/chunks/{location-service-map-bm095xha.js → location-service-map-hse9bmtq.js} +2 -2
  120. package/dist/chunks/{location-service-map-hzp768xy.js → location-service-map-htr2xv6b.js} +5 -5
  121. package/dist/chunks/{location-service-map-vdcsbfm7.js → location-service-map-hw1z087j.js} +6 -6
  122. package/dist/chunks/{location-service-map-xsccak5w.js → location-service-map-hw81jkqg.js} +17 -17
  123. package/dist/chunks/{location-service-map-ykdkqy2w.js → location-service-map-hxxxkake.js} +14 -14
  124. package/dist/chunks/{location-service-map-sfz6vzg3.js → location-service-map-hy35aq5e.js} +9 -9
  125. package/dist/chunks/{location-service-map-0ycdfwp1.js → location-service-map-j0z1hbm7.js} +10 -10
  126. package/dist/chunks/{location-service-map-453vx0dg.js → location-service-map-j26e8f99.js} +36 -36
  127. package/dist/chunks/{location-service-map-zpfqjb86.js → location-service-map-j4xtsjbj.js} +12 -12
  128. package/dist/chunks/{location-service-map-c6nr29zh.js → location-service-map-jgrj7vpb.js} +9 -9
  129. package/dist/chunks/{location-service-map-w5rka97k.js → location-service-map-jvvc3tfq.js} +7 -7
  130. package/dist/chunks/{location-service-map-a41h3yhs.js → location-service-map-jxntzgs7.js} +22 -22
  131. package/dist/chunks/{location-service-map-07w9enf1.js → location-service-map-jz647r1p.js} +12 -12
  132. package/dist/chunks/{location-service-map-4pn1xf0p.js → location-service-map-k73fr1k7.js} +19 -19
  133. package/dist/chunks/{location-service-map-j947zhwf.js → location-service-map-k7wxww75.js} +9 -9
  134. package/dist/chunks/{location-service-map-gk6ab8mf.js → location-service-map-kc16ztxm.js} +10 -10
  135. package/dist/chunks/location-service-map-kf3mbpd3.js +253 -0
  136. package/dist/chunks/{location-service-map-8kzy7b3z.js → location-service-map-kfj9hn6k.js} +20 -20
  137. package/dist/chunks/{location-service-map-0pj15cwb.js → location-service-map-kg0ryrs1.js} +26 -26
  138. package/dist/chunks/{location-service-map-qce5rqyv.js → location-service-map-kjttyt96.js} +24 -24
  139. package/dist/chunks/{location-service-map-jvf3yq6v.js → location-service-map-kne8f3cn.js} +3 -3
  140. package/dist/chunks/{location-service-map-6npkjnc9.js → location-service-map-krpype3t.js} +14 -14
  141. package/dist/chunks/{location-service-map-av8cscef.js → location-service-map-kt13rzk4.js} +28 -28
  142. package/dist/chunks/{location-service-map-qwf29bqw.js → location-service-map-kvh9ex0n.js} +1 -1
  143. package/dist/chunks/{location-service-map-qezm2w8e.js → location-service-map-kvsv9rq3.js} +19 -19
  144. package/dist/chunks/{location-service-map-285qnyny.js → location-service-map-kxqng4z4.js} +14 -14
  145. package/dist/chunks/{location-service-map-y4a0ptp4.js → location-service-map-kz8sfr61.js} +5 -5
  146. package/dist/chunks/{location-service-map-svcw9x3w.js → location-service-map-m329mjby.js} +1 -1
  147. package/dist/chunks/{location-service-map-z5rnbfrr.js → location-service-map-m47hdp86.js} +8 -8
  148. package/dist/chunks/{location-service-map-4c3ndrn6.js → location-service-map-mcwdvdbx.js} +8 -8
  149. package/dist/chunks/{location-service-map-190mk5vc.js → location-service-map-ms1sgmgt.js} +12 -12
  150. package/dist/chunks/{location-service-map-51f5btjf.js → location-service-map-mx9vqzsb.js} +5 -5
  151. package/dist/chunks/{location-service-map-b1a1n7cj.js → location-service-map-my4zabxr.js} +3 -3
  152. package/dist/chunks/{location-service-map-x852hbsc.js → location-service-map-n3gkh2k8.js} +1 -1
  153. package/dist/chunks/{location-service-map-wnsxc07p.js → location-service-map-n7chbqxk.js} +19 -19
  154. package/dist/chunks/{location-service-map-zmr78fwr.js → location-service-map-n8vdnqrc.js} +3 -3
  155. package/dist/chunks/{location-service-map-3dq15cxk.js → location-service-map-ns04df5e.js} +11 -11
  156. package/dist/chunks/{location-service-map-zt28r1k4.js → location-service-map-nszkg83g.js} +22 -22
  157. package/dist/chunks/location-service-map-pc3mwg2h.js +513 -0
  158. package/dist/chunks/{location-service-map-ra67jj04.js → location-service-map-phz50fbd.js} +7 -7
  159. package/dist/chunks/{location-service-map-qyvjbqsg.js → location-service-map-pj97maf1.js} +22 -22
  160. package/dist/chunks/{location-service-map-qgw57eb3.js → location-service-map-pp6tmt8p.js} +5 -5
  161. package/dist/chunks/{location-service-map-pjykpq9n.js → location-service-map-pp7c1v3z.js} +30 -30
  162. package/dist/chunks/{location-service-map-e2t7s5t4.js → location-service-map-pxpx7y6c.js} +43 -43
  163. package/dist/chunks/{location-service-map-8sze2n9a.js → location-service-map-py3kkmfq.js} +4 -4
  164. package/dist/chunks/{location-service-map-b7hvd3bh.js → location-service-map-pynx3rzn.js} +11 -11
  165. package/dist/chunks/{location-service-map-s90bytks.js → location-service-map-q15xqe5w.js} +11 -11
  166. package/dist/chunks/{location-service-map-mpw5hxye.js → location-service-map-qn90mm7z.js} +10 -10
  167. package/dist/chunks/{location-service-map-1krj7acz.js → location-service-map-qv519ymt.js} +32 -32
  168. package/dist/chunks/{location-service-map-605e1jbp.js → location-service-map-qwqqzdxk.js} +7 -7
  169. package/dist/chunks/{location-service-map-nma959mg.js → location-service-map-r2z489rp.js} +2 -2
  170. package/dist/chunks/{location-service-map-erts2f6e.js → location-service-map-r37wb9bh.js} +9 -9
  171. package/dist/chunks/{location-service-map-x309wg9x.js → location-service-map-r5p8p72t.js} +6 -6
  172. package/dist/chunks/{location-service-map-t89fqycx.js → location-service-map-r61qxybf.js} +7 -7
  173. package/dist/chunks/{location-service-map-q85n4xbh.js → location-service-map-r80kwpvr.js} +8 -8
  174. package/dist/chunks/{location-service-map-0a3bg0j5.js → location-service-map-r8bwyjs3.js} +25 -25
  175. package/dist/chunks/{location-service-map-qvcr5dcn.js → location-service-map-ra8aazcz.js} +16 -16
  176. package/dist/chunks/{location-service-map-v2fstvx9.js → location-service-map-rdb1svpf.js} +26 -26
  177. package/dist/chunks/{location-service-map-b89jdn4q.js → location-service-map-rwme0grx.js} +16 -16
  178. package/dist/chunks/{location-service-map-96kn8jjj.js → location-service-map-ry082wg0.js} +1 -1
  179. package/dist/chunks/{location-service-map-79rgchyy.js → location-service-map-s0gydmaw.js} +19 -19
  180. package/dist/chunks/{location-service-map-t7n4d1yf.js → location-service-map-s2t00s75.js} +2 -2
  181. package/dist/chunks/location-service-map-s315gvtx.js +26 -0
  182. package/dist/chunks/{location-service-map-17t4d4av.js → location-service-map-s68q802c.js} +14 -14
  183. package/dist/chunks/{location-service-map-5e6vztpv.js → location-service-map-sb86xevf.js} +9 -9
  184. package/dist/chunks/{location-service-map-zcfatamc.js → location-service-map-shm9gt2y.js} +11 -11
  185. package/dist/chunks/{location-service-map-w85jx7ef.js → location-service-map-sx3pjf9c.js} +20 -20
  186. package/dist/chunks/{location-service-map-w7th8kft.js → location-service-map-t58ss6va.js} +9 -9
  187. package/dist/chunks/{location-service-map-112anbc5.js → location-service-map-t8ne3r2q.js} +18 -18
  188. package/dist/chunks/{location-service-map-ykxyh7k6.js → location-service-map-tbt5dvb1.js} +12 -12
  189. package/dist/chunks/{location-service-map-89znhe33.js → location-service-map-tcezcvh9.js} +3 -3
  190. package/dist/chunks/{location-service-map-8sqat94k.js → location-service-map-tgnnk969.js} +35 -35
  191. package/dist/chunks/{location-service-map-h83xjv7f.js → location-service-map-tk14y25j.js} +3 -3
  192. package/dist/chunks/{location-service-map-x94bbvss.js → location-service-map-txd8c2hd.js} +2 -2
  193. package/dist/chunks/{location-service-map-r3yrqnb5.js → location-service-map-txqtqxhq.js} +11 -11
  194. package/dist/chunks/{location-service-map-raxjnfg2.js → location-service-map-vb8wgay5.js} +9 -9
  195. package/dist/chunks/{location-service-map-6c5stfwb.js → location-service-map-vcc1d1p0.js} +1 -1
  196. package/dist/chunks/{location-service-map-z4qs0yhw.js → location-service-map-vjwphg0n.js} +29 -29
  197. package/dist/chunks/{location-service-map-kwqk5vnc.js → location-service-map-w0cr6kn3.js} +16 -16
  198. package/dist/chunks/{location-service-map-vhvv9bf9.js → location-service-map-w76n4hge.js} +8 -8
  199. package/dist/chunks/{location-service-map-04ttag0w.js → location-service-map-wqptjszz.js} +17 -17
  200. package/dist/chunks/{location-service-map-1bz87fsm.js → location-service-map-wyazz7bw.js} +13 -13
  201. package/dist/chunks/{location-service-map-88jjz5re.js → location-service-map-x5hsf6rj.js} +11 -11
  202. package/dist/chunks/{location-service-map-qavnhd3j.js → location-service-map-xe9ktzb9.js} +26 -26
  203. package/dist/chunks/{location-service-map-hmdrvyfh.js → location-service-map-xh49hxk7.js} +61 -61
  204. package/dist/chunks/{location-service-map-d54g0exn.js → location-service-map-xmpwqgz4.js} +7 -7
  205. package/dist/chunks/{location-service-map-dzrvr4nb.js → location-service-map-xsgpdrvd.js} +40 -40
  206. package/dist/chunks/{location-service-map-xe6vm9p8.js → location-service-map-y1em8rf3.js} +14 -14
  207. package/dist/chunks/{location-service-map-6hjx5zpb.js → location-service-map-y56ehv6b.js} +8 -8
  208. package/dist/chunks/{location-service-map-nqsv03v6.js → location-service-map-ydah9gdn.js} +81 -81
  209. package/dist/chunks/{location-service-map-yhebgegd.js → location-service-map-yfv96e1b.js} +23 -23
  210. package/dist/chunks/{location-service-map-cakf0m7d.js → location-service-map-ykw935pc.js} +28 -28
  211. package/dist/chunks/{location-service-map-0bztnv55.js → location-service-map-yytnj0xn.js} +15 -15
  212. package/dist/chunks/{location-service-map-dkpnw212.js → location-service-map-z029qf89.js} +7 -7
  213. package/dist/chunks/{location-service-map-npgv39fj.js → location-service-map-z186befd.js} +1 -1
  214. package/dist/chunks/{location-service-map-c7s5xd0e.js → location-service-map-z1zdzsfj.js} +37 -37
  215. package/dist/chunks/{location-service-map-kxssyy3x.js → location-service-map-z2dcak32.js} +30 -30
  216. package/dist/chunks/{location-service-map-d04ep358.js → location-service-map-z3507kbh.js} +8 -8
  217. package/dist/chunks/{location-service-map-ayt5007s.js → location-service-map-z37zr1de.js} +4 -4
  218. package/dist/chunks/{location-service-map-rht436q7.js → location-service-map-z5s28eht.js} +14 -14
  219. package/dist/chunks/{location-service-map-9tr2qfdk.js → location-service-map-zcf38hqe.js} +7 -7
  220. package/dist/chunks/{location-service-map-j8ssv6es.js → location-service-map-zh94prq5.js} +10 -10
  221. package/dist/chunks/{location-service-map-3b16v5tt.js → location-service-map-zjtrsxny.js} +3 -3
  222. package/dist/chunks/{location-service-map-c87q280n.js → location-service-map-zx2dwjq0.js} +3 -3
  223. package/dist/codemode/instructions.js +6 -6
  224. package/dist/command.js +70 -70
  225. package/dist/config/discovery.js +66 -66
  226. package/dist/config/normalize.js +75 -75
  227. package/dist/config/plugin/agent.js +88 -88
  228. package/dist/config/plugin/command.js +166 -166
  229. package/dist/config/plugin/compaction.js +120 -120
  230. package/dist/config/plugin/compatibility.js +102 -102
  231. package/dist/config/plugin/formatter.js +89 -89
  232. package/dist/config/plugin/image.js +88 -88
  233. package/dist/config/plugin/instruction.js +89 -89
  234. package/dist/config/plugin/location-watcher.js +90 -90
  235. package/dist/config/plugin/mcp.js +95 -95
  236. package/dist/config/plugin/policy.js +88 -88
  237. package/dist/config/plugin/provider.js +88 -88
  238. package/dist/config/plugin/reference.js +89 -89
  239. package/dist/config/plugin/shell.js +90 -90
  240. package/dist/config/plugin/skill-file.js +78 -78
  241. package/dist/config/plugin/skill.js +105 -105
  242. package/dist/config/plugin/snapshot.js +88 -88
  243. package/dist/config/plugin/source.js +91 -91
  244. package/dist/config/plugin/tool-output.js +88 -88
  245. package/dist/config/plugin/websearch.js +89 -89
  246. package/dist/config/plugin/worktree.js +89 -89
  247. package/dist/config.js +90 -90
  248. package/dist/credential.js +71 -71
  249. package/dist/database/database.js +57 -57
  250. package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
  251. package/dist/database/drizzle/effect-sqlite/index.js +6 -6
  252. package/dist/database/drizzle/effect-sqlite/session.js +7 -7
  253. package/dist/database/drizzle/index.js +11 -11
  254. package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
  255. package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
  256. package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
  257. package/dist/database/drizzle.js +11 -11
  258. package/dist/database/migration.gen.js +40 -40
  259. package/dist/database/migration.js +42 -42
  260. package/dist/database/v1-migration.bun.js +9 -9
  261. package/dist/effect/app-node-builder.js +228 -228
  262. package/dist/effect/keyed-mutex.js +3 -3
  263. package/dist/environment/environment.js +70 -70
  264. package/dist/environment/index.js +70 -70
  265. package/dist/event-logger.js +10 -10
  266. package/dist/file-access.js +79 -79
  267. package/dist/file-mutation.js +71 -71
  268. package/dist/filesystem/location-watcher-policy.js +5 -5
  269. package/dist/filesystem/location-watcher.js +181 -181
  270. package/dist/filesystem/protected.js +3 -3
  271. package/dist/filesystem/search.js +79 -79
  272. package/dist/filesystem/watcher.js +11 -11
  273. package/dist/filesystem.js +82 -82
  274. package/dist/form.js +68 -68
  275. package/dist/formatter/builtins.js +3 -3
  276. package/dist/formatter.js +66 -66
  277. package/dist/generate.js +80 -80
  278. package/dist/git.js +2 -2
  279. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
  280. package/dist/github-copilot/copilot-provider.js +3 -3
  281. package/dist/github-copilot/models.js +78 -78
  282. package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
  283. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
  284. package/dist/image/photon.js +1 -1
  285. package/dist/image.js +5 -5
  286. package/dist/instance/service.js +5 -5
  287. package/dist/instance.js +308 -308
  288. package/dist/instruction-discovery.js +69 -69
  289. package/dist/instructions/builtins.js +69 -69
  290. package/dist/instructions/index.js +3 -3
  291. package/dist/integration/connection.js +3 -3
  292. package/dist/integration.js +74 -74
  293. package/dist/job.js +66 -66
  294. package/dist/kv.js +62 -62
  295. package/dist/location-activity.js +52 -52
  296. package/dist/location-lifecycle.js +84 -84
  297. package/dist/location-service-map.js +68 -68
  298. package/dist/location-services.js +305 -305
  299. package/dist/location.js +63 -63
  300. package/dist/managed-policy.js +5 -5
  301. package/dist/mcp/client.js +25 -18
  302. package/dist/mcp/index.js +82 -82
  303. package/dist/mcp/instructions.js +102 -102
  304. package/dist/mcp/oauth.js +14 -14
  305. package/dist/mcp/stdio.js +67 -67
  306. package/dist/modal/models.js +78 -78
  307. package/dist/model-resolver.js +77 -77
  308. package/dist/model.js +79 -79
  309. package/dist/models-dev.js +85 -85
  310. package/dist/permission/saved.js +66 -66
  311. package/dist/permission.js +86 -86
  312. package/dist/persistent-pty/index.js +75 -75
  313. package/dist/persistent-pty.js +61 -61
  314. package/dist/plugin/agent.js +63 -63
  315. package/dist/plugin/command.js +77 -77
  316. package/dist/plugin/hooks.js +5 -5
  317. package/dist/plugin/host.js +172 -172
  318. package/dist/plugin/identity.js +3 -3
  319. package/dist/plugin/instance.js +5 -5
  320. package/dist/plugin/internal.js +281 -281
  321. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  322. package/dist/plugin/models-dev.js +74 -74
  323. package/dist/plugin/module.js +88 -88
  324. package/dist/plugin/optimize.js +3 -3
  325. package/dist/plugin/plan.js +79 -79
  326. package/dist/plugin/provider/amazon-bedrock.js +69 -69
  327. package/dist/plugin/provider/azure.js +89 -89
  328. package/dist/plugin/provider/chatgpt.js +87 -87
  329. package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
  330. package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
  331. package/dist/plugin/provider/configured.js +85 -85
  332. package/dist/plugin/provider/digitalocean.js +71 -71
  333. package/dist/plugin/provider/github-copilot.js +73 -73
  334. package/dist/plugin/provider/gitlab.js +71 -71
  335. package/dist/plugin/provider/google-vertex.js +86 -86
  336. package/dist/plugin/provider/llmgateway.js +65 -65
  337. package/dist/plugin/provider/lmstudio.js +96 -96
  338. package/dist/plugin/provider/local.js +93 -93
  339. package/dist/plugin/provider/modal.js +71 -71
  340. package/dist/plugin/provider/ollama.js +94 -94
  341. package/dist/plugin/provider/openai.js +89 -89
  342. package/dist/plugin/provider/opencode.js +74 -74
  343. package/dist/plugin/provider/openrouter.js +70 -70
  344. package/dist/plugin/provider/poe.js +65 -65
  345. package/dist/plugin/provider/sap-ai-core.js +69 -69
  346. package/dist/plugin/provider/snowflake-cortex.js +87 -87
  347. package/dist/plugin/provider/vercel.js +69 -69
  348. package/dist/plugin/provider/vllm.js +96 -96
  349. package/dist/plugin/provider/xai.js +70 -70
  350. package/dist/plugin/provider.js +130 -130
  351. package/dist/plugin/sdk.js +66 -66
  352. package/dist/plugin/service.js +3 -3
  353. package/dist/plugin/skill.js +103 -103
  354. package/dist/plugin/supervisor.js +299 -299
  355. package/dist/plugin/tool-input-repair.js +3 -3
  356. package/dist/plugin/update.js +6 -6
  357. package/dist/plugin/vcs/git.js +67 -67
  358. package/dist/plugin/vcs/hg.js +67 -67
  359. package/dist/plugin/verbosity.js +72 -72
  360. package/dist/plugin/warming.js +87 -87
  361. package/dist/plugin/websearch/exa.js +6 -6
  362. package/dist/plugin/websearch/firecrawl.js +7 -7
  363. package/dist/plugin/websearch/index.js +8 -8
  364. package/dist/plugin/websearch/mcp.js +3 -3
  365. package/dist/plugin/websearch/parallel.js +7 -7
  366. package/dist/plugin/websearch/tavily.js +6 -6
  367. package/dist/plugin/websearch/tinyfish.js +7 -7
  368. package/dist/plugin.js +185 -185
  369. package/dist/project.js +62 -62
  370. package/dist/provider.js +78 -78
  371. package/dist/pty.js +79 -79
  372. package/dist/reference/instructions.js +72 -72
  373. package/dist/reference.js +74 -74
  374. package/dist/repository-cache.js +63 -63
  375. package/dist/ripgrep.js +73 -73
  376. package/dist/rpc.js +68 -68
  377. package/dist/session/command.js +63 -63
  378. package/dist/session/compaction.js +107 -107
  379. package/dist/session/context.js +123 -123
  380. package/dist/session/diff.js +67 -67
  381. package/dist/session/environment.js +5 -5
  382. package/dist/session/error.js +2 -2
  383. package/dist/session/execution/restart.js +103 -103
  384. package/dist/session/execution.js +98 -98
  385. package/dist/session/generate.js +124 -124
  386. package/dist/session/history.js +6 -6
  387. package/dist/session/inbox.js +68 -68
  388. package/dist/session/info.js +2 -2
  389. package/dist/session/instruction-entry.js +63 -63
  390. package/dist/session/instruction-state.js +2 -2
  391. package/dist/session/instructions.js +76 -76
  392. package/dist/session/model-request.js +96 -96
  393. package/dist/session/model-transport.js +7 -7
  394. package/dist/session/move.js +100 -100
  395. package/dist/session/projector.js +68 -68
  396. package/dist/session/prompt.js +82 -82
  397. package/dist/session/provider-context.js +3 -3
  398. package/dist/session/revert.js +68 -68
  399. package/dist/session/runner/index.js +3 -3
  400. package/dist/session/runner/llm.js +182 -182
  401. package/dist/session/runner/model.js +73 -73
  402. package/dist/session/runner/publish-llm-event.js +87 -87
  403. package/dist/session/runner/step.js +98 -98
  404. package/dist/session/runner/to-llm-message.js +2 -2
  405. package/dist/session/schema.js +5 -5
  406. package/dist/session/session.js +130 -130
  407. package/dist/session/shell.js +100 -100
  408. package/dist/session/skill.js +80 -80
  409. package/dist/session/stats.js +8 -8
  410. package/dist/session/store.js +69 -69
  411. package/dist/session/subagent-job.js +166 -166
  412. package/dist/session/title.js +126 -126
  413. package/dist/session/to-session-error.js +86 -86
  414. package/dist/session/transfer.js +97 -97
  415. package/dist/session.js +171 -171
  416. package/dist/shell/parse.js +2 -2
  417. package/dist/shell/select.js +11 -11
  418. package/dist/shell.js +103 -103
  419. package/dist/skill/discovery.js +5 -5
  420. package/dist/skill/instructions.js +84 -84
  421. package/dist/skill.js +89 -89
  422. package/dist/snapshot.js +68 -68
  423. package/dist/tool/mcp.js +101 -101
  424. package/dist/tool/plugin/edit.js +86 -86
  425. package/dist/tool/plugin/glob.js +95 -95
  426. package/dist/tool/plugin/grep.js +97 -97
  427. package/dist/tool/plugin/mcp-resource.js +90 -90
  428. package/dist/tool/plugin/opencode.js +84 -84
  429. package/dist/tool/plugin/patch.js +94 -94
  430. package/dist/tool/plugin/question.js +82 -82
  431. package/dist/tool/plugin/read.js +98 -98
  432. package/dist/tool/plugin/shell.js +172 -172
  433. package/dist/tool/plugin/skill.js +88 -88
  434. package/dist/tool/plugin/subagent.js +173 -173
  435. package/dist/tool/plugin/webfetch.js +87 -87
  436. package/dist/tool/plugin/websearch.js +90 -90
  437. package/dist/tool/plugin/write.js +94 -94
  438. package/dist/tool/read-filesystem.js +76 -76
  439. package/dist/tool-output.js +5 -5
  440. package/dist/tool.js +11 -11
  441. package/dist/v1/config/agent.js +3 -3
  442. package/dist/v1/config/mcp.js +3 -3
  443. package/dist/v1/config/migrate.js +70 -70
  444. package/dist/v1/config/plugin.js +3 -3
  445. package/dist/v1/config/provider.js +3 -3
  446. package/dist/variant.js +70 -70
  447. package/dist/vcs.js +70 -70
  448. package/dist/websearch.js +72 -72
  449. package/dist/wellknown/plugin.js +65 -65
  450. package/dist/wellknown.js +70 -70
  451. package/dist/workspace/driver.js +3 -3
  452. package/dist/workspace.js +70 -70
  453. package/dist/worktree/git.js +3 -3
  454. package/dist/worktree/strategies.js +69 -69
  455. package/dist/worktree.js +75 -75
  456. package/package.json +8 -8
  457. package/dist/chunks/location-service-map-1g906he0.js +0 -26
  458. package/dist/chunks/location-service-map-asevcyq5.js +0 -253
  459. package/dist/chunks/location-service-map-v2exr8cw.js +0 -513
  460. /package/dist/chunks/{location-service-map-t4jzmwkk.js → location-service-map-3z39tkdq.js} +0 -0
  461. /package/dist/chunks/{location-service-map-s6a94ykt.js → location-service-map-44asg7d3.js} +0 -0
  462. /package/dist/chunks/{location-service-map-btec747f.js → location-service-map-b7v4cx43.js} +0 -0
  463. /package/dist/chunks/{location-service-map-jxr5ks98.js → location-service-map-pd14fbdd.js} +0 -0
@@ -1,25 +1,25 @@
1
1
  import {
2
- ID12,
2
+ ID13,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./location-service-map-k4xdy46r.js";
5
+ } from "./location-service-map-80m1sdbk.js";
6
6
  import {
7
- ID11,
7
+ ID12,
8
8
  VariantID2,
9
9
  Family2,
10
- Info20
11
- } from "./location-service-map-v2fstvx9.js";
10
+ Info21
11
+ } from "./location-service-map-rdb1svpf.js";
12
12
  import {
13
13
  __export
14
14
  } from "./location-service-map-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
- var exports_models = {};
18
- __export(exports_models, {
19
- CopilotModels: () => exports_models,
20
- derive: () => derive2,
21
- get: () => get2,
22
- load: () => load2
17
+ var exports_models2 = {};
18
+ __export(exports_models2, {
19
+ CopilotModels: () => exports_models2,
20
+ derive: () => derive3,
21
+ get: () => get3,
22
+ load: () => load3
23
23
  });
24
24
  import { Money } from "@opencode/schema/money";
25
25
  import { Option, Schema } from "effect";
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
68
68
  var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
69
69
  var decodeResponse = Schema.decodeUnknownSync(Response);
70
70
  var decodeModel = Schema.decodeUnknownOption(RemoteModel);
71
- async function get2(baseURL, headers, existing) {
72
- return derive2(baseURL, await load2(baseURL, headers), existing);
71
+ async function get3(baseURL, headers, existing) {
72
+ return derive3(baseURL, await load3(baseURL, headers), existing);
73
73
  }
74
- async function load2(baseURL, headers) {
74
+ async function load3(baseURL, headers) {
75
75
  const response = await fetch(`${baseURL}/models`, {
76
76
  headers,
77
77
  signal: AbortSignal.timeout(5000)
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
83
83
  return model && usable(model) ? [[model.id, model]] : [];
84
84
  }));
85
85
  }
86
- function derive2(baseURL, remote, existing) {
86
+ function derive3(baseURL, remote, existing) {
87
87
  const result = new Map(existing.map((model) => [model.id, model]));
88
88
  for (const [id, model] of result) {
89
89
  const current = remote.get(model.modelID);
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
94
94
  result.set(id, build(id, current, baseURL, model));
95
95
  }
96
96
  for (const [id, model] of remote) {
97
- const key = ID11.make(id);
97
+ const key = ID12.make(id);
98
98
  if (result.has(key))
99
99
  continue;
100
100
  result.set(key, build(key, model, baseURL));
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
118
118
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
119
119
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
120
120
  const released = previous?.time.released || Date.parse(version);
121
- return Info20.make({
122
- ...Info20.default(ID12.githubCopilot, id),
121
+ return Info21.make({
122
+ ...Info21.default(ID13.githubCopilot, id),
123
123
  id,
124
- modelID: ID11.make(remote.id),
125
- providerID: ID12.githubCopilot,
124
+ modelID: ID12.make(remote.id),
125
+ providerID: ID13.githubCopilot,
126
126
  family: previous?.family ?? Family2.make(remote.capabilities.family),
127
127
  name: previous?.name ?? remote.name,
128
128
  package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
@@ -197,4 +197,4 @@ function variants(remote, messages) {
197
197
  ];
198
198
  }
199
199
 
200
- export { get2, load2, derive2, exports_models };
200
+ export { get3, load3, derive3, exports_models2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-service-map-bm095xha.js";
4
+ } from "./location-service-map-hse9bmtq.js";
5
5
  import {
6
6
  KVTable2
7
7
  } from "./location-service-map-3hepkmqq.js";
@@ -13,17 +13,17 @@ import {
13
13
  var exports_kv = {};
14
14
  __export(exports_kv, {
15
15
  KV: () => exports_kv,
16
- Service: () => Service69,
17
- node: () => node72
16
+ Service: () => Service71,
17
+ node: () => node74
18
18
  });
19
19
  import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
20
20
  import { Context, Effect, Layer } from "effect";
21
21
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
22
- class Service69 extends Context.Service()("@opencode/KV") {
22
+ class Service71 extends Context.Service()("@opencode/KV") {
23
23
  }
24
- var layer = Layer.effect(Service69, Effect.gen(function* () {
24
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
25
25
  const db = (yield* Service85).db;
26
- return Service69.of({
26
+ return Service71.of({
27
27
  get: Effect.fn("KV.get")(function* (key) {
28
28
  return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
29
29
  }),
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
51
51
  return;
52
52
  return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
53
53
  }
54
- var node72 = makeGlobalNode({ service: Service69, layer, deps: [node89] });
54
+ var node74 = makeGlobalNode({ service: Service71, layer, deps: [node89] });
55
55
 
56
- export { Service69, node72, exports_kv };
56
+ export { Service71, node74, exports_kv };
@@ -3,13 +3,13 @@ import {
3
3
  } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  Service81
6
- } from "./location-service-map-0fzbfnq7.js";
6
+ } from "./location-service-map-8z12w5mn.js";
7
7
  import {
8
- Service16
9
- } from "./location-service-map-5pyvwtgy.js";
8
+ Service17
9
+ } from "./location-service-map-3sw2dssw.js";
10
10
  import {
11
- Service12
12
- } from "./location-service-map-ttbvdjdw.js";
11
+ Service6
12
+ } from "./location-service-map-hbhk3w7g.js";
13
13
  import {
14
14
  NotFound3
15
15
  } from "./location-service-map-hgz4x7wa.js";
@@ -23,8 +23,8 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service9
27
- } from "./location-service-map-rht436q7.js";
26
+ Service7
27
+ } from "./location-service-map-z5s28eht.js";
28
28
  import {
29
29
  __export
30
30
  } from "./location-service-map-9rqn6x4v.js";
@@ -32,17 +32,17 @@ import {
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input8,
36
- Plugin: () => Plugin44,
35
+ Input: () => Input11,
36
+ Plugin: () => Plugin13,
37
37
  ReadTool: () => exports_read,
38
- name: () => name8,
39
- toModelContent: () => toModelContent3
38
+ name: () => name11,
39
+ toModelContent: () => toModelContent6
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name8 = "read";
45
+ var name11 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
54
54
  })
55
55
  });
56
- var Input8 = LocationInput;
56
+ var Input11 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin44 = {
58
+ var Plugin13 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service9;
62
- const access = yield* Service16;
63
- const sessionInstructions = yield* Service12;
61
+ const reader = yield* Service7;
62
+ const access = yield* Service17;
63
+ const sessionInstructions = yield* Service6;
64
64
  const fs = yield* FSUtil.Service;
65
65
  const location = yield* Service81;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name8,
67
+ name: name11,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input8,
70
+ input: Input11,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -113,7 +113,7 @@ var Plugin44 = {
113
113
  return { output: result.content, path: result.path };
114
114
  }).pipe(Effect.map((result) => ({
115
115
  output: result.output,
116
- content: toModelContent3(result.path, input.offset, result.output),
116
+ content: toModelContent6(result.path, input.offset, result.output),
117
117
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
118
118
  })), Effect.mapError((error) => {
119
119
  if (error instanceof ToolFailure)
@@ -146,7 +146,7 @@ ${suggestions.join(`
146
146
  });
147
147
  })
148
148
  };
149
- var toModelContent3 = (path, offset, output) => {
149
+ var toModelContent6 = (path, offset, output) => {
150
150
  if (output.type === "file" && output.encoding === "base64")
151
151
  return [
152
152
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -182,4 +182,4 @@ var toModelContent3 = (path, offset, output) => {
182
182
  `);
183
183
  };
184
184
 
185
- export { name8, Input8, Plugin44, toModelContent3, exports_read };
185
+ export { name11, Input11, Plugin13, toModelContent6, exports_read };
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  Service85
3
- } from "./location-service-map-bm095xha.js";
3
+ } from "./location-service-map-hse9bmtq.js";
4
4
  import {
5
5
  Service84
6
- } from "./location-service-map-t7n4d1yf.js";
6
+ } from "./location-service-map-s2t00s75.js";
7
7
  import {
8
- Service44
9
- } from "./location-service-map-51f5btjf.js";
8
+ Service45
9
+ } from "./location-service-map-mx9vqzsb.js";
10
10
  import {
11
11
  userNotification2
12
12
  } from "./location-service-map-vzs5sf6e.js";
@@ -20,35 +20,35 @@ import {
20
20
  CompactionConflictError2,
21
21
  BusyError2,
22
22
  InboxConflictError2
23
- } from "./location-service-map-96kn8jjj.js";
23
+ } from "./location-service-map-ry082wg0.js";
24
24
  import {
25
25
  SessionEvent2
26
26
  } from "./location-service-map-ec1grn59.js";
27
27
  import {
28
- Service57
29
- } from "./location-service-map-mpw5hxye.js";
28
+ Service50
29
+ } from "./location-service-map-qn90mm7z.js";
30
30
  import {
31
31
  Delivery2,
32
32
  SyntheticPayload2,
33
- Service43
34
- } from "./location-service-map-r3yrqnb5.js";
33
+ Service44
34
+ } from "./location-service-map-txqtqxhq.js";
35
35
  import {
36
- Service41
37
- } from "./location-service-map-pjykpq9n.js";
36
+ Service42
37
+ } from "./location-service-map-pp7c1v3z.js";
38
38
  import {
39
39
  prepare2
40
- } from "./location-service-map-285qnyny.js";
40
+ } from "./location-service-map-kxqng4z4.js";
41
41
  import {
42
42
  stage2,
43
43
  clear2,
44
44
  commit2
45
- } from "./location-service-map-bhhmebad.js";
45
+ } from "./location-service-map-h796dgtk.js";
46
46
  import {
47
47
  start2
48
- } from "./location-service-map-9tr2qfdk.js";
48
+ } from "./location-service-map-zcf38hqe.js";
49
49
  import {
50
50
  get4
51
- } from "./location-service-map-q85n4xbh.js";
51
+ } from "./location-service-map-r80kwpvr.js";
52
52
  import {
53
53
  __export
54
54
  } from "./location-service-map-9rqn6x4v.js";
@@ -57,18 +57,18 @@ import {
57
57
  var exports_session2 = {};
58
58
  __export(exports_session2, {
59
59
  Session: () => exports_session2,
60
- make: () => make14
60
+ make: () => make13
61
61
  });
62
62
  import { DateTime, Effect, Fiber, Scope } from "effect";
63
63
  import { Event } from "@opencode/schema/event";
64
64
  import { FSUtil } from "@opencode/util/fs-util";
65
- var make14 = Effect.fn("Session.make")(function* () {
65
+ var make13 = Effect.fn("Session.make")(function* () {
66
66
  const bus = yield* Service84;
67
67
  const database = yield* Service85;
68
- const store = yield* Service57;
69
- const instances = yield* Service44;
70
- const execution = yield* Service41;
71
- const admission = yield* Service43;
68
+ const store = yield* Service50;
69
+ const instances = yield* Service45;
70
+ const execution = yield* Service42;
71
+ const admission = yield* Service44;
72
72
  const fs = yield* FSUtil.Service;
73
73
  const scope = yield* Scope.Scope;
74
74
  const get = Effect.fn("Session.get")(function* (sessionID) {
@@ -135,7 +135,7 @@ var make14 = Effect.fn("Session.make")(function* () {
135
135
  });
136
136
  if (existing)
137
137
  return existing;
138
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service44, instances), Effect.provideService(FSUtil.Service, fs)));
138
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
139
139
  if (session.revert)
140
140
  yield* commit2(bus, session);
141
141
  return yield* admission.admit({
@@ -151,7 +151,7 @@ var make14 = Effect.fn("Session.make")(function* () {
151
151
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
152
152
  const session = yield* get(sessionID);
153
153
  const running = yield* Effect.gen(function* () {
154
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service44, instances), Effect.tapError((error) => synthetic(sessionID, {
154
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
155
155
  text: `User shell command failed to start:
156
156
  ${input.command}
157
157
 
@@ -180,7 +180,7 @@ ${error.message}`,
180
180
  });
181
181
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
182
182
  const session = yield* get(sessionID);
183
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service44, instances));
183
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
184
184
  yield* bus.publish(SessionEvent2.Skill.Activated, {
185
185
  sessionID,
186
186
  id: skill.id,
@@ -237,13 +237,13 @@ ${error.message}`,
237
237
  const session = yield* get(sessionID);
238
238
  if (yield* execution.isActive(sessionID))
239
239
  return yield* new BusyError2({ sessionID });
240
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
240
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service85, database), Effect.provideService(Service84, bus));
241
241
  });
242
242
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
243
243
  const session = yield* get(sessionID);
244
244
  if (yield* execution.isActive(sessionID))
245
245
  return yield* new BusyError2({ sessionID });
246
- yield* clear2(session).pipe(Effect.provideService(Service44, instances), Effect.provideService(Service84, bus));
246
+ yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service84, bus));
247
247
  return yield* execution.wake(sessionID);
248
248
  });
249
249
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -329,4 +329,4 @@ ${error.message}`,
329
329
  return { forSession };
330
330
  });
331
331
 
332
- export { make14, exports_session2 };
332
+ export { make13, exports_session2 };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./location-service-map-t7n4d1yf.js";
4
+ } from "./location-service-map-s2t00s75.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./location-service-map-0fzbfnq7.js";
8
+ } from "./location-service-map-8z12w5mn.js";
9
9
  import {
10
- Service65,
10
+ Service75,
11
11
  login2,
12
- node68
13
- } from "./location-service-map-qvcr5dcn.js";
12
+ node79
13
+ } from "./location-service-map-ra8aazcz.js";
14
14
  import {
15
15
  lazy2
16
16
  } from "./location-service-map-88xbtdfr.js";
@@ -21,45 +21,45 @@ import {
21
21
  // src/pty.ts
22
22
  var exports_pty = {};
23
23
  __export(exports_pty, {
24
- CreateInput: () => CreateInput3,
25
- Event: () => Event12,
24
+ CreateInput: () => CreateInput2,
25
+ Event: () => Event4,
26
26
  ExitedError: () => ExitedError2,
27
- ID: () => ID10,
28
- Info: () => Info14,
29
- NotFoundError: () => NotFoundError8,
27
+ ID: () => ID2,
28
+ Info: () => Info2,
29
+ NotFoundError: () => NotFoundError3,
30
30
  Pty: () => exports_pty,
31
- Service: () => Service64,
31
+ Service: () => Service23,
32
32
  UpdateInput: () => UpdateInput2,
33
- node: () => node67
33
+ node: () => node25
34
34
  });
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  import { Context, Effect, Layer, Schema } from "effect";
37
37
  import { Pty } from "@opencode/schema/pty";
38
- import { Event as Event12 } from "@opencode/schema/pty";
38
+ import { Event as Event4 } from "@opencode/schema/pty";
39
39
  var BUFFER_LIMIT = 1024 * 1024 * 2;
40
40
  var EXITED_LIMIT = 25;
41
41
  var pty = lazy2(() => import("#pty"));
42
- var ID10 = Pty.ID;
43
- var Info14 = Pty.Info;
44
- var CreateInput3 = Pty.CreateInput;
42
+ var ID2 = Pty.ID;
43
+ var Info2 = Pty.Info;
44
+ var CreateInput2 = Pty.CreateInput;
45
45
  var UpdateInput2 = Pty.UpdateInput;
46
46
 
47
- class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
48
- ptyID: ID10
47
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
48
+ ptyID: ID2
49
49
  }) {
50
50
  }
51
51
 
52
52
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
53
- ptyID: ID10
53
+ ptyID: ID2
54
54
  }) {
55
55
  }
56
56
 
57
- class Service64 extends Context.Service()("@opencode/Pty") {
57
+ class Service23 extends Context.Service()("@opencode/Pty") {
58
58
  }
59
- var layer = Layer.effect(Service64, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service23, Effect.gen(function* () {
60
60
  const bus = yield* Service84;
61
61
  const location = yield* Service81;
62
- const shell = yield* Service65;
62
+ const shell = yield* Service75;
63
63
  const context = yield* Effect.context();
64
64
  const runFork = Effect.runForkWith(context);
65
65
  const sessions = new Map;
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
96
96
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
97
97
  const session = sessions.get(id);
98
98
  if (!session)
99
- return yield* new NotFoundError8({ ptyID: id });
99
+ return yield* new NotFoundError3({ ptyID: id });
100
100
  return session;
101
101
  });
102
102
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
122
122
  return (yield* requireSession(id)).info;
123
123
  });
124
124
  const create = Effect.fn("Pty.create")(function* (input) {
125
- const id = ID10.ascending();
125
+ const id = ID2.ascending();
126
126
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
127
127
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
128
128
  const cwd = input.cwd || location.directory;
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
267
267
  }
268
268
  };
269
269
  });
270
- return Service64.of({ list, get, create, update, remove, write, attach });
270
+ return Service23.of({ list, get, create, update, remove, write, attach });
271
271
  }));
272
- var node67 = makeLocationNode({
273
- service: Service64,
272
+ var node25 = makeLocationNode({
273
+ service: Service23,
274
274
  layer,
275
- deps: [node88, node85, node68]
275
+ deps: [node88, node85, node79]
276
276
  });
277
277
 
278
- export { ID10, Info14, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service64, node67, exports_pty, Event12 };
278
+ export { ID2, Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service23, node25, exports_pty, Event4 };
@@ -5,7 +5,7 @@ import {
5
5
  renderInitial2,
6
6
  renderUpdate2,
7
7
  applyHashDelta2
8
- } from "./location-service-map-t550f9t1.js";
8
+ } from "./location-service-map-0gdmqesm.js";
9
9
  import {
10
10
  SessionEvent2
11
11
  } from "./location-service-map-ec1grn59.js";
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  useragent2
3
- } from "./location-service-map-j5chjq9f.js";
3
+ } from "./location-service-map-agg557zn.js";
4
4
  import {
5
5
  Service84
6
- } from "./location-service-map-t7n4d1yf.js";
6
+ } from "./location-service-map-s2t00s75.js";
7
7
  import {
8
8
  OAuth3,
9
- Event18
10
- } from "./location-service-map-yjqnk9hn.js";
9
+ Event20
10
+ } from "./location-service-map-3p5gpzs5.js";
11
11
  import {
12
- ID13,
12
+ ID14,
13
13
  MethodID2
14
- } from "./location-service-map-bjkg2ks4.js";
14
+ } from "./location-service-map-dbd4bcxh.js";
15
15
  import {
16
16
  success2,
17
17
  error2
18
18
  } from "./location-service-map-pjvnvgmy.js";
19
19
  import {
20
- ID12,
20
+ ID13,
21
21
  mergeOverlay2,
22
22
  mergeHeaders2
23
- } from "./location-service-map-k4xdy46r.js";
23
+ } from "./location-service-map-80m1sdbk.js";
24
24
  import {
25
25
  get5
26
26
  } from "./location-service-map-54ma36ye.js";
27
27
  import {
28
28
  configuredSettings2
29
- } from "./location-service-map-kcdapykd.js";
29
+ } from "./location-service-map-c67afrq3.js";
30
30
 
31
31
  // src/plugin/provider/openai.ts
32
32
  import { define } from "@opencode/plugin/effect/plugin";
@@ -50,7 +50,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
50
50
  }));
51
51
  var decodeClaims = Schema.decodeUnknownOption(Claims);
52
52
  var browser = (app) => ({
53
- integrationID: ID13.make("openai"),
53
+ integrationID: ID14.make("openai"),
54
54
  method: {
55
55
  id: browserMethodID,
56
56
  type: "oauth",
@@ -123,7 +123,7 @@ function addressInUse(error) {
123
123
  return "code" in error && error.code === "EADDRINUSE";
124
124
  }
125
125
  var headless = (app) => ({
126
- integrationID: ID13.make("openai"),
126
+ integrationID: ID14.make("openai"),
127
127
  method: {
128
128
  id: headlessMethodID,
129
129
  type: "oauth",
@@ -165,7 +165,7 @@ var headless = (app) => ({
165
165
  }),
166
166
  refresh: (value) => refresh(headlessMethodID, value, app)
167
167
  });
168
- var OpenAIPlugin3 = define({
168
+ var OpenAIPlugin2 = define({
169
169
  id: "opencode.provider.openai",
170
170
  effect: Effect.fn(function* (ctx) {
171
171
  const bus = yield* Service84;
@@ -183,9 +183,9 @@ var OpenAIPlugin3 = define({
183
183
  editor.method.update(headless(ctx.app));
184
184
  });
185
185
  yield* load();
186
- const configured = yield* configuredSettings2(ID12.openai);
186
+ const configured = yield* configuredSettings2(ID13.openai);
187
187
  yield* ctx.provider.transform((providers) => {
188
- const item = providers.get(ID12.openai);
188
+ const item = providers.get(ID13.openai);
189
189
  if (!item)
190
190
  return;
191
191
  const account = chatgpt?.metadata?.accountID;
@@ -205,7 +205,7 @@ var OpenAIPlugin3 = define({
205
205
  });
206
206
  });
207
207
  yield* ctx.model.transform((models) => {
208
- for (const model of models.list(ID12.openai)) {
208
+ for (const model of models.list(ID13.openai)) {
209
209
  models.update(model.providerID, model.id, (draft) => {
210
210
  if (!chatgpt)
211
211
  return;
@@ -236,14 +236,14 @@ var OpenAIPlugin3 = define({
236
236
  }));
237
237
  evt.headers.originator = "opencode";
238
238
  evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
239
- }), { providerID: ID12.openai });
239
+ }), { providerID: ID13.openai });
240
240
  const omitOutputLimit = (evt) => Effect.sync(() => {
241
241
  delete evt.options.maxTokens;
242
242
  });
243
243
  for (const name of ["context", "compaction"])
244
- yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID12.openai });
244
+ yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID13.openai });
245
245
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
246
- yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
246
+ yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
247
247
  })
248
248
  });
249
249
  function headers(contentType, app) {
@@ -334,4 +334,4 @@ function claim(token) {
334
334
  return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
335
335
  }
336
336
 
337
- export { OpenAIPlugin3 };
337
+ export { OpenAIPlugin2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  latest2,
3
- Service66
4
- } from "./location-service-map-c7s5xd0e.js";
3
+ Service68
4
+ } from "./location-service-map-z1zdzsfj.js";
5
5
  import {
6
- Service62
7
- } from "./location-service-map-eb5nwvjj.js";
6
+ Service53
7
+ } from "./location-service-map-gybmckzj.js";
8
8
  import {
9
9
  observe2
10
10
  } from "./location-service-map-qsdy395h.js";
@@ -16,15 +16,15 @@ import {
16
16
  var exports_snapshot = {};
17
17
  __export(exports_snapshot, {
18
18
  ConfigSnapshotPlugin: () => exports_snapshot,
19
- Plugin: () => Plugin35
19
+ Plugin: () => Plugin47
20
20
  });
21
21
  import { define } from "@opencode/plugin/effect/plugin";
22
22
  import { Effect } from "effect";
23
- var Plugin35 = define({
23
+ var Plugin47 = define({
24
24
  id: "opencode.config.snapshot",
25
25
  effect: Effect.fn(function* (ctx) {
26
- const config = yield* Service66;
27
- const snapshot = yield* Service62;
26
+ const config = yield* Service68;
27
+ const snapshot = yield* Service53;
28
28
  const loaded = yield* observe2(config, ctx.event, snapshot.reload());
29
29
  yield* snapshot.transform((editor) => {
30
30
  const configured = latest2(loaded.entries, "snapshots");
@@ -35,4 +35,4 @@ var Plugin35 = define({
35
35
  })
36
36
  });
37
37
 
38
- export { Plugin35, exports_snapshot };
38
+ export { Plugin47, exports_snapshot };