@opencode/core 0.0.0-dev-21559 → 0.0.0-dev-21563
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 +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{agent-034tev2y.js → generate-034tev2y.js} +2 -2
- package/dist/chunks/{agent-3spbe93k.js → generate-0443psqk.js} +26 -26
- package/dist/chunks/{agent-hkd76wam.js → generate-06e0dsx1.js} +16 -16
- package/dist/chunks/{agent-xj13yeyq.js → generate-07phzgjg.js} +14 -14
- package/dist/chunks/{agent-fdms3n6w.js → generate-0bke9tpm.js} +9 -9
- package/dist/chunks/{agent-8423s3gk.js → generate-0cmwyhaq.js} +28 -28
- package/dist/chunks/{agent-7623g4n6.js → generate-0cs5dcs0.js} +19 -19
- package/dist/chunks/{agent-e0qjs091.js → generate-0m6b3axq.js} +17 -17
- package/dist/chunks/{agent-8vd89vx3.js → generate-0mcrt4fa.js} +4 -4
- package/dist/chunks/{agent-d5h0167e.js → generate-0rq01gt9.js} +5 -5
- package/dist/chunks/{agent-xrt977hg.js → generate-1e4tspje.js} +3 -3
- package/dist/chunks/{agent-1ep2p91f.js → generate-1ep2p91f.js} +2 -2
- package/dist/chunks/{agent-1waxmwv9.js → generate-1mtcyeq8.js} +8 -8
- package/dist/chunks/{agent-awzqkd9p.js → generate-1q324bgk.js} +7 -7
- package/dist/chunks/{agent-6827pfxn.js → generate-1x2knyw4.js} +1 -1
- package/dist/chunks/{agent-6dxqerh2.js → generate-231jaqzt.js} +12 -12
- package/dist/chunks/{agent-bc7q5vrg.js → generate-24e7end9.js} +13 -13
- package/dist/chunks/{agent-vbgzaw66.js → generate-268wp9v4.js} +4 -4
- package/dist/chunks/{agent-xenxtz2r.js → generate-280dayrs.js} +21 -21
- package/dist/chunks/{agent-vak4j5e1.js → generate-2hr5rmqc.js} +9 -9
- package/dist/chunks/{agent-ntcam9rv.js → generate-2jgkbkn1.js} +14 -14
- package/dist/chunks/{agent-fmjx2h3e.js → generate-2tfwfzen.js} +2 -2
- package/dist/chunks/{agent-9wev2pgg.js → generate-2z1j29yd.js} +1 -1
- package/dist/chunks/{agent-06xye173.js → generate-2zqqmjez.js} +11 -11
- package/dist/chunks/{agent-n9kd73fy.js → generate-38heweg8.js} +5 -5
- package/dist/chunks/{agent-y1gbkt6d.js → generate-3dg2krd3.js} +24 -24
- package/dist/chunks/{agent-zg5n0cvz.js → generate-3dvwpjdr.js} +27 -27
- package/dist/chunks/{agent-zk2rfxgs.js → generate-3g4pre0h.js} +15 -15
- package/dist/chunks/{agent-9jtgc0ag.js → generate-3g7vrncj.js} +29 -29
- package/dist/chunks/{agent-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-gqc3hykc.js → generate-3jp652nn.js} +6 -6
- package/dist/chunks/{agent-8gvnjk36.js → generate-3jzb0r2n.js} +5 -5
- package/dist/chunks/{agent-54ma36ye.js → generate-3nnrz6f6.js} +1 -1
- package/dist/chunks/{agent-s59cy3r3.js → generate-3ntmh1g8.js} +21 -21
- package/dist/chunks/{agent-b9312sca.js → generate-3xk26rw4.js} +5 -5
- package/dist/chunks/{agent-bjx1sjef.js → generate-40za9wsf.js} +2 -2
- package/dist/chunks/{agent-v71mf45a.js → generate-48h67ern.js} +20 -20
- package/dist/chunks/{agent-z4dyzcgg.js → generate-4c4eb9w2.js} +14 -14
- package/dist/chunks/{agent-j414fcmn.js → generate-4eed2b0j.js} +15 -15
- package/dist/chunks/{agent-fs73a89a.js → generate-4hhvtbzy.js} +25 -25
- package/dist/chunks/{agent-twy6e1pt.js → generate-4kdcmdga.js} +19 -19
- package/dist/chunks/{agent-0e181atj.js → generate-4mkdw68v.js} +8 -8
- package/dist/chunks/generate-4svnxzqq.js +257 -0
- package/dist/chunks/{agent-zr2ceqn5.js → generate-4v008n1t.js} +1 -1
- package/dist/chunks/{agent-qp7m8750.js → generate-4xvmh7wp.js} +3 -3
- package/dist/chunks/{agent-aw089k6n.js → generate-56m9f56v.js} +25 -25
- package/dist/chunks/{agent-nw3tt376.js → generate-5emr5dp8.js} +19 -19
- package/dist/chunks/{agent-g72yd4k4.js → generate-5gk89hyb.js} +5 -5
- package/dist/chunks/{agent-b0nwj2n5.js → generate-5knrbc6f.js} +33 -33
- package/dist/chunks/{agent-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-cr9hweqv.js → generate-5nnwax6m.js} +5 -5
- package/dist/chunks/{agent-mvd2y75j.js → generate-5xepaxvw.js} +18 -18
- package/dist/chunks/{agent-pq7ehxfq.js → generate-5xwxezg3.js} +20 -20
- package/dist/chunks/{agent-t93swj6g.js → generate-64pwmkab.js} +4 -4
- package/dist/chunks/{agent-bnq8ffg3.js → generate-67b48yf1.js} +32 -32
- package/dist/chunks/{agent-658y71pm.js → generate-6c8j4tbz.js} +19 -19
- package/dist/chunks/{agent-zxq2ej10.js → generate-6esdw8yj.js} +1 -1
- package/dist/chunks/{agent-kby49ynp.js → generate-6g08cwsb.js} +16 -16
- package/dist/chunks/{agent-tnypmhpx.js → generate-6gddga0x.js} +22 -22
- package/dist/chunks/{agent-zwxs4smc.js → generate-6mw0z9b9.js} +13 -13
- package/dist/chunks/{agent-qsdy395h.js → generate-6pjqjmy2.js} +1 -1
- package/dist/chunks/{agent-g2zwajds.js → generate-6qkfs1hq.js} +1 -1
- package/dist/chunks/{agent-djb6c8mr.js → generate-6v7f1yd0.js} +25 -25
- package/dist/chunks/{agent-87bdh2h2.js → generate-6zfxg6c6.js} +10 -10
- package/dist/chunks/{agent-h22kh94c.js → generate-6ztc4jbn.js} +8 -8
- package/dist/chunks/{agent-9tcm4z7n.js → generate-7a9ph374.js} +4 -4
- package/dist/chunks/{agent-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{agent-kwb1v3vj.js → generate-7w2ypzdf.js} +1 -1
- package/dist/chunks/{agent-54cckf1a.js → generate-7xg2jm5b.js} +5 -5
- package/dist/chunks/{agent-gabnxzjb.js → generate-87982064.js} +8 -8
- package/dist/chunks/{agent-rhrndxa2.js → generate-883rwgqp.js} +37 -33
- package/dist/chunks/{agent-hzrfc1p4.js → generate-8n9x2wf6.js} +2 -2
- package/dist/chunks/{agent-h6vf3j39.js → generate-8wtp7s3z.js} +1 -1
- package/dist/chunks/{agent-0gcad0bv.js → generate-8wvgy420.js} +6 -6
- package/dist/chunks/{agent-h8vwnyd8.js → generate-91rj84md.js} +1 -1
- package/dist/chunks/{agent-bqwheb6v.js → generate-94j4dkqe.js} +11 -11
- package/dist/chunks/{agent-3zewz7xc.js → generate-973hqt29.js} +3 -3
- package/dist/chunks/{agent-998yhzzq.js → generate-998yhzzq.js} +3 -3
- package/dist/chunks/{agent-xaq53c1m.js → generate-9awrcxz4.js} +4 -4
- package/dist/chunks/{agent-g6yfr6ja.js → generate-9b28cy4d.js} +5 -5
- package/dist/chunks/{agent-btchm180.js → generate-9ra49ptr.js} +28 -25
- package/dist/chunks/{agent-wb1k0b0z.js → generate-a1phgnt9.js} +14 -14
- package/dist/chunks/{agent-b3gp8cby.js → generate-a3t7zwft.js} +45 -45
- package/dist/chunks/{agent-rxrz6b15.js → generate-a5g15581.js} +2 -2
- package/dist/chunks/{agent-39n3vqkw.js → generate-a5znd7ce.js} +3 -3
- package/dist/chunks/{agent-ev0vvt40.js → generate-a7zxg0bg.js} +11 -11
- package/dist/chunks/{agent-gpnk9bds.js → generate-acamw3g0.js} +10 -10
- package/dist/chunks/{agent-k6hwnssb.js → generate-agtp4d9h.js} +30 -30
- package/dist/chunks/{agent-vgfdpj26.js → generate-ah1m9kg9.js} +15 -15
- package/dist/chunks/{agent-n9xp8ka0.js → generate-apkkjdpa.js} +34 -34
- package/dist/chunks/{agent-ng3918dk.js → generate-asaqahta.js} +6 -6
- package/dist/chunks/{agent-yfb8499c.js → generate-axmhfv8p.js} +5 -5
- package/dist/chunks/{agent-ayjs7tqn.js → generate-ayjs7tqn.js} +2 -2
- package/dist/chunks/{agent-b0b1syqq.js → generate-az4hfc8s.js} +43 -43
- package/dist/chunks/{agent-3hwn7j4h.js → generate-b0mv4wxm.js} +2 -2
- package/dist/chunks/{agent-sp2b9xzv.js → generate-b17b73pv.js} +19 -19
- package/dist/chunks/{agent-sq7qz21n.js → generate-b5p5nngv.js} +50 -50
- package/dist/chunks/{agent-9ava3as1.js → generate-ba7ngyz7.js} +32 -32
- package/dist/chunks/{agent-5mx90py9.js → generate-bbym2bqy.js} +3 -3
- package/dist/chunks/{agent-2vd2ww1t.js → generate-bkjvw32t.js} +14 -14
- package/dist/chunks/{agent-w1eejvng.js → generate-bstexjd6.js} +5 -5
- package/dist/chunks/{agent-1gfgk62c.js → generate-c1a686j5.js} +8 -8
- package/dist/chunks/{agent-0bg0bx69.js → generate-c3cfh5w6.js} +2 -2
- package/dist/chunks/{agent-a3gjs1qw.js → generate-c8ar4m6j.js} +45 -45
- package/dist/chunks/{agent-e7gxy7fd.js → generate-c9t2ty9q.js} +1 -1
- package/dist/chunks/{agent-mq3tyw2r.js → generate-cf7jrmsj.js} +5 -5
- package/dist/chunks/{agent-nyxdgnr4.js → generate-cr6fwty7.js} +7 -7
- package/dist/chunks/{agent-ahd542yp.js → generate-crfddmzc.js} +8 -8
- package/dist/chunks/{agent-cxchh17q.js → generate-ctf5g10g.js} +36 -36
- package/dist/chunks/{agent-waskdk5r.js → generate-d2dx6a7h.js} +4 -4
- package/dist/chunks/{agent-8a61520m.js → generate-d326b540.js} +11 -11
- package/dist/chunks/{agent-0vbcp93d.js → generate-d4v9tmah.js} +2 -2
- package/dist/chunks/{agent-nd3tx038.js → generate-d86va4wf.js} +25 -25
- package/dist/chunks/{agent-dys7k0s0.js → generate-d8qd4w10.js} +8 -8
- package/dist/chunks/{agent-e654tkxv.js → generate-d9p590j3.js} +19 -19
- package/dist/chunks/{agent-tr99e1w1.js → generate-df0hqdma.js} +4 -4
- package/dist/chunks/{agent-4rc13h46.js → generate-dg96ektr.js} +11 -11
- package/dist/chunks/{agent-8sze2n9a.js → generate-dkq45v8d.js} +2 -2
- package/dist/chunks/{agent-vgn4papj.js → generate-dq2enhqf.js} +35 -35
- package/dist/chunks/{agent-yf6cfcxz.js → generate-drqhczqs.js} +76 -76
- package/dist/chunks/{agent-2gs5rnc2.js → generate-ds4c1w6p.js} +6 -6
- package/dist/chunks/{agent-277eer69.js → generate-dtjdv03g.js} +4 -4
- package/dist/chunks/{agent-qnzjvx7w.js → generate-dw02th3g.js} +3 -3
- package/dist/chunks/{agent-tcay1cqt.js → generate-dwwyec8z.js} +6 -6
- package/dist/chunks/{agent-cwa6csj7.js → generate-dz8hhvgv.js} +9 -9
- package/dist/chunks/{agent-nwg5v2wf.js → generate-e4dtt5ff.js} +11 -11
- package/dist/chunks/{agent-n4bxf1bq.js → generate-e4nrxrzc.js} +16 -16
- package/dist/chunks/{agent-8m6m0r52.js → generate-e834z07m.js} +1 -1
- package/dist/chunks/{agent-rm3b56at.js → generate-ecfrjnaf.js} +44 -44
- package/dist/chunks/{agent-4w15n2v0.js → generate-ecq052tn.js} +20 -20
- package/dist/chunks/{agent-1qbbqxat.js → generate-eez2jsbe.js} +40 -40
- package/dist/chunks/{agent-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-97gt6j6v.js → generate-f1xnqdyr.js} +4 -4
- package/dist/chunks/{agent-64abga9g.js → generate-f5k7224w.js} +30 -30
- package/dist/chunks/{agent-hfbyhya8.js → generate-f6wfqyz7.js} +10 -10
- package/dist/chunks/{agent-ktqrr5j9.js → generate-fcz54ycx.js} +17 -17
- package/dist/chunks/{agent-zgq2zk3m.js → generate-fdp97wc0.js} +17 -17
- package/dist/chunks/{agent-n6mrmtb3.js → generate-fffv3p7h.js} +1 -1
- package/dist/chunks/{agent-krdey6nc.js → generate-ffxnyj3q.js} +6 -6
- package/dist/chunks/{agent-xshm6x7r.js → generate-fq4px9zp.js} +17 -17
- package/dist/chunks/{agent-30y6nqd9.js → generate-fwjbw8c3.js} +11 -11
- package/dist/chunks/{agent-m2bbs62m.js → generate-fwt74e85.js} +3 -3
- package/dist/chunks/{agent-8k49cjh1.js → generate-fx06c4yw.js} +30 -30
- package/dist/chunks/{agent-hq3c8me3.js → generate-fznmdakp.js} +1 -1
- package/dist/chunks/{agent-p9gx55xe.js → generate-g1jpy47d.js} +19 -19
- package/dist/chunks/{agent-zhj7pt8s.js → generate-g2895gq7.js} +21 -21
- package/dist/chunks/{agent-eej6y6fw.js → generate-g5h9c0rr.js} +2 -2
- package/dist/chunks/{agent-gvk2e4nv.js → generate-g6p5rgqz.js} +12 -12
- package/dist/chunks/{agent-h9pnpq88.js → generate-g9ndtp1p.js} +4 -4
- package/dist/chunks/{agent-f06p7v79.js → generate-gd9xqwfz.js} +1 -1
- package/dist/chunks/{agent-f8rdyd8z.js → generate-gfftbxav.js} +23 -23
- package/dist/chunks/{agent-2rczfdfv.js → generate-gfj1dh2k.js} +9 -9
- package/dist/chunks/{agent-g3b65czc.js → generate-gn5bzjhx.js} +24 -24
- package/dist/chunks/{agent-b5efm14a.js → generate-gsyd3cda.js} +11 -11
- package/dist/chunks/{agent-svdvx995.js → generate-gv9rxcjs.js} +25 -25
- package/dist/chunks/{agent-xgyvc81b.js → generate-gxfvg231.js} +13 -13
- package/dist/chunks/{agent-pjtv5xgn.js → generate-h9q9d3sq.js} +24 -24
- package/dist/chunks/{agent-dhmh7aw6.js → generate-hd3k4wz8.js} +4 -4
- package/dist/chunks/{agent-vcykmhej.js → generate-hmmgtkw5.js} +11 -11
- package/dist/chunks/{agent-b2gqg30f.js → generate-hq3462wm.js} +12 -12
- package/dist/chunks/{agent-g3jry2r0.js → generate-hsdcm9m6.js} +30 -30
- package/dist/chunks/{agent-92zns5dy.js → generate-hv0c9xjm.js} +22 -22
- package/dist/chunks/{agent-b11a7tx7.js → generate-j113cymg.js} +1 -1
- package/dist/chunks/{agent-snvy5g5t.js → generate-j8p3npgm.js} +7 -7
- package/dist/chunks/{agent-0cn9gq1n.js → generate-jcbtawrq.js} +15 -15
- package/dist/chunks/{agent-b60a0p85.js → generate-jddh4vgn.js} +50 -50
- package/dist/chunks/{agent-qrpk9c9k.js → generate-jgt5st1g.js} +32 -32
- package/dist/chunks/{agent-9sbwc68p.js → generate-jh346mvv.js} +332 -332
- package/dist/chunks/{agent-4cpvsvst.js → generate-jj998gzn.js} +48 -48
- package/dist/chunks/{agent-pfmyemp7.js → generate-jzdfcbw4.js} +80 -80
- package/dist/chunks/generate-jztn5z23.js +18 -0
- package/dist/chunks/{agent-vzs5sf6e.js → generate-k814nvkf.js} +1 -1
- package/dist/chunks/{agent-smqp6h5x.js → generate-ka2n5pfv.js} +26 -26
- package/dist/chunks/{agent-tascwatk.js → generate-kdx3nhfk.js} +4 -4
- package/dist/chunks/{agent-y8k9ntag.js → generate-kmj6meg3.js} +28 -28
- package/dist/chunks/{agent-sb9w5nny.js → generate-kywaegby.js} +5 -5
- package/dist/chunks/{agent-3zsf4n22.js → generate-m1714858.js} +1 -1
- package/dist/chunks/{agent-xfkkasph.js → generate-m37sd98t.js} +1 -2
- package/dist/chunks/{agent-c4jysj7e.js → generate-m416erh4.js} +9 -9
- package/dist/chunks/{agent-1wcsaky3.js → generate-m6n3gz95.js} +19 -19
- package/dist/chunks/{agent-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → generate-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-8mywswrd.js → generate-me5bcav6.js} +1 -1
- package/dist/chunks/{agent-1wy3gn7h.js → generate-mfmv0kv1.js} +7 -7
- package/dist/chunks/{agent-xs09rgb4.js → generate-mpjcpqpe.js} +18 -18
- package/dist/chunks/{agent-hbb7npd7.js → generate-mt3ysty9.js} +3 -3
- package/dist/chunks/{agent-ttxw2dcy.js → generate-mtyjk5mv.js} +11 -11
- package/dist/chunks/{agent-fcy631f0.js → generate-n0p0277s.js} +1 -1
- package/dist/chunks/{agent-sk5011s6.js → generate-n1pz9w08.js} +4 -4
- package/dist/chunks/{agent-60ds0mnt.js → generate-n521w511.js} +58 -58
- package/dist/chunks/{agent-zwhbkwqf.js → generate-naa9f1yr.js} +18 -18
- package/dist/chunks/{agent-1ep4rre3.js → generate-nah043kf.js} +4 -4
- package/dist/chunks/{agent-c9scfykt.js → generate-nc0t5309.js} +18 -18
- package/dist/chunks/{agent-ws4pm92m.js → generate-np41maqj.js} +16 -16
- package/dist/chunks/{agent-775gj3j1.js → generate-p015t6z3.js} +2 -2
- package/dist/chunks/{agent-v5dkyp31.js → generate-p0tsr9h6.js} +4 -4
- package/dist/chunks/{agent-p8vnz59a.js → generate-p1bnnv0d.js} +11 -11
- package/dist/chunks/{agent-x395z3h3.js → generate-p3my5sye.js} +12 -12
- package/dist/chunks/{agent-qgn6gcr1.js → generate-p7vhpwh8.js} +1 -1
- package/dist/chunks/{agent-8w9gpa2a.js → generate-p910tjw3.js} +4 -4
- package/dist/chunks/{agent-pc1v25hk.js → generate-pc1v25hk.js} +1 -1
- package/dist/chunks/{agent-sj1zydaf.js → generate-pdsqxfs4.js} +29 -29
- package/dist/chunks/{agent-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{agent-xe9rh51h.js → generate-ps3ej18z.js} +4 -4
- package/dist/chunks/{agent-c2ym5zbg.js → generate-q60vxn6h.js} +30 -30
- package/dist/chunks/{agent-ypxwtm4x.js → generate-q62c5m1h.js} +38 -38
- package/dist/chunks/{agent-q20pbgba.js → generate-qd7381sw.js} +9 -9
- package/dist/chunks/{agent-76cxhb07.js → generate-qe8930r1.js} +14 -14
- package/dist/chunks/{agent-y71avatq.js → generate-qjgzc4b4.js} +1 -1
- package/dist/chunks/{agent-tyytaxap.js → generate-r0yr0wbs.js} +1 -1
- package/dist/chunks/{agent-y1twntmg.js → generate-r3zyq36m.js} +13 -13
- package/dist/chunks/{agent-tazgh4e4.js → generate-rb9dy4dg.js} +1 -1
- package/dist/chunks/{agent-wez96qer.js → generate-rdhjazzg.js} +17 -17
- package/dist/chunks/{agent-r2g6g664.js → generate-rky3kepx.js} +3 -3
- package/dist/chunks/{agent-r70na3yp.js → generate-rmt6m6se.js} +5 -5
- package/dist/chunks/{agent-3tvqynh2.js → generate-rt5dr6hb.js} +1 -1
- package/dist/chunks/{agent-qcsawjgq.js → generate-rv8w38an.js} +6 -6
- package/dist/chunks/{agent-zmjze8as.js → generate-s3sx9mn6.js} +13 -13
- package/dist/chunks/{agent-jnpb6kqk.js → generate-s84dsypd.js} +6 -6
- package/dist/chunks/{agent-6xb47vfp.js → generate-sqjzf8x2.js} +1 -1
- package/dist/chunks/{agent-ne0dd1rk.js → generate-srcm619j.js} +18 -18
- package/dist/chunks/{agent-f4wgghpj.js → generate-t6x4gq5g.js} +15 -15
- package/dist/chunks/{agent-gd4qta3r.js → generate-tczq8hjw.js} +1 -1
- package/dist/chunks/{agent-9hn6k4tm.js → generate-tg1vr1qt.js} +8 -8
- package/dist/chunks/{agent-tdstcens.js → generate-tw8zr1ps.js} +1 -1
- package/dist/chunks/{agent-v7p4zvkq.js → generate-twv2r8f4.js} +2 -2
- package/dist/chunks/{agent-8bf1vej8.js → generate-tycew84m.js} +28 -28
- package/dist/chunks/{agent-y9793g9a.js → generate-v1n51q4a.js} +9 -9
- package/dist/chunks/{agent-b0xapsmc.js → generate-v2ekcwaa.js} +8 -8
- package/dist/chunks/{agent-gx42yg2y.js → generate-v52mmt0f.js} +9 -9
- package/dist/chunks/{agent-ndn5nttk.js → generate-v5prxdmf.js} +9 -9
- package/dist/chunks/{agent-rdw6cm16.js → generate-vd3b3yk9.js} +1 -1
- package/dist/chunks/{agent-01kz1ps7.js → generate-vehp2e4d.js} +16 -16
- package/dist/chunks/{agent-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-k7mbsg3c.js → generate-vfgay4tf.js} +25 -25
- package/dist/chunks/{agent-93yh5dc7.js → generate-vfn6hbth.js} +11 -11
- package/dist/chunks/{agent-5rr2xw51.js → generate-vhwf8nac.js} +8 -8
- package/dist/chunks/{agent-0rtpdasm.js → generate-vhy1jp8z.js} +12 -12
- package/dist/chunks/{agent-re229bga.js → generate-vrhy8dh6.js} +9 -9
- package/dist/chunks/{agent-p8z5pjn4.js → generate-vwz214c8.js} +26 -26
- package/dist/chunks/{agent-j1eznksd.js → generate-vzy7qmck.js} +23 -23
- package/dist/chunks/{agent-7qh4aqtb.js → generate-w3d65hzj.js} +2 -2
- package/dist/chunks/{agent-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-6scxdq94.js → generate-w4pz5j85.js} +18 -18
- package/dist/chunks/{agent-h5btj78v.js → generate-w72jy28c.js} +7 -7
- package/dist/chunks/{agent-89znhe33.js → generate-w8qtt4th.js} +1 -1
- package/dist/chunks/{agent-4bqcy7j7.js → generate-w923jztq.js} +27 -27
- package/dist/chunks/{agent-wakvkjy4.js → generate-wakvkjy4.js} +1 -1
- package/dist/chunks/{agent-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{agent-8x019s04.js → generate-wmwt0t0m.js} +15 -15
- package/dist/chunks/{agent-b1wrcdv1.js → generate-wnv14c0b.js} +24 -24
- package/dist/chunks/{agent-aq6ssqh8.js → generate-wybahy8v.js} +30 -30
- package/dist/chunks/{agent-xcs1qr88.js → generate-x06crd5t.js} +23 -23
- package/dist/chunks/{agent-cre9sv7v.js → generate-x774aw49.js} +11 -11
- package/dist/chunks/{agent-a5x7x9kw.js → generate-x7fdz9fh.js} +18 -18
- package/dist/chunks/{agent-0c04ntqn.js → generate-x8hhwygw.js} +39 -39
- package/dist/chunks/{agent-h3hta0fv.js → generate-xatr71eh.js} +46 -46
- package/dist/chunks/{agent-9g9xrmrw.js → generate-xevjgmtb.js} +14 -14
- package/dist/chunks/{agent-kt55wntw.js → generate-xf011dtc.js} +18 -18
- package/dist/chunks/{agent-n9tqm6c9.js → generate-xjq3zqqg.js} +11 -11
- package/dist/chunks/{agent-c484vbkt.js → generate-xk77ac0a.js} +14 -14
- package/dist/chunks/{agent-qkdq18ke.js → generate-xs6sb18z.js} +11 -11
- package/dist/chunks/{agent-zk00g8zz.js → generate-y1bsf4pc.js} +25 -25
- package/dist/chunks/{agent-t550f9t1.js → generate-y2tacs4v.js} +8 -8
- package/dist/chunks/{agent-7m0k4634.js → generate-y6wjeqxz.js} +13 -13
- package/dist/chunks/{agent-6tphdy7g.js → generate-y8j3s4v0.js} +4 -4
- package/dist/chunks/{agent-pjvnvgmy.js → generate-yb20nhc3.js} +1 -1
- package/dist/chunks/{agent-v3sm3b29.js → generate-ybwdqt9k.js} +10 -10
- package/dist/chunks/{agent-8ww2gede.js → generate-yhjes8yv.js} +3 -3
- package/dist/chunks/{agent-dkase1ea.js → generate-ynm9hr00.js} +32 -32
- package/dist/chunks/{agent-bhj7yhfp.js → generate-yx31kd0w.js} +28 -28
- package/dist/chunks/{agent-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-tjsfqyz1.js → generate-z2a2ye1r.js} +12 -12
- package/dist/chunks/{agent-e0tmjqd2.js → generate-z37k9505.js} +2 -2
- package/dist/chunks/{agent-y1fvbwt7.js → generate-z38nccrw.js} +1 -1
- package/dist/chunks/{agent-72ynmsqb.js → generate-zax9hrrj.js} +180 -180
- package/dist/chunks/{agent-addxnjmp.js → generate-zba5tm1j.js} +4 -4
- package/dist/chunks/{agent-m3gkkj97.js → generate-zgcf70k7.js} +10 -10
- package/dist/chunks/{agent-hgz4x7wa.js → generate-zkg84ctx.js} +1 -1
- package/dist/chunks/{agent-zk8c4w5t.js → generate-zw4pk1bw.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- 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 +116 -116
- package/dist/config/plugin/command.js +212 -212
- 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 +118 -118
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +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 +87 -87
- package/dist/database/database.js +68 -68
- 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/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 +78 -78
- 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 +1 -1
- 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 +227 -227
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +85 -85
- package/dist/generate.js +105 -105
- 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 +101 -101
- 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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- 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 +111 -111
- 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 +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- 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 +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +2 -2
- 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 +116 -116
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- 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 +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- 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 +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- 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 +132 -132
- package/dist/session/context.js +162 -162
- 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 +164 -164
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- 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 +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +1 -1
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +163 -163
- 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 +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- 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 +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- 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 +111 -111
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- 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 +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +9 -9
- package/dist/chunks/agent-5d10wpg8.js +0 -257
- package/dist/chunks/agent-gyce5qg1.js +0 -18
- /package/dist/chunks/{agent-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-5fjb7ams.js → generate-5fjb7ams.js} +0 -0
- /package/dist/chunks/{agent-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a058387c.js → generate-a058387c.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → generate-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → generate-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → generate-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → generate-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,105 +1,105 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-bbym2bqy.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-kdx3nhfk.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-ffxnyj3q.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-ec1grn59.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionMessageTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-998yhzzq.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-n1pz9w08.js";
|
|
24
24
|
import {
|
|
25
25
|
decodeMessageRow2,
|
|
26
26
|
preview2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-j8p3npgm.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service57,
|
|
30
|
+
node60
|
|
31
|
+
} from "./generate-g6p5rgqz.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service52,
|
|
34
|
+
node55
|
|
35
|
+
} from "./generate-3dvwpjdr.js";
|
|
36
36
|
import {
|
|
37
37
|
llmClient2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-p015t6z3.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
} from "./
|
|
40
|
+
Service28,
|
|
41
|
+
node30
|
|
42
|
+
} from "./generate-94j4dkqe.js";
|
|
43
43
|
import {
|
|
44
44
|
baseTranscript2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./generate-agtp4d9h.js";
|
|
46
46
|
import {
|
|
47
47
|
make9
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./generate-mt3ysty9.js";
|
|
49
49
|
import {
|
|
50
50
|
toSessionError2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./generate-cf7jrmsj.js";
|
|
52
52
|
import {
|
|
53
53
|
Service9,
|
|
54
54
|
node11,
|
|
55
55
|
estimatePrompt2
|
|
56
|
-
} from "./
|
|
56
|
+
} from "./generate-jgt5st1g.js";
|
|
57
57
|
import {
|
|
58
|
-
|
|
59
|
-
} from "./
|
|
58
|
+
node48
|
|
59
|
+
} from "./generate-mtyjk5mv.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
61
|
+
Service23,
|
|
62
62
|
node25
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./generate-drqhczqs.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./
|
|
68
|
+
} from "./generate-mpjcpqpe.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service10,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
72
|
+
node12
|
|
73
|
+
} from "./generate-vfgay4tf.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
76
|
+
Service35
|
|
77
|
+
} from "./generate-hd3k4wz8.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
79
|
+
node44
|
|
80
|
+
} from "./generate-gv9rxcjs.js";
|
|
81
81
|
import {
|
|
82
82
|
Outcome2,
|
|
83
83
|
make8
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./generate-fq4px9zp.js";
|
|
85
85
|
import {
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
86
|
+
Service22
|
|
87
|
+
} from "./generate-jztn5z23.js";
|
|
88
88
|
import {
|
|
89
89
|
node18
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./generate-np41maqj.js";
|
|
91
91
|
import {
|
|
92
92
|
MAX_STEPS_PROMPT2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./generate-y44na4kk.js";
|
|
94
94
|
import {
|
|
95
95
|
__export
|
|
96
|
-
} from "./
|
|
96
|
+
} from "./generate-9rqn6x4v.js";
|
|
97
97
|
|
|
98
98
|
// src/session/runner/llm.ts
|
|
99
99
|
var exports_llm = {};
|
|
100
100
|
__export(exports_llm, {
|
|
101
101
|
SessionRunnerLLM: () => exports_llm,
|
|
102
|
-
node: () =>
|
|
102
|
+
node: () => node10
|
|
103
103
|
});
|
|
104
104
|
import { Message } from "@opencode/ai";
|
|
105
105
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -107,16 +107,16 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
107
107
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
108
108
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
109
109
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
110
|
-
var layer = Layer.effect(
|
|
110
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
111
111
|
const bus = yield* Service85;
|
|
112
|
-
const lifecycle = yield*
|
|
113
|
-
const store = yield*
|
|
114
|
-
const context = yield*
|
|
115
|
-
const modelTransport = yield*
|
|
112
|
+
const lifecycle = yield* Service52;
|
|
113
|
+
const store = yield* Service57;
|
|
114
|
+
const context = yield* Service23;
|
|
115
|
+
const modelTransport = yield* Service28;
|
|
116
116
|
const db = (yield* Service86).db;
|
|
117
117
|
const compaction = yield* Service9;
|
|
118
|
-
const plugins = yield*
|
|
119
|
-
const title = yield*
|
|
118
|
+
const plugins = yield* Service22;
|
|
119
|
+
const title = yield* Service10;
|
|
120
120
|
const steps = yield* make8;
|
|
121
121
|
const titles = yield* FiberMap.make();
|
|
122
122
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
@@ -370,25 +370,25 @@ var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
370
370
|
}
|
|
371
371
|
}
|
|
372
372
|
});
|
|
373
|
-
return
|
|
373
|
+
return Service35.of({ drain });
|
|
374
374
|
}));
|
|
375
|
-
var
|
|
376
|
-
service:
|
|
375
|
+
var node10 = makeLocationNode({
|
|
376
|
+
service: Service35,
|
|
377
377
|
layer,
|
|
378
378
|
deps: [
|
|
379
379
|
node89,
|
|
380
|
-
|
|
380
|
+
node55,
|
|
381
381
|
llmClient2,
|
|
382
382
|
node25,
|
|
383
|
-
|
|
384
|
-
|
|
383
|
+
node30,
|
|
384
|
+
node60,
|
|
385
385
|
node11,
|
|
386
386
|
node18,
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
|
|
387
|
+
node12,
|
|
388
|
+
node44,
|
|
389
|
+
node48,
|
|
390
390
|
node90
|
|
391
391
|
]
|
|
392
392
|
});
|
|
393
393
|
|
|
394
|
-
export {
|
|
394
|
+
export { node10, exports_llm };
|
|
@@ -2,26 +2,26 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service67,
|
|
8
|
+
node70
|
|
9
|
+
} from "./generate-9ra49ptr.js";
|
|
10
10
|
import {
|
|
11
11
|
RipgrepBinary2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-maspj1v3.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/ripgrep.ts
|
|
18
18
|
var exports_ripgrep = {};
|
|
19
19
|
__export(exports_ripgrep, {
|
|
20
|
-
Error: () =>
|
|
20
|
+
Error: () => Error4,
|
|
21
21
|
InvalidPatternError: () => InvalidPatternError2,
|
|
22
22
|
Ripgrep: () => exports_ripgrep,
|
|
23
|
-
Service: () =>
|
|
24
|
-
node: () =>
|
|
23
|
+
Service: () => Service66,
|
|
24
|
+
node: () => node69
|
|
25
25
|
});
|
|
26
26
|
import { Context, Effect, Fiber, Layer, Schema, Stream } from "effect";
|
|
27
27
|
import { ChildProcess } from "effect/process";
|
|
@@ -46,7 +46,7 @@ var RawMatch = Schema.Struct({
|
|
|
46
46
|
});
|
|
47
47
|
var decodeJsonRecord = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Unknown));
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Error4 extends Schema.TaggedError()("Ripgrep.Error", {
|
|
50
50
|
message: Schema.String,
|
|
51
51
|
cause: Schema.optional(Schema.Defect())
|
|
52
52
|
}) {
|
|
@@ -58,13 +58,13 @@ class InvalidPatternError2 extends Schema.TaggedError()("Ripgrep.InvalidPatternE
|
|
|
58
58
|
}) {
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service66 extends Context.Service()("@opencode/Ripgrep") {
|
|
62
62
|
}
|
|
63
|
-
var failure = (message, cause) => new
|
|
63
|
+
var failure = (message, cause) => new Error4({ message, cause });
|
|
64
64
|
var normalizePath = (value) => value.replace(/^(?:\.[\\/])+/u, "").replace(/^[\\/]+/u, "").replaceAll("\\", "/");
|
|
65
65
|
var isInvalidPattern = (stderr) => stderr.includes("regex parse error") || stderr.includes("error parsing regex");
|
|
66
|
-
var layer = Layer.effect(
|
|
67
|
-
const environment = yield*
|
|
66
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
67
|
+
const environment = yield* Service67;
|
|
68
68
|
const binary = yield* RipgrepBinary2.Service;
|
|
69
69
|
const run = (input) => {
|
|
70
70
|
const program = Effect.scoped(Effect.gen(function* () {
|
|
@@ -90,9 +90,9 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
90
90
|
return code === 1 ? [] : rows;
|
|
91
91
|
}));
|
|
92
92
|
const abortable = input.signal ? program.pipe(Effect.raceFirst(waitForAbort(input.signal))) : program;
|
|
93
|
-
return abortable.pipe(Effect.mapError((cause) => cause instanceof
|
|
93
|
+
return abortable.pipe(Effect.mapError((cause) => cause instanceof Error4 || cause instanceof InvalidPatternError2 ? cause : failure("ripgrep execution failed", cause)));
|
|
94
94
|
};
|
|
95
|
-
return
|
|
95
|
+
return Service66.of({
|
|
96
96
|
glob: (input) => run({
|
|
97
97
|
cwd: input.cwd,
|
|
98
98
|
limit: input.limit,
|
|
@@ -175,6 +175,6 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
175
175
|
}))))
|
|
176
176
|
});
|
|
177
177
|
}));
|
|
178
|
-
var
|
|
178
|
+
var node69 = makeLocationNode({ service: Service66, layer, deps: [node70, RipgrepBinary2.node] });
|
|
179
179
|
|
|
180
|
-
export {
|
|
180
|
+
export { Error4, InvalidPatternError2, Service66, node69, exports_ripgrep };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/config/plugin/skill-scan.ts
|
|
6
6
|
var exports_skill_scan = {};
|
|
7
7
|
__export(exports_skill_scan, {
|
|
8
8
|
SkillScan: () => exports_skill_scan,
|
|
9
9
|
ignore: () => ignore2,
|
|
10
|
-
scan: () =>
|
|
10
|
+
scan: () => scan2
|
|
11
11
|
});
|
|
12
12
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
13
13
|
import path from "path";
|
|
14
14
|
import { Effect } from "effect";
|
|
15
15
|
var MAX_DEPTH = 6;
|
|
16
16
|
var ignore2 = [...FSUtil.ignoreGlobs, "**/.*", "**/.*/**"];
|
|
17
|
-
var
|
|
17
|
+
var scan2 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
18
18
|
const fs = yield* FSUtil.Service;
|
|
19
19
|
const files = [];
|
|
20
20
|
const queue = [{ directory: root, depth: 0 }];
|
|
@@ -39,4 +39,4 @@ var scan3 = Effect.fn("SkillScan.scan")(function* (root) {
|
|
|
39
39
|
return files.toSorted();
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export { ignore2,
|
|
42
|
+
export { ignore2, scan2, exports_skill_scan };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-kdx3nhfk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID13,
|
|
6
|
+
Event16,
|
|
7
|
+
Service74
|
|
8
|
+
} from "./generate-fx06c4yw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID11
|
|
11
|
+
} from "./generate-883rwgqp.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-3jp652nn.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service74;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID11.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID11.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID13.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID11.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID11.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID11.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID11.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event16.Updated, Event16.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-kdx3nhfk.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./generate-6zfxg6c6.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-vd3b3yk9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service22,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-jztn5z23.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-zax9hrrj.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
29
|
+
Event: () => Event3,
|
|
30
30
|
ID: () => ID2,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service22,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
37
|
node: () => node18
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event3, ID as ID2, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
43
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
44
44
|
const bus = yield* Service85;
|
|
45
|
-
const kv = yield*
|
|
45
|
+
const kv = yield* Service80;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service22.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -223,9 +223,9 @@ function slotInfo(slot) {
|
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
225
|
var node18 = Node.makeLocationNode({
|
|
226
|
-
service:
|
|
226
|
+
service: Service22,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export { node18, exports_plugin2,
|
|
231
|
+
export { node18, exports_plugin2, Event3, ID2, Info3, Source2, State2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
WebSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-jze0r7bz.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/effect/app-node-platform.ts
|
|
9
9
|
var exports_app_node_platform = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
6
|
var exports_command5 = {};
|
|
7
7
|
__export(exports_command5, {
|
|
8
8
|
ConfigCommandV1: () => exports_command5,
|
|
9
|
-
Info: () =>
|
|
9
|
+
Info: () => Info14
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info14 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info12 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info14, exports_command5 };
|
|
@@ -2,31 +2,31 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./generate-xatr71eh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service56
|
|
9
|
+
} from "./generate-ecfrjnaf.js";
|
|
10
10
|
import {
|
|
11
11
|
MEDIA_MIMES2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-jcbtawrq.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/tool/plugin/mcp-resource.ts
|
|
18
18
|
var exports_mcp_resource = {};
|
|
19
19
|
__export(exports_mcp_resource, {
|
|
20
20
|
McpResourceTools: () => exports_mcp_resource,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin40
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin40 = {
|
|
26
26
|
id: "opencode.tools.mcp-resources",
|
|
27
27
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
28
|
-
const mcp = yield*
|
|
29
|
-
const permission = yield*
|
|
28
|
+
const mcp = yield* Service32;
|
|
29
|
+
const permission = yield* Service56;
|
|
30
30
|
yield* ctx.tool.transform((editor) => {
|
|
31
31
|
editor.add({
|
|
32
32
|
name: "list_mcp_resources",
|
|
@@ -96,4 +96,4 @@ var Plugin26 = {
|
|
|
96
96
|
})
|
|
97
97
|
};
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin40, exports_mcp_resource };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-x774aw49.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
8
|
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-40za9wsf.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin4,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint3
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint3 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin4 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin8 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint3, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin8 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -109,7 +109,7 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint3, Plugin4, exports_tinyfish };
|