@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,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-4v6j91f0.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/form.ts
|
|
10
10
|
var exports_form = {};
|
|
@@ -12,40 +12,40 @@ __export(exports_form, {
|
|
|
12
12
|
AlreadyExistsError: () => AlreadyExistsError2,
|
|
13
13
|
AlreadySettledError: () => AlreadySettledError2,
|
|
14
14
|
Answer: () => Answer2,
|
|
15
|
-
Event: () =>
|
|
15
|
+
Event: () => Event16,
|
|
16
16
|
Field: () => Field2,
|
|
17
17
|
Fields: () => Fields2,
|
|
18
18
|
Form: () => exports_form,
|
|
19
|
-
ID: () =>
|
|
20
|
-
Info: () =>
|
|
19
|
+
ID: () => ID10,
|
|
20
|
+
Info: () => Info26,
|
|
21
21
|
InvalidAnswerError: () => InvalidAnswerError2,
|
|
22
22
|
InvalidFormError: () => InvalidFormError2,
|
|
23
|
-
NotFoundError: () =>
|
|
24
|
-
Reply: () =>
|
|
25
|
-
Service: () =>
|
|
23
|
+
NotFoundError: () => NotFoundError8,
|
|
24
|
+
Reply: () => Reply2,
|
|
25
|
+
Service: () => Service71,
|
|
26
26
|
State: () => State3,
|
|
27
27
|
When: () => When2,
|
|
28
28
|
layer: () => layer25,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node75,
|
|
30
30
|
validateAnswer: () => validateAnswer2,
|
|
31
31
|
validateFields: () => validateFields2
|
|
32
32
|
});
|
|
33
33
|
import { Form } from "@opencode/schema/form";
|
|
34
34
|
import { Cache, Context, Deferred, Duration, Effect, Exit, Layer, Option, Schema } from "effect";
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
|
-
import { Event as
|
|
36
|
+
import { Event as Event16 } from "@opencode/schema/form";
|
|
37
37
|
var RETENTION = Duration.minutes(10);
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var ID10 = Form.ID;
|
|
39
|
+
var Info26 = Form.Info;
|
|
40
40
|
var Field2 = Form.Field;
|
|
41
41
|
var Fields2 = Form.Fields;
|
|
42
42
|
var When2 = Form.When;
|
|
43
43
|
var State3 = Form.State;
|
|
44
44
|
var Answer2 = Form.Answer;
|
|
45
|
-
var
|
|
45
|
+
var Reply2 = Form.Reply;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
48
|
+
id: ID10
|
|
49
49
|
}) {
|
|
50
50
|
get message() {
|
|
51
51
|
return `Form not found: ${this.id}`;
|
|
@@ -53,7 +53,7 @@ class NotFoundError10 extends Schema.TaggedError()("Form.NotFoundError", {
|
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledError", {
|
|
56
|
-
id:
|
|
56
|
+
id: ID10
|
|
57
57
|
}) {
|
|
58
58
|
get message() {
|
|
59
59
|
return `Form already settled: ${this.id}`;
|
|
@@ -61,7 +61,7 @@ class AlreadySettledError2 extends Schema.TaggedError()("Form.AlreadySettledErro
|
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError", {
|
|
64
|
-
id:
|
|
64
|
+
id: ID10
|
|
65
65
|
}) {
|
|
66
66
|
get message() {
|
|
67
67
|
return `Form already exists: ${this.id}`;
|
|
@@ -69,7 +69,7 @@ class AlreadyExistsError2 extends Schema.TaggedError()("Form.AlreadyExistsError"
|
|
|
69
69
|
}
|
|
70
70
|
|
|
71
71
|
class InvalidAnswerError2 extends Schema.TaggedError()("Form.InvalidAnswerError", {
|
|
72
|
-
id:
|
|
72
|
+
id: ID10,
|
|
73
73
|
message: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
}
|
|
@@ -79,18 +79,18 @@ class InvalidFormError2 extends Schema.TaggedError()("Form.InvalidFormError", {
|
|
|
79
79
|
}) {
|
|
80
80
|
}
|
|
81
81
|
|
|
82
|
-
class
|
|
82
|
+
class Service71 extends Context.Service()("@opencode/Form") {
|
|
83
83
|
}
|
|
84
|
-
var layer25 = Layer.effect(
|
|
84
|
+
var layer25 = Layer.effect(Service71, Effect.gen(function* () {
|
|
85
85
|
const bus = yield* Service83;
|
|
86
86
|
let closed = false;
|
|
87
87
|
const forms = yield* Cache.makeWith(() => Effect.die(new Error("Form cache must be used via set/getSuccess, never get")), {
|
|
88
88
|
capacity: Number.MAX_SAFE_INTEGER,
|
|
89
89
|
timeToLive: (exit) => Exit.isSuccess(exit) && exit.value.state.status === "pending" ? Duration.infinity : RETENTION
|
|
90
90
|
});
|
|
91
|
-
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new
|
|
91
|
+
const requireEntry = Effect.fn("Form.requireEntry")((id) => Cache.getSuccess(forms, id).pipe(Effect.flatMap((entry) => Effect.fromOption(entry, () => new NotFoundError8({ id })))));
|
|
92
92
|
const create = Effect.fn("Form.create")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
93
|
-
const id = input.id ??
|
|
93
|
+
const id = input.id ?? ID10.create();
|
|
94
94
|
const existing = yield* Cache.getSuccess(forms, id);
|
|
95
95
|
if (Option.isSome(existing))
|
|
96
96
|
return yield* new AlreadyExistsError2({ id });
|
|
@@ -159,9 +159,9 @@ var layer25 = Layer.effect(Service79, Effect.gen(function* () {
|
|
|
159
159
|
closed = true;
|
|
160
160
|
}).pipe(Effect.andThen(Cache.values(forms)), Effect.flatMap((entries) => Effect.forEach(Array.from(entries).filter((entry) => entry.state.status === "pending"), (entry) => cancel(entry.form.id).pipe(Effect.ignore), { discard: true })));
|
|
161
161
|
yield* Effect.addFinalizer(() => close);
|
|
162
|
-
return
|
|
162
|
+
return Service71.of({ create, ask, get, list, state, reply, cancel, close });
|
|
163
163
|
}));
|
|
164
|
-
var
|
|
164
|
+
var node75 = makeLocationNode({ service: Service71, layer: layer25, deps: [node87] });
|
|
165
165
|
function validateAnswer2(form, answer) {
|
|
166
166
|
const fields = new Map(form.map((field) => [field.key, field]));
|
|
167
167
|
for (const key of Object.keys(answer)) {
|
|
@@ -313,4 +313,4 @@ function isDateTime(value) {
|
|
|
313
313
|
return !Number.isNaN(new Date(value).getTime());
|
|
314
314
|
}
|
|
315
315
|
|
|
316
|
-
export {
|
|
316
|
+
export { ID10, Info26, Field2, Fields2, When2, State3, Answer2, Reply2, NotFoundError8, AlreadySettledError2, AlreadyExistsError2, InvalidAnswerError2, InvalidFormError2, Service71, layer25, node75, validateAnswer2, validateFields2, exports_form, Event16 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/provider.ts
|
|
9
9
|
var exports_provider2 = {};
|
|
10
10
|
__export(exports_provider2, {
|
|
11
11
|
ConfigProviderV1: () => exports_provider2,
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info11,
|
|
13
13
|
Model: () => Model2,
|
|
14
14
|
ModelStatus: () => ModelStatus2
|
|
15
15
|
});
|
|
@@ -61,7 +61,7 @@ var Model2 = Schema.Struct({
|
|
|
61
61
|
disabled: Schema.optional(Schema.Boolean).annotate({ description: "Disable this variant for the model" })
|
|
62
62
|
}), [Schema.Record(Schema.String, Schema.Any)])).annotate({ description: "Variant-specific configuration" }))
|
|
63
63
|
});
|
|
64
|
-
var
|
|
64
|
+
var Info11 = Schema.Struct({
|
|
65
65
|
api: Schema.optional(Schema.String),
|
|
66
66
|
name: Schema.optional(Schema.String),
|
|
67
67
|
env: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
@@ -95,4 +95,4 @@ var Info20 = Schema.Struct({
|
|
|
95
95
|
models: Schema.optional(Schema.Record(Schema.String, Model2))
|
|
96
96
|
}).annotate({ identifier: "ProviderConfig" });
|
|
97
97
|
|
|
98
|
-
export { ModelStatus2, Model2,
|
|
98
|
+
export { ModelStatus2, Model2, Info11, exports_provider2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/run-coordinator.ts
|
|
6
6
|
var exports_run_coordinator = {};
|
|
7
7
|
__export(exports_run_coordinator, {
|
|
8
8
|
SessionRunCoordinator: () => exports_run_coordinator,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make16
|
|
10
10
|
});
|
|
11
11
|
import { Deferred, Effect, Fiber, FiberSet } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var make16 = (options) => Effect.gen(function* () {
|
|
13
13
|
const executions = new Map;
|
|
14
14
|
const fork = yield* FiberSet.makeRuntime();
|
|
15
15
|
const loop = (key, execution, force) => Effect.suspend(() => options.drain(key, force, execution.scope)).pipe(Effect.andThen(Effect.suspend(() => {
|
|
@@ -89,4 +89,4 @@ var make15 = (options) => Effect.gen(function* () {
|
|
|
89
89
|
};
|
|
90
90
|
});
|
|
91
91
|
|
|
92
|
-
export {
|
|
92
|
+
export { make16, exports_run_coordinator };
|
|
@@ -1,42 +1,42 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./formatter-rrfze9aq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
Service16,
|
|
6
6
|
readText2,
|
|
7
7
|
syncTextBom2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-k562kksb.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service62
|
|
11
|
+
} from "./formatter-w6hxg8ga.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service73
|
|
14
|
+
} from "./formatter-pnc9qwkd.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service13
|
|
17
|
+
} from "./formatter-83mkg5xj.js";
|
|
18
18
|
import {
|
|
19
19
|
fileDiff2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-6prwharc.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./formatter-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/tool/plugin/write.ts
|
|
26
26
|
var exports_write = {};
|
|
27
27
|
__export(exports_write, {
|
|
28
|
-
Input: () =>
|
|
28
|
+
Input: () => Input11,
|
|
29
29
|
Output: () => Output7,
|
|
30
|
-
Plugin: () =>
|
|
30
|
+
Plugin: () => Plugin49,
|
|
31
31
|
WriteTool: () => exports_write,
|
|
32
|
-
name: () =>
|
|
33
|
-
toModelContent: () =>
|
|
32
|
+
name: () => name11,
|
|
33
|
+
toModelContent: () => toModelContent6
|
|
34
34
|
});
|
|
35
35
|
import { ToolFailure } from "@opencode/ai";
|
|
36
36
|
import { Effect, Schema } from "effect";
|
|
37
37
|
import { Bom } from "@opencode/util/bom";
|
|
38
|
-
var
|
|
39
|
-
var
|
|
38
|
+
var name11 = "write";
|
|
39
|
+
var Input11 = Schema.Struct({
|
|
40
40
|
path: Schema.String.annotate({
|
|
41
41
|
description: "Path to the file to write to"
|
|
42
42
|
}),
|
|
@@ -48,24 +48,24 @@ var Output7 = Schema.Struct({
|
|
|
48
48
|
resource: Schema.String,
|
|
49
49
|
existed: Schema.Boolean
|
|
50
50
|
});
|
|
51
|
-
var
|
|
52
|
-
var
|
|
51
|
+
var toModelContent6 = (output) => `${output.existed ? "Wrote" : "Created"} file successfully: ${output.resource}`;
|
|
52
|
+
var Plugin49 = {
|
|
53
53
|
id: "opencode.tool.write",
|
|
54
54
|
effect: Effect.fn("WriteTool.Plugin")(function* (ctx) {
|
|
55
|
-
const access = yield*
|
|
56
|
-
const fileMutation = yield*
|
|
57
|
-
const environment = yield*
|
|
58
|
-
const formatter = yield*
|
|
59
|
-
const permission = yield*
|
|
55
|
+
const access = yield* Service13;
|
|
56
|
+
const fileMutation = yield* Service16;
|
|
57
|
+
const environment = yield* Service50;
|
|
58
|
+
const formatter = yield* Service62;
|
|
59
|
+
const permission = yield* Service73;
|
|
60
60
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
61
|
-
name:
|
|
61
|
+
name: name11,
|
|
62
62
|
options: { codemode: false, permission: "edit" },
|
|
63
63
|
description: `Writes a file to the local filesystem, overwriting if one exists.
|
|
64
64
|
|
|
65
65
|
Missing parent directories are created automatically.
|
|
66
66
|
|
|
67
67
|
Use this tool to create new files or overwrite existing files. For partial changes, use the edit tool instead.`,
|
|
68
|
-
input:
|
|
68
|
+
input: Input11,
|
|
69
69
|
output: Output7,
|
|
70
70
|
execute: (input, context) => Effect.gen(function* () {
|
|
71
71
|
const source = {
|
|
@@ -93,9 +93,9 @@ Use this tool to create new files or overwrite existing files. For partial chang
|
|
|
93
93
|
yield* syncTextBom2(environment.files, target.absolute, bom);
|
|
94
94
|
}
|
|
95
95
|
return result;
|
|
96
|
-
}).pipe(Effect.map((output) => ({ output, content:
|
|
96
|
+
}).pipe(Effect.map((output) => ({ output, content: toModelContent6(output) })), Effect.mapError((error) => new ToolFailure({ message: `Unable to write ${input.path}`, error })))
|
|
97
97
|
})).pipe(Effect.orDie);
|
|
98
98
|
})
|
|
99
99
|
};
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { name11, Input11, Output7, toModelContent6, Plugin49, exports_write };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./formatter-wd3x2cqz.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-cy3xvb8m.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-1ygqh575.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin7,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint4
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint4 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin7 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin36 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint4, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin36 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint4, Plugin7, exports_tinyfish };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NamedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-2axfhc9x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/v1/config/error.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
ConfigErrorV1: () =>
|
|
9
|
+
var exports_error = {};
|
|
10
|
+
__export(exports_error, {
|
|
11
|
+
ConfigErrorV1: () => exports_error,
|
|
12
12
|
DirectoryTypoError: () => DirectoryTypoError2,
|
|
13
13
|
FrontmatterError: () => FrontmatterError2,
|
|
14
14
|
InvalidError: () => InvalidError2,
|
|
@@ -43,4 +43,4 @@ var RemoteAuthError2 = NamedError2.create("ConfigRemoteAuthError", {
|
|
|
43
43
|
remote: Schema.String
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2,
|
|
46
|
+
export { JsonError2, InvalidError2, FrontmatterError2, DirectoryTypoError2, RemoteAuthError2, exports_error };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service78,
|
|
3
|
+
node82
|
|
4
|
+
} from "./formatter-kr0xcp8s.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service27,
|
|
19
|
+
node: () => node31
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service27 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service78;
|
|
29
|
+
return Service27.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make21({
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node31 = makeLocationNode({ service: Service27, layer, deps: [Global.node, node82] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service27, node31, exports_builtins };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-4v6j91f0.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service78,
|
|
7
|
+
node82
|
|
8
|
+
} from "./formatter-kr0xcp8s.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./formatter-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service58,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node62
|
|
16
|
+
} from "./formatter-fs6pqh0k.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./formatter-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./formatter-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
27
|
CreateInput: () => CreateInput2,
|
|
28
|
-
Event: () =>
|
|
28
|
+
Event: () => Event4,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError3,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service18,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event4 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
45
|
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError3 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service18 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service83;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service78;
|
|
63
|
+
const shell = yield* Service58;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError3({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service18.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service18,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [node87,
|
|
276
|
+
deps: [node87, node82, node62]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError3, ExitedError2, Service18, node20, exports_pty, Event4 };
|