@opencode/core 0.0.0-dev-866 → 0.0.0-dev-868
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 +92 -92
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +7 -7
- package/dist/artifact.js +246 -246
- package/dist/bus.js +84 -84
- package/dist/chunks/{app-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{app-v438kgpn.js → snapshot-035wadpx.js} +7 -7
- package/dist/chunks/{app-a3zfr4j3.js → snapshot-088br6wp.js} +95 -95
- package/dist/chunks/{app-0j7gp832.js → snapshot-0j7gp832.js} +1 -1
- package/dist/chunks/{app-4tqs0jzk.js → snapshot-0m9q59s6.js} +4 -4
- package/dist/chunks/{app-0ma9gw4f.js → snapshot-0ma9gw4f.js} +2 -2
- package/dist/chunks/{app-g8vemvpr.js → snapshot-0pescjbw.js} +6 -6
- package/dist/chunks/{app-c58xpsve.js → snapshot-0qet6x0b.js} +18 -18
- package/dist/chunks/{app-1mx2eryv.js → snapshot-12g9ep21.js} +5 -5
- package/dist/chunks/{app-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{app-q8z400jv.js → snapshot-1bnkpzt2.js} +16 -16
- package/dist/chunks/{app-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{app-kkhkawag.js → snapshot-1hfq9fve.js} +23 -23
- package/dist/chunks/{app-3kcm2830.js → snapshot-1ks4j342.js} +23 -23
- package/dist/chunks/{app-dbt02ggk.js → snapshot-1nscgprg.js} +17 -17
- package/dist/chunks/{app-n8szhp98.js → snapshot-1p678q4d.js} +5 -5
- package/dist/chunks/snapshot-1q9t4rk2.js +265 -0
- package/dist/chunks/{app-c8byw41x.js → snapshot-1sh7enc5.js} +7 -7
- package/dist/chunks/{app-7kfqqyw7.js → snapshot-1t74fvtg.js} +17 -17
- package/dist/chunks/{app-0h86f0az.js → snapshot-1v2g13eq.js} +4 -4
- package/dist/chunks/{app-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{app-bdhd9h6e.js → snapshot-1yq9hg58.js} +5 -5
- package/dist/chunks/{app-9wvz1eem.js → snapshot-219b6etg.js} +7 -7
- package/dist/chunks/{app-m4d2nzq9.js → snapshot-28wrrn1m.js} +15 -15
- package/dist/chunks/{app-1t01kk4j.js → snapshot-295ae9x1.js} +49 -49
- package/dist/chunks/{app-dym13cqb.js → snapshot-2979vk1j.js} +7 -7
- package/dist/chunks/{app-54343y5j.js → snapshot-2bepgp7e.js} +37 -37
- package/dist/chunks/{app-xeqcwbb1.js → snapshot-2cs2hpbg.js} +8 -8
- package/dist/chunks/{app-2fc7eemy.js → snapshot-2fc7eemy.js} +1 -1
- package/dist/chunks/{app-6dvdd58f.js → snapshot-2fh00ww0.js} +26 -26
- package/dist/chunks/{app-2dazdy8q.js → snapshot-2ftfp5e7.js} +19 -19
- package/dist/chunks/{app-8xs38zrz.js → snapshot-2g1mk09r.js} +32 -32
- package/dist/chunks/{app-jdyw58pc.js → snapshot-2mknpsr3.js} +11 -11
- package/dist/chunks/{app-ghzesgm0.js → snapshot-2mr5qzhg.js} +12 -12
- package/dist/chunks/{app-s1ba0vj0.js → snapshot-2p60zmnr.js} +2 -2
- package/dist/chunks/{app-vx3h7ncr.js → snapshot-2ppj5nzq.js} +12 -12
- package/dist/chunks/{app-4a1bsse2.js → snapshot-2sjxvgba.js} +31 -31
- package/dist/chunks/{app-hcarxwt6.js → snapshot-2w4yrr4a.js} +12 -12
- package/dist/chunks/{app-rhdpxs4g.js → snapshot-30y2gndb.js} +50 -50
- package/dist/chunks/{app-89v4gcq0.js → snapshot-32nvcaq2.js} +62 -62
- package/dist/chunks/{app-hea1kntq.js → snapshot-39ac3w94.js} +52 -52
- package/dist/chunks/{app-kqx9sd1g.js → snapshot-3a8ns0zq.js} +6 -6
- package/dist/chunks/{app-qw6ycq2q.js → snapshot-3af2mba5.js} +20 -20
- package/dist/chunks/{app-crfddmzc.js → snapshot-3c7qpzd7.js} +8 -8
- package/dist/chunks/{app-g0z4ab8d.js → snapshot-3eg29w99.js} +3 -3
- package/dist/chunks/{app-9sqcrf5j.js → snapshot-3gp53t3k.js} +5 -5
- package/dist/chunks/{app-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-0td62vrc.js → snapshot-3jwq9gv1.js} +4 -4
- package/dist/chunks/{app-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{app-85qazkq3.js → snapshot-3nq0hqd3.js} +36 -36
- package/dist/chunks/{app-3bb3t52k.js → snapshot-3vs65hyy.js} +45 -45
- package/dist/chunks/{app-40y6dtc2.js → snapshot-40y6dtc2.js} +1 -1
- package/dist/chunks/{app-dybg4e31.js → snapshot-41mpagv6.js} +16 -16
- package/dist/chunks/{app-jxd6f16v.js → snapshot-44pmzq9c.js} +2 -2
- package/dist/chunks/{app-0zxwjjy8.js → snapshot-4ckwpsmh.js} +9 -9
- package/dist/chunks/{app-bydtxxnp.js → snapshot-4cvt29bt.js} +5 -5
- package/dist/chunks/{app-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{app-yfsprgt0.js → snapshot-4phcvk1y.js} +4 -4
- package/dist/chunks/{app-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{app-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{app-gbfz77mr.js → snapshot-4y4cf8wz.js} +9 -9
- package/dist/chunks/{app-bqpcmddk.js → snapshot-514yakp4.js} +11 -11
- package/dist/chunks/{app-jc5rsrcn.js → snapshot-53wy7vxc.js} +59 -59
- package/dist/chunks/{app-7kpbg2aa.js → snapshot-56as7762.js} +8 -8
- package/dist/chunks/{app-mjy0srta.js → snapshot-57wqsdrt.js} +51 -51
- package/dist/chunks/{app-q2ta3wde.js → snapshot-5brtgjjt.js} +20 -20
- package/dist/chunks/{app-w2eysc6j.js → snapshot-5enarcya.js} +6 -6
- package/dist/chunks/{app-w51bkrec.js → snapshot-5fqnaw5p.js} +11 -11
- package/dist/chunks/{app-07qftpy8.js → snapshot-5j7h9397.js} +8 -8
- package/dist/chunks/{app-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-shd882k7.js → snapshot-5s5vgr80.js} +24 -24
- package/dist/chunks/{app-b9xs4a5z.js → snapshot-5yngc1wr.js} +24 -24
- package/dist/chunks/{app-8p61t035.js → snapshot-60y6nkxd.js} +13 -13
- package/dist/chunks/{app-qpez83hf.js → snapshot-61axe90w.js} +19 -19
- package/dist/chunks/{app-jj6jmfhb.js → snapshot-630m7pj6.js} +34 -34
- package/dist/chunks/{app-2cbzz2wz.js → snapshot-66na5r0d.js} +9 -9
- package/dist/chunks/{app-80fbtbvc.js → snapshot-6ac62k7f.js} +12 -12
- package/dist/chunks/{app-5rmxcyay.js → snapshot-6kw57h51.js} +21 -21
- package/dist/chunks/{app-5jqez3qr.js → snapshot-6svaq6b9.js} +6 -6
- package/dist/chunks/{app-stgep1s4.js → snapshot-6t094yfw.js} +20 -20
- package/dist/chunks/{app-8kbqc0zy.js → snapshot-6x3t4g80.js} +15 -15
- package/dist/chunks/{app-70fqes6w.js → snapshot-6ynbhw2q.js} +11 -11
- package/dist/chunks/{app-9zpzx956.js → snapshot-6zqadtmn.js} +17 -17
- package/dist/chunks/{app-m855h7n6.js → snapshot-7365qrej.js} +31 -31
- package/dist/chunks/{app-nq1mg43n.js → snapshot-73ff1310.js} +3 -3
- package/dist/chunks/{app-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-rrrnphmw.js → snapshot-7k59hanr.js} +11 -11
- package/dist/chunks/{app-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{app-7weczvnd.js → snapshot-7weczvnd.js} +1 -1
- package/dist/chunks/{app-ajjfyzbj.js → snapshot-7y45ev2d.js} +19 -19
- package/dist/chunks/{app-80mg3ag8.js → snapshot-80mg3ag8.js} +3 -3
- package/dist/chunks/{app-asqhzk9v.js → snapshot-82f9t22n.js} +9 -9
- package/dist/chunks/{app-sp9ng963.js → snapshot-85scycxr.js} +8 -8
- package/dist/chunks/{app-89287pr7.js → snapshot-89287pr7.js} +1 -1
- package/dist/chunks/{app-8b3vzgkx.js → snapshot-8b3vzgkx.js} +1 -1
- package/dist/chunks/{app-8cg7mtm3.js → snapshot-8cg7mtm3.js} +1 -1
- package/dist/chunks/{app-syvxybzv.js → snapshot-8ect0trh.js} +5 -5
- package/dist/chunks/{app-9nzwtps0.js → snapshot-8fz1x9j8.js} +37 -37
- package/dist/chunks/{app-p6j04w1a.js → snapshot-8k1jcam5.js} +11 -11
- package/dist/chunks/{app-39sgvy3e.js → snapshot-8rapdqzr.js} +4 -4
- package/dist/chunks/{app-2e06f144.js → snapshot-8rxw6a8z.js} +7 -7
- package/dist/chunks/{app-p4envqb4.js → snapshot-8se009dh.js} +11 -11
- package/dist/chunks/{app-8sxe6kv8.js → snapshot-8sxe6kv8.js} +2 -2
- package/dist/chunks/{app-8t99kr38.js → snapshot-8t99kr38.js} +1 -1
- package/dist/chunks/{app-4359d08z.js → snapshot-8wb5jf1p.js} +16 -16
- package/dist/chunks/{app-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{app-8zv0xmg5.js → snapshot-8zv0xmg5.js} +1 -1
- package/dist/chunks/{app-40cqa2b9.js → snapshot-96bbnxrb.js} +8 -8
- package/dist/chunks/{app-b9ka3sag.js → snapshot-9k944tgw.js} +13 -13
- package/dist/chunks/{app-7mrx4905.js → snapshot-9mghsk5q.js} +31 -31
- package/dist/chunks/{app-s7kyse9r.js → snapshot-9q8g9sv8.js} +4 -4
- package/dist/chunks/{app-85s4zzh5.js → snapshot-9rfz62qx.js} +375 -375
- package/dist/chunks/{app-8qdr79jy.js → snapshot-9zgswtxa.js} +11 -11
- package/dist/chunks/{app-mk17gwxn.js → snapshot-a0gpt8d0.js} +10 -10
- package/dist/chunks/{app-fmrnkbz2.js → snapshot-a7z42e3s.js} +38 -38
- package/dist/chunks/{app-k2re1703.js → snapshot-aeahzzfw.js} +30 -30
- package/dist/chunks/{app-y072xj7s.js → snapshot-asww192w.js} +13 -13
- package/dist/chunks/{app-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{app-xvn8mnch.js → snapshot-azqdag7d.js} +4 -4
- package/dist/chunks/{app-g4txs7zc.js → snapshot-b26ddj6h.js} +4 -4
- package/dist/chunks/{app-krfwvjdx.js → snapshot-b8n5ynpe.js} +24 -24
- package/dist/chunks/{app-pwa9mxgx.js → snapshot-bbe1kp6g.js} +53 -53
- package/dist/chunks/{app-7ek5hbjf.js → snapshot-bknnzf62.js} +18 -18
- package/dist/chunks/{app-ky3q339z.js → snapshot-bq08wdkr.js} +9 -9
- package/dist/chunks/{app-d10q1hsx.js → snapshot-bx0r5t3m.js} +18 -18
- package/dist/chunks/{app-by8ty0bx.js → snapshot-by8ty0bx.js} +1 -1
- package/dist/chunks/{app-0y0akqtw.js → snapshot-bymhnadt.js} +28 -28
- package/dist/chunks/{app-jcypmm1x.js → snapshot-byrm4knd.js} +10 -10
- package/dist/chunks/{app-vps9r3d1.js → snapshot-ckmvzp96.js} +23 -23
- package/dist/chunks/{app-2cvveb6c.js → snapshot-cmnz9dfe.js} +22 -22
- package/dist/chunks/{app-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{app-8hfctyyf.js → snapshot-cxab28sr.js} +7 -7
- package/dist/chunks/{app-mjt6gwd5.js → snapshot-d4qscnvf.js} +26 -26
- package/dist/chunks/{app-z3pargyd.js → snapshot-d4ta7rkx.js} +21 -21
- package/dist/chunks/{app-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{app-4kzgqyeb.js → snapshot-dmkewg4q.js} +35 -35
- package/dist/chunks/{app-a5xqeve3.js → snapshot-dn0g7sew.js} +21 -21
- package/dist/chunks/{app-gvwz21ng.js → snapshot-dn7mn5ny.js} +1 -1
- package/dist/chunks/{app-sd6y47b0.js → snapshot-dnjd9zrp.js} +39 -39
- package/dist/chunks/{app-wskpnz4s.js → snapshot-dprrv77t.js} +29 -29
- package/dist/chunks/{app-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{app-yxx7fna2.js → snapshot-dzazj0k8.js} +9 -9
- package/dist/chunks/{app-hwt6ga5j.js → snapshot-e2gkg7vd.js} +28 -28
- package/dist/chunks/{app-z6sr2xjy.js → snapshot-e7vv2re3.js} +10 -10
- package/dist/chunks/{app-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{app-nw4e3w0z.js → snapshot-e9p425tq.js} +8 -8
- package/dist/chunks/{app-qtsvx505.js → snapshot-eb2pkeh6.js} +15 -15
- package/dist/chunks/{app-mze8s00b.js → snapshot-efxwzafa.js} +12 -12
- package/dist/chunks/{app-zd3hxx2n.js → snapshot-enkpkfwx.js} +8 -8
- package/dist/chunks/{app-zwfwm2ww.js → snapshot-ep1p88tq.js} +43 -43
- package/dist/chunks/{app-eqw4pqj1.js → snapshot-eqw4pqj1.js} +2 -2
- package/dist/chunks/{app-0zea0f0q.js → snapshot-et6sct6b.js} +16 -16
- package/dist/chunks/{app-5asgddgx.js → snapshot-f80thpwy.js} +6 -6
- package/dist/chunks/{app-fbd24fg3.js → snapshot-fc1k9s97.js} +4 -4
- package/dist/chunks/{app-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{app-49nbt9bc.js → snapshot-fqa0v964.js} +3 -3
- package/dist/chunks/{app-34xj0nhf.js → snapshot-fr1mmx5p.js} +9 -9
- package/dist/chunks/{app-pmc4955j.js → snapshot-fyfzbt3s.js} +3 -3
- package/dist/chunks/{app-rp2t9gtb.js → snapshot-fyprt7ne.js} +21 -21
- package/dist/chunks/{app-nxv4jfy1.js → snapshot-g4qkj14d.js} +30 -30
- package/dist/chunks/{app-1hpvhwmz.js → snapshot-g9j01vfy.js} +25 -25
- package/dist/chunks/{app-gbjdnr5j.js → snapshot-gbjdnr5j.js} +2 -2
- package/dist/chunks/{app-ghrv1g9c.js → snapshot-ghrv1g9c.js} +1 -1
- package/dist/chunks/{app-g8b9rg46.js → snapshot-gnkmn8c6.js} +1 -1
- package/dist/chunks/{app-7wxqkew6.js → snapshot-gs87fjen.js} +7 -7
- package/dist/chunks/{app-0dw9wa5t.js → snapshot-gt8yp5s4.js} +31 -31
- package/dist/chunks/{app-tg7s7b5t.js → snapshot-gxs71cxp.js} +4 -4
- package/dist/chunks/{app-t26sv9pb.js → snapshot-h2wtet1n.js} +18 -18
- package/dist/chunks/{app-zywnc2je.js → snapshot-h33mqax3.js} +25 -25
- package/dist/chunks/{app-w2peg748.js → snapshot-h8vrv133.js} +11 -11
- package/dist/chunks/{app-n5mcddpy.js → snapshot-hajwptme.js} +32 -32
- package/dist/chunks/{app-9ta71xea.js → snapshot-hawebzt1.js} +12 -12
- package/dist/chunks/{app-3gp512zg.js → snapshot-hcwz4r95.js} +6 -6
- package/dist/chunks/{app-b9jf9p90.js → snapshot-hfqyadmy.js} +30 -30
- package/dist/chunks/{app-hgzwgvze.js → snapshot-hgzwgvze.js} +2 -2
- package/dist/chunks/{app-g4vp3edc.js → snapshot-hr8h2z9v.js} +29 -29
- package/dist/chunks/{app-6t587bnv.js → snapshot-ht8v4edy.js} +18 -18
- package/dist/chunks/{app-e86gre6v.js → snapshot-jd7kwnag.js} +23 -23
- package/dist/chunks/{app-qsdghx1p.js → snapshot-jg11hrrc.js} +4 -4
- package/dist/chunks/{app-ye0pz4xr.js → snapshot-jjfmry33.js} +8 -8
- package/dist/chunks/{app-s26c8eb5.js → snapshot-jkdcm5hg.js} +4 -4
- package/dist/chunks/{app-jm70asfg.js → snapshot-jm70asfg.js} +1 -1
- package/dist/chunks/{app-0m2r4gac.js → snapshot-jpwdyfrn.js} +3 -3
- package/dist/chunks/{app-b70b4s0v.js → snapshot-js5wq0dg.js} +46 -46
- package/dist/chunks/snapshot-k2zk2wsm.js +26 -0
- package/dist/chunks/{app-kxpa0y06.js → snapshot-k3b2zed8.js} +2 -2
- package/dist/chunks/{app-vmqe41cb.js → snapshot-k46dd5bg.js} +4 -4
- package/dist/chunks/{app-he4hrj0s.js → snapshot-k7yqc6fx.js} +18 -18
- package/dist/chunks/{app-nv9tsjma.js → snapshot-ka01146j.js} +6 -6
- package/dist/chunks/{app-694dpcrp.js → snapshot-kbtcw8xz.js} +4 -4
- package/dist/chunks/{app-hmd59gaw.js → snapshot-kc65v90j.js} +17 -17
- package/dist/chunks/{app-mbcswmah.js → snapshot-kmgpjap8.js} +9 -9
- package/dist/chunks/{app-2mbh2fc0.js → snapshot-kpar2yww.js} +5 -5
- package/dist/chunks/{app-y40jp0bf.js → snapshot-kt6mnc23.js} +12 -12
- package/dist/chunks/{app-g6w2nqpd.js → snapshot-kvx0j822.js} +9 -9
- package/dist/chunks/{app-kzczzf4v.js → snapshot-kzczzf4v.js} +1 -1
- package/dist/chunks/{app-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{app-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
- package/dist/chunks/{app-en6j34zv.js → snapshot-mbv6mwvq.js} +22 -22
- package/dist/chunks/snapshot-me0dhgxs.js +18 -0
- package/dist/chunks/{app-q0m643e1.js → snapshot-mjwp963m.js} +5 -5
- package/dist/chunks/{app-mm06edep.js → snapshot-mm06edep.js} +1 -1
- package/dist/chunks/{app-x3c9tvtc.js → snapshot-mmzs51g0.js} +4 -4
- package/dist/chunks/{app-ajtb7yxh.js → snapshot-mqts9s50.js} +25 -25
- package/dist/chunks/{app-xcv3pz7p.js → snapshot-mx99e4e0.js} +6 -6
- package/dist/chunks/{app-8naqgg6z.js → snapshot-myhv78j0.js} +12 -12
- package/dist/chunks/{app-b531v95q.js → snapshot-n0xkwhyy.js} +15 -15
- package/dist/chunks/{app-apg463ge.js → snapshot-n1n5z8vk.js} +26 -26
- package/dist/chunks/{app-abwsasjc.js → snapshot-n8dj1vhf.js} +13 -13
- package/dist/chunks/{app-ktm8ztk8.js → snapshot-njsq8t5a.js} +13 -13
- package/dist/chunks/{app-dr5wk49j.js → snapshot-nn60rr9d.js} +18 -18
- package/dist/chunks/{app-kwy7nha9.js → snapshot-npcmzr5b.js} +5 -5
- package/dist/chunks/{app-nt907s04.js → snapshot-nt907s04.js} +3 -3
- package/dist/chunks/{app-hg8gbhbz.js → snapshot-nvzm05vt.js} +44 -44
- package/dist/chunks/{app-d5mrg4jf.js → snapshot-nykt9t0z.js} +36 -36
- package/dist/chunks/{app-wvr8xscb.js → snapshot-nyxvvj5y.js} +4 -4
- package/dist/chunks/{app-e7q9yknv.js → snapshot-p22bebpc.js} +28 -28
- package/dist/chunks/{app-r7zrbnjn.js → snapshot-p94p4v4n.js} +4 -4
- package/dist/chunks/{app-1btty59y.js → snapshot-pa2edbxf.js} +36 -36
- package/dist/chunks/{app-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{app-8ykqf5wm.js → snapshot-pnwsrq7c.js} +8 -8
- package/dist/chunks/{app-j22cwyg3.js → snapshot-pr9p0dy2.js} +195 -195
- package/dist/chunks/{app-sewxva9w.js → snapshot-prkzwwvs.js} +14 -14
- package/dist/chunks/{app-fg9p65nk.js → snapshot-prq7xxp2.js} +6 -6
- package/dist/chunks/{app-3cd94vmb.js → snapshot-q4qbsr0k.js} +12 -12
- package/dist/chunks/{app-p9j2z5m0.js → snapshot-qffk4v12.js} +4 -4
- package/dist/chunks/{app-7nqkf5r1.js → snapshot-qj27ec1j.js} +2 -2
- package/dist/chunks/{app-p76me67c.js → snapshot-qkc3z5ds.js} +4 -4
- package/dist/chunks/{app-038cpjvs.js → snapshot-qn0rvs2z.js} +15 -15
- package/dist/chunks/{app-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{app-6r3yknj0.js → snapshot-qs2j0e81.js} +6 -6
- package/dist/chunks/{app-963hk181.js → snapshot-r221x7m0.js} +9 -9
- package/dist/chunks/{app-r542h3bh.js → snapshot-r542h3bh.js} +1 -1
- package/dist/chunks/{app-p8nmtdtz.js → snapshot-r5ygqrmq.js} +25 -25
- package/dist/chunks/{app-s9a3htte.js → snapshot-rafapdr7.js} +43 -43
- package/dist/chunks/{app-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/{app-rgc9cx3e.js → snapshot-rgc9cx3e.js} +2 -2
- package/dist/chunks/{app-xmx7xj34.js → snapshot-rhv95hk9.js} +7 -7
- package/dist/chunks/{app-t74a7gjk.js → snapshot-rjkrww1f.js} +18 -18
- package/dist/chunks/{app-1x2zhsvh.js → snapshot-rmwqpay1.js} +16 -16
- package/dist/chunks/{app-239ts7s6.js → snapshot-rpcj538m.js} +11 -11
- package/dist/chunks/{app-f2dzt9fj.js → snapshot-rq73nrhw.js} +19 -19
- package/dist/chunks/{app-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{app-ekkbshks.js → snapshot-rtq91j57.js} +37 -37
- package/dist/chunks/{app-0kys12yb.js → snapshot-rw2sy5ke.js} +29 -29
- package/dist/chunks/{app-91r9vrwh.js → snapshot-s5qhddv9.js} +41 -41
- package/dist/chunks/{app-p62m5v9m.js → snapshot-s7961e4w.js} +5 -5
- package/dist/chunks/{app-sbya78hr.js → snapshot-sbya78hr.js} +1 -1
- package/dist/chunks/{app-t8erkws8.js → snapshot-scmk72rv.js} +5 -5
- package/dist/chunks/{app-0088t3qa.js → snapshot-sfgr6aqd.js} +10 -10
- package/dist/chunks/{app-qv9h4hbf.js → snapshot-sfp1bk3e.js} +26 -26
- package/dist/chunks/{app-cd1n5fdv.js → snapshot-sp7jxa2x.js} +11 -11
- package/dist/chunks/{app-82phgae0.js → snapshot-sp85y8nd.js} +5 -5
- package/dist/chunks/{app-qh5g3qaw.js → snapshot-spnp93qq.js} +9 -9
- package/dist/chunks/{app-y9fs81yr.js → snapshot-ssvg7s5c.js} +6 -6
- package/dist/chunks/{app-hbcdr3cy.js → snapshot-stvjrq57.js} +15 -15
- package/dist/chunks/{app-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{app-30vs6m4c.js → snapshot-t0608nav.js} +3 -3
- package/dist/chunks/{app-67eeqay8.js → snapshot-t2ptefk5.js} +32 -32
- package/dist/chunks/{app-977vdn6p.js → snapshot-t6rf1rxd.js} +8 -8
- package/dist/chunks/{app-545qspqy.js → snapshot-t8rp0v0x.js} +5 -5
- package/dist/chunks/{app-tbpn7jtk.js → snapshot-tbpn7jtk.js} +1 -1
- package/dist/chunks/{app-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{app-56sea3bh.js → snapshot-tdh5v2vm.js} +38 -38
- package/dist/chunks/{app-j8n433ft.js → snapshot-tgxb7dd2.js} +8 -8
- package/dist/chunks/{app-6hhtz067.js → snapshot-thctk1fr.js} +9 -9
- package/dist/chunks/{app-29bpb8n3.js → snapshot-tpaswdtr.js} +20 -20
- package/dist/chunks/{app-j376ae4e.js → snapshot-tr8x705m.js} +5 -5
- package/dist/chunks/{app-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{app-mcnrhjy7.js → snapshot-v24q14rn.js} +24 -24
- package/dist/chunks/{app-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{app-dq6nbkza.js → snapshot-v5xn4g89.js} +18 -18
- package/dist/chunks/{app-h36kr6ab.js → snapshot-v89tvs6b.js} +38 -38
- package/dist/chunks/{app-8c4mj032.js → snapshot-vajrtfbv.js} +8 -8
- package/dist/chunks/{app-0cxs0jnb.js → snapshot-vcpxbyv2.js} +12 -12
- package/dist/chunks/{app-mj5r6v5w.js → snapshot-vcyed7dt.js} +19 -19
- package/dist/chunks/{app-ezpb9dme.js → snapshot-vdjyampr.js} +18 -18
- package/dist/chunks/{app-vjf35v1f.js → snapshot-vjf35v1f.js} +1 -1
- package/dist/chunks/{app-2k3p7200.js → snapshot-vkpdcgy6.js} +10 -10
- package/dist/chunks/{app-5q1phs54.js → snapshot-vpbqqa2t.js} +58 -58
- package/dist/chunks/{app-15qtk8ma.js → snapshot-vt2d6wap.js} +4 -4
- package/dist/chunks/{app-nfhpyw4w.js → snapshot-vwr292tq.js} +15 -15
- package/dist/chunks/{app-pszcpp6f.js → snapshot-vxyg458r.js} +5 -5
- package/dist/chunks/{app-jhff074d.js → snapshot-w0rs5v7f.js} +14 -14
- package/dist/chunks/{app-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-wsb9p4x8.js → snapshot-w9k68kbh.js} +32 -32
- package/dist/chunks/{app-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{app-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
- package/dist/chunks/{app-mnne38gg.js → snapshot-wetw6hdx.js} +1 -1
- package/dist/chunks/{app-zbw7de6f.js → snapshot-wfagck9d.js} +31 -31
- package/dist/chunks/{app-cjnz6b2k.js → snapshot-wmmd2mgq.js} +11 -11
- package/dist/chunks/{app-2cg1w816.js → snapshot-wnmfmd7a.js} +48 -48
- package/dist/chunks/{app-g8pw7jcq.js → snapshot-wnz4bhf7.js} +15 -15
- package/dist/chunks/{app-j6qw5vkz.js → snapshot-wqxxyv8g.js} +8 -8
- package/dist/chunks/{app-ch2be9wj.js → snapshot-wr2vpd98.js} +31 -31
- package/dist/chunks/{app-0h8y3ex8.js → snapshot-wr3re1en.js} +4 -4
- package/dist/chunks/{app-c7cw818c.js → snapshot-wt99tj4q.js} +5 -5
- package/dist/chunks/{app-b2aezkcp.js → snapshot-wxp8srpk.js} +31 -31
- package/dist/chunks/{app-ajjq95gy.js → snapshot-wy9n8gw6.js} +4 -4
- package/dist/chunks/{app-kzrxxp95.js → snapshot-x14xgwms.js} +15 -15
- package/dist/chunks/{app-t521gf9q.js → snapshot-x30drkm9.js} +9 -9
- package/dist/chunks/{app-az7br3ba.js → snapshot-x5cd4jne.js} +6 -6
- package/dist/chunks/{app-k6b2j66k.js → snapshot-x5jrh813.js} +21 -21
- package/dist/chunks/{app-bmbcmxaq.js → snapshot-x7gqg7ek.js} +31 -31
- package/dist/chunks/{app-bstexjd6.js → snapshot-xd9cc171.js} +5 -5
- package/dist/chunks/{app-v6tya1s4.js → snapshot-xg63pjz7.js} +86 -86
- package/dist/chunks/{app-9w321t0m.js → snapshot-xgb5f7k4.js} +25 -25
- package/dist/chunks/{app-04whjz6n.js → snapshot-xjbsd7zy.js} +9 -9
- package/dist/chunks/{app-7avxj3zh.js → snapshot-xnb7nwp3.js} +15 -15
- package/dist/chunks/{app-vb6mr57d.js → snapshot-xp2necrq.js} +8 -8
- package/dist/chunks/{app-3qk4j887.js → snapshot-xr945fy7.js} +9 -9
- package/dist/chunks/{app-6rns5se0.js → snapshot-xrse402f.js} +21 -21
- package/dist/chunks/{app-yerhsvq2.js → snapshot-xsjsxdt4.js} +84 -84
- package/dist/chunks/{app-dkp3hhgb.js → snapshot-xvnz1k2w.js} +15 -15
- package/dist/chunks/{app-xxschbft.js → snapshot-xxschbft.js} +1 -1
- package/dist/chunks/{app-6g2mjab7.js → snapshot-xys0ztgp.js} +6 -6
- package/dist/chunks/{app-xhhyn3h2.js → snapshot-y0g3fq3q.js} +43 -43
- package/dist/chunks/{app-kqp897ae.js → snapshot-y4f5tm6x.js} +13 -13
- package/dist/chunks/{app-vzfcm2j8.js → snapshot-y5d8h2t3.js} +10 -10
- package/dist/chunks/{app-fqdvnpp6.js → snapshot-y8ygc9hf.js} +13 -13
- package/dist/chunks/{app-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{app-ytxdwdf3.js → snapshot-ycnr8m9v.js} +20 -20
- package/dist/chunks/{app-x6m7msz1.js → snapshot-yf7mhq0c.js} +8 -8
- package/dist/chunks/{app-sx82cgmc.js → snapshot-ykqxbn30.js} +2 -2
- package/dist/chunks/{app-yr705xyq.js → snapshot-yr705xyq.js} +1 -1
- package/dist/chunks/{app-kbgs7tyr.js → snapshot-yts2a8qm.js} +4 -4
- package/dist/chunks/{app-jhd81k8y.js → snapshot-yvgm7584.js} +3 -3
- package/dist/chunks/{app-yvtc2x31.js → snapshot-yvtc2x31.js} +1 -1
- package/dist/chunks/{app-5azf2arz.js → snapshot-yy4h3cdn.js} +4 -4
- package/dist/chunks/{app-8hn4hf0r.js → snapshot-yz9djv5n.js} +6 -6
- package/dist/chunks/{app-z080rjh6.js → snapshot-z080rjh6.js} +1 -1
- package/dist/chunks/{app-vdznht59.js → snapshot-z0c26qk4.js} +2 -2
- package/dist/chunks/{app-2w8y5te9.js → snapshot-z4nf36k7.js} +3 -3
- package/dist/chunks/{app-873dep32.js → snapshot-zab7qwhj.js} +9 -9
- package/dist/chunks/{app-hv84q75j.js → snapshot-zb3ygvq6.js} +4 -4
- package/dist/chunks/{app-ze75qvmd.js → snapshot-ze75qvmd.js} +3 -3
- package/dist/chunks/{app-5wvc30af.js → snapshot-zn0n3tdw.js} +25 -25
- package/dist/chunks/{app-9br47e8c.js → snapshot-zx1h4a3k.js} +9 -9
- package/dist/chunks/{app-kpsn3r84.js → snapshot-zx3jtz5g.js} +8 -8
- package/dist/chunks/{app-hqkrvhwx.js → snapshot-zy3yv4tt.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +3 -3
- package/dist/codemode/fetch.js +148 -148
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +155 -155
- package/dist/command.js +96 -96
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +1 -1
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +112 -112
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +238 -238
- package/dist/config/plugin/compaction.js +173 -173
- package/dist/config/plugin/compatibility.js +153 -153
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +131 -131
- package/dist/config/plugin/image.js +130 -130
- package/dist/config/plugin/instruction.js +130 -130
- package/dist/config/plugin/location-watcher.js +128 -128
- package/dist/config/plugin/mcp.js +141 -141
- package/dist/config/plugin/policy.js +130 -130
- package/dist/config/plugin/provider.js +130 -130
- package/dist/config/plugin/reference.js +132 -132
- package/dist/config/plugin/shell.js +130 -130
- package/dist/config/plugin/skill-file.js +149 -149
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +154 -154
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +129 -129
- package/dist/config/plugin/worktree.js +132 -132
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +135 -135
- package/dist/console-access.js +7 -7
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- package/dist/database/batch.js +1 -1
- package/dist/database/database.js +81 -81
- 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/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration/20261030054400_job.js +1 -1
- package/dist/database/migration.gen.js +60 -60
- package/dist/database/migration.js +76 -76
- 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/v1-migration.bun.js +108 -108
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +440 -440
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +109 -109
- 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 +85 -85
- package/dist/file-access.js +160 -160
- package/dist/file-mutation.js +108 -108
- package/dist/file-retention.js +1 -1
- package/dist/file-write.js +164 -164
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +251 -251
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +113 -113
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +114 -114
- package/dist/flag.js +129 -129
- package/dist/form.js +91 -91
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +118 -118
- 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 +104 -104
- 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/notice.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 +431 -431
- package/dist/instruction-discovery.js +97 -97
- package/dist/instructions/builtins.js +96 -96
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/list.js +5 -5
- package/dist/job/recovery.js +2 -2
- package/dist/job/sql.js +2 -2
- package/dist/job.js +90 -90
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +185 -185
- package/dist/location-lifecycle.js +151 -151
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +428 -428
- package/dist/location.js +102 -102
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +158 -158
- package/dist/mcp/connection.js +106 -106
- package/dist/mcp/index.js +120 -120
- package/dist/mcp/instructions.js +189 -189
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/pool.js +112 -112
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +157 -157
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +104 -104
- package/dist/model-resolver.js +112 -112
- package/dist/model-retry.js +1 -1
- package/dist/model.js +115 -115
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +119 -119
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +93 -93
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +158 -158
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +95 -95
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +85 -85
- package/dist/plugin/command.js +117 -117
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +244 -244
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +407 -407
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +127 -127
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +149 -149
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +106 -106
- package/dist/plugin/provider/azure.js +133 -133
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +133 -133
- package/dist/plugin/provider/claude-agent/aisdk.js +117 -117
- package/dist/plugin/provider/claude-agent/claude/fork.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/io.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/probe.js +2 -2
- package/dist/plugin/provider/claude-agent/claude/query-options.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sdk.js +3 -3
- package/dist/plugin/provider/claude-agent/claude/session.js +4 -4
- package/dist/plugin/provider/claude-agent/claude/sessions.js +16 -16
- package/dist/plugin/provider/claude-agent/claude/status.js +9 -9
- package/dist/plugin/provider/claude-agent/index.js +150 -150
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +115 -115
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-language-model.js +7 -7
- package/dist/plugin/provider/claude-agent/language-model/convert-claude-stream.js +4 -4
- package/dist/plugin/provider/claude-agent/language-model/convert-to-claude-message.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/request-kind.js +1 -1
- package/dist/plugin/provider/claude-agent/language-model/system-prompt.js +3 -3
- package/dist/plugin/provider/claude-agent/language-model/usage.js +3 -3
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +112 -112
- package/dist/plugin/provider/claude-agent/sync/catch-up.js +3 -3
- package/dist/plugin/provider/claude-agent/sync/checkpoints.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/decide.js +2 -2
- package/dist/plugin/provider/claude-agent/sync/fingerprint.js +1 -1
- package/dist/plugin/provider/claude-agent/sync/record.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/hooks.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/names.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/pending.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/result.js +3 -3
- package/dist/plugin/provider/claude-agent/tools/server.js +4 -4
- package/dist/plugin/provider/cloudflare-ai-gateway.js +130 -130
- package/dist/plugin/provider/cloudflare-workers-ai.js +130 -130
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +88 -88
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +109 -109
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +111 -111
- package/dist/plugin/provider/gitlab.js +109 -109
- package/dist/plugin/provider/google-vertex.js +127 -127
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +140 -140
- package/dist/plugin/provider/local.js +137 -137
- package/dist/plugin/provider/modal.js +108 -108
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +140 -140
- package/dist/plugin/provider/openai-context-caps.js +106 -106
- package/dist/plugin/provider/openai.js +133 -133
- package/dist/plugin/provider/opencode.js +159 -159
- package/dist/plugin/provider/openrouter.js +104 -104
- package/dist/plugin/provider/poe.js +90 -90
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/refresh.js +87 -87
- package/dist/plugin/provider/sap-ai-core.js +104 -104
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +131 -131
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +237 -237
- package/dist/plugin/sdk.js +89 -89
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +152 -152
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +417 -417
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +99 -99
- package/dist/plugin/vcs/hg.js +99 -99
- package/dist/plugin/verbosity.js +106 -106
- package/dist/plugin/warming.js +130 -130
- package/dist/plugin/websearch/exa.js +8 -8
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +10 -10
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +9 -9
- package/dist/plugin/websearch/provider.js +1 -1
- package/dist/plugin/websearch/tavily.js +7 -7
- package/dist/plugin/websearch/tinyfish.js +9 -9
- package/dist/plugin.js +249 -249
- 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 +103 -103
- package/dist/provider.js +112 -112
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +105 -105
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +103 -103
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +249 -249
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +253 -253
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +132 -132
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +175 -175
- package/dist/session/context.js +205 -205
- package/dist/session/diff.js +101 -101
- 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 +250 -250
- package/dist/session/execution.js +167 -167
- package/dist/session/generate.js +206 -206
- package/dist/session/history.js +139 -139
- package/dist/session/inbox.js +152 -152
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +88 -88
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +146 -146
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +169 -169
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +171 -171
- package/dist/session/projector.js +146 -146
- package/dist/session/prompt.js +151 -151
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +142 -142
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +258 -258
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +113 -113
- package/dist/session/runner/publish-llm-event.js +153 -153
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +164 -164
- package/dist/session/runner/to-llm-message.js +140 -140
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +186 -186
- package/dist/session/shell.js +145 -145
- package/dist/session/skill.js +150 -150
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +87 -87
- package/dist/session/store.js +145 -145
- package/dist/session/stored.js +4 -4
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +237 -237
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +207 -207
- package/dist/session/to-session-error.js +152 -152
- package/dist/session/transfer.js +251 -251
- package/dist/session/usage.js +1 -1
- package/dist/session.js +241 -241
- package/dist/shared-cache.js +5 -5
- 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 +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +154 -154
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +104 -104
- 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 +186 -186
- package/dist/tool/plugin/artifact.js +236 -236
- package/dist/tool/plugin/edit.js +170 -170
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +174 -174
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +247 -247
- package/dist/tool/plugin/mcp-resource.js +169 -169
- package/dist/tool/plugin/opencode.js +166 -166
- package/dist/tool/plugin/patch.js +171 -171
- package/dist/tool/plugin/question.js +149 -149
- package/dist/tool/plugin/read.js +175 -175
- package/dist/tool/plugin/schedule.js +255 -255
- package/dist/tool/plugin/shell.js +241 -241
- package/dist/tool/plugin/skill.js +160 -160
- package/dist/tool/plugin/subagent.js +244 -244
- package/dist/tool/plugin/todo.js +158 -158
- package/dist/tool/plugin/webfetch.js +156 -156
- package/dist/tool/plugin/websearch.js +156 -156
- package/dist/tool/plugin/write.js +171 -171
- package/dist/tool/read-filesystem.js +114 -114
- package/dist/tool/runtime.js +1 -1
- package/dist/tool/search.js +109 -109
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/usage-limits.js +92 -92
- 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 +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +105 -105
- 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 +106 -106
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +102 -102
- package/dist/voice.js +93 -93
- package/dist/websearch.js +101 -101
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +92 -92
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +93 -93
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +109 -109
- package/package.json +8 -8
- package/dist/chunks/app-9aky56wa.js +0 -265
- package/dist/chunks/app-e6bxq3j4.js +0 -26
- package/dist/chunks/app-z355x5yr.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-108x4f4w.js → snapshot-108x4f4w.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3af0jn4w.js → snapshot-3af0jn4w.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4qk9sjk2.js → snapshot-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{app-6agm2x70.js → snapshot-6agm2x70.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{app-bhmrqjy3.js → snapshot-bhmrqjy3.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-syrav9an.js → snapshot-syrav9an.js} +0 -0
- /package/dist/chunks/{app-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{app-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-vtarvj67.js → snapshot-vtarvj67.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x4th4bpe.js → snapshot-x4th4bpe.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-z0h12gs8.js → snapshot-z0h12gs8.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
- /package/dist/chunks/{app-zxpyjp51.js → snapshot-zxpyjp51.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./snapshot-1nscgprg.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service68,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node72,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service68 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service68, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node72 = LayerNode.unbound(Service68, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service68;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -42,10 +42,10 @@ function canonical3(ref) {
|
|
|
42
42
|
const flavor = process.platform === "win32" && !ref.directory.startsWith("/") ? path.win32 : path.posix;
|
|
43
43
|
const normalized = flavor.normalize(ref.directory);
|
|
44
44
|
const trailing = normalized.endsWith(flavor.sep) && normalized.length > flavor.parse(normalized).root.length;
|
|
45
|
-
return
|
|
45
|
+
return Ref4.make({
|
|
46
46
|
directory: AbsolutePath.make(trailing ? normalized.slice(0, -1) : normalized),
|
|
47
47
|
workspaceID: ref.workspaceID
|
|
48
48
|
});
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Service68, node72, reload2, canonical3, exports_location_service_map };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider4 = {};
|
|
10
10
|
__export(exports_provider4, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider4,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info16,
|
|
13
13
|
Model: () => Model3,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model3 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info16 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -91,4 +91,4 @@ var Info20 = Schema.Struct({
|
|
|
91
91
|
models: Schema.optional(Schema.Record(Schema.String, Model3))
|
|
92
92
|
}).annotate({ identifier: "ProviderConfig" });
|
|
93
93
|
|
|
94
|
-
export { ModelStatus2, Model3,
|
|
94
|
+
export { ModelStatus2, Model3, Info16, exports_provider4 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-40y6dtc2.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service6,
|
|
13
|
+
node: () => node8
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service6 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create4({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service6.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node8 = makeLocationNode({ service: Service6, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service6, node8, exports_location_watcher_policy };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
parseOption2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-e834z07m.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID8,
|
|
9
9
|
Name2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-ckmvzp96.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/skill-file.ts
|
|
16
16
|
var exports_skill_file = {};
|
|
@@ -62,7 +62,7 @@ function parse2(directory, filepath, content) {
|
|
|
62
62
|
return {
|
|
63
63
|
_tag: "Parsed",
|
|
64
64
|
skill: {
|
|
65
|
-
id:
|
|
65
|
+
id: ID8.make(id),
|
|
66
66
|
name: Name2.make(frontmatter.name ?? id),
|
|
67
67
|
...frontmatter.description === undefined ? {} : { description: frontmatter.description },
|
|
68
68
|
...autoinvoke === undefined ? {} : { autoinvoke },
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
requestExecutor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-0ma9gw4f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID19,
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./snapshot-hr8h2z9v.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/voice.ts
|
|
14
14
|
var exports_voice = {};
|
|
15
15
|
__export(exports_voice, {
|
|
16
16
|
InvalidRequestError: () => InvalidRequestError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service18,
|
|
18
18
|
UnavailableError: () => UnavailableError3,
|
|
19
19
|
Voice: () => exports_voice,
|
|
20
20
|
layer: () => layer11,
|
|
@@ -37,12 +37,12 @@ class UnavailableError3 extends Schema.TaggedError()("Voice.UnavailableError", {
|
|
|
37
37
|
}) {
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service18 extends Context.Service()("@opencode/Voice") {
|
|
41
41
|
}
|
|
42
|
-
var layer11 = Layer.effect(
|
|
42
|
+
var layer11 = Layer.effect(Service18, Effect.gen(function* () {
|
|
43
43
|
const executor = yield* RequestExecutor.Service;
|
|
44
|
-
const integrations = yield*
|
|
45
|
-
const findConnection = (provider, methods = ["key"]) => integrations.get(
|
|
44
|
+
const integrations = yield* Service85;
|
|
45
|
+
const findConnection = (provider, methods = ["key"]) => integrations.get(ID19.make(provider)).pipe(Effect.map((info) => info?.connections.find((item) => item.type === "env" || methods.includes(item.method))));
|
|
46
46
|
const source = Effect.fnUntraced(function* (engine) {
|
|
47
47
|
const connection = yield* findConnection(engine.provider);
|
|
48
48
|
if (connection)
|
|
@@ -81,12 +81,12 @@ var layer11 = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
81
81
|
...access
|
|
82
82
|
}).pipe(Effect.provideService(RequestExecutor.Service, executor), Effect.mapError((error) => error.reason._tag === "InvalidRequest" || error.reason._tag === "UnsupportedOperation" ? new InvalidRequestError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: found.provider })));
|
|
83
83
|
});
|
|
84
|
-
return
|
|
84
|
+
return Service18.of({ models, session });
|
|
85
85
|
}));
|
|
86
86
|
var node21 = makeLocationNode({
|
|
87
|
-
service:
|
|
87
|
+
service: Service18,
|
|
88
88
|
layer: layer11,
|
|
89
|
-
deps: [
|
|
89
|
+
deps: [node89, requestExecutor2]
|
|
90
90
|
});
|
|
91
91
|
var openCodeLive = { provider: "opencode", baseURL: "https://opencode.ai/inference/openai/v1" };
|
|
92
92
|
var sessionAccess = (provider, credential) => {
|
|
@@ -108,4 +108,4 @@ var missingKeyMessage = {
|
|
|
108
108
|
google: "Voice needs a Google API key on the server (a stored key, GEMINI_API_KEY, GOOGLE_GENERATIVE_AI_API_KEY, or GOOGLE_API_KEY)."
|
|
109
109
|
};
|
|
110
110
|
|
|
111
|
-
export { InvalidRequestError2, UnavailableError3,
|
|
111
|
+
export { InvalidRequestError2, UnavailableError3, Service18, layer11, node21, exports_voice };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RecoverySchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-gnkmn8c6.js";
|
|
4
4
|
import {
|
|
5
5
|
JobTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-kzczzf4v.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/job/list.ts
|
|
12
12
|
var exports_list = {};
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./snapshot-kt6mnc23.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service82,
|
|
13
|
+
node86
|
|
14
|
+
} from "./snapshot-1nscgprg.js";
|
|
15
15
|
import {
|
|
16
16
|
create4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-40y6dtc2.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID16,
|
|
27
|
+
Service: () => Service79,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node83,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID16 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service79 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service84;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service82;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create4({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const directory = yield* fs.realPath(location.directory).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
75
75
|
if (!FSUtil.contains(worktree, directory))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(path.relative(worktree, directory).replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
97
97
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
98
98
|
});
|
|
99
99
|
yield* packWhenDue(repo.snapshotRepository);
|
|
100
|
-
return
|
|
100
|
+
return ID16.make(tree);
|
|
101
101
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
102
102
|
});
|
|
103
103
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -142,25 +142,25 @@ var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
|
142
142
|
for (const [file, snapshot] of input.files) {
|
|
143
143
|
const absolute = path.resolve(worktree, file);
|
|
144
144
|
if (!FSUtil.contains(worktree, absolute))
|
|
145
|
-
return yield* new
|
|
145
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
146
146
|
files.set(file, TreeID2.make(snapshot));
|
|
147
147
|
}
|
|
148
148
|
return files;
|
|
149
149
|
});
|
|
150
150
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
151
151
|
if (!enabled())
|
|
152
|
-
return yield* new
|
|
152
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
153
153
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
154
154
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
155
155
|
});
|
|
156
|
-
return
|
|
156
|
+
return Service79.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
157
157
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
158
|
-
var
|
|
159
|
-
service:
|
|
158
|
+
var node83 = makeLocationNode({
|
|
159
|
+
service: Service79,
|
|
160
160
|
layer,
|
|
161
|
-
deps: [FSUtil.node,
|
|
161
|
+
deps: [FSUtil.node, node88, Global.node, node86]
|
|
162
162
|
});
|
|
163
|
-
var noopLayer3 = Layer.succeed(
|
|
163
|
+
var noopLayer3 = Layer.succeed(Service79, Service79.of({
|
|
164
164
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
165
165
|
reload: () => Effect.void,
|
|
166
166
|
capture: () => Effect.undefined,
|
|
@@ -169,13 +169,13 @@ var noopLayer3 = Layer.succeed(Service64, Service64.of({
|
|
|
169
169
|
restore: () => Effect.void
|
|
170
170
|
}));
|
|
171
171
|
function failure(operation, cause) {
|
|
172
|
-
if (cause instanceof
|
|
172
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
173
173
|
return cause;
|
|
174
|
-
return new
|
|
174
|
+
return new Error5({
|
|
175
175
|
operation,
|
|
176
176
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
177
177
|
cause
|
|
178
178
|
});
|
|
179
179
|
}
|
|
180
180
|
|
|
181
|
-
export {
|
|
181
|
+
export { ID16, Error5, Service79, node83, noopLayer3, exports_snapshot2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
10
|
+
configured: () => configured11,
|
|
11
|
+
layer: () => layer24,
|
|
12
12
|
make: () => make32,
|
|
13
|
-
node: () =>
|
|
13
|
+
node: () => node71,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
@@ -28,8 +28,8 @@ function make32(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer24 = (input) => Layer.succeed(Metadata2, make32(input));
|
|
32
|
+
var configured11 = (input) => makeGlobalNode({ service: Metadata2, layer: layer24(input), deps: [] });
|
|
33
|
+
var node71 = configured11();
|
|
34
34
|
|
|
35
|
-
export { Metadata2, make32, useragent2,
|
|
35
|
+
export { Metadata2, make32, useragent2, layer24, configured11, node71, exports_app };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID15
|
|
3
|
+
} from "./snapshot-gt8yp5s4.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-hcwz4r95.js";
|
|
7
7
|
import {
|
|
8
8
|
credentialSettings2,
|
|
9
9
|
metadataSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-xys0ztgp.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
13
13
|
import { Effect } from "effect";
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Form } from "@opencode/schema/form";
|
|
16
|
-
var providerID =
|
|
16
|
+
var providerID = ID15.make("cloudflare-workers-ai");
|
|
17
17
|
var CloudflareWorkersAIPlugin2 = define({
|
|
18
18
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
19
19
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,52 +1,52 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node71
|
|
5
|
+
} from "./snapshot-t6rf1rxd.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service90,
|
|
8
|
+
node94
|
|
9
|
+
} from "./snapshot-1bnkpzt2.js";
|
|
10
10
|
import {
|
|
11
11
|
native2,
|
|
12
|
-
|
|
12
|
+
ID15,
|
|
13
13
|
aisdk2,
|
|
14
14
|
packageName2,
|
|
15
15
|
builtinPackages2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-gt8yp5s4.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
18
|
+
ID14,
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./snapshot-rtq91j57.js";
|
|
21
21
|
import {
|
|
22
22
|
supports2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
resolve2
|
|
24
|
+
} from "./snapshot-mx99e4e0.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service89,
|
|
27
|
+
node93
|
|
28
|
+
} from "./snapshot-y8ygc9hf.js";
|
|
29
29
|
import {
|
|
30
30
|
isV12,
|
|
31
31
|
toV22
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./snapshot-p71gwv9c.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/models-dev.ts
|
|
38
38
|
var exports_models_dev = {};
|
|
39
39
|
__export(exports_models_dev, {
|
|
40
40
|
Event: () => Event3,
|
|
41
41
|
ModelsDev: () => exports_models_dev,
|
|
42
|
-
Options: () =>
|
|
43
|
-
Service: () =>
|
|
42
|
+
Options: () => Options3,
|
|
43
|
+
Service: () => Service17,
|
|
44
44
|
bodyDigest: () => bodyDigest2,
|
|
45
45
|
catalogPath: () => catalogPath2,
|
|
46
|
-
configured: () =>
|
|
46
|
+
configured: () => configured3,
|
|
47
47
|
decodeSnapshot: () => decodeSnapshot2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
layer: () => layer10,
|
|
49
|
+
node: () => node20
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Duration, Effect, Layer, Option, Result, Schedule, Schema, Semaphore } from "effect";
|
|
52
52
|
import { HttpClient, HttpClientError, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
@@ -169,7 +169,7 @@ var normalize = Effect.fnUntraced(function* (catalog) {
|
|
|
169
169
|
const item = Option.getOrUndefined(decodeProvider(value));
|
|
170
170
|
if (!item)
|
|
171
171
|
return [];
|
|
172
|
-
const providerID =
|
|
172
|
+
const providerID = ID15.make(item.id);
|
|
173
173
|
const sources = Object.entries(item.models).flatMap(([key, value]) => {
|
|
174
174
|
const decoded = decodeModel(value);
|
|
175
175
|
if (Result.isFailure(decoded))
|
|
@@ -194,12 +194,12 @@ var normalize = Effect.fnUntraced(function* (catalog) {
|
|
|
194
194
|
};
|
|
195
195
|
const models = sources.flatMap((source) => {
|
|
196
196
|
const baseCost = cost(source.model.cost);
|
|
197
|
-
const id =
|
|
197
|
+
const id = ID14.make(source.model.id);
|
|
198
198
|
const base = modelInfo(providerID, { packageName, baseURL }, id, source, { cost: baseCost });
|
|
199
|
-
const variants =
|
|
199
|
+
const variants = resolve2({ ...base, package: source.route.package }, supports2(source.model.capabilities.reasoning));
|
|
200
200
|
return [
|
|
201
201
|
{ ...base, variants },
|
|
202
|
-
...entries(source.model.experimental?.modes, decodeMode).map(([mode, options]) => modelInfo(providerID, { packageName, baseURL },
|
|
202
|
+
...entries(source.model.experimental?.modes, decodeMode).map(([mode, options]) => modelInfo(providerID, { packageName, baseURL }, ID14.make(`${source.model.id}-${mode}`), source, {
|
|
203
203
|
name: `${source.model.name} ${mode.charAt(0).toUpperCase()}${mode.slice(1)}`,
|
|
204
204
|
cost: modeCost(source.model, baseCost, mode, options),
|
|
205
205
|
request: options,
|
|
@@ -363,7 +363,7 @@ function modelInfo(providerID, provider, id, source, input = {}) {
|
|
|
363
363
|
};
|
|
364
364
|
return {
|
|
365
365
|
id,
|
|
366
|
-
modelID:
|
|
366
|
+
modelID: ID14.make(model.id),
|
|
367
367
|
providerID,
|
|
368
368
|
type: model.type,
|
|
369
369
|
name: input.name ?? model.name,
|
|
@@ -391,14 +391,14 @@ function modelInfo(providerID, provider, id, source, input = {}) {
|
|
|
391
391
|
body: input.request?.body ? { ...input.request.body } : undefined
|
|
392
392
|
};
|
|
393
393
|
}
|
|
394
|
-
var
|
|
394
|
+
var Options3 = Schema.Struct({
|
|
395
395
|
url: Schema.optional(Schema.String),
|
|
396
396
|
file: Schema.optional(Schema.String),
|
|
397
397
|
fetch: Schema.optional(Schema.Boolean),
|
|
398
398
|
snapshot: Schema.optional(Schema.Boolean)
|
|
399
399
|
});
|
|
400
400
|
|
|
401
|
-
class
|
|
401
|
+
class Service17 extends Context.Service()("@opencode/ModelsDev") {
|
|
402
402
|
}
|
|
403
403
|
var CatalogJson = Schema.fromJsonString(Schema.Record(Schema.String, Schema.Unknown));
|
|
404
404
|
var decodeCatalog = (text) => Schema.decodeUnknownEffect(CatalogJson)(text);
|
|
@@ -428,11 +428,11 @@ function cacheKey(source) {
|
|
|
428
428
|
function bodyDigest2(text) {
|
|
429
429
|
return Hash.sha256(text);
|
|
430
430
|
}
|
|
431
|
-
var
|
|
431
|
+
var layer10 = (options) => Layer.effect(Service17, Effect.gen(function* () {
|
|
432
432
|
const fs = yield* FSUtil.Service;
|
|
433
|
-
const bus = yield*
|
|
433
|
+
const bus = yield* Service90;
|
|
434
434
|
const app = yield* Metadata2;
|
|
435
|
-
const kv = yield*
|
|
435
|
+
const kv = yield* Service89;
|
|
436
436
|
const http = (yield* HttpClient.HttpClient).pipe(HttpClient.retryTransient({
|
|
437
437
|
retryOn: "errors-and-responses",
|
|
438
438
|
times: 2,
|
|
@@ -526,15 +526,15 @@ var layer9 = (options) => Layer.effect(Service15, Effect.gen(function* () {
|
|
|
526
526
|
if (fetch && !process.argv.includes("--get-yargs-completions")) {
|
|
527
527
|
yield* Effect.forkScoped(refresh().pipe(Effect.repeat(Schedule.spaced(ttl)), Effect.ignore));
|
|
528
528
|
}
|
|
529
|
-
return
|
|
529
|
+
return Service17.of({ get, refresh });
|
|
530
530
|
}));
|
|
531
|
-
function
|
|
531
|
+
function configured3(options) {
|
|
532
532
|
return makeGlobalNode({
|
|
533
|
-
service:
|
|
534
|
-
layer:
|
|
535
|
-
deps: [FSUtil.node,
|
|
533
|
+
service: Service17,
|
|
534
|
+
layer: layer10(options),
|
|
535
|
+
deps: [FSUtil.node, node94, node71, node93, httpClient]
|
|
536
536
|
});
|
|
537
537
|
}
|
|
538
|
-
var
|
|
538
|
+
var node20 = configured3();
|
|
539
539
|
|
|
540
|
-
export {
|
|
540
|
+
export { Options3, Service17, catalogPath2, decodeSnapshot2, bodyDigest2, layer10, configured3, node20, exports_models_dev, Event3 };
|