@opencode/core 0.0.0-dev-157 → 0.0.0-dev-158

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 (811) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +87 -87
  3. package/dist/aisdk-native.js +97 -97
  4. package/dist/aisdk.js +103 -103
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +75 -75
  7. package/dist/chunks/{location-034tev2y.js → formatter-034tev2y.js} +2 -2
  8. package/dist/chunks/{location-6j0v21fn.js → formatter-03v86jt2.js} +20 -20
  9. package/dist/chunks/{location-fk13tq6z.js → formatter-0ah4y9r0.js} +6 -6
  10. package/dist/chunks/{location-aymf12sh.js → formatter-0dyf8jqq.js} +55 -55
  11. package/dist/chunks/{location-qtd5p5k1.js → formatter-0fgefsmm.js} +15 -15
  12. package/dist/chunks/{location-nc0wwyw5.js → formatter-0gb5rjdd.js} +24 -24
  13. package/dist/chunks/{location-66xzmsa8.js → formatter-0n41t4zq.js} +23 -23
  14. package/dist/chunks/{location-th9cnqvh.js → formatter-10vw2nd8.js} +4 -4
  15. package/dist/chunks/{location-11hfp36g.js → formatter-11hfp36g.js} +1 -1
  16. package/dist/chunks/{location-mcdj7ymd.js → formatter-1543h8d7.js} +11 -11
  17. package/dist/chunks/{location-2ttrve3p.js → formatter-1628er8f.js} +12 -12
  18. package/dist/chunks/{location-f34t46m8.js → formatter-19qgrets.js} +4 -4
  19. package/dist/chunks/{location-1ep2p91f.js → formatter-1ep2p91f.js} +2 -2
  20. package/dist/chunks/{location-fcsk47k5.js → formatter-1gnb2fcg.js} +36 -36
  21. package/dist/chunks/{location-ewwfb56b.js → formatter-1k41bg7a.js} +21 -21
  22. package/dist/chunks/{location-1x2knyw4.js → formatter-1x2knyw4.js} +1 -1
  23. package/dist/chunks/{location-204s3925.js → formatter-204s3925.js} +1 -1
  24. package/dist/chunks/{location-eeeyas8n.js → formatter-22ajefah.js} +16 -16
  25. package/dist/chunks/{location-ys2ews8t.js → formatter-24jfnbzz.js} +22 -22
  26. package/dist/chunks/{location-ac1py7fc.js → formatter-28hr9nbt.js} +46 -46
  27. package/dist/chunks/{location-vx7y69zw.js → formatter-2eqy3gj5.js} +11 -11
  28. package/dist/chunks/{location-zv6chf9e.js → formatter-2pxa8g39.js} +6 -6
  29. package/dist/chunks/{location-4chjvm0n.js → formatter-2q4pnacr.js} +5 -5
  30. package/dist/chunks/{location-fy7btgzb.js → formatter-33nja2we.js} +14 -14
  31. package/dist/chunks/{location-s8ffyqk5.js → formatter-394cy0eq.js} +17 -17
  32. package/dist/chunks/{location-7ggwamay.js → formatter-3ga08nvd.js} +11 -11
  33. package/dist/chunks/{location-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{location-9y0knddb.js → formatter-3n5jkvcw.js} +5 -5
  35. package/dist/chunks/{location-3nnrz6f6.js → formatter-3nnrz6f6.js} +1 -1
  36. package/dist/chunks/{location-bw5vtrk1.js → formatter-3qx04rj6.js} +11 -11
  37. package/dist/chunks/formatter-3zat5gdw.js +26 -0
  38. package/dist/chunks/{location-94ym33zj.js → formatter-408rv1ek.js} +69 -69
  39. package/dist/chunks/{location-r2ty45qf.js → formatter-43d5xc6d.js} +19 -19
  40. package/dist/chunks/{location-tx5ztkvb.js → formatter-45ggea5m.js} +32 -32
  41. package/dist/chunks/{location-f4qt8m6m.js → formatter-46ka2acm.js} +3 -3
  42. package/dist/chunks/{location-y08xa3vn.js → formatter-485n4jd3.js} +21 -21
  43. package/dist/chunks/{location-bfr8tpj8.js → formatter-4dn49050.js} +30 -30
  44. package/dist/chunks/{location-dnkt163z.js → formatter-4h077zh3.js} +14 -14
  45. package/dist/chunks/{location-5qt45yqb.js → formatter-4mppp49g.js} +3 -3
  46. package/dist/chunks/{location-x2ecggsc.js → formatter-4pev1txy.js} +13 -13
  47. package/dist/chunks/{location-4pyp9zr9.js → formatter-4pyp9zr9.js} +1 -1
  48. package/dist/chunks/{location-4v008n1t.js → formatter-4v008n1t.js} +1 -1
  49. package/dist/chunks/{location-fjq4jm3y.js → formatter-51s5kn8z.js} +18 -18
  50. package/dist/chunks/{location-a7q3851y.js → formatter-52eavcth.js} +24 -24
  51. package/dist/chunks/{location-z54xpf00.js → formatter-56xn1hkj.js} +25 -25
  52. package/dist/chunks/{location-4ze70za5.js → formatter-5cn8xe5s.js} +14 -14
  53. package/dist/chunks/{location-40za9wsf.js → formatter-5enarcya.js} +6 -6
  54. package/dist/chunks/{location-mkqpe6ev.js → formatter-5ff5nded.js} +18 -18
  55. package/dist/chunks/{location-5m9w47nd.js → formatter-5m9w47nd.js} +1 -1
  56. package/dist/chunks/{location-j3pm8grq.js → formatter-5rf46hdm.js} +28 -28
  57. package/dist/chunks/{location-8shc1k29.js → formatter-5ryxmec5.js} +6 -6
  58. package/dist/chunks/{location-x4jkdn6e.js → formatter-5vtsbcft.js} +8 -8
  59. package/dist/chunks/{location-nbav8nzv.js → formatter-5yg7bvsq.js} +28 -28
  60. package/dist/chunks/{location-gqkf6x4j.js → formatter-61a4qrs4.js} +5 -5
  61. package/dist/chunks/{location-6z64yfwb.js → formatter-6cycb20b.js} +30 -30
  62. package/dist/chunks/{location-6esdw8yj.js → formatter-6esdw8yj.js} +1 -1
  63. package/dist/chunks/{location-0czxa7gb.js → formatter-6q4pe2tt.js} +11 -11
  64. package/dist/chunks/{location-wj3t59eb.js → formatter-6qazmz99.js} +12 -12
  65. package/dist/chunks/{location-jn7ycdjx.js → formatter-6qzks2cs.js} +28 -28
  66. package/dist/chunks/{location-f3v3m9ze.js → formatter-6rr0vdf1.js} +18 -18
  67. package/dist/chunks/{location-c0pkgj13.js → formatter-6v3s9y2a.js} +15 -15
  68. package/dist/chunks/{location-3dnxr830.js → formatter-6vygy4ry.js} +15 -15
  69. package/dist/chunks/{location-t2bd3kw5.js → formatter-71wc3kpp.js} +32 -32
  70. package/dist/chunks/{location-00zh2tpm.js → formatter-7a1enj4j.js} +8 -8
  71. package/dist/chunks/{location-vp4gfj7b.js → formatter-7a3gzg35.js} +8 -8
  72. package/dist/chunks/{location-9e9wnrn3.js → formatter-7a92ptrh.js} +23 -23
  73. package/dist/chunks/{location-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{location-5k2wjw25.js → formatter-7jgy946c.js} +7 -7
  75. package/dist/chunks/{location-ng4vhxme.js → formatter-7jhpt6w3.js} +30 -30
  76. package/dist/chunks/{location-ddjm3yr7.js → formatter-7m2ptj4e.js} +25 -25
  77. package/dist/chunks/{location-7w2ypzdf.js → formatter-7w2ypzdf.js} +1 -1
  78. package/dist/chunks/{location-dqz1xx52.js → formatter-7zczqtrc.js} +11 -11
  79. package/dist/chunks/{location-cz80cm7r.js → formatter-8a2eg3tn.js} +5 -5
  80. package/dist/chunks/{location-9jwhcb1g.js → formatter-8k57btrj.js} +13 -13
  81. package/dist/chunks/{location-grdzfs6a.js → formatter-8m1jxte5.js} +18 -18
  82. package/dist/chunks/{location-x628q3tw.js → formatter-8sm9cepf.js} +7 -7
  83. package/dist/chunks/{location-a2cvkf8m.js → formatter-8vhprsgd.js} +18 -18
  84. package/dist/chunks/{location-8wtp7s3z.js → formatter-8wtp7s3z.js} +1 -1
  85. package/dist/chunks/{location-hvwvq3df.js → formatter-8x6dz44a.js} +8 -8
  86. package/dist/chunks/{location-hvvf9qw8.js → formatter-8zkf5cgt.js} +6 -6
  87. package/dist/chunks/{location-90zstvax.js → formatter-90zstvax.js} +1 -1
  88. package/dist/chunks/{location-gs8jhd8n.js → formatter-928cg9e5.js} +20 -20
  89. package/dist/chunks/{location-2h1qwmv4.js → formatter-932fxf16.js} +17 -17
  90. package/dist/chunks/{location-70y17xeh.js → formatter-96te9d4b.js} +5 -5
  91. package/dist/chunks/{location-w35wzz9x.js → formatter-9axz1114.js} +4 -4
  92. package/dist/chunks/{location-9qcg53ez.js → formatter-9qcg53ez.js} +2 -2
  93. package/dist/chunks/{location-jq4a7xgd.js → formatter-a52hhzb9.js} +23 -23
  94. package/dist/chunks/formatter-a885h41h.js +257 -0
  95. package/dist/chunks/{location-ydsespw1.js → formatter-aedwt843.js} +8 -8
  96. package/dist/chunks/{location-v1nzqh31.js → formatter-aj89322e.js} +5 -5
  97. package/dist/chunks/{location-t9j1v4n7.js → formatter-aprzax25.js} +21 -21
  98. package/dist/chunks/{location-nrptqq6h.js → formatter-av82cvsk.js} +201 -201
  99. package/dist/chunks/{location-3hbcrqhe.js → formatter-avpbktef.js} +12 -12
  100. package/dist/chunks/{location-ayjs7tqn.js → formatter-ayjs7tqn.js} +2 -2
  101. package/dist/chunks/{location-b6vsg801.js → formatter-b6vsg801.js} +2 -2
  102. package/dist/chunks/{location-yep4axjb.js → formatter-b954wvww.js} +6 -6
  103. package/dist/chunks/{location-0tkyyzpw.js → formatter-bf446n6z.js} +9 -9
  104. package/dist/chunks/{location-2da34b6h.js → formatter-bj9smzzw.js} +5 -5
  105. package/dist/chunks/{location-zzdv5d93.js → formatter-bjhzkqyk.js} +4 -4
  106. package/dist/chunks/{location-9bhbx6n4.js → formatter-bmvsb49w.js} +20 -20
  107. package/dist/chunks/{location-jwb7hgyv.js → formatter-bqm8vams.js} +32 -32
  108. package/dist/chunks/{location-7kxhv2sa.js → formatter-bsh8r5kc.js} +11 -11
  109. package/dist/chunks/{location-bstexjd6.js → formatter-bstexjd6.js} +1 -1
  110. package/dist/chunks/{location-4hjvtnvr.js → formatter-bvjg0ay9.js} +11 -11
  111. package/dist/chunks/{location-xndqmg8y.js → formatter-bxe49cp6.js} +14 -14
  112. package/dist/chunks/{location-emq6awqh.js → formatter-c5kjsz6q.js} +4 -4
  113. package/dist/chunks/{location-trnwxx84.js → formatter-c5zneedc.js} +45 -45
  114. package/dist/chunks/{location-7716wq1n.js → formatter-cfa85z7t.js} +32 -32
  115. package/dist/chunks/{location-6gsprsz3.js → formatter-cgn6nf8q.js} +2 -2
  116. package/dist/chunks/{location-cwrgdav8.js → formatter-cwrgdav8.js} +2 -2
  117. package/dist/chunks/{location-0rp4335f.js → formatter-d0d9kmtc.js} +27 -27
  118. package/dist/chunks/{location-mtkfycnh.js → formatter-d2887f8n.js} +4 -4
  119. package/dist/chunks/{location-d4v9tmah.js → formatter-d4v9tmah.js} +2 -2
  120. package/dist/chunks/{location-zfyb5tr4.js → formatter-d8p3t516.js} +4 -4
  121. package/dist/chunks/{location-t4mesnkk.js → formatter-d9jhw6m8.js} +10 -10
  122. package/dist/chunks/{location-vbw7dpbk.js → formatter-daz8d7a2.js} +7 -7
  123. package/dist/chunks/{location-50ghwmve.js → formatter-df6rebg4.js} +54 -54
  124. package/dist/chunks/{location-xe50az9a.js → formatter-dht0teee.js} +5 -5
  125. package/dist/chunks/{location-vhy7b17j.js → formatter-djt3gtf7.js} +29 -29
  126. package/dist/chunks/{location-egqjccw6.js → formatter-dm6ksgvz.js} +6 -6
  127. package/dist/chunks/{location-6xvvx5e8.js → formatter-dqkdjpwm.js} +87 -87
  128. package/dist/chunks/{location-bzr330f0.js → formatter-dr3tmh6a.js} +12 -12
  129. package/dist/chunks/{location-dt77769w.js → formatter-dt77769w.js} +1 -1
  130. package/dist/chunks/{location-r9wv51da.js → formatter-dxb8mgza.js} +10 -10
  131. package/dist/chunks/{location-31c39a09.js → formatter-dxx03d8y.js} +17 -17
  132. package/dist/chunks/{location-jr4dr2q3.js → formatter-dyqb2r8n.js} +3 -3
  133. package/dist/chunks/{location-17cjzed1.js → formatter-e2ne77ac.js} +2 -2
  134. package/dist/chunks/{location-e834z07m.js → formatter-e834z07m.js} +1 -1
  135. package/dist/chunks/{location-5yvhxqsw.js → formatter-exxfv8pa.js} +18 -18
  136. package/dist/chunks/{location-c5d4dktm.js → formatter-ezm560et.js} +21 -21
  137. package/dist/chunks/{location-rxb1aw4a.js → formatter-f46kh10v.js} +18 -18
  138. package/dist/chunks/{location-y35pcaf8.js → formatter-fe32wyxe.js} +19 -19
  139. package/dist/chunks/{location-fffv3p7h.js → formatter-fffv3p7h.js} +1 -1
  140. package/dist/chunks/{location-yzk83bqb.js → formatter-fghrgnwr.js} +12 -12
  141. package/dist/chunks/{location-zq8z39xr.js → formatter-fng6wk28.js} +11 -11
  142. package/dist/chunks/{location-am3zzh1s.js → formatter-fw94v8hy.js} +9 -9
  143. package/dist/chunks/{location-avx19w98.js → formatter-fwsczgrj.js} +11 -11
  144. package/dist/chunks/{location-d85q5s2h.js → formatter-fzfqydht.js} +17 -17
  145. package/dist/chunks/{location-gnd3kbwx.js → formatter-g1mxmsmn.js} +9 -9
  146. package/dist/chunks/{location-eqmd2tfz.js → formatter-g7esga4v.js} +4 -4
  147. package/dist/chunks/{location-48zamtyb.js → formatter-g8jkqxma.js} +47 -47
  148. package/dist/chunks/{location-wvs4skyz.js → formatter-g9rrt98n.js} +1 -1
  149. package/dist/chunks/{location-n760pf4s.js → formatter-g9w27t38.js} +4 -4
  150. package/dist/chunks/{location-8m3s0h7s.js → formatter-g9wm4gaf.js} +40 -40
  151. package/dist/chunks/{location-2bpnrcqm.js → formatter-ga1rq104.js} +18 -18
  152. package/dist/chunks/{location-gg8p9cgs.js → formatter-gg8p9cgs.js} +3 -3
  153. package/dist/chunks/{location-am1hja96.js → formatter-grfya7tj.js} +13 -13
  154. package/dist/chunks/{location-9t2khtsw.js → formatter-gtz8ev1y.js} +8 -8
  155. package/dist/chunks/{location-57rr0y2c.js → formatter-gy6xyr2j.js} +27 -27
  156. package/dist/chunks/{location-b28tsbmy.js → formatter-gzq9abr2.js} +45 -45
  157. package/dist/chunks/{location-kz30j1ax.js → formatter-h1pm2szr.js} +39 -39
  158. package/dist/chunks/{location-c46s9eb3.js → formatter-haf3v3hy.js} +5 -5
  159. package/dist/chunks/{location-af0k6e03.js → formatter-hdfrs5mg.js} +9 -9
  160. package/dist/chunks/{location-c1ssndk2.js → formatter-hhp2fdnq.js} +13 -13
  161. package/dist/chunks/{location-gvtm772t.js → formatter-hkv4p8qn.js} +21 -21
  162. package/dist/chunks/{location-qvtpbb9s.js → formatter-hmr6cy4x.js} +18 -18
  163. package/dist/chunks/{location-hpg1pkwy.js → formatter-hpg1pkwy.js} +1 -1
  164. package/dist/chunks/{location-rwgvp8j6.js → formatter-hy59nt95.js} +8 -8
  165. package/dist/chunks/{location-r3gw80k4.js → formatter-j6wmqcnw.js} +22 -22
  166. package/dist/chunks/{location-t51jc41k.js → formatter-j7v80qje.js} +12 -12
  167. package/dist/chunks/{location-jfaecv01.js → formatter-jfaecv01.js} +1 -1
  168. package/dist/chunks/{location-jtnps1zs.js → formatter-jtnps1zs.js} +2 -2
  169. package/dist/chunks/{location-6j1pxrfn.js → formatter-jvta4zhp.js} +8 -8
  170. package/dist/chunks/{location-6b3pnxty.js → formatter-jy1r7v62.js} +36 -36
  171. package/dist/chunks/{location-6knvtd1w.js → formatter-jyhg77x6.js} +10 -10
  172. package/dist/chunks/formatter-k62y2wy8.js +18 -0
  173. package/dist/chunks/{location-k814nvkf.js → formatter-k814nvkf.js} +1 -1
  174. package/dist/chunks/{location-q7t6ck8g.js → formatter-k9dfpmz2.js} +24 -24
  175. package/dist/chunks/{location-npw72hw3.js → formatter-kddgr42t.js} +10 -10
  176. package/dist/chunks/{location-esnc8dys.js → formatter-knjx9f3g.js} +28 -28
  177. package/dist/chunks/{location-kt3bjfbg.js → formatter-kt3bjfbg.js} +1 -1
  178. package/dist/chunks/{location-tjs50ewy.js → formatter-kykpneqp.js} +33 -33
  179. package/dist/chunks/{location-w6drehxa.js → formatter-kyy1rfta.js} +11 -11
  180. package/dist/chunks/{location-9zwmnkz4.js → formatter-m0kgc17n.js} +4 -4
  181. package/dist/chunks/{location-m1714858.js → formatter-m1714858.js} +1 -1
  182. package/dist/chunks/{location-3cbqjczx.js → formatter-m6ha5htp.js} +321 -321
  183. package/dist/chunks/{location-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
  184. package/dist/chunks/{location-bk7xq8bh.js → formatter-me7kxg3j.js} +8 -8
  185. package/dist/chunks/{location-xqsejeyp.js → formatter-mk6v4p35.js} +13 -13
  186. package/dist/chunks/{location-qvpfa8gz.js → formatter-mvfz5wz8.js} +28 -28
  187. package/dist/chunks/{location-76jz4bew.js → formatter-mvyy6qpx.js} +32 -32
  188. package/dist/chunks/{location-t96sw8s6.js → formatter-n2ppx7kr.js} +23 -23
  189. package/dist/chunks/{location-rmt6m6se.js → formatter-n7bnkb3p.js} +9 -9
  190. package/dist/chunks/{location-teh9wf2k.js → formatter-n7pbqev4.js} +1 -1
  191. package/dist/chunks/{location-9ffpgwsc.js → formatter-n7s957jj.js} +10 -10
  192. package/dist/chunks/{location-hm02wpk1.js → formatter-na9deryv.js} +4 -4
  193. package/dist/chunks/{location-nah043kf.js → formatter-nah043kf.js} +1 -1
  194. package/dist/chunks/{location-y1s3hmc3.js → formatter-njz5cw42.js} +17 -17
  195. package/dist/chunks/{location-nr81yrq6.js → formatter-nk8ph50s.js} +25 -25
  196. package/dist/chunks/{location-vaq1yek0.js → formatter-nrtygxmh.js} +6 -6
  197. package/dist/chunks/{location-pj1mxnxz.js → formatter-ntxfz25d.js} +11 -11
  198. package/dist/chunks/{location-p015t6z3.js → formatter-p015t6z3.js} +2 -2
  199. package/dist/chunks/{location-h4tk9ys0.js → formatter-p1njj0by.js} +9 -9
  200. package/dist/chunks/{location-gc4x1yks.js → formatter-p4yppz28.js} +19 -19
  201. package/dist/chunks/{location-p7vhpwh8.js → formatter-p7vhpwh8.js} +1 -1
  202. package/dist/chunks/{location-d6w39weh.js → formatter-p8047wat.js} +6 -6
  203. package/dist/chunks/{location-4rgtafmq.js → formatter-p8rfhtpq.js} +32 -32
  204. package/dist/chunks/{location-9n4vggc2.js → formatter-pakndkhn.js} +3 -3
  205. package/dist/chunks/{location-5x26af84.js → formatter-pbbktnbz.js} +4 -4
  206. package/dist/chunks/{location-886fpr41.js → formatter-pf9gr1ec.js} +5 -5
  207. package/dist/chunks/{location-pknna89w.js → formatter-pknna89w.js} +1 -1
  208. package/dist/chunks/{location-xpfvn7yf.js → formatter-pqf7d7qx.js} +45 -45
  209. package/dist/chunks/{location-fg9p65nk.js → formatter-prq7xxp2.js} +6 -6
  210. package/dist/chunks/{location-ts7mkfs9.js → formatter-pyzjd10w.js} +3 -3
  211. package/dist/chunks/{location-hxpa900c.js → formatter-q0zr1qvh.js} +25 -25
  212. package/dist/chunks/{location-787pbn49.js → formatter-q28pv36z.js} +29 -29
  213. package/dist/chunks/{location-p6ahbwec.js → formatter-q3g8wbya.js} +11 -11
  214. package/dist/chunks/{location-r46x4fhg.js → formatter-q4fqeak2.js} +35 -35
  215. package/dist/chunks/{location-q63cb7ap.js → formatter-q63cb7ap.js} +3 -3
  216. package/dist/chunks/{location-cz3s2vhd.js → formatter-qgndh80m.js} +16 -16
  217. package/dist/chunks/{location-67s8824q.js → formatter-qkkhqeq2.js} +26 -26
  218. package/dist/chunks/{location-qp7r0hxv.js → formatter-qp7r0hxv.js} +1 -1
  219. package/dist/chunks/{location-mjtny0k5.js → formatter-qxdpy5f9.js} +6 -6
  220. package/dist/chunks/{location-r0yr0wbs.js → formatter-r0yr0wbs.js} +1 -1
  221. package/dist/chunks/{location-qh48ndyz.js → formatter-r1gtje4t.js} +43 -43
  222. package/dist/chunks/{location-r542h3bh.js → formatter-r542h3bh.js} +1 -1
  223. package/dist/chunks/{location-04tp6htd.js → formatter-r6cac6pk.js} +21 -21
  224. package/dist/chunks/{location-rb9dy4dg.js → formatter-rb9dy4dg.js} +1 -1
  225. package/dist/chunks/{location-nsj7r9cf.js → formatter-re939ggz.js} +33 -33
  226. package/dist/chunks/{location-rt5dr6hb.js → formatter-rt5dr6hb.js} +1 -1
  227. package/dist/chunks/{location-f42021n0.js → formatter-rte3fk8q.js} +11 -11
  228. package/dist/chunks/{location-sa3fpqfw.js → formatter-sa3fpqfw.js} +2 -2
  229. package/dist/chunks/{location-wne0cxxy.js → formatter-sg8xjaz5.js} +27 -27
  230. package/dist/chunks/{location-r94gekwm.js → formatter-snb901t2.js} +4 -4
  231. package/dist/chunks/{location-ffb88fvm.js → formatter-snrj9yj5.js} +14 -14
  232. package/dist/chunks/{location-sqb3gwyh.js → formatter-spsvk66e.js} +3 -3
  233. package/dist/chunks/{location-sqjzf8x2.js → formatter-sqjzf8x2.js} +1 -1
  234. package/dist/chunks/{location-mz4mmk88.js → formatter-sqkx7p5n.js} +15 -15
  235. package/dist/chunks/{location-d0ekazng.js → formatter-stdt3xb1.js} +15 -15
  236. package/dist/chunks/{location-svcy3p9a.js → formatter-svcy3p9a.js} +1 -1
  237. package/dist/chunks/{location-dbmp929s.js → formatter-szcgc7h4.js} +5 -5
  238. package/dist/chunks/{location-cpvd08na.js → formatter-t211gxpv.js} +4 -4
  239. package/dist/chunks/{location-2ryjb9fp.js → formatter-t2ad8a1g.js} +21 -21
  240. package/dist/chunks/{location-g9cf8r9e.js → formatter-t2k4jjyh.js} +3 -3
  241. package/dist/chunks/{location-be0s1b3n.js → formatter-t6gnwazt.js} +29 -29
  242. package/dist/chunks/{location-46cvvfkv.js → formatter-taahtb0c.js} +22 -22
  243. package/dist/chunks/{location-hw9kv3mt.js → formatter-tc1bwtzj.js} +6 -6
  244. package/dist/chunks/{location-3t73xeyv.js → formatter-tc4kyz8e.js} +2 -2
  245. package/dist/chunks/{location-tczq8hjw.js → formatter-tczq8hjw.js} +1 -1
  246. package/dist/chunks/{location-74zfgmk2.js → formatter-te7zt5ht.js} +19 -19
  247. package/dist/chunks/{location-xhd45jer.js → formatter-tee81xg3.js} +33 -33
  248. package/dist/chunks/{location-xrx1pqtv.js → formatter-tgt0ac12.js} +16 -16
  249. package/dist/chunks/{location-htyzxrkw.js → formatter-tpjvtcx1.js} +9 -9
  250. package/dist/chunks/{location-8x3ydtx4.js → formatter-tted8b2w.js} +19 -19
  251. package/dist/chunks/{location-twssxy5n.js → formatter-twssxy5n.js} +2 -2
  252. package/dist/chunks/{location-r8c91qy6.js → formatter-txf773fv.js} +4 -4
  253. package/dist/chunks/{location-b7wr440c.js → formatter-txvbkf9b.js} +46 -46
  254. package/dist/chunks/{location-v2r1d0zg.js → formatter-v2r1d0zg.js} +1 -1
  255. package/dist/chunks/{location-p78nc619.js → formatter-veq51cxc.js} +9 -9
  256. package/dist/chunks/{location-c82dcvad.js → formatter-vfp0pkkd.js} +42 -42
  257. package/dist/chunks/{location-2zp5a6yg.js → formatter-vg0erq9k.js} +3 -3
  258. package/dist/chunks/{location-qtf71cz0.js → formatter-vh9ps45p.js} +26 -26
  259. package/dist/chunks/{location-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
  260. package/dist/chunks/{location-6js0mnhz.js → formatter-w4psgs9e.js} +32 -32
  261. package/dist/chunks/{location-wzg0h9b8.js → formatter-w670rhyr.js} +21 -21
  262. package/dist/chunks/{location-wr3re1en.js → formatter-w687dnns.js} +4 -4
  263. package/dist/chunks/{location-76cb1hcw.js → formatter-w8qtt4th.js} +4 -4
  264. package/dist/chunks/{location-tbwjycs5.js → formatter-w97d1ng8.js} +87 -87
  265. package/dist/chunks/{location-wakvkjy4.js → formatter-wakvkjy4.js} +1 -1
  266. package/dist/chunks/{location-g95hdg3z.js → formatter-wbgzj0hw.js} +4 -4
  267. package/dist/chunks/{location-wd87259q.js → formatter-wd87259q.js} +1 -1
  268. package/dist/chunks/{location-cgw9zbep.js → formatter-wefmyskm.js} +43 -43
  269. package/dist/chunks/{location-f41wwg2r.js → formatter-wkhea23b.js} +17 -17
  270. package/dist/chunks/{location-6t862pnj.js → formatter-wmaqz1y8.js} +30 -30
  271. package/dist/chunks/{location-wnhgecwx.js → formatter-wnhgecwx.js} +1 -1
  272. package/dist/chunks/{location-ny7rtrvd.js → formatter-wyenqtwf.js} +4 -4
  273. package/dist/chunks/{location-4ta6csbb.js → formatter-xjpxpj55.js} +11 -11
  274. package/dist/chunks/{location-ymcm4zbd.js → formatter-xppfe2fc.js} +3 -3
  275. package/dist/chunks/{location-d9t7madm.js → formatter-xqwysx3w.js} +26 -26
  276. package/dist/chunks/{location-1kn6jdkn.js → formatter-xt0z8zst.js} +4 -4
  277. package/dist/chunks/{location-cyrksjq4.js → formatter-xvmzfnq9.js} +48 -48
  278. package/dist/chunks/{location-d7xwrqch.js → formatter-xwbhabkb.js} +18 -18
  279. package/dist/chunks/{location-yara3q77.js → formatter-yara3q77.js} +2 -2
  280. package/dist/chunks/{location-yb20nhc3.js → formatter-yb20nhc3.js} +1 -1
  281. package/dist/chunks/{location-eprcdpyx.js → formatter-yb49ndda.js} +15 -15
  282. package/dist/chunks/{location-me5xs82a.js → formatter-ydnwtp95.js} +5 -5
  283. package/dist/chunks/{location-2twj3cjc.js → formatter-ygqxcxbg.js} +4 -4
  284. package/dist/chunks/{location-8p921xxm.js → formatter-yj5kgc24.js} +2 -2
  285. package/dist/chunks/{location-hv0nh322.js → formatter-yq3rxhjy.js} +15 -15
  286. package/dist/chunks/{location-dwrgp3np.js → formatter-yxrr31d8.js} +9 -9
  287. package/dist/chunks/{location-z38nccrw.js → formatter-z38nccrw.js} +1 -1
  288. package/dist/chunks/{location-s67yrvpd.js → formatter-z96chytr.js} +35 -35
  289. package/dist/chunks/{location-8yhc7zrg.js → formatter-zgd8t41s.js} +9 -9
  290. package/dist/chunks/{location-5xzpahv6.js → formatter-zs0e4nbm.js} +21 -21
  291. package/dist/chunks/{location-c6hmmbmz.js → formatter-zxf918eb.js} +16 -16
  292. package/dist/codemode/catalog.js +1 -1
  293. package/dist/codemode/instructions.js +7 -7
  294. package/dist/codemode/tool.js +3 -3
  295. package/dist/codemode/web.js +1 -1
  296. package/dist/command.js +89 -89
  297. package/dist/config/discovery.js +92 -92
  298. package/dist/config/integration.js +3 -3
  299. package/dist/config/markdown.js +1 -1
  300. package/dist/config/normalize.js +107 -107
  301. package/dist/config/plugin/agent.js +121 -121
  302. package/dist/config/plugin/command.js +221 -221
  303. package/dist/config/plugin/compaction.js +162 -162
  304. package/dist/config/plugin/compatibility.js +142 -142
  305. package/dist/config/plugin/entry-observer.js +1 -1
  306. package/dist/config/plugin/formatter.js +122 -122
  307. package/dist/config/plugin/image.js +121 -121
  308. package/dist/config/plugin/instruction.js +121 -121
  309. package/dist/config/plugin/location-watcher.js +123 -123
  310. package/dist/config/plugin/mcp.js +130 -130
  311. package/dist/config/plugin/policy.js +123 -123
  312. package/dist/config/plugin/provider.js +122 -122
  313. package/dist/config/plugin/reference.js +123 -123
  314. package/dist/config/plugin/shell.js +121 -121
  315. package/dist/config/plugin/skill-file.js +138 -138
  316. package/dist/config/plugin/skill-scan.js +1 -1
  317. package/dist/config/plugin/skill.js +145 -145
  318. package/dist/config/plugin/snapshot.js +121 -121
  319. package/dist/config/plugin/source.js +124 -124
  320. package/dist/config/plugin/tool-output.js +122 -122
  321. package/dist/config/plugin/websearch.js +120 -120
  322. package/dist/config/plugin/worktree.js +123 -123
  323. package/dist/config/variable.js +1 -1
  324. package/dist/config/watch.js +1 -1
  325. package/dist/config.js +124 -124
  326. package/dist/console-access.js +1 -1
  327. package/dist/credential/sql.js +2 -2
  328. package/dist/credential.js +89 -89
  329. package/dist/database/database.js +72 -72
  330. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  331. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  332. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  333. package/dist/database/drizzle/index.js +13 -13
  334. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  336. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  337. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  338. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  339. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  340. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  341. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  342. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  343. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  344. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  345. package/dist/database/drizzle.js +14 -14
  346. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  347. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  348. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  349. package/dist/database/migration/20260225215848_workspace.js +1 -1
  350. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  351. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  352. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  353. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  354. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  355. package/dist/database/migration/20260323234822_events.js +1 -1
  356. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  357. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  358. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  359. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  360. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  361. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  362. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  363. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  364. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  365. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  366. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  367. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  368. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  369. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  370. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  371. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  372. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  373. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  374. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  375. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  376. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  377. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  378. package/dist/database/migration/20260611035744_credential.js +1 -1
  379. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  380. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  381. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  382. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  383. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  384. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  385. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  386. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  387. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  388. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  389. package/dist/database/migration/20260812213948_worktree.js +1 -1
  390. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  391. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  392. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  393. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  394. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  395. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  396. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  397. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  398. package/dist/database/migration/20261025123711_blob.js +1 -1
  399. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  400. package/dist/database/migration.gen.js +55 -55
  401. package/dist/database/migration.js +57 -57
  402. package/dist/database/path.js +2 -2
  403. package/dist/database/schema.gen.js +1 -1
  404. package/dist/database/schema.sql.js +1 -1
  405. package/dist/database/sqlite.bun.js +1 -1
  406. package/dist/database/sqlite.js +1 -1
  407. package/dist/database/sqlite.node.js +1 -1
  408. package/dist/database/sqlite.workerd.js +1 -1
  409. package/dist/database/v1-migration.bun.js +100 -100
  410. package/dist/database/v1-migration.js +1 -1
  411. package/dist/effect/app-node-builder.js +377 -377
  412. package/dist/effect/app-node-platform.js +2 -2
  413. package/dist/effect/keyed-mutex.js +1 -1
  414. package/dist/effect/websocket-constructor.js +1 -1
  415. package/dist/environment/driver.js +1 -1
  416. package/dist/environment/environment.js +101 -101
  417. package/dist/environment/exec-defaults.js +2 -2
  418. package/dist/environment/files.js +1 -1
  419. package/dist/environment/index.js +103 -103
  420. package/dist/environment/local.js +2 -2
  421. package/dist/environment/memory.js +2 -2
  422. package/dist/environment/unavailable.js +3 -3
  423. package/dist/event/sql.js +1 -1
  424. package/dist/event-logger.js +76 -76
  425. package/dist/file-access.js +148 -148
  426. package/dist/file-mutation.js +102 -102
  427. package/dist/file-retention.js +1 -1
  428. package/dist/filesystem/fff.bun.js +2 -2
  429. package/dist/filesystem/fff.js +1 -1
  430. package/dist/filesystem/fff.node.js +2 -2
  431. package/dist/filesystem/fff.workerd.js +2 -2
  432. package/dist/filesystem/file-watch.js +83 -83
  433. package/dist/filesystem/location-watcher-policy.js +6 -6
  434. package/dist/filesystem/location-watcher.js +234 -234
  435. package/dist/filesystem/protected.js +3 -3
  436. package/dist/filesystem/search.js +107 -107
  437. package/dist/filesystem/watcher-binding.js +1 -1
  438. package/dist/filesystem/watcher.js +11 -11
  439. package/dist/filesystem.js +110 -110
  440. package/dist/form.js +88 -88
  441. package/dist/formatter/builtins.js +4 -4
  442. package/dist/formatter.js +95 -95
  443. package/dist/generate.js +115 -115
  444. package/dist/git.js +11 -11
  445. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  446. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  447. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  448. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  449. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  450. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  451. package/dist/github-copilot/copilot-provider.js +17 -17
  452. package/dist/github-copilot/models.js +107 -107
  453. package/dist/github-copilot/openai-compatible-error.js +1 -1
  454. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  455. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  456. package/dist/github-copilot/responses/openai-error.js +1 -1
  457. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  458. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  459. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  460. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  461. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  462. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  463. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  464. package/dist/image/photon-normalize.js +1 -1
  465. package/dist/image/photon-worker.js +1 -1
  466. package/dist/image/photon.js +4 -4
  467. package/dist/image.js +6 -6
  468. package/dist/instance/service.js +5 -5
  469. package/dist/instance.js +368 -368
  470. package/dist/instruction-discovery.js +90 -90
  471. package/dist/instructions/builtins.js +95 -95
  472. package/dist/instructions/index.js +3 -3
  473. package/dist/integration/connection.js +3 -3
  474. package/dist/integration.js +95 -95
  475. package/dist/job.js +82 -82
  476. package/dist/kv/sql.js +2 -2
  477. package/dist/kv.js +79 -79
  478. package/dist/location-activity.js +162 -162
  479. package/dist/location-lifecycle.js +142 -142
  480. package/dist/location-service-map.js +94 -94
  481. package/dist/location-services.js +365 -365
  482. package/dist/location.js +97 -97
  483. package/dist/managed-policy.js +3 -3
  484. package/dist/mcp/client.js +99 -99
  485. package/dist/mcp/index.js +111 -111
  486. package/dist/mcp/instructions.js +168 -168
  487. package/dist/mcp/oauth.js +84 -84
  488. package/dist/mcp/socket-client.js +1 -1
  489. package/dist/mcp/stdio.js +98 -98
  490. package/dist/mime.js +1 -1
  491. package/dist/modal/models.js +107 -107
  492. package/dist/model-resolver.js +107 -107
  493. package/dist/model-retry.js +1 -1
  494. package/dist/model.js +108 -108
  495. package/dist/models-dev/v1.js +1 -1
  496. package/dist/models-dev.js +116 -116
  497. package/dist/oauth/page.js +1 -1
  498. package/dist/permission/saved.js +88 -88
  499. package/dist/permission/sql.js +5 -5
  500. package/dist/permission.js +147 -147
  501. package/dist/persistent-pty/binary.bun.js +1 -1
  502. package/dist/persistent-pty/daemon.js +1 -1
  503. package/dist/persistent-pty/index.js +96 -96
  504. package/dist/persistent-pty/pty-binding.js +1 -1
  505. package/dist/persistent-pty.js +81 -81
  506. package/dist/plugin/agent.js +82 -82
  507. package/dist/plugin/command.js +110 -110
  508. package/dist/plugin/hooks.js +5 -5
  509. package/dist/plugin/host.js +225 -225
  510. package/dist/plugin/identity.js +5 -5
  511. package/dist/plugin/instance.js +5 -5
  512. package/dist/plugin/internal.js +338 -338
  513. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  514. package/dist/plugin/models-dev.js +105 -105
  515. package/dist/plugin/module.js +123 -123
  516. package/dist/plugin/optimize.js +2 -2
  517. package/dist/plugin/plan.js +138 -138
  518. package/dist/plugin/promise.js +1 -1
  519. package/dist/plugin/provider/amazon-bedrock.js +98 -98
  520. package/dist/plugin/provider/azure.js +121 -121
  521. package/dist/plugin/provider/cerebras.js +1 -1
  522. package/dist/plugin/provider/chatgpt.js +121 -121
  523. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  524. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  525. package/dist/plugin/provider/configured.js +117 -117
  526. package/dist/plugin/provider/databricks.js +1 -1
  527. package/dist/plugin/provider/digitalocean.js +101 -101
  528. package/dist/plugin/provider/dynamic.js +2 -2
  529. package/dist/plugin/provider/github-copilot.js +103 -103
  530. package/dist/plugin/provider/gitlab.js +101 -101
  531. package/dist/plugin/provider/google-vertex.js +118 -118
  532. package/dist/plugin/provider/kilo.js +1 -1
  533. package/dist/plugin/provider/llmgateway.js +84 -84
  534. package/dist/plugin/provider/lmstudio.js +130 -130
  535. package/dist/plugin/provider/local.js +127 -127
  536. package/dist/plugin/provider/modal.js +100 -100
  537. package/dist/plugin/provider/neon.js +1 -1
  538. package/dist/plugin/provider/nvidia.js +1 -1
  539. package/dist/plugin/provider/ollama.js +130 -130
  540. package/dist/plugin/provider/openai-context-caps.js +98 -98
  541. package/dist/plugin/provider/openai.js +121 -121
  542. package/dist/plugin/provider/opencode.js +124 -124
  543. package/dist/plugin/provider/openrouter.js +99 -99
  544. package/dist/plugin/provider/poe.js +85 -85
  545. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  546. package/dist/plugin/provider/sap-ai-core.js +99 -99
  547. package/dist/plugin/provider/sdk-factory.js +1 -1
  548. package/dist/plugin/provider/snowflake-cortex.js +120 -120
  549. package/dist/plugin/provider/vllm.js +128 -128
  550. package/dist/plugin/provider/xai.js +99 -99
  551. package/dist/plugin/provider/zenmux.js +1 -1
  552. package/dist/plugin/provider.js +171 -171
  553. package/dist/plugin/sdk.js +78 -78
  554. package/dist/plugin/service.js +3 -3
  555. package/dist/plugin/skill.js +141 -141
  556. package/dist/plugin/source-directory.js +1 -1
  557. package/dist/plugin/supervisor.js +355 -355
  558. package/dist/plugin/tool-input-repair.js +4 -4
  559. package/dist/plugin/update.js +2 -2
  560. package/dist/plugin/vcs/git.js +94 -94
  561. package/dist/plugin/vcs/hg.js +94 -94
  562. package/dist/plugin/verbosity.js +101 -101
  563. package/dist/plugin/warming.js +119 -119
  564. package/dist/plugin/websearch/exa.js +7 -7
  565. package/dist/plugin/websearch/firecrawl.js +8 -8
  566. package/dist/plugin/websearch/index.js +9 -9
  567. package/dist/plugin/websearch/mcp.js +4 -4
  568. package/dist/plugin/websearch/parallel.js +8 -8
  569. package/dist/plugin/websearch/tavily.js +4 -4
  570. package/dist/plugin/websearch/tinyfish.js +8 -8
  571. package/dist/plugin.js +232 -232
  572. package/dist/project/icon.js +5 -5
  573. package/dist/project/schema.js +8 -8
  574. package/dist/project/sql.js +4 -4
  575. package/dist/project.js +98 -98
  576. package/dist/provider.js +107 -107
  577. package/dist/pty/protocol.js +1 -1
  578. package/dist/pty/ticket.js +1 -1
  579. package/dist/pty.js +104 -104
  580. package/dist/reference/instructions.js +96 -96
  581. package/dist/reference.js +98 -98
  582. package/dist/repository-cache.js +88 -88
  583. package/dist/repository.js +1 -1
  584. package/dist/ripgrep/binary.js +2 -2
  585. package/dist/ripgrep.js +103 -103
  586. package/dist/rpc.js +94 -94
  587. package/dist/schema.js +1 -1
  588. package/dist/session/affinity.js +1 -1
  589. package/dist/session/blob.js +120 -120
  590. package/dist/session/command.js +80 -80
  591. package/dist/session/compaction.js +164 -164
  592. package/dist/session/context.js +188 -188
  593. package/dist/session/diff.js +96 -96
  594. package/dist/session/environment.js +5 -5
  595. package/dist/session/error.js +5 -5
  596. package/dist/session/event.js +1 -1
  597. package/dist/session/execution/restart.js +227 -227
  598. package/dist/session/execution.js +150 -150
  599. package/dist/session/generate.js +190 -190
  600. package/dist/session/history.js +127 -127
  601. package/dist/session/inbox.js +136 -136
  602. package/dist/session/info.js +3 -3
  603. package/dist/session/instruction-entry.js +83 -83
  604. package/dist/session/instruction-state.js +8 -8
  605. package/dist/session/instructions.js +132 -132
  606. package/dist/session/message-updater.js +2 -2
  607. package/dist/session/message.js +1 -1
  608. package/dist/session/model-request.js +155 -155
  609. package/dist/session/model-transport.js +9 -9
  610. package/dist/session/move.js +156 -156
  611. package/dist/session/projector.js +134 -134
  612. package/dist/session/prompt.js +140 -140
  613. package/dist/session/recent-text.js +1 -1
  614. package/dist/session/revert.js +130 -130
  615. package/dist/session/run-coordinator.js +3 -3
  616. package/dist/session/runner/index.js +3 -3
  617. package/dist/session/runner/llm.js +238 -238
  618. package/dist/session/runner/max-steps.js +1 -1
  619. package/dist/session/runner/model.js +108 -108
  620. package/dist/session/runner/publish-llm-event.js +141 -141
  621. package/dist/session/runner/retry.js +5 -5
  622. package/dist/session/runner/step.js +154 -154
  623. package/dist/session/runner/to-llm-message.js +128 -128
  624. package/dist/session/schema.js +5 -5
  625. package/dist/session/session.js +172 -172
  626. package/dist/session/shell.js +135 -135
  627. package/dist/session/skill.js +139 -139
  628. package/dist/session/sql.js +5 -5
  629. package/dist/session/stats.js +79 -79
  630. package/dist/session/store.js +133 -133
  631. package/dist/session/stored.js +4 -4
  632. package/dist/session/subagent-completion.js +1 -1
  633. package/dist/session/subagent-job.js +219 -219
  634. package/dist/session/system-prompt.js +3 -3
  635. package/dist/session/title.js +192 -192
  636. package/dist/session/to-session-error.js +140 -140
  637. package/dist/session/transfer.js +224 -224
  638. package/dist/session/usage.js +1 -1
  639. package/dist/session.js +225 -225
  640. package/dist/shell/parse.js +6 -6
  641. package/dist/shell/result.js +1 -1
  642. package/dist/shell/scan.js +1 -1
  643. package/dist/shell/select.js +13 -13
  644. package/dist/shell.js +137 -137
  645. package/dist/skill/discovery.js +6 -6
  646. package/dist/skill/instructions.js +143 -143
  647. package/dist/skill.js +148 -148
  648. package/dist/snapshot.js +99 -99
  649. package/dist/state.js +1 -1
  650. package/dist/tool/html-markdown.js +1 -1
  651. package/dist/tool/http-body.js +1 -1
  652. package/dist/tool/mcp.js +163 -163
  653. package/dist/tool/plugin/edit.js +156 -156
  654. package/dist/tool/plugin/file-diff.js +1 -1
  655. package/dist/tool/plugin/glob.js +160 -160
  656. package/dist/tool/plugin/grep.js +158 -158
  657. package/dist/tool/plugin/mcp-resource.js +154 -154
  658. package/dist/tool/plugin/opencode.js +153 -153
  659. package/dist/tool/plugin/patch.js +158 -158
  660. package/dist/tool/plugin/question.js +138 -138
  661. package/dist/tool/plugin/read.js +153 -153
  662. package/dist/tool/plugin/shell.js +222 -222
  663. package/dist/tool/plugin/skill.js +147 -147
  664. package/dist/tool/plugin/subagent.js +226 -226
  665. package/dist/tool/plugin/todo.js +145 -145
  666. package/dist/tool/plugin/webfetch.js +147 -147
  667. package/dist/tool/plugin/websearch.js +145 -145
  668. package/dist/tool/plugin/write.js +150 -150
  669. package/dist/tool/read-filesystem.js +110 -110
  670. package/dist/tool/runtime.js +1 -1
  671. package/dist/tool-output.js +7 -7
  672. package/dist/tool.js +14 -14
  673. package/dist/usage-limits.js +95 -95
  674. package/dist/util/error-summary.js +1 -1
  675. package/dist/util/git-executable.js +3 -3
  676. package/dist/util/lazy.js +1 -1
  677. package/dist/util/slug.js +1 -1
  678. package/dist/util/token.js +1 -1
  679. package/dist/util/which.js +1 -1
  680. package/dist/util/wildcard.js +1 -1
  681. package/dist/v1/config/agent.js +5 -5
  682. package/dist/v1/config/command.js +3 -3
  683. package/dist/v1/config/mcp.js +4 -4
  684. package/dist/v1/config/migrate.js +100 -100
  685. package/dist/v1/config/permission.js +3 -3
  686. package/dist/v1/config/plugin.js +1 -1
  687. package/dist/v1/config/provider-options.js +1 -1
  688. package/dist/v1/config/provider.js +4 -4
  689. package/dist/variant.js +101 -101
  690. package/dist/vcs/patch.js +1 -1
  691. package/dist/vcs.js +97 -97
  692. package/dist/voice.js +94 -94
  693. package/dist/websearch.js +90 -90
  694. package/dist/wellknown/plugin.js +82 -82
  695. package/dist/wellknown.js +85 -85
  696. package/dist/workspace/driver.js +5 -5
  697. package/dist/workspace/sql.js +1 -1
  698. package/dist/workspace.js +88 -88
  699. package/dist/worktree/directory.js +2 -2
  700. package/dist/worktree/git.js +11 -11
  701. package/dist/worktree/sql.js +5 -5
  702. package/dist/worktree/strategies.js +97 -97
  703. package/dist/worktree.js +106 -106
  704. package/package.json +8 -8
  705. package/dist/chunks/location-n6xt4x7c.js +0 -257
  706. package/dist/chunks/location-v4j91q1y.js +0 -26
  707. package/dist/chunks/location-xgsg3c9w.js +0 -18
  708. /package/dist/chunks/{location-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
  709. /package/dist/chunks/{location-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
  710. /package/dist/chunks/{location-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
  711. /package/dist/chunks/{location-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
  712. /package/dist/chunks/{location-1jakw16s.js → formatter-1jakw16s.js} +0 -0
  713. /package/dist/chunks/{location-24dcb14g.js → formatter-24dcb14g.js} +0 -0
  714. /package/dist/chunks/{location-2710q6r3.js → formatter-2710q6r3.js} +0 -0
  715. /package/dist/chunks/{location-2bv980vf.js → formatter-2bv980vf.js} +0 -0
  716. /package/dist/chunks/{location-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
  717. /package/dist/chunks/{location-359p4xyc.js → formatter-359p4xyc.js} +0 -0
  718. /package/dist/chunks/{location-3asan66x.js → formatter-3asan66x.js} +0 -0
  719. /package/dist/chunks/{location-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
  720. /package/dist/chunks/{location-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
  721. /package/dist/chunks/{location-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
  722. /package/dist/chunks/{location-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
  723. /package/dist/chunks/{location-4m86bj6y.js → formatter-4m86bj6y.js} +0 -0
  724. /package/dist/chunks/{location-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
  725. /package/dist/chunks/{location-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
  726. /package/dist/chunks/{location-53557ph1.js → formatter-53557ph1.js} +0 -0
  727. /package/dist/chunks/{location-550bvhaj.js → formatter-550bvhaj.js} +0 -0
  728. /package/dist/chunks/{location-5w3e23ze.js → formatter-5w3e23ze.js} +0 -0
  729. /package/dist/chunks/{location-6prwharc.js → formatter-6prwharc.js} +0 -0
  730. /package/dist/chunks/{location-6q2bdcd1.js → formatter-6q2bdcd1.js} +0 -0
  731. /package/dist/chunks/{location-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
  732. /package/dist/chunks/{location-7m9af43g.js → formatter-7m9af43g.js} +0 -0
  733. /package/dist/chunks/{location-822emrt2.js → formatter-822emrt2.js} +0 -0
  734. /package/dist/chunks/{location-84wd9syh.js → formatter-84wd9syh.js} +0 -0
  735. /package/dist/chunks/{location-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
  736. /package/dist/chunks/{location-8n3pysct.js → formatter-8n3pysct.js} +0 -0
  737. /package/dist/chunks/{location-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
  738. /package/dist/chunks/{location-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
  739. /package/dist/chunks/{location-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
  740. /package/dist/chunks/{location-a058387c.js → formatter-a058387c.js} +0 -0
  741. /package/dist/chunks/{location-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
  742. /package/dist/chunks/{location-af5trqkr.js → formatter-af5trqkr.js} +0 -0
  743. /package/dist/chunks/{location-afrmfg78.js → formatter-afrmfg78.js} +0 -0
  744. /package/dist/chunks/{location-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
  745. /package/dist/chunks/{location-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
  746. /package/dist/chunks/{location-beh6qq61.js → formatter-beh6qq61.js} +0 -0
  747. /package/dist/chunks/{location-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
  748. /package/dist/chunks/{location-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
  749. /package/dist/chunks/{location-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
  750. /package/dist/chunks/{location-cqv5kn06.js → formatter-cqv5kn06.js} +0 -0
  751. /package/dist/chunks/{location-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
  752. /package/dist/chunks/{location-d9fn303g.js → formatter-d9fn303g.js} +0 -0
  753. /package/dist/chunks/{location-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
  754. /package/dist/chunks/{location-dajrwvna.js → formatter-dajrwvna.js} +0 -0
  755. /package/dist/chunks/{location-dap0rakb.js → formatter-dap0rakb.js} +0 -0
  756. /package/dist/chunks/{location-df08tz66.js → formatter-df08tz66.js} +0 -0
  757. /package/dist/chunks/{location-dy18nga0.js → formatter-dy18nga0.js} +0 -0
  758. /package/dist/chunks/{location-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
  759. /package/dist/chunks/{location-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
  760. /package/dist/chunks/{location-ec1grn59.js → formatter-ec1grn59.js} +0 -0
  761. /package/dist/chunks/{location-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
  762. /package/dist/chunks/{location-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
  763. /package/dist/chunks/{location-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
  764. /package/dist/chunks/{location-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
  765. /package/dist/chunks/{location-faypxj3z.js → formatter-faypxj3z.js} +0 -0
  766. /package/dist/chunks/{location-fd410y7t.js → formatter-fd410y7t.js} +0 -0
  767. /package/dist/chunks/{location-fkpq3x5p.js → formatter-fkpq3x5p.js} +0 -0
  768. /package/dist/chunks/{location-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
  769. /package/dist/chunks/{location-g86h250q.js → formatter-g86h250q.js} +0 -0
  770. /package/dist/chunks/{location-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
  771. /package/dist/chunks/{location-gftt206x.js → formatter-gftt206x.js} +0 -0
  772. /package/dist/chunks/{location-hcxmzztb.js → formatter-hcxmzztb.js} +0 -0
  773. /package/dist/chunks/{location-hk9envan.js → formatter-hk9envan.js} +0 -0
  774. /package/dist/chunks/{location-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
  775. /package/dist/chunks/{location-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
  776. /package/dist/chunks/{location-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
  777. /package/dist/chunks/{location-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
  778. /package/dist/chunks/{location-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
  779. /package/dist/chunks/{location-jwr30sdr.js → formatter-jwr30sdr.js} +0 -0
  780. /package/dist/chunks/{location-jze0r7bz.js → formatter-jze0r7bz.js} +0 -0
  781. /package/dist/chunks/{location-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
  782. /package/dist/chunks/{location-m18g726c.js → formatter-m18g726c.js} +0 -0
  783. /package/dist/chunks/{location-mp448xyj.js → formatter-mp448xyj.js} +0 -0
  784. /package/dist/chunks/{location-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
  785. /package/dist/chunks/{location-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
  786. /package/dist/chunks/{location-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
  787. /package/dist/chunks/{location-ncqqe42p.js → formatter-ncqqe42p.js} +0 -0
  788. /package/dist/chunks/{location-njntx4h6.js → formatter-njntx4h6.js} +0 -0
  789. /package/dist/chunks/{location-p71gwv9c.js → formatter-p71gwv9c.js} +0 -0
  790. /package/dist/chunks/{location-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
  791. /package/dist/chunks/{location-q74kybfr.js → formatter-q74kybfr.js} +0 -0
  792. /package/dist/chunks/{location-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
  793. /package/dist/chunks/{location-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
  794. /package/dist/chunks/{location-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
  795. /package/dist/chunks/{location-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
  796. /package/dist/chunks/{location-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
  797. /package/dist/chunks/{location-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
  798. /package/dist/chunks/{location-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
  799. /package/dist/chunks/{location-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
  800. /package/dist/chunks/{location-ve7vex1e.js → formatter-ve7vex1e.js} +0 -0
  801. /package/dist/chunks/{location-w803qqfp.js → formatter-w803qqfp.js} +0 -0
  802. /package/dist/chunks/{location-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
  803. /package/dist/chunks/{location-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
  804. /package/dist/chunks/{location-wtztk69x.js → formatter-wtztk69x.js} +0 -0
  805. /package/dist/chunks/{location-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
  806. /package/dist/chunks/{location-x61499pn.js → formatter-x61499pn.js} +0 -0
  807. /package/dist/chunks/{location-y44na4kk.js → formatter-y44na4kk.js} +0 -0
  808. /package/dist/chunks/{location-y8f7s663.js → formatter-y8f7s663.js} +0 -0
  809. /package/dist/chunks/{location-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
  810. /package/dist/chunks/{location-z5v4ffb3.js → formatter-z5v4ffb3.js} +0 -0
  811. /package/dist/chunks/{location-z9919s4g.js → formatter-z9919s4g.js} +0 -0
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-hm02wpk1.js";
4
+ } from "./formatter-na9deryv.js";
5
5
  import {
6
6
  __export
7
- } from "./location-9rqn6x4v.js";
7
+ } from "./formatter-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,31 +12,31 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event20,
15
+ Event: () => Event17,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID18,
20
- Info: () => Info30,
19
+ ID: () => ID14,
20
+ Info: () => Info25,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError12,
23
+ NotFoundError: () => NotFoundError10,
24
24
  Reply: () => Reply3,
25
- Service: () => Service84,
25
+ Service: () => Service78,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
28
  layer: () => layer27,
29
- node: () => node88,
29
+ node: () => node82,
30
30
  validateAnswer: () => validateAnswer2,
31
31
  validateFields: () => validateFields2
32
32
  });
33
33
  import { Form } from "@opencode/schema/form";
34
34
  import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
- import { Event as Event20 } from "@opencode/schema/form";
36
+ import { Event as Event17 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID18 = Form.ID;
39
- var Info30 = Form.Info;
38
+ var ID14 = Form.ID;
39
+ var Info25 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
@@ -44,8 +44,8 @@ var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
45
  var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID18
47
+ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
48
+ id: ID14
49
49
  }) {
50
50
  get message() {
51
51
  return `Form not found: ${this.id}`;
@@ -53,7 +53,7 @@ class NotFoundError12 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID18
56
+ id: ID14
57
57
  }) {
58
58
  get message() {
59
59
  return `Form already settled: ${this.id}`;
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
61
61
  }
62
62
 
63
63
  class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
64
- id: ID18
64
+ id: ID14
65
65
  }) {
66
66
  get message() {
67
67
  return `Form already exists: ${this.id}`;
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
69
69
  }
70
70
 
71
71
  class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
72
- id: ID18,
72
+ id: ID14,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service84 extends Context.Service()("@opencode/Form") {
82
+ class Service78 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer27 = Layer.effect(Service84, Effect.gen(function* () {
84
+ var layer27 = Layer.effect(Service78, Effect.gen(function* () {
85
85
  const bus = yield* Service85;
86
86
  let closed = false;
87
87
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
88
88
  capacity: Number.MAX_SAFE_INTEGER,
89
89
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
90
90
  });
91
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError12({ id })))));
91
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError10({ id })))));
92
92
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
93
- const id = input.id ?? ID18.create();
93
+ const id = input.id ?? ID14.create();
94
94
  const existing = yield* Cache.getSuccess(forms, id);
95
95
  if (Option.isSome(existing))
96
96
  return yield* new AlreadyExistsError2({ id });
@@ -162,9 +162,9 @@ var layer27 = Layer.effect(Service84, Effect.gen(function* () {
162
162
  closed = true;
163
163
  }).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
164
164
  yield* Effect.addFinalizer(() => close);
165
- return Service84.of({ create, ask, get, list, state, reply, cancel, close });
165
+ return Service78.of({ create, ask, get, list, state, reply, cancel, close });
166
166
  }));
167
- var node88 = makeLocationNode({ service: Service84, layer: layer27, deps: [node89] });
167
+ var node82 = makeLocationNode({ service: Service78, layer: layer27, deps: [node89] });
168
168
  function validateAnswer2(form, answer) {
169
169
  const fields = new Map(form.map((field) => [field.key, field]));
170
170
  for (const key of Object.keys(answer)) {
@@ -316,4 +316,4 @@ function isDateTime(value) {
316
316
  return !Number.isNaN(new Date(value).getTime());
317
317
  }
318
318
 
319
- export { ID18, Info30, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError12, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service84, layer27, node88, validateAnswer2, validateFields2, exports_form, Event20 };
319
+ export { ID14, Info25, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError10, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service78, layer27, node82, validateAnswer2, validateFields2, exports_form, Event17 };
@@ -0,0 +1,257 @@
1
+ import {
2
+ node57
3
+ } from "./formatter-p4yppz28.js";
4
+ import {
5
+ node82
6
+ } from "./formatter-a52hhzb9.js";
7
+ import {
8
+ node81
9
+ } from "./formatter-knjx9f3g.js";
10
+ import {
11
+ node86,
12
+ boundNode2
13
+ } from "./formatter-njz5cw42.js";
14
+ import {
15
+ node80
16
+ } from "./formatter-wmaqz1y8.js";
17
+ import {
18
+ node70
19
+ } from "./formatter-1628er8f.js";
20
+ import {
21
+ node79
22
+ } from "./formatter-tee81xg3.js";
23
+ import {
24
+ node48
25
+ } from "./formatter-aprzax25.js";
26
+ import {
27
+ configured7,
28
+ node61
29
+ } from "./formatter-28hr9nbt.js";
30
+ import {
31
+ node75
32
+ } from "./formatter-0gb5rjdd.js";
33
+ import {
34
+ node20
35
+ } from "./formatter-4pev1txy.js";
36
+ import {
37
+ node71
38
+ } from "./formatter-0fgefsmm.js";
39
+ import {
40
+ node73
41
+ } from "./formatter-gy6xyr2j.js";
42
+ import {
43
+ DirectoryNotFoundError2,
44
+ node72
45
+ } from "./formatter-4dn49050.js";
46
+ import {
47
+ node51
48
+ } from "./formatter-pqf7d7qx.js";
49
+ import {
50
+ node24
51
+ } from "./formatter-7jhpt6w3.js";
52
+ import {
53
+ node23
54
+ } from "./formatter-k9dfpmz2.js";
55
+ import {
56
+ node78
57
+ } from "./formatter-d0d9kmtc.js";
58
+ import {
59
+ node55
60
+ } from "./formatter-p1njj0by.js";
61
+ import {
62
+ node37
63
+ } from "./formatter-gzq9abr2.js";
64
+ import {
65
+ Service41,
66
+ node44
67
+ } from "./formatter-8zkf5cgt.js";
68
+ import {
69
+ node64
70
+ } from "./formatter-me7kxg3j.js";
71
+ import {
72
+ node45
73
+ } from "./formatter-g8jkqxma.js";
74
+ import {
75
+ node43
76
+ } from "./formatter-wkhea23b.js";
77
+ import {
78
+ configured5,
79
+ node52
80
+ } from "./formatter-q0zr1qvh.js";
81
+ import {
82
+ node30
83
+ } from "./formatter-zxf918eb.js";
84
+ import {
85
+ node54
86
+ } from "./formatter-52eavcth.js";
87
+ import {
88
+ node60
89
+ } from "./formatter-fng6wk28.js";
90
+ import {
91
+ node36
92
+ } from "./formatter-tted8b2w.js";
93
+ import {
94
+ node35
95
+ } from "./formatter-q28pv36z.js";
96
+ import {
97
+ node65
98
+ } from "./formatter-vh9ps45p.js";
99
+ import {
100
+ node38
101
+ } from "./formatter-f46kh10v.js";
102
+ import {
103
+ node40
104
+ } from "./formatter-7a92ptrh.js";
105
+ import {
106
+ node29
107
+ } from "./formatter-24jfnbzz.js";
108
+ import {
109
+ node28
110
+ } from "./formatter-dqkdjpwm.js";
111
+ import {
112
+ node53
113
+ } from "./formatter-w4psgs9e.js";
114
+ import {
115
+ node85
116
+ } from "./formatter-43d5xc6d.js";
117
+ import {
118
+ node58
119
+ } from "./formatter-txvbkf9b.js";
120
+ import {
121
+ node66
122
+ } from "./formatter-6rr0vdf1.js";
123
+ import {
124
+ node67
125
+ } from "./formatter-w670rhyr.js";
126
+ import {
127
+ node17
128
+ } from "./formatter-nk8ph50s.js";
129
+ import {
130
+ node22
131
+ } from "./formatter-t2ad8a1g.js";
132
+ import {
133
+ node15
134
+ } from "./formatter-hmr6cy4x.js";
135
+ import {
136
+ node13
137
+ } from "./formatter-kykpneqp.js";
138
+ import {
139
+ Service16,
140
+ node19
141
+ } from "./formatter-q4fqeak2.js";
142
+ import {
143
+ node18
144
+ } from "./formatter-7m2ptj4e.js";
145
+ import {
146
+ node7,
147
+ bound2
148
+ } from "./formatter-aedwt843.js";
149
+ import {
150
+ node9
151
+ } from "./formatter-vfp0pkkd.js";
152
+ import {
153
+ node12
154
+ } from "./formatter-932fxf16.js";
155
+ import {
156
+ node2
157
+ } from "./formatter-t6gnwazt.js";
158
+ import {
159
+ node84
160
+ } from "./formatter-cfa85z7t.js";
161
+ import {
162
+ node10
163
+ } from "./formatter-qkkhqeq2.js";
164
+ import {
165
+ node8
166
+ } from "./formatter-408rv1ek.js";
167
+ import {
168
+ __export
169
+ } from "./formatter-9rqn6x4v.js";
170
+
171
+ // src/instance.ts
172
+ var exports_instance = {};
173
+ __export(exports_instance, {
174
+ Instance: () => exports_instance,
175
+ Service: () => Service41,
176
+ graph: () => graph2,
177
+ layer: () => layer2,
178
+ node: () => node44
179
+ });
180
+ import { Context, Effect, Layer } from "effect";
181
+ import { LayerNode } from "@opencode/util/effect/layer-node";
182
+ import { Node } from "@opencode/util/effect/app-node";
183
+ var nodes = [
184
+ node86,
185
+ node19,
186
+ node75,
187
+ node61,
188
+ node57,
189
+ node48,
190
+ node65,
191
+ node66,
192
+ node17,
193
+ node81,
194
+ node80,
195
+ node79,
196
+ node51,
197
+ node70,
198
+ node15,
199
+ node64,
200
+ node7,
201
+ node2,
202
+ node22,
203
+ node73,
204
+ node72,
205
+ node85,
206
+ node84,
207
+ node58,
208
+ node40,
209
+ node30,
210
+ node52,
211
+ node18,
212
+ node20,
213
+ node71,
214
+ node37,
215
+ node45,
216
+ node54,
217
+ node60,
218
+ node55,
219
+ node29,
220
+ node38,
221
+ node82,
222
+ node24,
223
+ node23,
224
+ node78,
225
+ node36,
226
+ node35,
227
+ node12,
228
+ node43,
229
+ node9,
230
+ node10,
231
+ node28,
232
+ node53,
233
+ node8,
234
+ node67,
235
+ node13
236
+ ];
237
+ var graph2 = LayerNode.group(nodes);
238
+ var vanillaReplacements = [
239
+ node61.replace(configured7({ project: false, global: false })),
240
+ node52.replace(configured5({ project: false, global: false }))
241
+ ];
242
+ function layer2(ref, options = {}) {
243
+ const startedAt = performance.now();
244
+ const replacements = [
245
+ ...options.discovery === false ? vanillaReplacements : [],
246
+ ...options.replacements ?? [],
247
+ node86.replace(boundNode2(ref)),
248
+ node7.replace(bound2(options.plugins ?? []))
249
+ ];
250
+ return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service16).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
251
+ directory: ref.directory,
252
+ workspaceID: ref.workspaceID,
253
+ durationMs: Math.round(performance.now() - startedAt)
254
+ })));
255
+ }
256
+
257
+ export { graph2, layer2, exports_instance };
@@ -1,22 +1,22 @@
1
1
  import {
2
2
  __export
3
- } from "./location-9rqn6x4v.js";
3
+ } from "./formatter-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: () => Service5,
9
+ Service: () => Service6,
10
10
  bound: () => bound2,
11
- node: () => node6
11
+ node: () => node7
12
12
  });
13
13
  import { Context, Layer } from "effect";
14
14
  import { makeLocationNode } from "@opencode/util/effect/app-node";
15
15
 
16
- class Service5 extends Context.Service()("@opencode/InstancePlugins") {
16
+ class Service6 extends Context.Service()("@opencode/InstancePlugins") {
17
17
  }
18
- var node6 = makeLocationNode({
19
- service: Service5,
18
+ var node7 = makeLocationNode({
19
+ service: Service6,
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(Service5, Service5.of({ all: () => stamped }));
29
+ return Layer.succeed(Service6, Service6.of({ all: () => stamped }));
30
30
  }
31
31
 
32
- export { Service5, node6, bound2, exports_instance2 };
32
+ export { Service6, node7, bound2, exports_instance2 };
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  resolveModel2
3
- } from "./location-17cjzed1.js";
3
+ } from "./formatter-e2ne77ac.js";
4
4
  import {
5
5
  __export
6
- } from "./location-9rqn6x4v.js";
6
+ } from "./formatter-9rqn6x4v.js";
7
7
 
8
8
  // src/plugin/identity.ts
9
9
  var exports_identity = {};
10
10
  __export(exports_identity, {
11
11
  IdentityPlugin: () => exports_identity,
12
- Plugin: () => Plugin12,
12
+ Plugin: () => Plugin27,
13
13
  identity: () => identity2
14
14
  });
15
15
  import { SystemPart } from "@opencode/ai/effect";
@@ -24,7 +24,7 @@ function identity2(model) {
24
24
  ].join(`
25
25
  `);
26
26
  }
27
- var Plugin12 = define({
27
+ var Plugin27 = define({
28
28
  id: "opencode.prompt.identity",
29
29
  effect: Effect.fn("IdentityPlugin")(function* (ctx) {
30
30
  const hook = (event) => Effect.gen(function* () {
@@ -37,4 +37,4 @@ var Plugin12 = define({
37
37
  })
38
38
  });
39
39
 
40
- export { identity2, Plugin12, exports_identity };
40
+ export { identity2, Plugin27, exports_identity };
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service85,
3
3
  node89
4
- } from "./location-hm02wpk1.js";
4
+ } from "./formatter-na9deryv.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./location-204s3925.js";
8
+ } from "./formatter-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./location-9rqn6x4v.js";
11
+ } from "./formatter-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
14
  var exports_command4 = {};
15
15
  __export(exports_command4, {
16
16
  Command: () => exports_command4,
17
- Event: () => Event4,
17
+ Event: () => Event8,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info7,
20
- NotFoundError: () => NotFoundError4,
21
- Service: () => Service35,
22
- layer: () => layer17,
23
- node: () => node38
19
+ Info: () => Info9,
20
+ NotFoundError: () => NotFoundError6,
21
+ Service: () => Service45,
22
+ layer: () => layer20,
23
+ node: () => node48
24
24
  });
25
25
  import { Command } from "@opencode/schema/command";
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
27
27
  import { Context, Effect, Layer, Schema } from "effect";
28
- import { Event as Event4 } from "@opencode/schema/command";
29
- var Info7 = Command.Info;
28
+ import { Event as Event8 } from "@opencode/schema/command";
29
+ var Info9 = Command.Info;
30
30
 
31
- class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
32
32
  command: Schema.String,
33
33
  message: Schema.String
34
34
  }) {
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
40
40
  }) {
41
41
  }
42
42
 
43
- class Service35 extends Context.Service()("@opencode/Command") {
43
+ class Service45 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer17 = Layer.effect(Service35, Effect.gen(function* () {
45
+ var layer20 = Layer.effect(Service45, Effect.gen(function* () {
46
46
  const bus = yield* Service85;
47
- const info = (definition) => Info7.make({
47
+ const info = (definition) => Info9.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer17 = Layer.effect(Service35, Effect.gen(function* () {
56
56
  }),
57
57
  notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
58
58
  });
59
- return Service35.of({
59
+ return Service45.of({
60
60
  reload: state.reload,
61
61
  transform: state.transform,
62
62
  get: Effect.fn("Command.get")((name) => Effect.sync(() => {
@@ -67,14 +67,14 @@ var layer17 = Layer.effect(Service35, Effect.gen(function* () {
67
67
  execute: Effect.fn("Command.execute")(function* (input) {
68
68
  const definition = state.get().get(input.name);
69
69
  if (!definition)
70
- return yield* new NotFoundError4({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
71
71
  return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
72
72
  })
73
73
  });
74
74
  }));
75
- var node38 = makeLocationNode({
76
- service: Service35,
77
- layer: layer17,
75
+ var node48 = makeLocationNode({
76
+ service: Service45,
77
+ layer: layer20,
78
78
  deps: [node89]
79
79
  });
80
80
  function errorMessage(error) {
@@ -87,4 +87,4 @@ function errorMessage(error) {
87
87
  return "Command execution failed";
88
88
  }
89
89
 
90
- export { Info7, NotFoundError4, ExecutionError2, Service35, layer17, node38, exports_command4, Event4 };
90
+ export { Info9, NotFoundError6, ExecutionError2, Service45, layer20, node48, exports_command4, Event8 };