@opencode/core 0.0.0-dev-21045 → 0.0.0-dev-21047
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 +83 -83
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{skill-m5hddd6q.js → reference-0170kczj.js} +11 -11
- package/dist/chunks/{skill-z0zyd0ef.js → reference-01es0w8g.js} +11 -11
- package/dist/chunks/{skill-bqxzme6r.js → reference-0sgp6vrq.js} +12 -12
- package/dist/chunks/{skill-0vbcp93d.js → reference-0vbcp93d.js} +2 -2
- package/dist/chunks/{skill-0wdx92we.js → reference-1311jqsc.js} +19 -19
- package/dist/chunks/{skill-ccwyv0pa.js → reference-132ycjkv.js} +21 -21
- package/dist/chunks/{skill-r8xr0va3.js → reference-1acjjqhc.js} +4 -4
- package/dist/chunks/{skill-zrezqavy.js → reference-1fmrbde1.js} +8 -8
- package/dist/chunks/{skill-ajp68dxh.js → reference-1fq98kjr.js} +11 -11
- package/dist/chunks/{skill-9vddtzvp.js → reference-1kwkgjs8.js} +12 -12
- package/dist/chunks/{skill-hftwykng.js → reference-1n7cf0zt.js} +13 -13
- package/dist/chunks/{skill-212xmf9a.js → reference-1qqmef8y.js} +33 -33
- package/dist/chunks/{skill-atavbgkz.js → reference-1wws9p1z.js} +11 -11
- package/dist/chunks/{skill-5br7x87x.js → reference-256smw24.js} +8 -8
- package/dist/chunks/{skill-zmfzsbe1.js → reference-2e24zj1v.js} +3 -3
- package/dist/chunks/{skill-w3x5hx1j.js → reference-2k20t02z.js} +22 -22
- package/dist/chunks/{skill-a2qe2ev9.js → reference-2ktf0ed2.js} +8 -8
- package/dist/chunks/{skill-qecpam0w.js → reference-2sc3sc4p.js} +2 -2
- package/dist/chunks/{skill-5890hqpb.js → reference-2yn5t4yf.js} +34 -34
- package/dist/chunks/{skill-56bnbftg.js → reference-2zmfhp2c.js} +9 -9
- package/dist/chunks/{skill-jxbvv0aw.js → reference-36nn25hb.js} +45 -45
- package/dist/chunks/{skill-3wp61h0g.js → reference-3ec2hwya.js} +13 -13
- package/dist/chunks/{skill-8nca6jp1.js → reference-3emwttkv.js} +12 -12
- package/dist/chunks/{skill-3fc6dm20.js → reference-3fc6dm20.js} +1 -1
- package/dist/chunks/{skill-h2fjsrzd.js → reference-3fxqyn52.js} +8 -8
- package/dist/chunks/{skill-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{skill-3hwn7j4h.js → reference-3hwn7j4h.js} +2 -2
- package/dist/chunks/{skill-1ewrv06v.js → reference-3jxt0407.js} +4 -4
- package/dist/chunks/{skill-65yftmqw.js → reference-3njtpr6j.js} +14 -14
- package/dist/chunks/{skill-8vbzfnhm.js → reference-3q9g49xq.js} +16 -16
- package/dist/chunks/{skill-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{skill-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{skill-3zsf4n22.js → reference-3zsf4n22.js} +1 -1
- package/dist/chunks/{skill-jg8h6zt5.js → reference-48s9929f.js} +14 -14
- package/dist/chunks/{skill-vyr6rcyk.js → reference-4cqhq9mq.js} +19 -19
- package/dist/chunks/{skill-pxkeepf8.js → reference-4f65x4ny.js} +328 -328
- package/dist/chunks/{skill-zy0sdw1z.js → reference-4jfm27c9.js} +11 -11
- package/dist/chunks/{skill-ndzx33k1.js → reference-4t88j5bp.js} +22 -22
- package/dist/chunks/{skill-bw9zjykr.js → reference-51f5btjf.js} +6 -6
- package/dist/chunks/{skill-hqam0wy0.js → reference-51vcra35.js} +11 -11
- package/dist/chunks/{skill-54ma36ye.js → reference-54ma36ye.js} +1 -1
- package/dist/chunks/{skill-gfqyqxhr.js → reference-5527nycg.js} +22 -22
- package/dist/chunks/{skill-nhpkjp8j.js → reference-55t5gfwz.js} +11 -11
- package/dist/chunks/{skill-mrfc6abx.js → reference-5697ag0y.js} +20 -20
- package/dist/chunks/{skill-5m9w47nd.js → reference-5m9w47nd.js} +1 -1
- package/dist/chunks/{skill-bsg0fcvd.js → reference-5ttccjpc.js} +6 -6
- package/dist/chunks/{skill-y00zfz1c.js → reference-5vxqm9q6.js} +36 -36
- package/dist/chunks/{skill-220zx06x.js → reference-63db42yp.js} +2 -2
- package/dist/chunks/{skill-7rcj81xw.js → reference-63zg3mg5.js} +22 -22
- package/dist/chunks/{skill-81yd02vm.js → reference-65cg4f0c.js} +10 -10
- package/dist/chunks/{skill-cqvw37w8.js → reference-676ffxyw.js} +32 -32
- package/dist/chunks/{skill-bpva2wp7.js → reference-67prdeth.js} +3 -3
- package/dist/chunks/{skill-kthcw1cs.js → reference-6gjn20d2.js} +11 -11
- package/dist/chunks/{skill-ryr25ayn.js → reference-6hh8tjw2.js} +4 -4
- package/dist/chunks/{skill-9sdgvgwq.js → reference-6rbe1m5x.js} +29 -29
- package/dist/chunks/{skill-8bvf1xpb.js → reference-6vrtx8fp.js} +9 -9
- package/dist/chunks/{skill-zbs1jsd6.js → reference-6wg64ttk.js} +3 -3
- package/dist/chunks/{skill-6xb47vfp.js → reference-6xb47vfp.js} +1 -1
- package/dist/chunks/{skill-axpm0scr.js → reference-74gjv7rp.js} +45 -45
- package/dist/chunks/{skill-775gj3j1.js → reference-775gj3j1.js} +2 -2
- package/dist/chunks/{skill-r9x3d11p.js → reference-78824m1b.js} +12 -12
- package/dist/chunks/{skill-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{skill-0rphmjk3.js → reference-7der4bj9.js} +19 -19
- package/dist/chunks/{skill-0jwsre1p.js → reference-7dqw4kz8.js} +5 -5
- package/dist/chunks/{skill-5gfp0ma2.js → reference-7f4pctag.js} +27 -27
- package/dist/chunks/{skill-0g30ecvz.js → reference-7kcbr8xv.js} +33 -33
- package/dist/chunks/{skill-2ezxh99f.js → reference-7m8vhqjz.js} +3 -3
- package/dist/chunks/{skill-ze76j2m8.js → reference-7qen6kzn.js} +5 -5
- package/dist/chunks/{skill-5hx7d1d6.js → reference-7xyrrtj6.js} +5 -5
- package/dist/chunks/{skill-he27pt63.js → reference-7zt5x37y.js} +1 -1
- package/dist/chunks/{skill-yewrcksy.js → reference-80c1z9kc.js} +15 -15
- package/dist/chunks/{skill-fhy2x42b.js → reference-84d4sta2.js} +37 -37
- package/dist/chunks/{skill-84txncab.js → reference-84txncab.js} +1 -1
- package/dist/chunks/{skill-5zvv963w.js → reference-85nhzk7w.js} +4 -4
- package/dist/chunks/{skill-bgtr1mty.js → reference-88bhjm42.js} +10 -10
- package/dist/chunks/{skill-dakrqskp.js → reference-8d801c91.js} +11 -11
- package/dist/chunks/{skill-8m6m0r52.js → reference-8m6m0r52.js} +1 -1
- package/dist/chunks/{skill-td0n94qx.js → reference-8pedcj79.js} +11 -11
- package/dist/chunks/{skill-j09zfasm.js → reference-91qna3x0.js} +3 -3
- package/dist/chunks/{skill-s2z0d44b.js → reference-97aeaand.js} +4 -4
- package/dist/chunks/{skill-s0ghd5m4.js → reference-9cjp3vjk.js} +11 -11
- package/dist/chunks/{skill-ez6v8vv6.js → reference-9dtek7rd.js} +25 -25
- package/dist/chunks/{skill-j0yywz23.js → reference-9ja41e76.js} +7 -7
- package/dist/chunks/reference-9r6rs471.js +26 -0
- package/dist/chunks/{skill-rndw19bh.js → reference-9v5dq8n9.js} +25 -25
- package/dist/chunks/{skill-4qatf0tw.js → reference-aad9zq7v.js} +13 -13
- package/dist/chunks/{skill-4q7f7q3n.js → reference-agvdfdvn.js} +5 -5
- package/dist/chunks/{skill-fzq0yswt.js → reference-ahz9yk24.js} +14 -14
- package/dist/chunks/{skill-r155yqpy.js → reference-axfvp7va.js} +5 -5
- package/dist/chunks/{skill-djpc0zre.js → reference-axjfn32c.js} +27 -27
- package/dist/chunks/{skill-5kktt8m2.js → reference-azemn7z6.js} +9 -9
- package/dist/chunks/{skill-zag1eh5m.js → reference-azpyr670.js} +14 -14
- package/dist/chunks/{skill-gj71zhbs.js → reference-b674v2dg.js} +5 -5
- package/dist/chunks/{skill-6wes48ct.js → reference-bt0njgmc.js} +17 -17
- package/dist/chunks/reference-by5v678g.js +18 -0
- package/dist/chunks/{skill-rj3eygr5.js → reference-c41wscbt.js} +2 -2
- package/dist/chunks/{skill-bxbwa0gm.js → reference-c74bvw4q.js} +13 -13
- package/dist/chunks/{skill-sa8ekw3f.js → reference-c8ax2afj.js} +2 -2
- package/dist/chunks/{skill-8krm1k23.js → reference-cnzx7642.js} +13 -13
- package/dist/chunks/{skill-3a4mtn8q.js → reference-cqy527p5.js} +8 -8
- package/dist/chunks/{skill-0d0mdbr0.js → reference-crn6sf7s.js} +12 -12
- package/dist/chunks/{skill-h05kb0qd.js → reference-cxy0as94.js} +46 -46
- package/dist/chunks/{skill-snzp8s5d.js → reference-d1bka95m.js} +6 -6
- package/dist/chunks/{skill-g686f6pq.js → reference-d7x0sh0y.js} +9 -9
- package/dist/chunks/{skill-6rsv0a9z.js → reference-d9zmkgd4.js} +20 -20
- package/dist/chunks/{skill-vf7v20ej.js → reference-dfswxmta.js} +20 -20
- package/dist/chunks/{skill-h21k2909.js → reference-djvxnjg8.js} +34 -34
- package/dist/chunks/{skill-dpkg50ah.js → reference-dpkg50ah.js} +1 -1
- package/dist/chunks/{skill-6j7g70nq.js → reference-dq5fx745.js} +28 -28
- package/dist/chunks/{skill-p60bs9yg.js → reference-dqdg7a0v.js} +4 -4
- package/dist/chunks/{skill-dqxsqydv.js → reference-dqxsqydv.js} +1 -1
- package/dist/chunks/{skill-ht13wr3j.js → reference-drqqcwyg.js} +55 -55
- package/dist/chunks/{skill-ft50qagy.js → reference-drqybash.js} +4 -4
- package/dist/chunks/{skill-qqeeq2t9.js → reference-drwq78ky.js} +7 -7
- package/dist/chunks/{skill-c1tsmb8r.js → reference-dxr3qdqn.js} +37 -37
- package/dist/chunks/{skill-72agbcmm.js → reference-dz85ej5f.js} +16 -16
- package/dist/chunks/{skill-86qxvgv6.js → reference-e8vwfchq.js} +6 -6
- package/dist/chunks/{skill-z4cnyhgg.js → reference-e9mw71vf.js} +11 -11
- package/dist/chunks/{skill-s8d7rejh.js → reference-eaj1djv9.js} +6 -6
- package/dist/chunks/{skill-ckp31v8k.js → reference-ec56ww6f.js} +24 -24
- package/dist/chunks/{skill-e80seqcp.js → reference-ed1g29hy.js} +3 -3
- package/dist/chunks/{skill-eej6y6fw.js → reference-eej6y6fw.js} +2 -2
- package/dist/chunks/{skill-ef5x83kb.js → reference-ef5x83kb.js} +1 -1
- package/dist/chunks/{skill-c1fqxshp.js → reference-es1vcfrp.js} +3 -3
- package/dist/chunks/{skill-yeq3t8xt.js → reference-ew5jdcsq.js} +87 -87
- package/dist/chunks/{skill-pmf8s9dx.js → reference-f66eae49.js} +19 -19
- package/dist/chunks/{skill-ys1eskbg.js → reference-f7b5ncsd.js} +23 -23
- package/dist/chunks/{skill-639h3xxe.js → reference-f8p265gv.js} +11 -11
- package/dist/chunks/{skill-6a3zrf3v.js → reference-fqmb1432.js} +8 -8
- package/dist/chunks/{skill-x580hmt1.js → reference-fvgfymht.js} +11 -11
- package/dist/chunks/{skill-k4ayx2j3.js → reference-g51r3c4s.js} +18 -18
- package/dist/chunks/{skill-cwa6csj7.js → reference-g6q9qykm.js} +9 -9
- package/dist/chunks/{skill-w39jehkq.js → reference-g6yfr6ja.js} +5 -5
- package/dist/chunks/{skill-3z212fca.js → reference-g7m13ce8.js} +30 -30
- package/dist/chunks/{skill-ty9fg3f8.js → reference-g7y6ccmm.js} +16 -16
- package/dist/chunks/{skill-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{skill-31zks5jy.js → reference-gm24xgn7.js} +28 -28
- package/dist/chunks/{skill-tp1cmem0.js → reference-gn31e51v.js} +11 -11
- package/dist/chunks/{skill-n0ytg6te.js → reference-gn5tm0bv.js} +7 -7
- package/dist/chunks/{skill-addxnjmp.js → reference-gqtdsdt7.js} +4 -4
- package/dist/chunks/{skill-zsr4wwhv.js → reference-gw7cjrad.js} +4 -4
- package/dist/chunks/{skill-z3wrhw57.js → reference-gw8exty3.js} +13 -13
- package/dist/chunks/{skill-ms9hcft3.js → reference-gwf8vbvc.js} +20 -20
- package/dist/chunks/{skill-dt2484d6.js → reference-h45tnvxx.js} +75 -75
- package/dist/chunks/{skill-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{skill-h7s7r6s9.js → reference-h7s7r6s9.js} +2 -2
- package/dist/chunks/{skill-bacyadyn.js → reference-h90v2x9d.js} +4 -4
- package/dist/chunks/{skill-wecqtg5s.js → reference-hdkng2sj.js} +5 -5
- package/dist/chunks/{skill-hfbyhya8.js → reference-hfbyhya8.js} +2 -2
- package/dist/chunks/{skill-hgz4x7wa.js → reference-hgz4x7wa.js} +1 -1
- package/dist/chunks/{skill-vya7jr0b.js → reference-htrk4y28.js} +9 -9
- package/dist/chunks/{skill-fz0546zy.js → reference-hvg0snfm.js} +18 -18
- package/dist/chunks/{skill-db6ka260.js → reference-hy1n1we9.js} +48 -48
- package/dist/chunks/{skill-j58c5xyq.js → reference-j58c5xyq.js} +2 -2
- package/dist/chunks/{skill-bya0fcmq.js → reference-je5d3c79.js} +12 -12
- package/dist/chunks/{skill-njd1jvr3.js → reference-jfzdx66h.js} +9 -9
- package/dist/chunks/{skill-d8tvwc74.js → reference-jhzvven8.js} +7 -7
- package/dist/chunks/{skill-jk540des.js → reference-jk540des.js} +2 -2
- package/dist/chunks/{skill-n4r3xatb.js → reference-jvf3yq6v.js} +4 -4
- package/dist/chunks/{skill-m6r6f8tv.js → reference-jwyrdafh.js} +16 -16
- package/dist/chunks/{skill-cm8m4w1m.js → reference-k4fxrsyq.js} +15 -15
- package/dist/chunks/{skill-7z8tx2pn.js → reference-kenxh6gd.js} +28 -28
- package/dist/chunks/{skill-khmqacep.js → reference-khmqacep.js} +1 -1
- package/dist/chunks/{skill-b8xqpn46.js → reference-kpdmttv2.js} +11 -11
- package/dist/chunks/{skill-nn6nxwtb.js → reference-kph0xsh6.js} +17 -17
- package/dist/chunks/{skill-hfze897x.js → reference-kprxdv5r.js} +2 -2
- package/dist/chunks/{skill-meq2bhha.js → reference-krdwghjp.js} +5 -5
- package/dist/chunks/{skill-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{skill-maspj1v3.js → reference-maspj1v3.js} +1 -1
- package/dist/chunks/{skill-yjakarkq.js → reference-mpssfq2q.js} +8 -8
- package/dist/chunks/{skill-j0c1115t.js → reference-n0ve5gdb.js} +5 -5
- package/dist/chunks/{skill-ah777z7t.js → reference-n1shqbp3.js} +20 -20
- package/dist/chunks/{skill-15ye86aw.js → reference-n3kdjaet.js} +11 -11
- package/dist/chunks/{skill-j0nbkzx8.js → reference-n5esxn5z.js} +27 -27
- package/dist/chunks/{skill-qt4zyp3s.js → reference-n5xpsxq8.js} +15 -15
- package/dist/chunks/{skill-3cqwnyj9.js → reference-n61013np.js} +8 -8
- package/dist/chunks/{skill-trr50004.js → reference-njp0gf2a.js} +15 -15
- package/dist/chunks/{skill-886rcvra.js → reference-nkqw9m3h.js} +30 -30
- package/dist/chunks/{skill-qa271a1s.js → reference-nm3w2d7y.js} +21 -21
- package/dist/chunks/{skill-wtn0n80d.js → reference-nsxf7brj.js} +40 -40
- package/dist/chunks/{skill-r62ys938.js → reference-nywhfaw1.js} +9 -9
- package/dist/chunks/{skill-52vk9yjk.js → reference-p37hdxy1.js} +35 -35
- package/dist/chunks/{skill-cmwkp3r5.js → reference-p42hj8p8.js} +8 -8
- package/dist/chunks/{skill-01f7406t.js → reference-p474d7yp.js} +19 -19
- package/dist/chunks/{skill-8xdk01f4.js → reference-p70m11t7.js} +11 -11
- package/dist/chunks/{skill-arxc0mkp.js → reference-pjm3t1ca.js} +15 -15
- package/dist/chunks/{skill-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{skill-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{skill-rys9py6g.js → reference-pr1m8j7y.js} +8 -8
- package/dist/chunks/{skill-hkffa77z.js → reference-pyg4v0b6.js} +4 -4
- package/dist/chunks/{skill-q0xm7vwc.js → reference-q0xm7vwc.js} +2 -2
- package/dist/chunks/{skill-z35pz71e.js → reference-q1m8dxm9.js} +30 -30
- package/dist/chunks/{skill-4fjmcad7.js → reference-q2kevabj.js} +4 -4
- package/dist/chunks/{skill-sncr1wb8.js → reference-q53541n0.js} +34 -34
- package/dist/chunks/{skill-55x9snav.js → reference-q5423ys8.js} +35 -35
- package/dist/chunks/{skill-32v291k9.js → reference-q5ewyrx0.js} +28 -28
- package/dist/chunks/{skill-pnh62jhm.js → reference-qdtbhe1n.js} +5 -5
- package/dist/chunks/{skill-qnc92qwc.js → reference-qnc92qwc.js} +1 -1
- package/dist/chunks/{skill-g23ky713.js → reference-qs0nx109.js} +21 -21
- package/dist/chunks/{skill-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{skill-03e1xmcc.js → reference-qtq7qc2w.js} +10 -10
- package/dist/chunks/{skill-079e5tqh.js → reference-qxzvmfjp.js} +4 -4
- package/dist/chunks/{skill-8gc0p4kx.js → reference-r83ag541.js} +16 -10
- package/dist/chunks/{skill-ah2wvv4g.js → reference-r8f59mgg.js} +29 -29
- package/dist/chunks/{skill-rdw6cm16.js → reference-rdw6cm16.js} +1 -1
- package/dist/chunks/{skill-jws6fkes.js → reference-rkprpv83.js} +8 -8
- package/dist/chunks/{skill-a0dr3wh4.js → reference-rpz1svrt.js} +1 -1
- package/dist/chunks/{skill-ns8rbw9m.js → reference-rqf4m8aw.js} +20 -20
- package/dist/chunks/{skill-mcby4hk6.js → reference-rqraeqvr.js} +4 -4
- package/dist/chunks/{skill-mdkgq9hs.js → reference-rsz0h36s.js} +33 -33
- package/dist/chunks/{skill-hh3t29v4.js → reference-rtdaykpn.js} +20 -20
- package/dist/chunks/{skill-x759227d.js → reference-rtg68wpk.js} +21 -21
- package/dist/chunks/{skill-resfzb18.js → reference-rx2dg2kh.js} +45 -45
- package/dist/chunks/{skill-mpfy6g4r.js → reference-rxbse8cr.js} +22 -22
- package/dist/chunks/{skill-266sb5q0.js → reference-rygkxn9n.js} +44 -44
- package/dist/chunks/{skill-sfcyz7s3.js → reference-s0kdr57z.js} +14 -14
- package/dist/chunks/{skill-xrvdqef0.js → reference-s5yya818.js} +30 -30
- package/dist/chunks/{skill-xwmjdzft.js → reference-s6vxrzhc.js} +5 -5
- package/dist/chunks/{skill-z1gwjxrn.js → reference-sa7t01dg.js} +92 -92
- package/dist/chunks/reference-sm5yn6ps.js +253 -0
- package/dist/chunks/{skill-ts7mkfs9.js → reference-ss358qx3.js} +3 -3
- package/dist/chunks/{skill-pfgazgn4.js → reference-sy99d12a.js} +18 -18
- package/dist/chunks/{skill-syv4x271.js → reference-syv4x271.js} +1 -1
- package/dist/chunks/{skill-wp8fkx26.js → reference-t4p70czd.js} +11 -11
- package/dist/chunks/{skill-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{skill-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{skill-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{skill-rert0e01.js → reference-tkb22qbm.js} +2 -2
- package/dist/chunks/{skill-tm0kqsz3.js → reference-tm0kqsz3.js} +1 -1
- package/dist/chunks/{skill-tyytaxap.js → reference-tyytaxap.js} +1 -1
- package/dist/chunks/{skill-v0es1rhs.js → reference-v0es1rhs.js} +2 -2
- package/dist/chunks/{skill-v7p4zvkq.js → reference-v7p4zvkq.js} +2 -2
- package/dist/chunks/{skill-fp40df3e.js → reference-vacxjxj3.js} +3 -3
- package/dist/chunks/{skill-vj4shjr4.js → reference-vbm38ps9.js} +5 -5
- package/dist/chunks/{skill-s5xzx6y2.js → reference-vcp5fwvv.js} +19 -19
- package/dist/chunks/{skill-r00gcrkz.js → reference-vd7cyv2z.js} +28 -28
- package/dist/chunks/{skill-7hb0ye5y.js → reference-ve45bn9x.js} +6 -6
- package/dist/chunks/{skill-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{skill-vxdn14wh.js → reference-vm7c5k2y.js} +1 -1
- package/dist/chunks/{skill-z91gs09r.js → reference-vt08q70p.js} +15 -15
- package/dist/chunks/{skill-17g0dp49.js → reference-vvtb55nw.js} +181 -181
- package/dist/chunks/{skill-bee4aq1j.js → reference-vz1ztd4p.js} +24 -24
- package/dist/chunks/{skill-vzs5sf6e.js → reference-vzs5sf6e.js} +1 -1
- package/dist/chunks/{skill-bckrrh3s.js → reference-w15h4m28.js} +15 -15
- package/dist/chunks/{skill-y2g3h41r.js → reference-w1s7mmem.js} +22 -22
- package/dist/chunks/{skill-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{skill-0b3sm4h0.js → reference-w4wr1etb.js} +7 -7
- package/dist/chunks/{skill-rk7s9xkn.js → reference-wa9g86nq.js} +4 -4
- package/dist/chunks/{skill-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{skill-6aa28tdc.js → reference-whrbz81v.js} +30 -30
- package/dist/chunks/{skill-ywt8jp22.js → reference-wjr9rjd7.js} +6 -6
- package/dist/chunks/{skill-6fszpdwd.js → reference-wkqr0wp4.js} +50 -50
- package/dist/chunks/{skill-1z6nfgf9.js → reference-wqvnp2kw.js} +4 -4
- package/dist/chunks/{skill-bqpab8f7.js → reference-wwh6ay7x.js} +21 -21
- package/dist/chunks/{skill-assg4cnx.js → reference-wx7k6370.js} +22 -22
- package/dist/chunks/{skill-0qtg9gyw.js → reference-x7qcbpvq.js} +22 -22
- package/dist/chunks/{skill-v419bmwe.js → reference-x8h454cx.js} +25 -25
- package/dist/chunks/{skill-v1y2r70j.js → reference-xwxft369.js} +1 -1
- package/dist/chunks/{skill-8jj608qq.js → reference-xx6qpep6.js} +33 -33
- package/dist/chunks/{skill-a0j2njhq.js → reference-y179arr5.js} +31 -31
- package/dist/chunks/{skill-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{skill-1mnsj1b7.js → reference-y41eqcyh.js} +32 -32
- package/dist/chunks/{skill-vt9q71gc.js → reference-y456k0gx.js} +21 -21
- package/dist/chunks/{skill-6setxp5w.js → reference-y4ny2pth.js} +19 -19
- package/dist/chunks/{skill-rzs3gq0x.js → reference-y72zmemf.js} +8 -8
- package/dist/chunks/{skill-k8cddrez.js → reference-yak3hf0z.js} +56 -56
- package/dist/chunks/{skill-nfhg0zh2.js → reference-ym1z1sce.js} +3 -3
- package/dist/chunks/{skill-srr95ctr.js → reference-ys0m66b2.js} +24 -24
- package/dist/chunks/{skill-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{skill-qpktp63h.js → reference-z4h9wx76.js} +41 -41
- package/dist/chunks/{skill-9bk4xf74.js → reference-zgkz7fqw.js} +33 -33
- package/dist/chunks/{skill-k0w1apbg.js → reference-zjtrsxny.js} +5 -5
- package/dist/chunks/{skill-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{skill-c2nmdtp2.js → reference-zt9b6e62.js} +15 -15
- package/dist/chunks/{skill-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/chunks/{skill-m21mnn4s.js → reference-zy8qbqak.js} +11 -11
- package/dist/chunks/{skill-pjfhrx59.js → reference-zzdwtnvj.js} +19 -19
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +72 -72
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- 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 +81 -81
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +95 -95
- 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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- 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 +101 -101
- 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 +359 -359
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +2 -2
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +131 -131
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- 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 +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +135 -135
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +92 -92
- 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 +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- 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 +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +9 -9
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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 +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/skill-4v7qdvcn.js +0 -18
- package/dist/chunks/skill-90fncmj6.js +0 -26
- package/dist/chunks/skill-vwygf5dp.js +0 -253
- /package/dist/chunks/{skill-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{skill-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{skill-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{skill-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{skill-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{skill-24dcb14g.js → reference-24dcb14g.js} +0 -0
- /package/dist/chunks/{skill-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{skill-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{skill-2bv980vf.js → reference-2bv980vf.js} +0 -0
- /package/dist/chunks/{skill-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{skill-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{skill-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{skill-3t0ybcrp.js → reference-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{skill-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{skill-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{skill-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{skill-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{skill-4vcrnpx2.js → reference-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{skill-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{skill-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{skill-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{skill-5qd3pb7m.js → reference-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{skill-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{skill-6q2bdcd1.js → reference-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{skill-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{skill-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{skill-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{skill-84wd9syh.js → reference-84wd9syh.js} +0 -0
- /package/dist/chunks/{skill-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{skill-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{skill-8wj87zfr.js → reference-8wj87zfr.js} +0 -0
- /package/dist/chunks/{skill-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{skill-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{skill-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{skill-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{skill-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{skill-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{skill-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{skill-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{skill-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{skill-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{skill-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{skill-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{skill-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{skill-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{skill-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{skill-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{skill-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{skill-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{skill-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{skill-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{skill-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{skill-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{skill-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{skill-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{skill-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{skill-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{skill-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{skill-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{skill-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{skill-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{skill-hcxmzztb.js → reference-hcxmzztb.js} +0 -0
- /package/dist/chunks/{skill-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{skill-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{skill-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{skill-jjkms2e6.js → reference-jjkms2e6.js} +0 -0
- /package/dist/chunks/{skill-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{skill-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{skill-jze0r7bz.js → reference-jze0r7bz.js} +0 -0
- /package/dist/chunks/{skill-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{skill-m18g726c.js → reference-m18g726c.js} +0 -0
- /package/dist/chunks/{skill-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{skill-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{skill-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{skill-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{skill-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{skill-pkyv6v7h.js → reference-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{skill-pyv0edze.js → reference-pyv0edze.js} +0 -0
- /package/dist/chunks/{skill-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{skill-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{skill-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{skill-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{skill-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{skill-qg3g05ea.js → reference-qg3g05ea.js} +0 -0
- /package/dist/chunks/{skill-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{skill-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{skill-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{skill-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{skill-ve7vex1e.js → reference-ve7vex1e.js} +0 -0
- /package/dist/chunks/{skill-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{skill-wc3fc9cn.js → reference-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{skill-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{skill-wjj7prxr.js → reference-wjj7prxr.js} +0 -0
- /package/dist/chunks/{skill-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{skill-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{skill-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{skill-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{skill-y8f7s663.js → reference-y8f7s663.js} +0 -0
- /package/dist/chunks/{skill-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{skill-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{skill-z5v4ffb3.js → reference-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{skill-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -1,60 +1,60 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service83,
|
|
6
|
+
node87
|
|
7
|
+
} from "./reference-3q9g49xq.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
9
|
+
Event17,
|
|
10
|
+
Service74,
|
|
11
|
+
node78
|
|
12
|
+
} from "./reference-q5423ys8.js";
|
|
13
13
|
import {
|
|
14
14
|
Service81,
|
|
15
15
|
node85
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./reference-2sc3sc4p.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service65,
|
|
19
|
+
node68
|
|
20
|
+
} from "./reference-132ycjkv.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
22
|
+
ID10,
|
|
23
|
+
Service73,
|
|
24
|
+
node77
|
|
25
|
+
} from "./reference-vd7cyv2z.js";
|
|
26
26
|
import {
|
|
27
27
|
reconcile2,
|
|
28
28
|
create3
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./reference-rdw6cm16.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID9,
|
|
32
32
|
MethodID2,
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
} from "./
|
|
33
|
+
Service72,
|
|
34
|
+
node76
|
|
35
|
+
} from "./reference-rsz0h36s.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./reference-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
44
|
NotFoundError: () => NotFoundError4,
|
|
45
|
-
Options: () =>
|
|
45
|
+
Options: () => Options4,
|
|
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: () => Service36,
|
|
53
53
|
Status: () => Status2,
|
|
54
54
|
ToolCallError: () => ToolCallError2,
|
|
55
|
-
configured: () =>
|
|
56
|
-
layer: () =>
|
|
57
|
-
node: () =>
|
|
55
|
+
configured: () => configured4,
|
|
56
|
+
layer: () => layer16,
|
|
57
|
+
node: () => node39
|
|
58
58
|
});
|
|
59
59
|
import { Mcp } from "@opencode/schema/mcp";
|
|
60
60
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
@@ -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 Service36 extends Context.Service()("@opencode/MCP") {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Options4 = 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
|
|
114
|
+
var layer16 = (options) => Layer.effect(Service36, Effect.gen(function* () {
|
|
115
115
|
const location = yield* Service81;
|
|
116
|
-
const environment = yield*
|
|
117
|
-
const bus = yield*
|
|
118
|
-
const forms = yield*
|
|
119
|
-
const integration = yield*
|
|
120
|
-
const credentials = yield*
|
|
116
|
+
const environment = yield* Service65;
|
|
117
|
+
const bus = yield* Service83;
|
|
118
|
+
const forms = yield* Service73;
|
|
119
|
+
const integration = yield* Service72;
|
|
120
|
+
const credentials = yield* Service74;
|
|
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 layer15 = (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 = ID9.make(suffix);
|
|
133
133
|
entry.integrationID = integrationID;
|
|
134
134
|
owned.add(integrationID);
|
|
135
135
|
const methodID = MethodID2.make(suffix);
|
|
@@ -145,7 +145,7 @@ var layer15 = (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(Service74, credentials));
|
|
149
149
|
})
|
|
150
150
|
});
|
|
151
151
|
}).pipe(Scope.provide(scope));
|
|
@@ -161,12 +161,12 @@ var layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
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(Service74, 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 = ID10.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 layer15 = (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(Service65, 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 layer15 = (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(Event17.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 layer15 = (options) => Layer.effect(Service30, Effect.gen(function* () {
|
|
|
420
420
|
}),
|
|
421
421
|
notify: () => reconcile2(root, fork, () => reconcileLock.withPermit(reconcile()))
|
|
422
422
|
});
|
|
423
|
-
return
|
|
423
|
+
return Service36.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 configured4(options) {
|
|
534
534
|
return makeLocationNode({
|
|
535
|
-
service:
|
|
536
|
-
layer:
|
|
537
|
-
deps: [node85,
|
|
535
|
+
service: Service36,
|
|
536
|
+
layer: layer16(options),
|
|
537
|
+
deps: [node85, node68, node87, node77, node76, node78]
|
|
538
538
|
});
|
|
539
539
|
}
|
|
540
|
-
var
|
|
540
|
+
var node39 = configured4();
|
|
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, NotFoundError4, ToolCallError2,
|
|
591
|
+
export { ServerName2, PromptsChanged2, Status2, Resource2, ResourceTemplate2, ResourceCatalog2, ResourceContent2, NotFoundError4, ToolCallError2, Service36, Options4, layer16, configured4, node39, exports_mcp4 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-2sc3sc4p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service54
|
|
6
|
+
} from "./reference-cxy0as94.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service22
|
|
9
|
+
} from "./reference-1wws9p1z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
make5
|
|
12
|
+
} from "./reference-ed1g29hy.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/formatter.ts
|
|
21
21
|
var exports_formatter = {};
|
|
@@ -32,8 +32,8 @@ import { Effect } from "effect";
|
|
|
32
32
|
var Plugin19 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
36
|
-
const formatter = yield*
|
|
35
|
+
const config = yield* Service54;
|
|
36
|
+
const formatter = yield* Service22;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
39
39
|
const location = yield* Service81;
|
|
@@ -44,7 +44,7 @@ var Plugin19 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make5({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-p70m11t7.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-wjr9rjd7.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin26,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin26 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin39 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin39 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin26, exports_parallel };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SQLiteEffectCountBuilder2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-f0mxakyp.js";
|
|
4
4
|
import {
|
|
5
5
|
SQLiteEffectDeleteBase2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-w3wsvvr9.js";
|
|
7
7
|
import {
|
|
8
8
|
SQLiteEffectInsertBuilder2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-7bmhse3q.js";
|
|
10
10
|
import {
|
|
11
11
|
SQLiteEffectRelationalQueryBuilder2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-cf4snx6d.js";
|
|
13
13
|
import {
|
|
14
14
|
SQLiteEffectRaw2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-822emrt2.js";
|
|
16
16
|
import {
|
|
17
17
|
SQLiteEffectSelectBuilder2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-wd87259q.js";
|
|
19
19
|
import {
|
|
20
20
|
SQLiteEffectUpdateBuilder2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./reference-m9w0rfyh.js";
|
|
22
22
|
|
|
23
23
|
// src/database/drizzle/sqlite-core/effect/db.ts
|
|
24
24
|
import { Effect } from "effect";
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service42, exports_runner };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./reference-2zmfhp2c.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./reference-51f5btjf.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service80
|
|
15
|
+
} from "./reference-2ktf0ed2.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./reference-e8vwfchq.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service75
|
|
23
|
+
} from "./reference-dq5fx745.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service44;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service80;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service75;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service60;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -2,20 +2,20 @@ import {
|
|
|
2
2
|
NonNegativeInt2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-z5v4ffb3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service65,
|
|
8
|
+
node68
|
|
9
|
+
} from "./reference-132ycjkv.js";
|
|
10
10
|
import {
|
|
11
11
|
Content2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-n5esxn5z.js";
|
|
13
13
|
import {
|
|
14
14
|
detect2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-3smtnn6g.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-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: () => Service14,
|
|
37
37
|
TextPage: () => TextPage2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node16,
|
|
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 Service14 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(Service14, Effect.gen(function* () {
|
|
334
|
+
const environment = yield* Service65;
|
|
335
|
+
return Service14.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 node16 = makeLocationNode({ service: Service14, layer, deps: [node68] });
|
|
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, Service14, read2, node16, exports_read_filesystem };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./reference-3q9g49xq.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-2sc3sc4p.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID8,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service71,
|
|
20
|
+
node75,
|
|
21
|
+
Event14
|
|
22
|
+
} from "./reference-676ffxyw.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./reference-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,18 +30,18 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event13,
|
|
34
34
|
Family: () => Family2,
|
|
35
35
|
ID: () => ID7,
|
|
36
|
-
Info: () =>
|
|
36
|
+
Info: () => Info16,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service70,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
43
|
mergeCapabilities: () => mergeCapabilities2,
|
|
44
|
-
node: () =>
|
|
44
|
+
node: () => node74,
|
|
45
45
|
parse: () => parse5,
|
|
46
46
|
supportsText: () => supportsText2
|
|
47
47
|
});
|
|
@@ -49,7 +49,7 @@ import { Model } from "@opencode/schema/model";
|
|
|
49
49
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
50
50
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
51
51
|
import { freeze } from "immer";
|
|
52
|
-
import { Event as
|
|
52
|
+
import { Event as Event13 } from "@opencode/schema/model";
|
|
53
53
|
var ID7 = Model.ID;
|
|
54
54
|
var VariantID2 = Model.VariantID;
|
|
55
55
|
var Family2 = Model.Family;
|
|
@@ -66,13 +66,13 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
66
66
|
};
|
|
67
67
|
var Cost2 = Model.Cost;
|
|
68
68
|
var Ref2 = Model.Ref;
|
|
69
|
-
var
|
|
69
|
+
var Info16 = Model.Info;
|
|
70
70
|
|
|
71
|
-
class
|
|
71
|
+
class Service70 extends Context.Service()("@opencode/Model") {
|
|
72
72
|
}
|
|
73
|
-
var layer = Layer.effect(
|
|
74
|
-
const providers = yield*
|
|
75
|
-
const bus = yield*
|
|
73
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
74
|
+
const providers = yield* Service71;
|
|
75
|
+
const bus = yield* Service83;
|
|
76
76
|
const location = yield* Service81;
|
|
77
77
|
let input;
|
|
78
78
|
const state = create3({
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
118
118
|
const models = writable(providerID);
|
|
119
119
|
if (!models)
|
|
120
120
|
return;
|
|
121
|
-
const model = draft(providerID, modelID) ??
|
|
121
|
+
const model = draft(providerID, modelID) ?? Info16.default(providerID, modelID);
|
|
122
122
|
update(model);
|
|
123
123
|
model.id = modelID;
|
|
124
124
|
model.providerID = providerID;
|
|
@@ -208,8 +208,8 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
208
208
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
209
209
|
});
|
|
210
210
|
});
|
|
211
|
-
yield* bus.subscribe(
|
|
212
|
-
return
|
|
211
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
212
|
+
return Service70.of({
|
|
213
213
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
214
214
|
reload,
|
|
215
215
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -228,9 +228,9 @@ var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
|
228
228
|
})
|
|
229
229
|
});
|
|
230
230
|
}));
|
|
231
|
-
var
|
|
231
|
+
var node74 = makeLocationNode({ service: Service70, layer, deps: [node75, node87, node85] });
|
|
232
232
|
function preferBigPickle(models) {
|
|
233
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
233
|
+
const freeOnly = models.every((model) => model.providerID === ID8.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
234
234
|
const pick = freeOnly ? models.find((model) => model.id === "big-pickle") : undefined;
|
|
235
235
|
if (!pick)
|
|
236
236
|
return models;
|
|
@@ -249,9 +249,9 @@ function compatibility2(input) {
|
|
|
249
249
|
function parse5(input) {
|
|
250
250
|
const index = input.indexOf("/");
|
|
251
251
|
return {
|
|
252
|
-
providerID:
|
|
252
|
+
providerID: ID8.make(index === -1 ? input : input.slice(0, index)),
|
|
253
253
|
modelID: ID7.make(index === -1 ? "" : input.slice(index + 1))
|
|
254
254
|
};
|
|
255
255
|
}
|
|
256
256
|
|
|
257
|
-
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2,
|
|
257
|
+
export { ID7, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Ref2, Info16, Service70, node74, supportsText2, compatibility2, parse5, exports_model2, Event13 };
|