@opencode/core 0.0.0-dev-19968 → 0.0.0-dev-19971
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{filesystem-t550f9t1.js → websearch-02nrjc1r.js} +8 -8
- package/dist/chunks/{filesystem-8mwr3tr3.js → websearch-09map6a0.js} +24 -24
- package/dist/chunks/{filesystem-kepwjj04.js → websearch-0f92sxzd.js} +9 -9
- package/dist/chunks/{filesystem-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{filesystem-ese628mp.js → websearch-0pwhgh8h.js} +27 -27
- package/dist/chunks/{filesystem-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{filesystem-5cavj4mt.js → websearch-10915612.js} +13 -13
- package/dist/chunks/{filesystem-kc9c06qf.js → websearch-19j60k9b.js} +21 -21
- package/dist/chunks/{filesystem-6m3ppzzx.js → websearch-1anmvv20.js} +24 -24
- package/dist/chunks/{filesystem-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{filesystem-2yvcjg7x.js → websearch-1kq608fv.js} +27 -27
- package/dist/chunks/{filesystem-tk02apgh.js → websearch-1mpytbrd.js} +2 -2
- package/dist/chunks/{filesystem-fe2qydnk.js → websearch-1p2sdtde.js} +6 -6
- package/dist/chunks/{filesystem-v321thzt.js → websearch-1t2sqhcs.js} +4 -4
- package/dist/chunks/{filesystem-984jxsb2.js → websearch-1twwwxc3.js} +7 -7
- package/dist/chunks/{filesystem-56gdpj1q.js → websearch-1ygqh575.js} +9 -9
- package/dist/chunks/{filesystem-dz8x4rxg.js → websearch-1yv162eq.js} +4 -4
- package/dist/chunks/{filesystem-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{filesystem-2a4f6v5q.js → websearch-2336b01z.js} +8 -8
- package/dist/chunks/{filesystem-6h73sxmp.js → websearch-2402vzrj.js} +5 -5
- package/dist/chunks/{filesystem-tfrapzag.js → websearch-273x4bvc.js} +17 -17
- package/dist/chunks/{filesystem-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{filesystem-tdj2jmmg.js → websearch-2cby6ycg.js} +22 -22
- package/dist/chunks/{filesystem-3ewed21c.js → websearch-2k71kv7p.js} +4 -4
- package/dist/chunks/{filesystem-9ggrt063.js → websearch-2rfba7m5.js} +13 -13
- package/dist/chunks/{filesystem-fr7p31gg.js → websearch-2rshs1gx.js} +32 -32
- package/dist/chunks/{filesystem-evbgk2k8.js → websearch-37s12vcn.js} +5 -5
- package/dist/chunks/{filesystem-w4arg62q.js → websearch-3a6re68j.js} +6 -6
- package/dist/chunks/{filesystem-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{filesystem-315q9sqw.js → websearch-3gr5sfar.js} +10 -10
- package/dist/chunks/{filesystem-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{filesystem-wz3jbs46.js → websearch-3mms5ene.js} +3 -3
- package/dist/chunks/{filesystem-66v3shg0.js → websearch-3mwrkndb.js} +15 -15
- package/dist/chunks/{filesystem-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{filesystem-03qp45f7.js → websearch-3t60d24d.js} +7 -7
- package/dist/chunks/{filesystem-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{filesystem-xkvv7e7p.js → websearch-3va2t4ne.js} +21 -21
- package/dist/chunks/{filesystem-nfdxhgw7.js → websearch-3yfsrc7f.js} +8 -8
- package/dist/chunks/{filesystem-07cknprf.js → websearch-47j6g49p.js} +84 -84
- package/dist/chunks/{filesystem-qpk9q6jw.js → websearch-484ven3d.js} +10 -10
- package/dist/chunks/{filesystem-k6w0f24y.js → websearch-490js09j.js} +7 -7
- package/dist/chunks/{filesystem-v0jz8j41.js → websearch-4argy660.js} +20 -20
- package/dist/chunks/{filesystem-dxath9w1.js → websearch-4bfr0h1a.js} +26 -26
- package/dist/chunks/{filesystem-qvb3nf84.js → websearch-4c8bw516.js} +8 -8
- package/dist/chunks/{filesystem-4f6fk8j7.js → websearch-4emms01x.js} +43 -43
- package/dist/chunks/{filesystem-kr1rbf8c.js → websearch-4nwwzap6.js} +13 -13
- package/dist/chunks/{filesystem-rtz42hzw.js → websearch-4rdw2jk2.js} +11 -11
- package/dist/chunks/websearch-4v7qdvcn.js +18 -0
- package/dist/chunks/{filesystem-f5gy8qwh.js → websearch-4z78jc8k.js} +4 -4
- package/dist/chunks/{filesystem-wwsm4ja9.js → websearch-52j4gwnf.js} +5 -5
- package/dist/chunks/{filesystem-qqeeq2t9.js → websearch-57b9ws8p.js} +4 -4
- package/dist/chunks/{filesystem-57ez7d0k.js → websearch-57ez7d0k.js} +2 -2
- package/dist/chunks/{filesystem-q04s9zb8.js → websearch-5bgxqkp2.js} +8 -8
- package/dist/chunks/{filesystem-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{filesystem-a9j7mz3k.js → websearch-5g1dq8q7.js} +14 -14
- package/dist/chunks/{filesystem-1yx9ccg8.js → websearch-5khnppx8.js} +13 -13
- package/dist/chunks/{filesystem-367n4pkp.js → websearch-5pep6vw4.js} +14 -14
- package/dist/chunks/{filesystem-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{filesystem-mebwty07.js → websearch-5vz0r8c8.js} +25 -25
- package/dist/chunks/{filesystem-8hvwwpmz.js → websearch-5zrdtdrf.js} +11 -11
- package/dist/chunks/{filesystem-swkgbbmy.js → websearch-657t18yv.js} +4 -4
- package/dist/chunks/{filesystem-yech8yc4.js → websearch-65ecsfj5.js} +16 -16
- package/dist/chunks/{filesystem-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{filesystem-hxtyzbxe.js → websearch-67z5vx6v.js} +16 -16
- package/dist/chunks/{filesystem-5crjye1b.js → websearch-68s0cpd5.js} +1 -1
- package/dist/chunks/{filesystem-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{filesystem-h3w2pzs8.js → websearch-6mtbrevk.js} +15 -15
- package/dist/chunks/{filesystem-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{filesystem-awwr15q3.js → websearch-7hb0xpq9.js} +35 -35
- package/dist/chunks/{filesystem-6pz80v41.js → websearch-7j2yenkd.js} +5 -5
- package/dist/chunks/{filesystem-j710vash.js → websearch-7m2tq7cp.js} +12 -12
- package/dist/chunks/{filesystem-bcb5hys9.js → websearch-7w3s9kd0.js} +6 -6
- package/dist/chunks/{filesystem-48zn05f2.js → websearch-7zchfbzk.js} +5 -5
- package/dist/chunks/{filesystem-qgahmr9f.js → websearch-85h867b1.js} +46 -46
- package/dist/chunks/{filesystem-89znhe33.js → websearch-89znhe33.js} +1 -1
- package/dist/chunks/{filesystem-s5met55r.js → websearch-8ank75fn.js} +8 -8
- package/dist/chunks/{filesystem-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{filesystem-w5ce3m9w.js → websearch-8g41p69m.js} +11 -11
- package/dist/chunks/{filesystem-e2hjzebn.js → websearch-8gxqpgph.js} +4 -4
- package/dist/chunks/{filesystem-qn27zvar.js → websearch-8h6f0t3s.js} +21 -21
- package/dist/chunks/{filesystem-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{filesystem-fchff7g2.js → websearch-8rcz2q6j.js} +26 -26
- package/dist/chunks/{filesystem-ec8389mk.js → websearch-8s8mxddj.js} +4 -4
- package/dist/chunks/{filesystem-9a9gf2p8.js → websearch-8ssqt2ma.js} +44 -20
- package/dist/chunks/{filesystem-vzmjqrzc.js → websearch-8wf96ssr.js} +15 -15
- package/dist/chunks/{filesystem-zpv4nz19.js → websearch-8zyqjgnv.js} +23 -23
- package/dist/chunks/{filesystem-b24zw4yy.js → websearch-96dfwwyn.js} +3 -3
- package/dist/chunks/{filesystem-db81embj.js → websearch-98v28jez.js} +25 -25
- package/dist/chunks/{filesystem-rf0nmp6z.js → websearch-9fe2175z.js} +19 -19
- package/dist/chunks/{filesystem-jaqhawhw.js → websearch-9jan11yy.js} +24 -24
- package/dist/chunks/{filesystem-bmtrff8t.js → websearch-9ykp1bjn.js} +20 -20
- package/dist/chunks/{filesystem-kr3cfjxs.js → websearch-9yx7mf9e.js} +24 -24
- package/dist/chunks/{filesystem-grmnzeke.js → websearch-9zt0qaq4.js} +14 -14
- package/dist/chunks/{filesystem-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{filesystem-x0egy8f5.js → websearch-a30y0zke.js} +21 -21
- package/dist/chunks/{filesystem-qrjye5nx.js → websearch-a34cw71v.js} +5 -5
- package/dist/chunks/{filesystem-g3kw94se.js → websearch-a37y538j.js} +8 -8
- package/dist/chunks/{filesystem-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{filesystem-dq0v80fr.js → websearch-afed7ext.js} +5 -5
- package/dist/chunks/{filesystem-hp7p304c.js → websearch-ap1jv5wd.js} +10 -10
- package/dist/chunks/{filesystem-g5hy5kmy.js → websearch-aqekamra.js} +9 -9
- package/dist/chunks/{filesystem-v10hvdrj.js → websearch-atp9h773.js} +15 -15
- package/dist/chunks/{filesystem-tt1k1f2x.js → websearch-axgxjnt4.js} +11 -11
- package/dist/chunks/websearch-ayg7q4gs.js +252 -0
- package/dist/chunks/{filesystem-mhpg8jts.js → websearch-b1p2bp1h.js} +10 -10
- package/dist/chunks/{filesystem-y86nc7k9.js → websearch-b2wvp900.js} +5 -5
- package/dist/chunks/{filesystem-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{filesystem-qd2k5aj0.js → websearch-b6m9cw84.js} +11 -11
- package/dist/chunks/{filesystem-2rvjwpf0.js → websearch-bbx8rj45.js} +11 -11
- package/dist/chunks/{filesystem-j83byb14.js → websearch-bct739vz.js} +4 -4
- package/dist/chunks/{filesystem-46ayrqc0.js → websearch-bg1wpsny.js} +30 -30
- package/dist/chunks/{filesystem-g7qez7ar.js → websearch-bjnm8sq4.js} +3 -3
- package/dist/chunks/{filesystem-7a4kky8k.js → websearch-bkt3ke4c.js} +16 -16
- package/dist/chunks/{filesystem-726ec35f.js → websearch-bt4vczj1.js} +17 -17
- package/dist/chunks/{filesystem-zjnwzkxq.js → websearch-c4b2kpxw.js} +11 -11
- package/dist/chunks/{filesystem-g190xswt.js → websearch-cavr175a.js} +4 -4
- package/dist/chunks/{filesystem-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{filesystem-vrqcba6b.js → websearch-ch9ef3fj.js} +4 -4
- package/dist/chunks/{filesystem-44h5tttr.js → websearch-cpj0znwe.js} +4 -4
- package/dist/chunks/{filesystem-kjpvn9gz.js → websearch-ctg6kqhn.js} +7 -7
- package/dist/chunks/{filesystem-yxwwfj09.js → websearch-cw351spq.js} +3 -3
- package/dist/chunks/{filesystem-m977vtgv.js → websearch-d9rywp8y.js} +27 -27
- package/dist/chunks/{filesystem-met5cert.js → websearch-db4bfb5s.js} +11 -11
- package/dist/chunks/{filesystem-vqqa88a0.js → websearch-dps2ye13.js} +17 -17
- package/dist/chunks/{filesystem-8v6pyhej.js → websearch-dv1qgsyq.js} +8 -8
- package/dist/chunks/{filesystem-hahrk1qf.js → websearch-dxvesfzj.js} +38 -38
- package/dist/chunks/{filesystem-2yx30dk6.js → websearch-e0pc9hss.js} +17 -17
- package/dist/chunks/{filesystem-5fe2effp.js → websearch-e1jqcehv.js} +16 -16
- package/dist/chunks/{filesystem-xnqh7ddg.js → websearch-e3rd11p8.js} +17 -17
- package/dist/chunks/{filesystem-71yfdm4g.js → websearch-e61g2f31.js} +8 -8
- package/dist/chunks/{filesystem-kybncw40.js → websearch-eamc0k64.js} +49 -49
- package/dist/chunks/{filesystem-ef5x83kb.js → websearch-ef5x83kb.js} +1 -1
- package/dist/chunks/{filesystem-1vr7vy9f.js → websearch-efqyzrtz.js} +7 -7
- package/dist/chunks/{filesystem-40n4jky6.js → websearch-eg9c94rq.js} +1 -1
- package/dist/chunks/{filesystem-13fp0ry5.js → websearch-emq5vpv3.js} +24 -24
- package/dist/chunks/{filesystem-vkhk71nk.js → websearch-enpg5945.js} +16 -16
- package/dist/chunks/{filesystem-73tb2d7t.js → websearch-eq1pz5kg.js} +3 -3
- package/dist/chunks/{filesystem-ks2vqhf1.js → websearch-ernzmvnm.js} +31 -31
- package/dist/chunks/{filesystem-erw5rpbs.js → websearch-erw5rpbs.js} +2 -2
- package/dist/chunks/{filesystem-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{filesystem-kvnpp68b.js → websearch-eynpjjts.js} +9 -9
- package/dist/chunks/{filesystem-794cfd8q.js → websearch-ezd1shxf.js} +26 -26
- package/dist/chunks/{filesystem-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{filesystem-wjxs5s53.js → websearch-f9tzck21.js} +14 -14
- package/dist/chunks/{filesystem-xjtsx636.js → websearch-fhz5gfgy.js} +5 -5
- package/dist/chunks/{filesystem-15jj1v8s.js → websearch-fsnmy6e7.js} +4 -4
- package/dist/chunks/{filesystem-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{filesystem-bajakh74.js → websearch-fxqygnfa.js} +4 -4
- package/dist/chunks/{filesystem-1sj6h7by.js → websearch-g4mwgykz.js} +9 -9
- package/dist/chunks/{filesystem-818pfwc9.js → websearch-g8jasmdt.js} +8 -8
- package/dist/chunks/{filesystem-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{filesystem-fpq9acqp.js → websearch-gjmk74th.js} +6 -6
- package/dist/chunks/{filesystem-vd0xk4sc.js → websearch-gmjjhz4f.js} +3 -3
- package/dist/chunks/{filesystem-2427g10n.js → websearch-gv5sesne.js} +17 -17
- package/dist/chunks/{filesystem-gv6a8nnw.js → websearch-gv6a8nnw.js} +2 -2
- package/dist/chunks/{filesystem-grac4bzh.js → websearch-gyj5qngc.js} +25 -25
- package/dist/chunks/{filesystem-edh3qeam.js → websearch-gzahs6bb.js} +17 -17
- package/dist/chunks/{filesystem-jyjec5pm.js → websearch-h5crbhmb.js} +13 -13
- package/dist/chunks/{filesystem-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{filesystem-xdrba4jw.js → websearch-hc9acsgr.js} +9 -9
- package/dist/chunks/{filesystem-wz13sdny.js → websearch-hcpzh4y5.js} +22 -22
- package/dist/chunks/{filesystem-nkwqxfa5.js → websearch-hfdggbzh.js} +15 -15
- package/dist/chunks/{filesystem-16k897g6.js → websearch-hm7h5fnq.js} +79 -79
- package/dist/chunks/{filesystem-2m0fmnh7.js → websearch-hppyn5sa.js} +11 -11
- package/dist/chunks/{filesystem-skzznzbs.js → websearch-j1g0a8z5.js} +22 -22
- package/dist/chunks/{filesystem-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{filesystem-n52vytmr.js → websearch-j841wva5.js} +18 -18
- package/dist/chunks/{filesystem-tdgd79rq.js → websearch-jca4demv.js} +2 -2
- package/dist/chunks/{filesystem-mnbb8qz6.js → websearch-jcynjjsm.js} +6 -6
- package/dist/chunks/{filesystem-r80rqf00.js → websearch-jdqyxw3b.js} +6 -6
- package/dist/chunks/{filesystem-vxacc3vd.js → websearch-jdtnppjh.js} +12 -12
- package/dist/chunks/{filesystem-gsky0jx5.js → websearch-jfgwv67f.js} +8 -8
- package/dist/chunks/{filesystem-sthqeftk.js → websearch-jxy9pp01.js} +30 -30
- package/dist/chunks/{filesystem-nzks3jc8.js → websearch-k3c624dm.js} +3 -3
- package/dist/chunks/{filesystem-8jvadsa9.js → websearch-k72x7rmb.js} +6 -6
- package/dist/chunks/{filesystem-eftxckxc.js → websearch-kbabe8wy.js} +10 -10
- package/dist/chunks/{filesystem-mn84faw2.js → websearch-kf97d77q.js} +20 -20
- package/dist/chunks/{filesystem-wmgcd47k.js → websearch-kskv054x.js} +9 -9
- package/dist/chunks/{filesystem-e3tgbcs4.js → websearch-kz4d7gxj.js} +5 -5
- package/dist/chunks/{filesystem-m3fdjcah.js → websearch-m3fdjcah.js} +1 -1
- package/dist/chunks/{filesystem-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{filesystem-j6ye8ttg.js → websearch-m9x5r80r.js} +8 -8
- package/dist/chunks/{filesystem-3sfkgk8j.js → websearch-mgmaefw5.js} +6 -6
- package/dist/chunks/{filesystem-4d658vbe.js → websearch-mrrrmvzm.js} +32 -32
- package/dist/chunks/{filesystem-qa3qhgw8.js → websearch-mtq6xxnx.js} +7 -7
- package/dist/chunks/{filesystem-w7zfn541.js → websearch-mv0eyhkp.js} +10 -10
- package/dist/chunks/{filesystem-bf42px1p.js → websearch-n64525wv.js} +33 -33
- package/dist/chunks/{filesystem-ngq841kw.js → websearch-n8x6vg9c.js} +34 -34
- package/dist/chunks/{filesystem-nt3wrqm0.js → websearch-neyhfhbv.js} +20 -20
- package/dist/chunks/{filesystem-sq3japyz.js → websearch-nfvzb2qa.js} +15 -15
- package/dist/chunks/{filesystem-t8qw8ht6.js → websearch-ng2t6yjv.js} +4 -4
- package/dist/chunks/{filesystem-dxwm750g.js → websearch-nmtdsvx9.js} +2 -2
- package/dist/chunks/{filesystem-zvtjwpsx.js → websearch-nwjqq5p1.js} +13 -13
- package/dist/chunks/{filesystem-p28j5sbe.js → websearch-p28j5sbe.js} +2 -2
- package/dist/chunks/{filesystem-jd17btx7.js → websearch-p491qsmh.js} +18 -18
- package/dist/chunks/{filesystem-7bg29hqq.js → websearch-p5n00eja.js} +44 -44
- package/dist/chunks/{filesystem-81czwxpn.js → websearch-paegk39x.js} +4 -4
- package/dist/chunks/{filesystem-xb8c9x5k.js → websearch-pb5amgwz.js} +23 -23
- package/dist/chunks/{filesystem-my7dxsb1.js → websearch-pe1tjmn3.js} +11 -11
- package/dist/chunks/{filesystem-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{filesystem-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{filesystem-qry1ksyx.js → websearch-psa6e1wa.js} +22 -22
- package/dist/chunks/{filesystem-0zn36fza.js → websearch-pv02emkf.js} +5 -5
- package/dist/chunks/{filesystem-b5wjsjny.js → websearch-pvcexzwr.js} +6 -6
- package/dist/chunks/{filesystem-ww56n17f.js → websearch-pvh6zpvx.js} +31 -31
- package/dist/chunks/{filesystem-bgg2t0gn.js → websearch-pwvve957.js} +11 -11
- package/dist/chunks/{filesystem-1x75wf9g.js → websearch-q17z9dx8.js} +5 -5
- package/dist/chunks/{filesystem-vjnb44yt.js → websearch-q3t37ft6.js} +3 -3
- package/dist/chunks/{filesystem-y56rcaa9.js → websearch-q5v2a16e.js} +4 -4
- package/dist/chunks/{filesystem-pnv527nz.js → websearch-qg0jgkcp.js} +9 -9
- package/dist/chunks/{filesystem-0jwsre1p.js → websearch-qgn6gcr1.js} +5 -5
- package/dist/chunks/{filesystem-d4he2qe1.js → websearch-qmqgtz8f.js} +9 -9
- package/dist/chunks/{filesystem-p1yj9rea.js → websearch-qn9b0sqe.js} +11 -11
- package/dist/chunks/{filesystem-yykhtw2b.js → websearch-qrpkzea1.js} +25 -25
- package/dist/chunks/{filesystem-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{filesystem-3q78x1dv.js → websearch-qxgb7w54.js} +47 -47
- package/dist/chunks/{filesystem-hm7q9217.js → websearch-qyv22f12.js} +10 -10
- package/dist/chunks/websearch-r0snc0mf.js +26 -0
- package/dist/chunks/{filesystem-zvxfwhrf.js → websearch-r0y2mygc.js} +18 -18
- package/dist/chunks/{filesystem-93cj6zmr.js → websearch-r2gdke7a.js} +7 -7
- package/dist/chunks/{filesystem-j797beme.js → websearch-r6bhbggm.js} +29 -29
- package/dist/chunks/{filesystem-nzkfsc2b.js → websearch-r6fe7wqt.js} +10 -10
- package/dist/chunks/{filesystem-1acjjqhc.js → websearch-r8xr0va3.js} +4 -4
- package/dist/chunks/{filesystem-rdw6cm16.js → websearch-rdw6cm16.js} +1 -1
- package/dist/chunks/{filesystem-qehgnnt6.js → websearch-rftj34h1.js} +16 -16
- package/dist/chunks/{filesystem-3fvwfshq.js → websearch-rg63q7m0.js} +24 -24
- package/dist/chunks/{filesystem-b8xkcadc.js → websearch-rhj3edsb.js} +42 -42
- package/dist/chunks/{filesystem-9zdp25nh.js → websearch-rnxvhcjb.js} +61 -61
- package/dist/chunks/{filesystem-txhkcd96.js → websearch-sc2b8fmw.js} +28 -28
- package/dist/chunks/{filesystem-7e47eksq.js → websearch-sgm3x1y6.js} +20 -20
- package/dist/chunks/{filesystem-kxvxc5re.js → websearch-sneexhcr.js} +33 -33
- package/dist/chunks/{filesystem-6v7g53sy.js → websearch-sv2wt6jj.js} +23 -23
- package/dist/chunks/{filesystem-36j95q9q.js → websearch-sxsb2wh5.js} +29 -29
- package/dist/chunks/{filesystem-pc2tjt9j.js → websearch-syxn4zf7.js} +16 -16
- package/dist/chunks/{filesystem-jpg3dfx2.js → websearch-t23sgjx0.js} +170 -170
- package/dist/chunks/{filesystem-22fs68yw.js → websearch-t7y12kcc.js} +3 -3
- package/dist/chunks/{filesystem-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{filesystem-19w9qk9n.js → websearch-tcg29b4q.js} +1 -1
- package/dist/chunks/{filesystem-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{filesystem-mhyw0mv8.js → websearch-tsgfq9bb.js} +5 -5
- package/dist/chunks/{filesystem-mnk47x55.js → websearch-tt85xgdw.js} +30 -30
- package/dist/chunks/{filesystem-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{filesystem-d0g5vkrh.js → websearch-tx1ywgy3.js} +14 -14
- package/dist/chunks/{filesystem-pha35y92.js → websearch-v3wvqj48.js} +14 -14
- package/dist/chunks/{filesystem-brwjxhej.js → websearch-v6v4kqhc.js} +48 -48
- package/dist/chunks/{filesystem-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{filesystem-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{filesystem-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{filesystem-svap4v14.js → websearch-wbhf1d2f.js} +25 -25
- package/dist/chunks/{filesystem-yjptyezs.js → websearch-wbkyxrgf.js} +5 -5
- package/dist/chunks/{filesystem-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{filesystem-zwx65035.js → websearch-wk20jg90.js} +44 -44
- package/dist/chunks/{filesystem-wk5z6jzv.js → websearch-wk5z6jzv.js} +2 -2
- package/dist/chunks/{filesystem-s6v8axxj.js → websearch-wr1n0z8j.js} +317 -317
- package/dist/chunks/{filesystem-zkhexgat.js → websearch-wxv342sh.js} +29 -29
- package/dist/chunks/{filesystem-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{filesystem-77dd9v53.js → websearch-x1zq0qjw.js} +16 -16
- package/dist/chunks/{filesystem-7m52tntm.js → websearch-x7c0erfj.js} +37 -37
- package/dist/chunks/{filesystem-mmr7bq34.js → websearch-xfdrc2qg.js} +6 -6
- package/dist/chunks/{filesystem-gg9gwaxk.js → websearch-xh3hyv3f.js} +13 -13
- package/dist/chunks/{filesystem-7n1bffd1.js → websearch-y0enq6yx.js} +43 -43
- package/dist/chunks/{filesystem-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{filesystem-y71avatq.js → websearch-y71avatq.js} +1 -1
- package/dist/chunks/{filesystem-6qr3rp4k.js → websearch-ydgy0jv4.js} +6 -6
- package/dist/chunks/{filesystem-zxb2s64m.js → websearch-ygv8vf3r.js} +4 -4
- package/dist/chunks/{filesystem-gkek2rvn.js → websearch-yqc7fef7.js} +3 -3
- package/dist/chunks/{filesystem-ztj62dtv.js → websearch-yr8w2f7w.js} +29 -29
- package/dist/chunks/{filesystem-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{filesystem-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{filesystem-pecb0brz.js → websearch-yt0fqk68.js} +5 -5
- package/dist/chunks/{filesystem-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{filesystem-pqcpq1re.js → websearch-z0tn3z5h.js} +17 -17
- package/dist/chunks/{filesystem-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{filesystem-x65z75f3.js → websearch-z6wvr5eg.js} +3 -3
- package/dist/chunks/{filesystem-kypwf0cg.js → websearch-z7x2t1h4.js} +26 -26
- package/dist/chunks/{filesystem-5g1dwb5p.js → websearch-zans6vvk.js} +33 -33
- package/dist/chunks/{filesystem-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{filesystem-ksn5d0ww.js → websearch-zg4xcdcw.js} +24 -24
- package/dist/chunks/{filesystem-b0b9rar1.js → websearch-zmjry135.js} +3 -3
- package/dist/chunks/{filesystem-ccfvz9bx.js → websearch-zpya8g88.js} +3 -3
- package/dist/chunks/{filesystem-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{filesystem-f88yg6e4.js → websearch-ztz4j6tx.js} +11 -11
- package/dist/chunks/{filesystem-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +125 -125
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +98 -98
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +104 -104
- package/dist/git.js +6 -6
- 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 +98 -98
- 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 +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +80 -80
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +100 -100
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +119 -119
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +79 -79
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +85 -85
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +88 -88
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +104 -104
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/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 +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +95 -95
- package/package.json +8 -8
- package/dist/chunks/filesystem-1spfb7yw.js +0 -26
- package/dist/chunks/filesystem-598yv1c4.js +0 -252
- package/dist/chunks/filesystem-619r8v3y.js +0 -18
- /package/dist/chunks/{filesystem-0mesazry.js → websearch-0mesazry.js} +0 -0
- /package/dist/chunks/{filesystem-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{filesystem-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{filesystem-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{filesystem-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{filesystem-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{filesystem-24dcb14g.js → websearch-24dcb14g.js} +0 -0
- /package/dist/chunks/{filesystem-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{filesystem-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{filesystem-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{filesystem-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{filesystem-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{filesystem-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{filesystem-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{filesystem-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{filesystem-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{filesystem-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{filesystem-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{filesystem-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{filesystem-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{filesystem-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{filesystem-5qd3pb7m.js → websearch-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{filesystem-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{filesystem-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{filesystem-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{filesystem-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{filesystem-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{filesystem-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{filesystem-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{filesystem-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{filesystem-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{filesystem-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{filesystem-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{filesystem-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{filesystem-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{filesystem-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{filesystem-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{filesystem-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{filesystem-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{filesystem-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{filesystem-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{filesystem-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{filesystem-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{filesystem-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{filesystem-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{filesystem-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{filesystem-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{filesystem-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{filesystem-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{filesystem-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{filesystem-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{filesystem-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{filesystem-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{filesystem-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{filesystem-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{filesystem-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{filesystem-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{filesystem-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{filesystem-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{filesystem-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{filesystem-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{filesystem-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{filesystem-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{filesystem-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{filesystem-jjkms2e6.js → websearch-jjkms2e6.js} +0 -0
- /package/dist/chunks/{filesystem-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{filesystem-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{filesystem-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{filesystem-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{filesystem-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{filesystem-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{filesystem-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{filesystem-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{filesystem-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{filesystem-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{filesystem-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{filesystem-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{filesystem-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{filesystem-qg3g05ea.js → websearch-qg3g05ea.js} +0 -0
- /package/dist/chunks/{filesystem-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{filesystem-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{filesystem-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{filesystem-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{filesystem-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{filesystem-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{filesystem-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{filesystem-wc3fc9cn.js → websearch-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{filesystem-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{filesystem-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{filesystem-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{filesystem-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{filesystem-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{filesystem-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{filesystem-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{filesystem-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{filesystem-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{filesystem-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-1mpytbrd.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./websearch-hfdggbzh.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service11
|
|
12
|
+
} from "./websearch-enpg5945.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service12
|
|
27
|
+
} from "./websearch-atp9h773.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input6,
|
|
36
|
+
Plugin: () => Plugin40,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name6,
|
|
39
|
+
toModelContent: () => toModelContent3
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name6 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input6 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin40 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
|
+
const access = yield* Service69;
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
65
|
const location = yield* Service80;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name6,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input6,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -112,7 +112,7 @@ var Plugin29 = {
|
|
|
112
112
|
return { output: result.content, path: result.path };
|
|
113
113
|
}).pipe(Effect.map((result) => ({
|
|
114
114
|
output: result.output,
|
|
115
|
-
content:
|
|
115
|
+
content: toModelContent3(result.path, input.offset, result.output),
|
|
116
116
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
117
117
|
})), Effect.mapError((error) => {
|
|
118
118
|
if (error instanceof ToolFailure)
|
|
@@ -144,7 +144,7 @@ ${suggestions.join(`
|
|
|
144
144
|
});
|
|
145
145
|
})
|
|
146
146
|
};
|
|
147
|
-
var
|
|
147
|
+
var toModelContent3 = (path, offset, output) => {
|
|
148
148
|
if (output.type === "file" && output.encoding === "base64")
|
|
149
149
|
return [
|
|
150
150
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -180,4 +180,4 @@ var toModelContent6 = (path, offset, output) => {
|
|
|
180
180
|
`);
|
|
181
181
|
};
|
|
182
182
|
|
|
183
|
-
export {
|
|
183
|
+
export { name6, Input6, Plugin40, toModelContent3, exports_read };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-ygv8vf3r.js";
|
|
4
4
|
import {
|
|
5
5
|
OAuth3,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Event15
|
|
7
|
+
} from "./websearch-jxy9pp01.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID9,
|
|
10
10
|
MethodID2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-yr8w2f7w.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-cpj0znwe.js";
|
|
15
15
|
import {
|
|
16
16
|
Service14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./websearch-4z78jc8k.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
mergeOverlay2,
|
|
21
21
|
mergeHeaders2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-wxv342sh.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
24
|
+
ID6,
|
|
25
|
+
Input14,
|
|
26
26
|
Response2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./websearch-qrpkzea1.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/opencode.ts
|
|
30
30
|
import { Duration, Effect, Equal, Schema, Semaphore, Stream } from "effect";
|
|
@@ -39,7 +39,7 @@ var methodID = MethodID2.make("device");
|
|
|
39
39
|
var RemoteResponse = Schema.Struct({
|
|
40
40
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
41
41
|
websearch: Schema.Struct({
|
|
42
|
-
providerID:
|
|
42
|
+
providerID: ID6
|
|
43
43
|
}).pipe(Schema.optional),
|
|
44
44
|
experimental: Schema.Struct({
|
|
45
45
|
policies: Schema.Array(ConfigPolicy.Info).pipe(Schema.optional)
|
|
@@ -64,7 +64,7 @@ var User = Schema.Struct({ id: Schema.String, email: Schema.String });
|
|
|
64
64
|
var Org = Schema.Struct({ id: Schema.String, name: Schema.String });
|
|
65
65
|
function oauth(http) {
|
|
66
66
|
return {
|
|
67
|
-
integrationID:
|
|
67
|
+
integrationID: ID9.make("opencode"),
|
|
68
68
|
method: {
|
|
69
69
|
id: methodID,
|
|
70
70
|
type: "oauth",
|
|
@@ -153,7 +153,7 @@ var OpencodePlugin2 = define({
|
|
|
153
153
|
providers.update(providerID, (provider) => {
|
|
154
154
|
if (source && source.provider !== provider)
|
|
155
155
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
156
|
-
provider.integrationID =
|
|
156
|
+
provider.integrationID = ID9.make("opencode");
|
|
157
157
|
if (item.canonical !== undefined)
|
|
158
158
|
provider.canonical = item.canonical;
|
|
159
159
|
if (item.name !== undefined)
|
|
@@ -223,7 +223,7 @@ var OpencodePlugin2 = define({
|
|
|
223
223
|
sourceConnection: snapshot.connection
|
|
224
224
|
});
|
|
225
225
|
}
|
|
226
|
-
const item = providers.get(
|
|
226
|
+
const item = providers.get(ID8.opencode);
|
|
227
227
|
if (!item)
|
|
228
228
|
return;
|
|
229
229
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -235,7 +235,7 @@ var OpencodePlugin2 = define({
|
|
|
235
235
|
});
|
|
236
236
|
});
|
|
237
237
|
yield* ctx.model.transform((models) => {
|
|
238
|
-
const item = models.provider.get(
|
|
238
|
+
const item = models.provider.get(ID8.opencode);
|
|
239
239
|
if (!item)
|
|
240
240
|
return;
|
|
241
241
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -269,7 +269,7 @@ var OpencodePlugin2 = define({
|
|
|
269
269
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
270
270
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
271
271
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
272
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
272
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
273
273
|
query: input.query,
|
|
274
274
|
providerID: descriptor.providerID
|
|
275
275
|
}));
|
|
@@ -291,7 +291,7 @@ var OpencodePlugin2 = define({
|
|
|
291
291
|
yield* Effect.all([ctx.provider.reload(), ctx.websearch.reload()], { concurrency: 2, discard: true });
|
|
292
292
|
});
|
|
293
293
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(apply)));
|
|
294
|
-
yield* bus.subscribe(
|
|
294
|
+
yield* bus.subscribe(Event15.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID9.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
295
295
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(loading.withPermit(load().pipe(Effect.flatMap((next) => Equal.equals(snapshot, next) ? Effect.void : apply(next))))), Effect.forever, Effect.forkScoped);
|
|
296
296
|
})
|
|
297
297
|
});
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-bjnm8sq4.js";
|
|
5
5
|
import {
|
|
6
6
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-ygv8vf3r.js";
|
|
9
9
|
import {
|
|
10
10
|
llmClient2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-5t3nmthw.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./websearch-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
provenance2,
|
|
17
17
|
compatible2,
|
|
18
18
|
isCheckpoint2,
|
|
19
19
|
encode2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-paegk39x.js";
|
|
21
21
|
import {
|
|
22
22
|
load5
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-e61g2f31.js";
|
|
24
24
|
import {
|
|
25
25
|
create3
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-rdw6cm16.js";
|
|
27
27
|
import {
|
|
28
28
|
toLLMMessages2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-tcg29b4q.js";
|
|
30
30
|
import {
|
|
31
31
|
baseTranscript2,
|
|
32
32
|
unsupportedParts2,
|
|
33
33
|
boundImages2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./websearch-2rshs1gx.js";
|
|
35
35
|
import {
|
|
36
36
|
toSessionError2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./websearch-q5v2a16e.js";
|
|
38
38
|
import {
|
|
39
39
|
policy2,
|
|
40
40
|
transient2
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./websearch-1p2sdtde.js";
|
|
42
42
|
import {
|
|
43
43
|
estimate2
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./websearch-h6vf3j39.js";
|
|
45
45
|
import {
|
|
46
46
|
calculateCost2,
|
|
47
47
|
record2,
|
|
48
48
|
add2
|
|
49
|
-
} from "./
|
|
49
|
+
} from "./websearch-tdstcens.js";
|
|
50
50
|
import {
|
|
51
51
|
__export
|
|
52
|
-
} from "./
|
|
52
|
+
} from "./websearch-9rqn6x4v.js";
|
|
53
53
|
|
|
54
54
|
// src/session/compaction.ts
|
|
55
55
|
var exports_compaction3 = {};
|
|
56
56
|
__export(exports_compaction3, {
|
|
57
|
-
Service: () =>
|
|
57
|
+
Service: () => Service7,
|
|
58
58
|
SessionCompaction: () => exports_compaction3,
|
|
59
59
|
buildPrompt: () => buildPrompt2,
|
|
60
60
|
estimateTokens: () => estimateTokens2,
|
|
61
|
-
layer: () =>
|
|
62
|
-
node: () =>
|
|
61
|
+
layer: () => layer7,
|
|
62
|
+
node: () => node9,
|
|
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 Service7 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
|
|
301
|
+
var layer7 = Layer.effect(Service7, Effect.gen(function* () {
|
|
302
302
|
const bus = yield* Service83;
|
|
303
303
|
const llm = yield* LLMClient.Service;
|
|
304
304
|
const db = (yield* Service84).db;
|
|
@@ -606,7 +606,7 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
606
606
|
}
|
|
607
607
|
}));
|
|
608
608
|
});
|
|
609
|
-
return
|
|
609
|
+
return Service7.of({
|
|
610
610
|
transform: state.transform,
|
|
611
611
|
reload: state.reload,
|
|
612
612
|
enabled: () => state.get().auto,
|
|
@@ -615,10 +615,10 @@ var layer6 = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
615
615
|
compactManual
|
|
616
616
|
});
|
|
617
617
|
}));
|
|
618
|
-
var
|
|
619
|
-
service:
|
|
620
|
-
layer:
|
|
618
|
+
var node9 = makeLocationNode({
|
|
619
|
+
service: Service7,
|
|
620
|
+
layer: layer7,
|
|
621
621
|
deps: [node87, node88, llmClient2]
|
|
622
622
|
});
|
|
623
623
|
|
|
624
|
-
export {
|
|
624
|
+
export { Service7, estimateTokens2, retainUsers2, truncateToolOutput2, serializeToolContent2, buildPrompt2, layer7, node9, exports_compaction3 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service82,
|
|
6
6
|
node86
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-afed7ext.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-2402vzrj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service56,
|
|
16
|
+
node59
|
|
17
|
+
} from "./websearch-qyv22f12.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./websearch-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service40,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node44,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service40 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service82;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service56;
|
|
110
|
+
return Service40.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node44 = makeGlobalNode({
|
|
171
|
+
service: Service40,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node86, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node86, Global.node, node59]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service40, isError2, validateBranch2, node44, exports_repository_cache };
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-ygv8vf3r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service65,
|
|
7
|
+
node68
|
|
8
|
+
} from "./websearch-z7x2t1h4.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
11
|
Service80,
|
|
12
12
|
node84
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-1mpytbrd.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service70,
|
|
16
|
+
node73
|
|
17
|
+
} from "./websearch-eamc0k64.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service20,
|
|
20
|
+
node23
|
|
21
|
+
} from "./websearch-hppyn5sa.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./websearch-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/location-lifecycle.ts
|
|
27
27
|
var exports_location_lifecycle = {};
|
|
28
28
|
__export(exports_location_lifecycle, {
|
|
29
29
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
30
|
-
Service: () =>
|
|
31
|
-
node: () =>
|
|
30
|
+
Service: () => Service19,
|
|
31
|
+
node: () => node22
|
|
32
32
|
});
|
|
33
33
|
import { Context, Effect, Layer } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
36
|
-
class
|
|
36
|
+
class Service19 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
37
37
|
}
|
|
38
|
-
var layer = Layer.effect(
|
|
38
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
39
39
|
const bus = yield* Service83;
|
|
40
40
|
const location = yield* Service80;
|
|
41
|
-
const permission = yield*
|
|
42
|
-
const forms = yield*
|
|
43
|
-
const rpc = yield*
|
|
41
|
+
const permission = yield* Service70;
|
|
42
|
+
const forms = yield* Service65;
|
|
43
|
+
const rpc = yield* Service20;
|
|
44
44
|
let closed = false;
|
|
45
45
|
const shutdown = yield* Effect.cached(Effect.gen(function* () {
|
|
46
46
|
closed = true;
|
|
@@ -51,15 +51,15 @@ var layer = Layer.effect(Service22, Effect.gen(function* () {
|
|
|
51
51
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
52
52
|
});
|
|
53
53
|
}).pipe(Effect.uninterruptible));
|
|
54
|
-
return
|
|
54
|
+
return Service19.of({
|
|
55
55
|
isClosed: () => closed,
|
|
56
56
|
shutdown
|
|
57
57
|
});
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
60
|
-
service:
|
|
59
|
+
var node22 = makeLocationNode({
|
|
60
|
+
service: Service19,
|
|
61
61
|
layer,
|
|
62
|
-
deps: [node87, node84,
|
|
62
|
+
deps: [node87, node84, node73, node68, node23]
|
|
63
63
|
});
|
|
64
64
|
|
|
65
|
-
export {
|
|
65
|
+
export { Service19, node22, exports_location_lifecycle };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./websearch-dxvesfzj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service7
|
|
6
|
+
} from "./websearch-9jan11yy.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compaction.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigCompactionPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_compaction2 = {};
|
|
16
|
+
__export(exports_compaction2, {
|
|
17
|
+
ConfigCompactionPlugin: () => exports_compaction2,
|
|
18
|
+
Plugin: () => Plugin23
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin23 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service44;
|
|
26
|
+
const compaction = yield* Service7;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin2 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin23, exports_compaction2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
directoryColumn2,
|
|
3
3
|
pathColumn2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-6msgmcgs.js";
|
|
5
5
|
import {
|
|
6
6
|
Timestamps2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-qfa1cgps.js";
|
|
8
8
|
import {
|
|
9
9
|
ProjectTable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./websearch-8p4f9s12.js";
|
|
11
11
|
|
|
12
12
|
// src/session/sql.ts
|
|
13
13
|
import { sqliteTable, text, integer, index, primaryKey, real, uniqueIndex } from "drizzle-orm/sqlite-core";
|