@opencode/core 0.0.0-dev-20834 → 0.0.0-dev-20835

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 (789) 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 +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{file-retention-e5s30dd1.js → location-activity-0bpv01a3.js} +22 -22
  8. package/dist/chunks/{file-retention-hrn2e2cq.js → location-activity-0fhdb3xx.js} +7 -7
  9. package/dist/chunks/{file-retention-as9v0b3j.js → location-activity-0fhqjvtp.js} +26 -26
  10. package/dist/chunks/{file-retention-kzaa9j73.js → location-activity-0hxq9e10.js} +18 -18
  11. package/dist/chunks/{file-retention-gyatvtq5.js → location-activity-0jbqskd3.js} +15 -15
  12. package/dist/chunks/{file-retention-0paq2nw3.js → location-activity-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{file-retention-0krxawfx.js → location-activity-0sakkys5.js} +10 -10
  14. package/dist/chunks/{file-retention-3xbdyzrb.js → location-activity-0t27fn54.js} +5 -5
  15. package/dist/chunks/{file-retention-0emb60td.js → location-activity-0vbcp93d.js} +2 -2
  16. package/dist/chunks/{file-retention-6ep6a5ed.js → location-activity-0vg95tq0.js} +9 -9
  17. package/dist/chunks/{file-retention-tcdqrpth.js → location-activity-0w75g736.js} +32 -32
  18. package/dist/chunks/{file-retention-90ppn450.js → location-activity-0wfcy4vf.js} +8 -8
  19. package/dist/chunks/{file-retention-6182wfyb.js → location-activity-107xbm1n.js} +22 -22
  20. package/dist/chunks/{file-retention-pyhbbpbt.js → location-activity-16t60v1z.js} +13 -13
  21. package/dist/chunks/{file-retention-xx5yc3y6.js → location-activity-17jf3cts.js} +6 -6
  22. package/dist/chunks/{file-retention-f2n192rq.js → location-activity-1acjjqhc.js} +4 -4
  23. package/dist/chunks/{file-retention-77sdyb01.js → location-activity-1jqhc2bs.js} +45 -45
  24. package/dist/chunks/{file-retention-62jgd0zs.js → location-activity-20hmd64t.js} +44 -44
  25. package/dist/chunks/{file-retention-narne4vj.js → location-activity-211erpne.js} +24 -24
  26. package/dist/chunks/{file-retention-zyg5mbp5.js → location-activity-25wgw40r.js} +19 -19
  27. package/dist/chunks/{file-retention-dqy2tp9k.js → location-activity-261n4zr1.js} +24 -24
  28. package/dist/chunks/{file-retention-t31977c4.js → location-activity-2cvamssp.js} +44 -44
  29. package/dist/chunks/{file-retention-1yd7h3h8.js → location-activity-2fqna6rb.js} +11 -11
  30. package/dist/chunks/{file-retention-rht56gq3.js → location-activity-2pt7gkd3.js} +22 -22
  31. package/dist/chunks/{file-retention-j2waf9cs.js → location-activity-2t46pfmr.js} +28 -28
  32. package/dist/chunks/{file-retention-vj2ecn42.js → location-activity-2v31f8c0.js} +17 -17
  33. package/dist/chunks/{file-retention-2vvh33eb.js → location-activity-2vvh33eb.js} +2 -2
  34. package/dist/chunks/{file-retention-xw1d7hen.js → location-activity-3688yw7h.js} +1 -1
  35. package/dist/chunks/{file-retention-xbmxr8cj.js → location-activity-3ddbdmce.js} +25 -25
  36. package/dist/chunks/{file-retention-3fc6dm20.js → location-activity-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{file-retention-3hepkmqq.js → location-activity-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{file-retention-3hwn7j4h.js → location-activity-3hwn7j4h.js} +2 -2
  39. package/dist/chunks/{file-retention-6wttv4yr.js → location-activity-3qw8qj80.js} +4 -4
  40. package/dist/chunks/{file-retention-3smtnn6g.js → location-activity-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{file-retention-3tvqynh2.js → location-activity-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{file-retention-b0qyykvd.js → location-activity-3wz00qr7.js} +11 -11
  43. package/dist/chunks/{file-retention-3zsf4n22.js → location-activity-3zsf4n22.js} +1 -1
  44. package/dist/chunks/{file-retention-adypwc73.js → location-activity-40xeq594.js} +13 -13
  45. package/dist/chunks/{file-retention-qfsp3spe.js → location-activity-41bt6j85.js} +6 -6
  46. package/dist/chunks/{file-retention-km2dy84g.js → location-activity-43xbvs7s.js} +23 -23
  47. package/dist/chunks/{file-retention-9c3np669.js → location-activity-4c8bw516.js} +8 -8
  48. package/dist/chunks/{file-retention-w9fhzwa2.js → location-activity-4jzaeymv.js} +16 -16
  49. package/dist/chunks/{file-retention-9bnen21x.js → location-activity-4r1368xg.js} +15 -15
  50. package/dist/chunks/{file-retention-4ts7tf6z.js → location-activity-4ts7tf6z.js} +2 -2
  51. package/dist/chunks/{file-retention-tx9w5tca.js → location-activity-4w5f3qm5.js} +8 -8
  52. package/dist/chunks/{file-retention-54ma36ye.js → location-activity-54ma36ye.js} +1 -1
  53. package/dist/chunks/{file-retention-d6jd5w6y.js → location-activity-55366mvw.js} +87 -87
  54. package/dist/chunks/{file-retention-k2cn82en.js → location-activity-5fkss4w2.js} +18 -18
  55. package/dist/chunks/{file-retention-d1eznf62.js → location-activity-5heqqy4s.js} +10 -10
  56. package/dist/chunks/{file-retention-5m9w47nd.js → location-activity-5m9w47nd.js} +1 -1
  57. package/dist/chunks/{file-retention-127b9nq3.js → location-activity-5pyjqqve.js} +2 -2
  58. package/dist/chunks/{file-retention-8xek67h3.js → location-activity-5t08t03r.js} +3 -3
  59. package/dist/chunks/{file-retention-f44pex6g.js → location-activity-5yyh0aax.js} +17 -17
  60. package/dist/chunks/{file-retention-8pe453er.js → location-activity-5z3gy5dg.js} +15 -15
  61. package/dist/chunks/{file-retention-fjdv25w0.js → location-activity-5zjh1t0x.js} +2 -2
  62. package/dist/chunks/location-activity-619r8v3y.js +18 -0
  63. package/dist/chunks/{file-retention-tt42txng.js → location-activity-6480h5ag.js} +30 -30
  64. package/dist/chunks/{file-retention-84tzk9gr.js → location-activity-64j4absa.js} +13 -13
  65. package/dist/chunks/{file-retention-s375a249.js → location-activity-69h1251q.js} +9 -9
  66. package/dist/chunks/{file-retention-ntdsb4sm.js → location-activity-6bheybkj.js} +72 -72
  67. package/dist/chunks/{file-retention-q36p9frd.js → location-activity-6mwebhck.js} +11 -11
  68. package/dist/chunks/{file-retention-rkprpv83.js → location-activity-6pc27hjz.js} +6 -6
  69. package/dist/chunks/{file-retention-r71rxd12.js → location-activity-6scz7evr.js} +9 -9
  70. package/dist/chunks/{file-retention-6xb47vfp.js → location-activity-6xb47vfp.js} +1 -1
  71. package/dist/chunks/{file-retention-zy2dfdqm.js → location-activity-75d9nah9.js} +17 -17
  72. package/dist/chunks/{file-retention-0baxf3qk.js → location-activity-7avcz6cb.js} +21 -21
  73. package/dist/chunks/{file-retention-7bmhse3q.js → location-activity-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{file-retention-fcrkznn8.js → location-activity-7dqw4kz8.js} +5 -5
  75. package/dist/chunks/{file-retention-yef4zb9s.js → location-activity-7gpnr418.js} +5 -5
  76. package/dist/chunks/{file-retention-63m3gqfd.js → location-activity-7gwq6rpw.js} +11 -11
  77. package/dist/chunks/{file-retention-nq6b8sn7.js → location-activity-7xbmtryz.js} +7 -7
  78. package/dist/chunks/{file-retention-84txncab.js → location-activity-84txncab.js} +1 -1
  79. package/dist/chunks/{file-retention-b2jhwvsg.js → location-activity-85yanvy3.js} +11 -11
  80. package/dist/chunks/{file-retention-205764cr.js → location-activity-8k620dcc.js} +86 -86
  81. package/dist/chunks/{file-retention-8m6m0r52.js → location-activity-8m6m0r52.js} +1 -1
  82. package/dist/chunks/{file-retention-sxz6gkc3.js → location-activity-8rqycdgd.js} +4 -4
  83. package/dist/chunks/{file-retention-s63bptf5.js → location-activity-917zbaq1.js} +51 -51
  84. package/dist/chunks/{file-retention-j09zfasm.js → location-activity-91qna3x0.js} +3 -3
  85. package/dist/chunks/{file-retention-h896pcm5.js → location-activity-93ygb5af.js} +6 -6
  86. package/dist/chunks/{file-retention-cfswb10x.js → location-activity-94ebctrb.js} +7 -7
  87. package/dist/chunks/{file-retention-zsrhk7tm.js → location-activity-98kmy8hf.js} +5 -5
  88. package/dist/chunks/{file-retention-va0t4kz9.js → location-activity-9tr6azsv.js} +36 -36
  89. package/dist/chunks/{file-retention-dbznwjgv.js → location-activity-a1ygtan2.js} +13 -13
  90. package/dist/chunks/{file-retention-vf3hczs7.js → location-activity-a2v645ye.js} +11 -11
  91. package/dist/chunks/{file-retention-3wn4phez.js → location-activity-a4nq2jnm.js} +9 -9
  92. package/dist/chunks/{file-retention-hhbxcxzx.js → location-activity-aa14mw5x.js} +2 -2
  93. package/dist/chunks/{file-retention-db2wf4at.js → location-activity-addxnjmp.js} +4 -4
  94. package/dist/chunks/{file-retention-btgwfx7q.js → location-activity-aremb3kc.js} +15 -15
  95. package/dist/chunks/{file-retention-mht6fzqr.js → location-activity-as4n98vg.js} +6 -6
  96. package/dist/chunks/{file-retention-afyx3ry4.js → location-activity-b381zvq1.js} +10 -10
  97. package/dist/chunks/location-activity-b714ca5k.js +513 -0
  98. package/dist/chunks/{file-retention-m2xv92hs.js → location-activity-bc8ymejb.js} +31 -31
  99. package/dist/chunks/{file-retention-xfasz2x5.js → location-activity-bd9zj7cb.js} +20 -20
  100. package/dist/chunks/{file-retention-zn5v3n4q.js → location-activity-bdm4x938.js} +9 -9
  101. package/dist/chunks/{file-retention-p8x5jtpv.js → location-activity-bfegkxfd.js} +8 -8
  102. package/dist/chunks/{file-retention-a642qhrr.js → location-activity-bm2kwe3g.js} +22 -22
  103. package/dist/chunks/{file-retention-txm3e8qz.js → location-activity-bmr56wjg.js} +4 -4
  104. package/dist/chunks/{file-retention-19ezngz8.js → location-activity-bsprd9wx.js} +3 -3
  105. package/dist/chunks/{file-retention-es1vcfrp.js → location-activity-c1fqxshp.js} +3 -3
  106. package/dist/chunks/{file-retention-8cnt8pfy.js → location-activity-c571cpjd.js} +13 -13
  107. package/dist/chunks/{file-retention-r0me9bt4.js → location-activity-cf9eqgw2.js} +20 -20
  108. package/dist/chunks/{file-retention-yb9nt5p7.js → location-activity-chrvkcm9.js} +40 -40
  109. package/dist/chunks/{file-retention-rc1szs54.js → location-activity-ckkh5zvs.js} +6 -6
  110. package/dist/chunks/{file-retention-488qxk2j.js → location-activity-cq58txzn.js} +4 -4
  111. package/dist/chunks/{file-retention-jsnqh7m7.js → location-activity-cr0xgb5b.js} +26 -26
  112. package/dist/chunks/{file-retention-p2htxkwn.js → location-activity-cvrsg519.js} +46 -46
  113. package/dist/chunks/{file-retention-k4er45wq.js → location-activity-cvwdtye4.js} +28 -28
  114. package/dist/chunks/{file-retention-mxrk3mt9.js → location-activity-d1g6wne4.js} +25 -25
  115. package/dist/chunks/{file-retention-87bt86w6.js → location-activity-d4edb55n.js} +22 -22
  116. package/dist/chunks/{file-retention-n986wkj7.js → location-activity-d7cjjrwe.js} +20 -20
  117. package/dist/chunks/{file-retention-2rjtfhxz.js → location-activity-d7q42kmc.js} +5 -5
  118. package/dist/chunks/{file-retention-0y7gj0ff.js → location-activity-ddh34mr5.js} +19 -19
  119. package/dist/chunks/{file-retention-8m2djmtw.js → location-activity-dg9hqh39.js} +29 -29
  120. package/dist/chunks/{file-retention-ttrrbgy7.js → location-activity-dph2eebx.js} +18 -18
  121. package/dist/chunks/{file-retention-drwq78ky.js → location-activity-drwq78ky.js} +1 -1
  122. package/dist/chunks/{file-retention-er2gc1eb.js → location-activity-dssbfrwz.js} +5 -5
  123. package/dist/chunks/{file-retention-4jreprph.js → location-activity-dwxh89b6.js} +11 -11
  124. package/dist/chunks/{file-retention-n23r96zb.js → location-activity-e0rr9zvb.js} +20 -20
  125. package/dist/chunks/{file-retention-6y85s76z.js → location-activity-e0ymyydj.js} +54 -54
  126. package/dist/chunks/{file-retention-4a03djxh.js → location-activity-e9ktkmjr.js} +24 -24
  127. package/dist/chunks/{file-retention-9b8znkve.js → location-activity-ea42s20z.js} +48 -48
  128. package/dist/chunks/{file-retention-c7zza6wf.js → location-activity-ed1g29hy.js} +3 -3
  129. package/dist/chunks/{file-retention-eej6y6fw.js → location-activity-eej6y6fw.js} +2 -2
  130. package/dist/chunks/{file-retention-ef5x83kb.js → location-activity-ef5x83kb.js} +1 -1
  131. package/dist/chunks/{file-retention-kztp5bb7.js → location-activity-f3c6bb94.js} +18 -18
  132. package/dist/chunks/{file-retention-a7am0sdb.js → location-activity-f4hgzc1y.js} +50 -50
  133. package/dist/chunks/location-activity-f6vfmgeq.js +253 -0
  134. package/dist/chunks/{file-retention-8gxqpgph.js → location-activity-f73rjn58.js} +4 -4
  135. package/dist/chunks/{file-retention-yn1bbvnp.js → location-activity-fd3s9a8r.js} +11 -11
  136. package/dist/chunks/{file-retention-et7d9hth.js → location-activity-feyr08zj.js} +8 -8
  137. package/dist/chunks/{file-retention-78e2w1qk.js → location-activity-fj05hf65.js} +4 -4
  138. package/dist/chunks/{file-retention-ywy11t7c.js → location-activity-fj8a2x8b.js} +28 -28
  139. package/dist/chunks/{file-retention-gv3w2mnf.js → location-activity-fkdbhykb.js} +16 -16
  140. package/dist/chunks/{file-retention-3fyz7qaw.js → location-activity-fqdebhqj.js} +26 -26
  141. package/dist/chunks/{file-retention-a5z0m542.js → location-activity-fqskbjpv.js} +12 -12
  142. package/dist/chunks/{file-retention-rey5gbxv.js → location-activity-ft3hqk2c.js} +9 -9
  143. package/dist/chunks/{file-retention-2rh0r89e.js → location-activity-fz5nq1nt.js} +10 -10
  144. package/dist/chunks/{file-retention-dzpmeesh.js → location-activity-g8atgw3j.js} +6 -6
  145. package/dist/chunks/{file-retention-3b1zfvjw.js → location-activity-gc77fayf.js} +15 -15
  146. package/dist/chunks/{file-retention-gd4qta3r.js → location-activity-gd4qta3r.js} +1 -1
  147. package/dist/chunks/{file-retention-gk8qb678.js → location-activity-gk8qb678.js} +1 -1
  148. package/dist/chunks/{file-retention-8w0wb2m0.js → location-activity-gmtxa2vr.js} +3 -3
  149. package/dist/chunks/{file-retention-cc4mce2f.js → location-activity-h1m7a8ke.js} +11 -11
  150. package/dist/chunks/{file-retention-h6vf3j39.js → location-activity-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{file-retention-h7s7r6s9.js → location-activity-h7s7r6s9.js} +2 -2
  152. package/dist/chunks/{file-retention-b3f8fkhc.js → location-activity-hdkng2sj.js} +5 -5
  153. package/dist/chunks/{file-retention-xt4njr3s.js → location-activity-he27pt63.js} +1 -1
  154. package/dist/chunks/{file-retention-ek2cpxs9.js → location-activity-hf1zadbg.js} +45 -45
  155. package/dist/chunks/{file-retention-hgz4x7wa.js → location-activity-hgz4x7wa.js} +1 -1
  156. package/dist/chunks/{file-retention-bndcmk4h.js → location-activity-ht7k4bvf.js} +9 -9
  157. package/dist/chunks/{file-retention-j56e64zr.js → location-activity-j56e64zr.js} +1 -1
  158. package/dist/chunks/{file-retention-rqkhqp7e.js → location-activity-j6aev9ap.js} +50 -50
  159. package/dist/chunks/{file-retention-zabh3f4w.js → location-activity-ja1zx074.js} +16 -16
  160. package/dist/chunks/{file-retention-4fdqsqvt.js → location-activity-jcng4951.js} +14 -14
  161. package/dist/chunks/{file-retention-phy95ygf.js → location-activity-jgfx14b2.js} +182 -182
  162. package/dist/chunks/{file-retention-h2z4rg15.js → location-activity-jhdf630s.js} +17 -17
  163. package/dist/chunks/{file-retention-gpetme3g.js → location-activity-jjrpv01y.js} +16 -16
  164. package/dist/chunks/{file-retention-rryv107s.js → location-activity-jt2v5cvj.js} +25 -25
  165. package/dist/chunks/{file-retention-x2ptdt6d.js → location-activity-k0hddavv.js} +11 -11
  166. package/dist/chunks/{file-retention-q32ypgm9.js → location-activity-k0w1apbg.js} +5 -5
  167. package/dist/chunks/{file-retention-4422vz2f.js → location-activity-k9x8y7ha.js} +8 -8
  168. package/dist/chunks/{file-retention-pnpsbpqe.js → location-activity-kg8sjy89.js} +35 -35
  169. package/dist/chunks/{file-retention-hq3c8me3.js → location-activity-khmqacep.js} +4 -4
  170. package/dist/chunks/{file-retention-2f3b0eee.js → location-activity-kwhjw5x0.js} +3 -3
  171. package/dist/chunks/{file-retention-pxtk0cfj.js → location-activity-kwnn4fd0.js} +33 -33
  172. package/dist/chunks/{file-retention-reqhyh1n.js → location-activity-m937bs3x.js} +12 -12
  173. package/dist/chunks/{file-retention-6cxpbzdr.js → location-activity-m9egwdp7.js} +18 -18
  174. package/dist/chunks/{file-retention-m9w0rfyh.js → location-activity-m9w0rfyh.js} +1 -1
  175. package/dist/chunks/{file-retention-kfmd4715.js → location-activity-mgxszptk.js} +15 -15
  176. package/dist/chunks/{file-retention-1zbxw6g6.js → location-activity-mr9p3z9j.js} +41 -41
  177. package/dist/chunks/{file-retention-m8szg13e.js → location-activity-myg896ra.js} +14 -14
  178. package/dist/chunks/{file-retention-ad1yxw88.js → location-activity-n8z21gwa.js} +35 -35
  179. package/dist/chunks/{file-retention-ha18z2nf.js → location-activity-nfq7baga.js} +3 -3
  180. package/dist/chunks/{file-retention-szpchd2k.js → location-activity-nh17g3rm.js} +32 -32
  181. package/dist/chunks/{file-retention-kc2kdpx6.js → location-activity-nh8kg0c8.js} +5 -5
  182. package/dist/chunks/{file-retention-dm4q1yny.js → location-activity-nkjpdmpp.js} +10 -10
  183. package/dist/chunks/{file-retention-2p4kjt8q.js → location-activity-nsnx7tmr.js} +34 -34
  184. package/dist/chunks/{file-retention-eb1jdc1h.js → location-activity-nxy7gnbh.js} +9 -9
  185. package/dist/chunks/{file-retention-3y6bymm2.js → location-activity-p95nxn18.js} +26 -26
  186. package/dist/chunks/{file-retention-9nsgat1s.js → location-activity-pc2e4npa.js} +33 -33
  187. package/dist/chunks/{file-retention-jjwt9gb5.js → location-activity-phz50fbd.js} +9 -9
  188. package/dist/chunks/{file-retention-pjvnvgmy.js → location-activity-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{file-retention-9nq7gfm0.js → location-activity-pjvsmsvn.js} +11 -11
  190. package/dist/chunks/{file-retention-pknna89w.js → location-activity-pknna89w.js} +1 -1
  191. package/dist/chunks/{file-retention-0xszypc3.js → location-activity-pv3gjjbd.js} +13 -13
  192. package/dist/chunks/{file-retention-9e1ngwx3.js → location-activity-pwndcth2.js} +23 -23
  193. package/dist/chunks/{file-retention-74qahwj1.js → location-activity-px88ptdx.js} +3 -3
  194. package/dist/chunks/{file-retention-g23n40bc.js → location-activity-pyep6me2.js} +22 -22
  195. package/dist/chunks/{file-retention-8wc8e1vx.js → location-activity-pyn1zfmb.js} +22 -22
  196. package/dist/chunks/{file-retention-q0xm7vwc.js → location-activity-q0xm7vwc.js} +2 -2
  197. package/dist/chunks/{file-retention-f3v9xntj.js → location-activity-qf6fybpb.js} +47 -47
  198. package/dist/chunks/location-activity-qgkd9myd.js +26 -0
  199. package/dist/chunks/{file-retention-qnc92qwc.js → location-activity-qnc92qwc.js} +1 -1
  200. package/dist/chunks/{file-retention-qsdy395h.js → location-activity-qsdy395h.js} +1 -1
  201. package/dist/chunks/{file-retention-w3mhtfan.js → location-activity-qsq5yg5s.js} +14 -14
  202. package/dist/chunks/{file-retention-ybh1hh3b.js → location-activity-qterzby5.js} +22 -22
  203. package/dist/chunks/{file-retention-8g6zh8va.js → location-activity-r2hhppsq.js} +26 -26
  204. package/dist/chunks/{file-retention-510j0jrr.js → location-activity-r8ab3zgt.js} +16 -16
  205. package/dist/chunks/{file-retention-rdw6cm16.js → location-activity-rdw6cm16.js} +1 -1
  206. package/dist/chunks/{file-retention-tkb22qbm.js → location-activity-rert0e01.js} +2 -2
  207. package/dist/chunks/{file-retention-c41wscbt.js → location-activity-rj3eygr5.js} +2 -2
  208. package/dist/chunks/{file-retention-ws8esjg0.js → location-activity-rkaemhq9.js} +4 -4
  209. package/dist/chunks/{file-retention-0pfse9yr.js → location-activity-rm0f3jge.js} +9 -9
  210. package/dist/chunks/{file-retention-6vjbkxrh.js → location-activity-rpre2awy.js} +38 -38
  211. package/dist/chunks/{file-retention-f9799dk3.js → location-activity-rx8j7z4z.js} +36 -36
  212. package/dist/chunks/{file-retention-c6j0b0f3.js → location-activity-s57pxskk.js} +4 -4
  213. package/dist/chunks/{file-retention-anv3t5st.js → location-activity-s7ke7ywc.js} +35 -35
  214. package/dist/chunks/{file-retention-eaj1djv9.js → location-activity-s8d7rejh.js} +6 -6
  215. package/dist/chunks/{file-retention-c8ax2afj.js → location-activity-sa8ekw3f.js} +2 -2
  216. package/dist/chunks/{file-retention-kntvvv3m.js → location-activity-savrrhdf.js} +9 -9
  217. package/dist/chunks/{file-retention-bg39yvwa.js → location-activity-snjqe27j.js} +24 -24
  218. package/dist/chunks/{file-retention-fvatpktr.js → location-activity-snr1zsgg.js} +22 -22
  219. package/dist/chunks/{file-retention-syv4x271.js → location-activity-syv4x271.js} +1 -1
  220. package/dist/chunks/{file-retention-c8dwxvt7.js → location-activity-szg5bg6z.js} +21 -21
  221. package/dist/chunks/{file-retention-gbc5vfb0.js → location-activity-t0ertjcg.js} +21 -21
  222. package/dist/chunks/{file-retention-4b41py0a.js → location-activity-t1k1tc2r.js} +11 -11
  223. package/dist/chunks/{file-retention-nc3f3641.js → location-activity-t5tnqy8n.js} +12 -12
  224. package/dist/chunks/{file-retention-tazgh4e4.js → location-activity-tazgh4e4.js} +1 -1
  225. package/dist/chunks/{file-retention-tcezcvh9.js → location-activity-tcezcvh9.js} +1 -1
  226. package/dist/chunks/{file-retention-tdstcens.js → location-activity-tdstcens.js} +1 -1
  227. package/dist/chunks/{file-retention-m5pjbwfj.js → location-activity-tg0dsrkj.js} +21 -21
  228. package/dist/chunks/{file-retention-3hfr6h8q.js → location-activity-tpw6cwsb.js} +4 -4
  229. package/dist/chunks/{file-retention-c0mdwdcy.js → location-activity-ts976m95.js} +40 -40
  230. package/dist/chunks/{file-retention-tb55w3zn.js → location-activity-twerkbx7.js} +4 -4
  231. package/dist/chunks/{file-retention-tyytaxap.js → location-activity-tyytaxap.js} +1 -1
  232. package/dist/chunks/{file-retention-pg7ds6pa.js → location-activity-v0es1rhs.js} +9 -9
  233. package/dist/chunks/{file-retention-j5vdk2nm.js → location-activity-v0tt8xc9.js} +18 -18
  234. package/dist/chunks/{file-retention-nr1jsxbb.js → location-activity-v3q72hwj.js} +12 -12
  235. package/dist/chunks/{file-retention-gazvg4k1.js → location-activity-v4ctcf3m.js} +20 -20
  236. package/dist/chunks/{file-retention-v7p4zvkq.js → location-activity-v7p4zvkq.js} +2 -2
  237. package/dist/chunks/{file-retention-cwt22yzj.js → location-activity-vb1vqc15.js} +4 -4
  238. package/dist/chunks/{file-retention-4z1qw0cm.js → location-activity-vckavtqm.js} +32 -32
  239. package/dist/chunks/{file-retention-veqvce7d.js → location-activity-veqvce7d.js} +1 -1
  240. package/dist/chunks/{file-retention-d0j74p3h.js → location-activity-vq5qtrwm.js} +4 -4
  241. package/dist/chunks/{file-retention-mtpeagzc.js → location-activity-vx3jgdek.js} +3 -3
  242. package/dist/chunks/{file-retention-vzs5sf6e.js → location-activity-vzs5sf6e.js} +1 -1
  243. package/dist/chunks/{file-retention-w3wsvvr9.js → location-activity-w3wsvvr9.js} +1 -1
  244. package/dist/chunks/{file-retention-gkmqvhxg.js → location-activity-w9nahjj4.js} +5 -5
  245. package/dist/chunks/{file-retention-f2x01zrg.js → location-activity-wcjav1n5.js} +24 -24
  246. package/dist/chunks/{file-retention-wd87259q.js → location-activity-wd87259q.js} +1 -1
  247. package/dist/chunks/{file-retention-3ewed21c.js → location-activity-wj76ss2k.js} +4 -4
  248. package/dist/chunks/{file-retention-x2aynqqh.js → location-activity-wk5z6jzv.js} +8 -8
  249. package/dist/chunks/{file-retention-v6p1va2s.js → location-activity-wk7c2rzy.js} +11 -11
  250. package/dist/chunks/{file-retention-cw0z4tmd.js → location-activity-wn5wwtyj.js} +32 -32
  251. package/dist/chunks/{file-retention-a3qgxz2n.js → location-activity-wp045ty0.js} +3 -3
  252. package/dist/chunks/{file-retention-rcf5ber5.js → location-activity-wsbn7g0b.js} +19 -19
  253. package/dist/chunks/{file-retention-bb8g0qdm.js → location-activity-wt3z3wqp.js} +16 -16
  254. package/dist/chunks/{file-retention-y5rf7nzv.js → location-activity-x3gqap9d.js} +4 -4
  255. package/dist/chunks/{file-retention-4g2ckqh5.js → location-activity-xc2g5w7m.js} +30 -30
  256. package/dist/chunks/{file-retention-09zggdyt.js → location-activity-xc7sp7m2.js} +15 -15
  257. package/dist/chunks/{file-retention-wp65gj9n.js → location-activity-xjp2rtnz.js} +24 -24
  258. package/dist/chunks/{file-retention-1d0a00dk.js → location-activity-xmf2pq7t.js} +11 -11
  259. package/dist/chunks/{file-retention-5kxw9wf8.js → location-activity-xmf51ers.js} +21 -21
  260. package/dist/chunks/{file-retention-ee9sbmyj.js → location-activity-xmsg46wc.js} +2 -2
  261. package/dist/chunks/{file-retention-mtpnd04z.js → location-activity-xn5jv5s2.js} +13 -13
  262. package/dist/chunks/{file-retention-as6yw527.js → location-activity-xrtxzryn.js} +29 -29
  263. package/dist/chunks/{file-retention-fg6588f2.js → location-activity-xsemeaca.js} +11 -11
  264. package/dist/chunks/{file-retention-899g5tqj.js → location-activity-xx9npm2e.js} +5 -5
  265. package/dist/chunks/{file-retention-sz2s795h.js → location-activity-y08ebe9d.js} +20 -20
  266. package/dist/chunks/{file-retention-y1fvbwt7.js → location-activity-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{file-retention-y71avatq.js → location-activity-y71avatq.js} +1 -1
  268. package/dist/chunks/{file-retention-fkdqe6sr.js → location-activity-y88c22bj.js} +4 -4
  269. package/dist/chunks/{file-retention-x39hqzbj.js → location-activity-yaafn18p.js} +8 -8
  270. package/dist/chunks/{file-retention-kktyxbes.js → location-activity-yb4j2qbe.js} +33 -33
  271. package/dist/chunks/{file-retention-s7nv2rwz.js → location-activity-ygdna4kr.js} +5 -5
  272. package/dist/chunks/{file-retention-fz2zj4hf.js → location-activity-yrfsdxcq.js} +14 -14
  273. package/dist/chunks/{file-retention-rmpaafn0.js → location-activity-yt5kgk1r.js} +3 -3
  274. package/dist/chunks/{file-retention-ywt8jp22.js → location-activity-ywt8jp22.js} +2 -2
  275. package/dist/chunks/{file-retention-z0bkrqjs.js → location-activity-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{file-retention-71j5xc97.js → location-activity-za4q1fm7.js} +1 -1
  277. package/dist/chunks/{file-retention-pf36ngag.js → location-activity-zhzn9e0f.js} +35 -35
  278. package/dist/chunks/{file-retention-35ng7dkh.js → location-activity-zk8c4w5t.js} +5 -5
  279. package/dist/chunks/{file-retention-p958k833.js → location-activity-zn3zdrms.js} +15 -15
  280. package/dist/chunks/{file-retention-zr2ceqn5.js → location-activity-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{file-retention-1t8nbnc8.js → location-activity-zsevkpc6.js} +9 -9
  282. package/dist/chunks/{file-retention-4j4tgtq5.js → location-activity-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{file-retention-51bjw4cg.js → location-activity-zw6m2k70.js} +5 -5
  284. package/dist/chunks/{file-retention-zxq2ej10.js → location-activity-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +5 -5
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +118 -118
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +87 -87
  319. package/dist/database/database.js +72 -72
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +81 -81
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +363 -363
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +76 -76
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +84 -84
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +107 -107
  429. package/dist/git.js +10 -10
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +101 -101
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +81 -81
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +3 -3
  457. package/dist/integration.js +89 -89
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +89 -89
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +101 -101
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +102 -102
  476. package/dist/models-dev.js +107 -107
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +84 -84
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +84 -84
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +3 -3
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +4 -4
  497. package/dist/plugin/plan.js +102 -102
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +119 -119
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +96 -96
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +97 -97
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +92 -92
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +76 -76
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +134 -134
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +95 -95
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +4 -4
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +218 -218
  555. package/dist/project/schema.js +8 -8
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +92 -92
  558. package/dist/provider.js +103 -103
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +95 -95
  562. package/dist/reference/instructions.js +89 -89
  563. package/dist/reference.js +89 -89
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +1 -1
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +84 -84
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +3 -3
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +219 -219
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +156 -156
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +90 -90
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +79 -79
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +120 -120
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +4 -4
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +77 -77
  611. package/dist/session/store.js +89 -89
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +1 -1
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +218 -218
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +209 -209
  620. package/dist/shell/parse.js +6 -6
  621. package/dist/shell/result.js +1 -1
  622. package/dist/shell/scan.js +1 -1
  623. package/dist/shell/select.js +9 -9
  624. package/dist/shell.js +132 -132
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +112 -112
  628. package/dist/snapshot.js +91 -91
  629. package/dist/state.js +1 -1
  630. package/dist/tool/html-markdown.js +1 -1
  631. package/dist/tool/http-body.js +1 -1
  632. package/dist/tool/mcp.js +128 -128
  633. package/dist/tool/plugin/edit.js +120 -120
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +122 -122
  636. package/dist/tool/plugin/grep.js +126 -126
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +124 -124
  640. package/dist/tool/plugin/question.js +105 -105
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +107 -107
  644. package/dist/tool/plugin/subagent.js +214 -214
  645. package/dist/tool/plugin/webfetch.js +112 -112
  646. package/dist/tool/plugin/websearch.js +110 -110
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +12 -12
  652. package/dist/util/error-summary.js +1 -1
  653. package/dist/util/error.js +1 -1
  654. package/dist/util/git-executable.js +2 -2
  655. package/dist/util/iife.js +1 -1
  656. package/dist/util/lazy.js +1 -1
  657. package/dist/util/slug.js +1 -1
  658. package/dist/util/token.js +1 -1
  659. package/dist/util/which.js +1 -1
  660. package/dist/util/wildcard.js +1 -1
  661. package/dist/v1/config/agent.js +5 -5
  662. package/dist/v1/config/command.js +3 -3
  663. package/dist/v1/config/error.js +2 -2
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +94 -94
  666. package/dist/v1/config/permission.js +3 -3
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/variant.js +93 -93
  671. package/dist/vcs/patch.js +1 -1
  672. package/dist/vcs.js +91 -91
  673. package/dist/websearch.js +86 -86
  674. package/dist/wellknown/plugin.js +78 -78
  675. package/dist/wellknown.js +81 -81
  676. package/dist/workspace/driver.js +5 -5
  677. package/dist/workspace/sql.js +1 -1
  678. package/dist/workspace.js +84 -84
  679. package/dist/worktree/directory.js +2 -2
  680. package/dist/worktree/git.js +10 -10
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree/strategies.js +91 -91
  683. package/dist/worktree.js +96 -96
  684. package/package.json +8 -8
  685. package/dist/chunks/file-retention-4htyneym.js +0 -513
  686. package/dist/chunks/file-retention-9516fs8v.js +0 -26
  687. package/dist/chunks/file-retention-ht5y0zrb.js +0 -18
  688. package/dist/chunks/file-retention-wn6mh0j0.js +0 -253
  689. /package/dist/chunks/{file-retention-0qkdqm5v.js → location-activity-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{file-retention-0zkw76rk.js → location-activity-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{file-retention-17cy0kzp.js → location-activity-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{file-retention-1cnp2v09.js → location-activity-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{file-retention-1kg9ymc8.js → location-activity-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{file-retention-24dcb14g.js → location-activity-24dcb14g.js} +0 -0
  695. /package/dist/chunks/{file-retention-2710q6r3.js → location-activity-2710q6r3.js} +0 -0
  696. /package/dist/chunks/{file-retention-2axfhc9x.js → location-activity-2axfhc9x.js} +0 -0
  697. /package/dist/chunks/{file-retention-2bv980vf.js → location-activity-2bv980vf.js} +0 -0
  698. /package/dist/chunks/{file-retention-2c3vjs8z.js → location-activity-2c3vjs8z.js} +0 -0
  699. /package/dist/chunks/{file-retention-359p4xyc.js → location-activity-359p4xyc.js} +0 -0
  700. /package/dist/chunks/{file-retention-3asan66x.js → location-activity-3asan66x.js} +0 -0
  701. /package/dist/chunks/{file-retention-3t0ybcrp.js → location-activity-3t0ybcrp.js} +0 -0
  702. /package/dist/chunks/{file-retention-3v8g72cx.js → location-activity-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{file-retention-3wcehsnq.js → location-activity-3wcehsnq.js} +0 -0
  704. /package/dist/chunks/{file-retention-43n2bw4t.js → location-activity-43n2bw4t.js} +0 -0
  705. /package/dist/chunks/{file-retention-4knz6hnm.js → location-activity-4knz6hnm.js} +0 -0
  706. /package/dist/chunks/{file-retention-4vcrnpx2.js → location-activity-4vcrnpx2.js} +0 -0
  707. /package/dist/chunks/{file-retention-4y7fprxs.js → location-activity-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{file-retention-53557ph1.js → location-activity-53557ph1.js} +0 -0
  709. /package/dist/chunks/{file-retention-550bvhaj.js → location-activity-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{file-retention-5qd3pb7m.js → location-activity-5qd3pb7m.js} +0 -0
  711. /package/dist/chunks/{file-retention-6prwharc.js → location-activity-6prwharc.js} +0 -0
  712. /package/dist/chunks/{file-retention-6q2bdcd1.js → location-activity-6q2bdcd1.js} +0 -0
  713. /package/dist/chunks/{file-retention-7akdwqpd.js → location-activity-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{file-retention-7m9af43g.js → location-activity-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{file-retention-822emrt2.js → location-activity-822emrt2.js} +0 -0
  716. /package/dist/chunks/{file-retention-84wd9syh.js → location-activity-84wd9syh.js} +0 -0
  717. /package/dist/chunks/{file-retention-88xbtdfr.js → location-activity-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{file-retention-8n3pysct.js → location-activity-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{file-retention-8wj87zfr.js → location-activity-8wj87zfr.js} +0 -0
  720. /package/dist/chunks/{file-retention-9a4afbnw.js → location-activity-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{file-retention-9rqn6x4v.js → location-activity-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{file-retention-a6k6eb26.js → location-activity-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{file-retention-af5trqkr.js → location-activity-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{file-retention-afrmfg78.js → location-activity-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{file-retention-aqzs7mqg.js → location-activity-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{file-retention-atq7p7m5.js → location-activity-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{file-retention-bkyjaxrp.js → location-activity-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{file-retention-bmr6ed5q.js → location-activity-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{file-retention-bw78ga2c.js → location-activity-bw78ga2c.js} +0 -0
  730. /package/dist/chunks/{file-retention-cf4snx6d.js → location-activity-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{file-retention-cvy3z8tj.js → location-activity-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{file-retention-d9fn303g.js → location-activity-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{file-retention-d9jj8t3e.js → location-activity-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{file-retention-dajrwvna.js → location-activity-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{file-retention-dap0rakb.js → location-activity-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{file-retention-df08tz66.js → location-activity-df08tz66.js} +0 -0
  737. /package/dist/chunks/{file-retention-dy18nga0.js → location-activity-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{file-retention-e5kj55wp.js → location-activity-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{file-retention-e73j6tqm.js → location-activity-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{file-retention-ec1grn59.js → location-activity-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{file-retention-eh3zwz77.js → location-activity-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{file-retention-emrn6kk6.js → location-activity-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{file-retention-f0mxakyp.js → location-activity-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{file-retention-f6n9ztr4.js → location-activity-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{file-retention-faypxj3z.js → location-activity-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{file-retention-fd410y7t.js → location-activity-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{file-retention-g4wezp1m.js → location-activity-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{file-retention-g86h250q.js → location-activity-g86h250q.js} +0 -0
  749. /package/dist/chunks/{file-retention-gebd4c9n.js → location-activity-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{file-retention-gftt206x.js → location-activity-gftt206x.js} +0 -0
  751. /package/dist/chunks/{file-retention-hk9envan.js → location-activity-hk9envan.js} +0 -0
  752. /package/dist/chunks/{file-retention-j2ntwpah.js → location-activity-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{file-retention-j5zkgpj8.js → location-activity-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{file-retention-jjkms2e6.js → location-activity-jjkms2e6.js} +0 -0
  755. /package/dist/chunks/{file-retention-jr7sbwjy.js → location-activity-jr7sbwjy.js} +0 -0
  756. /package/dist/chunks/{file-retention-jwfs4k6c.js → location-activity-jwfs4k6c.js} +0 -0
  757. /package/dist/chunks/{file-retention-jze0r7bz.js → location-activity-jze0r7bz.js} +0 -0
  758. /package/dist/chunks/{file-retention-jzg6c2d5.js → location-activity-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{file-retention-m18g726c.js → location-activity-m18g726c.js} +0 -0
  760. /package/dist/chunks/{file-retention-mp448xyj.js → location-activity-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{file-retention-msx8hqn2.js → location-activity-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{file-retention-n05xt0ee.js → location-activity-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{file-retention-n3j8tn72.js → location-activity-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{file-retention-njntx4h6.js → location-activity-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{file-retention-pkyv6v7h.js → location-activity-pkyv6v7h.js} +0 -0
  766. /package/dist/chunks/{file-retention-pyv0edze.js → location-activity-pyv0edze.js} +0 -0
  767. /package/dist/chunks/{file-retention-q3sfg36h.js → location-activity-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{file-retention-q74kybfr.js → location-activity-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{file-retention-qaymkmh1.js → location-activity-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{file-retention-qb87gjwd.js → location-activity-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{file-retention-qfa1cgps.js → location-activity-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{file-retention-qg3g05ea.js → location-activity-qg3g05ea.js} +0 -0
  773. /package/dist/chunks/{file-retention-qrg20bc0.js → location-activity-qrg20bc0.js} +0 -0
  774. /package/dist/chunks/{file-retention-rcb2kzg1.js → location-activity-rcb2kzg1.js} +0 -0
  775. /package/dist/chunks/{file-retention-sdp7kfr6.js → location-activity-sdp7kfr6.js} +0 -0
  776. /package/dist/chunks/{file-retention-ssg3fenm.js → location-activity-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{file-retention-ve7vex1e.js → location-activity-ve7vex1e.js} +0 -0
  778. /package/dist/chunks/{file-retention-w803qqfp.js → location-activity-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{file-retention-wc3fc9cn.js → location-activity-wc3fc9cn.js} +0 -0
  780. /package/dist/chunks/{file-retention-wer8tq1h.js → location-activity-wer8tq1h.js} +0 -0
  781. /package/dist/chunks/{file-retention-wtztk69x.js → location-activity-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{file-retention-x0ckcb58.js → location-activity-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{file-retention-x61499pn.js → location-activity-x61499pn.js} +0 -0
  784. /package/dist/chunks/{file-retention-y44na4kk.js → location-activity-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{file-retention-y8f7s663.js → location-activity-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{file-retention-ygaqb7jw.js → location-activity-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{file-retention-ym463w8f.js → location-activity-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{file-retention-z5v4ffb3.js → location-activity-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{file-retention-z9919s4g.js → location-activity-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
- ID10,
3
- Service73,
4
- node77
5
- } from "./file-retention-pxtk0cfj.js";
2
+ ID14,
3
+ Service77,
4
+ node81
5
+ } from "./location-activity-kwnn4fd0.js";
6
6
  import {
7
- ID9,
7
+ ID13,
8
8
  isAISDK2,
9
9
  packageName2,
10
10
  loadPackage2,
@@ -14,24 +14,24 @@ import {
14
14
  timeouts2,
15
15
  mergeOverlay2,
16
16
  mergeHeaders2,
17
- Service72,
18
- node76
19
- } from "./file-retention-pnpsbpqe.js";
17
+ Service76,
18
+ node80
19
+ } from "./location-activity-kg8sjy89.js";
20
20
  import {
21
- Service54,
22
- node56
23
- } from "./file-retention-4jreprph.js";
21
+ Service74,
22
+ node78
23
+ } from "./location-activity-dwxh89b6.js";
24
24
  import {
25
- ID8,
25
+ ID12,
26
26
  VariantID2,
27
27
  Ref2,
28
- Service71,
29
- node75,
28
+ Service75,
29
+ node79,
30
30
  supportsText2
31
- } from "./file-retention-9nsgat1s.js";
31
+ } from "./location-activity-pc2e4npa.js";
32
32
  import {
33
33
  __export
34
- } from "./file-retention-9rqn6x4v.js";
34
+ } from "./location-activity-9rqn6x4v.js";
35
35
 
36
36
  // src/model-resolver.ts
37
37
  var exports_model_resolver = {};
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
40
40
  ModelConfigurationError: () => ModelConfigurationError2,
41
41
  ModelInitializationError: () => ModelInitializationError2,
42
42
  ModelResolver: () => exports_model_resolver,
43
- Service: () => Service53,
43
+ Service: () => Service73,
44
44
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
45
45
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
46
46
  UnsupportedPackageError: () => UnsupportedPackageError2,
47
47
  VariantUnavailableError: () => VariantUnavailableError2,
48
48
  fromCatalogModel: () => fromCatalogModel2,
49
49
  hasPackage: () => hasPackage2,
50
- layer: () => layer22,
51
- node: () => node55,
50
+ layer: () => layer26,
51
+ node: () => node77,
52
52
  resolveModel: () => resolveModel2,
53
53
  withVariant: () => withVariant2
54
54
  });
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
58
58
  import { Context, Effect, Layer, Schema, Struct } from "effect";
59
59
  import { Npm } from "@opencode/util/npm";
60
60
  class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
61
- providerID: ID9,
62
- modelID: ID8,
61
+ providerID: ID13,
62
+ modelID: ID12,
63
63
  variant: VariantID2
64
64
  }) {
65
65
  get message() {
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
68
68
  }
69
69
 
70
70
  class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
71
- providerID: ID9,
72
- modelID: ID8,
71
+ providerID: ID13,
72
+ modelID: ID12,
73
73
  package: Schema.String
74
74
  }) {
75
75
  get message() {
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
79
79
  var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
80
80
 
81
81
  class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
82
- providerID: ID9,
83
- modelID: ID8,
82
+ providerID: ID13,
83
+ modelID: ID12,
84
84
  package: Schema.String,
85
85
  detail: Schema.String
86
86
  }) {
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
90
90
  }
91
91
 
92
92
  class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
93
- providerID: ID9,
94
- modelID: ID8,
93
+ providerID: ID13,
94
+ modelID: ID12,
95
95
  package: Schema.String,
96
96
  phase: InitializationPhase2,
97
97
  detail: Schema.String
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
102
102
  }
103
103
 
104
104
  class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
105
- providerID: ID9,
106
- modelID: ID8,
105
+ providerID: ID13,
106
+ modelID: ID12,
107
107
  variables: Schema.Array(Schema.String)
108
108
  }) {
109
109
  get message() {
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
112
112
  }
113
113
 
114
114
  class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
115
- providerID: ID9,
116
- modelID: ID8,
115
+ providerID: ID13,
116
+ modelID: ID12,
117
117
  route: Schema.String
118
118
  }) {
119
119
  get message() {
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
121
121
  }
122
122
  }
123
123
 
124
- class Service53 extends Context.Service()("@opencode/ModelResolver") {
124
+ class Service73 extends Context.Service()("@opencode/ModelResolver") {
125
125
  }
126
126
  var withVariant2 = (model, variantID) => {
127
127
  const id = variantID === "default" ? undefined : variantID;
@@ -235,7 +235,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
235
235
  return tokenSettings(specifier, credential.access);
236
236
  if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
237
237
  return { auth: "sigv4" };
238
- if (model.providerID === ID9.azure)
238
+ if (model.providerID === ID13.azure)
239
239
  return tokenSettings(specifier, "azure-cli");
240
240
  return {};
241
241
  };
@@ -270,15 +270,15 @@ var causeMessage = (cause) => {
270
270
  };
271
271
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
272
272
  var hasPackage2 = (model) => Boolean(model.package);
273
- var layer22 = Layer.effect(Service53, Effect.gen(function* () {
274
- const providers = yield* Service72;
275
- const models = yield* Service71;
276
- const integrations = yield* Service73;
273
+ var layer26 = Layer.effect(Service73, Effect.gen(function* () {
274
+ const providers = yield* Service76;
275
+ const models = yield* Service75;
276
+ const integrations = yield* Service77;
277
277
  const npm = yield* Npm.Service;
278
- const aisdk = yield* Service54;
278
+ const aisdk = yield* Service74;
279
279
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
280
280
  const provider = yield* providers.get(selected.providerID);
281
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
281
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID14.make(selected.providerID));
282
282
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
283
283
  const selectedVariant = yield* withVariant2(selected, variant);
284
284
  const runtimeInfo = {
@@ -305,7 +305,7 @@ var layer22 = Layer.effect(Service53, Effect.gen(function* () {
305
305
  chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
306
306
  };
307
307
  });
308
- return Service53.of({
308
+ return Service73.of({
309
309
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
310
310
  const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
311
311
  if (!selected)
@@ -322,10 +322,10 @@ function usesAPIKeyAuth(packageName) {
322
322
  const name = packageName2(packageName);
323
323
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
324
324
  }
325
- var node55 = makeLocationNode({
326
- service: Service53,
327
- layer: layer22,
328
- deps: [node76, node75, node77, Npm.node, node56]
325
+ var node77 = makeLocationNode({
326
+ service: Service73,
327
+ layer: layer26,
328
+ deps: [node80, node79, node81, Npm.node, node78]
329
329
  });
330
330
 
331
- export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service53, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer22, node55, exports_model_resolver };
331
+ export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service73, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer26, node77, exports_model_resolver };
@@ -1,56 +1,56 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-retention-w9fhzwa2.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-activity-4jzaeymv.js";
5
5
  import {
6
- Event17,
7
- Service74,
8
- node78
9
- } from "./file-retention-pf36ngag.js";
6
+ Event19,
7
+ Service78,
8
+ node82
9
+ } from "./location-activity-zhzn9e0f.js";
10
10
  import {
11
- Service63,
12
- node67
13
- } from "./file-retention-g23n40bc.js";
11
+ Service46,
12
+ node50
13
+ } from "./location-activity-pyep6me2.js";
14
14
  import {
15
15
  AbsolutePath2
16
- } from "./file-retention-z5v4ffb3.js";
16
+ } from "./location-activity-z5v4ffb3.js";
17
17
  import {
18
- Service79,
19
- node83
20
- } from "./file-retention-gv3w2mnf.js";
18
+ Service80,
19
+ node84
20
+ } from "./location-activity-fkdbhykb.js";
21
21
  import {
22
22
  substitute2
23
- } from "./file-retention-4ts7tf6z.js";
23
+ } from "./location-activity-4ts7tf6z.js";
24
24
  import {
25
25
  normalize2
26
- } from "./file-retention-k2cn82en.js";
26
+ } from "./location-activity-5fkss4w2.js";
27
27
  import {
28
28
  names4,
29
29
  discover3
30
- } from "./file-retention-51bjw4cg.js";
30
+ } from "./location-activity-zw6m2k70.js";
31
31
  import {
32
32
  plan2
33
- } from "./file-retention-j56e64zr.js";
33
+ } from "./location-activity-j56e64zr.js";
34
34
  import {
35
- Service64,
36
- Event12,
37
- node68
38
- } from "./file-retention-0baxf3qk.js";
35
+ Service48,
36
+ Event9,
37
+ node52
38
+ } from "./location-activity-7avcz6cb.js";
39
39
  import {
40
40
  __export
41
- } from "./file-retention-9rqn6x4v.js";
41
+ } from "./location-activity-9rqn6x4v.js";
42
42
 
43
43
  // src/config.ts
44
44
  var exports_config = {};
45
45
  __export(exports_config, {
46
46
  Config: () => exports_config,
47
47
  Options: () => Options8,
48
- Service: () => Service62,
48
+ Service: () => Service45,
49
49
  Test: () => Test2,
50
- configured: () => configured10,
50
+ configured: () => configured9,
51
51
  latest: () => latest2,
52
- layer: () => layer24,
53
- node: () => node66,
52
+ layer: () => layer20,
53
+ node: () => node49,
54
54
  testLayer: () => testLayer2
55
55
  });
56
56
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -71,7 +71,7 @@ var Options8 = Schema.Struct({
71
71
  content: Schema.optional(Schema.String)
72
72
  });
73
73
 
74
- class Service62 extends Context.Service()("@opencode/Config") {
74
+ class Service45 extends Context.Service()("@opencode/Config") {
75
75
  }
76
76
 
77
77
  class Test2 extends Context.Service()("@opencode/Config/Test") {
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
89
89
  setEntries: (next) => Ref.set(entries, next),
90
90
  emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
91
91
  });
92
- return Context.empty().pipe(Context.add(Service62, service), Context.add(Test2, service));
92
+ return Context.empty().pipe(Context.add(Service45, service), Context.add(Test2, service));
93
93
  }));
94
- var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
94
+ var layer20 = (options) => Layer.effect(Service45, Effect.gen(function* () {
95
95
  const fs = yield* FSUtil.Service;
96
- const location = yield* Service79;
97
- const watcher = yield* Service63;
98
- const bus = yield* Service84;
99
- const credentials = yield* Service74;
96
+ const location = yield* Service80;
97
+ const watcher = yield* Service46;
98
+ const bus = yield* Service83;
99
+ const credentials = yield* Service78;
100
100
  const globalService = yield* Global.Service;
101
- const wellknown = yield* Service64;
101
+ const wellknown = yield* Service48;
102
102
  const reloadLock = Semaphore.makeUnsafe(1);
103
103
  const updateLock = Semaphore.makeUnsafe(1);
104
104
  const decodeOptions = { errors: "all", onExcessProperty: "ignore" };
@@ -217,8 +217,8 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
217
217
  }, (effect) => reloadLock.withPermit(effect));
218
218
  const pendingReloads = yield* PubSub.subscribe(reloads);
219
219
  yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
220
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
221
- yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
220
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
221
+ yield* bus.subscribe(Event9.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
222
222
  yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
223
223
  if (!wellknown.snapshot().length)
224
224
  return Effect.void;
@@ -246,7 +246,7 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
246
246
  `);
247
247
  yield* requestReload;
248
248
  }, (effect) => updateLock.withPermit(effect));
249
- return Service62.of({
249
+ return Service45.of({
250
250
  entries: Effect.fnUntraced(function* () {
251
251
  return configs;
252
252
  }),
@@ -258,13 +258,13 @@ var layer24 = (options) => Layer.effect(Service62, Effect.gen(function* () {
258
258
  update
259
259
  });
260
260
  }));
261
- function configured10(options) {
261
+ function configured9(options) {
262
262
  return makeLocationNode({
263
- service: Service62,
264
- layer: layer24(options),
265
- deps: [node67, node88, FSUtil.node, Global.node, node83, node78, node68]
263
+ service: Service45,
264
+ layer: layer20(options),
265
+ deps: [node50, node87, FSUtil.node, Global.node, node84, node82, node52]
266
266
  });
267
267
  }
268
- var node66 = configured10();
268
+ var node49 = configured9();
269
269
 
270
- export { latest2, Options8, Service62, Test2, testLayer2, layer24, configured10, node66, exports_config };
270
+ export { latest2, Options8, Service45, Test2, testLayer2, layer20, configured9, node49, exports_config };
@@ -1,16 +1,16 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-retention-w9fhzwa2.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-activity-4jzaeymv.js";
5
5
  import {
6
6
  environment2
7
- } from "./file-retention-84tzk9gr.js";
7
+ } from "./location-activity-64j4absa.js";
8
8
  import {
9
9
  makeDaemonTransport2
10
- } from "./file-retention-3t0ybcrp.js";
10
+ } from "./location-activity-3t0ybcrp.js";
11
11
  import {
12
12
  __export
13
- } from "./file-retention-9rqn6x4v.js";
13
+ } from "./location-activity-9rqn6x4v.js";
14
14
 
15
15
  // src/persistent-pty/index.ts
16
16
  var exports_persistent_pty = {};
@@ -19,12 +19,12 @@ __export(exports_persistent_pty, {
19
19
  NotFoundError: () => NotFoundError4,
20
20
  Options: () => Options4,
21
21
  PersistentPty: () => exports_persistent_pty,
22
- Service: () => Service26,
23
- UnavailableError: () => UnavailableError3,
22
+ Service: () => Service23,
23
+ UnavailableError: () => UnavailableError2,
24
24
  available: () => available2,
25
25
  configured: () => configured4,
26
- layer: () => layer13,
27
- node: () => node29
26
+ layer: () => layer12,
27
+ node: () => node26
28
28
  });
29
29
  import path from "node:path";
30
30
  import { Context, Effect, Layer, Schema } from "effect";
@@ -41,7 +41,7 @@ var Options4 = Schema.Struct({
41
41
  root: Schema.optional(Schema.String)
42
42
  });
43
43
 
44
- class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
44
+ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
45
45
  message: Schema.String
46
46
  }) {
47
47
  }
@@ -51,10 +51,10 @@ class NotFoundError4 extends Schema.TaggedError()("PersistentPty.NotFoundError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service26 extends Context.Service()("@opencode/PersistentPty") {
54
+ class Service23 extends Context.Service()("@opencode/PersistentPty") {
55
55
  }
56
- var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* () {
57
- const bus = yield* Service84;
56
+ var makeLayer = (options = {}) => Layer.effect(Service23, Effect.gen(function* () {
57
+ const bus = yield* Service83;
58
58
  const global = yield* Global.Service;
59
59
  const context = yield* Effect.context();
60
60
  const runFork = Effect.runForkWith(context);
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
166
166
  });
167
167
  const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
168
168
  if (lines !== undefined && !Schema.is(ReadLines)(lines))
169
- return yield* new UnavailableError3({ message: "lines must be an integer between 1 and 65535" });
169
+ return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
170
170
  const id = current.get(sessionID);
171
171
  if (!id)
172
172
  return null;
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
243
243
  detach: attachment.detach
244
244
  };
245
245
  });
246
- return Service26.of({
246
+ return Service23.of({
247
247
  list,
248
248
  get,
249
249
  create,
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service26, Effect.gen(function* (
259
259
  attach
260
260
  });
261
261
  }));
262
- var layer13 = makeLayer();
262
+ var layer12 = makeLayer();
263
263
  var configured4 = (options) => makeGlobalNode({
264
- service: Service26,
265
- layer: options === undefined ? layer13 : makeLayer(options),
266
- deps: [node88, Global.node]
264
+ service: Service23,
265
+ layer: options === undefined ? layer12 : makeLayer(options),
266
+ deps: [node87, Global.node]
267
267
  });
268
- var node29 = configured4();
268
+ var node26 = configured4();
269
269
  var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
270
270
  var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
271
- var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
272
- var unavailable = (error) => new UnavailableError3({ message: error instanceof Error ? error.message : String(error) });
271
+ var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
272
+ var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
273
273
  function toInfo(value) {
274
274
  const status = value.lifecycle.status;
275
275
  return {
@@ -301,4 +301,4 @@ function fromID(value) {
301
301
  return parsed;
302
302
  }
303
303
 
304
- export { Options4, UnavailableError3, NotFoundError4, Service26, layer13, configured4, node29, exports_persistent_pty, Handoff2, available2 };
304
+ export { Options4, UnavailableError2, NotFoundError4, Service23, layer12, configured4, node26, exports_persistent_pty, Handoff2, available2 };
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  useragent2
3
- } from "./file-retention-cc4mce2f.js";
3
+ } from "./location-activity-h1m7a8ke.js";
4
4
  import {
5
- Service84
6
- } from "./file-retention-w9fhzwa2.js";
5
+ Service83
6
+ } from "./location-activity-4jzaeymv.js";
7
7
  import {
8
8
  OAuth3,
9
- Event17,
10
- Service74
11
- } from "./file-retention-pf36ngag.js";
9
+ Event19,
10
+ Service78
11
+ } from "./location-activity-zhzn9e0f.js";
12
12
  import {
13
- ID10,
13
+ ID14,
14
14
  MethodID2,
15
- Service73
16
- } from "./file-retention-pxtk0cfj.js";
15
+ Service77
16
+ } from "./location-activity-kwnn4fd0.js";
17
17
  import {
18
18
  success2,
19
19
  error2
20
- } from "./file-retention-pjvnvgmy.js";
20
+ } from "./location-activity-pjvnvgmy.js";
21
21
  import {
22
- ID9
23
- } from "./file-retention-pnpsbpqe.js";
22
+ ID13
23
+ } from "./location-activity-kg8sjy89.js";
24
24
  import {
25
25
  configuredSettings2
26
- } from "./file-retention-qfsp3spe.js";
26
+ } from "./location-activity-41bt6j85.js";
27
27
 
28
28
  // src/plugin/provider/snowflake-cortex.ts
29
29
  import { define } from "@opencode/plugin/effect/plugin";
30
30
  import { Form } from "@opencode/schema/form";
31
31
  import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
32
32
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
33
- var providerID = ID9.make("snowflake-cortex");
34
- var integrationID = ID10.make(providerID);
33
+ var providerID = ID13.make("snowflake-cortex");
34
+ var integrationID = ID14.make(providerID);
35
35
  var methodID = MethodID2.make("browser");
36
36
  var clientID = "LOCAL_APPLICATION";
37
37
  var accountForm = Form.Fields.make([
@@ -53,9 +53,9 @@ var SnowflakeCortexPlugin2 = define({
53
53
  id: "opencode.provider.snowflake.cortex",
54
54
  effect: Effect.fn(function* (ctx) {
55
55
  const http = yield* HttpClient.HttpClient;
56
- const credentials = yield* Service74;
57
- const integrations = yield* Service73;
58
- const bus = yield* Service84;
56
+ const credentials = yield* Service78;
57
+ const integrations = yield* Service77;
58
+ const bus = yield* Service83;
59
59
  const configured = yield* configuredSettings2(providerID);
60
60
  const account = { value: "" };
61
61
  const saved = Effect.gen(function* () {
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
184
184
  });
185
185
  }
186
186
  });
187
- yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
187
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
188
188
  yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
189
189
  const token = envToken();
190
190
  if (token)
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./file-retention-w9fhzwa2.js";
2
+ Service83,
3
+ node87
4
+ } from "./location-activity-4jzaeymv.js";
5
5
  import {
6
6
  create3
7
- } from "./file-retention-rdw6cm16.js";
7
+ } from "./location-activity-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./file-retention-9rqn6x4v.js";
10
+ } from "./location-activity-9rqn6x4v.js";
11
11
 
12
12
  // src/agent.ts
13
13
  var exports_agent4 = {};
14
14
  __export(exports_agent4, {
15
15
  Agent: () => exports_agent4,
16
16
  Color: () => Color2,
17
- Event: () => Event20,
18
- ID: () => ID17,
19
- Info: () => Info28,
17
+ Event: () => Event15,
18
+ ID: () => ID10,
19
+ Info: () => Info19,
20
20
  Name: () => Name3,
21
- Service: () => Service82,
21
+ Service: () => Service71,
22
22
  defaultID: () => defaultID2,
23
- node: () => node86
23
+ node: () => node75
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Array, Context, Effect, Layer } from "effect";
27
27
  import { Agent } from "@opencode/schema/agent";
28
- import { Event as Event20 } from "@opencode/schema/agent";
29
- var ID17 = Agent.ID;
28
+ import { Event as Event15 } from "@opencode/schema/agent";
29
+ var ID10 = Agent.ID;
30
30
  var Name3 = Agent.Name;
31
- var defaultID2 = ID17.make("build");
31
+ var defaultID2 = ID10.make("build");
32
32
  var Color2 = Agent.Color;
33
- var Info28 = Agent.Info;
33
+ var Info19 = Agent.Info;
34
34
 
35
- class Service82 extends Context.Service()("@opencode/Agent") {
35
+ class Service71 extends Context.Service()("@opencode/Agent") {
36
36
  }
37
- var layer = Layer.effect(Service82, Effect.gen(function* () {
38
- const bus = yield* Service84;
37
+ var layer = Layer.effect(Service71, Effect.gen(function* () {
38
+ const bus = yield* Service83;
39
39
  const state = create3({
40
40
  name: "agent",
41
41
  initial: () => ({ agents: new Map }),
@@ -46,7 +46,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
46
46
  editor.default = id;
47
47
  },
48
48
  update: (id, fn) => {
49
- const current = editor.agents.get(id) ?? Info28.default(id);
49
+ const current = editor.agents.get(id) ?? Info19.default(id);
50
50
  if (!editor.agents.has(id))
51
51
  editor.agents.set(id, current);
52
52
  fn(current);
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
64
64
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
65
65
  if (configured)
66
66
  return configured;
67
- const build = selectable(data.agents.get(ID17.make("build")));
67
+ const build = selectable(data.agents.get(ID10.make("build")));
68
68
  if (build)
69
69
  return build;
70
70
  for (const agent of data.agents.values()) {
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
73
73
  return fallback;
74
74
  }
75
75
  };
76
- return Service82.of({
76
+ return Service71.of({
77
77
  transform: state.transform,
78
78
  reload: state.reload,
79
79
  get: Effect.fn("Agent.get")(function* (id) {
@@ -81,12 +81,12 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
81
81
  }),
82
82
  resolve: Effect.fnUntraced(function* (id) {
83
83
  if (id !== undefined)
84
- return state.get().agents.get(ID17.make(id));
84
+ return state.get().agents.get(ID10.make(id));
85
85
  return selectedDefault();
86
86
  }),
87
87
  select: Effect.fn("Agent.select")(function* (id) {
88
88
  if (id !== undefined) {
89
- const selected = ID17.make(id);
89
+ const selected = ID10.make(id);
90
90
  return { id: selected, info: state.get().agents.get(selected) };
91
91
  }
92
92
  const info = selectedDefault();
@@ -101,6 +101,6 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
101
101
  })
102
102
  });
103
103
  }));
104
- var node86 = makeLocationNode({ service: Service82, layer, deps: [node88] });
104
+ var node75 = makeLocationNode({ service: Service71, layer, deps: [node87] });
105
105
 
106
- export { ID17, Name3, defaultID2, Color2, Info28, Service82, node86, exports_agent4, Event20 };
106
+ export { ID10, Name3, defaultID2, Color2, Info19, Service71, node75, exports_agent4, Event15 };