@opencode/core 0.0.0-dev-21463 → 0.0.0-dev-21465
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 +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{ripgrep-s96dfbc8.js → form-016766j9.js} +18 -18
- package/dist/chunks/{ripgrep-5cfq97pr.js → form-01cqkeg5.js} +26 -26
- package/dist/chunks/{ripgrep-aj7mw0zk.js → form-034tev2y.js} +2 -2
- package/dist/chunks/{ripgrep-prsxfqy1.js → form-04pgjytt.js} +21 -21
- package/dist/chunks/{ripgrep-251hxpd6.js → form-06xsmntz.js} +2 -2
- package/dist/chunks/{ripgrep-72x17vkx.js → form-0803f5qt.js} +11 -11
- package/dist/chunks/{ripgrep-s8d7rejh.js → form-0gdmqesm.js} +4 -4
- package/dist/chunks/{ripgrep-0javqkgf.js → form-0javqkgf.js} +2 -2
- package/dist/chunks/{ripgrep-ayvmmyqf.js → form-0rmvh565.js} +20 -20
- package/dist/chunks/{ripgrep-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-agt495f3.js → form-0w5vvvza.js} +14 -14
- package/dist/chunks/{ripgrep-4zd5n188.js → form-0wg788cr.js} +28 -28
- package/dist/chunks/{ripgrep-7jxgd9ay.js → form-11n2qc1w.js} +22 -22
- package/dist/chunks/{ripgrep-g1962y70.js → form-14mvz572.js} +21 -21
- package/dist/chunks/{ripgrep-yn91e0pt.js → form-1avk3spj.js} +2 -2
- package/dist/chunks/{ripgrep-27w5k9zf.js → form-1ep2p91f.js} +2 -2
- package/dist/chunks/{ripgrep-htbjkf0w.js → form-1g3gwk2z.js} +3 -3
- package/dist/chunks/{ripgrep-edswj8x3.js → form-1m7xhcrz.js} +13 -13
- package/dist/chunks/{ripgrep-hfj6ba10.js → form-1w6dzaea.js} +28 -28
- package/dist/chunks/{ripgrep-3vt2dxg2.js → form-1zzvd88w.js} +4 -4
- package/dist/chunks/{ripgrep-dfe61pt0.js → form-20v7rmhc.js} +17 -17
- package/dist/chunks/{ripgrep-hm49vy5t.js → form-23cg475f.js} +11 -11
- package/dist/chunks/{ripgrep-86gy2e90.js → form-2c942fag.js} +29 -29
- package/dist/chunks/{ripgrep-pxnwhmcf.js → form-2tq7hcqy.js} +6 -6
- package/dist/chunks/{ripgrep-pq2gcbye.js → form-2w245n37.js} +22 -22
- package/dist/chunks/{ripgrep-e1kmgh1g.js → form-2wef4h5g.js} +46 -46
- package/dist/chunks/{ripgrep-e33zja9b.js → form-30zggejz.js} +31 -31
- package/dist/chunks/{ripgrep-d9ddtp67.js → form-35kkhned.js} +11 -11
- package/dist/chunks/{ripgrep-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{ripgrep-1rwjpbn5.js → form-3kbekj0y.js} +26 -26
- package/dist/chunks/{ripgrep-hxsbxgw0.js → form-3mgfngs8.js} +38 -38
- package/dist/chunks/{ripgrep-tt8gc4fv.js → form-3t06g8dq.js} +6 -6
- package/dist/chunks/{ripgrep-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-xg2cxak3.js → form-4240acyr.js} +16 -16
- package/dist/chunks/{ripgrep-298dhb3n.js → form-4475rdhr.js} +21 -21
- package/dist/chunks/{ripgrep-230myn37.js → form-44ebccsv.js} +14 -14
- package/dist/chunks/{ripgrep-91af422c.js → form-4873sk86.js} +15 -15
- package/dist/chunks/{ripgrep-vbfgae2j.js → form-4bm5ja14.js} +4 -4
- package/dist/chunks/{ripgrep-a0b0pnyt.js → form-4cjtq72a.js} +4 -4
- package/dist/chunks/{ripgrep-6ypqa0d2.js → form-4jv8yfzb.js} +29 -29
- package/dist/chunks/{ripgrep-sxzvkvgj.js → form-4mwpykj0.js} +6 -6
- package/dist/chunks/{ripgrep-9nhbmbq3.js → form-4myhz5et.js} +11 -11
- package/dist/chunks/{ripgrep-713a57ta.js → form-4wsv5c1t.js} +3 -3
- package/dist/chunks/{ripgrep-57pprckc.js → form-51nq886d.js} +23 -23
- package/dist/chunks/{ripgrep-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{ripgrep-mda08b8j.js → form-555zyyej.js} +10 -10
- package/dist/chunks/{ripgrep-rbzr3q5g.js → form-581y63dt.js} +9 -9
- package/dist/chunks/{ripgrep-w7jyze1k.js → form-5b6y4xvt.js} +4 -4
- package/dist/chunks/{ripgrep-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-dhb2hta4.js → form-5nw065t4.js} +5 -5
- package/dist/chunks/{ripgrep-14w7p54a.js → form-5r05bxdk.js} +50 -50
- package/dist/chunks/{ripgrep-yrbjxrxk.js → form-5tj8nqep.js} +7 -7
- package/dist/chunks/{ripgrep-qwjmgwmn.js → form-5y480sgp.js} +8 -8
- package/dist/chunks/{ripgrep-jx1ed50p.js → form-61k5npwt.js} +24 -24
- package/dist/chunks/{ripgrep-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{ripgrep-09c1zjrt.js → form-6mb40wrd.js} +15 -15
- package/dist/chunks/{ripgrep-py3kkmfq.js → form-6pc27hjz.js} +6 -6
- package/dist/chunks/{ripgrep-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-wthbqfdd.js → form-6zbvbaat.js} +5 -5
- package/dist/chunks/{ripgrep-z55zg8mm.js → form-725pwqma.js} +16 -16
- package/dist/chunks/{ripgrep-2r363r85.js → form-772b1pf2.js} +6 -6
- package/dist/chunks/{ripgrep-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{ripgrep-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{ripgrep-hpfvhvya.js → form-7sbn2nrf.js} +8 -8
- package/dist/chunks/{ripgrep-gd45gbwy.js → form-7z27y5ft.js} +18 -18
- package/dist/chunks/{ripgrep-tcezcvh9.js → form-89znhe33.js} +4 -4
- package/dist/chunks/{ripgrep-sjxt2y8n.js → form-8advq6hn.js} +181 -181
- package/dist/chunks/{ripgrep-8wx9bhg6.js → form-8bajgbmy.js} +4 -4
- package/dist/chunks/{ripgrep-x6pyv2yz.js → form-8dff8bqa.js} +5 -5
- package/dist/chunks/{ripgrep-6s32m78n.js → form-8jrmvma7.js} +88 -88
- package/dist/chunks/{ripgrep-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{ripgrep-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{ripgrep-eyakfeqd.js → form-8x3eefsg.js} +14 -14
- package/dist/chunks/{ripgrep-bj5f8pf2.js → form-936v1wb5.js} +4 -4
- package/dist/chunks/{ripgrep-x83knd5j.js → form-9dxjs7sq.js} +4 -4
- package/dist/chunks/{ripgrep-9wev2pgg.js → form-9wev2pgg.js} +1 -1
- package/dist/chunks/{ripgrep-a20pjse5.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{ripgrep-kzrm98pv.js → form-a22nawqy.js} +24 -24
- package/dist/chunks/{ripgrep-pd1jyj3n.js → form-a50jwcz2.js} +15 -15
- package/dist/chunks/{ripgrep-s7pm50yw.js → form-ac224h82.js} +5 -5
- package/dist/chunks/{ripgrep-1jshh0hj.js → form-aff53cds.js} +23 -23
- package/dist/chunks/{ripgrep-k8yk4ekq.js → form-ajtbt6ny.js} +13 -13
- package/dist/chunks/{ripgrep-ykpagz71.js → form-awmarwrv.js} +9 -9
- package/dist/chunks/{ripgrep-68zvyq3x.js → form-b37y94hj.js} +11 -11
- package/dist/chunks/{ripgrep-e0d821cc.js → form-b5sf85zq.js} +8 -8
- package/dist/chunks/{ripgrep-wqgd9sqk.js → form-b61k6ame.js} +19 -19
- package/dist/chunks/{ripgrep-gj71zhbs.js → form-b674v2dg.js} +5 -5
- package/dist/chunks/{ripgrep-50ttpepc.js → form-b6ee0mz0.js} +56 -56
- package/dist/chunks/{ripgrep-nyg27w76.js → form-bapqkk7v.js} +3 -3
- package/dist/chunks/{ripgrep-2wqnbphr.js → form-bkjx84ct.js} +18 -18
- package/dist/chunks/{ripgrep-rqbrrxj6.js → form-bqae3fjp.js} +13 -13
- package/dist/chunks/{ripgrep-bzeyqsqd.js → form-bzeyqsqd.js} +1 -1
- package/dist/chunks/{ripgrep-fs83kz7m.js → form-cd65nwh0.js} +11 -11
- package/dist/chunks/{ripgrep-3220qrgn.js → form-cj2gcgr0.js} +10 -10
- package/dist/chunks/{ripgrep-5wdmk2gh.js → form-cmr35qp5.js} +28 -28
- package/dist/chunks/{ripgrep-g0445xdp.js → form-cmwkp3r5.js} +4 -4
- package/dist/chunks/{ripgrep-jqvncec7.js → form-ctvabab8.js} +40 -40
- package/dist/chunks/{ripgrep-2sejkfem.js → form-cwa6csj7.js} +9 -9
- package/dist/chunks/{ripgrep-yj7k2rcj.js → form-d1wmmgpz.js} +6 -6
- package/dist/chunks/{ripgrep-22v61q2t.js → form-d2bpn3vr.js} +11 -11
- package/dist/chunks/form-d8membp7.js +26 -0
- package/dist/chunks/{ripgrep-x831e2b7.js → form-dcezxpa9.js} +15 -15
- package/dist/chunks/{ripgrep-rvnqf66d.js → form-dg7zdyb1.js} +14 -14
- package/dist/chunks/{ripgrep-p50c7myx.js → form-dgzq35zb.js} +3 -3
- package/dist/chunks/{ripgrep-e225h40x.js → form-dhpppt5y.js} +20 -20
- package/dist/chunks/{ripgrep-xfkkasph.js → form-drwq78ky.js} +4 -4
- package/dist/chunks/{ripgrep-pa098ddb.js → form-ds0xwmnc.js} +45 -45
- package/dist/chunks/{ripgrep-z7669q6a.js → form-dtnfggyv.js} +10 -10
- package/dist/chunks/form-dxj72tfx.js +18 -0
- package/dist/chunks/form-e2x20gr3.js +257 -0
- package/dist/chunks/{ripgrep-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-75d596k4.js → form-eb59rt6g.js} +21 -21
- package/dist/chunks/{ripgrep-r2z489rp.js → form-ed1g29hy.js} +3 -3
- package/dist/chunks/{ripgrep-mez1mdm0.js → form-edrm97qd.js} +18 -18
- package/dist/chunks/{ripgrep-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-hcv80w8f.js → form-fcag7s6h.js} +8 -8
- package/dist/chunks/{ripgrep-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{ripgrep-hs6ysvtc.js → form-fhdzhsn5.js} +34 -34
- package/dist/chunks/{ripgrep-xk3573b9.js → form-fn9ftacf.js} +30 -30
- package/dist/chunks/{ripgrep-mmjfp5s5.js → form-fp3pxq9j.js} +13 -13
- package/dist/chunks/{ripgrep-5d51bkr7.js → form-fptceakp.js} +45 -45
- package/dist/chunks/{ripgrep-yrwfzynx.js → form-fxh06m44.js} +86 -86
- package/dist/chunks/{ripgrep-3mkjzvwp.js → form-g13qewtb.js} +6 -6
- package/dist/chunks/{ripgrep-g686f6pq.js → form-g686f6pq.js} +2 -2
- package/dist/chunks/{ripgrep-4xpgt2w9.js → form-g6yfr6ja.js} +5 -5
- package/dist/chunks/{ripgrep-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-j4axjra1.js → form-gd8jdxd3.js} +11 -11
- package/dist/chunks/{ripgrep-nfj18b9m.js → form-gdab7akb.js} +26 -26
- package/dist/chunks/{ripgrep-z1ggpzpx.js → form-gdn3wds6.js} +11 -11
- package/dist/chunks/{ripgrep-989d504g.js → form-ggbxennn.js} +35 -35
- package/dist/chunks/{ripgrep-skxfb30d.js → form-gjvvdrsn.js} +26 -26
- package/dist/chunks/{ripgrep-a3w6cej7.js → form-gqh6mgsw.js} +11 -11
- package/dist/chunks/{ripgrep-x661k3y3.js → form-gqtdsdt7.js} +4 -4
- package/dist/chunks/{ripgrep-pkwzmj2h.js → form-gyjy7m7x.js} +16 -16
- package/dist/chunks/{ripgrep-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-prq7hedt.js → form-h71w788e.js} +9 -9
- package/dist/chunks/{ripgrep-fmcqyzhx.js → form-hes1j7ga.js} +9 -9
- package/dist/chunks/{ripgrep-xh90p7br.js → form-hfg7n11m.js} +13 -13
- package/dist/chunks/{ripgrep-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{ripgrep-j0pnngg3.js → form-hjhsp0kf.js} +11 -11
- package/dist/chunks/{ripgrep-cys88cvv.js → form-hptzwsnd.js} +5 -5
- package/dist/chunks/{ripgrep-h47csjds.js → form-hxds782p.js} +66 -66
- package/dist/chunks/{ripgrep-ye7bjynm.js → form-hzz8n40p.js} +7 -7
- package/dist/chunks/{ripgrep-c1kvbfjw.js → form-jbx74xhg.js} +14 -14
- package/dist/chunks/{ripgrep-dtt6326j.js → form-jdtqvfs1.js} +9 -9
- package/dist/chunks/{ripgrep-3mqyb98t.js → form-jj6wv1pj.js} +3 -3
- package/dist/chunks/{ripgrep-q59jvvg4.js → form-jj8zce4f.js} +26 -26
- package/dist/chunks/{ripgrep-6mjf37c3.js → form-jjb12tdg.js} +31 -31
- package/dist/chunks/{ripgrep-bqwheb6v.js → form-jqppps04.js} +11 -11
- package/dist/chunks/{ripgrep-abwmzdm0.js → form-jv2rx0fh.js} +12 -12
- package/dist/chunks/{ripgrep-tz783a2y.js → form-k6tr81d3.js} +11 -11
- package/dist/chunks/{ripgrep-waskajng.js → form-k9t01da4.js} +5 -5
- package/dist/chunks/{ripgrep-qmm8f62j.js → form-kanhem1c.js} +11 -11
- package/dist/chunks/{ripgrep-axkwkzd9.js → form-kg45811x.js} +11 -11
- package/dist/chunks/{ripgrep-h6vdgmbd.js → form-kh7axb5n.js} +33 -33
- package/dist/chunks/{ripgrep-hq3c8me3.js → form-khmqacep.js} +4 -4
- package/dist/chunks/{ripgrep-bh4seszr.js → form-kj7h7wvk.js} +33 -33
- package/dist/chunks/{ripgrep-0nmqjfd0.js → form-kmy8rgmt.js} +16 -16
- package/dist/chunks/{ripgrep-y2w3p8tb.js → form-knax8rr9.js} +13 -13
- package/dist/chunks/{ripgrep-5kk0g6xv.js → form-kpwafw7z.js} +13 -13
- package/dist/chunks/{ripgrep-g2kqvpw2.js → form-kt69stq4.js} +11 -11
- package/dist/chunks/{ripgrep-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{ripgrep-vbnktpmr.js → form-ky6kp414.js} +9 -9
- package/dist/chunks/{ripgrep-rvn8t98y.js → form-m1cp809k.js} +13 -13
- package/dist/chunks/{ripgrep-fxq1hvsx.js → form-m1vtybs6.js} +4 -4
- package/dist/chunks/{ripgrep-kxpg0xct.js → form-m3g1rwfa.js} +2 -2
- package/dist/chunks/{ripgrep-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-dcf9rm2z.js → form-me9v5sdg.js} +3 -3
- package/dist/chunks/{ripgrep-szj64q0v.js → form-mg47wcxc.js} +4 -4
- package/dist/chunks/{ripgrep-b1hts85v.js → form-mhdmgddq.js} +34 -34
- package/dist/chunks/{ripgrep-5cwz5tfs.js → form-mqmr3v55.js} +6 -6
- package/dist/chunks/{ripgrep-k9tfrms9.js → form-msbm8nhp.js} +9 -9
- package/dist/chunks/{ripgrep-my4zabxr.js → form-mtpeagzc.js} +3 -3
- package/dist/chunks/{ripgrep-rfmtd9hm.js → form-mwcxzzpp.js} +10 -10
- package/dist/chunks/{ripgrep-2wvr9kck.js → form-mx35zq31.js} +44 -44
- package/dist/chunks/{ripgrep-jga877gc.js → form-mxt12g5z.js} +17 -17
- package/dist/chunks/{ripgrep-hhvzr4qm.js → form-myjjf3z2.js} +23 -23
- package/dist/chunks/{ripgrep-g721rhm1.js → form-n3d5pb88.js} +21 -21
- package/dist/chunks/{ripgrep-mk60gw4q.js → form-n4kgxwdp.js} +14 -14
- package/dist/chunks/{ripgrep-6dx9d91q.js → form-n7b1k3p6.js} +9 -9
- package/dist/chunks/{ripgrep-4kjvvtcf.js → form-n90cc1d7.js} +20 -20
- package/dist/chunks/{ripgrep-8hs2d1kn.js → form-n9mdxvj7.js} +11 -11
- package/dist/chunks/{ripgrep-r8ay4eh8.js → form-nk28bvce.js} +14 -14
- package/dist/chunks/{ripgrep-eh2h7xf4.js → form-nwpzdbp7.js} +17 -17
- package/dist/chunks/{ripgrep-v8351vk8.js → form-p5eszqcd.js} +8 -8
- package/dist/chunks/{ripgrep-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-cph4sz5z.js → form-ppy8n5rb.js} +13 -13
- package/dist/chunks/{ripgrep-d3fk46xw.js → form-pq3ytayb.js} +33 -33
- package/dist/chunks/{ripgrep-jv8w58zf.js → form-prpepx7q.js} +29 -29
- package/dist/chunks/{ripgrep-2sstcm55.js → form-prytbjkr.js} +12 -12
- package/dist/chunks/{ripgrep-pnjc2gnv.js → form-pvmfrnx8.js} +320 -320
- package/dist/chunks/{ripgrep-h0qy9bnt.js → form-pwdns4hw.js} +5 -5
- package/dist/chunks/{ripgrep-49j0r9af.js → form-q3c1rjff.js} +19 -19
- package/dist/chunks/{ripgrep-560zx63f.js → form-q8ddfw9c.js} +1 -1
- package/dist/chunks/{ripgrep-fqb2p7cx.js → form-qa3qhgw8.js} +4 -4
- package/dist/chunks/{ripgrep-7dqw4kz8.js → form-qgn6gcr1.js} +5 -5
- package/dist/chunks/{ripgrep-vc4gp4va.js → form-qrj5j2rw.js} +19 -19
- package/dist/chunks/{ripgrep-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-m1q28qka.js → form-qse2fwzv.js} +10 -10
- package/dist/chunks/{ripgrep-312nns96.js → form-qxbakmsa.js} +11 -11
- package/dist/chunks/{ripgrep-gk6en6xk.js → form-r83yw8wf.js} +34 -34
- package/dist/chunks/{ripgrep-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-qhdh8prp.js → form-rgv41h4e.js} +35 -35
- package/dist/chunks/{ripgrep-txm3e8qz.js → form-rkg4v3e5.js} +9 -9
- package/dist/chunks/{ripgrep-1zd1rgqx.js → form-rqm8fqta.js} +18 -18
- package/dist/chunks/{ripgrep-rf4xhyrq.js → form-rs6bz05r.js} +30 -30
- package/dist/chunks/{ripgrep-1gvanxjs.js → form-rwbh6jmv.js} +33 -33
- package/dist/chunks/{ripgrep-avj6wgd7.js → form-ryh6wemf.js} +26 -26
- package/dist/chunks/{ripgrep-5h8zx44a.js → form-s1976h36.js} +22 -22
- package/dist/chunks/{ripgrep-eev4j3tf.js → form-s7gb32a0.js} +15 -15
- package/dist/chunks/{ripgrep-6gya5b2a.js → form-sawf26wz.js} +32 -32
- package/dist/chunks/{ripgrep-s9x4dfc6.js → form-sbaf2nx7.js} +14 -14
- package/dist/chunks/{ripgrep-ng3918dk.js → form-sjzb79xx.js} +8 -8
- package/dist/chunks/{ripgrep-7e8r663x.js → form-sk60y1at.js} +30 -30
- package/dist/chunks/{ripgrep-rbnhhjf8.js → form-smctgjrc.js} +47 -47
- package/dist/chunks/{ripgrep-124s2bhj.js → form-sxtjavh1.js} +11 -11
- package/dist/chunks/{ripgrep-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{ripgrep-8fmaj9a8.js → form-t5wqwvpt.js} +18 -18
- package/dist/chunks/{ripgrep-06h1tyz4.js → form-t96cs5ce.js} +4 -4
- package/dist/chunks/{ripgrep-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-pz39tkx9.js → form-tb727afn.js} +35 -35
- package/dist/chunks/{ripgrep-s7158cf1.js → form-tdev1d3v.js} +4 -4
- package/dist/chunks/{ripgrep-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-cvb5s8dx.js → form-tdwynqds.js} +11 -11
- package/dist/chunks/{ripgrep-dgwfvztm.js → form-tjgry73g.js} +20 -20
- package/dist/chunks/{ripgrep-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{ripgrep-r565a100.js → form-txcxq65b.js} +25 -25
- package/dist/chunks/{ripgrep-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{ripgrep-nz56sr1f.js → form-v13b12ef.js} +5 -5
- package/dist/chunks/{ripgrep-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{ripgrep-5g57z1ma.js → form-vep9yay1.js} +4 -4
- package/dist/chunks/{ripgrep-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-k7ct3b4w.js → form-vr2brrr8.js} +20 -20
- package/dist/chunks/{ripgrep-hd44qvhb.js → form-vx8n1q2f.js} +18 -18
- package/dist/chunks/{ripgrep-bd8280h5.js → form-vxmetbc4.js} +11 -11
- package/dist/chunks/{ripgrep-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-84txncab.js → form-w1eejvng.js} +5 -5
- package/dist/chunks/{ripgrep-f6egx6pd.js → form-w2bpwhyq.js} +12 -12
- package/dist/chunks/{ripgrep-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-efw5yz4r.js → form-w9fyvhpg.js} +43 -43
- package/dist/chunks/{ripgrep-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-xc4hpcyp.js → form-wc14v8ca.js} +25 -25
- package/dist/chunks/{ripgrep-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-w8tjtray.js → form-whkpkx14.js} +29 -29
- package/dist/chunks/{ripgrep-prc3rt3m.js → form-wjmzy10g.js} +5 -5
- package/dist/chunks/{ripgrep-zky955f5.js → form-wp2t38dg.js} +18 -18
- package/dist/chunks/{ripgrep-8eadsrjy.js → form-wp7ag42z.js} +28 -28
- package/dist/chunks/{ripgrep-ywrpet35.js → form-wqggg88q.js} +27 -27
- package/dist/chunks/{ripgrep-b7pfhk9a.js → form-x2wh3pjk.js} +11 -11
- package/dist/chunks/{ripgrep-44ak30pa.js → form-x3gqap9d.js} +4 -4
- package/dist/chunks/{ripgrep-3k2tm6e9.js → form-xafejemj.js} +1 -1
- package/dist/chunks/{ripgrep-bmff2rpw.js → form-xbwfvkb6.js} +26 -26
- package/dist/chunks/{ripgrep-4yszj04w.js → form-xh7vdwvp.js} +31 -31
- package/dist/chunks/{ripgrep-gw2dacjw.js → form-xpw9xx05.js} +33 -33
- package/dist/chunks/{ripgrep-gjbmpe49.js → form-xteysx5g.js} +32 -32
- package/dist/chunks/{ripgrep-8vcf4cwr.js → form-xw9fg8fb.js} +2 -2
- package/dist/chunks/{ripgrep-77jva0j9.js → form-y05mj14p.js} +7 -7
- package/dist/chunks/{ripgrep-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{ripgrep-1fmrbde1.js → form-ye8nnmax.js} +6 -6
- package/dist/chunks/{ripgrep-9ms3qzpy.js → form-yg2pn9b7.js} +5 -5
- package/dist/chunks/{ripgrep-n4h5z8fw.js → form-yh885z4g.js} +19 -19
- package/dist/chunks/{ripgrep-1w5qwmmm.js → form-yjv8c9gv.js} +8 -8
- package/dist/chunks/{ripgrep-bjx1sjef.js → form-ywt8jp22.js} +9 -9
- package/dist/chunks/{ripgrep-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-rpbyp8pn.js → form-z0rftk5n.js} +10 -10
- package/dist/chunks/{ripgrep-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{ripgrep-9xj3p3b6.js → form-z7egd2a4.js} +18 -18
- package/dist/chunks/{ripgrep-k9s1epkc.js → form-zaq0zjc7.js} +8 -8
- package/dist/chunks/{ripgrep-29mhb2se.js → form-zbqwxq10.js} +51 -51
- package/dist/chunks/{ripgrep-06x8he3q.js → form-zcrspsvn.js} +4 -4
- package/dist/chunks/{ripgrep-jyarf421.js → form-zhvzg80z.js} +5 -5
- package/dist/chunks/{ripgrep-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-8sjwbqp5.js → form-ztasg8c4.js} +17 -17
- package/dist/chunks/{ripgrep-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{ripgrep-q9z8ctd8.js → form-zxwf9a1d.js} +9 -9
- 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 +83 -83
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- 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 +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +102 -102
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +108 -108
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +106 -106
- package/dist/git.js +8 -8
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +361 -361
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +155 -155
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- 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 +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +171 -171
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- 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 +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +225 -225
- package/dist/project/schema.js +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 +101 -101
- 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 +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +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 +131 -131
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +216 -216
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +2 -2
- 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 +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +109 -109
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/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/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/ripgrep-3qcx2nn5.js +0 -257
- package/dist/chunks/ripgrep-cb080mpn.js +0 -26
- package/dist/chunks/ripgrep-q509s3k3.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-bapqkk7v.js";
|
|
5
5
|
import {
|
|
6
6
|
Service85,
|
|
7
7
|
node89
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-8bajgbmy.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./form-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./form-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
23
|
+
Event: () => Event21,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID18,
|
|
26
|
+
Info: () => Info29,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
|
-
Service: () =>
|
|
29
|
+
Service: () => Service84,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node88
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
@@ -36,31 +36,31 @@ import { Credential } from "@opencode/schema/credential";
|
|
|
36
36
|
import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
|
-
var
|
|
39
|
+
var ID18 = Credential.ID;
|
|
40
40
|
var OAuth3 = Credential.OAuth;
|
|
41
41
|
var Key4 = Credential.Key;
|
|
42
42
|
var External2 = Credential.External;
|
|
43
43
|
var Value2 = Credential.Value;
|
|
44
|
-
var
|
|
44
|
+
var Event21 = Credential.Event;
|
|
45
45
|
|
|
46
|
-
class
|
|
47
|
-
id:
|
|
46
|
+
class Info29 extends Schema.Class("Credential.Info")({
|
|
47
|
+
id: ID18,
|
|
48
48
|
integrationID: Integration.ID,
|
|
49
49
|
label: Schema.String,
|
|
50
50
|
value: Value2
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service84 extends Context.Service()("@opencode/Credential") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
56
|
+
var layer = Layer.effect(Service84, Effect.gen(function* () {
|
|
57
57
|
const db = (yield* Service86).db;
|
|
58
58
|
const bus = yield* Service85;
|
|
59
59
|
const decode = Schema.decodeUnknownSync(CredentialLegacy.Value);
|
|
60
60
|
const stored = (row) => {
|
|
61
61
|
if (!row.integration_id)
|
|
62
62
|
return;
|
|
63
|
-
return new
|
|
63
|
+
return new Info29({
|
|
64
64
|
id: row.id,
|
|
65
65
|
integrationID: row.integration_id,
|
|
66
66
|
label: row.label,
|
|
@@ -71,7 +71,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
71
71
|
const credential = stored(row);
|
|
72
72
|
return credential ? [credential] : [];
|
|
73
73
|
});
|
|
74
|
-
return
|
|
74
|
+
return Service84.of({
|
|
75
75
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
76
76
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
77
77
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -79,8 +79,8 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
79
79
|
return row ? stored(row) : undefined;
|
|
80
80
|
}),
|
|
81
81
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
82
|
-
const credential = new
|
|
83
|
-
id: input.id ??
|
|
82
|
+
const credential = new Info29({
|
|
83
|
+
id: input.id ?? ID18.create(),
|
|
84
84
|
integrationID: input.integrationID,
|
|
85
85
|
label: input.label ?? "default",
|
|
86
86
|
value: input.value
|
|
@@ -111,9 +111,9 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
111
111
|
type: credential.value.type,
|
|
112
112
|
active: activated
|
|
113
113
|
});
|
|
114
|
-
yield* bus.publish(
|
|
114
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
115
115
|
if (activated)
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event21.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
117
117
|
return credential;
|
|
118
118
|
}),
|
|
119
119
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -133,7 +133,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
133
133
|
})), Effect.orDie);
|
|
134
134
|
if (integrationID) {
|
|
135
135
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
136
|
-
yield* bus.publish(
|
|
136
|
+
yield* bus.publish(Event21.Switched, { integrationID, credentialID: id }, { global: true });
|
|
137
137
|
}
|
|
138
138
|
}),
|
|
139
139
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
165
165
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
166
166
|
});
|
|
167
167
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
168
|
-
yield* bus.publish(
|
|
168
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
169
169
|
}),
|
|
170
170
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
171
171
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -198,12 +198,12 @@ var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
198
198
|
active: removed.switched,
|
|
199
199
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
200
200
|
});
|
|
201
|
-
yield* bus.publish(
|
|
201
|
+
yield* bus.publish(Event21.Updated, {}, { global: true });
|
|
202
202
|
if (removed.switched)
|
|
203
|
-
yield* bus.publish(
|
|
203
|
+
yield* bus.publish(Event21.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
204
204
|
})
|
|
205
205
|
});
|
|
206
206
|
}));
|
|
207
|
-
var
|
|
207
|
+
var node88 = makeGlobalNode({ service: Service84, layer, deps: [node90, node89] });
|
|
208
208
|
|
|
209
|
-
export {
|
|
209
|
+
export { ID18, OAuth3, Key4, External2, Value2, Event21, Info29, Service84, node88, exports_credential };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service70
|
|
3
|
+
} from "./form-a22nawqy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./form-b6ee0mz0.js";
|
|
7
7
|
import {
|
|
8
8
|
ID3,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service18
|
|
14
|
+
} from "./form-kmy8rgmt.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Input: () =>
|
|
20
|
+
var exports_websearch2 = {};
|
|
21
|
+
__export(exports_websearch2, {
|
|
22
|
+
Input: () => Input5,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
25
|
-
WebSearchTool: () =>
|
|
26
|
-
description: () =>
|
|
27
|
-
name: () =>
|
|
24
|
+
Plugin: () => Plugin24,
|
|
25
|
+
WebSearchTool: () => exports_websearch2,
|
|
26
|
+
description: () => description3,
|
|
27
|
+
name: () => name5
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/http";
|
|
32
|
-
var
|
|
32
|
+
var name5 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
36
36
|
[429, "Web search rate limited (HTTP 429)"],
|
|
37
37
|
[401, "Web search authentication failed (HTTP 401)"]
|
|
38
38
|
]);
|
|
39
|
-
var
|
|
39
|
+
var description3 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input5 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID3,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin24 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service46;
|
|
53
|
+
const forms = yield* Service70;
|
|
54
|
+
const websearch = yield* Service18;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name5,
|
|
57
57
|
options: { codemode: false },
|
|
58
|
-
description:
|
|
59
|
-
input:
|
|
58
|
+
description: description3,
|
|
59
|
+
input: Input5,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name5,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name5];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name5, NO_RESULTS2, description3, Input5, Plugin24, exports_websearch2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
root2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./form-20v7rmhc.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service81,
|
|
9
9
|
node84
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-gqh6mgsw.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service46,
|
|
13
|
+
node48
|
|
14
|
+
} from "./form-b6ee0mz0.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/file-access.ts
|
|
20
20
|
var exports_file_access = {};
|
|
@@ -51,8 +51,8 @@ var invocation = (context) => ({
|
|
|
51
51
|
});
|
|
52
52
|
var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
53
53
|
const fs = yield* FSUtil.Service;
|
|
54
|
-
const location = yield*
|
|
55
|
-
const permission = yield*
|
|
54
|
+
const location = yield* Service81;
|
|
55
|
+
const permission = yield* Service46;
|
|
56
56
|
const resolve = Effect.fn("FileAccess.resolve")(function* (input) {
|
|
57
57
|
const absolute = AbsolutePath2.make(resolvePath2(location.directory, input.path));
|
|
58
58
|
const worktree = path.resolve(location.project.directory);
|
|
@@ -103,6 +103,6 @@ var layer = Layer.effect(Service14, Effect.gen(function* () {
|
|
|
103
103
|
});
|
|
104
104
|
return Service14.of({ resolve, authorizeExternal, authorizeRead });
|
|
105
105
|
}));
|
|
106
|
-
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node84,
|
|
106
|
+
var node16 = makeLocationNode({ service: Service14, layer, deps: [FSUtil.node, node84, node48] });
|
|
107
107
|
|
|
108
108
|
export { Kind2, ResolveInput2, Service14, resolvePath2, node16, exports_file_access };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin42 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin11 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin42, exports_mcp_codemode_defaults };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-8bajgbmy.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./form-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./form-b6ee0mz0.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-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: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
20
|
+
Event: () => Event5,
|
|
21
|
+
ID: () => ID4,
|
|
22
|
+
Info: () => Info5,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service33,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
|
-
Source: () =>
|
|
26
|
+
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
|
-
available: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
available: () => available2,
|
|
29
|
+
node: () => node36,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -35,15 +35,15 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Context, Effect, Layer } from "effect";
|
|
37
37
|
import { Skill } from "@opencode/schema/skill";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event5 } from "@opencode/schema/skill";
|
|
39
39
|
var DirectorySource2 = Skill.DirectorySource;
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var Source3 = Skill.Source;
|
|
43
|
+
var Info5 = Skill.Info;
|
|
44
|
+
var ID4 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
|
-
var
|
|
46
|
+
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
48
48
|
const directory = path.dirname(skill.path);
|
|
49
49
|
return [
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service33 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
83
|
+
var layer = Layer.effect(Service33, Effect.gen(function* () {
|
|
84
84
|
const bus = yield* Service85;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID4.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID4.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID4.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID4.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service33.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node36 = makeLocationNode({
|
|
119
|
+
service: Service33,
|
|
120
120
|
layer,
|
|
121
121
|
deps: [node89]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info5, ID4, Name2, available2, toModelOutput3, prepare3, Service33, node36, exports_skill5, Event5 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./form-8bajgbmy.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service70,
|
|
7
|
+
node72
|
|
8
|
+
} from "./form-a22nawqy.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service82,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./form-20v7rmhc.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
15
|
+
Service81,
|
|
16
16
|
node84
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./form-gqh6mgsw.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-msbm8nhp.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service46,
|
|
26
|
+
node48
|
|
27
|
+
} from "./form-b6ee0mz0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service37,
|
|
30
|
+
node40
|
|
31
|
+
} from "./form-n4kgxwdp.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./form-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service7,
|
|
41
|
+
node: () => node9
|
|
42
42
|
});
|
|
43
43
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service7 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
|
+
const permission = yield* Service46;
|
|
54
|
+
const forms = yield* Service70;
|
|
55
|
+
const rpc = yield* Service37;
|
|
56
|
+
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service7.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node9 = makeLocationNode({
|
|
89
|
+
service: Service7,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89, node84,
|
|
91
|
+
deps: [node89, node84, node48, node85, node72, node40]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service7, node9, exports_location_lifecycle };
|