@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,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-bqh2sd97.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./shell-8kpc6pdt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./shell-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service59,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node62
|
|
16
|
+
} from "./shell-df76fvss.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service18,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service18 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service82;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const shell = yield* Service59;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service18.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service18,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node86,
|
|
276
|
+
deps: [node86, node82, node62]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service18, node20, exports_pty, Event3 };
|
|
@@ -2,37 +2,37 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service82,
|
|
4
4
|
node86
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./shell-bqh2sd97.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./shell-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service2,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node3
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service2 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
26
26
|
const bus = yield* Service82;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service2.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node3 = makeGlobalNode({ service: Service2, layer: layer4, deps: [node86] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service2, layer4, node3, exports_sdk };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service45
|
|
7
|
+
} from "./shell-6k4mb8p8.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-q3t37ft6.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-3ktbe3hf.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./shell-a1bz86dw.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service45;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service37,
|
|
3
|
+
node40
|
|
4
|
+
} from "./shell-4910pwsm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
6
|
+
Key4,
|
|
7
7
|
removed2,
|
|
8
|
-
|
|
8
|
+
make21,
|
|
9
9
|
diffByKey2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./shell-eaj1djv9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./shell-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/reference/instructions.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ReferenceInstructions: () =>
|
|
19
|
-
Service: () =>
|
|
20
|
-
node: () =>
|
|
16
|
+
var exports_instructions2 = {};
|
|
17
|
+
__export(exports_instructions2, {
|
|
18
|
+
ReferenceInstructions: () => exports_instructions2,
|
|
19
|
+
Service: () => Service27,
|
|
20
|
+
node: () => node30
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -57,19 +57,19 @@ var update = (previous, current) => {
|
|
|
57
57
|
`);
|
|
58
58
|
};
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service27 extends Context.Service()("@opencode/ReferenceInstructions") {
|
|
61
61
|
}
|
|
62
|
-
var layer = Layer.effect(
|
|
63
|
-
const references = yield*
|
|
64
|
-
return
|
|
62
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
63
|
+
const references = yield* Service37;
|
|
64
|
+
return Service27.of({
|
|
65
65
|
load: Effect.fn("ReferenceInstructions.load")(function* () {
|
|
66
66
|
const available = (yield* references.list()).filter((reference) => reference.description !== undefined).map((reference) => ({
|
|
67
67
|
name: reference.name,
|
|
68
68
|
path: reference.path,
|
|
69
69
|
description: reference.description
|
|
70
70
|
})).toSorted((a, b) => a.name.localeCompare(b.name));
|
|
71
|
-
return
|
|
72
|
-
key:
|
|
71
|
+
return make21({
|
|
72
|
+
key: Key4.make("core/reference-guidance"),
|
|
73
73
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
74
74
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
75
75
|
render: {
|
|
@@ -81,6 +81,6 @@ var layer = Layer.effect(Service38, Effect.gen(function* () {
|
|
|
81
81
|
})
|
|
82
82
|
});
|
|
83
83
|
}));
|
|
84
|
-
var
|
|
84
|
+
var node30 = makeLocationNode({ service: Service27, layer, deps: [node40] });
|
|
85
85
|
|
|
86
|
-
export {
|
|
86
|
+
export { Service27, node30, exports_instructions2 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
Summary2,
|
|
9
9
|
summarize2,
|
|
10
10
|
namespaceLine2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-3fc6dm20.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./shell-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/codemode/instructions.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CodeModeInstructions: () =>
|
|
17
|
+
var exports_instructions5 = {};
|
|
18
|
+
__export(exports_instructions5, {
|
|
19
|
+
CodeModeInstructions: () => exports_instructions5,
|
|
20
20
|
make: () => make14,
|
|
21
21
|
render: () => render2,
|
|
22
|
-
update: () =>
|
|
22
|
+
update: () => update2
|
|
23
23
|
});
|
|
24
24
|
import { searchSignature, toolExpression } from "@opencode/codemode";
|
|
25
25
|
import { Effect, Schema } from "effect";
|
|
@@ -45,7 +45,7 @@ function render2(catalog) {
|
|
|
45
45
|
${tools.join(`
|
|
46
46
|
`)}`;
|
|
47
47
|
}
|
|
48
|
-
function
|
|
48
|
+
function update2(previous, current) {
|
|
49
49
|
const replacement = `The Code Mode tool catalog has changed. This catalog supersedes the previous Code Mode tool catalog.
|
|
50
50
|
|
|
51
51
|
${render2(current)}`;
|
|
@@ -111,20 +111,20 @@ ${render2(current)}`;
|
|
|
111
111
|
return delta;
|
|
112
112
|
return replacement;
|
|
113
113
|
}
|
|
114
|
-
var key =
|
|
114
|
+
var key = Key4.make("core/codemode");
|
|
115
115
|
var codec = Schema.toCodecJson(Summary2);
|
|
116
116
|
var make14 = (inventory) => {
|
|
117
117
|
const catalog = inventory === undefined ? removed2 : summarize2(inventory);
|
|
118
|
-
return
|
|
118
|
+
return make21({
|
|
119
119
|
key,
|
|
120
120
|
codec,
|
|
121
121
|
read: Effect.succeed(catalog),
|
|
122
122
|
render: {
|
|
123
123
|
initial: render2,
|
|
124
|
-
changed:
|
|
124
|
+
changed: update2,
|
|
125
125
|
removed: () => "Code Mode tools are no longer available. Do not use any previously listed Code Mode tools."
|
|
126
126
|
}
|
|
127
127
|
});
|
|
128
128
|
};
|
|
129
129
|
|
|
130
|
-
export { render2,
|
|
130
|
+
export { render2, update2, make14, exports_instructions5 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service82,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./shell-bqh2sd97.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./shell-8kpc6pdt.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./shell-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service75,
|
|
14
|
+
node79
|
|
15
|
+
} from "./shell-dcx9ytfh.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./shell-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
@@ -37,8 +37,8 @@ class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
|
37
37
|
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
38
|
const bus = yield* Service82;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service75;
|
|
41
|
+
const location = yield* Service78;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -98,7 +98,7 @@ function describePath(root, path) {
|
|
|
98
98
|
var node8 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [node86, FSUtil.node,
|
|
101
|
+
deps: [node86, FSUtil.node, node82, node79]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
104
|
export { Service6, node8, exports_instructions };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-hs41a4tz.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./shell-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin7 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin36 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint6, Plugin7, exports_tinyfish };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
// src/session/schema.ts
|
|
2
2
|
import * as SessionSchema2 from "@opencode/schema/session";
|
|
3
3
|
import { Session } from "@opencode/schema/session";
|
|
4
|
-
var
|
|
5
|
-
var
|
|
4
|
+
var ID15 = Session.ID;
|
|
5
|
+
var Info30 = Session.Info;
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { ID15, Info30, SessionSchema2 };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-kpg8spgh.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-bqh2sd97.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service49
|
|
9
|
+
} from "./shell-v8jfbz3g.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./shell-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID5,
|
|
15
|
+
Service45
|
|
16
|
+
} from "./shell-6k4mb8p8.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./shell-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./shell-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./shell-3ktbe3hf.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./shell-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./shell-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service49;
|
|
46
46
|
const database = yield* Service83;
|
|
47
47
|
const bus = yield* Service82;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service45;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID5.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service49;
|
|
78
78
|
const bus = yield* Service82;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service45;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID5.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID5.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./shell-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./shell-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service9,
|
|
13
|
+
node: () => node11
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service9 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service9, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service9.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node11 = makeLocationNode({ service: Service9, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service9, node11, exports_location_watcher_policy };
|