@opencode/core 0.0.0-dev-232 → 0.0.0-dev-235

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 (834) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +86 -86
  3. package/dist/aisdk-native.js +100 -100
  4. package/dist/aisdk.js +106 -106
  5. package/dist/app.js +7 -7
  6. package/dist/bus.js +78 -78
  7. package/dist/chunks/{credential-kvvwtbv8.js → model-resolver-02dx1ydf.js} +29 -29
  8. package/dist/chunks/{credential-h5kmqadq.js → model-resolver-063c2dw3.js} +13 -13
  9. package/dist/chunks/{credential-6fvxxg60.js → model-resolver-07ws46e7.js} +22 -22
  10. package/dist/chunks/{credential-vx3jgdek.js → model-resolver-08rawchj.js} +3 -3
  11. package/dist/chunks/{credential-9qcg53ez.js → model-resolver-0gbb59p9.js} +9 -9
  12. package/dist/chunks/{credential-e9rx3qe8.js → model-resolver-0m6n6j4y.js} +11 -11
  13. package/dist/chunks/{credential-7tgk2ckz.js → model-resolver-0v7r2g4g.js} +17 -17
  14. package/dist/chunks/{credential-12h4w7eb.js → model-resolver-0vfcpktn.js} +11 -11
  15. package/dist/chunks/{credential-92cn2t4g.js → model-resolver-0xgy9r8e.js} +8 -8
  16. package/dist/chunks/{credential-4gnj7q94.js → model-resolver-0ydkeekf.js} +5 -5
  17. package/dist/chunks/{credential-33rwgczv.js → model-resolver-11dc3axx.js} +19 -19
  18. package/dist/chunks/{credential-2g02qr0r.js → model-resolver-11emykvz.js} +12 -12
  19. package/dist/chunks/{credential-ytjvy0qw.js → model-resolver-1becz5h9.js} +30 -30
  20. package/dist/chunks/{credential-sskrz1rw.js → model-resolver-1ffmcay5.js} +28 -28
  21. package/dist/chunks/{credential-34e87nx4.js → model-resolver-1fmezaeg.js} +21 -21
  22. package/dist/chunks/{credential-3kaedtbj.js → model-resolver-1k5rjxjy.js} +21 -21
  23. package/dist/chunks/{credential-xt0z8zst.js → model-resolver-1kn6jdkn.js} +4 -4
  24. package/dist/chunks/{credential-2wav6r65.js → model-resolver-1trhz39y.js} +43 -43
  25. package/dist/chunks/{credential-4zsb5k87.js → model-resolver-1vhabajd.js} +11 -11
  26. package/dist/chunks/{credential-yvt4z0b8.js → model-resolver-1vk60n2f.js} +45 -45
  27. package/dist/chunks/{credential-1x2knyw4.js → model-resolver-1x2knyw4.js} +1 -1
  28. package/dist/chunks/{credential-1yq9hg58.js → model-resolver-1yq9hg58.js} +1 -1
  29. package/dist/chunks/{credential-204s3925.js → model-resolver-204s3925.js} +1 -1
  30. package/dist/chunks/{credential-25h84942.js → model-resolver-25h84942.js} +1 -1
  31. package/dist/chunks/{credential-1ep2p91f.js → model-resolver-27w5k9zf.js} +2 -2
  32. package/dist/chunks/{credential-afhevj5w.js → model-resolver-2eaj99b9.js} +12 -12
  33. package/dist/chunks/{credential-z51dnz1g.js → model-resolver-2g0sbjxs.js} +5 -5
  34. package/dist/chunks/{credential-fea2mecn.js → model-resolver-2ggryvv9.js} +7 -7
  35. package/dist/chunks/{credential-mv2fpsaq.js → model-resolver-2q3gj68p.js} +16 -16
  36. package/dist/chunks/{credential-7n02w7qn.js → model-resolver-2vxh8fhb.js} +43 -43
  37. package/dist/chunks/{credential-2zp5a6yg.js → model-resolver-2zp5a6yg.js} +1 -1
  38. package/dist/chunks/{credential-4kjz03p0.js → model-resolver-313g21r6.js} +20 -20
  39. package/dist/chunks/{credential-pm3q2zxn.js → model-resolver-31wms35x.js} +8 -8
  40. package/dist/chunks/{credential-nb115p4b.js → model-resolver-32ss13k6.js} +17 -17
  41. package/dist/chunks/{credential-xm0pdva2.js → model-resolver-35xw48cm.js} +40 -40
  42. package/dist/chunks/{credential-ayjs7tqn.js → model-resolver-3cbjf1nt.js} +2 -2
  43. package/dist/chunks/{credential-a06br7p4.js → model-resolver-3g5sjqyx.js} +24 -24
  44. package/dist/chunks/{credential-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
  45. package/dist/chunks/{credential-y38nte2y.js → model-resolver-3smabe4s.js} +6 -6
  46. package/dist/chunks/{credential-t1qmvjvb.js → model-resolver-3smfssvs.js} +32 -32
  47. package/dist/chunks/{credential-n65rh0xd.js → model-resolver-3vb79mvp.js} +43 -43
  48. package/dist/chunks/{credential-tqg17mva.js → model-resolver-4695y15q.js} +32 -32
  49. package/dist/chunks/{credential-tp62qny7.js → model-resolver-4cb8ky4x.js} +11 -11
  50. package/dist/chunks/{credential-k9ayha1m.js → model-resolver-4p7w50sn.js} +4 -4
  51. package/dist/chunks/{credential-4pyp9zr9.js → model-resolver-4pyp9zr9.js} +1 -1
  52. package/dist/chunks/{credential-44jn1514.js → model-resolver-4s29f17y.js} +13 -13
  53. package/dist/chunks/{credential-4v008n1t.js → model-resolver-4v008n1t.js} +1 -1
  54. package/dist/chunks/{credential-9vp6aqcz.js → model-resolver-4yq7vp74.js} +16 -16
  55. package/dist/chunks/{credential-hezj4sa2.js → model-resolver-515dar09.js} +8 -8
  56. package/dist/chunks/{credential-5enarcya.js → model-resolver-5enarcya.js} +2 -2
  57. package/dist/chunks/{credential-66304bnq.js → model-resolver-5m5zgeb0.js} +28 -28
  58. package/dist/chunks/{credential-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
  59. package/dist/chunks/{credential-w1tnk1sc.js → model-resolver-5mvx2mvy.js} +4 -4
  60. package/dist/chunks/{credential-yyv7g89v.js → model-resolver-5n0y2fx9.js} +13 -13
  61. package/dist/chunks/{credential-wtn5j8ff.js → model-resolver-5pmynce3.js} +1 -1
  62. package/dist/chunks/{credential-ac39bgbj.js → model-resolver-5qp8d7cx.js} +34 -34
  63. package/dist/chunks/{credential-hjx8amkq.js → model-resolver-5tmges1f.js} +5 -5
  64. package/dist/chunks/{credential-s8xxgn4g.js → model-resolver-5vtcv6tm.js} +4 -4
  65. package/dist/chunks/{credential-3ct3v2ns.js → model-resolver-64qhrwmr.js} +11 -11
  66. package/dist/chunks/{credential-j93e60fq.js → model-resolver-657gm9p4.js} +36 -36
  67. package/dist/chunks/{credential-myskz43g.js → model-resolver-68qqfsms.js} +2 -2
  68. package/dist/chunks/{credential-ppvmsckx.js → model-resolver-69zkvrr3.js} +11 -11
  69. package/dist/chunks/{credential-t3p3y0b7.js → model-resolver-6c3vfjz9.js} +23 -23
  70. package/dist/chunks/{credential-h4t863wd.js → model-resolver-6ckjvz5e.js} +17 -17
  71. package/dist/chunks/{credential-6esdw8yj.js → model-resolver-6esdw8yj.js} +1 -1
  72. package/dist/chunks/{credential-xf8b1wk9.js → model-resolver-6et83057.js} +26 -26
  73. package/dist/chunks/{credential-02074jrw.js → model-resolver-6kq6serr.js} +50 -50
  74. package/dist/chunks/{credential-dkvmgk9x.js → model-resolver-6p643g3y.js} +18 -18
  75. package/dist/chunks/{credential-3pw2198r.js → model-resolver-75k6z3we.js} +77 -77
  76. package/dist/chunks/{credential-kmv1hb68.js → model-resolver-77zj4qhz.js} +6 -6
  77. package/dist/chunks/{credential-k532z9bf.js → model-resolver-78c837sc.js} +15 -15
  78. package/dist/chunks/{credential-1ke0ebjk.js → model-resolver-7atzhzg1.js} +6 -6
  79. package/dist/chunks/{credential-4zrcmfpw.js → model-resolver-7azjgpqp.js} +9 -9
  80. package/dist/chunks/{credential-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
  81. package/dist/chunks/{credential-bf19td7e.js → model-resolver-7j1pv54n.js} +4 -4
  82. package/dist/chunks/{credential-agqd6nxz.js → model-resolver-7sdtxe0n.js} +4 -4
  83. package/dist/chunks/{credential-1jakw16s.js → model-resolver-7stb81gk.js} +2 -1
  84. package/dist/chunks/{credential-h4p3pyf8.js → model-resolver-7vyv40s2.js} +6 -6
  85. package/dist/chunks/{credential-7w2ypzdf.js → model-resolver-7w2ypzdf.js} +1 -1
  86. package/dist/chunks/{credential-vbhg7a8p.js → model-resolver-7x1geb87.js} +45 -45
  87. package/dist/chunks/{credential-2vp3eae7.js → model-resolver-7xgdsbra.js} +12 -12
  88. package/dist/chunks/{credential-x9hr9mw5.js → model-resolver-7ykpe2ae.js} +32 -32
  89. package/dist/chunks/{credential-vvbgnqg2.js → model-resolver-8anejt09.js} +16 -16
  90. package/dist/chunks/{credential-8dfptpqb.js → model-resolver-8dfptpqb.js} +1 -1
  91. package/dist/chunks/{credential-69r9be3z.js → model-resolver-8fbg0anr.js} +35 -35
  92. package/dist/chunks/{credential-78r8et96.js → model-resolver-8jwdfq57.js} +9 -9
  93. package/dist/chunks/{credential-11hfp36g.js → model-resolver-8jztxfpf.js} +4 -4
  94. package/dist/chunks/{credential-65v26sy5.js → model-resolver-8rsr0xkw.js} +22 -22
  95. package/dist/chunks/{credential-mbq8kt07.js → model-resolver-8tcsqa0t.js} +8 -8
  96. package/dist/chunks/{credential-eqkje2vh.js → model-resolver-8wcv8eb0.js} +18 -18
  97. package/dist/chunks/{credential-8wtp7s3z.js → model-resolver-8wtp7s3z.js} +1 -1
  98. package/dist/chunks/{credential-mb7mbhnz.js → model-resolver-8z6m94af.js} +3 -3
  99. package/dist/chunks/{credential-90zstvax.js → model-resolver-90zstvax.js} +1 -1
  100. package/dist/chunks/{credential-m0w0bb4h.js → model-resolver-92c52cwg.js} +5 -5
  101. package/dist/chunks/{credential-xk2zn0cv.js → model-resolver-95sp4hdf.js} +4 -4
  102. package/dist/chunks/{credential-sgwnnnm7.js → model-resolver-9fttyw1y.js} +10 -10
  103. package/dist/chunks/{credential-a3a7mjkh.js → model-resolver-9k0vd1xz.js} +23 -23
  104. package/dist/chunks/{credential-9a1tdgr3.js → model-resolver-9kxateg7.js} +25 -25
  105. package/dist/chunks/{credential-rbftx08j.js → model-resolver-9pk8dvwz.js} +3 -3
  106. package/dist/chunks/{credential-mmx1mfjr.js → model-resolver-9q8g9sv8.js} +4 -4
  107. package/dist/chunks/{credential-3kdbrncp.js → model-resolver-9s06frge.js} +2 -2
  108. package/dist/chunks/{credential-nr90vwd5.js → model-resolver-a7hpf3a9.js} +8 -8
  109. package/dist/chunks/{credential-z8fzb2rn.js → model-resolver-a8ts2hq9.js} +29 -29
  110. package/dist/chunks/{credential-w4xkkccr.js → model-resolver-a8x35daw.js} +5 -5
  111. package/dist/chunks/{credential-034tev2y.js → model-resolver-aj7mw0zk.js} +2 -2
  112. package/dist/chunks/{credential-eahpwh8e.js → model-resolver-b1b4s2tq.js} +4 -4
  113. package/dist/chunks/{credential-5nnwax6m.js → model-resolver-b6vsg801.js} +5 -5
  114. package/dist/chunks/{credential-jx93w0c5.js → model-resolver-b7x6vb0f.js} +15 -15
  115. package/dist/chunks/{credential-2xpqyv5y.js → model-resolver-b9npwed2.js} +19 -19
  116. package/dist/chunks/{credential-jera5sqk.js → model-resolver-bb1pme7h.js} +17 -17
  117. package/dist/chunks/{credential-mv2126ff.js → model-resolver-bkccqnab.js} +24 -24
  118. package/dist/chunks/{credential-cpvd08na.js → model-resolver-br0kkpnn.js} +7 -7
  119. package/dist/chunks/{credential-f758g5wm.js → model-resolver-brzye0d0.js} +2 -2
  120. package/dist/chunks/{credential-xd9cc171.js → model-resolver-bstexjd6.js} +5 -5
  121. package/dist/chunks/{credential-wfv6mr0t.js → model-resolver-bx2chj7s.js} +22 -22
  122. package/dist/chunks/{credential-13mbnmkz.js → model-resolver-bzneqfrw.js} +30 -30
  123. package/dist/chunks/{credential-z3390mnz.js → model-resolver-c2wdctvm.js} +47 -47
  124. package/dist/chunks/{credential-81a9zpe2.js → model-resolver-c5m2a8vb.js} +8 -8
  125. package/dist/chunks/{credential-pcspc0c8.js → model-resolver-caqz8vzx.js} +17 -17
  126. package/dist/chunks/{credential-j499rj47.js → model-resolver-cfcqqf1a.js} +4 -4
  127. package/dist/chunks/{credential-fpy4nybh.js → model-resolver-chyqkg4j.js} +11 -11
  128. package/dist/chunks/{credential-rsw4x5nh.js → model-resolver-cqjy0jsh.js} +22 -22
  129. package/dist/chunks/{credential-02gdc367.js → model-resolver-cw59ztwq.js} +21 -21
  130. package/dist/chunks/{credential-cwrgdav8.js → model-resolver-cwrgdav8.js} +2 -2
  131. package/dist/chunks/{credential-wnk70846.js → model-resolver-cxstdmn9.js} +30 -30
  132. package/dist/chunks/{credential-wzrertcx.js → model-resolver-d6t4gzf8.js} +15 -15
  133. package/dist/chunks/{credential-zhmdrh6b.js → model-resolver-dgwg4nab.js} +16 -16
  134. package/dist/chunks/{credential-ewvsv6ts.js → model-resolver-dgy090gd.js} +5 -5
  135. package/dist/chunks/{credential-fh48twx0.js → model-resolver-dq8p8g98.js} +11 -11
  136. package/dist/chunks/{credential-87e13nka.js → model-resolver-ds2f0rmb.js} +3 -3
  137. package/dist/chunks/{credential-dt77769w.js → model-resolver-dt77769w.js} +1 -1
  138. package/dist/chunks/{credential-7j68yrtf.js → model-resolver-e19czkbx.js} +34 -34
  139. package/dist/chunks/{credential-z017em5h.js → model-resolver-e3p762jb.js} +14 -14
  140. package/dist/chunks/{credential-zfyyea20.js → model-resolver-e42rb5nh.js} +7 -7
  141. package/dist/chunks/{credential-0330sawq.js → model-resolver-e5vm4r2z.js} +5 -5
  142. package/dist/chunks/{credential-e834z07m.js → model-resolver-e834z07m.js} +1 -1
  143. package/dist/chunks/{credential-4hqwqpkp.js → model-resolver-ebw1bbd1.js} +79 -79
  144. package/dist/chunks/{credential-2pe161ac.js → model-resolver-em9d63hf.js} +15 -15
  145. package/dist/chunks/{credential-nbg1eymv.js → model-resolver-eyejk55r.js} +5 -5
  146. package/dist/chunks/{credential-p9g1pat1.js → model-resolver-fb0ffggm.js} +29 -29
  147. package/dist/chunks/{credential-fffv3p7h.js → model-resolver-fffv3p7h.js} +1 -1
  148. package/dist/chunks/{credential-fg9p65nk.js → model-resolver-fg9p65nk.js} +2 -2
  149. package/dist/chunks/{credential-88f4ansx.js → model-resolver-fvz2a291.js} +15 -15
  150. package/dist/chunks/{credential-60d2znf6.js → model-resolver-g0287tj7.js} +4 -4
  151. package/dist/chunks/{credential-ds6gwmx6.js → model-resolver-g60d9pja.js} +8 -8
  152. package/dist/chunks/{credential-584z8fgw.js → model-resolver-g7e31nf0.js} +39 -39
  153. package/dist/chunks/{credential-rmm621gb.js → model-resolver-gf94v7ds.js} +12 -12
  154. package/dist/chunks/{credential-aafav67h.js → model-resolver-ghsy9na1.js} +28 -28
  155. package/dist/chunks/{credential-2r1210wt.js → model-resolver-gj0tv93d.js} +10 -10
  156. package/dist/chunks/{credential-d4v9tmah.js → model-resolver-gn8tkhbf.js} +2 -2
  157. package/dist/chunks/{credential-w0sctsdt.js → model-resolver-gxn61zhy.js} +2 -2
  158. package/dist/chunks/{credential-k8v5aqnf.js → model-resolver-h4ydfc35.js} +10 -10
  159. package/dist/chunks/{credential-vqe08nj1.js → model-resolver-haawhqgr.js} +25 -25
  160. package/dist/chunks/{credential-ww4her3p.js → model-resolver-hckvh4sv.js} +35 -35
  161. package/dist/chunks/{credential-r0yr0wbs.js → model-resolver-hh7kjqtw.js} +2 -1
  162. package/dist/chunks/{credential-zhd9tgn6.js → model-resolver-hjbr58an.js} +25 -25
  163. package/dist/chunks/{credential-hpg1pkwy.js → model-resolver-hpg1pkwy.js} +1 -1
  164. package/dist/chunks/{credential-yc1k612c.js → model-resolver-hskmxh3h.js} +9 -9
  165. package/dist/chunks/{credential-n786j7gq.js → model-resolver-hwtwmcxj.js} +11 -11
  166. package/dist/chunks/{credential-tg1vr1qt.js → model-resolver-hy8c1z76.js} +8 -8
  167. package/dist/chunks/{credential-b83byfam.js → model-resolver-j8bdajc7.js} +8 -8
  168. package/dist/chunks/{credential-a38b7w2q.js → model-resolver-j97kzcev.js} +5 -5
  169. package/dist/chunks/{credential-c1z88dhz.js → model-resolver-jb1qvvx4.js} +3 -3
  170. package/dist/chunks/{credential-fv02tqgz.js → model-resolver-jcf07173.js} +13 -13
  171. package/dist/chunks/{credential-jfaecv01.js → model-resolver-jfaecv01.js} +1 -1
  172. package/dist/chunks/{credential-jtnps1zs.js → model-resolver-jtnps1zs.js} +2 -2
  173. package/dist/chunks/{credential-wwgpyqzb.js → model-resolver-jv2xnyk0.js} +9 -9
  174. package/dist/chunks/{credential-96f366mh.js → model-resolver-jvpt39xs.js} +12 -12
  175. package/dist/chunks/{credential-9gmdzyfg.js → model-resolver-k07k3amx.js} +21 -21
  176. package/dist/chunks/{credential-384pxm0c.js → model-resolver-k17w2jj8.js} +15 -15
  177. package/dist/chunks/{credential-k814nvkf.js → model-resolver-k814nvkf.js} +1 -1
  178. package/dist/chunks/{credential-k9zkdd2y.js → model-resolver-k9zkdd2y.js} +1 -1
  179. package/dist/chunks/{credential-y73ydd0q.js → model-resolver-khm9g9rn.js} +28 -28
  180. package/dist/chunks/{credential-79se5gqs.js → model-resolver-kk4m6xpk.js} +12 -12
  181. package/dist/chunks/{credential-50ttnce6.js → model-resolver-kkq9589k.js} +57 -57
  182. package/dist/chunks/{credential-edz3vk4c.js → model-resolver-kmjd8e1b.js} +12 -12
  183. package/dist/chunks/{credential-kt3bjfbg.js → model-resolver-kt3bjfbg.js} +1 -1
  184. package/dist/chunks/{credential-gnzzs75r.js → model-resolver-m0qw3cnp.js} +5 -5
  185. package/dist/chunks/{credential-m1714858.js → model-resolver-m1714858.js} +1 -1
  186. package/dist/chunks/{credential-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
  187. package/dist/chunks/{credential-xby0v85x.js → model-resolver-mehbn690.js} +6 -6
  188. package/dist/chunks/{credential-5ntfweg7.js → model-resolver-mekmjhn9.js} +32 -32
  189. package/dist/chunks/{credential-s7gmm2q3.js → model-resolver-mg356nz4.js} +3 -3
  190. package/dist/chunks/{credential-1t4t88x3.js → model-resolver-mkg7mbq5.js} +33 -33
  191. package/dist/chunks/{credential-1qsv2p2w.js → model-resolver-mkw2jwqb.js} +3 -3
  192. package/dist/chunks/{credential-t1pz09kx.js → model-resolver-mqtbfpst.js} +18 -18
  193. package/dist/chunks/{credential-7evtdt3e.js → model-resolver-mwz57098.js} +4 -4
  194. package/dist/chunks/{credential-jwskecy1.js → model-resolver-mxynyzfm.js} +12 -12
  195. package/dist/chunks/{credential-nb5fst4x.js → model-resolver-n3ms51k8.js} +6 -6
  196. package/dist/chunks/{credential-xr0813vk.js → model-resolver-n516hxxc.js} +33 -33
  197. package/dist/chunks/{credential-nah043kf.js → model-resolver-nah043kf.js} +1 -1
  198. package/dist/chunks/{credential-4y8p0etd.js → model-resolver-ngbjhm7w.js} +23 -23
  199. package/dist/chunks/{credential-9dyz4be8.js → model-resolver-nma643tt.js} +7 -7
  200. package/dist/chunks/{credential-fypmhnps.js → model-resolver-np3f7rt0.js} +2 -2
  201. package/dist/chunks/{credential-j00x2d5t.js → model-resolver-np47h428.js} +4 -4
  202. package/dist/chunks/{credential-0m9q59s6.js → model-resolver-nttn14j9.js} +4 -4
  203. package/dist/chunks/{credential-p015t6z3.js → model-resolver-p015t6z3.js} +2 -2
  204. package/dist/chunks/{credential-6g2dzwcy.js → model-resolver-p1mde3sk.js} +191 -191
  205. package/dist/chunks/{credential-a3975399.js → model-resolver-p2hg2bey.js} +12 -12
  206. package/dist/chunks/{credential-p580ev26.js → model-resolver-p580ev26.js} +1 -1
  207. package/dist/chunks/{credential-6qwvma6z.js → model-resolver-pjtyxbjq.js} +17 -17
  208. package/dist/chunks/{credential-pknna89w.js → model-resolver-pknna89w.js} +1 -1
  209. package/dist/chunks/{credential-gqk9gxfj.js → model-resolver-pp05edzg.js} +11 -11
  210. package/dist/chunks/{credential-7xrs9a5d.js → model-resolver-pp0pn87f.js} +5 -5
  211. package/dist/chunks/{credential-jvn8ph2p.js → model-resolver-pvp6fg14.js} +11 -11
  212. package/dist/chunks/{credential-yara3q77.js → model-resolver-pxtfkpje.js} +2 -2
  213. package/dist/chunks/{credential-998ewk3b.js → model-resolver-pyw9tktf.js} +17 -17
  214. package/dist/chunks/{credential-ayvz2n09.js → model-resolver-pz4bxmc0.js} +5 -5
  215. package/dist/chunks/{credential-z01m528w.js → model-resolver-qc0dffe1.js} +16 -16
  216. package/dist/chunks/{credential-ef6q3xef.js → model-resolver-qf7wdzx4.js} +72 -72
  217. package/dist/chunks/{credential-6n1skpzs.js → model-resolver-qjd35q55.js} +14 -14
  218. package/dist/chunks/{credential-qp7r0hxv.js → model-resolver-qp7r0hxv.js} +1 -1
  219. package/dist/chunks/{credential-yv1jexcb.js → model-resolver-qqg00k1m.js} +10 -10
  220. package/dist/chunks/{credential-qqvy8y24.js → model-resolver-qqvy8y24.js} +1 -1
  221. package/dist/chunks/{credential-7vh1qcpk.js → model-resolver-qr5k2are.js} +10 -10
  222. package/dist/chunks/model-resolver-qs8a0pvz.js +535 -0
  223. package/dist/chunks/{credential-qe54a3zp.js → model-resolver-r3jnkjvn.js} +46 -46
  224. package/dist/chunks/{credential-sm7psbfm.js → model-resolver-r3n6xbzs.js} +18 -18
  225. package/dist/chunks/{credential-9wp8352v.js → model-resolver-r44vdp06.js} +3 -3
  226. package/dist/chunks/{credential-yaxy9fpa.js → model-resolver-r4h5gr85.js} +23 -23
  227. package/dist/chunks/{credential-jcqm84fr.js → model-resolver-r4pwrx75.js} +9 -9
  228. package/dist/chunks/{credential-r542h3bh.js → model-resolver-r542h3bh.js} +1 -1
  229. package/dist/chunks/{credential-g3p0mxj8.js → model-resolver-rae286de.js} +4 -4
  230. package/dist/chunks/model-resolver-rb7the7a.js +257 -0
  231. package/dist/chunks/{credential-rb9dy4dg.js → model-resolver-rb9dy4dg.js} +1 -1
  232. package/dist/chunks/{credential-a1226ymt.js → model-resolver-rnndk4m8.js} +48 -48
  233. package/dist/chunks/{credential-rt5dr6hb.js → model-resolver-rt5dr6hb.js} +1 -1
  234. package/dist/chunks/{credential-1rtcg5pt.js → model-resolver-rx6q88jc.js} +19 -19
  235. package/dist/chunks/{credential-q45fvp3e.js → model-resolver-rzex016b.js} +6 -6
  236. package/dist/chunks/{credential-ys32d0ez.js → model-resolver-s3gmcb39.js} +9 -9
  237. package/dist/chunks/model-resolver-s9kkzxe3.js +26 -0
  238. package/dist/chunks/{credential-sa3fpqfw.js → model-resolver-sa3fpqfw.js} +2 -2
  239. package/dist/chunks/{credential-rrfeqsm8.js → model-resolver-sew631bv.js} +25 -25
  240. package/dist/chunks/{credential-6astz3f9.js → model-resolver-sfh5xs5y.js} +30 -30
  241. package/dist/chunks/{credential-rfrz2qbb.js → model-resolver-spbwh0fp.js} +21 -21
  242. package/dist/chunks/{credential-sqjzf8x2.js → model-resolver-sqjzf8x2.js} +1 -1
  243. package/dist/chunks/{credential-2b7qrkd5.js → model-resolver-srpyah9m.js} +40 -40
  244. package/dist/chunks/{credential-ssfehs1z.js → model-resolver-ssfehs1z.js} +1 -1
  245. package/dist/chunks/{credential-svcy3p9a.js → model-resolver-svcy3p9a.js} +1 -1
  246. package/dist/chunks/{credential-fjds1fn3.js → model-resolver-sy8vd0m2.js} +5 -5
  247. package/dist/chunks/{credential-2dh97hnq.js → model-resolver-t3tgzswk.js} +28 -28
  248. package/dist/chunks/{credential-2teqx1fj.js → model-resolver-tc5b1bny.js} +24 -24
  249. package/dist/chunks/{credential-tczq8hjw.js → model-resolver-tczq8hjw.js} +1 -1
  250. package/dist/chunks/{credential-yz5sb0gz.js → model-resolver-terez3x2.js} +11 -11
  251. package/dist/chunks/{credential-bk9s8j1w.js → model-resolver-tjbktcma.js} +24 -24
  252. package/dist/chunks/{credential-kv8hcqvx.js → model-resolver-tjvxx29a.js} +13 -13
  253. package/dist/chunks/{credential-4na4vtxt.js → model-resolver-tkbmyhb4.js} +2 -2
  254. package/dist/chunks/{credential-3nnrz6f6.js → model-resolver-tmc7xdjs.js} +4 -4
  255. package/dist/chunks/{credential-vqavkb0r.js → model-resolver-tv7z3yt9.js} +8 -8
  256. package/dist/chunks/{credential-twssxy5n.js → model-resolver-twssxy5n.js} +2 -2
  257. package/dist/chunks/{credential-h6hc5rex.js → model-resolver-v1tvskx9.js} +14 -14
  258. package/dist/chunks/{credential-v2r1d0zg.js → model-resolver-v2r1d0zg.js} +1 -1
  259. package/dist/chunks/{credential-3j1m3tq4.js → model-resolver-v54nvb2h.js} +2 -2
  260. package/dist/chunks/{credential-d3wqtg9z.js → model-resolver-v7h6andt.js} +21 -21
  261. package/dist/chunks/{credential-b5nc9mwq.js → model-resolver-ve4251vb.js} +18 -18
  262. package/dist/chunks/{credential-2jm7sg1n.js → model-resolver-vf9vzdpy.js} +27 -27
  263. package/dist/chunks/{credential-gv0qvba3.js → model-resolver-vja3zs8n.js} +7 -7
  264. package/dist/chunks/{credential-xg75fqpv.js → model-resolver-w2y2s0n1.js} +20 -20
  265. package/dist/chunks/{credential-m5ybn5jf.js → model-resolver-w3d76d98.js} +18 -18
  266. package/dist/chunks/{credential-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
  267. package/dist/chunks/{credential-wr3re1en.js → model-resolver-w687dnns.js} +4 -4
  268. package/dist/chunks/{credential-wae28k01.js → model-resolver-w6v5sxdw.js} +9 -9
  269. package/dist/chunks/{credential-b6y9tnyb.js → model-resolver-w7d7mz6q.js} +10 -10
  270. package/dist/chunks/{credential-w8qtt4th.js → model-resolver-w8qtt4th.js} +1 -1
  271. package/dist/chunks/{credential-xsact9zs.js → model-resolver-w9w8mt4n.js} +4 -4
  272. package/dist/chunks/{credential-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
  273. package/dist/chunks/{credential-x657mhw6.js → model-resolver-wd1xcya7.js} +15 -15
  274. package/dist/chunks/{credential-wd87259q.js → model-resolver-wd87259q.js} +1 -1
  275. package/dist/chunks/{credential-ye0pyk4z.js → model-resolver-whz0tbn3.js} +21 -21
  276. package/dist/chunks/{credential-rgg7ckaw.js → model-resolver-wnb85yzk.js} +21 -21
  277. package/dist/chunks/{credential-wnhgecwx.js → model-resolver-wnhgecwx.js} +1 -1
  278. package/dist/chunks/{credential-9s4r78yd.js → model-resolver-x09jv9p1.js} +5 -5
  279. package/dist/chunks/{credential-hszqsyww.js → model-resolver-x32t5qxa.js} +10 -10
  280. package/dist/chunks/{credential-60jz9eyc.js → model-resolver-x5qgebf8.js} +23 -23
  281. package/dist/chunks/{credential-z2qbjhyn.js → model-resolver-x6pyv2yz.js} +5 -5
  282. package/dist/chunks/{credential-6869n964.js → model-resolver-xeg3jkwn.js} +15 -15
  283. package/dist/chunks/{credential-4ewbr215.js → model-resolver-xgew9n4h.js} +8 -8
  284. package/dist/chunks/{credential-3r2mjcrp.js → model-resolver-xn46eh9z.js} +13 -13
  285. package/dist/chunks/{credential-m37sd98t.js → model-resolver-xnh55p1t.js} +5 -5
  286. package/dist/chunks/{credential-xz9rerx7.js → model-resolver-xzj8w313.js} +23 -23
  287. package/dist/chunks/{credential-85ns452d.js → model-resolver-y6scp2pe.js} +48 -48
  288. package/dist/chunks/{credential-yb20nhc3.js → model-resolver-yb20nhc3.js} +1 -1
  289. package/dist/chunks/{credential-95byvzjw.js → model-resolver-yeyfr6zk.js} +11 -11
  290. package/dist/chunks/{credential-ymz7p2c9.js → model-resolver-ymz7p2c9.js} +3 -3
  291. package/dist/chunks/{credential-cm2hyy18.js → model-resolver-yrgtjhcx.js} +8 -8
  292. package/dist/chunks/{credential-p8ke63yd.js → model-resolver-ywp21z45.js} +4 -4
  293. package/dist/chunks/{credential-ch2d8ay7.js → model-resolver-z00f7qmg.js} +26 -26
  294. package/dist/chunks/{credential-z38nccrw.js → model-resolver-z38nccrw.js} +1 -1
  295. package/dist/chunks/{credential-jypxyda9.js → model-resolver-z4qcr8nf.js} +23 -23
  296. package/dist/chunks/model-resolver-z7bdqmx5.js +18 -0
  297. package/dist/chunks/{credential-38bbyr5m.js → model-resolver-zbs0ay32.js} +19 -19
  298. package/dist/chunks/{credential-vaq1yek0.js → model-resolver-zg0jbn27.js} +3 -3
  299. package/dist/chunks/{credential-9f3sjfep.js → model-resolver-zh7bbm8x.js} +9 -9
  300. package/dist/chunks/{credential-1fqvap8y.js → model-resolver-zpxk6q5d.js} +15 -15
  301. package/dist/codemode/catalog.js +1 -1
  302. package/dist/codemode/instructions.js +9 -9
  303. package/dist/codemode/tool.js +3 -3
  304. package/dist/codemode/web.js +1 -1
  305. package/dist/command.js +94 -94
  306. package/dist/config/discovery.js +93 -93
  307. package/dist/config/integration.js +1 -1
  308. package/dist/config/markdown.js +1 -1
  309. package/dist/config/normalize.js +110 -110
  310. package/dist/config/plugin/agent.js +124 -124
  311. package/dist/config/plugin/command.js +222 -222
  312. package/dist/config/plugin/compaction.js +165 -165
  313. package/dist/config/plugin/compatibility.js +145 -145
  314. package/dist/config/plugin/entry-observer.js +1 -1
  315. package/dist/config/plugin/formatter.js +125 -125
  316. package/dist/config/plugin/image.js +124 -124
  317. package/dist/config/plugin/instruction.js +124 -124
  318. package/dist/config/plugin/location-watcher.js +124 -124
  319. package/dist/config/plugin/mcp.js +131 -131
  320. package/dist/config/plugin/policy.js +126 -126
  321. package/dist/config/plugin/provider.js +125 -125
  322. package/dist/config/plugin/reference.js +126 -126
  323. package/dist/config/plugin/shell.js +124 -124
  324. package/dist/config/plugin/skill-file.js +141 -141
  325. package/dist/config/plugin/skill-scan.js +1 -1
  326. package/dist/config/plugin/skill.js +146 -146
  327. package/dist/config/plugin/snapshot.js +124 -124
  328. package/dist/config/plugin/source.js +121 -121
  329. package/dist/config/plugin/tool-output.js +125 -125
  330. package/dist/config/plugin/websearch.js +123 -123
  331. package/dist/config/plugin/worktree.js +126 -126
  332. package/dist/config/variable.js +1 -1
  333. package/dist/config/watch.js +1 -1
  334. package/dist/config.js +125 -125
  335. package/dist/console-access.js +1 -1
  336. package/dist/credential/sql.js +2 -2
  337. package/dist/credential.js +92 -92
  338. package/dist/database/database.js +75 -75
  339. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  340. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  341. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  342. package/dist/database/drizzle/index.js +15 -15
  343. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  344. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  345. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  346. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  347. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  348. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  349. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  350. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  351. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  352. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  353. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  354. package/dist/database/drizzle.js +16 -16
  355. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  356. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  357. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  358. package/dist/database/migration/20260225215848_workspace.js +1 -1
  359. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  360. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  361. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  362. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  363. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  364. package/dist/database/migration/20260323234822_events.js +1 -1
  365. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  366. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  367. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  368. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  369. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  370. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  371. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  372. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  373. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  374. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  375. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  376. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  377. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  378. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  379. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  380. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  381. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  382. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  383. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  384. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  385. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  386. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  387. package/dist/database/migration/20260611035744_credential.js +1 -1
  388. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  389. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  390. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  391. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  392. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  393. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  394. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  395. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  396. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  397. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  398. package/dist/database/migration/20260812213948_worktree.js +1 -1
  399. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  400. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  401. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  402. package/dist/database/migration/20260923013825_project_time_active.js +1 -1
  403. package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
  404. package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
  405. package/dist/database/migration/20261024002554_session_allowance.js +1 -1
  406. package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
  407. package/dist/database/migration/20261025123711_blob.js +1 -1
  408. package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
  409. package/dist/database/migration/20261026223005_schedule.js +1 -1
  410. package/dist/database/migration/20261029002625_session_part.js +1 -1
  411. package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
  412. package/dist/database/migration.gen.js +58 -58
  413. package/dist/database/migration.js +60 -60
  414. package/dist/database/path.js +2 -2
  415. package/dist/database/schema.gen.js +1 -1
  416. package/dist/database/schema.sql.js +1 -1
  417. package/dist/database/sqlite.bun.js +1 -1
  418. package/dist/database/sqlite.js +1 -1
  419. package/dist/database/sqlite.node.js +1 -1
  420. package/dist/database/sqlite.workerd.js +2 -1
  421. package/dist/database/v1-migration.bun.js +103 -103
  422. package/dist/database/v1-migration.js +1 -1
  423. package/dist/effect/app-node-builder.js +382 -382
  424. package/dist/effect/app-node-platform.js +2 -2
  425. package/dist/effect/keyed-mutex.js +3 -3
  426. package/dist/effect/websocket-constructor.js +1 -1
  427. package/dist/environment/driver.js +1 -1
  428. package/dist/environment/environment.js +104 -104
  429. package/dist/environment/exec-defaults.js +2 -2
  430. package/dist/environment/files.js +1 -1
  431. package/dist/environment/index.js +106 -106
  432. package/dist/environment/local.js +2 -2
  433. package/dist/environment/memory.js +2 -2
  434. package/dist/environment/unavailable.js +3 -3
  435. package/dist/event/sql.js +1 -1
  436. package/dist/event-logger.js +79 -79
  437. package/dist/file-access.js +151 -151
  438. package/dist/file-mutation.js +105 -105
  439. package/dist/file-retention.js +1 -1
  440. package/dist/filesystem/fff.bun.js +2 -2
  441. package/dist/filesystem/fff.js +1 -1
  442. package/dist/filesystem/fff.node.js +2 -2
  443. package/dist/filesystem/fff.workerd.js +2 -2
  444. package/dist/filesystem/file-watch.js +86 -86
  445. package/dist/filesystem/location-watcher-policy.js +6 -6
  446. package/dist/filesystem/location-watcher.js +235 -235
  447. package/dist/filesystem/protected.js +1 -1
  448. package/dist/filesystem/search.js +108 -108
  449. package/dist/filesystem/watcher-binding.js +1 -1
  450. package/dist/filesystem/watcher.js +9 -9
  451. package/dist/filesystem.js +115 -115
  452. package/dist/form.js +91 -91
  453. package/dist/formatter/builtins.js +2 -2
  454. package/dist/formatter.js +98 -98
  455. package/dist/generate.js +118 -118
  456. package/dist/git.js +11 -11
  457. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  458. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  459. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  460. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  461. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  462. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  463. package/dist/github-copilot/copilot-provider.js +17 -17
  464. package/dist/github-copilot/models.js +110 -110
  465. package/dist/github-copilot/openai-compatible-error.js +1 -1
  466. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  467. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  468. package/dist/github-copilot/responses/openai-error.js +1 -1
  469. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  470. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  471. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  472. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  473. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  474. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  475. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  476. package/dist/image/notice.js +1 -1
  477. package/dist/image/photon-normalize.js +1 -1
  478. package/dist/image/photon-worker.js +1 -1
  479. package/dist/image/photon.js +4 -4
  480. package/dist/image.js +6 -6
  481. package/dist/instance/service.js +1 -1
  482. package/dist/instance.js +375 -375
  483. package/dist/instruction-discovery.js +89 -89
  484. package/dist/instructions/builtins.js +98 -98
  485. package/dist/instructions/index.js +3 -3
  486. package/dist/integration/connection.js +3 -3
  487. package/dist/integration.js +98 -98
  488. package/dist/job.js +87 -87
  489. package/dist/kv/sql.js +2 -2
  490. package/dist/kv.js +82 -82
  491. package/dist/location-activity.js +166 -166
  492. package/dist/location-lifecycle.js +145 -145
  493. package/dist/location-service-map.js +97 -97
  494. package/dist/location-services.js +376 -376
  495. package/dist/location.js +100 -100
  496. package/dist/managed-policy.js +3 -3
  497. package/dist/mcp/client.js +102 -102
  498. package/dist/mcp/index.js +118 -118
  499. package/dist/mcp/instructions.js +171 -171
  500. package/dist/mcp/oauth.js +87 -87
  501. package/dist/mcp/socket-client.js +1 -1
  502. package/dist/mcp/stdio.js +101 -101
  503. package/dist/mime.js +1 -1
  504. package/dist/modal/models.js +110 -110
  505. package/dist/model-resolver.js +110 -110
  506. package/dist/model-retry.js +1 -1
  507. package/dist/model.js +113 -113
  508. package/dist/models-dev/v1.js +1 -1
  509. package/dist/models-dev.js +113 -113
  510. package/dist/oauth/page.js +1 -1
  511. package/dist/permission/saved.js +87 -87
  512. package/dist/permission/sql.js +5 -5
  513. package/dist/permission.js +146 -146
  514. package/dist/persistent-pty/binary.bun.js +1 -1
  515. package/dist/persistent-pty/daemon.js +1 -1
  516. package/dist/persistent-pty/index.js +99 -99
  517. package/dist/persistent-pty/pty-binding.js +1 -1
  518. package/dist/persistent-pty.js +84 -84
  519. package/dist/plugin/agent.js +83 -83
  520. package/dist/plugin/command.js +109 -109
  521. package/dist/plugin/goal.js +1 -1
  522. package/dist/plugin/hooks.js +5 -5
  523. package/dist/plugin/host.js +228 -228
  524. package/dist/plugin/identity.js +5 -5
  525. package/dist/plugin/instance.js +5 -5
  526. package/dist/plugin/internal.js +349 -349
  527. package/dist/plugin/mcp-codemode-defaults.js +3 -3
  528. package/dist/plugin/models-dev.js +108 -108
  529. package/dist/plugin/module.js +126 -126
  530. package/dist/plugin/optimize.js +2 -2
  531. package/dist/plugin/plan.js +141 -141
  532. package/dist/plugin/promise.js +1 -1
  533. package/dist/plugin/provider/amazon-bedrock.js +102 -102
  534. package/dist/plugin/provider/azure.js +124 -124
  535. package/dist/plugin/provider/cerebras.js +1 -1
  536. package/dist/plugin/provider/chatgpt.js +124 -124
  537. package/dist/plugin/provider/cloudflare-ai-gateway.js +122 -122
  538. package/dist/plugin/provider/cloudflare-workers-ai.js +122 -122
  539. package/dist/plugin/provider/configured.js +120 -120
  540. package/dist/plugin/provider/credential-settings.js +83 -83
  541. package/dist/plugin/provider/databricks.js +1 -1
  542. package/dist/plugin/provider/digitalocean.js +104 -104
  543. package/dist/plugin/provider/dynamic.js +2 -2
  544. package/dist/plugin/provider/github-copilot.js +106 -106
  545. package/dist/plugin/provider/gitlab.js +105 -105
  546. package/dist/plugin/provider/google-vertex.js +121 -121
  547. package/dist/plugin/provider/kilo.js +1 -1
  548. package/dist/plugin/provider/llmgateway.js +87 -87
  549. package/dist/plugin/provider/lmstudio.js +133 -133
  550. package/dist/plugin/provider/local.js +130 -130
  551. package/dist/plugin/provider/modal.js +103 -103
  552. package/dist/plugin/provider/neon.js +1 -1
  553. package/dist/plugin/provider/nvidia.js +1 -1
  554. package/dist/plugin/provider/ollama.js +133 -133
  555. package/dist/plugin/provider/openai-context-caps.js +101 -101
  556. package/dist/plugin/provider/openai.js +124 -124
  557. package/dist/plugin/provider/opencode.js +127 -127
  558. package/dist/plugin/provider/openrouter.js +102 -102
  559. package/dist/plugin/provider/poe.js +88 -88
  560. package/dist/plugin/provider/prompt-cache-key.js +1 -1
  561. package/dist/plugin/provider/sap-ai-core.js +102 -102
  562. package/dist/plugin/provider/sdk-factory.js +1 -1
  563. package/dist/plugin/provider/snowflake-cortex.js +123 -123
  564. package/dist/plugin/provider/vllm.js +133 -133
  565. package/dist/plugin/provider/xai.js +102 -102
  566. package/dist/plugin/provider/zenmux.js +1 -1
  567. package/dist/plugin/provider.js +175 -175
  568. package/dist/plugin/sdk.js +79 -79
  569. package/dist/plugin/service.js +3 -3
  570. package/dist/plugin/skill.js +142 -142
  571. package/dist/plugin/source-directory.js +1 -1
  572. package/dist/plugin/supervisor.js +363 -363
  573. package/dist/plugin/tool-input-repair.js +4 -4
  574. package/dist/plugin/update.js +6 -6
  575. package/dist/plugin/vcs/git.js +97 -97
  576. package/dist/plugin/vcs/hg.js +97 -97
  577. package/dist/plugin/verbosity.js +104 -104
  578. package/dist/plugin/warming.js +120 -120
  579. package/dist/plugin/websearch/exa.js +5 -5
  580. package/dist/plugin/websearch/firecrawl.js +8 -8
  581. package/dist/plugin/websearch/index.js +9 -9
  582. package/dist/plugin/websearch/mcp.js +2 -2
  583. package/dist/plugin/websearch/parallel.js +8 -8
  584. package/dist/plugin/websearch/tavily.js +6 -6
  585. package/dist/plugin/websearch/tinyfish.js +8 -8
  586. package/dist/plugin.js +233 -233
  587. package/dist/project/icon.js +5 -5
  588. package/dist/project/schema.js +8 -8
  589. package/dist/project/sql.js +4 -4
  590. package/dist/project.js +101 -101
  591. package/dist/provider.js +110 -110
  592. package/dist/pty/protocol.js +1 -1
  593. package/dist/pty/ticket.js +1 -1
  594. package/dist/pty.js +101 -101
  595. package/dist/reference/instructions.js +99 -99
  596. package/dist/reference.js +97 -97
  597. package/dist/repository-cache.js +91 -91
  598. package/dist/repository.js +3 -3
  599. package/dist/ripgrep/binary.js +2 -2
  600. package/dist/ripgrep.js +108 -108
  601. package/dist/rpc.js +97 -97
  602. package/dist/schedule/sql.js +6 -6
  603. package/dist/schedule.js +224 -224
  604. package/dist/schema.js +1 -1
  605. package/dist/session/affinity.js +3 -3
  606. package/dist/session/background.js +1 -1
  607. package/dist/session/blob.js +123 -123
  608. package/dist/session/command.js +83 -83
  609. package/dist/session/compaction.js +167 -167
  610. package/dist/session/context.js +189 -189
  611. package/dist/session/diff.js +99 -99
  612. package/dist/session/environment.js +5 -5
  613. package/dist/session/error.js +5 -5
  614. package/dist/session/event.js +1 -1
  615. package/dist/session/execution/restart.js +232 -232
  616. package/dist/session/execution.js +157 -157
  617. package/dist/session/generate.js +193 -193
  618. package/dist/session/history.js +130 -130
  619. package/dist/session/inbox.js +139 -139
  620. package/dist/session/info.js +3 -3
  621. package/dist/session/instruction-entry.js +88 -88
  622. package/dist/session/instruction-state.js +8 -8
  623. package/dist/session/instructions.js +135 -135
  624. package/dist/session/message-updater.js +4 -4
  625. package/dist/session/message.js +1 -1
  626. package/dist/session/model-request.js +156 -156
  627. package/dist/session/model-transport.js +7 -7
  628. package/dist/session/move.js +157 -157
  629. package/dist/session/projector.js +137 -137
  630. package/dist/session/prompt.js +143 -143
  631. package/dist/session/recent-text.js +1 -1
  632. package/dist/session/revert.js +133 -133
  633. package/dist/session/run-coordinator.js +1 -1
  634. package/dist/session/runner/index.js +3 -3
  635. package/dist/session/runner/llm.js +242 -242
  636. package/dist/session/runner/max-steps.js +1 -1
  637. package/dist/session/runner/model.js +111 -111
  638. package/dist/session/runner/publish-llm-event.js +144 -144
  639. package/dist/session/runner/retry.js +3 -3
  640. package/dist/session/runner/step.js +155 -155
  641. package/dist/session/runner/to-llm-message.js +131 -131
  642. package/dist/session/schema.js +5 -5
  643. package/dist/session/session.js +175 -175
  644. package/dist/session/shell.js +138 -138
  645. package/dist/session/skill.js +144 -144
  646. package/dist/session/sql.js +5 -5
  647. package/dist/session/stats.js +82 -82
  648. package/dist/session/store.js +136 -136
  649. package/dist/session/stored.js +2 -2
  650. package/dist/session/subagent-completion.js +1 -1
  651. package/dist/session/subagent-job.js +222 -222
  652. package/dist/session/system-prompt.js +3 -3
  653. package/dist/session/title.js +195 -195
  654. package/dist/session/to-session-error.js +143 -143
  655. package/dist/session/transfer.js +227 -227
  656. package/dist/session/usage.js +1 -1
  657. package/dist/session.js +226 -226
  658. package/dist/shell/parse.js +6 -6
  659. package/dist/shell/result.js +1 -1
  660. package/dist/shell/scan.js +1 -1
  661. package/dist/shell/select.js +9 -9
  662. package/dist/shell.js +140 -140
  663. package/dist/skill/discovery.js +6 -6
  664. package/dist/skill/instructions.js +146 -146
  665. package/dist/skill.js +151 -151
  666. package/dist/snapshot.js +104 -104
  667. package/dist/state.js +1 -1
  668. package/dist/tool/html-markdown.js +1 -1
  669. package/dist/tool/http-body.js +1 -1
  670. package/dist/tool/mcp.js +166 -166
  671. package/dist/tool/plugin/edit.js +159 -159
  672. package/dist/tool/plugin/file-diff.js +1 -1
  673. package/dist/tool/plugin/glob.js +163 -163
  674. package/dist/tool/plugin/grep.js +163 -163
  675. package/dist/tool/plugin/image-generate.js +232 -232
  676. package/dist/tool/plugin/mcp-resource.js +157 -157
  677. package/dist/tool/plugin/opencode.js +156 -156
  678. package/dist/tool/plugin/patch.js +159 -159
  679. package/dist/tool/plugin/question.js +139 -139
  680. package/dist/tool/plugin/read.js +162 -162
  681. package/dist/tool/plugin/schedule.js +222 -222
  682. package/dist/tool/plugin/shell.js +225 -225
  683. package/dist/tool/plugin/skill.js +150 -150
  684. package/dist/tool/plugin/subagent.js +229 -229
  685. package/dist/tool/plugin/todo.js +148 -148
  686. package/dist/tool/plugin/webfetch.js +150 -150
  687. package/dist/tool/plugin/websearch.js +148 -148
  688. package/dist/tool/plugin/write.js +161 -161
  689. package/dist/tool/read-filesystem.js +113 -113
  690. package/dist/tool/runtime.js +1 -1
  691. package/dist/tool-output.js +7 -7
  692. package/dist/tool.js +16 -16
  693. package/dist/usage-limits.js +94 -94
  694. package/dist/util/error-summary.js +1 -1
  695. package/dist/util/git-executable.js +3 -3
  696. package/dist/util/lazy.js +1 -1
  697. package/dist/util/slug.js +1 -1
  698. package/dist/util/token.js +1 -1
  699. package/dist/util/which.js +1 -1
  700. package/dist/util/wildcard.js +1 -1
  701. package/dist/v1/config/agent.js +5 -5
  702. package/dist/v1/config/command.js +5 -5
  703. package/dist/v1/config/mcp.js +2 -2
  704. package/dist/v1/config/migrate.js +103 -103
  705. package/dist/v1/config/permission.js +3 -3
  706. package/dist/v1/config/plugin.js +1 -1
  707. package/dist/v1/config/provider-options.js +1 -1
  708. package/dist/v1/config/provider.js +2 -2
  709. package/dist/variant.js +102 -102
  710. package/dist/vcs/patch.js +1 -1
  711. package/dist/vcs.js +100 -100
  712. package/dist/voice.js +95 -95
  713. package/dist/websearch.js +89 -89
  714. package/dist/wellknown/plugin.js +85 -85
  715. package/dist/wellknown.js +86 -86
  716. package/dist/workspace/driver.js +5 -5
  717. package/dist/workspace/sql.js +1 -1
  718. package/dist/workspace.js +89 -89
  719. package/dist/worktree/directory.js +2 -2
  720. package/dist/worktree/git.js +11 -11
  721. package/dist/worktree/sql.js +5 -5
  722. package/dist/worktree/strategies.js +100 -100
  723. package/dist/worktree.js +109 -109
  724. package/package.json +11 -11
  725. package/dist/chunks/credential-3hxa5b5d.js +0 -535
  726. package/dist/chunks/credential-3x4vqzvj.js +0 -257
  727. package/dist/chunks/credential-6zjm2phc.js +0 -18
  728. package/dist/chunks/credential-mehdtjq6.js +0 -26
  729. /package/dist/chunks/{credential-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
  730. /package/dist/chunks/{credential-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
  731. /package/dist/chunks/{credential-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
  732. /package/dist/chunks/{credential-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
  733. /package/dist/chunks/{credential-1kah00gy.js → model-resolver-1kah00gy.js} +0 -0
  734. /package/dist/chunks/{credential-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
  735. /package/dist/chunks/{credential-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
  736. /package/dist/chunks/{credential-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
  737. /package/dist/chunks/{credential-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
  738. /package/dist/chunks/{credential-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
  739. /package/dist/chunks/{credential-3asan66x.js → model-resolver-3asan66x.js} +0 -0
  740. /package/dist/chunks/{credential-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
  741. /package/dist/chunks/{credential-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
  742. /package/dist/chunks/{credential-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
  743. /package/dist/chunks/{credential-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
  744. /package/dist/chunks/{credential-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
  745. /package/dist/chunks/{credential-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
  746. /package/dist/chunks/{credential-53557ph1.js → model-resolver-53557ph1.js} +0 -0
  747. /package/dist/chunks/{credential-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
  748. /package/dist/chunks/{credential-5w3e23ze.js → model-resolver-5w3e23ze.js} +0 -0
  749. /package/dist/chunks/{credential-6prwharc.js → model-resolver-6prwharc.js} +0 -0
  750. /package/dist/chunks/{credential-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
  751. /package/dist/chunks/{credential-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
  752. /package/dist/chunks/{credential-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
  753. /package/dist/chunks/{credential-822emrt2.js → model-resolver-822emrt2.js} +0 -0
  754. /package/dist/chunks/{credential-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
  755. /package/dist/chunks/{credential-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
  756. /package/dist/chunks/{credential-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
  757. /package/dist/chunks/{credential-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
  758. /package/dist/chunks/{credential-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
  759. /package/dist/chunks/{credential-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
  760. /package/dist/chunks/{credential-a058387c.js → model-resolver-a058387c.js} +0 -0
  761. /package/dist/chunks/{credential-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
  762. /package/dist/chunks/{credential-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
  763. /package/dist/chunks/{credential-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
  764. /package/dist/chunks/{credential-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
  765. /package/dist/chunks/{credential-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
  766. /package/dist/chunks/{credential-beh6qq61.js → model-resolver-beh6qq61.js} +0 -0
  767. /package/dist/chunks/{credential-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
  768. /package/dist/chunks/{credential-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
  769. /package/dist/chunks/{credential-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
  770. /package/dist/chunks/{credential-cqv5kn06.js → model-resolver-cqv5kn06.js} +0 -0
  771. /package/dist/chunks/{credential-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
  772. /package/dist/chunks/{credential-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
  773. /package/dist/chunks/{credential-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
  774. /package/dist/chunks/{credential-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
  775. /package/dist/chunks/{credential-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
  776. /package/dist/chunks/{credential-df08tz66.js → model-resolver-df08tz66.js} +0 -0
  777. /package/dist/chunks/{credential-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
  778. /package/dist/chunks/{credential-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
  779. /package/dist/chunks/{credential-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
  780. /package/dist/chunks/{credential-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
  781. /package/dist/chunks/{credential-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
  782. /package/dist/chunks/{credential-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
  783. /package/dist/chunks/{credential-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
  784. /package/dist/chunks/{credential-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
  785. /package/dist/chunks/{credential-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
  786. /package/dist/chunks/{credential-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
  787. /package/dist/chunks/{credential-fkpq3x5p.js → model-resolver-fkpq3x5p.js} +0 -0
  788. /package/dist/chunks/{credential-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
  789. /package/dist/chunks/{credential-g86h250q.js → model-resolver-g86h250q.js} +0 -0
  790. /package/dist/chunks/{credential-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
  791. /package/dist/chunks/{credential-gftt206x.js → model-resolver-gftt206x.js} +0 -0
  792. /package/dist/chunks/{credential-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
  793. /package/dist/chunks/{credential-hk9envan.js → model-resolver-hk9envan.js} +0 -0
  794. /package/dist/chunks/{credential-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
  795. /package/dist/chunks/{credential-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
  796. /package/dist/chunks/{credential-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
  797. /package/dist/chunks/{credential-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
  798. /package/dist/chunks/{credential-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
  799. /package/dist/chunks/{credential-jwr30sdr.js → model-resolver-jwr30sdr.js} +0 -0
  800. /package/dist/chunks/{credential-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
  801. /package/dist/chunks/{credential-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
  802. /package/dist/chunks/{credential-m18g726c.js → model-resolver-m18g726c.js} +0 -0
  803. /package/dist/chunks/{credential-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
  804. /package/dist/chunks/{credential-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
  805. /package/dist/chunks/{credential-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
  806. /package/dist/chunks/{credential-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
  807. /package/dist/chunks/{credential-ncqqe42p.js → model-resolver-ncqqe42p.js} +0 -0
  808. /package/dist/chunks/{credential-nh4v3znn.js → model-resolver-nh4v3znn.js} +0 -0
  809. /package/dist/chunks/{credential-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
  810. /package/dist/chunks/{credential-p71gwv9c.js → model-resolver-p71gwv9c.js} +0 -0
  811. /package/dist/chunks/{credential-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
  812. /package/dist/chunks/{credential-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
  813. /package/dist/chunks/{credential-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
  814. /package/dist/chunks/{credential-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
  815. /package/dist/chunks/{credential-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
  816. /package/dist/chunks/{credential-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
  817. /package/dist/chunks/{credential-qgfkghh1.js → model-resolver-qgfkghh1.js} +0 -0
  818. /package/dist/chunks/{credential-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
  819. /package/dist/chunks/{credential-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
  820. /package/dist/chunks/{credential-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
  821. /package/dist/chunks/{credential-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
  822. /package/dist/chunks/{credential-ty7weeps.js → model-resolver-ty7weeps.js} +0 -0
  823. /package/dist/chunks/{credential-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
  824. /package/dist/chunks/{credential-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
  825. /package/dist/chunks/{credential-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
  826. /package/dist/chunks/{credential-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
  827. /package/dist/chunks/{credential-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
  828. /package/dist/chunks/{credential-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
  829. /package/dist/chunks/{credential-x61499pn.js → model-resolver-x61499pn.js} +0 -0
  830. /package/dist/chunks/{credential-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
  831. /package/dist/chunks/{credential-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
  832. /package/dist/chunks/{credential-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
  833. /package/dist/chunks/{credential-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
  834. /package/dist/chunks/{credential-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
@@ -1,63 +1,63 @@
1
1
  import {
2
2
  NonNegativeInt2
3
- } from "./credential-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  latest2,
6
- Service59
7
- } from "./credential-2b7qrkd5.js";
6
+ Service57
7
+ } from "./model-resolver-srpyah9m.js";
8
8
  import {
9
9
  typeFollowing2
10
- } from "./credential-svcy3p9a.js";
10
+ } from "./model-resolver-svcy3p9a.js";
11
11
  import {
12
- Service78
13
- } from "./credential-mv2126ff.js";
12
+ Service66
13
+ } from "./model-resolver-bkccqnab.js";
14
14
  import {
15
- Service55
16
- } from "./credential-mv2fpsaq.js";
15
+ Service53
16
+ } from "./model-resolver-2q3gj68p.js";
17
17
  import {
18
- Service56
19
- } from "./credential-2wav6r65.js";
18
+ Service54
19
+ } from "./model-resolver-1trhz39y.js";
20
20
  import {
21
- Service19,
21
+ Service13,
22
22
  resolvePath2
23
- } from "./credential-rrfeqsm8.js";
23
+ } from "./model-resolver-sew631bv.js";
24
24
  import {
25
25
  output2,
26
26
  notice2,
27
27
  metadata2,
28
28
  notification2
29
- } from "./credential-k814nvkf.js";
29
+ } from "./model-resolver-k814nvkf.js";
30
30
  import {
31
- Service45,
31
+ Service44,
32
32
  name17
33
- } from "./credential-kv8hcqvx.js";
33
+ } from "./model-resolver-tjvxx29a.js";
34
34
  import {
35
- NotFoundError5,
36
- Service42
37
- } from "./credential-qe54a3zp.js";
35
+ NotFoundError6,
36
+ Service40
37
+ } from "./model-resolver-r3jnkjvn.js";
38
38
  import {
39
- Service25
40
- } from "./credential-4hqwqpkp.js";
39
+ Service26
40
+ } from "./model-resolver-ebw1bbd1.js";
41
41
  import {
42
42
  scan3
43
- } from "./credential-j00x2d5t.js";
43
+ } from "./model-resolver-np47h428.js";
44
44
  import {
45
45
  __export
46
- } from "./credential-9rqn6x4v.js";
46
+ } from "./model-resolver-9rqn6x4v.js";
47
47
 
48
48
  // src/tool/plugin/shell.ts
49
49
  var exports_shell2 = {};
50
50
  __export(exports_shell2, {
51
51
  DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
52
- Input: () => Input11,
53
- Plugin: () => Plugin47,
52
+ Input: () => Input5,
53
+ Plugin: () => Plugin40,
54
54
  ShellTool: () => exports_shell2,
55
- name: () => name11
55
+ name: () => name5
56
56
  });
57
57
  import { ToolFailure } from "@opencode/ai/effect";
58
58
  import { Deferred, Effect, Schema, Scope } from "effect";
59
59
  import { shellParserWasm } from "#shell-parser-wasm";
60
- var name11 = "shell";
60
+ var name5 = "shell";
61
61
  var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
62
62
  var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
63
63
  var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
@@ -71,7 +71,7 @@ var description = (shell) => [
71
71
  "Commands accept an optional timeout, background commands have no timeout by default.",
72
72
  "Background commands return immediately, and you will be notified when they complete."
73
73
  ].join(" ");
74
- var Input11 = Schema.Struct({
74
+ var Input5 = Schema.Struct({
75
75
  command: Schema.String.annotate({ description: "Shell command string to execute" }),
76
76
  workdir: Schema.optionalKey(Schema.String).annotate({
77
77
  description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
117
117
  truncated: false,
118
118
  status: "running"
119
119
  });
120
- var Plugin47 = {
120
+ var Plugin40 = {
121
121
  id: "opencode.tool.shell",
122
122
  effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
123
- const sessions = yield* Service25;
124
- const jobs = yield* Service55;
123
+ const sessions = yield* Service26;
124
+ const jobs = yield* Service53;
125
125
  const scope = yield* Scope.Scope;
126
- const environment = yield* Service78;
127
- const access = yield* Service19;
128
- const shell = yield* Service42;
129
- const shellSelect = yield* Service45;
126
+ const environment = yield* Service66;
127
+ const access = yield* Service13;
128
+ const shell = yield* Service40;
129
+ const shellSelect = yield* Service44;
130
130
  const compatibleShell = shellSelect.resolve({ priority: "compat" });
131
- const permission = yield* Service56;
132
- const config = yield* Service59;
131
+ const permission = yield* Service54;
132
+ const config = yield* Service57;
133
133
  const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
134
134
  const source = {
135
135
  type: "tool",
@@ -148,7 +148,7 @@ var Plugin47 = {
148
148
  yield* access.authorizeExternal([target, ...directories], context);
149
149
  if (parsed.commands.length > 0)
150
150
  yield* permission.assert({
151
- action: name11,
151
+ action: name5,
152
152
  resources: parsed.commands.map((command) => command.resource),
153
153
  save: parsed.commands.map((command) => command.save),
154
154
  sessionID: context.sessionID,
@@ -185,10 +185,10 @@ var Plugin47 = {
185
185
  yield* jobs.completeBackground(info.notificationID);
186
186
  }, Effect.forkIn(scope, { startImmediately: true }));
187
187
  yield* ctx.tool.transform((editor) => editor.add({
188
- name: name11,
188
+ name: name5,
189
189
  options: { codemode: false },
190
190
  description: description(),
191
- input: Input11,
191
+ input: Input5,
192
192
  output: Output,
193
193
  execute: (input, context) => Effect.gen(function* () {
194
194
  const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
@@ -211,7 +211,7 @@ var Plugin47 = {
211
211
  const run = Effect.gen(function* () {
212
212
  const result = yield* shell.result(info);
213
213
  if (!result.capture)
214
- return yield* new NotFoundError5({ id: info.id });
214
+ return yield* new NotFoundError6({ id: info.id });
215
215
  const output = output2(result);
216
216
  return {
217
217
  ...output,
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
225
225
  `)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
226
226
  const job = yield* jobs.start({
227
227
  id: info.id,
228
- type: name11,
228
+ type: name5,
229
229
  title: info.command,
230
230
  metadata: { sessionID: context.sessionID, shellID: info.id },
231
231
  recovery: {
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
255
255
  }).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
256
256
  })).pipe(Effect.orDie);
257
257
  const hook = (event) => Effect.gen(function* () {
258
- const tool = event.tools[name11];
258
+ const tool = event.tools[name5];
259
259
  if (!tool)
260
260
  return;
261
261
  tool.description = description(name17(yield* compatibleShell));
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
266
266
  })
267
267
  };
268
268
 
269
- export { name11, DEFAULT_TIMEOUT_MS2, Input11, Plugin47, exports_shell2 };
269
+ export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin40, exports_shell2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  which2
3
- } from "./credential-qaymkmh1.js";
3
+ } from "./model-resolver-qaymkmh1.js";
4
4
 
5
5
  // src/formatter/builtins.ts
6
6
  import { Effect } from "effect";
@@ -1,26 +1,26 @@
1
1
  import {
2
2
  Key3,
3
3
  removed2,
4
- make20,
4
+ make21,
5
5
  diffByKey2
6
- } from "./credential-xt0z8zst.js";
6
+ } from "./model-resolver-1kn6jdkn.js";
7
7
  import {
8
8
  ID6,
9
9
  Name2,
10
- available3,
11
- Service39,
12
- node42
13
- } from "./credential-xg75fqpv.js";
10
+ available4,
11
+ Service47,
12
+ node51
13
+ } from "./model-resolver-w2y2s0n1.js";
14
14
  import {
15
15
  __export
16
- } from "./credential-9rqn6x4v.js";
16
+ } from "./model-resolver-9rqn6x4v.js";
17
17
 
18
18
  // src/skill/instructions.ts
19
- var exports_instructions4 = {};
20
- __export(exports_instructions4, {
21
- Service: () => Service31,
22
- SkillInstructions: () => exports_instructions4,
23
- node: () => node33
19
+ var exports_instructions5 = {};
20
+ __export(exports_instructions5, {
21
+ Service: () => Service39,
22
+ SkillInstructions: () => exports_instructions5,
23
+ node: () => node42
24
24
  });
25
25
  import { makeLocationNode } from "@opencode/util/effect/app-node";
26
26
  import { Context, Effect, Layer, Schema } from "effect";
@@ -64,14 +64,14 @@ var update = (previous, current) => {
64
64
  `);
65
65
  };
66
66
 
67
- class Service31 extends Context.Service()("@opencode/SkillInstructions") {
67
+ class Service39 extends Context.Service()("@opencode/SkillInstructions") {
68
68
  }
69
- var layer = Layer.effect(Service31, Effect.gen(function* () {
70
- const skills = yield* Service39;
71
- return Service31.of({
69
+ var layer = Layer.effect(Service39, Effect.gen(function* () {
70
+ const skills = yield* Service47;
71
+ return Service39.of({
72
72
  load: Effect.fn("SkillInstructions.load")(function* (permissions) {
73
- const available = available3(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
- return make20({
73
+ const available = available4(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
74
+ return make21({
75
75
  key: Key3.make("core/skill-guidance"),
76
76
  codec: Schema.toCodecJson(Schema.Array(Summary)),
77
77
  read: Effect.succeed(available.length === 0 ? removed2 : available),
@@ -84,6 +84,6 @@ var layer = Layer.effect(Service31, Effect.gen(function* () {
84
84
  })
85
85
  });
86
86
  }));
87
- var node33 = makeLocationNode({ service: Service31, layer, deps: [node42] });
87
+ var node42 = makeLocationNode({ service: Service39, layer, deps: [node51] });
88
88
 
89
- export { Service31, node33, exports_instructions4 };
89
+ export { Service39, node42, exports_instructions5 };
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  __export
3
- } from "./credential-9rqn6x4v.js";
3
+ } from "./model-resolver-9rqn6x4v.js";
4
4
 
5
5
  // src/plugin/hooks.ts
6
6
  var exports_hooks = {};
7
7
  __export(exports_hooks, {
8
8
  PluginHooks: () => exports_hooks,
9
- Service: () => Service67,
10
- node: () => node70
9
+ Service: () => Service73,
10
+ node: () => node77
11
11
  });
12
12
  import { Context, Effect, Layer, Scope } from "effect";
13
13
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
20
20
  return typeof model.providerID === "string" ? model.providerID : undefined;
21
21
  };
22
22
 
23
- class Service67 extends Context.Service()("@opencode/PluginHooks") {
23
+ class Service73 extends Context.Service()("@opencode/PluginHooks") {
24
24
  }
25
- var layer = Layer.effect(Service67, Effect.gen(function* () {
25
+ var layer = Layer.effect(Service73, Effect.gen(function* () {
26
26
  const callbacks = new Map;
27
27
  const key = (domain, name) => `${domain}.${String(name)}`;
28
28
  const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
54
54
  return event;
55
55
  });
56
56
  const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
57
- return Service67.of({ has, register, trigger });
57
+ return Service73.of({ has, register, trigger });
58
58
  }));
59
- var node70 = makeLocationNode({ service: Service67, layer, deps: [] });
59
+ var node77 = makeLocationNode({ service: Service73, layer, deps: [] });
60
60
 
61
- export { Service67, node70, exports_hooks };
61
+ export { Service73, node77, exports_hooks };
@@ -1,26 +1,26 @@
1
1
  import {
2
- Service62,
3
- node65
4
- } from "./credential-fv02tqgz.js";
2
+ Service60,
3
+ node63
4
+ } from "./model-resolver-jcf07173.js";
5
5
  import {
6
- Service63,
7
- node66
8
- } from "./credential-vbhg7a8p.js";
6
+ Service74,
7
+ node78
8
+ } from "./model-resolver-7x1geb87.js";
9
9
  import {
10
10
  SessionSchema2
11
- } from "./credential-vx3jgdek.js";
11
+ } from "./model-resolver-08rawchj.js";
12
12
  import {
13
13
  __export
14
- } from "./credential-9rqn6x4v.js";
14
+ } from "./model-resolver-9rqn6x4v.js";
15
15
 
16
16
  // src/session/runner/model.ts
17
17
  var exports_model = {};
18
18
  __export(exports_model, {
19
19
  ModelNotSelectedError: () => ModelNotSelectedError2,
20
20
  ModelUnavailableError: () => ModelUnavailableError2,
21
- Service: () => Service54,
21
+ Service: () => Service50,
22
22
  SessionRunnerModel: () => exports_model,
23
- node: () => node57,
23
+ node: () => node53,
24
24
  resolved: () => resolved2
25
25
  });
26
26
  import { makeLocationNode } from "@opencode/util/effect/app-node";
@@ -43,7 +43,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
43
43
  }
44
44
  }
45
45
 
46
- class Service54 extends Context.Service()("@opencode/SessionRunnerModel") {
46
+ class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
47
47
  }
48
48
  var resolved2 = (model, options) => ({
49
49
  model,
@@ -58,10 +58,10 @@ var resolved2 = (model, options) => ({
58
58
  compaction: options.compaction,
59
59
  transport: options.transport
60
60
  });
61
- var layer = Layer.effect(Service54, Effect.gen(function* () {
62
- const resolver = yield* Service63;
63
- const agents = yield* Service62;
64
- return Service54.of({
61
+ var layer = Layer.effect(Service50, Effect.gen(function* () {
62
+ const resolver = yield* Service74;
63
+ const agents = yield* Service60;
64
+ return Service50.of({
65
65
  resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
66
66
  if (!session.model) {
67
67
  const agent = (yield* agents.select(session.agent)).info?.model;
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
81
81
  })
82
82
  });
83
83
  }));
84
- var node57 = makeLocationNode({ service: Service54, layer, deps: [node66, node65] });
84
+ var node53 = makeLocationNode({ service: Service50, layer, deps: [node78, node63] });
85
85
 
86
- export { ModelNotSelectedError2, ModelUnavailableError2, Service54, resolved2, node57, exports_model };
86
+ export { ModelNotSelectedError2, ModelUnavailableError2, Service50, resolved2, node53, exports_model };
@@ -1,47 +1,47 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./credential-z5v4ffb3.js";
3
+ } from "./model-resolver-z5v4ffb3.js";
4
4
  import {
5
5
  WorktreeError2
6
- } from "./credential-rmm621gb.js";
6
+ } from "./model-resolver-gf94v7ds.js";
7
7
  import {
8
8
  Slug2
9
- } from "./credential-gebd4c9n.js";
9
+ } from "./model-resolver-gebd4c9n.js";
10
10
  import {
11
11
  Service87,
12
12
  node91
13
- } from "./credential-c1z88dhz.js";
13
+ } from "./model-resolver-jb1qvvx4.js";
14
14
  import {
15
15
  Service86,
16
16
  node90
17
- } from "./credential-s8xxgn4g.js";
17
+ } from "./model-resolver-5vtcv6tm.js";
18
18
  import {
19
19
  ProjectTable2
20
- } from "./credential-034tev2y.js";
20
+ } from "./model-resolver-aj7mw0zk.js";
21
21
  import {
22
22
  WorktreeTable2
23
- } from "./credential-ayjs7tqn.js";
23
+ } from "./model-resolver-3cbjf1nt.js";
24
24
  import {
25
- ID15,
26
- NotFoundError12
27
- } from "./credential-a1226ymt.js";
25
+ ID18,
26
+ NotFoundError13
27
+ } from "./model-resolver-rnndk4m8.js";
28
28
  import {
29
- Ref4
30
- } from "./credential-998ewk3b.js";
29
+ Ref5
30
+ } from "./model-resolver-pyw9tktf.js";
31
31
  import {
32
- Service70,
33
- node73
34
- } from "./credential-gqk9gxfj.js";
32
+ Service62,
33
+ node65
34
+ } from "./model-resolver-pp05edzg.js";
35
35
  import {
36
36
  DirectoryUnavailableError2,
37
37
  canonical2
38
- } from "./credential-d4v9tmah.js";
38
+ } from "./model-resolver-gn8tkhbf.js";
39
39
  import {
40
- Service69
41
- } from "./credential-d3wqtg9z.js";
40
+ Service23
41
+ } from "./model-resolver-v7h6andt.js";
42
42
  import {
43
43
  __export
44
- } from "./credential-9rqn6x4v.js";
44
+ } from "./model-resolver-9rqn6x4v.js";
45
45
 
46
46
  // src/worktree.ts
47
47
  var exports_worktree2 = {};
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
49
49
  CreateInput: () => CreateInput4,
50
50
  DestinationExistsError: () => DestinationExistsError2,
51
51
  DirectoryUnavailableError: () => DirectoryUnavailableError2,
52
- Event: () => Event14,
53
- Info: () => Info22,
52
+ Event: () => Event5,
53
+ Info: () => Info7,
54
54
  InvalidDirectoryError: () => InvalidDirectoryError2,
55
55
  List: () => List2,
56
- ListEntry: () => ListEntry3,
56
+ ListEntry: () => ListEntry2,
57
57
  OperationError: () => OperationError2,
58
58
  RemoveInput: () => RemoveInput2,
59
- Service: () => Service68,
59
+ Service: () => Service22,
60
60
  SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
61
61
  StrategyID: () => StrategyID2,
62
62
  StrategyUnavailableError: () => StrategyUnavailableError2,
63
63
  Worktree: () => exports_worktree2,
64
- node: () => node71
64
+ node: () => node25
65
65
  });
66
66
  import { Context, Effect, Layer, Schema } from "effect";
67
67
  import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
75
75
  var StrategyID2 = Worktree.StrategyID;
76
76
  var CreateInput4 = Worktree.CreateInput;
77
77
  var RemoveInput2 = Worktree.RemoveInput;
78
- var Info22 = Worktree.Info;
78
+ var Info7 = Worktree.Info;
79
79
  var List2 = Worktree.List;
80
- var ListEntry3 = Worktree.ListEntry;
80
+ var ListEntry2 = Worktree.ListEntry;
81
81
 
82
- class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID15, directory: Schema.optional(AbsolutePath2) }) {
82
+ class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID18, directory: Schema.optional(AbsolutePath2) }) {
83
83
  }
84
84
 
85
85
  class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
90
90
 
91
91
  class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
92
92
  }
93
- var Event14 = Worktree.Event;
93
+ var Event5 = Worktree.Event;
94
94
 
95
- class Service68 extends Context.Service()("@opencode/Worktree") {
95
+ class Service22 extends Context.Service()("@opencode/Worktree") {
96
96
  }
97
- var layer = Layer.effect(Service68, Effect.gen(function* () {
97
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
98
98
  const fs = yield* FSUtil.Service;
99
99
  const database = yield* Service87;
100
100
  const db = database.db;
101
101
  const bus = yield* Service86;
102
102
  const processService = yield* AppProcess.Service;
103
- const locations = yield* Service70;
103
+ const locations = yield* Service62;
104
104
  const project = Effect.fnUntraced(function* (projectID) {
105
105
  const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
106
106
  if (!row)
107
- return yield* new NotFoundError12({ projectID });
107
+ return yield* new NotFoundError13({ projectID });
108
108
  return row;
109
109
  });
110
110
  const load = Effect.fnUntraced(function* (directory, current) {
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
113
113
  if (current?.directory === directory)
114
114
  return current.get();
115
115
  const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
116
- const context = yield* locations.contextEffect(Ref4.make({ directory }));
116
+ const context = yield* locations.contextEffect(Ref5.make({ directory }));
117
117
  yield* Context.get(context, Plugin.Service).awaitActivation;
118
- return Context.get(context, Service69).get();
118
+ return Context.get(context, Service23).get();
119
119
  });
120
120
  const changed = Effect.fnUntraced(function* (projectID, update) {
121
121
  if (update)
122
- yield* bus.publish(Event14.Updated, { projectID });
122
+ yield* bus.publish(Event5.Updated, { projectID });
123
123
  });
124
124
  const ops = {
125
125
  list: Effect.fnUntraced(function* (projectID) {
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
246
246
  })).pipe(Effect.orDie);
247
247
  yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
248
248
  }, Effect.scoped);
249
- return Service68.of({
249
+ return Service22.of({
250
250
  list: Effect.fn("Worktree.list")(function* (input) {
251
251
  yield* project(input.projectID);
252
252
  return yield* ops.list(input.projectID);
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
256
256
  refresh
257
257
  });
258
258
  }));
259
- var node71 = Node.makeGlobalNode({
260
- service: Service68,
259
+ var node25 = Node.makeGlobalNode({
260
+ service: Service22,
261
261
  layer,
262
- deps: [FSUtil.node, node90, node91, AppProcess.node, node73]
262
+ deps: [FSUtil.node, node90, node91, AppProcess.node, node65]
263
263
  });
264
264
  function operationError(strategy, operation, error) {
265
265
  if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
269
269
  });
270
270
  }
271
271
 
272
- export { StrategyID2, CreateInput4, RemoveInput2, Info22, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event14, Service68, node71, exports_worktree2, OperationError2 };
272
+ export { StrategyID2, CreateInput4, RemoveInput2, Info7, List2, ListEntry2, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event5, Service22, node25, exports_worktree2, OperationError2 };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  absoluteColumn2
3
- } from "./credential-wakvkjy4.js";
3
+ } from "./model-resolver-wakvkjy4.js";
4
4
  import {
5
5
  ProjectTable2
6
- } from "./credential-034tev2y.js";
6
+ } from "./model-resolver-aj7mw0zk.js";
7
7
 
8
8
  // src/worktree/sql.ts
9
9
  import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  Service86,
3
3
  node90
4
- } from "./credential-s8xxgn4g.js";
4
+ } from "./model-resolver-5vtcv6tm.js";
5
5
  import {
6
6
  changes2,
7
7
  create3
8
- } from "./credential-204s3925.js";
8
+ } from "./model-resolver-204s3925.js";
9
9
  import {
10
10
  __export
11
- } from "./credential-9rqn6x4v.js";
11
+ } from "./model-resolver-9rqn6x4v.js";
12
12
 
13
13
  // src/command.ts
14
- var exports_command4 = {};
15
- __export(exports_command4, {
16
- Command: () => exports_command4,
17
- Event: () => Event9,
14
+ var exports_command5 = {};
15
+ __export(exports_command5, {
16
+ Command: () => exports_command5,
17
+ Event: () => Event14,
18
18
  ExecutionError: () => ExecutionError2,
19
- Info: () => Info11,
20
- NotFoundError: () => NotFoundError7,
21
- Service: () => Service46,
22
- layer: () => layer21,
23
- node: () => node50
19
+ Info: () => Info22,
20
+ NotFoundError: () => NotFoundError11,
21
+ Service: () => Service77,
22
+ layer: () => layer26,
23
+ node: () => node81
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 Event9 } from "@opencode/schema/command";
29
- var Info11 = Command.Info;
28
+ import { Event as Event14 } from "@opencode/schema/command";
29
+ var Info22 = Command.Info;
30
30
 
31
- class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
31
+ class NotFoundError11 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 Service46 extends Context.Service()("@opencode/Command") {
43
+ class Service77 extends Context.Service()("@opencode/Command") {
44
44
  }
45
- var layer21 = Layer.effect(Service46, Effect.gen(function* () {
45
+ var layer26 = Layer.effect(Service77, Effect.gen(function* () {
46
46
  const bus = yield* Service86;
47
- const info = (definition) => Info11.make({
47
+ const info = (definition) => Info22.make({
48
48
  name: definition.name,
49
49
  description: definition.description
50
50
  });
@@ -56,7 +56,7 @@ var layer21 = Layer.effect(Service46, 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 Service46.of({
59
+ return Service77.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 layer21 = Layer.effect(Service46, 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 NotFoundError7({ command: input.name, message: `Command not found: ${input.name}` });
70
+ return yield* new NotFoundError11({ 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 node50 = makeLocationNode({
76
- service: Service46,
77
- layer: layer21,
75
+ var node81 = makeLocationNode({
76
+ service: Service77,
77
+ layer: layer26,
78
78
  deps: [node90]
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 { Info11, NotFoundError7, ExecutionError2, Service46, layer21, node50, exports_command4, Event9 };
90
+ export { Info22, NotFoundError11, ExecutionError2, Service77, layer26, node81, exports_command5, Event14 };