@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,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-epxcr31w.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-71az546q.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID11,
|
|
17
|
+
Info: () => Info20,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
20
|
Service: () => Service71,
|
|
21
21
|
node: () => node75
|
|
@@ -25,9 +25,9 @@ import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID11 = PermissionSaved.ID;
|
|
29
|
+
var Info20 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID11.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -70,4 +70,4 @@ var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
|
70
70
|
}));
|
|
71
71
|
var node75 = makeGlobalNode({ service: Service71, layer, deps: [node88] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID11, Info20, ListInput5, AddInput2, Service71, node75, exports_saved };
|
|
@@ -1,118 +1,118 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./tool-epxcr31w.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node79
|
|
8
|
+
} from "./tool-ab5g3gyt.js";
|
|
9
9
|
import {
|
|
10
10
|
VariantID2,
|
|
11
11
|
Ref2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./tool-p9why5pw.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
16
|
+
ID12,
|
|
17
|
+
Service72,
|
|
18
|
+
node76
|
|
19
|
+
} from "./tool-kt3hcyyz.js";
|
|
20
20
|
import {
|
|
21
21
|
AgentNotFoundError2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./tool-9frdx5hm.js";
|
|
23
23
|
import {
|
|
24
24
|
combine2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-9t7a50xb.js";
|
|
26
26
|
import {
|
|
27
27
|
provenance2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-d2czbp48.js";
|
|
29
29
|
import {
|
|
30
30
|
entriesForRunner2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-vq1q2ta7.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service70,
|
|
34
|
+
node74
|
|
35
|
+
} from "./tool-9e5p6t2h.js";
|
|
36
36
|
import {
|
|
37
37
|
merge2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-dfjg1bp5.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
make15
|
|
41
|
+
} from "./tool-qkfezwh6.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./
|
|
43
|
+
Service57,
|
|
44
|
+
node59
|
|
45
|
+
} from "./tool-0gh1f601.js";
|
|
46
46
|
import {
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
} from "./
|
|
47
|
+
Service38,
|
|
48
|
+
node41
|
|
49
|
+
} from "./tool-0ay65vhm.js";
|
|
50
50
|
import {
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
} from "./
|
|
51
|
+
Service61,
|
|
52
|
+
node64
|
|
53
|
+
} from "./tool-3hqn980y.js";
|
|
54
54
|
import {
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
55
|
+
Service36,
|
|
56
|
+
node39
|
|
57
|
+
} from "./tool-7d7rzqbv.js";
|
|
58
58
|
import {
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
} from "./
|
|
59
|
+
Service35,
|
|
60
|
+
node38
|
|
61
|
+
} from "./tool-y3cnjxb9.js";
|
|
62
62
|
import {
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
} from "./
|
|
63
|
+
Service30,
|
|
64
|
+
node32
|
|
65
|
+
} from "./tool-90ytmqma.js";
|
|
66
66
|
import {
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service31,
|
|
68
|
+
node33
|
|
69
|
+
} from "./tool-w1ry99tz.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service32,
|
|
72
|
+
node35
|
|
73
|
+
} from "./tool-bbd0f1y9.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service33,
|
|
76
|
+
node36
|
|
77
|
+
} from "./tool-jg9mfmbc.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
} from "./
|
|
79
|
+
Service42,
|
|
80
|
+
node44
|
|
81
|
+
} from "./tool-b5w00b0k.js";
|
|
82
82
|
import {
|
|
83
83
|
__export
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./tool-9rqn6x4v.js";
|
|
85
85
|
|
|
86
86
|
// src/session/context.ts
|
|
87
87
|
var exports_context = {};
|
|
88
88
|
__export(exports_context, {
|
|
89
|
-
Service: () =>
|
|
89
|
+
Service: () => Service29,
|
|
90
90
|
SessionContext: () => exports_context,
|
|
91
|
-
node: () =>
|
|
91
|
+
node: () => node31
|
|
92
92
|
});
|
|
93
93
|
import { Context, Effect, Layer } from "effect";
|
|
94
94
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
95
|
-
class
|
|
95
|
+
class Service29 extends Context.Service()("@opencode/SessionContext") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
98
|
-
const agents = yield*
|
|
99
|
-
const builtins = yield*
|
|
100
|
-
const model = yield*
|
|
97
|
+
var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
98
|
+
const agents = yield* Service72;
|
|
99
|
+
const builtins = yield* Service38;
|
|
100
|
+
const model = yield* Service65;
|
|
101
101
|
const db = (yield* Service84).db;
|
|
102
|
-
const discovery = yield*
|
|
103
|
-
const entries = yield*
|
|
104
|
-
const location = yield*
|
|
105
|
-
const mcpInstructions = yield*
|
|
106
|
-
const mcpTools = yield*
|
|
107
|
-
const models = yield*
|
|
108
|
-
const request = yield*
|
|
109
|
-
const referenceInstructions = yield*
|
|
110
|
-
const skillInstructions = yield*
|
|
111
|
-
const store = yield*
|
|
112
|
-
const registry = yield*
|
|
102
|
+
const discovery = yield* Service57;
|
|
103
|
+
const entries = yield* Service32;
|
|
104
|
+
const location = yield* Service75;
|
|
105
|
+
const mcpInstructions = yield* Service35;
|
|
106
|
+
const mcpTools = yield* Service36;
|
|
107
|
+
const models = yield* Service42;
|
|
108
|
+
const request = yield* Service33;
|
|
109
|
+
const referenceInstructions = yield* Service30;
|
|
110
|
+
const skillInstructions = yield* Service31;
|
|
111
|
+
const store = yield* Service70;
|
|
112
|
+
const registry = yield* Service61;
|
|
113
113
|
const resolveModel = (session) => models.resolve(session, model.available);
|
|
114
114
|
const selectTitle = Effect.fn("SessionContext.selectTitle")(function* (session) {
|
|
115
|
-
const agent = yield* agents.get(
|
|
115
|
+
const agent = yield* agents.get(ID12.make("title"));
|
|
116
116
|
if (!agent)
|
|
117
117
|
return;
|
|
118
118
|
const primary = yield* resolveModel(session).pipe(Effect.orElseSucceed(() => {
|
|
@@ -165,7 +165,7 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
165
165
|
session,
|
|
166
166
|
agent: { ...agent, info: agent.info },
|
|
167
167
|
instructions: combine2([
|
|
168
|
-
|
|
168
|
+
make15(loaded.tools.codeModeCatalog),
|
|
169
169
|
loaded.mcp,
|
|
170
170
|
loaded.references,
|
|
171
171
|
loaded.skills,
|
|
@@ -188,29 +188,29 @@ var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
|
188
188
|
tools: selection.tools
|
|
189
189
|
};
|
|
190
190
|
});
|
|
191
|
-
return
|
|
191
|
+
return Service29.of({ select, load, resolveModel, selectTitle, request });
|
|
192
192
|
}));
|
|
193
193
|
var MINIMAL_REASONING_VARIANTS = ["none", "minimal", "low"].map((id) => VariantID2.make(id));
|
|
194
|
-
var
|
|
195
|
-
service:
|
|
194
|
+
var node31 = makeLocationNode({
|
|
195
|
+
service: Service29,
|
|
196
196
|
layer,
|
|
197
197
|
deps: [
|
|
198
|
-
|
|
199
|
-
|
|
198
|
+
node76,
|
|
199
|
+
node69,
|
|
200
200
|
node88,
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
201
|
+
node41,
|
|
202
|
+
node59,
|
|
203
|
+
node35,
|
|
204
|
+
node79,
|
|
205
|
+
node38,
|
|
206
|
+
node39,
|
|
206
207
|
node32,
|
|
207
|
-
|
|
208
|
-
|
|
209
|
-
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
node67
|
|
208
|
+
node44,
|
|
209
|
+
node36,
|
|
210
|
+
node74,
|
|
211
|
+
node33,
|
|
212
|
+
node64
|
|
213
213
|
]
|
|
214
214
|
});
|
|
215
215
|
|
|
216
|
-
export {
|
|
216
|
+
export { Service29, node31, exports_context };
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./tool-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service59,
|
|
8
|
+
node61
|
|
9
|
+
} from "./tool-b2mfa9xz.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-15brx7xh.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/tool/read-filesystem.ts
|
|
21
21
|
var exports_read_filesystem = {};
|
|
@@ -33,9 +33,9 @@ __export(exports_read_filesystem, {
|
|
|
33
33
|
PageInput: () => PageInput2,
|
|
34
34
|
PathKindError: () => PathKindError2,
|
|
35
35
|
ReadToolFileSystem: () => exports_read_filesystem,
|
|
36
|
-
Service: () =>
|
|
36
|
+
Service: () => Service4,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node5,
|
|
39
39
|
read: () => read2
|
|
40
40
|
});
|
|
41
41
|
import path from "path";
|
|
@@ -114,7 +114,7 @@ class ListPage2 extends Schema.Class("ReadTool.ListPage")({
|
|
|
114
114
|
}) {
|
|
115
115
|
}
|
|
116
116
|
|
|
117
|
-
class
|
|
117
|
+
class Service4 extends Context.Service()("@opencode/ReadToolFileSystem") {
|
|
118
118
|
}
|
|
119
119
|
var mimeType = (value) => lookup(value) || "application/octet-stream";
|
|
120
120
|
var read2 = Effect.fn("ReadTool.read")(function* (files, input, resource, page = {}) {
|
|
@@ -330,13 +330,13 @@ var nthNewline = (bytes, count) => {
|
|
|
330
330
|
return index + 1;
|
|
331
331
|
}
|
|
332
332
|
};
|
|
333
|
-
var layer = Layer.effect(
|
|
334
|
-
const environment = yield*
|
|
335
|
-
return
|
|
333
|
+
var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service59;
|
|
335
|
+
return Service4.of({
|
|
336
336
|
list: environment.files.list,
|
|
337
337
|
read: (path2, resource, page) => read2(environment.files, path2, resource, page)
|
|
338
338
|
});
|
|
339
339
|
}));
|
|
340
|
-
var
|
|
340
|
+
var node5 = makeLocationNode({ service: Service4, layer, deps: [node61] });
|
|
341
341
|
|
|
342
|
-
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2,
|
|
342
|
+
export { MAX_READ_LINES2, MAX_READ_BYTES2, MAX_MEDIA_INGEST_BYTES2, MEDIA_MIMES2, BinaryFileError2, MediaIngestLimitError2, OffsetOutOfRangeError2, PathKindError2, PageInput2, FileContent2, TextPage2, ListEntry2, ListPage2, Service4, read2, node5, exports_read_filesystem };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./tool-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./tool-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./tool-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./tool-ycm51zrg.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event20,
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./tool-1spn70p8.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service75,
|
|
15
|
+
node79
|
|
16
|
+
} from "./tool-ab5g3gyt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service59,
|
|
19
|
+
node61
|
|
20
|
+
} from "./tool-b2mfa9xz.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID18,
|
|
23
|
+
Service82,
|
|
24
|
+
node86
|
|
25
|
+
} from "./tool-veq1ptvw.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./tool-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID16,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service80,
|
|
34
|
+
node84
|
|
35
|
+
} from "./tool-gzwmz214.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./tool-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/mcp/index.ts
|
|
41
41
|
var exports_mcp4 = {};
|
|
42
42
|
__export(exports_mcp4, {
|
|
43
43
|
Mcp: () => exports_mcp4,
|
|
44
|
-
NotFoundError: () =>
|
|
45
|
-
Options: () =>
|
|
44
|
+
NotFoundError: () => NotFoundError4,
|
|
45
|
+
Options: () => Options3,
|
|
46
46
|
PromptsChanged: () => PromptsChanged2,
|
|
47
47
|
Resource: () => Resource2,
|
|
48
48
|
ResourceCatalog: () => ResourceCatalog2,
|
|
49
49
|
ResourceContent: () => ResourceContent2,
|
|
50
50
|
ResourceTemplate: () => ResourceTemplate2,
|
|
51
51
|
ServerName: () => ServerName2,
|
|
52
|
-
Service: () =>
|
|
52
|
+
Service: () => Service37,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured3,
|
|
56
|
+
layer: () => layer14,
|
|
57
|
+
node: () => node40
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -72,7 +72,7 @@ var ResourceTemplate2 = Mcp.ResourceTemplate;
|
|
|
72
72
|
var ResourceCatalog2 = Mcp.ResourceCatalog;
|
|
73
73
|
var ResourceContent2 = Mcp.ResourceContent;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class NotFoundError4 extends Schema.TaggedError()("MCP.NotFoundError", {
|
|
76
76
|
server: ServerName2
|
|
77
77
|
}) {
|
|
78
78
|
get message() {
|
|
@@ -103,21 +103,21 @@ var URL_ELICITATION_FIELD_KEY = "elicitation";
|
|
|
103
103
|
var endpointLoads = makeUnsafe2();
|
|
104
104
|
var cloneConfig = (config) => structuredClone(config);
|
|
105
105
|
|
|
106
|
-
class
|
|
106
|
+
class Service37 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options3 = Schema.Struct({
|
|
109
109
|
clientInfo: Schema.optional(Schema.Struct({
|
|
110
110
|
name: Schema.String,
|
|
111
111
|
version: Schema.String
|
|
112
112
|
}))
|
|
113
113
|
});
|
|
114
|
-
var
|
|
115
|
-
const location = yield*
|
|
116
|
-
const environment = yield*
|
|
114
|
+
var layer14 = (options) => Layer.effect(Service37, Effect.gen(function* () {
|
|
115
|
+
const location = yield* Service75;
|
|
116
|
+
const environment = yield* Service59;
|
|
117
117
|
const bus = yield* Service83;
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
118
|
+
const forms = yield* Service82;
|
|
119
|
+
const integration = yield* Service80;
|
|
120
|
+
const credentials = yield* Service81;
|
|
121
121
|
const root = yield* Effect.scope;
|
|
122
122
|
const fork = yield* FiberSet.makeRuntime();
|
|
123
123
|
const entries = new Map;
|
|
@@ -129,7 +129,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
129
129
|
return;
|
|
130
130
|
const remote = entry.config;
|
|
131
131
|
const suffix = "mcp_" + createHash("sha1").update(name + "\x00" + remote.url).digest("hex").slice(0, 16);
|
|
132
|
-
const integrationID =
|
|
132
|
+
const integrationID = ID16.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
145
145
|
method: { id: methodID, type: "oauth", label: name },
|
|
146
146
|
authorize: () => Effect.gen(function* () {
|
|
147
147
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
148
|
-
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(
|
|
148
|
+
return yield* McpOAuth.authorize({ name, config: remote, integrationID, methodID }).pipe(Effect.provideService(Service81, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -154,19 +154,19 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
154
154
|
const name = ServerName2.make(server);
|
|
155
155
|
const entry = entries.get(name);
|
|
156
156
|
if (!entry)
|
|
157
|
-
return yield* new
|
|
157
|
+
return yield* new NotFoundError4({ server: name });
|
|
158
158
|
return { name, entry };
|
|
159
159
|
});
|
|
160
160
|
const connectProvider = Effect.fnUntraced(function* (entry) {
|
|
161
161
|
if (entry.config.type !== "remote" || !entry.integrationID)
|
|
162
162
|
return;
|
|
163
163
|
const { McpOAuth } = yield* Effect.promise(() => import("../mcp/oauth.js"));
|
|
164
|
-
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(
|
|
164
|
+
return yield* McpOAuth.connectProvider({ config: entry.config, integrationID: entry.integrationID }).pipe(Effect.provideService(Service81, credentials));
|
|
165
165
|
});
|
|
166
166
|
const elicitation = {
|
|
167
167
|
create: (input) => Effect.gen(function* () {
|
|
168
168
|
if (input.params.mode === "url") {
|
|
169
|
-
const formID =
|
|
169
|
+
const formID = ID18.create();
|
|
170
170
|
const elicitationID = input.params.elicitationId;
|
|
171
171
|
const key = elicitationID === undefined ? undefined : input.server + "\x00" + elicitationID;
|
|
172
172
|
if (key)
|
|
@@ -269,7 +269,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
269
269
|
entry.scope = scope;
|
|
270
270
|
const authProvider = yield* connectProvider(entry);
|
|
271
271
|
const { McpClient } = yield* Effect.promise(() => import("../mcp/client.js"));
|
|
272
|
-
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(
|
|
272
|
+
const load = McpClient.connect(name, entry.config, location.directory, authProvider, elicitation, options?.clientInfo).pipe(Effect.flatMap((connection) => connection.tools().pipe(Effect.map((tools) => ({ connection, tools })))), Effect.provideService(Service59, environment), Scope.provide(scope));
|
|
273
273
|
const result = yield* (entry.config.type === "remote" ? endpointLoads.withLock(entry.config.url)(load) : load).pipe(Effect.exit);
|
|
274
274
|
if (Exit.isSuccess(result)) {
|
|
275
275
|
entry.client = result.value.connection;
|
|
@@ -394,7 +394,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
394
394
|
yield* startServer(name, entry);
|
|
395
395
|
}).pipe(locks.withLock(name));
|
|
396
396
|
});
|
|
397
|
-
fork(bus.subscribe(
|
|
397
|
+
fork(bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => owned.has(event.data.integrationID)), Stream.runForEach((event) => Effect.sync(() => fork(reconnect(event.data.integrationID))))));
|
|
398
398
|
const state = create3({
|
|
399
399
|
name: "mcp",
|
|
400
400
|
initial: () => ({
|
|
@@ -420,7 +420,7 @@ var layer12 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service37.of({
|
|
424
424
|
transform: state.transform,
|
|
425
425
|
reload: state.reload,
|
|
426
426
|
servers: Effect.fn("MCP.servers")(function* () {
|
|
@@ -530,14 +530,14 @@ function mergeCatalogs(catalogs) {
|
|
|
530
530
|
templates: catalogs.flatMap((catalog) => catalog.templates).toSorted((a, b) => a.server.localeCompare(b.server) || a.name.localeCompare(b.name) || a.uriTemplate.localeCompare(b.uriTemplate))
|
|
531
531
|
});
|
|
532
532
|
}
|
|
533
|
-
function
|
|
533
|
+
function configured3(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [
|
|
535
|
+
service: Service37,
|
|
536
|
+
layer: layer14(options),
|
|
537
|
+
deps: [node79, node61, node87, node86, node84, node85]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node40 = configured3();
|
|
541
541
|
function toElicitationField(key, property, required) {
|
|
542
542
|
const machineTitle = /^(boolean|string|number|integer|array|object)(\s+with\b.*|\s+in\b.*)?$/i;
|
|
543
543
|
const title = property.title && !machineTitle.test(property.title.trim()) ? property.title : property.description ?? key;
|
|
@@ -588,4 +588,4 @@ function toElicitationField(key, property, required) {
|
|
|
588
588
|
}
|
|
589
589
|
}
|
|
590
590
|
|
|
591
|
-
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service37, Options3, layer14, configured3, node40, exports_mcp4 };
|