@opencode/core 0.0.0-dev-21489 → 0.0.0-dev-21504
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{location-activity-02mvvr71.js → command-02mvvr71.js} +3 -3
- package/dist/chunks/{location-activity-zmvc49de.js → command-02pca900.js} +87 -87
- package/dist/chunks/command-06zctecw.js +257 -0
- package/dist/chunks/{location-activity-22w1k6zx.js → command-0depx116.js} +20 -20
- package/dist/chunks/{location-activity-pfwjw256.js → command-0ejg1h3y.js} +33 -33
- package/dist/chunks/{location-activity-5bts977q.js → command-0g6q6pfz.js} +4 -4
- package/dist/chunks/{location-activity-2xwkyk0m.js → command-0gapa1rm.js} +5 -5
- package/dist/chunks/{location-activity-sr7jmsgt.js → command-0javqkgf.js} +5 -5
- package/dist/chunks/{location-activity-0vbcp93d.js → command-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-activity-kmvv37ar.js → command-0z7sm6e6.js} +8 -8
- package/dist/chunks/{location-activity-pbc2p84t.js → command-16swm0z2.js} +6 -6
- package/dist/chunks/{location-activity-kfdzpnhe.js → command-1e096zfv.js} +23 -23
- package/dist/chunks/{location-activity-rswentw2.js → command-1hy1achk.js} +25 -25
- package/dist/chunks/{location-activity-n4jne675.js → command-1k45a7y4.js} +24 -24
- package/dist/chunks/{location-activity-gwaf4cyv.js → command-1m2v2j5e.js} +10 -10
- package/dist/chunks/{location-activity-hw04d398.js → command-1q5vfyvt.js} +18 -18
- package/dist/chunks/{location-activity-bcsse953.js → command-1tmptvb5.js} +35 -35
- package/dist/chunks/{location-activity-hj243xxb.js → command-22rvfkr8.js} +1 -1
- package/dist/chunks/{location-activity-1ep2p91f.js → command-27w5k9zf.js} +2 -2
- package/dist/chunks/{location-activity-az8xvxv8.js → command-283cyrsj.js} +1 -1
- package/dist/chunks/{location-activity-r7n1g9kq.js → command-2g8sxgxk.js} +10 -10
- package/dist/chunks/{location-activity-fs4pfzth.js → command-2me2cgjk.js} +9 -9
- package/dist/chunks/{location-activity-vv5h55g7.js → command-32ca7668.js} +13 -13
- package/dist/chunks/{location-activity-sjzy2326.js → command-37q05ven.js} +18 -18
- package/dist/chunks/{location-activity-93ftb016.js → command-389fpadm.js} +11 -11
- package/dist/chunks/{location-activity-qzgy63v3.js → command-3c8ew9jt.js} +39 -39
- package/dist/chunks/{location-activity-90q0r270.js → command-3egpthbr.js} +22 -22
- package/dist/chunks/{location-activity-hc033k72.js → command-3f1rw1kg.js} +4 -4
- package/dist/chunks/{location-activity-4x3rb0w8.js → command-3ggeeyj8.js} +6 -6
- package/dist/chunks/{location-activity-3hepkmqq.js → command-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3hwn7j4h.js → command-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-activity-kmxbtpc5.js → command-3n39cpdf.js} +15 -15
- package/dist/chunks/{location-activity-3tvqynh2.js → command-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-ebf9wwmq.js → command-3vvdcvz1.js} +28 -28
- package/dist/chunks/{location-activity-s2fdgjmg.js → command-3wyzm26w.js} +38 -38
- package/dist/chunks/{location-activity-3zsf4n22.js → command-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-activity-z6c3x22d.js → command-47jkzegy.js} +5 -5
- package/dist/chunks/{location-activity-sxxhragh.js → command-4aqng94r.js} +28 -28
- package/dist/chunks/{location-activity-nertx46z.js → command-4bzs8rv8.js} +3 -3
- package/dist/chunks/{location-activity-cx81g42x.js → command-4kj8c1s4.js} +31 -31
- package/dist/chunks/{location-activity-m8yakjay.js → command-4rsh6n8g.js} +16 -16
- package/dist/chunks/{location-activity-qwbkj5h4.js → command-4w7ecc6g.js} +26 -26
- package/dist/chunks/{location-activity-a90qvnj3.js → command-52ae0j7r.js} +11 -11
- package/dist/chunks/{location-activity-54ma36ye.js → command-54ma36ye.js} +1 -1
- package/dist/chunks/{location-activity-n65rmpez.js → command-56zeqtav.js} +11 -11
- package/dist/chunks/{location-activity-ys9hgra7.js → command-58qhexmz.js} +21 -21
- package/dist/chunks/{location-activity-7jdsj2a9.js → command-5epte933.js} +3 -3
- package/dist/chunks/{location-activity-5m9w47nd.js → command-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-activity-vbh50phm.js → command-63kpjth9.js} +9 -9
- package/dist/chunks/{location-activity-6827pfxn.js → command-6827pfxn.js} +1 -1
- package/dist/chunks/{location-activity-p0ss7x6r.js → command-6k581ess.js} +6 -6
- package/dist/chunks/{location-activity-27kvreen.js → command-6n0t37d6.js} +15 -15
- package/dist/chunks/{location-activity-1p07q0wb.js → command-6pc27hjz.js} +8 -8
- package/dist/chunks/{location-activity-6xb47vfp.js → command-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-activity-9pc2qnas.js → command-6y9j254c.js} +8 -8
- package/dist/chunks/{location-activity-6yz0wx8n.js → command-6yz0wx8n.js} +2 -2
- package/dist/chunks/{location-activity-90p56sqk.js → command-72c5e6kf.js} +22 -22
- package/dist/chunks/{location-activity-52fpbh6z.js → command-73t188jy.js} +8 -8
- package/dist/chunks/{location-activity-775gj3j1.js → command-775gj3j1.js} +2 -2
- package/dist/chunks/{location-activity-16nbq2ed.js → command-77qajvn3.js} +21 -21
- package/dist/chunks/{location-activity-7bmhse3q.js → command-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-975jjne0.js → command-7ean6v8x.js} +11 -11
- package/dist/chunks/{location-activity-kb87akjb.js → command-83dfmwhh.js} +25 -25
- package/dist/chunks/{location-activity-84txncab.js → command-84txncab.js} +1 -1
- package/dist/chunks/{location-activity-eq366wkd.js → command-89f0qmxx.js} +4 -4
- package/dist/chunks/{location-activity-6gyjdrdv.js → command-8br0tfcm.js} +2 -2
- package/dist/chunks/{location-activity-m1vx0563.js → command-8gazrhqj.js} +34 -34
- package/dist/chunks/{location-activity-8m6m0r52.js → command-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-activity-8mywswrd.js → command-8mywswrd.js} +1 -1
- package/dist/chunks/{location-activity-nfym24mf.js → command-8nr013c3.js} +24 -24
- package/dist/chunks/{location-activity-x6fwb8m7.js → command-8rs56nfj.js} +21 -21
- package/dist/chunks/{location-activity-0asr0s4f.js → command-8sse9e5v.js} +14 -14
- package/dist/chunks/{location-activity-xw9fg8fb.js → command-8vcf4cwr.js} +2 -2
- package/dist/chunks/{location-activity-d5hpx2ts.js → command-90mddc2j.js} +24 -24
- package/dist/chunks/{location-activity-zdqtq2cj.js → command-948dh3hk.js} +32 -27
- package/dist/chunks/{location-activity-qwynhtyt.js → command-95mrps0w.js} +13 -13
- package/dist/chunks/{location-activity-967benbv.js → command-967benbv.js} +3 -3
- package/dist/chunks/{location-activity-d3ye2y04.js → command-96z498kx.js} +13 -13
- package/dist/chunks/{location-activity-882sdqkp.js → command-97kmb959.js} +24 -24
- package/dist/chunks/{location-activity-1v1hryp4.js → command-9bs1c7ey.js} +4 -4
- package/dist/chunks/{location-activity-n0ftmv27.js → command-9h6sayvh.js} +23 -23
- package/dist/chunks/{location-activity-55m81wnp.js → command-9nyvt9wv.js} +5 -5
- package/dist/chunks/{location-activity-321x2wtd.js → command-9r15s34d.js} +6 -6
- package/dist/chunks/{location-activity-hz1yq1fm.js → command-9vgsddc0.js} +3 -3
- package/dist/chunks/{location-activity-9wev2pgg.js → command-9wev2pgg.js} +1 -1
- package/dist/chunks/{location-activity-rc0qj36z.js → command-a4pbv56j.js} +20 -20
- package/dist/chunks/{location-activity-kggqx5sc.js → command-a4xtrzqb.js} +11 -11
- package/dist/chunks/{location-activity-t6yc4m2d.js → command-a76s9319.js} +26 -26
- package/dist/chunks/{location-activity-x661k3y3.js → command-addxnjmp.js} +4 -4
- package/dist/chunks/{location-activity-034tev2y.js → command-aj7mw0zk.js} +2 -2
- package/dist/chunks/{location-activity-k1dxawnc.js → command-as1q5j0q.js} +13 -13
- package/dist/chunks/{location-activity-27d4ssy3.js → command-asnmz69s.js} +9 -9
- package/dist/chunks/{location-activity-gzvxvbxm.js → command-ayyhc25y.js} +16 -15
- package/dist/chunks/{location-activity-b11a7tx7.js → command-b11a7tx7.js} +1 -1
- package/dist/chunks/{location-activity-234gctym.js → command-b7k2jn9m.js} +6 -6
- package/dist/chunks/{location-activity-6r0spdma.js → command-bqzx1cnv.js} +2 -2
- package/dist/chunks/{location-activity-r70na3yp.js → command-bxqk5pf5.js} +9 -9
- package/dist/chunks/{location-activity-1ep4rre3.js → command-bzeyqsqd.js} +4 -4
- package/dist/chunks/{location-activity-6ardg95q.js → command-c61wj0cv.js} +7 -7
- package/dist/chunks/{location-activity-yg478mwm.js → command-cevbxveq.js} +3 -3
- package/dist/chunks/{location-activity-74szsdgx.js → command-cf25jgjj.js} +22 -22
- package/dist/chunks/{location-activity-ehekm73j.js → command-cgh16r15.js} +11 -11
- package/dist/chunks/{location-activity-8hm54js8.js → command-chpbykcw.js} +7 -7
- package/dist/chunks/{location-activity-1zpzwa9v.js → command-ck6mh85g.js} +16 -16
- package/dist/chunks/{location-activity-n4r3xatb.js → command-ckf8nxjz.js} +4 -4
- package/dist/chunks/{location-activity-cwa6csj7.js → command-cpneeje0.js} +9 -9
- package/dist/chunks/{location-activity-5bmp45c6.js → command-dcncen4d.js} +16 -16
- package/dist/chunks/{location-activity-033a0jkt.js → command-dh62xe4r.js} +3 -3
- package/dist/chunks/{location-activity-zvtrz667.js → command-djqf971v.js} +25 -25
- package/dist/chunks/{location-activity-y71avatq.js → command-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-njm1n71j.js → command-dqrbwv0a.js} +45 -45
- package/dist/chunks/{location-activity-57b9ws8p.js → command-drwq78ky.js} +5 -5
- package/dist/chunks/{location-activity-dgzq35zb.js → command-dvj9ct8m.js} +4 -4
- package/dist/chunks/{location-activity-d4f1s92k.js → command-dwr5n885.js} +81 -81
- package/dist/chunks/{location-activity-37z9gn09.js → command-dy3angj7.js} +13 -13
- package/dist/chunks/{location-activity-64t3eg1q.js → command-e39nsbtg.js} +9 -9
- package/dist/chunks/{location-activity-fgkyfpcr.js → command-e5cywx9b.js} +10 -10
- package/dist/chunks/{location-activity-9gmbghtn.js → command-e6knj4ky.js} +15 -15
- package/dist/chunks/{location-activity-5g57z1ma.js → command-e7gxy7fd.js} +4 -4
- package/dist/chunks/{location-activity-qaxc6jhw.js → command-e9zd77c1.js} +14 -14
- package/dist/chunks/{location-activity-afr2v5dr.js → command-ecmkrhds.js} +29 -29
- package/dist/chunks/{location-activity-7150mytw.js → command-ect4475a.js} +19 -19
- package/dist/chunks/{location-activity-eej6y6fw.js → command-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-activity-ef5x83kb.js → command-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-s2796yqf.js → command-eh4k6x00.js} +16 -16
- package/dist/chunks/{location-activity-r2e0e6yn.js → command-ejrgmtaq.js} +15 -15
- package/dist/chunks/{location-activity-12qw59dq.js → command-emyrjxnr.js} +21 -21
- package/dist/chunks/{location-activity-kb7wfsgz.js → command-et0erakc.js} +4 -4
- package/dist/chunks/{location-activity-yqdpvp32.js → command-f8e526k5.js} +6 -6
- package/dist/chunks/{location-activity-7dqw4kz8.js → command-fcrkznn8.js} +5 -5
- package/dist/chunks/{location-activity-fcy631f0.js → command-fcy631f0.js} +1 -1
- package/dist/chunks/{location-activity-85mvwgfz.js → command-fkcvtbd2.js} +11 -11
- package/dist/chunks/{location-activity-pp4wmfmt.js → command-fkhc0ppg.js} +24 -24
- package/dist/chunks/{location-activity-vqgnswj7.js → command-fkj9mczz.js} +7 -7
- package/dist/chunks/{location-activity-qbaqa1f0.js → command-fp13yrwa.js} +9 -9
- package/dist/chunks/{location-activity-fxaymqdw.js → command-fxaymqdw.js} +1 -1
- package/dist/chunks/{location-activity-ve45bn9x.js → command-g02fgy81.js} +6 -6
- package/dist/chunks/{location-activity-9hn6k4tm.js → command-g0445xdp.js} +8 -8
- package/dist/chunks/{location-activity-fxdnfck1.js → command-g5b8j3v4.js} +15 -15
- package/dist/chunks/{location-activity-m42ffvyc.js → command-g8qdqr0p.js} +26 -26
- package/dist/chunks/{location-activity-gd4qta3r.js → command-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-prmmcjfa.js → command-ge44mx5n.js} +50 -50
- package/dist/chunks/{location-activity-wfdyr2gw.js → command-h1k4kx5h.js} +11 -11
- package/dist/chunks/{location-activity-h6vf3j39.js → command-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-y9wfmvpg.js → command-hbbqk0nf.js} +8 -8
- package/dist/chunks/{location-activity-hgz4x7wa.js → command-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-activity-3zze3678.js → command-hnmmt9bt.js} +2 -2
- package/dist/chunks/{location-activity-2j7662m9.js → command-hqhd8mr3.js} +13 -13
- package/dist/chunks/{location-activity-v8hvw3gr.js → command-hr3ck4k2.js} +11 -11
- package/dist/chunks/{location-activity-y9s9xvs6.js → command-j7aq1t3e.js} +8 -8
- package/dist/chunks/{location-activity-1dm66jjd.js → command-jad02azz.js} +139 -139
- package/dist/chunks/{location-activity-agathvd3.js → command-jg57jh00.js} +11 -11
- package/dist/chunks/{location-activity-nrbtps6d.js → command-jhk62tbh.js} +2 -2
- package/dist/chunks/{location-activity-mxs9tgf5.js → command-jjcahp0d.js} +8 -8
- package/dist/chunks/{location-activity-9c8c6gjq.js → command-jjpxm7bv.js} +22 -23
- package/dist/chunks/{location-activity-6bsntbme.js → command-jm03v3tw.js} +6 -6
- package/dist/chunks/{location-activity-xvgj0yv1.js → command-jpjpmxdq.js} +5 -5
- package/dist/chunks/{location-activity-4v7ngy20.js → command-jpqeh2wc.js} +4 -4
- package/dist/chunks/{location-activity-3q50yq2s.js → command-k9yvbbgh.js} +7 -7
- package/dist/chunks/command-kj2kg6z0.js +26 -0
- package/dist/chunks/{location-activity-h7f7vx58.js → command-kkm66dmx.js} +12 -12
- package/dist/chunks/{location-activity-dfa87f1k.js → command-kks3c8v7.js} +13 -13
- package/dist/chunks/{location-activity-5q8n044h.js → command-kqef9432.js} +2 -2
- package/dist/chunks/{location-activity-kqv3x6rj.js → command-kqv3x6rj.js} +1 -1
- package/dist/chunks/{location-activity-nr7hgtpj.js → command-kt3b3w9s.js} +20 -20
- package/dist/chunks/{location-activity-kwb1v3vj.js → command-kwb1v3vj.js} +1 -1
- package/dist/chunks/{location-activity-59fsemm9.js → command-m4rj2mnd.js} +28 -28
- package/dist/chunks/{location-activity-m9w0rfyh.js → command-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-maspj1v3.js → command-maspj1v3.js} +1 -1
- package/dist/chunks/{location-activity-vf33vc2k.js → command-mez53n4j.js} +13 -13
- package/dist/chunks/{location-activity-gy3zmhq5.js → command-mgwe8qfe.js} +5 -5
- package/dist/chunks/{location-activity-p9av2v33.js → command-mmqg1qye.js} +12 -12
- package/dist/chunks/{location-activity-zzax3efh.js → command-mnves5jb.js} +23 -23
- package/dist/chunks/{location-activity-za3e333c.js → command-mv3xkgvr.js} +3 -3
- package/dist/chunks/{location-activity-jpqk7107.js → command-mx1fmt33.js} +43 -43
- package/dist/chunks/{location-activity-h553n8m0.js → command-n1dcq2q6.js} +4 -4
- package/dist/chunks/{location-activity-8xgkqsd9.js → command-n6mnjzyz.js} +7 -7
- package/dist/chunks/{location-activity-5njewrqv.js → command-n6ngdxpd.js} +33 -24
- package/dist/chunks/{location-activity-c0s34ybt.js → command-na13574c.js} +26 -26
- package/dist/chunks/{location-activity-xh7n4v0y.js → command-nbbt34nq.js} +3 -3
- package/dist/chunks/{location-activity-fnwchg2j.js → command-nhxs7ffw.js} +14 -14
- package/dist/chunks/{location-activity-t19qrqs6.js → command-nt51sm0f.js} +5 -5
- package/dist/chunks/{location-activity-nz56sr1f.js → command-nz56sr1f.js} +2 -2
- package/dist/chunks/{location-activity-9bjz285z.js → command-p5pcm5fj.js} +11 -11
- package/dist/chunks/{location-activity-nr3w9wfh.js → command-pgyp9qgz.js} +1 -1
- package/dist/chunks/command-phz3h32g.js +18 -0
- package/dist/chunks/{location-activity-pjvnvgmy.js → command-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-ve1g7aay.js → command-pkcmhgjr.js} +8 -8
- package/dist/chunks/{location-activity-pknna89w.js → command-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-n5h7xh59.js → command-ptak7ehw.js} +4 -4
- package/dist/chunks/{location-activity-070c9na6.js → command-pv162s98.js} +4 -4
- package/dist/chunks/{location-activity-vg5hct9v.js → command-pwfkmcqs.js} +29 -29
- package/dist/chunks/{location-activity-fwvm0hxf.js → command-q13f50ex.js} +24 -24
- package/dist/chunks/{location-activity-40ttyktz.js → command-q7jg6b3k.js} +14 -14
- package/dist/chunks/{location-activity-7s451enq.js → command-qby9dwvd.js} +8 -8
- package/dist/chunks/{location-activity-n5x2w7dy.js → command-qcmbay3g.js} +20 -20
- package/dist/chunks/{location-activity-dp9j0h3f.js → command-qd788sr8.js} +16 -16
- package/dist/chunks/{location-activity-hda6ckcy.js → command-qhm64xy3.js} +36 -36
- package/dist/chunks/{location-activity-2x3268hb.js → command-qjxnsekw.js} +19 -19
- package/dist/chunks/{location-activity-z9njjm72.js → command-qk8cm41f.js} +33 -33
- package/dist/chunks/{location-activity-f3jk2z4c.js → command-qkgtmd8v.js} +26 -26
- package/dist/chunks/{location-activity-fkkg9sfz.js → command-qqjrwnjf.js} +19 -19
- package/dist/chunks/{location-activity-qsdy395h.js → command-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-8a9z4kmq.js → command-qznp475s.js} +14 -14
- package/dist/chunks/{location-activity-wch3whs7.js → command-r014m902.js} +6 -6
- package/dist/chunks/{location-activity-v6by1cva.js → command-r3npp4de.js} +13 -13
- package/dist/chunks/{location-activity-cyxp43zh.js → command-r54ry9rd.js} +26 -26
- package/dist/chunks/{location-activity-6hjx5zpb.js → command-r9w3djhf.js} +2 -2
- package/dist/chunks/{location-activity-k8962brh.js → command-ratrq7cm.js} +7 -7
- package/dist/chunks/{location-activity-rdw6cm16.js → command-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-1560f1ty.js → command-s4q0hzws.js} +36 -36
- package/dist/chunks/{location-activity-121ebcnp.js → command-s5fqv55p.js} +14 -14
- package/dist/chunks/{location-activity-sav8jeqd.js → command-s81df8he.js} +11 -11
- package/dist/chunks/command-sr1qwj5a.js +523 -0
- package/dist/chunks/{location-activity-vnngznph.js → command-sxjy2bbv.js} +10 -10
- package/dist/chunks/{location-activity-syv4x271.js → command-syv4x271.js} +1 -1
- package/dist/chunks/{location-activity-q9bpfrey.js → command-t3znd8m3.js} +30 -30
- package/dist/chunks/{location-activity-rhjbct0v.js → command-t550f9t1.js} +4 -4
- package/dist/chunks/{location-activity-77prbfdf.js → command-t7e2bcer.js} +18 -18
- package/dist/chunks/{location-activity-3ft1wnm3.js → command-t8afp1a1.js} +9 -9
- package/dist/chunks/{location-activity-tazgh4e4.js → command-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → command-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-dv2f7h6v.js → command-tdrv5nbk.js} +33 -33
- package/dist/chunks/{location-activity-tdstcens.js → command-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-qp35x5a9.js → command-tfsj72j2.js} +20 -20
- package/dist/chunks/{location-activity-mjxttjkd.js → command-tk1wxqb9.js} +34 -34
- package/dist/chunks/{location-activity-tt8gc4fv.js → command-tt8gc4fv.js} +3 -3
- package/dist/chunks/{location-activity-tyytaxap.js → command-tyytaxap.js} +1 -1
- package/dist/chunks/{location-activity-2btq0yst.js → command-v0g0brx6.js} +45 -45
- package/dist/chunks/{location-activity-c8mha7av.js → command-v2m8q0xf.js} +9 -9
- package/dist/chunks/{location-activity-v7p4zvkq.js → command-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-activity-33mh8gm6.js → command-v9txjfgp.js} +12 -12
- package/dist/chunks/{location-activity-6a4vvpkn.js → command-va3y7zmk.js} +50 -50
- package/dist/chunks/{location-activity-b60tpv2e.js → command-vdp67131.js} +11 -11
- package/dist/chunks/{location-activity-veqvce7d.js → command-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-vzs5sf6e.js → command-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-activity-zm3hhdtj.js → command-w2v961ax.js} +30 -30
- package/dist/chunks/{location-activity-w3wsvvr9.js → command-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-activity-gsqkbe2r.js → command-w7ef2pdc.js} +5 -5
- package/dist/chunks/{location-activity-3bz73e4c.js → command-w8wm14nc.js} +6 -6
- package/dist/chunks/{location-activity-wakvkjy4.js → command-wakvkjy4.js} +1 -1
- package/dist/chunks/{location-activity-4h3gg978.js → command-wbsnpf72.js} +48 -48
- package/dist/chunks/{location-activity-wd87259q.js → command-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-w72z4cxr.js → command-whq7nv3n.js} +1 -1
- package/dist/chunks/{location-activity-bjx1sjef.js → command-wjr9rjd7.js} +6 -6
- package/dist/chunks/{location-activity-8cveb6pm.js → command-wkhzxvmr.js} +6 -6
- package/dist/chunks/{location-activity-144dqw21.js → command-wkpdpa51.js} +18 -18
- package/dist/chunks/{location-activity-ryq5gkkt.js → command-wpm2rk0p.js} +8 -8
- package/dist/chunks/{location-activity-re675kcd.js → command-ws4zn9x6.js} +8 -8
- package/dist/chunks/{location-activity-xdy4h6p9.js → command-wsphkq72.js} +8 -8
- package/dist/chunks/{location-activity-ndjkpz75.js → command-x0mpvren.js} +13 -13
- package/dist/chunks/{location-activity-mfj361tv.js → command-xkxvzqg5.js} +6 -6
- package/dist/chunks/{location-activity-dzfe1dqp.js → command-xsgk040k.js} +17 -17
- package/dist/chunks/{location-activity-nrg0hwyk.js → command-xsxxgc5h.js} +28 -28
- package/dist/chunks/{location-activity-p37r6144.js → command-xwqx1eeb.js} +15 -15
- package/dist/chunks/{location-activity-62nk0fx4.js → command-xx33v6n7.js} +18 -18
- package/dist/chunks/{location-activity-ysskhmza.js → command-xyr4e3r8.js} +15 -15
- package/dist/chunks/{location-activity-y2v9wxbe.js → command-y0mtf7j7.js} +3 -3
- package/dist/chunks/{location-activity-y1fvbwt7.js → command-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-7n8s75ar.js → command-y26vasy8.js} +32 -32
- package/dist/chunks/{location-activity-r7tg0rss.js → command-y7cneyn5.js} +16 -16
- package/dist/chunks/{location-activity-ymsaz6y0.js → command-y99cwb6p.js} +20 -20
- package/dist/chunks/{location-activity-bp53xmgr.js → command-ybc3kgcz.js} +13 -13
- package/dist/chunks/{location-activity-kh8h207k.js → command-yjekck1e.js} +22 -22
- package/dist/chunks/{location-activity-qxsxzq0d.js → command-yph07088.js} +5 -5
- package/dist/chunks/{location-activity-vbfgae2j.js → command-z0aj456m.js} +4 -4
- package/dist/chunks/{location-activity-z0bkrqjs.js → command-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-z18fegx4.js → command-z18fegx4.js} +1 -1
- package/dist/chunks/{location-activity-pg55sx0g.js → command-z5bz21w3.js} +64 -64
- package/dist/chunks/{location-activity-3dt4tzwg.js → command-z9d3cvam.js} +3 -4
- package/dist/chunks/{location-activity-hmyvfn5c.js → command-z9h9mhtp.js} +21 -21
- package/dist/chunks/{location-activity-ekx0vmek.js → command-zahm10sn.js} +18 -18
- package/dist/chunks/{location-activity-es69crc3.js → command-zbwvew5n.js} +11 -11
- package/dist/chunks/{location-activity-wkpbpcdt.js → command-zdzmwh5k.js} +4 -4
- package/dist/chunks/{location-activity-hsgs07re.js → command-zp3b7061.js} +17 -17
- package/dist/chunks/{location-activity-7p0efdw4.js → command-zq2x8b87.js} +12 -12
- package/dist/chunks/{location-activity-gbjw5tq0.js → command-zqgkxsdx.js} +10 -10
- package/dist/chunks/{location-activity-zr2ceqn5.js → command-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-hpdwgxt9.js → command-zttg29zn.js} +27 -27
- package/dist/chunks/{location-activity-zxq2ej10.js → command-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +80 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -109
- 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 +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +74 -74
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +95 -95
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/aisdk.d.ts +2 -2
- package/dist/types/pty.d.ts +2 -2
- package/dist/types/session/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- 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 +3 -3
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/location-activity-5f65dnqr.js +0 -523
- package/dist/chunks/location-activity-7qw2bj9a.js +0 -257
- package/dist/chunks/location-activity-cpd6ph95.js +0 -26
- package/dist/chunks/location-activity-rap9a73h.js +0 -18
- /package/dist/chunks/{location-activity-0qkdqm5v.js → command-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → command-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → command-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → command-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → command-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → command-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2bv980vf.js → command-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → command-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → command-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → command-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3t0ybcrp.js → command-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → command-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → command-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → command-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → command-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → command-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → command-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → command-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → command-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-5fjb7ams.js → command-5fjb7ams.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → command-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-6q2bdcd1.js → command-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → command-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → command-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → command-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-84wd9syh.js → command-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → command-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → command-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-8wj87zfr.js → command-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → command-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → command-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → command-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → command-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → command-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → command-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → command-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → command-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → command-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → command-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → command-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → command-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → command-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → command-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → command-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → command-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → command-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e3qxr5gk.js → command-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → command-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → command-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → command-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → command-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → command-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → command-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → command-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → command-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → command-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → command-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → command-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → command-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → command-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hcxmzztb.js → command-hcxmzztb.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → command-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → command-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → command-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → command-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → command-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → command-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jze0r7bz.js → command-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → command-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-m18g726c.js → command-m18g726c.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → command-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → command-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → command-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → command-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → command-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-pkyv6v7h.js → command-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → command-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → command-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → command-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → command-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → command-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → command-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → command-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → command-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → command-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → command-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-ve7vex1e.js → command-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → command-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → command-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → command-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wjj7prxr.js → command-wjj7prxr.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → command-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → command-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → command-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → command-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → command-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → command-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → command-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z5v4ffb3.js → command-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → command-z9919s4g.js} +0 -0
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-n1dcq2q6.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-addxnjmp.js";
|
|
12
12
|
import {
|
|
13
13
|
ID14,
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Service79,
|
|
15
|
+
node83,
|
|
16
|
+
Event18
|
|
17
|
+
} from "./command-9h6sayvh.js";
|
|
18
18
|
import {
|
|
19
19
|
Service81,
|
|
20
20
|
node85
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./command-hnmmt9bt.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./command-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -39,13 +39,13 @@ __export(exports_provider3, {
|
|
|
39
39
|
Compaction: () => Compaction3,
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
|
-
Event: () =>
|
|
42
|
+
Event: () => Event17,
|
|
43
43
|
ID: () => ID13,
|
|
44
|
-
Info: () =>
|
|
44
|
+
Info: () => Info22,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service78,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -57,7 +57,7 @@ __export(exports_provider3, {
|
|
|
57
57
|
mergeOverlay: () => mergeOverlay2,
|
|
58
58
|
modelSettings: () => modelSettings2,
|
|
59
59
|
nativeSettings: () => nativeSettings2,
|
|
60
|
-
node: () =>
|
|
60
|
+
node: () => node82,
|
|
61
61
|
packageName: () => packageName2,
|
|
62
62
|
timeout: () => timeout2,
|
|
63
63
|
timeouts: () => timeouts2
|
|
@@ -71,7 +71,7 @@ import { isRecord } from "@opencode/ai/utils/record";
|
|
|
71
71
|
import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
72
72
|
import { Credential } from "@opencode/schema/credential";
|
|
73
73
|
import { freeze } from "immer";
|
|
74
|
-
import { Event as
|
|
74
|
+
import { Event as Event17 } from "@opencode/schema/provider";
|
|
75
75
|
var ID13 = Provider.ID;
|
|
76
76
|
var AISDK_PREFIX2 = "aisdk:";
|
|
77
77
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
@@ -283,9 +283,9 @@ var Request3 = Provider.Request;
|
|
|
283
283
|
var Compaction3 = Provider.Compaction;
|
|
284
284
|
var Transport2 = Provider.Transport;
|
|
285
285
|
var Settings2 = Provider.Settings;
|
|
286
|
-
var
|
|
286
|
+
var Info22 = Provider.Info;
|
|
287
287
|
|
|
288
|
-
class
|
|
288
|
+
class Service78 extends Context.Service()("@opencode/Provider") {
|
|
289
289
|
}
|
|
290
290
|
var definitions = new WeakMap;
|
|
291
291
|
function index(providerID, models) {
|
|
@@ -298,9 +298,9 @@ function index(providerID, models) {
|
|
|
298
298
|
definitions.set(models, indexes);
|
|
299
299
|
return result;
|
|
300
300
|
}
|
|
301
|
-
var layer = Layer.effect(
|
|
301
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service85;
|
|
303
|
-
const integrations = yield*
|
|
303
|
+
const integrations = yield* Service79;
|
|
304
304
|
const location = yield* Service81;
|
|
305
305
|
const state = create3({
|
|
306
306
|
name: "provider",
|
|
@@ -312,7 +312,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
312
312
|
const current = records.get(id);
|
|
313
313
|
if (current)
|
|
314
314
|
return current;
|
|
315
|
-
const added = { provider:
|
|
315
|
+
const added = { provider: Info22.empty(id), models: new Map };
|
|
316
316
|
records.set(id, added);
|
|
317
317
|
maps.add(added.models);
|
|
318
318
|
return added;
|
|
@@ -419,8 +419,8 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
419
419
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
420
420
|
});
|
|
421
421
|
});
|
|
422
|
-
yield* bus.subscribe([
|
|
423
|
-
return
|
|
422
|
+
yield* bus.subscribe([Event18.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
423
|
+
return Service78.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -429,7 +429,7 @@ var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
|
429
429
|
snapshot
|
|
430
430
|
});
|
|
431
431
|
}));
|
|
432
|
-
var
|
|
432
|
+
var node82 = makeLocationNode({ service: Service78, layer, deps: [node89, node83, node85] });
|
|
433
433
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
434
434
|
const module = yield* Effect.tryPromise({
|
|
435
435
|
try: () => {
|
|
@@ -699,4 +699,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
699
699
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
700
700
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
701
701
|
|
|
702
|
-
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2,
|
|
702
|
+
export { rewrite2, native2, exports_aisdk_native, ID13, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info22, Service78, node82, exports_provider3, Event17 };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./command-5fjb7ams.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./command-02mvvr71.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./command-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service45,
|
|
17
|
+
node49
|
|
18
|
+
} from "./command-63kpjth9.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service66,
|
|
21
|
+
node69
|
|
22
|
+
} from "./command-qby9dwvd.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./command-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./command-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service36,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node39
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service36 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service66;
|
|
58
|
+
const image = yield* Service45;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service36.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node39 = makeLocationNode({
|
|
277
|
+
service: Service36,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node69, node49]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service36, node39, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node71
|
|
4
|
+
} from "./command-y99cwb6p.js";
|
|
5
5
|
import {
|
|
6
6
|
Service81,
|
|
7
7
|
node85
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./command-hnmmt9bt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service67,
|
|
11
|
+
node70
|
|
12
|
+
} from "./command-3wyzm26w.js";
|
|
13
13
|
import {
|
|
14
14
|
names2,
|
|
15
15
|
discover2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./command-zxq2ej10.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/config/plugin/source.ts
|
|
22
22
|
var exports_source = {};
|
|
23
23
|
__export(exports_source, {
|
|
24
24
|
ConfigPluginSource: () => exports_source,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service2,
|
|
26
26
|
empty: () => empty2,
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
27
|
+
layer: () => layer4,
|
|
28
|
+
node: () => node3
|
|
29
29
|
});
|
|
30
30
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
31
31
|
import { Host } from "@opencode/plugin/host";
|
|
@@ -33,11 +33,11 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
33
33
|
import { Context, Effect, Layer, Option, PubSub, Stream } from "effect";
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
36
|
-
class
|
|
36
|
+
class Service2 extends Context.Service()("@opencode/ConfigPluginSource") {
|
|
37
37
|
}
|
|
38
|
-
var
|
|
39
|
-
const config = yield*
|
|
40
|
-
const watcher = yield*
|
|
38
|
+
var layer4 = Layer.effect(Service2, Effect.gen(function* () {
|
|
39
|
+
const config = yield* Service67;
|
|
40
|
+
const watcher = yield* Service68;
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
42
|
const location = yield* Service81;
|
|
43
43
|
const configuredChanges = yield* PubSub.unbounded();
|
|
@@ -58,7 +58,7 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
58
58
|
yield* updates.pipe(Stream.runForEach(() => PubSub.publish(configuredChanges, undefined)), Effect.catchCause((cause) => Effect.logError("configured plugin watch failed", { target: operation.target, cause })), Effect.forkScoped({ startImmediately: true }));
|
|
59
59
|
}
|
|
60
60
|
});
|
|
61
|
-
return
|
|
61
|
+
return Service2.of({
|
|
62
62
|
operations: Effect.fn("ConfigPluginSource.operations")(function* () {
|
|
63
63
|
const entries = yield* config.entries();
|
|
64
64
|
const operations = yield* scan(fs, location, entries);
|
|
@@ -70,14 +70,14 @@ var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
70
70
|
})), Stream.fromPubSub(configuredChanges))
|
|
71
71
|
});
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node3 = makeLocationNode({
|
|
74
|
+
service: Service2,
|
|
75
|
+
layer: layer4,
|
|
76
|
+
deps: [node70, FSUtil.node, node71, node85]
|
|
77
77
|
});
|
|
78
78
|
var empty2 = makeLocationNode({
|
|
79
|
-
service:
|
|
80
|
-
layer: Layer.succeed(
|
|
79
|
+
service: Service2,
|
|
80
|
+
layer: Layer.succeed(Service2, Service2.of({
|
|
81
81
|
operations: () => Effect.succeed([]),
|
|
82
82
|
changes: () => Stream.never
|
|
83
83
|
})),
|
|
@@ -137,4 +137,4 @@ function isPluginSource(entries, file) {
|
|
|
137
137
|
return entries.some((entry) => entry.type === "directory" && names2.some((directory) => FSUtil.contains(path.join(entry.path, directory), file)));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service2, layer4, node3, empty2, exports_source };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
match2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-y1fvbwt7.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/managed-policy.ts
|
|
9
9
|
var exports_managed_policy = {};
|
|
10
10
|
__export(exports_managed_policy, {
|
|
11
11
|
ManagedPolicy: () => exports_managed_policy,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service15,
|
|
13
13
|
decision: () => decision2,
|
|
14
|
-
layer: () =>
|
|
15
|
-
node: () =>
|
|
14
|
+
layer: () => layer11,
|
|
15
|
+
node: () => node17,
|
|
16
16
|
statements: () => statements2
|
|
17
17
|
});
|
|
18
18
|
import { isDeepStrictEqual } from "node:util";
|
|
19
19
|
import { Context, Effect, Layer, PubSub, Stream } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Service15 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
23
23
|
}
|
|
24
|
-
var
|
|
24
|
+
var layer11 = Layer.effect(Service15, Effect.gen(function* () {
|
|
25
25
|
const changes = yield* PubSub.unbounded();
|
|
26
26
|
const state = { current: { statements: [] } };
|
|
27
|
-
return
|
|
27
|
+
return Service15.of({
|
|
28
28
|
changes: () => Stream.fromPubSub(changes),
|
|
29
29
|
current: () => state.current,
|
|
30
30
|
set: (next) => Effect.gen(function* () {
|
|
@@ -36,7 +36,7 @@ var layer9 = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
36
36
|
})
|
|
37
37
|
});
|
|
38
38
|
}));
|
|
39
|
-
var
|
|
39
|
+
var node17 = makeGlobalNode({ service: Service15, layer: layer11, deps: [] });
|
|
40
40
|
function statements2(entries, organization) {
|
|
41
41
|
return [
|
|
42
42
|
...entries.filter((entry) => entry.type === "document").toReversed().flatMap((entry) => entry.info.policies ?? []).map((policy) => ({ ...policy, message: "Blocked by configuration policy" })),
|
|
@@ -50,4 +50,4 @@ function decision2(policies, action, resource) {
|
|
|
50
50
|
return policies.findLast((policy) => policy.action === action && match2(resource, policy.resource))?.effect ?? "allow";
|
|
51
51
|
}
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service15, layer11, node17, statements2, decision2, exports_managed_policy };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./command-v0g0brx6.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID6,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service39
|
|
10
|
+
} from "./command-3egpthbr.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./command-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
18
|
Input: () => Input5,
|
|
19
19
|
Output: () => Output4,
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
20
|
+
Plugin: () => Plugin40,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description3,
|
|
23
23
|
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
@@ -28,14 +28,14 @@ import { Effect, Schema } from "effect";
|
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
29
|
var name5 = "skill";
|
|
30
30
|
var Input5 = Schema.Struct({
|
|
31
|
-
id:
|
|
31
|
+
id: ID6.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
33
|
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,16 +43,16 @@ var description2 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin40 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service39;
|
|
51
|
+
const permission = yield* Service62;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
53
|
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
55
|
+
description: description3,
|
|
56
56
|
input: Input5,
|
|
57
57
|
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
@@ -79,4 +79,4 @@ var Plugin22 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export { name5, Input5, Output4,
|
|
82
|
+
export { name5, Input5, Output4, description3, toModelOutput2, Plugin40, exports_skill3 };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./command-cevbxveq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service63,
|
|
11
|
-
node66
|
|
12
|
-
} from "./location-activity-1zpzwa9v.js";
|
|
8
|
+
} from "./command-n1dcq2q6.js";
|
|
13
9
|
import {
|
|
14
10
|
Service61,
|
|
15
11
|
node64
|
|
16
|
-
} from "./
|
|
12
|
+
} from "./command-ck6mh85g.js";
|
|
13
|
+
import {
|
|
14
|
+
Service56,
|
|
15
|
+
node59
|
|
16
|
+
} from "./command-9r15s34d.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./command-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./command-e7gxy7fd.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service55
|
|
26
|
+
} from "./command-ckf8nxjz.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service64,
|
|
29
|
+
node67
|
|
30
|
+
} from "./command-8sse9e5v.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./command-nt51sm0f.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./command-n6ngdxpd.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./command-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service54,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer23,
|
|
47
|
+
node: () => node58,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service54 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
62
|
+
var layer23 = Layer.effect(Service54, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service64;
|
|
64
|
+
const instances = yield* Service56;
|
|
65
65
|
const bus = yield* Service85;
|
|
66
|
-
const jobs = yield*
|
|
66
|
+
const jobs = yield* Service61;
|
|
67
67
|
const db = (yield* Service86).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,14 +76,14 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service55.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
83
83
|
Reloaded: (result) => drain(sessionID, result.force, result.continuation, promotable)
|
|
84
84
|
});
|
|
85
85
|
});
|
|
86
|
-
const coordinator = yield*
|
|
86
|
+
const coordinator = yield* make16({
|
|
87
87
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
88
88
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
89
89
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -104,7 +104,7 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service54.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer21 = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node58 = makeGlobalNode({
|
|
127
|
+
service: Service54,
|
|
128
|
+
layer: layer23,
|
|
129
|
+
deps: [node67, node59, node89, node90, node64]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service54, Service54.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service58, Service58.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service54, terminal2, layer23, node58, noopLayer3, exports_execution };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./command-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./command-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|