@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
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service78
|
|
8
|
+
} from "./shell-8kpc6pdt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./shell-d0c4rcdd.js";
|
|
12
12
|
import {
|
|
13
13
|
Service13
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-yh8kp56w.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service17,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-h2dht7j6.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service74
|
|
22
|
+
} from "./shell-9wvkvc1q.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service73,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./shell-byr7frw1.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./shell-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output5,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin19,
|
|
42
|
+
name: () => name5,
|
|
43
|
+
toModelContent: () => toModelContent3
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name5 = "patch";
|
|
89
|
+
var Input5 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output5 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent3 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin19 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
111
|
+
const environment = yield* Service60;
|
|
112
|
+
const access = yield* Service73;
|
|
113
|
+
const fileMutation = yield* Service17;
|
|
114
114
|
const formatter = yield* Service13;
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
115
|
+
const location = yield* Service78;
|
|
116
|
+
const permission = yield* Service74;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output5,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin12 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent3(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name5, Input5, Applied2, Output5, toModelContent3, Plugin19, exports_patch };
|
|
@@ -1,63 +1,63 @@
|
|
|
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
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service49,
|
|
11
|
+
node52
|
|
12
|
+
} from "./shell-v8jfbz3g.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service80,
|
|
19
|
+
node84
|
|
20
|
+
} from "./shell-t5jrxwkq.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref4
|
|
23
|
+
} from "./shell-8kpc6pdt.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service53,
|
|
26
|
+
node56
|
|
27
|
+
} from "./shell-7m4yxrk1.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./shell-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError10
|
|
33
|
+
} from "./shell-3ktbe3hf.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./shell-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service47
|
|
39
|
+
} from "./shell-embw8kgh.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service75,
|
|
42
|
+
node79
|
|
43
|
+
} from "./shell-dcx9ytfh.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service48,
|
|
48
|
+
node51,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./shell-6zk5k8gk.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service46,
|
|
53
|
+
node50
|
|
54
|
+
} from "./shell-xd6cwxj6.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node35
|
|
57
|
+
} from "./shell-cae5tg5t.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./shell-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service31,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node34
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service31 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service31, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
91
|
+
const projects = yield* Service80;
|
|
92
|
+
const locations = yield* Service53;
|
|
93
|
+
const store = yield* Service75;
|
|
94
|
+
const execution = yield* Service46;
|
|
95
|
+
const instances = yield* Service49;
|
|
96
|
+
const admission = yield* Service48;
|
|
97
97
|
const database = yield* Service83;
|
|
98
98
|
const bus = yield* Service82;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError10({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref4.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service47.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service31.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node34 = makeGlobalNode({
|
|
167
|
+
service: Service31,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
172
|
+
node84,
|
|
173
|
+
node56,
|
|
174
|
+
node79,
|
|
175
|
+
node50,
|
|
176
|
+
node52,
|
|
177
|
+
node51,
|
|
178
178
|
node87,
|
|
179
179
|
node86,
|
|
180
|
-
|
|
180
|
+
node35
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service31, node34, exports_move };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service78
|
|
9
|
+
} from "./shell-8kpc6pdt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service60
|
|
12
|
+
} from "./shell-d0c4rcdd.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service20
|
|
16
|
+
} from "./shell-tf2g47yf.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./shell-902z4n12.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service74
|
|
26
|
+
} from "./shell-9wvkvc1q.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service73
|
|
29
|
+
} from "./shell-byr7frw1.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./shell-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
38
|
Input: () => Input7,
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
39
|
+
Output: () => Output6,
|
|
40
|
+
Plugin: () => Plugin21,
|
|
41
41
|
name: () => name7,
|
|
42
42
|
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
@@ -65,7 +65,7 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output6 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,20 +83,20 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin21 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service60;
|
|
90
|
+
const ripgrep = yield* Service20;
|
|
91
|
+
const location = yield* Service78;
|
|
92
|
+
const access = yield* Service73;
|
|
93
|
+
const permission = yield* Service74;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
95
|
name: name7,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
98
|
input: Input7,
|
|
99
|
-
output:
|
|
99
|
+
output: Output6,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
@@ -154,4 +154,4 @@ var Plugin9 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export { name7, Input7,
|
|
157
|
+
export { name7, Input7, Output6, toModelContent4, Plugin21, exports_grep };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-bqh2sd97.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event16
|
|
7
|
+
} from "./shell-4eqskv5x.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-fxnhd30a.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
mergeOverlay2,
|
|
15
15
|
mergeHeaders2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-99q6wywc.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
ID4,
|
|
19
|
+
Input14,
|
|
20
20
|
Response2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./shell-hex08eaa.js";
|
|
22
22
|
|
|
23
23
|
// src/plugin/provider/opencode.ts
|
|
24
24
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -32,7 +32,7 @@ var methodID = MethodID2.make("device");
|
|
|
32
32
|
var RemoteResponse = Schema.Struct({
|
|
33
33
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
34
34
|
websearch: Schema.Struct({
|
|
35
|
-
providerID:
|
|
35
|
+
providerID: ID4
|
|
36
36
|
}).pipe(Schema.optional)
|
|
37
37
|
});
|
|
38
38
|
var Device = Schema.Struct({
|
|
@@ -54,7 +54,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
54
54
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
55
55
|
function oauth(http) {
|
|
56
56
|
return {
|
|
57
|
-
integrationID:
|
|
57
|
+
integrationID: ID9.make("opencode"),
|
|
58
58
|
method: {
|
|
59
59
|
id: methodID,
|
|
60
60
|
type: "oauth",
|
|
@@ -134,7 +134,7 @@ var OpencodePlugin2 = define({
|
|
|
134
134
|
providers.update(providerID, (provider) => {
|
|
135
135
|
if (source && source.provider !== provider)
|
|
136
136
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
137
|
-
provider.integrationID =
|
|
137
|
+
provider.integrationID = ID9.make("opencode");
|
|
138
138
|
if (item.canonical !== undefined)
|
|
139
139
|
provider.canonical = item.canonical;
|
|
140
140
|
if (item.name !== undefined)
|
|
@@ -204,7 +204,7 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
sourceConnection: snapshot.connection
|
|
205
205
|
});
|
|
206
206
|
}
|
|
207
|
-
const item = providers.get(
|
|
207
|
+
const item = providers.get(ID8.opencode);
|
|
208
208
|
if (!item)
|
|
209
209
|
return;
|
|
210
210
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -216,7 +216,7 @@ var OpencodePlugin2 = define({
|
|
|
216
216
|
});
|
|
217
217
|
});
|
|
218
218
|
yield* ctx.model.transform((models) => {
|
|
219
|
-
const item = models.provider.get(
|
|
219
|
+
const item = models.provider.get(ID8.opencode);
|
|
220
220
|
if (!item)
|
|
221
221
|
return;
|
|
222
222
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -250,7 +250,7 @@ var OpencodePlugin2 = define({
|
|
|
250
250
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
251
251
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
252
252
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
253
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
253
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
254
254
|
query: input.query,
|
|
255
255
|
providerID: descriptor.providerID
|
|
256
256
|
}));
|
|
@@ -271,7 +271,7 @@ var OpencodePlugin2 = define({
|
|
|
271
271
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
272
272
|
});
|
|
273
273
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
274
|
-
yield* bus.subscribe(
|
|
274
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
275
275
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
276
276
|
})
|
|
277
277
|
});
|