@opencode/core 0.0.0-dev-19498 → 0.0.0-dev-19501

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 (779) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +80 -80
  3. package/dist/aisdk-native.js +2 -2
  4. package/dist/aisdk.js +6 -6
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +74 -74
  7. package/dist/catalog.js +82 -82
  8. package/dist/chunks/{repository-02dtbf74.js → job-05znt9a9.js} +16 -16
  9. package/dist/chunks/{repository-ebmt16rb.js → job-09wpk6vq.js} +4 -4
  10. package/dist/chunks/{repository-0ajdgxne.js → job-0ajdgxne.js} +2 -2
  11. package/dist/chunks/{repository-0j1x6d8f.js → job-0b3ppf0m.js} +8 -8
  12. package/dist/chunks/{repository-2k8khapm.js → job-0jwsre1p.js} +5 -5
  13. package/dist/chunks/{repository-0paq2nw3.js → job-0paq2nw3.js} +1 -1
  14. package/dist/chunks/{repository-0q0f95c6.js → job-0q0f95c6.js} +1 -1
  15. package/dist/chunks/{repository-t8028kwh.js → job-0rkcyjmh.js} +15 -15
  16. package/dist/chunks/{repository-f2n192rq.js → job-1acjjqhc.js} +4 -4
  17. package/dist/chunks/{repository-1dazxqgg.js → job-1dazxqgg.js} +2 -2
  18. package/dist/chunks/{repository-sscy94be.js → job-1fjxzwkh.js} +27 -27
  19. package/dist/chunks/{repository-mfqp6xfm.js → job-1ygqh575.js} +6 -6
  20. package/dist/chunks/{repository-21r38tys.js → job-21r38tys.js} +1 -1
  21. package/dist/chunks/{repository-x7b60kqc.js → job-223d1qz3.js} +30 -30
  22. package/dist/chunks/{repository-ddnawyq4.js → job-26x13ny0.js} +11 -11
  23. package/dist/chunks/{repository-2a5m3afh.js → job-2a5m3afh.js} +1 -1
  24. package/dist/chunks/job-2d79k4yp.js +247 -0
  25. package/dist/chunks/{repository-fyymr9xg.js → job-2evyaa68.js} +4 -4
  26. package/dist/chunks/{repository-15p57gcn.js → job-2hbyh6nn.js} +15 -15
  27. package/dist/chunks/{repository-e99x5n85.js → job-2j14t725.js} +25 -25
  28. package/dist/chunks/{repository-xengr0xg.js → job-2jf2j74m.js} +10 -10
  29. package/dist/chunks/{repository-w19q6fm0.js → job-2vtsxqdn.js} +2 -2
  30. package/dist/chunks/{repository-rrbca1ec.js → job-2wyjv582.js} +4 -4
  31. package/dist/chunks/{repository-axet0v9v.js → job-2ye9hrzq.js} +14 -14
  32. package/dist/chunks/{repository-s9sks4b0.js → job-2yhcctmw.js} +17 -17
  33. package/dist/chunks/{repository-csbyz877.js → job-377tdzm5.js} +3 -3
  34. package/dist/chunks/{repository-z69pw8hh.js → job-39s00pmn.js} +22 -22
  35. package/dist/chunks/{repository-fv119r3h.js → job-39s66enp.js} +13 -13
  36. package/dist/chunks/{repository-3fc6dm20.js → job-3fc6dm20.js} +1 -1
  37. package/dist/chunks/{repository-3hepkmqq.js → job-3hepkmqq.js} +1 -1
  38. package/dist/chunks/{repository-3smtnn6g.js → job-3smtnn6g.js} +1 -1
  39. package/dist/chunks/{repository-3tvqynh2.js → job-3tvqynh2.js} +1 -1
  40. package/dist/chunks/{repository-ht4gsq17.js → job-42c662mh.js} +9 -9
  41. package/dist/chunks/job-45th5jwr.js +18 -0
  42. package/dist/chunks/{repository-760k6j29.js → job-470v6bvq.js} +26 -26
  43. package/dist/chunks/{repository-gv99rv2p.js → job-483bcsj8.js} +9 -9
  44. package/dist/chunks/{repository-9cqrggry.js → job-4dmhzvqh.js} +22 -22
  45. package/dist/chunks/{repository-31v32fqb.js → job-4hc1kxpa.js} +10 -10
  46. package/dist/chunks/{repository-9hxsd346.js → job-4jegdd7h.js} +11 -11
  47. package/dist/chunks/{repository-6db80x29.js → job-4v6fnmv6.js} +11 -11
  48. package/dist/chunks/{repository-wt6nz37q.js → job-4vda8ndh.js} +46 -46
  49. package/dist/chunks/{repository-jcxv3m6c.js → job-4w1yen7k.js} +45 -45
  50. package/dist/chunks/{repository-79ttbg46.js → job-4yqpz7cw.js} +20 -20
  51. package/dist/chunks/{repository-1v08kvga.js → job-4z62xtfw.js} +25 -25
  52. package/dist/chunks/{repository-4hwjbp3f.js → job-50bdtw13.js} +5 -5
  53. package/dist/chunks/{repository-2q4wgzbd.js → job-53d4v5pk.js} +1 -1
  54. package/dist/chunks/{repository-1fvpfgwa.js → job-53f31axm.js} +27 -27
  55. package/dist/chunks/{repository-z4h1g45j.js → job-57spzpgt.js} +23 -23
  56. package/dist/chunks/{repository-5c4hm403.js → job-5c4hm403.js} +3 -3
  57. package/dist/chunks/{repository-chwwb1dy.js → job-5cyrhyve.js} +9 -9
  58. package/dist/chunks/{repository-5daktx2q.js → job-5daktx2q.js} +1 -1
  59. package/dist/chunks/{repository-qrjvp9c2.js → job-5fesm737.js} +171 -171
  60. package/dist/chunks/{repository-5t3nmthw.js → job-5t3nmthw.js} +2 -2
  61. package/dist/chunks/{repository-6tfgbeb6.js → job-61k5jphj.js} +18 -18
  62. package/dist/chunks/{repository-6cstdyv9.js → job-61mnds12.js} +5 -5
  63. package/dist/chunks/{repository-tt9rf8rt.js → job-62kn995j.js} +13 -13
  64. package/dist/chunks/{repository-669tq793.js → job-669tq793.js} +1 -1
  65. package/dist/chunks/{repository-h73hfk1n.js → job-6dpf0sr6.js} +11 -11
  66. package/dist/chunks/{repository-6h73sxmp.js → job-6h73sxmp.js} +1 -1
  67. package/dist/chunks/{repository-bsns4k6q.js → job-6ksr27c4.js} +15 -15
  68. package/dist/chunks/{repository-epq63s4f.js → job-6m8cgtnn.js} +57 -57
  69. package/dist/chunks/{repository-6msgmcgs.js → job-6msgmcgs.js} +1 -1
  70. package/dist/chunks/{repository-8e3avz02.js → job-6z4emzs5.js} +41 -41
  71. package/dist/chunks/{repository-71q4at8m.js → job-71q4at8m.js} +1 -1
  72. package/dist/chunks/{repository-1bbkgx8g.js → job-73tb2d7t.js} +3 -3
  73. package/dist/chunks/{repository-gsqrher5.js → job-77ry477k.js} +30 -30
  74. package/dist/chunks/{repository-7bmhse3q.js → job-7bmhse3q.js} +1 -1
  75. package/dist/chunks/{repository-ej495afh.js → job-7msm4rwz.js} +16 -16
  76. package/dist/chunks/{repository-mv74xwze.js → job-7w0m1cr7.js} +11 -11
  77. package/dist/chunks/{repository-c1495ybz.js → job-818pfwc9.js} +8 -8
  78. package/dist/chunks/{repository-5zxg5yys.js → job-81swgkk7.js} +9 -9
  79. package/dist/chunks/{repository-cmwkp3r5.js → job-844ef7ks.js} +4 -4
  80. package/dist/chunks/{repository-z8jqfd5s.js → job-85wb28z4.js} +4 -4
  81. package/dist/chunks/{repository-1sjjhtq8.js → job-89wjbkgr.js} +29 -29
  82. package/dist/chunks/{repository-9nv865s7.js → job-89yh578v.js} +9 -9
  83. package/dist/chunks/{repository-89znhe33.js → job-89znhe33.js} +1 -1
  84. package/dist/chunks/{repository-ps8cmt9z.js → job-8awsthtr.js} +5 -5
  85. package/dist/chunks/{repository-35cpeqze.js → job-8ctqdr62.js} +23 -23
  86. package/dist/chunks/{repository-8d7r5vzw.js → job-8d7r5vzw.js} +1 -1
  87. package/dist/chunks/{repository-9edcvf27.js → job-8pccszvy.js} +3 -3
  88. package/dist/chunks/{repository-rf224sys.js → job-8tq8zswb.js} +30 -30
  89. package/dist/chunks/{repository-kp844bkx.js → job-8xr8aj9a.js} +9 -9
  90. package/dist/chunks/{repository-7da7ws9f.js → job-990ev2kv.js} +1 -1
  91. package/dist/chunks/{repository-v41m4hv8.js → job-9edb9jbp.js} +22 -22
  92. package/dist/chunks/{repository-1rc1q9w7.js → job-9f8x733p.js} +11 -11
  93. package/dist/chunks/{repository-v6rf84qt.js → job-9mrxmr8h.js} +18 -18
  94. package/dist/chunks/{repository-twyqrbez.js → job-9rw2238w.js} +26 -26
  95. package/dist/chunks/{repository-mpxnmgtm.js → job-9ywjwkc3.js} +41 -41
  96. package/dist/chunks/{repository-vcgkk9hq.js → job-a28srp6z.js} +20 -20
  97. package/dist/chunks/{repository-cgv98gz4.js → job-a80mwyht.js} +19 -19
  98. package/dist/chunks/{repository-se1g6v53.js → job-a880hm1k.js} +85 -85
  99. package/dist/chunks/{repository-q56g9vvj.js → job-a8hcp5ng.js} +16 -16
  100. package/dist/chunks/{repository-aaet6srn.js → job-aaet6srn.js} +2 -2
  101. package/dist/chunks/{repository-96n8jbhm.js → job-af0peg3t.js} +21 -21
  102. package/dist/chunks/{repository-asnar2z5.js → job-agy1jr6g.js} +26 -26
  103. package/dist/chunks/{repository-ejjk7mg9.js → job-ajchncqw.js} +8 -8
  104. package/dist/chunks/{repository-ypt0emkc.js → job-arjbbgf8.js} +6 -6
  105. package/dist/chunks/{repository-02nrjc1r.js → job-athype10.js} +4 -4
  106. package/dist/chunks/{repository-bjpwrgw7.js → job-b5hzpkv8.js} +25 -25
  107. package/dist/chunks/{repository-b6gygkdw.js → job-b6gygkdw.js} +2 -2
  108. package/dist/chunks/{repository-zw4pk1bw.js → job-b7v4cx43.js} +5 -5
  109. package/dist/chunks/{repository-dx870anp.js → job-bbqjtvjt.js} +90 -90
  110. package/dist/chunks/{repository-wge1ywg1.js → job-bcxexh6n.js} +22 -22
  111. package/dist/chunks/{repository-2qm2t37x.js → job-bra6p34v.js} +32 -32
  112. package/dist/chunks/{repository-fjvydvzm.js → job-bscb95cy.js} +4 -4
  113. package/dist/chunks/{repository-f8qzdw9k.js → job-bxw8ngxp.js} +5 -5
  114. package/dist/chunks/{repository-dz921fs9.js → job-byn59v6m.js} +1 -1
  115. package/dist/chunks/{repository-pead7vf7.js → job-c649dwfa.js} +22 -22
  116. package/dist/chunks/{repository-zcy8rv0e.js → job-cfx5nnhv.js} +18 -18
  117. package/dist/chunks/{repository-czhxebx3.js → job-ckw6gep2.js} +17 -17
  118. package/dist/chunks/{repository-9rqcq6mt.js → job-d16qd7aj.js} +2 -2
  119. package/dist/chunks/{repository-n2xxa85q.js → job-d4dr9rb7.js} +6 -6
  120. package/dist/chunks/{repository-rtdmfcdc.js → job-dfdvek0b.js} +28 -28
  121. package/dist/chunks/{repository-0kjyx4as.js → job-dgvf7yhf.js} +15 -15
  122. package/dist/chunks/{repository-ddt2bs9e.js → job-dhmh7aw6.js} +4 -4
  123. package/dist/chunks/{repository-dj2t23y0.js → job-dj2t23y0.js} +2 -2
  124. package/dist/chunks/{repository-np7xrdgd.js → job-dw9ftjz0.js} +5 -5
  125. package/dist/chunks/{repository-qs4sxs2p.js → job-dwv6k166.js} +25 -25
  126. package/dist/chunks/{repository-6xfb7f67.js → job-e23dc7d8.js} +9 -9
  127. package/dist/chunks/{repository-qsxbhfxw.js → job-e2535fdq.js} +11 -11
  128. package/dist/chunks/{repository-qte5z7bc.js → job-e6hmchc5.js} +5 -5
  129. package/dist/chunks/{repository-swvvrepw.js → job-e99y237x.js} +11 -11
  130. package/dist/chunks/{repository-sqhkja9w.js → job-e9gb6pdy.js} +6 -6
  131. package/dist/chunks/{repository-vxrjsf8c.js → job-ebrpajgw.js} +7 -7
  132. package/dist/chunks/{repository-q2x85fkv.js → job-efs7hy0y.js} +11 -11
  133. package/dist/chunks/{repository-wgjqh7ga.js → job-eg1ta683.js} +30 -30
  134. package/dist/chunks/{repository-fshg7mjp.js → job-ejsrqr7m.js} +4 -4
  135. package/dist/chunks/{repository-vngt7js8.js → job-ek00w5t7.js} +25 -25
  136. package/dist/chunks/{repository-etq0c3wd.js → job-etq0c3wd.js} +1 -1
  137. package/dist/chunks/{repository-pnsxdan0.js → job-eza9v3bf.js} +18 -18
  138. package/dist/chunks/{repository-b27vhd2z.js → job-fdv30zvt.js} +7 -7
  139. package/dist/chunks/{repository-may4g8rc.js → job-fe1tayzh.js} +17 -17
  140. package/dist/chunks/{repository-303jm9zc.js → job-fegsmc0t.js} +21 -21
  141. package/dist/chunks/{repository-5axkb2dj.js → job-fgzdzk1h.js} +27 -27
  142. package/dist/chunks/{repository-6d9mz4vp.js → job-fjmrr6sh.js} +9 -9
  143. package/dist/chunks/{repository-bd5kazb5.js → job-fqtw9snj.js} +9 -9
  144. package/dist/chunks/{repository-qd6kbfr6.js → job-fteascj8.js} +4 -4
  145. package/dist/chunks/{repository-gw0sx9d8.js → job-fwr4kp6g.js} +11 -11
  146. package/dist/chunks/{repository-fxbjtjnd.js → job-fxbjtjnd.js} +1 -1
  147. package/dist/chunks/{repository-f3ngv102.js → job-g190xswt.js} +4 -4
  148. package/dist/chunks/{repository-hc8297b1.js → job-g5bqepvr.js} +11 -11
  149. package/dist/chunks/{repository-gd4qta3r.js → job-gd4qta3r.js} +1 -1
  150. package/dist/chunks/{repository-yvzs9wg3.js → job-gd7fndfc.js} +47 -47
  151. package/dist/chunks/{repository-4p9etfsw.js → job-gjjtys5r.js} +32 -32
  152. package/dist/chunks/{repository-jjs74g98.js → job-gsx0ryk4.js} +9 -9
  153. package/dist/chunks/{repository-th5km1p3.js → job-gv6a8nnw.js} +5 -5
  154. package/dist/chunks/{repository-gqrxex2e.js → job-gx6t3jfd.js} +43 -43
  155. package/dist/chunks/{repository-h03wrkyp.js → job-h03wrkyp.js} +2 -2
  156. package/dist/chunks/{repository-r2m9agnq.js → job-h1frrkv0.js} +24 -24
  157. package/dist/chunks/{repository-bx7759mv.js → job-h3376zec.js} +7 -7
  158. package/dist/chunks/{repository-h6vf3j39.js → job-h6vf3j39.js} +1 -1
  159. package/dist/chunks/{repository-hdnk95c8.js → job-hdnk95c8.js} +2 -2
  160. package/dist/chunks/{repository-kehke4gd.js → job-hezdnza5.js} +10 -10
  161. package/dist/chunks/{repository-ead3g9p8.js → job-hkfg6fzm.js} +5 -5
  162. package/dist/chunks/{repository-thaqkx7r.js → job-htveh2m9.js} +1 -1
  163. package/dist/chunks/{repository-0hb9kn17.js → job-hwbs7xck.js} +42 -42
  164. package/dist/chunks/{repository-p53gvhkt.js → job-j1ydb14k.js} +32 -32
  165. package/dist/chunks/{repository-j56e64zr.js → job-j56e64zr.js} +1 -1
  166. package/dist/chunks/{repository-8skddr1y.js → job-j9eftr55.js} +6 -6
  167. package/dist/chunks/{repository-hybg6kpz.js → job-jc02vnth.js} +26 -26
  168. package/dist/chunks/{repository-qwtet0bt.js → job-jce26jfm.js} +18 -18
  169. package/dist/chunks/{repository-pvkhkebb.js → job-jf27y05g.js} +16 -16
  170. package/dist/chunks/{repository-rzja4vsd.js → job-jgd9689z.js} +6 -6
  171. package/dist/chunks/{repository-k79tzb9n.js → job-jwx4y25k.js} +9 -9
  172. package/dist/chunks/{repository-mq4pc9p2.js → job-jzy4mkh2.js} +6 -6
  173. package/dist/chunks/{repository-gtp689g7.js → job-k070sa49.js} +297 -297
  174. package/dist/chunks/{repository-fjqp604d.js → job-k5nz7jxc.js} +24 -24
  175. package/dist/chunks/{repository-4hbd63w4.js → job-k9h3bn14.js} +18 -18
  176. package/dist/chunks/{repository-jfn6jztq.js → job-kb49dwdy.js} +9 -9
  177. package/dist/chunks/{repository-kg06axw8.js → job-kg06axw8.js} +1 -1
  178. package/dist/chunks/{repository-9vtsx9kz.js → job-kwn7s3xs.js} +28 -28
  179. package/dist/chunks/{repository-m0jqrx5p.js → job-m0jqrx5p.js} +2 -2
  180. package/dist/chunks/{repository-m9w0rfyh.js → job-m9w0rfyh.js} +1 -1
  181. package/dist/chunks/{repository-1hc11dc4.js → job-msq0jde0.js} +4 -4
  182. package/dist/chunks/{repository-bk89yz0d.js → job-mth96381.js} +1 -1
  183. package/dist/chunks/{repository-1qpfe9sk.js → job-mty3s5k3.js} +10 -10
  184. package/dist/chunks/{repository-715fqh1x.js → job-n5pt8tbc.js} +13 -13
  185. package/dist/chunks/{repository-6zz1gbh1.js → job-nep8tjkt.js} +8 -8
  186. package/dist/chunks/{repository-nhy5jxhy.js → job-nhy5jxhy.js} +1 -1
  187. package/dist/chunks/{repository-dwxy40gg.js → job-njffw8q5.js} +18 -18
  188. package/dist/chunks/{repository-s22r2bgp.js → job-nmbjd050.js} +23 -23
  189. package/dist/chunks/{repository-q7dhks77.js → job-nsnkpgmw.js} +29 -29
  190. package/dist/chunks/{repository-nv5vn7qx.js → job-nv5vn7qx.js} +2 -2
  191. package/dist/chunks/{repository-q1h4ggtj.js → job-nvn8ehym.js} +4 -4
  192. package/dist/chunks/{repository-3q1jyqhd.js → job-p33ejz0k.js} +1 -1
  193. package/dist/chunks/{repository-3z7f8tm9.js → job-p69wsv11.js} +12 -12
  194. package/dist/chunks/job-pa9n1am2.js +22 -0
  195. package/dist/chunks/{repository-4h4kc2we.js → job-pe5bkq7z.js} +26 -26
  196. package/dist/chunks/{repository-zvv0052e.js → job-pe61x464.js} +9 -9
  197. package/dist/chunks/{repository-pjvnvgmy.js → job-pjvnvgmy.js} +1 -1
  198. package/dist/chunks/{repository-pknna89w.js → job-pknna89w.js} +1 -1
  199. package/dist/chunks/{repository-b1mg7fsy.js → job-q1wsye3c.js} +2 -2
  200. package/dist/chunks/{repository-0v53mg2y.js → job-q2b1ymqp.js} +4 -4
  201. package/dist/chunks/{repository-n4qym5bf.js → job-qbds1c0x.js} +3 -3
  202. package/dist/chunks/{repository-j0fn4spe.js → job-qcqr6c42.js} +4 -4
  203. package/dist/chunks/{repository-780w54ys.js → job-qjgw82pv.js} +33 -33
  204. package/dist/chunks/{repository-t0bxsy7k.js → job-qjnctwjf.js} +8 -8
  205. package/dist/chunks/{repository-7da99df4.js → job-qjqwssjd.js} +7 -7
  206. package/dist/chunks/{repository-rtxv9fy7.js → job-qk5tp4kc.js} +36 -36
  207. package/dist/chunks/{repository-qsdy395h.js → job-qsdy395h.js} +1 -1
  208. package/dist/chunks/{repository-w2g4wz0k.js → job-qzb9gbxh.js} +41 -41
  209. package/dist/chunks/{repository-yvtv9nre.js → job-r56v5vzb.js} +20 -20
  210. package/dist/chunks/{repository-35yx2wmk.js → job-r7yyze0b.js} +25 -25
  211. package/dist/chunks/{repository-c6yb4237.js → job-r863235s.js} +17 -17
  212. package/dist/chunks/{repository-r9mregkx.js → job-r9mregkx.js} +2 -2
  213. package/dist/chunks/{repository-bq5fxdyt.js → job-rasx6tva.js} +8 -8
  214. package/dist/chunks/{repository-f44pksnw.js → job-rbr1ba9y.js} +6 -6
  215. package/dist/chunks/{repository-bjs2yq5f.js → job-rhx683sy.js} +4 -4
  216. package/dist/chunks/{repository-8sp4zmk3.js → job-rnp9kzat.js} +8 -8
  217. package/dist/chunks/{repository-3btz0cnc.js → job-rs5tj728.js} +16 -16
  218. package/dist/chunks/{repository-7beh8vzt.js → job-rs9dtcm6.js} +25 -25
  219. package/dist/chunks/{repository-6rdedmrb.js → job-s3287qar.js} +35 -35
  220. package/dist/chunks/{repository-m0qh16g1.js → job-s673h22a.js} +18 -18
  221. package/dist/chunks/{repository-m6h6nebs.js → job-s8afmmt2.js} +17 -17
  222. package/dist/chunks/{repository-czfqgbdx.js → job-sbvbgwj3.js} +29 -29
  223. package/dist/chunks/{repository-3k42az9m.js → job-t0wy8e3x.js} +24 -24
  224. package/dist/chunks/{repository-68vqj5c0.js → job-t2k8w6x7.js} +8 -8
  225. package/dist/chunks/{repository-gw4wh78t.js → job-t3g6f9dq.js} +17 -17
  226. package/dist/chunks/{repository-etw8f4c2.js → job-t7wpzaak.js} +17 -17
  227. package/dist/chunks/{repository-gkrd4bgd.js → job-t96gcqea.js} +4 -4
  228. package/dist/chunks/{repository-tazgh4e4.js → job-tazgh4e4.js} +1 -1
  229. package/dist/chunks/{repository-tdstcens.js → job-tdstcens.js} +1 -1
  230. package/dist/chunks/{repository-5q0d5xf3.js → job-tm3xrft6.js} +22 -22
  231. package/dist/chunks/{repository-c2rnhds8.js → job-tpj9kemf.js} +6 -6
  232. package/dist/chunks/{repository-78qgck3m.js → job-tqjwy6mf.js} +12 -12
  233. package/dist/chunks/{repository-tvtrv512.js → job-tvtrv512.js} +1 -1
  234. package/dist/chunks/{repository-z3pw5915.js → job-tz2bjj40.js} +5 -5
  235. package/dist/chunks/{repository-p7kse70a.js → job-v5w9803s.js} +8 -8
  236. package/dist/chunks/{repository-ghk9cxjs.js → job-v8jfbz3g.js} +6 -6
  237. package/dist/chunks/{repository-ms4pas81.js → job-v8s8zax1.js} +25 -25
  238. package/dist/chunks/{repository-4j44ebqe.js → job-va3rkdfa.js} +34 -34
  239. package/dist/chunks/{repository-3dcs0pne.js → job-vbj8td05.js} +61 -61
  240. package/dist/chunks/{repository-veqvce7d.js → job-veqvce7d.js} +1 -1
  241. package/dist/chunks/{repository-9wjhpth9.js → job-vgd8tbfn.js} +73 -73
  242. package/dist/chunks/{repository-e535yj0k.js → job-vm7fznsz.js} +32 -32
  243. package/dist/chunks/{repository-v0af3dwr.js → job-vtzwx9w7.js} +41 -41
  244. package/dist/chunks/{repository-vzcthcp8.js → job-vzcthcp8.js} +1 -1
  245. package/dist/chunks/{repository-zq6stcrg.js → job-w1ad28wa.js} +8 -8
  246. package/dist/chunks/{repository-w3wsvvr9.js → job-w3wsvvr9.js} +1 -1
  247. package/dist/chunks/{repository-zpc6dyj7.js → job-w4dt659t.js} +1 -1
  248. package/dist/chunks/{repository-emggx1tz.js → job-w5rgr3ed.js} +9 -9
  249. package/dist/chunks/{repository-z0jd1bs7.js → job-w63wt874.js} +48 -48
  250. package/dist/chunks/{repository-wdgh92ty.js → job-wbe59x29.js} +18 -18
  251. package/dist/chunks/{repository-wd87259q.js → job-wd87259q.js} +1 -1
  252. package/dist/chunks/{repository-m5r142j1.js → job-wh2dv1v9.js} +34 -34
  253. package/dist/chunks/{repository-d38fd2j6.js → job-wpqm8tgx.js} +15 -15
  254. package/dist/chunks/{repository-drknmmyh.js → job-ws5qfxv9.js} +9 -9
  255. package/dist/chunks/{repository-wbjwqceb.js → job-wvdszsq1.js} +43 -43
  256. package/dist/chunks/{repository-m3r691ny.js → job-wycsdkc3.js} +11 -11
  257. package/dist/chunks/{repository-8cp8hhzs.js → job-x09ggfgh.js} +13 -13
  258. package/dist/chunks/{repository-x1ezjp6w.js → job-x1ezjp6w.js} +1 -1
  259. package/dist/chunks/{repository-6p1sqnga.js → job-x2xn2ag0.js} +12 -12
  260. package/dist/chunks/{repository-me7tczfq.js → job-x3nm3630.js} +20 -20
  261. package/dist/chunks/{repository-gn2hfjap.js → job-xdw78xdg.js} +8 -8
  262. package/dist/chunks/{repository-tjz4ep1y.js → job-xgte56ee.js} +24 -24
  263. package/dist/chunks/{repository-89qp1k24.js → job-xs8d25ev.js} +8 -8
  264. package/dist/chunks/{repository-d4pyqmad.js → job-xwdfg3dx.js} +5 -5
  265. package/dist/chunks/{repository-8x1ga14t.js → job-y0j58446.js} +13 -13
  266. package/dist/chunks/{repository-y1fvbwt7.js → job-y1fvbwt7.js} +1 -1
  267. package/dist/chunks/{repository-dpkg50ah.js → job-y71avatq.js} +4 -4
  268. package/dist/chunks/{repository-j7m8st6v.js → job-y8p3zjbc.js} +6 -6
  269. package/dist/chunks/{repository-18d55ntk.js → job-ykw20yhg.js} +18 -18
  270. package/dist/chunks/{repository-yrhqyw5v.js → job-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{repository-yrznvahk.js → job-yrznvahk.js} +2 -2
  272. package/dist/chunks/{repository-5kdrn25z.js → job-yxjbx3ws.js} +9 -9
  273. package/dist/chunks/{repository-z0bkrqjs.js → job-z0bkrqjs.js} +1 -1
  274. package/dist/chunks/{repository-qy11zpxb.js → job-z5tggqpm.js} +3 -3
  275. package/dist/chunks/{repository-z63w68vq.js → job-z63w68vq.js} +2 -2
  276. package/dist/chunks/{repository-9h1nkghz.js → job-z75d3rsp.js} +4 -4
  277. package/dist/chunks/{repository-bzjkhwme.js → job-z8pb3dnf.js} +5 -5
  278. package/dist/chunks/{repository-mc9wjbnw.js → job-z9mc2c5r.js} +9 -9
  279. package/dist/chunks/{repository-rzfk4f89.js → job-zc07dx4z.js} +7 -7
  280. package/dist/chunks/{repository-2s14wjwq.js → job-zecnhp4y.js} +47 -47
  281. package/dist/chunks/{repository-zeh9ct20.js → job-zeh9ct20.js} +2 -2
  282. package/dist/chunks/{repository-63sbrax2.js → job-zmwpq63m.js} +18 -18
  283. package/dist/chunks/{repository-zr2ceqn5.js → job-zr2ceqn5.js} +1 -1
  284. package/dist/chunks/{repository-jxrrwyvz.js → job-zsh8a2sh.js} +20 -20
  285. package/dist/chunks/{repository-zxq2ej10.js → job-zxq2ej10.js} +1 -1
  286. package/dist/codemode/catalog.js +1 -1
  287. package/dist/codemode/instructions.js +5 -5
  288. package/dist/codemode/tool.js +2 -2
  289. package/dist/command.js +82 -82
  290. package/dist/config/discovery.js +78 -78
  291. package/dist/config/markdown.js +1 -1
  292. package/dist/config/normalize.js +19 -19
  293. package/dist/config/plugin/agent.js +118 -118
  294. package/dist/config/plugin/command.js +210 -210
  295. package/dist/config/plugin/compaction.js +156 -156
  296. package/dist/config/plugin/entry-observer.js +1 -1
  297. package/dist/config/plugin/formatter.js +118 -118
  298. package/dist/config/plugin/image.js +116 -116
  299. package/dist/config/plugin/instruction.js +86 -86
  300. package/dist/config/plugin/location-watcher.js +118 -118
  301. package/dist/config/plugin/mcp.js +127 -127
  302. package/dist/config/plugin/policy.js +115 -115
  303. package/dist/config/plugin/provider.js +114 -114
  304. package/dist/config/plugin/reference.js +118 -118
  305. package/dist/config/plugin/shell.js +117 -117
  306. package/dist/config/plugin/skill-file.js +98 -98
  307. package/dist/config/plugin/skill.js +137 -137
  308. package/dist/config/plugin/snapshot.js +116 -116
  309. package/dist/config/plugin/source.js +118 -118
  310. package/dist/config/plugin/tool-output.js +118 -118
  311. package/dist/config/plugin/websearch.js +114 -114
  312. package/dist/config/plugin/worktree.js +119 -119
  313. package/dist/config/variable.js +3 -3
  314. package/dist/config/watch.js +1 -1
  315. package/dist/config.js +120 -120
  316. package/dist/credential/sql.js +2 -2
  317. package/dist/credential.js +82 -82
  318. package/dist/database/database.js +69 -69
  319. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  320. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  322. package/dist/database/drizzle/index.js +15 -15
  323. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  324. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  326. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  327. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  328. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  329. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  330. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  332. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  333. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  334. package/dist/database/drizzle.js +16 -16
  335. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  336. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  337. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  338. package/dist/database/migration/20260225215848_workspace.js +1 -1
  339. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  340. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  341. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  342. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  343. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  344. package/dist/database/migration/20260323234822_events.js +1 -1
  345. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  346. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  347. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  348. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  349. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  350. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  351. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  352. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  353. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  354. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  355. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  356. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  357. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  358. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  359. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  360. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  361. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  362. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  363. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  364. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  365. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  366. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  367. package/dist/database/migration/20260611035744_credential.js +1 -1
  368. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  369. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  370. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  371. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  372. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  373. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  374. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  375. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  376. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  377. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  378. package/dist/database/migration/20260812213948_worktree.js +1 -1
  379. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  380. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  381. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  382. package/dist/database/migration.gen.js +48 -48
  383. package/dist/database/migration.js +50 -50
  384. package/dist/database/path.js +2 -2
  385. package/dist/database/schema.gen.js +1 -1
  386. package/dist/database/schema.sql.js +1 -1
  387. package/dist/database/sqlite.bun.js +1 -1
  388. package/dist/database/sqlite.js +1 -1
  389. package/dist/database/sqlite.node.js +1 -1
  390. package/dist/database/sqlite.workerd.js +1 -1
  391. package/dist/database/v1-migration.bun.js +78 -78
  392. package/dist/database/v1-migration.js +1 -1
  393. package/dist/effect/app-node-builder.js +361 -361
  394. package/dist/effect/app-node-platform.js +2 -2
  395. package/dist/effect/keyed-mutex.js +3 -3
  396. package/dist/effect/websocket-constructor.js +1 -1
  397. package/dist/environment/driver.js +1 -1
  398. package/dist/environment/environment.js +89 -89
  399. package/dist/environment/exec-defaults.js +2 -2
  400. package/dist/environment/files.js +1 -1
  401. package/dist/environment/index.js +91 -91
  402. package/dist/environment/local.js +2 -2
  403. package/dist/environment/memory.js +2 -2
  404. package/dist/environment/unavailable.js +1 -1
  405. package/dist/event/sql.js +1 -1
  406. package/dist/event-logger.js +73 -73
  407. package/dist/file-access.js +100 -100
  408. package/dist/file-mutation.js +90 -90
  409. package/dist/file-retention.js +1 -1
  410. package/dist/file.js +1 -1
  411. package/dist/filesystem/fff.bun.js +2 -2
  412. package/dist/filesystem/fff.js +1 -1
  413. package/dist/filesystem/fff.node.js +2 -2
  414. package/dist/filesystem/fff.workerd.js +2 -2
  415. package/dist/filesystem/ignore.js +1 -1
  416. package/dist/filesystem/location-watcher-policy.js +6 -6
  417. package/dist/filesystem/location-watcher.js +223 -223
  418. package/dist/filesystem/protected.js +1 -1
  419. package/dist/filesystem/search.js +96 -96
  420. package/dist/filesystem/watcher-binding.js +1 -1
  421. package/dist/filesystem/watcher.js +15 -15
  422. package/dist/filesystem.js +101 -101
  423. package/dist/form.js +85 -85
  424. package/dist/formatter/builtins.js +4 -4
  425. package/dist/formatter.js +83 -83
  426. package/dist/generate.js +92 -92
  427. package/dist/git.js +3 -3
  428. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  429. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  430. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  431. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  432. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  433. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  434. package/dist/github-copilot/copilot-provider.js +17 -17
  435. package/dist/github-copilot/models.js +3 -3
  436. package/dist/github-copilot/openai-compatible-error.js +1 -1
  437. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  438. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  439. package/dist/github-copilot/responses/openai-error.js +1 -1
  440. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  441. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  442. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  443. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  444. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  445. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  447. package/dist/id/id.js +1 -1
  448. package/dist/image/photon.js +2 -2
  449. package/dist/image.js +6 -6
  450. package/dist/instance/service.js +5 -5
  451. package/dist/instance.js +352 -352
  452. package/dist/instruction-discovery.js +82 -82
  453. package/dist/instructions/builtins.js +79 -79
  454. package/dist/instructions/index.js +3 -3
  455. package/dist/integration/connection.js +1 -1
  456. package/dist/integration.js +85 -85
  457. package/dist/job.js +78 -78
  458. package/dist/kv/sql.js +2 -2
  459. package/dist/kv.js +72 -72
  460. package/dist/location-activity.js +134 -134
  461. package/dist/location-mutation.js +100 -100
  462. package/dist/location-service-map.js +84 -84
  463. package/dist/location-services.js +349 -349
  464. package/dist/location.js +83 -83
  465. package/dist/mcp/client.js +87 -87
  466. package/dist/mcp/index.js +100 -100
  467. package/dist/mcp/instructions.js +123 -123
  468. package/dist/mcp/oauth.js +3 -3
  469. package/dist/mcp/stdio.js +86 -86
  470. package/dist/mime.js +1 -1
  471. package/dist/modal/models.js +3 -3
  472. package/dist/model-resolver.js +87 -87
  473. package/dist/model.js +4 -4
  474. package/dist/models-dev.js +87 -87
  475. package/dist/oauth/page.js +1 -1
  476. package/dist/permission/saved.js +79 -79
  477. package/dist/permission/sql.js +5 -5
  478. package/dist/permission.js +109 -109
  479. package/dist/persistent-pty/binary.bun.js +1 -1
  480. package/dist/persistent-pty/daemon.js +1 -1
  481. package/dist/persistent-pty/index.js +83 -83
  482. package/dist/persistent-pty/pty-binding.js +1 -1
  483. package/dist/persistent-pty.js +74 -74
  484. package/dist/plugin/agent.js +100 -100
  485. package/dist/plugin/command.js +97 -97
  486. package/dist/plugin/hooks.js +5 -5
  487. package/dist/plugin/host.js +214 -214
  488. package/dist/plugin/instance.js +3 -3
  489. package/dist/plugin/internal.js +323 -323
  490. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  491. package/dist/plugin/models-dev.js +76 -76
  492. package/dist/plugin/module.js +7 -7
  493. package/dist/plugin/optimize.js +2 -2
  494. package/dist/plugin/plan.js +98 -98
  495. package/dist/plugin/promise.js +1 -1
  496. package/dist/plugin/provider/alibaba.js +2 -2
  497. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  498. package/dist/plugin/provider/azure.js +119 -119
  499. package/dist/plugin/provider/cerebras.js +2 -2
  500. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  501. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  502. package/dist/plugin/provider/cohere.js +2 -2
  503. package/dist/plugin/provider/configured.js +115 -115
  504. package/dist/plugin/provider/digitalocean.js +80 -80
  505. package/dist/plugin/provider/dynamic.js +2 -2
  506. package/dist/plugin/provider/factory.js +1 -1
  507. package/dist/plugin/provider/gateway.js +2 -2
  508. package/dist/plugin/provider/github-copilot.js +81 -81
  509. package/dist/plugin/provider/gitlab.js +3 -3
  510. package/dist/plugin/provider/google-vertex.js +2 -2
  511. package/dist/plugin/provider/kilo.js +2 -2
  512. package/dist/plugin/provider/llmgateway.js +77 -77
  513. package/dist/plugin/provider/lmstudio.js +118 -118
  514. package/dist/plugin/provider/modal.js +80 -80
  515. package/dist/plugin/provider/nvidia.js +2 -2
  516. package/dist/plugin/provider/ollama.js +116 -116
  517. package/dist/plugin/provider/openai-compatible.js +1 -1
  518. package/dist/plugin/provider/openai.js +79 -79
  519. package/dist/plugin/provider/opencode.js +80 -80
  520. package/dist/plugin/provider/openrouter.js +3 -3
  521. package/dist/plugin/provider/perplexity.js +2 -2
  522. package/dist/plugin/provider/poe.js +77 -77
  523. package/dist/plugin/provider/sap-ai-core.js +3 -3
  524. package/dist/plugin/provider/sdk-factory.js +1 -1
  525. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  526. package/dist/plugin/provider/venice.js +2 -2
  527. package/dist/plugin/provider/vercel.js +2 -2
  528. package/dist/plugin/provider/vllm.js +118 -118
  529. package/dist/plugin/provider/xai.js +78 -78
  530. package/dist/plugin/provider/zenmux.js +2 -2
  531. package/dist/plugin/provider.js +157 -157
  532. package/dist/plugin/sdk.js +73 -73
  533. package/dist/plugin/service.js +3 -3
  534. package/dist/plugin/skill.js +134 -134
  535. package/dist/plugin/source-directory.js +1 -1
  536. package/dist/plugin/supervisor.js +342 -342
  537. package/dist/plugin/update.js +6 -6
  538. package/dist/plugin/variant.js +4 -4
  539. package/dist/plugin/vcs/git.js +83 -83
  540. package/dist/plugin/vcs/hg.js +83 -83
  541. package/dist/plugin/warming.js +113 -113
  542. package/dist/plugin/websearch/exa.js +7 -7
  543. package/dist/plugin/websearch/firecrawl.js +8 -8
  544. package/dist/plugin/websearch/index.js +8 -8
  545. package/dist/plugin/websearch/mcp.js +4 -4
  546. package/dist/plugin/websearch/parallel.js +8 -8
  547. package/dist/plugin/websearch/tavily.js +6 -6
  548. package/dist/plugin.js +221 -221
  549. package/dist/project/schema.js +8 -8
  550. package/dist/project/sql.js +4 -4
  551. package/dist/project.js +84 -84
  552. package/dist/provider.js +7 -7
  553. package/dist/pty/protocol.js +1 -1
  554. package/dist/pty/schema.js +1 -1
  555. package/dist/pty/ticket.js +1 -1
  556. package/dist/pty.js +87 -87
  557. package/dist/reference/instructions.js +85 -85
  558. package/dist/reference.js +85 -85
  559. package/dist/repository-cache.js +77 -77
  560. package/dist/repository.js +1 -1
  561. package/dist/ripgrep/binary.js +2 -2
  562. package/dist/ripgrep.js +94 -94
  563. package/dist/rpc.js +82 -82
  564. package/dist/schema.js +1 -1
  565. package/dist/session/command.js +73 -73
  566. package/dist/session/compaction.js +128 -128
  567. package/dist/session/context.js +148 -148
  568. package/dist/session/environment.js +5 -5
  569. package/dist/session/error.js +5 -5
  570. package/dist/session/event.js +1 -1
  571. package/dist/session/execution/restart.js +220 -220
  572. package/dist/session/execution.js +123 -123
  573. package/dist/session/generate.js +149 -149
  574. package/dist/session/history.js +13 -13
  575. package/dist/session/inbox.js +87 -87
  576. package/dist/session/info.js +3 -3
  577. package/dist/session/instruction-entry.js +78 -78
  578. package/dist/session/instruction-state.js +8 -8
  579. package/dist/session/instructions.js +93 -93
  580. package/dist/session/message-updater.js +2 -2
  581. package/dist/session/message.js +1 -1
  582. package/dist/session/model-request.js +114 -114
  583. package/dist/session/model-transport.js +9 -9
  584. package/dist/session/move.js +127 -127
  585. package/dist/session/projector.js +85 -85
  586. package/dist/session/prompt.js +101 -101
  587. package/dist/session/provider-context.js +3 -3
  588. package/dist/session/revert.js +86 -86
  589. package/dist/session/run-coordinator.js +3 -3
  590. package/dist/session/runner/index.js +3 -3
  591. package/dist/session/runner/llm.js +226 -226
  592. package/dist/session/runner/max-steps.js +1 -1
  593. package/dist/session/runner/model.js +87 -87
  594. package/dist/session/runner/publish-llm-event.js +3 -3
  595. package/dist/session/runner/retry.js +111 -111
  596. package/dist/session/runner/step.js +122 -122
  597. package/dist/session/runner/to-llm-message.js +2 -2
  598. package/dist/session/schema.js +5 -5
  599. package/dist/session/session.js +168 -168
  600. package/dist/session/shell.js +132 -132
  601. package/dist/session/skill.js +99 -99
  602. package/dist/session/sql.js +5 -5
  603. package/dist/session/stats.js +74 -74
  604. package/dist/session/store.js +86 -86
  605. package/dist/session/subagent-completion.js +1 -1
  606. package/dist/session/subagent-job.js +206 -206
  607. package/dist/session/system-prompt.js +1 -1
  608. package/dist/session/title.js +152 -152
  609. package/dist/session/to-session-error.js +108 -108
  610. package/dist/session/transfer.js +219 -219
  611. package/dist/session/usage.js +1 -1
  612. package/dist/session.js +212 -212
  613. package/dist/shell/parse.js +6 -6
  614. package/dist/shell/result.js +1 -1
  615. package/dist/shell/scan.js +1 -1
  616. package/dist/shell/select.js +13 -13
  617. package/dist/shell.js +132 -132
  618. package/dist/skill/discovery.js +6 -6
  619. package/dist/skill/instructions.js +101 -101
  620. package/dist/skill.js +106 -106
  621. package/dist/snapshot.js +85 -85
  622. package/dist/state.js +1 -1
  623. package/dist/tool/html-markdown.js +1 -1
  624. package/dist/tool/http-body.js +1 -1
  625. package/dist/tool/mcp.js +120 -120
  626. package/dist/tool/plugin/edit.js +116 -116
  627. package/dist/tool/plugin/file-diff.js +1 -1
  628. package/dist/tool/plugin/glob.js +121 -121
  629. package/dist/tool/plugin/grep.js +115 -115
  630. package/dist/tool/plugin/opencode.js +3 -3
  631. package/dist/tool/plugin/patch.js +114 -114
  632. package/dist/tool/plugin/question.js +99 -99
  633. package/dist/tool/plugin/read.js +120 -120
  634. package/dist/tool/plugin/shell.js +211 -211
  635. package/dist/tool/plugin/skill.js +107 -107
  636. package/dist/tool/plugin/subagent.js +215 -215
  637. package/dist/tool/plugin/webfetch.js +106 -106
  638. package/dist/tool/plugin/websearch.js +108 -108
  639. package/dist/tool/plugin/write.js +118 -118
  640. package/dist/tool/read-filesystem.js +97 -97
  641. package/dist/tool/runtime.js +1 -1
  642. package/dist/tool-output.js +8 -8
  643. package/dist/tool.js +15 -15
  644. package/dist/util/error-summary.js +1 -1
  645. package/dist/util/error.js +1 -1
  646. package/dist/util/iife.js +1 -1
  647. package/dist/util/lazy.js +1 -1
  648. package/dist/util/slug.js +1 -1
  649. package/dist/util/token.js +1 -1
  650. package/dist/util/which.js +1 -1
  651. package/dist/util/wildcard.js +1 -1
  652. package/dist/v1/config/agent.js +5 -5
  653. package/dist/v1/config/attachment.js +4 -4
  654. package/dist/v1/config/command.js +5 -5
  655. package/dist/v1/config/config.js +16 -16
  656. package/dist/v1/config/error.js +2 -2
  657. package/dist/v1/config/formatter.js +3 -3
  658. package/dist/v1/config/layout.js +1 -1
  659. package/dist/v1/config/lsp.js +3 -3
  660. package/dist/v1/config/mcp.js +4 -4
  661. package/dist/v1/config/migrate.js +4 -4
  662. package/dist/v1/config/permission.js +3 -3
  663. package/dist/v1/config/plugin.js +3 -3
  664. package/dist/v1/config/provider-options.js +1 -1
  665. package/dist/v1/config/provider.js +4 -4
  666. package/dist/v1/config/server.js +2 -2
  667. package/dist/v1/config/skills.js +3 -3
  668. package/dist/v1/permission.js +1 -1
  669. package/dist/vcs/patch.js +1 -1
  670. package/dist/vcs.js +86 -86
  671. package/dist/websearch.js +81 -81
  672. package/dist/wellknown/plugin.js +75 -75
  673. package/dist/wellknown.js +78 -78
  674. package/dist/workspace/driver.js +5 -5
  675. package/dist/workspace/sql.js +1 -1
  676. package/dist/workspace.js +79 -79
  677. package/dist/worktree/directory.js +4 -4
  678. package/dist/worktree/git.js +7 -7
  679. package/dist/worktree/refresh.js +341 -341
  680. package/dist/worktree/sql.js +5 -5
  681. package/dist/worktree.js +90 -90
  682. package/package.json +8 -8
  683. package/dist/chunks/repository-9zdhvgqs.js +0 -18
  684. package/dist/chunks/repository-qsqamk6a.js +0 -247
  685. package/dist/chunks/repository-w7xk12sf.js +0 -22
  686. /package/dist/chunks/{repository-0mesazry.js → job-0mesazry.js} +0 -0
  687. /package/dist/chunks/{repository-0qkdqm5v.js → job-0qkdqm5v.js} +0 -0
  688. /package/dist/chunks/{repository-0zkw76rk.js → job-0zkw76rk.js} +0 -0
  689. /package/dist/chunks/{repository-17cy0kzp.js → job-17cy0kzp.js} +0 -0
  690. /package/dist/chunks/{repository-1cnp2v09.js → job-1cnp2v09.js} +0 -0
  691. /package/dist/chunks/{repository-1kg9ymc8.js → job-1kg9ymc8.js} +0 -0
  692. /package/dist/chunks/{repository-2710q6r3.js → job-2710q6r3.js} +0 -0
  693. /package/dist/chunks/{repository-2axfhc9x.js → job-2axfhc9x.js} +0 -0
  694. /package/dist/chunks/{repository-2c3vjs8z.js → job-2c3vjs8z.js} +0 -0
  695. /package/dist/chunks/{repository-359p4xyc.js → job-359p4xyc.js} +0 -0
  696. /package/dist/chunks/{repository-3asan66x.js → job-3asan66x.js} +0 -0
  697. /package/dist/chunks/{repository-3v8g72cx.js → job-3v8g72cx.js} +0 -0
  698. /package/dist/chunks/{repository-3w5fmr99.js → job-3w5fmr99.js} +0 -0
  699. /package/dist/chunks/{repository-3wcehsnq.js → job-3wcehsnq.js} +0 -0
  700. /package/dist/chunks/{repository-43n2bw4t.js → job-43n2bw4t.js} +0 -0
  701. /package/dist/chunks/{repository-4knz6hnm.js → job-4knz6hnm.js} +0 -0
  702. /package/dist/chunks/{repository-4vcrnpx2.js → job-4vcrnpx2.js} +0 -0
  703. /package/dist/chunks/{repository-4y7fprxs.js → job-4y7fprxs.js} +0 -0
  704. /package/dist/chunks/{repository-53557ph1.js → job-53557ph1.js} +0 -0
  705. /package/dist/chunks/{repository-550bvhaj.js → job-550bvhaj.js} +0 -0
  706. /package/dist/chunks/{repository-6prwharc.js → job-6prwharc.js} +0 -0
  707. /package/dist/chunks/{repository-7akdwqpd.js → job-7akdwqpd.js} +0 -0
  708. /package/dist/chunks/{repository-7m9af43g.js → job-7m9af43g.js} +0 -0
  709. /package/dist/chunks/{repository-822emrt2.js → job-822emrt2.js} +0 -0
  710. /package/dist/chunks/{repository-88xbtdfr.js → job-88xbtdfr.js} +0 -0
  711. /package/dist/chunks/{repository-8n3pysct.js → job-8n3pysct.js} +0 -0
  712. /package/dist/chunks/{repository-922hggd3.js → job-922hggd3.js} +0 -0
  713. /package/dist/chunks/{repository-9a4afbnw.js → job-9a4afbnw.js} +0 -0
  714. /package/dist/chunks/{repository-9rqn6x4v.js → job-9rqn6x4v.js} +0 -0
  715. /package/dist/chunks/{repository-a6k6eb26.js → job-a6k6eb26.js} +0 -0
  716. /package/dist/chunks/{repository-af5trqkr.js → job-af5trqkr.js} +0 -0
  717. /package/dist/chunks/{repository-afrmfg78.js → job-afrmfg78.js} +0 -0
  718. /package/dist/chunks/{repository-aqzs7mqg.js → job-aqzs7mqg.js} +0 -0
  719. /package/dist/chunks/{repository-atq7p7m5.js → job-atq7p7m5.js} +0 -0
  720. /package/dist/chunks/{repository-bkyjaxrp.js → job-bkyjaxrp.js} +0 -0
  721. /package/dist/chunks/{repository-bmr6ed5q.js → job-bmr6ed5q.js} +0 -0
  722. /package/dist/chunks/{repository-cf4snx6d.js → job-cf4snx6d.js} +0 -0
  723. /package/dist/chunks/{repository-cvy3z8tj.js → job-cvy3z8tj.js} +0 -0
  724. /package/dist/chunks/{repository-d9fn303g.js → job-d9fn303g.js} +0 -0
  725. /package/dist/chunks/{repository-d9jj8t3e.js → job-d9jj8t3e.js} +0 -0
  726. /package/dist/chunks/{repository-dajrwvna.js → job-dajrwvna.js} +0 -0
  727. /package/dist/chunks/{repository-dap0rakb.js → job-dap0rakb.js} +0 -0
  728. /package/dist/chunks/{repository-df08tz66.js → job-df08tz66.js} +0 -0
  729. /package/dist/chunks/{repository-dy18nga0.js → job-dy18nga0.js} +0 -0
  730. /package/dist/chunks/{repository-e5kj55wp.js → job-e5kj55wp.js} +0 -0
  731. /package/dist/chunks/{repository-e73j6tqm.js → job-e73j6tqm.js} +0 -0
  732. /package/dist/chunks/{repository-ec1grn59.js → job-ec1grn59.js} +0 -0
  733. /package/dist/chunks/{repository-eh3zwz77.js → job-eh3zwz77.js} +0 -0
  734. /package/dist/chunks/{repository-emrn6kk6.js → job-emrn6kk6.js} +0 -0
  735. /package/dist/chunks/{repository-f0mxakyp.js → job-f0mxakyp.js} +0 -0
  736. /package/dist/chunks/{repository-f6n9ztr4.js → job-f6n9ztr4.js} +0 -0
  737. /package/dist/chunks/{repository-faypxj3z.js → job-faypxj3z.js} +0 -0
  738. /package/dist/chunks/{repository-fd410y7t.js → job-fd410y7t.js} +0 -0
  739. /package/dist/chunks/{repository-fxgpk5d8.js → job-fxgpk5d8.js} +0 -0
  740. /package/dist/chunks/{repository-g4wezp1m.js → job-g4wezp1m.js} +0 -0
  741. /package/dist/chunks/{repository-g86h250q.js → job-g86h250q.js} +0 -0
  742. /package/dist/chunks/{repository-gebd4c9n.js → job-gebd4c9n.js} +0 -0
  743. /package/dist/chunks/{repository-gftt206x.js → job-gftt206x.js} +0 -0
  744. /package/dist/chunks/{repository-hjbc5kem.js → job-hjbc5kem.js} +0 -0
  745. /package/dist/chunks/{repository-hk9envan.js → job-hk9envan.js} +0 -0
  746. /package/dist/chunks/{repository-hrnqkpcd.js → job-hrnqkpcd.js} +0 -0
  747. /package/dist/chunks/{repository-j2ntwpah.js → job-j2ntwpah.js} +0 -0
  748. /package/dist/chunks/{repository-j5zkgpj8.js → job-j5zkgpj8.js} +0 -0
  749. /package/dist/chunks/{repository-jr7sbwjy.js → job-jr7sbwjy.js} +0 -0
  750. /package/dist/chunks/{repository-jwfs4k6c.js → job-jwfs4k6c.js} +0 -0
  751. /package/dist/chunks/{repository-jzg6c2d5.js → job-jzg6c2d5.js} +0 -0
  752. /package/dist/chunks/{repository-mp448xyj.js → job-mp448xyj.js} +0 -0
  753. /package/dist/chunks/{repository-msx8hqn2.js → job-msx8hqn2.js} +0 -0
  754. /package/dist/chunks/{repository-n05xt0ee.js → job-n05xt0ee.js} +0 -0
  755. /package/dist/chunks/{repository-n3j8tn72.js → job-n3j8tn72.js} +0 -0
  756. /package/dist/chunks/{repository-njntx4h6.js → job-njntx4h6.js} +0 -0
  757. /package/dist/chunks/{repository-paphc93g.js → job-paphc93g.js} +0 -0
  758. /package/dist/chunks/{repository-q3sfg36h.js → job-q3sfg36h.js} +0 -0
  759. /package/dist/chunks/{repository-q74kybfr.js → job-q74kybfr.js} +0 -0
  760. /package/dist/chunks/{repository-qaymkmh1.js → job-qaymkmh1.js} +0 -0
  761. /package/dist/chunks/{repository-qb87gjwd.js → job-qb87gjwd.js} +0 -0
  762. /package/dist/chunks/{repository-qfa1cgps.js → job-qfa1cgps.js} +0 -0
  763. /package/dist/chunks/{repository-qrg20bc0.js → job-qrg20bc0.js} +0 -0
  764. /package/dist/chunks/{repository-rcb2kzg1.js → job-rcb2kzg1.js} +0 -0
  765. /package/dist/chunks/{repository-sdp7kfr6.js → job-sdp7kfr6.js} +0 -0
  766. /package/dist/chunks/{repository-sk3qaz4a.js → job-sk3qaz4a.js} +0 -0
  767. /package/dist/chunks/{repository-ssg3fenm.js → job-ssg3fenm.js} +0 -0
  768. /package/dist/chunks/{repository-twg0f83k.js → job-twg0f83k.js} +0 -0
  769. /package/dist/chunks/{repository-w803qqfp.js → job-w803qqfp.js} +0 -0
  770. /package/dist/chunks/{repository-wer8tq1h.js → job-wer8tq1h.js} +0 -0
  771. /package/dist/chunks/{repository-wtztk69x.js → job-wtztk69x.js} +0 -0
  772. /package/dist/chunks/{repository-x0ckcb58.js → job-x0ckcb58.js} +0 -0
  773. /package/dist/chunks/{repository-x61499pn.js → job-x61499pn.js} +0 -0
  774. /package/dist/chunks/{repository-y44na4kk.js → job-y44na4kk.js} +0 -0
  775. /package/dist/chunks/{repository-y8cydn3q.js → job-y8cydn3q.js} +0 -0
  776. /package/dist/chunks/{repository-y8f7s663.js → job-y8f7s663.js} +0 -0
  777. /package/dist/chunks/{repository-ygaqb7jw.js → job-ygaqb7jw.js} +0 -0
  778. /package/dist/chunks/{repository-ym463w8f.js → job-ym463w8f.js} +0 -0
  779. /package/dist/chunks/{repository-z9919s4g.js → job-z9919s4g.js} +0 -0
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./repository-922hggd3.js";
3
+ } from "./job-922hggd3.js";
4
4
  import {
5
- Service69
6
- } from "./repository-02dtbf74.js";
5
+ Service75
6
+ } from "./job-05znt9a9.js";
7
7
  import {
8
- Service64
9
- } from "./repository-6tfgbeb6.js";
8
+ Service41
9
+ } from "./job-61k5jphj.js";
10
10
  import {
11
- Service12
12
- } from "./repository-5q0d5xf3.js";
11
+ Service11
12
+ } from "./job-tm3xrft6.js";
13
13
  import {
14
14
  NotFound2
15
- } from "./repository-2a5m3afh.js";
15
+ } from "./job-2a5m3afh.js";
16
16
  import {
17
17
  MEDIA_MIMES2,
18
18
  BinaryFileError2,
@@ -23,26 +23,26 @@ import {
23
23
  FileContent2,
24
24
  TextPage2,
25
25
  ListPage2,
26
- Service7
27
- } from "./repository-czhxebx3.js";
26
+ Service12
27
+ } from "./job-ckw6gep2.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./job-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/read.ts
33
33
  var exports_read = {};
