@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,23 +1,23 @@
1
1
  import {
2
2
  llmClient2
3
- } from "./shell-5t3nmthw.js";
3
+ } from "./workspace-5t3nmthw.js";
4
4
  import {
5
- Service62,
6
- node66
7
- } from "./shell-p422xgpw.js";
5
+ Service44,
6
+ node48
7
+ } from "./workspace-np51q5jj.js";
8
8
  import {
9
9
  __export
10
- } from "./shell-9rqn6x4v.js";
10
+ } from "./workspace-9rqn6x4v.js";
11
11
 
12
12
  // src/generate.ts
13
- var exports_generate = {};
14
- __export(exports_generate, {
15
- Generate: () => exports_generate,
13
+ var exports_generate2 = {};
14
+ __export(exports_generate2, {
15
+ Generate: () => exports_generate2,
16
16
  ModelSelectionError: () => ModelSelectionError2,
17
- Service: () => Service20,
18
- UnavailableError: () => UnavailableError2,
19
- layer: () => layer9,
20
- node: () => node24
17
+ Service: () => Service36,
18
+ UnavailableError: () => UnavailableError3,
19
+ layer: () => layer17,
20
+ node: () => node41
21
21
  });
22
22
  import { LLM, LLMClient } from "@opencode/ai";
23
23
  import { Context, Effect, Layer, Schema } from "effect";
@@ -27,17 +27,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
27
27
  }) {
28
28
  }
29
29
 
30
- class UnavailableError2 extends Schema.TaggedError()("Generate.UnavailableError", {
30
+ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
31
31
  message: Schema.String,
32
32
  service: Schema.optional(Schema.String)
33
33
  }) {
34
34
  }
35
35
 
36
- class Service20 extends Context.Service()("@opencode/Generate") {
36
+ class Service36 extends Context.Service()("@opencode/Generate") {
37
37
  }
38
- var layer9 = Layer.effect(Service20, Effect.gen(function* () {
38
+ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
39
39
  const llm = yield* LLMClient.Service;
40
- const resolver = yield* Service62;
40
+ const resolver = yield* Service44;
41
41
  const runText = Effect.fn("Generate.text")(function* (input) {
42
42
  const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
43
43
  "SessionRunnerModel.VariantUnavailableError",
@@ -45,28 +45,28 @@ var layer9 = Layer.effect(Service20, Effect.gen(function* () {
45
45
  "SessionRunnerModel.UnresolvedProviderVariablesError",
46
46
  "SessionRunnerModel.UnsupportedCompactionError"
47
47
  ], (error) => {
48
- const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError2({ message: error.message, service: error.providerID });
48
+ const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
49
49
  return Effect.fail(mapped);
50
50
  }));
51
51
  if (!resolved)
52
52
  return yield* new ModelSelectionError2({
53
53
  message: input.model ? `Model unavailable: ${input.model.providerID}/${input.model.id}` : "No model specified and no supported model is available"
54
54
  });
55
- const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError2({
55
+ const response = yield* llm.generate(LLM.request({ model: resolved.model, prompt: input.prompt })).pipe(Effect.mapError((error) => new UnavailableError3({
56
56
  message: error.message,
57
57
  service: resolved.ref.providerID
58
58
  })));
59
59
  return response.text;
60
60
  });
61
- const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError2({
61
+ const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
62
62
  message: "Generation credentials are unavailable"
63
63
  })));
64
- return Service20.of({ text });
64
+ return Service36.of({ text });
65
65
  }));
66
- var node24 = makeLocationNode({
67
- service: Service20,
68
- layer: layer9,
69
- deps: [node66, llmClient2]
66
+ var node41 = makeLocationNode({
67
+ service: Service36,
68
+ layer: layer17,
69
+ deps: [node48, llmClient2]
70
70
  });
71
71
 
72
- export { ModelSelectionError2, UnavailableError2, Service20, layer9, node24, exports_generate };
72
+ export { ModelSelectionError2, UnavailableError3, Service36, layer17, node41, exports_generate2 };
@@ -1,45 +1,45 @@
1
1
  import {
2
- Service52
3
- } from "./shell-zj136r52.js";
2
+ Service60
3
+ } from "./workspace-cy127xek.js";
4
4
  import {
5
5
  unavailable3
6
- } from "./shell-rhjbct0v.js";
6
+ } from "./workspace-02nrjc1r.js";
7
7
  import {
8
8
  AbsolutePath2
9
- } from "./shell-922hggd3.js";
9
+ } from "./workspace-922hggd3.js";
10
10
  import {
11
11
  File2,
12
- Service40
13
- } from "./shell-c4tw6aft.js";
12
+ Service34
13
+ } from "./workspace-rvrc2w8n.js";
14
14
  import {
15
- Service74
16
- } from "./shell-b6rw8h1c.js";
15
+ Service76
16
+ } from "./workspace-c09967vq.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/config/plugin/instruction.ts
22
22
  var exports_instruction = {};
