@opencode/core 0.0.0-dev-21465 → 0.0.0-dev-21479
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{form-a20pjse5.js → git-02mvvr71.js} +3 -3
- package/dist/chunks/{form-034tev2y.js → git-034tev2y.js} +2 -2
- package/dist/chunks/{form-rkg4v3e5.js → git-045nn9pc.js} +4 -4
- package/dist/chunks/{form-knax8rr9.js → git-078079dq.js} +13 -13
- package/dist/chunks/{form-ggbxennn.js → git-0cah4r3x.js} +35 -35
- package/dist/chunks/{form-0javqkgf.js → git-0javqkgf.js} +2 -2
- package/dist/chunks/{form-dtnfggyv.js → git-0m03zc7j.js} +10 -10
- package/dist/chunks/{form-b674v2dg.js → git-0r3c1bmw.js} +5 -5
- package/dist/chunks/{form-01cqkeg5.js → git-0seqkkzs.js} +21 -21
- package/dist/chunks/{form-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{form-b5sf85zq.js → git-0vzwrjx3.js} +6 -6
- package/dist/chunks/{form-kmy8rgmt.js → git-1558q6r0.js} +16 -16
- package/dist/chunks/{form-1ep2p91f.js → git-1ep2p91f.js} +2 -2
- package/dist/chunks/{form-bzeyqsqd.js → git-1ep4rre3.js} +4 -4
- package/dist/chunks/{form-smctgjrc.js → git-1n6d85fv.js} +38 -38
- package/dist/chunks/{form-8dff8bqa.js → git-1nwxscpy.js} +5 -5
- package/dist/chunks/{form-q8ddfw9c.js → git-1qw4ts2x.js} +1 -1
- package/dist/chunks/{form-tdwynqds.js → git-200cc897.js} +11 -11
- package/dist/chunks/{form-3t06g8dq.js → git-25yddszk.js} +6 -6
- package/dist/chunks/{form-4bm5ja14.js → git-2k71kv7p.js} +4 -4
- package/dist/chunks/{form-6mb40wrd.js → git-2m1b2gxc.js} +17 -17
- package/dist/chunks/{form-k9t01da4.js → git-32dg1e2h.js} +5 -5
- package/dist/chunks/{form-cj2gcgr0.js → git-38g0rc9e.js} +10 -10
- package/dist/chunks/{form-5y480sgp.js → git-3a83a0n4.js} +8 -8
- package/dist/chunks/{form-20v7rmhc.js → git-3bs3s307.js} +14 -14
- package/dist/chunks/{form-tdev1d3v.js → git-3bshcq1y.js} +4 -4
- package/dist/chunks/{form-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{form-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{form-n9mdxvj7.js → git-3p22f2sh.js} +18 -23
- package/dist/chunks/{form-s7gb32a0.js → git-3tbr4qg5.js} +13 -13
- package/dist/chunks/{form-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{form-14mvz572.js → git-3zpf0rnh.js} +21 -21
- package/dist/chunks/{form-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{form-m3g1rwfa.js → git-3zzpf6s7.js} +2 -2
- package/dist/chunks/{form-3mgfngs8.js → git-4k7c3fdp.js} +42 -42
- package/dist/chunks/{form-pvmfrnx8.js → git-4q29416s.js} +327 -327
- package/dist/chunks/{form-x3gqap9d.js → git-4v7ngy20.js} +4 -4
- package/dist/chunks/{form-wjmzy10g.js → git-4w5b9j1r.js} +5 -5
- package/dist/chunks/{form-54ma36ye.js → git-54ma36ye.js} +1 -1
- package/dist/chunks/{form-drwq78ky.js → git-57b9ws8p.js} +5 -5
- package/dist/chunks/{form-n4kgxwdp.js → git-59q5jpsh.js} +12 -12
- package/dist/chunks/{form-pyv0edze.js → git-5fjb7ams.js} +4 -4
- package/dist/chunks/{form-vep9yay1.js → git-5g57z1ma.js} +4 -4
- package/dist/chunks/{form-bqae3fjp.js → git-5gygys90.js} +13 -13
- package/dist/chunks/{form-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{form-cmwkp3r5.js → git-5yzzbxa7.js} +8 -8
- package/dist/chunks/{form-hfg7n11m.js → git-605sfam9.js} +15 -15
- package/dist/chunks/git-619r8v3y.js +18 -0
- package/dist/chunks/{form-6827pfxn.js → git-6827pfxn.js} +1 -1
- package/dist/chunks/{form-gjvvdrsn.js → git-6ar8hrwm.js} +18 -18
- package/dist/chunks/{form-w2bpwhyq.js → git-6nrms7n5.js} +12 -12
- package/dist/chunks/{form-xpw9xx05.js → git-6tqbt9db.js} +31 -31
- package/dist/chunks/{form-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{form-gdab7akb.js → git-72c6mf2q.js} +22 -22
- package/dist/chunks/{form-8x3eefsg.js → git-76e6tftv.js} +14 -14
- package/dist/chunks/{form-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{form-6zbvbaat.js → git-78gtrtbe.js} +5 -5
- package/dist/chunks/{form-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{form-p5eszqcd.js → git-7e2qk7cj.js} +8 -8
- package/dist/chunks/{form-gyjy7m7x.js → git-7mb88a95.js} +16 -16
- package/dist/chunks/{form-q3c1rjff.js → git-7n6txb6t.js} +21 -21
- package/dist/chunks/{form-jj8zce4f.js → git-7thw3n08.js} +26 -26
- package/dist/chunks/{form-gqh6mgsw.js → git-7ww6rt9p.js} +7 -7
- package/dist/chunks/{form-2tq7hcqy.js → git-7yap2ahf.js} +6 -6
- package/dist/chunks/{form-w1eejvng.js → git-84txncab.js} +5 -5
- package/dist/chunks/{form-n7b1k3p6.js → git-85p8adcg.js} +9 -9
- package/dist/chunks/{form-nwpzdbp7.js → git-85qr6vt3.js} +15 -15
- package/dist/chunks/{form-30zggejz.js → git-88gnhbh7.js} +34 -34
- package/dist/chunks/{form-89znhe33.js → git-89znhe33.js} +1 -1
- package/dist/chunks/{form-cd65nwh0.js → git-8d1x81hy.js} +11 -11
- package/dist/chunks/{form-wqggg88q.js → git-8jktj0qw.js} +19 -19
- package/dist/chunks/{form-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{form-8mywswrd.js → git-8mywswrd.js} +1 -1
- package/dist/chunks/{form-ctvabab8.js → git-8txfkpqn.js} +40 -40
- package/dist/chunks/{form-aff53cds.js → git-91m580gt.js} +26 -26
- package/dist/chunks/{form-kanhem1c.js → git-9df7hht8.js} +8 -8
- package/dist/chunks/{form-1zzvd88w.js → git-9hxgbxmm.js} +4 -4
- package/dist/chunks/{form-kt69stq4.js → git-9j60mqkr.js} +11 -11
- package/dist/chunks/{form-fxh06m44.js → git-9r8etyzv.js} +85 -85
- package/dist/chunks/{form-9wev2pgg.js → git-9wev2pgg.js} +1 -1
- package/dist/chunks/{form-s1976h36.js → git-a3bkarxs.js} +21 -21
- package/dist/chunks/{form-fcag7s6h.js → git-a8t88929.js} +8 -8
- package/dist/chunks/{form-ztasg8c4.js → git-a9mdymkz.js} +17 -17
- package/dist/chunks/{form-qse2fwzv.js → git-agncyf5y.js} +10 -10
- package/dist/chunks/{form-z0rftk5n.js → git-ahfrvp8e.js} +3 -3
- package/dist/chunks/{form-hzz8n40p.js → git-as0rc94k.js} +7 -7
- package/dist/chunks/{form-e2x20gr3.js → git-ay4dh4hp.js} +156 -156
- package/dist/chunks/{form-r83yw8wf.js → git-az32jagd.js} +37 -37
- package/dist/chunks/{form-gqtdsdt7.js → git-azwe5p1w.js} +4 -4
- package/dist/chunks/{form-tm0kqsz3.js → git-b11a7tx7.js} +4 -3
- package/dist/chunks/{form-qxbakmsa.js → git-b45fb4vj.js} +11 -11
- package/dist/chunks/{form-vr2brrr8.js → git-bhbvgsmn.js} +20 -20
- package/dist/chunks/{form-ywt8jp22.js → git-bjx1sjef.js} +9 -9
- package/dist/chunks/{form-hptzwsnd.js → git-brg3ghwg.js} +5 -5
- package/dist/chunks/{form-jj6wv1pj.js → git-bvq8t8gc.js} +3 -3
- package/dist/chunks/{form-d2bpn3vr.js → git-c82keb0s.js} +11 -11
- package/dist/chunks/{form-4mwpykj0.js → git-c8bydgjz.js} +6 -6
- package/dist/chunks/{form-mtpeagzc.js → git-c8zwaxmp.js} +3 -3
- package/dist/chunks/{form-23cg475f.js → git-cdsx0e8y.js} +11 -11
- package/dist/chunks/{form-zaq0zjc7.js → git-ce72n6fj.js} +8 -8
- package/dist/chunks/{form-yh885z4g.js → git-cktnysrk.js} +25 -25
- package/dist/chunks/{form-cwa6csj7.js → git-cpneeje0.js} +9 -9
- package/dist/chunks/{form-dcezxpa9.js → git-csntcvgq.js} +17 -17
- package/dist/chunks/{form-rqm8fqta.js → git-ctkkzvg7.js} +17 -17
- package/dist/chunks/{form-d1wmmgpz.js → git-cv4k33jc.js} +3 -3
- package/dist/chunks/{form-b6ee0mz0.js → git-cvza8xe0.js} +45 -45
- package/dist/chunks/{form-xteysx5g.js → git-d8pehzym.js} +28 -28
- package/dist/chunks/{form-dgzq35zb.js → git-dgzq35zb.js} +3 -3
- package/dist/chunks/{form-ed1g29hy.js → git-dh62xe4r.js} +4 -6
- package/dist/chunks/{form-vx8n1q2f.js → git-dhjfm1wm.js} +18 -18
- package/dist/chunks/{form-zcrspsvn.js → git-dhmh7aw6.js} +4 -4
- package/dist/chunks/{form-fptceakp.js → git-djkp474z.js} +45 -45
- package/dist/chunks/{form-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{form-wp7ag42z.js → git-dr294h6q.js} +30 -30
- package/dist/chunks/{form-4240acyr.js → git-dsx6a57s.js} +12 -12
- package/dist/chunks/{form-rwbh6jmv.js → git-dwfwpy83.js} +26 -26
- package/dist/chunks/{form-0gdmqesm.js → git-eaj1djv9.js} +8 -8
- package/dist/chunks/{form-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{form-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{form-fp3pxq9j.js → git-eg99zdc0.js} +11 -11
- package/dist/chunks/{form-m1cp809k.js → git-eh0dtbcs.js} +9 -9
- package/dist/chunks/{form-dg7zdyb1.js → git-ejb6r5n5.js} +18 -18
- package/dist/chunks/{form-txcxq65b.js → git-ekg02csz.js} +25 -25
- package/dist/chunks/{form-n3d5pb88.js → git-em208xvc.js} +19 -19
- package/dist/chunks/{form-jbx74xhg.js → git-es2mt76j.js} +12 -12
- package/dist/chunks/{form-m1vtybs6.js → git-etr37avf.js} +4 -4
- package/dist/chunks/{form-a22nawqy.js → git-f1860mdz.js} +22 -22
- package/dist/chunks/{form-4cjtq72a.js → git-f3rqa553.js} +7 -7
- package/dist/chunks/{form-fcy631f0.js → git-fcy631f0.js} +1 -1
- package/dist/chunks/{form-555zyyej.js → git-fdj2wyrs.js} +10 -10
- package/dist/chunks/{form-1g3gwk2z.js → git-ffjr7bk7.js} +3 -3
- package/dist/chunks/{form-ppy8n5rb.js → git-fnkqbbf8.js} +13 -13
- package/dist/chunks/{form-9dxjs7sq.js → git-fvae25xa.js} +4 -4
- package/dist/chunks/{form-2c942fag.js → git-fvtbw1ps.js} +24 -24
- package/dist/chunks/{form-5nw065t4.js → git-fzmgk69d.js} +5 -5
- package/dist/chunks/{form-rs6bz05r.js → git-g6zeyhbf.js} +32 -32
- package/dist/chunks/{form-44ebccsv.js → git-g7semt5k.js} +12 -12
- package/dist/chunks/{form-mx35zq31.js → git-g814k5hs.js} +33 -33
- package/dist/chunks/{form-wp2t38dg.js → git-gafq12ew.js} +18 -18
- package/dist/chunks/{form-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{form-581y63dt.js → git-gj1rejx4.js} +9 -9
- package/dist/chunks/{form-7z27y5ft.js → git-gk2m5qpw.js} +18 -18
- package/dist/chunks/{form-eb59rt6g.js → git-gk7yd4ff.js} +21 -21
- package/dist/chunks/{form-ds0xwmnc.js → git-gngf0wfh.js} +45 -45
- package/dist/chunks/{form-w9fyvhpg.js → git-h45f43kn.js} +40 -40
- package/dist/chunks/{form-4jv8yfzb.js → git-h63qpt9b.js} +29 -29
- package/dist/chunks/{form-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{form-3kbekj0y.js → git-h9hy2g73.js} +28 -28
- package/dist/chunks/{form-1w6dzaea.js → git-hdhpzd46.js} +26 -26
- package/dist/chunks/{form-8bajgbmy.js → git-hdkgpk5r.js} +4 -4
- package/dist/chunks/{form-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{form-zbqwxq10.js → git-hkv9jwhg.js} +35 -35
- package/dist/chunks/{form-kg45811x.js → git-hsms78xt.js} +20 -20
- package/dist/chunks/{form-dhpppt5y.js → git-j1v11s00.js} +18 -18
- package/dist/chunks/{form-zhvzg80z.js → git-j6rfa7dw.js} +5 -5
- package/dist/chunks/{form-prytbjkr.js → git-jasvhrrp.js} +14 -14
- package/dist/chunks/{form-mhdmgddq.js → git-jfeqebap.js} +32 -32
- package/dist/chunks/{form-7sbn2nrf.js → git-jn0tk1mz.js} +7 -7
- package/dist/chunks/{form-gdn3wds6.js → git-jqrqgbm9.js} +8 -8
- package/dist/chunks/{form-hjhsp0kf.js → git-k0qjhrm4.js} +11 -11
- package/dist/chunks/{form-b61k6ame.js → git-k3bbdj91.js} +16 -16
- package/dist/chunks/{form-awmarwrv.js → git-k3f29ntv.js} +11 -11
- package/dist/chunks/{form-35kkhned.js → git-k4pq24kd.js} +11 -11
- package/dist/chunks/{form-hes1j7ga.js → git-k7myrtme.js} +9 -9
- package/dist/chunks/{form-4wsv5c1t.js → git-k8n34jy8.js} +10 -15
- package/dist/chunks/{form-kj7h7wvk.js → git-kcve38p7.js} +28 -28
- package/dist/chunks/{form-khmqacep.js → git-khmqacep.js} +1 -1
- package/dist/chunks/{form-g6yfr6ja.js → git-kjdm35cs.js} +5 -5
- package/dist/chunks/{form-qrj5j2rw.js → git-kmt4h04r.js} +19 -19
- package/dist/chunks/{form-kwb1v3vj.js → git-kwb1v3vj.js} +1 -1
- package/dist/chunks/{form-zxwf9a1d.js → git-m1ppqtea.js} +7 -7
- package/dist/chunks/{form-y05mj14p.js → git-m4c0swtf.js} +7 -7
- package/dist/chunks/{form-mg47wcxc.js → git-m6ebyez9.js} +4 -4
- package/dist/chunks/{form-016766j9.js → git-m9c621cz.js} +15 -15
- package/dist/chunks/{form-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{form-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{form-hxds782p.js → git-maywb9z2.js} +70 -70
- package/dist/chunks/{form-fn9ftacf.js → git-mmkn5258.js} +30 -30
- package/dist/chunks/{form-n90cc1d7.js → git-mn5t5fa7.js} +20 -20
- package/dist/chunks/{form-5tj8nqep.js → git-mtj52ym5.js} +7 -7
- package/dist/chunks/{form-4myhz5et.js → git-n2se56j1.js} +11 -11
- package/dist/chunks/{form-rgv41h4e.js → git-n9g83tx9.js} +44 -44
- package/dist/chunks/{form-sbaf2nx7.js → git-nccy3da8.js} +14 -14
- package/dist/chunks/{form-04pgjytt.js → git-ngzhnc9a.js} +21 -21
- package/dist/chunks/{form-jqppps04.js → git-nvcb2me1.js} +11 -11
- package/dist/chunks/{form-t5wqwvpt.js → git-nx9zwmb9.js} +19 -19
- package/dist/chunks/{form-v13b12ef.js → git-nz56sr1f.js} +5 -5
- package/dist/chunks/{form-vxmetbc4.js → git-p27t94xr.js} +11 -11
- package/dist/chunks/{form-k6tr81d3.js → git-p7ev6qnr.js} +11 -11
- package/dist/chunks/{form-06xsmntz.js → git-pgt61v87.js} +2 -2
- package/dist/chunks/{form-8advq6hn.js → git-pjcyby8a.js} +173 -173
- package/dist/chunks/{form-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{form-ryh6wemf.js → git-pjvyabz4.js} +28 -28
- package/dist/chunks/{form-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{form-prpepx7q.js → git-pm2y453h.js} +29 -29
- package/dist/chunks/{form-sxtjavh1.js → git-pq5a4ran.js} +11 -11
- package/dist/chunks/{form-myjjf3z2.js → git-pqjcpngk.js} +21 -21
- package/dist/chunks/{form-kpwafw7z.js → git-pqyspz9z.js} +13 -13
- package/dist/chunks/{form-h71w788e.js → git-prq7hedt.js} +9 -9
- package/dist/chunks/{form-725pwqma.js → git-prxss26z.js} +16 -16
- package/dist/chunks/{form-yjv8c9gv.js → git-q045kj7b.js} +5 -5
- package/dist/chunks/{form-1m7xhcrz.js → git-q464k4a6.js} +13 -13
- package/dist/chunks/{form-5b6y4xvt.js → git-q5hqqeac.js} +4 -4
- package/dist/chunks/{form-4873sk86.js → git-qdvvjbfp.js} +19 -19
- package/dist/chunks/{form-qgn6gcr1.js → git-qgn6gcr1.js} +1 -1
- package/dist/chunks/{form-61k5npwt.js → git-qpa60a4m.js} +24 -24
- package/dist/chunks/{form-z7egd2a4.js → git-qr731nbc.js} +17 -17
- package/dist/chunks/{form-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{form-edrm97qd.js → git-qyh37hhk.js} +18 -18
- package/dist/chunks/{form-8jrmvma7.js → git-qzf8qtbx.js} +71 -71
- package/dist/chunks/{form-51nq886d.js → git-r1rse4mj.js} +22 -22
- package/dist/chunks/{form-sk60y1at.js → git-r3wyhjqy.js} +33 -33
- package/dist/chunks/{form-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{form-ky6kp414.js → git-rgzdvt91.js} +9 -9
- package/dist/chunks/{form-msbm8nhp.js → git-rkgn1fma.js} +2 -2
- package/dist/chunks/{form-pq3ytayb.js → git-rm9a2m7z.js} +28 -28
- package/dist/chunks/{form-wc14v8ca.js → git-rnynx9aw.js} +22 -22
- package/dist/chunks/{form-5r05bxdk.js → git-rtjqkxxy.js} +50 -50
- package/dist/chunks/{form-qa3qhgw8.js → git-ryr25ayn.js} +4 -4
- package/dist/chunks/{form-tb727afn.js → git-s7wzxfez.js} +33 -33
- package/dist/chunks/{form-mxt12g5z.js → git-sb84grnh.js} +15 -15
- package/dist/chunks/{form-2w245n37.js → git-sgrqfx2c.js} +22 -22
- package/dist/chunks/{form-cmr35qp5.js → git-sm06pc4g.js} +25 -25
- package/dist/chunks/{form-gd8jdxd3.js → git-srmfrpqt.js} +11 -11
- package/dist/chunks/{form-jjb12tdg.js → git-stacx7tb.js} +24 -24
- package/dist/chunks/{form-t96cs5ce.js → git-svw6f5x1.js} +4 -4
- package/dist/chunks/{form-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{form-nk28bvce.js → git-t7gdp873.js} +12 -12
- package/dist/chunks/{form-0803f5qt.js → git-t95zrypp.js} +8 -8
- package/dist/chunks/{form-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{form-772b1pf2.js → git-tdspb0v5.js} +6 -6
- package/dist/chunks/{form-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{form-11n2qc1w.js → git-tfzdz0jf.js} +16 -16
- package/dist/chunks/{form-mqmr3v55.js → git-tpfmwr0g.js} +6 -6
- package/dist/chunks/{form-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{form-0rmvh565.js → git-v0fadmm9.js} +20 -20
- package/dist/chunks/{form-g686f6pq.js → git-v1vh7s4p.js} +9 -9
- package/dist/chunks/{form-yg2pn9b7.js → git-v36djqsc.js} +5 -5
- package/dist/chunks/{form-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{form-1avk3spj.js → git-vep09gcq.js} +2 -2
- package/dist/chunks/{form-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{form-x2wh3pjk.js → git-vr1hykcj.js} +16 -16
- package/dist/chunks/{form-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{form-ac224h82.js → git-w11ge2qy.js} +13 -20
- package/dist/chunks/{form-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{form-g13qewtb.js → git-w4ca3e8f.js} +6 -6
- package/dist/chunks/{form-ye8nnmax.js → git-w6zk8pbt.js} +8 -8
- package/dist/chunks/{form-0wg788cr.js → git-w89a0he1.js} +28 -28
- package/dist/chunks/{form-6pc27hjz.js → git-w92k2e0p.js} +4 -4
- package/dist/chunks/{form-wakvkjy4.js → git-wakvkjy4.js} +1 -1
- package/dist/chunks/git-wb8h950a.js +26 -0
- package/dist/chunks/{form-xafejemj.js → git-wc27sy1k.js} +1 -1
- package/dist/chunks/{form-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{form-sawf26wz.js → git-wdagq6eq.js} +41 -43
- package/dist/chunks/{form-xbwfvkb6.js → git-wgqskqg5.js} +20 -20
- package/dist/chunks/{form-bkjx84ct.js → git-wqep6wv0.js} +15 -15
- package/dist/chunks/{form-pwdns4hw.js → git-x19mcxm9.js} +5 -5
- package/dist/chunks/{form-mwcxzzpp.js → git-x2xnwx9t.js} +8 -8
- package/dist/chunks/{form-sjzb79xx.js → git-x4a11yf2.js} +8 -8
- package/dist/chunks/{form-jdtqvfs1.js → git-x5gg2x23.js} +9 -9
- package/dist/chunks/{form-a50jwcz2.js → git-x5h1z4jc.js} +15 -15
- package/dist/chunks/{form-fhdzhsn5.js → git-xe5c1mcr.js} +30 -30
- package/dist/chunks/{form-kh7axb5n.js → git-xngs254n.js} +11 -11
- package/dist/chunks/{form-936v1wb5.js → git-xqk5648a.js} +4 -4
- package/dist/chunks/{form-xw9fg8fb.js → git-xw9fg8fb.js} +2 -2
- package/dist/chunks/{form-2wef4h5g.js → git-y0p0xn3x.js} +47 -47
- package/dist/chunks/{form-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{form-bapqkk7v.js → git-ya38tq17.js} +3 -3
- package/dist/chunks/{form-me9v5sdg.js → git-yh6fzqae.js} +3 -3
- package/dist/chunks/{form-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{form-4475rdhr.js → git-z0d2xsg0.js} +19 -19
- package/dist/chunks/{form-z18fegx4.js → git-z18fegx4.js} +1 -1
- package/dist/chunks/{form-jv2rx0fh.js → git-z3qbvfgt.js} +16 -16
- package/dist/chunks/{form-ajtbt6ny.js → git-z935fmwk.js} +13 -13
- package/dist/chunks/{form-tjgry73g.js → git-ze22k4ya.js} +23 -23
- package/dist/chunks/{form-xh7vdwvp.js → git-zgt9y5t0.js} +29 -29
- package/dist/chunks/{form-whkpkx14.js → git-zjzgbraa.js} +29 -29
- package/dist/chunks/{form-b37y94hj.js → git-zn7y4wfm.js} +11 -11
- package/dist/chunks/{form-0w5vvvza.js → git-zn9kb932.js} +14 -14
- package/dist/chunks/{form-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{form-zxq2ej10.js → git-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- 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 +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +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 +364 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +109 -108
- 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 +360 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +153 -152
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +357 -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 +109 -109
- package/dist/mcp/instructions.js +136 -136
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +101 -100
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +111 -111
- 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 +5 -5
- package/dist/plugin/internal.js +332 -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 +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -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 +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -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 +351 -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 +4 -4
- 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 +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +130 -129
- package/dist/session/generate.js +166 -166
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +93 -93
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +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 +128 -127
- package/dist/session/projector.js +89 -89
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -100
- package/dist/session/runner/publish-llm-event.js +116 -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 +165 -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 +87 -87
- 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 +114 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +128 -128
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +217 -217
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +4 -2
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/types/tool/runtime.d.ts +1 -0
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +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 +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- 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/form-1kg9ymc8.js +0 -6
- package/dist/chunks/form-2axfhc9x.js +0 -49
- package/dist/chunks/form-d8membp7.js +0 -26
- package/dist/chunks/form-dxj72tfx.js +0 -18
- package/dist/types/util/error.d.ts +0 -273
- package/dist/types/util/iife.d.ts +0 -1
- package/dist/types/v1/config/error.d.ts +0 -393
- package/dist/util/error.js +0 -6
- package/dist/util/iife.js +0 -6
- package/dist/v1/config/error.js +0 -27
- /package/dist/chunks/{form-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{form-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{form-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{form-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{form-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{form-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{form-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{form-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{form-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{form-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{form-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{form-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{form-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{form-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{form-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{form-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{form-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{form-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{form-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{form-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{form-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{form-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{form-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{form-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{form-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{form-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{form-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{form-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{form-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{form-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{form-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{form-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{form-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{form-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{form-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{form-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{form-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{form-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{form-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{form-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{form-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{form-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{form-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{form-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{form-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{form-e3qxr5gk.js → git-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{form-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{form-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{form-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{form-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{form-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{form-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{form-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{form-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{form-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{form-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{form-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{form-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{form-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{form-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{form-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{form-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{form-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{form-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{form-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{form-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{form-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{form-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{form-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{form-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{form-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{form-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{form-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{form-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{form-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{form-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{form-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{form-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{form-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{form-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{form-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{form-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{form-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{form-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{form-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{form-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{form-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{form-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{form-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{form-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{form-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{form-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{form-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{form-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{form-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{form-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{form-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{form-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{form-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-ya38tq17.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service49
|
|
6
|
+
} from "./git-c8bydgjz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
preview2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./git-jqrqgbm9.js";
|
|
13
13
|
import {
|
|
14
14
|
baseTranscript2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./git-d8pehzym.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service27
|
|
18
|
+
} from "./git-9r8etyzv.js";
|
|
19
19
|
import {
|
|
20
20
|
retry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./git-fcy631f0.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./git-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate2
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service49;
|
|
36
36
|
const database = yield* Service86;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service27;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, model.ref);
|
|
@@ -71,4 +71,4 @@ var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate2,
|
|
74
|
+
export { generate2, exports_generate2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node85
|
|
4
|
+
} from "./git-7ww6rt9p.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./git-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service20,
|
|
17
|
+
node: () => node23
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service20 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
27
27
|
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service20.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node23 = makeLocationNode({
|
|
91
|
+
service: Service20,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service20, node23, exports_formatter2 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./git-cvza8xe0.js";
|
|
4
4
|
import {
|
|
5
5
|
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service42
|
|
10
|
+
} from "./git-wgqskqg5.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
16
|
var exports_skill2 = {};
|
|
17
17
|
__export(exports_skill2, {
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
18
|
+
Input: () => Input2,
|
|
19
|
+
Output: () => Output2,
|
|
20
|
+
Plugin: () => Plugin18,
|
|
21
21
|
SkillTool: () => exports_skill2,
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name2,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
29
|
+
var name2 = "skill";
|
|
30
|
+
var Input2 = Schema.Struct({
|
|
31
31
|
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output2 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description4 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin18 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service42;
|
|
51
|
+
const permission = yield* Service52;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name2,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input2,
|
|
57
|
+
output: Output2,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name2,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin26 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name2, Input2, Output2, description2, toModelOutput2, Plugin18, exports_skill2 };
|
|
@@ -1,58 +1,58 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./git-hdkgpk5r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service72,
|
|
7
|
+
node76
|
|
8
|
+
} from "./git-f1860mdz.js";
|
|
9
9
|
import {
|
|
10
10
|
Service82,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
node86
|
|
12
|
+
} from "./git-3bs3s307.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
15
|
Service81,
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
node85
|
|
17
|
+
} from "./git-7ww6rt9p.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./git-rkgn1fma.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service52,
|
|
26
|
+
node54
|
|
27
|
+
} from "./git-cvza8xe0.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service23,
|
|
30
|
+
node26
|
|
31
|
+
} from "./git-59q5jpsh.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./git-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: () => Service13,
|
|
41
|
+
node: () => node15
|
|
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 Service13 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service85;
|
|
52
52
|
const location = yield* Service81;
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
53
|
+
const permission = yield* Service52;
|
|
54
|
+
const forms = yield* Service72;
|
|
55
|
+
const rpc = yield* Service23;
|
|
56
56
|
const project = yield* Service82;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
@@ -80,15 +80,15 @@ var layer = Layer.effect(Service7, Effect.gen(function* () {
|
|
|
80
80
|
});
|
|
81
81
|
}).pipe(Effect.ensuring(Deferred.succeed(done, undefined)));
|
|
82
82
|
}).pipe(Effect.uninterruptible);
|
|
83
|
-
return
|
|
83
|
+
return Service13.of({
|
|
84
84
|
isClosed: () => closed,
|
|
85
85
|
shutdown
|
|
86
86
|
});
|
|
87
87
|
}));
|
|
88
|
-
var
|
|
89
|
-
service:
|
|
88
|
+
var node15 = makeLocationNode({
|
|
89
|
+
service: Service13,
|
|
90
90
|
layer,
|
|
91
|
-
deps: [node89,
|
|
91
|
+
deps: [node89, node85, node54, node86, node76, node26]
|
|
92
92
|
});
|
|
93
93
|
|
|
94
|
-
export {
|
|
94
|
+
export { Service13, node15, exports_location_lifecycle };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-pq5a4ran.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-hdkgpk5r.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event16
|
|
10
|
+
} from "./git-dr294h6q.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-azwe5p1w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID12,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./git-h9hy2g73.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service18
|
|
21
|
+
} from "./git-38g0rc9e.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID11,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./git-fvtbw1ps.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./git-rm9a2m7z.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-yh6fzqae.js";
|
|
34
34
|
import {
|
|
35
35
|
InvalidRequestError2,
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
36
|
+
UnavailableError4,
|
|
37
|
+
Service66
|
|
38
|
+
} from "./git-qpa60a4m.js";
|
|
39
39
|
import {
|
|
40
40
|
ID3,
|
|
41
41
|
Input14,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./git-1558q6r0.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import {
|
|
@@ -136,7 +136,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
136
136
|
}
|
|
137
137
|
function oauth(http) {
|
|
138
138
|
return {
|
|
139
|
-
integrationID:
|
|
139
|
+
integrationID: ID12.make("opencode"),
|
|
140
140
|
method: {
|
|
141
141
|
id: methodID,
|
|
142
142
|
type: "oauth",
|
|
@@ -204,8 +204,8 @@ var OpencodePlugin2 = define({
|
|
|
204
204
|
const bus = yield* Service85;
|
|
205
205
|
const client = yield* HttpClient.HttpClient;
|
|
206
206
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
207
|
-
const managed = yield*
|
|
208
|
-
const voice = yield*
|
|
207
|
+
const managed = yield* Service18;
|
|
208
|
+
const voice = yield* Service66;
|
|
209
209
|
const scope = yield* Scope.Scope;
|
|
210
210
|
const loading = Semaphore.makeUnsafe(1);
|
|
211
211
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -257,22 +257,22 @@ var OpencodePlugin2 = define({
|
|
|
257
257
|
}).pipe(Effect.provideService(FetchHttpClient.RequestInit, { redirect: "error" }), Effect.scoped, Effect.timeoutOrElse({
|
|
258
258
|
duration: Duration.seconds(20),
|
|
259
259
|
orElse: () => Effect.fail(new Error("OpenCode Console didn't answer in time"))
|
|
260
|
-
}), Effect.mapError((cause) => new
|
|
260
|
+
}), Effect.mapError((cause) => new UnavailableError4({
|
|
261
261
|
service: "opencode",
|
|
262
262
|
message: cause instanceof Error ? cause.message : String(cause)
|
|
263
263
|
})), Effect.flatMap((reply) => {
|
|
264
264
|
if (reply.status >= 200 && reply.status < 300)
|
|
265
265
|
return Effect.succeed(reply.text);
|
|
266
266
|
if (reply.status === 401)
|
|
267
|
-
return Effect.fail(new
|
|
267
|
+
return Effect.fail(new UnavailableError4({ service: "opencode", message: `${signedOutMessage}.` }));
|
|
268
268
|
const message = Option.getOrUndefined(Schema.decodeUnknownOption(InferenceError)(reply.text))?.error.message ?? `OpenCode Console refused the voice request (HTTP ${reply.status})`;
|
|
269
|
-
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new
|
|
269
|
+
return Effect.fail(reply.status === 400 || reply.status === 404 ? new InvalidRequestError2({ message }) : new UnavailableError4({ service: "opencode", message }));
|
|
270
270
|
}));
|
|
271
271
|
return {
|
|
272
272
|
integration: "opencode",
|
|
273
273
|
models: offer.models,
|
|
274
274
|
workspace: offer.workspace,
|
|
275
|
-
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new
|
|
275
|
+
session: (input) => send("/live/sessions", { session: { ...input.session, model: input.model }, transport: input.transport }).pipe(Effect.flatMap((text) => Schema.decodeUnknownEffect(LiveSession)(text).pipe(Effect.mapError(() => new UnavailableError4({
|
|
276
276
|
service: "opencode",
|
|
277
277
|
message: "OpenCode Console returned an invalid voice session"
|
|
278
278
|
})))), Effect.map((created) => ({
|
|
@@ -306,7 +306,7 @@ var OpencodePlugin2 = define({
|
|
|
306
306
|
providers.update(providerID, (provider) => {
|
|
307
307
|
if (source && source.provider !== provider)
|
|
308
308
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
309
|
-
provider.integrationID =
|
|
309
|
+
provider.integrationID = ID12.make("opencode");
|
|
310
310
|
if (item.canonical !== undefined)
|
|
311
311
|
provider.canonical = item.canonical;
|
|
312
312
|
if (item.name !== undefined)
|
|
@@ -380,7 +380,7 @@ var OpencodePlugin2 = define({
|
|
|
380
380
|
sourceConnection: snapshot.connection
|
|
381
381
|
});
|
|
382
382
|
}
|
|
383
|
-
const item = providers.get(
|
|
383
|
+
const item = providers.get(ID11.opencode);
|
|
384
384
|
if (!item)
|
|
385
385
|
return;
|
|
386
386
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -392,7 +392,7 @@ var OpencodePlugin2 = define({
|
|
|
392
392
|
});
|
|
393
393
|
});
|
|
394
394
|
yield* ctx.model.transform((models) => {
|
|
395
|
-
const item = models.provider.get(
|
|
395
|
+
const item = models.provider.get(ID11.opencode);
|
|
396
396
|
if (!item)
|
|
397
397
|
return;
|
|
398
398
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -481,7 +481,7 @@ var OpencodePlugin2 = define({
|
|
|
481
481
|
});
|
|
482
482
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
483
483
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
484
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
484
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID11.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
485
485
|
});
|
|
486
486
|
yield* guard(snapshot);
|
|
487
487
|
const polling = yield* FiberHandle.make();
|
|
@@ -492,7 +492,7 @@ var OpencodePlugin2 = define({
|
|
|
492
492
|
onlyIfMissing: true
|
|
493
493
|
});
|
|
494
494
|
});
|
|
495
|
-
yield* bus.subscribe(
|
|
495
|
+
yield* bus.subscribe(Event16.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
496
496
|
yield* poll();
|
|
497
497
|
})
|
|
498
498
|
});
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./git-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service74,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node78
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service74 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -121,7 +121,7 @@ var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
|
121
121
|
yield* fs.writeWithDirs(file, bytes).pipe(Effect.orDie);
|
|
122
122
|
return file;
|
|
123
123
|
});
|
|
124
|
-
return
|
|
124
|
+
return Service74.of({
|
|
125
125
|
transform: state.transform,
|
|
126
126
|
reload: state.reload,
|
|
127
127
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node78 = makeLocationNode({
|
|
143
|
+
service: Service74,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service74, node78, exports_tool_output2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-pq5a4ran.js";
|
|
4
4
|
import {
|
|
5
5
|
collectBoundedResponseBody2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-3v8g72cx.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
MAX_RESPONSE_BYTES2,
|
|
9
9
|
call2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-bjx1sjef.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./git-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/websearch/tinyfish.ts
|
|
16
16
|
var exports_tinyfish = {};
|
|
17
17
|
__export(exports_tinyfish, {
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin8,
|
|
19
19
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
20
|
-
endpoint: () =>
|
|
20
|
+
endpoint: () => endpoint4
|
|
21
21
|
});
|
|
22
22
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
23
23
|
import { Duration, Effect, Option, Schema } from "effect";
|
|
24
24
|
import { HttpClient, HttpClientRequest } from "effect/http";
|
|
25
|
-
var
|
|
25
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
26
26
|
var McpInput = Schema.Struct({
|
|
27
27
|
query: Schema.String
|
|
28
28
|
});
|
|
@@ -51,7 +51,7 @@ var InitializedNotification = Schema.Struct({
|
|
|
51
51
|
jsonrpc: Schema.Literal("2.0"),
|
|
52
52
|
method: Schema.Literal("notifications/initialized")
|
|
53
53
|
});
|
|
54
|
-
var
|
|
54
|
+
var Plugin8 = define({
|
|
55
55
|
id: "opencode.websearch.tinyfish",
|
|
56
56
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
57
57
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -78,7 +78,7 @@ var Plugin36 = define({
|
|
|
78
78
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
79
79
|
};
|
|
80
80
|
const session = credential?.type === "key" ? yield* initialize(http, headers) : undefined;
|
|
81
|
-
const result = yield* call2(http,
|
|
81
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, { ...headers, ...session === undefined ? {} : { "Mcp-Session-Id": session } });
|
|
82
82
|
const content = result?.content.find((item) => item.text);
|
|
83
83
|
const response = content ? Option.getOrUndefined(decodeSearchResponse(content.text)) : undefined;
|
|
84
84
|
return response?.results.map((item) => ({
|
|
@@ -94,7 +94,7 @@ var Plugin36 = define({
|
|
|
94
94
|
});
|
|
95
95
|
var initialize = (http, headers) => Effect.gen(function* () {
|
|
96
96
|
const client = HttpClient.withScope(HttpClient.filterStatusOk(http));
|
|
97
|
-
const request = yield* HttpClientRequest.post(
|
|
97
|
+
const request = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders(headers), HttpClientRequest.schemaBodyJson(InitializeRequest)({
|
|
98
98
|
jsonrpc: "2.0",
|
|
99
99
|
id: 1,
|
|
100
100
|
method: "initialize",
|
|
@@ -105,11 +105,11 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
105
105
|
}
|
|
106
106
|
}));
|
|
107
107
|
const response = yield* client.execute(request);
|
|
108
|
-
yield* collectBoundedResponseBody2(response,
|
|
108
|
+
yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`initialize response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
109
109
|
const session = response.headers["mcp-session-id"];
|
|
110
110
|
if (session === undefined)
|
|
111
111
|
return yield* Effect.fail(new Error("TinyFish MCP initialize did not return an Mcp-Session-Id header"));
|
|
112
|
-
const notification = yield* HttpClientRequest.post(
|
|
112
|
+
const notification = yield* HttpClientRequest.post(endpoint4).pipe(HttpClientRequest.accept("application/json, text/event-stream"), HttpClientRequest.setHeaders({ ...headers, "Mcp-Session-Id": session }), HttpClientRequest.schemaBodyJson(InitializedNotification)({
|
|
113
113
|
jsonrpc: "2.0",
|
|
114
114
|
method: "notifications/initialized"
|
|
115
115
|
}));
|
|
@@ -120,4 +120,4 @@ var initialize = (http, headers) => Effect.gen(function* () {
|
|
|
120
120
|
orElse: () => Effect.fail(new Error("TinyFish initialize request timed out"))
|
|
121
121
|
}));
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { endpoint4, Plugin8, exports_tinyfish };
|