@opencode/core 0.0.0-dev-19676 → 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 +78 -78
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +68 -68
- package/dist/chunks/{mime-8phwd4yj.js → worktree-02y3xw2c.js} +14 -6
- package/dist/chunks/{mime-v9shbp9h.js → worktree-0e6tknjd.js} +32 -32
- package/dist/chunks/{mime-0paq2nw3.js → worktree-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → worktree-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-xvw106k3.js → worktree-11zjtd0v.js} +15 -15
- package/dist/chunks/{mime-89bb6baa.js → worktree-15nepkqg.js} +8 -8
- package/dist/chunks/{mime-9tpvgkm4.js → worktree-16zykpq3.js} +9 -9
- package/dist/chunks/{mime-cfzsy5dn.js → worktree-174d77kk.js} +8 -8
- package/dist/chunks/{mime-mvfsc1pv.js → worktree-1bbkgx8g.js} +3 -3
- package/dist/chunks/{mime-hag8cqx7.js → worktree-1bvrbzys.js} +17 -17
- package/dist/chunks/{mime-nknd4ny9.js → worktree-1cq10s00.js} +7 -7
- package/dist/chunks/{mime-1dazxqgg.js → worktree-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-bg2g1xyx.js → worktree-1jaghqsx.js} +20 -20
- package/dist/chunks/{mime-sat34sqy.js → worktree-1qdmrsyh.js} +8 -8
- package/dist/chunks/{mime-49g88a08.js → worktree-1vbr32jm.js} +2 -2
- package/dist/chunks/{mime-rw2tks3h.js → worktree-1w7shgq0.js} +21 -21
- package/dist/chunks/{mime-21r38tys.js → worktree-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → worktree-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-p8vshhkt.js → worktree-283sq9eb.js} +6 -6
- package/dist/chunks/{mime-29x78va6.js → worktree-29x78va6.js} +2 -2
- package/dist/chunks/{mime-2a5m3afh.js → worktree-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-9jq91ht4.js → worktree-2ancfe85.js} +27 -27
- package/dist/chunks/{mime-d1b248br.js → worktree-2d57kztd.js} +6 -6
- package/dist/chunks/{mime-57ez7d0k.js → worktree-2fgn2we9.js} +9 -9
- package/dist/chunks/{mime-veh1f6j0.js → worktree-2r7cpq20.js} +7 -7
- package/dist/chunks/{mime-1v6wmkfd.js → worktree-2vkv0cnq.js} +12 -12
- package/dist/chunks/{mime-gq9ay3kp.js → worktree-2xfxk6th.js} +15 -15
- package/dist/chunks/{mime-2n5k2cty.js → worktree-33xqp8c4.js} +27 -27
- package/dist/chunks/{mime-02w4s5j2.js → worktree-3dqfb5kw.js} +24 -24
- package/dist/chunks/{mime-zhq7v0p7.js → worktree-3f706czv.js} +7 -7
- package/dist/chunks/{mime-3fc6dm20.js → worktree-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → worktree-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-f8vcdpta.js → worktree-3j8yw4h7.js} +30 -30
- package/dist/chunks/{mime-2zjw9q23.js → worktree-3ks8vxtx.js} +24 -24
- package/dist/chunks/{mime-3aemhp6x.js → worktree-3mkv12gd.js} +28 -28
- package/dist/chunks/{mime-wpdxnz6z.js → worktree-3mz07r45.js} +11 -11
- package/dist/chunks/{mime-3smtnn6g.js → worktree-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-de09dxhj.js → worktree-3tey1tqk.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → worktree-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-2qp6y8xf.js → worktree-3w2b2yj4.js} +5 -5
- package/dist/chunks/{mime-50px0bpn.js → worktree-3wa5p8ds.js} +14 -14
- package/dist/chunks/{mime-6jhr0q17.js → worktree-3x63gc5s.js} +6 -6
- package/dist/chunks/{mime-d9age9tx.js → worktree-3xb03r27.js} +16 -16
- package/dist/chunks/{mime-jenzj19r.js → worktree-41xcr2yw.js} +3 -3
- package/dist/chunks/{mime-nagyd8v8.js → worktree-44vcf97r.js} +29 -29
- package/dist/chunks/{mime-w22xa3ag.js → worktree-48q12zrq.js} +12 -12
- package/dist/chunks/{mime-jm4d1k5k.js → worktree-49yfvyax.js} +21 -21
- package/dist/chunks/{mime-vx1605wv.js → worktree-4b3kehkn.js} +2 -2
- package/dist/chunks/{mime-zshjmg5c.js → worktree-4j96vqdr.js} +22 -22
- package/dist/chunks/{mime-1765dzhp.js → worktree-4vy3njsm.js} +12 -12
- package/dist/chunks/{mime-b1vqta1q.js → worktree-4ws0t3r6.js} +5 -5
- package/dist/chunks/{mime-56gdpj1q.js → worktree-56gdpj1q.js} +2 -2
- package/dist/chunks/{mime-was7srj9.js → worktree-57e9z27j.js} +6 -6
- package/dist/chunks/{mime-a1bz86dw.js → worktree-5c4hm403.js} +3 -3
- package/dist/chunks/{mime-b4ahrz2h.js → worktree-5d13hs91.js} +18 -18
- package/dist/chunks/{mime-5daktx2q.js → worktree-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-mqb6w0rk.js → worktree-5kssg3wf.js} +4 -4
- package/dist/chunks/{mime-tprcptpe.js → worktree-5s1g7zt8.js} +41 -41
- package/dist/chunks/{mime-5t3nmthw.js → worktree-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-8m9832bt.js → worktree-5trqfzya.js} +30 -30
- package/dist/chunks/{mime-nszcs87g.js → worktree-60age542.js} +7 -7
- package/dist/chunks/{mime-5qmhr9cv.js → worktree-60rwq83k.js} +24 -24
- package/dist/chunks/worktree-619r8v3y.js +18 -0
- package/dist/chunks/{mime-csf2jhsg.js → worktree-64kphnzf.js} +4 -4
- package/dist/chunks/{mime-669tq793.js → worktree-669tq793.js} +1 -1
- package/dist/chunks/{mime-x1q5t1cj.js → worktree-68cy5tvk.js} +17 -17
- package/dist/chunks/{mime-6msgmcgs.js → worktree-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-ex7fm8gg.js → worktree-6x4tw2n6.js} +4 -4
- package/dist/chunks/{mime-hnbtvde1.js → worktree-6y50b3ce.js} +20 -20
- package/dist/chunks/{mime-d3xmts5k.js → worktree-6ygx60r3.js} +32 -32
- package/dist/chunks/{mime-9cg1cz13.js → worktree-75bwm8n8.js} +18 -18
- package/dist/chunks/{mime-vkxpz7g2.js → worktree-7ac170kv.js} +4 -4
- package/dist/chunks/{mime-1a6p2twq.js → worktree-7atngb88.js} +4 -4
- package/dist/chunks/{mime-7bmhse3q.js → worktree-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-2k8khapm.js → worktree-7dqw4kz8.js} +5 -5
- package/dist/chunks/{mime-azt3m59k.js → worktree-7hjrp1ry.js} +11 -11
- package/dist/chunks/{mime-pky3fvqk.js → worktree-7r8e83hb.js} +17 -17
- package/dist/chunks/{mime-jfqtm2ew.js → worktree-806j49yq.js} +4 -4
- package/dist/chunks/{mime-35bpgycj.js → worktree-82axnvzk.js} +15 -15
- package/dist/chunks/{mime-1zpnajcw.js → worktree-84mkzp6g.js} +11 -11
- package/dist/chunks/{mime-q5ptgr8r.js → worktree-8c8zehe5.js} +11 -11
- package/dist/chunks/{mime-8d7r5vzw.js → worktree-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-c82sf4kt.js → worktree-8kkw5ddh.js} +46 -46
- package/dist/chunks/{mime-dtqm20v3.js → worktree-8rphe9sf.js} +6 -6
- package/dist/chunks/{mime-7jws6rem.js → worktree-925cq2hc.js} +305 -305
- package/dist/chunks/{mime-0szpgk4d.js → worktree-952wf3h0.js} +33 -33
- package/dist/chunks/{mime-0p4r5z7z.js → worktree-97wvmzf2.js} +3 -3
- package/dist/chunks/{mime-dv2t2cas.js → worktree-9crse6na.js} +25 -25
- package/dist/chunks/{mime-et3m3hv9.js → worktree-9r40msyq.js} +11 -11
- package/dist/chunks/{mime-w3byk4vz.js → worktree-9vzt17gg.js} +135 -135
- package/dist/chunks/{mime-4b3a3k2s.js → worktree-9xq3nbft.js} +18 -18
- package/dist/chunks/{mime-65ay1smp.js → worktree-9zj2yd8z.js} +17 -17
- package/dist/chunks/{mime-4vy2cx8a.js → worktree-a40np59p.js} +28 -28
- package/dist/chunks/{mime-aaet6srn.js → worktree-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-wa5xcfdj.js → worktree-acm9d4wv.js} +24 -24
- package/dist/chunks/{mime-yp7kb132.js → worktree-am60j996.js} +8 -8
- package/dist/chunks/{mime-me1tt2vw.js → worktree-b6f6n79x.js} +11 -11
- package/dist/chunks/{mime-b6gygkdw.js → worktree-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-e5b7myd9.js → worktree-b7v0y5ep.js} +4 -4
- package/dist/chunks/{mime-s5a290ta.js → worktree-besmmfw0.js} +13 -13
- package/dist/chunks/{mime-859cc6bp.js → worktree-bexm9nce.js} +37 -37
- package/dist/chunks/{mime-9w5xwdkh.js → worktree-bfd4xtf1.js} +20 -20
- package/dist/chunks/{mime-vme96mrp.js → worktree-bg86vx51.js} +15 -15
- package/dist/chunks/{mime-bk4n5516.js → worktree-bjcwypgn.js} +12 -12
- package/dist/chunks/{mime-pk5h2d3g.js → worktree-bm2bzb1v.js} +4 -4
- package/dist/chunks/{mime-dys6fa9v.js → worktree-bt4497rw.js} +14 -14
- package/dist/chunks/{mime-qvwwf4fp.js → worktree-bxzvdraz.js} +25 -25
- package/dist/chunks/{mime-yr3ynvqg.js → worktree-c0ryrrzn.js} +54 -54
- package/dist/chunks/{mime-y2yt4szk.js → worktree-c27esgm9.js} +8 -8
- package/dist/chunks/{mime-yqz1tghx.js → worktree-c5879aa8.js} +14 -14
- package/dist/chunks/{mime-5d607bsg.js → worktree-c765mh8b.js} +9 -9
- package/dist/chunks/{mime-khwtb84z.js → worktree-debqk1x6.js} +5 -5
- package/dist/chunks/{mime-e6d6pdps.js → worktree-dg5bcj4q.js} +6 -6
- package/dist/chunks/{mime-8p4f9s12.js → worktree-dj2t23y0.js} +2 -2
- package/dist/chunks/{mime-dpkg50ah.js → worktree-dpkg50ah.js} +1 -1
- package/dist/chunks/{mime-fejzv7cs.js → worktree-dr666zk0.js} +16 -16
- package/dist/chunks/{mime-drwq78ky.js → worktree-drwq78ky.js} +1 -1
- package/dist/chunks/{mime-p3p972wa.js → worktree-dtqg9ce1.js} +5 -5
- package/dist/chunks/{mime-4jpncxq3.js → worktree-dze3spay.js} +10 -10
- package/dist/chunks/{mime-cjwramev.js → worktree-dzpmeesh.js} +6 -6
- package/dist/chunks/{mime-rqv9ygtn.js → worktree-ee7tvcsv.js} +22 -22
- package/dist/chunks/{mime-ef5x83kb.js → worktree-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-x233q2fk.js → worktree-ekhc6zn8.js} +46 -46
- package/dist/chunks/{mime-etq0c3wd.js → worktree-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-1bx7pb99.js → worktree-evp7db52.js} +8 -8
- package/dist/chunks/{mime-zn83cexa.js → worktree-exf0ag6m.js} +11 -11
- package/dist/chunks/{mime-f2n192rq.js → worktree-f2n192rq.js} +1 -1
- package/dist/chunks/{mime-4bfa0ewn.js → worktree-fdz2twvr.js} +47 -47
- package/dist/chunks/{mime-px5d9yap.js → worktree-ff5f6xfc.js} +8 -8
- package/dist/chunks/{mime-j3s2z371.js → worktree-fhs97t90.js} +9 -9
- package/dist/chunks/{mime-w93avjv0.js → worktree-fhv9k6kb.js} +8 -8
- package/dist/chunks/{mime-knb7evpn.js → worktree-fkjmw100.js} +6 -6
- package/dist/chunks/{mime-qst8j85x.js → worktree-fprzj95g.js} +16 -16
- package/dist/chunks/{mime-xgtksw21.js → worktree-frhb2p6t.js} +4 -4
- package/dist/chunks/{mime-fxbjtjnd.js → worktree-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-db3cn5xg.js → worktree-g0qmj2x0.js} +3 -3
- package/dist/chunks/{mime-k7p6gza5.js → worktree-gaqhbna6.js} +20 -20
- package/dist/chunks/{mime-gd4qta3r.js → worktree-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-03vjrbdx.js → worktree-ghstkmyc.js} +6 -6
- package/dist/chunks/{mime-ny4f3s0v.js → worktree-gn7pfh5g.js} +1 -1
- package/dist/chunks/{mime-3wkg3shk.js → worktree-gr63znzm.js} +26 -26
- package/dist/chunks/{mime-gv6a8nnw.js → worktree-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-h03wrkyp.js → worktree-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-d89gs2xh.js → worktree-h5t1cqyn.js} +3 -3
- package/dist/chunks/{mime-21rnv1zr.js → worktree-h6g83djs.js} +6 -6
- package/dist/chunks/{mime-h6r3nrb9.js → worktree-h6r3nrb9.js} +1 -1
- package/dist/chunks/{mime-h6vf3j39.js → worktree-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-2593zg0c.js → worktree-hbxbz73r.js} +29 -29
- package/dist/chunks/{mime-wbkyxrgf.js → worktree-hcz3zddy.js} +5 -5
- package/dist/chunks/{mime-f828m53h.js → worktree-hdnk95c8.js} +2 -2
- package/dist/chunks/{mime-kb5bv2n4.js → worktree-hecwjcfa.js} +40 -40
- package/dist/chunks/{mime-tphheadp.js → worktree-hkqe0sh1.js} +10 -10
- package/dist/chunks/{mime-92atbx3b.js → worktree-hnez55bc.js} +11 -11
- package/dist/chunks/{mime-ggj56nfp.js → worktree-hpapf7ej.js} +8 -8
- package/dist/chunks/worktree-hqdbbvbk.js +26 -0
- package/dist/chunks/{mime-mbhmg47f.js → worktree-hrxhtwh5.js} +11 -11
- package/dist/chunks/{mime-dab9gdbe.js → worktree-hwys8km5.js} +4 -4
- package/dist/chunks/{mime-zqcrhym3.js → worktree-hzah94rf.js} +13 -13
- package/dist/chunks/{mime-9wp7cw93.js → worktree-j16bxe15.js} +19 -19
- package/dist/chunks/{mime-rvws15xt.js → worktree-j4816qjh.js} +15 -15
- package/dist/chunks/{mime-j56e64zr.js → worktree-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-1mc3rdpb.js → worktree-j72m2ftj.js} +11 -11
- package/dist/chunks/{mime-na6wbzjd.js → worktree-jymnr9tp.js} +82 -82
- package/dist/chunks/{mime-2f2be1sz.js → worktree-jywqkjj6.js} +11 -11
- package/dist/chunks/{mime-xhj2ag2n.js → worktree-jzc84zhf.js} +20 -20
- package/dist/chunks/{mime-0aa0h9xn.js → worktree-k0skhwzc.js} +1 -1
- package/dist/chunks/{mime-6217hwpf.js → worktree-k2e2j23h.js} +18 -18
- package/dist/chunks/{mime-k3gnzxs0.js → worktree-k3gnzxs0.js} +2 -2
- package/dist/chunks/{mime-mkhs8n3r.js → worktree-k711kv9r.js} +6 -6
- package/dist/chunks/{mime-dzw83ac5.js → worktree-k7myrtme.js} +9 -9
- package/dist/chunks/{mime-8htb71ed.js → worktree-k87h7t0v.js} +12 -12
- package/dist/chunks/{mime-aya75d5a.js → worktree-kjj16b39.js} +9 -9
- package/dist/chunks/{mime-2pnhn36q.js → worktree-kk00bynn.js} +4 -4
- package/dist/chunks/{mime-ysv8z11j.js → worktree-ktxmp402.js} +41 -41
- package/dist/chunks/{mime-wryja361.js → worktree-kwkjs9hb.js} +19 -19
- package/dist/chunks/{mime-cfpkc3c9.js → worktree-m0jqrx5p.js} +2 -2
- package/dist/chunks/worktree-m3fdjcah.js +46 -0
- package/dist/chunks/{mime-m9w0rfyh.js → worktree-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-rqd9fwpe.js → worktree-mem0xz91.js} +1 -1
- package/dist/chunks/{mime-cswecm5v.js → worktree-mg0hvqns.js} +22 -22
- package/dist/chunks/{mime-hefg7mzt.js → worktree-mhvd9vx8.js} +23 -23
- package/dist/chunks/{mime-p8z9n6pf.js → worktree-mjb12pha.js} +3 -3
- package/dist/chunks/{mime-6s8mww07.js → worktree-mpn67x5p.js} +8 -8
- package/dist/chunks/{mime-af04s6ss.js → worktree-mtft99cd.js} +5 -5
- package/dist/chunks/{mime-ttvrg1dv.js → worktree-mwemq795.js} +33 -33
- package/dist/chunks/{mime-v5anqx5b.js → worktree-mwsp0qbh.js} +9 -9
- package/dist/chunks/{mime-ky8k1321.js → worktree-n3ca23hd.js} +10 -10
- package/dist/chunks/{mime-pn533w1y.js → worktree-nez407vh.js} +86 -86
- package/dist/chunks/{mime-4d0m0hwd.js → worktree-ng06a93p.js} +46 -46
- package/dist/chunks/{mime-18e56dsp.js → worktree-nw2nz702.js} +4 -4
- package/dist/chunks/{mime-7hx8j49b.js → worktree-nz9pm5x8.js} +13 -13
- package/dist/chunks/{mime-9xx6hc8d.js → worktree-p193qfyh.js} +24 -24
- package/dist/chunks/{mime-fka8s72p.js → worktree-p3bnatdk.js} +33 -33
- package/dist/chunks/{mime-3hfr6h8q.js → worktree-pa8pe2x7.js} +6 -6
- package/dist/chunks/{mime-xf04dma3.js → worktree-phbvt86a.js} +32 -32
- package/dist/chunks/{mime-pjvnvgmy.js → worktree-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → worktree-pknna89w.js} +1 -1
- package/dist/chunks/{mime-9r7qax81.js → worktree-ppqxyqmv.js} +13 -13
- package/dist/chunks/{mime-dyte7aq0.js → worktree-qa7b4e57.js} +36 -36
- package/dist/chunks/worktree-qapv375x.js +4 -0
- package/dist/chunks/{mime-31besbt1.js → worktree-qcqsneq1.js} +14 -14
- package/dist/chunks/{mime-d5zrkzmf.js → worktree-qe3myk5j.js} +3 -3
- package/dist/chunks/{mime-5b28hma2.js → worktree-qes64rbd.js} +32 -32
- package/dist/chunks/{mime-c6s0q70p.js → worktree-qnq7qc9v.js} +2 -2
- package/dist/chunks/{mime-b9spxxcf.js → worktree-qqj2dkp1.js} +8 -8
- package/dist/chunks/{mime-7s5w9y6x.js → worktree-qs15877k.js} +37 -37
- package/dist/chunks/{mime-qsdy395h.js → worktree-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-pbpjca3p.js → worktree-qt026hkp.js} +9 -9
- package/dist/chunks/{mime-cgxdsxqf.js → worktree-qvsqjx3k.js} +8 -8
- package/dist/chunks/{mime-qqevf9na.js → worktree-qx0q8j4j.js} +19 -19
- package/dist/chunks/{mime-vv2e8ggb.js → worktree-r3gqfajy.js} +26 -26
- package/dist/chunks/{mime-ebd70zp7.js → worktree-raa150y6.js} +3 -3
- package/dist/chunks/{mime-78rkm6ft.js → worktree-rdh7f4cw.js} +10 -10
- package/dist/chunks/{mime-rdw6cm16.js → worktree-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-khfmzn3h.js → worktree-rrqhc0g8.js} +9 -9
- package/dist/chunks/{mime-mjhwwr1h.js → worktree-s2t3dg79.js} +8 -8
- package/dist/chunks/{mime-s4enseaf.js → worktree-s4enseaf.js} +2 -2
- package/dist/chunks/{mime-bnf67f0t.js → worktree-s5f4w46x.js} +6 -6
- package/dist/chunks/{mime-0gdmqesm.js → worktree-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-6vjs791k.js → worktree-seeh73d1.js} +24 -24
- package/dist/chunks/{mime-gnrjfmn5.js → worktree-sp9v8d94.js} +10 -10
- package/dist/chunks/{mime-658y826x.js → worktree-sqespdca.js} +17 -17
- package/dist/chunks/{mime-vwpcvpsn.js → worktree-sx7frpfz.js} +32 -32
- package/dist/chunks/{mime-cpqxnny0.js → worktree-sy7hnc8c.js} +12 -12
- package/dist/chunks/{mime-5mc1avxv.js → worktree-t3w5bgp4.js} +9 -9
- package/dist/chunks/{mime-ddt2bs9e.js → worktree-t7n9q6bq.js} +4 -4
- package/dist/chunks/{mime-tazgh4e4.js → worktree-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-d1mtykxg.js → worktree-tcay1cqt.js} +6 -6
- package/dist/chunks/{mime-89znhe33.js → worktree-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → worktree-tdstcens.js} +1 -1
- package/dist/chunks/{mime-x2q6da39.js → worktree-tj3qv296.js} +4 -4
- package/dist/chunks/{mime-04tfxcdr.js → worktree-tk4xefdg.js} +12 -12
- package/dist/chunks/{mime-x3ws3syc.js → worktree-tnb9a9ra.js} +47 -47
- package/dist/chunks/{mime-tqkrwgse.js → worktree-tqkrwgse.js} +2 -2
- package/dist/chunks/{mime-tvjtxmeb.js → worktree-trmhacsn.js} +16 -16
- package/dist/chunks/{mime-h4c27ev9.js → worktree-ttyx5d16.js} +1 -1
- package/dist/chunks/{mime-tvtrv512.js → worktree-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-1s8fjf9r.js → worktree-tyxy8y33.js} +11 -11
- package/dist/chunks/{mime-stxr33d1.js → worktree-v179d97a.js} +10 -10
- package/dist/chunks/{mime-veqvce7d.js → worktree-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-xj9vawve.js → worktree-vyd8sw8j.js} +12 -12
- package/dist/chunks/{mime-zyr433b0.js → worktree-vyrd71eq.js} +8 -8
- package/dist/chunks/{mime-vzcthcp8.js → worktree-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-4416c72h.js → worktree-w09ej8yv.js} +14 -14
- package/dist/chunks/{mime-w3wsvvr9.js → worktree-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-dv7jba04.js → worktree-w5f4svzp.js} +1 -1
- package/dist/chunks/{mime-6rhtevmb.js → worktree-w74nyqjb.js} +10 -10
- package/dist/chunks/{mime-z8jfcem0.js → worktree-w7xn1kg1.js} +11 -11
- package/dist/chunks/{mime-yn99wfgb.js → worktree-w8fg0vxv.js} +20 -20
- package/dist/chunks/{mime-wd87259q.js → worktree-wd87259q.js} +1 -1
- package/dist/chunks/{mime-s6wmy0wz.js → worktree-wnc6j8g9.js} +3 -3
- package/dist/chunks/{mime-59zrdmmg.js → worktree-wtgc8z9n.js} +17 -17
- package/dist/chunks/{mime-ts2x07a1.js → worktree-wy8b5sm2.js} +1 -1
- package/dist/chunks/{mime-x1ezjp6w.js → worktree-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-gyv66jpz.js → worktree-x68ppmc8.js} +3 -3
- package/dist/chunks/{mime-g70g2r7n.js → worktree-x7cz0th0.js} +9 -9
- package/dist/chunks/{mime-e6yqvfab.js → worktree-xec0sntw.js} +15 -15
- package/dist/chunks/{mime-ewpsdr79.js → worktree-xmw8x2ed.js} +17 -17
- package/dist/chunks/{mime-pzbdg5ae.js → worktree-xqn2na27.js} +4 -4
- package/dist/chunks/{mime-wgcccx00.js → worktree-xzj8ke1r.js} +44 -44
- package/dist/chunks/{mime-y1fvbwt7.js → worktree-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-7tbaktnp.js → worktree-y1ty9ay3.js} +27 -27
- package/dist/chunks/{mime-1qzraqgc.js → worktree-y439a41h.js} +43 -43
- package/dist/chunks/{mime-kdq8v965.js → worktree-y56ehv6b.js} +9 -9
- package/dist/chunks/{mime-sarbwdm8.js → worktree-yetagcyg.js} +11 -11
- package/dist/chunks/worktree-yfech19a.js +247 -0
- package/dist/chunks/{mime-yrhqyw5v.js → worktree-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-h1957gbp.js → worktree-yv0bcf73.js} +38 -38
- package/dist/chunks/{mime-z0bkrqjs.js → worktree-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-t8pjkv49.js → worktree-z5y2jtdt.js} +19 -19
- package/dist/chunks/{mime-bbe2nkwj.js → worktree-z6m0aj3j.js} +18 -18
- package/dist/chunks/{mime-dfg0bpnz.js → worktree-z983bpbs.js} +8 -8
- package/dist/chunks/{mime-11qgt1va.js → worktree-za77p82n.js} +6 -6
- package/dist/chunks/{mime-zeh9ct20.js → worktree-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-tt83xs7d.js → worktree-zmxhfkmg.js} +22 -22
- package/dist/chunks/{mime-zr2ceqn5.js → worktree-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → worktree-zxq2ej10.js} +1 -1
- package/dist/chunks/{mime-mkf4aqmw.js → worktree-zxynhvrn.js} +15 -15
- package/dist/chunks/{mime-d338qq6w.js → worktree-zxyzar11.js} +64 -64
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +83 -83
- 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 +211 -210
- 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 +129 -129
- 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 +124 -124
- 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 +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- 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 +76 -76
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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 +1 -1
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +220 -219
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +107 -107
- 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 +1 -1
- package/dist/integration.js +79 -79
- package/dist/job.js +76 -76
- 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 +125 -124
- 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 +89 -89
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +106 -106
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +98 -98
- 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 +3 -3
- 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 +138 -138
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +92 -92
- 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 +86 -86
- package/dist/reference.js +88 -88
- 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 +150 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +85 -85
- 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 +2 -2
- 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 +1 -1
- 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 +1 -1
- 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 +86 -86
- 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 +214 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -214
- 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 +7 -7
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +92 -92
- 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 +126 -125
- 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 +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -215
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -217
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- 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 +16 -15
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- 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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- 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 +8 -8
- 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/mime-0mesazry.js +0 -4
- package/dist/chunks/mime-4v7qdvcn.js +0 -18
- package/dist/chunks/mime-mggzc1am.js +0 -26
- package/dist/chunks/mime-twjzhaa3.js +0 -247
- /package/dist/chunks/{mime-0qkdqm5v.js → worktree-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → worktree-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → worktree-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → worktree-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → worktree-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → worktree-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → worktree-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → worktree-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → worktree-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → worktree-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → worktree-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → worktree-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → worktree-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → worktree-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → worktree-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → worktree-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → worktree-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → worktree-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → worktree-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → worktree-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → worktree-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → worktree-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → worktree-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → worktree-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → worktree-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → worktree-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → worktree-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → worktree-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → worktree-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → worktree-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → worktree-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → worktree-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → worktree-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → worktree-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → worktree-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → worktree-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → worktree-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → worktree-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → worktree-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → worktree-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → worktree-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → worktree-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → worktree-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → worktree-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e3qxr5gk.js → worktree-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → worktree-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → worktree-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → worktree-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → worktree-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → worktree-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → worktree-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → worktree-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → worktree-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → worktree-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → worktree-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → worktree-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → worktree-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → worktree-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → worktree-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → worktree-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → worktree-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → worktree-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → worktree-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → worktree-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → worktree-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → worktree-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → worktree-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → worktree-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → worktree-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → worktree-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → worktree-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → worktree-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-nvxqht09.js → worktree-nvxqht09.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → worktree-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → worktree-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → worktree-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → worktree-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → worktree-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → worktree-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → worktree-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → worktree-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → worktree-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → worktree-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → worktree-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → worktree-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → worktree-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → worktree-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → worktree-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → worktree-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → worktree-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → worktree-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → worktree-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → worktree-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → worktree-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → worktree-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → worktree-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → worktree-z9919s4g.js} +0 -0
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-bm2bzb1v.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node80
|
|
8
|
+
} from "./worktree-3xb03r27.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID10,
|
|
11
|
+
Service62,
|
|
12
|
+
node65
|
|
13
|
+
} from "./worktree-qx0q8j4j.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./worktree-283sq9eb.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service60,
|
|
19
|
+
node63
|
|
20
|
+
} from "./worktree-qcqsneq1.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./worktree-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service59,
|
|
26
|
+
node62
|
|
27
|
+
} from "./worktree-sqespdca.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service61,
|
|
30
|
+
node64
|
|
31
|
+
} from "./worktree-c27esgm9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./worktree-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission = {};
|
|
@@ -43,19 +43,19 @@ __export(exports_permission, {
|
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
45
|
Event: () => Event9,
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
46
|
+
ID: () => ID7,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission,
|
|
49
49
|
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
51
|
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule2,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service58,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node61
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
@@ -64,7 +64,7 @@ import { Rule as Rule2, Ruleset as Ruleset2 } from "@opencode/schema/permission"
|
|
|
64
64
|
import { Event as Event9 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID7 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request2 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID7.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID10.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID7,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID7,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID7
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service58 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service81;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service76;
|
|
133
|
+
const agents = yield* Service62;
|
|
134
|
+
const sessions = yield* Service60;
|
|
135
|
+
const saved = yield* Service59;
|
|
136
|
+
const hooks = yield* Service61;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError9({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID7.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service58.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node61 = makeLocationNode({
|
|
289
|
+
service: Service58,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node85,
|
|
291
|
+
deps: [node85, node80, node65, node63, node62, node64]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID7, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service58, node61, exports_permission, Rule2, Ruleset2, Event9 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-3xb03r27.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service66,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node70
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service66 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service66, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node70 = LayerNode.unbound(Service66, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
28
|
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
@@ -31,4 +31,4 @@ function canonical3(ref) {
|
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service66, node70, canonical3, exports_location_service_map };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
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/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service8,
|
|
12
12
|
SkillDiscovery: () => exports_discovery,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import path from "path";
|
|
16
16
|
import { Context, Effect, Layer, Schedule, Schema } from "effect";
|
|
@@ -48,9 +48,9 @@ class Index extends Schema.Class("SkillDiscovery.Index")({
|
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service8 extends Context.Service()("@opencode/SkillDiscovery") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
54
54
|
const fs = yield* FSUtil.Service;
|
|
55
55
|
const global = yield* Global.Service;
|
|
56
56
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
63
63
|
return true;
|
|
64
64
|
return yield* HttpClientRequest.get(url).pipe(http.execute, Effect.flatMap((response) => response.arrayBuffer), Effect.flatMap((body) => fs.writeWithDirs(destination, new Uint8Array(body))), Effect.as(true), Effect.catch((error) => Effect.logError("failed to download skill file", { url, error }).pipe(Effect.as(false))));
|
|
65
65
|
});
|
|
66
|
-
return
|
|
66
|
+
return Service8.of({
|
|
67
67
|
pull: Effect.fn("SkillDiscovery.pull")(function* (url) {
|
|
68
68
|
const base = url.endsWith("/") ? url : `${url}/`;
|
|
69
69
|
const source = new URL(base);
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
150
150
|
})
|
|
151
151
|
});
|
|
152
152
|
}));
|
|
153
|
-
var
|
|
153
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [httpClient, FSUtil.node, Global.node] });
|
|
154
154
|
|
|
155
|
-
export {
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-mpn67x5p.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin37 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin33 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin33 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint4, Plugin37, exports_tavily };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-drwq78ky.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/optimize.ts
|
|
9
9
|
var exports_optimize = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_optimize, {
|
|
|
13
13
|
ArceePlugin: () => ArceePlugin2,
|
|
14
14
|
KimiPlugin: () => KimiPlugin2,
|
|
15
15
|
MetaPlugin: () => MetaPlugin2,
|
|
16
|
-
OpenAIPlugin: () =>
|
|
16
|
+
OpenAIPlugin: () => OpenAIPlugin2,
|
|
17
17
|
OpenAIToolsPlugin: () => OpenAIToolsPlugin2,
|
|
18
18
|
OptimizePlugin: () => exports_optimize,
|
|
19
19
|
Plugins: () => Plugins2
|
|
@@ -374,7 +374,7 @@ By default, match the surrounding comment density: where the code has none, add
|
|
|
374
374
|
`;
|
|
375
375
|
|
|
376
376
|
// src/plugin/optimize.ts
|
|
377
|
-
var
|
|
377
|
+
var OpenAIPlugin2 = make("opencode.prompt.openai", (model) => {
|
|
378
378
|
const id = model.id.toLowerCase();
|
|
379
379
|
if (!id.includes("gpt"))
|
|
380
380
|
return;
|
|
@@ -409,7 +409,7 @@ var MetaPlugin2 = make("opencode.prompt.meta", (model) => {
|
|
|
409
409
|
return;
|
|
410
410
|
return meta_default.replaceAll("{{MODEL_NAME}}", model.name);
|
|
411
411
|
});
|
|
412
|
-
var Plugins2 = [
|
|
412
|
+
var Plugins2 = [OpenAIPlugin2, AnthropicPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2];
|
|
413
413
|
function make(id, optimize, mode = "override") {
|
|
414
414
|
return define({
|
|
415
415
|
id,
|
|
@@ -437,4 +437,4 @@ ${rendered}` : rendered;
|
|
|
437
437
|
});
|
|
438
438
|
}
|
|
439
439
|
|
|
440
|
-
export {
|
|
440
|
+
export { OpenAIPlugin2, AnthropicPlugin2, OpenAIToolsPlugin2, AnthropicToolsPlugin2, KimiPlugin2, ArceePlugin2, MetaPlugin2, Plugins2, exports_optimize };
|
|
@@ -1,61 +1,61 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./worktree-raa150y6.js";
|
|
5
5
|
import {
|
|
6
6
|
reserveSequence2,
|
|
7
7
|
Service81,
|
|
8
8
|
node85
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-bm2bzb1v.js";
|
|
10
10
|
import {
|
|
11
11
|
SessionEvent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./worktree-ec1grn59.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./worktree-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
update3
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./worktree-k3gnzxs0.js";
|
|
19
19
|
import {
|
|
20
20
|
AbsolutePath2,
|
|
21
21
|
RelativePath2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./worktree-922hggd3.js";
|
|
23
23
|
import {
|
|
24
24
|
ProjectTable2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./worktree-dj2t23y0.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionTable2,
|
|
28
28
|
SessionMessageTable2,
|
|
29
29
|
SessionInboxTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./worktree-5c4hm403.js";
|
|
31
31
|
import {
|
|
32
32
|
projectAdmitted2,
|
|
33
33
|
projectDelivered2,
|
|
34
34
|
projectCancelled2,
|
|
35
35
|
projectDeliveryChanged2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./worktree-5d13hs91.js";
|
|
37
37
|
import {
|
|
38
38
|
apply2,
|
|
39
39
|
initialize3,
|
|
40
40
|
advanceEpoch2,
|
|
41
41
|
reset2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./worktree-7ac170kv.js";
|
|
43
43
|
import {
|
|
44
44
|
initialize2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./worktree-2xfxk6th.js";
|
|
46
46
|
import {
|
|
47
47
|
Slug2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./worktree-gebd4c9n.js";
|
|
49
49
|
import {
|
|
50
50
|
__export
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./worktree-9rqn6x4v.js";
|
|
52
52
|
|
|
53
53
|
// src/session/projector.ts
|
|
54
54
|
var exports_projector = {};
|
|
55
55
|
__export(exports_projector, {
|
|
56
56
|
SessionAlreadyProjected: () => SessionAlreadyProjected2,
|
|
57
57
|
SessionProjector: () => exports_projector,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node34
|
|
59
59
|
});
|
|
60
60
|
import { and, asc, desc, eq, gt, gte, inArray, isNull, lt, lte, or, sql } from "drizzle-orm";
|
|
61
61
|
import { DateTime, Effect, Layer, Schema, Stream } from "effect";
|
|
@@ -458,6 +458,6 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
458
458
|
return publishSessionUsage(db, bus, event.data.sessionID);
|
|
459
459
|
}), Effect.forkScoped({ startImmediately: true }));
|
|
460
460
|
}));
|
|
461
|
-
var
|
|
461
|
+
var node34 = makeGlobalNode({ name: "session-projector", layer, deps: [node85, node86] });
|
|
462
462
|
|
|
463
|
-
export { SessionAlreadyProjected2,
|
|
463
|
+
export { SessionAlreadyProjected2, node34, exports_projector };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
7
7
|
__export(exports_opencode, {
|
|
8
8
|
MoveInput: () => MoveInput2,
|
|
9
9
|
OpenCodeTools: () => exports_opencode,
|
|
10
|
-
Plugin: () =>
|
|
10
|
+
Plugin: () => Plugin28,
|
|
11
11
|
RenameInput: () => RenameInput2
|
|
12
12
|
});
|
|
13
13
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -26,7 +26,7 @@ var MoveInput2 = Schema.Struct({
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
var MoveOutput = Schema.Struct({ sessionID: Session.ID, directory: AbsolutePath });
|
|
29
|
-
var
|
|
29
|
+
var Plugin28 = {
|
|
30
30
|
id: "opencode.tools",
|
|
31
31
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
32
32
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -77,4 +77,4 @@ var Plugin4 = {
|
|
|
77
77
|
})
|
|
78
78
|
};
|
|
79
79
|
|
|
80
|
-
export { RenameInput2, MoveInput2,
|
|
80
|
+
export { RenameInput2, MoveInput2, Plugin28, exports_opencode };
|
|
@@ -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-ai-gateway.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./worktree-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./worktree-fdz2twvr.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service36,
|
|
13
|
+
node39
|
|
14
|
+
} from "./worktree-ekhc6zn8.js";
|
|
15
15
|
import {
|
|
16
16
|
namespace2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
name14
|
|
18
|
+
} from "./worktree-44vcf97r.js";
|
|
19
19
|
import {
|
|
20
20
|
__export
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./worktree-9rqn6x4v.js";
|
|
22
22
|
|
|
23
23
|
// src/mcp/instructions.ts
|
|
24
24
|
var exports_instructions2 = {};
|
|
25
25
|
__export(exports_instructions2, {
|
|
26
26
|
McpInstructions: () => exports_instructions2,
|
|
27
|
-
Service: () =>
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
27
|
+
Service: () => Service27,
|
|
28
|
+
layer: () => layer12,
|
|
29
|
+
node: () => node30
|
|
30
30
|
});
|
|
31
31
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
32
32
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -62,16 +62,16 @@ var update = (previous, current) => {
|
|
|
62
62
|
`);
|
|
63
63
|
};
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service27 extends Context.Service()("@opencode/McpInstructions") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
const mcp = yield*
|
|
69
|
-
return
|
|
67
|
+
var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
68
|
+
const mcp = yield* Service36;
|
|
69
|
+
return Service27.of({
|
|
70
70
|
load: Effect.fn("McpInstructions.load")(function* (selection) {
|
|
71
71
|
const agent = selection.info;
|
|
72
72
|
if (!agent)
|
|
73
73
|
return empty3;
|
|
74
|
-
const source = (value) =>
|
|
74
|
+
const source = (value) => make21({
|
|
75
75
|
key: Key3.make("core/mcp-guidance"),
|
|
76
76
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
77
77
|
read: Effect.succeed(value),
|
|
@@ -90,7 +90,7 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
90
90
|
const codemode = owned[0]?.codemode !== false;
|
|
91
91
|
if (codemode && !canExecute)
|
|
92
92
|
return [];
|
|
93
|
-
if (!owned.some((tool) => evaluate2(
|
|
93
|
+
if (!owned.some((tool) => evaluate2(name14(tool.server, tool.name), "*", agent.permissions).effect !== "deny"))
|
|
94
94
|
return [];
|
|
95
95
|
return [
|
|
96
96
|
codemode ? { server: item.server, instructions: item.instructions } : { server: item.server, instructions: item.instructions, codemode: false }
|
|
@@ -100,6 +100,6 @@ var layer9 = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
102
|
}));
|
|
103
|
-
var
|
|
103
|
+
var node30 = makeLocationNode({ service: Service27, layer: layer12, deps: [node39] });
|
|
104
104
|
|
|
105
|
-
export {
|
|
105
|
+
export { Service27, layer12, node30, exports_instructions2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./worktree-mpn67x5p.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./worktree-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./worktree-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin36,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
16
|
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin36 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -93,4 +93,4 @@ var Plugin34 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export { endpoint3,
|
|
96
|
+
export { endpoint3, Plugin36, exports_parallel };
|