@opencode/core 0.0.0-dev-19906 → 0.0.0-dev-19908

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 (795) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +91 -91
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{model-ak9msbxp.js → location-service-map-0fn2v7vk.js} +6 -6
  8. package/dist/chunks/{model-6anwy9fs.js → location-service-map-0ft9cg2j.js} +4 -4
  9. package/dist/chunks/{model-4y303w9z.js → location-service-map-0m0tvs7x.js} +4 -4
  10. package/dist/chunks/{model-mzmk89a7.js → location-service-map-0mkceren.js} +18 -18
  11. package/dist/chunks/{model-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{model-7jpnqdrn.js → location-service-map-0pvf7m16.js} +8 -8
  13. package/dist/chunks/{model-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{model-8n69n882.js → location-service-map-0t9wd588.js} +8 -8
  15. package/dist/chunks/{model-d0n5q4mr.js → location-service-map-0yxeee59.js} +22 -22
  16. package/dist/chunks/{model-30846h32.js → location-service-map-166kng33.js} +8 -8
  17. package/dist/chunks/{model-m6hv1ynn.js → location-service-map-1a5fqs30.js} +13 -13
  18. package/dist/chunks/{model-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  19. package/dist/chunks/{model-hqk0mjyf.js → location-service-map-1tm87m4q.js} +29 -29
  20. package/dist/chunks/{model-617mz6mg.js → location-service-map-1v655e7m.js} +25 -25
  21. package/dist/chunks/{model-f25186rv.js → location-service-map-1w6r18a3.js} +9 -9
  22. package/dist/chunks/{model-1ygqh575.js → location-service-map-1ygqh575.js} +2 -2
  23. package/dist/chunks/{model-ycznwsmg.js → location-service-map-1z27hz33.js} +52 -52
  24. package/dist/chunks/{model-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  25. package/dist/chunks/location-service-map-25wt5q19.js +26 -0
  26. package/dist/chunks/{model-fed635kz.js → location-service-map-27npcnq6.js} +46 -46
  27. package/dist/chunks/{model-c21zgsdc.js → location-service-map-2938t71n.js} +83 -83
  28. package/dist/chunks/{model-eda10e0w.js → location-service-map-2a4ngzra.js} +13 -13
  29. package/dist/chunks/{model-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{model-24n759rf.js → location-service-map-2b1sk39h.js} +13 -13
  31. package/dist/chunks/{model-ja8b0p8w.js → location-service-map-2e38sqrt.js} +29 -29
  32. package/dist/chunks/{model-67cn3afk.js → location-service-map-2f0ps26r.js} +1 -1
  33. package/dist/chunks/{model-57ez7d0k.js → location-service-map-2fgn2we9.js} +9 -9
  34. package/dist/chunks/{model-81c74w9q.js → location-service-map-2km99av1.js} +25 -25
  35. package/dist/chunks/{model-fy24btyg.js → location-service-map-2n3788zq.js} +8 -8
  36. package/dist/chunks/{model-cq37gk0t.js → location-service-map-2tfmgkzg.js} +4 -4
  37. package/dist/chunks/{model-3b9wpp8z.js → location-service-map-2v82530a.js} +27 -27
  38. package/dist/chunks/{model-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{model-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  40. package/dist/chunks/{model-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{model-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{model-ptxd578g.js → location-service-map-3y1j0a2h.js} +6 -6
  43. package/dist/chunks/{model-xrsj52z1.js → location-service-map-3zjkz1b2.js} +15 -15
  44. package/dist/chunks/{model-3d48rpge.js → location-service-map-4bhjphkk.js} +9 -9
  45. package/dist/chunks/{model-jm6epzf6.js → location-service-map-4cxhm7bv.js} +21 -21
  46. package/dist/chunks/{model-49tets05.js → location-service-map-4jhxmthm.js} +86 -86
  47. package/dist/chunks/{model-tfeg9myv.js → location-service-map-4m7whkwr.js} +8 -8
  48. package/dist/chunks/{model-80re81y7.js → location-service-map-4ppc3h9w.js} +24 -24
  49. package/dist/chunks/{model-5gscr08n.js → location-service-map-4q8wsteh.js} +21 -21
  50. package/dist/chunks/{model-qcp46jqm.js → location-service-map-4xwtynpb.js} +20 -20
  51. package/dist/chunks/{model-g76p47h1.js → location-service-map-4y1a8txt.js} +4 -4
  52. package/dist/chunks/{model-5qcg10v8.js → location-service-map-51tvzc68.js} +5 -5
  53. package/dist/chunks/{model-9gfv2xp5.js → location-service-map-5bxs6rtb.js} +2 -2
  54. package/dist/chunks/{model-a1bz86dw.js → location-service-map-5c4hm403.js} +3 -3
  55. package/dist/chunks/{model-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  56. package/dist/chunks/{model-82ecz04y.js → location-service-map-5egg5sww.js} +3 -3
  57. package/dist/chunks/{model-dz52anvj.js → location-service-map-5kfdkwnt.js} +7 -7
  58. package/dist/chunks/{model-wgjvgmhd.js → location-service-map-5r3df9a0.js} +6 -6
  59. package/dist/chunks/{model-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  60. package/dist/chunks/{model-trrw5nej.js → location-service-map-5wrvcd50.js} +30 -30
  61. package/dist/chunks/{model-m7zf2my5.js → location-service-map-5xerxp25.js} +8 -8
  62. package/dist/chunks/{model-q5nw5m1n.js → location-service-map-5yeq06a0.js} +9 -9
  63. package/dist/chunks/{model-ewcf1cet.js → location-service-map-65m45y7f.js} +30 -30
  64. package/dist/chunks/{model-b9zak6q0.js → location-service-map-662skhf0.js} +20 -20
  65. package/dist/chunks/{model-669tq793.js → location-service-map-669tq793.js} +1 -1
  66. package/dist/chunks/{model-q4e839b4.js → location-service-map-66px8fgb.js} +14 -14
  67. package/dist/chunks/{model-zp6a1j7x.js → location-service-map-67e2aj6a.js} +12 -12
  68. package/dist/chunks/{model-hsej789g.js → location-service-map-6836s78k.js} +11 -11
  69. package/dist/chunks/{model-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
  70. package/dist/chunks/{model-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  71. package/dist/chunks/location-service-map-6pjjxh9g.js +492 -0
  72. package/dist/chunks/{model-8pydb23g.js → location-service-map-6qn23cec.js} +3 -3
  73. package/dist/chunks/{model-0w8znyxp.js → location-service-map-772npm7s.js} +40 -40
  74. package/dist/chunks/{model-m51ka6xh.js → location-service-map-78tqsgcn.js} +41 -41
  75. package/dist/chunks/{model-wk5aq6b6.js → location-service-map-7b4eysef.js} +22 -22
  76. package/dist/chunks/{model-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  77. package/dist/chunks/{model-8msexk33.js → location-service-map-7ph5r14r.js} +2 -2
  78. package/dist/chunks/{model-cypx4awd.js → location-service-map-83bwd35t.js} +10 -10
  79. package/dist/chunks/{model-n1f5brrh.js → location-service-map-8a9xw8ry.js} +13 -13
  80. package/dist/chunks/{model-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  81. package/dist/chunks/{model-b24rrkag.js → location-service-map-8hyye2v9.js} +15 -15
  82. package/dist/chunks/{model-4scs7em6.js → location-service-map-8jb42n3c.js} +8 -8
  83. package/dist/chunks/{model-5f2gmn95.js → location-service-map-8pen1rfb.js} +9 -9
  84. package/dist/chunks/{model-vw5157cc.js → location-service-map-8pxjqnah.js} +11 -11
  85. package/dist/chunks/{model-7z44qz3y.js → location-service-map-8r1shvjs.js} +4 -4
  86. package/dist/chunks/{model-3ythc6yv.js → location-service-map-8s8mxddj.js} +4 -4
  87. package/dist/chunks/{model-a46pcpxp.js → location-service-map-90zzpcmb.js} +5 -5
  88. package/dist/chunks/{model-6r7d6r5c.js → location-service-map-9180s51j.js} +6 -6
  89. package/dist/chunks/{model-vnwmzs4a.js → location-service-map-92azg307.js} +5 -5
  90. package/dist/chunks/{model-detb6v1k.js → location-service-map-98b0h016.js} +10 -10
  91. package/dist/chunks/{model-4dgbcxzg.js → location-service-map-9a1vbzsf.js} +4 -4
  92. package/dist/chunks/{model-1h3ybkz7.js → location-service-map-9gn5b0q7.js} +32 -32
  93. package/dist/chunks/{model-9hn6k4tm.js → location-service-map-9hn6k4tm.js} +1 -1
  94. package/dist/chunks/{model-vd8a1zrh.js → location-service-map-9v0tnpfd.js} +36 -36
  95. package/dist/chunks/{model-b2bk0y8k.js → location-service-map-9vnf7qt0.js} +32 -32
  96. package/dist/chunks/{model-pv4qdjr1.js → location-service-map-9wtk3fb8.js} +7 -7
  97. package/dist/chunks/{model-evbgk2k8.js → location-service-map-9xvq3m7s.js} +5 -5
  98. package/dist/chunks/{model-fkdsr5vw.js → location-service-map-a4vpawzh.js} +176 -176
  99. package/dist/chunks/{model-9jywrqt4.js → location-service-map-a5t0p1z6.js} +17 -17
  100. package/dist/chunks/{model-w3nq1sqw.js → location-service-map-a881zpfh.js} +9 -9
  101. package/dist/chunks/{model-9zav9t5q.js → location-service-map-a8efdyvq.js} +4 -4
  102. package/dist/chunks/{model-8g1y0937.js → location-service-map-a90nz60e.js} +22 -22
  103. package/dist/chunks/{model-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  104. package/dist/chunks/{model-nr0jgk0c.js → location-service-map-ab8cnxkj.js} +12 -12
  105. package/dist/chunks/{model-baw5f1vq.js → location-service-map-ag26xfby.js} +25 -25
  106. package/dist/chunks/{model-g4zzvkd8.js → location-service-map-army0fs2.js} +15 -15
  107. package/dist/chunks/{model-7rh4jp67.js → location-service-map-awxzb73g.js} +11 -11
  108. package/dist/chunks/{model-4g7z9a9z.js → location-service-map-b4x0msg6.js} +9 -9
  109. package/dist/chunks/{model-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{model-6np7xqzj.js → location-service-map-b6jkr1zz.js} +13 -13
  111. package/dist/chunks/{model-pek9xgfv.js → location-service-map-b9ez143t.js} +51 -51
  112. package/dist/chunks/{model-wjp0zyyh.js → location-service-map-bbfzv23w.js} +62 -62
  113. package/dist/chunks/{model-thwc3zjr.js → location-service-map-bn6tr5ps.js} +8 -8
  114. package/dist/chunks/{model-gzmxr3dp.js → location-service-map-bxtw2qk2.js} +17 -17
  115. package/dist/chunks/{model-8dft9m2d.js → location-service-map-bypa996g.js} +11 -11
  116. package/dist/chunks/{model-f3ngv102.js → location-service-map-cavr175a.js} +4 -4
  117. package/dist/chunks/{model-4w2arca3.js → location-service-map-ckp5ab6w.js} +24 -24
  118. package/dist/chunks/{model-p3ej63d7.js → location-service-map-ckyt0zc1.js} +16 -16
  119. package/dist/chunks/{model-fgh23p0g.js → location-service-map-cnhy75xp.js} +8 -8
  120. package/dist/chunks/{model-w3jqh4s1.js → location-service-map-d0g4z7q4.js} +5 -5
  121. package/dist/chunks/{model-3pbjq009.js → location-service-map-d1x6gan2.js} +8 -8
  122. package/dist/chunks/{model-8z61dkqt.js → location-service-map-ddbqavaz.js} +14 -14
  123. package/dist/chunks/{model-ddt2bs9e.js → location-service-map-ddt2bs9e.js} +1 -1
  124. package/dist/chunks/{model-3ry6dp0s.js → location-service-map-de260zrm.js} +30 -30
  125. package/dist/chunks/{model-px4npgva.js → location-service-map-dexmpbfg.js} +11 -11
  126. package/dist/chunks/{model-8p4f9s12.js → location-service-map-dj2t23y0.js} +2 -2
  127. package/dist/chunks/{model-r2m716tb.js → location-service-map-djszqvmq.js} +9 -9
  128. package/dist/chunks/{model-x6e27gyg.js → location-service-map-dn8dshff.js} +31 -31
  129. package/dist/chunks/{model-y71avatq.js → location-service-map-dpkg50ah.js} +4 -4
  130. package/dist/chunks/{model-xfkkasph.js → location-service-map-drwq78ky.js} +4 -4
  131. package/dist/chunks/{model-xfwdgfzz.js → location-service-map-dtcnxq3d.js} +7 -7
  132. package/dist/chunks/{model-r6mmreqb.js → location-service-map-dy5qaydb.js} +16 -16
  133. package/dist/chunks/{model-1tvyn6pa.js → location-service-map-e4a7h3de.js} +30 -30
  134. package/dist/chunks/{model-rhjbct0v.js → location-service-map-eaj1djv9.js} +8 -8
  135. package/dist/chunks/{model-qtm3z6ae.js → location-service-map-ebs875ns.js} +4 -4
  136. package/dist/chunks/{model-33ewhzb2.js → location-service-map-eewwnnjm.js} +4 -4
  137. package/dist/chunks/{model-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  138. package/dist/chunks/{model-4r1q6yk4.js → location-service-map-emrt4k6z.js} +18 -18
  139. package/dist/chunks/{model-wyk2zdvm.js → location-service-map-ep7z2cty.js} +7 -7
  140. package/dist/chunks/{model-0r7yqxbf.js → location-service-map-eq23s0y6.js} +5 -5
  141. package/dist/chunks/{model-erw5rpbs.js → location-service-map-erw5rpbs.js} +2 -2
  142. package/dist/chunks/{model-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  143. package/dist/chunks/{model-8qm1q81j.js → location-service-map-f5vqjzqv.js} +24 -24
  144. package/dist/chunks/{model-55xp6bg4.js → location-service-map-f6dgbcmr.js} +15 -15
  145. package/dist/chunks/{model-62wkya8p.js → location-service-map-f98t382m.js} +27 -27
  146. package/dist/chunks/{model-kjr739rk.js → location-service-map-fdwj3bfj.js} +20 -20
  147. package/dist/chunks/{model-5yrty1my.js → location-service-map-fhk237js.js} +44 -44
  148. package/dist/chunks/{model-k9kj6xed.js → location-service-map-fkjmw100.js} +2 -2
  149. package/dist/chunks/{model-cp54x4ft.js → location-service-map-fmyban77.js} +12 -12
  150. package/dist/chunks/{model-8dvafn7y.js → location-service-map-fv22qhf7.js} +11 -11
  151. package/dist/chunks/{model-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{model-e27b6zer.js → location-service-map-fzb7pnb3.js} +34 -34
  153. package/dist/chunks/{model-g8d3gcyj.js → location-service-map-g8d3gcyj.js} +1 -1
  154. package/dist/chunks/{model-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{model-2702ket8.js → location-service-map-gkejymts.js} +4 -4
  156. package/dist/chunks/{model-31t7rjpy.js → location-service-map-gkxbbwdq.js} +18 -18
  157. package/dist/chunks/{model-dsvzr21z.js → location-service-map-gp68ydnh.js} +8 -8
  158. package/dist/chunks/{model-dhq7qzd4.js → location-service-map-gtsscnck.js} +9 -9
  159. package/dist/chunks/{model-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
  160. package/dist/chunks/{model-p03m8v7a.js → location-service-map-gx2b53vf.js} +20 -20
  161. package/dist/chunks/{model-tgrf6q2r.js → location-service-map-gxnxecbq.js} +25 -25
  162. package/dist/chunks/{model-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{model-f828m53h.js → location-service-map-hdnk95c8.js} +2 -2
  164. package/dist/chunks/{model-jfjcbkfy.js → location-service-map-hfeprhdn.js} +17 -17
  165. package/dist/chunks/{model-xqvzjshe.js → location-service-map-hk3dpda4.js} +46 -46
  166. package/dist/chunks/{model-nng2ktcm.js → location-service-map-hkagk5ex.js} +2 -2
  167. package/dist/chunks/{model-pecb0brz.js → location-service-map-hkfg6fzm.js} +5 -5
  168. package/dist/chunks/{model-9qm9mqrq.js → location-service-map-hs63n349.js} +43 -43
  169. package/dist/chunks/{model-egtt0c8j.js → location-service-map-hsvnfevx.js} +10 -10
  170. package/dist/chunks/{model-kqx275ez.js → location-service-map-htx28xdf.js} +4 -4
  171. package/dist/chunks/{model-ramdt8r4.js → location-service-map-hzbz7kx4.js} +37 -37
  172. package/dist/chunks/{model-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  173. package/dist/chunks/{model-7x8pqxry.js → location-service-map-j7jx6nts.js} +11 -11
  174. package/dist/chunks/{model-2e96adxv.js → location-service-map-jemfgm91.js} +6 -6
  175. package/dist/chunks/{model-p3psqptm.js → location-service-map-jqx27dm3.js} +14 -14
  176. package/dist/chunks/{model-pkd8g7wy.js → location-service-map-jrxej8cd.js} +19 -19
  177. package/dist/chunks/{model-bwgn3y77.js → location-service-map-k188wcvq.js} +11 -11
  178. package/dist/chunks/{model-r1hwgwre.js → location-service-map-k9ab4ktd.js} +11 -11
  179. package/dist/chunks/{model-y6rnqc01.js → location-service-map-kp1afcxm.js} +29 -29
  180. package/dist/chunks/{model-dpbk6b42.js → location-service-map-m012ar2z.js} +3 -3
  181. package/dist/chunks/{model-cfpkc3c9.js → location-service-map-m0jqrx5p.js} +2 -2
  182. package/dist/chunks/{model-m3fdjcah.js → location-service-map-m3fdjcah.js} +1 -1
  183. package/dist/chunks/{model-jycas13j.js → location-service-map-m4z85945.js} +8 -8
  184. package/dist/chunks/{model-fhwzv4xw.js → location-service-map-m5xhdgb9.js} +24 -24
  185. package/dist/chunks/{model-f65e2tnm.js → location-service-map-m6ry2d28.js} +11 -11
  186. package/dist/chunks/{model-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{model-1bbkgx8g.js → location-service-map-mhkvc446.js} +3 -3
  188. package/dist/chunks/{model-svpkzja3.js → location-service-map-mtq5sw6w.js} +1 -1
  189. package/dist/chunks/{model-hmncc71v.js → location-service-map-mv76532y.js} +28 -28
  190. package/dist/chunks/{model-djjemven.js → location-service-map-n98zs5sd.js} +15 -15
  191. package/dist/chunks/{model-7w99qc9d.js → location-service-map-ndmv45hp.js} +3 -3
  192. package/dist/chunks/{model-pk6g247z.js → location-service-map-nhnj3r8x.js} +6 -6
  193. package/dist/chunks/{model-f5yjxap3.js → location-service-map-nn0rafdk.js} +27 -27
  194. package/dist/chunks/{model-zva0wn8c.js → location-service-map-nx2c145c.js} +22 -22
  195. package/dist/chunks/{model-k3c624dm.js → location-service-map-nzks3jc8.js} +3 -3
  196. package/dist/chunks/{model-tbz0fdvh.js → location-service-map-p28j5sbe.js} +5 -5
  197. package/dist/chunks/{model-qq1r3f8e.js → location-service-map-p3mw2y19.js} +19 -19
  198. package/dist/chunks/{model-1mywsabn.js → location-service-map-p5qkcp8b.js} +28 -28
  199. package/dist/chunks/{model-d1mtykxg.js → location-service-map-p7a39gy5.js} +6 -6
  200. package/dist/chunks/{model-06dxphr1.js → location-service-map-paegk39x.js} +4 -4
  201. package/dist/chunks/{model-jd1hrekq.js → location-service-map-pbw8g0bs.js} +23 -23
  202. package/dist/chunks/location-service-map-pf31ssb9.js +18 -0
  203. package/dist/chunks/{model-qw90jq9z.js → location-service-map-pfca1pfz.js} +18 -18
  204. package/dist/chunks/{model-ph842b28.js → location-service-map-ph842b28.js} +1 -1
  205. package/dist/chunks/{model-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  206. package/dist/chunks/{model-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  207. package/dist/chunks/{model-nq7qbqzc.js → location-service-map-pnv527nz.js} +9 -9
  208. package/dist/chunks/{model-0jwsre1p.js → location-service-map-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{model-cmx30k2t.js → location-service-map-qh9dpbry.js} +24 -24
  210. package/dist/chunks/{model-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  211. package/dist/chunks/{model-kgwh26dr.js → location-service-map-qtq0xewc.js} +13 -13
  212. package/dist/chunks/{model-2wg042nb.js → location-service-map-qwfgmsy8.js} +32 -32
  213. package/dist/chunks/{model-kpfqh20w.js → location-service-map-r33kyee3.js} +17 -17
  214. package/dist/chunks/{model-8sak357k.js → location-service-map-r3fe1xjf.js} +9 -9
  215. package/dist/chunks/{model-gpj713yt.js → location-service-map-r40g9bwm.js} +17 -17
  216. package/dist/chunks/{model-j68b2vf9.js → location-service-map-r6apnabc.js} +15 -15
  217. package/dist/chunks/{model-65bmdj78.js → location-service-map-r8z66xh6.js} +25 -25
  218. package/dist/chunks/{model-6hjx5zpb.js → location-service-map-r9w3djhf.js} +2 -2
  219. package/dist/chunks/{model-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{model-jj3nkk17.js → location-service-map-rew2pe94.js} +3 -3
  221. package/dist/chunks/{model-2nwq4sat.js → location-service-map-rx6jh09a.js} +5 -5
  222. package/dist/chunks/{model-scm34zbb.js → location-service-map-s7rj0mx9.js} +17 -17
  223. package/dist/chunks/{model-814nz666.js → location-service-map-s9zgft08.js} +7 -7
  224. package/dist/chunks/{model-h3ns4h34.js → location-service-map-sd2d2cgh.js} +32 -32
  225. package/dist/chunks/{model-9jsep90k.js → location-service-map-t847fcsw.js} +17 -17
  226. package/dist/chunks/{model-qnpnzv83.js → location-service-map-t9sq69f9.js} +29 -29
  227. package/dist/chunks/{model-t9zs3egg.js → location-service-map-t9zs3egg.js} +1 -1
  228. package/dist/chunks/{model-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{model-89znhe33.js → location-service-map-tcezcvh9.js} +4 -4
  230. package/dist/chunks/{model-bz85s9hh.js → location-service-map-tcg29b4q.js} +1 -1
  231. package/dist/chunks/{model-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  232. package/dist/chunks/{model-x7gy7spk.js → location-service-map-trhnmn1e.js} +47 -47
  233. package/dist/chunks/{model-ymg7q630.js → location-service-map-tt8pxjfh.js} +1 -1
  234. package/dist/chunks/{model-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  235. package/dist/chunks/{model-6za5pss1.js → location-service-map-v0nht15a.js} +23 -23
  236. package/dist/chunks/{model-gq14rzd7.js → location-service-map-v3h1wcwh.js} +6 -6
  237. package/dist/chunks/{model-j1k2dzb5.js → location-service-map-v3vvdts4.js} +8 -8
  238. package/dist/chunks/{model-32c9kn6c.js → location-service-map-v74dqahz.js} +9 -9
  239. package/dist/chunks/{model-998qzjh2.js → location-service-map-vd14z2yv.js} +15 -15
  240. package/dist/chunks/{model-rnxs58b0.js → location-service-map-ve8rn4r1.js} +17 -17
  241. package/dist/chunks/{model-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  242. package/dist/chunks/location-service-map-vj32h5cd.js +252 -0
  243. package/dist/chunks/{model-v5wng4vz.js → location-service-map-vk9pbctf.js} +32 -32
  244. package/dist/chunks/{model-5we7r0eg.js → location-service-map-vkt5fbj2.js} +5 -5
  245. package/dist/chunks/{model-hnfep17d.js → location-service-map-vq6a6twd.js} +25 -25
  246. package/dist/chunks/{model-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  247. package/dist/chunks/{model-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  248. package/dist/chunks/{model-ecdbp5kc.js → location-service-map-wawr6n1a.js} +12 -12
  249. package/dist/chunks/{model-9evpctxc.js → location-service-map-wby7c117.js} +5 -5
  250. package/dist/chunks/{model-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  251. package/dist/chunks/{model-1qtvxwgq.js → location-service-map-whtzs7pp.js} +26 -26
  252. package/dist/chunks/{model-2v3h84yr.js → location-service-map-wkegjedf.js} +5 -5
  253. package/dist/chunks/{model-6hm3mx1k.js → location-service-map-wpe4t8d6.js} +6 -6
  254. package/dist/chunks/{model-nsjh0tf2.js → location-service-map-wqc4f3p6.js} +10 -10
  255. package/dist/chunks/{model-j1b1tpcz.js → location-service-map-wtf9a8xg.js} +11 -11
  256. package/dist/chunks/{model-3j9bgvtg.js → location-service-map-wvgd2jmw.js} +5 -5
  257. package/dist/chunks/{model-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  258. package/dist/chunks/{model-cpcceztk.js → location-service-map-x1xcpfha.js} +16 -16
  259. package/dist/chunks/{model-cxe1rn3h.js → location-service-map-x6cf67we.js} +44 -44
  260. package/dist/chunks/{model-d8a4cx75.js → location-service-map-xam4be5c.js} +22 -22
  261. package/dist/chunks/{model-b7hkd5vm.js → location-service-map-xmhy1khr.js} +5 -5
  262. package/dist/chunks/{model-7bgx2qk6.js → location-service-map-xp4st0zd.js} +8 -8
  263. package/dist/chunks/{model-y890a693.js → location-service-map-xpqdzpnq.js} +17 -17
  264. package/dist/chunks/location-service-map-xrsqh21y.js +4 -0
  265. package/dist/chunks/{model-reg1ax5q.js → location-service-map-xt2qmbhx.js} +39 -39
  266. package/dist/chunks/{model-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{model-zh4h8ren.js → location-service-map-y2f1nv48.js} +24 -24
  268. package/dist/chunks/{model-5nxq8qj2.js → location-service-map-y38r0g18.js} +3 -3
  269. package/dist/chunks/{model-tcd91va5.js → location-service-map-y3a3cvm4.js} +32 -32
  270. package/dist/chunks/{model-wrypsvr9.js → location-service-map-y642n9b2.js} +8 -8
  271. package/dist/chunks/{model-2ssnk4hs.js → location-service-map-y6h6zkea.js} +16 -16
  272. package/dist/chunks/{model-tgfzkdey.js → location-service-map-y87t9fp6.js} +19 -19
  273. package/dist/chunks/{model-h4qyhxwk.js → location-service-map-yfdxd69c.js} +5 -5
  274. package/dist/chunks/{model-5ny6014x.js → location-service-map-ykw8m083.js} +18 -18
  275. package/dist/chunks/{model-1acjjqhc.js → location-service-map-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{model-xqbee9d5.js → location-service-map-yqm635vm.js} +12 -12
  277. package/dist/chunks/{model-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  278. package/dist/chunks/{model-yrznvahk.js → location-service-map-yrznvahk.js} +2 -2
  279. package/dist/chunks/{model-zn7x5201.js → location-service-map-yt1n8wq9.js} +35 -35
  280. package/dist/chunks/{model-6tac3grq.js → location-service-map-yxtrr34x.js} +21 -21
  281. package/dist/chunks/{model-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  282. package/dist/chunks/{model-z63w68vq.js → location-service-map-z63w68vq.js} +2 -2
  283. package/dist/chunks/{model-gfme63kk.js → location-service-map-z76vp15m.js} +6 -6
  284. package/dist/chunks/{model-k1drtz54.js → location-service-map-z8z94c7r.js} +24 -24
  285. package/dist/chunks/{model-bmzfqpm5.js → location-service-map-zar9kkhf.js} +23 -23
  286. package/dist/chunks/{model-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  287. package/dist/chunks/{model-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{model-q2nysqs7.js → location-service-map-ztwwngdb.js} +8 -8
  289. package/dist/chunks/{model-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +9 -9
  292. package/dist/codemode/tool.js +3 -3
  293. package/dist/codemode/web.js +1 -1
  294. package/dist/command.js +80 -80
  295. package/dist/config/discovery.js +83 -83
  296. package/dist/config/markdown.js +1 -1
  297. package/dist/config/normalize.js +105 -105
  298. package/dist/config/plugin/agent.js +122 -122
  299. package/dist/config/plugin/command.js +211 -211
  300. package/dist/config/plugin/compaction.js +159 -159
  301. package/dist/config/plugin/compatibility.js +140 -140
  302. package/dist/config/plugin/entry-observer.js +1 -1
  303. package/dist/config/plugin/formatter.js +123 -123
  304. package/dist/config/plugin/image.js +122 -122
  305. package/dist/config/plugin/instruction.js +89 -89
  306. package/dist/config/plugin/location-watcher.js +122 -122
  307. package/dist/config/plugin/mcp.js +129 -129
  308. package/dist/config/plugin/policy.js +122 -122
  309. package/dist/config/plugin/provider.js +122 -122
  310. package/dist/config/plugin/reference.js +124 -124
  311. package/dist/config/plugin/shell.js +122 -122
  312. package/dist/config/plugin/skill-file.js +101 -101
  313. package/dist/config/plugin/skill.js +141 -141
  314. package/dist/config/plugin/snapshot.js +122 -122
  315. package/dist/config/plugin/source.js +125 -125
  316. package/dist/config/plugin/tool-output.js +124 -124
  317. package/dist/config/plugin/websearch.js +121 -121
  318. package/dist/config/plugin/worktree.js +124 -124
  319. package/dist/config/variable.js +3 -3
  320. package/dist/config/watch.js +1 -1
  321. package/dist/config.js +127 -127
  322. package/dist/credential/sql.js +2 -2
  323. package/dist/credential.js +84 -84
  324. package/dist/database/database.js +65 -65
  325. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  326. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  327. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  328. package/dist/database/drizzle/index.js +15 -15
  329. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  332. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  337. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  340. package/dist/database/drizzle.js +16 -16
  341. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  342. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  343. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  344. package/dist/database/migration/20260225215848_workspace.js +1 -1
  345. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  346. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  347. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  348. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  349. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  350. package/dist/database/migration/20260323234822_events.js +1 -1
  351. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  352. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  353. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  354. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  355. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  356. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  357. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  358. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  359. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  360. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  361. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  362. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  363. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  364. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  365. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  366. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  367. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  368. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  369. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  370. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  371. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  372. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  373. package/dist/database/migration/20260611035744_credential.js +1 -1
  374. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  375. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  376. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  377. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  378. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  379. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  380. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  381. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  382. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  383. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  384. package/dist/database/migration/20260812213948_worktree.js +1 -1
  385. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  386. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  387. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  388. package/dist/database/migration.gen.js +48 -48
  389. package/dist/database/migration.js +50 -50
  390. package/dist/database/path.js +2 -2
  391. package/dist/database/schema.gen.js +1 -1
  392. package/dist/database/schema.sql.js +1 -1
  393. package/dist/database/sqlite.bun.js +1 -1
  394. package/dist/database/sqlite.js +1 -1
  395. package/dist/database/sqlite.node.js +1 -1
  396. package/dist/database/sqlite.workerd.js +1 -1
  397. package/dist/database/v1-migration.bun.js +75 -75
  398. package/dist/database/v1-migration.js +1 -1
  399. package/dist/effect/app-node-builder.js +368 -368
  400. package/dist/effect/app-node-platform.js +2 -2
  401. package/dist/effect/keyed-mutex.js +3 -3
  402. package/dist/effect/websocket-constructor.js +1 -1
  403. package/dist/environment/driver.js +1 -1
  404. package/dist/environment/environment.js +92 -92
  405. package/dist/environment/exec-defaults.js +2 -2
  406. package/dist/environment/files.js +1 -1
  407. package/dist/environment/index.js +94 -94
  408. package/dist/environment/local.js +2 -2
  409. package/dist/environment/memory.js +2 -2
  410. package/dist/environment/unavailable.js +1 -1
  411. package/dist/event/sql.js +1 -1
  412. package/dist/event-logger.js +69 -69
  413. package/dist/file-access.js +101 -101
  414. package/dist/file-mutation.js +93 -93
  415. package/dist/file-retention.js +1 -1
  416. package/dist/file.js +1 -1
  417. package/dist/filesystem/fff.bun.js +2 -2
  418. package/dist/filesystem/fff.js +1 -1
  419. package/dist/filesystem/fff.node.js +2 -2
  420. package/dist/filesystem/fff.workerd.js +2 -2
  421. package/dist/filesystem/ignore.js +1 -1
  422. package/dist/filesystem/location-watcher-policy.js +6 -6
  423. package/dist/filesystem/location-watcher.js +224 -224
  424. package/dist/filesystem/protected.js +3 -3
  425. package/dist/filesystem/search.js +102 -102
  426. package/dist/filesystem/watcher-binding.js +1 -1
  427. package/dist/filesystem/watcher.js +15 -15
  428. package/dist/filesystem.js +107 -107
  429. package/dist/form.js +83 -83
  430. package/dist/formatter/builtins.js +4 -4
  431. package/dist/formatter.js +88 -88
  432. package/dist/generate.js +98 -98
  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 +90 -90
  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/id/id.js +1 -1
  454. package/dist/image/photon.js +2 -2
  455. package/dist/image.js +6 -6
  456. package/dist/instance/service.js +5 -5
  457. package/dist/instance.js +359 -359
  458. package/dist/instruction-discovery.js +82 -82
  459. package/dist/instructions/builtins.js +84 -84
  460. package/dist/instructions/index.js +5 -5
  461. package/dist/integration/connection.js +3 -3
  462. package/dist/integration.js +85 -85
  463. package/dist/job.js +78 -78
  464. package/dist/kv/sql.js +2 -2
  465. package/dist/kv.js +72 -72
  466. package/dist/location-activity.js +128 -128
  467. package/dist/location-lifecycle.js +105 -105
  468. package/dist/location-mutation.js +101 -101
  469. package/dist/location-service-map.js +85 -85
  470. package/dist/location-services.js +356 -356
  471. package/dist/location.js +86 -86
  472. package/dist/mcp/client.js +90 -90
  473. package/dist/mcp/index.js +107 -107
  474. package/dist/mcp/instructions.js +127 -127
  475. package/dist/mcp/oauth.js +77 -77
  476. package/dist/mcp/stdio.js +89 -89
  477. package/dist/mime.js +1 -1
  478. package/dist/modal/models.js +90 -90
  479. package/dist/model-resolver.js +97 -97
  480. package/dist/model.js +99 -99
  481. package/dist/models-dev.js +106 -106
  482. package/dist/oauth/page.js +1 -1
  483. package/dist/permission/saved.js +81 -81
  484. package/dist/permission/sql.js +5 -5
  485. package/dist/permission.js +110 -110
  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 +85 -85
  489. package/dist/persistent-pty/pty-binding.js +1 -1
  490. package/dist/persistent-pty.js +74 -74
  491. package/dist/plugin/agent.js +101 -101
  492. package/dist/plugin/command.js +98 -98
  493. package/dist/plugin/compaction.js +130 -130
  494. package/dist/plugin/hooks.js +5 -5
  495. package/dist/plugin/host.js +217 -217
  496. package/dist/plugin/identity.js +1 -1
  497. package/dist/plugin/instance.js +1 -1
  498. package/dist/plugin/internal.js +330 -330
  499. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  500. package/dist/plugin/models-dev.js +95 -95
  501. package/dist/plugin/module.js +7 -7
  502. package/dist/plugin/optimize.js +2 -2
  503. package/dist/plugin/plan.js +101 -101
  504. package/dist/plugin/promise.js +1 -1
  505. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  506. package/dist/plugin/provider/azure.js +121 -121
  507. package/dist/plugin/provider/cerebras.js +1 -1
  508. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  509. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  510. package/dist/plugin/provider/cohere.js +2 -2
  511. package/dist/plugin/provider/configured.js +118 -118
  512. package/dist/plugin/provider/digitalocean.js +92 -92
  513. package/dist/plugin/provider/dynamic.js +2 -2
  514. package/dist/plugin/provider/factory.js +1 -1
  515. package/dist/plugin/provider/gateway.js +2 -2
  516. package/dist/plugin/provider/github-copilot.js +92 -92
  517. package/dist/plugin/provider/gitlab.js +90 -90
  518. package/dist/plugin/provider/google-vertex.js +89 -89
  519. package/dist/plugin/provider/kilo.js +1 -1
  520. package/dist/plugin/provider/llmgateway.js +76 -76
  521. package/dist/plugin/provider/lmstudio.js +121 -121
  522. package/dist/plugin/provider/modal.js +91 -91
  523. package/dist/plugin/provider/nvidia.js +1 -1
  524. package/dist/plugin/provider/ollama.js +121 -121
  525. package/dist/plugin/provider/openai.js +91 -91
  526. package/dist/plugin/provider/opencode.js +92 -92
  527. package/dist/plugin/provider/openrouter.js +90 -90
  528. package/dist/plugin/provider/perplexity.js +2 -2
  529. package/dist/plugin/provider/poe.js +77 -77
  530. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  531. package/dist/plugin/provider/sap-ai-core.js +90 -90
  532. package/dist/plugin/provider/sdk-factory.js +1 -1
  533. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  534. package/dist/plugin/provider/venice.js +2 -2
  535. package/dist/plugin/provider/vercel.js +89 -89
  536. package/dist/plugin/provider/vllm.js +121 -121
  537. package/dist/plugin/provider/xai.js +90 -90
  538. package/dist/plugin/provider/zenmux.js +1 -1
  539. package/dist/plugin/provider.js +158 -158
  540. package/dist/plugin/sdk.js +69 -69
  541. package/dist/plugin/service.js +3 -3
  542. package/dist/plugin/skill.js +138 -138
  543. package/dist/plugin/source-directory.js +1 -1
  544. package/dist/plugin/supervisor.js +345 -345
  545. package/dist/plugin/tool-input-repair.js +4 -4
  546. package/dist/plugin/update.js +2 -2
  547. package/dist/plugin/vcs/git.js +83 -83
  548. package/dist/plugin/vcs/hg.js +85 -85
  549. package/dist/plugin/warming.js +120 -120
  550. package/dist/plugin/websearch/exa.js +5 -5
  551. package/dist/plugin/websearch/firecrawl.js +6 -6
  552. package/dist/plugin/websearch/index.js +9 -9
  553. package/dist/plugin/websearch/mcp.js +2 -2
  554. package/dist/plugin/websearch/parallel.js +8 -8
  555. package/dist/plugin/websearch/tavily.js +6 -6
  556. package/dist/plugin/websearch/tinyfish.js +8 -8
  557. package/dist/plugin.js +224 -224
  558. package/dist/project/schema.js +8 -8
  559. package/dist/project/sql.js +4 -4
  560. package/dist/project.js +89 -89
  561. package/dist/provider.js +100 -100
  562. package/dist/pty/protocol.js +1 -1
  563. package/dist/pty/schema.js +3 -3
  564. package/dist/pty/ticket.js +1 -1
  565. package/dist/pty.js +95 -95
  566. package/dist/reference/instructions.js +88 -88
  567. package/dist/reference.js +90 -90
  568. package/dist/repository-cache.js +80 -80
  569. package/dist/repository.js +3 -3
  570. package/dist/ripgrep/binary.js +2 -2
  571. package/dist/ripgrep.js +94 -94
  572. package/dist/rpc.js +85 -85
  573. package/dist/schema.js +1 -1
  574. package/dist/session/command.js +73 -73
  575. package/dist/session/compaction.js +131 -131
  576. package/dist/session/context.js +149 -149
  577. package/dist/session/diff.js +87 -87
  578. package/dist/session/environment.js +5 -5
  579. package/dist/session/error.js +5 -5
  580. package/dist/session/event.js +1 -1
  581. package/dist/session/execution/restart.js +217 -217
  582. package/dist/session/execution.js +121 -121
  583. package/dist/session/generate.js +150 -150
  584. package/dist/session/history.js +13 -13
  585. package/dist/session/inbox.js +83 -83
  586. package/dist/session/info.js +3 -3
  587. package/dist/session/instruction-entry.js +78 -78
  588. package/dist/session/instruction-state.js +8 -8
  589. package/dist/session/instructions.js +96 -96
  590. package/dist/session/message-updater.js +4 -4
  591. package/dist/session/message.js +1 -1
  592. package/dist/session/model-request.js +118 -118
  593. package/dist/session/model-transport.js +9 -9
  594. package/dist/session/move.js +129 -129
  595. package/dist/session/projector.js +85 -85
  596. package/dist/session/prompt.js +104 -104
  597. package/dist/session/provider-context.js +3 -3
  598. package/dist/session/revert.js +89 -89
  599. package/dist/session/run-coordinator.js +3 -3
  600. package/dist/session/runner/index.js +1 -1
  601. package/dist/session/runner/llm.js +230 -230
  602. package/dist/session/runner/max-steps.js +1 -1
  603. package/dist/session/runner/model.js +97 -97
  604. package/dist/session/runner/publish-llm-event.js +3 -3
  605. package/dist/session/runner/retry.js +111 -111
  606. package/dist/session/runner/step.js +125 -125
  607. package/dist/session/runner/to-llm-message.js +2 -2
  608. package/dist/session/schema.js +5 -5
  609. package/dist/session/session.js +171 -171
  610. package/dist/session/shell.js +137 -137
  611. package/dist/session/skill.js +102 -102
  612. package/dist/session/sql.js +5 -5
  613. package/dist/session/stats.js +72 -72
  614. package/dist/session/store.js +86 -86
  615. package/dist/session/subagent-completion.js +1 -1
  616. package/dist/session/subagent-job.js +209 -209
  617. package/dist/session/system-prompt.js +3 -3
  618. package/dist/session/title.js +155 -155
  619. package/dist/session/to-session-error.js +110 -110
  620. package/dist/session/transfer.js +216 -216
  621. package/dist/session/usage.js +1 -1
  622. package/dist/session.js +217 -217
  623. package/dist/shell/parse.js +6 -6
  624. package/dist/shell/result.js +1 -1
  625. package/dist/shell/scan.js +1 -1
  626. package/dist/shell/select.js +13 -13
  627. package/dist/shell.js +139 -139
  628. package/dist/skill/discovery.js +6 -6
  629. package/dist/skill/instructions.js +106 -106
  630. package/dist/skill.js +111 -111
  631. package/dist/snapshot.js +86 -86
  632. package/dist/state.js +1 -1
  633. package/dist/tool/html-markdown.js +1 -1
  634. package/dist/tool/http-body.js +1 -1
  635. package/dist/tool/mcp.js +126 -126
  636. package/dist/tool/plugin/edit.js +119 -119
  637. package/dist/tool/plugin/file-diff.js +1 -1
  638. package/dist/tool/plugin/glob.js +119 -119
  639. package/dist/tool/plugin/grep.js +123 -123
  640. package/dist/tool/plugin/opencode.js +3 -3
  641. package/dist/tool/plugin/patch.js +121 -121
  642. package/dist/tool/plugin/question.js +104 -104
  643. package/dist/tool/plugin/read.js +124 -124
  644. package/dist/tool/plugin/shell.js +214 -214
  645. package/dist/tool/plugin/skill.js +110 -110
  646. package/dist/tool/plugin/subagent.js +218 -218
  647. package/dist/tool/plugin/webfetch.js +109 -109
  648. package/dist/tool/plugin/websearch.js +111 -111
  649. package/dist/tool/plugin/write.js +121 -121
  650. package/dist/tool/read-filesystem.js +99 -99
  651. package/dist/tool/runtime.js +1 -1
  652. package/dist/tool-output.js +8 -8
  653. package/dist/tool.js +14 -14
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +5 -5
  664. package/dist/v1/config/attachment.js +4 -4
  665. package/dist/v1/config/command.js +1 -1
  666. package/dist/v1/config/config.js +16 -16
  667. package/dist/v1/config/error.js +2 -2
  668. package/dist/v1/config/formatter.js +7 -7
  669. package/dist/v1/config/layout.js +1 -1
  670. package/dist/v1/config/lsp.js +3 -3
  671. package/dist/v1/config/mcp.js +4 -4
  672. package/dist/v1/config/migrate.js +91 -91
  673. package/dist/v1/config/permission.js +3 -3
  674. package/dist/v1/config/plugin.js +3 -3
  675. package/dist/v1/config/provider-options.js +1 -1
  676. package/dist/v1/config/provider.js +4 -4
  677. package/dist/v1/config/server.js +2 -2
  678. package/dist/v1/config/skills.js +1 -1
  679. package/dist/v1/permission.js +1 -1
  680. package/dist/variant.js +92 -92
  681. package/dist/vcs/patch.js +1 -1
  682. package/dist/vcs.js +88 -88
  683. package/dist/websearch.js +83 -83
  684. package/dist/wellknown/plugin.js +75 -75
  685. package/dist/wellknown.js +80 -80
  686. package/dist/workspace/driver.js +5 -5
  687. package/dist/workspace/sql.js +1 -1
  688. package/dist/workspace.js +77 -77
  689. package/dist/worktree/directory.js +2 -2
  690. package/dist/worktree/git.js +10 -10
  691. package/dist/worktree/sql.js +5 -5
  692. package/dist/worktree/strategies.js +88 -88
  693. package/dist/worktree.js +95 -95
  694. package/package.json +8 -8
  695. package/dist/chunks/model-43bsdk2g.js +0 -252
  696. package/dist/chunks/model-9z8annsp.js +0 -26
  697. package/dist/chunks/model-9zdhvgqs.js +0 -18
  698. package/dist/chunks/model-kr6k72bg.js +0 -492
  699. package/dist/chunks/model-qapv375x.js +0 -4
  700. /package/dist/chunks/{model-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  701. /package/dist/chunks/{model-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  702. /package/dist/chunks/{model-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  703. /package/dist/chunks/{model-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  704. /package/dist/chunks/{model-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  705. /package/dist/chunks/{model-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
  706. /package/dist/chunks/{model-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  707. /package/dist/chunks/{model-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  708. /package/dist/chunks/{model-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  709. /package/dist/chunks/{model-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  710. /package/dist/chunks/{model-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  711. /package/dist/chunks/{model-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  712. /package/dist/chunks/{model-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  713. /package/dist/chunks/{model-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  714. /package/dist/chunks/{model-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  715. /package/dist/chunks/{model-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  716. /package/dist/chunks/{model-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  717. /package/dist/chunks/{model-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  718. /package/dist/chunks/{model-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  719. /package/dist/chunks/{model-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  720. /package/dist/chunks/{model-5qd3pb7m.js → location-service-map-5qd3pb7m.js} +0 -0
  721. /package/dist/chunks/{model-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  722. /package/dist/chunks/{model-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  723. /package/dist/chunks/{model-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  724. /package/dist/chunks/{model-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  725. /package/dist/chunks/{model-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  726. /package/dist/chunks/{model-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  727. /package/dist/chunks/{model-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  728. /package/dist/chunks/{model-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  729. /package/dist/chunks/{model-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  730. /package/dist/chunks/{model-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  731. /package/dist/chunks/{model-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  732. /package/dist/chunks/{model-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  733. /package/dist/chunks/{model-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  734. /package/dist/chunks/{model-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  735. /package/dist/chunks/{model-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  736. /package/dist/chunks/{model-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  737. /package/dist/chunks/{model-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  738. /package/dist/chunks/{model-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  739. /package/dist/chunks/{model-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  740. /package/dist/chunks/{model-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  741. /package/dist/chunks/{model-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  742. /package/dist/chunks/{model-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  743. /package/dist/chunks/{model-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  744. /package/dist/chunks/{model-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  745. /package/dist/chunks/{model-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  746. /package/dist/chunks/{model-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  747. /package/dist/chunks/{model-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  748. /package/dist/chunks/{model-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  749. /package/dist/chunks/{model-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  750. /package/dist/chunks/{model-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  751. /package/dist/chunks/{model-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  752. /package/dist/chunks/{model-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  753. /package/dist/chunks/{model-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  754. /package/dist/chunks/{model-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  755. /package/dist/chunks/{model-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  756. /package/dist/chunks/{model-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  757. /package/dist/chunks/{model-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  758. /package/dist/chunks/{model-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  759. /package/dist/chunks/{model-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  760. /package/dist/chunks/{model-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  761. /package/dist/chunks/{model-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  762. /package/dist/chunks/{model-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  763. /package/dist/chunks/{model-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
  764. /package/dist/chunks/{model-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  765. /package/dist/chunks/{model-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  766. /package/dist/chunks/{model-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  767. /package/dist/chunks/{model-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  768. /package/dist/chunks/{model-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  769. /package/dist/chunks/{model-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  770. /package/dist/chunks/{model-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  771. /package/dist/chunks/{model-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  772. /package/dist/chunks/{model-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  773. /package/dist/chunks/{model-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  774. /package/dist/chunks/{model-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  775. /package/dist/chunks/{model-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  776. /package/dist/chunks/{model-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  777. /package/dist/chunks/{model-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
  778. /package/dist/chunks/{model-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  779. /package/dist/chunks/{model-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  780. /package/dist/chunks/{model-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  781. /package/dist/chunks/{model-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  782. /package/dist/chunks/{model-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  783. /package/dist/chunks/{model-twg0f83k.js → location-service-map-twg0f83k.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-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  788. /package/dist/chunks/{model-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  789. /package/dist/chunks/{model-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  790. /package/dist/chunks/{model-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  791. /package/dist/chunks/{model-y8cydn3q.js → location-service-map-y8cydn3q.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-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,44 +1,44 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./model-kqx275ez.js";
4
+ } from "./location-service-map-htx28xdf.js";
5
5
  import {
6
6
  create3
7
- } from "./model-rdw6cm16.js";
7
+ } from "./location-service-map-rdw6cm16.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./location-service-map-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: () => Event15,
18
- ID: () => ID11,
19
- Info: () => Info25,
17
+ Event: () => Event19,
18
+ ID: () => ID15,
19
+ Info: () => Info30,
20
20
  Name: () => Name3,
21
- Service: () => Service68,
21
+ Service: () => Service76,
22
22
  defaultID: () => defaultID2,
23
- node: () => node71
23
+ node: () => node80
24
24
  });
25
25
  import path from "path";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Array, Context, Effect, Layer } from "effect";
28
28
  import { Agent } from "@opencode/schema/agent";
29
29
  import { Global } from "@opencode/util/global";
30
- import { Event as Event15 } from "@opencode/schema/agent";
30
+ import { Event as Event19 } from "@opencode/schema/agent";
31
31
  var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
32
32
  var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
33
- var ID11 = Agent.ID;
33
+ var ID15 = Agent.ID;
34
34
  var Name3 = Agent.Name;
35
- var defaultID2 = ID11.make("build");
35
+ var defaultID2 = ID15.make("build");
36
36
  var Color2 = Agent.Color;
37
- var Info25 = Agent.Info;
37
+ var Info30 = Agent.Info;
38
38
 
39
- class Service68 extends Context.Service()("@opencode/Agent") {
39
+ class Service76 extends Context.Service()("@opencode/Agent") {
40
40
  }
41
- var layer = Layer.effect(Service68, Effect.gen(function* () {
41
+ var layer = Layer.effect(Service76, Effect.gen(function* () {
42
42
  const bus = yield* Service82;
43
43
  const global = yield* Global.Service;
44
44
  const permissions = [
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
57
57
  editor.default = id;
58
58
  },
59
59
  update: (id, fn) => {
60
- const defaults = Info25.default(id);
60
+ const defaults = Info30.default(id);
61
61
  const current = editor.agents.get(id) ?? {
62
62
  ...defaults,
63
63
  permissions: [...defaults.permissions, ...permissions]
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
79
79
  const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
80
80
  if (configured)
81
81
  return configured;
82
- const build = selectable(data.agents.get(ID11.make("build")));
82
+ const build = selectable(data.agents.get(ID15.make("build")));
83
83
  if (build)
84
84
  return build;
85
85
  for (const agent of data.agents.values()) {
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
88
88
  return fallback;
89
89
  }
90
90
  };
91
- return Service68.of({
91
+ return Service76.of({
92
92
  transform: state.transform,
93
93
  reload: state.reload,
94
94
  get: Effect.fn("Agent.get")(function* (id) {
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
96
96
  }),
97
97
  resolve: Effect.fnUntraced(function* (id) {
98
98
  if (id !== undefined)
99
- return state.get().agents.get(ID11.make(id));
99
+ return state.get().agents.get(ID15.make(id));
100
100
  return selectedDefault();
101
101
  }),
102
102
  select: Effect.fn("Agent.select")(function* (id) {
103
103
  if (id !== undefined) {
104
- const selected = ID11.make(id);
104
+ const selected = ID15.make(id);
105
105
  return { id: selected, info: state.get().agents.get(selected) };
106
106
  }
107
107
  const info = selectedDefault();
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
116
116
  })
117
117
  });
118
118
  }));
119
- var node71 = makeLocationNode({ service: Service68, layer, deps: [node86, Global.node] });
119
+ var node80 = makeLocationNode({ service: Service76, layer, deps: [node86, Global.node] });
120
120
 
121
- export { ID11, Name3, defaultID2, Color2, Info25, Service68, node71, exports_agent4, Event15 };
121
+ export { ID15, Name3, defaultID2, Color2, Info30, Service76, node80, exports_agent4, Event19 };
@@ -1,56 +1,56 @@
1
1
  import {
2
- ID10,
3
- Info24,
2
+ ID14,
3
+ Info29,
4
4
  SessionSchema2
5
- } from "./model-7w99qc9d.js";
5
+ } from "./location-service-map-ndmv45hp.js";
6
6
  import {
7
7
  RelativePath2
8
- } from "./model-922hggd3.js";
8
+ } from "./location-service-map-922hggd3.js";
9
9
  import {
10
10
  Service83,
11
11
  node87
12
- } from "./model-dpbk6b42.js";
12
+ } from "./location-service-map-m012ar2z.js";
13
13
  import {
14
14
  isSynced2,
15
15
  Service82,
16
16
  node86
17
- } from "./model-kqx275ez.js";
17
+ } from "./location-service-map-htx28xdf.js";
18
18
  import {
19
- Service80,
20
- node84
21
- } from "./model-m51ka6xh.js";
19
+ Service79,
20
+ node83
21
+ } from "./location-service-map-78tqsgcn.js";
22
22
  import {
23
- Service39,
24
- node41
25
- } from "./model-d1mtykxg.js";
23
+ Service38,
24
+ node40
25
+ } from "./location-service-map-p7a39gy5.js";
26
26
  import {
27
27
  SessionEvent2
28
- } from "./model-ec1grn59.js";
28
+ } from "./location-service-map-ec1grn59.js";
29
29
  import {
30
30
  SessionMessageTable2
31
- } from "./model-a1bz86dw.js";
31
+ } from "./location-service-map-5c4hm403.js";
32
32
  import {
33
33
  node39
34
- } from "./model-scm34zbb.js";
34
+ } from "./location-service-map-s7rj0mx9.js";
35
35
  import {
36
36
  current2
37
- } from "./model-cq37gk0t.js";
37
+ } from "./location-service-map-2tfmgkzg.js";
38
38
  import {
39
39
  snapshot2
40
- } from "./model-kpfqh20w.js";
40
+ } from "./location-service-map-r33kyee3.js";
41
41
  import {
42
42
  Slug2
43
- } from "./model-gebd4c9n.js";
43
+ } from "./location-service-map-gebd4c9n.js";
44
44
  import {
45
45
  SessionAlreadyProjected2,
46
- node31
47
- } from "./model-qw90jq9z.js";
46
+ node25
47
+ } from "./location-service-map-pfca1pfz.js";
48
48
  import {
49
49
  Metadata2,
50
- node49
51
- } from "./model-fy24btyg.js";
50
+ node57
51
+ } from "./location-service-map-2n3788zq.js";
52
52
  import {
53
- NotFoundError8,
53
+ NotFoundError9,
54
54
  MessageNotFoundError2,
55
55
  ForkEmptyError2,
56
56
  MessageDecodeError2,
@@ -61,58 +61,58 @@ import {
61
61
  BusyError2,
62
62
  InboxConflictError2,
63
63
  SkillNotFoundError2
64
- } from "./model-2e96adxv.js";
64
+ } from "./location-service-map-jemfgm91.js";
65
65
  import {
66
- ListInput3,
67
- Service65,
68
- node68
69
- } from "./model-p3psqptm.js";
66
+ ListInput4,
67
+ Service73,
68
+ node77
69
+ } from "./location-service-map-jqx27dm3.js";
70
70
  import {
71
- Service57,
72
- node60
73
- } from "./model-gzmxr3dp.js";
71
+ Service40,
72
+ node42
73
+ } from "./location-service-map-bxtw2qk2.js";
74
74
  import {
75
75
  Service35,
76
76
  node38
77
- } from "./model-1mywsabn.js";
77
+ } from "./location-service-map-p5qkcp8b.js";
78
78
  import {
79
79
  llmClient2
80
- } from "./model-5t3nmthw.js";
80
+ } from "./location-service-map-5t3nmthw.js";
81
81
  import {
82
- Service26,
83
- node29
84
- } from "./model-8dft9m2d.js";
82
+ Service31,
83
+ node34
84
+ } from "./location-service-map-bypa996g.js";
85
85
  import {
86
86
  generate2
87
- } from "./model-cp54x4ft.js";
87
+ } from "./location-service-map-fmyban77.js";
88
88
  import {
89
89
  execute2
90
- } from "./model-7bgx2qk6.js";
90
+ } from "./location-service-map-xp4st0zd.js";
91
91
  import {
92
- Service40,
93
- node42
94
- } from "./model-8sak357k.js";
92
+ Service68,
93
+ node71
94
+ } from "./location-service-map-r3fe1xjf.js";
95
95
  import {
96
96
  DestinationNotFoundError2,
97
97
  DestinationNotDirectoryError2,
98
98
  DestinationUnavailableError2,
99
- Service27,
100
- node30
101
- } from "./model-cxe1rn3h.js";
99
+ Service21,
100
+ node24
101
+ } from "./location-service-map-x6cf67we.js";
102
102
  import {
103
- Service43,
104
- node45
105
- } from "./model-8n69n882.js";
103
+ Service34,
104
+ node37
105
+ } from "./location-service-map-0t9wd588.js";
106
106
  import {
107
- make13
108
- } from "./model-ja8b0p8w.js";
107
+ make12
108
+ } from "./location-service-map-2e38sqrt.js";
109
109
  import {
110
110
  TurnRangeError2,
111
111
  turn2
112
- } from "./model-j1k2dzb5.js";
112
+ } from "./location-service-map-v3vvdts4.js";
113
113
  import {
114
114
  __export
115
- } from "./model-9rqn6x4v.js";
115
+ } from "./location-service-map-9rqn6x4v.js";
116
116
 
117
117
  // src/session.ts
118
118
  var exports_session = {};
@@ -123,22 +123,22 @@ __export(exports_session, {
123
123
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
124
124
  DestinationNotFoundError: () => DestinationNotFoundError2,
125
125
  DestinationUnavailableError: () => DestinationUnavailableError2,
126
- ID: () => ID10,
126
+ ID: () => ID14,
127
127
  InboxConflictError: () => InboxConflictError2,
128
- Info: () => Info24,
128
+ Info: () => Info29,
129
129
  ListAnchor: () => ListAnchor2,
130
- ListInput: () => ListInput2,
130
+ ListInput: () => ListInput3,
131
131
  MessageDecodeError: () => MessageDecodeError2,
132
132
  MessageNotFoundError: () => MessageNotFoundError2,
133
- NotFoundError: () => NotFoundError8,
133
+ NotFoundError: () => NotFoundError9,
134
134
  PromptConflictError: () => PromptConflictError2,
135
- Service: () => Service22,
135
+ Service: () => Service20,
136
136
  Session: () => exports_session,
137
137
  SessionSchema: () => SessionSchema2,
138
138
  SkillNotFoundError: () => SkillNotFoundError2,
139
139
  SyntheticConflictError: () => SyntheticConflictError2,
140
140
  TurnRangeError: () => TurnRangeError2,
141
- node: () => node25
141
+ node: () => node23
142
142
  });
143
143
  import { Effect, Layer, Schema, Context, Stream } from "effect";
144
144
  import { LLMClient } from "@opencode/ai";
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
148
148
  import path from "path";
149
149
  import { Node } from "@opencode/util/effect/app-node";
150
150
  import { FSUtil } from "@opencode/util/fs-util";
151
- var ListInput2 = ListInput3;
152
- class Service22 extends Context.Service()("@opencode/Session") {
151
+ var ListInput3 = ListInput4;
152
+ class Service20 extends Context.Service()("@opencode/Session") {
153
153
  }
154
- var layer = Layer.effect(Service22, Effect.gen(function* () {
154
+ var layer = Layer.effect(Service20, Effect.gen(function* () {
155
155
  const app = yield* Metadata2;
156
156
  const database = yield* Service83;
157
157
  const db = database.db;
158
158
  const bus = yield* Service82;
159
- const projects = yield* Service80;
159
+ const projects = yield* Service79;
160
160
  const execution = yield* Service35;
161
161
  const llm = yield* LLMClient.Service;
162
- const transport = yield* Service26;
163
- const store = yield* Service65;
164
- const instances = yield* Service39;
165
- const moves = yield* Service27;
166
- const jobs = yield* Service57;
167
- const environments = yield* Service43;
168
- const locations = yield* Service40;
169
- const sessions = yield* make13();
162
+ const transport = yield* Service31;
163
+ const store = yield* Service73;
164
+ const instances = yield* Service38;
165
+ const moves = yield* Service21;
166
+ const jobs = yield* Service40;
167
+ const environments = yield* Service34;
168
+ const locations = yield* Service68;
169
+ const sessions = yield* make12();
170
170
  const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
171
- const result = Service22.of({
171
+ const result = Service20.of({
172
172
  create: Effect.fn("Session.create")(function* (input) {
173
173
  const sessionID = input.id ?? SessionSchema2.ID.create();
174
174
  const recorded = yield* store.get(sessionID);
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
176
176
  return recorded;
177
177
  const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
178
178
  if (input.parentID && parent === undefined)
179
- return yield* new NotFoundError8({ sessionID: input.parentID });
179
+ return yield* new NotFoundError9({ sessionID: input.parentID });
180
180
  const location = parent?.location ?? input.location;
181
181
  if (location === undefined)
182
182
  return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
281
281
  prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
282
282
  generate: Effect.fn("Session.generate")(function* (input) {
283
283
  const session = yield* result.get(input.sessionID);
284
- return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service39, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
284
+ return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service38, instances), Effect.provideService(Service83, database), Effect.provideService(LLMClient.Service, llm));
285
285
  }),
286
286
  command: Effect.fn("Session.command")(function* (input) {
287
287
  const session = yield* result.get(input.sessionID);
288
- return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service39, instances));
288
+ return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service38, instances));
289
289
  }),
290
290
  shell: (input) => sessions.forSession(input.sessionID).shell(input),
291
291
  skill: (input) => sessions.forSession(input.sessionID).skill(input),
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
326
326
  });
327
327
  return result;
328
328
  }));
329
- var node25 = Node.makeGlobalNode({
330
- service: Service22,
329
+ var node23 = Node.makeGlobalNode({
330
+ service: Service20,
331
331
  layer,
332
332
  deps: [
333
- node60,
334
- node45,
333
+ node42,
334
+ node37,
335
335
  node87,
336
336
  node86,
337
- node84,
337
+ node83,
338
338
  node38,
339
- node29,
339
+ node34,
340
340
  llmClient2,
341
- node68,
342
- node41,
341
+ node77,
342
+ node40,
343
343
  node39,
344
- node30,
345
- node31,
346
- node42,
344
+ node24,
345
+ node25,
346
+ node71,
347
347
  FSUtil.node,
348
- node49
348
+ node57
349
349
  ]
350
350
  });
351
351
 
352
- export { ListAnchor2, ListInput2, Service22, node25, exports_session };
352
+ export { ListAnchor2, ListInput3, Service20, node23, exports_session };
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  latest2,
3
- Service44
4
- } from "./model-xqvzjshe.js";
3
+ Service45
4
+ } from "./location-service-map-hk3dpda4.js";
5
5
  import {
6
6
  observe2
7
- } from "./model-qsdy395h.js";
7
+ } from "./location-service-map-qsdy395h.js";
8
8
  import {
9
9
  __export
10
- } from "./model-9rqn6x4v.js";
10
+ } from "./location-service-map-9rqn6x4v.js";
11
11
 
12
12
  // src/config/plugin/websearch.ts
13
13
  var exports_websearch2 = {};
14
14
  __export(exports_websearch2, {
15
15
  ConfigWebSearchPlugin: () => exports_websearch2,
16
- Plugin: () => Plugin47
16
+ Plugin: () => Plugin35
17
17
  });
18
18
  import { define } from "@opencode/plugin/effect/plugin";
19
19
  import { Effect } from "effect";
20
- var Plugin47 = define({
20
+ var Plugin35 = define({
21
21
  id: "opencode.config.websearch",
22
22
  effect: Effect.fn(function* (ctx) {
23
- const config = yield* Service44;
23
+ const config = yield* Service45;
24
24
  const loaded = yield* observe2(config, ctx.event, ctx.websearch.reload());
25
25
  yield* ctx.websearch.transform((websearch) => {
26
26
  const selection = latest2(loaded.entries, "websearch");
@@ -32,4 +32,4 @@ var Plugin47 = define({
32
32
  })
33
33
  });
34
34
 
35
- export { Plugin47, exports_websearch2 };
35
+ export { Plugin35, exports_websearch2 };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./model-kqx275ez.js";
4
+ } from "./location-service-map-htx28xdf.js";
5
5
  import {
6
6
  __export
7
- } from "./model-9rqn6x4v.js";
7
+ } from "./location-service-map-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event18,
15
+ Event: () => Event21,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID14,
20
- Info: () => Info29,
19
+ ID: () => ID18,
20
+ Info: () => Info34,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError9,
23
+ NotFoundError: () => NotFoundError11,
24
24
  Reply: () => Reply3,
25
- Service: () => Service72,
25
+ Service: () => Service81,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer24,
29
- node: () => node75,
28
+ layer: () => layer25,
29
+ node: () => node85,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event18 } from "@opencode/schema/form";
36
+ import { Event as Event21 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID14 = Form.ID;
39
- var Info29 = Form.Info;
38
+ var ID18 = Form.ID;
39
+ var Info34 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID14
47
+ class NotFoundError11 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID18
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError9 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID14
56
+ id: ID18
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID14
64
+ id: ID18
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID14,
72
+ id: ID18,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service72 extends Context.Service()("@opencode/Form") {
82
+ class Service81 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer24 = Layer.effect(Service72, Effect.gen(function* () {
84
+ var layer25 = Layer.effect(Service81, Effect.gen(function* () {
85
85
  const bus = yield* Service82;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError11({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID14.create();
93
+ const id = input.id ?? ID18.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -159,9 +159,9 @@ var layer24 = Layer.effect(Service72, Effect.gen(function* () {
159
159
  closed = true;
160
160
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
161
161
  yield* Effect.addFinalizer(() => close);
162
- return Service72.of({ create, ask, get, list, state, reply, cancel, close });
162
+ return Service81.of({ create, ask, get, list, state, reply, cancel, close });
163
163
  }));
164
- var node75 = makeLocationNode({ service: Service72, layer: layer24, deps: [node86] });
164
+ var node85 = makeLocationNode({ service: Service81, layer: layer25, deps: [node86] });
165
165
  function validateAnswer2(form, answer) {
166
166
  const fields = new Map(form.map((field) => [field.key, field]));
167
167
  for (const key of Object.keys(answer)) {
@@ -313,4 +313,4 @@ function isDateTime(value) {
313
313
  return !Number.isNaN(new Date(value).getTime());
314
314
  }
315
315
 
316
- export { ID14, Info29, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service72, layer24, node75, validateAnswer2, validateFields2, exports_form, Event18 };
316
+ export { ID18, Info34, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError11, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service81, layer25, node85, validateAnswer2, validateFields2, exports_form, Event21 };
@@ -1,29 +1,29 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./model-922hggd3.js";
3
+ } from "./location-service-map-922hggd3.js";
4
4
  import {
5
- node85
6
- } from "./model-nr0jgk0c.js";
5
+ node84
6
+ } from "./location-service-map-ab8cnxkj.js";
7
7
  import {
8
- Service79,
9
- node83
10
- } from "./model-r6mmreqb.js";
8
+ Service78,
9
+ node82
10
+ } from "./location-service-map-dy5qaydb.js";
11
11
  import {
12
12
  create3
13
- } from "./model-rdw6cm16.js";
13
+ } from "./location-service-map-rdw6cm16.js";
14
14
  import {
15
- make12
16
- } from "./model-thwc3zjr.js";
15
+ make19
16
+ } from "./location-service-map-bn6tr5ps.js";
17
17
  import {
18
18
  __export
19
- } from "./model-9rqn6x4v.js";
19
+ } from "./location-service-map-9rqn6x4v.js";
20
20
 
21
21
  // src/worktree/strategies.ts
22
22
  var exports_strategies = {};
23
23
  __export(exports_strategies, {
24
- Service: () => Service15,
24
+ Service: () => Service59,
25
25
  WorktreeStrategies: () => exports_strategies,
26
- node: () => node18
26
+ node: () => node62
27
27
  });
28
28
  import { Context, Effect, Layer } from "effect";
29
29
  import path from "path";
@@ -31,12 +31,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
31
31
  import { Global } from "@opencode/util/global";
32
32
  import { FSUtil } from "@opencode/util/fs-util";
33
33
 
34
- class Service15 extends Context.Service()("@opencode/WorktreeStrategies") {
34
+ class Service59 extends Context.Service()("@opencode/WorktreeStrategies") {
35
35
  }
36
- var layer = Layer.effect(Service15, Effect.gen(function* () {
37
- const location = yield* Service79;
36
+ var layer = Layer.effect(Service59, Effect.gen(function* () {
37
+ const location = yield* Service78;
38
38
  const global = yield* Global.Service;
39
- const git = yield* make12;
39
+ const git = yield* make19;
40
40
  const state = create3({
41
41
  name: "worktree",
42
42
  initial: () => ({
@@ -55,12 +55,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
55
55
  }
56
56
  })
57
57
  });
58
- return Service15.of({ ...state, directory: location.directory });
58
+ return Service59.of({ ...state, directory: location.directory });
59
59
  }));
60
- var node18 = makeLocationNode({
61
- service: Service15,
60
+ var node62 = makeLocationNode({
61
+ service: Service59,
62
62
  layer,
63
- deps: [node83, Global.node, node85, FSUtil.node]
63
+ deps: [node82, Global.node, node84, FSUtil.node]
64
64
  });
65
65
 
66
- export { Service15, node18, exports_strategies };
66
+ export { Service59, node62, exports_strategies };