34
34
  __export(exports_read, {
35
- Input: () => Input5,
35
+ Input: () => Input4,
36
36
  Plugin: () => Plugin36,
37
37
  ReadTool: () => exports_read,
38
- name: () => name5,
39
- toModelContent: () => toModelContent3
38
+ name: () => name4,
39
+ toModelContent: () => toModelContent2
40
40
  });
41
41
  import { basename, dirname, join } from "path";
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import { FSUtil } from "@opencode/util/fs-util";
45
- var name5 = "read";
45
+ var name4 = "read";
46
46
  var FILENAME = "AGENTS.md";
47
47
  var LocationInput = Schema.Struct({
48
48
  path: Schema.String.annotate({ description: "File or directory to read" }),
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
53
53
  description: "The maximum number of lines or directory entries to read (defaults to 2000)"
54
54
  })
55
55
  });
56
- var Input5 = LocationInput;
56
+ var Input4 = LocationInput;
57
57
  var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
58
58
  var Plugin36 = {
59
59
  id: "opencode.tool.read",
60
60
  effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
61
- const reader = yield* Service7;
62
- const access = yield* Service64;
63
- const sessionInstructions = yield* Service12;
61
+ const reader = yield* Service12;
62
+ const access = yield* Service41;
63
+ const sessionInstructions = yield* Service11;
64
64
  const fs = yield* FSUtil.Service;
65
- const location = yield* Service69;
65
+ const location = yield* Service75;
66
66
  yield* ctx.tool.transform((editor) => editor.add({
67
- name: name5,
67
+ name: name4,
68
68
  options: { codemode: false },
69
69
  description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
70
- input: Input5,
70
+ input: Input4,
71
71
  output: Output,
72
72
  execute: (input, context) => {
73
73
  return Effect.gen(function* () {
@@ -112,7 +112,7 @@ var Plugin36 = {
112
112
  return { output: result.content, path: result.path };
113
113
  }).pipe(Effect.map((result) => ({
114
114
  output: result.output,
115
- content: toModelContent3(result.path, input.offset, result.output),
115
+ content: toModelContent2(result.path, input.offset, result.output),
116
116
  metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
117
117
  })), Effect.mapError((error) => {
118
118
  if (error instanceof ToolFailure)
@@ -144,7 +144,7 @@ ${suggestions.join(`
144
144
  });
145
145
  })
146
146
  };
147
- var toModelContent3 = (path, offset, output) => {
147
+ var toModelContent2 = (path, offset, output) => {
148
148
  if (output.type === "file" && output.encoding === "base64")
149
149
  return [
150
150
  { type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
@@ -180,4 +180,4 @@ var toModelContent3 = (path, offset, output) => {
180
180
  `);
181
181
  };
182
182
 
183
- export { name5, Input5, Plugin36, toModelContent3, exports_read };
183
+ export { name4, Input4, Plugin36, toModelContent2, exports_read };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  typeFollowing2
3
- } from "./repository-2a5m3afh.js";
3
+ } from "./job-2a5m3afh.js";
4
4
  import {
5
5
  RelativePath2
6
- } from "./repository-922hggd3.js";
6
+ } from "./job-922hggd3.js";
7
7
  import {
8
- Service69
9
- } from "./repository-02dtbf74.js";
8
+ Service75
9
+ } from "./job-05znt9a9.js";
10
10
  import {
11
- Service62
12
- } from "./repository-fjqp604d.js";
11
+ Service73
12
+ } from "./job-k5nz7jxc.js";
13
13
  import {
14
- Service61
15
- } from "./repository-63sbrax2.js";
14
+ Service67
15
+ } from "./job-zmwpq63m.js";
16
16
  import {
17
17
  DEFAULT_SEARCH_LIMIT2,
18
18
  DEFAULT_SEARCH_TIMEOUT_MS2,
19
19
  GlobInput2,
20
20
  Entry4
21
- } from "./repository-vngt7js8.js";
21
+ } from "./job-ek00w5t7.js";
22
22
  import {
23
- Service65
24
- } from "./repository-epq63s4f.js";
23
+ Service55
24
+ } from "./job-6m8cgtnn.js";
25
25
  import {
26
- Service64
27
- } from "./repository-6tfgbeb6.js";
26
+ Service41
27
+ } from "./job-61k5jphj.js";
28
28
  import {
29
29
  __export
30
- } from "./repository-9rqn6x4v.js";
30
+ } from "./job-9rqn6x4v.js";
31
31
 
