@opencode/core 2.0.6 → 2.0.7
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{persistent-pty-4yerfa2a.js → integration-02sqwze2.js} +22 -22
- package/dist/chunks/{persistent-pty-xvrfmkdb.js → integration-036p5t1s.js} +4 -4
- package/dist/chunks/{persistent-pty-a4v39hfy.js → integration-03e5bnrk.js} +11 -11
- package/dist/chunks/{persistent-pty-t6xg0e00.js → integration-06j1jany.js} +20 -20
- package/dist/chunks/{persistent-pty-nrby4tch.js → integration-07kph379.js} +5 -5
- package/dist/chunks/{persistent-pty-zvh69c5a.js → integration-0g7z141f.js} +12 -12
- package/dist/chunks/{persistent-pty-23mp22r0.js → integration-0ja9hz8h.js} +22 -22
- package/dist/chunks/integration-0jswa73q.js +26 -0
- package/dist/chunks/integration-0mesazry.js +4 -0
- package/dist/chunks/integration-0p29q02t.js +65 -0
- package/dist/chunks/{persistent-pty-0paq2nw3.js → integration-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-0q0f95c6.js → integration-0q0f95c6.js} +1 -1
- package/dist/chunks/{persistent-pty-dfe8djrf.js → integration-0v53mg2y.js} +4 -4
- package/dist/chunks/{persistent-pty-r8xr0va3.js → integration-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-1dazxqgg.js → integration-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-d2z8n5gq.js → integration-1jb3t5y8.js} +44 -44
- package/dist/chunks/{persistent-pty-txckpkgb.js → integration-1ksm7rsz.js} +33 -33
- package/dist/chunks/{persistent-pty-amys79f3.js → integration-1svwp2zq.js} +15 -15
- package/dist/chunks/{persistent-pty-63mn2t91.js → integration-1wbhvsa0.js} +21 -21
- package/dist/chunks/{persistent-pty-axsc7vaz.js → integration-1x4zaxp7.js} +1 -1
- package/dist/chunks/{persistent-pty-21r38tys.js → integration-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-2a5m3afh.js → integration-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-1ft1n4nv.js → integration-2cse4yyr.js} +1 -1
- package/dist/chunks/{persistent-pty-9x1fwner.js → integration-2g1kg6mf.js} +11 -11
- package/dist/chunks/{persistent-pty-61d6m9y9.js → integration-2mja353d.js} +8 -8
- package/dist/chunks/{persistent-pty-t1dawjzh.js → integration-30846h32.js} +8 -8
- package/dist/chunks/{persistent-pty-mpz2f9hn.js → integration-31vv3fx1.js} +22 -22
- package/dist/chunks/{persistent-pty-45ke46p8.js → integration-361zbcwc.js} +11 -11
- package/dist/chunks/{persistent-pty-vcntgk60.js → integration-3e9gt9pq.js} +16 -16
- package/dist/chunks/{persistent-pty-3fc6dm20.js → integration-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → integration-3hepkmqq.js} +1 -1
- package/dist/chunks/{persistent-pty-mvpt2jq4.js → integration-3jqnyahm.js} +4 -4
- package/dist/chunks/{persistent-pty-3smtnn6g.js → integration-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → integration-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-6vxbcxjn.js → integration-3vp2enxy.js} +15 -15
- package/dist/chunks/{persistent-pty-hcf1qdgt.js → integration-3wh0psgk.js} +42 -42
- package/dist/chunks/{persistent-pty-kesv6def.js → integration-3wqt5zad.js} +35 -35
- package/dist/chunks/{persistent-pty-3esknjh8.js → integration-424g7dr0.js} +43 -43
- package/dist/chunks/{persistent-pty-qcjne9p2.js → integration-4f6d0pew.js} +25 -25
- package/dist/chunks/{persistent-pty-z5dnp9d4.js → integration-4n9c6g4h.js} +30 -30
- package/dist/chunks/{persistent-pty-r8b3me2j.js → integration-4tem132z.js} +16 -16
- package/dist/chunks/integration-4v7qdvcn.js +18 -0
- package/dist/chunks/{persistent-pty-zdd5h57h.js → integration-4z9gzs34.js} +20 -20
- package/dist/chunks/{persistent-pty-sej7e0cf.js → integration-5d5383gp.js} +4 -4
- package/dist/chunks/{persistent-pty-5daktx2q.js → integration-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-q4v54bpb.js → integration-5jg9j8z5.js} +30 -30
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → integration-5mtzsd3b.js} +4 -4
- package/dist/chunks/{persistent-pty-sx06aacx.js → integration-5q352ksx.js} +6 -6
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → integration-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-5t3nmthw.js → integration-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-cmwkp3r5.js → integration-5xtgfte3.js} +8 -8
- package/dist/chunks/{persistent-pty-tamw7e85.js → integration-60438fy7.js} +6 -6
- package/dist/chunks/{persistent-pty-v85t9p8e.js → integration-63gwy3f0.js} +15 -15
- package/dist/chunks/{persistent-pty-669tq793.js → integration-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-m2xyr0c9.js → integration-69z0jng6.js} +11 -11
- package/dist/chunks/{persistent-pty-pxnvhszz.js → integration-6cv9b742.js} +4 -4
- package/dist/chunks/{persistent-pty-2402vzrj.js → integration-6h73sxmp.js} +5 -5
- package/dist/chunks/{persistent-pty-a2ew8a62.js → integration-6hh8tjw2.js} +4 -4
- package/dist/chunks/{persistent-pty-5kte75t4.js → integration-6hs98t9x.js} +13 -13
- package/dist/chunks/{persistent-pty-6msgmcgs.js → integration-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-kkpc3vmh.js → integration-717hbd2e.js} +12 -12
- package/dist/chunks/{persistent-pty-f3r3b7qx.js → integration-71xbqxp3.js} +23 -23
- package/dist/chunks/{persistent-pty-4aps5ycz.js → integration-7539fxrp.js} +5 -5
- package/dist/chunks/{persistent-pty-j542mbwn.js → integration-75ks8wpd.js} +10 -10
- package/dist/chunks/{persistent-pty-cpxfwkbg.js → integration-7b01gr93.js} +13 -13
- package/dist/chunks/{persistent-pty-7bmhse3q.js → integration-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → integration-7dqw4kz8.js} +1 -1
- package/dist/chunks/{persistent-pty-k859smhz.js → integration-7drzedwa.js} +49 -49
- package/dist/chunks/{persistent-pty-ca0tf0b7.js → integration-7ejxwnn2.js} +20 -20
- package/dist/chunks/{persistent-pty-z1zwcfv4.js → integration-7t1qjft4.js} +18 -18
- package/dist/chunks/{persistent-pty-6yaq8bgj.js → integration-7v9j4tg8.js} +18 -18
- package/dist/chunks/{persistent-pty-hz2whg8s.js → integration-7yd8qa94.js} +8 -8
- package/dist/chunks/{persistent-pty-xh49vxj8.js → integration-89vjf07m.js} +5 -5
- package/dist/chunks/{persistent-pty-0eqr15n0.js → integration-8bnawm75.js} +31 -31
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → integration-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-dj2t23y0.js → integration-8p4f9s12.js} +2 -2
- package/dist/chunks/{persistent-pty-masp7ejj.js → integration-8ybgfkrt.js} +11 -11
- package/dist/chunks/{persistent-pty-t3qbpr1w.js → integration-984xje6x.js} +9 -9
- package/dist/chunks/{persistent-pty-5dp7vyn0.js → integration-99a1yfw0.js} +13 -13
- package/dist/chunks/{persistent-pty-w21bzq9q.js → integration-9gea571p.js} +6 -6
- package/dist/chunks/{persistent-pty-em6q0j7w.js → integration-9n92wg39.js} +11 -11
- package/dist/chunks/{persistent-pty-d3yjsxey.js → integration-9ydd6pgk.js} +7 -7
- package/dist/chunks/{persistent-pty-5c4hm403.js → integration-a1bz86dw.js} +3 -3
- package/dist/chunks/{persistent-pty-a89e0tac.js → integration-a89e0tac.js} +1 -1
- package/dist/chunks/{persistent-pty-aaet6srn.js → integration-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-yzdcysfh.js → integration-aawn6y2n.js} +23 -23
- package/dist/chunks/{persistent-pty-2jmaghvr.js → integration-ab9238g2.js} +6 -6
- package/dist/chunks/{persistent-pty-xyxzmjjm.js → integration-ag2gfn9f.js} +5 -5
- package/dist/chunks/{persistent-pty-axebf1a4.js → integration-an5bmsq0.js} +8 -8
- package/dist/chunks/{persistent-pty-ge476xvj.js → integration-awhm4hzw.js} +183 -183
- package/dist/chunks/{persistent-pty-4c1zt1be.js → integration-ayfk1h0n.js} +87 -87
- package/dist/chunks/{persistent-pty-4vq28sgd.js → integration-b09hzw3k.js} +2 -2
- package/dist/chunks/{persistent-pty-89x64swv.js → integration-b5y8n1e6.js} +26 -26
- package/dist/chunks/{persistent-pty-b6gygkdw.js → integration-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-qydamkj6.js → integration-b8szb91g.js} +9 -9
- package/dist/chunks/{persistent-pty-xz3t98gq.js → integration-bcxedjzd.js} +3 -3
- package/dist/chunks/{persistent-pty-q00hqmww.js → integration-bfsnneva.js} +15 -15
- package/dist/chunks/{persistent-pty-fvsyg6qk.js → integration-bgxcxs0p.js} +5 -5
- package/dist/chunks/{persistent-pty-tk9ew89t.js → integration-bh0zzf2s.js} +8 -8
- package/dist/chunks/{persistent-pty-5smkf6vr.js → integration-bje2awg5.js} +18 -18
- package/dist/chunks/{persistent-pty-g2er3606.js → integration-bk2n1gvf.js} +37 -37
- package/dist/chunks/{persistent-pty-wp9pt51y.js → integration-bp376hr7.js} +9 -9
- package/dist/chunks/{persistent-pty-y10wk092.js → integration-bscb95cy.js} +9 -9
- package/dist/chunks/{persistent-pty-z84pa76x.js → integration-by3dbgkm.js} +5 -5
- package/dist/chunks/{persistent-pty-gjvcn921.js → integration-by9h9y0p.js} +29 -29
- package/dist/chunks/integration-c73rdsyt.js +49 -0
- package/dist/chunks/{persistent-pty-0wnsc2cx.js → integration-c96f455v.js} +11 -11
- package/dist/chunks/{persistent-pty-m0jqrx5p.js → integration-cfpkc3c9.js} +2 -2
- package/dist/chunks/{persistent-pty-gbwj81ez.js → integration-ch54p1a9.js} +28 -28
- package/dist/chunks/{persistent-pty-fjqrscp2.js → integration-ck69dtv7.js} +4 -4
- package/dist/chunks/{persistent-pty-7ac170kv.js → integration-cq37gk0t.js} +4 -4
- package/dist/chunks/{persistent-pty-95t0hkjg.js → integration-ctv3sctt.js} +5 -5
- package/dist/chunks/{persistent-pty-cwa6csj7.js → integration-cwa6csj7.js} +2 -2
- package/dist/chunks/{persistent-pty-h39be83b.js → integration-cwa84xdc.js} +38 -38
- package/dist/chunks/{persistent-pty-eh332ggn.js → integration-d25378pd.js} +4 -4
- package/dist/chunks/{persistent-pty-3cz8rj72.js → integration-d2aac7k2.js} +5 -5
- package/dist/chunks/{persistent-pty-f2pnfy76.js → integration-d51kj8va.js} +17 -17
- package/dist/chunks/{persistent-pty-94pybxf5.js → integration-d892zs75.js} +23 -23
- package/dist/chunks/{persistent-pty-9rbga6h0.js → integration-drmyzd20.js} +21 -21
- package/dist/chunks/{persistent-pty-ze07024f.js → integration-dw76zyaf.js} +16 -16
- package/dist/chunks/{persistent-pty-mzwaw4s1.js → integration-dw8gz3mq.js} +13 -13
- package/dist/chunks/{persistent-pty-qe3x1bke.js → integration-dzbr64j7.js} +37 -37
- package/dist/chunks/{persistent-pty-kne8f3cn.js → integration-e2hjzebn.js} +4 -4
- package/dist/chunks/{persistent-pty-pqkcmren.js → integration-e7190871.js} +17 -17
- package/dist/chunks/{persistent-pty-ef5x83kb.js → integration-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-anj84gah.js → integration-efwc84nf.js} +18 -18
- package/dist/chunks/{persistent-pty-1kvb0kat.js → integration-egjdmc9a.js} +44 -44
- package/dist/chunks/{persistent-pty-h03wrkyp.js → integration-erw5rpbs.js} +4 -3
- package/dist/chunks/{persistent-pty-qk51h78h.js → integration-es74qn32.js} +3 -3
- package/dist/chunks/{persistent-pty-etq0c3wd.js → integration-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-h3jkmnye.js → integration-ex9wjj40.js} +24 -24
- package/dist/chunks/{persistent-pty-j6sjxh3t.js → integration-f35xt7k7.js} +11 -11
- package/dist/chunks/{persistent-pty-awsncmv7.js → integration-f6ekd8xv.js} +3 -3
- package/dist/chunks/{persistent-pty-hdnk95c8.js → integration-f828m53h.js} +2 -2
- package/dist/chunks/{persistent-pty-ts2x07a1.js → integration-fch79rh9.js} +1 -1
- package/dist/chunks/{persistent-pty-95z2c9pc.js → integration-fepr4w5j.js} +21 -21
- package/dist/chunks/{persistent-pty-fhs97t90.js → integration-fhs97t90.js} +2 -2
- package/dist/chunks/{persistent-pty-gek3hqmr.js → integration-fjhejfvr.js} +22 -22
- package/dist/chunks/{persistent-pty-yyz8jpkn.js → integration-fjmxef0p.js} +11 -11
- package/dist/chunks/{persistent-pty-q5rhn9x0.js → integration-fkvr2bf4.js} +13 -13
- package/dist/chunks/integration-fnc9qs28.js +252 -0
- package/dist/chunks/{persistent-pty-0n9t5jdb.js → integration-fp13m9d9.js} +24 -24
- package/dist/chunks/{persistent-pty-j10zwm3w.js → integration-fwdrt8y0.js} +31 -31
- package/dist/chunks/{persistent-pty-fxbjtjnd.js → integration-fxbjtjnd.js} +1 -1
- package/dist/chunks/{persistent-pty-768y9nds.js → integration-g49fastt.js} +20 -20
- package/dist/chunks/{persistent-pty-pbjanjg3.js → integration-g98kts4v.js} +44 -44
- package/dist/chunks/{persistent-pty-p4dwv8bm.js → integration-gamnghgg.js} +10 -10
- package/dist/chunks/{persistent-pty-gd4qta3r.js → integration-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-am60j996.js → integration-ght2kap4.js} +5 -5
- package/dist/chunks/{persistent-pty-1t0nfscf.js → integration-grt2chjq.js} +68 -68
- package/dist/chunks/{persistent-pty-y99sa8tk.js → integration-gsw5hfjj.js} +24 -24
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → integration-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-1hfd6v93.js → integration-gv9r9ztf.js} +23 -23
- package/dist/chunks/{persistent-pty-g3v3qf95.js → integration-gvvdpzqz.js} +5 -5
- package/dist/chunks/{persistent-pty-dhwr7h25.js → integration-h2r7bbkd.js} +11 -11
- package/dist/chunks/{persistent-pty-h6vf3j39.js → integration-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-fwwk8vbp.js → integration-h71w788e.js} +9 -9
- package/dist/chunks/{persistent-pty-2qke6n7n.js → integration-ha2e1a5y.js} +18 -18
- package/dist/chunks/{persistent-pty-vnzr5dgv.js → integration-hgytqh36.js} +13 -13
- package/dist/chunks/{persistent-pty-07z5tzwy.js → integration-hnv6c5tt.js} +5 -5
- package/dist/chunks/{persistent-pty-cppz10m7.js → integration-hsrp58xj.js} +13 -13
- package/dist/chunks/{persistent-pty-sj90gq8y.js → integration-hyfj73c0.js} +47 -47
- package/dist/chunks/{persistent-pty-gkq5qcyg.js → integration-hynrrzr9.js} +18 -18
- package/dist/chunks/{persistent-pty-jp86qn4x.js → integration-hzds88te.js} +15 -15
- package/dist/chunks/{persistent-pty-x3h8tes1.js → integration-j2sam9jv.js} +2 -2
- package/dist/chunks/{persistent-pty-j56e64zr.js → integration-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-hdb7f41y.js → integration-jdksn0k6.js} +21 -21
- package/dist/chunks/{persistent-pty-azqw3jb1.js → integration-jrpnwa23.js} +5 -5
- package/dist/chunks/{persistent-pty-74rrnwt7.js → integration-jtazzn7t.js} +12 -12
- package/dist/chunks/{persistent-pty-byea612g.js → integration-jthw9jrm.js} +26 -17
- package/dist/chunks/{persistent-pty-vsp1fds9.js → integration-jw80jp6b.js} +21 -21
- package/dist/chunks/{persistent-pty-0f5egwty.js → integration-jx3wypgw.js} +26 -26
- package/dist/chunks/{persistent-pty-krracc70.js → integration-k06s6pez.js} +28 -28
- package/dist/chunks/{persistent-pty-5r49kz0e.js → integration-kxx7k9ny.js} +23 -23
- package/dist/chunks/{persistent-pty-axg0gedx.js → integration-m023722w.js} +31 -31
- package/dist/chunks/{persistent-pty-7knfbc9g.js → integration-m2ygz4rv.js} +15 -15
- package/dist/chunks/{persistent-pty-m3fdjcah.js → integration-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → integration-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-csf2jhsg.js → integration-mfhfdr54.js} +4 -4
- package/dist/chunks/{persistent-pty-mfqp6xfm.js → integration-mfqp6xfm.js} +2 -2
- package/dist/chunks/{persistent-pty-yz26c8tn.js → integration-mnaavyqg.js} +52 -52
- package/dist/chunks/{persistent-pty-35v1kxn5.js → integration-mvef3yxd.js} +20 -20
- package/dist/chunks/{persistent-pty-7adxfadd.js → integration-mx4e50pb.js} +4 -4
- package/dist/chunks/{persistent-pty-6nppgqk8.js → integration-n1nc45vm.js} +10 -10
- package/dist/chunks/{persistent-pty-jn5zp6kq.js → integration-n72gnw9z.js} +10 -10
- package/dist/chunks/{persistent-pty-2ptmrvab.js → integration-n7gd6fv3.js} +10 -10
- package/dist/chunks/{persistent-pty-crxeq1ff.js → integration-ndx5r91v.js} +3 -3
- package/dist/chunks/{persistent-pty-5dwyakjy.js → integration-nej4p9g1.js} +28 -28
- package/dist/chunks/{persistent-pty-8649vrz9.js → integration-ngnbq9bc.js} +4 -4
- package/dist/chunks/{persistent-pty-zbxvfzam.js → integration-nn34bpja.js} +3 -3
- package/dist/chunks/{persistent-pty-k3c624dm.js → integration-nzks3jc8.js} +3 -3
- package/dist/chunks/{persistent-pty-jppvw2tx.js → integration-p28j5sbe.js} +4 -3
- package/dist/chunks/{persistent-pty-wsmhkxds.js → integration-pjgwjwxs.js} +8 -8
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → integration-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-pknna89w.js → integration-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-nmv4qf5f.js → integration-pqt18mke.js} +6 -6
- package/dist/chunks/{persistent-pty-0kraehyv.js → integration-ps9hb5ct.js} +11 -11
- package/dist/chunks/{persistent-pty-ayxtpegw.js → integration-ptz1vvyt.js} +32 -32
- package/dist/chunks/{persistent-pty-z880hw7s.js → integration-qbatz9s3.js} +25 -25
- package/dist/chunks/{persistent-pty-k5z6kse8.js → integration-qcwz4p84.js} +32 -32
- package/dist/chunks/{persistent-pty-tbpqatpq.js → integration-qf3ebkzx.js} +9 -9
- package/dist/chunks/{persistent-pty-k4vvbs8q.js → integration-qgrcs4vk.js} +8 -8
- package/dist/chunks/{persistent-pty-4m8jz26w.js → integration-qj0280db.js} +10 -10
- package/dist/chunks/{persistent-pty-51a2ymsf.js → integration-qj7wvw4x.js} +43 -43
- package/dist/chunks/{persistent-pty-xfkkasph.js → integration-qqeeq2t9.js} +7 -7
- package/dist/chunks/{persistent-pty-qsdy395h.js → integration-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-nd83aj77.js → integration-qtzk0ftm.js} +16 -16
- package/dist/chunks/{persistent-pty-p23m4hfg.js → integration-qxrjxyb1.js} +10 -10
- package/dist/chunks/{persistent-pty-53vt59dk.js → integration-qzes1frq.js} +7 -7
- package/dist/chunks/{persistent-pty-svvemcs6.js → integration-r2tzf22e.js} +8 -8
- package/dist/chunks/{persistent-pty-73tb2d7t.js → integration-r5x6zcsm.js} +3 -3
- package/dist/chunks/{persistent-pty-rdw6cm16.js → integration-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-s8d7rejh.js → integration-rhjbct0v.js} +4 -4
- package/dist/chunks/{persistent-pty-mg0hvqns.js → integration-rhmz26db.js} +24 -24
- package/dist/chunks/{persistent-pty-ngp9tqdp.js → integration-s12geb02.js} +12 -12
- package/dist/chunks/{persistent-pty-2kg3amvy.js → integration-s1yskcg0.js} +30 -30
- package/dist/chunks/{persistent-pty-hzhe0gvd.js → integration-s40zj2kv.js} +14 -14
- package/dist/chunks/{persistent-pty-55wk8xf1.js → integration-shkdv626.js} +16 -16
- package/dist/chunks/{persistent-pty-81jqfy1y.js → integration-sz7h0m66.js} +25 -25
- package/dist/chunks/{persistent-pty-w47dka18.js → integration-t09rmbfd.js} +35 -35
- package/dist/chunks/{persistent-pty-ag9w8cw1.js → integration-t0fxg8b9.js} +5 -5
- package/dist/chunks/{persistent-pty-5we05nd2.js → integration-t7hd99dg.js} +18 -18
- package/dist/chunks/{persistent-pty-px9mqhce.js → integration-t96h8vn6.js} +21 -21
- package/dist/chunks/{persistent-pty-tazgh4e4.js → integration-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tcezcvh9.js → integration-tcezcvh9.js} +1 -1
- package/dist/chunks/{persistent-pty-22k63xb0.js → integration-tdf9xhep.js} +11 -11
- package/dist/chunks/{persistent-pty-tdstcens.js → integration-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-frk1q65v.js → integration-tj7ekckq.js} +58 -58
- package/dist/chunks/{persistent-pty-sd29ckz9.js → integration-ts4smcrt.js} +11 -11
- package/dist/chunks/{persistent-pty-r0185wf8.js → integration-ts74b2aa.js} +23 -23
- package/dist/chunks/{persistent-pty-bjyddaxd.js → integration-tv6v1fw0.js} +22 -22
- package/dist/chunks/{persistent-pty-zmtxzyyy.js → integration-tv8kvtrg.js} +11 -11
- package/dist/chunks/{persistent-pty-tvtrv512.js → integration-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-hfwabszm.js → integration-tx47f3yx.js} +17 -17
- package/dist/chunks/{persistent-pty-veqvce7d.js → integration-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-wn0nt2j8.js → integration-vgn02gcn.js} +24 -24
- package/dist/chunks/{persistent-pty-vzcthcp8.js → integration-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-cs048tcd.js → integration-w0t5mfte.js} +35 -35
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → integration-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-zjqwybhk.js → integration-w6yx7at2.js} +30 -30
- package/dist/chunks/{persistent-pty-wd87259q.js → integration-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-ene4sphv.js → integration-wgz7hchk.js} +6 -6
- package/dist/chunks/{persistent-pty-4st9gtz8.js → integration-whsap9g4.js} +11 -11
- package/dist/chunks/{persistent-pty-1z7bxdr8.js → integration-wk3yr6fy.js} +22 -21
- package/dist/chunks/{persistent-pty-4ygxkg3r.js → integration-wk7afg2y.js} +32 -32
- package/dist/chunks/{persistent-pty-d9tmdxxh.js → integration-wm4ff12p.js} +62 -62
- package/dist/chunks/{persistent-pty-8g5k0jjx.js → integration-wpm2rk0p.js} +8 -8
- package/dist/chunks/{persistent-pty-5esmf8a0.js → integration-wsh21s13.js} +31 -31
- package/dist/chunks/{persistent-pty-wx6gfcwp.js → integration-wx2t9nyy.js} +23 -23
- package/dist/chunks/{persistent-pty-gaezwqx6.js → integration-wxfef5f7.js} +23 -23
- package/dist/chunks/{persistent-pty-p2860678.js → integration-x0jthw69.js} +43 -43
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → integration-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-tqf3jwg0.js → integration-x2ehjnaf.js} +6 -6
- package/dist/chunks/{persistent-pty-06dd7vd0.js → integration-xbxrvfar.js} +17 -17
- package/dist/chunks/{persistent-pty-8szzmgce.js → integration-xcm9a8eq.js} +11 -11
- package/dist/chunks/{persistent-pty-gbe3t543.js → integration-xfwam4t6.js} +15 -15
- package/dist/chunks/{persistent-pty-gfkdt5qx.js → integration-xgghj434.js} +6 -6
- package/dist/chunks/{persistent-pty-hes1j7ga.js → integration-xsgk3b13.js} +9 -9
- package/dist/chunks/{persistent-pty-mhhfs06f.js → integration-xtg1xd5n.js} +98 -98
- package/dist/chunks/{persistent-pty-57ez7d0k.js → integration-xxhb4jr7.js} +9 -9
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → integration-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-5cyty3r2.js → integration-y324smtr.js} +288 -288
- package/dist/chunks/{persistent-pty-nga2x94v.js → integration-y3egp4dd.js} +9 -9
- package/dist/chunks/{persistent-pty-49e0ywga.js → integration-y3htf95n.js} +3 -3
- package/dist/chunks/{persistent-pty-b1a1n7cj.js → integration-y6f0p4jw.js} +3 -3
- package/dist/chunks/{persistent-pty-dpkg50ah.js → integration-y71avatq.js} +4 -4
- package/dist/chunks/{persistent-pty-mvf3rv83.js → integration-yf4y1y8p.js} +6 -6
- package/dist/chunks/{persistent-pty-ry98d82p.js → integration-yhmfm09s.js} +25 -25
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → integration-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → integration-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-8y1sr6jq.js → integration-yybj5cwe.js} +9 -9
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → integration-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-29x78va6.js → integration-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-4ka5ffeb.js → integration-zeh3qhes.js} +33 -33
- package/dist/chunks/{persistent-pty-zeh9ct20.js → integration-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-8558z9wf.js → integration-zkf5jky9.js} +5 -5
- package/dist/chunks/{persistent-pty-mns2zg1r.js → integration-zpnb0y11.js} +51 -51
- package/dist/chunks/{persistent-pty-sgwh5nyn.js → integration-zq6stcrg.js} +8 -8
- package/dist/chunks/{persistent-pty-e0rr02qg.js → integration-zqsm83yf.js} +11 -11
- package/dist/chunks/{persistent-pty-44ke2mar.js → integration-zqx8wcya.js} +4 -4
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → integration-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-zxq2ej10.js → integration-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +122 -122
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +80 -80
- package/dist/database/database.js +69 -69
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +366 -366
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +79 -79
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +98 -98
- 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/id/id.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 +357 -357
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +354 -354
- package/dist/location.js +88 -88
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +101 -101
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +114 -114
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +83 -83
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +101 -101
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +1 -1
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +328 -328
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +4 -4
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- 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 +228 -228
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +98 -98
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +86 -86
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +228 -228
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +84 -84
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +149 -149
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- 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 +11 -11
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +111 -111
- package/dist/snapshot.js +92 -92
- 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 +111 -111
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +110 -110
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +109 -109
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +113 -113
- package/dist/tool/read-filesystem.js +95 -95
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/types/form.d.ts +15 -0
- package/dist/types/integration.d.ts +60 -0
- package/dist/types/session/runner/publish-llm-event.d.ts +1 -0
- package/dist/types/v1/config/migrate.d.ts +3 -3
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- 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/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-7m245gq7.js +0 -38
- package/dist/chunks/persistent-pty-gwk30na0.js +0 -65
- package/dist/chunks/persistent-pty-gxrgn0ds.js +0 -252
- package/dist/chunks/persistent-pty-hr9dp009.js +0 -4
- package/dist/chunks/persistent-pty-v1faaxn9.js +0 -18
- package/dist/chunks/persistent-pty-vkwmxz0p.js +0 -26
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → integration-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → integration-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → integration-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → integration-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → integration-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → integration-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → integration-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → integration-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → integration-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → integration-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → integration-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → integration-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → integration-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → integration-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → integration-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → integration-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → integration-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → integration-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → integration-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → integration-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → integration-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → integration-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → integration-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → integration-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → integration-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → integration-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → integration-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → integration-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → integration-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → integration-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → integration-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → integration-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → integration-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → integration-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → integration-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → integration-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → integration-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → integration-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → integration-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → integration-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → integration-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → integration-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → integration-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → integration-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → integration-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → integration-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → integration-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → integration-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → integration-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → integration-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → integration-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → integration-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → integration-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → integration-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → integration-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → integration-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → integration-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → integration-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → integration-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → integration-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → integration-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → integration-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → integration-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → integration-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → integration-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → integration-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → integration-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → integration-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → integration-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → integration-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → integration-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → integration-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → integration-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → integration-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → integration-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → integration-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → integration-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → integration-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → integration-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → integration-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → integration-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → integration-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-twg0f83k.js → integration-twg0f83k.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → integration-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → integration-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → integration-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → integration-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → integration-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → integration-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → integration-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → integration-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → integration-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → integration-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → integration-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → integration-z9919s4g.js} +0 -0
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./integration-dw76zyaf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service32,
|
|
7
|
+
node35
|
|
8
|
+
} from "./integration-mnaavyqg.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service63,
|
|
11
|
+
node66
|
|
12
|
+
} from "./integration-tj7ekckq.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service39,
|
|
15
|
+
node42
|
|
16
|
+
} from "./integration-4f6d0pew.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/tool/mcp.ts
|
|
22
22
|
var exports_mcp3 = {};
|
|
23
23
|
__export(exports_mcp3, {
|
|
24
24
|
McpTool: () => exports_mcp3,
|
|
25
|
-
Service: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
name: () =>
|
|
25
|
+
Service: () => Service31,
|
|
26
|
+
layer: () => layer13,
|
|
27
|
+
name: () => name13,
|
|
28
28
|
namespace: () => namespace2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node34
|
|
30
30
|
});
|
|
31
31
|
import { ToolFailure } from "@opencode/ai";
|
|
32
32
|
import { McpEvent } from "@opencode/schema/mcp-event";
|
|
33
33
|
import { Context, Effect, Fiber, Layer, PubSub, Semaphore, Stream } from "effect";
|
|
34
34
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
35
35
|
var namespace2 = (server) => server.replace(/[^a-zA-Z0-9_-]/g, "_");
|
|
36
|
-
var
|
|
36
|
+
var name13 = (server, tool) => `${namespace2(server)}_${tool.replace(/[^a-zA-Z0-9_-]/g, "_")}`;
|
|
37
37
|
|
|
38
|
-
class
|
|
38
|
+
class Service31 extends Context.Service()("@opencode/McpTool") {
|
|
39
39
|
}
|
|
40
|
-
var
|
|
41
|
-
const mcp = yield*
|
|
42
|
-
const tools = yield*
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const permission = yield*
|
|
40
|
+
var layer13 = Layer.effect(Service31, Effect.gen(function* () {
|
|
41
|
+
const mcp = yield* Service32;
|
|
42
|
+
const tools = yield* Service39;
|
|
43
|
+
const bus = yield* Service81;
|
|
44
|
+
const permission = yield* Service63;
|
|
45
45
|
const lock = Semaphore.makeUnsafe(1);
|
|
46
46
|
let discovered = [];
|
|
47
47
|
const initial = yield* lock.withPermit(Effect.gen(function* () {
|
|
@@ -56,7 +56,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
56
56
|
output: tool.outputSchema ?? {},
|
|
57
57
|
execute: (input, context) => Effect.gen(function* () {
|
|
58
58
|
yield* permission.assert({
|
|
59
|
-
action:
|
|
59
|
+
action: name13(tool.server, tool.name),
|
|
60
60
|
resources: ["*"],
|
|
61
61
|
save: ["*"],
|
|
62
62
|
metadata: {},
|
|
@@ -105,7 +105,7 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
105
105
|
output: output(),
|
|
106
106
|
...content.length === 0 ? {} : { content }
|
|
107
107
|
};
|
|
108
|
-
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${
|
|
108
|
+
}).pipe(Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to execute ${name13(tool.server, tool.name)}` })))
|
|
109
109
|
});
|
|
110
110
|
}
|
|
111
111
|
});
|
|
@@ -118,12 +118,12 @@ var layer12 = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
118
118
|
yield* bus.subscribe(McpEvent.ToolsChanged).pipe(Stream.runForEach(() => PubSub.publish(changes, undefined)), Effect.forkScoped({ startImmediately: true }));
|
|
119
119
|
const updates = yield* PubSub.subscribe(changes);
|
|
120
120
|
yield* Stream.fromSubscription(updates).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reconcile), Effect.forkScoped({ startImmediately: true }));
|
|
121
|
-
return
|
|
121
|
+
return Service31.of({ flush: Effect.asVoid(Fiber.await(initial)) });
|
|
122
122
|
}));
|
|
123
|
-
var
|
|
124
|
-
service:
|
|
125
|
-
layer:
|
|
126
|
-
deps: [
|
|
123
|
+
var node34 = makeLocationNode({
|
|
124
|
+
service: Service31,
|
|
125
|
+
layer: layer13,
|
|
126
|
+
deps: [node42, node35, node85, node66]
|
|
127
127
|
});
|
|
128
128
|
|
|
129
|
-
export { namespace2,
|
|
129
|
+
export { namespace2, name13, Service31, layer13, node34, exports_mcp3 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service83,
|
|
3
|
-
node87
|
|
4
|
-
} from "./persistent-pty-e0rr02qg.js";
|
|
5
1
|
import {
|
|
6
2
|
Service82,
|
|
7
3
|
node86
|
|
8
|
-
} from "./
|
|
4
|
+
} from "./integration-zqsm83yf.js";
|
|
5
|
+
import {
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./integration-dw76zyaf.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service59,
|
|
11
|
+
node62
|
|
12
|
+
} from "./integration-9gea571p.js";
|
|
13
13
|
import {
|
|
14
14
|
AbsolutePath2,
|
|
15
15
|
RelativePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-922hggd3.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service72,
|
|
19
|
+
node75
|
|
20
|
+
} from "./integration-1jb3t5y8.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Ref3
|
|
23
|
+
} from "./integration-e7190871.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node71
|
|
27
|
+
} from "./integration-f35xt7k7.js";
|
|
28
28
|
import {
|
|
29
29
|
SessionMessage2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-gftt206x.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
NotFoundError9
|
|
33
|
+
} from "./integration-984xje6x.js";
|
|
34
34
|
import {
|
|
35
35
|
SessionEvent2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-ec1grn59.js";
|
|
37
37
|
import {
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
38
|
+
Service56
|
|
39
|
+
} from "./integration-e2hjzebn.js";
|
|
40
40
|
import {
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
} from "./
|
|
41
|
+
Service64,
|
|
42
|
+
node67
|
|
43
|
+
} from "./integration-tx47f3yx.js";
|
|
44
44
|
import {
|
|
45
45
|
Item2,
|
|
46
46
|
serialized2,
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
Service57,
|
|
48
|
+
node60,
|
|
49
49
|
moveIDs2
|
|
50
|
-
} from "./
|
|
50
|
+
} from "./integration-w6yx7at2.js";
|
|
51
51
|
import {
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
} from "./
|
|
52
|
+
Service55,
|
|
53
|
+
node59
|
|
54
|
+
} from "./integration-x0jthw69.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
} from "./
|
|
56
|
+
node27
|
|
57
|
+
} from "./integration-02sqwze2.js";
|
|
58
58
|
import {
|
|
59
59
|
__export
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./integration-9rqn6x4v.js";
|
|
61
61
|
|
|
62
62
|
// src/session/move.ts
|
|
63
63
|
var exports_move = {};
|
|
@@ -65,9 +65,9 @@ __export(exports_move, {
|
|
|
65
65
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
66
66
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
67
67
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
68
|
-
Service: () =>
|
|
68
|
+
Service: () => Service23,
|
|
69
69
|
SessionMove: () => exports_move,
|
|
70
|
-
node: () =>
|
|
70
|
+
node: () => node26
|
|
71
71
|
});
|
|
72
72
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
73
73
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -83,23 +83,23 @@ class DestinationNotDirectoryError2 extends Schema.TaggedError()("Session.Destin
|
|
|
83
83
|
class DestinationUnavailableError2 extends Schema.TaggedError()("Session.DestinationUnavailableError", { directory: AbsolutePath2 }) {
|
|
84
84
|
}
|
|
85
85
|
|
|
86
|
-
class
|
|
86
|
+
class Service23 extends Context.Service()("@opencode/SessionMove") {
|
|
87
87
|
}
|
|
88
|
-
var layer = Layer.effect(
|
|
88
|
+
var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
89
89
|
const fs = yield* FSUtil.Service;
|
|
90
90
|
const global = yield* Global.Service;
|
|
91
|
-
const projects = yield*
|
|
92
|
-
const locations = yield*
|
|
93
|
-
const store = yield*
|
|
94
|
-
const execution = yield*
|
|
95
|
-
const instances = yield*
|
|
96
|
-
const admission = yield*
|
|
97
|
-
const database = yield*
|
|
98
|
-
const bus = yield*
|
|
91
|
+
const projects = yield* Service72;
|
|
92
|
+
const locations = yield* Service68;
|
|
93
|
+
const store = yield* Service64;
|
|
94
|
+
const execution = yield* Service55;
|
|
95
|
+
const instances = yield* Service59;
|
|
96
|
+
const admission = yield* Service57;
|
|
97
|
+
const database = yield* Service82;
|
|
98
|
+
const bus = yield* Service81;
|
|
99
99
|
const get = Effect.fn("SessionMove.get")(function* (sessionID) {
|
|
100
100
|
const session = yield* store.get(sessionID);
|
|
101
101
|
if (!session)
|
|
102
|
-
return yield* new
|
|
102
|
+
return yield* new NotFoundError9({ sessionID });
|
|
103
103
|
return session;
|
|
104
104
|
});
|
|
105
105
|
const resolveDestination = Effect.fn("SessionMove.resolveDestination")(function* (session, input) {
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
115
115
|
return yield* new DestinationNotDirectoryError2({ directory });
|
|
116
116
|
const project = yield* projects.resolve(directory);
|
|
117
117
|
const destination = {
|
|
118
|
-
location:
|
|
118
|
+
location: Ref3.make({ directory, workspaceID: input.workspaceID }),
|
|
119
119
|
projectID: project.id,
|
|
120
120
|
subpath: RelativePath2.make(path.relative(project.directory, directory).replaceAll("\\", "/"))
|
|
121
121
|
};
|
|
@@ -131,9 +131,9 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
131
131
|
return false;
|
|
132
132
|
if (!(yield* fs.isDir(session.location.directory)))
|
|
133
133
|
return true;
|
|
134
|
-
return yield*
|
|
134
|
+
return yield* Service56.pipe(instances.provide(session), Effect.as(false), Effect.catchCause((cause) => Cause.hasInterrupts(cause) ? Effect.failCause(cause) : Effect.succeed(true)));
|
|
135
135
|
});
|
|
136
|
-
return
|
|
136
|
+
return Service23.of({
|
|
137
137
|
move: Effect.fn("SessionMove.move")(function* (input) {
|
|
138
138
|
const session = yield* get(input.sessionID);
|
|
139
139
|
const destination = yield* resolveDestination(session, input);
|
|
@@ -163,22 +163,22 @@ var layer = Layer.effect(Service18, Effect.gen(function* () {
|
|
|
163
163
|
})
|
|
164
164
|
});
|
|
165
165
|
}));
|
|
166
|
-
var
|
|
167
|
-
service:
|
|
166
|
+
var node26 = makeGlobalNode({
|
|
167
|
+
service: Service23,
|
|
168
168
|
layer,
|
|
169
169
|
deps: [
|
|
170
170
|
FSUtil.node,
|
|
171
171
|
Global.node,
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
node87,
|
|
172
|
+
node75,
|
|
173
|
+
node71,
|
|
174
|
+
node67,
|
|
175
|
+
node59,
|
|
176
|
+
node62,
|
|
177
|
+
node60,
|
|
179
178
|
node86,
|
|
180
|
-
|
|
179
|
+
node85,
|
|
180
|
+
node27
|
|
181
181
|
]
|
|
182
182
|
});
|
|
183
183
|
|
|
184
|
-
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2,
|
|
184
|
+
export { DestinationNotFoundError2, DestinationNotDirectoryError2, DestinationUnavailableError2, Service23, node26, exports_move };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node80,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node80 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node80, exports_driver };
|
|
@@ -1,96 +1,96 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AmazonBedrockPlugin2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-bcxedjzd.js";
|
|
4
4
|
import {
|
|
5
5
|
AzurePlugin2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-fp13m9d9.js";
|
|
7
7
|
import {
|
|
8
8
|
CerebrasPlugin2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-wc3fc9cn.js";
|
|
10
10
|
import {
|
|
11
11
|
CloudflareAIGatewayPlugin2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-ctv3sctt.js";
|
|
13
13
|
import {
|
|
14
14
|
CloudflareWorkersAIPlugin2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./integration-7539fxrp.js";
|
|
16
16
|
import {
|
|
17
17
|
CoherePlugin2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./integration-z0bkrqjs.js";
|
|
19
19
|
import {
|
|
20
20
|
DigitalOceanPlugin2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./integration-3vp2enxy.js";
|
|
22
22
|
import {
|
|
23
23
|
DynamicProviderPlugin2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./integration-vzcthcp8.js";
|
|
25
25
|
import {
|
|
26
26
|
GatewayPlugin2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./integration-669tq793.js";
|
|
28
28
|
import {
|
|
29
29
|
GithubCopilotPlugin2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./integration-m023722w.js";
|
|
31
31
|
import {
|
|
32
32
|
GitLabPlugin2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./integration-6cv9b742.js";
|
|
34
34
|
import {
|
|
35
35
|
GoogleVertexPlugin2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./integration-zkf5jky9.js";
|
|
37
37
|
import {
|
|
38
38
|
KiloPlugin2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./integration-qg3g05ea.js";
|
|
40
40
|
import {
|
|
41
41
|
LLMGatewayPlugin2
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./integration-gvvdpzqz.js";
|
|
43
43
|
import {
|
|
44
44
|
LMStudioPlugin2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./integration-n72gnw9z.js";
|
|
46
46
|
import {
|
|
47
47
|
ModalPlugin2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./integration-t7hd99dg.js";
|
|
49
49
|
import {
|
|
50
50
|
NvidiaPlugin2
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./integration-24dcb14g.js";
|
|
52
52
|
import {
|
|
53
53
|
OllamaPlugin2
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./integration-75ks8wpd.js";
|
|
55
55
|
import {
|
|
56
56
|
OpenAIPlugin2
|
|
57
|
-
} from "./
|
|
57
|
+
} from "./integration-shkdv626.js";
|
|
58
58
|
import {
|
|
59
59
|
SnowflakeCortexPlugin2
|
|
60
|
-
} from "./
|
|
60
|
+
} from "./integration-xbxrvfar.js";
|
|
61
61
|
import {
|
|
62
62
|
OpencodePlugin2
|
|
63
|
-
} from "./
|
|
63
|
+
} from "./integration-jthw9jrm.js";
|
|
64
64
|
import {
|
|
65
65
|
OpenRouterPlugin2
|
|
66
|
-
} from "./
|
|
66
|
+
} from "./integration-f6ekd8xv.js";
|
|
67
67
|
import {
|
|
68
68
|
PerplexityPlugin2
|
|
69
|
-
} from "./
|
|
69
|
+
} from "./integration-veqvce7d.js";
|
|
70
70
|
import {
|
|
71
71
|
PoePlugin2
|
|
72
|
-
} from "./
|
|
72
|
+
} from "./integration-ag2gfn9f.js";
|
|
73
73
|
import {
|
|
74
74
|
PromptCacheKeyPlugin2
|
|
75
|
-
} from "./
|
|
75
|
+
} from "./integration-ndx5r91v.js";
|
|
76
76
|
import {
|
|
77
77
|
SapAICorePlugin2
|
|
78
|
-
} from "./
|
|
78
|
+
} from "./integration-by3dbgkm.js";
|
|
79
79
|
import {
|
|
80
80
|
VercelPlugin2
|
|
81
|
-
} from "./
|
|
81
|
+
} from "./integration-1x4zaxp7.js";
|
|
82
82
|
import {
|
|
83
83
|
VenicePlugin2
|
|
84
|
-
} from "./
|
|
84
|
+
} from "./integration-yrhqyw5v.js";
|
|
85
85
|
import {
|
|
86
86
|
VLLMPlugin2
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./integration-n7gd6fv3.js";
|
|
88
88
|
import {
|
|
89
89
|
XAIPlugin2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./integration-tdf9xhep.js";
|
|
91
91
|
import {
|
|
92
92
|
ZenmuxPlugin2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./integration-jjkms2e6.js";
|
|
94
94
|
|
|
95
95
|
// src/plugin/provider.ts
|
|
96
96
|
var ProviderPlugins2 = [
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./integration-dw76zyaf.js";
|
|
5
5
|
import {
|
|
6
6
|
PATCH_CONTEXT_LINES2,
|
|
7
7
|
MAX_TOTAL_PATCH_BYTES2,
|
|
8
8
|
emptyPatch2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-tazgh4e4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service71,
|
|
12
|
+
node74
|
|
13
|
+
} from "./integration-e7190871.js";
|
|
14
14
|
import {
|
|
15
15
|
reconcile2,
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./integration-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./integration-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/vcs.ts
|
|
23
23
|
var exports_vcs = {};
|
|
@@ -26,17 +26,17 @@ __export(exports_vcs, {
|
|
|
26
26
|
BranchList: () => BranchList2,
|
|
27
27
|
DiffError: () => DiffError2,
|
|
28
28
|
FileStatus: () => FileStatus2,
|
|
29
|
-
Info: () =>
|
|
29
|
+
Info: () => Info8,
|
|
30
30
|
Mode: () => Mode2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service46,
|
|
32
32
|
Vcs: () => exports_vcs,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node49
|
|
34
34
|
});
|
|
35
35
|
import path from "path";
|
|
36
36
|
import { Cause, Context, Effect, FiberSet, Layer, Schema, Semaphore, Stream } from "effect";
|
|
37
37
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
38
38
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
39
|
-
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as
|
|
39
|
+
import { Base as Base2, BranchList as BranchList2, FileStatus as FileStatus2, Info as Info8, Mode as Mode2 } from "@opencode/schema/vcs";
|
|
40
40
|
import { VcsEvent } from "@opencode/schema/vcs-event";
|
|
41
41
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -45,12 +45,12 @@ class DiffError2 extends Schema.TaggedError()("Vcs.DiffError", {
|
|
|
45
45
|
}) {
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service46 extends Context.Service()("@opencode/Vcs") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
50
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
|
-
const location = yield*
|
|
53
|
-
const bus = yield*
|
|
52
|
+
const location = yield* Service71;
|
|
53
|
+
const bus = yield* Service81;
|
|
54
54
|
const root = yield* Effect.scope;
|
|
55
55
|
const fork = yield* FiberSet.makeRuntime();
|
|
56
56
|
const vcs = location.vcs;
|
|
@@ -62,7 +62,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
62
62
|
canonical: location.project.canonical,
|
|
63
63
|
...vcs ? { store: vcs.store } : {}
|
|
64
64
|
};
|
|
65
|
-
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(
|
|
65
|
+
const decodeInfo = Schema.decodeUnknownEffect(Schema.toType(Info8));
|
|
66
66
|
const decodeBase = Schema.decodeUnknownEffect(Schema.NullOr(Base2));
|
|
67
67
|
const decodeBranches = Schema.decodeUnknownEffect(BranchList2);
|
|
68
68
|
const decodeStatus = Schema.decodeUnknownEffect(Schema.Array(FileStatus2));
|
|
@@ -118,7 +118,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
118
118
|
const isBranchMetadata = vcs.type === "git" ? (file) => path.basename(file) === "HEAD" && FSUtil.contains(store, file) : (file) => path.resolve(file) === path.join(store, "branch");
|
|
119
119
|
yield* bus.subscribe(FileSystem.Event.Changed).pipe(Stream.filter((event) => isBranchMetadata(event.data.file)), Stream.runForEach((event) => refresh().pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logWarning("vcs refresh failed", { file: event.data.file, cause })), Effect.withSpan("Vcs.refreshBranch", { attributes: { file: event.data.file } }))), Effect.forkScoped({ startImmediately: true }));
|
|
120
120
|
}
|
|
121
|
-
return
|
|
121
|
+
return Service46.of({
|
|
122
122
|
transform: state.transform,
|
|
123
123
|
reload: state.reload,
|
|
124
124
|
info: Effect.fn("Vcs.info")(function* () {
|
|
@@ -164,10 +164,10 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
164
164
|
})
|
|
165
165
|
});
|
|
166
166
|
}));
|
|
167
|
-
var
|
|
168
|
-
service:
|
|
167
|
+
var node49 = makeLocationNode({
|
|
168
|
+
service: Service46,
|
|
169
169
|
layer,
|
|
170
|
-
deps: [FSUtil.node,
|
|
170
|
+
deps: [FSUtil.node, node74, node85]
|
|
171
171
|
});
|
|
172
172
|
|
|
173
|
-
export { Base2, BranchList2, FileStatus2,
|
|
173
|
+
export { Base2, BranchList2, FileStatus2, Info8, Mode2, DiffError2, Service46, node49, exports_vcs };
|