@opencode/core 0.0.0-dev-21557 → 0.0.0-dev-21561
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 +79 -79
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/model-resolver-0207mz92.js +523 -0
- package/dist/chunks/{command-034tev2y.js → model-resolver-034tev2y.js} +2 -2
- package/dist/chunks/{command-2mq1h16s.js → model-resolver-0421tmwc.js} +9 -9
- package/dist/chunks/{command-mvnn9g24.js → model-resolver-08ftexb4.js} +22 -22
- package/dist/chunks/{command-wrc6k2zh.js → model-resolver-0anhksjf.js} +11 -11
- package/dist/chunks/{command-zhdc5kpb.js → model-resolver-0jqtqcam.js} +11 -11
- package/dist/chunks/{command-4ezxk448.js → model-resolver-0pkr6qt9.js} +56 -56
- package/dist/chunks/{command-pex2677d.js → model-resolver-0rq01gt9.js} +5 -5
- package/dist/chunks/{command-8qcf7amm.js → model-resolver-0s4gbdd0.js} +10 -10
- package/dist/chunks/{command-y4g1qmba.js → model-resolver-0sd3e6sm.js} +9 -9
- package/dist/chunks/{command-p6d0b62k.js → model-resolver-158zhnz6.js} +12 -12
- package/dist/chunks/{command-sjs7wga1.js → model-resolver-1dpax7s7.js} +35 -35
- package/dist/chunks/{command-1ep2p91f.js → model-resolver-1ep2p91f.js} +2 -2
- package/dist/chunks/{command-cb62p8s9.js → model-resolver-1mznh3r2.js} +25 -25
- package/dist/chunks/{command-zxqtx2gp.js → model-resolver-1sdsfpt0.js} +36 -36
- package/dist/chunks/{command-6827pfxn.js → model-resolver-1x2knyw4.js} +1 -1
- package/dist/chunks/{command-jr2eqasw.js → model-resolver-2hdav3qx.js} +5 -5
- package/dist/chunks/{command-dmn8f3fz.js → model-resolver-2jk202a8.js} +37 -37
- package/dist/chunks/model-resolver-2vwdzrer.js +26 -0
- package/dist/chunks/{command-3y689znq.js → model-resolver-2yjk1ef9.js} +18 -18
- package/dist/chunks/{command-9wev2pgg.js → model-resolver-2z1j29yd.js} +1 -1
- package/dist/chunks/{command-yy8p69dz.js → model-resolver-361xprba.js} +16 -16
- package/dist/chunks/{command-w4axh9wz.js → model-resolver-362tp65q.js} +4 -4
- package/dist/chunks/{command-jrvn3mqz.js → model-resolver-3f2dq5js.js} +32 -32
- package/dist/chunks/{command-985ktdsx.js → model-resolver-3gs3gk71.js} +14 -14
- package/dist/chunks/{command-3hepkmqq.js → model-resolver-3hepkmqq.js} +1 -1
- package/dist/chunks/{command-8zg8p5q1.js → model-resolver-3j7gb19e.js} +19 -19
- package/dist/chunks/{command-54ma36ye.js → model-resolver-3nnrz6f6.js} +1 -1
- package/dist/chunks/{command-rzsyqtcs.js → model-resolver-3tvx83bq.js} +20 -20
- package/dist/chunks/{command-bhfmjk30.js → model-resolver-3vvx3qkg.js} +19 -19
- package/dist/chunks/{command-1kxdjam0.js → model-resolver-40fhy2zt.js} +17 -17
- package/dist/chunks/{command-wjr9rjd7.js → model-resolver-40za9wsf.js} +6 -6
- package/dist/chunks/{command-mfj0sxs3.js → model-resolver-42pj4rzv.js} +24 -24
- package/dist/chunks/{command-xdhksg1q.js → model-resolver-4755v7r3.js} +12 -12
- package/dist/chunks/{command-1t3hpytd.js → model-resolver-4anvj0nz.js} +81 -81
- package/dist/chunks/{command-dthc0v3v.js → model-resolver-4c6mfys4.js} +1 -1
- package/dist/chunks/{command-qsyf62v5.js → model-resolver-4kxf6a3x.js} +315 -311
- package/dist/chunks/{command-jr0r6h1g.js → model-resolver-4m6zstw0.js} +3 -3
- package/dist/chunks/{command-zr2ceqn5.js → model-resolver-4v008n1t.js} +1 -1
- package/dist/chunks/{command-qp7m8750.js → model-resolver-4xvmh7wp.js} +3 -3
- package/dist/chunks/model-resolver-53mdf58s.js +257 -0
- package/dist/chunks/{command-r57we6b1.js → model-resolver-56fqbvhs.js} +5 -5
- package/dist/chunks/{command-xsq7pz40.js → model-resolver-57y02hse.js} +12 -12
- package/dist/chunks/{command-jbxhns51.js → model-resolver-5brge8v8.js} +40 -40
- package/dist/chunks/{command-stq6srjr.js → model-resolver-5defca7t.js} +24 -24
- package/dist/chunks/{command-02g7aebq.js → model-resolver-5df887yz.js} +19 -19
- package/dist/chunks/{command-m26n4tkg.js → model-resolver-5f9n2b02.js} +4 -4
- package/dist/chunks/{command-5m9w47nd.js → model-resolver-5m9w47nd.js} +1 -1
- package/dist/chunks/{command-qakj2yt3.js → model-resolver-5ttwsr6z.js} +3 -3
- package/dist/chunks/{command-46jxkehv.js → model-resolver-5w7y85jn.js} +20 -20
- package/dist/chunks/{command-k7myrtme.js → model-resolver-66rk6f56.js} +9 -9
- package/dist/chunks/{command-smsqhasw.js → model-resolver-6a4kxdj8.js} +27 -27
- package/dist/chunks/{command-cqz7n2wt.js → model-resolver-6czmj677.js} +4 -4
- package/dist/chunks/{command-zxq2ej10.js → model-resolver-6esdw8yj.js} +1 -1
- package/dist/chunks/{command-9hq0xw37.js → model-resolver-6gsynj7k.js} +13 -13
- package/dist/chunks/{command-qsdy395h.js → model-resolver-6pjqjmy2.js} +1 -1
- package/dist/chunks/{command-fcyg4h47.js → model-resolver-6xqtcmxs.js} +2 -2
- package/dist/chunks/{command-3qfe0xj5.js → model-resolver-71ne8d3w.js} +8 -8
- package/dist/chunks/{command-kx57zey2.js → model-resolver-7454dw3e.js} +9 -9
- package/dist/chunks/{command-tcezcvh9.js → model-resolver-76cb1hcw.js} +1 -1
- package/dist/chunks/{command-bzeyqsqd.js → model-resolver-770pw0s1.js} +4 -4
- package/dist/chunks/{command-7bmhse3q.js → model-resolver-7bmhse3q.js} +1 -1
- package/dist/chunks/{command-epa6at65.js → model-resolver-7crfef3m.js} +26 -26
- package/dist/chunks/{command-ze3ntbvb.js → model-resolver-7p0hmyjt.js} +7 -7
- package/dist/chunks/{command-xdydn0yk.js → model-resolver-7s9p8b5q.js} +16 -16
- package/dist/chunks/{command-7vcph9c5.js → model-resolver-7sjdmqaj.js} +7 -7
- package/dist/chunks/{command-xe70zbdz.js → model-resolver-7v23t0sn.js} +5 -5
- package/dist/chunks/{command-ad8kq2nc.js → model-resolver-7vwgx2kr.js} +3 -3
- package/dist/chunks/{command-kwb1v3vj.js → model-resolver-7w2ypzdf.js} +1 -1
- package/dist/chunks/{command-6qf2y9ve.js → model-resolver-7we14xxk.js} +33 -33
- package/dist/chunks/{command-6ftnd7nz.js → model-resolver-7wxq9ndj.js} +13 -13
- package/dist/chunks/{command-xr5vn762.js → model-resolver-817tby3n.js} +6 -6
- package/dist/chunks/{command-5rk2deda.js → model-resolver-81veg7gk.js} +21 -21
- package/dist/chunks/{command-dsk8q8my.js → model-resolver-84pze0j7.js} +23 -23
- package/dist/chunks/{command-pazb1tph.js → model-resolver-873tmn1d.js} +8 -8
- package/dist/chunks/{command-cng6dfxk.js → model-resolver-8eay0v1g.js} +9 -9
- package/dist/chunks/{command-mjzferrs.js → model-resolver-8h5ae6e1.js} +3 -3
- package/dist/chunks/{command-h6vf3j39.js → model-resolver-8wtp7s3z.js} +1 -1
- package/dist/chunks/{command-h8vwnyd8.js → model-resolver-91rj84md.js} +1 -1
- package/dist/chunks/{command-998yhzzq.js → model-resolver-998yhzzq.js} +3 -3
- package/dist/chunks/{command-6a980ypm.js → model-resolver-9afz5xhg.js} +29 -29
- package/dist/chunks/{command-gawvjx7k.js → model-resolver-9tj4b67g.js} +13 -13
- package/dist/chunks/{command-rxmh8njq.js → model-resolver-9ts33eg0.js} +32 -32
- package/dist/chunks/{command-twx1y9b4.js → model-resolver-9ygq16qa.js} +28 -28
- package/dist/chunks/{command-kn6pff13.js → model-resolver-a0v55zen.js} +22 -22
- package/dist/chunks/{command-s7cy65rz.js → model-resolver-a3em8wep.js} +20 -20
- package/dist/chunks/{command-bhk6njy6.js → model-resolver-acmwnmb8.js} +24 -24
- package/dist/chunks/{command-5kc27ehr.js → model-resolver-ad0b5xxd.js} +12 -12
- package/dist/chunks/{command-xewwdcxe.js → model-resolver-ag809kpc.js} +18 -18
- package/dist/chunks/{command-4bz0312p.js → model-resolver-aj85frbb.js} +11 -11
- package/dist/chunks/{command-02hctrc4.js → model-resolver-an85mpdk.js} +12 -12
- package/dist/chunks/{command-1sqf9bkf.js → model-resolver-asaqahta.js} +8 -8
- package/dist/chunks/{command-tfzngn12.js → model-resolver-atkwrhtv.js} +4 -4
- package/dist/chunks/{command-ayjs7tqn.js → model-resolver-ayjs7tqn.js} +2 -2
- package/dist/chunks/{command-3hwn7j4h.js → model-resolver-b0mv4wxm.js} +2 -2
- package/dist/chunks/{command-cr9hweqv.js → model-resolver-b6vsg801.js} +2 -2
- package/dist/chunks/{command-ft31182a.js → model-resolver-b6x45btx.js} +8 -8
- package/dist/chunks/{command-9e9hzcd0.js → model-resolver-b7gsrj05.js} +10 -10
- package/dist/chunks/{command-d1r1vdjn.js → model-resolver-bbv4y6ft.js} +31 -31
- package/dist/chunks/{command-g6x66mca.js → model-resolver-bgqkkabj.js} +9 -9
- package/dist/chunks/{command-ahsb9kpf.js → model-resolver-bh1et42v.js} +6 -6
- package/dist/chunks/{command-r61qxybf.js → model-resolver-bm4gstpq.js} +8 -8
- package/dist/chunks/{command-et97578y.js → model-resolver-bnjwp1w3.js} +31 -28
- package/dist/chunks/{command-psphhya3.js → model-resolver-c1526x78.js} +11 -11
- package/dist/chunks/{command-3w35w3cz.js → model-resolver-c7pkf0mg.js} +39 -39
- package/dist/chunks/{command-5g57z1ma.js → model-resolver-c9t2ty9q.js} +4 -4
- package/dist/chunks/{command-g38g0fz0.js → model-resolver-cbeaw478.js} +12 -12
- package/dist/chunks/{command-tbjtr317.js → model-resolver-cex2vn28.js} +16 -16
- package/dist/chunks/{command-6frn0zka.js → model-resolver-cf9s935f.js} +25 -25
- package/dist/chunks/{command-gdc5cpct.js → model-resolver-cn7xf0c3.js} +5 -5
- package/dist/chunks/{command-tx9w5tca.js → model-resolver-cs87y13h.js} +8 -8
- package/dist/chunks/{command-dz15z44q.js → model-resolver-cxrgknsm.js} +9 -9
- package/dist/chunks/{command-9c0aadwr.js → model-resolver-d2b9tqdk.js} +23 -23
- package/dist/chunks/{command-0vbcp93d.js → model-resolver-d4v9tmah.js} +2 -2
- package/dist/chunks/{command-0p5n951n.js → model-resolver-d6dkcx5p.js} +8 -8
- package/dist/chunks/{command-wsmpk9jk.js → model-resolver-d9jnkx5k.js} +5 -5
- package/dist/chunks/{command-t3e98aec.js → model-resolver-dfks5x0x.js} +17 -17
- package/dist/chunks/{command-j86wn4pa.js → model-resolver-dgebqdnd.js} +36 -36
- package/dist/chunks/{command-pc1v25hk.js → model-resolver-dh62xe4r.js} +3 -3
- package/dist/chunks/{command-yfxdcy39.js → model-resolver-dnenxkzx.js} +7 -7
- package/dist/chunks/{command-941r3f3m.js → model-resolver-dp37p1r3.js} +1 -1
- package/dist/chunks/{command-7d822byb.js → model-resolver-dqgvvwe0.js} +2 -2
- package/dist/chunks/{command-p3pg4pyc.js → model-resolver-dr3grpx5.js} +15 -15
- package/dist/chunks/{command-svwczm27.js → model-resolver-dv7jmtr8.js} +9 -9
- package/dist/chunks/{command-z28rahrh.js → model-resolver-dvg82dp6.js} +33 -33
- package/dist/chunks/{command-p51tpj98.js → model-resolver-dx2tr0e6.js} +9 -9
- package/dist/chunks/{command-mdzseb04.js → model-resolver-dx6zzgj2.js} +22 -22
- package/dist/chunks/{command-pv4gp5m4.js → model-resolver-dy267r6z.js} +2 -2
- package/dist/chunks/{command-vj35nasm.js → model-resolver-dy9wt3zt.js} +71 -71
- package/dist/chunks/{command-rhjbct0v.js → model-resolver-e5dqjz6v.js} +1 -1
- package/dist/chunks/{command-8m6m0r52.js → model-resolver-e834z07m.js} +1 -1
- package/dist/chunks/{command-ef5x83kb.js → model-resolver-ef5x83kb.js} +1 -1
- package/dist/chunks/{command-vvg7my21.js → model-resolver-ehfx068x.js} +19 -19
- package/dist/chunks/{command-he40rdb8.js → model-resolver-etxseyds.js} +13 -13
- package/dist/chunks/{command-egvdenqz.js → model-resolver-evdtckst.js} +4 -4
- package/dist/chunks/{command-8qh1wvz2.js → model-resolver-exrjm4ta.js} +4 -4
- package/dist/chunks/{command-dedmnvkb.js → model-resolver-f6j7cyhq.js} +22 -22
- package/dist/chunks/{command-5smgpg59.js → model-resolver-f6mq62gx.js} +11 -11
- package/dist/chunks/{command-z9pbab2f.js → model-resolver-fae4enn1.js} +11 -11
- package/dist/chunks/{command-tw1m0zds.js → model-resolver-fchqce7y.js} +45 -45
- package/dist/chunks/{command-fmv8kpsp.js → model-resolver-fe8knzhs.js} +4 -4
- package/dist/chunks/{command-n6mrmtb3.js → model-resolver-fffv3p7h.js} +1 -1
- package/dist/chunks/{command-v9a132p0.js → model-resolver-frxcbkbz.js} +27 -27
- package/dist/chunks/{command-6a9ggp3a.js → model-resolver-fvyt5ase.js} +3 -3
- package/dist/chunks/{command-qxhg3shq.js → model-resolver-fxhha7v6.js} +7 -7
- package/dist/chunks/{command-4znvr1ks.js → model-resolver-fywxn8yw.js} +50 -50
- package/dist/chunks/{command-btbmdjwj.js → model-resolver-g1e2r5aa.js} +4 -4
- package/dist/chunks/{command-eej6y6fw.js → model-resolver-g5h9c0rr.js} +2 -2
- package/dist/chunks/{command-57b9ws8p.js → model-resolver-g7esga4v.js} +1 -2
- package/dist/chunks/{command-vbamk4ns.js → model-resolver-gaxzewmp.js} +35 -35
- package/dist/chunks/{command-cemytqje.js → model-resolver-gcw2976b.js} +22 -22
- package/dist/chunks/{command-57myy5jh.js → model-resolver-gj8x1tda.js} +5 -5
- package/dist/chunks/model-resolver-grzehpz7.js +18 -0
- package/dist/chunks/{command-7ta6mr36.js → model-resolver-gs6sdnbe.js} +21 -21
- package/dist/chunks/{command-n6s6s5d0.js → model-resolver-gtxeab11.js} +47 -47
- package/dist/chunks/{command-gryy9691.js → model-resolver-gw73nvw6.js} +11 -11
- package/dist/chunks/{command-sfd6krag.js → model-resolver-gzrpk3yh.js} +12 -12
- package/dist/chunks/{command-6pn57h68.js → model-resolver-h3c848hf.js} +33 -33
- package/dist/chunks/{command-mgym7y53.js → model-resolver-h7r3kzq2.js} +54 -54
- package/dist/chunks/{command-9zygn7h7.js → model-resolver-hhs2jvjz.js} +9 -9
- package/dist/chunks/{command-3p9s8f8r.js → model-resolver-hqr24qw0.js} +5 -5
- package/dist/chunks/{command-q1y8bwa4.js → model-resolver-hrwraf01.js} +183 -183
- package/dist/chunks/{command-x6x33ar5.js → model-resolver-hs0nkh4s.js} +15 -15
- package/dist/chunks/{command-b11a7tx7.js → model-resolver-j113cymg.js} +1 -1
- package/dist/chunks/{command-v2x3p8dx.js → model-resolver-j9hjqqep.js} +32 -32
- package/dist/chunks/{command-bacj9t34.js → model-resolver-jcqm84fr.js} +9 -9
- package/dist/chunks/{command-66gqgwkw.js → model-resolver-jdgy95a6.js} +4 -4
- package/dist/chunks/{command-npm9b9zb.js → model-resolver-jf5na7rx.js} +5 -5
- package/dist/chunks/{command-wn13chhe.js → model-resolver-jg26tebj.js} +16 -16
- package/dist/chunks/{command-mjqjpb51.js → model-resolver-jm58kwny.js} +15 -15
- package/dist/chunks/{command-t7bcp663.js → model-resolver-k2x2dsy8.js} +5 -5
- package/dist/chunks/{command-vzs5sf6e.js → model-resolver-k814nvkf.js} +1 -1
- package/dist/chunks/{command-k98r0vz1.js → model-resolver-k9drn87y.js} +27 -27
- package/dist/chunks/{command-3tpbv33b.js → model-resolver-k9ms0q72.js} +4 -4
- package/dist/chunks/{command-t718dtrh.js → model-resolver-kmjzn6q1.js} +47 -47
- package/dist/chunks/{command-1ajx6rf5.js → model-resolver-kmzgegqq.js} +8 -8
- package/dist/chunks/{command-gvpgbncv.js → model-resolver-ky0p85ga.js} +13 -13
- package/dist/chunks/{command-mdwjtjcb.js → model-resolver-m0k609qs.js} +16 -16
- package/dist/chunks/{command-3zsf4n22.js → model-resolver-m1714858.js} +1 -1
- package/dist/chunks/{command-1b1yf6g0.js → model-resolver-m4cw13px.js} +30 -30
- package/dist/chunks/{command-deq2yphe.js → model-resolver-m4eq7axd.js} +15 -15
- package/dist/chunks/{command-m9w0rfyh.js → model-resolver-m9w0rfyh.js} +1 -1
- package/dist/chunks/{command-maspj1v3.js → model-resolver-maspj1v3.js} +1 -1
- package/dist/chunks/{command-3ct72kbc.js → model-resolver-maxw8zgf.js} +20 -20
- package/dist/chunks/{command-8mywswrd.js → model-resolver-me5bcav6.js} +1 -1
- package/dist/chunks/{command-m95xgvrp.js → model-resolver-mhs2q8b0.js} +34 -34
- package/dist/chunks/{command-nn416cd4.js → model-resolver-mrejt0vx.js} +4 -4
- package/dist/chunks/{command-48kw51zw.js → model-resolver-my4zabxr.js} +3 -3
- package/dist/chunks/{command-fcy631f0.js → model-resolver-n0p0277s.js} +1 -1
- package/dist/chunks/{command-0ny45k08.js → model-resolver-nbz0maqw.js} +23 -23
- package/dist/chunks/{command-acdn2y46.js → model-resolver-ng4advcs.js} +45 -45
- package/dist/chunks/{command-8yr3zrx2.js → model-resolver-ntz68qz4.js} +11 -11
- package/dist/chunks/{command-tp3hq1fz.js → model-resolver-nwnd66fk.js} +3 -3
- package/dist/chunks/{command-775gj3j1.js → model-resolver-p015t6z3.js} +2 -2
- package/dist/chunks/{command-b27vhd2z.js → model-resolver-p0tsr9h6.js} +4 -4
- package/dist/chunks/{command-0jwsre1p.js → model-resolver-p7vhpwh8.js} +5 -5
- package/dist/chunks/{command-zqsad2gs.js → model-resolver-parpa42j.js} +2 -2
- package/dist/chunks/{command-sce0r76x.js → model-resolver-pb2pfffb.js} +10 -10
- package/dist/chunks/{command-dnkebwy9.js → model-resolver-pja7jmt2.js} +9 -9
- package/dist/chunks/{command-802megp1.js → model-resolver-pkam9c76.js} +11 -11
- package/dist/chunks/{command-pknna89w.js → model-resolver-pknna89w.js} +1 -1
- package/dist/chunks/{command-9c1a4kmv.js → model-resolver-psq9ew9c.js} +9 -9
- package/dist/chunks/{command-ew199m7p.js → model-resolver-q1fncbax.js} +5 -5
- package/dist/chunks/{command-kv6t07rj.js → model-resolver-qc854yns.js} +14 -14
- package/dist/chunks/{command-zjr49qxn.js → model-resolver-qeaqse4k.js} +43 -43
- package/dist/chunks/{command-x0g438en.js → model-resolver-qecz1syp.js} +89 -89
- package/dist/chunks/{command-y71avatq.js → model-resolver-qjgzc4b4.js} +1 -1
- package/dist/chunks/{command-zxn1czyk.js → model-resolver-qqe3xj9j.js} +23 -23
- package/dist/chunks/{command-tyytaxap.js → model-resolver-r0yr0wbs.js} +1 -1
- package/dist/chunks/{command-w92k2e0p.js → model-resolver-r1k9m3eb.js} +2 -2
- package/dist/chunks/{command-kkyxct86.js → model-resolver-r1rcp1a5.js} +4 -4
- package/dist/chunks/{command-ccy38syf.js → model-resolver-r2q802mc.js} +11 -11
- package/dist/chunks/{command-vk5kq5j8.js → model-resolver-r3jydfqs.js} +13 -13
- package/dist/chunks/{command-tazgh4e4.js → model-resolver-rb9dy4dg.js} +1 -1
- package/dist/chunks/{command-m38q3wy3.js → model-resolver-rg8m9xd0.js} +16 -16
- package/dist/chunks/{command-hpkegr1y.js → model-resolver-rkxhwyxc.js} +8 -8
- package/dist/chunks/{command-3tvqynh2.js → model-resolver-rt5dr6hb.js} +1 -1
- package/dist/chunks/{command-3k3tgz1s.js → model-resolver-s67gnmqz.js} +35 -35
- package/dist/chunks/{command-g970mz3v.js → model-resolver-s8pwnmrf.js} +34 -34
- package/dist/chunks/{command-v8jfbz3g.js → model-resolver-sq4s6wq1.js} +6 -6
- package/dist/chunks/{command-6xb47vfp.js → model-resolver-sqjzf8x2.js} +1 -1
- package/dist/chunks/{command-p3p972wa.js → model-resolver-sznyev98.js} +5 -5
- package/dist/chunks/{command-4z7vav0p.js → model-resolver-t5x9tta9.js} +13 -13
- package/dist/chunks/{command-0t5b2y9d.js → model-resolver-t9pmjw8g.js} +9 -9
- package/dist/chunks/{command-395q6j9z.js → model-resolver-tasvem1v.js} +6 -6
- package/dist/chunks/{command-gd4qta3r.js → model-resolver-tczq8hjw.js} +1 -1
- package/dist/chunks/{command-d97f9cxk.js → model-resolver-tetf7hhs.js} +12 -12
- package/dist/chunks/{command-g69zc3wy.js → model-resolver-tm49z4r5.js} +36 -36
- package/dist/chunks/{command-3dhsd59m.js → model-resolver-tn41ynre.js} +20 -20
- package/dist/chunks/{command-yc2cz67n.js → model-resolver-tpbnagbb.js} +32 -32
- package/dist/chunks/{command-p820w4f0.js → model-resolver-tvxppb48.js} +27 -27
- package/dist/chunks/{command-tdstcens.js → model-resolver-tw8zr1ps.js} +1 -1
- package/dist/chunks/{command-v7p4zvkq.js → model-resolver-twv2r8f4.js} +2 -2
- package/dist/chunks/{command-web3t9xy.js → model-resolver-tyxn5m2z.js} +4 -4
- package/dist/chunks/{command-ehsy592z.js → model-resolver-v7vzjxxh.js} +26 -26
- package/dist/chunks/{command-rdw6cm16.js → model-resolver-vd3b3yk9.js} +1 -1
- package/dist/chunks/{command-veqvce7d.js → model-resolver-veqvce7d.js} +1 -1
- package/dist/chunks/{command-rv6zpw67.js → model-resolver-vnfvdagd.js} +35 -35
- package/dist/chunks/{command-210p74nv.js → model-resolver-vsgt0m8t.js} +6 -6
- package/dist/chunks/{command-ymgkxg7n.js → model-resolver-vxxaf4jx.js} +3 -3
- package/dist/chunks/{command-kcme49p2.js → model-resolver-vywmmb7d.js} +18 -18
- package/dist/chunks/{command-82rhge12.js → model-resolver-vzmjdaw1.js} +9 -9
- package/dist/chunks/{command-xhmz0e2c.js → model-resolver-w26t1m11.js} +11 -11
- package/dist/chunks/{command-1j6m29mr.js → model-resolver-w35wzz9x.js} +1 -1
- package/dist/chunks/{command-w3wsvvr9.js → model-resolver-w3wsvvr9.js} +1 -1
- package/dist/chunks/{command-cvt24va3.js → model-resolver-w5zwfkq2.js} +34 -34
- package/dist/chunks/{command-khmqacep.js → model-resolver-w687dnns.js} +4 -4
- package/dist/chunks/{command-wakvkjy4.js → model-resolver-wakvkjy4.js} +1 -1
- package/dist/chunks/{command-wd87259q.js → model-resolver-wd87259q.js} +1 -1
- package/dist/chunks/{command-zbak8g8s.js → model-resolver-we1tgvvb.js} +5 -5
- package/dist/chunks/{command-1hzj9kg1.js → model-resolver-wekz2jy3.js} +13 -13
- package/dist/chunks/{command-pk1g9nse.js → model-resolver-xaqh7jtr.js} +17 -17
- package/dist/chunks/{command-84txncab.js → model-resolver-xd9cc171.js} +5 -5
- package/dist/chunks/{command-axq5kh8y.js → model-resolver-xezg9szt.js} +10 -10
- package/dist/chunks/{command-z4a4venm.js → model-resolver-xf4p2pg0.js} +14 -14
- package/dist/chunks/{command-mybp2pev.js → model-resolver-xj1dzt64.js} +4 -4
- package/dist/chunks/{command-n11rvh9p.js → model-resolver-xr3sacq2.js} +32 -32
- package/dist/chunks/{command-4j64n899.js → model-resolver-xxak8n2f.js} +4 -4
- package/dist/chunks/{command-pkz1gcrh.js → model-resolver-y8mr6xph.js} +12 -12
- package/dist/chunks/{command-6gmsgdx2.js → model-resolver-y9w21xdh.js} +9 -9
- package/dist/chunks/{command-pjvnvgmy.js → model-resolver-yb20nhc3.js} +1 -1
- package/dist/chunks/{command-dzg2v16h.js → model-resolver-yh0hw7we.js} +10 -10
- package/dist/chunks/{command-wak8pa62.js → model-resolver-yk9kn8z0.js} +18 -18
- package/dist/chunks/{command-dvmztg5v.js → model-resolver-ymn1zp0c.js} +25 -25
- package/dist/chunks/{command-1hfxmt0w.js → model-resolver-ypwr9vv7.js} +37 -37
- package/dist/chunks/{command-z0bkrqjs.js → model-resolver-z0bkrqjs.js} +1 -1
- package/dist/chunks/{command-xexx9thr.js → model-resolver-z0edr6gj.js} +22 -22
- package/dist/chunks/{command-ysye7j36.js → model-resolver-z2bchc84.js} +13 -13
- package/dist/chunks/{command-y1fvbwt7.js → model-resolver-z38nccrw.js} +1 -1
- package/dist/chunks/{command-drjmd517.js → model-resolver-z3ac7gyp.js} +19 -19
- package/dist/chunks/{command-wn0xhw32.js → model-resolver-z8zh1sht.js} +25 -25
- package/dist/chunks/{command-qc148cpv.js → model-resolver-zadgmz3x.js} +24 -24
- package/dist/chunks/{command-mxvxcxwy.js → model-resolver-zba5tm1j.js} +4 -4
- package/dist/chunks/{command-w4mk1hws.js → model-resolver-zgy84aax.js} +11 -11
- package/dist/chunks/{command-hgz4x7wa.js → model-resolver-zkg84ctx.js} +1 -1
- package/dist/chunks/{command-4ytg8f8f.js → model-resolver-zmwx25fz.js} +2 -2
- package/dist/chunks/{command-4y1psmjm.js → model-resolver-zp466xy7.js} +7 -7
- package/dist/chunks/{command-8sptrx30.js → model-resolver-zrbv4gdq.js} +13 -13
- package/dist/chunks/{command-2q3kn6hv.js → model-resolver-zsw153cf.js} +13 -13
- package/dist/chunks/{command-embw8kgh.js → model-resolver-ztf6n3de.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- 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.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- 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 +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +220 -220
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +9 -9
- package/dist/chunks/command-3q31v9sa.js +0 -257
- package/dist/chunks/command-dxj72tfx.js +0 -18
- package/dist/chunks/command-fwr9p4fy.js +0 -523
- package/dist/chunks/command-hqp5gz7t.js +0 -26
- /package/dist/chunks/{command-0qkdqm5v.js → model-resolver-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{command-0zkw76rk.js → model-resolver-0zkw76rk.js} +0 -0
- /package/dist/chunks/{command-17cy0kzp.js → model-resolver-17cy0kzp.js} +0 -0
- /package/dist/chunks/{command-1cnp2v09.js → model-resolver-1cnp2v09.js} +0 -0
- /package/dist/chunks/{command-24dcb14g.js → model-resolver-24dcb14g.js} +0 -0
- /package/dist/chunks/{command-2710q6r3.js → model-resolver-2710q6r3.js} +0 -0
- /package/dist/chunks/{command-2bv980vf.js → model-resolver-2bv980vf.js} +0 -0
- /package/dist/chunks/{command-2c3vjs8z.js → model-resolver-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{command-359p4xyc.js → model-resolver-359p4xyc.js} +0 -0
- /package/dist/chunks/{command-3asan66x.js → model-resolver-3asan66x.js} +0 -0
- /package/dist/chunks/{command-3v8g72cx.js → model-resolver-3v8g72cx.js} +0 -0
- /package/dist/chunks/{command-3wcehsnq.js → model-resolver-3wcehsnq.js} +0 -0
- /package/dist/chunks/{command-43n2bw4t.js → model-resolver-43n2bw4t.js} +0 -0
- /package/dist/chunks/{command-4knz6hnm.js → model-resolver-4knz6hnm.js} +0 -0
- /package/dist/chunks/{command-4vcrnpx2.js → model-resolver-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{command-4y7fprxs.js → model-resolver-4y7fprxs.js} +0 -0
- /package/dist/chunks/{command-53557ph1.js → model-resolver-53557ph1.js} +0 -0
- /package/dist/chunks/{command-550bvhaj.js → model-resolver-550bvhaj.js} +0 -0
- /package/dist/chunks/{command-5fjb7ams.js → model-resolver-5fjb7ams.js} +0 -0
- /package/dist/chunks/{command-6prwharc.js → model-resolver-6prwharc.js} +0 -0
- /package/dist/chunks/{command-6q2bdcd1.js → model-resolver-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{command-7akdwqpd.js → model-resolver-7akdwqpd.js} +0 -0
- /package/dist/chunks/{command-7m9af43g.js → model-resolver-7m9af43g.js} +0 -0
- /package/dist/chunks/{command-822emrt2.js → model-resolver-822emrt2.js} +0 -0
- /package/dist/chunks/{command-84wd9syh.js → model-resolver-84wd9syh.js} +0 -0
- /package/dist/chunks/{command-88xbtdfr.js → model-resolver-88xbtdfr.js} +0 -0
- /package/dist/chunks/{command-8n3pysct.js → model-resolver-8n3pysct.js} +0 -0
- /package/dist/chunks/{command-8wj87zfr.js → model-resolver-8wj87zfr.js} +0 -0
- /package/dist/chunks/{command-9a4afbnw.js → model-resolver-9a4afbnw.js} +0 -0
- /package/dist/chunks/{command-9rqn6x4v.js → model-resolver-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{command-a058387c.js → model-resolver-a058387c.js} +0 -0
- /package/dist/chunks/{command-a6k6eb26.js → model-resolver-a6k6eb26.js} +0 -0
- /package/dist/chunks/{command-af5trqkr.js → model-resolver-af5trqkr.js} +0 -0
- /package/dist/chunks/{command-afrmfg78.js → model-resolver-afrmfg78.js} +0 -0
- /package/dist/chunks/{command-aqzs7mqg.js → model-resolver-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{command-atq7p7m5.js → model-resolver-atq7p7m5.js} +0 -0
- /package/dist/chunks/{command-bkyjaxrp.js → model-resolver-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{command-bmr6ed5q.js → model-resolver-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{command-cf4snx6d.js → model-resolver-cf4snx6d.js} +0 -0
- /package/dist/chunks/{command-cvy3z8tj.js → model-resolver-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{command-d9fn303g.js → model-resolver-d9fn303g.js} +0 -0
- /package/dist/chunks/{command-d9jj8t3e.js → model-resolver-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{command-dajrwvna.js → model-resolver-dajrwvna.js} +0 -0
- /package/dist/chunks/{command-dap0rakb.js → model-resolver-dap0rakb.js} +0 -0
- /package/dist/chunks/{command-df08tz66.js → model-resolver-df08tz66.js} +0 -0
- /package/dist/chunks/{command-dy18nga0.js → model-resolver-dy18nga0.js} +0 -0
- /package/dist/chunks/{command-e3qxr5gk.js → model-resolver-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{command-e5kj55wp.js → model-resolver-e5kj55wp.js} +0 -0
- /package/dist/chunks/{command-e73j6tqm.js → model-resolver-e73j6tqm.js} +0 -0
- /package/dist/chunks/{command-ec1grn59.js → model-resolver-ec1grn59.js} +0 -0
- /package/dist/chunks/{command-eh3zwz77.js → model-resolver-eh3zwz77.js} +0 -0
- /package/dist/chunks/{command-emrn6kk6.js → model-resolver-emrn6kk6.js} +0 -0
- /package/dist/chunks/{command-f0mxakyp.js → model-resolver-f0mxakyp.js} +0 -0
- /package/dist/chunks/{command-f6n9ztr4.js → model-resolver-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{command-faypxj3z.js → model-resolver-faypxj3z.js} +0 -0
- /package/dist/chunks/{command-fd410y7t.js → model-resolver-fd410y7t.js} +0 -0
- /package/dist/chunks/{command-g4wezp1m.js → model-resolver-g4wezp1m.js} +0 -0
- /package/dist/chunks/{command-g86h250q.js → model-resolver-g86h250q.js} +0 -0
- /package/dist/chunks/{command-gebd4c9n.js → model-resolver-gebd4c9n.js} +0 -0
- /package/dist/chunks/{command-gftt206x.js → model-resolver-gftt206x.js} +0 -0
- /package/dist/chunks/{command-hcxmzztb.js → model-resolver-hcxmzztb.js} +0 -0
- /package/dist/chunks/{command-hk9envan.js → model-resolver-hk9envan.js} +0 -0
- /package/dist/chunks/{command-j2ntwpah.js → model-resolver-j2ntwpah.js} +0 -0
- /package/dist/chunks/{command-j5zkgpj8.js → model-resolver-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{command-jjkms2e6.js → model-resolver-jjkms2e6.js} +0 -0
- /package/dist/chunks/{command-jr7sbwjy.js → model-resolver-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{command-jwfs4k6c.js → model-resolver-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{command-jze0r7bz.js → model-resolver-jze0r7bz.js} +0 -0
- /package/dist/chunks/{command-jzg6c2d5.js → model-resolver-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{command-m18g726c.js → model-resolver-m18g726c.js} +0 -0
- /package/dist/chunks/{command-mp448xyj.js → model-resolver-mp448xyj.js} +0 -0
- /package/dist/chunks/{command-msx8hqn2.js → model-resolver-msx8hqn2.js} +0 -0
- /package/dist/chunks/{command-n05xt0ee.js → model-resolver-n05xt0ee.js} +0 -0
- /package/dist/chunks/{command-n3j8tn72.js → model-resolver-n3j8tn72.js} +0 -0
- /package/dist/chunks/{command-njntx4h6.js → model-resolver-njntx4h6.js} +0 -0
- /package/dist/chunks/{command-pkyv6v7h.js → model-resolver-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{command-q3sfg36h.js → model-resolver-q3sfg36h.js} +0 -0
- /package/dist/chunks/{command-q74kybfr.js → model-resolver-q74kybfr.js} +0 -0
- /package/dist/chunks/{command-qaymkmh1.js → model-resolver-qaymkmh1.js} +0 -0
- /package/dist/chunks/{command-qb87gjwd.js → model-resolver-qb87gjwd.js} +0 -0
- /package/dist/chunks/{command-qfa1cgps.js → model-resolver-qfa1cgps.js} +0 -0
- /package/dist/chunks/{command-qg3g05ea.js → model-resolver-qg3g05ea.js} +0 -0
- /package/dist/chunks/{command-qrg20bc0.js → model-resolver-qrg20bc0.js} +0 -0
- /package/dist/chunks/{command-rcb2kzg1.js → model-resolver-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{command-sdp7kfr6.js → model-resolver-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{command-ssg3fenm.js → model-resolver-ssg3fenm.js} +0 -0
- /package/dist/chunks/{command-ve7vex1e.js → model-resolver-ve7vex1e.js} +0 -0
- /package/dist/chunks/{command-w803qqfp.js → model-resolver-w803qqfp.js} +0 -0
- /package/dist/chunks/{command-wc3fc9cn.js → model-resolver-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{command-wer8tq1h.js → model-resolver-wer8tq1h.js} +0 -0
- /package/dist/chunks/{command-wjj7prxr.js → model-resolver-wjj7prxr.js} +0 -0
- /package/dist/chunks/{command-wtztk69x.js → model-resolver-wtztk69x.js} +0 -0
- /package/dist/chunks/{command-x0ckcb58.js → model-resolver-x0ckcb58.js} +0 -0
- /package/dist/chunks/{command-x61499pn.js → model-resolver-x61499pn.js} +0 -0
- /package/dist/chunks/{command-y44na4kk.js → model-resolver-y44na4kk.js} +0 -0
- /package/dist/chunks/{command-y8f7s663.js → model-resolver-y8f7s663.js} +0 -0
- /package/dist/chunks/{command-ygaqb7jw.js → model-resolver-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{command-ym463w8f.js → model-resolver-ym463w8f.js} +0 -0
- /package/dist/chunks/{command-z5v4ffb3.js → model-resolver-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{command-z9919s4g.js → model-resolver-z9919s4g.js} +0 -0
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-ymn1zp0c.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service80,
|
|
9
|
+
node84
|
|
10
|
+
} from "./model-resolver-qc854yns.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service57,
|
|
13
|
+
node60
|
|
14
|
+
} from "./model-resolver-5brge8v8.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_file_access, {
|
|
|
22
22
|
FileAccess: () => exports_file_access,
|
|
23
23
|
Kind: () => Kind2,
|
|
24
24
|
ResolveInput: () => ResolveInput2,
|
|
25
|
-
Service: () =>
|
|
26
|
-
node: () =>
|
|
25
|
+
Service: () => Service27,
|
|
26
|
+
node: () => node30,
|
|
27
27
|
resolvePath: () => resolvePath2
|
|
28
28
|
});
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -37,7 +37,7 @@ var ResolveInput2 = Schema.Struct({
|
|
|
37
37
|
kind: Kind2.pipe(Schema.optional)
|
|
38
38
|
});
|
|
39
39
|
|
|
40
|
-
class
|
|
40
|
+
class Service27 extends Context.Service()("@opencode/FileAccess") {
|
|
41
41
|
}
|
|
42
42
|
var resolvePath2 = (directory, input, home = Global.Path.home) => {
|
|
43
43
|
const normalized = FSUtil.windowsPath(input);
|
|
@@ -49,10 +49,10 @@ var invocation = (context) => ({
|
|
|
49
49
|
agent: context.agent,
|
|
50
50
|
source: { type: "tool", messageID: context.messageID, id: context.id }
|
|
51
51
|
});
|
|
52
|
-
var layer = Layer.effect(
|
|
52
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service80;
|
|
55
|
+
const permission = yield* Service57;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
101
101
|
});
|
|
102
102
|
return target;
|
|
103
103
|
});
|
|
104
|
-
return
|
|
104
|
+
return Service27.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var
|
|
106
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [FSUtil.node, node84, node60] });
|
|
107
107
|
|
|
108
|
-
export { Kind2, ResolveInput2,
|
|
108
|
+
export { Kind2, ResolveInput2, Service27, resolvePath2, node30, exports_file_access };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./model-resolver-66rk6f56.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./model-resolver-sq4s6wq1.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./model-resolver-2z1j29yd.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-grzehpz7.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service73
|
|
15
|
+
} from "./model-resolver-cs87y13h.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./model-resolver-bh1et42v.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service54
|
|
23
|
+
} from "./model-resolver-3tvx83bq.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service47;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service73;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service54;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service50;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
@@ -11,7 +11,7 @@ __export(exports_driver, {
|
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
13
|
make: () => make21,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node83,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node83 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node83, exports_driver };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./model-resolver-nwnd66fk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./model-resolver-ad0b5xxd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service47
|
|
9
|
+
} from "./model-resolver-sq4s6wq1.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-k814nvkf.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError8,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./model-resolver-bh1et42v.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./model-resolver-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service59
|
|
29
|
+
} from "./model-resolver-cbeaw478.js";
|
|
30
30
|
import {
|
|
31
31
|
SyntheticPayload2,
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service45
|
|
33
|
+
} from "./model-resolver-tn41ynre.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
35
|
+
Service43
|
|
36
|
+
} from "./model-resolver-c7pkf0mg.js";
|
|
37
37
|
import {
|
|
38
38
|
prepare2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./model-resolver-361xprba.js";
|
|
40
40
|
import {
|
|
41
41
|
stage2,
|
|
42
42
|
clear2,
|
|
43
43
|
commit2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./model-resolver-7s9p8b5q.js";
|
|
45
45
|
import {
|
|
46
46
|
start2
|
|
47
|
-
} from "./
|
|
47
|
+
} from "./model-resolver-psq9ew9c.js";
|
|
48
48
|
import {
|
|
49
49
|
get4
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./model-resolver-0sd3e6sm.js";
|
|
51
51
|
import {
|
|
52
52
|
__export
|
|
53
|
-
} from "./
|
|
53
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
54
54
|
|
|
55
55
|
// src/session/session.ts
|
|
56
56
|
var exports_session2 = {};
|
|
@@ -62,18 +62,18 @@ import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
|
62
62
|
import { Event } from "@opencode/schema/event";
|
|
63
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
64
64
|
var make13 = Effect.fn("Session.make")(function* () {
|
|
65
|
-
const bus = yield*
|
|
65
|
+
const bus = yield* Service84;
|
|
66
66
|
const database = yield* Service86;
|
|
67
|
-
const store = yield*
|
|
68
|
-
const instances = yield*
|
|
69
|
-
const execution = yield*
|
|
70
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service59;
|
|
68
|
+
const instances = yield* Service47;
|
|
69
|
+
const execution = yield* Service43;
|
|
70
|
+
const admission = yield* Service45;
|
|
71
71
|
const fs = yield* FSUtil.Service;
|
|
72
72
|
const scope = yield* Scope.Scope;
|
|
73
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
74
74
|
const session = yield* store.get(sessionID);
|
|
75
75
|
if (!session)
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError8({ sessionID });
|
|
77
77
|
return session;
|
|
78
78
|
});
|
|
79
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -146,7 +146,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
146
146
|
});
|
|
147
147
|
if (existing)
|
|
148
148
|
return existing;
|
|
149
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service47, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
150
150
|
if (session.revert)
|
|
151
151
|
yield* commit2(bus, session);
|
|
152
152
|
return yield* admission.admit({
|
|
@@ -162,7 +162,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
162
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
163
163
|
const session = yield* get(sessionID);
|
|
164
164
|
const running = yield* Effect.gen(function* () {
|
|
165
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service47, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
166
166
|
text: `User shell command failed to start:
|
|
167
167
|
${input.command}
|
|
168
168
|
|
|
@@ -191,7 +191,7 @@ ${error.message}`,
|
|
|
191
191
|
});
|
|
192
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
193
193
|
const session = yield* get(sessionID);
|
|
194
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service47, instances));
|
|
195
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
196
196
|
sessionID,
|
|
197
197
|
id: skill.id,
|
|
@@ -248,13 +248,13 @@ ${error.message}`,
|
|
|
248
248
|
const session = yield* get(sessionID);
|
|
249
249
|
if (yield* execution.isActive(sessionID))
|
|
250
250
|
return yield* new BusyError2({ sessionID });
|
|
251
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service86, database), Effect.provideService(Service84, bus));
|
|
252
252
|
});
|
|
253
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
254
254
|
const session = yield* get(sessionID);
|
|
255
255
|
if (yield* execution.isActive(sessionID))
|
|
256
256
|
return yield* new BusyError2({ sessionID });
|
|
257
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service47, instances), Effect.provideService(Service84, bus));
|
|
258
258
|
return yield* execution.wake(sessionID);
|
|
259
259
|
});
|
|
260
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -2,17 +2,17 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./model-resolver-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service78,
|
|
8
|
+
node81
|
|
9
|
+
} from "./model-resolver-bnjwp1w3.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
@@ -20,8 +20,8 @@ __export(exports_ripgrep, {
|
|
|
20
20
|
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service65,
|
|
24
|
+
node: () => node68
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service65 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
63
|
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service78;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -92,7 +92,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
93
|
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service65.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node68 = makeLocationNode({ service: Service65, layer, deps: [node81, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export { Error4, InvalidPatternError2,
|
|
180
|
+
export { Error4, InvalidPatternError2, Service65, node68, exports_ripgrep };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./model-resolver-ad0b5xxd.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./model-resolver-zba5tm1j.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./model-resolver-bbv4y6ft.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID13
|
|
12
|
+
} from "./model-resolver-6a4kxdj8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID12,
|
|
15
|
+
Service75
|
|
16
|
+
} from "./model-resolver-4kxf6a3x.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load2,
|
|
19
|
+
derive2
|
|
20
|
+
} from "./model-resolver-qqe3xj9j.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID12.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service75;
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load2(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive2(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./model-resolver-ad0b5xxd.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./model-resolver-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./model-resolver-5brge8v8.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -19,14 +19,14 @@ __export(exports_skill5, {
|
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event9,
|
|
21
21
|
ID: () => ID6,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info10,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service54,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available3,
|
|
29
|
+
node: () => node56,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -40,10 +40,10 @@ var DirectorySource2 = Skill.DirectorySource;
|
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source3 = Skill.Source;
|
|
43
|
-
var
|
|
43
|
+
var Info10 = Skill.Info;
|
|
44
44
|
var ID6 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available3 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,10 +78,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service54 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service84;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
@@ -105,7 +105,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
105
105
|
}),
|
|
106
106
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service54.of({
|
|
109
109
|
transform: state.transform,
|
|
110
110
|
reload: state.reload,
|
|
111
111
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -116,10 +116,10 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
120
|
-
service:
|
|
119
|
+
var node56 = makeLocationNode({
|
|
120
|
+
service: Service54,
|
|
121
121
|
layer,
|
|
122
|
-
deps: [
|
|
122
|
+
deps: [node88]
|
|
123
123
|
});
|
|
124
124
|
|
|
125
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
125
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info10, ID6, Name2, available3, toModelOutput3, prepare3, Service54, node56, exports_skill5, Event9 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service51,
|
|
3
|
+
node53
|
|
4
|
+
} from "./model-resolver-m0k609qs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service28,
|
|
7
|
+
node31
|
|
8
|
+
} from "./model-resolver-qecz1syp.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./model-resolver-sqjzf8x2.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./model-resolver-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service9,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node11
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service9 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service28;
|
|
30
|
+
const jobs = yield* Service51;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service9.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node11 = Node.makeGlobalNode({
|
|
68
|
+
service: Service9,
|
|
69
|
+
layer: Layer.effect(Service9, make),
|
|
70
|
+
deps: [node31, node53]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service9, node11, exports_subagent_job };
|