@opencode/core 0.0.0-beta-19283 → 0.0.0-beta-19288
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-mutation-qwqr3n23.js → location-02hgpx06.js} +7 -7
- package/dist/chunks/{file-mutation-mbfhs0cg.js → location-07cpqq5c.js} +32 -32
- package/dist/chunks/{file-mutation-bb3j3psa.js → location-0bzsvv4f.js} +8 -8
- package/dist/chunks/{file-mutation-kf6yd70a.js → location-0dh601sh.js} +9 -9
- package/dist/chunks/location-0mesazry.js +4 -0
- package/dist/chunks/{file-mutation-3ea0hr43.js → location-0njzyrny.js} +28 -28
- package/dist/chunks/{file-mutation-0paq2nw3.js → location-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-mutation-0q0f95c6.js → location-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-mutation-3x45ad37.js → location-0yq2vxwx.js} +23 -23
- package/dist/chunks/{file-mutation-e3qr8qh7.js → location-0zzhyfap.js} +11 -11
- package/dist/chunks/{file-mutation-1dazxqgg.js → location-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-mutation-0hpxrkyb.js → location-1dfhrqqs.js} +5 -5
- package/dist/chunks/{file-mutation-sd8x8c65.js → location-1hfsjvjf.js} +28 -28
- package/dist/chunks/{file-mutation-g6ww450v.js → location-1kqd8z3g.js} +4 -4
- package/dist/chunks/location-1x11rq2a.js +18 -0
- package/dist/chunks/{file-mutation-g2emr326.js → location-1xnwpsdb.js} +27 -27
- package/dist/chunks/{file-mutation-21r38tys.js → location-21r38tys.js} +1 -1
- package/dist/chunks/{file-mutation-c5c317t5.js → location-22zgx542.js} +8 -8
- package/dist/chunks/{file-mutation-2402vzrj.js → location-2402vzrj.js} +1 -1
- package/dist/chunks/{file-mutation-gm1k8myf.js → location-24xcqkxa.js} +10 -10
- package/dist/chunks/{file-mutation-m0jtk5b3.js → location-2699pam8.js} +30 -30
- package/dist/chunks/{file-mutation-4fjbcyqb.js → location-27xkhkzw.js} +24 -24
- package/dist/chunks/{file-mutation-2a5m3afh.js → location-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-mutation-xryrtgfh.js → location-2dqf8fez.js} +4 -4
- package/dist/chunks/{file-mutation-zedst77g.js → location-2erkhkk3.js} +33 -33
- package/dist/chunks/{file-mutation-bwshncvd.js → location-2f04pwep.js} +3 -3
- package/dist/chunks/{file-mutation-ftnkmamc.js → location-2n69zwpj.js} +20 -20
- package/dist/chunks/{file-mutation-2vcmvr51.js → location-2ydbzgba.js} +4 -4
- package/dist/chunks/{file-mutation-8m0rbw91.js → location-3280sxnm.js} +6 -6
- package/dist/chunks/{file-mutation-1ygqh575.js → location-33w4ejhs.js} +6 -6
- package/dist/chunks/{file-mutation-82mcaj86.js → location-34njjamc.js} +10 -10
- package/dist/chunks/{file-mutation-gyt4xc7p.js → location-37hegrs4.js} +13 -13
- package/dist/chunks/{file-mutation-5qczcnpy.js → location-39gsfx95.js} +24 -24
- package/dist/chunks/{file-mutation-2wyjv582.js → location-3cxp5vcp.js} +4 -4
- package/dist/chunks/{file-mutation-3fc6dm20.js → location-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-mutation-3hepkmqq.js → location-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-mutation-vabb23s0.js → location-3rran09x.js} +1 -1
- package/dist/chunks/{file-mutation-fq1h1v14.js → location-3rx2nwvc.js} +3 -3
- package/dist/chunks/{file-mutation-3smtnn6g.js → location-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-mutation-3tvqynh2.js → location-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-mutation-tjxznqzk.js → location-3v0ddjaj.js} +11 -11
- package/dist/chunks/{file-mutation-z7k8rsga.js → location-3xt2dn0n.js} +13 -13
- package/dist/chunks/{file-mutation-zqgpk263.js → location-41jkd1br.js} +25 -25
- package/dist/chunks/{file-mutation-p4rfye9r.js → location-4ctep4ed.js} +16 -16
- package/dist/chunks/{file-mutation-vzm76b3t.js → location-4m2pmvxz.js} +6 -6
- package/dist/chunks/{file-mutation-9jwfms7w.js → location-4n03wa3j.js} +31 -31
- package/dist/chunks/{file-mutation-ptrg1k2p.js → location-4ycpd48q.js} +11 -11
- package/dist/chunks/{file-mutation-q1a91n7k.js → location-51e3a5p7.js} +2 -2
- package/dist/chunks/{file-mutation-8s1fj8xg.js → location-5892jdtn.js} +8 -8
- package/dist/chunks/{file-mutation-8x19mfpd.js → location-59m3ejf3.js} +13 -13
- package/dist/chunks/{file-mutation-5daktx2q.js → location-5daktx2q.js} +1 -1
- package/dist/chunks/{file-mutation-ka2e7rey.js → location-5dgmpcyt.js} +22 -22
- package/dist/chunks/{file-mutation-rsqw0z3c.js → location-5h99c1kf.js} +6 -6
- package/dist/chunks/{file-mutation-2336b01z.js → location-5kw0n2ma.js} +5 -5
- package/dist/chunks/{file-mutation-5t3nmthw.js → location-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-mutation-actbqwdw.js → location-61f9xf4r.js} +5 -5
- package/dist/chunks/{file-mutation-669tq793.js → location-669tq793.js} +1 -1
- package/dist/chunks/{file-mutation-b6tpec7v.js → location-66sq9ze3.js} +27 -27
- package/dist/chunks/{file-mutation-p5c89f54.js → location-6cd6tdvt.js} +6 -6
- package/dist/chunks/{file-mutation-93qrahcj.js → location-6h508dp1.js} +14 -14
- package/dist/chunks/{file-mutation-6msgmcgs.js → location-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-mutation-45hw2ke2.js → location-6qr3rp4k.js} +8 -8
- package/dist/chunks/{file-mutation-mv0zd19e.js → location-6wfj5a9a.js} +6 -6
- package/dist/chunks/{file-mutation-es821efa.js → location-6xkqp8dp.js} +8 -8
- package/dist/chunks/{file-mutation-beahn02f.js → location-6y8723ne.js} +29 -29
- package/dist/chunks/{file-mutation-bcvv562x.js → location-6zyexpsp.js} +15 -15
- package/dist/chunks/{file-mutation-71q4at8m.js → location-71q4at8m.js} +1 -1
- package/dist/chunks/{file-mutation-67ta7bkj.js → location-77vyn52g.js} +33 -33
- package/dist/chunks/{file-mutation-7bmhse3q.js → location-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-mutation-cd746zc3.js → location-7ny1t5fr.js} +27 -27
- package/dist/chunks/{file-mutation-84tssp1s.js → location-7ny3kv6n.js} +8 -8
- package/dist/chunks/{file-mutation-m3w486dh.js → location-7w1wksne.js} +4 -4
- package/dist/chunks/{file-mutation-8d8kddd4.js → location-7wpt1821.js} +19 -19
- package/dist/chunks/{file-mutation-1vnghje2.js → location-7x5129vx.js} +12 -12
- package/dist/chunks/{file-mutation-2s407pyf.js → location-7zfdt07m.js} +10 -10
- package/dist/chunks/{file-mutation-2y04n8jz.js → location-7zmb2mwr.js} +5 -5
- package/dist/chunks/{file-mutation-bj38exev.js → location-81c9b8hz.js} +4 -4
- package/dist/chunks/{file-mutation-81swgkk7.js → location-81swgkk7.js} +2 -2
- package/dist/chunks/{file-mutation-8d7r5vzw.js → location-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-mutation-m1yhe7vf.js → location-8dr2m966.js} +9 -9
- package/dist/chunks/{file-mutation-8p4f9s12.js → location-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-mutation-8rndkrc9.js → location-8pa9qqqg.js} +22 -22
- package/dist/chunks/{file-mutation-ryfyd5fe.js → location-8t891vs4.js} +14 -14
- package/dist/chunks/{file-mutation-38q3t4w4.js → location-95c54xjs.js} +41 -41
- package/dist/chunks/{file-mutation-5qzxerzy.js → location-9enfn6ca.js} +65 -65
- package/dist/chunks/{file-mutation-6x0tkb6y.js → location-9g2mmtg8.js} +24 -24
- package/dist/chunks/{file-mutation-3trbxeqx.js → location-9h3amn4q.js} +1 -1
- package/dist/chunks/{file-mutation-994yq7gs.js → location-9jbrb7s7.js} +17 -17
- package/dist/chunks/{file-mutation-3hf7z3yq.js → location-9k0trt10.js} +11 -11
- package/dist/chunks/{file-mutation-j7rdq0sg.js → location-9k1y1b4w.js} +6 -6
- package/dist/chunks/{file-mutation-he7r1j7z.js → location-9tk4atd8.js} +18 -18
- package/dist/chunks/{file-mutation-t171jc14.js → location-9zb490gy.js} +10 -10
- package/dist/chunks/{file-mutation-a1bz86dw.js → location-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-mutation-dwmg9hrb.js → location-a1qbdnb3.js} +84 -84
- package/dist/chunks/{file-mutation-6j4ag5pz.js → location-a1z1dycg.js} +37 -37
- package/dist/chunks/{file-mutation-aaet6srn.js → location-aaet6srn.js} +2 -2
- package/dist/chunks/{file-mutation-pqhj6ddm.js → location-ac0cyhm9.js} +43 -43
- package/dist/chunks/{file-mutation-ca7w653e.js → location-afdssyjb.js} +4 -4
- package/dist/chunks/{file-mutation-m5shh40j.js → location-akj0j9h5.js} +2 -2
- package/dist/chunks/{file-mutation-hnz0zg2g.js → location-ap0kd4ae.js} +18 -18
- package/dist/chunks/{file-mutation-y6xnddjk.js → location-apys6pqf.js} +4 -4
- package/dist/chunks/{file-mutation-drfdf3ak.js → location-astwgj0c.js} +14 -14
- package/dist/chunks/{file-mutation-3sxqrh4h.js → location-at3ax2rg.js} +21 -21
- package/dist/chunks/{file-mutation-6hb1nw02.js → location-atdh1fr1.js} +30 -30
- package/dist/chunks/{file-mutation-rt3pmekg.js → location-av62z334.js} +35 -35
- package/dist/chunks/{file-mutation-b6gygkdw.js → location-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-mutation-prg0vcqa.js → location-barpv3dv.js} +33 -33
- package/dist/chunks/{file-mutation-8vkd33e4.js → location-bbd53drz.js} +169 -169
- package/dist/chunks/{file-mutation-bmgez2f1.js → location-bbwyhmbr.js} +15 -15
- package/dist/chunks/{file-mutation-c4xf5pcw.js → location-bgeh6wn9.js} +17 -17
- package/dist/chunks/{file-mutation-vkxpz7g2.js → location-bha4atvq.js} +4 -4
- package/dist/chunks/{file-mutation-vhqk6wt7.js → location-bjyyddbn.js} +11 -11
- package/dist/chunks/{file-mutation-09bre2bs.js → location-bw60cda1.js} +35 -35
- package/dist/chunks/location-cbzcwh25.js +22 -0
- package/dist/chunks/{file-mutation-h2gyv3sg.js → location-cek2cznd.js} +1 -1
- package/dist/chunks/{file-mutation-cfpkc3c9.js → location-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-mutation-jbpw8vb5.js → location-cy6spc12.js} +7 -7
- package/dist/chunks/{file-mutation-9jq9dwvq.js → location-d2412gps.js} +18 -18
- package/dist/chunks/{file-mutation-88adr1q9.js → location-d36y1n73.js} +12 -12
- package/dist/chunks/{file-mutation-9phvn7ns.js → location-d5hy5d1s.js} +3 -3
- package/dist/chunks/{file-mutation-d19y6w96.js → location-d6x20h48.js} +42 -42
- package/dist/chunks/{file-mutation-2s50d4an.js → location-dc76j9wz.js} +8 -8
- package/dist/chunks/{file-mutation-py90b8jm.js → location-depwzj9d.js} +9 -9
- package/dist/chunks/{file-mutation-06e9b0r5.js → location-dj7v5w9k.js} +4 -4
- package/dist/chunks/{file-mutation-186z8ksc.js → location-djxjwwc9.js} +12 -12
- package/dist/chunks/{file-mutation-e3pe5yny.js → location-dsd22mfz.js} +3 -3
- package/dist/chunks/{file-mutation-n7gchs3r.js → location-dt587sme.js} +34 -34
- package/dist/chunks/{file-mutation-nsfhb685.js → location-dtyxkw1z.js} +29 -29
- package/dist/chunks/{file-mutation-ym15bmrz.js → location-dwvzh0g2.js} +9 -9
- package/dist/chunks/{file-mutation-whqd4cg2.js → location-e328z05c.js} +18 -18
- package/dist/chunks/{file-mutation-nchh3q1h.js → location-e46r4s3c.js} +17 -17
- package/dist/chunks/{file-mutation-0gdmqesm.js → location-eaj1djv9.js} +8 -8
- package/dist/chunks/{file-mutation-gb3cfaes.js → location-eb6ejpsy.js} +18 -18
- package/dist/chunks/{file-mutation-0kmr7qxb.js → location-ejcg2d9c.js} +28 -28
- package/dist/chunks/{file-mutation-80738sq9.js → location-essgt512.js} +90 -90
- package/dist/chunks/{file-mutation-etq0c3wd.js → location-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-mutation-8hzg5heq.js → location-f3wm46p4.js} +10 -10
- package/dist/chunks/{file-mutation-f828m53h.js → location-f828m53h.js} +2 -2
- package/dist/chunks/{file-mutation-rs226bz6.js → location-fmxbrafm.js} +5 -5
- package/dist/chunks/{file-mutation-1zgrek1b.js → location-fvz0rdtn.js} +18 -18
- package/dist/chunks/{file-mutation-jps1ny4p.js → location-fw0f0qsw.js} +46 -46
- package/dist/chunks/{file-mutation-fxbjtjnd.js → location-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-mutation-dakvsad3.js → location-fzhxzx5q.js} +26 -26
- package/dist/chunks/{file-mutation-t51qk8jz.js → location-g190xswt.js} +21 -21
- package/dist/chunks/{file-mutation-hh8z4pbg.js → location-g72gjvtz.js} +8 -8
- package/dist/chunks/{file-mutation-806j49yq.js → location-g8d3gcyj.js} +7 -7
- package/dist/chunks/{file-mutation-gd4qta3r.js → location-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-mutation-zhsgacjb.js → location-gj6r9tb3.js} +8 -8
- package/dist/chunks/{file-mutation-m9q90vtq.js → location-grrcjh3r.js} +9 -9
- package/dist/chunks/{file-mutation-fhs97t90.js → location-gsx0ryk4.js} +5 -5
- package/dist/chunks/{file-mutation-gv6a8nnw.js → location-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-mutation-tz7np2q7.js → location-gwzbkwjt.js} +17 -17
- package/dist/chunks/{file-mutation-d8dqhcx6.js → location-gxbbas38.js} +20 -20
- package/dist/chunks/{file-mutation-rt6kd21k.js → location-gxq3v17r.js} +15 -15
- package/dist/chunks/{file-mutation-49w8mb30.js → location-gxr1dr9e.js} +11 -11
- package/dist/chunks/{file-mutation-h03wrkyp.js → location-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-mutation-h6vf3j39.js → location-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-mutation-fa129hwe.js → location-h9kgsp7e.js} +32 -32
- package/dist/chunks/{file-mutation-kj8eeftq.js → location-hapt17z5.js} +27 -27
- package/dist/chunks/{file-mutation-pq4st5kv.js → location-hnbxh1ec.js} +2 -2
- package/dist/chunks/{file-mutation-j56e64zr.js → location-j56e64zr.js} +1 -1
- package/dist/chunks/{file-mutation-y2vrj84a.js → location-jefma2gq.js} +10 -10
- package/dist/chunks/{file-mutation-e1r2x6f9.js → location-jjmq01nn.js} +36 -36
- package/dist/chunks/{file-mutation-tw7brqvw.js → location-jp8bt662.js} +23 -23
- package/dist/chunks/{file-mutation-zt5c7qyf.js → location-jwye7syw.js} +9 -9
- package/dist/chunks/{file-mutation-3xq6eagg.js → location-jzx475sk.js} +54 -54
- package/dist/chunks/{file-mutation-qz2vwnt8.js → location-k1e9d5er.js} +13 -13
- package/dist/chunks/{file-mutation-s2dewncd.js → location-k74qewf5.js} +16 -16
- package/dist/chunks/{file-mutation-w21xwbmq.js → location-k7d0894y.js} +9 -9
- package/dist/chunks/{file-mutation-kg06axw8.js → location-kg06axw8.js} +1 -1
- package/dist/chunks/{file-mutation-jw70sp16.js → location-kkcepbrv.js} +4 -4
- package/dist/chunks/{file-mutation-t4pq13ck.js → location-kkedg04s.js} +11 -11
- package/dist/chunks/{file-mutation-b28dsp24.js → location-kqrx6mz9.js} +35 -35
- package/dist/chunks/{file-mutation-ks65mm2v.js → location-m3g1yjqx.js} +21 -21
- package/dist/chunks/{file-mutation-9k2v62xn.js → location-m43qeqsy.js} +1 -1
- package/dist/chunks/{file-mutation-m9w0rfyh.js → location-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-mutation-n0hfs6vw.js → location-mgcrt4av.js} +23 -23
- package/dist/chunks/{file-mutation-1bbkgx8g.js → location-mhkvc446.js} +3 -3
- package/dist/chunks/{file-mutation-mkcjrzeh.js → location-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-mutation-ze2evx92.js → location-mmx9f08p.js} +46 -46
- package/dist/chunks/{file-mutation-rvv37x7m.js → location-n2qrf0kt.js} +51 -51
- package/dist/chunks/{file-mutation-hyt7xt3b.js → location-nc09bz1g.js} +32 -32
- package/dist/chunks/{file-mutation-vypqtakx.js → location-nc3fjawf.js} +1 -1
- package/dist/chunks/{file-mutation-hjt4xg1x.js → location-nhy5jxhy.js} +4 -4
- package/dist/chunks/{file-mutation-wdnn29qe.js → location-nmxf6tf3.js} +21 -21
- package/dist/chunks/{file-mutation-ttr98dqn.js → location-nrg6p0d7.js} +22 -22
- package/dist/chunks/{file-mutation-y9dm3m96.js → location-nty3ym86.js} +5 -5
- package/dist/chunks/{file-mutation-mgaz471z.js → location-nvpsz6mb.js} +1 -1
- package/dist/chunks/{file-mutation-55fsb9kg.js → location-nxts4mre.js} +24 -24
- package/dist/chunks/location-nzwad44m.js +462 -0
- package/dist/chunks/{file-mutation-3tkzazqm.js → location-p2fyd12k.js} +25 -25
- package/dist/chunks/{file-mutation-3cz8rj72.js → location-p44d8wdy.js} +5 -5
- package/dist/chunks/{file-mutation-c95cvesc.js → location-p72z5xx6.js} +2 -2
- package/dist/chunks/{file-mutation-kx5d5bhr.js → location-p7tj0pd3.js} +15 -15
- package/dist/chunks/{file-mutation-q7eqe2cf.js → location-p8vbaxe4.js} +30 -30
- package/dist/chunks/{file-mutation-j935v87r.js → location-paphc93g.js} +2 -2
- package/dist/chunks/{file-mutation-rcwb6wwf.js → location-pg1rtztb.js} +53 -53
- package/dist/chunks/{file-mutation-j2kgjx3g.js → location-ph9kp892.js} +5 -5
- package/dist/chunks/{file-mutation-pjvnvgmy.js → location-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-mutation-pknna89w.js → location-pknna89w.js} +1 -1
- package/dist/chunks/{file-mutation-bve5mb3t.js → location-q221t5h0.js} +9 -9
- package/dist/chunks/{file-mutation-5xtgfte3.js → location-q26tgv94.js} +8 -8
- package/dist/chunks/{file-mutation-vwntjgrk.js → location-q3m96704.js} +30 -30
- package/dist/chunks/{file-mutation-hxmjvm96.js → location-q636n16a.js} +46 -46
- package/dist/chunks/{file-mutation-pqeratpj.js → location-qa467n4w.js} +11 -11
- package/dist/chunks/{file-mutation-h1fkweye.js → location-qfrw2mns.js} +17 -17
- package/dist/chunks/{file-mutation-fcrkznn8.js → location-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-mutation-h9sh19qw.js → location-qgzeej5c.js} +5 -5
- package/dist/chunks/{file-mutation-qsdy395h.js → location-qsdy395h.js} +1 -1
- package/dist/chunks/{file-mutation-y62rmnsx.js → location-qy2vc8de.js} +11 -11
- package/dist/chunks/{file-mutation-5f3v4jqn.js → location-r5paa9gw.js} +13 -13
- package/dist/chunks/{file-mutation-3qm34taf.js → location-r6yj4sg3.js} +9 -9
- package/dist/chunks/{file-mutation-0kmn1fe5.js → location-r8a1vay2.js} +9 -9
- package/dist/chunks/{file-mutation-yp2x3t23.js → location-r8xr0va3.js} +4 -4
- package/dist/chunks/{file-mutation-kjcr15p7.js → location-rfnzy394.js} +1 -1
- package/dist/chunks/{file-mutation-9ctpkay6.js → location-rqay9ghw.js} +24 -24
- package/dist/chunks/{file-mutation-0atcf9qv.js → location-s7pvzq3g.js} +23 -23
- package/dist/chunks/{file-mutation-nw1kez4j.js → location-sm589ezq.js} +33 -33
- package/dist/chunks/{file-mutation-ve4pfa0n.js → location-sx1n432n.js} +4 -4
- package/dist/chunks/{file-mutation-2qp6y8xf.js → location-t0fxg8b9.js} +5 -5
- package/dist/chunks/{file-mutation-a5gt7g2r.js → location-t0x5rdq8.js} +9 -9
- package/dist/chunks/{file-mutation-n763yaxc.js → location-t21qt4wp.js} +8 -8
- package/dist/chunks/{file-mutation-c4wn80s8.js → location-t2y4ag3j.js} +15 -15
- package/dist/chunks/{file-mutation-0vyd0s5c.js → location-t45krj2e.js} +9 -9
- package/dist/chunks/{file-mutation-dbkk30e5.js → location-t4a9fvmm.js} +27 -27
- package/dist/chunks/{file-mutation-pgg8zxmg.js → location-t6dzybgg.js} +16 -16
- package/dist/chunks/{file-mutation-jxhw35st.js → location-t97t2t7r.js} +13 -13
- package/dist/chunks/{file-mutation-tazgh4e4.js → location-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-mutation-tcezcvh9.js → location-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-mutation-s9abe6v6.js → location-td52w80p.js} +20 -20
- package/dist/chunks/{file-mutation-tdstcens.js → location-tdstcens.js} +1 -1
- package/dist/chunks/{file-mutation-s5zy3det.js → location-th0feps4.js} +11 -11
- package/dist/chunks/{file-mutation-tvtrv512.js → location-tvtrv512.js} +1 -1
- package/dist/chunks/{file-mutation-hhc8hmsq.js → location-tz2p0jnc.js} +59 -59
- package/dist/chunks/{file-mutation-f3bk3ss6.js → location-v3xga481.js} +9 -9
- package/dist/chunks/{file-mutation-3a14va3x.js → location-v4p0vwen.js} +11 -11
- package/dist/chunks/{file-mutation-40snepyt.js → location-v74jsawt.js} +29 -29
- package/dist/chunks/{file-mutation-8trxq8gn.js → location-v75cpdd6.js} +15 -15
- package/dist/chunks/{file-mutation-veqvce7d.js → location-veqvce7d.js} +1 -1
- package/dist/chunks/{file-mutation-h0gknw34.js → location-vjv4gnc9.js} +30 -30
- package/dist/chunks/{file-mutation-1v9ym5jr.js → location-vma08mpn.js} +20 -20
- package/dist/chunks/{file-mutation-0p6seckt.js → location-vqkn863g.js} +26 -26
- package/dist/chunks/{file-mutation-t599r0en.js → location-vt07bx5r.js} +11 -11
- package/dist/chunks/{file-mutation-1q5awywt.js → location-vxp3kcg3.js} +5 -5
- package/dist/chunks/{file-mutation-vzcthcp8.js → location-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-mutation-6p3xbzsx.js → location-w1k39n5e.js} +4 -4
- package/dist/chunks/{file-mutation-w3wsvvr9.js → location-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-mutation-1tq060df.js → location-w4arg62q.js} +6 -6
- package/dist/chunks/{file-mutation-nvbnysz2.js → location-w54brc8f.js} +9 -9
- package/dist/chunks/location-w6mxp700.js +247 -0
- package/dist/chunks/{file-mutation-wd87259q.js → location-wd87259q.js} +1 -1
- package/dist/chunks/{file-mutation-esdnemd6.js → location-wyam1r5m.js} +1 -1
- package/dist/chunks/{file-mutation-f58s2wyk.js → location-x1aqk77e.js} +11 -11
- package/dist/chunks/{file-mutation-x1ezjp6w.js → location-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-mutation-x43y2vfs.js → location-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-mutation-pvfgf3c8.js → location-x7728wc6.js} +27 -27
- package/dist/chunks/{file-mutation-4k8h272a.js → location-x8pfpgt4.js} +9 -9
- package/dist/chunks/{file-mutation-c1k9yc14.js → location-xgcvvaqd.js} +16 -16
- package/dist/chunks/{file-mutation-t8ksxzma.js → location-xhg80140.js} +25 -25
- package/dist/chunks/{file-mutation-rk2ahbr8.js → location-xpbp2ggf.js} +22 -22
- package/dist/chunks/{file-mutation-vxg24fff.js → location-xtbntpkm.js} +7 -7
- package/dist/chunks/{file-mutation-mrw4weg4.js → location-xvs1sa11.js} +5 -5
- package/dist/chunks/{file-mutation-shh6fz4q.js → location-xwwz9aqf.js} +4 -4
- package/dist/chunks/{file-mutation-c48kwzew.js → location-xywxz97c.js} +6 -6
- package/dist/chunks/{file-mutation-y1fvbwt7.js → location-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-mutation-r365bz61.js → location-y6498y89.js} +20 -20
- package/dist/chunks/{file-mutation-jwcy2c2z.js → location-y71avatq.js} +4 -4
- package/dist/chunks/{file-mutation-feeq33m8.js → location-ydpmm19b.js} +20 -20
- package/dist/chunks/{file-mutation-rqg3gf8y.js → location-yg5x8fk4.js} +16 -16
- package/dist/chunks/{file-mutation-510m7gjw.js → location-yjptyezs.js} +5 -5
- package/dist/chunks/{file-mutation-yrhqyw5v.js → location-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-mutation-s4enseaf.js → location-yrznvahk.js} +2 -2
- package/dist/chunks/{file-mutation-6hvfbh91.js → location-yzcb4rs3.js} +12 -12
- package/dist/chunks/{file-mutation-z0bkrqjs.js → location-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-mutation-29x78va6.js → location-z63w68vq.js} +6 -6
- package/dist/chunks/{file-mutation-gnbcfc85.js → location-zb0kem16.js} +36 -36
- package/dist/chunks/{file-mutation-zeh9ct20.js → location-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-mutation-c1nn02ak.js → location-zkt8qzze.js} +39 -39
- package/dist/chunks/{file-mutation-zr2ceqn5.js → location-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-mutation-5vn17cm2.js → location-ztj8pse5.js} +16 -16
- package/dist/chunks/{file-mutation-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 +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +96 -96
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +93 -93
- package/dist/git.js +7 -7
- 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 +7 -7
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +338 -338
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +123 -123
- package/dist/session/context.js +147 -147
- 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 +219 -219
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +124 -124
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +121 -121
- 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 +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +88 -88
- 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 +119 -119
- package/dist/tool/plugin/edit.js +113 -113
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- 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 +4 -4
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +77 -77
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/file-mutation-53555yf5.js +0 -247
- package/dist/chunks/file-mutation-6kdq0pjd.js +0 -4
- package/dist/chunks/file-mutation-6ydb37tg.js +0 -462
- package/dist/chunks/file-mutation-j71snt67.js +0 -22
- package/dist/chunks/file-mutation-qdyb70sk.js +0 -18
- /package/dist/chunks/{file-mutation-0qkdqm5v.js → location-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-mutation-0zkw76rk.js → location-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-mutation-17cy0kzp.js → location-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-mutation-1cnp2v09.js → location-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-mutation-1kg9ymc8.js → location-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-mutation-2710q6r3.js → location-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-mutation-2axfhc9x.js → location-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-mutation-2c3vjs8z.js → location-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-mutation-359p4xyc.js → location-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-mutation-3asan66x.js → location-3asan66x.js} +0 -0
- /package/dist/chunks/{file-mutation-3v8g72cx.js → location-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-mutation-3w5fmr99.js → location-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-mutation-3wcehsnq.js → location-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-mutation-43n2bw4t.js → location-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-mutation-4knz6hnm.js → location-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-mutation-4y7fprxs.js → location-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-mutation-53557ph1.js → location-53557ph1.js} +0 -0
- /package/dist/chunks/{file-mutation-550bvhaj.js → location-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-mutation-6prwharc.js → location-6prwharc.js} +0 -0
- /package/dist/chunks/{file-mutation-7akdwqpd.js → location-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-mutation-7m9af43g.js → location-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-mutation-822emrt2.js → location-822emrt2.js} +0 -0
- /package/dist/chunks/{file-mutation-88xbtdfr.js → location-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-mutation-8n3pysct.js → location-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-mutation-922hggd3.js → location-922hggd3.js} +0 -0
- /package/dist/chunks/{file-mutation-9a4afbnw.js → location-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-mutation-9rqn6x4v.js → location-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-mutation-a1tpkmh4.js → location-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-mutation-a6k6eb26.js → location-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-mutation-af5trqkr.js → location-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-mutation-afrmfg78.js → location-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-mutation-aqzs7mqg.js → location-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-mutation-atq7p7m5.js → location-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-mutation-bkyjaxrp.js → location-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-mutation-bmr6ed5q.js → location-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-mutation-cf4snx6d.js → location-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-mutation-cvy3z8tj.js → location-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-mutation-d9fn303g.js → location-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-mutation-d9jj8t3e.js → location-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-mutation-dajrwvna.js → location-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-mutation-dap0rakb.js → location-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-mutation-df08tz66.js → location-df08tz66.js} +0 -0
- /package/dist/chunks/{file-mutation-dy18nga0.js → location-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-mutation-e5kj55wp.js → location-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-mutation-e73j6tqm.js → location-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-mutation-ec1grn59.js → location-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-mutation-eh3zwz77.js → location-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-mutation-emrn6kk6.js → location-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-mutation-f0mxakyp.js → location-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-mutation-f6n9ztr4.js → location-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-mutation-faypxj3z.js → location-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-mutation-fd410y7t.js → location-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-mutation-fxgpk5d8.js → location-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-mutation-g4wezp1m.js → location-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-mutation-g86h250q.js → location-g86h250q.js} +0 -0
- /package/dist/chunks/{file-mutation-gebd4c9n.js → location-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-mutation-gftt206x.js → location-gftt206x.js} +0 -0
- /package/dist/chunks/{file-mutation-hjbc5kem.js → location-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-mutation-hk9envan.js → location-hk9envan.js} +0 -0
- /package/dist/chunks/{file-mutation-hrnqkpcd.js → location-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-mutation-j2ntwpah.js → location-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-mutation-j5zkgpj8.js → location-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-mutation-jr7sbwjy.js → location-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-mutation-jwfs4k6c.js → location-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-mutation-jzg6c2d5.js → location-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-mutation-mp448xyj.js → location-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-mutation-msx8hqn2.js → location-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-mutation-n05xt0ee.js → location-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-mutation-n3j8tn72.js → location-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-mutation-njntx4h6.js → location-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-mutation-q3sfg36h.js → location-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-mutation-q74kybfr.js → location-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-mutation-qaymkmh1.js → location-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-mutation-qb87gjwd.js → location-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-mutation-qfa1cgps.js → location-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-mutation-qrg20bc0.js → location-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-mutation-rcb2kzg1.js → location-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-mutation-sdp7kfr6.js → location-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-mutation-sk3qaz4a.js → location-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-mutation-ssg3fenm.js → location-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-mutation-twg0f83k.js → location-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-mutation-w803qqfp.js → location-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-mutation-wer8tq1h.js → location-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-mutation-wtztk69x.js → location-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-mutation-x0ckcb58.js → location-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-mutation-x61499pn.js → location-x61499pn.js} +0 -0
- /package/dist/chunks/{file-mutation-y44na4kk.js → location-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-mutation-y8cydn3q.js → location-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-mutation-ygaqb7jw.js → location-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-mutation-ym463w8f.js → location-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-mutation-z9919s4g.js → location-z9919s4g.js} +0 -0
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-g190xswt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info8
|
|
9
|
+
} from "./location-gxr1dr9e.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info12
|
|
12
|
+
} from "./location-t0fxg8b9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./location-g8d3gcyj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info14
|
|
18
|
+
} from "./location-p44d8wdy.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info11
|
|
24
|
+
} from "./location-yjptyezs.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info7
|
|
27
|
+
} from "./location-ac0cyhm9.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./location-kkcepbrv.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -84,10 +84,10 @@ function normalize2(input) {
|
|
|
84
84
|
const encoded = {};
|
|
85
85
|
unsupportedTopLevel.forEach((key) => unsupportedIfPresent(input, key, [key], diagnostics));
|
|
86
86
|
const legacySnapshots = own(input, "snapshot") ? decodeEncoded(Schema.Boolean, input.snapshot, ["snapshot"], diagnostics) : undefined;
|
|
87
|
-
const legacyUpdate = own(input, "autoupdate") ? decodeValue(
|
|
87
|
+
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info7.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info12, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info15, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info8, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info8, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info14, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service79,
|
|
3
|
+
node84
|
|
4
|
+
} from "./location-xgcvvaqd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service76,
|
|
7
|
+
node81
|
|
8
|
+
} from "./location-6h508dp1.js";
|
|
9
9
|
import {
|
|
10
10
|
reconcile2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
PATCH_CONTEXT_LINES2,
|
|
15
15
|
MAX_TOTAL_PATCH_BYTES2,
|
|
16
16
|
emptyPatch2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-tazgh4e4.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info4,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service15,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node19
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info4, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service15 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service76;
|
|
53
|
+
const bus = yield* Service79;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info4));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
115
115
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
116
116
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
117
117
|
}
|
|
118
|
-
return
|
|
118
|
+
return Service15.of({
|
|
119
119
|
transform: state.transform,
|
|
120
120
|
reload: state.reload,
|
|
121
121
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -161,10 +161,10 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
161
161
|
})
|
|
162
162
|
});
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
165
|
-
service:
|
|
164
|
+
var node19 = makeLocationNode({
|
|
165
|
+
service: Service15,
|
|
166
166
|
layer,
|
|
167
|
-
deps: [FSUtil.node,
|
|
167
|
+
deps: [FSUtil.node, node81, node84]
|
|
168
168
|
});
|
|
169
169
|
|
|
170
|
-
export { Base2, BranchList2, FileStatus2,
|
|
170
|
+
export { Base2, BranchList2, FileStatus2, Info4, Mode2, DiffError2, Service15, node19, exports_vcs };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID15,
|
|
3
|
+
Service74
|
|
4
|
+
} from "./location-7ny1t5fr.js";
|
|
5
5
|
import {
|
|
6
6
|
latest2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service45
|
|
8
|
+
} from "./location-mmx9f08p.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionSchema2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-2f04pwep.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service65
|
|
14
|
+
} from "./location-gwzbkwjt.js";
|
|
15
15
|
import {
|
|
16
16
|
evaluate2,
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service71
|
|
18
|
+
} from "./location-tz2p0jnc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service25
|
|
21
|
+
} from "./location-a1qbdnb3.js";
|
|
22
22
|
import {
|
|
23
23
|
NO_TEXT2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-x1ezjp6w.js";
|
|
25
25
|
import {
|
|
26
26
|
make10
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-0bzsvv4f.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/subagent.ts
|
|
33
33
|
var exports_subagent = {};
|
|
34
34
|
__export(exports_subagent, {
|
|
35
|
-
Input: () =>
|
|
35
|
+
Input: () => Input8,
|
|
36
36
|
Output: () => Output6,
|
|
37
|
-
Plugin: () =>
|
|
37
|
+
Plugin: () => Plugin8,
|
|
38
38
|
SubagentTool: () => exports_subagent,
|
|
39
39
|
description: () => description4,
|
|
40
|
-
name: () =>
|
|
40
|
+
name: () => name8
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
|
-
var
|
|
44
|
+
var name8 = "subagent";
|
|
45
45
|
var backgroundResult = (sessionID) => ({
|
|
46
46
|
sessionID,
|
|
47
47
|
status: "running",
|
|
@@ -52,7 +52,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
52
52
|
].join(`
|
|
53
53
|
`)
|
|
54
54
|
});
|
|
55
|
-
var
|
|
55
|
+
var Input8 = Schema.Struct({
|
|
56
56
|
agent: Schema.String.annotate({ description: "The type of specialized agent to use for this task" }),
|
|
57
57
|
description: Schema.String.annotate({ description: "A short 3-5 word label for the task, displayed to the user" }),
|
|
58
58
|
prompt: Schema.String.annotate({ description: "The task for the subagent to perform" }),
|
|
@@ -77,20 +77,20 @@ var description4 = [
|
|
|
77
77
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
78
78
|
].join(`
|
|
79
79
|
`);
|
|
80
|
-
var
|
|
80
|
+
var Plugin8 = {
|
|
81
81
|
id: "opencode.tool.subagent",
|
|
82
82
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
83
|
-
const sessions = yield*
|
|
84
|
-
const jobs = yield*
|
|
85
|
-
const agents = yield*
|
|
86
|
-
const config = yield*
|
|
87
|
-
const permission = yield*
|
|
83
|
+
const sessions = yield* Service25;
|
|
84
|
+
const jobs = yield* Service65;
|
|
85
|
+
const agents = yield* Service74;
|
|
86
|
+
const config = yield* Service45;
|
|
87
|
+
const permission = yield* Service71;
|
|
88
88
|
const subagents = yield* make10;
|
|
89
89
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
90
|
-
name:
|
|
90
|
+
name: name8,
|
|
91
91
|
options: { codemode: false },
|
|
92
92
|
description: description4,
|
|
93
|
-
input:
|
|
93
|
+
input: Input8,
|
|
94
94
|
output: Output6,
|
|
95
95
|
execute: (input, context) => Effect.gen(function* () {
|
|
96
96
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
@@ -111,7 +111,7 @@ var Plugin38 = {
|
|
|
111
111
|
if (agent.mode === "primary")
|
|
112
112
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
113
113
|
yield* permission.assert({
|
|
114
|
-
action:
|
|
114
|
+
action: name8,
|
|
115
115
|
resources: [agent.id],
|
|
116
116
|
save: [agent.id],
|
|
117
117
|
sessionID: context.sessionID,
|
|
@@ -134,7 +134,7 @@ var Plugin38 = {
|
|
|
134
134
|
const child = existing ?? (yield* sessions.create({
|
|
135
135
|
parentID: context.sessionID,
|
|
136
136
|
title: input.description,
|
|
137
|
-
agent:
|
|
137
|
+
agent: ID15.make(input.agent),
|
|
138
138
|
model
|
|
139
139
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
140
140
|
const background = input.background === true;
|
|
@@ -184,13 +184,13 @@ ${output.output}
|
|
|
184
184
|
})))
|
|
185
185
|
})).pipe(Effect.orDie);
|
|
186
186
|
yield* ctx.session.hook("context", (event) => Effect.gen(function* () {
|
|
187
|
-
const tool = event.tools[
|
|
187
|
+
const tool = event.tools[name8];
|
|
188
188
|
if (!tool)
|
|
189
189
|
return;
|
|
190
190
|
const selected = yield* agents.resolve(event.agent);
|
|
191
191
|
if (!selected)
|
|
192
192
|
return;
|
|
193
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
193
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name8, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
194
194
|
if (available.length === 0)
|
|
195
195
|
return;
|
|
196
196
|
tool.description = [
|
|
@@ -204,4 +204,4 @@ ${output.output}
|
|
|
204
204
|
})
|
|
205
205
|
};
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { name8, Input8, Output6, description4, Plugin8, exports_subagent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/skills.ts
|
|
6
6
|
var exports_skills = {};
|
|
7
7
|
__export(exports_skills, {
|
|
8
8
|
ConfigSkillsV1: () => exports_skills,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info10
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info10 = Schema.Struct({
|
|
13
13
|
paths: Schema.optional(Schema.Array(Schema.String)).annotate({
|
|
14
14
|
description: "Additional paths to skill folders"
|
|
15
15
|
}),
|
|
@@ -18,4 +18,4 @@ var Info18 = Schema.Struct({
|
|
|
18
18
|
})
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info10, exports_skills };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info12
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info12 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info12, exports_attachment };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-kg06axw8.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-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: () => Service12,
|
|
13
|
+
node: () => node15
|
|
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 Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, 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(Service7, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.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 node15 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node15, exports_location_watcher_policy };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service49
|
|
3
|
+
} from "./location-fzhxzx5q.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./location-4m2pmvxz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-1x11rq2a.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service60;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service49), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./location-6h508dp1.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service27
|
|
7
|
+
} from "./location-1x11rq2a.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service55,
|
|
10
|
+
node61
|
|
11
|
+
} from "./location-zkt8qzze.js";
|
|
12
12
|
import {
|
|
13
13
|
node18
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-gxbbas38.js";
|
|
15
15
|
import {
|
|
16
16
|
node3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-dt587sme.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/worktree/refresh.ts
|
|
23
23
|
var exports_refresh = {};
|
|
@@ -28,9 +28,9 @@ __export(exports_refresh, {
|
|
|
28
28
|
import { Effect, Layer } from "effect";
|
|
29
29
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
30
30
|
var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
31
|
-
const location = yield*
|
|
32
|
-
const plugins = yield*
|
|
33
|
-
const worktrees = yield*
|
|
31
|
+
const location = yield* Service76;
|
|
32
|
+
const plugins = yield* Service27;
|
|
33
|
+
const worktrees = yield* Service55;
|
|
34
34
|
if (location.workspaceID)
|
|
35
35
|
return;
|
|
36
36
|
yield* plugins.awaitActivation.pipe(Effect.andThen(worktrees.refresh()), Effect.catchCause((cause) => Effect.logWarning("worktree refresh failed", { cause })), Effect.forkScoped);
|
|
@@ -38,7 +38,7 @@ var layer = Layer.effectDiscard(Effect.gen(function* () {
|
|
|
38
38
|
var node2 = makeLocationNode({
|
|
39
39
|
name: "worktree-refresh",
|
|
40
40
|
layer,
|
|
41
|
-
deps: [
|
|
41
|
+
deps: [node61, node81, node18, node3]
|
|
42
42
|
});
|
|
43
43
|
|
|
44
44
|
export { node2, exports_refresh };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-9k0trt10.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin17,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
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 endpoint3 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin17 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin8 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint3, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin8 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin17, exports_firecrawl };
|