@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,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-cy3xvb8m.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-4v6j91f0.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event15,
|
|
10
|
+
Service70
|
|
11
|
+
} from "./formatter-0fvxp85d.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID8,
|
|
14
14
|
MethodID2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service69
|
|
16
|
+
} from "./formatter-c8ft1bdk.js";
|
|
17
17
|
import {
|
|
18
18
|
success2,
|
|
19
19
|
error2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-pjvnvgmy.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID7
|
|
23
|
+
} from "./formatter-7yb49614.js";
|
|
24
24
|
import {
|
|
25
25
|
configuredSettings2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-xj3z6972.js";
|
|
27
27
|
|
|
28
28
|
// src/plugin/provider/snowflake-cortex.ts
|
|
29
29
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
30
30
|
import { Form } from "@opencode/schema/form";
|
|
31
31
|
import { Clock, Deferred, Effect, Option, Schema, Stream } from "effect";
|
|
32
32
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
33
|
-
var providerID =
|
|
34
|
-
var integrationID =
|
|
33
|
+
var providerID = ID7.make("snowflake-cortex");
|
|
34
|
+
var integrationID = ID8.make(providerID);
|
|
35
35
|
var methodID = MethodID2.make("browser");
|
|
36
36
|
var clientID = "LOCAL_APPLICATION";
|
|
37
37
|
var accountForm = Form.Fields.make([
|
|
@@ -53,8 +53,8 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
53
53
|
id: "opencode.provider.snowflake.cortex",
|
|
54
54
|
effect: Effect.fn(function* (ctx) {
|
|
55
55
|
const http = yield* HttpClient.HttpClient;
|
|
56
|
-
const credentials = yield*
|
|
57
|
-
const integrations = yield*
|
|
56
|
+
const credentials = yield* Service70;
|
|
57
|
+
const integrations = yield* Service69;
|
|
58
58
|
const bus = yield* Service83;
|
|
59
59
|
const configured = yield* configuredSettings2(providerID);
|
|
60
60
|
const account = { value: "" };
|
|
@@ -184,7 +184,7 @@ var SnowflakeCortexPlugin2 = define({
|
|
|
184
184
|
});
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
yield* bus.subscribe(
|
|
187
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load.pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
188
188
|
yield* ctx.session.hook("http.request", (event) => Effect.sync(() => {
|
|
189
189
|
const token = envToken();
|
|
190
190
|
if (token)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-7yb49614.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./formatter-p1a9ajhc.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-q07xjvq6.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-4v6j91f0.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./formatter-k9d40v1y.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
load5
|
|
23
|
+
} from "./formatter-5tfn2ep9.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./formatter-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./formatter-sqy4ahhk.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./formatter-jy0qaq37.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./formatter-526x9cfz.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./formatter-5601sb2r.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./formatter-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./formatter-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./formatter-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service10,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
61
|
layer: () => layer7,
|
|
62
|
-
node: () =>
|
|
62
|
+
node: () => node12,
|
|
63
63
|
retainUsers: () => retainUsers2,
|
|
64
64
|
serializeToolContent: () => serializeToolContent2,
|
|
65
65
|
truncateToolOutput: () => truncateToolOutput2
|
|
@@ -125,7 +125,7 @@ var SUMMARY_HEADINGS = SUMMARY_TEMPLATE.split(`
|
|
|
125
125
|
`).filter((line) => line.startsWith("##"));
|
|
126
126
|
var LEGACY_HEADING = "## Additional Context";
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service10 extends Context.Service()("@opencode/SessionCompaction") {
|
|
129
129
|
}
|
|
130
130
|
var hasInputUsage = (message) => message.type === "assistant" && !message.error && message.tokens !== undefined && message.tokens.input + message.tokens.cache.read + message.tokens.cache.write > 0;
|
|
131
131
|
var estimateTokens2 = (input) => {
|
|
@@ -298,7 +298,7 @@ var buildPrompt2 = (update, legacy = false) => {
|
|
|
298
298
|
};
|
|
299
299
|
var hasSummarySection = (summary) => summary.split(`
|
|
300
300
|
`).some((line) => SUMMARY_HEADINGS.includes(line.trim()));
|
|
301
|
-
var layer7 = Layer.effect(
|
|
301
|
+
var layer7 = Layer.effect(Service10, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -377,7 +377,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
377
377
|
webSocket
|
|
378
378
|
});
|
|
379
379
|
};
|
|
380
|
-
const original = (sessionID) =>
|
|
380
|
+
const original = (sessionID) => load5(db, sessionID, "local").pipe(Effect.orDie);
|
|
381
381
|
const recoverLocally = (input) => original(input.context.session.id).pipe(Effect.flatMap((messages) => execute({ ...input, context: { ...input.context, messages } })));
|
|
382
382
|
const executeProvider = Effect.fn("SessionCompaction.executeProvider")(function* (input) {
|
|
383
383
|
const context = input.context;
|
|
@@ -606,7 +606,7 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service10.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer7 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
618
|
+
var node12 = makeLocationNode({
|
|
619
|
+
service: Service10,
|
|
620
620
|
layer: layer7,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service10, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node12, exports_compaction3 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./formatter-a8eqz3x1.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service19
|
|
6
|
+
} from "./formatter-4arb9zza.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./formatter-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin35
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin35 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service53;
|
|
29
|
+
const managed = yield* Service19;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin26 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin35, exports_policy };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-defaults.ts
|
|
6
6
|
var exports_mcp_codemode_defaults = {};
|
|
7
7
|
__export(exports_mcp_codemode_defaults, {
|
|
8
8
|
McpCodeModeDefaultsPlugin: () => exports_mcp_codemode_defaults,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin11
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
14
|
var posthog = /^mcp(?:-eu|\.us|\.eu)?\.posthog\.com$/;
|
|
15
15
|
var mode = "x-posthog-mcp-mode";
|
|
16
|
-
var
|
|
16
|
+
var Plugin11 = define({
|
|
17
17
|
id: "opencode.mcp.codemode.defaults",
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -38,4 +38,4 @@ var Plugin43 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin11, exports_mcp_codemode_defaults };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./formatter-1ad61yzs.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-pnc9qwkd.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/plugin/agent.ts
|
|
14
|
-
var
|
|
15
|
-
__export(
|
|
16
|
-
AgentPlugin: () =>
|
|
17
|
-
Plugin: () =>
|
|
14
|
+
var exports_agent = {};
|
|
15
|
+
__export(exports_agent, {
|
|
16
|
+
AgentPlugin: () => exports_agent,
|
|
17
|
+
Plugin: () => Plugin12
|
|
18
18
|
});
|
|
19
19
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
20
20
|
import { Effect } from "effect";
|
|
@@ -90,7 +90,7 @@ Rules:
|
|
|
90
90
|
- Never ask questions or add new questions
|
|
91
91
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
92
92
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
93
|
-
var
|
|
93
|
+
var Plugin12 = define({
|
|
94
94
|
id: "opencode.agent",
|
|
95
95
|
effect: Effect.fn(function* (ctx) {
|
|
96
96
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -100,13 +100,13 @@ var Plugin50 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID15.make("general"), (item) => {
|
|
104
104
|
item.name = Name3.make("General");
|
|
105
105
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
106
106
|
item.mode = "subagent";
|
|
107
107
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
108
108
|
});
|
|
109
|
-
editor.update(
|
|
109
|
+
editor.update(ID15.make("explore"), (item) => {
|
|
110
110
|
const externalDirectories = item.permissions.filter((rule) => rule.action === "external_directory" && rule.effect === "allow");
|
|
111
111
|
item.name = Name3.make("Explore");
|
|
112
112
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
@@ -125,19 +125,19 @@ var Plugin50 = define({
|
|
|
125
125
|
{ action: "subagent", resource: "*", effect: "deny" }
|
|
126
126
|
], [{ action: "external_directory", resource: "*", effect: "ask" }, ...externalDirectories]));
|
|
127
127
|
});
|
|
128
|
-
editor.update(
|
|
128
|
+
editor.update(ID15.make("compaction"), (item) => {
|
|
129
129
|
item.name = Name3.make("Compaction");
|
|
130
130
|
item.mode = "primary";
|
|
131
131
|
item.hidden = true;
|
|
132
132
|
});
|
|
133
|
-
editor.update(
|
|
133
|
+
editor.update(ID15.make("title"), (item) => {
|
|
134
134
|
item.name = Name3.make("Title");
|
|
135
135
|
item.mode = "primary";
|
|
136
136
|
item.hidden = true;
|
|
137
137
|
item.system = PROMPT_TITLE;
|
|
138
138
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
139
139
|
});
|
|
140
|
-
editor.update(
|
|
140
|
+
editor.update(ID15.make("summary"), (item) => {
|
|
141
141
|
item.name = Name3.make("Summary");
|
|
142
142
|
item.mode = "primary";
|
|
143
143
|
item.hidden = true;
|
|
@@ -148,4 +148,4 @@ var Plugin50 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin12, exports_agent };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/managed-policy.ts
|
|
6
6
|
var exports_managed_policy = {};
|
|
7
7
|
__export(exports_managed_policy, {
|
|
8
8
|
ManagedPolicy: () => exports_managed_policy,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service19,
|
|
10
|
+
node: () => node21
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service19 extends Context.Service()("@opencode/ManagedPolicy") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service19, () => {
|
|
18
18
|
const state = { current: { statements: [] } };
|
|
19
|
-
return
|
|
19
|
+
return Service19.of({
|
|
20
20
|
current: () => state.current,
|
|
21
21
|
set: (next) => Effect.sync(() => {
|
|
22
22
|
state.current = next;
|
|
23
23
|
})
|
|
24
24
|
});
|
|
25
25
|
});
|
|
26
|
-
var
|
|
26
|
+
var node21 = makeGlobalNode({ service: Service19, layer, deps: [] });
|
|
27
27
|
|
|
28
|
-
export {
|
|
28
|
+
export { Service19, node21, exports_managed_policy };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./formatter-4v6j91f0.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service59
|
|
6
|
+
} from "./formatter-aew6e1r0.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./formatter-j8a6srd3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service44
|
|
12
|
+
} from "./formatter-tfj9sgam.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-qrc64xzg.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./formatter-526x9cfz.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./formatter-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./formatter-ecfe7b91.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./formatter-5601sb2r.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./formatter-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -54,8 +54,8 @@ var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not r
|
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service59;
|
|
58
|
+
const toolOutput = yield* Service44;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-gxfd8hef.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-q07xjvq6.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./formatter-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./formatter-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./formatter-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./formatter-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./formatter-y71avatq.js";
|
|
8
8
|
import {
|
|
9
9
|
MAX_TOTAL_PATCH_BYTES2,
|
|
10
10
|
emptyPatch2,
|
|
11
11
|
chunksByFile2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./formatter-tazgh4e4.js";
|
|
13
13
|
import {
|
|
14
14
|
gitExecutable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./formatter-ef5x83kb.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./formatter-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/git.ts
|
|
21
21
|
var exports_git3 = {};
|
|
@@ -23,11 +23,11 @@ __export(exports_git3, {
|
|
|
23
23
|
Git: () => exports_git3,
|
|
24
24
|
OperationError: () => OperationError3,
|
|
25
25
|
Repository: () => Repository2,
|
|
26
|
-
Service: () =>
|
|
26
|
+
Service: () => Service80,
|
|
27
27
|
TreeID: () => TreeID2,
|
|
28
28
|
Worktree: () => Worktree2,
|
|
29
29
|
WorktreeError: () => WorktreeError2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node84
|
|
31
31
|
});
|
|
32
32
|
import path from "path";
|
|
33
33
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -93,9 +93,9 @@ class WorktreeError2 extends Schema.TaggedError()("Git.WorktreeError", {
|
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
|
|
96
|
-
class
|
|
96
|
+
class Service80 extends Context.Service()("@opencode/Git") {
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const locks = makeUnsafe2();
|
|
@@ -419,7 +419,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
419
419
|
kind: index === 0 ? "main" : "linked"
|
|
420
420
|
}));
|
|
421
421
|
});
|
|
422
|
-
return
|
|
422
|
+
return Service80.of({
|
|
423
423
|
repo: { discover, clone, create },
|
|
424
424
|
remote: { get: remote },
|
|
425
425
|
history: { head, branch, defaultRemoteBranch: remoteHead, rootCommits: roots },
|
|
@@ -435,7 +435,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
435
435
|
}
|
|
436
436
|
});
|
|
437
437
|
}));
|
|
438
|
-
var
|
|
438
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [FSUtil.node, AppProcess.node] });
|
|
439
439
|
function run(cwd, proc, args) {
|
|
440
440
|
return execute(cwd, proc, args).pipe(Effect.orElseSucceed(() => ({ exitCode: 1, text: "", stderr: "" })));
|
|
441
441
|
}
|
|
@@ -463,4 +463,4 @@ function resolvePath(cwd, value) {
|
|
|
463
463
|
return path.resolve(cwd, normalized);
|
|
464
464
|
}
|
|
465
465
|
|
|
466
|
-
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2,
|
|
466
|
+
export { Repository2, TreeID2, OperationError3, Worktree2, WorktreeError2, Service80, node84, exports_git3 };
|