@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,128 +1,128 @@
1
1
  import {
2
2
  Metadata2,
3
- node82
4
- } from "./shell-t8jgb82e.js";
3
+ node40
4
+ } from "./workspace-ys6344d6.js";
5
5
  import {
6
6
  Service79,
7
7
  node84
8
- } from "./shell-z0kp0xfc.js";
8
+ } from "./workspace-g22wb2pz.js";
9
9
  import {
10
- ID13,
11
- Service72,
12
- node76
13
- } from "./shell-20qr1f9s.js";
10
+ ID14,
11
+ Service68,
12
+ node72
13
+ } from "./workspace-4a1gzb1y.js";
14
14
  import {
15
- ID18
16
- } from "./shell-m27pyyd3.js";
15
+ ID10
16
+ } from "./workspace-63c29q5z.js";
17
17
  import {
18
- Service69,
19
- node73
20
- } from "./shell-9f3htfzg.js";
18
+ Service47,
19
+ node51
20
+ } from "./workspace-gj7hzhw3.js";
21
21
  import {
22
- ID17
23
- } from "./shell-1awm1f41.js";
22
+ ID9
23
+ } from "./workspace-hs7fbk9e.js";
24
24
  import {
25
- ID12,
25
+ ID8,
26
26
  OAuth3
27
- } from "./shell-5ayyaxsv.js";
27
+ } from "./workspace-bm3b3xby.js";
28
28
  import {
29
- ID7,
29
+ ID4,
30
30
  MethodID2,
31
31
  AttemptID2,
32
32
  Method2,
33
- Service64,
34
- node68
35
- } from "./shell-7jw46hp1.js";
33
+ Service46,
34
+ node50
35
+ } from "./workspace-rn192n82.js";
36
36
  import {
37
- Service63,
38
- node67
39
- } from "./shell-fccy21eq.js";
37
+ Service45,
38
+ node49
39
+ } from "./workspace-xaz800th.js";
40
40
  import {
41
- Service35,
42
- node39
43
- } from "./shell-25m32m9c.js";
41
+ Service49,
42
+ node53
43
+ } from "./workspace-nxpjh8w5.js";
44
44
  import {
45
- Service78,
46
- node83
47
- } from "./shell-05w1n024.js";
45
+ Service63,
46
+ node67
47
+ } from "./workspace-echv63h4.js";
48
48
  import {
49
49
  AbsolutePath2
50
- } from "./shell-922hggd3.js";
50
+ } from "./workspace-922hggd3.js";
51
51
  import {
52
- Info29,
53
- Ref3,
54
- Service74,
55
- node78
56
- } from "./shell-b6rw8h1c.js";
52
+ Info31,
53
+ Ref4,
54
+ Service76,
55
+ node81
56
+ } from "./workspace-c09967vq.js";
57
57
  import {
58
- Service60,
59
- node64
60
- } from "./shell-jap5vfbs.js";
58
+ Service43,
59
+ node47
60
+ } from "./workspace-0zxft7wv.js";
61
61
  import {
62
- ID6
63
- } from "./shell-7z6sde0c.js";
62
+ ID16
63
+ } from "./workspace-xn9fr5jd.js";
64
64
  import {
65
- Service29,
66
- node33
67
- } from "./shell-bx7eg4z0.js";
65
+ Service32,
66
+ node37
67
+ } from "./workspace-j3mqfpt8.js";
68
68
  import {
69
- Service70,
70
- node74
71
- } from "./shell-js0rm7nb.js";
69
+ Service69,
70
+ node73
71
+ } from "./workspace-9e47yq11.js";
72
72
  import {
73
73
  Service65,
74
74
  node69
75
- } from "./shell-aptkcqzk.js";
76
- import {
77
- Service38,
78
- node42
79
- } from "./shell-56v372ka.js";
80
- import {
81
- Source4,
82
- Service42,
83
- node46
84
- } from "./shell-gccfn8rw.js";
75
+ } from "./workspace-q80jwr34.js";
85
76
  import {
86
- Info6,
87
- Service36,
88
- node40
89
- } from "./shell-7tc1bkdm.js";
77
+ Service35,
78
+ node39
79
+ } from "./workspace-njna6xd1.js";
90
80
  import {
91
- Service22,
92
- node26
93
- } from "./shell-2a9rpc71.js";
81
+ Source3,
82
+ Service56,
83
+ node60
84
+ } from "./workspace-x0tn6qwv.js";
94
85
  import {
95
- Service37,
96
- node41
97
- } from "./shell-wqak0vb9.js";
86
+ Info25,
87
+ Service64,
88
+ node68
89
+ } from "./workspace-tx10d39y.js";
98
90
  import {
99
91
  Service21,
100
92
  node25
101
- } from "./shell-v03gdzqm.js";
93
+ } from "./workspace-z72x676g.js";
94
+ import {
95
+ Service18,
96
+ node22
97
+ } from "./workspace-rxemfqdb.js";
102
98
  import {
103
- Service44,
104
- node48
105
- } from "./shell-b22s170t.js";
99
+ Service51,
100
+ node55
101
+ } from "./workspace-zg6etqwm.js";
106
102
  import {
107
- ID5,
108
- Service41,
109
- node45
110
- } from "./shell-zxegzph2.js";
103
+ Service19,
104
+ node23
105
+ } from "./workspace-mhte6216.js";
106
+ import {
107
+ ID7,
108
+ Service58,
109
+ node62
110
+ } from "./workspace-ys0mtxyj.js";
111
111
  import {
112
112
  StrategyID2,
113
- Info20,
113
+ Info5,
114
114
  ListEntry3,
115
115
  UnsupportedLocationError2,
116
- Service54,
117
- node59
118
- } from "./shell-ke6544fm.js";
119
- import {
120
116
  Service20,
121
117
  node24
122
- } from "./shell-5nkpcfwc.js";
118
+ } from "./workspace-cmssp0z9.js";
119
+ import {
120
+ Service36,
121
+ node41
122
+ } from "./workspace-kq1a8t9t.js";
123
123
  import {
124
124
  __export
125
- } from "./shell-9rqn6x4v.js";
125
+ } from "./workspace-9rqn6x4v.js";
126
126
 
