@opencode/core 0.0.0-dev-19299 → 0.0.0-dev-19301

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 (778) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +75 -75
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{shell-rhjbct0v.js → workspace-02nrjc1r.js} +6 -6
  9. package/dist/chunks/{shell-desah413.js → workspace-05dnp20b.js} +32 -32
  10. package/dist/chunks/{shell-jr1myxr3.js → workspace-09vseg8s.js} +24 -24
  11. package/dist/chunks/{shell-qag0q529.js → workspace-0caq5a2p.js} +18 -18
  12. package/dist/chunks/{shell-vvqxd921.js → workspace-0gqt70p3.js} +6 -6
  13. package/dist/chunks/{shell-18fyhaqr.js → workspace-0n965jn0.js} +31 -31
  14. package/dist/chunks/{shell-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
  15. package/dist/chunks/{shell-0q0f95c6.js → workspace-0q0f95c6.js} +1 -1
  16. package/dist/chunks/{shell-jap5vfbs.js → workspace-0zxft7wv.js} +10 -10
  17. package/dist/chunks/{shell-fad7jthp.js → workspace-1235z6h5.js} +11 -11
  18. package/dist/chunks/{shell-8ed5dapv.js → workspace-14encp35.js} +9 -9
  19. package/dist/chunks/{shell-r8xr0va3.js → workspace-1acjjqhc.js} +4 -4
  20. package/dist/chunks/{shell-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{shell-0hpxrkyb.js → workspace-1dfhrqqs.js} +5 -5
  22. package/dist/chunks/{shell-89216gat.js → workspace-1q7njqr8.js} +8 -8
  23. package/dist/chunks/{shell-tvs8yzpc.js → workspace-1xx3n8by.js} +8 -8
  24. package/dist/chunks/{shell-21r38tys.js → workspace-21r38tys.js} +1 -1
  25. package/dist/chunks/{shell-6k2bypnf.js → workspace-22ncyhda.js} +15 -15
  26. package/dist/chunks/{shell-2402vzrj.js → workspace-2402vzrj.js} +1 -1
  27. package/dist/chunks/{shell-hteb4sy5.js → workspace-285sk89s.js} +11 -11
  28. package/dist/chunks/{shell-c902c3h9.js → workspace-29zqcttt.js} +26 -26
  29. package/dist/chunks/{shell-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
  30. package/dist/chunks/{shell-6ersrjne.js → workspace-2jmaghvr.js} +6 -6
  31. package/dist/chunks/{shell-2k8khapm.js → workspace-2k8khapm.js} +1 -1
  32. package/dist/chunks/{shell-x270dfa1.js → workspace-2mfnacv9.js} +16 -16
  33. package/dist/chunks/{shell-zjvxgrfz.js → workspace-2r2a59vh.js} +15 -15
  34. package/dist/chunks/{shell-swc0pkqs.js → workspace-2rc0x19k.js} +9 -9
  35. package/dist/chunks/{shell-ptwhs400.js → workspace-39atg463.js} +23 -23
  36. package/dist/chunks/{shell-c8zh40b9.js → workspace-39yd8fs4.js} +41 -41
  37. package/dist/chunks/{shell-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
  38. package/dist/chunks/{shell-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
  39. package/dist/chunks/{shell-xdpfkwez.js → workspace-3m5pm5bg.js} +38 -38
  40. package/dist/chunks/{shell-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{shell-gq0a9pv7.js → workspace-3tejw0k5.js} +13 -13
  42. package/dist/chunks/{shell-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{shell-ewxvpahx.js → workspace-3xztec2w.js} +11 -11
  44. package/dist/chunks/{shell-mrd03y1j.js → workspace-4407emfp.js} +9 -9
  45. package/dist/chunks/{shell-bc9tah8j.js → workspace-481njsdn.js} +8 -8
  46. package/dist/chunks/{shell-20qr1f9s.js → workspace-4a1gzb1y.js} +16 -16
  47. package/dist/chunks/{shell-fkwrhsf7.js → workspace-4gwv5f10.js} +18 -18
  48. package/dist/chunks/{shell-2qab6ga2.js → workspace-4tyka3qy.js} +11 -11
  49. package/dist/chunks/{shell-rg4s5c95.js → workspace-512qfn16.js} +27 -27
  50. package/dist/chunks/{shell-56gdpj1q.js → workspace-56gdpj1q.js} +2 -2
  51. package/dist/chunks/{shell-5daktx2q.js → workspace-5daktx2q.js} +1 -1
  52. package/dist/chunks/{shell-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
  53. package/dist/chunks/{shell-pqqxfvch.js → workspace-5v3se96a.js} +11 -11
  54. package/dist/chunks/{shell-vzepkry7.js → workspace-62852zzh.js} +17 -17
  55. package/dist/chunks/{shell-z69s9t6b.js → workspace-62jy5cfr.js} +5 -5
  56. package/dist/chunks/{shell-ktqk9wm9.js → workspace-63bg78v6.js} +12 -12
  57. package/dist/chunks/{shell-m27pyyd3.js → workspace-63c29q5z.js} +8 -8
  58. package/dist/chunks/{shell-669tq793.js → workspace-669tq793.js} +1 -1
  59. package/dist/chunks/{shell-2hhhp258.js → workspace-6a1qkqw7.js} +15 -15
  60. package/dist/chunks/{shell-dkkztdya.js → workspace-6drwn6fk.js} +17 -17
  61. package/dist/chunks/{shell-9rh7p80v.js → workspace-6fqz5w64.js} +27 -27
  62. package/dist/chunks/{shell-6msgmcgs.js → workspace-6msgmcgs.js} +1 -1
  63. package/dist/chunks/{shell-h2r7bbkd.js → workspace-6n88yxkj.js} +8 -8
  64. package/dist/chunks/workspace-6pjhpf77.js +247 -0
  65. package/dist/chunks/{shell-ky97rf12.js → workspace-6prxjdtq.js} +10 -10
  66. package/dist/chunks/{shell-71q4at8m.js → workspace-71q4at8m.js} +1 -1
  67. package/dist/chunks/{shell-0v877kr8.js → workspace-71q4fb3j.js} +5 -5
  68. package/dist/chunks/{shell-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
  69. package/dist/chunks/{shell-xdh3xy78.js → workspace-7e5s0f2g.js} +6 -6
  70. package/dist/chunks/{shell-bcn7gkrj.js → workspace-7gh5mp13.js} +6 -6
  71. package/dist/chunks/{shell-sn3acatt.js → workspace-7xdajtbq.js} +13 -13
  72. package/dist/chunks/{shell-y5mrfvw4.js → workspace-81swgkk7.js} +9 -9
  73. package/dist/chunks/{shell-h9y0se6r.js → workspace-8734049b.js} +10 -10
  74. package/dist/chunks/{shell-r19qme2h.js → workspace-886z29pe.js} +8 -8
  75. package/dist/chunks/{shell-tcezcvh9.js → workspace-89znhe33.js} +4 -4
  76. package/dist/chunks/{shell-vmhtgab3.js → workspace-8cc7t6mx.js} +9 -9
  77. package/dist/chunks/{shell-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
  78. package/dist/chunks/{shell-8p4f9s12.js → workspace-8p4f9s12.js} +2 -2
  79. package/dist/chunks/{shell-zw6cm767.js → workspace-8qdvcyb6.js} +41 -41
  80. package/dist/chunks/{shell-bhct745e.js → workspace-8zz46eww.js} +17 -17
  81. package/dist/chunks/{shell-n76fdqym.js → workspace-90h7kwk9.js} +5 -5
  82. package/dist/chunks/{shell-70y17xeh.js → workspace-92azg307.js} +5 -5
  83. package/dist/chunks/{shell-va26gyj7.js → workspace-92t0khks.js} +39 -39
  84. package/dist/chunks/{shell-6fpr2q13.js → workspace-99tbqkcw.js} +10 -10
  85. package/dist/chunks/{shell-js0rm7nb.js → workspace-9e47yq11.js} +8 -8
  86. package/dist/chunks/{shell-54jgwn9b.js → workspace-9jdakqgh.js} +12 -12
  87. package/dist/chunks/{shell-hb21382w.js → workspace-9y444b6v.js} +4 -4
  88. package/dist/chunks/{shell-tfngb0ww.js → workspace-a0z4fccy.js} +4 -4
  89. package/dist/chunks/{shell-a1bz86dw.js → workspace-a1bz86dw.js} +3 -3
  90. package/dist/chunks/{shell-b4jn3br6.js → workspace-a78x0tqp.js} +17 -17
  91. package/dist/chunks/{shell-a76t9a7s.js → workspace-a9trz7xg.js} +9 -9
  92. package/dist/chunks/{shell-aaet6srn.js → workspace-aaet6srn.js} +2 -2
  93. package/dist/chunks/{shell-fgh0kbhd.js → workspace-aan3cyfv.js} +1 -1
  94. package/dist/chunks/{shell-e42zg7c9.js → workspace-am5y2yzp.js} +33 -33
  95. package/dist/chunks/{shell-7y1qfq25.js → workspace-an5gm3yx.js} +1 -1
  96. package/dist/chunks/{shell-y46htk8f.js → workspace-b2wfqz6v.js} +30 -30
  97. package/dist/chunks/{shell-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
  98. package/dist/chunks/{shell-qw53xxyx.js → workspace-bcatesge.js} +41 -41
  99. package/dist/chunks/{shell-tcaz1bq6.js → workspace-bjk09qw6.js} +11 -11
  100. package/dist/chunks/{shell-5ayyaxsv.js → workspace-bm3b3xby.js} +30 -30
  101. package/dist/chunks/{shell-d21bwxkq.js → workspace-bsdhcv6e.js} +32 -32
  102. package/dist/chunks/{shell-gj9xpvv3.js → workspace-bv56xrks.js} +6 -6
  103. package/dist/chunks/{shell-r0z2gdxb.js → workspace-bzg1m3qp.js} +8 -8
  104. package/dist/chunks/{shell-qka0hr3t.js → workspace-bzzbqws7.js} +5 -5
  105. package/dist/chunks/{shell-b6rw8h1c.js → workspace-c09967vq.js} +17 -17
  106. package/dist/chunks/{shell-v4wpewe9.js → workspace-c0zax72k.js} +32 -32
  107. package/dist/chunks/{shell-r80v4heq.js → workspace-ca6ew4kd.js} +14 -14
  108. package/dist/chunks/{shell-cfpkc3c9.js → workspace-cfpkc3c9.js} +2 -2
  109. package/dist/chunks/{shell-ke6544fm.js → workspace-cmssp0z9.js} +35 -35
  110. package/dist/chunks/{shell-zj136r52.js → workspace-cy127xek.js} +18 -18
  111. package/dist/chunks/{shell-7gvwkz6m.js → workspace-d2aac7k2.js} +5 -5
  112. package/dist/chunks/{shell-18e56dsp.js → workspace-d8nc1xcx.js} +4 -4
  113. package/dist/chunks/{shell-138zhwcg.js → workspace-d9sn21bc.js} +2 -2
  114. package/dist/chunks/{shell-g3nea3nn.js → workspace-dcbt4rr2.js} +28 -28
  115. package/dist/chunks/{shell-cmwkp3r5.js → workspace-dgj0dq1g.js} +8 -8
  116. package/dist/chunks/{shell-amyzqp92.js → workspace-dh49hrje.js} +4 -4
  117. package/dist/chunks/{shell-rpsff8a5.js → workspace-dmjeafns.js} +6 -6
  118. package/dist/chunks/{shell-jm9tsfw3.js → workspace-dszepm9d.js} +5 -5
  119. package/dist/chunks/{shell-h9gpzc29.js → workspace-e21tmfke.js} +13 -13
  120. package/dist/chunks/{shell-3a20re4p.js → workspace-e2crwazr.js} +15 -15
  121. package/dist/chunks/{shell-994aemam.js → workspace-e6451bx7.js} +22 -22
  122. package/dist/chunks/{shell-05w1n024.js → workspace-echv63h4.js} +10 -10
  123. package/dist/chunks/{shell-pmmw8deh.js → workspace-egfwjd08.js} +52 -52
  124. package/dist/chunks/{shell-63w78ebd.js → workspace-ep66wy90.js} +46 -46
  125. package/dist/chunks/{shell-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
  126. package/dist/chunks/{shell-f828m53h.js → workspace-f828m53h.js} +2 -2
  127. package/dist/chunks/{shell-hx84msds.js → workspace-f99k44yv.js} +3 -3
  128. package/dist/chunks/{shell-q59nfae1.js → workspace-f9qrme3f.js} +19 -19
  129. package/dist/chunks/{shell-k16ay38w.js → workspace-fb6ja2y4.js} +1 -1
  130. package/dist/chunks/{shell-sd7yc29c.js → workspace-fjbrq6mf.js} +11 -11
  131. package/dist/chunks/{shell-5f9fjpvd.js → workspace-fqghg761.js} +20 -20
  132. package/dist/chunks/{shell-fxbjtjnd.js → workspace-fxbjtjnd.js} +1 -1
  133. package/dist/chunks/{shell-cq37gk0t.js → workspace-fxqygnfa.js} +4 -4
  134. package/dist/chunks/{shell-b97hqjkq.js → workspace-fyjrpq2n.js} +8 -8
  135. package/dist/chunks/{shell-rtathh62.js → workspace-g1sb636y.js} +5 -5
  136. package/dist/chunks/{shell-z0kp0xfc.js → workspace-g22wb2pz.js} +4 -4
  137. package/dist/chunks/{shell-8pmkjsch.js → workspace-g43tytty.js} +15 -15
  138. package/dist/chunks/{shell-83nz3y93.js → workspace-g8475x4p.js} +10 -10
  139. package/dist/chunks/{shell-706y5kzp.js → workspace-g9s9j6xv.js} +24 -24
  140. package/dist/chunks/workspace-gap4xn4b.js +22 -0
  141. package/dist/chunks/{shell-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
  142. package/dist/chunks/{shell-x6n2md0c.js → workspace-gdpvacec.js} +4 -4
  143. package/dist/chunks/{shell-hvy5aax6.js → workspace-gh7n1bng.js} +13 -13
  144. package/dist/chunks/{shell-9f3htfzg.js → workspace-gj7hzhw3.js} +11 -11
  145. package/dist/chunks/{shell-gv6a8nnw.js → workspace-gv6a8nnw.js} +2 -2
  146. package/dist/chunks/{shell-cpk6j284.js → workspace-gxjpzw3n.js} +9 -9
  147. package/dist/chunks/{shell-zkhy8a1w.js → workspace-gxwzr3wg.js} +10 -10
  148. package/dist/chunks/{shell-h03wrkyp.js → workspace-h03wrkyp.js} +2 -2
  149. package/dist/chunks/{shell-ek4n1jkk.js → workspace-h26gkp4s.js} +9 -9
  150. package/dist/chunks/{shell-xmkt8jmy.js → workspace-h2nqgc31.js} +11 -11
  151. package/dist/chunks/{shell-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
  152. package/dist/chunks/{shell-96yt6zt0.js → workspace-hggyschk.js} +1 -1
  153. package/dist/chunks/{shell-43k15f45.js → workspace-hhvjvf8g.js} +4 -4
  154. package/dist/chunks/{shell-nhy5jxhy.js → workspace-hjt4xg1x.js} +4 -4
  155. package/dist/chunks/{shell-41kyjx1y.js → workspace-hn51r0q8.js} +6 -6
  156. package/dist/chunks/{shell-e2hjzebn.js → workspace-hn57h045.js} +4 -4
  157. package/dist/chunks/{shell-jv01nqvq.js → workspace-hnr5yq9h.js} +5 -5
  158. package/dist/chunks/{shell-xn4a1s6b.js → workspace-hpzydpnx.js} +2 -2
  159. package/dist/chunks/{shell-1awm1f41.js → workspace-hs7fbk9e.js} +12 -12
  160. package/dist/chunks/{shell-k1qcad96.js → workspace-j2vje5f9.js} +34 -34
  161. package/dist/chunks/{shell-bx7eg4z0.js → workspace-j3mqfpt8.js} +47 -47
  162. package/dist/chunks/{shell-j56e64zr.js → workspace-j56e64zr.js} +1 -1
  163. package/dist/chunks/{shell-qc6f3j7a.js → workspace-j6c7mg19.js} +5 -5
  164. package/dist/chunks/{shell-q19p4fn9.js → workspace-j7wq2tw5.js} +3 -3
  165. package/dist/chunks/{shell-x940zq77.js → workspace-jefma2gq.js} +10 -10
  166. package/dist/chunks/{shell-srpeewqc.js → workspace-jzcb5zg9.js} +9 -9
  167. package/dist/chunks/{shell-0rjzv2qt.js → workspace-jzh89m9h.js} +17 -17
  168. package/dist/chunks/{shell-jw80jp6b.js → workspace-k2h4r4s0.js} +4 -4
  169. package/dist/chunks/{shell-a08t2777.js → workspace-k2v8w9sh.js} +11 -11
  170. package/dist/chunks/{shell-9se2kd1x.js → workspace-k8g0aq43.js} +20 -20
  171. package/dist/chunks/{shell-fr8908f4.js → workspace-k9k0s8f0.js} +16 -16
  172. package/dist/chunks/{shell-kg06axw8.js → workspace-kg06axw8.js} +1 -1
  173. package/dist/chunks/{shell-3m73xpkh.js → workspace-kg892g7f.js} +33 -33
  174. package/dist/chunks/{shell-5nkpcfwc.js → workspace-kq1a8t9t.js} +25 -25
  175. package/dist/chunks/{shell-jh9n7czd.js → workspace-m8j1vn7p.js} +15 -15
  176. package/dist/chunks/{shell-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
  177. package/dist/chunks/{shell-b22s170t.js → workspace-mhte6216.js} +20 -20
  178. package/dist/chunks/{shell-mkcjrzeh.js → workspace-mkcjrzeh.js} +1 -1
  179. package/dist/chunks/{shell-97wsckqb.js → workspace-mp5h4hzc.js} +24 -24
  180. package/dist/chunks/{shell-jw31rss3.js → workspace-mwkcp274.js} +26 -26
  181. package/dist/chunks/{shell-zcp935tq.js → workspace-n0g6fzce.js} +13 -13
  182. package/dist/chunks/{shell-cxmnv656.js → workspace-n5atw2w8.js} +4 -4
  183. package/dist/chunks/{shell-56v372ka.js → workspace-njna6xd1.js} +24 -24
  184. package/dist/chunks/{shell-p422xgpw.js → workspace-np51q5jj.js} +41 -41
  185. package/dist/chunks/{shell-qrgq40sn.js → workspace-nr02nn09.js} +9 -9
  186. package/dist/chunks/{shell-fygdb7h7.js → workspace-ns261efr.js} +3 -3
  187. package/dist/chunks/{shell-25m32m9c.js → workspace-nxpjh8w5.js} +21 -21
  188. package/dist/chunks/{shell-s79t7y84.js → workspace-p0xsckgp.js} +6 -6
  189. package/dist/chunks/{shell-b0qfk3e8.js → workspace-p16wwb4c.js} +15 -15
  190. package/dist/chunks/{shell-jzban73a.js → workspace-p37kmksf.js} +23 -23
  191. package/dist/chunks/{shell-rsdf2nvv.js → workspace-paegk39x.js} +4 -4
  192. package/dist/chunks/{shell-2ehqxkpw.js → workspace-pbrpfg1g.js} +12 -12
  193. package/dist/chunks/{shell-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
  194. package/dist/chunks/{shell-pknna89w.js → workspace-pknna89w.js} +1 -1
  195. package/dist/chunks/{shell-0v53mg2y.js → workspace-pmr4s4kc.js} +4 -4
  196. package/dist/chunks/{shell-kzr6x06e.js → workspace-q5xvhvda.js} +6 -6
  197. package/dist/chunks/{shell-e7szzkhd.js → workspace-q5zg4735.js} +7 -7
  198. package/dist/chunks/{shell-aptkcqzk.js → workspace-q80jwr34.js} +41 -41
  199. package/dist/chunks/{shell-h6kmz9yd.js → workspace-q9jmjakx.js} +169 -169
  200. package/dist/chunks/{shell-qa3qhgw8.js → workspace-qa3qhgw8.js} +1 -1
  201. package/dist/chunks/{shell-fwwk8vbp.js → workspace-qa4rp7fn.js} +9 -9
  202. package/dist/chunks/{shell-x7cz8gr1.js → workspace-qavvsbzn.js} +22 -22
  203. package/dist/chunks/{shell-6d22mmhm.js → workspace-qdyrhweq.js} +11 -11
  204. package/dist/chunks/{shell-ygvd8b8c.js → workspace-qgdc71e1.js} +3 -3
  205. package/dist/chunks/{shell-b57s6jwk.js → workspace-qr3d7yj6.js} +32 -32
  206. package/dist/chunks/{shell-qsdy395h.js → workspace-qsdy395h.js} +1 -1
  207. package/dist/chunks/{shell-2vc21b52.js → workspace-qy5sepm7.js} +6 -6
  208. package/dist/chunks/{shell-ksz0h0wp.js → workspace-r0vgb2sm.js} +1 -1
  209. package/dist/chunks/{shell-hz8qtd9r.js → workspace-r3fv6v1m.js} +24 -24
  210. package/dist/chunks/{shell-ejnnja69.js → workspace-r533rs18.js} +10 -10
  211. package/dist/chunks/{shell-j028xdjb.js → workspace-r5x6zcsm.js} +3 -3
  212. package/dist/chunks/{shell-rap9a73h.js → workspace-rap9a73h.js} +1 -1
  213. package/dist/chunks/{shell-9y2ew1rf.js → workspace-rkqzecgv.js} +30 -30
  214. package/dist/chunks/{shell-7jw46hp1.js → workspace-rn192n82.js} +28 -28
  215. package/dist/chunks/{shell-emmyw7mw.js → workspace-rtnzfgta.js} +57 -57
  216. package/dist/chunks/{shell-c4tw6aft.js → workspace-rvrc2w8n.js} +20 -20
  217. package/dist/chunks/{shell-wqak0vb9.js → workspace-rxemfqdb.js} +27 -27
  218. package/dist/chunks/{shell-618mw38d.js → workspace-rzr2835t.js} +9 -9
  219. package/dist/chunks/{shell-w4t3nk4h.js → workspace-s9039swt.js} +34 -34
  220. package/dist/chunks/{shell-f8q7mv7a.js → workspace-sczgc2a3.js} +1 -1
  221. package/dist/chunks/{shell-ve0vypz6.js → workspace-sh3bgw0e.js} +16 -16
  222. package/dist/chunks/{shell-00xsej0j.js → workspace-snqjhxtt.js} +11 -11
  223. package/dist/chunks/{shell-vyqn3nqs.js → workspace-spt9fbav.js} +6 -6
  224. package/dist/chunks/{shell-vsqc0n3y.js → workspace-t0grjbht.js} +14 -14
  225. package/dist/chunks/{shell-zhxw6mnd.js → workspace-t7bagm3w.js} +2 -2
  226. package/dist/chunks/{shell-tmf5q148.js → workspace-t8f5a5hy.js} +7 -7
  227. package/dist/chunks/{shell-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
  228. package/dist/chunks/{shell-p2cyn4p5.js → workspace-tdn6ycjd.js} +288 -288
  229. package/dist/chunks/{shell-tdstcens.js → workspace-tdstcens.js} +1 -1
  230. package/dist/chunks/{shell-aqxxzgb1.js → workspace-thrcthqp.js} +9 -9
  231. package/dist/chunks/{shell-10d00zpt.js → workspace-tjabks10.js} +21 -21
  232. package/dist/chunks/{shell-dj9sq318.js → workspace-tn0aqsam.js} +5 -5
  233. package/dist/chunks/{shell-zakbxfw5.js → workspace-tq5h294s.js} +18 -18
  234. package/dist/chunks/{shell-tvtrv512.js → workspace-tvtrv512.js} +1 -1
  235. package/dist/chunks/{shell-t0x5rdq8.js → workspace-twy35tz0.js} +9 -9
  236. package/dist/chunks/{shell-7tc1bkdm.js → workspace-tx10d39y.js} +24 -24
  237. package/dist/chunks/{shell-4b7zwk5x.js → workspace-v9v77gq9.js} +15 -15
  238. package/dist/chunks/{shell-veqvce7d.js → workspace-veqvce7d.js} +1 -1
  239. package/dist/chunks/{shell-tettmk12.js → workspace-vg3c0nsb.js} +8 -8
  240. package/dist/chunks/{shell-n2cfwsx3.js → workspace-vh8m22te.js} +46 -46
  241. package/dist/chunks/{shell-0pkbjn6r.js → workspace-vmjwh0y2.js} +24 -24
  242. package/dist/chunks/{shell-yxfce51e.js → workspace-vt4mzp30.js} +18 -18
  243. package/dist/chunks/{shell-e9pvhpj1.js → workspace-vxpjwrg1.js} +33 -33
  244. package/dist/chunks/{shell-vzcthcp8.js → workspace-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{shell-m3ncy77r.js → workspace-w12rp218.js} +6 -6
  246. package/dist/chunks/{shell-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{shell-wx9wy1qm.js → workspace-w79zsp0s.js} +1 -1
  248. package/dist/chunks/{shell-zr0pwyem.js → workspace-wb6pntek.js} +16 -16
  249. package/dist/chunks/{shell-wd87259q.js → workspace-wd87259q.js} +1 -1
  250. package/dist/chunks/{shell-jygyrd66.js → workspace-wdby5any.js} +4 -4
  251. package/dist/chunks/{shell-tx48azwr.js → workspace-we7qc7n1.js} +35 -35
  252. package/dist/chunks/{shell-dmvjrdjg.js → workspace-wgdttpnq.js} +15 -15
  253. package/dist/chunks/{shell-fv6yey1z.js → workspace-wgnb6efq.js} +10 -10
  254. package/dist/chunks/{shell-y03df9yv.js → workspace-wjycmk11.js} +7 -7
  255. package/dist/chunks/{shell-dsst23xf.js → workspace-wpm2rk0p.js} +8 -8
  256. package/dist/chunks/{shell-f0hazdnn.js → workspace-wsg88bk6.js} +76 -76
  257. package/dist/chunks/{shell-7yef7cvy.js → workspace-wtcjs487.js} +11 -11
  258. package/dist/chunks/{shell-gccfn8rw.js → workspace-x0tn6qwv.js} +26 -26
  259. package/dist/chunks/{shell-x1ezjp6w.js → workspace-x1ezjp6w.js} +1 -1
  260. package/dist/chunks/{shell-x43y2vfs.js → workspace-x43y2vfs.js} +2 -2
  261. package/dist/chunks/{shell-fccy21eq.js → workspace-xaz800th.js} +25 -25
  262. package/dist/chunks/{shell-6hh53734.js → workspace-xekzrwwc.js} +9 -9
  263. package/dist/chunks/{shell-r9babyk8.js → workspace-xep7y6dg.js} +1 -1
  264. package/dist/chunks/{shell-x6cmkhdm.js → workspace-xgp3syj5.js} +4 -4
  265. package/dist/chunks/{shell-2tjgwr1s.js → workspace-xgy598e9.js} +35 -35
  266. package/dist/chunks/{shell-7z6sde0c.js → workspace-xn9fr5jd.js} +26 -26
  267. package/dist/chunks/{shell-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
  268. package/dist/chunks/{shell-t0gs96tb.js → workspace-y3wj6ntt.js} +11 -11
  269. package/dist/chunks/{shell-fpq9acqp.js → workspace-y5j69yad.js} +6 -6
  270. package/dist/chunks/{shell-dpkg50ah.js → workspace-y71avatq.js} +4 -4
  271. package/dist/chunks/{shell-ftdj6rwn.js → workspace-y8pp3er9.js} +20 -20
  272. package/dist/chunks/{shell-r4am0p4d.js → workspace-ypfgjb30.js} +22 -22
  273. package/dist/chunks/{shell-yrhqyw5v.js → workspace-yrhqyw5v.js} +1 -1
  274. package/dist/chunks/{shell-yrznvahk.js → workspace-yrznvahk.js} +2 -2
  275. package/dist/chunks/{shell-zxegzph2.js → workspace-ys0mtxyj.js} +23 -23
  276. package/dist/chunks/{shell-t8jgb82e.js → workspace-ys6344d6.js} +11 -11
  277. package/dist/chunks/{shell-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
  278. package/dist/chunks/{shell-z63w68vq.js → workspace-z63w68vq.js} +2 -2
  279. package/dist/chunks/{shell-2a9rpc71.js → workspace-z72x676g.js} +82 -82
  280. package/dist/chunks/{shell-yy1a830f.js → workspace-zbcg40zh.js} +11 -11
  281. package/dist/chunks/{shell-gv1gd9by.js → workspace-ze0f0baa.js} +25 -25
  282. package/dist/chunks/{shell-zeh9ct20.js → workspace-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{shell-v03gdzqm.js → workspace-zg6etqwm.js} +20 -20
  284. package/dist/chunks/{shell-2qfg8d7s.js → workspace-zgshgwpw.js} +16 -16
  285. package/dist/chunks/{shell-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{shell-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +1 -1
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +81 -81
  291. package/dist/config/discovery.js +79 -79
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +115 -115
  295. package/dist/config/plugin/command.js +207 -207
  296. package/dist/config/plugin/compaction.js +155 -155
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +117 -117
  299. package/dist/config/plugin/image.js +115 -115
  300. package/dist/config/plugin/instruction.js +85 -85
  301. package/dist/config/plugin/location-watcher.js +117 -117
  302. package/dist/config/plugin/mcp.js +124 -124
  303. package/dist/config/plugin/policy.js +114 -114
  304. package/dist/config/plugin/provider.js +113 -113
  305. package/dist/config/plugin/reference.js +117 -117
  306. package/dist/config/plugin/shell.js +116 -116
  307. package/dist/config/plugin/skill-file.js +97 -97
  308. package/dist/config/plugin/skill.js +134 -134
  309. package/dist/config/plugin/snapshot.js +115 -115
  310. package/dist/config/plugin/source.js +117 -117
  311. package/dist/config/plugin/tool-output.js +117 -117
  312. package/dist/config/plugin/websearch.js +113 -113
  313. package/dist/config/plugin/worktree.js +118 -118
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +115 -115
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +83 -83
  319. package/dist/database/database.js +64 -64
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  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 +16 -16
  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.gen.js +47 -47
  383. package/dist/database/migration.js +49 -49
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +74 -74
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +88 -88
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +90 -90
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +68 -68
  407. package/dist/file-access.js +99 -99
  408. package/dist/file-mutation.js +89 -89
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +222 -222
  418. package/dist/filesystem/protected.js +3 -3
  419. package/dist/filesystem/search.js +99 -99
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +11 -11
  422. package/dist/filesystem.js +102 -102
  423. package/dist/form.js +84 -84
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +82 -82
  426. package/dist/generate.js +93 -93
  427. package/dist/git.js +7 -7
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.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 +352 -352
  452. package/dist/instruction-discovery.js +79 -79
  453. package/dist/instructions/builtins.js +82 -82
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +84 -84
  457. package/dist/job.js +75 -75
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +71 -71
  460. package/dist/location-activity.js +125 -125
  461. package/dist/location-mutation.js +99 -99
  462. package/dist/location-service-map.js +81 -81
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +84 -84
  465. package/dist/mcp/client.js +86 -86
  466. package/dist/mcp/index.js +103 -103
  467. package/dist/mcp/instructions.js +118 -118
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +85 -85
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +86 -86
  473. package/dist/model.js +8 -8
  474. package/dist/models-dev.js +86 -86
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +76 -76
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +104 -104
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +86 -86
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +73 -73
  484. package/dist/plugin/agent.js +97 -97
  485. package/dist/plugin/command.js +94 -94
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +213 -213
  488. package/dist/plugin/instance.js +5 -5
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +75 -75
  492. package/dist/plugin/module.js +5 -5
  493. package/dist/plugin/optimize.js +4 -4
  494. package/dist/plugin/plan.js +97 -97
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/anthropic.js +2 -2
  499. package/dist/plugin/provider/azure.js +118 -118
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +114 -114
  505. package/dist/plugin/provider/digitalocean.js +79 -79
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +80 -80
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +76 -76
  514. package/dist/plugin/provider/lmstudio.js +117 -117
  515. package/dist/plugin/provider/mistral.js +2 -2
  516. package/dist/plugin/provider/modal.js +79 -79
  517. package/dist/plugin/provider/nvidia.js +2 -2
  518. package/dist/plugin/provider/ollama.js +117 -117
  519. package/dist/plugin/provider/openai-compatible.js +1 -1
  520. package/dist/plugin/provider/openai.js +80 -80
  521. package/dist/plugin/provider/opencode.js +76 -76
  522. package/dist/plugin/provider/openrouter.js +3 -3
  523. package/dist/plugin/provider/perplexity.js +2 -2
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +117 -117
  530. package/dist/plugin/provider/xai.js +77 -77
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +156 -156
  533. package/dist/plugin/sdk.js +72 -72
  534. package/dist/plugin/service.js +1 -1
  535. package/dist/plugin/skill.js +131 -131
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -342
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +82 -82
  541. package/dist/plugin/vcs/hg.js +82 -82
  542. package/dist/plugin/warming.js +112 -112
  543. package/dist/plugin/websearch/exa.js +5 -5
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +2 -2
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +216 -216
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +83 -83
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +1 -1
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +88 -88
  558. package/dist/reference/instructions.js +82 -82
  559. package/dist/reference.js +86 -86
  560. package/dist/repository-cache.js +76 -76
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +93 -93
  564. package/dist/rpc.js +81 -81
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +72 -72
  567. package/dist/session/compaction.js +127 -127
  568. package/dist/session/context.js +145 -145
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +213 -213
  573. package/dist/session/execution.js +122 -122
  574. package/dist/session/generate.js +148 -148
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +88 -88
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +77 -77
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +92 -92
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +113 -113
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +126 -126
  586. package/dist/session/projector.js +84 -84
  587. package/dist/session/prompt.js +100 -100
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +85 -85
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +225 -225
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +86 -86
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +110 -110
  597. package/dist/session/runner/step.js +121 -121
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +169 -169
  601. package/dist/session/shell.js +131 -131
  602. package/dist/session/skill.js +98 -98
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +71 -71
  605. package/dist/session/store.js +81 -81
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +205 -205
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +151 -151
  610. package/dist/session/to-session-error.js +107 -107
  611. package/dist/session/transfer.js +212 -212
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +213 -213
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +9 -9
  618. package/dist/shell.js +133 -133
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +100 -100
  621. package/dist/skill.js +107 -107
  622. package/dist/snapshot.js +86 -86
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +121 -121
  627. package/dist/tool/plugin/edit.js +115 -115
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +118 -118
  630. package/dist/tool/plugin/grep.js +120 -120
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +117 -117
  633. package/dist/tool/plugin/question.js +98 -98
  634. package/dist/tool/plugin/read.js +119 -119
  635. package/dist/tool/plugin/shell.js +210 -210
  636. package/dist/tool/plugin/skill.js +106 -106
  637. package/dist/tool/plugin/subagent.js +214 -214
  638. package/dist/tool/plugin/webfetch.js +103 -103
  639. package/dist/tool/plugin/websearch.js +107 -107
  640. package/dist/tool/plugin/write.js +117 -117
  641. package/dist/tool/read-filesystem.js +96 -96
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +1 -1
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +5 -5
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +1 -1
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +85 -85
  672. package/dist/websearch.js +80 -80
  673. package/dist/wellknown/plugin.js +74 -74
  674. package/dist/wellknown.js +77 -77
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +78 -78
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -341
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +89 -89
  683. package/package.json +8 -8
  684. package/dist/chunks/shell-9cbfsecp.js +0 -247
  685. package/dist/chunks/shell-ya8xe20p.js +0 -22
  686. /package/dist/chunks/{shell-0mesazry.js → workspace-0mesazry.js} +0 -0
  687. /package/dist/chunks/{shell-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{shell-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{shell-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{shell-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{shell-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{shell-2710q6r3.js → workspace-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{shell-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{shell-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{shell-359p4xyc.js → workspace-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{shell-3asan66x.js → workspace-3asan66x.js} +0 -0
  697. /package/dist/chunks/{shell-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{shell-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{shell-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{shell-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{shell-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{shell-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
  703. /package/dist/chunks/{shell-53557ph1.js → workspace-53557ph1.js} +0 -0
  704. /package/dist/chunks/{shell-550bvhaj.js → workspace-550bvhaj.js} +0 -0
  705. /package/dist/chunks/{shell-6prwharc.js → workspace-6prwharc.js} +0 -0
  706. /package/dist/chunks/{shell-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
  707. /package/dist/chunks/{shell-7m9af43g.js → workspace-7m9af43g.js} +0 -0
  708. /package/dist/chunks/{shell-822emrt2.js → workspace-822emrt2.js} +0 -0
  709. /package/dist/chunks/{shell-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
  710. /package/dist/chunks/{shell-8n3pysct.js → workspace-8n3pysct.js} +0 -0
  711. /package/dist/chunks/{shell-922hggd3.js → workspace-922hggd3.js} +0 -0
  712. /package/dist/chunks/{shell-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
  713. /package/dist/chunks/{shell-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
  714. /package/dist/chunks/{shell-a1tpkmh4.js → workspace-a1tpkmh4.js} +0 -0
  715. /package/dist/chunks/{shell-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{shell-af5trqkr.js → workspace-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{shell-afrmfg78.js → workspace-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{shell-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{shell-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{shell-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{shell-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{shell-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{shell-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{shell-d9fn303g.js → workspace-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{shell-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{shell-dajrwvna.js → workspace-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{shell-dap0rakb.js → workspace-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{shell-df08tz66.js → workspace-df08tz66.js} +0 -0
  729. /package/dist/chunks/{shell-dy18nga0.js → workspace-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{shell-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{shell-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{shell-ec1grn59.js → workspace-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{shell-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{shell-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{shell-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{shell-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{shell-faypxj3z.js → workspace-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{shell-fd410y7t.js → workspace-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{shell-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{shell-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{shell-g86h250q.js → workspace-g86h250q.js} +0 -0
  742. /package/dist/chunks/{shell-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{shell-gftt206x.js → workspace-gftt206x.js} +0 -0
  744. /package/dist/chunks/{shell-hjbc5kem.js → workspace-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{shell-hk9envan.js → workspace-hk9envan.js} +0 -0
  746. /package/dist/chunks/{shell-hrnqkpcd.js → workspace-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{shell-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{shell-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{shell-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{shell-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{shell-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{shell-mp448xyj.js → workspace-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{shell-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{shell-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{shell-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{shell-njntx4h6.js → workspace-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{shell-paphc93g.js → workspace-paphc93g.js} +0 -0
  758. /package/dist/chunks/{shell-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{shell-q74kybfr.js → workspace-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{shell-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{shell-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{shell-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{shell-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{shell-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{shell-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{shell-sk3qaz4a.js → workspace-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{shell-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{shell-twg0f83k.js → workspace-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{shell-w803qqfp.js → workspace-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{shell-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{shell-wtztk69x.js → workspace-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{shell-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{shell-x61499pn.js → workspace-x61499pn.js} +0 -0
  774. /package/dist/chunks/{shell-y44na4kk.js → workspace-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{shell-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{shell-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
  777. /package/dist/chunks/{shell-ym463w8f.js → workspace-ym463w8f.js} +0 -0
  778. /package/dist/chunks/{shell-z9919s4g.js → workspace-z9919s4g.js} +0 -0
@@ -1,48 +1,48 @@
1
1
  import {
2
2
  Metadata2,
3
3
  useragent2,
4
- node82
5
- } from "./shell-t8jgb82e.js";
4
+ node40
5
+ } from "./workspace-ys6344d6.js";
6
6
  import {
7
7
  provenance2,
8
8
  compatible2
9
- } from "./shell-rsdf2nvv.js";
9
+ } from "./workspace-paegk39x.js";
10
10
  import {
11
- Service70,
12
- node74
13
- } from "./shell-js0rm7nb.js";
11
+ Service69,
12
+ node73
13
+ } from "./workspace-9e47yq11.js";
14
14
  import {
15
15
  DeclinedError2
16
- } from "./shell-aptkcqzk.js";
16
+ } from "./workspace-q80jwr34.js";
17
17
  import {
18
18
  CancelledError2
19
- } from "./shell-vmhtgab3.js";
19
+ } from "./workspace-8cc7t6mx.js";
20
20
  import {
21
- Error3
22
- } from "./shell-56v372ka.js";
21
+ Error2
22
+ } from "./workspace-njna6xd1.js";
23
23
  import {
24
- Service32,
25
- node37
26
- } from "./shell-fad7jthp.js";
24
+ Service29,
25
+ node34
26
+ } from "./workspace-1235z6h5.js";
27
27
  import {
28
- make14
29
- } from "./shell-nhy5jxhy.js";
28
+ make15
29
+ } from "./workspace-hjt4xg1x.js";
30
30
  import {
31
31
  toLLMMessages2
32
- } from "./shell-wx9wy1qm.js";
32
+ } from "./workspace-w79zsp0s.js";
33
33
  import {
34
34
  __export
35
- } from "./shell-9rqn6x4v.js";
35
+ } from "./workspace-9rqn6x4v.js";
36
36
 
37
37
  // src/session/model-request.ts
38
38
  var exports_model_request = {};
39
39
  __export(exports_model_request, {
40
- Service: () => Service31,
40
+ Service: () => Service28,
41
41
  SessionModelRequest: () => exports_model_request,
42
42
  baseTranscript: () => baseTranscript2,
43
43
  boundImages: () => boundImages2,
44
- layer: () => layer13,
45
- node: () => node36,
44
+ layer: () => layer11,
45
+ node: () => node33,
46
46
  unsupportedParts: () => unsupportedParts2
47
47
  });
48
48
  import { HttpOptions, LanguageModel, LLM, LLMRequest, Message, SystemPart } from "@opencode/ai";
@@ -62,7 +62,7 @@ var baseTranscript2 = (input) => {
62
62
  return {
63
63
  providerMetadataKey,
64
64
  system: [
65
- input.agent.system ? input.agent.system : make14(input.tools.definitions.map((tool) => tool.name)),
65
+ input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
66
66
  input.initial
67
67
  ].filter((part) => part.length > 0).map(SystemPart.make),
68
68
  messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
@@ -189,11 +189,11 @@ var httpMiddleware = (hooks, scope) => (request, handler) => Effect.gen(function
189
189
  return HttpClientResponse.fromWeb(sent, after.response);
190
190
  }).pipe(Effect.mapError((cause) => cause instanceof Error ? cause : new Error(String(cause))));
191
191
 
192
- class Service31 extends Context.Service()("@opencode/SessionModelRequest") {
192
+ class Service28 extends Context.Service()("@opencode/SessionModelRequest") {
193
193
  }
194
- var layer13 = Layer.effect(Service31, Effect.gen(function* () {
195
- const hooks = yield* Service70;
196
- const transport = yield* Service32;
194
+ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
195
+ const hooks = yield* Service69;
196
+ const transport = yield* Service29;
197
197
  const app = yield* Metadata2;
198
198
  const prepare = Effect.fn("SessionModelRequest.prepare")(function* (input) {
199
199
  const session = input.scope.session;
@@ -201,7 +201,7 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
201
201
  const model = resolved.model;
202
202
  const tools = input.scope.tools ?? {
203
203
  definitions: [],
204
- execute: () => new Error3({ message: "Tools are not available for this request" })
204
+ execute: () => new Error2({ message: "Tools are not available for this request" })
205
205
  };
206
206
  const registry = new Map(tools.definitions.map((tool) => [tool.name, tool]));
207
207
  const given = new Map(tools.definitions.map((tool) => [{ description: tool.description, input: { ...tool.inputSchema } }, tool]));
@@ -261,12 +261,12 @@ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
261
261
  executeTool
262
262
  };
263
263
  });
264
- return Service31.of({ prepare });
264
+ return Service28.of({ prepare });
265
265
  }));
266
- var node36 = makeLocationNode({
267
- service: Service31,
268
- layer: layer13,
269
- deps: [node74, node37, node82]
266
+ var node33 = makeLocationNode({
267
+ service: Service28,
268
+ layer: layer11,
269
+ deps: [node73, node34, node40]
270
270
  });
271
271
 
272
- export { baseTranscript2, unsupportedParts2, boundImages2, Service31, layer13, node36, exports_model_request };
272
+ export { baseTranscript2, unsupportedParts2, boundImages2, Service28, layer11, node33, exports_model_request };
@@ -3,34 +3,34 @@ import {
3
3
  WrongKind2,
4
4
  Failed2,
5
5
  typeFollowing2
6
- } from "./shell-2a5m3afh.js";
6
+ } from "./workspace-2a5m3afh.js";
7
7
  import {
8
8
  execDefaults2
9
- } from "./shell-1dazxqgg.js";
9
+ } from "./workspace-1dazxqgg.js";
10
10
  import {
11
11
  makeLocalDriver2
12
- } from "./shell-b6gygkdw.js";
12
+ } from "./workspace-b6gygkdw.js";
13
13
  import {
14
14
  makeMemoryDriver2
15
- } from "./shell-aaet6srn.js";
15
+ } from "./workspace-aaet6srn.js";
16
16
  import {
17
- Service74,
18
- node78
19
- } from "./shell-b6rw8h1c.js";
17
+ Service76,
18
+ node81
19
+ } from "./workspace-c09967vq.js";
20
20
  import {
21
- Service49,
22
- node53
23
- } from "./shell-7z6sde0c.js";
21
+ Service75,
22
+ node79
23
+ } from "./workspace-xn9fr5jd.js";
24
24
  import {
25
25
  __export
26
- } from "./shell-9rqn6x4v.js";
26
+ } from "./workspace-9rqn6x4v.js";
27
27
 
28
28
  // src/environment/environment.ts
29
29
  var exports_environment2 = {};
30
30
  __export(exports_environment2, {
31
31
  EnvironmentService: () => exports_environment2,
32
- Service: () => Service48,
33
- node: () => node52
32
+ Service: () => Service74,
33
+ node: () => node78
34
34
  });
35
35
  import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,13 +43,13 @@ __export(exports_environment3, {
43
43
  Environment: () => exports_environment3,
44
44
  Failed: () => Failed2,
45
45
  NotFound: () => NotFound2,
46
- Service: () => Service48,
46
+ Service: () => Service74,
47
47
  WrongKind: () => WrongKind2,
48
48
  execDefaults: () => execDefaults2,
49
49
  makeFiles: () => makeFiles2,
50
50
  makeLocalDriver: () => makeLocalDriver2,
51
51
  makeMemoryDriver: () => makeMemoryDriver2,
52
- node: () => node52,
52
+ node: () => node78,
53
53
  typeFollowing: () => typeFollowing2
54
54
  });
55
55
  var makeFiles2 = (driver) => ({
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
58
58
  });
59
59
 
60
60
  // src/environment/environment.ts
61
- class Service48 extends Context.Service()("@opencode/Environment") {
61
+ class Service74 extends Context.Service()("@opencode/Environment") {
62
62
  }
63
- var layer = Layer.effect(Service48, Effect.gen(function* () {
63
+ var layer = Layer.effect(Service74, Effect.gen(function* () {
64
64
  const spawner = yield* ChildProcessSpawner;
65
- const location = yield* Service74;
66
- const workspace = yield* Service49;
65
+ const location = yield* Service76;
66
+ const workspace = yield* Service75;
67
67
  const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
68
- return Service48.of({ files: makeFiles2(driver), spawner: driver.spawner });
68
+ return Service74.of({ files: makeFiles2(driver), spawner: driver.spawner });
69
69
  }));
70
- var node52 = makeLocationNode({
71
- service: Service48,
70
+ var node78 = makeLocationNode({
71
+ service: Service74,
72
72
  layer,
73
- deps: [CrossSpawnSpawner.node, node78, node53]
73
+ deps: [CrossSpawnSpawner.node, node81, node79]
74
74
  });
75
75
 
76
- export { Service48, node52, exports_environment2, makeFiles2, exports_environment3 };
76
+ export { Service74, node78, exports_environment2, makeFiles2, exports_environment3 };
@@ -1,61 +1,61 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./shell-hx84msds.js";
4
+ } from "./workspace-f99k44yv.js";
5
5
  import {
6
6
  reserveSequence2,
7
7
  Service79,
8
8
  node84
9
- } from "./shell-z0kp0xfc.js";
9
+ } from "./workspace-g22wb2pz.js";
10
10
  import {
11
11
  SessionEvent2
12
- } from "./shell-ec1grn59.js";
12
+ } from "./workspace-ec1grn59.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./shell-gftt206x.js";
15
+ } from "./workspace-gftt206x.js";
16
16
  import {
17
- update3
18
- } from "./shell-0hpxrkyb.js";
17
+ update2
18
+ } from "./workspace-1dfhrqqs.js";
19
19
  import {
20
20
  AbsolutePath2,
21
21
  RelativePath2
22
- } from "./shell-922hggd3.js";
22
+ } from "./workspace-922hggd3.js";
23
23
  import {
24
24
  ProjectTable2
25
- } from "./shell-8p4f9s12.js";
25
+ } from "./workspace-8p4f9s12.js";
26
26
  import {
27
27
  SessionTable2,
28
28
  SessionMessageTable2,
29
29
  SessionInboxTable2
30
- } from "./shell-a1bz86dw.js";
30
+ } from "./workspace-a1bz86dw.js";
31
31
  import {
32
32
  projectAdmitted2,
33
33
  projectDelivered2,
34
34
  projectCancelled2,
35
35
  projectDeliveryChanged2
36
- } from "./shell-97wsckqb.js";
36
+ } from "./workspace-mp5h4hzc.js";
37
37
  import {
38
38
  apply2,
39
39
  initialize3,
40
40
  advanceEpoch2,
41
41
  reset2
42
- } from "./shell-cq37gk0t.js";
42
+ } from "./workspace-fxqygnfa.js";
43
43
  import {
44
44
  initialize2
45
- } from "./shell-zjvxgrfz.js";
45
+ } from "./workspace-2r2a59vh.js";
46
46
  import {
47
47
  Slug2
48
- } from "./shell-gebd4c9n.js";
48
+ } from "./workspace-gebd4c9n.js";
49
49
  import {
50
50
  __export
51
- } from "./shell-9rqn6x4v.js";
51
+ } from "./workspace-9rqn6x4v.js";
52
52
 
53
53
  // src/session/projector.ts
54
54
  var exports_projector = {};
55
55
  __export(exports_projector, {
56
56
  SessionAlreadyProjected: () => SessionAlreadyProjected2,
57
57
  SessionProjector: () => exports_projector,
58
- node: () => node35
58
+ node: () => node27
59
59
  });
60
60
  import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
61
61
  import { DateTime, Effect, Layer, Schema, Stream } from "effect";
@@ -245,7 +245,7 @@ function run(db, event) {
245
245
  updateCompaction: updateMessage,
246
246
  appendMessage
247
247
  };
248
- yield* update3(adapter, event);
248
+ yield* update2(adapter, event);
249
249
  });
250
250
  }
251
251
  function insertMessage(db, event, message) {
@@ -455,6 +455,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
455
455
  return publishSessionUsage(db, bus, event.data.sessionID);
456
456
  }), Effect.forkScoped({ startImmediately: true }));
457
457
  }));
458
- var node35 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
458
+ var node27 = makeGlobalNode({ name: "session-projector", layer, deps: [node84, node85] });
459
459
 
460
- export { SessionAlreadyProjected2, node35, exports_projector };
460
+ export { SessionAlreadyProjected2, node27, exports_projector };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  useragent2
3
- } from "./shell-t8jgb82e.js";
3
+ } from "./workspace-ys6344d6.js";
4
4
  import {
5
- ID18
6
- } from "./shell-m27pyyd3.js";
5
+ ID10
6
+ } from "./workspace-63c29q5z.js";
7
7
  import {
8
8
  iife2
9
- } from "./shell-1kg9ymc8.js";
9
+ } from "./workspace-1kg9ymc8.js";
10
10
  import {
11
11
  configuredSettings2
12
- } from "./shell-e7szzkhd.js";
12
+ } from "./workspace-q5zg4735.js";
13
13
 
14
14
  // src/plugin/provider/cloudflare-ai-gateway.ts
15
15
  import os from "os";
16
16
  import { Effect, Option, Schema } from "effect";
17
17
  import { define } from "@opencode/plugin/effect/plugin";
18
18
  import { Form } from "@opencode/schema/form";
19
- var providerID = ID18.make("cloudflare-ai-gateway");
19
+ var providerID = ID10.make("cloudflare-ai-gateway");
20
20
  var CloudflareAIGatewayPlugin2 = define({
21
21
  id: "opencode.provider.cloudflare.ai.gateway",
22
22
  effect: Effect.fn(function* (ctx) {
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  Service80
3
- } from "./shell-hx84msds.js";
3
+ } from "./workspace-f99k44yv.js";
4
4
  import {
5
5
  Service79
6
- } from "./shell-z0kp0xfc.js";
6
+ } from "./workspace-g22wb2pz.js";
7
7
  import {
8
- Service59
9
- } from "./shell-fpq9acqp.js";
8
+ Service41
9
+ } from "./workspace-y5j69yad.js";
10
10
  import {
11
11
  userNotification2
12
- } from "./shell-fxbjtjnd.js";
12
+ } from "./workspace-fxbjtjnd.js";
13
13
  import {
14
14
  SessionMessage2
15
- } from "./shell-gftt206x.js";
15
+ } from "./workspace-gftt206x.js";
16
16
  import {
17
- NotFoundError8,
17
+ NotFoundError9,
18
18
  MessageNotFoundError2,
19
19
  MessageNotAssistantError2,
20
20
  MessageIncompleteError2,
@@ -24,61 +24,61 @@ import {
24
24
  CompactionConflictError2,
25
25
  BusyError2,
26
26
  InboxConflictError2
27
- } from "./shell-m3ncy77r.js";
27
+ } from "./workspace-w12rp218.js";
28
28
  import {
29
29
  SessionEvent2
30
- } from "./shell-ec1grn59.js";
30
+ } from "./workspace-ec1grn59.js";
31
31
  import {
32
32
  Service67
33
- } from "./shell-tettmk12.js";
33
+ } from "./workspace-vg3c0nsb.js";
34
34
  import {
35
35
  Delivery2,
36
36
  SyntheticPayload2,
37
- Service57
38
- } from "./shell-97wsckqb.js";
37
+ Service39
38
+ } from "./workspace-mp5h4hzc.js";
39
39
  import {
40
- Service55
41
- } from "./shell-k1qcad96.js";
40
+ Service37
41
+ } from "./workspace-j2vje5f9.js";
42
42
  import {
43
43
  prepare2
44
- } from "./shell-fr8908f4.js";
44
+ } from "./workspace-k9k0s8f0.js";
45
45
  import {
46
46
  stage2,
47
47
  clear2,
48
48
  commit2
49
- } from "./shell-9se2kd1x.js";
49
+ } from "./workspace-k8g0aq43.js";
50
50
  import {
51
51
  start2
52
- } from "./shell-swc0pkqs.js";
52
+ } from "./workspace-2rc0x19k.js";
53
53
  import {
54
54
  get4
55
- } from "./shell-8ed5dapv.js";
55
+ } from "./workspace-14encp35.js";
56
56
  import {
57
57
  __export
58
- } from "./shell-9rqn6x4v.js";
58
+ } from "./workspace-9rqn6x4v.js";
59
59
 
60
60
  // src/session/session.ts
61
61
  var exports_session2 = {};
62
62
  __export(exports_session2, {
63
63
  Session: () => exports_session2,
64
- make: () => make12
64
+ make: () => make13
65
65
  });
66
66
  import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
67
67
  import { Event } from "@opencode/schema/event";
68
68
  import { FSUtil } from "@opencode/util/fs-util";
69
- var make12 = Effect.fn("Session.make")(function* () {
69
+ var make13 = Effect.fn("Session.make")(function* () {
70
70
  const bus = yield* Service79;
71
71
  const database = yield* Service80;
72
72
  const store = yield* Service67;
73
- const instances = yield* Service59;
74
- const execution = yield* Service55;
75
- const admission = yield* Service57;
73
+ const instances = yield* Service41;
74
+ const execution = yield* Service37;
75
+ const admission = yield* Service39;
76
76
  const fs = yield* FSUtil.Service;
77
77
  const scope = yield* Scope.Scope;
78
78
  const get = Effect.fn("Session.get")(function* (sessionID) {
79
79
  const session = yield* store.get(sessionID);
80
80
  if (!session)
81
- return yield* new NotFoundError8({ sessionID });
81
+ return yield* new NotFoundError9({ sessionID });
82
82
  return session;
83
83
  });
84
84
  const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
@@ -154,7 +154,7 @@ var make12 = Effect.fn("Session.make")(function* () {
154
154
  });
155
155
  if (existing)
156
156
  return existing;
157
- const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service59, instances), Effect.provideService(FSUtil.Service, fs)));
157
+ const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
158
158
  if (session.revert)
159
159
  yield* commit2(bus, session);
160
160
  return yield* admission.admit({
@@ -170,7 +170,7 @@ var make12 = Effect.fn("Session.make")(function* () {
170
170
  const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
171
171
  const session = yield* get(sessionID);
172
172
  const running = yield* Effect.gen(function* () {
173
- const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service59, instances), Effect.tapError((error) => synthetic(sessionID, {
173
+ const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
174
174
  text: `User shell command failed to start:
175
175
  ${input.command}
176
176
 
@@ -199,7 +199,7 @@ ${error.message}`,
199
199
  });
200
200
  const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
201
201
  const session = yield* get(sessionID);
202
- const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service59, instances));
202
+ const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
203
203
  yield* bus.publish(SessionEvent2.Skill.Activated, {
204
204
  sessionID,
205
205
  id: skill.id,
@@ -256,13 +256,13 @@ ${error.message}`,
256
256
  const session = yield* get(sessionID);
257
257
  if (yield* execution.isActive(sessionID))
258
258
  return yield* new BusyError2({ sessionID });
259
- return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
259
+ return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service80, database), Effect.provideService(Service79, bus));
260
260
  });
261
261
  const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
262
262
  const session = yield* get(sessionID);
263
263
  if (yield* execution.isActive(sessionID))
264
264
  return yield* new BusyError2({ sessionID });
265
- yield* clear2(session).pipe(Effect.provideService(Service59, instances), Effect.provideService(Service79, bus));
265
+ yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service79, bus));
266
266
  return yield* execution.wake(sessionID);
267
267
  });
268
268
  const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
348
348
  return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
349
349
  }
350
350
 
351
- export { make12, exports_session2 };
351
+ export { make13, exports_session2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/provider-options.ts
6
6
  var exports_provider_options = {};
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./workspace-9rqn6x4v.js";
4
4
 
5
5
  // src/util/error-summary.ts
6
6
  var exports_error_summary = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Ref3
3
- } from "./shell-b6rw8h1c.js";
2
+ Ref4
3
+ } from "./workspace-c09967vq.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/location-service-map.ts
9
9
  var exports_location_service_map = {};
10
10
  __export(exports_location_service_map, {
11
11
  LocationServiceMap: () => exports_location_service_map,
12
- Service: () => Service60,
12
+ Service: () => Service43,
13
13
  canonical: () => canonical3,
14
- node: () => node64
14
+ node: () => node47
15
15
  });
16
16
  import { Context, Effect, Layer } from "effect";
17
17
  import { LayerNode } from "@opencode/util/effect/layer-node";
18
18
  import { Node } from "@opencode/util/effect/app-node";
19
19
  import { AbsolutePath } from "@opencode/schema/schema";
20
20
  import path from "path";
21
- class Service60 extends Context.Service()("@opencode/example/LocationServiceMap") {
21
+ class Service43 extends Context.Service()("@opencode/example/LocationServiceMap") {
22
22
  static get(ref) {
23
- return Layer.unwrap(Effect.map(Service60, (locations) => locations.get(ref)));
23
+ return Layer.unwrap(Effect.map(Service43, (locations) => locations.get(ref)));
24
24
  }
25
25
  }
26
- var node64 = LayerNode.unbound(Service60, Node.tags.values.global);
26
+ var node47 = LayerNode.unbound(Service43, Node.tags.values.global);
27
27
  function canonical3(ref) {
28
- return Ref3.make({
28
+ return Ref4.make({
29
29
  directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
30
30
  workspaceID: ref.workspaceID
31
31
  });
32
32
  }
33
33
 
34
- export { Service60, node64, canonical3, exports_location_service_map };
34
+ export { Service43, node47, canonical3, exports_location_service_map };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./shell-5t3nmthw.js";
3
+ } from "./workspace-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service32,
11
+ Service: () => Service29,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer14,
13
+ layer: () => layer12,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node37
15
+ node: () => node34
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
31
31
  });
32
32
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
33
33
 
34
- class Service32 extends Context.Service()("@opencode/SessionModelTransport") {
34
+ class Service29 extends Context.Service()("@opencode/SessionModelTransport") {
35
35
  }
36
36
  var transportError = (message, input) => new AIError({
37
37
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
55
55
  return Effect.fail(observation.error);
56
56
  };
57
57
  var observationTerminal = (observation) => observation.type !== "frame";
58
- var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* () {
58
+ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* () {
59
59
  const scope = yield* Scope.Scope;
60
60
  const states = new Map;
61
61
  const state = (sessionID) => {
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service32, Effect.gen(function* ()
331
331
  }, { discard: true });
332
332
  });
333
333
  yield* Effect.addFinalizer(() => closeAll);
334
- return Service32.of({ bind, close, closeAll });
334
+ return Service29.of({ bind, close, closeAll });
335
335
  }));
336
- var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
336
+ var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
337
337
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
338
338
  })));
339
- var node37 = makeGlobalNode({ service: Service32, layer: layer14, deps: [webSocketConstructor2] });
339
+ var node34 = makeGlobalNode({ service: Service29, layer: layer12, deps: [webSocketConstructor2] });
340
340
 
341
- export { Service32, makeLayer2, layer14, node37, exports_model_transport };
341
+ export { Service29, makeLayer2, layer12, node34, exports_model_transport };
@@ -1,18 +1,18 @@
1
1
  import {
2
- Service59
3
- } from "./shell-fpq9acqp.js";
2
+ Service41
3
+ } from "./workspace-y5j69yad.js";
4
4
  import {
5
5
  awaitActivation2
6
- } from "./shell-rap9a73h.js";
6
+ } from "./workspace-rap9a73h.js";
7
7
  import {
8
8
  SkillNotFoundError2
9
- } from "./shell-m3ncy77r.js";
9
+ } from "./workspace-w12rp218.js";
10
10
  import {
11
- Service36
12
- } from "./shell-7tc1bkdm.js";
11
+ Service64
12
+ } from "./workspace-tx10d39y.js";
13
13
  import {
14
14
  __export
15
- } from "./shell-9rqn6x4v.js";
15
+ } from "./workspace-9rqn6x4v.js";
16
16
 
17
17
  // src/session/skill.ts
18
18
  var exports_skill4 = {};
@@ -22,8 +22,8 @@ __export(exports_skill4, {
22
22
  });
23
23
  import { Effect } from "effect";
24
24
  var get4 = Effect.fn("SessionSkill.get")(function* (input) {
25
- const instances = yield* Service59;
26
- const skills = yield* awaitActivation2.pipe(Effect.andThen(Service36), instances.provide(input.session));
25
+ const instances = yield* Service41;
26
+ const skills = yield* awaitActivation2.pipe(Effect.andThen(Service64), 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 });