@opencode/core 0.0.0-dev-21392 → 0.0.0-dev-21406
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 +85 -85
- 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/{formatter-48xtr7v6.js → agent-06anjssm.js} +335 -335
- package/dist/chunks/{formatter-wbzwmc3s.js → agent-0bxh5w1j.js} +15 -15
- package/dist/chunks/{formatter-c7870f8j.js → agent-0e3fqjja.js} +4 -4
- package/dist/chunks/{formatter-0vbcp93d.js → agent-0emb60td.js} +2 -2
- package/dist/chunks/{formatter-cdr0bft1.js → agent-0h9t1hvk.js} +20 -20
- package/dist/chunks/{formatter-e7rccypw.js → agent-0j86m4bq.js} +11 -11
- package/dist/chunks/{formatter-4ztm1dwq.js → agent-0mxkd3yj.js} +27 -27
- package/dist/chunks/{formatter-zatp38ja.js → agent-0rn1xwp2.js} +20 -20
- package/dist/chunks/{formatter-fymchyqc.js → agent-0xg80fyc.js} +38 -38
- package/dist/chunks/{formatter-vff2t4sd.js → agent-19ewsxs1.js} +13 -13
- package/dist/chunks/{formatter-1ep4rre3.js → agent-1ep4rre3.js} +1 -1
- package/dist/chunks/{formatter-1dqwv4xz.js → agent-1k0445q3.js} +3 -3
- package/dist/chunks/{formatter-7h1s51rg.js → agent-1r4j4yg9.js} +6 -6
- package/dist/chunks/{formatter-m6tg8cvf.js → agent-2105cad3.js} +20 -20
- package/dist/chunks/{formatter-2t5kspa8.js → agent-24k0zg7j.js} +29 -29
- package/dist/chunks/{formatter-eq20ba7x.js → agent-258tza17.js} +6 -6
- package/dist/chunks/{formatter-j36tartk.js → agent-25pr2p8h.js} +15 -15
- package/dist/chunks/{formatter-xz5qfsyk.js → agent-2806g74y.js} +21 -21
- package/dist/chunks/{formatter-bjmt3h04.js → agent-2ktf0ed2.js} +8 -8
- package/dist/chunks/{formatter-zpbe67hm.js → agent-2ns3sh3v.js} +24 -24
- package/dist/chunks/{formatter-7axppv82.js → agent-2r33jwsv.js} +17 -17
- package/dist/chunks/{formatter-3x0caamk.js → agent-2sjbdn5v.js} +3 -3
- package/dist/chunks/{formatter-w5s77ef3.js → agent-2yj9p1ch.js} +16 -16
- package/dist/chunks/{formatter-h7rfpq6m.js → agent-311a602a.js} +11 -11
- package/dist/chunks/{formatter-shmwxvy1.js → agent-3d0wbggw.js} +29 -29
- package/dist/chunks/{formatter-yje6jw03.js → agent-3dkckj9q.js} +11 -11
- package/dist/chunks/{formatter-x3jwdb4s.js → agent-3f7b88yc.js} +3 -3
- package/dist/chunks/{formatter-j0cjqqwg.js → agent-3fsbjx5g.js} +11 -11
- package/dist/chunks/{formatter-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{formatter-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{formatter-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{formatter-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{formatter-qpw7yjkd.js → agent-3vq2z5ky.js} +21 -21
- package/dist/chunks/{formatter-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{formatter-9ndbgc6k.js → agent-413rtwqn.js} +26 -26
- package/dist/chunks/{formatter-evjrq80r.js → agent-41fs7rd0.js} +5 -5
- package/dist/chunks/{formatter-qne3fa44.js → agent-43kvem2p.js} +5 -5
- package/dist/chunks/{formatter-my4zabxr.js → agent-48kw51zw.js} +3 -3
- package/dist/chunks/{formatter-p5cnvvf0.js → agent-4errqqkt.js} +32 -32
- package/dist/chunks/{formatter-03a4g52y.js → agent-4k34fdzq.js} +22 -22
- package/dist/chunks/{formatter-qwshjc6z.js → agent-4vfzemd0.js} +25 -25
- package/dist/chunks/{formatter-hwf75tpx.js → agent-4yhgmfzd.js} +11 -11
- package/dist/chunks/{formatter-2tt4hb31.js → agent-51136wbh.js} +12 -12
- package/dist/chunks/{formatter-mps0c7s2.js → agent-52wp07n9.js} +13 -13
- package/dist/chunks/{formatter-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{formatter-wndqc9p6.js → agent-5acs8yhy.js} +27 -27
- package/dist/chunks/{formatter-dx026yb4.js → agent-5g0489kz.js} +1 -1
- package/dist/chunks/{formatter-acaqsx4n.js → agent-5hrhvvkv.js} +12 -12
- package/dist/chunks/{formatter-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{formatter-rah0dq0h.js → agent-5n7p33rt.js} +21 -21
- package/dist/chunks/{formatter-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{formatter-9b448ax0.js → agent-5ska0mvd.js} +9 -9
- package/dist/chunks/{formatter-e60vjj5z.js → agent-5sr1d0gb.js} +14 -14
- package/dist/chunks/{formatter-c7150t1z.js → agent-5t6265c7.js} +4 -4
- package/dist/chunks/{formatter-9bqzpq7d.js → agent-5t93s459.js} +19 -19
- package/dist/chunks/{formatter-gza18a40.js → agent-5yetjxfm.js} +47 -47
- package/dist/chunks/{formatter-ea2vfst1.js → agent-648rfa8c.js} +9 -9
- package/dist/chunks/{formatter-207xakxm.js → agent-64zrm0g5.js} +32 -32
- package/dist/chunks/{formatter-ndat9tjt.js → agent-67yefhx6.js} +13 -13
- package/dist/chunks/{formatter-6827pfxn.js → agent-6827pfxn.js} +1 -1
- package/dist/chunks/{formatter-qa3qhgw8.js → agent-6hh8tjw2.js} +4 -4
- package/dist/chunks/{formatter-e0k6mxb7.js → agent-6rzpq3dm.js} +12 -12
- package/dist/chunks/{formatter-xhgwb0a7.js → agent-6vmcxv92.js} +41 -41
- package/dist/chunks/{formatter-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{formatter-0hh9e3cp.js → agent-6ytgs7sy.js} +16 -16
- package/dist/chunks/{formatter-zhdvkzcb.js → agent-6ztqc8am.js} +29 -29
- package/dist/chunks/{formatter-rwjvhq8w.js → agent-769tdh5t.js} +9 -9
- package/dist/chunks/{formatter-rgdzzcd3.js → agent-77590sxh.js} +32 -32
- package/dist/chunks/{formatter-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{formatter-wb756fwd.js → agent-785qcqx9.js} +60 -60
- package/dist/chunks/{formatter-4xf6gzbg.js → agent-7b3yybgh.js} +28 -28
- package/dist/chunks/{formatter-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{formatter-52fpbh6z.js → agent-7j2qha59.js} +8 -8
- package/dist/chunks/{formatter-g469667k.js → agent-7j94r4am.js} +11 -11
- package/dist/chunks/{formatter-66scf1c9.js → agent-7peb95f4.js} +15 -15
- package/dist/chunks/{formatter-m2b6v9cc.js → agent-7qr8wxzf.js} +11 -11
- package/dist/chunks/{formatter-g72yd4k4.js → agent-7styb3mj.js} +12 -12
- package/dist/chunks/{formatter-nsgwrahz.js → agent-7tsk134r.js} +43 -43
- package/dist/chunks/{formatter-12as4h19.js → agent-80dnw97j.js} +15 -15
- package/dist/chunks/{formatter-591k0ca8.js → agent-83wmws4f.js} +5 -5
- package/dist/chunks/{formatter-84txncab.js → agent-84txncab.js} +1 -1
- package/dist/chunks/{formatter-jmx6489n.js → agent-87e86qhn.js} +11 -11
- package/dist/chunks/{formatter-wvj7cnyt.js → agent-89rmaqwz.js} +24 -24
- package/dist/chunks/{formatter-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{formatter-8mywswrd.js → agent-8mywswrd.js} +1 -1
- package/dist/chunks/{formatter-dy97ep12.js → agent-8nwjdb3a.js} +14 -14
- package/dist/chunks/{formatter-f50eyg8v.js → agent-8rfkbrwf.js} +20 -20
- package/dist/chunks/{formatter-yhw0m8m4.js → agent-8vn1y58j.js} +39 -39
- package/dist/chunks/{formatter-dabs0qn1.js → agent-8zw1ss66.js} +15 -15
- package/dist/chunks/{formatter-ng238368.js → agent-990hmman.js} +5 -5
- package/dist/chunks/{formatter-vzd3epzm.js → agent-9j735w9d.js} +4 -4
- package/dist/chunks/{formatter-dac2kt8h.js → agent-9pfmptwy.js} +4 -4
- package/dist/chunks/{formatter-q6q0sxqr.js → agent-9x2418wc.js} +33 -33
- package/dist/chunks/{formatter-9zdhvgqs.js → agent-9zdhvgqs.js} +1 -1
- package/dist/chunks/{formatter-7v6vae4w.js → agent-a20pjse5.js} +3 -3
- package/dist/chunks/{formatter-bhrt6xes.js → agent-adarn49r.js} +34 -34
- package/dist/chunks/{formatter-1f8s6g2y.js → agent-arkvwkjz.js} +21 -21
- package/dist/chunks/{formatter-71qjp82d.js → agent-avafw0st.js} +8 -8
- package/dist/chunks/{formatter-addxnjmp.js → agent-azwe5p1w.js} +4 -4
- package/dist/chunks/{formatter-m3gtzfpz.js → agent-b0eyz8c6.js} +74 -74
- package/dist/chunks/{formatter-vgddb4br.js → agent-b32gwffb.js} +13 -13
- package/dist/chunks/{formatter-7q61fgya.js → agent-b42w3z1p.js} +46 -46
- package/dist/chunks/{formatter-ttqh24zm.js → agent-baaqp4zd.js} +4 -4
- package/dist/chunks/{formatter-nnvp4sy0.js → agent-bhxykftm.js} +18 -18
- package/dist/chunks/{formatter-ywt8jp22.js → agent-bjx1sjef.js} +9 -9
- package/dist/chunks/{formatter-vtfh2wmn.js → agent-bk5jw64x.js} +20 -20
- package/dist/chunks/{formatter-g156pxgg.js → agent-bqm60g8j.js} +11 -11
- package/dist/chunks/{formatter-c30vtaq3.js → agent-c0k7v243.js} +16 -16
- package/dist/chunks/{formatter-skh6161j.js → agent-c0t9grq8.js} +8 -8
- package/dist/chunks/{formatter-rj3eygr5.js → agent-c41wscbt.js} +2 -2
- package/dist/chunks/{formatter-9x7ygf2s.js → agent-c5zgdys3.js} +11 -11
- package/dist/chunks/{formatter-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
- package/dist/chunks/{formatter-jp06e1ry.js → agent-chebftdj.js} +23 -23
- package/dist/chunks/{formatter-6yz0wx8n.js → agent-cxbh1760.js} +5 -5
- package/dist/chunks/{formatter-x53ej1ch.js → agent-d2agymww.js} +14 -14
- package/dist/chunks/{formatter-nebafht2.js → agent-dbwwhbac.js} +5 -5
- package/dist/chunks/{formatter-782zrs06.js → agent-dhb2hta4.js} +5 -5
- package/dist/chunks/{formatter-y71avatq.js → agent-dpkg50ah.js} +4 -4
- package/dist/chunks/{formatter-57b9ws8p.js → agent-drwq78ky.js} +5 -5
- package/dist/chunks/{formatter-g686f6pq.js → agent-dx93tj1b.js} +9 -9
- package/dist/chunks/{formatter-w5yqftge.js → agent-dzse07y5.js} +6 -6
- package/dist/chunks/{formatter-5g57z1ma.js → agent-e7gxy7fd.js} +4 -4
- package/dist/chunks/{formatter-nnfjp428.js → agent-e8ene3dj.js} +1 -1
- package/dist/chunks/{formatter-zweka6s4.js → agent-e9zedmrt.js} +17 -17
- package/dist/chunks/{formatter-0gdmqesm.js → agent-eaj1djv9.js} +8 -8
- package/dist/chunks/{formatter-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{formatter-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{formatter-etpbkqk8.js → agent-ef7ha0bw.js} +55 -55
- package/dist/chunks/{formatter-5267tvv5.js → agent-ekgsfedd.js} +178 -178
- package/dist/chunks/{formatter-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
- package/dist/chunks/{formatter-jsvh4qyv.js → agent-ewpt59p9.js} +22 -22
- package/dist/chunks/{formatter-9sz3mafc.js → agent-f8a3nfk1.js} +4 -4
- package/dist/chunks/{formatter-9m812q0s.js → agent-fb5vvrxc.js} +48 -48
- package/dist/chunks/{formatter-7dqw4kz8.js → agent-fcrkznn8.js} +5 -5
- package/dist/chunks/{formatter-fcy631f0.js → agent-fcy631f0.js} +1 -1
- package/dist/chunks/{formatter-svj0spk4.js → agent-fdx5estd.js} +7 -7
- package/dist/chunks/{formatter-0e537ntp.js → agent-fpqdxcxh.js} +31 -31
- package/dist/chunks/{formatter-s0vr04sn.js → agent-fpvfk2w9.js} +2 -2
- package/dist/chunks/{formatter-n79dtyxs.js → agent-frvft4h3.js} +35 -35
- package/dist/chunks/{formatter-1bsjc9n6.js → agent-fs86bht4.js} +14 -14
- package/dist/chunks/{formatter-djszqvmq.js → agent-ft3hqk2c.js} +9 -9
- package/dist/chunks/{formatter-ztxyq4sb.js → agent-fyt5qzsq.js} +45 -45
- package/dist/chunks/{formatter-phstrbs2.js → agent-g0445xdp.js} +8 -8
- package/dist/chunks/{formatter-yg28k4yt.js → agent-ga7ghyrz.js} +7 -7
- package/dist/chunks/{formatter-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{formatter-5e15319b.js → agent-gfhhve88.js} +5 -5
- package/dist/chunks/{formatter-cjvs8nm0.js → agent-gk8a4wxr.js} +4 -4
- package/dist/chunks/{formatter-6nhw7bek.js → agent-gkt49qec.js} +9 -9
- package/dist/chunks/{formatter-pg8h3g1h.js → agent-gskka0f2.js} +3 -3
- package/dist/chunks/{formatter-5da84fyn.js → agent-gvyg44wk.js} +12 -12
- package/dist/chunks/{formatter-b8rtwnd0.js → agent-h16h8dr2.js} +30 -30
- package/dist/chunks/{formatter-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{formatter-wpyry23p.js → agent-h7p9ang8.js} +16 -16
- package/dist/chunks/{formatter-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{formatter-khmqacep.js → agent-hq3c8me3.js} +4 -4
- package/dist/chunks/{formatter-ny52h6m3.js → agent-hzvmf2xy.js} +43 -43
- package/dist/chunks/{formatter-vqhszpse.js → agent-j3yj9s0t.js} +47 -47
- package/dist/chunks/{formatter-9b2n24s7.js → agent-ja4zcwdc.js} +13 -13
- package/dist/chunks/{formatter-00v4729r.js → agent-jeapw6wp.js} +45 -45
- package/dist/chunks/{formatter-ve88pny4.js → agent-jekssrtq.js} +8 -8
- package/dist/chunks/{formatter-6w29jvcz.js → agent-jsxyagrf.js} +7 -7
- package/dist/chunks/{formatter-jqr3gjjx.js → agent-kdbj1bp6.js} +33 -33
- package/dist/chunks/{formatter-9hrvxxbn.js → agent-ke0h2g6m.js} +2 -2
- package/dist/chunks/{formatter-e3yv1c9p.js → agent-kfy1bhn0.js} +9 -9
- package/dist/chunks/{formatter-q7pgc5s2.js → agent-kr5tz9tg.js} +13 -13
- package/dist/chunks/{formatter-z8v7gvjr.js → agent-krkmjgqt.js} +4 -4
- package/dist/chunks/{formatter-hx84edxk.js → agent-kv09cb3a.js} +27 -27
- package/dist/chunks/{formatter-9k5nd582.js → agent-kv4cnfdg.js} +11 -11
- package/dist/chunks/{formatter-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
- package/dist/chunks/{formatter-jenyss2j.js → agent-m932xw4h.js} +92 -92
- package/dist/chunks/{formatter-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{formatter-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{formatter-qbfpb1f0.js → agent-mfqd2w1w.js} +11 -11
- package/dist/chunks/{formatter-94pxtz7z.js → agent-mfr6y76k.js} +32 -32
- package/dist/chunks/{formatter-mcx07ywn.js → agent-mpt2r5zq.js} +20 -20
- package/dist/chunks/{formatter-kqv3x6rj.js → agent-mqqhst8y.js} +9 -9
- package/dist/chunks/{formatter-h2kyp2k8.js → agent-mv1ymdtg.js} +19 -19
- package/dist/chunks/{formatter-0p9mfh2n.js → agent-myq0d0f8.js} +46 -46
- package/dist/chunks/{formatter-bmbcx8rq.js → agent-n0mggk70.js} +14 -14
- package/dist/chunks/{formatter-dfas0t5m.js → agent-nd8yk64t.js} +21 -21
- package/dist/chunks/{formatter-tqqz4vd3.js → agent-nm12rwgq.js} +37 -37
- package/dist/chunks/{formatter-ehhzjzg9.js → agent-npqh6ge9.js} +25 -25
- package/dist/chunks/{formatter-qeerce1j.js → agent-nt7xys9a.js} +6 -6
- package/dist/chunks/{formatter-rfjqb3at.js → agent-nxh1x0e6.js} +4 -4
- package/dist/chunks/{formatter-atw0nmwb.js → agent-p11y68zd.js} +103 -92
- package/dist/chunks/{formatter-1trtmymx.js → agent-p34jt0r0.js} +9 -9
- package/dist/chunks/{formatter-h773d6ye.js → agent-patgj9rf.js} +9 -9
- package/dist/chunks/{formatter-zc5eqfjp.js → agent-pem2t63f.js} +27 -27
- package/dist/chunks/{formatter-ce8h3b7e.js → agent-ph7nwd8c.js} +18 -18
- package/dist/chunks/{formatter-jewzahs7.js → agent-ph842b28.js} +4 -4
- package/dist/chunks/{formatter-203zgaw2.js → agent-phs0t85n.js} +21 -21
- package/dist/chunks/{formatter-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{formatter-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{formatter-s1kvmffy.js → agent-prq7hedt.js} +9 -9
- package/dist/chunks/{formatter-qqnq3pfw.js → agent-pxs39pc3.js} +11 -11
- package/dist/chunks/{formatter-wae706r8.js → agent-q2n0rt41.js} +27 -27
- package/dist/chunks/{formatter-b62ge4zn.js → agent-q8wzy7az.js} +20 -20
- package/dist/chunks/{formatter-3fwp5q7a.js → agent-qazp8rf3.js} +11 -11
- package/dist/chunks/{formatter-p4d6c50e.js → agent-qkq2g0a5.js} +24 -24
- package/dist/chunks/{formatter-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{formatter-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{formatter-e56fapwx.js → agent-qy5x06df.js} +14 -14
- package/dist/chunks/{formatter-cfmd5k4e.js → agent-r061574r.js} +11 -11
- package/dist/chunks/{formatter-e80seqcp.js → agent-r2z489rp.js} +3 -3
- package/dist/chunks/{formatter-zjtex0m8.js → agent-r3dq8634.js} +19 -19
- package/dist/chunks/{formatter-p2wc8by9.js → agent-r66ezcem.js} +5 -5
- package/dist/chunks/{formatter-n0vd09xy.js → agent-r8fetm84.js} +25 -25
- package/dist/chunks/{formatter-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{formatter-3cs8vskg.js → agent-rfw5rhm2.js} +28 -28
- package/dist/chunks/{formatter-1p07q0wb.js → agent-rkprpv83.js} +4 -4
- package/dist/chunks/{formatter-v210v162.js → agent-rm4mkcw0.js} +2 -2
- package/dist/chunks/{formatter-xz5yaecw.js → agent-rm9y9bjp.js} +5 -5
- package/dist/chunks/{formatter-9amzje03.js → agent-rt4fnzs6.js} +31 -31
- package/dist/chunks/{formatter-h9dtrat0.js → agent-rwf1b84d.js} +23 -23
- package/dist/chunks/{formatter-tab66rh2.js → agent-s0tzm455.js} +21 -21
- package/dist/chunks/{formatter-cs38p47h.js → agent-s7mka24n.js} +10 -10
- package/dist/chunks/{formatter-yrtpa8wx.js → agent-skj0g5v1.js} +22 -22
- package/dist/chunks/{formatter-f7x62ryq.js → agent-swa3405n.js} +11 -11
- package/dist/chunks/{formatter-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{formatter-8byytgyx.js → agent-szjae43c.js} +17 -17
- package/dist/chunks/{formatter-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{formatter-d732h4n9.js → agent-tc1y46p2.js} +50 -50
- package/dist/chunks/{formatter-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{formatter-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/agent-tf3jhtnp.js +26 -0
- package/dist/chunks/{formatter-rert0e01.js → agent-tkb22qbm.js} +2 -2
- package/dist/chunks/{formatter-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{formatter-yj7k2rcj.js → agent-tt3gk2hg.js} +6 -6
- package/dist/chunks/{formatter-395q6j9z.js → agent-tt8gc4fv.js} +6 -6
- package/dist/chunks/{formatter-xbh68ncd.js → agent-ttk95yaa.js} +2 -2
- package/dist/chunks/{formatter-251hxpd6.js → agent-txyw6bh0.js} +2 -2
- package/dist/chunks/{formatter-5mft05pe.js → agent-tyvgjd0d.js} +5 -5
- package/dist/chunks/{formatter-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{formatter-nz56sr1f.js → agent-v13b12ef.js} +5 -5
- package/dist/chunks/{formatter-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{formatter-espax8zg.js → agent-v7z2bvyd.js} +4 -4
- package/dist/chunks/agent-v8w58kqh.js +257 -0
- package/dist/chunks/{formatter-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{formatter-7e4pefvc.js → agent-vhmbycym.js} +11 -11
- package/dist/chunks/{formatter-4wqt7het.js → agent-vqawp4fr.js} +24 -24
- package/dist/chunks/{formatter-r5wrwntj.js → agent-vtccvqmx.js} +8 -8
- package/dist/chunks/{formatter-zra002vw.js → agent-vxyj8dbg.js} +8 -8
- package/dist/chunks/{formatter-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{formatter-1y9xp183.js → agent-w1d288hs.js} +11 -11
- package/dist/chunks/{formatter-t7xww937.js → agent-w3prdgep.js} +22 -22
- package/dist/chunks/{formatter-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{formatter-j35vv7b5.js → agent-wb348f7j.js} +14 -14
- package/dist/chunks/{formatter-9dmgeva7.js → agent-wbr94c2z.js} +14 -14
- package/dist/chunks/{formatter-7td3bf7z.js → agent-wcb0e0c5.js} +32 -32
- package/dist/chunks/{formatter-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{formatter-2dw5dn9g.js → agent-wdvgmdgr.js} +11 -11
- package/dist/chunks/{formatter-1tpad9e7.js → agent-wkywfvx2.js} +34 -34
- package/dist/chunks/{formatter-yy3kg1fv.js → agent-wrj35e6x.js} +25 -25
- package/dist/chunks/{formatter-9qj6r5f0.js → agent-wsktzrj4.js} +21 -21
- package/dist/chunks/{formatter-s5qwk0zt.js → agent-wz92t8pf.js} +17 -17
- package/dist/chunks/{formatter-3wfk8mje.js → agent-x1gzjej3.js} +26 -26
- package/dist/chunks/{formatter-dqkkx36v.js → agent-x8sfg8by.js} +4 -4
- package/dist/chunks/{formatter-dg5rqj0n.js → agent-xayeaa42.js} +11 -11
- package/dist/chunks/{formatter-8461pshg.js → agent-xczw7yg4.js} +19 -19
- package/dist/chunks/{formatter-zwry6xz6.js → agent-xnjezwp4.js} +6 -6
- package/dist/chunks/{formatter-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{formatter-8ctfqkqg.js → agent-y38n4jcf.js} +13 -13
- package/dist/chunks/{formatter-makk65js.js → agent-y87j8r2r.js} +6 -6
- package/dist/chunks/{formatter-k5t508je.js → agent-y8w5cv04.js} +31 -31
- package/dist/chunks/{formatter-p9gv02yh.js → agent-ytcwff8w.js} +12 -12
- package/dist/chunks/{formatter-8ww2gede.js → agent-yw5dp6ck.js} +8 -8
- package/dist/chunks/{formatter-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{formatter-fww2ha2b.js → agent-z0y78ctd.js} +10 -10
- package/dist/chunks/{formatter-z18fegx4.js → agent-z18fegx4.js} +1 -1
- package/dist/chunks/{formatter-nj4dn6eg.js → agent-z9vmg6yp.js} +29 -29
- package/dist/chunks/{formatter-s94jvcwp.js → agent-zktsegv2.js} +3 -3
- package/dist/chunks/{formatter-8qsxj3by.js → agent-zmr2d85t.js} +20 -20
- package/dist/chunks/{formatter-v9g0pqb4.js → agent-znsyjbg0.js} +18 -18
- package/dist/chunks/{formatter-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{formatter-5d5n4d4j.js → agent-zrnfzdm4.js} +15 -15
- package/dist/chunks/{formatter-jmb2kt53.js → agent-ztbcatd2.js} +5 -5
- package/dist/chunks/{formatter-10r957wz.js → agent-zv1ky7bp.js} +13 -13
- package/dist/chunks/{formatter-bbbvx8fy.js → agent-zxck4pyt.js} +20 -20
- package/dist/chunks/{formatter-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/chunks/{formatter-pg10y3ka.js → agent-zy7kxqpe.js} +18 -18
- package/dist/chunks/{formatter-jn753vst.js → agent-zzw58bf3.js} +8 -8
- 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 +83 -83
- 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 +208 -208
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- 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 +116 -116
- 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 +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- 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 +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- 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 +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +370 -370
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- 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 +3 -3
- 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 +219 -219
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- 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 +106 -106
- 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 +93 -93
- 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 +361 -361
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- 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 +158 -158
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +358 -358
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +127 -127
- 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 +93 -93
- package/dist/model-resolver.js +98 -98
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- 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 +119 -119
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +90 -90
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- 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 +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- 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/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 +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- 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 +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +100 -100
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +1 -1
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- 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 +221 -221
- 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 +91 -91
- 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 +136 -136
- 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 +218 -218
- package/dist/session/execution.js +129 -129
- package/dist/session/generate.js +155 -155
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- 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 +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- 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 +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- 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 +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +77 -77
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +210 -210
- 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 +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- 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 +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 +118 -118
- 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 +124 -124
- package/dist/tool/plugin/question.js +107 -107
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +12 -12
- 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 +7 -7
- 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 +7 -7
- 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/voice.js +90 -90
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- 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 +100 -100
- package/package.json +8 -8
- package/dist/chunks/formatter-dcebnfa2.js +0 -26
- package/dist/chunks/formatter-s979kwnv.js +0 -257
- /package/dist/chunks/{formatter-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{formatter-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{formatter-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{formatter-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{formatter-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{formatter-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{formatter-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{formatter-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{formatter-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{formatter-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{formatter-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{formatter-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{formatter-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{formatter-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{formatter-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{formatter-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{formatter-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{formatter-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{formatter-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{formatter-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{formatter-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{formatter-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{formatter-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{formatter-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{formatter-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{formatter-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{formatter-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{formatter-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{formatter-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{formatter-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{formatter-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{formatter-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{formatter-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{formatter-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{formatter-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{formatter-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{formatter-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{formatter-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{formatter-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{formatter-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{formatter-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{formatter-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{formatter-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{formatter-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{formatter-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{formatter-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{formatter-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{formatter-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{formatter-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{formatter-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{formatter-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{formatter-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{formatter-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{formatter-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{formatter-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{formatter-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{formatter-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{formatter-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{formatter-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{formatter-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{formatter-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{formatter-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{formatter-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{formatter-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{formatter-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{formatter-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{formatter-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{formatter-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{formatter-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{formatter-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{formatter-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{formatter-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{formatter-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{formatter-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{formatter-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{formatter-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{formatter-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{formatter-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{formatter-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{formatter-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{formatter-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{formatter-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{formatter-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{formatter-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{formatter-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{formatter-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{formatter-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{formatter-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{formatter-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{formatter-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{formatter-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{formatter-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{formatter-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{formatter-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{formatter-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{formatter-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{formatter-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{formatter-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{formatter-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{formatter-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{formatter-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-hgz4x7wa.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-eej6y6fw.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./agent-3hwn7j4h.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./agent-v7p4zvkq.js";
|
|
16
16
|
import {
|
|
17
17
|
Service82,
|
|
18
18
|
node86
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./agent-fpvfk2w9.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service60,
|
|
22
|
+
node63
|
|
23
|
+
} from "./agent-rt4fnzs6.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service59,
|
|
33
|
+
node: () => node62
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound3,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service59,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node62,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service59 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
65
|
const location = yield* Service82;
|
|
66
|
-
const workspace = yield*
|
|
66
|
+
const workspace = yield* Service60;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service59.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node62 = makeLocationNode({
|
|
71
|
+
service: Service59,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node, node86,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node86, node63]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service59, node62, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service3,
|
|
13
|
+
node: () => node4
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service3 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service3, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service3.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node4 = makeGlobalNode({ service: Service3, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service3, node4, exports_update };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Entries2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Info15
|
|
7
|
+
} from "./agent-mqqhst8y.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/v1/config/agent.ts
|
|
13
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
ConfigAgentV1: () =>
|
|
16
|
-
Info: () =>
|
|
13
|
+
var exports_agent3 = {};
|
|
14
|
+
__export(exports_agent3, {
|
|
15
|
+
ConfigAgentV1: () => exports_agent3,
|
|
16
|
+
Info: () => Info14
|
|
17
17
|
});
|
|
18
18
|
import { Schema, SchemaGetter } from "effect";
|
|
19
19
|
var Color = Schema.Union([
|
|
@@ -45,7 +45,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
45
45
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
46
46
|
}),
|
|
47
47
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
48
|
-
permission: Schema.optional(
|
|
48
|
+
permission: Schema.optional(Info15)
|
|
49
49
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
50
50
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
51
51
|
var normalize = (agent) => {
|
|
@@ -64,9 +64,9 @@ var normalize = (agent) => {
|
|
|
64
64
|
const steps = agent.steps ?? agent.maxSteps;
|
|
65
65
|
return { ...agent, options, permission: [...permission], ...steps !== undefined ? { steps } : {} };
|
|
66
66
|
};
|
|
67
|
-
var
|
|
67
|
+
var Info14 = AgentSchema.pipe(Schema.decodeTo(Schema.toType(AgentSchema), {
|
|
68
68
|
decode: SchemaGetter.transform(normalize),
|
|
69
69
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
70
70
|
})).annotate({ identifier: "AgentConfig" });
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Info14, exports_agent3 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-7qr8wxzf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service84
|
|
6
|
+
} from "./agent-h7p9ang8.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event18
|
|
10
|
+
} from "./agent-frvft4h3.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-azwe5p1w.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID10,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./agent-9x2418wc.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service22
|
|
21
|
+
} from "./agent-z0y78ctd.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID9,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./agent-4errqqkt.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./agent-wcb0e0c5.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve4
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./agent-2sjbdn5v.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID4,
|
|
36
|
+
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-rfw5rhm2.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import {
|
|
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
73
73
|
var RemoteResponse = Schema.Struct({
|
|
74
74
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
75
75
|
websearch: Schema.Struct({
|
|
76
|
-
providerID:
|
|
76
|
+
providerID: ID4
|
|
77
77
|
}).pipe(Schema.optional),
|
|
78
78
|
mcp: Schema.Struct({
|
|
79
79
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
124
124
|
}
|
|
125
125
|
function oauth(http) {
|
|
126
126
|
return {
|
|
127
|
-
integrationID:
|
|
127
|
+
integrationID: ID10.make("opencode"),
|
|
128
128
|
method: {
|
|
129
129
|
id: methodID,
|
|
130
130
|
type: "oauth",
|
|
@@ -189,10 +189,10 @@ var OpencodePlugin2 = define({
|
|
|
189
189
|
id: "opencode.provider.opencode",
|
|
190
190
|
effect: Effect.fn(function* (ctx) {
|
|
191
191
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
192
|
-
const bus = yield*
|
|
192
|
+
const bus = yield* Service84;
|
|
193
193
|
const client = yield* HttpClient.HttpClient;
|
|
194
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
|
-
const managed = yield*
|
|
195
|
+
const managed = yield* Service22;
|
|
196
196
|
const scope = yield* Scope.Scope;
|
|
197
197
|
const loading = Semaphore.makeUnsafe(1);
|
|
198
198
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -246,7 +246,7 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
providers.update(providerID, (provider) => {
|
|
247
247
|
if (source && source.provider !== provider)
|
|
248
248
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
249
|
-
provider.integrationID =
|
|
249
|
+
provider.integrationID = ID10.make("opencode");
|
|
250
250
|
if (item.canonical !== undefined)
|
|
251
251
|
provider.canonical = item.canonical;
|
|
252
252
|
if (item.name !== undefined)
|
|
@@ -320,7 +320,7 @@ var OpencodePlugin2 = define({
|
|
|
320
320
|
sourceConnection: snapshot.connection
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
|
-
const item = providers.get(
|
|
323
|
+
const item = providers.get(ID9.opencode);
|
|
324
324
|
if (!item)
|
|
325
325
|
return;
|
|
326
326
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
});
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.model.transform((models) => {
|
|
335
|
-
const item = models.provider.get(
|
|
335
|
+
const item = models.provider.get(ID9.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -366,7 +366,7 @@ var OpencodePlugin2 = define({
|
|
|
366
366
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
367
367
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
368
368
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
369
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
369
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
370
370
|
query: input.query,
|
|
371
371
|
providerID: descriptor.providerID
|
|
372
372
|
}));
|
|
@@ -427,7 +427,7 @@ var OpencodePlugin2 = define({
|
|
|
427
427
|
});
|
|
428
428
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
429
429
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
430
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
430
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID9.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
431
431
|
});
|
|
432
432
|
yield* guard(snapshot);
|
|
433
433
|
const polling = yield* FiberHandle.make();
|
|
@@ -438,7 +438,7 @@ var OpencodePlugin2 = define({
|
|
|
438
438
|
onlyIfMissing: true
|
|
439
439
|
});
|
|
440
440
|
});
|
|
441
|
-
yield* bus.subscribe(
|
|
441
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
442
442
|
yield* poll();
|
|
443
443
|
})
|
|
444
444
|
});
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service86,
|
|
6
|
+
node90
|
|
7
|
+
} from "./agent-7styb3mj.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service66,
|
|
16
|
+
node70
|
|
17
|
+
} from "./agent-67yefhx6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/repository-cache.ts
|
|
23
23
|
var exports_repository_cache = {};
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service47,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node50,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service47 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,13 +101,13 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service86;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service66;
|
|
110
|
+
return Service47.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node50 = makeGlobalNode({
|
|
171
|
+
service: Service47,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node90, Global.node, node70]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service47, isError2, validateBranch2, node50, exports_repository_cache };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
isAISDK2,
|
|
4
4
|
packageName2,
|
|
5
5
|
timeouts2,
|
|
6
6
|
mergeOverlay2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-4errqqkt.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/aisdk.ts
|
|
13
13
|
var exports_aisdk = {};
|
|
14
14
|
__export(exports_aisdk, {
|
|
15
15
|
AISDK: () => exports_aisdk,
|
|
16
16
|
InitError: () => InitError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service57,
|
|
18
18
|
locationLayer: () => locationLayer2,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node60
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { APICallError } from "@ai-sdk/provider";
|
|
@@ -151,7 +151,7 @@ function throughMiddleware(store, send, input, init) {
|
|
|
151
151
|
var HEADER_TIMEOUT_MESSAGE = "Response headers timed out";
|
|
152
152
|
|
|
153
153
|
class InitError2 extends Schema.TaggedError()("AISDK.InitError", {
|
|
154
|
-
providerID:
|
|
154
|
+
providerID: ID9,
|
|
155
155
|
cause: Schema.Defect()
|
|
156
156
|
}) {
|
|
157
157
|
}
|
|
@@ -159,9 +159,9 @@ function initError(providerID) {
|
|
|
159
159
|
return Effect.catchCause((cause) => Effect.fail(new InitError2({ providerID, cause: Cause.squash(cause) })));
|
|
160
160
|
}
|
|
161
161
|
|
|
162
|
-
class
|
|
162
|
+
class Service57 extends Context.Service()("@opencode/AISDK") {
|
|
163
163
|
}
|
|
164
|
-
var locationLayer2 = Layer.effect(
|
|
164
|
+
var locationLayer2 = Layer.effect(Service57, Effect.gen(function* () {
|
|
165
165
|
let sdkHooks = [];
|
|
166
166
|
let languageHooks = [];
|
|
167
167
|
const languages = new Map;
|
|
@@ -199,7 +199,7 @@ var locationLayer2 = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
199
199
|
}
|
|
200
200
|
return event;
|
|
201
201
|
});
|
|
202
|
-
const service =
|
|
202
|
+
const service = Service57.of({
|
|
203
203
|
hook: {
|
|
204
204
|
sdk: register(() => sdkHooks, (next) => sdkHooks = next),
|
|
205
205
|
language: register(() => languageHooks, (next) => languageHooks = next)
|
|
@@ -874,6 +874,6 @@ function providerErrorMessage(error) {
|
|
|
874
874
|
const prefix = error.statusCode === undefined ? "Provider request failed" : `Provider request failed with HTTP ${error.statusCode}`;
|
|
875
875
|
return error.message.trim() !== "" ? error.message : message ?? (code === undefined ? prefix : `${prefix}: ${code}`);
|
|
876
876
|
}
|
|
877
|
-
var
|
|
877
|
+
var node60 = makeLocationNode({ service: Service57, layer: locationLayer2, deps: [] });
|
|
878
878
|
|
|
879
|
-
export { InitError2,
|
|
879
|
+
export { InitError2, Service57, locationLayer2, node60, exports_aisdk };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./agent-h7p9ang8.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./agent-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
evaluate2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./agent-785qcqx9.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/skill.ts
|
|
16
16
|
var exports_skill5 = {};
|
|
@@ -18,15 +18,15 @@ __export(exports_skill5, {
|
|
|
18
18
|
DirectorySource: () => DirectorySource2,
|
|
19
19
|
EmbeddedSource: () => EmbeddedSource2,
|
|
20
20
|
Event: () => Event7,
|
|
21
|
-
ID: () =>
|
|
22
|
-
Info: () =>
|
|
21
|
+
ID: () => ID5,
|
|
22
|
+
Info: () => Info6,
|
|
23
23
|
Name: () => Name2,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service40,
|
|
25
25
|
Skill: () => exports_skill5,
|
|
26
26
|
Source: () => Source3,
|
|
27
27
|
UrlSource: () => UrlSource2,
|
|
28
28
|
available: () => available2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node43,
|
|
30
30
|
prepare: () => prepare3,
|
|
31
31
|
toModelOutput: () => toModelOutput3
|
|
32
32
|
});
|
|
@@ -40,8 +40,8 @@ var DirectorySource2 = Skill.DirectorySource;
|
|
|
40
40
|
var UrlSource2 = Skill.UrlSource;
|
|
41
41
|
var EmbeddedSource2 = Skill.EmbeddedSource;
|
|
42
42
|
var Source3 = Skill.Source;
|
|
43
|
-
var
|
|
44
|
-
var
|
|
43
|
+
var Info6 = Skill.Info;
|
|
44
|
+
var ID5 = Skill.ID;
|
|
45
45
|
var Name2 = Skill.Name;
|
|
46
46
|
var available2 = (skills, permissions) => skills.filter((skill) => evaluate2("skill", skill.id, permissions).effect !== "deny");
|
|
47
47
|
var toModelOutput3 = (skill, files) => {
|
|
@@ -78,33 +78,33 @@ var prepare3 = Effect.fn("Skill.prepare")(function* (fs, skill) {
|
|
|
78
78
|
};
|
|
79
79
|
});
|
|
80
80
|
|
|
81
|
-
class
|
|
81
|
+
class Service40 extends Context.Service()("@opencode/Skill") {
|
|
82
82
|
}
|
|
83
|
-
var layer = Layer.effect(
|
|
84
|
-
const bus = yield*
|
|
83
|
+
var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
84
|
+
const bus = yield* Service84;
|
|
85
85
|
const state = create3({
|
|
86
86
|
name: "skill",
|
|
87
87
|
initial: () => ({ skills: new Map }),
|
|
88
88
|
editor: (editor) => ({
|
|
89
89
|
list: () => Array.from(editor.skills.values()),
|
|
90
|
-
get: (id) => editor.skills.get(
|
|
90
|
+
get: (id) => editor.skills.get(ID5.make(id)),
|
|
91
91
|
add: (skill) => {
|
|
92
92
|
editor.skills.set(skill.id, { ...skill });
|
|
93
93
|
},
|
|
94
94
|
update: (id, update) => {
|
|
95
|
-
const current = editor.skills.get(
|
|
95
|
+
const current = editor.skills.get(ID5.make(id));
|
|
96
96
|
if (!current)
|
|
97
97
|
return;
|
|
98
98
|
update(current);
|
|
99
|
-
current.id =
|
|
99
|
+
current.id = ID5.make(id);
|
|
100
100
|
},
|
|
101
101
|
remove: (id) => {
|
|
102
|
-
editor.skills.delete(
|
|
102
|
+
editor.skills.delete(ID5.make(id));
|
|
103
103
|
}
|
|
104
104
|
}),
|
|
105
105
|
notify: () => bus.publish(Skill.Event.Updated, {}).pipe(Effect.asVoid)
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service40.of({
|
|
108
108
|
transform: state.transform,
|
|
109
109
|
reload: state.reload,
|
|
110
110
|
get: Effect.fn("Skill.get")(function* (id) {
|
|
@@ -115,10 +115,10 @@ var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
}));
|
|
118
|
-
var
|
|
119
|
-
service:
|
|
118
|
+
var node43 = makeLocationNode({
|
|
119
|
+
service: Service40,
|
|
120
120
|
layer,
|
|
121
|
-
deps: [
|
|
121
|
+
deps: [node88]
|
|
122
122
|
});
|
|
123
123
|
|
|
124
|
-
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3,
|
|
124
|
+
export { DirectorySource2, UrlSource2, EmbeddedSource2, Source3, Info6, ID5, Name2, available2, toModelOutput3, prepare3, Service40, node43, exports_skill5, Event7 };
|