@opencode/core 0.0.0-dev-20410 → 0.0.0-dev-20411

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 (799) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +81 -81
  3. package/dist/aisdk-native.js +89 -89
  4. package/dist/aisdk.js +94 -94
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +73 -73
  7. package/dist/chunks/{wellknown-rzs3gq0x.js → state-00x4qneg.js} +8 -8
  8. package/dist/chunks/{wellknown-j5g32akq.js → state-01emmzys.js} +4 -4
  9. package/dist/chunks/{wellknown-fdqe7t98.js → state-080n5mh9.js} +27 -27
  10. package/dist/chunks/{wellknown-44mgpfzg.js → state-09vwy2yp.js} +34 -34
  11. package/dist/chunks/{wellknown-94xk6992.js → state-0b1r2e1j.js} +33 -33
  12. package/dist/chunks/{wellknown-1s1t9db3.js → state-0eb0nhrg.js} +26 -26
  13. package/dist/chunks/{wellknown-0rpx8wc5.js → state-0fdqm06g.js} +18 -18
  14. package/dist/chunks/{wellknown-vykevjvn.js → state-0gapa1rm.js} +5 -5
  15. package/dist/chunks/{wellknown-94sexpec.js → state-0jj8ma0e.js} +32 -32
  16. package/dist/chunks/{wellknown-0paq2nw3.js → state-0paq2nw3.js} +1 -1
  17. package/dist/chunks/{wellknown-0xgfr3a5.js → state-0saa9dh3.js} +5 -5
  18. package/dist/chunks/{wellknown-hbdbv0wt.js → state-0vpw0he7.js} +39 -39
  19. package/dist/chunks/{wellknown-szrbzcjd.js → state-0ydwyph9.js} +27 -27
  20. package/dist/chunks/{wellknown-w7bd8vdp.js → state-11jr2j0r.js} +8 -8
  21. package/dist/chunks/{wellknown-en2jb2v2.js → state-11z4q6e9.js} +35 -35
  22. package/dist/chunks/{wellknown-m76ak856.js → state-1379bkbv.js} +7 -7
  23. package/dist/chunks/{wellknown-vqmgxh08.js → state-14jhafnq.js} +3 -3
  24. package/dist/chunks/{wellknown-stk7aj9c.js → state-157c2mfw.js} +18 -18
  25. package/dist/chunks/{wellknown-1mbawdqw.js → state-1bj6zprj.js} +28 -28
  26. package/dist/chunks/{wellknown-1dazxqgg.js → state-1dazxqgg.js} +2 -2
  27. package/dist/chunks/{wellknown-2r2n6yth.js → state-1qw2fbrj.js} +19 -19
  28. package/dist/chunks/{wellknown-jjfwpmnh.js → state-1syx43pj.js} +44 -44
  29. package/dist/chunks/{wellknown-21r38tys.js → state-21r38tys.js} +1 -1
  30. package/dist/chunks/{wellknown-etk0206k.js → state-27tmf2q1.js} +12 -12
  31. package/dist/chunks/{wellknown-h9k0myby.js → state-29fwyzcd.js} +41 -41
  32. package/dist/chunks/{wellknown-2a5m3afh.js → state-2a5m3afh.js} +1 -1
  33. package/dist/chunks/{wellknown-ggh48w3t.js → state-2bvep787.js} +58 -58
  34. package/dist/chunks/state-2dkqpbz0.js +26 -0
  35. package/dist/chunks/{wellknown-2fwvtqtm.js → state-2n2pm2hg.js} +30 -30
  36. package/dist/chunks/{wellknown-0zdym56s.js → state-32ymn5e1.js} +9 -9
  37. package/dist/chunks/{wellknown-zn5188kg.js → state-371xbacx.js} +13 -13
  38. package/dist/chunks/{wellknown-k88fwccj.js → state-3ajzyqzg.js} +11 -11
  39. package/dist/chunks/{wellknown-xp89vksz.js → state-3cp35e57.js} +11 -11
  40. package/dist/chunks/{wellknown-3fc6dm20.js → state-3fc6dm20.js} +1 -1
  41. package/dist/chunks/{wellknown-3hepkmqq.js → state-3hepkmqq.js} +1 -1
  42. package/dist/chunks/{wellknown-wz6t5by9.js → state-3p800b92.js} +13 -13
  43. package/dist/chunks/{wellknown-d6kf3zw4.js → state-3pkc36ya.js} +7 -7
  44. package/dist/chunks/{wellknown-3smtnn6g.js → state-3smtnn6g.js} +1 -1
  45. package/dist/chunks/{wellknown-3tvqynh2.js → state-3tvqynh2.js} +1 -1
  46. package/dist/chunks/{wellknown-d7r387ef.js → state-3wrtxrr4.js} +6 -6
  47. package/dist/chunks/{wellknown-rsbn0fcn.js → state-3wtbjpw0.js} +21 -21
  48. package/dist/chunks/{wellknown-3zsf4n22.js → state-3zsf4n22.js} +1 -1
  49. package/dist/chunks/{wellknown-4btpfq85.js → state-475fzmnb.js} +29 -29
  50. package/dist/chunks/{wellknown-e7rr3zef.js → state-48bdb4sw.js} +12 -12
  51. package/dist/chunks/{wellknown-jkna1137.js → state-490gqbd2.js} +6 -6
  52. package/dist/chunks/{wellknown-vbfgae2j.js → state-4bm5ja14.js} +4 -4
  53. package/dist/chunks/{wellknown-4z58m4b4.js → state-4j4tgtq5.js} +4 -4
  54. package/dist/chunks/{wellknown-stmrx373.js → state-4md02mnq.js} +8 -8
  55. package/dist/chunks/{wellknown-dzbnv1y8.js → state-4phvkvd3.js} +21 -21
  56. package/dist/chunks/{wellknown-e7cyz2n2.js → state-4q6hdv07.js} +20 -20
  57. package/dist/chunks/{wellknown-j2598mjc.js → state-4s41203t.js} +8 -8
  58. package/dist/chunks/{wellknown-5yxxxe3w.js → state-4vby096t.js} +9 -9
  59. package/dist/chunks/{wellknown-afdq2nq0.js → state-4zkmk6jk.js} +35 -35
  60. package/dist/chunks/{wellknown-2p2ksper.js → state-54m8g82e.js} +5 -5
  61. package/dist/chunks/{wellknown-54ma36ye.js → state-54ma36ye.js} +1 -1
  62. package/dist/chunks/{wellknown-0na27aqw.js → state-55cazk4c.js} +24 -24
  63. package/dist/chunks/{wellknown-1ygqh575.js → state-56gdpj1q.js} +9 -9
  64. package/dist/chunks/{wellknown-6qsyht78.js → state-58zcwrv5.js} +42 -42
  65. package/dist/chunks/{wellknown-be434b93.js → state-594yxk57.js} +46 -46
  66. package/dist/chunks/{wellknown-b3hxsf30.js → state-5a1vmb6m.js} +6 -6
  67. package/dist/chunks/{wellknown-5daktx2q.js → state-5daktx2q.js} +1 -1
  68. package/dist/chunks/{wellknown-v0pw3s3m.js → state-5md0szhq.js} +48 -48
  69. package/dist/chunks/{wellknown-e3qxr5gk.js → state-5qd3pb7m.js} +2 -2
  70. package/dist/chunks/{wellknown-5t3nmthw.js → state-5t3nmthw.js} +2 -2
  71. package/dist/chunks/{wellknown-bk7jaeqh.js → state-5xpznt2d.js} +4 -4
  72. package/dist/chunks/{wellknown-xmgh8e8k.js → state-5xzzmb84.js} +144 -144
  73. package/dist/chunks/{wellknown-vrdgc38a.js → state-62kd59t7.js} +33 -33
  74. package/dist/chunks/{wellknown-669tq793.js → state-669tq793.js} +1 -1
  75. package/dist/chunks/{wellknown-y54hr7f3.js → state-66fqs2ya.js} +9 -9
  76. package/dist/chunks/{wellknown-dbv05mm3.js → state-697fm79x.js} +4 -4
  77. package/dist/chunks/{wellknown-zz2gve7a.js → state-69pvpxfa.js} +12 -12
  78. package/dist/chunks/{wellknown-rc5hc0js.js → state-69z88nvy.js} +93 -93
  79. package/dist/chunks/{wellknown-edfps4tk.js → state-6df92bz7.js} +2 -2
  80. package/dist/chunks/{wellknown-6msgmcgs.js → state-6msgmcgs.js} +1 -1
  81. package/dist/chunks/{wellknown-dp18k49k.js → state-6qh3dda1.js} +20 -20
  82. package/dist/chunks/{wellknown-hs5cnsfg.js → state-6sm5cyvc.js} +43 -43
  83. package/dist/chunks/{wellknown-z8qjm4kc.js → state-6t7r69c0.js} +51 -51
  84. package/dist/chunks/{wellknown-x2qdxhwm.js → state-6ysrkrkr.js} +8 -8
  85. package/dist/chunks/{wellknown-pdzttwzv.js → state-72ncs47m.js} +13 -13
  86. package/dist/chunks/{wellknown-7bmhse3q.js → state-7bmhse3q.js} +1 -1
  87. package/dist/chunks/{wellknown-7dqw4kz8.js → state-7dqw4kz8.js} +1 -1
  88. package/dist/chunks/{wellknown-5epte933.js → state-7w99qc9d.js} +2 -2
  89. package/dist/chunks/{wellknown-sw4z7rqk.js → state-7wzqh5r6.js} +16 -16
  90. package/dist/chunks/{wellknown-w1eejvng.js → state-84txncab.js} +5 -5
  91. package/dist/chunks/{wellknown-fhs97t90.js → state-84zt2byv.js} +9 -9
  92. package/dist/chunks/{wellknown-ksgwj901.js → state-88nc53jp.js} +16 -16
  93. package/dist/chunks/{wellknown-8d7r5vzw.js → state-8d7r5vzw.js} +1 -1
  94. package/dist/chunks/{wellknown-rys8zzfc.js → state-8hskzk87.js} +23 -23
  95. package/dist/chunks/{wellknown-pn2bvya9.js → state-8jrzbwwk.js} +11 -11
  96. package/dist/chunks/{wellknown-bbsyhe2f.js → state-8v48tazp.js} +10 -10
  97. package/dist/chunks/{wellknown-abjnfqr5.js → state-8wcrzxjs.js} +12 -12
  98. package/dist/chunks/{wellknown-mt2wpz7r.js → state-8wm6h3ms.js} +17 -17
  99. package/dist/chunks/{wellknown-164an6e8.js → state-8z86y1bf.js} +23 -23
  100. package/dist/chunks/{wellknown-dckvf469.js → state-90qzwy9b.js} +1 -1
  101. package/dist/chunks/{wellknown-gfvb90ym.js → state-94ek1h2f.js} +2 -2
  102. package/dist/chunks/{wellknown-290gn2nz.js → state-96qm4nj4.js} +28 -28
  103. package/dist/chunks/{wellknown-z606hban.js → state-97ekwrky.js} +6 -6
  104. package/dist/chunks/{wellknown-vrf00v9y.js → state-9afmw3mh.js} +3 -3
  105. package/dist/chunks/{wellknown-4rem7hjf.js → state-9emqwk8b.js} +18 -18
  106. package/dist/chunks/{wellknown-w552p3va.js → state-9k8rwqaf.js} +23 -23
  107. package/dist/chunks/{wellknown-m8gd39et.js → state-9ktpbv2m.js} +32 -32
  108. package/dist/chunks/{wellknown-ybzspq0s.js → state-9p874de9.js} +49 -49
  109. package/dist/chunks/{wellknown-p320bp61.js → state-9rfy6ee6.js} +29 -29
  110. package/dist/chunks/{wellknown-14ty0bgn.js → state-9wba6fa8.js} +75 -75
  111. package/dist/chunks/state-9zdhvgqs.js +18 -0
  112. package/dist/chunks/{wellknown-f4f6dec5.js → state-a11hdz7s.js} +20 -20
  113. package/dist/chunks/{wellknown-92h9fms8.js → state-a9p6np1q.js} +16 -16
  114. package/dist/chunks/{wellknown-aaet6srn.js → state-aaet6srn.js} +2 -2
  115. package/dist/chunks/{wellknown-57ez7d0k.js → state-ajmg8w9c.js} +9 -9
  116. package/dist/chunks/{wellknown-jcrcn3k8.js → state-an09x78w.js} +5 -5
  117. package/dist/chunks/{wellknown-r9tj242d.js → state-an5c5367.js} +6 -6
  118. package/dist/chunks/{wellknown-8c9nwzfv.js → state-axbkptea.js} +2 -2
  119. package/dist/chunks/{wellknown-cngh3wnk.js → state-azmpc546.js} +15 -15
  120. package/dist/chunks/{wellknown-b6gygkdw.js → state-b6gygkdw.js} +2 -2
  121. package/dist/chunks/{wellknown-ap74y1kn.js → state-bbp8f244.js} +16 -16
  122. package/dist/chunks/{wellknown-6vqdytr6.js → state-bcj4p2d9.js} +48 -48
  123. package/dist/chunks/{wellknown-0v53mg2y.js → state-bct739vz.js} +4 -4
  124. package/dist/chunks/{wellknown-9b6f7ytq.js → state-bjckj4ec.js} +27 -27
  125. package/dist/chunks/{wellknown-p37cw4rj.js → state-br0tr5aq.js} +8 -8
  126. package/dist/chunks/{wellknown-zyr433b0.js → state-c1495ybz.js} +9 -9
  127. package/dist/chunks/{wellknown-zhr2g1ae.js → state-c38nnx5e.js} +11 -11
  128. package/dist/chunks/{wellknown-wh8dp25y.js → state-c5885s0q.js} +11 -11
  129. package/dist/chunks/{wellknown-cwkg0kwh.js → state-cbfq9x83.js} +16 -16
  130. package/dist/chunks/{wellknown-y8xa2k4j.js → state-cgrq38t5.js} +11 -11
  131. package/dist/chunks/{wellknown-t2tmd77d.js → state-ch69yfhm.js} +28 -28
  132. package/dist/chunks/{wellknown-54tcyq79.js → state-ckecvw8r.js} +2 -2
  133. package/dist/chunks/{wellknown-w1d6802m.js → state-cmcrkyvs.js} +3 -3
  134. package/dist/chunks/{wellknown-dw1xb9j8.js → state-ctc7jsd8.js} +2 -2
  135. package/dist/chunks/{wellknown-wasjttrh.js → state-d5dtknkd.js} +18 -18
  136. package/dist/chunks/{wellknown-gq3f4pq9.js → state-d5j1ks5t.js} +26 -26
  137. package/dist/chunks/{wellknown-kkj1mgts.js → state-d6ypw3gd.js} +11 -11
  138. package/dist/chunks/{wellknown-r9qax4y8.js → state-ddv1bfz0.js} +24 -24
  139. package/dist/chunks/{wellknown-beebazzm.js → state-dknjrr3d.js} +8 -8
  140. package/dist/chunks/{wellknown-nxm207yx.js → state-dpkg50ah.js} +4 -4
  141. package/dist/chunks/{wellknown-12zc50tf.js → state-dt9bwcd0.js} +21 -21
  142. package/dist/chunks/{wellknown-x65pzh39.js → state-dvd395e9.js} +10 -10
  143. package/dist/chunks/{wellknown-s2ew5zhm.js → state-e3cpdq35.js} +87 -87
  144. package/dist/chunks/{wellknown-6anwy9fs.js → state-e6hd9jay.js} +4 -4
  145. package/dist/chunks/{wellknown-d1khqved.js → state-e6hmchc5.js} +5 -5
  146. package/dist/chunks/{wellknown-t2j7eqzx.js → state-ed86crxx.js} +35 -35
  147. package/dist/chunks/{wellknown-ef5x83kb.js → state-ef5x83kb.js} +1 -1
  148. package/dist/chunks/{wellknown-14czrspb.js → state-ekyqktmq.js} +18 -18
  149. package/dist/chunks/{wellknown-bhs9pbkj.js → state-eqf7n5z7.js} +15 -15
  150. package/dist/chunks/{wellknown-44ak30pa.js → state-espax8zg.js} +4 -4
  151. package/dist/chunks/{wellknown-etq0c3wd.js → state-etq0c3wd.js} +1 -1
  152. package/dist/chunks/{wellknown-t6e95mzg.js → state-f16bkzkb.js} +6 -6
  153. package/dist/chunks/{wellknown-y6mz8vze.js → state-f37sca8k.js} +1 -1
  154. package/dist/chunks/{wellknown-2pnhn36q.js → state-f3ngv102.js} +19 -19
  155. package/dist/chunks/{wellknown-7xpt23fr.js → state-fbv57nyx.js} +4 -4
  156. package/dist/chunks/{wellknown-zanch5yy.js → state-fgyydaws.js} +23 -23
  157. package/dist/chunks/{wellknown-cke2b7t7.js → state-fjmae6zs.js} +12 -12
  158. package/dist/chunks/{wellknown-jkxcgs8q.js → state-fpreazhg.js} +28 -28
  159. package/dist/chunks/{wellknown-32ndydhr.js → state-fy2929rg.js} +11 -11
  160. package/dist/chunks/{wellknown-gd4qta3r.js → state-gd4qta3r.js} +1 -1
  161. package/dist/chunks/{wellknown-p5hcw2cx.js → state-gdv4f4rt.js} +14 -14
  162. package/dist/chunks/{wellknown-nvk3p1p4.js → state-gqh620kj.js} +28 -28
  163. package/dist/chunks/{wellknown-eg0775ss.js → state-grhr41xh.js} +16 -16
  164. package/dist/chunks/{wellknown-3a83a0n4.js → state-gs3s1a1g.js} +8 -8
  165. package/dist/chunks/{wellknown-spev15wm.js → state-gs6ejcaj.js} +9 -9
  166. package/dist/chunks/{wellknown-gv6a8nnw.js → state-gv6a8nnw.js} +2 -2
  167. package/dist/chunks/{wellknown-hzcr34ks.js → state-h4znbszn.js} +8 -8
  168. package/dist/chunks/{wellknown-g5agzp2h.js → state-h6b02349.js} +5 -5
  169. package/dist/chunks/{wellknown-h6vf3j39.js → state-h6vf3j39.js} +1 -1
  170. package/dist/chunks/{wellknown-khn32n8z.js → state-ha0hr9mw.js} +9 -9
  171. package/dist/chunks/{wellknown-qcaxezzb.js → state-hcb2f5gd.js} +43 -43
  172. package/dist/chunks/{wellknown-q615bh5j.js → state-hcx0m4b0.js} +17 -17
  173. package/dist/chunks/{wellknown-3556dn8t.js → state-hd8vw2pw.js} +1 -1
  174. package/dist/chunks/{wellknown-4hqqpt46.js → state-hejy09km.js} +8 -8
  175. package/dist/chunks/{wellknown-xswzb4kc.js → state-hwxd1aqb.js} +22 -22
  176. package/dist/chunks/{wellknown-tf4x7bac.js → state-hxd37nz4.js} +6 -6
  177. package/dist/chunks/{wellknown-j56e64zr.js → state-j56e64zr.js} +1 -1
  178. package/dist/chunks/{wellknown-6b2zjn2e.js → state-j58c5xyq.js} +9 -9
  179. package/dist/chunks/{wellknown-hy7bhjnd.js → state-j7npn0pv.js} +11 -11
  180. package/dist/chunks/{wellknown-qq8x5mwt.js → state-j8zzr2am.js} +4 -4
  181. package/dist/chunks/{wellknown-55m9a17k.js → state-jds3se8a.js} +22 -22
  182. package/dist/chunks/{wellknown-k3c624dm.js → state-k3c624dm.js} +3 -3
  183. package/dist/chunks/{wellknown-4y3x9j2a.js → state-k6ezk3an.js} +24 -24
  184. package/dist/chunks/{wellknown-hbyhqfhs.js → state-kbqjp078.js} +5 -5
  185. package/dist/chunks/{wellknown-we2x3x45.js → state-kqcenne1.js} +4 -4
  186. package/dist/chunks/{wellknown-614y8yz0.js → state-kv381fjp.js} +18 -18
  187. package/dist/chunks/{wellknown-m3fdjcah.js → state-m3fdjcah.js} +1 -1
  188. package/dist/chunks/{wellknown-m58kmhef.js → state-m58kmhef.js} +2 -2
  189. package/dist/chunks/{wellknown-m9w0rfyh.js → state-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{wellknown-6hmwwa40.js → state-mdj04g53.js} +14 -14
  191. package/dist/chunks/{wellknown-ydqn5d54.js → state-mj0s41ck.js} +19 -19
  192. package/dist/chunks/{wellknown-mpk0rfs5.js → state-mpk0rfs5.js} +1 -1
  193. package/dist/chunks/{wellknown-kxv0pnw6.js → state-mwtfvzf0.js} +13 -13
  194. package/dist/chunks/{wellknown-xcqptzhp.js → state-nhr73ppe.js} +17 -17
  195. package/dist/chunks/{wellknown-g97bb4fb.js → state-nng2ktcm.js} +2 -2
  196. package/dist/chunks/{wellknown-gke7xfxw.js → state-nppa5595.js} +17 -17
  197. package/dist/chunks/{wellknown-909p1r3q.js → state-nzq7ck9f.js} +6 -6
  198. package/dist/chunks/{wellknown-yh1s390g.js → state-p6pb6myx.js} +11 -11
  199. package/dist/chunks/{wellknown-8zj1wa93.js → state-p9m7b0zj.js} +23 -23
  200. package/dist/chunks/{wellknown-72npc2f6.js → state-pc4jk262.js} +18 -18
  201. package/dist/chunks/{wellknown-a9w2502q.js → state-pey5f48j.js} +1 -1
  202. package/dist/chunks/{wellknown-pjvnvgmy.js → state-pjvnvgmy.js} +1 -1
  203. package/dist/chunks/{wellknown-pknna89w.js → state-pknna89w.js} +1 -1
  204. package/dist/chunks/{wellknown-d04jdsaz.js → state-pwf60aya.js} +24 -24
  205. package/dist/chunks/{wellknown-cfsekr6v.js → state-py3kkmfq.js} +2 -2
  206. package/dist/chunks/{wellknown-ps96thee.js → state-pyqp92e9.js} +21 -21
  207. package/dist/chunks/{wellknown-fppza7yp.js → state-pywk7rpr.js} +15 -15
  208. package/dist/chunks/{wellknown-vkfwmpk4.js → state-q56rs717.js} +325 -325
  209. package/dist/chunks/{wellknown-f3hqkxtk.js → state-q75415k0.js} +23 -23
  210. package/dist/chunks/{wellknown-cymsrqdn.js → state-qg8bk40g.js} +16 -16
  211. package/dist/chunks/{wellknown-cwa6csj7.js → state-qmqgtz8f.js} +9 -9
  212. package/dist/chunks/{wellknown-qsdy395h.js → state-qsdy395h.js} +1 -1
  213. package/dist/chunks/{wellknown-trdgkbgm.js → state-qvrqhjgq.js} +32 -32
  214. package/dist/chunks/{wellknown-1fkkc2q4.js → state-r1ehawk4.js} +17 -17
  215. package/dist/chunks/{wellknown-632q0zdk.js → state-r2yemdy6.js} +31 -31
  216. package/dist/chunks/{wellknown-w718jc0k.js → state-r5d9sft0.js} +9 -9
  217. package/dist/chunks/{wellknown-a1gpj94z.js → state-r5x6zcsm.js} +3 -3
  218. package/dist/chunks/{wellknown-m2bk3f14.js → state-r76kpynz.js} +15 -15
  219. package/dist/chunks/{wellknown-rdw6cm16.js → state-rdw6cm16.js} +1 -1
  220. package/dist/chunks/{wellknown-sjgknyar.js → state-reeft5kf.js} +8 -8
  221. package/dist/chunks/{wellknown-r8xr0va3.js → state-rhraev7y.js} +4 -4
  222. package/dist/chunks/{wellknown-09e215wj.js → state-rrcc0zkn.js} +20 -20
  223. package/dist/chunks/{wellknown-2336b01z.js → state-rtathh62.js} +5 -5
  224. package/dist/chunks/{wellknown-nx4bp6rh.js → state-rtgrbwdh.js} +17 -17
  225. package/dist/chunks/{wellknown-p7vmt0vr.js → state-s3x09b44.js} +27 -27
  226. package/dist/chunks/{wellknown-rhjbct0v.js → state-s8d7rejh.js} +4 -4
  227. package/dist/chunks/{wellknown-ffhspk0h.js → state-sa3fbgnq.js} +17 -17
  228. package/dist/chunks/{wellknown-ssdq1t99.js → state-se6n7614.js} +10 -10
  229. package/dist/chunks/{wellknown-vakvjtqr.js → state-sresy5h2.js} +3 -3
  230. package/dist/chunks/{wellknown-haahk2j0.js → state-szmcfww1.js} +5 -5
  231. package/dist/chunks/{wellknown-2qp6y8xf.js → state-t0fxg8b9.js} +5 -5
  232. package/dist/chunks/{wellknown-6cfd75hy.js → state-t2fc4mz5.js} +7 -7
  233. package/dist/chunks/{wellknown-e8c7tdgy.js → state-t8eapvfw.js} +23 -23
  234. package/dist/chunks/{wellknown-tazgh4e4.js → state-tazgh4e4.js} +1 -1
  235. package/dist/chunks/{wellknown-tcezcvh9.js → state-tcezcvh9.js} +1 -1
  236. package/dist/chunks/{wellknown-tdstcens.js → state-tdstcens.js} +1 -1
  237. package/dist/chunks/{wellknown-d2q97jrn.js → state-tft65gyy.js} +9 -9
  238. package/dist/chunks/{wellknown-rxkspqj9.js → state-th1mg51k.js} +11 -11
  239. package/dist/chunks/{wellknown-s7vss6zf.js → state-th7m3yq6.js} +15 -15
  240. package/dist/chunks/{wellknown-8ard0xnh.js → state-trhjdbdm.js} +1 -1
  241. package/dist/chunks/{wellknown-tvtrv512.js → state-tvtrv512.js} +1 -1
  242. package/dist/chunks/{wellknown-f65gvspq.js → state-v15w9s4t.js} +1 -1
  243. package/dist/chunks/{wellknown-38qsazbb.js → state-v4azz40n.js} +27 -27
  244. package/dist/chunks/{wellknown-veqvce7d.js → state-veqvce7d.js} +1 -1
  245. package/dist/chunks/{wellknown-8950yhm7.js → state-vfsag6yk.js} +9 -9
  246. package/dist/chunks/{wellknown-n57qrn3a.js → state-vhk0cnae.js} +4 -4
  247. package/dist/chunks/state-vsrsd64f.js +252 -0
  248. package/dist/chunks/{wellknown-3hxdjh5w.js → state-vtemzate.js} +3 -3
  249. package/dist/chunks/{wellknown-vzcthcp8.js → state-vzcthcp8.js} +1 -1
  250. package/dist/chunks/{wellknown-vzs5sf6e.js → state-vzs5sf6e.js} +1 -1
  251. package/dist/chunks/{wellknown-w3wsvvr9.js → state-w3wsvvr9.js} +1 -1
  252. package/dist/chunks/{wellknown-5kcmdkc3.js → state-w5w5b0x1.js} +30 -30
  253. package/dist/chunks/{wellknown-7j4bmeyc.js → state-w8hqpfxz.js} +40 -40
  254. package/dist/chunks/{wellknown-2a9pehze.js → state-wby16mgw.js} +8 -8
  255. package/dist/chunks/{wellknown-psazpmmj.js → state-wd3x2cqz.js} +2 -2
  256. package/dist/chunks/{wellknown-s2hc5wjj.js → state-wd7rpvfq.js} +4 -4
  257. package/dist/chunks/{wellknown-wd87259q.js → state-wd87259q.js} +1 -1
  258. package/dist/chunks/{wellknown-f1vyh6xp.js → state-wsb67xeh.js} +8 -8
  259. package/dist/chunks/{wellknown-44w561qj.js → state-wzq06v2y.js} +1 -1
  260. package/dist/chunks/{wellknown-x1ezjp6w.js → state-x1ezjp6w.js} +1 -1
  261. package/dist/chunks/{wellknown-qk9gfppg.js → state-x5r2y95v.js} +7 -7
  262. package/dist/chunks/{wellknown-94cgg493.js → state-xchw37pw.js} +31 -31
  263. package/dist/chunks/{wellknown-g5w8qwbj.js → state-xfkkasph.js} +4 -4
  264. package/dist/chunks/{wellknown-xkntkrq7.js → state-xkntkrq7.js} +2 -2
  265. package/dist/chunks/{wellknown-jz0ehkkx.js → state-xnnxw2tq.js} +8 -8
  266. package/dist/chunks/{wellknown-xq9mxwgm.js → state-xnw0y567.js} +15 -15
  267. package/dist/chunks/{wellknown-radmxtwt.js → state-xpzvwsxq.js} +9 -9
  268. package/dist/chunks/{wellknown-y1fvbwt7.js → state-y1fvbwt7.js} +1 -1
  269. package/dist/chunks/{wellknown-1kkt2vva.js → state-y1rn6ejs.js} +35 -35
  270. package/dist/chunks/{wellknown-gmf6wyfv.js → state-y98g6sym.js} +9 -9
  271. package/dist/chunks/{wellknown-rrxsaae4.js → state-yhnzz64j.js} +13 -13
  272. package/dist/chunks/{wellknown-yrhqyw5v.js → state-yrhqyw5v.js} +1 -1
  273. package/dist/chunks/{wellknown-fwtnydp1.js → state-yrrz9gz0.js} +11 -11
  274. package/dist/chunks/{wellknown-s4enseaf.js → state-yrznvahk.js} +2 -2
  275. package/dist/chunks/{wellknown-ev0saa8z.js → state-ys6344d6.js} +11 -11
  276. package/dist/chunks/{wellknown-sra9araw.js → state-yt0fqk68.js} +5 -5
  277. package/dist/chunks/{wellknown-yyk7gbmy.js → state-yxveqtpd.js} +13 -13
  278. package/dist/chunks/{wellknown-1n8pm4fs.js → state-z060z1z6.js} +14 -14
  279. package/dist/chunks/{wellknown-bjtzbw4r.js → state-z07pqspn.js} +3 -3
  280. package/dist/chunks/{wellknown-z0bkrqjs.js → state-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{wellknown-6crwcbc9.js → state-z16redh0.js} +28 -28
  282. package/dist/chunks/{wellknown-29x78va6.js → state-z63w68vq.js} +6 -6
  283. package/dist/chunks/{wellknown-j70evk53.js → state-z8yngj71.js} +36 -36
  284. package/dist/chunks/{wellknown-zzn5c76v.js → state-za0qyzyq.js} +16 -16
  285. package/dist/chunks/{wellknown-g1096q0s.js → state-zapwe406.js} +28 -28
  286. package/dist/chunks/{wellknown-16z2jb6t.js → state-zbbpbgkb.js} +15 -15
  287. package/dist/chunks/{wellknown-zvt5dnpc.js → state-zee1rnkq.js} +4 -4
  288. package/dist/chunks/{wellknown-zeh9ct20.js → state-zeh9ct20.js} +2 -2
  289. package/dist/chunks/{wellknown-p7yarm9w.js → state-zhqm9fer.js} +9 -9
  290. package/dist/chunks/{wellknown-9zj2t9wy.js → state-zj0xayy4.js} +20 -20
  291. package/dist/chunks/{wellknown-zr2ceqn5.js → state-zr2ceqn5.js} +1 -1
  292. package/dist/chunks/{wellknown-zxq2ej10.js → state-zxq2ej10.js} +1 -1
  293. package/dist/chunks/{wellknown-t5y73egm.js → state-zzdarrzq.js} +26 -26
  294. package/dist/codemode/catalog.js +1 -1
  295. package/dist/codemode/instructions.js +5 -5
  296. package/dist/codemode/tool.js +3 -3
  297. package/dist/codemode/web.js +1 -1
  298. package/dist/command.js +85 -85
  299. package/dist/config/discovery.js +82 -82
  300. package/dist/config/markdown.js +1 -1
  301. package/dist/config/normalize.js +106 -106
  302. package/dist/config/plugin/agent.js +125 -125
  303. package/dist/config/plugin/command.js +215 -215
  304. package/dist/config/plugin/compaction.js +161 -161
  305. package/dist/config/plugin/compatibility.js +141 -141
  306. package/dist/config/plugin/entry-observer.js +1 -1
  307. package/dist/config/plugin/formatter.js +124 -124
  308. package/dist/config/plugin/image.js +123 -123
  309. package/dist/config/plugin/instruction.js +90 -90
  310. package/dist/config/plugin/location-watcher.js +125 -125
  311. package/dist/config/plugin/mcp.js +132 -132
  312. package/dist/config/plugin/policy.js +124 -124
  313. package/dist/config/plugin/provider.js +123 -123
  314. package/dist/config/plugin/reference.js +125 -125
  315. package/dist/config/plugin/shell.js +125 -125
  316. package/dist/config/plugin/skill-file.js +102 -102
  317. package/dist/config/plugin/skill.js +144 -144
  318. package/dist/config/plugin/snapshot.js +123 -123
  319. package/dist/config/plugin/source.js +126 -126
  320. package/dist/config/plugin/tool-output.js +125 -125
  321. package/dist/config/plugin/websearch.js +124 -124
  322. package/dist/config/plugin/worktree.js +125 -125
  323. package/dist/config/variable.js +3 -3
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/credential/sql.js +2 -2
  327. package/dist/credential.js +83 -83
  328. package/dist/database/database.js +66 -66
  329. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  330. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  331. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  332. package/dist/database/drizzle/index.js +15 -15
  333. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  336. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  337. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  338. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  339. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  340. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  342. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  343. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  344. package/dist/database/drizzle.js +16 -16
  345. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  346. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  347. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  348. package/dist/database/migration/20260225215848_workspace.js +1 -1
  349. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  350. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  351. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  352. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  353. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  354. package/dist/database/migration/20260323234822_events.js +1 -1
  355. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  356. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  357. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  358. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  359. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  360. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  361. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  362. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  363. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  364. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  365. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  366. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  367. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  368. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  369. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  370. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  371. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  372. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  373. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  374. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  375. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  376. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  377. package/dist/database/migration/20260611035744_credential.js +1 -1
  378. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  379. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  380. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  381. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  382. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  383. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  384. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  385. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  386. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  387. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  388. package/dist/database/migration/20260812213948_worktree.js +1 -1
  389. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  390. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  391. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  392. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  393. package/dist/database/migration.gen.js +49 -49
  394. package/dist/database/migration.js +51 -51
  395. package/dist/database/path.js +2 -2
  396. package/dist/database/schema.gen.js +1 -1
  397. package/dist/database/schema.sql.js +1 -1
  398. package/dist/database/sqlite.bun.js +1 -1
  399. package/dist/database/sqlite.js +1 -1
  400. package/dist/database/sqlite.node.js +1 -1
  401. package/dist/database/sqlite.workerd.js +1 -1
  402. package/dist/database/v1-migration.bun.js +76 -76
  403. package/dist/database/v1-migration.js +1 -1
  404. package/dist/effect/app-node-builder.js +372 -372
  405. package/dist/effect/app-node-platform.js +2 -2
  406. package/dist/effect/keyed-mutex.js +3 -3
  407. package/dist/effect/websocket-constructor.js +1 -1
  408. package/dist/environment/driver.js +1 -1
  409. package/dist/environment/environment.js +93 -93
  410. package/dist/environment/exec-defaults.js +2 -2
  411. package/dist/environment/files.js +1 -1
  412. package/dist/environment/index.js +95 -95
  413. package/dist/environment/local.js +2 -2
  414. package/dist/environment/memory.js +2 -2
  415. package/dist/environment/unavailable.js +1 -1
  416. package/dist/event/sql.js +1 -1
  417. package/dist/event-logger.js +74 -74
  418. package/dist/file-access.js +104 -104
  419. package/dist/file-mutation.js +94 -94
  420. package/dist/file-retention.js +1 -1
  421. package/dist/filesystem/fff.bun.js +2 -2
  422. package/dist/filesystem/fff.js +1 -1
  423. package/dist/filesystem/fff.node.js +2 -2
  424. package/dist/filesystem/fff.workerd.js +2 -2
  425. package/dist/filesystem/ignore.js +1 -1
  426. package/dist/filesystem/location-watcher-policy.js +6 -6
  427. package/dist/filesystem/location-watcher.js +228 -228
  428. package/dist/filesystem/protected.js +1 -1
  429. package/dist/filesystem/search.js +103 -103
  430. package/dist/filesystem/watcher-binding.js +3 -3
  431. package/dist/filesystem/watcher.js +11 -11
  432. package/dist/filesystem.js +104 -104
  433. package/dist/form.js +82 -82
  434. package/dist/formatter/builtins.js +4 -4
  435. package/dist/formatter.js +87 -87
  436. package/dist/generate.js +103 -103
  437. package/dist/git.js +10 -10
  438. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  439. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  440. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  441. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  442. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  443. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  444. package/dist/github-copilot/copilot-provider.js +17 -17
  445. package/dist/github-copilot/models.js +99 -99
  446. package/dist/github-copilot/openai-compatible-error.js +1 -1
  447. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  448. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  449. package/dist/github-copilot/responses/openai-error.js +1 -1
  450. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  451. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  452. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  453. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  454. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  455. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  456. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  457. package/dist/id/id.js +1 -1
  458. package/dist/image/photon.js +2 -2
  459. package/dist/image.js +6 -6
  460. package/dist/instance/service.js +5 -5
  461. package/dist/instance.js +363 -363
  462. package/dist/instruction-discovery.js +85 -85
  463. package/dist/instructions/builtins.js +87 -87
  464. package/dist/instructions/index.js +3 -3
  465. package/dist/integration/connection.js +1 -1
  466. package/dist/integration.js +81 -81
  467. package/dist/job.js +79 -79
  468. package/dist/kv/sql.js +2 -2
  469. package/dist/kv.js +73 -73
  470. package/dist/location-activity.js +135 -135
  471. package/dist/location-lifecycle.js +107 -107
  472. package/dist/location-service-map.js +86 -86
  473. package/dist/location-services.js +360 -360
  474. package/dist/location.js +87 -87
  475. package/dist/managed-policy.js +5 -5
  476. package/dist/mcp/client.js +91 -91
  477. package/dist/mcp/index.js +109 -109
  478. package/dist/mcp/instructions.js +127 -127
  479. package/dist/mcp/oauth.js +78 -78
  480. package/dist/mcp/stdio.js +90 -90
  481. package/dist/mime.js +1 -1
  482. package/dist/modal/models.js +99 -99
  483. package/dist/model-resolver.js +98 -98
  484. package/dist/model.js +100 -100
  485. package/dist/models-dev.js +107 -107
  486. package/dist/oauth/page.js +1 -1
  487. package/dist/permission/saved.js +80 -80
  488. package/dist/permission/sql.js +5 -5
  489. package/dist/permission.js +111 -111
  490. package/dist/persistent-pty/binary.bun.js +1 -1
  491. package/dist/persistent-pty/daemon.js +1 -1
  492. package/dist/persistent-pty/index.js +86 -86
  493. package/dist/persistent-pty/pty-binding.js +1 -1
  494. package/dist/persistent-pty.js +75 -75
  495. package/dist/plugin/agent.js +104 -104
  496. package/dist/plugin/command.js +102 -102
  497. package/dist/plugin/hooks.js +5 -5
  498. package/dist/plugin/host.js +219 -219
  499. package/dist/plugin/identity.js +3 -3
  500. package/dist/plugin/instance.js +5 -5
  501. package/dist/plugin/internal.js +335 -335
  502. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  503. package/dist/plugin/models-dev.js +96 -96
  504. package/dist/plugin/module.js +7 -7
  505. package/dist/plugin/optimize.js +2 -2
  506. package/dist/plugin/plan.js +102 -102
  507. package/dist/plugin/promise.js +1 -1
  508. package/dist/plugin/provider/amazon-bedrock.js +90 -90
  509. package/dist/plugin/provider/azure.js +124 -124
  510. package/dist/plugin/provider/cerebras.js +1 -1
  511. package/dist/plugin/provider/chatgpt.js +93 -93
  512. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  513. package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
  514. package/dist/plugin/provider/cohere.js +2 -2
  515. package/dist/plugin/provider/configured.js +119 -119
  516. package/dist/plugin/provider/digitalocean.js +93 -93
  517. package/dist/plugin/provider/dynamic.js +2 -2
  518. package/dist/plugin/provider/factory.js +1 -1
  519. package/dist/plugin/provider/gateway.js +2 -2
  520. package/dist/plugin/provider/github-copilot.js +95 -95
  521. package/dist/plugin/provider/gitlab.js +93 -93
  522. package/dist/plugin/provider/google-vertex.js +90 -90
  523. package/dist/plugin/provider/kilo.js +1 -1
  524. package/dist/plugin/provider/llmgateway.js +78 -78
  525. package/dist/plugin/provider/lmstudio.js +122 -122
  526. package/dist/plugin/provider/modal.js +92 -92
  527. package/dist/plugin/provider/nvidia.js +1 -1
  528. package/dist/plugin/provider/ollama.js +122 -122
  529. package/dist/plugin/provider/openai.js +93 -93
  530. package/dist/plugin/provider/opencode.js +95 -95
  531. package/dist/plugin/provider/openrouter.js +91 -91
  532. package/dist/plugin/provider/perplexity.js +2 -2
  533. package/dist/plugin/provider/poe.js +79 -79
  534. package/dist/plugin/provider/prompt-cache-key.js +90 -90
  535. package/dist/plugin/provider/sap-ai-core.js +91 -91
  536. package/dist/plugin/provider/sdk-factory.js +1 -1
  537. package/dist/plugin/provider/snowflake-cortex.js +122 -122
  538. package/dist/plugin/provider/venice.js +2 -2
  539. package/dist/plugin/provider/vercel.js +90 -90
  540. package/dist/plugin/provider/vllm.js +122 -122
  541. package/dist/plugin/provider/xai.js +91 -91
  542. package/dist/plugin/provider/zenmux.js +1 -1
  543. package/dist/plugin/provider.js +163 -163
  544. package/dist/plugin/sdk.js +76 -76
  545. package/dist/plugin/service.js +3 -3
  546. package/dist/plugin/skill.js +141 -141
  547. package/dist/plugin/source-directory.js +1 -1
  548. package/dist/plugin/supervisor.js +354 -354
  549. package/dist/plugin/tool-input-repair.js +4 -4
  550. package/dist/plugin/update.js +6 -6
  551. package/dist/plugin/vcs/git.js +86 -86
  552. package/dist/plugin/vcs/hg.js +86 -86
  553. package/dist/plugin/verbosity.js +93 -93
  554. package/dist/plugin/warming.js +121 -121
  555. package/dist/plugin/websearch/exa.js +5 -5
  556. package/dist/plugin/websearch/firecrawl.js +6 -6
  557. package/dist/plugin/websearch/index.js +9 -9
  558. package/dist/plugin/websearch/mcp.js +6 -6
  559. package/dist/plugin/websearch/parallel.js +8 -8
  560. package/dist/plugin/websearch/tavily.js +6 -6
  561. package/dist/plugin/websearch/tinyfish.js +8 -8
  562. package/dist/plugin.js +226 -226
  563. package/dist/project/schema.js +8 -8
  564. package/dist/project/sql.js +4 -4
  565. package/dist/project.js +90 -90
  566. package/dist/provider.js +93 -93
  567. package/dist/pty/protocol.js +1 -1
  568. package/dist/pty/ticket.js +1 -1
  569. package/dist/pty.js +89 -89
  570. package/dist/reference/instructions.js +87 -87
  571. package/dist/reference.js +89 -89
  572. package/dist/repository-cache.js +81 -81
  573. package/dist/repository.js +3 -3
  574. package/dist/ripgrep/binary.js +2 -2
  575. package/dist/ripgrep.js +97 -97
  576. package/dist/rpc.js +86 -86
  577. package/dist/schema.js +1 -1
  578. package/dist/session/affinity.js +1 -1
  579. package/dist/session/command.js +74 -74
  580. package/dist/session/compaction.js +133 -133
  581. package/dist/session/context.js +153 -153
  582. package/dist/session/diff.js +88 -88
  583. package/dist/session/environment.js +5 -5
  584. package/dist/session/error.js +7 -7
  585. package/dist/session/event.js +1 -1
  586. package/dist/session/execution/restart.js +225 -225
  587. package/dist/session/execution.js +126 -126
  588. package/dist/session/generate.js +154 -154
  589. package/dist/session/history.js +15 -15
  590. package/dist/session/inbox.js +88 -88
  591. package/dist/session/info.js +3 -3
  592. package/dist/session/instruction-entry.js +79 -79
  593. package/dist/session/instruction-state.js +8 -8
  594. package/dist/session/instructions.js +97 -97
  595. package/dist/session/message-updater.js +2 -2
  596. package/dist/session/message.js +1 -1
  597. package/dist/session/model-request.js +120 -120
  598. package/dist/session/model-transport.js +9 -9
  599. package/dist/session/move.js +130 -130
  600. package/dist/session/projector.js +86 -86
  601. package/dist/session/prompt.js +105 -105
  602. package/dist/session/provider-context.js +3 -3
  603. package/dist/session/revert.js +90 -90
  604. package/dist/session/run-coordinator.js +3 -3
  605. package/dist/session/runner/index.js +3 -3
  606. package/dist/session/runner/llm.js +232 -232
  607. package/dist/session/runner/max-steps.js +1 -1
  608. package/dist/session/runner/model.js +98 -98
  609. package/dist/session/runner/publish-llm-event.js +3 -3
  610. package/dist/session/runner/retry.js +4 -4
  611. package/dist/session/runner/step.js +126 -126
  612. package/dist/session/runner/to-llm-message.js +2 -2
  613. package/dist/session/schema.js +3 -3
  614. package/dist/session/session.js +172 -172
  615. package/dist/session/shell.js +138 -138
  616. package/dist/session/skill.js +103 -103
  617. package/dist/session/sql.js +5 -5
  618. package/dist/session/stats.js +73 -73
  619. package/dist/session/store.js +87 -87
  620. package/dist/session/subagent-completion.js +1 -1
  621. package/dist/session/subagent-job.js +211 -211
  622. package/dist/session/system-prompt.js +3 -3
  623. package/dist/session/title.js +157 -157
  624. package/dist/session/to-session-error.js +111 -111
  625. package/dist/session/transfer.js +219 -219
  626. package/dist/session/usage.js +1 -1
  627. package/dist/session.js +215 -215
  628. package/dist/shell/parse.js +6 -6
  629. package/dist/shell/result.js +1 -1
  630. package/dist/shell/scan.js +1 -1
  631. package/dist/shell/select.js +13 -13
  632. package/dist/shell.js +140 -140
  633. package/dist/skill/discovery.js +6 -6
  634. package/dist/skill/instructions.js +105 -105
  635. package/dist/skill.js +112 -112
  636. package/dist/snapshot.js +91 -91
  637. package/dist/state.js +1 -1
  638. package/dist/tool/html-markdown.js +1 -1
  639. package/dist/tool/http-body.js +1 -1
  640. package/dist/tool/mcp.js +126 -126
  641. package/dist/tool/plugin/edit.js +118 -118
  642. package/dist/tool/plugin/file-diff.js +1 -1
  643. package/dist/tool/plugin/glob.js +124 -124
  644. package/dist/tool/plugin/grep.js +124 -124
  645. package/dist/tool/plugin/mcp-resource.js +117 -117
  646. package/dist/tool/plugin/opencode.js +3 -3
  647. package/dist/tool/plugin/patch.js +122 -122
  648. package/dist/tool/plugin/question.js +103 -103
  649. package/dist/tool/plugin/read.js +125 -125
  650. package/dist/tool/plugin/shell.js +218 -218
  651. package/dist/tool/plugin/skill.js +105 -105
  652. package/dist/tool/plugin/subagent.js +218 -218
  653. package/dist/tool/plugin/webfetch.js +112 -112
  654. package/dist/tool/plugin/websearch.js +114 -114
  655. package/dist/tool/plugin/write.js +122 -122
  656. package/dist/tool/read-filesystem.js +100 -100
  657. package/dist/tool/runtime.js +1 -1
  658. package/dist/tool-output.js +6 -6
  659. package/dist/tool.js +14 -14
  660. package/dist/util/error-summary.js +1 -1
  661. package/dist/util/error.js +1 -1
  662. package/dist/util/git-executable.js +2 -2
  663. package/dist/util/iife.js +1 -1
  664. package/dist/util/lazy.js +1 -1
  665. package/dist/util/slug.js +1 -1
  666. package/dist/util/token.js +1 -1
  667. package/dist/util/which.js +1 -1
  668. package/dist/util/wildcard.js +1 -1
  669. package/dist/v1/config/agent.js +7 -7
  670. package/dist/v1/config/attachment.js +4 -4
  671. package/dist/v1/config/command.js +5 -5
  672. package/dist/v1/config/config.js +16 -16
  673. package/dist/v1/config/error.js +4 -4
  674. package/dist/v1/config/formatter.js +3 -3
  675. package/dist/v1/config/layout.js +1 -1
  676. package/dist/v1/config/lsp.js +3 -3
  677. package/dist/v1/config/mcp.js +4 -4
  678. package/dist/v1/config/migrate.js +92 -92
  679. package/dist/v1/config/permission.js +5 -5
  680. package/dist/v1/config/plugin.js +1 -1
  681. package/dist/v1/config/provider-options.js +1 -1
  682. package/dist/v1/config/provider.js +4 -4
  683. package/dist/v1/config/server.js +2 -2
  684. package/dist/v1/config/skills.js +3 -3
  685. package/dist/v1/permission.js +1 -1
  686. package/dist/variant.js +93 -93
  687. package/dist/vcs/patch.js +1 -1
  688. package/dist/vcs.js +89 -89
  689. package/dist/websearch.js +84 -84
  690. package/dist/wellknown/plugin.js +76 -76
  691. package/dist/wellknown.js +79 -79
  692. package/dist/workspace/driver.js +3 -3
  693. package/dist/workspace/sql.js +1 -1
  694. package/dist/workspace.js +78 -78
  695. package/dist/worktree/directory.js +2 -2
  696. package/dist/worktree/git.js +10 -10
  697. package/dist/worktree/sql.js +5 -5
  698. package/dist/worktree/strategies.js +89 -89
  699. package/dist/worktree.js +96 -96
  700. package/package.json +8 -8
  701. package/dist/chunks/wellknown-583665fb.js +0 -26
  702. package/dist/chunks/wellknown-pp8ac1gr.js +0 -252
  703. package/dist/chunks/wellknown-rap9a73h.js +0 -18
  704. /package/dist/chunks/{wellknown-0qkdqm5v.js → state-0qkdqm5v.js} +0 -0
  705. /package/dist/chunks/{wellknown-0zkw76rk.js → state-0zkw76rk.js} +0 -0
  706. /package/dist/chunks/{wellknown-17cy0kzp.js → state-17cy0kzp.js} +0 -0
  707. /package/dist/chunks/{wellknown-1cnp2v09.js → state-1cnp2v09.js} +0 -0
  708. /package/dist/chunks/{wellknown-1kg9ymc8.js → state-1kg9ymc8.js} +0 -0
  709. /package/dist/chunks/{wellknown-24dcb14g.js → state-24dcb14g.js} +0 -0
  710. /package/dist/chunks/{wellknown-2710q6r3.js → state-2710q6r3.js} +0 -0
  711. /package/dist/chunks/{wellknown-2axfhc9x.js → state-2axfhc9x.js} +0 -0
  712. /package/dist/chunks/{wellknown-2c3vjs8z.js → state-2c3vjs8z.js} +0 -0
  713. /package/dist/chunks/{wellknown-34c7v6d4.js → state-34c7v6d4.js} +0 -0
  714. /package/dist/chunks/{wellknown-359p4xyc.js → state-359p4xyc.js} +0 -0
  715. /package/dist/chunks/{wellknown-3asan66x.js → state-3asan66x.js} +0 -0
  716. /package/dist/chunks/{wellknown-3v8g72cx.js → state-3v8g72cx.js} +0 -0
  717. /package/dist/chunks/{wellknown-3w5fmr99.js → state-3w5fmr99.js} +0 -0
  718. /package/dist/chunks/{wellknown-3wcehsnq.js → state-3wcehsnq.js} +0 -0
  719. /package/dist/chunks/{wellknown-43n2bw4t.js → state-43n2bw4t.js} +0 -0
  720. /package/dist/chunks/{wellknown-4knz6hnm.js → state-4knz6hnm.js} +0 -0
  721. /package/dist/chunks/{wellknown-4vcrnpx2.js → state-4vcrnpx2.js} +0 -0
  722. /package/dist/chunks/{wellknown-4y7fprxs.js → state-4y7fprxs.js} +0 -0
  723. /package/dist/chunks/{wellknown-53557ph1.js → state-53557ph1.js} +0 -0
  724. /package/dist/chunks/{wellknown-550bvhaj.js → state-550bvhaj.js} +0 -0
  725. /package/dist/chunks/{wellknown-6prwharc.js → state-6prwharc.js} +0 -0
  726. /package/dist/chunks/{wellknown-7akdwqpd.js → state-7akdwqpd.js} +0 -0
  727. /package/dist/chunks/{wellknown-7m9af43g.js → state-7m9af43g.js} +0 -0
  728. /package/dist/chunks/{wellknown-822emrt2.js → state-822emrt2.js} +0 -0
  729. /package/dist/chunks/{wellknown-88xbtdfr.js → state-88xbtdfr.js} +0 -0
  730. /package/dist/chunks/{wellknown-8n3pysct.js → state-8n3pysct.js} +0 -0
  731. /package/dist/chunks/{wellknown-8wj87zfr.js → state-8wj87zfr.js} +0 -0
  732. /package/dist/chunks/{wellknown-922hggd3.js → state-922hggd3.js} +0 -0
  733. /package/dist/chunks/{wellknown-9a4afbnw.js → state-9a4afbnw.js} +0 -0
  734. /package/dist/chunks/{wellknown-9rqn6x4v.js → state-9rqn6x4v.js} +0 -0
  735. /package/dist/chunks/{wellknown-a6k6eb26.js → state-a6k6eb26.js} +0 -0
  736. /package/dist/chunks/{wellknown-af5trqkr.js → state-af5trqkr.js} +0 -0
  737. /package/dist/chunks/{wellknown-afrmfg78.js → state-afrmfg78.js} +0 -0
  738. /package/dist/chunks/{wellknown-aqzs7mqg.js → state-aqzs7mqg.js} +0 -0
  739. /package/dist/chunks/{wellknown-atq7p7m5.js → state-atq7p7m5.js} +0 -0
  740. /package/dist/chunks/{wellknown-bkyjaxrp.js → state-bkyjaxrp.js} +0 -0
  741. /package/dist/chunks/{wellknown-bmr6ed5q.js → state-bmr6ed5q.js} +0 -0
  742. /package/dist/chunks/{wellknown-cf4snx6d.js → state-cf4snx6d.js} +0 -0
  743. /package/dist/chunks/{wellknown-cvy3z8tj.js → state-cvy3z8tj.js} +0 -0
  744. /package/dist/chunks/{wellknown-d9fn303g.js → state-d9fn303g.js} +0 -0
  745. /package/dist/chunks/{wellknown-d9jj8t3e.js → state-d9jj8t3e.js} +0 -0
  746. /package/dist/chunks/{wellknown-dajrwvna.js → state-dajrwvna.js} +0 -0
  747. /package/dist/chunks/{wellknown-dap0rakb.js → state-dap0rakb.js} +0 -0
  748. /package/dist/chunks/{wellknown-df08tz66.js → state-df08tz66.js} +0 -0
  749. /package/dist/chunks/{wellknown-dy18nga0.js → state-dy18nga0.js} +0 -0
  750. /package/dist/chunks/{wellknown-e5kj55wp.js → state-e5kj55wp.js} +0 -0
  751. /package/dist/chunks/{wellknown-e73j6tqm.js → state-e73j6tqm.js} +0 -0
  752. /package/dist/chunks/{wellknown-ec1grn59.js → state-ec1grn59.js} +0 -0
  753. /package/dist/chunks/{wellknown-eh3zwz77.js → state-eh3zwz77.js} +0 -0
  754. /package/dist/chunks/{wellknown-emrn6kk6.js → state-emrn6kk6.js} +0 -0
  755. /package/dist/chunks/{wellknown-f0mxakyp.js → state-f0mxakyp.js} +0 -0
  756. /package/dist/chunks/{wellknown-f6n9ztr4.js → state-f6n9ztr4.js} +0 -0
  757. /package/dist/chunks/{wellknown-faypxj3z.js → state-faypxj3z.js} +0 -0
  758. /package/dist/chunks/{wellknown-fd410y7t.js → state-fd410y7t.js} +0 -0
  759. /package/dist/chunks/{wellknown-fxgpk5d8.js → state-fxgpk5d8.js} +0 -0
  760. /package/dist/chunks/{wellknown-g4wezp1m.js → state-g4wezp1m.js} +0 -0
  761. /package/dist/chunks/{wellknown-g86h250q.js → state-g86h250q.js} +0 -0
  762. /package/dist/chunks/{wellknown-gebd4c9n.js → state-gebd4c9n.js} +0 -0
  763. /package/dist/chunks/{wellknown-gftt206x.js → state-gftt206x.js} +0 -0
  764. /package/dist/chunks/{wellknown-hjbc5kem.js → state-hjbc5kem.js} +0 -0
  765. /package/dist/chunks/{wellknown-hk9envan.js → state-hk9envan.js} +0 -0
  766. /package/dist/chunks/{wellknown-j2ntwpah.js → state-j2ntwpah.js} +0 -0
  767. /package/dist/chunks/{wellknown-j5zkgpj8.js → state-j5zkgpj8.js} +0 -0
  768. /package/dist/chunks/{wellknown-jjkms2e6.js → state-jjkms2e6.js} +0 -0
  769. /package/dist/chunks/{wellknown-jr7sbwjy.js → state-jr7sbwjy.js} +0 -0
  770. /package/dist/chunks/{wellknown-jwfs4k6c.js → state-jwfs4k6c.js} +0 -0
  771. /package/dist/chunks/{wellknown-jzg6c2d5.js → state-jzg6c2d5.js} +0 -0
  772. /package/dist/chunks/{wellknown-mp448xyj.js → state-mp448xyj.js} +0 -0
  773. /package/dist/chunks/{wellknown-msx8hqn2.js → state-msx8hqn2.js} +0 -0
  774. /package/dist/chunks/{wellknown-n05xt0ee.js → state-n05xt0ee.js} +0 -0
  775. /package/dist/chunks/{wellknown-n3j8tn72.js → state-n3j8tn72.js} +0 -0
  776. /package/dist/chunks/{wellknown-njntx4h6.js → state-njntx4h6.js} +0 -0
  777. /package/dist/chunks/{wellknown-q3sfg36h.js → state-q3sfg36h.js} +0 -0
  778. /package/dist/chunks/{wellknown-q74kybfr.js → state-q74kybfr.js} +0 -0
  779. /package/dist/chunks/{wellknown-qaymkmh1.js → state-qaymkmh1.js} +0 -0
  780. /package/dist/chunks/{wellknown-qb87gjwd.js → state-qb87gjwd.js} +0 -0
  781. /package/dist/chunks/{wellknown-qfa1cgps.js → state-qfa1cgps.js} +0 -0
  782. /package/dist/chunks/{wellknown-qg3g05ea.js → state-qg3g05ea.js} +0 -0
  783. /package/dist/chunks/{wellknown-qrg20bc0.js → state-qrg20bc0.js} +0 -0
  784. /package/dist/chunks/{wellknown-rcb2kzg1.js → state-rcb2kzg1.js} +0 -0
  785. /package/dist/chunks/{wellknown-sdp7kfr6.js → state-sdp7kfr6.js} +0 -0
  786. /package/dist/chunks/{wellknown-sk3qaz4a.js → state-sk3qaz4a.js} +0 -0
  787. /package/dist/chunks/{wellknown-ssg3fenm.js → state-ssg3fenm.js} +0 -0
  788. /package/dist/chunks/{wellknown-w803qqfp.js → state-w803qqfp.js} +0 -0
  789. /package/dist/chunks/{wellknown-wc3fc9cn.js → state-wc3fc9cn.js} +0 -0
  790. /package/dist/chunks/{wellknown-wer8tq1h.js → state-wer8tq1h.js} +0 -0
  791. /package/dist/chunks/{wellknown-wtztk69x.js → state-wtztk69x.js} +0 -0
  792. /package/dist/chunks/{wellknown-x0ckcb58.js → state-x0ckcb58.js} +0 -0
  793. /package/dist/chunks/{wellknown-x61499pn.js → state-x61499pn.js} +0 -0
  794. /package/dist/chunks/{wellknown-y44na4kk.js → state-y44na4kk.js} +0 -0
  795. /package/dist/chunks/{wellknown-y8cydn3q.js → state-y8cydn3q.js} +0 -0
  796. /package/dist/chunks/{wellknown-y8f7s663.js → state-y8f7s663.js} +0 -0
  797. /package/dist/chunks/{wellknown-ygaqb7jw.js → state-ygaqb7jw.js} +0 -0
  798. /package/dist/chunks/{wellknown-ym463w8f.js → state-ym463w8f.js} +0 -0
  799. /package/dist/chunks/{wellknown-z9919s4g.js → state-z9919s4g.js} +0 -0
@@ -2,20 +2,20 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./wellknown-922hggd3.js";
5
+ } from "./state-922hggd3.js";
6
6
  import {
7
- Service78,
8
- node81
9
- } from "./wellknown-4y3x9j2a.js";
7
+ Service58,
8
+ node62
9
+ } from "./state-k6ezk3an.js";
10
10
  import {
11
11
  Content3
12
- } from "./wellknown-290gn2nz.js";
12
+ } from "./state-96qm4nj4.js";
13
13
  import {
14
14
  detect2
15
- } from "./wellknown-3smtnn6g.js";
15
+ } from "./state-3smtnn6g.js";
16
16
  import {
17
17
  __export
18
- } from "./wellknown-9rqn6x4v.js";
18
+ } from "./state-9rqn6x4v.js";
19
19
 
