@opencode-ai/core 0.0.0-dev-19265 → 0.0.0-dev-19272

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +71 -71
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{location-mutation-r9ycfsjh.js → file-00reg2c2.js} +15 -15
  9. package/dist/chunks/{location-mutation-cz67sxjn.js → file-027zpkb9.js} +46 -46
  10. package/dist/chunks/{location-mutation-553s8jdp.js → file-0cz8qjvn.js} +24 -24
  11. package/dist/chunks/{location-mutation-0e0xafbb.js → file-0e0xafbb.js} +2 -2
  12. package/dist/chunks/{location-mutation-0paq2nw3.js → file-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{location-mutation-0q0f95c6.js → file-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{location-mutation-0s9ayhjt.js → file-0s9ayhjt.js} +1 -1
  15. package/dist/chunks/{location-mutation-awqyf91x.js → file-0xd2d7hb.js} +5 -5
  16. package/dist/chunks/{location-mutation-m1e4fd8e.js → file-10ac5mb1.js} +4 -4
  17. package/dist/chunks/{location-mutation-m4535t75.js → file-15q8ja5w.js} +8 -8
  18. package/dist/chunks/{location-mutation-8qgytc3b.js → file-16067esn.js} +10 -10
  19. package/dist/chunks/{location-mutation-shcc5cqr.js → file-18y9d6e3.js} +8 -8
  20. package/dist/chunks/{location-mutation-1ct4r87x.js → file-1ct4r87x.js} +1 -1
  21. package/dist/chunks/{location-mutation-68xdzhvj.js → file-1n6f46vg.js} +12 -12
  22. package/dist/chunks/{location-mutation-gac4wd5h.js → file-1sh6j74x.js} +25 -25
  23. package/dist/chunks/{location-mutation-2pqjqc52.js → file-1twb386n.js} +19 -19
  24. package/dist/chunks/{location-mutation-qkdp5fnc.js → file-1v2sb74s.js} +22 -22
  25. package/dist/chunks/{location-mutation-ka4xewm7.js → file-1ywdb1gs.js} +14 -14
  26. package/dist/chunks/{location-mutation-1n60r04w.js → file-1z0n5a5e.js} +1 -1
  27. package/dist/chunks/{location-mutation-ypzjytvr.js → file-1zmz9phy.js} +56 -56
  28. package/dist/chunks/{location-mutation-x152d5b0.js → file-1zyg6qvf.js} +13 -13
  29. package/dist/chunks/{location-mutation-tzsk1z50.js → file-20gp0hkm.js} +5 -5
  30. package/dist/chunks/{location-mutation-3f40cv46.js → file-20m0c9gs.js} +43 -43
  31. package/dist/chunks/{location-mutation-21r38tys.js → file-21r38tys.js} +1 -1
  32. package/dist/chunks/{location-mutation-2a5m3afh.js → file-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{location-mutation-b0s951gt.js → file-2d967x0d.js} +8 -8
  34. package/dist/chunks/{location-mutation-yq90rf8j.js → file-2e59x59w.js} +22 -22
  35. package/dist/chunks/{location-mutation-ht4enzqw.js → file-2f3p36qg.js} +53 -53
  36. package/dist/chunks/{location-mutation-2ht70gj7.js → file-2ht70gj7.js} +1 -1
  37. package/dist/chunks/{location-mutation-748fdr5v.js → file-2hxs042s.js} +11 -11
  38. package/dist/chunks/{location-mutation-c76spgvt.js → file-2j2hxhmw.js} +8 -8
  39. package/dist/chunks/{location-mutation-aw1ne1gp.js → file-2mzaxh2c.js} +24 -24
  40. package/dist/chunks/{location-mutation-2e8esc5r.js → file-31fepvhr.js} +14 -14
  41. package/dist/chunks/{location-mutation-5g5dhpwv.js → file-3bm961pq.js} +28 -28
  42. package/dist/chunks/{location-mutation-3hepkmqq.js → file-3hepkmqq.js} +1 -1
  43. package/dist/chunks/file-3jby5n97.js +247 -0
  44. package/dist/chunks/{location-mutation-3qzbfqsy.js → file-3qzbfqsy.js} +2 -2
  45. package/dist/chunks/{location-mutation-3smtnn6g.js → file-3smtnn6g.js} +1 -1
  46. package/dist/chunks/{location-mutation-3tvqynh2.js → file-3tvqynh2.js} +1 -1
  47. package/dist/chunks/{location-mutation-yd30tg6k.js → file-3wqg4ya9.js} +7 -7
  48. package/dist/chunks/{location-mutation-0e92dp25.js → file-41783rkf.js} +11 -11
  49. package/dist/chunks/{location-mutation-ycv9gdpt.js → file-42dkd7sx.js} +9 -9
  50. package/dist/chunks/{location-mutation-hyf5hyh1.js → file-439v5pv6.js} +17 -17
  51. package/dist/chunks/{location-mutation-454k5vzh.js → file-454k5vzh.js} +1 -1
  52. package/dist/chunks/{location-mutation-nhy5jxhy.js → file-47gsdddb.js} +5 -5
  53. package/dist/chunks/{location-mutation-50tkbn4e.js → file-4b2p4jhk.js} +25 -25
  54. package/dist/chunks/{location-mutation-n9h62wb7.js → file-4meew9ge.js} +27 -27
  55. package/dist/chunks/{location-mutation-a1b67f26.js → file-4q810h8d.js} +10 -10
  56. package/dist/chunks/{location-mutation-4r2nyarf.js → file-4r2nyarf.js} +1 -1
  57. package/dist/chunks/{location-mutation-r5w2ssxe.js → file-4x0nmcjx.js} +9 -9
  58. package/dist/chunks/{location-mutation-hw0vrq4f.js → file-4xq8pne6.js} +15 -15
  59. package/dist/chunks/{location-mutation-wgy2tz6n.js → file-4xzxjr5n.js} +4 -4
  60. package/dist/chunks/{location-mutation-s90j9acr.js → file-55n3z1fp.js} +25 -25
  61. package/dist/chunks/{location-mutation-5daktx2q.js → file-5daktx2q.js} +1 -1
  62. package/dist/chunks/{location-mutation-5fmxt4p5.js → file-5fmxt4p5.js} +1 -1
  63. package/dist/chunks/{location-mutation-5jvc5tg2.js → file-5jvc5tg2.js} +1 -1
  64. package/dist/chunks/{location-mutation-41yb40nv.js → file-5qw53pm7.js} +8 -8
  65. package/dist/chunks/{location-mutation-m5shh40j.js → file-5raq1rfw.js} +2 -2
  66. package/dist/chunks/{location-mutation-c0s68pbv.js → file-5sz2f1pr.js} +3 -3
  67. package/dist/chunks/{location-mutation-bgjb0rnk.js → file-63qhkrdy.js} +6 -6
  68. package/dist/chunks/{location-mutation-ddwschm6.js → file-68fqgny1.js} +11 -11
  69. package/dist/chunks/{location-mutation-7t7t8jv6.js → file-6cv54pwj.js} +13 -13
  70. package/dist/chunks/{location-mutation-hf2z2kry.js → file-6et5ytx9.js} +15 -15
  71. package/dist/chunks/{location-mutation-2402vzrj.js → file-6h73sxmp.js} +5 -5
  72. package/dist/chunks/{location-mutation-zv0544jz.js → file-6hh8tjw2.js} +4 -4
  73. package/dist/chunks/{location-mutation-knjm772m.js → file-6jzsnms4.js} +11 -11
  74. package/dist/chunks/{location-mutation-hspjz0fp.js → file-6n4t6cts.js} +9 -9
  75. package/dist/chunks/{location-mutation-w18dhe75.js → file-6qmx0jzx.js} +8 -8
  76. package/dist/chunks/{location-mutation-wkjngxy5.js → file-6s48shje.js} +3 -3
  77. package/dist/chunks/{location-mutation-w4mk8dh2.js → file-700rn1pz.js} +68 -68
  78. package/dist/chunks/{location-mutation-711hfp6y.js → file-711hfp6y.js} +2 -2
  79. package/dist/chunks/{location-mutation-mqvykccq.js → file-714e9pdw.js} +23 -23
  80. package/dist/chunks/{location-mutation-72nftnjy.js → file-72nftnjy.js} +2 -2
  81. package/dist/chunks/{location-mutation-97f5v037.js → file-75yf2d83.js} +8 -8
  82. package/dist/chunks/{location-mutation-7bmhse3q.js → file-7bmhse3q.js} +1 -1
  83. package/dist/chunks/{location-mutation-qkgxthm5.js → file-7cd45grp.js} +5 -5
  84. package/dist/chunks/{location-mutation-jk7xm99c.js → file-7dpy3wbt.js} +38 -34
  85. package/dist/chunks/{location-mutation-kd9jwy8m.js → file-7n0kdm8r.js} +24 -24
  86. package/dist/chunks/{location-mutation-qcb7wx0s.js → file-7n49nt1a.js} +46 -46
  87. package/dist/chunks/{location-mutation-20qgxnzb.js → file-7s38b6sy.js} +35 -35
  88. package/dist/chunks/{location-mutation-jmww4671.js → file-7t8zkc5k.js} +13 -13
  89. package/dist/chunks/{location-mutation-sy6p2gsk.js → file-7v18zwys.js} +5 -5
  90. package/dist/chunks/{location-mutation-n8c291r7.js → file-7w3s9kd0.js} +6 -6
  91. package/dist/chunks/file-7zk4hah4.js +4 -0
  92. package/dist/chunks/{location-mutation-35020cfq.js → file-80pk0g76.js} +48 -48
  93. package/dist/chunks/{location-mutation-a2zhvqnn.js → file-86qb2ahz.js} +86 -86
  94. package/dist/chunks/{location-mutation-f29br4f3.js → file-8987rwtd.js} +20 -20
  95. package/dist/chunks/{location-mutation-kkgdx70c.js → file-89kcqtpa.js} +1 -1
  96. package/dist/chunks/{location-mutation-21j9wzy5.js → file-8jfkartp.js} +7 -7
  97. package/dist/chunks/{location-mutation-kpwdvb92.js → file-8mx8wt4z.js} +22 -22
  98. package/dist/chunks/{location-mutation-qj769r8n.js → file-8xyq3q5x.js} +11 -11
  99. package/dist/chunks/{location-mutation-gwt190dm.js → file-90hty9ag.js} +8 -8
  100. package/dist/chunks/{location-mutation-93a8yfjt.js → file-93a8yfjt.js} +2 -2
  101. package/dist/chunks/{location-mutation-xjteqga3.js → file-96mf783c.js} +13 -13
  102. package/dist/chunks/{location-mutation-n3qr3rmb.js → file-995kfgp5.js} +54 -54
  103. package/dist/chunks/{location-mutation-1vs8d3gz.js → file-9eaw7gz6.js} +11 -11
  104. package/dist/chunks/{location-mutation-03vhms7f.js → file-9qj19fry.js} +17 -17
  105. package/dist/chunks/{location-mutation-gewsm2ew.js → file-9tdr4743.js} +11 -11
  106. package/dist/chunks/{location-mutation-sxhwk0c0.js → file-9tjsbxxt.js} +4 -4
  107. package/dist/chunks/{location-mutation-gk3v9xn9.js → file-a0tz1fcg.js} +5 -5
  108. package/dist/chunks/{location-mutation-4vye7c7y.js → file-a2t3hdqf.js} +22 -22
  109. package/dist/chunks/{location-mutation-qmt2dn3e.js → file-a3m9jqrh.js} +38 -38
  110. package/dist/chunks/{location-mutation-mv7e0man.js → file-a760ba0t.js} +37 -37
  111. package/dist/chunks/{location-mutation-wnxzw7ag.js → file-aa4w0yyg.js} +9 -9
  112. package/dist/chunks/{location-mutation-aaet6srn.js → file-aaet6srn.js} +2 -2
  113. package/dist/chunks/file-abx9dtfn.js +176 -0
  114. package/dist/chunks/{location-mutation-36vsdr69.js → file-acd73yp7.js} +8 -8
  115. package/dist/chunks/{location-mutation-bpynh60y.js → file-avp4f6gq.js} +23 -23
  116. package/dist/chunks/{location-mutation-et6stkf1.js → file-avr9ncqd.js} +3 -3
  117. package/dist/chunks/{location-mutation-t9nma0pe.js → file-aw7atsc2.js} +30 -30
  118. package/dist/chunks/{location-mutation-azbx08pf.js → file-azbx08pf.js} +2 -2
  119. package/dist/chunks/{location-mutation-w8aq7x5e.js → file-azhj5vsd.js} +4 -4
  120. package/dist/chunks/{location-mutation-6s66q6ye.js → file-b2heckpg.js} +9 -9
  121. package/dist/chunks/{location-mutation-b6gygkdw.js → file-b6gygkdw.js} +2 -2
  122. package/dist/chunks/{location-mutation-b9wsbatv.js → file-b9wsbatv.js} +1 -1
  123. package/dist/chunks/{location-mutation-4ky4z00x.js → file-baqyzacq.js} +18 -18
  124. package/dist/chunks/{location-mutation-ar7xhsq5.js → file-bd8895yt.js} +9 -9
  125. package/dist/chunks/{location-mutation-p6ncrwfm.js → file-bfqnwd64.js} +24 -24
  126. package/dist/chunks/{location-mutation-qbs0v8xf.js → file-bvefb309.js} +31 -31
  127. package/dist/chunks/{location-mutation-p0agm8mf.js → file-c4j9y4rn.js} +6 -6
  128. package/dist/chunks/{location-mutation-12gp3jnp.js → file-c614c79v.js} +28 -28
  129. package/dist/chunks/{location-mutation-fcjfmm05.js → file-ch51bjm6.js} +33 -33
  130. package/dist/chunks/{location-mutation-2vtpzmv5.js → file-ch7tgcz2.js} +6 -6
  131. package/dist/chunks/{location-mutation-y375pa0k.js → file-d01fwvvs.js} +32 -32
  132. package/dist/chunks/{location-mutation-r9vyccv1.js → file-d1r6xp0s.js} +1 -1
  133. package/dist/chunks/{location-mutation-dpkg50ah.js → file-dpkg50ah.js} +1 -1
  134. package/dist/chunks/file-dxj72tfx.js +18 -0
  135. package/dist/chunks/{location-mutation-5d4cs7v3.js → file-ec12g7es.js} +10 -10
  136. package/dist/chunks/{location-mutation-799zcqwb.js → file-edp744gf.js} +17 -17
  137. package/dist/chunks/{location-mutation-9v90f9cc.js → file-egdvntj9.js} +4 -4
  138. package/dist/chunks/{location-mutation-m7k42b88.js → file-egvbpfah.js} +18 -18
  139. package/dist/chunks/{location-mutation-6fb56410.js → file-em4jqsae.js} +9 -9
  140. package/dist/chunks/{location-mutation-4s7cwcwm.js → file-eqadegh7.js} +17 -17
  141. package/dist/chunks/{location-mutation-ty1a3g8x.js → file-es7k2nge.js} +18 -18
  142. package/dist/chunks/{location-mutation-vj7t3whg.js → file-ev2rrb4j.js} +13 -13
  143. package/dist/chunks/{location-mutation-2mwhmxmk.js → file-f153bnw9.js} +28 -28
  144. package/dist/chunks/{location-mutation-ka1d01ec.js → file-famd3pv6.js} +5 -5
  145. package/dist/chunks/{location-mutation-k81hrtfb.js → file-fhmwnx54.js} +16 -16
  146. package/dist/chunks/{location-mutation-9gp79knm.js → file-fqqeed3e.js} +3 -3
  147. package/dist/chunks/{location-mutation-qw3ch0ft.js → file-fv5yxb1g.js} +15 -15
  148. package/dist/chunks/{location-mutation-r9f0vktm.js → file-fvkqsvkf.js} +9 -9
  149. package/dist/chunks/{location-mutation-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
  150. package/dist/chunks/{location-mutation-fxypknc8.js → file-fxypknc8.js} +1 -1
  151. package/dist/chunks/{location-mutation-g2dy4bvs.js → file-g2dy4bvs.js} +3 -3
  152. package/dist/chunks/{location-mutation-g2gt0w0k.js → file-g2gt0w0k.js} +2 -2
  153. package/dist/chunks/{location-mutation-kbmmvjk9.js → file-g8e12k89.js} +28 -28
  154. package/dist/chunks/{location-mutation-gd4qta3r.js → file-gd4qta3r.js} +1 -1
  155. package/dist/chunks/{location-mutation-3fc6dm20.js → file-gdvy8fx6.js} +4 -4
  156. package/dist/chunks/{location-mutation-fffgckys.js → file-genak0r7.js} +29 -29
  157. package/dist/chunks/{location-mutation-hn57h045.js → file-gst7axd9.js} +4 -4
  158. package/dist/chunks/{location-mutation-fxa32nyw.js → file-gt6yvprt.js} +25 -25
  159. package/dist/chunks/{location-mutation-fp55xymf.js → file-gtx234ja.js} +11 -11
  160. package/dist/chunks/{location-mutation-71t2fpqh.js → file-h0epfjdv.js} +8 -8
  161. package/dist/chunks/{location-mutation-2ryxe2ae.js → file-h1jrq5re.js} +22 -22
  162. package/dist/chunks/{location-mutation-h6vf3j39.js → file-h6vf3j39.js} +1 -1
  163. package/dist/chunks/{location-mutation-m1wt4yw3.js → file-hdm5hsgj.js} +11 -11
  164. package/dist/chunks/{location-mutation-heyhwy2w.js → file-heyhwy2w.js} +1 -1
  165. package/dist/chunks/{location-mutation-vyffwbyc.js → file-hr8t3zyz.js} +27 -27
  166. package/dist/chunks/{location-mutation-8m0rbw91.js → file-hs6n7c7c.js} +3 -3
  167. package/dist/chunks/{location-mutation-d2qvdcch.js → file-htgpf65e.js} +4 -4
  168. package/dist/chunks/{location-mutation-kvsjn1dr.js → file-hw4pv20g.js} +2 -2
  169. package/dist/chunks/{location-mutation-ja84rtcf.js → file-ja84rtcf.js} +2 -2
  170. package/dist/chunks/{location-mutation-2wvndqp8.js → file-jpjp7rjs.js} +35 -35
  171. package/dist/chunks/{location-mutation-fzmwc9f1.js → file-jq3nctfs.js} +1 -1
  172. package/dist/chunks/{location-mutation-k4bwy1x5.js → file-k4bwy1x5.js} +1 -1
  173. package/dist/chunks/{location-mutation-5as21n7y.js → file-k7hkxkr1.js} +25 -25
  174. package/dist/chunks/{location-mutation-rt66ex88.js → file-kb18vgps.js} +5 -5
  175. package/dist/chunks/{location-mutation-mgaz471z.js → file-kdvt95pv.js} +1 -1
  176. package/dist/chunks/{location-mutation-r3tjqq5a.js → file-ke5ewz7h.js} +35 -35
  177. package/dist/chunks/{location-mutation-m78vmq2a.js → file-kejcdhme.js} +32 -32
  178. package/dist/chunks/{location-mutation-kg06axw8.js → file-kg06axw8.js} +1 -1
  179. package/dist/chunks/{location-mutation-jbpw8vb5.js → file-kg4h0fdk.js} +7 -7
  180. package/dist/chunks/{location-mutation-ckfk1z8g.js → file-kh7gnveq.js} +40 -40
  181. package/dist/chunks/{location-mutation-cbrkgqh6.js → file-kkak2gjn.js} +35 -35
  182. package/dist/chunks/{location-mutation-9exw0jng.js → file-kp5z882f.js} +12 -12
  183. package/dist/chunks/{location-mutation-02gxsad2.js → file-ky9h9abj.js} +27 -27
  184. package/dist/chunks/{location-mutation-9c0wr5p2.js → file-m6vwhxae.js} +13 -13
  185. package/dist/chunks/{location-mutation-7zq9f41z.js → file-m7zcd501.js} +28 -28
  186. package/dist/chunks/{location-mutation-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{location-mutation-jr3tywxk.js → file-magykp64.js} +21 -21
  188. package/dist/chunks/{location-mutation-5jntx97f.js → file-mfdhqe4j.js} +17 -17
  189. package/dist/chunks/{location-mutation-56gdpj1q.js → file-mfqp6xfm.js} +6 -6
  190. package/dist/chunks/{location-mutation-v0ppz6dn.js → file-mjypb2e5.js} +8 -8
  191. package/dist/chunks/{location-mutation-6h4qnp75.js → file-mpxyhn9d.js} +9 -9
  192. package/dist/chunks/{location-mutation-7vqan3q0.js → file-mzfb76av.js} +4 -4
  193. package/dist/chunks/{location-mutation-9vtsvkk2.js → file-nj9fmwgy.js} +6 -6
  194. package/dist/chunks/{location-mutation-bkpjey77.js → file-nq9f4j49.js} +11 -11
  195. package/dist/chunks/{location-mutation-f2s4jkve.js → file-nrewnjs6.js} +20 -20
  196. package/dist/chunks/{location-mutation-zzzrwwzt.js → file-nsjxktg3.js} +30 -30
  197. package/dist/chunks/{location-mutation-rrxvfwpe.js → file-p3n0cezx.js} +4 -4
  198. package/dist/chunks/file-p46ta686.js +462 -0
  199. package/dist/chunks/{location-mutation-m33qb69d.js → file-p7g53rbe.js} +18 -18
  200. package/dist/chunks/{location-mutation-63evnryy.js → file-p7sv0kv1.js} +2 -2
  201. package/dist/chunks/{location-mutation-j935v87r.js → file-paphc93g.js} +2 -2
  202. package/dist/chunks/{location-mutation-eb6vrzdm.js → file-pawcwqnj.js} +24 -24
  203. package/dist/chunks/{location-mutation-ce5fknq2.js → file-pfq1ksym.js} +5 -5
  204. package/dist/chunks/{location-mutation-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{location-mutation-pknna89w.js → file-pknna89w.js} +1 -1
  206. package/dist/chunks/{location-mutation-637qq8n2.js → file-pt34y05q.js} +9 -9
  207. package/dist/chunks/{location-mutation-cdzen2fp.js → file-q2qmez4x.js} +39 -39
  208. package/dist/chunks/{location-mutation-7dqw4kz8.js → file-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{location-mutation-xq7e5js0.js → file-qkckfa6e.js} +32 -32
  210. package/dist/chunks/{location-mutation-pmddwhyc.js → file-qq8am05g.js} +6 -6
  211. package/dist/chunks/{location-mutation-e4rp866n.js → file-qqk5wyw8.js} +9 -9
  212. package/dist/chunks/{location-mutation-f2yebhdz.js → file-qs32hcek.js} +1 -1
  213. package/dist/chunks/{location-mutation-qsdy395h.js → file-qsdy395h.js} +1 -1
  214. package/dist/chunks/{location-mutation-qvbcabdc.js → file-qvbcabdc.js} +2 -2
  215. package/dist/chunks/file-qzmfez1f.js +22 -0
  216. package/dist/chunks/{location-mutation-2jmaghvr.js → file-r33ff4dw.js} +6 -6
  217. package/dist/chunks/{location-mutation-mvfsc1pv.js → file-r5x6zcsm.js} +3 -3
  218. package/dist/chunks/{location-mutation-r8dhm0tv.js → file-r8dhm0tv.js} +1 -1
  219. package/dist/chunks/{location-mutation-yp2x3t23.js → file-r8xr0va3.js} +4 -4
  220. package/dist/chunks/{location-mutation-3j8sdtpz.js → file-r98e92ep.js} +4 -4
  221. package/dist/chunks/{location-mutation-7k08vs8b.js → file-rbkeg46f.js} +18 -18
  222. package/dist/chunks/{location-mutation-7w3fy9tn.js → file-rbnbtzf4.js} +21 -21
  223. package/dist/chunks/{location-mutation-9yhwza0s.js → file-rdqyyj99.js} +16 -16
  224. package/dist/chunks/{location-mutation-c9setr9m.js → file-rg6ph823.js} +1 -1
  225. package/dist/chunks/{location-mutation-bpd1017f.js → file-rra91dx6.js} +5 -5
  226. package/dist/chunks/{location-mutation-azhfbxv8.js → file-rx882sts.js} +10 -10
  227. package/dist/chunks/{location-mutation-9q0nykm9.js → file-rxez074z.js} +8 -8
  228. package/dist/chunks/{location-mutation-kvn4jwr8.js → file-s0611vc9.js} +26 -26
  229. package/dist/chunks/{location-mutation-3xaa90hq.js → file-s8f0jrtd.js} +7 -7
  230. package/dist/chunks/{location-mutation-sba4qhjf.js → file-sba4qhjf.js} +1 -1
  231. package/dist/chunks/{location-mutation-a809ybt0.js → file-sbybs2v2.js} +7 -7
  232. package/dist/chunks/{location-mutation-y12sg33x.js → file-sc6hcnnz.js} +27 -27
  233. package/dist/chunks/{location-mutation-01fsmxsp.js → file-sc8za2qh.js} +23 -23
  234. package/dist/chunks/{location-mutation-ej5745y0.js → file-shn0ywqn.js} +36 -36
  235. package/dist/chunks/{location-mutation-73j16qsm.js → file-sjtsqb9r.js} +24 -24
  236. package/dist/chunks/{location-mutation-k0zpnkm5.js → file-sst1nn41.js} +6 -6
  237. package/dist/chunks/{location-mutation-4nkw4gk2.js → file-t1qabjyn.js} +1 -1
  238. package/dist/chunks/{location-mutation-31jwxfn6.js → file-t7fxkjbz.js} +31 -31
  239. package/dist/chunks/{location-mutation-tazgh4e4.js → file-tazgh4e4.js} +1 -1
  240. package/dist/chunks/{location-mutation-4zpra80a.js → file-tb8dpv5p.js} +28 -28
  241. package/dist/chunks/{location-mutation-tcezcvh9.js → file-tcezcvh9.js} +1 -1
  242. package/dist/chunks/{location-mutation-f3ffyk20.js → file-tdr9t4mh.js} +41 -41
  243. package/dist/chunks/{location-mutation-9kgqjvwx.js → file-thfztt2m.js} +46 -46
  244. package/dist/chunks/{location-mutation-tjykrgmx.js → file-tjykrgmx.js} +1 -1
  245. package/dist/chunks/{location-mutation-asrxajhv.js → file-tk2rvp0q.js} +9 -9
  246. package/dist/chunks/{location-mutation-vcexzd7a.js → file-v6y89d02.js} +10 -10
  247. package/dist/chunks/{location-mutation-8bwp8r5g.js → file-v9zxr500.js} +17 -17
  248. package/dist/chunks/{location-mutation-0q3qqg02.js → file-vbj99q9w.js} +4 -4
  249. package/dist/chunks/{location-mutation-s326q968.js → file-vbr8k7xx.js} +22 -22
  250. package/dist/chunks/{location-mutation-r2kav4az.js → file-vf86qhjs.js} +19 -19
  251. package/dist/chunks/{location-mutation-y15349mw.js → file-vg48r056.js} +11 -11
  252. package/dist/chunks/{location-mutation-kaxevc9a.js → file-vhda22q0.js} +30 -30
  253. package/dist/chunks/{location-mutation-jsbj9q3j.js → file-vmw8ntz2.js} +12 -12
  254. package/dist/chunks/{location-mutation-k3hajes3.js → file-vrffs025.js} +9 -9
  255. package/dist/chunks/{location-mutation-jrye6x50.js → file-vtvdbtra.js} +29 -29
  256. package/dist/chunks/{location-mutation-7vmz4e7y.js → file-vvxk4g51.js} +90 -90
  257. package/dist/chunks/{location-mutation-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{location-mutation-wd87259q.js → file-wd87259q.js} +1 -1
  259. package/dist/chunks/{location-mutation-ng39vjdn.js → file-wgc2mr3y.js} +2 -2
  260. package/dist/chunks/{location-mutation-t9bfha1v.js → file-wysnsbqm.js} +7 -7
  261. package/dist/chunks/{location-mutation-j9pg5mya.js → file-x17e5jjd.js} +4 -4
  262. package/dist/chunks/{location-mutation-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{location-mutation-vfgzh0ae.js → file-x42cedzz.js} +15 -15
  264. package/dist/chunks/{location-mutation-y35stt4b.js → file-xmqh3v6j.js} +32 -32
  265. package/dist/chunks/{location-mutation-2xwvjr3g.js → file-xt79nmzr.js} +11 -11
  266. package/dist/chunks/{location-mutation-vqm9gcn5.js → file-xzzxrhge.js} +6 -6
  267. package/dist/chunks/{location-mutation-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{location-mutation-n9mfcsdf.js → file-y2jxh97m.js} +12 -12
  269. package/dist/chunks/{location-mutation-qbxe7mx5.js → file-y7f18nsc.js} +19 -19
  270. package/dist/chunks/{location-mutation-y57q34f9.js → file-y9kct8vd.js} +8 -8
  271. package/dist/chunks/{location-mutation-695tgtrq.js → file-yaamn39p.js} +11 -11
  272. package/dist/chunks/{location-mutation-yg7sb877.js → file-yg7sb877.js} +2 -2
  273. package/dist/chunks/{location-mutation-pjg91gph.js → file-yjagf5z6.js} +20 -20
  274. package/dist/chunks/{location-mutation-wrpe40w9.js → file-yjcamwv1.js} +11 -11
  275. package/dist/chunks/{location-mutation-7b0v2y0d.js → file-ytg3twhn.js} +14 -14
  276. package/dist/chunks/{location-mutation-r9hy8h05.js → file-yvfkj8fv.js} +5 -5
  277. package/dist/chunks/{location-mutation-dff6ksqg.js → file-yxptnz34.js} +30 -30
  278. package/dist/chunks/{location-mutation-z1k01bn4.js → file-z1k01bn4.js} +2 -2
  279. package/dist/chunks/{location-mutation-nrrren0x.js → file-z3ksxrt6.js} +11 -11
  280. package/dist/chunks/{location-mutation-esba6vsp.js → file-z44vkrmb.js} +4 -4
  281. package/dist/chunks/{location-mutation-29x78va6.js → file-z63w68vq.js} +6 -6
  282. package/dist/chunks/{location-mutation-b5ffs7mv.js → file-zdenmwdn.js} +167 -167
  283. package/dist/chunks/{location-mutation-q1wnce7s.js → file-zk5c2nev.js} +21 -21
  284. package/dist/chunks/{location-mutation-c0w89p9e.js → file-zpfprgc4.js} +14 -14
  285. package/dist/chunks/{location-mutation-s2540qmh.js → file-zqx2gt1x.js} +20 -20
  286. package/dist/chunks/{location-mutation-2y04n8jz.js → file-zrqqs77b.js} +3 -3
  287. package/dist/chunks/{location-mutation-j9x2r4mk.js → file-zrt4f2sp.js} +12 -12
  288. package/dist/chunks/{location-mutation-zxq2ej10.js → file-zxq2ej10.js} +1 -1
  289. package/dist/codemode/catalog.js +3 -3
  290. package/dist/codemode/instructions.js +9 -9
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +115 -115
  297. package/dist/config/plugin/command.js +207 -207
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +124 -124
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +111 -111
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +119 -119
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +68 -68
  322. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  323. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +13 -13
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +14 -14
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +77 -77
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +361 -360
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +1 -1
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +72 -72
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +89 -89
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +218 -218
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +15 -15
  424. package/dist/filesystem.js +100 -100
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +91 -91
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +352 -351
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +84 -84
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +81 -81
  465. package/dist/location-services.js +349 -348
  466. package/dist/location.js +80 -80
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +105 -105
  469. package/dist/mcp/instructions.js +122 -122
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +86 -86
  475. package/dist/model.js +8 -8
  476. package/dist/models-dev.js +82 -82
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +80 -80
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +108 -108
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +82 -82
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +97 -97
  487. package/dist/plugin/command.js +94 -94
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +323 -322
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +84 -0
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +115 -115
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +80 -80
  523. package/dist/plugin/provider/opencode.js +76 -76
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/sap-ai-core.js +3 -3
  527. package/dist/plugin/provider/sdk-factory.js +1 -1
  528. package/dist/plugin/provider/snowflake-cortex.js +2 -2
  529. package/dist/plugin/provider/venice.js +2 -2
  530. package/dist/plugin/provider/vercel.js +2 -2
  531. package/dist/plugin/provider/vllm.js +117 -117
  532. package/dist/plugin/provider/xai.js +77 -77
  533. package/dist/plugin/provider/zenmux.js +2 -2
  534. package/dist/plugin/provider.js +156 -155
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +133 -133
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +338 -337
  540. package/dist/plugin/update.js +6 -6
  541. package/dist/plugin/variant.js +4 -4
  542. package/dist/plugin/vcs/git.js +82 -82
  543. package/dist/plugin/vcs/hg.js +82 -82
  544. package/dist/plugin/warming.js +112 -112
  545. package/dist/plugin/websearch/exa.js +5 -5
  546. package/dist/plugin/websearch/firecrawl.js +8 -8
  547. package/dist/plugin/websearch/index.js +8 -8
  548. package/dist/plugin/websearch/mcp.js +4 -4
  549. package/dist/plugin/websearch/parallel.js +8 -8
  550. package/dist/plugin/websearch/tavily.js +6 -6
  551. package/dist/plugin.js +224 -224
  552. package/dist/project/schema.js +2 -2
  553. package/dist/project/sql.js +4 -4
  554. package/dist/project.js +79 -79
  555. package/dist/provider.js +7 -7
  556. package/dist/pty/protocol.js +1 -1
  557. package/dist/pty/schema.js +3 -3
  558. package/dist/pty/ticket.js +1 -1
  559. package/dist/pty.js +94 -94
  560. package/dist/reference/instructions.js +84 -84
  561. package/dist/reference.js +86 -86
  562. package/dist/repository-cache.js +76 -76
  563. package/dist/repository.js +3 -3
  564. package/dist/ripgrep/binary.js +2 -2
  565. package/dist/ripgrep.js +93 -93
  566. package/dist/rpc.js +79 -79
  567. package/dist/schema.js +1 -1
  568. package/dist/session/command.js +72 -72
  569. package/dist/session/compaction.js +129 -129
  570. package/dist/session/context.js +147 -147
  571. package/dist/session/environment.js +5 -5
  572. package/dist/session/error.js +5 -5
  573. package/dist/session/event.js +1 -1
  574. package/dist/session/execution/restart.js +218 -218
  575. package/dist/session/execution.js +122 -122
  576. package/dist/session/generate.js +146 -146
  577. package/dist/session/history.js +15 -15
  578. package/dist/session/inbox.js +80 -80
  579. package/dist/session/info.js +3 -3
  580. package/dist/session/instruction-entry.js +77 -77
  581. package/dist/session/instruction-state.js +8 -8
  582. package/dist/session/instructions.js +92 -92
  583. package/dist/session/message-updater.js +2 -2
  584. package/dist/session/message.js +1 -1
  585. package/dist/session/model-request.js +113 -113
  586. package/dist/session/model-transport.js +9 -9
  587. package/dist/session/move.js +126 -126
  588. package/dist/session/projector.js +84 -84
  589. package/dist/session/prompt.js +100 -100
  590. package/dist/session/provider-context.js +3 -3
  591. package/dist/session/revert.js +85 -85
  592. package/dist/session/run-coordinator.js +3 -3
  593. package/dist/session/runner/index.js +3 -3
  594. package/dist/session/runner/llm.js +225 -225
  595. package/dist/session/runner/max-steps.js +1 -1
  596. package/dist/session/runner/model.js +84 -84
  597. package/dist/session/runner/publish-llm-event.js +3 -3
  598. package/dist/session/runner/retry.js +110 -110
  599. package/dist/session/runner/step.js +119 -119
  600. package/dist/session/runner/to-llm-message.js +2 -2
  601. package/dist/session/schema.js +5 -5
  602. package/dist/session/session.js +169 -169
  603. package/dist/session/shell.js +131 -131
  604. package/dist/session/skill.js +98 -98
  605. package/dist/session/sql.js +5 -5
  606. package/dist/session/stats.js +73 -73
  607. package/dist/session/store.js +85 -85
  608. package/dist/session/subagent-completion.js +1 -1
  609. package/dist/session/subagent-job.js +205 -205
  610. package/dist/session/system-prompt.js +3 -3
  611. package/dist/session/title.js +147 -147
  612. package/dist/session/to-session-error.js +107 -107
  613. package/dist/session/transfer.js +218 -218
  614. package/dist/session/usage.js +1 -1
  615. package/dist/session.js +211 -211
  616. package/dist/shell/parse.js +6 -6
  617. package/dist/shell/result.js +1 -1
  618. package/dist/shell/scan.js +1 -1
  619. package/dist/shell/select.js +11 -11
  620. package/dist/shell.js +133 -133
  621. package/dist/skill/discovery.js +6 -6
  622. package/dist/skill/instructions.js +102 -102
  623. package/dist/skill.js +107 -107
  624. package/dist/snapshot.js +88 -88
  625. package/dist/state.js +1 -1
  626. package/dist/tool/html-markdown.js +1 -1
  627. package/dist/tool/http-body.js +1 -1
  628. package/dist/tool/mcp.js +119 -119
  629. package/dist/tool/plugin/edit.js +115 -115
  630. package/dist/tool/plugin/file-diff.js +1 -1
  631. package/dist/tool/plugin/glob.js +120 -120
  632. package/dist/tool/plugin/grep.js +120 -120
  633. package/dist/tool/plugin/opencode.js +3 -3
  634. package/dist/tool/plugin/patch.js +113 -113
  635. package/dist/tool/plugin/question.js +96 -96
  636. package/dist/tool/plugin/read.js +119 -119
  637. package/dist/tool/plugin/shell.js +212 -212
  638. package/dist/tool/plugin/skill.js +108 -108
  639. package/dist/tool/plugin/subagent.js +212 -212
  640. package/dist/tool/plugin/webfetch.js +107 -107
  641. package/dist/tool/plugin/websearch.js +109 -109
  642. package/dist/tool/plugin/write.js +117 -117
  643. package/dist/tool/read-filesystem.js +96 -96
  644. package/dist/tool/runtime.js +1 -1
  645. package/dist/tool-output.js +8 -8
  646. package/dist/tool.js +13 -13
  647. package/dist/types/plugin/provider/digitalocean.d.ts +3 -0
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +5 -5
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +3 -3
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +80 -80
  676. package/dist/wellknown/plugin.js +74 -74
  677. package/dist/wellknown.js +77 -77
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +341 -340
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +91 -91
  686. package/package.json +8 -8
  687. package/dist/chunks/location-mutation-0hbxperx.js +0 -4
  688. package/dist/chunks/location-mutation-35zkktjv.js +0 -462
  689. package/dist/chunks/location-mutation-q509s3k3.js +0 -18
  690. package/dist/chunks/location-mutation-qvtmkthx.js +0 -22
  691. package/dist/chunks/location-mutation-xy05m0bc.js +0 -247
  692. /package/dist/chunks/{location-mutation-0fabt78z.js → file-0fabt78z.js} +0 -0
  693. /package/dist/chunks/{location-mutation-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
  694. /package/dist/chunks/{location-mutation-0zkw76rk.js → file-0zkw76rk.js} +0 -0
  695. /package/dist/chunks/{location-mutation-17cy0kzp.js → file-17cy0kzp.js} +0 -0
  696. /package/dist/chunks/{location-mutation-1cnp2v09.js → file-1cnp2v09.js} +0 -0
  697. /package/dist/chunks/{location-mutation-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
  698. /package/dist/chunks/{location-mutation-2710q6r3.js → file-2710q6r3.js} +0 -0
  699. /package/dist/chunks/{location-mutation-2axfhc9x.js → file-2axfhc9x.js} +0 -0
  700. /package/dist/chunks/{location-mutation-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
  701. /package/dist/chunks/{location-mutation-359p4xyc.js → file-359p4xyc.js} +0 -0
  702. /package/dist/chunks/{location-mutation-3asan66x.js → file-3asan66x.js} +0 -0
  703. /package/dist/chunks/{location-mutation-3t738kvx.js → file-3t738kvx.js} +0 -0
  704. /package/dist/chunks/{location-mutation-3v8g72cx.js → file-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{location-mutation-3wcehsnq.js → file-3wcehsnq.js} +0 -0
  706. /package/dist/chunks/{location-mutation-41nvscxy.js → file-41nvscxy.js} +0 -0
  707. /package/dist/chunks/{location-mutation-43n2bw4t.js → file-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{location-mutation-4knz6hnm.js → file-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{location-mutation-4y7fprxs.js → file-4y7fprxs.js} +0 -0
  710. /package/dist/chunks/{location-mutation-53557ph1.js → file-53557ph1.js} +0 -0
  711. /package/dist/chunks/{location-mutation-550bvhaj.js → file-550bvhaj.js} +0 -0
  712. /package/dist/chunks/{location-mutation-6prwharc.js → file-6prwharc.js} +0 -0
  713. /package/dist/chunks/{location-mutation-7akdwqpd.js → file-7akdwqpd.js} +0 -0
  714. /package/dist/chunks/{location-mutation-7m9af43g.js → file-7m9af43g.js} +0 -0
  715. /package/dist/chunks/{location-mutation-822emrt2.js → file-822emrt2.js} +0 -0
  716. /package/dist/chunks/{location-mutation-88xbtdfr.js → file-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{location-mutation-8n3pysct.js → file-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{location-mutation-982e01ww.js → file-982e01ww.js} +0 -0
  719. /package/dist/chunks/{location-mutation-9a4afbnw.js → file-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{location-mutation-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{location-mutation-a1tpkmh4.js → file-a1tpkmh4.js} +0 -0
  722. /package/dist/chunks/{location-mutation-af5trqkr.js → file-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{location-mutation-afrmfg78.js → file-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{location-mutation-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{location-mutation-atq7p7m5.js → file-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{location-mutation-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{location-mutation-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{location-mutation-cf4snx6d.js → file-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{location-mutation-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{location-mutation-d9fn303g.js → file-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{location-mutation-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{location-mutation-dajrwvna.js → file-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{location-mutation-dap0rakb.js → file-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{location-mutation-df08tz66.js → file-df08tz66.js} +0 -0
  735. /package/dist/chunks/{location-mutation-dy18nga0.js → file-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{location-mutation-e5kj55wp.js → file-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{location-mutation-e73j6tqm.js → file-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{location-mutation-eh3zwz77.js → file-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{location-mutation-emrn6kk6.js → file-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{location-mutation-f0mxakyp.js → file-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{location-mutation-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{location-mutation-faypxj3z.js → file-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{location-mutation-fd410y7t.js → file-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{location-mutation-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{location-mutation-g4wezp1m.js → file-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{location-mutation-g86h250q.js → file-g86h250q.js} +0 -0
  747. /package/dist/chunks/{location-mutation-gebd4c9n.js → file-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{location-mutation-hk9envan.js → file-hk9envan.js} +0 -0
  749. /package/dist/chunks/{location-mutation-j2ntwpah.js → file-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{location-mutation-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{location-mutation-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{location-mutation-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{location-mutation-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{location-mutation-mntxs535.js → file-mntxs535.js} +0 -0
  755. /package/dist/chunks/{location-mutation-mp448xyj.js → file-mp448xyj.js} +0 -0
  756. /package/dist/chunks/{location-mutation-msx8hqn2.js → file-msx8hqn2.js} +0 -0
  757. /package/dist/chunks/{location-mutation-n05xt0ee.js → file-n05xt0ee.js} +0 -0
  758. /package/dist/chunks/{location-mutation-n3j8tn72.js → file-n3j8tn72.js} +0 -0
  759. /package/dist/chunks/{location-mutation-njntx4h6.js → file-njntx4h6.js} +0 -0
  760. /package/dist/chunks/{location-mutation-p8qxwesx.js → file-p8qxwesx.js} +0 -0
  761. /package/dist/chunks/{location-mutation-q3sfg36h.js → file-q3sfg36h.js} +0 -0
  762. /package/dist/chunks/{location-mutation-q74kybfr.js → file-q74kybfr.js} +0 -0
  763. /package/dist/chunks/{location-mutation-qaymkmh1.js → file-qaymkmh1.js} +0 -0
  764. /package/dist/chunks/{location-mutation-qb87gjwd.js → file-qb87gjwd.js} +0 -0
  765. /package/dist/chunks/{location-mutation-qfa1cgps.js → file-qfa1cgps.js} +0 -0
  766. /package/dist/chunks/{location-mutation-qrg20bc0.js → file-qrg20bc0.js} +0 -0
  767. /package/dist/chunks/{location-mutation-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
  768. /package/dist/chunks/{location-mutation-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
  769. /package/dist/chunks/{location-mutation-se0s1eqw.js → file-se0s1eqw.js} +0 -0
  770. /package/dist/chunks/{location-mutation-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{location-mutation-ssg3fenm.js → file-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{location-mutation-twg0f83k.js → file-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{location-mutation-w803qqfp.js → file-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{location-mutation-wer8tq1h.js → file-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{location-mutation-wtztk69x.js → file-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{location-mutation-x0ckcb58.js → file-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{location-mutation-x1b8g1yb.js → file-x1b8g1yb.js} +0 -0
  778. /package/dist/chunks/{location-mutation-x61499pn.js → file-x61499pn.js} +0 -0
  779. /package/dist/chunks/{location-mutation-y44na4kk.js → file-y44na4kk.js} +0 -0
  780. /package/dist/chunks/{location-mutation-y8cydn3q.js → file-y8cydn3q.js} +0 -0
  781. /package/dist/chunks/{location-mutation-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
  782. /package/dist/chunks/{location-mutation-z9919s4g.js → file-z9919s4g.js} +0 -0
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./location-mutation-2a5m3afh.js";
6
+ } from "./file-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./location-mutation-z1k01bn4.js";
9
+ } from "./file-z1k01bn4.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./location-mutation-b6gygkdw.js";
12
+ } from "./file-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./location-mutation-aaet6srn.js";
15
+ } from "./file-aaet6srn.js";
16
16
  import {
17
- Service76,
18
- node81
19
- } from "./location-mutation-c0w89p9e.js";
17
+ Service74,
18
+ node79
19
+ } from "./file-zpfprgc4.js";
20
20
  import {
21
- Service70,
22
- node74
23
- } from "./location-mutation-jrye6x50.js";
21
+ Service61,
22
+ node65
23
+ } from "./file-vtvdbtra.js";
24
24
  import {
25
25
  __export
26
- } from "./location-mutation-9rqn6x4v.js";
26
+ } from "./file-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service69,
33
- node: () => node73
32
+ Service: () => Service60,
33
+ node: () => node64
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode-ai/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service69,
46
+ Service: () => Service60,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node73,
52
+ node: () => node64,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service69 extends Context.Service()("@opencode/Environment") {
61
+ class Service60 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service69, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service60, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service76;
66
- const workspace = yield* Service70;
65
+ const location = yield* Service74;
66
+ const workspace = yield* Service61;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service69.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node73 = makeLocationNode({
71
- service: Service69,
70
+ var node64 = makeLocationNode({
71
+ service: Service60,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node81, node74]
73
+ deps: [CrossSpawnSpawner.node, node79, node65]
74
74
  });
75
75
 
76
- export { Service69, node73, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service60, node64, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,19 +1,19 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-mutation-k81hrtfb.js";
2
+ Service76,
3
+ node81
4
+ } from "./file-fhmwnx54.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./location-mutation-p8qxwesx.js";
8
+ } from "./file-p8qxwesx.js";
9
9
  import {
10
10
  Ref4,
11
- Service76,
12
- node81
13
- } from "./location-mutation-c0w89p9e.js";
11
+ Service74,
12
+ node79
13
+ } from "./file-zpfprgc4.js";
14
14
  import {
15
15
  __export
16
- } from "./location-mutation-9rqn6x4v.js";
16
+ } from "./file-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
@@ -21,7 +21,7 @@ __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
22
  Service: () => Service44,
23
23
  define: () => define2,
24
- node: () => node47
24
+ node: () => node48
25
25
  });
26
26
  import { define as define2 } from "@opencode-ai/schema/rpc";
27
27
  import { Event } from "@opencode-ai/schema/event";
@@ -40,8 +40,8 @@ class DeclaredError extends Error {
40
40
  }
41
41
  }
42
42
  var layer = Layer.effect(Service44, Effect.gen(function* () {
43
- const bus = yield* Service79;
44
- const location = yield* Service76;
43
+ const bus = yield* Service76;
44
+ const location = yield* Service74;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const callContext = {
47
47
  error: (type, message, data) => new DeclaredError(type, message, data)
@@ -115,14 +115,14 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
115
115
  const registered = events.get(name);
116
116
  if (!registered)
117
117
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
118
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
118
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service74, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
119
119
  }
120
120
  }
121
121
  };
122
122
  };
123
123
  return Service44.of({ register, call, client });
124
124
  }));
125
- var node47 = makeLocationNode({ service: Service44, layer, deps: [node84, node81] });
125
+ var node48 = makeLocationNode({ service: Service44, layer, deps: [node81, node79] });
126
126
  var fields = {
127
127
  id: Event.ID,
128
128
  created: Schema.Finite,
@@ -207,4 +207,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
207
207
  };
208
208
  });
209
209
 
210
- export { Service44, node47, exports_rpc, define2 };
210
+ export { Service44, node48, exports_rpc, define2 };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service79,
3
- node84
4
- } from "./location-mutation-k81hrtfb.js";
2
+ Service76,
3
+ node81
4
+ } from "./file-fhmwnx54.js";
5
5
  import {
6
- Service24,
7
- node29
8
- } from "./location-mutation-ypzjytvr.js";
6
+ Service34,
7
+ node38
8
+ } from "./file-1zmz9phy.js";
9
9
  import {
10
- Service61,
11
- node65
12
- } from "./location-mutation-ht4enzqw.js";
10
+ Service67,
11
+ node72
12
+ } from "./file-2f3p36qg.js";
13
13
  import {
14
- Service50,
15
- node54
16
- } from "./location-mutation-eb6vrzdm.js";
14
+ Service48,
15
+ node52
16
+ } from "./file-pawcwqnj.js";
17
17
  import {
18
18
  __export
19
- } from "./location-mutation-9rqn6x4v.js";
19
+ } from "./file-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service23,
26
- layer: () => layer11,
25
+ Service: () => Service33,
26
+ layer: () => layer14,
27
27
  name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node28
29
+ node: () => node37
30
30
  });
31
31
  import { ToolFailure } from "@opencode-ai/ai";
32
32
  import { McpEvent } from "@opencode-ai/schema/mcp-event";
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode-ai/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
36
  var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service23 extends Context.Service()("@opencode/McpTool") {
38
+ class Service33 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service23, Effect.gen(function* () {
41
- const mcp = yield* Service24;
42
- const tools = yield* Service50;
43
- const bus = yield* Service79;
44
- const permission = yield* Service61;
40
+ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
41
+ const mcp = yield* Service34;
42
+ const tools = yield* Service48;
43
+ const bus = yield* Service76;
44
+ const permission = yield* Service67;
45
45
  const lock = Semaphore.makeUnsafe(1);
46
46
  let discovered = [];
47
47
  const initial = yield* lock.withPermit(Effect.gen(function* () {
@@ -112,12 +112,12 @@ var layer11 = Layer.effect(Service23, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service23.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service33.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node28 = makeLocationNode({
118
- service: Service23,
119
- layer: layer11,
120
- deps: [node54, node29, node84, node65]
117
+ var node37 = makeLocationNode({
118
+ service: Service33,
119
+ layer: layer14,
120
+ deps: [node52, node38, node81, node72]
121
121
  });
122
122
 
123
- export { namespace2, name14, Service23, layer11, node28, exports_mcp3 };
123
+ export { namespace2, name14, Service33, layer14, node37, exports_mcp3 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  Timestamps2
3
- } from "./location-mutation-qfa1cgps.js";
3
+ } from "./file-qfa1cgps.js";
4
4
 
5
5
  // src/kv/sql.ts
6
6
  import { sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -0,0 +1,247 @@
1
+ import {
2
+ node75
3
+ } from "./file-sc6hcnnz.js";
4
+ import {
5
+ node55
6
+ } from "./file-nq9f4j49.js";
7
+ import {
8
+ node69
9
+ } from "./file-ky9h9abj.js";
10
+ import {
11
+ node68
12
+ } from "./file-t7fxkjbz.js";
13
+ import {
14
+ node67
15
+ } from "./file-g8e12k89.js";
16
+ import {
17
+ node39
18
+ } from "./file-a2t3hdqf.js";
19
+ import {
20
+ node79,
21
+ boundNode2
22
+ } from "./file-zpfprgc4.js";
23
+ import {
24
+ configured7,
25
+ node59
26
+ } from "./file-027zpkb9.js";
27
+ import {
28
+ node64
29
+ } from "./file-2mzaxh2c.js";
30
+ import {
31
+ node50
32
+ } from "./file-1zyg6qvf.js";
33
+ import {
34
+ node18
35
+ } from "./file-4xq8pne6.js";
36
+ import {
37
+ node17
38
+ } from "./file-vhda22q0.js";
39
+ import {
40
+ node16
41
+ } from "./file-4b2p4jhk.js";
42
+ import {
43
+ node54
44
+ } from "./file-q2qmez4x.js";
45
+ import {
46
+ node49
47
+ } from "./file-vbr8k7xx.js";
48
+ import {
49
+ node53
50
+ } from "./file-qqk5wyw8.js";
51
+ import {
52
+ node38
53
+ } from "./file-1zmz9phy.js";
54
+ import {
55
+ Service39,
56
+ node43
57
+ } from "./file-sst1nn41.js";
58
+ import {
59
+ node31
60
+ } from "./file-yjagf5z6.js";
61
+ import {
62
+ node76
63
+ } from "./file-rxez074z.js";
64
+ import {
65
+ node72
66
+ } from "./file-2f3p36qg.js";
67
+ import {
68
+ node44
69
+ } from "./file-fvkqsvkf.js";
70
+ import {
71
+ configured11,
72
+ node77
73
+ } from "./file-aw7atsc2.js";
74
+ import {
75
+ node35
76
+ } from "./file-1twb386n.js";
77
+ import {
78
+ node52
79
+ } from "./file-pawcwqnj.js";
80
+ import {
81
+ node37
82
+ } from "./file-3bm961pq.js";
83
+ import {
84
+ node51
85
+ } from "./file-bvefb309.js";
86
+ import {
87
+ node30
88
+ } from "./file-8987rwtd.js";
89
+ import {
90
+ node46
91
+ } from "./file-tb8dpv5p.js";
92
+ import {
93
+ node36
94
+ } from "./file-h1jrq5re.js";
95
+ import {
96
+ node29
97
+ } from "./file-vvxk4g51.js";
98
+ import {
99
+ node78
100
+ } from "./file-ch51bjm6.js";
101
+ import {
102
+ node61
103
+ } from "./file-6et5ytx9.js";
104
+ import {
105
+ node62
106
+ } from "./file-kp5z882f.js";
107
+ import {
108
+ node57
109
+ } from "./file-80pk0g76.js";
110
+ import {
111
+ node48
112
+ } from "./file-31fepvhr.js";
113
+ import {
114
+ node24
115
+ } from "./file-8mx8wt4z.js";
116
+ import {
117
+ node47
118
+ } from "./file-s0611vc9.js";
119
+ import {
120
+ node23
121
+ } from "./file-kh7gnveq.js";
122
+ import {
123
+ node22
124
+ } from "./file-2e59x59w.js";
125
+ import {
126
+ node2
127
+ } from "./file-c614c79v.js";
128
+ import {
129
+ node71
130
+ } from "./file-es7k2nge.js";
131
+ import {
132
+ node11,
133
+ bound2
134
+ } from "./file-15q8ja5w.js";
135
+ import {
136
+ node8
137
+ } from "./file-d01fwvvs.js";
138
+ import {
139
+ node13
140
+ } from "./file-zk5c2nev.js";
141
+ import {
142
+ node14
143
+ } from "./file-mfdhqe4j.js";
144
+ import {
145
+ node6
146
+ } from "./file-a760ba0t.js";
147
+ import {
148
+ node5
149
+ } from "./file-y7f18nsc.js";
150
+ import {
151
+ node20
152
+ } from "./file-shn0ywqn.js";
153
+ import {
154
+ node4
155
+ } from "./file-gt6yvprt.js";
156
+ import {
157
+ node3
158
+ } from "./file-700rn1pz.js";
159
+ import {
160
+ __export
161
+ } from "./file-9rqn6x4v.js";
162
+
163
+ // src/instance.ts
164
+ var exports_instance = {};
165
+ __export(exports_instance, {
166
+ Instance: () => exports_instance,
167
+ Service: () => Service39,
168
+ graph: () => graph2,
169
+ layer: () => layer2,
170
+ node: () => node43
171
+ });
172
+ import { Effect, Layer } from "effect";
173
+ import { LayerNode } from "@opencode-ai/util/effect/layer-node";
174
+ import { Node } from "@opencode-ai/util/effect/app-node";
175
+ var nodes = [
176
+ node79,
177
+ node64,
178
+ node59,
179
+ node75,
180
+ node39,
181
+ node51,
182
+ node48,
183
+ node47,
184
+ node68,
185
+ node67,
186
+ node54,
187
+ node55,
188
+ node22,
189
+ node76,
190
+ node11,
191
+ node6,
192
+ node5,
193
+ node23,
194
+ node17,
195
+ node16,
196
+ node61,
197
+ node20,
198
+ node57,
199
+ node46,
200
+ node35,
201
+ node77,
202
+ node71,
203
+ node50,
204
+ node18,
205
+ node38,
206
+ node72,
207
+ node52,
208
+ node62,
209
+ node53,
210
+ node36,
211
+ node30,
212
+ node31,
213
+ node69,
214
+ node49,
215
+ node14,
216
+ node37,
217
+ node13,
218
+ node44,
219
+ node8,
220
+ node4,
221
+ node29,
222
+ node78,
223
+ node3,
224
+ node24,
225
+ node2
226
+ ];
227
+ var graph2 = LayerNode.group(nodes);
228
+ var vanillaReplacements = [
229
+ node59.replace(configured7({ project: false, global: false })),
230
+ node77.replace(configured11({ project: false, global: false }))
231
+ ];
232
+ function layer2(ref, options = {}) {
233
+ const startedAt = performance.now();
234
+ const replacements = [
235
+ ...options.discovery === false ? vanillaReplacements : [],
236
+ ...options.replacements ?? [],
237
+ node79.replace(boundNode2(ref, { discovery: options.discovery })),
238
+ node11.replace(bound2(options.plugins ?? []))
239
+ ];
240
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.orDie, Layer.tap(() => Effect.logInfo("location services booted", {
241
+ directory: ref.directory,
242
+ workspaceID: ref.workspaceID,
243
+ durationMs: Math.round(performance.now() - startedAt)
244
+ })));
245
+ }
246
+
247
+ export { graph2, layer2, exports_instance };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionEvent2
3
- } from "./location-mutation-mntxs535.js";
3
+ } from "./file-mntxs535.js";
4
4
  import {
5
5
  tokens2
6
- } from "./location-mutation-tjykrgmx.js";
6
+ } from "./file-tjykrgmx.js";
7
7
 
8
8
  // src/session/runner/publish-llm-event.ts
9
9
  import { Effect, Fiber, Iterable } from "effect";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-mutation-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./location-mutation-9rqn6x4v.js";
3
+ } from "./file-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./location-mutation-982e01ww.js";
3
+ } from "./file-982e01ww.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./location-mutation-wkjngxy5.js";
6
+ } from "./file-6s48shje.js";
7
7
  import {
8
8
  __export
9
- } from "./location-mutation-9rqn6x4v.js";
9
+ } from "./file-9rqn6x4v.js";
10
10
 
11
11
  // src/session/error.ts
12
- var exports_error = {};
13
- __export(exports_error, {
12
+ var exports_error2 = {};
13
+ __export(exports_error2, {
14
14
  AgentNotFoundError: () => AgentNotFoundError2,
15
15
  AttachmentError: () => AttachmentError2,
16
16
  BusyError: () => BusyError2,
@@ -24,7 +24,7 @@ __export(exports_error, {
24
24
  MessageToolIncompleteError: () => MessageToolIncompleteError2,
25
25
  NotFoundError: () => NotFoundError9,
26
26
  PromptConflictError: () => PromptConflictError2,
27
- SessionErrors: () => exports_error,
27
+ SessionErrors: () => exports_error2,
28
28
  SkillNotFoundError: () => SkillNotFoundError2,
29
29
  StepFailedError: () => StepFailedError2,
30
30
  SyntheticConflictError: () => SyntheticConflictError2,
@@ -144,4 +144,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
144
144
  }) {
145
145
  }
146
146
 
147
- export { NotFoundError9, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
147
+ export { NotFoundError9, MessageNotFoundError2, MessageNotAssistantError2, MessageIncompleteError2, MessageToolIncompleteError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, UserInterruptedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error2 };
@@ -1,17 +1,17 @@
1
1
  import {
2
- ID16,
2
+ ID11,
3
3
  aisdk2,
4
4
  mergeOverlay2
5
- } from "./location-mutation-w18dhe75.js";
5
+ } from "./file-6qmx0jzx.js";
6
6
  import {
7
- ID14,
7
+ ID10,
8
8
  VariantID2,
9
9
  Family2,
10
- Info28
11
- } from "./location-mutation-n9mfcsdf.js";
10
+ Info25
11
+ } from "./file-y2jxh97m.js";
12
12
  import {
13
13
  __export
14
- } from "./location-mutation-9rqn6x4v.js";
14
+ } from "./file-9rqn6x4v.js";
15
15
 
16
16
  // src/github-copilot/models.ts
17
17
  var exports_models = {};
@@ -87,7 +87,7 @@ async function get2(baseURL, headers, existing) {
87
87
  result.set(id, build(id, current, baseURL, model));
88
88
  }
89
89
  for (const [id, model] of remote) {
90
- const key = ID14.make(id);
90
+ const key = ID10.make(id);
91
91
  if (result.has(key))
92
92
  continue;
93
93
  result.set(key, build(key, model, baseURL));
@@ -111,11 +111,11 @@ function build(id, remote, baseURL, previous) {
111
111
  const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
112
112
  const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
113
113
  const released = previous?.time.released || Date.parse(version);
114
- return Info28.make({
115
- ...Info28.default(ID16.githubCopilot, id),
114
+ return Info25.make({
115
+ ...Info25.default(ID11.githubCopilot, id),
116
116
  id,
117
- modelID: ID14.make(remote.id),
118
- providerID: ID16.githubCopilot,
117
+ modelID: ID10.make(remote.id),
118
+ providerID: ID11.githubCopilot,
119
119
  family: previous?.family ?? Family2.make(remote.capabilities.family),
120
120
  name: previous?.name ?? remote.name,
121
121
  package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./location-mutation-dpkg50ah.js";
3
+ } from "./file-dpkg50ah.js";
4
4
  import {
5
5
  __export
6
- } from "./location-mutation-9rqn6x4v.js";
6
+ } from "./file-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service5,
13
- node: () => node8
12
+ Service: () => Service7,
13
+ node: () => node10
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode-ai/util/npm";
17
17
  import { makeGlobalNode } from "@opencode-ai/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service5 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service7 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service5, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service7, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service5.of({
27
+ return Service7.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service5, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node8 = makeGlobalNode({ service: Service5, layer, deps: [Npm.node] });
52
+ var node10 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
53
53
 
54
- export { Service5, node8, exports_update };
54
+ export { Service7, node10, exports_update };