127
127
  // src/plugin/host.ts
128
128
  var exports_host = {};
@@ -140,36 +140,36 @@ var mutable = (value) => value;
140
140
  var isRpcEvent = (event) => event.type.startsWith("rpc.");
141
141
  var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
142
142
  const app = yield* Metadata2;
143
- const agents = yield* Service72;
144
- const aisdk = yield* Service69;
145
- const catalog = yield* Service63;
146
- const commands = yield* Service35;
143
+ const agents = yield* Service68;
144
+ const aisdk = yield* Service47;
145
+ const catalog = yield* Service45;
146
+ const commands = yield* Service49;
147
147
  const bus = yield* Service79;
148
- const integration = yield* Service64;
149
- const kv = yield* Service78;
150
- const mcp = yield* Service29;
151
- const location = yield* Service74;
152
- const reference = yield* Service42;
153
- const rpc = yield* Service21;
154
- const skill = yield* Service36;
155
- const tools = yield* Service38;
156
- const vcs = yield* Service44;
157
- const websearch = yield* Service41;
158
- const generate = yield* Service20;
148
+ const integration = yield* Service46;
149
+ const kv = yield* Service63;
150
+ const mcp = yield* Service32;
151
+ const location = yield* Service76;
152
+ const reference = yield* Service56;
153
+ const rpc = yield* Service51;
154
+ const skill = yield* Service64;
155
+ const tools = yield* Service35;
156
+ const vcs = yield* Service19;
157
+ const websearch = yield* Service58;
158
+ const generate = yield* Service36;
159
159
  const permission = yield* Service65;
