@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,34 +1,34 @@
1
- import {
2
- Service86
3
- } from "./workspace-a3540p22.js";
4
1
  import {
5
2
  Service85
6
- } from "./workspace-3scc1v2h.js";
3
+ } from "./location-services-x4kb7bna.js";
4
+ import {
5
+ Service84
6
+ } from "./location-services-htn30amb.js";
7
7
  import {
8
- Service51
9
- } from "./workspace-hdab2k61.js";
8
+ Service59
9
+ } from "./location-services-9gea571p.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./workspace-z5v4ffb3.js";
12
+ } from "./location-services-z5v4ffb3.js";
13
13
  import {
14
14
  ID16,
15
15
  Service81
16
- } from "./workspace-q3c4f1my.js";
16
+ } from "./location-services-zzj16cr0.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./workspace-ec1grn59.js";
19
+ } from "./location-services-ec1grn59.js";
20
20
  import {
21
21
  MessageNotFoundError2
22
- } from "./workspace-tjkhcpzj.js";
22
+ } from "./location-services-w9qn3bve.js";
23
23
  import {
24
24
  SessionMessageTable2
25
- } from "./workspace-es1vcfrp.js";
25
+ } from "./location-services-es1vcfrp.js";
26
26
  import {
27
27
  decodeMessageRowSync2
28
- } from "./workspace-be6ka8gp.js";
28
+ } from "./location-services-dwkd17za.js";
29
29
  import {
30
30
  __export
31
- } from "./workspace-9rqn6x4v.js";
31
+ } from "./location-services-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -41,9 +41,9 @@ __export(exports_revert, {
41
41
  import { and, asc, eq, gt } from "drizzle-orm";
42
42
  import { Effect } from "effect";
43
43
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
44
- const instances = yield* Service51;
45
- const database = yield* Service86;
46
- const bus = yield* Service85;
44
+ const instances = yield* Service59;
45
+ const database = yield* Service85;
46
+ const bus = yield* Service84;
47
47
  return yield* Effect.gen(function* () {
48
48
  const snapshot = yield* Service81;
49
49
  const original = input.session.revert?.snapshot ? ID16.make(input.session.revert.snapshot) : yield* snapshot.capture();
@@ -73,8 +73,8 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
73
73
  }).pipe(instances.provide(input.session));
74
74
  });
75
75
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
76
- const instances = yield* Service51;
77
- const bus = yield* Service85;
76
+ const instances = yield* Service59;
77
+ const bus = yield* Service84;
78
78
  yield* Effect.gen(function* () {
79
79
  const snapshot = yield* Service81;
80
80
  if (!session.revert)
@@ -1,27 +1,27 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./workspace-a3540p22.js";
2
+ Service85,
3
+ node89
4
+ } from "./location-services-x4kb7bna.js";
5
5
  import {
6
6
  PermissionTable2
7
- } from "./workspace-tkb22qbm.js";
7
+ } from "./location-services-tkb22qbm.js";
8
8
  import {
9
9
  __export
10
- } from "./workspace-9rqn6x4v.js";
10
+ } from "./location-services-9rqn6x4v.js";
11
11
 
12
12
  // src/permission/saved.ts
13
13
  var exports_saved = {};
14
14
  __export(exports_saved, {
15
15
  AddInput: () => AddInput2,
16
16
  ConflictError: () => ConflictError2,
17
- ID: () => ID7,
18
- Info: () => Info12,
17
+ ID: () => ID12,
18
+ Info: () => Info23,
19
19
  ListInput: () => ListInput5,
20
- NotFoundError: () => NotFoundError9,
20
+ NotFoundError: () => NotFoundError10,
21
21
  PermissionSaved: () => exports_saved,
22
- Service: () => Service61,
22
+ Service: () => Service76,
23
23
  UpdateInput: () => UpdateInput3,
24
- node: () => node63
24
+ node: () => node80
25
25
  });
26
26
  import { eq } from "drizzle-orm";
27
27
  import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
@@ -29,8 +29,8 @@ import { isSqlError } from "effect/sql/SqlError";
29
29
  import { Project } from "@opencode/schema/project";
30
30
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
31
31
  import { PermissionSaved } from "@opencode/schema/permission-saved";