32
32
  // src/tool/plugin/glob.ts
33
33
  var exports_glob = {};
34
34
  __export(exports_glob, {
35
35
  GlobTool: () => exports_glob,
36
- Input: () => Input6,
37
- Output: () => Output3,
38
- Plugin: () => Plugin37,
39
- name: () => name6,
40
- toModelContent: () => toModelContent4
36
+ Input: () => Input7,
37
+ Output: () => Output5,
38
+ Plugin: () => Plugin39,
39
+ name: () => name7,
40
+ toModelContent: () => toModelContent3
41
41
  });
42
42
  import { ToolFailure } from "@opencode/ai";
43
43
  import { Effect, Schema } from "effect";
44
44
  import path from "path";
45
- var name6 = "glob";
46
- var Input6 = Schema.Struct({
45
+ var name7 = "glob";
46
+ var Input7 = Schema.Struct({
47
47
  pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
48
48
  path: Schema.optionalKey(RelativePath2).annotate({
49
49
  description: "Directory to search. Defaults to the current working directory."
@@ -55,35 +55,35 @@ var Input6 = Schema.Struct({
55
55
  description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
56
56
  })
57
57
  });
58
- var Output3 = Schema.Array(Entry4);
59
- var toModelContent4 = (entries, truncated = false) => {
58
+ var Output5 = Schema.Array(Entry4);
59
+ var toModelContent3 = (entries, truncated = false) => {
60
60
  const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
61
61
  if (truncated)
62
62
  lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
63
63
  return lines.join(`
64
64
  `);
65
65
  };
66
- var Plugin37 = {
66
+ var Plugin39 = {
67
67
  id: "opencode.tool.glob",
68
68
  effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
69
- const environment = yield* Service62;
70
- const ripgrep = yield* Service61;
71
- const location = yield* Service69;
72
- const access = yield* Service64;
73
- const permission = yield* Service65;
69
+ const environment = yield* Service73;
70
+ const ripgrep = yield* Service67;
71
+ const location = yield* Service75;
72
+ const access = yield* Service41;
73
+ const permission = yield* Service55;
74
74
  yield* ctx.tool.transform((editor) => editor.add({
75
- name: name6,
75
+ name: name7,
76
76
  options: { codemode: false },
77
77
  description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
78
- input: Input6,
79
- output: Output3,
78
+ input: Input7,
79
+ output: Output5,
80
80
  execute: (input, context) => Effect.gen(function* () {
81
81
  const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
82
82
  const source = { type: "tool", messageID: context.messageID, id: context.id };
83
83
  const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
84
84
  yield* access.authorizeExternal([target], context);
85
85
  yield* permission.assert({
86
- action: name6,
86
+ action: name7,
87
87
  resources: [input.pattern],
88
88
  save: ["*"],
89
89
  metadata: {
@@ -118,11 +118,11 @@ var Plugin37 = {
118
118
  return { entries: entries.slice(0, limit), truncated: entries.length > limit };
119
119
  }).pipe(Effect.map((result) => ({
120
120
  output: result.entries,
121
- content: toModelContent4(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
121
+ content: toModelContent3(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
122
122
  metadata: { count: result.entries.length, truncated: result.truncated }
123
123
  })), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
124
124
  })).pipe(Effect.orDie);
125
125
  })
126
126
  };
127
127
 
128
- export { name6, Input6, Output3, toModelContent4, Plugin37, exports_glob };
128
+ export { name7, Input7, Output5, toModelContent3, Plugin39, exports_glob };
@@ -1,32 +1,32 @@
1
1
  import {
2
- Service76,
3
- node81
4
- } from "./repository-mv74xwze.js";
2
+ Service79,
3
+ node84
4
+ } from "./job-7w0m1cr7.js";
5
5
  import {
6
6
  Key4,
7
7
  removed2,
8
- make20,
8
+ make18,
9
9
  combine2
10
- } from "./repository-02nrjc1r.js";
10
+ } from "./job-athype10.js";
11
11
  import {
12
12
  InstructionEntryTable2
13
- } from "./repository-5c4hm403.js";
13
+ } from "./job-5c4hm403.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./job-9rqn6x4v.js";
17
17
 
18
18
  // src/session/instruction-entry.ts
19
19
  var exports_instruction_entry = {};
20
20
  __export(exports_instruction_entry, {
21
- Info: () => Info5,
21
+ Info: () => Info4,
22
22
  InstructionEntry: () => exports_instruction_entry,
23
23
  Key: () => Key2,
24
24
  MaxValueBytes: () => MaxValueBytes2,
25
- Service: () => Service31,
25
+ Service: () => Service19,
26
26
  Snapshot: () => Snapshot2,
27
27
  ValueTooLargeError: () => ValueTooLargeError2,
28
28
  initialize: () => initialize2,
29
- node: () => node35,
29
+ node: () => node24,
30
30
  snapshot: () => snapshot2
31
31
  });
32
32
  import { and, asc, eq, isNotNull, isNull, ne, or } from "drizzle-orm";
@@ -34,7 +34,7 @@ import { Context, Effect, Layer, Schema } from "effect";
34
34
  import { InstructionEntry } from "@opencode/schema/instruction-entry";
35
35
  import { makeLocationNode } from "@opencode/util/effect/app-node";
36
36
  var Key2 = InstructionEntry.Key;
37
- var Info5 = InstructionEntry.Info;
37
+ var Info4 = InstructionEntry.Info;
38
38
  var Snapshot2 = InstructionEntry.Snapshot;
39
39
  var MaxValueBytes2 = InstructionEntry.MaxValueBytes;
40
40
  var ValueTooLargeError2 = InstructionEntry.ValueTooLargeError;
@@ -56,12 +56,12 @@ var initialize2 = Effect.fn("InstructionEntry.initialize")(function* (db, sessio
56
56
  }))).run().pipe(Effect.orDie), { discard: true });
57
57
  });
58
58
 
59
- class Service31 extends Context.Service()("@opencode/InstructionEntry") {
59
+ class Service19 extends Context.Service()("@opencode/InstructionEntry") {
60
60
  }
61
61
  var renderValue = (value) => typeof value === "string" ? value : JSON.stringify(value, null, 2);
62
62
  var renderBlock = (key, value) => [`<context key="${key}">`, renderValue(value), "</context>"].join(`
63
63
  `);
64
- var source = (entry) => make20({
64
+ var source = (entry) => make18({
65
65
  key: Key4.make(`api/${entry.key}`),
66
66
  codec: Schema.toCodecJson(Schema.Json),
67
67
  read: Effect.succeed(entry.removed ? removed2 : entry.value),
@@ -75,8 +75,8 @@ var source = (entry) => make20({
75
75
  removed: () => `The context under "${entry.key}" no longer applies. Disregard it.`
76
76
  }
77
77
  });
78
- var layer = Layer.effect(Service31, Effect.gen(function* () {
79
- const { db } = yield* Service76;
78
+ var layer = Layer.effect(Service19, Effect.gen(function* () {
79
+ const { db } = yield* Service79;
80
80
  const rows = Effect.fnUntraced(function* (sessionID, includeRemoved) {
81
81
  return yield* db.select({
82
82
  key: InstructionEntryTable2.key,
@@ -108,8 +108,8 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
108
108
  const load = Effect.fn("InstructionEntry.load")(function* (sessionID) {
109
109
  return combine2((yield* rows(sessionID, true)).map(source));
110
110
  });
111
- return Service31.of({ list, put, remove, load });
111
+ return Service19.of({ list, put, remove, load });
112
112
  }));
113
- var node35 = makeLocationNode({ service: Service31, layer, deps: [node81] });
113
+ var node24 = makeLocationNode({ service: Service19, layer, deps: [node84] });
114
114
 
115
- export { Key2, Info5, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service31, node35, exports_instruction_entry };
115
+ export { Key2, Info4, Snapshot2, MaxValueBytes2, ValueTooLargeError2, snapshot2, initialize2, Service19, node24, exports_instruction_entry };
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  ascending2
3
- } from "./repository-tvtrv512.js";
3
+ } from "./job-tvtrv512.js";
4
4
  import {
5
- Service73,
6
- node77
7
- } from "./repository-8x1ga14t.js";
5
+ Service70,
6
+ node74
7
+ } from "./job-y0j58446.js";
8
8
  import {
9
9
  SessionMessage2
10
- } from "./repository-gftt206x.js";
10
+ } from "./job-gftt206x.js";
11
11
  import {
12
12
  SessionSchema2
13
- } from "./repository-csbyz877.js";
13
+ } from "./job-377tdzm5.js";
14
14
  import {
15
15
  __export
16
- } from "./repository-9rqn6x4v.js";
16
+ } from "./job-9rqn6x4v.js";
17
17
 
18
18
  // src/job.ts
19
19
  var exports_job = {};
20
20
  __export(exports_job, {
21
21
  Job: () => exports_job,
22
- Service: () => Service63,
23
- make: () => make19,
24
- node: () => node67
22
+ Service: () => Service69,
23
+ make: () => make20,
24
+ node: () => node73
25
25
  });
26
26
  import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
27
27
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
50
50
  var decodeBackground = Schema.decodeUnknownResult(Background);
51
51
  var backgroundPrefix = "job.background/";
52
52
 
53
- class Service63 extends Context.Service()("@opencode/Job") {
53
+ class Service69 extends Context.Service()("@opencode/Job") {
54
54
  }
55
55
  function snapshot(job) {
56
56
  return {
@@ -77,8 +77,8 @@ function decrementSession(input, sessionID) {
77
77
  next.set(sessionID, count - 1);
78
78
  return next;
79
79
  }
80
- var make19 = Effect.gen(function* () {
81
- const kv = yield* Service73;
80
+ var make20 = Effect.gen(function* () {
81
+ const kv = yield* Service70;
82
82
  const state = {
83
83
  jobs: yield* SynchronizedRef.make(new Map),
84
84
  scope: yield* Scope.Scope
@@ -307,7 +307,7 @@ var make19 = Effect.gen(function* () {
307
307
  return recovered;
308
308
  }).pipe(Effect.withSpan("Job.pendingBackground"));
309
309
  const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
310
- return Service63.of({
310
+ return Service69.of({
311
311
  get,
312
312
  start,
313
313
  wait,
@@ -319,7 +319,7 @@ var make19 = Effect.gen(function* () {
319
319
  completeBackground
320
320
  });
321
321
  });
322
- var layer = Layer.effect(Service63, make19);
323
- var node67 = makeGlobalNode({ service: Service63, layer, deps: [node77] });
322
+ var layer = Layer.effect(Service69, make20);
323
+ var node73 = makeGlobalNode({ service: Service69, layer, deps: [node74] });
324
324
 
325
- export { Service63, make19, node67, exports_job };
325
+ export { Service69, make20, node73, exports_job };
@@ -1,10 +1,10 @@
1
1
  import {
2
- Service74,
3
- node78
4
- } from "./repository-wdgh92ty.js";
2
+ Service78,
3
+ node83
4
+ } from "./job-wbe59x29.js";
5
5
  import {
6
6
  __export
7
- } from "./repository-9rqn6x4v.js";
7
+ } from "./job-9rqn6x4v.js";
8
8
 
9
9
  // src/form.ts
10
10
  var exports_form = {};
@@ -12,40 +12,40 @@ __export(exports_form, {
12
12
  AlreadyExistsError: () => AlreadyExistsError2,
13
13
  AlreadySettledError: () => AlreadySettledError2,
14
14
  Answer: () => Answer2,
15
- Event: () => Event10,
15
+ Event: () => Event19,
16
16
  Field: () => Field2,
17
17
  Fields: () => Fields2,
18
18
  Form: () => exports_form,
19
- ID: () => ID7,
20
- Info: () => Info10,
19
+ ID: () => ID14,
20
+ Info: () => Info27,
21
21
  InvalidAnswerError: () => InvalidAnswerError2,
22
22
  InvalidFormError: () => InvalidFormError2,
23
- NotFoundError: () => NotFoundError7,
24
- Reply: () => Reply2,
25
- Service: () => Service52,
23
+ NotFoundError: () => NotFoundError9,
24
+ Reply: () => Reply3,
25
+ Service: () => Service68,
26
26
  State: () => State3,
27
27
  When: () => When2,
28
- layer: () => layer22,
29
- node: () => node56,
28
+ layer: () => layer25,
29
+ node: () => node72,
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 Event10 } from "@opencode/schema/form";
36
+ import { Event as Event19 } from "@opencode/schema/form";
37
37
  var RETENTION = Duration.minutes(10);
38
- var ID7 = Form.ID;
39
- var Info10 = Form.Info;
38
+ var ID14 = Form.ID;
39
+ var Info27 = Form.Info;
40
40
  var Field2 = Form.Field;
41
41
  var Fields2 = Form.Fields;
42
42
  var When2 = Form.When;
43
43
  var State3 = Form.State;
44
44
  var Answer2 = Form.Answer;
45
- var Reply2 = Form.Reply;
45
+ var Reply3 = Form.Reply;
46
46
 
47
- class NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
48
- id: ID7
47
+ class NotFoundError9 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 NotFoundError7 extends Schema.TaggedError()("Form.NotFoundError", {
53
53
  }
54
54
 
55
55
  class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
56
- id: ID7
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: ID7
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: ID7,
72
+ id: ID14,
73
73
  message: Schema.String
74
74
  }) {
75
75
  }
@@ -79,17 +79,17 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
79
79
  }) {
80
80
  }
81
81
 
82
- class Service52 extends Context.Service()("@opencode/Form") {
82
+ class Service68 extends Context.Service()("@opencode/Form") {
83
83
  }
84
- var layer22 = Layer.effect(Service52, Effect.gen(function* () {
85
- const bus = yield* Service74;
84
+ var layer25 = Layer.effect(Service68, Effect.gen(function* () {
85
+ const bus = yield* Service78;
86
86
  const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
87
87
  capacity: Number.MAX_SAFE_INTEGER,
88
88
  timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
89
89
  });
90
- const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError7({ id })))));
90
+ const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError9({ id })))));
91
91
  const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
92
- const id = input.id ?? ID7.create();
92
+ const id = input.id ?? ID14.create();
93
93
  const existing = yield* Cache.getSuccess(forms, id);
94
94
  if (Option.isSome(existing))
95
95
  return yield* new AlreadyExistsError2({ id });
@@ -153,9 +153,9 @@ var layer22 = Layer.effect(Service52, Effect.gen(function* () {
153
153
  yield* Deferred.succeed(entry.deferred, next);
154
154
  })));
155
155
  yield* Effect.addFinalizer(() => Cache.values(forms).pipe(Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true }))));
156
- return Service52.of({ create, ask, get, list, state, reply, cancel });
156
+ return Service68.of({ create, ask, get, list, state, reply, cancel });
157
157
  }));
158
- var node56 = makeLocationNode({ service: Service52, layer: layer22, deps: [node78] });
158
+ var node72 = makeLocationNode({ service: Service68, layer: layer25, deps: [node83] });
159
159
  function validateAnswer2(form, answer) {
160
160
  const fields = new Map(form.map((field) => [field.key, field]));
161
161
  for (const key of Object.keys(answer)) {
@@ -307,4 +307,4 @@ function isDateTime(value) {
307
307
  return !Number.isNaN(new Date(value).getTime());
308
308
  }
309
309
 
310
- export { ID7, Info10, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError7, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service52, layer22, node56, validateAnswer2, validateFields2, exports_form, Event10 };
310
+ export { ID14, Info27, Field2, Fields2, When2, State3, Answer2, Reply3, NotFoundError9, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service68, layer25, node72, validateAnswer2, validateFields2, exports_form, Event19 };
@@ -1,25 +1,25 @@
1
1
  import {
2
- Service74,
3
- node78
4
- } from "./repository-wdgh92ty.js";
2
+ Service78,
3
+ node83
4
+ } from "./job-wbe59x29.js";
5
5
  import {
6
- Service69,
7
- node73
8
- } from "./repository-02dtbf74.js";
6
+ Service75,
7
+ node80
8
+ } from "./job-05znt9a9.js";
9
9
  import {
10
10
  ID2
11
- } from "./repository-0mesazry.js";
11
+ } from "./job-0mesazry.js";
12
12
  import {
13
- Service42,
13
+ Service31,
14
14
  login2,
15
- node46
16
- } from "./repository-etw8f4c2.js";
15
+ node35
16
+ } from "./job-t7wpzaak.js";
17
17
  import {
18
18
  lazy2
19
- } from "./repository-88xbtdfr.js";
19
+ } from "./job-88xbtdfr.js";
20
20
  import {
21
21
  __export
22
- } from "./repository-9rqn6x4v.js";
22
+ } from "./job-9rqn6x4v.js";
23
23
 