160
- const hooks = yield* Service70;
161
- const sessions = yield* Service22;
162
- const persistentPty = yield* Service37;
163
- const locations = yield* Service60;
164
- const worktrees = yield* Service54;
165
- const locationInfo = () => new Info29({
160
+ const hooks = yield* Service69;
161
+ const sessions = yield* Service21;
162
+ const persistentPty = yield* Service18;
163
+ const locations = yield* Service43;
164
+ const worktrees = yield* Service20;
165
+ const locationInfo = () => new Info31({
166
166
  directory: location.directory,
167
167
  workspaceID: location.workspaceID,
168
168
  project: location.project
169
169
  });
170
- const locationRef = (input) => input?.location === undefined ? undefined : Ref3.make({
170
+ const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
171
171
  directory: AbsolutePath2.make(input.location.directory ?? location.directory),
172
- workspaceID: input.location.workspace === undefined ? location.workspaceID : ID6.make(input.location.workspace)
172
+ workspaceID: input.location.workspace === undefined ? location.workspaceID : ID16.make(input.location.workspace)
173
173
  });
174
174
  const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
175
175
  const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
@@ -181,18 +181,18 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
181
181
  return Effect.gen(function* () {
182
182
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
183
183
  const plugins = yield* Plugin.Service;
184
- const target = yield* Service54;
184
+ const target = yield* Service20;
185
185
  yield* plugins.awaitActivation;
186
186
  return yield* run(target);
187
187
  }).pipe(Effect.provide(locations.get(ref)));
188
188
  };
189
- const decodeWorktree = Schema.decodeUnknownEffect(Info20);
189
+ const decodeWorktree = Schema.decodeUnknownEffect(Info5);
190
190
  const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry3));
191
191
  const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