20
20
  // src/tool/read-filesystem.ts
21
21
  var exports_read_filesystem = {};
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
33
33
  PageInput: () => PageInput2,
34
34
  PathKindError: () => PathKindError2,
35
35
  ReadToolFileSystem: () => exports_read_filesystem,
36
- Service: () => Service7,
36
+ Service: () => Service8,
37
37
  TextPage: () => TextPage2,
38
- node: () => node9,
38
+ node: () => node10,
39
39
  read: () => read2
40
40
  });
41
41
  import path from "path";
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
114
114
  }) {
115
115
  }
116
116
 
117
- class Service7 extends Context.Service()("@opencode/ReadToolFileSystem") {
117
+ class Service8 extends Context.Service()("@opencode/ReadToolFileSystem") {
118
118
  }
119
119
  var mimeType = (value) => lookup(value) || "application/octet-stream";
120
120
  var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
330
330
  return index + 1;
331
331
  }
332
332
  };
333
- var layer = Layer.effect(Service7, Effect.gen(function* () {
334
- const environment = yield* Service78;
335
- return Service7.of({
333
+ var layer = Layer.effect(Service8, Effect.gen(function* () {
334
+ const environment = yield* Service58;
335
+ return Service8.of({
336
336
  list: environment.files.list,
337
337
  read: (path2, resource, page) => read2(environment.files, path2, resource, page)
338
338
  });
339
339
  }));
340
- var node9 = makeLocationNode({ service: Service7, layer, deps: [node81] });
340
+ var node10 = makeLocationNode({ service: Service8, layer, deps: [node62] });
341
341
 
342
- export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service7, read2, node9, exports_read_filesystem };
342
+ export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service8, read2, node10, exports_read_filesystem };
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./wellknown-2a5m3afh.js";
5
+ } from "./state-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./wellknown-9rqn6x4v.js";
8
+ } from "./state-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/local.ts
11
11
  var exports_local = {};
@@ -1,34 +1,34 @@
1
1
  import {
2
- Service80,
3
- node84
4
- } from "./wellknown-zzn5c76v.js";
2
+ Service78,
3
+ node81
4
+ } from "./state-za0qyzyq.js";
5
5
  import {
6
6
  Key3,
7
- make20,
7
+ make21,
8
8
  combine2
9
- } from "./wellknown-rhjbct0v.js";
9
+ } from "./state-s8d7rejh.js";
10
10
  import {
11
11
  __export
12
- } from "./wellknown-9rqn6x4v.js";
12
+ } from "./state-9rqn6x4v.js";
13
13
 
