@opencode/core 0.0.0-dev-19610 → 0.0.0-dev-19613

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +72 -72
  7. package/dist/chunks/{shell-0gdmqesm.js → location-service-map-02nrjc1r.js} +8 -8
  8. package/dist/chunks/{shell-vq3jpdg0.js → location-service-map-06f8gtew.js} +11 -11
  9. package/dist/chunks/{shell-py8w2btc.js → location-service-map-09dv4b35.js} +11 -11
  10. package/dist/chunks/{shell-vz6ekzbd.js → location-service-map-0exk3n2e.js} +19 -19
  11. package/dist/chunks/{shell-tj413h3v.js → location-service-map-0g02wqjc.js} +17 -17
  12. package/dist/chunks/location-service-map-0mesazry.js +4 -0
  13. package/dist/chunks/{shell-0paq2nw3.js → location-service-map-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{shell-0q0f95c6.js → location-service-map-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{shell-j2q2mctg.js → location-service-map-0v3mhfgm.js} +16 -16
  16. package/dist/chunks/{shell-tkwws864.js → location-service-map-14ca214m.js} +19 -19
  17. package/dist/chunks/{shell-1dazxqgg.js → location-service-map-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{shell-csf2jhsg.js → location-service-map-1hc11dc4.js} +4 -4
  19. package/dist/chunks/{shell-ngts6ef0.js → location-service-map-1mkrhngc.js} +8 -8
  20. package/dist/chunks/{shell-z9nnsx8f.js → location-service-map-1vbvjjmc.js} +11 -11
  21. package/dist/chunks/{shell-21r38tys.js → location-service-map-21r38tys.js} +1 -1
  22. package/dist/chunks/{shell-tnsmn68n.js → location-service-map-22pe83z9.js} +22 -22
  23. package/dist/chunks/{shell-zrg5zcty.js → location-service-map-29074q1n.js} +9 -9
  24. package/dist/chunks/{shell-tb9hrnng.js → location-service-map-296t09yc.js} +15 -15
  25. package/dist/chunks/{shell-2a5m3afh.js → location-service-map-2a5m3afh.js} +1 -1
  26. package/dist/chunks/{shell-4sn99hha.js → location-service-map-2fgn2we9.js} +5 -5
  27. package/dist/chunks/{shell-ts2x07a1.js → location-service-map-2jz473v5.js} +1 -1
  28. package/dist/chunks/{shell-v5enyfy9.js → location-service-map-2kmeykc3.js} +3 -3
  29. package/dist/chunks/{shell-11nyajgd.js → location-service-map-2m5fqp7n.js} +1 -1
  30. package/dist/chunks/{shell-bz4hpk94.js → location-service-map-2n5p0fxg.js} +5 -5
  31. package/dist/chunks/{shell-r8b7ztcg.js → location-service-map-2n8zc6am.js} +14 -14
  32. package/dist/chunks/{shell-6860rr66.js → location-service-map-2y91kqbg.js} +44 -44
  33. package/dist/chunks/{shell-gmrsnwh8.js → location-service-map-375f5jdk.js} +18 -18
  34. package/dist/chunks/{shell-2qp6y8xf.js → location-service-map-37s12vcn.js} +5 -5
  35. package/dist/chunks/{shell-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
  36. package/dist/chunks/{shell-czb7hhek.js → location-service-map-3g1feh6n.js} +13 -13
  37. package/dist/chunks/{shell-c5n3h355.js → location-service-map-3h3e4z98.js} +26 -26
  38. package/dist/chunks/{shell-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{shell-7r3neg1r.js → location-service-map-3qdx31v0.js} +35 -35
  40. package/dist/chunks/{shell-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{shell-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{shell-krapdeg3.js → location-service-map-3vw407vt.js} +25 -25
  43. package/dist/chunks/{shell-98depksn.js → location-service-map-3zrb79sp.js} +14 -14
  44. package/dist/chunks/{shell-qj5hfmwn.js → location-service-map-41camxag.js} +11 -11
  45. package/dist/chunks/{shell-60b87sp0.js → location-service-map-44kr7xc2.js} +10 -10
  46. package/dist/chunks/{shell-8mgmrm9j.js → location-service-map-46kds8gk.js} +15 -15
  47. package/dist/chunks/{shell-2n295dmf.js → location-service-map-481njsdn.js} +8 -8
  48. package/dist/chunks/{shell-dmxnnmbc.js → location-service-map-4gbrk6eh.js} +6 -6
  49. package/dist/chunks/{shell-aypr84xx.js → location-service-map-4pmy1264.js} +19 -19
  50. package/dist/chunks/{shell-mtvv3gsd.js → location-service-map-4r0h6etc.js} +24 -24
  51. package/dist/chunks/{shell-724fmg57.js → location-service-map-4xk2t4nb.js} +23 -23
  52. package/dist/chunks/{shell-56gdpj1q.js → location-service-map-56gdpj1q.js} +2 -2
  53. package/dist/chunks/{shell-5daktx2q.js → location-service-map-5daktx2q.js} +1 -1
  54. package/dist/chunks/{shell-q7j6kr81.js → location-service-map-5mjvfe5y.js} +6 -6
  55. package/dist/chunks/{shell-a0b5fdkw.js → location-service-map-5mvsn0n4.js} +26 -26
  56. package/dist/chunks/{shell-3gqfk94q.js → location-service-map-5nd6hqg1.js} +8 -8
  57. package/dist/chunks/{shell-de5ahzfz.js → location-service-map-5nkww2gb.js} +15 -15
  58. package/dist/chunks/{shell-hka8yjdz.js → location-service-map-5pjjts7m.js} +29 -29
  59. package/dist/chunks/{shell-e3qxr5gk.js → location-service-map-5qd3pb7m.js} +2 -2
  60. package/dist/chunks/{shell-5t3nmthw.js → location-service-map-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{shell-rq8qh2nn.js → location-service-map-5y4txvzj.js} +32 -32
  62. package/dist/chunks/{shell-ks9y0tx3.js → location-service-map-62va5rb3.js} +24 -24
  63. package/dist/chunks/{shell-669tq793.js → location-service-map-669tq793.js} +1 -1
  64. package/dist/chunks/{shell-4nt81eez.js → location-service-map-6cr3es9y.js} +28 -28
  65. package/dist/chunks/{shell-hmr3ea9n.js → location-service-map-6ejkwac2.js} +3 -3
  66. package/dist/chunks/{shell-2402vzrj.js → location-service-map-6h73sxmp.js} +5 -5
  67. package/dist/chunks/{shell-6msgmcgs.js → location-service-map-6msgmcgs.js} +1 -1
  68. package/dist/chunks/{shell-3h03gnyd.js → location-service-map-6nxsvtkx.js} +23 -23
  69. package/dist/chunks/{shell-xxvph2p0.js → location-service-map-6p10pdhr.js} +83 -83
  70. package/dist/chunks/{shell-g15mg1fp.js → location-service-map-6zqpf67v.js} +7 -7
  71. package/dist/chunks/{shell-71q4at8m.js → location-service-map-71q4at8m.js} +1 -1
  72. package/dist/chunks/{shell-fbw0akyd.js → location-service-map-73rz0h41.js} +9 -9
  73. package/dist/chunks/{shell-zhgb2amq.js → location-service-map-75fve0te.js} +26 -26
  74. package/dist/chunks/{shell-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{shell-28aedara.js → location-service-map-7cdr5gb1.js} +3 -3
  76. package/dist/chunks/{shell-7dqw4kz8.js → location-service-map-7dqw4kz8.js} +1 -1
  77. package/dist/chunks/{shell-xx3aj77c.js → location-service-map-7j0w7kx5.js} +39 -39
  78. package/dist/chunks/{shell-xxs5sj5m.js → location-service-map-7qqnjw5d.js} +8 -8
  79. package/dist/chunks/{shell-jamwgqsw.js → location-service-map-7wrt80ma.js} +5 -5
  80. package/dist/chunks/{shell-zwbb9m0v.js → location-service-map-7y6s2xgk.js} +11 -11
  81. package/dist/chunks/{shell-bsp1pkt4.js → location-service-map-87n3nhds.js} +12 -12
  82. package/dist/chunks/{shell-8d7r5vzw.js → location-service-map-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{shell-s2n5r9er.js → location-service-map-8dh90zjj.js} +30 -30
  84. package/dist/chunks/{shell-cmmb813z.js → location-service-map-8drea2pm.js} +62 -62
  85. package/dist/chunks/{shell-8p4f9s12.js → location-service-map-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{shell-tmaw6k1g.js → location-service-map-8prvq2df.js} +5 -5
  87. package/dist/chunks/{shell-a271x0pd.js → location-service-map-8vph1emt.js} +13 -13
  88. package/dist/chunks/{shell-qk0ppmjd.js → location-service-map-93dbjmah.js} +20 -20
  89. package/dist/chunks/{shell-kbdz3wd2.js → location-service-map-9cwb0bqx.js} +30 -30
  90. package/dist/chunks/{shell-d3tz2ej1.js → location-service-map-9ff31bqh.js} +9 -9
  91. package/dist/chunks/{shell-4nqjb4pf.js → location-service-map-9hnn71yg.js} +20 -20
  92. package/dist/chunks/{shell-8ymghxqk.js → location-service-map-9n3wxq1j.js} +36 -36
  93. package/dist/chunks/location-service-map-9sh4wc5j.js +18 -0
  94. package/dist/chunks/{shell-vcfd1qyk.js → location-service-map-9vq0hs4s.js} +23 -23
  95. package/dist/chunks/{shell-wc2samf7.js → location-service-map-9xc6rpr7.js} +23 -23
  96. package/dist/chunks/{shell-a1bz86dw.js → location-service-map-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{shell-aaet6srn.js → location-service-map-aaet6srn.js} +2 -2
  98. package/dist/chunks/{shell-yaym739t.js → location-service-map-ae83exes.js} +3 -3
  99. package/dist/chunks/{shell-4dsybr1x.js → location-service-map-aez1es5f.js} +28 -28
  100. package/dist/chunks/{shell-r78s3j5q.js → location-service-map-b56xca68.js} +35 -35
  101. package/dist/chunks/{shell-b6gygkdw.js → location-service-map-b6gygkdw.js} +2 -2
  102. package/dist/chunks/{shell-g99htbkw.js → location-service-map-bgp3z89z.js} +33 -33
  103. package/dist/chunks/{shell-4t7xgrp5.js → location-service-map-bktmsznq.js} +29 -29
  104. package/dist/chunks/{shell-da7pjdbd.js → location-service-map-bsa98fqx.js} +12 -12
  105. package/dist/chunks/{shell-twygzwrg.js → location-service-map-bwytfvjm.js} +6 -6
  106. package/dist/chunks/{shell-8nmhfs9c.js → location-service-map-bx4ntnz9.js} +11 -11
  107. package/dist/chunks/{shell-6zttb827.js → location-service-map-bxcs3vgc.js} +18 -18
  108. package/dist/chunks/{shell-bj86b7kp.js → location-service-map-c464yk7e.js} +36 -36
  109. package/dist/chunks/{shell-ydkphrk6.js → location-service-map-c4rw650c.js} +19 -19
  110. package/dist/chunks/{shell-bcgxfqk7.js → location-service-map-c7437d7y.js} +15 -15
  111. package/dist/chunks/{shell-axmvebxj.js → location-service-map-cavr175a.js} +21 -21
  112. package/dist/chunks/{shell-85tc3nc8.js → location-service-map-ce6s4nt1.js} +18 -18
  113. package/dist/chunks/{shell-cfpkc3c9.js → location-service-map-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{shell-5wrt214j.js → location-service-map-cn96cn60.js} +4 -4
  115. package/dist/chunks/{shell-f00031fc.js → location-service-map-cpevarj8.js} +17 -17
  116. package/dist/chunks/{shell-k7gxh26f.js → location-service-map-cvh2qfn1.js} +13 -13
  117. package/dist/chunks/{shell-4j54dnxn.js → location-service-map-cxbs0x8p.js} +22 -22
  118. package/dist/chunks/{shell-yw5eewpj.js → location-service-map-cxcx5ffv.js} +31 -31
  119. package/dist/chunks/{shell-844ef7ks.js → location-service-map-cxv3b682.js} +8 -8
  120. package/dist/chunks/{shell-bfjqsf6d.js → location-service-map-czrth2gj.js} +32 -32
  121. package/dist/chunks/{shell-vnwmzs4a.js → location-service-map-d1r5081s.js} +5 -5
  122. package/dist/chunks/{shell-v8wr64pb.js → location-service-map-d81aexdy.js} +2 -2
  123. package/dist/chunks/{shell-0aw7zksj.js → location-service-map-dmg9z6p5.js} +3 -3
  124. package/dist/chunks/{shell-b1hg7rtt.js → location-service-map-dmmbqwqg.js} +1 -1
  125. package/dist/chunks/{shell-t38tzg53.js → location-service-map-dqc529nz.js} +19 -19
  126. package/dist/chunks/{shell-06cb0fd0.js → location-service-map-drbtznh8.js} +4 -4
  127. package/dist/chunks/{shell-nemptxrn.js → location-service-map-drdg73e4.js} +41 -41
  128. package/dist/chunks/{shell-6d6xcght.js → location-service-map-ds2mmwsg.js} +6 -6
  129. package/dist/chunks/{shell-gntzjf7q.js → location-service-map-dsbehk3j.js} +43 -43
  130. package/dist/chunks/{shell-vq7zxmz5.js → location-service-map-dx23rp9b.js} +23 -23
  131. package/dist/chunks/{shell-vet9mkc8.js → location-service-map-dyfjpvav.js} +38 -38
  132. package/dist/chunks/{shell-kg219d3x.js → location-service-map-dz573yjp.js} +25 -25
  133. package/dist/chunks/{shell-x9emb11y.js → location-service-map-e09qeq0x.js} +9 -9
  134. package/dist/chunks/{shell-e5nv3ght.js → location-service-map-e5nv3ght.js} +2 -2
  135. package/dist/chunks/{shell-cee4awht.js → location-service-map-e5vq6wef.js} +4 -4
  136. package/dist/chunks/{shell-hjt4xg1x.js → location-service-map-e82z9tr0.js} +7 -7
  137. package/dist/chunks/{shell-s45sawj9.js → location-service-map-eb0bx2e4.js} +4 -4
  138. package/dist/chunks/{shell-1tceadnv.js → location-service-map-ebj3yfyc.js} +11 -11
  139. package/dist/chunks/{shell-5rtg8v4f.js → location-service-map-ec3p188n.js} +8 -8
  140. package/dist/chunks/{shell-fekeaz39.js → location-service-map-eet9vec2.js} +3 -3
  141. package/dist/chunks/{shell-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
  142. package/dist/chunks/{shell-08hjcfds.js → location-service-map-efhqt4af.js} +16 -16
  143. package/dist/chunks/{shell-etq0c3wd.js → location-service-map-etq0c3wd.js} +1 -1
  144. package/dist/chunks/{shell-15actg85.js → location-service-map-f0k0k52x.js} +26 -26
  145. package/dist/chunks/{shell-yp2x3t23.js → location-service-map-f2n192rq.js} +4 -4
  146. package/dist/chunks/{shell-pjcjb8bs.js → location-service-map-f35htakt.js} +9 -9
  147. package/dist/chunks/{shell-3657zqg5.js → location-service-map-f389d7gj.js} +32 -32
  148. package/dist/chunks/{shell-f828m53h.js → location-service-map-f828m53h.js} +2 -2
  149. package/dist/chunks/{shell-xb02k0wq.js → location-service-map-fdv30zvt.js} +7 -7
  150. package/dist/chunks/{shell-ca7n9cfq.js → location-service-map-fgbd9a1c.js} +9 -9
  151. package/dist/chunks/{shell-35f3c8ak.js → location-service-map-fgz39w39.js} +86 -86
  152. package/dist/chunks/{shell-hjfxv1hf.js → location-service-map-fhg6wqx7.js} +15 -15
  153. package/dist/chunks/{shell-4zr3jzsn.js → location-service-map-fnq3w2rd.js} +8 -8
  154. package/dist/chunks/{shell-58k5q12w.js → location-service-map-fqmd4s1j.js} +32 -32
  155. package/dist/chunks/{shell-8saayj0p.js → location-service-map-fr4993az.js} +47 -47
  156. package/dist/chunks/{shell-fxbjtjnd.js → location-service-map-fxbjtjnd.js} +1 -1
  157. package/dist/chunks/{shell-vzjym1fd.js → location-service-map-fxmgaxj3.js} +12 -12
  158. package/dist/chunks/{shell-vkxpz7g2.js → location-service-map-fxqygnfa.js} +4 -4
  159. package/dist/chunks/{shell-f32czd11.js → location-service-map-g8jasmdt.js} +11 -11
  160. package/dist/chunks/{shell-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{shell-sf7s3xnw.js → location-service-map-gqqd7yp5.js} +60 -60
  162. package/dist/chunks/{shell-jvf3yq6v.js → location-service-map-gst7axd9.js} +4 -4
  163. package/dist/chunks/{shell-gv6a8nnw.js → location-service-map-gv6a8nnw.js} +2 -2
  164. package/dist/chunks/{shell-tb399yc8.js → location-service-map-gya96k67.js} +22 -22
  165. package/dist/chunks/{shell-h03wrkyp.js → location-service-map-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{shell-5p8jzcnz.js → location-service-map-h6nte9nw.js} +35 -35
  167. package/dist/chunks/{shell-84bp84rj.js → location-service-map-h6pyjjh7.js} +6 -6
  168. package/dist/chunks/{shell-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
  169. package/dist/chunks/{shell-jsj4eyt5.js → location-service-map-h7jb3q20.js} +4 -4
  170. package/dist/chunks/{shell-m86bnw2c.js → location-service-map-h7ygw6q4.js} +9 -9
  171. package/dist/chunks/{shell-tezxby1z.js → location-service-map-hbtnxrex.js} +4 -4
  172. package/dist/chunks/{shell-j22hf46x.js → location-service-map-henk663z.js} +8 -8
  173. package/dist/chunks/{shell-m7p8symg.js → location-service-map-hhn9sqhg.js} +7 -7
  174. package/dist/chunks/{shell-e1tdxk5c.js → location-service-map-hmjjxanq.js} +11 -11
  175. package/dist/chunks/{shell-t44n027g.js → location-service-map-hsj2h3cb.js} +14 -14
  176. package/dist/chunks/{shell-hnf89hr7.js → location-service-map-ht6c2863.js} +12 -12
  177. package/dist/chunks/{shell-7xjyd7zv.js → location-service-map-hz4565jb.js} +2 -2
  178. package/dist/chunks/{shell-shk57n0j.js → location-service-map-hzmtefn0.js} +11 -11
  179. package/dist/chunks/{shell-bdqrk2vk.js → location-service-map-j5208yae.js} +4 -4
  180. package/dist/chunks/{shell-j56e64zr.js → location-service-map-j56e64zr.js} +1 -1
  181. package/dist/chunks/{shell-eg7y150x.js → location-service-map-jgnxw11k.js} +10 -10
  182. package/dist/chunks/location-service-map-jgy3c5f9.js +472 -0
  183. package/dist/chunks/{shell-kv6kzmzw.js → location-service-map-jst8vt3d.js} +5 -5
  184. package/dist/chunks/{shell-d8nc1xcx.js → location-service-map-jva4mgym.js} +4 -4
  185. package/dist/chunks/{shell-8q0t0smx.js → location-service-map-jxgp7g53.js} +1 -1
  186. package/dist/chunks/{shell-shkg2ahe.js → location-service-map-k6y8t4k1.js} +58 -58
  187. package/dist/chunks/{shell-xa8bg79b.js → location-service-map-kaq1kxkp.js} +1 -1
  188. package/dist/chunks/{shell-hs3g5x4f.js → location-service-map-kd9s22ns.js} +6 -6
  189. package/dist/chunks/{shell-nj8bs39t.js → location-service-map-kmzmb758.js} +3 -3
  190. package/dist/chunks/{shell-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
  191. package/dist/chunks/{shell-gg94j5y5.js → location-service-map-mbnh2t2h.js} +6 -6
  192. package/dist/chunks/{shell-n64z6ayh.js → location-service-map-md8mx0w8.js} +17 -17
  193. package/dist/chunks/{shell-ky853516.js → location-service-map-mr09x0kn.js} +34 -34
  194. package/dist/chunks/{shell-bs5y9wpc.js → location-service-map-n16mkrvf.js} +11 -11
  195. package/dist/chunks/{shell-1sr49ngx.js → location-service-map-n4geea0h.js} +8 -8
  196. package/dist/chunks/{shell-am2x7dha.js → location-service-map-n77bm98b.js} +46 -46
  197. package/dist/chunks/{shell-xdaabq9e.js → location-service-map-nf9hvehr.js} +2 -2
  198. package/dist/chunks/{shell-ysm27kyh.js → location-service-map-nhf4zmre.js} +7 -7
  199. package/dist/chunks/{shell-rhbwnwxm.js → location-service-map-nqqf9675.js} +13 -13
  200. package/dist/chunks/{shell-wztakc2g.js → location-service-map-nxmk8ws5.js} +43 -43
  201. package/dist/chunks/{shell-8sp2z33n.js → location-service-map-p0a47g0h.js} +4 -4
  202. package/dist/chunks/{shell-apkjg5f1.js → location-service-map-phew4xhx.js} +1 -1
  203. package/dist/chunks/{shell-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
  204. package/dist/chunks/{shell-pknna89w.js → location-service-map-pknna89w.js} +1 -1
  205. package/dist/chunks/{shell-k943pb70.js → location-service-map-pqsm2j1s.js} +49 -49
  206. package/dist/chunks/{shell-5kbrmkke.js → location-service-map-pw9ddc5h.js} +27 -27
  207. package/dist/chunks/{shell-f58gpcny.js → location-service-map-px76j0pk.js} +8 -8
  208. package/dist/chunks/{shell-y992ahjm.js → location-service-map-q32k0fs9.js} +1 -1
  209. package/dist/chunks/{shell-cgccaycz.js → location-service-map-qbgx7nv3.js} +26 -26
  210. package/dist/chunks/{shell-wn3yryga.js → location-service-map-qeqdnheg.js} +20 -20
  211. package/dist/chunks/{shell-ff0htmxq.js → location-service-map-qfzde7bh.js} +6 -6
  212. package/dist/chunks/{shell-f6dg4s51.js → location-service-map-qhxjjwxg.js} +24 -24
  213. package/dist/chunks/{shell-2a4f6v5q.js → location-service-map-qm7jrdpz.js} +8 -8
  214. package/dist/chunks/{shell-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
  215. package/dist/chunks/{shell-gm46a55d.js → location-service-map-r0t15azg.js} +8 -8
  216. package/dist/chunks/{shell-p0b4ytnr.js → location-service-map-r33ff4dw.js} +4 -4
  217. package/dist/chunks/{shell-5mtzsd3b.js → location-service-map-r55vasa2.js} +4 -4
  218. package/dist/chunks/{shell-7yh4e7ss.js → location-service-map-r5x6zcsm.js} +3 -3
  219. package/dist/chunks/{shell-q0fgvcgb.js → location-service-map-r7mtf7va.js} +13 -13
  220. package/dist/chunks/{shell-r9mregkx.js → location-service-map-r9mregkx.js} +2 -2
  221. package/dist/chunks/{shell-rq4xqzzd.js → location-service-map-rcax84ya.js} +4 -4
  222. package/dist/chunks/{shell-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
  223. package/dist/chunks/{shell-yt0fqk68.js → location-service-map-s8zy8myc.js} +5 -5
  224. package/dist/chunks/{shell-4ymq8kc4.js → location-service-map-scjvjzrv.js} +33 -33
  225. package/dist/chunks/{shell-er21d9gb.js → location-service-map-sfmx7ja1.js} +9 -9
  226. package/dist/chunks/{shell-fk5v58mc.js → location-service-map-sktczvrt.js} +14 -14
  227. package/dist/chunks/{shell-jz6dexdk.js → location-service-map-sp86gy6a.js} +19 -19
  228. package/dist/chunks/{shell-jm7w29aj.js → location-service-map-t67987gv.js} +25 -25
  229. package/dist/chunks/{shell-gwz5q7xf.js → location-service-map-t7183y40.js} +31 -31
  230. package/dist/chunks/{shell-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
  231. package/dist/chunks/{shell-tcezcvh9.js → location-service-map-tcezcvh9.js} +1 -1
  232. package/dist/chunks/{shell-tdstcens.js → location-service-map-tdstcens.js} +1 -1
  233. package/dist/chunks/{shell-tvtrv512.js → location-service-map-tvtrv512.js} +1 -1
  234. package/dist/chunks/location-service-map-v76s5b0s.js +251 -0
  235. package/dist/chunks/{shell-19qt9ms0.js → location-service-map-v7hep15h.js} +25 -25
  236. package/dist/chunks/{shell-y3nkzwnm.js → location-service-map-vav2c2cr.js} +25 -25
  237. package/dist/chunks/{shell-0bvq92zm.js → location-service-map-vb997v53.js} +29 -29
  238. package/dist/chunks/{shell-bct739vz.js → location-service-map-ve4pfa0n.js} +4 -4
  239. package/dist/chunks/{shell-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
  240. package/dist/chunks/{shell-wn0qm5qp.js → location-service-map-vwc7evev.js} +17 -17
  241. package/dist/chunks/{shell-n25js84d.js → location-service-map-vx3t9wvk.js} +11 -11
  242. package/dist/chunks/{shell-9b2gkdkm.js → location-service-map-vywfytpn.js} +27 -27
  243. package/dist/chunks/{shell-3ef74p4c.js → location-service-map-vyz1nvqm.js} +11 -11
  244. package/dist/chunks/{shell-vzcthcp8.js → location-service-map-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{shell-4yzwshaw.js → location-service-map-w2kh4c12.js} +15 -15
  246. package/dist/chunks/{shell-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{shell-jv01nqvq.js → location-service-map-wbkyxrgf.js} +5 -5
  248. package/dist/chunks/{shell-wd87259q.js → location-service-map-wd87259q.js} +1 -1
  249. package/dist/chunks/{shell-fgga4tyk.js → location-service-map-wj2f1e6q.js} +44 -44
  250. package/dist/chunks/{shell-sx1q5qav.js → location-service-map-wjhm61d9.js} +15 -15
  251. package/dist/chunks/{shell-bz5ac8yj.js → location-service-map-wr994sqv.js} +11 -11
  252. package/dist/chunks/{shell-yhcttc12.js → location-service-map-ws4etjf1.js} +12 -12
  253. package/dist/chunks/{shell-5wq01ar5.js → location-service-map-wzgf8172.js} +20 -20
  254. package/dist/chunks/{shell-x1ezjp6w.js → location-service-map-x1ezjp6w.js} +1 -1
  255. package/dist/chunks/{shell-eyhpk03x.js → location-service-map-x62a4d48.js} +11 -11
  256. package/dist/chunks/location-service-map-x7bazcqt.js +26 -0
  257. package/dist/chunks/{shell-f8gkg4y9.js → location-service-map-x9m2j9ps.js} +5 -5
  258. package/dist/chunks/{shell-91tfrhd1.js → location-service-map-xafs9hxs.js} +6 -6
  259. package/dist/chunks/{shell-myhx9xq2.js → location-service-map-xap1vr3y.js} +10 -10
  260. package/dist/chunks/{shell-13vh4t13.js → location-service-map-xehevt9d.js} +14 -14
  261. package/dist/chunks/{shell-q12fghcp.js → location-service-map-xgn7tabx.js} +24 -24
  262. package/dist/chunks/{shell-tkg9rxzp.js → location-service-map-xhh1n5fz.js} +8 -8
  263. package/dist/chunks/{shell-0p4j4cv0.js → location-service-map-xhmq8qgk.js} +9 -9
  264. package/dist/chunks/{shell-dg9hzp08.js → location-service-map-xp03h3xb.js} +15 -15
  265. package/dist/chunks/{shell-n3ej18g3.js → location-service-map-xpzqjy6f.js} +35 -35
  266. package/dist/chunks/{shell-5k7whcx8.js → location-service-map-xt3w6yk5.js} +23 -23
  267. package/dist/chunks/{shell-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{shell-jwcy2c2z.js → location-service-map-y71avatq.js} +4 -4
  269. package/dist/chunks/{shell-bdyp82c4.js → location-service-map-ybxvfqcx.js} +7 -7
  270. package/dist/chunks/{shell-yqcnkns9.js → location-service-map-yfxwqvqs.js} +15 -15
  271. package/dist/chunks/{shell-j5krrq7s.js → location-service-map-ykf3ptpw.js} +35 -35
  272. package/dist/chunks/{shell-vnge3cnh.js → location-service-map-ypg67s3v.js} +17 -17
  273. package/dist/chunks/{shell-yrhqyw5v.js → location-service-map-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{shell-s4enseaf.js → location-service-map-yrznvahk.js} +2 -2
  275. package/dist/chunks/{shell-28ebf1cb.js → location-service-map-yv948d01.js} +17 -17
  276. package/dist/chunks/{shell-q7436kvy.js → location-service-map-yx2y7hvv.js} +9 -9
  277. package/dist/chunks/{shell-znbb05ss.js → location-service-map-z0064rbb.js} +16 -16
  278. package/dist/chunks/{shell-h967t558.js → location-service-map-z0a4xc00.js} +6 -6
  279. package/dist/chunks/{shell-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{shell-raxwcv5a.js → location-service-map-z27700qy.js} +18 -18
  281. package/dist/chunks/{shell-m7va1g8x.js → location-service-map-z2mtc428.js} +2 -2
  282. package/dist/chunks/{shell-29x78va6.js → location-service-map-z63w68vq.js} +6 -6
  283. package/dist/chunks/{shell-zeh9ct20.js → location-service-map-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{shell-fqax9b7r.js → location-service-map-zf7grqb8.js} +171 -171
  285. package/dist/chunks/{shell-pt4mvj74.js → location-service-map-zfnp7b6b.js} +19 -19
  286. package/dist/chunks/{shell-p3vxwp2p.js → location-service-map-zqyzccv6.js} +11 -11
  287. package/dist/chunks/{shell-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
  288. package/dist/chunks/{shell-vfx00g3j.js → location-service-map-zr7h07xm.js} +23 -23
  289. package/dist/chunks/{shell-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
  290. package/dist/codemode/catalog.js +1 -1
  291. package/dist/codemode/instructions.js +7 -7
  292. package/dist/codemode/tool.js +2 -2
  293. package/dist/command.js +84 -84
  294. package/dist/config/discovery.js +81 -81
  295. package/dist/config/markdown.js +1 -1
  296. package/dist/config/normalize.js +105 -105
  297. package/dist/config/plugin/agent.js +122 -122
  298. package/dist/config/plugin/command.js +211 -211
  299. package/dist/config/plugin/compaction.js +159 -159
  300. package/dist/config/plugin/compatibility.js +140 -140
  301. package/dist/config/plugin/entry-observer.js +1 -1
  302. package/dist/config/plugin/formatter.js +123 -123
  303. package/dist/config/plugin/image.js +122 -122
  304. package/dist/config/plugin/instruction.js +89 -89
  305. package/dist/config/plugin/location-watcher.js +122 -122
  306. package/dist/config/plugin/mcp.js +129 -129
  307. package/dist/config/plugin/policy.js +122 -122
  308. package/dist/config/plugin/provider.js +121 -121
  309. package/dist/config/plugin/reference.js +124 -124
  310. package/dist/config/plugin/shell.js +124 -124
  311. package/dist/config/plugin/skill-file.js +101 -101
  312. package/dist/config/plugin/skill.js +143 -143
  313. package/dist/config/plugin/snapshot.js +122 -122
  314. package/dist/config/plugin/source.js +119 -119
  315. package/dist/config/plugin/tool-output.js +124 -124
  316. package/dist/config/plugin/websearch.js +123 -123
  317. package/dist/config/plugin/worktree.js +125 -125
  318. package/dist/config/variable.js +3 -3
  319. package/dist/config/watch.js +1 -1
  320. package/dist/config.js +125 -125
  321. package/dist/credential/sql.js +2 -2
  322. package/dist/credential.js +84 -84
  323. package/dist/database/database.js +65 -65
  324. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  326. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  327. package/dist/database/drizzle/index.js +13 -13
  328. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  331. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  334. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  339. package/dist/database/drizzle.js +14 -14
  340. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  341. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  342. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  343. package/dist/database/migration/20260225215848_workspace.js +1 -1
  344. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  345. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  346. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  347. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  348. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  349. package/dist/database/migration/20260323234822_events.js +1 -1
  350. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  351. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  352. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  353. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  354. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  355. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  356. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  357. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  358. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  359. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  360. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  361. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  362. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  363. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  364. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  365. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  366. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  367. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  368. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  369. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  370. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  371. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  372. package/dist/database/migration/20260611035744_credential.js +1 -1
  373. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  374. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  375. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  376. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  377. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  378. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  379. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  380. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  381. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  382. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  383. package/dist/database/migration/20260812213948_worktree.js +1 -1
  384. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  385. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  386. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  387. package/dist/database/migration.gen.js +48 -48
  388. package/dist/database/migration.js +50 -50
  389. package/dist/database/path.js +2 -2
  390. package/dist/database/schema.gen.js +1 -1
  391. package/dist/database/schema.sql.js +1 -1
  392. package/dist/database/sqlite.bun.js +1 -1
  393. package/dist/database/sqlite.js +1 -1
  394. package/dist/database/sqlite.node.js +1 -1
  395. package/dist/database/sqlite.workerd.js +1 -1
  396. package/dist/database/v1-migration.bun.js +75 -75
  397. package/dist/database/v1-migration.js +1 -1
  398. package/dist/effect/app-node-builder.js +365 -365
  399. package/dist/effect/app-node-platform.js +2 -2
  400. package/dist/effect/keyed-mutex.js +3 -3
  401. package/dist/effect/websocket-constructor.js +1 -1
  402. package/dist/environment/driver.js +1 -1
  403. package/dist/environment/environment.js +92 -92
  404. package/dist/environment/exec-defaults.js +2 -2
  405. package/dist/environment/files.js +1 -1
  406. package/dist/environment/index.js +94 -94
  407. package/dist/environment/local.js +2 -2
  408. package/dist/environment/memory.js +2 -2
  409. package/dist/environment/unavailable.js +1 -1
  410. package/dist/event/sql.js +1 -1
  411. package/dist/event-logger.js +73 -73
  412. package/dist/file-access.js +103 -103
  413. package/dist/file-mutation.js +93 -93
  414. package/dist/file-retention.js +1 -1
  415. package/dist/file.js +1 -1
  416. package/dist/filesystem/fff.bun.js +2 -2
  417. package/dist/filesystem/fff.js +1 -1
  418. package/dist/filesystem/fff.node.js +2 -2
  419. package/dist/filesystem/fff.workerd.js +2 -2
  420. package/dist/filesystem/ignore.js +1 -1
  421. package/dist/filesystem/location-watcher-policy.js +6 -6
  422. package/dist/filesystem/location-watcher.js +219 -219
  423. package/dist/filesystem/protected.js +1 -1
  424. package/dist/filesystem/search.js +98 -98
  425. package/dist/filesystem/watcher-binding.js +3 -3
  426. package/dist/filesystem/watcher.js +13 -13
  427. package/dist/filesystem.js +101 -101
  428. package/dist/form.js +85 -85
  429. package/dist/formatter/builtins.js +4 -4
  430. package/dist/formatter.js +86 -86
  431. package/dist/generate.js +105 -105
  432. package/dist/git.js +10 -10
  433. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  434. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  435. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  436. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  437. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  438. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  439. package/dist/github-copilot/copilot-provider.js +17 -17
  440. package/dist/github-copilot/models.js +98 -98
  441. package/dist/github-copilot/openai-compatible-error.js +1 -1
  442. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  443. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  444. package/dist/github-copilot/responses/openai-error.js +1 -1
  445. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  446. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  447. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  448. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  449. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  451. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  452. package/dist/id/id.js +1 -1
  453. package/dist/image/photon.js +2 -2
  454. package/dist/image.js +4 -4
  455. package/dist/instance/service.js +5 -5
  456. package/dist/instance.js +356 -356
  457. package/dist/instruction-discovery.js +80 -80
  458. package/dist/instructions/builtins.js +86 -86
  459. package/dist/instructions/index.js +5 -5
  460. package/dist/integration/connection.js +3 -3
  461. package/dist/integration.js +85 -85
  462. package/dist/job.js +78 -78
  463. package/dist/kv/sql.js +2 -2
  464. package/dist/kv.js +68 -68
  465. package/dist/location-activity.js +135 -135
  466. package/dist/location-mutation.js +103 -103
  467. package/dist/location-service-map.js +85 -85
  468. package/dist/location-services.js +353 -353
  469. package/dist/location.js +84 -84
  470. package/dist/mcp/client.js +90 -90
  471. package/dist/mcp/index.js +99 -99
  472. package/dist/mcp/instructions.js +126 -126
  473. package/dist/mcp/oauth.js +77 -77
  474. package/dist/mcp/stdio.js +89 -89
  475. package/dist/mime.js +1 -1
  476. package/dist/modal/models.js +98 -98
  477. package/dist/model-resolver.js +96 -96
  478. package/dist/model.js +101 -101
  479. package/dist/models-dev.js +105 -105
  480. package/dist/oauth/page.js +1 -1
  481. package/dist/permission/saved.js +79 -79
  482. package/dist/permission/sql.js +5 -5
  483. package/dist/permission.js +116 -116
  484. package/dist/persistent-pty/binary.bun.js +1 -1
  485. package/dist/persistent-pty/daemon.js +1 -1
  486. package/dist/persistent-pty/index.js +87 -87
  487. package/dist/persistent-pty/pty-binding.js +1 -1
  488. package/dist/persistent-pty.js +74 -74
  489. package/dist/plugin/agent.js +101 -101
  490. package/dist/plugin/command.js +98 -98
  491. package/dist/plugin/hooks.js +5 -5
  492. package/dist/plugin/host.js +216 -216
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +327 -327
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +94 -94
  497. package/dist/plugin/module.js +7 -7
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/alibaba.js +2 -2
  502. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  503. package/dist/plugin/provider/azure.js +121 -121
  504. package/dist/plugin/provider/cerebras.js +89 -89
  505. package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
  506. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  507. package/dist/plugin/provider/cohere.js +2 -2
  508. package/dist/plugin/provider/configured.js +118 -118
  509. package/dist/plugin/provider/digitalocean.js +92 -92
  510. package/dist/plugin/provider/dynamic.js +2 -2
  511. package/dist/plugin/provider/factory.js +1 -1
  512. package/dist/plugin/provider/gateway.js +2 -2
  513. package/dist/plugin/provider/github-copilot.js +92 -92
  514. package/dist/plugin/provider/gitlab.js +90 -90
  515. package/dist/plugin/provider/google-vertex.js +89 -89
  516. package/dist/plugin/provider/kilo.js +89 -89
  517. package/dist/plugin/provider/llmgateway.js +89 -89
  518. package/dist/plugin/provider/lmstudio.js +119 -119
  519. package/dist/plugin/provider/modal.js +91 -91
  520. package/dist/plugin/provider/nvidia.js +89 -89
  521. package/dist/plugin/provider/ollama.js +121 -121
  522. package/dist/plugin/provider/openai-compatible.js +1 -1
  523. package/dist/plugin/provider/openai.js +93 -93
  524. package/dist/plugin/provider/opencode.js +92 -92
  525. package/dist/plugin/provider/openrouter.js +90 -90
  526. package/dist/plugin/provider/perplexity.js +2 -2
  527. package/dist/plugin/provider/poe.js +77 -77
  528. package/dist/plugin/provider/sap-ai-core.js +90 -90
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  531. package/dist/plugin/provider/venice.js +2 -2
  532. package/dist/plugin/provider/vercel.js +89 -89
  533. package/dist/plugin/provider/vllm.js +121 -121
  534. package/dist/plugin/provider/xai.js +90 -90
  535. package/dist/plugin/provider/zenmux.js +89 -89
  536. package/dist/plugin/provider.js +159 -159
  537. package/dist/plugin/sdk.js +75 -75
  538. package/dist/plugin/service.js +3 -3
  539. package/dist/plugin/skill.js +138 -138
  540. package/dist/plugin/source-directory.js +1 -1
  541. package/dist/plugin/supervisor.js +342 -342
  542. package/dist/plugin/update.js +6 -6
  543. package/dist/plugin/variant.js +89 -89
  544. package/dist/plugin/vcs/git.js +85 -85
  545. package/dist/plugin/vcs/hg.js +83 -83
  546. package/dist/plugin/warming.js +120 -120
  547. package/dist/plugin/websearch/exa.js +7 -7
  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 +4 -4
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +227 -227
  555. package/dist/project/schema.js +4 -4
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +83 -83
  558. package/dist/provider.js +100 -100
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/schema.js +3 -3
  561. package/dist/pty/ticket.js +1 -1
  562. package/dist/pty.js +97 -97
  563. package/dist/reference/instructions.js +88 -88
  564. package/dist/reference.js +90 -90
  565. package/dist/repository-cache.js +80 -80
  566. package/dist/repository.js +3 -3
  567. package/dist/ripgrep/binary.js +2 -2
  568. package/dist/ripgrep.js +96 -96
  569. package/dist/rpc.js +85 -85
  570. package/dist/schema.js +1 -1
  571. package/dist/session/command.js +73 -73
  572. package/dist/session/compaction.js +133 -133
  573. package/dist/session/context.js +151 -151
  574. package/dist/session/diff.js +87 -87
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +7 -7
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +222 -222
  579. package/dist/session/execution.js +126 -126
  580. package/dist/session/generate.js +152 -152
  581. package/dist/session/history.js +15 -15
  582. package/dist/session/inbox.js +87 -87
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +78 -78
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +92 -92
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +117 -117
  590. package/dist/session/model-transport.js +9 -9
  591. package/dist/session/move.js +130 -130
  592. package/dist/session/projector.js +85 -85
  593. package/dist/session/prompt.js +104 -104
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +89 -89
  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 +98 -98
  601. package/dist/session/runner/publish-llm-event.js +3 -3
  602. package/dist/session/runner/retry.js +114 -114
  603. package/dist/session/runner/step.js +123 -123
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +1 -1
  606. package/dist/session/session.js +172 -172
  607. package/dist/session/shell.js +137 -137
  608. package/dist/session/skill.js +102 -102
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +72 -72
  611. package/dist/session/store.js +84 -84
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +209 -209
  614. package/dist/session/system-prompt.js +5 -5
  615. package/dist/session/title.js +149 -149
  616. package/dist/session/to-session-error.js +111 -111
  617. package/dist/session/transfer.js +217 -217
  618. package/dist/session/usage.js +1 -1
  619. package/dist/session.js +213 -213
  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 +139 -139
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +106 -106
  627. package/dist/skill.js +109 -109
  628. package/dist/snapshot.js +88 -88
  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 +123 -123
  633. package/dist/tool/plugin/edit.js +119 -119
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +123 -123
  636. package/dist/tool/plugin/grep.js +123 -123
  637. package/dist/tool/plugin/opencode.js +3 -3
  638. package/dist/tool/plugin/patch.js +117 -117
  639. package/dist/tool/plugin/question.js +100 -100
  640. package/dist/tool/plugin/read.js +124 -124
  641. package/dist/tool/plugin/shell.js +216 -216
  642. package/dist/tool/plugin/skill.js +112 -112
  643. package/dist/tool/plugin/subagent.js +218 -218
  644. package/dist/tool/plugin/webfetch.js +107 -107
  645. package/dist/tool/plugin/websearch.js +113 -113
  646. package/dist/tool/plugin/write.js +119 -119
  647. package/dist/tool/read-filesystem.js +99 -99
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +8 -8
  650. package/dist/tool.js +13 -13
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +7 -7
  661. package/dist/v1/config/attachment.js +4 -4
  662. package/dist/v1/config/command.js +5 -5
  663. package/dist/v1/config/config.js +16 -16
  664. package/dist/v1/config/error.js +4 -4
  665. package/dist/v1/config/formatter.js +3 -3
  666. package/dist/v1/config/layout.js +1 -1
  667. package/dist/v1/config/lsp.js +3 -3
  668. package/dist/v1/config/mcp.js +4 -4
  669. package/dist/v1/config/migrate.js +91 -91
  670. package/dist/v1/config/permission.js +7 -7
  671. package/dist/v1/config/plugin.js +1 -1
  672. package/dist/v1/config/provider-options.js +1 -1
  673. package/dist/v1/config/provider.js +4 -4
  674. package/dist/v1/config/server.js +2 -2
  675. package/dist/v1/config/skills.js +3 -3
  676. package/dist/v1/permission.js +1 -1
  677. package/dist/vcs/patch.js +1 -1
  678. package/dist/vcs.js +88 -88
  679. package/dist/websearch.js +81 -81
  680. package/dist/wellknown/plugin.js +75 -75
  681. package/dist/wellknown.js +78 -78
  682. package/dist/workspace/driver.js +5 -5
  683. package/dist/workspace/sql.js +1 -1
  684. package/dist/workspace.js +77 -77
  685. package/dist/worktree/directory.js +2 -2
  686. package/dist/worktree/git.js +10 -10
  687. package/dist/worktree/refresh.js +343 -343
  688. package/dist/worktree/sql.js +5 -5
  689. package/dist/worktree.js +95 -95
  690. package/package.json +8 -8
  691. package/dist/chunks/shell-286ag1vh.js +0 -472
  692. package/dist/chunks/shell-5y2ymaq7.js +0 -26
  693. package/dist/chunks/shell-6kdq0pjd.js +0 -4
  694. package/dist/chunks/shell-deqxj2db.js +0 -251
  695. package/dist/chunks/shell-rap9a73h.js +0 -18
  696. /package/dist/chunks/{shell-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
  697. /package/dist/chunks/{shell-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
  698. /package/dist/chunks/{shell-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
  699. /package/dist/chunks/{shell-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
  700. /package/dist/chunks/{shell-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
  701. /package/dist/chunks/{shell-256nx13v.js → location-service-map-256nx13v.js} +0 -0
  702. /package/dist/chunks/{shell-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
  703. /package/dist/chunks/{shell-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
  704. /package/dist/chunks/{shell-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
  705. /package/dist/chunks/{shell-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
  706. /package/dist/chunks/{shell-3asan66x.js → location-service-map-3asan66x.js} +0 -0
  707. /package/dist/chunks/{shell-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
  708. /package/dist/chunks/{shell-3w5fmr99.js → location-service-map-3w5fmr99.js} +0 -0
  709. /package/dist/chunks/{shell-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
  710. /package/dist/chunks/{shell-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
  711. /package/dist/chunks/{shell-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
  712. /package/dist/chunks/{shell-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
  713. /package/dist/chunks/{shell-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
  714. /package/dist/chunks/{shell-53557ph1.js → location-service-map-53557ph1.js} +0 -0
  715. /package/dist/chunks/{shell-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
  716. /package/dist/chunks/{shell-6prwharc.js → location-service-map-6prwharc.js} +0 -0
  717. /package/dist/chunks/{shell-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
  718. /package/dist/chunks/{shell-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
  719. /package/dist/chunks/{shell-822emrt2.js → location-service-map-822emrt2.js} +0 -0
  720. /package/dist/chunks/{shell-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
  721. /package/dist/chunks/{shell-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
  722. /package/dist/chunks/{shell-922hggd3.js → location-service-map-922hggd3.js} +0 -0
  723. /package/dist/chunks/{shell-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
  724. /package/dist/chunks/{shell-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
  725. /package/dist/chunks/{shell-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
  726. /package/dist/chunks/{shell-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
  727. /package/dist/chunks/{shell-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
  728. /package/dist/chunks/{shell-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
  729. /package/dist/chunks/{shell-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
  730. /package/dist/chunks/{shell-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
  731. /package/dist/chunks/{shell-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
  732. /package/dist/chunks/{shell-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
  733. /package/dist/chunks/{shell-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
  734. /package/dist/chunks/{shell-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
  735. /package/dist/chunks/{shell-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
  736. /package/dist/chunks/{shell-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
  737. /package/dist/chunks/{shell-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
  738. /package/dist/chunks/{shell-df08tz66.js → location-service-map-df08tz66.js} +0 -0
  739. /package/dist/chunks/{shell-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
  740. /package/dist/chunks/{shell-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
  741. /package/dist/chunks/{shell-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
  742. /package/dist/chunks/{shell-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
  743. /package/dist/chunks/{shell-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
  744. /package/dist/chunks/{shell-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
  745. /package/dist/chunks/{shell-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
  746. /package/dist/chunks/{shell-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
  747. /package/dist/chunks/{shell-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
  748. /package/dist/chunks/{shell-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
  749. /package/dist/chunks/{shell-fxgpk5d8.js → location-service-map-fxgpk5d8.js} +0 -0
  750. /package/dist/chunks/{shell-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
  751. /package/dist/chunks/{shell-g86h250q.js → location-service-map-g86h250q.js} +0 -0
  752. /package/dist/chunks/{shell-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
  753. /package/dist/chunks/{shell-gftt206x.js → location-service-map-gftt206x.js} +0 -0
  754. /package/dist/chunks/{shell-hjbc5kem.js → location-service-map-hjbc5kem.js} +0 -0
  755. /package/dist/chunks/{shell-hk9envan.js → location-service-map-hk9envan.js} +0 -0
  756. /package/dist/chunks/{shell-hrnqkpcd.js → location-service-map-hrnqkpcd.js} +0 -0
  757. /package/dist/chunks/{shell-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
  758. /package/dist/chunks/{shell-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
  759. /package/dist/chunks/{shell-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
  760. /package/dist/chunks/{shell-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
  761. /package/dist/chunks/{shell-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
  762. /package/dist/chunks/{shell-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
  763. /package/dist/chunks/{shell-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
  764. /package/dist/chunks/{shell-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
  765. /package/dist/chunks/{shell-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
  766. /package/dist/chunks/{shell-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
  767. /package/dist/chunks/{shell-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
  768. /package/dist/chunks/{shell-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
  769. /package/dist/chunks/{shell-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
  770. /package/dist/chunks/{shell-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
  771. /package/dist/chunks/{shell-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
  772. /package/dist/chunks/{shell-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{shell-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{shell-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{shell-sk3qaz4a.js → location-service-map-sk3qaz4a.js} +0 -0
  776. /package/dist/chunks/{shell-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
  777. /package/dist/chunks/{shell-twg0f83k.js → location-service-map-twg0f83k.js} +0 -0
  778. /package/dist/chunks/{shell-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
  779. /package/dist/chunks/{shell-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{shell-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{shell-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{shell-x61499pn.js → location-service-map-x61499pn.js} +0 -0
  783. /package/dist/chunks/{shell-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{shell-y8cydn3q.js → location-service-map-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{shell-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{shell-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{shell-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{shell-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  create3
3
- } from "./shell-rdw6cm16.js";
3
+ } from "./location-service-map-rdw6cm16.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./location-service-map-9rqn6x4v.js";
7
7
 
8
8
  // src/filesystem/location-watcher-policy.ts
9
9
  var exports_location_watcher_policy = {};
10
10
  __export(exports_location_watcher_policy, {
11
11
  LocationWatcherPolicy: () => exports_location_watcher_policy,
12
- Service: () => Service12,
13
- node: () => node15
12
+ Service: () => Service7,
13
+ node: () => node10
14
14
  });
15
15
  import { makeLocationNode } from "@opencode/util/effect/app-node";
16
16
  import { Context, Effect, Layer, Scope } from "effect";
17
- class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
17
+ class Service7 extends Context.Service()("@opencode/LocationWatcherPolicy") {
18
18
  }
19
- var layer = Layer.effect(Service12, Effect.gen(function* () {
19
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
20
20
  const listeners = new Set;
21
21
  const state = create3({
22
22
  name: "location-watcher-policy",
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
41
41
  yield* Scope.addFinalizer(scope, dispose);
42
42
  return { dispose };
43
43
  });
44
- return Service12.of({
44
+ return Service7.of({
45
45
  transform: state.transform,
46
46
  reload: state.reload,
47
47
  current,
48
48
  observe
49
49
  });
50
50
  }));
51
- var node15 = makeLocationNode({ service: Service12, layer, deps: [] });
51
+ var node10 = makeLocationNode({ service: Service7, layer, deps: [] });
52
52
 
53
- export { Service12, node15, exports_location_watcher_policy };
53
+ export { Service7, node10, exports_location_watcher_policy };
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./location-service-map-922hggd3.js";
4
4
  import {
5
- Service78,
6
- node83
7
- } from "./shell-yhcttc12.js";
5
+ Service79,
6
+ node84
7
+ } from "./location-service-map-ws4etjf1.js";
8
8
  import {
9
- parse4,
9
+ parse5,
10
10
  validateBranch3,
11
11
  cachePath2,
12
12
  same2
13
- } from "./shell-2402vzrj.js";
13
+ } from "./location-service-map-6h73sxmp.js";
14
14
  import {
15
15
  Service80,
16
16
  node85
17
- } from "./shell-v5enyfy9.js";
17
+ } from "./location-service-map-2kmeykc3.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./location-service-map-9rqn6x4v.js";
21
21
 
22
22
  // src/repository-cache.ts
23
23
  var exports_repository_cache = {};
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
30
30
  LockFailedError: () => LockFailedError2,
31
31
  RepositoryCache: () => exports_repository_cache,
32
32
  ResetFailedError: () => ResetFailedError2,
33
- Service: () => Service51,
33
+ Service: () => Service78,
34
34
  isError: () => isError2,
35
- node: () => node54,
35
+ node: () => node83,
36
36
  validateBranch: () => validateBranch2
37
37
  });
38
38
  import path from "path";
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
90
90
  }) {
91
91
  }
92
92
 
93
- class Service51 extends Context.Service()("@opencode/RepositoryCache") {
93
+ class Service78 extends Context.Service()("@opencode/RepositoryCache") {
94
94
  }
95
95
  function isError2(error) {
96
96
  return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
101
101
  catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
102
102
  });
103
103
  });
104
- var layer = Layer.effect(Service51, Effect.gen(function* () {
104
+ var layer = Layer.effect(Service78, Effect.gen(function* () {
105
105
  const fs = yield* FSUtil.Service;
106
- const git = yield* Service78;
106
+ const git = yield* Service79;
107
107
  const flock = yield* EffectFlock.Service;
108
108
  const global = yield* Global.Service;
109
109
  const kv = yield* Service80;
110
- return Service51.of({
110
+ return Service78.of({
111
111
  ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
112
112
  if (input.branch)
113
113
  yield* validateBranch2(input.branch);
114
114
  const repository = input.reference.label;
115
115
  const localPath = cachePath2(global.repos, input.reference, input.branch);
116
116
  const key = `repository-cache:${localPath}`;
117
- const cloneTarget = parse4(input.reference.remote) ?? input.reference;
117
+ const cloneTarget = parse5(input.reference.remote) ?? input.reference;
118
118
  return yield* flock.withLock(Effect.gen(function* () {
119
119
  yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
120
120
  const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
121
121
  const origin = existing ? yield* git.remote.get(existing) : undefined;
122
- const originReference = origin ? parse4(origin) : undefined;
122
+ const originReference = origin ? parse5(origin) : undefined;
123
123
  const worktree = existing ? yield* fs.resolve(localPath) : undefined;
124
124
  const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
125
125
  if (!reuse && (yield* fs.existsSafe(localPath))) {
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
167
167
  })
168
168
  });
169
169
  }));
170
- var node54 = makeGlobalNode({
171
- service: Service51,
170
+ var node83 = makeGlobalNode({
171
+ service: Service78,
172
172
  layer,
173
- deps: [EffectFlock.node, FSUtil.node, node83, Global.node, node85]
173
+ deps: [EffectFlock.node, FSUtil.node, node84, Global.node, node85]
174
174
  });
175
175
  function errorMessage(error) {
176
176
  return error instanceof globalThis.Error ? error.message : String(error);
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
179
179
  return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
180
180
  }
181
181
 
182
- export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service51, isError2, validateBranch2, node54, exports_repository_cache };
182
+ export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service78, isError2, validateBranch2, node83, exports_repository_cache };
@@ -1,66 +1,66 @@
1
1
  import {
2
- Service77,
3
- node82
4
- } from "./shell-bsp1pkt4.js";
2
+ Service76,
3
+ node81
4
+ } from "./location-service-map-87n3nhds.js";
5
5
  import {
6
- Service75,
7
- node80
8
- } from "./shell-t44n027g.js";
6
+ Service73,
7
+ node78
8
+ } from "./location-service-map-hsj2h3cb.js";
9
9
  import {
10
- ID4
11
- } from "./shell-6kdq0pjd.js";
10
+ ID2
11
+ } from "./location-service-map-0mesazry.js";
12
12
  import {
13
- Service61,
13
+ Service60,
14
14
  login2,
15
15
  node64
16
- } from "./shell-98depksn.js";
16
+ } from "./location-service-map-3zrb79sp.js";
17
17
  import {
18
18
  lazy2
19
- } from "./shell-88xbtdfr.js";
19
+ } from "./location-service-map-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./shell-9rqn6x4v.js";
22
+ } from "./location-service-map-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
26
26
  __export(exports_pty, {
27
- CreateInput: () => CreateInput3,
28
- Event: () => Event6,
27
+ CreateInput: () => CreateInput2,
28
+ Event: () => Event4,
29
29
  ExitedError: () => ExitedError2,
30
- Info: () => Info5,
31
- NotFoundError: () => NotFoundError4,
30
+ Info: () => Info2,
31
+ NotFoundError: () => NotFoundError3,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service23,
33
+ Service: () => Service19,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node27
35
+ node: () => node22
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
39
39
  import { Pty } from "@opencode/schema/pty";
40
- import { Event as Event6 } from "@opencode/schema/pty";
40
+ import { Event as Event4 } from "@opencode/schema/pty";
41
41
  var BUFFER_LIMIT = 1024 * 1024 * 2;
42
42
  var EXITED_LIMIT = 25;
43
43
  var pty = lazy2(() => import("#pty"));
44
- var Info5 = Pty.Info;
45
- var CreateInput3 = Pty.CreateInput;
44
+ var Info2 = Pty.Info;
45
+ var CreateInput2 = Pty.CreateInput;
46
46
  var UpdateInput2 = Pty.UpdateInput;
47
47
 
48
- class NotFoundError4 extends Schema.TaggedError()("Pty.NotFoundError", {
49
- ptyID: ID4
48
+ class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
49
+ ptyID: ID2
50
50
  }) {
51
51
  }
52
52
 
53
53
  class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
54
- ptyID: ID4
54
+ ptyID: ID2
55
55
  }) {
56
56
  }
57
57
 
58
- class Service23 extends Context.Service()("@opencode/Pty") {
58
+ class Service19 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service23, Effect.gen(function* () {
61
- const bus = yield* Service77;
62
- const location = yield* Service75;
63
- const shell = yield* Service61;
60
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
61
+ const bus = yield* Service76;
62
+ const location = yield* Service73;
63
+ const shell = yield* Service60;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
97
97
  const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
98
98
  const session = sessions.get(id);
99
99
  if (!session)
100
- return yield* new NotFoundError4({ ptyID: id });
100
+ return yield* new NotFoundError3({ ptyID: id });
101
101
  return session;
102
102
  });
103
103
  const removeSession = Effect.fnUntraced(function* (id) {
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
123
123
  return (yield* requireSession(id)).info;
124
124
  });
125
125
  const create = Effect.fn("Pty.create")(function* (input) {
126
- const id = ID4.ascending();
126
+ const id = ID2.ascending();
127
127
  const command = input.command || (yield* shell.resolve({ priority: "config" }));
128
128
  const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
129
129
  const cwd = input.cwd || location.directory;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service23.of({ list, get, create, update, remove, write, attach });
271
+ return Service19.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node27 = makeLocationNode({
274
- service: Service23,
273
+ var node22 = makeLocationNode({
274
+ service: Service19,
275
275
  layer,
276
- deps: [node82, node80, node64]
276
+ deps: [node81, node78, node64]
277
277
  });
278
278
 
279
- export { Info5, CreateInput3, UpdateInput2, NotFoundError4, ExitedError2, Service23, node27, exports_pty, Event6 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service19, node22, exports_pty, Event4 };
@@ -0,0 +1,18 @@
1
+ import {
2
+ __export
3
+ } from "./location-service-map-9rqn6x4v.js";
4
+
5
+ // src/plugin/service.ts
6
+ var exports_service = {};
7
+ __export(exports_service, {
8
+ Plugin: () => exports_service,
9
+ Service: () => Service32,
10
+ awaitActivation: () => awaitActivation2
11
+ });
12
+ import { Context } from "effect";
13
+
14
+ class Service32 extends Context.Service()("@opencode/Plugin") {
15
+ }
16
+ var awaitActivation2 = Service32.use((plugins) => plugins.awaitActivation);
17
+
18
+ export { Service32, awaitActivation2, exports_service };
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./shell-3w5fmr99.js";
7
+ } from "./location-service-map-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./shell-r9mregkx.js";
11
+ } from "./location-service-map-r9mregkx.js";
12
12
  import {
13
13
  create3
14
- } from "./shell-rdw6cm16.js";
14
+ } from "./location-service-map-rdw6cm16.js";
15
15
  import {
16
- Service52,
16
+ Service51,
17
17
  node55
18
- } from "./shell-f58gpcny.js";
18
+ } from "./location-service-map-px76j0pk.js";
19
19
  import {
20
- Service62,
21
- node65
22
- } from "./shell-ngts6ef0.js";
20
+ Service68,
21
+ node73
22
+ } from "./location-service-map-1mkrhngc.js";
23
23
  import {
24
24
  match2
25
- } from "./shell-y1fvbwt7.js";
25
+ } from "./location-service-map-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./shell-9rqn6x4v.js";
28
+ } from "./location-service-map-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error2,
35
+ Error: () => Error4,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service38,
38
+ Service: () => Service50,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node42
41
+ node: () => node54
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service38 extends Context.Service()("@opencode/Tool") {
54
+ class Service50 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service38, Effect.gen(function* () {
57
- const hooks = yield* Service62;
58
- const image = yield* Service52;
56
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
57
+ const hooks = yield* Service68;
58
+ const image = yield* Service51;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service38.of({
183
+ return Service50.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -264,10 +264,10 @@ function namespaceError(name) {
264
264
  return;
265
265
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
266
266
  }
267
- var node42 = makeLocationNode({
268
- service: Service38,
267
+ var node54 = makeLocationNode({
268
+ service: Service50,
269
269
  layer,
270
- deps: [node65, node55]
270
+ deps: [node73, node55]
271
271
  });
272
272
 
273
- export { RegistrationError2, Service38, node42, exports_tool, CallID2, Content3, Error2, FileContent3, TextContent2 };
273
+ export { RegistrationError2, Service50, node54, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service81
3
- } from "./shell-28aedara.js";
3
+ } from "./location-service-map-7cdr5gb1.js";
4
4
  import {
5
- Service77
6
- } from "./shell-bsp1pkt4.js";
5
+ Service76
6
+ } from "./location-service-map-87n3nhds.js";
7
7
  import {
8
- Service45
9
- } from "./shell-ff0htmxq.js";
8
+ Service40
9
+ } from "./location-service-map-qfzde7bh.js";
10
10
  import {
11
11
  RelativePath2
12
- } from "./shell-922hggd3.js";
12
+ } from "./location-service-map-922hggd3.js";
13
13
  import {
14
- ID6,
15
- Service50
16
- } from "./shell-mtvv3gsd.js";
14
+ ID5,
15
+ Service41
16
+ } from "./location-service-map-4r0h6etc.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./shell-ec1grn59.js";
19
+ } from "./location-service-map-ec1grn59.js";
20
20
  import {
21
21
  SessionMessage2
22
- } from "./shell-gftt206x.js";
22
+ } from "./location-service-map-gftt206x.js";
23
23
  import {
24
24
  MessageNotFoundError2
25
- } from "./shell-pjcjb8bs.js";
25
+ } from "./location-service-map-f35htakt.js";
26
26
  import {
27
27
  SessionMessageTable2
28
- } from "./shell-a1bz86dw.js";
28
+ } from "./location-service-map-a1bz86dw.js";
29
29
  import {
30
30
  __export
31
- } from "./shell-9rqn6x4v.js";
31
+ } from "./location-service-map-9rqn6x4v.js";
32
32
 
33
33
  // src/session/revert.ts
34
34
  var exports_revert = {};
@@ -42,12 +42,12 @@ __export(exports_revert, {
42
42
  import { and, asc, eq, gt } from "drizzle-orm";
43
43
  import { Effect, Schema } from "effect";
44
44
  var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
45
- const instances = yield* Service45;
45
+ const instances = yield* Service40;
46
46
  const database = yield* Service81;
47
- const bus = yield* Service77;
47
+ const bus = yield* Service76;
48
48
  return yield* Effect.gen(function* () {
49
- const snapshot = yield* Service50;
50
- const original = input.session.revert?.snapshot ? ID6.make(input.session.revert.snapshot) : yield* snapshot.capture();
49
+ const snapshot = yield* Service41;
50
+ const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
51
51
  const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
52
52
  const restore = new Map;
53
53
  if (original) {
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
74
74
  }).pipe(instances.provide(input.session));
75
75
  });
76
76
  var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
77
- const instances = yield* Service45;
78
- const bus = yield* Service77;
77
+ const instances = yield* Service40;
78
+ const bus = yield* Service76;
79
79
  yield* Effect.gen(function* () {
80
- const snapshot = yield* Service50;
80
+ const snapshot = yield* Service41;
81
81
  if (!session.revert)
82
82
  return;
83
- const original = session.revert.snapshot ? ID6.make(session.revert.snapshot) : undefined;
83
+ const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
84
84
  if (original)
85
85
  yield* snapshot.restore({
86
86
  files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
111
111
  continue;
112
112
  for (const file of message.snapshot.files ?? [])
113
113
  if (!files.has(file))
114
- files.set(file, ID6.make(message.snapshot.start));
114
+ files.set(file, ID5.make(message.snapshot.start));
115
115
  }
116
116
  return files;
117
117
  });
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  directoryColumn2,
3
3
  pathColumn2
4
- } from "./shell-6msgmcgs.js";
4
+ } from "./location-service-map-6msgmcgs.js";
5
5
  import {
6
6
  Timestamps2
7
- } from "./shell-qfa1cgps.js";
7
+ } from "./location-service-map-qfa1cgps.js";
8
8
  import {
9
9
  ProjectTable2
10
- } from "./shell-8p4f9s12.js";
10
+ } from "./location-service-map-8p4f9s12.js";
11
11
 
12
12
  // src/session/sql.ts
13
13
  import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./shell-2a5m3afh.js";
5
+ } from "./location-service-map-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./shell-9rqn6x4v.js";
8
+ } from "./location-service-map-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/memory.ts
11
11
  var exports_memory = {};
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  migrations2
3
- } from "./shell-8saayj0p.js";
3
+ } from "./location-service-map-fr4993az.js";
4
4
  import {
5
5
  schema_gen_default
6
- } from "./shell-twg0f83k.js";
6
+ } from "./location-service-map-twg0f83k.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./location-service-map-9rqn6x4v.js";
10
10
 
11
11
  // src/database/migration.ts
12
12
  var exports_migration = {};
@@ -1,41 +1,41 @@
1
1
  import {
2
- Service54
3
- } from "./shell-cmmb813z.js";
2
+ Service64
3
+ } from "./location-service-map-8drea2pm.js";
4
4
  import {
5
- ID5,
5
+ ID6,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service39
10
- } from "./shell-cgccaycz.js";
9
+ Service43
10
+ } from "./location-service-map-qbgx7nv3.js";
11
11
  import {
12
12
  __export
13
- } from "./shell-9rqn6x4v.js";
13
+ } from "./location-service-map-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill = {};
17
- __export(exports_skill, {
18
- Input: () => Input4,
19
- Output: () => Output3,
20
- Plugin: () => Plugin4,
21
- SkillTool: () => exports_skill,
22
- description: () => description3,
23
- name: () => name4,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input11,
19
+ Output: () => Output7,
20
+ Plugin: () => Plugin30,
21
+ SkillTool: () => exports_skill2,
22
+ description: () => description5,
23
+ name: () => name11,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name4 = "skill";
30
- var Input4 = Schema.Struct({
31
- id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
29
+ var name11 = "skill";
30
+ var Input11 = Schema.Struct({
31
+ id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output3 = Schema.Struct({
33
+ var Output7 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
37
37
  });
38
- var description3 = [
38
+ var description5 = [
39
39
  "Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
40
40
  "",
41
41
  "The skill ID must match an available skill or a skill explicitly referenced by the user."
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin4 = {
46
+ var Plugin30 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service39;
51
- const permission = yield* Service54;
50
+ const skills = yield* Service43;
51
+ const permission = yield* Service64;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name4,
53
+ name: name11,
54
54
  options: { codemode: false },
55
- description: description3,
56
- input: Input4,
57
- output: Output3,
55
+ description: description5,
56
+ input: Input11,
57
+ output: Output7,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name4,
64
+ action: name11,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin4 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name4, Input4, Output3, description3, toModelOutput2, Plugin4, exports_skill };
82
+ export { name11, Input11, Output7, description5, toModelOutput2, Plugin30, exports_skill2 };