32
- var ID7 = PermissionSaved.ID;
33
- var Info12 = PermissionSaved.Info;
32
+ var ID12 = PermissionSaved.ID;
33
+ var Info23 = PermissionSaved.Info;
34
34
  var ListInput5 = Schema.Struct({
35
35
  projectID: Project.ID.pipe(Schema.optional)
36
36
  }).annotate({ identifier: "PermissionSaved.ListInput" });
@@ -40,27 +40,27 @@ var AddInput2 = Schema.Struct({
40
40
  resources: Schema.Array(Schema.String)
41
41
  }).annotate({ identifier: "PermissionSaved.AddInput" });
42
42
  var UpdateInput3 = Schema.Struct({
43
- id: ID7,
43
+ id: ID12,
44
44
  action: Schema.String.pipe(Schema.optional),
45
45
  resource: Schema.String.pipe(Schema.optional)
46
46
  }).annotate({ identifier: "PermissionSaved.UpdateInput" });
47
47
 
48
- class NotFoundError9 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
- id: ID7
48
+ class NotFoundError10 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
49
+ id: ID12
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
54
- id: ID7,
54
+ id: ID12,
55
55
  action: Schema.String,
56
56
  resource: Schema.String
57
57
  }) {
58
58
  }
59
59
 
60
- class Service61 extends Context.Service()("@opencode/PermissionSaved") {
60
+ class Service76 extends Context.Service()("@opencode/PermissionSaved") {
61
61
  }
62
- var layer = Layer.effect(Service61, Effect.gen(function* () {
63
- const db = (yield* Service86).db;
62
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
63
+ const db = (yield* Service85).db;
64
64
  const list = Effect.fnUntraced(function* (input) {
65
65
  const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
66
66
  return rows.map(info);
@@ -69,7 +69,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
69
69
  if (!input.resources.length)
70
70
  return;
71
71
  yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
72
- id: ID7.create(),
72
+ id: ID12.create(),
73
73
  project_id: input.projectID,
74
74
  action: input.action,
75
75
  resource
@@ -78,18 +78,18 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
78
78
  const update = Effect.fn("PermissionSaved.update")(function* (input) {
79
79
  const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
80
80
  if (!current)
81
- return yield* new NotFoundError9({ id: input.id });
81
+ return yield* new NotFoundError10({ id: input.id });
82
82
  const action = input.action ?? current.action;
83
83
  const resource = input.resource ?? current.resource;
84
84
  const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
85
85
  if (!updated)
86
- return yield* new NotFoundError9({ id: input.id });
86
+ return yield* new NotFoundError10({ id: input.id });
87
87
  return info(updated);
88
88
  });
89
89
  const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
90
90
  yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
91
91
  });
92
- return Service61.of({ list, add, update, remove });
92
+ return Service76.of({ list, add, update, remove });
93
93
  }));
94
94
  var isUniqueViolation = (error) => {
95
95
  const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
@@ -107,6 +107,6 @@ var info = (row) => ({
107
107
  updated: DateTime.makeUnsafe(row.time_updated)
108
108
  }
109
109
  });
110
- var node63 = makeGlobalNode({ service: Service61, layer, deps: [node90] });
110
+ var node80 = makeGlobalNode({ service: Service76, layer, deps: [node89] });
111
111
 
112
- export { ID7, Info12, ListInput5, AddInput2, UpdateInput3, NotFoundError9, ConflictError2, Service61, node63, exports_saved };
112
+ export { ID12, Info23, ListInput5, AddInput2, UpdateInput3, NotFoundError10, ConflictError2, Service76, node80, exports_saved };
@@ -1,21 +1,21 @@
1
1
  import {
2
2
  ephemeral2,
3
- Service85,
4
- node89
5
- } from "./workspace-3scc1v2h.js";
3
+ Service84,
4
+ node88
5
+ } from "./location-services-htn30amb.js";
6
6
  import {
7
- Key3,
7
+ Key4,
8
8
  unavailable3,
9
9
  removed2,
10
- make19,
10
+ make21,
11
11
  diffByKey2
12
- } from "./workspace-t550f9t1.js";
12
+ } from "./location-services-eaj1djv9.js";
13
13
  import {
14
14
  create3
15
- } from "./workspace-rdw6cm16.js";
15
+ } from "./location-services-rdw6cm16.js";
16
16
  import {
17
17
  __export
18
- } from "./workspace-9rqn6x4v.js";
18
+ } from "./location-services-9rqn6x4v.js";
19
19
 
20
20
  // src/instruction-discovery.ts
