@opencode/core 0.0.0-dev-20614 → 0.0.0-dev-20615
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +3 -3
- package/dist/bus.js +69 -69
- package/dist/chunks/{rpc-4x4mpqjg.js → tool-01txzqdp.js} +27 -27
- package/dist/chunks/{rpc-7g3p7xqg.js → tool-0ay65vhm.js} +16 -16
- package/dist/chunks/{rpc-nnc3k97b.js → tool-0gh1f601.js} +24 -24
- package/dist/chunks/{rpc-0jwsre1p.js → tool-0jwsre1p.js} +1 -1
- package/dist/chunks/{rpc-bh4mgjf3.js → tool-0ma4vy4p.js} +4 -4
- package/dist/chunks/{rpc-gv3cf3j7.js → tool-0mw89yjh.js} +5 -5
- package/dist/chunks/{rpc-0paq2nw3.js → tool-0paq2nw3.js} +1 -1
- package/dist/chunks/{rpc-kxh9v5xk.js → tool-0tbrh5mv.js} +34 -34
- package/dist/chunks/{rpc-0vbcp93d.js → tool-0vbcp93d.js} +2 -2
- package/dist/chunks/{rpc-4ttaqta8.js → tool-0vgvvwxq.js} +6 -6
- package/dist/chunks/{rpc-8xytev0b.js → tool-1402mhzs.js} +42 -42
- package/dist/chunks/{rpc-kbqjp078.js → tool-150yg2gd.js} +5 -5
- package/dist/chunks/{rpc-5g6s6gv3.js → tool-15brx7xh.js} +28 -28
- package/dist/chunks/{rpc-1acjjqhc.js → tool-1acjjqhc.js} +1 -1
- package/dist/chunks/{rpc-1dazxqgg.js → tool-1dazxqgg.js} +2 -2
- package/dist/chunks/{rpc-3p2d7rey.js → tool-1djc6rq1.js} +30 -30
- package/dist/chunks/{rpc-1dvck2a7.js → tool-1dvck2a7.js} +2 -2
- package/dist/chunks/{rpc-x464wtgm.js → tool-1e1wjnhp.js} +7 -7
- package/dist/chunks/{rpc-xfrtpcsx.js → tool-1spn70p8.js} +30 -30
- package/dist/chunks/{rpc-533t3k18.js → tool-1zqsf2j9.js} +5 -5
- package/dist/chunks/{rpc-2a5m3afh.js → tool-2a5m3afh.js} +1 -1
- package/dist/chunks/{rpc-ws43kkxr.js → tool-2evx7vn6.js} +41 -41
- package/dist/chunks/{rpc-t11fnep0.js → tool-2hzmp1dp.js} +4 -4
- package/dist/chunks/{rpc-hf7v12ee.js → tool-2r4zy24c.js} +39 -39
- package/dist/chunks/{rpc-1m5xd0n6.js → tool-2stxsqvh.js} +4 -4
- package/dist/chunks/{rpc-embw8kgh.js → tool-2vs2nh1n.js} +4 -4
- package/dist/chunks/{rpc-b4p0zyye.js → tool-2zdrkm9b.js} +9 -9
- package/dist/chunks/{rpc-9fwpadhv.js → tool-2zt2ydz3.js} +8 -8
- package/dist/chunks/{rpc-vfq38zp6.js → tool-331jtpav.js} +11 -11
- package/dist/chunks/{rpc-56gdpj1q.js → tool-33w4ejhs.js} +6 -6
- package/dist/chunks/{rpc-ganvav3g.js → tool-3aqx67na.js} +31 -31
- package/dist/chunks/{rpc-3fc6dm20.js → tool-3fc6dm20.js} +1 -1
- package/dist/chunks/{rpc-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{rpc-8sdwqvxv.js → tool-3hqn980y.js} +24 -24
- package/dist/chunks/{rpc-nn9e7z2q.js → tool-3k34870w.js} +17 -17
- package/dist/chunks/{rpc-ez2jm7g9.js → tool-3px2wxdf.js} +20 -20
- package/dist/chunks/{rpc-zxyzpaq8.js → tool-3rtbn312.js} +27 -27
- package/dist/chunks/{rpc-0ncnx2my.js → tool-3rwvqde1.js} +9 -9
- package/dist/chunks/{rpc-3smtnn6g.js → tool-3smtnn6g.js} +1 -1
- package/dist/chunks/{rpc-f5j1xq8b.js → tool-3srzt07f.js} +42 -42
- package/dist/chunks/{rpc-1060qac4.js → tool-3t6p5jdv.js} +4 -4
- package/dist/chunks/{rpc-3tvqynh2.js → tool-3tvqynh2.js} +1 -1
- package/dist/chunks/{rpc-db2wf4at.js → tool-3y377wv9.js} +4 -4
- package/dist/chunks/{rpc-3zsf4n22.js → tool-3zsf4n22.js} +1 -1
- package/dist/chunks/{rpc-v0es1rhs.js → tool-4434d9q2.js} +9 -9
- package/dist/chunks/{rpc-c8bydgjz.js → tool-4mwpykj0.js} +6 -6
- package/dist/chunks/{rpc-y56ehv6b.js → tool-4nj4bn9q.js} +5 -5
- package/dist/chunks/{rpc-mqdbt0fy.js → tool-4rs0m8vn.js} +11 -11
- package/dist/chunks/{rpc-2gnsthxx.js → tool-4rsta4nx.js} +9 -9
- package/dist/chunks/{rpc-4ts7tf6z.js → tool-4ts7tf6z.js} +2 -2
- package/dist/chunks/{rpc-54ma36ye.js → tool-54ma36ye.js} +1 -1
- package/dist/chunks/{rpc-5ajg84dh.js → tool-55f5yhnr.js} +318 -318
- package/dist/chunks/{rpc-pt1ss6jy.js → tool-58072hz9.js} +3 -3
- package/dist/chunks/{rpc-54nesnvt.js → tool-58pr7qh6.js} +3 -3
- package/dist/chunks/{rpc-t8wbkswq.js → tool-58xwj6qx.js} +70 -70
- package/dist/chunks/{rpc-b46f7b7m.js → tool-599d5hrs.js} +3 -3
- package/dist/chunks/{rpc-gmm6ztwy.js → tool-5a9tff2n.js} +13 -13
- package/dist/chunks/{rpc-5sz8h96m.js → tool-5bx9xx12.js} +26 -26
- package/dist/chunks/{rpc-5daktx2q.js → tool-5daktx2q.js} +1 -1
- package/dist/chunks/{rpc-xm0xxx27.js → tool-5hj0wrn5.js} +16 -16
- package/dist/chunks/{rpc-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{rpc-xs53z2pm.js → tool-5qwkxp89.js} +4 -4
- package/dist/chunks/{rpc-5t3nmthw.js → tool-5t3nmthw.js} +2 -2
- package/dist/chunks/{rpc-tpw6cwsb.js → tool-5yzzbxa7.js} +8 -8
- package/dist/chunks/{rpc-m5dx7gp5.js → tool-60vkhqe6.js} +20 -20
- package/dist/chunks/{rpc-g6tqb9ea.js → tool-642av4pa.js} +8 -8
- package/dist/chunks/{rpc-4pwxaf10.js → tool-64mbz47k.js} +6 -6
- package/dist/chunks/{rpc-yh215453.js → tool-6c0e94qj.js} +11 -11
- package/dist/chunks/{rpc-c9k1me9f.js → tool-6gwk5m7m.js} +89 -89
- package/dist/chunks/{rpc-6xb47vfp.js → tool-6xb47vfp.js} +1 -1
- package/dist/chunks/{rpc-71az546q.js → tool-71az546q.js} +2 -2
- package/dist/chunks/{rpc-bq45k8q5.js → tool-722t8cr8.js} +3 -3
- package/dist/chunks/{rpc-r9y2scxt.js → tool-72rw85ce.js} +11 -11
- package/dist/chunks/{rpc-r5x6zcsm.js → tool-73tb2d7t.js} +3 -3
- package/dist/chunks/{rpc-d2nh46vp.js → tool-75ey17xe.js} +19 -19
- package/dist/chunks/{rpc-22pj3101.js → tool-78ss49vf.js} +13 -13
- package/dist/chunks/{rpc-6h8sc7np.js → tool-7ad5y3s6.js} +45 -45
- package/dist/chunks/{rpc-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{rpc-xgj417n4.js → tool-7d7rzqbv.js} +25 -25
- package/dist/chunks/{rpc-6vv667e0.js → tool-7ex9xsd9.js} +11 -11
- package/dist/chunks/{rpc-r10837e4.js → tool-7t6d0zf6.js} +10 -10
- package/dist/chunks/{rpc-p2pqxjme.js → tool-7v9xsq6d.js} +28 -60
- package/dist/chunks/{rpc-cstv7mkv.js → tool-7wnkabmt.js} +12 -12
- package/dist/chunks/{rpc-jv4phnjg.js → tool-7z8hv35c.js} +38 -38
- package/dist/chunks/{rpc-1cbpavv6.js → tool-81xr82zh.js} +4 -4
- package/dist/chunks/{rpc-84txncab.js → tool-84txncab.js} +1 -1
- package/dist/chunks/{rpc-8t8h1kbj.js → tool-88t4yrn9.js} +18 -18
- package/dist/chunks/{rpc-k70p9jzb.js → tool-8a6ws7jr.js} +9 -9
- package/dist/chunks/{rpc-qvb3nf84.js → tool-8aaqm6qj.js} +8 -8
- package/dist/chunks/{rpc-p3apgj4x.js → tool-8bha9w2p.js} +10 -10
- package/dist/chunks/{rpc-8d7r5vzw.js → tool-8d7r5vzw.js} +1 -1
- package/dist/chunks/{rpc-p7jzk1rv.js → tool-8f6m8c4b.js} +9 -9
- package/dist/chunks/{rpc-ye9wgpct.js → tool-8m8eqb0p.js} +11 -11
- package/dist/chunks/{rpc-8pbkcx2g.js → tool-8yavwngc.js} +13 -13
- package/dist/chunks/{rpc-y2b68zde.js → tool-90ytmqma.js} +18 -18
- package/dist/chunks/{rpc-mz7phrdz.js → tool-98tegs2y.js} +21 -21
- package/dist/chunks/{rpc-rr08w51d.js → tool-99rd90tq.js} +48 -48
- package/dist/chunks/{rpc-mvag4927.js → tool-9bwc8hw1.js} +6 -6
- package/dist/chunks/{rpc-9e5bzkjp.js → tool-9e5bzkjp.js} +3 -3
- package/dist/chunks/{rpc-7m2qdy8r.js → tool-9e5p6t2h.js} +14 -14
- package/dist/chunks/{rpc-kgvvfrqy.js → tool-9frdx5hm.js} +3 -3
- package/dist/chunks/{rpc-1q3rafdy.js → tool-9hvgyr50.js} +32 -32
- package/dist/chunks/{rpc-jsd0es0t.js → tool-9m1qv4sr.js} +15 -15
- package/dist/chunks/{rpc-wv396vej.js → tool-9t7a50xb.js} +6 -6
- package/dist/chunks/{rpc-rk1r2hx8.js → tool-a4ae1mqs.js} +1 -1
- package/dist/chunks/{rpc-dcra6fsx.js → tool-a5fdf1es.js} +10 -10
- package/dist/chunks/{rpc-207ajt2h.js → tool-a694798e.js} +5 -5
- package/dist/chunks/{rpc-qrxmfht2.js → tool-a72skx39.js} +3 -3
- package/dist/chunks/{rpc-aaet6srn.js → tool-aaet6srn.js} +2 -2
- package/dist/chunks/{rpc-dp56tzpn.js → tool-ab5g3gyt.js} +17 -17
- package/dist/chunks/{rpc-chq8ys23.js → tool-af6c9m8w.js} +26 -26
- package/dist/chunks/{rpc-eqt6bb3f.js → tool-agssjnsy.js} +9 -9
- package/dist/chunks/{rpc-67hqjgmd.js → tool-at1f3efs.js} +16 -16
- package/dist/chunks/{rpc-166kng33.js → tool-at1kfnmk.js} +8 -8
- package/dist/chunks/{rpc-5nz0gkqr.js → tool-atmvy895.js} +8 -8
- package/dist/chunks/{rpc-60p83n7v.js → tool-b2mfa9xz.js} +24 -24
- package/dist/chunks/{rpc-c7y386sp.js → tool-b5w00b0k.js} +13 -13
- package/dist/chunks/{rpc-b6gygkdw.js → tool-b6gygkdw.js} +2 -2
- package/dist/chunks/{rpc-b9rkfy69.js → tool-bbd0f1y9.js} +15 -15
- package/dist/chunks/{rpc-cc9k568f.js → tool-bwp70caj.js} +13 -13
- package/dist/chunks/{rpc-a5k25c6v.js → tool-c2jpvny9.js} +18 -18
- package/dist/chunks/tool-c652knrp.js +253 -0
- package/dist/chunks/{rpc-cavr175a.js → tool-cavr175a.js} +1 -1
- package/dist/chunks/{rpc-8sze2n9a.js → tool-cfsekr6v.js} +6 -6
- package/dist/chunks/{rpc-sbvpbnqx.js → tool-cjmm0qt3.js} +54 -54
- package/dist/chunks/tool-cqsczj1k.js +26 -0
- package/dist/chunks/{rpc-rw8bmwyh.js → tool-cx5j657v.js} +5 -5
- package/dist/chunks/{rpc-emj040m8.js → tool-d13qwqgh.js} +22 -22
- package/dist/chunks/{rpc-f29mbr7f.js → tool-d2czbp48.js} +4 -4
- package/dist/chunks/{rpc-a1zzczhd.js → tool-d761m3y3.js} +9 -9
- package/dist/chunks/{rpc-z1y57tvr.js → tool-dfjg1bp5.js} +42 -42
- package/dist/chunks/{rpc-v5gcwjqe.js → tool-dh608gq4.js} +18 -18
- package/dist/chunks/{rpc-re7nxgv7.js → tool-djravzrm.js} +10 -10
- package/dist/chunks/{rpc-djszqvmq.js → tool-djszqvmq.js} +2 -2
- package/dist/chunks/{rpc-nsrpqm0g.js → tool-dktv53ts.js} +44 -44
- package/dist/chunks/{rpc-dpkg50ah.js → tool-dpkg50ah.js} +1 -1
- package/dist/chunks/{rpc-3akk2h64.js → tool-dr9qm9pw.js} +11 -11
- package/dist/chunks/{rpc-ha1nyj3r.js → tool-dy8n0qm6.js} +18 -18
- package/dist/chunks/{rpc-n8vdb50h.js → tool-e41k2zcz.js} +25 -25
- package/dist/chunks/{rpc-3a4s300c.js → tool-e9w3b6g9.js} +2 -2
- package/dist/chunks/{rpc-fgcxm0dp.js → tool-ec3xbt7p.js} +5 -5
- package/dist/chunks/{rpc-ef5x83kb.js → tool-ef5x83kb.js} +1 -1
- package/dist/chunks/{rpc-09g16h6t.js → tool-eg18rmn3.js} +25 -25
- package/dist/chunks/{rpc-cazsvtfp.js → tool-emd75jk3.js} +4 -4
- package/dist/chunks/{rpc-890zyxch.js → tool-epxcr31w.js} +3 -3
- package/dist/chunks/{rpc-tnq8nysp.js → tool-eq44gh0z.js} +22 -22
- package/dist/chunks/{rpc-34py1zyz.js → tool-esfye6zx.js} +11 -11
- package/dist/chunks/{rpc-ba457dmc.js → tool-esx0q18m.js} +11 -11
- package/dist/chunks/{rpc-etq0c3wd.js → tool-etq0c3wd.js} +1 -1
- package/dist/chunks/{rpc-et4sjga4.js → tool-ewp9wevh.js} +3 -3
- package/dist/chunks/{rpc-4rkxrr4b.js → tool-f2ynrejf.js} +14 -14
- package/dist/chunks/{rpc-65t34tvq.js → tool-f372e9hx.js} +4 -4
- package/dist/chunks/{rpc-qmx1h8v8.js → tool-f5gy8qwh.js} +8 -8
- package/dist/chunks/{rpc-gdz0nm16.js → tool-faawnrv4.js} +12 -12
- package/dist/chunks/{rpc-kjb2hhrc.js → tool-fkngwg2k.js} +30 -30
- package/dist/chunks/{rpc-yep9hrs7.js → tool-fqa841x5.js} +16 -16
- package/dist/chunks/{rpc-xfkkasph.js → tool-g5w8qwbj.js} +4 -4
- package/dist/chunks/{rpc-qmgn8zg7.js → tool-gccjnz6h.js} +2 -2
- package/dist/chunks/{rpc-amzhydp5.js → tool-gce79w0q.js} +11 -11
- package/dist/chunks/{rpc-gd4qta3r.js → tool-gd4qta3r.js} +1 -1
- package/dist/chunks/{rpc-epn4jpn5.js → tool-gkh9snj0.js} +21 -21
- package/dist/chunks/{rpc-hwbjwdkm.js → tool-gnje2431.js} +1 -1
- package/dist/chunks/{rpc-dmmadak4.js → tool-gzwmz214.js} +32 -32
- package/dist/chunks/{rpc-h2b79v29.js → tool-h2b79v29.js} +2 -2
- package/dist/chunks/{rpc-0prrzmtk.js → tool-h412aj1p.js} +45 -45
- package/dist/chunks/{rpc-awrbzsy3.js → tool-h6nxw0pd.js} +6 -6
- package/dist/chunks/{rpc-h6vf3j39.js → tool-h6vf3j39.js} +1 -1
- package/dist/chunks/{rpc-cahzjz2e.js → tool-hh30mmv6.js} +4 -4
- package/dist/chunks/{rpc-9k7vhctz.js → tool-hksy7w0e.js} +9 -9
- package/dist/chunks/tool-ht5y0zrb.js +18 -0
- package/dist/chunks/{rpc-zy0p2a7a.js → tool-htbz2s2q.js} +19 -19
- package/dist/chunks/{rpc-2dm8nds3.js → tool-j2mwjwzb.js} +14 -14
- package/dist/chunks/{rpc-j56e64zr.js → tool-j56e64zr.js} +1 -1
- package/dist/chunks/{rpc-8a5fnp9s.js → tool-j75aexbk.js} +29 -29
- package/dist/chunks/{rpc-wcyz2dd7.js → tool-jb98t3yg.js} +9 -9
- package/dist/chunks/{rpc-fr4jfz3a.js → tool-jebbcwb7.js} +182 -182
- package/dist/chunks/{rpc-jcpqsrtw.js → tool-jg9mfmbc.js} +33 -33
- package/dist/chunks/{rpc-j33kjnzj.js → tool-jghb6zsz.js} +27 -27
- package/dist/chunks/{rpc-q4vm13ha.js → tool-jyqxqm4f.js} +8 -8
- package/dist/chunks/{rpc-xatn3nz0.js → tool-k0aa2bpn.js} +13 -13
- package/dist/chunks/{rpc-gbdg3f4q.js → tool-k2rcv5mf.js} +20 -20
- package/dist/chunks/{rpc-kfv9zcp7.js → tool-k86ctsz1.js} +5 -5
- package/dist/chunks/{rpc-r2dtq56c.js → tool-kt3hcyyz.js} +21 -21
- package/dist/chunks/{rpc-ztbftqy0.js → tool-kvq6zm8d.js} +11 -11
- package/dist/chunks/{rpc-4bm5ja14.js → tool-kzc3h1h3.js} +4 -4
- package/dist/chunks/{rpc-m3fdjcah.js → tool-m3fdjcah.js} +1 -1
- package/dist/chunks/{rpc-nh782qgx.js → tool-m6hkzgzt.js} +13 -13
- package/dist/chunks/{rpc-rfmbkq71.js → tool-m6pz7yaw.js} +27 -27
- package/dist/chunks/{rpc-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{rpc-maqk305m.js → tool-maqk305m.js} +3 -3
- package/dist/chunks/{rpc-3php8dd9.js → tool-mh8avh3a.js} +32 -32
- package/dist/chunks/{rpc-x2qsf20a.js → tool-mw7fyssf.js} +10 -10
- package/dist/chunks/{rpc-n6g6d2dh.js → tool-mx1sz4x7.js} +15 -15
- package/dist/chunks/{rpc-q0g1n7es.js → tool-n5w4zgy3.js} +8 -8
- package/dist/chunks/{rpc-nyztfb2d.js → tool-n9gejz5b.js} +5 -5
- package/dist/chunks/{rpc-zqsp6zp7.js → tool-nb12znkd.js} +20 -20
- package/dist/chunks/{rpc-2ew92v1r.js → tool-nd79nxgk.js} +11 -11
- package/dist/chunks/{rpc-6tf0ydvz.js → tool-ngqw0ypv.js} +89 -89
- package/dist/chunks/{rpc-ez9xjax4.js → tool-nm9kjter.js} +15 -15
- package/dist/chunks/{rpc-rzsd88wv.js → tool-nxn2kzp1.js} +7 -7
- package/dist/chunks/{rpc-thw44fjv.js → tool-p872nfyh.js} +51 -51
- package/dist/chunks/{rpc-nfeyqsva.js → tool-p9why5pw.js} +23 -23
- package/dist/chunks/{rpc-xdfgrpdn.js → tool-pfhas51f.js} +11 -11
- package/dist/chunks/{rpc-nffcmxy2.js → tool-pfthk98r.js} +3 -3
- package/dist/chunks/{rpc-pjvnvgmy.js → tool-pjvnvgmy.js} +1 -1
- package/dist/chunks/{rpc-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{rpc-fvkm2g5h.js → tool-psb6wvpf.js} +14 -14
- package/dist/chunks/{rpc-04qhygnj.js → tool-pwge32e4.js} +4 -4
- package/dist/chunks/{rpc-q0xm7vwc.js → tool-q0xm7vwc.js} +2 -2
- package/dist/chunks/{rpc-gamycmfm.js → tool-q8dg0qrx.js} +18 -18
- package/dist/chunks/{rpc-t2fc4mz5.js → tool-qa3qhgw8.js} +4 -4
- package/dist/chunks/{rpc-ydcpfrjz.js → tool-qbsvtwmm.js} +7 -7
- package/dist/chunks/{rpc-f00eh3k7.js → tool-qkfezwh6.js} +11 -11
- package/dist/chunks/{rpc-qnc92qwc.js → tool-qnc92qwc.js} +1 -1
- package/dist/chunks/{rpc-5kbbpd5m.js → tool-qptn7k98.js} +20 -20
- package/dist/chunks/{rpc-qsdy395h.js → tool-qsdy395h.js} +1 -1
- package/dist/chunks/{rpc-jmkwhzjg.js → tool-qycxan82.js} +10 -10
- package/dist/chunks/{rpc-rdw6cm16.js → tool-rdw6cm16.js} +1 -1
- package/dist/chunks/{rpc-0ngd71wt.js → tool-rfg5269m.js} +11 -11
- package/dist/chunks/{rpc-fb7qthtr.js → tool-rh254cas.js} +16 -16
- package/dist/chunks/{rpc-xr0pdkzg.js → tool-rva2vaqy.js} +18 -18
- package/dist/chunks/{rpc-jcahdafx.js → tool-rvzqsjbs.js} +15 -15
- package/dist/chunks/{rpc-m3r53n7w.js → tool-s3skzd7w.js} +28 -28
- package/dist/chunks/{rpc-mha52fg8.js → tool-scgrse2b.js} +5 -5
- package/dist/chunks/{rpc-j70nvw5e.js → tool-sge72mws.js} +15 -15
- package/dist/chunks/{rpc-pz35sh5r.js → tool-sj09p6fx.js} +19 -19
- package/dist/chunks/{rpc-gvbrgmcd.js → tool-sp63qzw1.js} +32 -32
- package/dist/chunks/{rpc-wmh0e8qb.js → tool-svdf0mx4.js} +30 -30
- package/dist/chunks/{rpc-jbefk323.js → tool-t5rxgedn.js} +3 -3
- package/dist/chunks/{rpc-tazgh4e4.js → tool-tazgh4e4.js} +1 -1
- package/dist/chunks/{rpc-89znhe33.js → tool-tcezcvh9.js} +4 -4
- package/dist/chunks/{rpc-tdstcens.js → tool-tdstcens.js} +1 -1
- package/dist/chunks/{rpc-sxcx047p.js → tool-tj5stkpz.js} +24 -24
- package/dist/chunks/{rpc-d1pty5dr.js → tool-ts9txmc3.js} +11 -11
- package/dist/chunks/{rpc-y20qkwyy.js → tool-v1gpf2yb.js} +34 -34
- package/dist/chunks/{rpc-pgp094pg.js → tool-v4xb2j5s.js} +21 -21
- package/dist/chunks/{rpc-krqgy3mh.js → tool-v4zkdgc9.js} +15 -15
- package/dist/chunks/{rpc-x86jqt50.js → tool-v5twwn9z.js} +20 -20
- package/dist/chunks/{rpc-bgvt1315.js → tool-v7wmy86e.js} +5 -5
- package/dist/chunks/{rpc-d7111vdp.js → tool-vdqy2d40.js} +11 -11
- package/dist/chunks/{rpc-wjknr5ax.js → tool-veq1ptvw.js} +24 -24
- package/dist/chunks/{rpc-9kb1jp1e.js → tool-veqef7sc.js} +5 -5
- package/dist/chunks/{rpc-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{rpc-pkqb68ka.js → tool-vn72gsba.js} +4 -4
- package/dist/chunks/{rpc-c91zzexf.js → tool-vq1q2ta7.js} +8 -8
- package/dist/chunks/{rpc-vzs5sf6e.js → tool-vzs5sf6e.js} +1 -1
- package/dist/chunks/{rpc-cskq1h98.js → tool-w11tz2pw.js} +31 -31
- package/dist/chunks/{rpc-brj6tsnm.js → tool-w1ry99tz.js} +17 -17
- package/dist/chunks/{rpc-w9vf9qqj.js → tool-w3nq1sqw.js} +9 -9
- package/dist/chunks/{rpc-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{rpc-3hrqzrgp.js → tool-w9wfhscg.js} +5 -5
- package/dist/chunks/{rpc-sq2hf2ex.js → tool-wchs5kcb.js} +3 -3
- package/dist/chunks/{rpc-bkejr317.js → tool-wcwsz0n1.js} +15 -15
- package/dist/chunks/{rpc-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{rpc-3045q0b3.js → tool-wdg5bjkg.js} +7 -7
- package/dist/chunks/{rpc-wh6zw745.js → tool-wh6zw745.js} +2 -2
- package/dist/chunks/{rpc-zpp3xwmp.js → tool-wrhmq8wv.js} +8 -8
- package/dist/chunks/{rpc-dhs4gavz.js → tool-wvpq0bw3.js} +1 -1
- package/dist/chunks/{rpc-rqda8125.js → tool-x48reza4.js} +20 -20
- package/dist/chunks/{rpc-1aqpvs29.js → tool-x5z5qag1.js} +32 -32
- package/dist/chunks/{rpc-td5nyq6t.js → tool-xa84tjd1.js} +43 -43
- package/dist/chunks/{rpc-zykqxywy.js → tool-xf8f9mz3.js} +32 -32
- package/dist/chunks/{rpc-xkntkrq7.js → tool-xkntkrq7.js} +2 -2
- package/dist/chunks/{rpc-wmz5tzxy.js → tool-xp6p1dgv.js} +11 -11
- package/dist/chunks/{rpc-qxjc9qry.js → tool-xyafkbt0.js} +3 -3
- package/dist/chunks/{rpc-y1fvbwt7.js → tool-y1fvbwt7.js} +1 -1
- package/dist/chunks/{rpc-xagyt1w9.js → tool-y3cnjxb9.js} +18 -18
- package/dist/chunks/{rpc-2abnsckw.js → tool-ycm51zrg.js} +4 -4
- package/dist/chunks/{rpc-dbspd11k.js → tool-yk3b2hhw.js} +9 -9
- package/dist/chunks/{rpc-4rjamvcb.js → tool-ykkbspqz.js} +18 -18
- package/dist/chunks/{rpc-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{rpc-47jkzegy.js → tool-z6c3x22d.js} +5 -5
- package/dist/chunks/{rpc-1bjhhsef.js → tool-z98n36ea.js} +18 -18
- package/dist/chunks/{rpc-3d418hrh.js → tool-zhrz246t.js} +42 -42
- package/dist/chunks/{rpc-zr2ceqn5.js → tool-zr2ceqn5.js} +1 -1
- package/dist/chunks/{rpc-zxq2ej10.js → tool-zxq2ej10.js} +1 -1
- package/dist/chunks/{rpc-a2rpfkac.js → tool-zy43x3f1.js} +4 -4
- 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 +83 -83
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +70 -70
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/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/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +218 -218
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +104 -104
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- 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 +91 -91
- 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/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +91 -91
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +96 -96
- package/dist/models-dev.js +99 -99
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +82 -82
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- 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 +222 -222
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +95 -95
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +95 -95
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +214 -214
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +210 -210
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +130 -130
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +122 -122
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +105 -105
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/types/plugin/provider/chatgpt.d.ts +1 -1
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +1 -1
- 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/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +87 -87
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +76 -76
- 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 +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/rpc-2z7pspmn.js +0 -26
- package/dist/chunks/rpc-8zpd4q88.js +0 -253
- package/dist/chunks/rpc-pf31ssb9.js +0 -18
- /package/dist/chunks/{rpc-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{rpc-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{rpc-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{rpc-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{rpc-1kg9ymc8.js → tool-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{rpc-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{rpc-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{rpc-2axfhc9x.js → tool-2axfhc9x.js} +0 -0
- /package/dist/chunks/{rpc-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{rpc-34c7v6d4.js → tool-34c7v6d4.js} +0 -0
- /package/dist/chunks/{rpc-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{rpc-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{rpc-3t0ybcrp.js → tool-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{rpc-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{rpc-3w5fmr99.js → tool-3w5fmr99.js} +0 -0
- /package/dist/chunks/{rpc-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{rpc-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{rpc-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{rpc-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{rpc-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{rpc-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{rpc-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{rpc-5qd3pb7m.js → tool-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{rpc-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{rpc-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{rpc-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{rpc-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{rpc-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{rpc-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{rpc-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{rpc-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{rpc-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{rpc-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{rpc-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{rpc-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{rpc-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{rpc-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{rpc-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{rpc-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{rpc-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{rpc-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{rpc-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{rpc-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{rpc-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{rpc-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{rpc-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{rpc-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{rpc-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{rpc-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{rpc-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{rpc-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{rpc-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{rpc-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{rpc-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{rpc-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{rpc-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{rpc-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{rpc-fxgpk5d8.js → tool-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{rpc-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{rpc-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{rpc-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{rpc-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{rpc-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{rpc-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{rpc-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{rpc-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{rpc-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{rpc-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{rpc-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{rpc-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{rpc-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{rpc-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{rpc-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{rpc-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{rpc-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{rpc-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{rpc-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{rpc-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{rpc-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{rpc-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{rpc-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{rpc-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{rpc-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{rpc-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{rpc-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{rpc-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{rpc-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{rpc-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{rpc-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{rpc-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{rpc-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{rpc-y8cydn3q.js → tool-y8cydn3q.js} +0 -0
- /package/dist/chunks/{rpc-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{rpc-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{rpc-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{rpc-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{rpc-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
RelativePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service75,
|
|
6
|
+
node79
|
|
7
|
+
} from "./tool-ab5g3gyt.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Service24,
|
|
10
|
+
node27
|
|
11
|
+
} from "./tool-j2mwjwzb.js";
|
|
12
12
|
import {
|
|
13
13
|
isHome2,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
names3
|
|
15
|
+
} from "./tool-tcezcvh9.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/filesystem/search.ts
|
|
21
21
|
var exports_search = {};
|
|
22
22
|
__export(exports_search, {
|
|
23
23
|
FileSystemSearch: () => exports_search,
|
|
24
|
-
Options: () =>
|
|
25
|
-
Service: () =>
|
|
26
|
-
configured: () =>
|
|
24
|
+
Options: () => Options2,
|
|
25
|
+
Service: () => Service23,
|
|
26
|
+
configured: () => configured2,
|
|
27
27
|
fffLayer: () => fffLayer2,
|
|
28
|
-
layer: () =>
|
|
29
|
-
node: () =>
|
|
28
|
+
layer: () => layer9,
|
|
29
|
+
node: () => node26,
|
|
30
30
|
ripgrepLayer: () => ripgrepLayer2
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -35,11 +35,11 @@ import { Clock, Context, Deferred, Duration, Effect, Layer, Schema, Scope } from
|
|
|
35
35
|
import { Fff } from "#fff";
|
|
36
36
|
import fuzzysort from "fuzzysort";
|
|
37
37
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
38
|
-
var
|
|
38
|
+
var Options2 = Schema.Struct({
|
|
39
39
|
fff: Schema.optional(Schema.Boolean)
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service23 extends Context.Service()("@opencode/FileSystem/Search") {
|
|
43
43
|
}
|
|
44
44
|
var REFRESH_INTERVAL = Duration.toMillis("10 seconds");
|
|
45
45
|
function emptyIndex() {
|
|
@@ -58,9 +58,9 @@ function search(index, input) {
|
|
|
58
58
|
});
|
|
59
59
|
});
|
|
60
60
|
}
|
|
61
|
-
var ripgrepLayer2 = Layer.effect(
|
|
62
|
-
const location = yield*
|
|
63
|
-
const ripgrep = yield*
|
|
61
|
+
var ripgrepLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
62
|
+
const location = yield* Service75;
|
|
63
|
+
const ripgrep = yield* Service24;
|
|
64
64
|
const scope = yield* Scope.Scope;
|
|
65
65
|
const clock = yield* Clock.Clock;
|
|
66
66
|
const home = isHome2(location.directory);
|
|
@@ -77,7 +77,7 @@ var ripgrepLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
77
77
|
cwd: location.directory,
|
|
78
78
|
pattern: "*",
|
|
79
79
|
limit: location.vcs && !home ? Number.MAX_SAFE_INTEGER : 1e5,
|
|
80
|
-
exclude: home ? [...
|
|
80
|
+
exclude: home ? [...names3()].map((name) => `${name}/**`) : undefined,
|
|
81
81
|
onEntry: (entry) => Effect.sync(() => {
|
|
82
82
|
next.files.set(entry.path, previous.files.get(entry.path) ?? fuzzysort.prepare(entry.path));
|
|
83
83
|
const parts = entry.path.split("/");
|
|
@@ -105,15 +105,15 @@ var ripgrepLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
105
105
|
Deferred.doneUnsafe(attempt, exit);
|
|
106
106
|
})), Effect.forkIn(scope), Effect.flatMap(() => initialized ? Effect.void : Deferred.await(attempt)));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service23.of({
|
|
109
109
|
find: (input) => Effect.gen(function* () {
|
|
110
110
|
yield* refresh;
|
|
111
111
|
return search(index, input);
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var fffLayer2 = Layer.effect(
|
|
116
|
-
const location = yield*
|
|
115
|
+
var fffLayer2 = Layer.effect(Service23, Effect.gen(function* () {
|
|
116
|
+
const location = yield* Service75;
|
|
117
117
|
const result = yield* Effect.try({
|
|
118
118
|
try: () => Fff.create({
|
|
119
119
|
basePath: location.directory,
|
|
@@ -126,12 +126,12 @@ var fffLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
126
126
|
if (!result?.ok) {
|
|
127
127
|
if (result)
|
|
128
128
|
yield* Effect.logWarning("failed to initialize fff", { error: result.error });
|
|
129
|
-
return
|
|
129
|
+
return Service23.of({
|
|
130
130
|
find: () => Effect.succeed([])
|
|
131
131
|
});
|
|
132
132
|
}
|
|
133
133
|
yield* Effect.addFinalizer(() => Effect.sync(() => result.value.destroy()));
|
|
134
|
-
return
|
|
134
|
+
return Service23.of({
|
|
135
135
|
find: (input) => Effect.sync(() => {
|
|
136
136
|
const options = { pageIndex: 0, pageSize: input.limit ?? 50 };
|
|
137
137
|
const items = (() => {
|
|
@@ -174,17 +174,17 @@ var fffLayer2 = Layer.effect(Service55, Effect.gen(function* () {
|
|
|
174
174
|
})
|
|
175
175
|
});
|
|
176
176
|
}));
|
|
177
|
-
var
|
|
178
|
-
const location = yield*
|
|
177
|
+
var layer9 = (options) => Layer.unwrap(Effect.gen(function* () {
|
|
178
|
+
const location = yield* Service75;
|
|
179
179
|
if (location.workspaceID)
|
|
180
180
|
return ripgrepLayer2;
|
|
181
181
|
if (options?.fff === false || options?.fff === undefined && process.platform === "win32" || !Fff.available())
|
|
182
182
|
return ripgrepLayer2;
|
|
183
183
|
return location.vcs && !isHome2(location.directory) ? fffLayer2 : ripgrepLayer2;
|
|
184
184
|
}));
|
|
185
|
-
function
|
|
186
|
-
return makeLocationNode({ service:
|
|
185
|
+
function configured2(options) {
|
|
186
|
+
return makeLocationNode({ service: Service23, layer: layer9(options), deps: [node79, node27] });
|
|
187
187
|
}
|
|
188
|
-
var
|
|
188
|
+
var node26 = configured2();
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Options2, Service23, ripgrepLayer2, fffLayer2, layer9, configured2, node26, exports_search };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service75
|
|
9
|
+
} from "./tool-ab5g3gyt.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./tool-b2mfa9xz.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service24
|
|
16
|
+
} from "./tool-j2mwjwzb.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-15brx7xh.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service69
|
|
26
|
+
} from "./tool-dfjg1bp5.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service15
|
|
29
|
+
} from "./tool-q8dg0qrx.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-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: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output4,
|
|
40
40
|
Plugin: () => Plugin6,
|
|
41
|
-
name: () =>
|
|
41
|
+
name: () => name5,
|
|
42
42
|
toModelContent: () => toModelContent3
|
|
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 name5 = "grep";
|
|
48
|
+
var Input5 = 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,7 +65,7 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -86,23 +86,23 @@ var toModelContent3 = (matches, truncated = false) => {
|
|
|
86
86
|
var Plugin6 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service59;
|
|
90
|
+
const ripgrep = yield* Service24;
|
|
91
|
+
const location = yield* Service75;
|
|
92
|
+
const access = yield* Service15;
|
|
93
|
+
const permission = yield* Service69;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name5,
|
|
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: Input5,
|
|
99
|
+
output: Output4,
|
|
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: name5,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -154,4 +154,4 @@ var Plugin6 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name5, Input5, Output4, toModelContent3, Plugin6, exports_grep };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./tool-e41k2zcz.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/prompt-cache-key.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -24,7 +24,7 @@ var PromptCacheKeyPlugin2 = define({
|
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
25
|
yield* ctx.model.transform((models) => {
|
|
26
26
|
for (const id of providerIDs) {
|
|
27
|
-
const providerID =
|
|
27
|
+
const providerID = ID9.make(id);
|
|
28
28
|
for (const model of models.list(providerID)) {
|
|
29
29
|
models.update(model.providerID, model.id, (draft) => {
|
|
30
30
|
draft.compatibility = { ...draft.compatibility, supportsPromptCacheKey: true };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-emd75jk3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-ycm51zrg.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./tool-1spn70p8.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-3y377wv9.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID16,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-gzwmz214.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service14
|
|
21
|
+
} from "./tool-f5gy8qwh.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./tool-e41k2zcz.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-p9why5pw.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
31
|
+
ID4,
|
|
32
|
+
Input13,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-eg18rmn3.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID4
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID16.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -166,7 +166,7 @@ var OpencodePlugin2 = define({
|
|
|
166
166
|
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service14;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID16.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID9.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID9.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -327,7 +327,7 @@ var OpencodePlugin2 = define({
|
|
|
327
327
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
328
328
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
329
329
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
330
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
330
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input13)({
|
|
331
331
|
query: input.query,
|
|
332
332
|
providerID: descriptor.providerID
|
|
333
333
|
}));
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID16.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./tool-rh254cas.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service52
|
|
6
|
+
} from "./tool-3srzt07f.js";
|
|
7
7
|
import {
|
|
8
8
|
parse2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9bwc8hw1.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/compatibility.ts
|
|
15
15
|
var exports_compatibility = {};
|
|
16
16
|
__export(exports_compatibility, {
|
|
17
17
|
ConfigCompatibilityPlugin: () => exports_compatibility,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin42
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
22
22
|
import path from "path";
|
|
23
23
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
24
|
-
var
|
|
24
|
+
var Plugin42 = define({
|
|
25
25
|
id: "opencode.config.compatibility",
|
|
26
26
|
effect: Effect.fn(function* (ctx) {
|
|
27
|
-
const config = yield*
|
|
27
|
+
const config = yield* Service52;
|
|
28
28
|
const fs = yield* FSUtil.Service;
|
|
29
|
-
const watcher = yield*
|
|
29
|
+
const watcher = yield* Service53;
|
|
30
30
|
const watches = yield* FiberMap.make();
|
|
31
31
|
const changes = yield* PubSub.sliding(1);
|
|
32
32
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -73,4 +73,4 @@ var Plugin24 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Plugin42, exports_compatibility };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ycm51zrg.js";
|
|
5
|
+
import {
|
|
6
|
+
Service82,
|
|
7
|
+
node86
|
|
8
|
+
} from "./tool-veq1ptvw.js";
|
|
5
9
|
import {
|
|
6
10
|
Service76,
|
|
7
11
|
node80
|
|
8
|
-
} from "./
|
|
9
|
-
import {
|
|
10
|
-
Service79,
|
|
11
|
-
node83
|
|
12
|
-
} from "./rpc-8xytev0b.js";
|
|
12
|
+
} from "./tool-1402mhzs.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
14
|
+
Ref3,
|
|
15
|
+
Service75,
|
|
16
|
+
node79
|
|
17
|
+
} from "./tool-ab5g3gyt.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-vdqy2d40.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service69,
|
|
26
|
+
node73
|
|
27
|
+
} from "./tool-dfjg1bp5.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service68,
|
|
30
|
+
node72
|
|
31
|
+
} from "./tool-nb12znkd.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/location-lifecycle.ts
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service67,
|
|
41
|
+
node: () => node71
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service67 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
51
51
|
const bus = yield* Service83;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
52
|
+
const location = yield* Service75;
|
|
53
|
+
const permission = yield* Service69;
|
|
54
|
+
const forms = yield* Service82;
|
|
55
|
+
const rpc = yield* Service68;
|
|
56
|
+
const project = yield* Service76;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -72,18 +72,18 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
72
72
|
yield* forms.close;
|
|
73
73
|
yield* rpc.close;
|
|
74
74
|
yield* bus.publish(LocationEvent.Shutdown, {}, {
|
|
75
|
-
location:
|
|
75
|
+
location: Ref3.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service67.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node71 = makeLocationNode({
|
|
84
|
+
service: Service67,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [node87,
|
|
86
|
+
deps: [node87, node79, node73, node80, node86, node72]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service67, node71, exports_location_lifecycle };
|