@opencode/core 0.0.0-dev-20461 → 0.0.0-dev-20465
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 +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{location-lifecycle-ddt2bs9e.js → pty-06x8he3q.js} +4 -4
- package/dist/chunks/{location-lifecycle-sxgva5fy.js → pty-0b3yex2r.js} +11 -11
- package/dist/chunks/{location-lifecycle-304e815k.js → pty-0gg0ptvt.js} +13 -13
- package/dist/chunks/{location-lifecycle-x2awbrjr.js → pty-0htt3qwy.js} +16 -16
- package/dist/chunks/{location-lifecycle-0j77ygfz.js → pty-0j77ygfz.js} +2 -2
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-4rkkq2n7.js → pty-0pvpap86.js} +47 -47
- package/dist/chunks/{location-lifecycle-0vbcp93d.js → pty-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-lifecycle-3vb9xggq.js → pty-0ymz9t41.js} +15 -15
- package/dist/chunks/{location-lifecycle-1dazxqgg.js → pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-lifecycle-1dvck2a7.js → pty-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-lifecycle-8sze2n9a.js → pty-1p07q0wb.js} +8 -8
- package/dist/chunks/{location-lifecycle-0nde5ztd.js → pty-1q5awywt.js} +5 -5
- package/dist/chunks/{location-lifecycle-1b4m0bzf.js → pty-1rn5pcm9.js} +4 -4
- package/dist/chunks/{location-lifecycle-sj3xfn1h.js → pty-1tat02m1.js} +9 -9
- package/dist/chunks/pty-1x11rq2a.js +18 -0
- package/dist/chunks/{location-lifecycle-sbkhwm69.js → pty-1z3nqx9t.js} +10 -10
- package/dist/chunks/{location-lifecycle-a60rw8mt.js → pty-1zg7we31.js} +11 -11
- package/dist/chunks/{location-lifecycle-21r38tys.js → pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-lifecycle-hehv3jaq.js → pty-268dwz27.js} +2 -2
- package/dist/chunks/{location-lifecycle-npkr2j14.js → pty-27vvhq6q.js} +39 -39
- package/dist/chunks/{location-lifecycle-2a5m3afh.js → pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-lifecycle-kbgypsqr.js → pty-2aahd4k0.js} +1 -1
- package/dist/chunks/{location-lifecycle-ba15hegp.js → pty-2bekqz3a.js} +18 -18
- package/dist/chunks/{location-lifecycle-2ccvkpx1.js → pty-2ccvkpx1.js} +2 -2
- package/dist/chunks/{location-lifecycle-rz911c4y.js → pty-2m8jawch.js} +4 -4
- package/dist/chunks/{location-lifecycle-31b9n6wf.js → pty-2mqpdq13.js} +6 -6
- package/dist/chunks/{location-lifecycle-2nnnmecq.js → pty-2pzrgdj0.js} +11 -11
- package/dist/chunks/{location-lifecycle-vybcakb5.js → pty-31ec1s0m.js} +21 -21
- package/dist/chunks/{location-lifecycle-f7bw197q.js → pty-33h0sywe.js} +4 -4
- package/dist/chunks/{location-lifecycle-59449p0x.js → pty-39h54dwb.js} +26 -26
- package/dist/chunks/{location-lifecycle-sykbbjya.js → pty-3b7ev2pn.js} +35 -35
- package/dist/chunks/{location-lifecycle-6sdxmpcw.js → pty-3bvvdvt1.js} +36 -36
- package/dist/chunks/{location-lifecycle-s1d26de9.js → pty-3dfke6ah.js} +18 -18
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-sjezrb3t.js → pty-3h7mwb1y.js} +13 -13
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-3tmwdx6f.js → pty-3ymzsrgp.js} +4 -4
- package/dist/chunks/{location-lifecycle-3zsf4n22.js → pty-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-lifecycle-m0r31qfn.js → pty-4bm5ja14.js} +4 -4
- package/dist/chunks/{location-lifecycle-wvpywd6h.js → pty-4r3m895s.js} +1 -1
- package/dist/chunks/{location-lifecycle-8mkhmyzj.js → pty-4vybm4fz.js} +15 -15
- package/dist/chunks/{location-lifecycle-54ma36ye.js → pty-54ma36ye.js} +1 -1
- package/dist/chunks/{location-lifecycle-3v5tjer0.js → pty-54r1wzpb.js} +7 -7
- package/dist/chunks/{location-lifecycle-33w4ejhs.js → pty-56gdpj1q.js} +6 -6
- package/dist/chunks/{location-lifecycle-646z25sb.js → pty-56rn98qe.js} +21 -21
- package/dist/chunks/{location-lifecycle-xfkkasph.js → pty-57b9ws8p.js} +7 -7
- package/dist/chunks/{location-lifecycle-jzv7a1nj.js → pty-58r1cxk0.js} +31 -31
- package/dist/chunks/{location-lifecycle-kf7e19m4.js → pty-5cm3k1aq.js} +16 -16
- package/dist/chunks/{location-lifecycle-5daktx2q.js → pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-lifecycle-4025tst5.js → pty-5eftksh5.js} +8 -8
- package/dist/chunks/{location-lifecycle-96ctqc5x.js → pty-5qwkxp89.js} +4 -4
- package/dist/chunks/{location-lifecycle-9yyj3k17.js → pty-5qxcgjcr.js} +15 -15
- package/dist/chunks/{location-lifecycle-x61y38ee.js → pty-5r1ecmk3.js} +8 -8
- package/dist/chunks/{location-lifecycle-4867frq7.js → pty-5r2x0qgd.js} +24 -24
- package/dist/chunks/{location-lifecycle-5t3nmthw.js → pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-lifecycle-dgh5wz4v.js → pty-5yswx35n.js} +34 -34
- package/dist/chunks/{location-lifecycle-dgk89qy0.js → pty-654wfw74.js} +2 -2
- package/dist/chunks/{location-lifecycle-f0pn8vn9.js → pty-65d6t9nm.js} +43 -43
- package/dist/chunks/{location-lifecycle-rmxjs38v.js → pty-65zgsz9y.js} +9 -9
- package/dist/chunks/{location-lifecycle-669tq793.js → pty-669tq793.js} +1 -1
- package/dist/chunks/{location-lifecycle-b7eexjgd.js → pty-69j0j58y.js} +11 -11
- package/dist/chunks/{location-lifecycle-svnp5391.js → pty-6pz0f3gp.js} +28 -28
- package/dist/chunks/{location-lifecycle-fc2295wy.js → pty-6t1p0y7j.js} +18 -18
- package/dist/chunks/{location-lifecycle-6982p2pt.js → pty-6ysrkrkr.js} +8 -8
- package/dist/chunks/{location-lifecycle-zjsbgqgy.js → pty-6zzs5mwg.js} +23 -23
- package/dist/chunks/{location-lifecycle-71az546q.js → pty-71az546q.js} +2 -2
- package/dist/chunks/{location-lifecycle-cfhmamwz.js → pty-744jnaem.js} +16 -16
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-7dqw4kz8.js → pty-7dqw4kz8.js} +1 -1
- package/dist/chunks/{location-lifecycle-0k5kd462.js → pty-7tp0thxb.js} +32 -32
- package/dist/chunks/{location-lifecycle-vm89yq15.js → pty-7wew4q66.js} +3 -3
- package/dist/chunks/{location-lifecycle-p0b4ytnr.js → pty-7yqjxrmz.js} +4 -4
- package/dist/chunks/{location-lifecycle-v3691hzd.js → pty-85xxa1xb.js} +2 -2
- package/dist/chunks/{location-lifecycle-y0brnbcz.js → pty-86ndwq9q.js} +60 -60
- package/dist/chunks/{location-lifecycle-8w1n6z80.js → pty-89r56116.js} +29 -29
- package/dist/chunks/{location-lifecycle-eyf4n2z5.js → pty-8cgmda8d.js} +9 -9
- package/dist/chunks/{location-lifecycle-8d7r5vzw.js → pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-lifecycle-cawkts3f.js → pty-8d883stb.js} +3 -3
- package/dist/chunks/{location-lifecycle-zgtbk1dz.js → pty-8f516jjj.js} +33 -33
- package/dist/chunks/{location-lifecycle-pd2q9p1a.js → pty-8gxy57kn.js} +8 -8
- package/dist/chunks/{location-lifecycle-rmpx8w4c.js → pty-8s5pwsga.js} +11 -11
- package/dist/chunks/{location-lifecycle-mjzy4jr5.js → pty-8skk2bv8.js} +9 -9
- package/dist/chunks/{location-lifecycle-kxx4b3hq.js → pty-8spjttef.js} +18 -18
- package/dist/chunks/{location-lifecycle-sfx93gpz.js → pty-9804v7wv.js} +27 -27
- package/dist/chunks/{location-lifecycle-b1jrr0cj.js → pty-9a3mtckk.js} +14 -14
- package/dist/chunks/{location-lifecycle-9e5bzkjp.js → pty-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-lifecycle-s0k5g6vz.js → pty-9g3vzsh2.js} +4 -4
- package/dist/chunks/{location-lifecycle-hxkvawvb.js → pty-9rq40ggw.js} +13 -13
- package/dist/chunks/{location-lifecycle-fk17rb03.js → pty-9t5v5m66.js} +14 -14
- package/dist/chunks/{location-lifecycle-v8esej8v.js → pty-9vygzh4b.js} +13 -13
- package/dist/chunks/{location-lifecycle-k9cay8kk.js → pty-9zncbkq8.js} +7 -7
- package/dist/chunks/{location-lifecycle-aaet6srn.js → pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-lifecycle-dbeymxb6.js → pty-aep3mzsj.js} +11 -11
- package/dist/chunks/{location-lifecycle-ahsttzmd.js → pty-ahsttzmd.js} +2 -2
- package/dist/chunks/{location-lifecycle-an7cqtb7.js → pty-an7cqtb7.js} +1 -1
- package/dist/chunks/{location-lifecycle-ymtbewmt.js → pty-b37nj31g.js} +21 -21
- package/dist/chunks/{location-lifecycle-d8ner1vk.js → pty-b4tw85s5.js} +17 -17
- package/dist/chunks/{location-lifecycle-b6gygkdw.js → pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-lifecycle-m074tn1m.js → pty-b6n73f8d.js} +40 -40
- package/dist/chunks/{location-lifecycle-qsee9sfb.js → pty-ba07h9gm.js} +3 -3
- package/dist/chunks/{location-lifecycle-tam582q0.js → pty-bfnsmjbw.js} +5 -5
- package/dist/chunks/{location-lifecycle-88f568vq.js → pty-bj1wp5mv.js} +22 -22
- package/dist/chunks/{location-lifecycle-f7kxk9d7.js → pty-bq7b46md.js} +15 -15
- package/dist/chunks/{location-lifecycle-4nkpkbgg.js → pty-btsk7ns6.js} +73 -73
- package/dist/chunks/{location-lifecycle-y56ehv6b.js → pty-bydnjh3t.js} +9 -9
- package/dist/chunks/{location-lifecycle-tnfyw6td.js → pty-c94by4w0.js} +28 -28
- package/dist/chunks/{location-lifecycle-5ftsrfv7.js → pty-cg76ry6w.js} +32 -32
- package/dist/chunks/{location-lifecycle-0efegzmt.js → pty-cgaacc6a.js} +20 -24
- package/dist/chunks/{location-lifecycle-3gv8fkht.js → pty-cjrfn32c.js} +17 -17
- package/dist/chunks/{location-lifecycle-g0x1s0yg.js → pty-cp2e1w3e.js} +8 -8
- package/dist/chunks/{location-lifecycle-e10w1bvy.js → pty-cq2fm5z3.js} +10 -10
- package/dist/chunks/{location-lifecycle-dv4ft859.js → pty-cwem3fhm.js} +20 -20
- package/dist/chunks/{location-lifecycle-hvm50r4b.js → pty-cx924f93.js} +18 -18
- package/dist/chunks/{location-lifecycle-fbh9pqtx.js → pty-cyr2cxn9.js} +1 -1
- package/dist/chunks/pty-cyrqa2n4.js +252 -0
- package/dist/chunks/{location-lifecycle-qsdxtdtr.js → pty-cyswwyve.js} +17 -17
- package/dist/chunks/pty-d4pshd8q.js +26 -0
- package/dist/chunks/{location-lifecycle-78be6h7y.js → pty-d6wdd58k.js} +32 -32
- package/dist/chunks/{location-lifecycle-z3492bm2.js → pty-d79y3jv5.js} +29 -29
- package/dist/chunks/{location-lifecycle-2ffbtmgy.js → pty-dar8dhhp.js} +50 -50
- package/dist/chunks/{location-lifecycle-qc63jxmc.js → pty-dbneng7t.js} +22 -22
- package/dist/chunks/{location-lifecycle-w9v71vjj.js → pty-dfa350ep.js} +1 -1
- package/dist/chunks/{location-lifecycle-9abn7f1c.js → pty-dnkc5m6k.js} +1 -1
- package/dist/chunks/{location-lifecycle-dpkg50ah.js → pty-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-lifecycle-es665km1.js → pty-dpra9b9a.js} +9 -9
- package/dist/chunks/{location-lifecycle-zvpv7cct.js → pty-dvxfaxz1.js} +33 -33
- package/dist/chunks/{location-lifecycle-vscty96r.js → pty-e2jeb051.js} +8 -8
- package/dist/chunks/{location-lifecycle-hj0pd5ak.js → pty-e6k5s2wm.js} +22 -22
- package/dist/chunks/{location-lifecycle-150yg2gd.js → pty-e8qyrgb1.js} +5 -5
- package/dist/chunks/{location-lifecycle-w0jh14f8.js → pty-e9h38f33.js} +13 -13
- package/dist/chunks/{location-lifecycle-gfa3a7b7.js → pty-eb0vzkjg.js} +22 -22
- package/dist/chunks/{location-lifecycle-f7mfpm66.js → pty-ef5raw6k.js} +30 -30
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-fxxphxnr.js → pty-ej9mn2hm.js} +8 -8
- package/dist/chunks/pty-ekezbvqg.js +507 -0
- package/dist/chunks/{location-lifecycle-7gcp8pkf.js → pty-emz89tv7.js} +6 -6
- package/dist/chunks/{location-lifecycle-6rm5yzkt.js → pty-espax8zg.js} +4 -4
- package/dist/chunks/{location-lifecycle-etq0c3wd.js → pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-lifecycle-hyve9wjj.js → pty-eycf18wc.js} +3 -3
- package/dist/chunks/{location-lifecycle-hvzk2brx.js → pty-f992e8rm.js} +48 -48
- package/dist/chunks/{location-lifecycle-d4g7yg61.js → pty-f9bdb5ag.js} +14 -14
- package/dist/chunks/{location-lifecycle-at5d07az.js → pty-fm2qvscf.js} +4 -4
- package/dist/chunks/{location-lifecycle-vjn6jb25.js → pty-fxcz0da0.js} +11 -11
- package/dist/chunks/{location-lifecycle-h2awzwdz.js → pty-gcwax8a0.js} +6 -6
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-mkcrsxnm.js → pty-gkxwzehf.js} +29 -29
- package/dist/chunks/{location-lifecycle-4dy870gn.js → pty-gneskcp7.js} +5 -5
- package/dist/chunks/{location-lifecycle-0p4c0xzd.js → pty-gp73hwme.js} +13 -13
- package/dist/chunks/{location-lifecycle-06tp4a0z.js → pty-grh2mbxc.js} +5 -5
- package/dist/chunks/{location-lifecycle-et1p6hgx.js → pty-gx5xjf3t.js} +17 -17
- package/dist/chunks/{location-lifecycle-h2b79v29.js → pty-h2b79v29.js} +2 -2
- package/dist/chunks/{location-lifecycle-010srk1d.js → pty-h4bqv94p.js} +30 -30
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-ahgrkx3h.js → pty-h7ym8ggf.js} +16 -16
- package/dist/chunks/{location-lifecycle-p108haaf.js → pty-h82kh8n3.js} +11 -11
- package/dist/chunks/{location-lifecycle-1vcapbms.js → pty-h8g6pbq3.js} +3 -3
- package/dist/chunks/{location-lifecycle-2xtchxs8.js → pty-hcsm92x8.js} +30 -30
- package/dist/chunks/{location-lifecycle-9n27ed0p.js → pty-hmzm1mrk.js} +23 -23
- package/dist/chunks/{location-lifecycle-rpyt2wtz.js → pty-j0vs91sp.js} +18 -18
- package/dist/chunks/{location-lifecycle-sfqcdd8w.js → pty-j16d020p.js} +13 -13
- package/dist/chunks/{location-lifecycle-99me78r6.js → pty-j1qwbh4p.js} +24 -24
- package/dist/chunks/{location-lifecycle-j56e64zr.js → pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-60y7m5rw.js → pty-j5j7sqd7.js} +25 -25
- package/dist/chunks/{location-lifecycle-df9t3tej.js → pty-j6vz790y.js} +30 -30
- package/dist/chunks/{location-lifecycle-czjbxh7q.js → pty-j7jm1rg4.js} +8 -8
- package/dist/chunks/{location-lifecycle-g85jzhcq.js → pty-j8r070e4.js} +4 -4
- package/dist/chunks/{location-lifecycle-b4bd9k5m.js → pty-jgynzvas.js} +153 -153
- package/dist/chunks/{location-lifecycle-ms93yq6r.js → pty-jhpaar4x.js} +8 -8
- package/dist/chunks/{location-lifecycle-30846h32.js → pty-jvnghvnw.js} +8 -8
- package/dist/chunks/{location-lifecycle-gpm9hxc4.js → pty-jw3e9cpn.js} +3 -3
- package/dist/chunks/{location-lifecycle-kx4kt2g3.js → pty-jymza7x7.js} +3 -3
- package/dist/chunks/{location-lifecycle-fcq3743j.js → pty-jyn8qy1m.js} +37 -37
- package/dist/chunks/{location-lifecycle-g31erja1.js → pty-k70p9jzb.js} +9 -9
- package/dist/chunks/{location-lifecycle-ngnmnvhd.js → pty-k747m8pa.js} +24 -24
- package/dist/chunks/{location-lifecycle-vnmdyxx7.js → pty-k7y6sfy1.js} +21 -21
- package/dist/chunks/{location-lifecycle-q0raz0xt.js → pty-kgen349b.js} +9 -9
- package/dist/chunks/{location-lifecycle-vz7d5c1g.js → pty-kjfdeayr.js} +5 -5
- package/dist/chunks/{location-lifecycle-axmvebxj.js → pty-kk00bynn.js} +4 -4
- package/dist/chunks/{location-lifecycle-0pt044n2.js → pty-krym5cze.js} +23 -23
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-mazbtkaa.js → pty-mazbtkaa.js} +2 -2
- package/dist/chunks/{location-lifecycle-krk71rgf.js → pty-mcc6t1v4.js} +5 -5
- package/dist/chunks/{location-lifecycle-b3f8fkhc.js → pty-mha52fg8.js} +5 -5
- package/dist/chunks/{location-lifecycle-s800pt51.js → pty-mjqndqed.js} +12 -12
- package/dist/chunks/{location-lifecycle-dnxkq42g.js → pty-mpk0rfs5.js} +4 -4
- package/dist/chunks/{location-lifecycle-jvmj0td9.js → pty-my6s2k18.js} +16 -16
- package/dist/chunks/{location-lifecycle-d6qfrx9n.js → pty-n099z6kj.js} +8 -8
- package/dist/chunks/{location-lifecycle-9gkshc7c.js → pty-n34nv609.js} +12 -12
- package/dist/chunks/{location-lifecycle-tsaxnvx2.js → pty-n6mbxeh3.js} +31 -31
- package/dist/chunks/{location-lifecycle-82x2ajha.js → pty-na5ad8x6.js} +15 -15
- package/dist/chunks/{location-lifecycle-gzbkpp9m.js → pty-nca7p386.js} +4 -4
- package/dist/chunks/{location-lifecycle-vv11nnpg.js → pty-nkqe1jkz.js} +11 -11
- package/dist/chunks/{location-lifecycle-4c8bcx5b.js → pty-nryt7kay.js} +17 -17
- package/dist/chunks/{location-lifecycle-mbxb2kxm.js → pty-ntah2d2v.js} +8 -8
- package/dist/chunks/{location-lifecycle-kdz3a46v.js → pty-p3gefhvv.js} +3 -3
- package/dist/chunks/{location-lifecycle-j7f6y38b.js → pty-p3xya2zq.js} +28 -28
- package/dist/chunks/{location-lifecycle-fkmh55j1.js → pty-pbcwpz6x.js} +26 -26
- package/dist/chunks/{location-lifecycle-t0d1qmpx.js → pty-pe69whtr.js} +34 -34
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-zbq19r77.js → pty-pngzmcmx.js} +17 -17
- package/dist/chunks/{location-lifecycle-wzpgc3fk.js → pty-ppy93fad.js} +8 -8
- package/dist/chunks/{location-lifecycle-cwa6csj7.js → pty-qmqgtz8f.js} +9 -9
- package/dist/chunks/{location-lifecycle-qnc92qwc.js → pty-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-lifecycle-qsdy395h.js → pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-kkt76z1a.js → pty-qxppefrw.js} +18 -18
- package/dist/chunks/{location-lifecycle-6ar0h46k.js → pty-qyrkwdx9.js} +22 -22
- package/dist/chunks/{location-lifecycle-85c4fc0p.js → pty-r4dcwnmb.js} +24 -24
- package/dist/chunks/{location-lifecycle-mhkvc446.js → pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-lifecycle-yp2x3t23.js → pty-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-lifecycle-05gcetfs.js → pty-ra8qt2z6.js} +14 -14
- package/dist/chunks/{location-lifecycle-g2h5eqyh.js → pty-rbzagpv5.js} +18 -18
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-xpc49t3y.js → pty-rfdgkn6p.js} +27 -27
- package/dist/chunks/{location-lifecycle-d4qsnxe8.js → pty-rp04m9y7.js} +38 -38
- package/dist/chunks/{location-lifecycle-dgxqc9vb.js → pty-ryndyrje.js} +55 -55
- package/dist/chunks/{location-lifecycle-hs03f9yp.js → pty-s0q1fkaz.js} +26 -26
- package/dist/chunks/{location-lifecycle-r7y6eqa0.js → pty-s9rwj2jy.js} +13 -13
- package/dist/chunks/{location-lifecycle-rcfefnh2.js → pty-sa8a2jg7.js} +24 -24
- package/dist/chunks/{location-lifecycle-0qc838wj.js → pty-sjt06tff.js} +35 -35
- package/dist/chunks/{location-lifecycle-xq8w0wth.js → pty-svhsva1n.js} +45 -45
- package/dist/chunks/{location-lifecycle-jhf3jymm.js → pty-sxzvkvgj.js} +6 -6
- package/dist/chunks/{location-lifecycle-ewg75h5q.js → pty-syjz6ynj.js} +9 -9
- package/dist/chunks/{location-lifecycle-2zeph8h2.js → pty-t15nrssv.js} +9 -9
- package/dist/chunks/{location-lifecycle-s8d7rejh.js → pty-t550f9t1.js} +4 -4
- package/dist/chunks/{location-lifecycle-3fa5j7zf.js → pty-t7d8dr7r.js} +11 -11
- package/dist/chunks/{location-lifecycle-1dtfdmnf.js → pty-t9kt8c31.js} +22 -22
- package/dist/chunks/{location-lifecycle-xv8rs716.js → pty-ta546dzx.js} +22 -22
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-4sk93x0t.js → pty-tbb8wp41.js} +20 -20
- package/dist/chunks/{location-lifecycle-tcezcvh9.js → pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-lifecycle-tdstcens.js → pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-90knmqdg.js → pty-tfjx5c9j.js} +7 -7
- package/dist/chunks/{location-lifecycle-x9gedq85.js → pty-thfkeznf.js} +13 -13
- package/dist/chunks/{location-lifecycle-dv1qgsyq.js → pty-tpw6cwsb.js} +8 -8
- package/dist/chunks/{location-lifecycle-pzf73chs.js → pty-tz8876m4.js} +8 -8
- package/dist/chunks/{location-lifecycle-xmmkkfpm.js → pty-v56p6sfb.js} +17 -17
- package/dist/chunks/{location-lifecycle-7077tc5s.js → pty-v9ywz4w0.js} +17 -17
- package/dist/chunks/{location-lifecycle-xresf5aj.js → pty-vczvxyc1.js} +86 -86
- package/dist/chunks/{location-lifecycle-veqvce7d.js → pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-lifecycle-pq3gbky7.js → pty-vkeqp8nw.js} +6 -6
- package/dist/chunks/{location-lifecycle-6z9mwsmt.js → pty-vnfn90d3.js} +16 -16
- package/dist/chunks/{location-lifecycle-x861zb6t.js → pty-vrfmkq1b.js} +2 -2
- package/dist/chunks/{location-lifecycle-j1vtkyjg.js → pty-vvf5cqb2.js} +24 -24
- package/dist/chunks/{location-lifecycle-vzcthcp8.js → pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-lifecycle-vzs5sf6e.js → pty-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-lifecycle-tge9ftn1.js → pty-w0nkn6ve.js} +11 -11
- package/dist/chunks/{location-lifecycle-84txncab.js → pty-w1eejvng.js} +5 -5
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-kvh8p50k.js → pty-wc19s0z4.js} +8 -8
- package/dist/chunks/{location-lifecycle-wd87259q.js → pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-hy6vtbzn.js → pty-wdbg2mx5.js} +9 -9
- package/dist/chunks/{location-lifecycle-fgqyk3xh.js → pty-wj0fpcc3.js} +31 -31
- package/dist/chunks/{location-lifecycle-pehxf3m4.js → pty-wj8xfhrt.js} +11 -11
- package/dist/chunks/{location-lifecycle-zqmxvh7z.js → pty-wm9zswm7.js} +25 -25
- package/dist/chunks/{location-lifecycle-cf2pw60e.js → pty-wps6jxys.js} +15 -15
- package/dist/chunks/{location-lifecycle-m08d7p51.js → pty-wv696c4x.js} +8 -8
- package/dist/chunks/{location-lifecycle-x1ezjp6w.js → pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-lifecycle-032nn755.js → pty-x5w3d5vd.js} +6 -6
- package/dist/chunks/{location-lifecycle-02xrensk.js → pty-x6xfjs65.js} +11 -11
- package/dist/chunks/{location-lifecycle-k67bg5p2.js → pty-x7ya3ng0.js} +43 -43
- package/dist/chunks/{location-lifecycle-w3wjv5aj.js → pty-x8nnxcg2.js} +6 -6
- package/dist/chunks/{location-lifecycle-kpqfg1w0.js → pty-xaj1t2na.js} +28 -28
- package/dist/chunks/{location-lifecycle-dmqcgk4z.js → pty-xkntkrq7.js} +5 -5
- package/dist/chunks/{location-lifecycle-325sge2s.js → pty-xp3fh2h7.js} +1 -1
- package/dist/chunks/{location-lifecycle-qxjc9qry.js → pty-xyafkbt0.js} +3 -3
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-7r28wvfg.js → pty-y2nr333m.js} +1 -1
- package/dist/chunks/{location-lifecycle-c9c5eze1.js → pty-y5drw8vz.js} +20 -20
- package/dist/chunks/{location-lifecycle-jkb4kq42.js → pty-yd7m906j.js} +97 -97
- package/dist/chunks/{location-lifecycle-m6vx9p08.js → pty-ykwjawef.js} +23 -23
- package/dist/chunks/{location-lifecycle-4x2ghxxp.js → pty-ypj3qt3a.js} +16 -16
- package/dist/chunks/{location-lifecycle-yrhqyw5v.js → pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-brgz3k3s.js → pty-zgw7gart.js} +6 -6
- package/dist/chunks/{location-lifecycle-4x7mprc7.js → pty-zm3tt0zb.js} +6 -6
- package/dist/chunks/{location-lifecycle-as29w51e.js → pty-zmr78fwr.js} +5 -5
- package/dist/chunks/{location-lifecycle-z5ay7prx.js → pty-zr1tm1t6.js} +18 -18
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-9rpas8d5.js → pty-zwqdfq5j.js} +42 -42
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +124 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -372
- 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 +74 -74
- 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 +227 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +106 -106
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +362 -363
- 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 +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +134 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -360
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +334 -335
- 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 +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +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 +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- 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 +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -352
- 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 +121 -121
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -230
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +97 -97
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- 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 +151 -151
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -225
- package/dist/session/execution.js +125 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +84 -84
- 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 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -232
- 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 +4 -4
- package/dist/session/runner/step.js +123 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +169 -170
- package/dist/session/shell.js +137 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -211
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +139 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +112 -112
- 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 +124 -124
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -216
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -220
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +9 -8
- package/dist/tool.js +14 -14
- package/dist/types/job.d.ts +1 -1
- package/dist/types/tool-output.d.ts +1 -0
- 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 +5 -5
- 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 +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- 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 +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/location-lifecycle-g2enah35.js +0 -507
- package/dist/chunks/location-lifecycle-ht5y0zrb.js +0 -18
- package/dist/chunks/location-lifecycle-n2preffk.js +0 -26
- package/dist/chunks/location-lifecycle-tvtrv512.js +0 -51
- package/dist/chunks/location-lifecycle-yak58qdp.js +0 -252
- package/dist/id/id.js +0 -14
- package/dist/types/id/id.d.ts +0 -19
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-34c7v6d4.js → pty-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3w5fmr99.js → pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → pty-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e3qxr5gk.js → pty-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fxgpk5d8.js → pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hjbc5kem.js → pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sk3qaz4a.js → pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8cydn3q.js → pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → pty-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → pty-z9919s4g.js} +0 -0
|
@@ -1,54 +1,54 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./pty-0htt3qwy.js";
|
|
1
5
|
import {
|
|
2
6
|
Service82,
|
|
3
7
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service81,
|
|
7
|
-
node85
|
|
8
|
-
} from "./location-lifecycle-s800pt51.js";
|
|
8
|
+
} from "./pty-mjqndqed.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node81
|
|
12
|
+
} from "./pty-744jnaem.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-1x11rq2a.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service70,
|
|
18
|
+
node74
|
|
19
|
+
} from "./pty-vnfn90d3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
node20
|
|
22
|
+
} from "./pty-qyrkwdx9.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service9,
|
|
25
|
+
node11
|
|
26
|
+
} from "./pty-qmqgtz8f.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./pty-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node2
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
48
|
-
const bus = yield*
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
|
+
const location = yield* Service77;
|
|
47
|
+
const watcher = yield* Service70;
|
|
48
|
+
const bus = yield* Service83;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
51
|
-
const policy = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
|
+
const policy = yield* Service9;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node2 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node74, FSUtil.node, node81, node86, node87, node20, node11]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node2, exports_location_watcher };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID8,
|
|
3
|
+
Service53
|
|
4
|
+
} from "./pty-r4dcwnmb.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service72
|
|
8
|
+
} from "./pty-h4bqv94p.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./pty-rp04m9y7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-ba07h9gm.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service60
|
|
18
|
+
} from "./pty-cgaacc6a.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service50
|
|
22
|
+
} from "./pty-ryndyrje.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service18
|
|
25
|
+
} from "./pty-yd7m906j.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./pty-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make6
|
|
31
|
+
} from "./pty-69j0j58y.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./pty-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input10,
|
|
40
|
+
Output: () => Output7,
|
|
41
|
+
Plugin: () => Plugin12,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description5,
|
|
44
|
+
name: () => name10
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name10 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input10 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input6 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output7 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description5 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description2 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin12 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service18;
|
|
93
|
+
const jobs = yield* Service60;
|
|
94
|
+
const agents = yield* Service53;
|
|
95
|
+
const config = yield* Service69;
|
|
96
|
+
const permission = yield* Service50;
|
|
97
|
+
const models = yield* Service72;
|
|
98
|
+
const subagents = yield* make6;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin6 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name10,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description5,
|
|
121
|
+
input: Input10,
|
|
122
|
+
output: Output7,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin6 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name10,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin6 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID8.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name10 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name10];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name10, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name10, Input10, Output7, description5, Plugin12, exports_subagent };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instance/service.ts
|
|
6
6
|
var exports_service2 = {};
|
|
7
7
|
__export(exports_service2, {
|
|
8
8
|
Instance: () => exports_service2,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context } from "effect";
|
|
13
13
|
import { Node } from "@opencode/util/effect/app-node";
|
|
14
14
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service42 extends Context.Service()("@opencode/Instance") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
18
|
+
var node44 = LayerNode.unbound(Service42, Node.tags.values.global);
|
|
19
19
|
|
|
20
|
-
export {
|
|
20
|
+
export { Service42, node44, exports_service2 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service42
|
|
3
|
+
} from "./pty-sxzvkvgj.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-1x11rq2a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service54
|
|
9
|
+
} from "./pty-dar8dhhp.js";
|
|
10
10
|
import {
|
|
11
11
|
unavailable2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./pty-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./pty-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/shell.ts
|
|
18
18
|
var exports_shell3 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_shell3, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var start2 = Effect.fn("SessionShell.start")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const shell = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service42;
|
|
26
|
+
const shell = yield* awaitActivation2.pipe(Effect.andThen(Service54), instances.provide(input.session));
|
|
27
27
|
const info = yield* shell.create({
|
|
28
28
|
command: input.command,
|
|
29
29
|
cwd: input.session.location.directory,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./pty-0htt3qwy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service71,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./pty-b37nj31g.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
@@ -20,8 +20,8 @@ import { Effect, Stream } from "effect";
|
|
|
20
20
|
var Plugin15 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service83;
|
|
24
|
+
const wellknown = yield* Service71;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,7 +41,7 @@ var Plugin15 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID4,
|
|
6
|
+
Service32
|
|
7
|
+
} from "./pty-8f516jjj.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./pty-ba07h9gm.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./pty-zm3tt0zb.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./pty-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service32;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID4.make(from),
|
|
91
|
+
to: ID4.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Key3,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make19,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-t550f9t1.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID3,
|
|
9
9
|
Name2,
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
available2,
|
|
11
|
+
Service31,
|
|
12
|
+
node34
|
|
13
|
+
} from "./pty-6pz0f3gp.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/skill/instructions.ts
|
|
19
|
-
var
|
|
20
|
-
__export(
|
|
21
|
-
Service: () =>
|
|
22
|
-
SkillInstructions: () =>
|
|
23
|
-
node: () =>
|
|
19
|
+
var exports_instructions4 = {};
|
|
20
|
+
__export(exports_instructions4, {
|
|
21
|
+
Service: () => Service29,
|
|
22
|
+
SkillInstructions: () => exports_instructions4,
|
|
23
|
+
node: () => node32
|
|
24
24
|
});
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
27
|
var Summary = Schema.Struct({
|
|
28
|
-
id:
|
|
28
|
+
id: ID3,
|
|
29
29
|
name: Name2,
|
|
30
30
|
description: Schema.String
|
|
31
31
|
});
|
|
@@ -60,14 +60,14 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service29 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service31;
|
|
67
|
+
return Service29.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (permissions) {
|
|
69
|
-
const available =
|
|
70
|
-
return
|
|
69
|
+
const available = available2(yield* skills.list(), permissions).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
70
|
+
return make19({
|
|
71
71
|
key: Key3.make("core/skill-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
@@ -80,6 +80,6 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
80
80
|
})
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
83
|
+
var node32 = makeLocationNode({ service: Service29, layer, deps: [node34] });
|
|
84
84
|
|
|
85
|
-
export {
|
|
85
|
+
export { Service29, node32, exports_instructions4 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./pty-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./pty-kk00bynn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./pty-j7jm1rg4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info19
|
|
12
|
+
} from "./pty-bfnsmjbw.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info17
|
|
15
|
+
} from "./pty-fm2qvscf.js";
|
|
16
16
|
import {
|
|
17
17
|
Info23
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./pty-ahsttzmd.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./pty-7dqw4kz8.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info18
|
|
24
|
+
} from "./pty-zmr78fwr.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Info15
|
|
27
|
+
} from "./pty-27vvhq6q.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 "./pty-3ymzsrgp.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./pty-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(Info15.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(Info19, 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, Info17, ["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, Info16, ["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, Info16, ["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);
|
|
@@ -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(Info18, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|