@opencode/core 0.0.0-dev-19482 → 0.0.0-dev-19484

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 (786) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{shell-bw668rws.js → pty-0647zyye.js} +23 -23
  9. package/dist/chunks/{shell-gvmwhjkb.js → pty-0953varj.js} +34 -34
  10. package/dist/chunks/{shell-4y66k410.js → pty-0ajdgxne.js} +5 -5
  11. package/dist/chunks/{shell-2x9qsqkq.js → pty-0nrybmqd.js} +9 -9
  12. package/dist/chunks/{shell-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{shell-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{shell-23xgc4jt.js → pty-0ra4p3k2.js} +45 -45
  15. package/dist/chunks/{shell-gjmwt3yh.js → pty-0td8n8vp.js} +18 -18
  16. package/dist/chunks/{shell-qse8x9va.js → pty-11qx6zpw.js} +41 -41
  17. package/dist/chunks/{shell-j3gzjeh1.js → pty-14ahvy0s.js} +18 -18
  18. package/dist/chunks/{shell-gm14zrge.js → pty-18r19y7d.js} +11 -11
  19. package/dist/chunks/{shell-73tb2d7t.js → pty-1bbkgx8g.js} +3 -3
  20. package/dist/chunks/{shell-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{shell-cxq7hy6v.js → pty-1f2zrtgd.js} +29 -29
  22. package/dist/chunks/{shell-qfcxkg9x.js → pty-1fh16wq8.js} +3 -3
  23. package/dist/chunks/{shell-b19dgzvs.js → pty-1n1j5phf.js} +1 -1
  24. package/dist/chunks/{shell-t97t2t7r.js → pty-1qdmrsyh.js} +11 -11
  25. package/dist/chunks/pty-1r48vspq.js +247 -0
  26. package/dist/chunks/{shell-31y3jm9t.js → pty-1t6v7t1p.js} +15 -15
  27. package/dist/chunks/pty-1tm0r3ht.js +4 -0
  28. package/dist/chunks/pty-1x11rq2a.js +18 -0
  29. package/dist/chunks/{shell-56gdpj1q.js → pty-1ygqh575.js} +9 -9
  30. package/dist/chunks/{shell-21r38tys.js → pty-21r38tys.js} +1 -1
  31. package/dist/chunks/{shell-2402vzrj.js → pty-2402vzrj.js} +1 -1
  32. package/dist/chunks/{shell-e119c6wb.js → pty-2a010xm9.js} +4 -4
  33. package/dist/chunks/{shell-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  34. package/dist/chunks/{shell-0gm9s4gg.js → pty-2akhs850.js} +16 -16
  35. package/dist/chunks/{shell-gqcgtd7m.js → pty-2bek0fz1.js} +12 -12
  36. package/dist/chunks/{shell-ryq1d4nq.js → pty-2drds6a2.js} +5 -5
  37. package/dist/chunks/{shell-4q01a3y3.js → pty-2kbb5zhh.js} +22 -22
  38. package/dist/chunks/{shell-73n9zkes.js → pty-2kze3sed.js} +11 -11
  39. package/dist/chunks/{shell-5ffkwt1e.js → pty-2ta0t88y.js} +20 -20
  40. package/dist/chunks/{shell-fzgk925k.js → pty-32wbc79b.js} +11 -11
  41. package/dist/chunks/{shell-7y5sgbz2.js → pty-3az9pvaz.js} +16 -16
  42. package/dist/chunks/{shell-m43qeqsy.js → pty-3dqftnvs.js} +1 -1
  43. package/dist/chunks/{shell-rkgfyfhg.js → pty-3dzkcghm.js} +29 -29
  44. package/dist/chunks/{shell-0dyc37yz.js → pty-3esrdmkk.js} +32 -40
  45. package/dist/chunks/{shell-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  46. package/dist/chunks/{shell-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  47. package/dist/chunks/{shell-04n8fpsx.js → pty-3nvk9ben.js} +4 -4
  48. package/dist/chunks/{shell-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  49. package/dist/chunks/{shell-1vqdrp7h.js → pty-3tn94wys.js} +36 -36
  50. package/dist/chunks/{shell-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  51. package/dist/chunks/{shell-d8nc1xcx.js → pty-3ythc6yv.js} +4 -4
  52. package/dist/chunks/{shell-nbegex03.js → pty-411gfsap.js} +18 -18
  53. package/dist/chunks/{shell-j8zzr2am.js → pty-4541pte3.js} +6 -6
  54. package/dist/chunks/{shell-cek2cznd.js → pty-45796egf.js} +1 -1
  55. package/dist/chunks/{shell-3m27cd08.js → pty-45rd5fs9.js} +32 -32
  56. package/dist/chunks/{shell-3anxtp47.js → pty-45vpyk18.js} +57 -57
  57. package/dist/chunks/{shell-36cew03x.js → pty-4tty76jr.js} +35 -35
  58. package/dist/chunks/{shell-dhtqz3j8.js → pty-4w0n3ep9.js} +27 -27
  59. package/dist/chunks/{shell-6paxgs6k.js → pty-4wn8n9sn.js} +9 -9
  60. package/dist/chunks/{shell-w1k39n5e.js → pty-5c0f1prt.js} +4 -4
  61. package/dist/chunks/{shell-5daktx2q.js → pty-5daktx2q.js} +1 -1
  62. package/dist/chunks/{shell-wf190fkx.js → pty-5ftnf5hj.js} +20 -20
  63. package/dist/chunks/{shell-hz0670sp.js → pty-5n7nm18q.js} +32 -32
  64. package/dist/chunks/{shell-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  65. package/dist/chunks/{shell-n9bzgvrq.js → pty-63sp6hdr.js} +16 -16
  66. package/dist/chunks/{shell-yb9t9wk7.js → pty-6532tvj7.js} +18 -18
  67. package/dist/chunks/{shell-669tq793.js → pty-669tq793.js} +1 -1
  68. package/dist/chunks/{shell-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  69. package/dist/chunks/{shell-mme1bqhm.js → pty-6wfk2szc.js} +26 -26
  70. package/dist/chunks/{shell-ydpamykn.js → pty-6z42be60.js} +6 -6
  71. package/dist/chunks/{shell-71q4at8m.js → pty-71q4at8m.js} +1 -1
  72. package/dist/chunks/{shell-pck3w1ab.js → pty-77nagcj1.js} +4 -4
  73. package/dist/chunks/{shell-a4nqgkt6.js → pty-7ae90jyv.js} +2 -2
  74. package/dist/chunks/{shell-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{shell-csveq9pc.js → pty-7ey0dyp0.js} +28 -28
  76. package/dist/chunks/{shell-3f7mbqst.js → pty-7w5wmfhw.js} +8 -8
  77. package/dist/chunks/{shell-7gtrf76q.js → pty-7y947she.js} +26 -26
  78. package/dist/chunks/{shell-hvgm9eqs.js → pty-7yp3q20c.js} +41 -41
  79. package/dist/chunks/{shell-cntxze1n.js → pty-81swgkk7.js} +9 -9
  80. package/dist/chunks/{shell-71b9e1h9.js → pty-86rj60hj.js} +19 -19
  81. package/dist/chunks/{shell-c156ep7e.js → pty-88k2vggc.js} +8 -8
  82. package/dist/chunks/{shell-tcezcvh9.js → pty-89znhe33.js} +4 -4
  83. package/dist/chunks/{shell-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{shell-knd1qvh0.js → pty-8kyaadyc.js} +4 -4
  85. package/dist/chunks/{shell-8377ydh1.js → pty-8nf61fqw.js} +10 -10
  86. package/dist/chunks/{shell-8p4f9s12.js → pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{shell-vs31b0rs.js → pty-8rqsbye2.js} +29 -29
  88. package/dist/chunks/{shell-ss07yt36.js → pty-8yrxd28w.js} +9 -9
  89. package/dist/chunks/{shell-4aebnyy9.js → pty-9b90cabz.js} +11 -11
  90. package/dist/chunks/{shell-gb75dd12.js → pty-9e0z2fhc.js} +9 -9
  91. package/dist/chunks/{shell-yjqv8qmq.js → pty-9edcvf27.js} +10 -10
  92. package/dist/chunks/{shell-654qzmht.js → pty-9fgn877f.js} +11 -11
  93. package/dist/chunks/{shell-9wc1evxj.js → pty-9fhqnxhc.js} +22 -50
  94. package/dist/chunks/{shell-7bsq4hvy.js → pty-9v9vhtqj.js} +79 -79
  95. package/dist/chunks/{shell-42xebk03.js → pty-9vwx9k7w.js} +23 -23
  96. package/dist/chunks/{shell-7gvwkz6m.js → pty-a1a50ys5.js} +5 -5
  97. package/dist/chunks/{shell-a1bz86dw.js → pty-a1bz86dw.js} +3 -3
  98. package/dist/chunks/{shell-xg9t41r3.js → pty-a3r4dcrj.js} +2 -2
  99. package/dist/chunks/{shell-t0x5rdq8.js → pty-a5gt7g2r.js} +9 -9
  100. package/dist/chunks/{shell-w79gqzfd.js → pty-a6xvd2sc.js} +27 -27
  101. package/dist/chunks/{shell-aaet6srn.js → pty-aaet6srn.js} +2 -2
  102. package/dist/chunks/{shell-fe9854a7.js → pty-aep6w25k.js} +12 -12
  103. package/dist/chunks/{shell-938d64v3.js → pty-apnw61nd.js} +3 -3
  104. package/dist/chunks/{shell-0w0gm0da.js → pty-arf9772r.js} +13 -13
  105. package/dist/chunks/pty-axgp0vgr.js +22 -0
  106. package/dist/chunks/{shell-pfq1ksym.js → pty-b0grxa7w.js} +5 -5
  107. package/dist/chunks/{shell-rfnzy394.js → pty-b3t12aqp.js} +1 -1
  108. package/dist/chunks/{shell-nsnmc6vq.js → pty-b5ybn7cd.js} +16 -16
  109. package/dist/chunks/{shell-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  110. package/dist/chunks/{shell-4w1d5wb3.js → pty-bahtkn95.js} +15 -15
  111. package/dist/chunks/{shell-ve4pfa0n.js → pty-bct739vz.js} +4 -4
  112. package/dist/chunks/{shell-9fgx6pd5.js → pty-bgcsb0ew.js} +16 -16
  113. package/dist/chunks/{shell-f0fgzphd.js → pty-bpzbj5p0.js} +9 -9
  114. package/dist/chunks/{shell-d52p5a3y.js → pty-brbfzzmd.js} +17 -17
  115. package/dist/chunks/{shell-qyxzwjwr.js → pty-btvz5hhj.js} +11 -11
  116. package/dist/chunks/{shell-t7m3zm2g.js → pty-byprkm3h.js} +51 -51
  117. package/dist/chunks/{shell-fzmz3zsx.js → pty-c0g3mrmp.js} +4 -4
  118. package/dist/chunks/{shell-fmxbrafm.js → pty-c20cpmqm.js} +5 -30
  119. package/dist/chunks/{shell-cfpkc3c9.js → pty-cfpkc3c9.js} +2 -2
  120. package/dist/chunks/{shell-jq0xap4z.js → pty-cmceympy.js} +9 -9
  121. package/dist/chunks/{shell-asmz7wyz.js → pty-cmwkp3r5.js} +8 -8
  122. package/dist/chunks/{shell-6djc8d4v.js → pty-cs7ja426.js} +66 -66
  123. package/dist/chunks/{shell-dghm81pm.js → pty-cyxdd1cp.js} +60 -60
  124. package/dist/chunks/{shell-j2x4pfpm.js → pty-d4p8tyg8.js} +8 -8
  125. package/dist/chunks/{shell-ymem0t2p.js → pty-d55k3a02.js} +27 -27
  126. package/dist/chunks/{shell-enq4mbeq.js → pty-d801t9mc.js} +25 -25
  127. package/dist/chunks/{shell-t4mdcchx.js → pty-d8qmdhbf.js} +6 -6
  128. package/dist/chunks/{shell-qm9qwyxs.js → pty-dedzq1ka.js} +43 -43
  129. package/dist/chunks/{shell-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
  130. package/dist/chunks/{shell-t89hfesc.js → pty-drknmmyh.js} +9 -9
  131. package/dist/chunks/{shell-97h7kfy1.js → pty-dy8qh9xy.js} +8 -8
  132. package/dist/chunks/{shell-8xy1g1m8.js → pty-ea3fqg3s.js} +13 -13
  133. package/dist/chunks/{shell-qfzde7bh.js → pty-ecrv93z9.js} +6 -6
  134. package/dist/chunks/{shell-0cy5jdh3.js → pty-em649qsx.js} +15 -15
  135. package/dist/chunks/{shell-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{shell-ekj7r0kp.js → pty-etyswav2.js} +13 -13
  137. package/dist/chunks/{shell-evbgk2k8.js → pty-evbgk2k8.js} +2 -2
  138. package/dist/chunks/{shell-q0jfp978.js → pty-eymhvwwk.js} +15 -15
  139. package/dist/chunks/{shell-f828m53h.js → pty-f828m53h.js} +2 -2
  140. package/dist/chunks/{shell-jmm61hn9.js → pty-faw67snb.js} +42 -42
  141. package/dist/chunks/{shell-ycbn6r48.js → pty-fhmdnm6f.js} +48 -48
  142. package/dist/chunks/{shell-2bt6bea8.js → pty-fhs97t90.js} +9 -9
  143. package/dist/chunks/{shell-f40x834m.js → pty-fjnewxg5.js} +24 -24
  144. package/dist/chunks/{shell-sykm9ny3.js → pty-fn71bqeg.js} +18 -18
  145. package/dist/chunks/{shell-hxqw5f62.js → pty-fnvmrkhd.js} +3 -3
  146. package/dist/chunks/{shell-fm2qvscf.js → pty-fqb2p7cx.js} +4 -4
  147. package/dist/chunks/{shell-adhzpfb7.js → pty-fv7vkzc0.js} +32 -32
  148. package/dist/chunks/{shell-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  149. package/dist/chunks/{shell-qwkytnft.js → pty-g2twwaw3.js} +6 -6
  150. package/dist/chunks/{shell-v9dy98q8.js → pty-g3xj57nv.js} +25 -25
  151. package/dist/chunks/{shell-259cm5a5.js → pty-g646es06.js} +12 -12
  152. package/dist/chunks/{shell-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  153. package/dist/chunks/{shell-g0jbyvt7.js → pty-gdmgw3kk.js} +13 -13
  154. package/dist/chunks/{shell-1v0k12rn.js → pty-ge2ncj9q.js} +18 -18
  155. package/dist/chunks/{shell-amj36hnk.js → pty-geymd4gz.js} +16 -16
  156. package/dist/chunks/{shell-gv6a8nnw.js → pty-gv6a8nnw.js} +2 -2
  157. package/dist/chunks/{shell-v7sgzh50.js → pty-gw1k03mf.js} +17 -17
  158. package/dist/chunks/{shell-9ejs86te.js → pty-gzcsr6sv.js} +26 -26
  159. package/dist/chunks/{shell-5vn45h4e.js → pty-gzq6qehx.js} +24 -24
  160. package/dist/chunks/{shell-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{shell-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{shell-nx3vg62n.js → pty-h7m0p69y.js} +10 -10
  163. package/dist/chunks/{shell-vjvqmxr3.js → pty-h7p7r1dx.js} +33 -33
  164. package/dist/chunks/{shell-ka2k270b.js → pty-hd29wc17.js} +8 -8
  165. package/dist/chunks/{shell-0fn5g1dw.js → pty-hde40vmr.js} +45 -45
  166. package/dist/chunks/{shell-bha4atvq.js → pty-hfdr1yjj.js} +4 -4
  167. package/dist/chunks/{shell-jte6my49.js → pty-hgrjhmfr.js} +8 -8
  168. package/dist/chunks/{shell-t2js6s8h.js → pty-ht1qtvc3.js} +7 -7
  169. package/dist/chunks/{shell-9cp1yb9s.js → pty-j1jpgbqt.js} +4 -4
  170. package/dist/chunks/{shell-j56e64zr.js → pty-j56e64zr.js} +1 -1
  171. package/dist/chunks/{shell-4vxtq0ga.js → pty-j6frpzgk.js} +22 -22
  172. package/dist/chunks/{shell-4861qdfa.js → pty-j71f32vt.js} +11 -11
  173. package/dist/chunks/{shell-j7wq2tw5.js → pty-jexxy024.js} +3 -3
  174. package/dist/chunks/{shell-epxwh5rt.js → pty-jfaxz2yb.js} +27 -27
  175. package/dist/chunks/{shell-jvcjtfdj.js → pty-jg24vk6e.js} +5 -5
  176. package/dist/chunks/{shell-x56sq1v7.js → pty-jmn8yr3h.js} +29 -29
  177. package/dist/chunks/{shell-pe83jqzf.js → pty-jnyfd4gm.js} +11 -11
  178. package/dist/chunks/{shell-715pgvxv.js → pty-jp3k4seg.js} +13 -13
  179. package/dist/chunks/{shell-hr0by3dc.js → pty-jqy04vj9.js} +28 -28
  180. package/dist/chunks/{shell-yj9j0m2y.js → pty-jtanr3ta.js} +173 -173
  181. package/dist/chunks/{shell-757464b7.js → pty-k4wwmme7.js} +8 -8
  182. package/dist/chunks/{shell-kg06axw8.js → pty-kg06axw8.js} +1 -1
  183. package/dist/chunks/{shell-6w2332aj.js → pty-kmy1ax01.js} +10 -10
  184. package/dist/chunks/{shell-8wmav03j.js → pty-m01vtssh.js} +10 -10
  185. package/dist/chunks/{shell-f3rhz1g8.js → pty-m77xbvte.js} +89 -89
  186. package/dist/chunks/{shell-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{shell-jyf8w563.js → pty-md2xj9nf.js} +30 -30
  188. package/dist/chunks/{shell-61jgdnn9.js → pty-mehhkwtb.js} +6 -6
  189. package/dist/chunks/{shell-3rx2nwvc.js → pty-mgtytz9t.js} +3 -3
  190. package/dist/chunks/{shell-3t8eac1t.js → pty-mjymc32g.js} +4 -4
  191. package/dist/chunks/{shell-6ea2fwcg.js → pty-mnbh32fx.js} +6 -6
  192. package/dist/chunks/{shell-jx9pvz9q.js → pty-my653yp5.js} +20 -20
  193. package/dist/chunks/{shell-b8b3f19r.js → pty-n37c4crj.js} +9 -9
  194. package/dist/chunks/{shell-x3vadacb.js → pty-n4m74tcd.js} +13 -13
  195. package/dist/chunks/{shell-389yrpaj.js → pty-ndm8q3nx.js} +25 -25
  196. package/dist/chunks/{shell-xpky65xt.js → pty-newyp0rw.js} +6 -6
  197. package/dist/chunks/{shell-q95phfw2.js → pty-nkscrdhp.js} +8 -8
  198. package/dist/chunks/{shell-gnp2cdh9.js → pty-nnvetb0x.js} +8 -8
  199. package/dist/chunks/{shell-mypwhdkk.js → pty-ns15zm60.js} +6 -6
  200. package/dist/chunks/{shell-b1sq7v9m.js → pty-nt6p7phb.js} +37 -37
  201. package/dist/chunks/{shell-xkpcsvae.js → pty-nw3t2cyt.js} +18 -18
  202. package/dist/chunks/{shell-j4xvd28z.js → pty-p5d32tz9.js} +22 -22
  203. package/dist/chunks/{shell-y2d29fce.js → pty-pd1qwn8m.js} +24 -24
  204. package/dist/chunks/{shell-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{shell-pknna89w.js → pty-pknna89w.js} +1 -1
  206. package/dist/chunks/{shell-75fbrjyy.js → pty-pmvrcxp3.js} +299 -299
  207. package/dist/chunks/{shell-gst7axd9.js → pty-q5asdkn4.js} +4 -4
  208. package/dist/chunks/{shell-2k8khapm.js → pty-qgn6gcr1.js} +5 -5
  209. package/dist/chunks/{shell-hnr5yq9h.js → pty-qn4ba14w.js} +5 -5
  210. package/dist/chunks/{shell-qsdy395h.js → pty-qsdy395h.js} +1 -1
  211. package/dist/chunks/{shell-1jbxxpzt.js → pty-qygybdk4.js} +13 -13
  212. package/dist/chunks/{shell-6j93tkf6.js → pty-qyxb3rgr.js} +37 -37
  213. package/dist/chunks/{shell-r4gvnsqg.js → pty-qzgv9fd5.js} +20 -20
  214. package/dist/chunks/{shell-7ny3kv6n.js → pty-r2qzv5a7.js} +8 -8
  215. package/dist/chunks/{shell-0nmk1nfg.js → pty-r4x5wh38.js} +15 -15
  216. package/dist/chunks/{shell-wpvxq4mk.js → pty-r88ayxsh.js} +5 -5
  217. package/dist/chunks/{shell-f2n192rq.js → pty-r8xr0va3.js} +4 -4
  218. package/dist/chunks/{shell-qfehbndj.js → pty-r9abkved.js} +22 -22
  219. package/dist/chunks/{shell-r9mregkx.js → pty-r9mregkx.js} +2 -2
  220. package/dist/chunks/{shell-xvs1sa11.js → pty-ras7gexc.js} +5 -5
  221. package/dist/chunks/{shell-fdeq67q0.js → pty-rgr9kwfb.js} +7 -7
  222. package/dist/chunks/{shell-23pqda6t.js → pty-rph3zd4r.js} +4 -4
  223. package/dist/chunks/{shell-rs9gpnz9.js → pty-rx9j2q4y.js} +9 -9
  224. package/dist/chunks/{shell-512rfa6p.js → pty-rzxn8jq1.js} +2 -2
  225. package/dist/chunks/{shell-9h3amn4q.js → pty-s1a57xgp.js} +1 -1
  226. package/dist/chunks/{shell-v0rxpvp8.js → pty-s1k0znnr.js} +34 -34
  227. package/dist/chunks/{shell-eaj1djv9.js → pty-s8d7rejh.js} +6 -6
  228. package/dist/chunks/{shell-p5zja7w3.js → pty-s9zga7k6.js} +20 -20
  229. package/dist/chunks/{shell-n47h4z4n.js → pty-sj6g8xhe.js} +16 -16
  230. package/dist/chunks/{shell-h6mds1av.js → pty-st8jmgs2.js} +43 -43
  231. package/dist/chunks/{shell-h8aw6exk.js → pty-sxw0ed71.js} +27 -27
  232. package/dist/chunks/{shell-wyam1r5m.js → pty-t3w9f47z.js} +1 -1
  233. package/dist/chunks/{shell-ak72jphr.js → pty-t6jsq5az.js} +12 -12
  234. package/dist/chunks/{shell-rgzjdtpz.js → pty-t99v83jx.js} +8 -8
  235. package/dist/chunks/{shell-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  236. package/dist/chunks/{shell-rfwb5caz.js → pty-tbesmne2.js} +11 -11
  237. package/dist/chunks/{shell-srhw5zxk.js → pty-tdhe5xga.js} +8 -8
  238. package/dist/chunks/{shell-tdstcens.js → pty-tdstcens.js} +1 -1
  239. package/dist/chunks/{shell-3hktcy2m.js → pty-th49mj5v.js} +17 -17
  240. package/dist/chunks/{shell-m9j2dexz.js → pty-tph7kmz7.js} +6 -6
  241. package/dist/chunks/{shell-yxq5295s.js → pty-tv8e1ghk.js} +32 -32
  242. package/dist/chunks/{shell-tvtrv512.js → pty-tvtrv512.js} +1 -1
  243. package/dist/chunks/{shell-tyxx41mz.js → pty-txmfp3zj.js} +28 -28
  244. package/dist/chunks/{shell-29wksdc9.js → pty-tya93gxg.js} +13 -13
  245. package/dist/chunks/{shell-p688tfyr.js → pty-tz7qhazt.js} +17 -17
  246. package/dist/chunks/{shell-1b9za8k8.js → pty-v62dx6xs.js} +4 -4
  247. package/dist/chunks/{shell-nc3fjawf.js → pty-v71xcev7.js} +1 -1
  248. package/dist/chunks/{shell-672zjrs9.js → pty-vbzxk3ff.js} +11 -11
  249. package/dist/chunks/{shell-c3w8sn3d.js → pty-vednfjt6.js} +4 -4
  250. package/dist/chunks/{shell-veqvce7d.js → pty-veqvce7d.js} +1 -1
  251. package/dist/chunks/{shell-bx61q0p6.js → pty-vkgkjc09.js} +26 -26
  252. package/dist/chunks/{shell-yxdv66k0.js → pty-vkkm3dp3.js} +20 -20
  253. package/dist/chunks/{shell-7x5zvdqa.js → pty-vm26s0dq.js} +24 -24
  254. package/dist/chunks/{shell-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  255. package/dist/chunks/{shell-gdbnz73m.js → pty-w0vnt3w8.js} +11 -11
  256. package/dist/chunks/{shell-cjmk82ph.js → pty-w3vr4dnx.js} +47 -47
  257. package/dist/chunks/{shell-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  258. package/dist/chunks/{shell-v76skvps.js → pty-wb96fp8p.js} +18 -18
  259. package/dist/chunks/{shell-wd87259q.js → pty-wd87259q.js} +1 -1
  260. package/dist/chunks/{shell-3kq47whm.js → pty-wfdn8615.js} +22 -22
  261. package/dist/chunks/{shell-2rkdvd01.js → pty-wjsewdbp.js} +9 -9
  262. package/dist/chunks/{shell-7a14zr6p.js → pty-wsd4t4dw.js} +11 -11
  263. package/dist/chunks/{shell-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  264. package/dist/chunks/{shell-nhy5jxhy.js → pty-x4wsccvh.js} +4 -4
  265. package/dist/chunks/{shell-mvvn0xpn.js → pty-x7ns4d9a.js} +51 -51
  266. package/dist/chunks/{shell-h5mtjt0m.js → pty-x8efcx2v.js} +37 -37
  267. package/dist/chunks/{shell-a4x50hwg.js → pty-xfqxjp11.js} +28 -28
  268. package/dist/chunks/{shell-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{shell-nv5vn7qx.js → pty-y28xdhk3.js} +2 -2
  270. package/dist/chunks/{shell-191q2am9.js → pty-y9ech7jt.js} +23 -23
  271. package/dist/chunks/{shell-s3p732vg.js → pty-yfs8r58s.js} +20 -20
  272. package/dist/chunks/{shell-6ec7m0j6.js → pty-yj3bp0fe.js} +28 -28
  273. package/dist/chunks/{shell-332whr7y.js → pty-yjy4g1rw.js} +29 -29
  274. package/dist/chunks/{shell-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  275. package/dist/chunks/{shell-yrznvahk.js → pty-yrznvahk.js} +2 -2
  276. package/dist/chunks/{shell-bjke5af1.js → pty-yt9d908j.js} +11 -11
  277. package/dist/chunks/{shell-dya1x8f2.js → pty-yttnsetk.js} +8 -8
  278. package/dist/chunks/{shell-c255b86t.js → pty-yvykdhx6.js} +21 -21
  279. package/dist/chunks/{shell-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  280. package/dist/chunks/{shell-see2wqs9.js → pty-z599ng88.js} +6 -6
  281. package/dist/chunks/{shell-z63w68vq.js → pty-z63w68vq.js} +2 -2
  282. package/dist/chunks/{shell-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  283. package/dist/chunks/{shell-xtwh079d.js → pty-zftpq6gn.js} +16 -16
  284. package/dist/chunks/{shell-ppkgn7jr.js → pty-zr1b15nt.js} +7 -7
  285. package/dist/chunks/{shell-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{shell-zxq2ej10.js → pty-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 +82 -82
  291. package/dist/config/discovery.js +80 -80
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +117 -117
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +116 -116
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +114 -114
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  321. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +13 -13
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +14 -14
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -363
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +1 -1
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +6 -6
  418. package/dist/filesystem/location-watcher.js +221 -221
  419. package/dist/filesystem/protected.js +3 -3
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +103 -103
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +4 -4
  426. package/dist/formatter.js +83 -83
  427. package/dist/generate.js +92 -92
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -354
  453. package/dist/instruction-discovery.js +80 -80
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +132 -132
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +82 -82
  464. package/dist/location-services.js +349 -351
  465. package/dist/location.js +83 -83
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +102 -102
  468. package/dist/mcp/instructions.js +121 -121
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +79 -79
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +79 -79
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +85 -85
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -325
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  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 +81 -81
  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 +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  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 +118 -118
  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 +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -159
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +342 -344
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  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 +6 -6
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +225 -225
  550. package/dist/project/schema.js +8 -8
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +84 -84
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +95 -95
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +128 -128
  568. package/dist/session/context.js +144 -144
  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 +220 -220
  573. package/dist/session/execution.js +125 -125
  574. package/dist/session/generate.js +149 -149
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +76 -76
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +4 -4
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +112 -112
  584. package/dist/session/model-transport.js +5 -5
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  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 +226 -226
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +122 -122
  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 +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +84 -84
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +206 -206
  608. package/dist/session/system-prompt.js +3 -3
  609. package/dist/session/title.js +152 -152
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +219 -219
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +214 -214
  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 +11 -11
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +108 -108
  622. package/dist/snapshot.js +87 -87
  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 +118 -118
  627. package/dist/tool/plugin/edit.js +116 -116
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +119 -119
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +99 -99
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +207 -207
  636. package/dist/tool/plugin/skill.js +107 -107
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +108 -108
  639. package/dist/tool/plugin/websearch.js +108 -108
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +13 -13
  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 +2 -2
  655. package/dist/v1/config/command.js +3 -3
  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 +3 -3
  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 +3 -3
  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 +86 -86
  672. package/dist/websearch.js +83 -83
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +5 -5
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +79 -79
  678. package/dist/worktree/directory.js +2 -2
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +341 -343
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +92 -92
  683. package/package.json +8 -8
  684. package/dist/chunks/shell-0mesazry.js +0 -4
  685. package/dist/chunks/shell-29mdqam5.js +0 -35
  686. package/dist/chunks/shell-4v7qdvcn.js +0 -18
  687. package/dist/chunks/shell-dad7qjyt.js +0 -22
  688. package/dist/chunks/shell-mkcjrzeh.js +0 -15
  689. package/dist/chunks/shell-nbtt6k6e.js +0 -247
  690. package/dist/plugin/provider/anthropic.js +0 -7
  691. package/dist/plugin/provider/mistral.js +0 -7
  692. package/dist/types/plugin/provider/anthropic.d.ts +0 -1
  693. package/dist/types/plugin/provider/mistral.d.ts +0 -1
  694. /package/dist/chunks/{shell-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{shell-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{shell-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{shell-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{shell-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{shell-2710q6r3.js → pty-2710q6r3.js} +0 -0
  700. /package/dist/chunks/{shell-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  701. /package/dist/chunks/{shell-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  702. /package/dist/chunks/{shell-359p4xyc.js → pty-359p4xyc.js} +0 -0
  703. /package/dist/chunks/{shell-3asan66x.js → pty-3asan66x.js} +0 -0
  704. /package/dist/chunks/{shell-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  705. /package/dist/chunks/{shell-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  706. /package/dist/chunks/{shell-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  707. /package/dist/chunks/{shell-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  708. /package/dist/chunks/{shell-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  709. /package/dist/chunks/{shell-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
  710. /package/dist/chunks/{shell-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  711. /package/dist/chunks/{shell-53557ph1.js → pty-53557ph1.js} +0 -0
  712. /package/dist/chunks/{shell-550bvhaj.js → pty-550bvhaj.js} +0 -0
  713. /package/dist/chunks/{shell-6prwharc.js → pty-6prwharc.js} +0 -0
  714. /package/dist/chunks/{shell-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  715. /package/dist/chunks/{shell-7m9af43g.js → pty-7m9af43g.js} +0 -0
  716. /package/dist/chunks/{shell-822emrt2.js → pty-822emrt2.js} +0 -0
  717. /package/dist/chunks/{shell-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  718. /package/dist/chunks/{shell-8n3pysct.js → pty-8n3pysct.js} +0 -0
  719. /package/dist/chunks/{shell-922hggd3.js → pty-922hggd3.js} +0 -0
  720. /package/dist/chunks/{shell-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  721. /package/dist/chunks/{shell-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  722. /package/dist/chunks/{shell-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  723. /package/dist/chunks/{shell-af5trqkr.js → pty-af5trqkr.js} +0 -0
  724. /package/dist/chunks/{shell-afrmfg78.js → pty-afrmfg78.js} +0 -0
  725. /package/dist/chunks/{shell-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  726. /package/dist/chunks/{shell-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  727. /package/dist/chunks/{shell-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  728. /package/dist/chunks/{shell-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  729. /package/dist/chunks/{shell-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  730. /package/dist/chunks/{shell-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  731. /package/dist/chunks/{shell-d9fn303g.js → pty-d9fn303g.js} +0 -0
  732. /package/dist/chunks/{shell-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  733. /package/dist/chunks/{shell-dajrwvna.js → pty-dajrwvna.js} +0 -0
  734. /package/dist/chunks/{shell-dap0rakb.js → pty-dap0rakb.js} +0 -0
  735. /package/dist/chunks/{shell-df08tz66.js → pty-df08tz66.js} +0 -0
  736. /package/dist/chunks/{shell-dy18nga0.js → pty-dy18nga0.js} +0 -0
  737. /package/dist/chunks/{shell-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  738. /package/dist/chunks/{shell-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  739. /package/dist/chunks/{shell-ec1grn59.js → pty-ec1grn59.js} +0 -0
  740. /package/dist/chunks/{shell-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  741. /package/dist/chunks/{shell-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  742. /package/dist/chunks/{shell-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  743. /package/dist/chunks/{shell-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  744. /package/dist/chunks/{shell-faypxj3z.js → pty-faypxj3z.js} +0 -0
  745. /package/dist/chunks/{shell-fd410y7t.js → pty-fd410y7t.js} +0 -0
  746. /package/dist/chunks/{shell-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  747. /package/dist/chunks/{shell-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  748. /package/dist/chunks/{shell-g86h250q.js → pty-g86h250q.js} +0 -0
  749. /package/dist/chunks/{shell-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  750. /package/dist/chunks/{shell-gftt206x.js → pty-gftt206x.js} +0 -0
  751. /package/dist/chunks/{shell-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  752. /package/dist/chunks/{shell-hk9envan.js → pty-hk9envan.js} +0 -0
  753. /package/dist/chunks/{shell-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
  754. /package/dist/chunks/{shell-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{shell-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{shell-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  757. /package/dist/chunks/{shell-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  758. /package/dist/chunks/{shell-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  759. /package/dist/chunks/{shell-mp448xyj.js → pty-mp448xyj.js} +0 -0
  760. /package/dist/chunks/{shell-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  761. /package/dist/chunks/{shell-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  762. /package/dist/chunks/{shell-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  763. /package/dist/chunks/{shell-njntx4h6.js → pty-njntx4h6.js} +0 -0
  764. /package/dist/chunks/{shell-paphc93g.js → pty-paphc93g.js} +0 -0
  765. /package/dist/chunks/{shell-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{shell-q74kybfr.js → pty-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{shell-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{shell-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{shell-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{shell-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  771. /package/dist/chunks/{shell-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  772. /package/dist/chunks/{shell-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  773. /package/dist/chunks/{shell-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  774. /package/dist/chunks/{shell-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  775. /package/dist/chunks/{shell-twg0f83k.js → pty-twg0f83k.js} +0 -0
  776. /package/dist/chunks/{shell-w803qqfp.js → pty-w803qqfp.js} +0 -0
  777. /package/dist/chunks/{shell-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  778. /package/dist/chunks/{shell-wtztk69x.js → pty-wtztk69x.js} +0 -0
  779. /package/dist/chunks/{shell-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  780. /package/dist/chunks/{shell-x61499pn.js → pty-x61499pn.js} +0 -0
  781. /package/dist/chunks/{shell-y44na4kk.js → pty-y44na4kk.js} +0 -0
  782. /package/dist/chunks/{shell-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  783. /package/dist/chunks/{shell-y8f7s663.js → pty-y8f7s663.js} +0 -0
  784. /package/dist/chunks/{shell-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  785. /package/dist/chunks/{shell-ym463w8f.js → pty-ym463w8f.js} +0 -0
  786. /package/dist/chunks/{shell-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./shell-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/instance.ts
6
6
  var exports_instance2 = {};
7
7
  __export(exports_instance2, {
8
8
  InstancePlugins: () => exports_instance2,
9
- Service: () => Service7,
9
+ Service: () => Service5,
10
10
  bound: () => bound2,
11
- node: () => node10
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service7 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service5 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node10 = makeLocationNode({
19
- service: Service7,
18
+ var node7 = makeLocationNode({
19
+ service: Service5,
20
20
  layer: bound2([]),
21
21
  deps: []
22
22
  });
@@ -26,7 +26,7 @@ function bound2(plugins) {
26
26
  throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
27
27
  }
28
28
  const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
29
- return Layer.succeed(Service7, Service7.of({ all: () => stamped }));
29
+ return Layer.succeed(Service5, Service5.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service7, node10, bound2, exports_instance2 };
32
+ export { Service5, node7, bound2, exports_instance2 };
@@ -1,116 +1,116 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./shell-gm14zrge.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./shell-nsnmc6vq.js";
4
+ } from "./pty-18r19y7d.js";
5
+ import {
6
+ Service78,
7
+ node83
8
+ } from "./pty-b5ybn7cd.js";
9
9
  import {
10
10
  SessionEvent2
11
- } from "./shell-ec1grn59.js";
11
+ } from "./pty-ec1grn59.js";
12
12
  import {
13
13
  SessionMessageTable2
14
- } from "./shell-a1bz86dw.js";
14
+ } from "./pty-a1bz86dw.js";
15
15
  import {
16
16
  prepare4
17
- } from "./shell-bha4atvq.js";
17
+ } from "./pty-hfdr1yjj.js";
18
18
  import {
19
19
  llmClient2
20
- } from "./shell-5t3nmthw.js";
20
+ } from "./pty-5t3nmthw.js";
21
21
  import {
22
22
  SessionMessage2
23
- } from "./shell-gftt206x.js";
23
+ } from "./pty-gftt206x.js";
24
24
  import {
25
25
  StepFailedError2
26
- } from "./shell-qwkytnft.js";
26
+ } from "./pty-g2twwaw3.js";
27
27
  import {
28
28
  provenance2
29
- } from "./shell-w1k39n5e.js";
29
+ } from "./pty-5c0f1prt.js";
30
30
  import {
31
31
  decodeMessageRow2,
32
32
  preview2
33
- } from "./shell-jte6my49.js";
33
+ } from "./pty-hgrjhmfr.js";
34
34
  import {
35
- Service71,
36
- node76
37
- } from "./shell-4w1d5wb3.js";
35
+ Service65,
36
+ node70
37
+ } from "./pty-bahtkn95.js";
38
38
  import {
39
- Service25,
39
+ Service26,
40
40
  node30
41
- } from "./shell-c156ep7e.js";
41
+ } from "./pty-88k2vggc.js";
42
42
  import {
43
43
  baseTranscript2
44
- } from "./shell-epxwh5rt.js";
44
+ } from "./pty-jfaxz2yb.js";
45
45
  import {
46
- make5
47
- } from "./shell-t4mdcchx.js";
46
+ make9
47
+ } from "./pty-d8qmdhbf.js";
48
48
  import {
49
- Service8,
50
- node11
51
- } from "./shell-tyxx41mz.js";
49
+ Service10,
50
+ node13
51
+ } from "./pty-txmfp3zj.js";
52
52
  import {
53
53
  Service20,
54
54
  node24
55
- } from "./shell-7bsq4hvy.js";
55
+ } from "./pty-9v9vhtqj.js";
56
56
  import {
57
57
  serialized2,
58
58
  nextPromotable2,
59
59
  promote2
60
- } from "./shell-7gtrf76q.js";
60
+ } from "./pty-7y947she.js";
61
61
  import {
62
- Service2,
62
+ Service9,
63
63
  isUntitled2,
64
- node4
65
- } from "./shell-cxq7hy6v.js";
64
+ node12
65
+ } from "./pty-1f2zrtgd.js";
66
66
  import {
67
67
  DrainResult2,
68
- Service37
69
- } from "./shell-gst7axd9.js";
68
+ Service54
69
+ } from "./pty-q5asdkn4.js";
70
70
  import {
71
- node49
72
- } from "./shell-332whr7y.js";
71
+ node38
72
+ } from "./pty-yjy4g1rw.js";
73
73
  import {
74
- node67
75
- } from "./shell-gqcgtd7m.js";
74
+ node43
75
+ } from "./pty-2bek0fz1.js";
76
76
  import {
77
77
  Outcome2,
78
- make3
79
- } from "./shell-yxdv66k0.js";
78
+ make8
79
+ } from "./pty-vkkm3dp3.js";
80
80
  import {
81
- Service29
82
- } from "./shell-4v7qdvcn.js";
81
+ Service27
82
+ } from "./pty-1x11rq2a.js";
83
83
  import {
84
- node21
85
- } from "./shell-4q01a3y3.js";
84
+ node19
85
+ } from "./pty-2kbb5zhh.js";
86
86
  import {
87
87
  MAX_STEPS_PROMPT2
88
- } from "./shell-y44na4kk.js";
88
+ } from "./pty-y44na4kk.js";
89
89
  import {
90
90
  __export
91
- } from "./shell-9rqn6x4v.js";
91
+ } from "./pty-9rqn6x4v.js";
92
92
 
93
93
  // src/session/runner/llm.ts
94
94
  var exports_llm = {};
95
95
  __export(exports_llm, {
96
96
  SessionRunnerLLM: () => exports_llm,
97
- node: () => node3
97
+ node: () => node11
98
98
  });
99
99
  import { Message } from "@opencode/ai";
100
100
  import { and, desc, eq, sql } from "drizzle-orm";
101
101
  import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
102
102
  import { makeLocationNode } from "@opencode/util/effect/app-node";
103
103
  var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
104
- var layer = Layer.effect(Service37, Effect.gen(function* () {
105
- const bus = yield* Service79;
106
- const store = yield* Service71;
104
+ var layer = Layer.effect(Service54, Effect.gen(function* () {
105
+ const bus = yield* Service78;
106
+ const store = yield* Service65;
107
107
  const context = yield* Service20;
108
- const modelTransport = yield* Service25;
109
- const db = (yield* Service80).db;
110
- const compaction = yield* Service8;
111
- const plugins = yield* Service29;
112
- const title = yield* Service2;
113
- const steps = yield* make3;
108
+ const modelTransport = yield* Service26;
109
+ const db = (yield* Service79).db;
110
+ const compaction = yield* Service10;
111
+ const plugins = yield* Service27;
112
+ const title = yield* Service9;
113
+ const steps = yield* make8;
114
114
  const titles = yield* FiberMap.make();
115
115
  const drain = Effect.fn("SessionRunner.drain")(function* (input) {
116
116
  const sessionID = input.sessionID;
@@ -231,7 +231,7 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
231
231
  const runStep = Effect.fn("SessionRunner.runStep")(function* (first, step) {
232
232
  const sessionID = first.session.id;
233
233
  let assistantMessageID = SessionMessage2.ID.create();
234
- const retry = yield* make5(bus, sessionID);
234
+ const retry = yield* make9(bus, sessionID);
235
235
  let initial = first;
236
236
  let recoverOverflow = true;
237
237
  let recoverContinuation = true;
@@ -351,24 +351,24 @@ var layer = Layer.effect(Service37, Effect.gen(function* () {
351
351
  }
352
352
  }
353
353
  });
354
- return Service37.of({ drain });
354
+ return Service54.of({ drain });
355
355
  }));
356
- var node3 = makeLocationNode({
357
- service: Service37,
356
+ var node11 = makeLocationNode({
357
+ service: Service54,
358
358
  layer,
359
359
  deps: [
360
- node84,
360
+ node83,
361
361
  llmClient2,
362
362
  node24,
363
363
  node30,
364
- node76,
365
- node11,
366
- node21,
367
- node4,
368
- node49,
369
- node67,
370
- node85
364
+ node70,
365
+ node13,
366
+ node19,
367
+ node12,
368
+ node38,
369
+ node43,
370
+ node84
371
371
  ]
372
372
  });
373
373
 
374
- export { node3, exports_llm };
374
+ export { node11, exports_llm };
@@ -1,63 +1,63 @@
1
- import {
2
- Service80,
3
- node85
4
- } from "./shell-gm14zrge.js";
5
1
  import {
6
2
  Service79,
7
3
  node84
8
- } from "./shell-nsnmc6vq.js";
4
+ } from "./pty-18r19y7d.js";
5
+ import {
6
+ Service78,
7
+ node83
8
+ } from "./pty-b5ybn7cd.js";
9
9
  import {
10
- Service40,
11
- node43
12
- } from "./shell-qfzde7bh.js";
10
+ Service56,
11
+ node61
12
+ } from "./pty-ecrv93z9.js";
13
13
  import {
14
14
  AbsolutePath2,
15
15
  RelativePath2
16
- } from "./shell-922hggd3.js";
16
+ } from "./pty-922hggd3.js";
17
17
  import {
18
- Service74,
19
- node79
20
- } from "./shell-h6mds1av.js";
18
+ Service76,
19
+ node81
20
+ } from "./pty-st8jmgs2.js";
21
21
  import {
22
22
  Ref4
23
- } from "./shell-0gm9s4gg.js";
23
+ } from "./pty-2akhs850.js";
24
24
  import {
25
- Service53,
26
- node56
27
- } from "./shell-3f7mbqst.js";
25
+ Service59,
26
+ node64
27
+ } from "./pty-7w5wmfhw.js";
28
28
  import {
29
29
  SessionMessage2
30
- } from "./shell-gftt206x.js";
30
+ } from "./pty-gftt206x.js";
31
31
  import {
32
- NotFoundError9
33
- } from "./shell-qwkytnft.js";
32
+ NotFoundError7
33
+ } from "./pty-g2twwaw3.js";
34
34
  import {
35
35
  SessionEvent2
36
- } from "./shell-ec1grn59.js";
36
+ } from "./pty-ec1grn59.js";
37
37
  import {
38
- Service37
39
- } from "./shell-gst7axd9.js";
38
+ Service54
39
+ } from "./pty-q5asdkn4.js";
40
40
  import {
41
- Service71,
42
- node76
43
- } from "./shell-4w1d5wb3.js";
41
+ Service65,
42
+ node70
43
+ } from "./pty-bahtkn95.js";
44
44
  import {
45
45
  Item2,
46
46
  serialized2,
47
- Service39,
48
- node42,
47
+ Service57,
48
+ node62,
49
49
  moveIDs2
50
- } from "./shell-7gtrf76q.js";
50
+ } from "./pty-7y947she.js";
51
51
  import {
52
- Service36,
53
- node40
54
- } from "./shell-qm9qwyxs.js";
52
+ Service53,
53
+ node59
54
+ } from "./pty-dedzq1ka.js";
55
55
  import {
56
- node28
57
- } from "./shell-f40x834m.js";
56
+ node32
57
+ } from "./pty-fjnewxg5.js";
58
58
  import {
59
59
  __export
60
- } from "./shell-9rqn6x4v.js";
60
+ } from "./pty-9rqn6x4v.js";
61
61
 
62
62
  // src/session/move.ts
63
63
  var exports_move = {};
@@ -65,9 +65,9 @@ __export(exports_move, {
65
65
  DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
66
66
  DestinationNotFoundError: () => DestinationNotFoundError2,
67
67
  DestinationUnavailableError: () => DestinationUnavailableError2,
68
- Service: () => Service19,
68
+ Service: () => Service28,
69
69
  SessionMove: () => exports_move,
70
- node: () => node23
70
+ node: () => node31
71
71
  });
72
72
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
73
73
  import { FSUtil } from "@opencode/util/fs-util";
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
83
83
  class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
84
84
  }
85
85
 
86
- class Service19 extends Context.Service()("@opencode/SessionMove") {
86
+ class Service28 extends Context.Service()("@opencode/SessionMove") {
87
87
  }
88
- var layer = Layer.effect(Service19, Effect.gen(function* () {
88
+ var layer = Layer.effect(Service28, Effect.gen(function* () {
89
89
  const fs = yield* FSUtil.Service;
90
90
  const global = yield* Global.Service;
91
- const projects = yield* Service74;
92
- const locations = yield* Service53;
93
- const store = yield* Service71;
94
- const execution = yield* Service36;
95
- const instances = yield* Service40;
96
- const admission = yield* Service39;
97
- const database = yield* Service80;
98
- const bus = yield* Service79;
91
+ const projects = yield* Service76;
92
+ const locations = yield* Service59;
93
+ const store = yield* Service65;
94
+ const execution = yield* Service53;
95
+ const instances = yield* Service56;
96
+ const admission = yield* Service57;
97
+ const database = yield* Service79;
98
+ const bus = yield* Service78;
99
99
  const get = Effect.fn("SessionMove.get")(function* (sessionID) {
100
100
  const session = yield* store.get(sessionID);
101
101
  if (!session)
102
- return yield* new NotFoundError9({ sessionID });
102
+ return yield* new NotFoundError7({ sessionID });
103
103
  return session;
104
104
  });
105
105
  const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
131
131
  return false;
132
132
  if (!(yield* fs.isDir(session.location.directory)))
133
133
  return true;
134
- return yield* Service37.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
134
+ return yield* Service54.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
135
135
  });
136
- return Service19.of({
136
+ return Service28.of({
137
137
  move: Effect.fn("SessionMove.move")(function* (input) {
138
138
  const session = yield* get(input.sessionID);
139
139
  const destination = yield* resolveDestination(session, input);
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
163
163
  })
164
164
  });
165
165
  }));
166
- var node23 = makeGlobalNode({
167
- service: Service19,
166
+ var node31 = makeGlobalNode({
167
+ service: Service28,
168
168
  layer,
169
169
  deps: [
170
170
  FSUtil.node,
171
171
  Global.node,
172
- node79,
173
- node56,
174
- node76,
175
- node40,
176
- node43,
177
- node42,
178
- node85,
172
+ node81,
173
+ node64,
174
+ node70,
175
+ node59,
176
+ node61,
177
+ node62,
179
178
  node84,
180
- node28
179
+ node83,
180
+ node32
181
181
  ]
182
182
  });
183
183
 
184
- export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service19, node23, exports_move };
184
+ export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service28, node31, exports_move };
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  fromPromise2
3
- } from "./shell-zr2ceqn5.js";
3
+ } from "./pty-zr2ceqn5.js";
4
4
  import {
5
- Service62
6
- } from "./shell-qfehbndj.js";
5
+ Service40
6
+ } from "./pty-r9abkved.js";
7
7
  import {
8
8
  __export
9
- } from "./shell-9rqn6x4v.js";
9
+ } from "./pty-9rqn6x4v.js";
10
10
 
11
11
  // src/plugin/module.ts
12
12
  var exports_module = {};
13
13
  __export(exports_module, {
14
14
  LoadError: () => LoadError2,
15
15
  PluginModule: () => exports_module,
16
- make: () => make4
16
+ make: () => make3
17
17
  });
18
18
  import { Host } from "@opencode/plugin/host";
19
19
  import { createPluginSources } from "@opencode/plugin/source";
@@ -22,8 +22,8 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
22
22
  import path from "path";
23
23
  import { stat } from "node:fs/promises";
24
24
  import { fileURLToPath, pathToFileURL } from "url";
25
- var make4 = Effect.fn("PluginModule.make")(function* () {
26
- const watcher = yield* Service62;
25
+ var make3 = Effect.fn("PluginModule.make")(function* () {
26
+ const watcher = yield* Service40;
27
27
  const scope = yield* Effect.scope;
28
28
  const runPromise = yield* FiberSet.makeRuntimePromise();
29
29
  const changes = yield* PubSub.unbounded();
@@ -102,4 +102,4 @@ var load = Effect.fn("PluginModule.load")(function* (operation, sources, options
102
102
  };
103
103
  });
104
104
 
105
- export { make4, LoadError2, exports_module };
105
+ export { make3, LoadError2, exports_module };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./shell-922hggd3.js";
3
+ } from "./pty-922hggd3.js";
4
4
  import {
5
- Service73
6
- } from "./shell-0gm9s4gg.js";
5
+ Service75
6
+ } from "./pty-2akhs850.js";
7
7
  import {
8
- Service58
9
- } from "./shell-gjmwt3yh.js";
8
+ Service51
9
+ } from "./pty-0td8n8vp.js";
10
10
  import {
11
- Service9
12
- } from "./shell-4vxtq0ga.js";
11
+ Service11
12
+ } from "./pty-j6frpzgk.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./shell-2a5m3afh.js";
15
+ } from "./pty-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service10
27
- } from "./shell-d52p5a3y.js";
26
+ Service12
27
+ } from "./pty-brbfzzmd.js";
28
28
  import {
29
29
  __export
30
- } from "./shell-9rqn6x4v.js";
30
+ } from "./pty-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input6,
36
- Plugin: () => Plugin24,
35
+ Input: () => Input4,
36
+ Plugin: () => Plugin35,
37
37
  ReadTool: () => exports_read,
38
- name: () => name6,
39
- toModelContent: () => toModelContent4
38
+ name: () => name4,
39
+ toModelContent: () => toModelContent3
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name6 = "read";
45
+ var name4 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input6 = LocationInput;
56
+ var Input4 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
- var Plugin24 = {
58
+ var Plugin35 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service10;
62
- const access = yield* Service58;
63
- const sessionInstructions = yield* Service9;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service51;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service73;
65
+ const location = yield* Service75;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name6,
67
+ name: name4,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input6,
70
+ input: Input4,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin24 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent4(result.path, input.offset, result.output),
115
+ content: toModelContent3(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent4 = (path, offset, output) => {
147
+ var toModelContent3 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent4 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name6, Input6, Plugin24, toModelContent4, exports_read };
183
+ export { name4, Input4, Plugin35, toModelContent3, exports_read };