24
24
  // src/pty.ts
25
25
  var exports_pty = {};
@@ -30,9 +30,9 @@ __export(exports_pty, {
30
30
  Info: () => Info2,
31
31
  NotFoundError: () => NotFoundError2,
32
32
  Pty: () => exports_pty,
33
- Service: () => Service13,
33
+ Service: () => Service14,
34
34
  UpdateInput: () => UpdateInput2,
35
- node: () => node16
35
+ node: () => node17
36
36
  });
37
37
  import { makeLocationNode } from "@opencode/util/effect/app-node";
38
38
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,12 +55,12 @@ class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
55
55
  }) {
56
56
  }
57
57
 
58
- class Service13 extends Context.Service()("@opencode/Pty") {
58
+ class Service14 extends Context.Service()("@opencode/Pty") {
59
59
  }
60
- var layer = Layer.effect(Service13, Effect.gen(function* () {
61
- const bus = yield* Service74;
62
- const location = yield* Service69;
63
- const shell = yield* Service42;
60
+ var layer = Layer.effect(Service14, Effect.gen(function* () {
61
+ const bus = yield* Service78;
62
+ const location = yield* Service75;
63
+ const shell = yield* Service31;
64
64
  const context = yield* Effect.context();
65
65
  const runFork = Effect.runForkWith(context);
66
66
  const sessions = new Map;
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
268
268
  }
269
269
  };
270
270
  });
271
- return Service13.of({ list, get, create, update, remove, write, attach });
271
+ return Service14.of({ list, get, create, update, remove, write, attach });
272
272
  }));
273
- var node16 = makeLocationNode({
274
- service: Service13,
273
+ var node17 = makeLocationNode({
274
+ service: Service14,
275
275
  layer,
276
- deps: [node78, node73, node46]
276
+ deps: [node83, node80, node35]
277
277
  });
278
278
 
279
- export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service13, node16, exports_pty, Event2 };
279
+ export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service14, node17, exports_pty, Event2 };