@opencode/core 0.0.0-dev-19371 → 0.0.0-dev-19372

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 (782) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +67 -67
  7. package/dist/catalog.js +83 -83
  8. package/dist/chunks/{instruction-discovery-jygyrd66.js → pty-02zskd6f.js} +4 -4
  9. package/dist/chunks/{instruction-discovery-r3q6pmcz.js → pty-07770t2t.js} +6 -6
  10. package/dist/chunks/{instruction-discovery-yb94xmg0.js → pty-0996nyz8.js} +9 -9
  11. package/dist/chunks/{instruction-discovery-eaj1djv9.js → pty-0gdmqesm.js} +8 -8
  12. package/dist/chunks/{instruction-discovery-mfp3ds1s.js → pty-0gg4eh9d.js} +11 -11
  13. package/dist/chunks/{instruction-discovery-0hpxrkyb.js → pty-0hpxrkyb.js} +2 -2
  14. package/dist/chunks/{instruction-discovery-y4j4htjy.js → pty-0jzeq7bg.js} +9 -9
  15. package/dist/chunks/{instruction-discovery-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
  16. package/dist/chunks/{instruction-discovery-t8mcaem5.js → pty-0pyqcms3.js} +1 -1
  17. package/dist/chunks/{instruction-discovery-0q0f95c6.js → pty-0q0f95c6.js} +1 -1
  18. package/dist/chunks/{instruction-discovery-jcdkcw30.js → pty-0wmswe57.js} +20 -20
  19. package/dist/chunks/{instruction-discovery-8gq8wjx2.js → pty-0x1qwe4m.js} +6 -6
  20. package/dist/chunks/{instruction-discovery-qhhwejbz.js → pty-0x4g6ndm.js} +16 -16
  21. package/dist/chunks/{instruction-discovery-5fhmv1q3.js → pty-0xkh6216.js} +23 -23
  22. package/dist/chunks/{instruction-discovery-4dxrwc2h.js → pty-102jvkd5.js} +65 -65
  23. package/dist/chunks/{instruction-discovery-7ng2f82v.js → pty-107fwvqp.js} +35 -35
  24. package/dist/chunks/{instruction-discovery-6cb6sp75.js → pty-14p0bf99.js} +4 -4
  25. package/dist/chunks/{instruction-discovery-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
  26. package/dist/chunks/{instruction-discovery-np0e3ae6.js → pty-1khr35v4.js} +27 -27
  27. package/dist/chunks/{instruction-discovery-fvt53xkj.js → pty-1y981vcy.js} +30 -30
  28. package/dist/chunks/{instruction-discovery-21r38tys.js → pty-21r38tys.js} +1 -1
  29. package/dist/chunks/{instruction-discovery-z63w68vq.js → pty-29x78va6.js} +6 -6
  30. package/dist/chunks/{instruction-discovery-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{instruction-discovery-ej2hdnaa.js → pty-2pnhn36q.js} +21 -21
  32. package/dist/chunks/{instruction-discovery-z9pt3sjd.js → pty-2x9w7gwc.js} +4 -4
  33. package/dist/chunks/{instruction-discovery-56gdpj1q.js → pty-33w4ejhs.js} +6 -6
  34. package/dist/chunks/{instruction-discovery-yh1xbxjs.js → pty-357v7vj3.js} +33 -33
  35. package/dist/chunks/{instruction-discovery-hhndk190.js → pty-3a50zsz9.js} +17 -17
  36. package/dist/chunks/{instruction-discovery-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{instruction-discovery-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{instruction-discovery-x01696tg.js → pty-3mke1r8k.js} +28 -28
  39. package/dist/chunks/{instruction-discovery-zwb6xfp8.js → pty-3pmjwr1e.js} +24 -24
  40. package/dist/chunks/{instruction-discovery-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
  41. package/dist/chunks/{instruction-discovery-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
  42. package/dist/chunks/{instruction-discovery-jg0vs890.js → pty-3zhfhk0f.js} +5 -5
  43. package/dist/chunks/{instruction-discovery-4s43gdt0.js → pty-40d8dwxk.js} +14 -14
  44. package/dist/chunks/{instruction-discovery-vxrtct5k.js → pty-41q0v4q7.js} +9 -9
  45. package/dist/chunks/{instruction-discovery-09zd0szw.js → pty-47fetphe.js} +33 -33
  46. package/dist/chunks/{instruction-discovery-hdfkmsb1.js → pty-4azybn4n.js} +36 -36
  47. package/dist/chunks/{instruction-discovery-yn2mq5w8.js → pty-4dfh6zmw.js} +9 -9
  48. package/dist/chunks/{instruction-discovery-jrdjmdbf.js → pty-4qv5c5xf.js} +26 -26
  49. package/dist/chunks/{instruction-discovery-2seywkaq.js → pty-4rph1v41.js} +13 -13
  50. package/dist/chunks/{instruction-discovery-exjxmebg.js → pty-4sksr709.js} +5 -5
  51. package/dist/chunks/{instruction-discovery-9875sft1.js → pty-4z80d8a9.js} +3 -3
  52. package/dist/chunks/{instruction-discovery-xdet2c8p.js → pty-51kcvgxx.js} +15 -15
  53. package/dist/chunks/{instruction-discovery-kh9gj6fg.js → pty-526v470z.js} +2 -2
  54. package/dist/chunks/{instruction-discovery-bjyhjfk1.js → pty-578n16w1.js} +29 -29
  55. package/dist/chunks/{instruction-discovery-5daktx2q.js → pty-5daktx2q.js} +1 -1
  56. package/dist/chunks/{instruction-discovery-t71m7ha1.js → pty-5g6xb262.js} +30 -30
  57. package/dist/chunks/{instruction-discovery-n6v4qqax.js → pty-5j4skxhh.js} +11 -11
  58. package/dist/chunks/{instruction-discovery-ss846j3y.js → pty-5j7h8n2k.js} +12 -12
  59. package/dist/chunks/{instruction-discovery-1d6q6my0.js → pty-5sjkzzsa.js} +46 -46
  60. package/dist/chunks/{instruction-discovery-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{instruction-discovery-mndr4ybt.js → pty-5vs9ndt5.js} +26 -26
  62. package/dist/chunks/{instruction-discovery-e51w6w3b.js → pty-5zthbsee.js} +7 -7
  63. package/dist/chunks/{instruction-discovery-a8vp0knq.js → pty-60geffh5.js} +7 -7
  64. package/dist/chunks/{instruction-discovery-qahvmdvb.js → pty-6126dgt1.js} +46 -46
  65. package/dist/chunks/{instruction-discovery-dwhk5b05.js → pty-62k5e5wb.js} +20 -20
  66. package/dist/chunks/{instruction-discovery-669tq793.js → pty-669tq793.js} +1 -1
  67. package/dist/chunks/{instruction-discovery-2402vzrj.js → pty-6h73sxmp.js} +5 -5
  68. package/dist/chunks/{instruction-discovery-2bt6bea8.js → pty-6jnybvqn.js} +9 -9
  69. package/dist/chunks/{instruction-discovery-6msgmcgs.js → pty-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{instruction-discovery-en74w496.js → pty-6qw5vjfk.js} +5 -5
  71. package/dist/chunks/{instruction-discovery-hbsxx67k.js → pty-6xe913v8.js} +22 -22
  72. package/dist/chunks/{instruction-discovery-r4mhm636.js → pty-6zm1wyjc.js} +18 -18
  73. package/dist/chunks/{instruction-discovery-71q4at8m.js → pty-71q4at8m.js} +1 -1
  74. package/dist/chunks/{instruction-discovery-dskz157b.js → pty-76mrr06k.js} +41 -41
  75. package/dist/chunks/{instruction-discovery-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{instruction-discovery-1xj25msm.js → pty-7ce2cjd5.js} +18 -18
  77. package/dist/chunks/{instruction-discovery-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
  78. package/dist/chunks/{instruction-discovery-n7tqtybm.js → pty-7rjdtxkk.js} +4 -4
  79. package/dist/chunks/{instruction-discovery-pmmrp2gy.js → pty-7xggmshf.js} +8 -8
  80. package/dist/chunks/{instruction-discovery-y5mrfvw4.js → pty-81swgkk7.js} +9 -9
  81. package/dist/chunks/{instruction-discovery-1hc11dc4.js → pty-88sz8qcd.js} +4 -4
  82. package/dist/chunks/{instruction-discovery-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
  83. package/dist/chunks/{instruction-discovery-sa02mddm.js → pty-8gtqgsn5.js} +32 -32
  84. package/dist/chunks/{instruction-discovery-1nhndn61.js → pty-8kcmt1fk.js} +7 -7
  85. package/dist/chunks/{instruction-discovery-dj2t23y0.js → pty-8p4f9s12.js} +2 -2
  86. package/dist/chunks/{instruction-discovery-93hpb89x.js → pty-8vct2pgr.js} +3 -3
  87. package/dist/chunks/{instruction-discovery-n53pthfb.js → pty-8w0tny4e.js} +4 -4
  88. package/dist/chunks/{instruction-discovery-ka2k270b.js → pty-9cg0vjy1.js} +8 -8
  89. package/dist/chunks/{instruction-discovery-vgae25ec.js → pty-9ef57syn.js} +11 -11
  90. package/dist/chunks/{instruction-discovery-07ag7k0e.js → pty-9fxpdq0y.js} +26 -26
  91. package/dist/chunks/{instruction-discovery-h3e0pdjz.js → pty-9m9t2a7k.js} +16 -16
  92. package/dist/chunks/{instruction-discovery-c7ecgrk6.js → pty-9p3b3m98.js} +6 -6
  93. package/dist/chunks/{instruction-discovery-5c4hm403.js → pty-a1bz86dw.js} +3 -3
  94. package/dist/chunks/{instruction-discovery-1ka62ajm.js → pty-a1dptbm0.js} +18 -18
  95. package/dist/chunks/{instruction-discovery-kksf6wrm.js → pty-a31gkhvw.js} +11 -11
  96. package/dist/chunks/{instruction-discovery-aaet6srn.js → pty-aaet6srn.js} +2 -2
  97. package/dist/chunks/{instruction-discovery-5nsrms9d.js → pty-abkdt1xb.js} +1 -1
  98. package/dist/chunks/{instruction-discovery-hhfebk12.js → pty-ajghh6ra.js} +6 -6
  99. package/dist/chunks/{instruction-discovery-7bszj1cq.js → pty-an126cry.js} +28 -28
  100. package/dist/chunks/{instruction-discovery-wv6hz6db.js → pty-b1rqwz98.js} +9 -9
  101. package/dist/chunks/{instruction-discovery-3q1jyqhd.js → pty-b3wkxfg9.js} +1 -1
  102. package/dist/chunks/{instruction-discovery-cssamdmg.js → pty-b428793c.js} +15 -15
  103. package/dist/chunks/{instruction-discovery-6vmq095n.js → pty-b5svzbqe.js} +11 -11
  104. package/dist/chunks/{instruction-discovery-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
  105. package/dist/chunks/{instruction-discovery-2tbcxsee.js → pty-b7n25z46.js} +19 -19
  106. package/dist/chunks/{instruction-discovery-qrfkxqda.js → pty-bagg3g1z.js} +2 -2
  107. package/dist/chunks/{instruction-discovery-y719r58y.js → pty-bgks4w36.js} +28 -28
  108. package/dist/chunks/{instruction-discovery-be85q6rn.js → pty-bh8p3ktg.js} +6 -6
  109. package/dist/chunks/{instruction-discovery-32zkwxf4.js → pty-bw8xqn9c.js} +53 -53
  110. package/dist/chunks/{instruction-discovery-2vvechqa.js → pty-bxft0ra9.js} +32 -32
  111. package/dist/chunks/pty-by5v678g.js +18 -0
  112. package/dist/chunks/{instruction-discovery-1ptb02zb.js → pty-c487kk09.js} +41 -41
  113. package/dist/chunks/{instruction-discovery-a823mjcm.js → pty-c4twzx9w.js} +22 -22
  114. package/dist/chunks/{instruction-discovery-hne3qtyj.js → pty-c9cenec4.js} +5 -5
  115. package/dist/chunks/{instruction-discovery-1wxb385z.js → pty-cd4mc13g.js} +1 -1
  116. package/dist/chunks/{instruction-discovery-cmbqfntm.js → pty-cf3tj770.js} +5 -5
  117. package/dist/chunks/{instruction-discovery-zwsn0yg2.js → pty-cf7stcnz.js} +6 -6
  118. package/dist/chunks/{instruction-discovery-m0jqrx5p.js → pty-cfpkc3c9.js} +2 -2
  119. package/dist/chunks/{instruction-discovery-t8111hhj.js → pty-cgs7ndjq.js} +9 -9
  120. package/dist/chunks/{instruction-discovery-jwm8j6jh.js → pty-cj4mykbe.js} +9 -9
  121. package/dist/chunks/{instruction-discovery-dht98sv3.js → pty-cjr8y0wq.js} +20 -20
  122. package/dist/chunks/{instruction-discovery-4c8bw516.js → pty-cny5rd43.js} +8 -8
  123. package/dist/chunks/{instruction-discovery-2rpj59nm.js → pty-crd48we5.js} +83 -83
  124. package/dist/chunks/{instruction-discovery-cf8tr9ph.js → pty-cwtk2d1m.js} +6 -6
  125. package/dist/chunks/{instruction-discovery-cc5pkwqg.js → pty-d1f48wm0.js} +47 -47
  126. package/dist/chunks/{instruction-discovery-77vr9fvh.js → pty-dcdbx179.js} +43 -43
  127. package/dist/chunks/{instruction-discovery-d13x8xp9.js → pty-ddmrj1q7.js} +27 -27
  128. package/dist/chunks/{instruction-discovery-rpg9c19m.js → pty-dhmh7aw6.js} +4 -4
  129. package/dist/chunks/{instruction-discovery-844ef7ks.js → pty-dv1qgsyq.js} +8 -8
  130. package/dist/chunks/{instruction-discovery-1rjn7b92.js → pty-e1sywrpy.js} +4 -4
  131. package/dist/chunks/{instruction-discovery-xggv9zzh.js → pty-eea9n1gg.js} +5 -5
  132. package/dist/chunks/{instruction-discovery-p14ehj6j.js → pty-eg20r4ae.js} +17 -17
  133. package/dist/chunks/{instruction-discovery-2nnczm4n.js → pty-egkwkxxa.js} +85 -85
  134. package/dist/chunks/{instruction-discovery-mvfsc1pv.js → pty-eq1pz5kg.js} +3 -3
  135. package/dist/chunks/{instruction-discovery-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
  136. package/dist/chunks/{instruction-discovery-vth3sqng.js → pty-ewyzxja9.js} +10 -10
  137. package/dist/chunks/{instruction-discovery-90e5nz4z.js → pty-exrwhhqk.js} +4 -4
  138. package/dist/chunks/{instruction-discovery-s7731dqm.js → pty-ezs85qj9.js} +2 -2
  139. package/dist/chunks/{instruction-discovery-dbd00eyb.js → pty-f242nvhy.js} +6 -6
  140. package/dist/chunks/{instruction-discovery-r8xr0va3.js → pty-f2n192rq.js} +4 -4
  141. package/dist/chunks/{instruction-discovery-weg6n8ch.js → pty-f4dw8gwj.js} +38 -38
  142. package/dist/chunks/{instruction-discovery-hdnk95c8.js → pty-f828m53h.js} +2 -2
  143. package/dist/chunks/{instruction-discovery-nrb4wwn8.js → pty-f9dcx0s3.js} +20 -20
  144. package/dist/chunks/{instruction-discovery-0fm4fvvj.js → pty-feebpcf8.js} +23 -23
  145. package/dist/chunks/{instruction-discovery-3w2b2yj4.js → pty-fpmq6gma.js} +5 -5
  146. package/dist/chunks/{instruction-discovery-pzgnhxvj.js → pty-fr2caje5.js} +41 -41
  147. package/dist/chunks/{instruction-discovery-fxbjtjnd.js → pty-fxbjtjnd.js} +1 -1
  148. package/dist/chunks/{instruction-discovery-yttr6rv8.js → pty-g254301b.js} +3 -3
  149. package/dist/chunks/{instruction-discovery-3mwx79t2.js → pty-gcbpht8g.js} +20 -20
  150. package/dist/chunks/{instruction-discovery-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
  151. package/dist/chunks/{instruction-discovery-83x6p9kd.js → pty-gf4qtxm6.js} +1 -1
  152. package/dist/chunks/{instruction-discovery-7vc0yr26.js → pty-ghe33san.js} +15 -15
  153. package/dist/chunks/{instruction-discovery-66r9f6z1.js → pty-ghrzdqqx.js} +5 -5
  154. package/dist/chunks/{instruction-discovery-zerdtc7d.js → pty-gj9xpvv3.js} +2 -2
  155. package/dist/chunks/{instruction-discovery-4g2w7pq2.js → pty-gqqez5b8.js} +9 -9
  156. package/dist/chunks/{instruction-discovery-gped56y4.js → pty-gtjpq3yd.js} +10 -10
  157. package/dist/chunks/{instruction-discovery-3fqhs30r.js → pty-gvvw2n81.js} +11 -11
  158. package/dist/chunks/{instruction-discovery-frf5pa85.js → pty-gw1k03mf.js} +21 -21
  159. package/dist/chunks/{instruction-discovery-haffsr0x.js → pty-gy3ftesa.js} +30 -30
  160. package/dist/chunks/{instruction-discovery-h03wrkyp.js → pty-h03wrkyp.js} +2 -2
  161. package/dist/chunks/{instruction-discovery-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
  162. package/dist/chunks/{instruction-discovery-7bjy8qnq.js → pty-h91yv7bq.js} +12 -12
  163. package/dist/chunks/{instruction-discovery-510m7gjw.js → pty-hcz3zddy.js} +5 -5
  164. package/dist/chunks/{instruction-discovery-1a3gk442.js → pty-hdsygwhy.js} +15 -15
  165. package/dist/chunks/{instruction-discovery-ts721f0v.js → pty-hv7vaf99.js} +10 -10
  166. package/dist/chunks/{instruction-discovery-xq1bh1bq.js → pty-hw55hn24.js} +7 -7
  167. package/dist/chunks/pty-j4rqb0e8.js +462 -0
  168. package/dist/chunks/{instruction-discovery-j56e64zr.js → pty-j56e64zr.js} +1 -1
  169. package/dist/chunks/{instruction-discovery-paphc93g.js → pty-j935v87r.js} +2 -2
  170. package/dist/chunks/pty-jcst6tya.js +247 -0
  171. package/dist/chunks/{instruction-discovery-9edcvf27.js → pty-jefma2gq.js} +10 -10
  172. package/dist/chunks/{instruction-discovery-v9txp1qz.js → pty-jfdrs8g9.js} +10 -10
  173. package/dist/chunks/{instruction-discovery-a46v4e4v.js → pty-jfqtm2ew.js} +4 -4
  174. package/dist/chunks/{instruction-discovery-n0a61x39.js → pty-jjc2e0wf.js} +16 -16
  175. package/dist/chunks/{instruction-discovery-5s33gdzw.js → pty-jrvvap85.js} +18 -18
  176. package/dist/chunks/{instruction-discovery-0ex6px1z.js → pty-jsaewa63.js} +8 -8
  177. package/dist/chunks/{instruction-discovery-eh5zsyp8.js → pty-jt2m25jy.js} +9 -9
  178. package/dist/chunks/{instruction-discovery-b2zyk4ye.js → pty-jxcvs55h.js} +13 -13
  179. package/dist/chunks/{instruction-discovery-avhz3daf.js → pty-jy3rk2pm.js} +17 -17
  180. package/dist/chunks/{instruction-discovery-jwqwxd9a.js → pty-k8a0mrdq.js} +38 -38
  181. package/dist/chunks/{instruction-discovery-yt1ptz87.js → pty-ken34rgm.js} +20 -20
  182. package/dist/chunks/{instruction-discovery-kg06axw8.js → pty-kg06axw8.js} +1 -1
  183. package/dist/chunks/{instruction-discovery-516fypfz.js → pty-khy2t77v.js} +30 -30
  184. package/dist/chunks/{instruction-discovery-txw580h0.js → pty-kjr2p1gf.js} +40 -40
  185. package/dist/chunks/{instruction-discovery-n0yakzgj.js → pty-kv3072p9.js} +4 -4
  186. package/dist/chunks/{instruction-discovery-na2veqbs.js → pty-kwgqzsmm.js} +4 -4
  187. package/dist/chunks/{instruction-discovery-6fd16rw2.js → pty-m0f7gyab.js} +23 -23
  188. package/dist/chunks/{instruction-discovery-7wp5vt1y.js → pty-m0pn08h0.js} +11 -11
  189. package/dist/chunks/{instruction-discovery-75rf4veb.js → pty-m2r7xkr0.js} +20 -20
  190. package/dist/chunks/{instruction-discovery-hb72rahq.js → pty-m5aw9kqs.js} +14 -14
  191. package/dist/chunks/{instruction-discovery-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
  192. package/dist/chunks/{instruction-discovery-0kb9m1f6.js → pty-mf3kdcv1.js} +10 -10
  193. package/dist/chunks/{instruction-discovery-mkcjrzeh.js → pty-mkcjrzeh.js} +1 -1
  194. package/dist/chunks/{instruction-discovery-eh92xjb9.js → pty-mnewsc6w.js} +34 -34
  195. package/dist/chunks/{instruction-discovery-tm7zr4pr.js → pty-mqy0jkn2.js} +4 -4
  196. package/dist/chunks/{instruction-discovery-nxhqveyz.js → pty-mtft99cd.js} +5 -5
  197. package/dist/chunks/{instruction-discovery-vqxxa0z6.js → pty-mwva2wqz.js} +15 -15
  198. package/dist/chunks/{instruction-discovery-kne26kkt.js → pty-nfk4q15c.js} +27 -27
  199. package/dist/chunks/{instruction-discovery-gt0cxfk7.js → pty-ng5shs3s.js} +1 -1
  200. package/dist/chunks/{instruction-discovery-hjt4xg1x.js → pty-nhy5jxhy.js} +4 -4
  201. package/dist/chunks/{instruction-discovery-w1xac8nv.js → pty-nw5w3cjp.js} +26 -26
  202. package/dist/chunks/{instruction-discovery-fjmrr6sh.js → pty-p1wf2k30.js} +9 -9
  203. package/dist/chunks/{instruction-discovery-5zem9v7d.js → pty-p9ts1dg8.js} +13 -13
  204. package/dist/chunks/{instruction-discovery-sgm9fmvw.js → pty-pc04q47q.js} +22 -22
  205. package/dist/chunks/{instruction-discovery-yj348szg.js → pty-pe79rxdj.js} +33 -33
  206. package/dist/chunks/{instruction-discovery-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
  207. package/dist/chunks/{instruction-discovery-pknna89w.js → pty-pknna89w.js} +1 -1
  208. package/dist/chunks/{instruction-discovery-ve686vvv.js → pty-pqd1mzxt.js} +9 -9
  209. package/dist/chunks/{instruction-discovery-wpk9fyyk.js → pty-q1bbvmq4.js} +25 -25
  210. package/dist/chunks/{instruction-discovery-71m7qv0m.js → pty-q1hjdkpd.js} +11 -11
  211. package/dist/chunks/{instruction-discovery-wqk5yr6e.js → pty-q1tx050w.js} +8 -8
  212. package/dist/chunks/{instruction-discovery-ccedsq4e.js → pty-q24fq4k9.js} +9 -9
  213. package/dist/chunks/{instruction-discovery-7xbncs63.js → pty-q6rs4hjt.js} +57 -57
  214. package/dist/chunks/{instruction-discovery-6fs1bwmd.js → pty-qgp720zn.js} +19 -19
  215. package/dist/chunks/{instruction-discovery-xj2v2q7r.js → pty-qgy2rw28.js} +9 -9
  216. package/dist/chunks/{instruction-discovery-gn781x5c.js → pty-qpw0y00r.js} +16 -16
  217. package/dist/chunks/{instruction-discovery-ve4pfa0n.js → pty-qq11w61w.js} +4 -4
  218. package/dist/chunks/{instruction-discovery-013av1x8.js → pty-qr736bxy.js} +14 -14
  219. package/dist/chunks/{instruction-discovery-qsdy395h.js → pty-qsdy395h.js} +1 -1
  220. package/dist/chunks/{instruction-discovery-6anwy9fs.js → pty-qz49fwgp.js} +6 -6
  221. package/dist/chunks/{instruction-discovery-xc1crrp1.js → pty-qzdews7q.js} +6 -6
  222. package/dist/chunks/{instruction-discovery-ev4g7n3e.js → pty-r0xf0e5c.js} +23 -23
  223. package/dist/chunks/{instruction-discovery-ncfk57aw.js → pty-r8febyms.js} +14 -14
  224. package/dist/chunks/{instruction-discovery-8bk6ht13.js → pty-r8nahq2d.js} +15 -15
  225. package/dist/chunks/{instruction-discovery-3wrtxrr4.js → pty-rbygrj0c.js} +6 -6
  226. package/dist/chunks/{instruction-discovery-jymdtt95.js → pty-refnp3pv.js} +4 -4
  227. package/dist/chunks/{instruction-discovery-spq00ka2.js → pty-rkg39e93.js} +10 -10
  228. package/dist/chunks/pty-rnevd4w8.js +22 -0
  229. package/dist/chunks/{instruction-discovery-6q6sza9m.js → pty-rrdk89a5.js} +21 -21
  230. package/dist/chunks/{instruction-discovery-cyr4v3cw.js → pty-rssnh3zg.js} +24 -24
  231. package/dist/chunks/{instruction-discovery-h57cfva4.js → pty-rxjhrqx1.js} +23 -23
  232. package/dist/chunks/{instruction-discovery-bv2fytjm.js → pty-rxyhbgbe.js} +20 -20
  233. package/dist/chunks/{instruction-discovery-zjgypzx6.js → pty-rzyzyf97.js} +5 -5
  234. package/dist/chunks/{instruction-discovery-m42hzdpg.js → pty-s0fyf8fb.js} +19 -19
  235. package/dist/chunks/{instruction-discovery-yrznvahk.js → pty-s4enseaf.js} +2 -2
  236. package/dist/chunks/{instruction-discovery-42n6z8pq.js → pty-s4sy206n.js} +30 -30
  237. package/dist/chunks/{instruction-discovery-mw934p8z.js → pty-s8bz6z4k.js} +8 -8
  238. package/dist/chunks/{instruction-discovery-24gjgxem.js → pty-sgaqms2z.js} +17 -17
  239. package/dist/chunks/{instruction-discovery-x0e6qwje.js → pty-sgvsg5c7.js} +13 -13
  240. package/dist/chunks/{instruction-discovery-zb37q2qm.js → pty-sr4mx09d.js} +11 -11
  241. package/dist/chunks/{instruction-discovery-f1bvj3rd.js → pty-szjmac0q.js} +17 -17
  242. package/dist/chunks/{instruction-discovery-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
  243. package/dist/chunks/{instruction-discovery-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
  244. package/dist/chunks/{instruction-discovery-tdstcens.js → pty-tdstcens.js} +1 -1
  245. package/dist/chunks/{instruction-discovery-zrntq85h.js → pty-te0vzhy5.js} +10 -10
  246. package/dist/chunks/{instruction-discovery-gv6a8nnw.js → pty-th5km1p3.js} +5 -5
  247. package/dist/chunks/{instruction-discovery-2n6x26ww.js → pty-tp2tr8k0.js} +3 -3
  248. package/dist/chunks/{instruction-discovery-tvtrv512.js → pty-tvtrv512.js} +1 -1
  249. package/dist/chunks/{instruction-discovery-dc5a176q.js → pty-tzaf1sec.js} +13 -13
  250. package/dist/chunks/{instruction-discovery-d3k4bsrs.js → pty-v1y1zkts.js} +6 -6
  251. package/dist/chunks/{instruction-discovery-v9hj2zp6.js → pty-v6wk655t.js} +34 -34
  252. package/dist/chunks/{instruction-discovery-edbfpfck.js → pty-v8jfbz3g.js} +6 -6
  253. package/dist/chunks/{instruction-discovery-g01nxz4d.js → pty-v9cmgtcf.js} +1 -1
  254. package/dist/chunks/{instruction-discovery-rdf939bf.js → pty-vaynpwqg.js} +12 -12
  255. package/dist/chunks/{instruction-discovery-veqvce7d.js → pty-veqvce7d.js} +1 -1
  256. package/dist/chunks/{instruction-discovery-2tfmgkzg.js → pty-vkxpz7g2.js} +4 -4
  257. package/dist/chunks/{instruction-discovery-zxwpk2nb.js → pty-vyqtz9n7.js} +1 -1
  258. package/dist/chunks/{instruction-discovery-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
  259. package/dist/chunks/{instruction-discovery-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{instruction-discovery-7ynajkh9.js → pty-w7zd1bg5.js} +26 -26
  261. package/dist/chunks/{instruction-discovery-56yety9r.js → pty-w8dmehha.js} +37 -37
  262. package/dist/chunks/{instruction-discovery-wd87259q.js → pty-wd87259q.js} +1 -1
  263. package/dist/chunks/{instruction-discovery-7gqvs912.js → pty-wf7nhwxb.js} +18 -18
  264. package/dist/chunks/{instruction-discovery-pqa1w537.js → pty-wnqzfj2j.js} +10 -10
  265. package/dist/chunks/{instruction-discovery-qp85chj3.js → pty-wreggwv7.js} +18 -18
  266. package/dist/chunks/{instruction-discovery-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
  267. package/dist/chunks/{instruction-discovery-x43y2vfs.js → pty-x43y2vfs.js} +2 -2
  268. package/dist/chunks/{instruction-discovery-8bzjxz67.js → pty-xa6by1f1.js} +24 -24
  269. package/dist/chunks/{instruction-discovery-q8pd2zjz.js → pty-xdzdvgbv.js} +15 -15
  270. package/dist/chunks/{instruction-discovery-bbrn9wt5.js → pty-xj584aw0.js} +11 -11
  271. package/dist/chunks/{instruction-discovery-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
  272. package/dist/chunks/{instruction-discovery-dpkg50ah.js → pty-y71avatq.js} +4 -4
  273. package/dist/chunks/{instruction-discovery-tnahabn5.js → pty-yfbmjfv9.js} +11 -11
  274. package/dist/chunks/{instruction-discovery-sh9pyrtp.js → pty-ym4367vb.js} +20 -20
  275. package/dist/chunks/{instruction-discovery-w2t9zb6q.js → pty-yntqacmd.js} +15 -15
  276. package/dist/chunks/{instruction-discovery-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
  277. package/dist/chunks/{instruction-discovery-4mkcvr19.js → pty-yww5gzhe.js} +5 -5
  278. package/dist/chunks/{instruction-discovery-d25rvqmh.js → pty-yy158baq.js} +11 -11
  279. package/dist/chunks/{instruction-discovery-ktg44z5t.js → pty-yzsvg0b0.js} +162 -162
  280. package/dist/chunks/{instruction-discovery-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{instruction-discovery-9bkp3vk6.js → pty-z5c2cr5p.js} +14 -14
  282. package/dist/chunks/{instruction-discovery-v2cnm3g2.js → pty-z5wc9zep.js} +11 -11
  283. package/dist/chunks/{instruction-discovery-zeh9ct20.js → pty-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{instruction-discovery-5sb8wf39.js → pty-zjqdssy0.js} +16 -16
  285. package/dist/chunks/{instruction-discovery-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{instruction-discovery-q0pezbdn.js → pty-zvpdk192.js} +24 -24
  287. package/dist/chunks/{instruction-discovery-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
  288. package/dist/chunks/{instruction-discovery-0e5r1skn.js → pty-zyr433b0.js} +11 -11
  289. package/dist/codemode/catalog.js +1 -1
  290. package/dist/codemode/instructions.js +7 -7
  291. package/dist/codemode/tool.js +2 -2
  292. package/dist/command.js +79 -79
  293. package/dist/config/discovery.js +77 -77
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +19 -19
  296. package/dist/config/plugin/agent.js +117 -117
  297. package/dist/config/plugin/command.js +209 -209
  298. package/dist/config/plugin/compaction.js +155 -155
  299. package/dist/config/plugin/entry-observer.js +1 -1
  300. package/dist/config/plugin/formatter.js +117 -117
  301. package/dist/config/plugin/image.js +115 -115
  302. package/dist/config/plugin/instruction.js +85 -85
  303. package/dist/config/plugin/location-watcher.js +115 -115
  304. package/dist/config/plugin/mcp.js +126 -126
  305. package/dist/config/plugin/policy.js +114 -114
  306. package/dist/config/plugin/provider.js +113 -113
  307. package/dist/config/plugin/reference.js +117 -117
  308. package/dist/config/plugin/shell.js +118 -118
  309. package/dist/config/plugin/skill-file.js +97 -97
  310. package/dist/config/plugin/skill.js +136 -136
  311. package/dist/config/plugin/snapshot.js +115 -115
  312. package/dist/config/plugin/source.js +117 -117
  313. package/dist/config/plugin/tool-output.js +117 -117
  314. package/dist/config/plugin/websearch.js +115 -115
  315. package/dist/config/plugin/worktree.js +118 -118
  316. package/dist/config/variable.js +3 -3
  317. package/dist/config/watch.js +1 -1
  318. package/dist/config.js +117 -117
  319. package/dist/credential/sql.js +2 -2
  320. package/dist/credential.js +83 -83
  321. package/dist/database/database.js +64 -64
  322. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  323. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  324. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  325. package/dist/database/drizzle/index.js +15 -15
  326. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  327. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  329. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  331. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  333. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  335. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  336. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  337. package/dist/database/drizzle.js +16 -16
  338. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  339. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  340. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  341. package/dist/database/migration/20260225215848_workspace.js +1 -1
  342. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  343. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  344. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  345. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  346. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  347. package/dist/database/migration/20260323234822_events.js +1 -1
  348. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  349. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  350. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  351. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  352. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  353. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  354. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  355. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  356. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  357. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  358. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  359. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  360. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  361. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  362. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  363. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  364. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  365. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  366. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  367. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  368. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  369. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  370. package/dist/database/migration/20260611035744_credential.js +1 -1
  371. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  372. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  373. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  374. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  375. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  376. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  377. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  378. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  379. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  380. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  381. package/dist/database/migration/20260812213948_worktree.js +1 -1
  382. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  383. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  384. package/dist/database/migration.gen.js +47 -47
  385. package/dist/database/migration.js +49 -49
  386. package/dist/database/path.js +2 -2
  387. package/dist/database/schema.gen.js +1 -1
  388. package/dist/database/schema.sql.js +1 -1
  389. package/dist/database/sqlite.bun.js +1 -1
  390. package/dist/database/sqlite.js +1 -1
  391. package/dist/database/sqlite.node.js +1 -1
  392. package/dist/database/sqlite.workerd.js +1 -1
  393. package/dist/database/v1-migration.bun.js +74 -74
  394. package/dist/database/v1-migration.js +1 -1
  395. package/dist/effect/app-node-builder.js +362 -362
  396. package/dist/effect/app-node-platform.js +2 -2
  397. package/dist/effect/keyed-mutex.js +3 -3
  398. package/dist/effect/websocket-constructor.js +1 -1
  399. package/dist/environment/driver.js +1 -1
  400. package/dist/environment/environment.js +88 -88
  401. package/dist/environment/exec-defaults.js +2 -2
  402. package/dist/environment/files.js +1 -1
  403. package/dist/environment/index.js +90 -90
  404. package/dist/environment/local.js +2 -2
  405. package/dist/environment/memory.js +2 -2
  406. package/dist/environment/unavailable.js +1 -1
  407. package/dist/event/sql.js +1 -1
  408. package/dist/event-logger.js +68 -68
  409. package/dist/file-access.js +99 -99
  410. package/dist/file-mutation.js +87 -87
  411. package/dist/file-retention.js +1 -1
  412. package/dist/file.js +1 -1
  413. package/dist/filesystem/fff.bun.js +2 -2
  414. package/dist/filesystem/fff.js +1 -1
  415. package/dist/filesystem/fff.node.js +2 -2
  416. package/dist/filesystem/fff.workerd.js +2 -2
  417. package/dist/filesystem/ignore.js +1 -1
  418. package/dist/filesystem/location-watcher-policy.js +6 -6
  419. package/dist/filesystem/location-watcher.js +220 -220
  420. package/dist/filesystem/protected.js +1 -1
  421. package/dist/filesystem/search.js +99 -99
  422. package/dist/filesystem/watcher-binding.js +3 -3
  423. package/dist/filesystem/watcher.js +13 -13
  424. package/dist/filesystem.js +96 -96
  425. package/dist/form.js +80 -80
  426. package/dist/formatter/builtins.js +4 -4
  427. package/dist/formatter.js +82 -82
  428. package/dist/generate.js +89 -89
  429. package/dist/git.js +7 -7
  430. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  431. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  432. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  434. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  436. package/dist/github-copilot/copilot-provider.js +17 -17
  437. package/dist/github-copilot/models.js +3 -3
  438. package/dist/github-copilot/openai-compatible-error.js +1 -1
  439. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  440. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  441. package/dist/github-copilot/responses/openai-error.js +1 -1
  442. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  443. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  444. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  445. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  446. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  448. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  449. package/dist/id/id.js +1 -1
  450. package/dist/image/photon.js +2 -2
  451. package/dist/image.js +6 -6
  452. package/dist/instance/service.js +5 -5
  453. package/dist/instance.js +353 -353
  454. package/dist/instruction-discovery.js +83 -83
  455. package/dist/instructions/builtins.js +82 -82
  456. package/dist/instructions/index.js +5 -5
  457. package/dist/integration/connection.js +1 -1
  458. package/dist/integration.js +82 -82
  459. package/dist/job.js +77 -77
  460. package/dist/kv/sql.js +2 -2
  461. package/dist/kv.js +71 -71
  462. package/dist/location-activity.js +130 -130
  463. package/dist/location-mutation.js +99 -99
  464. package/dist/location-service-map.js +83 -83
  465. package/dist/location-services.js +350 -350
  466. package/dist/location.js +82 -82
  467. package/dist/mcp/client.js +86 -86
  468. package/dist/mcp/index.js +97 -97
  469. package/dist/mcp/instructions.js +120 -120
  470. package/dist/mcp/oauth.js +3 -3
  471. package/dist/mcp/stdio.js +85 -85
  472. package/dist/mime.js +1 -1
  473. package/dist/modal/models.js +3 -3
  474. package/dist/model-resolver.js +84 -84
  475. package/dist/model.js +6 -6
  476. package/dist/models-dev.js +86 -86
  477. package/dist/oauth/page.js +1 -1
  478. package/dist/permission/saved.js +78 -78
  479. package/dist/permission/sql.js +5 -5
  480. package/dist/permission.js +110 -110
  481. package/dist/persistent-pty/binary.bun.js +1 -1
  482. package/dist/persistent-pty/daemon.js +1 -1
  483. package/dist/persistent-pty/index.js +82 -82
  484. package/dist/persistent-pty/pty-binding.js +1 -1
  485. package/dist/persistent-pty.js +73 -73
  486. package/dist/plugin/agent.js +99 -99
  487. package/dist/plugin/command.js +96 -96
  488. package/dist/plugin/hooks.js +5 -5
  489. package/dist/plugin/host.js +213 -213
  490. package/dist/plugin/instance.js +5 -5
  491. package/dist/plugin/internal.js +324 -324
  492. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  493. package/dist/plugin/models-dev.js +75 -75
  494. package/dist/plugin/module.js +7 -7
  495. package/dist/plugin/optimize.js +2 -2
  496. package/dist/plugin/plan.js +97 -97
  497. package/dist/plugin/promise.js +1 -1
  498. package/dist/plugin/provider/alibaba.js +2 -2
  499. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  500. package/dist/plugin/provider/anthropic.js +2 -2
  501. package/dist/plugin/provider/azure.js +118 -118
  502. package/dist/plugin/provider/cerebras.js +2 -2
  503. package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
  504. package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
  505. package/dist/plugin/provider/cohere.js +2 -2
  506. package/dist/plugin/provider/configured.js +114 -114
  507. package/dist/plugin/provider/digitalocean.js +79 -79
  508. package/dist/plugin/provider/dynamic.js +2 -2
  509. package/dist/plugin/provider/factory.js +1 -1
  510. package/dist/plugin/provider/gateway.js +2 -2
  511. package/dist/plugin/provider/github-copilot.js +80 -80
  512. package/dist/plugin/provider/gitlab.js +3 -3
  513. package/dist/plugin/provider/google-vertex.js +2 -2
  514. package/dist/plugin/provider/kilo.js +2 -2
  515. package/dist/plugin/provider/llmgateway.js +76 -76
  516. package/dist/plugin/provider/lmstudio.js +117 -117
  517. package/dist/plugin/provider/mistral.js +2 -2
  518. package/dist/plugin/provider/modal.js +79 -79
  519. package/dist/plugin/provider/nvidia.js +2 -2
  520. package/dist/plugin/provider/ollama.js +117 -117
  521. package/dist/plugin/provider/openai-compatible.js +1 -1
  522. package/dist/plugin/provider/openai.js +78 -78
  523. package/dist/plugin/provider/opencode.js +79 -79
  524. package/dist/plugin/provider/openrouter.js +3 -3
  525. package/dist/plugin/provider/perplexity.js +2 -2
  526. package/dist/plugin/provider/poe.js +76 -76
  527. package/dist/plugin/provider/sap-ai-core.js +3 -3
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +117 -117
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +2 -2
  532. package/dist/plugin/provider/vllm.js +117 -117
  533. package/dist/plugin/provider/xai.js +77 -77
  534. package/dist/plugin/provider/zenmux.js +2 -2
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +74 -74
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +133 -133
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +6 -6
  542. package/dist/plugin/variant.js +4 -4
  543. package/dist/plugin/vcs/git.js +82 -82
  544. package/dist/plugin/vcs/hg.js +82 -82
  545. package/dist/plugin/warming.js +112 -112
  546. package/dist/plugin/websearch/exa.js +7 -7
  547. package/dist/plugin/websearch/firecrawl.js +6 -6
  548. package/dist/plugin/websearch/index.js +8 -8
  549. package/dist/plugin/websearch/mcp.js +4 -4
  550. package/dist/plugin/websearch/parallel.js +6 -6
  551. package/dist/plugin/websearch/tavily.js +6 -6
  552. package/dist/plugin.js +220 -220
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +83 -83
  556. package/dist/provider.js +5 -5
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +1 -1
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +88 -88
  561. package/dist/reference/instructions.js +84 -84
  562. package/dist/reference.js +86 -86
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +3 -3
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +91 -91
  567. package/dist/rpc.js +81 -81
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +72 -72
  570. package/dist/session/compaction.js +129 -129
  571. package/dist/session/context.js +147 -147
  572. package/dist/session/environment.js +5 -5
  573. package/dist/session/error.js +7 -7
  574. package/dist/session/event.js +1 -1
  575. package/dist/session/execution/restart.js +216 -216
  576. package/dist/session/execution.js +122 -122
  577. package/dist/session/generate.js +146 -146
  578. package/dist/session/history.js +15 -15
  579. package/dist/session/inbox.js +86 -86
  580. package/dist/session/info.js +3 -3
  581. package/dist/session/instruction-entry.js +77 -77
  582. package/dist/session/instruction-state.js +8 -8
  583. package/dist/session/instructions.js +92 -92
  584. package/dist/session/message-updater.js +2 -2
  585. package/dist/session/message.js +1 -1
  586. package/dist/session/model-request.js +113 -113
  587. package/dist/session/model-transport.js +9 -9
  588. package/dist/session/move.js +126 -126
  589. package/dist/session/projector.js +84 -84
  590. package/dist/session/prompt.js +100 -100
  591. package/dist/session/provider-context.js +3 -3
  592. package/dist/session/revert.js +85 -85
  593. package/dist/session/run-coordinator.js +3 -3
  594. package/dist/session/runner/index.js +3 -3
  595. package/dist/session/runner/llm.js +225 -225
  596. package/dist/session/runner/max-steps.js +1 -1
  597. package/dist/session/runner/model.js +86 -86
  598. package/dist/session/runner/publish-llm-event.js +3 -3
  599. package/dist/session/runner/retry.js +110 -110
  600. package/dist/session/runner/step.js +121 -121
  601. package/dist/session/runner/to-llm-message.js +2 -2
  602. package/dist/session/schema.js +5 -5
  603. package/dist/session/session.js +169 -169
  604. package/dist/session/shell.js +131 -131
  605. package/dist/session/skill.js +98 -98
  606. package/dist/session/sql.js +5 -5
  607. package/dist/session/stats.js +71 -71
  608. package/dist/session/store.js +83 -83
  609. package/dist/session/subagent-completion.js +1 -1
  610. package/dist/session/subagent-job.js +205 -205
  611. package/dist/session/system-prompt.js +3 -3
  612. package/dist/session/title.js +151 -151
  613. package/dist/session/to-session-error.js +107 -107
  614. package/dist/session/transfer.js +212 -212
  615. package/dist/session/usage.js +1 -1
  616. package/dist/session.js +211 -211
  617. package/dist/shell/parse.js +6 -6
  618. package/dist/shell/result.js +1 -1
  619. package/dist/shell/scan.js +1 -1
  620. package/dist/shell/select.js +15 -15
  621. package/dist/shell.js +133 -133
  622. package/dist/skill/discovery.js +6 -6
  623. package/dist/skill/instructions.js +102 -102
  624. package/dist/skill.js +105 -105
  625. package/dist/snapshot.js +88 -88
  626. package/dist/state.js +1 -1
  627. package/dist/tool/html-markdown.js +1 -1
  628. package/dist/tool/http-body.js +1 -1
  629. package/dist/tool/mcp.js +121 -121
  630. package/dist/tool/plugin/edit.js +115 -115
  631. package/dist/tool/plugin/file-diff.js +1 -1
  632. package/dist/tool/plugin/glob.js +118 -118
  633. package/dist/tool/plugin/grep.js +120 -120
  634. package/dist/tool/plugin/opencode.js +3 -3
  635. package/dist/tool/plugin/patch.js +117 -117
  636. package/dist/tool/plugin/question.js +98 -98
  637. package/dist/tool/plugin/read.js +121 -121
  638. package/dist/tool/plugin/shell.js +212 -212
  639. package/dist/tool/plugin/skill.js +108 -108
  640. package/dist/tool/plugin/subagent.js +214 -214
  641. package/dist/tool/plugin/webfetch.js +105 -105
  642. package/dist/tool/plugin/websearch.js +103 -103
  643. package/dist/tool/plugin/write.js +117 -117
  644. package/dist/tool/read-filesystem.js +96 -96
  645. package/dist/tool/runtime.js +1 -1
  646. package/dist/tool-output.js +8 -8
  647. package/dist/tool.js +13 -13
  648. package/dist/util/error-summary.js +1 -1
  649. package/dist/util/error.js +1 -1
  650. package/dist/util/iife.js +1 -1
  651. package/dist/util/lazy.js +1 -1
  652. package/dist/util/slug.js +1 -1
  653. package/dist/util/token.js +1 -1
  654. package/dist/util/which.js +1 -1
  655. package/dist/util/wildcard.js +1 -1
  656. package/dist/v1/config/agent.js +7 -7
  657. package/dist/v1/config/attachment.js +4 -4
  658. package/dist/v1/config/command.js +3 -3
  659. package/dist/v1/config/config.js +16 -16
  660. package/dist/v1/config/error.js +4 -4
  661. package/dist/v1/config/formatter.js +3 -3
  662. package/dist/v1/config/layout.js +1 -1
  663. package/dist/v1/config/lsp.js +5 -5
  664. package/dist/v1/config/mcp.js +4 -4
  665. package/dist/v1/config/migrate.js +4 -4
  666. package/dist/v1/config/permission.js +7 -7
  667. package/dist/v1/config/plugin.js +1 -1
  668. package/dist/v1/config/provider-options.js +1 -1
  669. package/dist/v1/config/provider.js +4 -4
  670. package/dist/v1/config/server.js +2 -2
  671. package/dist/v1/config/skills.js +3 -3
  672. package/dist/v1/permission.js +1 -1
  673. package/dist/vcs/patch.js +1 -1
  674. package/dist/vcs.js +85 -85
  675. package/dist/websearch.js +78 -78
  676. package/dist/wellknown/plugin.js +72 -72
  677. package/dist/wellknown.js +79 -79
  678. package/dist/workspace/driver.js +5 -5
  679. package/dist/workspace/sql.js +1 -1
  680. package/dist/workspace.js +78 -78
  681. package/dist/worktree/directory.js +4 -4
  682. package/dist/worktree/git.js +7 -7
  683. package/dist/worktree/refresh.js +342 -342
  684. package/dist/worktree/sql.js +5 -5
  685. package/dist/worktree.js +89 -89
  686. package/package.json +8 -8
  687. package/dist/chunks/instruction-discovery-0j1a1t13.js +0 -22
  688. package/dist/chunks/instruction-discovery-4yx2wtwn.js +0 -247
  689. package/dist/chunks/instruction-discovery-619r8v3y.js +0 -18
  690. package/dist/chunks/instruction-discovery-chckjpc4.js +0 -462
  691. /package/dist/chunks/{instruction-discovery-0mesazry.js → pty-0mesazry.js} +0 -0
  692. /package/dist/chunks/{instruction-discovery-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
  693. /package/dist/chunks/{instruction-discovery-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
  694. /package/dist/chunks/{instruction-discovery-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
  695. /package/dist/chunks/{instruction-discovery-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
  696. /package/dist/chunks/{instruction-discovery-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
  697. /package/dist/chunks/{instruction-discovery-2710q6r3.js → pty-2710q6r3.js} +0 -0
  698. /package/dist/chunks/{instruction-discovery-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
  699. /package/dist/chunks/{instruction-discovery-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
  700. /package/dist/chunks/{instruction-discovery-359p4xyc.js → pty-359p4xyc.js} +0 -0
  701. /package/dist/chunks/{instruction-discovery-3asan66x.js → pty-3asan66x.js} +0 -0
  702. /package/dist/chunks/{instruction-discovery-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
  703. /package/dist/chunks/{instruction-discovery-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
  704. /package/dist/chunks/{instruction-discovery-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
  705. /package/dist/chunks/{instruction-discovery-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
  706. /package/dist/chunks/{instruction-discovery-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
  707. /package/dist/chunks/{instruction-discovery-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
  708. /package/dist/chunks/{instruction-discovery-53557ph1.js → pty-53557ph1.js} +0 -0
  709. /package/dist/chunks/{instruction-discovery-550bvhaj.js → pty-550bvhaj.js} +0 -0
  710. /package/dist/chunks/{instruction-discovery-6prwharc.js → pty-6prwharc.js} +0 -0
  711. /package/dist/chunks/{instruction-discovery-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
  712. /package/dist/chunks/{instruction-discovery-7m9af43g.js → pty-7m9af43g.js} +0 -0
  713. /package/dist/chunks/{instruction-discovery-822emrt2.js → pty-822emrt2.js} +0 -0
  714. /package/dist/chunks/{instruction-discovery-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
  715. /package/dist/chunks/{instruction-discovery-8n3pysct.js → pty-8n3pysct.js} +0 -0
  716. /package/dist/chunks/{instruction-discovery-922hggd3.js → pty-922hggd3.js} +0 -0
  717. /package/dist/chunks/{instruction-discovery-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
  718. /package/dist/chunks/{instruction-discovery-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
  719. /package/dist/chunks/{instruction-discovery-a1tpkmh4.js → pty-a1tpkmh4.js} +0 -0
  720. /package/dist/chunks/{instruction-discovery-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
  721. /package/dist/chunks/{instruction-discovery-af5trqkr.js → pty-af5trqkr.js} +0 -0
  722. /package/dist/chunks/{instruction-discovery-afrmfg78.js → pty-afrmfg78.js} +0 -0
  723. /package/dist/chunks/{instruction-discovery-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
  724. /package/dist/chunks/{instruction-discovery-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
  725. /package/dist/chunks/{instruction-discovery-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
  726. /package/dist/chunks/{instruction-discovery-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
  727. /package/dist/chunks/{instruction-discovery-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
  728. /package/dist/chunks/{instruction-discovery-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
  729. /package/dist/chunks/{instruction-discovery-d9fn303g.js → pty-d9fn303g.js} +0 -0
  730. /package/dist/chunks/{instruction-discovery-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
  731. /package/dist/chunks/{instruction-discovery-dajrwvna.js → pty-dajrwvna.js} +0 -0
  732. /package/dist/chunks/{instruction-discovery-dap0rakb.js → pty-dap0rakb.js} +0 -0
  733. /package/dist/chunks/{instruction-discovery-df08tz66.js → pty-df08tz66.js} +0 -0
  734. /package/dist/chunks/{instruction-discovery-dy18nga0.js → pty-dy18nga0.js} +0 -0
  735. /package/dist/chunks/{instruction-discovery-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
  736. /package/dist/chunks/{instruction-discovery-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
  737. /package/dist/chunks/{instruction-discovery-ec1grn59.js → pty-ec1grn59.js} +0 -0
  738. /package/dist/chunks/{instruction-discovery-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
  739. /package/dist/chunks/{instruction-discovery-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
  740. /package/dist/chunks/{instruction-discovery-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
  741. /package/dist/chunks/{instruction-discovery-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
  742. /package/dist/chunks/{instruction-discovery-faypxj3z.js → pty-faypxj3z.js} +0 -0
  743. /package/dist/chunks/{instruction-discovery-fd410y7t.js → pty-fd410y7t.js} +0 -0
  744. /package/dist/chunks/{instruction-discovery-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
  745. /package/dist/chunks/{instruction-discovery-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
  746. /package/dist/chunks/{instruction-discovery-g86h250q.js → pty-g86h250q.js} +0 -0
  747. /package/dist/chunks/{instruction-discovery-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
  748. /package/dist/chunks/{instruction-discovery-gftt206x.js → pty-gftt206x.js} +0 -0
  749. /package/dist/chunks/{instruction-discovery-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
  750. /package/dist/chunks/{instruction-discovery-hk9envan.js → pty-hk9envan.js} +0 -0
  751. /package/dist/chunks/{instruction-discovery-hrnqkpcd.js → pty-hrnqkpcd.js} +0 -0
  752. /package/dist/chunks/{instruction-discovery-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
  753. /package/dist/chunks/{instruction-discovery-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
  754. /package/dist/chunks/{instruction-discovery-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
  755. /package/dist/chunks/{instruction-discovery-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
  756. /package/dist/chunks/{instruction-discovery-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
  757. /package/dist/chunks/{instruction-discovery-mp448xyj.js → pty-mp448xyj.js} +0 -0
  758. /package/dist/chunks/{instruction-discovery-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
  759. /package/dist/chunks/{instruction-discovery-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
  760. /package/dist/chunks/{instruction-discovery-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
  761. /package/dist/chunks/{instruction-discovery-njntx4h6.js → pty-njntx4h6.js} +0 -0
  762. /package/dist/chunks/{instruction-discovery-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
  763. /package/dist/chunks/{instruction-discovery-q74kybfr.js → pty-q74kybfr.js} +0 -0
  764. /package/dist/chunks/{instruction-discovery-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
  765. /package/dist/chunks/{instruction-discovery-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
  766. /package/dist/chunks/{instruction-discovery-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
  767. /package/dist/chunks/{instruction-discovery-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
  768. /package/dist/chunks/{instruction-discovery-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
  769. /package/dist/chunks/{instruction-discovery-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
  770. /package/dist/chunks/{instruction-discovery-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
  771. /package/dist/chunks/{instruction-discovery-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
  772. /package/dist/chunks/{instruction-discovery-twg0f83k.js → pty-twg0f83k.js} +0 -0
  773. /package/dist/chunks/{instruction-discovery-w803qqfp.js → pty-w803qqfp.js} +0 -0
  774. /package/dist/chunks/{instruction-discovery-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
  775. /package/dist/chunks/{instruction-discovery-wtztk69x.js → pty-wtztk69x.js} +0 -0
  776. /package/dist/chunks/{instruction-discovery-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
  777. /package/dist/chunks/{instruction-discovery-x61499pn.js → pty-x61499pn.js} +0 -0
  778. /package/dist/chunks/{instruction-discovery-y44na4kk.js → pty-y44na4kk.js} +0 -0
  779. /package/dist/chunks/{instruction-discovery-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
  780. /package/dist/chunks/{instruction-discovery-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
  781. /package/dist/chunks/{instruction-discovery-ym463w8f.js → pty-ym463w8f.js} +0 -0
  782. /package/dist/chunks/{instruction-discovery-z9919s4g.js → pty-z9919s4g.js} +0 -0
@@ -1,41 +1,41 @@
1
1
  import {
2
- ID17,
2
+ ID16,
3
3
  isAISDK2,
4
4
  packageName2,
5
5
  loadPackage2,
6
6
  mergeOverlay2,
7
7
  mergeHeaders2
8
- } from "./instruction-discovery-c7ecgrk6.js";
8
+ } from "./pty-9p3b3m98.js";
9
9
  import {
10
- Service59,
11
- node64
12
- } from "./instruction-discovery-v2cnm3g2.js";
10
+ Service60,
11
+ node63
12
+ } from "./pty-z5wc9zep.js";
13
13
  import {
14
14
  map2
15
- } from "./instruction-discovery-kh9gj6fg.js";
15
+ } from "./pty-526v470z.js";
16
16
  import {
17
- ID14,
17
+ ID15,
18
18
  VariantID2,
19
19
  Ref3
20
- } from "./instruction-discovery-pqa1w537.js";
20
+ } from "./pty-wnqzfj2j.js";
21
21
  import {
22
- ID8,
23
- Service62,
24
- node67
25
- } from "./instruction-discovery-wpk9fyyk.js";
22
+ ID10,
23
+ Service58,
24
+ node61
25
+ } from "./pty-q1bbvmq4.js";
26
26
  import {
27
- Service61,
28
- node66
29
- } from "./instruction-discovery-ev4g7n3e.js";
27
+ Service57,
28
+ node60
29
+ } from "./pty-r0xf0e5c.js";
30
30
  import {
31
31
  __export
32
- } from "./instruction-discovery-9rqn6x4v.js";
32
+ } from "./pty-9rqn6x4v.js";
33
33
 
34
34
  // src/model-resolver.ts
35
35
  var exports_model_resolver = {};
36
36
  __export(exports_model_resolver, {
37
37
  ModelResolver: () => exports_model_resolver,
38
- Service: () => Service58,
38
+ Service: () => Service56,
39
39
  UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
40
40
  UnsupportedCompactionError: () => UnsupportedCompactionError3,
41
41
  UnsupportedPackageError: () => UnsupportedPackageError3,
@@ -43,7 +43,7 @@ __export(exports_model_resolver, {
43
43
  fromCatalogModel: () => fromCatalogModel2,
44
44
  hasPackage: () => hasPackage2,
45
45
  layer: () => layer21,
46
- node: () => node63,
46
+ node: () => node59,
47
47
  resolveModel: () => resolveModel2,
48
48
  withVariant: () => withVariant2
49
49
  });
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
53
53
  import { Context, Effect, Layer, Schema, Struct } from "effect";
54
54
  import { Npm } from "@opencode/util/npm";
55
55
  class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
56
- providerID: ID17,
57
- modelID: ID14,
56
+ providerID: ID16,
57
+ modelID: ID15,
58
58
  variant: VariantID2
59
59
  }) {
60
60
  get message() {
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
63
63
  }
64
64
 
65
65
  class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
66
- providerID: ID17,
67
- modelID: ID14,
66
+ providerID: ID16,
67
+ modelID: ID15,
68
68
  package: Schema.String
69
69
  }) {
70
70
  get message() {
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
73
73
  }
74
74
 
75
75
  class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
76
- providerID: ID17,
77
- modelID: ID14,
76
+ providerID: ID16,
77
+ modelID: ID15,
78
78
  variables: Schema.Array(Schema.String)
79
79
  }) {
80
80
  get message() {
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
83
83
  }
84
84
 
85
85
  class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
86
- providerID: ID17,
87
- modelID: ID14,
86
+ providerID: ID16,
87
+ modelID: ID15,
88
88
  route: Schema.String
89
89
  }) {
90
90
  get message() {
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
92
92
  }
93
93
  }
94
94
 
95
- class Service58 extends Context.Service()("@opencode/ModelResolver") {
95
+ class Service56 extends Context.Service()("@opencode/ModelResolver") {
96
96
  }
97
97
  var withVariant2 = (model, variantID) => {
98
98
  const id = variantID === "default" ? undefined : variantID;
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
218
218
  });
219
219
  var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
220
220
  var hasPackage2 = (model) => Boolean(model.package);
221
- var layer21 = Layer.effect(Service58, Effect.gen(function* () {
222
- const catalog = yield* Service61;
223
- const integrations = yield* Service62;
221
+ var layer21 = Layer.effect(Service56, Effect.gen(function* () {
222
+ const catalog = yield* Service57;
223
+ const integrations = yield* Service58;
224
224
  const npm = yield* Npm.Service;
225
- const aisdk = yield* Service59;
225
+ const aisdk = yield* Service60;
226
226
  const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
227
227
  const provider = yield* catalog.provider.get(selected.providerID);
228
- const connection = yield* integrations.connection.active(provider?.integrationID ?? ID8.make(selected.providerID));
228
+ const connection = yield* integrations.connection.active(provider?.integrationID ?? ID10.make(selected.providerID));
229
229
  const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
230
230
  const runtimeInfo = yield* withVariant2(selected, variant);
231
231
  const model = yield* fromCatalogModel2(runtimeInfo, credential, {
@@ -246,7 +246,7 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
246
246
  compaction: selected.compaction
247
247
  };
248
248
  });
249
- return Service58.of({
249
+ return Service56.of({
250
250
  resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
251
251
  const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
252
252
  if (!selected)
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
263
263
  const name = packageName2(packageName);
264
264
  return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
265
265
  }
266
- var node63 = makeLocationNode({
267
- service: Service58,
266
+ var node59 = makeLocationNode({
267
+ service: Service56,
268
268
  layer: layer21,
269
- deps: [node66, node67, Npm.node, node64]
269
+ deps: [node60, node61, Npm.node, node63]
270
270
  });
271
271
 
272
- export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service58, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node63, exports_model_resolver };
272
+ export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service56, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer21, node59, exports_model_resolver };
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getViewSelectedFieldsRuntime2,
3
3
  orderSelectedFields2
4
- } from "./instruction-discovery-emrn6kk6.js";
4
+ } from "./pty-emrn6kk6.js";
5
5
 
6
6
  // src/database/drizzle/sqlite-core/effect/select.ts
7
7
  import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./instruction-discovery-n53pthfb.js";
4
+ } from "./pty-8w0tny4e.js";
5
5
  import {
6
6
  create3
7
- } from "./instruction-discovery-kg06axw8.js";
7
+ } from "./pty-kg06axw8.js";
8
8
  import {
9
9
  __export
10
- } from "./instruction-discovery-9rqn6x4v.js";
10
+ } from "./pty-9rqn6x4v.js";
11
11
 
12
12
  // src/command.ts
13
13
  var exports_command4 = {};
14
14
  __export(exports_command4, {
15
15
  Command: () => exports_command4,
16
- Event: () => Event9,
16
+ Event: () => Event10,
17
17
  ExecutionError: () => ExecutionError2,
18
- Info: () => Info8,
18
+ Info: () => Info7,
19
19
  NotFoundError: () => NotFoundError5,
20
- Service: () => Service41,
21
- layer: () => layer17,
22
- node: () => node45
20
+ Service: () => Service44,
21
+ layer: () => layer18,
22
+ node: () => node48
23
23
  });
24
24
  import { Command } from "@opencode/schema/command";
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
27
- import { Event as Event9 } from "@opencode/schema/command";
28
- var Info8 = Command.Info;
27
+ import { Event as Event10 } from "@opencode/schema/command";
28
+ var Info7 = Command.Info;
29
29
 
30
30
  class NotFoundError5 extends Schema.TaggedError()("Command.NotFoundError", {
31
31
  command: Schema.String,
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
39
39
  }) {
40
40
  }
41
41
 
42
- class Service41 extends Context.Service()("@opencode/Command") {
42
+ class Service44 extends Context.Service()("@opencode/Command") {
43
43
  }
44
- var layer17 = Layer.effect(Service41, Effect.gen(function* () {
44
+ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
45
45
  const bus = yield* Service79;
46
46
  const state = create3({
47
47
  name: "command",
@@ -51,11 +51,11 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
51
51
  }),
52
52
  notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
53
53
  });
54
- const info = (definition) => Info8.make({
54
+ const info = (definition) => Info7.make({
55
55
  name: definition.name,
56
56
  description: definition.description
57
57
  });
58
- return Service41.of({
58
+ return Service44.of({
59
59
  reload: state.reload,
60
60
  transform: state.transform,
61
61
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -71,9 +71,9 @@ var layer17 = Layer.effect(Service41, Effect.gen(function* () {
71
71
  })
72
72
  });
73
73
  }));
74
- var node45 = makeLocationNode({
75
- service: Service41,
76
- layer: layer17,
74
+ var node48 = makeLocationNode({
75
+ service: Service44,
76
+ layer: layer18,
77
77
  deps: [node84]
78
78
  });
79
79
  function errorMessage(error) {
@@ -86,4 +86,4 @@ function errorMessage(error) {
86
86
  return "Command execution failed";
87
87
  }
88
88
 
89
- export { Info8, NotFoundError5, ExecutionError2, Service41, layer17, node45, exports_command4, Event9 };
89
+ export { Info7, NotFoundError5, ExecutionError2, Service44, layer18, node48, exports_command4, Event10 };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID17
3
- } from "./instruction-discovery-c7ecgrk6.js";
2
+ ID16
3
+ } from "./pty-9p3b3m98.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/model.ts
9
9
  var exports_model2 = {};
@@ -12,17 +12,17 @@ __export(exports_model2, {
12
12
  Compatibility: () => Compatibility2,
13
13
  Cost: () => Cost2,
14
14
  Family: () => Family2,
15
- ID: () => ID14,
15
+ ID: () => ID15,
16
16
  Info: () => Info28,
17
17
  Model: () => exports_model2,
18
18
  ReasoningField: () => ReasoningField2,
19
19
  Ref: () => Ref3,
20
20
  VariantID: () => VariantID2,
21
21
  compatibility: () => compatibility2,
22
- parse: () => parse5
22
+ parse: () => parse4
23
23
  });
24
24
  import { Model } from "@opencode/schema/model";
25
- var ID14 = Model.ID;
25
+ var ID15 = Model.ID;
26
26
  var VariantID2 = Model.VariantID;
27
27
  var Family2 = Model.Family;
28
28
  var ReasoningField2 = Model.ReasoningField;
@@ -38,12 +38,12 @@ function compatibility2(input) {
38
38
  return;
39
39
  return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
40
40
  }
41
- function parse5(input) {
41
+ function parse4(input) {
42
42
  const index = input.indexOf("/");
43
43
  return {
44
- providerID: ID17.make(index === -1 ? input : input.slice(0, index)),
45
- modelID: ID14.make(index === -1 ? "" : input.slice(index + 1))
44
+ providerID: ID16.make(index === -1 ? input : input.slice(0, index)),
45
+ modelID: ID15.make(index === -1 ? "" : input.slice(index + 1))
46
46
  };
47
47
  }
48
48
 
49
- export { ID14, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse5, exports_model2 };
49
+ export { ID15, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref3, Info28, compatibility2, parse4, exports_model2 };
@@ -1,23 +1,23 @@
1
1
  import {
2
- Service74,
3
- node79,
4
- canonical3
5
- } from "./instruction-discovery-vth3sqng.js";
2
+ Service61,
3
+ node64,
4
+ canonical2
5
+ } from "./pty-ewyzxja9.js";
6
6
  import {
7
- Service55,
8
- node59
9
- } from "./instruction-discovery-edbfpfck.js";
7
+ Service49,
8
+ node52
9
+ } from "./pty-v8jfbz3g.js";
10
10
  import {
11
- Service25
12
- } from "./instruction-discovery-q8pd2zjz.js";
11
+ Service21
12
+ } from "./pty-xdzdvgbv.js";
13
13
  import {
14
14
  layer2
15
- } from "./instruction-discovery-4yx2wtwn.js";
15
+ } from "./pty-jcst6tya.js";
16
16
 
17
17
  // src/location-services.ts
18
18
  import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
19
19
  function buildLocationServiceMap2(replacements = []) {
20
- return Layer.effect(Service74, Effect.gen(function* () {
20
+ return Layer.effect(Service61, Effect.gen(function* () {
21
21
  const owner = yield* Effect.scope;
22
22
  const builds = MutableHashMap.empty();
23
23
  const inner = yield* LayerMap.make((ref) => {
@@ -28,7 +28,7 @@ function buildLocationServiceMap2(replacements = []) {
28
28
  if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
29
29
  return Effect.void;
30
30
  if (Exit.isSuccess(exit)) {
31
- build.close = Context.get(exit.value, Service25).close;
31
+ build.close = Context.get(exit.value, Service21).close;
32
32
  return Effect.void;
33
33
  }
34
34
  MutableHashMap.remove(builds, ref);
@@ -39,22 +39,22 @@ function buildLocationServiceMap2(replacements = []) {
39
39
  }, { idleTimeToLive: Duration.infinity });
40
40
  const map = {
41
41
  ...inner,
42
- get: (ref) => inner.get(canonical3(ref)),
43
- contextEffect: (ref) => inner.contextEffect(canonical3(ref)),
44
- contextEffectOption: (ref) => inner.contextEffectOption(canonical3(ref)),
42
+ get: (ref) => inner.get(canonical2(ref)),
43
+ contextEffect: (ref) => inner.contextEffect(canonical2(ref)),
44
+ contextEffectOption: (ref) => inner.contextEffectOption(canonical2(ref)),
45
45
  invalidate: (ref) => Effect.suspend(() => {
46
- const key = canonical3(ref);
46
+ const key = canonical2(ref);
47
47
  const build = Option.getOrUndefined(MutableHashMap.get(builds, key));
48
48
  MutableHashMap.remove(builds, key);
49
49
  return inner.invalidate(key).pipe(Effect.andThen(build?.close ?? Effect.void));
50
50
  })
51
51
  };
52
52
  const bindings = [
53
- node59.replace(Layer.succeed(Service55, {
53
+ node52.replace(Layer.succeed(Service49, {
54
54
  provide: (session) => Effect.provide(map.get(session.location))
55
55
  })),
56
56
  ...replacements,
57
- node79.replace(Layer.succeed(Service74, map))
57
+ node64.replace(Layer.succeed(Service61, map))
58
58
  ];
59
59
  return map;
60
60
  }));
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/session/subagent-completion.ts
6
6
  var exports_subagent_completion = {};
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  definition2,
3
3
  normalizedName2
4
- } from "./instruction-discovery-3w5fmr99.js";
4
+ } from "./pty-3w5fmr99.js";
5
5
  import {
6
6
  __export
7
- } from "./instruction-discovery-9rqn6x4v.js";
7
+ } from "./pty-9rqn6x4v.js";
8
8
 
9
9
  // src/codemode/tool.ts
10
10
  var exports_tool2 = {};
@@ -4,43 +4,43 @@ import {
4
4
  normalizeContent2,
5
5
  normalizedName2,
6
6
  effectiveName2
7
- } from "./instruction-discovery-3w5fmr99.js";
7
+ } from "./pty-3w5fmr99.js";
8
8
  import {
9
9
  create2,
10
10
  catalog2
11
- } from "./instruction-discovery-x43y2vfs.js";
11
+ } from "./pty-x43y2vfs.js";
12
12
  import {
13
13
  create3
14
- } from "./instruction-discovery-kg06axw8.js";
14
+ } from "./pty-kg06axw8.js";
15
15
  import {
16
- Service56,
17
- node60
18
- } from "./instruction-discovery-ve686vvv.js";
16
+ Service41,
17
+ node45
18
+ } from "./pty-pqd1mzxt.js";
19
19
  import {
20
- Service72,
21
- node77
22
- } from "./instruction-discovery-ka2k270b.js";
20
+ Service66,
21
+ node70
22
+ } from "./pty-9cg0vjy1.js";
23
23
  import {
24
24
  match2
25
- } from "./instruction-discovery-y1fvbwt7.js";
25
+ } from "./pty-y1fvbwt7.js";
26
26
  import {
27
27
  __export
28
- } from "./instruction-discovery-9rqn6x4v.js";
28
+ } from "./pty-9rqn6x4v.js";
29
29
 
30
30
  // src/tool.ts
31
31
  var exports_tool = {};
32
32
  __export(exports_tool, {
33
33
  CallID: () => CallID2,
34
34
  Content: () => Content3,
35
- Error: () => Error4,
35
+ Error: () => Error3,
36
36
  FileContent: () => FileContent3,
37
37
  RegistrationError: () => RegistrationError2,
38
- Service: () => Service45,
38
+ Service: () => Service40,
39
39
  TextContent: () => TextContent2,
40
40
  Tool: () => exports_tool,
41
- node: () => node49
41
+ node: () => node44
42
42
  });
43
- import { CallID as CallID2, Content as Content3, Error as Error4, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
43
+ import { CallID as CallID2, Content as Content3, Error as Error3, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
44
44
  import { ToolDefinition } from "@opencode/ai";
45
45
  import { Tool } from "@opencode/schema/tool";
46
46
  import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
51
51
  }) {
52
52
  }
53
53
 
54
- class Service45 extends Context.Service()("@opencode/Tool") {
54
+ class Service40 extends Context.Service()("@opencode/Tool") {
55
55
  }
56
- var layer = Layer.effect(Service45, Effect.gen(function* () {
57
- const hooks = yield* Service72;
58
- const image = yield* Service56;
56
+ var layer = Layer.effect(Service40, Effect.gen(function* () {
57
+ const hooks = yield* Service66;
58
+ const image = yield* Service41;
59
59
  const normalizeImages = Effect.fnUntraced(function* (content) {
60
60
  const normalized = yield* Effect.forEach(content, (item) => {
61
61
  if (item.type !== "file" || !item.mime.startsWith("image/"))
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
180
180
  error: error.message
181
181
  }), { discard: true })
182
182
  });
183
- return Service45.of({
183
+ return Service40.of({
184
184
  transform: state.transform,
185
185
  reload: state.reload,
186
186
  snapshot: Effect.fn("Tool.snapshot")((permissions) => Effect.sync(() => {
@@ -262,10 +262,10 @@ function namespaceError(name) {
262
262
  return;
263
263
  return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
264
264
  }
265
- var node49 = makeLocationNode({
266
- service: Service45,
265
+ var node44 = makeLocationNode({
266
+ service: Service40,
267
267
  layer,
268
- deps: [node77, node60]
268
+ deps: [node70, node45]
269
269
  });
270
270
 
271
- export { RegistrationError2, Service45, node49, exports_tool, CallID2, Content3, Error4, FileContent3, TextContent2 };
271
+ export { RegistrationError2, Service40, node44, exports_tool, CallID2, Content3, Error3, FileContent3, TextContent2 };
@@ -1,33 +1,33 @@
1
1
  import {
2
2
  Service79,
3
3
  node84
4
- } from "./instruction-discovery-n53pthfb.js";
4
+ } from "./pty-8w0tny4e.js";
5
5
  import {
6
6
  optional2,
7
7
  statics2
8
- } from "./instruction-discovery-922hggd3.js";
8
+ } from "./pty-922hggd3.js";
9
9
  import {
10
10
  Ref4,
11
- Service75,
12
- node80
13
- } from "./instruction-discovery-gn781x5c.js";
11
+ Service76,
12
+ node81
13
+ } from "./pty-qpw0y00r.js";
14
14
  import {
15
15
  __export
16
- } from "./instruction-discovery-9rqn6x4v.js";
16
+ } from "./pty-9rqn6x4v.js";
17
17
 
18
18
  // src/rpc.ts
19
19
  var exports_rpc = {};
20
20
  __export(exports_rpc, {
21
21
  Rpc: () => exports_rpc,
22
- Service: () => Service25,
22
+ Service: () => Service21,
23
23
  define: () => define2,
24
- node: () => node29
24
+ node: () => node25
25
25
  });
26
26
  import { define as define2 } from "@opencode/schema/rpc";
27
27
  import { Event } from "@opencode/schema/event";
28
28
  import { makeLocationNode } from "@opencode/util/effect/app-node";
29
29
  import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
30
- class Service25 extends Context.Service()("@opencode/Rpc") {
30
+ class Service21 extends Context.Service()("@opencode/Rpc") {
31
31
  }
32
32
 
33
33
  class DeclaredError extends Error {
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
39
39
  this.data = data;
40
40
  }
41
41
  }
42
- var layer = Layer.effect(Service25, Effect.gen(function* () {
42
+ var layer = Layer.effect(Service21, Effect.gen(function* () {
43
43
  const bus = yield* Service79;
44
- const location = yield* Service75;
44
+ const location = yield* Service76;
45
45
  const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
46
46
  const closed = yield* Deferred.make();
47
47
  const callContext = {
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service25, Effect.gen(function* () {
118
118
  const registered = events.get(name);
119
119
  if (!registered)
120
120
  return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
121
- return bus.subscribe(registered.definition).pipe(Stream.provideService(Service75, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
121
+ return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
122
122
  }
123
123
  }
124
124
  };
125
125
  };
126
- return Service25.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
126
+ return Service21.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
127
127
  }));
128
- var node29 = makeLocationNode({ service: Service25, layer, deps: [node84, node80] });
128
+ var node25 = makeLocationNode({ service: Service21, layer, deps: [node84, node81] });
129
129
  var fields = {
130
130
  id: Event.ID,
131
131
  created: Schema.Finite,
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
210
210
  };
211
211
  });
212
212
 
213
- export { Service25, node29, exports_rpc, define2 };
213
+ export { Service21, node25, exports_rpc, define2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./instruction-discovery-5t3nmthw.js";
3
+ } from "./pty-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./instruction-discovery-9rqn6x4v.js";
6
+ } from "./pty-9rqn6x4v.js";
7
7
 
8
8
  // src/session/model-transport.ts
9
9
  var exports_model_transport = {};
10
10
  __export(exports_model_transport, {
11
- Service: () => Service33,
11
+ Service: () => Service37,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer13,
13
+ layer: () => layer16,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node37
15
+ node: () => node41
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
31
31
  });
32
32
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
33
33
 
34
- class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
34
+ class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
35
35
  }
36
36
  var transportError = (message, input) => new AIError({
37
37
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
55
55
  return Effect.fail(observation.error);
56
56
  };
57
57
  var observationTerminal = (observation) => observation.type !== "frame";
58
- var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
58
+ var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
59
59
  const scope = yield* Scope.Scope;
60
60
  const states = new Map;
61
61
  const state = (sessionID) => {
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* ()
331
331
  }, { discard: true });
332
332
  });
333
333
  yield* Effect.addFinalizer(() => closeAll);
334
- return Service33.of({ bind, close, closeAll });
334
+ return Service37.of({ bind, close, closeAll });
335
335
  }));
336
- var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
336
+ var layer16 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
337
337
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
338
338
  })));
339
- var node37 = makeGlobalNode({ service: Service33, layer: layer13, deps: [webSocketConstructor2] });
339
+ var node41 = makeGlobalNode({ service: Service37, layer: layer16, deps: [webSocketConstructor2] });
340
340
 
341
- export { Service33, makeLayer2, layer13, node37, exports_model_transport };
341
+ export { Service37, makeLayer2, layer16, node41, exports_model_transport };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./instruction-discovery-9rqn6x4v.js";
3
+ } from "./pty-9rqn6x4v.js";
4
4
 
5
5
  // src/util/wildcard.ts
6
6
  var exports_wildcard = {};