21
21
  var exports_instruction_discovery = {};
@@ -23,11 +23,11 @@ __export(exports_instruction_discovery, {
23
23
  Event: () => Event9,
24
24
  File: () => File2,
25
25
  InstructionDiscovery: () => exports_instruction_discovery,
26
- Options: () => Options4,
27
- Service: () => Service45,
28
- configured: () => configured4,
29
- layer: () => layer18,
30
- node: () => node48
26
+ Options: () => Options6,
27
+ Service: () => Service43,
28
+ configured: () => configured6,
29
+ layer: () => layer19,
30
+ node: () => node46
31
31
  });
32
32
  import { Context, Effect, Layer, Schema } from "effect";
33
33
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -38,19 +38,19 @@ class File2 extends Schema.Class("InstructionDiscovery.File")({
38
38
  }) {
39
39
  }
40
40
  var Files = Schema.Array(File2);
41
- var key = Key3.make("core/instructions");
41
+ var key = Key4.make("core/instructions");
42
42
  var Event9 = {
43
43
  Updated: ephemeral2({ type: "instruction-discovery.updated", schema: {} })
44
44
  };
45
- var Options4 = Schema.Struct({
45
+ var Options6 = Schema.Struct({
46
46
  project: Schema.optional(Schema.Boolean),
47
47
  global: Schema.optional(Schema.Boolean)
48
48
  });
49
49
 
50
- class Service45 extends Context.Service()("@opencode/InstructionDiscovery") {
50
+ class Service43 extends Context.Service()("@opencode/InstructionDiscovery") {
51
51
  }
52
- var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
53
- const bus = yield* Service85;
52
+ var layer19 = (options) => Layer.effect(Service43, Effect.gen(function* () {
53
+ const bus = yield* Service84;
54
54
  const state = create3({
55
55
  name: "instruction-discovery",
56
56
  initial: () => ({ files: new Map, available: true }),
@@ -71,7 +71,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
71
71
  }),
72
72
  notify: () => bus.publish(Event9.Updated, {}).pipe(Effect.asVoid)
73
73
  });
74
- const source = (value) => make19({
74
+ const source = (value) => make21({
75
75
  key,
76
76
  codec: Schema.toCodecJson(Files),
77
77
  read: Effect.succeed(value),
@@ -87,7 +87,7 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
87
87
  return unavailable3;
88
88
  return Array.from(current.files.values());
89
89
  });
90
- return Service45.of({
90
+ return Service43.of({
91
91
  project: options?.project !== false,
92
92
  global: options?.global !== false,
93
93
  transform: state.transform,
@@ -101,14 +101,14 @@ var layer18 = (options) => Layer.effect(Service45, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- function configured4(options) {
104
+ function configured6(options) {
105
105
  return makeLocationNode({
106
- service: Service45,
107
- layer: layer18(options),
108
- deps: [node89]
106
+ service: Service43,
107
+ layer: layer19(options),
108
+ deps: [node88]
109
109
  });
110
110
  }
111
- var node48 = configured4();
111
+ var node46 = configured6();
112
112
  function render(files) {
113
113
  return files.map((file) => `Instructions from: ${file.path}
114
114
  ${file.content}`).join(`
@@ -139,4 +139,4 @@ ${render([after])}`;
139
139
  `);
140
140
  }
141
141
 
142
- export { File2, Event9, Options4, Service45, layer18, configured4, node48, exports_instruction_discovery };
142
+ export { File2, Event9, Options6, Service43, layer19, configured6, node46, exports_instruction_discovery };
@@ -1,39 +1,39 @@
1
1
  import {
2
2
  Failed2
3
- } from "./workspace-hgz4x7wa.js";
3
+ } from "./location-services-hgz4x7wa.js";
4
4
  import {
5
5
  execDefaults2
6
- } from "./workspace-eej6y6fw.js";
6
+ } from "./location-services-eej6y6fw.js";
7
7
  import {
8
- Service86,
9
- node90
10
- } from "./workspace-a3540p22.js";
8
+ Service85,
9
+ node89
10
+ } from "./location-services-x4kb7bna.js";
11
11
  import {
12
12
  makeUnsafe2
13
- } from "./workspace-y71avatq.js";
13
+ } from "./location-services-dpkg50ah.js";
14
14
  import {
15
15
  Binding2,
16
16
  RegistryService2,
17
- node76
18
- } from "./workspace-jnsr04qk.js";
17
+ node53
18
+ } from "./location-services-jh28hxeq.js";
19
19
  import {
20
20
  WorkspaceTable2
21
- } from "./workspace-faypxj3z.js";
21
+ } from "./location-services-faypxj3z.js";
22
22
  import {
23
23
  __export
24
- } from "./workspace-9rqn6x4v.js";
24
+ } from "./location-services-9rqn6x4v.js";
25
25
 
26
26
  // src/workspace.ts
27
27
  var exports_workspace = {};
28
28
  __export(exports_workspace, {
29
29
  CreateConflict: () => CreateConflict2,
30
- ID: () => ID10,
31
- Info: () => Info20,
30
+ ID: () => ID5,
31
+ Info: () => Info10,
32
32
  NotFound: () => NotFound2,
33
- Service: () => Service73,
33
+ Service: () => Service49,
34
34
  Workspace: () => exports_workspace,
35
- configured: () => configured9,
36
- node: () => node75
35
+ configured: () => configured8,
36
+ node: () => node52
37
37
  });
38
38
  import { Workspace } from "@opencode/schema/workspace";
39
39
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
41
41
  import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
42
42
  import { systemError } from "effect/PlatformError";
43
43
  import { make } from "effect/process/ChildProcessSpawner";
44
- var ID10 = Workspace.ID;
44
+ var ID5 = Workspace.ID;
45
45
 
46
- class Info20 extends Schema.Class("Workspace.Info")({
47
- id: ID10,
46
+ class Info10 extends Schema.Class("Workspace.Info")({
47
+ id: ID5,
48
48
  provider: Schema.String,
49
49
  binding: Binding2,
50
50
  createdAt: Schema.Number,
@@ -52,25 +52,25 @@ class Info20 extends Schema.Class("Workspace.Info")({
52
52
  }) {
53
53
  }
54
54
 
55
- class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID10 }) {
55
+ class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID5 }) {
56
56
  }
57
57
 
58
58
  class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
59
- workspaceID: ID10,
59
+ workspaceID: ID5,
60
60
  provider: Schema.String,
61
61
  existingProvider: Schema.String
62
62
  }) {
63
63
  }
64
64
 
65
- class Service73 extends Context.Service()("@opencode/Workspace") {
65
+ class Service49 extends Context.Service()("@opencode/Workspace") {
66
66
  }
67
- var configured9 = (options = {}) => makeGlobalNode({
68
- service: Service73,
67
+ var configured8 = (options = {}) => makeGlobalNode({
68
+ service: Service49,
69
69
  layer: layer(options),
70
- deps: [node90, node76]
70
+ deps: [node89, node53]
71
71
  });
72
- var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
73
- const db = (yield* Service86).db;
72
+ var layer = (options) => Layer.effect(Service49, Effect.gen(function* () {
73
+ const db = (yield* Service85).db;
74
74
  const registry = yield* RegistryService2;
75
75
  const lifetime = yield* Scope.Scope;
76
76
  const connections = new Map;
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
86
86
  return row;
87
87
  });
88
88
  const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
89
- const info = (row, binding) => new Info20({
89
+ const info = (row, binding) => new Info10({
90
90
  id: row.id,
91
91
  provider: row.provider,
92
92
  binding,
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
164
164
  yield* Scope.close(connection.scope, Exit.void);
165
165
  }).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
166
166
  }).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
167
- return Service73.of({
167
+ return Service49.of({
168
168
  create: Effect.fn("Workspace.create")(function* (input) {
169
- const workspaceID = input.id ?? ID10.create();
169
+ const workspaceID = input.id ?? ID5.create();
170
170
  const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
171
171
  if (existing) {
172
172
  if (existing.provider === input.provider)
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service73, Effect.gen(function* () {
242
242
  })
243
243
  });
244
244
  }));
245
- var node75 = configured9();
245
+ var node52 = configured8();
246
246
 
247
- export { ID10, Info20, NotFound2, CreateConflict2, Service73, configured9, node75, exports_workspace };
247
+ export { ID5, Info10, NotFound2, CreateConflict2, Service49, configured8, node52, exports_workspace };
@@ -1,44 +1,44 @@
1
1
  import {
2
- Service59
3
- } from "./workspace-gvywkdtv.js";
2
+ Service74
3
+ } from "./location-services-xjzqmp2s.js";
4
4
  import {
5
5
  MAX_MARKDOWN_BYTES2,
6
6
  convertHTMLToMarkdown2
7
- } from "./workspace-4vcrnpx2.js";
7
+ } from "./location-services-4vcrnpx2.js";
8
8
  import {
9
9
  collectBoundedResponseBody2
10
- } from "./workspace-3v8g72cx.js";
10
+ } from "./location-services-3v8g72cx.js";
11
11
  import {
12
12
  __export
13
- } from "./workspace-9rqn6x4v.js";
13
+ } from "./location-services-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/webfetch.ts
16
16
  var exports_webfetch = {};
17
17
  __export(exports_webfetch, {
18
18
  DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
19
- Input: () => Input11,
20
- MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
19
+ Input: () => Input4,
20
+ MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES3,
21
21
  MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
22
- Plugin: () => Plugin31,
22
+ Plugin: () => Plugin40,
23
23
  WebFetchTool: () => exports_webfetch,
24
24
  convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
25
- description: () => description4,
25
+ description: () => description3,
26
26
  extractTextFromHTML: () => extractTextFromHTML2,
27
- name: () => name11
27
+ name: () => name4
28
28
  });
29
29
  import { ToolFailure } from "@opencode/ai";
30
30
  import { Duration, Effect, Schema } from "effect";
31
31
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
32
32
  import { Parser } from "htmlparser2";
33
- var name11 = "webfetch";
34
- var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
33
+ var name4 = "webfetch";
34
+ var MAX_RESPONSE_BYTES3 = MAX_MARKDOWN_BYTES2;
35
35
  var DEFAULT_TIMEOUT_SECONDS2 = 30;
36
36
  var MAX_TIMEOUT_SECONDS2 = 120;
37
- var description4 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
37
+ var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
38
38
 
39
39
  Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
40
40
  var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
41
- var Input11 = Schema.Struct({
41
+ var Input4 = Schema.Struct({
42
42
  url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
43
43
  format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
44
44
  timeout: Schema.optionalKey(Timeout).annotate({
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
48
48
  var Output = Schema.Struct({
49
49
  url: Schema.String,
50
50
  contentType: Schema.String,
51
- format: Input11.fields.format,
51
+ format: Input4.fields.format,
52
52
  output: Schema.String
53
53
  });
54
54
  var acceptHeader = (format) => {
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
79
79
  throw new Error("URL must use http:// or https://");
80
80
  };
81
81
  var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
82
- var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
82
+ var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES3, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES3} byte limit)`));
83
83
  var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
84
84
  var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
85
85
  var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
92
92
  return extractTextFromHTML2(content);
93
93
  return content;
94
94
  };
95
- var Plugin31 = {
95
+ var Plugin40 = {
96
96
  id: "opencode.tool.webfetch",
97
97
  effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
98
98
  const http = yield* HttpClient.HttpClient;
99
- const permission = yield* Service59;
99
+ const permission = yield* Service74;
100
100
  yield* ctx.tool.transform((editor) => editor.add({
101
- name: name11,
101
+ name: name4,
102
102
  options: { codemode: false },
103
- description: description4,
104
- input: Input11,
103
+ description: description3,
104
+ input: Input4,
105
105
  output: Output,
106
106
  execute: (input, context) => Effect.gen(function* () {
107
107
  yield* Effect.try({
@@ -109,7 +109,7 @@ var Plugin31 = {
109
109
  catch: (error) => error
110
110
  });
111
111
  yield* permission.assert({
112
- action: name11,
112
+ action: name4,
113
113
  resources: [input.url],
114
114
  save: ["*"],
115
115
  metadata: input,
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
167
167
  parser.end();
168
168
  return text.trim();
169
169
  }
170
- export { name11, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description4, Input11, Plugin31, extractTextFromHTML2, exports_webfetch };
170
+ export { name4, MAX_RESPONSE_BYTES3, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input4, Plugin40, extractTextFromHTML2, exports_webfetch };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  kept2
3
- } from "./workspace-8mywswrd.js";
3
+ } from "./location-services-8mywswrd.js";
4
4
  import {
5
5
  NativeWindow2
6
- } from "./workspace-be6ka8gp.js";
6
+ } from "./location-services-dwkd17za.js";
7
7
 
8
8
  // src/session/runner/to-llm-message.ts
9
9
  import {