@opencode/core 0.0.0-dev-106 → 0.0.0-dev-107
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 +89 -89
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{file-retention-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{file-retention-3ctwxhf6.js → generate-06z701rm.js} +25 -25
- package/dist/chunks/{file-retention-26x8chrq.js → generate-0ma4nchc.js} +6 -6
- package/dist/chunks/{file-retention-13ebf3mq.js → generate-0n115jhs.js} +2 -2
- package/dist/chunks/{file-retention-tzm99g9n.js → generate-0rdesn2s.js} +11 -11
- package/dist/chunks/{file-retention-cbn5qz6c.js → generate-0vsxvdtn.js} +16 -16
- package/dist/chunks/{file-retention-ectwy8nt.js → generate-0zzszzpj.js} +5 -5
- package/dist/chunks/{file-retention-rmt6m6se.js → generate-18g90bpv.js} +5 -5
- package/dist/chunks/{file-retention-2djfsmxs.js → generate-1ee0r1kj.js} +20 -20
- package/dist/chunks/{file-retention-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{file-retention-x38q2hx0.js → generate-1j9w4y6h.js} +24 -24
- package/dist/chunks/{file-retention-1kn6jdkn.js → generate-1kn6jdkn.js} +1 -1
- package/dist/chunks/{file-retention-0d5wzp0a.js → generate-1m60qraa.js} +45 -45
- package/dist/chunks/{file-retention-at3ha3gd.js → generate-1q6dszbz.js} +13 -13
- package/dist/chunks/{file-retention-je0z6vt0.js → generate-1sfk74bq.js} +19 -19
- package/dist/chunks/{file-retention-exqnczdn.js → generate-1t55kv49.js} +18 -18
- package/dist/chunks/{file-retention-1x2knyw4.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{file-retention-18fr36ja.js → generate-202bxvr4.js} +8 -8
- package/dist/chunks/{file-retention-204s3925.js → generate-204s3925.js} +1 -1
- package/dist/chunks/{file-retention-7b491anb.js → generate-2ae0bb16.js} +11 -11
- package/dist/chunks/{file-retention-z9rbxwes.js → generate-2fhcbr2h.js} +10 -10
- package/dist/chunks/{file-retention-1tpd8jbg.js → generate-2g290e82.js} +54 -54
- package/dist/chunks/{file-retention-h5tttybt.js → generate-2ma0e9a9.js} +19 -19
- package/dist/chunks/{file-retention-w1ampmdn.js → generate-2ztdhh52.js} +87 -87
- package/dist/chunks/{file-retention-b2e3mpfn.js → generate-3e5vr4ez.js} +18 -18
- package/dist/chunks/{file-retention-4p3hg7qr.js → generate-3ec98pns.js} +8 -8
- package/dist/chunks/{file-retention-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-6y263vp8.js → generate-3kdbrncp.js} +5 -5
- package/dist/chunks/{file-retention-3nnrz6f6.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/generate-3swdr1y8.js +26 -0
- package/dist/chunks/{file-retention-b27sr8xw.js → generate-3vj30g40.js} +25 -25
- package/dist/chunks/{file-retention-2v29ms50.js → generate-3yr9ad7b.js} +20 -20
- package/dist/chunks/{file-retention-4en8p6w3.js → generate-4320fn7v.js} +11 -11
- package/dist/chunks/{file-retention-tv6nmqg6.js → generate-4g9y7qp0.js} +13 -13
- package/dist/chunks/{file-retention-4pyp9zr9.js → generate-4pyp9zr9.js} +1 -1
- package/dist/chunks/{file-retention-qtgtdkvq.js → generate-4tqctrqn.js} +8 -8
- package/dist/chunks/{file-retention-6ss6ngz0.js → generate-4tqs0jzk.js} +4 -4
- package/dist/chunks/{file-retention-4v008n1t.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{file-retention-bqhtr9km.js → generate-4v40nn40.js} +16 -16
- package/dist/chunks/{file-retention-kexjjz2s.js → generate-4z2wtcvt.js} +32 -32
- package/dist/chunks/{file-retention-9c0sbrgq.js → generate-5092e2jb.js} +5 -5
- package/dist/chunks/{file-retention-tvbcxp3f.js → generate-50yzfa9j.js} +11 -11
- package/dist/chunks/{file-retention-vfqzwbd6.js → generate-5ee85207.js} +24 -24
- package/dist/chunks/{file-retention-257338nf.js → generate-5ktqpe3k.js} +18 -18
- package/dist/chunks/{file-retention-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{file-retention-5gyja307.js → generate-5x26af84.js} +4 -4
- package/dist/chunks/{file-retention-2n2jra7h.js → generate-5z35dpy9.js} +2 -2
- package/dist/chunks/{file-retention-ce8850xx.js → generate-666bv3ay.js} +5 -5
- package/dist/chunks/generate-6bshxcsx.js +18 -0
- package/dist/chunks/{file-retention-6esdw8yj.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{file-retention-8w2sjm13.js → generate-6hy38yqe.js} +13 -13
- package/dist/chunks/{file-retention-xdjf2s1h.js → generate-6whdpt6t.js} +19 -19
- package/dist/chunks/{file-retention-9grvd76r.js → generate-6wxsr7gx.js} +8 -8
- package/dist/chunks/{file-retention-dzpz9w51.js → generate-6zwdg53a.js} +30 -30
- package/dist/chunks/{file-retention-ma8y8rx5.js → generate-71zez6gk.js} +6 -6
- package/dist/chunks/{file-retention-w8qtt4th.js → generate-76cb1hcw.js} +4 -4
- package/dist/chunks/{file-retention-pnwsrq7c.js → generate-7aa2mjr2.js} +11 -11
- package/dist/chunks/{file-retention-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-6pnx88k5.js → generate-7c4ttkny.js} +32 -32
- package/dist/chunks/{file-retention-94khjvtj.js → generate-7e2708gx.js} +28 -28
- package/dist/chunks/{file-retention-bdady26x.js → generate-7q0gn4vw.js} +34 -34
- package/dist/chunks/{file-retention-hrgy1ehp.js → generate-7v4h4gdx.js} +3 -3
- package/dist/chunks/{file-retention-7w2ypzdf.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{file-retention-6qcwe8h6.js → generate-7w97sera.js} +7 -7
- package/dist/chunks/{file-retention-4tsasp0w.js → generate-87xrnj2a.js} +16 -16
- package/dist/chunks/{file-retention-b4fxnh5x.js → generate-8a1jyxga.js} +4 -4
- package/dist/chunks/{file-retention-aahkq6z2.js → generate-8gjt3z81.js} +10 -10
- package/dist/chunks/{file-retention-8jztxfpf.js → generate-8jztxfpf.js} +1 -1
- package/dist/chunks/{file-retention-bdxrme4x.js → generate-8wntc457.js} +26 -26
- package/dist/chunks/{file-retention-8wtp7s3z.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{file-retention-bzk4ydrv.js → generate-8yty72zd.js} +89 -89
- package/dist/chunks/{file-retention-90zstvax.js → generate-90zstvax.js} +1 -1
- package/dist/chunks/{file-retention-hrzny8v8.js → generate-91h8br7e.js} +24 -24
- package/dist/chunks/{file-retention-pg7tzw83.js → generate-9746xxpe.js} +18 -18
- package/dist/chunks/{file-retention-8yhc7zrg.js → generate-9f3sjfep.js} +9 -9
- package/dist/chunks/{file-retention-yztxn572.js → generate-9g6r0xzh.js} +4 -4
- package/dist/chunks/{file-retention-6617bgsd.js → generate-9hykb5cg.js} +15 -15
- package/dist/chunks/{file-retention-r67zf7b0.js → generate-9n9p4xt1.js} +44 -44
- package/dist/chunks/{file-retention-wc3hvwsb.js → generate-9vpjb0mc.js} +27 -27
- package/dist/chunks/{file-retention-ryddx2hx.js → generate-9wmr3sd2.js} +26 -26
- package/dist/chunks/{file-retention-yjq04dxh.js → generate-9wzq089f.js} +43 -43
- package/dist/chunks/{file-retention-dvpav3c8.js → generate-a89th7t7.js} +16 -16
- package/dist/chunks/{file-retention-3cgskxpq.js → generate-a9q6fvpe.js} +3 -3
- package/dist/chunks/{file-retention-1p7ae65c.js → generate-agwf0v5r.js} +11 -11
- package/dist/chunks/{file-retention-qc86zz63.js → generate-aknbadps.js} +11 -11
- package/dist/chunks/{file-retention-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{file-retention-f6n5e1dm.js → generate-az9xpas6.js} +14 -14
- package/dist/chunks/{file-retention-b6vsg801.js → generate-b6vsg801.js} +2 -2
- package/dist/chunks/{file-retention-1npk31dn.js → generate-b77f8j6q.js} +5 -5
- package/dist/chunks/{file-retention-mq7hpmjw.js → generate-bdgvvtkj.js} +4 -4
- package/dist/chunks/{file-retention-bstexjd6.js → generate-bstexjd6.js} +1 -1
- package/dist/chunks/{file-retention-1gc92e9b.js → generate-bxgg086j.js} +42 -42
- package/dist/chunks/{file-retention-fz3avstq.js → generate-c4p24wp9.js} +20 -20
- package/dist/chunks/{file-retention-1dmvqq8e.js → generate-c97hk87q.js} +17 -17
- package/dist/chunks/generate-caqvfgf5.js +511 -0
- package/dist/chunks/{file-retention-w1n8wyt0.js → generate-cjj6cyve.js} +19 -19
- package/dist/chunks/{file-retention-zqfva1zy.js → generate-cq2w5zye.js} +1 -1
- package/dist/chunks/{file-retention-cwrgdav8.js → generate-cwrgdav8.js} +2 -2
- package/dist/chunks/{file-retention-jz9sppn7.js → generate-cytwgfbf.js} +4 -4
- package/dist/chunks/{file-retention-6y6e3gcj.js → generate-d0fjdyyv.js} +30 -30
- package/dist/chunks/{file-retention-82kem97q.js → generate-d22azegw.js} +20 -20
- package/dist/chunks/{file-retention-d4v9tmah.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{file-retention-gwb4hjpw.js → generate-d9ym7arr.js} +5 -5
- package/dist/chunks/{file-retention-vtftkppy.js → generate-db9qyw1r.js} +35 -35
- package/dist/chunks/{file-retention-x08t3gav.js → generate-dbp9zbdw.js} +17 -17
- package/dist/chunks/{file-retention-ydsespw1.js → generate-ddvn7d3w.js} +8 -8
- package/dist/chunks/{file-retention-7kf2nsex.js → generate-de9fn7va.js} +8 -8
- package/dist/chunks/{file-retention-dskmn5nd.js → generate-dnn01zm9.js} +25 -25
- package/dist/chunks/{file-retention-10fq91z6.js → generate-dptvw9a5.js} +32 -32
- package/dist/chunks/{file-retention-h6t0znmf.js → generate-dqpjcdfr.js} +9 -9
- package/dist/chunks/{file-retention-g6dfma3d.js → generate-drvbhkez.js} +6 -6
- package/dist/chunks/{file-retention-w9g7809j.js → generate-dt4hj756.js} +11 -11
- package/dist/chunks/{file-retention-dt77769w.js → generate-dt77769w.js} +1 -1
- package/dist/chunks/{file-retention-ys5044sq.js → generate-dw5es7np.js} +1 -1
- package/dist/chunks/{file-retention-e834z07m.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{file-retention-nd9x6dx5.js → generate-ea418bh9.js} +7 -7
- package/dist/chunks/{file-retention-hdfrs5mg.js → generate-ea54n1e7.js} +9 -9
- package/dist/chunks/{file-retention-3t7s1jht.js → generate-eazr4mrc.js} +23 -23
- package/dist/chunks/{file-retention-ep2aybfb.js → generate-ebc8470v.js} +22 -22
- package/dist/chunks/{file-retention-530qnn32.js → generate-eh8g1rp4.js} +54 -54
- package/dist/chunks/{file-retention-2hrs92et.js → generate-emg02mbg.js} +14 -14
- package/dist/chunks/{file-retention-nspspvnz.js → generate-eq1bfm3w.js} +23 -23
- package/dist/chunks/{file-retention-prdb4jtf.js → generate-erv8assh.js} +17 -17
- package/dist/chunks/{file-retention-jyq1zm3m.js → generate-ey7c0mj3.js} +35 -35
- package/dist/chunks/{file-retention-haf3v3hy.js → generate-f01y088k.js} +5 -5
- package/dist/chunks/{file-retention-fffv3p7h.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{file-retention-1bazgwy0.js → generate-ffwhmgh9.js} +20 -20
- package/dist/chunks/{file-retention-fg9p65nk.js → generate-fg9p65nk.js} +2 -2
- package/dist/chunks/{file-retention-11b27yxh.js → generate-fpjnyk7v.js} +13 -13
- package/dist/chunks/{file-retention-wdj410na.js → generate-gbbntbvj.js} +35 -35
- package/dist/chunks/{file-retention-gg8p9cgs.js → generate-gg8p9cgs.js} +3 -3
- package/dist/chunks/{file-retention-pxsskgvr.js → generate-gq58s2jg.js} +15 -15
- package/dist/chunks/{file-retention-3grw85tc.js → generate-grk9sjy2.js} +11 -11
- package/dist/chunks/{file-retention-r8c7z53f.js → generate-h1wkcee1.js} +16 -16
- package/dist/chunks/{file-retention-qerk2cbg.js → generate-h50mtd3p.js} +12 -12
- package/dist/chunks/{file-retention-b78pvnk0.js → generate-hdfccz72.js} +18 -18
- package/dist/chunks/{file-retention-rnnfdfqg.js → generate-hdn2t124.js} +25 -25
- package/dist/chunks/{file-retention-6d987nwp.js → generate-hdv37mps.js} +31 -31
- package/dist/chunks/{file-retention-nwyfjcs7.js → generate-hdvssxsh.js} +8 -8
- package/dist/chunks/{file-retention-m37sd98t.js → generate-hfgk9wzg.js} +4 -4
- package/dist/chunks/{file-retention-hpg1pkwy.js → generate-hpg1pkwy.js} +1 -1
- package/dist/chunks/{file-retention-ymetyeqh.js → generate-hs9fnnsf.js} +11 -11
- package/dist/chunks/{file-retention-p2dy9dmh.js → generate-hxa57kkw.js} +16 -16
- package/dist/chunks/{file-retention-220xmsjv.js → generate-hy8pjzp2.js} +20 -20
- package/dist/chunks/{file-retention-vpm8vpz0.js → generate-hzrfc1p4.js} +3 -3
- package/dist/chunks/{file-retention-fd09956s.js → generate-j8k0q4w6.js} +1 -1
- package/dist/chunks/{file-retention-jfaecv01.js → generate-jfaecv01.js} +1 -1
- package/dist/chunks/{file-retention-xm94g0fx.js → generate-jj9kddkh.js} +195 -195
- package/dist/chunks/{file-retention-m37mrzs7.js → generate-jksqncxt.js} +10 -10
- package/dist/chunks/{file-retention-1xawp968.js → generate-jq3m410h.js} +4 -4
- package/dist/chunks/{file-retention-jtnps1zs.js → generate-jtnps1zs.js} +2 -2
- package/dist/chunks/{file-retention-h4v9p5rq.js → generate-jvt6ewmz.js} +3 -3
- package/dist/chunks/{file-retention-mqr8efz6.js → generate-jwxx7s5d.js} +9 -9
- package/dist/chunks/{file-retention-k814nvkf.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{file-retention-bg4dmm5d.js → generate-kdj9z3kk.js} +15 -15
- package/dist/chunks/{file-retention-9qyfvz4m.js → generate-kg4a0hxh.js} +10 -10
- package/dist/chunks/{file-retention-0gbb59p9.js → generate-kjgnzevm.js} +9 -9
- package/dist/chunks/{file-retention-tpm8y58e.js → generate-kn1v0813.js} +36 -36
- package/dist/chunks/{file-retention-mz3668s9.js → generate-kq7mjshc.js} +22 -22
- package/dist/chunks/{file-retention-kt3bjfbg.js → generate-kt3bjfbg.js} +1 -1
- package/dist/chunks/{file-retention-jb9hj9nr.js → generate-kw1sybbj.js} +6 -6
- package/dist/chunks/{file-retention-h9awvcw8.js → generate-kz9rq8ns.js} +35 -35
- package/dist/chunks/{file-retention-ant32n8a.js → generate-m0cfdda0.js} +17 -17
- package/dist/chunks/{file-retention-m5z5bky1.js → generate-m16tgpdr.js} +27 -27
- package/dist/chunks/{file-retention-m1714858.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{file-retention-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-n4q7tcga.js → generate-mkmw974x.js} +18 -18
- package/dist/chunks/{file-retention-e2mp0d97.js → generate-mmk7c5zv.js} +19 -19
- package/dist/chunks/{file-retention-hqxkkta1.js → generate-mqe7nf5n.js} +3 -3
- package/dist/chunks/{file-retention-ed1x3daz.js → generate-mw3ncd47.js} +21 -21
- package/dist/chunks/{file-retention-gk998fjy.js → generate-mybk4etn.js} +26 -26
- package/dist/chunks/{file-retention-4exy2tgb.js → generate-n2hv359w.js} +69 -69
- package/dist/chunks/{file-retention-w046pjj9.js → generate-n3hk2jtv.js} +13 -13
- package/dist/chunks/{file-retention-n4mbpr34.js → generate-n7xqecct.js} +49 -49
- package/dist/chunks/{file-retention-nah043kf.js → generate-nah043kf.js} +1 -1
- package/dist/chunks/{file-retention-70qgk999.js → generate-nbzxv6ct.js} +4 -4
- package/dist/chunks/{file-retention-11fnx5ad.js → generate-ngwmsjrv.js} +3 -3
- package/dist/chunks/{file-retention-3cbzjvxf.js → generate-njb5ba6d.js} +12 -12
- package/dist/chunks/{file-retention-05acc43v.js → generate-nm02mz5v.js} +9 -9
- package/dist/chunks/{file-retention-htrvxm7y.js → generate-nn2w1eqe.js} +21 -21
- package/dist/chunks/{file-retention-tya21j9a.js → generate-nx7gw4xs.js} +30 -30
- package/dist/chunks/{file-retention-akjr89gm.js → generate-nym92392.js} +3 -3
- package/dist/chunks/{file-retention-c0wmmjhw.js → generate-nzd678w9.js} +43 -43
- package/dist/chunks/{file-retention-p015t6z3.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{file-retention-wdx8z5j2.js → generate-p0fjc254.js} +8 -8
- package/dist/chunks/{file-retention-z04zt6pc.js → generate-p10enhg4.js} +21 -21
- package/dist/chunks/{file-retention-0geb145b.js → generate-p3w9bnf6.js} +10 -10
- package/dist/chunks/{file-retention-pqz8f4xz.js → generate-p7nnq0h5.js} +11 -11
- package/dist/chunks/{file-retention-1yq9hg58.js → generate-p7vhpwh8.js} +5 -5
- package/dist/chunks/{file-retention-hwg9r3t9.js → generate-pk00nasj.js} +44 -44
- package/dist/chunks/{file-retention-qz7zdzmc.js → generate-pkmfc50t.js} +9 -9
- package/dist/chunks/{file-retention-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-h3hvekyy.js → generate-pt5qt6br.js} +11 -11
- package/dist/chunks/{file-retention-97vq97zw.js → generate-pxnkq3zk.js} +9 -9
- package/dist/chunks/{file-retention-m4qbnc51.js → generate-q5ksxkha.js} +3 -3
- package/dist/chunks/{file-retention-wmrfeaxa.js → generate-q62a41c3.js} +35 -35
- package/dist/chunks/{file-retention-cap58psb.js → generate-q83e4r6c.js} +8 -8
- package/dist/chunks/{file-retention-51d35nkj.js → generate-q85rya1m.js} +6 -6
- package/dist/chunks/{file-retention-pdbk0b84.js → generate-qadf7jyf.js} +29 -29
- package/dist/chunks/{file-retention-zhvf8v5k.js → generate-qedarahg.js} +9 -9
- package/dist/chunks/{file-retention-3ryz99p0.js → generate-qft8hb75.js} +7 -7
- package/dist/chunks/{file-retention-e684jnvx.js → generate-qgt3dwxm.js} +9 -9
- package/dist/chunks/{file-retention-saqfpqv7.js → generate-qj7q2t7b.js} +21 -21
- package/dist/chunks/{file-retention-atk704ss.js → generate-qjzfdart.js} +12 -12
- package/dist/chunks/{file-retention-8jwdpn38.js → generate-qnz30c4x.js} +19 -19
- package/dist/chunks/{file-retention-qp7r0hxv.js → generate-qp7r0hxv.js} +1 -1
- package/dist/chunks/{file-retention-t9vygg4h.js → generate-qtjq56z8.js} +16 -16
- package/dist/chunks/{file-retention-r0yr0wbs.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{file-retention-e0h4m4ge.js → generate-r20ydrt4.js} +4 -4
- package/dist/chunks/{file-retention-mc71x809.js → generate-r4dvsgaa.js} +4 -4
- package/dist/chunks/{file-retention-r542h3bh.js → generate-r542h3bh.js} +1 -1
- package/dist/chunks/{file-retention-5c35a5tr.js → generate-ra053bj0.js} +9 -9
- package/dist/chunks/{file-retention-rb9dy4dg.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{file-retention-f9nn1sjd.js → generate-rcv4y2hr.js} +21 -21
- package/dist/chunks/{file-retention-bjhzkqyk.js → generate-rrad2nt9.js} +4 -4
- package/dist/chunks/{file-retention-rt5dr6hb.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{file-retention-7yect7x1.js → generate-rxrz6b15.js} +2 -2
- package/dist/chunks/{file-retention-aw4q487d.js → generate-rzx2fdc9.js} +25 -25
- package/dist/chunks/{file-retention-vh7hpp0n.js → generate-s2zs9ezy.js} +11 -11
- package/dist/chunks/{file-retention-nbbcay66.js → generate-s67dn7c0.js} +11 -11
- package/dist/chunks/{file-retention-bewng5xt.js → generate-s7kbkgr5.js} +12 -12
- package/dist/chunks/{file-retention-qp0h8mz4.js → generate-s7wcbp6p.js} +33 -33
- package/dist/chunks/{file-retention-zw4pk1bw.js → generate-s857ash9.js} +5 -5
- package/dist/chunks/{file-retention-sa3fpqfw.js → generate-sa3fpqfw.js} +2 -2
- package/dist/chunks/{file-retention-79gnnek8.js → generate-sbse9r81.js} +12 -12
- package/dist/chunks/{file-retention-sqjzf8x2.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{file-retention-d2887f8n.js → generate-ssfehs1z.js} +4 -4
- package/dist/chunks/{file-retention-q2a1qg4p.js → generate-stzr70w7.js} +5 -5
- package/dist/chunks/{file-retention-svcy3p9a.js → generate-svcy3p9a.js} +1 -1
- package/dist/chunks/{file-retention-qjdvspq8.js → generate-t2wj15q2.js} +4 -4
- package/dist/chunks/{file-retention-va65z9ez.js → generate-t763r6q6.js} +9 -9
- package/dist/chunks/{file-retention-m8d78p9r.js → generate-tc7v1aj8.js} +3 -3
- package/dist/chunks/{file-retention-tczq8hjw.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{file-retention-xmt6n58z.js → generate-trfczban.js} +48 -48
- package/dist/chunks/{file-retention-twssxy5n.js → generate-twssxy5n.js} +2 -2
- package/dist/chunks/{file-retention-6mc65ctj.js → generate-v1cyqkdh.js} +24 -24
- package/dist/chunks/{file-retention-v2r1d0zg.js → generate-v2r1d0zg.js} +1 -1
- package/dist/chunks/{file-retention-wevd75am.js → generate-v4pzw4ea.js} +9 -9
- package/dist/chunks/{file-retention-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-00ensp01.js → generate-vpn990f9.js} +7 -7
- package/dist/chunks/{file-retention-8r9nj4s8.js → generate-vsnnaxjq.js} +4 -4
- package/dist/chunks/{file-retention-3gxdekad.js → generate-vyebj7xm.js} +5 -5
- package/dist/chunks/{file-retention-fng6wk28.js → generate-vyv3g1eh.js} +11 -11
- package/dist/chunks/{file-retention-yes5e36g.js → generate-w2d0d7v1.js} +13 -13
- package/dist/chunks/{file-retention-5enarcya.js → generate-w2eysc6j.js} +6 -6
- package/dist/chunks/{file-retention-9q8g9sv8.js → generate-w35wzz9x.js} +4 -4
- package/dist/chunks/{file-retention-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-8dnm6rqe.js → generate-w5k8ndhw.js} +35 -35
- package/dist/chunks/{file-retention-ed1jg8md.js → generate-w7m8a9sj.js} +32 -32
- package/dist/chunks/{file-retention-7hgt5e5w.js → generate-w84j477y.js} +3 -3
- package/dist/chunks/{file-retention-wcjz4gw8.js → generate-wa69088s.js} +15 -15
- package/dist/chunks/{file-retention-z6te0x2y.js → generate-wagm36fb.js} +30 -30
- package/dist/chunks/{file-retention-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{file-retention-epbqh0vp.js → generate-wby0kqsc.js} +4 -4
- package/dist/chunks/{file-retention-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-d6bett94.js → generate-wkz62ntz.js} +28 -28
- package/dist/chunks/{file-retention-wnhgecwx.js → generate-wnhgecwx.js} +1 -1
- package/dist/chunks/{file-retention-w687dnns.js → generate-wr3re1en.js} +4 -4
- package/dist/chunks/{file-retention-e486tjyp.js → generate-wwc0wvm8.js} +5 -5
- package/dist/chunks/{file-retention-dnphr175.js → generate-x0cjh2rw.js} +11 -11
- package/dist/chunks/{file-retention-284vr7mk.js → generate-x21tw6yf.js} +5 -5
- package/dist/chunks/{file-retention-ek5b82yj.js → generate-x5aby0mh.js} +36 -36
- package/dist/chunks/{file-retention-ptdgs7e1.js → generate-xd77wxb5.js} +14 -14
- package/dist/chunks/{file-retention-xkjzrxhz.js → generate-xh6s06j0.js} +17 -17
- package/dist/chunks/{file-retention-7c1hejwc.js → generate-xpfsdcm6.js} +37 -37
- package/dist/chunks/{file-retention-ksbsws88.js → generate-xsajkasw.js} +12 -12
- package/dist/chunks/{file-retention-4app0d5h.js → generate-xtbe8yyk.js} +22 -22
- package/dist/chunks/{file-retention-xaz3vqte.js → generate-y3x0evb5.js} +8 -8
- package/dist/chunks/{file-retention-2ny0ezjb.js → generate-y6t48rzr.js} +24 -24
- package/dist/chunks/{file-retention-v5h34zxn.js → generate-yadhmhsa.js} +6 -6
- package/dist/chunks/{file-retention-yara3q77.js → generate-yara3q77.js} +2 -2
- package/dist/chunks/{file-retention-yb20nhc3.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/generate-ygprdr8p.js +257 -0
- package/dist/chunks/{file-retention-858yc3fz.js → generate-ymvnz4e6.js} +17 -17
- package/dist/chunks/{file-retention-213ntr4e.js → generate-ypv1jkb1.js} +30 -30
- package/dist/chunks/{file-retention-01cw0x8c.js → generate-yxr9byb3.js} +32 -32
- package/dist/chunks/{file-retention-mxhqtbmm.js → generate-yzgm5439.js} +12 -12
- package/dist/chunks/{file-retention-2jznjq70.js → generate-z03xx0zs.js} +14 -14
- package/dist/chunks/{file-retention-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-xwfc5a9y.js → generate-z2qd981m.js} +30 -30
- package/dist/chunks/{file-retention-z38nccrw.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{file-retention-8h66evbt.js → generate-zcsbj68c.js} +30 -30
- package/dist/chunks/{file-retention-zgkm4kzm.js → generate-zgkm4kzm.js} +3 -3
- package/dist/chunks/{file-retention-8p9z5v1r.js → generate-zjcdctqk.js} +23 -23
- package/dist/chunks/{file-retention-17qfb74n.js → generate-zkhxg2te.js} +11 -11
- package/dist/chunks/{file-retention-qymv4vqy.js → generate-zp10wf5q.js} +6 -6
- package/dist/chunks/{file-retention-d0hcg7jd.js → generate-ztfb9jsa.js} +28 -28
- package/dist/chunks/{file-retention-abwhxwyy.js → generate-zzc7r4pv.js} +3 -3
- 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 +91 -91
- package/dist/config/discovery.js +92 -92
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +121 -121
- package/dist/config/plugin/command.js +219 -219
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +128 -128
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +121 -121
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +120 -120
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +100 -100
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -381
- 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 +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +100 -100
- 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/file-watch.js +83 -83
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +232 -232
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +107 -107
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +110 -110
- package/dist/form.js +90 -90
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- 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 +107 -107
- 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/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +372 -372
- package/dist/instruction-discovery.js +90 -90
- package/dist/instructions/builtins.js +95 -95
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +95 -95
- package/dist/job.js +82 -82
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +163 -163
- package/dist/location-lifecycle.js +142 -142
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -369
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +168 -168
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- package/dist/model-retry.js +1 -1
- package/dist/model.js +108 -108
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +139 -139
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +80 -80
- package/dist/plugin/command.js +108 -108
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +342 -342
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -124
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +128 -128
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -175
- package/dist/plugin/sdk.js +80 -80
- 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 +361 -361
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +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 +232 -232
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +98 -98
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +104 -104
- package/dist/reference/instructions.js +96 -96
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +228 -228
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +190 -190
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +85 -85
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +79 -79
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +219 -219
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- 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 +13 -13
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +143 -143
- package/dist/skill.js +150 -150
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +152 -152
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +226 -226
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +149 -149
- package/dist/tool/plugin/websearch.js +145 -145
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +108 -108
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +93 -93
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- 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/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +97 -97
- package/dist/voice.js +92 -92
- package/dist/websearch.js +90 -90
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +88 -88
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/file-retention-f8ma18fn.js +0 -18
- package/dist/chunks/file-retention-fb3r9cnw.js +0 -26
- package/dist/chunks/file-retention-p44nm9sv.js +0 -257
- package/dist/chunks/file-retention-sd7aqspp.js +0 -511
- /package/dist/chunks/{file-retention-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1jakw16s.js → generate-1jakw16s.js} +0 -0
- /package/dist/chunks/{file-retention-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4m86bj6y.js → generate-4m86bj6y.js} +0 -0
- /package/dist/chunks/{file-retention-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-5w3e23ze.js → generate-5w3e23ze.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-beh6qq61.js → generate-beh6qq61.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cqv5kn06.js → generate-cqv5kn06.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fkpq3x5p.js → generate-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jwr30sdr.js → generate-jwr30sdr.js} +0 -0
- /package/dist/chunks/{file-retention-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-ncqqe42p.js → generate-ncqqe42p.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-p71gwv9c.js → generate-p71gwv9c.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load6
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-ncqqe42p.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
14
|
Native: () => Native3,
|
|
15
|
-
Service: () =>
|
|
15
|
+
Service: () => Service64,
|
|
16
16
|
Test: () => Test3,
|
|
17
17
|
Watcher: () => exports_watcher,
|
|
18
18
|
configured: () => configured9,
|
|
19
19
|
hasNativeBinding: () => hasNativeBinding2,
|
|
20
|
-
layer: () =>
|
|
20
|
+
layer: () => layer22,
|
|
21
21
|
nativeLayer: () => nativeLayer2,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node67,
|
|
23
23
|
testLayer: () => testLayer3
|
|
24
24
|
});
|
|
25
25
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -49,14 +49,14 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
49
49
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
class
|
|
52
|
+
class Service64 extends Context.Service()("@opencode/Watcher") {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
56
56
|
}
|
|
57
|
-
var
|
|
57
|
+
var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
58
58
|
if (options?.enabled === false) {
|
|
59
|
-
return
|
|
59
|
+
return Service64.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
60
60
|
}
|
|
61
61
|
const native = yield* Native3;
|
|
62
62
|
const watchers = yield* RcMap.make({
|
|
@@ -97,7 +97,7 @@ var layer26 = (options) => Layer.effect(Service68, Effect.gen(function* () {
|
|
|
97
97
|
return Stream.fromSubscription(subscription);
|
|
98
98
|
}));
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service64.of({ subscribe });
|
|
101
101
|
}));
|
|
102
102
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
103
103
|
const subscriptions = [];
|
|
@@ -121,9 +121,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
121
121
|
};
|
|
122
122
|
})
|
|
123
123
|
});
|
|
124
|
-
const context = yield* Layer.build(
|
|
124
|
+
const context = yield* Layer.build(layer22().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
125
125
|
const test = Test3.of({
|
|
126
|
-
subscribe: Context.get(context,
|
|
126
|
+
subscribe: Context.get(context, Service64).subscribe,
|
|
127
127
|
emit: (update) => Effect.sync(() => {
|
|
128
128
|
const target = path.resolve(update.path);
|
|
129
129
|
active.forEach((matches, publish) => {
|
|
@@ -133,7 +133,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
133
133
|
}),
|
|
134
134
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
135
135
|
});
|
|
136
|
-
return Context.empty().pipe(Context.add(
|
|
136
|
+
return Context.empty().pipe(Context.add(Service64, test), Context.add(Test3, test));
|
|
137
137
|
}));
|
|
138
138
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
139
139
|
subscribe: (input) => {
|
|
@@ -156,9 +156,9 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
156
156
|
}));
|
|
157
157
|
var nativeNode = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
158
158
|
function configured9(options) {
|
|
159
|
-
return makeGlobalNode({ service:
|
|
159
|
+
return makeGlobalNode({ service: Service64, layer: layer22(options), deps: [nativeNode] });
|
|
160
160
|
}
|
|
161
|
-
var
|
|
161
|
+
var node67 = configured9();
|
|
162
162
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
163
163
|
if (!native || !backend) {
|
|
164
164
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -178,4 +178,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
178
178
|
}).pipe(Effect.as(undefined))));
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export { hasNativeBinding2, Native3,
|
|
181
|
+
export { hasNativeBinding2, Native3, Service64, Test3, layer22, testLayer3, nativeLayer2, configured9, node67, exports_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveModel2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-drvbhkez.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/identity.ts
|
|
9
9
|
var exports_identity = {};
|
|
10
10
|
__export(exports_identity, {
|
|
11
11
|
IdentityPlugin: () => exports_identity,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin48,
|
|
13
13
|
identity: () => identity2
|
|
14
14
|
});
|
|
15
15
|
import { SystemPart } from "@opencode/ai/effect";
|
|
@@ -24,7 +24,7 @@ function identity2(model) {
|
|
|
24
24
|
].join(`
|
|
25
25
|
`);
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var Plugin48 = define({
|
|
28
28
|
id: "opencode.prompt.identity",
|
|
29
29
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -37,4 +37,4 @@ var Plugin28 = define({
|
|
|
37
37
|
})
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
export { identity2,
|
|
40
|
+
export { identity2, Plugin48, exports_identity };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/skill/discovery.ts
|
|
9
9
|
var exports_discovery = {};
|
|
10
10
|
__export(exports_discovery, {
|
|
11
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";
|
|
@@ -150,6 +150,6 @@ var layer = Layer.effect(Service8, 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 { Service8,
|
|
155
|
+
export { Service8, node10, exports_discovery };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-4320fn7v.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-bdgvvtkj.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
9
|
Event18
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-ffwhmgh9.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID16,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-ztfb9jsa.js";
|
|
15
15
|
import {
|
|
16
16
|
success2,
|
|
17
17
|
error2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./generate-yb20nhc3.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
20
|
+
ID11,
|
|
21
21
|
mergeOverlay2,
|
|
22
22
|
mergeHeaders2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-wagm36fb.js";
|
|
24
24
|
import {
|
|
25
25
|
get5
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-3nnrz6f6.js";
|
|
27
27
|
import {
|
|
28
28
|
configuredSettings2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./generate-zp10wf5q.js";
|
|
30
30
|
|
|
31
31
|
// src/plugin/provider/openai.ts
|
|
32
32
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -49,7 +49,7 @@ var Claims = Schema.fromJsonString(Schema.Struct({
|
|
|
49
49
|
}));
|
|
50
50
|
var decodeClaims = Schema.decodeUnknownOption(Claims);
|
|
51
51
|
var browser = (app) => ({
|
|
52
|
-
integrationID:
|
|
52
|
+
integrationID: ID16.make("openai"),
|
|
53
53
|
method: {
|
|
54
54
|
id: browserMethodID,
|
|
55
55
|
type: "oauth",
|
|
@@ -122,7 +122,7 @@ function addressInUse(error) {
|
|
|
122
122
|
return "code" in error && error.code === "EADDRINUSE";
|
|
123
123
|
}
|
|
124
124
|
var headless = (app) => ({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID16.make("openai"),
|
|
126
126
|
method: {
|
|
127
127
|
id: headlessMethodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -164,7 +164,7 @@ var headless = (app) => ({
|
|
|
164
164
|
}),
|
|
165
165
|
refresh: (value) => refresh(headlessMethodID, value, app)
|
|
166
166
|
});
|
|
167
|
-
var
|
|
167
|
+
var OpenAIPlugin2 = define({
|
|
168
168
|
id: "opencode.provider.openai",
|
|
169
169
|
effect: Effect.fn(function* (ctx) {
|
|
170
170
|
const bus = yield* Service85;
|
|
@@ -182,9 +182,9 @@ var OpenAIPlugin3 = define({
|
|
|
182
182
|
editor.method.update(headless(ctx.app));
|
|
183
183
|
});
|
|
184
184
|
yield* load();
|
|
185
|
-
const configured = yield* configuredSettings2(
|
|
185
|
+
const configured = yield* configuredSettings2(ID11.openai);
|
|
186
186
|
yield* ctx.provider.transform((providers) => {
|
|
187
|
-
const item = providers.get(
|
|
187
|
+
const item = providers.get(ID11.openai);
|
|
188
188
|
if (!item)
|
|
189
189
|
return;
|
|
190
190
|
const account = chatgpt?.metadata?.accountID;
|
|
@@ -204,7 +204,7 @@ var OpenAIPlugin3 = define({
|
|
|
204
204
|
});
|
|
205
205
|
});
|
|
206
206
|
yield* ctx.model.transform((models) => {
|
|
207
|
-
for (const model of models.list(
|
|
207
|
+
for (const model of models.list(ID11.openai)) {
|
|
208
208
|
models.update(model.providerID, model.id, (draft) => {
|
|
209
209
|
if (!chatgpt)
|
|
210
210
|
return;
|
|
@@ -234,14 +234,14 @@ var OpenAIPlugin3 = define({
|
|
|
234
234
|
}));
|
|
235
235
|
evt.headers.originator = "opencode";
|
|
236
236
|
evt.headers["session-id"] = session ? get5(session) : evt.sessionID;
|
|
237
|
-
}), { providerID:
|
|
237
|
+
}), { providerID: ID11.openai });
|
|
238
238
|
const omitOutputLimit = (evt) => Effect.sync(() => {
|
|
239
239
|
delete evt.options.maxTokens;
|
|
240
240
|
});
|
|
241
241
|
for (const name of ["context", "compaction"])
|
|
242
|
-
yield* ctx.session.hook(name, omitOutputLimit, { providerID:
|
|
242
|
+
yield* ctx.session.hook(name, omitOutputLimit, { providerID: ID11.openai });
|
|
243
243
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
244
|
-
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
244
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("openai")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
245
245
|
})
|
|
246
246
|
});
|
|
247
247
|
function headers(contentType, app) {
|
|
@@ -332,4 +332,4 @@ function claim(token) {
|
|
|
332
332
|
return claims.chatgpt_account_id ?? claims["https://api.openai.com/auth"]?.chatgpt_account_id ?? claims.organizations?.[0]?.id;
|
|
333
333
|
}
|
|
334
334
|
|
|
335
|
-
export {
|
|
335
|
+
export { OpenAIPlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-034tev2y.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bdgvvtkj.js";
|
|
5
5
|
import {
|
|
6
6
|
changes2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/command.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
Command: () =>
|
|
17
|
-
Event: () =>
|
|
14
|
+
var exports_command5 = {};
|
|
15
|
+
__export(exports_command5, {
|
|
16
|
+
Command: () => exports_command5,
|
|
17
|
+
Event: () => Event20,
|
|
18
18
|
ExecutionError: () => ExecutionError2,
|
|
19
|
-
Info: () =>
|
|
20
|
-
NotFoundError: () =>
|
|
21
|
-
Service: () =>
|
|
22
|
-
layer: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
Info: () => Info30,
|
|
20
|
+
NotFoundError: () => NotFoundError12,
|
|
21
|
+
Service: () => Service84,
|
|
22
|
+
layer: () => layer27,
|
|
23
|
+
node: () => node88
|
|
24
24
|
});
|
|
25
25
|
import { Command } from "@opencode/schema/command";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
|
-
import { Event as
|
|
29
|
-
var
|
|
28
|
+
import { Event as Event20 } from "@opencode/schema/command";
|
|
29
|
+
var Info30 = Command.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class NotFoundError12 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
32
32
|
command: Schema.String,
|
|
33
33
|
message: Schema.String
|
|
34
34
|
}) {
|
|
@@ -40,11 +40,11 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service84 extends Context.Service()("@opencode/Command") {
|
|
44
44
|
}
|
|
45
|
-
var
|
|
45
|
+
var layer27 = Layer.effect(Service84, Effect.gen(function* () {
|
|
46
46
|
const bus = yield* Service85;
|
|
47
|
-
const info = (definition) =>
|
|
47
|
+
const info = (definition) => Info30.make({
|
|
48
48
|
name: definition.name,
|
|
49
49
|
description: definition.description
|
|
50
50
|
});
|
|
@@ -56,7 +56,7 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
56
56
|
}),
|
|
57
57
|
notify: changes2((commands) => Array.from(commands.values(), info), () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid))
|
|
58
58
|
});
|
|
59
|
-
return
|
|
59
|
+
return Service84.of({
|
|
60
60
|
reload: state.reload,
|
|
61
61
|
transform: state.transform,
|
|
62
62
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -67,14 +67,14 @@ var layer16 = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
67
67
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
68
68
|
const definition = state.get().get(input.name);
|
|
69
69
|
if (!definition)
|
|
70
|
-
return yield* new
|
|
70
|
+
return yield* new NotFoundError12({ command: input.name, message: `Command not found: ${input.name}` });
|
|
71
71
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
72
72
|
})
|
|
73
73
|
});
|
|
74
74
|
}));
|
|
75
|
-
var
|
|
76
|
-
service:
|
|
77
|
-
layer:
|
|
75
|
+
var node88 = makeLocationNode({
|
|
76
|
+
service: Service84,
|
|
77
|
+
layer: layer27,
|
|
78
78
|
deps: [node89]
|
|
79
79
|
});
|
|
80
80
|
function errorMessage(error) {
|
|
@@ -87,4 +87,4 @@ function errorMessage(error) {
|
|
|
87
87
|
return "Command execution failed";
|
|
88
88
|
}
|
|
89
89
|
|
|
90
|
-
export {
|
|
90
|
+
export { Info30, NotFoundError12, ExecutionError2, Service84, layer27, node88, exports_command5, Event20 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service81,
|
|
4
|
+
node85
|
|
5
|
+
} from "./generate-ztfb9jsa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID11,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -15,24 +15,24 @@ import {
|
|
|
15
15
|
encoding2,
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service73,
|
|
19
|
+
node77
|
|
20
|
+
} from "./generate-wagm36fb.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node75
|
|
24
|
+
} from "./generate-xsajkasw.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID10,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service72,
|
|
30
|
+
node76,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./generate-7c4ttkny.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./generate-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service70,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node74,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
|
|
|
67
67
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
68
68
|
import { Npm } from "@opencode/util/npm";
|
|
69
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID11,
|
|
71
|
+
modelID: ID10,
|
|
72
72
|
variant: VariantID2
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
80
|
-
providerID:
|
|
81
|
-
modelID:
|
|
80
|
+
providerID: ID11,
|
|
81
|
+
modelID: ID10,
|
|
82
82
|
package: Schema.String
|
|
83
83
|
}) {
|
|
84
84
|
get message() {
|
|
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
89
89
|
|
|
90
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
91
|
-
providerID:
|
|
92
|
-
modelID:
|
|
91
|
+
providerID: ID11,
|
|
92
|
+
modelID: ID10,
|
|
93
93
|
package: Schema.String,
|
|
94
94
|
detail: Schema.String
|
|
95
95
|
}) {
|
|
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID11,
|
|
103
|
+
modelID: ID10,
|
|
104
104
|
package: Schema.String,
|
|
105
105
|
phase: InitializationPhase2,
|
|
106
106
|
detail: Schema.String
|
|
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID11,
|
|
115
|
+
modelID: ID10,
|
|
116
116
|
variables: Schema.Array(Schema.String)
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
124
|
-
providerID:
|
|
125
|
-
modelID:
|
|
124
|
+
providerID: ID11,
|
|
125
|
+
modelID: ID10,
|
|
126
126
|
route: Schema.String
|
|
127
127
|
}) {
|
|
128
128
|
get message() {
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service70 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,7 +265,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
265
265
|
return tokenSettings(specifier, credential.access);
|
|
266
266
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
267
267
|
return { auth: "sigv4" };
|
|
268
|
-
if (model.providerID ===
|
|
268
|
+
if (model.providerID === ID11.azure)
|
|
269
269
|
return tokenSettings(specifier, "azure-cli");
|
|
270
270
|
return {};
|
|
271
271
|
};
|
|
@@ -300,19 +300,19 @@ var causeMessage = (cause) => {
|
|
|
300
300
|
};
|
|
301
301
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
302
302
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
303
|
-
var
|
|
304
|
-
const providers = yield*
|
|
305
|
-
const models = yield*
|
|
306
|
-
const integrations = yield*
|
|
303
|
+
var layer24 = Layer.effect(Service70, Effect.gen(function* () {
|
|
304
|
+
const providers = yield* Service73;
|
|
305
|
+
const models = yield* Service72;
|
|
306
|
+
const integrations = yield* Service81;
|
|
307
307
|
const npm = yield* Npm.Service;
|
|
308
|
-
const aisdk = yield*
|
|
308
|
+
const aisdk = yield* Service71;
|
|
309
309
|
const dependencies = {
|
|
310
310
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
311
311
|
loadAISDK: (model) => aisdk.model(model)
|
|
312
312
|
};
|
|
313
313
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
314
314
|
const provider = yield* providers.get(selected.providerID);
|
|
315
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
315
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
316
316
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
317
317
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
318
318
|
const runtimeInfo = {
|
|
@@ -348,7 +348,7 @@ var layer23 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
348
348
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
349
349
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
350
350
|
});
|
|
351
|
-
return
|
|
351
|
+
return Service70.of({
|
|
352
352
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
353
353
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
354
354
|
if (!selected)
|
|
@@ -371,10 +371,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
371
371
|
const name = packageName2(packageName);
|
|
372
372
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
373
373
|
}
|
|
374
|
-
var
|
|
375
|
-
service:
|
|
376
|
-
layer:
|
|
377
|
-
deps: [
|
|
374
|
+
var node74 = makeLocationNode({
|
|
375
|
+
service: Service70,
|
|
376
|
+
layer: layer24,
|
|
377
|
+
deps: [node77, node76, node85, Npm.node, node75]
|
|
378
378
|
});
|
|
379
379
|
|
|
380
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
380
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service70, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node74, exports_model_resolver };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service67,
|
|
3
|
+
node70,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-x0cjh2rw.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./generate-q85rya1m.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service15
|
|
12
|
+
} from "./generate-7q0gn4vw.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-ygprdr8p.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option, Scope } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service67, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -58,11 +58,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
58
58
|
}).pipe(Effect.uninterruptible)
|
|
59
59
|
};
|
|
60
60
|
const bindings = [
|
|
61
|
-
|
|
61
|
+
node59.replace(Layer.succeed(Service56, {
|
|
62
62
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
63
63
|
})),
|
|
64
64
|
...replacements,
|
|
65
|
-
|
|
65
|
+
node70.replace(Layer.succeed(Service67, map))
|
|
66
66
|
];
|
|
67
67
|
return map;
|
|
68
68
|
}));
|