14
14
  // src/instructions/builtins.ts
15
15
  var exports_builtins = {};
16
16
  __export(exports_builtins, {
17
17
  InstructionBuiltIns: () => exports_builtins,
18
- Service: () => Service30,
19
- node: () => node34
18
+ Service: () => Service27,
19
+ node: () => node31
20
20
  });
21
21
  import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, DateTime, Effect, Layer, Schema } from "effect";
23
23
  import { Global } from "@opencode/util/global";
24
- class Service30 extends Context.Service()("@opencode/InstructionBuiltIns") {
24
+ class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
25
25
  }
26
- var layer = Layer.effect(Service30, Effect.gen(function* () {
26
+ var layer = Layer.effect(Service27, Effect.gen(function* () {
27
27
  const global = yield* Global.Service;
28
- const location = yield* Service80;
29
- return Service30.of({
28
+ const location = yield* Service78;
29
+ return Service27.of({
30
30
  load: () => Effect.succeed(combine2([
31
- make20({
31
+ make21({
32
32
  key: Key3.make("core/date"),
33
33
  codec: Schema.toCodecJson(Schema.String),
34
34
  read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
37
37
  changed: (_previous, date) => `Today's date is now: ${date}`
38
38
  }
39
39
  }),
40
- make20({
40
+ make21({
41
41
  key: Key3.make("core/environment"),
42
42
  codec: Schema.toCodecJson(Schema.String),
43
43
  read: Effect.sync(() => [
@@ -60,6 +60,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
60
60
  ]))
61
61
  });
62
62
  }));
63
- var node34 = makeLocationNode({ service: Service30, layer, deps: [Global.node, node84] });
63
+ var node31 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node81] });
64
64
 
65
- export { Service30, node34, exports_builtins };
65
+ export { Service27, node31, exports_builtins };
@@ -1,67 +1,67 @@
1
1
  import {
2
- Service82,
3
- node86
4
- } from "./wellknown-e7rr3zef.js";
2
+ Service83,
3
+ node87
4
+ } from "./state-48bdb4sw.js";
5
5
  import {
6
- Service80,
7
- node84
8
- } from "./wellknown-zzn5c76v.js";
6
+ Service78,
7
+ node81
8
+ } from "./state-za0qyzyq.js";
9
9
  import {
10
10
  ID9,
11
- Service58,
12
- node61
13
- } from "./wellknown-ps96thee.js";
11
+ Service68,
12
+ node71
13
+ } from "./state-pyqp92e9.js";
14
14
  import {
15
- NotFoundError7
16
- } from "./wellknown-0zdym56s.js";
15
+ NotFoundError9
16
+ } from "./state-32ymn5e1.js";
17
17
  import {
18
- Service57,
19
- node60
20
- } from "./wellknown-cwkg0kwh.js";
18
+ Service67,
19
+ node70
20
+ } from "./state-cbfq9x83.js";
21
21
  import {
22
22
  match2
23
- } from "./wellknown-y1fvbwt7.js";
23
+ } from "./state-y1fvbwt7.js";
24
24
  import {
25
- Service56,
26
- node59
27
- } from "./wellknown-1n8pm4fs.js";
25
+ Service66,
26
+ node69
27
+ } from "./state-z060z1z6.js";
28
28
  import {
29
- Service59,
30
- node62
31
- } from "./wellknown-3a83a0n4.js";
29
+ Service69,
30
+ node72
31
+ } from "./state-gs3s1a1g.js";
32
32
  import {
33
33
  __export
34
- } from "./wellknown-9rqn6x4v.js";
34
+ } from "./state-9rqn6x4v.js";
35
35
 
