@opencode/core 0.0.0-dev-20533 → 0.0.0-dev-20535
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 +89 -89
- package/dist/aisdk.js +92 -92
- package/dist/app.js +7 -7
- package/dist/bus.js +69 -69
- package/dist/chunks/{image-tbnnfq83.js → location-lifecycle-07sx05rd.js} +22 -22
- package/dist/chunks/{image-qwzhw6b4.js → location-lifecycle-0bhpkekq.js} +8 -8
- package/dist/chunks/{image-mqzwkyay.js → location-lifecycle-0bsghn5e.js} +6 -6
- package/dist/chunks/{image-zvma4j48.js → location-lifecycle-0e82m426.js} +6 -6
- package/dist/chunks/{image-aa1twyr9.js → location-lifecycle-0gkfshk2.js} +4 -4
- package/dist/chunks/{image-q0xm7vwc.js → location-lifecycle-0j77ygfz.js} +6 -6
- package/dist/chunks/{image-rydwr5yq.js → location-lifecycle-0nkh1k5w.js} +16 -16
- package/dist/chunks/{image-0paq2nw3.js → location-lifecycle-0paq2nw3.js} +1 -1
- package/dist/chunks/{image-f0c8m7at.js → location-lifecycle-0scwa2te.js} +8 -8
- package/dist/chunks/{image-pwy55j0r.js → location-lifecycle-0v2dx3j3.js} +26 -26
- package/dist/chunks/{image-0vbcp93d.js → location-lifecycle-0vbcp93d.js} +2 -2
- package/dist/chunks/{image-h0dk06es.js → location-lifecycle-0ycvzcn0.js} +22 -22
- package/dist/chunks/{image-2z5cr914.js → location-lifecycle-15k3pxq6.js} +11 -11
- package/dist/chunks/{image-fqkjn7y7.js → location-lifecycle-1939w7n0.js} +1 -1
- package/dist/chunks/{image-1acjjqhc.js → location-lifecycle-1acjjqhc.js} +1 -1
- package/dist/chunks/{image-04aqpn0x.js → location-lifecycle-1by8q8gy.js} +8 -8
- package/dist/chunks/{image-t5y568kv.js → location-lifecycle-1ceg9j5x.js} +11 -11
- package/dist/chunks/{image-xbkfksat.js → location-lifecycle-1d7hs7qx.js} +27 -27
- package/dist/chunks/{image-1dazxqgg.js → location-lifecycle-1dazxqgg.js} +2 -2
- package/dist/chunks/{image-84h8c373.js → location-lifecycle-1dvck2a7.js} +2 -2
- package/dist/chunks/{image-kww3qs6q.js → location-lifecycle-1dwdqh51.js} +21 -21
- package/dist/chunks/{image-7c6s17vd.js → location-lifecycle-1km8yjzf.js} +10 -10
- package/dist/chunks/{image-q2yq2gjj.js → location-lifecycle-1pnd0ms9.js} +9 -9
- package/dist/chunks/{image-qv7mm2ys.js → location-lifecycle-1r9k6bp6.js} +20 -20
- package/dist/chunks/{image-ck81h70z.js → location-lifecycle-1tg0m3f2.js} +25 -25
- package/dist/chunks/{image-j8s9ab9g.js → location-lifecycle-1z18ck0n.js} +9 -9
- package/dist/chunks/{image-j3r0htje.js → location-lifecycle-1zpa60w1.js} +2 -2
- package/dist/chunks/{image-sw6reqhd.js → location-lifecycle-22d5tbsm.js} +26 -26
- package/dist/chunks/{image-65h3y7s4.js → location-lifecycle-282m64jk.js} +23 -23
- package/dist/chunks/{image-7xefxa1b.js → location-lifecycle-29v72d7w.js} +18 -18
- package/dist/chunks/{image-2a5m3afh.js → location-lifecycle-2a5m3afh.js} +1 -1
- package/dist/chunks/{image-4ts7tf6z.js → location-lifecycle-2ccvkpx1.js} +2 -2
- package/dist/chunks/{image-jzsdzy65.js → location-lifecycle-2f44fkvp.js} +16 -16
- package/dist/chunks/{image-qgn6gcr1.js → location-lifecycle-2k8khapm.js} +5 -5
- package/dist/chunks/{image-ca74j1r2.js → location-lifecycle-2nqt5sq2.js} +4 -4
- package/dist/chunks/{image-kvvk39gs.js → location-lifecycle-2pnhn36q.js} +21 -21
- package/dist/chunks/{image-q52fpcke.js → location-lifecycle-2pzd33ph.js} +10 -10
- package/dist/chunks/{image-6kxx5nj2.js → location-lifecycle-2rr1dmep.js} +12 -12
- package/dist/chunks/{image-6mq306kf.js → location-lifecycle-30bdwbc7.js} +15 -15
- package/dist/chunks/{image-jeewpkja.js → location-lifecycle-32468j0v.js} +16 -16
- package/dist/chunks/{image-1ygqh575.js → location-lifecycle-33w4ejhs.js} +6 -6
- package/dist/chunks/{image-3fc6dm20.js → location-lifecycle-3fc6dm20.js} +1 -1
- package/dist/chunks/{image-w9b9h2fr.js → location-lifecycle-3g2zrkdh.js} +22 -22
- package/dist/chunks/{image-3hepkmqq.js → location-lifecycle-3hepkmqq.js} +1 -1
- package/dist/chunks/{image-3smtnn6g.js → location-lifecycle-3smtnn6g.js} +1 -1
- package/dist/chunks/{image-3tvqynh2.js → location-lifecycle-3tvqynh2.js} +1 -1
- package/dist/chunks/{image-3yqb6p60.js → location-lifecycle-3xz882ha.js} +13 -13
- package/dist/chunks/{image-mqxcq9ag.js → location-lifecycle-3y9bq3t8.js} +6 -6
- package/dist/chunks/{image-besg32kx.js → location-lifecycle-3zcr02n0.js} +20 -20
- package/dist/chunks/{image-3zsf4n22.js → location-lifecycle-3zsf4n22.js} +1 -1
- package/dist/chunks/{image-tv99pcdp.js → location-lifecycle-41w4b929.js} +4 -4
- package/dist/chunks/{image-165224c5.js → location-lifecycle-43jzacey.js} +86 -86
- package/dist/chunks/{image-f4kf9m1y.js → location-lifecycle-46kgc994.js} +17 -17
- package/dist/chunks/{image-0bwnrbmb.js → location-lifecycle-47jkzegy.js} +5 -5
- package/dist/chunks/{image-aeknpwjp.js → location-lifecycle-4acqjqp7.js} +24 -24
- package/dist/chunks/{image-vf6bps2h.js → location-lifecycle-4am51pza.js} +3 -3
- package/dist/chunks/{image-30af84ad.js → location-lifecycle-4cpvpysf.js} +2 -2
- package/dist/chunks/{image-9gtn0d49.js → location-lifecycle-4x9djjc4.js} +11 -11
- package/dist/chunks/{image-54ma36ye.js → location-lifecycle-54ma36ye.js} +1 -1
- package/dist/chunks/{image-q5ngfwmn.js → location-lifecycle-552k7wfb.js} +28 -28
- package/dist/chunks/{image-ssw4eee2.js → location-lifecycle-5bq7627t.js} +9 -9
- package/dist/chunks/{image-v9s4hws0.js → location-lifecycle-5cex9my4.js} +18 -18
- package/dist/chunks/{image-5daktx2q.js → location-lifecycle-5daktx2q.js} +1 -1
- package/dist/chunks/{image-nqxj0yn4.js → location-lifecycle-5pyjqqve.js} +2 -2
- package/dist/chunks/{image-5t3nmthw.js → location-lifecycle-5t3nmthw.js} +2 -2
- package/dist/chunks/{image-4wg1qszp.js → location-lifecycle-5tajath8.js} +43 -43
- package/dist/chunks/{image-8mfdap3f.js → location-lifecycle-64s65d1n.js} +8 -8
- package/dist/chunks/{image-2y53w5jf.js → location-lifecycle-6672b6s3.js} +20 -20
- package/dist/chunks/{image-669tq793.js → location-lifecycle-669tq793.js} +1 -1
- package/dist/chunks/{image-j9xcz2tx.js → location-lifecycle-690dmhw7.js} +32 -32
- package/dist/chunks/{image-rz9jawm0.js → location-lifecycle-69cb10yd.js} +7 -7
- package/dist/chunks/{image-zsrjdhgv.js → location-lifecycle-6h1ernme.js} +11 -11
- package/dist/chunks/{image-m72vf2gd.js → location-lifecycle-6tqnngr9.js} +21 -21
- package/dist/chunks/{image-rm42a5p7.js → location-lifecycle-6tx90z9a.js} +35 -35
- package/dist/chunks/{image-e2s36tnm.js → location-lifecycle-6y58gcrp.js} +7 -7
- package/dist/chunks/{image-f75zav2x.js → location-lifecycle-71az546q.js} +2 -2
- package/dist/chunks/{image-a1gpj94z.js → location-lifecycle-73tb2d7t.js} +3 -3
- package/dist/chunks/{image-0na1b1gm.js → location-lifecycle-75drba76.js} +31 -31
- package/dist/chunks/{image-nhvya3p1.js → location-lifecycle-78f8r371.js} +23 -23
- package/dist/chunks/{image-7bmhse3q.js → location-lifecycle-7bmhse3q.js} +1 -1
- package/dist/chunks/{image-15nepkqg.js → location-lifecycle-7rwqf82v.js} +8 -8
- package/dist/chunks/{image-84txncab.js → location-lifecycle-84txncab.js} +1 -1
- package/dist/chunks/{image-4xxx3g7n.js → location-lifecycle-86z5p05p.js} +15 -15
- package/dist/chunks/{image-xzemz1mp.js → location-lifecycle-873bvtxw.js} +11 -11
- package/dist/chunks/{image-9s8yzpye.js → location-lifecycle-898qk1ez.js} +14 -14
- package/dist/chunks/{image-hm9hwmm7.js → location-lifecycle-8bc2h5yp.js} +31 -31
- package/dist/chunks/{image-8d7r5vzw.js → location-lifecycle-8d7r5vzw.js} +1 -1
- package/dist/chunks/{image-zntmvw6r.js → location-lifecycle-8g21xg0k.js} +83 -83
- package/dist/chunks/{image-dhs430jm.js → location-lifecycle-8qsm6kgd.js} +7 -7
- package/dist/chunks/{image-tke1j2mf.js → location-lifecycle-91dhey85.js} +35 -35
- package/dist/chunks/{image-dfzt7k9z.js → location-lifecycle-94777j88.js} +13 -13
- package/dist/chunks/{image-aesyxyae.js → location-lifecycle-95602wf3.js} +18 -18
- package/dist/chunks/{image-5f3byeqc.js → location-lifecycle-9873vd5r.js} +2 -2
- package/dist/chunks/{image-ttxcsnx6.js → location-lifecycle-994gnss8.js} +26 -26
- package/dist/chunks/{image-9gtf3fja.js → location-lifecycle-9bk8gjdr.js} +5 -5
- package/dist/chunks/{image-vkkt5te1.js → location-lifecycle-9c9gh7nd.js} +11 -11
- package/dist/chunks/{image-kb9j3d72.js → location-lifecycle-9e5bzkjp.js} +3 -3
- package/dist/chunks/{image-rcs4n31g.js → location-lifecycle-9fsty3k1.js} +43 -43
- package/dist/chunks/{image-t71v2ka4.js → location-lifecycle-9pkkzrmj.js} +5 -5
- package/dist/chunks/{image-9tcd6kf4.js → location-lifecycle-9tyrtz8a.js} +11 -11
- package/dist/chunks/{image-5vw7j8zj.js → location-lifecycle-a42dpdf1.js} +11 -11
- package/dist/chunks/{image-yd14hhn6.js → location-lifecycle-a42mzvv3.js} +20 -20
- package/dist/chunks/{image-aaet6srn.js → location-lifecycle-aaet6srn.js} +2 -2
- package/dist/chunks/{image-qdhtzqa2.js → location-lifecycle-aahkpbt7.js} +11 -11
- package/dist/chunks/{image-addxnjmp.js → location-lifecycle-addxnjmp.js} +1 -1
- package/dist/chunks/{image-jtcz6fmx.js → location-lifecycle-ahk52yz8.js} +9 -9
- package/dist/chunks/{image-21tvpp2c.js → location-lifecycle-as7cf5zz.js} +4 -4
- package/dist/chunks/{image-8rqycdgd.js → location-lifecycle-b27vhd2z.js} +7 -7
- package/dist/chunks/{image-nbmzwga5.js → location-lifecycle-b2wdxpeb.js} +25 -25
- package/dist/chunks/{image-0w122yxh.js → location-lifecycle-b43jjv6s.js} +22 -22
- package/dist/chunks/{image-8sze2n9a.js → location-lifecycle-b4twkq7r.js} +2 -2
- package/dist/chunks/{image-r8evdm5r.js → location-lifecycle-b4wfk0z8.js} +23 -23
- package/dist/chunks/{image-b6gygkdw.js → location-lifecycle-b6gygkdw.js} +2 -2
- package/dist/chunks/{image-3t8d2924.js → location-lifecycle-bheqq09h.js} +10 -10
- package/dist/chunks/{image-jza4j236.js → location-lifecycle-bmh9ja81.js} +10 -10
- package/dist/chunks/{image-3qbdf9ts.js → location-lifecycle-bzn08np2.js} +9 -9
- package/dist/chunks/{image-q9wfmdme.js → location-lifecycle-c1rqj0yd.js} +11 -11
- package/dist/chunks/{image-czzmkzgf.js → location-lifecycle-c1tymm8v.js} +3 -3
- package/dist/chunks/{image-ky6yw5g0.js → location-lifecycle-ckbnwpw7.js} +14 -14
- package/dist/chunks/{image-0sx8qwq0.js → location-lifecycle-cm1dfvyn.js} +28 -28
- package/dist/chunks/{image-k1gkpfdk.js → location-lifecycle-cmmdg65p.js} +8 -8
- package/dist/chunks/{image-djszqvmq.js → location-lifecycle-cwa6csj7.js} +9 -9
- package/dist/chunks/{image-px9wmdnb.js → location-lifecycle-d25npnz3.js} +13 -13
- package/dist/chunks/location-lifecycle-d3tc4tjd.js +26 -0
- package/dist/chunks/{image-801vz39t.js → location-lifecycle-d4ws25m7.js} +24 -24
- package/dist/chunks/{image-e425rb6v.js → location-lifecycle-d8dfygvh.js} +17 -17
- package/dist/chunks/{image-zvt5dnpc.js → location-lifecycle-dhmh7aw6.js} +4 -4
- package/dist/chunks/{image-tjedn1bk.js → location-lifecycle-dj68pnee.js} +4 -4
- package/dist/chunks/{image-dpkg50ah.js → location-lifecycle-dpkg50ah.js} +1 -1
- package/dist/chunks/{image-rbprr21d.js → location-lifecycle-dwgn9ef9.js} +49 -49
- package/dist/chunks/{image-5qd3pb7m.js → location-lifecycle-e3qxr5gk.js} +2 -2
- package/dist/chunks/{image-ef5x83kb.js → location-lifecycle-ef5x83kb.js} +1 -1
- package/dist/chunks/{image-pcf5kfm0.js → location-lifecycle-ej0hnc21.js} +8 -8
- package/dist/chunks/{image-pttj84yp.js → location-lifecycle-etabjzr7.js} +32 -32
- package/dist/chunks/{image-etq0c3wd.js → location-lifecycle-etq0c3wd.js} +1 -1
- package/dist/chunks/{image-z8ye16b1.js → location-lifecycle-f2v738h8.js} +17 -17
- package/dist/chunks/{image-z8v9jae5.js → location-lifecycle-f8yba1yh.js} +7 -7
- package/dist/chunks/{image-4npmrd5n.js → location-lifecycle-fb4649a6.js} +10 -10
- package/dist/chunks/{image-yh4t3zdw.js → location-lifecycle-fc8djgcz.js} +4 -4
- package/dist/chunks/{image-h6h0qx3d.js → location-lifecycle-fcnj6g2x.js} +31 -31
- package/dist/chunks/{image-x56pwdce.js → location-lifecycle-fz4kykrw.js} +10 -10
- package/dist/chunks/{image-dhwpmhdd.js → location-lifecycle-g0dmf1w8.js} +4 -4
- package/dist/chunks/{image-bn712fd7.js → location-lifecycle-g3vtmm8t.js} +14 -14
- package/dist/chunks/{image-xfkkasph.js → location-lifecycle-g5w8qwbj.js} +4 -4
- package/dist/chunks/{image-ejsrhqvc.js → location-lifecycle-g98nebmc.js} +3 -3
- package/dist/chunks/{image-8qeptwcf.js → location-lifecycle-g9xb18k6.js} +39 -39
- package/dist/chunks/{image-gd4qta3r.js → location-lifecycle-gd4qta3r.js} +1 -1
- package/dist/chunks/{image-k70p9jzb.js → location-lifecycle-gh5z95q3.js} +9 -9
- package/dist/chunks/{image-42497aj7.js → location-lifecycle-gsb76xq5.js} +9 -9
- package/dist/chunks/{image-3cegwx68.js → location-lifecycle-h2b79v29.js} +2 -2
- package/dist/chunks/{image-k5kkq75a.js → location-lifecycle-h3gdd6pr.js} +6 -6
- package/dist/chunks/{image-h6vf3j39.js → location-lifecycle-h6vf3j39.js} +1 -1
- package/dist/chunks/{image-n1n192bv.js → location-lifecycle-h9wp8z5w.js} +4 -4
- package/dist/chunks/{image-hhgjswkb.js → location-lifecycle-hhssyx3d.js} +3 -3
- package/dist/chunks/{image-s9qk69v9.js → location-lifecycle-hj6h9v2q.js} +22 -22
- package/dist/chunks/{image-v310650k.js → location-lifecycle-hn9bfqd2.js} +3 -3
- package/dist/chunks/location-lifecycle-hsm22fm8.js +507 -0
- package/dist/chunks/{image-j56e64zr.js → location-lifecycle-j56e64zr.js} +1 -1
- package/dist/chunks/{image-ans8dmj5.js → location-lifecycle-jb7het3s.js} +33 -33
- package/dist/chunks/{image-h53jngsn.js → location-lifecycle-je4b2qmg.js} +10 -10
- package/dist/chunks/{image-btxt8gzs.js → location-lifecycle-jppt1rjb.js} +5 -5
- package/dist/chunks/{image-ep0fakv4.js → location-lifecycle-jps7dgtz.js} +1 -1
- package/dist/chunks/location-lifecycle-jqh9b0xq.js +18 -0
- package/dist/chunks/{image-11dqjexa.js → location-lifecycle-k79tzb9n.js} +9 -9
- package/dist/chunks/{image-dssbfrwz.js → location-lifecycle-kjdm35cs.js} +5 -5
- package/dist/chunks/{image-5nwak147.js → location-lifecycle-kmjn1c68.js} +1 -1
- package/dist/chunks/{image-m3fdjcah.js → location-lifecycle-m3fdjcah.js} +1 -1
- package/dist/chunks/{image-m9w0rfyh.js → location-lifecycle-m9w0rfyh.js} +1 -1
- package/dist/chunks/{image-b0fxdq5g.js → location-lifecycle-mjwrmw8m.js} +16 -16
- package/dist/chunks/{image-tz7vcdn8.js → location-lifecycle-n6v1kjdj.js} +18 -18
- package/dist/chunks/{image-1w4dgp74.js → location-lifecycle-na3wgvqv.js} +18 -18
- package/dist/chunks/{image-pm8wv035.js → location-lifecycle-nfwsd2wz.js} +22 -22
- package/dist/chunks/{image-3ykdjwsk.js → location-lifecycle-nkbqs3g6.js} +6 -6
- package/dist/chunks/{image-2z8cmg4f.js → location-lifecycle-nkds7jx8.js} +48 -48
- package/dist/chunks/{image-6ajmbb10.js → location-lifecycle-nkt16fdq.js} +8 -8
- package/dist/chunks/{image-swz9yf49.js → location-lifecycle-nmnpyd04.js} +33 -33
- package/dist/chunks/{image-a6ty810w.js → location-lifecycle-npnfhgdm.js} +3 -3
- package/dist/chunks/{image-t6v32j07.js → location-lifecycle-nstb75wk.js} +8 -8
- package/dist/chunks/{image-sqd8sfd6.js → location-lifecycle-p4k43wtd.js} +39 -39
- package/dist/chunks/{image-3pt18ddt.js → location-lifecycle-p4vetzf1.js} +20 -20
- package/dist/chunks/{image-jnbzx70p.js → location-lifecycle-pahh5t2v.js} +32 -32
- package/dist/chunks/{image-rnr5nq63.js → location-lifecycle-pfvt33xv.js} +19 -19
- package/dist/chunks/{image-pjvnvgmy.js → location-lifecycle-pjvnvgmy.js} +1 -1
- package/dist/chunks/{image-pknna89w.js → location-lifecycle-pknna89w.js} +1 -1
- package/dist/chunks/{image-1ypajzm3.js → location-lifecycle-q8yq8p4p.js} +50 -50
- package/dist/chunks/{image-4wrkd8nn.js → location-lifecycle-qkpjj9ac.js} +11 -11
- package/dist/chunks/{image-qnc92qwc.js → location-lifecycle-qnc92qwc.js} +1 -1
- package/dist/chunks/{image-1dawjks7.js → location-lifecycle-qptkjjgh.js} +10 -10
- package/dist/chunks/{image-9y4fyvj9.js → location-lifecycle-qqh4zmm5.js} +14 -14
- package/dist/chunks/{image-6dher0rp.js → location-lifecycle-qrcp6eaz.js} +22 -22
- package/dist/chunks/{image-qsdy395h.js → location-lifecycle-qsdy395h.js} +1 -1
- package/dist/chunks/{image-f62qkzqr.js → location-lifecycle-qvreyy9g.js} +5 -5
- package/dist/chunks/{image-0nkbh456.js → location-lifecycle-qvycepcz.js} +11 -11
- package/dist/chunks/{image-zb1e6psc.js → location-lifecycle-qy4y809k.js} +1 -1
- package/dist/chunks/{image-rdw6cm16.js → location-lifecycle-rdw6cm16.js} +1 -1
- package/dist/chunks/{image-s8d7rejh.js → location-lifecycle-rhjbct0v.js} +4 -4
- package/dist/chunks/{image-srfcfy2e.js → location-lifecycle-rkjtbz9b.js} +7 -7
- package/dist/chunks/{image-f9t2jyhr.js → location-lifecycle-s18ckmxt.js} +8 -8
- package/dist/chunks/{image-p4rtc4a0.js → location-lifecycle-s46bvgjk.js} +6 -6
- package/dist/chunks/{image-vh0kh8n7.js → location-lifecycle-sbrt3acp.js} +3 -3
- package/dist/chunks/{image-scgrse2b.js → location-lifecycle-scgrse2b.js} +2 -2
- package/dist/chunks/{image-azqq1d0c.js → location-lifecycle-sf8sjdhe.js} +14 -14
- package/dist/chunks/{image-jzt42scw.js → location-lifecycle-sg61p01e.js} +26 -26
- package/dist/chunks/{image-88586yk8.js → location-lifecycle-sm6w2bz2.js} +10 -10
- package/dist/chunks/{image-2wv53gaq.js → location-lifecycle-sngt7528.js} +6 -6
- package/dist/chunks/{image-qq8ybhxb.js → location-lifecycle-sp86hna6.js} +8 -8
- package/dist/chunks/{image-97q8t400.js → location-lifecycle-sq98p4gc.js} +69 -69
- package/dist/chunks/{image-w9vf9qqj.js → location-lifecycle-sqmzwr9m.js} +9 -9
- package/dist/chunks/{image-5em88vt3.js → location-lifecycle-sr6fdfqw.js} +2 -2
- package/dist/chunks/{image-v30ksjc9.js → location-lifecycle-ss49yqwr.js} +33 -33
- package/dist/chunks/{image-zpf8gqaa.js → location-lifecycle-svp7vvzg.js} +20 -20
- package/dist/chunks/{image-zmnekn2y.js → location-lifecycle-szaqhn9w.js} +18 -18
- package/dist/chunks/{image-9w6z1msx.js → location-lifecycle-t4e7bteg.js} +10 -10
- package/dist/chunks/{image-ax8wm56r.js → location-lifecycle-t4ncyknz.js} +25 -25
- package/dist/chunks/{image-tazgh4e4.js → location-lifecycle-tazgh4e4.js} +1 -1
- package/dist/chunks/{image-909p1r3q.js → location-lifecycle-tcay1cqt.js} +6 -6
- package/dist/chunks/{image-tcezcvh9.js → location-lifecycle-tcezcvh9.js} +1 -1
- package/dist/chunks/{image-tdstcens.js → location-lifecycle-tdstcens.js} +1 -1
- package/dist/chunks/{image-6n84hwn8.js → location-lifecycle-teqjz85p.js} +27 -27
- package/dist/chunks/{image-mff15jza.js → location-lifecycle-tjnrwj2r.js} +13 -13
- package/dist/chunks/{image-p37cw4rj.js → location-lifecycle-tpw6cwsb.js} +8 -8
- package/dist/chunks/{image-416yb7k1.js → location-lifecycle-tw133gqa.js} +4 -4
- package/dist/chunks/{image-dbv05mm3.js → location-lifecycle-tx92n959.js} +4 -4
- package/dist/chunks/{image-nxdkcg0t.js → location-lifecycle-v04jhypy.js} +3 -3
- package/dist/chunks/{image-v0es1rhs.js → location-lifecycle-v0es1rhs.js} +2 -2
- package/dist/chunks/{image-ttswb5c4.js → location-lifecycle-v6vmdx40.js} +11 -11
- package/dist/chunks/{image-2vb0m4sa.js → location-lifecycle-va05h2eb.js} +4 -4
- package/dist/chunks/{image-veqvce7d.js → location-lifecycle-veqvce7d.js} +1 -1
- package/dist/chunks/{image-wabv6zcf.js → location-lifecycle-vj4qxq9v.js} +6 -6
- package/dist/chunks/{image-mc1xwb8r.js → location-lifecycle-vk85m1cd.js} +19 -19
- package/dist/chunks/{image-7w85bd0v.js → location-lifecycle-vnfn73bd.js} +13 -13
- package/dist/chunks/{image-0q9kf5tv.js → location-lifecycle-vtwh0ybb.js} +4 -4
- package/dist/chunks/{image-arz7hw7x.js → location-lifecycle-vx3jgdek.js} +2 -2
- package/dist/chunks/{image-ccvzzz8a.js → location-lifecycle-vz5qkhas.js} +9 -9
- package/dist/chunks/{image-vzcthcp8.js → location-lifecycle-vzcthcp8.js} +1 -1
- package/dist/chunks/{image-vzs5sf6e.js → location-lifecycle-vzs5sf6e.js} +1 -1
- package/dist/chunks/{image-m96306pw.js → location-lifecycle-w0s6cbbd.js} +10 -10
- package/dist/chunks/{image-0ze6xpc4.js → location-lifecycle-w1rb86xs.js} +5 -5
- package/dist/chunks/{image-5a1rh38j.js → location-lifecycle-w2q90t3v.js} +1 -1
- package/dist/chunks/{image-w3wsvvr9.js → location-lifecycle-w3wsvvr9.js} +1 -1
- package/dist/chunks/{image-p6mn5kpz.js → location-lifecycle-w51662na.js} +17 -17
- package/dist/chunks/{image-dmdxn4pm.js → location-lifecycle-w6mjjabf.js} +18 -18
- package/dist/chunks/{image-jdzgxeqc.js → location-lifecycle-w8p85wv5.js} +21 -21
- package/dist/chunks/{image-mjh3e1an.js → location-lifecycle-wc6mqrkt.js} +11 -11
- package/dist/chunks/{image-zq8gz19f.js → location-lifecycle-wd69ja6n.js} +16 -16
- package/dist/chunks/{image-wd87259q.js → location-lifecycle-wd87259q.js} +1 -1
- package/dist/chunks/{image-rfkpwr2j.js → location-lifecycle-wfkyctbs.js} +11 -11
- package/dist/chunks/{image-3eqhsn6r.js → location-lifecycle-wkxx1k39.js} +13 -13
- package/dist/chunks/{image-w4p6zx7p.js → location-lifecycle-wppnfge8.js} +22 -22
- package/dist/chunks/{image-c61xtve1.js → location-lifecycle-wr5rgz16.js} +15 -15
- package/dist/chunks/{image-x1ezjp6w.js → location-lifecycle-x1ezjp6w.js} +1 -1
- package/dist/chunks/{image-zt6rd191.js → location-lifecycle-xh9bbay6.js} +2 -2
- package/dist/chunks/{image-dmqcgk4z.js → location-lifecycle-xkntkrq7.js} +5 -5
- package/dist/chunks/{image-k17pjak8.js → location-lifecycle-xnwk9s11.js} +16 -16
- package/dist/chunks/{image-0bzve7m2.js → location-lifecycle-xq4dcn1y.js} +3 -3
- package/dist/chunks/{image-xyafkbt0.js → location-lifecycle-xyafkbt0.js} +3 -3
- package/dist/chunks/{image-j8me8hvw.js → location-lifecycle-xzd8wky2.js} +27 -27
- package/dist/chunks/{image-kv97enbb.js → location-lifecycle-xzyz2zx0.js} +33 -33
- package/dist/chunks/{image-kt0esg8p.js → location-lifecycle-y022z9rs.js} +5 -5
- package/dist/chunks/{image-6bcqaf1k.js → location-lifecycle-y0snmbkx.js} +5 -5
- package/dist/chunks/{image-y1fvbwt7.js → location-lifecycle-y1fvbwt7.js} +1 -1
- package/dist/chunks/{image-6dz2y33h.js → location-lifecycle-y73bg6kc.js} +7 -7
- package/dist/chunks/{image-0y1042ra.js → location-lifecycle-ye4bqggb.js} +9 -9
- package/dist/chunks/{image-yf10kn3d.js → location-lifecycle-yf10kn3d.js} +1 -1
- package/dist/chunks/{image-vzbxwz1d.js → location-lifecycle-yg62bcth.js} +11 -11
- package/dist/chunks/{image-jmfmmy6v.js → location-lifecycle-yhczbtyj.js} +19 -19
- package/dist/chunks/{image-yrhqyw5v.js → location-lifecycle-yrhqyw5v.js} +1 -1
- package/dist/chunks/{image-44ak30pa.js → location-lifecycle-ywxndyv1.js} +4 -4
- package/dist/chunks/{image-t01ha5fv.js → location-lifecycle-yy4a9g2j.js} +9 -9
- package/dist/chunks/{image-z0bkrqjs.js → location-lifecycle-z0bkrqjs.js} +1 -1
- package/dist/chunks/{image-28n5w14t.js → location-lifecycle-z3c6j0rd.js} +24 -24
- package/dist/chunks/location-lifecycle-z6hn3zpk.js +253 -0
- package/dist/chunks/{image-rrpq0de9.js → location-lifecycle-zc5g640q.js} +5 -5
- package/dist/chunks/{image-ahzha35r.js → location-lifecycle-zkr5nhe0.js} +15 -15
- package/dist/chunks/{image-cemmg988.js → location-lifecycle-znh8mc8m.js} +129 -129
- package/dist/chunks/{image-ns3eape4.js → location-lifecycle-znsx74x0.js} +1 -1
- package/dist/chunks/{image-zr2ceqn5.js → location-lifecycle-zr2ceqn5.js} +1 -1
- package/dist/chunks/{image-dasd50vc.js → location-lifecycle-ztgaggky.js} +1 -1
- package/dist/chunks/{image-zxq2ej10.js → location-lifecycle-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +205 -205
- package/dist/config/plugin/compaction.js +152 -152
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +88 -88
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +135 -135
- package/dist/config/plugin/snapshot.js +116 -116
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +73 -73
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +364 -364
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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/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 +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +102 -102
- package/dist/form.js +70 -70
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- 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 +99 -99
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +355 -355
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +77 -77
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +352 -352
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +1 -1
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +75 -75
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +115 -115
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- 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/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +216 -216
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +89 -89
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- 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 +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +113 -113
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- 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 +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +205 -205
- package/dist/session/usage.js +1 -1
- package/dist/session.js +209 -209
- 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 +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +208 -208
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +98 -98
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/image-9sh4wc5j.js +0 -18
- package/dist/chunks/image-d7cq9ezy.js +0 -507
- package/dist/chunks/image-k9hpsh7n.js +0 -26
- package/dist/chunks/image-vc89bnvz.js +0 -253
- /package/dist/chunks/{image-0qkdqm5v.js → location-lifecycle-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{image-0zkw76rk.js → location-lifecycle-0zkw76rk.js} +0 -0
- /package/dist/chunks/{image-17cy0kzp.js → location-lifecycle-17cy0kzp.js} +0 -0
- /package/dist/chunks/{image-1cnp2v09.js → location-lifecycle-1cnp2v09.js} +0 -0
- /package/dist/chunks/{image-1kg9ymc8.js → location-lifecycle-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{image-24dcb14g.js → location-lifecycle-24dcb14g.js} +0 -0
- /package/dist/chunks/{image-2710q6r3.js → location-lifecycle-2710q6r3.js} +0 -0
- /package/dist/chunks/{image-2axfhc9x.js → location-lifecycle-2axfhc9x.js} +0 -0
- /package/dist/chunks/{image-2c3vjs8z.js → location-lifecycle-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{image-34c7v6d4.js → location-lifecycle-34c7v6d4.js} +0 -0
- /package/dist/chunks/{image-359p4xyc.js → location-lifecycle-359p4xyc.js} +0 -0
- /package/dist/chunks/{image-3asan66x.js → location-lifecycle-3asan66x.js} +0 -0
- /package/dist/chunks/{image-3t0ybcrp.js → location-lifecycle-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{image-3v8g72cx.js → location-lifecycle-3v8g72cx.js} +0 -0
- /package/dist/chunks/{image-3w5fmr99.js → location-lifecycle-3w5fmr99.js} +0 -0
- /package/dist/chunks/{image-3wcehsnq.js → location-lifecycle-3wcehsnq.js} +0 -0
- /package/dist/chunks/{image-43n2bw4t.js → location-lifecycle-43n2bw4t.js} +0 -0
- /package/dist/chunks/{image-4knz6hnm.js → location-lifecycle-4knz6hnm.js} +0 -0
- /package/dist/chunks/{image-4vcrnpx2.js → location-lifecycle-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{image-4y7fprxs.js → location-lifecycle-4y7fprxs.js} +0 -0
- /package/dist/chunks/{image-53557ph1.js → location-lifecycle-53557ph1.js} +0 -0
- /package/dist/chunks/{image-550bvhaj.js → location-lifecycle-550bvhaj.js} +0 -0
- /package/dist/chunks/{image-6prwharc.js → location-lifecycle-6prwharc.js} +0 -0
- /package/dist/chunks/{image-7akdwqpd.js → location-lifecycle-7akdwqpd.js} +0 -0
- /package/dist/chunks/{image-7m9af43g.js → location-lifecycle-7m9af43g.js} +0 -0
- /package/dist/chunks/{image-822emrt2.js → location-lifecycle-822emrt2.js} +0 -0
- /package/dist/chunks/{image-88xbtdfr.js → location-lifecycle-88xbtdfr.js} +0 -0
- /package/dist/chunks/{image-8n3pysct.js → location-lifecycle-8n3pysct.js} +0 -0
- /package/dist/chunks/{image-8wj87zfr.js → location-lifecycle-8wj87zfr.js} +0 -0
- /package/dist/chunks/{image-9a4afbnw.js → location-lifecycle-9a4afbnw.js} +0 -0
- /package/dist/chunks/{image-9rqn6x4v.js → location-lifecycle-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{image-a6k6eb26.js → location-lifecycle-a6k6eb26.js} +0 -0
- /package/dist/chunks/{image-af5trqkr.js → location-lifecycle-af5trqkr.js} +0 -0
- /package/dist/chunks/{image-afrmfg78.js → location-lifecycle-afrmfg78.js} +0 -0
- /package/dist/chunks/{image-aqzs7mqg.js → location-lifecycle-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{image-atq7p7m5.js → location-lifecycle-atq7p7m5.js} +0 -0
- /package/dist/chunks/{image-bkyjaxrp.js → location-lifecycle-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{image-bmr6ed5q.js → location-lifecycle-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{image-cf4snx6d.js → location-lifecycle-cf4snx6d.js} +0 -0
- /package/dist/chunks/{image-cvy3z8tj.js → location-lifecycle-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{image-d9fn303g.js → location-lifecycle-d9fn303g.js} +0 -0
- /package/dist/chunks/{image-d9jj8t3e.js → location-lifecycle-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{image-dajrwvna.js → location-lifecycle-dajrwvna.js} +0 -0
- /package/dist/chunks/{image-dap0rakb.js → location-lifecycle-dap0rakb.js} +0 -0
- /package/dist/chunks/{image-df08tz66.js → location-lifecycle-df08tz66.js} +0 -0
- /package/dist/chunks/{image-dy18nga0.js → location-lifecycle-dy18nga0.js} +0 -0
- /package/dist/chunks/{image-e5kj55wp.js → location-lifecycle-e5kj55wp.js} +0 -0
- /package/dist/chunks/{image-e73j6tqm.js → location-lifecycle-e73j6tqm.js} +0 -0
- /package/dist/chunks/{image-ec1grn59.js → location-lifecycle-ec1grn59.js} +0 -0
- /package/dist/chunks/{image-eh3zwz77.js → location-lifecycle-eh3zwz77.js} +0 -0
- /package/dist/chunks/{image-emrn6kk6.js → location-lifecycle-emrn6kk6.js} +0 -0
- /package/dist/chunks/{image-f0mxakyp.js → location-lifecycle-f0mxakyp.js} +0 -0
- /package/dist/chunks/{image-f6n9ztr4.js → location-lifecycle-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{image-faypxj3z.js → location-lifecycle-faypxj3z.js} +0 -0
- /package/dist/chunks/{image-fd410y7t.js → location-lifecycle-fd410y7t.js} +0 -0
- /package/dist/chunks/{image-fxgpk5d8.js → location-lifecycle-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{image-g4wezp1m.js → location-lifecycle-g4wezp1m.js} +0 -0
- /package/dist/chunks/{image-g86h250q.js → location-lifecycle-g86h250q.js} +0 -0
- /package/dist/chunks/{image-gebd4c9n.js → location-lifecycle-gebd4c9n.js} +0 -0
- /package/dist/chunks/{image-gftt206x.js → location-lifecycle-gftt206x.js} +0 -0
- /package/dist/chunks/{image-hjbc5kem.js → location-lifecycle-hjbc5kem.js} +0 -0
- /package/dist/chunks/{image-hk9envan.js → location-lifecycle-hk9envan.js} +0 -0
- /package/dist/chunks/{image-j2ntwpah.js → location-lifecycle-j2ntwpah.js} +0 -0
- /package/dist/chunks/{image-j5zkgpj8.js → location-lifecycle-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{image-jjkms2e6.js → location-lifecycle-jjkms2e6.js} +0 -0
- /package/dist/chunks/{image-jr7sbwjy.js → location-lifecycle-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{image-jwfs4k6c.js → location-lifecycle-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{image-jzg6c2d5.js → location-lifecycle-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{image-mp448xyj.js → location-lifecycle-mp448xyj.js} +0 -0
- /package/dist/chunks/{image-msx8hqn2.js → location-lifecycle-msx8hqn2.js} +0 -0
- /package/dist/chunks/{image-n05xt0ee.js → location-lifecycle-n05xt0ee.js} +0 -0
- /package/dist/chunks/{image-n3j8tn72.js → location-lifecycle-n3j8tn72.js} +0 -0
- /package/dist/chunks/{image-njntx4h6.js → location-lifecycle-njntx4h6.js} +0 -0
- /package/dist/chunks/{image-q3sfg36h.js → location-lifecycle-q3sfg36h.js} +0 -0
- /package/dist/chunks/{image-q74kybfr.js → location-lifecycle-q74kybfr.js} +0 -0
- /package/dist/chunks/{image-qaymkmh1.js → location-lifecycle-qaymkmh1.js} +0 -0
- /package/dist/chunks/{image-qb87gjwd.js → location-lifecycle-qb87gjwd.js} +0 -0
- /package/dist/chunks/{image-qfa1cgps.js → location-lifecycle-qfa1cgps.js} +0 -0
- /package/dist/chunks/{image-qg3g05ea.js → location-lifecycle-qg3g05ea.js} +0 -0
- /package/dist/chunks/{image-qrg20bc0.js → location-lifecycle-qrg20bc0.js} +0 -0
- /package/dist/chunks/{image-rcb2kzg1.js → location-lifecycle-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{image-sdp7kfr6.js → location-lifecycle-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{image-ssg3fenm.js → location-lifecycle-ssg3fenm.js} +0 -0
- /package/dist/chunks/{image-w803qqfp.js → location-lifecycle-w803qqfp.js} +0 -0
- /package/dist/chunks/{image-wc3fc9cn.js → location-lifecycle-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{image-wer8tq1h.js → location-lifecycle-wer8tq1h.js} +0 -0
- /package/dist/chunks/{image-wtztk69x.js → location-lifecycle-wtztk69x.js} +0 -0
- /package/dist/chunks/{image-x0ckcb58.js → location-lifecycle-x0ckcb58.js} +0 -0
- /package/dist/chunks/{image-x61499pn.js → location-lifecycle-x61499pn.js} +0 -0
- /package/dist/chunks/{image-y44na4kk.js → location-lifecycle-y44na4kk.js} +0 -0
- /package/dist/chunks/{image-y8cydn3q.js → location-lifecycle-y8cydn3q.js} +0 -0
- /package/dist/chunks/{image-y8f7s663.js → location-lifecycle-y8f7s663.js} +0 -0
- /package/dist/chunks/{image-ygaqb7jw.js → location-lifecycle-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{image-ym463w8f.js → location-lifecycle-ym463w8f.js} +0 -0
- /package/dist/chunks/{image-z5v4ffb3.js → location-lifecycle-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{image-z9919s4g.js → location-lifecycle-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./location-lifecycle-6tx90z9a.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service40
|
|
6
|
+
} from "./location-lifecycle-75drba76.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
12
|
var exports_mcp2 = {};
|
|
13
13
|
__export(exports_mcp2, {
|
|
14
14
|
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin46,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin46 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service67;
|
|
28
|
+
const mcp = yield* Service40;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin46, register2, exports_mcp2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-fb4649a6.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-33w4ejhs.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin19 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin5 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint4, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin5 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint4, Plugin19, exports_parallel };
|
|
@@ -2,24 +2,24 @@ import {
|
|
|
2
2
|
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-lifecycle-s46bvgjk.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID10,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info19
|
|
11
|
+
} from "./location-lifecycle-svp7vvzg.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID10.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,10 +118,10 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info19.make({
|
|
122
|
+
...Info19.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
124
|
+
modelID: ID10.make(remote.id),
|
|
125
125
|
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-9873vd5r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service16
|
|
9
|
+
} from "./location-lifecycle-zkr5nhe0.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service5
|
|
12
|
+
} from "./location-lifecycle-32468j0v.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-lifecycle-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service4
|
|
27
|
+
} from "./location-lifecycle-qqh4zmm5.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input2,
|
|
36
|
+
Plugin: () => Plugin2,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name2,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name2 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input2 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin2 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service4;
|
|
62
|
+
const access = yield* Service16;
|
|
63
|
+
const sessionInstructions = yield* Service5;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name2,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input2,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin26 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent2 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name2, Input2, Plugin2, toModelContent2, exports_read };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-vx3jgdek.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/error.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
12
|
+
var exports_error = {};
|
|
13
|
+
__export(exports_error, {
|
|
14
14
|
AgentNotFoundError: () => AgentNotFoundError2,
|
|
15
15
|
AttachmentError: () => AttachmentError2,
|
|
16
16
|
BusyError: () => BusyError2,
|
|
@@ -19,9 +19,9 @@ __export(exports_error2, {
|
|
|
19
19
|
InboxConflictError: () => InboxConflictError2,
|
|
20
20
|
MessageDecodeError: () => MessageDecodeError2,
|
|
21
21
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
22
|
-
NotFoundError: () =>
|
|
22
|
+
NotFoundError: () => NotFoundError8,
|
|
23
23
|
PromptConflictError: () => PromptConflictError2,
|
|
24
|
-
SessionErrors: () =>
|
|
24
|
+
SessionErrors: () => exports_error,
|
|
25
25
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
26
26
|
StepFailedError: () => StepFailedError2,
|
|
27
27
|
SyntheticConflictError: () => SyntheticConflictError2
|
|
@@ -31,7 +31,7 @@ import { Agent } from "@opencode/schema/agent";
|
|
|
31
31
|
import { Skill } from "@opencode/schema/skill";
|
|
32
32
|
import { SessionError } from "@opencode/schema/session-error";
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class NotFoundError8 extends Schema.TaggedError()("Session.NotFoundError", {
|
|
35
35
|
sessionID: SessionSchema2.ID
|
|
36
36
|
}) {
|
|
37
37
|
}
|
|
@@ -116,4 +116,4 @@ class SkillNotFoundError2 extends Schema.TaggedError()("Session.SkillNotFoundErr
|
|
|
116
116
|
}) {
|
|
117
117
|
}
|
|
118
118
|
|
|
119
|
-
export {
|
|
119
|
+
export { NotFoundError8, MessageNotFoundError2, ForkEmptyError2, MessageDecodeError2, AgentNotFoundError2, StepFailedError2, PromptConflictError2, SyntheticConflictError2, AttachmentError2, CompactionConflictError2, BusyError2, InboxConflictError2, SkillNotFoundError2, exports_error };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID13
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-s46bvgjk.js";
|
|
4
4
|
import {
|
|
5
5
|
configuredSettings2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-tw133gqa.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-lifecycle-vtwh0ybb.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-lifecycle-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service44,
|
|
17
|
+
node47
|
|
18
|
+
} from "./location-lifecycle-f2v738h8.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-lifecycle-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
28
28
|
__export(exports_reference2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event8,
|
|
30
30
|
GitSource: () => GitSource2,
|
|
31
|
-
Info: () =>
|
|
31
|
+
Info: () => Info7,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
35
|
-
Source: () =>
|
|
36
|
-
node: () =>
|
|
34
|
+
Service: () => Service43,
|
|
35
|
+
Source: () => Source3,
|
|
36
|
+
node: () => node46
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
40
40
|
import { Reference } from "@opencode/schema/reference";
|
|
41
41
|
import { Global } from "@opencode/util/global";
|
|
42
|
-
import { Event as
|
|
42
|
+
import { Event as Event8 } from "@opencode/schema/reference";
|
|
43
43
|
var LocalSource2 = Reference.LocalSource;
|
|
44
44
|
var GitSource2 = Reference.GitSource;
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var Source3 = Reference.Source;
|
|
46
|
+
var Info7 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service43 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service44;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -60,7 +60,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
60
60
|
...source.hidden === undefined ? {} : { hidden: source.hidden }
|
|
61
61
|
};
|
|
62
62
|
if (source.type === "local")
|
|
63
|
-
return [
|
|
63
|
+
return [Info7.make({ ...info, path: source.path })];
|
|
64
64
|
const repository = parse4(source.repository);
|
|
65
65
|
if (!repository || !isRemote2(repository))
|
|
66
66
|
return [];
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
return [
|
|
75
|
-
|
|
75
|
+
Info7.make({
|
|
76
76
|
...info,
|
|
77
77
|
path: AbsolutePath2.make(cachePath2(global.repos, repository, source.branch))
|
|
78
78
|
})
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service43.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node46 = makeLocationNode({
|
|
116
|
+
service: Service43,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node47]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info7, Service43, node46, exports_reference2, Event8 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID9,
|
|
3
|
+
Service62
|
|
4
|
+
} from "./location-lifecycle-b43jjv6s.js";
|
|
5
5
|
import {
|
|
6
6
|
Service80
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-lifecycle-9873vd5r.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service67
|
|
10
|
+
} from "./location-lifecycle-6tx90z9a.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service72,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-lifecycle-pfvt33xv.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service29
|
|
17
|
+
} from "./location-lifecycle-8g21xg0k.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make11
|
|
20
|
+
} from "./location-lifecycle-9tyrtz8a.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-lifecycle-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
29
|
var exports_command2 = {};
|
|
30
30
|
__export(exports_command2, {
|
|
31
31
|
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
-
Plugin: () =>
|
|
32
|
+
Plugin: () => Plugin47
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin47 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service67;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -56,10 +56,10 @@ var Plugin33 = define({
|
|
|
56
56
|
});
|
|
57
57
|
const location = yield* Service80;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service72;
|
|
60
|
+
const sessions = yield* Service29;
|
|
61
|
+
const agents = yield* Service62;
|
|
62
|
+
const subagents = yield* make11;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin33 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID9.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin47, exports_command2 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-lifecycle-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-lifecycle-2pnhn36q.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info17
|
|
9
|
+
} from "./location-lifecycle-6h1ernme.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info16
|
|
12
|
+
} from "./location-lifecycle-b27vhd2z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info15
|
|
15
|
+
} from "./location-lifecycle-kjdm35cs.js";
|
|
16
16
|
import {
|
|
17
17
|
Spec2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-lifecycle-2k8khapm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Info14
|
|
21
|
+
} from "./location-lifecycle-47jkzegy.js";
|
|
22
22
|
import {
|
|
23
23
|
normalizeAction2,
|
|
24
24
|
migrateAgent2,
|
|
@@ -27,10 +27,10 @@ import {
|
|
|
27
27
|
migrateMcp2,
|
|
28
28
|
migrateProvider2,
|
|
29
29
|
providerID2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-lifecycle-va05h2eb.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./location-lifecycle-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/config/normalize.ts
|
|
36
36
|
var exports_normalize = {};
|
|
@@ -97,12 +97,12 @@ function normalize2(input) {
|
|
|
97
97
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
98
98
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
99
99
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
100
|
-
const legacyCommands = decodeMap(input.command,
|
|
100
|
+
const legacyCommands = decodeMap(input.command, Info16, ["command"], diagnostics, decodeValue);
|
|
101
101
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
102
102
|
const migratedCommands = mapValues(legacyCommands, (value) => canonical(ConfigCommand.Info, migrateCommand2(value)));
|
|
103
103
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
104
104
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
105
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
105
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info17, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
106
106
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
107
107
|
const migratedSmallModel = modelSelection2(legacySmallModel);
|
|
108
108
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -116,7 +116,7 @@ function normalize2(input) {
|
|
|
116
116
|
model: migratedSmallModel,
|
|
117
117
|
...legacyAgents.title
|
|
118
118
|
};
|
|
119
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
119
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info17, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
120
120
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
121
121
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
122
122
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -217,7 +217,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
217
217
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
218
218
|
return;
|
|
219
219
|
}
|
|
220
|
-
const server = decodeValue(
|
|
220
|
+
const server = decodeValue(Info15, value, path, diagnostics);
|
|
221
221
|
if (server !== undefined)
|
|
222
222
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
223
223
|
});
|
|
@@ -413,7 +413,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
413
413
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
414
414
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
415
415
|
return [];
|
|
416
|
-
const provider = decodeValue(
|
|
416
|
+
const provider = decodeValue(Info14, raw, path, diagnostics);
|
|
417
417
|
if (provider === undefined)
|
|
418
418
|
return [];
|
|
419
419
|
const destination = providerID2(name);
|