@opencode/core 0.0.0-dev-20417 → 0.0.0-dev-20423
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{aisdk-native-rtx0r0k4.js → file-access-054bnrcz.js} +18 -18
- package/dist/chunks/{aisdk-native-hmh1jr94.js → file-access-07esrmkr.js} +15 -15
- package/dist/chunks/{aisdk-native-14767bwg.js → file-access-07x4qw17.js} +48 -48
- package/dist/chunks/{aisdk-native-jf2tzzg3.js → file-access-0e0js3rh.js} +26 -26
- package/dist/chunks/{aisdk-native-2d57kztd.js → file-access-0ft9cg2j.js} +4 -4
- package/dist/chunks/{aisdk-native-c03kjhqs.js → file-access-0k4n424v.js} +47 -47
- package/dist/chunks/{aisdk-native-5xnwfp9f.js → file-access-0maqqwr3.js} +11 -11
- package/dist/chunks/{aisdk-native-0paq2nw3.js → file-access-0paq2nw3.js} +1 -1
- package/dist/chunks/{aisdk-native-gv6a8nnw.js → file-access-0vbcp93d.js} +2 -2
- package/dist/chunks/{aisdk-native-1bqfwsdz.js → file-access-0x34zjfk.js} +11 -11
- package/dist/chunks/{aisdk-native-2k1mv0ny.js → file-access-10a0p2jb.js} +11 -11
- package/dist/chunks/{aisdk-native-ahd542yp.js → file-access-15nepkqg.js} +8 -8
- package/dist/chunks/{aisdk-native-ssh52gjb.js → file-access-16v1444e.js} +7 -7
- package/dist/chunks/{aisdk-native-178zw4cw.js → file-access-1cjqvqy6.js} +17 -17
- package/dist/chunks/{aisdk-native-1dazxqgg.js → file-access-1dazxqgg.js} +2 -2
- package/dist/chunks/{aisdk-native-tyqpfex6.js → file-access-1dth1b1r.js} +15 -15
- package/dist/chunks/{aisdk-native-94ek1h2f.js → file-access-1dvck2a7.js} +2 -2
- package/dist/chunks/{aisdk-native-f97fng2a.js → file-access-1garg717.js} +8 -8
- package/dist/chunks/{aisdk-native-v34qk40s.js → file-access-1kxeax12.js} +4 -4
- package/dist/chunks/{aisdk-native-4rbmpaks.js → file-access-1m0tad6c.js} +6 -6
- package/dist/chunks/{aisdk-native-21r38tys.js → file-access-21r38tys.js} +1 -1
- package/dist/chunks/{aisdk-native-69tea0b1.js → file-access-22d7tj50.js} +9 -9
- package/dist/chunks/{aisdk-native-m4372dev.js → file-access-288g8677.js} +4 -4
- package/dist/chunks/{aisdk-native-dc1ykt8z.js → file-access-29kk78yn.js} +3 -3
- package/dist/chunks/{aisdk-native-c558n2pb.js → file-access-29tbwe98.js} +24 -24
- package/dist/chunks/{aisdk-native-2a5m3afh.js → file-access-2a5m3afh.js} +1 -1
- package/dist/chunks/{aisdk-native-kyrmdyzb.js → file-access-2bh420nq.js} +27 -27
- package/dist/chunks/{aisdk-native-ae0217x6.js → file-access-2htbg7xg.js} +32 -32
- package/dist/chunks/{aisdk-native-xajn4p7x.js → file-access-2jyv8ggx.js} +20 -20
- package/dist/chunks/{aisdk-native-rndxfgdz.js → file-access-32wjb5vy.js} +21 -21
- package/dist/chunks/{aisdk-native-xe4z21fa.js → file-access-33fsjrfc.js} +20 -21
- package/dist/chunks/{aisdk-native-pk6g247z.js → file-access-3c019r4e.js} +6 -6
- package/dist/chunks/{aisdk-native-nh8dtxc9.js → file-access-3emr59yt.js} +8 -8
- package/dist/chunks/{aisdk-native-3fc6dm20.js → file-access-3fc6dm20.js} +1 -1
- package/dist/chunks/{aisdk-native-3hepkmqq.js → file-access-3hepkmqq.js} +1 -1
- package/dist/chunks/{aisdk-native-wzyv7g1z.js → file-access-3jf042qv.js} +23 -23
- package/dist/chunks/{aisdk-native-4z96vvqy.js → file-access-3rymjx9g.js} +13 -13
- package/dist/chunks/{aisdk-native-3smtnn6g.js → file-access-3smtnn6g.js} +1 -1
- package/dist/chunks/{aisdk-native-3tvqynh2.js → file-access-3tvqynh2.js} +1 -1
- package/dist/chunks/{aisdk-native-57ez7d0k.js → file-access-3v5tjer0.js} +2 -2
- package/dist/chunks/{aisdk-native-3zsf4n22.js → file-access-3zsf4n22.js} +1 -1
- package/dist/chunks/{aisdk-native-pynw2zk1.js → file-access-40x2t3h9.js} +27 -27
- package/dist/chunks/{aisdk-native-jc93wweh.js → file-access-43ka91pa.js} +9 -9
- package/dist/chunks/{aisdk-native-w6e32r8t.js → file-access-43qgvbm9.js} +17 -17
- package/dist/chunks/{aisdk-native-erpxhpcp.js → file-access-4432mf64.js} +25 -25
- package/dist/chunks/{aisdk-native-90r035a6.js → file-access-447efrsq.js} +8 -8
- package/dist/chunks/{aisdk-native-fnypgrc1.js → file-access-46sp6zbs.js} +28 -28
- package/dist/chunks/{aisdk-native-wrk0h553.js → file-access-47cwrk07.js} +29 -29
- package/dist/chunks/{aisdk-native-e6hmchc5.js → file-access-47jkzegy.js} +5 -5
- package/dist/chunks/{aisdk-native-6656g7jn.js → file-access-4hrvpbem.js} +4 -4
- package/dist/chunks/{aisdk-native-yrznvahk.js → file-access-4ts7tf6z.js} +2 -2
- package/dist/chunks/{aisdk-native-g8182w1y.js → file-access-4xp53jne.js} +19 -19
- package/dist/chunks/{aisdk-native-n6927rkk.js → file-access-4xsrjhze.js} +5 -5
- package/dist/chunks/{aisdk-native-jca4demv.js → file-access-543tcfte.js} +2 -2
- package/dist/chunks/{aisdk-native-54ma36ye.js → file-access-54ma36ye.js} +1 -1
- package/dist/chunks/{aisdk-native-56gdpj1q.js → file-access-56gdpj1q.js} +2 -2
- package/dist/chunks/{aisdk-native-t1bt7fzx.js → file-access-587pgjr5.js} +36 -36
- package/dist/chunks/{aisdk-native-craa4cy0.js → file-access-59s176qy.js} +3 -3
- package/dist/chunks/{aisdk-native-5daktx2q.js → file-access-5daktx2q.js} +1 -1
- package/dist/chunks/{aisdk-native-1cxs9rqw.js → file-access-5f009fwt.js} +59 -59
- package/dist/chunks/{aisdk-native-5t3nmthw.js → file-access-5t3nmthw.js} +2 -2
- package/dist/chunks/{aisdk-native-hekxc47r.js → file-access-5tat9ppm.js} +1 -1
- package/dist/chunks/{aisdk-native-z8rc884h.js → file-access-5xzgptxk.js} +4 -4
- package/dist/chunks/{aisdk-native-8tea5g87.js → file-access-5yv40649.js} +10 -10
- package/dist/chunks/file-access-619r8v3y.js +18 -0
- package/dist/chunks/{aisdk-native-669tq793.js → file-access-669tq793.js} +1 -1
- package/dist/chunks/{aisdk-native-9t958dxm.js → file-access-68yjs0jb.js} +24 -24
- package/dist/chunks/{aisdk-native-2h0awvba.js → file-access-69qt02rp.js} +1 -1
- package/dist/chunks/{aisdk-native-q05d1p5d.js → file-access-6cgtmdw1.js} +8 -8
- package/dist/chunks/{aisdk-native-4wejdrpx.js → file-access-6d6skgds.js} +16 -16
- package/dist/chunks/{aisdk-native-8q7trwbk.js → file-access-6dgwpzzh.js} +22 -22
- package/dist/chunks/{aisdk-native-5d0dn1hj.js → file-access-6dy6aana.js} +306 -306
- package/dist/chunks/{aisdk-native-fk8ztcgd.js → file-access-6jv65q7g.js} +14 -14
- package/dist/chunks/{aisdk-native-q2m48zjp.js → file-access-6sf57f13.js} +12 -12
- package/dist/chunks/{aisdk-native-c1h6cn61.js → file-access-6ygnexhm.js} +2 -2
- package/dist/chunks/{aisdk-native-yavdqf6v.js → file-access-6z5zeb5k.js} +18 -18
- package/dist/chunks/{aisdk-native-zq17q5fx.js → file-access-70kv65rg.js} +93 -93
- package/dist/chunks/{aisdk-native-ckecvw8r.js → file-access-71az546q.js} +2 -2
- package/dist/chunks/{aisdk-native-8zb5tzd5.js → file-access-78jsw4m4.js} +31 -31
- package/dist/chunks/{aisdk-native-7bmhse3q.js → file-access-7bmhse3q.js} +1 -1
- package/dist/chunks/{aisdk-native-3f9an36k.js → file-access-7zydptxx.js} +6 -6
- package/dist/chunks/{aisdk-native-tndj373f.js → file-access-81mx0dd4.js} +7 -7
- package/dist/chunks/{aisdk-native-84txncab.js → file-access-84txncab.js} +1 -1
- package/dist/chunks/{aisdk-native-eqv59zcm.js → file-access-89rb888m.js} +20 -20
- package/dist/chunks/{aisdk-native-bnmr3cva.js → file-access-8ank75fn.js} +8 -8
- package/dist/chunks/{aisdk-native-v7vcbjpn.js → file-access-8d4fr1yn.js} +11 -11
- package/dist/chunks/{aisdk-native-8d7r5vzw.js → file-access-8d7r5vzw.js} +1 -1
- package/dist/chunks/{aisdk-native-1ck7ys6v.js → file-access-8jngx5jr.js} +35 -35
- package/dist/chunks/{aisdk-native-4jng47r3.js → file-access-8jx1rcbm.js} +36 -36
- package/dist/chunks/{aisdk-native-2p073dgc.js → file-access-8kwjs46x.js} +20 -20
- package/dist/chunks/{aisdk-native-e6kj5m3z.js → file-access-8mb668b9.js} +10 -10
- package/dist/chunks/{aisdk-native-3tbqkg03.js → file-access-8p7e9d70.js} +20 -20
- package/dist/chunks/{aisdk-native-z1rqywnx.js → file-access-8q7xev84.js} +10 -10
- package/dist/chunks/{aisdk-native-0124cehf.js → file-access-8q91hsbg.js} +13 -13
- package/dist/chunks/{aisdk-native-v0638640.js → file-access-91z5rg67.js} +8 -8
- package/dist/chunks/{aisdk-native-0hf9g8pg.js → file-access-93ygb5af.js} +6 -6
- package/dist/chunks/{aisdk-native-08y9fw32.js → file-access-9bnev7a1.js} +18 -18
- package/dist/chunks/{aisdk-native-z07pqspn.js → file-access-9e5bzkjp.js} +3 -3
- package/dist/chunks/{aisdk-native-8dpa8mca.js → file-access-9pas2tb1.js} +13 -13
- package/dist/chunks/{aisdk-native-80arm2fs.js → file-access-9vmwh205.js} +6 -6
- package/dist/chunks/{aisdk-native-1xggbd2g.js → file-access-9y6p8gkk.js} +1 -1
- package/dist/chunks/{aisdk-native-a1gpj94z.js → file-access-a1gpj94z.js} +1 -1
- package/dist/chunks/{aisdk-native-bvsxznv8.js → file-access-a6h4nhc6.js} +1 -1
- package/dist/chunks/{aisdk-native-ym3dj8mc.js → file-access-a9vcwp68.js} +37 -37
- package/dist/chunks/{aisdk-native-aaet6srn.js → file-access-aaet6srn.js} +2 -2
- package/dist/chunks/{aisdk-native-y6bex35g.js → file-access-addxnjmp.js} +4 -4
- package/dist/chunks/{aisdk-native-bt0w5j1m.js → file-access-ae464gx1.js} +11 -11
- package/dist/chunks/{aisdk-native-0510rp3e.js → file-access-aej0er4j.js} +15 -15
- package/dist/chunks/{aisdk-native-m2s74evt.js → file-access-af6t3a03.js} +8 -8
- package/dist/chunks/{aisdk-native-k76fn4kw.js → file-access-afdssyjb.js} +4 -4
- package/dist/chunks/{aisdk-native-3xzkedv0.js → file-access-apk1tfew.js} +28 -28
- package/dist/chunks/{aisdk-native-qvn46pfc.js → file-access-b3180kyy.js} +26 -26
- package/dist/chunks/{aisdk-native-n4a76smx.js → file-access-b4mn66r8.js} +24 -24
- package/dist/chunks/{aisdk-native-cfsekr6v.js → file-access-b4twkq7r.js} +6 -6
- package/dist/chunks/{aisdk-native-7j06gtke.js → file-access-b5nepgw1.js} +32 -32
- package/dist/chunks/{aisdk-native-nw8vms00.js → file-access-b6eekeg6.js} +5 -5
- package/dist/chunks/{aisdk-native-b6gygkdw.js → file-access-b6gygkdw.js} +2 -2
- package/dist/chunks/{aisdk-native-0jkm8pdv.js → file-access-bbxmjh93.js} +1 -1
- package/dist/chunks/{aisdk-native-ve4pfa0n.js → file-access-bct739vz.js} +4 -4
- package/dist/chunks/{aisdk-native-key5aaht.js → file-access-bt85z86c.js} +29 -29
- package/dist/chunks/{aisdk-native-w6fgnahs.js → file-access-c1sht665.js} +47 -47
- package/dist/chunks/{aisdk-native-djszqvmq.js → file-access-c765mh8b.js} +9 -9
- package/dist/chunks/{aisdk-native-y1z7wkzf.js → file-access-cbckqvqg.js} +19 -19
- package/dist/chunks/file-access-ccba3199.js +26 -0
- package/dist/chunks/{aisdk-native-zm1bkcwf.js → file-access-cggxzdeq.js} +88 -88
- package/dist/chunks/{aisdk-native-j8qbnwnq.js → file-access-d171acjh.js} +5 -5
- package/dist/chunks/{aisdk-native-pqeme0gz.js → file-access-d8mzv3s6.js} +22 -22
- package/dist/chunks/{aisdk-native-8namq6c7.js → file-access-d9245fkk.js} +28 -28
- package/dist/chunks/{aisdk-native-gq59zvn3.js → file-access-dbfpw9fe.js} +1 -1
- package/dist/chunks/{aisdk-native-6fq16ccx.js → file-access-dg8dy2wg.js} +34 -34
- package/dist/chunks/{aisdk-native-3kq044jm.js → file-access-djvcp36f.js} +15 -15
- package/dist/chunks/{aisdk-native-c3v4ja8k.js → file-access-dkfn8ta6.js} +18 -18
- package/dist/chunks/{aisdk-native-g74c0m33.js → file-access-dkn8r4r6.js} +8 -8
- package/dist/chunks/{aisdk-native-nxm207yx.js → file-access-dpkg50ah.js} +4 -4
- package/dist/chunks/{aisdk-native-cmbqfntm.js → file-access-dwvzh0g2.js} +4 -4
- package/dist/chunks/{aisdk-native-vgg527ys.js → file-access-dxa0ydqz.js} +28 -28
- package/dist/chunks/{aisdk-native-8s8pqwyt.js → file-access-e2mpdzhr.js} +6 -6
- package/dist/chunks/{aisdk-native-vv7587hg.js → file-access-eex14ffc.js} +31 -31
- package/dist/chunks/{aisdk-native-ef5x83kb.js → file-access-ef5x83kb.js} +1 -1
- package/dist/chunks/{aisdk-native-7mt3t1zw.js → file-access-ehtcgea1.js} +15 -15
- package/dist/chunks/{aisdk-native-x37521zy.js → file-access-ennsf284.js} +12 -12
- package/dist/chunks/{aisdk-native-rqy5g0h7.js → file-access-eph4bszk.js} +9 -9
- package/dist/chunks/{aisdk-native-rtathh62.js → file-access-et0rkxxj.js} +5 -5
- package/dist/chunks/{aisdk-native-etq0c3wd.js → file-access-etq0c3wd.js} +1 -1
- package/dist/chunks/{aisdk-native-e22nn5xy.js → file-access-ezk3vef6.js} +7 -7
- package/dist/chunks/{aisdk-native-endyxvye.js → file-access-f0mwhmn1.js} +5 -5
- package/dist/chunks/{aisdk-native-pmsv8f6n.js → file-access-fa4m3wax.js} +2 -2
- package/dist/chunks/{aisdk-native-t21g1ge5.js → file-access-fdtxgpnc.js} +5 -5
- package/dist/chunks/{aisdk-native-2p6hgzww.js → file-access-ffmntvx6.js} +16 -16
- package/dist/chunks/{aisdk-native-n9j73x72.js → file-access-fqcgpcra.js} +9 -9
- package/dist/chunks/{aisdk-native-1ey8xzyd.js → file-access-fyecwx5s.js} +25 -25
- package/dist/chunks/{aisdk-native-g5w8qwbj.js → file-access-g5w8qwbj.js} +1 -1
- package/dist/chunks/{aisdk-native-af04s6ss.js → file-access-g6yfr6ja.js} +5 -5
- package/dist/chunks/{aisdk-native-z5se4ye3.js → file-access-g7ewk93y.js} +35 -35
- package/dist/chunks/{aisdk-native-gd4qta3r.js → file-access-gd4qta3r.js} +1 -1
- package/dist/chunks/{aisdk-native-wd7chy3v.js → file-access-gm258srw.js} +11 -11
- package/dist/chunks/{aisdk-native-eq4xsb4x.js → file-access-gvzs7mpe.js} +17 -19
- package/dist/chunks/{aisdk-native-wd3x2cqz.js → file-access-h2b79v29.js} +2 -2
- package/dist/chunks/{aisdk-native-9wxcj8py.js → file-access-h2qz4qj9.js} +13 -13
- package/dist/chunks/{aisdk-native-h6vf3j39.js → file-access-h6vf3j39.js} +1 -1
- package/dist/chunks/{aisdk-native-9454xasz.js → file-access-h7f3g3sa.js} +24 -24
- package/dist/chunks/{aisdk-native-960cc4qe.js → file-access-h8t7xzdm.js} +27 -27
- package/dist/chunks/{aisdk-native-44pdqs77.js → file-access-hnr8f6ws.js} +4 -4
- package/dist/chunks/{aisdk-native-870jwr5d.js → file-access-hxr59w64.js} +22 -22
- package/dist/chunks/{aisdk-native-4kmxq2hr.js → file-access-j4rw0q04.js} +16 -16
- package/dist/chunks/{aisdk-native-j56e64zr.js → file-access-j56e64zr.js} +1 -1
- package/dist/chunks/{aisdk-native-e5nnvdaa.js → file-access-j5xd1zzt.js} +44 -44
- package/dist/chunks/{aisdk-native-c93q62r7.js → file-access-j899q2e9.js} +32 -32
- package/dist/chunks/{aisdk-native-8s8bp6yj.js → file-access-jafprmqk.js} +32 -32
- package/dist/chunks/{aisdk-native-t0084j9n.js → file-access-jeg27h1n.js} +10 -10
- package/dist/chunks/{aisdk-native-n9arjmkd.js → file-access-jewzahs7.js} +4 -4
- package/dist/chunks/{aisdk-native-j519rxbg.js → file-access-jmmkndc6.js} +34 -34
- package/dist/chunks/{aisdk-native-k2h4r4s0.js → file-access-jw80jp6b.js} +4 -4
- package/dist/chunks/{aisdk-native-c78bbtc9.js → file-access-jzzgdak2.js} +5 -5
- package/dist/chunks/{aisdk-native-r391d9tr.js → file-access-k1byq2gr.js} +43 -43
- package/dist/chunks/{aisdk-native-k3c624dm.js → file-access-k3c624dm.js} +3 -3
- package/dist/chunks/{aisdk-native-fhs97t90.js → file-access-k70p9jzb.js} +9 -9
- package/dist/chunks/{aisdk-native-6srq29b6.js → file-access-k93tk05c.js} +18 -18
- package/dist/chunks/{aisdk-native-m3fdjcah.js → file-access-m3fdjcah.js} +1 -1
- package/dist/chunks/{aisdk-native-m58kmhef.js → file-access-m58kmhef.js} +2 -2
- package/dist/chunks/{aisdk-native-mwaxn094.js → file-access-m6qrnzrr.js} +12 -12
- package/dist/chunks/{aisdk-native-w67qvwkr.js → file-access-m7b5ps2s.js} +11 -11
- package/dist/chunks/{aisdk-native-jzqs01pn.js → file-access-m8frsg49.js} +23 -23
- package/dist/chunks/{aisdk-native-6qmvz171.js → file-access-m92djcax.js} +24 -24
- package/dist/chunks/{aisdk-native-m9w0rfyh.js → file-access-m9w0rfyh.js} +1 -1
- package/dist/chunks/{aisdk-native-zeh9ct20.js → file-access-mazbtkaa.js} +2 -2
- package/dist/chunks/{aisdk-native-8frtpgfy.js → file-access-mhsta9mw.js} +3 -3
- package/dist/chunks/{aisdk-native-mq3xgw4t.js → file-access-mycw3te0.js} +21 -21
- package/dist/chunks/{aisdk-native-vbek984v.js → file-access-n57qrn3a.js} +8 -8
- package/dist/chunks/{aisdk-native-7wygd488.js → file-access-n66sb98d.js} +140 -140
- package/dist/chunks/{aisdk-native-2d8we099.js → file-access-n7cst2s3.js} +70 -70
- package/dist/chunks/{aisdk-native-q3t37ft6.js → file-access-ndmv45hp.js} +3 -3
- package/dist/chunks/{aisdk-native-5jghqat2.js → file-access-nkbqs3g6.js} +5 -5
- package/dist/chunks/{aisdk-native-z55zxc7k.js → file-access-nks5f63d.js} +48 -48
- package/dist/chunks/{aisdk-native-9dqxh5mq.js → file-access-p3vbarsn.js} +26 -26
- package/dist/chunks/{aisdk-native-cmwkp3r5.js → file-access-p42hj8p8.js} +8 -8
- package/dist/chunks/{aisdk-native-09nmevt6.js → file-access-p5wv9msv.js} +9 -9
- package/dist/chunks/{aisdk-native-p6wxjpka.js → file-access-pd7gvt3w.js} +4 -4
- package/dist/chunks/{aisdk-native-d8n7q4z0.js → file-access-phxk36rp.js} +26 -26
- package/dist/chunks/{aisdk-native-pjvnvgmy.js → file-access-pjvnvgmy.js} +1 -1
- package/dist/chunks/{aisdk-native-pknna89w.js → file-access-pknna89w.js} +1 -1
- package/dist/chunks/{aisdk-native-fmcqyzhx.js → file-access-px76j0pk.js} +9 -9
- package/dist/chunks/file-access-q0xm7vwc.js +25 -0
- package/dist/chunks/file-access-q8av8z97.js +252 -0
- package/dist/chunks/{aisdk-native-tsjr7g2b.js → file-access-q9gdr54j.js} +9 -9
- package/dist/chunks/{aisdk-native-0a9z9mhn.js → file-access-qcxzt1z7.js} +15 -15
- package/dist/chunks/{aisdk-native-2k8khapm.js → file-access-qgn6gcr1.js} +5 -5
- package/dist/chunks/{aisdk-native-ycfdek4n.js → file-access-qjz9g255.js} +25 -25
- package/dist/chunks/{aisdk-native-1zzqj3yc.js → file-access-qmjvrsyr.js} +11 -11
- package/dist/chunks/{aisdk-native-6msgmcgs.js → file-access-qnc92qwc.js} +1 -1
- package/dist/chunks/{aisdk-native-qsdy395h.js → file-access-qsdy395h.js} +1 -1
- package/dist/chunks/{aisdk-native-9057vyh0.js → file-access-r5mpbhf6.js} +11 -11
- package/dist/chunks/{aisdk-native-v0db2jv1.js → file-access-r651jaea.js} +46 -46
- package/dist/chunks/{aisdk-native-rhraev7y.js → file-access-r8xr0va3.js} +4 -4
- package/dist/chunks/{aisdk-native-rdw6cm16.js → file-access-rdw6cm16.js} +1 -1
- package/dist/chunks/{aisdk-native-j8m1p4p1.js → file-access-rk7s9xkn.js} +4 -4
- package/dist/chunks/{aisdk-native-tmespvdt.js → file-access-rkhbev71.js} +8 -8
- package/dist/chunks/{aisdk-native-rmk2c50f.js → file-access-rmk2c50f.js} +5 -5
- package/dist/chunks/{aisdk-native-mf2yrf8k.js → file-access-rwk1fma6.js} +19 -19
- package/dist/chunks/{aisdk-native-bkya8nv3.js → file-access-s06my820.js} +30 -30
- package/dist/chunks/{aisdk-native-6n88yxkj.js → file-access-s5a4scn6.js} +8 -8
- package/dist/chunks/{aisdk-native-wv396vej.js → file-access-s8d7rejh.js} +8 -8
- package/dist/chunks/{aisdk-native-bv6943e1.js → file-access-skhcq9z8.js} +1 -1
- package/dist/chunks/{aisdk-native-vvcndhje.js → file-access-sn8z9k01.js} +18 -18
- package/dist/chunks/{aisdk-native-m2mx9cgj.js → file-access-svgvjres.js} +15 -15
- package/dist/chunks/{aisdk-native-z2smnqpx.js → file-access-sxsbdwhb.js} +9 -9
- package/dist/chunks/{aisdk-native-tazgh4e4.js → file-access-tazgh4e4.js} +1 -1
- package/dist/chunks/{aisdk-native-tcezcvh9.js → file-access-tcezcvh9.js} +1 -1
- package/dist/chunks/{aisdk-native-tdstcens.js → file-access-tdstcens.js} +1 -1
- package/dist/chunks/{aisdk-native-5wdp7h9t.js → file-access-tfzffy3q.js} +18 -18
- package/dist/chunks/{aisdk-native-05py0drh.js → file-access-tj22pfav.js} +42 -42
- package/dist/chunks/{aisdk-native-h2tzx3y1.js → file-access-tjseg5r3.js} +13 -13
- package/dist/chunks/file-access-tjwy6fh9.js +507 -0
- package/dist/chunks/{aisdk-native-ratrq7cm.js → file-access-tkmwgdpd.js} +7 -7
- package/dist/chunks/{aisdk-native-v5btrwpx.js → file-access-tksfqv8e.js} +36 -27
- package/dist/chunks/{aisdk-native-tvtrv512.js → file-access-tvtrv512.js} +1 -1
- package/dist/chunks/{aisdk-native-9twtcer3.js → file-access-tzgjc6jt.js} +35 -35
- package/dist/chunks/{aisdk-native-tf8pt1ka.js → file-access-tzwh8jpw.js} +13 -13
- package/dist/chunks/{aisdk-native-qj0k0yxd.js → file-access-v211f8gj.js} +20 -20
- package/dist/chunks/{aisdk-native-pt96c5r7.js → file-access-v91tw74e.js} +11 -11
- package/dist/chunks/{aisdk-native-veqvce7d.js → file-access-veqvce7d.js} +1 -1
- package/dist/chunks/{aisdk-native-fp3mskb5.js → file-access-vhd5ymgm.js} +15 -15
- package/dist/chunks/{aisdk-native-reecb3ht.js → file-access-vhw7yaa4.js} +5 -5
- package/dist/chunks/{aisdk-native-gtr9fqz6.js → file-access-vs96cb1a.js} +8 -8
- package/dist/chunks/{aisdk-native-vzcthcp8.js → file-access-vzcthcp8.js} +1 -1
- package/dist/chunks/{aisdk-native-vzs5sf6e.js → file-access-vzs5sf6e.js} +1 -1
- package/dist/chunks/{aisdk-native-w3wsvvr9.js → file-access-w3wsvvr9.js} +1 -1
- package/dist/chunks/{aisdk-native-7k1kc7t0.js → file-access-w66xp1pe.js} +10 -10
- package/dist/chunks/{aisdk-native-83jzkrpv.js → file-access-w876dfzh.js} +22 -22
- package/dist/chunks/{aisdk-native-70b5yd3t.js → file-access-wasxgqrf.js} +15 -15
- package/dist/chunks/{aisdk-native-wd87259q.js → file-access-wd87259q.js} +1 -1
- package/dist/chunks/{aisdk-native-zyk1yjk8.js → file-access-wecqtg5s.js} +5 -5
- package/dist/chunks/{aisdk-native-jk1n875a.js → file-access-whtwaam7.js} +20 -20
- package/dist/chunks/{aisdk-native-k751ne6a.js → file-access-wr5v5dbh.js} +9 -9
- package/dist/chunks/{aisdk-native-17e1vs3w.js → file-access-x0v4zbf6.js} +5 -5
- package/dist/chunks/{aisdk-native-x1ezjp6w.js → file-access-x1ezjp6w.js} +1 -1
- package/dist/chunks/{aisdk-native-fhy617c4.js → file-access-xh77m8eb.js} +2 -2
- package/dist/chunks/{aisdk-native-dmqcgk4z.js → file-access-xkntkrq7.js} +5 -5
- package/dist/chunks/{aisdk-native-fdqf23m2.js → file-access-xkqsw4zh.js} +8 -8
- package/dist/chunks/{aisdk-native-tbngfx1j.js → file-access-xp36mjrh.js} +34 -34
- package/dist/chunks/{aisdk-native-gmbv0vxt.js → file-access-xs2bmay3.js} +19 -19
- package/dist/chunks/{aisdk-native-7p9r4bkx.js → file-access-xxt1k2vd.js} +25 -25
- package/dist/chunks/{aisdk-native-y1fvbwt7.js → file-access-y1fvbwt7.js} +1 -1
- package/dist/chunks/{aisdk-native-tp0b68kb.js → file-access-y1r30anr.js} +26 -26
- package/dist/chunks/{aisdk-native-jfsfcnrj.js → file-access-y2j62e7h.js} +13 -13
- package/dist/chunks/{aisdk-native-aqj2zsm7.js → file-access-y3mhqy61.js} +3 -3
- package/dist/chunks/{aisdk-native-ts84jb54.js → file-access-y4z5w0q3.js} +21 -21
- package/dist/chunks/{aisdk-native-eyz64kwr.js → file-access-y6mjvh6p.js} +3 -3
- package/dist/chunks/{aisdk-native-ytbt8q6a.js → file-access-yertzaey.js} +11 -11
- package/dist/chunks/{aisdk-native-0f39s03b.js → file-access-yk435ynq.js} +16 -16
- package/dist/chunks/{aisdk-native-7gjnmd52.js → file-access-ym15945z.js} +30 -30
- package/dist/chunks/{aisdk-native-xyapnfhw.js → file-access-ymkdd6f8.js} +18 -18
- package/dist/chunks/{aisdk-native-wbvars06.js → file-access-ynx1p25z.js} +14 -14
- package/dist/chunks/{aisdk-native-bfeh5ntv.js → file-access-ynzcn0sg.js} +35 -35
- package/dist/chunks/{aisdk-native-xdz72vx5.js → file-access-yraf8j13.js} +17 -17
- package/dist/chunks/{aisdk-native-yrhqyw5v.js → file-access-yrhqyw5v.js} +1 -1
- package/dist/chunks/{aisdk-native-xrr1weya.js → file-access-ys1n1pef.js} +11 -11
- package/dist/chunks/{aisdk-native-25a7g7pf.js → file-access-ytav440t.js} +17 -17
- package/dist/chunks/{aisdk-native-z0bkrqjs.js → file-access-z0bkrqjs.js} +1 -1
- package/dist/chunks/{aisdk-native-922hggd3.js → file-access-z5v4ffb3.js} +1 -11
- package/dist/chunks/{aisdk-native-gzpw3dbs.js → file-access-z6t04ysw.js} +4 -4
- package/dist/chunks/{aisdk-native-n34qnzmh.js → file-access-zc5g640q.js} +12 -12
- package/dist/chunks/{aisdk-native-nz569jqt.js → file-access-zd30eb5w.js} +5 -5
- package/dist/chunks/{aisdk-native-2mhsvxbb.js → file-access-zfs8ae4p.js} +4 -4
- package/dist/chunks/{aisdk-native-5chqqhv3.js → file-access-zmj7yvkd.js} +12 -12
- package/dist/chunks/{aisdk-native-zr2ceqn5.js → file-access-zr2ceqn5.js} +1 -1
- package/dist/chunks/{aisdk-native-zxq2ej10.js → file-access-zxq2ej10.js} +1 -1
- 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 +85 -85
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +123 -123
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- 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 +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +104 -104
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +18 -20
- package/dist/github-copilot/models.js +99 -99
- 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/id/id.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 +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +98 -96
- package/dist/models-dev.js +107 -107
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- 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 +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- 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 +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +6 -6
- 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 +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +2 -4
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +87 -87
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/types/github-copilot/copilot-provider.d.ts +0 -1
- package/dist/types/model.d.ts +6 -0
- package/dist/types/schema.d.ts +0 -21
- package/dist/types/v1/config/error.d.ts +48 -1433
- package/dist/types/v1/config/migrate.d.ts +3 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +3 -11
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- 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 +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/aisdk-native-9zdhvgqs.js +0 -18
- package/dist/chunks/aisdk-native-hw468chq.js +0 -26
- package/dist/chunks/aisdk-native-vg9zg22t.js +0 -507
- package/dist/chunks/aisdk-native-ytj1bkta.js +0 -252
- package/dist/chunks/aisdk-native-z63w68vq.js +0 -46
- package/dist/types/v1/permission.d.ts +0 -27
- package/dist/v1/permission.js +0 -51
- /package/dist/chunks/{aisdk-native-0qkdqm5v.js → file-access-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{aisdk-native-0zkw76rk.js → file-access-0zkw76rk.js} +0 -0
- /package/dist/chunks/{aisdk-native-17cy0kzp.js → file-access-17cy0kzp.js} +0 -0
- /package/dist/chunks/{aisdk-native-1cnp2v09.js → file-access-1cnp2v09.js} +0 -0
- /package/dist/chunks/{aisdk-native-1kg9ymc8.js → file-access-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{aisdk-native-24dcb14g.js → file-access-24dcb14g.js} +0 -0
- /package/dist/chunks/{aisdk-native-2710q6r3.js → file-access-2710q6r3.js} +0 -0
- /package/dist/chunks/{aisdk-native-2axfhc9x.js → file-access-2axfhc9x.js} +0 -0
- /package/dist/chunks/{aisdk-native-2c3vjs8z.js → file-access-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{aisdk-native-34c7v6d4.js → file-access-34c7v6d4.js} +0 -0
- /package/dist/chunks/{aisdk-native-359p4xyc.js → file-access-359p4xyc.js} +0 -0
- /package/dist/chunks/{aisdk-native-3asan66x.js → file-access-3asan66x.js} +0 -0
- /package/dist/chunks/{aisdk-native-3v8g72cx.js → file-access-3v8g72cx.js} +0 -0
- /package/dist/chunks/{aisdk-native-3w5fmr99.js → file-access-3w5fmr99.js} +0 -0
- /package/dist/chunks/{aisdk-native-3wcehsnq.js → file-access-3wcehsnq.js} +0 -0
- /package/dist/chunks/{aisdk-native-43n2bw4t.js → file-access-43n2bw4t.js} +0 -0
- /package/dist/chunks/{aisdk-native-4knz6hnm.js → file-access-4knz6hnm.js} +0 -0
- /package/dist/chunks/{aisdk-native-4vcrnpx2.js → file-access-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{aisdk-native-4y7fprxs.js → file-access-4y7fprxs.js} +0 -0
- /package/dist/chunks/{aisdk-native-53557ph1.js → file-access-53557ph1.js} +0 -0
- /package/dist/chunks/{aisdk-native-550bvhaj.js → file-access-550bvhaj.js} +0 -0
- /package/dist/chunks/{aisdk-native-5qd3pb7m.js → file-access-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{aisdk-native-6prwharc.js → file-access-6prwharc.js} +0 -0
- /package/dist/chunks/{aisdk-native-7akdwqpd.js → file-access-7akdwqpd.js} +0 -0
- /package/dist/chunks/{aisdk-native-7m9af43g.js → file-access-7m9af43g.js} +0 -0
- /package/dist/chunks/{aisdk-native-822emrt2.js → file-access-822emrt2.js} +0 -0
- /package/dist/chunks/{aisdk-native-88xbtdfr.js → file-access-88xbtdfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-8n3pysct.js → file-access-8n3pysct.js} +0 -0
- /package/dist/chunks/{aisdk-native-8wj87zfr.js → file-access-8wj87zfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-9a4afbnw.js → file-access-9a4afbnw.js} +0 -0
- /package/dist/chunks/{aisdk-native-9rqn6x4v.js → file-access-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{aisdk-native-a6k6eb26.js → file-access-a6k6eb26.js} +0 -0
- /package/dist/chunks/{aisdk-native-af5trqkr.js → file-access-af5trqkr.js} +0 -0
- /package/dist/chunks/{aisdk-native-afrmfg78.js → file-access-afrmfg78.js} +0 -0
- /package/dist/chunks/{aisdk-native-aqzs7mqg.js → file-access-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{aisdk-native-atq7p7m5.js → file-access-atq7p7m5.js} +0 -0
- /package/dist/chunks/{aisdk-native-bkyjaxrp.js → file-access-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{aisdk-native-bmr6ed5q.js → file-access-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{aisdk-native-cf4snx6d.js → file-access-cf4snx6d.js} +0 -0
- /package/dist/chunks/{aisdk-native-cvy3z8tj.js → file-access-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9fn303g.js → file-access-d9fn303g.js} +0 -0
- /package/dist/chunks/{aisdk-native-d9jj8t3e.js → file-access-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{aisdk-native-dajrwvna.js → file-access-dajrwvna.js} +0 -0
- /package/dist/chunks/{aisdk-native-dap0rakb.js → file-access-dap0rakb.js} +0 -0
- /package/dist/chunks/{aisdk-native-df08tz66.js → file-access-df08tz66.js} +0 -0
- /package/dist/chunks/{aisdk-native-dy18nga0.js → file-access-dy18nga0.js} +0 -0
- /package/dist/chunks/{aisdk-native-e5kj55wp.js → file-access-e5kj55wp.js} +0 -0
- /package/dist/chunks/{aisdk-native-e73j6tqm.js → file-access-e73j6tqm.js} +0 -0
- /package/dist/chunks/{aisdk-native-ec1grn59.js → file-access-ec1grn59.js} +0 -0
- /package/dist/chunks/{aisdk-native-eh3zwz77.js → file-access-eh3zwz77.js} +0 -0
- /package/dist/chunks/{aisdk-native-emrn6kk6.js → file-access-emrn6kk6.js} +0 -0
- /package/dist/chunks/{aisdk-native-f0mxakyp.js → file-access-f0mxakyp.js} +0 -0
- /package/dist/chunks/{aisdk-native-f6n9ztr4.js → file-access-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{aisdk-native-faypxj3z.js → file-access-faypxj3z.js} +0 -0
- /package/dist/chunks/{aisdk-native-fd410y7t.js → file-access-fd410y7t.js} +0 -0
- /package/dist/chunks/{aisdk-native-fxgpk5d8.js → file-access-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{aisdk-native-g4wezp1m.js → file-access-g4wezp1m.js} +0 -0
- /package/dist/chunks/{aisdk-native-g86h250q.js → file-access-g86h250q.js} +0 -0
- /package/dist/chunks/{aisdk-native-gebd4c9n.js → file-access-gebd4c9n.js} +0 -0
- /package/dist/chunks/{aisdk-native-gftt206x.js → file-access-gftt206x.js} +0 -0
- /package/dist/chunks/{aisdk-native-hjbc5kem.js → file-access-hjbc5kem.js} +0 -0
- /package/dist/chunks/{aisdk-native-hk9envan.js → file-access-hk9envan.js} +0 -0
- /package/dist/chunks/{aisdk-native-j2ntwpah.js → file-access-j2ntwpah.js} +0 -0
- /package/dist/chunks/{aisdk-native-j5zkgpj8.js → file-access-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{aisdk-native-jjkms2e6.js → file-access-jjkms2e6.js} +0 -0
- /package/dist/chunks/{aisdk-native-jr7sbwjy.js → file-access-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{aisdk-native-jwfs4k6c.js → file-access-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{aisdk-native-jzg6c2d5.js → file-access-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{aisdk-native-mp448xyj.js → file-access-mp448xyj.js} +0 -0
- /package/dist/chunks/{aisdk-native-msx8hqn2.js → file-access-msx8hqn2.js} +0 -0
- /package/dist/chunks/{aisdk-native-n05xt0ee.js → file-access-n05xt0ee.js} +0 -0
- /package/dist/chunks/{aisdk-native-n3j8tn72.js → file-access-n3j8tn72.js} +0 -0
- /package/dist/chunks/{aisdk-native-njntx4h6.js → file-access-njntx4h6.js} +0 -0
- /package/dist/chunks/{aisdk-native-q3sfg36h.js → file-access-q3sfg36h.js} +0 -0
- /package/dist/chunks/{aisdk-native-q74kybfr.js → file-access-q74kybfr.js} +0 -0
- /package/dist/chunks/{aisdk-native-qaymkmh1.js → file-access-qaymkmh1.js} +0 -0
- /package/dist/chunks/{aisdk-native-qb87gjwd.js → file-access-qb87gjwd.js} +0 -0
- /package/dist/chunks/{aisdk-native-qfa1cgps.js → file-access-qfa1cgps.js} +0 -0
- /package/dist/chunks/{aisdk-native-qg3g05ea.js → file-access-qg3g05ea.js} +0 -0
- /package/dist/chunks/{aisdk-native-qrg20bc0.js → file-access-qrg20bc0.js} +0 -0
- /package/dist/chunks/{aisdk-native-rcb2kzg1.js → file-access-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{aisdk-native-sdp7kfr6.js → file-access-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{aisdk-native-sk3qaz4a.js → file-access-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{aisdk-native-ssg3fenm.js → file-access-ssg3fenm.js} +0 -0
- /package/dist/chunks/{aisdk-native-w803qqfp.js → file-access-w803qqfp.js} +0 -0
- /package/dist/chunks/{aisdk-native-wc3fc9cn.js → file-access-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{aisdk-native-wer8tq1h.js → file-access-wer8tq1h.js} +0 -0
- /package/dist/chunks/{aisdk-native-wtztk69x.js → file-access-wtztk69x.js} +0 -0
- /package/dist/chunks/{aisdk-native-x0ckcb58.js → file-access-x0ckcb58.js} +0 -0
- /package/dist/chunks/{aisdk-native-x61499pn.js → file-access-x61499pn.js} +0 -0
- /package/dist/chunks/{aisdk-native-y44na4kk.js → file-access-y44na4kk.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8cydn3q.js → file-access-y8cydn3q.js} +0 -0
- /package/dist/chunks/{aisdk-native-y8f7s663.js → file-access-y8f7s663.js} +0 -0
- /package/dist/chunks/{aisdk-native-ygaqb7jw.js → file-access-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{aisdk-native-ym463w8f.js → file-access-ym463w8f.js} +0 -0
- /package/dist/chunks/{aisdk-native-z9919s4g.js → file-access-z9919s4g.js} +0 -0
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9,
|
|
3
|
-
|
|
3
|
+
Service68,
|
|
4
4
|
node71
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./file-access-dxa0ydqz.js";
|
|
6
6
|
import {
|
|
7
7
|
ID8,
|
|
8
8
|
isAISDK2,
|
|
@@ -14,23 +14,23 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
17
|
+
Service67,
|
|
18
18
|
node70
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-6dy6aana.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service63,
|
|
22
|
+
node66
|
|
23
|
+
} from "./file-access-43ka91pa.js";
|
|
24
24
|
import {
|
|
25
25
|
ID7,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
28
|
+
Service66,
|
|
29
29
|
node69
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-tksfqv8e.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/model-resolver.ts
|
|
36
36
|
var exports_model_resolver = {};
|
|
@@ -39,15 +39,15 @@ __export(exports_model_resolver, {
|
|
|
39
39
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
40
40
|
ModelInitializationError: () => ModelInitializationError2,
|
|
41
41
|
ModelResolver: () => exports_model_resolver,
|
|
42
|
-
Service: () =>
|
|
42
|
+
Service: () => Service62,
|
|
43
43
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
44
44
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
45
45
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
46
46
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
47
47
|
fromCatalogModel: () => fromCatalogModel2,
|
|
48
48
|
hasPackage: () => hasPackage2,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer24,
|
|
50
|
+
node: () => node65,
|
|
51
51
|
resolveModel: () => resolveModel2,
|
|
52
52
|
withVariant: () => withVariant2
|
|
53
53
|
});
|
|
@@ -120,7 +120,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
120
120
|
}
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
class
|
|
123
|
+
class Service62 extends Context.Service()("@opencode/ModelResolver") {
|
|
124
124
|
}
|
|
125
125
|
var withVariant2 = (model, variantID) => {
|
|
126
126
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -264,12 +264,12 @@ var causeMessage = (cause) => {
|
|
|
264
264
|
};
|
|
265
265
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
266
266
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
267
|
-
var
|
|
268
|
-
const providers = yield*
|
|
269
|
-
const models = yield*
|
|
270
|
-
const integrations = yield*
|
|
267
|
+
var layer24 = Layer.effect(Service62, Effect.gen(function* () {
|
|
268
|
+
const providers = yield* Service67;
|
|
269
|
+
const models = yield* Service66;
|
|
270
|
+
const integrations = yield* Service68;
|
|
271
271
|
const npm = yield* Npm.Service;
|
|
272
|
-
const aisdk = yield*
|
|
272
|
+
const aisdk = yield* Service63;
|
|
273
273
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
274
274
|
const provider = yield* providers.get(selected.providerID);
|
|
275
275
|
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID9.make(selected.providerID));
|
|
@@ -299,7 +299,7 @@ var layer20 = Layer.effect(Service57, Effect.gen(function* () {
|
|
|
299
299
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
300
300
|
};
|
|
301
301
|
});
|
|
302
|
-
return
|
|
302
|
+
return Service62.of({
|
|
303
303
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
304
304
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find(hasPackage2))));
|
|
305
305
|
if (!selected)
|
|
@@ -316,10 +316,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
316
316
|
const name = packageName2(packageName);
|
|
317
317
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
318
318
|
}
|
|
319
|
-
var
|
|
320
|
-
service:
|
|
321
|
-
layer:
|
|
322
|
-
deps: [node70, node69, node71, Npm.node,
|
|
319
|
+
var node65 = makeLocationNode({
|
|
320
|
+
service: Service62,
|
|
321
|
+
layer: layer24,
|
|
322
|
+
deps: [node70, node69, node71, Npm.node, node66]
|
|
323
323
|
});
|
|
324
324
|
|
|
325
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
325
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service62, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer24, node65, exports_model_resolver };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeWithDefaults2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9vmwh205.js";
|
|
4
4
|
import {
|
|
5
5
|
apply3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-59s176qy.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/database.ts
|
|
12
12
|
var exports_database = {};
|
|
13
13
|
__export(exports_database, {
|
|
14
14
|
Database: () => exports_database,
|
|
15
15
|
Options: () => Options11,
|
|
16
|
-
Service: () =>
|
|
16
|
+
Service: () => Service84,
|
|
17
17
|
configured: () => configured13,
|
|
18
18
|
configuredClient: () => configuredClient2,
|
|
19
19
|
layer: () => layer26,
|
|
20
20
|
layerFromClient: () => layerFromClient2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node88
|
|
22
22
|
});
|
|
23
23
|
import { sqliteLayer, supportsForeignKeyToggle, supportsTuningPragmas } from "#sqlite";
|
|
24
24
|
import { Context, Effect, Layer, Schema, Semaphore } from "effect";
|
|
@@ -32,9 +32,9 @@ var Options11 = Schema.Struct({
|
|
|
32
32
|
path: Schema.optional(Schema.String)
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service84 extends Context.Service()("@opencode/storage/Database") {
|
|
36
36
|
}
|
|
37
|
-
var databaseLayer = (lock) => Layer.effect(
|
|
37
|
+
var databaseLayer = (lock) => Layer.effect(Service84, Effect.gen(function* () {
|
|
38
38
|
const db = yield* makeDatabase;
|
|
39
39
|
if (supportsTuningPragmas) {
|
|
40
40
|
yield* db.run("PRAGMA journal_mode = WAL");
|
|
@@ -82,15 +82,15 @@ async function restrictToOwner(filename) {
|
|
|
82
82
|
}
|
|
83
83
|
var layerFromClient2 = databaseLayer(Semaphore.make(1));
|
|
84
84
|
function configured13(options) {
|
|
85
|
-
return makeGlobalNode({ service:
|
|
85
|
+
return makeGlobalNode({ service: Service84, layer: layer26(options), deps: [Global.node] });
|
|
86
86
|
}
|
|
87
87
|
function configuredClient2(client) {
|
|
88
88
|
return makeGlobalNode({
|
|
89
|
-
service:
|
|
89
|
+
service: Service84,
|
|
90
90
|
layer: layerFromClient2.pipe(Layer.provide(client)),
|
|
91
91
|
deps: [Global.node]
|
|
92
92
|
});
|
|
93
93
|
}
|
|
94
|
-
var
|
|
94
|
+
var node88 = configured13({ path: ":memory:" });
|
|
95
95
|
|
|
96
|
-
export { Options11,
|
|
96
|
+
export { Options11, Service84, layer26, layerFromClient2, configured13, configuredClient2, node88, exports_database };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service46
|
|
3
|
+
} from "./file-access-j5xd1zzt.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service51
|
|
6
|
+
} from "./file-access-px76j0pk.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin29
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin29 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service46;
|
|
26
|
+
const image = yield* Service51;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin18 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin29, exports_image };
|
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service46
|
|
7
|
+
} from "./file-access-j5xd1zzt.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service78
|
|
13
|
+
} from "./file-access-29tbwe98.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service65
|
|
16
|
+
} from "./file-access-1dth1b1r.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service70
|
|
19
|
+
} from "./file-access-0k4n424v.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service52,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-access-6z5zeb5k.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-access-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service55,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-xs2bmay3.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError5,
|
|
36
|
+
Service38
|
|
37
|
+
} from "./file-access-c1sht665.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service25
|
|
40
|
+
} from "./file-access-70kv65rg.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./file-access-288g8677.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./file-access-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -116,19 +116,19 @@ Output is streaming to: ${file}`,
|
|
|
116
116
|
truncated: false,
|
|
117
117
|
status: "running"
|
|
118
118
|
});
|
|
119
|
-
var
|
|
119
|
+
var Plugin7 = {
|
|
120
120
|
id: "opencode.tool.shell",
|
|
121
121
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
122
|
-
const sessions = yield*
|
|
123
|
-
const jobs = yield*
|
|
122
|
+
const sessions = yield* Service25;
|
|
123
|
+
const jobs = yield* Service65;
|
|
124
124
|
const scope = yield* Scope.Scope;
|
|
125
|
-
const environment = yield*
|
|
126
|
-
const access = yield*
|
|
127
|
-
const shell = yield*
|
|
128
|
-
const shellSelect = yield*
|
|
125
|
+
const environment = yield* Service78;
|
|
126
|
+
const access = yield* Service52;
|
|
127
|
+
const shell = yield* Service38;
|
|
128
|
+
const shellSelect = yield* Service55;
|
|
129
129
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
130
|
-
const permission = yield*
|
|
131
|
-
const config = yield*
|
|
130
|
+
const permission = yield* Service70;
|
|
131
|
+
const config = yield* Service46;
|
|
132
132
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
133
133
|
const source = {
|
|
134
134
|
type: "tool",
|
|
@@ -147,7 +147,7 @@ var Plugin27 = {
|
|
|
147
147
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
148
148
|
if (parsed.commands.length > 0)
|
|
149
149
|
yield* permission.assert({
|
|
150
|
-
action:
|
|
150
|
+
action: name5,
|
|
151
151
|
resources: parsed.commands.map((command) => command.resource),
|
|
152
152
|
save: parsed.commands.map((command) => command.save),
|
|
153
153
|
sessionID: context.sessionID,
|
|
@@ -184,10 +184,10 @@ var Plugin27 = {
|
|
|
184
184
|
yield* jobs.completeBackground(info.notificationID);
|
|
185
185
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
186
186
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
187
|
-
name:
|
|
187
|
+
name: name5,
|
|
188
188
|
options: { codemode: false },
|
|
189
189
|
description: description(),
|
|
190
|
-
input:
|
|
190
|
+
input: Input5,
|
|
191
191
|
output: Output,
|
|
192
192
|
execute: (input, context) => Effect.gen(function* () {
|
|
193
193
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -210,7 +210,7 @@ var Plugin27 = {
|
|
|
210
210
|
const run = Effect.gen(function* () {
|
|
211
211
|
const result = yield* shell.result(info);
|
|
212
212
|
if (!result.capture)
|
|
213
|
-
return yield* new
|
|
213
|
+
return yield* new NotFoundError5({ id: info.id });
|
|
214
214
|
const output = output2(result);
|
|
215
215
|
return {
|
|
216
216
|
...output,
|
|
@@ -224,7 +224,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
224
224
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
225
225
|
const job = yield* jobs.start({
|
|
226
226
|
id: info.id,
|
|
227
|
-
type:
|
|
227
|
+
type: name5,
|
|
228
228
|
title: info.command,
|
|
229
229
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
230
230
|
recovery: {
|
|
@@ -254,7 +254,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
254
254
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
255
255
|
})).pipe(Effect.orDie);
|
|
256
256
|
const hook = (event) => Effect.gen(function* () {
|
|
257
|
-
const tool = event.tools[
|
|
257
|
+
const tool = event.tools[name5];
|
|
258
258
|
if (!tool)
|
|
259
259
|
return;
|
|
260
260
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -265,4 +265,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
265
265
|
})
|
|
266
266
|
};
|
|
267
267
|
|
|
268
|
-
export {
|
|
268
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin7, exports_shell };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make18
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make18 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make19 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make18, exports_run_coordinator };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin43
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin43 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin47 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin43, exports_mcp_codemode_defaults };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service41
|
|
7
|
+
} from "./file-access-32wjb5vy.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-access-ndmv45hp.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-access-y6mjvh6p.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-access-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-access-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,7 +81,7 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service41;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-access-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-access-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-access-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-access-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./file-access-yk435ynq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service41
|
|
6
|
+
} from "./file-access-32wjb5vy.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error3
|
|
9
|
+
} from "./file-access-m92djcax.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service40
|
|
12
|
+
} from "./file-access-m6qrnzrr.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-access-y6mjvh6p.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-access-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./file-access-x0v4zbf6.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./file-access-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-access-m58kmhef.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-access-wecqtg5s.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-access-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service41;
|
|
58
|
+
const toolOutput = yield* Service40;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error3({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|