@opencode/core 0.0.0-dev-21528 → 0.0.0-dev-21541
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{ripgrep-034tev2y.js → workspace-034tev2y.js} +2 -2
- package/dist/chunks/{ripgrep-52gmg6gk.js → workspace-074m64dp.js} +20 -20
- package/dist/chunks/{ripgrep-f0s1k55d.js → workspace-07sqsv9w.js} +7 -7
- package/dist/chunks/{ripgrep-eaj1djv9.js → workspace-0gdmqesm.js} +8 -8
- package/dist/chunks/{ripgrep-pc1v25hk.js → workspace-0ss1ygn7.js} +3 -3
- package/dist/chunks/{ripgrep-x874k1t8.js → workspace-0tjpvapw.js} +10 -10
- package/dist/chunks/{ripgrep-0vbcp93d.js → workspace-0vbcp93d.js} +2 -2
- package/dist/chunks/{ripgrep-9qxkzfze.js → workspace-0xx3ns2v.js} +22 -22
- package/dist/chunks/{ripgrep-pq7a6r0e.js → workspace-0z8yhdqv.js} +65 -65
- package/dist/chunks/{ripgrep-3qs99gjb.js → workspace-132rhf2q.js} +25 -24
- package/dist/chunks/{ripgrep-0rhcgknv.js → workspace-15wxq0kj.js} +8 -8
- package/dist/chunks/{ripgrep-8hf7gczp.js → workspace-1bzs4kqq.js} +21 -21
- package/dist/chunks/{ripgrep-1ep2p91f.js → workspace-1ep2p91f.js} +2 -2
- package/dist/chunks/{ripgrep-ak2q6qgs.js → workspace-1fnk0qcx.js} +13 -13
- package/dist/chunks/{ripgrep-8sze2n9a.js → workspace-1p07q0wb.js} +8 -8
- package/dist/chunks/{ripgrep-qs8w2ksw.js → workspace-1rd0hf05.js} +18 -18
- package/dist/chunks/{ripgrep-vxg243jx.js → workspace-2ahabfrv.js} +4 -4
- package/dist/chunks/{ripgrep-pf494cc8.js → workspace-2b6qkcs0.js} +50 -50
- package/dist/chunks/{ripgrep-ywryrc1x.js → workspace-2ec29r6m.js} +4 -4
- package/dist/chunks/{ripgrep-wfyym0nk.js → workspace-2egnw719.js} +14 -14
- package/dist/chunks/{ripgrep-j2hyxy1e.js → workspace-2phre6gr.js} +23 -24
- package/dist/chunks/{ripgrep-g7hwtxxj.js → workspace-2xebcxdz.js} +14 -14
- package/dist/chunks/{ripgrep-gd6ja0kz.js → workspace-36cygfdp.js} +11 -11
- package/dist/chunks/{ripgrep-gr1f03ws.js → workspace-38phfjcn.js} +9 -9
- package/dist/chunks/{ripgrep-3842yvza.js → workspace-3b7e46vg.js} +36 -36
- package/dist/chunks/{ripgrep-nhe1x14z.js → workspace-3byrw2k0.js} +9 -9
- package/dist/chunks/{ripgrep-4314yh8e.js → workspace-3chvherp.js} +4 -4
- package/dist/chunks/{ripgrep-h4542y1d.js → workspace-3eyct666.js} +34 -34
- package/dist/chunks/{ripgrep-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{ripgrep-3hwn7j4h.js → workspace-3hwn7j4h.js} +2 -2
- package/dist/chunks/{ripgrep-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{ripgrep-gqtdsdt7.js → workspace-3y377wv9.js} +4 -4
- package/dist/chunks/{ripgrep-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{ripgrep-sb5w5fqd.js → workspace-47xvp063.js} +17 -17
- package/dist/chunks/{ripgrep-wf8m51n0.js → workspace-4gx1jjxq.js} +45 -45
- package/dist/chunks/{ripgrep-eya67jsr.js → workspace-4jhg1r7p.js} +13 -13
- package/dist/chunks/{ripgrep-b46x1qag.js → workspace-4myb3554.js} +20 -20
- package/dist/chunks/{ripgrep-r94pvvab.js → workspace-54ma36ye.js} +4 -4
- package/dist/chunks/{ripgrep-xfkkasph.js → workspace-57b9ws8p.js} +7 -7
- package/dist/chunks/{ripgrep-mqqhst8y.js → workspace-5fec3t3w.js} +9 -9
- package/dist/chunks/{ripgrep-5g57z1ma.js → workspace-5g57z1ma.js} +1 -1
- package/dist/chunks/{ripgrep-eft6wwca.js → workspace-5ggmzyjq.js} +35 -35
- package/dist/chunks/{ripgrep-gfvcc5jk.js → workspace-5gwxr4wz.js} +23 -23
- package/dist/chunks/{ripgrep-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{ripgrep-dznbw734.js → workspace-5tgqe19z.js} +55 -55
- package/dist/chunks/{ripgrep-644y02x9.js → workspace-5x8rsm2f.js} +24 -24
- package/dist/chunks/{ripgrep-6827pfxn.js → workspace-6827pfxn.js} +1 -1
- package/dist/chunks/{ripgrep-tc46500c.js → workspace-6gzxrv04.js} +16 -16
- package/dist/chunks/{ripgrep-rcwd9s5q.js → workspace-6h1z9x2t.js} +28 -28
- package/dist/chunks/{ripgrep-epbjas11.js → workspace-6n72fwwd.js} +29 -29
- package/dist/chunks/{ripgrep-f0n6e319.js → workspace-6s9zvkg6.js} +14 -14
- package/dist/chunks/{ripgrep-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
- package/dist/chunks/{ripgrep-10c60s01.js → workspace-73a41k9m.js} +26 -27
- package/dist/chunks/{ripgrep-252xprac.js → workspace-76475ja5.js} +30 -30
- package/dist/chunks/{ripgrep-9g0nchv4.js → workspace-76skp782.js} +22 -22
- package/dist/chunks/{ripgrep-775gj3j1.js → workspace-775gj3j1.js} +2 -2
- package/dist/chunks/{ripgrep-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/workspace-7jmfkexa.js +26 -0
- package/dist/chunks/{ripgrep-5t2kw4pk.js → workspace-7ycdgr6s.js} +15 -15
- package/dist/chunks/{ripgrep-yk55vtb2.js → workspace-7zyx6fzq.js} +23 -23
- package/dist/chunks/{ripgrep-01mpbv93.js → workspace-80ea5f6r.js} +32 -32
- package/dist/chunks/{ripgrep-84txncab.js → workspace-84txncab.js} +1 -1
- package/dist/chunks/{ripgrep-6fx9ws93.js → workspace-8dh2j701.js} +21 -21
- package/dist/chunks/{ripgrep-8m6m0r52.js → workspace-8m6m0r52.js} +1 -1
- package/dist/chunks/{ripgrep-z03qmy9y.js → workspace-8mr27nf4.js} +4 -4
- package/dist/chunks/{ripgrep-8mywswrd.js → workspace-8mywswrd.js} +1 -1
- package/dist/chunks/{ripgrep-1jjmp4ry.js → workspace-8x4e5kq0.js} +27 -30
- package/dist/chunks/{ripgrep-1jbzqkv3.js → workspace-8xnx0mnd.js} +8 -8
- package/dist/chunks/{ripgrep-rcdfc04v.js → workspace-8yp4rne4.js} +11 -11
- package/dist/chunks/{ripgrep-y72zmemf.js → workspace-91p1v22t.js} +8 -8
- package/dist/chunks/{ripgrep-4rv5m1hd.js → workspace-98bt88c5.js} +20 -20
- package/dist/chunks/{ripgrep-998yhzzq.js → workspace-998yhzzq.js} +3 -3
- package/dist/chunks/{ripgrep-w81ytvh4.js → workspace-9dmx38dk.js} +21 -21
- package/dist/chunks/{ripgrep-s247n0z7.js → workspace-9nygwmwc.js} +27 -27
- package/dist/chunks/{ripgrep-0z5rwn5b.js → workspace-9qj6rkp4.js} +5 -5
- package/dist/chunks/{ripgrep-k35zjkf6.js → workspace-9sbtww25.js} +36 -36
- package/dist/chunks/{ripgrep-9wev2pgg.js → workspace-9wev2pgg.js} +1 -1
- package/dist/chunks/{ripgrep-mw7fnh7a.js → workspace-9z8cn46p.js} +6 -6
- package/dist/chunks/{ripgrep-3t0ybcrp.js → workspace-a058387c.js} +4 -2
- package/dist/chunks/{ripgrep-jy7marrj.js → workspace-a94rjkpn.js} +7 -7
- package/dist/chunks/{ripgrep-z37bqphs.js → workspace-aar2av7x.js} +6 -6
- package/dist/chunks/{ripgrep-0n64x4tw.js → workspace-abc6j8jm.js} +32 -32
- package/dist/chunks/{ripgrep-rk26gw9b.js → workspace-ae239eb7.js} +44 -44
- package/dist/chunks/{ripgrep-c00cthjb.js → workspace-ansnh6at.js} +10 -10
- package/dist/chunks/{ripgrep-z4tnrsa6.js → workspace-aq552fny.js} +179 -179
- package/dist/chunks/{ripgrep-vewkg1sw.js → workspace-ayabmdkg.js} +24 -25
- package/dist/chunks/{ripgrep-xw9fg8fb.js → workspace-ayjs7tqn.js} +3 -3
- package/dist/chunks/{ripgrep-zhbt7eq1.js → workspace-b10f7vcz.js} +6 -6
- package/dist/chunks/{ripgrep-b11a7tx7.js → workspace-b11a7tx7.js} +1 -1
- package/dist/chunks/{ripgrep-crvmmsgx.js → workspace-bbyyxdtc.js} +18 -18
- package/dist/chunks/{ripgrep-p353fx2f.js → workspace-be4f7z37.js} +83 -87
- package/dist/chunks/{ripgrep-ygd2mcpa.js → workspace-bqszwq89.js} +8 -8
- package/dist/chunks/{ripgrep-r2610tc4.js → workspace-bry36w7y.js} +20 -20
- package/dist/chunks/{ripgrep-v9fefnh7.js → workspace-bwq0z05b.js} +25 -27
- package/dist/chunks/{ripgrep-30exac31.js → workspace-bxxa49vs.js} +26 -26
- package/dist/chunks/workspace-by5v678g.js +18 -0
- package/dist/chunks/{ripgrep-bzeyqsqd.js → workspace-bzeyqsqd.js} +1 -1
- package/dist/chunks/{ripgrep-mah98xap.js → workspace-c3jpadc8.js} +5 -5
- package/dist/chunks/{ripgrep-s7025g3c.js → workspace-c48qrqrp.js} +20 -20
- package/dist/chunks/{ripgrep-cqqcamvx.js → workspace-c7kxmbtf.js} +17 -17
- package/dist/chunks/{ripgrep-gkymdc6s.js → workspace-cah5dkv9.js} +11 -11
- package/dist/chunks/{ripgrep-c1gpv2mk.js → workspace-cbartrqj.js} +10 -10
- package/dist/chunks/{ripgrep-p37cw4rj.js → workspace-cmwkp3r5.js} +8 -8
- package/dist/chunks/{ripgrep-942tz9ab.js → workspace-cr9hweqv.js} +5 -5
- package/dist/chunks/{ripgrep-7gs737wr.js → workspace-css516a4.js} +6 -6
- package/dist/chunks/{ripgrep-2sejkfem.js → workspace-d4he2qe1.js} +9 -9
- package/dist/chunks/{ripgrep-qkhw7n0g.js → workspace-daz98v5x.js} +32 -32
- package/dist/chunks/{ripgrep-q6s3sz9j.js → workspace-db8n8p1c.js} +39 -41
- package/dist/chunks/{ripgrep-1x7nm4pt.js → workspace-dbe25myc.js} +11 -11
- package/dist/chunks/{ripgrep-1kr28b9y.js → workspace-dex2drwj.js} +14 -14
- package/dist/chunks/{ripgrep-y71avatq.js → workspace-dpkg50ah.js} +4 -4
- package/dist/chunks/{ripgrep-fn9t717r.js → workspace-dq407baf.js} +6 -6
- package/dist/chunks/{ripgrep-q7x4taa7.js → workspace-drdx3kxz.js} +13 -13
- package/dist/chunks/{ripgrep-zg0hshr1.js → workspace-dtmbvn3g.js} +5 -5
- package/dist/chunks/{ripgrep-6z448gwt.js → workspace-e2t3pw6w.js} +17 -17
- package/dist/chunks/{ripgrep-5qd3pb7m.js → workspace-e3qxr5gk.js} +2 -2
- package/dist/chunks/{ripgrep-r4fxm0j1.js → workspace-e4n1ebq2.js} +3 -3
- package/dist/chunks/{ripgrep-h0164j0a.js → workspace-e6g20fz5.js} +23 -23
- package/dist/chunks/{ripgrep-za6yq9hg.js → workspace-e89xj288.js} +5 -5
- package/dist/chunks/{ripgrep-7n3ryd6m.js → workspace-ea9zv6cw.js} +13 -13
- package/dist/chunks/{ripgrep-eej6y6fw.js → workspace-eej6y6fw.js} +2 -2
- package/dist/chunks/{ripgrep-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{ripgrep-8b5ta5tp.js → workspace-efxx8rk8.js} +13 -13
- package/dist/chunks/{ripgrep-98ann1j5.js → workspace-eg33xqqg.js} +47 -47
- package/dist/chunks/{ripgrep-qg4e8vdn.js → workspace-etgqrbqm.js} +32 -32
- package/dist/chunks/{ripgrep-71syg536.js → workspace-etj2j5tt.js} +21 -21
- package/dist/chunks/{ripgrep-9gg87rr4.js → workspace-ewxdsezr.js} +32 -32
- package/dist/chunks/{ripgrep-nq7ffrj9.js → workspace-f3crtseh.js} +4 -4
- package/dist/chunks/{ripgrep-fcy631f0.js → workspace-fcy631f0.js} +1 -1
- package/dist/chunks/{ripgrep-47jkzegy.js → workspace-fcyg4h47.js} +7 -11
- package/dist/chunks/{ripgrep-36n1s7v8.js → workspace-ffq1c2je.js} +25 -25
- package/dist/chunks/{ripgrep-41fykjt6.js → workspace-ffvkjqdt.js} +9 -9
- package/dist/chunks/{ripgrep-xsbswz4w.js → workspace-fk85bsrp.js} +11 -11
- package/dist/chunks/{ripgrep-zh0x9fg3.js → workspace-fstg4fsa.js} +15 -15
- package/dist/chunks/{ripgrep-ss64yk7e.js → workspace-fx7mmp1n.js} +28 -28
- package/dist/chunks/{ripgrep-3dk8yxk5.js → workspace-g1z83s7x.js} +47 -47
- package/dist/chunks/{ripgrep-m58m10rk.js → workspace-g6h99m46.js} +1 -1
- package/dist/chunks/{ripgrep-1t3k43qg.js → workspace-g9ay48z2.js} +5 -5
- package/dist/chunks/{ripgrep-de70dmzp.js → workspace-g9vnk3jz.js} +19 -20
- package/dist/chunks/{ripgrep-9g0wqaaz.js → workspace-gcb5g84z.js} +32 -32
- package/dist/chunks/{ripgrep-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{ripgrep-0vh2wh8r.js → workspace-ggk6kvmh.js} +23 -23
- package/dist/chunks/{ripgrep-b38r71wk.js → workspace-gky04n8p.js} +17 -17
- package/dist/chunks/{ripgrep-zdhd8t02.js → workspace-gm6mk2m9.js} +12 -12
- package/dist/chunks/{ripgrep-6bc70xnv.js → workspace-gmce5qqj.js} +1 -1
- package/dist/chunks/{ripgrep-cqz5yx1g.js → workspace-gn585jta.js} +5 -5
- package/dist/chunks/{ripgrep-hbprad8z.js → workspace-gs67eedh.js} +38 -35
- package/dist/chunks/{ripgrep-a171qt9a.js → workspace-gv7ndrzx.js} +4 -4
- package/dist/chunks/{ripgrep-5w5a4wvv.js → workspace-gwaf4cyv.js} +10 -10
- package/dist/chunks/{ripgrep-k6k9nh3f.js → workspace-h6tfspxq.js} +14 -14
- package/dist/chunks/{ripgrep-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{ripgrep-h6pdp2g8.js → workspace-h7jf40e2.js} +13 -13
- package/dist/chunks/{ripgrep-syv4x271.js → workspace-h8vwnyd8.js} +4 -2
- package/dist/chunks/{ripgrep-dj68pnee.js → workspace-h90v2x9d.js} +4 -4
- package/dist/chunks/{ripgrep-3x7f1rzc.js → workspace-hcgv7z9w.js} +9 -9
- package/dist/chunks/{ripgrep-hgz4x7wa.js → workspace-hgz4x7wa.js} +1 -1
- package/dist/chunks/{ripgrep-ttnk9ntm.js → workspace-hhn6cs7f.js} +23 -23
- package/dist/chunks/{ripgrep-8ra0dv5t.js → workspace-hp24smfg.js} +14 -14
- package/dist/chunks/{ripgrep-sa6168g2.js → workspace-j6jn98s4.js} +6 -6
- package/dist/chunks/{ripgrep-2qn0jgtg.js → workspace-j6p3x2qe.js} +56 -57
- package/dist/chunks/{ripgrep-mjsx87f0.js → workspace-j90sh0vw.js} +79 -79
- package/dist/chunks/{ripgrep-nxeywbky.js → workspace-je188k40.js} +23 -23
- package/dist/chunks/{ripgrep-2awrrk9p.js → workspace-jjrctdmw.js} +15 -15
- package/dist/chunks/{ripgrep-zcrspsvn.js → workspace-jvf3yq6v.js} +4 -4
- package/dist/chunks/{ripgrep-x1833xj2.js → workspace-jyhwqdka.js} +18 -18
- package/dist/chunks/{ripgrep-zy43x3f1.js → workspace-k0a3z2qz.js} +4 -4
- package/dist/chunks/{ripgrep-ja3v411g.js → workspace-k4814axw.js} +17 -17
- package/dist/chunks/{ripgrep-4pq9qanv.js → workspace-kc8eh7pk.js} +38 -38
- package/dist/chunks/{ripgrep-t4jxebhw.js → workspace-kccjhh93.js} +5 -5
- package/dist/chunks/{ripgrep-h4bqh5zx.js → workspace-keqvyq2w.js} +4 -4
- package/dist/chunks/{ripgrep-tppgbmaa.js → workspace-kgjxwjg5.js} +11 -11
- package/dist/chunks/{ripgrep-ny8edt06.js → workspace-khmqacep.js} +4 -4
- package/dist/chunks/{ripgrep-kwb1v3vj.js → workspace-kwb1v3vj.js} +1 -1
- package/dist/chunks/{ripgrep-xwkencv2.js → workspace-m22m6tzf.js} +12 -12
- package/dist/chunks/{ripgrep-75qa566n.js → workspace-m28avgzz.js} +17 -17
- package/dist/chunks/{ripgrep-82zcy4t3.js → workspace-m6fea7hh.js} +10 -10
- package/dist/chunks/{ripgrep-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{ripgrep-01shgzdc.js → workspace-maers0pd.js} +6 -6
- package/dist/chunks/{ripgrep-maspj1v3.js → workspace-maspj1v3.js} +1 -1
- package/dist/chunks/{ripgrep-qger05k9.js → workspace-mcqdwfqb.js} +11 -11
- package/dist/chunks/{ripgrep-7gxjxwcg.js → workspace-mshsb7tz.js} +15 -15
- package/dist/chunks/{ripgrep-51f5btjf.js → workspace-mx9vqzsb.js} +6 -6
- package/dist/chunks/{ripgrep-jc1xwfbq.js → workspace-mzmvkc7j.js} +26 -26
- package/dist/chunks/{ripgrep-6nd0dxps.js → workspace-n56c0sd4.js} +42 -42
- package/dist/chunks/{ripgrep-g75wcaan.js → workspace-n5d3v4c5.js} +3 -3
- package/dist/chunks/{ripgrep-z18fegx4.js → workspace-n6mrmtb3.js} +2 -10
- package/dist/chunks/{ripgrep-hh4ravdp.js → workspace-n8mct725.js} +2 -2
- package/dist/chunks/{ripgrep-5cvjwq3s.js → workspace-n8nk40tj.js} +26 -26
- package/dist/chunks/{ripgrep-kvapg1n1.js → workspace-ncqfdwrq.js} +19 -19
- package/dist/chunks/{ripgrep-xf5qsyy6.js → workspace-neqjwg63.js} +34 -34
- package/dist/chunks/{ripgrep-pt1ss6jy.js → workspace-nvxqht09.js} +3 -3
- package/dist/chunks/{ripgrep-xkhk1g30.js → workspace-nzg504jb.js} +15 -15
- package/dist/chunks/{ripgrep-mqjjpdbh.js → workspace-p1apbq8w.js} +11 -11
- package/dist/chunks/{ripgrep-jpjpmxdq.js → workspace-p8dm3ep0.js} +5 -5
- package/dist/chunks/{ripgrep-a8nkje97.js → workspace-pbjcynf2.js} +11 -11
- package/dist/chunks/{ripgrep-rew48swg.js → workspace-pcs4hp0r.js} +14 -14
- package/dist/chunks/{ripgrep-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{ripgrep-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{ripgrep-sye62zz8.js → workspace-pmpp0nb4.js} +26 -26
- package/dist/chunks/{ripgrep-jwm9r2mk.js → workspace-pwrxqpxd.js} +18 -18
- package/dist/chunks/{ripgrep-6ze0vk8j.js → workspace-pzzw2hqw.js} +7 -7
- package/dist/chunks/{ripgrep-hpwndzcc.js → workspace-q40yvqvp.js} +5 -5
- package/dist/chunks/{ripgrep-52cc258v.js → workspace-q8rwc74j.js} +18 -18
- package/dist/chunks/{ripgrep-ryr25ayn.js → workspace-qa3qhgw8.js} +4 -4
- package/dist/chunks/{ripgrep-thjxzeng.js → workspace-qby9dwvd.js} +8 -8
- package/dist/chunks/{ripgrep-0jwsre1p.js → workspace-qgn6gcr1.js} +5 -5
- package/dist/chunks/{ripgrep-5qsp4wg3.js → workspace-qhd9gkgf.js} +12 -12
- package/dist/chunks/{ripgrep-02mvvr71.js → workspace-qp7m8750.js} +3 -3
- package/dist/chunks/{ripgrep-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{ripgrep-d39q5djw.js → workspace-qssh8sag.js} +46 -46
- package/dist/chunks/{ripgrep-zj9sjr7a.js → workspace-qv9b3h9n.js} +34 -34
- package/dist/chunks/{ripgrep-4323h7yk.js → workspace-r29avfkz.js} +9 -9
- package/dist/chunks/{ripgrep-8p6qz19e.js → workspace-r4fxfztp.js} +28 -28
- package/dist/chunks/{ripgrep-qbvfc74m.js → workspace-r6k9he64.js} +18 -18
- package/dist/chunks/{ripgrep-knfx0005.js → workspace-r9s8agc4.js} +34 -34
- package/dist/chunks/{ripgrep-gsy1tnq9.js → workspace-rdp8b27p.js} +19 -19
- package/dist/chunks/{ripgrep-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{ripgrep-zvnbwra8.js → workspace-rmja0r51.js} +10 -10
- package/dist/chunks/{ripgrep-vn93zb4z.js → workspace-rqgw4wbf.js} +45 -45
- package/dist/chunks/{ripgrep-cvmnawzf.js → workspace-rzp7a2t4.js} +11 -11
- package/dist/chunks/{ripgrep-k06ywqkh.js → workspace-s1sewrz2.js} +19 -19
- package/dist/chunks/{ripgrep-rb2qm7yc.js → workspace-s1v8awss.js} +3 -3
- package/dist/chunks/{ripgrep-c1menwye.js → workspace-s305gxse.js} +44 -44
- package/dist/chunks/{ripgrep-srrvx50p.js → workspace-s4gy3dj7.js} +16 -16
- package/dist/chunks/{ripgrep-5sk42kyx.js → workspace-s6ckz0hn.js} +11 -11
- package/dist/chunks/{ripgrep-1w3jgprt.js → workspace-s8ch1s93.js} +35 -36
- package/dist/chunks/{ripgrep-02vamycj.js → workspace-sb9g34e0.js} +5 -5
- package/dist/chunks/{ripgrep-fja19q0n.js → workspace-srp09zfw.js} +14 -14
- package/dist/chunks/{ripgrep-e1eg6kc1.js → workspace-st7p3hwb.js} +9 -12
- package/dist/chunks/workspace-stn147wg.js +257 -0
- package/dist/chunks/{ripgrep-pdjnt312.js → workspace-t18r7gq3.js} +56 -56
- package/dist/chunks/{ripgrep-40dgfgpg.js → workspace-t2s68hp7.js} +19 -19
- package/dist/chunks/{ripgrep-b79mf2wv.js → workspace-t3hn50w1.js} +5 -5
- package/dist/chunks/{ripgrep-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{ripgrep-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{ripgrep-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{ripgrep-w1t606zy.js → workspace-tr7gnt89.js} +11 -11
- package/dist/chunks/{ripgrep-cdd3neqk.js → workspace-tvgxg3g6.js} +4 -4
- package/dist/chunks/{ripgrep-tyytaxap.js → workspace-tyytaxap.js} +1 -1
- package/dist/chunks/{ripgrep-6w56n6fk.js → workspace-tzprbfj6.js} +10 -10
- package/dist/chunks/{ripgrep-v7p4zvkq.js → workspace-v7p4zvkq.js} +2 -2
- package/dist/chunks/{ripgrep-afm8gjtq.js → workspace-va6mm9z7.js} +12 -12
- package/dist/chunks/{ripgrep-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{ripgrep-7r3p37an.js → workspace-vm8sweqc.js} +4 -4
- package/dist/chunks/{ripgrep-6cg5s87t.js → workspace-vsv97a0e.js} +25 -25
- package/dist/chunks/{ripgrep-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{ripgrep-7s3x24kv.js → workspace-w0rc49da.js} +30 -30
- package/dist/chunks/{ripgrep-wh6zw745.js → workspace-w2h15q85.js} +5 -5
- package/dist/chunks/{ripgrep-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{ripgrep-wakvkjy4.js → workspace-wakvkjy4.js} +1 -1
- package/dist/chunks/{ripgrep-xemxb09e.js → workspace-wb9ff8bn.js} +20 -20
- package/dist/chunks/{ripgrep-51cc7nn0.js → workspace-wbnh8gjc.js} +5 -5
- package/dist/chunks/{ripgrep-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{ripgrep-1ffvrpkg.js → workspace-wjr9rjd7.js} +9 -9
- package/dist/chunks/{ripgrep-qsa492eb.js → workspace-wjst284m.js} +4 -4
- package/dist/chunks/{ripgrep-pf4vj2x2.js → workspace-x683dpmx.js} +32 -32
- package/dist/chunks/{ripgrep-0jq9fyba.js → workspace-xf8yqmad.js} +9 -9
- package/dist/chunks/{ripgrep-xjchawe4.js → workspace-xg0qp6eg.js} +11 -11
- package/dist/chunks/{ripgrep-f6md5hft.js → workspace-xghm9m12.js} +15 -15
- package/dist/chunks/{ripgrep-0p01dw92.js → workspace-xjzqkwqn.js} +13 -13
- package/dist/chunks/{ripgrep-vg6tgr51.js → workspace-xv7z1ba5.js} +18 -18
- package/dist/chunks/{ripgrep-n8c97awd.js → workspace-xy9gzbcy.js} +18 -18
- package/dist/chunks/{ripgrep-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{ripgrep-d4epdn84.js → workspace-y6e8h1xc.js} +25 -25
- package/dist/chunks/{ripgrep-gtrnswr7.js → workspace-y6rf4qat.js} +34 -34
- package/dist/chunks/{ripgrep-77w5wkn6.js → workspace-y76gxhjg.js} +331 -331
- package/dist/chunks/{ripgrep-bacj9t34.js → workspace-y7nndgyc.js} +9 -9
- package/dist/chunks/{ripgrep-5dgwy7vk.js → workspace-yefhp8xd.js} +11 -11
- package/dist/chunks/{ripgrep-3n7ky5ef.js → workspace-yfattsqw.js} +17 -17
- package/dist/chunks/{ripgrep-059731j3.js → workspace-ynmknp8q.js} +11 -11
- package/dist/chunks/{ripgrep-vp0mm0kc.js → workspace-ynrxtasp.js} +23 -26
- package/dist/chunks/{ripgrep-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{ripgrep-z7bf8532.js → workspace-z34erevr.js} +9 -9
- package/dist/chunks/{ripgrep-5czmpw7c.js → workspace-z71n2avg.js} +4 -4
- package/dist/chunks/{ripgrep-cd921w3g.js → workspace-zaq7yc5h.js} +4 -3
- package/dist/chunks/{ripgrep-3epxp6vs.js → workspace-zcfdnc2q.js} +29 -31
- package/dist/chunks/{ripgrep-a9rqmse4.js → workspace-zet3czjw.js} +16 -16
- package/dist/chunks/{ripgrep-a733a65v.js → workspace-zfm65xnk.js} +8 -8
- package/dist/chunks/{ripgrep-ehzasdw1.js → workspace-zqt4wd7s.js} +20 -20
- package/dist/chunks/{ripgrep-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{ripgrep-vm4m688h.js → workspace-zx59jank.js} +6 -7
- package/dist/chunks/{ripgrep-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -3
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +117 -117
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +121 -121
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +369 -369
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +91 -91
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +156 -156
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +357 -357
- package/dist/location.js +91 -91
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +140 -140
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +118 -118
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +160 -160
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +218 -218
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -17
- package/dist/session/inbox.js +91 -91
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +212 -212
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +139 -139
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/agent.d.ts +1 -1
- package/dist/types/codemode/catalog.d.ts +7 -8
- package/dist/types/codemode/tool.d.ts +1 -7
- package/dist/types/persistent-pty/daemon.d.ts +39 -21
- package/dist/types/session/history.d.ts +0 -5
- package/dist/types/session/runner/publish-llm-event.d.ts +3 -3
- package/dist/types/session.d.ts +38 -38
- package/dist/types/v1/config/migrate.d.ts +2 -28
- package/dist/types/worktree/sql.d.ts +1 -1
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +82 -82
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +87 -87
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/ripgrep-73kg42pk.js +0 -26
- package/dist/chunks/ripgrep-ddq52evp.js +0 -257
- package/dist/chunks/ripgrep-jqh9b0xq.js +0 -18
- /package/dist/chunks/{ripgrep-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{ripgrep-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{ripgrep-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{ripgrep-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{ripgrep-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{ripgrep-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{ripgrep-2bv980vf.js → workspace-2bv980vf.js} +0 -0
- /package/dist/chunks/{ripgrep-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{ripgrep-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{ripgrep-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{ripgrep-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{ripgrep-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{ripgrep-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{ripgrep-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{ripgrep-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{ripgrep-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{ripgrep-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{ripgrep-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{ripgrep-5fjb7ams.js → workspace-5fjb7ams.js} +0 -0
- /package/dist/chunks/{ripgrep-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{ripgrep-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{ripgrep-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{ripgrep-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{ripgrep-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{ripgrep-84wd9syh.js → workspace-84wd9syh.js} +0 -0
- /package/dist/chunks/{ripgrep-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{ripgrep-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{ripgrep-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{ripgrep-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{ripgrep-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{ripgrep-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{ripgrep-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{ripgrep-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{ripgrep-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{ripgrep-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{ripgrep-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{ripgrep-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{ripgrep-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{ripgrep-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{ripgrep-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{ripgrep-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{ripgrep-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{ripgrep-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{ripgrep-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{ripgrep-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{ripgrep-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{ripgrep-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{ripgrep-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{ripgrep-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{ripgrep-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{ripgrep-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{ripgrep-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{ripgrep-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{ripgrep-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{ripgrep-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{ripgrep-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{ripgrep-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{ripgrep-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{ripgrep-hcxmzztb.js → workspace-hcxmzztb.js} +0 -0
- /package/dist/chunks/{ripgrep-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{ripgrep-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{ripgrep-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{ripgrep-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{ripgrep-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{ripgrep-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{ripgrep-jze0r7bz.js → workspace-jze0r7bz.js} +0 -0
- /package/dist/chunks/{ripgrep-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{ripgrep-m18g726c.js → workspace-m18g726c.js} +0 -0
- /package/dist/chunks/{ripgrep-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{ripgrep-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{ripgrep-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{ripgrep-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{ripgrep-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{ripgrep-pkyv6v7h.js → workspace-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{ripgrep-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{ripgrep-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{ripgrep-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{ripgrep-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{ripgrep-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{ripgrep-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{ripgrep-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{ripgrep-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{ripgrep-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{ripgrep-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{ripgrep-ve7vex1e.js → workspace-ve7vex1e.js} +0 -0
- /package/dist/chunks/{ripgrep-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{ripgrep-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{ripgrep-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{ripgrep-wjj7prxr.js → workspace-wjj7prxr.js} +0 -0
- /package/dist/chunks/{ripgrep-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{ripgrep-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{ripgrep-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{ripgrep-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{ripgrep-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{ripgrep-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{ripgrep-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{ripgrep-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{ripgrep-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
NonNegativeInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service67
|
|
7
|
+
} from "./workspace-qssh8sag.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service73
|
|
13
|
+
} from "./workspace-5x8rsm2f.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./workspace-6gzxrv04.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
18
|
+
Service46
|
|
19
|
+
} from "./workspace-t18r7gq3.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service15,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-xy9gzbcy.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
27
27
|
metadata2,
|
|
28
28
|
notification2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./workspace-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service76,
|
|
32
32
|
name16
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./workspace-t2s68hp7.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service63
|
|
37
|
+
} from "./workspace-eg33xqqg.js";
|
|
38
38
|
import {
|
|
39
39
|
Service26
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./workspace-be4f7z37.js";
|
|
41
41
|
import {
|
|
42
42
|
scan3
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./workspace-3chvherp.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
|
-
} from "./
|
|
46
|
+
} from "./workspace-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell2 = {};
|
|
50
|
+
__export(exports_shell2, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input7,
|
|
53
|
+
Plugin: () => Plugin42,
|
|
54
|
+
ShellTool: () => exports_shell2,
|
|
55
|
+
name: () => name7
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name7 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input7 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin42 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
123
|
const sessions = yield* Service26;
|
|
124
|
-
const jobs = yield*
|
|
124
|
+
const jobs = yield* Service51;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service73;
|
|
127
|
+
const access = yield* Service15;
|
|
128
|
+
const shell = yield* Service63;
|
|
129
|
+
const shellSelect = yield* Service76;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service46;
|
|
132
|
+
const config = yield* Service67;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin6 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name7,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin6 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name7,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input7,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin6 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name7,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name7];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name16(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name7, DEFAULT_TIMEOUT_MS2, Input7, Plugin42, exports_shell2 };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service80
|
|
3
|
+
} from "./workspace-38phfjcn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service45
|
|
6
|
+
} from "./workspace-mx9vqzsb.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9wev2pgg.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-by5v678g.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service66
|
|
15
|
+
} from "./workspace-qby9dwvd.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-j6jn98s4.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
Service40
|
|
23
|
+
} from "./workspace-132rhf2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service45;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service66;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -61,7 +61,7 @@ var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
|
61
61
|
const selected = yield* Effect.gen(function* () {
|
|
62
62
|
if (!requested?.length)
|
|
63
63
|
return;
|
|
64
|
-
const skillService = yield*
|
|
64
|
+
const skillService = yield* Service40;
|
|
65
65
|
const prepared = new Map;
|
|
66
66
|
return yield* Effect.forEach(requested, (attachment) => Effect.gen(function* () {
|
|
67
67
|
const name = prepared.get(attachment.id);
|
|
@@ -124,7 +124,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
124
124
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
125
125
|
if (!mime.startsWith("image/"))
|
|
126
126
|
return { data: Base64.make(data), mime };
|
|
127
|
-
const image = yield*
|
|
127
|
+
const image = yield* Service80;
|
|
128
128
|
const label = attachmentLabel(input);
|
|
129
129
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
130
130
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./workspace-n8nk40tj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service46
|
|
6
|
+
} from "./workspace-t18r7gq3.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-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: () => Plugin51,
|
|
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 Plugin51 = {
|
|
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* Service83;
|
|
57
|
+
const permission = yield* Service46;
|
|
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: Input15,
|
|
@@ -117,4 +117,4 @@ function toField(question, index) {
|
|
|
117
117
|
};
|
|
118
118
|
}
|
|
119
119
|
|
|
120
|
-
export {
|
|
120
|
+
export { name14, description6, Input15, Output10, CancelledError2, toModelContent7, Plugin51, exports_question };
|
|
@@ -1,80 +1,79 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-s1v8awss.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-tvgxg3g6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service45
|
|
9
|
+
} from "./workspace-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-vzs5sf6e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-gftt206x.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
NotFoundError5,
|
|
18
18
|
PromptConflictError2,
|
|
19
19
|
SyntheticConflictError2,
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./workspace-j6jn98s4.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./workspace-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service47
|
|
29
|
+
} from "./workspace-jjrctdmw.js";
|
|
30
30
|
import {
|
|
31
|
-
Delivery2,
|
|
32
31
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service43
|
|
33
|
+
} from "./workspace-fstg4fsa.js";
|
|
35
34
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
35
|
+
Service41
|
|
36
|
+
} from "./workspace-3eyct666.js";
|
|
38
37
|
import {
|
|
39
38
|
prepare2
|
|
40
|
-
} from "./
|
|
39
|
+
} from "./workspace-s4gy3dj7.js";
|
|
41
40
|
import {
|
|
42
41
|
stage2,
|
|
43
42
|
clear2,
|
|
44
43
|
commit2
|
|
45
|
-
} from "./
|
|
44
|
+
} from "./workspace-g9vnk3jz.js";
|
|
46
45
|
import {
|
|
47
46
|
start2
|
|
48
|
-
} from "./
|
|
47
|
+
} from "./workspace-hcgv7z9w.js";
|
|
49
48
|
import {
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
49
|
+
get4
|
|
50
|
+
} from "./workspace-qhd9gkgf.js";
|
|
52
51
|
import {
|
|
53
52
|
__export
|
|
54
|
-
} from "./
|
|
53
|
+
} from "./workspace-9rqn6x4v.js";
|
|
55
54
|
|
|
56
55
|
// src/session/session.ts
|
|
57
56
|
var exports_session2 = {};
|
|
58
57
|
__export(exports_session2, {
|
|
59
58
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
59
|
+
make: () => make13
|
|
61
60
|
});
|
|
62
61
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
62
|
import { Event } from "@opencode/schema/event";
|
|
64
63
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
64
|
+
var make13 = Effect.fn("Session.make")(function* () {
|
|
66
65
|
const bus = yield* Service85;
|
|
67
66
|
const database = yield* Service86;
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
67
|
+
const store = yield* Service47;
|
|
68
|
+
const instances = yield* Service45;
|
|
69
|
+
const execution = yield* Service41;
|
|
70
|
+
const admission = yield* Service43;
|
|
72
71
|
const fs = yield* FSUtil.Service;
|
|
73
72
|
const scope = yield* Scope.Scope;
|
|
74
73
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
75
74
|
const session = yield* store.get(sessionID);
|
|
76
75
|
if (!session)
|
|
77
|
-
return yield* new
|
|
76
|
+
return yield* new NotFoundError5({ sessionID });
|
|
78
77
|
return session;
|
|
79
78
|
});
|
|
80
79
|
const message = Effect.fn("Session.message")(function* (sessionID, messageID) {
|
|
@@ -147,7 +146,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
147
146
|
});
|
|
148
147
|
if (existing)
|
|
149
148
|
return existing;
|
|
150
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
149
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service45, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
151
150
|
if (session.revert)
|
|
152
151
|
yield* commit2(bus, session);
|
|
153
152
|
return yield* admission.admit({
|
|
@@ -163,7 +162,7 @@ var make14 = Effect.fn("Session.make")(function* () {
|
|
|
163
162
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
164
163
|
const session = yield* get(sessionID);
|
|
165
164
|
const running = yield* Effect.gen(function* () {
|
|
166
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
165
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service45, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
167
166
|
text: `User shell command failed to start:
|
|
168
167
|
${input.command}
|
|
169
168
|
|
|
@@ -192,7 +191,7 @@ ${error.message}`,
|
|
|
192
191
|
});
|
|
193
192
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
194
193
|
const session = yield* get(sessionID);
|
|
195
|
-
const skill = yield*
|
|
194
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service45, instances));
|
|
196
195
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
197
196
|
sessionID,
|
|
198
197
|
id: skill.id,
|
|
@@ -233,7 +232,7 @@ ${error.message}`,
|
|
|
233
232
|
description: input.description,
|
|
234
233
|
metadata: input.metadata
|
|
235
234
|
}),
|
|
236
|
-
delivery:
|
|
235
|
+
delivery: input.delivery ?? "steer"
|
|
237
236
|
};
|
|
238
237
|
const admitted = yield* admission.admit({
|
|
239
238
|
id: inputID,
|
|
@@ -249,13 +248,13 @@ ${error.message}`,
|
|
|
249
248
|
const session = yield* get(sessionID);
|
|
250
249
|
if (yield* execution.isActive(sessionID))
|
|
251
250
|
return yield* new BusyError2({ sessionID });
|
|
252
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
251
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service86, database), Effect.provideService(Service85, bus));
|
|
253
252
|
});
|
|
254
253
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
255
254
|
const session = yield* get(sessionID);
|
|
256
255
|
if (yield* execution.isActive(sessionID))
|
|
257
256
|
return yield* new BusyError2({ sessionID });
|
|
258
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
257
|
+
yield* clear2(session).pipe(Effect.provideService(Service45, instances), Effect.provideService(Service85, bus));
|
|
259
258
|
return yield* execution.wake(sessionID);
|
|
260
259
|
});
|
|
261
260
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -347,4 +346,4 @@ ${error.message}`,
|
|
|
347
346
|
return { forSession };
|
|
348
347
|
});
|
|
349
348
|
|
|
350
|
-
export {
|
|
349
|
+
export { make13, exports_session2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service79
|
|
3
|
+
} from "./workspace-m22m6tzf.js";
|
|
4
4
|
import {
|
|
5
5
|
DirectoryUnavailableError2,
|
|
6
6
|
canonical2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-0vbcp93d.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/worktree/git.ts
|
|
13
13
|
var exports_git2 = {};
|
|
@@ -20,7 +20,7 @@ import { Worktree } from "@opencode/schema/worktree";
|
|
|
20
20
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
21
21
|
var make12 = Effect.gen(function* () {
|
|
22
22
|
const fs = yield* FSUtil.Service;
|
|
23
|
-
const git = yield*
|
|
23
|
+
const git = yield* Service79;
|
|
24
24
|
return {
|
|
25
25
|
id: Worktree.StrategyID.make("git"),
|
|
26
26
|
create: Effect.fn("Worktree.Git.create")(function* (input) {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID7,
|
|
3
3
|
Name3,
|
|
4
4
|
defaultID2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-bwq0z05b.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/agent.ts
|
|
11
|
-
var
|
|
12
|
-
__export(
|
|
13
|
-
AgentPlugin: () =>
|
|
14
|
-
Plugin: () =>
|
|
11
|
+
var exports_agent2 = {};
|
|
12
|
+
__export(exports_agent2, {
|
|
13
|
+
AgentPlugin: () => exports_agent2,
|
|
14
|
+
Plugin: () => Plugin30
|
|
15
15
|
});
|
|
16
16
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
17
17
|
import { Effect } from "effect";
|
|
@@ -57,7 +57,7 @@ Rules:
|
|
|
57
57
|
- Never ask questions or add new questions
|
|
58
58
|
- If the conversation ends with an unanswered question to the user, preserve that exact question
|
|
59
59
|
- If the conversation ends with an imperative statement or request to the user (e.g. "Now please run the command and paste the console output"), always include that exact request in the summary`;
|
|
60
|
-
var
|
|
60
|
+
var Plugin30 = define({
|
|
61
61
|
id: "opencode.agent",
|
|
62
62
|
effect: Effect.fn(function* (ctx) {
|
|
63
63
|
yield* ctx.agent.transform((editor) => {
|
|
@@ -67,32 +67,32 @@ var Plugin29 = define({
|
|
|
67
67
|
item.mode = "primary";
|
|
68
68
|
item.permissions.push({ action: "question", resource: "*", effect: "allow" });
|
|
69
69
|
});
|
|
70
|
-
editor.update(
|
|
70
|
+
editor.update(ID7.make("general"), (item) => {
|
|
71
71
|
item.name = Name3.make("General");
|
|
72
72
|
item.description = "General-purpose agent for researching complex questions and executing multi-step tasks. Use this agent to execute multiple units of work in parallel.";
|
|
73
73
|
item.mode = "subagent";
|
|
74
74
|
item.permissions.push({ action: "question", resource: "*", effect: "deny" }, { action: "subagent", resource: "*", effect: "deny" });
|
|
75
75
|
});
|
|
76
|
-
editor.update(
|
|
76
|
+
editor.update(ID7.make("explore"), (item) => {
|
|
77
77
|
item.name = Name3.make("Explore");
|
|
78
78
|
item.description = 'Fast agent specialized for exploring codebases. Use this when you need to quickly find files by patterns (eg. "src/components/**/*.tsx"), search code for keywords (eg. "API endpoints"), or answer questions about the codebase (eg. "how do API endpoints work?"). When calling this agent, specify the desired thoroughness level: "quick" for basic searches, "medium" for moderate exploration, or "very thorough" for comprehensive analysis across multiple locations and naming conventions.';
|
|
79
79
|
item.system = PROMPT_EXPLORE;
|
|
80
80
|
item.mode = "subagent";
|
|
81
81
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" }, { action: "shell", resource: "*", effect: "allow" }, { action: "grep", resource: "*", effect: "allow" }, { action: "glob", resource: "*", effect: "allow" }, { action: "webfetch", resource: "*", effect: "allow" }, { action: "websearch", resource: "*", effect: "allow" }, { action: "read", resource: "*", effect: "allow" }, { action: "read", resource: "*.env", effect: "ask" }, { action: "read", resource: "*.env.*", effect: "ask" }, { action: "read", resource: "*.env.example", effect: "allow" }, { action: "subagent", resource: "*", effect: "deny" }, { action: "external_directory", resource: "*", effect: "allow" });
|
|
82
82
|
});
|
|
83
|
-
editor.update(
|
|
83
|
+
editor.update(ID7.make("compaction"), (item) => {
|
|
84
84
|
item.name = Name3.make("Compaction");
|
|
85
85
|
item.mode = "primary";
|
|
86
86
|
item.hidden = true;
|
|
87
87
|
});
|
|
88
|
-
editor.update(
|
|
88
|
+
editor.update(ID7.make("title"), (item) => {
|
|
89
89
|
item.name = Name3.make("Title");
|
|
90
90
|
item.mode = "primary";
|
|
91
91
|
item.hidden = true;
|
|
92
92
|
item.system = PROMPT_TITLE;
|
|
93
93
|
item.permissions.push({ action: "*", resource: "*", effect: "deny" });
|
|
94
94
|
});
|
|
95
|
-
editor.update(
|
|
95
|
+
editor.update(ID7.make("summary"), (item) => {
|
|
96
96
|
item.name = Name3.make("Summary");
|
|
97
97
|
item.mode = "primary";
|
|
98
98
|
item.hidden = true;
|
|
@@ -103,4 +103,4 @@ var Plugin29 = define({
|
|
|
103
103
|
})
|
|
104
104
|
});
|
|
105
105
|
|
|
106
|
-
export {
|
|
106
|
+
export { Plugin30, exports_agent2 };
|
|
@@ -1,29 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-nvxqht09.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
11
|
-
import { Location } from "@opencode/schema/location";
|
|
12
11
|
import { Model } from "@opencode/schema/model";
|
|
13
|
-
import { Project } from "@opencode/schema/project";
|
|
14
12
|
import { Provider } from "@opencode/schema/provider";
|
|
15
|
-
import { Workspace } from "@opencode/schema/workspace";
|
|
16
13
|
import { PersistedRevert } from "@opencode/schema/session-revert";
|
|
17
14
|
import { Money } from "@opencode/schema/money";
|
|
18
15
|
var decodeRevert = Schema.decodeUnknownSync(PersistedRevert);
|
|
19
16
|
function fromRow2(row) {
|
|
20
17
|
return SessionSchema2.Info.make({
|
|
21
|
-
id:
|
|
22
|
-
projectID:
|
|
18
|
+
id: row.id,
|
|
19
|
+
projectID: row.project_id,
|
|
23
20
|
title: row.title ?? undefined,
|
|
24
|
-
parentID: row.parent_id
|
|
21
|
+
parentID: row.parent_id ?? undefined,
|
|
25
22
|
fork: row.fork_session_id && row.fork_boundary ? {
|
|
26
|
-
sessionID:
|
|
23
|
+
sessionID: row.fork_session_id,
|
|
27
24
|
boundary: row.fork_boundary
|
|
28
25
|
} : undefined,
|
|
29
26
|
agent: row.agent ?? undefined,
|
|
@@ -42,10 +39,10 @@ function fromRow2(row) {
|
|
|
42
39
|
write: row.tokens_cache_write
|
|
43
40
|
}
|
|
44
41
|
},
|
|
45
|
-
location:
|
|
42
|
+
location: {
|
|
46
43
|
directory: AbsolutePath2.make(row.directory),
|
|
47
|
-
workspaceID: row.workspace_id
|
|
48
|
-
}
|
|
44
|
+
workspaceID: row.workspace_id ?? undefined
|
|
45
|
+
},
|
|
49
46
|
subpath: row.path ? RelativePath2.make(row.path) : undefined,
|
|
50
47
|
metadata: row.metadata ?? undefined,
|
|
51
48
|
permissions: row.permission ?? undefined,
|