@opencode/core 0.0.0-dev-21400 → 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/agent-06anjssm.js +517 -0
- package/dist/chunks/{integration-gd21krqw.js → agent-0bxh5w1j.js} +51 -51
- package/dist/chunks/{integration-0z8k20qt.js → agent-0e3fqjja.js} +4 -4
- package/dist/chunks/{integration-0vbcp93d.js → agent-0emb60td.js} +2 -2
- package/dist/chunks/{integration-qz2zn6bz.js → agent-0h9t1hvk.js} +20 -20
- package/dist/chunks/{integration-f5g613mz.js → agent-0j86m4bq.js} +22 -22
- package/dist/chunks/{integration-b814pqjv.js → agent-0mxkd3yj.js} +27 -27
- package/dist/chunks/{integration-z9rpca8e.js → agent-0rn1xwp2.js} +35 -35
- package/dist/chunks/{integration-qhjz4nk7.js → agent-0xg80fyc.js} +42 -42
- package/dist/chunks/{integration-3q6xhx9s.js → agent-19ewsxs1.js} +6 -6
- package/dist/chunks/{integration-1ep4rre3.js → agent-1ep4rre3.js} +1 -1
- package/dist/chunks/{integration-2t2hkz5h.js → agent-1k0445q3.js} +3 -3
- package/dist/chunks/{integration-ja85gq48.js → agent-1r4j4yg9.js} +6 -6
- package/dist/chunks/{integration-f5f2xkrz.js → agent-2105cad3.js} +19 -19
- package/dist/chunks/{integration-kcnrzfx5.js → agent-24k0zg7j.js} +27 -27
- package/dist/chunks/{integration-za5t2a5t.js → agent-258tza17.js} +8 -8
- package/dist/chunks/{integration-zmza6fp1.js → agent-25pr2p8h.js} +15 -15
- package/dist/chunks/{integration-f4qaw8sq.js → agent-2806g74y.js} +21 -21
- package/dist/chunks/{integration-k1gkpfdk.js → agent-2ktf0ed2.js} +8 -8
- package/dist/chunks/{integration-800svs9d.js → agent-2ns3sh3v.js} +24 -24
- package/dist/chunks/{integration-934j0nj4.js → agent-2r33jwsv.js} +17 -17
- package/dist/chunks/{integration-mp74g7b7.js → agent-2sjbdn5v.js} +6 -6
- package/dist/chunks/{integration-4q5kbzs8.js → agent-2yj9p1ch.js} +16 -16
- package/dist/chunks/{integration-13pwrq08.js → agent-311a602a.js} +6 -6
- package/dist/chunks/{integration-4m1yzeyd.js → agent-3d0wbggw.js} +28 -28
- package/dist/chunks/{integration-p4q86yv2.js → agent-3dkckj9q.js} +11 -11
- package/dist/chunks/{integration-y7pgyxkg.js → agent-3f7b88yc.js} +5 -5
- package/dist/chunks/{integration-4b3rtzjv.js → agent-3fsbjx5g.js} +11 -11
- package/dist/chunks/{integration-3hepkmqq.js → agent-3hepkmqq.js} +1 -1
- package/dist/chunks/{integration-3hwn7j4h.js → agent-3hwn7j4h.js} +2 -2
- package/dist/chunks/{integration-3smtnn6g.js → agent-3smtnn6g.js} +1 -1
- package/dist/chunks/{integration-3tvqynh2.js → agent-3tvqynh2.js} +1 -1
- package/dist/chunks/{integration-mf6d2h7g.js → agent-3vq2z5ky.js} +24 -24
- package/dist/chunks/{integration-3zsf4n22.js → agent-3zsf4n22.js} +1 -1
- package/dist/chunks/{integration-e08f4c6r.js → agent-413rtwqn.js} +26 -26
- package/dist/chunks/{integration-dfna98nn.js → agent-41fs7rd0.js} +5 -5
- package/dist/chunks/{integration-2k9fjx65.js → agent-43kvem2p.js} +5 -5
- package/dist/chunks/{integration-n7d88tpn.js → agent-48kw51zw.js} +3 -3
- package/dist/chunks/{integration-55hbb76y.js → agent-4errqqkt.js} +316 -316
- package/dist/chunks/{integration-brqwwxd9.js → agent-4k34fdzq.js} +22 -22
- package/dist/chunks/{integration-48qdc1yv.js → agent-4vfzemd0.js} +25 -25
- package/dist/chunks/{integration-cv79md57.js → agent-4yhgmfzd.js} +15 -15
- package/dist/chunks/{integration-w1y9j7wp.js → agent-51136wbh.js} +23 -23
- package/dist/chunks/{integration-5m1k5f2x.js → agent-52wp07n9.js} +15 -15
- package/dist/chunks/{integration-54ma36ye.js → agent-54ma36ye.js} +1 -1
- package/dist/chunks/{integration-yk3tj2ph.js → agent-5acs8yhy.js} +22 -22
- package/dist/chunks/{integration-cq80t14v.js → agent-5g0489kz.js} +1 -1
- package/dist/chunks/{integration-g6cmhjhc.js → agent-5hrhvvkv.js} +9 -9
- package/dist/chunks/{integration-5m9w47nd.js → agent-5m9w47nd.js} +1 -1
- package/dist/chunks/{integration-769tbavh.js → agent-5n7p33rt.js} +24 -24
- package/dist/chunks/{integration-e3qxr5gk.js → agent-5qd3pb7m.js} +2 -2
- package/dist/chunks/{integration-apmcndv6.js → agent-5ska0mvd.js} +9 -9
- package/dist/chunks/{integration-90gpqzrf.js → agent-5sr1d0gb.js} +14 -14
- package/dist/chunks/{integration-ymwwt0n9.js → agent-5t6265c7.js} +4 -4
- package/dist/chunks/{integration-xsaqx0ee.js → agent-5t93s459.js} +22 -22
- package/dist/chunks/{integration-e27hwaem.js → agent-5yetjxfm.js} +47 -47
- package/dist/chunks/{integration-e8gpbsfk.js → agent-648rfa8c.js} +11 -11
- package/dist/chunks/{integration-yjhcbcyq.js → agent-64zrm0g5.js} +25 -25
- package/dist/chunks/{integration-c7bc93w5.js → agent-67yefhx6.js} +13 -13
- package/dist/chunks/{integration-6827pfxn.js → agent-6827pfxn.js} +1 -1
- package/dist/chunks/{integration-fm2qvscf.js → agent-6hh8tjw2.js} +4 -4
- package/dist/chunks/{integration-m9r76w9d.js → agent-6rzpq3dm.js} +23 -23
- package/dist/chunks/{integration-nxsw8rdh.js → agent-6vmcxv92.js} +42 -42
- package/dist/chunks/{integration-6xb47vfp.js → agent-6xb47vfp.js} +1 -1
- package/dist/chunks/{integration-sq4e5vjp.js → agent-6ytgs7sy.js} +16 -16
- package/dist/chunks/{integration-1q4m6bjw.js → agent-6ztqc8am.js} +32 -32
- package/dist/chunks/{integration-xgvfckhv.js → agent-769tdh5t.js} +9 -9
- package/dist/chunks/{integration-sfvc4kvq.js → agent-77590sxh.js} +32 -32
- package/dist/chunks/{integration-775gj3j1.js → agent-775gj3j1.js} +2 -2
- package/dist/chunks/{integration-t7p3k77a.js → agent-785qcqx9.js} +63 -63
- package/dist/chunks/{integration-3dgrt0mx.js → agent-7b3yybgh.js} +28 -28
- package/dist/chunks/{integration-7bmhse3q.js → agent-7bmhse3q.js} +1 -1
- package/dist/chunks/{integration-15nepkqg.js → agent-7j2qha59.js} +8 -8
- package/dist/chunks/{integration-e11dcvq9.js → agent-7j94r4am.js} +11 -11
- package/dist/chunks/{integration-s12gfbyh.js → agent-7peb95f4.js} +17 -17
- package/dist/chunks/{integration-sa6hfqx0.js → agent-7qr8wxzf.js} +11 -11
- package/dist/chunks/{integration-gyk6nsb6.js → agent-7styb3mj.js} +12 -12
- package/dist/chunks/{integration-qa6yn60q.js → agent-7tsk134r.js} +43 -43
- package/dist/chunks/{integration-n0hf96rg.js → agent-80dnw97j.js} +18 -18
- package/dist/chunks/{integration-p6de8efc.js → agent-83wmws4f.js} +5 -5
- package/dist/chunks/{integration-84txncab.js → agent-84txncab.js} +1 -1
- package/dist/chunks/{integration-twrece6b.js → agent-87e86qhn.js} +13 -13
- package/dist/chunks/{integration-x20jwhze.js → agent-89rmaqwz.js} +20 -20
- package/dist/chunks/{integration-8m6m0r52.js → agent-8m6m0r52.js} +1 -1
- package/dist/chunks/{integration-8mywswrd.js → agent-8mywswrd.js} +1 -1
- package/dist/chunks/{integration-ttp7jz1g.js → agent-8nwjdb3a.js} +13 -13
- package/dist/chunks/{integration-1qsbkskw.js → agent-8rfkbrwf.js} +21 -21
- package/dist/chunks/{integration-bcdra7kn.js → agent-8vn1y58j.js} +43 -43
- package/dist/chunks/{integration-1yrags5a.js → agent-8zw1ss66.js} +19 -19
- package/dist/chunks/{integration-e1zyg074.js → agent-990hmman.js} +5 -5
- package/dist/chunks/{integration-gzs4gm3b.js → agent-9j735w9d.js} +4 -4
- package/dist/chunks/{integration-vcj0xgn5.js → agent-9pfmptwy.js} +4 -4
- package/dist/chunks/{integration-mrpx4z7z.js → agent-9x2418wc.js} +35 -35
- package/dist/chunks/agent-9zdhvgqs.js +18 -0
- package/dist/chunks/{integration-7v6vae4w.js → agent-a20pjse5.js} +3 -3
- package/dist/chunks/{integration-ajegxx37.js → agent-adarn49r.js} +32 -32
- package/dist/chunks/{integration-ffc75mqb.js → agent-arkvwkjz.js} +28 -28
- package/dist/chunks/{integration-mzhc45d7.js → agent-avafw0st.js} +8 -8
- package/dist/chunks/{integration-3y377wv9.js → agent-azwe5p1w.js} +4 -4
- package/dist/chunks/{integration-tp2gr61g.js → agent-b0eyz8c6.js} +68 -68
- package/dist/chunks/{integration-eyt2ae32.js → agent-b32gwffb.js} +7 -7
- package/dist/chunks/{integration-awc6hp4j.js → agent-b42w3z1p.js} +51 -51
- package/dist/chunks/{integration-afdssyjb.js → agent-baaqp4zd.js} +4 -4
- package/dist/chunks/{integration-947atj7z.js → agent-bhxykftm.js} +18 -18
- package/dist/chunks/{integration-1ffvrpkg.js → agent-bjx1sjef.js} +6 -6
- package/dist/chunks/{integration-1w3gr0hk.js → agent-bk5jw64x.js} +17 -17
- package/dist/chunks/{integration-ftwvamdf.js → agent-bqm60g8j.js} +7 -7
- package/dist/chunks/{integration-t5b9bd5f.js → agent-c0k7v243.js} +16 -16
- package/dist/chunks/{integration-c69xjg46.js → agent-c0t9grq8.js} +10 -10
- package/dist/chunks/{integration-rj3eygr5.js → agent-c41wscbt.js} +2 -2
- package/dist/chunks/{integration-62j8g70n.js → agent-c5zgdys3.js} +11 -11
- package/dist/chunks/{integration-sa8ekw3f.js → agent-c8ax2afj.js} +2 -2
- package/dist/chunks/{integration-59w7fme0.js → agent-chebftdj.js} +23 -23
- package/dist/chunks/{integration-tk14y25j.js → agent-cxbh1760.js} +5 -5
- package/dist/chunks/{integration-7azbjd0w.js → agent-d2agymww.js} +11 -11
- package/dist/chunks/{integration-225t3xsh.js → agent-dbwwhbac.js} +5 -5
- package/dist/chunks/{integration-rpgkwa3n.js → agent-dhb2hta4.js} +5 -5
- package/dist/chunks/{integration-y71avatq.js → agent-dpkg50ah.js} +4 -4
- package/dist/chunks/{integration-xfkkasph.js → agent-drwq78ky.js} +4 -4
- package/dist/chunks/{integration-bacj9t34.js → agent-dx93tj1b.js} +9 -9
- package/dist/chunks/{integration-tegs1ycp.js → agent-dzse07y5.js} +6 -6
- package/dist/chunks/{integration-z0ydvj27.js → agent-e7gxy7fd.js} +4 -4
- package/dist/chunks/{integration-w1rn2yxb.js → agent-e8ene3dj.js} +1 -1
- package/dist/chunks/{integration-k51kf5tx.js → agent-e9zedmrt.js} +14 -14
- package/dist/chunks/{integration-s8d7rejh.js → agent-eaj1djv9.js} +6 -6
- package/dist/chunks/{integration-eej6y6fw.js → agent-eej6y6fw.js} +2 -2
- package/dist/chunks/{integration-ef5x83kb.js → agent-ef5x83kb.js} +1 -1
- package/dist/chunks/{integration-zt6r252s.js → agent-ef7ha0bw.js} +62 -62
- package/dist/chunks/{integration-mqmg091n.js → agent-ekgsfedd.js} +195 -195
- package/dist/chunks/{integration-c1fqxshp.js → agent-es1vcfrp.js} +3 -3
- package/dist/chunks/{integration-8xfsevdr.js → agent-ewpt59p9.js} +24 -24
- package/dist/chunks/{integration-dzjgdqyv.js → agent-f8a3nfk1.js} +4 -4
- package/dist/chunks/{integration-ew7w9hgn.js → agent-fb5vvrxc.js} +50 -50
- package/dist/chunks/{integration-fcrkznn8.js → agent-fcrkznn8.js} +1 -1
- package/dist/chunks/{integration-fcy631f0.js → agent-fcy631f0.js} +1 -1
- package/dist/chunks/{integration-f60890a8.js → agent-fdx5estd.js} +7 -7
- package/dist/chunks/{integration-4wsb66z7.js → agent-fpqdxcxh.js} +31 -31
- package/dist/chunks/{integration-2pqw76jx.js → agent-fpvfk2w9.js} +17 -17
- package/dist/chunks/{integration-mt4gesv2.js → agent-frvft4h3.js} +35 -35
- package/dist/chunks/{integration-z5ywm6a2.js → agent-fs86bht4.js} +14 -14
- package/dist/chunks/{integration-ft3hqk2c.js → agent-ft3hqk2c.js} +2 -2
- package/dist/chunks/{integration-rzsh6kx4.js → agent-fyt5qzsq.js} +43 -43
- package/dist/chunks/{integration-czfptnv9.js → agent-g0445xdp.js} +8 -8
- package/dist/chunks/{integration-y51c10p8.js → agent-ga7ghyrz.js} +9 -9
- package/dist/chunks/{integration-gd4qta3r.js → agent-gd4qta3r.js} +1 -1
- package/dist/chunks/{integration-nrk5vjbf.js → agent-gfhhve88.js} +5 -5
- package/dist/chunks/{integration-jjj00axd.js → agent-gk8a4wxr.js} +4 -4
- package/dist/chunks/{integration-brbc5s62.js → agent-gkt49qec.js} +9 -9
- package/dist/chunks/{integration-t8qkyeq7.js → agent-gskka0f2.js} +3 -3
- package/dist/chunks/{integration-depqs9y8.js → agent-gvyg44wk.js} +14 -14
- package/dist/chunks/{integration-pm096g72.js → agent-h16h8dr2.js} +37 -37
- package/dist/chunks/{integration-h6vf3j39.js → agent-h6vf3j39.js} +1 -1
- package/dist/chunks/{integration-8jz8qmfg.js → agent-h7p9ang8.js} +16 -16
- package/dist/chunks/{integration-hgz4x7wa.js → agent-hgz4x7wa.js} +1 -1
- package/dist/chunks/{integration-fxaymqdw.js → agent-hq3c8me3.js} +4 -4
- package/dist/chunks/{integration-f0wjkft4.js → agent-hzvmf2xy.js} +45 -45
- package/dist/chunks/{integration-2by7hd3h.js → agent-j3yj9s0t.js} +39 -39
- package/dist/chunks/{integration-h5eadsz4.js → agent-ja4zcwdc.js} +13 -13
- package/dist/chunks/{integration-wx50686b.js → agent-jeapw6wp.js} +34 -34
- package/dist/chunks/{integration-e21ryx48.js → agent-jekssrtq.js} +5 -5
- package/dist/chunks/{integration-p1d8w4xf.js → agent-jsxyagrf.js} +7 -7
- package/dist/chunks/{integration-qkcb2e6n.js → agent-kdbj1bp6.js} +25 -25
- package/dist/chunks/{integration-tjajqbet.js → agent-ke0h2g6m.js} +2 -2
- package/dist/chunks/{integration-ang9ndb2.js → agent-kfy1bhn0.js} +9 -9
- package/dist/chunks/{integration-j93rm6mq.js → agent-kr5tz9tg.js} +13 -13
- package/dist/chunks/{integration-ya34eqrc.js → agent-krkmjgqt.js} +4 -4
- package/dist/chunks/{integration-4as9ahbm.js → agent-kv09cb3a.js} +25 -25
- package/dist/chunks/{integration-9jy9nps9.js → agent-kv4cnfdg.js} +11 -11
- package/dist/chunks/{integration-kwb1v3vj.js → agent-kwb1v3vj.js} +1 -1
- package/dist/chunks/{integration-jam8040q.js → agent-m932xw4h.js} +96 -96
- package/dist/chunks/{integration-m9w0rfyh.js → agent-m9w0rfyh.js} +1 -1
- package/dist/chunks/{integration-maspj1v3.js → agent-maspj1v3.js} +1 -1
- package/dist/chunks/{integration-dmdy5vga.js → agent-mfqd2w1w.js} +9 -9
- package/dist/chunks/{integration-6rd81a0a.js → agent-mfr6y76k.js} +32 -32
- package/dist/chunks/{integration-817ksxbs.js → agent-mpt2r5zq.js} +27 -27
- package/dist/chunks/{integration-pkj8hqbd.js → agent-mqqhst8y.js} +9 -9
- package/dist/chunks/{integration-4ejjva1e.js → agent-mv1ymdtg.js} +11 -11
- package/dist/chunks/{integration-hxy20eja.js → agent-myq0d0f8.js} +45 -45
- package/dist/chunks/{integration-x3d84k5w.js → agent-n0mggk70.js} +14 -14
- package/dist/chunks/{integration-njmsx6sp.js → agent-nd8yk64t.js} +18 -18
- package/dist/chunks/{integration-rcka0d6m.js → agent-nm12rwgq.js} +37 -37
- package/dist/chunks/{integration-h9pwhw01.js → agent-npqh6ge9.js} +25 -25
- package/dist/chunks/{integration-79nmx02r.js → agent-nt7xys9a.js} +6 -6
- package/dist/chunks/{integration-6a6wg419.js → agent-nxh1x0e6.js} +4 -4
- package/dist/chunks/{integration-7vbz6rs8.js → agent-p11y68zd.js} +90 -90
- package/dist/chunks/{integration-mnqkeq40.js → agent-p34jt0r0.js} +9 -9
- package/dist/chunks/{integration-2xx6zsf3.js → agent-patgj9rf.js} +9 -9
- package/dist/chunks/{integration-kr7nq331.js → agent-pem2t63f.js} +19 -19
- package/dist/chunks/{integration-wpvy85vf.js → agent-ph7nwd8c.js} +18 -18
- package/dist/chunks/{integration-80scg3y3.js → agent-ph842b28.js} +4 -4
- package/dist/chunks/{integration-8g85grtf.js → agent-phs0t85n.js} +24 -24
- package/dist/chunks/{integration-pjvnvgmy.js → agent-pjvnvgmy.js} +1 -1
- package/dist/chunks/{integration-pknna89w.js → agent-pknna89w.js} +1 -1
- package/dist/chunks/{integration-0jq9fyba.js → agent-prq7hedt.js} +2 -2
- package/dist/chunks/{integration-7bcxk056.js → agent-pxs39pc3.js} +11 -11
- package/dist/chunks/{integration-7sbhddh2.js → agent-q2n0rt41.js} +29 -29
- package/dist/chunks/{integration-538j4qyn.js → agent-q8wzy7az.js} +20 -20
- package/dist/chunks/{integration-rg2144x8.js → agent-qazp8rf3.js} +11 -11
- package/dist/chunks/{integration-12ha7xep.js → agent-qkq2g0a5.js} +30 -30
- package/dist/chunks/{integration-qnc92qwc.js → agent-qnc92qwc.js} +1 -1
- package/dist/chunks/{integration-qsdy395h.js → agent-qsdy395h.js} +1 -1
- package/dist/chunks/{integration-xc49s110.js → agent-qy5x06df.js} +11 -11
- package/dist/chunks/{integration-w886wtxv.js → agent-r061574r.js} +14 -14
- package/dist/chunks/{integration-e80seqcp.js → agent-r2z489rp.js} +3 -3
- package/dist/chunks/{integration-m6ftzae0.js → agent-r3dq8634.js} +22 -22
- package/dist/chunks/{integration-fffh876b.js → agent-r66ezcem.js} +5 -5
- package/dist/chunks/{integration-bcv8f3bq.js → agent-r8fetm84.js} +28 -28
- package/dist/chunks/{integration-rdw6cm16.js → agent-rdw6cm16.js} +1 -1
- package/dist/chunks/{integration-mh2wgyyf.js → agent-rfw5rhm2.js} +28 -28
- package/dist/chunks/{integration-py3kkmfq.js → agent-rkprpv83.js} +2 -2
- package/dist/chunks/{integration-tx0gtb9m.js → agent-rm4mkcw0.js} +9 -9
- package/dist/chunks/{integration-hs6r9h76.js → agent-rm9y9bjp.js} +5 -5
- package/dist/chunks/{integration-298emss7.js → agent-rt4fnzs6.js} +31 -31
- package/dist/chunks/{integration-nvq6t117.js → agent-rwf1b84d.js} +21 -21
- package/dist/chunks/{integration-hckw51fr.js → agent-s0tzm455.js} +23 -23
- package/dist/chunks/{integration-1rxpmxr8.js → agent-s7mka24n.js} +10 -10
- package/dist/chunks/{integration-38xaf4k6.js → agent-skj0g5v1.js} +33 -33
- package/dist/chunks/{integration-dt7700xy.js → agent-swa3405n.js} +11 -11
- package/dist/chunks/{integration-syv4x271.js → agent-syv4x271.js} +1 -1
- package/dist/chunks/{integration-tmz7q68s.js → agent-szjae43c.js} +17 -17
- package/dist/chunks/{integration-tazgh4e4.js → agent-tazgh4e4.js} +1 -1
- package/dist/chunks/{integration-q47dmg9a.js → agent-tc1y46p2.js} +50 -50
- package/dist/chunks/{integration-tcezcvh9.js → agent-tcezcvh9.js} +1 -1
- package/dist/chunks/{integration-tdstcens.js → agent-tdstcens.js} +1 -1
- package/dist/chunks/agent-tf3jhtnp.js +26 -0
- package/dist/chunks/{integration-rert0e01.js → agent-tkb22qbm.js} +2 -2
- package/dist/chunks/{integration-tm0kqsz3.js → agent-tm0kqsz3.js} +1 -1
- package/dist/chunks/{integration-70yx33t2.js → agent-tt3gk2hg.js} +6 -6
- package/dist/chunks/{integration-hbb7npd7.js → agent-tt8gc4fv.js} +6 -6
- package/dist/chunks/{integration-38ve9a6f.js → agent-ttk95yaa.js} +2 -2
- package/dist/chunks/{integration-6gb59z7y.js → agent-txyw6bh0.js} +2 -2
- package/dist/chunks/{integration-ycehjv5p.js → agent-tyvgjd0d.js} +5 -5
- package/dist/chunks/{integration-tyytaxap.js → agent-tyytaxap.js} +1 -1
- package/dist/chunks/{integration-nz56sr1f.js → agent-v13b12ef.js} +5 -5
- package/dist/chunks/{integration-v7p4zvkq.js → agent-v7p4zvkq.js} +2 -2
- package/dist/chunks/{integration-6rm5yzkt.js → agent-v7z2bvyd.js} +4 -4
- package/dist/chunks/agent-v8w58kqh.js +257 -0
- package/dist/chunks/{integration-veqvce7d.js → agent-veqvce7d.js} +1 -1
- package/dist/chunks/{integration-qwrv0da1.js → agent-vhmbycym.js} +11 -11
- package/dist/chunks/{integration-r134hy6c.js → agent-vqawp4fr.js} +25 -25
- package/dist/chunks/{integration-v2ftejaz.js → agent-vtccvqmx.js} +8 -8
- package/dist/chunks/{integration-zx5ntmjn.js → agent-vxyj8dbg.js} +8 -8
- package/dist/chunks/{integration-vzs5sf6e.js → agent-vzs5sf6e.js} +1 -1
- package/dist/chunks/{integration-1yd7h3h8.js → agent-w1d288hs.js} +11 -11
- package/dist/chunks/{integration-7yy061ns.js → agent-w3prdgep.js} +22 -22
- package/dist/chunks/{integration-w3wsvvr9.js → agent-w3wsvvr9.js} +1 -1
- package/dist/chunks/{integration-qqe3d08v.js → agent-wb348f7j.js} +23 -23
- package/dist/chunks/{integration-y7j46qsg.js → agent-wbr94c2z.js} +18 -18
- package/dist/chunks/{integration-jbxt250t.js → agent-wcb0e0c5.js} +36 -36
- package/dist/chunks/{integration-wd87259q.js → agent-wd87259q.js} +1 -1
- package/dist/chunks/{integration-f5kvrtz4.js → agent-wdvgmdgr.js} +11 -11
- package/dist/chunks/{integration-mqdfgr8h.js → agent-wkywfvx2.js} +38 -38
- package/dist/chunks/{integration-z8xqqehg.js → agent-wrj35e6x.js} +25 -25
- package/dist/chunks/{integration-vrhqyh7z.js → agent-wsktzrj4.js} +25 -25
- package/dist/chunks/{integration-acfycjmv.js → agent-wz92t8pf.js} +20 -20
- package/dist/chunks/{integration-hcmdbcy3.js → agent-x1gzjej3.js} +23 -23
- package/dist/chunks/{integration-baqyxak2.js → agent-x8sfg8by.js} +4 -4
- package/dist/chunks/{integration-asq30w4w.js → agent-xayeaa42.js} +11 -11
- package/dist/chunks/{integration-q4vcjfym.js → agent-xczw7yg4.js} +19 -19
- package/dist/chunks/{integration-9jx84zmm.js → agent-xnjezwp4.js} +6 -6
- package/dist/chunks/{integration-y1fvbwt7.js → agent-y1fvbwt7.js} +1 -1
- package/dist/chunks/{integration-dh9zm5s3.js → agent-y38n4jcf.js} +10 -10
- package/dist/chunks/{integration-w5xqjemn.js → agent-y87j8r2r.js} +6 -6
- package/dist/chunks/{integration-f9ada3rc.js → agent-y8w5cv04.js} +33 -33
- package/dist/chunks/{integration-qay4pq54.js → agent-ytcwff8w.js} +9 -9
- package/dist/chunks/{integration-6cj0n5v4.js → agent-yw5dp6ck.js} +8 -8
- package/dist/chunks/{integration-z0bkrqjs.js → agent-z0bkrqjs.js} +1 -1
- package/dist/chunks/{integration-yyfye845.js → agent-z0y78ctd.js} +10 -10
- package/dist/chunks/{integration-z18fegx4.js → agent-z18fegx4.js} +1 -1
- package/dist/chunks/{integration-dhp7rbay.js → agent-z9vmg6yp.js} +22 -22
- package/dist/chunks/{integration-y8p74872.js → agent-zktsegv2.js} +3 -3
- package/dist/chunks/{integration-n5sz8cgq.js → agent-zmr2d85t.js} +15 -15
- package/dist/chunks/{integration-9xkdr6w5.js → agent-znsyjbg0.js} +21 -21
- package/dist/chunks/{integration-zr2ceqn5.js → agent-zr2ceqn5.js} +1 -1
- package/dist/chunks/{integration-awnm49hy.js → agent-zrnfzdm4.js} +12 -12
- package/dist/chunks/{integration-tgg4817c.js → agent-ztbcatd2.js} +5 -5
- package/dist/chunks/{integration-r3ngwm3b.js → agent-zv1ky7bp.js} +13 -13
- package/dist/chunks/{integration-5andt8k9.js → agent-zxck4pyt.js} +18 -18
- package/dist/chunks/{integration-zxq2ej10.js → agent-zxq2ej10.js} +1 -1
- package/dist/chunks/{integration-p6d6jvb5.js → agent-zy7kxqpe.js} +18 -18
- package/dist/chunks/{integration-787nc1kp.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 +116 -116
- package/dist/config/plugin/command.js +206 -206
- package/dist/config/plugin/compaction.js +153 -153
- package/dist/config/plugin/compatibility.js +133 -133
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +115 -115
- 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 +123 -123
- 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 +136 -136
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +117 -117
- 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 +117 -117
- 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 +97 -97
- 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 +92 -92
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +215 -215
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +100 -100
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- 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 +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 +361 -361
- 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 +91 -91
- 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 +91 -91
- 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 +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 +100 -100
- 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 +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 +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 +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +347 -347
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- 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 +132 -132
- 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 +157 -157
- 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 +223 -223
- 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 +126 -126
- 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 +202 -202
- 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 +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- 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 +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +120 -120
- 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 +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/todo.js +136 -136
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +114 -114
- package/dist/tool/plugin/write.js +124 -124
- 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 +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 +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- 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 +76 -76
- package/dist/wellknown.js +83 -83
- 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/integration-dm1dh7w5.js +0 -26
- package/dist/chunks/integration-j493mrr6.js +0 -517
- package/dist/chunks/integration-q509s3k3.js +0 -18
- package/dist/chunks/integration-zyxtjwy8.js +0 -257
- /package/dist/chunks/{integration-0qkdqm5v.js → agent-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{integration-0zkw76rk.js → agent-0zkw76rk.js} +0 -0
- /package/dist/chunks/{integration-17cy0kzp.js → agent-17cy0kzp.js} +0 -0
- /package/dist/chunks/{integration-1cnp2v09.js → agent-1cnp2v09.js} +0 -0
- /package/dist/chunks/{integration-1kg9ymc8.js → agent-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{integration-24dcb14g.js → agent-24dcb14g.js} +0 -0
- /package/dist/chunks/{integration-2710q6r3.js → agent-2710q6r3.js} +0 -0
- /package/dist/chunks/{integration-2axfhc9x.js → agent-2axfhc9x.js} +0 -0
- /package/dist/chunks/{integration-2bv980vf.js → agent-2bv980vf.js} +0 -0
- /package/dist/chunks/{integration-2c3vjs8z.js → agent-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{integration-359p4xyc.js → agent-359p4xyc.js} +0 -0
- /package/dist/chunks/{integration-3asan66x.js → agent-3asan66x.js} +0 -0
- /package/dist/chunks/{integration-3t0ybcrp.js → agent-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{integration-3v8g72cx.js → agent-3v8g72cx.js} +0 -0
- /package/dist/chunks/{integration-3wcehsnq.js → agent-3wcehsnq.js} +0 -0
- /package/dist/chunks/{integration-43n2bw4t.js → agent-43n2bw4t.js} +0 -0
- /package/dist/chunks/{integration-4knz6hnm.js → agent-4knz6hnm.js} +0 -0
- /package/dist/chunks/{integration-4vcrnpx2.js → agent-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{integration-4y7fprxs.js → agent-4y7fprxs.js} +0 -0
- /package/dist/chunks/{integration-53557ph1.js → agent-53557ph1.js} +0 -0
- /package/dist/chunks/{integration-550bvhaj.js → agent-550bvhaj.js} +0 -0
- /package/dist/chunks/{integration-6prwharc.js → agent-6prwharc.js} +0 -0
- /package/dist/chunks/{integration-6q2bdcd1.js → agent-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{integration-7akdwqpd.js → agent-7akdwqpd.js} +0 -0
- /package/dist/chunks/{integration-7m9af43g.js → agent-7m9af43g.js} +0 -0
- /package/dist/chunks/{integration-822emrt2.js → agent-822emrt2.js} +0 -0
- /package/dist/chunks/{integration-84wd9syh.js → agent-84wd9syh.js} +0 -0
- /package/dist/chunks/{integration-88xbtdfr.js → agent-88xbtdfr.js} +0 -0
- /package/dist/chunks/{integration-8n3pysct.js → agent-8n3pysct.js} +0 -0
- /package/dist/chunks/{integration-8wj87zfr.js → agent-8wj87zfr.js} +0 -0
- /package/dist/chunks/{integration-9a4afbnw.js → agent-9a4afbnw.js} +0 -0
- /package/dist/chunks/{integration-9rqn6x4v.js → agent-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{integration-a6k6eb26.js → agent-a6k6eb26.js} +0 -0
- /package/dist/chunks/{integration-af5trqkr.js → agent-af5trqkr.js} +0 -0
- /package/dist/chunks/{integration-afrmfg78.js → agent-afrmfg78.js} +0 -0
- /package/dist/chunks/{integration-aqzs7mqg.js → agent-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{integration-atq7p7m5.js → agent-atq7p7m5.js} +0 -0
- /package/dist/chunks/{integration-bkyjaxrp.js → agent-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{integration-bmr6ed5q.js → agent-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{integration-cf4snx6d.js → agent-cf4snx6d.js} +0 -0
- /package/dist/chunks/{integration-cvy3z8tj.js → agent-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{integration-d9fn303g.js → agent-d9fn303g.js} +0 -0
- /package/dist/chunks/{integration-d9jj8t3e.js → agent-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{integration-dajrwvna.js → agent-dajrwvna.js} +0 -0
- /package/dist/chunks/{integration-dap0rakb.js → agent-dap0rakb.js} +0 -0
- /package/dist/chunks/{integration-df08tz66.js → agent-df08tz66.js} +0 -0
- /package/dist/chunks/{integration-dy18nga0.js → agent-dy18nga0.js} +0 -0
- /package/dist/chunks/{integration-e5kj55wp.js → agent-e5kj55wp.js} +0 -0
- /package/dist/chunks/{integration-e73j6tqm.js → agent-e73j6tqm.js} +0 -0
- /package/dist/chunks/{integration-ec1grn59.js → agent-ec1grn59.js} +0 -0
- /package/dist/chunks/{integration-eh3zwz77.js → agent-eh3zwz77.js} +0 -0
- /package/dist/chunks/{integration-emrn6kk6.js → agent-emrn6kk6.js} +0 -0
- /package/dist/chunks/{integration-f0mxakyp.js → agent-f0mxakyp.js} +0 -0
- /package/dist/chunks/{integration-f6n9ztr4.js → agent-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{integration-faypxj3z.js → agent-faypxj3z.js} +0 -0
- /package/dist/chunks/{integration-fd410y7t.js → agent-fd410y7t.js} +0 -0
- /package/dist/chunks/{integration-g4wezp1m.js → agent-g4wezp1m.js} +0 -0
- /package/dist/chunks/{integration-g86h250q.js → agent-g86h250q.js} +0 -0
- /package/dist/chunks/{integration-gebd4c9n.js → agent-gebd4c9n.js} +0 -0
- /package/dist/chunks/{integration-gftt206x.js → agent-gftt206x.js} +0 -0
- /package/dist/chunks/{integration-hcxmzztb.js → agent-hcxmzztb.js} +0 -0
- /package/dist/chunks/{integration-hk9envan.js → agent-hk9envan.js} +0 -0
- /package/dist/chunks/{integration-j2ntwpah.js → agent-j2ntwpah.js} +0 -0
- /package/dist/chunks/{integration-j5zkgpj8.js → agent-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{integration-jjkms2e6.js → agent-jjkms2e6.js} +0 -0
- /package/dist/chunks/{integration-jr7sbwjy.js → agent-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{integration-jwfs4k6c.js → agent-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{integration-jze0r7bz.js → agent-jze0r7bz.js} +0 -0
- /package/dist/chunks/{integration-jzg6c2d5.js → agent-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{integration-m18g726c.js → agent-m18g726c.js} +0 -0
- /package/dist/chunks/{integration-mp448xyj.js → agent-mp448xyj.js} +0 -0
- /package/dist/chunks/{integration-msx8hqn2.js → agent-msx8hqn2.js} +0 -0
- /package/dist/chunks/{integration-n05xt0ee.js → agent-n05xt0ee.js} +0 -0
- /package/dist/chunks/{integration-n3j8tn72.js → agent-n3j8tn72.js} +0 -0
- /package/dist/chunks/{integration-njntx4h6.js → agent-njntx4h6.js} +0 -0
- /package/dist/chunks/{integration-pkyv6v7h.js → agent-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{integration-pyv0edze.js → agent-pyv0edze.js} +0 -0
- /package/dist/chunks/{integration-q3sfg36h.js → agent-q3sfg36h.js} +0 -0
- /package/dist/chunks/{integration-q74kybfr.js → agent-q74kybfr.js} +0 -0
- /package/dist/chunks/{integration-qaymkmh1.js → agent-qaymkmh1.js} +0 -0
- /package/dist/chunks/{integration-qb87gjwd.js → agent-qb87gjwd.js} +0 -0
- /package/dist/chunks/{integration-qfa1cgps.js → agent-qfa1cgps.js} +0 -0
- /package/dist/chunks/{integration-qg3g05ea.js → agent-qg3g05ea.js} +0 -0
- /package/dist/chunks/{integration-qrg20bc0.js → agent-qrg20bc0.js} +0 -0
- /package/dist/chunks/{integration-rcb2kzg1.js → agent-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{integration-sdp7kfr6.js → agent-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{integration-ssg3fenm.js → agent-ssg3fenm.js} +0 -0
- /package/dist/chunks/{integration-ve7vex1e.js → agent-ve7vex1e.js} +0 -0
- /package/dist/chunks/{integration-w803qqfp.js → agent-w803qqfp.js} +0 -0
- /package/dist/chunks/{integration-wc3fc9cn.js → agent-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{integration-wer8tq1h.js → agent-wer8tq1h.js} +0 -0
- /package/dist/chunks/{integration-wjj7prxr.js → agent-wjj7prxr.js} +0 -0
- /package/dist/chunks/{integration-wtztk69x.js → agent-wtztk69x.js} +0 -0
- /package/dist/chunks/{integration-x0ckcb58.js → agent-x0ckcb58.js} +0 -0
- /package/dist/chunks/{integration-x61499pn.js → agent-x61499pn.js} +0 -0
- /package/dist/chunks/{integration-y44na4kk.js → agent-y44na4kk.js} +0 -0
- /package/dist/chunks/{integration-y8f7s663.js → agent-y8f7s663.js} +0 -0
- /package/dist/chunks/{integration-ygaqb7jw.js → agent-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{integration-ym463w8f.js → agent-ym463w8f.js} +0 -0
- /package/dist/chunks/{integration-z5v4ffb3.js → agent-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{integration-z9919s4g.js → agent-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key4,
|
|
3
3
|
removed2,
|
|
4
4
|
make21,
|
|
5
5
|
diffByKey2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-eaj1djv9.js";
|
|
7
7
|
import {
|
|
8
8
|
evaluate2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./agent-785qcqx9.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service39,
|
|
12
|
+
node42
|
|
13
|
+
} from "./agent-fb5vvrxc.js";
|
|
14
14
|
import {
|
|
15
15
|
namespace2,
|
|
16
16
|
name14
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./agent-r8fetm84.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/mcp/instructions.ts
|
|
23
|
-
var
|
|
24
|
-
__export(
|
|
25
|
-
McpInstructions: () =>
|
|
26
|
-
Service: () =>
|
|
27
|
-
layer: () =>
|
|
28
|
-
node: () =>
|
|
23
|
+
var exports_instructions2 = {};
|
|
24
|
+
__export(exports_instructions2, {
|
|
25
|
+
McpInstructions: () => exports_instructions2,
|
|
26
|
+
Service: () => Service32,
|
|
27
|
+
layer: () => layer14,
|
|
28
|
+
node: () => node34
|
|
29
29
|
});
|
|
30
30
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
31
31
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -61,14 +61,14 @@ var update = (previous, current) => {
|
|
|
61
61
|
`);
|
|
62
62
|
};
|
|
63
63
|
|
|
64
|
-
class
|
|
64
|
+
class Service32 extends Context.Service()("@opencode/McpInstructions") {
|
|
65
65
|
}
|
|
66
|
-
var
|
|
67
|
-
const mcp = yield*
|
|
68
|
-
return
|
|
66
|
+
var layer14 = Layer.effect(Service32, Effect.gen(function* () {
|
|
67
|
+
const mcp = yield* Service39;
|
|
68
|
+
return Service32.of({
|
|
69
69
|
load: Effect.fn("McpInstructions.load")(function* (permissions) {
|
|
70
70
|
const source = (value) => make21({
|
|
71
|
-
key:
|
|
71
|
+
key: Key4.make("core/mcp-guidance"),
|
|
72
72
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
73
73
|
read: Effect.succeed(value),
|
|
74
74
|
render: {
|
|
@@ -96,6 +96,6 @@ var layer10 = Layer.effect(Service30, Effect.gen(function* () {
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
}));
|
|
99
|
-
var
|
|
99
|
+
var node34 = makeLocationNode({ service: Service32, layer: layer14, deps: [node42] });
|
|
100
100
|
|
|
101
|
-
export {
|
|
101
|
+
export { Service32, layer14, node34, exports_instructions2 };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-7styb3mj.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
10
|
-
import {
|
|
11
|
-
Service86,
|
|
12
|
-
node90
|
|
13
|
-
} from "./integration-62j8g70n.js";
|
|
9
|
+
} from "./agent-gebd4c9n.js";
|
|
14
10
|
import {
|
|
15
11
|
Service85,
|
|
16
12
|
node89
|
|
17
|
-
} from "./
|
|
13
|
+
} from "./agent-c5zgdys3.js";
|
|
14
|
+
import {
|
|
15
|
+
Service84,
|
|
16
|
+
node88
|
|
17
|
+
} from "./agent-h7p9ang8.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-c41wscbt.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-c8ax2afj.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
ID17,
|
|
26
|
+
NotFoundError12
|
|
27
|
+
} from "./agent-0bxh5w1j.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Ref4
|
|
30
|
+
} from "./agent-fpvfk2w9.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service76,
|
|
33
|
+
node80
|
|
34
|
+
} from "./agent-648rfa8c.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./agent-0emb60td.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service68
|
|
41
|
+
} from "./agent-znsyjbg0.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./agent-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput3,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event13,
|
|
53
|
+
Info: () => Info16,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service67,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node71
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput3 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info16 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,21 +90,21 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event13 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service67 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const database = yield*
|
|
99
|
+
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
|
-
const bus = yield*
|
|
101
|
+
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service76;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
107
|
-
return yield* new
|
|
107
|
+
return yield* new NotFoundError12({ projectID });
|
|
108
108
|
return row;
|
|
109
109
|
});
|
|
110
110
|
const load = Effect.fnUntraced(function* (directory, current) {
|
|
@@ -113,13 +113,13 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
113
113
|
if (current?.directory === directory)
|
|
114
114
|
return current.get();
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
|
-
const context = yield* locations.contextEffect(
|
|
116
|
+
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service68).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event13.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service67.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node71 = Node.makeGlobalNode({
|
|
260
|
+
service: Service67,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node80]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info16, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event13, Service67, node71, exports_worktree2, OperationError2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./agent-h7p9ang8.js";
|
|
4
4
|
import {
|
|
5
5
|
key2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-azwe5p1w.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Event18
|
|
9
|
+
} from "./agent-frvft4h3.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
ID10
|
|
12
|
+
} from "./agent-9x2418wc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
ID9,
|
|
15
|
+
Service72
|
|
16
|
+
} from "./agent-4errqqkt.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
load3,
|
|
19
|
+
derive3
|
|
20
|
+
} from "./agent-6rzpq3dm.js";
|
|
21
21
|
|
|
22
22
|
// src/plugin/provider/modal.ts
|
|
23
23
|
import { Effect, Semaphore, Stream } from "effect";
|
|
24
24
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
25
|
-
var providerID =
|
|
25
|
+
var providerID = ID9.make("modal");
|
|
26
26
|
var ModalPlugin2 = define({
|
|
27
27
|
id: "opencode.provider.modal",
|
|
28
28
|
effect: Effect.fn(function* (ctx) {
|
|
29
|
-
const providers = yield*
|
|
30
|
-
const bus = yield*
|
|
29
|
+
const providers = yield* Service72;
|
|
30
|
+
const bus = yield* Service84;
|
|
31
31
|
const loading = Semaphore.makeUnsafe(1);
|
|
32
32
|
const loaded = {};
|
|
33
33
|
const load = Effect.fn("ModalPlugin.load")(function* () {
|
|
@@ -45,7 +45,7 @@ var ModalPlugin2 = define({
|
|
|
45
45
|
return;
|
|
46
46
|
}
|
|
47
47
|
const remote = yield* Effect.tryPromise({
|
|
48
|
-
try: () =>
|
|
48
|
+
try: () => load3(baseURL, apiKey),
|
|
49
49
|
catch: (cause) => cause
|
|
50
50
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to sync Modal models", { cause }).pipe(Effect.as(undefined))));
|
|
51
51
|
if (key2(connection) !== key2(yield* ctx.integration.connection.active("modal")))
|
|
@@ -62,12 +62,12 @@ var ModalPlugin2 = define({
|
|
|
62
62
|
return;
|
|
63
63
|
evt.add({
|
|
64
64
|
info: item.provider,
|
|
65
|
-
models: Array.from(
|
|
65
|
+
models: Array.from(derive3(loaded.baseURL, loaded.models, Array.from(item.models.values())).values()),
|
|
66
66
|
sourceConnection: loaded.connection
|
|
67
67
|
});
|
|
68
68
|
});
|
|
69
69
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
70
|
-
yield* bus.subscribe(
|
|
70
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID10.make("modal")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
71
71
|
yield* refresh().pipe(Effect.forkScoped);
|
|
72
72
|
})
|
|
73
73
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID9
|
|
3
|
+
} from "./agent-4errqqkt.js";
|
|
4
4
|
import {
|
|
5
5
|
loadSDKFactory2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./agent-6q2bdcd1.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/sap-ai-core.ts
|
|
9
9
|
import { Effect } from "effect";
|
|
@@ -14,7 +14,7 @@ var SapAICorePlugin2 = define({
|
|
|
14
14
|
effect: Effect.fn(function* (ctx) {
|
|
15
15
|
const npm = yield* Npm.Service;
|
|
16
16
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
17
|
-
if (evt.model.providerID !==
|
|
17
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
18
18
|
return;
|
|
19
19
|
const serviceKey = process.env.AICORE_SERVICE_KEY ?? (typeof evt.options.serviceKey === "string" ? evt.options.serviceKey : undefined);
|
|
20
20
|
if (serviceKey && !process.env.AICORE_SERVICE_KEY)
|
|
@@ -25,7 +25,7 @@ var SapAICorePlugin2 = define({
|
|
|
25
25
|
evt.sdk = factory(serviceKey ? { deploymentId: process.env.AICORE_DEPLOYMENT_ID, resourceGroup: process.env.AICORE_RESOURCE_GROUP } : {});
|
|
26
26
|
}));
|
|
27
27
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
28
|
-
if (evt.model.providerID !==
|
|
28
|
+
if (evt.model.providerID !== ID9.make("sap-ai-core"))
|
|
29
29
|
return;
|
|
30
30
|
evt.language = evt.sdk(evt.model.modelID ?? evt.model.id);
|
|
31
31
|
}));
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-gvyg44wk.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/vllm.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -11,7 +11,7 @@ var RemoteModel = Schema.Struct({
|
|
|
11
11
|
max_model_len: Schema.NullOr(Schema.Int)
|
|
12
12
|
});
|
|
13
13
|
var Response = Schema.Struct({ data: Schema.Array(RemoteModel) });
|
|
14
|
-
var
|
|
14
|
+
var make3 = createLocalProviderPlugin2({
|
|
15
15
|
id: "opencode.provider.vllm",
|
|
16
16
|
providerID,
|
|
17
17
|
name: "vLLM",
|
|
@@ -26,6 +26,6 @@ var make7 = createLocalProviderPlugin2({
|
|
|
26
26
|
context: item.max_model_len
|
|
27
27
|
})
|
|
28
28
|
});
|
|
29
|
-
var VLLMPlugin2 =
|
|
29
|
+
var VLLMPlugin2 = make3();
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { make3, VLLMPlugin2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createLocalProviderPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./agent-gvyg44wk.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/lmstudio.ts
|
|
6
6
|
import { Effect, Schema } from "effect";
|
|
@@ -19,7 +19,7 @@ var RemoteModel = Schema.Struct({
|
|
|
19
19
|
}).pipe(Schema.optional)
|
|
20
20
|
});
|
|
21
21
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
22
|
-
var
|
|
22
|
+
var make6 = createLocalProviderPlugin2({
|
|
23
23
|
id: "opencode.provider.lmstudio",
|
|
24
24
|
providerID: "lmstudio",
|
|
25
25
|
name: "LM Studio",
|
|
@@ -38,6 +38,6 @@ var make4 = createLocalProviderPlugin2({
|
|
|
38
38
|
context: item.loaded_instances.length === 0 ? item.max_context_length : Math.min(...item.loaded_instances.map((instance) => instance.config.context_length))
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
|
-
var LMStudioPlugin2 =
|
|
41
|
+
var LMStudioPlugin2 = make6();
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { make6, LMStudioPlugin2 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service85,
|
|
3
|
-
node89
|
|
4
|
-
} from "./integration-8jz8qmfg.js";
|
|
5
|
-
import {
|
|
6
|
-
Key4,
|
|
7
|
-
External2,
|
|
8
2
|
Service84,
|
|
9
3
|
node88
|
|
10
|
-
} from "./
|
|
4
|
+
} from "./agent-h7p9ang8.js";
|
|
5
|
+
import {
|
|
6
|
+
Key3,
|
|
7
|
+
External2,
|
|
8
|
+
Service75,
|
|
9
|
+
node79
|
|
10
|
+
} from "./agent-frvft4h3.js";
|
|
11
11
|
import {
|
|
12
12
|
create3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./agent-rdw6cm16.js";
|
|
14
14
|
import {
|
|
15
15
|
key2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./agent-azwe5p1w.js";
|
|
17
17
|
import {
|
|
18
18
|
validateAnswer2,
|
|
19
19
|
validateFields2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./agent-7b3yybgh.js";
|
|
21
21
|
import {
|
|
22
22
|
__export
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./agent-9rqn6x4v.js";
|
|
24
24
|
|
|
25
25
|
// src/integration.ts
|
|
26
26
|
var exports_integration = {};
|
|
@@ -35,18 +35,18 @@ __export(exports_integration, {
|
|
|
35
35
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
36
36
|
CommandMethod: () => CommandMethod2,
|
|
37
37
|
EnvMethod: () => EnvMethod2,
|
|
38
|
-
Event: () =>
|
|
38
|
+
Event: () => Event16,
|
|
39
39
|
ExternalMethod: () => ExternalMethod2,
|
|
40
|
-
ID: () =>
|
|
41
|
-
Info: () =>
|
|
40
|
+
ID: () => ID10,
|
|
41
|
+
Info: () => Info20,
|
|
42
42
|
Integration: () => exports_integration,
|
|
43
43
|
KeyMethod: () => KeyMethod2,
|
|
44
44
|
Method: () => Method2,
|
|
45
45
|
MethodID: () => MethodID2,
|
|
46
46
|
OAuthMethod: () => OAuthMethod2,
|
|
47
|
-
Ref: () =>
|
|
48
|
-
Service: () =>
|
|
49
|
-
node: () =>
|
|
47
|
+
Ref: () => Ref3,
|
|
48
|
+
Service: () => Service73,
|
|
49
|
+
node: () => node77
|
|
50
50
|
});
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import {
|
|
@@ -68,8 +68,8 @@ import {
|
|
|
68
68
|
import { Integration } from "@opencode/schema/integration";
|
|
69
69
|
import { AppProcess } from "@opencode/util/process";
|
|
70
70
|
import { ChildProcess } from "effect/process";
|
|
71
|
-
import { Event as
|
|
72
|
-
var
|
|
71
|
+
import { Event as Event16 } from "@opencode/schema/integration";
|
|
72
|
+
var ID10 = Integration.ID;
|
|
73
73
|
var MethodID2 = Integration.MethodID;
|
|
74
74
|
var AttemptID2 = Integration.AttemptID;
|
|
75
75
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -78,7 +78,7 @@ var KeyMethod2 = Integration.KeyMethod;
|
|
|
78
78
|
var ExternalMethod2 = Integration.ExternalMethod;
|
|
79
79
|
var EnvMethod2 = Integration.EnvMethod;
|
|
80
80
|
var Method2 = Integration.Method;
|
|
81
|
-
var
|
|
81
|
+
var Info20 = Integration.Info;
|
|
82
82
|
var Attempt2 = Integration.Attempt;
|
|
83
83
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
84
84
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -101,20 +101,20 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
101
101
|
}
|
|
102
102
|
|
|
103
103
|
class AttemptNotFoundError2 extends Schema.TaggedError()("Integration.AttemptNotFound", {
|
|
104
|
-
integrationID:
|
|
104
|
+
integrationID: ID10,
|
|
105
105
|
attemptID: AttemptID2
|
|
106
106
|
}) {
|
|
107
107
|
}
|
|
108
|
-
var
|
|
108
|
+
var Ref3 = Integration.Ref;
|
|
109
109
|
|
|
110
|
-
class
|
|
110
|
+
class Service73 extends Context.Service()("@opencode/Integration") {
|
|
111
111
|
}
|
|
112
112
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
113
113
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
114
114
|
var scrubInterval = Duration.seconds(30);
|
|
115
|
-
var layer = Layer.effect(
|
|
116
|
-
const credentials = yield*
|
|
117
|
-
const bus = yield*
|
|
115
|
+
var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
116
|
+
const credentials = yield* Service75;
|
|
117
|
+
const bus = yield* Service84;
|
|
118
118
|
const processes = yield* AppProcess.Service;
|
|
119
119
|
const scope = yield* Scope.Scope;
|
|
120
120
|
const attempts = SynchronizedRef.makeUnsafe(new Map);
|
|
@@ -214,7 +214,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
214
214
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
215
215
|
return [...credentials, ...env];
|
|
216
216
|
};
|
|
217
|
-
const project = (entry, connections) =>
|
|
217
|
+
const project = (entry, connections) => Info20.make({
|
|
218
218
|
id: entry.ref.id,
|
|
219
219
|
name: entry.ref.name,
|
|
220
220
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -301,7 +301,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
301
301
|
const persistence = yield* createCredential({
|
|
302
302
|
integrationID: attempt.integrationID,
|
|
303
303
|
label: attempt.label,
|
|
304
|
-
value:
|
|
304
|
+
value: Key3.make({ type: "key", key: exit.value })
|
|
305
305
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
306
306
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
307
307
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -447,7 +447,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
447
447
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
448
448
|
return CommandAttempt2.make({ attemptID, time });
|
|
449
449
|
});
|
|
450
|
-
return
|
|
450
|
+
return Service73.of({
|
|
451
451
|
transform: state.transform,
|
|
452
452
|
reload: state.reload,
|
|
453
453
|
revision: state.revision,
|
|
@@ -469,7 +469,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
469
469
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
470
470
|
if (connection.type === "env") {
|
|
471
471
|
const key = process.env[connection.name];
|
|
472
|
-
return key ?
|
|
472
|
+
return key ? Key3.make({ type: "key", key }) : undefined;
|
|
473
473
|
}
|
|
474
474
|
const credential = yield* credentials.get(connection.id);
|
|
475
475
|
if (!credential)
|
|
@@ -502,7 +502,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
502
502
|
yield* createCredential({
|
|
503
503
|
integrationID: input.integrationID,
|
|
504
504
|
label: input.label,
|
|
505
|
-
value:
|
|
505
|
+
value: Key3.make({
|
|
506
506
|
type: "key",
|
|
507
507
|
key: input.key,
|
|
508
508
|
...Object.keys(answer).length > 0 ? { metadata: answer } : {}
|
|
@@ -629,10 +629,10 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
629
629
|
}
|
|
630
630
|
});
|
|
631
631
|
}));
|
|
632
|
-
var
|
|
633
|
-
service:
|
|
632
|
+
var node77 = makeLocationNode({
|
|
633
|
+
service: Service73,
|
|
634
634
|
layer,
|
|
635
|
-
deps: [
|
|
635
|
+
deps: [node79, node88, AppProcess.node]
|
|
636
636
|
});
|
|
637
637
|
|
|
638
|
-
export {
|
|
638
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, ExternalMethod2, EnvMethod2, Method2, Info20, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, AttemptNotFoundError2, Ref3, Service73, node77, exports_integration, Event16 };
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import {
|
|
2
|
+
__export
|
|
3
|
+
} from "./agent-9rqn6x4v.js";
|
|
4
|
+
|
|
5
|
+
// src/plugin/service.ts
|
|
6
|
+
var exports_service = {};
|
|
7
|
+
__export(exports_service, {
|
|
8
|
+
Plugin: () => exports_service,
|
|
9
|
+
Service: () => Service30,
|
|
10
|
+
awaitActivation: () => awaitActivation2
|
|
11
|
+
});
|
|
12
|
+
import { Context } from "effect";
|
|
13
|
+
|
|
14
|
+
class Service30 extends Context.Service()("@opencode/Plugin") {
|
|
15
|
+
}
|
|
16
|
+
var awaitActivation2 = Service30.use((plugins) => plugins.awaitActivation);
|
|
17
|
+
|
|
18
|
+
export { Service30, awaitActivation2, exports_service };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2,
|
|
3
3
|
normalizedName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./agent-pyv0edze.js";
|
|
5
5
|
import {
|
|
6
6
|
extension2,
|
|
7
7
|
display2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./agent-syv4x271.js";
|
|
9
9
|
import {
|
|
10
10
|
__export
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./agent-9rqn6x4v.js";
|
|
12
12
|
|
|
13
13
|
// src/codemode/tool.ts
|
|
14
14
|
var exports_tool2 = {};
|