@opencode/core 0.0.0-dev-19284 → 0.0.0-dev-19285
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 +81 -81
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +67 -67
- package/dist/catalog.js +83 -83
- package/dist/chunks/{pty-0hpxrkyb.js → reference-0hpxrkyb.js} +2 -2
- package/dist/chunks/{pty-0paq2nw3.js → reference-0paq2nw3.js} +1 -1
- package/dist/chunks/{pty-0q0f95c6.js → reference-0q0f95c6.js} +1 -1
- package/dist/chunks/{pty-84c1s7yv.js → reference-18s2crhv.js} +23 -23
- package/dist/chunks/{pty-1dazxqgg.js → reference-1dazxqgg.js} +2 -2
- package/dist/chunks/{pty-113zqzxk.js → reference-1hx3a7j4.js} +29 -29
- package/dist/chunks/{pty-kke37ydq.js → reference-1j68e3we.js} +15 -15
- package/dist/chunks/{pty-k15hmge1.js → reference-1n1re824.js} +18 -18
- package/dist/chunks/{pty-4ahbs3kp.js → reference-1s85ea80.js} +15 -15
- package/dist/chunks/{pty-nqh3n51t.js → reference-1vbqt11h.js} +12 -12
- package/dist/chunks/{pty-21r38tys.js → reference-21r38tys.js} +1 -1
- package/dist/chunks/{pty-myh2tnjz.js → reference-21tjen5n.js} +20 -20
- package/dist/chunks/{pty-7wabxp46.js → reference-231s2dv0.js} +20 -20
- package/dist/chunks/{pty-zy5ev4j8.js → reference-24p0y6dv.js} +20 -20
- package/dist/chunks/{pty-8nqvx115.js → reference-26n19ak3.js} +4 -4
- package/dist/chunks/{pty-hhqp0ev3.js → reference-27kr68t2.js} +4 -4
- package/dist/chunks/{pty-2a5m3afh.js → reference-2a5m3afh.js} +1 -1
- package/dist/chunks/{pty-s7kwm6zm.js → reference-2atv2341.js} +5 -5
- package/dist/chunks/{pty-hvw41qaw.js → reference-2bcpzs2r.js} +24 -24
- package/dist/chunks/{pty-7bfxxbhh.js → reference-2mpb3c7h.js} +3 -3
- package/dist/chunks/{pty-6tfkz8mw.js → reference-2q8hwwwc.js} +5 -5
- package/dist/chunks/{pty-xc71xt00.js → reference-3222fpmk.js} +5 -5
- package/dist/chunks/{pty-3c2gg74p.js → reference-35pawy1v.js} +9 -9
- package/dist/chunks/{pty-y37t65q2.js → reference-3g06hv1z.js} +10 -10
- package/dist/chunks/{pty-3hepkmqq.js → reference-3hepkmqq.js} +1 -1
- package/dist/chunks/{pty-m9g7kjz2.js → reference-3jf7jxvk.js} +1 -1
- package/dist/chunks/{pty-3smtnn6g.js → reference-3smtnn6g.js} +1 -1
- package/dist/chunks/{pty-3tvqynh2.js → reference-3tvqynh2.js} +1 -1
- package/dist/chunks/{pty-9ex99xm7.js → reference-3wqf40ez.js} +7 -7
- package/dist/chunks/{pty-1k9r8ajs.js → reference-43vjkkh2.js} +24 -24
- package/dist/chunks/{pty-bh0zzf2s.js → reference-4c2df9zx.js} +8 -8
- package/dist/chunks/{pty-52fdmm22.js → reference-4dp2399g.js} +61 -61
- package/dist/chunks/{pty-xfxn6gek.js → reference-4fk03y38.js} +1 -1
- package/dist/chunks/{pty-c4jwsn70.js → reference-4gpvdk2f.js} +14 -14
- package/dist/chunks/{pty-t2vdd8h0.js → reference-4q4p5end.js} +11 -11
- package/dist/chunks/{pty-n3hdt412.js → reference-4rh3z4xh.js} +13 -13
- package/dist/chunks/{pty-vewreb7k.js → reference-4zn0r1r4.js} +12 -12
- package/dist/chunks/{pty-2n7rzc9a.js → reference-525hap2p.js} +9 -9
- package/dist/chunks/{pty-qd417my5.js → reference-54gn6h9v.js} +1 -1
- package/dist/chunks/{pty-w31q4z5a.js → reference-56pr6y5x.js} +11 -11
- package/dist/chunks/{pty-5daktx2q.js → reference-5daktx2q.js} +1 -1
- package/dist/chunks/{pty-5t3nmthw.js → reference-5t3nmthw.js} +2 -2
- package/dist/chunks/{pty-ef87s1j5.js → reference-5vb8t1df.js} +11 -11
- package/dist/chunks/{pty-92c83kr3.js → reference-636mnkjh.js} +15 -15
- package/dist/chunks/{pty-669tq793.js → reference-669tq793.js} +1 -1
- package/dist/chunks/{pty-sedetxkq.js → reference-6dxje0nq.js} +26 -26
- package/dist/chunks/{pty-2402vzrj.js → reference-6h73sxmp.js} +5 -5
- package/dist/chunks/{pty-6msgmcgs.js → reference-6msgmcgs.js} +1 -1
- package/dist/chunks/{pty-z33n7yxw.js → reference-6q0ssdw5.js} +1 -1
- package/dist/chunks/{pty-bajakh74.js → reference-6tt5evqq.js} +4 -4
- package/dist/chunks/{pty-wm0z4180.js → reference-6xg3k3v3.js} +24 -24
- package/dist/chunks/{pty-x4kntfbn.js → reference-6ykfmbhh.js} +20 -20
- package/dist/chunks/{pty-71q4at8m.js → reference-71q4at8m.js} +1 -1
- package/dist/chunks/{pty-dw85xzsy.js → reference-73mg2vtt.js} +8 -8
- package/dist/chunks/{pty-evp6550k.js → reference-742bzcdy.js} +16 -16
- package/dist/chunks/{pty-7bmhse3q.js → reference-7bmhse3q.js} +1 -1
- package/dist/chunks/{pty-zwv60398.js → reference-7edp414f.js} +2 -2
- package/dist/chunks/{pty-h6dyyfam.js → reference-7gc0xae5.js} +169 -169
- package/dist/chunks/{pty-bf9a8ejx.js → reference-7jmqxgxn.js} +20 -20
- package/dist/chunks/{pty-wm433qqz.js → reference-7jshreb6.js} +44 -44
- package/dist/chunks/{pty-byz24ksx.js → reference-7k65wcnh.js} +32 -32
- package/dist/chunks/{pty-kt5w8vxh.js → reference-7zdm33ac.js} +10 -10
- package/dist/chunks/{pty-egb2azzx.js → reference-7zz35dhy.js} +26 -26
- package/dist/chunks/{pty-8d7r5vzw.js → reference-8d7r5vzw.js} +1 -1
- package/dist/chunks/{pty-8p4f9s12.js → reference-8p4f9s12.js} +2 -2
- package/dist/chunks/{pty-hrvd6t1f.js → reference-8w9tvb25.js} +9 -9
- package/dist/chunks/{pty-yrc26zmc.js → reference-8xx08dm0.js} +24 -24
- package/dist/chunks/{pty-48jnmw64.js → reference-94ty58yj.js} +22 -22
- package/dist/chunks/{pty-k9zjg2m8.js → reference-95b6ghe6.js} +18 -18
- package/dist/chunks/reference-99pkb00s.js +247 -0
- package/dist/chunks/{pty-0v9511cz.js → reference-9fkctmz4.js} +4 -4
- package/dist/chunks/{pty-z5p19pf1.js → reference-9h2tqn78.js} +8 -8
- package/dist/chunks/{pty-xsasmzga.js → reference-9kcb9bfn.js} +5 -5
- package/dist/chunks/{pty-81swgkk7.js → reference-9pv0dm11.js} +9 -9
- package/dist/chunks/{pty-9ky66zz9.js → reference-9vs0xtad.js} +3 -3
- package/dist/chunks/{pty-aynpr8ab.js → reference-a1b3c13m.js} +5 -5
- package/dist/chunks/{pty-a1bz86dw.js → reference-a1bz86dw.js} +3 -3
- package/dist/chunks/{pty-2caq6pqh.js → reference-a3re5se6.js} +24 -24
- package/dist/chunks/{pty-1tr2mxv2.js → reference-a9m3pnym.js} +19 -19
- package/dist/chunks/{pty-wp2qtysx.js → reference-aa5yzmg3.js} +14 -14
- package/dist/chunks/{pty-aaet6srn.js → reference-aaet6srn.js} +2 -2
- package/dist/chunks/{pty-e6eyn984.js → reference-aagvpmpk.js} +23 -23
- package/dist/chunks/{pty-vxdaz8vr.js → reference-aerscydv.js} +3 -3
- package/dist/chunks/{pty-hxzmwa8h.js → reference-amv9spzy.js} +11 -11
- package/dist/chunks/{pty-b6gygkdw.js → reference-b6gygkdw.js} +2 -2
- package/dist/chunks/{pty-sjnbwgen.js → reference-b7r85zma.js} +15 -15
- package/dist/chunks/{pty-0b0xam7s.js → reference-b89n2hrw.js} +28 -28
- package/dist/chunks/{pty-hqp75n2j.js → reference-c07ppws4.js} +35 -35
- package/dist/chunks/{pty-rhq1hhdm.js → reference-c8qcwh7c.js} +8 -8
- package/dist/chunks/{pty-hq506b09.js → reference-cf7t4tbm.js} +1 -1
- package/dist/chunks/{pty-cfpkc3c9.js → reference-cfpkc3c9.js} +2 -2
- package/dist/chunks/{pty-y49qrr0k.js → reference-d2kbg34c.js} +1 -1
- package/dist/chunks/{pty-vy69nfyt.js → reference-d688schs.js} +26 -26
- package/dist/chunks/{pty-j08yav90.js → reference-dee1kvxx.js} +18 -18
- package/dist/chunks/{pty-d4e3xrxv.js → reference-dwajp34v.js} +8 -8
- package/dist/chunks/{pty-rdyvw1h1.js → reference-dxahnrqk.js} +29 -29
- package/dist/chunks/{pty-9nepbqpa.js → reference-dyyz5283.js} +6 -6
- package/dist/chunks/{pty-pck3w1ab.js → reference-e6jkap1f.js} +4 -4
- package/dist/chunks/{pty-dm7hx1w0.js → reference-e7066wh1.js} +13 -13
- package/dist/chunks/{pty-5gpsw6jk.js → reference-e9q2tff6.js} +24 -24
- package/dist/chunks/{pty-cajdsvab.js → reference-eb08dgxh.js} +19 -19
- package/dist/chunks/{pty-0xxge0pj.js → reference-ed80ss5w.js} +41 -41
- package/dist/chunks/{pty-kqcsfhww.js → reference-eej0jtf5.js} +18 -18
- package/dist/chunks/{pty-ajnpj862.js → reference-eghhz9w3.js} +6 -6
- package/dist/chunks/{pty-53datcyd.js → reference-ehah1z4y.js} +36 -36
- package/dist/chunks/{pty-8kqe18cf.js → reference-ek2ekg50.js} +9 -9
- package/dist/chunks/{pty-73tb2d7t.js → reference-eq1pz5kg.js} +3 -3
- package/dist/chunks/{pty-etq0c3wd.js → reference-etq0c3wd.js} +1 -1
- package/dist/chunks/{pty-8xyemkvq.js → reference-ewkfaene.js} +3 -3
- package/dist/chunks/{pty-7f7j5aqq.js → reference-f2n7c6vf.js} +7 -7
- package/dist/chunks/{pty-s8j6jbjj.js → reference-f3ngv102.js} +21 -21
- package/dist/chunks/{pty-azc0fw06.js → reference-f74zpcfx.js} +53 -53
- package/dist/chunks/{pty-f828m53h.js → reference-f828m53h.js} +2 -2
- package/dist/chunks/{pty-8dk8azxs.js → reference-f8gmmhdx.js} +5 -5
- package/dist/chunks/{pty-6rgk4ym7.js → reference-fbh8gv2m.js} +28 -28
- package/dist/chunks/{pty-efhysqvt.js → reference-fdhnxwqq.js} +15 -15
- package/dist/chunks/reference-fnzccmjb.js +22 -0
- package/dist/chunks/{pty-qba6esk9.js → reference-fschjpvb.js} +9 -9
- package/dist/chunks/{pty-j46t8cy3.js → reference-fsg64sxd.js} +30 -30
- package/dist/chunks/{pty-cte9ap30.js → reference-ftdzjz2b.js} +8 -8
- package/dist/chunks/{pty-fxbjtjnd.js → reference-fxbjtjnd.js} +1 -1
- package/dist/chunks/{pty-0y9djfvb.js → reference-g0fwp05y.js} +3 -3
- package/dist/chunks/{pty-28v53sff.js → reference-g0h581t9.js} +10 -10
- package/dist/chunks/{pty-x0yh80ry.js → reference-g7yd2vxk.js} +13 -13
- package/dist/chunks/{pty-jfz1was4.js → reference-gabjygxp.js} +9 -9
- package/dist/chunks/{pty-gd4qta3r.js → reference-gd4qta3r.js} +1 -1
- package/dist/chunks/{pty-3fc6dm20.js → reference-gdvy8fx6.js} +4 -4
- package/dist/chunks/{pty-sthxgr5k.js → reference-gj7hfxsf.js} +25 -25
- package/dist/chunks/{pty-7108e3wm.js → reference-gk1e73sc.js} +23 -23
- package/dist/chunks/{pty-bd2sx3rh.js → reference-gxretbwa.js} +32 -32
- package/dist/chunks/{pty-9txcanwf.js → reference-gxy528pw.js} +34 -34
- package/dist/chunks/{pty-zyzh87z1.js → reference-gzedjxr8.js} +22 -22
- package/dist/chunks/{pty-h03wrkyp.js → reference-h03wrkyp.js} +2 -2
- package/dist/chunks/{pty-h6vf3j39.js → reference-h6vf3j39.js} +1 -1
- package/dist/chunks/{pty-6jnybvqn.js → reference-h7ygw6q4.js} +9 -9
- package/dist/chunks/{pty-gq4yt5d9.js → reference-hdcwm5yn.js} +11 -11
- package/dist/chunks/{pty-jmm88pvs.js → reference-hdthj1pw.js} +11 -11
- package/dist/chunks/{pty-ye323zqv.js → reference-hj2q4vx8.js} +9 -9
- package/dist/chunks/{pty-fn6h20rm.js → reference-hx9b9j3y.js} +6 -6
- package/dist/chunks/reference-hxa7m5za.js +4 -0
- package/dist/chunks/{pty-nts3ktd3.js → reference-j460kft3.js} +16 -16
- package/dist/chunks/{pty-pxm7ex4k.js → reference-j4dwrdg1.js} +17 -17
- package/dist/chunks/{pty-j56e64zr.js → reference-j56e64zr.js} +1 -1
- package/dist/chunks/{pty-eegqa8a9.js → reference-jtxfv8d5.js} +33 -33
- package/dist/chunks/{pty-mx6z9c2k.js → reference-jzrkhfnx.js} +39 -39
- package/dist/chunks/{pty-ah0499c8.js → reference-k3fk1xw0.js} +28 -28
- package/dist/chunks/{pty-at7vj8xg.js → reference-k99e1z30.js} +304 -304
- package/dist/chunks/{pty-8tfpvtr7.js → reference-k9hy4w8j.js} +28 -28
- package/dist/chunks/{pty-c1zrx13f.js → reference-kcqzyg21.js} +16 -16
- package/dist/chunks/{pty-7kn1pjxe.js → reference-kd62wyh6.js} +13 -13
- package/dist/chunks/{pty-3yyqtq1k.js → reference-kdsmfbp6.js} +18 -18
- package/dist/chunks/{pty-gdm9bc2g.js → reference-kf4f65v3.js} +33 -33
- package/dist/chunks/{pty-kg06axw8.js → reference-kg06axw8.js} +1 -1
- package/dist/chunks/{pty-j32r0sby.js → reference-kmdd4s7w.js} +11 -11
- package/dist/chunks/{pty-y56ehv6b.js → reference-kpvyk30t.js} +9 -9
- package/dist/chunks/{pty-rw861jrs.js → reference-kvssg87c.js} +46 -46
- package/dist/chunks/{pty-7yqjxrmz.js → reference-kxpygcw9.js} +6 -6
- package/dist/chunks/{pty-kf7bhd8x.js → reference-m0zxgcxr.js} +4 -4
- package/dist/chunks/{pty-7t0ps460.js → reference-m17xag3b.js} +7 -7
- package/dist/chunks/{pty-vrpz8t5t.js → reference-m64xvjj1.js} +5 -5
- package/dist/chunks/{pty-m9w0rfyh.js → reference-m9w0rfyh.js} +1 -1
- package/dist/chunks/{pty-edafkgj2.js → reference-mdt4q1c1.js} +6 -6
- package/dist/chunks/{pty-1ygqh575.js → reference-mfqp6xfm.js} +6 -6
- package/dist/chunks/{pty-mq9k5emb.js → reference-mgqqkg93.js} +22 -22
- package/dist/chunks/{pty-mkcjrzeh.js → reference-mkcjrzeh.js} +1 -1
- package/dist/chunks/{pty-zmh1pv5f.js → reference-mp0hvknf.js} +17 -17
- package/dist/chunks/{pty-4f90fc6p.js → reference-mr7fas37.js} +19 -19
- package/dist/chunks/{pty-913yfcff.js → reference-mwdyx115.js} +16 -16
- package/dist/chunks/{pty-p0x0xsz0.js → reference-n8aw8tzz.js} +16 -16
- package/dist/chunks/{pty-cf3tj770.js → reference-ndqtf2h8.js} +6 -6
- package/dist/chunks/{pty-nhy5jxhy.js → reference-nhy5jxhy.js} +1 -1
- package/dist/chunks/{pty-rb4rdn3m.js → reference-npqmz80p.js} +47 -47
- package/dist/chunks/{pty-1katgxgp.js → reference-p8fr87mf.js} +35 -35
- package/dist/chunks/{pty-bccb6npm.js → reference-paegk39x.js} +4 -4
- package/dist/chunks/{pty-j935v87r.js → reference-paphc93g.js} +2 -2
- package/dist/chunks/{pty-c1ayfejr.js → reference-pcbr6txn.js} +13 -13
- package/dist/chunks/{pty-12y94dz0.js → reference-pch1g4ac.js} +11 -11
- package/dist/chunks/{pty-hjdzmzjx.js → reference-pgpmnqk3.js} +6 -6
- package/dist/chunks/reference-phz3h32g.js +18 -0
- package/dist/chunks/{pty-pjvnvgmy.js → reference-pjvnvgmy.js} +1 -1
- package/dist/chunks/{pty-vp5s6n4v.js → reference-pk0537y5.js} +30 -30
- package/dist/chunks/{pty-pknna89w.js → reference-pknna89w.js} +1 -1
- package/dist/chunks/{pty-cy209589.js → reference-pxw0hmvn.js} +7 -7
- package/dist/chunks/{pty-ahz4xwhq.js → reference-q14xand4.js} +30 -30
- package/dist/chunks/{pty-36yjp8yh.js → reference-q280h65c.js} +8 -8
- package/dist/chunks/{pty-2wzvf4j2.js → reference-q4t8wpc5.js} +83 -83
- package/dist/chunks/{pty-13egd5dp.js → reference-q815m6cj.js} +24 -24
- package/dist/chunks/{pty-at5d07az.js → reference-qa3qhgw8.js} +4 -4
- package/dist/chunks/{pty-p9e5f8hs.js → reference-qd5n9004.js} +4 -4
- package/dist/chunks/{pty-j4e3jsg7.js → reference-qfjjv7cg.js} +5 -5
- package/dist/chunks/{pty-fcrkznn8.js → reference-qgn6gcr1.js} +5 -5
- package/dist/chunks/{pty-mqgza0s1.js → reference-qgvsjnwz.js} +2 -2
- package/dist/chunks/{pty-7nfgfjsm.js → reference-qhcd119y.js} +9 -9
- package/dist/chunks/{pty-y65x3qsm.js → reference-qnsz7nh9.js} +5 -5
- package/dist/chunks/{pty-qsdy395h.js → reference-qsdy395h.js} +1 -1
- package/dist/chunks/{pty-5b8sybsb.js → reference-r0jrqcv3.js} +15 -15
- package/dist/chunks/{pty-r98e92ep.js → reference-r98e92ep.js} +1 -1
- package/dist/chunks/{pty-dcmqyx64.js → reference-rabzzrj7.js} +6 -6
- package/dist/chunks/{pty-f6h7dvp6.js → reference-rm18f88d.js} +9 -9
- package/dist/chunks/{pty-9qrd0ade.js → reference-rqwtk8m6.js} +39 -39
- package/dist/chunks/{pty-e430r8zt.js → reference-rrb33fnm.js} +11 -11
- package/dist/chunks/{pty-604mgw0e.js → reference-rrct5g06.js} +9 -9
- package/dist/chunks/{pty-ehvxp5zp.js → reference-ryf7tq05.js} +10 -10
- package/dist/chunks/{pty-by885ras.js → reference-s1dejaz5.js} +4 -4
- package/dist/chunks/{pty-pksqeybc.js → reference-s89drx3k.js} +25 -25
- package/dist/chunks/{pty-t550f9t1.js → reference-s8d7rejh.js} +4 -4
- package/dist/chunks/{pty-f90chkmn.js → reference-s8zy8myc.js} +5 -5
- package/dist/chunks/{pty-zcqf6png.js → reference-s90d8d6b.js} +6 -6
- package/dist/chunks/{pty-x0511brf.js → reference-sej7e0cf.js} +4 -4
- package/dist/chunks/{pty-1r92xkdd.js → reference-sewx0d8k.js} +11 -11
- package/dist/chunks/{pty-tt7t6gfm.js → reference-shrxzsvg.js} +13 -13
- package/dist/chunks/{pty-595vq8s1.js → reference-sj6nvtnr.js} +20 -20
- package/dist/chunks/{pty-qn39sdbb.js → reference-ss5t5285.js} +41 -41
- package/dist/chunks/{pty-vzrnynxw.js → reference-t37txjkj.js} +8 -8
- package/dist/chunks/{pty-tazgh4e4.js → reference-tazgh4e4.js} +1 -1
- package/dist/chunks/{pty-anj7ja7x.js → reference-tc3b2xqh.js} +25 -25
- package/dist/chunks/{pty-tcezcvh9.js → reference-tcezcvh9.js} +1 -1
- package/dist/chunks/{pty-tdstcens.js → reference-tdstcens.js} +1 -1
- package/dist/chunks/{pty-th5km1p3.js → reference-th5km1p3.js} +2 -2
- package/dist/chunks/{pty-a2fmrcfx.js → reference-tmx7d2y0.js} +4 -4
- package/dist/chunks/{pty-2f0bjgcj.js → reference-tn0aqsam.js} +5 -5
- package/dist/chunks/{pty-tvtrv512.js → reference-tvtrv512.js} +1 -1
- package/dist/chunks/{pty-0531sp94.js → reference-tx1bbn1t.js} +2 -2
- package/dist/chunks/{pty-n6nwjk4k.js → reference-v0tcdknz.js} +16 -16
- package/dist/chunks/{pty-map23pr4.js → reference-v1adv2wp.js} +22 -22
- package/dist/chunks/{pty-dv1qgsyq.js → reference-v4hmzr0r.js} +8 -8
- package/dist/chunks/{pty-1vx4skf5.js → reference-v7y6kmxs.js} +29 -29
- package/dist/chunks/{pty-qcbjdgb9.js → reference-v9p2d0aj.js} +24 -24
- package/dist/chunks/{pty-04b6k755.js → reference-vbbvjejc.js} +14 -14
- package/dist/chunks/{pty-veqvce7d.js → reference-veqvce7d.js} +1 -1
- package/dist/chunks/{pty-tffb36pg.js → reference-vgtqdgcp.js} +18 -18
- package/dist/chunks/{pty-sv2dresp.js → reference-vz98v2b4.js} +9 -9
- package/dist/chunks/{pty-vzcthcp8.js → reference-vzcthcp8.js} +1 -1
- package/dist/chunks/{pty-w3wsvvr9.js → reference-w3wsvvr9.js} +1 -1
- package/dist/chunks/{pty-h457z9c3.js → reference-w4ysxmd8.js} +1 -1
- package/dist/chunks/{pty-1dtagjcf.js → reference-w6y4jrtq.js} +11 -11
- package/dist/chunks/{pty-t23qze4t.js → reference-w79zsp0s.js} +1 -1
- package/dist/chunks/{pty-vyyqyr61.js → reference-w9m4vsw7.js} +21 -21
- package/dist/chunks/{pty-1tq5sqwa.js → reference-w9xvayee.js} +9 -9
- package/dist/chunks/{pty-hcz3zddy.js → reference-wbkyxrgf.js} +5 -5
- package/dist/chunks/{pty-gy4xd5ae.js → reference-wcsysscr.js} +9 -9
- package/dist/chunks/{pty-wd87259q.js → reference-wd87259q.js} +1 -1
- package/dist/chunks/{pty-xt97pgbp.js → reference-we9eyqjp.js} +7 -7
- package/dist/chunks/{pty-w3ent86v.js → reference-wec9kj0s.js} +10 -10
- package/dist/chunks/{pty-wg42tg3h.js → reference-wg42tg3h.js} +2 -2
- package/dist/chunks/{pty-8gpb4ajr.js → reference-wk3sjerj.js} +11 -11
- package/dist/chunks/{pty-70vxa6pp.js → reference-wr1hnkrb.js} +12 -12
- package/dist/chunks/{pty-101th954.js → reference-x0ts5zjw.js} +27 -27
- package/dist/chunks/{pty-x1ezjp6w.js → reference-x1ezjp6w.js} +1 -1
- package/dist/chunks/{pty-x43y2vfs.js → reference-x43y2vfs.js} +2 -2
- package/dist/chunks/{pty-cq79sjzr.js → reference-x9qzeg26.js} +28 -28
- package/dist/chunks/{pty-3xfh4yeh.js → reference-xbvr7qd3.js} +32 -32
- package/dist/chunks/{pty-jaxrymj1.js → reference-xc6qfj0x.js} +32 -32
- package/dist/chunks/{pty-wwrx56v5.js → reference-xn1g4e4n.js} +3 -3
- package/dist/chunks/{pty-hn57h045.js → reference-xw0r27ex.js} +4 -4
- package/dist/chunks/{pty-y1fvbwt7.js → reference-y1fvbwt7.js} +1 -1
- package/dist/chunks/{pty-jn1j3vts.js → reference-y3501xtg.js} +9 -9
- package/dist/chunks/{pty-ze5v0a14.js → reference-y397pytd.js} +8 -8
- package/dist/chunks/{pty-1ayhfk3a.js → reference-y4h8j882.js} +79 -79
- package/dist/chunks/{pty-gmesheqj.js → reference-y5carwhs.js} +63 -63
- package/dist/chunks/{pty-dpkg50ah.js → reference-y71avatq.js} +4 -4
- package/dist/chunks/{pty-sxam9rt0.js → reference-yb4w2300.js} +4 -4
- package/dist/chunks/{pty-6e6v2scb.js → reference-yhx7fnrq.js} +27 -27
- package/dist/chunks/{pty-jv1xsv73.js → reference-ymxzgkec.js} +41 -41
- package/dist/chunks/{pty-yp2x3t23.js → reference-yp2x3t23.js} +1 -1
- package/dist/chunks/{pty-ee3krkrp.js → reference-ypgwc49d.js} +10 -10
- package/dist/chunks/{pty-7d0zm79z.js → reference-ypt602pg.js} +6 -6
- package/dist/chunks/{pty-yrhqyw5v.js → reference-yrhqyw5v.js} +1 -1
- package/dist/chunks/{pty-s4enseaf.js → reference-yrznvahk.js} +2 -2
- package/dist/chunks/{pty-e2ryeqwt.js → reference-yvdpqkmv.js} +20 -20
- package/dist/chunks/{pty-z0bkrqjs.js → reference-z0bkrqjs.js} +1 -1
- package/dist/chunks/{pty-dxt59c3z.js → reference-z2vp0ram.js} +11 -11
- package/dist/chunks/{pty-wfeey21d.js → reference-z4bnc0k3.js} +14 -14
- package/dist/chunks/{pty-29x78va6.js → reference-z63w68vq.js} +6 -6
- package/dist/chunks/{pty-3r153z9p.js → reference-z8d4gyxr.js} +53 -53
- package/dist/chunks/{pty-3gr3tgnk.js → reference-zag8ssnp.js} +26 -26
- package/dist/chunks/{pty-zeh9ct20.js → reference-zeh9ct20.js} +2 -2
- package/dist/chunks/{pty-gke4hfak.js → reference-zqcfszr7.js} +11 -11
- package/dist/chunks/{pty-zr2ceqn5.js → reference-zr2ceqn5.js} +1 -1
- package/dist/chunks/{pty-2h21rrjx.js → reference-zrgpjm4k.js} +20 -20
- package/dist/chunks/{pty-zxq2ej10.js → reference-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +115 -115
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +81 -81
- package/dist/database/database.js +64 -64
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +74 -74
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +361 -361
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +68 -68
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +216 -216
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +100 -100
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +82 -82
- package/dist/generate.js +91 -91
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +352 -352
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +71 -71
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +128 -128
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +349 -349
- package/dist/location.js +82 -82
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +105 -105
- package/dist/mcp/instructions.js +122 -122
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +78 -78
- 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 +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +78 -78
- package/dist/plugin/provider/opencode.js +76 -76
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +2 -2
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +115 -115
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +156 -156
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +342 -342
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +85 -85
- package/dist/provider.js +7 -7
- 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 +94 -94
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +84 -84
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +93 -93
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- 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 +213 -213
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +148 -148
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +84 -84
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +75 -75
- 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 +111 -111
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +108 -108
- package/dist/session/runner/step.js +121 -121
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +71 -71
- package/dist/session/store.js +83 -83
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +212 -212
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +100 -100
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +113 -113
- package/dist/tool/plugin/question.js +98 -98
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +105 -105
- package/dist/tool/plugin/websearch.js +109 -109
- package/dist/tool/plugin/write.js +117 -117
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +15 -15
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- 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 +5 -5
- 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 +4 -4
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +80 -80
- package/dist/wellknown/plugin.js +72 -72
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +341 -341
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +91 -91
- package/package.json +8 -8
- package/dist/chunks/pty-5eypht73.js +0 -247
- package/dist/chunks/pty-hr9dp009.js +0 -4
- package/dist/chunks/pty-keyh8483.js +0 -22
- package/dist/chunks/pty-vnkjks7b.js +0 -18
- /package/dist/chunks/{pty-0qkdqm5v.js → reference-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{pty-0zkw76rk.js → reference-0zkw76rk.js} +0 -0
- /package/dist/chunks/{pty-17cy0kzp.js → reference-17cy0kzp.js} +0 -0
- /package/dist/chunks/{pty-1cnp2v09.js → reference-1cnp2v09.js} +0 -0
- /package/dist/chunks/{pty-1kg9ymc8.js → reference-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{pty-2710q6r3.js → reference-2710q6r3.js} +0 -0
- /package/dist/chunks/{pty-2axfhc9x.js → reference-2axfhc9x.js} +0 -0
- /package/dist/chunks/{pty-2c3vjs8z.js → reference-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{pty-359p4xyc.js → reference-359p4xyc.js} +0 -0
- /package/dist/chunks/{pty-3asan66x.js → reference-3asan66x.js} +0 -0
- /package/dist/chunks/{pty-3v8g72cx.js → reference-3v8g72cx.js} +0 -0
- /package/dist/chunks/{pty-3w5fmr99.js → reference-3w5fmr99.js} +0 -0
- /package/dist/chunks/{pty-3wcehsnq.js → reference-3wcehsnq.js} +0 -0
- /package/dist/chunks/{pty-43n2bw4t.js → reference-43n2bw4t.js} +0 -0
- /package/dist/chunks/{pty-4knz6hnm.js → reference-4knz6hnm.js} +0 -0
- /package/dist/chunks/{pty-4y7fprxs.js → reference-4y7fprxs.js} +0 -0
- /package/dist/chunks/{pty-53557ph1.js → reference-53557ph1.js} +0 -0
- /package/dist/chunks/{pty-550bvhaj.js → reference-550bvhaj.js} +0 -0
- /package/dist/chunks/{pty-6prwharc.js → reference-6prwharc.js} +0 -0
- /package/dist/chunks/{pty-7akdwqpd.js → reference-7akdwqpd.js} +0 -0
- /package/dist/chunks/{pty-7m9af43g.js → reference-7m9af43g.js} +0 -0
- /package/dist/chunks/{pty-822emrt2.js → reference-822emrt2.js} +0 -0
- /package/dist/chunks/{pty-88xbtdfr.js → reference-88xbtdfr.js} +0 -0
- /package/dist/chunks/{pty-8n3pysct.js → reference-8n3pysct.js} +0 -0
- /package/dist/chunks/{pty-922hggd3.js → reference-922hggd3.js} +0 -0
- /package/dist/chunks/{pty-9a4afbnw.js → reference-9a4afbnw.js} +0 -0
- /package/dist/chunks/{pty-9rqn6x4v.js → reference-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{pty-a1tpkmh4.js → reference-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{pty-a6k6eb26.js → reference-a6k6eb26.js} +0 -0
- /package/dist/chunks/{pty-af5trqkr.js → reference-af5trqkr.js} +0 -0
- /package/dist/chunks/{pty-afrmfg78.js → reference-afrmfg78.js} +0 -0
- /package/dist/chunks/{pty-aqzs7mqg.js → reference-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{pty-atq7p7m5.js → reference-atq7p7m5.js} +0 -0
- /package/dist/chunks/{pty-bkyjaxrp.js → reference-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{pty-bmr6ed5q.js → reference-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{pty-cf4snx6d.js → reference-cf4snx6d.js} +0 -0
- /package/dist/chunks/{pty-cvy3z8tj.js → reference-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{pty-d9fn303g.js → reference-d9fn303g.js} +0 -0
- /package/dist/chunks/{pty-d9jj8t3e.js → reference-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{pty-dajrwvna.js → reference-dajrwvna.js} +0 -0
- /package/dist/chunks/{pty-dap0rakb.js → reference-dap0rakb.js} +0 -0
- /package/dist/chunks/{pty-df08tz66.js → reference-df08tz66.js} +0 -0
- /package/dist/chunks/{pty-dy18nga0.js → reference-dy18nga0.js} +0 -0
- /package/dist/chunks/{pty-e5kj55wp.js → reference-e5kj55wp.js} +0 -0
- /package/dist/chunks/{pty-e73j6tqm.js → reference-e73j6tqm.js} +0 -0
- /package/dist/chunks/{pty-ec1grn59.js → reference-ec1grn59.js} +0 -0
- /package/dist/chunks/{pty-eh3zwz77.js → reference-eh3zwz77.js} +0 -0
- /package/dist/chunks/{pty-emrn6kk6.js → reference-emrn6kk6.js} +0 -0
- /package/dist/chunks/{pty-f0mxakyp.js → reference-f0mxakyp.js} +0 -0
- /package/dist/chunks/{pty-f6n9ztr4.js → reference-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{pty-faypxj3z.js → reference-faypxj3z.js} +0 -0
- /package/dist/chunks/{pty-fd410y7t.js → reference-fd410y7t.js} +0 -0
- /package/dist/chunks/{pty-fxgpk5d8.js → reference-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{pty-g4wezp1m.js → reference-g4wezp1m.js} +0 -0
- /package/dist/chunks/{pty-g86h250q.js → reference-g86h250q.js} +0 -0
- /package/dist/chunks/{pty-gebd4c9n.js → reference-gebd4c9n.js} +0 -0
- /package/dist/chunks/{pty-gftt206x.js → reference-gftt206x.js} +0 -0
- /package/dist/chunks/{pty-hjbc5kem.js → reference-hjbc5kem.js} +0 -0
- /package/dist/chunks/{pty-hk9envan.js → reference-hk9envan.js} +0 -0
- /package/dist/chunks/{pty-hrnqkpcd.js → reference-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{pty-j2ntwpah.js → reference-j2ntwpah.js} +0 -0
- /package/dist/chunks/{pty-j5zkgpj8.js → reference-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{pty-jr7sbwjy.js → reference-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{pty-jwfs4k6c.js → reference-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{pty-jzg6c2d5.js → reference-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{pty-mp448xyj.js → reference-mp448xyj.js} +0 -0
- /package/dist/chunks/{pty-msx8hqn2.js → reference-msx8hqn2.js} +0 -0
- /package/dist/chunks/{pty-n05xt0ee.js → reference-n05xt0ee.js} +0 -0
- /package/dist/chunks/{pty-n3j8tn72.js → reference-n3j8tn72.js} +0 -0
- /package/dist/chunks/{pty-njntx4h6.js → reference-njntx4h6.js} +0 -0
- /package/dist/chunks/{pty-q3sfg36h.js → reference-q3sfg36h.js} +0 -0
- /package/dist/chunks/{pty-q74kybfr.js → reference-q74kybfr.js} +0 -0
- /package/dist/chunks/{pty-qaymkmh1.js → reference-qaymkmh1.js} +0 -0
- /package/dist/chunks/{pty-qb87gjwd.js → reference-qb87gjwd.js} +0 -0
- /package/dist/chunks/{pty-qfa1cgps.js → reference-qfa1cgps.js} +0 -0
- /package/dist/chunks/{pty-qrg20bc0.js → reference-qrg20bc0.js} +0 -0
- /package/dist/chunks/{pty-rcb2kzg1.js → reference-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{pty-sdp7kfr6.js → reference-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{pty-sk3qaz4a.js → reference-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{pty-ssg3fenm.js → reference-ssg3fenm.js} +0 -0
- /package/dist/chunks/{pty-twg0f83k.js → reference-twg0f83k.js} +0 -0
- /package/dist/chunks/{pty-w803qqfp.js → reference-w803qqfp.js} +0 -0
- /package/dist/chunks/{pty-wer8tq1h.js → reference-wer8tq1h.js} +0 -0
- /package/dist/chunks/{pty-wtztk69x.js → reference-wtztk69x.js} +0 -0
- /package/dist/chunks/{pty-x0ckcb58.js → reference-x0ckcb58.js} +0 -0
- /package/dist/chunks/{pty-x61499pn.js → reference-x61499pn.js} +0 -0
- /package/dist/chunks/{pty-y44na4kk.js → reference-y44na4kk.js} +0 -0
- /package/dist/chunks/{pty-y8cydn3q.js → reference-y8cydn3q.js} +0 -0
- /package/dist/chunks/{pty-ygaqb7jw.js → reference-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{pty-ym463w8f.js → reference-ym463w8f.js} +0 -0
- /package/dist/chunks/{pty-z9919s4g.js → reference-z9919s4g.js} +0 -0
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./reference-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service73,
|
|
18
|
+
node78
|
|
19
|
+
} from "./reference-j460kft3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service61,
|
|
22
|
+
node65
|
|
23
|
+
} from "./reference-7zz35dhy.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./reference-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/environment/environment.ts
|
|
29
29
|
var exports_environment2 = {};
|
|
30
30
|
__export(exports_environment2, {
|
|
31
31
|
EnvironmentService: () => exports_environment2,
|
|
32
|
-
Service: () =>
|
|
33
|
-
node: () =>
|
|
32
|
+
Service: () => Service60,
|
|
33
|
+
node: () => node64
|
|
34
34
|
});
|
|
35
35
|
import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
36
36
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -43,13 +43,13 @@ __export(exports_environment3, {
|
|
|
43
43
|
Environment: () => exports_environment3,
|
|
44
44
|
Failed: () => Failed2,
|
|
45
45
|
NotFound: () => NotFound2,
|
|
46
|
-
Service: () =>
|
|
46
|
+
Service: () => Service60,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node64,
|
|
53
53
|
typeFollowing: () => typeFollowing2
|
|
54
54
|
});
|
|
55
55
|
var makeFiles2 = (driver) => ({
|
|
@@ -58,19 +58,19 @@ var makeFiles2 = (driver) => ({
|
|
|
58
58
|
});
|
|
59
59
|
|
|
60
60
|
// src/environment/environment.ts
|
|
61
|
-
class
|
|
61
|
+
class Service60 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service73;
|
|
66
|
+
const workspace = yield* Service61;
|
|
67
67
|
const driver = location.workspaceID ? yield* workspace.connect(location.workspaceID).pipe(Effect.mapError((cause) => new Error(`Failed to bind Environment to workspace ${location.workspaceID}`, { cause })), Effect.orDie) : makeLocalDriver2(spawner);
|
|
68
|
-
return
|
|
68
|
+
return Service60.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node64 = makeLocationNode({
|
|
71
|
+
service: Service60,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node78, node65]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service60, node64, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service46,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node49
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service46 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service46, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service46.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service49, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node49 = makeGlobalNode({ service: Service46, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service46, node49, exports_environment };
|
|
@@ -1,71 +1,71 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-m0zxgcxr.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service73,
|
|
7
|
+
node78
|
|
8
|
+
} from "./reference-j460kft3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
10
|
+
ID15,
|
|
11
|
+
Service72,
|
|
12
|
+
node77
|
|
13
|
+
} from "./reference-v9p2d0aj.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError8
|
|
16
|
+
} from "./reference-hj2q4vx8.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service70,
|
|
19
|
+
node75
|
|
20
|
+
} from "./reference-4gpvdk2f.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service69,
|
|
26
|
+
node74
|
|
27
|
+
} from "./reference-r0jrqcv3.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service71,
|
|
30
|
+
node76
|
|
31
|
+
} from "./reference-q280h65c.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./reference-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
|
-
var
|
|
38
|
-
__export(
|
|
37
|
+
var exports_permission2 = {};
|
|
38
|
+
__export(exports_permission2, {
|
|
39
39
|
AskResult: () => AskResult2,
|
|
40
40
|
AssertInput: () => AssertInput2,
|
|
41
41
|
BlockedError: () => BlockedError2,
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
48
|
-
Permission: () =>
|
|
49
|
-
Reply: () =>
|
|
45
|
+
Event: () => Event17,
|
|
46
|
+
ID: () => ID12,
|
|
47
|
+
NotFoundError: () => NotFoundError7,
|
|
48
|
+
Permission: () => exports_permission2,
|
|
49
|
+
Reply: () => Reply3,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
52
|
-
Rule: () =>
|
|
51
|
+
Request: () => Request3,
|
|
52
|
+
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
55
|
-
Source: () =>
|
|
54
|
+
Service: () => Service68,
|
|
55
|
+
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node73
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
|
-
import { Rule as
|
|
64
|
-
import { Event as
|
|
63
|
+
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
+
import { Event as Event17 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
68
|
-
var
|
|
67
|
+
var ID12 = Permission.ID;
|
|
68
|
+
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
71
71
|
action: Permission.Request.fields.action,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request3 = Permission.Request;
|
|
78
|
+
var Reply3 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID12.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID15.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID12,
|
|
86
|
+
reply: Reply3,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID12,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError7 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID12
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service68 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
130
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
131
131
|
const bus = yield* Service79;
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
132
|
+
const location = yield* Service73;
|
|
133
|
+
const agents = yield* Service72;
|
|
134
|
+
const sessions = yield* Service70;
|
|
135
|
+
const saved = yield* Service69;
|
|
136
|
+
const hooks = yield* Service71;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
yield* Effect.addFinalizer(() => Effect.forEach(pending.values(), (item) => Deferred.fail(item.deferred, new DeclinedError2), {
|
|
139
139
|
discard: true
|
|
@@ -150,7 +150,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
150
150
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
151
151
|
const session = yield* sessions.get(sessionID);
|
|
152
152
|
if (!session)
|
|
153
|
-
return yield* new
|
|
153
|
+
return yield* new NotFoundError8({ sessionID });
|
|
154
154
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
155
155
|
return agent?.permissions ?? missingAgentPermissions;
|
|
156
156
|
});
|
|
@@ -180,7 +180,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
180
180
|
});
|
|
181
181
|
function request(input, message) {
|
|
182
182
|
return {
|
|
183
|
-
id: input.id ??
|
|
183
|
+
id: input.id ?? ID12.create(),
|
|
184
184
|
sessionID: input.sessionID,
|
|
185
185
|
action: input.action,
|
|
186
186
|
resources: input.resources,
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
228
228
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
229
229
|
const existing = pending.get(input.requestID);
|
|
230
230
|
if (!existing)
|
|
231
|
-
return yield* new
|
|
231
|
+
return yield* new NotFoundError7({ requestID: input.requestID });
|
|
232
232
|
yield* bus.publish(Permission.Event.Replied, {
|
|
233
233
|
sessionID: existing.request.sessionID,
|
|
234
234
|
requestID: existing.request.id,
|
|
@@ -283,12 +283,12 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
283
283
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
284
284
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
285
285
|
});
|
|
286
|
-
return
|
|
286
|
+
return Service68.of({ ask, assert, reply, get, forSession, list });
|
|
287
287
|
}));
|
|
288
|
-
var
|
|
289
|
-
service:
|
|
288
|
+
var node73 = makeLocationNode({
|
|
289
|
+
service: Service68,
|
|
290
290
|
layer,
|
|
291
|
-
deps: [node84,
|
|
291
|
+
deps: [node84, node78, node77, node75, node74, node76]
|
|
292
292
|
});
|
|
293
293
|
|
|
294
|
-
export { PermissionEffect,
|
|
294
|
+
export { PermissionEffect, ID12, Source5, Request3, Reply3, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError7, evaluate2, merge2, Service68, node73, exports_permission2, Rule3, Ruleset2, Event17 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./reference-aerscydv.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionTable2,
|
|
7
7
|
SessionMessageTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./reference-a1bz86dw.js";
|
|
9
9
|
import {
|
|
10
10
|
decodeMessageRow2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
load3
|
|
12
|
+
} from "./reference-56pr6y5x.js";
|
|
13
13
|
import {
|
|
14
14
|
fromRow2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./reference-tx1bbn1t.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./reference-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/store.ts
|
|
21
21
|
var exports_store = {};
|
|
22
22
|
__export(exports_store, {
|
|
23
23
|
ListInput: () => ListInput5,
|
|
24
|
-
Service: () =>
|
|
24
|
+
Service: () => Service70,
|
|
25
25
|
SessionStore: () => exports_store,
|
|
26
|
-
node: () =>
|
|
26
|
+
node: () => node75
|
|
27
27
|
});
|
|
28
28
|
import { and, asc, desc, eq, gt, isNotNull, isNull, like, lt, notInArray, or, sql } from "drizzle-orm";
|
|
29
29
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -52,11 +52,11 @@ var ListProjectInput = Schema.Struct({
|
|
|
52
52
|
var ListAllInput = Schema.Struct(ListInputBase);
|
|
53
53
|
var ListInput5 = Schema.Union([ListDirectoryInput, ListProjectInput, ListAllInput]);
|
|
54
54
|
|
|
55
|
-
class
|
|
55
|
+
class Service70 extends Context.Service()("@opencode/SessionStore") {
|
|
56
56
|
}
|
|
57
|
-
var layer = Layer.effect(
|
|
57
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
58
58
|
const { db } = yield* Service80;
|
|
59
|
-
return
|
|
59
|
+
return Service70.of({
|
|
60
60
|
get: Effect.fnUntraced(function* (sessionID) {
|
|
61
61
|
const row = yield* db.select().from(SessionTable2).where(eq(SessionTable2.id, sessionID)).get().pipe(Effect.orDie);
|
|
62
62
|
return row ? fromRow2(row) : undefined;
|
|
@@ -99,7 +99,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
99
99
|
const rows = yield* (input.limit === undefined ? query.all() : query.limit(input.limit).all()).pipe(Effect.orDie);
|
|
100
100
|
return yield* Effect.forEach(direction === "previous" ? rows.toReversed() : rows, decodeMessageRow2);
|
|
101
101
|
}),
|
|
102
|
-
context: Effect.fn("SessionStore.context")((sessionID) =>
|
|
102
|
+
context: Effect.fn("SessionStore.context")((sessionID) => load3(db, sessionID, "latest")),
|
|
103
103
|
message: Effect.fn("SessionStore.message")(function* (messageID) {
|
|
104
104
|
const row = yield* db.select().from(SessionMessageTable2).where(eq(SessionMessageTable2.id, messageID)).get().pipe(Effect.orDie);
|
|
105
105
|
return row ? {
|
|
@@ -126,6 +126,6 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
126
126
|
})
|
|
127
127
|
});
|
|
128
128
|
}));
|
|
129
|
-
var
|
|
129
|
+
var node75 = makeGlobalNode({ service: Service70, layer, deps: [node85] });
|
|
130
130
|
|
|
131
|
-
export { ListInput5,
|
|
131
|
+
export { ListInput5, Service70, node75, exports_store };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service55
|
|
3
|
+
} from "./reference-d688schs.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service68
|
|
6
|
+
} from "./reference-4dp2399g.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool/plugin/question.ts
|
|
12
12
|
var exports_question = {};
|
|
@@ -17,13 +17,13 @@ __export(exports_question, {
|
|
|
17
17
|
Plugin: () => Plugin45,
|
|
18
18
|
QuestionTool: () => exports_question,
|
|
19
19
|
description: () => description6,
|
|
20
|
-
name: () =>
|
|
20
|
+
name: () => name14,
|
|
21
21
|
toModelContent: () => toModelContent7
|
|
22
22
|
});
|
|
23
23
|
import { ToolFailure } from "@opencode/ai";
|
|
24
24
|
import { Effect, Schema } from "effect";
|
|
25
25
|
import { Question } from "@opencode/schema/question";
|
|
26
|
-
var
|
|
26
|
+
var name14 = "question";
|
|
27
27
|
var description6 = `Use this tool when you need to ask the user questions during execution. This allows you to:
|
|
28
28
|
1. Gather user preferences or requirements
|
|
29
29
|
2. Clarify ambiguous instructions
|
|
@@ -53,10 +53,10 @@ var toModelContent7 = (questions, answers) => {
|
|
|
53
53
|
var Plugin45 = {
|
|
54
54
|
id: "opencode.tool.question",
|
|
55
55
|
effect: Effect.fn("QuestionTool.Plugin")(function* (ctx) {
|
|
56
|
-
const forms = yield*
|
|
57
|
-
const permission = yield*
|
|
56
|
+
const forms = yield* Service55;
|
|
57
|
+
const permission = yield* Service68;
|
|
58
58
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
59
|
-
name:
|
|
59
|
+
name: name14,
|
|
60
60
|
options: { codemode: false },
|
|
61
61
|
description: description6,
|
|
62
62
|
input: Input13,
|
|
@@ -115,4 +115,4 @@ function toField(question, index) {
|
|
|
115
115
|
};
|
|
116
116
|
}
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { name14, description6, Input13, Output9, CancelledError2, toModelContent7, Plugin45, exports_question };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-pch1g4ac.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-m0zxgcxr.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event20
|
|
10
|
+
} from "./reference-fbh8gv2m.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID6,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-8xx08dm0.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID9
|
|
17
|
+
} from "./reference-t37txjkj.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./reference-wr1hnkrb.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./reference-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID9.make("digitalocean");
|
|
30
|
+
var integrationID = ID6.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID9,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./reference-t37txjkj.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID8,
|
|
8
8
|
VariantID2,
|
|
9
|
-
|
|
9
|
+
Info20,
|
|
10
10
|
compatibility2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./reference-wr1hnkrb.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./reference-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/modal/models.ts
|
|
17
17
|
var exports_models2 = {};
|
|
@@ -21,7 +21,7 @@ __export(exports_models2, {
|
|
|
21
21
|
});
|
|
22
22
|
import { Money } from "@opencode/schema/money";
|
|
23
23
|
import { Option, Schema } from "effect";
|
|
24
|
-
var providerID =
|
|
24
|
+
var providerID = ID9.make("modal");
|
|
25
25
|
var ReasoningOption = Schema.Struct({
|
|
26
26
|
type: Schema.Literal("effort"),
|
|
27
27
|
values: Schema.Array(Schema.NullOr(Schema.String))
|
|
@@ -69,8 +69,8 @@ async function get3(baseURL, apiKey, existing) {
|
|
|
69
69
|
const templates = new Map(existing.map((model) => [model.id, model]));
|
|
70
70
|
const result = new Map;
|
|
71
71
|
for (const item of remote) {
|
|
72
|
-
const template = templates.get(
|
|
73
|
-
const id =
|
|
72
|
+
const template = templates.get(ID8.make(item.base_model_id ?? item.hugging_face_id ?? item.id));
|
|
73
|
+
const id = ID8.make(item.id);
|
|
74
74
|
result.set(id, build(id, item, baseURL, template));
|
|
75
75
|
}
|
|
76
76
|
return result;
|
|
@@ -88,10 +88,10 @@ function limit(value, fallback) {
|
|
|
88
88
|
function build(id, remote, baseURL, previous) {
|
|
89
89
|
const cost = previous?.cost[0];
|
|
90
90
|
const input = previous?.limit.input;
|
|
91
|
-
return
|
|
92
|
-
...
|
|
91
|
+
return Info20.make({
|
|
92
|
+
...Info20.default(providerID, id),
|
|
93
93
|
id,
|
|
94
|
-
modelID:
|
|
94
|
+
modelID: ID8.make(remote.id),
|
|
95
95
|
providerID,
|
|
96
96
|
name: remote.name ?? previous?.name ?? remote.id,
|
|
97
97
|
family: previous?.family,
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./reference-pch1g4ac.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./reference-mfqp6xfm.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./reference-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin22,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint5
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint5 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin22 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin4 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint5, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin4 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint5, Plugin22, exports_parallel };
|