@opencode/core 0.0.0-dev-20862 → 0.0.0-dev-20868

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 (790) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +83 -83
  3. package/dist/aisdk-native.js +91 -91
  4. package/dist/aisdk.js +96 -96
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +71 -71
  7. package/dist/chunks/{filesystem-k0sjew9s.js → session-04tp0yna.js} +19 -19
  8. package/dist/chunks/{filesystem-v47ja0kk.js → session-08d8rt9m.js} +39 -39
  9. package/dist/chunks/{filesystem-rb70syh1.js → session-0fp83ztc.js} +15 -15
  10. package/dist/chunks/{filesystem-jfskkshb.js → session-0g0v5bhz.js} +22 -22
  11. package/dist/chunks/{filesystem-btv47zes.js → session-0k2m3zrg.js} +32 -32
  12. package/dist/chunks/{filesystem-0vbcp93d.js → session-0vbcp93d.js} +2 -2
  13. package/dist/chunks/{filesystem-hp4earpc.js → session-18tw3kdf.js} +10 -10
  14. package/dist/chunks/{filesystem-r9h634c8.js → session-1b39x7qv.js} +3 -3
  15. package/dist/chunks/{filesystem-bkpsvkt5.js → session-1ekh41w3.js} +20 -20
  16. package/dist/chunks/{filesystem-pg0x4j42.js → session-1exssq2z.js} +11 -11
  17. package/dist/chunks/{filesystem-z2jd07rd.js → session-1gpb38yh.js} +6 -6
  18. package/dist/chunks/{filesystem-1b39dbdd.js → session-1h8jyd5k.js} +4 -4
  19. package/dist/chunks/{filesystem-hbvtdghj.js → session-1jnr55tj.js} +2 -2
  20. package/dist/chunks/{filesystem-d77571hn.js → session-1m08phmk.js} +22 -22
  21. package/dist/chunks/{filesystem-zmdnfm9g.js → session-1pch4wmh.js} +6 -6
  22. package/dist/chunks/{filesystem-d9jtx293.js → session-210p74nv.js} +6 -6
  23. package/dist/chunks/{filesystem-nx9q51n4.js → session-236f15as.js} +15 -15
  24. package/dist/chunks/{filesystem-ssb0bxwr.js → session-2ggvxv4d.js} +12 -12
  25. package/dist/chunks/{filesystem-e430bhbh.js → session-2gw0d5v3.js} +4 -4
  26. package/dist/chunks/{filesystem-2k8khapm.js → session-2k8khapm.js} +1 -1
  27. package/dist/chunks/{filesystem-e0v6r3rc.js → session-2qhwm2v1.js} +17 -17
  28. package/dist/chunks/{filesystem-svcw9x3w.js → session-2r93mh4x.js} +5 -5
  29. package/dist/chunks/{filesystem-2vvh33eb.js → session-2vvh33eb.js} +2 -2
  30. package/dist/chunks/{filesystem-8v4mw3b0.js → session-3ec56ctt.js} +29 -29
  31. package/dist/chunks/{filesystem-3fc6dm20.js → session-3fc6dm20.js} +1 -1
  32. package/dist/chunks/{filesystem-3hepkmqq.js → session-3hepkmqq.js} +1 -1
  33. package/dist/chunks/{filesystem-3hwn7j4h.js → session-3hwn7j4h.js} +2 -2
  34. package/dist/chunks/{filesystem-rksd8sej.js → session-3q3rd3rw.js} +41 -41
  35. package/dist/chunks/{filesystem-3smtnn6g.js → session-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{filesystem-cc09gky1.js → session-3tbgxcww.js} +22 -22
  37. package/dist/chunks/{filesystem-3tvqynh2.js → session-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{filesystem-kdykjer7.js → session-3w446wek.js} +15 -15
  39. package/dist/chunks/{filesystem-3zsf4n22.js → session-3zsf4n22.js} +1 -1
  40. package/dist/chunks/{filesystem-yar3z0vm.js → session-43gp62s5.js} +13 -13
  41. package/dist/chunks/{filesystem-mwpbc7s8.js → session-4779ergv.js} +18 -18
  42. package/dist/chunks/{filesystem-pn3cc07s.js → session-4e8vs6eh.js} +8 -8
  43. package/dist/chunks/{filesystem-53rak1ew.js → session-4ft2z4en.js} +2 -2
  44. package/dist/chunks/{filesystem-e6464sbd.js → session-4gavv848.js} +14 -14
  45. package/dist/chunks/{filesystem-tzpbkfcj.js → session-4nd8r2f2.js} +11 -11
  46. package/dist/chunks/{filesystem-q7nk3s7j.js → session-4qg8xp0e.js} +4 -4
  47. package/dist/chunks/{filesystem-nnd1qh7g.js → session-4qxy81cs.js} +13 -13
  48. package/dist/chunks/{filesystem-4ts7tf6z.js → session-4ts7tf6z.js} +2 -2
  49. package/dist/chunks/{filesystem-w39jehkq.js → session-4xpgt2w9.js} +5 -5
  50. package/dist/chunks/{filesystem-54ma36ye.js → session-54ma36ye.js} +1 -1
  51. package/dist/chunks/{filesystem-wpf4st6a.js → session-57tcg4fz.js} +9 -9
  52. package/dist/chunks/{filesystem-89ppyk96.js → session-5dp7ahdf.js} +3 -3
  53. package/dist/chunks/{filesystem-5m9w47nd.js → session-5m9w47nd.js} +1 -1
  54. package/dist/chunks/{filesystem-by8c53ka.js → session-5p6mc6rb.js} +33 -33
  55. package/dist/chunks/{filesystem-58hzr473.js → session-5r9c09zs.js} +19 -19
  56. package/dist/chunks/{filesystem-9hn6k4tm.js → session-5xtgfte3.js} +8 -8
  57. package/dist/chunks/{filesystem-thnax083.js → session-5yq05tt0.js} +10 -10
  58. package/dist/chunks/{filesystem-bmwsgzm3.js → session-62y1n1c6.js} +11 -11
  59. package/dist/chunks/{filesystem-yezy7z0k.js → session-63fgdszb.js} +11 -11
  60. package/dist/chunks/{filesystem-196dp0k4.js → session-6e4tj2dd.js} +10 -10
  61. package/dist/chunks/{filesystem-e0w2vstn.js → session-6p22geyw.js} +14 -14
  62. package/dist/chunks/{filesystem-e2cmhjkj.js → session-6wzm9wrq.js} +25 -25
  63. package/dist/chunks/{filesystem-6xb47vfp.js → session-6xb47vfp.js} +1 -1
  64. package/dist/chunks/{filesystem-ewpvmgf2.js → session-70ysr43d.js} +32 -32
  65. package/dist/chunks/{filesystem-faat08va.js → session-71tyj26k.js} +21 -21
  66. package/dist/chunks/{filesystem-e448g38w.js → session-75z25d3x.js} +7 -7
  67. package/dist/chunks/{filesystem-58hng72m.js → session-76rvckpe.js} +5 -5
  68. package/dist/chunks/{filesystem-wwxyb18g.js → session-78m9kzk2.js} +4 -4
  69. package/dist/chunks/{filesystem-7bmhse3q.js → session-7bmhse3q.js} +1 -1
  70. package/dist/chunks/{filesystem-khjjjyc5.js → session-7w1yy65q.js} +317 -317
  71. package/dist/chunks/{filesystem-adgawzpd.js → session-81w806rm.js} +5 -5
  72. package/dist/chunks/{filesystem-7t1q934f.js → session-8298y27z.js} +10 -10
  73. package/dist/chunks/{filesystem-w1eejvng.js → session-84txncab.js} +5 -5
  74. package/dist/chunks/{filesystem-x8g8cxcn.js → session-85fbpvvc.js} +13 -13
  75. package/dist/chunks/{filesystem-8m6m0r52.js → session-8m6m0r52.js} +1 -1
  76. package/dist/chunks/{filesystem-k7xxzs5q.js → session-8nh78ga4.js} +22 -22
  77. package/dist/chunks/{filesystem-y8p3zjbc.js → session-8q61w4ba.js} +8 -8
  78. package/dist/chunks/{filesystem-zrj251rj.js → session-8vjmx4y8.js} +26 -26
  79. package/dist/chunks/{filesystem-v7z2bvyd.js → session-8wbxkt1z.js} +4 -4
  80. package/dist/chunks/{filesystem-p756njhy.js → session-8x1a9w0n.js} +10 -10
  81. package/dist/chunks/{filesystem-91qna3x0.js → session-91qna3x0.js} +3 -3
  82. package/dist/chunks/{filesystem-ytt1fcja.js → session-925py8mk.js} +11 -11
  83. package/dist/chunks/{filesystem-3xj61p28.js → session-9ews8vab.js} +29 -29
  84. package/dist/chunks/{filesystem-wd9v2wqs.js → session-9t3qa7eq.js} +23 -23
  85. package/dist/chunks/{filesystem-a6xg053j.js → session-9yqt7a6e.js} +22 -22
  86. package/dist/chunks/{filesystem-addxnjmp.js → session-addxnjmp.js} +1 -1
  87. package/dist/chunks/{filesystem-1dpj84zp.js → session-ap7yvs20.js} +21 -21
  88. package/dist/chunks/{filesystem-v22mneq0.js → session-ar382pbx.js} +49 -49
  89. package/dist/chunks/{filesystem-6xktvksv.js → session-b059fbd8.js} +10 -10
  90. package/dist/chunks/{filesystem-z114v3my.js → session-b3scch5m.js} +20 -20
  91. package/dist/chunks/{filesystem-jq5zn2gb.js → session-b71t0mz7.js} +20 -20
  92. package/dist/chunks/{filesystem-rpg9c19m.js → session-baaqp4zd.js} +4 -4
  93. package/dist/chunks/{filesystem-bfegkxfd.js → session-bfegkxfd.js} +3 -3
  94. package/dist/chunks/{filesystem-mt5arhrs.js → session-bfzgvda8.js} +15 -15
  95. package/dist/chunks/{filesystem-bjx1sjef.js → session-bjx1sjef.js} +2 -2
  96. package/dist/chunks/{filesystem-9s024g5s.js → session-bmgq9nce.js} +7 -7
  97. package/dist/chunks/{filesystem-bmr56wjg.js → session-bmr56wjg.js} +1 -1
  98. package/dist/chunks/session-by5v678g.js +18 -0
  99. package/dist/chunks/{filesystem-cya74875.js → session-c0xpp5ke.js} +7 -7
  100. package/dist/chunks/{filesystem-es1vcfrp.js → session-c1fqxshp.js} +3 -3
  101. package/dist/chunks/{filesystem-628nc13m.js → session-cabnramy.js} +28 -28
  102. package/dist/chunks/{filesystem-ashq5n6s.js → session-cagj8kab.js} +10 -10
  103. package/dist/chunks/{filesystem-0m69c59p.js → session-cayn57wz.js} +27 -27
  104. package/dist/chunks/{filesystem-tam3xr47.js → session-cdwpmzc5.js} +17 -17
  105. package/dist/chunks/{filesystem-6ygttn8c.js → session-cevz5b4v.js} +22 -22
  106. package/dist/chunks/{filesystem-h9k3zmfa.js → session-cpge179n.js} +16 -16
  107. package/dist/chunks/{filesystem-f0bdtv1n.js → session-csh66p3g.js} +14 -14
  108. package/dist/chunks/{filesystem-zdqhb26j.js → session-csmf8atn.js} +3 -3
  109. package/dist/chunks/{filesystem-rjtxxem0.js → session-ctvxfrcv.js} +8 -8
  110. package/dist/chunks/{filesystem-mggg0rbc.js → session-d1m22mqf.js} +46 -46
  111. package/dist/chunks/{filesystem-c1pk8j7t.js → session-d3zasq0v.js} +16 -16
  112. package/dist/chunks/{filesystem-c8dsy7xk.js → session-ddrn4byf.js} +11 -11
  113. package/dist/chunks/{filesystem-6hjx5zpb.js → session-depwzj9d.js} +8 -8
  114. package/dist/chunks/{filesystem-5hf5f199.js → session-dh4dwqqs.js} +13 -13
  115. package/dist/chunks/{filesystem-v0xmac3n.js → session-drnf6xwf.js} +2 -2
  116. package/dist/chunks/{filesystem-7bj0298e.js → session-dw31dmy5.js} +15 -15
  117. package/dist/chunks/{filesystem-mek16e5d.js → session-dyz05vg8.js} +11 -11
  118. package/dist/chunks/{filesystem-e80seqcp.js → session-e80seqcp.js} +1 -1
  119. package/dist/chunks/{filesystem-9sdvy6ea.js → session-e8k4staa.js} +8 -8
  120. package/dist/chunks/{filesystem-2k71kv7p.js → session-eahhehpg.js} +4 -4
  121. package/dist/chunks/{filesystem-w2t8mqbe.js → session-eamdzdjp.js} +15 -15
  122. package/dist/chunks/{filesystem-y9q49zk7.js → session-eb35xf4q.js} +4 -4
  123. package/dist/chunks/{filesystem-eej6y6fw.js → session-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{filesystem-kzxe22pz.js → session-eewfcfsw.js} +4 -4
  125. package/dist/chunks/{filesystem-ef5x83kb.js → session-ef5x83kb.js} +1 -1
  126. package/dist/chunks/{filesystem-7ha8mbyb.js → session-ekhmktva.js} +9 -9
  127. package/dist/chunks/{filesystem-z7tsfxrw.js → session-f1dbpsve.js} +35 -35
  128. package/dist/chunks/{filesystem-426dk71k.js → session-fmz9jetc.js} +13 -13
  129. package/dist/chunks/{filesystem-42q5z408.js → session-fw5pex6w.js} +1 -1
  130. package/dist/chunks/{filesystem-234r1ky0.js → session-g1dkb72t.js} +8 -8
  131. package/dist/chunks/{filesystem-p42kja40.js → session-g3s1jevv.js} +10 -10
  132. package/dist/chunks/{filesystem-x0gy9gxe.js → session-g4k3vdhb.js} +10 -10
  133. package/dist/chunks/{filesystem-xcf4ra81.js → session-g4sq4kf5.js} +4 -4
  134. package/dist/chunks/{filesystem-1a4qr9z1.js → session-ga2xfj59.js} +3 -3
  135. package/dist/chunks/{filesystem-73n0zeyz.js → session-gc4wr0fg.js} +11 -11
  136. package/dist/chunks/{filesystem-gd4qta3r.js → session-gd4qta3r.js} +1 -1
  137. package/dist/chunks/{filesystem-42721k3a.js → session-ggf2e83v.js} +16 -16
  138. package/dist/chunks/{filesystem-6ah3a7p6.js → session-gpqh9znz.js} +32 -32
  139. package/dist/chunks/{filesystem-h6vf3j39.js → session-h6vf3j39.js} +1 -1
  140. package/dist/chunks/{filesystem-h7s7r6s9.js → session-h7s7r6s9.js} +2 -2
  141. package/dist/chunks/{filesystem-0z1n3j5c.js → session-hcyd8bc7.js} +21 -21
  142. package/dist/chunks/{filesystem-a78v4ve5.js → session-hd6606c8.js} +18 -18
  143. package/dist/chunks/{filesystem-5w9yjztw.js → session-he27pt63.js} +1 -1
  144. package/dist/chunks/{filesystem-hgz4x7wa.js → session-hgz4x7wa.js} +1 -1
  145. package/dist/chunks/{filesystem-2ryng5r3.js → session-hkffa77z.js} +4 -4
  146. package/dist/chunks/{filesystem-fxaymqdw.js → session-hq3c8me3.js} +4 -4
  147. package/dist/chunks/{filesystem-4c0s820n.js → session-htk3m3af.js} +81 -81
  148. package/dist/chunks/{filesystem-vknd5qb0.js → session-hvbehb91.js} +24 -24
  149. package/dist/chunks/{filesystem-j56e64zr.js → session-j56e64zr.js} +1 -1
  150. package/dist/chunks/{filesystem-wb1x78f5.js → session-jhc1n6v9.js} +39 -39
  151. package/dist/chunks/{filesystem-3ez4gjkt.js → session-jhqvece5.js} +1 -1
  152. package/dist/chunks/{filesystem-4wxv1g1t.js → session-jkcf0tn7.js} +3 -3
  153. package/dist/chunks/{filesystem-mddpn92g.js → session-jpr8b707.js} +29 -29
  154. package/dist/chunks/{filesystem-yg152t47.js → session-jwwcavp0.js} +30 -30
  155. package/dist/chunks/{filesystem-e1t3mam8.js → session-jypdadep.js} +10 -10
  156. package/dist/chunks/{filesystem-jx42mra6.js → session-kdpta7pk.js} +11 -11
  157. package/dist/chunks/{filesystem-d7h2nsz1.js → session-ke1b35c2.js} +38 -38
  158. package/dist/chunks/{filesystem-t8c0xvf3.js → session-kmyn9ndr.js} +7 -7
  159. package/dist/chunks/{filesystem-9sjeq45g.js → session-kv3mrx06.js} +1 -1
  160. package/dist/chunks/{filesystem-3b9qt4hj.js → session-kvjzkr2v.js} +9 -9
  161. package/dist/chunks/{filesystem-dg29p2pd.js → session-m6ryjqx4.js} +16 -16
  162. package/dist/chunks/{filesystem-8004wwfb.js → session-m7ry9d5h.js} +20 -20
  163. package/dist/chunks/{filesystem-gp9jqd59.js → session-m93cgr6s.js} +6 -6
  164. package/dist/chunks/{filesystem-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
  165. package/dist/chunks/{filesystem-gk8qb678.js → session-maspj1v3.js} +6 -19
  166. package/dist/chunks/{filesystem-y3h0e103.js → session-mj6401jz.js} +9 -9
  167. package/dist/chunks/{filesystem-d47p0dev.js → session-mmncfjgd.js} +4 -4
  168. package/dist/chunks/{filesystem-eg1jtzjt.js → session-mt8b743m.js} +42 -42
  169. package/dist/chunks/{filesystem-m5jcjszt.js → session-my4zabxr.js} +3 -3
  170. package/dist/chunks/{filesystem-kav7weha.js → session-n3k7fehp.js} +30 -30
  171. package/dist/chunks/{filesystem-5dzcxebq.js → session-n87sm97q.js} +2 -2
  172. package/dist/chunks/{filesystem-bxqk5pf5.js → session-nd4tfyg0.js} +9 -9
  173. package/dist/chunks/{filesystem-q0zsatc3.js → session-nnz30g4e.js} +47 -47
  174. package/dist/chunks/{filesystem-ma48de29.js → session-nrk5vjbf.js} +5 -5
  175. package/dist/chunks/{filesystem-nsdra7pt.js → session-nrydgsm7.js} +42 -42
  176. package/dist/chunks/{filesystem-njfdx3sy.js → session-ns3qmfdm.js} +4 -4
  177. package/dist/chunks/{filesystem-krc3a0yk.js → session-p4axgjrx.js} +3 -3
  178. package/dist/chunks/session-p95r15d0.js +26 -0
  179. package/dist/chunks/{filesystem-aqazz0j8.js → session-phh2jxgc.js} +24 -24
  180. package/dist/chunks/{filesystem-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
  181. package/dist/chunks/{filesystem-pknna89w.js → session-pknna89w.js} +1 -1
  182. package/dist/chunks/{filesystem-4c2dxef7.js → session-pt3kgsep.js} +16 -16
  183. package/dist/chunks/{filesystem-rkprpv83.js → session-py3kkmfq.js} +2 -2
  184. package/dist/chunks/{filesystem-q0xm7vwc.js → session-q0xm7vwc.js} +2 -2
  185. package/dist/chunks/{filesystem-nbkf97mm.js → session-q1q25w5f.js} +11 -10
  186. package/dist/chunks/{filesystem-09ygvw9n.js → session-q471zrbb.js} +13 -13
  187. package/dist/chunks/{filesystem-z541wn70.js → session-qay6e1k3.js} +11 -11
  188. package/dist/chunks/{filesystem-xf7aeygg.js → session-qdmec3sa.js} +26 -26
  189. package/dist/chunks/{filesystem-gveanz76.js → session-qg2am2x2.js} +17 -17
  190. package/dist/chunks/{filesystem-ft3hqk2c.js → session-qmqgtz8f.js} +9 -9
  191. package/dist/chunks/{filesystem-qnc92qwc.js → session-qnc92qwc.js} +1 -1
  192. package/dist/chunks/{filesystem-qsdy395h.js → session-qsdy395h.js} +1 -1
  193. package/dist/chunks/{filesystem-w3x9v1nk.js → session-qvb3nf84.js} +8 -8
  194. package/dist/chunks/{filesystem-3rj2b0mx.js → session-qx1x5y4w.js} +19 -19
  195. package/dist/chunks/{filesystem-kmpk7fbr.js → session-r30ybnhc.js} +20 -20
  196. package/dist/chunks/{filesystem-y5x50g1v.js → session-r6c4g9j7.js} +27 -27
  197. package/dist/chunks/{filesystem-rdw6cm16.js → session-rdw6cm16.js} +1 -1
  198. package/dist/chunks/{filesystem-vbk72xvh.js → session-rdyhns8s.js} +16 -16
  199. package/dist/chunks/{filesystem-tz35mf6x.js → session-re585wd9.js} +5 -5
  200. package/dist/chunks/{filesystem-tkb22qbm.js → session-rert0e01.js} +2 -2
  201. package/dist/chunks/{filesystem-tyts7tda.js → session-rf0t869z.js} +50 -50
  202. package/dist/chunks/{filesystem-ws0htp7c.js → session-rhgtm3m3.js} +13 -13
  203. package/dist/chunks/{filesystem-c41wscbt.js → session-rj3eygr5.js} +2 -2
  204. package/dist/chunks/{filesystem-7cjfetaf.js → session-rjq8wmvv.js} +11 -11
  205. package/dist/chunks/{filesystem-f33qb1th.js → session-rmcn0qdc.js} +9 -9
  206. package/dist/chunks/{filesystem-s9d98z9z.js → session-rqyybdzr.js} +66 -66
  207. package/dist/chunks/{filesystem-9h395ey8.js → session-rt41xb2s.js} +20 -20
  208. package/dist/chunks/{filesystem-ek1kdr8s.js → session-rtejm9b8.js} +28 -28
  209. package/dist/chunks/{filesystem-jvekf0st.js → session-rzrx55kw.js} +11 -11
  210. package/dist/chunks/{filesystem-y1zbefzb.js → session-s1q3btm1.js} +136 -136
  211. package/dist/chunks/{filesystem-7mwvqe74.js → session-s2bxjg32.js} +2 -2
  212. package/dist/chunks/{filesystem-vw83hb19.js → session-s67p7vzd.js} +3 -3
  213. package/dist/chunks/{filesystem-rhjbct0v.js → session-s8d7rejh.js} +4 -4
  214. package/dist/chunks/{filesystem-c8ax2afj.js → session-sa8ekw3f.js} +2 -2
  215. package/dist/chunks/{filesystem-scgrse2b.js → session-scgrse2b.js} +2 -2
  216. package/dist/chunks/{filesystem-6fnntsj1.js → session-sd5tc8cj.js} +16 -16
  217. package/dist/chunks/{filesystem-z7d7tagb.js → session-sfgj2n6v.js} +11 -11
  218. package/dist/chunks/{filesystem-hbn0bbep.js → session-sk4gr65e.js} +15 -15
  219. package/dist/chunks/{filesystem-cjb3hyea.js → session-sqgz40x9.js} +25 -25
  220. package/dist/chunks/{filesystem-syv4x271.js → session-syv4x271.js} +1 -1
  221. package/dist/chunks/{filesystem-9kg7wp4x.js → session-szaxeme5.js} +3 -3
  222. package/dist/chunks/{filesystem-hnb4yx9q.js → session-t01rafa4.js} +9 -9
  223. package/dist/chunks/{filesystem-pr4c8k5d.js → session-t607epbn.js} +31 -31
  224. package/dist/chunks/{filesystem-ng5df8nw.js → session-t9207qt4.js} +8 -8
  225. package/dist/chunks/{filesystem-hppj45g6.js → session-tav0v5x0.js} +24 -24
  226. package/dist/chunks/{filesystem-tazgh4e4.js → session-tazgh4e4.js} +1 -1
  227. package/dist/chunks/{filesystem-tcezcvh9.js → session-tcezcvh9.js} +1 -1
  228. package/dist/chunks/{filesystem-8pd28bjz.js → session-tcjsfwmh.js} +6 -6
  229. package/dist/chunks/{filesystem-tdstcens.js → session-tdstcens.js} +1 -1
  230. package/dist/chunks/{filesystem-zrdk58qt.js → session-thybpv9j.js} +4 -4
  231. package/dist/chunks/{filesystem-8rqycdgd.js → session-tkmwgdpd.js} +4 -4
  232. package/dist/chunks/{filesystem-tm0kqsz3.js → session-tm0kqsz3.js} +1 -1
  233. package/dist/chunks/{filesystem-tyytaxap.js → session-tyytaxap.js} +1 -1
  234. package/dist/chunks/{filesystem-v0es1rhs.js → session-v0es1rhs.js} +2 -2
  235. package/dist/chunks/{filesystem-2d8qmkmz.js → session-v403dvev.js} +13 -13
  236. package/dist/chunks/{filesystem-2t8rmdrh.js → session-v723md7e.js} +11 -11
  237. package/dist/chunks/{filesystem-v7p4zvkq.js → session-v7p4zvkq.js} +2 -2
  238. package/dist/chunks/{filesystem-nm4yzjmp.js → session-v98ywaqp.js} +5 -5
  239. package/dist/chunks/{filesystem-veqvce7d.js → session-veqvce7d.js} +1 -1
  240. package/dist/chunks/{filesystem-g5gnrdpy.js → session-vh2bspg5.js} +12 -12
  241. package/dist/chunks/{filesystem-hnh8n5n7.js → session-vk939yc6.js} +11 -11
  242. package/dist/chunks/{filesystem-66srcv4s.js → session-vwbsdgv4.js} +5 -5
  243. package/dist/chunks/{filesystem-vzs5sf6e.js → session-vzs5sf6e.js} +1 -1
  244. package/dist/chunks/{filesystem-hf1n9z3x.js → session-w2pfz1j8.js} +1 -1
  245. package/dist/chunks/{filesystem-rnwzxv10.js → session-w30ed5k8.js} +20 -20
  246. package/dist/chunks/{filesystem-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{filesystem-54s1q3kk.js → session-w5fd23ry.js} +15 -15
  248. package/dist/chunks/{filesystem-hk8fhejm.js → session-w77f4ykq.js} +23 -23
  249. package/dist/chunks/{filesystem-n9kc33re.js → session-wa8gcez1.js} +3 -3
  250. package/dist/chunks/{filesystem-wd87259q.js → session-wd87259q.js} +1 -1
  251. package/dist/chunks/{filesystem-k97zh3d1.js → session-wdm5vsp8.js} +8 -8
  252. package/dist/chunks/{filesystem-bw78ga2c.js → session-wjj7prxr.js} +9 -0
  253. package/dist/chunks/{filesystem-fmb6frcs.js → session-wr5bkt1h.js} +3 -3
  254. package/dist/chunks/{filesystem-cqwer3tv.js → session-wx0er8tn.js} +20 -20
  255. package/dist/chunks/{filesystem-w5yqftge.js → session-xcd0eash.js} +6 -6
  256. package/dist/chunks/{filesystem-p1ezge1v.js → session-xdrjsaej.js} +14 -14
  257. package/dist/chunks/{filesystem-drwq78ky.js → session-xfkkasph.js} +4 -4
  258. package/dist/chunks/{filesystem-n4fsvy2x.js → session-xnj8d380.js} +19 -19
  259. package/dist/chunks/{filesystem-3t90d3dy.js → session-xqehwtzm.js} +32 -32
  260. package/dist/chunks/{filesystem-mqq7cghv.js → session-xttt6d5y.js} +13 -13
  261. package/dist/chunks/{filesystem-2jjh643m.js → session-xxrr6fnc.js} +13 -11
  262. package/dist/chunks/{filesystem-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
  263. package/dist/chunks/{filesystem-y71avatq.js → session-y71avatq.js} +1 -1
  264. package/dist/chunks/{filesystem-29627893.js → session-ybf40sad.js} +8 -8
  265. package/dist/chunks/{filesystem-7w42pd46.js → session-ybyd9vnq.js} +9 -9
  266. package/dist/chunks/{filesystem-bx0gyb4h.js → session-ygdna4kr.js} +5 -5
  267. package/dist/chunks/{filesystem-cap0p8nj.js → session-yms8927v.js} +30 -30
  268. package/dist/chunks/{filesystem-f2n192rq.js → session-yp2x3t23.js} +4 -4
  269. package/dist/chunks/{filesystem-8cdcjcc6.js → session-yqgqkxj6.js} +8 -8
  270. package/dist/chunks/{filesystem-tmjqwtp5.js → session-yqn52tcg.js} +13 -13
  271. package/dist/chunks/{filesystem-ryep13dd.js → session-yr465mjt.js} +27 -27
  272. package/dist/chunks/{filesystem-hddh30xx.js → session-ysyrx2xr.js} +9 -9
  273. package/dist/chunks/{filesystem-77w66y0t.js → session-yw1k7cxs.js} +14 -14
  274. package/dist/chunks/{filesystem-b11b6prk.js → session-yxh2a7n7.js} +80 -80
  275. package/dist/chunks/{filesystem-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
  276. package/dist/chunks/{filesystem-fa4ww1ng.js → session-z3d2d40t.js} +9 -9
  277. package/dist/chunks/session-z3k5jeh7.js +253 -0
  278. package/dist/chunks/{filesystem-9s29ec0q.js → session-z7a0b01x.js} +9 -9
  279. package/dist/chunks/{filesystem-4g0yx14a.js → session-zaatzw7a.js} +10 -10
  280. package/dist/chunks/{filesystem-a5qtj7q6.js → session-zf868f97.js} +10 -10
  281. package/dist/chunks/{filesystem-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{filesystem-3sj8yt8v.js → session-zsr4wwhv.js} +4 -4
  283. package/dist/chunks/{filesystem-0hxnjnx8.js → session-zvmatp1s.js} +12 -12
  284. package/dist/chunks/{filesystem-zxq2ej10.js → session-zxq2ej10.js} +1 -1
  285. package/dist/codemode/catalog.js +1 -1
  286. package/dist/codemode/instructions.js +7 -7
  287. package/dist/codemode/tool.js +3 -3
  288. package/dist/codemode/web.js +1 -1
  289. package/dist/command.js +83 -83
  290. package/dist/config/discovery.js +84 -84
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +101 -101
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +207 -207
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/compatibility.js +136 -136
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +119 -119
  299. package/dist/config/plugin/image.js +118 -118
  300. package/dist/config/plugin/instruction.js +92 -92
  301. package/dist/config/plugin/location-watcher.js +118 -118
  302. package/dist/config/plugin/mcp.js +125 -125
  303. package/dist/config/plugin/policy.js +119 -119
  304. package/dist/config/plugin/provider.js +118 -118
  305. package/dist/config/plugin/reference.js +120 -120
  306. package/dist/config/plugin/shell.js +120 -120
  307. package/dist/config/plugin/skill-file.js +104 -104
  308. package/dist/config/plugin/skill.js +139 -139
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +119 -119
  311. package/dist/config/plugin/tool-output.js +119 -119
  312. package/dist/config/plugin/websearch.js +119 -119
  313. package/dist/config/plugin/worktree.js +120 -120
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +121 -121
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +85 -85
  319. package/dist/database/database.js +68 -68
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  384. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  385. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  386. package/dist/database/migration.gen.js +51 -51
  387. package/dist/database/migration.js +53 -53
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +78 -78
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +368 -368
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +95 -95
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +95 -95
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +3 -3
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +72 -72
  411. package/dist/file-access.js +106 -106
  412. package/dist/file-mutation.js +96 -96
  413. package/dist/file-retention.js +1 -1
  414. package/dist/filesystem/fff.bun.js +2 -2
  415. package/dist/filesystem/fff.js +1 -1
  416. package/dist/filesystem/fff.node.js +2 -2
  417. package/dist/filesystem/fff.workerd.js +2 -2
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +105 -105
  422. package/dist/filesystem/watcher-binding.js +1 -1
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +104 -104
  425. package/dist/form.js +82 -82
  426. package/dist/formatter/builtins.js +2 -2
  427. package/dist/formatter.js +89 -89
  428. package/dist/generate.js +101 -101
  429. package/dist/git.js +6 -6
  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 +93 -93
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +359 -359
  453. package/dist/instruction-discovery.js +85 -85
  454. package/dist/instructions/builtins.js +89 -89
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +79 -79
  458. package/dist/job.js +80 -80
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +75 -75
  461. package/dist/location-activity.js +133 -133
  462. package/dist/location-lifecycle.js +109 -109
  463. package/dist/location-service-map.js +88 -88
  464. package/dist/location-services.js +356 -356
  465. package/dist/location.js +83 -83
  466. package/dist/managed-policy.js +8 -8
  467. package/dist/mcp/client.js +93 -93
  468. package/dist/mcp/index.js +107 -107
  469. package/dist/mcp/instructions.js +129 -129
  470. package/dist/mcp/oauth.js +80 -80
  471. package/dist/mcp/stdio.js +92 -92
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +93 -93
  474. package/dist/model-resolver.js +100 -100
  475. package/dist/model.js +104 -104
  476. package/dist/models-dev.js +109 -109
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +82 -82
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +111 -111
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +88 -88
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +77 -77
  486. package/dist/plugin/agent.js +76 -76
  487. package/dist/plugin/command.js +102 -102
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/identity.js +3 -3
  491. package/dist/plugin/instance.js +5 -5
  492. package/dist/plugin/internal.js +331 -331
  493. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  494. package/dist/plugin/models-dev.js +98 -98
  495. package/dist/plugin/module.js +119 -119
  496. package/dist/plugin/optimize.js +2 -2
  497. package/dist/plugin/plan.js +104 -104
  498. package/dist/plugin/promise.js +1 -1
  499. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  500. package/dist/plugin/provider/azure.js +118 -118
  501. package/dist/plugin/provider/cerebras.js +1 -1
  502. package/dist/plugin/provider/chatgpt.js +118 -118
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/databricks.js +1 -1
  508. package/dist/plugin/provider/digitalocean.js +95 -95
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/github-copilot.js +97 -97
  512. package/dist/plugin/provider/gitlab.js +95 -95
  513. package/dist/plugin/provider/google-vertex.js +115 -115
  514. package/dist/plugin/provider/kilo.js +1 -1
  515. package/dist/plugin/provider/llmgateway.js +80 -80
  516. package/dist/plugin/provider/lmstudio.js +127 -127
  517. package/dist/plugin/provider/local.js +124 -124
  518. package/dist/plugin/provider/modal.js +94 -94
  519. package/dist/plugin/provider/neon.js +1 -1
  520. package/dist/plugin/provider/nvidia.js +1 -1
  521. package/dist/plugin/provider/ollama.js +127 -127
  522. package/dist/plugin/provider/openai.js +118 -118
  523. package/dist/plugin/provider/opencode.js +99 -99
  524. package/dist/plugin/provider/openrouter.js +93 -93
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +81 -81
  527. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  528. package/dist/plugin/provider/sap-ai-core.js +93 -93
  529. package/dist/plugin/provider/sdk-factory.js +1 -1
  530. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  531. package/dist/plugin/provider/vercel.js +92 -92
  532. package/dist/plugin/provider/vllm.js +127 -127
  533. package/dist/plugin/provider/xai.js +93 -93
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +169 -169
  536. package/dist/plugin/sdk.js +78 -78
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +132 -132
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +350 -350
  541. package/dist/plugin/tool-input-repair.js +4 -4
  542. package/dist/plugin/update.js +4 -4
  543. package/dist/plugin/vcs/git.js +88 -88
  544. package/dist/plugin/vcs/hg.js +88 -88
  545. package/dist/plugin/verbosity.js +93 -93
  546. package/dist/plugin/warming.js +116 -116
  547. package/dist/plugin/websearch/exa.js +5 -5
  548. package/dist/plugin/websearch/firecrawl.js +8 -8
  549. package/dist/plugin/websearch/index.js +9 -9
  550. package/dist/plugin/websearch/mcp.js +2 -2
  551. package/dist/plugin/websearch/parallel.js +8 -8
  552. package/dist/plugin/websearch/tavily.js +6 -6
  553. package/dist/plugin/websearch/tinyfish.js +8 -8
  554. package/dist/plugin.js +224 -224
  555. package/dist/project/schema.js +2 -2
  556. package/dist/project/sql.js +4 -4
  557. package/dist/project.js +82 -82
  558. package/dist/provider.js +91 -91
  559. package/dist/pty/protocol.js +1 -1
  560. package/dist/pty/ticket.js +1 -1
  561. package/dist/pty.js +99 -99
  562. package/dist/reference/instructions.js +87 -87
  563. package/dist/reference.js +89 -89
  564. package/dist/repository-cache.js +83 -83
  565. package/dist/repository.js +3 -3
  566. package/dist/ripgrep/binary.js +2 -2
  567. package/dist/ripgrep.js +97 -97
  568. package/dist/rpc.js +88 -88
  569. package/dist/schema.js +1 -1
  570. package/dist/session/affinity.js +1 -1
  571. package/dist/session/command.js +76 -76
  572. package/dist/session/compaction.js +135 -135
  573. package/dist/session/context.js +155 -155
  574. package/dist/session/diff.js +90 -90
  575. package/dist/session/environment.js +5 -5
  576. package/dist/session/error.js +5 -5
  577. package/dist/session/event.js +1 -1
  578. package/dist/session/execution/restart.js +216 -216
  579. package/dist/session/execution.js +127 -127
  580. package/dist/session/generate.js +154 -154
  581. package/dist/session/history.js +13 -13
  582. package/dist/session/inbox.js +88 -88
  583. package/dist/session/info.js +3 -3
  584. package/dist/session/instruction-entry.js +81 -81
  585. package/dist/session/instruction-state.js +8 -8
  586. package/dist/session/instructions.js +99 -99
  587. package/dist/session/message-updater.js +2 -2
  588. package/dist/session/message.js +1 -1
  589. package/dist/session/model-request.js +120 -120
  590. package/dist/session/model-transport.js +7 -7
  591. package/dist/session/move.js +131 -131
  592. package/dist/session/projector.js +88 -88
  593. package/dist/session/prompt.js +107 -107
  594. package/dist/session/provider-context.js +3 -3
  595. package/dist/session/revert.js +92 -92
  596. package/dist/session/run-coordinator.js +3 -3
  597. package/dist/session/runner/index.js +3 -3
  598. package/dist/session/runner/llm.js +226 -226
  599. package/dist/session/runner/max-steps.js +1 -1
  600. package/dist/session/runner/model.js +100 -100
  601. package/dist/session/runner/publish-llm-event.js +115 -115
  602. package/dist/session/runner/retry.js +2 -2
  603. package/dist/session/runner/step.js +127 -127
  604. package/dist/session/runner/to-llm-message.js +2 -2
  605. package/dist/session/schema.js +5 -5
  606. package/dist/session/session.js +164 -164
  607. package/dist/session/shell.js +132 -132
  608. package/dist/session/skill.js +105 -105
  609. package/dist/session/sql.js +5 -5
  610. package/dist/session/stats.js +75 -75
  611. package/dist/session/store.js +87 -87
  612. package/dist/session/subagent-completion.js +1 -1
  613. package/dist/session/subagent-job.js +207 -207
  614. package/dist/session/system-prompt.js +3 -3
  615. package/dist/session/title.js +159 -159
  616. package/dist/session/to-session-error.js +113 -113
  617. package/dist/session/transfer.js +209 -209
  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 +13 -13
  624. package/dist/shell.js +134 -134
  625. package/dist/skill/discovery.js +6 -6
  626. package/dist/skill/instructions.js +109 -109
  627. package/dist/skill.js +110 -110
  628. package/dist/snapshot.js +93 -93
  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 +130 -130
  633. package/dist/tool/plugin/edit.js +120 -120
  634. package/dist/tool/plugin/file-diff.js +1 -1
  635. package/dist/tool/plugin/glob.js +126 -126
  636. package/dist/tool/plugin/grep.js +124 -124
  637. package/dist/tool/plugin/mcp-resource.js +119 -119
  638. package/dist/tool/plugin/opencode.js +111 -111
  639. package/dist/tool/plugin/patch.js +122 -122
  640. package/dist/tool/plugin/question.js +107 -107
  641. package/dist/tool/plugin/read.js +125 -125
  642. package/dist/tool/plugin/shell.js +212 -212
  643. package/dist/tool/plugin/skill.js +113 -113
  644. package/dist/tool/plugin/subagent.js +212 -212
  645. package/dist/tool/plugin/webfetch.js +110 -110
  646. package/dist/tool/plugin/websearch.js +114 -114
  647. package/dist/tool/plugin/write.js +124 -124
  648. package/dist/tool/read-filesystem.js +102 -102
  649. package/dist/tool/runtime.js +1 -1
  650. package/dist/tool-output.js +7 -7
  651. package/dist/tool.js +14 -14
  652. package/dist/types/model.d.ts +3 -0
  653. package/dist/types/provider.d.ts +2 -0
  654. package/dist/util/error-summary.js +1 -1
  655. package/dist/util/error.js +1 -1
  656. package/dist/util/git-executable.js +2 -2
  657. package/dist/util/iife.js +1 -1
  658. package/dist/util/lazy.js +1 -1
  659. package/dist/util/slug.js +1 -1
  660. package/dist/util/token.js +1 -1
  661. package/dist/util/which.js +1 -1
  662. package/dist/util/wildcard.js +1 -1
  663. package/dist/v1/config/agent.js +3 -3
  664. package/dist/v1/config/command.js +3 -3
  665. package/dist/v1/config/error.js +2 -2
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +94 -94
  668. package/dist/v1/config/permission.js +1 -1
  669. package/dist/v1/config/plugin.js +1 -1
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/variant.js +93 -93
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +89 -89
  675. package/dist/websearch.js +86 -86
  676. package/dist/wellknown/plugin.js +78 -78
  677. package/dist/wellknown.js +83 -83
  678. package/dist/workspace/driver.js +7 -7
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +84 -84
  681. package/dist/worktree/directory.js +2 -2
  682. package/dist/worktree/git.js +10 -10
  683. package/dist/worktree/sql.js +5 -5
  684. package/dist/worktree/strategies.js +91 -91
  685. package/dist/worktree.js +98 -98
  686. package/package.json +8 -8
  687. package/dist/chunks/filesystem-18a9s3e7.js +0 -26
  688. package/dist/chunks/filesystem-hgn7cgj3.js +0 -253
  689. package/dist/chunks/filesystem-qc068m1q.js +0 -18
  690. /package/dist/chunks/{filesystem-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
  691. /package/dist/chunks/{filesystem-0zkw76rk.js → session-0zkw76rk.js} +0 -0
  692. /package/dist/chunks/{filesystem-17cy0kzp.js → session-17cy0kzp.js} +0 -0
  693. /package/dist/chunks/{filesystem-1cnp2v09.js → session-1cnp2v09.js} +0 -0
  694. /package/dist/chunks/{filesystem-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
  695. /package/dist/chunks/{filesystem-24dcb14g.js → session-24dcb14g.js} +0 -0
  696. /package/dist/chunks/{filesystem-2710q6r3.js → session-2710q6r3.js} +0 -0
  697. /package/dist/chunks/{filesystem-2axfhc9x.js → session-2axfhc9x.js} +0 -0
  698. /package/dist/chunks/{filesystem-2bv980vf.js → session-2bv980vf.js} +0 -0
  699. /package/dist/chunks/{filesystem-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{filesystem-359p4xyc.js → session-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{filesystem-3asan66x.js → session-3asan66x.js} +0 -0
  702. /package/dist/chunks/{filesystem-3t0ybcrp.js → session-3t0ybcrp.js} +0 -0
  703. /package/dist/chunks/{filesystem-3v8g72cx.js → session-3v8g72cx.js} +0 -0
  704. /package/dist/chunks/{filesystem-3wcehsnq.js → session-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{filesystem-43n2bw4t.js → session-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{filesystem-4knz6hnm.js → session-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{filesystem-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
  708. /package/dist/chunks/{filesystem-4y7fprxs.js → session-4y7fprxs.js} +0 -0
  709. /package/dist/chunks/{filesystem-53557ph1.js → session-53557ph1.js} +0 -0
  710. /package/dist/chunks/{filesystem-550bvhaj.js → session-550bvhaj.js} +0 -0
  711. /package/dist/chunks/{filesystem-5qd3pb7m.js → session-5qd3pb7m.js} +0 -0
  712. /package/dist/chunks/{filesystem-6prwharc.js → session-6prwharc.js} +0 -0
  713. /package/dist/chunks/{filesystem-6q2bdcd1.js → session-6q2bdcd1.js} +0 -0
  714. /package/dist/chunks/{filesystem-7akdwqpd.js → session-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{filesystem-7m9af43g.js → session-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{filesystem-822emrt2.js → session-822emrt2.js} +0 -0
  717. /package/dist/chunks/{filesystem-84wd9syh.js → session-84wd9syh.js} +0 -0
  718. /package/dist/chunks/{filesystem-88xbtdfr.js → session-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{filesystem-8n3pysct.js → session-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{filesystem-8wj87zfr.js → session-8wj87zfr.js} +0 -0
  721. /package/dist/chunks/{filesystem-9a4afbnw.js → session-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{filesystem-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{filesystem-a6k6eb26.js → session-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{filesystem-af5trqkr.js → session-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{filesystem-afrmfg78.js → session-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{filesystem-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{filesystem-atq7p7m5.js → session-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{filesystem-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{filesystem-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{filesystem-cf4snx6d.js → session-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{filesystem-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{filesystem-d9fn303g.js → session-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{filesystem-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{filesystem-dajrwvna.js → session-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{filesystem-dap0rakb.js → session-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{filesystem-df08tz66.js → session-df08tz66.js} +0 -0
  737. /package/dist/chunks/{filesystem-dy18nga0.js → session-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{filesystem-e5kj55wp.js → session-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{filesystem-e73j6tqm.js → session-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{filesystem-ec1grn59.js → session-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{filesystem-eh3zwz77.js → session-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{filesystem-emrn6kk6.js → session-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{filesystem-f0mxakyp.js → session-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{filesystem-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{filesystem-faypxj3z.js → session-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{filesystem-fd410y7t.js → session-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{filesystem-g4wezp1m.js → session-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{filesystem-g86h250q.js → session-g86h250q.js} +0 -0
  749. /package/dist/chunks/{filesystem-gebd4c9n.js → session-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{filesystem-gftt206x.js → session-gftt206x.js} +0 -0
  751. /package/dist/chunks/{filesystem-hcxmzztb.js → session-hcxmzztb.js} +0 -0
  752. /package/dist/chunks/{filesystem-hk9envan.js → session-hk9envan.js} +0 -0
  753. /package/dist/chunks/{filesystem-j2ntwpah.js → session-j2ntwpah.js} +0 -0
  754. /package/dist/chunks/{filesystem-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
  755. /package/dist/chunks/{filesystem-jjkms2e6.js → session-jjkms2e6.js} +0 -0
  756. /package/dist/chunks/{filesystem-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{filesystem-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{filesystem-jze0r7bz.js → session-jze0r7bz.js} +0 -0
  759. /package/dist/chunks/{filesystem-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{filesystem-m18g726c.js → session-m18g726c.js} +0 -0
  761. /package/dist/chunks/{filesystem-mp448xyj.js → session-mp448xyj.js} +0 -0
  762. /package/dist/chunks/{filesystem-msx8hqn2.js → session-msx8hqn2.js} +0 -0
  763. /package/dist/chunks/{filesystem-n05xt0ee.js → session-n05xt0ee.js} +0 -0
  764. /package/dist/chunks/{filesystem-n3j8tn72.js → session-n3j8tn72.js} +0 -0
  765. /package/dist/chunks/{filesystem-njntx4h6.js → session-njntx4h6.js} +0 -0
  766. /package/dist/chunks/{filesystem-pkyv6v7h.js → session-pkyv6v7h.js} +0 -0
  767. /package/dist/chunks/{filesystem-pyv0edze.js → session-pyv0edze.js} +0 -0
  768. /package/dist/chunks/{filesystem-q3sfg36h.js → session-q3sfg36h.js} +0 -0
  769. /package/dist/chunks/{filesystem-q74kybfr.js → session-q74kybfr.js} +0 -0
  770. /package/dist/chunks/{filesystem-qaymkmh1.js → session-qaymkmh1.js} +0 -0
  771. /package/dist/chunks/{filesystem-qb87gjwd.js → session-qb87gjwd.js} +0 -0
  772. /package/dist/chunks/{filesystem-qfa1cgps.js → session-qfa1cgps.js} +0 -0
  773. /package/dist/chunks/{filesystem-qg3g05ea.js → session-qg3g05ea.js} +0 -0
  774. /package/dist/chunks/{filesystem-qrg20bc0.js → session-qrg20bc0.js} +0 -0
  775. /package/dist/chunks/{filesystem-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
  776. /package/dist/chunks/{filesystem-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
  777. /package/dist/chunks/{filesystem-ssg3fenm.js → session-ssg3fenm.js} +0 -0
  778. /package/dist/chunks/{filesystem-ve7vex1e.js → session-ve7vex1e.js} +0 -0
  779. /package/dist/chunks/{filesystem-w803qqfp.js → session-w803qqfp.js} +0 -0
  780. /package/dist/chunks/{filesystem-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
  781. /package/dist/chunks/{filesystem-wer8tq1h.js → session-wer8tq1h.js} +0 -0
  782. /package/dist/chunks/{filesystem-wtztk69x.js → session-wtztk69x.js} +0 -0
  783. /package/dist/chunks/{filesystem-x0ckcb58.js → session-x0ckcb58.js} +0 -0
  784. /package/dist/chunks/{filesystem-x61499pn.js → session-x61499pn.js} +0 -0
  785. /package/dist/chunks/{filesystem-y44na4kk.js → session-y44na4kk.js} +0 -0
  786. /package/dist/chunks/{filesystem-y8f7s663.js → session-y8f7s663.js} +0 -0
  787. /package/dist/chunks/{filesystem-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
  788. /package/dist/chunks/{filesystem-ym463w8f.js → session-ym463w8f.js} +0 -0
  789. /package/dist/chunks/{filesystem-z5v4ffb3.js → session-z5v4ffb3.js} +0 -0
  790. /package/dist/chunks/{filesystem-z9919s4g.js → session-z9919s4g.js} +0 -0
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./filesystem-hgz4x7wa.js";
3
+ } from "./session-hgz4x7wa.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./filesystem-z5v4ffb3.js";
6
+ } from "./session-z5v4ffb3.js";
7
7
  import {
8
8
  Service81
9
- } from "./filesystem-53rak1ew.js";
9
+ } from "./session-4ft2z4en.js";
10
10
  import {
11
- Service73
12
- } from "./filesystem-faat08va.js";
11
+ Service57
12
+ } from "./session-71tyj26k.js";
13
13
  import {
14
- Service22
15
- } from "./filesystem-p1ezge1v.js";
14
+ Service26
15
+ } from "./session-xdrjsaej.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry2
21
- } from "./filesystem-ryep13dd.js";
21
+ } from "./session-yr465mjt.js";
22
22
  import {
23
- Service59
24
- } from "./filesystem-q0zsatc3.js";
23
+ Service68
24
+ } from "./session-nnz30g4e.js";
25
25
  import {
26
- Service18
27
- } from "./filesystem-rb70syh1.js";
26
+ Service14
27
+ } from "./session-0fp83ztc.js";
28
28
  import {
29
29
  __export
30
- } from "./filesystem-9rqn6x4v.js";
30
+ } from "./session-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input3,
37
- Output: () => Output2,
38
- Plugin: () => Plugin20,
39
- name: () => name3,
40
- toModelContent: () => toModelContent2
36
+ Input: () => Input12,
37
+ Output: () => Output8,
38
+ Plugin: () => Plugin49,
39
+ name: () => name12,
40
+ toModelContent: () => toModelContent6
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name3 = "glob";
46
- var Input3 = Schema.Struct({
45
+ var name12 = "glob";
46
+ var Input12 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input3 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output2 = Schema.Array(Entry2);
59
- var toModelContent2 = (entries, truncated = false) => {
58
+ var Output8 = Schema.Array(Entry2);
59
+ var toModelContent6 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin20 = {
66
+ var Plugin49 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service73;
70
- const ripgrep = yield* Service22;
69
+ const environment = yield* Service57;
70
+ const ripgrep = yield* Service26;
71
71
  const location = yield* Service81;
72
- const access = yield* Service18;
73
- const permission = yield* Service59;
72
+ const access = yield* Service14;
73
+ const permission = yield* Service68;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name3,
75
+ name: name12,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input3,
79
- output: Output2,
78
+ input: Input12,
79
+ output: Output8,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name3,
86
+ action: name12,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin20 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent2(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent6(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name3, Input3, Output2, toModelContent2, Plugin20, exports_glob };
128
+ export { name12, Input12, Output8, toModelContent6, Plugin49, exports_glob };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service58,
3
- node60
4
- } from "./filesystem-c1pk8j7t.js";
2
+ Service54,
3
+ node56
4
+ } from "./session-d3zasq0v.js";
5
5
  import {
6
- Service26,
7
- node29
8
- } from "./filesystem-4c0s820n.js";
6
+ Service29,
7
+ node32
8
+ } from "./session-htk3m3af.js";
9
9
  import {
10
10
  text2,
11
11
  deliver2
12
- } from "./filesystem-6xb47vfp.js";
12
+ } from "./session-6xb47vfp.js";
13
13
  import {
14
14
  __export
15
- } from "./filesystem-9rqn6x4v.js";
15
+ } from "./session-9rqn6x4v.js";
16
16
 
17
17
  // src/session/subagent-job.ts
18
18
  var exports_subagent_job = {};
19
19
  __export(exports_subagent_job, {
20
- Service: () => Service8,
20
+ Service: () => Service10,
21
21
  SubagentJob: () => exports_subagent_job,
22
- node: () => node10
22
+ node: () => node12
23
23
  });
24
24
  import { Context, Effect, Layer, Scope } from "effect";
25
25
  import { Node } from "@opencode/util/effect/app-node";
26
- class Service8 extends Context.Service()("@opencode/SubagentJob") {
26
+ class Service10 extends Context.Service()("@opencode/SubagentJob") {
27
27
  }
28
28
  var make = Effect.gen(function* () {
29
- const sessions = yield* Service26;
30
- const jobs = yield* Service58;
29
+ const sessions = yield* Service29;
30
+ const jobs = yield* Service54;
31
31
  const scope = yield* Scope.Scope;
32
32
  const context = yield* Effect.context();
33
33
  const notifications = new Set;
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
42
42
  yield* deliver2(sessions, jobs, { ...info, recovery });
43
43
  }).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
44
44
  });
45
- return Service8.of({
45
+ return Service10.of({
46
46
  start: (recovery) => jobs.start({
47
47
  id: recovery.childSessionID,
48
48
  type: "subagent",
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
64
64
  notify
65
65
  });
66
66
  });
67
- var node10 = Node.makeGlobalNode({
68
- service: Service8,
69
- layer: Layer.effect(Service8, make),
70
- deps: [node29, node60]
67
+ var node12 = Node.makeGlobalNode({
68
+ service: Service10,
69
+ layer: Layer.effect(Service10, make),
70
+ deps: [node32, node56]
71
71
  });
72
72
 
73
- export { Service8, node10, exports_subagent_job };
73
+ export { Service10, node12, exports_subagent_job };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service3,
9
+ Service: () => Service4,
10
10
  bound: () => bound2,
11
- node: () => node4
11
+ node: () => node6
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service3 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service4 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node4 = makeLocationNode({
19
- service: Service3,
18
+ var node6 = makeLocationNode({
19
+ service: Service4,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service3, Service3.of({ all: () => stamped }));
29
+ return Layer.succeed(Service4, Service4.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service3, node4, bound2, exports_instance2 };
32
+ export { Service4, node6, bound2, exports_instance2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/app.ts
6
6
  var exports_app = {};
@@ -8,17 +8,17 @@ __export(exports_app, {
8
8
  App: () => exports_app,
9
9
  Metadata: () => Metadata2,
10
10
  configured: () => configured9,
11
- layer: () => layer25,
12
- make: () => make18,
13
- node: () => node68,
11
+ layer: () => layer23,
12
+ make: () => make19,
13
+ node: () => node58,
14
14
  useragent: () => useragent2
15
15
  });
16
16
  import { Context, Layer } from "effect";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var Metadata2 = Context.Reference("@opencode/App", {
19
- defaultValue: () => make18()
19
+ defaultValue: () => make19()
20
20
  });
21
- function make18(input = {}) {
21
+ function make19(input = {}) {
22
22
  return {
23
23
  name: input.name ?? "opencode",
24
24
  version: input.version ?? "unknown",
@@ -28,8 +28,8 @@ function make18(input = {}) {
28
28
  function useragent2(app) {
29
29
  return `opencode/${app.channel}/${app.version}/${app.name}`;
30
30
  }
31
- var layer25 = (input) => Layer.succeed(Metadata2, make18(input));
32
- var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer25(input), deps: [] });
33
- var node68 = configured9();
31
+ var layer23 = (input) => Layer.succeed(Metadata2, make19(input));
32
+ var configured9 = (input) => makeGlobalNode({ service: Metadata2, layer: layer23(input), deps: [] });
33
+ var node58 = configured9();
34
34
 
35
- export { Metadata2, make18, useragent2, layer25, configured9, node68, exports_app };
35
+ export { Metadata2, make19, useragent2, layer23, configured9, node58, exports_app };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  useragent2
3
- } from "./filesystem-thnax083.js";
3
+ } from "./session-5yq05tt0.js";
4
4
  import {
5
5
  Service84
6
- } from "./filesystem-zrdk58qt.js";
6
+ } from "./session-thybpv9j.js";
7
7
  import {
8
8
  OAuth3,
9
- Event20
10
- } from "./filesystem-ek1kdr8s.js";
9
+ Event19
10
+ } from "./session-rtejm9b8.js";
11
11
  import {
12
12
  ID14,
13
13
  MethodID2
14
- } from "./filesystem-p42kja40.js";
14
+ } from "./session-g3s1jevv.js";
15
15
  import {
16
16
  ID13
17
- } from "./filesystem-zmdnfm9g.js";
17
+ } from "./session-1pch4wmh.js";
18
18
  import {
19
- ID10,
19
+ ID12,
20
20
  Family2
21
- } from "./filesystem-6ygttn8c.js";
21
+ } from "./session-cevz5b4v.js";
22
22
  import {
23
23
  bootstrap2
24
- } from "./filesystem-pjvnvgmy.js";
24
+ } from "./session-pjvnvgmy.js";
25
25
 
26
26
  // src/plugin/provider/digitalocean.ts
27
27
  import { define } from "@opencode/plugin/effect/plugin";
@@ -148,7 +148,7 @@ var DigitalOceanPlugin2 = define({
148
148
  return;
149
149
  for (const router of loaded.routers) {
150
150
  const id = `router:${router.name}`;
151
- if (evt.get(providerID)?.models.has(ID10.make(id)))
151
+ if (evt.get(providerID)?.models.has(ID12.make(id)))
152
152
  continue;
153
153
  evt.models.update(providerID, id, (draft) => {
154
154
  draft.name = router.name;
@@ -159,7 +159,7 @@ var DigitalOceanPlugin2 = define({
159
159
  }
160
160
  });
161
161
  const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
162
- yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
162
+ yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
163
163
  yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
164
164
  })
165
165
  });
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  PATCH_CONTEXT_LINES2
3
- } from "./filesystem-tazgh4e4.js";
3
+ } from "./session-tazgh4e4.js";
4
4
  import {
5
- ID4,
6
- Service39
7
- } from "./filesystem-a78v4ve5.js";
5
+ ID6,
6
+ Service55
7
+ } from "./session-hd6606c8.js";
8
8
  import {
9
9
  SessionSchema2
10
- } from "./filesystem-m5jcjszt.js";
10
+ } from "./session-my4zabxr.js";
11
11
  import {
12
12
  MessageNotFoundError2
13
- } from "./filesystem-z2jd07rd.js";
13
+ } from "./session-1gpb38yh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./filesystem-es1vcfrp.js";
16
+ } from "./session-c1fqxshp.js";
17
17
  import {
18
18
  __export
19
- } from "./filesystem-9rqn6x4v.js";
19
+ } from "./session-9rqn6x4v.js";
20
20
 
21
21
  // src/session/diff.ts
22
22
  var exports_diff = {};
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
81
81
  const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
82
82
  const recorded = steps.findLast((step) => step.end)?.end;
83
83
  return yield* Effect.gen(function* () {
84
- const snapshot = yield* Service39;
84
+ const snapshot = yield* Service55;
85
85
  const running = input.active && final.completed === null;
86
86
  const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
87
87
  if (!to)
88
88
  return [];
89
89
  return yield* snapshot.diff({
90
- from: ID4.make(from),
91
- to: ID4.make(to),
90
+ from: ID6.make(from),
91
+ to: ID6.make(to),
92
92
  context: input.context ?? PATCH_CONTEXT_LINES2
93
93
  });
94
94
  }).pipe(Effect.provide(locations.get(location)));
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  Service84
3
- } from "./filesystem-zrdk58qt.js";
3
+ } from "./session-thybpv9j.js";
4
4
  import {
5
- ID16,
6
- Event20,
7
- Service80
8
- } from "./filesystem-ek1kdr8s.js";
5
+ ID15,
6
+ Event19,
7
+ Service79
8
+ } from "./session-rtejm9b8.js";
9
9
  import {
10
10
  ID13
11
- } from "./filesystem-zmdnfm9g.js";
11
+ } from "./session-1pch4wmh.js";
12
12
  import {
13
13
  configuredSettings2
14
- } from "./filesystem-d47p0dev.js";
14
+ } from "./session-mmncfjgd.js";
15
15
 
16
16
  // src/plugin/provider/google-vertex.ts
17
17
  import { Effect, Option, Schema, Stream } from "effect";
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
41
41
  id: "opencode.provider.google.vertex",
42
42
  effect: Effect.fn(function* (ctx) {
43
43
  const fs = yield* FSUtil.Service;
44
- const credentials = yield* Service80;
44
+ const credentials = yield* Service79;
45
45
  const bus = yield* Service84;
46
46
  const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
47
47
  return;
@@ -66,7 +66,7 @@ var GoogleVertexPlugin2 = define({
66
66
  ]));
67
67
  const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
68
68
  const connection = yield* ctx.integration.connection.active(ID13.googleVertex);
69
- const stored = connection?.type === "credential" ? yield* credentials.get(ID16.make(connection.id)) : undefined;
69
+ const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
70
70
  if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
71
71
  return {};
72
72
  return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
156
156
  }
157
157
  }
158
158
  });
159
- yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
159
+ yield* bus.subscribe([Event19.Updated, Event19.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
160
160
  const next = yield* load();
161
161
  if (JSON.stringify(next) === JSON.stringify(selected.settings))
162
162
  return;
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Service84,
3
3
  node88
4
- } from "./filesystem-zrdk58qt.js";
4
+ } from "./session-thybpv9j.js";
5
5
  import {
6
6
  PATCH_CONTEXT_LINES2,
7
7
  MAX_TOTAL_PATCH_BYTES2,
8
8
  emptyPatch2
9
- } from "./filesystem-tazgh4e4.js";
9
+ } from "./session-tazgh4e4.js";
10
10
  import {
11
11
  root2
12
- } from "./filesystem-rjtxxem0.js";
12
+ } from "./session-ctvxfrcv.js";
13
13
  import {
14
14
  Service81,
15
15
  node85
16
- } from "./filesystem-53rak1ew.js";
16
+ } from "./session-4ft2z4en.js";
17
17
  import {
18
18
  reconcile2,
19
19
  create3
20
- } from "./filesystem-rdw6cm16.js";
20
+ } from "./session-rdw6cm16.js";
21
21
  import {
22
22
  __export
23
- } from "./filesystem-9rqn6x4v.js";
23
+ } from "./session-9rqn6x4v.js";
24
24
 
25
25
  // src/vcs.ts
26
26
  var exports_vcs = {};
@@ -32,9 +32,9 @@ __export(exports_vcs, {
32
32
  Info: () => Info4,
33
33
  InitializeError: () => InitializeError2,
34
34
  Mode: () => Mode2,
35
- Service: () => Service24,
35
+ Service: () => Service25,
36
36
  Vcs: () => exports_vcs,
37
- node: () => node27
37
+ node: () => node28
38
38
  });
39
39
  import path from "path";
40
40
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
@@ -54,9 +54,9 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
54
54
  }) {
55
55
  }
56
56
 
57
- class Service24 extends Context.Service()("@opencode/Vcs") {
57
+ class Service25 extends Context.Service()("@opencode/Vcs") {
58
58
  }
59
- var layer = Layer.effect(Service24, Effect.gen(function* () {
59
+ var layer = Layer.effect(Service25, Effect.gen(function* () {
60
60
  const fs = yield* FSUtil.Service;
61
61
  const location = yield* Service81;
62
62
  const bus = yield* Service84;
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
129
129
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
130
130
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
131
131
  }
132
- return Service24.of({
132
+ return Service25.of({
133
133
  transform: state.transform,
134
134
  reload: state.reload,
135
135
  initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
187
187
  })
188
188
  });
189
189
  }));
190
- var node27 = makeLocationNode({
191
- service: Service24,
190
+ var node28 = makeLocationNode({
191
+ service: Service25,
192
192
  layer,
193
193
  deps: [FSUtil.node, node85, node88]
194
194
  });
195
195
 
196
- export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service24, node27, exports_vcs };
196
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, InitializeError2, Service25, node28, exports_vcs };
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  RelativePath2
3
- } from "./filesystem-z5v4ffb3.js";
3
+ } from "./session-z5v4ffb3.js";
4
4
  import {
5
5
  Service81,
6
6
  node85
7
- } from "./filesystem-53rak1ew.js";
7
+ } from "./session-4ft2z4en.js";
8
8
  import {
9
- Service22,
10
- node24
11
- } from "./filesystem-p1ezge1v.js";
9
+ Service26,
10
+ node29
11
+ } from "./session-xdrjsaej.js";
12
12
  import {
13
13
  isHome2,
14
14
  names3
15
- } from "./filesystem-tcezcvh9.js";
15
+ } from "./session-tcezcvh9.js";
16
16
  import {
17
17
  __export
18
- } from "./filesystem-9rqn6x4v.js";
18
+ } from "./session-9rqn6x4v.js";
19
19
 
20
20
  // src/filesystem/search.ts
21
21
  var exports_search = {};
22
22
  __export(exports_search, {
23
23
  FileSystemSearch: () => exports_search,
24
- Options: () => Options3,
25
- Service: () => Service21,
26
- configured: () => configured3,
24
+ Options: () => Options2,
25
+ Service: () => Service17,
26
+ configured: () => configured2,
27
27
  fffLayer: () => fffLayer2,
28
- layer: () => layer11,
29
- node: () => node23,
28
+ layer: () => layer9,
29
+ node: () => node19,
30
30
  ripgrepLayer: () => ripgrepLayer2
31
31
  });
32
32
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
35
35
  import { Fff } from "#fff";
36
36
  import fuzzysort from "fuzzysort";
37
37
  import { FileSystem } from "@opencode/schema/filesystem";
38
- var Options3 = Schema.Struct({
38
+ var Options2 = Schema.Struct({
39
39
  fff: Schema.optional(Schema.Boolean)
40
40
  });
41
41
 
42
- class Service21 extends Context.Service()("@opencode/FileSystem/Search") {
42
+ class Service17 extends Context.Service()("@opencode/FileSystem/Search") {
43
43
  }
44
44
  var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
45
45
  function emptyIndex() {
@@ -58,9 +58,9 @@ function search(index, input) {
58
58
  });
59
59
  });
60
60
  }
61
- var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
61
+ var ripgrepLayer2 = Layer.effect(Service17, Effect.gen(function* () {
62
62
  const location = yield* Service81;
63
- const ripgrep = yield* Service22;
63
+ const ripgrep = yield* Service26;
64
64
  const scope = yield* Scope.Scope;
65
65
  const clock = yield* Clock.Clock;
66
66
  const home = isHome2(location.directory);
@@ -105,14 +105,14 @@ var ripgrepLayer2 = Layer.effect(Service21, Effect.gen(function* () {
105
105
  Deferred.doneUnsafe(attempt, exit);
106
106
  })), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
107
107
  });
108
- return Service21.of({
108
+ return Service17.of({
109
109
  find: (input) => Effect.gen(function* () {
110
110
  yield* refresh;
111
111
  return search(index, input);
112
112
  })
113
113
  });
114
114
  }));
115
- var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
115
+ var fffLayer2 = Layer.effect(Service17, Effect.gen(function* () {
116
116
  const location = yield* Service81;
117
117
  const result = yield* Effect.try({
118
118
  try: () => Fff.create({
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
126
126
  if (!result?.ok) {
127
127
  if (result)
128
128
  yield* Effect.logWarning("failed to initialize fff", { error: result.error });
129
- return Service21.of({
129
+ return Service17.of({
130
130
  find: () => Effect.succeed([])
131
131
  });
132
132
  }
133
133
  yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
134
- return Service21.of({
134
+ return Service17.of({
135
135
  find: (input) => Effect.sync(() => {
136
136
  const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
137
137
  const items = (() => {
@@ -174,7 +174,7 @@ var fffLayer2 = Layer.effect(Service21, Effect.gen(function* () {
174
174
  })
175
175
  });
176
176
  }));
177
- var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
177
+ var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
178
178
  const location = yield* Service81;
179
179
  if (location.workspaceID)
180
180
  return ripgrepLayer2;
@@ -182,9 +182,9 @@ var layer11 = (options) => Layer.unwrap(Effect.gen(function* () {
182
182
  return ripgrepLayer2;
183
183
  return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
184
184
  }));
185
- function configured3(options) {
186
- return makeLocationNode({ service: Service21, layer: layer11(options), deps: [node85, node24] });
185
+ function configured2(options) {
186
+ return makeLocationNode({ service: Service17, layer: layer9(options), deps: [node85, node29] });
187
187
  }
188
- var node23 = configured3();
188
+ var node19 = configured2();
189
189
 
190
- export { Options3, Service21, ripgrepLayer2, fffLayer2, layer11, configured3, node23, exports_search };
190
+ export { Options2, Service17, ripgrepLayer2, fffLayer2, layer9, configured2, node19, exports_search };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./filesystem-9rqn6x4v.js";
3
+ } from "./session-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};