@opencode/core 0.0.0-dev-19774 → 0.0.0-dev-19777
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{file-mutation-y5b0ehek.js → shell-03vvt530.js} +41 -41
- package/dist/chunks/{file-mutation-xpr3mqf5.js → shell-04tgm3f1.js} +11 -11
- package/dist/chunks/{file-mutation-h03rnsfd.js → shell-07dpaenw.js} +40 -40
- package/dist/chunks/shell-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-thyqgksr.js → shell-0ms7z6s1.js} +10 -10
- package/dist/chunks/{file-mutation-0paq2nw3.js → shell-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → shell-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-267zfkt7.js → shell-0t2v7nrt.js} +23 -23
- package/dist/chunks/{file-mutation-p2e22hpe.js → shell-109t7kd4.js} +9 -9
- package/dist/chunks/{file-mutation-gdsttb99.js → shell-15jxckgc.js} +4 -4
- package/dist/chunks/{file-mutation-1dazxqgg.js → shell-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-x66hh719.js → shell-1p4gqph4.js} +13 -13
- package/dist/chunks/{file-mutation-jkk2smcb.js → shell-1t08zx4j.js} +22 -22
- package/dist/chunks/{file-mutation-73k5nevg.js → shell-1w8tyy54.js} +35 -35
- package/dist/chunks/{file-mutation-56gdpj1q.js → shell-1ygqh575.js} +9 -9
- package/dist/chunks/{file-mutation-paqyj2en.js → shell-1zhs7cbk.js} +17 -17
- package/dist/chunks/{file-mutation-21r38tys.js → shell-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-0kpaqnhp.js → shell-23w317nk.js} +11 -11
- package/dist/chunks/{file-mutation-6h73sxmp.js → shell-2402vzrj.js} +5 -5
- package/dist/chunks/{file-mutation-2a5m3afh.js → shell-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-yw8t9dwe.js → shell-2eegacq4.js} +8 -8
- package/dist/chunks/{file-mutation-ec8389mk.js → shell-2evyaa68.js} +4 -4
- package/dist/chunks/{file-mutation-920tyraz.js → shell-2ka7npbv.js} +20 -20
- package/dist/chunks/shell-2qt599cr.js +65 -0
- package/dist/chunks/{file-mutation-0a8rb6zk.js → shell-2v7da5f0.js} +8 -8
- package/dist/chunks/{file-mutation-f6kbfvjt.js → shell-3ekgth3a.js} +10 -10
- package/dist/chunks/{file-mutation-3fc6dm20.js → shell-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → shell-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-jh7y3ak4.js → shell-3ktbe3hf.js} +9 -9
- package/dist/chunks/{file-mutation-3smtnn6g.js → shell-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-pw3xx31k.js → shell-3t9k22p6.js} +5 -5
- package/dist/chunks/{file-mutation-rkdvqggb.js → shell-3tt1qkhr.js} +5 -5
- package/dist/chunks/{file-mutation-3tvqynh2.js → shell-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-998pkbc5.js → shell-40g5vgkd.js} +26 -26
- package/dist/chunks/{file-mutation-jeybges7.js → shell-45nz77a5.js} +4 -4
- package/dist/chunks/{file-mutation-6mn82bpr.js → shell-470r2ntf.js} +8 -8
- package/dist/chunks/{file-mutation-18xb591f.js → shell-47b5fvew.js} +7 -7
- package/dist/chunks/{file-mutation-ebqbjk3w.js → shell-47txtcvt.js} +32 -32
- package/dist/chunks/{file-mutation-ysw9y8px.js → shell-48yxe442.js} +33 -33
- package/dist/chunks/{file-mutation-gb26m6rq.js → shell-4910pwsm.js} +28 -28
- package/dist/chunks/{file-mutation-e0y5jvpm.js → shell-491531f5.js} +27 -27
- package/dist/chunks/{file-mutation-waay8jvx.js → shell-4bwczsq4.js} +24 -24
- package/dist/chunks/{file-mutation-xwv6rqmk.js → shell-4c7rbc8y.js} +3 -3
- package/dist/chunks/{file-mutation-be80trnb.js → shell-4deap7ac.js} +13 -13
- package/dist/chunks/{file-mutation-672tdqna.js → shell-4eqskv5x.js} +30 -30
- package/dist/chunks/{file-mutation-qpgdq3j5.js → shell-4evf23qd.js} +22 -22
- package/dist/chunks/{file-mutation-5xv3dz3w.js → shell-4g0a6x89.js} +87 -87
- package/dist/chunks/{file-mutation-wdpm5xyv.js → shell-4j5wzjj5.js} +24 -24
- package/dist/chunks/{file-mutation-wy8b5sm2.js → shell-4jc5c4h4.js} +1 -1
- package/dist/chunks/{file-mutation-rg5hq0wm.js → shell-4jq8p7em.js} +23 -23
- package/dist/chunks/{file-mutation-x12g5k71.js → shell-4xqkkkb3.js} +2 -2
- package/dist/chunks/{file-mutation-4en4kvr5.js → shell-4xs1pjsx.js} +5 -5
- package/dist/chunks/{file-mutation-2xn06zhq.js → shell-4xtxd1vd.js} +20 -20
- package/dist/chunks/{file-mutation-bcbe7qcx.js → shell-52z29kxa.js} +9 -9
- package/dist/chunks/{file-mutation-aamtrqep.js → shell-57ez7d0k.js} +9 -9
- package/dist/chunks/{file-mutation-5daktx2q.js → shell-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-a0whw9jd.js → shell-5gn0efa0.js} +11 -11
- package/dist/chunks/{file-mutation-e3qxr5gk.js → shell-5qd3pb7m.js} +2 -2
- package/dist/chunks/{file-mutation-5t3nmthw.js → shell-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-xkredtp8.js → shell-601x61hw.js} +17 -17
- package/dist/chunks/{file-mutation-669tq793.js → shell-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-zfvm8rtc.js → shell-6ca2f2mk.js} +3 -3
- package/dist/chunks/{file-mutation-b0dgvpy7.js → shell-6hjx5zpb.js} +9 -9
- package/dist/chunks/{file-mutation-6reav88k.js → shell-6k4mb8p8.js} +32 -32
- package/dist/chunks/{file-mutation-7bx1sn78.js → shell-6ka4kn86.js} +16 -16
- package/dist/chunks/{file-mutation-6msgmcgs.js → shell-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-metngcsb.js → shell-6ps1wf70.js} +23 -23
- package/dist/chunks/{file-mutation-he62sb3p.js → shell-6rsdkm0q.js} +18 -18
- package/dist/chunks/{file-mutation-rg9jxnrj.js → shell-6t8d5s38.js} +4 -4
- package/dist/chunks/{file-mutation-x8tgrdy7.js → shell-6tn3yh5c.js} +15 -15
- package/dist/chunks/{file-mutation-0ehxtnnz.js → shell-6zk5k8gk.js} +18 -18
- package/dist/chunks/{file-mutation-7bmhse3q.js → shell-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-8aaqm6qj.js → shell-7dbmnfn4.js} +8 -8
- package/dist/chunks/{file-mutation-hrhrsrxp.js → shell-7dghwch0.js} +30 -30
- package/dist/chunks/{file-mutation-kjyymkn6.js → shell-7m4yxrk1.js} +11 -11
- package/dist/chunks/{file-mutation-evz86p9p.js → shell-7qqb5aj4.js} +14 -14
- package/dist/chunks/{file-mutation-vynmvp9h.js → shell-7v81x33d.js} +9 -9
- package/dist/chunks/{file-mutation-fxfyjszp.js → shell-7vxz9e56.js} +13 -13
- package/dist/chunks/{file-mutation-cf3tj770.js → shell-7w3s9kd0.js} +4 -4
- package/dist/chunks/{file-mutation-pn0bg5pg.js → shell-82jjvh86.js} +88 -88
- package/dist/chunks/{file-mutation-jewzahs7.js → shell-86qzxe6p.js} +4 -4
- package/dist/chunks/{file-mutation-thp2m506.js → shell-898hkngb.js} +9 -9
- package/dist/chunks/{file-mutation-8d7r5vzw.js → shell-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-a58czpns.js → shell-8kpc6pdt.js} +17 -17
- package/dist/chunks/{file-mutation-8p4f9s12.js → shell-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-59bsrgj4.js → shell-8vfsjsk5.js} +27 -27
- package/dist/chunks/{file-mutation-d0gb447e.js → shell-902z4n12.js} +26 -26
- package/dist/chunks/{file-mutation-y8m9m17y.js → shell-90dg4enk.js} +20 -20
- package/dist/chunks/{file-mutation-x90w03rt.js → shell-96939sxw.js} +30 -30
- package/dist/chunks/{file-mutation-vtggy08e.js → shell-99q6wywc.js} +32 -32
- package/dist/chunks/{file-mutation-7000hrfc.js → shell-9cpbaep3.js} +6 -6
- package/dist/chunks/{file-mutation-fwrss4ad.js → shell-9fc3v4re.js} +4 -4
- package/dist/chunks/{file-mutation-br0tr5aq.js → shell-9hn6k4tm.js} +8 -8
- package/dist/chunks/{file-mutation-z59eg471.js → shell-9kghbwpc.js} +9 -9
- package/dist/chunks/{file-mutation-8tjk8105.js → shell-9pbz1hdq.js} +1 -1
- package/dist/chunks/{file-mutation-txr16vfg.js → shell-9sddvxcq.js} +26 -26
- package/dist/chunks/shell-9wnswpj2.js +26 -0
- package/dist/chunks/{file-mutation-bh6093r6.js → shell-9wvkvc1q.js} +60 -60
- package/dist/chunks/{file-mutation-daq2e3zz.js → shell-9z34yp3t.js} +4 -4
- package/dist/chunks/{file-mutation-a1bz86dw.js → shell-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-p9qdtawc.js → shell-a5vww0b3.js} +24 -24
- package/dist/chunks/{file-mutation-aaet6srn.js → shell-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-y9vy3w1f.js → shell-abf421gb.js} +41 -41
- package/dist/chunks/{file-mutation-82wb5vjr.js → shell-aw5nfhtx.js} +12 -12
- package/dist/chunks/{file-mutation-b6gygkdw.js → shell-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-vb222jev.js → shell-b89grqm6.js} +69 -69
- package/dist/chunks/{file-mutation-32h20yfr.js → shell-bagmkwbw.js} +3 -3
- package/dist/chunks/{file-mutation-sxhyyss9.js → shell-bbsv54dc.js} +47 -47
- package/dist/chunks/{file-mutation-a0wtmgep.js → shell-bdevdzfn.js} +15 -15
- package/dist/chunks/{file-mutation-vkxpz7g2.js → shell-bha4atvq.js} +4 -4
- package/dist/chunks/{file-mutation-0svbgh5c.js → shell-bjj905gy.js} +39 -39
- package/dist/chunks/{file-mutation-b8rp9x54.js → shell-bqh2sd97.js} +4 -4
- package/dist/chunks/{file-mutation-qpbktacs.js → shell-by3yt8c1.js} +3 -3
- package/dist/chunks/{file-mutation-9yrzyr7j.js → shell-byr7frw1.js} +18 -18
- package/dist/chunks/{file-mutation-h53tpazp.js → shell-c488s98d.js} +12 -12
- package/dist/chunks/{file-mutation-6y0m54vs.js → shell-c6639vss.js} +13 -13
- package/dist/chunks/{file-mutation-fwr1nb5p.js → shell-cae5tg5t.js} +18 -18
- package/dist/chunks/{file-mutation-cfpkc3c9.js → shell-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-rs8v52yx.js → shell-cz5cm7h7.js} +3 -3
- package/dist/chunks/{file-mutation-y7gfa8qa.js → shell-czq3e1zb.js} +13 -13
- package/dist/chunks/{file-mutation-b1paggmv.js → shell-d07c07ww.js} +44 -44
- package/dist/chunks/{file-mutation-9vw038cm.js → shell-d0c4rcdd.js} +24 -24
- package/dist/chunks/{file-mutation-ckvaaqnr.js → shell-d4hz6pfm.js} +15 -15
- package/dist/chunks/{file-mutation-36ysvq8r.js → shell-dcx9ytfh.js} +16 -16
- package/dist/chunks/{file-mutation-h2mtz7rf.js → shell-df76fvss.js} +13 -13
- package/dist/chunks/{file-mutation-jrq0rrs9.js → shell-dwmvj21z.js} +3 -3
- package/dist/chunks/{file-mutation-2qfmjqcy.js → shell-dxbh06rw.js} +11 -11
- package/dist/chunks/{file-mutation-bszv4pr1.js → shell-dz7g6c4d.js} +24 -24
- package/dist/chunks/{file-mutation-sy5npsvs.js → shell-e0htajja.js} +25 -25
- package/dist/chunks/{file-mutation-0gdmqesm.js → shell-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-mutation-3cdqy5gs.js → shell-eb46bezg.js} +4 -4
- package/dist/chunks/{file-mutation-ef5x83kb.js → shell-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-mutation-xj4hsedh.js → shell-ej9nsrfw.js} +7 -7
- package/dist/chunks/{file-mutation-kne8f3cn.js → shell-embw8kgh.js} +4 -4
- package/dist/chunks/{file-mutation-4hsrte5k.js → shell-epkvt2y6.js} +23 -23
- package/dist/chunks/{file-mutation-mvfsc1pv.js → shell-eq1pz5kg.js} +3 -3
- package/dist/chunks/{file-mutation-m32fe6rj.js → shell-eq26c9e0.js} +9 -9
- package/dist/chunks/{file-mutation-prbe7swn.js → shell-erh6shke.js} +5 -5
- package/dist/chunks/{file-mutation-erw5rpbs.js → shell-erw5rpbs.js} +2 -2
- package/dist/chunks/{file-mutation-1b5j2nkr.js → shell-escjqfgg.js} +5 -5
- package/dist/chunks/{file-mutation-x2gr69vr.js → shell-etfwcrdj.js} +9 -9
- package/dist/chunks/{file-mutation-etq0c3wd.js → shell-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-2qp6y8xf.js → shell-evbgk2k8.js} +5 -5
- package/dist/chunks/{file-mutation-f828m53h.js → shell-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-7dqw4kz8.js → shell-fcrkznn8.js} +5 -5
- package/dist/chunks/{file-mutation-n53jc5f0.js → shell-fk72hcm3.js} +5 -5
- package/dist/chunks/{file-mutation-fxbjtjnd.js → shell-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-8cx2cchs.js → shell-fxnhd30a.js} +31 -31
- package/dist/chunks/{file-mutation-bs0e8e65.js → shell-fz50j58q.js} +3 -3
- package/dist/chunks/{file-mutation-gd4qta3r.js → shell-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-7bhykvjv.js → shell-gjnc9qzc.js} +29 -29
- package/dist/chunks/{file-mutation-sqmfwgs3.js → shell-gqn0yf43.js} +20 -20
- package/dist/chunks/{file-mutation-b8kkksp1.js → shell-gtt1eksx.js} +16 -16
- package/dist/chunks/{file-mutation-gv6a8nnw.js → shell-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-h78m9h9q.js → shell-gzmddf54.js} +6 -6
- package/dist/chunks/{file-mutation-sc7wv7tt.js → shell-h2dht7j6.js} +13 -13
- package/dist/chunks/{file-mutation-zyr433b0.js → shell-h2r7bbkd.js} +11 -11
- package/dist/chunks/{file-mutation-h6vf3j39.js → shell-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-fe107s36.js → shell-hex08eaa.js} +25 -25
- package/dist/chunks/{file-mutation-89zh9079.js → shell-hj65t7v3.js} +34 -34
- package/dist/chunks/{file-mutation-mzrbxmyd.js → shell-hs41a4tz.js} +11 -11
- package/dist/chunks/{file-mutation-j56e64zr.js → shell-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-ftfm72kd.js → shell-j7ygsfe1.js} +6 -6
- package/dist/chunks/{file-mutation-3j8sdtpz.js → shell-j83byb14.js} +4 -4
- package/dist/chunks/{file-mutation-337ej1cd.js → shell-j96nbzpq.js} +5 -5
- package/dist/chunks/{file-mutation-nng2ktcm.js → shell-jca4demv.js} +2 -2
- package/dist/chunks/{file-mutation-cmq3w01w.js → shell-jf901kab.js} +18 -18
- package/dist/chunks/{file-mutation-jfqtm2ew.js → shell-jfqtm2ew.js} +1 -1
- package/dist/chunks/{file-mutation-hnr5yq9h.js → shell-jv01nqvq.js} +5 -5
- package/dist/chunks/{file-mutation-2pnhn36q.js → shell-jw80jp6b.js} +21 -21
- package/dist/chunks/{file-mutation-87z6e93s.js → shell-jyjzw1ga.js} +44 -44
- package/dist/chunks/{file-mutation-3rqkssp8.js → shell-k0nnq3t9.js} +6 -6
- package/dist/chunks/{file-mutation-e4gqq6ma.js → shell-k1k8px0g.js} +15 -15
- package/dist/chunks/{file-mutation-9ybrs273.js → shell-k1w610xy.js} +11 -11
- package/dist/chunks/{file-mutation-44ke2mar.js → shell-k9kj6xed.js} +6 -6
- package/dist/chunks/{file-mutation-ksnwa2zv.js → shell-kgqtb08c.js} +9 -9
- package/dist/chunks/{file-mutation-kn475exs.js → shell-kpg8spgh.js} +3 -3
- package/dist/chunks/{file-mutation-av0n72pr.js → shell-kzb2n3ry.js} +35 -35
- package/dist/chunks/{file-mutation-m3fdjcah.js → shell-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-mutation-x6f9vzrq.js → shell-m3k3skyh.js} +11 -11
- package/dist/chunks/{file-mutation-m9w0rfyh.js → shell-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-8qspac1s.js → shell-mh9k1zxz.js} +26 -26
- package/dist/chunks/{file-mutation-gsp24vdq.js → shell-mm2e63sp.js} +20 -20
- package/dist/chunks/{file-mutation-ppd28z9t.js → shell-mqq3d8t2.js} +9 -9
- package/dist/chunks/{file-mutation-9q2n6mg9.js → shell-msdpvvtr.js} +18 -18
- package/dist/chunks/{file-mutation-6tegjpz6.js → shell-msjkcb2c.js} +7 -7
- package/dist/chunks/{file-mutation-21s87zpc.js → shell-mxbx1btj.js} +19 -19
- package/dist/chunks/{file-mutation-2tnvdx3z.js → shell-n6hr9sd6.js} +187 -187
- package/dist/chunks/{file-mutation-2hgjwxzn.js → shell-n6qxy5sm.js} +17 -17
- package/dist/chunks/{file-mutation-vmctfggj.js → shell-ncgz71ps.js} +11 -11
- package/dist/chunks/{file-mutation-0md6znfh.js → shell-nchmh3xc.js} +6 -6
- package/dist/chunks/{file-mutation-n436hdn0.js → shell-nhw0hen6.js} +19 -19
- package/dist/chunks/{file-mutation-26zn0zdd.js → shell-nm19pb1r.js} +23 -23
- package/dist/chunks/{file-mutation-gxzpt4bf.js → shell-nnz2m9wf.js} +8 -8
- package/dist/chunks/{file-mutation-pnv527nz.js → shell-nq7qbqzc.js} +9 -9
- package/dist/chunks/{file-mutation-nxhqveyz.js → shell-nxhqveyz.js} +2 -2
- package/dist/chunks/{file-mutation-k3c624dm.js → shell-nzks3jc8.js} +3 -3
- package/dist/chunks/{file-mutation-h6r3nrb9.js → shell-nzyhnfxz.js} +4 -4
- package/dist/chunks/{file-mutation-v1r8ymca.js → shell-p31t3pd0.js} +9 -9
- package/dist/chunks/{file-mutation-b52awwxw.js → shell-p37hw4de.js} +9 -9
- package/dist/chunks/{file-mutation-v9s3adxq.js → shell-p4f9hcv5.js} +5 -5
- package/dist/chunks/{file-mutation-g0p5jsxc.js → shell-p9dx6m3r.js} +32 -32
- package/dist/chunks/{file-mutation-96tqna7g.js → shell-ph3y9dt3.js} +10 -10
- package/dist/chunks/{file-mutation-dq0f4b6t.js → shell-pjmrnj4k.js} +11 -11
- package/dist/chunks/{file-mutation-pjvnvgmy.js → shell-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → shell-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-kf7mt0f8.js → shell-pp4xxq9a.js} +20 -20
- package/dist/chunks/{file-mutation-3zbb0e4x.js → shell-pqw62kwh.js} +14 -14
- package/dist/chunks/{file-mutation-qfv53cem.js → shell-pqybgrxs.js} +12 -12
- package/dist/chunks/{file-mutation-v5a2m05x.js → shell-q3csemeg.js} +9 -9
- package/dist/chunks/{file-mutation-7w99qc9d.js → shell-q3t37ft6.js} +3 -3
- package/dist/chunks/{file-mutation-zy95xavh.js → shell-q6xswt0f.js} +20 -20
- package/dist/chunks/{file-mutation-d4he2qe1.js → shell-qmqgtz8f.js} +9 -9
- package/dist/chunks/{file-mutation-rtathh62.js → shell-qp3v07n2.js} +8 -8
- package/dist/chunks/{file-mutation-qsdy395h.js → shell-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-9ejexxwn.js → shell-qv98w6tv.js} +25 -25
- package/dist/chunks/{file-mutation-yp2x3t23.js → shell-r8xr0va3.js} +4 -4
- package/dist/chunks/shell-rap9a73h.js +18 -0
- package/dist/chunks/{file-mutation-rdw6cm16.js → shell-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-mutation-cfwkp8ke.js → shell-rps88wy8.js} +6 -6
- package/dist/chunks/{file-mutation-7sqbmk8k.js → shell-rymghcbg.js} +30 -30
- package/dist/chunks/{file-mutation-s4q94gyy.js → shell-s2s60008.js} +11 -11
- package/dist/chunks/{file-mutation-cgegp93j.js → shell-s6azf4c4.js} +18 -18
- package/dist/chunks/{file-mutation-pex2dkp7.js → shell-s9fwamzp.js} +26 -26
- package/dist/chunks/shell-sbdeyn5w.js +252 -0
- package/dist/chunks/{file-mutation-7yqjxrmz.js → shell-ss0awb04.js} +4 -4
- package/dist/chunks/{file-mutation-k16pevg1.js → shell-sv380ctb.js} +8 -8
- package/dist/chunks/{file-mutation-aw4er02a.js → shell-sw8vzzw8.js} +23 -23
- package/dist/chunks/{file-mutation-tgkhkf8q.js → shell-t44e5ekz.js} +5 -5
- package/dist/chunks/{file-mutation-tpwrm9yt.js → shell-t5jrxwkq.js} +41 -41
- package/dist/chunks/{file-mutation-tazgh4e4.js → shell-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-p28j5sbe.js → shell-tbz0fdvh.js} +5 -5
- package/dist/chunks/{file-mutation-tcezcvh9.js → shell-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-tdstcens.js → shell-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-y0jwsk5r.js → shell-tf2g47yf.js} +14 -14
- package/dist/chunks/{file-mutation-kfnrrrna.js → shell-tfc91kag.js} +5 -5
- package/dist/chunks/{file-mutation-dct99a2c.js → shell-tfv73esw.js} +1 -1
- package/dist/chunks/{file-mutation-tvtrv512.js → shell-tvtrv512.js} +1 -1
- package/dist/chunks/shell-v3ez8wwd.js +478 -0
- package/dist/chunks/{file-mutation-mx9vqzsb.js → shell-v8jfbz3g.js} +6 -6
- package/dist/chunks/{file-mutation-q8qgrk48.js → shell-v90naytm.js} +34 -34
- package/dist/chunks/{file-mutation-c8mrj3kp.js → shell-vd5v5qk0.js} +56 -56
- package/dist/chunks/{file-mutation-veqvce7d.js → shell-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-g2kefdbs.js → shell-vjbs195a.js} +25 -25
- package/dist/chunks/{file-mutation-gmrkgfhq.js → shell-vsatvqh0.js} +17 -17
- package/dist/chunks/{file-mutation-4vtzzjzy.js → shell-vszvf9m8.js} +30 -30
- package/dist/chunks/{file-mutation-6qdm2rsa.js → shell-vw7qqfe6.js} +14 -14
- package/dist/chunks/{file-mutation-vzcthcp8.js → shell-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-64kphnzf.js → shell-w1k39n5e.js} +4 -4
- package/dist/chunks/{file-mutation-8ae46srb.js → shell-w3dn7vsw.js} +26 -26
- package/dist/chunks/{file-mutation-w3wsvvr9.js → shell-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-cekd2vsf.js → shell-w6q8arpf.js} +24 -24
- package/dist/chunks/{file-mutation-sr3kag3a.js → shell-w7afr362.js} +20 -20
- package/dist/chunks/{file-mutation-16ykham6.js → shell-w7y6znma.js} +9 -9
- package/dist/chunks/{file-mutation-wd87259q.js → shell-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-xnahtpae.js → shell-wejvtsvc.js} +8 -8
- package/dist/chunks/{file-mutation-9s4fnnwx.js → shell-wf93z251.js} +16 -16
- package/dist/chunks/{file-mutation-9d52tmdm.js → shell-x0ea1d7t.js} +10 -10
- package/dist/chunks/{file-mutation-b5a5chs4.js → shell-x0pm48gx.js} +11 -11
- package/dist/chunks/{file-mutation-x1ezjp6w.js → shell-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-fpz52p8q.js → shell-x7zeatxc.js} +5 -5
- package/dist/chunks/{file-mutation-9zsbca5k.js → shell-xb1zhhk4.js} +51 -51
- package/dist/chunks/{file-mutation-5x4r9t6b.js → shell-xc4h54g0.js} +8 -8
- package/dist/chunks/{file-mutation-ypp9m475.js → shell-xd6cwxj6.js} +38 -38
- package/dist/chunks/{file-mutation-xfkkasph.js → shell-xfkkasph.js} +1 -1
- package/dist/chunks/{file-mutation-tegzbpn0.js → shell-xmer0dbq.js} +4 -4
- package/dist/chunks/{file-mutation-744d2y49.js → shell-xz9j7v2t.js} +13 -13
- package/dist/chunks/{file-mutation-y1fvbwt7.js → shell-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-y71avatq.js → shell-y71avatq.js} +1 -1
- package/dist/chunks/{file-mutation-9t5hjfj5.js → shell-y8zkxr9j.js} +15 -15
- package/dist/chunks/{file-mutation-pdb8ga4w.js → shell-y9j63q94.js} +12 -12
- package/dist/chunks/{file-mutation-1btxqys4.js → shell-ygek0628.js} +4 -4
- package/dist/chunks/{file-mutation-81tbvkms.js → shell-yh8kp56w.js} +7 -7
- package/dist/chunks/{file-mutation-yrhqyw5v.js → shell-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → shell-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-n0pywpq4.js → shell-yzyc98yn.js} +6 -6
- package/dist/chunks/{file-mutation-z0bkrqjs.js → shell-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-608s2005.js → shell-z1djt9rd.js} +26 -26
- package/dist/chunks/{file-mutation-29x78va6.js → shell-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-zeh9ct20.js → shell-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-zr2ceqn5.js → shell-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-zxq2ej10.js → shell-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +122 -122
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- 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 +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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 +224 -224
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +96 -96
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +357 -357
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +116 -116
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +85 -85
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- 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 +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +216 -216
- 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 +9 -9
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- 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 +2 -2
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- 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/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/file-mutation-0dr17sfc.js +0 -252
- package/dist/chunks/file-mutation-3n20nwgf.js +0 -478
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-75z37rd0.js +0 -65
- package/dist/chunks/file-mutation-ctefx7dc.js +0 -18
- package/dist/chunks/file-mutation-k14es7wq.js +0 -26
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → shell-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → shell-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → shell-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → shell-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → shell-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-24dcb14g.js → shell-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → shell-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → shell-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → shell-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → shell-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → shell-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → shell-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → shell-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → shell-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → shell-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → shell-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4vcrnpx2.js → shell-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → shell-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → shell-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → shell-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → shell-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → shell-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → shell-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → shell-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → shell-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → shell-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → shell-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → shell-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → shell-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → shell-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → shell-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → shell-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → shell-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → shell-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → shell-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → shell-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → shell-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → shell-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → shell-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → shell-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → shell-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → shell-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → shell-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → shell-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → shell-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → shell-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → shell-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → shell-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → shell-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → shell-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → shell-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → shell-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → shell-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → shell-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → shell-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → shell-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → shell-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → shell-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → shell-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → shell-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → shell-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → shell-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jjkms2e6.js → shell-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → shell-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → shell-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → shell-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → shell-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → shell-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → shell-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → shell-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → shell-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → shell-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → shell-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → shell-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → shell-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → shell-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qg3g05ea.js → shell-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → shell-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → shell-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → shell-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → shell-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → shell-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → shell-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → shell-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wc3fc9cn.js → shell-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → shell-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → shell-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → shell-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → shell-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → shell-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → shell-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-y8f7s663.js → shell-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → shell-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → shell-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → shell-z9919s4g.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-hs41a4tz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID8
|
|
6
|
+
} from "./shell-99q6wywc.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service51,
|
|
9
|
+
node54
|
|
10
|
+
} from "./shell-jyjzw1ga.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-q3t37ft6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service50,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node53,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service50 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service51;
|
|
77
|
+
return Service50.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node53 = makeLocationNode({ service: Service50, layer, deps: [node54] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service50, resolved2, node53, exports_model };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ascending2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-tvtrv512.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
node75
|
|
7
|
+
} from "./shell-3ekgth3a.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionMessage2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-gftt206x.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-q3t37ft6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/job.ts
|
|
19
19
|
var exports_job = {};
|
|
20
20
|
__export(exports_job, {
|
|
21
21
|
Job: () => exports_job,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service54,
|
|
23
23
|
make: () => make19,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node57
|
|
25
25
|
});
|
|
26
26
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
27
27
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -50,7 +50,7 @@ var Background = Schema.Struct({
|
|
|
50
50
|
var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
51
51
|
var backgroundPrefix = "job.background/";
|
|
52
52
|
|
|
53
|
-
class
|
|
53
|
+
class Service54 extends Context.Service()("@opencode/Job") {
|
|
54
54
|
}
|
|
55
55
|
function snapshot(job) {
|
|
56
56
|
return {
|
|
@@ -86,7 +86,7 @@ function decrementSession(input, sessionID) {
|
|
|
86
86
|
return next;
|
|
87
87
|
}
|
|
88
88
|
var make19 = Effect.gen(function* () {
|
|
89
|
-
const kv = yield*
|
|
89
|
+
const kv = yield* Service71;
|
|
90
90
|
const state = {
|
|
91
91
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
92
92
|
scope: yield* Scope.Scope
|
|
@@ -315,7 +315,7 @@ var make19 = Effect.gen(function* () {
|
|
|
315
315
|
return recovered;
|
|
316
316
|
}).pipe(Effect.withSpan("Job.pendingBackground"));
|
|
317
317
|
const completeBackground = Effect.fn("Job.completeBackground")((notificationID) => kv.remove(`${backgroundPrefix}${notificationID}`));
|
|
318
|
-
return
|
|
318
|
+
return Service54.of({
|
|
319
319
|
get,
|
|
320
320
|
start,
|
|
321
321
|
wait,
|
|
@@ -327,7 +327,7 @@ var make19 = Effect.gen(function* () {
|
|
|
327
327
|
completeBackground
|
|
328
328
|
});
|
|
329
329
|
});
|
|
330
|
-
var layer = Layer.effect(
|
|
331
|
-
var
|
|
330
|
+
var layer = Layer.effect(Service54, make19);
|
|
331
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [node75] });
|
|
332
332
|
|
|
333
|
-
export {
|
|
333
|
+
export { Service54, make19, node57, exports_job };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service64,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node68
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service64 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service64.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node68 = makeLocationNode({
|
|
143
|
+
service: Service64,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service64, node68, exports_tool_output2 };
|
|
@@ -2,13 +2,13 @@ import {
|
|
|
2
2
|
AgentNotFoundError2,
|
|
3
3
|
StepFailedError2,
|
|
4
4
|
UserInterruptedError2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-3ktbe3hf.js";
|
|
6
6
|
import {
|
|
7
7
|
BlockedError2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9wvkvc1q.js";
|
|
9
9
|
import {
|
|
10
10
|
AuthorizationError2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-fxnhd30a.js";
|
|
12
12
|
import {
|
|
13
13
|
ModelNotSelectedError2,
|
|
14
14
|
ModelUnavailableError2,
|
|
@@ -18,7 +18,7 @@ import {
|
|
|
18
18
|
ModelInitializationError2,
|
|
19
19
|
UnresolvedProviderVariablesError2,
|
|
20
20
|
UnsupportedCompactionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-xz9j7v2t.js";
|
|
22
22
|
|
|
23
23
|
// src/session/to-session-error.ts
|
|
24
24
|
import { AIError, ToolFailure } from "@opencode/ai";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./shell-8kpc6pdt.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./shell-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
@@ -24,7 +24,7 @@ import { AppProcess } from "@opencode/util/process";
|
|
|
24
24
|
class Service13 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
26
|
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
27
|
-
const location = yield*
|
|
27
|
+
const location = yield* Service78;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -90,7 +90,7 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
90
90
|
var node15 = makeLocationNode({
|
|
91
91
|
service: Service13,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node82, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
96
|
export { Service13, node15, exports_formatter2 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./shell-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-kpg8spgh.js";
|
|
5
5
|
import {
|
|
6
6
|
Service82,
|
|
7
7
|
node86
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-bqh2sd97.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./shell-w1k39n5e.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load5
|
|
23
|
+
} from "./shell-x0pm48gx.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-4jc5c4h4.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./shell-rymghcbg.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./shell-ygek0628.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./shell-gzmddf54.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./shell-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./shell-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./shell-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction2 = {};
|
|
56
56
|
__export(exports_compaction2, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service11,
|
|
58
58
|
SessionCompaction: () => exports_compaction2,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node13,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service11 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var
|
|
301
|
+
var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service82;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service83).db;
|
|
@@ -374,7 +374,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
374
374
|
webSocket
|
|
375
375
|
});
|
|
376
376
|
};
|
|
377
|
-
const original = (sessionID) =>
|
|
377
|
+
const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
|
|
378
378
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
379
379
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
380
380
|
const context = input.context;
|
|
@@ -607,7 +607,7 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
607
607
|
}
|
|
608
608
|
}));
|
|
609
609
|
});
|
|
610
|
-
return
|
|
610
|
+
return Service11.of({
|
|
611
611
|
transform: state.transform,
|
|
612
612
|
reload: state.reload,
|
|
613
613
|
enabled: () => state.get().auto,
|
|
@@ -616,10 +616,10 @@ var layer6 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
616
616
|
compactManual
|
|
617
617
|
});
|
|
618
618
|
}));
|
|
619
|
-
var
|
|
620
|
-
service:
|
|
621
|
-
layer:
|
|
619
|
+
var node13 = makeLocationNode({
|
|
620
|
+
service: Service11,
|
|
621
|
+
layer: layer7,
|
|
622
622
|
deps: [node86, node87, llmClient2]
|
|
623
623
|
});
|
|
624
624
|
|
|
625
|
-
export {
|
|
625
|
+
export { Service11, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node13, exports_compaction2 };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
package/dist/codemode/catalog.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
render2,
|
|
3
|
-
|
|
3
|
+
update2,
|
|
4
4
|
make14,
|
|
5
|
-
|
|
6
|
-
} from "../chunks/
|
|
7
|
-
import"../chunks/
|
|
8
|
-
import"../chunks/
|
|
5
|
+
exports_instructions5
|
|
6
|
+
} from "../chunks/shell-pqw62kwh.js";
|
|
7
|
+
import"../chunks/shell-3fc6dm20.js";
|
|
8
|
+
import"../chunks/shell-eaj1djv9.js";
|
|
9
9
|
export {
|
|
10
|
-
|
|
10
|
+
exports_instructions5 as CodeModeInstructions,
|
|
11
11
|
make14 as make,
|
|
12
12
|
render2 as render,
|
|
13
|
-
|
|
13
|
+
update2 as update
|
|
14
14
|
};
|
package/dist/codemode/tool.js
CHANGED
|
@@ -2,9 +2,9 @@ import {
|
|
|
2
2
|
create2,
|
|
3
3
|
catalog2,
|
|
4
4
|
exports_tool2
|
|
5
|
-
} from "../chunks/
|
|
6
|
-
import"../chunks/
|
|
7
|
-
import"../chunks/
|
|
5
|
+
} from "../chunks/shell-nzks3jc8.js";
|
|
6
|
+
import"../chunks/shell-3w5fmr99.js";
|
|
7
|
+
import"../chunks/shell-m3fdjcah.js";
|
|
8
8
|
export {
|
|
9
9
|
exports_tool2 as CodeModeTool,
|
|
10
10
|
catalog2 as catalog,
|