@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,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node67
|
|
5
|
+
} from "./tool-emd75jk3.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-d2czbp48.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service74,
|
|
12
|
+
node78
|
|
13
|
+
} from "./tool-at1kfnmk.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-dfjg1bp5.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-xp6p1dgv.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error5
|
|
22
|
+
} from "./tool-3hqn980y.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service34,
|
|
28
|
+
node37
|
|
29
|
+
} from "./tool-331jtpav.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make16
|
|
32
|
+
} from "./tool-g5w8qwbj.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./tool-a4ae1mqs.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service33,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer10,
|
|
48
|
+
node: () => node36,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make16(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -151,11 +151,11 @@ var boundImages2 = (messages) => {
|
|
|
151
151
|
});
|
|
152
152
|
};
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service33 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
157
|
-
const hooks = yield*
|
|
158
|
-
const transport = yield*
|
|
156
|
+
var layer10 = Layer.effect(Service33, Effect.gen(function* () {
|
|
157
|
+
const hooks = yield* Service74;
|
|
158
|
+
const transport = yield* Service34;
|
|
159
159
|
const app = yield* Metadata2;
|
|
160
160
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
161
161
|
const session = input.session;
|
|
@@ -163,7 +163,7 @@ var layer8 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
163
163
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
164
164
|
const tools = input.tools ?? {
|
|
165
165
|
definitions: [],
|
|
166
|
-
execute: () => new
|
|
166
|
+
execute: () => new Error5({ message: "Tools are not available for this request" })
|
|
167
167
|
};
|
|
168
168
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
169
169
|
const shaped = yield* shape({
|
|
@@ -260,17 +260,17 @@ var layer8 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
260
260
|
};
|
|
261
261
|
});
|
|
262
262
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
263
|
-
return
|
|
263
|
+
return Service33.of({
|
|
264
264
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
265
265
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
266
266
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
267
267
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
268
268
|
});
|
|
269
269
|
}));
|
|
270
|
-
var
|
|
271
|
-
service:
|
|
272
|
-
layer:
|
|
273
|
-
deps: [
|
|
270
|
+
var node36 = makeLocationNode({
|
|
271
|
+
service: Service33,
|
|
272
|
+
layer: layer10,
|
|
273
|
+
deps: [node78, node37, node67]
|
|
274
274
|
});
|
|
275
275
|
|
|
276
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
276
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service33, layer10, node36, exports_model_request };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service75
|
|
6
|
+
} from "./tool-ab5g3gyt.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service15
|
|
9
|
+
} from "./tool-q8dg0qrx.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service7
|
|
12
|
+
} from "./tool-75ey17xe.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-2a5m3afh.js";
|
|
16
16
|
import {
|
|
17
17
|
MEDIA_MIMES2,
|
|
18
18
|
BinaryFileError2,
|
|
@@ -23,26 +23,26 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service4
|
|
27
|
+
} from "./tool-nm9kjter.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input10,
|
|
36
|
+
Plugin: () => Plugin12,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name10,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name10 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input10 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin12 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
62
|
-
const access = yield*
|
|
63
|
-
const sessionInstructions = yield*
|
|
61
|
+
const reader = yield* Service4;
|
|
62
|
+
const access = yield* Service15;
|
|
63
|
+
const sessionInstructions = yield* Service7;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service75;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name10,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input10,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin9 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent6 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent4 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name10, Input10, Plugin12, toModelContent6, exports_read };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-emd75jk3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin21,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint5
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint5 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin21 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin41 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint5).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin41 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint5, Plugin21, exports_tavily };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service52
|
|
3
|
+
} from "./tool-3srzt07f.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./tool-p872nfyh.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/config/plugin/mcp.ts
|
|
12
|
-
var
|
|
13
|
-
__export(
|
|
14
|
-
ConfigMcpPlugin: () =>
|
|
15
|
-
Plugin: () =>
|
|
12
|
+
var exports_mcp2 = {};
|
|
13
|
+
__export(exports_mcp2, {
|
|
14
|
+
ConfigMcpPlugin: () => exports_mcp2,
|
|
15
|
+
Plugin: () => Plugin44,
|
|
16
16
|
register: () => register2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin44 = define({
|
|
21
21
|
id: "opencode.config.mcp",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* register2(ctx.event.subscribe());
|
|
24
24
|
})
|
|
25
25
|
});
|
|
26
26
|
var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
27
|
-
const config = yield*
|
|
28
|
-
const mcp = yield*
|
|
27
|
+
const config = yield* Service52;
|
|
28
|
+
const mcp = yield* Service37;
|
|
29
29
|
const loaded = { entries: [] };
|
|
30
30
|
yield* events.pipe(Stream.filter((event) => event.type === "config.updated"), Stream.runForEach(() => config.entries().pipe(Effect.tap((entries) => Effect.sync(() => loaded.entries = entries)), Effect.andThen(mcp.reload()), Effect.catchCause((cause) => Effect.logError("failed to reload MCP config", { cause })))), Effect.ignore, Effect.forkScoped({ startImmediately: true }));
|
|
31
31
|
loaded.entries = yield* config.entries();
|
|
@@ -46,4 +46,4 @@ var register2 = Effect.fn("ConfigMCPPlugin.register")(function* (events) {
|
|
|
46
46
|
});
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { Plugin44, register2, exports_mcp2 };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ycm51zrg.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./tool-mh8avh3a.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Error5
|
|
9
|
+
} from "./tool-3hqn980y.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service49
|
|
12
|
+
} from "./tool-72rw85ce.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9frdx5hm.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-cx5j657v.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-722t8cr8.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./tool-scgrse2b.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./tool-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
37
37
|
__export(exports_step, {
|
|
38
38
|
Outcome: () => Outcome2,
|
|
39
39
|
SessionStep: () => exports_step,
|
|
40
|
-
make: () =>
|
|
40
|
+
make: () => make8
|
|
41
41
|
});
|
|
42
42
|
import {
|
|
43
43
|
AIError,
|
|
@@ -51,11 +51,11 @@ var Outcome2 = Data.taggedEnum();
|
|
|
51
51
|
var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted" };
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
|
-
var
|
|
54
|
+
var make8 = Effect.gen(function* () {
|
|
55
55
|
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service45;
|
|
58
|
+
const toolOutput = yield* Service49;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|
|
@@ -71,7 +71,7 @@ var make3 = Effect.gen(function* () {
|
|
|
71
71
|
const interruptTools = Effect.suspend(() => Fiber.interruptAll(toolRuns.map((run) => run.fiber)));
|
|
72
72
|
const executeTool = (call) => {
|
|
73
73
|
if (input.prepared.request.toolChoice?.type === "none")
|
|
74
|
-
return new
|
|
74
|
+
return new Error5({ message: "Tools are disabled after the maximum agent steps" });
|
|
75
75
|
return input.prepared.executeTool({
|
|
76
76
|
sessionID: input.sessionID,
|
|
77
77
|
agent: input.agent,
|
|
@@ -216,4 +216,4 @@ var classifyToolExits = (settled, runs) => {
|
|
|
216
216
|
return { interrupted: causes.some(Cause.hasInterrupts), declines, failure };
|
|
217
217
|
};
|
|
218
218
|
|
|
219
|
-
export { Outcome2,
|
|
219
|
+
export { Outcome2, make8, exports_step };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-ycm51zrg.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-p9why5pw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service63,
|
|
9
9
|
Event13
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-01txzqdp.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service63;
|
|
36
36
|
const bus = yield* Service83;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ycm51zrg.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/agent.ts
|
|
13
13
|
var exports_agent4 = {};
|
|
14
14
|
__export(exports_agent4, {
|
|
15
15
|
Agent: () => exports_agent4,
|
|
16
16
|
Color: () => Color2,
|
|
17
|
-
Event: () =>
|
|
18
|
-
ID: () =>
|
|
19
|
-
Info: () =>
|
|
17
|
+
Event: () => Event17,
|
|
18
|
+
ID: () => ID12,
|
|
19
|
+
Info: () => Info21,
|
|
20
20
|
Name: () => Name3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service72,
|
|
22
22
|
defaultID: () => defaultID2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node76
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Array, Context, Effect, Layer } from "effect";
|
|
28
28
|
import { Agent } from "@opencode/schema/agent";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
import { Event as
|
|
30
|
+
import { Event as Event17 } from "@opencode/schema/agent";
|
|
31
31
|
var SHELL_OUTPUT_GLOB = (data) => path.join(data, "shell", "*", "*");
|
|
32
32
|
var TOOL_OUTPUT_GLOB = (data) => path.join(data, "tool-output", "*");
|
|
33
|
-
var
|
|
33
|
+
var ID12 = Agent.ID;
|
|
34
34
|
var Name3 = Agent.Name;
|
|
35
|
-
var defaultID2 =
|
|
35
|
+
var defaultID2 = ID12.make("build");
|
|
36
36
|
var Color2 = Agent.Color;
|
|
37
|
-
var
|
|
37
|
+
var Info21 = Agent.Info;
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service72 extends Context.Service()("@opencode/Agent") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
42
42
|
const bus = yield* Service83;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const permissions = [
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
57
57
|
editor.default = id;
|
|
58
58
|
},
|
|
59
59
|
update: (id, fn) => {
|
|
60
|
-
const defaults =
|
|
60
|
+
const defaults = Info21.default(id);
|
|
61
61
|
const current = editor.agents.get(id) ?? {
|
|
62
62
|
...defaults,
|
|
63
63
|
permissions: [...defaults.permissions, ...permissions]
|
|
@@ -79,7 +79,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
79
79
|
const configured = data.default ? selectable(data.agents.get(data.default)) : undefined;
|
|
80
80
|
if (configured)
|
|
81
81
|
return configured;
|
|
82
|
-
const build = selectable(data.agents.get(
|
|
82
|
+
const build = selectable(data.agents.get(ID12.make("build")));
|
|
83
83
|
if (build)
|
|
84
84
|
return build;
|
|
85
85
|
for (const agent of data.agents.values()) {
|
|
@@ -88,7 +88,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
88
88
|
return fallback;
|
|
89
89
|
}
|
|
90
90
|
};
|
|
91
|
-
return
|
|
91
|
+
return Service72.of({
|
|
92
92
|
transform: state.transform,
|
|
93
93
|
reload: state.reload,
|
|
94
94
|
get: Effect.fn("Agent.get")(function* (id) {
|
|
@@ -96,12 +96,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
96
96
|
}),
|
|
97
97
|
resolve: Effect.fnUntraced(function* (id) {
|
|
98
98
|
if (id !== undefined)
|
|
99
|
-
return state.get().agents.get(
|
|
99
|
+
return state.get().agents.get(ID12.make(id));
|
|
100
100
|
return selectedDefault();
|
|
101
101
|
}),
|
|
102
102
|
select: Effect.fn("Agent.select")(function* (id) {
|
|
103
103
|
if (id !== undefined) {
|
|
104
|
-
const selected =
|
|
104
|
+
const selected = ID12.make(id);
|
|
105
105
|
return { id: selected, info: state.get().agents.get(selected) };
|
|
106
106
|
}
|
|
107
107
|
const info = selectedDefault();
|
|
@@ -116,6 +116,6 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
116
116
|
})
|
|
117
117
|
});
|
|
118
118
|
}));
|
|
119
|
-
var
|
|
119
|
+
var node76 = makeLocationNode({ service: Service72, layer, deps: [node87, Global.node] });
|
|
120
120
|
|
|
121
|
-
export {
|
|
121
|
+
export { ID12, Name3, defaultID2, Color2, Info21, Service72, node76, exports_agent4, Event17 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service52
|
|
4
|
+
} from "./tool-3srzt07f.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service49
|
|
7
|
+
} from "./tool-72rw85ce.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/tool-output.ts
|
|
16
16
|
var exports_tool_output = {};
|
|
17
17
|
__export(exports_tool_output, {
|
|
18
18
|
ConfigToolOutputPlugin: () => exports_tool_output,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin38
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin38 = define({
|
|
24
24
|
id: "opencode.config.tool-output",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const output = yield*
|
|
26
|
+
const config = yield* Service52;
|
|
27
|
+
const output = yield* Service49;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, output.reload());
|
|
29
29
|
yield* output.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "tool_output");
|
|
@@ -38,4 +38,4 @@ var Plugin31 = define({
|
|
|
38
38
|
})
|
|
39
39
|
});
|
|
40
40
|
|
|
41
|
-
export {
|
|
41
|
+
export { Plugin38, exports_tool_output };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin25,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin25 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin45 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin25, exports_identity };
|