@opencode/core 0.0.0-dev-21246 → 0.0.0-dev-21253

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 +83 -83
  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/{model-qhqzagh6.js → location-service-map-04k4tfkv.js} +11 -11
  8. package/dist/chunks/{model-1khnc541.js → location-service-map-0b4vcyee.js} +10 -10
  9. package/dist/chunks/{model-6qr4j83s.js → location-service-map-0b7fzb2t.js} +7 -7
  10. package/dist/chunks/{model-0vbcp93d.js → location-service-map-0emb60td.js} +2 -2
  11. package/dist/chunks/{model-22x4nvy2.js → location-service-map-0ftb6bkr.js} +24 -24
  12. package/dist/chunks/{model-c7e58gyn.js → location-service-map-0jecb6bt.js} +14 -14
  13. package/dist/chunks/{model-aft55nha.js → location-service-map-0sapgepd.js} +11 -11
  14. package/dist/chunks/{model-athpecc5.js → location-service-map-0sgd8qaf.js} +22 -22
  15. package/dist/chunks/{model-097tdram.js → location-service-map-0xspzhtc.js} +14 -14
  16. package/dist/chunks/{model-8fqv1czf.js → location-service-map-0zcas32x.js} +20 -20
  17. package/dist/chunks/{model-vsd1gfwp.js → location-service-map-10tjy8f3.js} +27 -27
  18. package/dist/chunks/{model-j1aawj34.js → location-service-map-11vd7v3k.js} +28 -28
  19. package/dist/chunks/{model-w0wzfpd6.js → location-service-map-1a6d4tpk.js} +22 -22
  20. package/dist/chunks/{model-3pwzytv4.js → location-service-map-1az5ecc6.js} +24 -24
  21. package/dist/chunks/location-service-map-1fkhxkr9.js +257 -0
  22. package/dist/chunks/{model-8wvywagr.js → location-service-map-1s8x17fn.js} +36 -36
  23. package/dist/chunks/{model-z8ajx630.js → location-service-map-28scebvh.js} +12 -12
  24. package/dist/chunks/{model-9880wbbs.js → location-service-map-2b8txd85.js} +11 -11
  25. package/dist/chunks/{model-s5met55r.js → location-service-map-2ktf0ed2.js} +8 -8
  26. package/dist/chunks/{model-awbtd0yc.js → location-service-map-2nhbp4ey.js} +11 -11
  27. package/dist/chunks/{model-syqwr3zh.js → location-service-map-2smeayfc.js} +13 -13
  28. package/dist/chunks/{model-5r6fx5kf.js → location-service-map-2wjjq69z.js} +30 -30
  29. package/dist/chunks/{model-sxjbcd6h.js → location-service-map-2wv1w4ht.js} +26 -26
  30. package/dist/chunks/{model-ssjyj57x.js → location-service-map-2wzsrfv9.js} +6 -6
  31. package/dist/chunks/{model-8qrvq6xp.js → location-service-map-2yqzctst.js} +24 -24
  32. package/dist/chunks/{model-tqfze7qe.js → location-service-map-31gfn46a.js} +34 -34
  33. package/dist/chunks/{model-nqan7h4w.js → location-service-map-34yf9apc.js} +5 -5
  34. package/dist/chunks/{model-t9p9ds3w.js → location-service-map-3db608qv.js} +45 -45
  35. package/dist/chunks/{model-ddf16z40.js → location-service-map-3fex6f4e.js} +24 -24
  36. package/dist/chunks/{model-vcvrskz7.js → location-service-map-3gbegrpe.js} +11 -11
  37. package/dist/chunks/{model-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{model-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{model-e4n90qqz.js → location-service-map-3mhcap8g.js} +25 -25
  40. package/dist/chunks/{model-91rcp8sj.js → location-service-map-3n1f9gjw.js} +5 -5
  41. package/dist/chunks/{model-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{model-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{model-pmrbxne1.js → location-service-map-3wpps7p7.js} +16 -16
  44. package/dist/chunks/{model-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
  45. package/dist/chunks/{model-qne3fa44.js → location-service-map-43kvem2p.js} +5 -5
  46. package/dist/chunks/{model-p2a5t6n1.js → location-service-map-448df8b6.js} +13 -13
  47. package/dist/chunks/{model-2shkhq8w.js → location-service-map-47kyhsf5.js} +94 -94
  48. package/dist/chunks/{model-be0c020n.js → location-service-map-4af8amen.js} +1 -1
  49. package/dist/chunks/{model-p9ejm27k.js → location-service-map-4f1cmjbr.js} +180 -180
  50. package/dist/chunks/{model-pcvvctms.js → location-service-map-4xdpqd00.js} +23 -23
  51. package/dist/chunks/{model-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
  52. package/dist/chunks/{model-2dfjzq3d.js → location-service-map-58gf644q.js} +19 -19
  53. package/dist/chunks/{model-scv7p57g.js → location-service-map-5e1pzs32.js} +9 -9
  54. package/dist/chunks/{model-k14cytbx.js → location-service-map-5hyxmv2s.js} +18 -18
  55. package/dist/chunks/{model-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{model-d0r6ezqk.js → location-service-map-5mjy3nze.js} +8 -8
  57. package/dist/chunks/{model-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
  58. package/dist/chunks/{model-p4mj4rdp.js → location-service-map-5xtgfte3.js} +8 -8
  59. package/dist/chunks/{model-7dqw4kz8.js → location-service-map-607tc6va.js} +5 -5
  60. package/dist/chunks/{model-64wcp3ah.js → location-service-map-61ccqgbk.js} +31 -31
  61. package/dist/chunks/{model-pe8kdg2p.js → location-service-map-63axe1xw.js} +19 -19
  62. package/dist/chunks/{model-1gdg00yg.js → location-service-map-66n522bf.js} +7 -7
  63. package/dist/chunks/{model-6827pfxn.js → location-service-map-6827pfxn.js} +1 -1
  64. package/dist/chunks/{model-xatn3567.js → location-service-map-68c6bywe.js} +15 -15
  65. package/dist/chunks/{model-pkd7a947.js → location-service-map-69c1rm2y.js} +35 -35
  66. package/dist/chunks/{model-aam1wbba.js → location-service-map-6dhkbmar.js} +22 -22
  67. package/dist/chunks/{model-gvq4k2rx.js → location-service-map-6e05mvjn.js} +3 -3
  68. package/dist/chunks/{model-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
  69. package/dist/chunks/{model-mnwdfy6v.js → location-service-map-701zgde4.js} +36 -36
  70. package/dist/chunks/{model-k6zys8zm.js → location-service-map-7475ye8q.js} +19 -19
  71. package/dist/chunks/{model-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
  72. package/dist/chunks/{model-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  73. package/dist/chunks/{model-95vh4d4w.js → location-service-map-7gzr8fcx.js} +65 -65
  74. package/dist/chunks/{model-69dwh4me.js → location-service-map-7styb3mj.js} +12 -12
  75. package/dist/chunks/{model-625mrsyp.js → location-service-map-7wz66va2.js} +43 -43
  76. package/dist/chunks/{model-1xfgz0sp.js → location-service-map-84gf0929.js} +4 -4
  77. package/dist/chunks/{model-w1eejvng.js → location-service-map-84txncab.js} +5 -5
  78. package/dist/chunks/{model-51gxmejf.js → location-service-map-89xs86m8.js} +19 -19
  79. package/dist/chunks/{model-r8h9xppv.js → location-service-map-8dew01v7.js} +9 -9
  80. package/dist/chunks/{model-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
  81. package/dist/chunks/{model-qa3qhgw8.js → location-service-map-8rqycdgd.js} +7 -7
  82. package/dist/chunks/{model-n9wyj86f.js → location-service-map-8z89m2ag.js} +6 -6
  83. package/dist/chunks/{model-91qna3x0.js → location-service-map-91qna3x0.js} +3 -3
  84. package/dist/chunks/{model-87y04qby.js → location-service-map-96kdejr0.js} +12 -12
  85. package/dist/chunks/{model-5fec3t3w.js → location-service-map-97aeaand.js} +9 -9
  86. package/dist/chunks/{model-ad0pmgce.js → location-service-map-99r3jdkb.js} +4 -4
  87. package/dist/chunks/{model-5nszh0bg.js → location-service-map-9cmxz3t2.js} +24 -24
  88. package/dist/chunks/{model-2kmfbs7e.js → location-service-map-9daafeqq.js} +5 -5
  89. package/dist/chunks/{model-yhd4kr0d.js → location-service-map-9e7as449.js} +19 -19
  90. package/dist/chunks/{model-2g6dfhex.js → location-service-map-9v965wtz.js} +29 -29
  91. package/dist/chunks/{model-jhdf29st.js → location-service-map-9vrga451.js} +1 -1
  92. package/dist/chunks/{model-3d73cf36.js → location-service-map-9yj7qnam.js} +6 -6
  93. package/dist/chunks/{model-qge264qz.js → location-service-map-9z5vgmdz.js} +35 -35
  94. package/dist/chunks/{model-fe6t81kk.js → location-service-map-a2qhda9k.js} +34 -34
  95. package/dist/chunks/{model-0z1664j4.js → location-service-map-a392m9tg.js} +3 -3
  96. package/dist/chunks/{model-n4c5dz5t.js → location-service-map-a3n0rbz6.js} +8 -8
  97. package/dist/chunks/{model-gprk1h4z.js → location-service-map-a6m2mr7x.js} +11 -11
  98. package/dist/chunks/{model-7s91hvyw.js → location-service-map-a78mngf1.js} +18 -18
  99. package/dist/chunks/{model-awpj2eee.js → location-service-map-ags159dz.js} +20 -20
  100. package/dist/chunks/{model-r3berafb.js → location-service-map-ar493ya2.js} +30 -30
  101. package/dist/chunks/{model-jpnzyfkp.js → location-service-map-aranr509.js} +15 -15
  102. package/dist/chunks/{model-q9s78hn2.js → location-service-map-asrhbzgz.js} +9 -9
  103. package/dist/chunks/{model-73e3zp3f.js → location-service-map-atsmnjdq.js} +41 -41
  104. package/dist/chunks/{model-xyskky0w.js → location-service-map-av46q1hz.js} +30 -30
  105. package/dist/chunks/{model-7xbjxe45.js → location-service-map-avfwhhjy.js} +14 -14
  106. package/dist/chunks/{model-fz60qaa0.js → location-service-map-b1g4ws88.js} +1 -1
  107. package/dist/chunks/{model-80c2k4k7.js → location-service-map-b36q4kbz.js} +24 -24
  108. package/dist/chunks/{model-6rz1y2wy.js → location-service-map-b5c23w0p.js} +33 -33
  109. package/dist/chunks/{model-1ep4rre3.js → location-service-map-bzeyqsqd.js} +4 -4
  110. package/dist/chunks/{model-aeda8hqw.js → location-service-map-c1ngtfbq.js} +17 -17
  111. package/dist/chunks/{model-t0kn5a8z.js → location-service-map-c2evp3mb.js} +23 -23
  112. package/dist/chunks/{model-32y4ehgv.js → location-service-map-c39sscj7.js} +11 -11
  113. package/dist/chunks/{model-rj3eygr5.js → location-service-map-c41wscbt.js} +2 -2
  114. package/dist/chunks/{model-4npcy765.js → location-service-map-c64jw2v5.js} +4 -4
  115. package/dist/chunks/{model-sa8ekw3f.js → location-service-map-c8ax2afj.js} +2 -2
  116. package/dist/chunks/{model-atgtgdsa.js → location-service-map-ca1k71y4.js} +18 -18
  117. package/dist/chunks/{model-hn57h045.js → location-service-map-ca7w653e.js} +4 -4
  118. package/dist/chunks/{model-a3jygwg9.js → location-service-map-ce60aw2j.js} +11 -11
  119. package/dist/chunks/{model-zps3pk6h.js → location-service-map-cfbvewbn.js} +8 -8
  120. package/dist/chunks/{model-r5atchfd.js → location-service-map-chr7e2hv.js} +35 -35
  121. package/dist/chunks/{model-zkzbh4fe.js → location-service-map-cjcnyykf.js} +13 -13
  122. package/dist/chunks/{model-stapj22y.js → location-service-map-cv873j2b.js} +24 -24
  123. package/dist/chunks/{model-2sejkfem.js → location-service-map-cwa6csj7.js} +9 -9
  124. package/dist/chunks/{model-d1a28jh7.js → location-service-map-d1a28jh7.js} +2 -2
  125. package/dist/chunks/{model-b8q5jebn.js → location-service-map-d7p6t65s.js} +19 -19
  126. package/dist/chunks/{model-g9senpad.js → location-service-map-dk02pm8q.js} +27 -27
  127. package/dist/chunks/{model-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
  128. package/dist/chunks/{model-kmj26603.js → location-service-map-dq407baf.js} +3 -3
  129. package/dist/chunks/{model-drwq78ky.js → location-service-map-drwq78ky.js} +1 -1
  130. package/dist/chunks/{model-7wjtm8pe.js → location-service-map-dsh1t1z2.js} +25 -25
  131. package/dist/chunks/{model-fwfdmgk0.js → location-service-map-dtqg9ce1.js} +5 -5
  132. package/dist/chunks/{model-te6jzdmb.js → location-service-map-dw3etbem.js} +5 -5
  133. package/dist/chunks/{model-9knpn9fj.js → location-service-map-e6hb6vng.js} +9 -9
  134. package/dist/chunks/{model-5rzwp8tz.js → location-service-map-e80seqcp.js} +3 -3
  135. package/dist/chunks/{model-hgtsck7j.js → location-service-map-e9tzdgc6.js} +23 -23
  136. package/dist/chunks/{model-0gdmqesm.js → location-service-map-eaj1djv9.js} +8 -8
  137. package/dist/chunks/{model-p7pxayv7.js → location-service-map-eb7k65g0.js} +23 -23
  138. package/dist/chunks/{model-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
  139. package/dist/chunks/{model-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  140. package/dist/chunks/{model-c41dsvxf.js → location-service-map-eh6ej367.js} +5 -5
  141. package/dist/chunks/{model-4maedhka.js → location-service-map-ejjgsgye.js} +6 -6
  142. package/dist/chunks/{model-ne4b8g45.js → location-service-map-eqacf8hd.js} +51 -51
  143. package/dist/chunks/{model-dxe8y5pz.js → location-service-map-er4sfmr8.js} +4 -4
  144. package/dist/chunks/{model-sf5qjhtj.js → location-service-map-erhtex29.js} +11 -11
  145. package/dist/chunks/{model-c1fqxshp.js → location-service-map-es1vcfrp.js} +3 -3
  146. package/dist/chunks/{model-f2n192rq.js → location-service-map-f2n192rq.js} +1 -1
  147. package/dist/chunks/{model-hyq6bs5b.js → location-service-map-f5nc8xkq.js} +22 -22
  148. package/dist/chunks/{model-1n2tbqxy.js → location-service-map-f6pzc08s.js} +13 -13
  149. package/dist/chunks/{model-vd0d0qbj.js → location-service-map-famg5fp1.js} +16 -16
  150. package/dist/chunks/{model-4xpgt2w9.js → location-service-map-fb8ejb83.js} +5 -5
  151. package/dist/chunks/{model-fcy631f0.js → location-service-map-fcy631f0.js} +1 -1
  152. package/dist/chunks/{model-q38gq3gg.js → location-service-map-fvgetzaa.js} +15 -15
  153. package/dist/chunks/{model-q0nrsbdj.js → location-service-map-fww2ha2b.js} +10 -10
  154. package/dist/chunks/{model-hz4f5mwj.js → location-service-map-fxkn1a9p.js} +9 -9
  155. package/dist/chunks/{model-vaj0eftp.js → location-service-map-fxmbkhcp.js} +5 -5
  156. package/dist/chunks/{model-aq8vh238.js → location-service-map-g6qfs4dp.js} +39 -39
  157. package/dist/chunks/{model-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  158. package/dist/chunks/{model-dxbxxdsx.js → location-service-map-gejxznp6.js} +3 -3
  159. package/dist/chunks/{model-addxnjmp.js → location-service-map-gqtdsdt7.js} +4 -4
  160. package/dist/chunks/{model-251hxpd6.js → location-service-map-gsx6pe7c.js} +2 -2
  161. package/dist/chunks/{model-52dsmx63.js → location-service-map-gws55fmq.js} +25 -25
  162. package/dist/chunks/{model-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{model-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
  164. package/dist/chunks/location-service-map-ht5y0zrb.js +18 -0
  165. package/dist/chunks/location-service-map-hv6btyz4.js +517 -0
  166. package/dist/chunks/{model-yg5d8nnt.js → location-service-map-hwtpwc3p.js} +31 -31
  167. package/dist/chunks/{model-9ersraf9.js → location-service-map-j1zmzch7.js} +36 -36
  168. package/dist/chunks/{model-3ppptnan.js → location-service-map-j5w2yx54.js} +6 -6
  169. package/dist/chunks/{model-1jyb01pe.js → location-service-map-jds9f11v.js} +18 -18
  170. package/dist/chunks/{model-es2a07ty.js → location-service-map-jj12p2mg.js} +13 -13
  171. package/dist/chunks/{model-v5t5db04.js → location-service-map-jjmjy7n9.js} +13 -13
  172. package/dist/chunks/{model-y7nndgyc.js → location-service-map-jjwt9gb5.js} +9 -9
  173. package/dist/chunks/{model-rtaw32ca.js → location-service-map-jjzg35dh.js} +9 -9
  174. package/dist/chunks/{model-qn5g76bm.js → location-service-map-jnzjas8r.js} +9 -9
  175. package/dist/chunks/{model-1hq49wfp.js → location-service-map-jx0nnva4.js} +28 -28
  176. package/dist/chunks/{model-gkp0ddc4.js → location-service-map-k5qd8j02.js} +8 -8
  177. package/dist/chunks/{model-graqqgqk.js → location-service-map-k796dn9k.js} +18 -18
  178. package/dist/chunks/{model-4w4b1d7d.js → location-service-map-ka04c9zv.js} +23 -23
  179. package/dist/chunks/{model-khmqacep.js → location-service-map-khmqacep.js} +1 -1
  180. package/dist/chunks/{model-kwb1v3vj.js → location-service-map-kwb1v3vj.js} +1 -1
  181. package/dist/chunks/{model-qcr1ft2j.js → location-service-map-m5p5j9xj.js} +14 -14
  182. package/dist/chunks/{model-ankjvyyp.js → location-service-map-m8rw2j5b.js} +17 -17
  183. package/dist/chunks/{model-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{model-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
  185. package/dist/chunks/{model-kwrthnf5.js → location-service-map-mgba95gv.js} +11 -11
  186. package/dist/chunks/{model-49npcfp6.js → location-service-map-mm2knkg8.js} +2 -2
  187. package/dist/chunks/{model-1aqxs61q.js → location-service-map-mnx7k8vc.js} +13 -13
  188. package/dist/chunks/{model-pdpqmpbc.js → location-service-map-ms4gjrr7.js} +24 -24
  189. package/dist/chunks/{model-e5shmecn.js → location-service-map-n0w78gez.js} +25 -25
  190. package/dist/chunks/{model-07pzcvjy.js → location-service-map-n3w8tb9d.js} +4 -4
  191. package/dist/chunks/{model-a9g1m0ex.js → location-service-map-n5r3786w.js} +26 -26
  192. package/dist/chunks/{model-hmn8skn7.js → location-service-map-ndq1ymza.js} +32 -32
  193. package/dist/chunks/{model-rcz188q3.js → location-service-map-nj3favr9.js} +4 -4
  194. package/dist/chunks/{model-wv1zjxz8.js → location-service-map-npdy8e12.js} +70 -70
  195. package/dist/chunks/{model-n9rxncxh.js → location-service-map-nvs26cvk.js} +28 -28
  196. package/dist/chunks/{model-ca0q5yrm.js → location-service-map-nvt3sax2.js} +29 -29
  197. package/dist/chunks/{model-rym9dfdm.js → location-service-map-pdfn7pxf.js} +17 -17
  198. package/dist/chunks/{model-887mgra2.js → location-service-map-pgdtwhhg.js} +59 -59
  199. package/dist/chunks/{model-hyhre3w8.js → location-service-map-phzapgrk.js} +6 -6
  200. package/dist/chunks/{model-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  201. package/dist/chunks/{model-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  202. package/dist/chunks/{model-qzyrmewc.js → location-service-map-pmwgnym2.js} +10 -10
  203. package/dist/chunks/{model-t32m0x77.js → location-service-map-ppaqnmap.js} +16 -16
  204. package/dist/chunks/{model-5z23qfcc.js → location-service-map-ptgg3xn9.js} +21 -21
  205. package/dist/chunks/{model-70hdk6w9.js → location-service-map-pvwg65fr.js} +18 -18
  206. package/dist/chunks/{model-y43trhdb.js → location-service-map-qfm8vkbj.js} +5 -5
  207. package/dist/chunks/{model-9n6penxb.js → location-service-map-qgfpz6tp.js} +9 -9
  208. package/dist/chunks/{model-k5asgy6z.js → location-service-map-qn8kc66f.js} +39 -39
  209. package/dist/chunks/{model-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
  210. package/dist/chunks/{model-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-zv6mcmn5.js → location-service-map-r06414qr.js} +10 -10
  212. package/dist/chunks/{model-h5b4kcx3.js → location-service-map-r3q6pmcz.js} +6 -6
  213. package/dist/chunks/{model-aykdkgmz.js → location-service-map-r58bmem3.js} +31 -31
  214. package/dist/chunks/{model-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  215. package/dist/chunks/{model-4347sc3p.js → location-service-map-rjqn9db2.js} +81 -81
  216. package/dist/chunks/{model-j8m1p4p1.js → location-service-map-rk7s9xkn.js} +4 -4
  217. package/dist/chunks/{model-6pc27hjz.js → location-service-map-rkprpv83.js} +6 -6
  218. package/dist/chunks/{model-gsf378dw.js → location-service-map-rnbsmhp9.js} +35 -35
  219. package/dist/chunks/{model-41wwwxfc.js → location-service-map-rp7q7g95.js} +5 -5
  220. package/dist/chunks/{model-757464b7.js → location-service-map-rqqqmm2x.js} +8 -8
  221. package/dist/chunks/{model-5dkn69vz.js → location-service-map-rywzfdxh.js} +4 -4
  222. package/dist/chunks/{model-yex8rs33.js → location-service-map-rzn2an3n.js} +11 -11
  223. package/dist/chunks/{model-7bs235hv.js → location-service-map-sgkpgvr9.js} +14 -14
  224. package/dist/chunks/{model-agbqvzyh.js → location-service-map-snd0hbat.js} +45 -45
  225. package/dist/chunks/{model-zx174a2x.js → location-service-map-sydtq5bh.js} +18 -18
  226. package/dist/chunks/{model-syv4x271.js → location-service-map-syv4x271.js} +1 -1
  227. package/dist/chunks/{model-281szs7x.js → location-service-map-t31wr33a.js} +50 -50
  228. package/dist/chunks/{model-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-yg1rf1wp.js → location-service-map-tbt64xkh.js} +1 -1
  230. package/dist/chunks/{model-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  231. package/dist/chunks/{model-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  232. package/dist/chunks/{model-ws4vyhwj.js → location-service-map-thrv6eee.js} +11 -11
  233. package/dist/chunks/{model-rert0e01.js → location-service-map-tkb22qbm.js} +2 -2
  234. package/dist/chunks/{model-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
  235. package/dist/chunks/{model-4zknrba3.js → location-service-map-txj2b6t6.js} +12 -12
  236. package/dist/chunks/{model-g70banep.js → location-service-map-ty26n7g5.js} +28 -28
  237. package/dist/chunks/{model-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
  238. package/dist/chunks/{model-cdzn34jf.js → location-service-map-v0p83vcd.js} +8 -8
  239. package/dist/chunks/{model-z5cwttbn.js → location-service-map-v1hpn28h.js} +7 -7
  240. package/dist/chunks/{model-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
  241. package/dist/chunks/{model-v3ff97sk.js → location-service-map-va6wyqyx.js} +50 -50
  242. package/dist/chunks/{model-t0h2n3rs.js → location-service-map-vcw4d86h.js} +19 -19
  243. package/dist/chunks/{model-1t0smfc2.js → location-service-map-ve88pny4.js} +8 -8
  244. package/dist/chunks/{model-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  245. package/dist/chunks/{model-n7y0njwp.js → location-service-map-vgdxb0jt.js} +22 -22
  246. package/dist/chunks/{model-ny8kxbfq.js → location-service-map-vkaav4je.js} +8 -8
  247. package/dist/chunks/{model-qg72ng58.js → location-service-map-vkc6zmcv.js} +26 -26
  248. package/dist/chunks/{model-z4gkakm8.js → location-service-map-vvp3v339.js} +13 -13
  249. package/dist/chunks/{model-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
  250. package/dist/chunks/{model-sgtrt5z9.js → location-service-map-w11h8f2h.js} +21 -21
  251. package/dist/chunks/{model-ysf596fe.js → location-service-map-w3207yhs.js} +1 -1
  252. package/dist/chunks/{model-15wyy7w2.js → location-service-map-w37ctcs1.js} +5 -5
  253. package/dist/chunks/{model-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{model-hrd0r9w9.js → location-service-map-w86w6dhq.js} +40 -40
  255. package/dist/chunks/{model-tnj6rg6w.js → location-service-map-wb7w7em4.js} +7 -7
  256. package/dist/chunks/{model-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  257. package/dist/chunks/{model-czn9w0x8.js → location-service-map-wex158da.js} +11 -11
  258. package/dist/chunks/{model-4fj1av0q.js → location-service-map-wg6gta6c.js} +51 -51
  259. package/dist/chunks/{model-1v2yvtm3.js → location-service-map-wvg18ghq.js} +25 -25
  260. package/dist/chunks/{model-ancsbgw1.js → location-service-map-wx3hxqax.js} +35 -35
  261. package/dist/chunks/{model-71vf3ngy.js → location-service-map-wxg87nfm.js} +51 -51
  262. package/dist/chunks/{model-4tr9sj3s.js → location-service-map-x5d7sdr8.js} +6 -6
  263. package/dist/chunks/{model-0p8327n1.js → location-service-map-x6mp1g8n.js} +11 -11
  264. package/dist/chunks/{model-tyj5kcgj.js → location-service-map-x8nj1mzk.js} +5 -5
  265. package/dist/chunks/{model-dqkkx36v.js → location-service-map-x8sfg8by.js} +4 -4
  266. package/dist/chunks/{model-4pkmv55a.js → location-service-map-xc22q6s2.js} +17 -17
  267. package/dist/chunks/{model-ej3ps13p.js → location-service-map-xtkp9zx0.js} +14 -14
  268. package/dist/chunks/{model-0m7ycz82.js → location-service-map-y0b997cv.js} +15 -15
  269. package/dist/chunks/{model-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  270. package/dist/chunks/{model-mzv3dx1f.js → location-service-map-y4hpq52y.js} +19 -19
  271. package/dist/chunks/{model-s1kvmffy.js → location-service-map-y56ehv6b.js} +9 -9
  272. package/dist/chunks/{model-21apjdyf.js → location-service-map-y6pmxrw9.js} +9 -9
  273. package/dist/chunks/{model-8tsdq50x.js → location-service-map-ybfnsx4m.js} +4 -4
  274. package/dist/chunks/{model-my4zabxr.js → location-service-map-yeejah88.js} +3 -3
  275. package/dist/chunks/{model-t1jfcm4z.js → location-service-map-yw6r4h5c.js} +6 -6
  276. package/dist/chunks/{model-ywt8jp22.js → location-service-map-ywt8jp22.js} +2 -2
  277. package/dist/chunks/{model-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-rr7kcg9w.js → location-service-map-z0wyxbsd.js} +15 -15
  279. package/dist/chunks/{model-z18fegx4.js → location-service-map-z18fegx4.js} +1 -1
  280. package/dist/chunks/{model-b8q0dhmk.js → location-service-map-z5gskwp1.js} +32 -32
  281. package/dist/chunks/{model-ckyjf00w.js → location-service-map-z7kyq5k2.js} +39 -39
  282. package/dist/chunks/location-service-map-zgc7v4ez.js +26 -0
  283. package/dist/chunks/{model-44zr7wmx.js → location-service-map-zpmvmy5f.js} +4 -4
  284. package/dist/chunks/{model-bn1qxpvg.js → location-service-map-zprbgp1k.js} +20 -20
  285. package/dist/chunks/{model-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{model-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  287. package/dist/chunks/{model-3ev0eyv6.js → location-service-map-zyeqhx24.js} +18 -18
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +3 -3
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +87 -87
  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 +204 -204
  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 +114 -114
  304. package/dist/config/plugin/location-watcher.js +118 -118
  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 +3 -3
  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 +117 -117
  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 +95 -95
  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 +6 -6
  423. package/dist/filesystem/location-watcher.js +221 -221
  424. package/dist/filesystem/protected.js +1 -1
  425. package/dist/filesystem/search.js +101 -101
  426. package/dist/filesystem/watcher-binding.js +3 -3
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +100 -100
  429. package/dist/form.js +86 -86
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +89 -89
  432. package/dist/generate.js +108 -108
  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 +101 -101
  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 +86 -86
  458. package/dist/instructions/builtins.js +87 -87
  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 +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +75 -75
  465. package/dist/location-activity.js +136 -136
  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 +89 -89
  470. package/dist/managed-policy.js +8 -8
  471. package/dist/mcp/client.js +93 -93
  472. package/dist/mcp/index.js +109 -109
  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 +101 -101
  478. package/dist/model-resolver.js +100 -100
  479. package/dist/model-retry.js +1 -1
  480. package/dist/model.js +100 -100
  481. package/dist/models-dev.js +109 -109
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +86 -86
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +121 -121
  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 +88 -88
  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 +115 -115
  501. package/dist/plugin/optimize.js +4 -4
  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 +118 -118
  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 +123 -123
  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 +130 -130
  544. package/dist/plugin/source-directory.js +1 -1
  545. package/dist/plugin/supervisor.js +349 -349
  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 +2 -2
  556. package/dist/plugin/websearch/parallel.js +6 -6
  557. package/dist/plugin/websearch/tavily.js +6 -6
  558. package/dist/plugin/websearch/tinyfish.js +4 -4
  559. package/dist/plugin.js +217 -217
  560. package/dist/project/schema.js +8 -8
  561. package/dist/project/sql.js +4 -4
  562. package/dist/project.js +92 -92
  563. package/dist/provider.js +99 -99
  564. package/dist/pty/protocol.js +1 -1
  565. package/dist/pty/ticket.js +1 -1
  566. package/dist/pty.js +99 -99
  567. package/dist/reference/instructions.js +91 -91
  568. package/dist/reference.js +93 -93
  569. package/dist/repository-cache.js +83 -83
  570. package/dist/repository.js +3 -3
  571. package/dist/ripgrep/binary.js +2 -2
  572. package/dist/ripgrep.js +99 -99
  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 +132 -132
  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 +88 -88
  588. package/dist/session/info.js +3 -3
  589. package/dist/session/instruction-entry.js +79 -79
  590. package/dist/session/instruction-state.js +8 -8
  591. package/dist/session/instructions.js +95 -95
  592. package/dist/session/message-updater.js +2 -2
  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 +88 -88
  598. package/dist/session/prompt.js +107 -107
  599. package/dist/session/provider-context.js +3 -3
  600. package/dist/session/revert.js +92 -92
  601. package/dist/session/run-coordinator.js +1 -1
  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 +2 -2
  610. package/dist/session/schema.js +5 -5
  611. package/dist/session/session.js +162 -162
  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 +89 -89
  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 +217 -217
  623. package/dist/session/usage.js +1 -1
  624. package/dist/session.js +212 -212
  625. package/dist/shell/parse.js +8 -8
  626. package/dist/shell/result.js +1 -1
  627. package/dist/shell/scan.js +1 -1
  628. package/dist/shell/select.js +11 -11
  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 +114 -114
  633. package/dist/snapshot.js +93 -93
  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 +116 -116
  641. package/dist/tool/plugin/grep.js +126 -126
  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 +105 -105
  646. package/dist/tool/plugin/read.js +125 -125
  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 +110 -110
  652. package/dist/tool/plugin/websearch.js +114 -114
  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 +5 -5
  668. package/dist/v1/config/command.js +5 -5
  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 +80 -80
  681. package/dist/wellknown/plugin.js +78 -78
  682. package/dist/wellknown.js +83 -83
  683. package/dist/workspace/driver.js +5 -5
  684. package/dist/workspace/sql.js +1 -1
  685. package/dist/workspace.js +82 -82
  686. package/dist/worktree/directory.js +2 -2
  687. package/dist/worktree/git.js +10 -10
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree/strategies.js +91 -91
  690. package/dist/worktree.js +96 -96
  691. package/package.json +8 -8
  692. package/dist/chunks/model-4v23spqy.js +0 -257
  693. package/dist/chunks/model-7bkvk8rj.js +0 -26
  694. package/dist/chunks/model-dw7nrsaq.js +0 -517
  695. package/dist/chunks/model-rap9a73h.js +0 -18
  696. /package/dist/chunks/{model-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{model-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{model-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{model-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{model-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{model-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  702. /package/dist/chunks/{model-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{model-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{model-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
  705. /package/dist/chunks/{model-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  706. /package/dist/chunks/{model-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  707. /package/dist/chunks/{model-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  708. /package/dist/chunks/{model-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
  709. /package/dist/chunks/{model-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  710. /package/dist/chunks/{model-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  711. /package/dist/chunks/{model-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  712. /package/dist/chunks/{model-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  713. /package/dist/chunks/{model-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  714. /package/dist/chunks/{model-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  715. /package/dist/chunks/{model-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  716. /package/dist/chunks/{model-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  717. /package/dist/chunks/{model-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  718. /package/dist/chunks/{model-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
  719. /package/dist/chunks/{model-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  720. /package/dist/chunks/{model-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  721. /package/dist/chunks/{model-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  722. /package/dist/chunks/{model-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
  723. /package/dist/chunks/{model-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  724. /package/dist/chunks/{model-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  725. /package/dist/chunks/{model-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
  726. /package/dist/chunks/{model-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  727. /package/dist/chunks/{model-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  728. /package/dist/chunks/{model-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  729. /package/dist/chunks/{model-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  730. /package/dist/chunks/{model-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  731. /package/dist/chunks/{model-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  732. /package/dist/chunks/{model-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  733. /package/dist/chunks/{model-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  734. /package/dist/chunks/{model-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  735. /package/dist/chunks/{model-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  736. /package/dist/chunks/{model-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  737. /package/dist/chunks/{model-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  738. /package/dist/chunks/{model-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  739. /package/dist/chunks/{model-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  740. /package/dist/chunks/{model-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  741. /package/dist/chunks/{model-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  742. /package/dist/chunks/{model-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  743. /package/dist/chunks/{model-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  744. /package/dist/chunks/{model-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  745. /package/dist/chunks/{model-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  746. /package/dist/chunks/{model-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  747. /package/dist/chunks/{model-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  748. /package/dist/chunks/{model-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  749. /package/dist/chunks/{model-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  750. /package/dist/chunks/{model-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  751. /package/dist/chunks/{model-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  752. /package/dist/chunks/{model-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  753. /package/dist/chunks/{model-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  754. /package/dist/chunks/{model-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  755. /package/dist/chunks/{model-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  756. /package/dist/chunks/{model-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
  757. /package/dist/chunks/{model-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  758. /package/dist/chunks/{model-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  759. /package/dist/chunks/{model-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  760. /package/dist/chunks/{model-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  761. /package/dist/chunks/{model-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  762. /package/dist/chunks/{model-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  763. /package/dist/chunks/{model-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
  764. /package/dist/chunks/{model-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  765. /package/dist/chunks/{model-m18g726c.js → location-service-map-m18g726c.js} +0 -0
  766. /package/dist/chunks/{model-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  767. /package/dist/chunks/{model-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  768. /package/dist/chunks/{model-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  769. /package/dist/chunks/{model-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  770. /package/dist/chunks/{model-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  771. /package/dist/chunks/{model-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
  772. /package/dist/chunks/{model-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
  773. /package/dist/chunks/{model-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  774. /package/dist/chunks/{model-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  775. /package/dist/chunks/{model-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  776. /package/dist/chunks/{model-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  777. /package/dist/chunks/{model-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  778. /package/dist/chunks/{model-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  779. /package/dist/chunks/{model-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  780. /package/dist/chunks/{model-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  781. /package/dist/chunks/{model-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  782. /package/dist/chunks/{model-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
  784. /package/dist/chunks/{model-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  785. /package/dist/chunks/{model-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
  786. /package/dist/chunks/{model-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  787. /package/dist/chunks/{model-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
  788. /package/dist/chunks/{model-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  789. /package/dist/chunks/{model-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  790. /package/dist/chunks/{model-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  791. /package/dist/chunks/{model-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  792. /package/dist/chunks/{model-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  793. /package/dist/chunks/{model-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  794. /package/dist/chunks/{model-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  795. /package/dist/chunks/{model-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
  796. /package/dist/chunks/{model-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-z5v4ffb3.js";
4
- import {
5
- Service86,
6
- node90
7
- } from "./model-gprk1h4z.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
8
4
  import {
9
5
  Service85,
10
6
  node89
11
- } from "./model-vd0d0qbj.js";
7
+ } from "./location-service-map-a6m2mr7x.js";
12
8
  import {
13
- Service82,
14
- node86
15
- } from "./model-69dwh4me.js";
9
+ Service84,
10
+ node88
11
+ } from "./location-service-map-famg5fp1.js";
12
+ import {
13
+ Service86,
14
+ node90
15
+ } from "./location-service-map-7styb3mj.js";
16
16
  import {
17
- ID16,
17
+ ID18,
18
18
  Current3,
19
- Info28,
19
+ Info30,
20
20
  UpdateInput5,
21
- Event19,
21
+ Event21,
22
22
  Vcs3
23
- } from "./model-q9s78hn2.js";
23
+ } from "./location-service-map-asrhbzgz.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./model-rj3eygr5.js";
27
+ } from "./location-service-map-c41wscbt.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./model-sa8ekw3f.js";
30
+ } from "./location-service-map-c8ax2afj.js";
31
31
  import {
32
32
  __export
33
- } from "./model-9rqn6x4v.js";
33
+ } from "./location-service-map-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID15,
40
- Info: () => Info27,
41
- NotFoundError: () => NotFoundError11,
39
+ ID: () => ID17,
40
+ Info: () => Info29,
41
+ NotFoundError: () => NotFoundError12,
42
42
  Project: () => exports_project,
43
- Service: () => Service81,
43
+ Service: () => Service83,
44
44
  UpdateInput: () => UpdateInput4,
45
45
  Vcs: () => Vcs2,
46
- node: () => node85,
46
+ node: () => node87,
47
47
  root: () => root2,
48
48
  sweepNode: () => sweepNode2
49
49
  });
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
56
56
  import { AppProcess } from "@opencode/util/process";
57
57
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
58
58
  import { Hash } from "@opencode/util/hash";
59
- var ID15 = ID16;
59
+ var ID17 = ID18;
60
60
  var Vcs2 = Vcs3;
61
61
  var Current2 = Current3;
62
- var Info27 = Info28;
62
+ var Info29 = Info30;
63
63
  var UpdateInput4 = UpdateInput5;
64
64
 
65
- class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
66
- projectID: ID15
65
+ class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
66
+ projectID: ID17
67
67
  }) {
68
68
  }
69
69
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
74
74
  var ACTIVATE_INTERVAL = 60000;
75
75
  var SWEEP_INTERVAL = Duration.hours(1);
76
76
 
77
- class Service81 extends Context.Service()("@opencode/Project") {
77
+ class Service83 extends Context.Service()("@opencode/Project") {
78
78
  }
79
79
  function fromRow(row) {
80
80
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -98,12 +98,12 @@ function fromRow(row) {
98
98
  sandboxes: row.sandboxes
99
99
  };
100
100
  }
101
- var layer = Layer.effect(Service81, Effect.gen(function* () {
101
+ var layer = Layer.effect(Service83, Effect.gen(function* () {
102
102
  const fs = yield* FSUtil.Service;
103
- const git = yield* Service82;
103
+ const git = yield* Service86;
104
104
  const proc = yield* AppProcess.Service;
105
- const bus = yield* Service85;
106
- const db = (yield* Service86).db;
105
+ const bus = yield* Service84;
106
+ const db = (yield* Service85).db;
107
107
  const announcing = new Set;
108
108
  const persist = Effect.fnUntraced(function* (project) {
109
109
  const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
@@ -112,7 +112,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
112
112
  const replaced = previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true))) ? yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie) : undefined;
113
113
  const changed = replaced ?? unarchived;
114
114
  if (changed)
115
- yield* bus.publish(Event19.Updated, fromRow(changed));
115
+ yield* bus.publish(Event21.Updated, fromRow(changed));
116
116
  if (!project.vcs)
117
117
  return project;
118
118
  const directories = [
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
148
148
  yield* bus.publish(Worktree.Event.Resolved, {
149
149
  projectID: item.projectID,
150
150
  directory: item.directory,
151
- previous: project.previous ?? ID15.global,
151
+ previous: project.previous ?? ID17.global,
152
152
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
153
153
  }, {
154
154
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -171,9 +171,9 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
171
171
  time_updated: Date.now()
172
172
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
173
173
  if (!row)
174
- return yield* new NotFoundError11({ projectID: input.projectID });
174
+ return yield* new NotFoundError12({ projectID: input.projectID });
175
175
  const project = fromRow(row);
176
- yield* bus.publish(Event19.Updated, project);
176
+ yield* bus.publish(Event21.Updated, project);
177
177
  return project;
178
178
  });
179
179
  const activated = new Map;
@@ -184,10 +184,10 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
184
184
  activated.set(projectID, now);
185
185
  const row = yield* db.update(ProjectTable2).set({ time_active: now, time_updated: sql`${ProjectTable2.time_updated}` }).where(eq(ProjectTable2.id, projectID)).returning().get().pipe(Effect.orDie);
186
186
  if (row)
187
- yield* bus.publish(Event19.Updated, fromRow(row));
187
+ yield* bus.publish(Event21.Updated, fromRow(row));
188
188
  });
189
189
  const cached = Effect.fnUntraced(function* (dir) {
190
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
190
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
191
191
  return;
192
192
  }));
193
193
  });
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
198
198
  const normalized = url(origin);
199
199
  if (!normalized)
200
200
  return;
201
- return ID15.make(Hash.fast(`git-remote:${normalized}`));
201
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
202
202
  });
203
203
  function url(input) {
204
204
  const value = input.trim();
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
223
223
  }
224
224
  const rootCommit = Effect.fnUntraced(function* (repo) {
225
225
  const root = (yield* git.history.rootCommits(repo))[0];
226
- return root ? ID15.make(root) : undefined;
226
+ return root ? ID17.make(root) : undefined;
227
227
  });
228
228
  const hgRoot = Effect.fnUntraced(function* (worktree) {
229
229
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
239
239
  return;
240
240
  const node = result.stdout.toString("utf8").split(`
241
241
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
242
- return node ? ID15.make(node) : undefined;
242
+ return node ? ID17.make(node) : undefined;
243
243
  });
244
244
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
245
245
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
248
248
  const id = previous ?? (yield* hgRoot(worktree));
249
249
  return {
250
250
  previous,
251
- id: id ?? ID15.global,
251
+ id: id ?? ID17.global,
252
252
  directory: worktree,
253
253
  vcs: { type: "hg", store }
254
254
  };
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
265
265
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
266
266
  return yield* persist({
267
267
  previous,
268
- id: id ?? ID15.global,
268
+ id: id ?? ID17.global,
269
269
  directory: repo.worktree,
270
270
  canonical,
271
271
  vcs: { type: "git", store: repo.commonDirectory }
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
279
279
  });
280
280
  }
281
281
  return yield* persist({
282
- id: ID15.make(Hash.fast(`directory:${directory}`)),
282
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
283
283
  directory,
284
284
  canonical: directory,
285
285
  vcs: undefined
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
288
288
  const sweep = Effect.fn("Project.sweep")(function* () {
289
289
  const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
290
290
  const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
291
- const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID15.global))).all().pipe(Effect.orDie);
291
+ const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID17.global))).all().pipe(Effect.orDie);
292
292
  const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
293
293
  const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
294
294
  yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
@@ -301,23 +301,23 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
301
301
  return;
302
302
  const row = yield* db.update(ProjectTable2).set(main ? { worktree: main.directory } : { time_archived: Date.now(), time_updated: sql`${ProjectTable2.time_updated}` }).where(and(eq(ProjectTable2.id, project.id), idle)).returning().get().pipe(Effect.orDie);
303
303
  if (row)
304
- yield* bus.publish(Event19.Updated, fromRow(row));
304
+ yield* bus.publish(Event21.Updated, fromRow(row));
305
305
  }), { concurrency: 8, discard: true });
306
306
  });
307
- return Service81.of({ list, update, activate, resolve, sweep });
307
+ return Service83.of({ list, update, activate, resolve, sweep });
308
308
  }));
309
- var node85 = makeGlobalNode({
310
- service: Service81,
309
+ var node87 = makeGlobalNode({
310
+ service: Service83,
311
311
  layer,
312
- deps: [node89, node90, FSUtil.node, node86, AppProcess.node]
312
+ deps: [node88, node89, FSUtil.node, node90, AppProcess.node]
313
313
  });
314
314
  var sweepNode2 = makeGlobalNode({
315
315
  name: "project-archive-sweep",
316
316
  layer: Layer.effectDiscard(Effect.gen(function* () {
317
- const project = yield* Service81;
317
+ const project = yield* Service83;
318
318
  yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
319
319
  })),
320
- deps: [node85]
320
+ deps: [node87]
321
321
  });
322
322
 
323
- export { ID15, Vcs2, Current2, Info27, UpdateInput4, NotFoundError11, root2, Service81, node85, sweepNode2, exports_project };
323
+ export { ID17, Vcs2, Current2, Info29, UpdateInput4, NotFoundError12, root2, Service83, node87, sweepNode2, exports_project };
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID12
3
- } from "./model-r3berafb.js";
2
+ ID8
3
+ } from "./location-service-map-ar493ya2.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./model-1xfgz0sp.js";
6
+ } from "./location-service-map-84gf0929.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID12.make("cloudflare-ai-gateway");
13
+ var providerID = ID8.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  useragent2
3
- } from "./model-zps3pk6h.js";
3
+ } from "./location-service-map-cfbvewbn.js";
4
4
  import {
5
5
  OAuth3,
6
- Service78
7
- } from "./model-qge264qz.js";
6
+ Service72
7
+ } from "./location-service-map-9z5vgmdz.js";
8
8
  import {
9
- ID13,
9
+ ID9,
10
10
  MethodID2
11
- } from "./model-6rz1y2wy.js";
11
+ } from "./location-service-map-b5c23w0p.js";
12
12
  import {
13
- ID12,
13
+ ID8,
14
14
  mergeOverlay2
15
- } from "./model-r3berafb.js";
15
+ } from "./location-service-map-ar493ya2.js";
16
16
 
17
17
  // src/plugin/provider/xai.ts
18
18
  import { define } from "@opencode/plugin/effect/plugin";
@@ -24,7 +24,7 @@ var scope = "openid profile email offline_access grok-cli:access api:access";
24
24
  var pollingSafetyMargin = 3000;
25
25
  var browserMethodID = MethodID2.make("browser");
26
26
  var deviceMethodID = MethodID2.make("device");
27
- var providerID = ID12.make("xai");
27
+ var providerID = ID8.make("xai");
28
28
  var Token = Schema.Struct({
29
29
  access_token: Schema.String,
30
30
  refresh_token: Schema.optional(Schema.String),
@@ -44,7 +44,7 @@ var DeviceError = Schema.Struct({
44
44
  });
45
45
  var decodeDeviceError = Schema.decodeUnknownOption(Schema.fromJsonString(DeviceError));
46
46
  var device = (app) => ({
47
- integrationID: ID13.make("xai"),
47
+ integrationID: ID9.make("xai"),
48
48
  method: {
49
49
  id: deviceMethodID,
50
50
  type: "oauth",
@@ -69,8 +69,8 @@ var device = (app) => ({
69
69
  var XAIPlugin2 = define({
70
70
  id: "opencode.provider.xai",
71
71
  effect: Effect.fn(function* (ctx) {
72
- const credentials = yield* Service78;
73
- yield* Effect.forEach(yield* credentials.list(ID13.make("xai")), (credential) => {
72
+ const credentials = yield* Service72;
73
+ yield* Effect.forEach(yield* credentials.list(ID9.make("xai")), (credential) => {
74
74
  if (credential.value.type !== "oauth" || credential.value.methodID !== browserMethodID)
75
75
  return Effect.void;
76
76
  return credentials.update(credential.id, {
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./model-qnc92qwc.js";
4
+ } from "./location-service-map-qnc92qwc.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./model-qfa1cgps.js";
7
+ } from "./location-service-map-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./model-rj3eygr5.js";
10
+ } from "./location-service-map-c41wscbt.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/session/run-coordinator.ts
6
6
  var exports_run_coordinator = {};
@@ -1,29 +1,29 @@
1
1
  import {
2
- ID18,
3
- Service84
4
- } from "./model-3pwzytv4.js";
2
+ ID15,
3
+ Service81
4
+ } from "./location-service-map-1az5ecc6.js";
5
5
  import {
6
- Service80
7
- } from "./model-pmrbxne1.js";
6
+ Service82
7
+ } from "./location-service-map-3wpps7p7.js";
8
8
  import {
9
- Service61
10
- } from "./model-v3ff97sk.js";
9
+ Service40
10
+ } from "./location-service-map-va6wyqyx.js";
11
11
  import {
12
- Service65,
12
+ Service50,
13
13
  args2
14
- } from "./model-0m7ycz82.js";
14
+ } from "./location-service-map-y0b997cv.js";
15
15
  import {
16
- Service22
17
- } from "./model-2shkhq8w.js";
16
+ Service19
17
+ } from "./location-service-map-47kyhsf5.js";
18
18
  import {
19
- Service8
20
- } from "./model-b8q5jebn.js";
19
+ Service10
20
+ } from "./location-service-map-d7p6t65s.js";
21
21
  import {
22
22
  parseOption2
23
- } from "./model-8m6m0r52.js";
23
+ } from "./location-service-map-8m6m0r52.js";
24
24
  import {
25
25
  __export
26
- } from "./model-9rqn6x4v.js";
26
+ } from "./location-service-map-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/command.ts
29
29
  var exports_command = {};
@@ -44,7 +44,7 @@ var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
44
44
  var Plugin19 = define({
45
45
  id: "opencode.config.command",
46
46
  effect: Effect.fn(function* (ctx) {
47
- const config = yield* Service61;
47
+ const config = yield* Service40;
48
48
  const fs = yield* FSUtil.Service;
49
49
  const loadEntry = Effect.fnUntraced(function* (entry) {
50
50
  if (entry.type === "document")
@@ -54,12 +54,12 @@ var Plugin19 = define({
54
54
  const commands = yield* loadDirectory(fs, entry.path);
55
55
  return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
56
56
  });
57
- const location = yield* Service80;
57
+ const location = yield* Service82;
58
58
  const processes = yield* AppProcess.Service;
59
- const shell = yield* Service65;
60
- const sessions = yield* Service22;
61
- const agents = yield* Service84;
62
- const subagents = yield* Service8;
59
+ const shell = yield* Service50;
60
+ const sessions = yield* Service19;
61
+ const agents = yield* Service81;
62
+ const subagents = yield* Service10;
63
63
  const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
64
64
  return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
65
65
  });
@@ -80,7 +80,7 @@ var Plugin19 = define({
80
80
  name,
81
81
  description: command.description,
82
82
  execute: (input) => Effect.gen(function* () {
83
- const agent = command.agent === undefined ? undefined : ID18.make(command.agent);
83
+ const agent = command.agent === undefined ? undefined : ID15.make(command.agent);
84
84
  const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
85
85
  const model = command.model === undefined ? commandAgent?.model : {
86
86
  id: Model.ID.make(command.model.model),
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  batch2
3
- } from "./model-rdw6cm16.js";
3
+ } from "./location-service-map-rdw6cm16.js";
4
4
  import {
5
- Service61
6
- } from "./model-v3ff97sk.js";
5
+ Service40
6
+ } from "./location-service-map-va6wyqyx.js";
7
7
  import {
8
8
  match2
9
- } from "./model-y1fvbwt7.js";
9
+ } from "./location-service-map-y1fvbwt7.js";
10
10
  import {
11
- Service17,
11
+ Service14,
12
12
  statements2,
13
13
  decision2
14
- } from "./model-q0nrsbdj.js";
14
+ } from "./location-service-map-fww2ha2b.js";
15
15
  import {
16
16
  observe2
17
- } from "./model-qsdy395h.js";
17
+ } from "./location-service-map-qsdy395h.js";
18
18
  import {
19
19
  __export
20
- } from "./model-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/config/plugin/policy.ts
23
23
  var exports_policy = {};
24
24
  __export(exports_policy, {
25
25
  ConfigPolicyPlugin: () => exports_policy,
26
- Plugin: () => Plugin26
26
+ Plugin: () => Plugin27
27
27
  });
28
28
  import { define } from "@opencode/plugin/effect/plugin";
29
29
  import { Effect, Stream } from "effect";
30
- var Plugin26 = define({
30
+ var Plugin27 = define({
31
31
  id: "opencode.config.policy",
32
32
  effect: Effect.fn(function* (ctx) {
33
- const config = yield* Service61;
34
- const managed = yield* Service17;
33
+ const config = yield* Service40;
34
+ const managed = yield* Service14;
35
35
  const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
36
36
  const loaded = yield* observe2(config, ctx.event, reload);
37
37
  yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
@@ -76,4 +76,4 @@ var Plugin26 = define({
76
76
  })
77
77
  });
78
78
 
79
- export { Plugin26, exports_policy };
79
+ export { Plugin27, exports_policy };
@@ -1,30 +1,30 @@
1
1
  import {
2
- Service86,
3
- node90
4
- } from "./model-gprk1h4z.js";
2
+ Service85,
3
+ node89
4
+ } from "./location-service-map-a6m2mr7x.js";
5
5
  import {
6
6
  EventSequenceTable2,
7
7
  EventTable2
8
- } from "./model-2710q6r3.js";
8
+ } from "./location-service-map-2710q6r3.js";
9
9
  import {
10
10
  makeUnsafe2
11
- } from "./model-y71avatq.js";
11
+ } from "./location-service-map-dpkg50ah.js";
12
12
  import {
13
13
  __export
14
- } from "./model-9rqn6x4v.js";
14
+ } from "./location-service-map-9rqn6x4v.js";
15
15
 
16
16
  // src/bus.ts
17
17
  var exports_bus = {};
18
18
  __export(exports_bus, {
19
19
  Bus: () => exports_bus,
20
20
  InvalidDurableEventError: () => InvalidDurableEventError2,
21
- Service: () => Service85,
21
+ Service: () => Service84,
22
22
  configured: () => configured12,
23
23
  durable: () => durable2,
24
24
  ephemeral: () => ephemeral2,
25
25
  isSynced: () => isSynced2,
26
26
  latestSequence: () => latestSequence2,
27
- node: () => node89,
27
+ node: () => node88,
28
28
  reserveSequence: () => reserveSequence2,
29
29
  versionedType: () => versionedType2
30
30
  });
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
76
76
  var isSynced2 = (item) => item.type === "log.synced";
77
77
  var isDefinition = (input) => !Array.isArray(input);
78
78
 
79
- class Service85 extends Context.Service()("@opencode/Bus") {
79
+ class Service84 extends Context.Service()("@opencode/Bus") {
80
80
  }
81
81
  function configured12(options) {
82
82
  return makeGlobalNode({
83
- service: Service85,
84
- deps: [node90],
85
- layer: Layer.effect(Service85, Effect.gen(function* () {
83
+ service: Service84,
84
+ deps: [node89],
85
+ layer: Layer.effect(Service84, Effect.gen(function* () {
86
86
  const { Location } = yield* Effect.promise(() => import("../location.js"));
87
87
  const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
88
88
  const pubsub = {
@@ -93,7 +93,7 @@ function configured12(options) {
93
93
  const projectors = new Map;
94
94
  const listeners = new Array;
95
95
  const durableLocks = makeUnsafe2();
96
- const { db } = yield* Service86;
96
+ const { db } = yield* Service85;
97
97
  const logReadPageSize = options?.logReadPageSize ?? 512;
98
98
  const persist = options?.persist ?? false;
99
99
  const sessions = new Map;
@@ -525,7 +525,7 @@ function configured12(options) {
525
525
  list.push((event) => projector(event));
526
526
  projectors.set(key, list);
527
527
  });
528
- return Service85.of({
528
+ return Service84.of({
529
529
  publish,
530
530
  publishAll,
531
531
  subscribe,
@@ -539,6 +539,6 @@ function configured12(options) {
539
539
  }))
540
540
  });
541
541
  }
542
- var node89 = configured12();
542
+ var node88 = configured12();
543
543
 
544
- export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service85, configured12, node89, exports_bus };
544
+ export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service84, configured12, node88, exports_bus };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./model-z5v4ffb3.js";
3
+ } from "./location-service-map-z5v4ffb3.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/v1/config/mcp.ts
9
9
  var exports_mcp5 = {};
10
10
  __export(exports_mcp5, {
11
11
  ConfigMCPV1: () => exports_mcp5,
12
- Info: () => Info13,
12
+ Info: () => Info9,
13
13
  Local: () => Local2,
14
14
  OAuth: () => OAuth2,
15
15
  Remote: () => Remote2
@@ -64,6 +64,6 @@ var Remote2 = Schema.Struct({
64
64
  description: "Timeout in ms for MCP server requests. Defaults to 5000 (5 seconds) if not specified."
65
65
  })
66
66
  }).annotate({ identifier: "McpRemoteConfig" });
67
- var Info13 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
67
+ var Info9 = Schema.Union([Local2, Remote2]).annotate({ discriminator: "type" });
68
68
 
69
- export { Local2, OAuth2, Remote2, Info13, exports_mcp5 };
69
+ export { Local2, OAuth2, Remote2, Info9, exports_mcp5 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./location-service-map-9rqn6x4v.js";
4
4
 
5
5
  // src/model-retry.ts
6
6
  var exports_model_retry = {};