@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,132 +1,132 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node45
|
|
4
|
+
} from "./generate-x774aw49.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-kdx3nhfk.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID8,
|
|
11
|
+
Service59,
|
|
12
|
+
node62
|
|
13
|
+
} from "./generate-6c8j4tbz.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
OAuth3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-fx06c4yw.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID12,
|
|
20
20
|
MethodID2,
|
|
21
21
|
AttemptID2,
|
|
22
22
|
Method2,
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service73,
|
|
24
|
+
node76
|
|
25
|
+
} from "./generate-f5k7224w.js";
|
|
26
26
|
import {
|
|
27
27
|
AbsolutePath2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./generate-z5v4ffb3.js";
|
|
29
29
|
import {
|
|
30
30
|
Info27,
|
|
31
31
|
Ref4,
|
|
32
32
|
Service82,
|
|
33
33
|
node86
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./generate-z37k9505.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
ID11,
|
|
37
|
+
Service72,
|
|
38
|
+
node75
|
|
39
|
+
} from "./generate-883rwgqp.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service70,
|
|
42
|
+
node73
|
|
43
|
+
} from "./generate-z2a2ye1r.js";
|
|
44
44
|
import {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
45
|
+
Service39,
|
|
46
|
+
node41
|
|
47
|
+
} from "./generate-g2895gq7.js";
|
|
48
48
|
import {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
Service80,
|
|
50
|
+
node84
|
|
51
|
+
} from "./generate-6zfxg6c6.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
} from "./
|
|
53
|
+
Service53,
|
|
54
|
+
node56
|
|
55
|
+
} from "./generate-v52mmt0f.js";
|
|
56
56
|
import {
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
} from "./
|
|
57
|
+
ID10,
|
|
58
|
+
Service71,
|
|
59
|
+
node74
|
|
60
|
+
} from "./generate-ynm9hr00.js";
|
|
61
61
|
import {
|
|
62
|
-
|
|
63
|
-
} from "./
|
|
62
|
+
ID15
|
|
63
|
+
} from "./generate-yx31kd0w.js";
|
|
64
64
|
import {
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
} from "./
|
|
65
|
+
Service32,
|
|
66
|
+
node35
|
|
67
|
+
} from "./generate-xatr71eh.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
} from "./
|
|
69
|
+
Service60,
|
|
70
|
+
node63
|
|
71
|
+
} from "./generate-c1a686j5.js";
|
|
72
72
|
import {
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
} from "./
|
|
73
|
+
Service56,
|
|
74
|
+
node59
|
|
75
|
+
} from "./generate-ecfrjnaf.js";
|
|
76
76
|
import {
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
77
|
+
Service54,
|
|
78
|
+
node57,
|
|
79
|
+
Error3
|
|
80
|
+
} from "./generate-wnv14c0b.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
} from "./
|
|
82
|
+
Source3,
|
|
83
|
+
Service40,
|
|
84
|
+
node42
|
|
85
|
+
} from "./generate-0cmwyhaq.js";
|
|
86
86
|
import {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
} from "./
|
|
87
|
+
Info16,
|
|
88
|
+
Service55,
|
|
89
|
+
node58
|
|
90
|
+
} from "./generate-56m9f56v.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service20,
|
|
93
|
+
node23
|
|
94
|
+
} from "./generate-jzdfcbw4.js";
|
|
95
95
|
import {
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
} from "./
|
|
96
|
+
Service16,
|
|
97
|
+
node19
|
|
98
|
+
} from "./generate-h9q9d3sq.js";
|
|
99
99
|
import {
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
} from "./
|
|
100
|
+
Service63,
|
|
101
|
+
node66
|
|
102
|
+
} from "./generate-dg96ektr.js";
|
|
103
103
|
import {
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
} from "./
|
|
104
|
+
Service47,
|
|
105
|
+
node50
|
|
106
|
+
} from "./generate-rdhjazzg.js";
|
|
107
107
|
import {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
} from "./
|
|
108
|
+
ID16,
|
|
109
|
+
Service79,
|
|
110
|
+
node83
|
|
111
|
+
} from "./generate-x06crd5t.js";
|
|
112
112
|
import {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
} from "./
|
|
113
|
+
Service18,
|
|
114
|
+
node21
|
|
115
|
+
} from "./generate-2jgkbkn1.js";
|
|
116
116
|
import {
|
|
117
117
|
StrategyID2,
|
|
118
118
|
Info4,
|
|
119
119
|
ListEntry2,
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
} from "./
|
|
120
|
+
Service17,
|
|
121
|
+
node20
|
|
122
|
+
} from "./generate-wybahy8v.js";
|
|
123
123
|
import {
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
} from "./
|
|
124
|
+
Service68,
|
|
125
|
+
node71
|
|
126
|
+
} from "./generate-w4pz5j85.js";
|
|
127
127
|
import {
|
|
128
128
|
__export
|
|
129
|
-
} from "./
|
|
129
|
+
} from "./generate-9rqn6x4v.js";
|
|
130
130
|
|
|
131
131
|
// src/plugin/host.ts
|
|
132
132
|
var exports_host = {};
|
|
@@ -144,30 +144,30 @@ var mutable = (value) => value;
|
|
|
144
144
|
var isRpcEvent = (event) => event.type.startsWith("rpc.");
|
|
145
145
|
var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test") {
|
|
146
146
|
const app = yield* Metadata2;
|
|
147
|
-
const agents = yield*
|
|
148
|
-
const aisdk = yield*
|
|
149
|
-
const providers = yield*
|
|
150
|
-
const models = yield*
|
|
151
|
-
const commands = yield*
|
|
147
|
+
const agents = yield* Service59;
|
|
148
|
+
const aisdk = yield* Service70;
|
|
149
|
+
const providers = yield* Service72;
|
|
150
|
+
const models = yield* Service71;
|
|
151
|
+
const commands = yield* Service39;
|
|
152
152
|
const bus = yield* Service85;
|
|
153
|
-
const integration = yield*
|
|
154
|
-
const kv = yield*
|
|
155
|
-
const mcp = yield*
|
|
153
|
+
const integration = yield* Service73;
|
|
154
|
+
const kv = yield* Service80;
|
|
155
|
+
const mcp = yield* Service32;
|
|
156
156
|
const location = yield* Service82;
|
|
157
|
-
const reference = yield*
|
|
158
|
-
const rpc = yield*
|
|
159
|
-
const skill = yield*
|
|
160
|
-
const tools = yield*
|
|
161
|
-
const vcs = yield*
|
|
162
|
-
const websearch = yield*
|
|
163
|
-
const generate = yield*
|
|
164
|
-
const permission = yield*
|
|
165
|
-
const hooks = yield*
|
|
166
|
-
const sessions = yield*
|
|
167
|
-
const persistentPty = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const worktrees = yield*
|
|
170
|
-
const worktreeStrategies = yield*
|
|
157
|
+
const reference = yield* Service40;
|
|
158
|
+
const rpc = yield* Service63;
|
|
159
|
+
const skill = yield* Service55;
|
|
160
|
+
const tools = yield* Service54;
|
|
161
|
+
const vcs = yield* Service47;
|
|
162
|
+
const websearch = yield* Service79;
|
|
163
|
+
const generate = yield* Service68;
|
|
164
|
+
const permission = yield* Service56;
|
|
165
|
+
const hooks = yield* Service60;
|
|
166
|
+
const sessions = yield* Service20;
|
|
167
|
+
const persistentPty = yield* Service16;
|
|
168
|
+
const locations = yield* Service53;
|
|
169
|
+
const worktrees = yield* Service17;
|
|
170
|
+
const worktreeStrategies = yield* Service18;
|
|
171
171
|
const currentWorktreeStrategies = location.workspaceID ? undefined : worktreeStrategies;
|
|
172
172
|
const locationInfo = () => new Info27({
|
|
173
173
|
directory: location.directory,
|
|
@@ -176,7 +176,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
176
176
|
});
|
|
177
177
|
const locationRef = (input) => input?.location === undefined ? undefined : Ref4.make({
|
|
178
178
|
directory: AbsolutePath2.make(input.location.directory ?? location.directory),
|
|
179
|
-
workspaceID: input.location.workspace === undefined ? location.workspaceID :
|
|
179
|
+
workspaceID: input.location.workspace === undefined ? location.workspaceID : ID15.make(input.location.workspace)
|
|
180
180
|
});
|
|
181
181
|
const isCurrentLocation = (ref) => ref.directory === location.directory && ref.workspaceID === location.workspaceID;
|
|
182
182
|
const response = (effect) => effect.pipe(Effect.map((data) => ({ location: locationInfo(), data })));
|
|
@@ -184,7 +184,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
184
184
|
const decodeWorktrees = Schema.decodeUnknownEffect(Schema.Array(ListEntry2));
|
|
185
185
|
const listAgents = Effect.fn("PluginHost.listAgents")((ref) => Effect.gen(function* () {
|
|
186
186
|
const location = yield* Service82;
|
|
187
|
-
const agents = yield*
|
|
187
|
+
const agents = yield* Service59;
|
|
188
188
|
return {
|
|
189
189
|
location: new Info27({
|
|
190
190
|
directory: location.directory,
|
|
@@ -218,10 +218,10 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
218
218
|
transform: (callback) => agents.transform((editor) => {
|
|
219
219
|
callback({
|
|
220
220
|
list: editor.list,
|
|
221
|
-
get: (id) => editor.get(
|
|
222
|
-
default: (id) => editor.default(id === undefined ? undefined :
|
|
223
|
-
update: (id, update) => editor.update(
|
|
224
|
-
remove: (id) => editor.remove(
|
|
221
|
+
get: (id) => editor.get(ID8.make(id)),
|
|
222
|
+
default: (id) => editor.default(id === undefined ? undefined : ID8.make(id)),
|
|
223
|
+
update: (id, update) => editor.update(ID8.make(id), update),
|
|
224
|
+
remove: (id) => editor.remove(ID8.make(id))
|
|
225
225
|
});
|
|
226
226
|
})
|
|
227
227
|
},
|
|
@@ -255,22 +255,22 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
255
255
|
},
|
|
256
256
|
provider: {
|
|
257
257
|
list: () => response(providers.available()),
|
|
258
|
-
get: (input) => providers.get(
|
|
258
|
+
get: (input) => providers.get(ID11.make(input.providerID)).pipe(Effect.flatMap((provider) => provider === undefined ? Effect.fail(new Error(`Provider not found: ${input.providerID}`)) : response(Effect.succeed(provider)))),
|
|
259
259
|
reload: providers.reload,
|
|
260
260
|
transform: (callback) => providers.transform((editor) => {
|
|
261
261
|
callback({
|
|
262
262
|
list: editor.list,
|
|
263
|
-
get: (id) => editor.get(
|
|
263
|
+
get: (id) => editor.get(ID11.make(id)),
|
|
264
264
|
add: (definition) => editor.add({
|
|
265
265
|
...definition,
|
|
266
|
-
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id:
|
|
266
|
+
sourceConnection: definition.sourceConnection?.type === "credential" ? { ...definition.sourceConnection, id: ID13.make(definition.sourceConnection.id) } : definition.sourceConnection
|
|
267
267
|
}),
|
|
268
|
-
update: (id, update) => editor.update(
|
|
269
|
-
remove: (id) => editor.remove(
|
|
268
|
+
update: (id, update) => editor.update(ID11.make(id), update),
|
|
269
|
+
remove: (id) => editor.remove(ID11.make(id)),
|
|
270
270
|
models: {
|
|
271
|
-
set: (id, models) => editor.models.set(
|
|
272
|
-
update: (providerID, modelID, update) => editor.models.update(
|
|
273
|
-
remove: (providerID, modelID) => editor.models.remove(
|
|
271
|
+
set: (id, models) => editor.models.set(ID11.make(id), models),
|
|
272
|
+
update: (providerID, modelID, update) => editor.models.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
273
|
+
remove: (providerID, modelID) => editor.models.remove(ID11.make(providerID), ID10.make(modelID))
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
276
|
})
|
|
@@ -280,17 +280,17 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
280
280
|
default: () => response(models.default()),
|
|
281
281
|
reload: models.reload,
|
|
282
282
|
transform: (callback) => models.transform((editor) => callback({
|
|
283
|
-
list: (providerID) => editor.list(providerID === undefined ? undefined :
|
|
284
|
-
get: (providerID, modelID) => editor.get(
|
|
285
|
-
update: (providerID, modelID, update) => editor.update(
|
|
286
|
-
remove: (providerID, modelID) => editor.remove(
|
|
283
|
+
list: (providerID) => editor.list(providerID === undefined ? undefined : ID11.make(providerID)),
|
|
284
|
+
get: (providerID, modelID) => editor.get(ID11.make(providerID), ID10.make(modelID)),
|
|
285
|
+
update: (providerID, modelID, update) => editor.update(ID11.make(providerID), ID10.make(modelID), update),
|
|
286
|
+
remove: (providerID, modelID) => editor.remove(ID11.make(providerID), ID10.make(modelID)),
|
|
287
287
|
default: {
|
|
288
288
|
get: editor.default.get,
|
|
289
|
-
set: (providerID, modelID) => editor.default.set(
|
|
289
|
+
set: (providerID, modelID) => editor.default.set(ID11.make(providerID), ID10.make(modelID))
|
|
290
290
|
},
|
|
291
291
|
provider: {
|
|
292
292
|
list: editor.provider.list,
|
|
293
|
-
get: (id) => editor.provider.get(
|
|
293
|
+
get: (id) => editor.provider.get(ID11.make(id))
|
|
294
294
|
}
|
|
295
295
|
}))
|
|
296
296
|
},
|
|
@@ -316,20 +316,20 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
316
316
|
integration: {
|
|
317
317
|
list: () => response(integration.list()),
|
|
318
318
|
get: Effect.fn(function* (input) {
|
|
319
|
-
const item = yield* integration.get(
|
|
319
|
+
const item = yield* integration.get(ID12.make(input.integrationID));
|
|
320
320
|
if (!item)
|
|
321
321
|
return yield* Effect.fail(new Error(`Integration not found: ${input.integrationID}`));
|
|
322
322
|
return yield* response(Effect.succeed(item));
|
|
323
323
|
}),
|
|
324
324
|
connect: {
|
|
325
325
|
key: (input) => integration.connection.key({
|
|
326
|
-
integrationID:
|
|
326
|
+
integrationID: ID12.make(input.integrationID),
|
|
327
327
|
key: input.key,
|
|
328
328
|
answer: input.answer,
|
|
329
329
|
label: input.label
|
|
330
330
|
}),
|
|
331
331
|
external: (input) => integration.connection.external({
|
|
332
|
-
integrationID:
|
|
332
|
+
integrationID: ID12.make(input.integrationID),
|
|
333
333
|
methodID: MethodID2.make(input.methodID),
|
|
334
334
|
answer: input.answer,
|
|
335
335
|
label: input.label
|
|
@@ -337,60 +337,60 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
337
337
|
},
|
|
338
338
|
oauth: {
|
|
339
339
|
connect: (input) => response(integration.oauth.connect({
|
|
340
|
-
integrationID:
|
|
340
|
+
integrationID: ID12.make(input.integrationID),
|
|
341
341
|
methodID: MethodID2.make(input.methodID),
|
|
342
342
|
answer: input.answer,
|
|
343
343
|
label: input.label
|
|
344
344
|
})),
|
|
345
345
|
status: (input) => response(integration.oauth.status({
|
|
346
|
-
integrationID:
|
|
346
|
+
integrationID: ID12.make(input.integrationID),
|
|
347
347
|
attemptID: AttemptID2.make(input.attemptID)
|
|
348
348
|
})),
|
|
349
349
|
complete: (input) => integration.oauth.complete({
|
|
350
|
-
integrationID:
|
|
350
|
+
integrationID: ID12.make(input.integrationID),
|
|
351
351
|
attemptID: AttemptID2.make(input.attemptID),
|
|
352
352
|
code: input.code
|
|
353
353
|
}),
|
|
354
354
|
cancel: (input) => integration.oauth.cancel({
|
|
355
|
-
integrationID:
|
|
355
|
+
integrationID: ID12.make(input.integrationID),
|
|
356
356
|
attemptID: AttemptID2.make(input.attemptID)
|
|
357
357
|
})
|
|
358
358
|
},
|
|
359
359
|
command: {
|
|
360
360
|
connect: (input) => response(integration.command.connect({
|
|
361
|
-
integrationID:
|
|
361
|
+
integrationID: ID12.make(input.integrationID),
|
|
362
362
|
methodID: MethodID2.make(input.methodID),
|
|
363
363
|
label: input.label
|
|
364
364
|
})),
|
|
365
365
|
status: (input) => response(integration.command.status({
|
|
366
|
-
integrationID:
|
|
366
|
+
integrationID: ID12.make(input.integrationID),
|
|
367
367
|
attemptID: AttemptID2.make(input.attemptID)
|
|
368
368
|
})),
|
|
369
369
|
cancel: (input) => integration.command.cancel({
|
|
370
|
-
integrationID:
|
|
370
|
+
integrationID: ID12.make(input.integrationID),
|
|
371
371
|
attemptID: AttemptID2.make(input.attemptID)
|
|
372
372
|
})
|
|
373
373
|
},
|
|
374
374
|
reload: integration.reload,
|
|
375
375
|
connection: {
|
|
376
|
-
active: (id) => integration.connection.active(
|
|
377
|
-
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id:
|
|
376
|
+
active: (id) => integration.connection.active(ID12.make(id)),
|
|
377
|
+
resolve: (connection) => integration.connection.resolve(connection.type === "credential" ? { ...connection, id: ID13.make(connection.id) } : connection),
|
|
378
378
|
status: (input) => integration.connection.status({
|
|
379
|
-
integrationID:
|
|
380
|
-
connection: input.connection.type === "credential" ? { ...input.connection, id:
|
|
379
|
+
integrationID: ID12.make(input.integrationID),
|
|
380
|
+
connection: input.connection.type === "credential" ? { ...input.connection, id: ID13.make(input.connection.id) } : input.connection,
|
|
381
381
|
status: input.status
|
|
382
382
|
})
|
|
383
383
|
},
|
|
384
384
|
transform: (callback) => integration.transform((editor) => {
|
|
385
385
|
callback({
|
|
386
386
|
list: editor.list,
|
|
387
|
-
get: (id) => editor.get(
|
|
388
|
-
update: (id, update) => editor.update(
|
|
389
|
-
remove: (id) => editor.remove(
|
|
387
|
+
get: (id) => editor.get(ID12.make(id)),
|
|
388
|
+
update: (id, update) => editor.update(ID12.make(id), update),
|
|
389
|
+
remove: (id) => editor.remove(ID12.make(id)),
|
|
390
390
|
method: {
|
|
391
|
-
list: (id) => editor.method.list(
|
|
391
|
+
list: (id) => editor.method.list(ID12.make(id)),
|
|
392
392
|
update: (input) => editor.method.update(methodImplementation(input)),
|
|
393
|
-
remove: (id, method) => editor.method.remove(
|
|
393
|
+
remove: (id, method) => editor.method.remove(ID12.make(id), Schema.decodeUnknownSync(Method2)(method))
|
|
394
394
|
}
|
|
395
395
|
});
|
|
396
396
|
})
|
|
@@ -401,7 +401,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
401
401
|
if (ref && !isCurrentLocation(ref))
|
|
402
402
|
return Effect.gen(function* () {
|
|
403
403
|
const location = yield* Service82;
|
|
404
|
-
const mcp = yield*
|
|
404
|
+
const mcp = yield* Service32;
|
|
405
405
|
return {
|
|
406
406
|
location: new Info27({
|
|
407
407
|
directory: location.directory,
|
|
@@ -430,9 +430,9 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
430
430
|
get: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? Effect.succeed(request) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
431
431
|
reply: (input) => permission.get(input.requestID).pipe(Effect.flatMap((request) => request?.sessionID === input.sessionID ? permission.reply({ requestID: input.requestID, reply: input.decision, message: input.message }) : Effect.fail(new Error(`Permission request not found: ${input.requestID}`)))),
|
|
432
432
|
assert: (input) => permission.assert(input).pipe(Effect.catchTags({
|
|
433
|
-
"Permission.BlockedError": (error) => Effect.fail(new
|
|
434
|
-
"Permission.CorrectedError": (error) => Effect.fail(new
|
|
435
|
-
"Session.NotFoundError": (error) => Effect.fail(new
|
|
433
|
+
"Permission.BlockedError": (error) => Effect.fail(new Error3({ message: error.message, error })),
|
|
434
|
+
"Permission.CorrectedError": (error) => Effect.fail(new Error3({ message: error.feedback, error })),
|
|
435
|
+
"Session.NotFoundError": (error) => Effect.fail(new Error3({ message: `Session not found: ${error.sessionID}`, error }))
|
|
436
436
|
}))
|
|
437
437
|
},
|
|
438
438
|
plugin: {
|
|
@@ -443,7 +443,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
443
443
|
reload: reference.reload,
|
|
444
444
|
transform: (callback) => reference.transform((editor) => {
|
|
445
445
|
callback({
|
|
446
|
-
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(
|
|
446
|
+
add: (name, source) => editor.add(name, Schema.decodeUnknownSync(Source3)(source)),
|
|
447
447
|
remove: editor.remove,
|
|
448
448
|
list: editor.list,
|
|
449
449
|
get: editor.get
|
|
@@ -457,7 +457,7 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
457
457
|
callback({
|
|
458
458
|
list: () => mutable(editor.list()),
|
|
459
459
|
get: editor.get,
|
|
460
|
-
add: (value) => editor.add(Schema.decodeUnknownSync(
|
|
460
|
+
add: (value) => editor.add(Schema.decodeUnknownSync(Info16)(value)),
|
|
461
461
|
update: editor.update,
|
|
462
462
|
remove: editor.remove
|
|
463
463
|
});
|
|
@@ -488,19 +488,19 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
488
488
|
providers: () => response(websearch.providers()),
|
|
489
489
|
query: (input) => response(websearch.query({
|
|
490
490
|
query: input.query,
|
|
491
|
-
providerID: input.providerID === undefined ? undefined :
|
|
491
|
+
providerID: input.providerID === undefined ? undefined : ID16.make(input.providerID)
|
|
492
492
|
})),
|
|
493
493
|
reload: websearch.reload,
|
|
494
494
|
transform: (callback) => websearch.transform((editor) => {
|
|
495
495
|
callback({
|
|
496
496
|
add: (definition) => editor.add({
|
|
497
|
-
id:
|
|
497
|
+
id: ID16.make(definition.id),
|
|
498
498
|
name: definition.name,
|
|
499
499
|
execute: definition.execute
|
|
500
500
|
}),
|
|
501
501
|
default: {
|
|
502
502
|
get: editor.default.get,
|
|
503
|
-
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection :
|
|
503
|
+
set: (selection) => editor.default.set(selection === false || selection === "random" ? selection : ID16.make(selection))
|
|
504
504
|
}
|
|
505
505
|
});
|
|
506
506
|
})
|
|
@@ -561,31 +561,31 @@ var make11 = Effect.fn("PluginHost.make")(function* (plugin, pluginID = "test")
|
|
|
561
561
|
return context;
|
|
562
562
|
});
|
|
563
563
|
var requirements3 = LayerNode.group([
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
|
-
|
|
568
|
-
|
|
569
|
-
|
|
564
|
+
node45,
|
|
565
|
+
node62,
|
|
566
|
+
node73,
|
|
567
|
+
node75,
|
|
568
|
+
node74,
|
|
569
|
+
node41,
|
|
570
570
|
node89,
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
571
|
+
node76,
|
|
572
|
+
node84,
|
|
573
|
+
node35,
|
|
574
574
|
node86,
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
575
|
+
node42,
|
|
576
|
+
node66,
|
|
577
|
+
node58,
|
|
578
|
+
node57,
|
|
579
|
+
node50,
|
|
580
|
+
node83,
|
|
581
|
+
node20,
|
|
579
582
|
node21,
|
|
580
|
-
|
|
583
|
+
node71,
|
|
584
|
+
node59,
|
|
585
|
+
node63,
|
|
586
|
+
node23,
|
|
581
587
|
node19,
|
|
582
|
-
|
|
583
|
-
node47,
|
|
584
|
-
node66,
|
|
585
|
-
node69,
|
|
586
|
-
node22,
|
|
587
|
-
node45,
|
|
588
|
-
node52
|
|
588
|
+
node56
|
|
589
589
|
]);
|
|
590
590
|
function storage2(kv, pluginID) {
|
|
591
591
|
const namespace = `plugin:${pluginID.split("").map((value) => value.charCodeAt(0).toString(16).padStart(4, "0")).join("")}:`;
|
|
@@ -612,7 +612,7 @@ function methodImplementation(input) {
|
|
|
612
612
|
if ("authorize" in input) {
|
|
613
613
|
const refresh = input.refresh;
|
|
614
614
|
return {
|
|
615
|
-
integrationID:
|
|
615
|
+
integrationID: ID12.make(input.integrationID),
|
|
616
616
|
method: { ...input.method, id: MethodID2.make(input.method.id) },
|
|
617
617
|
authorize: (answer) => input.authorize(answer).pipe(Effect.map((authorization) => {
|
|
618
618
|
if (authorization.mode === "auto") {
|
|
@@ -632,24 +632,24 @@ function methodImplementation(input) {
|
|
|
632
632
|
}
|
|
633
633
|
if (input.method.type === "env") {
|
|
634
634
|
return {
|
|
635
|
-
integrationID:
|
|
635
|
+
integrationID: ID12.make(input.integrationID),
|
|
636
636
|
method: input.method
|
|
637
637
|
};
|
|
638
638
|
}
|
|
639
639
|
if (input.method.type === "command") {
|
|
640
640
|
return {
|
|
641
|
-
integrationID:
|
|
641
|
+
integrationID: ID12.make(input.integrationID),
|
|
642
642
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
643
643
|
};
|
|
644
644
|
}
|
|
645
645
|
if (input.method.type === "external") {
|
|
646
646
|
return {
|
|
647
|
-
integrationID:
|
|
647
|
+
integrationID: ID12.make(input.integrationID),
|
|
648
648
|
method: { ...input.method, id: MethodID2.make(input.method.id) }
|
|
649
649
|
};
|
|
650
650
|
}
|
|
651
651
|
return {
|
|
652
|
-
integrationID:
|
|
652
|
+
integrationID: ID12.make(input.integrationID),
|
|
653
653
|
method: input.method
|
|
654
654
|
};
|
|
655
655
|
}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info23,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info23 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info23, Status3, key2, exports_connection };
|