@opencode/core 0.0.0-dev-19677 → 0.0.0-dev-19678
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.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{command-8phwd4yj.js → worktree-02y3xw2c.js} +14 -6
- package/dist/chunks/{command-tqxxrrwb.js → worktree-0e6tknjd.js} +32 -32
- package/dist/chunks/{command-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{command-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{command-seydkqn5.js → worktree-11zjtd0v.js} +15 -15
- package/dist/chunks/{command-69j91c1q.js → worktree-15nepkqg.js} +8 -8
- package/dist/chunks/{command-0v94nfhm.js → worktree-16zykpq3.js} +6 -6
- package/dist/chunks/{command-m8hf639e.js → worktree-174d77kk.js} +8 -8
- package/dist/chunks/{command-73tb2d7t.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{command-zeays675.js → worktree-1bvrbzys.js} +20 -20
- package/dist/chunks/{command-xmzstg3h.js → worktree-1cq10s00.js} +7 -7
- package/dist/chunks/{command-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{command-2zsjkq9g.js → worktree-1jaghqsx.js} +16 -16
- package/dist/chunks/{command-dy775f0c.js → worktree-1qdmrsyh.js} +14 -14
- package/dist/chunks/{command-5mffgv55.js → worktree-1vbr32jm.js} +2 -2
- package/dist/chunks/{command-c18bwgtt.js → worktree-1w7shgq0.js} +23 -23
- package/dist/chunks/{command-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{command-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{command-wxffcvth.js → worktree-283sq9eb.js} +7 -7
- package/dist/chunks/{command-z63w68vq.js → worktree-29x78va6.js} +6 -6
- package/dist/chunks/{command-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{command-hatahbqr.js → worktree-2ancfe85.js} +27 -27
- package/dist/chunks/{command-y8nmaz64.js → worktree-2d57kztd.js} +6 -6
- package/dist/chunks/{command-57ez7d0k.js → worktree-2fgn2we9.js} +9 -9
- package/dist/chunks/{command-zmnepbn3.js → worktree-2r7cpq20.js} +7 -7
- package/dist/chunks/{command-9g3kc011.js → worktree-2vkv0cnq.js} +12 -12
- package/dist/chunks/{command-rre36xp5.js → worktree-2xfxk6th.js} +15 -15
- package/dist/chunks/{command-dmajge55.js → worktree-33xqp8c4.js} +22 -22
- package/dist/chunks/{command-v10a7mjz.js → worktree-3dqfb5kw.js} +26 -26
- package/dist/chunks/{command-7d93j08s.js → worktree-3f706czv.js} +7 -7
- package/dist/chunks/{command-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{command-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-bbzxkx14.js → worktree-3j8yw4h7.js} +30 -30
- package/dist/chunks/{command-7hj3xbrc.js → worktree-3ks8vxtx.js} +24 -24
- package/dist/chunks/{command-7htbj526.js → worktree-3mkv12gd.js} +25 -25
- package/dist/chunks/{command-p5t2wdxk.js → worktree-3mz07r45.js} +11 -11
- package/dist/chunks/{command-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{command-9fzyx5wt.js → worktree-3tey1tqk.js} +1 -1
- package/dist/chunks/{command-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{command-3w0fmcng.js → worktree-3w2b2yj4.js} +5 -5
- package/dist/chunks/{command-2sgz0h5a.js → worktree-3wa5p8ds.js} +17 -17
- package/dist/chunks/{command-3h2szgxz.js → worktree-3x63gc5s.js} +6 -6
- package/dist/chunks/{command-at45qxm4.js → worktree-3xb03r27.js} +16 -16
- package/dist/chunks/{command-tk1ghjnq.js → worktree-41xcr2yw.js} +3 -3
- package/dist/chunks/{command-zr1jw1p3.js → worktree-44vcf97r.js} +25 -25
- package/dist/chunks/{command-q68zbz63.js → worktree-48q12zrq.js} +12 -12
- package/dist/chunks/{command-wbhg106y.js → worktree-49yfvyax.js} +21 -21
- package/dist/chunks/{command-1w4m95ye.js → worktree-4b3kehkn.js} +2 -2
- package/dist/chunks/{command-1qsftg3h.js → worktree-4j96vqdr.js} +28 -28
- package/dist/chunks/{command-7v69ty2b.js → worktree-4vy3njsm.js} +25 -25
- package/dist/chunks/{command-mrwc1hpc.js → worktree-4ws0t3r6.js} +8 -8
- package/dist/chunks/{command-1ygqh575.js → worktree-56gdpj1q.js} +9 -9
- package/dist/chunks/{command-yy3gmdz3.js → worktree-57e9z27j.js} +8 -8
- package/dist/chunks/{command-a1bz86dw.js → worktree-5c4hm403.js} +3 -3
- package/dist/chunks/{command-khnzgmt2.js → worktree-5d13hs91.js} +24 -24
- package/dist/chunks/{command-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{command-hy1f76q1.js → worktree-5kssg3wf.js} +4 -4
- package/dist/chunks/{command-e01edj6k.js → worktree-5s1g7zt8.js} +39 -39
- package/dist/chunks/{command-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{command-wd5s8d9s.js → worktree-5trqfzya.js} +36 -36
- package/dist/chunks/{command-c492wyyq.js → worktree-60age542.js} +7 -7
- package/dist/chunks/{command-ghzty3dd.js → worktree-60rwq83k.js} +24 -24
- package/dist/chunks/worktree-619r8v3y.js +18 -0
- package/dist/chunks/{command-06dxphr1.js → worktree-64kphnzf.js} +4 -4
- package/dist/chunks/{command-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{command-vry016k2.js → worktree-68cy5tvk.js} +15 -15
- package/dist/chunks/{command-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{command-cy3cnjq8.js → worktree-6x4tw2n6.js} +4 -4
- package/dist/chunks/{command-mx4gtjsx.js → worktree-6y50b3ce.js} +18 -18
- package/dist/chunks/{command-467dymen.js → worktree-6ygx60r3.js} +8 -8
- package/dist/chunks/{command-3pzavtjr.js → worktree-75bwm8n8.js} +18 -18
- package/dist/chunks/{command-bajakh74.js → worktree-7ac170kv.js} +4 -4
- package/dist/chunks/{command-5q02cxx3.js → worktree-7atngb88.js} +4 -4
- package/dist/chunks/{command-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-0jwsre1p.js → worktree-7dqw4kz8.js} +5 -5
- package/dist/chunks/{command-c89895qa.js → worktree-7hjrp1ry.js} +22 -22
- package/dist/chunks/{command-p7kdkvkh.js → worktree-7r8e83hb.js} +22 -22
- package/dist/chunks/{command-fdv30zvt.js → worktree-806j49yq.js} +7 -7
- package/dist/chunks/{command-7262bdbz.js → worktree-82axnvzk.js} +15 -15
- package/dist/chunks/{command-8a8wdyzn.js → worktree-84mkzp6g.js} +11 -11
- package/dist/chunks/{command-1v7c51ma.js → worktree-8c8zehe5.js} +14 -14
- package/dist/chunks/{command-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{command-qa89xvga.js → worktree-8kkw5ddh.js} +47 -47
- package/dist/chunks/{command-ahh5tn9t.js → worktree-8rphe9sf.js} +6 -6
- package/dist/chunks/{command-9s6fqtph.js → worktree-925cq2hc.js} +302 -302
- package/dist/chunks/{command-zgsp9d7f.js → worktree-952wf3h0.js} +33 -33
- package/dist/chunks/{command-2277p7za.js → worktree-97wvmzf2.js} +3 -3
- package/dist/chunks/{command-pb15jk6q.js → worktree-9crse6na.js} +26 -26
- package/dist/chunks/{command-h0jpty9f.js → worktree-9r40msyq.js} +11 -11
- package/dist/chunks/{command-sgve36kw.js → worktree-9vzt17gg.js} +141 -141
- package/dist/chunks/{command-ek5xzf05.js → worktree-9xq3nbft.js} +24 -24
- package/dist/chunks/{command-cykmh698.js → worktree-9zj2yd8z.js} +15 -15
- package/dist/chunks/{command-ecywet7n.js → worktree-a40np59p.js} +30 -30
- package/dist/chunks/{command-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{command-gw8w5vjt.js → worktree-acm9d4wv.js} +28 -28
- package/dist/chunks/{command-41h8t21e.js → worktree-am60j996.js} +8 -8
- package/dist/chunks/{command-j7qr8k9e.js → worktree-b6f6n79x.js} +11 -11
- package/dist/chunks/{command-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{command-9esbgk1q.js → worktree-b7v0y5ep.js} +4 -4
- package/dist/chunks/{command-x0dfaghg.js → worktree-besmmfw0.js} +13 -13
- package/dist/chunks/{command-84q2vxed.js → worktree-bexm9nce.js} +35 -35
- package/dist/chunks/{command-s86fxarf.js → worktree-bfd4xtf1.js} +20 -20
- package/dist/chunks/{command-stnkqxxq.js → worktree-bg86vx51.js} +15 -15
- package/dist/chunks/{command-7wdpv7yx.js → worktree-bjcwypgn.js} +16 -16
- package/dist/chunks/{command-162dzd26.js → worktree-bm2bzb1v.js} +4 -4
- package/dist/chunks/{command-2s9v5q2j.js → worktree-bt4497rw.js} +17 -17
- package/dist/chunks/{command-840wgd2q.js → worktree-bxzvdraz.js} +24 -24
- package/dist/chunks/{command-qj8dptrs.js → worktree-c0ryrrzn.js} +51 -51
- package/dist/chunks/{command-9y0w708y.js → worktree-c27esgm9.js} +8 -8
- package/dist/chunks/{command-d24a1m55.js → worktree-c5879aa8.js} +11 -11
- package/dist/chunks/{command-r2m716tb.js → worktree-c765mh8b.js} +5 -5
- package/dist/chunks/{command-p04t4jyd.js → worktree-debqk1x6.js} +5 -5
- package/dist/chunks/{command-10jtetaj.js → worktree-dg5bcj4q.js} +6 -6
- package/dist/chunks/{command-8p4f9s12.js → worktree-dj2t23y0.js} +2 -2
- package/dist/chunks/{command-y71avatq.js → worktree-dpkg50ah.js} +4 -4
- package/dist/chunks/{command-9pj1fj9p.js → worktree-dr666zk0.js} +16 -16
- package/dist/chunks/{command-drwq78ky.js → worktree-drwq78ky.js} +1 -1
- package/dist/chunks/{command-zk8c4w5t.js → worktree-dtqg9ce1.js} +5 -5
- package/dist/chunks/{command-205fktxw.js → worktree-dze3spay.js} +10 -10
- package/dist/chunks/{command-4d8evfpc.js → worktree-dzpmeesh.js} +6 -6
- package/dist/chunks/{command-5qd3pb7m.js → worktree-e3qxr5gk.js} +2 -2
- package/dist/chunks/{command-7wxbqxph.js → worktree-ee7tvcsv.js} +25 -25
- package/dist/chunks/{command-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-53tjwt9g.js → worktree-ekhc6zn8.js} +47 -47
- package/dist/chunks/{command-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{command-1jzmnccz.js → worktree-evp7db52.js} +8 -8
- package/dist/chunks/{command-ber7v889.js → worktree-exf0ag6m.js} +11 -11
- package/dist/chunks/{command-yp2x3t23.js → worktree-f2n192rq.js} +4 -4
- package/dist/chunks/{command-kfep38wt.js → worktree-fdz2twvr.js} +47 -47
- package/dist/chunks/{command-b9g9100q.js → worktree-ff5f6xfc.js} +8 -8
- package/dist/chunks/{command-rhafb4aa.js → worktree-fhs97t90.js} +5 -5
- package/dist/chunks/{command-k6zsgamj.js → worktree-fhv9k6kb.js} +8 -8
- package/dist/chunks/{command-knb7evpn.js → worktree-fkjmw100.js} +6 -6
- package/dist/chunks/{command-1sjdykg9.js → worktree-fprzj95g.js} +18 -18
- package/dist/chunks/{command-qhvr2jea.js → worktree-frhb2p6t.js} +4 -4
- package/dist/chunks/{command-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{command-y10xyzsy.js → worktree-g0qmj2x0.js} +3 -3
- package/dist/chunks/{command-46pvzydw.js → worktree-gaqhbna6.js} +21 -21
- package/dist/chunks/{command-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{command-akdr1yx1.js → worktree-ghstkmyc.js} +9 -9
- package/dist/chunks/{command-dfzezczs.js → worktree-gn7pfh5g.js} +1 -1
- package/dist/chunks/{command-n9gqnw48.js → worktree-gr63znzm.js} +26 -26
- package/dist/chunks/{command-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{command-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
- package/dist/chunks/{command-dsk9gyby.js → worktree-h5t1cqyn.js} +6 -6
- package/dist/chunks/{command-96hc392c.js → worktree-h6g83djs.js} +6 -6
- package/dist/chunks/{command-4dgbcxzg.js → worktree-h6r3nrb9.js} +4 -4
- package/dist/chunks/{command-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{command-ytvz0vpx.js → worktree-hbxbz73r.js} +26 -26
- package/dist/chunks/{command-yjptyezs.js → worktree-hcz3zddy.js} +5 -5
- package/dist/chunks/{command-f828m53h.js → worktree-hdnk95c8.js} +2 -2
- package/dist/chunks/{command-e2a7kn3r.js → worktree-hecwjcfa.js} +39 -39
- package/dist/chunks/{command-1hpee78n.js → worktree-hkqe0sh1.js} +7 -7
- package/dist/chunks/{command-8977mvv6.js → worktree-hnez55bc.js} +11 -11
- package/dist/chunks/{command-xnq8y3wp.js → worktree-hpapf7ej.js} +8 -8
- package/dist/chunks/worktree-hqdbbvbk.js +26 -0
- package/dist/chunks/{command-zch60zmd.js → worktree-hrxhtwh5.js} +11 -11
- package/dist/chunks/{command-cq2x0peb.js → worktree-hwys8km5.js} +4 -4
- package/dist/chunks/{command-zam46q7w.js → worktree-hzah94rf.js} +13 -13
- package/dist/chunks/{command-0rbej475.js → worktree-j16bxe15.js} +21 -21
- package/dist/chunks/{command-bxvsvvek.js → worktree-j4816qjh.js} +15 -15
- package/dist/chunks/{command-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{command-n2jgbhgk.js → worktree-j72m2ftj.js} +8 -8
- package/dist/chunks/{command-4jv5ref6.js → worktree-jymnr9tp.js} +87 -87
- package/dist/chunks/{command-q1hc292q.js → worktree-jywqkjj6.js} +11 -11
- package/dist/chunks/{command-30bm9ajm.js → worktree-jzc84zhf.js} +20 -20
- package/dist/chunks/{command-a6aqwg0c.js → worktree-k0skhwzc.js} +1 -1
- package/dist/chunks/{command-wpsghzwe.js → worktree-k2e2j23h.js} +20 -20
- package/dist/chunks/{command-jppvw2tx.js → worktree-k3gnzxs0.js} +5 -5
- package/dist/chunks/{command-9r59gk3z.js → worktree-k711kv9r.js} +6 -6
- package/dist/chunks/{command-h5m7e0fe.js → worktree-k7myrtme.js} +9 -9
- package/dist/chunks/{command-jv9wq4h1.js → worktree-k87h7t0v.js} +9 -9
- package/dist/chunks/{command-b7td26qf.js → worktree-kjj16b39.js} +9 -9
- package/dist/chunks/{command-cavr175a.js → worktree-kk00bynn.js} +21 -21
- package/dist/chunks/{command-rqz3bkzt.js → worktree-ktxmp402.js} +41 -41
- package/dist/chunks/{command-w2xdsg80.js → worktree-kwkjs9hb.js} +19 -19
- package/dist/chunks/{command-cfpkc3c9.js → worktree-m0jqrx5p.js} +2 -2
- package/dist/chunks/worktree-m3fdjcah.js +46 -0
- package/dist/chunks/{command-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-h9r75fxg.js → worktree-mem0xz91.js} +1 -1
- package/dist/chunks/{command-h9ammvhv.js → worktree-mg0hvqns.js} +24 -24
- package/dist/chunks/{command-24k4k4wx.js → worktree-mhvd9vx8.js} +23 -23
- package/dist/chunks/{command-n8fcz8br.js → worktree-mjb12pha.js} +5 -5
- package/dist/chunks/{command-yaf95dqt.js → worktree-mpn67x5p.js} +11 -11
- package/dist/chunks/{command-a1a50ys5.js → worktree-mtft99cd.js} +5 -5
- package/dist/chunks/{command-w9037jm3.js → worktree-mwemq795.js} +31 -31
- package/dist/chunks/{command-6yyja3sr.js → worktree-mwsp0qbh.js} +9 -9
- package/dist/chunks/{command-wmqsncpr.js → worktree-n3ca23hd.js} +12 -12
- package/dist/chunks/{command-eeq2162a.js → worktree-nez407vh.js} +86 -86
- package/dist/chunks/{command-z9kmesag.js → worktree-ng06a93p.js} +43 -43
- package/dist/chunks/{command-xxynqx5z.js → worktree-nvxqht09.js} +3 -3
- package/dist/chunks/{command-shh6fz4q.js → worktree-nw2nz702.js} +4 -4
- package/dist/chunks/{command-cnkwk6vd.js → worktree-nz9pm5x8.js} +13 -13
- package/dist/chunks/{command-rqr91q1p.js → worktree-p193qfyh.js} +26 -26
- package/dist/chunks/{command-0gbtp71g.js → worktree-p3bnatdk.js} +30 -30
- package/dist/chunks/{command-9hn6k4tm.js → worktree-pa8pe2x7.js} +8 -8
- package/dist/chunks/{command-5vcsb3kk.js → worktree-phbvt86a.js} +23 -23
- package/dist/chunks/{command-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{command-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{command-9hcft21q.js → worktree-ppqxyqmv.js} +13 -13
- package/dist/chunks/{command-d1sy02nx.js → worktree-qa7b4e57.js} +38 -38
- package/dist/chunks/worktree-qapv375x.js +4 -0
- package/dist/chunks/{command-666pnfkr.js → worktree-qcqsneq1.js} +14 -14
- package/dist/chunks/{command-e3bagrz8.js → worktree-qe3myk5j.js} +3 -3
- package/dist/chunks/{command-zveb96hb.js → worktree-qes64rbd.js} +32 -32
- package/dist/chunks/{command-hjm0k3fp.js → worktree-qnq7qc9v.js} +2 -2
- package/dist/chunks/{command-ez8ghmhr.js → worktree-qqj2dkp1.js} +8 -8
- package/dist/chunks/{command-sj80jspt.js → worktree-qs15877k.js} +22 -22
- package/dist/chunks/{command-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{command-h3kwk8y9.js → worktree-qt026hkp.js} +9 -9
- package/dist/chunks/{command-qnt9sasj.js → worktree-qvsqjx3k.js} +8 -8
- package/dist/chunks/{command-45j2k0pw.js → worktree-qx0q8j4j.js} +18 -18
- package/dist/chunks/{command-0vgngd9g.js → worktree-r3gqfajy.js} +26 -26
- package/dist/chunks/{command-gfcakcdp.js → worktree-raa150y6.js} +3 -3
- package/dist/chunks/{command-7q2zmtmd.js → worktree-rdh7f4cw.js} +13 -13
- package/dist/chunks/{command-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{command-xf7eefbk.js → worktree-rrqhc0g8.js} +9 -9
- package/dist/chunks/{command-tcy8tav0.js → worktree-s2t3dg79.js} +8 -8
- package/dist/chunks/{command-yrznvahk.js → worktree-s4enseaf.js} +2 -2
- package/dist/chunks/{command-t23rfjnq.js → worktree-s5f4w46x.js} +6 -6
- package/dist/chunks/{command-t550f9t1.js → worktree-s8d7rejh.js} +4 -4
- package/dist/chunks/{command-0t3f5f2j.js → worktree-seeh73d1.js} +24 -24
- package/dist/chunks/{command-m728j35j.js → worktree-sp9v8d94.js} +10 -10
- package/dist/chunks/{command-xw6050bm.js → worktree-sqespdca.js} +15 -15
- package/dist/chunks/{command-wpxh4773.js → worktree-sx7frpfz.js} +14 -14
- package/dist/chunks/{command-qnga3n65.js → worktree-sy7hnc8c.js} +18 -18
- package/dist/chunks/{command-tfdat96q.js → worktree-t3w5bgp4.js} +9 -9
- package/dist/chunks/{command-q5asdkn4.js → worktree-t7n9q6bq.js} +4 -4
- package/dist/chunks/{command-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{command-9r15s34d.js → worktree-tcay1cqt.js} +6 -6
- package/dist/chunks/{command-tcezcvh9.js → worktree-tcezcvh9.js} +1 -1
- package/dist/chunks/{command-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{command-4w1whx26.js → worktree-tj3qv296.js} +4 -4
- package/dist/chunks/{command-7p3xftwe.js → worktree-tk4xefdg.js} +12 -12
- package/dist/chunks/{command-r7fwjr8e.js → worktree-tnb9a9ra.js} +47 -47
- package/dist/chunks/{command-ky3seynh.js → worktree-tqkrwgse.js} +2 -2
- package/dist/chunks/{command-td2jtkpf.js → worktree-trmhacsn.js} +16 -16
- package/dist/chunks/{command-kwqsq9eb.js → worktree-ttyx5d16.js} +1 -1
- package/dist/chunks/{command-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{command-4dq01fp5.js → worktree-tyxy8y33.js} +8 -8
- package/dist/chunks/{command-fza673sd.js → worktree-v179d97a.js} +10 -10
- package/dist/chunks/{command-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{command-f6jpff70.js → worktree-vyd8sw8j.js} +16 -16
- package/dist/chunks/{command-g8jasmdt.js → worktree-vyrd71eq.js} +11 -11
- package/dist/chunks/{command-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{command-69a0df8h.js → worktree-w09ej8yv.js} +14 -14
- package/dist/chunks/{command-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-0qescp40.js → worktree-w5f4svzp.js} +1 -1
- package/dist/chunks/{command-nwkv3axv.js → worktree-w74nyqjb.js} +5 -5
- package/dist/chunks/{command-rc7jd0ep.js → worktree-w7xn1kg1.js} +7 -7
- package/dist/chunks/{command-4sbvrcej.js → worktree-w8fg0vxv.js} +20 -20
- package/dist/chunks/{command-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{command-km6ktv04.js → worktree-wnc6j8g9.js} +6 -6
- package/dist/chunks/{command-xd79hgjq.js → worktree-wtgc8z9n.js} +15 -15
- package/dist/chunks/{command-bz85s9hh.js → worktree-wy8b5sm2.js} +1 -1
- package/dist/chunks/{command-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{command-wmnva1mv.js → worktree-x68ppmc8.js} +3 -3
- package/dist/chunks/{command-wtvb9gzx.js → worktree-x7cz0th0.js} +9 -9
- package/dist/chunks/{command-kzm1fy32.js → worktree-xec0sntw.js} +17 -17
- package/dist/chunks/{command-b2aemhvb.js → worktree-xmw8x2ed.js} +17 -17
- package/dist/chunks/{command-12fr5h43.js → worktree-xqn2na27.js} +4 -4
- package/dist/chunks/{command-tbvzjzzt.js → worktree-xzj8ke1r.js} +41 -41
- package/dist/chunks/{command-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{command-wevghkec.js → worktree-y1ty9ay3.js} +25 -25
- package/dist/chunks/{command-g97kwpg6.js → worktree-y439a41h.js} +43 -43
- package/dist/chunks/{command-fdms3n6w.js → worktree-y56ehv6b.js} +9 -9
- package/dist/chunks/{command-vzjsab6x.js → worktree-yetagcyg.js} +9 -9
- package/dist/chunks/worktree-yfech19a.js +247 -0
- package/dist/chunks/{command-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{command-j4d74nk7.js → worktree-yv0bcf73.js} +40 -40
- package/dist/chunks/{command-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-pka3f0bn.js → worktree-z5y2jtdt.js} +26 -26
- package/dist/chunks/{command-6xmmm4dq.js → worktree-z6m0aj3j.js} +18 -18
- package/dist/chunks/{command-2ehyz9hr.js → worktree-z983bpbs.js} +11 -11
- package/dist/chunks/{command-ha607pgt.js → worktree-za77p82n.js} +6 -6
- package/dist/chunks/{command-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{command-68wccpr5.js → worktree-zmxhfkmg.js} +20 -20
- package/dist/chunks/{command-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{command-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{command-bja92bag.js → worktree-zxynhvrn.js} +18 -18
- package/dist/chunks/{command-s57hh4xa.js → worktree-zxyzar11.js} +64 -64
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -2
- package/dist/codemode/web.js +10 -0
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +213 -212
- package/dist/config/plugin/compaction.js +159 -158
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +78 -78
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +365 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +4 -4
- package/dist/filesystem/location-watcher.js +224 -223
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +92 -92
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +93 -93
- package/dist/form.js +81 -81
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -355
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -352
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -126
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -216
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -346
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +224 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -132
- package/dist/session/context.js +151 -150
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -154
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +90 -90
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +124 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -213
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -13
- package/dist/types/codemode/web.d.ts +8 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/command-1x11rq2a.js +0 -18
- package/dist/chunks/command-95efmqcm.js +0 -247
- package/dist/chunks/command-ca6m86r2.js +0 -26
- package/dist/chunks/command-gbadjzag.js +0 -4
- /package/dist/chunks/{command-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service58
|
|
3
|
+
} from "./worktree-fdz2twvr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service50
|
|
10
|
+
} from "./worktree-9xq3nbft.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
16
|
+
var exports_skill2 = {};
|
|
17
|
+
__export(exports_skill2, {
|
|
18
|
+
Input: () => Input6,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin25,
|
|
21
|
+
SkillTool: () => exports_skill2,
|
|
22
22
|
description: () => description2,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name6,
|
|
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
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name6 = "skill";
|
|
30
|
+
var Input6 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
@@ -43,25 +43,25 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin25 = {
|
|
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*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service50;
|
|
51
|
+
const permission = yield* Service58;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name6,
|
|
54
54
|
options: { codemode: false },
|
|
55
55
|
description: description2,
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
56
|
+
input: Input6,
|
|
57
|
+
output: Output4,
|
|
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:
|
|
64
|
+
action: name6,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin36 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name6, Input6, Output4, description2, toModelOutput2, Plugin25, exports_skill2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./worktree-xzj8ke1r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service51
|
|
7
|
+
} from "./worktree-p3bnatdk.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin15
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service69;
|
|
27
|
+
const snapshot = yield* Service51;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin34 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin15, exports_snapshot };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info19
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info19 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info19, exports_attachment };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./worktree-z5y2jtdt.js";
|
|
6
6
|
import {
|
|
7
7
|
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./worktree-4vy3njsm.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./worktree-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -118,8 +118,8 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info26.make({
|
|
122
|
+
...Info26.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
124
|
modelID: ID12.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-5daktx2q.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID4,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9xq3nbft.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./worktree-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:
|
|
58
|
+
id: ID4.make(id),
|
|
59
59
|
name: Name2.make(frontmatter.name ?? id),
|
|
60
60
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
61
61
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node81
|
|
4
|
+
} from "./worktree-ktxmp402.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service76,
|
|
16
16
|
boundNode: () => boundNode2,
|
|
17
|
-
node: () =>
|
|
17
|
+
node: () => node80,
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
|
-
class
|
|
24
|
+
class Service76 extends Context.Service()("@opencode/Location") {
|
|
25
25
|
}
|
|
26
|
-
var
|
|
27
|
-
var layer = (ref, options) => Layer.effect(
|
|
28
|
-
const project = yield*
|
|
26
|
+
var node80 = LayerNode.unbound(Service76, tags.values.location);
|
|
27
|
+
var layer = (ref, options) => Layer.effect(Service76, Effect.gen(function* () {
|
|
28
|
+
const project = yield* Service77;
|
|
29
29
|
const resolved = yield* project.resolve(ref.directory, options);
|
|
30
|
-
return
|
|
30
|
+
return Service76.of({
|
|
31
31
|
directory: ref.directory,
|
|
32
32
|
workspaceID: ref.workspaceID,
|
|
33
33
|
project: { id: resolved.id, directory: resolved.directory, canonical: resolved.canonical },
|
|
@@ -35,9 +35,9 @@ var layer = (ref, options) => Layer.effect(Service78, Effect.gen(function* () {
|
|
|
35
35
|
});
|
|
36
36
|
}));
|
|
37
37
|
var boundNode2 = (ref, options) => makeLocationNode({
|
|
38
|
-
service:
|
|
38
|
+
service: Service76,
|
|
39
39
|
layer: layer(ref, options),
|
|
40
|
-
deps: [
|
|
40
|
+
deps: [node81]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service76, node80, boundNode2, exports_location };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-z5y2jtdt.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-k711kv9r.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-bm2bzb1v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service36,
|
|
7
|
+
node39
|
|
8
|
+
} from "./worktree-ekhc6zn8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service58,
|
|
11
|
+
node61
|
|
12
|
+
} from "./worktree-fdz2twvr.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service40,
|
|
15
|
+
node43
|
|
16
|
+
} from "./worktree-bxzvdraz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./worktree-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service34,
|
|
26
|
+
layer: () => layer15,
|
|
27
27
|
name: () => name14,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node38
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name14 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service34 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
40
|
+
var layer15 = Layer.effect(Service34, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service36;
|
|
42
|
+
const tools = yield* Service40;
|
|
43
43
|
const bus = yield* Service81;
|
|
44
|
-
const permission = yield*
|
|
44
|
+
const permission = yield* Service58;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -118,12 +118,12 @@ var layer13 = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service34.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node38 = makeLocationNode({
|
|
124
|
+
service: Service34,
|
|
125
|
+
layer: layer15,
|
|
126
|
+
deps: [node43, node39, node85, node61]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2, name14,
|
|
129
|
+
export { namespace2, name14, Service34, layer15, node38, exports_mcp3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-bm2bzb1v.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-h6r3nrb9.js";
|
|
7
7
|
import {
|
|
8
8
|
Event19
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-vyd8sw8j.js";
|
|
10
10
|
import {
|
|
11
11
|
ID14
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-7r8e83hb.js";
|
|
13
13
|
import {
|
|
14
14
|
ID13,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service73
|
|
16
|
+
} from "./worktree-z5y2jtdt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./worktree-bt4497rw.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
@@ -26,7 +26,7 @@ var providerID = ID13.make("modal");
|
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
29
|
+
const providers = yield* Service73;
|
|
30
30
|
const bus = yield* Service81;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,7 +62,7 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-bm2bzb1v.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
16
|
+
Event: () => Event7,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
19
|
NotFoundError: () => NotFoundError7,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service43,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node46
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event7 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError7 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service43 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service81;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer19 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service43.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer19 = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node46 = makeLocationNode({
|
|
75
|
+
service: Service43,
|
|
76
|
+
layer: layer17,
|
|
77
77
|
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError7, ExecutionError2, Service43, layer17, node46, exports_command4, Event7 };
|