23
23
  __export(exports_instruction, {
24
24
  ConfigInstructionPlugin: () => exports_instruction,
25
- Plugin: () => Plugin5
25
+ Plugin: () => Plugin18
26
26
  });
27
27
  import { define } from "@opencode/plugin/effect/plugin";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
29
  import { Global } from "@opencode/util/global";
30
30
  import { dirname, join } from "path";
31
31
  import { Effect, PubSub, Semaphore, Stream } from "effect";
32
- var Plugin5 = define({
32
+ var Plugin18 = define({
33
33
  id: "opencode.config.instruction",
34
34
  effect: Effect.fn(function* () {
35
- const discovery = yield* Service40;
35
+ const discovery = yield* Service34;
36
36
  if (!discovery.project && !discovery.global)
37
37
  return;
38
38
  yield* Effect.gen(function* () {
39
39
  const fs = yield* FSUtil.Service;
40
40
  const global = yield* Global.Service;
41
- const location = yield* Service74;
42
- const watcher = yield* Service52;
41
+ const location = yield* Service76;
42
+ const watcher = yield* Service60;
43
43
  const changes = yield* PubSub.sliding(1);
44
44
  const lock = Semaphore.makeUnsafe(1);
45
45
  const start = yield* fs.resolve(location.directory);
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
114
114
  return [start, ...ancestorDirectories(dirname(start), stop)];
115
115
  }
116
116
 
117
- export { Plugin5, exports_instruction };
117
+ export { Plugin18, exports_instruction };
@@ -4,7 +4,7 @@ import {
4
4
  orderSelectedFields2,
5
5
  mapUpdateSet2,
6
6
  getTableLikeName2
7
- } from "./shell-emrn6kk6.js";
7
+ } from "./workspace-emrn6kk6.js";
8
8
 
9
9
  // src/database/drizzle/sqlite-core/effect/update.ts
10
10
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,23 +1,23 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./shell-z0kp0xfc.js";
4
+ } from "./workspace-g22wb2pz.js";
5
5
  import {
6
- Service74,
7
- node78
8
- } from "./shell-b6rw8h1c.js";
6
+ Service76,
7
+ node81
8
+ } from "./workspace-c09967vq.js";
9
9
  import {
10
10
  reconcile2,
11
11
  create3
12
- } from "./shell-kg06axw8.js";
12
+ } from "./workspace-kg06axw8.js";
13
13
  import {
14
14
  PATCH_CONTEXT_LINES2,
15
15
  MAX_TOTAL_PATCH_BYTES2,
16
16
  emptyPatch2
17
- } from "./shell-tazgh4e4.js";
17
+ } from "./workspace-tazgh4e4.js";
18
18
  import {
19
19
  __export
20
- } from "./shell-9rqn6x4v.js";
20
+ } from "./workspace-9rqn6x4v.js";
21
21
 
22
22
  // src/vcs.ts
23
23
  var exports_vcs = {};
@@ -26,17 +26,17 @@ __export(exports_vcs, {
26
26
  BranchList: () => BranchList2,
27
27
  DiffError: () => DiffError2,
28
28
  FileStatus: () => FileStatus2,
29
- Info: () => Info8,
29
+ Info: () => Info4,
30
30
  Mode: () => Mode2,
31
- Service: () => Service44,
31
+ Service: () => Service19,
32
32
  Vcs: () => exports_vcs,
33
- node: () => node48
33
+ node: () => node23
34
34
  });
35
35
  import path from "path";
36
36
  import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
37
37
  import { FileDiff } from "@opencode/schema/file-diff";
38
38
  import { FileSystem } from "@opencode/schema/filesystem";
39
- import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
39
+ import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
40
40
  import { VcsEvent } from "@opencode/schema/vcs-event";
41
41
  import { makeLocationNode } from "@opencode/util/effect/app-node";
42
42
  import { FSUtil } from "@opencode/util/fs-util";
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
45
45
  }) {
46
46
  }
