@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,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/command.ts
|
|
6
|
-
var
|
|
7
|
-
__export(
|
|
8
|
-
ConfigCommandV1: () =>
|
|
9
|
-
Info: () =>
|
|
6
|
+
var exports_command4 = {};
|
|
7
|
+
__export(exports_command4, {
|
|
8
|
+
ConfigCommandV1: () => exports_command4,
|
|
9
|
+
Info: () => Info18
|
|
10
10
|
});
|
|
11
11
|
import { Schema } from "effect";
|
|
12
|
-
var
|
|
12
|
+
var Info18 = Schema.Struct({
|
|
13
13
|
template: Schema.String,
|
|
14
14
|
description: Schema.optional(Schema.String),
|
|
15
15
|
agent: Schema.optional(Schema.String),
|
|
@@ -18,4 +18,4 @@ var Info14 = Schema.Struct({
|
|
|
18
18
|
subtask: Schema.optional(Schema.Boolean)
|
|
19
19
|
});
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Info18, exports_command4 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service44
|
|
3
|
+
} from "./websearch-dxvesfzj.js";
|
|
4
4
|
import {
|
|
5
5
|
Service14
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-4z78jc8k.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-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: () => Plugin33
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin33 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
28
|
+
const config = yield* Service44;
|
|
29
29
|
const managed = yield* Service14;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
@@ -57,4 +57,4 @@ var Plugin5 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin33, exports_policy };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service80
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-1mpytbrd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service78
|
|
12
|
+
} from "./websearch-3va2t4ne.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service77
|
|
16
|
+
} from "./websearch-f9tzck21.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-wbhf1d2f.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service70
|
|
26
|
+
} from "./websearch-eamc0k64.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service69
|
|
29
|
+
} from "./websearch-hfdggbzh.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./websearch-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin36,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input9 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent5 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin36 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
89
|
+
const environment = yield* Service78;
|
|
90
|
+
const ripgrep = yield* Service77;
|
|
91
91
|
const location = yield* Service80;
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
92
|
+
const access = yield* Service69;
|
|
93
|
+
const permission = yield* Service70;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin28 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin28 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin36, exports_grep };
|
|
@@ -2,45 +2,45 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
Service80
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-1mpytbrd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service78
|
|
11
|
+
} from "./websearch-3va2t4ne.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service17
|
|
14
|
+
} from "./websearch-b6m9cw84.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
Service57,
|
|
17
17
|
readText2,
|
|
18
18
|
syncTextBom2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-10915612.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service70
|
|
22
|
+
} from "./websearch-eamc0k64.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
24
|
+
Service69,
|
|
25
25
|
resolvePath2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./websearch-hfdggbzh.js";
|
|
27
27
|
import {
|
|
28
28
|
fileDiff2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-6prwharc.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./websearch-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/patch.ts
|
|
35
35
|
var exports_patch = {};
|
|
36
36
|
__export(exports_patch, {
|
|
37
37
|
Applied: () => Applied2,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
38
|
+
Input: () => Input8,
|
|
39
|
+
Output: () => Output6,
|
|
40
40
|
PatchTool: () => exports_patch,
|
|
41
|
-
Plugin: () =>
|
|
42
|
-
name: () =>
|
|
43
|
-
toModelContent: () =>
|
|
41
|
+
Plugin: () => Plugin42,
|
|
42
|
+
name: () => name8,
|
|
43
|
+
toModelContent: () => toModelContent5
|
|
44
44
|
});
|
|
45
45
|
import { ToolFailure } from "@opencode/ai";
|
|
46
46
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
@@ -85,8 +85,8 @@ It is important to remember:
|
|
|
85
85
|
`;
|
|
86
86
|
|
|
87
87
|
// src/tool/plugin/patch.ts
|
|
88
|
-
var
|
|
89
|
-
var
|
|
88
|
+
var name8 = "patch";
|
|
89
|
+
var Input8 = Schema.Struct({
|
|
90
90
|
patchText: Schema.String.annotate({
|
|
91
91
|
description: "The full patch text describing add, update, and delete operations"
|
|
92
92
|
})
|
|
@@ -96,30 +96,30 @@ var Applied2 = Schema.Struct({
|
|
|
96
96
|
resource: Schema.String,
|
|
97
97
|
target: Schema.String
|
|
98
98
|
});
|
|
99
|
-
var
|
|
99
|
+
var Output6 = Schema.Struct({
|
|
100
100
|
applied: Schema.Array(Applied2),
|
|
101
101
|
files: Schema.Array(FileDiff.Info)
|
|
102
102
|
});
|
|
103
|
-
var
|
|
103
|
+
var toModelContent5 = (output) => [
|
|
104
104
|
"Success. Updated the following files:",
|
|
105
105
|
...output.applied.map((item) => `${item.type === "add" ? "A" : item.type === "delete" ? "D" : "M"} ${item.resource}`)
|
|
106
106
|
].join(`
|
|
107
107
|
`);
|
|
108
|
-
var
|
|
108
|
+
var Plugin42 = {
|
|
109
109
|
id: "opencode.tool.patch",
|
|
110
110
|
effect: Effect.fn("PatchTool.Plugin")(function* (ctx) {
|
|
111
|
-
const environment = yield*
|
|
112
|
-
const access = yield*
|
|
113
|
-
const fileMutation = yield*
|
|
114
|
-
const formatter = yield*
|
|
111
|
+
const environment = yield* Service78;
|
|
112
|
+
const access = yield* Service69;
|
|
113
|
+
const fileMutation = yield* Service57;
|
|
114
|
+
const formatter = yield* Service17;
|
|
115
115
|
const location = yield* Service80;
|
|
116
|
-
const permission = yield*
|
|
116
|
+
const permission = yield* Service70;
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name8,
|
|
119
119
|
options: { codemode: false, permission: "edit" },
|
|
120
120
|
description: patch_default,
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
121
|
+
input: Input8,
|
|
122
|
+
output: Output6,
|
|
123
123
|
execute: (input, context) => {
|
|
124
124
|
const applied = [];
|
|
125
125
|
const parsed = Patch.parse(input.patchText);
|
|
@@ -266,7 +266,7 @@ var Plugin26 = {
|
|
|
266
266
|
return { applied, files };
|
|
267
267
|
}).pipe(fileMutation.withLock(lockTargets), Effect.map((output) => ({
|
|
268
268
|
output,
|
|
269
|
-
content:
|
|
269
|
+
content: toModelContent5(output),
|
|
270
270
|
metadata: { files: output.files }
|
|
271
271
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: "Unable to apply patch", error })));
|
|
272
272
|
}
|
|
@@ -326,4 +326,4 @@ function trimDiff(diff) {
|
|
|
326
326
|
`);
|
|
327
327
|
}
|
|
328
328
|
|
|
329
|
-
export {
|
|
329
|
+
export { name8, Input8, Applied2, Output6, toModelContent5, Plugin42, exports_patch };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-bjnm8sq4.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-ygv8vf3r.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service51
|
|
9
|
+
} from "./websearch-gjmk74th.js";
|
|
10
10
|
import {
|
|
11
11
|
RelativePath2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-922hggd3.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID4,
|
|
15
|
+
Service36
|
|
16
|
+
} from "./websearch-273x4bvc.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
SessionMessage2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./websearch-gftt206x.js";
|
|
23
23
|
import {
|
|
24
24
|
MessageNotFoundError2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./websearch-gmjjhz4f.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionMessageTable2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./websearch-a1bz86dw.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./websearch-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/revert.ts
|
|
34
34
|
var exports_revert = {};
|
|
@@ -42,12 +42,12 @@ __export(exports_revert, {
|
|
|
42
42
|
import { and, asc, eq, gt } from "drizzle-orm";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
45
|
-
const instances = yield*
|
|
45
|
+
const instances = yield* Service51;
|
|
46
46
|
const database = yield* Service84;
|
|
47
47
|
const bus = yield* Service83;
|
|
48
48
|
return yield* Effect.gen(function* () {
|
|
49
|
-
const snapshot = yield*
|
|
50
|
-
const original = input.session.revert?.snapshot ?
|
|
49
|
+
const snapshot = yield* Service36;
|
|
50
|
+
const original = input.session.revert?.snapshot ? ID4.make(input.session.revert.snapshot) : yield* snapshot.capture();
|
|
51
51
|
const next = yield* plan(database.db, { sessionID: input.session.id, messageID: input.messageID });
|
|
52
52
|
const restore = new Map;
|
|
53
53
|
if (original) {
|
|
@@ -74,13 +74,13 @@ var stage2 = Effect.fn("SessionRevert.stage")(function* (input) {
|
|
|
74
74
|
}).pipe(instances.provide(input.session));
|
|
75
75
|
});
|
|
76
76
|
var clear2 = Effect.fn("SessionRevert.clear")(function* (session) {
|
|
77
|
-
const instances = yield*
|
|
77
|
+
const instances = yield* Service51;
|
|
78
78
|
const bus = yield* Service83;
|
|
79
79
|
yield* Effect.gen(function* () {
|
|
80
|
-
const snapshot = yield*
|
|
80
|
+
const snapshot = yield* Service36;
|
|
81
81
|
if (!session.revert)
|
|
82
82
|
return;
|
|
83
|
-
const original = session.revert.snapshot ?
|
|
83
|
+
const original = session.revert.snapshot ? ID4.make(session.revert.snapshot) : undefined;
|
|
84
84
|
if (original)
|
|
85
85
|
yield* snapshot.restore({
|
|
86
86
|
files: new Map((session.revert.files ?? []).map((file) => [RelativePath2.make(file.file), original]))
|
|
@@ -111,7 +111,7 @@ var plan = Effect.fn("SessionRevert.plan")(function* (db, input) {
|
|
|
111
111
|
continue;
|
|
112
112
|
for (const file of message.snapshot.files ?? [])
|
|
113
113
|
if (!files.has(file))
|
|
114
|
-
files.set(file,
|
|
114
|
+
files.set(file, ID4.make(message.snapshot.start));
|
|
115
115
|
}
|
|
116
116
|
return files;
|
|
117
117
|
});
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID14,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./websearch-a30y0zke.js";
|
|
6
6
|
import {
|
|
7
7
|
merge2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-eamc0k64.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-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: () => Plugin13
|
|
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 Plugin13 = 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 Plugin45 = define({
|
|
|
100
100
|
item.mode = "primary";
|
|
101
101
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
102
102
|
});
|
|
103
|
-
editor.update(
|
|
103
|
+
editor.update(ID14.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(ID14.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 Plugin45 = 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(ID14.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(ID14.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(ID14.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 Plugin45 = define({
|
|
|
148
148
|
})
|
|
149
149
|
});
|
|
150
150
|
|
|
151
|
-
export {
|
|
151
|
+
export { Plugin13, exports_agent };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-j1g0a8z5.js";
|
|
4
4
|
import {
|
|
5
5
|
lazy2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-88xbtdfr.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/shell/parse.ts
|
|
15
15
|
var exports_parse = {};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
resolveNullableObjectPaths2,
|
|
3
3
|
mapResultRow2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-emrn6kk6.js";
|
|
5
5
|
import {
|
|
6
6
|
SQLiteEffectDatabase2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-3t60d24d.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/session.ts
|
|
10
10
|
import * as Cause from "effect/Cause";
|
|
@@ -5,15 +5,15 @@ import {
|
|
|
5
5
|
ModelInitializationError3,
|
|
6
6
|
UnresolvedProviderVariablesError3,
|
|
7
7
|
UnsupportedCompactionError3,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service59,
|
|
9
|
+
node62
|
|
10
|
+
} from "./websearch-p5n00eja.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionSchema2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./websearch-q3t37ft6.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./websearch-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/session/runner/model.ts
|
|
19
19
|
var exports_model = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_model, {
|
|
|
22
22
|
ModelInitializationError: () => ModelInitializationError2,
|
|
23
23
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
24
24
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
25
|
-
Service: () =>
|
|
25
|
+
Service: () => Service52,
|
|
26
26
|
SessionRunnerModel: () => exports_model,
|
|
27
27
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
28
28
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
29
29
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
30
30
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node55,
|
|
32
32
|
resolved: () => resolved2
|
|
33
33
|
});
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -57,7 +57,7 @@ var ModelInitializationError2 = ModelInitializationError3;
|
|
|
57
57
|
var UnresolvedProviderVariablesError2 = UnresolvedProviderVariablesError3;
|
|
58
58
|
var UnsupportedCompactionError2 = UnsupportedCompactionError3;
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service52 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
61
61
|
}
|
|
62
62
|
var resolved2 = (model, options) => ({
|
|
63
63
|
model,
|
|
@@ -72,9 +72,9 @@ var resolved2 = (model, options) => ({
|
|
|
72
72
|
compaction: options.compaction,
|
|
73
73
|
transport: options.transport
|
|
74
74
|
});
|
|
75
|
-
var layer = Layer.effect(
|
|
76
|
-
const resolver = yield*
|
|
77
|
-
return
|
|
75
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
76
|
+
const resolver = yield* Service59;
|
|
77
|
+
return Service52.of({
|
|
78
78
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
79
79
|
if (!session.model) {
|
|
80
80
|
const resolved = yield* resolver.resolve();
|
|
@@ -92,6 +92,6 @@ var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
|
92
92
|
})
|
|
93
93
|
});
|
|
94
94
|
}));
|
|
95
|
-
var
|
|
95
|
+
var node55 = makeLocationNode({ service: Service52, layer, deps: [node62] });
|
|
96
96
|
|
|
97
|
-
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
97
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, VariantUnavailableError2, UnsupportedPackageError2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service52, resolved2, node55, exports_model };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/message-updater.ts
|
|
9
9
|
var exports_message_updater = {};
|