@opencode/core 0.0.0-dev-451 → 0.0.0-dev-457
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 +88 -88
- package/dist/aisdk-native.js +102 -102
- package/dist/aisdk.js +108 -108
- package/dist/app.js +9 -9
- package/dist/artifact.js +234 -234
- package/dist/bus.js +84 -84
- package/dist/chunks/{command-hszgmwg9.js → shared-cache-01qan1r0.js} +14 -14
- package/dist/chunks/{command-aj7mw0zk.js → shared-cache-034tev2y.js} +2 -2
- package/dist/chunks/{command-n6198yay.js → shared-cache-03mpff5k.js} +21 -15
- package/dist/chunks/shared-cache-0gdrrj59.js +16 -0
- package/dist/chunks/{command-q36xmy8v.js → shared-cache-0j8e1req.js} +22 -22
- package/dist/chunks/{command-0ma9gw4f.js → shared-cache-0ma9gw4f.js} +2 -2
- package/dist/chunks/{command-zbbn7txt.js → shared-cache-0q0exa15.js} +14 -14
- package/dist/chunks/{command-j7fgn957.js → shared-cache-0r84vseg.js} +9 -9
- package/dist/chunks/{command-vf37ha3m.js → shared-cache-0s2nyjka.js} +17 -17
- package/dist/chunks/{command-2tetecd9.js → shared-cache-0se1q41g.js} +14 -14
- package/dist/chunks/{command-7q0kkz2h.js → shared-cache-0vfm4m30.js} +8 -8
- package/dist/chunks/{command-hdjjdvc3.js → shared-cache-0wdj7mfr.js} +9 -9
- package/dist/chunks/{command-yms5yk40.js → shared-cache-0xe6vqk7.js} +11 -11
- package/dist/chunks/{command-j6942x1g.js → shared-cache-0zrvsdva.js} +16 -16
- package/dist/chunks/{command-j16gqe8n.js → shared-cache-18y3b983.js} +48 -48
- package/dist/chunks/{command-1aqsckx4.js → shared-cache-1aqsckx4.js} +1 -1
- package/dist/chunks/{command-27w5k9zf.js → shared-cache-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-9k6nqw7x.js → shared-cache-1rfmbpcr.js} +45 -45
- package/dist/chunks/{command-yjjyz0e3.js → shared-cache-1scgcwfj.js} +3 -3
- package/dist/chunks/{command-eebq73da.js → shared-cache-1ss34ysn.js} +14 -14
- package/dist/chunks/{command-1b1fgn2c.js → shared-cache-1sz52pcc.js} +7 -7
- package/dist/chunks/{command-veesmm8k.js → shared-cache-1tcfse8e.js} +3 -3
- package/dist/chunks/{command-xya5z1v4.js → shared-cache-1vbrkdbs.js} +3 -3
- package/dist/chunks/{command-1x2knyw4.js → shared-cache-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-1yq9hg58.js → shared-cache-1yq9hg58.js} +1 -1
- package/dist/chunks/{command-vxsh6985.js → shared-cache-20httykd.js} +32 -32
- package/dist/chunks/{command-8b3vzgkx.js → shared-cache-25h84942.js} +4 -4
- package/dist/chunks/{command-vtmxyqqs.js → shared-cache-28mzk8dv.js} +27 -27
- package/dist/chunks/{command-112p5x9p.js → shared-cache-29tqe9d2.js} +24 -24
- package/dist/chunks/{command-kzdam8c6.js → shared-cache-2bswbpgz.js} +7 -7
- package/dist/chunks/{command-28d0291v.js → shared-cache-2hh34rxg.js} +44 -44
- package/dist/chunks/{command-4tf5hgjt.js → shared-cache-2j9d56vn.js} +40 -36
- package/dist/chunks/{command-s1ba0vj0.js → shared-cache-2p60zmnr.js} +2 -2
- package/dist/chunks/{command-a1jg1vcd.js → shared-cache-2q55fwpn.js} +17 -17
- package/dist/chunks/{command-cqdj8zma.js → shared-cache-31r9ew24.js} +16 -16
- package/dist/chunks/{command-ys6g3emr.js → shared-cache-335h8y1q.js} +45 -45
- package/dist/chunks/{command-z9j69c60.js → shared-cache-35540211.js} +13 -13
- package/dist/chunks/{command-390xskpw.js → shared-cache-390xskpw.js} +1 -1
- package/dist/chunks/{command-h89yaxmp.js → shared-cache-3aftw05r.js} +14 -14
- package/dist/chunks/{command-cqbn3g43.js → shared-cache-3d9m6vm1.js} +25 -25
- package/dist/chunks/{command-2m2g9ynh.js → shared-cache-3gv0spa2.js} +4 -4
- package/dist/chunks/{command-3hepkmqq.js → shared-cache-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-thpvhm7p.js → shared-cache-3kmrk0at.js} +6 -6
- package/dist/chunks/{command-3nnrz6f6.js → shared-cache-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-9dea7wbw.js → shared-cache-3sj5a19d.js} +2 -2
- package/dist/chunks/{command-nptrtzfm.js → shared-cache-3we67zyn.js} +7 -7
- package/dist/chunks/{command-rsre77k7.js → shared-cache-3wmw86pa.js} +21 -21
- package/dist/chunks/{command-4cr9jw6n.js → shared-cache-40r16e5m.js} +3 -3
- package/dist/chunks/{command-40y6dtc2.js → shared-cache-40y6dtc2.js} +1 -1
- package/dist/chunks/{command-ap7w36b6.js → shared-cache-44jvmyw9.js} +16 -16
- package/dist/chunks/{command-jxd6f16v.js → shared-cache-44pmzq9c.js} +2 -2
- package/dist/chunks/{command-pb0zgdvs.js → shared-cache-4908ts34.js} +16 -16
- package/dist/chunks/{command-26sg6z04.js → shared-cache-4ajefbv8.js} +14 -14
- package/dist/chunks/{command-4dx1dgte.js → shared-cache-4dx1dgte.js} +1 -1
- package/dist/chunks/{command-4f25tdd0.js → shared-cache-4f25tdd0.js} +1 -1
- package/dist/chunks/{command-d4abdmzn.js → shared-cache-4he7yfh3.js} +14 -14
- package/dist/chunks/{command-4pyp9zr9.js → shared-cache-4pyp9zr9.js} +1 -1
- package/dist/chunks/{command-4v008n1t.js → shared-cache-4v008n1t.js} +1 -1
- package/dist/chunks/{command-kfynvycx.js → shared-cache-4wwt44bz.js} +26 -26
- package/dist/chunks/{command-gzayeng8.js → shared-cache-4zqa8vte.js} +20 -20
- package/dist/chunks/{command-fkr8t5yr.js → shared-cache-53dvpje3.js} +4 -4
- package/dist/chunks/{command-x5vff03n.js → shared-cache-53j7xvnm.js} +18 -18
- package/dist/chunks/{command-797jymej.js → shared-cache-54kgf0t3.js} +10 -10
- package/dist/chunks/{command-q0fawvbg.js → shared-cache-5e5gz891.js} +3 -3
- package/dist/chunks/{command-k11dcgkf.js → shared-cache-5hzm2a2n.js} +5 -5
- package/dist/chunks/{command-5m9w47nd.js → shared-cache-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-5nnwax6m.js → shared-cache-5nnwax6m.js} +2 -2
- package/dist/chunks/{command-vy3dbkv2.js → shared-cache-5sbjqqwj.js} +17 -17
- package/dist/chunks/{command-d0p9h96d.js → shared-cache-5sk19c47.js} +20 -20
- package/dist/chunks/{command-9cv7cw0n.js → shared-cache-65zstjt1.js} +15 -15
- package/dist/chunks/{command-fq4mbxwp.js → shared-cache-660m4eb8.js} +5 -5
- package/dist/chunks/{command-5gxhv5t4.js → shared-cache-6mdbkvg8.js} +5 -5
- package/dist/chunks/{command-gshsjqyk.js → shared-cache-6qqp4y7r.js} +9 -9
- package/dist/chunks/{command-56yhydrj.js → shared-cache-6v1f9b3c.js} +3 -3
- package/dist/chunks/{command-r15e5fgt.js → shared-cache-73czttcw.js} +11 -11
- package/dist/chunks/{command-5zbs2fep.js → shared-cache-73hwfq4w.js} +31 -31
- package/dist/chunks/{command-4g9b4p6m.js → shared-cache-76ac2f9y.js} +41 -41
- package/dist/chunks/{command-76cb1hcw.js → shared-cache-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-mr41mz10.js → shared-cache-76pt27tc.js} +20 -20
- package/dist/chunks/{command-ga5t9aga.js → shared-cache-78az2fcw.js} +55 -55
- package/dist/chunks/{command-6cd3ncdx.js → shared-cache-78c83dz3.js} +5 -5
- package/dist/chunks/{command-amadrth6.js → shared-cache-79hsyw72.js} +10 -10
- package/dist/chunks/{command-a2gahn4b.js → shared-cache-7bdez437.js} +6 -6
- package/dist/chunks/{command-7bmhse3q.js → shared-cache-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-040mzty7.js → shared-cache-7e18g4px.js} +21 -21
- package/dist/chunks/{command-7kr66rt3.js → shared-cache-7kr66rt3.js} +1 -1
- package/dist/chunks/{command-qj27ec1j.js → shared-cache-7nqkf5r1.js} +2 -2
- package/dist/chunks/{command-7w2ypzdf.js → shared-cache-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-7weczvnd.js → shared-cache-7weczvnd.js} +1 -1
- package/dist/chunks/{command-xvh6nyz9.js → shared-cache-7z7n868z.js} +16 -16
- package/dist/chunks/{command-775hqbnd.js → shared-cache-80mg3ag8.js} +3 -3
- package/dist/chunks/{command-crsbatbp.js → shared-cache-82m30djg.js} +11 -11
- package/dist/chunks/{command-mnpd6dxn.js → shared-cache-83z2hrem.js} +8 -8
- package/dist/chunks/{command-fhtgvnfh.js → shared-cache-87dpdb9s.js} +9 -9
- package/dist/chunks/{command-6e15hyzb.js → shared-cache-8889jn16.js} +26 -26
- package/dist/chunks/{command-89287pr7.js → shared-cache-89287pr7.js} +1 -1
- package/dist/chunks/{command-8cg7mtm3.js → shared-cache-8cg7mtm3.js} +1 -1
- package/dist/chunks/{command-ryqhrx4f.js → shared-cache-8d1w7f37.js} +21 -21
- package/dist/chunks/{command-hk1h1qy2.js → shared-cache-8dq44xrt.js} +24 -24
- package/dist/chunks/{command-xywcct0r.js → shared-cache-8ejs04fm.js} +14 -14
- package/dist/chunks/{command-6sxf2mfa.js → shared-cache-8n59df1n.js} +6 -6
- package/dist/chunks/{command-x67mg8mk.js → shared-cache-8sxe6kv8.js} +8 -3
- package/dist/chunks/{command-ahw9krkn.js → shared-cache-8vbpq9va.js} +38 -36
- package/dist/chunks/{command-8wtp7s3z.js → shared-cache-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-90zstvax.js → shared-cache-90zstvax.js} +1 -1
- package/dist/chunks/{command-b8gtv96y.js → shared-cache-92etfc35.js} +16 -16
- package/dist/chunks/{command-3325mep2.js → shared-cache-956zvm58.js} +7 -7
- package/dist/chunks/{command-wws03c5r.js → shared-cache-95sp4hdf.js} +4 -4
- package/dist/chunks/{command-qw26gbrf.js → shared-cache-963hk181.js} +9 -9
- package/dist/chunks/{command-pe5w8f1e.js → shared-cache-978jgtnz.js} +84 -84
- package/dist/chunks/{command-gzpgqmvb.js → shared-cache-9b6r78gs.js} +21 -21
- package/dist/chunks/{command-7ppvtjhd.js → shared-cache-9cdcbvsm.js} +12 -12
- package/dist/chunks/{command-2kg89srt.js → shared-cache-9q8g9sv8.js} +4 -4
- package/dist/chunks/{command-q4wm190t.js → shared-cache-9rxeyvad.js} +23 -23
- package/dist/chunks/{command-adapf27x.js → shared-cache-9x29zr15.js} +4 -4
- package/dist/chunks/{command-g2m4kvc9.js → shared-cache-9y752z0k.js} +11 -11
- package/dist/chunks/{command-t8erkws8.js → shared-cache-9zwexsxs.js} +5 -5
- package/dist/chunks/{command-m3vwtq97.js → shared-cache-a4ejydmw.js} +30 -30
- package/dist/chunks/{command-4fxzkjd3.js → shared-cache-a4tn1t8d.js} +12 -12
- package/dist/chunks/{command-schafjf2.js → shared-cache-ac0nrts2.js} +9 -9
- package/dist/chunks/{command-ajv23y1e.js → shared-cache-ahytd4qs.js} +47 -47
- package/dist/chunks/{command-wrq7dm6q.js → shared-cache-aq5frc3d.js} +4 -4
- package/dist/chunks/{command-a4v3wsmw.js → shared-cache-ara4d2g6.js} +9 -9
- package/dist/chunks/{command-c55jkhec.js → shared-cache-as0mg86e.js} +18 -18
- package/dist/chunks/{command-3cbjf1nt.js → shared-cache-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-a84pm7qp.js → shared-cache-b096peb1.js} +8 -8
- package/dist/chunks/{command-xeazcnat.js → shared-cache-b2scchx5.js} +12 -12
- package/dist/chunks/{command-gmg5z9db.js → shared-cache-b8kb0jc9.js} +30 -26
- package/dist/chunks/{command-kmxkyq3p.js → shared-cache-b948jmy1.js} +47 -47
- package/dist/chunks/{command-s8d7542g.js → shared-cache-bd54nrqf.js} +15 -15
- package/dist/chunks/{command-caxtd6xe.js → shared-cache-bexzbe2y.js} +44 -44
- package/dist/chunks/{command-ga0jqm62.js → shared-cache-bfmgkdsj.js} +27 -27
- package/dist/chunks/{command-5nrew705.js → shared-cache-bgs9y14h.js} +5 -5
- package/dist/chunks/{command-4ag3733q.js → shared-cache-bgtfms1n.js} +29 -29
- package/dist/chunks/{command-3v6tj8d3.js → shared-cache-c322zrrb.js} +12 -12
- package/dist/chunks/{command-k4am5acp.js → shared-cache-c54xxfzm.js} +32 -32
- package/dist/chunks/{command-zg9xszfz.js → shared-cache-cb32ztw6.js} +7 -7
- package/dist/chunks/{command-3bbtnch6.js → shared-cache-csby1x6w.js} +27 -27
- package/dist/chunks/{command-xcvkrh98.js → shared-cache-cskeh2qn.js} +2 -2
- package/dist/chunks/{command-zc1tqb6c.js → shared-cache-cv3zt5fr.js} +45 -45
- package/dist/chunks/{command-cwrgdav8.js → shared-cache-cwrgdav8.js} +2 -2
- package/dist/chunks/{command-289dd89z.js → shared-cache-czh9y0nn.js} +12 -12
- package/dist/chunks/{command-r2jsee34.js → shared-cache-d34c0f98.js} +8 -8
- package/dist/chunks/{command-d4v9tmah.js → shared-cache-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-7xz196dn.js → shared-cache-d9j8kz1s.js} +6 -6
- package/dist/chunks/{command-1a7qmzy6.js → shared-cache-dbxc1608.js} +20 -20
- package/dist/chunks/{command-2wwcsj3x.js → shared-cache-dmze3mc3.js} +5 -5
- package/dist/chunks/{command-gbg10xz8.js → shared-cache-dn2tbeq0.js} +18 -18
- package/dist/chunks/{command-v0gf7nmq.js → shared-cache-dpfwk0f7.js} +24 -24
- package/dist/chunks/{command-dt77769w.js → shared-cache-dt77769w.js} +1 -1
- package/dist/chunks/{command-nv2c5e9q.js → shared-cache-dv250zvr.js} +3 -3
- package/dist/chunks/{command-qpjbvmjj.js → shared-cache-dyebhzpv.js} +16 -16
- package/dist/chunks/{command-mj9h3nv3.js → shared-cache-e09ngpdh.js} +30 -30
- package/dist/chunks/{command-302t0y3a.js → shared-cache-e4939h50.js} +20 -20
- package/dist/chunks/shared-cache-e4dsdy5r.js +26 -0
- package/dist/chunks/{command-e834z07m.js → shared-cache-e834z07m.js} +1 -1
- package/dist/chunks/{command-naahght3.js → shared-cache-ekkk0f4d.js} +21 -21
- package/dist/chunks/{command-mgvy0xnk.js → shared-cache-emjzq4az.js} +21 -21
- package/dist/chunks/{command-eqw4pqj1.js → shared-cache-eqw4pqj1.js} +2 -2
- package/dist/chunks/{command-zw5s2a2z.js → shared-cache-ewa1ec51.js} +4 -4
- package/dist/chunks/{command-0wk4arae.js → shared-cache-f3fdhana.js} +11 -11
- package/dist/chunks/{command-m9168d7w.js → shared-cache-f7qhqc2m.js} +9 -9
- package/dist/chunks/{command-fffv3p7h.js → shared-cache-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-fg9p65nk.js → shared-cache-fg9p65nk.js} +2 -2
- package/dist/chunks/{command-rrsfp6ze.js → shared-cache-fjae3t1k.js} +15 -15
- package/dist/chunks/{command-7215dbqr.js → shared-cache-fpjxw46t.js} +6 -6
- package/dist/chunks/shared-cache-fsrrdggk.js +261 -0
- package/dist/chunks/{command-5q8vf2h9.js → shared-cache-fv0gqzre.js} +2 -2
- package/dist/chunks/{command-n31szky0.js → shared-cache-fwj8chqf.js} +17 -17
- package/dist/chunks/{command-ajjm4dtx.js → shared-cache-g6fwdp5w.js} +11 -11
- package/dist/chunks/{command-q6cg44jg.js → shared-cache-g7szjcez.js} +50 -50
- package/dist/chunks/{command-gbjdnr5j.js → shared-cache-gbjdnr5j.js} +2 -2
- package/dist/chunks/{command-n7bnkb3p.js → shared-cache-gcjdgkn2.js} +9 -9
- package/dist/chunks/{command-h5gjn4y2.js → shared-cache-gjb13sdp.js} +5 -5
- package/dist/chunks/{command-wjkfvcx3.js → shared-cache-gn6y8vzr.js} +15 -15
- package/dist/chunks/{command-6w959vfg.js → shared-cache-gtsw9av3.js} +11 -11
- package/dist/chunks/{command-htyjw1t2.js → shared-cache-gw99hzbq.js} +195 -195
- package/dist/chunks/{command-gctjzyr1.js → shared-cache-h1fsh5gg.js} +11 -11
- package/dist/chunks/{command-exw3n246.js → shared-cache-h4694nx1.js} +8 -8
- package/dist/chunks/{command-r4ce7j88.js → shared-cache-h99ek2x4.js} +12 -12
- package/dist/chunks/{command-czy387n2.js → shared-cache-hp5p8e88.js} +35 -35
- package/dist/chunks/{command-hpg1pkwy.js → shared-cache-hpg1pkwy.js} +1 -1
- package/dist/chunks/{command-q5rwejs6.js → shared-cache-hs0y3m5w.js} +23 -23
- package/dist/chunks/{command-bnzx9dwt.js → shared-cache-hsnq1va6.js} +5 -5
- package/dist/chunks/{command-4pefe19r.js → shared-cache-hvra224z.js} +11 -11
- package/dist/chunks/{command-pbnhzd2a.js → shared-cache-hxjp32hp.js} +8 -8
- package/dist/chunks/{command-6sd197cc.js → shared-cache-j05qjvrv.js} +17 -17
- package/dist/chunks/{command-tm5zj7bd.js → shared-cache-j1pth68z.js} +35 -35
- package/dist/chunks/{command-zkb4dvfy.js → shared-cache-j351eg86.js} +3 -3
- package/dist/chunks/{command-1t7pz1nk.js → shared-cache-j5pp33gg.js} +10 -7
- package/dist/chunks/{command-ggn31dpb.js → shared-cache-j6r348n2.js} +8 -8
- package/dist/chunks/{command-je2j8er4.js → shared-cache-j8q030kd.js} +33 -33
- package/dist/chunks/{command-8hfmqq8w.js → shared-cache-jc512s3p.js} +8 -8
- package/dist/chunks/{command-vsnkte39.js → shared-cache-jg6qty85.js} +41 -41
- package/dist/chunks/{command-4gfkesf9.js → shared-cache-jg9jtwr2.js} +11 -11
- package/dist/chunks/{command-thc4f7yk.js → shared-cache-jgtdwqt8.js} +8 -8
- package/dist/chunks/{command-266c1h5y.js → shared-cache-jhp78y9r.js} +20 -20
- package/dist/chunks/{command-jkdcm5hg.js → shared-cache-jkdcm5hg.js} +1 -1
- package/dist/chunks/{command-jtnps1zs.js → shared-cache-jtnps1zs.js} +2 -2
- package/dist/chunks/{command-jp4d7tph.js → shared-cache-jxr5ks98.js} +6 -6
- package/dist/chunks/{command-kj9n5bvh.js → shared-cache-k46dd5bg.js} +4 -4
- package/dist/chunks/{command-z75sjccv.js → shared-cache-k4jqjvqk.js} +17 -17
- package/dist/chunks/{command-0m2hpscf.js → shared-cache-kcvmrqty.js} +4 -4
- package/dist/chunks/{command-hqvy1seb.js → shared-cache-kfg9w0kz.js} +22 -22
- package/dist/chunks/{command-tp5psy3g.js → shared-cache-kpa6mjfj.js} +9 -9
- package/dist/chunks/{command-kt3bjfbg.js → shared-cache-kt3bjfbg.js} +1 -1
- package/dist/chunks/{command-kzczzf4v.js → shared-cache-kzczzf4v.js} +1 -1
- package/dist/chunks/{command-wmyfck53.js → shared-cache-kzw92vkv.js} +38 -38
- package/dist/chunks/{command-m1714858.js → shared-cache-m1714858.js} +1 -1
- package/dist/chunks/{command-g1r9ysfg.js → shared-cache-m6qqtaps.js} +357 -357
- package/dist/chunks/{command-66fewe6v.js → shared-cache-m7ksbpap.js} +88 -88
- package/dist/chunks/{command-mnhcj7qf.js → shared-cache-m9622p9a.js} +13 -13
- package/dist/chunks/{command-m9w0rfyh.js → shared-cache-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-8z6m94af.js → shared-cache-mb7mbhnz.js} +3 -3
- package/dist/chunks/{command-98h4mwq7.js → shared-cache-mjnhe1nq.js} +22 -22
- package/dist/chunks/{command-ybws1qgk.js → shared-cache-msd2a3qm.js} +4 -4
- package/dist/chunks/{command-rs6jcsrf.js → shared-cache-mv0k3gyx.js} +25 -25
- package/dist/chunks/{command-szscrh8z.js → shared-cache-mvvw8933.js} +28 -28
- package/dist/chunks/{command-4034feyd.js → shared-cache-mxxad9v0.js} +10 -10
- package/dist/chunks/{command-pph0sm0s.js → shared-cache-n5v7jmd6.js} +11 -11
- package/dist/chunks/{command-75q1s5an.js → shared-cache-nemnqzpn.js} +4 -4
- package/dist/chunks/{command-ptv6adae.js → shared-cache-nn1p33cp.js} +26 -26
- package/dist/chunks/{command-hk4d0qev.js → shared-cache-nsr0xhep.js} +31 -31
- package/dist/chunks/{command-dzdrzhkt.js → shared-cache-nv64swaj.js} +26 -26
- package/dist/chunks/{command-z0bs4asb.js → shared-cache-p33kn2f3.js} +4 -4
- package/dist/chunks/{command-rq1bn5ff.js → shared-cache-p7d7t6w3.js} +41 -41
- package/dist/chunks/{command-rpe9qcx0.js → shared-cache-p94q8hge.js} +39 -39
- package/dist/chunks/{command-axd1rwaf.js → shared-cache-p9xrsnvg.js} +26 -26
- package/dist/chunks/{command-s4kyhetj.js → shared-cache-pana0d56.js} +3 -3
- package/dist/chunks/{command-7fzp8zae.js → shared-cache-pap24bzz.js} +11 -11
- package/dist/chunks/{command-hqv8ds23.js → shared-cache-pe032dms.js} +9 -9
- package/dist/chunks/{command-fdegceef.js → shared-cache-pf5m8b3c.js} +29 -29
- package/dist/chunks/{command-kn3pbsk5.js → shared-cache-ph12y7yp.js} +3 -3
- package/dist/chunks/{command-pknna89w.js → shared-cache-pknna89w.js} +1 -1
- package/dist/chunks/{command-ag68y7y1.js → shared-cache-pm55fh0v.js} +21 -21
- package/dist/chunks/{command-wp9qxkj5.js → shared-cache-pmh2kq9n.js} +29 -29
- package/dist/chunks/{command-f1qx1v58.js → shared-cache-pn1g3a6b.js} +9 -9
- package/dist/chunks/{command-d390zwf3.js → shared-cache-pnwsrq7c.js} +8 -8
- package/dist/chunks/{command-acsz68z7.js → shared-cache-pp5gghwv.js} +1 -1
- package/dist/chunks/{command-j5fr71ge.js → shared-cache-pvx25tzf.js} +4 -4
- package/dist/chunks/{command-mdwaa3r0.js → shared-cache-qc39n20q.js} +14 -14
- package/dist/chunks/{command-nff5fnx5.js → shared-cache-qgr2wv1c.js} +30 -30
- package/dist/chunks/shared-cache-qmh7vbk2.js +18 -0
- package/dist/chunks/{command-qp7r0hxv.js → shared-cache-qp7r0hxv.js} +1 -1
- package/dist/chunks/{command-sgfm45rn.js → shared-cache-qpchws8n.js} +83 -83
- package/dist/chunks/{command-frktwh14.js → shared-cache-qqg4080p.js} +7 -7
- package/dist/chunks/{command-qqvy8y24.js → shared-cache-qqvy8y24.js} +1 -1
- package/dist/chunks/{command-qsdghx1p.js → shared-cache-qsdghx1p.js} +1 -1
- package/dist/chunks/{command-qw2t3dzn.js → shared-cache-qw2t3dzn.js} +3 -3
- package/dist/chunks/{command-bjr4tvbr.js → shared-cache-qwr0zwd0.js} +3 -3
- package/dist/chunks/{command-rtqf1qnx.js → shared-cache-qx7d52zy.js} +33 -33
- package/dist/chunks/{command-8ktngwzh.js → shared-cache-r1xc615x.js} +28 -28
- package/dist/chunks/{command-5enarcya.js → shared-cache-r41sfy63.js} +9 -9
- package/dist/chunks/{command-jfn1q9at.js → shared-cache-r4gz9jm9.js} +13 -13
- package/dist/chunks/{command-rb9dy4dg.js → shared-cache-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-f163p87t.js → shared-cache-rc7cmy01.js} +9 -9
- package/dist/chunks/{command-pafwnz17.js → shared-cache-rd3k82cy.js} +8 -8
- package/dist/chunks/{command-f8bbmp6a.js → shared-cache-ree0x2as.js} +11 -11
- package/dist/chunks/{command-x79ghvf2.js → shared-cache-rhx7sxcq.js} +9 -9
- package/dist/chunks/{command-c5zvymhv.js → shared-cache-rj7j5fvs.js} +4 -4
- package/dist/chunks/{command-rt5dr6hb.js → shared-cache-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-pemyrp0y.js → shared-cache-s2xjhrkd.js} +4 -4
- package/dist/chunks/{command-sa3fpqfw.js → shared-cache-sa3fpqfw.js} +2 -2
- package/dist/chunks/{command-sbya78hr.js → shared-cache-sbya78hr.js} +1 -1
- package/dist/chunks/{command-rg9j8c64.js → shared-cache-segd0erw.js} +7 -7
- package/dist/chunks/{command-k0dmerk5.js → shared-cache-spe6nwpw.js} +24 -24
- package/dist/chunks/{command-467b3p22.js → shared-cache-sqaq72qw.js} +11 -11
- package/dist/chunks/{command-0j7gp832.js → shared-cache-sqjzf8x2.js} +4 -4
- package/dist/chunks/{command-g3jajyb4.js → shared-cache-stztk7h0.js} +23 -23
- package/dist/chunks/{command-svcy3p9a.js → shared-cache-svcy3p9a.js} +1 -1
- package/dist/chunks/{command-1fjqwg4j.js → shared-cache-sykxe607.js} +59 -59
- package/dist/chunks/{command-4sq52vjb.js → shared-cache-szgw3rmb.js} +47 -47
- package/dist/chunks/{command-p4q03rmg.js → shared-cache-szt8as1t.js} +20 -20
- package/dist/chunks/{command-96djdqw5.js → shared-cache-szwm4crx.js} +4 -4
- package/dist/chunks/{command-tb2mrvc9.js → shared-cache-tb2mrvc9.js} +1 -1
- package/dist/chunks/{command-d7x2s5pv.js → shared-cache-tb4cnk9d.js} +4 -4
- package/dist/chunks/{command-tczq8hjw.js → shared-cache-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-gxs71cxp.js → shared-cache-tg7s7b5t.js} +4 -4
- package/dist/chunks/{command-j376ae4e.js → shared-cache-tr8x705m.js} +5 -5
- package/dist/chunks/{command-twssxy5n.js → shared-cache-twssxy5n.js} +2 -2
- package/dist/chunks/{command-v2r1d0zg.js → shared-cache-v2r1d0zg.js} +1 -1
- package/dist/chunks/{command-ykvsfm8k.js → shared-cache-v5hpj9dd.js} +8 -8
- package/dist/chunks/{command-t323kqwe.js → shared-cache-vdgf3x25.js} +12 -12
- package/dist/chunks/{command-6rehztjd.js → shared-cache-vgsh18yn.js} +11 -11
- package/dist/chunks/{command-vvrd773r.js → shared-cache-vgt1abs0.js} +25 -25
- package/dist/chunks/{command-vjf35v1f.js → shared-cache-vjf35v1f.js} +1 -1
- package/dist/chunks/{command-h91vm5r2.js → shared-cache-vq0qa3sh.js} +9 -9
- package/dist/chunks/{command-zxrsq0zh.js → shared-cache-vtnm23gn.js} +13 -13
- package/dist/chunks/{command-28q9vvsb.js → shared-cache-w17yb6n4.js} +9 -9
- package/dist/chunks/{command-w3wsvvr9.js → shared-cache-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-wr3re1en.js → shared-cache-w687dnns.js} +4 -4
- package/dist/chunks/{command-wakvkjy4.js → shared-cache-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → shared-cache-wd87259q.js} +1 -1
- package/dist/chunks/{command-nx4vzyjd.js → shared-cache-wegkxhrn.js} +2 -2
- package/dist/chunks/{command-aenn6vam.js → shared-cache-wfs84ra6.js} +7 -7
- package/dist/chunks/{command-enq2s1fc.js → shared-cache-wgzqyxnv.js} +12 -12
- package/dist/chunks/{command-ckev4zzb.js → shared-cache-wmxbp2m1.js} +28 -28
- package/dist/chunks/{command-wnhgecwx.js → shared-cache-wnhgecwx.js} +1 -1
- package/dist/chunks/{command-th74p2h3.js → shared-cache-wtpcbd8x.js} +15 -15
- package/dist/chunks/{command-k9s4eaab.js → shared-cache-wv6svstt.js} +31 -31
- package/dist/chunks/{command-9n68tmyf.js → shared-cache-wvcem29w.js} +5 -5
- package/dist/chunks/{command-nyxvvj5y.js → shared-cache-wvr8xscb.js} +4 -4
- package/dist/chunks/{command-x3agqc95.js → shared-cache-ww26epb1.js} +15 -15
- package/dist/chunks/{command-v0mzemm6.js → shared-cache-x1138qf2.js} +11 -11
- package/dist/chunks/{command-qj7pvvpf.js → shared-cache-x6x1nndz.js} +30 -30
- package/dist/chunks/{command-y4hqb8zf.js → shared-cache-x8jx2pq0.js} +11 -11
- package/dist/chunks/{command-yjw0tny1.js → shared-cache-x9y7w5qr.js} +32 -32
- package/dist/chunks/{command-bstexjd6.js → shared-cache-xd9cc171.js} +5 -5
- package/dist/chunks/{command-8xz27cp9.js → shared-cache-xksw6ev0.js} +4 -4
- package/dist/chunks/{command-j3f8hyeg.js → shared-cache-xmx7xj34.js} +4 -4
- package/dist/chunks/{command-q3cah92p.js → shared-cache-xrtd710r.js} +7 -7
- package/dist/chunks/{command-12g9ep21.js → shared-cache-xs0w7nj3.js} +5 -5
- package/dist/chunks/{command-6ss6ngz0.js → shared-cache-xsvq7cjt.js} +4 -4
- package/dist/chunks/{command-rwsvr4dq.js → shared-cache-xxh1ym0y.js} +5 -5
- package/dist/chunks/{command-r6mcamb5.js → shared-cache-xzqp8jdw.js} +23 -23
- package/dist/chunks/{command-cmrdg35n.js → shared-cache-y1r4n95f.js} +5 -5
- package/dist/chunks/{command-6f40yt45.js → shared-cache-y37rxwzh.js} +15 -15
- package/dist/chunks/{command-vsc4dw33.js → shared-cache-y4t0y6zk.js} +13 -13
- package/dist/chunks/{command-kqtx5w6f.js → shared-cache-y6z0jv9h.js} +18 -18
- package/dist/chunks/{command-hretfjjx.js → shared-cache-y9c350ew.js} +2 -2
- package/dist/chunks/{command-yb20nhc3.js → shared-cache-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-yv0q8n2v.js → shared-cache-ybw2rd55.js} +14 -14
- package/dist/chunks/{command-yr705xyq.js → shared-cache-yr705xyq.js} +1 -1
- package/dist/chunks/{command-ss2grsr1.js → shared-cache-ytj76p73.js} +25 -25
- package/dist/chunks/{command-m35sj09n.js → shared-cache-yv1nawr6.js} +12 -12
- package/dist/chunks/{command-jktx46qt.js → shared-cache-yvbkpmy4.js} +29 -29
- package/dist/chunks/{command-yvtc2x31.js → shared-cache-yvtc2x31.js} +1 -1
- package/dist/chunks/{command-jqp59910.js → shared-cache-yx89v5j3.js} +25 -25
- package/dist/chunks/{command-98hszmvx.js → shared-cache-yyr882aa.js} +3 -3
- package/dist/chunks/{command-90ct6wq4.js → shared-cache-z080rjh6.js} +4 -4
- package/dist/chunks/{command-tsvf0ypj.js → shared-cache-z0naddr1.js} +8 -8
- package/dist/chunks/{command-j9nxzz3g.js → shared-cache-ze75qvmd.js} +3 -3
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/execution.js +5 -5
- package/dist/codemode/fetch.js +145 -145
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +151 -151
- package/dist/command.js +94 -94
- package/dist/config/discovery.js +95 -95
- package/dist/config/integration.js +5 -5
- 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 +132 -132
- package/dist/config/plugin/command.js +231 -231
- package/dist/config/plugin/compaction.js +171 -171
- package/dist/config/plugin/compatibility.js +150 -150
- 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 +132 -132
- 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 +132 -132
- package/dist/config/plugin/skill-file.js +146 -146
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +153 -153
- package/dist/config/plugin/snapshot.js +130 -130
- package/dist/config/plugin/source.js +133 -133
- package/dist/config/plugin/tool-output.js +131 -131
- package/dist/config/plugin/websearch.js +131 -131
- 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 +133 -133
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +92 -92
- 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 +62 -62
- 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 +106 -106
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +430 -430
- 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 +106 -106
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +108 -108
- 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 +152 -152
- package/dist/file-mutation.js +109 -107
- 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 +91 -91
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +245 -245
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +112 -112
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +117 -117
- package/dist/form.js +93 -93
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +100 -100
- package/dist/generate.js +114 -114
- 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 +3 -3
- 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 +421 -421
- package/dist/instruction-discovery.js +93 -93
- package/dist/instructions/builtins.js +100 -100
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +98 -98
- package/dist/job/sql.js +2 -2
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +84 -84
- package/dist/location-activity.js +179 -179
- package/dist/location-lifecycle.js +150 -150
- package/dist/location-service-map.js +99 -99
- package/dist/location-services.js +418 -418
- package/dist/location.js +96 -96
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +104 -104
- package/dist/mcp/index.js +114 -114
- package/dist/mcp/instructions.js +181 -181
- package/dist/mcp/oauth.js +89 -89
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +103 -103
- 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 +113 -113
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +117 -117
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +91 -91
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +149 -149
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +99 -99
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +86 -86
- package/dist/plugin/agent.js +87 -87
- package/dist/plugin/command.js +115 -115
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +236 -236
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +397 -397
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +110 -110
- package/dist/plugin/module.js +129 -129
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +144 -144
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +104 -104
- package/dist/plugin/provider/azure.js +132 -132
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +130 -130
- 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 +145 -145
- package/dist/plugin/provider/claude-agent/instructions.js +114 -114
- package/dist/plugin/provider/claude-agent/integration.js +113 -113
- package/dist/plugin/provider/claude-agent/language-model/claude-agent-error.js +3 -3
- 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 +6 -6
- 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 +1 -1
- package/dist/plugin/provider/claude-agent/provider.js +110 -110
- package/dist/plugin/provider/claude-agent/session.js +110 -110
- 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 +1 -1
- 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 +128 -128
- package/dist/plugin/provider/cloudflare-workers-ai.js +128 -128
- package/dist/plugin/provider/configured.js +126 -126
- package/dist/plugin/provider/credential-settings.js +85 -85
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +108 -108
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +110 -110
- package/dist/plugin/provider/gitlab.js +107 -107
- 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 +139 -139
- package/dist/plugin/provider/local.js +136 -136
- package/dist/plugin/provider/modal.js +107 -107
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +139 -139
- package/dist/plugin/provider/openai-context-caps.js +103 -103
- package/dist/plugin/provider/openai.js +130 -130
- package/dist/plugin/provider/opencode.js +132 -132
- 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 +129 -129
- package/dist/plugin/provider/vllm.js +139 -139
- package/dist/plugin/provider/xai.js +104 -104
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +212 -212
- package/dist/plugin/sdk.js +87 -87
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +147 -147
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +409 -409
- 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 +128 -128
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +247 -247
- 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 +99 -99
- package/dist/provider.js +110 -110
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +107 -107
- package/dist/reference/instructions.js +101 -101
- package/dist/reference.js +99 -99
- package/dist/repository-cache.js +93 -93
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +108 -108
- package/dist/rpc.js +99 -99
- package/dist/schedule/check.js +241 -241
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +243 -243
- 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 +129 -129
- package/dist/session/command.js +85 -85
- package/dist/session/compaction.js +173 -173
- package/dist/session/context.js +198 -198
- package/dist/session/diff.js +101 -101
- 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 +246 -246
- package/dist/session/execution.js +165 -165
- package/dist/session/generate.js +198 -198
- package/dist/session/history.js +136 -136
- package/dist/session/inbox.js +147 -147
- 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 +143 -143
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +168 -168
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +165 -165
- package/dist/session/projector.js +143 -143
- package/dist/session/prompt.js +148 -148
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +139 -139
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +250 -250
- 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 +149 -149
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +163 -163
- package/dist/session/runner/to-llm-message.js +137 -137
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +181 -181
- package/dist/session/shell.js +144 -144
- package/dist/session/skill.js +147 -147
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +86 -86
- package/dist/session/store.js +142 -142
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +229 -229
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +202 -202
- package/dist/session/to-session-error.js +148 -148
- package/dist/session/transfer.js +240 -240
- package/dist/session/usage.js +1 -1
- package/dist/session.js +231 -231
- 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 +11 -11
- package/dist/shell.js +146 -146
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +151 -151
- package/dist/skill.js +154 -154
- package/dist/snapshot.js +106 -106
- 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 +180 -180
- package/dist/tool/plugin/artifact.js +228 -228
- package/dist/tool/plugin/edit.js +164 -164
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +166 -166
- package/dist/tool/plugin/grep.js +164 -164
- package/dist/tool/plugin/image-generate.js +239 -239
- package/dist/tool/plugin/mcp-resource.js +162 -162
- package/dist/tool/plugin/opencode.js +161 -161
- package/dist/tool/plugin/patch.js +166 -166
- package/dist/tool/plugin/question.js +146 -146
- package/dist/tool/plugin/read.js +165 -165
- package/dist/tool/plugin/schedule.js +247 -247
- package/dist/tool/plugin/shell.js +235 -235
- package/dist/tool/plugin/skill.js +155 -155
- package/dist/tool/plugin/subagent.js +236 -236
- package/dist/tool/plugin/todo.js +147 -147
- package/dist/tool/plugin/webfetch.js +157 -157
- package/dist/tool/plugin/websearch.js +155 -155
- package/dist/tool/plugin/write.js +166 -166
- package/dist/tool/read-filesystem.js +113 -113
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +161 -161
- package/dist/types/file-mutation.d.ts +8 -1
- package/dist/types/project/icon.d.ts +2 -2
- package/dist/usage-limits.js +94 -94
- 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 +3 -3
- 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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +104 -104
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +100 -100
- package/dist/voice.js +99 -99
- package/dist/websearch.js +93 -93
- package/dist/wellknown/plugin.js +87 -87
- package/dist/wellknown.js +90 -90
- package/dist/workspace/driver.js +5 -5
- 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 +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +102 -102
- package/dist/worktree.js +111 -111
- package/package.json +8 -8
- package/dist/chunks/command-dypb56j1.js +0 -16
- package/dist/chunks/command-mary8sqy.js +0 -261
- package/dist/chunks/command-x3bvnkne.js +0 -26
- package/dist/chunks/command-z355x5yr.js +0 -18
- /package/dist/chunks/{command-0qkdqm5v.js → shared-cache-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → shared-cache-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → shared-cache-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → shared-cache-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-1kah00gy.js → shared-cache-1kah00gy.js} +0 -0
- /package/dist/chunks/{command-1pevy3nx.js → shared-cache-1pevy3nx.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → shared-cache-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → shared-cache-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → shared-cache-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → shared-cache-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → shared-cache-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → shared-cache-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → shared-cache-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → shared-cache-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → shared-cache-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → shared-cache-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4qk9sjk2.js → shared-cache-4qk9sjk2.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → shared-cache-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → shared-cache-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → shared-cache-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → shared-cache-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5w3e23ze.js → shared-cache-5w3e23ze.js} +0 -0
- /package/dist/chunks/{command-6agm2x70.js → shared-cache-6agm2x70.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → shared-cache-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → shared-cache-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → shared-cache-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → shared-cache-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → shared-cache-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → shared-cache-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → shared-cache-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → shared-cache-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → shared-cache-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → shared-cache-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → shared-cache-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → shared-cache-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → shared-cache-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → shared-cache-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → shared-cache-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → shared-cache-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-beh6qq61.js → shared-cache-beh6qq61.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → shared-cache-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → shared-cache-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → shared-cache-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cqv5kn06.js → shared-cache-cqv5kn06.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → shared-cache-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → shared-cache-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → shared-cache-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → shared-cache-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-dbht28n9.js → shared-cache-dbht28n9.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → shared-cache-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → shared-cache-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → shared-cache-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → shared-cache-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ean2d8b5.js → shared-cache-ean2d8b5.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → shared-cache-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → shared-cache-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → shared-cache-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → shared-cache-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → shared-cache-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → shared-cache-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → shared-cache-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-fkpq3x5p.js → shared-cache-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → shared-cache-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → shared-cache-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → shared-cache-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → shared-cache-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → shared-cache-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → shared-cache-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → shared-cache-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → shared-cache-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → shared-cache-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → shared-cache-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → shared-cache-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jwr30sdr.js → shared-cache-jwr30sdr.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → shared-cache-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → shared-cache-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → shared-cache-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → shared-cache-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → shared-cache-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → shared-cache-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-nh4v3znn.js → shared-cache-nh4v3znn.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → shared-cache-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-p71gwv9c.js → shared-cache-p71gwv9c.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → shared-cache-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → shared-cache-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → shared-cache-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → shared-cache-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → shared-cache-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → shared-cache-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → shared-cache-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → shared-cache-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → shared-cache-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → shared-cache-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-syrav9an.js → shared-cache-syrav9an.js} +0 -0
- /package/dist/chunks/{command-t03h4f5z.js → shared-cache-t03h4f5z.js} +0 -0
- /package/dist/chunks/{command-ty7weeps.js → shared-cache-ty7weeps.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → shared-cache-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-vtarvj67.js → shared-cache-vtarvj67.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → shared-cache-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → shared-cache-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → shared-cache-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → shared-cache-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → shared-cache-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → shared-cache-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → shared-cache-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → shared-cache-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → shared-cache-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → shared-cache-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → shared-cache-z9919s4g.js} +0 -0
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-sykxe607.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-6agm2x70.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-rb9dy4dg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID20,
|
|
6
|
+
Service82
|
|
7
|
+
} from "./shared-cache-e09ngpdh.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shared-cache-dv250zvr.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shared-cache-pana0d56.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shared-cache-mb7mbhnz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service82;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID20.make(from),
|
|
91
|
+
to: ID20.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Failed2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
execDefaults2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-jtnps1zs.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service90,
|
|
9
|
+
node93
|
|
10
|
+
} from "./shared-cache-hvra224z.js";
|
|
11
11
|
import {
|
|
12
12
|
makeUnsafe2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shared-cache-8cg7mtm3.js";
|
|
14
14
|
import {
|
|
15
15
|
Binding2,
|
|
16
16
|
RegistryService2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
node84
|
|
18
|
+
} from "./shared-cache-3kmrk0at.js";
|
|
19
19
|
import {
|
|
20
20
|
WorkspaceTable2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shared-cache-faypxj3z.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/workspace.ts
|
|
27
27
|
var exports_workspace = {};
|
|
28
28
|
__export(exports_workspace, {
|
|
29
29
|
CreateConflict: () => CreateConflict2,
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
30
|
+
ID: () => ID19,
|
|
31
|
+
Info: () => Info29,
|
|
32
32
|
NotFound: () => NotFound2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service81,
|
|
34
34
|
Workspace: () => exports_workspace,
|
|
35
|
-
configured: () =>
|
|
36
|
-
node: () =>
|
|
35
|
+
configured: () => configured11,
|
|
36
|
+
node: () => node83
|
|
37
37
|
});
|
|
38
38
|
import { Workspace } from "@opencode/schema/workspace";
|
|
39
39
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -41,10 +41,10 @@ import { eq } from "drizzle-orm";
|
|
|
41
41
|
import { Clock, Context, Deferred, Duration, Effect, Exit, FiberSet, Layer, Ref, Schedule, Schema, Scope } from "effect";
|
|
42
42
|
import { systemError } from "effect/PlatformError";
|
|
43
43
|
import { make } from "effect/process/ChildProcessSpawner";
|
|
44
|
-
var
|
|
44
|
+
var ID19 = Workspace.ID;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info29 extends Schema.Class("Workspace.Info")({
|
|
47
|
+
id: ID19,
|
|
48
48
|
provider: Schema.String,
|
|
49
49
|
binding: Binding2,
|
|
50
50
|
createdAt: Schema.Number,
|
|
@@ -52,25 +52,25 @@ class Info14 extends Schema.Class("Workspace.Info")({
|
|
|
52
52
|
}) {
|
|
53
53
|
}
|
|
54
54
|
|
|
55
|
-
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID:
|
|
55
|
+
class NotFound2 extends Schema.TaggedError()("Workspace.NotFound", { workspaceID: ID19 }) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
class CreateConflict2 extends Schema.TaggedError()("Workspace.CreateConflict", {
|
|
59
|
-
workspaceID:
|
|
59
|
+
workspaceID: ID19,
|
|
60
60
|
provider: Schema.String,
|
|
61
61
|
existingProvider: Schema.String
|
|
62
62
|
}) {
|
|
63
63
|
}
|
|
64
64
|
|
|
65
|
-
class
|
|
65
|
+
class Service81 extends Context.Service()("@opencode/Workspace") {
|
|
66
66
|
}
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
67
|
+
var configured11 = (options = {}) => makeGlobalNode({
|
|
68
|
+
service: Service81,
|
|
69
69
|
layer: layer(options),
|
|
70
|
-
deps: [
|
|
70
|
+
deps: [node93, node84]
|
|
71
71
|
});
|
|
72
|
-
var layer = (options) => Layer.effect(
|
|
73
|
-
const db = (yield*
|
|
72
|
+
var layer = (options) => Layer.effect(Service81, Effect.gen(function* () {
|
|
73
|
+
const db = (yield* Service90).db;
|
|
74
74
|
const registry = yield* RegistryService2;
|
|
75
75
|
const lifetime = yield* Scope.Scope;
|
|
76
76
|
const connections = new Map;
|
|
@@ -86,7 +86,7 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
86
86
|
return row;
|
|
87
87
|
});
|
|
88
88
|
const saveBinding = (workspaceID, binding) => db.update(WorkspaceTable2).set({ binding }).where(eq(WorkspaceTable2.id, workspaceID)).run().pipe(Effect.orDie);
|
|
89
|
-
const info = (row, binding) => new
|
|
89
|
+
const info = (row, binding) => new Info29({
|
|
90
90
|
id: row.id,
|
|
91
91
|
provider: row.provider,
|
|
92
92
|
binding,
|
|
@@ -164,9 +164,9 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
164
164
|
yield* Scope.close(connection.scope, Exit.void);
|
|
165
165
|
}).pipe(Effect.catchCause((cause) => Effect.logError("workspace idle suspension failed", cause)))), { concurrency: "unbounded", discard: true });
|
|
166
166
|
}).pipe(Effect.repeat(Schedule.spaced(options.pollInterval ?? Duration.minutes(1))), Effect.forkScoped);
|
|
167
|
-
return
|
|
167
|
+
return Service81.of({
|
|
168
168
|
create: Effect.fn("Workspace.create")(function* (input) {
|
|
169
|
-
const workspaceID = input.id ??
|
|
169
|
+
const workspaceID = input.id ?? ID19.create();
|
|
170
170
|
const existing = yield* db.select({ provider: WorkspaceTable2.provider }).from(WorkspaceTable2).where(eq(WorkspaceTable2.id, workspaceID)).get().pipe(Effect.orDie);
|
|
171
171
|
if (existing) {
|
|
172
172
|
if (existing.provider === input.provider)
|
|
@@ -242,6 +242,6 @@ var layer = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
242
242
|
})
|
|
243
243
|
});
|
|
244
244
|
}));
|
|
245
|
-
var
|
|
245
|
+
var node83 = configured11();
|
|
246
246
|
|
|
247
|
-
export {
|
|
247
|
+
export { ID19, Info29, NotFound2, CreateConflict2, Service81, configured11, node83, exports_workspace };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shared-cache-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
NonNegativeInt2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shared-cache-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./shared-cache-pm55fh0v.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service63
|
|
12
|
+
} from "./shared-cache-j05qjvrv.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service68
|
|
15
|
+
} from "./shared-cache-hp5p8e88.js";
|
|
16
16
|
import {
|
|
17
17
|
Service14,
|
|
18
18
|
resolvePath2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shared-cache-8ejs04fm.js";
|
|
20
20
|
import {
|
|
21
21
|
output2,
|
|
22
22
|
notice2,
|
|
23
23
|
metadata2,
|
|
24
24
|
notification2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shared-cache-89287pr7.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
27
|
+
Service48,
|
|
28
28
|
name17
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shared-cache-y37rxwzh.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
NotFoundError7,
|
|
32
|
+
Service44
|
|
33
|
+
} from "./shared-cache-b948jmy1.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service30
|
|
36
|
+
} from "./shared-cache-m7ksbpap.js";
|
|
37
37
|
import {
|
|
38
38
|
scan3
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./shared-cache-p33kn2f3.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/tool/plugin/shell.ts
|
|
45
|
-
var
|
|
46
|
-
__export(
|
|
45
|
+
var exports_shell = {};
|
|
46
|
+
__export(exports_shell, {
|
|
47
47
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
48
|
-
Input: () =>
|
|
49
|
-
Plugin: () =>
|
|
50
|
-
ShellTool: () =>
|
|
51
|
-
name: () =>
|
|
48
|
+
Input: () => Input3,
|
|
49
|
+
Plugin: () => Plugin6,
|
|
50
|
+
ShellTool: () => exports_shell,
|
|
51
|
+
name: () => name3
|
|
52
52
|
});
|
|
53
53
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
54
54
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
55
|
-
var
|
|
55
|
+
var name3 = "shell";
|
|
56
56
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
57
57
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
58
58
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -66,7 +66,7 @@ var description = (shell) => [
|
|
|
66
66
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
67
67
|
"Background commands return immediately, and you will be notified when they complete."
|
|
68
68
|
].join(" ");
|
|
69
|
-
var
|
|
69
|
+
var Input3 = Schema.Struct({
|
|
70
70
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
71
71
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
72
72
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -112,18 +112,18 @@ Output is streaming to: ${file}`,
|
|
|
112
112
|
truncated: false,
|
|
113
113
|
status: "running"
|
|
114
114
|
});
|
|
115
|
-
var
|
|
115
|
+
var Plugin6 = {
|
|
116
116
|
id: "opencode.tool.shell",
|
|
117
117
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
118
|
-
const sessions = yield*
|
|
119
|
-
const jobs = yield*
|
|
118
|
+
const sessions = yield* Service30;
|
|
119
|
+
const jobs = yield* Service63;
|
|
120
120
|
const scope = yield* Scope.Scope;
|
|
121
|
-
const environment = yield*
|
|
121
|
+
const environment = yield* Service56;
|
|
122
122
|
const access = yield* Service14;
|
|
123
|
-
const shell = yield*
|
|
124
|
-
const shellSelect = yield*
|
|
123
|
+
const shell = yield* Service44;
|
|
124
|
+
const shellSelect = yield* Service48;
|
|
125
125
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
126
|
-
const permission = yield*
|
|
126
|
+
const permission = yield* Service68;
|
|
127
127
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
128
128
|
const source = {
|
|
129
129
|
type: "tool",
|
|
@@ -141,7 +141,7 @@ var Plugin45 = {
|
|
|
141
141
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
142
142
|
if (parsed.commands.length > 0)
|
|
143
143
|
yield* permission.assert({
|
|
144
|
-
action:
|
|
144
|
+
action: name3,
|
|
145
145
|
resources: parsed.commands.map((command) => command.resource),
|
|
146
146
|
save: parsed.commands.map((command) => command.save),
|
|
147
147
|
sessionID: context.sessionID,
|
|
@@ -178,10 +178,10 @@ var Plugin45 = {
|
|
|
178
178
|
yield* jobs.completeBackground(info.notificationID);
|
|
179
179
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
180
180
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
181
|
-
name:
|
|
181
|
+
name: name3,
|
|
182
182
|
options: { codemode: false },
|
|
183
183
|
description: description(),
|
|
184
|
-
input:
|
|
184
|
+
input: Input3,
|
|
185
185
|
output: Output,
|
|
186
186
|
execute: (input, context) => Effect.gen(function* () {
|
|
187
187
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -204,7 +204,7 @@ var Plugin45 = {
|
|
|
204
204
|
const run = Effect.gen(function* () {
|
|
205
205
|
const result = yield* shell.result(info);
|
|
206
206
|
if (!result.capture)
|
|
207
|
-
return yield* new
|
|
207
|
+
return yield* new NotFoundError7({ id: info.id });
|
|
208
208
|
const output = output2(result);
|
|
209
209
|
return {
|
|
210
210
|
...output,
|
|
@@ -218,7 +218,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
218
218
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
219
219
|
const job = yield* jobs.start({
|
|
220
220
|
id: info.id,
|
|
221
|
-
type:
|
|
221
|
+
type: name3,
|
|
222
222
|
title: info.command,
|
|
223
223
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
224
224
|
recovery: {
|
|
@@ -248,7 +248,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
248
248
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
249
249
|
})).pipe(Effect.orDie);
|
|
250
250
|
const hook = (event) => Effect.gen(function* () {
|
|
251
|
-
const tool = event.tools[
|
|
251
|
+
const tool = event.tools[name3];
|
|
252
252
|
if (!tool)
|
|
253
253
|
return;
|
|
254
254
|
tool.description = description(name17(yield* compatibleShell));
|
|
@@ -259,4 +259,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
259
259
|
})
|
|
260
260
|
};
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { name3, DEFAULT_TIMEOUT_MS2, Input3, Plugin6, exports_shell };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
aisdk2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shared-cache-8889jn16.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
ID14,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Family2,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Info23
|
|
10
|
+
} from "./shared-cache-a4ejydmw.js";
|
|
11
11
|
import {
|
|
12
12
|
connectionEnv2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shared-cache-660m4eb8.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/provider/claude-agent/provider.ts
|
|
19
19
|
var exports_provider = {};
|
|
@@ -22,10 +22,10 @@ __export(exports_provider, {
|
|
|
22
22
|
ID: () => ID3,
|
|
23
23
|
PACKAGE: () => PACKAGE2,
|
|
24
24
|
connection: () => connection2,
|
|
25
|
-
register: () =>
|
|
25
|
+
register: () => register6
|
|
26
26
|
});
|
|
27
27
|
import { Effect, Option, Schema, Stream, SubscriptionRef } from "effect";
|
|
28
|
-
var ID3 =
|
|
28
|
+
var ID3 = ID15.claudeAgent;
|
|
29
29
|
var PACKAGE2 = "@opencode/claude-agent";
|
|
30
30
|
var CatalogModel = Schema.Struct({
|
|
31
31
|
id: Schema.String,
|
|
@@ -35,20 +35,20 @@ var CatalogModel = Schema.Struct({
|
|
|
35
35
|
resolvedModel: Schema.optionalKey(Schema.String)
|
|
36
36
|
});
|
|
37
37
|
var Catalog = Schema.Struct({
|
|
38
|
-
priceSource: Schema.optionalKey(
|
|
38
|
+
priceSource: Schema.optionalKey(ID15),
|
|
39
39
|
models: Schema.Array(CatalogModel)
|
|
40
40
|
});
|
|
41
41
|
var CATALOG_KEY = "models";
|
|
42
42
|
var PRICE_SOURCES = {
|
|
43
|
-
firstParty:
|
|
44
|
-
anthropicAws:
|
|
45
|
-
anthropicGoogleCloud:
|
|
46
|
-
mantle:
|
|
47
|
-
bedrock:
|
|
48
|
-
vertex:
|
|
49
|
-
foundry:
|
|
43
|
+
firstParty: ID15.anthropic,
|
|
44
|
+
anthropicAws: ID15.anthropic,
|
|
45
|
+
anthropicGoogleCloud: ID15.anthropic,
|
|
46
|
+
mantle: ID15.anthropic,
|
|
47
|
+
bedrock: ID15.amazonBedrock,
|
|
48
|
+
vertex: ID15.googleVertex,
|
|
49
|
+
foundry: ID15.azure
|
|
50
50
|
};
|
|
51
|
-
var
|
|
51
|
+
var register6 = Effect.fn("ClaudeProvider.register")(function* (ctx, status, io) {
|
|
52
52
|
const saved = Schema.decodeUnknownOption(Catalog)(yield* ctx.storage.get(CATALOG_KEY));
|
|
53
53
|
const current = { catalog: Option.getOrElse(saved, () => ({ models: [] })) };
|
|
54
54
|
yield* ctx.provider.transform((editor) => {
|
|
@@ -117,7 +117,7 @@ function priceSource(account, baseURL) {
|
|
|
117
117
|
return PRICE_SOURCES[account.apiProvider];
|
|
118
118
|
}
|
|
119
119
|
function toModel(model, prices) {
|
|
120
|
-
const defaults =
|
|
120
|
+
const defaults = Info23.default(ID3, ID14.make(model.id));
|
|
121
121
|
const id = (model.resolvedModel ?? model.id).replace(/\[1m\]$/, "");
|
|
122
122
|
const priced = prices?.get(id) ?? prices?.get(id.replace(/^anthropic\./, "")) ?? prices?.get(`${id}@default`);
|
|
123
123
|
return {
|
|
@@ -131,4 +131,4 @@ function toModel(model, prices) {
|
|
|
131
131
|
};
|
|
132
132
|
}
|
|
133
133
|
|
|
134
|
-
export { ID3, PACKAGE2,
|
|
134
|
+
export { ID3, PACKAGE2, register6, connection2, exports_provider };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service90,
|
|
3
|
+
node93
|
|
4
|
+
} from "./shared-cache-hvra224z.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node88
|
|
8
|
+
} from "./shared-cache-44jvmyw9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service62,
|
|
11
|
+
node64
|
|
12
|
+
} from "./shared-cache-fpjxw46t.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shared-cache-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service84,
|
|
19
19
|
node87
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shared-cache-1rfmbpcr.js";
|
|
21
21
|
import {
|
|
22
22
|
Ref5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shared-cache-j5pp33gg.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service64,
|
|
26
|
+
node66
|
|
27
|
+
} from "./shared-cache-6qqp4y7r.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shared-cache-gftt206x.js";
|
|
31
31
|
import {
|
|
32
32
|
NotFoundError11
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./shared-cache-pana0d56.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shared-cache-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service60
|
|
39
|
+
} from "./shared-cache-3gv0spa2.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service69,
|
|
42
|
+
node71
|
|
43
|
+
} from "./shared-cache-gn6y8vzr.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service61,
|
|
48
|
+
node63,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./shared-cache-r1xc615x.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service59,
|
|
53
|
+
node62
|
|
54
|
+
} from "./shared-cache-bexzbe2y.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node39
|
|
57
|
+
} from "./shared-cache-mv0k3gyx.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./shared-cache-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service31,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node34
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,19 +83,19 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service31 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
91
|
const projects = yield* Service84;
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
92
|
+
const locations = yield* Service64;
|
|
93
|
+
const store = yield* Service69;
|
|
94
|
+
const execution = yield* Service59;
|
|
95
|
+
const instances = yield* Service62;
|
|
96
|
+
const admission = yield* Service61;
|
|
97
|
+
const database = yield* Service90;
|
|
98
|
+
const bus = yield* Service85;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service60.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(Cause.fromReasons(cause.reasons.filter(Cause.isInterruptReason))) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service31.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node34 = makeGlobalNode({
|
|
167
|
+
service: Service31,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
172
|
node87,
|
|
173
|
+
node66,
|
|
174
|
+
node71,
|
|
175
|
+
node62,
|
|
176
|
+
node64,
|
|
173
177
|
node63,
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
node60,
|
|
178
|
-
node92,
|
|
179
|
-
node91,
|
|
180
|
-
node36
|
|
178
|
+
node93,
|
|
179
|
+
node88,
|
|
180
|
+
node39
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
|