@opencode/core 0.0.0-dev-20423 → 0.0.0-dev-20427
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{file-access-fyecwx5s.js → schema-00hg8mdp.js} +22 -22
- package/dist/chunks/{file-access-bct739vz.js → schema-00z3vp5f.js} +4 -4
- package/dist/chunks/{file-access-cbckqvqg.js → schema-01jce939.js} +13 -13
- package/dist/chunks/{file-access-s5a4scn6.js → schema-03xyy9gs.js} +8 -8
- package/dist/chunks/{file-access-jmmkndc6.js → schema-076g5gtq.js} +31 -31
- package/dist/chunks/{file-access-djvcp36f.js → schema-0a25p3r5.js} +25 -25
- package/dist/chunks/{file-access-ynx1p25z.js → schema-0dfv3dc6.js} +14 -14
- package/dist/chunks/{file-access-rwk1fma6.js → schema-0e8fjg4b.js} +22 -22
- package/dist/chunks/{file-access-1kxeax12.js → schema-0fk84ear.js} +4 -4
- package/dist/chunks/{file-access-j899q2e9.js → schema-0jcwpj80.js} +26 -26
- package/dist/chunks/{file-access-2jyv8ggx.js → schema-0mc57tk4.js} +19 -19
- package/dist/chunks/{file-access-m6qrnzrr.js → schema-0msk7f2d.js} +12 -12
- package/dist/chunks/{file-access-8kwjs46x.js → schema-0ns8nkzq.js} +16 -16
- package/dist/chunks/{file-access-0paq2nw3.js → schema-0paq2nw3.js} +1 -1
- package/dist/chunks/{file-access-8mb668b9.js → schema-0ppje3yj.js} +13 -13
- package/dist/chunks/{file-access-gvzs7mpe.js → schema-0tfh6cbg.js} +13 -13
- package/dist/chunks/{file-access-0vbcp93d.js → schema-0vbcp93d.js} +2 -2
- package/dist/chunks/{file-access-68yjs0jb.js → schema-164n2a8b.js} +24 -24
- package/dist/chunks/{file-access-r8xr0va3.js → schema-1acjjqhc.js} +4 -4
- package/dist/chunks/{file-access-vs96cb1a.js → schema-1cm1abtm.js} +7 -7
- package/dist/chunks/{file-access-1dazxqgg.js → schema-1dazxqgg.js} +2 -2
- package/dist/chunks/{file-access-h7f3g3sa.js → schema-1dfjj4a2.js} +24 -24
- package/dist/chunks/{file-access-1dvck2a7.js → schema-1dvck2a7.js} +2 -2
- package/dist/chunks/{file-access-40x2t3h9.js → schema-1f62gqxs.js} +29 -29
- package/dist/chunks/{file-access-6cgtmdw1.js → schema-1mr0tf63.js} +11 -11
- package/dist/chunks/{file-access-21r38tys.js → schema-21r38tys.js} +1 -1
- package/dist/chunks/{file-access-2a5m3afh.js → schema-2a5m3afh.js} +1 -1
- package/dist/chunks/{file-access-1garg717.js → schema-2dhyt72p.js} +8 -8
- package/dist/chunks/{file-access-k70p9jzb.js → schema-2j5hbwxg.js} +9 -9
- package/dist/chunks/{file-access-tfzffy3q.js → schema-2ndfqft8.js} +18 -18
- package/dist/chunks/{file-access-zd30eb5w.js → schema-2p623br6.js} +5 -5
- package/dist/chunks/{file-access-xxt1k2vd.js → schema-2v8phk0m.js} +25 -25
- package/dist/chunks/{file-access-hxr59w64.js → schema-2vkncht2.js} +20 -20
- package/dist/chunks/{file-access-8jx1rcbm.js → schema-2yjg5v3n.js} +36 -36
- package/dist/chunks/{file-access-2bh420nq.js → schema-33s4cs7k.js} +22 -22
- package/dist/chunks/{file-access-b5nepgw1.js → schema-3av0r9g0.js} +42 -42
- package/dist/chunks/{file-access-3fc6dm20.js → schema-3fc6dm20.js} +1 -1
- package/dist/chunks/{file-access-k1byq2gr.js → schema-3g00cn95.js} +43 -43
- package/dist/chunks/{file-access-3hepkmqq.js → schema-3hepkmqq.js} +1 -1
- package/dist/chunks/{file-access-054bnrcz.js → schema-3jtvz2c8.js} +18 -18
- package/dist/chunks/{file-access-qcxzt1z7.js → schema-3p0qyp3j.js} +17 -17
- package/dist/chunks/{file-access-93ygb5af.js → schema-3ppptnan.js} +6 -6
- package/dist/chunks/{file-access-3smtnn6g.js → schema-3smtnn6g.js} +1 -1
- package/dist/chunks/{file-access-3tvqynh2.js → schema-3tvqynh2.js} +1 -1
- package/dist/chunks/{file-access-3v5tjer0.js → schema-3v5tjer0.js} +2 -2
- package/dist/chunks/{file-access-15nepkqg.js → schema-3ymztgxb.js} +8 -8
- package/dist/chunks/{file-access-81mx0dd4.js → schema-3yvx2c16.js} +7 -7
- package/dist/chunks/{file-access-3zsf4n22.js → schema-3zsf4n22.js} +1 -1
- package/dist/chunks/{file-access-skhcq9z8.js → schema-44w1d694.js} +1 -1
- package/dist/chunks/{file-access-8ank75fn.js → schema-4a0nv7mx.js} +8 -8
- package/dist/chunks/{file-access-4ts7tf6z.js → schema-4ts7tf6z.js} +2 -2
- package/dist/chunks/{file-access-ymkdd6f8.js → schema-50qbwwxg.js} +14 -14
- package/dist/chunks/{file-access-s06my820.js → schema-51eyhnsv.js} +26 -26
- package/dist/chunks/{file-access-54ma36ye.js → schema-54ma36ye.js} +1 -1
- package/dist/chunks/{file-access-ennsf284.js → schema-5agx6kaf.js} +15 -15
- package/dist/chunks/{file-access-xs2bmay3.js → schema-5atn9wfq.js} +20 -20
- package/dist/chunks/{file-access-5daktx2q.js → schema-5daktx2q.js} +1 -1
- package/dist/chunks/{file-access-m8frsg49.js → schema-5gn7zxfa.js} +19 -19
- package/dist/chunks/{file-access-3rymjx9g.js → schema-5jpgchb0.js} +21 -21
- package/dist/chunks/{file-access-447efrsq.js → schema-5k2jxtxf.js} +10 -10
- package/dist/chunks/{file-access-fdtxgpnc.js → schema-5nxa4r0r.js} +10 -10
- package/dist/chunks/{file-access-dg8dy2wg.js → schema-5pmpx3tn.js} +36 -36
- package/dist/chunks/{file-access-5t3nmthw.js → schema-5t3nmthw.js} +2 -2
- package/dist/chunks/{file-access-m7b5ps2s.js → schema-5w9cwpmd.js} +11 -11
- package/dist/chunks/{file-access-phxk36rp.js → schema-5wk64npe.js} +23 -23
- package/dist/chunks/{file-access-tj22pfav.js → schema-613r56za.js} +41 -41
- package/dist/chunks/{file-access-669tq793.js → schema-669tq793.js} +1 -1
- package/dist/chunks/{file-access-p3vbarsn.js → schema-66x1gf3g.js} +26 -26
- package/dist/chunks/{file-access-qjz9g255.js → schema-6ew4nd0q.js} +42 -42
- package/dist/chunks/{file-access-70kv65rg.js → schema-6k5d2hav.js} +95 -95
- package/dist/chunks/{file-access-eex14ffc.js → schema-6mf5w0g3.js} +33 -33
- package/dist/chunks/{file-access-v91tw74e.js → schema-6nmnvwva.js} +11 -11
- package/dist/chunks/{file-access-svgvjres.js → schema-6vgan4aw.js} +19 -19
- package/dist/chunks/{file-access-g6yfr6ja.js → schema-6yz0wx8n.js} +5 -5
- package/dist/chunks/{file-access-71az546q.js → schema-71az546q.js} +2 -2
- package/dist/chunks/{file-access-g7ewk93y.js → schema-74sfygzs.js} +38 -38
- package/dist/chunks/{file-access-8q7xev84.js → schema-75re34rt.js} +10 -10
- package/dist/chunks/schema-790j68qn.js +507 -0
- package/dist/chunks/{file-access-7bmhse3q.js → schema-7bmhse3q.js} +1 -1
- package/dist/chunks/{file-access-qgn6gcr1.js → schema-7dqw4kz8.js} +5 -5
- package/dist/chunks/{file-access-a9vcwp68.js → schema-7ekw9ay4.js} +40 -40
- package/dist/chunks/{file-access-29kk78yn.js → schema-7hp7v40b.js} +5 -5
- package/dist/chunks/{file-access-tkmwgdpd.js → schema-7sbkp4xb.js} +7 -7
- package/dist/chunks/{file-access-33fsjrfc.js → schema-7sf05c4f.js} +24 -24
- package/dist/chunks/{file-access-xkqsw4zh.js → schema-7szz14f0.js} +8 -8
- package/dist/chunks/{file-access-wr5v5dbh.js → schema-7xjhysdy.js} +9 -9
- package/dist/chunks/{file-access-84txncab.js → schema-84txncab.js} +1 -1
- package/dist/chunks/{file-access-y6mjvh6p.js → schema-884bfwk0.js} +6 -6
- package/dist/chunks/{file-access-8d7r5vzw.js → schema-8d7r5vzw.js} +1 -1
- package/dist/chunks/{file-access-59s176qy.js → schema-8gbsj511.js} +3 -3
- package/dist/chunks/{file-access-ffmntvx6.js → schema-8nst9j1y.js} +16 -16
- package/dist/chunks/{file-access-89rb888m.js → schema-8wha04vy.js} +16 -16
- package/dist/chunks/{file-access-ezk3vef6.js → schema-8wjfwe4f.js} +9 -9
- package/dist/chunks/{file-access-z6t04ysw.js → schema-908m4j2d.js} +4 -4
- package/dist/chunks/{file-access-1dth1b1r.js → schema-91q34nvd.js} +17 -17
- package/dist/chunks/{file-access-rmk2c50f.js → schema-9b00c1fb.js} +5 -5
- package/dist/chunks/{file-access-6d6skgds.js → schema-9bqmr884.js} +19 -19
- package/dist/chunks/{file-access-y2j62e7h.js → schema-9cqw126c.js} +13 -13
- package/dist/chunks/{file-access-9e5bzkjp.js → schema-9e5bzkjp.js} +3 -3
- package/dist/chunks/{file-access-y1r30anr.js → schema-a1hhf2r6.js} +23 -23
- package/dist/chunks/{file-access-px76j0pk.js → schema-a7bcxdzj.js} +9 -9
- package/dist/chunks/{file-access-jewzahs7.js → schema-a89e0tac.js} +4 -4
- package/dist/chunks/{file-access-29tbwe98.js → schema-a8kgewhr.js} +24 -24
- package/dist/chunks/{file-access-vhw7yaa4.js → schema-a8m135tr.js} +5 -5
- package/dist/chunks/{file-access-aaet6srn.js → schema-aaet6srn.js} +2 -2
- package/dist/chunks/{file-access-0ft9cg2j.js → schema-ab9238g2.js} +6 -6
- package/dist/chunks/{file-access-r5mpbhf6.js → schema-acmb6w5b.js} +11 -11
- package/dist/chunks/{file-access-k93tk05c.js → schema-acv9cqfs.js} +20 -20
- package/dist/chunks/{file-access-5xzgptxk.js → schema-arhaqhb4.js} +4 -4
- package/dist/chunks/{file-access-dwvzh0g2.js → schema-b0awdqvx.js} +9 -9
- package/dist/chunks/{file-access-0maqqwr3.js → schema-b2jc6q54.js} +11 -11
- package/dist/chunks/{file-access-wecqtg5s.js → schema-b3f8fkhc.js} +5 -5
- package/dist/chunks/{file-access-32wjb5vy.js → schema-b49zbxty.js} +32 -32
- package/dist/chunks/{file-access-b6gygkdw.js → schema-b6gygkdw.js} +2 -2
- package/dist/chunks/schema-bng5gf7f.js +252 -0
- package/dist/chunks/{file-access-8jngx5jr.js → schema-btnx3k07.js} +35 -35
- package/dist/chunks/{file-access-ynzcn0sg.js → schema-btt5ky6n.js} +40 -40
- package/dist/chunks/schema-bvmv4qm1.js +26 -0
- package/dist/chunks/{file-access-9bnev7a1.js → schema-bzd62h0k.js} +23 -23
- package/dist/chunks/{file-access-wasxgqrf.js → schema-c358x8ws.js} +15 -15
- package/dist/chunks/{file-access-q9gdr54j.js → schema-c3r8r2c7.js} +9 -9
- package/dist/chunks/{file-access-qmjvrsyr.js → schema-cd1hpav8.js} +11 -11
- package/dist/chunks/{file-access-5f009fwt.js → schema-ce128ryg.js} +56 -56
- package/dist/chunks/{file-access-4xp53jne.js → schema-cgw81b0z.js} +21 -21
- package/dist/chunks/{file-access-10a0p2jb.js → schema-chrxq3ex.js} +9 -9
- package/dist/chunks/{file-access-4432mf64.js → schema-cshgsf68.js} +25 -25
- package/dist/chunks/{file-access-b6eekeg6.js → schema-cxrcevmg.js} +3 -3
- package/dist/chunks/{file-access-p42hj8p8.js → schema-czfptnv9.js} +8 -8
- package/dist/chunks/{file-access-3emr59yt.js → schema-d2094b0z.js} +8 -8
- package/dist/chunks/{file-access-tksfqv8e.js → schema-d87tmwdg.js} +33 -33
- package/dist/chunks/{file-access-et0rkxxj.js → schema-dhtadd1m.js} +8 -8
- package/dist/chunks/{file-access-8d4fr1yn.js → schema-dk3fapr1.js} +11 -11
- package/dist/chunks/{file-access-xkntkrq7.js → schema-dmqcgk4z.js} +5 -5
- package/dist/chunks/{file-access-addxnjmp.js → schema-dnxkq42g.js} +4 -4
- package/dist/chunks/{file-access-dpkg50ah.js → schema-dpkg50ah.js} +1 -1
- package/dist/chunks/{file-access-w66xp1pe.js → schema-drf7jsh9.js} +9 -9
- package/dist/chunks/{file-access-nkbqs3g6.js → schema-dyvwp316.js} +8 -8
- package/dist/chunks/{file-access-d8mzv3s6.js → schema-e31x7ahd.js} +15 -15
- package/dist/chunks/{file-access-b3180kyy.js → schema-ebpmbt03.js} +35 -35
- package/dist/chunks/{file-access-cggxzdeq.js → schema-ed1pdgvd.js} +93 -93
- package/dist/chunks/{file-access-ef5x83kb.js → schema-ef5x83kb.js} +1 -1
- package/dist/chunks/{file-access-ym15945z.js → schema-en1ae6kt.js} +30 -30
- package/dist/chunks/{file-access-etq0c3wd.js → schema-etq0c3wd.js} +1 -1
- package/dist/chunks/{file-access-e2mpdzhr.js → schema-evgg74h5.js} +6 -6
- package/dist/chunks/{file-access-07esrmkr.js → schema-f28an6tq.js} +15 -15
- package/dist/chunks/{file-access-pd7gvt3w.js → schema-f29mbr7f.js} +4 -4
- package/dist/chunks/{file-access-dkfn8ta6.js → schema-f2jhgqeb.js} +22 -22
- package/dist/chunks/{file-access-47cwrk07.js → schema-f9jvv9fd.js} +27 -27
- package/dist/chunks/{file-access-6sf57f13.js → schema-fa2nx576.js} +12 -12
- package/dist/chunks/{file-access-587pgjr5.js → schema-fcmr8hvx.js} +25 -25
- package/dist/chunks/{file-access-ae464gx1.js → schema-ffb4je5h.js} +11 -11
- package/dist/chunks/{file-access-6z5zeb5k.js → schema-fk0bqkbn.js} +18 -18
- package/dist/chunks/{file-access-apk1tfew.js → schema-g2axpq5m.js} +57 -31
- package/dist/chunks/{file-access-543tcfte.js → schema-ga0xt9e2.js} +2 -2
- package/dist/chunks/{file-access-gd4qta3r.js → schema-gd4qta3r.js} +1 -1
- package/dist/chunks/{file-access-8p7e9d70.js → schema-gqx7042s.js} +20 -20
- package/dist/chunks/{file-access-afdssyjb.js → schema-gst7axd9.js} +4 -4
- package/dist/chunks/{file-access-j5xd1zzt.js → schema-gtz8s5m7.js} +44 -44
- package/dist/chunks/schema-gyce5qg1.js +18 -0
- package/dist/chunks/{file-access-yraf8j13.js → schema-h23hyb4a.js} +23 -23
- package/dist/chunks/{file-access-h2b79v29.js → schema-h2b79v29.js} +2 -2
- package/dist/chunks/{file-access-tjseg5r3.js → schema-h4c8g149.js} +13 -13
- package/dist/chunks/{file-access-h6vf3j39.js → schema-h6vf3j39.js} +1 -1
- package/dist/chunks/{file-access-3c019r4e.js → schema-h7w9m21h.js} +6 -6
- package/dist/chunks/{file-access-dkn8r4r6.js → schema-hc7nmvs9.js} +8 -8
- package/dist/chunks/{file-access-78jsw4m4.js → schema-hpxy8090.js} +31 -31
- package/dist/chunks/{file-access-a1gpj94z.js → schema-j028xdjb.js} +3 -3
- package/dist/chunks/{file-access-y4z5w0q3.js → schema-j0drmkjr.js} +25 -25
- package/dist/chunks/{file-access-jeg27h1n.js → schema-j1z04ftp.js} +10 -10
- package/dist/chunks/{file-access-9pas2tb1.js → schema-j34d9wvd.js} +13 -13
- package/dist/chunks/{file-access-j56e64zr.js → schema-j56e64zr.js} +1 -1
- package/dist/chunks/{file-access-b4mn66r8.js → schema-jeacqz11.js} +24 -24
- package/dist/chunks/{file-access-22d7tj50.js → schema-jhymbn69.js} +9 -9
- package/dist/chunks/{file-access-9vmwh205.js → schema-jm3yycek.js} +3 -3
- package/dist/chunks/{file-access-0x34zjfk.js → schema-k2maas8p.js} +11 -11
- package/dist/chunks/{file-access-k3c624dm.js → schema-k3c624dm.js} +3 -3
- package/dist/chunks/{file-access-ndmv45hp.js → schema-k6yq57aq.js} +3 -3
- package/dist/chunks/{file-access-5yv40649.js → schema-knrf1btg.js} +10 -10
- package/dist/chunks/{file-access-jzzgdak2.js → schema-kpfrge9a.js} +5 -5
- package/dist/chunks/{file-access-j4rw0q04.js → schema-kx3tazm0.js} +22 -22
- package/dist/chunks/{file-access-1cjqvqy6.js → schema-m0jvvp9j.js} +28 -28
- package/dist/chunks/{file-access-m3fdjcah.js → schema-m3fdjcah.js} +1 -1
- package/dist/chunks/{file-access-m58kmhef.js → schema-m58kmhef.js} +2 -2
- package/dist/chunks/{file-access-m9w0rfyh.js → schema-m9w0rfyh.js} +1 -1
- package/dist/chunks/{file-access-sxsbdwhb.js → schema-m9xh49tw.js} +9 -9
- package/dist/chunks/{file-access-mazbtkaa.js → schema-mazbtkaa.js} +2 -2
- package/dist/chunks/{file-access-yk435ynq.js → schema-mdqp54e4.js} +16 -16
- package/dist/chunks/{file-access-56gdpj1q.js → schema-mfqp6xfm.js} +6 -6
- package/dist/chunks/{file-access-jw80jp6b.js → schema-mjymc32g.js} +4 -4
- package/dist/chunks/{file-access-n57qrn3a.js → schema-mqzwkyay.js} +6 -6
- package/dist/chunks/{file-access-4xsrjhze.js → schema-mszav1c8.js} +5 -5
- package/dist/chunks/{file-access-fa4m3wax.js → schema-myhy7sh9.js} +2 -2
- package/dist/chunks/{file-access-6ygnexhm.js → schema-n6bzx4yk.js} +5 -5
- package/dist/chunks/{file-access-tzwh8jpw.js → schema-n9ape9rz.js} +9 -9
- package/dist/chunks/{file-access-y3mhqy61.js → schema-nam3yqey.js} +5 -5
- package/dist/chunks/{file-access-gm258srw.js → schema-ncnxs0cm.js} +17 -17
- package/dist/chunks/{file-access-ys1n1pef.js → schema-njy42cgf.js} +11 -11
- package/dist/chunks/{file-access-6dy6aana.js → schema-nscs897a.js} +35 -35
- package/dist/chunks/{file-access-8q91hsbg.js → schema-nxentx58.js} +13 -13
- package/dist/chunks/{file-access-jafprmqk.js → schema-p1s1983h.js} +29 -29
- package/dist/chunks/{file-access-1m0tad6c.js → schema-p2s1jj4p.js} +11 -11
- package/dist/chunks/{file-access-a6h4nhc6.js → schema-p9xxkds4.js} +3 -3
- package/dist/chunks/{file-access-whtwaam7.js → schema-pcmm8ydh.js} +23 -23
- package/dist/chunks/{file-access-rk7s9xkn.js → schema-pgp1nwjn.js} +4 -4
- package/dist/chunks/{file-access-pjvnvgmy.js → schema-pjvnvgmy.js} +1 -1
- package/dist/chunks/{file-access-46sp6zbs.js → schema-pk5j9peg.js} +28 -28
- package/dist/chunks/{file-access-pknna89w.js → schema-pknna89w.js} +1 -1
- package/dist/chunks/{file-access-aej0er4j.js → schema-pnafm5rd.js} +17 -17
- package/dist/chunks/{file-access-b4twkq7r.js → schema-py3kkmfq.js} +6 -6
- package/dist/chunks/{file-access-n66sb98d.js → schema-pyy44cbc.js} +175 -175
- package/dist/chunks/{file-access-q0xm7vwc.js → schema-q0xm7vwc.js} +2 -2
- package/dist/chunks/{file-access-af6t3a03.js → schema-q2hf1xmk.js} +8 -8
- package/dist/chunks/{file-access-ehtcgea1.js → schema-q2q20c0d.js} +17 -17
- package/dist/chunks/{file-access-6dgwpzzh.js → schema-qfhvag9a.js} +32 -32
- package/dist/chunks/{file-access-07x4qw17.js → schema-qhgb43ta.js} +48 -48
- package/dist/chunks/{file-access-16v1444e.js → schema-qmf8xmg7.js} +7 -7
- package/dist/chunks/{file-access-qnc92qwc.js → schema-qnc92qwc.js} +1 -1
- package/dist/chunks/{file-access-qsdy395h.js → schema-qsdy395h.js} +1 -1
- package/dist/chunks/{file-access-tzgjc6jt.js → schema-qwhmp407.js} +35 -35
- package/dist/chunks/{file-access-rkhbev71.js → schema-qzrkvpeb.js} +11 -11
- package/dist/chunks/{file-access-zc5g640q.js → schema-r44petzp.js} +12 -12
- package/dist/chunks/{file-access-sn8z9k01.js → schema-r4h4t1nf.js} +16 -16
- package/dist/chunks/{file-access-p5wv9msv.js → schema-r832v3f0.js} +9 -9
- package/dist/chunks/{file-access-rdw6cm16.js → schema-rdw6cm16.js} +1 -1
- package/dist/chunks/{file-access-c765mh8b.js → schema-rey5gbxv.js} +9 -9
- package/dist/chunks/{file-access-ytav440t.js → schema-rhty04x1.js} +17 -17
- package/dist/chunks/{file-access-5tat9ppm.js → schema-rk1r2hx8.js} +1 -1
- package/dist/chunks/{file-access-4hrvpbem.js → schema-rtwmwkb1.js} +4 -4
- package/dist/chunks/{file-access-2htbg7xg.js → schema-rvw4nqpr.js} +37 -37
- package/dist/chunks/{file-access-43ka91pa.js → schema-ry36hy20.js} +11 -11
- package/dist/chunks/{file-access-h8t7xzdm.js → schema-s077a73h.js} +27 -27
- package/dist/chunks/{file-access-s8d7rejh.js → schema-s8d7rejh.js} +1 -1
- package/dist/chunks/{file-access-n7cst2s3.js → schema-sdexfqp0.js} +76 -76
- package/dist/chunks/{file-access-3jf042qv.js → schema-sk3dx986.js} +45 -45
- package/dist/chunks/{file-access-yertzaey.js → schema-smwxesx6.js} +11 -11
- package/dist/chunks/{file-access-bt85z86c.js → schema-sseg7a2b.js} +29 -29
- package/dist/chunks/{file-access-tazgh4e4.js → schema-tazgh4e4.js} +1 -1
- package/dist/chunks/{file-access-tcezcvh9.js → schema-tcezcvh9.js} +1 -1
- package/dist/chunks/{file-access-tdstcens.js → schema-tdstcens.js} +1 -1
- package/dist/chunks/{file-access-h2qz4qj9.js → schema-tfbfrq56.js} +13 -13
- package/dist/chunks/{file-access-9y6p8gkk.js → schema-tm55b6qc.js} +5 -5
- package/dist/chunks/{file-access-tvtrv512.js → schema-tvtrv512.js} +1 -1
- package/dist/chunks/{file-access-x0v4zbf6.js → schema-tyfhy1xa.js} +5 -5
- package/dist/chunks/{file-access-0k4n424v.js → schema-v65w0t96.js} +58 -58
- package/dist/chunks/{file-access-dbfpw9fe.js → schema-v978r2zh.js} +3 -3
- package/dist/chunks/{file-access-xh77m8eb.js → schema-vap9bzaw.js} +4 -4
- package/dist/chunks/{file-access-veqvce7d.js → schema-veqvce7d.js} +1 -1
- package/dist/chunks/{file-access-v211f8gj.js → schema-ver7ymjs.js} +23 -23
- package/dist/chunks/{file-access-c1sht665.js → schema-vt1v0sxt.js} +49 -49
- package/dist/chunks/{file-access-vzcthcp8.js → schema-vzcthcp8.js} +1 -1
- package/dist/chunks/{file-access-vzs5sf6e.js → schema-vzs5sf6e.js} +1 -1
- package/dist/chunks/{file-access-dxa0ydqz.js → schema-w2pt7pe3.js} +29 -29
- package/dist/chunks/{file-access-w3wsvvr9.js → schema-w3wsvvr9.js} +1 -1
- package/dist/chunks/{file-access-7zydptxx.js → schema-w55xx4k1.js} +6 -6
- package/dist/chunks/{file-access-mycw3te0.js → schema-wcantn69.js} +22 -22
- package/dist/chunks/{file-access-wd87259q.js → schema-wd87259q.js} +1 -1
- package/dist/chunks/{file-access-f0mwhmn1.js → schema-wp2jv443.js} +8 -8
- package/dist/chunks/{file-access-nks5f63d.js → schema-wpk418tb.js} +51 -51
- package/dist/chunks/{file-access-x1ezjp6w.js → schema-x1ezjp6w.js} +1 -1
- package/dist/chunks/{file-access-r651jaea.js → schema-x254e9t3.js} +46 -46
- package/dist/chunks/{file-access-m92djcax.js → schema-x6rmv6e6.js} +25 -25
- package/dist/chunks/{file-access-91z5rg67.js → schema-xakdp5s2.js} +8 -8
- package/dist/chunks/{file-access-g5w8qwbj.js → schema-xfkkasph.js} +4 -4
- package/dist/chunks/{file-access-w876dfzh.js → schema-xkf0j60n.js} +38 -38
- package/dist/chunks/{file-access-eph4bszk.js → schema-xkw3h4yy.js} +2 -2
- package/dist/chunks/{file-access-bbxmjh93.js → schema-xmqeavvf.js} +3 -3
- package/dist/chunks/{file-access-mhsta9mw.js → schema-xmx5bapj.js} +5 -5
- package/dist/chunks/{file-access-fqcgpcra.js → schema-xrpg47n6.js} +9 -9
- package/dist/chunks/{file-access-hnr8f6ws.js → schema-xxndcd6m.js} +4 -4
- package/dist/chunks/{file-access-zmj7yvkd.js → schema-y0aje2pb.js} +12 -12
- package/dist/chunks/{file-access-69qt02rp.js → schema-y0kv9337.js} +1 -1
- package/dist/chunks/{file-access-y1fvbwt7.js → schema-y1fvbwt7.js} +1 -1
- package/dist/chunks/{file-access-6jv65q7g.js → schema-y23bhd53.js} +14 -14
- package/dist/chunks/{file-access-288g8677.js → schema-y853g6y0.js} +4 -4
- package/dist/chunks/{file-access-43qgvbm9.js → schema-ygrbgkqb.js} +22 -22
- package/dist/chunks/{file-access-vhd5ymgm.js → schema-yh7gpy6m.js} +18 -18
- package/dist/chunks/{file-access-yrhqyw5v.js → schema-yrhqyw5v.js} +1 -1
- package/dist/chunks/{file-access-0e0js3rh.js → schema-ytswgsqe.js} +30 -30
- package/dist/chunks/{file-access-d9245fkk.js → schema-yze7y2ew.js} +23 -23
- package/dist/chunks/{file-access-z0bkrqjs.js → schema-z0bkrqjs.js} +1 -1
- package/dist/chunks/{file-access-47jkzegy.js → schema-z6c3x22d.js} +5 -5
- package/dist/chunks/{file-access-xp36mjrh.js → schema-z892f7j6.js} +34 -34
- package/dist/chunks/{file-access-d171acjh.js → schema-z8k62dd3.js} +7 -7
- package/dist/chunks/{file-access-zfs8ae4p.js → schema-zfs8ae4p.js} +4 -4
- package/dist/chunks/{file-access-zr2ceqn5.js → schema-zr2ceqn5.js} +1 -1
- package/dist/chunks/{file-access-zxq2ej10.js → schema-zxq2ej10.js} +1 -1
- 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 +81 -81
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +79 -79
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +110 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +124 -124
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +120 -120
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +354 -354
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +222 -222
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +224 -224
- package/dist/session/usage.js +1 -1
- package/dist/session.js +221 -221
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +218 -218
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/filesystem.d.ts +15 -1
- package/dist/types/instance.d.ts +1 -1
- package/dist/types/plugin/internal.d.ts +1 -1
- package/dist/types/plugin/supervisor.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/file-access-619r8v3y.js +0 -18
- package/dist/chunks/file-access-ccba3199.js +0 -26
- package/dist/chunks/file-access-q8av8z97.js +0 -252
- package/dist/chunks/file-access-tjwy6fh9.js +0 -507
- package/dist/types/util/identifier.d.ts +0 -1
- package/dist/util/identifier.js +0 -5
- /package/dist/chunks/{file-access-0qkdqm5v.js → schema-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{file-access-0zkw76rk.js → schema-0zkw76rk.js} +0 -0
- /package/dist/chunks/{file-access-17cy0kzp.js → schema-17cy0kzp.js} +0 -0
- /package/dist/chunks/{file-access-1cnp2v09.js → schema-1cnp2v09.js} +0 -0
- /package/dist/chunks/{file-access-1kg9ymc8.js → schema-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{file-access-24dcb14g.js → schema-24dcb14g.js} +0 -0
- /package/dist/chunks/{file-access-2710q6r3.js → schema-2710q6r3.js} +0 -0
- /package/dist/chunks/{file-access-2axfhc9x.js → schema-2axfhc9x.js} +0 -0
- /package/dist/chunks/{file-access-2c3vjs8z.js → schema-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{file-access-34c7v6d4.js → schema-34c7v6d4.js} +0 -0
- /package/dist/chunks/{file-access-359p4xyc.js → schema-359p4xyc.js} +0 -0
- /package/dist/chunks/{file-access-3asan66x.js → schema-3asan66x.js} +0 -0
- /package/dist/chunks/{file-access-3v8g72cx.js → schema-3v8g72cx.js} +0 -0
- /package/dist/chunks/{file-access-3w5fmr99.js → schema-3w5fmr99.js} +0 -0
- /package/dist/chunks/{file-access-3wcehsnq.js → schema-3wcehsnq.js} +0 -0
- /package/dist/chunks/{file-access-43n2bw4t.js → schema-43n2bw4t.js} +0 -0
- /package/dist/chunks/{file-access-4knz6hnm.js → schema-4knz6hnm.js} +0 -0
- /package/dist/chunks/{file-access-4vcrnpx2.js → schema-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{file-access-4y7fprxs.js → schema-4y7fprxs.js} +0 -0
- /package/dist/chunks/{file-access-53557ph1.js → schema-53557ph1.js} +0 -0
- /package/dist/chunks/{file-access-550bvhaj.js → schema-550bvhaj.js} +0 -0
- /package/dist/chunks/{file-access-5qd3pb7m.js → schema-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{file-access-6prwharc.js → schema-6prwharc.js} +0 -0
- /package/dist/chunks/{file-access-7akdwqpd.js → schema-7akdwqpd.js} +0 -0
- /package/dist/chunks/{file-access-7m9af43g.js → schema-7m9af43g.js} +0 -0
- /package/dist/chunks/{file-access-822emrt2.js → schema-822emrt2.js} +0 -0
- /package/dist/chunks/{file-access-88xbtdfr.js → schema-88xbtdfr.js} +0 -0
- /package/dist/chunks/{file-access-8n3pysct.js → schema-8n3pysct.js} +0 -0
- /package/dist/chunks/{file-access-8wj87zfr.js → schema-8wj87zfr.js} +0 -0
- /package/dist/chunks/{file-access-9a4afbnw.js → schema-9a4afbnw.js} +0 -0
- /package/dist/chunks/{file-access-9rqn6x4v.js → schema-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{file-access-a6k6eb26.js → schema-a6k6eb26.js} +0 -0
- /package/dist/chunks/{file-access-af5trqkr.js → schema-af5trqkr.js} +0 -0
- /package/dist/chunks/{file-access-afrmfg78.js → schema-afrmfg78.js} +0 -0
- /package/dist/chunks/{file-access-aqzs7mqg.js → schema-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{file-access-atq7p7m5.js → schema-atq7p7m5.js} +0 -0
- /package/dist/chunks/{file-access-bkyjaxrp.js → schema-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{file-access-bmr6ed5q.js → schema-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{file-access-cf4snx6d.js → schema-cf4snx6d.js} +0 -0
- /package/dist/chunks/{file-access-cvy3z8tj.js → schema-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{file-access-d9fn303g.js → schema-d9fn303g.js} +0 -0
- /package/dist/chunks/{file-access-d9jj8t3e.js → schema-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{file-access-dajrwvna.js → schema-dajrwvna.js} +0 -0
- /package/dist/chunks/{file-access-dap0rakb.js → schema-dap0rakb.js} +0 -0
- /package/dist/chunks/{file-access-df08tz66.js → schema-df08tz66.js} +0 -0
- /package/dist/chunks/{file-access-dy18nga0.js → schema-dy18nga0.js} +0 -0
- /package/dist/chunks/{file-access-e5kj55wp.js → schema-e5kj55wp.js} +0 -0
- /package/dist/chunks/{file-access-e73j6tqm.js → schema-e73j6tqm.js} +0 -0
- /package/dist/chunks/{file-access-ec1grn59.js → schema-ec1grn59.js} +0 -0
- /package/dist/chunks/{file-access-eh3zwz77.js → schema-eh3zwz77.js} +0 -0
- /package/dist/chunks/{file-access-emrn6kk6.js → schema-emrn6kk6.js} +0 -0
- /package/dist/chunks/{file-access-f0mxakyp.js → schema-f0mxakyp.js} +0 -0
- /package/dist/chunks/{file-access-f6n9ztr4.js → schema-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{file-access-faypxj3z.js → schema-faypxj3z.js} +0 -0
- /package/dist/chunks/{file-access-fd410y7t.js → schema-fd410y7t.js} +0 -0
- /package/dist/chunks/{file-access-fxgpk5d8.js → schema-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{file-access-g4wezp1m.js → schema-g4wezp1m.js} +0 -0
- /package/dist/chunks/{file-access-g86h250q.js → schema-g86h250q.js} +0 -0
- /package/dist/chunks/{file-access-gebd4c9n.js → schema-gebd4c9n.js} +0 -0
- /package/dist/chunks/{file-access-gftt206x.js → schema-gftt206x.js} +0 -0
- /package/dist/chunks/{file-access-hjbc5kem.js → schema-hjbc5kem.js} +0 -0
- /package/dist/chunks/{file-access-hk9envan.js → schema-hk9envan.js} +0 -0
- /package/dist/chunks/{file-access-j2ntwpah.js → schema-j2ntwpah.js} +0 -0
- /package/dist/chunks/{file-access-j5zkgpj8.js → schema-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{file-access-jjkms2e6.js → schema-jjkms2e6.js} +0 -0
- /package/dist/chunks/{file-access-jr7sbwjy.js → schema-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{file-access-jwfs4k6c.js → schema-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{file-access-jzg6c2d5.js → schema-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{file-access-mp448xyj.js → schema-mp448xyj.js} +0 -0
- /package/dist/chunks/{file-access-msx8hqn2.js → schema-msx8hqn2.js} +0 -0
- /package/dist/chunks/{file-access-n05xt0ee.js → schema-n05xt0ee.js} +0 -0
- /package/dist/chunks/{file-access-n3j8tn72.js → schema-n3j8tn72.js} +0 -0
- /package/dist/chunks/{file-access-njntx4h6.js → schema-njntx4h6.js} +0 -0
- /package/dist/chunks/{file-access-q3sfg36h.js → schema-q3sfg36h.js} +0 -0
- /package/dist/chunks/{file-access-q74kybfr.js → schema-q74kybfr.js} +0 -0
- /package/dist/chunks/{file-access-qaymkmh1.js → schema-qaymkmh1.js} +0 -0
- /package/dist/chunks/{file-access-qb87gjwd.js → schema-qb87gjwd.js} +0 -0
- /package/dist/chunks/{file-access-qfa1cgps.js → schema-qfa1cgps.js} +0 -0
- /package/dist/chunks/{file-access-qg3g05ea.js → schema-qg3g05ea.js} +0 -0
- /package/dist/chunks/{file-access-qrg20bc0.js → schema-qrg20bc0.js} +0 -0
- /package/dist/chunks/{file-access-rcb2kzg1.js → schema-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{file-access-sdp7kfr6.js → schema-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{file-access-sk3qaz4a.js → schema-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{file-access-ssg3fenm.js → schema-ssg3fenm.js} +0 -0
- /package/dist/chunks/{file-access-w803qqfp.js → schema-w803qqfp.js} +0 -0
- /package/dist/chunks/{file-access-wc3fc9cn.js → schema-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{file-access-wer8tq1h.js → schema-wer8tq1h.js} +0 -0
- /package/dist/chunks/{file-access-wtztk69x.js → schema-wtztk69x.js} +0 -0
- /package/dist/chunks/{file-access-x0ckcb58.js → schema-x0ckcb58.js} +0 -0
- /package/dist/chunks/{file-access-x61499pn.js → schema-x61499pn.js} +0 -0
- /package/dist/chunks/{file-access-y44na4kk.js → schema-y44na4kk.js} +0 -0
- /package/dist/chunks/{file-access-y8cydn3q.js → schema-y8cydn3q.js} +0 -0
- /package/dist/chunks/{file-access-y8f7s663.js → schema-y8f7s663.js} +0 -0
- /package/dist/chunks/{file-access-ygaqb7jw.js → schema-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{file-access-ym463w8f.js → schema-ym463w8f.js} +0 -0
- /package/dist/chunks/{file-access-z5v4ffb3.js → schema-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{file-access-z9919s4g.js → schema-z9919s4g.js} +0 -0
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin35,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin35 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin35, exports_tool_input_repair };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
llmClient2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./schema-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service72,
|
|
6
|
+
node76
|
|
7
|
+
} from "./schema-6ew4nd0q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/generate.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Generate: () =>
|
|
13
|
+
var exports_generate2 = {};
|
|
14
|
+
__export(exports_generate2, {
|
|
15
|
+
Generate: () => exports_generate2,
|
|
16
16
|
ModelSelectionError: () => ModelSelectionError2,
|
|
17
|
-
Service: () =>
|
|
18
|
-
UnavailableError: () =>
|
|
19
|
-
layer: () =>
|
|
20
|
-
node: () =>
|
|
17
|
+
Service: () => Service31,
|
|
18
|
+
UnavailableError: () => UnavailableError3,
|
|
19
|
+
layer: () => layer15,
|
|
20
|
+
node: () => node34
|
|
21
21
|
});
|
|
22
22
|
import { LLM, LLMClient } from "@opencode/ai";
|
|
23
23
|
import { SessionID } from "@opencode/schema/session-id";
|
|
@@ -28,17 +28,17 @@ class ModelSelectionError2 extends Schema.TaggedError()("Generate.ModelSelection
|
|
|
28
28
|
}) {
|
|
29
29
|
}
|
|
30
30
|
|
|
31
|
-
class
|
|
31
|
+
class UnavailableError3 extends Schema.TaggedError()("Generate.UnavailableError", {
|
|
32
32
|
message: Schema.String,
|
|
33
33
|
service: Schema.optional(Schema.String)
|
|
34
34
|
}) {
|
|
35
35
|
}
|
|
36
36
|
|
|
37
|
-
class
|
|
37
|
+
class Service31 extends Context.Service()("@opencode/Generate") {
|
|
38
38
|
}
|
|
39
|
-
var
|
|
39
|
+
var layer15 = Layer.effect(Service31, Effect.gen(function* () {
|
|
40
40
|
const llm = yield* LLMClient.Service;
|
|
41
|
-
const resolver = yield*
|
|
41
|
+
const resolver = yield* Service72;
|
|
42
42
|
const runText = Effect.fn("Generate.text")(function* (input) {
|
|
43
43
|
const resolved = yield* resolver.resolve(input.model).pipe(Effect.catchTag([
|
|
44
44
|
"SessionRunnerModel.VariantUnavailableError",
|
|
@@ -48,7 +48,7 @@ var layer8 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
48
48
|
"SessionRunnerModel.UnresolvedProviderVariablesError",
|
|
49
49
|
"SessionRunnerModel.UnsupportedCompactionError"
|
|
50
50
|
], (error) => {
|
|
51
|
-
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new
|
|
51
|
+
const mapped = input.model ? new ModelSelectionError2({ message: error.message }) : new UnavailableError3({ message: error.message, service: error.providerID });
|
|
52
52
|
return Effect.fail(mapped);
|
|
53
53
|
}));
|
|
54
54
|
if (!resolved)
|
|
@@ -59,21 +59,21 @@ var layer8 = Layer.effect(Service17, Effect.gen(function* () {
|
|
|
59
59
|
model: resolved.model,
|
|
60
60
|
prompt: input.prompt,
|
|
61
61
|
http: { headers: { "x-opencode-session": SessionID.create() } }
|
|
62
|
-
})).pipe(Effect.mapError((error) => new
|
|
62
|
+
})).pipe(Effect.mapError((error) => new UnavailableError3({
|
|
63
63
|
message: error.message,
|
|
64
64
|
service: resolved.ref.providerID
|
|
65
65
|
})));
|
|
66
66
|
return response.text;
|
|
67
67
|
});
|
|
68
|
-
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new
|
|
68
|
+
const text = (input) => runText(input).pipe(Effect.catchTag("Integration.Authorization", () => new UnavailableError3({
|
|
69
69
|
message: "Generation credentials are unavailable"
|
|
70
70
|
})));
|
|
71
|
-
return
|
|
71
|
+
return Service31.of({ text });
|
|
72
72
|
}));
|
|
73
|
-
var
|
|
74
|
-
service:
|
|
75
|
-
layer:
|
|
76
|
-
deps: [
|
|
73
|
+
var node34 = makeLocationNode({
|
|
74
|
+
service: Service31,
|
|
75
|
+
layer: layer15,
|
|
76
|
+
deps: [node76, llmClient2]
|
|
77
77
|
});
|
|
78
78
|
|
|
79
|
-
export { ModelSelectionError2,
|
|
79
|
+
export { ModelSelectionError2, UnavailableError3, Service31, layer15, node34, exports_generate2 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service82,
|
|
3
|
+
node86
|
|
4
|
+
} from "./schema-mdqp54e4.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./schema-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./schema-v65w0t96.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./schema-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
17
17
|
__export(exports_skill5, {
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
|
-
Event: () =>
|
|
20
|
+
Event: () => Event12,
|
|
21
21
|
ID: () => ID5,
|
|
22
|
-
Info: () =>
|
|
22
|
+
Info: () => Info20,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service56,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source4,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node58,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -34,12 +34,12 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
34
34
|
import path from "path";
|
|
35
35
|
import { Context, Effect, Layer } from "effect";
|
|
36
36
|
import { Skill } from "@opencode/schema/skill";
|
|
37
|
-
import { Event as
|
|
37
|
+
import { Event as Event12 } from "@opencode/schema/skill";
|
|
38
38
|
var DirectorySource2 = Skill.DirectorySource;
|
|
39
39
|
var UrlSource2 = Skill.UrlSource;
|
|
40
40
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
41
41
|
var Source4 = Skill.Source;
|
|
42
|
-
var
|
|
42
|
+
var Info20 = Skill.Info;
|
|
43
43
|
var ID5 = Skill.ID;
|
|
44
44
|
var Name2 = Skill.Name;
|
|
45
45
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
@@ -71,10 +71,10 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
71
71
|
};
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service56 extends Context.Service()("@opencode/Skill") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
77
|
-
const bus = yield*
|
|
76
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
77
|
+
const bus = yield* Service82;
|
|
78
78
|
const state = create3({
|
|
79
79
|
name: "skill",
|
|
80
80
|
initial: () => ({ skills: new Map }),
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
97
97
|
}),
|
|
98
98
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
99
99
|
});
|
|
100
|
-
return
|
|
100
|
+
return Service56.of({
|
|
101
101
|
transform: state.transform,
|
|
102
102
|
reload: state.reload,
|
|
103
103
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -108,10 +108,10 @@ var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
|
108
108
|
})
|
|
109
109
|
});
|
|
110
110
|
}));
|
|
111
|
-
var
|
|
112
|
-
service:
|
|
111
|
+
var node58 = makeLocationNode({
|
|
112
|
+
service: Service56,
|
|
113
113
|
layer,
|
|
114
|
-
deps: [
|
|
114
|
+
deps: [node86]
|
|
115
115
|
});
|
|
116
116
|
|
|
117
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4,
|
|
117
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source4, Info20, ID5, Name2, available2, toModelOutput3, prepare3, Service56, node58, exports_skill5, Event12 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./schema-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service79
|
|
8
|
+
} from "./schema-0dfv3dc6.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service60
|
|
11
|
+
} from "./schema-a8kgewhr.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service57
|
|
14
|
+
} from "./schema-yh7gpy6m.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service59,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./schema-h4c8g149.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./schema-v65w0t96.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service32,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-fk0bqkbn.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./schema-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./schema-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input12,
|
|
39
|
+
Output: () => Output8,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin48,
|
|
42
|
+
name: () => name12,
|
|
43
|
+
toModelContent: () => toModelContent6
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name12 = "patch";
|
|
89
|
+
var Input12 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output8 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent6 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin48 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
111
|
+
const environment = yield* Service60;
|
|
112
|
+
const access = yield* Service32;
|
|
113
|
+
const fileMutation = yield* Service59;
|
|
114
|
+
const formatter = yield* Service57;
|
|
115
|
+
const location = yield* Service79;
|
|
116
|
+
const permission = yield* Service65;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name12,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input12,
|
|
122
|
+
output: Output8,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin3 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent6(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name12, Input12, Applied2, Output8, toModelContent6, Plugin48, exports_patch };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service48
|
|
3
|
+
} from "./schema-0mc57tk4.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./schema-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service79
|
|
9
|
+
} from "./schema-0dfv3dc6.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./schema-gtz8s5m7.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./schema-2vkncht2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service5
|
|
20
|
+
} from "./schema-2j5hbwxg.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./schema-908m4j2d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./schema-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill = {};
|
|
30
|
+
__export(exports_skill, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill,
|
|
32
|
+
Plugin: () => Plugin19
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin19 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service47;
|
|
43
|
+
const discovery = yield* Service5;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
|
-
const location = yield*
|
|
47
|
-
const watcher = yield*
|
|
46
|
+
const location = yield* Service79;
|
|
47
|
+
const watcher = yield* Service48;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin20 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin19, exports_skill };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID10,
|
|
3
|
+
Service69
|
|
4
|
+
} from "./schema-164n2a8b.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service74
|
|
8
|
+
} from "./schema-d87tmwdg.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service47
|
|
12
|
+
} from "./schema-gtz8s5m7.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./schema-k6yq57aq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service58
|
|
18
|
+
} from "./schema-91q34nvd.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./schema-v65w0t96.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service14
|
|
25
|
+
} from "./schema-6k5d2hav.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./schema-x1ezjp6w.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
make11
|
|
31
|
+
} from "./schema-dk3fapr1.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./schema-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input5,
|
|
40
|
+
Output: () => Output4,
|
|
41
|
+
Plugin: () => Plugin40,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
43
|
description: () => description3,
|
|
44
|
-
name: () =>
|
|
44
|
+
name: () => name5
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name5 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input5 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,7 +72,7 @@ var Input7 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output4 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
@@ -86,16 +86,16 @@ var description3 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin40 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service14;
|
|
93
|
+
const jobs = yield* Service58;
|
|
94
|
+
const agents = yield* Service69;
|
|
95
|
+
const config = yield* Service47;
|
|
96
|
+
const permission = yield* Service65;
|
|
97
|
+
const models = yield* Service74;
|
|
98
|
+
const subagents = yield* make11;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin9 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name5,
|
|
119
119
|
options: { codemode: false },
|
|
120
120
|
description: description3,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input5,
|
|
122
|
+
output: Output4,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin9 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name5,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin9 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID10.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name5 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name5];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name5, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name5, Input5, Output4, description3, Plugin40, exports_subagent };
|