@opencode/core 0.0.0-dev-19285 → 0.0.0-dev-19287
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 +4 -4
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/catalog.js +81 -81
- package/dist/chunks/{reference-kpvyk30t.js → location-mutation-0996nyz8.js} +9 -9
- package/dist/chunks/{reference-ymxzgkec.js → location-mutation-0dxcrxxv.js} +43 -43
- package/dist/chunks/{reference-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{reference-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{reference-ftdzjz2b.js → location-mutation-0w62qmxp.js} +6 -6
- package/dist/chunks/{reference-sewx0d8k.js → location-mutation-11vwa6ba.js} +10 -10
- package/dist/chunks/{reference-zag8ssnp.js → location-mutation-13n4amy3.js} +29 -29
- package/dist/chunks/{reference-3g06hv1z.js → location-mutation-1473y0bf.js} +13 -13
- package/dist/chunks/{reference-mwdyx115.js → location-mutation-184m7s8t.js} +17 -17
- package/dist/chunks/{reference-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{reference-0hpxrkyb.js → location-mutation-1dfhrqqs.js} +5 -5
- package/dist/chunks/{reference-7zdm33ac.js → location-mutation-1e9w7pgh.js} +10 -10
- package/dist/chunks/{reference-8xx08dm0.js → location-mutation-1hn2p0va.js} +26 -26
- package/dist/chunks/{reference-pxw0hmvn.js → location-mutation-1jrvr8kv.js} +7 -7
- package/dist/chunks/{reference-1hx3a7j4.js → location-mutation-1mqqvrv6.js} +28 -28
- package/dist/chunks/{reference-we9eyqjp.js → location-mutation-1yzn9y02.js} +7 -7
- package/dist/chunks/{reference-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{reference-paegk39x.js → location-mutation-22m95qs7.js} +4 -4
- package/dist/chunks/{reference-fsg64sxd.js → location-mutation-23w9eb6s.js} +37 -37
- package/dist/chunks/{reference-6h73sxmp.js → location-mutation-2402vzrj.js} +5 -5
- package/dist/chunks/{reference-2bcpzs2r.js → location-mutation-24k63mqk.js} +24 -24
- package/dist/chunks/{reference-c8qcwh7c.js → location-mutation-29ghe1x5.js} +8 -8
- package/dist/chunks/{reference-z63w68vq.js → location-mutation-29x78va6.js} +6 -6
- package/dist/chunks/{reference-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{reference-w6y4jrtq.js → location-mutation-2dbmev0z.js} +8 -8
- package/dist/chunks/{reference-qgn6gcr1.js → location-mutation-2k8khapm.js} +5 -5
- package/dist/chunks/{reference-4rh3z4xh.js → location-mutation-2x533ax4.js} +13 -13
- package/dist/chunks/{reference-yvdpqkmv.js → location-mutation-2z1y9j7h.js} +25 -25
- package/dist/chunks/{reference-1n1re824.js → location-mutation-30a07fjb.js} +15 -15
- package/dist/chunks/{reference-g0fwp05y.js → location-mutation-3441nq5c.js} +3 -3
- package/dist/chunks/{reference-s90d8d6b.js → location-mutation-3c1tgrea.js} +6 -6
- package/dist/chunks/{reference-gdvy8fx6.js → location-mutation-3fc6dm20.js} +4 -4
- package/dist/chunks/{reference-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-wcsysscr.js → location-mutation-3kwmkcgs.js} +9 -9
- package/dist/chunks/{reference-pgpmnqk3.js → location-mutation-3m4wq6z6.js} +3 -3
- package/dist/chunks/{reference-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{reference-3jf7jxvk.js → location-mutation-3trbxeqx.js} +1 -1
- package/dist/chunks/{reference-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{reference-e7066wh1.js → location-mutation-42rc6taq.js} +10 -10
- package/dist/chunks/{reference-7edp414f.js → location-mutation-47v0twjv.js} +2 -2
- package/dist/chunks/{reference-1j68e3we.js → location-mutation-48es3f51.js} +12 -12
- package/dist/chunks/{reference-hdthj1pw.js → location-mutation-49w8mb30.js} +11 -11
- package/dist/chunks/{reference-4c2df9zx.js → location-mutation-4e7426jc.js} +8 -8
- package/dist/chunks/{reference-mr7fas37.js → location-mutation-4gmrrkw9.js} +17 -17
- package/dist/chunks/{reference-x0ts5zjw.js → location-mutation-4ttwjaq8.js} +27 -27
- package/dist/chunks/{reference-636mnkjh.js → location-mutation-52zb6tce.js} +15 -15
- package/dist/chunks/{reference-4zn0r1r4.js → location-mutation-58ax6zm2.js} +12 -12
- package/dist/chunks/{reference-525hap2p.js → location-mutation-58tsrddw.js} +6 -6
- package/dist/chunks/{reference-a1bz86dw.js → location-mutation-5c4hm403.js} +3 -3
- package/dist/chunks/{reference-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{reference-s89drx3k.js → location-mutation-5mx7dq7f.js} +24 -24
- package/dist/chunks/{reference-m0zxgcxr.js → location-mutation-5rnxhr90.js} +16 -16
- package/dist/chunks/{reference-qd5n9004.js → location-mutation-5s520hm6.js} +4 -4
- package/dist/chunks/{reference-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{reference-ed80ss5w.js → location-mutation-62n2fy0z.js} +43 -43
- package/dist/chunks/{reference-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{reference-wec9kj0s.js → location-mutation-683m6fwy.js} +10 -10
- package/dist/chunks/{reference-8w9tvb25.js → location-mutation-6d9mz4vp.js} +9 -9
- package/dist/chunks/{reference-3222fpmk.js → location-mutation-6eng8rdc.js} +5 -5
- package/dist/chunks/{reference-9h2tqn78.js → location-mutation-6f6nnzh9.js} +8 -8
- package/dist/chunks/{reference-tmx7d2y0.js → location-mutation-6fdj6kdr.js} +4 -4
- package/dist/chunks/{reference-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{reference-zqcfszr7.js → location-mutation-6p9hy9ed.js} +10 -10
- package/dist/chunks/{reference-mdt4q1c1.js → location-mutation-6sa6q5ws.js} +6 -6
- package/dist/chunks/{reference-z8d4gyxr.js → location-mutation-70vdpen3.js} +60 -60
- package/dist/chunks/{reference-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{reference-9vs0xtad.js → location-mutation-721tb84k.js} +3 -3
- package/dist/chunks/{reference-eghhz9w3.js → location-mutation-7304dsnn.js} +6 -6
- package/dist/chunks/{reference-24p0y6dv.js → location-mutation-74kvyvst.js} +23 -23
- package/dist/chunks/{reference-4q4p5end.js → location-mutation-76xs5hpg.js} +11 -11
- package/dist/chunks/{reference-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-fdhnxwqq.js → location-mutation-7ht7tt9n.js} +15 -15
- package/dist/chunks/{reference-f74zpcfx.js → location-mutation-7tewcw6j.js} +50 -50
- package/dist/chunks/{reference-tx1bbn1t.js → location-mutation-7wc683m2.js} +2 -2
- package/dist/chunks/{reference-56pr6y5x.js → location-mutation-7wgjvp9q.js} +11 -11
- package/dist/chunks/{reference-shrxzsvg.js → location-mutation-7x13e1xe.js} +13 -13
- package/dist/chunks/{reference-qhcd119y.js → location-mutation-84qpd1k5.js} +9 -9
- package/dist/chunks/{reference-t37txjkj.js → location-mutation-84tssp1s.js} +8 -8
- package/dist/chunks/{reference-v9p2d0aj.js → location-mutation-87y69bg1.js} +27 -27
- package/dist/chunks/{reference-yhx7fnrq.js → location-mutation-8c3e3qkg.js} +19 -19
- package/dist/chunks/{reference-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{reference-w79zsp0s.js → location-mutation-8ypn74s0.js} +1 -1
- package/dist/chunks/{reference-z2vp0ram.js → location-mutation-9aqrbv8j.js} +14 -14
- package/dist/chunks/{reference-z4bnc0k3.js → location-mutation-9cvv5wde.js} +13 -13
- package/dist/chunks/{reference-vgtqdgcp.js → location-mutation-9d20d456.js} +14 -14
- package/dist/chunks/{reference-mp0hvknf.js → location-mutation-9e688ka7.js} +17 -17
- package/dist/chunks/{reference-ek2ekg50.js → location-mutation-9jmzwfp3.js} +9 -9
- package/dist/chunks/{reference-4fk03y38.js → location-mutation-9k2v62xn.js} +1 -1
- package/dist/chunks/{reference-xn1g4e4n.js → location-mutation-9phvn7ns.js} +3 -3
- package/dist/chunks/{reference-wk3sjerj.js → location-mutation-a1d2hteq.js} +11 -11
- package/dist/chunks/{reference-j4dwrdg1.js → location-mutation-a2cdc1r7.js} +17 -17
- package/dist/chunks/{reference-95b6ghe6.js → location-mutation-a2h1jp2d.js} +18 -18
- package/dist/chunks/{reference-p8fr87mf.js → location-mutation-a37e6m7y.js} +48 -48
- package/dist/chunks/{reference-npqmz80p.js → location-mutation-a45y20zb.js} +51 -51
- package/dist/chunks/{reference-kd62wyh6.js → location-mutation-a6zk2kkv.js} +13 -13
- package/dist/chunks/{reference-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{reference-6tt5evqq.js → location-mutation-ae01ggp0.js} +4 -4
- package/dist/chunks/{reference-q4t8wpc5.js → location-mutation-af8pd4v7.js} +90 -90
- package/dist/chunks/{reference-hx9b9j3y.js → location-mutation-an8h23db.js} +4 -4
- package/dist/chunks/{reference-y5carwhs.js → location-mutation-b361nksz.js} +66 -66
- package/dist/chunks/{reference-2q8hwwwc.js → location-mutation-b40gkt47.js} +11 -11
- package/dist/chunks/{reference-ypgwc49d.js → location-mutation-b4q2gye7.js} +15 -15
- package/dist/chunks/{reference-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{reference-dwajp34v.js → location-mutation-b8q51j9a.js} +5 -5
- package/dist/chunks/{reference-q815m6cj.js → location-mutation-bf78sajj.js} +26 -26
- package/dist/chunks/{reference-73mg2vtt.js → location-mutation-bwbhjqdk.js} +10 -10
- package/dist/chunks/{reference-aerscydv.js → location-mutation-bwr3xqb8.js} +11 -11
- package/dist/chunks/{reference-6ykfmbhh.js → location-mutation-bzctsz9s.js} +20 -20
- package/dist/chunks/{reference-jzrkhfnx.js → location-mutation-c45d5g2s.js} +36 -36
- package/dist/chunks/{reference-43vjkkh2.js → location-mutation-c460bj8w.js} +24 -24
- package/dist/chunks/{reference-gxy528pw.js → location-mutation-c4hy1rh4.js} +34 -34
- package/dist/chunks/{reference-2mpb3c7h.js → location-mutation-c5q6csyp.js} +3 -3
- package/dist/chunks/{reference-9kcb9bfn.js → location-mutation-c6kmkw3m.js} +3 -3
- package/dist/chunks/{reference-m17xag3b.js → location-mutation-ccx8zfgz.js} +7 -7
- package/dist/chunks/{reference-xbvr7qd3.js → location-mutation-ckn6h37r.js} +37 -37
- package/dist/chunks/{reference-7k65wcnh.js → location-mutation-cmhkvzgz.js} +32 -32
- package/dist/chunks/{reference-v4hmzr0r.js → location-mutation-cmwkp3r5.js} +8 -8
- package/dist/chunks/{reference-n8aw8tzz.js → location-mutation-czeydz81.js} +16 -16
- package/dist/chunks/{reference-8p4f9s12.js → location-mutation-dj2t23y0.js} +2 -2
- package/dist/chunks/{reference-fschjpvb.js → location-mutation-drknmmyh.js} +9 -9
- package/dist/chunks/{reference-rabzzrj7.js → location-mutation-drzyvhrb.js} +6 -6
- package/dist/chunks/{reference-6xg3k3v3.js → location-mutation-dvcw6vpw.js} +18 -18
- package/dist/chunks/{reference-dee1kvxx.js → location-mutation-dwngnb0p.js} +26 -26
- package/dist/chunks/{reference-s8d7rejh.js → location-mutation-eaj1djv9.js} +6 -6
- package/dist/chunks/{reference-kdsmfbp6.js → location-mutation-edntyhry.js} +18 -18
- package/dist/chunks/{reference-a9m3pnym.js → location-mutation-ef8q0cr3.js} +19 -19
- package/dist/chunks/{reference-kf4f65v3.js → location-mutation-eg9evz6w.js} +36 -36
- package/dist/chunks/{reference-eej0jtf5.js → location-mutation-epebp8tt.js} +20 -20
- package/dist/chunks/{reference-jtxfv8d5.js → location-mutation-er97sx0p.js} +33 -33
- package/dist/chunks/{reference-6q0ssdw5.js → location-mutation-esdnemd6.js} +1 -1
- package/dist/chunks/{reference-7zz35dhy.js → location-mutation-esrsh0mc.js} +29 -29
- package/dist/chunks/{reference-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{reference-s8zy8myc.js → location-mutation-f90chkmn.js} +5 -5
- package/dist/chunks/{reference-rm18f88d.js → location-mutation-f98y3kxx.js} +9 -9
- package/dist/chunks/{reference-aa5yzmg3.js → location-mutation-ffbjb63b.js} +13 -13
- package/dist/chunks/{reference-ewkfaene.js → location-mutation-fq1h1v14.js} +3 -3
- package/dist/chunks/{reference-21tjen5n.js → location-mutation-fsbpw6a2.js} +20 -20
- package/dist/chunks/{reference-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{reference-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{reference-rqwtk8m6.js → location-mutation-gkvs7m7p.js} +41 -41
- package/dist/chunks/{reference-th5km1p3.js → location-mutation-gv6a8nnw.js} +5 -5
- package/dist/chunks/{reference-qnsz7nh9.js → location-mutation-gzp0ybvm.js} +5 -5
- package/dist/chunks/{reference-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{reference-kcqzyg21.js → location-mutation-h0fg7p2y.js} +18 -18
- package/dist/chunks/{reference-d2kbg34c.js → location-mutation-h2gyv3sg.js} +1 -1
- package/dist/chunks/{reference-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{reference-f828m53h.js → location-mutation-hdnk95c8.js} +2 -2
- package/dist/chunks/{reference-vbbvjejc.js → location-mutation-hghffdg8.js} +11 -11
- package/dist/chunks/{reference-9fkctmz4.js → location-mutation-hhntrg7s.js} +4 -4
- package/dist/chunks/{reference-rrct5g06.js → location-mutation-hk80vak8.js} +6 -6
- package/dist/chunks/{reference-gk1e73sc.js → location-mutation-hn4r1rv3.js} +23 -23
- package/dist/chunks/{reference-xw0r27ex.js → location-mutation-hn57h045.js} +4 -4
- package/dist/chunks/{reference-tc3b2xqh.js → location-mutation-hnq718w8.js} +25 -25
- package/dist/chunks/{reference-g7yd2vxk.js → location-mutation-hs064km6.js} +13 -13
- package/dist/chunks/{reference-eq1pz5kg.js → location-mutation-j028xdjb.js} +3 -3
- package/dist/chunks/{reference-kmdd4s7w.js → location-mutation-j1hsdvzf.js} +11 -11
- package/dist/chunks/{reference-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/location-mutation-j8j74b9s.js +462 -0
- package/dist/chunks/{reference-paphc93g.js → location-mutation-j935v87r.js} +2 -2
- package/dist/chunks/{reference-b89n2hrw.js → location-mutation-j9ee4mh0.js} +23 -23
- package/dist/chunks/{reference-h7ygw6q4.js → location-mutation-jjs74g98.js} +9 -9
- package/dist/chunks/{reference-kvssg87c.js → location-mutation-jnks42yk.js} +46 -46
- package/dist/chunks/{reference-18s2crhv.js → location-mutation-jnrf8k76.js} +21 -21
- package/dist/chunks/location-mutation-jqh9b0xq.js +18 -0
- package/dist/chunks/{reference-pcbr6txn.js → location-mutation-jwmcjj4b.js} +18 -18
- package/dist/chunks/{reference-xc6qfj0x.js → location-mutation-jz7h8712.js} +20 -20
- package/dist/chunks/{reference-e6jkap1f.js → location-mutation-k52252t7.js} +4 -4
- package/dist/chunks/{reference-fbh8gv2m.js → location-mutation-kat6he4h.js} +35 -35
- package/dist/chunks/{reference-gj7hfxsf.js → location-mutation-keac80rj.js} +25 -25
- package/dist/chunks/{reference-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{reference-4dp2399g.js → location-mutation-ky2zrep6.js} +59 -59
- package/dist/chunks/{reference-eb08dgxh.js → location-mutation-kzs28wce.js} +22 -22
- package/dist/chunks/{reference-cfpkc3c9.js → location-mutation-m0jqrx5p.js} +2 -2
- package/dist/chunks/{reference-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-r0jrqcv3.js → location-mutation-matbqhe3.js} +18 -18
- package/dist/chunks/{reference-hdcwm5yn.js → location-mutation-me494rn9.js} +5 -5
- package/dist/chunks/{reference-mfqp6xfm.js → location-mutation-mfqp6xfm.js} +2 -2
- package/dist/chunks/{reference-ndqtf2h8.js → location-mutation-mjncxbbh.js} +4 -4
- package/dist/chunks/{reference-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{reference-2atv2341.js → location-mutation-mrw4weg4.js} +5 -5
- package/dist/chunks/{reference-c07ppws4.js → location-mutation-mwa6zzn0.js} +35 -35
- package/dist/chunks/{reference-k3fk1xw0.js → location-mutation-mwtpr5xp.js} +28 -28
- package/dist/chunks/{reference-y397pytd.js → location-mutation-n2kah95r.js} +8 -8
- package/dist/chunks/{reference-pk0537y5.js → location-mutation-n9cx0s52.js} +36 -36
- package/dist/chunks/{reference-yb4w2300.js → location-mutation-nay5dgmm.js} +4 -4
- package/dist/chunks/{reference-w9m4vsw7.js → location-mutation-ncr47bd9.js} +25 -25
- package/dist/chunks/{reference-nhy5jxhy.js → location-mutation-nhy5jxhy.js} +1 -1
- package/dist/chunks/{reference-gzedjxr8.js → location-mutation-nqmenym0.js} +26 -26
- package/dist/chunks/{reference-a3re5se6.js → location-mutation-ntmz3wyk.js} +28 -28
- package/dist/chunks/{reference-wr1hnkrb.js → location-mutation-nx4935gj.js} +12 -12
- package/dist/chunks/{reference-k9hy4w8j.js → location-mutation-phb8rjng.js} +22 -22
- package/dist/chunks/{reference-9pv0dm11.js → location-mutation-pjmw00w1.js} +7 -7
- package/dist/chunks/{reference-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{reference-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{reference-742bzcdy.js → location-mutation-pp85a0n0.js} +24 -24
- package/dist/chunks/{reference-qgvsjnwz.js → location-mutation-pq4st5kv.js} +2 -2
- package/dist/chunks/{reference-v7y6kmxs.js → location-mutation-pywxtyde.js} +24 -24
- package/dist/chunks/{reference-27kr68t2.js → location-mutation-pyzjxgnp.js} +4 -4
- package/dist/chunks/{reference-vz98v2b4.js → location-mutation-q4asqt9r.js} +11 -11
- package/dist/chunks/{reference-94ty58yj.js → location-mutation-q51rxba2.js} +36 -36
- package/dist/chunks/location-mutation-qapv375x.js +4 -0
- package/dist/chunks/{reference-e9q2tff6.js → location-mutation-qpeevan9.js} +26 -26
- package/dist/chunks/{reference-r98e92ep.js → location-mutation-qq11w61w.js} +4 -4
- package/dist/chunks/{reference-kxpygcw9.js → location-mutation-qqtwvk4z.js} +4 -4
- package/dist/chunks/{reference-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{reference-wbkyxrgf.js → location-mutation-qte5z7bc.js} +5 -5
- package/dist/chunks/{reference-f8gmmhdx.js → location-mutation-r023hcp7.js} +5 -5
- package/dist/chunks/{reference-zrgpjm4k.js → location-mutation-r60j1sxw.js} +17 -17
- package/dist/chunks/{reference-3wqf40ez.js → location-mutation-rdsr5vfa.js} +7 -7
- package/dist/chunks/{reference-j460kft3.js → location-mutation-rhv8ahks.js} +16 -16
- package/dist/chunks/{reference-qfjjv7cg.js → location-mutation-rs226bz6.js} +5 -5
- package/dist/chunks/{reference-gxretbwa.js → location-mutation-rt0zmvjt.js} +30 -30
- package/dist/chunks/{reference-f2n7c6vf.js → location-mutation-rx5g73gk.js} +12 -12
- package/dist/chunks/{reference-gabjygxp.js → location-mutation-s278dz2n.js} +9 -9
- package/dist/chunks/{reference-yrznvahk.js → location-mutation-s4enseaf.js} +2 -2
- package/dist/chunks/location-mutation-s52qm5mw.js +247 -0
- package/dist/chunks/{reference-y4h8j882.js → location-mutation-sat49ncw.js} +88 -88
- package/dist/chunks/{reference-x9qzeg26.js → location-mutation-se1pfnwv.js} +30 -30
- package/dist/chunks/{reference-1s85ea80.js → location-mutation-spa55x0n.js} +18 -18
- package/dist/chunks/{reference-4gpvdk2f.js → location-mutation-sx1st3yz.js} +17 -17
- package/dist/chunks/{reference-35pawy1v.js → location-mutation-t0860ere.js} +13 -13
- package/dist/chunks/{reference-f3ngv102.js → location-mutation-t51qk8jz.js} +21 -21
- package/dist/chunks/{reference-hj2q4vx8.js → location-mutation-t61wwm0p.js} +9 -9
- package/dist/chunks/{reference-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{reference-ypt602pg.js → location-mutation-tbzgs2yh.js} +8 -8
- package/dist/chunks/{reference-tcezcvh9.js → location-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{reference-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{reference-d688schs.js → location-mutation-thgz7ntd.js} +18 -18
- package/dist/chunks/{reference-s1dejaz5.js → location-mutation-ttqfmzkf.js} +4 -4
- package/dist/chunks/{reference-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{reference-y3501xtg.js → location-mutation-twe6tyqc.js} +9 -9
- package/dist/chunks/{reference-54gn6h9v.js → location-mutation-vabb23s0.js} +1 -1
- package/dist/chunks/{reference-q14xand4.js → location-mutation-vdvdmzth.js} +30 -30
- package/dist/chunks/{reference-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-1vbqt11h.js → location-mutation-vpt86awd.js} +12 -12
- package/dist/chunks/{reference-ehah1z4y.js → location-mutation-vxzhx4zy.js} +34 -34
- package/dist/chunks/{reference-w4ysxmd8.js → location-mutation-vypqtakx.js} +1 -1
- package/dist/chunks/{reference-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{reference-w9xvayee.js → location-mutation-w2dhns9w.js} +9 -9
- package/dist/chunks/{reference-v1adv2wp.js → location-mutation-w3gd67mm.js} +23 -23
- package/dist/chunks/{reference-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-m64xvjj1.js → location-mutation-w8xr7nv8.js} +5 -5
- package/dist/chunks/{reference-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{reference-dxahnrqk.js → location-mutation-wg3byzqg.js} +32 -32
- package/dist/chunks/{reference-wg42tg3h.js → location-mutation-wg42tg3h.js} +2 -2
- package/dist/chunks/{reference-g0h581t9.js → location-mutation-whfqddbr.js} +10 -10
- package/dist/chunks/{reference-5vb8t1df.js → location-mutation-wqqxh09j.js} +11 -11
- package/dist/chunks/{reference-231s2dv0.js → location-mutation-wvefsznn.js} +22 -22
- package/dist/chunks/location-mutation-wwdggcc5.js +22 -0
- package/dist/chunks/{reference-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{reference-a1b3c13m.js → location-mutation-x1xcpfha.js} +12 -12
- package/dist/chunks/{reference-x43y2vfs.js → location-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{reference-aagvpmpk.js → location-mutation-x9gs5gh3.js} +23 -23
- package/dist/chunks/{reference-cf7t4tbm.js → location-mutation-xbe8bs7w.js} +1 -1
- package/dist/chunks/{reference-26n19ak3.js → location-mutation-xm955sm5.js} +4 -4
- package/dist/chunks/{reference-b7r85zma.js → location-mutation-xxb2hg4r.js} +15 -15
- package/dist/chunks/{reference-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{reference-amv9spzy.js → location-mutation-y2k6k78q.js} +11 -11
- package/dist/chunks/{reference-mgqqkg93.js → location-mutation-y2rk8dp4.js} +22 -22
- package/dist/chunks/{reference-pch1g4ac.js → location-mutation-y30m186f.js} +11 -11
- package/dist/chunks/{reference-y71avatq.js → location-mutation-y71avatq.js} +1 -1
- package/dist/chunks/{reference-7jmqxgxn.js → location-mutation-y7xnpwsa.js} +20 -20
- package/dist/chunks/{reference-dyyz5283.js → location-mutation-yhj4pxny.js} +6 -6
- package/dist/chunks/{reference-yp2x3t23.js → location-mutation-yp2x3t23.js} +1 -1
- package/dist/chunks/{reference-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{reference-ryf7tq05.js → location-mutation-ysy4b7c5.js} +13 -13
- package/dist/chunks/{reference-q280h65c.js → location-mutation-ytx9308a.js} +8 -8
- package/dist/chunks/{reference-6dxje0nq.js → location-mutation-yzknfpcf.js} +32 -32
- package/dist/chunks/{reference-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-rrb33fnm.js → location-mutation-z2dph6w8.js} +9 -9
- package/dist/chunks/{reference-tn0aqsam.js → location-mutation-z3pw5915.js} +5 -5
- package/dist/chunks/{reference-7gc0xae5.js → location-mutation-z808vn5k.js} +146 -146
- package/dist/chunks/{reference-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{reference-7jshreb6.js → location-mutation-zevhvr5g.js} +41 -41
- package/dist/chunks/{reference-sej7e0cf.js → location-mutation-zj09a0ew.js} +4 -4
- package/dist/chunks/{reference-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{reference-ss5t5285.js → location-mutation-ztfv8nx3.js} +43 -43
- package/dist/chunks/{reference-qa3qhgw8.js → location-mutation-zv0544jz.js} +4 -4
- package/dist/chunks/{reference-v0tcdknz.js → location-mutation-zvzt8w2f.js} +16 -16
- package/dist/chunks/{reference-sj6nvtnr.js → location-mutation-zwqm459f.js} +20 -20
- package/dist/chunks/{reference-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- 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 +117 -117
- 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 +116 -116
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +134 -134
- 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 +111 -111
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- 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.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 +77 -77
- 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 +1 -1
- 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 +222 -222
- 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 +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +78 -78
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- 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 +3 -3
- 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 +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +80 -80
- package/dist/job.js +73 -73
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +83 -83
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- 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 +3 -3
- 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 +84 -84
- 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 +115 -115
- 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 +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- 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 +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- 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 +92 -92
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +125 -125
- 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 +216 -216
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- 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 +126 -126
- 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 +1 -1
- 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 +108 -108
- 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 +73 -73
- 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 +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +105 -105
- package/dist/snapshot.js +86 -86
- 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 +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +115 -115
- package/dist/tool/plugin/shell.js +210 -210
- package/dist/tool/plugin/skill.js +104 -104
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +109 -109
- 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 +15 -15
- 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 +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 +3 -3
- 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 +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +7 -7
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/reference-99pkb00s.js +0 -247
- package/dist/chunks/reference-fnzccmjb.js +0 -22
- package/dist/chunks/reference-hxa7m5za.js +0 -4
- package/dist/chunks/reference-k99e1z30.js +0 -462
- package/dist/chunks/reference-phz3h32g.js +0 -18
- /package/dist/chunks/{reference-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a1tpkmh4.js → location-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service79,
|
|
3
|
-
node84
|
|
4
|
-
} from "./reference-m0zxgcxr.js";
|
|
5
|
-
import {
|
|
6
|
-
Key4,
|
|
7
2
|
Service78,
|
|
8
3
|
node83
|
|
9
|
-
} from "./
|
|
4
|
+
} from "./location-mutation-5rnxhr90.js";
|
|
5
|
+
import {
|
|
6
|
+
Key3,
|
|
7
|
+
Service72,
|
|
8
|
+
node77
|
|
9
|
+
} from "./location-mutation-kat6he4h.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-mutation-thgz7ntd.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -32,15 +32,15 @@ __export(exports_integration, {
|
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
33
|
Event: () => Event10,
|
|
34
34
|
ID: () => ID6,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info9,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service48,
|
|
43
|
+
node: () => node52
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info9 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,14 +87,14 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service48 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
97
|
-
const bus = yield*
|
|
95
|
+
var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service72;
|
|
97
|
+
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
100
100
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info9.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service48.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key3.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node52 = makeLocationNode({
|
|
569
|
+
service: Service48,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node77, node83, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2,
|
|
574
|
+
export { ID6, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info9, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service48, node52, exports_integration, Event10 };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-84tssp1s.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service47
|
|
6
|
+
} from "./location-mutation-5mx7dq7f.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./location-mutation-ztfv8nx3.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/configured.ts
|
|
12
12
|
import { Effect, Option } from "effect";
|
|
13
13
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
14
|
-
const catalog = yield*
|
|
14
|
+
const catalog = yield* Service47;
|
|
15
15
|
const current = (yield* catalog.provider.get(id))?.settings;
|
|
16
|
-
const service = yield* Effect.serviceOption(
|
|
16
|
+
const service = yield* Effect.serviceOption(Service69);
|
|
17
17
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
18
18
|
return foldSettings2(entries, id, current);
|
|
19
19
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node83
|
|
4
|
+
} from "./location-mutation-5rnxhr90.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node37
|
|
8
|
+
} from "./location-mutation-7tewcw6j.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service61,
|
|
11
|
+
node65
|
|
12
|
+
} from "./location-mutation-ky2zrep6.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service45,
|
|
15
|
+
node49
|
|
16
|
+
} from "./location-mutation-keac80rj.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
|
+
layer: () => layer13,
|
|
27
27
|
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node36
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -35,13 +35,13 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
36
|
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service45;
|
|
43
|
+
const bus = yield* Service78;
|
|
44
|
+
const permission = yield* Service61;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -112,12 +112,12 @@ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
112
112
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
113
113
|
const updates = yield* PubSub.subscribe(changes);
|
|
114
114
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
115
|
-
return
|
|
115
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
116
116
|
}));
|
|
117
|
-
var
|
|
118
|
-
service:
|
|
119
|
-
layer:
|
|
120
|
-
deps: [
|
|
117
|
+
var node36 = makeLocationNode({
|
|
118
|
+
service: Service31,
|
|
119
|
+
layer: layer13,
|
|
120
|
+
deps: [node49, node37, node83, node65]
|
|
121
121
|
});
|
|
122
122
|
|
|
123
|
-
export { namespace2, name13,
|
|
123
|
+
export { namespace2, name13, Service31, layer13, node36, exports_mcp3 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service69
|
|
4
|
+
} from "./location-mutation-ztfv8nx3.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin28,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin28 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service69;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -90,4 +90,4 @@ var Plugin30 = define({
|
|
|
90
90
|
})
|
|
91
91
|
});
|
|
92
92
|
|
|
93
|
-
export {
|
|
93
|
+
export { Plugin28, exports_warming };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info14,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info14 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info14, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service80
|
|
3
|
-
} from "./reference-aerscydv.js";
|
|
4
1
|
import {
|
|
5
2
|
Service79
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-bwr3xqb8.js";
|
|
4
|
+
import {
|
|
5
|
+
Service78
|
|
6
|
+
} from "./location-mutation-5rnxhr90.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service41
|
|
9
|
+
} from "./location-mutation-3c1tgrea.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-mutation-fxbjtjnd.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError9,
|
|
18
18
|
MessageNotFoundError2,
|
|
19
19
|
MessageNotAssistantError2,
|
|
20
20
|
MessageIncompleteError2,
|
|
@@ -24,61 +24,61 @@ import {
|
|
|
24
24
|
CompactionConflictError2,
|
|
25
25
|
BusyError2,
|
|
26
26
|
InboxConflictError2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./location-mutation-t61wwm0p.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionEvent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-mutation-ec1grn59.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
Service63
|
|
33
|
+
} from "./location-mutation-sx1st3yz.js";
|
|
34
34
|
import {
|
|
35
35
|
Delivery2,
|
|
36
36
|
SyntheticPayload2,
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
37
|
+
Service39
|
|
38
|
+
} from "./location-mutation-dwngnb0p.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service37
|
|
41
|
+
} from "./location-mutation-ckn6h37r.js";
|
|
42
42
|
import {
|
|
43
43
|
prepare2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./location-mutation-czeydz81.js";
|
|
45
45
|
import {
|
|
46
46
|
stage2,
|
|
47
47
|
clear2,
|
|
48
48
|
commit2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./location-mutation-2z1y9j7h.js";
|
|
50
50
|
import {
|
|
51
51
|
start2
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./location-mutation-s278dz2n.js";
|
|
53
53
|
import {
|
|
54
54
|
get4
|
|
55
|
-
} from "./
|
|
55
|
+
} from "./location-mutation-w2dhns9w.js";
|
|
56
56
|
import {
|
|
57
57
|
__export
|
|
58
|
-
} from "./
|
|
58
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
59
59
|
|
|
60
60
|
// src/session/session.ts
|
|
61
61
|
var exports_session2 = {};
|
|
62
62
|
__export(exports_session2, {
|
|
63
63
|
Session: () => exports_session2,
|
|
64
|
-
make: () =>
|
|
64
|
+
make: () => make15
|
|
65
65
|
});
|
|
66
66
|
import { DateTime, Effect, Fiber, Schema, Scope } from "effect";
|
|
67
67
|
import { Event } from "@opencode/schema/event";
|
|
68
68
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
69
|
-
var
|
|
70
|
-
const bus = yield*
|
|
71
|
-
const database = yield*
|
|
72
|
-
const store = yield*
|
|
73
|
-
const instances = yield*
|
|
74
|
-
const execution = yield*
|
|
75
|
-
const admission = yield*
|
|
69
|
+
var make15 = Effect.fn("Session.make")(function* () {
|
|
70
|
+
const bus = yield* Service78;
|
|
71
|
+
const database = yield* Service79;
|
|
72
|
+
const store = yield* Service63;
|
|
73
|
+
const instances = yield* Service41;
|
|
74
|
+
const execution = yield* Service37;
|
|
75
|
+
const admission = yield* Service39;
|
|
76
76
|
const fs = yield* FSUtil.Service;
|
|
77
77
|
const scope = yield* Scope.Scope;
|
|
78
78
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
79
79
|
const session = yield* store.get(sessionID);
|
|
80
80
|
if (!session)
|
|
81
|
-
return yield* new
|
|
81
|
+
return yield* new NotFoundError9({ sessionID });
|
|
82
82
|
return session;
|
|
83
83
|
});
|
|
84
84
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -154,7 +154,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
154
154
|
});
|
|
155
155
|
if (existing)
|
|
156
156
|
return existing;
|
|
157
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
157
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service41, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
158
158
|
if (session.revert)
|
|
159
159
|
yield* commit2(bus, session);
|
|
160
160
|
return yield* admission.admit({
|
|
@@ -170,7 +170,7 @@ var make12 = Effect.fn("Session.make")(function* () {
|
|
|
170
170
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
171
171
|
const session = yield* get(sessionID);
|
|
172
172
|
const running = yield* Effect.gen(function* () {
|
|
173
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
173
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service41, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
174
174
|
text: `User shell command failed to start:
|
|
175
175
|
${input.command}
|
|
176
176
|
|
|
@@ -199,7 +199,7 @@ ${error.message}`,
|
|
|
199
199
|
});
|
|
200
200
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
201
201
|
const session = yield* get(sessionID);
|
|
202
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
202
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service41, instances));
|
|
203
203
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
204
204
|
sessionID,
|
|
205
205
|
id: skill.id,
|
|
@@ -256,13 +256,13 @@ ${error.message}`,
|
|
|
256
256
|
const session = yield* get(sessionID);
|
|
257
257
|
if (yield* execution.isActive(sessionID))
|
|
258
258
|
return yield* new BusyError2({ sessionID });
|
|
259
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
259
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service79, database), Effect.provideService(Service78, bus));
|
|
260
260
|
});
|
|
261
261
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
262
262
|
const session = yield* get(sessionID);
|
|
263
263
|
if (yield* execution.isActive(sessionID))
|
|
264
264
|
return yield* new BusyError2({ sessionID });
|
|
265
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
265
|
+
yield* clear2(session).pipe(Effect.provideService(Service41, instances), Effect.provideService(Service78, bus));
|
|
266
266
|
return yield* execution.wake(sessionID);
|
|
267
267
|
});
|
|
268
268
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -348,4 +348,4 @@ function isUnfinishedTool(content) {
|
|
|
348
348
|
return content.type === "tool" && (content.state.status === "streaming" || content.state.status === "running");
|
|
349
349
|
}
|
|
350
350
|
|
|
351
|
-
export {
|
|
351
|
+
export { make15, exports_session2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse4,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse4(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse5(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse4(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse4, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-t51qk8jz.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info22
|
|
9
|
+
} from "./location-mutation-49w8mb30.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info21
|
|
12
|
+
} from "./location-mutation-z3pw5915.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info27
|
|
15
|
+
} from "./location-mutation-zv0544jz.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info26
|
|
18
|
+
} from "./location-mutation-f90chkmn.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-mutation-2k8khapm.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info19
|
|
24
|
+
} from "./location-mutation-qte5z7bc.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info18
|
|
27
|
+
} from "./location-mutation-0dxcrxxv.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-mutation-6fdj6kdr.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./location-mutation-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(Info18.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(Info21, 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, Info27, ["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, Info22, ["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, Info22, ["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(Info26, 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(Info19, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|