36
36
  // src/permission.ts
37
- var exports_permission = {};
38
- __export(exports_permission, {
37
+ var exports_permission2 = {};
38
+ __export(exports_permission2, {
39
39
  AskResult: () => AskResult2,
40
40
  AssertInput: () => AssertInput2,
41
41
  BlockedError: () => BlockedError2,
42
42
  CorrectedError: () => CorrectedError2,
43
43
  DeclinedError: () => DeclinedError2,
44
44
  Effect: () => PermissionEffect,
45
- Event: () => Event10,
45
+ Event: () => Event14,
46
46
  ID: () => ID7,
47
- NotFoundError: () => NotFoundError6,
48
- Permission: () => exports_permission,
47
+ NotFoundError: () => NotFoundError8,
48
+ Permission: () => exports_permission2,
49
49
  Reply: () => Reply2,
50
50
  ReplyInput: () => ReplyInput2,
51
51
  Request: () => Request2,
52
- Rule: () => Rule2,
52
+ Rule: () => Rule3,
53
53
  Ruleset: () => Ruleset2,
54
- Service: () => Service55,
54
+ Service: () => Service65,
55
55
  Source: () => Source5,
56
56
  evaluate: () => evaluate2,
57
57
  merge: () => merge2,
58
- node: () => node58
58
+ node: () => node68
59
59
  });
60
60
  import { makeLocationNode } from "@opencode/util/effect/app-node";
61
61
  import { Context, Deferred, Effect, Layer, Schema } from "effect";
62
62
  import { Permission } from "@opencode/schema/permission";
63
- import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
- import { Event as Event10 } from "@opencode/schema/permission";
63
+ import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
64
+ import { Event as Event14 } from "@opencode/schema/permission";
65
65
  var PermissionEffect = Permission.Effect;
66
66
  var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
67
67
  var ID7 = Permission.ID;
@@ -110,7 +110,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
110
110
  }
111
111
  }
