@opencode/core 0.0.0-dev-19508 → 0.0.0-dev-19509

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 (781) 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 +72 -72
  7. package/dist/catalog.js +84 -84
  8. package/dist/chunks/{persistent-pty-yk9d6695.js → worktree-0940wtvk.js} +51 -51
  9. package/dist/chunks/{persistent-pty-tp675h11.js → worktree-0ctm8j7h.js} +55 -55
  10. package/dist/chunks/{persistent-pty-x2xt5fty.js → worktree-0npjq9jf.js} +2 -2
  11. package/dist/chunks/{persistent-pty-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
  12. package/dist/chunks/{persistent-pty-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
  13. package/dist/chunks/{persistent-pty-8f39y4xw.js → worktree-0tzb1dzm.js} +28 -28
  14. package/dist/chunks/{persistent-pty-rhraev7y.js → worktree-1acjjqhc.js} +4 -4
  15. package/dist/chunks/{persistent-pty-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
  16. package/dist/chunks/{persistent-pty-7sf6wms8.js → worktree-1dpnrefp.js} +26 -26
  17. package/dist/chunks/{persistent-pty-7kk61tk1.js → worktree-1fzw0h16.js} +18 -18
  18. package/dist/chunks/{persistent-pty-vg8k19ea.js → worktree-1smds1mj.js} +11 -11
  19. package/dist/chunks/{persistent-pty-b8b3f19r.js → worktree-1tjg7tvh.js} +9 -9
  20. package/dist/chunks/{persistent-pty-mfqp6xfm.js → worktree-1ygqh575.js} +6 -6
  21. package/dist/chunks/{persistent-pty-8hxnf17y.js → worktree-215v1k75.js} +22 -22
  22. package/dist/chunks/{persistent-pty-21r38tys.js → worktree-21r38tys.js} +1 -1
  23. package/dist/chunks/{persistent-pty-2402vzrj.js → worktree-2402vzrj.js} +1 -1
  24. package/dist/chunks/{persistent-pty-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
  25. package/dist/chunks/{persistent-pty-f5qkqfms.js → worktree-2c9cavng.js} +46 -46
  26. package/dist/chunks/{persistent-pty-0dpda0nx.js → worktree-2dtw8x15.js} +3 -3
  27. package/dist/chunks/{persistent-pty-2efc4pfm.js → worktree-2j5ah8jf.js} +15 -15
  28. package/dist/chunks/{persistent-pty-cw8m5w0x.js → worktree-2t72zxyz.js} +3 -3
  29. package/dist/chunks/{persistent-pty-tn773g8e.js → worktree-339ss3x3.js} +11 -11
  30. package/dist/chunks/{persistent-pty-6det3y0x.js → worktree-39pb4tj2.js} +29 -29
  31. package/dist/chunks/{persistent-pty-h6w5vgvg.js → worktree-39z097b6.js} +39 -39
  32. package/dist/chunks/{persistent-pty-x9s9yqdy.js → worktree-3cdjp2z1.js} +6 -6
  33. package/dist/chunks/{persistent-pty-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
  34. package/dist/chunks/{persistent-pty-tw6cn0kx.js → worktree-3sdww6fp.js} +32 -32
  35. package/dist/chunks/{persistent-pty-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
  36. package/dist/chunks/{persistent-pty-g8n1wjt8.js → worktree-3sz5ktbs.js} +25 -25
  37. package/dist/chunks/{persistent-pty-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
  38. package/dist/chunks/{persistent-pty-4kgv92xd.js → worktree-40be3fby.js} +18 -18
  39. package/dist/chunks/{persistent-pty-06tybfx6.js → worktree-42424m2k.js} +5 -5
  40. package/dist/chunks/{persistent-pty-vy25vtdv.js → worktree-46947paf.js} +23 -23
  41. package/dist/chunks/{persistent-pty-m82b0fgf.js → worktree-4x24p3x4.js} +5 -5
  42. package/dist/chunks/{persistent-pty-4y66k410.js → worktree-4y66k410.js} +2 -2
  43. package/dist/chunks/{persistent-pty-3den1rf5.js → worktree-4zktfs0e.js} +21 -21
  44. package/dist/chunks/{persistent-pty-qgt0wznr.js → worktree-59h2sd9w.js} +13 -13
  45. package/dist/chunks/{persistent-pty-zb4p73ts.js → worktree-5cvc0nrh.js} +4 -4
  46. package/dist/chunks/{persistent-pty-5daktx2q.js → worktree-5daktx2q.js} +1 -1
  47. package/dist/chunks/{persistent-pty-ve4pfa0n.js → worktree-5q02cxx3.js} +4 -4
  48. package/dist/chunks/{persistent-pty-cfm9g534.js → worktree-5sdemcz3.js} +8 -8
  49. package/dist/chunks/{persistent-pty-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
  50. package/dist/chunks/{persistent-pty-q8vwd3nd.js → worktree-5y5thrnn.js} +20 -20
  51. package/dist/chunks/{persistent-pty-s4bk4abw.js → worktree-61rrve2h.js} +23 -23
  52. package/dist/chunks/{persistent-pty-3f2bzmyt.js → worktree-61sb7bcr.js} +9 -9
  53. package/dist/chunks/{persistent-pty-669tq793.js → worktree-669tq793.js} +1 -1
  54. package/dist/chunks/{persistent-pty-9k50aszd.js → worktree-69t96w4v.js} +29 -29
  55. package/dist/chunks/{persistent-pty-6xygz2r8.js → worktree-6g16d2bh.js} +5 -5
  56. package/dist/chunks/{persistent-pty-gsx0ryk4.js → worktree-6jnybvqn.js} +9 -9
  57. package/dist/chunks/{persistent-pty-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
  58. package/dist/chunks/{persistent-pty-zx5ykxc9.js → worktree-6npnztgt.js} +4 -4
  59. package/dist/chunks/{persistent-pty-3v8nnc6y.js → worktree-6sfzc8j3.js} +10 -10
  60. package/dist/chunks/{persistent-pty-8baymvr8.js → worktree-6shvhte3.js} +1 -1
  61. package/dist/chunks/{persistent-pty-zjs43p7d.js → worktree-6tpyx64t.js} +42 -42
  62. package/dist/chunks/{persistent-pty-anhnjpzq.js → worktree-6xv9zrws.js} +47 -47
  63. package/dist/chunks/{persistent-pty-enks4xxx.js → worktree-6ygcjmn6.js} +5 -5
  64. package/dist/chunks/{persistent-pty-154046h8.js → worktree-6zfbav3y.js} +14 -14
  65. package/dist/chunks/{persistent-pty-apvn9gva.js → worktree-6zzmvhm0.js} +24 -24
  66. package/dist/chunks/{persistent-pty-71q4at8m.js → worktree-71q4at8m.js} +1 -1
  67. package/dist/chunks/{persistent-pty-nj6dzt4x.js → worktree-721cw5cc.js} +4 -4
  68. package/dist/chunks/{persistent-pty-3pa9w4e5.js → worktree-73483k7j.js} +13 -13
  69. package/dist/chunks/{persistent-pty-73tb2d7t.js → worktree-73tb2d7t.js} +1 -1
  70. package/dist/chunks/{persistent-pty-k8g08nhg.js → worktree-73xy8fsw.js} +5 -5
  71. package/dist/chunks/{persistent-pty-2qqt1nsd.js → worktree-77nksagb.js} +16 -16
  72. package/dist/chunks/{persistent-pty-40ykk5rq.js → worktree-78n98qb4.js} +12 -12
  73. package/dist/chunks/{persistent-pty-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
  74. package/dist/chunks/{persistent-pty-sfk8hzz5.js → worktree-7gf7znvm.js} +16 -16
  75. package/dist/chunks/{persistent-pty-xdw78xdg.js → worktree-7m5f9412.js} +8 -8
  76. package/dist/chunks/{persistent-pty-ttxd2ccf.js → worktree-7x1jk2s0.js} +43 -43
  77. package/dist/chunks/{persistent-pty-7qfh1exc.js → worktree-7xv0edjs.js} +5 -5
  78. package/dist/chunks/{persistent-pty-81swgkk7.js → worktree-81swgkk7.js} +2 -2
  79. package/dist/chunks/{persistent-pty-915t83ht.js → worktree-84esvpjp.js} +11 -11
  80. package/dist/chunks/{persistent-pty-3fsh0gaz.js → worktree-86m78waa.js} +7 -7
  81. package/dist/chunks/{persistent-pty-t0tyq52b.js → worktree-8a649t19.js} +6 -6
  82. package/dist/chunks/{persistent-pty-f7w4q6me.js → worktree-8c13b1f6.js} +18 -18
  83. package/dist/chunks/{persistent-pty-vpbkq0tp.js → worktree-8c3x6q07.js} +9 -9
  84. package/dist/chunks/{persistent-pty-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
  85. package/dist/chunks/{persistent-pty-cabas1zx.js → worktree-8grtj0b5.js} +8 -8
  86. package/dist/chunks/{persistent-pty-dj2t23y0.js → worktree-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{persistent-pty-56gd9531.js → worktree-8x177ym8.js} +15 -15
  88. package/dist/chunks/{persistent-pty-s3ycmy3r.js → worktree-97n9g1za.js} +35 -35
  89. package/dist/chunks/{persistent-pty-q5rhn9x0.js → worktree-9abatgz1.js} +13 -13
  90. package/dist/chunks/{persistent-pty-tdpndm1c.js → worktree-9w4ppqge.js} +5 -5
  91. package/dist/chunks/{persistent-pty-5c4hm403.js → worktree-a1bz86dw.js} +3 -3
  92. package/dist/chunks/{persistent-pty-3gqv5pt4.js → worktree-aa3dep6r.js} +15 -15
  93. package/dist/chunks/{persistent-pty-aaet6srn.js → worktree-aaet6srn.js} +2 -2
  94. package/dist/chunks/{persistent-pty-2504gt3d.js → worktree-adm5ft2x.js} +18 -18
  95. package/dist/chunks/{persistent-pty-n4zaccwn.js → worktree-apxk5rve.js} +29 -29
  96. package/dist/chunks/{persistent-pty-6e3433qf.js → worktree-aq5rptpm.js} +19 -19
  97. package/dist/chunks/{persistent-pty-1gz3swn9.js → worktree-asz5pcm8.js} +18 -18
  98. package/dist/chunks/{persistent-pty-6758qdb8.js → worktree-awhv1hxp.js} +22 -22
  99. package/dist/chunks/{persistent-pty-9pydy7p8.js → worktree-b0pfq9rw.js} +17 -17
  100. package/dist/chunks/{persistent-pty-1zcyjaqm.js → worktree-b3psc49m.js} +6 -6
  101. package/dist/chunks/{persistent-pty-hznavjj0.js → worktree-b46p56xf.js} +7 -7
  102. package/dist/chunks/{persistent-pty-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
  103. package/dist/chunks/{persistent-pty-7yfdgj8f.js → worktree-ba58znz1.js} +21 -21
  104. package/dist/chunks/{persistent-pty-n4r3xatb.js → worktree-baaqp4zd.js} +4 -4
  105. package/dist/chunks/{persistent-pty-tdtzb82r.js → worktree-bc078hx2.js} +20 -20
  106. package/dist/chunks/{persistent-pty-7ac170kv.js → worktree-bha4atvq.js} +4 -4
  107. package/dist/chunks/{persistent-pty-7q4njgnv.js → worktree-bjhqm2jc.js} +28 -28
  108. package/dist/chunks/{persistent-pty-3snfyfpy.js → worktree-bxss1q04.js} +33 -33
  109. package/dist/chunks/{persistent-pty-mhnt32v1.js → worktree-cafdv0ym.js} +9 -9
  110. package/dist/chunks/{persistent-pty-magykp64.js → worktree-cavr175a.js} +4 -4
  111. package/dist/chunks/{persistent-pty-h9nwmjzt.js → worktree-cbbnw05y.js} +17 -17
  112. package/dist/chunks/{persistent-pty-07zwjyy6.js → worktree-cfk5fh02.js} +13 -13
  113. package/dist/chunks/{persistent-pty-m0jqrx5p.js → worktree-cfpkc3c9.js} +2 -2
  114. package/dist/chunks/{persistent-pty-fhnehbw5.js → worktree-csayd5d3.js} +1 -1
  115. package/dist/chunks/{persistent-pty-c81ww30d.js → worktree-csebhh29.js} +9 -9
  116. package/dist/chunks/{persistent-pty-zesek9va.js → worktree-cx7w19tq.js} +10 -10
  117. package/dist/chunks/{persistent-pty-qwktr7mg.js → worktree-d807hzdp.js} +32 -32
  118. package/dist/chunks/{persistent-pty-kava7r05.js → worktree-dbyd747x.js} +6 -6
  119. package/dist/chunks/{persistent-pty-bck43prn.js → worktree-ddyp6dwd.js} +23 -23
  120. package/dist/chunks/{persistent-pty-2y518tma.js → worktree-dvgdgw3v.js} +11 -11
  121. package/dist/chunks/worktree-dxj72tfx.js +18 -0
  122. package/dist/chunks/{persistent-pty-hjt4xg1x.js → worktree-e82z9tr0.js} +7 -7
  123. package/dist/chunks/{persistent-pty-s8d7rejh.js → worktree-eaj1djv9.js} +6 -6
  124. package/dist/chunks/{persistent-pty-thbdkye2.js → worktree-eb2th8mh.js} +27 -27
  125. package/dist/chunks/{persistent-pty-e9cy62py.js → worktree-ebc7h8jh.js} +4 -4
  126. package/dist/chunks/{persistent-pty-jfqtm2ew.js → worktree-edrmdtr5.js} +7 -7
  127. package/dist/chunks/{persistent-pty-mp733p07.js → worktree-ej5ddtfv.js} +5 -5
  128. package/dist/chunks/{persistent-pty-e6h7j64h.js → worktree-ejdkdwzs.js} +4 -4
  129. package/dist/chunks/{persistent-pty-y81yzj42.js → worktree-ert0es5w.js} +46 -46
  130. package/dist/chunks/{persistent-pty-pahz8e0w.js → worktree-et0ngb76.js} +8 -8
  131. package/dist/chunks/{persistent-pty-65wkgmh5.js → worktree-etbytr9f.js} +22 -22
  132. package/dist/chunks/{persistent-pty-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
  133. package/dist/chunks/{persistent-pty-s2zxn96c.js → worktree-ewt4vtrb.js} +31 -31
  134. package/dist/chunks/{persistent-pty-1nfpt5r1.js → worktree-f1mdy5hp.js} +1 -1
  135. package/dist/chunks/{persistent-pty-b7bw3hr1.js → worktree-f3m2n1aw.js} +17 -17
  136. package/dist/chunks/{persistent-pty-wsmhkxds.js → worktree-f59qb7z8.js} +11 -11
  137. package/dist/chunks/{persistent-pty-hdnk95c8.js → worktree-f828m53h.js} +2 -2
  138. package/dist/chunks/{persistent-pty-adbnwx63.js → worktree-fmskcfx8.js} +15 -15
  139. package/dist/chunks/{persistent-pty-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
  140. package/dist/chunks/{persistent-pty-p1afpxvg.js → worktree-g0rx3fxn.js} +93 -93
  141. package/dist/chunks/{persistent-pty-1sa0r58s.js → worktree-g2ww2bbh.js} +16 -16
  142. package/dist/chunks/{persistent-pty-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
  143. package/dist/chunks/{persistent-pty-hnc9qj7b.js → worktree-gda53zk6.js} +12 -12
  144. package/dist/chunks/{persistent-pty-3fc6dm20.js → worktree-gdvy8fx6.js} +4 -4
  145. package/dist/chunks/{persistent-pty-510m7gjw.js → worktree-gg7pg1rj.js} +5 -5
  146. package/dist/chunks/{persistent-pty-c8a77b8b.js → worktree-gm9ea5b0.js} +20 -20
  147. package/dist/chunks/{persistent-pty-tdpb0dc4.js → worktree-gsa99s6r.js} +11 -11
  148. package/dist/chunks/{persistent-pty-wsphynk5.js → worktree-gzswxrvt.js} +43 -43
  149. package/dist/chunks/{persistent-pty-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
  150. package/dist/chunks/{persistent-pty-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
  151. package/dist/chunks/{persistent-pty-rbvfjwrk.js → worktree-h7n6nt9k.js} +8 -8
  152. package/dist/chunks/{persistent-pty-bqtkya02.js → worktree-ha84e8c9.js} +24 -24
  153. package/dist/chunks/{persistent-pty-s363er1w.js → worktree-hbe7nj0x.js} +37 -37
  154. package/dist/chunks/{persistent-pty-hhyycrpc.js → worktree-hbymah4p.js} +35 -35
  155. package/dist/chunks/{persistent-pty-4tj561sw.js → worktree-j47svp76.js} +11 -11
  156. package/dist/chunks/{persistent-pty-j56e64zr.js → worktree-j56e64zr.js} +1 -1
  157. package/dist/chunks/{persistent-pty-7w99qc9d.js → worktree-j7wq2tw5.js} +3 -3
  158. package/dist/chunks/{persistent-pty-9pm6y0s1.js → worktree-jdh6s7jq.js} +8 -8
  159. package/dist/chunks/{persistent-pty-nfx2f6hr.js → worktree-jn9etapn.js} +20 -20
  160. package/dist/chunks/{persistent-pty-3jm4qh1z.js → worktree-jnkjkfmr.js} +35 -35
  161. package/dist/chunks/{persistent-pty-r1spfp0h.js → worktree-jv2bdre8.js} +4 -4
  162. package/dist/chunks/{persistent-pty-d99y5ch1.js → worktree-ka3v088s.js} +9 -9
  163. package/dist/chunks/{persistent-pty-kg06axw8.js → worktree-kg06axw8.js} +1 -1
  164. package/dist/chunks/{persistent-pty-ebah8r6x.js → worktree-m2manvsf.js} +6 -6
  165. package/dist/chunks/{persistent-pty-dpwk168w.js → worktree-m33rf8wm.js} +23 -23
  166. package/dist/chunks/{persistent-pty-n3azen0z.js → worktree-m3x11w40.js} +11 -11
  167. package/dist/chunks/{persistent-pty-agsex9am.js → worktree-m3zza4qd.js} +8 -8
  168. package/dist/chunks/{persistent-pty-5ehz2tea.js → worktree-m8avnk43.js} +16 -16
  169. package/dist/chunks/{persistent-pty-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
  170. package/dist/chunks/{persistent-pty-btewt4k5.js → worktree-mdbdsawz.js} +9 -9
  171. package/dist/chunks/{persistent-pty-peekjthh.js → worktree-mja71egn.js} +18 -18
  172. package/dist/chunks/{persistent-pty-0axr4kr0.js → worktree-mm6ytk77.js} +8 -8
  173. package/dist/chunks/{persistent-pty-vjgbmtbs.js → worktree-myactzt4.js} +37 -37
  174. package/dist/chunks/{persistent-pty-kkzzhrpn.js → worktree-n0efajb2.js} +17 -17
  175. package/dist/chunks/{persistent-pty-2k14bdsh.js → worktree-n4xj6hjn.js} +13 -13
  176. package/dist/chunks/{persistent-pty-6d5601zx.js → worktree-n5y107kn.js} +14 -14
  177. package/dist/chunks/{persistent-pty-kt5w8vxh.js → worktree-nbddwgy7.js} +10 -10
  178. package/dist/chunks/{persistent-pty-jkdkem4h.js → worktree-nj09xgek.js} +12 -12
  179. package/dist/chunks/{persistent-pty-n50hv1t5.js → worktree-nx9eezaw.js} +6 -6
  180. package/dist/chunks/{persistent-pty-rrhm3cf6.js → worktree-p2aekm07.js} +91 -91
  181. package/dist/chunks/{persistent-pty-af04s6ss.js → worktree-p44d8wdy.js} +5 -5
  182. package/dist/chunks/{persistent-pty-4m8ycsnb.js → worktree-p7d99px1.js} +8 -8
  183. package/dist/chunks/{persistent-pty-5mz96dqx.js → worktree-pemhtd8f.js} +8 -8
  184. package/dist/chunks/{persistent-pty-brjc8r87.js → worktree-pjjrh1z1.js} +30 -30
  185. package/dist/chunks/{persistent-pty-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
  186. package/dist/chunks/{persistent-pty-pknna89w.js → worktree-pknna89w.js} +1 -1
  187. package/dist/chunks/{persistent-pty-3ykzfd22.js → worktree-pt3jfr41.js} +9 -9
  188. package/dist/chunks/{persistent-pty-0p5r239s.js → worktree-pvbb37c4.js} +10 -10
  189. package/dist/chunks/{persistent-pty-rb6q9cnt.js → worktree-pyw57n7w.js} +28 -28
  190. package/dist/chunks/{persistent-pty-v3mzz81c.js → worktree-pz1grgc9.js} +13 -13
  191. package/dist/chunks/{persistent-pty-4etgcfvy.js → worktree-q2t36530.js} +9 -9
  192. package/dist/chunks/{persistent-pty-7dqw4kz8.js → worktree-qgn6gcr1.js} +5 -5
  193. package/dist/chunks/{persistent-pty-evyr1yy2.js → worktree-qhrw8p3b.js} +8 -8
  194. package/dist/chunks/{persistent-pty-qsdy395h.js → worktree-qsdy395h.js} +1 -1
  195. package/dist/chunks/{persistent-pty-2e96adxv.js → worktree-qwkytnft.js} +6 -6
  196. package/dist/chunks/{persistent-pty-bvk12tx6.js → worktree-qyth7dhn.js} +24 -24
  197. package/dist/chunks/{persistent-pty-h8ymazte.js → worktree-r1gh3j25.js} +10 -10
  198. package/dist/chunks/{persistent-pty-bzayxzm2.js → worktree-r4emgha1.js} +21 -21
  199. package/dist/chunks/{persistent-pty-r9mregkx.js → worktree-r9mregkx.js} +2 -2
  200. package/dist/chunks/worktree-rcjnff0b.js +462 -0
  201. package/dist/chunks/{persistent-pty-d50f2zf5.js → worktree-rfnzy394.js} +1 -1
  202. package/dist/chunks/{persistent-pty-4290jz7g.js → worktree-ryha7zpe.js} +18 -18
  203. package/dist/chunks/{persistent-pty-1rwk5gxb.js → worktree-s4q1c2dk.js} +63 -63
  204. package/dist/chunks/{persistent-pty-zj09a0ew.js → worktree-shh6fz4q.js} +4 -4
  205. package/dist/chunks/{persistent-pty-2fs7h1wz.js → worktree-sj94bf0y.js} +32 -32
  206. package/dist/chunks/{persistent-pty-d8qdyyaw.js → worktree-sqwpcrch.js} +164 -164
  207. package/dist/chunks/{persistent-pty-c78bbtc9.js → worktree-t0fxg8b9.js} +5 -5
  208. package/dist/chunks/{persistent-pty-t0x5rdq8.js → worktree-t0x5rdq8.js} +2 -2
  209. package/dist/chunks/{persistent-pty-13ne6j1k.js → worktree-t1ej9bcf.js} +16 -16
  210. package/dist/chunks/{persistent-pty-hn3jadw3.js → worktree-t56rw2gy.js} +27 -27
  211. package/dist/chunks/{persistent-pty-e9c8eq96.js → worktree-t6bwgaqm.js} +32 -32
  212. package/dist/chunks/{persistent-pty-4775as7b.js → worktree-t7bs0stv.js} +15 -15
  213. package/dist/chunks/{persistent-pty-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
  214. package/dist/chunks/{persistent-pty-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
  215. package/dist/chunks/{persistent-pty-tdstcens.js → worktree-tdstcens.js} +1 -1
  216. package/dist/chunks/{persistent-pty-gv6a8nnw.js → worktree-th5km1p3.js} +5 -5
  217. package/dist/chunks/{persistent-pty-487k7jth.js → worktree-th62sywm.js} +27 -27
  218. package/dist/chunks/{persistent-pty-8x5pm5x7.js → worktree-thp4thqf.js} +19 -19
  219. package/dist/chunks/{persistent-pty-vg7npqae.js → worktree-tjqe909z.js} +1 -1
  220. package/dist/chunks/{persistent-pty-kxme779d.js → worktree-trkat1qx.js} +45 -45
  221. package/dist/chunks/{persistent-pty-30fz79vd.js → worktree-tta2m7dp.js} +14 -14
  222. package/dist/chunks/{persistent-pty-tvtrv512.js → worktree-tvtrv512.js} +1 -1
  223. package/dist/chunks/{persistent-pty-zdae6k0q.js → worktree-v30hr118.js} +9 -9
  224. package/dist/chunks/{persistent-pty-35rehqpd.js → worktree-v51fjskz.js} +16 -16
  225. package/dist/chunks/{persistent-pty-9kfc4wnk.js → worktree-v600ka5t.js} +22 -22
  226. package/dist/chunks/{persistent-pty-pvk75rey.js → worktree-v7t3chrs.js} +36 -36
  227. package/dist/chunks/{persistent-pty-35k205kv.js → worktree-v912edbj.js} +18 -18
  228. package/dist/chunks/{persistent-pty-cykwnt9q.js → worktree-v9ht5xd0.js} +11 -11
  229. package/dist/chunks/{persistent-pty-veqvce7d.js → worktree-veqvce7d.js} +1 -1
  230. package/dist/chunks/{persistent-pty-wvwzws3d.js → worktree-vjy2y45p.js} +11 -11
  231. package/dist/chunks/{persistent-pty-at12fstx.js → worktree-vkz51m42.js} +30 -30
  232. package/dist/chunks/{persistent-pty-etcxw786.js → worktree-vvgctfdq.js} +12 -12
  233. package/dist/chunks/{persistent-pty-hvw084np.js → worktree-vvsqdwqz.js} +32 -32
  234. package/dist/chunks/{persistent-pty-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
  235. package/dist/chunks/{persistent-pty-06dxphr1.js → worktree-w1k39n5e.js} +4 -4
  236. package/dist/chunks/{persistent-pty-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
  237. package/dist/chunks/{persistent-pty-93zryg1y.js → worktree-w428zktn.js} +20 -20
  238. package/dist/chunks/{persistent-pty-yg2p59vp.js → worktree-w76gpamr.js} +16 -16
  239. package/dist/chunks/{persistent-pty-cztn7rx7.js → worktree-w90x3s5c.js} +11 -11
  240. package/dist/chunks/{persistent-pty-q95aeeb4.js → worktree-w9najb13.js} +11 -11
  241. package/dist/chunks/{persistent-pty-e20g3j14.js → worktree-wbf78t6w.js} +29 -29
  242. package/dist/chunks/{persistent-pty-q03s0nwp.js → worktree-wc3yqjej.js} +15 -15
  243. package/dist/chunks/{persistent-pty-wd87259q.js → worktree-wd87259q.js} +1 -1
  244. package/dist/chunks/{persistent-pty-ayn42wpr.js → worktree-wkgmxye7.js} +4 -4
  245. package/dist/chunks/{persistent-pty-14bvgx98.js → worktree-wrjmdcd7.js} +14 -14
  246. package/dist/chunks/{persistent-pty-tx9qvpbt.js → worktree-wvmhx4nb.js} +4 -4
  247. package/dist/chunks/{persistent-pty-4q1gpajt.js → worktree-wyy37vyq.js} +60 -60
  248. package/dist/chunks/{persistent-pty-exsbjhm2.js → worktree-wz5zt972.js} +22 -22
  249. package/dist/chunks/{persistent-pty-rbj3wcwb.js → worktree-x0041dth.js} +30 -30
  250. package/dist/chunks/{persistent-pty-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
  251. package/dist/chunks/{persistent-pty-kz70mmnm.js → worktree-x1w6f45z.js} +1 -1
  252. package/dist/chunks/{persistent-pty-pbd9gpar.js → worktree-x3af3qht.js} +9 -9
  253. package/dist/chunks/{persistent-pty-844ef7ks.js → worktree-x3et2xth.js} +8 -8
  254. package/dist/chunks/{persistent-pty-w8a3k0bq.js → worktree-xab957cg.js} +20 -20
  255. package/dist/chunks/{persistent-pty-6w1zg1g2.js → worktree-xbrnhvx4.js} +23 -23
  256. package/dist/chunks/{persistent-pty-nng2ktcm.js → worktree-xg9t41r3.js} +2 -2
  257. package/dist/chunks/{persistent-pty-a7wgtnts.js → worktree-xn8fxkx5.js} +6 -6
  258. package/dist/chunks/worktree-xptez47m.js +247 -0
  259. package/dist/chunks/{persistent-pty-xgkhd5qd.js → worktree-xwd0g7hm.js} +7 -7
  260. package/dist/chunks/{persistent-pty-71x7hxqe.js → worktree-xwjytmam.js} +35 -35
  261. package/dist/chunks/{persistent-pty-ab6mj8jw.js → worktree-xx24n8bp.js} +28 -28
  262. package/dist/chunks/{persistent-pty-xbh0n0bt.js → worktree-xx6cn220.js} +1 -1
  263. package/dist/chunks/{persistent-pty-ewkyeawc.js → worktree-xx704vmn.js} +22 -22
  264. package/dist/chunks/{persistent-pty-25hvwd8a.js → worktree-xxmv8eye.js} +9 -9
  265. package/dist/chunks/{persistent-pty-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
  266. package/dist/chunks/{persistent-pty-0a6bkr20.js → worktree-y45pkspw.js} +13 -13
  267. package/dist/chunks/{persistent-pty-dpkg50ah.js → worktree-y71avatq.js} +4 -4
  268. package/dist/chunks/{persistent-pty-thc7yeg9.js → worktree-yefxppqx.js} +21 -21
  269. package/dist/chunks/{persistent-pty-kxpygcw9.js → worktree-yr02nea7.js} +6 -6
  270. package/dist/chunks/{persistent-pty-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
  271. package/dist/chunks/{persistent-pty-yrznvahk.js → worktree-yrznvahk.js} +2 -2
  272. package/dist/chunks/{persistent-pty-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
  273. package/dist/chunks/{persistent-pty-z63w68vq.js → worktree-z63w68vq.js} +2 -2
  274. package/dist/chunks/{persistent-pty-6spvy77a.js → worktree-z77pcmag.js} +24 -24
  275. package/dist/chunks/worktree-z926abd4.js +4 -0
  276. package/dist/chunks/{persistent-pty-ep6z9mt6.js → worktree-za9cx4qh.js} +8 -8
  277. package/dist/chunks/{persistent-pty-737r9kjt.js → worktree-zbjae951.js} +27 -27
  278. package/dist/chunks/{persistent-pty-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
  279. package/dist/chunks/{persistent-pty-qzkh27e2.js → worktree-zhvsjxqr.js} +4 -4
  280. package/dist/chunks/{persistent-pty-01375378.js → worktree-zjf5xpx9.js} +2 -2
  281. package/dist/chunks/{persistent-pty-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
  282. package/dist/chunks/{persistent-pty-j6qna7nq.js → worktree-zsn9806r.js} +4 -4
  283. package/dist/chunks/{persistent-pty-4tb880m7.js → worktree-zvnk3gn3.js} +23 -23
  284. package/dist/chunks/{persistent-pty-xaa2j8d2.js → worktree-zw0bbc6p.js} +57 -57
  285. package/dist/chunks/worktree-zw6vqswj.js +22 -0
  286. package/dist/chunks/{persistent-pty-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
  287. package/dist/codemode/catalog.js +3 -3
  288. package/dist/codemode/instructions.js +7 -7
  289. package/dist/codemode/tool.js +2 -2
  290. package/dist/command.js +84 -84
  291. package/dist/config/discovery.js +78 -78
  292. package/dist/config/markdown.js +1 -1
  293. package/dist/config/normalize.js +19 -19
  294. package/dist/config/plugin/agent.js +118 -118
  295. package/dist/config/plugin/command.js +210 -210
  296. package/dist/config/plugin/compaction.js +156 -156
  297. package/dist/config/plugin/entry-observer.js +1 -1
  298. package/dist/config/plugin/formatter.js +118 -118
  299. package/dist/config/plugin/image.js +116 -116
  300. package/dist/config/plugin/instruction.js +86 -86
  301. package/dist/config/plugin/location-watcher.js +116 -116
  302. package/dist/config/plugin/mcp.js +127 -127
  303. package/dist/config/plugin/policy.js +115 -115
  304. package/dist/config/plugin/provider.js +114 -114
  305. package/dist/config/plugin/reference.js +118 -118
  306. package/dist/config/plugin/shell.js +119 -119
  307. package/dist/config/plugin/skill-file.js +98 -98
  308. package/dist/config/plugin/skill.js +137 -137
  309. package/dist/config/plugin/snapshot.js +116 -116
  310. package/dist/config/plugin/source.js +118 -118
  311. package/dist/config/plugin/tool-output.js +118 -118
  312. package/dist/config/plugin/websearch.js +116 -116
  313. package/dist/config/plugin/worktree.js +119 -119
  314. package/dist/config/variable.js +3 -3
  315. package/dist/config/watch.js +1 -1
  316. package/dist/config.js +120 -120
  317. package/dist/credential/sql.js +2 -2
  318. package/dist/credential.js +84 -84
  319. package/dist/database/database.js +69 -69
  320. package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
  321. package/dist/database/drizzle/effect-sqlite/index.js +14 -14
  322. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  323. package/dist/database/drizzle/index.js +15 -15
  324. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  325. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  326. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  327. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  328. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  329. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  330. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  331. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  332. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  334. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  335. package/dist/database/drizzle.js +16 -16
  336. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  337. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  338. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  339. package/dist/database/migration/20260225215848_workspace.js +1 -1
  340. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  341. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  342. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  343. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  344. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  345. package/dist/database/migration/20260323234822_events.js +1 -1
  346. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  347. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  348. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  349. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  350. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  351. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  352. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  353. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  354. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  355. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  356. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  357. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  358. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  359. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  360. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  361. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  362. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  363. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  364. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  365. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  366. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  367. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  368. package/dist/database/migration/20260611035744_credential.js +1 -1
  369. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  370. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  371. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  372. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  373. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  374. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  375. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  376. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  377. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  378. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  379. package/dist/database/migration/20260812213948_worktree.js +1 -1
  380. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  381. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  382. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  383. package/dist/database/migration.gen.js +48 -48
  384. package/dist/database/migration.js +50 -50
  385. package/dist/database/path.js +2 -2
  386. package/dist/database/schema.gen.js +1 -1
  387. package/dist/database/schema.sql.js +1 -1
  388. package/dist/database/sqlite.bun.js +1 -1
  389. package/dist/database/sqlite.js +1 -1
  390. package/dist/database/sqlite.node.js +1 -1
  391. package/dist/database/sqlite.workerd.js +1 -1
  392. package/dist/database/v1-migration.bun.js +78 -78
  393. package/dist/database/v1-migration.js +1 -1
  394. package/dist/effect/app-node-builder.js +361 -361
  395. package/dist/effect/app-node-platform.js +2 -2
  396. package/dist/effect/keyed-mutex.js +3 -3
  397. package/dist/effect/websocket-constructor.js +1 -1
  398. package/dist/environment/driver.js +1 -1
  399. package/dist/environment/environment.js +89 -89
  400. package/dist/environment/exec-defaults.js +2 -2
  401. package/dist/environment/files.js +1 -1
  402. package/dist/environment/index.js +91 -91
  403. package/dist/environment/local.js +2 -2
  404. package/dist/environment/memory.js +2 -2
  405. package/dist/environment/unavailable.js +1 -1
  406. package/dist/event/sql.js +1 -1
  407. package/dist/event-logger.js +73 -73
  408. package/dist/file-access.js +100 -100
  409. package/dist/file-mutation.js +90 -90
  410. package/dist/file-retention.js +1 -1
  411. package/dist/file.js +1 -1
  412. package/dist/filesystem/fff.bun.js +2 -2
  413. package/dist/filesystem/fff.js +1 -1
  414. package/dist/filesystem/fff.node.js +2 -2
  415. package/dist/filesystem/fff.workerd.js +2 -2
  416. package/dist/filesystem/ignore.js +1 -1
  417. package/dist/filesystem/location-watcher-policy.js +2 -2
  418. package/dist/filesystem/location-watcher.js +217 -217
  419. package/dist/filesystem/protected.js +1 -1
  420. package/dist/filesystem/search.js +100 -100
  421. package/dist/filesystem/watcher-binding.js +1 -1
  422. package/dist/filesystem/watcher.js +15 -15
  423. package/dist/filesystem.js +101 -101
  424. package/dist/form.js +85 -85
  425. package/dist/formatter/builtins.js +2 -2
  426. package/dist/formatter.js +85 -85
  427. package/dist/generate.js +92 -92
  428. package/dist/git.js +7 -7
  429. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  430. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  431. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  432. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  433. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  434. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  435. package/dist/github-copilot/copilot-provider.js +17 -17
  436. package/dist/github-copilot/models.js +3 -3
  437. package/dist/github-copilot/openai-compatible-error.js +1 -1
  438. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  439. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  440. package/dist/github-copilot/responses/openai-error.js +1 -1
  441. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  442. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  443. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  444. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  445. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  446. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  447. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  448. package/dist/id/id.js +1 -1
  449. package/dist/image/photon.js +2 -2
  450. package/dist/image.js +6 -6
  451. package/dist/instance/service.js +5 -5
  452. package/dist/instance.js +352 -352
  453. package/dist/instruction-discovery.js +84 -84
  454. package/dist/instructions/builtins.js +83 -83
  455. package/dist/instructions/index.js +3 -3
  456. package/dist/integration/connection.js +1 -1
  457. package/dist/integration.js +87 -87
  458. package/dist/job.js +78 -78
  459. package/dist/kv/sql.js +2 -2
  460. package/dist/kv.js +72 -72
  461. package/dist/location-activity.js +134 -134
  462. package/dist/location-mutation.js +100 -100
  463. package/dist/location-service-map.js +84 -84
  464. package/dist/location-services.js +349 -349
  465. package/dist/location.js +81 -81
  466. package/dist/mcp/client.js +87 -87
  467. package/dist/mcp/index.js +106 -106
  468. package/dist/mcp/instructions.js +123 -123
  469. package/dist/mcp/oauth.js +3 -3
  470. package/dist/mcp/stdio.js +86 -86
  471. package/dist/mime.js +1 -1
  472. package/dist/modal/models.js +3 -3
  473. package/dist/model-resolver.js +87 -87
  474. package/dist/model.js +8 -8
  475. package/dist/models-dev.js +83 -83
  476. package/dist/oauth/page.js +1 -1
  477. package/dist/permission/saved.js +81 -81
  478. package/dist/permission/sql.js +5 -5
  479. package/dist/permission.js +109 -109
  480. package/dist/persistent-pty/binary.bun.js +1 -1
  481. package/dist/persistent-pty/daemon.js +1 -1
  482. package/dist/persistent-pty/index.js +87 -87
  483. package/dist/persistent-pty/pty-binding.js +1 -1
  484. package/dist/persistent-pty.js +74 -74
  485. package/dist/plugin/agent.js +100 -100
  486. package/dist/plugin/command.js +97 -97
  487. package/dist/plugin/hooks.js +5 -5
  488. package/dist/plugin/host.js +214 -214
  489. package/dist/plugin/instance.js +5 -5
  490. package/dist/plugin/internal.js +323 -323
  491. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  492. package/dist/plugin/models-dev.js +76 -76
  493. package/dist/plugin/module.js +7 -7
  494. package/dist/plugin/optimize.js +2 -2
  495. package/dist/plugin/plan.js +98 -98
  496. package/dist/plugin/promise.js +1 -1
  497. package/dist/plugin/provider/alibaba.js +2 -2
  498. package/dist/plugin/provider/amazon-bedrock.js +2 -2
  499. package/dist/plugin/provider/azure.js +119 -119
  500. package/dist/plugin/provider/cerebras.js +2 -2
  501. package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
  502. package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
  503. package/dist/plugin/provider/cohere.js +2 -2
  504. package/dist/plugin/provider/configured.js +115 -115
  505. package/dist/plugin/provider/digitalocean.js +80 -80
  506. package/dist/plugin/provider/dynamic.js +2 -2
  507. package/dist/plugin/provider/factory.js +1 -1
  508. package/dist/plugin/provider/gateway.js +2 -2
  509. package/dist/plugin/provider/github-copilot.js +81 -81
  510. package/dist/plugin/provider/gitlab.js +3 -3
  511. package/dist/plugin/provider/google-vertex.js +2 -2
  512. package/dist/plugin/provider/kilo.js +2 -2
  513. package/dist/plugin/provider/llmgateway.js +77 -77
  514. package/dist/plugin/provider/lmstudio.js +118 -118
  515. package/dist/plugin/provider/modal.js +80 -80
  516. package/dist/plugin/provider/nvidia.js +2 -2
  517. package/dist/plugin/provider/ollama.js +118 -118
  518. package/dist/plugin/provider/openai-compatible.js +1 -1
  519. package/dist/plugin/provider/openai.js +79 -79
  520. package/dist/plugin/provider/opencode.js +80 -80
  521. package/dist/plugin/provider/openrouter.js +3 -3
  522. package/dist/plugin/provider/perplexity.js +2 -2
  523. package/dist/plugin/provider/poe.js +77 -77
  524. package/dist/plugin/provider/sap-ai-core.js +3 -3
  525. package/dist/plugin/provider/sdk-factory.js +1 -1
  526. package/dist/plugin/provider/snowflake-cortex.js +118 -118
  527. package/dist/plugin/provider/venice.js +2 -2
  528. package/dist/plugin/provider/vercel.js +2 -2
  529. package/dist/plugin/provider/vllm.js +118 -118
  530. package/dist/plugin/provider/xai.js +78 -78
  531. package/dist/plugin/provider/zenmux.js +2 -2
  532. package/dist/plugin/provider.js +157 -157
  533. package/dist/plugin/sdk.js +75 -75
  534. package/dist/plugin/service.js +3 -3
  535. package/dist/plugin/skill.js +134 -134
  536. package/dist/plugin/source-directory.js +1 -1
  537. package/dist/plugin/supervisor.js +338 -338
  538. package/dist/plugin/update.js +6 -6
  539. package/dist/plugin/variant.js +4 -4
  540. package/dist/plugin/vcs/git.js +83 -83
  541. package/dist/plugin/vcs/hg.js +83 -83
  542. package/dist/plugin/warming.js +113 -113
  543. package/dist/plugin/websearch/exa.js +7 -7
  544. package/dist/plugin/websearch/firecrawl.js +8 -8
  545. package/dist/plugin/websearch/index.js +8 -8
  546. package/dist/plugin/websearch/mcp.js +4 -4
  547. package/dist/plugin/websearch/parallel.js +8 -8
  548. package/dist/plugin/websearch/tavily.js +6 -6
  549. package/dist/plugin.js +221 -221
  550. package/dist/project/schema.js +2 -2
  551. package/dist/project/sql.js +4 -4
  552. package/dist/project.js +80 -80
  553. package/dist/provider.js +7 -7
  554. package/dist/pty/protocol.js +1 -1
  555. package/dist/pty/schema.js +3 -3
  556. package/dist/pty/ticket.js +1 -1
  557. package/dist/pty.js +93 -93
  558. package/dist/reference/instructions.js +85 -85
  559. package/dist/reference.js +87 -87
  560. package/dist/repository-cache.js +77 -77
  561. package/dist/repository.js +1 -1
  562. package/dist/ripgrep/binary.js +2 -2
  563. package/dist/ripgrep.js +94 -94
  564. package/dist/rpc.js +82 -82
  565. package/dist/schema.js +1 -1
  566. package/dist/session/command.js +73 -73
  567. package/dist/session/compaction.js +130 -130
  568. package/dist/session/context.js +148 -148
  569. package/dist/session/environment.js +5 -5
  570. package/dist/session/error.js +5 -5
  571. package/dist/session/event.js +1 -1
  572. package/dist/session/execution/restart.js +220 -220
  573. package/dist/session/execution.js +123 -123
  574. package/dist/session/generate.js +147 -147
  575. package/dist/session/history.js +13 -13
  576. package/dist/session/inbox.js +87 -87
  577. package/dist/session/info.js +3 -3
  578. package/dist/session/instruction-entry.js +78 -78
  579. package/dist/session/instruction-state.js +8 -8
  580. package/dist/session/instructions.js +93 -93
  581. package/dist/session/message-updater.js +2 -2
  582. package/dist/session/message.js +1 -1
  583. package/dist/session/model-request.js +114 -114
  584. package/dist/session/model-transport.js +9 -9
  585. package/dist/session/move.js +127 -127
  586. package/dist/session/projector.js +85 -85
  587. package/dist/session/prompt.js +101 -101
  588. package/dist/session/provider-context.js +3 -3
  589. package/dist/session/revert.js +86 -86
  590. package/dist/session/run-coordinator.js +3 -3
  591. package/dist/session/runner/index.js +3 -3
  592. package/dist/session/runner/llm.js +224 -224
  593. package/dist/session/runner/max-steps.js +1 -1
  594. package/dist/session/runner/model.js +87 -87
  595. package/dist/session/runner/publish-llm-event.js +3 -3
  596. package/dist/session/runner/retry.js +111 -111
  597. package/dist/session/runner/step.js +120 -120
  598. package/dist/session/runner/to-llm-message.js +2 -2
  599. package/dist/session/schema.js +5 -5
  600. package/dist/session/session.js +170 -170
  601. package/dist/session/shell.js +132 -132
  602. package/dist/session/skill.js +99 -99
  603. package/dist/session/sql.js +5 -5
  604. package/dist/session/stats.js +74 -74
  605. package/dist/session/store.js +86 -86
  606. package/dist/session/subagent-completion.js +1 -1
  607. package/dist/session/subagent-job.js +204 -204
  608. package/dist/session/system-prompt.js +5 -5
  609. package/dist/session/title.js +146 -146
  610. package/dist/session/to-session-error.js +108 -108
  611. package/dist/session/transfer.js +219 -219
  612. package/dist/session/usage.js +1 -1
  613. package/dist/session.js +214 -214
  614. package/dist/shell/parse.js +6 -6
  615. package/dist/shell/result.js +1 -1
  616. package/dist/shell/scan.js +1 -1
  617. package/dist/shell/select.js +15 -15
  618. package/dist/shell.js +134 -134
  619. package/dist/skill/discovery.js +6 -6
  620. package/dist/skill/instructions.js +103 -103
  621. package/dist/skill.js +104 -104
  622. package/dist/snapshot.js +85 -85
  623. package/dist/state.js +1 -1
  624. package/dist/tool/html-markdown.js +1 -1
  625. package/dist/tool/http-body.js +1 -1
  626. package/dist/tool/mcp.js +122 -122
  627. package/dist/tool/plugin/edit.js +114 -114
  628. package/dist/tool/plugin/file-diff.js +1 -1
  629. package/dist/tool/plugin/glob.js +121 -121
  630. package/dist/tool/plugin/grep.js +121 -121
  631. package/dist/tool/plugin/opencode.js +3 -3
  632. package/dist/tool/plugin/patch.js +118 -118
  633. package/dist/tool/plugin/question.js +101 -101
  634. package/dist/tool/plugin/read.js +122 -122
  635. package/dist/tool/plugin/shell.js +213 -213
  636. package/dist/tool/plugin/skill.js +107 -107
  637. package/dist/tool/plugin/subagent.js +215 -215
  638. package/dist/tool/plugin/webfetch.js +106 -106
  639. package/dist/tool/plugin/websearch.js +110 -110
  640. package/dist/tool/plugin/write.js +118 -118
  641. package/dist/tool/read-filesystem.js +97 -97
  642. package/dist/tool/runtime.js +1 -1
  643. package/dist/tool-output.js +8 -8
  644. package/dist/tool.js +15 -15
  645. package/dist/util/error-summary.js +1 -1
  646. package/dist/util/error.js +1 -1
  647. package/dist/util/iife.js +1 -1
  648. package/dist/util/lazy.js +1 -1
  649. package/dist/util/slug.js +1 -1
  650. package/dist/util/token.js +1 -1
  651. package/dist/util/which.js +1 -1
  652. package/dist/util/wildcard.js +1 -1
  653. package/dist/v1/config/agent.js +5 -5
  654. package/dist/v1/config/attachment.js +4 -4
  655. package/dist/v1/config/command.js +5 -5
  656. package/dist/v1/config/config.js +16 -16
  657. package/dist/v1/config/error.js +2 -2
  658. package/dist/v1/config/formatter.js +7 -7
  659. package/dist/v1/config/layout.js +1 -1
  660. package/dist/v1/config/lsp.js +5 -5
  661. package/dist/v1/config/mcp.js +4 -4
  662. package/dist/v1/config/migrate.js +4 -4
  663. package/dist/v1/config/permission.js +3 -3
  664. package/dist/v1/config/plugin.js +3 -3
  665. package/dist/v1/config/provider-options.js +1 -1
  666. package/dist/v1/config/provider.js +4 -4
  667. package/dist/v1/config/server.js +2 -2
  668. package/dist/v1/config/skills.js +3 -3
  669. package/dist/v1/permission.js +1 -1
  670. package/dist/vcs/patch.js +1 -1
  671. package/dist/vcs.js +86 -86
  672. package/dist/websearch.js +79 -79
  673. package/dist/wellknown/plugin.js +75 -75
  674. package/dist/wellknown.js +80 -80
  675. package/dist/workspace/driver.js +7 -7
  676. package/dist/workspace/sql.js +1 -1
  677. package/dist/workspace.js +77 -77
  678. package/dist/worktree/directory.js +4 -4
  679. package/dist/worktree/git.js +7 -7
  680. package/dist/worktree/refresh.js +339 -339
  681. package/dist/worktree/sql.js +5 -5
  682. package/dist/worktree.js +90 -90
  683. package/package.json +8 -8
  684. package/dist/chunks/persistent-pty-1tm0r3ht.js +0 -4
  685. package/dist/chunks/persistent-pty-9rr9jrmq.js +0 -247
  686. package/dist/chunks/persistent-pty-d5k9fk4j.js +0 -462
  687. package/dist/chunks/persistent-pty-phz3h32g.js +0 -18
  688. package/dist/chunks/persistent-pty-s6r9b74v.js +0 -22
  689. /package/dist/chunks/{persistent-pty-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
  690. /package/dist/chunks/{persistent-pty-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
  691. /package/dist/chunks/{persistent-pty-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
  692. /package/dist/chunks/{persistent-pty-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
  693. /package/dist/chunks/{persistent-pty-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
  694. /package/dist/chunks/{persistent-pty-2710q6r3.js → worktree-2710q6r3.js} +0 -0
  695. /package/dist/chunks/{persistent-pty-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
  696. /package/dist/chunks/{persistent-pty-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
  697. /package/dist/chunks/{persistent-pty-359p4xyc.js → worktree-359p4xyc.js} +0 -0
  698. /package/dist/chunks/{persistent-pty-3asan66x.js → worktree-3asan66x.js} +0 -0
  699. /package/dist/chunks/{persistent-pty-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
  700. /package/dist/chunks/{persistent-pty-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
  701. /package/dist/chunks/{persistent-pty-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
  702. /package/dist/chunks/{persistent-pty-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
  703. /package/dist/chunks/{persistent-pty-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
  704. /package/dist/chunks/{persistent-pty-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
  705. /package/dist/chunks/{persistent-pty-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
  706. /package/dist/chunks/{persistent-pty-53557ph1.js → worktree-53557ph1.js} +0 -0
  707. /package/dist/chunks/{persistent-pty-550bvhaj.js → worktree-550bvhaj.js} +0 -0
  708. /package/dist/chunks/{persistent-pty-6prwharc.js → worktree-6prwharc.js} +0 -0
  709. /package/dist/chunks/{persistent-pty-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
  710. /package/dist/chunks/{persistent-pty-7m9af43g.js → worktree-7m9af43g.js} +0 -0
  711. /package/dist/chunks/{persistent-pty-822emrt2.js → worktree-822emrt2.js} +0 -0
  712. /package/dist/chunks/{persistent-pty-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
  713. /package/dist/chunks/{persistent-pty-8n3pysct.js → worktree-8n3pysct.js} +0 -0
  714. /package/dist/chunks/{persistent-pty-922hggd3.js → worktree-922hggd3.js} +0 -0
  715. /package/dist/chunks/{persistent-pty-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
  716. /package/dist/chunks/{persistent-pty-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
  717. /package/dist/chunks/{persistent-pty-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
  718. /package/dist/chunks/{persistent-pty-af5trqkr.js → worktree-af5trqkr.js} +0 -0
  719. /package/dist/chunks/{persistent-pty-afrmfg78.js → worktree-afrmfg78.js} +0 -0
  720. /package/dist/chunks/{persistent-pty-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
  721. /package/dist/chunks/{persistent-pty-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
  722. /package/dist/chunks/{persistent-pty-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
  723. /package/dist/chunks/{persistent-pty-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
  724. /package/dist/chunks/{persistent-pty-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
  725. /package/dist/chunks/{persistent-pty-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
  726. /package/dist/chunks/{persistent-pty-d9fn303g.js → worktree-d9fn303g.js} +0 -0
  727. /package/dist/chunks/{persistent-pty-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
  728. /package/dist/chunks/{persistent-pty-dajrwvna.js → worktree-dajrwvna.js} +0 -0
  729. /package/dist/chunks/{persistent-pty-dap0rakb.js → worktree-dap0rakb.js} +0 -0
  730. /package/dist/chunks/{persistent-pty-df08tz66.js → worktree-df08tz66.js} +0 -0
  731. /package/dist/chunks/{persistent-pty-dy18nga0.js → worktree-dy18nga0.js} +0 -0
  732. /package/dist/chunks/{persistent-pty-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
  733. /package/dist/chunks/{persistent-pty-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
  734. /package/dist/chunks/{persistent-pty-ec1grn59.js → worktree-ec1grn59.js} +0 -0
  735. /package/dist/chunks/{persistent-pty-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
  736. /package/dist/chunks/{persistent-pty-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
  737. /package/dist/chunks/{persistent-pty-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
  738. /package/dist/chunks/{persistent-pty-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
  739. /package/dist/chunks/{persistent-pty-faypxj3z.js → worktree-faypxj3z.js} +0 -0
  740. /package/dist/chunks/{persistent-pty-fd410y7t.js → worktree-fd410y7t.js} +0 -0
  741. /package/dist/chunks/{persistent-pty-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
  742. /package/dist/chunks/{persistent-pty-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
  743. /package/dist/chunks/{persistent-pty-g86h250q.js → worktree-g86h250q.js} +0 -0
  744. /package/dist/chunks/{persistent-pty-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
  745. /package/dist/chunks/{persistent-pty-gftt206x.js → worktree-gftt206x.js} +0 -0
  746. /package/dist/chunks/{persistent-pty-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
  747. /package/dist/chunks/{persistent-pty-hk9envan.js → worktree-hk9envan.js} +0 -0
  748. /package/dist/chunks/{persistent-pty-hrnqkpcd.js → worktree-hrnqkpcd.js} +0 -0
  749. /package/dist/chunks/{persistent-pty-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
  750. /package/dist/chunks/{persistent-pty-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
  751. /package/dist/chunks/{persistent-pty-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
  752. /package/dist/chunks/{persistent-pty-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
  753. /package/dist/chunks/{persistent-pty-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
  754. /package/dist/chunks/{persistent-pty-mp448xyj.js → worktree-mp448xyj.js} +0 -0
  755. /package/dist/chunks/{persistent-pty-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
  756. /package/dist/chunks/{persistent-pty-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
  757. /package/dist/chunks/{persistent-pty-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
  758. /package/dist/chunks/{persistent-pty-njntx4h6.js → worktree-njntx4h6.js} +0 -0
  759. /package/dist/chunks/{persistent-pty-paphc93g.js → worktree-paphc93g.js} +0 -0
  760. /package/dist/chunks/{persistent-pty-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
  761. /package/dist/chunks/{persistent-pty-q74kybfr.js → worktree-q74kybfr.js} +0 -0
  762. /package/dist/chunks/{persistent-pty-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
  763. /package/dist/chunks/{persistent-pty-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
  764. /package/dist/chunks/{persistent-pty-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
  765. /package/dist/chunks/{persistent-pty-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
  766. /package/dist/chunks/{persistent-pty-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
  767. /package/dist/chunks/{persistent-pty-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
  768. /package/dist/chunks/{persistent-pty-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
  769. /package/dist/chunks/{persistent-pty-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
  770. /package/dist/chunks/{persistent-pty-twg0f83k.js → worktree-twg0f83k.js} +0 -0
  771. /package/dist/chunks/{persistent-pty-w803qqfp.js → worktree-w803qqfp.js} +0 -0
  772. /package/dist/chunks/{persistent-pty-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
  773. /package/dist/chunks/{persistent-pty-wtztk69x.js → worktree-wtztk69x.js} +0 -0
  774. /package/dist/chunks/{persistent-pty-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
  775. /package/dist/chunks/{persistent-pty-x61499pn.js → worktree-x61499pn.js} +0 -0
  776. /package/dist/chunks/{persistent-pty-y44na4kk.js → worktree-y44na4kk.js} +0 -0
  777. /package/dist/chunks/{persistent-pty-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
  778. /package/dist/chunks/{persistent-pty-y8f7s663.js → worktree-y8f7s663.js} +0 -0
  779. /package/dist/chunks/{persistent-pty-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
  780. /package/dist/chunks/{persistent-pty-ym463w8f.js → worktree-ym463w8f.js} +0 -0
  781. /package/dist/chunks/{persistent-pty-z9919s4g.js → worktree-z9919s4g.js} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/mime.ts
6
6
  var exports_mime = {};
@@ -1,37 +1,37 @@
1
1
  import {
2
2
  PositiveInt2,
3
3
  RelativePath2
4
- } from "./persistent-pty-922hggd3.js";
4
+ } from "./worktree-922hggd3.js";
5
5
  import {
6
- Service76,
7
- node81
8
- } from "./persistent-pty-154046h8.js";
6
+ Service75,
7
+ node80
8
+ } from "./worktree-6zfbav3y.js";
9
9
  import {
10
- Service43,
11
- node48
12
- } from "./persistent-pty-rbj3wcwb.js";
10
+ Service14,
11
+ node17
12
+ } from "./worktree-x0041dth.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-9rqn6x4v.js";
15
+ } from "./worktree-9rqn6x4v.js";
16
16
 
17
17
  // src/filesystem.ts
18
18
  var exports_filesystem = {};
19
19
  __export(exports_filesystem, {
20
- Content: () => Content3,
20
+ Content: () => Content2,
21
21
  DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
22
22
  DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
23
23
  Entry: () => Entry2,
24
- Event: () => Event9,
24
+ Event: () => Event2,
25
25
  FileSystem: () => exports_filesystem,
26
26
  FindInput: () => FindInput2,
27
27
  GlobInput: () => GlobInput2,
28
28
  GrepInput: () => GrepInput2,
29
- ListInput: () => ListInput3,
29
+ ListInput: () => ListInput2,
30
30
  Match: () => Match2,
31
31
  ReadInput: () => ReadInput2,
32
- Service: () => Service42,
32
+ Service: () => Service13,
33
33
  Submatch: () => Submatch2,
34
- node: () => node47
34
+ node: () => node16
35
35
  });
36
36
  import { makeLocationNode } from "@opencode/util/effect/app-node";
37
37
  import path from "path";
@@ -42,14 +42,14 @@ import { Entry as Entry2, Match as Match2, Submatch as Submatch2 } from "@openco
42
42
  var ReadInput2 = Schema.Struct({
43
43
  path: RelativePath2
44
44
  });
45
- var Content3 = Schema.Struct({
45
+ var Content2 = Schema.Struct({
46
46
  uri: Schema.String,
47
47
  name: Schema.String.pipe(Schema.optional),
48
48
  content: Schema.String,
49
49
  encoding: Schema.Literals(["utf8", "base64"]),
50
50
  mime: Schema.String
51
51
  }).annotate({ identifier: "FileSystem.Content" });
52
- var ListInput3 = Schema.Struct({
52
+ var ListInput2 = Schema.Struct({
53
53
  path: Schema.String.pipe(Schema.optional)
54
54
  });
55
55
  var DEFAULT_SEARCH_LIMIT2 = 100;
@@ -72,14 +72,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
72
72
  limit: Schema.optionalKey(PositiveInt2)
73
73
  }) {
74
74
  }
75
- var Event9 = FileSystem.Event;
75
+ var Event2 = FileSystem.Event;
76
76
 
77
- class Service42 extends Context.Service()("@opencode/FileSystem") {
77
+ class Service13 extends Context.Service()("@opencode/FileSystem") {
78
78
  }
79
- var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
79
+ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
80
80
  const fs = yield* FSUtil.Service;
81
- const location = yield* Service76;
82
- const search = yield* Service43;
81
+ const location = yield* Service75;
82
+ const search = yield* Service14;
83
83
  const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
84
84
  const resolve = Effect.fnUntraced(function* (input) {
85
85
  const absolute = path.resolve(location.directory, input ?? ".");
@@ -90,7 +90,7 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
90
90
  return yield* Effect.die(new Error("Path escapes the location"));
91
91
  return { absolute, real, directory: location.directory };
92
92
  });
93
- return Service42.of({
93
+ return Service13.of({
94
94
  find: search.find,
95
95
  read: Effect.fn("FileSystem.read")(function* (input) {
96
96
  const target = yield* resolve(input.path);
@@ -122,10 +122,10 @@ var baseLayer = Layer.effect(Service42, Effect.gen(function* () {
122
122
  })
123
123
  });
124
124
  }));
125
- var node47 = makeLocationNode({
126
- service: Service42,
125
+ var node16 = makeLocationNode({
126
+ service: Service13,
127
127
  layer: baseLayer,
128
- deps: [FSUtil.node, node81, node48]
128
+ deps: [FSUtil.node, node80, node17]
129
129
  });
130
130
 
131
- export { FindInput2, ReadInput2, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event9, Service42, node47, exports_filesystem, Entry2, Match2, Submatch2 };
131
+ export { FindInput2, ReadInput2, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event2, Service13, node16, exports_filesystem, Entry2, Match2, Submatch2 };
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/database/v1-migration.ts
6
6
  var exports_v1_migration = {};
@@ -2,26 +2,26 @@ import {
2
2
  NonNegativeInt2,
3
3
  PositiveInt2,
4
4
  RelativePath2
5
- } from "./persistent-pty-922hggd3.js";
5
+ } from "./worktree-922hggd3.js";
6
6
  import {
7
- Service46,
8
- node51
9
- } from "./persistent-pty-6spvy77a.js";
7
+ Service43,
8
+ node48
9
+ } from "./worktree-z77pcmag.js";
10
10
  import {
11
11
  RipgrepBinary2
12
- } from "./persistent-pty-8d7r5vzw.js";
12
+ } from "./worktree-8d7r5vzw.js";
13
13
  import {
14
14
  __export
15
- } from "./persistent-pty-9rqn6x4v.js";
15
+ } from "./worktree-9rqn6x4v.js";
16
16
 
17
17
  // src/ripgrep.ts
18
18
  var exports_ripgrep = {};
19
19
  __export(exports_ripgrep, {
20
- Error: () => Error3,
20
+ Error: () => Error2,
21
21
  InvalidPatternError: () => InvalidPatternError2,
22
22
  Ripgrep: () => exports_ripgrep,
23
- Service: () => Service44,
24
- node: () => node49
23
+ Service: () => Service22,
24
+ node: () => node26
25
25
  });
26
26
  import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
27
27
  import { ChildProcess } from "effect/unstable/process";
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
46
46
  });
47
47
  var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
48
48
 
49
- class Error3 extends Schema.TaggedError()("Ripgrep.Error", {
49
+ class Error2 extends Schema.TaggedError()("Ripgrep.Error", {
50
50
  message: Schema.String,
51
51
  cause: Schema.optional(Schema.Defect())
52
52
  }) {
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
58
58
  }) {
59
59
  }
60
60
 
61
- class Service44 extends Context.Service()("@opencode/Ripgrep") {
61
+ class Service22 extends Context.Service()("@opencode/Ripgrep") {
62
62
  }
63
- var failure = (message, cause) => new Error3({ message, cause });
63
+ var failure = (message, cause) => new Error2({ message, cause });
64
64
  var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
65
65
  var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
66
- var layer = Layer.effect(Service44, Effect.gen(function* () {
67
- const environment = yield* Service46;
66
+ var layer = Layer.effect(Service22, Effect.gen(function* () {
67
+ const environment = yield* Service43;
68
68
  const binary = yield* RipgrepBinary2.Service;
69
69
  const run = (input) => {
70
70
  const program = Effect.scoped(Effect.gen(function* () {
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
90
90
  return code === 1 ? [] : rows;
91
91
  }));
92
92
  const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
93
- return abortable.pipe(Effect.mapError((cause) => cause instanceof Error3 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
93
+ return abortable.pipe(Effect.mapError((cause) => cause instanceof Error2 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
94
94
  };
95
- return Service44.of({
95
+ return Service22.of({
96
96
  glob: (input) => run({
97
97
  cwd: input.cwd,
98
98
  limit: input.limit,
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
175
175
  }))))
176
176
  });
177
177
  }));
178
- var node49 = makeLocationNode({ service: Service44, layer, deps: [node51, RipgrepBinary2.node] });
178
+ var node26 = makeLocationNode({ service: Service22, layer, deps: [node48, RipgrepBinary2.node] });
179
179
 
180
- export { Error3, InvalidPatternError2, Service44, node49, exports_ripgrep };
180
+ export { Error2, InvalidPatternError2, Service22, node26, exports_ripgrep };
@@ -1,9 +1,9 @@
1
1
  import {
2
- ID15
3
- } from "./persistent-pty-0axr4kr0.js";
2
+ ID11
3
+ } from "./worktree-mm6ytk77.js";
4
4
  import {
5
5
  loadSDKFactory2
6
- } from "./persistent-pty-hjbc5kem.js";
6
+ } from "./worktree-hjbc5kem.js";
7
7
 
8
8
  // src/plugin/provider/sap-ai-core.ts
9
9
  import { Effect } from "effect";
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
14
14
  effect: Effect.fn(function* (ctx) {
15
15
  const npm = yield* Npm.Service;
16
16
  yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
17
- if (evt.model.providerID !== ID15.make("sap-ai-core"))
17
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
18
18
  return;
19
19
  const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
20
20
  if (serviceKey && !process.env.AICORE_SERVICE_KEY)
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
25
25
  evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
26
26
  }));
27
27
  yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
28
- if (evt.model.providerID !== ID15.make("sap-ai-core"))
28
+ if (evt.model.providerID !== ID11.make("sap-ai-core"))
29
29
  return;
30
30
  evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
31
31
  }));
@@ -1,36 +1,36 @@
1
1
  import {
2
- Service66
3
- } from "./persistent-pty-xaa2j8d2.js";
2
+ Service71
3
+ } from "./worktree-zw0bbc6p.js";
4
4
  import {
5
5
  ID4,
6
6
  Name2,
7
7
  toModelOutput3,
8
8
  prepare3,
9
- Service41
10
- } from "./persistent-pty-w8a3k0bq.js";
9
+ Service42
10
+ } from "./worktree-xab957cg.js";
11
11
  import {
12
12
  __export
13
- } from "./persistent-pty-9rqn6x4v.js";
13
+ } from "./worktree-9rqn6x4v.js";
14
14
 
15
15
  // src/tool/plugin/skill.ts
16
- var exports_skill3 = {};
17
- __export(exports_skill3, {
18
- Input: () => Input6,
19
- Output: () => Output4,
20
- Plugin: () => Plugin37,
21
- SkillTool: () => exports_skill3,
16
+ var exports_skill2 = {};
17
+ __export(exports_skill2, {
18
+ Input: () => Input3,
19
+ Output: () => Output2,
20
+ Plugin: () => Plugin17,
21
+ SkillTool: () => exports_skill2,
22
22
  description: () => description3,
23
- name: () => name6,
23
+ name: () => name3,
24
24
  toModelOutput: () => toModelOutput2
25
25
  });
26
26
  import { ToolFailure } from "@opencode/ai";
27
27
  import { Effect, Schema } from "effect";
28
28
  import { FSUtil } from "@opencode/util/fs-util";
29
- var name6 = "skill";
30
- var Input6 = Schema.Struct({
29
+ var name3 = "skill";
30
+ var Input3 = Schema.Struct({
31
31
  id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
32
32
  });
33
- var Output4 = Schema.Struct({
33
+ var Output2 = Schema.Struct({
34
34
  name: Name2,
35
35
  directory: Schema.String,
36
36
  output: Schema.String
@@ -43,25 +43,25 @@ var description3 = [
43
43
  `);
44
44
  var toModelOutput2 = toModelOutput3;
45
45
  var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
46
- var Plugin37 = {
46
+ var Plugin17 = {
47
47
  id: "opencode.tool.skill",
48
48
  effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
49
49
  const fs = yield* FSUtil.Service;
50
- const skills = yield* Service41;
51
- const permission = yield* Service66;
50
+ const skills = yield* Service42;
51
+ const permission = yield* Service71;
52
52
  yield* ctx.tool.transform((editor) => editor.add({
53
- name: name6,
53
+ name: name3,
54
54
  options: { codemode: false },
55
55
  description: description3,
56
- input: Input6,
57
- output: Output4,
56
+ input: Input3,
57
+ output: Output2,
58
58
  execute: (input, context) => Effect.gen(function* () {
59
59
  const skill = yield* skills.get(input.id);
60
60
  if (!skill)
61
61
  return yield* unableToLoad(input.id);
62
62
  return yield* Effect.gen(function* () {
63
63
  yield* permission.assert({
64
- action: name6,
64
+ action: name3,
65
65
  resources: [skill.id],
66
66
  save: [skill.id],
67
67
  sessionID: context.sessionID,
@@ -79,4 +79,4 @@ var Plugin37 = {
79
79
  })
80
80
  };
81
81
 
82
- export { name6, Input6, Output4, description3, toModelOutput2, Plugin37, exports_skill3 };
82
+ export { name3, Input3, Output2, description3, toModelOutput2, Plugin17, exports_skill2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  OAuth3
3
- } from "./persistent-pty-3jm4qh1z.js";
3
+ } from "./worktree-jnkjkfmr.js";
4
4
  import {
5
- ID12,
5
+ ID8,
6
6
  MethodID2
7
- } from "./persistent-pty-3snfyfpy.js";
7
+ } from "./worktree-bxss1q04.js";
8
8
  import {
9
9
  success2,
10
10
  error2
11
- } from "./persistent-pty-pjvnvgmy.js";
11
+ } from "./worktree-pjvnvgmy.js";
12
12
 
13
13
  // src/plugin/provider/poe.ts
14
14
  import { define } from "@opencode/plugin/effect/plugin";
15
15
  import { Clock, Deferred, Effect, Option, Schema } from "effect";
16
16
  import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
17
- var integrationID = ID12.make("poe");
17
+ var integrationID = ID8.make("poe");
18
18
  var methodID = MethodID2.make("browser");
19
19
  var clientID = "client_728290227fc048cc9262091a1ea197ea";
20
20
  var issuer = "https://poe.com";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  SessionMessage2
3
- } from "./persistent-pty-gftt206x.js";
3
+ } from "./worktree-gftt206x.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/session/message-updater.ts
9
9
  var exports_message_updater = {};
@@ -1,32 +1,32 @@
1
- import {
2
- Service79,
3
- node84
4
- } from "./persistent-pty-sfk8hzz5.js";
5
1
  import {
6
2
  Service78,
7
3
  node83
8
- } from "./persistent-pty-kt5w8vxh.js";
4
+ } from "./worktree-7gf7znvm.js";
5
+ import {
6
+ Service77,
7
+ node82
8
+ } from "./worktree-nbddwgy7.js";
9
9
  import {
10
- Service76,
11
- node81
12
- } from "./persistent-pty-154046h8.js";
10
+ Service75,
11
+ node80
12
+ } from "./worktree-6zfbav3y.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./persistent-pty-phz3h32g.js";
15
+ } from "./worktree-dxj72tfx.js";
16
16
  import {
17
- Service54,
18
- node60
19
- } from "./persistent-pty-65wkgmh5.js";
17
+ Service41,
18
+ node45
19
+ } from "./worktree-etbytr9f.js";
20
20
  import {
21
- node16
22
- } from "./persistent-pty-tdtzb82r.js";
21
+ node21
22
+ } from "./worktree-bc078hx2.js";
23
23
  import {
24
24
  Service12,
25
25
  node15
26
- } from "./persistent-pty-t0x5rdq8.js";
26
+ } from "./worktree-t0x5rdq8.js";
27
27
  import {
28
28
  __export
29
- } from "./persistent-pty-9rqn6x4v.js";
29
+ } from "./worktree-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher2 = {};
@@ -43,11 +43,11 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  class Service11 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
45
  var layer = Layer.effect(Service11, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service54;
48
- const bus = yield* Service79;
46
+ const location = yield* Service75;
47
+ const watcher = yield* Service41;
48
+ const bus = yield* Service78;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service78;
50
+ const git = yield* Service77;
51
51
  const policy = yield* Service12;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
105
105
  var node14 = makeLocationNode({
106
106
  service: Service11,
107
107
  layer,
108
- deps: [node60, FSUtil.node, node81, node83, node84, node16, node15]
108
+ deps: [node45, FSUtil.node, node80, node82, node83, node21, node15]
109
109
  });
110
110
 
111
111
  export { Service11, node14, exports_location_watcher2 };
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  makeUnsafe2
3
- } from "./persistent-pty-dpkg50ah.js";
3
+ } from "./worktree-y71avatq.js";
4
4
  import {
5
- Service46,
6
- node51
7
- } from "./persistent-pty-6spvy77a.js";
5
+ Service43,
6
+ node48
7
+ } from "./worktree-z77pcmag.js";
8
8
  import {
9
9
  __export
10
- } from "./persistent-pty-9rqn6x4v.js";
10
+ } from "./worktree-9rqn6x4v.js";
11
11
 
12
12
  // src/file-mutation.ts
13
13
  var exports_file_mutation = {};
14
14
  __export(exports_file_mutation, {
15
15
  FileMutation: () => exports_file_mutation,
16
- Service: () => Service45,
17
- node: () => node50,
16
+ Service: () => Service17,
17
+ node: () => node20,
18
18
  readText: () => readText2,
19
19
  syncTextBom: () => syncTextBom2
20
20
  });
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
22
22
  import { Context, Effect, Layer } from "effect";
23
23
  import { FSUtil } from "@opencode/util/fs-util";
24
24
  import { Bom } from "@opencode/util/bom";
25
- class Service45 extends Context.Service()("@opencode/FileMutation") {
25
+ class Service17 extends Context.Service()("@opencode/FileMutation") {
26
26
  }
27
27
  var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
28
28
  return Bom.decodeBytes((yield* files.read(target)).bytes);
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
34
34
  return synced.text;
35
35
  });
36
36
  var transactionLocks = makeUnsafe2();
37
- var layer = Layer.effect(Service45, Effect.gen(function* () {
38
- const environment = yield* Service46;
37
+ var layer = Layer.effect(Service17, Effect.gen(function* () {
38
+ const environment = yield* Service43;
39
39
  const locks = makeUnsafe2();
40
40
  const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
41
41
  const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service45, Effect.gen(function* () {
56
56
  yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
57
57
  return writeResult(input.target, current !== undefined);
58
58
  })));
59
- return Service45.of({ withLock, write, writeTextPreservingBom });
59
+ return Service17.of({ withLock, write, writeTextPreservingBom });
60
60
  }));
61
- var node50 = makeLocationNode({ service: Service45, layer, deps: [node51] });
61
+ var node20 = makeLocationNode({ service: Service17, layer, deps: [node48] });
62
62
 
63
- export { Service45, readText2, syncTextBom2, node50, exports_file_mutation };
63
+ export { Service17, readText2, syncTextBom2, node20, exports_file_mutation };
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  isAISDK2,
3
3
  packageName2
4
- } from "./persistent-pty-0axr4kr0.js";
4
+ } from "./worktree-mm6ytk77.js";
5
5
  import {
6
- ID14
7
- } from "./persistent-pty-hnc9qj7b.js";
6
+ ID7
7
+ } from "./worktree-gda53zk6.js";
8
8
 
9
9
  // src/plugin/provider/openrouter.ts
10
10
  import { Effect } from "effect";
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
21
21
  evt.provider.update(item.provider.id, (provider) => {
22
22
  provider.headers = { ...provider.headers, "HTTP-Referer": "https://opencode.ai/", "X-Title": "opencode" };
23
23
  });
24
- for (const modelID of [ID14.make("gpt-5-chat-latest"), ID14.make("openai/gpt-5-chat")]) {
24
+ for (const modelID of [ID7.make("gpt-5-chat-latest"), ID7.make("openai/gpt-5-chat")]) {
25
25
  if (!item.models.has(modelID))
26
26
  continue;
27
27
  evt.model.update(item.provider.id, modelID, (model) => {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/config/markdown.ts
6
6
  var exports_markdown = {};
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/v1/config/skills.ts
6
6
  var exports_skills = {};
7
7
  __export(exports_skills, {
8
8
  ConfigSkillsV1: () => exports_skills,
9
- Info: () => Info18
9
+ Info: () => Info7
10
10
  });
11
11
  import { Schema } from "effect";
12
- var Info18 = Schema.Struct({
12
+ var Info7 = Schema.Struct({
13
13
  paths: Schema.optional(Schema.Array(Schema.String)).annotate({
14
14
  description: "Additional paths to skill folders"
15
15
  }),
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
18
18
  })
19
19
  });
20
20
 
21
- export { Info18, exports_skills };
21
+ export { Info7, exports_skills };
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  __export
3
- } from "./persistent-pty-9rqn6x4v.js";
3
+ } from "./worktree-9rqn6x4v.js";
4
4
 
5
5
  // src/workspace/driver.ts
6
6
  var exports_driver = {};
7
7
  __export(exports_driver, {
8
8
  Binding: () => Binding2,
9
- Error: () => Error4,
9
+ Error: () => Error3,
10
10
  ProviderNotFound: () => ProviderNotFound2,
11
11
  RegistryService: () => RegistryService2,
12
12
  WorkspaceDriver: () => exports_driver,
13
- make: () => make17,
14
- node: () => node53,
13
+ make: () => make16,
14
+ node: () => node50,
15
15
  registry: () => registry2,
16
16
  registryNode: () => registryNode2
17
17
  });
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
19
19
  import { Context, Effect, Layer, Schema } from "effect";
20
20
  var Binding2 = Schema.Record(Schema.String, Schema.Json);
21
21
 
22
- class Error4 extends Schema.TaggedError()("WorkspaceDriver.Error", {
22
+ class Error3 extends Schema.TaggedError()("WorkspaceDriver.Error", {
23
23
  message: Schema.optional(Schema.String),
24
24
  cause: Schema.optional(Schema.Defect())
25
25
  }) {
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
29
29
  provider: Schema.String
30
30
  }) {
31
31
  }
32
- var make17 = (driver) => driver;
32
+ var make16 = (driver) => driver;
33
33
 
34
34
  class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
35
35
  }
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
44
44
  layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
45
45
  deps: []
46
46
  });
47
- var node53 = registryNode2({});
47
+ var node50 = registryNode2({});
48
48
 
49
- export { Binding2, Error4, ProviderNotFound2, make17, RegistryService2, registry2, registryNode2, node53, exports_driver };
49
+ export { Binding2, Error3, ProviderNotFound2, make16, RegistryService2, registry2, registryNode2, node50, exports_driver };
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  WebSocketConstructor2
3
- } from "./persistent-pty-y8cydn3q.js";
3
+ } from "./worktree-y8cydn3q.js";
4
4
  import {
5
5
  __export
6
- } from "./persistent-pty-9rqn6x4v.js";
6
+ } from "./worktree-9rqn6x4v.js";
7
7
 
8
8
  // src/effect/app-node-platform.ts
9
9
  var exports_app_node_platform = {};