192
- const location = yield* Service74;
193
- const agents = yield* Service72;
192
+ const location = yield* Service76;
193
+ const agents = yield* Service68;
194
194
  return {
195
- location: new Info29({
195
+ location: new Info31({
196
196
  directory: location.directory,
197
197
  workspaceID: location.workspaceID,
198
198
  project: location.project
@@ -224,10 +224,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
224
224
  transform: (callback) => agents.transform((editor) => {
225
225
  callback({
226
226
  list: () => mutable(editor.list()),
227
- get: (id) => mutable(editor.get(ID13.make(id))),
228
- default: (id) => editor.default(id === undefined ? undefined : ID13.make(id)),
229
- update: (id, update) => editor.update(ID13.make(id), update),
230
- remove: (id) => editor.remove(ID13.make(id))
227
+ get: (id) => mutable(editor.get(ID14.make(id))),
228
+ default: (id) => editor.default(id === undefined ? undefined : ID14.make(id)),
229
+ update: (id, update) => editor.update(ID14.make(id), update),
230
+ remove: (id) => editor.remove(ID14.make(id))
231
231
  });
232
232
  })
233
233
  },
@@ -262,7 +262,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
262
262
  catalog: {
263
263
  provider: {
264
264
  list: () => response(catalog.provider.available()),
265
- get: (input) => catalog.provider.get(ID18.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
265
+ get: (input) => catalog.provider.get(ID10.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider))))
266
266
  },
267
267
  model: {
268
268
  list: () => response(catalog.model.available()),
@@ -273,17 +273,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
273
273
  callback({
274
274
  provider: {
275
275
  list: () => mutable(editor.provider.list()),
276
- get: (id) => mutable(editor.provider.get(ID18.make(id))),
277
- update: (id, update) => editor.provider.update(ID18.make(id), update),
278
- remove: (id) => editor.provider.remove(ID18.make(id))
276
+ get: (id) => mutable(editor.provider.get(ID10.make(id))),
277
+ update: (id, update) => editor.provider.update(ID10.make(id), update),
278
+ remove: (id) => editor.provider.remove(ID10.make(id))
279
279
  },
280
280
  model: {
281
- get: (providerID, modelID) => mutable(editor.model.get(ID18.make(providerID), ID17.make(modelID))),
282
- update: (providerID, modelID, update) => editor.model.update(ID18.make(providerID), ID17.make(modelID), update),
283
- remove: (providerID, modelID) => editor.model.remove(ID18.make(providerID), ID17.make(modelID)),
281
+ get: (providerID, modelID) => mutable(editor.model.get(ID10.make(providerID), ID9.make(modelID))),
282
+ update: (providerID, modelID, update) => editor.model.update(ID10.make(providerID), ID9.make(modelID), update),
283
+ remove: (providerID, modelID) => editor.model.remove(ID10.make(providerID), ID9.make(modelID)),
284
284
  default: {
285
285
  get: editor.model.default.get,
286
- set: (providerID, modelID) => editor.model.default.set(ID18.make(providerID), ID17.make(modelID))
286
+ set: (providerID, modelID) => editor.model.default.set(ID10.make(providerID), ID9.make(modelID))
287
287
  }
288
288
  }
289
289
  });
@@ -307,10 +307,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
307
307
  },
308
308
  integration: {
309
309
  list: () => response(integration.list()),
310
- get: (input) => response(integration.get(ID7.make(input.integrationID))),
310
+ get: (input) => response(integration.get(ID4.make(input.integrationID))),
311
311
  connect: {
312
312
  key: (input) => integration.connection.key({
313
- integrationID: ID7.make(input.integrationID),
313
+ integrationID: ID4.make(input.integrationID),
314
314
  key: input.key,
315
315
  answer: input.answer,
316
316
  label: input.label
@@ -318,55 +318,55 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
318
318
  },
319
319
  oauth: {
320
320
  connect: (input) => response(integration.oauth.connect({
321
- integrationID: ID7.make(input.integrationID),
321
+ integrationID: ID4.make(input.integrationID),
322
322
  methodID: MethodID2.make(input.methodID),
323
323
  answer: input.answer,
324
324
  label: input.label
325
325
  })),
326
326
  status: (input) => response(integration.oauth.status({
327
- integrationID: ID7.make(input.integrationID),
327
+ integrationID: ID4.make(input.integrationID),
328
328
  attemptID: AttemptID2.make(input.attemptID)
329
329
  })),
330
330
  complete: (input) => integration.oauth.complete({
331
- integrationID: ID7.make(input.integrationID),
331
+ integrationID: ID4.make(input.integrationID),
332
332
  attemptID: AttemptID2.make(input.attemptID),
333
333
  code: input.code
334
334
  }),
335
335
  cancel: (input) => integration.oauth.cancel({
336
- integrationID: ID7.make(input.integrationID),
336
+ integrationID: ID4.make(input.integrationID),
337
337
  attemptID: AttemptID2.make(input.attemptID)
338
338
  })
339
339
  },
340
340
  command: {
341
341
  connect: (input) => response(integration.command.connect({
342
- integrationID: ID7.make(input.integrationID),
342
+ integrationID: ID4.make(input.integrationID),
343
343
  methodID: MethodID2.make(input.methodID),
344
344
  label: input.label
345
345
  })),
346
346
  status: (input) => response(integration.command.status({
347
- integrationID: ID7.make(input.integrationID),
347
+ integrationID: ID4.make(input.integrationID),
348
348
  attemptID: AttemptID2.make(input.attemptID)
349
349
  })),
350
350
  cancel: (input) => integration.command.cancel({
351
- integrationID: ID7.make(input.integrationID),
351
+ integrationID: ID4.make(input.integrationID),
352
352
  attemptID: AttemptID2.make(input.attemptID)
353
353
  })
354
354
  },
355
355
  reload: integration.reload,
356
356
  connection: {
357
- active: (id) => integration.connection.active(ID7.make(id)),
358
- resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID12.make(connection.id) } : connection)
357
+ active: (id) => integration.connection.active(ID4.make(id)),
358
+ resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID8.make(connection.id) } : connection)
359
359
  },
360
360
  transform: (callback) => integration.transform((editor) => {
361
361
  callback({
362
362
  list: () => mutable(editor.list()),
363
- get: (id) => mutable(editor.get(ID7.make(id))),
364
- update: (id, update) => editor.update(ID7.make(id), update),
365
- remove: (id) => editor.remove(ID7.make(id)),
363
+ get: (id) => mutable(editor.get(ID4.make(id))),
364
+ update: (id, update) => editor.update(ID4.make(id), update),
365
+ remove: (id) => editor.remove(ID4.make(id)),
366
366
  method: {
367
- list: (id) => editor.method.list(ID7.make(id)),
367
+ list: (id) => editor.method.list(ID4.make(id)),
368
368
  update: (input) => editor.method.update(methodImplementation(input)),
369
- remove: (id, method) => editor.method.remove(ID7.make(id), Schema.decodeUnknownSync(Method2)(method))
369
+ remove: (id, method) => editor.method.remove(ID4.make(id), Schema.decodeUnknownSync(Method2)(method))
370
370
  }
371
371
  });
372
372
  })
@@ -376,10 +376,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
376
376
  const ref = locationRef(input);
377
377
  if (ref && !isCurrentLocation(ref))
378
378
  return Effect.gen(function* () {
379
- const location = yield* Service74;
380
- const mcp = yield* Service29;
379
+ const location = yield* Service76;
380
+ const mcp = yield* Service32;
381
381
  return {
382
- location: new Info29({
382
+ location: new Info31({
383
383
  directory: location.directory,
384
384
  workspaceID: location.workspaceID,
385
385
  project: location.project
@@ -414,7 +414,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
414
414
  reload: reference.reload,
415
415
  transform: (callback) => reference.transform((editor) => {
416
416
  callback({
417
- add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source4)(source)),
417
+ add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
418
418
  remove: editor.remove,
419
419
  list: editor.list,
420
420
  get: editor.get
@@ -428,7 +428,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
428
428
  callback({
429
429
  list: () => mutable(editor.list()),
430
430
  get: editor.get,
431
- add: (value) => editor.add(Schema.decodeUnknownSync(Info6)(value)),
431
+ add: (value) => editor.add(Schema.decodeUnknownSync(Info25)(value)),
432
432
  update: editor.update,
433
433
  remove: editor.remove
434
434
  });
@@ -456,19 +456,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
456
456
  providers: () => response(websearch.providers()),
457
457
  query: (input) => response(websearch.query({
458
458
  query: input.query,
459
- providerID: input.providerID === undefined ? undefined : ID5.make(input.providerID)
459
+ providerID: input.providerID === undefined ? undefined : ID7.make(input.providerID)
460
460
  })),
461
461
  reload: websearch.reload,
462
462
  transform: (callback) => websearch.transform((editor) => {
463
463
  callback({
464
464
  add: (definition) => editor.add({
465
- id: ID5.make(definition.id),
465
+ id: ID7.make(definition.id),
466
466
  name: definition.name,
467
467
  execute: definition.execute
468
468
  }),
469
469
  default: {
470
470
  get: editor.default.get,
471
- set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID5.make(selection))
471
+ set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID7.make(selection))
472
472
  }
473
473
  });
474
474
  })
@@ -495,7 +495,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
495
495
  title: input?.title,
496
496
  agent: input?.agent,
497
497
  model: input?.model,
498
- location: input?.location ?? Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
498
+ location: input?.location ?? Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
499
499
  }),
500
500
  get: (input) => sessions.get(input.sessionID),
501
501
  switchAgent: sessions.switchAgent,
@@ -514,29 +514,29 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
514
514
  return context;
515
515
  });
516
516
  var requirements3 = LayerNode.group([
517
- node82,
518
- node76,
519
- node73,
520
- node67,
521
- node39,
517
+ node40,
518
+ node72,
519
+ node51,
520
+ node49,
521
+ node53,
522
522
  node84,
523
+ node50,
524
+ node67,
525
+ node37,
526
+ node81,
527
+ node60,
528
+ node55,
523
529
  node68,
524
- node83,
525
- node33,
526
- node78,
527
- node46,
528
- node25,
529
- node40,
530
- node42,
531
- node48,
532
- node45,
533
- node59,
530
+ node39,
531
+ node23,
532
+ node62,
534
533
  node24,
535
- node69,
536
- node74,
537
- node26,
538
534
  node41,
539
- node64
535
+ node69,
536
+ node73,
537
+ node25,
538
+ node22,
539
+ node47
540
540
  ]);
541
541
  function storage2(kv, pluginID) {
542
542
  const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
@@ -563,7 +563,7 @@ function methodImplementation(input) {
563
563
  if ("authorize" in input) {
564
564
  const refresh = input.refresh;
565
565
  return {
566
- integrationID: ID7.make(input.integrationID),
566
+ integrationID: ID4.make(input.integrationID),
567
567
  method: { ...input.method, id: MethodID2.make(input.method.id) },
568
568
  authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
569
569
  if (authorization.mode === "auto") {
@@ -583,18 +583,18 @@ function methodImplementation(input) {
583
583
  }
584
584
  if (input.method.type === "env") {
585
585
  return {
586
- integrationID: ID7.make(input.integrationID),
586
+ integrationID: ID4.make(input.integrationID),
587
587
  method: input.method
588
588
  };
589
589
  }
590
590
  if (input.method.type === "command") {
591
591
  return {
592
- integrationID: ID7.make(input.integrationID),
592
+ integrationID: ID4.make(input.integrationID),
593
593
  method: { ...input.method, id: MethodID2.make(input.method.id) }
594
594
  };
595
595
  }
596
596
  return {
597
- integrationID: ID7.make(input.integrationID),
597
+ integrationID: ID4.make(input.integrationID),
598
598
  method: input.method
599
599
  };
600
600
  }
@@ -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/command.ts
6
6
  var exports_command5 = {};
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./shell-dpkg50ah.js";
3
+ } from "./workspace-y71avatq.js";
4
4
  import {
5
5
  __export
6
- } from "./shell-9rqn6x4v.js";
6
+ } from "./workspace-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/update.ts
9
9
  var exports_update = {};
10
10
  __export(exports_update, {
11
11
  PluginUpdate: () => exports_update,
12
- Service: () => Service7,
13
- node: () => node9
12
+ Service: () => Service12,
13
+ node: () => node15
14
14
  });
15
15
  import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
16
16
  import { Npm } from "@opencode/util/npm";
17
17
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
18
18
  var interval = 24 * 60 * 60 * 1000;
19
19
 
20
- class Service7 extends Context.Service()("@opencode/PluginUpdate") {
20
+ class Service12 extends Context.Service()("@opencode/PluginUpdate") {
21
21
  }
22
- var layer = Layer.effect(Service7, Effect.gen(function* () {
22
+ var layer = Layer.effect(Service12, Effect.gen(function* () {
23
23
  const npm = yield* Npm.Service;
24
24
  const locks = makeUnsafe2();
25
25
  const status = new Map;
26
26
  const changes = yield* PubSub.unbounded();
27
- return Service7.of({
27
+ return Service12.of({
28
28
  check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
29
29
  const checkedAt = yield* Clock.currentTimeMillis;
30
30
  const current = status.get(target);
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
49
49
  changes: () => Stream.fromPubSub(changes)
50
50
  });
51
51
  }));
52
- var node9 = makeGlobalNode({ service: Service7, layer, deps: [Npm.node] });
52
+ var node15 = makeGlobalNode({ service: Service12, layer, deps: [Npm.node] });
53
53
 
54
- export { Service7, node9, exports_update };
54
+ export { Service12, node15, exports_update };