112
112
 
113
- class NotFoundError6 extends Schema.TaggedError()("Permission.NotFoundError", {
113
+ class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
114
114
  requestID: ID7
115
115
  }) {
116
116
  }
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
125
125
  return rulesets.flat();
126
126
  }
127
127
 
128
- class Service55 extends Context.Service()("@opencode/Permission") {
128
+ class Service65 extends Context.Service()("@opencode/Permission") {
129
129
  }
130
- var layer = Layer.effect(Service55, Effect.gen(function* () {
131
- const bus = yield* Service82;
132
- const location = yield* Service80;
133
- const agents = yield* Service58;
134
- const sessions = yield* Service57;
135
- const saved = yield* Service56;
136
- const hooks = yield* Service59;
130
+ var layer = Layer.effect(Service65, Effect.gen(function* () {
131
+ const bus = yield* Service83;
132
+ const location = yield* Service78;
133
+ const agents = yield* Service68;
134
+ const sessions = yield* Service67;
135
+ const saved = yield* Service66;
136
+ const hooks = yield* Service69;
137
137
  const pending = new Map;
138
138
  let closed = false;
139
139
  const close = Effect.gen(function* () {
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
156
156
  const configured = Effect.fnUntraced(function* (sessionID, agentID) {
157
157
  const session = yield* sessions.get(sessionID);
158
158
  if (!session)
159
- return yield* new NotFoundError7({ sessionID });
159
+ return yield* new NotFoundError9({ sessionID });
160
160
  const agent = yield* agents.resolve(agentID ?? session.agent);
161
161
  return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
162
162
  });
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
242
242
  const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
243
243
  const existing = pending.get(input.requestID);
244
244
  if (!existing)
245
- return yield* new NotFoundError6({ requestID: input.requestID });
245
+ return yield* new NotFoundError8({ requestID: input.requestID });
246
246
  yield* bus.publish(Permission.Event.Replied, {
247
247
  sessionID: existing.request.sessionID,
248
248
  requestID: existing.request.id,
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service55, Effect.gen(function* () {
297
297
  const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
298
298
  return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
299
299
  });
300
- return Service55.of({ ask, assert, reply, get, forSession, list, close });
300
+ return Service65.of({ ask, assert, reply, get, forSession, list, close });
301
301
  }));
302
- var node58 = makeLocationNode({
303
- service: Service55,
302
+ var node68 = makeLocationNode({
303
+ service: Service65,
304
304
  layer,
305
- deps: [node86, node84, node61, node60, node59, node62]
305
+ deps: [node87, node81, node71, node70, node69, node72]
306
306
  });
307
307
 
308
- export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError6, evaluate2, merge2, Service55, node58, exports_permission, Rule2, Ruleset2, Event10 };
308
+ export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service65, node68, exports_permission2, Rule3, Ruleset2, Event14 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./state-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info15
9
+ Info: () => Info16
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info15 = Schema.Struct({
12
+ var Info16 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info15 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info15, exports_skills };
21
+ export { Info16, exports_skills };
@@ -1,50 +1,50 @@
1
1
  import {
2
- Service64
3
- } from "./wellknown-e7cyz2n2.js";
2
+ Service52
3
+ } from "./state-4q6hdv07.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./wellknown-922hggd3.js";
6
+ } from "./state-922hggd3.js";
7
7
  import {
8
- Service80
9
- } from "./wellknown-zzn5c76v.js";
8
+ Service78
9
+ } from "./state-za0qyzyq.js";
10
10
  import {
11
- Service63
12
- } from "./wellknown-6qsyht78.js";
11
+ Service51
12
+ } from "./state-58zcwrv5.js";
13
13
  import {
14
14
  DirectorySource2,
15
15
  UrlSource2,
16
- Source4
17
- } from "./wellknown-jkxcgs8q.js";
16
+ Source3
17
+ } from "./state-fpreazhg.js";
18
18
  import {
19
- Service8
20
- } from "./wellknown-fhs97t90.js";
19
+ Service5
20
+ } from "./state-84zt2byv.js";
21
21
  import {
22
22
  parse2
23
- } from "./wellknown-jkna1137.js";
23
+ } from "./state-490gqbd2.js";
24
24
  import {
25
25
  __export
26
- } from "./wellknown-9rqn6x4v.js";
26
+ } from "./state-9rqn6x4v.js";
27
27
 
28
28
  // src/config/plugin/skill.ts
29
- var exports_skill3 = {};
30
- __export(exports_skill3, {
31
- ConfigSkillPlugin: () => exports_skill3,
32
- Plugin: () => Plugin38
29
+ var exports_skill = {};
30
+ __export(exports_skill, {
31
+ ConfigSkillPlugin: () => exports_skill,
32
+ Plugin: () => Plugin4
33
33
  });
34
34
  import { define } from "@opencode/plugin/effect/plugin";
35
35
  import { FSUtil } from "@opencode/util/fs-util";
36
36
  import { Global } from "@opencode/util/global";
37
37
  import path from "path";
38
38
  import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
39
- var Plugin38 = define({
39
+ var Plugin4 = define({
40
40
  id: "opencode.config.skill",
41
41
  effect: Effect.fn(function* (ctx) {
42
- const config = yield* Service63;
43
- const discovery = yield* Service8;
42
+ const config = yield* Service51;
43
+ const discovery = yield* Service5;
44
44
  const fs = yield* FSUtil.Service;
45
45
  const global = yield* Global.Service;
46
- const location = yield* Service80;
47
- const watcher = yield* Service64;
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service52;
48
48
  const loaded = {
49
49
  entries: yield* config.entries(),
50
50
  skills: []
@@ -87,7 +87,7 @@ var Plugin38 = define({
87
87
  const sources = () => {
88
88
  const result = [];
89
89
  const add = (source) => {
90
- if (result.some((item) => Source4.equals(item, source)))
90
+ if (result.some((item) => Source3.equals(item, source)))
91
91
  return;
92
92
  result.push(source);
93
93
  };
@@ -112,7 +112,7 @@ var Plugin38 = define({
112
112
  };
113
113
  const load = Effect.fn("ConfigSkillPlugin.load")(function* (source) {
114
114
  const directories = source.type === "directory" ? [source.path] : yield* discovery.pull(source.url).pipe(Effect.catchCause((cause) => Effect.logWarning("failed to load skill source", {
115
- source: Source4.key(source),
115
+ source: Source3.key(source),
116
116
  cause
117
117
  }).pipe(Effect.as([]))));
118
118
  const roots = (yield* Effect.forEach(directories, watchDirectory)).flat();
@@ -141,7 +141,7 @@ var Plugin38 = define({
141
141
  }
142
142
  }
143
143
  yield* Effect.logDebug("skill source loaded", {
144
- source: Source4.key(source),
144
+ source: Source3.key(source),
145
145
  type: source.type,
146
146
  directories,
147
147
  skills: skills.map((skill) => skill.id)
@@ -160,7 +160,7 @@ var Plugin38 = define({
160
160
  if (file) {
161
161
  yield* Effect.logInfo("skills rescanned", {
162
162
  file,
163
- sources: current.map(Source4.key),
163
+ sources: current.map(Source3.key),
164
164
  skills: loaded.skills.map((skill) => skill.id)
165
165
  });
166
166
  }
@@ -176,4 +176,4 @@ var Plugin38 = define({
176
176
  })
177
177
  });
178
178
 
179
- export { Plugin38, exports_skill3 };
179
+ export { Plugin4, exports_skill };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./wellknown-9rqn6x4v.js";
3
+ } from "./state-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: () => Service4,
9
+ Service: () => Service12,
10
10
  bound: () => bound2,
11
- node: () => node5
11
+ node: () => node14
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service4 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service12 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node5 = makeLocationNode({
19
- service: Service4,
18
+ var node14 = makeLocationNode({
19
+ service: Service12,
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(Service4, Service4.of({ all: () => stamped }));
29
+ return Layer.succeed(Service12, Service12.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service4, node5, bound2, exports_instance2 };
32
+ export { Service12, node14, bound2, exports_instance2 };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  PositiveInt2
3
- } from "./wellknown-922hggd3.js";
3
+ } from "./state-922hggd3.js";
4
4
  import {
5
5
  Info18
6
- } from "./wellknown-2pnhn36q.js";
6
+ } from "./state-f3ngv102.js";
7
7
  import {
8
8
  __export
9
- } from "./wellknown-9rqn6x4v.js";
9
+ } from "./state-9rqn6x4v.js";
10
10
 
11
11
  // src/v1/config/agent.ts
12
- var exports_agent4 = {};
13
- __export(exports_agent4, {
14
- ConfigAgentV1: () => exports_agent4,
15
- Info: () => Info17
12
+ var exports_agent3 = {};
13
+ __export(exports_agent3, {
14
+ ConfigAgentV1: () => exports_agent3,
15
+ Info: () => Info14
16
16
  });
17
17
  import { Schema, SchemaGetter } from "effect";
18
18
  var Color = Schema.Union([
@@ -66,9 +66,9 @@ var normalize = (agent) => {
66
66
  const steps = agent.steps ?? agent.maxSteps;
67
67
  return { ...agent, options, permission, ...steps !== undefined ? { steps } : {} };
68
68
  };
69
- var Info17 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
69
+ var Info14 = AgentSchema.pipe(Schema.decodeTo(AgentSchema, {
70
70
  decode: SchemaGetter.transform(normalize),
71
71
  encode: SchemaGetter.passthrough({ strict: false })
72
72
  })).annotate({ identifier: "AgentConfig" });
73
73
 
74
- export { Info17, exports_agent4 };
74
+ export { Info14, exports_agent3 };
@@ -1,31 +1,31 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./wellknown-gftt206x.js";
3
+ } from "./state-gftt206x.js";
4
4
  import {
5
5
  SessionSchema2
6
- } from "./wellknown-5epte933.js";
6
+ } from "./state-7w99qc9d.js";
7
7
  import {
8
8
  MessageDecodeError2
9
- } from "./wellknown-0zdym56s.js";
9
+ } from "./state-32ymn5e1.js";
10
10
  import {
11
11
  InitializationBlocked2,
12
12
  read3
13
- } from "./wellknown-rhjbct0v.js";
13
+ } from "./state-s8d7rejh.js";
14
14
  import {
15
15
  SessionMessageTable2
16
- } from "./wellknown-bjtzbw4r.js";
16
+ } from "./state-z07pqspn.js";
17
17
  import {
18
18
  initial2,
19
19
  preview3
20
- } from "./wellknown-bk7jaeqh.js";
20
+ } from "./state-5xpznt2d.js";
21
21
  import {
22
22
  compatible2,
23
23
  isCheckpoint2,
24
24
  validate2
25
- } from "./wellknown-4z58m4b4.js";
25
+ } from "./state-4j4tgtq5.js";
26
26
  import {
27
27
  __export
28
- } from "./wellknown-9rqn6x4v.js";
28
+ } from "./state-9rqn6x4v.js";
29
29
 
30
30
  // src/session/history.ts
31
31
  var exports_history = {};
@@ -35,7 +35,7 @@ __export(exports_history, {
35
35
  entriesForRunner: () => entriesForRunner2,
36
36
  firstUserMessage: () => firstUserMessage2,
37
37
  latestCompaction: () => latestCompaction2,
38
- load: () => load4,
38
+ load: () => load5,
39
39
  preview: () => preview2
40
40
  });
41
41
  import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
56
56
  const native = entries.findLast((entry) => isCheckpoint2(entry.message));
57
57
  return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
58
58
  });
59
- var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
59
+ var load5 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
60
60
  return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
61
61
  });
62
62
  var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
92
92
  return message?.type === "user" ? message : undefined;
93
93
  });
94
94
 
95
- export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
95
+ export { latestCompaction2, decodeMessageRow2, load5, entriesForRunner2, preview2, firstUserMessage2, exports_history };
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  webSocketConstructor2
3
- } from "./wellknown-5t3nmthw.js";
3
+ } from "./state-5t3nmthw.js";
4
4
  import {
5
5
  __export
6
- } from "./wellknown-9rqn6x4v.js";
6
+ } from "./state-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: () => Service35,
11
+ Service: () => Service25,
12
12
  SessionModelTransport: () => exports_model_transport,
13
- layer: () => layer12,
13
+ layer: () => layer11,
14
14
  makeLayer: () => makeLayer2,
15
- node: () => node38
15
+ node: () => node29
16
16
  });
17
17
  import {
18
18
  WebSocketTransport
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
33
33
  });
34
34
  var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
35
35
 
36
- class Service35 extends Context.Service()("@opencode/SessionModelTransport") {
36
+ class Service25 extends Context.Service()("@opencode/SessionModelTransport") {
37
37
  }
38
38
  var transportError = (message, input) => new AIError({
39
39
  reason: new TransportError({ message, transport: "websocket", ...input })
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
57
57
  return Effect.fail(observation.error);
58
58
  };
59
59
  var observationTerminal = (observation) => observation.type !== "frame";
60
- var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* () {
60
+ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* () {
61
61
  const scope = yield* Scope.Scope;
62
62
  const states = new Map;
63
63
  const state = (sessionID) => {
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service35, Effect.gen(function* ()
367
367
  }, { discard: true });
368
368
  });
369
369
  yield* Effect.addFinalizer(() => closeAll);
370
- return Service35.of({ bind, close, closeAll });
370
+ return Service25.of({ bind, close, closeAll });
371
371
  }));
372
- var layer12 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
372
+ var layer11 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
373
373
  open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
374
374
  })));
375
- var node38 = makeGlobalNode({ service: Service35, layer: layer12, deps: [webSocketConstructor2] });
375
+ var node29 = makeGlobalNode({ service: Service25, layer: layer11, deps: [webSocketConstructor2] });
376
376
 
377
- export { Service35, makeLayer2, layer12, node38, exports_model_transport };
377
+ export { Service25, makeLayer2, layer11, node29, exports_model_transport };