@opencode/core 0.0.0-dev-21541 → 0.0.0-dev-21557
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{workspace-kgjxwjg5.js → command-02g7aebq.js} +19 -19
- package/dist/chunks/{workspace-m22m6tzf.js → command-02hctrc4.js} +12 -12
- package/dist/chunks/{workspace-034tev2y.js → command-034tev2y.js} +2 -2
- package/dist/chunks/{workspace-qgn6gcr1.js → command-0jwsre1p.js} +5 -5
- package/dist/chunks/{workspace-wb9ff8bn.js → command-0ny45k08.js} +20 -20
- package/dist/chunks/{workspace-8xnx0mnd.js → command-0p5n951n.js} +8 -8
- package/dist/chunks/{workspace-ffvkjqdt.js → command-0t5b2y9d.js} +9 -9
- package/dist/chunks/{workspace-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{workspace-cmwkp3r5.js → command-1ajx6rf5.js} +8 -8
- package/dist/chunks/{workspace-qv9b3h9n.js → command-1b1yf6g0.js} +30 -30
- package/dist/chunks/{workspace-1ep2p91f.js → command-1ep2p91f.js} +2 -2
- package/dist/chunks/{workspace-s305gxse.js → command-1hfxmt0w.js} +41 -41
- package/dist/chunks/{workspace-0tjpvapw.js → command-1hzj9kg1.js} +10 -10
- package/dist/chunks/{workspace-5fec3t3w.js → command-1j6m29mr.js} +4 -4
- package/dist/chunks/{workspace-gky04n8p.js → command-1kxdjam0.js} +17 -17
- package/dist/chunks/{workspace-15wxq0kj.js → command-1sqf9bkf.js} +8 -8
- package/dist/chunks/{workspace-j90sh0vw.js → command-1t3hpytd.js} +84 -84
- package/dist/chunks/{workspace-aar2av7x.js → command-210p74nv.js} +6 -6
- package/dist/chunks/{workspace-d4he2qe1.js → command-2mq1h16s.js} +9 -9
- package/dist/chunks/{workspace-bbyyxdtc.js → command-2q3kn6hv.js} +13 -13
- package/dist/chunks/{workspace-dq407baf.js → command-395q6j9z.js} +6 -6
- package/dist/chunks/{workspace-2phre6gr.js → command-3ct72kbc.js} +17 -17
- package/dist/chunks/{workspace-fstg4fsa.js → command-3dhsd59m.js} +17 -17
- package/dist/chunks/{workspace-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{workspace-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{workspace-gcb5g84z.js → command-3k3tgz1s.js} +36 -36
- package/dist/chunks/{workspace-sb9g34e0.js → command-3p9s8f8r.js} +5 -5
- package/dist/chunks/command-3q31v9sa.js +257 -0
- package/dist/chunks/{workspace-t3hn50w1.js → command-3qfe0xj5.js} +8 -8
- package/dist/chunks/{workspace-b10f7vcz.js → command-3tpbv33b.js} +6 -6
- package/dist/chunks/{workspace-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{workspace-3eyct666.js → command-3w35w3cz.js} +35 -35
- package/dist/chunks/{workspace-xy9gzbcy.js → command-3y689znq.js} +18 -18
- package/dist/chunks/{workspace-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{workspace-1rd0hf05.js → command-46jxkehv.js} +6 -6
- package/dist/chunks/{workspace-nvxqht09.js → command-48kw51zw.js} +3 -3
- package/dist/chunks/{workspace-p1apbq8w.js → command-4bz0312p.js} +11 -11
- package/dist/chunks/{workspace-5tgqe19z.js → command-4ezxk448.js} +54 -54
- package/dist/chunks/{workspace-z71n2avg.js → command-4j64n899.js} +4 -4
- package/dist/chunks/{workspace-dex2drwj.js → command-4y1psmjm.js} +7 -7
- package/dist/chunks/{workspace-st7p3hwb.js → command-4ytg8f8f.js} +2 -2
- package/dist/chunks/{workspace-ncqfdwrq.js → command-4z7vav0p.js} +16 -16
- package/dist/chunks/{workspace-2b6qkcs0.js → command-4znvr1ks.js} +50 -50
- package/dist/chunks/{workspace-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{workspace-57b9ws8p.js → command-57b9ws8p.js} +1 -1
- package/dist/chunks/{workspace-w2h15q85.js → command-57myy5jh.js} +5 -5
- package/dist/chunks/{workspace-5g57z1ma.js → command-5g57z1ma.js} +1 -1
- package/dist/chunks/{workspace-tvgxg3g6.js → command-5kc27ehr.js} +4 -4
- package/dist/chunks/{workspace-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{workspace-6h1z9x2t.js → command-5rk2deda.js} +20 -20
- package/dist/chunks/{workspace-m28avgzz.js → command-5smgpg59.js} +15 -15
- package/dist/chunks/{workspace-vm8sweqc.js → command-66gqgwkw.js} +2 -2
- package/dist/chunks/{workspace-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{workspace-5gwxr4wz.js → command-6a980ypm.js} +16 -16
- package/dist/chunks/{workspace-n5d3v4c5.js → command-6a9ggp3a.js} +1 -1
- package/dist/chunks/{workspace-73a41k9m.js → command-6frn0zka.js} +43 -43
- package/dist/chunks/{workspace-fx7mmp1n.js → command-6ftnd7nz.js} +25 -25
- package/dist/chunks/{workspace-pzzw2hqw.js → command-6gmsgdx2.js} +5 -5
- package/dist/chunks/{workspace-w0rc49da.js → command-6pn57h68.js} +21 -21
- package/dist/chunks/{workspace-80ea5f6r.js → command-6qf2y9ve.js} +22 -22
- package/dist/chunks/{workspace-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{workspace-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{workspace-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{workspace-3byrw2k0.js → command-7d822byb.js} +9 -9
- package/dist/chunks/{workspace-7zyx6fzq.js → command-7ta6mr36.js} +14 -14
- package/dist/chunks/{workspace-zqt4wd7s.js → command-7vcph9c5.js} +9 -9
- package/dist/chunks/{workspace-pbjcynf2.js → command-802megp1.js} +11 -11
- package/dist/chunks/{workspace-xf8yqmad.js → command-82rhge12.js} +9 -9
- package/dist/chunks/{workspace-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{workspace-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{workspace-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{workspace-h6tfspxq.js → command-8qcf7amm.js} +14 -14
- package/dist/chunks/{workspace-f3crtseh.js → command-8qh1wvz2.js} +4 -4
- package/dist/chunks/{workspace-t2s68hp7.js → command-8sptrx30.js} +11 -11
- package/dist/chunks/{workspace-m6fea7hh.js → command-8yr3zrx2.js} +11 -11
- package/dist/chunks/{workspace-47xvp063.js → command-8zg8p5q1.js} +10 -10
- package/dist/chunks/{workspace-g6h99m46.js → command-941r3f3m.js} +1 -1
- package/dist/chunks/{workspace-r6k9he64.js → command-985ktdsx.js} +14 -14
- package/dist/chunks/{workspace-998yhzzq.js → command-998yhzzq.js} +3 -3
- package/dist/chunks/{workspace-ggk6kvmh.js → command-9c0aadwr.js} +14 -14
- package/dist/chunks/{workspace-hcgv7z9w.js → command-9c1a4kmv.js} +9 -9
- package/dist/chunks/{workspace-va6mm9z7.js → command-9e9hzcd0.js} +12 -12
- package/dist/chunks/{workspace-h7jf40e2.js → command-9hq0xw37.js} +15 -15
- package/dist/chunks/{workspace-9wev2pgg.js → command-9wev2pgg.js} +1 -1
- package/dist/chunks/{workspace-jyhwqdka.js → command-9zygn7h7.js} +18 -18
- package/dist/chunks/{workspace-4gx1jjxq.js → command-acdn2y46.js} +30 -30
- package/dist/chunks/{workspace-e4n1ebq2.js → command-ad8kq2nc.js} +3 -3
- package/dist/chunks/{workspace-j6jn98s4.js → command-ahsb9kpf.js} +6 -6
- package/dist/chunks/{workspace-rmja0r51.js → command-axq5kh8y.js} +10 -10
- package/dist/chunks/{workspace-ayjs7tqn.js → command-ayjs7tqn.js} +2 -2
- package/dist/chunks/{workspace-b11a7tx7.js → command-b11a7tx7.js} +1 -1
- package/dist/chunks/{workspace-qa3qhgw8.js → command-b27vhd2z.js} +4 -4
- package/dist/chunks/{workspace-y7nndgyc.js → command-bacj9t34.js} +9 -9
- package/dist/chunks/{workspace-zet3czjw.js → command-bhfmjk30.js} +19 -19
- package/dist/chunks/{workspace-s1sewrz2.js → command-bhk6njy6.js} +24 -24
- package/dist/chunks/{workspace-k0a3z2qz.js → command-btbmdjwj.js} +4 -4
- package/dist/chunks/{workspace-bzeyqsqd.js → command-bzeyqsqd.js} +1 -1
- package/dist/chunks/{workspace-pmpp0nb4.js → command-cb62p8s9.js} +22 -22
- package/dist/chunks/{workspace-ea9zv6cw.js → command-ccy38syf.js} +10 -10
- package/dist/chunks/{workspace-76skp782.js → command-cemytqje.js} +3 -3
- package/dist/chunks/{workspace-36cygfdp.js → command-cng6dfxk.js} +8 -8
- package/dist/chunks/{workspace-2ahabfrv.js → command-cqz7n2wt.js} +4 -4
- package/dist/chunks/{workspace-cr9hweqv.js → command-cr9hweqv.js} +2 -2
- package/dist/chunks/{workspace-qssh8sag.js → command-cvt24va3.js} +42 -42
- package/dist/chunks/{workspace-76475ja5.js → command-d1r1vdjn.js} +12 -12
- package/dist/chunks/{workspace-2xebcxdz.js → command-d97f9cxk.js} +12 -12
- package/dist/chunks/{workspace-bry36w7y.js → command-dedmnvkb.js} +20 -20
- package/dist/chunks/{workspace-k4814axw.js → command-deq2yphe.js} +17 -17
- package/dist/chunks/{workspace-y6rf4qat.js → command-dmn8f3fz.js} +34 -34
- package/dist/chunks/{workspace-fk85bsrp.js → command-dnkebwy9.js} +11 -11
- package/dist/chunks/{workspace-1bzs4kqq.js → command-drjmd517.js} +21 -21
- package/dist/chunks/{workspace-q8rwc74j.js → command-dsk8q8my.js} +23 -23
- package/dist/chunks/{workspace-gmce5qqj.js → command-dthc0v3v.js} +1 -1
- package/dist/chunks/{workspace-g1z83s7x.js → command-dvmztg5v.js} +43 -43
- package/dist/chunks/command-dxj72tfx.js +18 -0
- package/dist/chunks/{workspace-z34erevr.js → command-dz15z44q.js} +9 -9
- package/dist/chunks/{workspace-ansnh6at.js → command-dzg2v16h.js} +7 -7
- package/dist/chunks/{workspace-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{workspace-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{workspace-zx59jank.js → command-egvdenqz.js} +4 -4
- package/dist/chunks/{workspace-6n72fwwd.js → command-ehsy592z.js} +23 -23
- package/dist/chunks/{workspace-jvf3yq6v.js → command-embw8kgh.js} +4 -4
- package/dist/chunks/{workspace-mzmvkc7j.js → command-epa6at65.js} +26 -26
- package/dist/chunks/{workspace-5x8rsm2f.js → command-et97578y.js} +24 -24
- package/dist/chunks/{workspace-q40yvqvp.js → command-ew199m7p.js} +5 -5
- package/dist/chunks/{workspace-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{workspace-fcyg4h47.js → command-fcyg4h47.js} +2 -2
- package/dist/chunks/{workspace-2ec29r6m.js → command-fmv8kpsp.js} +4 -4
- package/dist/chunks/{workspace-zfm65xnk.js → command-ft31182a.js} +8 -8
- package/dist/chunks/{workspace-y76gxhjg.js → command-fwr9p4fy.js} +324 -324
- package/dist/chunks/{workspace-jjrctdmw.js → command-g38g0fz0.js} +12 -12
- package/dist/chunks/{workspace-kc8eh7pk.js → command-g69zc3wy.js} +17 -17
- package/dist/chunks/{workspace-mcqdwfqb.js → command-g6x66mca.js} +11 -11
- package/dist/chunks/{workspace-3b7e46vg.js → command-g970mz3v.js} +20 -20
- package/dist/chunks/{workspace-1fnk0qcx.js → command-gawvjx7k.js} +13 -13
- package/dist/chunks/{workspace-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{workspace-kccjhh93.js → command-gdc5cpct.js} +5 -5
- package/dist/chunks/{workspace-yefhp8xd.js → command-gryy9691.js} +9 -9
- package/dist/chunks/{workspace-xghm9m12.js → command-gvpgbncv.js} +15 -15
- package/dist/chunks/{workspace-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{workspace-h8vwnyd8.js → command-h8vwnyd8.js} +1 -1
- package/dist/chunks/{workspace-e2t3pw6w.js → command-he40rdb8.js} +17 -17
- package/dist/chunks/{workspace-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{workspace-tzprbfj6.js → command-hpkegr1y.js} +10 -10
- package/dist/chunks/command-hqp5gz7t.js +26 -0
- package/dist/chunks/{workspace-9sbtww25.js → command-j86wn4pa.js} +36 -36
- package/dist/chunks/{workspace-t18r7gq3.js → command-jbxhns51.js} +47 -47
- package/dist/chunks/{workspace-css516a4.js → command-jr0r6h1g.js} +3 -3
- package/dist/chunks/{workspace-07sqsv9w.js → command-jr2eqasw.js} +7 -7
- package/dist/chunks/{workspace-s8ch1s93.js → command-jrvn3mqz.js} +30 -30
- package/dist/chunks/{workspace-38phfjcn.js → command-k7myrtme.js} +9 -9
- package/dist/chunks/{workspace-8x4e5kq0.js → command-k98r0vz1.js} +27 -27
- package/dist/chunks/{workspace-8dh2j701.js → command-kcme49p2.js} +21 -21
- package/dist/chunks/{workspace-khmqacep.js → command-khmqacep.js} +1 -1
- package/dist/chunks/{workspace-wjst284m.js → command-kkyxct86.js} +2 -2
- package/dist/chunks/{workspace-etj2j5tt.js → command-kn6pff13.js} +19 -19
- package/dist/chunks/{workspace-yfattsqw.js → command-kv6t07rj.js} +17 -17
- package/dist/chunks/{workspace-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/{workspace-hp24smfg.js → command-kx57zey2.js} +11 -11
- package/dist/chunks/{workspace-gv7ndrzx.js → command-m26n4tkg.js} +4 -4
- package/dist/chunks/{workspace-pcs4hp0r.js → command-m38q3wy3.js} +11 -11
- package/dist/chunks/{workspace-db8n8p1c.js → command-m95xgvrp.js} +29 -29
- package/dist/chunks/{workspace-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{workspace-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{workspace-6gzxrv04.js → command-mdwjtjcb.js} +14 -14
- package/dist/chunks/{workspace-y6e8h1xc.js → command-mdzseb04.js} +23 -23
- package/dist/chunks/{workspace-zcfdnc2q.js → command-mfj0sxs3.js} +25 -25
- package/dist/chunks/{workspace-j6p3x2qe.js → command-mgym7y53.js} +44 -44
- package/dist/chunks/{workspace-bwq0z05b.js → command-mjqjpb51.js} +19 -19
- package/dist/chunks/{workspace-9qj6rkp4.js → command-mjzferrs.js} +5 -5
- package/dist/chunks/{workspace-074m64dp.js → command-mvnn9g24.js} +12 -12
- package/dist/chunks/{workspace-3y377wv9.js → command-mxvxcxwy.js} +4 -4
- package/dist/chunks/{workspace-8mr27nf4.js → command-mybp2pev.js} +4 -4
- package/dist/chunks/{workspace-r9s8agc4.js → command-n11rvh9p.js} +34 -34
- package/dist/chunks/{workspace-n6mrmtb3.js → command-n6mrmtb3.js} +1 -1
- package/dist/chunks/{workspace-rqgw4wbf.js → command-n6s6s5d0.js} +18 -18
- package/dist/chunks/{workspace-9z8cn46p.js → command-nn416cd4.js} +6 -6
- package/dist/chunks/{workspace-c3jpadc8.js → command-npm9b9zb.js} +5 -5
- package/dist/chunks/{workspace-e89xj288.js → command-p3p972wa.js} +5 -5
- package/dist/chunks/{workspace-nzg504jb.js → command-p3pg4pyc.js} +15 -15
- package/dist/chunks/{workspace-8yp4rne4.js → command-p51tpj98.js} +11 -11
- package/dist/chunks/{workspace-gm6mk2m9.js → command-p6d0b62k.js} +10 -10
- package/dist/chunks/{workspace-hhn6cs7f.js → command-p820w4f0.js} +25 -25
- package/dist/chunks/{workspace-srp09zfw.js → command-pazb1tph.js} +11 -11
- package/dist/chunks/{workspace-0ss1ygn7.js → command-pc1v25hk.js} +3 -3
- package/dist/chunks/{workspace-p8dm3ep0.js → command-pex2677d.js} +5 -5
- package/dist/chunks/{workspace-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{workspace-9nygwmwc.js → command-pk1g9nse.js} +15 -15
- package/dist/chunks/{workspace-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{workspace-6s9zvkg6.js → command-pkz1gcrh.js} +11 -11
- package/dist/chunks/{workspace-s6ckz0hn.js → command-psphhya3.js} +11 -11
- package/dist/chunks/{workspace-n8mct725.js → command-pv4gp5m4.js} +2 -2
- package/dist/chunks/{workspace-aq552fny.js → command-q1y8bwa4.js} +164 -164
- package/dist/chunks/{workspace-maers0pd.js → command-qakj2yt3.js} +6 -6
- package/dist/chunks/{workspace-xv7z1ba5.js → command-qc148cpv.js} +21 -21
- package/dist/chunks/{workspace-qp7m8750.js → command-qp7m8750.js} +3 -3
- package/dist/chunks/{workspace-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{workspace-gs67eedh.js → command-qsyf62v5.js} +25 -25
- package/dist/chunks/{workspace-tr7gnt89.js → command-qxhg3shq.js} +11 -11
- package/dist/chunks/{workspace-dtmbvn3g.js → command-r57we6b1.js} +2 -2
- package/dist/chunks/{workspace-91p1v22t.js → command-r61qxybf.js} +8 -8
- package/dist/chunks/{workspace-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{workspace-0gdmqesm.js → command-rhjbct0v.js} +4 -4
- package/dist/chunks/{workspace-5ggmzyjq.js → command-rv6zpw67.js} +35 -35
- package/dist/chunks/{workspace-etgqrbqm.js → command-rxmh8njq.js} +32 -32
- package/dist/chunks/{workspace-132rhf2q.js → command-rzsyqtcs.js} +23 -23
- package/dist/chunks/{workspace-c48qrqrp.js → command-s7cy65rz.js} +17 -17
- package/dist/chunks/{workspace-gwaf4cyv.js → command-sce0r76x.js} +10 -10
- package/dist/chunks/{workspace-2egnw719.js → command-sfd6krag.js} +12 -12
- package/dist/chunks/{workspace-r4fxfztp.js → command-sjs7wga1.js} +28 -28
- package/dist/chunks/{workspace-daz98v5x.js → command-smsqhasw.js} +28 -28
- package/dist/chunks/{workspace-x683dpmx.js → command-stq6srjr.js} +32 -32
- package/dist/chunks/{workspace-rzp7a2t4.js → command-svwczm27.js} +11 -11
- package/dist/chunks/{workspace-7ycdgr6s.js → command-t3e98aec.js} +9 -9
- package/dist/chunks/{workspace-eg33xqqg.js → command-t718dtrh.js} +41 -41
- package/dist/chunks/{workspace-cah5dkv9.js → command-t7bcp663.js} +10 -10
- package/dist/chunks/{workspace-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{workspace-98bt88c5.js → command-tbjtr317.js} +18 -18
- package/dist/chunks/{workspace-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{workspace-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{workspace-h90v2x9d.js → command-tfzngn12.js} +4 -4
- package/dist/chunks/{workspace-s1v8awss.js → command-tp3hq1fz.js} +3 -3
- package/dist/chunks/{workspace-ae239eb7.js → command-tw1m0zds.js} +35 -35
- package/dist/chunks/{workspace-bxxa49vs.js → command-twx1y9b4.js} +28 -28
- package/dist/chunks/{workspace-qby9dwvd.js → command-tx9w5tca.js} +8 -8
- package/dist/chunks/{workspace-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{workspace-ewxdsezr.js → command-v2x3p8dx.js} +32 -32
- package/dist/chunks/{workspace-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{workspace-mx9vqzsb.js → command-v8jfbz3g.js} +6 -6
- package/dist/chunks/{workspace-n8nk40tj.js → command-v9a132p0.js} +24 -24
- package/dist/chunks/{workspace-abc6j8jm.js → command-vbamk4ns.js} +35 -35
- package/dist/chunks/{workspace-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{workspace-0z8yhdqv.js → command-vj35nasm.js} +61 -61
- package/dist/chunks/{workspace-xjzqkwqn.js → command-vk5kq5j8.js} +13 -13
- package/dist/chunks/{workspace-c7kxmbtf.js → command-vvg7my21.js} +13 -13
- package/dist/chunks/{workspace-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{workspace-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{workspace-bqszwq89.js → command-w4axh9wz.js} +4 -4
- package/dist/chunks/{workspace-4myb3554.js → command-w4mk1hws.js} +16 -16
- package/dist/chunks/{workspace-1p07q0wb.js → command-w92k2e0p.js} +6 -6
- package/dist/chunks/{workspace-pwrxqpxd.js → command-wak8pa62.js} +18 -18
- package/dist/chunks/{workspace-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{workspace-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{workspace-keqvyq2w.js → command-web3t9xy.js} +4 -4
- package/dist/chunks/{workspace-wjr9rjd7.js → command-wjr9rjd7.js} +2 -2
- package/dist/chunks/{workspace-vsv97a0e.js → command-wn0xhw32.js} +25 -25
- package/dist/chunks/{workspace-ffq1c2je.js → command-wn13chhe.js} +21 -21
- package/dist/chunks/{workspace-efxx8rk8.js → command-wrc6k2zh.js} +12 -12
- package/dist/chunks/{workspace-wbnh8gjc.js → command-wsmpk9jk.js} +1 -1
- package/dist/chunks/{workspace-be4f7z37.js → command-x0g438en.js} +84 -84
- package/dist/chunks/{workspace-mshsb7tz.js → command-x6x33ar5.js} +15 -15
- package/dist/chunks/{workspace-dbe25myc.js → command-xdhksg1q.js} +11 -11
- package/dist/chunks/{workspace-g9vnk3jz.js → command-xdydn0yk.js} +16 -16
- package/dist/chunks/{workspace-gn585jta.js → command-xe70zbdz.js} +2 -2
- package/dist/chunks/{workspace-0xx3ns2v.js → command-xewwdcxe.js} +22 -22
- package/dist/chunks/{workspace-rdp8b27p.js → command-xexx9thr.js} +19 -19
- package/dist/chunks/{workspace-xg0qp6eg.js → command-xhmz0e2c.js} +11 -11
- package/dist/chunks/{workspace-r29avfkz.js → command-xr5vn762.js} +9 -9
- package/dist/chunks/{workspace-cbartrqj.js → command-xsq7pz40.js} +12 -12
- package/dist/chunks/{workspace-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{workspace-qhd9gkgf.js → command-y4g1qmba.js} +9 -9
- package/dist/chunks/{workspace-dpkg50ah.js → command-y71avatq.js} +4 -4
- package/dist/chunks/{workspace-e6g20fz5.js → command-yc2cz67n.js} +32 -32
- package/dist/chunks/{workspace-a94rjkpn.js → command-yfxdcy39.js} +7 -7
- package/dist/chunks/{workspace-ynmknp8q.js → command-ymgkxg7n.js} +5 -5
- package/dist/chunks/{workspace-ynrxtasp.js → command-ysye7j36.js} +15 -15
- package/dist/chunks/{workspace-s4gy3dj7.js → command-yy8p69dz.js} +16 -16
- package/dist/chunks/{workspace-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{workspace-ayabmdkg.js → command-z28rahrh.js} +29 -29
- package/dist/chunks/{workspace-9dmx38dk.js → command-z4a4venm.js} +21 -21
- package/dist/chunks/{workspace-4jhg1r7p.js → command-z9pbab2f.js} +13 -13
- package/dist/chunks/{workspace-g9ay48z2.js → command-zbak8g8s.js} +5 -5
- package/dist/chunks/{workspace-3chvherp.js → command-ze3ntbvb.js} +4 -4
- package/dist/chunks/{workspace-drdx3kxz.js → command-zhdc5kpb.js} +13 -13
- package/dist/chunks/{workspace-n56c0sd4.js → command-zjr49qxn.js} +42 -42
- package/dist/chunks/{workspace-zaq7yc5h.js → command-zqsad2gs.js} +2 -2
- package/dist/chunks/{workspace-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{workspace-je188k40.js → command-zxn1czyk.js} +3 -3
- package/dist/chunks/{workspace-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/chunks/{workspace-neqjwg63.js → command-zxqtx2gp.js} +35 -35
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/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 +366 -366
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- 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 +221 -221
- 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 +9 -9
- 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 +93 -93
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +78 -78
- 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 +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +140 -140
- 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 +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +98 -98
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- 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 +118 -118
- 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 +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- 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 +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +221 -221
- package/dist/session/execution.js +130 -130
- 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 +81 -81
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- 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 +126 -126
- 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 +162 -162
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +7 -7
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- 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 +135 -135
- 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 +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +112 -112
- 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 +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +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 +81 -81
- 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 +8 -8
- package/dist/chunks/workspace-7jmfkexa.js +0 -26
- package/dist/chunks/workspace-by5v678g.js +0 -18
- package/dist/chunks/workspace-stn147wg.js +0 -257
- /package/dist/chunks/{workspace-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{workspace-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{workspace-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{workspace-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{workspace-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{workspace-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{workspace-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{workspace-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{workspace-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{workspace-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{workspace-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{workspace-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{workspace-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{workspace-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{workspace-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{workspace-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{workspace-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{workspace-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{workspace-5fjb7ams.js → command-5fjb7ams.js} +0 -0
- /package/dist/chunks/{workspace-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{workspace-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{workspace-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{workspace-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{workspace-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{workspace-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{workspace-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{workspace-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{workspace-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{workspace-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{workspace-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{workspace-a058387c.js → command-a058387c.js} +0 -0
- /package/dist/chunks/{workspace-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{workspace-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{workspace-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{workspace-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{workspace-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{workspace-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{workspace-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{workspace-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{workspace-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{workspace-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{workspace-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{workspace-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{workspace-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{workspace-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{workspace-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{workspace-e3qxr5gk.js → command-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{workspace-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{workspace-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{workspace-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{workspace-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{workspace-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{workspace-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{workspace-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{workspace-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{workspace-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{workspace-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{workspace-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{workspace-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{workspace-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{workspace-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{workspace-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{workspace-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{workspace-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{workspace-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{workspace-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{workspace-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{workspace-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{workspace-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{workspace-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{workspace-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{workspace-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{workspace-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{workspace-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{workspace-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{workspace-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{workspace-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{workspace-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{workspace-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{workspace-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{workspace-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{workspace-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{workspace-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{workspace-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{workspace-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{workspace-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{workspace-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{workspace-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{workspace-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{workspace-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{workspace-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{workspace-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{workspace-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{workspace-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{workspace-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{workspace-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{workspace-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{workspace-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{workspace-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{workspace-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-5kc27ehr.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-8sptrx30.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-a058387c.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError12,
|
|
20
|
+
Options: () => Options7,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service83,
|
|
23
|
+
UnavailableError: () => UnavailableError4,
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured10,
|
|
26
|
+
layer: () => layer27,
|
|
27
|
+
node: () => node87
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -34,25 +34,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
34
34
|
import { Global } from "@opencode/util/global";
|
|
35
35
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
36
36
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
37
|
-
import { available as
|
|
38
|
-
var
|
|
37
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
38
|
+
var Options7 = Schema.Struct({
|
|
39
39
|
handoff: Schema.optional(Handoff),
|
|
40
40
|
root: Schema.optional(Schema.String)
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class UnavailableError4 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
44
44
|
message: Schema.String
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class NotFoundError12 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
49
49
|
ptyID: Pty.ID
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service83 extends Context.Service()("@opencode/PersistentPty") {
|
|
54
54
|
}
|
|
55
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
55
|
+
var makeLayer = (options = {}) => Layer.effect(Service83, Effect.gen(function* () {
|
|
56
56
|
const bus = yield* Service85;
|
|
57
57
|
const global = yield* Global.Service;
|
|
58
58
|
const context = yield* Effect.context();
|
|
@@ -75,7 +75,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
75
75
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
76
76
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
77
77
|
if (!found)
|
|
78
|
-
return yield* new
|
|
78
|
+
return yield* new NotFoundError12({ ptyID: id });
|
|
79
79
|
return found;
|
|
80
80
|
});
|
|
81
81
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -165,7 +165,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
165
165
|
});
|
|
166
166
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
167
167
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
168
|
-
return yield* new
|
|
168
|
+
return yield* new UnavailableError4({ message: "lines must be an integer between 1 and 65535" });
|
|
169
169
|
const id = current.get(sessionID);
|
|
170
170
|
if (!id)
|
|
171
171
|
return null;
|
|
@@ -242,7 +242,7 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
242
242
|
detach: attachment.detach
|
|
243
243
|
};
|
|
244
244
|
});
|
|
245
|
-
return
|
|
245
|
+
return Service83.of({
|
|
246
246
|
list,
|
|
247
247
|
get,
|
|
248
248
|
create,
|
|
@@ -258,17 +258,17 @@ var makeLayer = (options = {}) => Layer.effect(Service24, Effect.gen(function* (
|
|
|
258
258
|
attach
|
|
259
259
|
});
|
|
260
260
|
}));
|
|
261
|
-
var
|
|
262
|
-
var
|
|
263
|
-
service:
|
|
264
|
-
layer: options === undefined ?
|
|
261
|
+
var layer27 = makeLayer();
|
|
262
|
+
var configured10 = (options) => makeGlobalNode({
|
|
263
|
+
service: Service83,
|
|
264
|
+
layer: options === undefined ? layer27 : makeLayer(options),
|
|
265
265
|
deps: [node89, Global.node]
|
|
266
266
|
});
|
|
267
|
-
var
|
|
267
|
+
var node87 = configured10();
|
|
268
268
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
269
269
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
270
|
-
var unexpected = (response) => Effect.fail(new
|
|
271
|
-
var unavailable = (error) => new
|
|
270
|
+
var unexpected = (response) => Effect.fail(new UnavailableError4({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
271
|
+
var unavailable = (error) => new UnavailableError4({ message: error instanceof Error ? error.message : String(error) });
|
|
272
272
|
function toInfo(value) {
|
|
273
273
|
const status = value.lifecycle.status;
|
|
274
274
|
return {
|
|
@@ -300,4 +300,4 @@ function fromID(value) {
|
|
|
300
300
|
return parsed;
|
|
301
301
|
}
|
|
302
302
|
|
|
303
|
-
export {
|
|
303
|
+
export { Options7, UnavailableError4, NotFoundError12, Service83, layer27, configured10, node87, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-tp3hq1fz.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID8,
|
|
17
|
+
Info: () => Info12,
|
|
18
|
+
NotFoundError: () => NotFoundError8,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service63,
|
|
21
|
+
node: () => node66
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID8 = PermissionSaved.ID;
|
|
29
|
+
var Info12 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError8 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID8
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID8,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service63 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service86).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID8.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError8({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError8({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service63.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node66 = makeGlobalNode({ service: Service63, layer, deps: [node90] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID8, Info12, NotFoundError8, ConflictError2, Service63, node66, exports_saved };
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./command-kv6t07rj.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service68
|
|
9
|
+
} from "./command-cvt24va3.js";
|
|
10
10
|
import {
|
|
11
11
|
LocalSource2,
|
|
12
12
|
GitSource2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-cb62p8s9.js";
|
|
14
14
|
import {
|
|
15
15
|
observe2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-qsdy395h.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/reference.ts
|
|
22
22
|
var exports_reference = {};
|
|
23
23
|
__export(exports_reference, {
|
|
24
24
|
ConfigReferencePlugin: () => exports_reference,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin17
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Effect } from "effect";
|
|
30
30
|
import { Global } from "@opencode/util/global";
|
|
31
|
-
var
|
|
31
|
+
var Plugin17 = define({
|
|
32
32
|
id: "opencode.config.reference",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
35
|
-
const location = yield*
|
|
34
|
+
const config = yield* Service68;
|
|
35
|
+
const location = yield* Service79;
|
|
36
36
|
const global = yield* Global.Service;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, ctx.reference.reload());
|
|
38
38
|
yield* ctx.reference.transform((editor) => {
|
|
@@ -72,4 +72,4 @@ function localPath(directory, home, value) {
|
|
|
72
72
|
return path.isAbsolute(value) ? value : path.resolve(directory, value);
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
export {
|
|
75
|
+
export { Plugin17, exports_reference };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service73
|
|
4
|
+
} from "./command-smsqhasw.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/llmgateway.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -9,7 +9,7 @@ import { define } from "@opencode/plugin/effect/plugin";
|
|
|
9
9
|
var LLMGatewayPlugin2 = define({
|
|
10
10
|
id: "opencode.provider.llmgateway",
|
|
11
11
|
effect: Effect.fn(function* (ctx) {
|
|
12
|
-
const integrations = yield*
|
|
12
|
+
const integrations = yield* Service73;
|
|
13
13
|
const configured = new Set((yield* integrations.list()).map((integration) => integration.id));
|
|
14
14
|
yield* ctx.provider.transform((evt) => {
|
|
15
15
|
for (const item of evt.list()) {
|
|
@@ -19,7 +19,7 @@ var LLMGatewayPlugin2 = define({
|
|
|
19
19
|
continue;
|
|
20
20
|
if (item.provider.settings?.baseURL !== "https://api.llmgateway.io/v1")
|
|
21
21
|
continue;
|
|
22
|
-
if (!configured.has(
|
|
22
|
+
if (!configured.has(ID12.make(item.provider.id)))
|
|
23
23
|
continue;
|
|
24
24
|
evt.update(item.provider.id, (provider) => {
|
|
25
25
|
provider.headers = {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
name16,
|
|
3
3
|
ps2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-8sptrx30.js";
|
|
5
5
|
import {
|
|
6
6
|
lazy2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-88xbtdfr.js";
|
|
8
8
|
import {
|
|
9
9
|
match2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-y1fvbwt7.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/shell/parse.ts
|
|
16
16
|
var exports_parse = {};
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./command-cvt24va3.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./command-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service14,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-sce0r76x.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./command-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./command-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin5
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin5 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service68;
|
|
34
|
+
const managed = yield* Service14;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -76,4 +76,4 @@ var Plugin14 = define({
|
|
|
76
76
|
})
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export {
|
|
79
|
+
export { Plugin5, exports_policy };
|
|
@@ -1,84 +1,84 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-tp3hq1fz.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-5kc27ehr.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-rdw6cm16.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
13
|
+
ID9,
|
|
14
|
+
Service64,
|
|
15
|
+
node67
|
|
16
|
+
} from "./command-mjqjpb51.js";
|
|
17
17
|
import {
|
|
18
18
|
llmClient2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-775gj3j1.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service71,
|
|
22
|
+
node74
|
|
23
|
+
} from "./command-6qf2y9ve.js";
|
|
24
24
|
import {
|
|
25
25
|
estimate2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./command-h6vf3j39.js";
|
|
27
27
|
import {
|
|
28
28
|
SessionEvent2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./command-ec1grn59.js";
|
|
30
30
|
import {
|
|
31
31
|
kept2,
|
|
32
32
|
messageToText2,
|
|
33
33
|
truncateToolOutput2,
|
|
34
34
|
serializeToolContent2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./command-8mywswrd.js";
|
|
36
36
|
import {
|
|
37
37
|
isNativeCompaction2,
|
|
38
38
|
load4
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-4y1psmjm.js";
|
|
40
40
|
import {
|
|
41
41
|
toLLMMessages2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./command-zqsad2gs.js";
|
|
43
43
|
import {
|
|
44
44
|
outputLimit2,
|
|
45
45
|
baseTranscript2,
|
|
46
46
|
unsupportedParts2,
|
|
47
47
|
boundImages2,
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
} from "./
|
|
48
|
+
Service29,
|
|
49
|
+
node33
|
|
50
|
+
} from "./command-1b1yf6g0.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service50,
|
|
53
|
+
node53
|
|
54
|
+
} from "./command-vk5kq5j8.js";
|
|
55
55
|
import {
|
|
56
56
|
isRetryable2,
|
|
57
57
|
policy2
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./command-395q6j9z.js";
|
|
59
59
|
import {
|
|
60
60
|
toSessionError2,
|
|
61
61
|
contentFilterError2
|
|
62
|
-
} from "./
|
|
62
|
+
} from "./command-npm9b9zb.js";
|
|
63
63
|
import {
|
|
64
64
|
calculateCost2,
|
|
65
65
|
record2,
|
|
66
66
|
add2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./command-tdstcens.js";
|
|
68
68
|
import {
|
|
69
69
|
__export
|
|
70
|
-
} from "./
|
|
70
|
+
} from "./command-9rqn6x4v.js";
|
|
71
71
|
|
|
72
72
|
// src/session/compaction.ts
|
|
73
73
|
var exports_compaction2 = {};
|
|
74
74
|
__export(exports_compaction2, {
|
|
75
|
-
Service: () =>
|
|
75
|
+
Service: () => Service6,
|
|
76
76
|
SessionCompaction: () => exports_compaction2,
|
|
77
77
|
buildPrompt: () => buildPrompt2,
|
|
78
78
|
estimateContext: () => estimateContext2,
|
|
79
79
|
estimatePrompt: () => estimatePrompt2,
|
|
80
|
-
layer: () =>
|
|
81
|
-
node: () =>
|
|
80
|
+
layer: () => layer6,
|
|
81
|
+
node: () => node8,
|
|
82
82
|
recentUserMessages: () => recentUserMessages2
|
|
83
83
|
});
|
|
84
84
|
import {
|
|
@@ -94,7 +94,7 @@ import {
|
|
|
94
94
|
} from "@opencode/ai";
|
|
95
95
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
96
96
|
import { Context, Effect, Layer, Result, Stream } from "effect";
|
|
97
|
-
class
|
|
97
|
+
class Service6 extends Context.Service()("@opencode/SessionCompaction") {
|
|
98
98
|
}
|
|
99
99
|
var NOTHING_TO_COMPACT = { error: { type: "compaction.unavailable", message: "Nothing to compact yet" } };
|
|
100
100
|
var SHRINK_STEPS = [0.7, 0.5, 0.35];
|
|
@@ -174,14 +174,14 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
174
174
|
};
|
|
175
175
|
var NUDGE = "The previous response did not fill in the required summary template. Do not call tools. Return the summary as text using the exact section headings from the template.";
|
|
176
176
|
var LEGACY_HEADING = "## Additional Context";
|
|
177
|
-
var
|
|
178
|
-
const agents = yield*
|
|
177
|
+
var layer6 = Layer.effect(Service6, Effect.gen(function* () {
|
|
178
|
+
const agents = yield* Service64;
|
|
179
179
|
const bus = yield* Service85;
|
|
180
180
|
const llm = yield* LLMClient.Service;
|
|
181
|
-
const catalog = yield*
|
|
182
|
-
const models = yield*
|
|
181
|
+
const catalog = yield* Service71;
|
|
182
|
+
const models = yield* Service50;
|
|
183
183
|
const db = (yield* Service86).db;
|
|
184
|
-
const requests = yield*
|
|
184
|
+
const requests = yield* Service29;
|
|
185
185
|
const state = create3({
|
|
186
186
|
name: "session-compaction",
|
|
187
187
|
initial: () => ({ auto: true, keep: 15000 }),
|
|
@@ -199,7 +199,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
199
199
|
if (trigger.reason === "auto" && !due(context, calculateCeiling(context.model.limit, settings.buffer)))
|
|
200
200
|
return { status: "skipped" };
|
|
201
201
|
const native = context.model.compaction?.type === "native";
|
|
202
|
-
const agent = native ? undefined : yield* agents.get(
|
|
202
|
+
const agent = native ? undefined : yield* agents.get(ID9.make("compaction"));
|
|
203
203
|
const model = (agent?.model && (yield* models.resolve({ ...context.session, model: agent.model }, catalog.available).pipe(Effect.orElseSucceed(() => {
|
|
204
204
|
return;
|
|
205
205
|
})))) ?? context.model;
|
|
@@ -473,16 +473,16 @@ ${text}`;
|
|
|
473
473
|
}, { metadata: outcome.metadata });
|
|
474
474
|
return { status: "completed" };
|
|
475
475
|
});
|
|
476
|
-
return
|
|
476
|
+
return Service6.of({
|
|
477
477
|
transform: state.transform,
|
|
478
478
|
reload: state.reload,
|
|
479
479
|
compact: (trigger) => compact(trigger).pipe(Effect.onInterrupt(() => trigger.reason === "manual" ? Effect.void : publish(trigger, { error: { type: "compaction.interrupted", message: "Compaction was interrupted" } })), Effect.ensuring(Effect.sync(() => spent.delete(trigger.context.session.id))))
|
|
480
480
|
});
|
|
481
481
|
}));
|
|
482
|
-
var
|
|
483
|
-
service:
|
|
484
|
-
layer:
|
|
485
|
-
deps: [
|
|
482
|
+
var node8 = makeLocationNode({
|
|
483
|
+
service: Service6,
|
|
484
|
+
layer: layer6,
|
|
485
|
+
deps: [node67, node89, node90, llmClient2, node74, node33, node53]
|
|
486
486
|
});
|
|
487
487
|
var previousCompaction = (messages) => {
|
|
488
488
|
const [first] = messages;
|
|
@@ -632,4 +632,4 @@ var estimateMedia = (mime) => {
|
|
|
632
632
|
return 0;
|
|
633
633
|
};
|
|
634
634
|
|
|
635
|
-
export {
|
|
635
|
+
export { Service6, buildPrompt2, layer6, node8, recentUserMessages2, estimateContext2, estimatePrompt2, exports_compaction2 };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID11,
|
|
3
3
|
mergeOverlay2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-qsyf62v5.js";
|
|
5
5
|
import {
|
|
6
6
|
ID10,
|
|
7
7
|
VariantID2,
|
|
8
8
|
Info19,
|
|
9
9
|
compatibility2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./command-6qf2y9ve.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/modal/models.ts
|
|
16
16
|
var exports_models2 = {};
|