@opencode/core 0.0.0-dev-21325 → 0.0.0-dev-21327

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 (796) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +85 -85
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{workspace-c4vz8ygb.js → location-services-05vrbjpd.js} +14 -14
  8. package/dist/chunks/{workspace-6r4011t4.js → location-services-0bckxdhn.js} +13 -13
  9. package/dist/chunks/{workspace-8k9sf03v.js → location-services-0fzv5sa6.js} +17 -17
  10. package/dist/chunks/{workspace-m3zz1pbm.js → location-services-0hkrfhh8.js} +47 -47
  11. package/dist/chunks/{workspace-0vbcp93d.js → location-services-0vbcp93d.js} +2 -2
  12. package/dist/chunks/{workspace-bfv9bv9k.js → location-services-120canqn.js} +6 -6
  13. package/dist/chunks/{workspace-vvvbxd1g.js → location-services-1468jth2.js} +15 -15
  14. package/dist/chunks/{workspace-kby4jqsa.js → location-services-14v2mpx3.js} +90 -90
  15. package/dist/chunks/{workspace-z0efhj86.js → location-services-19fcc8g5.js} +8 -8
  16. package/dist/chunks/{workspace-3a2jzke2.js → location-services-1cz5vd6m.js} +11 -11
  17. package/dist/chunks/{workspace-tjqn214s.js → location-services-1k7heb6s.js} +15 -15
  18. package/dist/chunks/{workspace-7nmzr4tw.js → location-services-1n3g3nm2.js} +16 -16
  19. package/dist/chunks/{workspace-p9bsq7m2.js → location-services-1p295dse.js} +19 -19
  20. package/dist/chunks/{workspace-p99p8xsn.js → location-services-1t7yake1.js} +16 -16
  21. package/dist/chunks/{workspace-khwgh4fa.js → location-services-1tfkkk8z.js} +13 -13
  22. package/dist/chunks/{workspace-7125243h.js → location-services-236vqjbe.js} +27 -27
  23. package/dist/chunks/{workspace-ba3ye61h.js → location-services-24ndf32s.js} +30 -30
  24. package/dist/chunks/{workspace-mh62zmc2.js → location-services-2hj7dgpm.js} +12 -12
  25. package/dist/chunks/{workspace-gjg41fb3.js → location-services-2kw39ck7.js} +5 -5
  26. package/dist/chunks/{workspace-weqr8f9h.js → location-services-2n4bcx2n.js} +20 -20
  27. package/dist/chunks/{workspace-836dar0r.js → location-services-2yz3skkc.js} +14 -14
  28. package/dist/chunks/{workspace-395q6j9z.js → location-services-395q6j9z.js} +3 -3
  29. package/dist/chunks/location-services-3dn3j60f.js +26 -0
  30. package/dist/chunks/{workspace-3hepkmqq.js → location-services-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{workspace-3hwn7j4h.js → location-services-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/{workspace-0cg871e2.js → location-services-3n40wvxh.js} +5 -5
  33. package/dist/chunks/{workspace-xahh758q.js → location-services-3p1jsd9a.js} +84 -84
  34. package/dist/chunks/{workspace-3smtnn6g.js → location-services-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{workspace-3tvqynh2.js → location-services-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{workspace-3zsf4n22.js → location-services-3zsf4n22.js} +1 -1
  37. package/dist/chunks/{workspace-8mc96dk8.js → location-services-3zvermw0.js} +7 -7
  38. package/dist/chunks/{workspace-85b50y94.js → location-services-407dbw0p.js} +3 -3
  39. package/dist/chunks/{workspace-724pece3.js → location-services-47z6rga7.js} +22 -22
  40. package/dist/chunks/{workspace-n663b2j1.js → location-services-4a24ra19.js} +8 -8
  41. package/dist/chunks/{workspace-0ce32fr4.js → location-services-4ap7vkm6.js} +41 -41
  42. package/dist/chunks/{workspace-z733aene.js → location-services-4c2df9zx.js} +8 -8
  43. package/dist/chunks/{workspace-5etnctqg.js → location-services-4h2zqxk4.js} +8 -8
  44. package/dist/chunks/{workspace-sc4cwva4.js → location-services-4xc83dq9.js} +5 -5
  45. package/dist/chunks/{workspace-0axw4cdg.js → location-services-4zdtnvnf.js} +10 -10
  46. package/dist/chunks/{workspace-54ma36ye.js → location-services-54ma36ye.js} +1 -1
  47. package/dist/chunks/{workspace-487xqpbs.js → location-services-5c34nnkn.js} +3 -3
  48. package/dist/chunks/{workspace-129qsmff.js → location-services-5gs82an1.js} +15 -15
  49. package/dist/chunks/{workspace-ez7s6tte.js → location-services-5jb9xrt6.js} +8 -8
  50. package/dist/chunks/{workspace-5m9w47nd.js → location-services-5m9w47nd.js} +1 -1
  51. package/dist/chunks/{workspace-e3qxr5gk.js → location-services-5qd3pb7m.js} +2 -2
  52. package/dist/chunks/location-services-619r8v3y.js +18 -0
  53. package/dist/chunks/{workspace-6827pfxn.js → location-services-6827pfxn.js} +1 -1
  54. package/dist/chunks/{workspace-k189p03s.js → location-services-6a20fkbr.js} +15 -15
  55. package/dist/chunks/{workspace-a2ew8a62.js → location-services-6hh8tjw2.js} +4 -4
  56. package/dist/chunks/{workspace-gd8r8nhp.js → location-services-6kn5fnc5.js} +11 -11
  57. package/dist/chunks/{workspace-sv7642z1.js → location-services-6q04wm97.js} +46 -46
  58. package/dist/chunks/{workspace-y9ajbnt7.js → location-services-6q3b6bjm.js} +28 -28
  59. package/dist/chunks/{workspace-qs9m684n.js → location-services-6whcq1fq.js} +4 -4
  60. package/dist/chunks/{workspace-6xb47vfp.js → location-services-6xb47vfp.js} +1 -1
  61. package/dist/chunks/{workspace-e75nwzcy.js → location-services-715fz9ra.js} +9 -9
  62. package/dist/chunks/{workspace-e7gxy7fd.js → location-services-76p14g35.js} +4 -4
  63. package/dist/chunks/{workspace-775gj3j1.js → location-services-775gj3j1.js} +2 -2
  64. package/dist/chunks/{workspace-epmjqtn9.js → location-services-7b1m0q4z.js} +11 -11
  65. package/dist/chunks/{workspace-7bmhse3q.js → location-services-7bmhse3q.js} +1 -1
  66. package/dist/chunks/{workspace-xvm099w8.js → location-services-7nrbmt0g.js} +18 -18
  67. package/dist/chunks/{workspace-bncanr8s.js → location-services-7rn07pqm.js} +15 -15
  68. package/dist/chunks/{workspace-816wrsdg.js → location-services-7ytf93vt.js} +12 -12
  69. package/dist/chunks/{workspace-84txncab.js → location-services-84txncab.js} +1 -1
  70. package/dist/chunks/{workspace-6yjzvzz7.js → location-services-8m1xb0y2.js} +183 -183
  71. package/dist/chunks/{workspace-8m6m0r52.js → location-services-8m6m0r52.js} +1 -1
  72. package/dist/chunks/{workspace-8mywswrd.js → location-services-8mywswrd.js} +1 -1
  73. package/dist/chunks/{workspace-x1h8xjp6.js → location-services-8rez25b9.js} +1 -1
  74. package/dist/chunks/{workspace-8sze2n9a.js → location-services-8sze2n9a.js} +2 -2
  75. package/dist/chunks/{workspace-kaz9m2wt.js → location-services-8tp1g3x5.js} +19 -19
  76. package/dist/chunks/{workspace-6fdt7xdh.js → location-services-9897cwd1.js} +22 -22
  77. package/dist/chunks/{workspace-2ya4c35z.js → location-services-9da2gmc9.js} +6 -6
  78. package/dist/chunks/{workspace-hdab2k61.js → location-services-9gea571p.js} +6 -6
  79. package/dist/chunks/{workspace-eddee9wq.js → location-services-9gvj1t03.js} +21 -21
  80. package/dist/chunks/{workspace-qne3fa44.js → location-services-9hwaqfsw.js} +5 -5
  81. package/dist/chunks/{workspace-q74m295h.js → location-services-9t3kk5sf.js} +8 -8
  82. package/dist/chunks/{workspace-f7taj08h.js → location-services-9x1189rx.js} +14 -14
  83. package/dist/chunks/{workspace-96bcdxrb.js → location-services-9yfmw94a.js} +35 -35
  84. package/dist/chunks/{workspace-hkr9khf6.js → location-services-a1md0fae.js} +13 -13
  85. package/dist/chunks/{workspace-a20pjse5.js → location-services-a20pjse5.js} +3 -3
  86. package/dist/chunks/{workspace-975jhw57.js → location-services-a66tszk0.js} +6 -6
  87. package/dist/chunks/{workspace-sd1a0922.js → location-services-a67t462c.js} +9 -9
  88. package/dist/chunks/{workspace-kkp8zx71.js → location-services-a89e0tac.js} +4 -4
  89. package/dist/chunks/{workspace-68rzgjzt.js → location-services-a9vndfjb.js} +1 -1
  90. package/dist/chunks/{workspace-ha9ebeck.js → location-services-abpcsv2g.js} +23 -23
  91. package/dist/chunks/{workspace-dbws17em.js → location-services-arg7k0rm.js} +43 -43
  92. package/dist/chunks/{workspace-2rcafj7k.js → location-services-ay8yb9a7.js} +33 -33
  93. package/dist/chunks/{workspace-addxnjmp.js → location-services-azwe5p1w.js} +4 -4
  94. package/dist/chunks/{workspace-64ydq5vx.js → location-services-b19rn14h.js} +29 -29
  95. package/dist/chunks/{workspace-4xxbrg9e.js → location-services-b8e27wfc.js} +2 -2
  96. package/dist/chunks/{workspace-e8ajnka6.js → location-services-b95m0dfq.js} +26 -26
  97. package/dist/chunks/{workspace-sqwt51e4.js → location-services-bfks4bz3.js} +25 -25
  98. package/dist/chunks/{workspace-jekwsxa3.js → location-services-bjk25w1p.js} +11 -11
  99. package/dist/chunks/{workspace-bzeyqsqd.js → location-services-bzeyqsqd.js} +1 -1
  100. package/dist/chunks/{workspace-akdg9baw.js → location-services-c1w3zdf4.js} +20 -20
  101. package/dist/chunks/{workspace-vfextq23.js → location-services-c3j0a1zw.js} +47 -47
  102. package/dist/chunks/{workspace-c41wscbt.js → location-services-c41wscbt.js} +2 -2
  103. package/dist/chunks/{workspace-jthjdk0j.js → location-services-c87b2cm1.js} +30 -30
  104. package/dist/chunks/{workspace-c8ax2afj.js → location-services-c8ax2afj.js} +2 -2
  105. package/dist/chunks/{workspace-j6ktnsbj.js → location-services-cdsvj98t.js} +12 -12
  106. package/dist/chunks/{workspace-ms7jp0yr.js → location-services-cejp4z28.js} +21 -21
  107. package/dist/chunks/{workspace-0w5f9s8v.js → location-services-cftbmsjt.js} +33 -33
  108. package/dist/chunks/{workspace-1n7e9j67.js → location-services-ckrv9rtn.js} +9 -9
  109. package/dist/chunks/{workspace-d4he2qe1.js → location-services-d4he2qe1.js} +2 -2
  110. package/dist/chunks/{workspace-7bmg41hz.js → location-services-dd6ths3b.js} +31 -31
  111. package/dist/chunks/{workspace-bhkqcsz5.js → location-services-ddz31ytd.js} +6 -6
  112. package/dist/chunks/{workspace-y71avatq.js → location-services-dpkg50ah.js} +4 -4
  113. package/dist/chunks/{workspace-73wr0wn5.js → location-services-dt9n2fs7.js} +11 -11
  114. package/dist/chunks/{workspace-1eejkkq1.js → location-services-dtbwtpff.js} +10 -10
  115. package/dist/chunks/{workspace-be6ka8gp.js → location-services-dwkd17za.js} +11 -11
  116. package/dist/chunks/{workspace-4drn66za.js → location-services-e0aycr6x.js} +19 -19
  117. package/dist/chunks/{workspace-zav06jzw.js → location-services-e2hjzebn.js} +4 -4
  118. package/dist/chunks/{workspace-prxnrnem.js → location-services-e5r5nn1p.js} +9 -9
  119. package/dist/chunks/location-services-e6mk0ntt.js +517 -0
  120. package/dist/chunks/{workspace-ed1g29hy.js → location-services-e80seqcp.js} +3 -3
  121. package/dist/chunks/{workspace-t550f9t1.js → location-services-eaj1djv9.js} +8 -8
  122. package/dist/chunks/{workspace-eej6y6fw.js → location-services-eej6y6fw.js} +2 -2
  123. package/dist/chunks/{workspace-ef5x83kb.js → location-services-ef5x83kb.js} +1 -1
  124. package/dist/chunks/{workspace-9gvb7e77.js → location-services-efpcgx8s.js} +11 -11
  125. package/dist/chunks/{workspace-7sqmcx2n.js → location-services-eq424ej9.js} +29 -29
  126. package/dist/chunks/{workspace-es1vcfrp.js → location-services-es1vcfrp.js} +3 -3
  127. package/dist/chunks/{workspace-0m50r3dd.js → location-services-esqdnvjp.js} +12 -12
  128. package/dist/chunks/{workspace-q1askysg.js → location-services-evpqvz2q.js} +14 -14
  129. package/dist/chunks/{workspace-jw98zwm9.js → location-services-f1f82w9c.js} +12 -12
  130. package/dist/chunks/{workspace-4qh62hyz.js → location-services-f2mp2skp.js} +6 -6
  131. package/dist/chunks/{workspace-wjkmnf2c.js → location-services-f5gnwvd0.js} +25 -25
  132. package/dist/chunks/{workspace-2k8khapm.js → location-services-fcrkznn8.js} +5 -5
  133. package/dist/chunks/{workspace-fcy631f0.js → location-services-fcy631f0.js} +1 -1
  134. package/dist/chunks/{workspace-m7gpjmsn.js → location-services-femnmy69.js} +31 -31
  135. package/dist/chunks/{workspace-rjncrwa9.js → location-services-fkh80sr4.js} +12 -12
  136. package/dist/chunks/{workspace-7d0zaa3e.js → location-services-fpfnw1q7.js} +30 -30
  137. package/dist/chunks/{workspace-x22cxzrs.js → location-services-ftrgem1b.js} +4 -4
  138. package/dist/chunks/{workspace-14jssy00.js → location-services-fvaedygc.js} +24 -24
  139. package/dist/chunks/{workspace-3a9ms3hh.js → location-services-fw6ztw8z.js} +18 -18
  140. package/dist/chunks/{workspace-s1kvmffy.js → location-services-fwwk8vbp.js} +9 -9
  141. package/dist/chunks/{workspace-yrp0ypz1.js → location-services-g3q73zyv.js} +5 -5
  142. package/dist/chunks/{workspace-z2rrnsn5.js → location-services-g3w0eaeg.js} +2 -2
  143. package/dist/chunks/{workspace-x4mvkh9e.js → location-services-g71www4e.js} +32 -32
  144. package/dist/chunks/{workspace-k80rnbms.js → location-services-gce7byvs.js} +5 -5
  145. package/dist/chunks/{workspace-gd4qta3r.js → location-services-gd4qta3r.js} +1 -1
  146. package/dist/chunks/{workspace-0dd87czj.js → location-services-gph3bgda.js} +7 -7
  147. package/dist/chunks/{workspace-tvpcregj.js → location-services-gv8e04jq.js} +34 -34
  148. package/dist/chunks/{workspace-0ye85ewf.js → location-services-gz42j0qk.js} +23 -23
  149. package/dist/chunks/{workspace-s5zm3kz6.js → location-services-h5rymnnr.js} +17 -17
  150. package/dist/chunks/{workspace-h6vf3j39.js → location-services-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{workspace-2k98hq88.js → location-services-he71j8j5.js} +11 -11
  152. package/dist/chunks/{workspace-hgz4x7wa.js → location-services-hgz4x7wa.js} +1 -1
  153. package/dist/chunks/{workspace-3scc1v2h.js → location-services-htn30amb.js} +16 -16
  154. package/dist/chunks/{workspace-dfk2fy4x.js → location-services-htqzgxkz.js} +12 -12
  155. package/dist/chunks/{workspace-bhwn3mdf.js → location-services-j8953mcy.js} +4 -4
  156. package/dist/chunks/{workspace-jnsr04qk.js → location-services-jh28hxeq.js} +8 -8
  157. package/dist/chunks/{workspace-6vmw9wnm.js → location-services-jhf75tj1.js} +26 -26
  158. package/dist/chunks/{workspace-tvanmaph.js → location-services-jjdtyz9q.js} +13 -13
  159. package/dist/chunks/{workspace-33vm7gkt.js → location-services-jkcga9ra.js} +27 -27
  160. package/dist/chunks/location-services-jsbjq7se.js +257 -0
  161. package/dist/chunks/{workspace-pck8dycb.js → location-services-jvg4w983.js} +24 -24
  162. package/dist/chunks/{workspace-y5rf7nzv.js → location-services-k0a3z2qz.js} +4 -4
  163. package/dist/chunks/{workspace-jrnftmvm.js → location-services-k2xjg9r7.js} +11 -11
  164. package/dist/chunks/{workspace-khmqacep.js → location-services-khmqacep.js} +1 -1
  165. package/dist/chunks/{workspace-57myy5jh.js → location-services-kjdm35cs.js} +5 -5
  166. package/dist/chunks/{workspace-vfnd3k6z.js → location-services-kmgtaefj.js} +37 -37
  167. package/dist/chunks/{workspace-fbwehany.js → location-services-kt33j3pd.js} +30 -30
  168. package/dist/chunks/{workspace-kwb1v3vj.js → location-services-kwb1v3vj.js} +1 -1
  169. package/dist/chunks/{workspace-rd7mwgeg.js → location-services-m0gv95n6.js} +39 -39
  170. package/dist/chunks/{workspace-qtjmb4ab.js → location-services-m19pkby1.js} +55 -55
  171. package/dist/chunks/{workspace-39v18tkx.js → location-services-m48mbdfe.js} +11 -11
  172. package/dist/chunks/{workspace-mwes9mjk.js → location-services-m7kg52ne.js} +17 -17
  173. package/dist/chunks/{workspace-m9w0rfyh.js → location-services-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{workspace-maspj1v3.js → location-services-maspj1v3.js} +1 -1
  175. package/dist/chunks/{workspace-vbdmbvtf.js → location-services-mem1950j.js} +7 -7
  176. package/dist/chunks/{workspace-xed622nd.js → location-services-mmwf2vn7.js} +21 -21
  177. package/dist/chunks/{workspace-rg6srhxk.js → location-services-n3rpngyn.js} +25 -25
  178. package/dist/chunks/{workspace-7j1qnw50.js → location-services-n3v37e0e.js} +23 -23
  179. package/dist/chunks/{workspace-5m4xzttx.js → location-services-na2d2yza.js} +4 -4
  180. package/dist/chunks/{workspace-tanf9p38.js → location-services-ndzw72bf.js} +50 -50
  181. package/dist/chunks/{workspace-sbcg8x13.js → location-services-nhd25jm2.js} +11 -11
  182. package/dist/chunks/{workspace-ynmknp8q.js → location-services-nnx4n5pg.js} +11 -11
  183. package/dist/chunks/{workspace-f2d84ktx.js → location-services-nsarv18d.js} +5 -5
  184. package/dist/chunks/{workspace-sfm14d1e.js → location-services-nt5b7deb.js} +21 -21
  185. package/dist/chunks/{workspace-np3pwsmz.js → location-services-nyysptvf.js} +25 -25
  186. package/dist/chunks/{workspace-9ey36q4m.js → location-services-p06yjkdd.js} +16 -16
  187. package/dist/chunks/{workspace-cmwkp3r5.js → location-services-pa8pe2x7.js} +8 -8
  188. package/dist/chunks/{workspace-hkfp1kbx.js → location-services-pddqmh0s.js} +6 -6
  189. package/dist/chunks/{workspace-9m2z5enk.js → location-services-pgy08jxz.js} +7 -7
  190. package/dist/chunks/{workspace-pjvnvgmy.js → location-services-pjvnvgmy.js} +1 -1
  191. package/dist/chunks/{workspace-pknna89w.js → location-services-pknna89w.js} +1 -1
  192. package/dist/chunks/{workspace-qxyst2j3.js → location-services-pmc13vdj.js} +45 -45
  193. package/dist/chunks/{workspace-betwgrzy.js → location-services-pn7nfh9z.js} +11 -11
  194. package/dist/chunks/{workspace-vez48pfx.js → location-services-pnrj3g4m.js} +47 -47
  195. package/dist/chunks/{workspace-tqt8bre9.js → location-services-pqdqbg0a.js} +16 -16
  196. package/dist/chunks/{workspace-ema7vtfw.js → location-services-pwvwa7tm.js} +1 -1
  197. package/dist/chunks/{workspace-grvpncm1.js → location-services-q2wpwd1q.js} +5 -5
  198. package/dist/chunks/{workspace-dtqb8q68.js → location-services-q57gstmg.js} +23 -23
  199. package/dist/chunks/{workspace-qwz8s9r3.js → location-services-qcmh19j6.js} +6 -6
  200. package/dist/chunks/{workspace-66q175pd.js → location-services-qhdbhx6b.js} +40 -40
  201. package/dist/chunks/{workspace-6as2835f.js → location-services-qn8xcv6d.js} +5 -5
  202. package/dist/chunks/{workspace-qnc92qwc.js → location-services-qnc92qwc.js} +1 -1
  203. package/dist/chunks/{workspace-qsdy395h.js → location-services-qsdy395h.js} +1 -1
  204. package/dist/chunks/{workspace-pvx62cma.js → location-services-qvgn3qed.js} +12 -12
  205. package/dist/chunks/{workspace-2tr0nx32.js → location-services-qw3mwbaq.js} +5 -5
  206. package/dist/chunks/{workspace-rfr6z38x.js → location-services-r9g4q422.js} +2 -2
  207. package/dist/chunks/{workspace-rdw6cm16.js → location-services-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{workspace-rz8vj7wk.js → location-services-rgpjkcg1.js} +9 -9
  209. package/dist/chunks/{workspace-t9g5qx6x.js → location-services-rh2qk5gw.js} +5 -5
  210. package/dist/chunks/{workspace-wa8h6qzv.js → location-services-rrejsa25.js} +4 -4
  211. package/dist/chunks/{workspace-ck2p3d1n.js → location-services-rsbsn9a9.js} +18 -18
  212. package/dist/chunks/{workspace-4c9c6ycn.js → location-services-rxcc1h6d.js} +17 -17
  213. package/dist/chunks/{workspace-d4cpb889.js → location-services-sfew0n52.js} +26 -26
  214. package/dist/chunks/{workspace-gp18yva6.js → location-services-sh92vnvp.js} +18 -18
  215. package/dist/chunks/{workspace-abme7df5.js → location-services-sm06z12z.js} +30 -30
  216. package/dist/chunks/{workspace-g6fhhb6h.js → location-services-sygnm33v.js} +12 -12
  217. package/dist/chunks/{workspace-rf80fxgj.js → location-services-sykc9y4a.js} +5 -5
  218. package/dist/chunks/{workspace-syv4x271.js → location-services-syv4x271.js} +1 -1
  219. package/dist/chunks/{workspace-9168hh8v.js → location-services-sznqrxer.js} +4 -4
  220. package/dist/chunks/{workspace-34bwsn1r.js → location-services-tanayhyb.js} +15 -15
  221. package/dist/chunks/{workspace-tazgh4e4.js → location-services-tazgh4e4.js} +1 -1
  222. package/dist/chunks/{workspace-5efe86tm.js → location-services-tc0m6ret.js} +27 -27
  223. package/dist/chunks/{workspace-15rpx8aj.js → location-services-tc11merm.js} +9 -9
  224. package/dist/chunks/{workspace-tcezcvh9.js → location-services-tcezcvh9.js} +1 -1
  225. package/dist/chunks/{workspace-tdstcens.js → location-services-tdstcens.js} +1 -1
  226. package/dist/chunks/{workspace-tkb22qbm.js → location-services-tkb22qbm.js} +2 -2
  227. package/dist/chunks/{workspace-zqwp0gg4.js → location-services-tknmgtj2.js} +25 -25
  228. package/dist/chunks/{workspace-tm0kqsz3.js → location-services-tm0kqsz3.js} +1 -1
  229. package/dist/chunks/{workspace-hfee8c4k.js → location-services-tteajt19.js} +3 -3
  230. package/dist/chunks/{workspace-sk5hrgtc.js → location-services-tx9w5tca.js} +8 -8
  231. package/dist/chunks/{workspace-tyytaxap.js → location-services-tyytaxap.js} +1 -1
  232. package/dist/chunks/{workspace-ckxsmqkn.js → location-services-tzh7nywn.js} +9 -9
  233. package/dist/chunks/{workspace-nz56sr1f.js → location-services-v13b12ef.js} +5 -5
  234. package/dist/chunks/{workspace-v210v162.js → location-services-v210v162.js} +2 -2
  235. package/dist/chunks/{workspace-v7p4zvkq.js → location-services-v7p4zvkq.js} +2 -2
  236. package/dist/chunks/{workspace-nd71w6g8.js → location-services-ve7rc23n.js} +3 -3
  237. package/dist/chunks/{workspace-veqvce7d.js → location-services-veqvce7d.js} +1 -1
  238. package/dist/chunks/{workspace-kntmrtbr.js → location-services-vp8kenv8.js} +4 -4
  239. package/dist/chunks/{workspace-mnnf39w5.js → location-services-vr0gae1a.js} +21 -21
  240. package/dist/chunks/{workspace-vzs5sf6e.js → location-services-vzs5sf6e.js} +1 -1
  241. package/dist/chunks/{workspace-cp9v0ke2.js → location-services-w122cve8.js} +9 -9
  242. package/dist/chunks/{workspace-rpjgfq5s.js → location-services-w3nq1sqw.js} +9 -9
  243. package/dist/chunks/{workspace-w3wsvvr9.js → location-services-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{workspace-tjkhcpzj.js → location-services-w9qn3bve.js} +6 -6
  245. package/dist/chunks/{workspace-5fec3t3w.js → location-services-waskdk5r.js} +9 -9
  246. package/dist/chunks/{workspace-35hset4p.js → location-services-wcaj0dbf.js} +16 -16
  247. package/dist/chunks/{workspace-5b77hntt.js → location-services-wcnw1vw1.js} +4 -4
  248. package/dist/chunks/{workspace-wd87259q.js → location-services-wd87259q.js} +1 -1
  249. package/dist/chunks/{workspace-ywt8jp22.js → location-services-wjr9rjd7.js} +6 -6
  250. package/dist/chunks/{workspace-hfg4raen.js → location-services-wkjbzrqs.js} +11 -11
  251. package/dist/chunks/{workspace-z0w4h7pg.js → location-services-wrvsrbns.js} +20 -20
  252. package/dist/chunks/{workspace-fj1y8zh4.js → location-services-x0yy9gzj.js} +14 -14
  253. package/dist/chunks/{workspace-kyz0dcnm.js → location-services-x30jgrm5.js} +71 -71
  254. package/dist/chunks/{workspace-szyc73at.js → location-services-x3sc03g3.js} +10 -10
  255. package/dist/chunks/{workspace-a3540p22.js → location-services-x4kb7bna.js} +11 -11
  256. package/dist/chunks/{workspace-xejgt214.js → location-services-x54wym4j.js} +13 -13
  257. package/dist/chunks/{workspace-tk9s4v6e.js → location-services-x8jkx94e.js} +9 -9
  258. package/dist/chunks/{workspace-0qwg22c0.js → location-services-x94t2y6k.js} +25 -25
  259. package/dist/chunks/{workspace-sg2n288w.js → location-services-xc7k2788.js} +37 -37
  260. package/dist/chunks/{workspace-0bbp34cp.js → location-services-xceybfq0.js} +24 -24
  261. package/dist/chunks/{workspace-dzmd97ab.js → location-services-xdpc3wk0.js} +13 -13
  262. package/dist/chunks/{workspace-vfs981a1.js → location-services-xf6fnzn0.js} +32 -32
  263. package/dist/chunks/{workspace-bm8any7a.js → location-services-xf751c4y.js} +13 -13
  264. package/dist/chunks/{workspace-q6nve0by.js → location-services-xfchyp9d.js} +49 -49
  265. package/dist/chunks/{workspace-xfkkasph.js → location-services-xfkkasph.js} +1 -1
  266. package/dist/chunks/{workspace-gvywkdtv.js → location-services-xjzqmp2s.js} +57 -57
  267. package/dist/chunks/{workspace-y1fvbwt7.js → location-services-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{workspace-0yw4a88g.js → location-services-y3h6n91n.js} +23 -23
  269. package/dist/chunks/{workspace-g686f6pq.js → location-services-y7nndgyc.js} +9 -9
  270. package/dist/chunks/{workspace-z7jj2nw1.js → location-services-y8xym19h.js} +18 -18
  271. package/dist/chunks/{workspace-5tze7dnz.js → location-services-ybk3dexv.js} +25 -25
  272. package/dist/chunks/{workspace-aztr5199.js → location-services-yjjxpjc1.js} +26 -26
  273. package/dist/chunks/{workspace-s5m70yjn.js → location-services-ykzr8wnw.js} +31 -31
  274. package/dist/chunks/{workspace-2z794wvw.js → location-services-yrve3h5h.js} +23 -23
  275. package/dist/chunks/{workspace-1r5er5gw.js → location-services-yssnk412.js} +2 -2
  276. package/dist/chunks/{workspace-56nvstf3.js → location-services-ytcghdxg.js} +45 -45
  277. package/dist/chunks/{workspace-70rrh1jt.js → location-services-yz7p0tm3.js} +18 -18
  278. package/dist/chunks/{workspace-z0bkrqjs.js → location-services-z0bkrqjs.js} +1 -1
  279. package/dist/chunks/{workspace-z18fegx4.js → location-services-z18fegx4.js} +1 -1
  280. package/dist/chunks/{workspace-bpa5zts5.js → location-services-z62wxppr.js} +32 -32
  281. package/dist/chunks/{workspace-00bpreyp.js → location-services-z6yetpqf.js} +8 -8
  282. package/dist/chunks/{workspace-3m1j57ch.js → location-services-zdrf9b2p.js} +28 -28
  283. package/dist/chunks/{workspace-vk5se0kv.js → location-services-zg0fcdgt.js} +22 -22
  284. package/dist/chunks/{workspace-zr2ceqn5.js → location-services-zr2ceqn5.js} +1 -1
  285. package/dist/chunks/{workspace-8n9x2wf6.js → location-services-zx95ftzb.js} +3 -3
  286. package/dist/chunks/{workspace-zxq2ej10.js → location-services-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{workspace-q3c4f1my.js → location-services-zzj16cr0.js} +9 -9
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +9 -9
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +85 -85
  293. package/dist/config/discovery.js +84 -84
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +101 -101
  296. package/dist/config/plugin/agent.js +116 -116
  297. package/dist/config/plugin/command.js +206 -206
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/compatibility.js +135 -135
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +117 -117
  302. package/dist/config/plugin/image.js +116 -116
  303. package/dist/config/plugin/instruction.js +116 -116
  304. package/dist/config/plugin/location-watcher.js +116 -116
  305. package/dist/config/plugin/mcp.js +123 -123
  306. package/dist/config/plugin/policy.js +117 -117
  307. package/dist/config/plugin/provider.js +116 -116
  308. package/dist/config/plugin/reference.js +118 -118
  309. package/dist/config/plugin/shell.js +116 -116
  310. package/dist/config/plugin/skill-file.js +104 -104
  311. package/dist/config/plugin/skill-scan.js +1 -1
  312. package/dist/config/plugin/skill.js +136 -136
  313. package/dist/config/plugin/snapshot.js +116 -116
  314. package/dist/config/plugin/source.js +113 -113
  315. package/dist/config/plugin/tool-output.js +117 -117
  316. package/dist/config/plugin/websearch.js +115 -115
  317. package/dist/config/plugin/worktree.js +118 -118
  318. package/dist/config/variable.js +1 -1
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +121 -121
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +87 -87
  323. package/dist/database/database.js +72 -72
  324. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  325. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +15 -15
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +16 -16
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  388. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  389. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  390. package/dist/database/migration.gen.js +51 -51
  391. package/dist/database/migration.js +53 -53
  392. package/dist/database/path.js +2 -2
  393. package/dist/database/schema.gen.js +1 -1
  394. package/dist/database/schema.sql.js +1 -1
  395. package/dist/database/sqlite.bun.js +1 -1
  396. package/dist/database/sqlite.js +1 -1
  397. package/dist/database/sqlite.node.js +1 -1
  398. package/dist/database/sqlite.workerd.js +1 -1
  399. package/dist/database/v1-migration.bun.js +81 -81
  400. package/dist/database/v1-migration.js +1 -1
  401. package/dist/effect/app-node-builder.js +370 -370
  402. package/dist/effect/app-node-platform.js +2 -2
  403. package/dist/effect/keyed-mutex.js +3 -3
  404. package/dist/effect/websocket-constructor.js +1 -1
  405. package/dist/environment/driver.js +1 -1
  406. package/dist/environment/environment.js +95 -95
  407. package/dist/environment/exec-defaults.js +2 -2
  408. package/dist/environment/files.js +1 -1
  409. package/dist/environment/index.js +97 -97
  410. package/dist/environment/local.js +2 -2
  411. package/dist/environment/memory.js +2 -2
  412. package/dist/environment/unavailable.js +1 -1
  413. package/dist/event/sql.js +1 -1
  414. package/dist/event-logger.js +76 -76
  415. package/dist/file-access.js +106 -106
  416. package/dist/file-mutation.js +96 -96
  417. package/dist/file-retention.js +1 -1
  418. package/dist/filesystem/fff.bun.js +2 -2
  419. package/dist/filesystem/fff.js +1 -1
  420. package/dist/filesystem/fff.node.js +2 -2
  421. package/dist/filesystem/fff.workerd.js +2 -2
  422. package/dist/filesystem/location-watcher-policy.js +2 -2
  423. package/dist/filesystem/location-watcher.js +219 -219
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +105 -105
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +104 -104
  429. package/dist/form.js +76 -76
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +87 -87
  432. package/dist/generate.js +106 -106
  433. package/dist/git.js +10 -10
  434. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  435. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  436. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  438. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  439. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  440. package/dist/github-copilot/copilot-provider.js +17 -17
  441. package/dist/github-copilot/models.js +93 -93
  442. package/dist/github-copilot/openai-compatible-error.js +1 -1
  443. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  444. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  445. package/dist/github-copilot/responses/openai-error.js +1 -1
  446. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  447. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  448. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  449. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  450. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  452. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +6 -6
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +361 -361
  457. package/dist/instruction-discovery.js +84 -84
  458. package/dist/instructions/builtins.js +89 -89
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +89 -89
  462. package/dist/job.js +80 -80
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +139 -139
  466. package/dist/location-lifecycle.js +109 -109
  467. package/dist/location-service-map.js +88 -88
  468. package/dist/location-services.js +358 -358
  469. package/dist/location.js +83 -83
  470. package/dist/managed-policy.js +6 -6
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +111 -111
  473. package/dist/mcp/instructions.js +131 -131
  474. package/dist/mcp/oauth.js +80 -80
  475. package/dist/mcp/stdio.js +92 -92
  476. package/dist/mime.js +1 -1
  477. package/dist/modal/models.js +93 -93
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +102 -102
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +84 -84
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +117 -117
  486. package/dist/persistent-pty/binary.bun.js +1 -1
  487. package/dist/persistent-pty/daemon.js +1 -1
  488. package/dist/persistent-pty/index.js +90 -90
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +77 -77
  491. package/dist/plugin/agent.js +76 -76
  492. package/dist/plugin/command.js +102 -102
  493. package/dist/plugin/hooks.js +5 -5
  494. package/dist/plugin/host.js +212 -212
  495. package/dist/plugin/identity.js +3 -3
  496. package/dist/plugin/instance.js +5 -5
  497. package/dist/plugin/internal.js +332 -332
  498. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  499. package/dist/plugin/models-dev.js +98 -98
  500. package/dist/plugin/module.js +117 -117
  501. package/dist/plugin/optimize.js +2 -2
  502. package/dist/plugin/plan.js +104 -104
  503. package/dist/plugin/promise.js +1 -1
  504. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  505. package/dist/plugin/provider/azure.js +116 -116
  506. package/dist/plugin/provider/cerebras.js +1 -1
  507. package/dist/plugin/provider/chatgpt.js +116 -116
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +112 -112
  512. package/dist/plugin/provider/databricks.js +1 -1
  513. package/dist/plugin/provider/digitalocean.js +95 -95
  514. package/dist/plugin/provider/dynamic.js +2 -2
  515. package/dist/plugin/provider/factory.js +1 -1
  516. package/dist/plugin/provider/github-copilot.js +97 -97
  517. package/dist/plugin/provider/gitlab.js +95 -95
  518. package/dist/plugin/provider/google-vertex.js +113 -113
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +80 -80
  521. package/dist/plugin/provider/lmstudio.js +123 -123
  522. package/dist/plugin/provider/local.js +122 -122
  523. package/dist/plugin/provider/modal.js +94 -94
  524. package/dist/plugin/provider/neon.js +1 -1
  525. package/dist/plugin/provider/nvidia.js +1 -1
  526. package/dist/plugin/provider/ollama.js +125 -125
  527. package/dist/plugin/provider/openai.js +116 -116
  528. package/dist/plugin/provider/opencode.js +100 -100
  529. package/dist/plugin/provider/openrouter.js +93 -93
  530. package/dist/plugin/provider/perplexity.js +2 -2
  531. package/dist/plugin/provider/poe.js +81 -81
  532. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  533. package/dist/plugin/provider/sap-ai-core.js +93 -93
  534. package/dist/plugin/provider/sdk-factory.js +1 -1
  535. package/dist/plugin/provider/snowflake-cortex.js +115 -115
  536. package/dist/plugin/provider/vercel.js +92 -92
  537. package/dist/plugin/provider/vllm.js +125 -125
  538. package/dist/plugin/provider/xai.js +93 -93
  539. package/dist/plugin/provider/zenmux.js +1 -1
  540. package/dist/plugin/provider.js +168 -168
  541. package/dist/plugin/sdk.js +76 -76
  542. package/dist/plugin/service.js +3 -3
  543. package/dist/plugin/skill.js +134 -134
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +347 -347
  546. package/dist/plugin/tool-input-repair.js +4 -4
  547. package/dist/plugin/update.js +6 -6
  548. package/dist/plugin/vcs/git.js +88 -88
  549. package/dist/plugin/vcs/hg.js +88 -88
  550. package/dist/plugin/verbosity.js +95 -95
  551. package/dist/plugin/warming.js +114 -114
  552. package/dist/plugin/websearch/exa.js +7 -7
  553. package/dist/plugin/websearch/firecrawl.js +8 -8
  554. package/dist/plugin/websearch/index.js +9 -9
  555. package/dist/plugin/websearch/mcp.js +4 -4
  556. package/dist/plugin/websearch/parallel.js +8 -8
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +8 -8
  559. package/dist/plugin.js +223 -223
  560. package/dist/project/schema.js +2 -2
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +82 -82
  563. package/dist/provider.js +103 -103
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +97 -97
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +89 -89
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +1 -1
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +97 -97
  573. package/dist/rpc.js +88 -88
  574. package/dist/schema.js +1 -1
  575. package/dist/session/affinity.js +1 -1
  576. package/dist/session/command.js +76 -76
  577. package/dist/session/compaction.js +136 -136
  578. package/dist/session/context.js +155 -155
  579. package/dist/session/diff.js +90 -90
  580. package/dist/session/environment.js +5 -5
  581. package/dist/session/error.js +5 -5
  582. package/dist/session/event.js +1 -1
  583. package/dist/session/execution/restart.js +218 -218
  584. package/dist/session/execution.js +127 -127
  585. package/dist/session/generate.js +157 -157
  586. package/dist/session/history.js +15 -15
  587. package/dist/session/inbox.js +95 -95
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +75 -75
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +99 -99
  592. package/dist/session/message-updater.js +4 -4
  593. package/dist/session/message.js +1 -1
  594. package/dist/session/model-request.js +122 -122
  595. package/dist/session/model-transport.js +9 -9
  596. package/dist/session/move.js +131 -131
  597. package/dist/session/projector.js +91 -91
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/recent-text.js +1 -1
  600. package/dist/session/revert.js +96 -96
  601. package/dist/session/run-coordinator.js +3 -3
  602. package/dist/session/runner/index.js +3 -3
  603. package/dist/session/runner/llm.js +225 -225
  604. package/dist/session/runner/max-steps.js +1 -1
  605. package/dist/session/runner/model.js +100 -100
  606. package/dist/session/runner/publish-llm-event.js +115 -115
  607. package/dist/session/runner/retry.js +3 -3
  608. package/dist/session/runner/step.js +126 -126
  609. package/dist/session/runner/to-llm-message.js +14 -14
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +164 -164
  612. package/dist/session/shell.js +130 -130
  613. package/dist/session/skill.js +105 -105
  614. package/dist/session/sql.js +5 -5
  615. package/dist/session/stats.js +77 -77
  616. package/dist/session/store.js +87 -87
  617. package/dist/session/subagent-completion.js +1 -1
  618. package/dist/session/subagent-job.js +206 -206
  619. package/dist/session/system-prompt.js +1 -1
  620. package/dist/session/title.js +157 -157
  621. package/dist/session/to-session-error.js +113 -113
  622. package/dist/session/transfer.js +214 -214
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +210 -210
  625. package/dist/shell/parse.js +6 -6
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +13 -13
  629. package/dist/shell.js +132 -132
  630. package/dist/skill/discovery.js +6 -6
  631. package/dist/skill/instructions.js +109 -109
  632. package/dist/skill.js +112 -112
  633. package/dist/snapshot.js +85 -85
  634. package/dist/state.js +1 -1
  635. package/dist/tool/html-markdown.js +1 -1
  636. package/dist/tool/http-body.js +1 -1
  637. package/dist/tool/mcp.js +128 -128
  638. package/dist/tool/plugin/edit.js +122 -122
  639. package/dist/tool/plugin/file-diff.js +1 -1
  640. package/dist/tool/plugin/glob.js +126 -126
  641. package/dist/tool/plugin/grep.js +124 -124
  642. package/dist/tool/plugin/mcp-resource.js +119 -119
  643. package/dist/tool/plugin/opencode.js +111 -111
  644. package/dist/tool/plugin/patch.js +124 -124
  645. package/dist/tool/plugin/question.js +103 -103
  646. package/dist/tool/plugin/read.js +127 -127
  647. package/dist/tool/plugin/shell.js +209 -209
  648. package/dist/tool/plugin/skill.js +113 -113
  649. package/dist/tool/plugin/subagent.js +213 -213
  650. package/dist/tool/plugin/todo.js +138 -138
  651. package/dist/tool/plugin/webfetch.js +114 -114
  652. package/dist/tool/plugin/websearch.js +112 -112
  653. package/dist/tool/plugin/write.js +124 -124
  654. package/dist/tool/read-filesystem.js +102 -102
  655. package/dist/tool/runtime.js +1 -1
  656. package/dist/tool-output.js +7 -7
  657. package/dist/tool.js +14 -14
  658. package/dist/util/error-summary.js +1 -1
  659. package/dist/util/error.js +1 -1
  660. package/dist/util/git-executable.js +2 -2
  661. package/dist/util/iife.js +1 -1
  662. package/dist/util/lazy.js +1 -1
  663. package/dist/util/slug.js +1 -1
  664. package/dist/util/token.js +1 -1
  665. package/dist/util/which.js +1 -1
  666. package/dist/util/wildcard.js +1 -1
  667. package/dist/v1/config/agent.js +7 -7
  668. package/dist/v1/config/command.js +3 -3
  669. package/dist/v1/config/error.js +2 -2
  670. package/dist/v1/config/mcp.js +4 -4
  671. package/dist/v1/config/migrate.js +94 -94
  672. package/dist/v1/config/permission.js +7 -7
  673. package/dist/v1/config/plugin.js +3 -3
  674. package/dist/v1/config/provider-options.js +1 -1
  675. package/dist/v1/config/provider.js +4 -4
  676. package/dist/variant.js +95 -95
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +91 -91
  679. package/dist/voice.js +90 -90
  680. package/dist/websearch.js +84 -84
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +7 -7
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +84 -84
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +8 -8
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +98 -98
  691. package/package.json +8 -8
  692. package/dist/chunks/workspace-48ncedfj.js +0 -517
  693. package/dist/chunks/workspace-csaj70e7.js +0 -257
  694. package/dist/chunks/workspace-dhzfkndg.js +0 -26
  695. package/dist/chunks/workspace-n95b3jav.js +0 -18
  696. /package/dist/chunks/{workspace-0qkdqm5v.js → location-services-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{workspace-0zkw76rk.js → location-services-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{workspace-17cy0kzp.js → location-services-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{workspace-1cnp2v09.js → location-services-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{workspace-1kg9ymc8.js → location-services-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{workspace-24dcb14g.js → location-services-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{workspace-2710q6r3.js → location-services-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{workspace-2axfhc9x.js → location-services-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{workspace-2bv980vf.js → location-services-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{workspace-2c3vjs8z.js → location-services-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{workspace-359p4xyc.js → location-services-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{workspace-3asan66x.js → location-services-3asan66x.js} +0 -0
  708. /package/dist/chunks/{workspace-3t0ybcrp.js → location-services-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{workspace-3v8g72cx.js → location-services-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{workspace-3wcehsnq.js → location-services-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{workspace-43n2bw4t.js → location-services-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{workspace-4knz6hnm.js → location-services-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{workspace-4vcrnpx2.js → location-services-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{workspace-4y7fprxs.js → location-services-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{workspace-53557ph1.js → location-services-53557ph1.js} +0 -0
  716. /package/dist/chunks/{workspace-550bvhaj.js → location-services-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{workspace-6prwharc.js → location-services-6prwharc.js} +0 -0
  718. /package/dist/chunks/{workspace-6q2bdcd1.js → location-services-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{workspace-7akdwqpd.js → location-services-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{workspace-7m9af43g.js → location-services-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{workspace-822emrt2.js → location-services-822emrt2.js} +0 -0
  722. /package/dist/chunks/{workspace-84wd9syh.js → location-services-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{workspace-88xbtdfr.js → location-services-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{workspace-8n3pysct.js → location-services-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{workspace-8wj87zfr.js → location-services-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{workspace-9a4afbnw.js → location-services-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{workspace-9rqn6x4v.js → location-services-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{workspace-a6k6eb26.js → location-services-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{workspace-af5trqkr.js → location-services-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{workspace-afrmfg78.js → location-services-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{workspace-aqzs7mqg.js → location-services-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{workspace-atq7p7m5.js → location-services-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{workspace-bkyjaxrp.js → location-services-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{workspace-bmr6ed5q.js → location-services-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{workspace-cf4snx6d.js → location-services-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{workspace-cvy3z8tj.js → location-services-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{workspace-d9fn303g.js → location-services-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{workspace-d9jj8t3e.js → location-services-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{workspace-dajrwvna.js → location-services-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{workspace-dap0rakb.js → location-services-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{workspace-df08tz66.js → location-services-df08tz66.js} +0 -0
  742. /package/dist/chunks/{workspace-dy18nga0.js → location-services-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{workspace-e5kj55wp.js → location-services-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{workspace-e73j6tqm.js → location-services-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{workspace-ec1grn59.js → location-services-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{workspace-eh3zwz77.js → location-services-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{workspace-emrn6kk6.js → location-services-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{workspace-f0mxakyp.js → location-services-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{workspace-f6n9ztr4.js → location-services-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{workspace-faypxj3z.js → location-services-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{workspace-fd410y7t.js → location-services-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{workspace-g4wezp1m.js → location-services-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{workspace-g86h250q.js → location-services-g86h250q.js} +0 -0
  754. /package/dist/chunks/{workspace-gebd4c9n.js → location-services-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{workspace-gftt206x.js → location-services-gftt206x.js} +0 -0
  756. /package/dist/chunks/{workspace-hcxmzztb.js → location-services-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{workspace-hk9envan.js → location-services-hk9envan.js} +0 -0
  758. /package/dist/chunks/{workspace-j2ntwpah.js → location-services-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{workspace-j5zkgpj8.js → location-services-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{workspace-jjkms2e6.js → location-services-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{workspace-jr7sbwjy.js → location-services-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{workspace-jwfs4k6c.js → location-services-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{workspace-jze0r7bz.js → location-services-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{workspace-jzg6c2d5.js → location-services-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{workspace-m18g726c.js → location-services-m18g726c.js} +0 -0
  766. /package/dist/chunks/{workspace-mp448xyj.js → location-services-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{workspace-msx8hqn2.js → location-services-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{workspace-n05xt0ee.js → location-services-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{workspace-n3j8tn72.js → location-services-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{workspace-njntx4h6.js → location-services-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{workspace-pkyv6v7h.js → location-services-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{workspace-pyv0edze.js → location-services-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{workspace-q3sfg36h.js → location-services-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{workspace-q74kybfr.js → location-services-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{workspace-qaymkmh1.js → location-services-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{workspace-qb87gjwd.js → location-services-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{workspace-qfa1cgps.js → location-services-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{workspace-qg3g05ea.js → location-services-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{workspace-qrg20bc0.js → location-services-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{workspace-rcb2kzg1.js → location-services-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{workspace-sdp7kfr6.js → location-services-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{workspace-ssg3fenm.js → location-services-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{workspace-ve7vex1e.js → location-services-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{workspace-w803qqfp.js → location-services-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{workspace-wc3fc9cn.js → location-services-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{workspace-wer8tq1h.js → location-services-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{workspace-wjj7prxr.js → location-services-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{workspace-wtztk69x.js → location-services-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{workspace-x0ckcb58.js → location-services-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{workspace-x61499pn.js → location-services-x61499pn.js} +0 -0
  791. /package/dist/chunks/{workspace-y44na4kk.js → location-services-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{workspace-y8f7s663.js → location-services-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{workspace-ygaqb7jw.js → location-services-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{workspace-ym463w8f.js → location-services-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{workspace-z5v4ffb3.js → location-services-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{workspace-z9919s4g.js → location-services-z9919s4g.js} +0 -0
@@ -1,51 +1,51 @@
1
1
  import {
2
- ID8,
3
- Service62
4
- } from "./workspace-7125243h.js";
2
+ ID14,
3
+ Service77
4
+ } from "./location-services-236vqjbe.js";
5
5
  import {
6
6
  Ref2,
7
- Service76
8
- } from "./workspace-m7gpjmsn.js";
7
+ Service67
8
+ } from "./location-services-femnmy69.js";
9
9
  import {
10
10
  latest2,
11
- Service67
12
- } from "./workspace-sv7642z1.js";
11
+ Service50
12
+ } from "./location-services-6q04wm97.js";
13
13
  import {
14
14
  SessionSchema2
15
- } from "./workspace-8n9x2wf6.js";
15
+ } from "./location-services-zx95ftzb.js";
16
16
  import {
17
- Service53
18
- } from "./workspace-35hset4p.js";
17
+ Service60
18
+ } from "./location-services-wcaj0dbf.js";
19
19
  import {
20
20
  evaluate2,
21
- Service59
22
- } from "./workspace-gvywkdtv.js";
21
+ Service74
22
+ } from "./location-services-xjzqmp2s.js";
23
23
  import {
24
- Service28
25
- } from "./workspace-kby4jqsa.js";
24
+ Service29
25
+ } from "./location-services-14v2mpx3.js";
26
26
  import {
27
27
  NO_TEXT2
28
- } from "./workspace-6xb47vfp.js";
28
+ } from "./location-services-6xb47vfp.js";
29
29
  import {
30
- Service11
31
- } from "./workspace-4drn66za.js";
30
+ Service12
31
+ } from "./location-services-e0aycr6x.js";
32
32
  import {
33
33
  __export
34
- } from "./workspace-9rqn6x4v.js";
34
+ } from "./location-services-9rqn6x4v.js";
35
35
 
36
36
  // src/tool/plugin/subagent.ts
37
37
  var exports_subagent = {};
38
38
  __export(exports_subagent, {
39
- Input: () => Input10,
40
- Output: () => Output8,
41
- Plugin: () => Plugin30,
39
+ Input: () => Input7,
40
+ Output: () => Output4,
41
+ Plugin: () => Plugin44,
42
42
  SubagentTool: () => exports_subagent,
43
- description: () => description3,
44
- name: () => name10
43
+ description: () => description4,
44
+ name: () => name7
45
45
  });
46
46
  import { ToolFailure } from "@opencode/ai";
47
47
  import { Effect, Predicate, Schema } from "effect";
48
- var name10 = "subagent";
48
+ var name7 = "subagent";
49
49
  var backgroundResult = (sessionID) => ({
50
50
  sessionID,
51
51
  status: "running",
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
56
56
  ].join(`
57
57
  `)
58
58
  });
59
- var Input10 = Schema.Struct({
59
+ var Input7 = Schema.Struct({
60
60
  agent: Schema.String.annotate({
61
61
  description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
62
62
  }),
@@ -72,12 +72,12 @@ var Input10 = Schema.Struct({
72
72
  description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
73
73
  })
74
74
  });
75
- var Output8 = Schema.Struct({
75
+ var Output4 = Schema.Struct({
76
76
  sessionID: SessionSchema2.ID,
77
77
  status: Schema.Literals(["completed", "running"]),
78
78
  output: Schema.String
79
79
  });
80
- var description3 = [
80
+ var description4 = [
81
81
  "Spawns an agent in a child session to work on the specified task.",
82
82
  "The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
83
83
  "New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
@@ -86,16 +86,16 @@ var description3 = [
86
86
  "Use background only for independent work that can run while you continue elsewhere."
87
87
  ].join(`
88
88
  `);
89
- var Plugin30 = {
89
+ var Plugin44 = {
90
90
  id: "opencode.tool.subagent",
91
91
  effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
92
- const sessions = yield* Service28;
93
- const jobs = yield* Service53;
94
- const agents = yield* Service62;
95
- const config = yield* Service67;
96
- const permission = yield* Service59;
97
- const models = yield* Service76;
98
- const subagents = yield* Service11;
92
+ const sessions = yield* Service29;
93
+ const jobs = yield* Service60;
94
+ const agents = yield* Service77;
95
+ const config = yield* Service50;
96
+ const permission = yield* Service74;
97
+ const models = yield* Service67;
98
+ const subagents = yield* Service12;
99
99
  const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
100
100
  const ref = yield* Effect.try({
101
101
  try: () => Ref2.parse(input),
@@ -115,11 +115,11 @@ var Plugin30 = {
115
115
  return ref;
116
116
  });
117
117
  yield* ctx.tool.transform((editor) => editor.add({
118
- name: name10,
118
+ name: name7,
119
119
  options: { codemode: false },
120
- description: description3,
121
- input: Input10,
122
- output: Output8,
120
+ description: description4,
121
+ input: Input7,
122
+ output: Output4,
123
123
  execute: (input, context) => Effect.gen(function* () {
124
124
  const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
125
125
  let current = parent;
@@ -139,7 +139,7 @@ var Plugin30 = {
139
139
  if (agent.mode === "primary")
140
140
  return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
141
141
  yield* permission.assert({
142
- action: name10,
142
+ action: name7,
143
143
  resources: [agent.id],
144
144
  save: [agent.id],
145
145
  sessionID: context.sessionID,
@@ -168,7 +168,7 @@ var Plugin30 = {
168
168
  const child = existing ?? (yield* sessions.create({
169
169
  parentID: context.sessionID,
170
170
  title: input.description,
171
- agent: ID8.make(input.agent),
171
+ agent: ID14.make(input.agent),
172
172
  model
173
173
  }).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
174
174
  const background = input.background === true;
@@ -218,7 +218,7 @@ ${output.output}
218
218
  })))
219
219
  })).pipe(Effect.orDie);
220
220
  yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
221
- if (event.tool !== name10 || !Predicate.isObject(event.input))
221
+ if (event.tool !== name7 || !Predicate.isObject(event.input))
222
222
  return;
223
223
  if (event.input.model !== "" && event.input.sessionID !== "")
224
224
  return;
@@ -230,13 +230,13 @@ ${output.output}
230
230
  event.input = input;
231
231
  }));
232
232
  const hook = (event) => Effect.gen(function* () {
233
- const tool = event.tools[name10];
233
+ const tool = event.tools[name7];
234
234
  if (!tool)
235
235
  return;
236
236
  const selected = yield* agents.resolve(event.agent);
237
237
  if (!selected)
238
238
  return;
239
- const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
239
+ const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name7, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
240
240
  if (available.length === 0)
241
241
  return;
242
242
  tool.description = [
@@ -253,4 +253,4 @@ ${output.output}
253
253
  })
254
254
  };
255
255
 
256
- export { name10, Input10, Output8, description3, Plugin30, exports_subagent };
256
+ export { name7, Input7, Output4, description4, Plugin44, exports_subagent };
@@ -1,24 +1,24 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./workspace-z5v4ffb3.js";
3
+ } from "./location-services-z5v4ffb3.js";
4
4
  import {
5
5
  Action2
6
- } from "./workspace-5fec3t3w.js";
6
+ } from "./location-services-waskdk5r.js";
7
7
  import {
8
- Info15
9
- } from "./workspace-ynmknp8q.js";
8
+ Info12
9
+ } from "./location-services-nnx4n5pg.js";
10
10
  import {
11
- Info18
12
- } from "./workspace-a2ew8a62.js";
11
+ Info13
12
+ } from "./location-services-6hh8tjw2.js";
13
13
  import {
14
- Info14
15
- } from "./workspace-57myy5jh.js";
14
+ Info15
15
+ } from "./location-services-kjdm35cs.js";
16
16
  import {
17
17
  Spec2
18
- } from "./workspace-2k8khapm.js";
18
+ } from "./location-services-fcrkznn8.js";
19
19
  import {
20
- Info17
21
- } from "./workspace-qne3fa44.js";
20
+ Info11
21
+ } from "./location-services-9hwaqfsw.js";
22
22
  import {
23
23
  normalizeAction2,
24
24
  migrateAgent2,
@@ -28,10 +28,10 @@ import {
28
28
  migrateMcp2,
29
29
  migrateProvider2,
30
30
  providerID2
31
- } from "./workspace-kntmrtbr.js";
31
+ } from "./location-services-vp8kenv8.js";
32
32
  import {
33
33
  __export
34
- } from "./workspace-9rqn6x4v.js";
34
+ } from "./location-services-9rqn6x4v.js";
35
35
 
36
36
  // src/config/normalize.ts
37
37
  var exports_normalize = {};
@@ -98,12 +98,12 @@ function normalize2(input) {
98
98
  const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
99
99
  const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
100
100
  mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
101
- const legacyCommands = decodeMap(input.command, Info18, ["command"], diagnostics, decodeValue);
101
+ const legacyCommands = decodeMap(input.command, Info13, ["command"], diagnostics, decodeValue);
102
102
  diagnoseSelectionMap(input.command, ["command"], diagnostics);
103
103
  const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
104
104
  const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
105
105
  mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
106
- const legacyAgents = mapValues(decodeMap(input.agent, Info15, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
106
+ const legacyAgents = mapValues(decodeMap(input.agent, Info12, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
107
107
  const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
108
108
  const migratedSmallModel = modelSelection2(legacySmallModel);
109
109
  if (legacySmallModel && !migratedSmallModel)
@@ -117,7 +117,7 @@ function normalize2(input) {
117
117
  model: migratedSmallModel,
118
118
  ...legacyAgents.title
119
119
  };
120
- const modeAgents = mapValues(decodeMap(input.mode, Info15, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
120
+ const modeAgents = mapValues(decodeMap(input.mode, Info12, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
121
121
  const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
122
122
  const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
123
123
  diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
@@ -219,7 +219,7 @@ function normalizeMcp(input, encoded, diagnostics) {
219
219
  normalizeMcpTimeout(typeof value === "number" ? migrateMcpTimeout2(value) : value, timeout, path, diagnostics);
220
220
  return;
221
221
  }
222
- const server = decodeValue(Info14, value, path, diagnostics);
222
+ const server = decodeValue(Info15, value, path, diagnostics);
223
223
  if (server !== undefined)
224
224
  setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
225
225
  });
@@ -430,7 +430,7 @@ function migrateProviders(value, diagnostics) {
430
430
  diagnoseProviderUnsupported(raw, path, diagnostics);
431
431
  if (invalidProviderOverlays(raw, path, diagnostics))
432
432
  return [];
433
- const provider = decodeValue(Info17, raw, path, diagnostics);
433
+ const provider = decodeValue(Info11, raw, path, diagnostics);
434
434
  if (provider === undefined)
435
435
  return [];
436
436
  const destination = providerID2(name);
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./workspace-ym463w8f.js";
3
+ } from "./location-services-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/cohere.ts
6
6
  var CoherePlugin2 = createProviderPlugin2({
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./workspace-9rqn6x4v.js";
3
+ } from "./location-services-9rqn6x4v.js";
4
4
 
5
5
  // src/codemode/catalog.ts
6
6
  var exports_catalog = {};
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service85,
3
- node89
4
- } from "./workspace-3scc1v2h.js";
2
+ Service84,
3
+ node88
4
+ } from "./location-services-htn30amb.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./workspace-rdw6cm16.js";
8
+ } from "./location-services-rdw6cm16.js";
9
9
  import {
10
10
  key2
11
- } from "./workspace-addxnjmp.js";
11
+ } from "./location-services-azwe5p1w.js";
12
12
  import {
13
- ID13,
14
- Service78,
15
- node82,
16
- Event18
17
- } from "./workspace-2rcafj7k.js";
13
+ ID9,
14
+ Service69,
15
+ node73,
16
+ Event16
17
+ } from "./location-services-ay8yb9a7.js";
18
18
  import {
19
19
  Service82,
20
20
  node86
21
- } from "./workspace-4xxbrg9e.js";
21
+ } from "./location-services-b8e27wfc.js";
22
22
  import {
23
23
  __export
24
- } from "./workspace-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/aisdk-native.ts
27
27
  var exports_aisdk_native = {};
@@ -39,13 +39,13 @@ __export(exports_provider3, {
39
39
  Compaction: () => Compaction3,
40
40
  DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
41
41
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
42
- Event: () => Event17,
43
- ID: () => ID12,
44
- Info: () => Info22,
42
+ Event: () => Event15,
43
+ ID: () => ID8,
44
+ Info: () => Info19,
45
45
  LoadError: () => LoadError3,
46
46
  Provider: () => exports_provider3,
47
- Request: () => Request3,
48
- Service: () => Service77,
47
+ Request: () => Request2,
48
+ Service: () => Service68,
49
49
  Settings: () => Settings2,
50
50
  Transport: () => Transport2,
51
51
  aisdk: () => aisdk2,
@@ -57,7 +57,7 @@ __export(exports_provider3, {
57
57
  mergeOverlay: () => mergeOverlay2,
58
58
  modelSettings: () => modelSettings2,
59
59
  nativeSettings: () => nativeSettings2,
60
- node: () => node81,
60
+ node: () => node72,
61
61
  packageName: () => packageName2,
62
62
  timeout: () => timeout2,
63
63
  timeouts: () => timeouts2
@@ -71,8 +71,8 @@ import { isRecord } from "@opencode/ai/utils/record";
71
71
  import { importModule, resolveModule } from "@opencode/util/runtime-import";
72
72
  import { Credential } from "@opencode/schema/credential";
73
73
  import { freeze } from "immer";
74
- import { Event as Event17 } from "@opencode/schema/provider";
75
- var ID12 = Provider.ID;
74
+ import { Event as Event15 } from "@opencode/schema/provider";
75
+ var ID8 = Provider.ID;
76
76
  var AISDK_PREFIX2 = "aisdk:";
77
77
  var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
78
78
  var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
@@ -279,13 +279,13 @@ function mergeHeaders2(base, overlay) {
279
279
  return result;
280
280
  }, new Map).values());
281
281
  }
282
- var Request3 = Provider.Request;
282
+ var Request2 = Provider.Request;
283
283
  var Compaction3 = Provider.Compaction;
284
284
  var Transport2 = Provider.Transport;
285
285
  var Settings2 = Provider.Settings;
286
- var Info22 = Provider.Info;
286
+ var Info19 = Provider.Info;
287
287
 
288
- class Service77 extends Context.Service()("@opencode/Provider") {
288
+ class Service68 extends Context.Service()("@opencode/Provider") {
289
289
  }
290
290
  var definitions = new WeakMap;
291
291
  function index(providerID, models) {
@@ -298,9 +298,9 @@ function index(providerID, models) {
298
298
  definitions.set(models, indexes);
299
299
  return result;
300
300
  }
301
- var layer = Layer.effect(Service77, Effect.gen(function* () {
302
- const bus = yield* Service85;
303
- const integrations = yield* Service78;
301
+ var layer = Layer.effect(Service68, Effect.gen(function* () {
302
+ const bus = yield* Service84;
303
+ const integrations = yield* Service69;
304
304
  const location = yield* Service82;
305
305
  const state = create3({
306
306
  name: "provider",
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
312
312
  const current = records.get(id);
313
313
  if (current)
314
314
  return current;
315
- const added = { provider: Info22.empty(id), models: new Map };
315
+ const added = { provider: Info19.empty(id), models: new Map };
316
316
  records.set(id, added);
317
317
  maps.add(added.models);
318
318
  return added;
@@ -393,7 +393,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
393
393
  const available = Array.from(records.values()).filter((record) => {
394
394
  if (record.provider.activation === "disabled")
395
395
  return false;
396
- const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
396
+ const integration = byID.get(record.provider.integrationID ?? ID9.make(record.provider.id));
397
397
  if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
398
398
  return false;
399
399
  if (record.provider.activation === "enabled")
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
419
419
  location: { directory: location.directory, workspaceID: location.workspaceID }
420
420
  });
421
421
  });
422
- yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
- return Service77.of({
422
+ yield* bus.subscribe([Event16.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
423
+ return Service68.of({
424
424
  transform: state.transform,
425
425
  reload: state.reload,
426
426
  get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
429
429
  snapshot
430
430
  });
431
431
  }));
432
- var node81 = makeLocationNode({ service: Service77, layer, deps: [node89, node82, node86] });
432
+ var node72 = makeLocationNode({ service: Service68, layer, deps: [node88, node73, node86] });
433
433
  var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
434
434
  const module = yield* Effect.tryPromise({
435
435
  try: () => {
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
699
699
  }), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
700
700
  var decode = Schema2.decodeUnknownSync(Legacy);
701
701
 
702
- export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service77, node81, exports_provider3, Event17 };
702
+ export { rewrite2, native2, exports_aisdk_native, ID8, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request2, Compaction3, Transport2, Settings2, Info19, Service68, node72, exports_provider3, Event15 };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  call2
3
- } from "./workspace-ywt8jp22.js";
3
+ } from "./location-services-wjr9rjd7.js";
4
4
  import {
5
5
  __export
6
- } from "./workspace-9rqn6x4v.js";
6
+ } from "./location-services-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/websearch/exa.ts
9
9
  var exports_exa = {};
10
10
  __export(exports_exa, {
11
- Plugin: () => Plugin38,
11
+ Plugin: () => Plugin23,
12
12
  WebSearchExa: () => exports_exa,
13
- endpoint: () => endpoint4
13
+ endpoint: () => endpoint2
14
14
  });
15
15
  import { define } from "@opencode/plugin/effect/plugin";
16
16
  import { Effect, Schema } from "effect";
17
17
  import { HttpClient } from "effect/http";
18
- var endpoint4 = "https://mcp.exa.ai/mcp";
18
+ var endpoint2 = "https://mcp.exa.ai/mcp";
19
19
  var McpInput = Schema.Struct({
20
20
  query: Schema.String,
21
21
  numResults: Schema.Number.pipe(Schema.optional)
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
27
27
  _meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
28
28
  }))
29
29
  });
30
- var Plugin38 = define({
30
+ var Plugin23 = define({
31
31
  id: "opencode.websearch.exa",
32
32
  effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
33
33
  const http = yield* HttpClient.HttpClient;
@@ -49,7 +49,7 @@ var Plugin38 = define({
49
49
  execute: (input) => Effect.gen(function* () {
50
50
  const connection = yield* ctx.integration.connection.active("exa");
51
51
  const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
52
- const url = new URL(endpoint4);
52
+ const url = new URL(endpoint2);
53
53
  if (credential?.type === "key")
54
54
  url.searchParams.set("exaApiKey", credential.key);
55
55
  const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
@@ -80,4 +80,4 @@ function parseResults(text) {
80
80
  });
81
81
  }
82
82
 
83
- export { endpoint4, Plugin38, exports_exa };
83
+ export { endpoint2, Plugin23, exports_exa };
@@ -1,46 +1,46 @@
1
1
  import {
2
2
  Service82
3
- } from "./workspace-4xxbrg9e.js";
3
+ } from "./location-services-b8e27wfc.js";
4
4
  import {
5
- Service71
6
- } from "./workspace-xed622nd.js";
5
+ Service48
6
+ } from "./location-services-mmwf2vn7.js";
7
7
  import {
8
- Service23,
8
+ Service21,
9
9
  readText2,
10
10
  syncTextBom2
11
- } from "./workspace-xejgt214.js";
11
+ } from "./location-services-x54wym4j.js";
12
12
  import {
13
13
  Service17
14
- } from "./workspace-2ya4c35z.js";
14
+ } from "./location-services-9da2gmc9.js";
15
15
  import {
16
- Service59
17
- } from "./workspace-gvywkdtv.js";
16
+ Service74
17
+ } from "./location-services-xjzqmp2s.js";
18
18
  import {
19
- Service16,
19
+ Service25,
20
20
  resolvePath2
21
- } from "./workspace-k189p03s.js";
21
+ } from "./location-services-6a20fkbr.js";
22
22
  import {
23
23
  fileDiff2
24
- } from "./workspace-6prwharc.js";
24
+ } from "./location-services-6prwharc.js";
25
25
  import {
26
26
  __export
27
- } from "./workspace-9rqn6x4v.js";
27
+ } from "./location-services-9rqn6x4v.js";
28
28
 
29
29
  // src/tool/plugin/edit.ts
30
30
  var exports_edit = {};
31
31
  __export(exports_edit, {
32
32
  EditTool: () => exports_edit,
33
- Input: () => Input6,
34
- Output: () => Output5,
35
- Plugin: () => Plugin25,
36
- name: () => name6
33
+ Input: () => Input11,
34
+ Output: () => Output7,
35
+ Plugin: () => Plugin48,
36
+ name: () => name11
37
37
  });
38
38
  import { ToolFailure } from "@opencode/ai";
39
39
  import { FileDiff } from "@opencode/schema/file-diff";
40
40
  import { Bom } from "@opencode/util/bom";
41
41
  import { Effect, Schema } from "effect";
42
- var name6 = "edit";
43
- var Input6 = Schema.Struct({
42
+ var name11 = "edit";
43
+ var Input11 = Schema.Struct({
44
44
  path: Schema.String.annotate({
45
45
  description: "File to edit"
46
46
  }),
@@ -50,7 +50,7 @@ var Input6 = Schema.Struct({
50
50
  description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
51
51
  })
52
52
  });
53
- var Output5 = Schema.Struct({
53
+ var Output7 = Schema.Struct({
54
54
  files: Schema.Array(FileDiff.Info),
55
55
  replacements: Schema.Number
56
56
  });
@@ -190,21 +190,21 @@ var countBefore = (positions, offset) => {
190
190
  }
191
191
  return low;
192
192
  };
193
- var Plugin25 = {
193
+ var Plugin48 = {
194
194
  id: "opencode.tool.edit",
195
195
  effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
196
- const access = yield* Service16;
197
- const fileMutation = yield* Service23;
198
- const environment = yield* Service71;
196
+ const access = yield* Service25;
197
+ const fileMutation = yield* Service21;
198
+ const environment = yield* Service48;
199
199
  const formatter = yield* Service17;
200
200
  const location = yield* Service82;
201
- const permission = yield* Service59;
201
+ const permission = yield* Service74;
202
202
  yield* ctx.tool.transform((editor) => editor.add({
203
- name: name6,
203
+ name: name11,
204
204
  options: { codemode: false, permission: "edit" },
205
205
  description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
206
- input: Input6,
207
- output: Output5,
206
+ input: Input11,
207
+ output: Output7,
208
208
  execute: (input, context) => {
209
209
  return Effect.gen(function* () {
210
210
  const permissionSource = {
@@ -276,4 +276,4 @@ var Plugin25 = {
276
276
  })
277
277
  };
278
278
 
279
- export { name6, Input6, Output5, Plugin25, exports_edit };
279
+ export { name11, Input11, Output7, Plugin48, exports_edit };