@opencode/core 0.0.0-dev-20151 → 0.0.0-dev-20154
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 +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +69 -69
- package/dist/chunks/{websearch-97pd6k0k.js → formatter-05bs18sm.js} +10 -10
- package/dist/chunks/{websearch-szzpc92w.js → formatter-08hn3w1t.js} +3 -3
- package/dist/chunks/{websearch-wk5z6jzv.js → formatter-0996nyz8.js} +9 -9
- package/dist/chunks/{websearch-4hfxqkq1.js → formatter-0en4mdfg.js} +3 -3
- package/dist/chunks/{websearch-4238gvvk.js → formatter-0f9zpd1z.js} +22 -22
- package/dist/chunks/{websearch-e56nnahp.js → formatter-0fvxp85d.js} +30 -30
- package/dist/chunks/formatter-0mesazry.js +4 -0
- package/dist/chunks/{websearch-0paq2nw3.js → formatter-0paq2nw3.js} +1 -1
- package/dist/chunks/{websearch-7rwqf82v.js → formatter-0t9wd588.js} +8 -8
- package/dist/chunks/{websearch-p55p7gjv.js → formatter-1085njgr.js} +33 -33
- package/dist/chunks/{websearch-rypfn5ye.js → formatter-11fqwpp6.js} +15 -15
- package/dist/chunks/{websearch-d1xc4y2a.js → formatter-11xftm32.js} +24 -24
- package/dist/chunks/{websearch-xvmckbd1.js → formatter-1ad61yzs.js} +24 -24
- package/dist/chunks/{websearch-r2jew814.js → formatter-1cfb3ja4.js} +5 -5
- package/dist/chunks/{websearch-1dazxqgg.js → formatter-1dazxqgg.js} +2 -2
- package/dist/chunks/{websearch-yyfgwqez.js → formatter-1fw82rrz.js} +36 -36
- package/dist/chunks/{websearch-ejn7rwhb.js → formatter-1k7ys8s2.js} +16 -16
- package/dist/chunks/{websearch-fdk5p36s.js → formatter-1mnksntc.js} +5 -5
- package/dist/chunks/{websearch-91rxdh5f.js → formatter-1szmg2fp.js} +22 -22
- package/dist/chunks/{websearch-56gdpj1q.js → formatter-1ygqh575.js} +9 -9
- package/dist/chunks/{websearch-21r38tys.js → formatter-21r38tys.js} +1 -1
- package/dist/chunks/{websearch-8hfvq3hc.js → formatter-22zp2z9f.js} +5 -5
- package/dist/chunks/{websearch-3pk0d26x.js → formatter-23rszh6g.js} +9 -9
- package/dist/chunks/{websearch-2402vzrj.js → formatter-2402vzrj.js} +1 -1
- package/dist/chunks/{websearch-ppd1p50b.js → formatter-25b126yv.js} +22 -22
- package/dist/chunks/{websearch-8z439g2c.js → formatter-29eb1e1z.js} +10 -10
- package/dist/chunks/{websearch-2a5m3afh.js → formatter-2a5m3afh.js} +1 -1
- package/dist/chunks/{websearch-at1kfnmk.js → formatter-2eegacq4.js} +8 -8
- package/dist/chunks/{websearch-2k8khapm.js → formatter-2k8khapm.js} +1 -1
- package/dist/chunks/{websearch-57ez7d0k.js → formatter-2w6fc0zt.js} +7 -7
- package/dist/chunks/{websearch-58btjskb.js → formatter-3051r0mf.js} +18 -18
- package/dist/chunks/{websearch-h01hbd1y.js → formatter-32hkxnxv.js} +5 -5
- package/dist/chunks/{websearch-bdqrk2vk.js → formatter-3e147rt9.js} +9 -9
- package/dist/chunks/{websearch-3fc6dm20.js → formatter-3fc6dm20.js} +1 -1
- package/dist/chunks/{websearch-p2ejrmjr.js → formatter-3fsxnh3r.js} +9 -9
- package/dist/chunks/{websearch-3hepkmqq.js → formatter-3hepkmqq.js} +1 -1
- package/dist/chunks/{websearch-sxzvkvgj.js → formatter-3ppptnan.js} +6 -6
- package/dist/chunks/{websearch-3smtnn6g.js → formatter-3smtnn6g.js} +1 -1
- package/dist/chunks/{websearch-9qtpgwac.js → formatter-3syeyv6h.js} +11 -11
- package/dist/chunks/{websearch-3tvqynh2.js → formatter-3tvqynh2.js} +1 -1
- package/dist/chunks/{websearch-z3pw5915.js → formatter-3w0fmcng.js} +5 -5
- package/dist/chunks/{websearch-0a3hzmd5.js → formatter-3wgaynme.js} +17 -17
- package/dist/chunks/{websearch-3zsf4n22.js → formatter-3zsf4n22.js} +1 -1
- package/dist/chunks/{websearch-ngy2rse0.js → formatter-3zynn388.js} +3 -3
- package/dist/chunks/{websearch-9gacg3te.js → formatter-4000bm05.js} +24 -24
- package/dist/chunks/{websearch-tpg80jye.js → formatter-43d6531p.js} +12 -12
- package/dist/chunks/{websearch-rk7s9xkn.js → formatter-44ak30pa.js} +4 -4
- package/dist/chunks/{websearch-f6gt5aa8.js → formatter-48h2kp0z.js} +15 -15
- package/dist/chunks/{websearch-6c7yw9pm.js → formatter-4arb9zza.js} +8 -8
- package/dist/chunks/{websearch-41fffbdz.js → formatter-4j5rd3nb.js} +17 -17
- package/dist/chunks/{websearch-h6dda5h8.js → formatter-4t0vqfa4.js} +2 -2
- package/dist/chunks/{websearch-13aajxj1.js → formatter-4v6j91f0.js} +4 -4
- package/dist/chunks/{websearch-vy4zg7qh.js → formatter-4y72ap3v.js} +12 -12
- package/dist/chunks/{websearch-8gm3emt9.js → formatter-4ykhr99h.js} +30 -30
- package/dist/chunks/{websearch-0yx2kg4q.js → formatter-4z1dccvf.js} +14 -14
- package/dist/chunks/{websearch-jd74j2np.js → formatter-526x9cfz.js} +4 -4
- package/dist/chunks/{websearch-ry9dspd2.js → formatter-5601sb2r.js} +6 -6
- package/dist/chunks/{websearch-8644923d.js → formatter-5age93ge.js} +30 -30
- package/dist/chunks/{websearch-81mvp6db.js → formatter-5d4fs1ac.js} +23 -23
- package/dist/chunks/{websearch-5daktx2q.js → formatter-5daktx2q.js} +1 -1
- package/dist/chunks/{websearch-s178yrnp.js → formatter-5nvg4m9b.js} +12 -12
- package/dist/chunks/{websearch-e3qxr5gk.js → formatter-5qd3pb7m.js} +2 -2
- package/dist/chunks/{websearch-8vq0fbaz.js → formatter-5sh5mty0.js} +23 -23
- package/dist/chunks/{websearch-5t3nmthw.js → formatter-5t3nmthw.js} +2 -2
- package/dist/chunks/{websearch-brdm0fzs.js → formatter-5tfn2ep9.js} +11 -11
- package/dist/chunks/{websearch-9dg7zxs9.js → formatter-64hfcqtn.js} +20 -20
- package/dist/chunks/{websearch-vhxjwkp7.js → formatter-65tn6s1e.js} +13 -13
- package/dist/chunks/{websearch-669tq793.js → formatter-669tq793.js} +1 -1
- package/dist/chunks/{websearch-96a2wy2r.js → formatter-66g1srzz.js} +18 -18
- package/dist/chunks/{websearch-fc7x1jcn.js → formatter-684eg8p8.js} +48 -48
- package/dist/chunks/{websearch-9gag9787.js → formatter-6g36ydm3.js} +34 -34
- package/dist/chunks/{websearch-738yxbg0.js → formatter-6k0ykvm3.js} +35 -35
- package/dist/chunks/{websearch-6msgmcgs.js → formatter-6msgmcgs.js} +1 -1
- package/dist/chunks/{websearch-pw64qnn1.js → formatter-6skxyfkw.js} +10 -10
- package/dist/chunks/{websearch-hbkhk6kn.js → formatter-6t2yfq6r.js} +37 -37
- package/dist/chunks/{websearch-ycpwvzbp.js → formatter-6wf7w9m0.js} +45 -45
- package/dist/chunks/{websearch-9n655km2.js → formatter-6zxhhdw2.js} +5 -5
- package/dist/chunks/{websearch-n042b7jq.js → formatter-725ga7b7.js} +18 -18
- package/dist/chunks/{websearch-026npp9j.js → formatter-7apqwha9.js} +17 -17
- package/dist/chunks/{websearch-7bmhse3q.js → formatter-7bmhse3q.js} +1 -1
- package/dist/chunks/{websearch-2g564ktp.js → formatter-7fdq7649.js} +8 -8
- package/dist/chunks/{websearch-7gvwkz6m.js → formatter-7gvwkz6m.js} +2 -2
- package/dist/chunks/{websearch-s8mtwxf3.js → formatter-7qjsfbt0.js} +87 -87
- package/dist/chunks/{websearch-r0142dpz.js → formatter-7sq8yzkh.js} +41 -41
- package/dist/chunks/formatter-7t0nnsk4.js +252 -0
- package/dist/chunks/{websearch-fca204ar.js → formatter-7yb49614.js} +32 -32
- package/dist/chunks/{websearch-xjn7r0j6.js → formatter-7z59ztsa.js} +17 -17
- package/dist/chunks/{websearch-4bat6w68.js → formatter-83mkg5xj.js} +18 -18
- package/dist/chunks/{websearch-42yw2kjc.js → formatter-866na523.js} +30 -30
- package/dist/chunks/{websearch-8d7r5vzw.js → formatter-8d7r5vzw.js} +1 -1
- package/dist/chunks/{websearch-x8k8ss3k.js → formatter-8m98rn39.js} +22 -22
- package/dist/chunks/{websearch-qecj0jt8.js → formatter-8vsvfqbf.js} +16 -16
- package/dist/chunks/{websearch-fjy6k2t9.js → formatter-928yj5t7.js} +4 -4
- package/dist/chunks/{websearch-ved5are8.js → formatter-92qtda8h.js} +17 -17
- package/dist/chunks/{websearch-vm5657n0.js → formatter-931f43hd.js} +15 -15
- package/dist/chunks/{websearch-94ek1h2f.js → formatter-94ek1h2f.js} +2 -2
- package/dist/chunks/formatter-9csj8dz4.js +26 -0
- package/dist/chunks/{websearch-69ad3t6w.js → formatter-9eww13ym.js} +13 -13
- package/dist/chunks/{websearch-ah6gdbsa.js → formatter-9fz1q3tm.js} +10 -10
- package/dist/chunks/{websearch-1jgxsjvz.js → formatter-9nsvfy1y.js} +3 -3
- package/dist/chunks/{websearch-ff678qhv.js → formatter-9r4gdqmt.js} +11 -11
- package/dist/chunks/{websearch-3qq43k1v.js → formatter-9sjhkssp.js} +20 -20
- package/dist/chunks/{websearch-3c03nx73.js → formatter-9thbxafe.js} +32 -32
- package/dist/chunks/{websearch-acbpsmkm.js → formatter-9w14rhya.js} +4 -4
- package/dist/chunks/formatter-9zdhvgqs.js +18 -0
- package/dist/chunks/{websearch-e1n46n1t.js → formatter-a4fy1m9y.js} +53 -53
- package/dist/chunks/{websearch-ecsa09d5.js → formatter-a8eqz3x1.js} +41 -41
- package/dist/chunks/{websearch-aaet6srn.js → formatter-aaet6srn.js} +2 -2
- package/dist/chunks/{websearch-rcsd3yaw.js → formatter-acej97kd.js} +19 -19
- package/dist/chunks/{websearch-dnd1ddjx.js → formatter-ae1cz8vk.js} +11 -11
- package/dist/chunks/{websearch-m4rasfgg.js → formatter-aew6e1r0.js} +32 -32
- package/dist/chunks/{websearch-gpk600j1.js → formatter-akqk8sab.js} +11 -11
- package/dist/chunks/{websearch-vc5dppgg.js → formatter-aq6m5w8t.js} +20 -20
- package/dist/chunks/{websearch-z20rdm1x.js → formatter-axz2hwv9.js} +21 -21
- package/dist/chunks/{websearch-b6gygkdw.js → formatter-b6gygkdw.js} +2 -2
- package/dist/chunks/{websearch-w73yn65a.js → formatter-c6d91fap.js} +8 -8
- package/dist/chunks/{websearch-qmqgtz8f.js → formatter-c765mh8b.js} +9 -9
- package/dist/chunks/{websearch-pf9wq1rz.js → formatter-c8ft1bdk.js} +29 -29
- package/dist/chunks/{websearch-ss3jxmem.js → formatter-cfb9s96d.js} +23 -23
- package/dist/chunks/{websearch-ckecvw8r.js → formatter-ckecvw8r.js} +2 -2
- package/dist/chunks/{websearch-re37wgqj.js → formatter-cmfqg0mx.js} +327 -327
- package/dist/chunks/{websearch-8j4984r1.js → formatter-cmtkhjf7.js} +20 -20
- package/dist/chunks/{websearch-br0tr5aq.js → formatter-cmwkp3r5.js} +8 -8
- package/dist/chunks/{websearch-v5mb01ar.js → formatter-ct1vechy.js} +11 -11
- package/dist/chunks/{websearch-8makzfd8.js → formatter-cv5z6vfr.js} +14 -14
- package/dist/chunks/{websearch-sgcgxeca.js → formatter-cwtz3r9h.js} +31 -31
- package/dist/chunks/{websearch-hqtqhwxa.js → formatter-cx34d9wd.js} +11 -11
- package/dist/chunks/{websearch-sefks3xs.js → formatter-cy3xvb8m.js} +8 -8
- package/dist/chunks/{websearch-nx0kdavb.js → formatter-cz5kh9x9.js} +80 -80
- package/dist/chunks/{websearch-a3r4dcrj.js → formatter-d2anxpr8.js} +2 -2
- package/dist/chunks/{websearch-est0q85z.js → formatter-d3vcvacx.js} +11 -11
- package/dist/chunks/{websearch-c7476aq3.js → formatter-d5fhp67k.js} +27 -27
- package/dist/chunks/{websearch-ma9cj8pq.js → formatter-d7zs612j.js} +25 -25
- package/dist/chunks/{websearch-rqv3m603.js → formatter-d8e4wj50.js} +26 -26
- package/dist/chunks/{websearch-9dc6hk7b.js → formatter-d9axs6w3.js} +14 -14
- package/dist/chunks/{websearch-3ewed21c.js → formatter-dbmc5gjs.js} +4 -4
- package/dist/chunks/{websearch-rvf7c2rq.js → formatter-deh802mt.js} +10 -10
- package/dist/chunks/{websearch-bct739vz.js → formatter-dfe8djrf.js} +4 -4
- package/dist/chunks/{websearch-drwq78ky.js → formatter-drwq78ky.js} +1 -1
- package/dist/chunks/{websearch-n02tzs3k.js → formatter-e6qka3d3.js} +47 -47
- package/dist/chunks/{websearch-rhjbct0v.js → formatter-eaj1djv9.js} +8 -8
- package/dist/chunks/{websearch-ecfe7b91.js → formatter-ecfe7b91.js} +2 -2
- package/dist/chunks/{websearch-ef5x83kb.js → formatter-ef5x83kb.js} +1 -1
- package/dist/chunks/{websearch-t1fqb5s2.js → formatter-ehm6q3mk.js} +6 -6
- package/dist/chunks/{websearch-etq0c3wd.js → formatter-etq0c3wd.js} +1 -1
- package/dist/chunks/{websearch-t51qk8jz.js → formatter-f3ngv102.js} +21 -21
- package/dist/chunks/{websearch-qa3fb321.js → formatter-fdvpjyek.js} +7 -7
- package/dist/chunks/{websearch-qphk93gx.js → formatter-ffkgrkm6.js} +22 -22
- package/dist/chunks/{websearch-k00ze9h8.js → formatter-fhb1f05r.js} +15 -15
- package/dist/chunks/{websearch-e386cdc4.js → formatter-fkgw8j18.js} +29 -29
- package/dist/chunks/{websearch-mepyejys.js → formatter-fkkzdrjv.js} +1 -1
- package/dist/chunks/{websearch-yze6d0jy.js → formatter-fs6pqh0k.js} +13 -13
- package/dist/chunks/{websearch-h1esvyq0.js → formatter-fsnf83td.js} +3 -3
- package/dist/chunks/{websearch-2ppj4dha.js → formatter-fsr35fn4.js} +19 -19
- package/dist/chunks/{websearch-jexxy024.js → formatter-fvxg17y2.js} +3 -3
- package/dist/chunks/{websearch-q8ddp7df.js → formatter-fym05vea.js} +20 -20
- package/dist/chunks/{websearch-jhhbcj17.js → formatter-g07qwdrd.js} +18 -18
- package/dist/chunks/{websearch-7qshtjyh.js → formatter-g5zgqdyh.js} +168 -168
- package/dist/chunks/{websearch-gd4qta3r.js → formatter-gd4qta3r.js} +1 -1
- package/dist/chunks/{websearch-j26gqgr4.js → formatter-gfsc44x2.js} +3 -3
- package/dist/chunks/{websearch-gv6a8nnw.js → formatter-gv6a8nnw.js} +2 -2
- package/dist/chunks/{websearch-ff2vahy8.js → formatter-gxfd8hef.js} +7 -7
- package/dist/chunks/{websearch-hyxthraj.js → formatter-h69103sp.js} +13 -13
- package/dist/chunks/{websearch-h6vf3j39.js → formatter-h6vf3j39.js} +1 -1
- package/dist/chunks/{websearch-49w8mb30.js → formatter-hdthj1pw.js} +11 -11
- package/dist/chunks/{websearch-2vs2nh1n.js → formatter-hn57h045.js} +4 -4
- package/dist/chunks/{websearch-5h5j54wa.js → formatter-hna2c7ca.js} +23 -23
- package/dist/chunks/{websearch-93knh8xf.js → formatter-j3a689hg.js} +61 -61
- package/dist/chunks/{websearch-qwat3dyd.js → formatter-j3m92qrb.js} +22 -22
- package/dist/chunks/{websearch-n3byxp5c.js → formatter-j517qxmb.js} +9 -9
- package/dist/chunks/{websearch-j56e64zr.js → formatter-j56e64zr.js} +1 -1
- package/dist/chunks/{websearch-fghtb5tb.js → formatter-j8a6srd3.js} +20 -20
- package/dist/chunks/{websearch-r72vh36z.js → formatter-j8rcbgwk.js} +15 -15
- package/dist/chunks/{websearch-vrk97n7n.js → formatter-jhq43s5h.js} +11 -11
- package/dist/chunks/{websearch-068gpmm3.js → formatter-jqtwzasb.js} +26 -26
- package/dist/chunks/{websearch-fhg5zwa0.js → formatter-jy0qaq37.js} +29 -29
- package/dist/chunks/{websearch-k3c624dm.js → formatter-k3c624dm.js} +3 -3
- package/dist/chunks/{websearch-8b564nhv.js → formatter-k4q8v3a9.js} +11 -11
- package/dist/chunks/{websearch-9dm3gnhk.js → formatter-k562kksb.js} +13 -13
- package/dist/chunks/{websearch-3g33scay.js → formatter-k9d40v1y.js} +4 -4
- package/dist/chunks/{websearch-v76by4bg.js → formatter-kb3wdknj.js} +6 -6
- package/dist/chunks/{websearch-kxrbh14d.js → formatter-khshe69x.js} +9 -9
- package/dist/chunks/{websearch-gbrv9ggv.js → formatter-kjqk90ac.js} +37 -37
- package/dist/chunks/{websearch-jgg6hn5z.js → formatter-kmb8tf68.js} +20 -20
- package/dist/chunks/{websearch-x4k5swv2.js → formatter-kr0xcp8s.js} +14 -14
- package/dist/chunks/{websearch-jvvc3tfq.js → formatter-kvjzkr2v.js} +5 -5
- package/dist/chunks/{websearch-r33ff4dw.js → formatter-kxpygcw9.js} +6 -6
- package/dist/chunks/{websearch-m3fdjcah.js → formatter-m3fdjcah.js} +1 -1
- package/dist/chunks/{websearch-pjsbaxaj.js → formatter-m3v5f3y9.js} +11 -11
- package/dist/chunks/{websearch-m9w0rfyh.js → formatter-m9w0rfyh.js} +1 -1
- package/dist/chunks/{websearch-0fyzm8xj.js → formatter-mfaaf469.js} +5 -5
- package/dist/chunks/{websearch-r5x6zcsm.js → formatter-mhkvc446.js} +3 -3
- package/dist/chunks/{websearch-ggxf5pt4.js → formatter-mwvjswkd.js} +9 -9
- package/dist/chunks/{websearch-fz2dh189.js → formatter-ne59kr8e.js} +10 -10
- package/dist/chunks/{websearch-23x87d5f.js → formatter-nfgj4eq6.js} +5 -5
- package/dist/chunks/{websearch-947ggv4w.js → formatter-nrryk3yj.js} +9 -9
- package/dist/chunks/{websearch-h6r3nrb9.js → formatter-nzyhnfxz.js} +4 -4
- package/dist/chunks/{websearch-sxpcjwsm.js → formatter-p11x5atc.js} +8 -8
- package/dist/chunks/{websearch-b4ne7bhv.js → formatter-p1a9ajhc.js} +30 -30
- package/dist/chunks/{websearch-0vr0hcvm.js → formatter-p5bpgybb.js} +23 -23
- package/dist/chunks/{websearch-pjvnvgmy.js → formatter-pjvnvgmy.js} +1 -1
- package/dist/chunks/{websearch-pknna89w.js → formatter-pknna89w.js} +1 -1
- package/dist/chunks/{websearch-0s4pwxt6.js → formatter-pnc9qwkd.js} +60 -60
- package/dist/chunks/{websearch-qg0jgkcp.js → formatter-pnv527nz.js} +9 -9
- package/dist/chunks/{websearch-qpbc7zwf.js → formatter-pw9v3g6d.js} +8 -8
- package/dist/chunks/{websearch-2qnsdmsd.js → formatter-q07xjvq6.js} +3 -3
- package/dist/chunks/{websearch-q9860tk8.js → formatter-q8rsswcz.js} +6 -6
- package/dist/chunks/{websearch-a2ew8a62.js → formatter-qa3qhgw8.js} +4 -4
- package/dist/chunks/{websearch-ph2vf1zj.js → formatter-qcnsepw6.js} +9 -9
- package/dist/chunks/{websearch-arndb05z.js → formatter-qgcrhj3x.js} +5 -5
- package/dist/chunks/{websearch-2qq7qy34.js → formatter-qrc64xzg.js} +9 -9
- package/dist/chunks/{websearch-qsdy395h.js → formatter-qsdy395h.js} +1 -1
- package/dist/chunks/{websearch-w3ffgm11.js → formatter-qvfxvj2b.js} +5 -5
- package/dist/chunks/{websearch-07770t2t.js → formatter-r04gnbv5.js} +8 -8
- package/dist/chunks/{websearch-h71w1jed.js → formatter-r0w37vnc.js} +44 -44
- package/dist/chunks/{websearch-yawrq4yy.js → formatter-r7jcr2kw.js} +5 -5
- package/dist/chunks/{websearch-2w0y6wkg.js → formatter-r9wn2x15.js} +19 -19
- package/dist/chunks/{websearch-rdw6cm16.js → formatter-rdw6cm16.js} +1 -1
- package/dist/chunks/{websearch-76zdkzzt.js → formatter-rdwveckh.js} +4 -4
- package/dist/chunks/{websearch-9rgt8jqc.js → formatter-rg6pqn6b.js} +16 -16
- package/dist/chunks/{websearch-rkprpv83.js → formatter-rkprpv83.js} +2 -2
- package/dist/chunks/{websearch-v0w844jm.js → formatter-rpdcp9d6.js} +30 -30
- package/dist/chunks/{websearch-3tber816.js → formatter-rrfze9aq.js} +24 -24
- package/dist/chunks/{websearch-kakrpwzw.js → formatter-s0fdkca3.js} +36 -36
- package/dist/chunks/{websearch-jkw8ab1z.js → formatter-s20e8eba.js} +41 -41
- package/dist/chunks/{websearch-18vjd2kq.js → formatter-s2pdfmmv.js} +16 -16
- package/dist/chunks/{websearch-sr56qa84.js → formatter-sgsfh0h8.js} +10 -10
- package/dist/chunks/{websearch-vtd2qwnf.js → formatter-sqy4ahhk.js} +1 -1
- package/dist/chunks/{websearch-49q8tgwx.js → formatter-t3tkefaq.js} +5 -5
- package/dist/chunks/{websearch-87rkj7hm.js → formatter-t43ffz5t.js} +20 -20
- package/dist/chunks/{websearch-tazgh4e4.js → formatter-tazgh4e4.js} +1 -1
- package/dist/chunks/{websearch-tcezcvh9.js → formatter-tcezcvh9.js} +1 -1
- package/dist/chunks/{websearch-tdstcens.js → formatter-tdstcens.js} +1 -1
- package/dist/chunks/{websearch-6bkwpg0x.js → formatter-tfj9sgam.js} +12 -12
- package/dist/chunks/{websearch-tvtrv512.js → formatter-tvtrv512.js} +1 -1
- package/dist/chunks/{websearch-9ex3k00r.js → formatter-v0xfw1m3.js} +8 -8
- package/dist/chunks/{websearch-ws5qwdf0.js → formatter-v1ceefev.js} +10 -10
- package/dist/chunks/{websearch-rw311e4v.js → formatter-v45qnrg9.js} +17 -17
- package/dist/chunks/{websearch-yshwmv3n.js → formatter-v4zfgca1.js} +27 -27
- package/dist/chunks/{websearch-veqvce7d.js → formatter-veqvce7d.js} +1 -1
- package/dist/chunks/{websearch-ep3z477b.js → formatter-vhpkrxj6.js} +11 -11
- package/dist/chunks/{websearch-3md9nf60.js → formatter-vme3s0y6.js} +15 -15
- package/dist/chunks/{websearch-vzcthcp8.js → formatter-vzcthcp8.js} +1 -1
- package/dist/chunks/{websearch-vzs5sf6e.js → formatter-vzs5sf6e.js} +1 -1
- package/dist/chunks/{websearch-t7j54sd4.js → formatter-w29yw4p7.js} +16 -16
- package/dist/chunks/{websearch-w3wsvvr9.js → formatter-w3wsvvr9.js} +1 -1
- package/dist/chunks/{websearch-as68cy63.js → formatter-w6hxg8ga.js} +18 -18
- package/dist/chunks/{websearch-t99r6es5.js → formatter-wbe2v8yt.js} +26 -26
- package/dist/chunks/{websearch-wd3x2cqz.js → formatter-wd3x2cqz.js} +2 -2
- package/dist/chunks/{websearch-wd87259q.js → formatter-wd87259q.js} +1 -1
- package/dist/chunks/{websearch-mvksx64m.js → formatter-wq4mmp7m.js} +4 -4
- package/dist/chunks/{websearch-y8tjx8tm.js → formatter-wyzbecmn.js} +17 -17
- package/dist/chunks/{websearch-x1ezjp6w.js → formatter-x1ezjp6w.js} +1 -1
- package/dist/chunks/{websearch-yt3hy1g9.js → formatter-x2rw7g36.js} +5 -5
- package/dist/chunks/{websearch-m66smpx7.js → formatter-x6qvwyqy.js} +4 -4
- package/dist/chunks/{websearch-nb9rs9fh.js → formatter-x6wkahxa.js} +17 -17
- package/dist/chunks/{websearch-hswb95x4.js → formatter-xe7vm6z4.js} +7 -7
- package/dist/chunks/{websearch-8247kj1d.js → formatter-xep4qe5p.js} +20 -20
- package/dist/chunks/{websearch-7z0c58z6.js → formatter-xj3z6972.js} +6 -6
- package/dist/chunks/{websearch-xkntkrq7.js → formatter-xkntkrq7.js} +2 -2
- package/dist/chunks/{websearch-ne7a8ayf.js → formatter-xspb0jaw.js} +1 -1
- package/dist/chunks/{websearch-mn39jvh5.js → formatter-xx72zbe5.js} +20 -20
- package/dist/chunks/{websearch-kmx0na6r.js → formatter-xxndcd6m.js} +4 -4
- package/dist/chunks/{websearch-3vgavdt2.js → formatter-xzb3sydb.js} +6 -6
- package/dist/chunks/{websearch-jkb2mnhj.js → formatter-xzhq159g.js} +26 -26
- package/dist/chunks/{websearch-y1fvbwt7.js → formatter-y1fvbwt7.js} +1 -1
- package/dist/chunks/{websearch-5ptzjwb4.js → formatter-y3kwjdg3.js} +15 -15
- package/dist/chunks/{websearch-c19dh1j0.js → formatter-y4a0ndt6.js} +20 -20
- package/dist/chunks/{websearch-y71avatq.js → formatter-y71avatq.js} +1 -1
- package/dist/chunks/{websearch-3whqsqhb.js → formatter-y7pvd72b.js} +3 -3
- package/dist/chunks/{websearch-270k6s7e.js → formatter-ydbbb7n3.js} +11 -11
- package/dist/chunks/{websearch-zvgw43n1.js → formatter-yjcmw3qg.js} +25 -25
- package/dist/chunks/{websearch-hcz3zddy.js → formatter-yjptyezs.js} +5 -5
- package/dist/chunks/{websearch-f2n192rq.js → formatter-yp2x3t23.js} +4 -4
- package/dist/chunks/{websearch-yrhqyw5v.js → formatter-yrhqyw5v.js} +1 -1
- package/dist/chunks/{websearch-s4enseaf.js → formatter-yrznvahk.js} +2 -2
- package/dist/chunks/{websearch-xe1sz0bn.js → formatter-yz5r218v.js} +29 -29
- package/dist/chunks/{websearch-z07pqspn.js → formatter-z07pqspn.js} +3 -3
- package/dist/chunks/{websearch-z0bkrqjs.js → formatter-z0bkrqjs.js} +1 -1
- package/dist/chunks/{websearch-jh9h9zmd.js → formatter-z0zbz97e.js} +9 -9
- package/dist/chunks/{websearch-29x78va6.js → formatter-z63w68vq.js} +6 -6
- package/dist/chunks/{websearch-j9z4wg6b.js → formatter-z6f8ymea.js} +19 -19
- package/dist/chunks/{websearch-24v8r3n0.js → formatter-za3g8gy4.js} +32 -32
- package/dist/chunks/{websearch-zeh9ct20.js → formatter-zeh9ct20.js} +2 -2
- package/dist/chunks/{websearch-2f52zj7s.js → formatter-znf1d9xg.js} +15 -15
- package/dist/chunks/{websearch-zr2ceqn5.js → formatter-zr2ceqn5.js} +1 -1
- package/dist/chunks/{websearch-zxq2ej10.js → formatter-zxq2ej10.js} +1 -1
- 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 +79 -79
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +126 -126
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +102 -102
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +102 -102
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +117 -117
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- 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 +334 -334
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +96 -96
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +216 -216
- 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 +9 -9
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +121 -121
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +118 -118
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +120 -120
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +94 -94
- package/package.json +8 -8
- package/dist/chunks/websearch-dxj72tfx.js +0 -18
- package/dist/chunks/websearch-qapv375x.js +0 -4
- package/dist/chunks/websearch-qhjfgcss.js +0 -26
- package/dist/chunks/websearch-vg86szwk.js +0 -252
- /package/dist/chunks/{websearch-0qkdqm5v.js → formatter-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{websearch-0zkw76rk.js → formatter-0zkw76rk.js} +0 -0
- /package/dist/chunks/{websearch-17cy0kzp.js → formatter-17cy0kzp.js} +0 -0
- /package/dist/chunks/{websearch-1cnp2v09.js → formatter-1cnp2v09.js} +0 -0
- /package/dist/chunks/{websearch-1kg9ymc8.js → formatter-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{websearch-24dcb14g.js → formatter-24dcb14g.js} +0 -0
- /package/dist/chunks/{websearch-2710q6r3.js → formatter-2710q6r3.js} +0 -0
- /package/dist/chunks/{websearch-2axfhc9x.js → formatter-2axfhc9x.js} +0 -0
- /package/dist/chunks/{websearch-2c3vjs8z.js → formatter-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{websearch-34c7v6d4.js → formatter-34c7v6d4.js} +0 -0
- /package/dist/chunks/{websearch-359p4xyc.js → formatter-359p4xyc.js} +0 -0
- /package/dist/chunks/{websearch-3asan66x.js → formatter-3asan66x.js} +0 -0
- /package/dist/chunks/{websearch-3v8g72cx.js → formatter-3v8g72cx.js} +0 -0
- /package/dist/chunks/{websearch-3w5fmr99.js → formatter-3w5fmr99.js} +0 -0
- /package/dist/chunks/{websearch-3wcehsnq.js → formatter-3wcehsnq.js} +0 -0
- /package/dist/chunks/{websearch-43n2bw4t.js → formatter-43n2bw4t.js} +0 -0
- /package/dist/chunks/{websearch-4knz6hnm.js → formatter-4knz6hnm.js} +0 -0
- /package/dist/chunks/{websearch-4vcrnpx2.js → formatter-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{websearch-4y7fprxs.js → formatter-4y7fprxs.js} +0 -0
- /package/dist/chunks/{websearch-53557ph1.js → formatter-53557ph1.js} +0 -0
- /package/dist/chunks/{websearch-550bvhaj.js → formatter-550bvhaj.js} +0 -0
- /package/dist/chunks/{websearch-6prwharc.js → formatter-6prwharc.js} +0 -0
- /package/dist/chunks/{websearch-7akdwqpd.js → formatter-7akdwqpd.js} +0 -0
- /package/dist/chunks/{websearch-7m9af43g.js → formatter-7m9af43g.js} +0 -0
- /package/dist/chunks/{websearch-822emrt2.js → formatter-822emrt2.js} +0 -0
- /package/dist/chunks/{websearch-88xbtdfr.js → formatter-88xbtdfr.js} +0 -0
- /package/dist/chunks/{websearch-8n3pysct.js → formatter-8n3pysct.js} +0 -0
- /package/dist/chunks/{websearch-8wj87zfr.js → formatter-8wj87zfr.js} +0 -0
- /package/dist/chunks/{websearch-922hggd3.js → formatter-922hggd3.js} +0 -0
- /package/dist/chunks/{websearch-9a4afbnw.js → formatter-9a4afbnw.js} +0 -0
- /package/dist/chunks/{websearch-9rqn6x4v.js → formatter-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{websearch-a6k6eb26.js → formatter-a6k6eb26.js} +0 -0
- /package/dist/chunks/{websearch-af5trqkr.js → formatter-af5trqkr.js} +0 -0
- /package/dist/chunks/{websearch-afrmfg78.js → formatter-afrmfg78.js} +0 -0
- /package/dist/chunks/{websearch-aqzs7mqg.js → formatter-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{websearch-atq7p7m5.js → formatter-atq7p7m5.js} +0 -0
- /package/dist/chunks/{websearch-bkyjaxrp.js → formatter-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{websearch-bmr6ed5q.js → formatter-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{websearch-cf4snx6d.js → formatter-cf4snx6d.js} +0 -0
- /package/dist/chunks/{websearch-cvy3z8tj.js → formatter-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{websearch-d9fn303g.js → formatter-d9fn303g.js} +0 -0
- /package/dist/chunks/{websearch-d9jj8t3e.js → formatter-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{websearch-dajrwvna.js → formatter-dajrwvna.js} +0 -0
- /package/dist/chunks/{websearch-dap0rakb.js → formatter-dap0rakb.js} +0 -0
- /package/dist/chunks/{websearch-df08tz66.js → formatter-df08tz66.js} +0 -0
- /package/dist/chunks/{websearch-dy18nga0.js → formatter-dy18nga0.js} +0 -0
- /package/dist/chunks/{websearch-e5kj55wp.js → formatter-e5kj55wp.js} +0 -0
- /package/dist/chunks/{websearch-e73j6tqm.js → formatter-e73j6tqm.js} +0 -0
- /package/dist/chunks/{websearch-ec1grn59.js → formatter-ec1grn59.js} +0 -0
- /package/dist/chunks/{websearch-eh3zwz77.js → formatter-eh3zwz77.js} +0 -0
- /package/dist/chunks/{websearch-emrn6kk6.js → formatter-emrn6kk6.js} +0 -0
- /package/dist/chunks/{websearch-f0mxakyp.js → formatter-f0mxakyp.js} +0 -0
- /package/dist/chunks/{websearch-f6n9ztr4.js → formatter-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{websearch-faypxj3z.js → formatter-faypxj3z.js} +0 -0
- /package/dist/chunks/{websearch-fd410y7t.js → formatter-fd410y7t.js} +0 -0
- /package/dist/chunks/{websearch-fxgpk5d8.js → formatter-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{websearch-g4wezp1m.js → formatter-g4wezp1m.js} +0 -0
- /package/dist/chunks/{websearch-g86h250q.js → formatter-g86h250q.js} +0 -0
- /package/dist/chunks/{websearch-gebd4c9n.js → formatter-gebd4c9n.js} +0 -0
- /package/dist/chunks/{websearch-gftt206x.js → formatter-gftt206x.js} +0 -0
- /package/dist/chunks/{websearch-hjbc5kem.js → formatter-hjbc5kem.js} +0 -0
- /package/dist/chunks/{websearch-hk9envan.js → formatter-hk9envan.js} +0 -0
- /package/dist/chunks/{websearch-j2ntwpah.js → formatter-j2ntwpah.js} +0 -0
- /package/dist/chunks/{websearch-j5zkgpj8.js → formatter-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{websearch-jjkms2e6.js → formatter-jjkms2e6.js} +0 -0
- /package/dist/chunks/{websearch-jr7sbwjy.js → formatter-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{websearch-jwfs4k6c.js → formatter-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{websearch-jzg6c2d5.js → formatter-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{websearch-mp448xyj.js → formatter-mp448xyj.js} +0 -0
- /package/dist/chunks/{websearch-msx8hqn2.js → formatter-msx8hqn2.js} +0 -0
- /package/dist/chunks/{websearch-n05xt0ee.js → formatter-n05xt0ee.js} +0 -0
- /package/dist/chunks/{websearch-n3j8tn72.js → formatter-n3j8tn72.js} +0 -0
- /package/dist/chunks/{websearch-njntx4h6.js → formatter-njntx4h6.js} +0 -0
- /package/dist/chunks/{websearch-q3sfg36h.js → formatter-q3sfg36h.js} +0 -0
- /package/dist/chunks/{websearch-q74kybfr.js → formatter-q74kybfr.js} +0 -0
- /package/dist/chunks/{websearch-qaymkmh1.js → formatter-qaymkmh1.js} +0 -0
- /package/dist/chunks/{websearch-qb87gjwd.js → formatter-qb87gjwd.js} +0 -0
- /package/dist/chunks/{websearch-qfa1cgps.js → formatter-qfa1cgps.js} +0 -0
- /package/dist/chunks/{websearch-qg3g05ea.js → formatter-qg3g05ea.js} +0 -0
- /package/dist/chunks/{websearch-qrg20bc0.js → formatter-qrg20bc0.js} +0 -0
- /package/dist/chunks/{websearch-rcb2kzg1.js → formatter-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{websearch-sdp7kfr6.js → formatter-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{websearch-sk3qaz4a.js → formatter-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{websearch-ssg3fenm.js → formatter-ssg3fenm.js} +0 -0
- /package/dist/chunks/{websearch-w803qqfp.js → formatter-w803qqfp.js} +0 -0
- /package/dist/chunks/{websearch-wc3fc9cn.js → formatter-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{websearch-wer8tq1h.js → formatter-wer8tq1h.js} +0 -0
- /package/dist/chunks/{websearch-wtztk69x.js → formatter-wtztk69x.js} +0 -0
- /package/dist/chunks/{websearch-x0ckcb58.js → formatter-x0ckcb58.js} +0 -0
- /package/dist/chunks/{websearch-x61499pn.js → formatter-x61499pn.js} +0 -0
- /package/dist/chunks/{websearch-y44na4kk.js → formatter-y44na4kk.js} +0 -0
- /package/dist/chunks/{websearch-y8cydn3q.js → formatter-y8cydn3q.js} +0 -0
- /package/dist/chunks/{websearch-y8f7s663.js → formatter-y8f7s663.js} +0 -0
- /package/dist/chunks/{websearch-ygaqb7jw.js → formatter-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{websearch-ym463w8f.js → formatter-ym463w8f.js} +0 -0
- /package/dist/chunks/{websearch-z9919s4g.js → formatter-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-q07xjvq6.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-ckecvw8r.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID13,
|
|
17
|
+
Info: () => Info29,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service75,
|
|
21
|
+
node: () => node79
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID13 = PermissionSaved.ID;
|
|
29
|
+
var Info29 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service75 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service84).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID13.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service75.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node79 = makeGlobalNode({ service: Service75, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID13, Info29, ListInput5, AddInput2, Service75, node79, exports_saved };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -3,27 +3,27 @@ import {
|
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
5
|
Service36
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-7sq8yzkh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service73
|
|
9
|
+
} from "./formatter-pnc9qwkd.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin45
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin45 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
25
|
const mcp = yield* Service36;
|
|
26
|
-
const permission = yield*
|
|
26
|
+
const permission = yield* Service73;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin12 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin45, exports_mcp_resource };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID14,
|
|
3
|
+
Info30,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-fvxg17y2.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service84,
|
|
11
11
|
node88
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-q07xjvq6.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
15
|
Service83,
|
|
16
16
|
node87
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-4v6j91f0.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service79,
|
|
20
|
+
node83
|
|
21
|
+
} from "./formatter-1fw82rrz.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service40,
|
|
24
|
+
node42
|
|
25
|
+
} from "./formatter-3ppptnan.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./formatter-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./formatter-z07pqspn.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node41
|
|
34
|
+
} from "./formatter-y4a0ndt6.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-wq4mmp7m.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./formatter-x6wkahxa.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./formatter-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node27
|
|
47
|
+
} from "./formatter-s2pdfmmv.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
50
|
node46
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./formatter-cy3xvb8m.js";
|
|
52
52
|
import {
|
|
53
|
-
|
|
53
|
+
NotFoundError10,
|
|
54
54
|
MessageNotFoundError2,
|
|
55
55
|
ForkEmptyError2,
|
|
56
56
|
MessageDecodeError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./formatter-qrc64xzg.js";
|
|
65
65
|
import {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
66
|
+
ListInput4,
|
|
67
|
+
Service74,
|
|
68
|
+
node78
|
|
69
|
+
} from "./formatter-rg6pqn6b.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service42,
|
|
72
|
+
node44
|
|
73
|
+
} from "./formatter-7z59ztsa.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service37,
|
|
76
|
+
node40
|
|
77
|
+
} from "./formatter-kjqk90ac.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./formatter-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service32,
|
|
83
|
+
node35
|
|
84
|
+
} from "./formatter-cx34d9wd.js";
|
|
85
85
|
import {
|
|
86
86
|
generate2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./formatter-8vsvfqbf.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./formatter-p11x5atc.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service56,
|
|
93
|
+
node60
|
|
94
|
+
} from "./formatter-khshe69x.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service23,
|
|
100
|
+
node26
|
|
101
|
+
} from "./formatter-a4fy1m9y.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service34,
|
|
104
|
+
node37
|
|
105
|
+
} from "./formatter-0t9wd588.js";
|
|
106
106
|
import {
|
|
107
107
|
make12
|
|
108
|
-
} from "./
|
|
108
|
+
} from "./formatter-rpdcp9d6.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./formatter-vhpkrxj6.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./formatter-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID14,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info30,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
|
-
NotFoundError: () =>
|
|
133
|
+
NotFoundError: () => NotFoundError10,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service22,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node25
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -148,27 +148,27 @@ import { Model } from "@opencode/schema/model";
|
|
|
148
148
|
import path from "path";
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
|
-
var ListInput3 =
|
|
152
|
-
class
|
|
151
|
+
var ListInput3 = ListInput4;
|
|
152
|
+
class Service22 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service84;
|
|
157
157
|
const db = database.db;
|
|
158
158
|
const bus = yield* Service83;
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
159
|
+
const projects = yield* Service79;
|
|
160
|
+
const execution = yield* Service37;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
162
|
+
const transport = yield* Service32;
|
|
163
|
+
const store = yield* Service74;
|
|
164
|
+
const instances = yield* Service40;
|
|
165
|
+
const moves = yield* Service23;
|
|
166
|
+
const jobs = yield* Service42;
|
|
167
|
+
const environments = yield* Service34;
|
|
168
|
+
const locations = yield* Service56;
|
|
169
169
|
const sessions = yield* make12();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service22.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -176,7 +176,7 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
176
176
|
return recorded;
|
|
177
177
|
const parent = input.parentID ? yield* store.get(input.parentID) : undefined;
|
|
178
178
|
if (input.parentID && parent === undefined)
|
|
179
|
-
return yield* new
|
|
179
|
+
return yield* new NotFoundError10({ sessionID: input.parentID });
|
|
180
180
|
const location = parent?.location ?? input.location;
|
|
181
181
|
if (location === undefined)
|
|
182
182
|
return yield* Effect.die(new Error("Session.create requires either location or an existing parentID"));
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate2({ session, prompt: input.prompt }).pipe(Effect.provideService(Service40, instances), Effect.provideService(Service84, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service40, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -327,27 +327,27 @@ var layer = Layer.effect(Service24, Effect.gen(function* () {
|
|
|
327
327
|
});
|
|
328
328
|
return result;
|
|
329
329
|
}));
|
|
330
|
-
var
|
|
331
|
-
service:
|
|
330
|
+
var node25 = Node.makeGlobalNode({
|
|
331
|
+
service: Service22,
|
|
332
332
|
layer,
|
|
333
333
|
deps: [
|
|
334
|
-
|
|
335
|
-
|
|
334
|
+
node44,
|
|
335
|
+
node37,
|
|
336
336
|
node88,
|
|
337
337
|
node87,
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
338
|
+
node83,
|
|
339
|
+
node40,
|
|
340
|
+
node35,
|
|
341
341
|
llmClient2,
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
342
|
+
node78,
|
|
343
|
+
node42,
|
|
344
|
+
node41,
|
|
345
|
+
node26,
|
|
346
|
+
node27,
|
|
347
|
+
node60,
|
|
348
348
|
FSUtil.node,
|
|
349
349
|
node46
|
|
350
350
|
]
|
|
351
351
|
});
|
|
352
352
|
|
|
353
|
-
export { ListAnchor2, ListInput3,
|
|
353
|
+
export { ListAnchor2, ListInput3, Service22, node25, exports_session };
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-y71avatq.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-4v6j91f0.js";
|
|
8
|
+
import {
|
|
9
|
+
Event15,
|
|
10
|
+
Service70,
|
|
11
|
+
node74
|
|
12
|
+
} from "./formatter-0fvxp85d.js";
|
|
8
13
|
import {
|
|
9
|
-
Event19,
|
|
10
14
|
Service78,
|
|
11
15
|
node82
|
|
12
|
-
} from "./
|
|
16
|
+
} from "./formatter-kr0xcp8s.js";
|
|
13
17
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
18
|
+
Service50,
|
|
19
|
+
node53
|
|
20
|
+
} from "./formatter-rrfze9aq.js";
|
|
17
21
|
import {
|
|
22
|
+
ID10,
|
|
18
23
|
Service71,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
21
|
-
import {
|
|
22
|
-
ID16,
|
|
23
|
-
Service79,
|
|
24
|
-
node83
|
|
25
|
-
} from "./websearch-zvgw43n1.js";
|
|
24
|
+
node75
|
|
25
|
+
} from "./formatter-yjcmw3qg.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID8,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service69,
|
|
34
|
+
node73
|
|
35
|
+
} from "./formatter-c8ft1bdk.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./formatter-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
44
|
NotFoundError: () => NotFoundError5,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
@@ -53,8 +53,8 @@ __export(exports_mcp4, {
|
|
|
53
53
|
Service: () => Service36,
|
|
54
54
|
Status: () => Status2,
|
|
55
55
|
ToolCallError: () => ToolCallError2,
|
|
56
|
-
configured: () =>
|
|
57
|
-
layer: () =>
|
|
56
|
+
configured: () => configured4,
|
|
57
|
+
layer: () => layer14,
|
|
58
58
|
node: () => node39
|
|
59
59
|
});
|
|
60
60
|
import { Mcp } from "@opencode/schema/mcp";
|
|
@@ -95,19 +95,19 @@ var cloneConfig = (config) => structuredClone(config);
|
|
|
95
95
|
|
|
96
96
|
class Service36 extends Context.Service()("@opencode/MCP") {
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var Options4 = Schema.Struct({
|
|
99
99
|
clientInfo: Schema.optional(Schema.Struct({
|
|
100
100
|
name: Schema.String,
|
|
101
101
|
version: Schema.String
|
|
102
102
|
}))
|
|
103
103
|
});
|
|
104
|
-
var
|
|
105
|
-
const location = yield*
|
|
106
|
-
const environment = yield*
|
|
104
|
+
var layer14 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
105
|
+
const location = yield* Service78;
|
|
106
|
+
const environment = yield* Service50;
|
|
107
107
|
const bus = yield* Service83;
|
|
108
|
-
const forms = yield*
|
|
109
|
-
const integration = yield*
|
|
110
|
-
const credentials = yield*
|
|
108
|
+
const forms = yield* Service71;
|
|
109
|
+
const integration = yield* Service69;
|
|
110
|
+
const credentials = yield* Service70;
|
|
111
111
|
const root = yield* Effect.scope;
|
|
112
112
|
const fork = yield* FiberSet.makeRuntime();
|
|
113
113
|
const entries = new Map;
|
|
@@ -119,7 +119,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
119
119
|
return;
|
|
120
120
|
const remote = entry.config;
|
|
121
121
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
122
|
-
const integrationID =
|
|
122
|
+
const integrationID = ID8.make(suffix);
|
|
123
123
|
entry.integrationID = integrationID;
|
|
124
124
|
owned.add(integrationID);
|
|
125
125
|
const methodID = MethodID2.make(suffix);
|
|
@@ -135,7 +135,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
135
135
|
method: { id: methodID, type: "oauth", label: name },
|
|
136
136
|
authorize: () => Effect.gen(function* () {
|
|
137
137
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
138
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
138
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service70, credentials));
|
|
139
139
|
})
|
|
140
140
|
});
|
|
141
141
|
}).pipe(Scope.provide(scope));
|
|
@@ -151,12 +151,12 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
151
151
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
152
152
|
return;
|
|
153
153
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
154
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
154
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service70, credentials));
|
|
155
155
|
});
|
|
156
156
|
const elicitation = {
|
|
157
157
|
create: (input) => Effect.gen(function* () {
|
|
158
158
|
if (input.params.mode === "url") {
|
|
159
|
-
const formID =
|
|
159
|
+
const formID = ID10.create();
|
|
160
160
|
const elicitationID = input.params.elicitationId;
|
|
161
161
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
162
162
|
if (key)
|
|
@@ -259,7 +259,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
259
259
|
entry.scope = scope;
|
|
260
260
|
const authProvider = yield* connectProvider(entry);
|
|
261
261
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
262
|
-
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(
|
|
262
|
+
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(Service50, environment), Scope.provide(scope));
|
|
263
263
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
264
264
|
if (Exit.isSuccess(result)) {
|
|
265
265
|
entry.client = result.value.connection;
|
|
@@ -384,7 +384,7 @@ var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
|
384
384
|
yield* startServer(name, entry);
|
|
385
385
|
}).pipe(locks.withLock(name));
|
|
386
386
|
});
|
|
387
|
-
fork(bus.subscribe(
|
|
387
|
+
fork(bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
388
388
|
const state = create3({
|
|
389
389
|
name: "mcp",
|
|
390
390
|
initial: () => ({
|
|
@@ -516,14 +516,14 @@ function mergeCatalogs(catalogs) {
|
|
|
516
516
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
517
517
|
});
|
|
518
518
|
}
|
|
519
|
-
function
|
|
519
|
+
function configured4(options) {
|
|
520
520
|
return makeLocationNode({
|
|
521
521
|
service: Service36,
|
|
522
|
-
layer:
|
|
523
|
-
deps: [
|
|
522
|
+
layer: layer14(options),
|
|
523
|
+
deps: [node82, node53, node87, node75, node73, node74]
|
|
524
524
|
});
|
|
525
525
|
}
|
|
526
|
-
var node39 =
|
|
526
|
+
var node39 = configured4();
|
|
527
527
|
function toElicitationField(key, property, required) {
|
|
528
528
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
529
529
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -574,4 +574,4 @@ function toElicitationField(key, property, required) {
|
|
|
574
574
|
}
|
|
575
575
|
}
|
|
576
576
|
|
|
577
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36,
|
|
577
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContentPart2, ResourceContent2, NotFoundError5, ToolCallError2, Service36, Options4, layer14, configured4, node39, exports_mcp4 };
|