@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,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./tool-4mwpykj0.js";
|
|
4
4
|
import {
|
|
5
5
|
awaitActivation2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-ht5y0zrb.js";
|
|
7
7
|
import {
|
|
8
8
|
SkillNotFoundError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-9frdx5hm.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service51
|
|
12
|
+
} from "./tool-d13qwqgh.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/skill.ts
|
|
18
18
|
var exports_skill4 = {};
|
|
@@ -22,8 +22,8 @@ __export(exports_skill4, {
|
|
|
22
22
|
});
|
|
23
23
|
import { Effect } from "effect";
|
|
24
24
|
var get4 = Effect.fn("SessionSkill.get")(function* (input) {
|
|
25
|
-
const instances = yield*
|
|
26
|
-
const skills = yield* awaitActivation2.pipe(Effect.andThen(
|
|
25
|
+
const instances = yield* Service43;
|
|
26
|
+
const skills = yield* awaitActivation2.pipe(Effect.andThen(Service51), instances.provide(input.session));
|
|
27
27
|
const skill = yield* skills.get(input.skill);
|
|
28
28
|
if (!skill)
|
|
29
29
|
return yield* new SkillNotFoundError2({ skill: input.skill });
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ycm51zrg.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./tool-ab5g3gyt.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID12,
|
|
11
|
+
Service72,
|
|
12
|
+
node76
|
|
13
|
+
} from "./tool-kt3hcyyz.js";
|
|
14
14
|
import {
|
|
15
15
|
NotFoundError8
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-9frdx5hm.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node74
|
|
20
|
+
} from "./tool-9e5p6t2h.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
25
|
Service71,
|
|
26
26
|
node75
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./tool-nd79nxgk.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service74,
|
|
30
|
+
node78
|
|
31
|
+
} from "./tool-at1kfnmk.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,8 +42,8 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
45
|
+
Event: () => Event16,
|
|
46
|
+
ID: () => ID10,
|
|
47
47
|
NotFoundError: () => NotFoundError7,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
49
|
Reply: () => Reply2,
|
|
@@ -51,20 +51,20 @@ __export(exports_permission2, {
|
|
|
51
51
|
Request: () => Request3,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service69,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node73
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event16 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID10 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -77,17 +77,17 @@ var RequestFields = {
|
|
|
77
77
|
var Request3 = Permission.Request;
|
|
78
78
|
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID10.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID12.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
85
|
+
requestID: ID10,
|
|
86
86
|
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID10,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -111,7 +111,7 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
-
requestID:
|
|
114
|
+
requestID: ID10
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service69 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service83;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
132
|
+
const location = yield* Service75;
|
|
133
|
+
const agents = yield* Service72;
|
|
134
|
+
const sessions = yield* Service70;
|
|
135
135
|
const saved = yield* Service71;
|
|
136
|
-
const hooks = yield*
|
|
136
|
+
const hooks = yield* Service74;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID10.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID10.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service69.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node73 = makeLocationNode({
|
|
303
|
+
service: Service69,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [node87,
|
|
305
|
+
deps: [node87, node79, node76, node74, node75, node78]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID10, Source5, Request3, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service69, node73, exports_permission2, Rule3, Ruleset2, Event16 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-ycm51zrg.js";
|
|
5
5
|
import {
|
|
6
6
|
parse4,
|
|
7
7
|
parseRemote2,
|
|
8
8
|
validateBranch3,
|
|
9
9
|
isRemote2,
|
|
10
10
|
cachePath2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./tool-84txncab.js";
|
|
12
12
|
import {
|
|
13
13
|
AbsolutePath2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-z5v4ffb3.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service54,
|
|
17
|
+
node56
|
|
18
|
+
} from "./tool-qptn7k98.js";
|
|
19
19
|
import {
|
|
20
20
|
create3
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-rdw6cm16.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./tool-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/reference.ts
|
|
27
27
|
var exports_reference2 = {};
|
|
@@ -31,9 +31,9 @@ __export(exports_reference2, {
|
|
|
31
31
|
Info: () => Info8,
|
|
32
32
|
LocalSource: () => LocalSource2,
|
|
33
33
|
Reference: () => exports_reference2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service46,
|
|
35
35
|
Source: () => Source3,
|
|
36
|
-
node: () =>
|
|
36
|
+
node: () => node48
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
@@ -45,12 +45,12 @@ var GitSource2 = Reference.GitSource;
|
|
|
45
45
|
var Source3 = Reference.Source;
|
|
46
46
|
var Info8 = Reference.Info;
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service46 extends Context.Service()("@opencode/Reference") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
52
|
const bus = yield* Service83;
|
|
53
|
-
const cache = yield*
|
|
53
|
+
const cache = yield* Service54;
|
|
54
54
|
const scope = yield* Scope.Scope;
|
|
55
55
|
const list = () => Array.from(state.get().sources).flatMap(([name, source]) => {
|
|
56
56
|
const info = {
|
|
@@ -104,7 +104,7 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
104
104
|
})
|
|
105
105
|
});
|
|
106
106
|
yield* Effect.sleep("1 hour").pipe(Effect.andThen(refresh()), Effect.forever, Effect.forkScoped);
|
|
107
|
-
return
|
|
107
|
+
return Service46.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
list: Effect.fn("Reference.list")(function* () {
|
|
@@ -112,10 +112,10 @@ var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
|
112
112
|
})
|
|
113
113
|
});
|
|
114
114
|
}));
|
|
115
|
-
var
|
|
116
|
-
service:
|
|
115
|
+
var node48 = makeLocationNode({
|
|
116
|
+
service: Service46,
|
|
117
117
|
layer,
|
|
118
|
-
deps: [Global.node, node87,
|
|
118
|
+
deps: [Global.node, node87, node56]
|
|
119
119
|
});
|
|
120
120
|
|
|
121
|
-
export { LocalSource2, GitSource2, Source3, Info8,
|
|
121
|
+
export { LocalSource2, GitSource2, Source3, Info8, Service46, node48, exports_reference2, Event7 };
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service37
|
|
6
|
+
} from "./tool-p872nfyh.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service69
|
|
9
|
+
} from "./tool-dfjg1bp5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin11
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin11 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service37;
|
|
26
|
+
const permission = yield* Service69;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin4 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin11, exports_mcp_resource };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
2
|
+
ID16,
|
|
3
|
+
Service80,
|
|
4
|
+
node84
|
|
5
|
+
} from "./tool-gzwmz214.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID9,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -14,24 +14,24 @@ import {
|
|
|
14
14
|
timeouts2,
|
|
15
15
|
mergeOverlay2,
|
|
16
16
|
mergeHeaders2,
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service66,
|
|
18
|
+
node70
|
|
19
|
+
} from "./tool-e41k2zcz.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service58,
|
|
22
|
+
node60
|
|
23
|
+
} from "./tool-esx0q18m.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID8,
|
|
26
26
|
VariantID2,
|
|
27
27
|
Ref2,
|
|
28
|
-
|
|
29
|
-
|
|
28
|
+
Service65,
|
|
29
|
+
node69,
|
|
30
30
|
supportsText2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-p9why5pw.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./tool-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/model-resolver.ts
|
|
37
37
|
var exports_model_resolver = {};
|
|
@@ -40,15 +40,15 @@ __export(exports_model_resolver, {
|
|
|
40
40
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
41
41
|
ModelInitializationError: () => ModelInitializationError2,
|
|
42
42
|
ModelResolver: () => exports_model_resolver,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service44,
|
|
44
44
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
45
45
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
46
46
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
47
47
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
48
48
|
fromCatalogModel: () => fromCatalogModel2,
|
|
49
49
|
hasPackage: () => hasPackage2,
|
|
50
|
-
layer: () =>
|
|
51
|
-
node: () =>
|
|
50
|
+
layer: () => layer17,
|
|
51
|
+
node: () => node46,
|
|
52
52
|
resolveModel: () => resolveModel2,
|
|
53
53
|
withVariant: () => withVariant2
|
|
54
54
|
});
|
|
@@ -58,8 +58,8 @@ import { Auth } from "@opencode/ai/route";
|
|
|
58
58
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
59
59
|
import { Npm } from "@opencode/util/npm";
|
|
60
60
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
61
|
-
providerID:
|
|
62
|
-
modelID:
|
|
61
|
+
providerID: ID9,
|
|
62
|
+
modelID: ID8,
|
|
63
63
|
variant: VariantID2
|
|
64
64
|
}) {
|
|
65
65
|
get message() {
|
|
@@ -68,8 +68,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
71
|
-
providerID:
|
|
72
|
-
modelID:
|
|
71
|
+
providerID: ID9,
|
|
72
|
+
modelID: ID8,
|
|
73
73
|
package: Schema.String
|
|
74
74
|
}) {
|
|
75
75
|
get message() {
|
|
@@ -79,8 +79,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
79
79
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
80
80
|
|
|
81
81
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
82
|
-
providerID:
|
|
83
|
-
modelID:
|
|
82
|
+
providerID: ID9,
|
|
83
|
+
modelID: ID8,
|
|
84
84
|
package: Schema.String,
|
|
85
85
|
detail: Schema.String
|
|
86
86
|
}) {
|
|
@@ -90,8 +90,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
93
|
-
providerID:
|
|
94
|
-
modelID:
|
|
93
|
+
providerID: ID9,
|
|
94
|
+
modelID: ID8,
|
|
95
95
|
package: Schema.String,
|
|
96
96
|
phase: InitializationPhase2,
|
|
97
97
|
detail: Schema.String
|
|
@@ -102,8 +102,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
102
102
|
}
|
|
103
103
|
|
|
104
104
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
105
|
-
providerID:
|
|
106
|
-
modelID:
|
|
105
|
+
providerID: ID9,
|
|
106
|
+
modelID: ID8,
|
|
107
107
|
variables: Schema.Array(Schema.String)
|
|
108
108
|
}) {
|
|
109
109
|
get message() {
|
|
@@ -112,8 +112,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
112
112
|
}
|
|
113
113
|
|
|
114
114
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
115
|
-
providerID:
|
|
116
|
-
modelID:
|
|
115
|
+
providerID: ID9,
|
|
116
|
+
modelID: ID8,
|
|
117
117
|
route: Schema.String
|
|
118
118
|
}) {
|
|
119
119
|
get message() {
|
|
@@ -121,7 +121,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
121
121
|
}
|
|
122
122
|
}
|
|
123
123
|
|
|
124
|
-
class
|
|
124
|
+
class Service44 extends Context.Service()("@opencode/ModelResolver") {
|
|
125
125
|
}
|
|
126
126
|
var withVariant2 = (model, variantID) => {
|
|
127
127
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -265,15 +265,15 @@ var causeMessage = (cause) => {
|
|
|
265
265
|
};
|
|
266
266
|
var resolveModel2 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
267
267
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
268
|
-
var
|
|
269
|
-
const providers = yield*
|
|
270
|
-
const models = yield*
|
|
271
|
-
const integrations = yield*
|
|
268
|
+
var layer17 = Layer.effect(Service44, Effect.gen(function* () {
|
|
269
|
+
const providers = yield* Service66;
|
|
270
|
+
const models = yield* Service65;
|
|
271
|
+
const integrations = yield* Service80;
|
|
272
272
|
const npm = yield* Npm.Service;
|
|
273
|
-
const aisdk = yield*
|
|
273
|
+
const aisdk = yield* Service58;
|
|
274
274
|
const load = Effect.fn("ModelResolver.resolveModel")(function* (selected, variant) {
|
|
275
275
|
const provider = yield* providers.get(selected.providerID);
|
|
276
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
276
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID16.make(selected.providerID));
|
|
277
277
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
278
278
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
279
279
|
const runtimeInfo = {
|
|
@@ -300,7 +300,7 @@ var layer20 = Layer.effect(Service52, Effect.gen(function* () {
|
|
|
300
300
|
chunkTimeout: timeout2(provider?.settings?.chunkTimeout)
|
|
301
301
|
};
|
|
302
302
|
});
|
|
303
|
-
return
|
|
303
|
+
return Service44.of({
|
|
304
304
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
305
305
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
306
306
|
if (!selected)
|
|
@@ -317,10 +317,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
317
317
|
const name = packageName2(packageName);
|
|
318
318
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
319
319
|
}
|
|
320
|
-
var
|
|
321
|
-
service:
|
|
322
|
-
layer:
|
|
323
|
-
deps: [
|
|
320
|
+
var node46 = makeLocationNode({
|
|
321
|
+
service: Service44,
|
|
322
|
+
layer: layer17,
|
|
323
|
+
deps: [node70, node69, node84, Npm.node, node60]
|
|
324
324
|
});
|
|
325
325
|
|
|
326
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
326
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service44, withVariant2, fromCatalogModel2, resolveModel2, hasPackage2, layer17, node46, exports_model_resolver };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID5,
|
|
6
|
+
Service45
|
|
7
|
+
} from "./tool-mh8avh3a.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-58072hz9.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-9frdx5hm.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./tool-9e5bzkjp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./tool-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service45;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID5.make(from),
|
|
91
|
+
to: ID5.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|