@opencode/core 0.0.0-dev-21026 → 0.0.0-dev-21031

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (789) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  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 +75 -75
  7. package/dist/chunks/{model-wmcaf8ca.js → models-dev-02nvsyaz.js} +31 -31
  8. package/dist/chunks/{model-0b5g1ynf.js → models-dev-0b5g1ynf.js} +4 -4
  9. package/dist/chunks/{model-5m24e1bs.js → models-dev-0c42kaf7.js} +29 -29
  10. package/dist/chunks/{model-qq8gj99e.js → models-dev-0em4fyfa.js} +18 -18
  11. package/dist/chunks/{model-43xeh9aq.js → models-dev-0f59me08.js} +4 -4
  12. package/dist/chunks/{model-f2dsq0sx.js → models-dev-0m17z5gy.js} +32 -32
  13. package/dist/chunks/{model-xbnpeec3.js → models-dev-0rh6kept.js} +34 -34
  14. package/dist/chunks/{model-0vbcp93d.js → models-dev-0vbcp93d.js} +2 -2
  15. package/dist/chunks/{model-wp97teag.js → models-dev-0y07nzjf.js} +17 -17
  16. package/dist/chunks/{model-y6cwq76b.js → models-dev-0y71xcgt.js} +11 -11
  17. package/dist/chunks/{model-40sbw5pj.js → models-dev-1casa0jm.js} +36 -36
  18. package/dist/chunks/{model-g5y76h12.js → models-dev-1hrhxdga.js} +33 -33
  19. package/dist/chunks/{model-nym9wyb3.js → models-dev-210p74nv.js} +6 -6
  20. package/dist/chunks/{model-8ng4acg9.js → models-dev-2276p8c4.js} +6 -6
  21. package/dist/chunks/{model-8x2j076n.js → models-dev-25fv0sh8.js} +43 -43
  22. package/dist/chunks/{model-y8zy7amg.js → models-dev-29a9xv62.js} +16 -16
  23. package/dist/chunks/{model-stpcs325.js → models-dev-29j702b9.js} +8 -8
  24. package/dist/chunks/{model-jhr8jnrw.js → models-dev-2ck0c8kx.js} +13 -13
  25. package/dist/chunks/{model-yg62bcth.js → models-dev-2fqna6rb.js} +11 -11
  26. package/dist/chunks/{model-mp3rbb49.js → models-dev-2r93mh4x.js} +12 -12
  27. package/dist/chunks/{model-t2az9yje.js → models-dev-2vs2nh1n.js} +4 -4
  28. package/dist/chunks/{model-3fc6dm20.js → models-dev-3fc6dm20.js} +1 -1
  29. package/dist/chunks/{model-kfrz2jxp.js → models-dev-3h4xk2vm.js} +5 -5
  30. package/dist/chunks/{model-3hepkmqq.js → models-dev-3hepkmqq.js} +1 -1
  31. package/dist/chunks/{model-3hwn7j4h.js → models-dev-3hwn7j4h.js} +2 -2
  32. package/dist/chunks/models-dev-3kcvskkf.js +253 -0
  33. package/dist/chunks/{model-8hdm4x97.js → models-dev-3ncgdam6.js} +8 -8
  34. package/dist/chunks/{model-3smtnn6g.js → models-dev-3smtnn6g.js} +1 -1
  35. package/dist/chunks/{model-3tvqynh2.js → models-dev-3tvqynh2.js} +1 -1
  36. package/dist/chunks/{model-w4j701p4.js → models-dev-3wrgjec0.js} +8 -8
  37. package/dist/chunks/{model-3zsf4n22.js → models-dev-3zsf4n22.js} +1 -1
  38. package/dist/chunks/{model-q9z6c42s.js → models-dev-40n9tj9j.js} +9 -9
  39. package/dist/chunks/{model-fd5g32kx.js → models-dev-44jskavf.js} +3 -3
  40. package/dist/chunks/{model-40fe41y2.js → models-dev-44srevkf.js} +36 -36
  41. package/dist/chunks/{model-7cmh32yw.js → models-dev-44yp3zsh.js} +23 -23
  42. package/dist/chunks/{model-q8smq9rm.js → models-dev-4cvx3zk0.js} +29 -29
  43. package/dist/chunks/{model-r7wmahnz.js → models-dev-4hxzsgfg.js} +26 -26
  44. package/dist/chunks/{model-9ae44cfy.js → models-dev-4mwpykj0.js} +6 -6
  45. package/dist/chunks/{model-77bypgyx.js → models-dev-4qbwh2bz.js} +5 -5
  46. package/dist/chunks/{model-tbkx8g7m.js → models-dev-4ra7p95s.js} +9 -9
  47. package/dist/chunks/{model-p1pg3s4t.js → models-dev-4scwjggb.js} +24 -24
  48. package/dist/chunks/models-dev-51dbsqvm.js +513 -0
  49. package/dist/chunks/{model-xfrnbqxb.js → models-dev-53fe0j6w.js} +7 -7
  50. package/dist/chunks/{model-r94pvvab.js → models-dev-54ma36ye.js} +4 -4
  51. package/dist/chunks/{model-gb2d0a3q.js → models-dev-58sqdaj5.js} +39 -39
  52. package/dist/chunks/{model-yhtxwa5q.js → models-dev-5ctnpzg2.js} +13 -13
  53. package/dist/chunks/{model-5gagafpw.js → models-dev-5f33wg9g.js} +8 -8
  54. package/dist/chunks/{model-5m9w47nd.js → models-dev-5m9w47nd.js} +1 -1
  55. package/dist/chunks/{model-p37cw4rj.js → models-dev-5yzzbxa7.js} +8 -8
  56. package/dist/chunks/{model-0g9exnkr.js → models-dev-687qtk6p.js} +11 -11
  57. package/dist/chunks/{model-wt6b9xn1.js → models-dev-6dtqrqs2.js} +5 -5
  58. package/dist/chunks/{model-e9ap395p.js → models-dev-6dz7t284.js} +21 -21
  59. package/dist/chunks/{model-b096sb2f.js → models-dev-6e10nwxv.js} +13 -13
  60. package/dist/chunks/{model-fdms3n6w.js → models-dev-6hjx5zpb.js} +9 -9
  61. package/dist/chunks/{model-rkprpv83.js → models-dev-6pc27hjz.js} +6 -6
  62. package/dist/chunks/{model-6xb47vfp.js → models-dev-6xb47vfp.js} +1 -1
  63. package/dist/chunks/{model-3mvas6ge.js → models-dev-6zga407v.js} +5 -5
  64. package/dist/chunks/{model-n52gv0t2.js → models-dev-772df2t2.js} +23 -23
  65. package/dist/chunks/{model-775gj3j1.js → models-dev-775gj3j1.js} +2 -2
  66. package/dist/chunks/{model-d7bz7cyc.js → models-dev-7awn1eca.js} +87 -87
  67. package/dist/chunks/{model-7bmhse3q.js → models-dev-7bmhse3q.js} +1 -1
  68. package/dist/chunks/{model-y2kcrf7q.js → models-dev-7cx6vmvd.js} +9 -9
  69. package/dist/chunks/{model-xs3x383r.js → models-dev-7j6b7cf2.js} +12 -12
  70. package/dist/chunks/{model-124s7jg1.js → models-dev-7jax3d31.js} +4 -4
  71. package/dist/chunks/{model-bd498wnj.js → models-dev-7r6xmrkr.js} +11 -11
  72. package/dist/chunks/{model-wfq6jpmw.js → models-dev-7sta3r44.js} +32 -32
  73. package/dist/chunks/{model-w1eejvng.js → models-dev-84txncab.js} +5 -5
  74. package/dist/chunks/{model-vppcbm3y.js → models-dev-86kb63bw.js} +10 -10
  75. package/dist/chunks/{model-pqrr6518.js → models-dev-87dt7mzz.js} +36 -36
  76. package/dist/chunks/{model-pakcngh0.js → models-dev-8aaqm6qj.js} +8 -8
  77. package/dist/chunks/{model-6b06eyw5.js → models-dev-8et75xt1.js} +12 -12
  78. package/dist/chunks/{model-kt26yds1.js → models-dev-8ff0rxwx.js} +13 -13
  79. package/dist/chunks/{model-8m6m0r52.js → models-dev-8m6m0r52.js} +1 -1
  80. package/dist/chunks/{model-nw1b9wk3.js → models-dev-8mvpz4fy.js} +4 -4
  81. package/dist/chunks/{model-pyzjd10w.js → models-dev-8n9x2wf6.js} +2 -2
  82. package/dist/chunks/{model-fx9ycnc9.js → models-dev-8trxcb2y.js} +5 -5
  83. package/dist/chunks/{model-sp1bq8t5.js → models-dev-8w3sca24.js} +4 -4
  84. package/dist/chunks/{model-h6310vsd.js → models-dev-8wbxkt1z.js} +4 -4
  85. package/dist/chunks/{model-91qna3x0.js → models-dev-91qna3x0.js} +3 -3
  86. package/dist/chunks/{model-k4xvcd80.js → models-dev-9ams9md9.js} +50 -50
  87. package/dist/chunks/{model-yv09eh8f.js → models-dev-9pfg34kv.js} +8 -8
  88. package/dist/chunks/{model-pt8t6bwe.js → models-dev-9wrmc8bv.js} +15 -15
  89. package/dist/chunks/{model-4q7c2z0k.js → models-dev-9zay2yph.js} +4 -4
  90. package/dist/chunks/{model-w6h1y6dq.js → models-dev-a8da1bgk.js} +11 -11
  91. package/dist/chunks/{model-hgqgzfp7.js → models-dev-aa1byvrx.js} +13 -13
  92. package/dist/chunks/{model-c0q9byrh.js → models-dev-aanb7cm6.js} +11 -11
  93. package/dist/chunks/{model-db2wf4at.js → models-dev-addxnjmp.js} +4 -4
  94. package/dist/chunks/{model-6jxha2sg.js → models-dev-ahq53jd5.js} +36 -36
  95. package/dist/chunks/{model-7pvy9pzv.js → models-dev-ahxdrjfh.js} +11 -11
  96. package/dist/chunks/{model-0grnp236.js → models-dev-ap35vmqf.js} +4 -4
  97. package/dist/chunks/{model-wr1ewhk4.js → models-dev-ap6xemjt.js} +5 -5
  98. package/dist/chunks/{model-8y6qxnd2.js → models-dev-awcvgszp.js} +30 -30
  99. package/dist/chunks/{model-xgwqb5jk.js → models-dev-b0d43emt.js} +32 -32
  100. package/dist/chunks/{model-e70pe916.js → models-dev-b2e9bjkk.js} +22 -22
  101. package/dist/chunks/{model-99wq20s7.js → models-dev-b2wb6800.js} +14 -14
  102. package/dist/chunks/{model-vq4kdd46.js → models-dev-b7bzyegb.js} +15 -15
  103. package/dist/chunks/{model-t79s17n5.js → models-dev-bft59c27.js} +9 -9
  104. package/dist/chunks/{model-bjx1sjef.js → models-dev-bjx1sjef.js} +2 -2
  105. package/dist/chunks/{model-45mc4at0.js → models-dev-bkt6k2qn.js} +5 -5
  106. package/dist/chunks/{model-zf7skas7.js → models-dev-bme7dax2.js} +22 -22
  107. package/dist/chunks/{model-am4dv7bb.js → models-dev-bq6cmejr.js} +33 -33
  108. package/dist/chunks/{model-ra67jj04.js → models-dev-bxqk5pf5.js} +9 -9
  109. package/dist/chunks/{model-jke95dby.js → models-dev-c138fnt2.js} +19 -19
  110. package/dist/chunks/{model-nxj57cfn.js → models-dev-c1a1b1k2.js} +4 -4
  111. package/dist/chunks/{model-7rxph2nn.js → models-dev-c1ek1mkb.js} +13 -13
  112. package/dist/chunks/{model-c1fqxshp.js → models-dev-c1fqxshp.js} +3 -3
  113. package/dist/chunks/{model-21yyccfm.js → models-dev-cd49xnn7.js} +6 -6
  114. package/dist/chunks/{model-zfq801h6.js → models-dev-cdqe3acw.js} +6 -6
  115. package/dist/chunks/{model-9nthj2st.js → models-dev-ce84vtze.js} +2 -2
  116. package/dist/chunks/{model-mnypcc0v.js → models-dev-ck19mtvh.js} +9 -9
  117. package/dist/chunks/{model-s13c7292.js → models-dev-dhedqzcj.js} +25 -25
  118. package/dist/chunks/{model-dqxsqydv.js → models-dev-dqxsqydv.js} +1 -1
  119. package/dist/chunks/{model-drwq78ky.js → models-dev-drwq78ky.js} +1 -1
  120. package/dist/chunks/{model-x17e2yyb.js → models-dev-dvpe37cm.js} +23 -23
  121. package/dist/chunks/{model-c3arycbm.js → models-dev-e7p86yrn.js} +16 -16
  122. package/dist/chunks/{model-e80seqcp.js → models-dev-e80seqcp.js} +1 -1
  123. package/dist/chunks/{model-eej6y6fw.js → models-dev-eej6y6fw.js} +2 -2
  124. package/dist/chunks/{model-ef5x83kb.js → models-dev-ef5x83kb.js} +1 -1
  125. package/dist/chunks/{model-fs5hygsn.js → models-dev-eng572xq.js} +14 -14
  126. package/dist/chunks/{model-x2jnxxy0.js → models-dev-ewms06wq.js} +20 -20
  127. package/dist/chunks/{model-5bcww33d.js → models-dev-f1mnkpqm.js} +11 -11
  128. package/dist/chunks/{model-g0d965vs.js → models-dev-f5b9jkp9.js} +16 -16
  129. package/dist/chunks/{model-vqk1e85q.js → models-dev-f5qq0z73.js} +6 -6
  130. package/dist/chunks/{model-70spc8zb.js → models-dev-f6akwmps.js} +17 -17
  131. package/dist/chunks/{model-zpegy5y1.js → models-dev-f6fgd632.js} +13 -13
  132. package/dist/chunks/{model-y9y8j1f2.js → models-dev-f84gknbk.js} +25 -25
  133. package/dist/chunks/{model-d70j4vcr.js → models-dev-f9ebjzh0.js} +52 -52
  134. package/dist/chunks/{model-edrmdtr5.js → models-dev-fqb2p7cx.js} +7 -7
  135. package/dist/chunks/{model-r2m716tb.js → models-dev-ft3hqk2c.js} +9 -9
  136. package/dist/chunks/{model-6g25qtd6.js → models-dev-g2qx1j3k.js} +3 -3
  137. package/dist/chunks/{model-4dbz3zxd.js → models-dev-g4hdz8fh.js} +89 -89
  138. package/dist/chunks/{model-0k9wf2hg.js → models-dev-g52tt8mw.js} +11 -11
  139. package/dist/chunks/{model-vrrq7v3g.js → models-dev-g6yfr6ja.js} +5 -5
  140. package/dist/chunks/{model-gd4qta3r.js → models-dev-gd4qta3r.js} +1 -1
  141. package/dist/chunks/{model-b0w22pfr.js → models-dev-gdq7s844.js} +23 -23
  142. package/dist/chunks/{model-ygdna4kr.js → models-dev-gj71zhbs.js} +5 -5
  143. package/dist/chunks/{model-454sa7n0.js → models-dev-gpxpah6c.js} +13 -13
  144. package/dist/chunks/{model-h99738j4.js → models-dev-gqrzrpnb.js} +12 -12
  145. package/dist/chunks/{model-mm2924pv.js → models-dev-gwg64xpb.js} +33 -33
  146. package/dist/chunks/{model-h6vf3j39.js → models-dev-h6vf3j39.js} +1 -1
  147. package/dist/chunks/{model-31xfzrxg.js → models-dev-h7s7r6s9.js} +5 -5
  148. package/dist/chunks/{model-mrpe8yp5.js → models-dev-hd9sya5y.js} +33 -33
  149. package/dist/chunks/{model-5deaz9jv.js → models-dev-hg6fvb8h.js} +4 -4
  150. package/dist/chunks/{model-hgz4x7wa.js → models-dev-hgz4x7wa.js} +1 -1
  151. package/dist/chunks/{model-vw126e4d.js → models-dev-hn300vjm.js} +15 -15
  152. package/dist/chunks/{model-358yc98n.js → models-dev-hpxzp9rx.js} +1 -1
  153. package/dist/chunks/{model-0kgrmwp0.js → models-dev-hyavndt0.js} +25 -25
  154. package/dist/chunks/{model-ht3067rw.js → models-dev-hydq8y4t.js} +26 -26
  155. package/dist/chunks/{model-46mt6x8j.js → models-dev-hyxd6180.js} +16 -16
  156. package/dist/chunks/{model-bhdyt95r.js → models-dev-j6z2dytx.js} +21 -21
  157. package/dist/chunks/{model-f0d2hz6a.js → models-dev-j9468e3s.js} +10 -10
  158. package/dist/chunks/{model-r9jzxqvq.js → models-dev-je214mst.js} +38 -38
  159. package/dist/chunks/{model-jk540des.js → models-dev-jk540des.js} +2 -2
  160. package/dist/chunks/{model-9sbgnbhh.js → models-dev-jrbfgch9.js} +19 -19
  161. package/dist/chunks/{model-mz8as577.js → models-dev-jxn7dvkj.js} +3 -3
  162. package/dist/chunks/{model-r85h4k88.js → models-dev-k5nx9gf6.js} +35 -35
  163. package/dist/chunks/{model-rp09h2a9.js → models-dev-k82cey18.js} +14 -14
  164. package/dist/chunks/{model-ctn84etg.js → models-dev-kcr9yty2.js} +24 -24
  165. package/dist/chunks/{model-ny8edt06.js → models-dev-khmqacep.js} +4 -4
  166. package/dist/chunks/{model-rffh3mqk.js → models-dev-kp9v44y6.js} +16 -16
  167. package/dist/chunks/{model-vfw5w8v2.js → models-dev-ksqexn5b.js} +17 -17
  168. package/dist/chunks/{model-rx4wz1w4.js → models-dev-ksyw1h75.js} +10 -10
  169. package/dist/chunks/{model-dqvv6bdz.js → models-dev-kvycfk4x.js} +2 -2
  170. package/dist/chunks/{model-cc080dhf.js → models-dev-kwvz8xsm.js} +35 -35
  171. package/dist/chunks/{model-8rw8yr2z.js → models-dev-m43p4m24.js} +25 -25
  172. package/dist/chunks/{model-4acmj4he.js → models-dev-m6g7jkxp.js} +7 -7
  173. package/dist/chunks/{model-m9w0rfyh.js → models-dev-m9w0rfyh.js} +1 -1
  174. package/dist/chunks/{model-maspj1v3.js → models-dev-maspj1v3.js} +1 -1
  175. package/dist/chunks/{model-8fh9asg7.js → models-dev-mawbj8c7.js} +12 -12
  176. package/dist/chunks/{model-qfxf707x.js → models-dev-mdkqwhqk.js} +14 -14
  177. package/dist/chunks/{model-pzhd9fhs.js → models-dev-mwa53675.js} +24 -24
  178. package/dist/chunks/{model-pg3yv55e.js → models-dev-n41s30kp.js} +14 -14
  179. package/dist/chunks/{model-m2y34ngg.js → models-dev-nd673bhh.js} +18 -18
  180. package/dist/chunks/{model-7ca3xte1.js → models-dev-nm80a8zg.js} +10 -10
  181. package/dist/chunks/{model-3cqwnyj9.js → models-dev-npw39rc8.js} +8 -8
  182. package/dist/chunks/{model-md6a2bpm.js → models-dev-nr5dye9z.js} +6 -6
  183. package/dist/chunks/{model-k1ck9wgq.js → models-dev-p157t1fq.js} +11 -11
  184. package/dist/chunks/{model-2aegfh2p.js → models-dev-p7f50jp2.js} +10 -10
  185. package/dist/chunks/{model-p2x1ybm5.js → models-dev-p8r370vm.js} +28 -28
  186. package/dist/chunks/{model-jfw34q2z.js → models-dev-phfa2v1d.js} +17 -17
  187. package/dist/chunks/models-dev-phz3h32g.js +18 -0
  188. package/dist/chunks/{model-pjvnvgmy.js → models-dev-pjvnvgmy.js} +1 -1
  189. package/dist/chunks/{model-wtqshrcq.js → models-dev-pk4f2aze.js} +11 -11
  190. package/dist/chunks/{model-pknna89w.js → models-dev-pknna89w.js} +1 -1
  191. package/dist/chunks/{model-zzzv4s15.js → models-dev-pncz9ezf.js} +19 -19
  192. package/dist/chunks/{model-6xcvt31d.js → models-dev-pnzf6mjf.js} +1 -1
  193. package/dist/chunks/{model-qxfsh50a.js → models-dev-pp2w7hra.js} +8 -8
  194. package/dist/chunks/{model-1pgs1s3m.js → models-dev-pv3b1asr.js} +11 -11
  195. package/dist/chunks/{model-3855cc73.js → models-dev-pv818zwk.js} +53 -53
  196. package/dist/chunks/{model-q0xm7vwc.js → models-dev-q0xm7vwc.js} +2 -2
  197. package/dist/chunks/{model-qysp5m4p.js → models-dev-q3sjtm7g.js} +24 -24
  198. package/dist/chunks/{model-0cqcz89e.js → models-dev-q404fz3t.js} +9 -9
  199. package/dist/chunks/{model-y0ymffas.js → models-dev-q5kf7mcj.js} +45 -45
  200. package/dist/chunks/{model-0jwsre1p.js → models-dev-qgn6gcr1.js} +5 -5
  201. package/dist/chunks/{model-qnc92qwc.js → models-dev-qnc92qwc.js} +1 -1
  202. package/dist/chunks/{model-qsdy395h.js → models-dev-qsdy395h.js} +1 -1
  203. package/dist/chunks/{model-v6wtv6sh.js → models-dev-qvs0fk0x.js} +15 -15
  204. package/dist/chunks/{model-mq6shjb6.js → models-dev-r1d3qzdq.js} +9 -9
  205. package/dist/chunks/{model-pcpm970h.js → models-dev-rajkn84v.js} +41 -41
  206. package/dist/chunks/{model-wdz250da.js → models-dev-rc5j5mkd.js} +31 -31
  207. package/dist/chunks/{model-rdw6cm16.js → models-dev-rdw6cm16.js} +1 -1
  208. package/dist/chunks/{model-rert0e01.js → models-dev-rert0e01.js} +2 -2
  209. package/dist/chunks/{model-01rfddxe.js → models-dev-rhm9r2e7.js} +45 -45
  210. package/dist/chunks/{model-afb9wseb.js → models-dev-rhswqpbr.js} +22 -22
  211. package/dist/chunks/{model-rj3eygr5.js → models-dev-rj3eygr5.js} +2 -2
  212. package/dist/chunks/{model-1hc858k7.js → models-dev-rjqa6xvr.js} +5 -5
  213. package/dist/chunks/{model-dz1h6v1j.js → models-dev-rrrs7b4h.js} +44 -44
  214. package/dist/chunks/{model-gd6gh308.js → models-dev-rs56my4t.js} +179 -179
  215. package/dist/chunks/{model-8mbscqky.js → models-dev-rvf0m9x6.js} +8 -8
  216. package/dist/chunks/{model-z75pxxh7.js → models-dev-rvswe9jz.js} +3 -3
  217. package/dist/chunks/{model-9xc4s1wq.js → models-dev-rxxgfbgd.js} +31 -31
  218. package/dist/chunks/{model-rd1cgpxp.js → models-dev-s2m39v4y.js} +20 -20
  219. package/dist/chunks/{model-kwjpkb26.js → models-dev-s6nd2x5k.js} +17 -17
  220. package/dist/chunks/{model-ywkcfvf7.js → models-dev-s8s89f8k.js} +13 -13
  221. package/dist/chunks/{model-sa8ekw3f.js → models-dev-sa8ekw3f.js} +2 -2
  222. package/dist/chunks/{model-scgrse2b.js → models-dev-scgrse2b.js} +2 -2
  223. package/dist/chunks/{model-a3s2mkkw.js → models-dev-shrx83xz.js} +38 -38
  224. package/dist/chunks/{model-bxp5y3gq.js → models-dev-sjt6nrdb.js} +22 -22
  225. package/dist/chunks/{model-bfh1r411.js → models-dev-sk4xkn0s.js} +19 -19
  226. package/dist/chunks/{model-d022x100.js → models-dev-sn3esjwr.js} +11 -11
  227. package/dist/chunks/{model-syv4x271.js → models-dev-syv4x271.js} +1 -1
  228. package/dist/chunks/{model-s2z0d44b.js → models-dev-sz15zhhw.js} +4 -4
  229. package/dist/chunks/{model-7d2a7xbs.js → models-dev-sznyev98.js} +5 -5
  230. package/dist/chunks/{model-36sc5tph.js → models-dev-t0yzwfwa.js} +39 -39
  231. package/dist/chunks/{model-gnngpsss.js → models-dev-t462pgxk.js} +34 -34
  232. package/dist/chunks/{model-bbnjt3hf.js → models-dev-t4jzv59m.js} +11 -11
  233. package/dist/chunks/{model-t550f9t1.js → models-dev-t550f9t1.js} +1 -1
  234. package/dist/chunks/{model-scgz3sns.js → models-dev-t59ay9nj.js} +27 -27
  235. package/dist/chunks/{model-tazgh4e4.js → models-dev-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{model-89znhe33.js → models-dev-tcezcvh9.js} +4 -4
  237. package/dist/chunks/{model-m9m2bw1x.js → models-dev-tctv09ep.js} +74 -74
  238. package/dist/chunks/{model-7kesx33y.js → models-dev-tcxxj4xv.js} +59 -59
  239. package/dist/chunks/{model-tdstcens.js → models-dev-tdstcens.js} +1 -1
  240. package/dist/chunks/{model-4qa4eb2f.js → models-dev-tezr4t8w.js} +10 -10
  241. package/dist/chunks/{model-y52pq506.js → models-dev-tgkebzgj.js} +28 -28
  242. package/dist/chunks/{model-xxxym934.js → models-dev-tjedn1bk.js} +4 -4
  243. package/dist/chunks/{model-tm0kqsz3.js → models-dev-tm0kqsz3.js} +1 -1
  244. package/dist/chunks/{model-pj9xvhw4.js → models-dev-tped5syp.js} +1 -1
  245. package/dist/chunks/{model-trya7axm.js → models-dev-trya7axm.js} +2 -2
  246. package/dist/chunks/{model-559cv5mq.js → models-dev-tvq2padx.js} +26 -26
  247. package/dist/chunks/{model-a4r1667r.js → models-dev-tx2ykx8n.js} +20 -20
  248. package/dist/chunks/{model-tyytaxap.js → models-dev-tyytaxap.js} +1 -1
  249. package/dist/chunks/{model-tg7bkhef.js → models-dev-v0es1rhs.js} +7 -7
  250. package/dist/chunks/{model-v7p4zvkq.js → models-dev-v7p4zvkq.js} +2 -2
  251. package/dist/chunks/{model-bf8cw6nk.js → models-dev-vedw13eh.js} +16 -16
  252. package/dist/chunks/{model-veqvce7d.js → models-dev-veqvce7d.js} +1 -1
  253. package/dist/chunks/{model-0hmbxfvk.js → models-dev-vgk39nvh.js} +18 -18
  254. package/dist/chunks/{model-8kfrjq0p.js → models-dev-vkahxkee.js} +32 -32
  255. package/dist/chunks/{model-csjs0rgm.js → models-dev-vqww9wf2.js} +18 -18
  256. package/dist/chunks/{model-31zph7gx.js → models-dev-vvz7xq4k.js} +30 -30
  257. package/dist/chunks/{model-x5ay7k0w.js → models-dev-vx0jde21.js} +9 -9
  258. package/dist/chunks/{model-vzs5sf6e.js → models-dev-vzs5sf6e.js} +1 -1
  259. package/dist/chunks/{model-20f5kd3r.js → models-dev-w11zjscx.js} +51 -51
  260. package/dist/chunks/{model-15cj51dt.js → models-dev-w3wfn83y.js} +19 -19
  261. package/dist/chunks/{model-w3wsvvr9.js → models-dev-w3wsvvr9.js} +1 -1
  262. package/dist/chunks/{model-wd87259q.js → models-dev-wd87259q.js} +1 -1
  263. package/dist/chunks/{model-mw0c0vj6.js → models-dev-we83yyr7.js} +30 -30
  264. package/dist/chunks/{model-b77ja0wt.js → models-dev-wfsmwj5g.js} +19 -19
  265. package/dist/chunks/{model-nms2wt4g.js → models-dev-x5h44zm2.js} +10 -10
  266. package/dist/chunks/{model-6vvy3pkk.js → models-dev-xfk6cv89.js} +22 -22
  267. package/dist/chunks/{model-ty6kwv90.js → models-dev-xr0b3q4c.js} +22 -22
  268. package/dist/chunks/{model-y1fvbwt7.js → models-dev-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{model-y71avatq.js → models-dev-y71avatq.js} +1 -1
  270. package/dist/chunks/{model-y6xhfxcm.js → models-dev-y9f7x49n.js} +25 -25
  271. package/dist/chunks/{model-58hng72m.js → models-dev-yd4bzqjj.js} +5 -5
  272. package/dist/chunks/models-dev-yfpjxthe.js +26 -0
  273. package/dist/chunks/{model-21xby13n.js → models-dev-ymd5dqt1.js} +23 -23
  274. package/dist/chunks/{model-q45w12d8.js → models-dev-yn3sjzkr.js} +24 -24
  275. package/dist/chunks/{model-f2n192rq.js → models-dev-yp2x3t23.js} +4 -4
  276. package/dist/chunks/{model-nxe4pcap.js → models-dev-yrcj3v3g.js} +4 -4
  277. package/dist/chunks/{model-z0bkrqjs.js → models-dev-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{model-ze19dk6b.js → models-dev-zkehg455.js} +3 -3
  279. package/dist/chunks/{model-1ttk16ha.js → models-dev-znegvexa.js} +8 -8
  280. package/dist/chunks/{model-zr2ceqn5.js → models-dev-zr2ceqn5.js} +1 -1
  281. package/dist/chunks/{model-trrs9qjc.js → models-dev-zs526gn4.js} +13 -13
  282. package/dist/chunks/{model-79vjxwag.js → models-dev-zt49gfb7.js} +25 -25
  283. package/dist/chunks/{model-zxq2ej10.js → models-dev-zxq2ej10.js} +1 -1
  284. package/dist/codemode/catalog.js +1 -1
  285. package/dist/codemode/instructions.js +7 -7
  286. package/dist/codemode/tool.js +3 -3
  287. package/dist/codemode/web.js +1 -1
  288. package/dist/command.js +87 -87
  289. package/dist/config/discovery.js +86 -86
  290. package/dist/config/markdown.js +1 -1
  291. package/dist/config/normalize.js +101 -101
  292. package/dist/config/plugin/agent.js +118 -118
  293. package/dist/config/plugin/command.js +207 -207
  294. package/dist/config/plugin/compaction.js +156 -156
  295. package/dist/config/plugin/compatibility.js +136 -136
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +119 -119
  298. package/dist/config/plugin/image.js +118 -118
  299. package/dist/config/plugin/instruction.js +118 -118
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +125 -125
  302. package/dist/config/plugin/policy.js +119 -119
  303. package/dist/config/plugin/provider.js +118 -118
  304. package/dist/config/plugin/reference.js +120 -120
  305. package/dist/config/plugin/shell.js +118 -118
  306. package/dist/config/plugin/skill-file.js +104 -104
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +118 -118
  309. package/dist/config/plugin/source.js +117 -117
  310. package/dist/config/plugin/tool-output.js +119 -119
  311. package/dist/config/plugin/websearch.js +117 -117
  312. package/dist/config/plugin/worktree.js +118 -118
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +123 -123
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +85 -85
  318. package/dist/database/database.js +72 -72
  319. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  320. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +13 -13
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +14 -14
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  383. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  384. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  385. package/dist/database/migration.gen.js +51 -51
  386. package/dist/database/migration.js +53 -53
  387. package/dist/database/path.js +2 -2
  388. package/dist/database/schema.gen.js +1 -1
  389. package/dist/database/schema.sql.js +1 -1
  390. package/dist/database/sqlite.bun.js +1 -1
  391. package/dist/database/sqlite.js +1 -1
  392. package/dist/database/sqlite.node.js +1 -1
  393. package/dist/database/sqlite.workerd.js +1 -1
  394. package/dist/database/v1-migration.bun.js +81 -81
  395. package/dist/database/v1-migration.js +1 -1
  396. package/dist/effect/app-node-builder.js +368 -368
  397. package/dist/effect/app-node-platform.js +2 -2
  398. package/dist/effect/keyed-mutex.js +1 -1
  399. package/dist/effect/websocket-constructor.js +1 -1
  400. package/dist/environment/driver.js +1 -1
  401. package/dist/environment/environment.js +95 -95
  402. package/dist/environment/exec-defaults.js +2 -2
  403. package/dist/environment/files.js +1 -1
  404. package/dist/environment/index.js +97 -97
  405. package/dist/environment/local.js +2 -2
  406. package/dist/environment/memory.js +2 -2
  407. package/dist/environment/unavailable.js +3 -3
  408. package/dist/event/sql.js +1 -1
  409. package/dist/event-logger.js +76 -76
  410. package/dist/file-access.js +104 -104
  411. package/dist/file-mutation.js +96 -96
  412. package/dist/file-retention.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/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +220 -220
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +105 -105
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +108 -108
  424. package/dist/form.js +86 -86
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +89 -89
  427. package/dist/generate.js +105 -105
  428. package/dist/git.js +10 -10
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +101 -101
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +359 -359
  452. package/dist/instruction-discovery.js +86 -86
  453. package/dist/instructions/builtins.js +89 -89
  454. package/dist/instructions/index.js +1 -1
  455. package/dist/integration/connection.js +3 -3
  456. package/dist/integration.js +89 -89
  457. package/dist/job.js +74 -74
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +75 -75
  460. package/dist/location-activity.js +136 -136
  461. package/dist/location-lifecycle.js +109 -109
  462. package/dist/location-service-map.js +88 -88
  463. package/dist/location-services.js +356 -356
  464. package/dist/location.js +89 -89
  465. package/dist/managed-policy.js +8 -8
  466. package/dist/mcp/client.js +93 -93
  467. package/dist/mcp/index.js +109 -109
  468. package/dist/mcp/instructions.js +131 -131
  469. package/dist/mcp/oauth.js +80 -80
  470. package/dist/mcp/stdio.js +92 -92
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +101 -101
  473. package/dist/model-resolver.js +100 -100
  474. package/dist/model.js +104 -104
  475. package/dist/models-dev.js +109 -109
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +82 -82
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +90 -90
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +77 -77
  485. package/dist/plugin/agent.js +76 -76
  486. package/dist/plugin/command.js +102 -102
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +213 -213
  489. package/dist/plugin/identity.js +3 -3
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +331 -331
  492. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  493. package/dist/plugin/models-dev.js +98 -98
  494. package/dist/plugin/module.js +119 -119
  495. package/dist/plugin/optimize.js +4 -4
  496. package/dist/plugin/plan.js +104 -104
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/amazon-bedrock.js +92 -92
  499. package/dist/plugin/provider/azure.js +116 -116
  500. package/dist/plugin/provider/cerebras.js +1 -1
  501. package/dist/plugin/provider/chatgpt.js +118 -118
  502. package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
  503. package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
  504. package/dist/plugin/provider/cohere.js +2 -2
  505. package/dist/plugin/provider/configured.js +114 -114
  506. package/dist/plugin/provider/databricks.js +1 -1
  507. package/dist/plugin/provider/digitalocean.js +95 -95
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/github-copilot.js +97 -97
  511. package/dist/plugin/provider/gitlab.js +95 -95
  512. package/dist/plugin/provider/google-vertex.js +115 -115
  513. package/dist/plugin/provider/kilo.js +1 -1
  514. package/dist/plugin/provider/llmgateway.js +80 -80
  515. package/dist/plugin/provider/lmstudio.js +127 -127
  516. package/dist/plugin/provider/local.js +124 -124
  517. package/dist/plugin/provider/modal.js +94 -94
  518. package/dist/plugin/provider/neon.js +1 -1
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +127 -127
  521. package/dist/plugin/provider/openai.js +120 -120
  522. package/dist/plugin/provider/opencode.js +99 -99
  523. package/dist/plugin/provider/openrouter.js +93 -93
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +81 -81
  526. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  527. package/dist/plugin/provider/sap-ai-core.js +93 -93
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/vercel.js +92 -92
  531. package/dist/plugin/provider/vllm.js +127 -127
  532. package/dist/plugin/provider/xai.js +93 -93
  533. package/dist/plugin/provider/zenmux.js +1 -1
  534. package/dist/plugin/provider.js +169 -169
  535. package/dist/plugin/sdk.js +74 -74
  536. package/dist/plugin/service.js +3 -3
  537. package/dist/plugin/skill.js +134 -134
  538. package/dist/plugin/source-directory.js +1 -1
  539. package/dist/plugin/supervisor.js +346 -346
  540. package/dist/plugin/tool-input-repair.js +4 -4
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/vcs/git.js +88 -88
  543. package/dist/plugin/vcs/hg.js +88 -88
  544. package/dist/plugin/verbosity.js +95 -95
  545. package/dist/plugin/warming.js +116 -116
  546. package/dist/plugin/websearch/exa.js +3 -3
  547. package/dist/plugin/websearch/firecrawl.js +8 -8
  548. package/dist/plugin/websearch/index.js +9 -9
  549. package/dist/plugin/websearch/mcp.js +2 -2
  550. package/dist/plugin/websearch/parallel.js +8 -8
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin/websearch/tinyfish.js +8 -8
  553. package/dist/plugin.js +224 -224
  554. package/dist/project/schema.js +6 -6
  555. package/dist/project/sql.js +4 -4
  556. package/dist/project.js +90 -90
  557. package/dist/provider.js +101 -101
  558. package/dist/pty/protocol.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +99 -99
  561. package/dist/reference/instructions.js +91 -91
  562. package/dist/reference.js +91 -91
  563. package/dist/repository-cache.js +83 -83
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +99 -99
  567. package/dist/rpc.js +88 -88
  568. package/dist/schema.js +1 -1
  569. package/dist/session/affinity.js +3 -3
  570. package/dist/session/command.js +76 -76
  571. package/dist/session/compaction.js +137 -137
  572. package/dist/session/context.js +155 -155
  573. package/dist/session/diff.js +90 -90
  574. package/dist/session/environment.js +5 -5
  575. package/dist/session/error.js +5 -5
  576. package/dist/session/event.js +1 -1
  577. package/dist/session/execution/restart.js +216 -216
  578. package/dist/session/execution.js +127 -127
  579. package/dist/session/generate.js +154 -154
  580. package/dist/session/history.js +13 -13
  581. package/dist/session/inbox.js +90 -90
  582. package/dist/session/info.js +3 -3
  583. package/dist/session/instruction-entry.js +81 -81
  584. package/dist/session/instruction-state.js +8 -8
  585. package/dist/session/instructions.js +99 -99
  586. package/dist/session/message-updater.js +4 -4
  587. package/dist/session/message.js +1 -1
  588. package/dist/session/model-request.js +122 -122
  589. package/dist/session/model-transport.js +9 -9
  590. package/dist/session/move.js +131 -131
  591. package/dist/session/projector.js +88 -88
  592. package/dist/session/prompt.js +107 -107
  593. package/dist/session/provider-context.js +3 -3
  594. package/dist/session/revert.js +92 -92
  595. package/dist/session/run-coordinator.js +3 -3
  596. package/dist/session/runner/index.js +3 -3
  597. package/dist/session/runner/llm.js +226 -226
  598. package/dist/session/runner/max-steps.js +1 -1
  599. package/dist/session/runner/model.js +100 -100
  600. package/dist/session/runner/publish-llm-event.js +115 -115
  601. package/dist/session/runner/retry.js +2 -2
  602. package/dist/session/runner/step.js +125 -125
  603. package/dist/session/runner/to-llm-message.js +2 -2
  604. package/dist/session/schema.js +3 -3
  605. package/dist/session/session.js +164 -164
  606. package/dist/session/shell.js +132 -132
  607. package/dist/session/skill.js +107 -107
  608. package/dist/session/sql.js +5 -5
  609. package/dist/session/stats.js +77 -77
  610. package/dist/session/store.js +87 -87
  611. package/dist/session/subagent-completion.js +1 -1
  612. package/dist/session/subagent-job.js +207 -207
  613. package/dist/session/system-prompt.js +1 -1
  614. package/dist/session/title.js +159 -159
  615. package/dist/session/to-session-error.js +113 -113
  616. package/dist/session/transfer.js +216 -216
  617. package/dist/session/usage.js +1 -1
  618. package/dist/session.js +213 -213
  619. package/dist/shell/parse.js +6 -6
  620. package/dist/shell/result.js +1 -1
  621. package/dist/shell/scan.js +1 -1
  622. package/dist/shell/select.js +13 -13
  623. package/dist/shell.js +134 -134
  624. package/dist/skill/discovery.js +6 -6
  625. package/dist/skill/instructions.js +109 -109
  626. package/dist/skill.js +114 -114
  627. package/dist/snapshot.js +93 -93
  628. package/dist/state.js +1 -1
  629. package/dist/tool/html-markdown.js +1 -1
  630. package/dist/tool/http-body.js +1 -1
  631. package/dist/tool/mcp.js +126 -126
  632. package/dist/tool/plugin/edit.js +122 -122
  633. package/dist/tool/plugin/file-diff.js +1 -1
  634. package/dist/tool/plugin/glob.js +126 -126
  635. package/dist/tool/plugin/grep.js +126 -126
  636. package/dist/tool/plugin/mcp-resource.js +119 -119
  637. package/dist/tool/plugin/opencode.js +111 -111
  638. package/dist/tool/plugin/patch.js +122 -122
  639. package/dist/tool/plugin/question.js +105 -105
  640. package/dist/tool/plugin/read.js +127 -127
  641. package/dist/tool/plugin/shell.js +210 -210
  642. package/dist/tool/plugin/skill.js +113 -113
  643. package/dist/tool/plugin/subagent.js +206 -206
  644. package/dist/tool/plugin/webfetch.js +112 -112
  645. package/dist/tool/plugin/websearch.js +112 -112
  646. package/dist/tool/plugin/write.js +124 -124
  647. package/dist/tool/read-filesystem.js +102 -102
  648. package/dist/tool/runtime.js +1 -1
  649. package/dist/tool-output.js +7 -7
  650. package/dist/tool.js +14 -14
  651. package/dist/util/error-summary.js +1 -1
  652. package/dist/util/error.js +1 -1
  653. package/dist/util/git-executable.js +2 -2
  654. package/dist/util/iife.js +1 -1
  655. package/dist/util/lazy.js +1 -1
  656. package/dist/util/slug.js +1 -1
  657. package/dist/util/token.js +1 -1
  658. package/dist/util/which.js +1 -1
  659. package/dist/util/wildcard.js +1 -1
  660. package/dist/v1/config/agent.js +5 -5
  661. package/dist/v1/config/command.js +5 -5
  662. package/dist/v1/config/error.js +2 -2
  663. package/dist/v1/config/mcp.js +4 -4
  664. package/dist/v1/config/migrate.js +94 -94
  665. package/dist/v1/config/permission.js +3 -3
  666. package/dist/v1/config/plugin.js +3 -3
  667. package/dist/v1/config/provider-options.js +1 -1
  668. package/dist/v1/config/provider.js +4 -4
  669. package/dist/variant.js +95 -95
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +91 -91
  672. package/dist/websearch.js +84 -84
  673. package/dist/wellknown/plugin.js +78 -78
  674. package/dist/wellknown.js +83 -83
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +84 -84
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +10 -10
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree/strategies.js +91 -91
  682. package/dist/worktree.js +98 -98
  683. package/package.json +8 -8
  684. package/dist/chunks/model-19rpp6m5.js +0 -253
  685. package/dist/chunks/model-b54ntt24.js +0 -26
  686. package/dist/chunks/model-gpdxzypf.js +0 -513
  687. package/dist/chunks/model-pf31ssb9.js +0 -18
  688. /package/dist/chunks/{model-0qkdqm5v.js → models-dev-0qkdqm5v.js} +0 -0
  689. /package/dist/chunks/{model-0zkw76rk.js → models-dev-0zkw76rk.js} +0 -0
  690. /package/dist/chunks/{model-17cy0kzp.js → models-dev-17cy0kzp.js} +0 -0
  691. /package/dist/chunks/{model-1cnp2v09.js → models-dev-1cnp2v09.js} +0 -0
  692. /package/dist/chunks/{model-1kg9ymc8.js → models-dev-1kg9ymc8.js} +0 -0
  693. /package/dist/chunks/{model-24dcb14g.js → models-dev-24dcb14g.js} +0 -0
  694. /package/dist/chunks/{model-2710q6r3.js → models-dev-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{model-2axfhc9x.js → models-dev-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{model-2bv980vf.js → models-dev-2bv980vf.js} +0 -0
  697. /package/dist/chunks/{model-2c3vjs8z.js → models-dev-2c3vjs8z.js} +0 -0
  698. /package/dist/chunks/{model-359p4xyc.js → models-dev-359p4xyc.js} +0 -0
  699. /package/dist/chunks/{model-3asan66x.js → models-dev-3asan66x.js} +0 -0
  700. /package/dist/chunks/{model-3t0ybcrp.js → models-dev-3t0ybcrp.js} +0 -0
  701. /package/dist/chunks/{model-3v8g72cx.js → models-dev-3v8g72cx.js} +0 -0
  702. /package/dist/chunks/{model-3wcehsnq.js → models-dev-3wcehsnq.js} +0 -0
  703. /package/dist/chunks/{model-43n2bw4t.js → models-dev-43n2bw4t.js} +0 -0
  704. /package/dist/chunks/{model-4knz6hnm.js → models-dev-4knz6hnm.js} +0 -0
  705. /package/dist/chunks/{model-4vcrnpx2.js → models-dev-4vcrnpx2.js} +0 -0
  706. /package/dist/chunks/{model-4y7fprxs.js → models-dev-4y7fprxs.js} +0 -0
  707. /package/dist/chunks/{model-53557ph1.js → models-dev-53557ph1.js} +0 -0
  708. /package/dist/chunks/{model-550bvhaj.js → models-dev-550bvhaj.js} +0 -0
  709. /package/dist/chunks/{model-5qd3pb7m.js → models-dev-5qd3pb7m.js} +0 -0
  710. /package/dist/chunks/{model-6prwharc.js → models-dev-6prwharc.js} +0 -0
  711. /package/dist/chunks/{model-6q2bdcd1.js → models-dev-6q2bdcd1.js} +0 -0
  712. /package/dist/chunks/{model-7akdwqpd.js → models-dev-7akdwqpd.js} +0 -0
  713. /package/dist/chunks/{model-7m9af43g.js → models-dev-7m9af43g.js} +0 -0
  714. /package/dist/chunks/{model-822emrt2.js → models-dev-822emrt2.js} +0 -0
  715. /package/dist/chunks/{model-84wd9syh.js → models-dev-84wd9syh.js} +0 -0
  716. /package/dist/chunks/{model-88xbtdfr.js → models-dev-88xbtdfr.js} +0 -0
  717. /package/dist/chunks/{model-8n3pysct.js → models-dev-8n3pysct.js} +0 -0
  718. /package/dist/chunks/{model-8wj87zfr.js → models-dev-8wj87zfr.js} +0 -0
  719. /package/dist/chunks/{model-9a4afbnw.js → models-dev-9a4afbnw.js} +0 -0
  720. /package/dist/chunks/{model-9rqn6x4v.js → models-dev-9rqn6x4v.js} +0 -0
  721. /package/dist/chunks/{model-a6k6eb26.js → models-dev-a6k6eb26.js} +0 -0
  722. /package/dist/chunks/{model-af5trqkr.js → models-dev-af5trqkr.js} +0 -0
  723. /package/dist/chunks/{model-afrmfg78.js → models-dev-afrmfg78.js} +0 -0
  724. /package/dist/chunks/{model-aqzs7mqg.js → models-dev-aqzs7mqg.js} +0 -0
  725. /package/dist/chunks/{model-atq7p7m5.js → models-dev-atq7p7m5.js} +0 -0
  726. /package/dist/chunks/{model-bkyjaxrp.js → models-dev-bkyjaxrp.js} +0 -0
  727. /package/dist/chunks/{model-bmr6ed5q.js → models-dev-bmr6ed5q.js} +0 -0
  728. /package/dist/chunks/{model-cf4snx6d.js → models-dev-cf4snx6d.js} +0 -0
  729. /package/dist/chunks/{model-cvy3z8tj.js → models-dev-cvy3z8tj.js} +0 -0
  730. /package/dist/chunks/{model-d9fn303g.js → models-dev-d9fn303g.js} +0 -0
  731. /package/dist/chunks/{model-d9jj8t3e.js → models-dev-d9jj8t3e.js} +0 -0
  732. /package/dist/chunks/{model-dajrwvna.js → models-dev-dajrwvna.js} +0 -0
  733. /package/dist/chunks/{model-dap0rakb.js → models-dev-dap0rakb.js} +0 -0
  734. /package/dist/chunks/{model-df08tz66.js → models-dev-df08tz66.js} +0 -0
  735. /package/dist/chunks/{model-dy18nga0.js → models-dev-dy18nga0.js} +0 -0
  736. /package/dist/chunks/{model-e5kj55wp.js → models-dev-e5kj55wp.js} +0 -0
  737. /package/dist/chunks/{model-e73j6tqm.js → models-dev-e73j6tqm.js} +0 -0
  738. /package/dist/chunks/{model-ec1grn59.js → models-dev-ec1grn59.js} +0 -0
  739. /package/dist/chunks/{model-eh3zwz77.js → models-dev-eh3zwz77.js} +0 -0
  740. /package/dist/chunks/{model-emrn6kk6.js → models-dev-emrn6kk6.js} +0 -0
  741. /package/dist/chunks/{model-f0mxakyp.js → models-dev-f0mxakyp.js} +0 -0
  742. /package/dist/chunks/{model-f6n9ztr4.js → models-dev-f6n9ztr4.js} +0 -0
  743. /package/dist/chunks/{model-faypxj3z.js → models-dev-faypxj3z.js} +0 -0
  744. /package/dist/chunks/{model-fd410y7t.js → models-dev-fd410y7t.js} +0 -0
  745. /package/dist/chunks/{model-g4wezp1m.js → models-dev-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{model-g86h250q.js → models-dev-g86h250q.js} +0 -0
  747. /package/dist/chunks/{model-gebd4c9n.js → models-dev-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{model-gftt206x.js → models-dev-gftt206x.js} +0 -0
  749. /package/dist/chunks/{model-hcxmzztb.js → models-dev-hcxmzztb.js} +0 -0
  750. /package/dist/chunks/{model-hk9envan.js → models-dev-hk9envan.js} +0 -0
  751. /package/dist/chunks/{model-j2ntwpah.js → models-dev-j2ntwpah.js} +0 -0
  752. /package/dist/chunks/{model-j5zkgpj8.js → models-dev-j5zkgpj8.js} +0 -0
  753. /package/dist/chunks/{model-jjkms2e6.js → models-dev-jjkms2e6.js} +0 -0
  754. /package/dist/chunks/{model-jr7sbwjy.js → models-dev-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{model-jwfs4k6c.js → models-dev-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{model-jze0r7bz.js → models-dev-jze0r7bz.js} +0 -0
  757. /package/dist/chunks/{model-jzg6c2d5.js → models-dev-jzg6c2d5.js} +0 -0
  758. /package/dist/chunks/{model-m18g726c.js → models-dev-m18g726c.js} +0 -0
  759. /package/dist/chunks/{model-mp448xyj.js → models-dev-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{model-msx8hqn2.js → models-dev-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{model-n05xt0ee.js → models-dev-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{model-n3j8tn72.js → models-dev-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{model-njntx4h6.js → models-dev-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{model-pkyv6v7h.js → models-dev-pkyv6v7h.js} +0 -0
  765. /package/dist/chunks/{model-pyv0edze.js → models-dev-pyv0edze.js} +0 -0
  766. /package/dist/chunks/{model-q3sfg36h.js → models-dev-q3sfg36h.js} +0 -0
  767. /package/dist/chunks/{model-q74kybfr.js → models-dev-q74kybfr.js} +0 -0
  768. /package/dist/chunks/{model-qaymkmh1.js → models-dev-qaymkmh1.js} +0 -0
  769. /package/dist/chunks/{model-qb87gjwd.js → models-dev-qb87gjwd.js} +0 -0
  770. /package/dist/chunks/{model-qfa1cgps.js → models-dev-qfa1cgps.js} +0 -0
  771. /package/dist/chunks/{model-qg3g05ea.js → models-dev-qg3g05ea.js} +0 -0
  772. /package/dist/chunks/{model-qrg20bc0.js → models-dev-qrg20bc0.js} +0 -0
  773. /package/dist/chunks/{model-rcb2kzg1.js → models-dev-rcb2kzg1.js} +0 -0
  774. /package/dist/chunks/{model-sdp7kfr6.js → models-dev-sdp7kfr6.js} +0 -0
  775. /package/dist/chunks/{model-ssg3fenm.js → models-dev-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{model-ve7vex1e.js → models-dev-ve7vex1e.js} +0 -0
  777. /package/dist/chunks/{model-w803qqfp.js → models-dev-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{model-wc3fc9cn.js → models-dev-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{model-wer8tq1h.js → models-dev-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{model-wjj7prxr.js → models-dev-wjj7prxr.js} +0 -0
  781. /package/dist/chunks/{model-wtztk69x.js → models-dev-wtztk69x.js} +0 -0
  782. /package/dist/chunks/{model-x0ckcb58.js → models-dev-x0ckcb58.js} +0 -0
  783. /package/dist/chunks/{model-x61499pn.js → models-dev-x61499pn.js} +0 -0
  784. /package/dist/chunks/{model-y44na4kk.js → models-dev-y44na4kk.js} +0 -0
  785. /package/dist/chunks/{model-y8f7s663.js → models-dev-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{model-ygaqb7jw.js → models-dev-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{model-ym463w8f.js → models-dev-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{model-z5v4ffb3.js → models-dev-z5v4ffb3.js} +0 -0
  789. /package/dist/chunks/{model-z9919s4g.js → models-dev-z9919s4g.js} +0 -0
@@ -1,54 +1,54 @@
1
- import {
2
- Service84,
3
- node88
4
- } from "./model-g0d965vs.js";
5
1
  import {
6
2
  Service82,
7
3
  node86
8
- } from "./model-mp3rbb49.js";
4
+ } from "./models-dev-f5b9jkp9.js";
5
+ import {
6
+ Service83,
7
+ node87
8
+ } from "./models-dev-2r93mh4x.js";
9
9
  import {
10
- Service78,
11
- node82
12
- } from "./model-46mt6x8j.js";
10
+ Service80,
11
+ node84
12
+ } from "./models-dev-hyxd6180.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./model-pf31ssb9.js";
15
+ } from "./models-dev-phz3h32g.js";
16
16
  import {
17
- Service43,
18
- node45
19
- } from "./model-e70pe916.js";
17
+ Service50,
18
+ node52
19
+ } from "./models-dev-b2e9bjkk.js";
20
20
  import {
21
- node20
22
- } from "./model-afb9wseb.js";
21
+ node21
22
+ } from "./models-dev-rhswqpbr.js";
23
23
  import {
24
- Service7,
25
- node8
26
- } from "./model-r2m716tb.js";
24
+ Service13,
25
+ node15
26
+ } from "./models-dev-ft3hqk2c.js";
27
27
  import {
28
28
  __export
29
- } from "./model-9rqn6x4v.js";
29
+ } from "./models-dev-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher2 = {};
33
33
  __export(exports_location_watcher2, {
34
34
  LocationWatcher: () => exports_location_watcher2,
35
- Service: () => Service6,
36
- node: () => node7
35
+ Service: () => Service12,
36
+ node: () => node14
37
37
  });
38
38
  import { makeLocationNode } from "@opencode/util/effect/app-node";
39
39
  import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
40
40
  import { FileSystem } from "@opencode/schema/filesystem";
41
41
  import path from "path";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
43
- class Service6 extends Context.Service()("@opencode/LocationWatcher") {
43
+ class Service12 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
- var layer = Layer.effect(Service6, Effect.gen(function* () {
46
- const location = yield* Service78;
47
- const watcher = yield* Service43;
48
- const bus = yield* Service84;
45
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
46
+ const location = yield* Service80;
47
+ const watcher = yield* Service50;
48
+ const bus = yield* Service82;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service82;
51
- const policy = yield* Service7;
50
+ const git = yield* Service83;
51
+ const policy = yield* Service13;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
100
100
  yield* awaitActivation2;
101
101
  yield* reconcile();
102
102
  }).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
103
- return Service6.of({});
103
+ return Service12.of({});
104
104
  }));
105
- var node7 = makeLocationNode({
106
- service: Service6,
105
+ var node14 = makeLocationNode({
106
+ service: Service12,
107
107
  layer,
108
- deps: [node45, FSUtil.node, node82, node86, node88, node20, node8]
108
+ deps: [node52, FSUtil.node, node84, node87, node86, node21, node15]
109
109
  });
110
110
 
111
- export { Service6, node7, exports_location_watcher2 };
111
+ export { Service12, node14, exports_location_watcher2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/repository.ts
6
6
  var exports_repository = {};
@@ -13,7 +13,7 @@ __export(exports_repository, {
13
13
  cachePath: () => cachePath2,
14
14
  isFile: () => isFile2,
15
15
  isRemote: () => isRemote2,
16
- parse: () => parse5,
16
+ parse: () => parse4,
17
17
  parseRemote: () => parseRemote2,
18
18
  same: () => same2,
19
19
  validateBranch: () => validateBranch3
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
39
39
  message: Schema.String
40
40
  }) {
41
41
  }
42
- function parse5(input) {
42
+ function parse4(input) {
43
43
  const cleaned = normalizeInput(input);
44
44
  if (!cleaned)
45
45
  return;
@@ -72,7 +72,7 @@ function parse5(input) {
72
72
  }
73
73
  }
74
74
  function parseRemote2(input) {
75
- const reference = parse5(input);
75
+ const reference = parse4(input);
76
76
  if (!reference) {
77
77
  throw new InvalidReferenceError2({
78
78
  repository: input,
@@ -172,4 +172,4 @@ function buildFile(input) {
172
172
  };
173
173
  }
174
174
 
175
- export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
175
+ export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  match2
3
- } from "./model-y1fvbwt7.js";
3
+ } from "./models-dev-y1fvbwt7.js";
4
4
  import {
5
5
  __export
6
- } from "./model-9rqn6x4v.js";
6
+ } from "./models-dev-9rqn6x4v.js";
7
7
 
8
8
  // src/managed-policy.ts
9
9
  var exports_managed_policy = {};
10
10
  __export(exports_managed_policy, {
11
11
  ManagedPolicy: () => exports_managed_policy,
12
- Service: () => Service16,
12
+ Service: () => Service46,
13
13
  decision: () => decision2,
14
- layer: () => layer10,
15
- node: () => node18,
14
+ layer: () => layer20,
15
+ node: () => node48,
16
16
  statements: () => statements2
17
17
  });
18
18
  import { isDeepStrictEqual } from "node:util";
19
19
  import { Context, Effect, Layer, PubSub, Stream } from "effect";
20
20
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
21
21
 
22
- class Service16 extends Context.Service()("@opencode/ManagedPolicy") {
22
+ class Service46 extends Context.Service()("@opencode/ManagedPolicy") {
23
23
  }
24
- var layer10 = Layer.effect(Service16, Effect.gen(function* () {
24
+ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
25
25
  const changes = yield* PubSub.unbounded();
26
26
  const state = { current: { statements: [] } };
27
- return Service16.of({
27
+ return Service46.of({
28
28
  changes: () => Stream.fromPubSub(changes),
29
29
  current: () => state.current,
30
30
  set: (next) => Effect.gen(function* () {
@@ -36,7 +36,7 @@ var layer10 = Layer.effect(Service16, Effect.gen(function* () {
36
36
  })
37
37
  });
38
38
  }));
39
- var node18 = makeGlobalNode({ service: Service16, layer: layer10, deps: [] });
39
+ var node48 = makeGlobalNode({ service: Service46, layer: layer20, deps: [] });
40
40
  function statements2(entries, organization) {
41
41
  return [
42
42
  ...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
50
50
  return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
51
51
  }
52
52
 
53
- export { Service16, layer10, node18, statements2, decision2, exports_managed_policy };
53
+ export { Service46, layer20, node48, statements2, decision2, exports_managed_policy };
@@ -1,49 +1,49 @@
1
1
  import {
2
- Service84,
3
- node88
4
- } from "./model-g0d965vs.js";
2
+ Service82,
3
+ node86
4
+ } from "./models-dev-f5b9jkp9.js";
5
5
  import {
6
- node45
7
- } from "./model-e70pe916.js";
6
+ node52
7
+ } from "./models-dev-b2e9bjkk.js";
8
8
  import {
9
9
  Service5,
10
10
  node6
11
- } from "./model-b77ja0wt.js";
11
+ } from "./models-dev-wfsmwj5g.js";
12
12
  import {
13
- Service16
14
- } from "./model-vppcbm3y.js";
13
+ Service46
14
+ } from "./models-dev-86kb63bw.js";
15
15
  import {
16
- Service26
17
- } from "./model-pf31ssb9.js";
16
+ Service23
17
+ } from "./models-dev-phz3h32g.js";
18
18
  import {
19
- node20,
20
- ID2
21
- } from "./model-afb9wseb.js";
19
+ node21,
20
+ ID3
21
+ } from "./models-dev-rhswqpbr.js";
22
22
  import {
23
- Service4,
24
- node5
25
- } from "./model-p37cw4rj.js";
23
+ Service2,
24
+ node3
25
+ } from "./models-dev-5yzzbxa7.js";
26
26
  import {
27
27
  requirements2,
28
28
  guarded2,
29
29
  list2
30
- } from "./model-gpdxzypf.js";
30
+ } from "./models-dev-51dbsqvm.js";
31
31
  import {
32
- make7,
32
+ make3,
33
33
  LoadError2
34
- } from "./model-qfxf707x.js";
34
+ } from "./models-dev-mdkqwhqk.js";
35
35
  import {
36
36
  Updated2,
37
37
  Service3,
38
38
  node4
39
- } from "./model-y2kcrf7q.js";
39
+ } from "./models-dev-7cx6vmvd.js";
40
40
  import {
41
- Service2,
42
- node3
43
- } from "./model-fdms3n6w.js";
41
+ Service4,
42
+ node5
43
+ } from "./models-dev-6hjx5zpb.js";
44
44
  import {
45
45
  __export
46
- } from "./model-9rqn6x4v.js";
46
+ } from "./models-dev-9rqn6x4v.js";
47
47
 
48
48
  // src/plugin/supervisor.ts
49
49
  var exports_supervisor = {};
@@ -127,7 +127,7 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
127
127
  failures: [
128
128
  ...failures.values(),
129
129
  ...ordered.filter(duplicate).map((plugin) => ({
130
- id: ID2.make(plugin.id),
130
+ id: ID3.make(plugin.id),
131
131
  source: plugin.source ?? { type: "builtin" },
132
132
  state: { status: "failed", error: `Duplicate plugin ID: ${plugin.id}` },
133
133
  features: { server: true, ...plugin.features }
@@ -137,14 +137,14 @@ var resolve = Effect.fn("PluginSupervisor.resolve")(function* (modules, pre, pos
137
137
  };
138
138
  });
139
139
  var layer3 = Layer.effectDiscard(Effect.gen(function* () {
140
- const managed = yield* Service16;
141
- const registry = yield* Service26;
140
+ const managed = yield* Service46;
141
+ const registry = yield* Service23;
142
142
  const sdk = yield* Service3;
143
- const instance = yield* Service4;
143
+ const instance = yield* Service2;
144
144
  const sources = yield* Service5;
145
- const modules = yield* make7();
146
- const bus = yield* Service84;
147
- const updates = yield* Service2;
145
+ const modules = yield* make3();
146
+ const bus = yield* Service82;
147
+ const updates = yield* Service4;
148
148
  const internal = yield* list2();
149
149
  let release = yield* registry.hold();
150
150
  yield* Effect.addFinalizer(() => release ?? Effect.void);
@@ -220,14 +220,14 @@ var layer3 = Layer.effectDiscard(Effect.gen(function* () {
220
220
  })), Effect.forkScoped({ startImmediately: true }));
221
221
  }));
222
222
  var nodeDeps = [
223
- node20,
223
+ node21,
224
224
  node4,
225
- node5,
226
- node6,
227
225
  node3,
228
- node88,
226
+ node6,
227
+ node5,
228
+ node86,
229
229
  Npm.node,
230
- node45,
230
+ node52,
231
231
  requirements2
232
232
  ];
233
233
  function pluginSource(target) {
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/session/environment.ts
6
6
  var exports_environment = {};
7
7
  __export(exports_environment, {
8
- Service: () => Service41,
8
+ Service: () => Service48,
9
9
  SessionEnvironment: () => exports_environment,
10
- node: () => node43
10
+ node: () => node50
11
11
  });
12
12
  import { Context, Effect, Layer } from "effect";
13
13
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
14
14
 
15
- class Service41 extends Context.Service()("@opencode/SessionEnvironment") {
15
+ class Service48 extends Context.Service()("@opencode/SessionEnvironment") {
16
16
  }
17
- var layer = Layer.sync(Service41, () => {
17
+ var layer = Layer.sync(Service48, () => {
18
18
  const environments = new Map;
19
- return Service41.of({
19
+ return Service48.of({
20
20
  get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
21
21
  set: (sessionID, variables) => Effect.sync(() => {
22
22
  environments.set(sessionID, { ...variables });
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service41, () => {
26
26
  })
27
27
  });
28
28
  });
29
- var node43 = makeGlobalNode({ service: Service41, layer, deps: [] });
29
+ var node50 = makeGlobalNode({ service: Service48, layer, deps: [] });
30
30
 
31
- export { Service41, node43, exports_environment };
31
+ export { Service48, node50, exports_environment };
@@ -1,33 +1,33 @@
1
1
  import {
2
- Service34
3
- } from "./model-9ae44cfy.js";
2
+ Service43
3
+ } from "./models-dev-4mwpykj0.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./model-pf31ssb9.js";
6
+ } from "./models-dev-phz3h32g.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./model-vqk1e85q.js";
9
+ } from "./models-dev-f5qq0z73.js";
10
10
  import {
11
- Service45
12
- } from "./model-p2x1ybm5.js";
11
+ Service35
12
+ } from "./models-dev-p8r370vm.js";
13
13
  import {
14
14
  __export
15
- } from "./model-9rqn6x4v.js";
15
+ } from "./models-dev-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
19
19
  __export(exports_skill4, {
20
20
  SessionSkill: () => exports_skill4,
21
- get: () => get5
21
+ get: () => get4
22
22
  });
23
23
  import { Effect } from "effect";
24
- var get5 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service34;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service45), instances.provide(input.session));
24
+ var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
+ const instances = yield* Service43;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service35), instances.provide(input.session));
27
27
  const skill = yield* skills.get(input.skill);
28
28
  if (!skill)
29
29
  return yield* new SkillNotFoundError2({ skill: input.skill });
30
30
  return skill;
31
31
  });
32
32
 
33
- export { get5, exports_skill4 };
33
+ export { get4, exports_skill4 };
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  WorktreeError2
3
- } from "./model-mp3rbb49.js";
3
+ } from "./models-dev-2r93mh4x.js";
4
4
  import {
5
- Service56
6
- } from "./model-8x2j076n.js";
5
+ Service60
6
+ } from "./models-dev-25fv0sh8.js";
7
7
  import {
8
8
  Service55
9
- } from "./model-rp09h2a9.js";
9
+ } from "./models-dev-k82cey18.js";
10
10
  import {
11
11
  DirectoryUnavailableError2
12
- } from "./model-0vbcp93d.js";
12
+ } from "./models-dev-0vbcp93d.js";
13
13
  import {
14
- Info25,
14
+ Info14,
15
15
  List2,
16
16
  InvalidDirectoryError2,
17
17
  StrategyUnavailableError2,
18
18
  OperationError2
19
- } from "./model-gb2d0a3q.js";
19
+ } from "./models-dev-58sqdaj5.js";
20
20
  import {
21
21
  __export
22
- } from "./model-9rqn6x4v.js";
22
+ } from "./models-dev-9rqn6x4v.js";
23
23
 
24
24
  // src/tool/plugin/opencode.ts
25
25
  var exports_opencode = {};
@@ -27,7 +27,7 @@ __export(exports_opencode, {
27
27
  ModelsInput: () => ModelsInput2,
28
28
  MoveInput: () => MoveInput2,
29
29
  OpenCodeTools: () => exports_opencode,
30
- Plugin: () => Plugin42,
30
+ Plugin: () => Plugin43,
31
31
  RenameInput: () => RenameInput2,
32
32
  WorktreeCreateInput: () => WorktreeCreateInput2,
33
33
  WorktreeRemoveInput: () => WorktreeRemoveInput2
@@ -97,11 +97,11 @@ var ModelsOutput = Schema.Struct({
97
97
  total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
98
98
  next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
99
99
  });
100
- var Plugin42 = {
100
+ var Plugin43 = {
101
101
  id: "opencode.tools",
102
102
  effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
103
103
  const access = yield* Service55;
104
- const permission = yield* Service56;
104
+ const permission = yield* Service60;
105
105
  const hook = (event) => Effect.sync(() => {
106
106
  event.system.push(SystemPart.make("When you create a worktree outside the current working directory and intend to use it as your primary working directory, consider using `execute` to call `tools.opencode.session_move` and make the worktree the session's working directory."));
107
107
  });
@@ -153,7 +153,7 @@ var Plugin42 = {
153
153
  name: "worktree_create",
154
154
  description: "Create a named worktree. Returns its directory.",
155
155
  input: WorktreeCreateInput2,
156
- output: Info25,
156
+ output: Info14,
157
157
  options: { namespace: "opencode", codemode: true, pinned: true },
158
158
  execute: (input) => ctx.worktree.create({ projectID: ctx.location.project.id, name: input.name }).pipe(Effect.map((output) => ({ output, content: `Created worktree in ${output.directory}.` })), Effect.mapError((error) => new ToolFailure({ message: `Unable to create worktree ${input.name}`, error })))
159
159
  });
@@ -250,4 +250,4 @@ function removeFailure(directory, error) {
250
250
  return `Unable to remove worktree ${directory}.`;
251
251
  }
252
252
 
253
- export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin42, exports_opencode };
253
+ export { RenameInput2, MoveInput2, WorktreeCreateInput2, WorktreeRemoveInput2, ModelsInput2, Plugin43, exports_opencode };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,16 +1,16 @@
1
1
  import {
2
- ID11
3
- } from "./model-am4dv7bb.js";
2
+ ID12
3
+ } from "./models-dev-bq6cmejr.js";
4
4
  import {
5
5
  configuredSettings2
6
- } from "./model-8ng4acg9.js";
6
+ } from "./models-dev-2276p8c4.js";
7
7
 
8
8
  // src/plugin/provider/cloudflare-ai-gateway.ts
9
9
  import { Effect } from "effect";
10
10
  import { isArrayNonEmpty } from "effect/Array";
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Form } from "@opencode/schema/form";
13
- var providerID = ID11.make("cloudflare-ai-gateway");
13
+ var providerID = ID12.make("cloudflare-ai-gateway");
14
14
  var accountIdField = Form.StringField.make({
15
15
  type: "string",
16
16
  key: "accountId",
@@ -2,6 +2,6 @@
2
2
  import * as SessionSchema2 from "@opencode/schema/session";
3
3
  import { Session } from "@opencode/schema/session";
4
4
  var ID9 = Session.ID;
5
- var Info16 = Session.Info;
5
+ var Info19 = Session.Info;
6
6
 
7
- export { ID9, Info16, SessionSchema2 };
7
+ export { ID9, Info19, SessionSchema2 };
@@ -1,7 +1,7 @@
1
1
  import {
2
- ID12,
3
- Service63
4
- } from "./model-5m24e1bs.js";
2
+ ID13,
3
+ Service75
4
+ } from "./models-dev-0c42kaf7.js";
5
5
 
6
6
  // src/plugin/provider/llmgateway.ts
7
7
  import { Effect } from "effect";
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
9
9
  var LLMGatewayPlugin2 = define({
10
10
  id: "opencode.provider.llmgateway",
11
11
  effect: Effect.fn(function* (ctx) {
12
- const integrations = yield* Service63;
12
+ const integrations = yield* Service75;
13
13
  const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
14
14
  yield* ctx.provider.transform((evt) => {
15
15
  for (const item of evt.list()) {
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
19
19
  continue;
20
20
  if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
21
21
  continue;
22
- if (!configured.has(ID12.make(item.provider.id)))
22
+ if (!configured.has(ID13.make(item.provider.id)))
23
23
  continue;
24
24
  evt.update(item.provider.id, (provider) => {
25
25
  provider.headers = {
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  name15,
3
3
  ps2
4
- } from "./model-9sbgnbhh.js";
4
+ } from "./models-dev-jrbfgch9.js";
5
5
  import {
6
6
  lazy2
7
- } from "./model-88xbtdfr.js";
7
+ } from "./models-dev-88xbtdfr.js";
8
8
  import {
9
9
  match2
10
- } from "./model-y1fvbwt7.js";
10
+ } from "./models-dev-y1fvbwt7.js";
11
11
  import {
12
12
  __export
13
- } from "./model-9rqn6x4v.js";
13
+ } from "./models-dev-9rqn6x4v.js";
14
14
 
15
15
  // src/shell/parse.ts
16
16
  var exports_parse = {};
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  __export
3
- } from "./model-9rqn6x4v.js";
3
+ } from "./models-dev-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/mcp-codemode-defaults.ts
6
6
  var exports_mcp_codemode_defaults = {};
7
7
  __export(exports_mcp_codemode_defaults, {
8
8
  McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
9
- Plugin: () => Plugin16
9
+ Plugin: () => Plugin12
10
10
  });
11
11
  import { define } from "@opencode/plugin/effect/plugin";
12
12
  import { Effect } from "effect";
13
13
  var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
14
14
  var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
15
15
  var mode = "x-posthog-mcp-mode";
16
- var Plugin16 = define({
16
+ var Plugin12 = define({
17
17
  id: "opencode.mcp.codemode.defaults",
18
18
  effect: Effect.fn(function* (ctx) {
19
19
  yield* ctx.mcp.transform((editor) => {
@@ -38,4 +38,4 @@ var Plugin16 = define({
38
38
  })
39
39
  });
40
40
 
41
- export { Plugin16, exports_mcp_codemode_defaults };
41
+ export { Plugin12, exports_mcp_codemode_defaults };
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./model-pyv0edze.js";
4
+ } from "./models-dev-pyv0edze.js";
5
5
  import {
6
6
  extension2,
7
7
  display2
8
- } from "./model-syv4x271.js";
8
+ } from "./models-dev-syv4x271.js";
9
9
  import {
10
10
  __export
11
- } from "./model-9rqn6x4v.js";
11
+ } from "./models-dev-9rqn6x4v.js";
12
12
 
13
13
  // src/codemode/tool.ts
14
14
  var exports_tool2 = {};