@opencode/core 0.0.0-dev-20441 → 0.0.0-dev-20443
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{managed-policy-pds74t41.js → filesystem-01m43rby.js} +3 -3
- package/dist/chunks/{managed-policy-cr2axj5k.js → filesystem-0dk0rwka.js} +24 -24
- package/dist/chunks/{managed-policy-as7cf5zz.js → filesystem-0dygnakk.js} +4 -4
- package/dist/chunks/{managed-policy-z78tk0yz.js → filesystem-0ev610yy.js} +12 -12
- package/dist/chunks/{managed-policy-0j77ygfz.js → filesystem-0j77ygfz.js} +2 -2
- package/dist/chunks/{managed-policy-kdc1bwjr.js → filesystem-0my2vamg.js} +5 -5
- package/dist/chunks/{managed-policy-0paq2nw3.js → filesystem-0paq2nw3.js} +1 -1
- package/dist/chunks/{managed-policy-p7f3nfjj.js → filesystem-0qa6hg2d.js} +5 -5
- package/dist/chunks/{managed-policy-qvreyy9g.js → filesystem-0ryd0fps.js} +5 -5
- package/dist/chunks/{managed-policy-0vbcp93d.js → filesystem-0vbcp93d.js} +2 -2
- package/dist/chunks/{managed-policy-ffxkc1dx.js → filesystem-10h2grd6.js} +11 -11
- package/dist/chunks/{managed-policy-r50e1gtz.js → filesystem-11p8z3nt.js} +22 -22
- package/dist/chunks/{managed-policy-60awvy76.js → filesystem-18ekssq5.js} +23 -23
- package/dist/chunks/{managed-policy-txh8sszt.js → filesystem-1cd2s10v.js} +33 -33
- package/dist/chunks/{managed-policy-1dazxqgg.js → filesystem-1dazxqgg.js} +2 -2
- package/dist/chunks/{managed-policy-b4cmytvd.js → filesystem-1ejg90ew.js} +25 -25
- package/dist/chunks/{managed-policy-jvnghvnw.js → filesystem-1g96y08y.js} +8 -8
- package/dist/chunks/{managed-policy-jc0bt329.js → filesystem-1kkbmfzx.js} +22 -22
- package/dist/chunks/{managed-policy-2e4k7ra5.js → filesystem-1mc0gcc5.js} +22 -22
- package/dist/chunks/{managed-policy-qdwke1dj.js → filesystem-1npxxjtc.js} +23 -23
- package/dist/chunks/{managed-policy-dd3asrma.js → filesystem-1w6eav72.js} +38 -38
- package/dist/chunks/{managed-policy-6wzfh0zm.js → filesystem-1y8z5g4w.js} +10 -10
- package/dist/chunks/{managed-policy-wha6r7ch.js → filesystem-1yrx8exs.js} +53 -53
- package/dist/chunks/{managed-policy-kdwgn1zz.js → filesystem-1zacy60w.js} +22 -22
- package/dist/chunks/{managed-policy-21r38tys.js → filesystem-21r38tys.js} +1 -1
- package/dist/chunks/{managed-policy-2a5m3afh.js → filesystem-2a5m3afh.js} +1 -1
- package/dist/chunks/{managed-policy-2ccvkpx1.js → filesystem-2ccvkpx1.js} +2 -2
- package/dist/chunks/{managed-policy-md8svtq5.js → filesystem-2fyye2bf.js} +16 -16
- package/dist/chunks/{managed-policy-bc8apsv6.js → filesystem-2q9z57te.js} +89 -89
- package/dist/chunks/{managed-policy-bs15bkva.js → filesystem-2vkscmz1.js} +16 -16
- package/dist/chunks/{managed-policy-gxg0hsmq.js → filesystem-30kepn8q.js} +21 -21
- package/dist/chunks/{managed-policy-ss0awb04.js → filesystem-35agz59w.js} +6 -6
- package/dist/chunks/{managed-policy-h2b79v29.js → filesystem-3cegwx68.js} +2 -2
- package/dist/chunks/{managed-policy-3fc6dm20.js → filesystem-3fc6dm20.js} +1 -1
- package/dist/chunks/{managed-policy-3hepkmqq.js → filesystem-3hepkmqq.js} +1 -1
- package/dist/chunks/{managed-policy-mfa58mh8.js → filesystem-3k6hcm1s.js} +18 -18
- package/dist/chunks/{managed-policy-jn3csxh6.js → filesystem-3kqa2599.js} +5 -5
- package/dist/chunks/{managed-policy-43x1d0qx.js → filesystem-3qj994h1.js} +18 -18
- package/dist/chunks/{managed-policy-wabjqz2k.js → filesystem-3smkbt6f.js} +3 -3
- package/dist/chunks/{managed-policy-3smtnn6g.js → filesystem-3smtnn6g.js} +1 -1
- package/dist/chunks/{managed-policy-3tvqynh2.js → filesystem-3tvqynh2.js} +1 -1
- package/dist/chunks/{managed-policy-54r1wzpb.js → filesystem-3v5tjer0.js} +7 -7
- package/dist/chunks/{managed-policy-3zsf4n22.js → filesystem-3zsf4n22.js} +1 -1
- package/dist/chunks/{managed-policy-nnzbx27x.js → filesystem-4407emfp.js} +9 -9
- package/dist/chunks/{managed-policy-mze9kz5f.js → filesystem-47jkzegy.js} +5 -5
- package/dist/chunks/{managed-policy-j0a0nmhk.js → filesystem-4tje82sx.js} +6 -6
- package/dist/chunks/{managed-policy-evghyp61.js → filesystem-4wft2je9.js} +7 -7
- package/dist/chunks/{managed-policy-54ma36ye.js → filesystem-54ma36ye.js} +1 -1
- package/dist/chunks/{managed-policy-33w4ejhs.js → filesystem-56gdpj1q.js} +6 -6
- package/dist/chunks/{managed-policy-1x3b90mb.js → filesystem-5d68yzj5.js} +32 -32
- package/dist/chunks/{managed-policy-5daktx2q.js → filesystem-5daktx2q.js} +1 -1
- package/dist/chunks/{managed-policy-7jzb6arw.js → filesystem-5gq66ctg.js} +12 -12
- package/dist/chunks/{managed-policy-h4s95ce9.js → filesystem-5k9mpvz5.js} +8 -8
- package/dist/chunks/{managed-policy-5t3nmthw.js → filesystem-5t3nmthw.js} +2 -2
- package/dist/chunks/{managed-policy-srq8z0b0.js → filesystem-5tcm9639.js} +9 -9
- package/dist/chunks/{managed-policy-dpkd38cp.js → filesystem-5w1b85vj.js} +21 -21
- package/dist/chunks/{managed-policy-nprb0dpq.js → filesystem-638jzcf9.js} +11 -11
- package/dist/chunks/{managed-policy-669tq793.js → filesystem-669tq793.js} +1 -1
- package/dist/chunks/{managed-policy-pmgjrk6j.js → filesystem-66c35f44.js} +32 -32
- package/dist/chunks/{managed-policy-tb61xc83.js → filesystem-6bxp8d4e.js} +33 -33
- package/dist/chunks/{managed-policy-2kxr3st0.js → filesystem-6ch0d3kn.js} +14 -14
- package/dist/chunks/{managed-policy-7q5bqpa7.js → filesystem-6erkktj7.js} +41 -41
- package/dist/chunks/{managed-policy-qt4gsjkk.js → filesystem-6ns3svyy.js} +15 -15
- package/dist/chunks/{managed-policy-pb0nz00d.js → filesystem-6p82jt3d.js} +31 -31
- package/dist/chunks/{managed-policy-gfr7d11b.js → filesystem-6s6p3zn1.js} +60 -60
- package/dist/chunks/{managed-policy-vdwhce4b.js → filesystem-6ykekk54.js} +3 -3
- package/dist/chunks/{managed-policy-6yz0wx8n.js → filesystem-6yz0wx8n.js} +2 -2
- package/dist/chunks/{managed-policy-9a2xe43y.js → filesystem-74zmxtxp.js} +13 -13
- package/dist/chunks/{managed-policy-nd132scw.js → filesystem-75kqmam7.js} +1 -1
- package/dist/chunks/{managed-policy-djszqvmq.js → filesystem-79qaa2kf.js} +9 -9
- package/dist/chunks/{managed-policy-5hm956bs.js → filesystem-7ads88xp.js} +22 -22
- package/dist/chunks/{managed-policy-xgz93h8v.js → filesystem-7bga7ps0.js} +19 -19
- package/dist/chunks/{managed-policy-7bmhse3q.js → filesystem-7bmhse3q.js} +1 -1
- package/dist/chunks/{managed-policy-fcrkznn8.js → filesystem-7dqw4kz8.js} +5 -5
- package/dist/chunks/{managed-policy-q8r22k9v.js → filesystem-7m5f9412.js} +8 -8
- package/dist/chunks/{managed-policy-e4f82xnm.js → filesystem-7pf86645.js} +8 -8
- package/dist/chunks/{managed-policy-rn04vraz.js → filesystem-7ry2mxz0.js} +24 -24
- package/dist/chunks/{managed-policy-p0rx9937.js → filesystem-847v5pgt.js} +11 -11
- package/dist/chunks/{managed-policy-mqbe75y8.js → filesystem-84dmcwyh.js} +4 -4
- package/dist/chunks/{managed-policy-1dvck2a7.js → filesystem-84h8c373.js} +2 -2
- package/dist/chunks/{managed-policy-84txncab.js → filesystem-84txncab.js} +1 -1
- package/dist/chunks/{managed-policy-tcezcvh9.js → filesystem-89znhe33.js} +4 -4
- package/dist/chunks/{managed-policy-zxef6ncy.js → filesystem-8a65fc54.js} +11 -11
- package/dist/chunks/{managed-policy-8d7r5vzw.js → filesystem-8d7r5vzw.js} +1 -1
- package/dist/chunks/{managed-policy-aj0rpvpk.js → filesystem-8n9ywp6t.js} +31 -31
- package/dist/chunks/{managed-policy-m0sxwb6g.js → filesystem-8q0x6p2t.js} +9 -9
- package/dist/chunks/{managed-policy-n7apwg8g.js → filesystem-8qhx0rtq.js} +26 -26
- package/dist/chunks/{managed-policy-xp3fh2h7.js → filesystem-8whseyrk.js} +1 -1
- package/dist/chunks/{managed-policy-1rn5pcm9.js → filesystem-8zp79j7j.js} +4 -4
- package/dist/chunks/{managed-policy-hehaxqkv.js → filesystem-96ctqc5x.js} +4 -4
- package/dist/chunks/{managed-policy-0x1ym7gt.js → filesystem-9cyywgrt.js} +3 -3
- package/dist/chunks/{managed-policy-fv818a4f.js → filesystem-9et5e0c8.js} +24 -24
- package/dist/chunks/{managed-policy-685b7gp0.js → filesystem-9fj76a9k.js} +9 -9
- package/dist/chunks/{managed-policy-e9j3xjpe.js → filesystem-9nr1cgt9.js} +15 -15
- package/dist/chunks/{managed-policy-y8vcwf44.js → filesystem-9ptnejtj.js} +42 -42
- package/dist/chunks/{managed-policy-ep2s8925.js → filesystem-9x8zefvn.js} +20 -20
- package/dist/chunks/{managed-policy-fgy1zn9b.js → filesystem-9xnh16f9.js} +5 -5
- package/dist/chunks/{managed-policy-mhkvc446.js → filesystem-a1gpj94z.js} +3 -3
- package/dist/chunks/{managed-policy-btbmdjwj.js → filesystem-a2rpfkac.js} +4 -4
- package/dist/chunks/{managed-policy-mnhvys94.js → filesystem-a394ta18.js} +32 -32
- package/dist/chunks/{managed-policy-8pvr3va3.js → filesystem-a84fs7pf.js} +7 -7
- package/dist/chunks/{managed-policy-nbkk43by.js → filesystem-a99akv2k.js} +26 -26
- package/dist/chunks/{managed-policy-aaet6srn.js → filesystem-aaet6srn.js} +2 -2
- package/dist/chunks/{managed-policy-kzdcqyn1.js → filesystem-aeb4sny1.js} +5 -5
- package/dist/chunks/{managed-policy-ts3yaxzc.js → filesystem-aex2jcjx.js} +6 -6
- package/dist/chunks/{managed-policy-k79tzb9n.js → filesystem-aezf2awf.js} +9 -9
- package/dist/chunks/{managed-policy-ybhcjgdh.js → filesystem-afs21wh3.js} +4 -4
- package/dist/chunks/{managed-policy-8rq91117.js → filesystem-ap661cbc.js} +43 -43
- package/dist/chunks/filesystem-apczx2yy.js +252 -0
- package/dist/chunks/{managed-policy-frxdqaz8.js → filesystem-aqd63c5t.js} +22 -22
- package/dist/chunks/{managed-policy-aag3ds7p.js → filesystem-arfpz5bc.js} +11 -11
- package/dist/chunks/{managed-policy-fjx88e6t.js → filesystem-at7fx8t4.js} +20 -20
- package/dist/chunks/{managed-policy-k8962brh.js → filesystem-axtvtek4.js} +4 -4
- package/dist/chunks/{managed-policy-v4qbwabw.js → filesystem-ay8mf0mt.js} +13 -13
- package/dist/chunks/{managed-policy-78kd6mqd.js → filesystem-azee6x5s.js} +8 -8
- package/dist/chunks/{managed-policy-bb33hrzj.js → filesystem-b3y0v5k5.js} +50 -50
- package/dist/chunks/{managed-policy-he2ntggs.js → filesystem-b5213z84.js} +24 -24
- package/dist/chunks/{managed-policy-b6gygkdw.js → filesystem-b6gygkdw.js} +2 -2
- package/dist/chunks/{managed-policy-waj7sjcg.js → filesystem-bawtyvfr.js} +2 -2
- package/dist/chunks/{managed-policy-3e0vapc4.js → filesystem-bbq0j6ta.js} +22 -22
- package/dist/chunks/{managed-policy-g58bdygq.js → filesystem-bmcagzxz.js} +11 -11
- package/dist/chunks/{managed-policy-p7pyfceq.js → filesystem-bn3rhc52.js} +8 -8
- package/dist/chunks/{managed-policy-fdqsz5aw.js → filesystem-bzg1m3qp.js} +8 -8
- package/dist/chunks/{managed-policy-rjgmx88b.js → filesystem-bzz3kdrt.js} +47 -47
- package/dist/chunks/{managed-policy-jzfx556m.js → filesystem-cft96kz9.js} +9 -9
- package/dist/chunks/{managed-policy-pba0qj75.js → filesystem-cqvpsbxa.js} +29 -29
- package/dist/chunks/{managed-policy-p5vm2k94.js → filesystem-ct0pajy1.js} +15 -15
- package/dist/chunks/{managed-policy-y6kccm89.js → filesystem-ctzssw83.js} +5 -5
- package/dist/chunks/{managed-policy-99aremag.js → filesystem-cz0q7g0x.js} +10 -10
- package/dist/chunks/{managed-policy-rnp8xwnj.js → filesystem-dddrhpmg.js} +9 -9
- package/dist/chunks/{managed-policy-mtspvnzw.js → filesystem-dj1ywzdr.js} +11 -11
- package/dist/chunks/{managed-policy-xkntkrq7.js → filesystem-dmqcgk4z.js} +5 -5
- package/dist/chunks/{managed-policy-mpk0rfs5.js → filesystem-dnxkq42g.js} +4 -4
- package/dist/chunks/{managed-policy-d9jqg3n6.js → filesystem-drvpf3hy.js} +17 -17
- package/dist/chunks/{managed-policy-351zg8wc.js → filesystem-dx3fq8zr.js} +49 -49
- package/dist/chunks/{managed-policy-3y7my2db.js → filesystem-dyxxb0pf.js} +24 -24
- package/dist/chunks/{managed-policy-zd3r6yme.js → filesystem-e2fdwa3e.js} +7 -7
- package/dist/chunks/{managed-policy-n2cv33mw.js → filesystem-ebfbhmvn.js} +11 -11
- package/dist/chunks/{managed-policy-ef5x83kb.js → filesystem-ef5x83kb.js} +1 -1
- package/dist/chunks/{managed-policy-0mgww3tz.js → filesystem-epq6d0bg.js} +38 -38
- package/dist/chunks/{managed-policy-etq0c3wd.js → filesystem-etq0c3wd.js} +1 -1
- package/dist/chunks/{managed-policy-2b5dj6ta.js → filesystem-etvafb8y.js} +4 -4
- package/dist/chunks/{managed-policy-tpw6cwsb.js → filesystem-eys57y9b.js} +6 -6
- package/dist/chunks/{managed-policy-rw5jpqwf.js → filesystem-f2rw3rqw.js} +27 -27
- package/dist/chunks/{managed-policy-71az546q.js → filesystem-f75zav2x.js} +2 -2
- package/dist/chunks/{managed-policy-e0ydadek.js → filesystem-fcnd5sz6.js} +37 -37
- package/dist/chunks/{managed-policy-25gwbbvm.js → filesystem-fkd5e0q7.js} +33 -33
- package/dist/chunks/{managed-policy-1e489b4a.js → filesystem-g2k2w7bp.js} +15 -15
- package/dist/chunks/{managed-policy-tc94ysxq.js → filesystem-g3mpt7p6.js} +10 -10
- package/dist/chunks/{managed-policy-gd4qta3r.js → filesystem-gd4qta3r.js} +1 -1
- package/dist/chunks/{managed-policy-y59we1re.js → filesystem-gkyt9at6.js} +17 -17
- package/dist/chunks/{managed-policy-9wtfrnq6.js → filesystem-gmg08tbf.js} +14 -14
- package/dist/chunks/filesystem-gyce5qg1.js +18 -0
- package/dist/chunks/{managed-policy-pknpvjb9.js → filesystem-h0grdqdb.js} +1 -1
- package/dist/chunks/{managed-policy-r2xp9k1m.js → filesystem-h2js7m9j.js} +7 -7
- package/dist/chunks/{managed-policy-bm71xk2t.js → filesystem-h62vdr7h.js} +8 -8
- package/dist/chunks/{managed-policy-h6vf3j39.js → filesystem-h6vf3j39.js} +1 -1
- package/dist/chunks/{managed-policy-pnkbpv6t.js → filesystem-hc9acsgr.js} +9 -9
- package/dist/chunks/{managed-policy-eh7wch50.js → filesystem-hj225006.js} +20 -20
- package/dist/chunks/{managed-policy-ced978hc.js → filesystem-hvvpf5dq.js} +24 -24
- package/dist/chunks/{managed-policy-nznn4wxv.js → filesystem-hxjgngrj.js} +4 -4
- package/dist/chunks/{managed-policy-gm60pqc8.js → filesystem-j4tdrtxm.js} +37 -37
- package/dist/chunks/{managed-policy-j56e64zr.js → filesystem-j56e64zr.js} +1 -1
- package/dist/chunks/{managed-policy-etsdryc9.js → filesystem-j7ghn0hc.js} +13 -13
- package/dist/chunks/{managed-policy-bc9wjsbt.js → filesystem-jepen3yv.js} +35 -35
- package/dist/chunks/{managed-policy-4vk76tpg.js → filesystem-jfz4p9z2.js} +34 -34
- package/dist/chunks/{managed-policy-mrvjcs5x.js → filesystem-jkp0d30b.js} +6 -6
- package/dist/chunks/{managed-policy-607px8n0.js → filesystem-jmh888fr.js} +10 -10
- package/dist/chunks/{managed-policy-j3wqczvx.js → filesystem-jt60k175.js} +22 -22
- package/dist/chunks/{managed-policy-pqx42sqq.js → filesystem-jvkn2v7p.js} +25 -25
- package/dist/chunks/{managed-policy-zcsbnpt8.js → filesystem-jyspzs0j.js} +54 -54
- package/dist/chunks/{managed-policy-37g8b03t.js → filesystem-k00bp9ns.js} +32 -32
- package/dist/chunks/{managed-policy-nzks3jc8.js → filesystem-k3c624dm.js} +3 -3
- package/dist/chunks/{managed-policy-g0q01dbx.js → filesystem-k6w0m00t.js} +24 -24
- package/dist/chunks/{managed-policy-fjvydvzm.js → filesystem-k8e0krnc.js} +9 -9
- package/dist/chunks/{managed-policy-hv5jbe8m.js → filesystem-k8etnr3r.js} +8 -8
- package/dist/chunks/{managed-policy-9e5bzkjp.js → filesystem-kb9j3d72.js} +3 -3
- package/dist/chunks/{managed-policy-5t5wrhde.js → filesystem-kks2x84p.js} +2 -2
- package/dist/chunks/{managed-policy-tm3228f0.js → filesystem-kmmmaj33.js} +15 -15
- package/dist/chunks/{managed-policy-b0g9mcy2.js → filesystem-kqgfg1gd.js} +8 -8
- package/dist/chunks/{managed-policy-axqn7bsr.js → filesystem-kv03y1hk.js} +5 -5
- package/dist/chunks/{managed-policy-m3fdjcah.js → filesystem-m3fdjcah.js} +1 -1
- package/dist/chunks/{managed-policy-nn9xsasx.js → filesystem-m70jr5z4.js} +8 -8
- package/dist/chunks/{managed-policy-m9w0rfyh.js → filesystem-m9w0rfyh.js} +1 -1
- package/dist/chunks/{managed-policy-mazbtkaa.js → filesystem-mazbtkaa.js} +2 -2
- package/dist/chunks/{managed-policy-hazm37c2.js → filesystem-mfxaeyt0.js} +27 -27
- package/dist/chunks/{managed-policy-m7p0z7m0.js → filesystem-mp16q3af.js} +13 -13
- package/dist/chunks/{managed-policy-ftwxvkt4.js → filesystem-n2p9bvh6.js} +3 -3
- package/dist/chunks/{managed-policy-t8rpwxdy.js → filesystem-n5a91ywv.js} +13 -13
- package/dist/chunks/{managed-policy-qztr35h0.js → filesystem-natgk2ns.js} +37 -37
- package/dist/chunks/{managed-policy-q1z5zf7b.js → filesystem-nbc5ax32.js} +18 -18
- package/dist/chunks/{managed-policy-szvvj7a8.js → filesystem-nbvh7zyw.js} +30 -30
- package/dist/chunks/{managed-policy-5btfe6ae.js → filesystem-ncqdhjqh.js} +18 -18
- package/dist/chunks/{managed-policy-sd7vvvw1.js → filesystem-ne7kg025.js} +11 -11
- package/dist/chunks/{managed-policy-aq6aw40w.js → filesystem-nn5kxcxk.js} +13 -13
- package/dist/chunks/{managed-policy-e3q501tr.js → filesystem-npxrv172.js} +28 -28
- package/dist/chunks/{managed-policy-q1rprvvw.js → filesystem-ns15zm60.js} +6 -6
- package/dist/chunks/{managed-policy-dpkg50ah.js → filesystem-nxm207yx.js} +4 -4
- package/dist/chunks/{managed-policy-drk2psf4.js → filesystem-nz55e0bf.js} +94 -94
- package/dist/chunks/{managed-policy-sx82jsn2.js → filesystem-pah9j43r.js} +19 -19
- package/dist/chunks/{managed-policy-aep6d7pf.js → filesystem-pfpqtqae.js} +32 -32
- package/dist/chunks/{managed-policy-pjvnvgmy.js → filesystem-pjvnvgmy.js} +1 -1
- package/dist/chunks/{managed-policy-pknna89w.js → filesystem-pknna89w.js} +1 -1
- package/dist/chunks/{managed-policy-ve4pfa0n.js → filesystem-pmr4s4kc.js} +4 -4
- package/dist/chunks/{managed-policy-tf6wmrbr.js → filesystem-ps03ea09.js} +36 -36
- package/dist/chunks/{managed-policy-h6m8mpqk.js → filesystem-pxwkarge.js} +6 -6
- package/dist/chunks/{managed-policy-py3kkmfq.js → filesystem-py3kkmfq.js} +2 -2
- package/dist/chunks/{managed-policy-e25ft575.js → filesystem-q3ersh05.js} +8 -8
- package/dist/chunks/{managed-policy-4eewzd5c.js → filesystem-q3jarvj1.js} +16 -16
- package/dist/chunks/{managed-policy-jjftm8c8.js → filesystem-q4xjqs9h.js} +17 -17
- package/dist/chunks/{managed-policy-c1m7pk41.js → filesystem-q694vrse.js} +76 -76
- package/dist/chunks/{managed-policy-jfx0dmmb.js → filesystem-qea7y3j0.js} +11 -11
- package/dist/chunks/{managed-policy-qnc92qwc.js → filesystem-qnc92qwc.js} +1 -1
- package/dist/chunks/{managed-policy-qsdy395h.js → filesystem-qsdy395h.js} +1 -1
- package/dist/chunks/{managed-policy-cqn0vqgm.js → filesystem-qwcntv07.js} +9 -9
- package/dist/chunks/{managed-policy-sv903t49.js → filesystem-r05yckk2.js} +33 -33
- package/dist/chunks/filesystem-r41c29vv.js +26 -0
- package/dist/chunks/{managed-policy-e1xfjk9r.js → filesystem-r48gm0ww.js} +11 -11
- package/dist/chunks/{managed-policy-pd2m4r83.js → filesystem-r6xn9bth.js} +13 -13
- package/dist/chunks/{managed-policy-yp2x3t23.js → filesystem-r8xr0va3.js} +4 -4
- package/dist/chunks/{managed-policy-rdw6cm16.js → filesystem-rdw6cm16.js} +1 -1
- package/dist/chunks/{managed-policy-r44petzp.js → filesystem-ree5ev3t.js} +12 -12
- package/dist/chunks/{managed-policy-rhjbct0v.js → filesystem-rhjbct0v.js} +1 -1
- package/dist/chunks/{managed-policy-v7s6g2ng.js → filesystem-rt0kvsf5.js} +44 -44
- package/dist/chunks/{managed-policy-fcx3gh1b.js → filesystem-rymc5njp.js} +12 -12
- package/dist/chunks/{managed-policy-qygbw77c.js → filesystem-scgrse2b.js} +5 -5
- package/dist/chunks/{managed-policy-z9ccghj6.js → filesystem-sj134kkz.js} +6 -6
- package/dist/chunks/{managed-policy-n70c3kew.js → filesystem-spcfjcge.js} +9 -9
- package/dist/chunks/{managed-policy-ag4rn41e.js → filesystem-t7n9q6bq.js} +4 -4
- package/dist/chunks/{managed-policy-tazgh4e4.js → filesystem-tazgh4e4.js} +1 -1
- package/dist/chunks/{managed-policy-m0r31qfn.js → filesystem-tbmac1c7.js} +4 -4
- package/dist/chunks/{managed-policy-tdstcens.js → filesystem-tdstcens.js} +1 -1
- package/dist/chunks/{managed-policy-tvtrv512.js → filesystem-tvtrv512.js} +1 -1
- package/dist/chunks/{managed-policy-mj50kw8r.js → filesystem-v6q6j16c.js} +5 -5
- package/dist/chunks/{managed-policy-veqvce7d.js → filesystem-veqvce7d.js} +1 -1
- package/dist/chunks/{managed-policy-dyvwp316.js → filesystem-vgw2dme3.js} +8 -8
- package/dist/chunks/{managed-policy-zst01bw0.js → filesystem-vjh28280.js} +3 -3
- package/dist/chunks/{managed-policy-cmtfrzch.js → filesystem-vkgtc4qa.js} +15 -15
- package/dist/chunks/{managed-policy-0gxkv187.js → filesystem-vpefsdnb.js} +38 -38
- package/dist/chunks/{managed-policy-4vnfhphg.js → filesystem-vqxrw9st.js} +21 -21
- package/dist/chunks/{managed-policy-wejmxhte.js → filesystem-vr2a0c8h.js} +32 -32
- package/dist/chunks/{managed-policy-kk00bynn.js → filesystem-vsp1fds9.js} +4 -4
- package/dist/chunks/{managed-policy-09tgsdtt.js → filesystem-vt8t0ymm.js} +48 -48
- package/dist/chunks/{managed-policy-a9z5bk96.js → filesystem-vw0qja5p.js} +18 -18
- package/dist/chunks/{managed-policy-vzcthcp8.js → filesystem-vzcthcp8.js} +1 -1
- package/dist/chunks/{managed-policy-vzs5sf6e.js → filesystem-vzs5sf6e.js} +1 -1
- package/dist/chunks/{managed-policy-806nc8gd.js → filesystem-w0bxms7d.js} +45 -45
- package/dist/chunks/{managed-policy-w3wsvvr9.js → filesystem-w3wsvvr9.js} +1 -1
- package/dist/chunks/filesystem-w3xv9s6n.js +507 -0
- package/dist/chunks/{managed-policy-wd87259q.js → filesystem-wd87259q.js} +1 -1
- package/dist/chunks/{managed-policy-n78rmnne.js → filesystem-webnratf.js} +5 -5
- package/dist/chunks/{managed-policy-x1ezjp6w.js → filesystem-x1ezjp6w.js} +1 -1
- package/dist/chunks/{managed-policy-04w7gczn.js → filesystem-x1w5tsma.js} +25 -25
- package/dist/chunks/{managed-policy-qj0gtfb8.js → filesystem-x2qdxhwm.js} +8 -8
- package/dist/chunks/{managed-policy-zrj0t68v.js → filesystem-x80vamh1.js} +11 -11
- package/dist/chunks/{managed-policy-2w735aa9.js → filesystem-x9w9za6h.js} +14 -14
- package/dist/chunks/{managed-policy-5sc7htc6.js → filesystem-xadz8mf8.js} +13 -13
- package/dist/chunks/{managed-policy-ttj5yjcg.js → filesystem-xd579ncr.js} +8 -8
- package/dist/chunks/{managed-policy-xfkkasph.js → filesystem-xfkkasph.js} +1 -1
- package/dist/chunks/{managed-policy-hke7pqdv.js → filesystem-xg97hmyb.js} +22 -22
- package/dist/chunks/{managed-policy-j2wvmznt.js → filesystem-xgqg3fa6.js} +17 -17
- package/dist/chunks/{managed-policy-vsmddcz8.js → filesystem-xkd9f4xc.js} +18 -18
- package/dist/chunks/{managed-policy-yz8cjxbp.js → filesystem-xkez93e1.js} +32 -32
- package/dist/chunks/{managed-policy-ybfcvrar.js → filesystem-xqg1ramt.js} +4 -4
- package/dist/chunks/{managed-policy-reqvjh9d.js → filesystem-xwqhtygt.js} +5 -5
- package/dist/chunks/{managed-policy-fwa0c9w1.js → filesystem-xx0dq7m8.js} +5 -5
- package/dist/chunks/{managed-policy-tzvsdaza.js → filesystem-y06nwv4v.js} +11 -11
- package/dist/chunks/{managed-policy-jvjvhaay.js → filesystem-y0bj6ynv.js} +15 -15
- package/dist/chunks/{managed-policy-y1fvbwt7.js → filesystem-y1fvbwt7.js} +1 -1
- package/dist/chunks/{managed-policy-bv98qs9q.js → filesystem-y5dkda77.js} +16 -16
- package/dist/chunks/{managed-policy-nkz8nrts.js → filesystem-ygj42pe4.js} +36 -36
- package/dist/chunks/{managed-policy-pvj1bsy6.js → filesystem-yk2c168m.js} +32 -32
- package/dist/chunks/{managed-policy-yrhqyw5v.js → filesystem-yrhqyw5v.js} +1 -1
- package/dist/chunks/{managed-policy-3nngm4ht.js → filesystem-ys6344d6.js} +11 -11
- package/dist/chunks/{managed-policy-dq1mqche.js → filesystem-yvkd9agk.js} +11 -11
- package/dist/chunks/{managed-policy-54s6fkez.js → filesystem-z016ngy8.js} +29 -29
- package/dist/chunks/{managed-policy-z0bkrqjs.js → filesystem-z0bkrqjs.js} +1 -1
- package/dist/chunks/{managed-policy-8r8kqds0.js → filesystem-z5tskbjx.js} +24 -24
- package/dist/chunks/{managed-policy-sa998d74.js → filesystem-z7j7bfad.js} +3 -3
- package/dist/chunks/{managed-policy-b7qf1jfc.js → filesystem-z8nc6tc3.js} +183 -183
- package/dist/chunks/{managed-policy-hryzqtvd.js → filesystem-z971tyb0.js} +10 -10
- package/dist/chunks/{managed-policy-xrk8nejm.js → filesystem-zcp5x14n.js} +20 -20
- package/dist/chunks/{managed-policy-kpes0ygv.js → filesystem-zfsg1r2z.js} +26 -26
- package/dist/chunks/{managed-policy-vsvwc77y.js → filesystem-zmx4zm5d.js} +19 -19
- package/dist/chunks/{managed-policy-zr2ceqn5.js → filesystem-zr2ceqn5.js} +1 -1
- package/dist/chunks/{managed-policy-zxq2ej10.js → filesystem-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +70 -70
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- 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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +101 -101
- 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 +99 -99
- 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 +363 -363
- package/dist/instruction-discovery.js +81 -81
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- 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 +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +123 -123
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/managed-policy-1zpth0xw.js +0 -507
- package/dist/chunks/managed-policy-302444qx.js +0 -26
- package/dist/chunks/managed-policy-sp6wn6w5.js +0 -252
- package/dist/chunks/managed-policy-vnkjks7b.js +0 -18
- /package/dist/chunks/{managed-policy-0qkdqm5v.js → filesystem-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{managed-policy-0zkw76rk.js → filesystem-0zkw76rk.js} +0 -0
- /package/dist/chunks/{managed-policy-17cy0kzp.js → filesystem-17cy0kzp.js} +0 -0
- /package/dist/chunks/{managed-policy-1cnp2v09.js → filesystem-1cnp2v09.js} +0 -0
- /package/dist/chunks/{managed-policy-1kg9ymc8.js → filesystem-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{managed-policy-24dcb14g.js → filesystem-24dcb14g.js} +0 -0
- /package/dist/chunks/{managed-policy-2710q6r3.js → filesystem-2710q6r3.js} +0 -0
- /package/dist/chunks/{managed-policy-2axfhc9x.js → filesystem-2axfhc9x.js} +0 -0
- /package/dist/chunks/{managed-policy-2c3vjs8z.js → filesystem-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{managed-policy-34c7v6d4.js → filesystem-34c7v6d4.js} +0 -0
- /package/dist/chunks/{managed-policy-359p4xyc.js → filesystem-359p4xyc.js} +0 -0
- /package/dist/chunks/{managed-policy-3asan66x.js → filesystem-3asan66x.js} +0 -0
- /package/dist/chunks/{managed-policy-3v8g72cx.js → filesystem-3v8g72cx.js} +0 -0
- /package/dist/chunks/{managed-policy-3w5fmr99.js → filesystem-3w5fmr99.js} +0 -0
- /package/dist/chunks/{managed-policy-3wcehsnq.js → filesystem-3wcehsnq.js} +0 -0
- /package/dist/chunks/{managed-policy-43n2bw4t.js → filesystem-43n2bw4t.js} +0 -0
- /package/dist/chunks/{managed-policy-4knz6hnm.js → filesystem-4knz6hnm.js} +0 -0
- /package/dist/chunks/{managed-policy-4vcrnpx2.js → filesystem-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{managed-policy-4y7fprxs.js → filesystem-4y7fprxs.js} +0 -0
- /package/dist/chunks/{managed-policy-53557ph1.js → filesystem-53557ph1.js} +0 -0
- /package/dist/chunks/{managed-policy-550bvhaj.js → filesystem-550bvhaj.js} +0 -0
- /package/dist/chunks/{managed-policy-6prwharc.js → filesystem-6prwharc.js} +0 -0
- /package/dist/chunks/{managed-policy-7akdwqpd.js → filesystem-7akdwqpd.js} +0 -0
- /package/dist/chunks/{managed-policy-7m9af43g.js → filesystem-7m9af43g.js} +0 -0
- /package/dist/chunks/{managed-policy-822emrt2.js → filesystem-822emrt2.js} +0 -0
- /package/dist/chunks/{managed-policy-88xbtdfr.js → filesystem-88xbtdfr.js} +0 -0
- /package/dist/chunks/{managed-policy-8n3pysct.js → filesystem-8n3pysct.js} +0 -0
- /package/dist/chunks/{managed-policy-8wj87zfr.js → filesystem-8wj87zfr.js} +0 -0
- /package/dist/chunks/{managed-policy-9a4afbnw.js → filesystem-9a4afbnw.js} +0 -0
- /package/dist/chunks/{managed-policy-9rqn6x4v.js → filesystem-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{managed-policy-a6k6eb26.js → filesystem-a6k6eb26.js} +0 -0
- /package/dist/chunks/{managed-policy-af5trqkr.js → filesystem-af5trqkr.js} +0 -0
- /package/dist/chunks/{managed-policy-afrmfg78.js → filesystem-afrmfg78.js} +0 -0
- /package/dist/chunks/{managed-policy-aqzs7mqg.js → filesystem-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{managed-policy-atq7p7m5.js → filesystem-atq7p7m5.js} +0 -0
- /package/dist/chunks/{managed-policy-bkyjaxrp.js → filesystem-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{managed-policy-bmr6ed5q.js → filesystem-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{managed-policy-cf4snx6d.js → filesystem-cf4snx6d.js} +0 -0
- /package/dist/chunks/{managed-policy-cvy3z8tj.js → filesystem-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{managed-policy-d9fn303g.js → filesystem-d9fn303g.js} +0 -0
- /package/dist/chunks/{managed-policy-d9jj8t3e.js → filesystem-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{managed-policy-dajrwvna.js → filesystem-dajrwvna.js} +0 -0
- /package/dist/chunks/{managed-policy-dap0rakb.js → filesystem-dap0rakb.js} +0 -0
- /package/dist/chunks/{managed-policy-df08tz66.js → filesystem-df08tz66.js} +0 -0
- /package/dist/chunks/{managed-policy-dy18nga0.js → filesystem-dy18nga0.js} +0 -0
- /package/dist/chunks/{managed-policy-e3qxr5gk.js → filesystem-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{managed-policy-e5kj55wp.js → filesystem-e5kj55wp.js} +0 -0
- /package/dist/chunks/{managed-policy-e73j6tqm.js → filesystem-e73j6tqm.js} +0 -0
- /package/dist/chunks/{managed-policy-ec1grn59.js → filesystem-ec1grn59.js} +0 -0
- /package/dist/chunks/{managed-policy-eh3zwz77.js → filesystem-eh3zwz77.js} +0 -0
- /package/dist/chunks/{managed-policy-emrn6kk6.js → filesystem-emrn6kk6.js} +0 -0
- /package/dist/chunks/{managed-policy-f0mxakyp.js → filesystem-f0mxakyp.js} +0 -0
- /package/dist/chunks/{managed-policy-f6n9ztr4.js → filesystem-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{managed-policy-faypxj3z.js → filesystem-faypxj3z.js} +0 -0
- /package/dist/chunks/{managed-policy-fd410y7t.js → filesystem-fd410y7t.js} +0 -0
- /package/dist/chunks/{managed-policy-fxgpk5d8.js → filesystem-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{managed-policy-g4wezp1m.js → filesystem-g4wezp1m.js} +0 -0
- /package/dist/chunks/{managed-policy-g86h250q.js → filesystem-g86h250q.js} +0 -0
- /package/dist/chunks/{managed-policy-gebd4c9n.js → filesystem-gebd4c9n.js} +0 -0
- /package/dist/chunks/{managed-policy-gftt206x.js → filesystem-gftt206x.js} +0 -0
- /package/dist/chunks/{managed-policy-hjbc5kem.js → filesystem-hjbc5kem.js} +0 -0
- /package/dist/chunks/{managed-policy-hk9envan.js → filesystem-hk9envan.js} +0 -0
- /package/dist/chunks/{managed-policy-j2ntwpah.js → filesystem-j2ntwpah.js} +0 -0
- /package/dist/chunks/{managed-policy-j5zkgpj8.js → filesystem-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{managed-policy-jjkms2e6.js → filesystem-jjkms2e6.js} +0 -0
- /package/dist/chunks/{managed-policy-jr7sbwjy.js → filesystem-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{managed-policy-jwfs4k6c.js → filesystem-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{managed-policy-jzg6c2d5.js → filesystem-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{managed-policy-mp448xyj.js → filesystem-mp448xyj.js} +0 -0
- /package/dist/chunks/{managed-policy-msx8hqn2.js → filesystem-msx8hqn2.js} +0 -0
- /package/dist/chunks/{managed-policy-n05xt0ee.js → filesystem-n05xt0ee.js} +0 -0
- /package/dist/chunks/{managed-policy-n3j8tn72.js → filesystem-n3j8tn72.js} +0 -0
- /package/dist/chunks/{managed-policy-njntx4h6.js → filesystem-njntx4h6.js} +0 -0
- /package/dist/chunks/{managed-policy-q3sfg36h.js → filesystem-q3sfg36h.js} +0 -0
- /package/dist/chunks/{managed-policy-q74kybfr.js → filesystem-q74kybfr.js} +0 -0
- /package/dist/chunks/{managed-policy-qaymkmh1.js → filesystem-qaymkmh1.js} +0 -0
- /package/dist/chunks/{managed-policy-qb87gjwd.js → filesystem-qb87gjwd.js} +0 -0
- /package/dist/chunks/{managed-policy-qfa1cgps.js → filesystem-qfa1cgps.js} +0 -0
- /package/dist/chunks/{managed-policy-qg3g05ea.js → filesystem-qg3g05ea.js} +0 -0
- /package/dist/chunks/{managed-policy-qrg20bc0.js → filesystem-qrg20bc0.js} +0 -0
- /package/dist/chunks/{managed-policy-rcb2kzg1.js → filesystem-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{managed-policy-sdp7kfr6.js → filesystem-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{managed-policy-sk3qaz4a.js → filesystem-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{managed-policy-ssg3fenm.js → filesystem-ssg3fenm.js} +0 -0
- /package/dist/chunks/{managed-policy-w803qqfp.js → filesystem-w803qqfp.js} +0 -0
- /package/dist/chunks/{managed-policy-wc3fc9cn.js → filesystem-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{managed-policy-wer8tq1h.js → filesystem-wer8tq1h.js} +0 -0
- /package/dist/chunks/{managed-policy-wtztk69x.js → filesystem-wtztk69x.js} +0 -0
- /package/dist/chunks/{managed-policy-x0ckcb58.js → filesystem-x0ckcb58.js} +0 -0
- /package/dist/chunks/{managed-policy-x61499pn.js → filesystem-x61499pn.js} +0 -0
- /package/dist/chunks/{managed-policy-y44na4kk.js → filesystem-y44na4kk.js} +0 -0
- /package/dist/chunks/{managed-policy-y8cydn3q.js → filesystem-y8cydn3q.js} +0 -0
- /package/dist/chunks/{managed-policy-y8f7s663.js → filesystem-y8f7s663.js} +0 -0
- /package/dist/chunks/{managed-policy-ygaqb7jw.js → filesystem-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{managed-policy-ym463w8f.js → filesystem-ym463w8f.js} +0 -0
- /package/dist/chunks/{managed-policy-z5v4ffb3.js → filesystem-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{managed-policy-z9919s4g.js → filesystem-z9919s4g.js} +0 -0
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-4tje82sx.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-z7j7bfad.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service83,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node87
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service83 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service83, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service83, layer: layer26(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service83,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node87 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service83, layer26, layerFromClient2, configured13, configuredClient2, node87, exports_database };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|
|
10
10
|
__export(exports_message_updater, {
|
|
11
11
|
SessionMessageUpdater: () => exports_message_updater,
|
|
12
|
-
update: () =>
|
|
12
|
+
update: () => update3
|
|
13
13
|
});
|
|
14
14
|
import { castDraft, produce } from "immer";
|
|
15
15
|
import { DateTime, Effect, Match, pipe, Schema } from "effect";
|
|
@@ -21,7 +21,7 @@ var projectTerminalSnapshot = (draft, event) => {
|
|
|
21
21
|
files: event.data.files ? Array.from(event.data.files) : undefined
|
|
22
22
|
};
|
|
23
23
|
};
|
|
24
|
-
function
|
|
24
|
+
function update3(adapter, event) {
|
|
25
25
|
const created = DateTime.makeUnsafe(event.created);
|
|
26
26
|
const latestTool = (assistant, id) => assistant.content.findLast((item) => item.type === "tool" && item.id === id);
|
|
27
27
|
const latestText = (assistant) => assistant.content.findLast((item) => item.type === "text");
|
|
@@ -402,4 +402,4 @@ function update2(adapter, event) {
|
|
|
402
402
|
return project(event);
|
|
403
403
|
}
|
|
404
404
|
|
|
405
|
-
export {
|
|
405
|
+
export { update3, exports_message_updater };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info29 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info29, Status3, key2, exports_connection };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./filesystem-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node75
|
|
7
|
+
} from "./filesystem-rt0kvsf5.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
13
|
var exports_generate2 = {};
|
|
14
14
|
__export(exports_generate2, {
|
|
15
15
|
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service55,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
19
|
+
layer: () => layer19,
|
|
20
|
+
node: () => node58
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -34,11 +34,11 @@ class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError"
|
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service55 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer19 = Layer.effect(Service55, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service71;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -68,12 +68,12 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
68
68
|
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service55.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node58 = makeLocationNode({
|
|
74
|
+
service: Service55,
|
|
75
|
+
layer: layer19,
|
|
76
|
+
deps: [node75, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2, UnavailableError3,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service55, layer19, node58, exports_generate2 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./filesystem-q3jarvj1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event19,
|
|
7
|
+
Service78,
|
|
8
|
+
node82
|
|
9
|
+
} from "./filesystem-6bxp8d4e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./filesystem-aqd63c5t.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./filesystem-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./filesystem-y5dkda77.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-2ccvkpx1.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./filesystem-1zacy60w.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./filesystem-cz0q7g0x.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./filesystem-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service60,
|
|
36
|
+
Event12,
|
|
37
|
+
node63
|
|
38
|
+
} from "./filesystem-5w1b85vj.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
|
-
Options: () =>
|
|
48
|
-
Service: () =>
|
|
47
|
+
Options: () => Options7,
|
|
48
|
+
Service: () => Service58,
|
|
49
49
|
Test: () => Test2,
|
|
50
|
-
configured: () =>
|
|
50
|
+
configured: () => configured8,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer20,
|
|
53
|
+
node: () => node61,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -64,14 +64,14 @@ import { Global } from "@opencode/util/global";
|
|
|
64
64
|
function latest2(entries, key) {
|
|
65
65
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
66
66
|
}
|
|
67
|
-
var
|
|
67
|
+
var Options7 = Schema.Struct({
|
|
68
68
|
project: Schema.optional(Schema.Boolean),
|
|
69
69
|
global: Schema.optional(Schema.Boolean),
|
|
70
70
|
file: Schema.optional(Schema.String),
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service58 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service58, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer20 = (options) => Layer.effect(Service58, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
|
-
const location = yield*
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
96
|
+
const location = yield* Service80;
|
|
97
|
+
const watcher = yield* Service59;
|
|
98
|
+
const bus = yield* Service82;
|
|
99
|
+
const credentials = yield* Service78;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service60;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -167,7 +167,7 @@ var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
167
167
|
});
|
|
168
168
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
169
169
|
return [
|
|
170
|
-
...yield* Effect.forEach(
|
|
170
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
171
171
|
new Directory({ type: "directory", path: directory })
|
|
172
172
|
];
|
|
173
173
|
});
|
|
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event12.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -235,7 +235,7 @@ var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
235
235
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
236
236
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
237
237
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
238
|
-
const candidates =
|
|
238
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
239
239
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
240
240
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
241
241
|
`;
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service58.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -262,13 +262,13 @@ var layer22 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
262
262
|
update
|
|
263
263
|
});
|
|
264
264
|
}));
|
|
265
|
-
function
|
|
265
|
+
function configured8(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service58,
|
|
268
|
+
layer: layer20(options),
|
|
269
|
+
deps: [node62, node86, FSUtil.node, Global.node, node84, node82, node63]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node61 = configured8();
|
|
273
273
|
|
|
274
|
-
export { latest2,
|
|
274
|
+
export { latest2, Options7, Service58, Test2, testLayer2, layer20, configured8, node61, exports_config };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./filesystem-q3jarvj1.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./filesystem-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
11
|
root2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./filesystem-jepen3yv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service80,
|
|
15
|
+
node84
|
|
16
|
+
} from "./filesystem-y5dkda77.js";
|
|
17
17
|
import {
|
|
18
18
|
reconcile2,
|
|
19
19
|
create3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-rdw6cm16.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/vcs.ts
|
|
26
26
|
var exports_vcs = {};
|
|
@@ -29,18 +29,18 @@ __export(exports_vcs, {
|
|
|
29
29
|
BranchList: () => BranchList2,
|
|
30
30
|
DiffError: () => DiffError2,
|
|
31
31
|
FileStatus: () => FileStatus2,
|
|
32
|
-
Info: () =>
|
|
32
|
+
Info: () => Info25,
|
|
33
33
|
InitializeError: () => InitializeError2,
|
|
34
34
|
Mode: () => Mode2,
|
|
35
|
-
Service: () =>
|
|
35
|
+
Service: () => Service74,
|
|
36
36
|
Vcs: () => exports_vcs,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node78
|
|
38
38
|
});
|
|
39
39
|
import path from "path";
|
|
40
40
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
41
41
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
42
42
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
43
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
43
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info25, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
44
44
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -54,12 +54,12 @@ class InitializeError2 extends Schema.TaggedError()("Vcs.InitializeError", {
|
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service74 extends Context.Service()("@opencode/Vcs") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
59
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
60
60
|
const fs = yield* FSUtil.Service;
|
|
61
|
-
const location = yield*
|
|
62
|
-
const bus = yield*
|
|
61
|
+
const location = yield* Service80;
|
|
62
|
+
const bus = yield* Service82;
|
|
63
63
|
const root = yield* Effect.scope;
|
|
64
64
|
const fork = yield* FiberSet.makeRuntime();
|
|
65
65
|
const vcs = location.vcs;
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
71
71
|
canonical: location.project.canonical,
|
|
72
72
|
...vcs ? { store: vcs.store } : {}
|
|
73
73
|
};
|
|
74
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
74
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info25));
|
|
75
75
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
76
76
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
77
77
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
129
129
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
130
130
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
131
131
|
}
|
|
132
|
-
return
|
|
132
|
+
return Service74.of({
|
|
133
133
|
transform: state.transform,
|
|
134
134
|
reload: state.reload,
|
|
135
135
|
initialize: Effect.fn("Vcs.initialize")(function* (providerID) {
|
|
@@ -187,10 +187,10 @@ var layer = Layer.effect(Service49, Effect.gen(function* () {
|
|
|
187
187
|
})
|
|
188
188
|
});
|
|
189
189
|
}));
|
|
190
|
-
var
|
|
191
|
-
service:
|
|
190
|
+
var node78 = makeLocationNode({
|
|
191
|
+
service: Service74,
|
|
192
192
|
layer,
|
|
193
|
-
deps: [FSUtil.node,
|
|
193
|
+
deps: [FSUtil.node, node84, node86]
|
|
194
194
|
});
|
|
195
195
|
|
|
196
|
-
export { Base2, BranchList2, FileStatus2,
|
|
196
|
+
export { Base2, BranchList2, FileStatus2, Info25, Mode2, DiffError2, InitializeError2, Service74, node78, exports_vcs };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-8n9ywp6t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service58
|
|
7
|
+
} from "./filesystem-dx3fq8zr.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./filesystem-sj134kkz.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -36,7 +36,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service58;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./filesystem-1cd2s10v.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./filesystem-8n9ywp6t.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service58
|
|
11
|
+
} from "./filesystem-dx3fq8zr.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./filesystem-vjh28280.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./filesystem-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./filesystem-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin16
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin16 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service58;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -190,4 +190,4 @@ function configuredProviders(entries) {
|
|
|
190
190
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
191
191
|
}
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { Plugin16, exports_provider };
|