47
47
 
48
- class Service44 extends Context.Service()("@opencode/Vcs") {
48
+ class Service19 extends Context.Service()("@opencode/Vcs") {
49
49
  }
50
- var layer = Layer.effect(Service44, Effect.gen(function* () {
50
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
51
51
  const fs = yield* FSUtil.Service;
52
- const location = yield* Service74;
52
+ const location = yield* Service76;
53
53
  const bus = yield* Service79;
54
54
  const root = yield* Effect.scope;
55
55
  const fork = yield* FiberSet.makeRuntime();
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
62
62
  canonical: location.project.canonical,
63
63
  ...vcs ? { store: vcs.store } : {}
64
64
  };
65
- const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
65
+ const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
66
66
  const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
67
67
  const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
68
68
  const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
115
115
  const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
116
116
  yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
117
117
  }
118
- return Service44.of({
118
+ return Service19.of({
119
119
  transform: state.transform,
120
120
  reload: state.reload,
121
121
  info: Effect.fn("Vcs.info")(function* () {
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
161
161
  })
162
162
  });
163
163
  }));
164
- var node48 = makeLocationNode({
165
- service: Service44,
164
+ var node23 = makeLocationNode({
165
+ service: Service19,
166
166
  layer,
167
- deps: [FSUtil.node, node78, node84]
167
+ deps: [FSUtil.node, node81, node84]
168
168
  });
169
169
 
170
- export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service44, node48, exports_vcs };
170
+ export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service19, node23, exports_vcs };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createProviderPlugin2
3
- } from "./shell-ym463w8f.js";
3
+ } from "./workspace-ym463w8f.js";
4
4
 
5
5
  // src/plugin/provider/mistral.ts
6
6
  var MistralPlugin2 = createProviderPlugin2({
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  Service80,
3
3
  node85
4
- } from "./shell-hx84msds.js";
4
+ } from "./workspace-f99k44yv.js";
5
5
  import {
6
6
  makeUnsafe2
7
- } from "./shell-dpkg50ah.js";
7
+ } from "./workspace-y71avatq.js";
8
8
  import {
9
9
  Service79,
10
10
  node84
11
- } from "./shell-z0kp0xfc.js";
11
+ } from "./workspace-g22wb2pz.js";
12
12
  import {
13
13
  SessionEvent2
14
- } from "./shell-ec1grn59.js";
14
+ } from "./workspace-ec1grn59.js";
15
15
  import {
16
16
  SessionMessage2
17
- } from "./shell-gftt206x.js";
17
+ } from "./workspace-gftt206x.js";
18
18
  import {
19
19
  SessionSchema2
20
- } from "./shell-q19p4fn9.js";
20
+ } from "./workspace-j7wq2tw5.js";
21
21
  import {
22
22
  SessionMessageTable2,
23
23
  SessionInboxTable2
24
- } from "./shell-a1bz86dw.js";
24
+ } from "./workspace-a1bz86dw.js";
25
25
  import {
26
26
  __export
27
- } from "./shell-9rqn6x4v.js";
27
+ } from "./workspace-9rqn6x4v.js";
28
28
 
