@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
|
@@ -4,34 +4,34 @@ import {
|
|
|
4
4
|
MAX_TOTAL_PATCH_BYTES2,
|
|
5
5
|
emptyPatch2,
|
|
6
6
|
chunksByFile2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-tazgh4e4.js";
|
|
8
8
|
import {
|
|
9
9
|
gitExecutable2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-ef5x83kb.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service71
|
|
13
|
+
} from "./integration-e7190871.js";
|
|
14
14
|
import {
|
|
15
15
|
DiffError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-wx2t9nyy.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/plugin/vcs/git.ts
|
|
22
22
|
var exports_git = {};
|
|
23
23
|
__export(exports_git, {
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin25,
|
|
25
25
|
VcsGitPlugin: () => exports_git
|
|
26
26
|
});
|
|
27
27
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
28
28
|
import { Effect } from "effect";
|
|
29
29
|
import { ChildProcess } from "effect/unstable/process";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
|
-
var
|
|
31
|
+
var Plugin25 = define({
|
|
32
32
|
id: "opencode.vcs.git",
|
|
33
33
|
effect: Effect.fn("VcsGitPlugin")(function* (ctx) {
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service71;
|
|
35
35
|
if (location.vcs?.type !== "git")
|
|
36
36
|
return;
|
|
37
37
|
const processes = yield* AppProcess.Service;
|
|
@@ -470,4 +470,4 @@ var track = Effect.fnUntraced(function* (ctx, ref, options) {
|
|
|
470
470
|
return yield* diffAgainstRef(ctx, ref, options);
|
|
471
471
|
});
|
|
472
472
|
|
|
473
|
-
export {
|
|
473
|
+
export { Plugin25, exports_git };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service50
|
|
4
|
+
} from "./integration-egjdmc9a.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin34,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin34 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin33 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin34, exports_warming };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./integration-jtazzn7t.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./integration-gv6a8nnw.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./integration-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
14
14
|
__export(exports_git2, {
|
|
15
15
|
WorktreeGit: () => exports_git2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make15
|
|
17
17
|
});
|
|
18
18
|
import { Effect } from "effect";
|
|
19
19
|
import { Worktree } from "@opencode/schema/worktree";
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
|
-
var
|
|
21
|
+
var make15 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service80;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -46,4 +46,4 @@ var make12 = Effect.gen(function* () {
|
|
|
46
46
|
};
|
|
47
47
|
});
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { make15, exports_git2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make20,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -50,7 +50,7 @@ class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKey
|
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make20(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3,
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make20, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
load4
|
|
6
|
+
} from "./integration-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event11,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service51,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer20,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node54,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper";
|
|
@@ -33,10 +33,10 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event11 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
|
-
return createWrapper(
|
|
39
|
+
return createWrapper(load4());
|
|
40
40
|
} catch {
|
|
41
41
|
return;
|
|
42
42
|
}
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service51 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer20 = (options) => Layer.effect(Service51, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service51.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer24 = (options) => Layer.effect(Service70, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service51.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer20().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service51).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service51, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service51, layer: layer20(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node54 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event11, hasNativeBinding2, Native3, Options8, Service51, Test3, layer20, testLayer3, nativeLayer2, nativeNode2, configured8, node54, exports_watcher };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./integration-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service83,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node87
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service83 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service83, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service83.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node87 = makeLocationNode({
|
|
143
|
+
service: Service83,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service83, node87, exports_tool_output2 };
|
|
@@ -2,40 +2,40 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./integration-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./integration-e7190871.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service18,
|
|
12
|
+
node20
|
|
13
|
+
} from "./integration-4n9c6g4h.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./integration-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
20
20
|
__export(exports_filesystem, {
|
|
21
|
-
Content: () =>
|
|
21
|
+
Content: () => Content2,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
|
-
ListInput: () =>
|
|
30
|
+
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service17,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node19
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,18 +51,18 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
58
|
-
var
|
|
58
|
+
var Content2 = Schema.Struct({
|
|
59
59
|
uri: Schema.String,
|
|
60
60
|
name: Schema.String.pipe(Schema.optional),
|
|
61
61
|
content: Schema.String,
|
|
62
62
|
encoding: Schema.Literals(["utf8", "base64"]),
|
|
63
63
|
mime: Schema.String
|
|
64
64
|
}).annotate({ identifier: "FileSystem.Content" });
|
|
65
|
-
var
|
|
65
|
+
var ListInput2 = Schema.Struct({
|
|
66
66
|
path: Schema.String.pipe(Schema.optional)
|
|
67
67
|
});
|
|
68
68
|
var DEFAULT_SEARCH_LIMIT2 = 100;
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service17 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service17, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service71;
|
|
95
|
+
const search = yield* Service18;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service17.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node19 = makeLocationNode({
|
|
144
|
+
service: Service17,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node74, node20]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service17, node19, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID9
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./integration-1wbhvsa0.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./integration-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./integration-h2r7bbkd.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./integration-3jqnyahm.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service50
|
|
16
|
+
} from "./integration-egjdmc9a.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./integration-5daktx2q.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./integration-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
25
|
var exports_agent = {};
|
|
26
26
|
__export(exports_agent, {
|
|
27
27
|
ConfigAgentPlugin: () => exports_agent,
|
|
28
|
-
Plugin: () =>
|
|
28
|
+
Plugin: () => Plugin13
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var decodeConfig = Schema.decodeUnknownOption(Info);
|
|
45
45
|
var pathActions = ["external_directory", "read", "edit"];
|
|
46
46
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
47
|
-
var
|
|
47
|
+
var Plugin13 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service50;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -161,4 +161,4 @@ function decode(file, content) {
|
|
|
161
161
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
162
162
|
}
|
|
163
163
|
|
|
164
|
-
export {
|
|
164
|
+
export { Plugin13, exports_agent };
|