@opencode/core 0.0.0-dev-20082 → 0.0.0-dev-20085
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{mime-bc3t5yes.js → location-07vz9eek.js} +24 -24
- package/dist/chunks/{mime-bg87x2pg.js → location-0be1sdj9.js} +13 -13
- package/dist/chunks/{mime-41km3kz5.js → location-0cggee6v.js} +16 -16
- package/dist/chunks/{mime-d44j1b50.js → location-0gzrs4vr.js} +10 -10
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{mime-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0r7yqxbf.js → location-0r7yqxbf.js} +2 -2
- package/dist/chunks/{mime-dfe8djrf.js → location-0v53mg2y.js} +4 -4
- package/dist/chunks/{mime-ycy6en70.js → location-0xx80p0r.js} +20 -20
- package/dist/chunks/{mime-jpf1a9kn.js → location-106msdn7.js} +46 -46
- package/dist/chunks/{mime-77a7k1x9.js → location-10tgmh5f.js} +32 -32
- package/dist/chunks/{mime-xw1kh6e4.js → location-1442abdc.js} +26 -26
- package/dist/chunks/{mime-h0cakgky.js → location-15t8dppg.js} +8 -8
- package/dist/chunks/{mime-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-hvjvz7ze.js → location-1ej0zjcx.js} +10 -10
- package/dist/chunks/{mime-m9pdr671.js → location-1ezynbde.js} +32 -32
- package/dist/chunks/{mime-30vqxvem.js → location-1fbwpdat.js} +6 -6
- package/dist/chunks/{mime-anq3081s.js → location-20td3mps.js} +10 -10
- package/dist/chunks/{mime-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{mime-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{mime-de35ch4m.js → location-2415p9az.js} +8 -8
- package/dist/chunks/{mime-mgmaefw5.js → location-299n82gd.js} +8 -8
- package/dist/chunks/{mime-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-0tzy42a9.js → location-2hr5nhwa.js} +8 -8
- package/dist/chunks/{mime-2k8khapm.js → location-2k8khapm.js} +1 -1
- package/dist/chunks/{mime-gxvazm9p.js → location-34wh1aps.js} +11 -11
- package/dist/chunks/{mime-emzh0g24.js → location-39jngy68.js} +27 -27
- package/dist/chunks/{mime-twqbsrwr.js → location-3bsjcbdv.js} +20 -20
- package/dist/chunks/{mime-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-j9j6vs9t.js → location-3jycfehx.js} +24 -24
- package/dist/chunks/{mime-qg0jgkcp.js → location-3pe7sts8.js} +9 -9
- package/dist/chunks/{mime-sxzvkvgj.js → location-3ppptnan.js} +6 -6
- package/dist/chunks/{mime-mdr8ar5f.js → location-3q97q53x.js} +12 -12
- package/dist/chunks/{mime-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-e18zzkty.js → location-3tbrhkpf.js} +10 -10
- package/dist/chunks/{mime-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-3zsf4n22.js → location-3zsf4n22.js} +1 -1
- package/dist/chunks/{mime-cf1secj6.js → location-425trzk5.js} +26 -26
- package/dist/chunks/{mime-86qzxe6p.js → location-4bm5ja14.js} +4 -4
- package/dist/chunks/{mime-h6r3nrb9.js → location-4dgbcxzg.js} +4 -4
- package/dist/chunks/{mime-kb6gw2zp.js → location-4eq8w0dz.js} +4 -4
- package/dist/chunks/{mime-ga3gdcep.js → location-4pcxhhnw.js} +8 -8
- package/dist/chunks/{mime-4crc4jdm.js → location-4vt3p759.js} +3 -3
- package/dist/chunks/{mime-m6q70yxa.js → location-510j4sx9.js} +27 -27
- package/dist/chunks/{mime-ae0nwvy8.js → location-56dkfrzf.js} +4 -4
- package/dist/chunks/{mime-1ygqh575.js → location-56gdpj1q.js} +9 -9
- package/dist/chunks/{mime-2s5q0hbn.js → location-5cpn9dpm.js} +53 -53
- package/dist/chunks/{mime-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-153c4z9z.js → location-5e5hg0r6.js} +20 -20
- package/dist/chunks/{mime-gqegm53c.js → location-5ej7x3ry.js} +8 -8
- package/dist/chunks/{mime-5ekn9679.js → location-5ekn9679.js} +1 -1
- package/dist/chunks/{mime-54g84kz9.js → location-5ncth405.js} +14 -14
- package/dist/chunks/{mime-e3qxr5gk.js → location-5qd3pb7m.js} +2 -2
- package/dist/chunks/{mime-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-mb1qbq9t.js → location-5tpf5zh9.js} +25 -25
- package/dist/chunks/{mime-ndz9h71m.js → location-5tv5qkzz.js} +3 -3
- package/dist/chunks/{mime-e0ps24dg.js → location-5wdb16a6.js} +14 -14
- package/dist/chunks/{mime-n1ka8r9d.js → location-5xpznt2d.js} +4 -4
- package/dist/chunks/{mime-m5mm7eg1.js → location-65k8mysp.js} +9 -9
- package/dist/chunks/{mime-d866bxqg.js → location-663rft7j.js} +9 -9
- package/dist/chunks/{mime-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{mime-b2vtx10y.js → location-69ksqbae.js} +29 -29
- package/dist/chunks/{mime-x2hpphy2.js → location-6a3k1kcn.js} +3 -3
- package/dist/chunks/{mime-f1q6nvme.js → location-6j0vxgq2.js} +1 -1
- package/dist/chunks/{mime-m9rvph0x.js → location-6mmgh4xg.js} +10 -10
- package/dist/chunks/{mime-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-ye8z0dg9.js → location-6s1xemfg.js} +9 -9
- package/dist/chunks/{mime-tggd67fe.js → location-6wxnkzs8.js} +16 -16
- package/dist/chunks/{mime-2bekqz3a.js → location-6yvxz189.js} +11 -11
- package/dist/chunks/{mime-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-5w36kk3z.js → location-7e14ztgh.js} +27 -27
- package/dist/chunks/{mime-w92k2e0p.js → location-7fkffz83.js} +6 -6
- package/dist/chunks/{mime-26nae1tf.js → location-7gdmqp75.js} +9 -9
- package/dist/chunks/{mime-y6n4fsc2.js → location-7ksxvdee.js} +33 -33
- package/dist/chunks/{mime-vw5a0rfv.js → location-7qzds7mm.js} +2 -2
- package/dist/chunks/{mime-ds0wtj4e.js → location-80fr4qvs.js} +1 -1
- package/dist/chunks/{mime-57ez7d0k.js → location-81swgkk7.js} +7 -7
- package/dist/chunks/{mime-6r5c0w9g.js → location-823tjzjk.js} +26 -26
- package/dist/chunks/{mime-1rzq4h8b.js → location-82rbf7r8.js} +6 -6
- package/dist/chunks/{mime-amgtyp96.js → location-8adg00cn.js} +17 -17
- package/dist/chunks/location-8d139r9t.js +339 -0
- package/dist/chunks/{mime-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/location-8mqjhp6w.js +252 -0
- package/dist/chunks/{mime-ydsngzkh.js → location-8n0e00gn.js} +1 -1
- package/dist/chunks/{mime-k1qrnqst.js → location-8nv3jfj1.js} +8 -8
- package/dist/chunks/{mime-5s4prcyn.js → location-8v644s20.js} +30 -30
- package/dist/chunks/{mime-94ek1h2f.js → location-94ek1h2f.js} +2 -2
- package/dist/chunks/{mime-rf80fxgj.js → location-9b00c1fb.js} +5 -5
- package/dist/chunks/{mime-37mgqk6f.js → location-9dpjnxjc.js} +11 -11
- package/dist/chunks/{mime-y5xqhydv.js → location-a7s3m6jr.js} +32 -32
- package/dist/chunks/{mime-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-zsmwpmw6.js → location-acwcyef3.js} +15 -15
- package/dist/chunks/{mime-6rfetefd.js → location-agbx9p6n.js} +3 -3
- package/dist/chunks/{mime-qvzr2hby.js → location-ah5h6pvz.js} +47 -47
- package/dist/chunks/{mime-v553wp33.js → location-ajv0zg1h.js} +48 -48
- package/dist/chunks/{mime-96hjzxkc.js → location-ank4y774.js} +12 -12
- package/dist/chunks/{mime-q970vn6j.js → location-b09hzw3k.js} +2 -2
- package/dist/chunks/{mime-2mfz3bef.js → location-b11dy6b6.js} +6 -6
- package/dist/chunks/{mime-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-p43tgfkg.js → location-b97tvfr3.js} +36 -36
- package/dist/chunks/{mime-8ac1j38b.js → location-bk9jcfvp.js} +12 -12
- package/dist/chunks/{mime-8wpn150k.js → location-bn158v02.js} +8 -8
- package/dist/chunks/{mime-p3vh2ta0.js → location-bt20w6w8.js} +21 -21
- package/dist/chunks/{mime-q9s0hka4.js → location-c4yydncf.js} +4 -4
- package/dist/chunks/{mime-k70wg4vh.js → location-ccgajyj8.js} +1 -1
- package/dist/chunks/{mime-ckecvw8r.js → location-ckecvw8r.js} +2 -2
- package/dist/chunks/{mime-b95dy7zp.js → location-cppnyjvh.js} +4 -4
- package/dist/chunks/{mime-887dxsd3.js → location-ct98n74x.js} +26 -26
- package/dist/chunks/{mime-qmqgtz8f.js → location-cwa6csj7.js} +9 -9
- package/dist/chunks/{mime-5yzzbxa7.js → location-czfptnv9.js} +8 -8
- package/dist/chunks/{mime-vh73hc5m.js → location-d47kqq9a.js} +33 -33
- package/dist/chunks/{mime-t2cfyv1x.js → location-d5abmdrp.js} +14 -14
- package/dist/chunks/{mime-3w0fmcng.js → location-dj9sq318.js} +5 -5
- package/dist/chunks/{mime-xaqyyngn.js → location-dq5m8eys.js} +8 -8
- package/dist/chunks/{mime-ws8rf1n9.js → location-dt3dk03m.js} +15 -15
- package/dist/chunks/{mime-tgwh4g45.js → location-dvyep1m7.js} +3 -3
- package/dist/chunks/{mime-cjwramev.js → location-e3x56sfv.js} +8 -8
- package/dist/chunks/{mime-m7x0jkmn.js → location-e4nckkcb.js} +3 -3
- package/dist/chunks/{mime-bpcm8v83.js → location-e5xpd6yj.js} +9 -9
- package/dist/chunks/{mime-wskervgn.js → location-e6v038b2.js} +16 -16
- package/dist/chunks/{mime-95demef3.js → location-e98q8pr4.js} +19 -19
- package/dist/chunks/{mime-2gw68b84.js → location-ed9cmwbs.js} +13 -13
- package/dist/chunks/{mime-ef5x83kb.js → location-ef5x83kb.js} +1 -1
- package/dist/chunks/{mime-dy59ndr5.js → location-ek0wagzw.js} +55 -55
- package/dist/chunks/{mime-ajt4fata.js → location-ekx4vqp6.js} +8 -8
- package/dist/chunks/{mime-eefhezaq.js → location-entyswmt.js} +147 -147
- package/dist/chunks/{mime-erw5rpbs.js → location-erw5rpbs.js} +2 -2
- package/dist/chunks/{mime-g2y161wv.js → location-et0rkxxj.js} +8 -8
- package/dist/chunks/{mime-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-d1r7fz6b.js → location-ex35gdgj.js} +11 -11
- package/dist/chunks/{mime-q2kneea3.js → location-exq908em.js} +15 -15
- package/dist/chunks/{mime-xswfpnnj.js → location-exwd0g1v.js} +6 -6
- package/dist/chunks/{mime-1acjjqhc.js → location-f2n192rq.js} +4 -4
- package/dist/chunks/{mime-c1ckp43n.js → location-fbst5knr.js} +9 -9
- package/dist/chunks/{mime-646tc8py.js → location-fet78f29.js} +6 -6
- package/dist/chunks/{mime-4b4ywecx.js → location-fhqkm81b.js} +13 -13
- package/dist/chunks/{mime-7tycp833.js → location-fsfa9jkm.js} +9 -9
- package/dist/chunks/{mime-170hdxs4.js → location-fxpcrhf7.js} +4 -4
- package/dist/chunks/{mime-qm1jf1xc.js → location-g4k2agg3.js} +25 -25
- package/dist/chunks/{mime-038cbjbn.js → location-g5v68nd6.js} +15 -15
- package/dist/chunks/{mime-7r6qf5r7.js → location-g8fhvq2m.js} +19 -19
- package/dist/chunks/{mime-1ef46ta4.js → location-gd27z9a0.js} +13 -13
- package/dist/chunks/{mime-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-f2dxdeh3.js → location-gn490qph.js} +18 -18
- package/dist/chunks/{mime-2vs2nh1n.js → location-gst7axd9.js} +4 -4
- package/dist/chunks/{mime-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/location-gyce5qg1.js +18 -0
- package/dist/chunks/{mime-9522f170.js → location-gymhtc5c.js} +9 -9
- package/dist/chunks/{mime-fp67s591.js → location-h50xqkc8.js} +20 -20
- package/dist/chunks/{mime-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-d2aac7k2.js → location-hkfg6fzm.js} +5 -5
- package/dist/chunks/{mime-zefpc43y.js → location-hnqy8at0.js} +21 -21
- package/dist/chunks/{mime-z90jk03v.js → location-hqqgzrh2.js} +18 -18
- package/dist/chunks/{mime-f0p6wgfs.js → location-hsk8na3b.js} +17 -17
- package/dist/chunks/{mime-1q9kvn7y.js → location-hsw8f0yd.js} +30 -30
- package/dist/chunks/{mime-44d35g97.js → location-hvga15ca.js} +23 -23
- package/dist/chunks/{mime-eq1pz5kg.js → location-j028xdjb.js} +3 -3
- package/dist/chunks/{mime-hdzt82x2.js → location-j5208yae.js} +4 -4
- package/dist/chunks/{mime-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-55b8r06m.js → location-j68tbxz2.js} +68 -68
- package/dist/chunks/{mime-1a12bnb5.js → location-j7bc97tj.js} +3 -3
- package/dist/chunks/{mime-5cmajn7h.js → location-j87tpa1r.js} +9 -9
- package/dist/chunks/{mime-1bpqmtaz.js → location-j91rrrky.js} +14 -14
- package/dist/chunks/{mime-1p7zzgff.js → location-jax2wzap.js} +26 -26
- package/dist/chunks/{mime-182s9w42.js → location-jfte3fvh.js} +321 -321
- package/dist/chunks/{mime-sk4fpzkz.js → location-jhczez2b.js} +16 -16
- package/dist/chunks/{mime-1fypxrxq.js → location-jvm2qc0w.js} +43 -43
- package/dist/chunks/{mime-xdk9p2qn.js → location-jw80jp6b.js} +21 -21
- package/dist/chunks/{mime-6540dvt1.js → location-jz0a01nb.js} +7 -7
- package/dist/chunks/{mime-ny1bawyf.js → location-jzpaswe0.js} +17 -17
- package/dist/chunks/{mime-4fvze959.js → location-k5f5svak.js} +41 -41
- package/dist/chunks/{mime-mbpz5yq0.js → location-kfkc9c0x.js} +11 -11
- package/dist/chunks/{mime-skqqy3tc.js → location-kh1y2j6w.js} +7 -7
- package/dist/chunks/{mime-05ay0q20.js → location-knmp4th1.js} +34 -34
- package/dist/chunks/{mime-rb662jkw.js → location-knw98kde.js} +12 -12
- package/dist/chunks/{mime-xmj1c5tj.js → location-knwdp628.js} +32 -32
- package/dist/chunks/{mime-6hjx5zpb.js → location-kp8q1t60.js} +9 -9
- package/dist/chunks/{mime-x6yn2080.js → location-kqyggb01.js} +22 -22
- package/dist/chunks/{mime-m3fdjcah.js → location-m3fdjcah.js} +1 -1
- package/dist/chunks/{mime-fcmgfk6f.js → location-m4ekmekt.js} +17 -17
- package/dist/chunks/{mime-wvjy0rkm.js → location-m4xgzfwx.js} +3 -3
- package/dist/chunks/{mime-7wny7pda.js → location-m7p8stnt.js} +20 -20
- package/dist/chunks/{mime-v6v677s0.js → location-m92eggrv.js} +21 -21
- package/dist/chunks/{mime-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-2s2q4h4d.js → location-mfwxmvth.js} +3 -3
- package/dist/chunks/{mime-yew08yk0.js → location-mr00fy69.js} +40 -40
- package/dist/chunks/{mime-k8962brh.js → location-mtq6xxnx.js} +4 -4
- package/dist/chunks/{mime-a1bdy4ck.js → location-n34v5czf.js} +13 -13
- package/dist/chunks/{mime-e8yv0hf3.js → location-n4watymm.js} +9 -9
- package/dist/chunks/{mime-35kmpahp.js → location-n5ege220.js} +4 -4
- package/dist/chunks/location-n5t9rnsg.js +26 -0
- package/dist/chunks/{mime-6j8bnvkm.js → location-ncbbtkwf.js} +2 -2
- package/dist/chunks/{mime-ws8b7tts.js → location-nhacqrek.js} +11 -11
- package/dist/chunks/{mime-qxatxkvx.js → location-nneme6j2.js} +9 -9
- package/dist/chunks/{mime-k4q19yth.js → location-nnfr3pzh.js} +12 -12
- package/dist/chunks/{mime-ec87kc5z.js → location-nw2nz702.js} +4 -4
- package/dist/chunks/{mime-2kdwgsh2.js → location-nyyym469.js} +16 -16
- package/dist/chunks/{mime-k3c624dm.js → location-nzks3jc8.js} +3 -3
- package/dist/chunks/{mime-dp1ryh00.js → location-p01c8egr.js} +16 -16
- package/dist/chunks/{mime-1nzs1dt7.js → location-p0b4ytnr.js} +6 -6
- package/dist/chunks/{mime-dtt66365.js → location-p2wnajn4.js} +16 -16
- package/dist/chunks/{mime-mtxqaypk.js → location-p73bmswt.js} +91 -91
- package/dist/chunks/{mime-5fb55ywp.js → location-patgj9rf.js} +9 -9
- package/dist/chunks/{mime-nd3qgbwe.js → location-pe51w29c.js} +10 -10
- package/dist/chunks/{mime-c8cch34d.js → location-pf25tzn7.js} +10 -10
- package/dist/chunks/{mime-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{mime-82e83hjb.js → location-pnpk2aj1.js} +15 -15
- package/dist/chunks/{mime-jpxt7vtw.js → location-prtkmv61.js} +8 -8
- package/dist/chunks/{mime-2vm2mn6r.js → location-psfkb9dc.js} +34 -34
- package/dist/chunks/{mime-x5xe3x08.js → location-q8wm0n5k.js} +38 -38
- package/dist/chunks/{mime-xxc26qrd.js → location-q9sjfa10.js} +18 -18
- package/dist/chunks/{mime-h877p9eh.js → location-qekrwnkg.js} +8 -8
- package/dist/chunks/{mime-dqm8k5gs.js → location-qfc6rmg7.js} +33 -33
- package/dist/chunks/{mime-a7hf18pz.js → location-qk71rcx1.js} +18 -18
- package/dist/chunks/{mime-57b9ws8p.js → location-qqeeq2t9.js} +4 -4
- package/dist/chunks/{mime-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-zrq8kphx.js → location-qwjmgwmn.js} +8 -8
- package/dist/chunks/{mime-bbjzvta2.js → location-r42cf70c.js} +22 -22
- package/dist/chunks/{mime-ed1snsbs.js → location-r8s9jegn.js} +28 -28
- package/dist/chunks/{mime-rdw6cm16.js → location-rdw6cm16.js} +1 -1
- package/dist/chunks/{mime-2xnfx9dh.js → location-rykbncrs.js} +20 -20
- package/dist/chunks/{mime-7p4zv7at.js → location-s41xhwbz.js} +12 -12
- package/dist/chunks/{mime-t550f9t1.js → location-s8d7rejh.js} +4 -4
- package/dist/chunks/{mime-ezyw3hyt.js → location-sfntmzm9.js} +1 -1
- package/dist/chunks/{mime-qms6mpje.js → location-sjghecny.js} +20 -20
- package/dist/chunks/{mime-yk00c7b3.js → location-sr7rg3r5.js} +6 -6
- package/dist/chunks/{mime-8cawjpeg.js → location-t3fjjczq.js} +85 -85
- package/dist/chunks/{mime-3wrtxrr4.js → location-t4fafjp8.js} +6 -6
- package/dist/chunks/{mime-evbat1kq.js → location-t6s2bers.js} +32 -32
- package/dist/chunks/{mime-k28tmd1k.js → location-t7w8r238.js} +6 -6
- package/dist/chunks/{mime-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-89znhe33.js → location-tcezcvh9.js} +4 -4
- package/dist/chunks/{mime-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{mime-fee1sgdn.js → location-tr6856ra.js} +28 -28
- package/dist/chunks/{mime-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-00kjgt8x.js → location-tyekajp6.js} +37 -37
- package/dist/chunks/{mime-3t50tqxz.js → location-v8d91504.js} +15 -15
- package/dist/chunks/{mime-94qf5r5e.js → location-v9e0t7pe.js} +5 -5
- package/dist/chunks/{mime-xy6tzccz.js → location-veq8ynv9.js} +1 -1
- package/dist/chunks/{mime-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-qs001aqx.js → location-vhvgae7m.js} +11 -11
- package/dist/chunks/{mime-m72tqvbf.js → location-vmfra14x.js} +17 -17
- package/dist/chunks/{mime-vtxr0yy2.js → location-vtxr0yy2.js} +2 -2
- package/dist/chunks/{mime-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-vfwfag5t.js → location-w4605gqt.js} +22 -22
- package/dist/chunks/{mime-xjtpc5ew.js → location-w4z3ay81.js} +24 -24
- package/dist/chunks/{mime-wd3x2cqz.js → location-wd3x2cqz.js} +2 -2
- package/dist/chunks/{mime-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{mime-fs57cj69.js → location-wq6ect1f.js} +10 -10
- package/dist/chunks/{mime-ekv8efyj.js → location-wt2q29jj.js} +11 -11
- package/dist/chunks/{mime-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-1dah21z9.js → location-x3b624sb.js} +27 -27
- package/dist/chunks/{mime-83m6sd17.js → location-xf3q38nz.js} +4 -4
- package/dist/chunks/{mime-ww3mp7jv.js → location-xp52apj9.js} +3 -3
- package/dist/chunks/{mime-1d35eqgr.js → location-xtjem3bf.js} +5 -5
- package/dist/chunks/{mime-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-afed7ext.js → location-y5df08dr.js} +12 -12
- package/dist/chunks/{mime-j36xhj14.js → location-y6an656x.js} +30 -30
- package/dist/chunks/{mime-fpnx24t4.js → location-y6f0p4jw.js} +3 -3
- package/dist/chunks/{mime-y71avatq.js → location-y71avatq.js} +1 -1
- package/dist/chunks/{mime-wbtxmsag.js → location-ya2d1jd1.js} +12 -12
- package/dist/chunks/{mime-g51zwe1j.js → location-yfgdvjxw.js} +25 -25
- package/dist/chunks/{mime-r3q38ah7.js → location-ymyrvvg4.js} +10 -10
- package/dist/chunks/{mime-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-209t9eg4.js → location-yt9ppsef.js} +13 -13
- package/dist/chunks/{mime-x9eqy100.js → location-yxdrajt4.js} +14 -14
- package/dist/chunks/{mime-ey8kmd5x.js → location-yy0073zb.js} +18 -18
- package/dist/chunks/{mime-x5n162sr.js → location-yz9t4t24.js} +13 -13
- package/dist/chunks/{mime-z07pqspn.js → location-z07pqspn.js} +3 -3
- package/dist/chunks/{mime-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-z8c0yagb.js → location-z1hg6mkq.js} +23 -23
- package/dist/chunks/{mime-16q9e8vm.js → location-z38r829x.js} +8 -8
- package/dist/chunks/{mime-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{mime-97sgz6yw.js → location-z6m55pwm.js} +20 -20
- package/dist/chunks/{mime-xgnbgapz.js → location-za0666pm.js} +1 -1
- package/dist/chunks/{mime-fhz5gfgy.js → location-zd30eb5w.js} +5 -5
- package/dist/chunks/{mime-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-5bev5725.js → location-zkqfv669.js} +11 -11
- package/dist/chunks/{mime-bshz36e2.js → location-zn9tdbcz.js} +40 -40
- package/dist/chunks/{mime-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-btb741xx.js → location-ztyqrv9d.js} +4 -4
- package/dist/chunks/{mime-zxq2ej10.js → location-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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +66 -66
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +108 -108
- package/dist/form.js +76 -76
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- 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 +91 -91
- 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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +84 -84
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +98 -98
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +97 -97
- 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 +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +221 -221
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +82 -82
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +11 -11
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +123 -123
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/plugin/provider/gitlab.d.ts +4 -1
- 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 +3 -3
- 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 +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- 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 +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +9 -9
- package/dist/chunks/mime-39jcvt2n.js +0 -61
- package/dist/chunks/mime-bdqechhr.js +0 -26
- package/dist/chunks/mime-hr9dp009.js +0 -4
- package/dist/chunks/mime-v1faaxn9.js +0 -18
- package/dist/chunks/mime-xgn2qchc.js +0 -252
- /package/dist/chunks/{mime-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-24dcb14g.js → location-24dcb14g.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-34c7v6d4.js → location-34c7v6d4.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4vcrnpx2.js → location-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-8wj87zfr.js → location-8wj87zfr.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jjkms2e6.js → location-jjkms2e6.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qg3g05ea.js → location-qg3g05ea.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wc3fc9cn.js → location-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-y8f7s663.js → location-y8f7s663.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,62 +1,62 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./location-q8wm0n5k.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-2a5m3afh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service52
|
|
13
|
+
} from "./location-w4z3ay81.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service42
|
|
16
|
+
} from "./location-jzpaswe0.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service65
|
|
19
|
+
} from "./location-ek0wagzw.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service64,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-q9sjfa10.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./location-5ekn9679.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service55,
|
|
32
32
|
name15
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-dt3dk03m.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError6,
|
|
36
|
+
Service48
|
|
37
|
+
} from "./location-ah5h6pvz.js";
|
|
38
38
|
import {
|
|
39
|
-
|
|
40
|
-
} from "./
|
|
39
|
+
Service19
|
|
40
|
+
} from "./location-p73bmswt.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./location-xf3q38nz.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./location-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input5,
|
|
53
|
+
Plugin: () => Plugin7,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name5
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
|
-
var
|
|
59
|
+
var name5 = "shell";
|
|
60
60
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
61
61
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
62
62
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -70,7 +70,7 @@ var description = (shell) => [
|
|
|
70
70
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
71
71
|
"Background commands return immediately, and you will be notified when they complete."
|
|
72
72
|
].join(" ");
|
|
73
|
-
var
|
|
73
|
+
var Input5 = Schema.Struct({
|
|
74
74
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
75
75
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
76
76
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -115,19 +115,19 @@ Output is streaming to: ${file}`,
|
|
|
115
115
|
truncated: false,
|
|
116
116
|
status: "running"
|
|
117
117
|
});
|
|
118
|
-
var
|
|
118
|
+
var Plugin7 = {
|
|
119
119
|
id: "opencode.tool.shell",
|
|
120
120
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
121
|
-
const sessions = yield*
|
|
122
|
-
const jobs = yield*
|
|
121
|
+
const sessions = yield* Service19;
|
|
122
|
+
const jobs = yield* Service42;
|
|
123
123
|
const scope = yield* Scope.Scope;
|
|
124
|
-
const environment = yield*
|
|
125
|
-
const access = yield*
|
|
126
|
-
const shell = yield*
|
|
127
|
-
const shellSelect = yield*
|
|
124
|
+
const environment = yield* Service52;
|
|
125
|
+
const access = yield* Service64;
|
|
126
|
+
const shell = yield* Service48;
|
|
127
|
+
const shellSelect = yield* Service55;
|
|
128
128
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
129
|
-
const permission = yield*
|
|
130
|
-
const config = yield*
|
|
129
|
+
const permission = yield* Service65;
|
|
130
|
+
const config = yield* Service50;
|
|
131
131
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
132
132
|
const source = {
|
|
133
133
|
type: "tool",
|
|
@@ -146,7 +146,7 @@ var Plugin38 = {
|
|
|
146
146
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
147
147
|
if (parsed.commands.length > 0)
|
|
148
148
|
yield* permission.assert({
|
|
149
|
-
action:
|
|
149
|
+
action: name5,
|
|
150
150
|
resources: parsed.commands.map((command) => command.resource),
|
|
151
151
|
save: parsed.commands.map((command) => command.save),
|
|
152
152
|
sessionID: context.sessionID,
|
|
@@ -183,10 +183,10 @@ var Plugin38 = {
|
|
|
183
183
|
yield* jobs.completeBackground(info.notificationID);
|
|
184
184
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
185
185
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
186
|
-
name:
|
|
186
|
+
name: name5,
|
|
187
187
|
options: { codemode: false },
|
|
188
188
|
description: description(),
|
|
189
|
-
input:
|
|
189
|
+
input: Input5,
|
|
190
190
|
output: Output,
|
|
191
191
|
execute: (input, context) => Effect.gen(function* () {
|
|
192
192
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -205,7 +205,7 @@ var Plugin38 = {
|
|
|
205
205
|
const run = Effect.gen(function* () {
|
|
206
206
|
const result = yield* shell.result(info);
|
|
207
207
|
if (!result.capture)
|
|
208
|
-
return yield* new
|
|
208
|
+
return yield* new NotFoundError6({ id: info.id });
|
|
209
209
|
const output = output2(result);
|
|
210
210
|
return {
|
|
211
211
|
...output,
|
|
@@ -219,7 +219,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
219
219
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
220
220
|
const job = yield* jobs.start({
|
|
221
221
|
id: info.id,
|
|
222
|
-
type:
|
|
222
|
+
type: name5,
|
|
223
223
|
title: info.command,
|
|
224
224
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
225
225
|
recovery: {
|
|
@@ -249,7 +249,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
249
249
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
250
250
|
})).pipe(Effect.orDie);
|
|
251
251
|
const hook = (event) => Effect.gen(function* () {
|
|
252
|
-
const tool = event.tools[
|
|
252
|
+
const tool = event.tools[name5];
|
|
253
253
|
if (!tool)
|
|
254
254
|
return;
|
|
255
255
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -260,4 +260,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
260
260
|
})
|
|
261
261
|
};
|
|
262
262
|
|
|
263
|
-
export {
|
|
263
|
+
export { name5, DEFAULT_TIMEOUT_MS2, Input5, Plugin7, exports_shell };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node83
|
|
7
|
+
} from "./location-nyyym469.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service16,
|
|
10
|
+
node18
|
|
11
|
+
} from "./location-yy0073zb.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./location-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service15,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer8,
|
|
29
|
+
node: () => node17,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service15 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service79;
|
|
63
|
+
const ripgrep = yield* Service16;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service15.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service15, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service79;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service15.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service15.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer8 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service79;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service15, layer: layer8(options), deps: [node83, node18] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node17 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service15, ripgrepLayer2, fffLayer2, layer8, configured2, node17, exports_search };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-m4xgzfwx.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service83,
|
|
8
8
|
node87
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-cppnyjvh.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-wt2q29jj.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node70
|
|
22
|
+
} from "./location-jhczez2b.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service22,
|
|
25
|
+
node25
|
|
26
|
+
} from "./location-t3fjjczq.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service9,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
|
-
layer: () =>
|
|
42
|
-
node: () =>
|
|
41
|
+
layer: () => layer7,
|
|
42
|
+
node: () => node11
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service9 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var
|
|
61
|
+
var layer7 = Layer.effect(Service9, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service83;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service22;
|
|
65
|
+
const store = yield* Service66;
|
|
66
66
|
const db = (yield* Service84).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service9.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
152
|
-
layer:
|
|
153
|
-
deps: [node87, llmClient2,
|
|
150
|
+
var node11 = makeLocationNode({
|
|
151
|
+
service: Service9,
|
|
152
|
+
layer: layer7,
|
|
153
|
+
deps: [node87, llmClient2, node25, node70, node88]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service9, isUntitled2, layer7, node11, exports_title };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-yfgdvjxw.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service50
|
|
7
|
+
} from "./location-q8wm0n5k.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-exwd0g1v.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make6(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service50;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -151,7 +151,7 @@ function make5(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make6();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make6, OllamaPlugin2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-2415p9az.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-cppnyjvh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./location-tr6856ra.js";
|
|
11
11
|
import {
|
|
12
12
|
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-r42cf70c.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
19
|
ID13
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-jax2wzap.js";
|
|
21
21
|
import {
|
|
22
22
|
iife2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-1kg9ymc8.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-exwd0g1v.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/azure.ts
|
|
29
29
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -161,7 +161,7 @@ var AzurePlugin2 = define({
|
|
|
161
161
|
}
|
|
162
162
|
});
|
|
163
163
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
164
|
-
yield* bus.subscribe(
|
|
164
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
165
165
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
166
166
|
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
167
167
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
@@ -1,72 +1,72 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./location-w4z3ay81.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service13,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-0be1sdj9.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service18
|
|
11
|
+
} from "./location-g5v68nd6.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./location-ek0wagzw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service64
|
|
17
|
+
} from "./location-q9sjfa10.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
29
|
-
Output: () =>
|
|
30
|
-
Plugin: () =>
|
|
28
|
+
Input: () => Input10,
|
|
29
|
+
Output: () => Output6,
|
|
30
|
+
Plugin: () => Plugin12,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name10,
|
|
33
|
+
toModelContent: () => toModelContent5
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name10 = "write";
|
|
39
|
+
var Input10 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
43
43
|
content: Schema.String.annotate({ description: "Content to write to the file" })
|
|
44
44
|
});
|
|
45
|
-
var
|
|
45
|
+
var Output6 = Schema.Struct({
|
|
46
46
|
operation: Schema.Literal("write"),
|
|
47
47
|
target: Schema.String,
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent5 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin12 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service64;
|
|
56
|
+
const fileMutation = yield* Service13;
|
|
57
|
+
const environment = yield* Service52;
|
|
58
|
+
const formatter = yield* Service18;
|
|
59
|
+
const permission = yield* Service65;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name10,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
69
|
-
output:
|
|
68
|
+
input: Input10,
|
|
69
|
+
output: Output6,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
72
72
|
type: "tool",
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent5(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name10, Input10, Output6, toModelContent5, Plugin12, exports_write };
|