@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,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
OAuth3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-0fvxp85d.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID8,
|
|
6
6
|
MethodID2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-c8ft1bdk.js";
|
|
8
8
|
import {
|
|
9
9
|
success2,
|
|
10
10
|
error2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-pjvnvgmy.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/provider/poe.ts
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Clock, Deferred, Effect, Option, Schema } from "effect";
|
|
16
16
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID8.make("poe");
|
|
18
18
|
var methodID = MethodID2.make("browser");
|
|
19
19
|
var clientID = "client_728290227fc048cc9262091a1ea197ea";
|
|
20
20
|
var issuer = "https://poe.com";
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-4v6j91f0.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service78,
|
|
12
|
+
node82
|
|
13
|
+
} from "./formatter-kr0xcp8s.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info20,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service60,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node64
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info20, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,11 +45,11 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service60 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service78;
|
|
53
53
|
const bus = yield* Service83;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info20));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service60.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node64 = makeLocationNode({
|
|
168
|
+
service: Service60,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node82, node87]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info20, Mode2, DiffError2, Service60, node64, exports_vcs };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service44,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node47
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service44 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service44, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service44.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node47 = makeLocationNode({
|
|
137
|
+
service: Service44,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service44, node47, exports_tool_output2 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-7yb49614.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service67
|
|
6
|
+
} from "./formatter-p1a9ajhc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/verbosity.ts
|
|
12
12
|
var exports_verbosity = {};
|
|
13
13
|
__export(exports_verbosity, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin19,
|
|
15
15
|
VerbosityPlugin: () => exports_verbosity
|
|
16
16
|
});
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -23,10 +23,10 @@ var direct = new Set([
|
|
|
23
23
|
"@opencode/ai/providers/azure/responses"
|
|
24
24
|
]);
|
|
25
25
|
var gateways = new Set(["@opencode/ai/providers/cloudflare-ai-gateway", aisdk2("@ai-sdk/gateway")]);
|
|
26
|
-
var
|
|
26
|
+
var Plugin19 = define({
|
|
27
27
|
id: "opencode.prompt.verbosity",
|
|
28
28
|
effect: Effect.fn("VerbosityPlugin")(function* (ctx) {
|
|
29
|
-
const models = yield*
|
|
29
|
+
const models = yield* Service67;
|
|
30
30
|
const hook = (event) => Effect.gen(function* () {
|
|
31
31
|
if (event.options.textVerbosity !== undefined)
|
|
32
32
|
return;
|
|
@@ -66,4 +66,4 @@ function openAIModelID(model) {
|
|
|
66
66
|
return id.slice("openai/".length);
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Plugin19, exports_verbosity };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-q07xjvq6.js";
|
|
5
5
|
import {
|
|
6
6
|
KVTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-3hepkmqq.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/kv.ts
|
|
13
13
|
var exports_kv = {};
|
|
14
14
|
__export(exports_kv, {
|
|
15
15
|
KV: () => exports_kv,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service82,
|
|
17
|
+
node: () => node86
|
|
18
18
|
});
|
|
19
19
|
import { and, asc, eq, gt, gte, lt } from "drizzle-orm";
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
21
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
22
|
-
class
|
|
22
|
+
class Service82 extends Context.Service()("@opencode/KV") {
|
|
23
23
|
}
|
|
24
|
-
var layer = Layer.effect(
|
|
24
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
25
25
|
const db = (yield* Service84).db;
|
|
26
|
-
return
|
|
26
|
+
return Service82.of({
|
|
27
27
|
get: Effect.fn("KV.get")(function* (key) {
|
|
28
28
|
return (yield* db.select({ value: KVTable2.value }).from(KVTable2).where(eq(KVTable2.key, key)).get().pipe(Effect.orDie))?.value;
|
|
29
29
|
}),
|
|
@@ -51,6 +51,6 @@ function prefixEnd(prefix) {
|
|
|
51
51
|
return;
|
|
52
52
|
return `${points.slice(0, index).join("")}${String.fromCodePoint(points[index].codePointAt(0) + 1)}`;
|
|
53
53
|
}
|
|
54
|
-
var
|
|
54
|
+
var node86 = makeGlobalNode({ service: Service82, layer, deps: [node88] });
|
|
55
55
|
|
|
56
|
-
export {
|
|
56
|
+
export { Service82, node86, exports_kv };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
|
-
|
|
4
|
+
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-pnc9qwkd.js";
|
|
10
10
|
import {
|
|
11
11
|
Service36,
|
|
12
12
|
node39
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-7sq8yzkh.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./formatter-znf1d9xg.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
23
|
var exports_instructions5 = {};
|
|
24
24
|
__export(exports_instructions5, {
|
|
25
25
|
McpInstructions: () => exports_instructions5,
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
26
|
+
Service: () => Service29,
|
|
27
|
+
layer: () => layer10,
|
|
28
|
+
node: () => node33
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service29 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
66
|
+
var layer10 = Layer.effect(Service29, Effect.gen(function* () {
|
|
67
67
|
const mcp = yield* Service36;
|
|
68
|
-
return
|
|
68
|
+
return Service29.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
|
-
const source = (value) =>
|
|
71
|
-
key:
|
|
70
|
+
const source = (value) => make21({
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -96,6 +96,6 @@ var layer14 = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node33 = makeLocationNode({ service: Service29, layer: layer10, deps: [node39] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service29, layer10, node33, exports_instructions5 };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service78
|
|
6
|
+
} from "./formatter-kr0xcp8s.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service13
|
|
9
|
+
} from "./formatter-83mkg5xj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./formatter-r9wn2x15.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./formatter-vme3s0y6.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input3,
|
|
36
|
+
Plugin: () => Plugin40,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name3,
|
|
39
|
+
toModelContent: () => toModelContent2
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name3 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input3 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin40 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service13;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service78;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name3,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input3,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin7 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent2(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -145,7 +145,7 @@ ${suggestions.join(`
|
|
|
145
145
|
});
|
|
146
146
|
})
|
|
147
147
|
};
|
|
148
|
-
var
|
|
148
|
+
var toModelContent2 = (path, offset, output) => {
|
|
149
149
|
if (output.type === "file" && output.encoding === "base64")
|
|
150
150
|
return [
|
|
151
151
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -181,4 +181,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
181
181
|
`);
|
|
182
182
|
};
|
|
183
183
|
|
|
184
|
-
export {
|
|
184
|
+
export { name3, Input3, Plugin40, toModelContent2, exports_read };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service59
|
|
7
|
+
} from "./formatter-aew6e1r0.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-fvxg17y2.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./formatter-qrc64xzg.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./formatter-z07pqspn.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service59;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service50,
|
|
8
|
+
node53
|
|
9
|
+
} from "./formatter-rrfze9aq.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-xzhq159g.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service12,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node14,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service12 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service50;
|
|
335
|
+
return Service12.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [node53] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service12, read2, node14, exports_read_filesystem };
|