@opencode/core 0.0.0-dev-20344 → 0.0.0-dev-20347
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +69 -69
- package/dist/chunks/{location-5a824ydm.js → instance-00z794ba.js} +30 -30
- package/dist/chunks/{location-rhjbct0v.js → instance-02nrjc1r.js} +6 -6
- package/dist/chunks/{location-5ys6ptk8.js → instance-05nr12ga.js} +8 -8
- package/dist/chunks/{location-h4c91pay.js → instance-0b1r2nar.js} +4 -4
- package/dist/chunks/{location-x19b8bje.js → instance-0f1q8mhp.js} +3 -3
- package/dist/chunks/{location-xeeh34fw.js → instance-0f7fdyhm.js} +24 -24
- package/dist/chunks/{location-0paq2nw3.js → instance-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-gb5fcfe9.js → instance-0s4gzez2.js} +3 -3
- package/dist/chunks/{location-r01t9b5y.js → instance-0t4t4bvw.js} +6 -6
- package/dist/chunks/{location-89n34mzq.js → instance-0wgn88mx.js} +71 -71
- package/dist/chunks/{location-jjpdfk8h.js → instance-0zkvp2s6.js} +12 -12
- package/dist/chunks/{location-trf615cw.js → instance-12zqzasv.js} +24 -24
- package/dist/chunks/{location-t35kk4m3.js → instance-13b8240x.js} +15 -15
- package/dist/chunks/{location-watadjga.js → instance-17vxg2pa.js} +27 -27
- package/dist/chunks/{location-1dazxqgg.js → instance-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-2zmtdwwa.js → instance-1ep0ag5c.js} +16 -16
- package/dist/chunks/{location-95cjtnmc.js → instance-1jf4r3q5.js} +30 -30
- package/dist/chunks/{location-dz88wbe7.js → instance-1kgt02yq.js} +21 -21
- package/dist/chunks/{location-p1nmr6zw.js → instance-1wzp5vhs.js} +12 -12
- package/dist/chunks/{location-56gdpj1q.js → instance-1ygqh575.js} +9 -9
- package/dist/chunks/{location-21r38tys.js → instance-21r38tys.js} +1 -1
- package/dist/chunks/{location-5xeggsjb.js → instance-25m4qrv4.js} +43 -43
- package/dist/chunks/{location-2a5m3afh.js → instance-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-0prctygm.js → instance-2b7v78nw.js} +33 -33
- package/dist/chunks/{location-02ncb0r7.js → instance-2ebt2by2.js} +27 -27
- package/dist/chunks/{location-6dz1qw9v.js → instance-2eey65yv.js} +11 -11
- package/dist/chunks/{location-nvxqht09.js → instance-2f04pwep.js} +3 -3
- package/dist/chunks/{location-2pmtme7c.js → instance-2fsr3kas.js} +26 -26
- package/dist/chunks/{location-tbmac1c7.js → instance-2k71kv7p.js} +4 -4
- package/dist/chunks/{location-m4x4aq54.js → instance-2m0bye6k.js} +37 -37
- package/dist/chunks/{location-j03hpba4.js → instance-2py2e7s2.js} +16 -16
- package/dist/chunks/{location-7k9teg1e.js → instance-2r3mcywg.js} +15 -15
- package/dist/chunks/{location-nqeb2avx.js → instance-2t11h4xx.js} +16 -16
- package/dist/chunks/{location-fq4hkzfh.js → instance-338qzn9z.js} +14 -14
- package/dist/chunks/{location-g05cwh14.js → instance-369yqr36.js} +12 -12
- package/dist/chunks/{location-dv0n9c2x.js → instance-36b9dvbm.js} +57 -57
- package/dist/chunks/{location-a67xc8v7.js → instance-38zchr7d.js} +13 -13
- package/dist/chunks/{location-mtr9da87.js → instance-3ex2k6kh.js} +8 -8
- package/dist/chunks/{location-3fc6dm20.js → instance-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-3hepkmqq.js → instance-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-nw53exab.js → instance-3rtxz4nr.js} +8 -8
- package/dist/chunks/{location-3smtnn6g.js → instance-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-mwacmns3.js → instance-3st0x5wy.js} +6 -6
- package/dist/chunks/{location-3tvqynh2.js → instance-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-exptz1jn.js → instance-3zdj43gd.js} +8 -8
- package/dist/chunks/{location-3zsf4n22.js → instance-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-rbnh57a3.js → instance-40rza0xc.js} +331 -331
- package/dist/chunks/{location-bkcw67jg.js → instance-4r9k3tsv.js} +37 -37
- package/dist/chunks/{location-as89ak57.js → instance-4trk4tg4.js} +13 -13
- package/dist/chunks/{location-zrq8kphx.js → instance-4w5f3qm5.js} +8 -8
- package/dist/chunks/{location-anyjerdd.js → instance-53dkj82b.js} +31 -31
- package/dist/chunks/{location-54ma36ye.js → instance-54ma36ye.js} +1 -1
- package/dist/chunks/{location-54tcyq79.js → instance-54tcyq79.js} +2 -2
- package/dist/chunks/{location-tx44wenv.js → instance-54w68rt0.js} +10 -10
- package/dist/chunks/{location-57ez7d0k.js → instance-57ez7d0k.js} +2 -2
- package/dist/chunks/{location-gh2q5f0h.js → instance-582g2epr.js} +13 -13
- package/dist/chunks/{location-5daktx2q.js → instance-5daktx2q.js} +1 -1
- package/dist/chunks/{location-be3vrfba.js → instance-5g4dphx9.js} +13 -13
- package/dist/chunks/{location-v4bf4b2h.js → instance-5jmzar2h.js} +4 -4
- package/dist/chunks/{location-21a7rb1f.js → instance-5m3x4363.js} +9 -9
- package/dist/chunks/{location-xfgqgyq2.js → instance-5nznbj64.js} +16 -16
- package/dist/chunks/{location-e3qxr5gk.js → instance-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-mjncxbbh.js → instance-5qkxfyep.js} +6 -6
- package/dist/chunks/{location-5t3nmthw.js → instance-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-669tq793.js → instance-669tq793.js} +1 -1
- package/dist/chunks/{location-dzpwn25x.js → instance-66jz9kyv.js} +20 -20
- package/dist/chunks/{location-zzmaa19e.js → instance-66xaeypk.js} +11 -11
- package/dist/chunks/{location-96ctqc5x.js → instance-697fm79x.js} +4 -4
- package/dist/chunks/{location-6msgmcgs.js → instance-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-bks6cz2k.js → instance-6zm15g3b.js} +35 -35
- package/dist/chunks/{location-xxfd829z.js → instance-73g5gd7g.js} +21 -21
- package/dist/chunks/{location-mvfsc1pv.js → instance-73tb2d7t.js} +3 -3
- package/dist/chunks/{location-t6zqrtn1.js → instance-76dcvmkt.js} +17 -17
- package/dist/chunks/{location-7bmhse3q.js → instance-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qpcrevt6.js → instance-7ntc9a0e.js} +26 -26
- package/dist/chunks/{location-mt41vr8a.js → instance-7s5j674f.js} +26 -26
- package/dist/chunks/{location-gec89q0r.js → instance-7t80exg4.js} +16 -16
- package/dist/chunks/{location-84txncab.js → instance-84txncab.js} +1 -1
- package/dist/chunks/{location-ajevxyj5.js → instance-85r8tsac.js} +30 -30
- package/dist/chunks/{location-3zhghk4y.js → instance-88ss8t9q.js} +13 -13
- package/dist/chunks/{location-qs2a9kth.js → instance-8b85xsm7.js} +34 -34
- package/dist/chunks/{location-8d7r5vzw.js → instance-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-zh9b217t.js → instance-8f83kxjc.js} +5 -5
- package/dist/chunks/{location-2qfnc9v9.js → instance-8fm1z53k.js} +20 -20
- package/dist/chunks/{location-0djkakhq.js → instance-8frmscre.js} +29 -29
- package/dist/chunks/{location-r539qsq3.js → instance-8kee5zap.js} +11 -11
- package/dist/chunks/{location-7ypqrqvy.js → instance-8mk465rv.js} +17 -17
- package/dist/chunks/{location-23xej63c.js → instance-8y7x8vcq.js} +9 -9
- package/dist/chunks/{location-4mwpykj0.js → instance-909p1r3q.js} +6 -6
- package/dist/chunks/{location-f1w4z5f6.js → instance-93x23pr4.js} +11 -11
- package/dist/chunks/{location-f08wkcbe.js → instance-95s58k3z.js} +3 -3
- package/dist/chunks/{location-myd9kayg.js → instance-9gcpvxft.js} +7 -7
- package/dist/chunks/{location-br0tr5aq.js → instance-9hn6k4tm.js} +8 -8
- package/dist/chunks/{location-j8svvbq4.js → instance-9mzz4xwb.js} +10 -10
- package/dist/chunks/{location-m1a691bq.js → instance-9vchvzry.js} +9 -9
- package/dist/chunks/{location-7nh1fm73.js → instance-9yg8c2xz.js} +11 -11
- package/dist/chunks/{location-xj05n8sj.js → instance-a21dp004.js} +5 -5
- package/dist/chunks/{location-3r5gxg73.js → instance-a788hp9v.js} +13 -13
- package/dist/chunks/{location-aaet6srn.js → instance-aaet6srn.js} +2 -2
- package/dist/chunks/{location-djanh1gf.js → instance-aaytmyqw.js} +19 -19
- package/dist/chunks/{location-ckqfqcne.js → instance-ab7zcdxy.js} +42 -42
- package/dist/chunks/{location-dnxkq42g.js → instance-addxnjmp.js} +4 -4
- package/dist/chunks/{location-3xxwahma.js → instance-aeg17wpk.js} +27 -27
- package/dist/chunks/{location-ddrs7t2j.js → instance-agjy9qr2.js} +6 -6
- package/dist/chunks/{location-tsb833f7.js → instance-atzz64ss.js} +3 -3
- package/dist/chunks/{location-8jqzhmtt.js → instance-aw49yqdf.js} +3 -3
- package/dist/chunks/{location-aqjetw3w.js → instance-b09tdaxh.js} +22 -22
- package/dist/chunks/{location-b6gygkdw.js → instance-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-jv7gn18a.js → instance-bdgv4x5t.js} +17 -17
- package/dist/chunks/{location-bjtzbw4r.js → instance-bjtzbw4r.js} +3 -3
- package/dist/chunks/{location-0v2sk5j6.js → instance-c6ktxwqc.js} +8 -8
- package/dist/chunks/{location-d87ppnb3.js → instance-c78bbtc9.js} +5 -5
- package/dist/chunks/{location-xdk9p2qn.js → instance-cavr175a.js} +21 -21
- package/dist/chunks/{location-4p7vd6rv.js → instance-cdtc1y6n.js} +30 -30
- package/dist/chunks/{location-8dg5vm6z.js → instance-cecf23v1.js} +86 -86
- package/dist/chunks/{location-8v1cm23h.js → instance-cg6spsmn.js} +12 -12
- package/dist/chunks/{location-6cqxdj14.js → instance-chnar1p2.js} +17 -17
- package/dist/chunks/{location-adqdpybp.js → instance-ckyx6ra3.js} +9 -9
- package/dist/chunks/{location-xnwq07qp.js → instance-cmcswhn8.js} +1 -1
- package/dist/chunks/{location-2d57kztd.js → instance-cpy6gm2a.js} +6 -6
- package/dist/chunks/{location-qmqgtz8f.js → instance-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-hbkd0kx9.js → instance-cx34d9wd.js} +11 -11
- package/dist/chunks/{location-8qf8ceg9.js → instance-cxceryqc.js} +15 -15
- package/dist/chunks/{location-6z9mwsmt.js → instance-cxnb4521.js} +24 -24
- package/dist/chunks/{location-v0a36qrn.js → instance-cydz2706.js} +11 -11
- package/dist/chunks/{location-pq4fj8xc.js → instance-d5feer7t.js} +48 -48
- package/dist/chunks/{location-khkvak3g.js → instance-d7bvrw5g.js} +2 -2
- package/dist/chunks/{location-qkaqxm3y.js → instance-dg29g02g.js} +15 -15
- package/dist/chunks/{location-9jzbk5r7.js → instance-dhzet7hy.js} +20 -20
- package/dist/chunks/{location-4ms6454k.js → instance-dj05ae37.js} +40 -40
- package/dist/chunks/{location-x594m8gs.js → instance-djya4byx.js} +23 -23
- package/dist/chunks/{location-k18kvgqw.js → instance-dk7bjcdx.js} +24 -24
- package/dist/chunks/{location-dmqcgk4z.js → instance-dmqcgk4z.js} +2 -2
- package/dist/chunks/{location-dpkg50ah.js → instance-dpkg50ah.js} +1 -1
- package/dist/chunks/{location-drwq78ky.js → instance-drwq78ky.js} +1 -1
- package/dist/chunks/{location-dgadgb83.js → instance-dtzxecjt.js} +9 -9
- package/dist/chunks/{location-ecfe7b91.js → instance-ecfe7b91.js} +2 -2
- package/dist/chunks/{location-zbt3cmbn.js → instance-edp70jz7.js} +13 -13
- package/dist/chunks/{location-n4thbxy5.js → instance-eeg934br.js} +171 -171
- package/dist/chunks/{location-ef5x83kb.js → instance-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-3r5v0g1e.js → instance-em6m98v9.js} +43 -43
- package/dist/chunks/{location-sjcx3g3r.js → instance-et7t22dp.js} +24 -24
- package/dist/chunks/{location-etq0c3wd.js → instance-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-vakeda38.js → instance-f1ddb923.js} +5 -5
- package/dist/chunks/{location-dk95rs1h.js → instance-f2m2hgdk.js} +44 -44
- package/dist/chunks/{location-yp2x3t23.js → instance-f2n192rq.js} +4 -4
- package/dist/chunks/{location-y3ts0hry.js → instance-f3e7ht4w.js} +5 -5
- package/dist/chunks/{location-a6j3e98v.js → instance-fma9v0et.js} +19 -19
- package/dist/chunks/{location-xdzxe0wf.js → instance-fpwdcn1v.js} +8 -8
- package/dist/chunks/{location-bk7jaeqh.js → instance-fx5e6na3.js} +4 -4
- package/dist/chunks/{location-r9fqj8ns.js → instance-g394atv5.js} +26 -26
- package/dist/chunks/{location-h6b02349.js → instance-g5agzp2h.js} +5 -5
- package/dist/chunks/{location-twmzk99d.js → instance-g5hxes5s.js} +5 -5
- package/dist/chunks/{location-gd4qta3r.js → instance-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-100xjj6b.js → instance-gd7zv552.js} +26 -26
- package/dist/chunks/{location-gfvb90ym.js → instance-gfvb90ym.js} +2 -2
- package/dist/chunks/{location-77bexmsv.js → instance-gh1gkhec.js} +10 -10
- package/dist/chunks/{location-3wrtxrr4.js → instance-gnhsmmqn.js} +6 -6
- package/dist/chunks/{location-em07s6t6.js → instance-gtm2t5zb.js} +21 -21
- package/dist/chunks/{location-gv6a8nnw.js → instance-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-p84dsdfh.js → instance-gwydwvmj.js} +5 -5
- package/dist/chunks/{location-g6996jmd.js → instance-gxkpkgn5.js} +11 -11
- package/dist/chunks/{location-85sw6847.js → instance-h1q7n26e.js} +24 -24
- package/dist/chunks/{location-h6vf3j39.js → instance-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-espax8zg.js → instance-h9pnpq88.js} +4 -4
- package/dist/chunks/{location-j2z7g6g4.js → instance-hacmn8nb.js} +4 -4
- package/dist/chunks/{location-8cqwjt8t.js → instance-hccam8ke.js} +1 -1
- package/dist/chunks/{location-znsx74x0.js → instance-hekxc47r.js} +1 -1
- package/dist/chunks/{location-r5h3vakg.js → instance-hfycda1e.js} +7 -7
- package/dist/chunks/{location-2crtrvgv.js → instance-hwwz6nq5.js} +8 -8
- package/dist/chunks/{location-8kzf8c2b.js → instance-hxbvs3nd.js} +10 -10
- package/dist/chunks/{location-r2vmt3px.js → instance-hz0q9sdq.js} +8 -8
- package/dist/chunks/{location-n3csj6mp.js → instance-j0d9hgmw.js} +23 -23
- package/dist/chunks/{location-j56e64zr.js → instance-j56e64zr.js} +1 -1
- package/dist/chunks/{location-g78cg05n.js → instance-jb7dvbbh.js} +7 -7
- package/dist/chunks/{location-e0m7kynn.js → instance-je9gkswr.js} +5 -5
- package/dist/chunks/{location-c91k7ad4.js → instance-k24rpsjj.js} +33 -33
- package/dist/chunks/{location-k3c624dm.js → instance-k3c624dm.js} +3 -3
- package/dist/chunks/{location-09q1akkk.js → instance-k43d2zym.js} +42 -42
- package/dist/chunks/{location-vdb8q7n5.js → instance-k566emck.js} +25 -25
- package/dist/chunks/{location-kxf9nzd0.js → instance-k920ke72.js} +10 -10
- package/dist/chunks/{location-w561axtn.js → instance-kbet8yy5.js} +14 -14
- package/dist/chunks/{location-hs5zt0a8.js → instance-kfxj9hw0.js} +3 -3
- package/dist/chunks/{location-1qmb30g3.js → instance-kh2jvqpk.js} +3 -3
- package/dist/chunks/{location-f04hbnz0.js → instance-kp1a29kb.js} +22 -22
- package/dist/chunks/{location-d8h50pbm.js → instance-ky9ke6qb.js} +12 -12
- package/dist/chunks/{location-m3fdjcah.js → instance-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-m9w0rfyh.js → instance-m9w0rfyh.js} +1 -1
- package/dist/chunks/instance-ma324w7y.js +26 -0
- package/dist/chunks/{location-yks39n9z.js → instance-mh5wyt4r.js} +19 -19
- package/dist/chunks/{location-s6tgk9vn.js → instance-mk4ndz7c.js} +31 -31
- package/dist/chunks/{location-n6rcy4mh.js → instance-n9gck6mn.js} +2 -2
- package/dist/chunks/{location-3pr8te96.js → instance-n9q91xrw.js} +48 -48
- package/dist/chunks/{location-xhq66er1.js → instance-nkvphcqc.js} +24 -24
- package/dist/chunks/{location-ys0deajw.js → instance-nr7ts9f7.js} +16 -16
- package/dist/chunks/{location-ma15yhyh.js → instance-nrk5vjbf.js} +5 -5
- package/dist/chunks/{location-fhs97t90.js → instance-nscznvay.js} +9 -9
- package/dist/chunks/{location-f2y0nrye.js → instance-nt6g2fe2.js} +30 -30
- package/dist/chunks/{location-mtzh4w76.js → instance-nxcjarzz.js} +3 -3
- package/dist/chunks/{location-avm8jn6n.js → instance-nxhqveyz.js} +5 -5
- package/dist/chunks/{location-3ea3aynk.js → instance-p5gdgn99.js} +11 -11
- package/dist/chunks/{location-h9wp8z5w.js → instance-p6wxjpka.js} +4 -4
- package/dist/chunks/{location-4m6thn4g.js → instance-p8kxwtmp.js} +11 -11
- package/dist/chunks/{location-emdq8hvp.js → instance-pahs6y7g.js} +4 -4
- package/dist/chunks/{location-02pzv384.js → instance-pb4k853k.js} +3 -3
- package/dist/chunks/instance-phz3h32g.js +18 -0
- package/dist/chunks/{location-pjvnvgmy.js → instance-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → instance-pknna89w.js} +1 -1
- package/dist/chunks/{location-bt7n4pmb.js → instance-pq2xndxs.js} +4 -4
- package/dist/chunks/{location-psazpmmj.js → instance-psazpmmj.js} +2 -2
- package/dist/chunks/{location-he6fwm9p.js → instance-pyef3n0n.js} +20 -20
- package/dist/chunks/{location-ve4pfa0n.js → instance-q2b1ymqp.js} +4 -4
- package/dist/chunks/{location-nz569jqt.js → instance-qdbakdjh.js} +5 -5
- package/dist/chunks/{location-7dqw4kz8.js → instance-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-qte5z7bc.js → instance-qjnxxf51.js} +5 -5
- package/dist/chunks/{location-qsdy395h.js → instance-qsdy395h.js} +1 -1
- package/dist/chunks/{location-86jdww2w.js → instance-qwvk0a6y.js} +36 -36
- package/dist/chunks/{location-bddt2pqj.js → instance-r40cdba5.js} +9 -9
- package/dist/chunks/{location-y56ehv6b.js → instance-r9w3djhf.js} +9 -9
- package/dist/chunks/{location-qa3tmgdp.js → instance-ran5413e.js} +11 -11
- package/dist/chunks/{location-6hwp1n2b.js → instance-rbs8ygdk.js} +25 -25
- package/dist/chunks/{location-rdw6cm16.js → instance-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-6pc27hjz.js → instance-rkprpv83.js} +6 -6
- package/dist/chunks/{location-s85wev1h.js → instance-rt16eknw.js} +5 -5
- package/dist/chunks/{location-vd3e338q.js → instance-rzv1dsbt.js} +29 -29
- package/dist/chunks/{location-mg7d5g79.js → instance-s1pzcwv6.js} +11 -11
- package/dist/chunks/{location-5b7ts617.js → instance-s2w85mmk.js} +10 -10
- package/dist/chunks/{location-jasex9we.js → instance-s72aqjrj.js} +18 -18
- package/dist/chunks/{location-tqkrwgse.js → instance-s8610hey.js} +2 -2
- package/dist/chunks/{location-b6763zrq.js → instance-sm8msg89.js} +4 -4
- package/dist/chunks/{location-ysbspvw2.js → instance-snq06y00.js} +11 -11
- package/dist/chunks/{location-p91yt6mk.js → instance-szg73pt7.js} +20 -20
- package/dist/chunks/{location-q0raz0xt.js → instance-tat11k01.js} +9 -9
- package/dist/chunks/{location-tazgh4e4.js → instance-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → instance-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-4ygrs1t9.js → instance-tcj970ag.js} +20 -20
- package/dist/chunks/{location-tdstcens.js → instance-tdstcens.js} +1 -1
- package/dist/chunks/{location-td97gtjv.js → instance-tepcqy9w.js} +5 -5
- package/dist/chunks/{location-7rx9p9hh.js → instance-th5a95eq.js} +20 -20
- package/dist/chunks/{location-1nrdzak4.js → instance-tm1q26hq.js} +84 -84
- package/dist/chunks/{location-tvtrv512.js → instance-tvtrv512.js} +1 -1
- package/dist/chunks/{location-bj98hwq8.js → instance-v553g892.js} +10 -10
- package/dist/chunks/{location-19vf66h0.js → instance-v5dkyp31.js} +4 -4
- package/dist/chunks/{location-ybx772w1.js → instance-v9ghf938.js} +50 -50
- package/dist/chunks/{location-smwhbszz.js → instance-vcgwtbzj.js} +17 -17
- package/dist/chunks/{location-veqvce7d.js → instance-veqvce7d.js} +1 -1
- package/dist/chunks/{location-a02r20w9.js → instance-vh4cd7k9.js} +10 -10
- package/dist/chunks/{location-6ktz889z.js → instance-vkw8cemx.js} +23 -23
- package/dist/chunks/{location-4aj77gpq.js → instance-vmpgpmsk.js} +6 -6
- package/dist/chunks/{location-fy4xcsnd.js → instance-vpds3g83.js} +11 -11
- package/dist/chunks/{location-vzcthcp8.js → instance-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-vzs5sf6e.js → instance-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-w3wsvvr9.js → instance-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-68y7phbn.js → instance-w47g9jnr.js} +5 -5
- package/dist/chunks/{location-gnhm909b.js → instance-w60qb6s0.js} +20 -20
- package/dist/chunks/{location-wd87259q.js → instance-wd87259q.js} +1 -1
- package/dist/chunks/{location-nkp651gc.js → instance-web238rz.js} +15 -15
- package/dist/chunks/{location-t1e7skfr.js → instance-x0k7g6rd.js} +18 -18
- package/dist/chunks/{location-x1ezjp6w.js → instance-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-pbw0r91s.js → instance-xjjcaxk5.js} +11 -11
- package/dist/chunks/{location-ph85sfvw.js → instance-xmtyjr0n.js} +25 -25
- package/dist/chunks/{location-w8h3bv79.js → instance-xnktwrqe.js} +34 -34
- package/dist/chunks/{location-y1fvbwt7.js → instance-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-hnwtc367.js → instance-y3s8k4kw.js} +11 -11
- package/dist/chunks/{location-m5jy6c1p.js → instance-y410h1kq.js} +22 -22
- package/dist/chunks/{location-w4m15ch3.js → instance-yadf00wp.js} +13 -13
- package/dist/chunks/{location-1ceye290.js → instance-yamqzn72.js} +6 -6
- package/dist/chunks/instance-yg41kczc.js +252 -0
- package/dist/chunks/{location-ndcdw9g8.js → instance-yqj0yq0h.js} +20 -20
- package/dist/chunks/{location-6j6h2v05.js → instance-yr8f4xz1.js} +42 -42
- package/dist/chunks/{location-yrhqyw5v.js → instance-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-s4enseaf.js → instance-yrznvahk.js} +2 -2
- package/dist/chunks/{location-z0bkrqjs.js → instance-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-8mqyqb4j.js → instance-z0rehys0.js} +17 -17
- package/dist/chunks/{location-29x78va6.js → instance-z63w68vq.js} +6 -6
- package/dist/chunks/{location-qs001aqx.js → instance-za9cx4qh.js} +11 -11
- package/dist/chunks/{location-5jkbe8f2.js → instance-zabye2v7.js} +24 -24
- package/dist/chunks/{location-1s7a7rc8.js → instance-zbn4a2wq.js} +23 -23
- package/dist/chunks/{location-8dywwfr0.js → instance-ze97y59n.js} +9 -9
- package/dist/chunks/{location-zeh9ct20.js → instance-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-rscp1sre.js → instance-zfqnw53k.js} +17 -17
- package/dist/chunks/{location-5475xd7t.js → instance-zfqvcme8.js} +11 -11
- package/dist/chunks/{location-bg5p7gs6.js → instance-zpg2yzx7.js} +15 -15
- package/dist/chunks/{location-zr2ceqn5.js → instance-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-k81hr64f.js → instance-zrmawbs0.js} +4 -4
- package/dist/chunks/{location-2vs2nh1n.js → instance-zvt5dnpc.js} +4 -4
- package/dist/chunks/{location-zxq2ej10.js → instance-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +215 -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 +123 -123
- 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 +125 -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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -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 +93 -93
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/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 +363 -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 +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +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 +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -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 +122 -122
- 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 +95 -95
- 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 +354 -354
- 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 +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +230 -230
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +101 -101
- 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 +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- 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 +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- 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 +130 -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 +232 -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 +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- 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 +128 -128
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/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 +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- 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 +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-q509s3k3.js +0 -18
- package/dist/chunks/location-y6qt5j83.js +0 -26
- package/dist/chunks/location-ycn72enr.js +0 -252
- /package/dist/chunks/{location-0qkdqm5v.js → instance-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → instance-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → instance-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → instance-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → instance-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-24dcb14g.js → instance-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → instance-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → instance-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → instance-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-34c7v6d4.js → instance-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → instance-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → instance-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → instance-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → instance-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → instance-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → instance-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → instance-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → instance-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → instance-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → instance-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → instance-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → instance-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → instance-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → instance-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → instance-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → instance-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → instance-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-8wj87zfr.js → instance-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → instance-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → instance-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → instance-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → instance-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → instance-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → instance-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → instance-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → instance-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → instance-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → instance-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → instance-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → instance-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → instance-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → instance-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → instance-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → instance-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → instance-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → instance-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → instance-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → instance-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → instance-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → instance-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → instance-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → instance-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → instance-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → instance-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → instance-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → instance-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → instance-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → instance-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → instance-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → instance-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → instance-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → instance-hk9envan.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → instance-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → instance-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-jjkms2e6.js → instance-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → instance-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → instance-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → instance-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → instance-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → instance-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → instance-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → instance-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → instance-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → instance-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → instance-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → instance-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → instance-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → instance-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qg3g05ea.js → instance-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → instance-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → instance-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → instance-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → instance-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → instance-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → instance-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wc3fc9cn.js → instance-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → instance-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → instance-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → instance-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → instance-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → instance-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → instance-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → instance-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → instance-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → instance-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → instance-z9919s4g.js} +0 -0
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info24,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info24 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info24, Status3, key2, exports_connection };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-pq2xndxs.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service67,
|
|
7
|
+
node71
|
|
8
|
+
} from "./instance-gd7zv552.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-05nr12ga.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service80,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./instance-d7bvrw5g.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./instance-ckyx6ra3.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./instance-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node72
|
|
27
|
+
} from "./instance-36b9dvbm.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service79,
|
|
30
|
+
node83
|
|
31
|
+
} from "./instance-y3s8k4kw.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./instance-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service61,
|
|
41
|
+
node: () => node65
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service61 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
52
|
const location = yield* Service80;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service68;
|
|
54
|
+
const forms = yield* Service67;
|
|
55
|
+
const rpc = yield* Service79;
|
|
56
56
|
const project = yield* Service81;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service61.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node65 = makeLocationNode({
|
|
84
|
+
service: Service61,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87, node84,
|
|
86
|
+
deps: [node87, node84, node72, node85, node71, node83]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service61, node65, exports_location_lifecycle };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-pq2xndxs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service50,
|
|
6
|
+
Event10
|
|
7
|
+
} from "./instance-6zm15g3b.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service50;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event10.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./instance-rzv1dsbt.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-hccam8ke.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
9
|
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-kfxj9hw0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./instance-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-pq2xndxs.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-mh5wyt4r.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-sk3qaz4a.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./instance-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError10,
|
|
20
|
+
Options: () => Options9,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service77,
|
|
23
23
|
UnavailableError: () => UnavailableError3,
|
|
24
|
-
configured: () =>
|
|
25
|
-
layer: () =>
|
|
26
|
-
node: () =>
|
|
24
|
+
configured: () => configured10,
|
|
25
|
+
layer: () => layer25,
|
|
26
|
+
node: () => node81
|
|
27
27
|
});
|
|
28
28
|
import os from "node:os";
|
|
29
29
|
import path from "node:path";
|
|
@@ -35,21 +35,21 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
var
|
|
38
|
+
var Options9 = Schema.Struct({ handoff: Schema.optional(Handoff) });
|
|
39
39
|
|
|
40
40
|
class UnavailableError3 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
41
41
|
message: Schema.String
|
|
42
42
|
}) {
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class NotFoundError10 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
46
46
|
ptyID: Pty.ID
|
|
47
47
|
}) {
|
|
48
48
|
}
|
|
49
49
|
|
|
50
|
-
class
|
|
50
|
+
class Service77 extends Context.Service()("@opencode/PersistentPty") {
|
|
51
51
|
}
|
|
52
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
52
|
+
var makeLayer = (options = {}) => Layer.effect(Service77, Effect.gen(function* () {
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const global = yield* Global.Service;
|
|
55
55
|
const context = yield* Effect.context();
|
|
@@ -72,7 +72,7 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
72
72
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
73
73
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
74
74
|
if (!found)
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new NotFoundError10({ ptyID: id });
|
|
76
76
|
return found;
|
|
77
77
|
});
|
|
78
78
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -239,7 +239,7 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
239
239
|
detach: attachment.detach
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
|
-
return
|
|
242
|
+
return Service77.of({
|
|
243
243
|
list,
|
|
244
244
|
get,
|
|
245
245
|
create,
|
|
@@ -255,13 +255,13 @@ var makeLayer = (options = {}) => Layer.effect(Service47, Effect.gen(function* (
|
|
|
255
255
|
attach
|
|
256
256
|
});
|
|
257
257
|
}));
|
|
258
|
-
var
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
261
|
-
layer: options === undefined ?
|
|
258
|
+
var layer25 = makeLayer();
|
|
259
|
+
var configured10 = (options) => makeGlobalNode({
|
|
260
|
+
service: Service77,
|
|
261
|
+
layer: options === undefined ? layer25 : makeLayer(options),
|
|
262
262
|
deps: [node87, Global.node]
|
|
263
263
|
});
|
|
264
|
-
var
|
|
264
|
+
var node81 = configured10();
|
|
265
265
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
266
266
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
267
267
|
var unexpected = (response) => Effect.fail(new UnavailableError3({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options9, UnavailableError3, NotFoundError10, Service77, layer25, configured10, node81, exports_persistent_pty, Handoff2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./instance-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./instance-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service56,
|
|
8
|
+
node59
|
|
9
|
+
} from "./instance-73g5gd7g.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Content2
|
|
12
|
+
} from "./instance-2ebt2by2.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./instance-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./instance-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service5,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node6,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -89,7 +89,7 @@ var PageInput2 = Schema.Struct({
|
|
|
89
89
|
});
|
|
90
90
|
var FileContent2 = Schema.Struct({
|
|
91
91
|
type: Schema.Literal("file"),
|
|
92
|
-
...
|
|
92
|
+
...Content2.fields
|
|
93
93
|
}).annotate({ identifier: "ReadTool.FileContent" });
|
|
94
94
|
|
|
95
95
|
class TextPage2 extends Schema.Class("ReadTool.TextPage")({
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service5 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service5, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service56;
|
|
335
|
+
return Service5.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node6 = makeLocationNode({ service: Service5, layer, deps: [node59] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service5, read2, node6, exports_read_filesystem };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./instance-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./instance-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./instance-psazpmmj.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service34
|
|
3
|
+
} from "./instance-aaytmyqw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./instance-909p1r3q.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./instance-phz3h32g.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./instance-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/session/command.ts
|
|
15
15
|
var exports_command3 = {};
|
|
@@ -19,8 +19,8 @@ __export(exports_command3, {
|
|
|
19
19
|
});
|
|
20
20
|
import { Effect } from "effect";
|
|
21
21
|
var execute2 = Effect.fn("SessionCommand.execute")(function* (input) {
|
|
22
|
-
const instances = yield*
|
|
23
|
-
const commands = yield* awaitActivation2.pipe(Effect.andThen(
|
|
22
|
+
const instances = yield* Service46;
|
|
23
|
+
const commands = yield* awaitActivation2.pipe(Effect.andThen(Service34), instances.provide(input.session));
|
|
24
24
|
yield* commands.execute({
|
|
25
25
|
name: input.command,
|
|
26
26
|
invocation: {
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./instance-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/attachment.ts
|
|
9
9
|
var exports_attachment = {};
|
|
10
10
|
__export(exports_attachment, {
|
|
11
11
|
ConfigAttachmentV1: () => exports_attachment,
|
|
12
12
|
Image: () => Image2,
|
|
13
|
-
Info: () =>
|
|
13
|
+
Info: () => Info14
|
|
14
14
|
});
|
|
15
15
|
import { Schema } from "effect";
|
|
16
16
|
var Image2 = Schema.Struct({
|
|
@@ -27,8 +27,8 @@ var Image2 = Schema.Struct({
|
|
|
27
27
|
description: "Maximum base64 payload bytes for an image attachment (default: 5242880)"
|
|
28
28
|
})
|
|
29
29
|
}).annotate({ identifier: "ImageAttachmentConfig" });
|
|
30
|
-
var
|
|
30
|
+
var Info14 = Schema.Struct({
|
|
31
31
|
image: Schema.optional(Image2).annotate({ description: "Image attachment configuration" })
|
|
32
32
|
}).annotate({ identifier: "AttachmentConfig" });
|
|
33
33
|
|
|
34
|
-
export { Image2,
|
|
34
|
+
export { Image2, Info14, exports_attachment };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
6
|
+
var exports_permission = {};
|
|
7
|
+
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
|
-
ConfigPermissionV1: () =>
|
|
10
|
-
Info: () =>
|
|
9
|
+
ConfigPermissionV1: () => exports_permission,
|
|
10
|
+
Info: () => Info13,
|
|
11
11
|
Object: () => Object2,
|
|
12
|
-
Rule: () =>
|
|
12
|
+
Rule: () => Rule2
|
|
13
13
|
});
|
|
14
14
|
import { Schema, SchemaGetter } from "effect";
|
|
15
15
|
var Action2 = Schema.Literals(["ask", "allow", "deny"]).annotate({ identifier: "PermissionActionConfig" });
|
|
16
16
|
var Object2 = Schema.Record(Schema.String, Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
17
|
-
var
|
|
17
|
+
var Rule2 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
18
18
|
var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
19
|
-
read: Schema.optional(
|
|
20
|
-
edit: Schema.optional(
|
|
21
|
-
glob: Schema.optional(
|
|
22
|
-
grep: Schema.optional(
|
|
23
|
-
list: Schema.optional(
|
|
24
|
-
bash: Schema.optional(
|
|
25
|
-
task: Schema.optional(
|
|
26
|
-
external_directory: Schema.optional(
|
|
19
|
+
read: Schema.optional(Rule2),
|
|
20
|
+
edit: Schema.optional(Rule2),
|
|
21
|
+
glob: Schema.optional(Rule2),
|
|
22
|
+
grep: Schema.optional(Rule2),
|
|
23
|
+
list: Schema.optional(Rule2),
|
|
24
|
+
bash: Schema.optional(Rule2),
|
|
25
|
+
task: Schema.optional(Rule2),
|
|
26
|
+
external_directory: Schema.optional(Rule2),
|
|
27
27
|
question: Schema.optional(Action2),
|
|
28
|
-
webfetch: Schema.optional(
|
|
28
|
+
webfetch: Schema.optional(Rule2),
|
|
29
29
|
websearch: Schema.optional(Action2),
|
|
30
|
-
lsp: Schema.optional(
|
|
30
|
+
lsp: Schema.optional(Rule2),
|
|
31
31
|
doom_loop: Schema.optional(Action2),
|
|
32
|
-
skill: Schema.optional(
|
|
33
|
-
}), [Schema.Record(Schema.String,
|
|
32
|
+
skill: Schema.optional(Rule2)
|
|
33
|
+
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info13 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info13, exports_permission };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./instance-d7bvrw5g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./instance-73g5gd7g.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service14,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./instance-38zchr7d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service13
|
|
14
|
+
} from "./instance-s1pzcwv6.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service68
|
|
17
|
+
} from "./instance-36b9dvbm.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service62,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./instance-web238rz.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./instance-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./instance-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
34
|
-
Output: () =>
|
|
35
|
-
Plugin: () =>
|
|
36
|
-
name: () =>
|
|
33
|
+
Input: () => Input10,
|
|
34
|
+
Output: () => Output7,
|
|
35
|
+
Plugin: () => Plugin28,
|
|
36
|
+
name: () => name10
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name10 = "edit";
|
|
43
|
+
var Input10 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -50,7 +50,7 @@ var Input3 = Schema.Struct({
|
|
|
50
50
|
description: "Whether to replace every occurrence of oldString. When false, oldString must match exactly once. Defaults to false."
|
|
51
51
|
})
|
|
52
52
|
});
|
|
53
|
-
var
|
|
53
|
+
var Output7 = Schema.Struct({
|
|
54
54
|
files: Schema.Array(FileDiff.Info),
|
|
55
55
|
replacements: Schema.Number
|
|
56
56
|
});
|
|
@@ -103,21 +103,21 @@ var findLineOccurrences = (content, search) => {
|
|
|
103
103
|
return result;
|
|
104
104
|
}, []);
|
|
105
105
|
};
|
|
106
|
-
var
|
|
106
|
+
var Plugin28 = {
|
|
107
107
|
id: "opencode.tool.edit",
|
|
108
108
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
109
|
-
const access = yield*
|
|
110
|
-
const fileMutation = yield*
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const formatter = yield*
|
|
109
|
+
const access = yield* Service62;
|
|
110
|
+
const fileMutation = yield* Service14;
|
|
111
|
+
const environment = yield* Service56;
|
|
112
|
+
const formatter = yield* Service13;
|
|
113
113
|
const location = yield* Service80;
|
|
114
|
-
const permission = yield*
|
|
114
|
+
const permission = yield* Service68;
|
|
115
115
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
116
|
-
name:
|
|
116
|
+
name: name10,
|
|
117
117
|
options: { codemode: false, permission: "edit" },
|
|
118
118
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
119
|
-
input:
|
|
120
|
-
output:
|
|
119
|
+
input: Input10,
|
|
120
|
+
output: Output7,
|
|
121
121
|
execute: (input, context) => {
|
|
122
122
|
return Effect.gen(function* () {
|
|
123
123
|
const permissionSource = {
|
|
@@ -194,4 +194,4 @@ var Plugin3 = {
|
|
|
194
194
|
})
|
|
195
195
|
};
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { name10, Input10, Output7, Plugin28, exports_edit };
|