@opencode/core 0.0.0-dev-21460 → 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 +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{repository-cache-bfnqc4d0.js → form-016766j9.js} +18 -18
- package/dist/chunks/{repository-cache-y2vmg8pj.js → form-01cqkeg5.js} +15 -15
- package/dist/chunks/{repository-cache-aj7mw0zk.js → form-034tev2y.js} +2 -2
- package/dist/chunks/{repository-cache-cq0ra0jh.js → form-04pgjytt.js} +18 -18
- package/dist/chunks/{repository-cache-6ac9zck1.js → form-06xsmntz.js} +2 -2
- package/dist/chunks/{repository-cache-cg54xxwj.js → form-0803f5qt.js} +12 -12
- package/dist/chunks/{repository-cache-0gdmqesm.js → form-0gdmqesm.js} +1 -1
- package/dist/chunks/{repository-cache-v210v162.js → form-0javqkgf.js} +9 -9
- package/dist/chunks/{repository-cache-s8764fh1.js → form-0rmvh565.js} +22 -22
- package/dist/chunks/{repository-cache-0vbcp93d.js → form-0vbcp93d.js} +2 -2
- package/dist/chunks/{repository-cache-w95yk9fa.js → form-0w5vvvza.js} +14 -14
- package/dist/chunks/{repository-cache-4tsdpayj.js → form-0wg788cr.js} +27 -27
- package/dist/chunks/{repository-cache-j4xwnxxe.js → form-11n2qc1w.js} +22 -22
- package/dist/chunks/{repository-cache-khan5c8r.js → form-14mvz572.js} +21 -21
- package/dist/chunks/{repository-cache-4n1wqqn5.js → form-1avk3spj.js} +2 -2
- package/dist/chunks/{repository-cache-27w5k9zf.js → form-1ep2p91f.js} +2 -2
- package/dist/chunks/{repository-cache-mt8bq6wm.js → form-1g3gwk2z.js} +3 -3
- package/dist/chunks/{repository-cache-vzvdzsp8.js → form-1m7xhcrz.js} +15 -15
- package/dist/chunks/{repository-cache-eh4p6hf5.js → form-1w6dzaea.js} +31 -31
- package/dist/chunks/{repository-cache-09ypmjbv.js → form-1zzvd88w.js} +4 -4
- package/dist/chunks/{repository-cache-1p6gkt63.js → form-20v7rmhc.js} +48 -48
- package/dist/chunks/{repository-cache-djg74ehg.js → form-23cg475f.js} +11 -11
- package/dist/chunks/{repository-cache-5ky00pdm.js → form-2c942fag.js} +33 -33
- package/dist/chunks/{repository-cache-bfvhqt57.js → form-2tq7hcqy.js} +6 -6
- package/dist/chunks/{repository-cache-7q5zkc9a.js → form-2w245n37.js} +20 -20
- package/dist/chunks/{repository-cache-c2qmhs8t.js → form-2wef4h5g.js} +53 -53
- package/dist/chunks/{repository-cache-e4514827.js → form-30zggejz.js} +34 -34
- package/dist/chunks/{repository-cache-fk6x8bjb.js → form-35kkhned.js} +11 -11
- package/dist/chunks/{repository-cache-3hepkmqq.js → form-3hepkmqq.js} +1 -1
- package/dist/chunks/{repository-cache-3hwn7j4h.js → form-3hwn7j4h.js} +2 -2
- package/dist/chunks/{repository-cache-qaejpsje.js → form-3kbekj0y.js} +29 -29
- package/dist/chunks/{repository-cache-s441vsqw.js → form-3mgfngs8.js} +45 -45
- package/dist/chunks/{repository-cache-kmj26603.js → form-3t06g8dq.js} +6 -6
- package/dist/chunks/{repository-cache-3tvqynh2.js → form-3tvqynh2.js} +1 -1
- package/dist/chunks/{repository-cache-3zsf4n22.js → form-3zsf4n22.js} +1 -1
- package/dist/chunks/{repository-cache-2wt8nezh.js → form-4240acyr.js} +19 -19
- package/dist/chunks/{repository-cache-g8bf95t1.js → form-4475rdhr.js} +21 -21
- package/dist/chunks/{repository-cache-k7frbprm.js → form-44ebccsv.js} +14 -14
- package/dist/chunks/{repository-cache-4r758bxz.js → form-4873sk86.js} +31 -31
- package/dist/chunks/{repository-cache-80scg3y3.js → form-4bm5ja14.js} +4 -4
- package/dist/chunks/{repository-cache-w97r3myk.js → form-4cjtq72a.js} +4 -4
- package/dist/chunks/{repository-cache-b5cvzhy7.js → form-4jv8yfzb.js} +32 -32
- package/dist/chunks/{repository-cache-mx9vqzsb.js → form-4mwpykj0.js} +6 -6
- package/dist/chunks/{repository-cache-thdw9z92.js → form-4myhz5et.js} +11 -11
- package/dist/chunks/{repository-cache-wdj21rq2.js → form-4wsv5c1t.js} +3 -3
- package/dist/chunks/{repository-cache-rb3bf4ta.js → form-51nq886d.js} +24 -24
- package/dist/chunks/{repository-cache-54ma36ye.js → form-54ma36ye.js} +1 -1
- package/dist/chunks/{repository-cache-sy8aafnh.js → form-555zyyej.js} +12 -12
- package/dist/chunks/{repository-cache-hwjkc1fd.js → form-581y63dt.js} +9 -9
- package/dist/chunks/{repository-cache-0krdeasz.js → form-5b6y4xvt.js} +4 -4
- package/dist/chunks/{repository-cache-5m9w47nd.js → form-5m9w47nd.js} +1 -1
- package/dist/chunks/{repository-cache-0fhevdjt.js → form-5nw065t4.js} +5 -5
- package/dist/chunks/{repository-cache-9ts5gs6y.js → form-5r05bxdk.js} +50 -50
- package/dist/chunks/{repository-cache-xsd5t8ts.js → form-5tj8nqep.js} +7 -7
- package/dist/chunks/{repository-cache-92swnv4m.js → form-5y480sgp.js} +8 -8
- package/dist/chunks/{repository-cache-q3q02nra.js → form-61k5npwt.js} +24 -24
- package/dist/chunks/{repository-cache-6827pfxn.js → form-6827pfxn.js} +1 -1
- package/dist/chunks/{repository-cache-etbdxt5c.js → form-6mb40wrd.js} +13 -13
- package/dist/chunks/{repository-cache-6pc27hjz.js → form-6pc27hjz.js} +2 -2
- package/dist/chunks/{repository-cache-6xb47vfp.js → form-6xb47vfp.js} +1 -1
- package/dist/chunks/{repository-cache-03vjgxp8.js → form-6zbvbaat.js} +5 -5
- package/dist/chunks/{repository-cache-t9gapptp.js → form-725pwqma.js} +16 -16
- package/dist/chunks/{repository-cache-y35aym2w.js → form-772b1pf2.js} +6 -6
- package/dist/chunks/{repository-cache-775gj3j1.js → form-775gj3j1.js} +2 -2
- package/dist/chunks/{repository-cache-7bmhse3q.js → form-7bmhse3q.js} +1 -1
- package/dist/chunks/{repository-cache-0tzy42a9.js → form-7sbn2nrf.js} +8 -8
- package/dist/chunks/{repository-cache-n89rhept.js → form-7z27y5ft.js} +18 -18
- package/dist/chunks/{repository-cache-89znhe33.js → form-89znhe33.js} +1 -1
- package/dist/chunks/{repository-cache-e0hwqygg.js → form-8advq6hn.js} +187 -187
- package/dist/chunks/{repository-cache-7yn4yp07.js → form-8bajgbmy.js} +16 -16
- package/dist/chunks/{repository-cache-kerhshr9.js → form-8dff8bqa.js} +5 -5
- package/dist/chunks/{repository-cache-dpt9takt.js → form-8jrmvma7.js} +96 -96
- package/dist/chunks/{repository-cache-8m6m0r52.js → form-8m6m0r52.js} +1 -1
- package/dist/chunks/{repository-cache-8mywswrd.js → form-8mywswrd.js} +1 -1
- package/dist/chunks/{repository-cache-njn7svrx.js → form-8x3eefsg.js} +5 -5
- package/dist/chunks/{repository-cache-1rft7swv.js → form-936v1wb5.js} +4 -4
- package/dist/chunks/{repository-cache-sk60w5yp.js → form-9dxjs7sq.js} +4 -4
- package/dist/chunks/{repository-cache-9wev2pgg.js → form-9wev2pgg.js} +1 -1
- package/dist/chunks/{repository-cache-a20pjse5.js → form-a20pjse5.js} +3 -3
- package/dist/chunks/{repository-cache-8cgdxtst.js → form-a22nawqy.js} +27 -27
- package/dist/chunks/{repository-cache-cmvvh89a.js → form-a50jwcz2.js} +17 -17
- package/dist/chunks/{repository-cache-p4ev34c6.js → form-ac224h82.js} +5 -5
- package/dist/chunks/{repository-cache-kaa2ns5k.js → form-aff53cds.js} +18 -18
- package/dist/chunks/{repository-cache-dtnbwmg7.js → form-ajtbt6ny.js} +15 -15
- package/dist/chunks/{repository-cache-bhdq219t.js → form-awmarwrv.js} +11 -11
- package/dist/chunks/{repository-cache-xzyddccp.js → form-b37y94hj.js} +11 -11
- package/dist/chunks/{repository-cache-01p087vs.js → form-b5sf85zq.js} +8 -8
- package/dist/chunks/{repository-cache-s5q4smqk.js → form-b61k6ame.js} +25 -25
- package/dist/chunks/{repository-cache-0r3c1bmw.js → form-b674v2dg.js} +5 -5
- package/dist/chunks/{repository-cache-42q84ag7.js → form-b6ee0mz0.js} +56 -56
- package/dist/chunks/{repository-cache-f9h0bmn8.js → form-bapqkk7v.js} +11 -11
- package/dist/chunks/{repository-cache-z7e4qa79.js → form-bkjx84ct.js} +28 -28
- package/dist/chunks/{repository-cache-gn85dn78.js → form-bqae3fjp.js} +10 -10
- package/dist/chunks/{repository-cache-bzeyqsqd.js → form-bzeyqsqd.js} +1 -1
- package/dist/chunks/{repository-cache-f9056yzv.js → form-cd65nwh0.js} +11 -11
- package/dist/chunks/{repository-cache-0zxm2zaw.js → form-cj2gcgr0.js} +10 -10
- package/dist/chunks/{repository-cache-46xapkgq.js → form-cmr35qp5.js} +25 -25
- package/dist/chunks/{repository-cache-pa8pe2x7.js → form-cmwkp3r5.js} +8 -8
- package/dist/chunks/{repository-cache-d7fp9s3w.js → form-ctvabab8.js} +38 -38
- package/dist/chunks/{repository-cache-qmqgtz8f.js → form-cwa6csj7.js} +9 -9
- package/dist/chunks/{repository-cache-mktar7aj.js → form-d1wmmgpz.js} +6 -6
- package/dist/chunks/{repository-cache-4zjv7vh9.js → form-d2bpn3vr.js} +8 -8
- package/dist/chunks/form-d8membp7.js +26 -0
- package/dist/chunks/{repository-cache-zkbbq4dt.js → form-dcezxpa9.js} +16 -16
- package/dist/chunks/{repository-cache-ghnq0868.js → form-dg7zdyb1.js} +18 -18
- package/dist/chunks/{repository-cache-p50c7myx.js → form-dgzq35zb.js} +3 -3
- package/dist/chunks/{repository-cache-aa3p0grs.js → form-dhpppt5y.js} +19 -19
- package/dist/chunks/{repository-cache-drwq78ky.js → form-drwq78ky.js} +1 -1
- package/dist/chunks/{repository-cache-b5pzk1w6.js → form-ds0xwmnc.js} +45 -45
- package/dist/chunks/{repository-cache-n42ws626.js → form-dtnfggyv.js} +12 -12
- package/dist/chunks/form-dxj72tfx.js +18 -0
- package/dist/chunks/form-e2x20gr3.js +257 -0
- package/dist/chunks/{repository-cache-5qd3pb7m.js → form-e3qxr5gk.js} +2 -2
- package/dist/chunks/{repository-cache-2fpbmj4a.js → form-eb59rt6g.js} +23 -23
- package/dist/chunks/{repository-cache-5rzwp8tz.js → form-ed1g29hy.js} +3 -3
- package/dist/chunks/{repository-cache-r5mam93n.js → form-edrm97qd.js} +20 -20
- package/dist/chunks/{repository-cache-eej6y6fw.js → form-eej6y6fw.js} +2 -2
- package/dist/chunks/{repository-cache-ef5x83kb.js → form-ef5x83kb.js} +1 -1
- package/dist/chunks/{repository-cache-hcv80w8f.js → form-fcag7s6h.js} +8 -8
- package/dist/chunks/{repository-cache-fcy631f0.js → form-fcy631f0.js} +1 -1
- package/dist/chunks/{repository-cache-0b36yc2a.js → form-fhdzhsn5.js} +41 -41
- package/dist/chunks/{repository-cache-jp7rf1q7.js → form-fn9ftacf.js} +30 -30
- package/dist/chunks/{repository-cache-8wejdmph.js → form-fp3pxq9j.js} +10 -10
- package/dist/chunks/{repository-cache-j7e7jnf7.js → form-fptceakp.js} +47 -47
- package/dist/chunks/{repository-cache-9nw2rpfz.js → form-fxh06m44.js} +85 -85
- package/dist/chunks/{repository-cache-ve45bn9x.js → form-g13qewtb.js} +6 -6
- package/dist/chunks/{repository-cache-y7nndgyc.js → form-g686f6pq.js} +9 -9
- package/dist/chunks/{repository-cache-1pxz8ven.js → form-g6yfr6ja.js} +5 -5
- package/dist/chunks/{repository-cache-gd4qta3r.js → form-gd4qta3r.js} +1 -1
- package/dist/chunks/{repository-cache-4tjj4m8n.js → form-gd8jdxd3.js} +11 -11
- package/dist/chunks/{repository-cache-7q7gc744.js → form-gdab7akb.js} +23 -23
- package/dist/chunks/{repository-cache-b0nz1egw.js → form-gdn3wds6.js} +11 -11
- package/dist/chunks/{repository-cache-jknb9njf.js → form-ggbxennn.js} +40 -40
- package/dist/chunks/{repository-cache-zmtrh7z6.js → form-gjvvdrsn.js} +29 -29
- package/dist/chunks/{repository-cache-xvpfz61x.js → form-gqh6mgsw.js} +16 -16
- package/dist/chunks/{repository-cache-x661k3y3.js → form-gqtdsdt7.js} +4 -4
- package/dist/chunks/{repository-cache-cj61rx2c.js → form-gyjy7m7x.js} +16 -16
- package/dist/chunks/{repository-cache-h6vf3j39.js → form-h6vf3j39.js} +1 -1
- package/dist/chunks/{repository-cache-y56ehv6b.js → form-h71w788e.js} +9 -9
- package/dist/chunks/{repository-cache-xdx7acry.js → form-hes1j7ga.js} +9 -9
- package/dist/chunks/{repository-cache-a2abd7c8.js → form-hfg7n11m.js} +13 -13
- package/dist/chunks/{repository-cache-hgz4x7wa.js → form-hgz4x7wa.js} +1 -1
- package/dist/chunks/{repository-cache-c2stk2mm.js → form-hjhsp0kf.js} +11 -11
- package/dist/chunks/{repository-cache-9rmnry6z.js → form-hptzwsnd.js} +5 -5
- package/dist/chunks/{repository-cache-bcsnmsfv.js → form-hxds782p.js} +66 -66
- package/dist/chunks/{repository-cache-bk7cr9nn.js → form-hzz8n40p.js} +9 -9
- package/dist/chunks/{repository-cache-es79jehb.js → form-jbx74xhg.js} +11 -11
- package/dist/chunks/{repository-cache-shgfme6y.js → form-jdtqvfs1.js} +9 -9
- package/dist/chunks/{repository-cache-k332vpf5.js → form-jj6wv1pj.js} +3 -3
- package/dist/chunks/{repository-cache-t445km54.js → form-jj8zce4f.js} +21 -21
- package/dist/chunks/{repository-cache-acpej7js.js → form-jjb12tdg.js} +26 -26
- package/dist/chunks/{repository-cache-6yncxzed.js → form-jqppps04.js} +11 -11
- package/dist/chunks/{repository-cache-faasdkpb.js → form-jv2rx0fh.js} +14 -14
- package/dist/chunks/{repository-cache-na2qt776.js → form-k6tr81d3.js} +11 -11
- package/dist/chunks/{repository-cache-4pka7j6v.js → form-k9t01da4.js} +5 -5
- package/dist/chunks/{repository-cache-maxwxnrc.js → form-kanhem1c.js} +22 -22
- package/dist/chunks/{repository-cache-gf5160ad.js → form-kg45811x.js} +7 -7
- package/dist/chunks/{repository-cache-2vwvyx2g.js → form-kh7axb5n.js} +39 -39
- package/dist/chunks/{repository-cache-khmqacep.js → form-khmqacep.js} +1 -1
- package/dist/chunks/{repository-cache-5zn069ks.js → form-kj7h7wvk.js} +34 -34
- package/dist/chunks/{repository-cache-x5n6rhaq.js → form-kmy8rgmt.js} +26 -26
- package/dist/chunks/{repository-cache-qwwrvzk6.js → form-knax8rr9.js} +13 -13
- package/dist/chunks/{repository-cache-pjrd54q9.js → form-kpwafw7z.js} +13 -13
- package/dist/chunks/{repository-cache-d26ntzqk.js → form-kt69stq4.js} +21 -16
- package/dist/chunks/{repository-cache-kwb1v3vj.js → form-kwb1v3vj.js} +1 -1
- package/dist/chunks/{repository-cache-rzvtppca.js → form-ky6kp414.js} +9 -9
- package/dist/chunks/{repository-cache-fr5g4ae7.js → form-m1cp809k.js} +13 -13
- package/dist/chunks/{repository-cache-rhgbdkcw.js → form-m1vtybs6.js} +4 -4
- package/dist/chunks/{repository-cache-8hr3x0db.js → form-m3g1rwfa.js} +2 -2
- package/dist/chunks/{repository-cache-m9w0rfyh.js → form-m9w0rfyh.js} +1 -1
- package/dist/chunks/{repository-cache-maspj1v3.js → form-maspj1v3.js} +1 -1
- package/dist/chunks/{repository-cache-98m99f87.js → form-me9v5sdg.js} +6 -6
- package/dist/chunks/{repository-cache-wg8mj883.js → form-mg47wcxc.js} +1 -1
- package/dist/chunks/{repository-cache-ar1cg2aj.js → form-mhdmgddq.js} +32 -32
- package/dist/chunks/{repository-cache-450x4k77.js → form-mqmr3v55.js} +6 -6
- package/dist/chunks/{repository-cache-b97d4gnm.js → form-msbm8nhp.js} +9 -9
- package/dist/chunks/{repository-cache-m5jcjszt.js → form-mtpeagzc.js} +3 -3
- package/dist/chunks/{repository-cache-3m1qjwf2.js → form-mwcxzzpp.js} +10 -10
- package/dist/chunks/{repository-cache-z8b9xacy.js → form-mx35zq31.js} +51 -51
- package/dist/chunks/{repository-cache-fn3caeej.js → form-mxt12g5z.js} +17 -17
- package/dist/chunks/{repository-cache-yyj6wd33.js → form-myjjf3z2.js} +19 -19
- package/dist/chunks/{repository-cache-day0cpb0.js → form-n3d5pb88.js} +17 -17
- package/dist/chunks/{repository-cache-63rqhaqj.js → form-n4kgxwdp.js} +18 -18
- package/dist/chunks/{repository-cache-hsgb4j0v.js → form-n7b1k3p6.js} +9 -9
- package/dist/chunks/{repository-cache-fmsvjh24.js → form-n90cc1d7.js} +25 -25
- package/dist/chunks/{repository-cache-31g1jsst.js → form-n9mdxvj7.js} +11 -11
- package/dist/chunks/{repository-cache-s3s0e237.js → form-nk28bvce.js} +13 -13
- package/dist/chunks/{repository-cache-neter18e.js → form-nwpzdbp7.js} +17 -17
- package/dist/chunks/{repository-cache-gne8f8zx.js → form-p5eszqcd.js} +8 -8
- package/dist/chunks/{repository-cache-pjvnvgmy.js → form-pjvnvgmy.js} +1 -1
- package/dist/chunks/{repository-cache-pknna89w.js → form-pknna89w.js} +1 -1
- package/dist/chunks/{repository-cache-waj948mc.js → form-ppy8n5rb.js} +13 -13
- package/dist/chunks/{repository-cache-1n547s99.js → form-pq3ytayb.js} +35 -35
- package/dist/chunks/{repository-cache-c1p87g8p.js → form-prpepx7q.js} +29 -29
- package/dist/chunks/{repository-cache-m8r31wvh.js → form-prytbjkr.js} +12 -12
- package/dist/chunks/form-pvmfrnx8.js +523 -0
- package/dist/chunks/{repository-cache-cqe88zww.js → form-pwdns4hw.js} +5 -5
- package/dist/chunks/{repository-cache-erjn3gam.js → form-q3c1rjff.js} +24 -24
- package/dist/chunks/{repository-cache-7nm86vqr.js → form-q8ddfw9c.js} +1 -1
- package/dist/chunks/{repository-cache-t6vsspdg.js → form-qa3qhgw8.js} +7 -7
- package/dist/chunks/{repository-cache-2k8khapm.js → form-qgn6gcr1.js} +5 -5
- package/dist/chunks/{repository-cache-wb3npxmx.js → form-qrj5j2rw.js} +24 -24
- package/dist/chunks/{repository-cache-qsdy395h.js → form-qsdy395h.js} +1 -1
- package/dist/chunks/{repository-cache-ecj0sxev.js → form-qse2fwzv.js} +13 -13
- package/dist/chunks/{repository-cache-a7rvq0vj.js → form-qxbakmsa.js} +11 -11
- package/dist/chunks/{repository-cache-tq6mjjtf.js → form-r83yw8wf.js} +41 -41
- package/dist/chunks/{repository-cache-rdw6cm16.js → form-rdw6cm16.js} +1 -1
- package/dist/chunks/{repository-cache-9n3ec7dh.js → form-rgv41h4e.js} +41 -41
- package/dist/chunks/{repository-cache-txm3e8qz.js → form-rkg4v3e5.js} +9 -9
- package/dist/chunks/{repository-cache-7q1pjkp3.js → form-rqm8fqta.js} +15 -15
- package/dist/chunks/{repository-cache-3wsyhczt.js → form-rs6bz05r.js} +30 -30
- package/dist/chunks/{repository-cache-m2r0nwr4.js → form-rwbh6jmv.js} +33 -33
- package/dist/chunks/{repository-cache-y7wkqyfh.js → form-ryh6wemf.js} +20 -20
- package/dist/chunks/{repository-cache-ka6d3s58.js → form-s1976h36.js} +20 -20
- package/dist/chunks/{repository-cache-e6xd5sk6.js → form-s7gb32a0.js} +15 -15
- package/dist/chunks/{repository-cache-begd6zth.js → form-sawf26wz.js} +32 -32
- package/dist/chunks/{repository-cache-7amepzc8.js → form-sbaf2nx7.js} +11 -11
- package/dist/chunks/{repository-cache-axfvp7va.js → form-sjzb79xx.js} +8 -8
- package/dist/chunks/{repository-cache-xzcw8fss.js → form-sk60y1at.js} +30 -30
- package/dist/chunks/{repository-cache-xwvq48yb.js → form-smctgjrc.js} +45 -45
- package/dist/chunks/{repository-cache-rs7cjgc2.js → form-sxtjavh1.js} +11 -11
- package/dist/chunks/{repository-cache-syv4x271.js → form-syv4x271.js} +1 -1
- package/dist/chunks/{repository-cache-fdrztmbp.js → form-t5wqwvpt.js} +21 -21
- package/dist/chunks/{repository-cache-ypjr4kpw.js → form-t96cs5ce.js} +4 -4
- package/dist/chunks/{repository-cache-tazgh4e4.js → form-tazgh4e4.js} +1 -1
- package/dist/chunks/{repository-cache-6ypv3jsn.js → form-tb727afn.js} +34 -34
- package/dist/chunks/{repository-cache-c39s302y.js → form-tdev1d3v.js} +1 -1
- package/dist/chunks/{repository-cache-tdstcens.js → form-tdstcens.js} +1 -1
- package/dist/chunks/{repository-cache-hcbxgsym.js → form-tdwynqds.js} +11 -11
- package/dist/chunks/{repository-cache-mre6e2bz.js → form-tjgry73g.js} +25 -25
- package/dist/chunks/{repository-cache-tm0kqsz3.js → form-tm0kqsz3.js} +1 -1
- package/dist/chunks/{repository-cache-9t8688mm.js → form-txcxq65b.js} +23 -23
- package/dist/chunks/{repository-cache-tyytaxap.js → form-tyytaxap.js} +1 -1
- package/dist/chunks/{repository-cache-nz56sr1f.js → form-v13b12ef.js} +5 -5
- package/dist/chunks/{repository-cache-v7p4zvkq.js → form-v7p4zvkq.js} +2 -2
- package/dist/chunks/{repository-cache-e7gxy7fd.js → form-vep9yay1.js} +4 -4
- package/dist/chunks/{repository-cache-veqvce7d.js → form-veqvce7d.js} +1 -1
- package/dist/chunks/{repository-cache-xzmr40r3.js → form-vr2brrr8.js} +14 -14
- package/dist/chunks/{repository-cache-70q6x9sh.js → form-vx8n1q2f.js} +23 -23
- package/dist/chunks/{repository-cache-0xxnzx42.js → form-vxmetbc4.js} +19 -19
- package/dist/chunks/{repository-cache-vzs5sf6e.js → form-vzs5sf6e.js} +1 -1
- package/dist/chunks/{repository-cache-w1eejvng.js → form-w1eejvng.js} +1 -1
- package/dist/chunks/{repository-cache-yhyj8seq.js → form-w2bpwhyq.js} +12 -12
- package/dist/chunks/{repository-cache-w3wsvvr9.js → form-w3wsvvr9.js} +1 -1
- package/dist/chunks/{repository-cache-w5v1nc2x.js → form-w9fyvhpg.js} +43 -43
- package/dist/chunks/{repository-cache-wakvkjy4.js → form-wakvkjy4.js} +1 -1
- package/dist/chunks/{repository-cache-h9hmxamh.js → form-wc14v8ca.js} +25 -25
- package/dist/chunks/{repository-cache-wd87259q.js → form-wd87259q.js} +1 -1
- package/dist/chunks/{repository-cache-jgfm49py.js → form-whkpkx14.js} +37 -37
- package/dist/chunks/{repository-cache-7c5qva4r.js → form-wjmzy10g.js} +5 -5
- package/dist/chunks/{repository-cache-jsdm87ms.js → form-wp2t38dg.js} +21 -21
- package/dist/chunks/{repository-cache-x99b0ndd.js → form-wp7ag42z.js} +33 -33
- package/dist/chunks/{repository-cache-3n5vhy7z.js → form-wqggg88q.js} +26 -26
- package/dist/chunks/{repository-cache-a7fmgszc.js → form-x2wh3pjk.js} +12 -12
- package/dist/chunks/{repository-cache-vfjhn2wd.js → form-x3gqap9d.js} +4 -4
- package/dist/chunks/{repository-cache-stgww97k.js → form-xafejemj.js} +1 -1
- package/dist/chunks/{repository-cache-vca9tefh.js → form-xbwfvkb6.js} +28 -28
- package/dist/chunks/{repository-cache-hxnv0h4d.js → form-xh7vdwvp.js} +36 -36
- package/dist/chunks/{repository-cache-3mypk436.js → form-xpw9xx05.js} +34 -34
- package/dist/chunks/{repository-cache-re7drvpd.js → form-xteysx5g.js} +30 -30
- package/dist/chunks/{repository-cache-8vcf4cwr.js → form-xw9fg8fb.js} +2 -2
- package/dist/chunks/{repository-cache-0q346xwt.js → form-y05mj14p.js} +7 -7
- package/dist/chunks/{repository-cache-y1fvbwt7.js → form-y1fvbwt7.js} +1 -1
- package/dist/chunks/{repository-cache-dpkg50ah.js → form-y71avatq.js} +4 -4
- package/dist/chunks/{repository-cache-awbtvej0.js → form-ye8nnmax.js} +6 -6
- package/dist/chunks/{repository-cache-mv2tdfz1.js → form-yg2pn9b7.js} +5 -5
- package/dist/chunks/{repository-cache-bh8xtp3j.js → form-yh885z4g.js} +25 -25
- package/dist/chunks/{repository-cache-g5wgwq6x.js → form-yjv8c9gv.js} +8 -8
- package/dist/chunks/{repository-cache-wjr9rjd7.js → form-ywt8jp22.js} +6 -6
- package/dist/chunks/{repository-cache-z0bkrqjs.js → form-z0bkrqjs.js} +1 -1
- package/dist/chunks/{repository-cache-0e8pwxm1.js → form-z0rftk5n.js} +5 -5
- package/dist/chunks/{repository-cache-z18fegx4.js → form-z18fegx4.js} +1 -1
- package/dist/chunks/{repository-cache-q9nxkgyw.js → form-z7egd2a4.js} +16 -16
- package/dist/chunks/{repository-cache-vws1dc27.js → form-zaq0zjc7.js} +8 -8
- package/dist/chunks/{repository-cache-k0xvjywy.js → form-zbqwxq10.js} +58 -58
- package/dist/chunks/{repository-cache-kne8f3cn.js → form-zcrspsvn.js} +4 -4
- package/dist/chunks/{repository-cache-9gbxqhfr.js → form-zhvzg80z.js} +5 -5
- package/dist/chunks/{repository-cache-zr2ceqn5.js → form-zr2ceqn5.js} +1 -1
- package/dist/chunks/{repository-cache-y1seeq9p.js → form-ztasg8c4.js} +19 -19
- package/dist/chunks/{repository-cache-zxq2ej10.js → form-zxq2ej10.js} +1 -1
- package/dist/chunks/{repository-cache-1kccv5dj.js → form-zxwf9a1d.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +123 -123
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +116 -116
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +113 -113
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- 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 +85 -85
- package/dist/database/database.js +72 -72
- 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 +81 -81
- 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 +97 -97
- 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 +76 -76
- 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 +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- 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 +104 -104
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +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 +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- 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 +158 -158
- 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 +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -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 +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +115 -115
- 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 +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 +123 -123
- 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 +123 -123
- 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 +76 -76
- 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 +348 -348
- 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 +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +103 -103
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- 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 +136 -136
- package/dist/session/context.js +162 -162
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- 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 +95 -95
- 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 +229 -229
- 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 +126 -126
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- 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 +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +162 -162
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +216 -216
- 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 +15 -15
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- 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 +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 +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 +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +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 +5 -5
- 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 +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/voice.js +90 -90
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- 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/repository-cache-ky0e2j5w.js +0 -523
- package/dist/chunks/repository-cache-q509s3k3.js +0 -18
- package/dist/chunks/repository-cache-rdknsxcs.js +0 -26
- package/dist/chunks/repository-cache-v19kdf3f.js +0 -257
- /package/dist/chunks/{repository-cache-0qkdqm5v.js → form-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{repository-cache-0zkw76rk.js → form-0zkw76rk.js} +0 -0
- /package/dist/chunks/{repository-cache-17cy0kzp.js → form-17cy0kzp.js} +0 -0
- /package/dist/chunks/{repository-cache-1cnp2v09.js → form-1cnp2v09.js} +0 -0
- /package/dist/chunks/{repository-cache-1kg9ymc8.js → form-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{repository-cache-24dcb14g.js → form-24dcb14g.js} +0 -0
- /package/dist/chunks/{repository-cache-2710q6r3.js → form-2710q6r3.js} +0 -0
- /package/dist/chunks/{repository-cache-2axfhc9x.js → form-2axfhc9x.js} +0 -0
- /package/dist/chunks/{repository-cache-2bv980vf.js → form-2bv980vf.js} +0 -0
- /package/dist/chunks/{repository-cache-2c3vjs8z.js → form-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{repository-cache-359p4xyc.js → form-359p4xyc.js} +0 -0
- /package/dist/chunks/{repository-cache-3asan66x.js → form-3asan66x.js} +0 -0
- /package/dist/chunks/{repository-cache-3t0ybcrp.js → form-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{repository-cache-3v8g72cx.js → form-3v8g72cx.js} +0 -0
- /package/dist/chunks/{repository-cache-3wcehsnq.js → form-3wcehsnq.js} +0 -0
- /package/dist/chunks/{repository-cache-43n2bw4t.js → form-43n2bw4t.js} +0 -0
- /package/dist/chunks/{repository-cache-4knz6hnm.js → form-4knz6hnm.js} +0 -0
- /package/dist/chunks/{repository-cache-4vcrnpx2.js → form-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{repository-cache-4y7fprxs.js → form-4y7fprxs.js} +0 -0
- /package/dist/chunks/{repository-cache-53557ph1.js → form-53557ph1.js} +0 -0
- /package/dist/chunks/{repository-cache-550bvhaj.js → form-550bvhaj.js} +0 -0
- /package/dist/chunks/{repository-cache-6prwharc.js → form-6prwharc.js} +0 -0
- /package/dist/chunks/{repository-cache-6q2bdcd1.js → form-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{repository-cache-7akdwqpd.js → form-7akdwqpd.js} +0 -0
- /package/dist/chunks/{repository-cache-7m9af43g.js → form-7m9af43g.js} +0 -0
- /package/dist/chunks/{repository-cache-822emrt2.js → form-822emrt2.js} +0 -0
- /package/dist/chunks/{repository-cache-84wd9syh.js → form-84wd9syh.js} +0 -0
- /package/dist/chunks/{repository-cache-88xbtdfr.js → form-88xbtdfr.js} +0 -0
- /package/dist/chunks/{repository-cache-8n3pysct.js → form-8n3pysct.js} +0 -0
- /package/dist/chunks/{repository-cache-8wj87zfr.js → form-8wj87zfr.js} +0 -0
- /package/dist/chunks/{repository-cache-9a4afbnw.js → form-9a4afbnw.js} +0 -0
- /package/dist/chunks/{repository-cache-9rqn6x4v.js → form-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{repository-cache-a6k6eb26.js → form-a6k6eb26.js} +0 -0
- /package/dist/chunks/{repository-cache-af5trqkr.js → form-af5trqkr.js} +0 -0
- /package/dist/chunks/{repository-cache-afrmfg78.js → form-afrmfg78.js} +0 -0
- /package/dist/chunks/{repository-cache-aqzs7mqg.js → form-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{repository-cache-atq7p7m5.js → form-atq7p7m5.js} +0 -0
- /package/dist/chunks/{repository-cache-bkyjaxrp.js → form-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{repository-cache-bmr6ed5q.js → form-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{repository-cache-cf4snx6d.js → form-cf4snx6d.js} +0 -0
- /package/dist/chunks/{repository-cache-cvy3z8tj.js → form-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{repository-cache-d9fn303g.js → form-d9fn303g.js} +0 -0
- /package/dist/chunks/{repository-cache-d9jj8t3e.js → form-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{repository-cache-dajrwvna.js → form-dajrwvna.js} +0 -0
- /package/dist/chunks/{repository-cache-dap0rakb.js → form-dap0rakb.js} +0 -0
- /package/dist/chunks/{repository-cache-df08tz66.js → form-df08tz66.js} +0 -0
- /package/dist/chunks/{repository-cache-dy18nga0.js → form-dy18nga0.js} +0 -0
- /package/dist/chunks/{repository-cache-e5kj55wp.js → form-e5kj55wp.js} +0 -0
- /package/dist/chunks/{repository-cache-e73j6tqm.js → form-e73j6tqm.js} +0 -0
- /package/dist/chunks/{repository-cache-ec1grn59.js → form-ec1grn59.js} +0 -0
- /package/dist/chunks/{repository-cache-eh3zwz77.js → form-eh3zwz77.js} +0 -0
- /package/dist/chunks/{repository-cache-emrn6kk6.js → form-emrn6kk6.js} +0 -0
- /package/dist/chunks/{repository-cache-f0mxakyp.js → form-f0mxakyp.js} +0 -0
- /package/dist/chunks/{repository-cache-f6n9ztr4.js → form-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{repository-cache-faypxj3z.js → form-faypxj3z.js} +0 -0
- /package/dist/chunks/{repository-cache-fd410y7t.js → form-fd410y7t.js} +0 -0
- /package/dist/chunks/{repository-cache-g4wezp1m.js → form-g4wezp1m.js} +0 -0
- /package/dist/chunks/{repository-cache-g86h250q.js → form-g86h250q.js} +0 -0
- /package/dist/chunks/{repository-cache-gebd4c9n.js → form-gebd4c9n.js} +0 -0
- /package/dist/chunks/{repository-cache-gftt206x.js → form-gftt206x.js} +0 -0
- /package/dist/chunks/{repository-cache-hcxmzztb.js → form-hcxmzztb.js} +0 -0
- /package/dist/chunks/{repository-cache-hk9envan.js → form-hk9envan.js} +0 -0
- /package/dist/chunks/{repository-cache-j2ntwpah.js → form-j2ntwpah.js} +0 -0
- /package/dist/chunks/{repository-cache-j5zkgpj8.js → form-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{repository-cache-jjkms2e6.js → form-jjkms2e6.js} +0 -0
- /package/dist/chunks/{repository-cache-jr7sbwjy.js → form-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{repository-cache-jwfs4k6c.js → form-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{repository-cache-jze0r7bz.js → form-jze0r7bz.js} +0 -0
- /package/dist/chunks/{repository-cache-jzg6c2d5.js → form-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{repository-cache-m18g726c.js → form-m18g726c.js} +0 -0
- /package/dist/chunks/{repository-cache-mp448xyj.js → form-mp448xyj.js} +0 -0
- /package/dist/chunks/{repository-cache-msx8hqn2.js → form-msx8hqn2.js} +0 -0
- /package/dist/chunks/{repository-cache-n05xt0ee.js → form-n05xt0ee.js} +0 -0
- /package/dist/chunks/{repository-cache-n3j8tn72.js → form-n3j8tn72.js} +0 -0
- /package/dist/chunks/{repository-cache-njntx4h6.js → form-njntx4h6.js} +0 -0
- /package/dist/chunks/{repository-cache-pkyv6v7h.js → form-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{repository-cache-pyv0edze.js → form-pyv0edze.js} +0 -0
- /package/dist/chunks/{repository-cache-q3sfg36h.js → form-q3sfg36h.js} +0 -0
- /package/dist/chunks/{repository-cache-q74kybfr.js → form-q74kybfr.js} +0 -0
- /package/dist/chunks/{repository-cache-qaymkmh1.js → form-qaymkmh1.js} +0 -0
- /package/dist/chunks/{repository-cache-qb87gjwd.js → form-qb87gjwd.js} +0 -0
- /package/dist/chunks/{repository-cache-qfa1cgps.js → form-qfa1cgps.js} +0 -0
- /package/dist/chunks/{repository-cache-qg3g05ea.js → form-qg3g05ea.js} +0 -0
- /package/dist/chunks/{repository-cache-qrg20bc0.js → form-qrg20bc0.js} +0 -0
- /package/dist/chunks/{repository-cache-rcb2kzg1.js → form-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{repository-cache-sdp7kfr6.js → form-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{repository-cache-ssg3fenm.js → form-ssg3fenm.js} +0 -0
- /package/dist/chunks/{repository-cache-ve7vex1e.js → form-ve7vex1e.js} +0 -0
- /package/dist/chunks/{repository-cache-w803qqfp.js → form-w803qqfp.js} +0 -0
- /package/dist/chunks/{repository-cache-wc3fc9cn.js → form-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{repository-cache-wer8tq1h.js → form-wer8tq1h.js} +0 -0
- /package/dist/chunks/{repository-cache-wjj7prxr.js → form-wjj7prxr.js} +0 -0
- /package/dist/chunks/{repository-cache-wtztk69x.js → form-wtztk69x.js} +0 -0
- /package/dist/chunks/{repository-cache-x0ckcb58.js → form-x0ckcb58.js} +0 -0
- /package/dist/chunks/{repository-cache-x61499pn.js → form-x61499pn.js} +0 -0
- /package/dist/chunks/{repository-cache-y44na4kk.js → form-y44na4kk.js} +0 -0
- /package/dist/chunks/{repository-cache-y8f7s663.js → form-y8f7s663.js} +0 -0
- /package/dist/chunks/{repository-cache-ygaqb7jw.js → form-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{repository-cache-ym463w8f.js → form-ym463w8f.js} +0 -0
- /package/dist/chunks/{repository-cache-z5v4ffb3.js → form-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{repository-cache-z9919s4g.js → form-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./form-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
+
Service85,
|
|
6
|
+
node89
|
|
7
|
+
} from "./form-8bajgbmy.js";
|
|
8
|
+
import {
|
|
9
|
+
Event21,
|
|
5
10
|
Service84,
|
|
6
11
|
node88
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Event17,
|
|
10
|
-
Service74,
|
|
11
|
-
node78
|
|
12
|
-
} from "./repository-cache-x99b0ndd.js";
|
|
12
|
+
} from "./form-wp7ag42z.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service81,
|
|
15
|
+
node84
|
|
16
|
+
} from "./form-gqh6mgsw.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service75,
|
|
19
|
+
node77
|
|
20
|
+
} from "./form-51nq886d.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID12,
|
|
23
|
+
Service70,
|
|
24
|
+
node72
|
|
25
|
+
} from "./form-a22nawqy.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID10,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service65,
|
|
34
|
+
node67
|
|
35
|
+
} from "./form-3kbekj0y.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./form-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError2,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service32,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer15,
|
|
57
|
+
node: () => node35
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError2 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service32 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
114
|
+
var layer15 = (options) => Layer.effect(Service32, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const environment = yield* Service75;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
|
+
const forms = yield* Service70;
|
|
119
|
+
const integration = yield* Service65;
|
|
120
|
+
const credentials = yield* Service84;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID10.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service84, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError2({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service84, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID12.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service75, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event21.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer13 = (options) => Layer.effect(Service28, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service32.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service32,
|
|
536
|
+
layer: layer15(options),
|
|
537
|
+
deps: [node84, node77, node89, node72, node67, node88]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node35 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError2, ToolCallError2, Service32, Options3, layer15, configured3, node35, exports_mcp4 };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service81
|
|
8
|
+
} from "./form-gqh6mgsw.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service75
|
|
11
|
+
} from "./form-51nq886d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service71
|
|
14
|
+
} from "./form-ajtbt6ny.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service16,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./form-ppy8n5rb.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service46
|
|
22
|
+
} from "./form-b6ee0mz0.js";
|
|
23
23
|
import {
|
|
24
24
|
Service14,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./form-x2wh3pjk.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./form-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./form-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin28,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin28 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
111
|
+
const environment = yield* Service75;
|
|
112
112
|
const access = yield* Service14;
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
115
|
-
const location = yield*
|
|
116
|
-
const permission = yield*
|
|
113
|
+
const fileMutation = yield* Service16;
|
|
114
|
+
const formatter = yield* Service71;
|
|
115
|
+
const location = yield* Service81;
|
|
116
|
+
const permission = yield* Service46;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin50 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output6, toModelContent5, Plugin28, exports_patch };
|
|
@@ -1,18 +1,18 @@
|
|
|
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
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./form-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
13
13
|
__export(exports_question, {
|
|
14
14
|
CancelledError: () => CancelledError2,
|
|
15
|
-
Input: () =>
|
|
15
|
+
Input: () => Input15,
|
|
16
16
|
Output: () => Output10,
|
|
17
17
|
Plugin: () => Plugin51,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
@@ -34,7 +34,7 @@ Usage notes:
|
|
|
34
34
|
- A "Type your own answer" option is added automatically; don't include a separate option for free form answers
|
|
35
35
|
- Set \`multiple: true\` to allow selecting more than one option
|
|
36
36
|
- If you recommend a specific option, make that the first option in the list and add "(Recommended)" at the end of the label`;
|
|
37
|
-
var
|
|
37
|
+
var Input15 = Schema.Struct({
|
|
38
38
|
questions: Schema.Array(Question.Prompt).check(Schema.isNonEmpty()).annotate({ description: "Questions to ask" })
|
|
39
39
|
});
|
|
40
40
|
var Output10 = Schema.Struct({
|
|
@@ -53,13 +53,13 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin51 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service70;
|
|
57
|
+
const permission = yield* Service46;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
59
|
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
|
-
input:
|
|
62
|
+
input: Input15,
|
|
63
63
|
output: Output10,
|
|
64
64
|
execute: (input, context) => permission.assert({
|
|
65
65
|
action: "question",
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export { name14, description6,
|
|
120
|
+
export { name14, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./form-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./form-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service85,
|
|
3
|
+
node89
|
|
4
|
+
} from "./form-8bajgbmy.js";
|
|
5
5
|
import {
|
|
6
6
|
Key4,
|
|
7
7
|
External2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service84,
|
|
9
|
+
node88
|
|
10
|
+
} from "./form-wp7ag42z.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./form-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./form-gqtdsdt7.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./form-a22nawqy.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./form-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event14,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID10,
|
|
41
|
+
Info: () => Info18,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
47
|
Ref: () => Ref3,
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
48
|
+
Service: () => Service65,
|
|
49
|
+
node: () => node67
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
72
|
+
var ID10 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info18 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID10,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
108
|
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service65 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service84;
|
|
117
|
+
const bus = yield* Service85;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info18.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service65.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node67 = makeLocationNode({
|
|
633
|
+
service: Service65,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node88, node89, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info18, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service65, node67, exports_integration, Event14 };
|