@opencode/core 0.0.0-dev-19678 → 0.0.0-dev-19682

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 (788) hide show
  1. package/dist/account/sql.js +1 -1
  2. package/dist/agent.js +82 -82
  3. package/dist/aisdk-native.js +88 -88
  4. package/dist/aisdk.js +93 -93
  5. package/dist/app.js +9 -9
  6. package/dist/bus.js +68 -68
  7. package/dist/chunks/{worktree-9r40msyq.js → persistent-pty-0457sjwy.js} +11 -11
  8. package/dist/chunks/{worktree-7hjrp1ry.js → persistent-pty-0d1bsqa1.js} +19 -19
  9. package/dist/chunks/{worktree-mtft99cd.js → persistent-pty-0f9afca0.js} +5 -5
  10. package/dist/chunks/{worktree-174d77kk.js → persistent-pty-0m8ssbne.js} +10 -10
  11. package/dist/chunks/persistent-pty-0mesazry.js +4 -0
  12. package/dist/chunks/{worktree-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
  13. package/dist/chunks/{worktree-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
  14. package/dist/chunks/{worktree-3ks8vxtx.js → persistent-pty-0tvcf6qn.js} +24 -24
  15. package/dist/chunks/{worktree-y439a41h.js → persistent-pty-0xp5hpj0.js} +43 -43
  16. package/dist/chunks/{worktree-4vy3njsm.js → persistent-pty-0zbmh4se.js} +30 -30
  17. package/dist/chunks/{worktree-ktxmp402.js → persistent-pty-17es1da5.js} +41 -41
  18. package/dist/chunks/{worktree-qa7b4e57.js → persistent-pty-18sxed07.js} +33 -33
  19. package/dist/chunks/{worktree-qvsqjx3k.js → persistent-pty-1atzs1aw.js} +7 -7
  20. package/dist/chunks/{worktree-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
  21. package/dist/chunks/{worktree-4j96vqdr.js → persistent-pty-1drb93k1.js} +21 -21
  22. package/dist/chunks/{worktree-3x63gc5s.js → persistent-pty-1fdf6jkm.js} +6 -6
  23. package/dist/chunks/{worktree-trmhacsn.js → persistent-pty-1ftd87y6.js} +14 -14
  24. package/dist/chunks/{worktree-1w7shgq0.js → persistent-pty-1vp2wv45.js} +25 -25
  25. package/dist/chunks/{worktree-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
  26. package/dist/chunks/{worktree-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
  27. package/dist/chunks/{worktree-h6g83djs.js → persistent-pty-26bg82qa.js} +11 -11
  28. package/dist/chunks/{worktree-64kphnzf.js → persistent-pty-26k5bknw.js} +4 -4
  29. package/dist/chunks/{worktree-9crse6na.js → persistent-pty-29ekt46m.js} +23 -23
  30. package/dist/chunks/{worktree-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
  31. package/dist/chunks/{worktree-k711kv9r.js → persistent-pty-2ca164mb.js} +6 -6
  32. package/dist/chunks/{worktree-c27esgm9.js → persistent-pty-2eegacq4.js} +8 -8
  33. package/dist/chunks/{worktree-7dqw4kz8.js → persistent-pty-2k8khapm.js} +5 -5
  34. package/dist/chunks/{worktree-11zjtd0v.js → persistent-pty-2zmnbmev.js} +15 -15
  35. package/dist/chunks/{worktree-806j49yq.js → persistent-pty-34rkz0x9.js} +7 -7
  36. package/dist/chunks/{worktree-82axnvzk.js → persistent-pty-3a3m4psf.js} +15 -15
  37. package/dist/chunks/{worktree-c5879aa8.js → persistent-pty-3chrvcfn.js} +11 -11
  38. package/dist/chunks/{worktree-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
  39. package/dist/chunks/{worktree-n3ca23hd.js → persistent-pty-3gmdw0js.js} +10 -10
  40. package/dist/chunks/{worktree-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
  41. package/dist/chunks/{worktree-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
  42. package/dist/chunks/{worktree-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
  43. package/dist/chunks/{worktree-gaqhbna6.js → persistent-pty-3zc93ghn.js} +19 -19
  44. package/dist/chunks/{worktree-h6r3nrb9.js → persistent-pty-44h5tttr.js} +4 -4
  45. package/dist/chunks/{worktree-fkjmw100.js → persistent-pty-44ke2mar.js} +6 -6
  46. package/dist/chunks/{worktree-ng06a93p.js → persistent-pty-47bndgm5.js} +41 -41
  47. package/dist/chunks/{worktree-dtqg9ce1.js → persistent-pty-4drgpw32.js} +5 -5
  48. package/dist/chunks/{worktree-97wvmzf2.js → persistent-pty-4fpwq1r9.js} +3 -3
  49. package/dist/chunks/{worktree-qcqsneq1.js → persistent-pty-4kzetxh1.js} +14 -14
  50. package/dist/chunks/{worktree-hwys8km5.js → persistent-pty-4n4k0cnh.js} +4 -4
  51. package/dist/chunks/{worktree-hrxhtwh5.js → persistent-pty-4ttbd9rb.js} +17 -17
  52. package/dist/chunks/{worktree-am60j996.js → persistent-pty-4vf6h4mv.js} +5 -5
  53. package/dist/chunks/{worktree-qqj2dkp1.js → persistent-pty-4xmqhafq.js} +17 -17
  54. package/dist/chunks/{worktree-mem0xz91.js → persistent-pty-53g11zbg.js} +1 -1
  55. package/dist/chunks/{worktree-56gdpj1q.js → persistent-pty-56gdpj1q.js} +2 -2
  56. package/dist/chunks/{worktree-2fgn2we9.js → persistent-pty-57ez7d0k.js} +9 -9
  57. package/dist/chunks/{worktree-tj3qv296.js → persistent-pty-5by067t8.js} +4 -4
  58. package/dist/chunks/{worktree-nvxqht09.js → persistent-pty-5cmxdwv8.js} +3 -3
  59. package/dist/chunks/{worktree-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
  60. package/dist/chunks/{worktree-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
  61. package/dist/chunks/{worktree-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
  62. package/dist/chunks/{worktree-bjcwypgn.js → persistent-pty-5tpy2fbk.js} +10 -10
  63. package/dist/chunks/{worktree-6x4tw2n6.js → persistent-pty-5vb3py7h.js} +4 -4
  64. package/dist/chunks/{worktree-2r7cpq20.js → persistent-pty-5zf9zmc3.js} +7 -7
  65. package/dist/chunks/{worktree-mjb12pha.js → persistent-pty-65e72azk.js} +3 -3
  66. package/dist/chunks/{worktree-669tq793.js → persistent-pty-669tq793.js} +1 -1
  67. package/dist/chunks/{worktree-6ygx60r3.js → persistent-pty-677phc5j.js} +8 -8
  68. package/dist/chunks/{worktree-5s1g7zt8.js → persistent-pty-68tr05pn.js} +34 -34
  69. package/dist/chunks/{worktree-ttyx5d16.js → persistent-pty-6f4jyr9n.js} +1 -1
  70. package/dist/chunks/{worktree-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
  71. package/dist/chunks/{worktree-2vkv0cnq.js → persistent-pty-6ng8rhkc.js} +12 -12
  72. package/dist/chunks/{worktree-zxynhvrn.js → persistent-pty-709mss9f.js} +14 -14
  73. package/dist/chunks/{worktree-jymnr9tp.js → persistent-pty-771mw8n5.js} +84 -84
  74. package/dist/chunks/{worktree-debqk1x6.js → persistent-pty-77z07hfr.js} +5 -5
  75. package/dist/chunks/{worktree-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
  76. package/dist/chunks/{worktree-dze3spay.js → persistent-pty-7e0b5fpv.js} +10 -10
  77. package/dist/chunks/{worktree-15nepkqg.js → persistent-pty-7j2qha59.js} +8 -8
  78. package/dist/chunks/{worktree-3mkv12gd.js → persistent-pty-7pjh2c00.js} +20 -20
  79. package/dist/chunks/{worktree-w74nyqjb.js → persistent-pty-7rqzqf2y.js} +5 -5
  80. package/dist/chunks/{worktree-0e6tknjd.js → persistent-pty-7xnpcceb.js} +32 -32
  81. package/dist/chunks/{worktree-mg0hvqns.js → persistent-pty-83d2wykz.js} +24 -24
  82. package/dist/chunks/{worktree-bt4497rw.js → persistent-pty-8cnzmmsd.js} +23 -23
  83. package/dist/chunks/{worktree-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
  84. package/dist/chunks/{worktree-1vbr32jm.js → persistent-pty-8gyk9vq5.js} +4 -4
  85. package/dist/chunks/{worktree-raa150y6.js → persistent-pty-8kf7y4ht.js} +3 -3
  86. package/dist/chunks/{worktree-dj2t23y0.js → persistent-pty-8p4f9s12.js} +2 -2
  87. package/dist/chunks/{worktree-nez407vh.js → persistent-pty-8rx2gh2n.js} +81 -81
  88. package/dist/chunks/{worktree-75bwm8n8.js → persistent-pty-8xfqr98k.js} +14 -14
  89. package/dist/chunks/{worktree-sp9v8d94.js → persistent-pty-90rrdtsa.js} +10 -10
  90. package/dist/chunks/{worktree-z983bpbs.js → persistent-pty-98s8e1rw.js} +11 -11
  91. package/dist/chunks/{worktree-acm9d4wv.js → persistent-pty-99jk88nh.js} +44 -44
  92. package/dist/chunks/{worktree-s2t3dg79.js → persistent-pty-9cyc6z1w.js} +10 -10
  93. package/dist/chunks/{worktree-k87h7t0v.js → persistent-pty-9g2dhd49.js} +12 -12
  94. package/dist/chunks/{worktree-49yfvyax.js → persistent-pty-9jvshbgc.js} +21 -21
  95. package/dist/chunks/{worktree-phbvt86a.js → persistent-pty-9r4twygd.js} +32 -32
  96. package/dist/chunks/{worktree-5c4hm403.js → persistent-pty-a1bz86dw.js} +3 -3
  97. package/dist/chunks/{worktree-xec0sntw.js → persistent-pty-a50z0fpr.js} +17 -17
  98. package/dist/chunks/{worktree-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
  99. package/dist/chunks/{worktree-02y3xw2c.js → persistent-pty-afm11xz0.js} +3 -3
  100. package/dist/chunks/{worktree-hnez55bc.js → persistent-pty-akan8yn4.js} +8 -8
  101. package/dist/chunks/{worktree-sx7frpfz.js → persistent-pty-an66st8b.js} +14 -14
  102. package/dist/chunks/{worktree-dzpmeesh.js → persistent-pty-ax36eyar.js} +8 -8
  103. package/dist/chunks/{worktree-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
  104. package/dist/chunks/{worktree-wy8b5sm2.js → persistent-pty-b97cbvw3.js} +1 -1
  105. package/dist/chunks/{worktree-w5f4svzp.js → persistent-pty-bbctgmqj.js} +3 -3
  106. package/dist/chunks/{worktree-9xq3nbft.js → persistent-pty-bf44fs7q.js} +24 -24
  107. package/dist/chunks/{worktree-7ac170kv.js → persistent-pty-bha4atvq.js} +4 -4
  108. package/dist/chunks/{worktree-bfd4xtf1.js → persistent-pty-bjff6841.js} +17 -17
  109. package/dist/chunks/{worktree-hpapf7ej.js → persistent-pty-bmqzgjgb.js} +23 -23
  110. package/dist/chunks/{worktree-dg5bcj4q.js → persistent-pty-bscb95cy.js} +6 -6
  111. package/dist/chunks/{worktree-57e9z27j.js → persistent-pty-bw0vgseb.js} +8 -8
  112. package/dist/chunks/{worktree-p193qfyh.js → persistent-pty-bzhwnh4p.js} +26 -26
  113. package/dist/chunks/persistent-pty-c1q333ww.js +26 -0
  114. package/dist/chunks/{worktree-nw2nz702.js → persistent-pty-c5gn303e.js} +4 -4
  115. package/dist/chunks/{worktree-3w2b2yj4.js → persistent-pty-c78bbtc9.js} +5 -5
  116. package/dist/chunks/{worktree-j72m2ftj.js → persistent-pty-cacw0tx2.js} +11 -11
  117. package/dist/chunks/{worktree-m0jqrx5p.js → persistent-pty-cfpkc3c9.js} +2 -2
  118. package/dist/chunks/{worktree-8c8zehe5.js → persistent-pty-ck5kwbgm.js} +11 -11
  119. package/dist/chunks/{worktree-2d57kztd.js → persistent-pty-cpy6gm2a.js} +6 -6
  120. package/dist/chunks/{worktree-qes64rbd.js → persistent-pty-cw2220fx.js} +29 -29
  121. package/dist/chunks/{worktree-60age542.js → persistent-pty-cwk6dc0f.js} +15 -15
  122. package/dist/chunks/{worktree-k7myrtme.js → persistent-pty-d43tgzm4.js} +9 -9
  123. package/dist/chunks/{worktree-k0skhwzc.js → persistent-pty-d48be562.js} +5 -5
  124. package/dist/chunks/{worktree-r3gqfajy.js → persistent-pty-dase69n4.js} +26 -26
  125. package/dist/chunks/{worktree-fprzj95g.js → persistent-pty-ddcn1th9.js} +16 -16
  126. package/dist/chunks/{worktree-dpkg50ah.js → persistent-pty-dpkg50ah.js} +1 -1
  127. package/dist/chunks/{worktree-c0ryrrzn.js → persistent-pty-e2ky9s5t.js} +50 -50
  128. package/dist/chunks/{worktree-mhvd9vx8.js → persistent-pty-e2wwkkr3.js} +25 -25
  129. package/dist/chunks/{worktree-3f706czv.js → persistent-pty-e3ej8st1.js} +17 -17
  130. package/dist/chunks/{worktree-exf0ag6m.js → persistent-pty-e4zvn0y8.js} +8 -8
  131. package/dist/chunks/{worktree-2xfxk6th.js → persistent-pty-e550c21h.js} +15 -15
  132. package/dist/chunks/{worktree-1cq10s00.js → persistent-pty-e5gwvkqs.js} +7 -7
  133. package/dist/chunks/{worktree-jywqkjj6.js → persistent-pty-e7z9zthm.js} +11 -11
  134. package/dist/chunks/{worktree-s8d7rejh.js → persistent-pty-eaj1djv9.js} +6 -6
  135. package/dist/chunks/{worktree-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
  136. package/dist/chunks/{worktree-t3w5bgp4.js → persistent-pty-egja3w3k.js} +11 -11
  137. package/dist/chunks/{worktree-44vcf97r.js → persistent-pty-ehjgfrb8.js} +29 -29
  138. package/dist/chunks/{worktree-t7n9q6bq.js → persistent-pty-embw8kgh.js} +4 -4
  139. package/dist/chunks/{worktree-vyrd71eq.js → persistent-pty-ep6z9mt6.js} +11 -11
  140. package/dist/chunks/{worktree-8kkw5ddh.js → persistent-pty-erk99hyj.js} +42 -42
  141. package/dist/chunks/{worktree-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
  142. package/dist/chunks/{worktree-x7cz0th0.js → persistent-pty-f2njkax9.js} +7 -7
  143. package/dist/chunks/{worktree-v179d97a.js → persistent-pty-f3a1m4jg.js} +10 -10
  144. package/dist/chunks/{worktree-3tey1tqk.js → persistent-pty-f6f6yxds.js} +3 -3
  145. package/dist/chunks/{worktree-hdnk95c8.js → persistent-pty-f828m53h.js} +2 -2
  146. package/dist/chunks/{worktree-za77p82n.js → persistent-pty-fds3vh5r.js} +6 -6
  147. package/dist/chunks/{worktree-ff5f6xfc.js → persistent-pty-fp9xmcy3.js} +8 -8
  148. package/dist/chunks/{worktree-dr666zk0.js → persistent-pty-fpfkm27p.js} +16 -16
  149. package/dist/chunks/{worktree-6y50b3ce.js → persistent-pty-fr1268wp.js} +17 -17
  150. package/dist/chunks/{worktree-tk4xefdg.js → persistent-pty-fvy1mc4q.js} +12 -12
  151. package/dist/chunks/{worktree-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
  152. package/dist/chunks/{worktree-rdh7f4cw.js → persistent-pty-fxbmv06w.js} +10 -10
  153. package/dist/chunks/{worktree-yetagcyg.js → persistent-pty-fype0rw8.js} +11 -11
  154. package/dist/chunks/{worktree-besmmfw0.js → persistent-pty-fzvmjdr3.js} +13 -13
  155. package/dist/chunks/{worktree-ppqxyqmv.js → persistent-pty-g5g08czv.js} +10 -10
  156. package/dist/chunks/{worktree-p3bnatdk.js → persistent-pty-gamcf2tt.js} +33 -33
  157. package/dist/chunks/{worktree-5trqfzya.js → persistent-pty-gb7dj5em.js} +36 -36
  158. package/dist/chunks/{worktree-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
  159. package/dist/chunks/{worktree-fdz2twvr.js → persistent-pty-gddc0fts.js} +58 -58
  160. package/dist/chunks/{worktree-2ancfe85.js → persistent-pty-gg4a0jgp.js} +25 -25
  161. package/dist/chunks/{worktree-bg86vx51.js → persistent-pty-ghdbx2at.js} +15 -15
  162. package/dist/chunks/{worktree-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
  163. package/dist/chunks/{worktree-5kssg3wf.js → persistent-pty-gxq6akdt.js} +4 -4
  164. package/dist/chunks/{worktree-ghstkmyc.js → persistent-pty-gypqxzd7.js} +7 -7
  165. package/dist/chunks/{worktree-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
  166. package/dist/chunks/{worktree-x68ppmc8.js → persistent-pty-h0b9xjk8.js} +5 -5
  167. package/dist/chunks/{worktree-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
  168. package/dist/chunks/{worktree-68cy5tvk.js → persistent-pty-hesrcs9n.js} +17 -17
  169. package/dist/chunks/{worktree-mpn67x5p.js → persistent-pty-hgehe5qr.js} +11 -11
  170. package/dist/chunks/{worktree-7r8e83hb.js → persistent-pty-hpbxecpz.js} +29 -29
  171. package/dist/chunks/{worktree-xqn2na27.js → persistent-pty-hsv3rq22.js} +4 -4
  172. package/dist/chunks/{worktree-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
  173. package/dist/chunks/{worktree-hbxbz73r.js → persistent-pty-jak50wjt.js} +26 -26
  174. package/dist/chunks/{worktree-952wf3h0.js → persistent-pty-jbz8x4nc.js} +33 -33
  175. package/dist/chunks/{worktree-33xqp8c4.js → persistent-pty-jsed32gb.js} +20 -20
  176. package/dist/chunks/{worktree-tnb9a9ra.js → persistent-pty-jt0mfgqw.js} +47 -47
  177. package/dist/chunks/{worktree-hcz3zddy.js → persistent-pty-jv01nqvq.js} +5 -5
  178. package/dist/chunks/{worktree-k3gnzxs0.js → persistent-pty-k3gnzxs0.js} +2 -2
  179. package/dist/chunks/{worktree-z5y2jtdt.js → persistent-pty-ke2aez33.js} +32 -32
  180. package/dist/chunks/{worktree-3wa5p8ds.js → persistent-pty-kedanpwc.js} +22 -22
  181. package/dist/chunks/{worktree-b6f6n79x.js → persistent-pty-kg4jxx0b.js} +10 -10
  182. package/dist/chunks/{worktree-1jaghqsx.js → persistent-pty-kh2xt8yc.js} +17 -17
  183. package/dist/chunks/{worktree-rrqhc0g8.js → persistent-pty-kj36yjv0.js} +9 -9
  184. package/dist/chunks/{worktree-seeh73d1.js → persistent-pty-kszyjgag.js} +24 -24
  185. package/dist/chunks/{worktree-3mz07r45.js → persistent-pty-ky788973.js} +11 -11
  186. package/dist/chunks/{worktree-a40np59p.js → persistent-pty-m07kesbd.js} +31 -31
  187. package/dist/chunks/{worktree-1qdmrsyh.js → persistent-pty-m31hrvtp.js} +11 -11
  188. package/dist/chunks/{worktree-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
  189. package/dist/chunks/{worktree-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
  190. package/dist/chunks/{worktree-kk00bynn.js → persistent-pty-magykp64.js} +21 -21
  191. package/dist/chunks/{worktree-tyxy8y33.js → persistent-pty-mnmpf8vs.js} +8 -8
  192. package/dist/chunks/{worktree-3dqfb5kw.js → persistent-pty-mz25dwn3.js} +22 -22
  193. package/dist/chunks/{worktree-hzah94rf.js → persistent-pty-mzhzy1pb.js} +13 -13
  194. package/dist/chunks/{worktree-bm2bzb1v.js → persistent-pty-n4x3txqd.js} +4 -4
  195. package/dist/chunks/{worktree-gn7pfh5g.js → persistent-pty-n6twqwrr.js} +3 -3
  196. package/dist/chunks/persistent-pty-n95b3jav.js +18 -0
  197. package/dist/chunks/{worktree-fhv9k6kb.js → persistent-pty-npsagvvz.js} +5 -5
  198. package/dist/chunks/{worktree-fhs97t90.js → persistent-pty-nq7qbqzc.js} +9 -9
  199. package/dist/chunks/{worktree-k2e2j23h.js → persistent-pty-nrp0dgk2.js} +20 -20
  200. package/dist/chunks/{worktree-3xb03r27.js → persistent-pty-p1zb2z5r.js} +16 -16
  201. package/dist/chunks/{worktree-kjj16b39.js → persistent-pty-p91ayak9.js} +7 -7
  202. package/dist/chunks/{worktree-925cq2hc.js → persistent-pty-pcawhjwq.js} +289 -289
  203. package/dist/chunks/{worktree-w7xn1kg1.js → persistent-pty-pea6h7py.js} +14 -14
  204. package/dist/chunks/{worktree-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
  205. package/dist/chunks/{worktree-mwemq795.js → persistent-pty-pk54j106.js} +26 -26
  206. package/dist/chunks/{worktree-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
  207. package/dist/chunks/{worktree-frhb2p6t.js → persistent-pty-pt4q81m1.js} +4 -4
  208. package/dist/chunks/{worktree-9zj2yd8z.js → persistent-pty-q8dvbymb.js} +20 -20
  209. package/dist/chunks/{worktree-qnq7qc9v.js → persistent-pty-qa0ka09q.js} +2 -2
  210. package/dist/chunks/{worktree-c765mh8b.js → persistent-pty-qmqgtz8f.js} +9 -9
  211. package/dist/chunks/{worktree-jzc84zhf.js → persistent-pty-qq0enmay.js} +17 -17
  212. package/dist/chunks/{worktree-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
  213. package/dist/chunks/{worktree-1bbkgx8g.js → persistent-pty-r5x6zcsm.js} +3 -3
  214. package/dist/chunks/{worktree-3j8yw4h7.js → persistent-pty-r7pgccbm.js} +29 -29
  215. package/dist/chunks/{worktree-7atngb88.js → persistent-pty-r98e92ep.js} +4 -4
  216. package/dist/chunks/{worktree-gr63znzm.js → persistent-pty-rdt39d18.js} +16 -16
  217. package/dist/chunks/{worktree-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
  218. package/dist/chunks/{worktree-60rwq83k.js → persistent-pty-rf0ac1nd.js} +24 -24
  219. package/dist/chunks/{worktree-g0qmj2x0.js → persistent-pty-rgfqswwp.js} +5 -5
  220. package/dist/chunks/{worktree-qx0q8j4j.js → persistent-pty-rhzgsha5.js} +24 -24
  221. package/dist/chunks/{worktree-48q12zrq.js → persistent-pty-rvayqjwn.js} +17 -17
  222. package/dist/chunks/{worktree-mwsp0qbh.js → persistent-pty-ry3rwstb.js} +6 -6
  223. package/dist/chunks/{worktree-qs15877k.js → persistent-pty-rya04ard.js} +35 -35
  224. package/dist/chunks/{worktree-s5f4w46x.js → persistent-pty-s7cyq3j7.js} +6 -6
  225. package/dist/chunks/{worktree-b7v0y5ep.js → persistent-pty-sbrnn11p.js} +4 -4
  226. package/dist/chunks/{worktree-evp7db52.js → persistent-pty-scr9tq7r.js} +6 -6
  227. package/dist/chunks/{worktree-9vzt17gg.js → persistent-pty-sf2e06tm.js} +178 -178
  228. package/dist/chunks/{worktree-bxzvdraz.js → persistent-pty-sxwb65hc.js} +39 -31
  229. package/dist/chunks/{worktree-5d13hs91.js → persistent-pty-t2tcessw.js} +16 -16
  230. package/dist/chunks/{worktree-xmw8x2ed.js → persistent-pty-t68jr2fk.js} +17 -17
  231. package/dist/chunks/{worktree-sqespdca.js → persistent-pty-t8tppdbr.js} +15 -15
  232. package/dist/chunks/{worktree-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
  233. package/dist/chunks/{worktree-tcay1cqt.js → persistent-pty-tcay1cqt.js} +1 -1
  234. package/dist/chunks/{worktree-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
  235. package/dist/chunks/{worktree-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
  236. package/dist/chunks/{worktree-16zykpq3.js → persistent-pty-tebckzj7.js} +6 -6
  237. package/dist/chunks/{worktree-j16bxe15.js → persistent-pty-tmdzsscp.js} +21 -21
  238. package/dist/chunks/{worktree-xzj8ke1r.js → persistent-pty-tp9yp7n5.js} +43 -43
  239. package/dist/chunks/{worktree-pa8pe2x7.js → persistent-pty-tpw6cwsb.js} +8 -8
  240. package/dist/chunks/{worktree-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
  241. package/dist/chunks/{worktree-41xcr2yw.js → persistent-pty-tvysf4y4.js} +5 -5
  242. package/dist/chunks/{worktree-y1ty9ay3.js → persistent-pty-v606rqvb.js} +15 -15
  243. package/dist/chunks/{worktree-ekhc6zn8.js → persistent-pty-v8x5s6qt.js} +42 -42
  244. package/dist/chunks/{worktree-j4816qjh.js → persistent-pty-vbx9nkth.js} +15 -15
  245. package/dist/chunks/{worktree-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
  246. package/dist/chunks/{worktree-nz9pm5x8.js → persistent-pty-vhg8gbw9.js} +13 -13
  247. package/dist/chunks/{worktree-tqkrwgse.js → persistent-pty-vmgq4x8b.js} +2 -2
  248. package/dist/chunks/{worktree-283sq9eb.js → persistent-pty-vmwh049b.js} +9 -9
  249. package/dist/chunks/{worktree-w09ej8yv.js → persistent-pty-vpscksex.js} +30 -30
  250. package/dist/chunks/{worktree-z6m0aj3j.js → persistent-pty-vpy6tv1g.js} +18 -18
  251. package/dist/chunks/{worktree-4b3kehkn.js → persistent-pty-vsrt67qk.js} +5 -5
  252. package/dist/chunks/{worktree-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
  253. package/dist/chunks/{worktree-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
  254. package/dist/chunks/{worktree-yv0bcf73.js → persistent-pty-w6sjcj00.js} +40 -40
  255. package/dist/chunks/{worktree-8rphe9sf.js → persistent-pty-w6tpnshf.js} +6 -6
  256. package/dist/chunks/{worktree-hkqe0sh1.js → persistent-pty-w8hnngn5.js} +10 -10
  257. package/dist/chunks/{worktree-kwkjs9hb.js → persistent-pty-wbyzgfj3.js} +12 -12
  258. package/dist/chunks/{worktree-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
  259. package/dist/chunks/{worktree-wtgc8z9n.js → persistent-pty-wgcwk5gf.js} +15 -15
  260. package/dist/chunks/{worktree-bexm9nce.js → persistent-pty-wn348gvk.js} +35 -35
  261. package/dist/chunks/persistent-pty-wyxhhks7.js +247 -0
  262. package/dist/chunks/{worktree-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
  263. package/dist/chunks/{worktree-zxyzar11.js → persistent-pty-x2bhsfx5.js} +52 -52
  264. package/dist/chunks/{worktree-hecwjcfa.js → persistent-pty-x8d4tdmm.js} +24 -24
  265. package/dist/chunks/{worktree-zmxhfkmg.js → persistent-pty-xbry3q9d.js} +22 -22
  266. package/dist/chunks/{worktree-qe3myk5j.js → persistent-pty-xeqcm4dq.js} +5 -5
  267. package/dist/chunks/{worktree-drwq78ky.js → persistent-pty-xfkkasph.js} +4 -4
  268. package/dist/chunks/{worktree-h5t1cqyn.js → persistent-pty-xk76jmgb.js} +3 -3
  269. package/dist/chunks/{worktree-vyd8sw8j.js → persistent-pty-xrzs32wx.js} +30 -30
  270. package/dist/chunks/{worktree-84mkzp6g.js → persistent-pty-xxg060p8.js} +11 -11
  271. package/dist/chunks/{worktree-wnc6j8g9.js → persistent-pty-xy1te82j.js} +3 -3
  272. package/dist/chunks/{worktree-qt026hkp.js → persistent-pty-xz5jgbdk.js} +9 -9
  273. package/dist/chunks/{worktree-w8fg0vxv.js → persistent-pty-y02q0mz5.js} +12 -12
  274. package/dist/chunks/{worktree-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
  275. package/dist/chunks/{worktree-ee7tvcsv.js → persistent-pty-y3g69tt1.js} +24 -24
  276. package/dist/chunks/{worktree-y56ehv6b.js → persistent-pty-y56ehv6b.js} +2 -2
  277. package/dist/chunks/{worktree-f2n192rq.js → persistent-pty-yp2x3t23.js} +4 -4
  278. package/dist/chunks/{worktree-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
  279. package/dist/chunks/{worktree-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
  280. package/dist/chunks/{worktree-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
  281. package/dist/chunks/{worktree-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
  282. package/dist/chunks/{worktree-1bvrbzys.js → persistent-pty-z8rhdvzk.js} +20 -20
  283. package/dist/chunks/{worktree-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
  284. package/dist/chunks/{worktree-sy7hnc8c.js → persistent-pty-zqew8r2r.js} +15 -15
  285. package/dist/chunks/{worktree-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
  286. package/dist/chunks/{worktree-4ws0t3r6.js → persistent-pty-zwyvjxyb.js} +8 -8
  287. package/dist/chunks/{worktree-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
  288. package/dist/codemode/catalog.js +1 -1
  289. package/dist/codemode/instructions.js +7 -7
  290. package/dist/codemode/tool.js +3 -3
  291. package/dist/codemode/web.js +1 -1
  292. package/dist/command.js +82 -82
  293. package/dist/config/discovery.js +81 -81
  294. package/dist/config/markdown.js +1 -1
  295. package/dist/config/normalize.js +105 -105
  296. package/dist/config/plugin/agent.js +122 -122
  297. package/dist/config/plugin/command.js +211 -211
  298. package/dist/config/plugin/compaction.js +159 -159
  299. package/dist/config/plugin/compatibility.js +140 -140
  300. package/dist/config/plugin/entry-observer.js +1 -1
  301. package/dist/config/plugin/formatter.js +123 -123
  302. package/dist/config/plugin/image.js +120 -120
  303. package/dist/config/plugin/instruction.js +89 -89
  304. package/dist/config/plugin/location-watcher.js +122 -122
  305. package/dist/config/plugin/mcp.js +129 -129
  306. package/dist/config/plugin/policy.js +122 -122
  307. package/dist/config/plugin/provider.js +122 -122
  308. package/dist/config/plugin/reference.js +124 -124
  309. package/dist/config/plugin/shell.js +122 -122
  310. package/dist/config/plugin/skill-file.js +101 -101
  311. package/dist/config/plugin/skill.js +141 -141
  312. package/dist/config/plugin/snapshot.js +122 -122
  313. package/dist/config/plugin/source.js +119 -119
  314. package/dist/config/plugin/tool-output.js +124 -124
  315. package/dist/config/plugin/websearch.js +121 -121
  316. package/dist/config/plugin/worktree.js +124 -124
  317. package/dist/config/variable.js +3 -3
  318. package/dist/config/watch.js +1 -1
  319. package/dist/config.js +127 -127
  320. package/dist/credential/sql.js +2 -2
  321. package/dist/credential.js +84 -84
  322. package/dist/database/database.js +65 -65
  323. package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
  324. package/dist/database/drizzle/effect-sqlite/index.js +12 -12
  325. package/dist/database/drizzle/effect-sqlite/session.js +11 -11
  326. package/dist/database/drizzle/index.js +13 -13
  327. package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
  328. package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
  329. package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
  330. package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
  331. package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
  332. package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
  333. package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
  334. package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
  335. package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
  336. package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
  337. package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
  338. package/dist/database/drizzle.js +14 -14
  339. package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
  340. package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
  341. package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
  342. package/dist/database/migration/20260225215848_workspace.js +1 -1
  343. package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
  344. package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
  345. package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
  346. package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
  347. package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
  348. package/dist/database/migration/20260323234822_events.js +1 -1
  349. package/dist/database/migration/20260410174513_workspace-name.js +1 -1
  350. package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
  351. package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
  352. package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
  353. package/dist/database/migration/20260428004200_add_session_path.js +1 -1
  354. package/dist/database/migration/20260501142318_next_venus.js +1 -1
  355. package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
  356. package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
  357. package/dist/database/migration/20260510033149_session_usage.js +1 -1
  358. package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
  359. package/dist/database/migration/20260511173437_session-metadata.js +1 -1
  360. package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
  361. package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
  362. package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
  363. package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
  364. package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
  365. package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
  366. package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
  367. package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
  368. package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
  369. package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
  370. package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
  371. package/dist/database/migration/20260611035744_credential.js +1 -1
  372. package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
  373. package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
  374. package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
  375. package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
  376. package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
  377. package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
  378. package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
  379. package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
  380. package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
  381. package/dist/database/migration/20260812181746_session_inbox.js +1 -1
  382. package/dist/database/migration/20260812213948_worktree.js +1 -1
  383. package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
  384. package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
  385. package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
  386. package/dist/database/migration.gen.js +48 -48
  387. package/dist/database/migration.js +50 -50
  388. package/dist/database/path.js +2 -2
  389. package/dist/database/schema.gen.js +1 -1
  390. package/dist/database/schema.sql.js +1 -1
  391. package/dist/database/sqlite.bun.js +1 -1
  392. package/dist/database/sqlite.js +1 -1
  393. package/dist/database/sqlite.node.js +1 -1
  394. package/dist/database/sqlite.workerd.js +1 -1
  395. package/dist/database/v1-migration.bun.js +75 -75
  396. package/dist/database/v1-migration.js +1 -1
  397. package/dist/effect/app-node-builder.js +359 -359
  398. package/dist/effect/app-node-platform.js +2 -2
  399. package/dist/effect/keyed-mutex.js +1 -1
  400. package/dist/effect/websocket-constructor.js +1 -1
  401. package/dist/environment/driver.js +1 -1
  402. package/dist/environment/environment.js +92 -92
  403. package/dist/environment/exec-defaults.js +2 -2
  404. package/dist/environment/files.js +1 -1
  405. package/dist/environment/index.js +94 -94
  406. package/dist/environment/local.js +2 -2
  407. package/dist/environment/memory.js +2 -2
  408. package/dist/environment/unavailable.js +1 -1
  409. package/dist/event/sql.js +1 -1
  410. package/dist/event-logger.js +69 -69
  411. package/dist/file-access.js +103 -103
  412. package/dist/file-mutation.js +93 -93
  413. package/dist/file-retention.js +1 -1
  414. package/dist/file.js +1 -1
  415. package/dist/filesystem/fff.bun.js +2 -2
  416. package/dist/filesystem/fff.js +1 -1
  417. package/dist/filesystem/fff.node.js +2 -2
  418. package/dist/filesystem/fff.workerd.js +2 -2
  419. package/dist/filesystem/ignore.js +1 -1
  420. package/dist/filesystem/location-watcher-policy.js +6 -6
  421. package/dist/filesystem/location-watcher.js +220 -220
  422. package/dist/filesystem/protected.js +1 -1
  423. package/dist/filesystem/search.js +92 -92
  424. package/dist/filesystem/watcher-binding.js +3 -3
  425. package/dist/filesystem/watcher.js +15 -15
  426. package/dist/filesystem.js +93 -93
  427. package/dist/form.js +83 -83
  428. package/dist/formatter/builtins.js +4 -4
  429. package/dist/formatter.js +86 -86
  430. package/dist/generate.js +102 -102
  431. package/dist/git.js +10 -10
  432. package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
  433. package/dist/github-copilot/chat/get-response-metadata.js +1 -1
  434. package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
  435. package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
  436. package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
  437. package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
  438. package/dist/github-copilot/copilot-provider.js +17 -17
  439. package/dist/github-copilot/models.js +98 -98
  440. package/dist/github-copilot/openai-compatible-error.js +1 -1
  441. package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
  442. package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
  443. package/dist/github-copilot/responses/openai-error.js +1 -1
  444. package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
  445. package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
  446. package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
  447. package/dist/github-copilot/responses/tool/file-search.js +1 -1
  448. package/dist/github-copilot/responses/tool/image-generation.js +1 -1
  449. package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
  450. package/dist/github-copilot/responses/tool/web-search.js +1 -1
  451. package/dist/id/id.js +1 -1
  452. package/dist/image/photon.js +2 -2
  453. package/dist/image.js +6 -6
  454. package/dist/instance/service.js +1 -1
  455. package/dist/instance.js +352 -352
  456. package/dist/instruction-discovery.js +84 -84
  457. package/dist/instructions/builtins.js +86 -86
  458. package/dist/instructions/index.js +3 -3
  459. package/dist/integration/connection.js +3 -3
  460. package/dist/integration.js +85 -85
  461. package/dist/job.js +78 -78
  462. package/dist/kv/sql.js +2 -2
  463. package/dist/kv.js +72 -72
  464. package/dist/location-activity.js +131 -131
  465. package/dist/location-mutation.js +103 -103
  466. package/dist/location-service-map.js +85 -85
  467. package/dist/location-services.js +353 -353
  468. package/dist/location.js +86 -86
  469. package/dist/mcp/client.js +90 -90
  470. package/dist/mcp/index.js +99 -99
  471. package/dist/mcp/instructions.js +123 -123
  472. package/dist/mcp/oauth.js +81 -78
  473. package/dist/mcp/stdio.js +89 -89
  474. package/dist/mime.js +1 -1
  475. package/dist/modal/models.js +98 -98
  476. package/dist/model-resolver.js +97 -97
  477. package/dist/model.js +99 -99
  478. package/dist/models-dev.js +102 -102
  479. package/dist/oauth/page.js +1 -1
  480. package/dist/permission/saved.js +79 -79
  481. package/dist/permission/sql.js +5 -5
  482. package/dist/permission.js +116 -116
  483. package/dist/persistent-pty/binary.bun.js +1 -1
  484. package/dist/persistent-pty/daemon.js +1 -1
  485. package/dist/persistent-pty/index.js +81 -81
  486. package/dist/persistent-pty/pty-binding.js +1 -1
  487. package/dist/persistent-pty.js +74 -74
  488. package/dist/plugin/agent.js +101 -101
  489. package/dist/plugin/command.js +98 -98
  490. package/dist/plugin/hooks.js +5 -5
  491. package/dist/plugin/host.js +217 -217
  492. package/dist/plugin/identity.js +3 -3
  493. package/dist/plugin/instance.js +5 -5
  494. package/dist/plugin/internal.js +328 -328
  495. package/dist/plugin/mcp-codemode-exclusion.js +3 -3
  496. package/dist/plugin/models-dev.js +95 -95
  497. package/dist/plugin/module.js +5 -5
  498. package/dist/plugin/optimize.js +4 -4
  499. package/dist/plugin/plan.js +101 -101
  500. package/dist/plugin/promise.js +1 -1
  501. package/dist/plugin/provider/amazon-bedrock.js +89 -89
  502. package/dist/plugin/provider/azure.js +121 -121
  503. package/dist/plugin/provider/cerebras.js +1 -1
  504. package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
  505. package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
  506. package/dist/plugin/provider/cohere.js +2 -2
  507. package/dist/plugin/provider/configured.js +118 -118
  508. package/dist/plugin/provider/digitalocean.js +92 -92
  509. package/dist/plugin/provider/dynamic.js +2 -2
  510. package/dist/plugin/provider/factory.js +1 -1
  511. package/dist/plugin/provider/gateway.js +2 -2
  512. package/dist/plugin/provider/github-copilot.js +92 -92
  513. package/dist/plugin/provider/gitlab.js +90 -90
  514. package/dist/plugin/provider/google-vertex.js +89 -89
  515. package/dist/plugin/provider/kilo.js +1 -1
  516. package/dist/plugin/provider/llmgateway.js +76 -76
  517. package/dist/plugin/provider/lmstudio.js +119 -119
  518. package/dist/plugin/provider/modal.js +91 -91
  519. package/dist/plugin/provider/nvidia.js +1 -1
  520. package/dist/plugin/provider/ollama.js +121 -121
  521. package/dist/plugin/provider/openai.js +93 -93
  522. package/dist/plugin/provider/opencode.js +92 -92
  523. package/dist/plugin/provider/openrouter.js +90 -90
  524. package/dist/plugin/provider/perplexity.js +2 -2
  525. package/dist/plugin/provider/poe.js +77 -77
  526. package/dist/plugin/provider/prompt-cache-key.js +89 -89
  527. package/dist/plugin/provider/sap-ai-core.js +90 -90
  528. package/dist/plugin/provider/sdk-factory.js +1 -1
  529. package/dist/plugin/provider/snowflake-cortex.js +121 -121
  530. package/dist/plugin/provider/venice.js +2 -2
  531. package/dist/plugin/provider/vercel.js +89 -89
  532. package/dist/plugin/provider/vllm.js +121 -121
  533. package/dist/plugin/provider/xai.js +90 -90
  534. package/dist/plugin/provider/zenmux.js +1 -1
  535. package/dist/plugin/provider.js +158 -158
  536. package/dist/plugin/sdk.js +75 -75
  537. package/dist/plugin/service.js +3 -3
  538. package/dist/plugin/skill.js +138 -138
  539. package/dist/plugin/source-directory.js +1 -1
  540. package/dist/plugin/supervisor.js +343 -343
  541. package/dist/plugin/update.js +2 -2
  542. package/dist/plugin/vcs/git.js +85 -85
  543. package/dist/plugin/vcs/hg.js +85 -85
  544. package/dist/plugin/warming.js +120 -120
  545. package/dist/plugin/websearch/exa.js +7 -7
  546. package/dist/plugin/websearch/firecrawl.js +6 -6
  547. package/dist/plugin/websearch/index.js +9 -9
  548. package/dist/plugin/websearch/mcp.js +2 -2
  549. package/dist/plugin/websearch/parallel.js +6 -6
  550. package/dist/plugin/websearch/tavily.js +4 -4
  551. package/dist/plugin/websearch/tinyfish.js +6 -6
  552. package/dist/plugin.js +224 -224
  553. package/dist/project/schema.js +8 -8
  554. package/dist/project/sql.js +4 -4
  555. package/dist/project.js +89 -89
  556. package/dist/provider.js +100 -100
  557. package/dist/pty/protocol.js +1 -1
  558. package/dist/pty/schema.js +3 -3
  559. package/dist/pty/ticket.js +1 -1
  560. package/dist/pty.js +93 -93
  561. package/dist/reference/instructions.js +86 -86
  562. package/dist/reference.js +90 -90
  563. package/dist/repository-cache.js +76 -76
  564. package/dist/repository.js +1 -1
  565. package/dist/ripgrep/binary.js +2 -2
  566. package/dist/ripgrep.js +94 -94
  567. package/dist/rpc.js +85 -85
  568. package/dist/schema.js +1 -1
  569. package/dist/session/command.js +73 -73
  570. package/dist/session/compaction.js +133 -133
  571. package/dist/session/context.js +151 -151
  572. package/dist/session/diff.js +87 -87
  573. package/dist/session/environment.js +5 -5
  574. package/dist/session/error.js +7 -7
  575. package/dist/session/event.js +1 -1
  576. package/dist/session/execution/restart.js +220 -220
  577. package/dist/session/execution.js +125 -125
  578. package/dist/session/generate.js +150 -150
  579. package/dist/session/history.js +15 -15
  580. package/dist/session/inbox.js +83 -83
  581. package/dist/session/info.js +3 -3
  582. package/dist/session/instruction-entry.js +78 -78
  583. package/dist/session/instruction-state.js +8 -8
  584. package/dist/session/instructions.js +92 -92
  585. package/dist/session/message-updater.js +2 -2
  586. package/dist/session/message.js +1 -1
  587. package/dist/session/model-request.js +116 -116
  588. package/dist/session/model-transport.js +7 -7
  589. package/dist/session/move.js +129 -129
  590. package/dist/session/projector.js +85 -85
  591. package/dist/session/prompt.js +104 -104
  592. package/dist/session/provider-context.js +3 -3
  593. package/dist/session/revert.js +89 -89
  594. package/dist/session/run-coordinator.js +3 -3
  595. package/dist/session/runner/index.js +3 -3
  596. package/dist/session/runner/llm.js +227 -227
  597. package/dist/session/runner/max-steps.js +1 -1
  598. package/dist/session/runner/model.js +97 -97
  599. package/dist/session/runner/publish-llm-event.js +3 -3
  600. package/dist/session/runner/retry.js +113 -113
  601. package/dist/session/runner/step.js +123 -123
  602. package/dist/session/runner/to-llm-message.js +2 -2
  603. package/dist/session/schema.js +5 -5
  604. package/dist/session/session.js +171 -171
  605. package/dist/session/shell.js +137 -137
  606. package/dist/session/skill.js +102 -102
  607. package/dist/session/sql.js +5 -5
  608. package/dist/session/stats.js +72 -72
  609. package/dist/session/store.js +84 -84
  610. package/dist/session/subagent-completion.js +1 -1
  611. package/dist/session/subagent-job.js +207 -207
  612. package/dist/session/system-prompt.js +3 -3
  613. package/dist/session/title.js +149 -149
  614. package/dist/session/to-session-error.js +110 -110
  615. package/dist/session/transfer.js +216 -216
  616. package/dist/session/usage.js +1 -1
  617. package/dist/session.js +217 -217
  618. package/dist/shell/parse.js +6 -6
  619. package/dist/shell/result.js +1 -1
  620. package/dist/shell/scan.js +1 -1
  621. package/dist/shell/select.js +13 -13
  622. package/dist/shell.js +137 -137
  623. package/dist/skill/discovery.js +6 -6
  624. package/dist/skill/instructions.js +106 -106
  625. package/dist/skill.js +111 -111
  626. package/dist/snapshot.js +92 -92
  627. package/dist/state.js +1 -1
  628. package/dist/tool/html-markdown.js +1 -1
  629. package/dist/tool/http-body.js +1 -1
  630. package/dist/tool/mcp.js +126 -126
  631. package/dist/tool/plugin/edit.js +119 -119
  632. package/dist/tool/plugin/file-diff.js +1 -1
  633. package/dist/tool/plugin/glob.js +123 -123
  634. package/dist/tool/plugin/grep.js +123 -123
  635. package/dist/tool/plugin/opencode.js +3 -3
  636. package/dist/tool/plugin/patch.js +121 -121
  637. package/dist/tool/plugin/question.js +104 -104
  638. package/dist/tool/plugin/read.js +124 -124
  639. package/dist/tool/plugin/shell.js +214 -214
  640. package/dist/tool/plugin/skill.js +106 -106
  641. package/dist/tool/plugin/subagent.js +214 -214
  642. package/dist/tool/plugin/webfetch.js +109 -109
  643. package/dist/tool/plugin/websearch.js +111 -111
  644. package/dist/tool/plugin/write.js +121 -121
  645. package/dist/tool/read-filesystem.js +99 -99
  646. package/dist/tool/runtime.js +1 -1
  647. package/dist/tool-output.js +8 -8
  648. package/dist/tool.js +14 -14
  649. package/dist/util/error-summary.js +1 -1
  650. package/dist/util/error.js +1 -1
  651. package/dist/util/git-executable.js +2 -2
  652. package/dist/util/iife.js +1 -1
  653. package/dist/util/lazy.js +1 -1
  654. package/dist/util/slug.js +1 -1
  655. package/dist/util/token.js +1 -1
  656. package/dist/util/which.js +1 -1
  657. package/dist/util/wildcard.js +1 -1
  658. package/dist/v1/config/agent.js +7 -7
  659. package/dist/v1/config/attachment.js +4 -4
  660. package/dist/v1/config/command.js +5 -5
  661. package/dist/v1/config/config.js +16 -16
  662. package/dist/v1/config/error.js +4 -4
  663. package/dist/v1/config/formatter.js +5 -5
  664. package/dist/v1/config/layout.js +1 -1
  665. package/dist/v1/config/lsp.js +5 -5
  666. package/dist/v1/config/mcp.js +4 -4
  667. package/dist/v1/config/migrate.js +91 -91
  668. package/dist/v1/config/permission.js +7 -7
  669. package/dist/v1/config/plugin.js +3 -3
  670. package/dist/v1/config/provider-options.js +1 -1
  671. package/dist/v1/config/provider.js +4 -4
  672. package/dist/v1/config/server.js +2 -2
  673. package/dist/v1/config/skills.js +3 -3
  674. package/dist/v1/permission.js +1 -1
  675. package/dist/variant.js +90 -90
  676. package/dist/vcs/patch.js +1 -1
  677. package/dist/vcs.js +86 -86
  678. package/dist/websearch.js +83 -83
  679. package/dist/wellknown/plugin.js +75 -75
  680. package/dist/wellknown.js +80 -80
  681. package/dist/workspace/driver.js +7 -7
  682. package/dist/workspace/sql.js +1 -1
  683. package/dist/workspace.js +79 -79
  684. package/dist/worktree/directory.js +2 -2
  685. package/dist/worktree/git.js +10 -10
  686. package/dist/worktree/sql.js +5 -5
  687. package/dist/worktree/strategies.js +88 -88
  688. package/dist/worktree.js +95 -95
  689. package/package.json +8 -8
  690. package/dist/chunks/worktree-619r8v3y.js +0 -18
  691. package/dist/chunks/worktree-hqdbbvbk.js +0 -26
  692. package/dist/chunks/worktree-qapv375x.js +0 -4
  693. package/dist/chunks/worktree-yfech19a.js +0 -247
  694. /package/dist/chunks/{worktree-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
  695. /package/dist/chunks/{worktree-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
  696. /package/dist/chunks/{worktree-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
  697. /package/dist/chunks/{worktree-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
  698. /package/dist/chunks/{worktree-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
  699. /package/dist/chunks/{worktree-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
  700. /package/dist/chunks/{worktree-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
  701. /package/dist/chunks/{worktree-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
  702. /package/dist/chunks/{worktree-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
  703. /package/dist/chunks/{worktree-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
  704. /package/dist/chunks/{worktree-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
  705. /package/dist/chunks/{worktree-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
  706. /package/dist/chunks/{worktree-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
  707. /package/dist/chunks/{worktree-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
  708. /package/dist/chunks/{worktree-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
  709. /package/dist/chunks/{worktree-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
  710. /package/dist/chunks/{worktree-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
  711. /package/dist/chunks/{worktree-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
  712. /package/dist/chunks/{worktree-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
  713. /package/dist/chunks/{worktree-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
  714. /package/dist/chunks/{worktree-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
  715. /package/dist/chunks/{worktree-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
  716. /package/dist/chunks/{worktree-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
  717. /package/dist/chunks/{worktree-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
  718. /package/dist/chunks/{worktree-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
  719. /package/dist/chunks/{worktree-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
  720. /package/dist/chunks/{worktree-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
  721. /package/dist/chunks/{worktree-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
  722. /package/dist/chunks/{worktree-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
  723. /package/dist/chunks/{worktree-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
  724. /package/dist/chunks/{worktree-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
  725. /package/dist/chunks/{worktree-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
  726. /package/dist/chunks/{worktree-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
  727. /package/dist/chunks/{worktree-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
  728. /package/dist/chunks/{worktree-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
  729. /package/dist/chunks/{worktree-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
  730. /package/dist/chunks/{worktree-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
  731. /package/dist/chunks/{worktree-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
  732. /package/dist/chunks/{worktree-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
  733. /package/dist/chunks/{worktree-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
  734. /package/dist/chunks/{worktree-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
  735. /package/dist/chunks/{worktree-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
  736. /package/dist/chunks/{worktree-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
  737. /package/dist/chunks/{worktree-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
  738. /package/dist/chunks/{worktree-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
  739. /package/dist/chunks/{worktree-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
  740. /package/dist/chunks/{worktree-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
  741. /package/dist/chunks/{worktree-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
  742. /package/dist/chunks/{worktree-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
  743. /package/dist/chunks/{worktree-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
  744. /package/dist/chunks/{worktree-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
  745. /package/dist/chunks/{worktree-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
  746. /package/dist/chunks/{worktree-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
  747. /package/dist/chunks/{worktree-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
  748. /package/dist/chunks/{worktree-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
  749. /package/dist/chunks/{worktree-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
  750. /package/dist/chunks/{worktree-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
  751. /package/dist/chunks/{worktree-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
  752. /package/dist/chunks/{worktree-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
  753. /package/dist/chunks/{worktree-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
  754. /package/dist/chunks/{worktree-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
  755. /package/dist/chunks/{worktree-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
  756. /package/dist/chunks/{worktree-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
  757. /package/dist/chunks/{worktree-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
  758. /package/dist/chunks/{worktree-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
  759. /package/dist/chunks/{worktree-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
  760. /package/dist/chunks/{worktree-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
  761. /package/dist/chunks/{worktree-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
  762. /package/dist/chunks/{worktree-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
  763. /package/dist/chunks/{worktree-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
  764. /package/dist/chunks/{worktree-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
  765. /package/dist/chunks/{worktree-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
  766. /package/dist/chunks/{worktree-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
  767. /package/dist/chunks/{worktree-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
  768. /package/dist/chunks/{worktree-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
  769. /package/dist/chunks/{worktree-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
  770. /package/dist/chunks/{worktree-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
  771. /package/dist/chunks/{worktree-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
  772. /package/dist/chunks/{worktree-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
  773. /package/dist/chunks/{worktree-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
  774. /package/dist/chunks/{worktree-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
  775. /package/dist/chunks/{worktree-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
  776. /package/dist/chunks/{worktree-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
  777. /package/dist/chunks/{worktree-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
  778. /package/dist/chunks/{worktree-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
  779. /package/dist/chunks/{worktree-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
  780. /package/dist/chunks/{worktree-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
  781. /package/dist/chunks/{worktree-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
  782. /package/dist/chunks/{worktree-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
  783. /package/dist/chunks/{worktree-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
  784. /package/dist/chunks/{worktree-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
  785. /package/dist/chunks/{worktree-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
  786. /package/dist/chunks/{worktree-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
  787. /package/dist/chunks/{worktree-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
  788. /package/dist/chunks/{worktree-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
@@ -1,27 +1,27 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./worktree-bm2bzb1v.js";
4
+ } from "./persistent-pty-n4x3txqd.js";
5
5
  import {
6
6
  shutdown2,
7
7
  create3
8
- } from "./worktree-rdw6cm16.js";
8
+ } from "./persistent-pty-rdw6cm16.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./worktree-3xb03r27.js";
10
+ Service78,
11
+ node82
12
+ } from "./persistent-pty-p1zb2z5r.js";
13
13
  import {
14
14
  rewrite2,
15
- ID13,
15
+ ID9,
16
16
  mergeOverlay2,
17
17
  mergeHeaders2,
18
- Service73,
19
- node77,
20
- Event17
21
- } from "./worktree-z5y2jtdt.js";
18
+ Service68,
19
+ node72,
20
+ Event15
21
+ } from "./persistent-pty-ke2aez33.js";
22
22
  import {
23
23
  __export
24
- } from "./worktree-9rqn6x4v.js";
24
+ } from "./persistent-pty-9rqn6x4v.js";
25
25
 
26
26
  // src/model.ts
27
27
  var exports_model2 = {};
@@ -29,25 +29,25 @@ __export(exports_model2, {
29
29
  Capabilities: () => Capabilities2,
30
30
  Compatibility: () => Compatibility2,
31
31
  Cost: () => Cost2,
32
- Event: () => Event16,
32
+ Event: () => Event14,
33
33
  Family: () => Family2,
34
- ID: () => ID12,
35
- Info: () => Info26,
34
+ ID: () => ID8,
35
+ Info: () => Info22,
36
36
  Model: () => exports_model2,
37
37
  ReasoningField: () => ReasoningField2,
38
38
  Ref: () => Ref2,
39
- Service: () => Service72,
39
+ Service: () => Service67,
40
40
  VariantID: () => VariantID2,
41
41
  compatibility: () => compatibility2,
42
- node: () => node76,
42
+ node: () => node71,
43
43
  parse: () => parse5
44
44
  });
45
45
  import { Model } from "@opencode/schema/model";
46
46
  import { Context, Effect, Layer, Stream } from "effect";
47
47
  import { makeLocationNode } from "@opencode/util/effect/app-node";
48
48
  import { freeze } from "immer";
49
- import { Event as Event16 } from "@opencode/schema/model";
50
- var ID12 = Model.ID;
49
+ import { Event as Event14 } from "@opencode/schema/model";
50
+ var ID8 = Model.ID;
51
51
  var VariantID2 = Model.VariantID;
52
52
  var Family2 = Model.Family;
53
53
  var ReasoningField2 = Model.ReasoningField;
@@ -55,14 +55,14 @@ var Compatibility2 = Model.Compatibility;
55
55
  var Capabilities2 = Model.Capabilities;
56
56
  var Cost2 = Model.Cost;
57
57
  var Ref2 = Model.Ref;
58
- var Info26 = Model.Info;
58
+ var Info22 = Model.Info;
59
59
 
60
- class Service72 extends Context.Service()("@opencode/Model") {
60
+ class Service67 extends Context.Service()("@opencode/Model") {
61
61
  }
62
- var layer = Layer.effect(Service72, Effect.gen(function* () {
63
- const providers = yield* Service73;
62
+ var layer = Layer.effect(Service67, Effect.gen(function* () {
63
+ const providers = yield* Service68;
64
64
  const bus = yield* Service81;
65
- const location = yield* Service76;
65
+ const location = yield* Service78;
66
66
  let input;
67
67
  const state = create3({
68
68
  name: "model",
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
107
107
  const models = writable(providerID);
108
108
  if (!models)
109
109
  return;
110
- const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
110
+ const model = draft(providerID, modelID) ?? Info22.default(providerID, modelID);
111
111
  update(model);
112
112
  model.id = modelID;
113
113
  model.providerID = providerID;
@@ -198,8 +198,8 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
198
198
  location: { directory: location.directory, workspaceID: location.workspaceID }
199
199
  });
200
200
  });
201
- yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
202
- return Service72.of({
201
+ yield* bus.subscribe(Event15.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
202
+ return Service67.of({
203
203
  transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
204
204
  reload,
205
205
  get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
@@ -218,7 +218,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
218
218
  })
219
219
  });
220
220
  }));
221
- var node76 = makeLocationNode({ service: Service72, layer, deps: [node77, node85, node80] });
221
+ var node71 = makeLocationNode({ service: Service67, layer, deps: [node72, node85, node82] });
222
222
  function compatibility2(input) {
223
223
  if (typeof input === "string")
224
224
  return { reasoningField: input };
@@ -229,9 +229,9 @@ function compatibility2(input) {
229
229
  function parse5(input) {
230
230
  const index = input.indexOf("/");
231
231
  return {
232
- providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
233
- modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
232
+ providerID: ID9.make(index === -1 ? input : input.slice(0, index)),
233
+ modelID: ID8.make(index === -1 ? "" : input.slice(index + 1))
234
234
  };
235
235
  }
236
236
 
237
- export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service72, node76, compatibility2, parse5, exports_model2, Event16 };
237
+ export { ID8, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info22, Service67, node71, compatibility2, parse5, exports_model2, Event14 };
@@ -1,49 +1,49 @@
1
1
  import {
2
2
  AbsolutePath2
3
- } from "./worktree-922hggd3.js";
3
+ } from "./persistent-pty-922hggd3.js";
4
4
  import {
5
5
  Service82,
6
6
  node86
7
- } from "./worktree-raa150y6.js";
7
+ } from "./persistent-pty-8kf7y4ht.js";
8
8
  import {
9
9
  Service81,
10
10
  node85
11
- } from "./worktree-bm2bzb1v.js";
11
+ } from "./persistent-pty-n4x3txqd.js";
12
12
  import {
13
- Service79,
14
- node83
15
- } from "./worktree-2vkv0cnq.js";
13
+ Service80,
14
+ node84
15
+ } from "./persistent-pty-6ng8rhkc.js";
16
16
  import {
17
- ID17,
17
+ ID18,
18
18
  Current3,
19
- Info33,
19
+ Info34,
20
20
  UpdateInput4,
21
- Event20,
21
+ Event21,
22
22
  Vcs3
23
- } from "./worktree-2fgn2we9.js";
23
+ } from "./persistent-pty-57ez7d0k.js";
24
24
  import {
25
25
  ProjectTable2,
26
26
  upsertProject2
27
- } from "./worktree-dj2t23y0.js";
27
+ } from "./persistent-pty-8p4f9s12.js";
28
28
  import {
29
29
  WorktreeTable2
30
- } from "./worktree-m0jqrx5p.js";
30
+ } from "./persistent-pty-cfpkc3c9.js";
31
31
  import {
32
32
  __export
33
- } from "./worktree-9rqn6x4v.js";
33
+ } from "./persistent-pty-9rqn6x4v.js";
34
34
 
35
35
  // src/project.ts
36
36
  var exports_project = {};
37
37
  __export(exports_project, {
38
38
  Current: () => Current2,
39
- ID: () => ID16,
40
- Info: () => Info32,
41
- NotFoundError: () => NotFoundError10,
39
+ ID: () => ID17,
40
+ Info: () => Info33,
41
+ NotFoundError: () => NotFoundError11,
42
42
  Project: () => exports_project,
43
- Service: () => Service77,
43
+ Service: () => Service79,
44
44
  UpdateInput: () => UpdateInput3,
45
45
  Vcs: () => Vcs2,
46
- node: () => node81,
46
+ node: () => node83,
47
47
  root: () => root2
48
48
  });
49
49
  import { Context, Effect, Layer, Schema } from "effect";
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
55
55
  import { AppProcess } from "@opencode/util/process";
56
56
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
57
57
  import { Hash } from "@opencode/util/hash";
58
- var ID16 = ID17;
58
+ var ID17 = ID18;
59
59
  var Vcs2 = Vcs3;
60
60
  var Current2 = Current3;
61
- var Info32 = Info33;
61
+ var Info33 = Info34;
62
62
  var UpdateInput3 = UpdateInput4;
63
63
 
64
- class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
65
- projectID: ID16
64
+ class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
65
+ projectID: ID17
66
66
  }) {
67
67
  }
68
68
  var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
71
71
  }));
72
72
  });
73
73
 
74
- class Service77 extends Context.Service()("@opencode/Project") {
74
+ class Service79 extends Context.Service()("@opencode/Project") {
75
75
  }
76
76
  function fromRow(row) {
77
77
  const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
@@ -93,9 +93,9 @@ function fromRow(row) {
93
93
  sandboxes: row.sandboxes
94
94
  };
95
95
  }
96
- var layer = Layer.effect(Service77, Effect.gen(function* () {
96
+ var layer = Layer.effect(Service79, Effect.gen(function* () {
97
97
  const fs = yield* FSUtil.Service;
98
- const git = yield* Service79;
98
+ const git = yield* Service80;
99
99
  const proc = yield* AppProcess.Service;
100
100
  const bus = yield* Service81;
101
101
  const db = (yield* Service82).db;
@@ -106,7 +106,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
106
106
  if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
107
107
  const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
108
108
  if (row)
109
- yield* bus.publish(Event20.Updated, fromRow(row));
109
+ yield* bus.publish(Event21.Updated, fromRow(row));
110
110
  }
111
111
  if (!project.vcs)
112
112
  return project;
@@ -143,7 +143,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
143
143
  yield* bus.publish(Worktree.Event.Resolved, {
144
144
  projectID: item.projectID,
145
145
  directory: item.directory,
146
- previous: project.previous ?? ID16.global,
146
+ previous: project.previous ?? ID17.global,
147
147
  ...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
148
148
  }, {
149
149
  commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
@@ -166,13 +166,13 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
166
166
  time_updated: Date.now()
167
167
  }).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
168
168
  if (!row)
169
- return yield* new NotFoundError10({ projectID: input.projectID });
169
+ return yield* new NotFoundError11({ projectID: input.projectID });
170
170
  const project = fromRow(row);
171
- yield* bus.publish(Event20.Updated, project);
171
+ yield* bus.publish(Event21.Updated, project);
172
172
  return project;
173
173
  });
174
174
  const cached = Effect.fnUntraced(function* (dir) {
175
- return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
175
+ return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
176
176
  return;
177
177
  }));
178
178
  });
@@ -183,7 +183,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
183
183
  const normalized = url(origin);
184
184
  if (!normalized)
185
185
  return;
186
- return ID16.make(Hash.fast(`git-remote:${normalized}`));
186
+ return ID17.make(Hash.fast(`git-remote:${normalized}`));
187
187
  });
188
188
  function url(input) {
189
189
  const value = input.trim();
@@ -208,7 +208,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
208
208
  }
209
209
  const rootCommit = Effect.fnUntraced(function* (repo) {
210
210
  const root = (yield* git.history.rootCommits(repo))[0];
211
- return root ? ID16.make(root) : undefined;
211
+ return root ? ID17.make(root) : undefined;
212
212
  });
213
213
  const hgRoot = Effect.fnUntraced(function* (worktree) {
214
214
  const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
@@ -224,7 +224,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
224
224
  return;
225
225
  const node = result.stdout.toString("utf8").split(`
226
226
  `).map((item) => item.trim()).filter(Boolean).toSorted()[0];
227
- return node ? ID16.make(node) : undefined;
227
+ return node ? ID17.make(node) : undefined;
228
228
  });
229
229
  const hgDiscover = Effect.fnUntraced(function* (dotHg) {
230
230
  const worktree = AbsolutePath2.make(path.dirname(dotHg));
@@ -233,7 +233,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
233
233
  const id = previous ?? (yield* hgRoot(worktree));
234
234
  return {
235
235
  previous,
236
- id: id ?? ID16.global,
236
+ id: id ?? ID17.global,
237
237
  directory: worktree,
238
238
  vcs: { type: "hg", store }
239
239
  };
@@ -250,7 +250,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
250
250
  const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
251
251
  return yield* persist({
252
252
  previous,
253
- id: id ?? ID16.global,
253
+ id: id ?? ID17.global,
254
254
  directory: repo.worktree,
255
255
  canonical,
256
256
  vcs: { type: "git", store: repo.commonDirectory }
@@ -264,18 +264,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
264
264
  });
265
265
  }
266
266
  return yield* persist({
267
- id: ID16.make(Hash.fast(`directory:${directory}`)),
267
+ id: ID17.make(Hash.fast(`directory:${directory}`)),
268
268
  directory,
269
269
  canonical: directory,
270
270
  vcs: undefined
271
271
  });
272
272
  });
273
- return Service77.of({ list, update, resolve });
273
+ return Service79.of({ list, update, resolve });
274
274
  }));
275
- var node81 = makeGlobalNode({
276
- service: Service77,
275
+ var node83 = makeGlobalNode({
276
+ service: Service79,
277
277
  layer,
278
- deps: [node85, node86, FSUtil.node, node83, AppProcess.node]
278
+ deps: [node85, node86, FSUtil.node, node84, AppProcess.node]
279
279
  });
280
280
 
281
- export { ID16, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node81, exports_project };
281
+ export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service79, node83, exports_project };
@@ -1,59 +1,59 @@
1
1
  import {
2
2
  Service82,
3
3
  node86
4
- } from "./worktree-raa150y6.js";
4
+ } from "./persistent-pty-8kf7y4ht.js";
5
5
  import {
6
6
  Service81,
7
7
  node85
8
- } from "./worktree-bm2bzb1v.js";
8
+ } from "./persistent-pty-n4x3txqd.js";
9
9
  import {
10
- Service49,
11
- node51
12
- } from "./worktree-xec0sntw.js";
10
+ Service57,
11
+ node59
12
+ } from "./persistent-pty-a50z0fpr.js";
13
13
  import {
14
14
  Service48,
15
15
  node50
16
- } from "./worktree-tcay1cqt.js";
16
+ } from "./persistent-pty-tcay1cqt.js";
17
17
  import {
18
18
  SessionEvent2
19
- } from "./worktree-ec1grn59.js";
19
+ } from "./persistent-pty-ec1grn59.js";
20
20
  import {
21
- make15
22
- } from "./worktree-f2n192rq.js";
21
+ make16
22
+ } from "./persistent-pty-yp2x3t23.js";
23
23
  import {
24
24
  DrainResult2,
25
- Service45
26
- } from "./worktree-t7n9q6bq.js";
25
+ Service47
26
+ } from "./persistent-pty-embw8kgh.js";
27
27
  import {
28
28
  UserInterruptedError2
29
- } from "./worktree-283sq9eb.js";
29
+ } from "./persistent-pty-vmwh049b.js";
30
30
  import {
31
- Service60,
32
- node63
33
- } from "./worktree-qcqsneq1.js";
31
+ Service75,
32
+ node79
33
+ } from "./persistent-pty-4kzetxh1.js";
34
34
  import {
35
35
  toSessionError2
36
- } from "./worktree-hwys8km5.js";
36
+ } from "./persistent-pty-4n4k0cnh.js";
37
37
  import {
38
38
  nextPromotable2
39
- } from "./worktree-5d13hs91.js";
39
+ } from "./persistent-pty-t2tcessw.js";
40
40
  import {
41
41
  __export
42
- } from "./worktree-9rqn6x4v.js";
42
+ } from "./persistent-pty-9rqn6x4v.js";
43
43
 
44
44
  // src/session/execution.ts
45
45
  var exports_execution = {};
46
46
  __export(exports_execution, {
47
- Service: () => Service44,
47
+ Service: () => Service46,
48
48
  SessionExecution: () => exports_execution,
49
49
  layer: () => layer18,
50
- node: () => node47,
51
- noopLayer: () => noopLayer2,
50
+ node: () => node49,
51
+ noopLayer: () => noopLayer3,
52
52
  terminal: () => terminal2
53
53
  });
54
54
  import { Cause, Context, Effect, Exit, Layer } from "effect";
55
55
  import { makeGlobalNode } from "@opencode/util/effect/app-node";
56
- class Service44 extends Context.Service()("@opencode/SessionExecution") {
56
+ class Service46 extends Context.Service()("@opencode/SessionExecution") {
57
57
  }
58
58
  function terminal2(exit, reason) {
59
59
  if (Exit.isSuccess(exit))
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
65
65
  return { type: "interrupted", reason: "user" };
66
66
  return { type: "failed", error: toSessionError2(failure) };
67
67
  }
68
- var layer18 = Layer.effect(Service44, Effect.gen(function* () {
69
- const store = yield* Service60;
68
+ var layer18 = Layer.effect(Service46, Effect.gen(function* () {
69
+ const store = yield* Service75;
70
70
  const instances = yield* Service48;
71
71
  const bus = yield* Service81;
72
- const jobs = yield* Service49;
72
+ const jobs = yield* Service57;
73
73
  const db = (yield* Service82).db;
74
74
  const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
75
75
  const claimOnCommit = (sessionID) => ({
@@ -82,13 +82,13 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
82
82
  const session = yield* store.get(sessionID);
83
83
  if (!session)
84
84
  return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
85
- const result = yield* Service45.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
85
+ const result = yield* Service47.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
86
86
  return yield* DrainResult2.$match(result, {
87
87
  Complete: () => Effect.void,
88
88
  Moved: (result) => drain(sessionID, false, result.continuation, promotable)
89
89
  });
90
90
  });
91
- const coordinator = yield* make15({
91
+ const coordinator = yield* make16({
92
92
  started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
93
93
  drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
94
94
  settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
@@ -109,7 +109,7 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
109
109
  }, releaseOnCommit(sessionID));
110
110
  }))
111
111
  });
112
- return Service44.of({
112
+ return Service46.of({
113
113
  active: coordinator.active,
114
114
  isActive: coordinator.isActive,
115
115
  interrupt: (sessionID, options) => Effect.gen(function* () {
@@ -128,12 +128,12 @@ var layer18 = Layer.effect(Service44, Effect.gen(function* () {
128
128
  awaitIdle: coordinator.awaitIdle
129
129
  });
130
130
  }));
131
- var node47 = makeGlobalNode({
132
- service: Service44,
131
+ var node49 = makeGlobalNode({
132
+ service: Service46,
133
133
  layer: layer18,
134
- deps: [node63, node50, node85, node86, node51]
134
+ deps: [node79, node50, node85, node86, node59]
135
135
  });
136
- var noopLayer2 = Layer.succeed(Service44, Service44.of({
136
+ var noopLayer3 = Layer.succeed(Service46, Service46.of({
137
137
  active: Effect.succeed(new Set),
138
138
  isActive: () => Effect.succeed(false),
139
139
  resume: () => Effect.void,
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service44, Service44.of({
142
142
  awaitIdle: () => Effect.void
143
143
  }));
144
144
 
145
- export { Service44, terminal2, layer18, node47, noopLayer2, exports_execution };
145
+ export { Service46, terminal2, layer18, node49, noopLayer3, exports_execution };
@@ -1,13 +1,13 @@
1
1
  import {
2
- ID12,
2
+ ID8,
3
3
  Family2
4
- } from "./worktree-4vy3njsm.js";
4
+ } from "./persistent-pty-0zbmh4se.js";
5
5
  import {
6
- Service69
7
- } from "./worktree-xzj8ke1r.js";
6
+ Service53
7
+ } from "./persistent-pty-tp9yp7n5.js";
8
8
  import {
9
9
  foldSettings2
10
- } from "./worktree-k711kv9r.js";
10
+ } from "./persistent-pty-2ca164mb.js";
11
11
 
12
12
  // src/plugin/provider/lmstudio.ts
13
13
  import { define } from "@opencode/plugin/effect/plugin";
@@ -36,7 +36,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
36
36
  id: "opencode.provider.lmstudio",
37
37
  effect: Effect.fn(function* (ctx) {
38
38
  const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
39
- const config = yield* Service69;
39
+ const config = yield* Service53;
40
40
  const source = { current: configured(yield* config.entries(), origin) };
41
41
  const loaded = { models: [], hash: "[]" };
42
42
  yield* ctx.integration.transform((integrations) => {
@@ -63,7 +63,7 @@ function make10(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
63
63
  });
64
64
  for (const item of loaded.models) {
65
65
  providers.models.update(providerID, item.key, (model) => {
66
- model.modelID = ID12.make(item.key);
66
+ model.modelID = ID8.make(item.key);
67
67
  model.name = item.display_name || item.key;
68
68
  model.family = item.architecture ? Family2.make(item.architecture) : undefined;
69
69
  model.capabilities = {
@@ -2,10 +2,10 @@ import {
2
2
  NotFound2,
3
3
  WrongKind2,
4
4
  Failed2
5
- } from "./worktree-2a5m3afh.js";
5
+ } from "./persistent-pty-2a5m3afh.js";
6
6
  import {
7
7
  __export
8
- } from "./worktree-9rqn6x4v.js";
8
+ } from "./persistent-pty-9rqn6x4v.js";
9
9
 
10
10
  // src/environment/exec-defaults.ts
11
11
  var exports_exec_defaults = {};
@@ -1,32 +1,32 @@
1
1
  import {
2
2
  Service81,
3
3
  node85
4
- } from "./worktree-bm2bzb1v.js";
4
+ } from "./persistent-pty-n4x3txqd.js";
5
5
  import {
6
- Service79,
7
- node83
8
- } from "./worktree-2vkv0cnq.js";
6
+ Service80,
7
+ node84
8
+ } from "./persistent-pty-6ng8rhkc.js";
9
9
  import {
10
- Service76,
11
- node80
12
- } from "./worktree-3xb03r27.js";
10
+ Service78,
11
+ node82
12
+ } from "./persistent-pty-p1zb2z5r.js";
13
13
  import {
14
14
  awaitActivation2
15
- } from "./worktree-619r8v3y.js";
15
+ } from "./persistent-pty-n95b3jav.js";
16
16
  import {
17
- Service70,
18
- node74
19
- } from "./worktree-mg0hvqns.js";
17
+ Service54,
18
+ node56
19
+ } from "./persistent-pty-83d2wykz.js";
20
20
  import {
21
21
  node19
22
- } from "./worktree-6y50b3ce.js";
22
+ } from "./persistent-pty-fr1268wp.js";
23
23
  import {
24
- Service7,
25
- node9
26
- } from "./worktree-c765mh8b.js";
24
+ Service9,
25
+ node11
26
+ } from "./persistent-pty-qmqgtz8f.js";
27
27
  import {
28
28
  __export
29
- } from "./worktree-9rqn6x4v.js";
29
+ } from "./persistent-pty-9rqn6x4v.js";
30
30
 
31
31
  // src/filesystem/location-watcher.ts
32
32
  var exports_location_watcher = {};
@@ -43,12 +43,12 @@ import { FSUtil } from "@opencode/util/fs-util";
43
43
  class Service2 extends Context.Service()("@opencode/LocationWatcher") {
44
44
  }
45
45
  var layer = Layer.effect(Service2, Effect.gen(function* () {
46
- const location = yield* Service76;
47
- const watcher = yield* Service70;
46
+ const location = yield* Service78;
47
+ const watcher = yield* Service54;
48
48
  const bus = yield* Service81;
49
49
  const fs = yield* FSUtil.Service;
50
- const git = yield* Service79;
51
- const policy = yield* Service7;
50
+ const git = yield* Service80;
51
+ const policy = yield* Service9;
52
52
  const publish = (update) => bus.publish(FileSystem.Event.Changed, {
53
53
  file: update.path,
54
54
  event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service2, Effect.gen(function* () {
105
105
  var node2 = makeLocationNode({
106
106
  service: Service2,
107
107
  layer,
108
- deps: [node74, FSUtil.node, node80, node83, node85, node19, node9]
108
+ deps: [node56, FSUtil.node, node82, node84, node85, node19, node11]
109
109
  });
110
110
 
111
111
  export { Service2, node2, exports_location_watcher };
@@ -1,16 +1,16 @@
1
1
  import {
2
2
  parseOption2
3
- } from "./worktree-5daktx2q.js";
3
+ } from "./persistent-pty-5daktx2q.js";
4
4
  import {
5
5
  AbsolutePath2
6
- } from "./worktree-922hggd3.js";
6
+ } from "./persistent-pty-922hggd3.js";
7
7
  import {
8
- ID4,
8
+ ID5,
9
9
  Name2
10
- } from "./worktree-9xq3nbft.js";
10
+ } from "./persistent-pty-bf44fs7q.js";
11
11
  import {
12
12
  __export
13
- } from "./worktree-9rqn6x4v.js";
13
+ } from "./persistent-pty-9rqn6x4v.js";
14
14
 
15
15
  // src/config/plugin/skill-file.ts
16
16
  var exports_skill_file = {};
@@ -55,7 +55,7 @@ function parse2(directory, filepath, content) {
55
55
  return {
56
56
  _tag: "Parsed",
57
57
  skill: {
58
- id: ID4.make(id),
58
+ id: ID5.make(id),
59
59
  name: Name2.make(frontmatter.name ?? id),
60
60
  ...frontmatter.description === undefined ? {} : { description: frontmatter.description },
61
61
  ...autoinvoke === undefined ? {} : { autoinvoke },