@opencode/core 0.0.0-dev-19600 → 0.0.0-dev-19602
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 +82 -82
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{schema-eyewd753.js → ripgrep-01qf260s.js} +11 -11
- package/dist/chunks/{schema-kc2pf2wb.js → ripgrep-03cq7ksh.js} +15 -15
- package/dist/chunks/{schema-5yb6dsy5.js → ripgrep-06yesm3b.js} +32 -32
- package/dist/chunks/{schema-1awhc7qw.js → ripgrep-0df5h2qy.js} +21 -21
- package/dist/chunks/{schema-vmwh049b.js → ripgrep-0hg8636t.js} +9 -9
- package/dist/chunks/ripgrep-0mesazry.js +4 -0
- package/dist/chunks/{schema-0paq2nw3.js → ripgrep-0paq2nw3.js} +1 -1
- package/dist/chunks/{schema-0q0f95c6.js → ripgrep-0q0f95c6.js} +1 -1
- package/dist/chunks/{schema-0n6yb30j.js → ripgrep-0sm34qmf.js} +17 -17
- package/dist/chunks/{schema-1x75wf9g.js → ripgrep-0t098hqn.js} +5 -5
- package/dist/chunks/{schema-dbth1pe4.js → ripgrep-0tes6vj0.js} +19 -19
- package/dist/chunks/{schema-6d2r6qkc.js → ripgrep-124zgskp.js} +5 -5
- package/dist/chunks/{schema-4qprwqgn.js → ripgrep-12x6e8th.js} +15 -15
- package/dist/chunks/{schema-qrqn1tr2.js → ripgrep-189gvxgf.js} +16 -16
- package/dist/chunks/{schema-mhkvc446.js → ripgrep-1bbkgx8g.js} +3 -3
- package/dist/chunks/{schema-1dazxqgg.js → ripgrep-1dazxqgg.js} +2 -2
- package/dist/chunks/{schema-zj9nynzz.js → ripgrep-1gfvv37n.js} +9 -9
- package/dist/chunks/{schema-k6gc8fqq.js → ripgrep-1jvw600p.js} +30 -30
- package/dist/chunks/{schema-hyz0k45s.js → ripgrep-20cnsgn6.js} +4 -4
- package/dist/chunks/{schema-21r38tys.js → ripgrep-21r38tys.js} +1 -1
- package/dist/chunks/{schema-f47r0gvn.js → ripgrep-21w4258z.js} +1 -1
- package/dist/chunks/{schema-2402vzrj.js → ripgrep-2402vzrj.js} +1 -1
- package/dist/chunks/{schema-z63w68vq.js → ripgrep-29x78va6.js} +6 -6
- package/dist/chunks/{schema-2a5m3afh.js → ripgrep-2a5m3afh.js} +1 -1
- package/dist/chunks/{schema-3xmwv3w1.js → ripgrep-2c7f7wtp.js} +20 -20
- package/dist/chunks/{schema-2qyc1xj5.js → ripgrep-2fcjxh44.js} +9 -9
- package/dist/chunks/{schema-57ez7d0k.js → ripgrep-2fgn2we9.js} +9 -9
- package/dist/chunks/{schema-0ypfbjae.js → ripgrep-2jbbv5tb.js} +11 -11
- package/dist/chunks/{schema-xk2q8v0k.js → ripgrep-2nv5fzs9.js} +7 -7
- package/dist/chunks/{schema-v78m1hhx.js → ripgrep-2pyh63en.js} +11 -11
- package/dist/chunks/{schema-6jzygt4j.js → ripgrep-2syw43ez.js} +17 -17
- package/dist/chunks/{schema-0w48b795.js → ripgrep-2yqkqxm6.js} +10 -10
- package/dist/chunks/{schema-xdhjt98p.js → ripgrep-31ybmgpq.js} +17 -17
- package/dist/chunks/{schema-b1e4svfj.js → ripgrep-37zh6x8p.js} +11 -11
- package/dist/chunks/{schema-tmadm20y.js → ripgrep-38c78d9y.js} +8 -8
- package/dist/chunks/{schema-k31b4sbf.js → ripgrep-3ds7w9ed.js} +3 -3
- package/dist/chunks/{schema-3fc6dm20.js → ripgrep-3fc6dm20.js} +1 -1
- package/dist/chunks/{schema-0pbq8x9a.js → ripgrep-3g5g2h75.js} +13 -13
- package/dist/chunks/{schema-0f6gex3r.js → ripgrep-3gh58dm9.js} +5 -5
- package/dist/chunks/{schema-3hepkmqq.js → ripgrep-3hepkmqq.js} +1 -1
- package/dist/chunks/{schema-t9zs3egg.js → ripgrep-3j8sdtpz.js} +4 -4
- package/dist/chunks/{schema-3smtnn6g.js → ripgrep-3smtnn6g.js} +1 -1
- package/dist/chunks/{schema-3tvqynh2.js → ripgrep-3tvqynh2.js} +1 -1
- package/dist/chunks/{schema-84rdt8rr.js → ripgrep-3vde3pvj.js} +52 -52
- package/dist/chunks/{schema-p7c14d8d.js → ripgrep-3wkcfg07.js} +6 -6
- package/dist/chunks/ripgrep-3xc7y499.js +251 -0
- package/dist/chunks/{schema-2wj8n25z.js → ripgrep-3y9bq3t8.js} +6 -6
- package/dist/chunks/{schema-q8nh9zc3.js → ripgrep-44e7s01k.js} +31 -31
- package/dist/chunks/{schema-2t84qgzz.js → ripgrep-49nxeqwp.js} +35 -35
- package/dist/chunks/{schema-7b3vjk9x.js → ripgrep-49p1g939.js} +11 -11
- package/dist/chunks/{schema-3vkh5m7y.js → ripgrep-4f0srg1f.js} +21 -21
- package/dist/chunks/{schema-dxk1mka7.js → ripgrep-4p3ge18s.js} +11 -11
- package/dist/chunks/{schema-sn48k21j.js → ripgrep-4pa8q4z1.js} +30 -30
- package/dist/chunks/{schema-0xwfnwv8.js → ripgrep-4q6wvnkn.js} +40 -40
- package/dist/chunks/{schema-41kev6en.js → ripgrep-4rr9ghsb.js} +12 -12
- package/dist/chunks/{schema-x2sv7yx2.js → ripgrep-4sct5deg.js} +20 -20
- package/dist/chunks/{schema-814espwq.js → ripgrep-4vrcg479.js} +41 -41
- package/dist/chunks/{schema-gdydzv9c.js → ripgrep-4y8bm76w.js} +15 -15
- package/dist/chunks/{schema-7mpda9be.js → ripgrep-53agvevm.js} +11 -11
- package/dist/chunks/{schema-mfqp6xfm.js → ripgrep-56gdpj1q.js} +6 -6
- package/dist/chunks/{schema-gf9rz7kd.js → ripgrep-5d42m44n.js} +5 -5
- package/dist/chunks/{schema-5daktx2q.js → ripgrep-5daktx2q.js} +1 -1
- package/dist/chunks/{schema-5cmxdwv8.js → ripgrep-5epte933.js} +3 -3
- package/dist/chunks/{schema-dtektt3s.js → ripgrep-5j2tm17g.js} +18 -18
- package/dist/chunks/{schema-h9hmy6pb.js → ripgrep-5jz398fa.js} +21 -21
- package/dist/chunks/{schema-ngdt5g2x.js → ripgrep-5rtg8v4f.js} +8 -8
- package/dist/chunks/{schema-2865vqft.js → ripgrep-5sdgc7vh.js} +16 -16
- package/dist/chunks/{schema-5t3nmthw.js → ripgrep-5t3nmthw.js} +2 -2
- package/dist/chunks/{schema-t1fh5c1n.js → ripgrep-60sb5knf.js} +5 -5
- package/dist/chunks/{schema-669tq793.js → ripgrep-669tq793.js} +1 -1
- package/dist/chunks/{schema-rky73ewa.js → ripgrep-66r4fn97.js} +34 -34
- package/dist/chunks/{schema-d1f6kvyp.js → ripgrep-67dbk5sq.js} +27 -27
- package/dist/chunks/{schema-sn2xabbp.js → ripgrep-6aqnmcny.js} +28 -28
- package/dist/chunks/{schema-6msgmcgs.js → ripgrep-6msgmcgs.js} +1 -1
- package/dist/chunks/{schema-mwvhjw6h.js → ripgrep-6qwwd18r.js} +4 -4
- package/dist/chunks/{schema-mbdq616m.js → ripgrep-6rdgvekc.js} +3 -3
- package/dist/chunks/{schema-r5014e5h.js → ripgrep-6x0gytms.js} +86 -86
- package/dist/chunks/{schema-71q4at8m.js → ripgrep-71q4at8m.js} +1 -1
- package/dist/chunks/{schema-b27vhd2z.js → ripgrep-73gmm198.js} +4 -4
- package/dist/chunks/{schema-gcg6tnxg.js → ripgrep-79gxnefz.js} +27 -27
- package/dist/chunks/{schema-2hyh68ab.js → ripgrep-7b15y959.js} +8 -8
- package/dist/chunks/{schema-7bmhse3q.js → ripgrep-7bmhse3q.js} +1 -1
- package/dist/chunks/{schema-1xacm4tx.js → ripgrep-7gpx9yxs.js} +18 -18
- package/dist/chunks/{schema-d5hzk96g.js → ripgrep-7h39wxaq.js} +13 -13
- package/dist/chunks/{schema-b03qqrxx.js → ripgrep-80wpcwwr.js} +11 -11
- package/dist/chunks/{schema-nbzsj80d.js → ripgrep-84h9x75f.js} +11 -11
- package/dist/chunks/{schema-26k5bknw.js → ripgrep-88sz8qcd.js} +4 -4
- package/dist/chunks/{schema-kjd1s91a.js → ripgrep-892y1dhq.js} +29 -29
- package/dist/chunks/{schema-8d7r5vzw.js → ripgrep-8d7r5vzw.js} +1 -1
- package/dist/chunks/{schema-02t5w4gh.js → ripgrep-8h150kyy.js} +9 -9
- package/dist/chunks/{schema-drh46rkg.js → ripgrep-8j1202qn.js} +18 -18
- package/dist/chunks/{schema-2ab2hy21.js → ripgrep-8jpwh3cy.js} +43 -43
- package/dist/chunks/{schema-0f1jrs4t.js → ripgrep-8jzp8wqa.js} +26 -26
- package/dist/chunks/{schema-9adbhrd2.js → ripgrep-8mnq8fdw.js} +4 -4
- package/dist/chunks/{schema-8p4f9s12.js → ripgrep-8p4f9s12.js} +2 -2
- package/dist/chunks/{schema-09q628k0.js → ripgrep-8vb99h00.js} +3 -3
- package/dist/chunks/{schema-sa5zx4n8.js → ripgrep-8w01d1n2.js} +15 -15
- package/dist/chunks/{schema-yhz16bh8.js → ripgrep-94325gp6.js} +35 -35
- package/dist/chunks/{schema-fpgbvm08.js → ripgrep-97czctv7.js} +10 -10
- package/dist/chunks/{schema-1pwsej9z.js → ripgrep-9bc93h43.js} +5 -5
- package/dist/chunks/{schema-g8atgw3j.js → ripgrep-9cc1d2dv.js} +6 -6
- package/dist/chunks/{schema-evj9nbqj.js → ripgrep-9gf5hqrf.js} +52 -52
- package/dist/chunks/{schema-qd1x2qgj.js → ripgrep-9jc96w9w.js} +21 -21
- package/dist/chunks/{schema-x0xrs2fc.js → ripgrep-9pbcs2te.js} +4 -4
- package/dist/chunks/{schema-a1bz86dw.js → ripgrep-a1bz86dw.js} +3 -3
- package/dist/chunks/{schema-pm4v7ydf.js → ripgrep-a2ejp4ca.js} +33 -33
- package/dist/chunks/{schema-0d1s996h.js → ripgrep-a9tqjgec.js} +15 -15
- package/dist/chunks/{schema-aaet6srn.js → ripgrep-aaet6srn.js} +2 -2
- package/dist/chunks/{schema-tn0aqsam.js → ripgrep-ag9w8cw1.js} +5 -5
- package/dist/chunks/{schema-hv28523d.js → ripgrep-agmj7b0k.js} +9 -9
- package/dist/chunks/{schema-n2d5y50v.js → ripgrep-ah8fqh7n.js} +33 -33
- package/dist/chunks/ripgrep-ahz9sev5.js +26 -0
- package/dist/chunks/{schema-k410p7cy.js → ripgrep-ajbpkfam.js} +11 -11
- package/dist/chunks/{schema-0smkg98y.js → ripgrep-anjeghmy.js} +56 -56
- package/dist/chunks/{schema-0b2drx1x.js → ripgrep-avsbzx7p.js} +30 -30
- package/dist/chunks/{schema-b6gygkdw.js → ripgrep-b6gygkdw.js} +2 -2
- package/dist/chunks/{schema-bha4atvq.js → ripgrep-bajakh74.js} +4 -4
- package/dist/chunks/{schema-qcvrnmmq.js → ripgrep-bdd1mh0w.js} +9 -9
- package/dist/chunks/{schema-harzbh1y.js → ripgrep-bg6j762k.js} +5 -5
- package/dist/chunks/{schema-3h2g17n5.js → ripgrep-bn746h9y.js} +6 -6
- package/dist/chunks/{schema-62h3nghm.js → ripgrep-bs81dhpw.js} +24 -24
- package/dist/chunks/ripgrep-by5v678g.js +18 -0
- package/dist/chunks/{schema-fqqd2rhr.js → ripgrep-bzryztkv.js} +19 -19
- package/dist/chunks/{schema-f9qb0rq9.js → ripgrep-cbbc3wgw.js} +24 -24
- package/dist/chunks/{schema-x98p0sne.js → ripgrep-cd8pzhxg.js} +34 -34
- package/dist/chunks/{schema-cfpkc3c9.js → ripgrep-cfpkc3c9.js} +2 -2
- package/dist/chunks/{schema-x4j0j53r.js → ripgrep-czw1qt7p.js} +5 -5
- package/dist/chunks/{schema-c4vcfcbt.js → ripgrep-d3tz2ej1.js} +9 -9
- package/dist/chunks/{schema-sm7k5sd0.js → ripgrep-ddxnayy4.js} +11 -11
- package/dist/chunks/{schema-5ve5k6ff.js → ripgrep-df5tg79n.js} +30 -30
- package/dist/chunks/{schema-5a60vkb8.js → ripgrep-dpzg5xnq.js} +3 -3
- package/dist/chunks/{schema-k9grw06x.js → ripgrep-ds2g25h4.js} +26 -26
- package/dist/chunks/{schema-85j4zkzf.js → ripgrep-e1n4w09h.js} +28 -28
- package/dist/chunks/{schema-5qd3pb7m.js → ripgrep-e3qxr5gk.js} +2 -2
- package/dist/chunks/{schema-7cdanhdd.js → ripgrep-e5atvjy6.js} +18 -18
- package/dist/chunks/{schema-e5nv3ght.js → ripgrep-e5nv3ght.js} +2 -2
- package/dist/chunks/{schema-zt03gkt5.js → ripgrep-e5vq6wef.js} +4 -4
- package/dist/chunks/{schema-pvzz4sxc.js → ripgrep-eb0ks5fv.js} +10 -10
- package/dist/chunks/{schema-r5pbn9nf.js → ripgrep-edbcpkh6.js} +32 -32
- package/dist/chunks/{schema-ef5x83kb.js → ripgrep-ef5x83kb.js} +1 -1
- package/dist/chunks/{schema-s8gwc44q.js → ripgrep-egmb5x89.js} +34 -34
- package/dist/chunks/{schema-jfh1z2ka.js → ripgrep-es6p32db.js} +297 -297
- package/dist/chunks/{schema-q6d53jre.js → ripgrep-et0rkxxj.js} +8 -8
- package/dist/chunks/{schema-etq0c3wd.js → ripgrep-etq0c3wd.js} +1 -1
- package/dist/chunks/{schema-aewa2dz5.js → ripgrep-ezcbab6y.js} +11 -11
- package/dist/chunks/{schema-1hpz7mxd.js → ripgrep-f0xd9knp.js} +1 -1
- package/dist/chunks/{schema-kzvjm54t.js → ripgrep-f4mjzmv8.js} +13 -13
- package/dist/chunks/{schema-f828m53h.js → ripgrep-f828m53h.js} +2 -2
- package/dist/chunks/{schema-43fbk8gs.js → ripgrep-fv5ds83k.js} +7 -7
- package/dist/chunks/{schema-fxbjtjnd.js → ripgrep-fxbjtjnd.js} +1 -1
- package/dist/chunks/{schema-vmgq4x8b.js → ripgrep-g97bb4fb.js} +2 -2
- package/dist/chunks/{schema-83gwz6tt.js → ripgrep-gcngnys8.js} +25 -25
- package/dist/chunks/{schema-gd4qta3r.js → ripgrep-gd4qta3r.js} +1 -1
- package/dist/chunks/{schema-xd8232zg.js → ripgrep-gfe8pz8k.js} +4 -4
- package/dist/chunks/{schema-2xrnssb3.js → ripgrep-gmpff112.js} +17 -17
- package/dist/chunks/{schema-rmdyxgmk.js → ripgrep-gn2hfjap.js} +8 -8
- package/dist/chunks/{schema-8yjj8ppj.js → ripgrep-gr2hg8ez.js} +15 -15
- package/dist/chunks/{schema-gv6a8nnw.js → ripgrep-gv6a8nnw.js} +2 -2
- package/dist/chunks/{schema-edme2h3e.js → ripgrep-gzbkpp9m.js} +9 -9
- package/dist/chunks/{schema-h03wrkyp.js → ripgrep-h03wrkyp.js} +2 -2
- package/dist/chunks/{schema-6azphhhm.js → ripgrep-h3qyz6r3.js} +2 -2
- package/dist/chunks/{schema-633cm28q.js → ripgrep-h4121yxn.js} +47 -47
- package/dist/chunks/{schema-3fnc9aea.js → ripgrep-h4tg60r9.js} +9 -9
- package/dist/chunks/{schema-cpj0znwe.js → ripgrep-h6r3nrb9.js} +4 -4
- package/dist/chunks/{schema-h6vf3j39.js → ripgrep-h6vf3j39.js} +1 -1
- package/dist/chunks/{schema-wbkyxrgf.js → ripgrep-hcz3zddy.js} +5 -5
- package/dist/chunks/{schema-7wxybjhq.js → ripgrep-he5x26st.js} +20 -20
- package/dist/chunks/{schema-47gsdddb.js → ripgrep-hjt4xg1x.js} +7 -7
- package/dist/chunks/{schema-pd220wzj.js → ripgrep-hma6wv7h.js} +18 -18
- package/dist/chunks/{schema-94ztp1pn.js → ripgrep-j2cgy6et.js} +24 -24
- package/dist/chunks/{schema-j56e64zr.js → ripgrep-j56e64zr.js} +1 -1
- package/dist/chunks/{schema-3r0rrtry.js → ripgrep-j6rsnrbc.js} +20 -20
- package/dist/chunks/{schema-yxpgexz8.js → ripgrep-j78hbbge.js} +45 -45
- package/dist/chunks/{schema-9151qrdt.js → ripgrep-jdwwbwbn.js} +18 -18
- package/dist/chunks/{schema-9jnwyv99.js → ripgrep-jpzcdmvj.js} +10 -10
- package/dist/chunks/{schema-1jj6qp1e.js → ripgrep-jt7tdy1h.js} +14 -14
- package/dist/chunks/{schema-dpkg50ah.js → ripgrep-jwcy2c2z.js} +4 -4
- package/dist/chunks/{schema-7sbttmca.js → ripgrep-jz1pxar4.js} +1 -1
- package/dist/chunks/{schema-nmgr8g8c.js → ripgrep-jztv3xwp.js} +174 -174
- package/dist/chunks/{schema-bsj4xcax.js → ripgrep-k1jy5w06.js} +1 -1
- package/dist/chunks/{schema-4tmnzem5.js → ripgrep-k9avwfq5.js} +1 -1
- package/dist/chunks/{schema-1w8mjab2.js → ripgrep-k9heqbmv.js} +92 -92
- package/dist/chunks/{schema-fm4tr4vt.js → ripgrep-k9m5ndvb.js} +12 -12
- package/dist/chunks/{schema-cah9zs3a.js → ripgrep-kez65ze9.js} +22 -22
- package/dist/chunks/{schema-50mzsvk4.js → ripgrep-kk00bynn.js} +21 -21
- package/dist/chunks/{schema-wam2jwg7.js → ripgrep-kmfbtjhd.js} +29 -29
- package/dist/chunks/{schema-rdmtb0vk.js → ripgrep-kn5jtnf9.js} +17 -17
- package/dist/chunks/{schema-bsapkm75.js → ripgrep-ksqz3pap.js} +17 -17
- package/dist/chunks/{schema-a3aw0xhm.js → ripgrep-kxm5s6yc.js} +25 -25
- package/dist/chunks/{schema-0zx3erd1.js → ripgrep-m77pw7dw.js} +20 -20
- package/dist/chunks/{schema-xekzrwwc.js → ripgrep-m86bnw2c.js} +9 -9
- package/dist/chunks/{schema-m9w0rfyh.js → ripgrep-m9w0rfyh.js} +1 -1
- package/dist/chunks/{schema-m78x72r0.js → ripgrep-mhwrm0j5.js} +18 -18
- package/dist/chunks/{schema-rdbkvccz.js → ripgrep-mj489v08.js} +16 -16
- package/dist/chunks/{schema-1e1gg1pw.js → ripgrep-mx4mv9ny.js} +6 -6
- package/dist/chunks/{schema-jwpe3kef.js → ripgrep-mxr7eecd.js} +25 -25
- package/dist/chunks/{schema-hp4gs99z.js → ripgrep-n57z002n.js} +14 -14
- package/dist/chunks/{schema-yd6z8b7r.js → ripgrep-n91t41cy.js} +12 -12
- package/dist/chunks/{schema-bfrse3g1.js → ripgrep-nev01g0y.js} +4 -4
- package/dist/chunks/{schema-tyh31ery.js → ripgrep-nk1anpaj.js} +7 -7
- package/dist/chunks/{schema-zj09a0ew.js → ripgrep-nw2nz702.js} +4 -4
- package/dist/chunks/{schema-r4n9yfm1.js → ripgrep-nwqvjhxj.js} +9 -9
- package/dist/chunks/{schema-r3y59r7w.js → ripgrep-nzqx2mf8.js} +35 -35
- package/dist/chunks/{schema-pf2hb43r.js → ripgrep-p0b4ytnr.js} +6 -6
- package/dist/chunks/{schema-8nkhzrtw.js → ripgrep-p9s0eh58.js} +62 -62
- package/dist/chunks/{schema-rwq5zk2b.js → ripgrep-pcqp5rgh.js} +22 -22
- package/dist/chunks/{schema-98pd2de6.js → ripgrep-pj5x48v7.js} +6 -6
- package/dist/chunks/{schema-pjvnvgmy.js → ripgrep-pjvnvgmy.js} +1 -1
- package/dist/chunks/{schema-pknna89w.js → ripgrep-pknna89w.js} +1 -1
- package/dist/chunks/{schema-ees6gnzr.js → ripgrep-ptse1bjf.js} +32 -32
- package/dist/chunks/{schema-repgqd6d.js → ripgrep-q5zedzf9.js} +18 -18
- package/dist/chunks/{schema-bw6s79d1.js → ripgrep-q7d9vt9f.js} +13 -13
- package/dist/chunks/{schema-enw4dg89.js → ripgrep-qaw7gzvj.js} +22 -22
- package/dist/chunks/{schema-34pkzm2p.js → ripgrep-qf4kcv83.js} +9 -9
- package/dist/chunks/{schema-vvxf2beg.js → ripgrep-qfhza6js.js} +11 -11
- package/dist/chunks/{schema-qgn6gcr1.js → ripgrep-qgn6gcr1.js} +1 -1
- package/dist/chunks/{schema-qsdy395h.js → ripgrep-qsdy395h.js} +1 -1
- package/dist/chunks/{schema-48spbe97.js → ripgrep-qwn7812e.js} +15 -15
- package/dist/chunks/{schema-xdqhawme.js → ripgrep-r2zs1qxw.js} +12 -12
- package/dist/chunks/{schema-p421fag0.js → ripgrep-r8p0psj5.js} +20 -20
- package/dist/chunks/{schema-r9mregkx.js → ripgrep-r9mregkx.js} +2 -2
- package/dist/chunks/{schema-fv8y7rfs.js → ripgrep-ra713epb.js} +17 -17
- package/dist/chunks/{schema-rdw6cm16.js → ripgrep-rdw6cm16.js} +1 -1
- package/dist/chunks/{schema-1vf2vjhr.js → ripgrep-rg9pm5jb.js} +43 -43
- package/dist/chunks/{schema-rw34nk5q.js → ripgrep-rp1syd7b.js} +8 -8
- package/dist/chunks/{schema-7m9x3c92.js → ripgrep-rsz70btv.js} +12 -12
- package/dist/chunks/{schema-78jxphdk.js → ripgrep-rt5bks5t.js} +23 -23
- package/dist/chunks/{schema-wex0gst8.js → ripgrep-rxmh2sg9.js} +11 -11
- package/dist/chunks/{schema-v2c8bhec.js → ripgrep-s2e9xs2h.js} +18 -18
- package/dist/chunks/{schema-yrznvahk.js → ripgrep-s4enseaf.js} +2 -2
- package/dist/chunks/{schema-b97cbvw3.js → ripgrep-scq4khx8.js} +1 -1
- package/dist/chunks/{schema-gxk1v8cw.js → ripgrep-sev8k0v9.js} +10 -10
- package/dist/chunks/{schema-m6968m5h.js → ripgrep-t13q6zse.js} +11 -11
- package/dist/chunks/{schema-eaj1djv9.js → ripgrep-t550f9t1.js} +8 -8
- package/dist/chunks/{schema-b34gcna0.js → ripgrep-t990yqw6.js} +7 -7
- package/dist/chunks/{schema-tazgh4e4.js → ripgrep-tazgh4e4.js} +1 -1
- package/dist/chunks/{schema-tcezcvh9.js → ripgrep-tcezcvh9.js} +1 -1
- package/dist/chunks/{schema-2f0200dh.js → ripgrep-tcs4ev01.js} +19 -19
- package/dist/chunks/{schema-qh9emc0v.js → ripgrep-tdd2jx9c.js} +15 -15
- package/dist/chunks/{schema-tdstcens.js → ripgrep-tdstcens.js} +1 -1
- package/dist/chunks/{schema-qhz8q2jf.js → ripgrep-tex4jp26.js} +13 -13
- package/dist/chunks/{schema-tvtrv512.js → ripgrep-tvtrv512.js} +1 -1
- package/dist/chunks/{schema-3te1hz24.js → ripgrep-tyyv5ce2.js} +1 -1
- package/dist/chunks/{schema-hfzk1xk6.js → ripgrep-v7wvwwvc.js} +17 -17
- package/dist/chunks/{schema-98td9sca.js → ripgrep-vcpz2z7s.js} +4 -4
- package/dist/chunks/{schema-veqvce7d.js → ripgrep-veqvce7d.js} +1 -1
- package/dist/chunks/{schema-4dsw036z.js → ripgrep-vfgx9b51.js} +3 -3
- package/dist/chunks/{schema-7r0b8j13.js → ripgrep-vpnc1spb.js} +11 -11
- package/dist/chunks/{schema-fg6npkra.js → ripgrep-vskpp35t.js} +9 -9
- package/dist/chunks/{schema-81rrwt6s.js → ripgrep-vvccsdf3.js} +6 -6
- package/dist/chunks/{schema-vzcthcp8.js → ripgrep-vzcthcp8.js} +1 -1
- package/dist/chunks/{schema-w3wsvvr9.js → ripgrep-w3wsvvr9.js} +1 -1
- package/dist/chunks/{schema-bw16peeb.js → ripgrep-w5d72rt0.js} +2 -2
- package/dist/chunks/{schema-798n350n.js → ripgrep-w9vf9qqj.js} +5 -5
- package/dist/chunks/{schema-tnyhqet0.js → ripgrep-wa698kjv.js} +45 -45
- package/dist/chunks/{schema-wd87259q.js → ripgrep-wd87259q.js} +1 -1
- package/dist/chunks/{schema-5142gq6g.js → ripgrep-wds0x6j9.js} +5 -5
- package/dist/chunks/{schema-379qd7x1.js → ripgrep-wva7n27r.js} +8 -8
- package/dist/chunks/{schema-x1ezjp6w.js → ripgrep-x1ezjp6w.js} +1 -1
- package/dist/chunks/{schema-8mwk31bk.js → ripgrep-x353b1jt.js} +8 -8
- package/dist/chunks/{schema-t71md4gs.js → ripgrep-x3qc7sc6.js} +22 -22
- package/dist/chunks/{schema-wftdh6vh.js → ripgrep-x6qre90b.js} +11 -11
- package/dist/chunks/{schema-0y9a0wd2.js → ripgrep-x8pc9v5x.js} +17 -17
- package/dist/chunks/{schema-kd95dayw.js → ripgrep-xean7qwc.js} +27 -27
- package/dist/chunks/{schema-2e8sz0s6.js → ripgrep-xxf1z6td.js} +17 -17
- package/dist/chunks/{schema-y1fvbwt7.js → ripgrep-y1fvbwt7.js} +1 -1
- package/dist/chunks/{schema-vwbppz9h.js → ripgrep-y83j6qwg.js} +7 -7
- package/dist/chunks/{schema-6yb3tdfr.js → ripgrep-y8639ad0.js} +19 -19
- package/dist/chunks/{schema-xw129k3s.js → ripgrep-yedx64dk.js} +4 -4
- package/dist/chunks/{schema-csfvctar.js → ripgrep-ym7eccym.js} +6 -6
- package/dist/chunks/{schema-7k41kz7d.js → ripgrep-yp1jwc24.js} +36 -36
- package/dist/chunks/{schema-yp2x3t23.js → ripgrep-yp2x3t23.js} +1 -1
- package/dist/chunks/{schema-88wz218q.js → ripgrep-ypveyybc.js} +11 -11
- package/dist/chunks/{schema-yrhqyw5v.js → ripgrep-yrhqyw5v.js} +1 -1
- package/dist/chunks/{schema-wvz6pyvx.js → ripgrep-yseaw3zk.js} +28 -28
- package/dist/chunks/{schema-d2aac7k2.js → ripgrep-yt0fqk68.js} +5 -5
- package/dist/chunks/{schema-z0bkrqjs.js → ripgrep-z0bkrqjs.js} +1 -1
- package/dist/chunks/{schema-wwa63ntv.js → ripgrep-z9pcy3hm.js} +5 -5
- package/dist/chunks/{schema-zeh9ct20.js → ripgrep-zeh9ct20.js} +2 -2
- package/dist/chunks/{schema-zr2ceqn5.js → ripgrep-zr2ceqn5.js} +1 -1
- package/dist/chunks/{schema-af4kcksd.js → ripgrep-zt5h3yfa.js} +9 -9
- package/dist/chunks/{schema-06x8he3q.js → ripgrep-zvt5dnpc.js} +4 -4
- package/dist/chunks/{schema-vzeyx8aa.js → ripgrep-zw0mbbcz.js} +2 -2
- package/dist/chunks/{schema-zxq2ej10.js → ripgrep-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- 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 +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- 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 +122 -122
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- 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 +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +71 -71
- 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 +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +71 -71
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +90 -90
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +4 -4
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- 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 +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +133 -133
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- 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 +90 -90
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +99 -99
- package/dist/models-dev.js +93 -93
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +118 -118
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- 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/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +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 +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- 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/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 +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- 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 +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- 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 +223 -223
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +127 -127
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +83 -83
- 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 +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- 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 +170 -170
- 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 +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +92 -92
- 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 +123 -123
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +115 -115
- 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 +112 -112
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +109 -109
- 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 +13 -13
- package/dist/types/session/session.d.ts +2 -3
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +78 -78
- 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 +8 -8
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/schema-9zdhvgqs.js +0 -18
- package/dist/chunks/schema-b9fvk0jf.js +0 -26
- package/dist/chunks/schema-mcf5jnse.js +0 -251
- package/dist/chunks/schema-z926abd4.js +0 -4
- /package/dist/chunks/{schema-0qkdqm5v.js → ripgrep-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{schema-0zkw76rk.js → ripgrep-0zkw76rk.js} +0 -0
- /package/dist/chunks/{schema-17cy0kzp.js → ripgrep-17cy0kzp.js} +0 -0
- /package/dist/chunks/{schema-1cnp2v09.js → ripgrep-1cnp2v09.js} +0 -0
- /package/dist/chunks/{schema-1kg9ymc8.js → ripgrep-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{schema-2710q6r3.js → ripgrep-2710q6r3.js} +0 -0
- /package/dist/chunks/{schema-2axfhc9x.js → ripgrep-2axfhc9x.js} +0 -0
- /package/dist/chunks/{schema-2c3vjs8z.js → ripgrep-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{schema-359p4xyc.js → ripgrep-359p4xyc.js} +0 -0
- /package/dist/chunks/{schema-3asan66x.js → ripgrep-3asan66x.js} +0 -0
- /package/dist/chunks/{schema-3v8g72cx.js → ripgrep-3v8g72cx.js} +0 -0
- /package/dist/chunks/{schema-3w5fmr99.js → ripgrep-3w5fmr99.js} +0 -0
- /package/dist/chunks/{schema-3wcehsnq.js → ripgrep-3wcehsnq.js} +0 -0
- /package/dist/chunks/{schema-43n2bw4t.js → ripgrep-43n2bw4t.js} +0 -0
- /package/dist/chunks/{schema-4knz6hnm.js → ripgrep-4knz6hnm.js} +0 -0
- /package/dist/chunks/{schema-4vcrnpx2.js → ripgrep-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{schema-4y7fprxs.js → ripgrep-4y7fprxs.js} +0 -0
- /package/dist/chunks/{schema-53557ph1.js → ripgrep-53557ph1.js} +0 -0
- /package/dist/chunks/{schema-550bvhaj.js → ripgrep-550bvhaj.js} +0 -0
- /package/dist/chunks/{schema-6prwharc.js → ripgrep-6prwharc.js} +0 -0
- /package/dist/chunks/{schema-7akdwqpd.js → ripgrep-7akdwqpd.js} +0 -0
- /package/dist/chunks/{schema-7m9af43g.js → ripgrep-7m9af43g.js} +0 -0
- /package/dist/chunks/{schema-822emrt2.js → ripgrep-822emrt2.js} +0 -0
- /package/dist/chunks/{schema-88xbtdfr.js → ripgrep-88xbtdfr.js} +0 -0
- /package/dist/chunks/{schema-8n3pysct.js → ripgrep-8n3pysct.js} +0 -0
- /package/dist/chunks/{schema-922hggd3.js → ripgrep-922hggd3.js} +0 -0
- /package/dist/chunks/{schema-9a4afbnw.js → ripgrep-9a4afbnw.js} +0 -0
- /package/dist/chunks/{schema-9rqn6x4v.js → ripgrep-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{schema-a6k6eb26.js → ripgrep-a6k6eb26.js} +0 -0
- /package/dist/chunks/{schema-af5trqkr.js → ripgrep-af5trqkr.js} +0 -0
- /package/dist/chunks/{schema-afrmfg78.js → ripgrep-afrmfg78.js} +0 -0
- /package/dist/chunks/{schema-aqzs7mqg.js → ripgrep-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{schema-atq7p7m5.js → ripgrep-atq7p7m5.js} +0 -0
- /package/dist/chunks/{schema-bkyjaxrp.js → ripgrep-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{schema-bmr6ed5q.js → ripgrep-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{schema-cf4snx6d.js → ripgrep-cf4snx6d.js} +0 -0
- /package/dist/chunks/{schema-cvy3z8tj.js → ripgrep-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{schema-d9fn303g.js → ripgrep-d9fn303g.js} +0 -0
- /package/dist/chunks/{schema-d9jj8t3e.js → ripgrep-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{schema-dajrwvna.js → ripgrep-dajrwvna.js} +0 -0
- /package/dist/chunks/{schema-dap0rakb.js → ripgrep-dap0rakb.js} +0 -0
- /package/dist/chunks/{schema-df08tz66.js → ripgrep-df08tz66.js} +0 -0
- /package/dist/chunks/{schema-dy18nga0.js → ripgrep-dy18nga0.js} +0 -0
- /package/dist/chunks/{schema-e5kj55wp.js → ripgrep-e5kj55wp.js} +0 -0
- /package/dist/chunks/{schema-e73j6tqm.js → ripgrep-e73j6tqm.js} +0 -0
- /package/dist/chunks/{schema-ec1grn59.js → ripgrep-ec1grn59.js} +0 -0
- /package/dist/chunks/{schema-eh3zwz77.js → ripgrep-eh3zwz77.js} +0 -0
- /package/dist/chunks/{schema-emrn6kk6.js → ripgrep-emrn6kk6.js} +0 -0
- /package/dist/chunks/{schema-f0mxakyp.js → ripgrep-f0mxakyp.js} +0 -0
- /package/dist/chunks/{schema-f6n9ztr4.js → ripgrep-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{schema-faypxj3z.js → ripgrep-faypxj3z.js} +0 -0
- /package/dist/chunks/{schema-fd410y7t.js → ripgrep-fd410y7t.js} +0 -0
- /package/dist/chunks/{schema-fxgpk5d8.js → ripgrep-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{schema-g4wezp1m.js → ripgrep-g4wezp1m.js} +0 -0
- /package/dist/chunks/{schema-g86h250q.js → ripgrep-g86h250q.js} +0 -0
- /package/dist/chunks/{schema-gebd4c9n.js → ripgrep-gebd4c9n.js} +0 -0
- /package/dist/chunks/{schema-gftt206x.js → ripgrep-gftt206x.js} +0 -0
- /package/dist/chunks/{schema-hjbc5kem.js → ripgrep-hjbc5kem.js} +0 -0
- /package/dist/chunks/{schema-hk9envan.js → ripgrep-hk9envan.js} +0 -0
- /package/dist/chunks/{schema-hrnqkpcd.js → ripgrep-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{schema-j2ntwpah.js → ripgrep-j2ntwpah.js} +0 -0
- /package/dist/chunks/{schema-j5zkgpj8.js → ripgrep-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{schema-jr7sbwjy.js → ripgrep-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{schema-jwfs4k6c.js → ripgrep-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{schema-jzg6c2d5.js → ripgrep-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{schema-mp448xyj.js → ripgrep-mp448xyj.js} +0 -0
- /package/dist/chunks/{schema-msx8hqn2.js → ripgrep-msx8hqn2.js} +0 -0
- /package/dist/chunks/{schema-n05xt0ee.js → ripgrep-n05xt0ee.js} +0 -0
- /package/dist/chunks/{schema-n3j8tn72.js → ripgrep-n3j8tn72.js} +0 -0
- /package/dist/chunks/{schema-njntx4h6.js → ripgrep-njntx4h6.js} +0 -0
- /package/dist/chunks/{schema-q3sfg36h.js → ripgrep-q3sfg36h.js} +0 -0
- /package/dist/chunks/{schema-q74kybfr.js → ripgrep-q74kybfr.js} +0 -0
- /package/dist/chunks/{schema-qaymkmh1.js → ripgrep-qaymkmh1.js} +0 -0
- /package/dist/chunks/{schema-qb87gjwd.js → ripgrep-qb87gjwd.js} +0 -0
- /package/dist/chunks/{schema-qfa1cgps.js → ripgrep-qfa1cgps.js} +0 -0
- /package/dist/chunks/{schema-qrg20bc0.js → ripgrep-qrg20bc0.js} +0 -0
- /package/dist/chunks/{schema-rcb2kzg1.js → ripgrep-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{schema-sdp7kfr6.js → ripgrep-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{schema-sk3qaz4a.js → ripgrep-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{schema-ssg3fenm.js → ripgrep-ssg3fenm.js} +0 -0
- /package/dist/chunks/{schema-twg0f83k.js → ripgrep-twg0f83k.js} +0 -0
- /package/dist/chunks/{schema-w803qqfp.js → ripgrep-w803qqfp.js} +0 -0
- /package/dist/chunks/{schema-wer8tq1h.js → ripgrep-wer8tq1h.js} +0 -0
- /package/dist/chunks/{schema-wtztk69x.js → ripgrep-wtztk69x.js} +0 -0
- /package/dist/chunks/{schema-x0ckcb58.js → ripgrep-x0ckcb58.js} +0 -0
- /package/dist/chunks/{schema-x61499pn.js → ripgrep-x61499pn.js} +0 -0
- /package/dist/chunks/{schema-y44na4kk.js → ripgrep-y44na4kk.js} +0 -0
- /package/dist/chunks/{schema-y8cydn3q.js → ripgrep-y8cydn3q.js} +0 -0
- /package/dist/chunks/{schema-y8f7s663.js → ripgrep-y8f7s663.js} +0 -0
- /package/dist/chunks/{schema-ygaqb7jw.js → ripgrep-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{schema-ym463w8f.js → ripgrep-ym463w8f.js} +0 -0
- /package/dist/chunks/{schema-z9919s4g.js → ripgrep-z9919s4g.js} +0 -0
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-rxmh2sg9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service73,
|
|
11
|
+
node77
|
|
12
|
+
} from "./ripgrep-189gvxgf.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
ID13,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
17
|
+
Service70,
|
|
18
|
+
node74,
|
|
19
|
+
Event17
|
|
20
|
+
} from "./ripgrep-a2ejp4ca.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/model.ts
|
|
26
26
|
var exports_model2 = {};
|
|
@@ -28,25 +28,25 @@ __export(exports_model2, {
|
|
|
28
28
|
Capabilities: () => Capabilities2,
|
|
29
29
|
Compatibility: () => Compatibility2,
|
|
30
30
|
Cost: () => Cost2,
|
|
31
|
-
Event: () =>
|
|
31
|
+
Event: () => Event16,
|
|
32
32
|
Family: () => Family2,
|
|
33
|
-
ID: () =>
|
|
34
|
-
Info: () =>
|
|
33
|
+
ID: () => ID12,
|
|
34
|
+
Info: () => Info26,
|
|
35
35
|
Model: () => exports_model2,
|
|
36
36
|
ReasoningField: () => ReasoningField2,
|
|
37
37
|
Ref: () => Ref2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service69,
|
|
39
39
|
VariantID: () => VariantID2,
|
|
40
40
|
compatibility: () => compatibility2,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node73,
|
|
42
42
|
parse: () => parse5
|
|
43
43
|
});
|
|
44
44
|
import { Model } from "@opencode/schema/model";
|
|
45
45
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import { freeze } from "immer";
|
|
48
|
-
import { Event as
|
|
49
|
-
var
|
|
48
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
49
|
+
var ID12 = Model.ID;
|
|
50
50
|
var VariantID2 = Model.VariantID;
|
|
51
51
|
var Family2 = Model.Family;
|
|
52
52
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -54,14 +54,14 @@ var Compatibility2 = Model.Compatibility;
|
|
|
54
54
|
var Capabilities2 = Model.Capabilities;
|
|
55
55
|
var Cost2 = Model.Cost;
|
|
56
56
|
var Ref2 = Model.Ref;
|
|
57
|
-
var
|
|
57
|
+
var Info26 = Model.Info;
|
|
58
58
|
|
|
59
|
-
class
|
|
59
|
+
class Service69 extends Context.Service()("@opencode/Model") {
|
|
60
60
|
}
|
|
61
|
-
var layer = Layer.effect(
|
|
62
|
-
const providers = yield*
|
|
61
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
62
|
+
const providers = yield* Service70;
|
|
63
63
|
const bus = yield* Service80;
|
|
64
|
-
const location = yield*
|
|
64
|
+
const location = yield* Service73;
|
|
65
65
|
let input;
|
|
66
66
|
const state = create3({
|
|
67
67
|
name: "model",
|
|
@@ -85,7 +85,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
85
85
|
const models = data.models.get(providerID);
|
|
86
86
|
if (!models)
|
|
87
87
|
return;
|
|
88
|
-
const model = models.get(modelID) ??
|
|
88
|
+
const model = models.get(modelID) ?? Info26.default(providerID, modelID);
|
|
89
89
|
update(model);
|
|
90
90
|
model.id = modelID;
|
|
91
91
|
model.providerID = providerID;
|
|
@@ -162,8 +162,8 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
162
162
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
163
163
|
});
|
|
164
164
|
});
|
|
165
|
-
yield* bus.subscribe(
|
|
166
|
-
return
|
|
165
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
166
|
+
return Service69.of({
|
|
167
167
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
168
168
|
reload,
|
|
169
169
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -182,7 +182,7 @@ var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
|
182
182
|
})
|
|
183
183
|
});
|
|
184
184
|
}));
|
|
185
|
-
var
|
|
185
|
+
var node73 = makeLocationNode({ service: Service69, layer, deps: [node74, node84, node77] });
|
|
186
186
|
function compatibility2(input) {
|
|
187
187
|
if (typeof input === "string")
|
|
188
188
|
return { reasoningField: input };
|
|
@@ -193,9 +193,9 @@ function compatibility2(input) {
|
|
|
193
193
|
function parse5(input) {
|
|
194
194
|
const index = input.indexOf("/");
|
|
195
195
|
return {
|
|
196
|
-
providerID:
|
|
197
|
-
modelID:
|
|
196
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
197
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
198
198
|
};
|
|
199
199
|
}
|
|
200
200
|
|
|
201
|
-
export {
|
|
201
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service69, node73, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,66 +1,66 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-rxmh2sg9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node77
|
|
8
|
+
} from "./ripgrep-189gvxgf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID2
|
|
11
|
+
} from "./ripgrep-0mesazry.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
Service79,
|
|
14
14
|
login2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
node83
|
|
16
|
+
} from "./ripgrep-tex4jp26.js";
|
|
17
17
|
import {
|
|
18
18
|
lazy2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-88xbtdfr.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/pty.ts
|
|
25
25
|
var exports_pty = {};
|
|
26
26
|
__export(exports_pty, {
|
|
27
|
-
CreateInput: () =>
|
|
28
|
-
Event: () =>
|
|
27
|
+
CreateInput: () => CreateInput2,
|
|
28
|
+
Event: () => Event3,
|
|
29
29
|
ExitedError: () => ExitedError2,
|
|
30
|
-
Info: () =>
|
|
31
|
-
NotFoundError: () =>
|
|
30
|
+
Info: () => Info2,
|
|
31
|
+
NotFoundError: () => NotFoundError2,
|
|
32
32
|
Pty: () => exports_pty,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service17,
|
|
34
34
|
UpdateInput: () => UpdateInput2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node20
|
|
36
36
|
});
|
|
37
37
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
38
38
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
39
39
|
import { Pty } from "@opencode/schema/pty";
|
|
40
|
-
import { Event as
|
|
40
|
+
import { Event as Event3 } from "@opencode/schema/pty";
|
|
41
41
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
42
42
|
var EXITED_LIMIT = 25;
|
|
43
43
|
var pty = lazy2(() => import("#pty"));
|
|
44
|
-
var
|
|
45
|
-
var
|
|
44
|
+
var Info2 = Pty.Info;
|
|
45
|
+
var CreateInput2 = Pty.CreateInput;
|
|
46
46
|
var UpdateInput2 = Pty.UpdateInput;
|
|
47
47
|
|
|
48
|
-
class
|
|
49
|
-
ptyID:
|
|
48
|
+
class NotFoundError2 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
49
|
+
ptyID: ID2
|
|
50
50
|
}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
54
|
-
ptyID:
|
|
54
|
+
ptyID: ID2
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
class
|
|
58
|
+
class Service17 extends Context.Service()("@opencode/Pty") {
|
|
59
59
|
}
|
|
60
|
-
var layer = Layer.effect(
|
|
60
|
+
var layer = Layer.effect(Service17, Effect.gen(function* () {
|
|
61
61
|
const bus = yield* Service80;
|
|
62
|
-
const location = yield*
|
|
63
|
-
const shell = yield*
|
|
62
|
+
const location = yield* Service73;
|
|
63
|
+
const shell = yield* Service79;
|
|
64
64
|
const context = yield* Effect.context();
|
|
65
65
|
const runFork = Effect.runForkWith(context);
|
|
66
66
|
const sessions = new Map;
|
|
@@ -97,7 +97,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
97
97
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
98
98
|
const session = sessions.get(id);
|
|
99
99
|
if (!session)
|
|
100
|
-
return yield* new
|
|
100
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
101
101
|
return session;
|
|
102
102
|
});
|
|
103
103
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -123,7 +123,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
123
123
|
return (yield* requireSession(id)).info;
|
|
124
124
|
});
|
|
125
125
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
126
|
-
const id =
|
|
126
|
+
const id = ID2.ascending();
|
|
127
127
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
128
128
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
129
129
|
const cwd = input.cwd || location.directory;
|
|
@@ -268,12 +268,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
268
268
|
}
|
|
269
269
|
};
|
|
270
270
|
});
|
|
271
|
-
return
|
|
271
|
+
return Service17.of({ list, get, create, update, remove, write, attach });
|
|
272
272
|
}));
|
|
273
|
-
var
|
|
274
|
-
service:
|
|
273
|
+
var node20 = makeLocationNode({
|
|
274
|
+
service: Service17,
|
|
275
275
|
layer,
|
|
276
|
-
deps: [
|
|
276
|
+
deps: [node84, node77, node83]
|
|
277
277
|
});
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { Info2, CreateInput2, UpdateInput2, NotFoundError2, ExitedError2, Service17, node20, exports_pty, Event3 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/app.ts
|
|
6
6
|
var exports_app = {};
|
|
7
7
|
__export(exports_app, {
|
|
8
8
|
App: () => exports_app,
|
|
9
9
|
Metadata: () => Metadata2,
|
|
10
|
-
configured: () =>
|
|
11
|
-
layer: () =>
|
|
12
|
-
make: () =>
|
|
13
|
-
node: () =>
|
|
10
|
+
configured: () => configured13,
|
|
11
|
+
layer: () => layer26,
|
|
12
|
+
make: () => make23,
|
|
13
|
+
node: () => node86,
|
|
14
14
|
useragent: () => useragent2
|
|
15
15
|
});
|
|
16
16
|
import { Context, Layer } from "effect";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var Metadata2 = Context.Reference("@opencode/App", {
|
|
19
|
-
defaultValue: () =>
|
|
19
|
+
defaultValue: () => make23()
|
|
20
20
|
});
|
|
21
|
-
function
|
|
21
|
+
function make23(input = {}) {
|
|
22
22
|
return {
|
|
23
23
|
name: input.name ?? "opencode",
|
|
24
24
|
version: input.version ?? "unknown",
|
|
@@ -28,8 +28,8 @@ function make19(input = {}) {
|
|
|
28
28
|
function useragent2(app) {
|
|
29
29
|
return `opencode/${app.channel}/${app.version}/${app.name}`;
|
|
30
30
|
}
|
|
31
|
-
var
|
|
32
|
-
var
|
|
33
|
-
var
|
|
31
|
+
var layer26 = (input) => Layer.succeed(Metadata2, make23(input));
|
|
32
|
+
var configured13 = (input) => makeGlobalNode({ service: Metadata2, layer: layer26(input), deps: [] });
|
|
33
|
+
var node86 = configured13();
|
|
34
34
|
|
|
35
|
-
export { Metadata2,
|
|
35
|
+
export { Metadata2, make23, useragent2, layer26, configured13, node86, exports_app };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service77
|
|
3
|
+
} from "./ripgrep-79gxnefz.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service50
|
|
6
|
+
} from "./ripgrep-p9s0eh58.js";
|
|
7
7
|
import {
|
|
8
8
|
ID4,
|
|
9
9
|
Result2,
|
|
10
10
|
ProviderRequiredError2,
|
|
11
11
|
DisabledError2,
|
|
12
12
|
RequestError2,
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./ripgrep-9jc96w9w.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/tool/plugin/websearch.ts
|
|
20
20
|
var exports_websearch2 = {};
|
|
21
21
|
__export(exports_websearch2, {
|
|
22
|
-
Input: () =>
|
|
22
|
+
Input: () => Input6,
|
|
23
23
|
NO_RESULTS: () => NO_RESULTS2,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin26,
|
|
25
25
|
WebSearchTool: () => exports_websearch2,
|
|
26
26
|
description: () => description4,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Effect, Schema, Semaphore } from "effect";
|
|
31
31
|
import { HttpClientError } from "effect/unstable/http";
|
|
32
|
-
var
|
|
32
|
+
var name6 = "websearch";
|
|
33
33
|
var NO_RESULTS2 = "No search results found. Please try a different query.";
|
|
34
34
|
var providerSelectionLock = Semaphore.makeUnsafe(1);
|
|
35
35
|
var httpErrors = new Map([
|
|
@@ -39,28 +39,28 @@ var httpErrors = new Map([
|
|
|
39
39
|
var description4 = `Search the web using the user's selected search integration. Use this for current information beyond knowledge cutoff.
|
|
40
40
|
|
|
41
41
|
The current year is ${new Date().getFullYear()}. Use this year when searching for recent information or current events.`;
|
|
42
|
-
var
|
|
42
|
+
var Input6 = Schema.Struct({
|
|
43
43
|
query: Schema.String.annotate({ description: "Websearch query" })
|
|
44
44
|
});
|
|
45
45
|
var Output = Schema.Struct({
|
|
46
46
|
provider: ID4,
|
|
47
47
|
results: Schema.Array(Result2)
|
|
48
48
|
});
|
|
49
|
-
var
|
|
49
|
+
var Plugin26 = {
|
|
50
50
|
id: "opencode.tool.websearch",
|
|
51
51
|
effect: Effect.fn("WebSearchTool.Plugin")(function* (ctx) {
|
|
52
|
-
const permission = yield*
|
|
53
|
-
const forms = yield*
|
|
54
|
-
const websearch = yield*
|
|
52
|
+
const permission = yield* Service50;
|
|
53
|
+
const forms = yield* Service77;
|
|
54
|
+
const websearch = yield* Service20;
|
|
55
55
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
56
|
-
name:
|
|
56
|
+
name: name6,
|
|
57
57
|
options: { codemode: false },
|
|
58
58
|
description: description4,
|
|
59
|
-
input:
|
|
59
|
+
input: Input6,
|
|
60
60
|
output: Output,
|
|
61
61
|
execute: (input, context) => Effect.gen(function* () {
|
|
62
62
|
yield* permission.assert({
|
|
63
|
-
action:
|
|
63
|
+
action: name6,
|
|
64
64
|
resources: [input.query],
|
|
65
65
|
save: ["*"],
|
|
66
66
|
metadata: input,
|
|
@@ -176,7 +176,7 @@ ${result.content}` : ""}`;
|
|
|
176
176
|
const hook = (event) => Effect.gen(function* () {
|
|
177
177
|
const disabled = yield* websearch.default().pipe(Effect.as(false), Effect.catchTag("WebSearch.Disabled", () => Effect.succeed(true)));
|
|
178
178
|
if (disabled)
|
|
179
|
-
delete event.tools[
|
|
179
|
+
delete event.tools[name6];
|
|
180
180
|
});
|
|
181
181
|
yield* ctx.session.hook("context", hook);
|
|
182
182
|
yield* ctx.session.hook("compaction", hook);
|
|
@@ -184,4 +184,4 @@ ${result.content}` : ""}`;
|
|
|
184
184
|
})
|
|
185
185
|
};
|
|
186
186
|
|
|
187
|
-
export {
|
|
187
|
+
export { name6, NO_RESULTS2, description4, Input6, Plugin26, exports_websearch2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service66
|
|
4
|
+
} from "./ripgrep-4q6wvnkn.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service39
|
|
7
|
+
} from "./ripgrep-ah8fqh7n.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./ripgrep-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin17
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin17 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service66;
|
|
27
|
+
const snapshot = yield* Service39;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin14 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin17, exports_snapshot };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node84
|
|
4
|
+
} from "./ripgrep-rxmh2sg9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service72,
|
|
8
|
+
node76
|
|
9
|
+
} from "./ripgrep-ptse1bjf.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./ripgrep-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./ripgrep-79gxnefz.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./ripgrep-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -31,17 +31,17 @@ __export(exports_integration, {
|
|
|
31
31
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
32
32
|
CommandMethod: () => CommandMethod2,
|
|
33
33
|
EnvMethod: () => EnvMethod2,
|
|
34
|
-
Event: () =>
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
34
|
+
Event: () => Event18,
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info29,
|
|
37
37
|
Integration: () => exports_integration,
|
|
38
38
|
KeyMethod: () => KeyMethod2,
|
|
39
39
|
Method: () => Method2,
|
|
40
40
|
MethodID: () => MethodID2,
|
|
41
41
|
OAuthMethod: () => OAuthMethod2,
|
|
42
42
|
Ref: () => Ref3,
|
|
43
|
-
Service: () =>
|
|
44
|
-
node: () =>
|
|
43
|
+
Service: () => Service71,
|
|
44
|
+
node: () => node75
|
|
45
45
|
});
|
|
46
46
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
47
47
|
import {
|
|
@@ -62,8 +62,8 @@ import {
|
|
|
62
62
|
import { Integration } from "@opencode/schema/integration";
|
|
63
63
|
import { AppProcess } from "@opencode/util/process";
|
|
64
64
|
import { ChildProcess } from "effect/unstable/process";
|
|
65
|
-
import { Event as
|
|
66
|
-
var
|
|
65
|
+
import { Event as Event18 } from "@opencode/schema/integration";
|
|
66
|
+
var ID14 = Integration.ID;
|
|
67
67
|
var MethodID2 = Integration.MethodID;
|
|
68
68
|
var AttemptID2 = Integration.AttemptID;
|
|
69
69
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -71,7 +71,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
71
71
|
var KeyMethod2 = Integration.KeyMethod;
|
|
72
72
|
var EnvMethod2 = Integration.EnvMethod;
|
|
73
73
|
var Method2 = Integration.Method;
|
|
74
|
-
var
|
|
74
|
+
var Info29 = Integration.Info;
|
|
75
75
|
var Attempt2 = Integration.Attempt;
|
|
76
76
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
77
77
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -88,19 +88,19 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
88
88
|
}
|
|
89
89
|
|
|
90
90
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
91
|
-
integrationID:
|
|
91
|
+
integrationID: ID14,
|
|
92
92
|
attemptID: AttemptID2
|
|
93
93
|
}) {
|
|
94
94
|
}
|
|
95
95
|
var Ref3 = Integration.Ref;
|
|
96
96
|
|
|
97
|
-
class
|
|
97
|
+
class Service71 extends Context.Service()("@opencode/Integration") {
|
|
98
98
|
}
|
|
99
99
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
100
100
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
101
101
|
var scrubInterval = Duration.seconds(30);
|
|
102
|
-
var layer = Layer.effect(
|
|
103
|
-
const credentials = yield*
|
|
102
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
103
|
+
const credentials = yield* Service72;
|
|
104
104
|
const bus = yield* Service80;
|
|
105
105
|
const processes = yield* AppProcess.Service;
|
|
106
106
|
const scope = yield* Scope.Scope;
|
|
@@ -194,7 +194,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
194
194
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
195
195
|
return [...credentials, ...env];
|
|
196
196
|
};
|
|
197
|
-
const project = (entry, connections) =>
|
|
197
|
+
const project = (entry, connections) => Info29.make({
|
|
198
198
|
id: entry.ref.id,
|
|
199
199
|
name: entry.ref.name,
|
|
200
200
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -278,7 +278,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
278
278
|
const persistence = yield* createCredential({
|
|
279
279
|
integrationID: attempt.integrationID,
|
|
280
280
|
label: attempt.label,
|
|
281
|
-
value:
|
|
281
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
282
282
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
283
283
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
284
284
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -424,7 +424,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
424
424
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
425
425
|
return CommandAttempt2.make({ attemptID, time });
|
|
426
426
|
});
|
|
427
|
-
return
|
|
427
|
+
return Service71.of({
|
|
428
428
|
transform: state.transform,
|
|
429
429
|
reload: state.reload,
|
|
430
430
|
revision: state.revision,
|
|
@@ -446,7 +446,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
446
446
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
447
447
|
if (connection.type === "env") {
|
|
448
448
|
const key = process.env[connection.name];
|
|
449
|
-
return key ?
|
|
449
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
450
450
|
}
|
|
451
451
|
const credential = yield* credentials.get(connection.id);
|
|
452
452
|
if (!credential)
|
|
@@ -479,7 +479,7 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
479
479
|
yield* createCredential({
|
|
480
480
|
integrationID: input.integrationID,
|
|
481
481
|
label: input.label,
|
|
482
|
-
value:
|
|
482
|
+
value: Key4.make({
|
|
483
483
|
type: "key",
|
|
484
484
|
key: input.key,
|
|
485
485
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -573,10 +573,10 @@ var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
|
573
573
|
}
|
|
574
574
|
});
|
|
575
575
|
}));
|
|
576
|
-
var
|
|
577
|
-
service:
|
|
576
|
+
var node75 = makeLocationNode({
|
|
577
|
+
service: Service71,
|
|
578
578
|
layer,
|
|
579
|
-
deps: [
|
|
579
|
+
deps: [node76, node84, AppProcess.node]
|
|
580
580
|
});
|
|
581
581
|
|
|
582
|
-
export {
|
|
582
|
+
export { ID14, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info29, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service71, node75, exports_integration, Event18 };
|