29
29
  // src/session/inbox.ts
30
30
  var exports_inbox = {};
@@ -32,12 +32,12 @@ __export(exports_inbox, {
32
32
  Compaction: () => Compaction2,
33
33
  CompactionPayload: () => CompactionPayload2,
34
34
  Delivery: () => Delivery2,
35
- Info: () => Info21,
35
+ Info: () => Info7,
36
36
  Item: () => Item2,
37
37
  LifecycleConflict: () => LifecycleConflict2,
38
38
  Move: () => Move2,
39
39
  MovePayload: () => MovePayload2,
40
- Service: () => Service57,
40
+ Service: () => Service39,
41
41
  SessionInbox: () => exports_inbox,
42
42
  Synthetic: () => Synthetic2,
43
43
  SyntheticPayload: () => SyntheticPayload2,
@@ -45,12 +45,12 @@ __export(exports_inbox, {
45
45
  UserPayload: () => UserPayload2,
46
46
  find: () => find2,
47
47
  has: () => has2,
48
- layer: () => layer21,
49
- list: () => list4,
50
- make: () => make17,
48
+ layer: () => layer19,
49
+ list: () => list3,
50
+ make: () => make18,
51
51
  moveIDs: () => moveIDs2,
52
52
  nextPromotable: () => nextPromotable2,
53
- node: () => node61,
53
+ node: () => node43,
54
54
  projectAdmitted: () => projectAdmitted2,
55
55
  projectCancelled: () => projectCancelled2,
56
56
  projectDelivered: () => projectDelivered2,
@@ -65,7 +65,7 @@ import {
65
65
  Compaction as Compaction2,
66
66
  CompactionPayload as CompactionPayload2,
67
67
  Delivery as Delivery2,
68
- Info as Info21,
68
+ Info as Info7,
69
69
  Item as Item2,
70
70
  Move as Move2,
71
71
  MovePayload as MovePayload2,
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
151
151
  return yield* new LifecycleConflict2({ id });
152
152
  });
153
153
 
154
- class Service57 extends Context.Service()("@opencode/SessionInbox") {
154
+ class Service39 extends Context.Service()("@opencode/SessionInbox") {
155
155
  }
156
- var make17 = Effect.fn("SessionInbox.make")(function* () {
156
+ var make18 = Effect.fn("SessionInbox.make")(function* () {
157
157
  const database = yield* Service80;
158
158
  const db = database.db;
159
159
  const bus = yield* Service79;
@@ -173,7 +173,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
173
173
  inboxID: request.id,
174
174
  sessionID: request.sessionID,
175
175
  item: request.item
176
- }).pipe(Effect.map((event) => Info21.make({
176
+ }).pipe(Effect.map((event) => Info7.make({
177
177
  id: request.id,
178
178
  sessionID: request.sessionID,
179
179
  timeCreated: DateTime.makeUnsafe(event.created),
@@ -193,7 +193,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
193
193
  }
194
194
  if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
195
195
  return yield* new LifecycleConflict2({ id: input.id });
196
- const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
196
+ const pending = (yield* list3(db, input.sessionID)).find((item) => item.type === "compaction");
197
197
  if (pending)
198
198
  return pending;
199
199
  return yield* admit({
@@ -218,7 +218,7 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
218
218
  delivery: "queue"
219
219
  })));
220
220
  return {
221
- list: (sessionID) => list4(db, sessionID),
221
+ list: (sessionID) => list3(db, sessionID),
222
222
  reconcile,
223
223
  admit,
224
224
  admitCompaction,
@@ -227,8 +227,8 @@ var make17 = Effect.fn("SessionInbox.make")(function* () {
227
227
  queue
228
228
  };
229
229
  });
230
- var layer21 = Layer.effect(Service57, make17());
231
- var node61 = makeGlobalNode({ service: Service57, layer: layer21, deps: [node85, node84] });
230
+ var layer19 = Layer.effect(Service39, make18());
231
+ var node43 = makeGlobalNode({ service: Service39, layer: layer19, deps: [node85, node84] });
232
232
  var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
233
233
  const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
234
234
  if (message !== undefined)
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
266
266
  from: input.delivery === "steer" ? "queue" : "steer",
267
267
  to: input.delivery
268
268
  }));
269
- var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
269
+ var list3 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
270
270
  const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
271
271
  return rows.map(fromRow);
272
272
  });
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
326
326
  return rows;
327
327
  }));
328
328
 
329
- export { Compaction2, CompactionPayload2, Delivery2, Info21, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service57, make17, layer21, node61, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
329
+ export { Compaction2, CompactionPayload2, Delivery2, Info7, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service39, make18, layer19, node43, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list3, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
@@ -1,45 +1,45 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./shell-z0kp0xfc.js";
4
+ } from "./workspace-g22wb2pz.js";
5
5
  import {
6
- Service29,
7
- node33
8
- } from "./shell-bx7eg4z0.js";
6
+ Service32,
7
+ node37
8
+ } from "./workspace-j3mqfpt8.js";
9
9
  import {
10
10
  Service65,
11
11
  node69
12
- } from "./shell-aptkcqzk.js";
12
+ } from "./workspace-q80jwr34.js";
13
13
  import {
14
- Service38,
15
- node42
16
- } from "./shell-56v372ka.js";
14
+ Service35,
15
+ node39
16
+ } from "./workspace-njna6xd1.js";
17
17
  import {
18
18
  __export
19
- } from "./shell-9rqn6x4v.js";
19
+ } from "./workspace-9rqn6x4v.js";
20
20
 
