@opencode/core 0.0.0-dev-19342 → 0.0.0-dev-19343
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{file-retention-35gx5fr5.js → location-mutation-080yxg7k.js} +10 -10
- package/dist/chunks/{file-retention-jkg5sjyj.js → location-mutation-090d9x51.js} +30 -30
- package/dist/chunks/{file-retention-4hqfr28c.js → location-mutation-0e7nvs8b.js} +32 -32
- package/dist/chunks/{file-retention-gpa4jt68.js → location-mutation-0g18c8jp.js} +10 -10
- package/dist/chunks/location-mutation-0nzs2ddd.js +462 -0
- package/dist/chunks/{file-retention-0paq2nw3.js → location-mutation-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-retention-0q0f95c6.js → location-mutation-0q0f95c6.js} +1 -1
- package/dist/chunks/{file-retention-6f22aege.js → location-mutation-0qdvrgkw.js} +28 -28
- package/dist/chunks/{file-retention-ng32y6cj.js → location-mutation-123pna3q.js} +15 -15
- package/dist/chunks/{file-retention-hp4rcpke.js → location-mutation-1317kfkp.js} +36 -36
- package/dist/chunks/{file-retention-kty5e6rg.js → location-mutation-135pcv3x.js} +33 -33
- package/dist/chunks/{file-retention-wac04bcv.js → location-mutation-178rcfj9.js} +16 -16
- package/dist/chunks/{file-retention-r8xr0va3.js → location-mutation-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-retention-73tb2d7t.js → location-mutation-1bbkgx8g.js} +3 -3
- package/dist/chunks/{file-retention-1dazxqgg.js → location-mutation-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-retention-1dfhrqqs.js → location-mutation-1dfhrqqs.js} +2 -2
- package/dist/chunks/{file-retention-21r38tys.js → location-mutation-21r38tys.js} +1 -1
- package/dist/chunks/{file-retention-gexddpvz.js → location-mutation-27eq3hnx.js} +8 -8
- package/dist/chunks/{file-retention-fcnx6kxm.js → location-mutation-29qpr4zm.js} +26 -26
- package/dist/chunks/{file-retention-2a5m3afh.js → location-mutation-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-retention-6jnybvqn.js → location-mutation-2bt6bea8.js} +9 -9
- package/dist/chunks/{file-retention-ksz0h0wp.js → location-mutation-2dchnhcv.js} +1 -1
- package/dist/chunks/{file-retention-ephtsj6m.js → location-mutation-2jgd78gq.js} +81 -81
- package/dist/chunks/{file-retention-qb679xd1.js → location-mutation-2mt51k4p.js} +13 -13
- package/dist/chunks/{file-retention-fpasx09t.js → location-mutation-385yzhyd.js} +17 -17
- package/dist/chunks/{file-retention-qz85fsjb.js → location-mutation-3dq4f3ya.js} +5 -5
- package/dist/chunks/{file-retention-k16ay38w.js → location-mutation-3dqftnvs.js} +1 -1
- package/dist/chunks/{file-retention-k3aec3va.js → location-mutation-3dtz0ed4.js} +9 -9
- package/dist/chunks/{file-retention-3hepkmqq.js → location-mutation-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-retention-ymbwjezv.js → location-mutation-3kk8mamv.js} +25 -25
- package/dist/chunks/{file-retention-3smtnn6g.js → location-mutation-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-retention-3tvqynh2.js → location-mutation-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-retention-z3pw5915.js → location-mutation-3w0fmcng.js} +5 -5
- package/dist/chunks/{file-retention-7b6kgw3h.js → location-mutation-3w5dy25f.js} +46 -46
- package/dist/chunks/{file-retention-dfwmnba5.js → location-mutation-42m4w0gd.js} +24 -24
- package/dist/chunks/{file-retention-f8q7mv7a.js → location-mutation-45796egf.js} +1 -1
- package/dist/chunks/{file-retention-47gsdddb.js → location-mutation-47gsdddb.js} +1 -1
- package/dist/chunks/{file-retention-8wsye86r.js → location-mutation-481njsdn.js} +8 -8
- package/dist/chunks/{file-retention-szbk6at4.js → location-mutation-4ah5m7dw.js} +6 -6
- package/dist/chunks/{file-retention-629h1w84.js → location-mutation-4ggq81fe.js} +6 -6
- package/dist/chunks/{file-retention-1d0fhjp0.js → location-mutation-4hjsykte.js} +9 -9
- package/dist/chunks/{file-retention-6zagmew0.js → location-mutation-4n15vdsh.js} +10 -10
- package/dist/chunks/location-mutation-4v7qdvcn.js +18 -0
- package/dist/chunks/{file-retention-585pw9ae.js → location-mutation-4vm7bp65.js} +24 -24
- package/dist/chunks/{file-retention-68vz8m4p.js → location-mutation-4w92ht60.js} +11 -11
- package/dist/chunks/{file-retention-9pgqtxcp.js → location-mutation-4wmmbnna.js} +24 -24
- package/dist/chunks/{file-retention-6dxcmtmc.js → location-mutation-4x302fsb.js} +24 -24
- package/dist/chunks/{file-retention-zzyk28zh.js → location-mutation-4ymkhcds.js} +16 -16
- package/dist/chunks/{file-retention-a6x36d81.js → location-mutation-4yqnhzhd.js} +4 -4
- package/dist/chunks/{file-retention-qte5z7bc.js → location-mutation-510m7gjw.js} +5 -5
- package/dist/chunks/{file-retention-fs0qk05d.js → location-mutation-545xcy3v.js} +18 -18
- package/dist/chunks/{file-retention-56gdpj1q.js → location-mutation-56gdpj1q.js} +2 -2
- package/dist/chunks/{file-retention-5daktx2q.js → location-mutation-5daktx2q.js} +1 -1
- package/dist/chunks/{file-retention-e7058pvs.js → location-mutation-5nxfjrr3.js} +18 -18
- package/dist/chunks/{file-retention-emc1bwfy.js → location-mutation-5r7abtjb.js} +7 -7
- package/dist/chunks/{file-retention-5t3nmthw.js → location-mutation-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-retention-669tq793.js → location-mutation-669tq793.js} +1 -1
- package/dist/chunks/{file-retention-nvxqht09.js → location-mutation-6bsje7ws.js} +3 -3
- package/dist/chunks/{file-retention-rmmwd74s.js → location-mutation-6gmnnrt6.js} +16 -16
- package/dist/chunks/{file-retention-2402vzrj.js → location-mutation-6h73sxmp.js} +5 -5
- package/dist/chunks/{file-retention-zv0544jz.js → location-mutation-6hh8tjw2.js} +4 -4
- package/dist/chunks/{file-retention-xmqphtg9.js → location-mutation-6jn5f8v1.js} +43 -43
- package/dist/chunks/{file-retention-9a0n252a.js → location-mutation-6m887wqr.js} +41 -41
- package/dist/chunks/{file-retention-6msgmcgs.js → location-mutation-6msgmcgs.js} +1 -1
- package/dist/chunks/{file-retention-8qbgjw8c.js → location-mutation-6n88yxkj.js} +11 -11
- package/dist/chunks/{file-retention-np25b77a.js → location-mutation-6pzk0tbd.js} +12 -12
- package/dist/chunks/{file-retention-jfcgv9fx.js → location-mutation-6t52233q.js} +35 -35
- package/dist/chunks/{file-retention-71q4at8m.js → location-mutation-71q4at8m.js} +1 -1
- package/dist/chunks/{file-retention-6tkx0wew.js → location-mutation-76dehvxn.js} +4 -4
- package/dist/chunks/{file-retention-2a9489x0.js → location-mutation-76h67nm5.js} +12 -12
- package/dist/chunks/{file-retention-7eagj9kf.js → location-mutation-78x7f3ty.js} +9 -9
- package/dist/chunks/{file-retention-89xjw27r.js → location-mutation-7adcerzg.js} +36 -36
- package/dist/chunks/{file-retention-eksy8cvr.js → location-mutation-7bdqbdfj.js} +3 -3
- package/dist/chunks/{file-retention-7bmhse3q.js → location-mutation-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-retention-j62zf0j4.js → location-mutation-7gjhgsed.js} +11 -11
- package/dist/chunks/{file-retention-yy1nq4n5.js → location-mutation-7qc321h1.js} +20 -20
- package/dist/chunks/{file-retention-p5gjast5.js → location-mutation-7xr0d558.js} +31 -31
- package/dist/chunks/{file-retention-844ef7ks.js → location-mutation-844ef7ks.js} +1 -1
- package/dist/chunks/{file-retention-w9s5j4xj.js → location-mutation-84t3vnx7.js} +2 -2
- package/dist/chunks/{file-retention-8d7r5vzw.js → location-mutation-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-retention-m7ckg0ge.js → location-mutation-8daqk3xn.js} +41 -41
- package/dist/chunks/{file-retention-pqfk32hy.js → location-mutation-8g5sjpkg.js} +25 -25
- package/dist/chunks/{file-retention-n76fdqym.js → location-mutation-8nv6ekx5.js} +5 -5
- package/dist/chunks/{file-retention-8p4f9s12.js → location-mutation-8p4f9s12.js} +2 -2
- package/dist/chunks/{file-retention-tk4atcvg.js → location-mutation-8r15tr8a.js} +7 -7
- package/dist/chunks/location-mutation-8vq1702j.js +22 -0
- package/dist/chunks/{file-retention-b65ks73n.js → location-mutation-9197vs9x.js} +35 -35
- package/dist/chunks/{file-retention-1d5qcw44.js → location-mutation-9198tjt8.js} +4 -4
- package/dist/chunks/{file-retention-541f07s9.js → location-mutation-9237j28x.js} +17 -17
- package/dist/chunks/{file-retention-wznsaygs.js → location-mutation-95nc2sbg.js} +9 -9
- package/dist/chunks/{file-retention-j26kwb45.js → location-mutation-9edcvf27.js} +10 -10
- package/dist/chunks/{file-retention-rr6hv98y.js → location-mutation-9epaz3x0.js} +7 -7
- package/dist/chunks/{file-retention-dn5dwck5.js → location-mutation-9fmb6jsc.js} +15 -15
- package/dist/chunks/{file-retention-d0zk2jym.js → location-mutation-9ps2pggw.js} +6 -6
- package/dist/chunks/{file-retention-d67aqa6n.js → location-mutation-9pv0dm11.js} +9 -9
- package/dist/chunks/{file-retention-2wmkh6wf.js → location-mutation-9sbv9g2h.js} +15 -15
- package/dist/chunks/{file-retention-zcxgbk88.js → location-mutation-9xtkkd11.js} +4 -4
- package/dist/chunks/{file-retention-a1bz86dw.js → location-mutation-a1bz86dw.js} +3 -3
- package/dist/chunks/{file-retention-3tc1r0mp.js → location-mutation-a9yybgxj.js} +17 -17
- package/dist/chunks/{file-retention-aaet6srn.js → location-mutation-aaet6srn.js} +2 -2
- package/dist/chunks/{file-retention-495xzanh.js → location-mutation-ae9b13mv.js} +12 -12
- package/dist/chunks/{file-retention-yeyn4dnq.js → location-mutation-awpbsmrw.js} +7 -7
- package/dist/chunks/{file-retention-ccmdxyv2.js → location-mutation-b2yhkeqr.js} +11 -11
- package/dist/chunks/{file-retention-b6gygkdw.js → location-mutation-b6gygkdw.js} +2 -2
- package/dist/chunks/{file-retention-2wddc2mm.js → location-mutation-b6ynejew.js} +25 -25
- package/dist/chunks/{file-retention-f7ehr2sm.js → location-mutation-b8b3f19r.js} +9 -9
- package/dist/chunks/{file-retention-6bdbvcy9.js → location-mutation-bcaqsvj6.js} +23 -23
- package/dist/chunks/{file-retention-mry8kks8.js → location-mutation-byvcghq4.js} +16 -16
- package/dist/chunks/{file-retention-hgdkda7v.js → location-mutation-bzx022j9.js} +22 -22
- package/dist/chunks/{file-retention-457xx6wr.js → location-mutation-c2k3x2kh.js} +9 -9
- package/dist/chunks/{file-retention-nqvtjg2n.js → location-mutation-c4r800sx.js} +56 -56
- package/dist/chunks/{file-retention-jwjk52g2.js → location-mutation-cay3r0qb.js} +4 -4
- package/dist/chunks/{file-retention-cfpkc3c9.js → location-mutation-cfpkc3c9.js} +2 -2
- package/dist/chunks/{file-retention-hfdr1yjj.js → location-mutation-cq37gk0t.js} +4 -4
- package/dist/chunks/{file-retention-f8hk6r9n.js → location-mutation-crjd20w0.js} +24 -24
- package/dist/chunks/{file-retention-g7kcqsv9.js → location-mutation-d1268gaq.js} +10 -10
- package/dist/chunks/{file-retention-mas5vrzc.js → location-mutation-d9fmyqsb.js} +4 -4
- package/dist/chunks/{file-retention-53b5596a.js → location-mutation-d9mnrx7s.js} +12 -12
- package/dist/chunks/{file-retention-49ej072a.js → location-mutation-dh1thg5k.js} +3 -3
- package/dist/chunks/{file-retention-dpkg50ah.js → location-mutation-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-retention-rm1xb6h6.js → location-mutation-drdaqm2t.js} +11 -11
- package/dist/chunks/{file-retention-3bfh1azg.js → location-mutation-dsxqmp7c.js} +84 -84
- package/dist/chunks/{file-retention-cz0cqjej.js → location-mutation-dv6dc4x6.js} +8 -8
- package/dist/chunks/{file-retention-dcm7ab38.js → location-mutation-dw3vbsxg.js} +29 -29
- package/dist/chunks/{file-retention-4ram32jk.js → location-mutation-e2vt25n2.js} +19 -19
- package/dist/chunks/{file-retention-ya188s48.js → location-mutation-e6k7hz6j.js} +26 -26
- package/dist/chunks/{file-retention-pnean495.js → location-mutation-egkp1q9v.js} +2 -2
- package/dist/chunks/{file-retention-etq0c3wd.js → location-mutation-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-retention-5qng0t1j.js → location-mutation-ezq2qp9g.js} +11 -11
- package/dist/chunks/{file-retention-e2nxat5d.js → location-mutation-f2gse5fy.js} +6 -6
- package/dist/chunks/{file-retention-f828m53h.js → location-mutation-f828m53h.js} +2 -2
- package/dist/chunks/{file-retention-mwxv72xg.js → location-mutation-fpqwst5z.js} +25 -25
- package/dist/chunks/{file-retention-0djgsxfa.js → location-mutation-fqpps30f.js} +9 -9
- package/dist/chunks/{file-retention-7ebn0nc0.js → location-mutation-fvanntqq.js} +4 -4
- package/dist/chunks/{file-retention-fxbjtjnd.js → location-mutation-fxbjtjnd.js} +1 -1
- package/dist/chunks/{file-retention-bd1zqjbj.js → location-mutation-g196q5ga.js} +13 -13
- package/dist/chunks/{file-retention-0sdp51s0.js → location-mutation-g1ryce64.js} +16 -16
- package/dist/chunks/{file-retention-vvv3thrh.js → location-mutation-g47vrvhs.js} +14 -14
- package/dist/chunks/{file-retention-gd4qta3r.js → location-mutation-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-retention-gdvy8fx6.js → location-mutation-gdvy8fx6.js} +1 -1
- package/dist/chunks/{file-retention-dn7xhbn4.js → location-mutation-ghk9cxjs.js} +6 -6
- package/dist/chunks/{file-retention-cne0g9zz.js → location-mutation-gsqtb8jw.js} +11 -11
- package/dist/chunks/{file-retention-gv6a8nnw.js → location-mutation-gv6a8nnw.js} +2 -2
- package/dist/chunks/{file-retention-4c9pdqrn.js → location-mutation-gxayccxh.js} +14 -14
- package/dist/chunks/{file-retention-rv7h995b.js → location-mutation-gyq4aabv.js} +23 -23
- package/dist/chunks/{file-retention-h03wrkyp.js → location-mutation-h03wrkyp.js} +2 -2
- package/dist/chunks/{file-retention-nd0e9ps3.js → location-mutation-h42j1xnf.js} +38 -38
- package/dist/chunks/{file-retention-aywpdfxt.js → location-mutation-h5f79651.js} +13 -13
- package/dist/chunks/{file-retention-wa9n8nyq.js → location-mutation-h6nsps6f.js} +6 -6
- package/dist/chunks/{file-retention-h6vf3j39.js → location-mutation-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-retention-6ppfrw8p.js → location-mutation-hc5qqzdn.js} +20 -20
- package/dist/chunks/{file-retention-mtft99cd.js → location-mutation-hkfg6fzm.js} +5 -5
- package/dist/chunks/{file-retention-a8zn6wm8.js → location-mutation-hm2ejha3.js} +21 -21
- package/dist/chunks/location-mutation-hmjqf0ee.js +247 -0
- package/dist/chunks/{file-retention-2a4f6v5q.js → location-mutation-hr5bc81f.js} +8 -8
- package/dist/chunks/{file-retention-bs7hmeg3.js → location-mutation-j3nra4g0.js} +12 -12
- package/dist/chunks/{file-retention-e6d6pdps.js → location-mutation-j5208yae.js} +4 -4
- package/dist/chunks/{file-retention-j56e64zr.js → location-mutation-j56e64zr.js} +1 -1
- package/dist/chunks/{file-retention-dfdxrv27.js → location-mutation-jnehgznh.js} +26 -26
- package/dist/chunks/{file-retention-50mx3fww.js → location-mutation-js0rm7nb.js} +8 -8
- package/dist/chunks/{file-retention-k2fzxap7.js → location-mutation-jt7ywd0b.js} +11 -11
- package/dist/chunks/{file-retention-gnv2jnak.js → location-mutation-k0pv4tct.js} +14 -14
- package/dist/chunks/{file-retention-jr3tywxk.js → location-mutation-k2h4r4s0.js} +21 -21
- package/dist/chunks/{file-retention-qqnpzgrv.js → location-mutation-kc5hk0w3.js} +14 -14
- package/dist/chunks/{file-retention-g917tkp4.js → location-mutation-kcm7gb9h.js} +17 -17
- package/dist/chunks/{file-retention-kg06axw8.js → location-mutation-kg06axw8.js} +1 -1
- package/dist/chunks/{file-retention-1emffesh.js → location-mutation-kksf6wrm.js} +5 -5
- package/dist/chunks/{file-retention-rajee5vh.js → location-mutation-kvb4wp4j.js} +10 -10
- package/dist/chunks/{file-retention-aj8kkpvr.js → location-mutation-m86bx8pg.js} +4 -4
- package/dist/chunks/{file-retention-m9w0rfyh.js → location-mutation-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-retention-8pak98y4.js → location-mutation-mc2qpn0s.js} +20 -20
- package/dist/chunks/{file-retention-283c8amn.js → location-mutation-mf4542vt.js} +20 -20
- package/dist/chunks/{file-retention-fygdb7h7.js → location-mutation-mgtytz9t.js} +3 -3
- package/dist/chunks/{file-retention-mkcjrzeh.js → location-mutation-mkcjrzeh.js} +1 -1
- package/dist/chunks/{file-retention-fpffc2t3.js → location-mutation-mkzzj3z7.js} +26 -26
- package/dist/chunks/{file-retention-2dhvjk9m.js → location-mutation-mx1dcdcs.js} +59 -59
- package/dist/chunks/{file-retention-d8s0zgrq.js → location-mutation-my9h9hzg.js} +9 -9
- package/dist/chunks/{file-retention-mwsqdqh0.js → location-mutation-n0sspdwz.js} +6 -6
- package/dist/chunks/{file-retention-havkms48.js → location-mutation-n9v9edgr.js} +18 -18
- package/dist/chunks/{file-retention-ab3m9e4p.js → location-mutation-ngjzpzgr.js} +11 -11
- package/dist/chunks/{file-retention-84e78dg0.js → location-mutation-nq9qg1fa.js} +5 -5
- package/dist/chunks/{file-retention-cyymmyy1.js → location-mutation-nwrfcwym.js} +13 -13
- package/dist/chunks/{file-retention-35etrq90.js → location-mutation-nws43tmt.js} +24 -24
- package/dist/chunks/{file-retention-b0p6ev8e.js → location-mutation-nxcn73z5.js} +6 -6
- package/dist/chunks/{file-retention-6xfzx76p.js → location-mutation-p22jdjzb.js} +11 -11
- package/dist/chunks/{file-retention-agj0b0se.js → location-mutation-p5nxgrb7.js} +11 -11
- package/dist/chunks/{file-retention-j935v87r.js → location-mutation-paphc93g.js} +2 -2
- package/dist/chunks/{file-retention-pjvnvgmy.js → location-mutation-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-retention-pknna89w.js → location-mutation-pknna89w.js} +1 -1
- package/dist/chunks/{file-retention-v0pw5p58.js → location-mutation-pwjmm335.js} +24 -24
- package/dist/chunks/{file-retention-yz6s7xzz.js → location-mutation-pxf12as1.js} +9 -9
- package/dist/chunks/{file-retention-1p35s36r.js → location-mutation-q2wkz0b5.js} +17 -17
- package/dist/chunks/{file-retention-m7a7ecn8.js → location-mutation-q316qzt7.js} +20 -20
- package/dist/chunks/{file-retention-dy2q6f9r.js → location-mutation-q52tmxvy.js} +17 -17
- package/dist/chunks/{file-retention-7dqw4kz8.js → location-mutation-qgn6gcr1.js} +5 -5
- package/dist/chunks/{file-retention-hs0jw6ga.js → location-mutation-qpp7njgw.js} +28 -28
- package/dist/chunks/{file-retention-ktd0ny7h.js → location-mutation-qpv0by5y.js} +24 -24
- package/dist/chunks/{file-retention-xxmdkfzw.js → location-mutation-qq97xfyz.js} +3 -3
- package/dist/chunks/{file-retention-s1jhc5dh.js → location-mutation-qqmmwjzc.js} +7 -7
- package/dist/chunks/{file-retention-qsdy395h.js → location-mutation-qsdy395h.js} +1 -1
- package/dist/chunks/{file-retention-v98h3e24.js → location-mutation-r12caqqb.js} +11 -11
- package/dist/chunks/{file-retention-6vfxs2dk.js → location-mutation-r1vajnqg.js} +20 -20
- package/dist/chunks/{file-retention-m27pyyd3.js → location-mutation-r2qzv5a7.js} +6 -6
- package/dist/chunks/{file-retention-9wnjnk6r.js → location-mutation-r58s3aqr.js} +5 -5
- package/dist/chunks/{file-retention-epfxrcc1.js → location-mutation-r8dsc003.js} +27 -27
- package/dist/chunks/{file-retention-z69s9t6b.js → location-mutation-ras7gexc.js} +5 -5
- package/dist/chunks/{file-retention-s8d7rejh.js → location-mutation-rhjbct0v.js} +4 -4
- package/dist/chunks/{file-retention-1q5awywt.js → location-mutation-rmm45jmv.js} +5 -5
- package/dist/chunks/{file-retention-95fjfv4d.js → location-mutation-rnkhefmk.js} +10 -10
- package/dist/chunks/{file-retention-8h998g6s.js → location-mutation-rqzy1ewj.js} +1 -1
- package/dist/chunks/{file-retention-3eqpb9zq.js → location-mutation-rrmx6085.js} +18 -18
- package/dist/chunks/{file-retention-0bzed8qe.js → location-mutation-rs7v9e6v.js} +27 -27
- package/dist/chunks/{file-retention-ep52dk3v.js → location-mutation-rs95a90c.js} +16 -16
- package/dist/chunks/{file-retention-64kphnzf.js → location-mutation-rsdf2nvv.js} +4 -4
- package/dist/chunks/{file-retention-pmhn6z4y.js → location-mutation-rtqz3zzf.js} +17 -17
- package/dist/chunks/{file-retention-45ax9jcn.js → location-mutation-rv3dfgbk.js} +28 -28
- package/dist/chunks/{file-retention-fgh0kbhd.js → location-mutation-s1a57xgp.js} +1 -1
- package/dist/chunks/{file-retention-3cqavhax.js → location-mutation-s6pp54ct.js} +11 -11
- package/dist/chunks/{file-retention-qzg4pp06.js → location-mutation-sdnaceaw.js} +6 -6
- package/dist/chunks/{file-retention-z8jx6s5t.js → location-mutation-sggvzg7x.js} +24 -24
- package/dist/chunks/{file-retention-69ycz7qv.js → location-mutation-sjygwc2a.js} +30 -30
- package/dist/chunks/{file-retention-8vg9ss2j.js → location-mutation-ssb1z7k2.js} +3 -3
- package/dist/chunks/{file-retention-42fa2mq1.js → location-mutation-sz3a6x34.js} +28 -28
- package/dist/chunks/{file-retention-t0x5rdq8.js → location-mutation-t0x5rdq8.js} +2 -2
- package/dist/chunks/{file-retention-r9babyk8.js → location-mutation-t3w9f47z.js} +1 -1
- package/dist/chunks/{file-retention-tazgh4e4.js → location-mutation-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-retention-tcezcvh9.js → location-mutation-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-retention-tdstcens.js → location-mutation-tdstcens.js} +1 -1
- package/dist/chunks/{file-retention-ec8389mk.js → location-mutation-tm7zr4pr.js} +4 -4
- package/dist/chunks/{file-retention-anhfpk2y.js → location-mutation-ts62jcg3.js} +15 -15
- package/dist/chunks/{file-retention-asqsdy15.js → location-mutation-ttt2pthn.js} +41 -41
- package/dist/chunks/{file-retention-tvtrv512.js → location-mutation-tvtrv512.js} +1 -1
- package/dist/chunks/{file-retention-y9btvcpe.js → location-mutation-tw9m5efe.js} +10 -10
- package/dist/chunks/{file-retention-k76fn4kw.js → location-mutation-tz4n1mmd.js} +4 -4
- package/dist/chunks/{file-retention-nqk5w1a0.js → location-mutation-v4ctacay.js} +28 -28
- package/dist/chunks/{file-retention-96yt6zt0.js → location-mutation-v71xcev7.js} +1 -1
- package/dist/chunks/{file-retention-vt377krn.js → location-mutation-vaw4v3ea.js} +54 -54
- package/dist/chunks/{file-retention-y7xpfv66.js → location-mutation-vb6hmp0d.js} +8 -8
- package/dist/chunks/{file-retention-veqvce7d.js → location-mutation-veqvce7d.js} +1 -1
- package/dist/chunks/{file-retention-bf0ztrs3.js → location-mutation-vncycja5.js} +4 -4
- package/dist/chunks/{file-retention-e59w6ff2.js → location-mutation-vsv68ttx.js} +13 -13
- package/dist/chunks/{file-retention-0vqy458c.js → location-mutation-vyjzrkx0.js} +9 -9
- package/dist/chunks/{file-retention-vzcthcp8.js → location-mutation-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-retention-w3wsvvr9.js → location-mutation-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-retention-xhpvdsvw.js → location-mutation-w53767ff.js} +11 -11
- package/dist/chunks/{file-retention-er56z9m3.js → location-mutation-w6x96kp1.js} +4 -4
- package/dist/chunks/{file-retention-bcnz578n.js → location-mutation-watqcrva.js} +2 -2
- package/dist/chunks/{file-retention-cvmpta01.js → location-mutation-wbmrxx9p.js} +170 -170
- package/dist/chunks/{file-retention-wd87259q.js → location-mutation-wd87259q.js} +1 -1
- package/dist/chunks/{file-retention-3tf484fr.js → location-mutation-wmafn4dk.js} +14 -14
- package/dist/chunks/{file-retention-rpd6j9rw.js → location-mutation-wsrtz5x5.js} +27 -27
- package/dist/chunks/{file-retention-p1tnmtrd.js → location-mutation-ww7tzrk1.js} +38 -38
- package/dist/chunks/{file-retention-gx1zhcta.js → location-mutation-wx9wy1qm.js} +1 -1
- package/dist/chunks/{file-retention-x1ezjp6w.js → location-mutation-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-retention-x43y2vfs.js → location-mutation-x43y2vfs.js} +2 -2
- package/dist/chunks/{file-retention-8yc64hpa.js → location-mutation-xfagbf0j.js} +16 -16
- package/dist/chunks/{file-retention-62qy00sv.js → location-mutation-xhqkdcr0.js} +2 -2
- package/dist/chunks/{file-retention-5c9mjg6a.js → location-mutation-xjxyt9bq.js} +32 -32
- package/dist/chunks/{file-retention-vmcy0e8f.js → location-mutation-xq8c8dbz.js} +4 -4
- package/dist/chunks/{file-retention-y1fvbwt7.js → location-mutation-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-retention-aqhnkr3e.js → location-mutation-y3gn6rnp.js} +43 -43
- package/dist/chunks/{file-retention-kntggcm2.js → location-mutation-y7h51c3z.js} +13 -13
- package/dist/chunks/{file-retention-xxk5ry2v.js → location-mutation-y8p3zjbc.js} +6 -6
- package/dist/chunks/{file-retention-9p2ve8w2.js → location-mutation-ycvksfe9.js} +22 -22
- package/dist/chunks/{file-retention-9t1jp5yp.js → location-mutation-yjrvv3jh.js} +9 -9
- package/dist/chunks/{file-retention-jdzbt2xe.js → location-mutation-ymp004yg.js} +5 -5
- package/dist/chunks/{file-retention-yrhqyw5v.js → location-mutation-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-retention-s4enseaf.js → location-mutation-yrznvahk.js} +2 -2
- package/dist/chunks/{file-retention-51pqj4sw.js → location-mutation-ytf8k5yw.js} +46 -46
- package/dist/chunks/{file-retention-qzf7gp6y.js → location-mutation-yw151kp9.js} +16 -16
- package/dist/chunks/{file-retention-z0bkrqjs.js → location-mutation-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-retention-29x78va6.js → location-mutation-z63w68vq.js} +6 -6
- package/dist/chunks/{file-retention-jf9e43jb.js → location-mutation-z6mfc8hp.js} +23 -23
- package/dist/chunks/{file-retention-zeh9ct20.js → location-mutation-zeh9ct20.js} +2 -2
- package/dist/chunks/{file-retention-xg28p7zb.js → location-mutation-zm47b27w.js} +17 -17
- package/dist/chunks/{file-retention-zr2ceqn5.js → location-mutation-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-retention-9pyf0cwy.js → location-mutation-zr8vjmmw.js} +15 -15
- package/dist/chunks/{file-retention-h66ky8mw.js → location-mutation-zw7fcf2s.js} +47 -47
- package/dist/chunks/{file-retention-zxq2ej10.js → location-mutation-zxq2ej10.js} +1 -1
- package/dist/chunks/{file-retention-baeg8a9n.js → location-mutation-zycm96ct.js} +4 -4
- package/dist/chunks/{file-retention-7zypnq1v.js → location-mutation-zycx2ktx.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +79 -79
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +115 -115
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +89 -89
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +90 -90
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +84 -84
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +95 -95
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +10 -10
- package/dist/models-dev.js +78 -78
- 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 +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +97 -97
- package/dist/plugin/command.js +94 -94
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +115 -115
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +131 -131
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +341 -341
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +2 -2
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +218 -218
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +82 -82
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +124 -124
- package/dist/session/generate.js +146 -146
- 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 +75 -75
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +145 -145
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +107 -107
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +83 -83
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +85 -85
- package/package.json +8 -8
- package/dist/chunks/file-retention-79fjvhba.js +0 -247
- package/dist/chunks/file-retention-9sh4wc5j.js +0 -18
- package/dist/chunks/file-retention-a4qn8ft9.js +0 -462
- package/dist/chunks/file-retention-sb5atwea.js +0 -22
- /package/dist/chunks/{file-retention-0mesazry.js → location-mutation-0mesazry.js} +0 -0
- /package/dist/chunks/{file-retention-0qkdqm5v.js → location-mutation-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-retention-0zkw76rk.js → location-mutation-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-retention-17cy0kzp.js → location-mutation-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-retention-1cnp2v09.js → location-mutation-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-retention-1kg9ymc8.js → location-mutation-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-retention-2710q6r3.js → location-mutation-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-retention-2axfhc9x.js → location-mutation-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-retention-2c3vjs8z.js → location-mutation-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-retention-359p4xyc.js → location-mutation-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-retention-3asan66x.js → location-mutation-3asan66x.js} +0 -0
- /package/dist/chunks/{file-retention-3v8g72cx.js → location-mutation-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-retention-3w5fmr99.js → location-mutation-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-retention-3wcehsnq.js → location-mutation-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-retention-43n2bw4t.js → location-mutation-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-retention-4knz6hnm.js → location-mutation-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-retention-4y7fprxs.js → location-mutation-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-retention-53557ph1.js → location-mutation-53557ph1.js} +0 -0
- /package/dist/chunks/{file-retention-550bvhaj.js → location-mutation-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-retention-6prwharc.js → location-mutation-6prwharc.js} +0 -0
- /package/dist/chunks/{file-retention-7akdwqpd.js → location-mutation-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-retention-7m9af43g.js → location-mutation-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-retention-822emrt2.js → location-mutation-822emrt2.js} +0 -0
- /package/dist/chunks/{file-retention-88xbtdfr.js → location-mutation-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-retention-8n3pysct.js → location-mutation-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-retention-922hggd3.js → location-mutation-922hggd3.js} +0 -0
- /package/dist/chunks/{file-retention-9a4afbnw.js → location-mutation-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-retention-9rqn6x4v.js → location-mutation-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-retention-a1tpkmh4.js → location-mutation-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{file-retention-a6k6eb26.js → location-mutation-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-retention-af5trqkr.js → location-mutation-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-retention-afrmfg78.js → location-mutation-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-retention-aqzs7mqg.js → location-mutation-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-retention-atq7p7m5.js → location-mutation-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-retention-bkyjaxrp.js → location-mutation-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-retention-bmr6ed5q.js → location-mutation-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-retention-cf4snx6d.js → location-mutation-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-retention-cvy3z8tj.js → location-mutation-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-retention-d9fn303g.js → location-mutation-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-retention-d9jj8t3e.js → location-mutation-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-retention-dajrwvna.js → location-mutation-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-retention-dap0rakb.js → location-mutation-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-retention-df08tz66.js → location-mutation-df08tz66.js} +0 -0
- /package/dist/chunks/{file-retention-dy18nga0.js → location-mutation-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-retention-e5kj55wp.js → location-mutation-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-retention-e73j6tqm.js → location-mutation-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-retention-ec1grn59.js → location-mutation-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-retention-eh3zwz77.js → location-mutation-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-retention-emrn6kk6.js → location-mutation-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-retention-f0mxakyp.js → location-mutation-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-retention-f6n9ztr4.js → location-mutation-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-retention-faypxj3z.js → location-mutation-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-retention-fd410y7t.js → location-mutation-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-retention-fxgpk5d8.js → location-mutation-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-retention-g4wezp1m.js → location-mutation-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-retention-g86h250q.js → location-mutation-g86h250q.js} +0 -0
- /package/dist/chunks/{file-retention-gebd4c9n.js → location-mutation-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-retention-gftt206x.js → location-mutation-gftt206x.js} +0 -0
- /package/dist/chunks/{file-retention-hjbc5kem.js → location-mutation-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-retention-hk9envan.js → location-mutation-hk9envan.js} +0 -0
- /package/dist/chunks/{file-retention-hrnqkpcd.js → location-mutation-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{file-retention-j2ntwpah.js → location-mutation-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-retention-j5zkgpj8.js → location-mutation-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-retention-jr7sbwjy.js → location-mutation-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-retention-jwfs4k6c.js → location-mutation-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-retention-jzg6c2d5.js → location-mutation-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-retention-mp448xyj.js → location-mutation-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-retention-msx8hqn2.js → location-mutation-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-retention-n05xt0ee.js → location-mutation-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-retention-n3j8tn72.js → location-mutation-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-retention-njntx4h6.js → location-mutation-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-retention-q3sfg36h.js → location-mutation-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-retention-q74kybfr.js → location-mutation-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-retention-qaymkmh1.js → location-mutation-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-retention-qb87gjwd.js → location-mutation-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-retention-qfa1cgps.js → location-mutation-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-retention-qrg20bc0.js → location-mutation-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-retention-rcb2kzg1.js → location-mutation-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-retention-sdp7kfr6.js → location-mutation-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-retention-sk3qaz4a.js → location-mutation-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-retention-ssg3fenm.js → location-mutation-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-retention-twg0f83k.js → location-mutation-twg0f83k.js} +0 -0
- /package/dist/chunks/{file-retention-w803qqfp.js → location-mutation-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-retention-wer8tq1h.js → location-mutation-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-retention-wtztk69x.js → location-mutation-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-retention-x0ckcb58.js → location-mutation-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-retention-x61499pn.js → location-mutation-x61499pn.js} +0 -0
- /package/dist/chunks/{file-retention-y44na4kk.js → location-mutation-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-retention-y8cydn3q.js → location-mutation-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-retention-ygaqb7jw.js → location-mutation-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-retention-ym463w8f.js → location-mutation-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-retention-z9919s4g.js → location-mutation-z9919s4g.js} +0 -0
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin38
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin38 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin44 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin38, exports_mcp_codemode_exclusion };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./location-mutation-4vm7bp65.js";
|
|
4
4
|
import {
|
|
5
5
|
unavailable3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-rhjbct0v.js";
|
|
7
7
|
import {
|
|
8
8
|
AbsolutePath2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-mutation-922hggd3.js";
|
|
10
10
|
import {
|
|
11
11
|
File2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service47
|
|
13
|
+
} from "./location-mutation-crjd20w0.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service75
|
|
16
|
+
} from "./location-mutation-9237j28x.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/instruction.ts
|
|
22
22
|
var exports_instruction = {};
|
|
23
23
|
__export(exports_instruction, {
|
|
24
24
|
ConfigInstructionPlugin: () => exports_instruction,
|
|
25
|
-
Plugin: () =>
|
|
25
|
+
Plugin: () => Plugin19
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
30
|
import { dirname, join } from "path";
|
|
31
31
|
import { Effect, PubSub, Semaphore, Stream } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin19 = define({
|
|
33
33
|
id: "opencode.config.instruction",
|
|
34
34
|
effect: Effect.fn(function* () {
|
|
35
|
-
const discovery = yield*
|
|
35
|
+
const discovery = yield* Service47;
|
|
36
36
|
if (!discovery.project && !discovery.global)
|
|
37
37
|
return;
|
|
38
38
|
yield* Effect.gen(function* () {
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
40
|
const global = yield* Global.Service;
|
|
41
|
-
const location = yield*
|
|
42
|
-
const watcher = yield*
|
|
41
|
+
const location = yield* Service75;
|
|
42
|
+
const watcher = yield* Service55;
|
|
43
43
|
const changes = yield* PubSub.sliding(1);
|
|
44
44
|
const lock = Semaphore.makeUnsafe(1);
|
|
45
45
|
const start = yield* fs.resolve(location.directory);
|
|
@@ -114,4 +114,4 @@ function ancestorDirectories(start, stop) {
|
|
|
114
114
|
return [start, ...ancestorDirectories(dirname(start), stop)];
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
export {
|
|
117
|
+
export { Plugin19, exports_instruction };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
loadPackage2,
|
|
6
6
|
mergeOverlay2,
|
|
7
7
|
mergeHeaders2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-mutation-r2qzv5a7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service46,
|
|
11
|
+
node49
|
|
12
|
+
} from "./location-mutation-b2yhkeqr.js";
|
|
13
13
|
import {
|
|
14
14
|
map2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-mutation-watqcrva.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID5,
|
|
18
18
|
VariantID2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Ref3
|
|
20
|
+
} from "./location-mutation-g47vrvhs.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID4,
|
|
23
|
+
Service49,
|
|
24
|
+
node53
|
|
25
|
+
} from "./location-mutation-4x302fsb.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service48,
|
|
28
|
+
node52
|
|
29
|
+
} from "./location-mutation-fpqwst5z.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/model-resolver.ts
|
|
35
35
|
var exports_model_resolver = {};
|
|
36
36
|
__export(exports_model_resolver, {
|
|
37
37
|
ModelResolver: () => exports_model_resolver,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service45,
|
|
39
39
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError3,
|
|
40
40
|
UnsupportedCompactionError: () => UnsupportedCompactionError3,
|
|
41
41
|
UnsupportedPackageError: () => UnsupportedPackageError3,
|
|
42
42
|
VariantUnavailableError: () => VariantUnavailableError3,
|
|
43
43
|
fromCatalogModel: () => fromCatalogModel2,
|
|
44
44
|
hasPackage: () => hasPackage2,
|
|
45
|
-
layer: () =>
|
|
46
|
-
node: () =>
|
|
45
|
+
layer: () => layer19,
|
|
46
|
+
node: () => node48,
|
|
47
47
|
resolveModel: () => resolveModel2,
|
|
48
48
|
withVariant: () => withVariant2
|
|
49
49
|
});
|
|
@@ -53,8 +53,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
53
53
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
54
54
|
import { Npm } from "@opencode/util/npm";
|
|
55
55
|
class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
56
|
-
providerID:
|
|
57
|
-
modelID:
|
|
56
|
+
providerID: ID13,
|
|
57
|
+
modelID: ID5,
|
|
58
58
|
variant: VariantID2
|
|
59
59
|
}) {
|
|
60
60
|
get message() {
|
|
@@ -63,8 +63,8 @@ class VariantUnavailableError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
63
63
|
}
|
|
64
64
|
|
|
65
65
|
class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
66
|
-
providerID:
|
|
67
|
-
modelID:
|
|
66
|
+
providerID: ID13,
|
|
67
|
+
modelID: ID5,
|
|
68
68
|
package: Schema.String
|
|
69
69
|
}) {
|
|
70
70
|
get message() {
|
|
@@ -73,8 +73,8 @@ class UnsupportedPackageError3 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
73
73
|
}
|
|
74
74
|
|
|
75
75
|
class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
76
|
-
providerID:
|
|
77
|
-
modelID:
|
|
76
|
+
providerID: ID13,
|
|
77
|
+
modelID: ID5,
|
|
78
78
|
variables: Schema.Array(Schema.String)
|
|
79
79
|
}) {
|
|
80
80
|
get message() {
|
|
@@ -83,8 +83,8 @@ class UnresolvedProviderVariablesError3 extends Schema.TaggedError()("SessionRun
|
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
86
|
-
providerID:
|
|
87
|
-
modelID:
|
|
86
|
+
providerID: ID13,
|
|
87
|
+
modelID: ID5,
|
|
88
88
|
route: Schema.String
|
|
89
89
|
}) {
|
|
90
90
|
get message() {
|
|
@@ -92,7 +92,7 @@ class UnsupportedCompactionError3 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
92
92
|
}
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service45 extends Context.Service()("@opencode/ModelResolver") {
|
|
96
96
|
}
|
|
97
97
|
var withVariant2 = (model, variantID) => {
|
|
98
98
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -218,14 +218,14 @@ var unsupported = (model) => new UnsupportedPackageError3({
|
|
|
218
218
|
});
|
|
219
219
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
220
220
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
221
|
-
var
|
|
222
|
-
const catalog = yield*
|
|
223
|
-
const integrations = yield*
|
|
221
|
+
var layer19 = Layer.effect(Service45, Effect.gen(function* () {
|
|
222
|
+
const catalog = yield* Service48;
|
|
223
|
+
const integrations = yield* Service49;
|
|
224
224
|
const npm = yield* Npm.Service;
|
|
225
|
-
const aisdk = yield*
|
|
225
|
+
const aisdk = yield* Service46;
|
|
226
226
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
227
227
|
const provider = yield* catalog.provider.get(selected.providerID);
|
|
228
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
228
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID4.make(selected.providerID));
|
|
229
229
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
230
230
|
const runtimeInfo = yield* withVariant2(selected, variant);
|
|
231
231
|
const model = yield* fromCatalogModel2(runtimeInfo, credential, {
|
|
@@ -235,7 +235,7 @@ var layer21 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
235
235
|
const runtime = provider?.activation === "enabled" && credential === undefined && !hasConfiguredAuth(runtimeInfo) && usesAPIKeyAuth(runtimeInfo.package) ? LanguageModel.update(model, { route: model.route.with({ auth: Auth.none }) }) : model;
|
|
236
236
|
return {
|
|
237
237
|
model: runtime,
|
|
238
|
-
ref:
|
|
238
|
+
ref: Ref3.make({
|
|
239
239
|
id: selected.id,
|
|
240
240
|
providerID: selected.providerID,
|
|
241
241
|
...variant === undefined ? {} : { variant }
|
|
@@ -246,7 +246,7 @@ var layer21 = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
246
246
|
compaction: selected.compaction
|
|
247
247
|
};
|
|
248
248
|
});
|
|
249
|
-
return
|
|
249
|
+
return Service45.of({
|
|
250
250
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
251
251
|
const selected = requested ? yield* catalog.model.get(requested.providerID, requested.id) : yield* catalog.model.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(catalog.model.available(), (models) => models.find(hasPackage2))));
|
|
252
252
|
if (!selected)
|
|
@@ -263,10 +263,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
263
263
|
const name = packageName2(packageName);
|
|
264
264
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
265
265
|
}
|
|
266
|
-
var
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
266
|
+
var node48 = makeLocationNode({
|
|
267
|
+
service: Service45,
|
|
268
|
+
layer: layer19,
|
|
269
|
+
deps: [node52, node53, Npm.node, node49]
|
|
270
270
|
});
|
|
271
271
|
|
|
272
|
-
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3,
|
|
272
|
+
export { VariantUnavailableError3, UnsupportedPackageError3, UnresolvedProviderVariablesError3, UnsupportedCompactionError3, Service45, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer19, node48, exports_model_resolver };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Ref4
|
|
3
|
+
} from "./location-mutation-9237j28x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service42,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node45
|
|
15
15
|
});
|
|
16
16
|
import { Context, Effect, Layer } from "effect";
|
|
17
17
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
18
18
|
import { Node } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
20
20
|
import path from "path";
|
|
21
|
-
class
|
|
21
|
+
class Service42 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
22
22
|
static get(ref) {
|
|
23
|
-
return Layer.unwrap(Effect.map(
|
|
23
|
+
return Layer.unwrap(Effect.map(Service42, (locations) => locations.get(ref)));
|
|
24
24
|
}
|
|
25
25
|
}
|
|
26
|
-
var
|
|
26
|
+
var node45 = LayerNode.unbound(Service42, Node.tags.values.global);
|
|
27
27
|
function canonical3(ref) {
|
|
28
|
-
return
|
|
28
|
+
return Ref4.make({
|
|
29
29
|
directory: AbsolutePath.make(process.platform === "win32" ? path.normalize(ref.directory) : ref.directory),
|
|
30
30
|
workspaceID: ref.workspaceID
|
|
31
31
|
});
|
|
32
32
|
}
|
|
33
33
|
|
|
34
|
-
export {
|
|
34
|
+
export { Service42, node45, canonical3, exports_location_service_map };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-mutation-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service35,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service35 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service35, exports_runner };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-mutation-r2qzv5a7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
ID5
|
|
8
|
+
} from "./location-mutation-g47vrvhs.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-mutation-9198tjt8.js";
|
|
12
12
|
import {
|
|
13
13
|
OAuth3,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Event18
|
|
15
|
+
} from "./location-mutation-0qdvrgkw.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID4,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-mutation-4x302fsb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service48
|
|
22
|
+
} from "./location-mutation-fpqwst5z.js";
|
|
23
23
|
import {
|
|
24
24
|
get2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-mutation-p5nxgrb7.js";
|
|
26
26
|
import {
|
|
27
27
|
useragent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-mutation-jt7ywd0b.js";
|
|
29
29
|
|
|
30
30
|
// src/plugin/provider/github-copilot.ts
|
|
31
31
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -57,7 +57,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
57
57
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
58
58
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
59
59
|
var oauth = (app) => ({
|
|
60
|
-
integrationID:
|
|
60
|
+
integrationID: ID4.make("github-copilot"),
|
|
61
61
|
method: {
|
|
62
62
|
id: methodID,
|
|
63
63
|
type: "oauth",
|
|
@@ -155,7 +155,7 @@ var oauth = (app) => ({
|
|
|
155
155
|
var GithubCopilotPlugin2 = define({
|
|
156
156
|
id: "opencode.provider.github.copilot",
|
|
157
157
|
effect: Effect.fn(function* (ctx) {
|
|
158
|
-
const catalog = yield*
|
|
158
|
+
const catalog = yield* Service48;
|
|
159
159
|
const bus = yield* Service79;
|
|
160
160
|
const loading = Semaphore.makeUnsafe(1);
|
|
161
161
|
const loaded = {};
|
|
@@ -170,8 +170,8 @@ var GithubCopilotPlugin2 = define({
|
|
|
170
170
|
return;
|
|
171
171
|
}
|
|
172
172
|
loaded.baseURL = copilotBaseURL2(credential.metadata);
|
|
173
|
-
const provider = yield* catalog.provider.get(
|
|
174
|
-
const existing = (yield* catalog.model.all()).filter((model) => model.providerID ===
|
|
173
|
+
const provider = yield* catalog.provider.get(ID13.githubCopilot);
|
|
174
|
+
const existing = (yield* catalog.model.all()).filter((model) => model.providerID === ID13.githubCopilot);
|
|
175
175
|
loaded.models = yield* Effect.tryPromise({
|
|
176
176
|
try: () => get2(loaded.baseURL ?? baseURL(), {
|
|
177
177
|
...provider?.headers,
|
|
@@ -187,12 +187,12 @@ var GithubCopilotPlugin2 = define({
|
|
|
187
187
|
editor.method.update(oauth(ctx.app));
|
|
188
188
|
});
|
|
189
189
|
yield* ctx.catalog.transform((evt) => {
|
|
190
|
-
const item = evt.provider.get(
|
|
190
|
+
const item = evt.provider.get(ID13.githubCopilot);
|
|
191
191
|
if (!item)
|
|
192
192
|
return;
|
|
193
193
|
if (loaded.models) {
|
|
194
194
|
for (const id of item.models.keys()) {
|
|
195
|
-
if (!loaded.models.has(
|
|
195
|
+
if (!loaded.models.has(ID5.make(id)))
|
|
196
196
|
evt.model.remove(item.provider.id, id);
|
|
197
197
|
}
|
|
198
198
|
for (const [id, model] of loaded.models) {
|
|
@@ -207,17 +207,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
207
207
|
});
|
|
208
208
|
}
|
|
209
209
|
}
|
|
210
|
-
if (item.models.has(
|
|
211
|
-
evt.model.update(item.provider.id,
|
|
210
|
+
if (item.models.has(ID5.make("gpt-5-chat-latest"))) {
|
|
211
|
+
evt.model.update(item.provider.id, ID5.make("gpt-5-chat-latest"), (model) => {
|
|
212
212
|
model.enabled = false;
|
|
213
213
|
});
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
217
|
-
yield* bus.subscribe(
|
|
217
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID4.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
218
218
|
yield* refresh().pipe(Effect.forkScoped);
|
|
219
219
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
220
|
-
if (evt.model.providerID !==
|
|
220
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
221
221
|
return;
|
|
222
222
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
223
223
|
return;
|
|
@@ -226,7 +226,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
226
226
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
227
227
|
}));
|
|
228
228
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
229
|
-
if (evt.model.providerID !==
|
|
229
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
230
230
|
return;
|
|
231
231
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
232
232
|
return;
|
|
@@ -236,9 +236,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
236
236
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
237
237
|
if (interaction !== "conversation-agent")
|
|
238
238
|
evt.headers["x-initiator"] = "agent";
|
|
239
|
-
}), { providerID:
|
|
239
|
+
}), { providerID: ID13.githubCopilot });
|
|
240
240
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
241
|
-
if (evt.model.providerID !==
|
|
241
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
242
242
|
return;
|
|
243
243
|
const token = evt.request.headers.get("x-api-key");
|
|
244
244
|
if (!token)
|
|
@@ -246,9 +246,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
246
246
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
247
247
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
248
248
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
249
|
-
}), { providerID:
|
|
249
|
+
}), { providerID: ID13.githubCopilot });
|
|
250
250
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
251
|
-
if (evt.model.providerID !==
|
|
251
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
252
252
|
return;
|
|
253
253
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
254
254
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|