21
21
  // src/tool/mcp.ts
22
22
  var exports_mcp3 = {};
23
23
  __export(exports_mcp3, {
24
24
  McpTool: () => exports_mcp3,
25
- Service: () => Service28,
26
- layer: () => layer11,
27
- name: () => name13,
25
+ Service: () => Service31,
26
+ layer: () => layer13,
27
+ name: () => name14,
28
28
  namespace: () => namespace2,
29
- node: () => node32
29
+ node: () => node36
30
30
  });
31
31
  import { ToolFailure } from "@opencode/ai";
32
32
  import { McpEvent } from "@opencode/schema/mcp-event";
33
33
  import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
34
34
  import { makeLocationNode } from "@opencode/util/effect/app-node";
35
35
  var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
36
- var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
36
+ var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
37
37
 
38
- class Service28 extends Context.Service()("@opencode/McpTool") {
38
+ class Service31 extends Context.Service()("@opencode/McpTool") {
39
39
  }
40
- var layer11 = Layer.effect(Service28, Effect.gen(function* () {
41
- const mcp = yield* Service29;
42
- const tools = yield* Service38;
40
+ var layer13 = Layer.effect(Service31, Effect.gen(function* () {
41
+ const mcp = yield* Service32;
42
+ const tools = yield* Service35;
43
43
  const bus = yield* Service79;
44
44
  const permission = yield* Service65;
45
45
  const lock = Semaphore.makeUnsafe(1);
@@ -62,7 +62,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
62
62
  output: tool.outputSchema ?? {},
63
63
  execute: (input, context) => Effect.gen(function* () {
64
64
  yield* permission.assert({
65
- action: name13(tool.server, tool.name),
65
+ action: name14(tool.server, tool.name),
66
66
  resources: ["*"],
67
67
  save: ["*"],
68
68
  metadata: {},
@@ -99,7 +99,7 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
99
99
  output: result.structured ?? (text === "" ? null : text),
100
100
  ...content.length === 0 ? {} : { content }
101
101
  };
102
- }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
102
+ }).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name14(tool.server, tool.name)}` })))
103
103
  });
104
104
  }
105
105
  });
@@ -112,12 +112,12 @@ var layer11 = Layer.effect(Service28, Effect.gen(function* () {
112
112
  yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
113
113
  const updates = yield* PubSub.subscribe(changes);
114
114
  yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
115
- return Service28.of({ flush: Effect.asVoid(Fiber.await(initial)) });
115
+ return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
116
116
  }));
117
- var node32 = makeLocationNode({
118
- service: Service28,
119
- layer: layer11,
120
- deps: [node42, node33, node84, node69]
117
+ var node36 = makeLocationNode({
118
+ service: Service31,
119
+ layer: layer13,
120
+ deps: [node39, node37, node84, node69]
121
121
  });
122
122
 
123
- export { namespace2, name13, Service28, layer11, node32, exports_mcp3 };
123
+ export { namespace2, name14, Service31, layer13, node36, exports_mcp3 };
@@ -3,28 +3,28 @@ import {
3
3
  UnsupportedPackageError3,
4
4
  UnresolvedProviderVariablesError3,
5
5
  UnsupportedCompactionError3,
6
- Service62,
7
- node66
8
- } from "./shell-p422xgpw.js";
6
+ Service44,
7
+ node48
8
+ } from "./workspace-np51q5jj.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./shell-q19p4fn9.js";
11
+ } from "./workspace-j7wq2tw5.js";
12
12
  import {
13
13
  __export
14
- } from "./shell-9rqn6x4v.js";
14
+ } from "./workspace-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service58,
21
+ Service: () => Service40,
22
22
  SessionRunnerModel: () => exports_model,
23
23
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
24
24
  UnsupportedCompactionError: () => UnsupportedCompactionError2,
25
25
  UnsupportedPackageError: () => UnsupportedPackageError2,
26
26
  VariantUnavailableError: () => VariantUnavailableError2,
27
- node: () => node62,
27
+ node: () => node44,
28
28
  resolved: () => resolved2
29
29
  });
30
30
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -51,7 +51,7 @@ var UnsupportedPackageError2 = UnsupportedPackageError3;
51
51
  var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
52
52
  var UnsupportedCompactionError2 = UnsupportedCompactionError3;
53
53
 
54
- class Service58 extends Context.Service()("@opencode/SessionRunnerModel") {
54
+ class Service40 extends Context.Service()("@opencode/SessionRunnerModel") {
55
55
  }
56
56
  var resolved2 = (model, options) => ({
57
57
  model,
@@ -65,9 +65,9 @@ var resolved2 = (model, options) => ({
65
65
  limit: options.limit,
66
66
  compaction: options.compaction
67
67
  });
68
- var layer = Layer.effect(Service58, Effect.gen(function* () {
69
- const resolver = yield* Service62;
70
- return Service58.of({
68
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
69
+ const resolver = yield* Service44;
70
+ return Service40.of({
71
71
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
72
72
  if (!session.model) {
73
73
  const resolved = yield* resolver.resolve();
@@ -85,6 +85,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
85
85
  })
86
86
  });
87
87
  }));
88
- var node62 = makeLocationNode({ service: Service58, layer, deps: [node66] });
88
+ var node44 = makeLocationNode({ service: Service40, layer, deps: [node48] });
89
89
 
90
- export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service58, resolved2, node62, exports_model };
90
+ export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service40, resolved2, node44, exports_model };
@@ -1,9 +1,9 @@
1
1
  import {
2
- Service48
3
- } from "./shell-jr1myxr3.js";
2
+ Service74
3
+ } from "./workspace-09vseg8s.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/mcp/stdio.ts
9
9
  var exports_stdio = {};
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
19
19
  var OUTGOING_CAPACITY = 64;
20
20
  var MAX_FRAME_BYTES = 16 * 1024 * 1024;
21
21
  var make2 = Effect.fnUntraced(function* (options) {
22
- const environment = yield* Service48;
22
+ const environment = yield* Service74;
23
23
  const scope = yield* Effect.scope;
24
24
  const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
25
25
  const buffer = new ReadBuffer;