@opencode/core 0.0.0-dev-19998 → 0.0.0-dev-20001
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 +82 -82
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/chunks/{location-activity-faq20jtt.js → persistent-pty-02vnja26.js} +2 -2
- package/dist/chunks/{location-activity-f6gbvm0a.js → persistent-pty-0301v5d4.js} +14 -14
- package/dist/chunks/{location-activity-t7y7n0pz.js → persistent-pty-03wgpffp.js} +11 -11
- package/dist/chunks/{location-activity-wxgp8bbg.js → persistent-pty-06j82gr5.js} +11 -11
- package/dist/chunks/{location-activity-vjnneztx.js → persistent-pty-0jdct4vn.js} +6 -6
- package/dist/chunks/{location-activity-57ez7d0k.js → persistent-pty-0ke265bw.js} +5 -5
- package/dist/chunks/persistent-pty-0mesazry.js +4 -0
- package/dist/chunks/{location-activity-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-activity-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-activity-t88x8xaa.js → persistent-pty-0shdscng.js} +68 -68
- package/dist/chunks/{location-activity-73kdj4zj.js → persistent-pty-0xezjjjn.js} +7 -7
- package/dist/chunks/{location-activity-ywh6b0rk.js → persistent-pty-0ytdgy0f.js} +27 -27
- package/dist/chunks/{location-activity-keat3kjn.js → persistent-pty-1080qp6z.js} +4 -4
- package/dist/chunks/{location-activity-hnvks79p.js → persistent-pty-12ygs1y2.js} +26 -26
- package/dist/chunks/persistent-pty-1b8jsvpy.js +252 -0
- package/dist/chunks/{location-activity-9d8b99xf.js → persistent-pty-1bmd05sh.js} +32 -32
- package/dist/chunks/{location-activity-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-activity-ks8w7m48.js → persistent-pty-1js78yem.js} +6 -6
- package/dist/chunks/{location-activity-0t098hqn.js → persistent-pty-1nwxscpy.js} +5 -5
- package/dist/chunks/{location-activity-qzf64swe.js → persistent-pty-1rf1qtgk.js} +36 -36
- package/dist/chunks/{location-activity-bhrt874m.js → persistent-pty-1vmwvk68.js} +38 -38
- package/dist/chunks/{location-activity-2986hm6y.js → persistent-pty-1zpw9mw1.js} +16 -16
- package/dist/chunks/{location-activity-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-activity-2402vzrj.js → persistent-pty-2402vzrj.js} +1 -1
- package/dist/chunks/{location-activity-71v3hhay.js → persistent-pty-251fq3yt.js} +7 -7
- package/dist/chunks/{location-activity-ygddcb48.js → persistent-pty-26s3bdt9.js} +46 -46
- package/dist/chunks/{location-activity-phd9vk7v.js → persistent-pty-27b310mf.js} +6 -6
- package/dist/chunks/{location-activity-k6kc742h.js → persistent-pty-28zq9rra.js} +16 -16
- package/dist/chunks/{location-activity-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-activity-0d5qm7zh.js → persistent-pty-2jjexhp9.js} +17 -17
- package/dist/chunks/{location-activity-phhddthp.js → persistent-pty-2kbmmw84.js} +20 -20
- package/dist/chunks/{location-activity-y19c3zcv.js → persistent-pty-2q6kkxxq.js} +4 -4
- package/dist/chunks/{location-activity-pz1hwbrq.js → persistent-pty-2sjbwh8c.js} +13 -13
- package/dist/chunks/{location-activity-432j4xpj.js → persistent-pty-2xfper2k.js} +9 -9
- package/dist/chunks/{location-activity-656a9aqn.js → persistent-pty-348snc1t.js} +34 -34
- package/dist/chunks/{location-activity-v3672rbb.js → persistent-pty-37rrne4q.js} +1 -1
- package/dist/chunks/{location-activity-kw5826gf.js → persistent-pty-3baz7vjv.js} +3 -3
- package/dist/chunks/{location-activity-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-activity-61x1g5v4.js → persistent-pty-3grpvr0x.js} +9 -9
- package/dist/chunks/{location-activity-nsv5g1ey.js → persistent-pty-3h6p5hfd.js} +24 -24
- package/dist/chunks/{location-activity-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-activity-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-activity-fkjmw100.js → persistent-pty-3tq5qxbk.js} +4 -4
- package/dist/chunks/{location-activity-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-activity-tn0aqsam.js → persistent-pty-3w0fmcng.js} +5 -5
- package/dist/chunks/{location-activity-f7st90hc.js → persistent-pty-3wggxd0g.js} +47 -47
- package/dist/chunks/{location-activity-2ec3v8hw.js → persistent-pty-4146b8yh.js} +1 -1
- package/dist/chunks/{location-activity-aryyw1nk.js → persistent-pty-4c2df9zx.js} +8 -8
- package/dist/chunks/{location-activity-fynhz92s.js → persistent-pty-4ddzh0v1.js} +10 -10
- package/dist/chunks/{location-activity-7gye2bjh.js → persistent-pty-4eyny2x4.js} +26 -26
- package/dist/chunks/{location-activity-xkdnde6h.js → persistent-pty-4n7mevx0.js} +10 -10
- package/dist/chunks/{location-activity-t03s1kew.js → persistent-pty-4tma0fsr.js} +11 -11
- package/dist/chunks/{location-activity-vmq7ehpy.js → persistent-pty-510m7gjw.js} +5 -5
- package/dist/chunks/{location-activity-ezphc7af.js → persistent-pty-532h92k8.js} +25 -25
- package/dist/chunks/{location-activity-drwq78ky.js → persistent-pty-57b9ws8p.js} +5 -5
- package/dist/chunks/{location-activity-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{location-activity-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-activity-5ekn9679.js → persistent-pty-5ekn9679.js} +1 -1
- package/dist/chunks/{location-activity-pthg2517.js → persistent-pty-5et4qy09.js} +17 -17
- package/dist/chunks/{location-activity-cs6azz3d.js → persistent-pty-5fznqp73.js} +6 -6
- package/dist/chunks/{location-activity-zhq173yx.js → persistent-pty-5pp3ynyy.js} +90 -90
- package/dist/chunks/{location-activity-e3qxr5gk.js → persistent-pty-5qd3pb7m.js} +2 -2
- package/dist/chunks/{location-activity-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-activity-5xtgfte3.js → persistent-pty-5xtgfte3.js} +1 -1
- package/dist/chunks/{location-activity-jhw6zz9v.js → persistent-pty-63t8mypd.js} +20 -20
- package/dist/chunks/{location-activity-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{location-activity-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-activity-g6hafhpr.js → persistent-pty-6v3qmmgj.js} +20 -20
- package/dist/chunks/{location-activity-dq0v80fr.js → persistent-pty-74rrnwt7.js} +12 -12
- package/dist/chunks/{location-activity-p5hsm6j2.js → persistent-pty-7ag8gg1a.js} +7 -7
- package/dist/chunks/{location-activity-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-activity-8rqaynvg.js → persistent-pty-7crdshgt.js} +11 -11
- package/dist/chunks/{location-activity-f84y55pb.js → persistent-pty-7dvgeykw.js} +24 -24
- package/dist/chunks/persistent-pty-7fj5dwt0.js +18 -0
- package/dist/chunks/{location-activity-ke9b97j4.js → persistent-pty-7kvmecgy.js} +20 -20
- package/dist/chunks/{location-activity-hmy49x83.js → persistent-pty-7sfnpa80.js} +10 -10
- package/dist/chunks/{location-activity-jr5kx3zf.js → persistent-pty-7xpfs8hq.js} +27 -27
- package/dist/chunks/{location-activity-67fjy92t.js → persistent-pty-7zgnt065.js} +8 -8
- package/dist/chunks/{location-activity-ddtsf7x9.js → persistent-pty-89mvg365.js} +4 -4
- package/dist/chunks/{location-activity-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-activity-z9w016j4.js → persistent-pty-8e18ys7f.js} +24 -24
- package/dist/chunks/{location-activity-nemxhtya.js → persistent-pty-91mb3y5y.js} +15 -15
- package/dist/chunks/{location-activity-yq5wb119.js → persistent-pty-94acgbaq.js} +33 -33
- package/dist/chunks/{location-activity-1fsmjh28.js → persistent-pty-9pswcrc4.js} +16 -16
- package/dist/chunks/{location-activity-wabfjh5a.js → persistent-pty-9zjxkq4z.js} +3 -3
- package/dist/chunks/{location-activity-fqnwtnda.js → persistent-pty-a3n22e4k.js} +27 -27
- package/dist/chunks/{location-activity-ky3seynh.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-activity-6n8hgs3w.js → persistent-pty-a8mfdwnk.js} +54 -54
- package/dist/chunks/{location-activity-psqg10z4.js → persistent-pty-aa0gpb6n.js} +1 -1
- package/dist/chunks/{location-activity-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-activity-af04s6ss.js → persistent-pty-af04s6ss.js} +2 -2
- package/dist/chunks/{location-activity-nj9f3n6z.js → persistent-pty-aqsacfjy.js} +8 -8
- package/dist/chunks/{location-activity-z4ns2vkz.js → persistent-pty-arz3vx5k.js} +17 -17
- package/dist/chunks/{location-activity-7ynembb3.js → persistent-pty-b1rzham2.js} +14 -14
- package/dist/chunks/{location-activity-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-activity-jmjyvyzs.js → persistent-pty-brkzx8ca.js} +28 -28
- package/dist/chunks/{location-activity-xcd0eash.js → persistent-pty-bw9zjykr.js} +6 -6
- package/dist/chunks/{location-activity-4cw6y6dr.js → persistent-pty-bzw5p0v3.js} +41 -41
- package/dist/chunks/{location-activity-adey4jnc.js → persistent-pty-c3ewdk9q.js} +28 -28
- package/dist/chunks/{location-activity-54w4jxfp.js → persistent-pty-c3tmynma.js} +47 -47
- package/dist/chunks/{location-activity-hh8v1emf.js → persistent-pty-c5drhkvr.js} +16 -16
- package/dist/chunks/{location-activity-8d3h6n0v.js → persistent-pty-c8x40s92.js} +17 -17
- package/dist/chunks/{location-activity-tm6kymsg.js → persistent-pty-c9ex5cwa.js} +90 -90
- package/dist/chunks/{location-activity-t51qk8jz.js → persistent-pty-cavr175a.js} +21 -21
- package/dist/chunks/{location-activity-1yz1qrj5.js → persistent-pty-ccs2c1bh.js} +41 -41
- package/dist/chunks/{location-activity-e4gqvqs7.js → persistent-pty-cehc4fcm.js} +9 -9
- package/dist/chunks/{location-activity-aj35p4f4.js → persistent-pty-cq27jvec.js} +9 -9
- package/dist/chunks/{location-activity-n5dzjbr0.js → persistent-pty-cqh1h3gn.js} +6 -6
- package/dist/chunks/{location-activity-ca5bnwa1.js → persistent-pty-cr5b1n6y.js} +14 -14
- package/dist/chunks/{location-activity-t1ksap3g.js → persistent-pty-cw86rn5q.js} +11 -11
- package/dist/chunks/{location-activity-djszqvmq.js → persistent-pty-cwa6csj7.js} +9 -9
- package/dist/chunks/{location-activity-kyrw9182.js → persistent-pty-cxbap5yk.js} +23 -23
- package/dist/chunks/{location-activity-dmr7hjxr.js → persistent-pty-cy0spz2z.js} +37 -37
- package/dist/chunks/{location-activity-vvcqb501.js → persistent-pty-d16x3hw8.js} +22 -22
- package/dist/chunks/{location-activity-jzx61r1q.js → persistent-pty-d2s3wkz4.js} +9 -9
- package/dist/chunks/{location-activity-2pdg46mn.js → persistent-pty-d48vtfkp.js} +17 -17
- package/dist/chunks/{location-activity-yawynvsn.js → persistent-pty-d4j0d6g7.js} +10 -10
- package/dist/chunks/{location-activity-ngvbpy77.js → persistent-pty-d5b6jkc9.js} +5 -5
- package/dist/chunks/{location-activity-4tjt5vnd.js → persistent-pty-de2bbkbe.js} +5 -5
- package/dist/chunks/{location-activity-w4bdtp0r.js → persistent-pty-df1v60n5.js} +11 -11
- package/dist/chunks/{location-activity-0pr3hkd7.js → persistent-pty-dg2cj1yd.js} +4 -4
- package/dist/chunks/{location-activity-edme2h3e.js → persistent-pty-dg5bcj4q.js} +7 -7
- package/dist/chunks/{location-activity-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-activity-111evwba.js → persistent-pty-dpdgxbb1.js} +20 -20
- package/dist/chunks/{location-activity-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-activity-hann3c6x.js → persistent-pty-dra9bm4c.js} +12 -12
- package/dist/chunks/{location-activity-ex1xq3ck.js → persistent-pty-dsn3ey9m.js} +26 -26
- package/dist/chunks/{location-activity-4akyer13.js → persistent-pty-dw2g2n7y.js} +26 -26
- package/dist/chunks/{location-activity-zgfja9xb.js → persistent-pty-dy85ckvv.js} +26 -26
- package/dist/chunks/{location-activity-nhrbhwcw.js → persistent-pty-e4erjdx3.js} +8 -8
- package/dist/chunks/{location-activity-35agz59w.js → persistent-pty-e6hd9jay.js} +4 -4
- package/dist/chunks/{location-activity-3104ney4.js → persistent-pty-e942ejx1.js} +5 -5
- package/dist/chunks/{location-activity-t550f9t1.js → persistent-pty-eaj1djv9.js} +8 -8
- package/dist/chunks/{location-activity-h0644np7.js → persistent-pty-ed86yh56.js} +11 -11
- package/dist/chunks/{location-activity-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-activity-9jrjjx1x.js → persistent-pty-efvcp6ns.js} +11 -11
- package/dist/chunks/{location-activity-ghg0wmnz.js → persistent-pty-ejx6caqb.js} +2 -2
- package/dist/chunks/{location-activity-erw5rpbs.js → persistent-pty-erw5rpbs.js} +2 -2
- package/dist/chunks/{location-activity-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-activity-zqp6rtbq.js → persistent-pty-f1mqex3k.js} +23 -23
- package/dist/chunks/{location-activity-etv1amp0.js → persistent-pty-f52kf95x.js} +21 -21
- package/dist/chunks/{location-activity-v1kte5e7.js → persistent-pty-factba7n.js} +3 -3
- package/dist/chunks/{location-activity-zxhc4a2a.js → persistent-pty-feex15hn.js} +20 -20
- package/dist/chunks/{location-activity-9mwv7ekc.js → persistent-pty-fmgpc4my.js} +32 -32
- package/dist/chunks/{location-activity-t5m8p7hr.js → persistent-pty-fmz924ae.js} +4 -4
- package/dist/chunks/{location-activity-4vp46et4.js → persistent-pty-fq9618wy.js} +6 -6
- package/dist/chunks/{location-activity-zn8ynp46.js → persistent-pty-ft0qtczr.js} +11 -11
- package/dist/chunks/{location-activity-yb4fb8yz.js → persistent-pty-fwkkykk2.js} +19 -19
- package/dist/chunks/{location-activity-k87er7tp.js → persistent-pty-g11rfc9f.js} +3 -3
- package/dist/chunks/{location-activity-49w8mb30.js → persistent-pty-g8jasmdt.js} +11 -11
- package/dist/chunks/{location-activity-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-activity-705e2ap1.js → persistent-pty-gg4dpy88.js} +5 -5
- package/dist/chunks/persistent-pty-ghg0rxwy.js +26 -0
- package/dist/chunks/{location-activity-bajakh74.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{location-activity-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-activity-p5a1tx37.js → persistent-pty-gwda3vg2.js} +11 -11
- package/dist/chunks/{location-activity-8tape42t.js → persistent-pty-h3ek80ta.js} +5 -5
- package/dist/chunks/{location-activity-zc5959fh.js → persistent-pty-h4n5n8rw.js} +4 -4
- package/dist/chunks/{location-activity-4dgbcxzg.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-activity-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-activity-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-activity-6zaaw057.js → persistent-pty-hqt5d750.js} +23 -23
- package/dist/chunks/{location-activity-m6aede78.js → persistent-pty-hrqvzjyr.js} +30 -30
- package/dist/chunks/{location-activity-536qkx72.js → persistent-pty-hse91znn.js} +9 -9
- package/dist/chunks/{location-activity-t31x7hd7.js → persistent-pty-j260a8hh.js} +15 -15
- package/dist/chunks/{location-activity-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-activity-e0sa9q1d.js → persistent-pty-j8z3d1d1.js} +32 -32
- package/dist/chunks/{location-activity-70j333pp.js → persistent-pty-jatykmcp.js} +14 -14
- package/dist/chunks/{location-activity-1gtpxw7r.js → persistent-pty-jbbq3td5.js} +14 -14
- package/dist/chunks/{location-activity-k2qj49bj.js → persistent-pty-jbmcst8e.js} +6 -6
- package/dist/chunks/{location-activity-xxynqx5z.js → persistent-pty-jexxy024.js} +2 -2
- package/dist/chunks/{location-activity-d4pyk428.js → persistent-pty-jpbtdz7j.js} +8 -8
- package/dist/chunks/{location-activity-cew8ynsz.js → persistent-pty-jptceg29.js} +31 -31
- package/dist/chunks/{location-activity-haa2myk4.js → persistent-pty-k17td3rr.js} +4 -4
- package/dist/chunks/{location-activity-2p3w3d9e.js → persistent-pty-k1qrnqst.js} +8 -8
- package/dist/chunks/{location-activity-pnqe9gv0.js → persistent-pty-k53npxr2.js} +1 -1
- package/dist/chunks/{location-activity-40s196nr.js → persistent-pty-k5bqq78w.js} +3 -3
- package/dist/chunks/{location-activity-v01x0me6.js → persistent-pty-k61k5w90.js} +29 -29
- package/dist/chunks/{location-activity-fkwdvjk0.js → persistent-pty-kmm1f1wa.js} +5 -5
- package/dist/chunks/{location-activity-be2cz07j.js → persistent-pty-kskhsqm3.js} +9 -9
- package/dist/chunks/{location-activity-9311y54q.js → persistent-pty-kygpjxdc.js} +8 -8
- package/dist/chunks/{location-activity-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-activity-nq7qbqzc.js → persistent-pty-m2d0j7c0.js} +9 -9
- package/dist/chunks/{location-activity-m3fdjcah.js → persistent-pty-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-activity-mw1pcn6w.js → persistent-pty-m3ktmgc5.js} +17 -17
- package/dist/chunks/{location-activity-dgerenpn.js → persistent-pty-m4b2b706.js} +29 -29
- package/dist/chunks/{location-activity-jvw73btf.js → persistent-pty-m688y65p.js} +11 -11
- package/dist/chunks/{location-activity-7cabpq82.js → persistent-pty-m7d2j08w.js} +4 -4
- package/dist/chunks/{location-activity-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-activity-33w4ejhs.js → persistent-pty-mfqp6xfm.js} +9 -9
- package/dist/chunks/{location-activity-1c7ybng9.js → persistent-pty-mzvzs703.js} +12 -12
- package/dist/chunks/{location-activity-2ymb2yjc.js → persistent-pty-n3d06r9t.js} +21 -21
- package/dist/chunks/{location-activity-1tmj3znp.js → persistent-pty-n5mghb8v.js} +9 -9
- package/dist/chunks/{location-activity-t7f0mmbr.js → persistent-pty-nax8v91w.js} +24 -24
- package/dist/chunks/{location-activity-xf1ejzz4.js → persistent-pty-nnspx4pw.js} +6 -6
- package/dist/chunks/{location-activity-aa0b0ayt.js → persistent-pty-ns89s3d7.js} +9 -9
- package/dist/chunks/{location-activity-k3c624dm.js → persistent-pty-nzks3jc8.js} +3 -3
- package/dist/chunks/{location-activity-ev6sep1c.js → persistent-pty-p127k79g.js} +7 -7
- package/dist/chunks/{location-activity-p28j5sbe.js → persistent-pty-p28j5sbe.js} +2 -2
- package/dist/chunks/{location-activity-vdk4qv7w.js → persistent-pty-p776grxc.js} +18 -18
- package/dist/chunks/{location-activity-aqha0cdw.js → persistent-pty-p7y4s0m8.js} +15 -15
- package/dist/chunks/{location-activity-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-activity-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-activity-efbdhjg5.js → persistent-pty-pnnq9hbh.js} +24 -24
- package/dist/chunks/{location-activity-eegchnt3.js → persistent-pty-ppke3c5n.js} +3 -3
- package/dist/chunks/{location-activity-dspheze5.js → persistent-pty-pq009wkf.js} +25 -25
- package/dist/chunks/{location-activity-d51nrd4h.js → persistent-pty-pq64y31t.js} +18 -18
- package/dist/chunks/{location-activity-kdgpnez2.js → persistent-pty-q6t4s3zd.js} +1 -1
- package/dist/chunks/{location-activity-ratrq7cm.js → persistent-pty-qa3qhgw8.js} +4 -4
- package/dist/chunks/{location-activity-z5kvjanp.js → persistent-pty-qc5ntz1d.js} +24 -24
- package/dist/chunks/{location-activity-nv73c3xb.js → persistent-pty-qcvmd6b9.js} +27 -27
- package/dist/chunks/{location-activity-eex1dk91.js → persistent-pty-qe6yd3vy.js} +20 -20
- package/dist/chunks/{location-activity-r5dg82xv.js → persistent-pty-qfckc8ww.js} +25 -25
- package/dist/chunks/{location-activity-fcrkznn8.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-activity-zdrghmmk.js → persistent-pty-qhc1hnsx.js} +10 -10
- package/dist/chunks/{location-activity-2t0ybdt7.js → persistent-pty-qj49ekh6.js} +3 -3
- package/dist/chunks/{location-activity-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-activity-7kq1emkr.js → persistent-pty-qsf83v83.js} +32 -32
- package/dist/chunks/{location-activity-0d3afqa2.js → persistent-pty-qyc7x7z5.js} +13 -13
- package/dist/chunks/{location-activity-wyjgme34.js → persistent-pty-r1hamq85.js} +28 -28
- package/dist/chunks/{location-activity-73tb2d7t.js → persistent-pty-r5x6zcsm.js} +3 -3
- package/dist/chunks/{location-activity-r6d368kf.js → persistent-pty-r9byqgec.js} +15 -15
- package/dist/chunks/{location-activity-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-activity-5xzhh8sj.js → persistent-pty-re97pqet.js} +12 -12
- package/dist/chunks/{location-activity-yp2x3t23.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/{location-activity-6bzm20j5.js → persistent-pty-rkn362zb.js} +16 -16
- package/dist/chunks/{location-activity-3yb1zzwx.js → persistent-pty-rnfswt5s.js} +35 -35
- package/dist/chunks/{location-activity-kpqrh5xr.js → persistent-pty-rzpbq8m1.js} +7 -7
- package/dist/chunks/{location-activity-bk5d92zk.js → persistent-pty-sjj5q5p7.js} +11 -11
- package/dist/chunks/{location-activity-3rnyj502.js → persistent-pty-svvemcs6.js} +8 -8
- package/dist/chunks/{location-activity-bf0ztrs3.js → persistent-pty-sx1n432n.js} +4 -4
- package/dist/chunks/{location-activity-c8qhbvx8.js → persistent-pty-t35mr6en.js} +24 -24
- package/dist/chunks/{location-activity-9sw471rd.js → persistent-pty-t5ehz8va.js} +6 -6
- package/dist/chunks/{location-activity-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-activity-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-activity-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-activity-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-activity-w3msv2gy.js → persistent-pty-v710rhrc.js} +34 -34
- package/dist/chunks/{location-activity-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-activity-chc50c3x.js → persistent-pty-vftqyr62.js} +25 -25
- package/dist/chunks/{location-activity-mcs46aqh.js → persistent-pty-vh5e817s.js} +22 -22
- package/dist/chunks/{location-activity-aygejs19.js → persistent-pty-vpshg2tm.js} +4 -4
- package/dist/chunks/{location-activity-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-activity-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/persistent-pty-w53xn0nw.js +503 -0
- package/dist/chunks/{location-activity-08rvs6d2.js → persistent-pty-warmmh1m.js} +1 -1
- package/dist/chunks/{location-activity-3g2ddrac.js → persistent-pty-wchatq2q.js} +24 -24
- package/dist/chunks/{location-activity-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-activity-9pf7p98t.js → persistent-pty-wqgbc62j.js} +54 -54
- package/dist/chunks/{location-activity-ed6sx358.js → persistent-pty-wrzkdsf5.js} +20 -20
- package/dist/chunks/{location-activity-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-activity-6fhnrf8z.js → persistent-pty-x6vejd3b.js} +22 -22
- package/dist/chunks/{location-activity-8czzvqk1.js → persistent-pty-x75m8cnz.js} +18 -18
- package/dist/chunks/{location-activity-e10bre5v.js → persistent-pty-xfbn00ej.js} +8 -8
- package/dist/chunks/{location-activity-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-activity-3187zsy9.js → persistent-pty-y2m72ezy.js} +19 -19
- package/dist/chunks/{location-activity-jx0phqx2.js → persistent-pty-y2pttbdt.js} +4 -4
- package/dist/chunks/{location-activity-6fatt4mk.js → persistent-pty-y56ehv6b.js} +9 -9
- package/dist/chunks/{location-activity-r29ne6h3.js → persistent-pty-y575bkyz.js} +45 -45
- package/dist/chunks/{location-activity-kzc3h1h3.js → persistent-pty-y6mhz57t.js} +4 -4
- package/dist/chunks/{location-activity-hsyxj58z.js → persistent-pty-y7k45b13.js} +141 -141
- package/dist/chunks/{location-activity-832707xy.js → persistent-pty-y81fdv5s.js} +1 -1
- package/dist/chunks/{location-activity-wb2crypr.js → persistent-pty-ybhbtxjg.js} +9 -9
- package/dist/chunks/{location-activity-pt8zkbga.js → persistent-pty-yfwykd95.js} +8 -8
- package/dist/chunks/{location-activity-zka5b4hb.js → persistent-pty-yjdjwa94.js} +2 -2
- package/dist/chunks/{location-activity-s14m5fce.js → persistent-pty-ykr3afan.js} +13 -13
- package/dist/chunks/{location-activity-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-activity-efy2g4p4.js → persistent-pty-yrrfxzmt.js} +18 -18
- package/dist/chunks/{location-activity-s4enseaf.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{location-activity-3cva5gbw.js → persistent-pty-yzzhc2zs.js} +30 -30
- package/dist/chunks/{location-activity-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-activity-wqkmq16j.js → persistent-pty-z0wq6kh9.js} +44 -44
- package/dist/chunks/{location-activity-29x78va6.js → persistent-pty-z63w68vq.js} +6 -6
- package/dist/chunks/{location-activity-m91gvp7t.js → persistent-pty-z9qyhhpt.js} +6 -6
- package/dist/chunks/{location-activity-6jfc5ae4.js → persistent-pty-ze7293fq.js} +17 -17
- package/dist/chunks/{location-activity-baaqp4zd.js → persistent-pty-zee1rnkq.js} +4 -4
- package/dist/chunks/{location-activity-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-activity-v8dhytdw.js → persistent-pty-zekjwgez.js} +10 -10
- package/dist/chunks/{location-activity-faj2svbs.js → persistent-pty-zg3tcem2.js} +9 -9
- package/dist/chunks/{location-activity-wtqj1h4k.js → persistent-pty-zhcafb9x.js} +33 -33
- package/dist/chunks/{location-activity-twfjx780.js → persistent-pty-zpqymkmv.js} +13 -13
- package/dist/chunks/{location-activity-0sms91se.js → persistent-pty-zqm1r2z0.js} +13 -13
- package/dist/chunks/{location-activity-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-activity-0ha8vmb5.js → persistent-pty-zvberzsv.js} +20 -20
- package/dist/chunks/{location-activity-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +91 -91
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +105 -105
- package/dist/form.js +77 -77
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +104 -104
- 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 +90 -90
- 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 +360 -360
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +83 -83
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +357 -357
- package/dist/location.js +84 -84
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +3 -3
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +1 -1
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +93 -93
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +228 -228
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +83 -83
- package/dist/provider.js +96 -96
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +96 -96
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +133 -133
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +220 -220
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +3 -3
- package/dist/session/session.js +171 -171
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +153 -153
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +214 -214
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +139 -139
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +106 -106
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +121 -121
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +91 -91
- 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 +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +77 -77
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/location-activity-6kdq0pjd.js +0 -4
- package/dist/chunks/location-activity-c0k46eq9.js +0 -252
- package/dist/chunks/location-activity-f1ygfb5a.js +0 -503
- package/dist/chunks/location-activity-vnkjks7b.js +0 -18
- package/dist/chunks/location-activity-yb671w0d.js +0 -26
- /package/dist/chunks/{location-activity-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-activity-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-activity-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-activity-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-activity-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-activity-24dcb14g.js → persistent-pty-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-activity-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-activity-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-activity-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-activity-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-activity-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-activity-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-activity-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-activity-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-activity-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-activity-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-activity-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-activity-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-activity-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-activity-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-activity-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-activity-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-activity-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-activity-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-activity-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-activity-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-activity-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-activity-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-activity-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-activity-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-activity-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-activity-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-activity-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-activity-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-activity-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-activity-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-activity-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-activity-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-activity-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-activity-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-activity-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-activity-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-activity-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-activity-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-activity-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-activity-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-activity-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-activity-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-activity-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-activity-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-activity-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-activity-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-activity-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-activity-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-activity-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-activity-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-activity-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-activity-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-activity-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-activity-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-activity-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-activity-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-activity-jjkms2e6.js → persistent-pty-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-activity-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-activity-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-activity-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-activity-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-activity-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-activity-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-activity-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-activity-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-activity-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-activity-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-activity-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-activity-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-activity-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-activity-qg3g05ea.js → persistent-pty-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-activity-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-activity-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-activity-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-activity-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-activity-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-activity-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-activity-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-activity-wc3fc9cn.js → persistent-pty-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-activity-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-activity-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-activity-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-activity-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-activity-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-activity-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-activity-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-activity-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-activity-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-activity-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node63
|
|
5
|
+
} from "./persistent-pty-ed86yh56.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-dg2cj1yd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service69,
|
|
12
12
|
node73
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-0xezjjjn.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-wqgbc62j.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./persistent-pty-sjj5q5p7.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error4
|
|
22
|
+
} from "./persistent-pty-7dvgeykw.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service37,
|
|
25
|
+
node41
|
|
26
|
+
} from "./persistent-pty-m688y65p.js";
|
|
27
27
|
import {
|
|
28
28
|
make14
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./persistent-pty-57b9ws8p.js";
|
|
30
30
|
import {
|
|
31
31
|
toLLMMessages2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./persistent-pty-k53npxr2.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/session/model-request.ts
|
|
38
38
|
var exports_model_request = {};
|
|
39
39
|
__export(exports_model_request, {
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service36,
|
|
41
41
|
SessionModelRequest: () => exports_model_request,
|
|
42
42
|
baseTranscript: () => baseTranscript2,
|
|
43
43
|
boundImages: () => boundImages2,
|
|
44
|
-
layer: () =>
|
|
45
|
-
node: () =>
|
|
44
|
+
layer: () => layer13,
|
|
45
|
+
node: () => node40,
|
|
46
46
|
unsupportedParts: () => unsupportedParts2
|
|
47
47
|
});
|
|
48
48
|
import {
|
|
@@ -156,11 +156,11 @@ var boundImages2 = (messages) => {
|
|
|
156
156
|
}));
|
|
157
157
|
};
|
|
158
158
|
|
|
159
|
-
class
|
|
159
|
+
class Service36 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
160
160
|
}
|
|
161
|
-
var
|
|
162
|
-
const hooks = yield*
|
|
163
|
-
const transport = yield*
|
|
161
|
+
var layer13 = Layer.effect(Service36, Effect.gen(function* () {
|
|
162
|
+
const hooks = yield* Service69;
|
|
163
|
+
const transport = yield* Service37;
|
|
164
164
|
const app = yield* Metadata2;
|
|
165
165
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
166
166
|
const session = input.session;
|
|
@@ -168,7 +168,7 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
168
168
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
169
169
|
const tools = input.tools ?? {
|
|
170
170
|
definitions: [],
|
|
171
|
-
execute: () => new
|
|
171
|
+
execute: () => new Error4({ message: "Tools are not available for this request" })
|
|
172
172
|
};
|
|
173
173
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
174
174
|
const shaped = yield* shape({ sessionID: session.id, model: model.ref, system: input.system, messages: input.messages, options: {} }, Object.fromEntries(Array.from(given, ([d, t]) => [t.name, d])));
|
|
@@ -258,17 +258,17 @@ var layer9 = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
258
258
|
};
|
|
259
259
|
});
|
|
260
260
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
261
|
-
return
|
|
261
|
+
return Service36.of({
|
|
262
262
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
263
263
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
264
264
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
265
265
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
266
266
|
});
|
|
267
267
|
}));
|
|
268
|
-
var
|
|
269
|
-
service:
|
|
270
|
-
layer:
|
|
271
|
-
deps: [node73,
|
|
268
|
+
var node40 = makeLocationNode({
|
|
269
|
+
service: Service36,
|
|
270
|
+
layer: layer13,
|
|
271
|
+
deps: [node73, node41, node63]
|
|
272
272
|
});
|
|
273
273
|
|
|
274
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
274
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service36, layer13, node40, exports_model_request };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service37,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node41
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service37 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service37, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service24, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service37.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node41 = makeGlobalNode({ service: Service37, layer: layer14, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service37, makeLayer2, layer14, node41, exports_model_transport };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service56
|
|
3
|
+
} from "./persistent-pty-nax8v91w.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service56;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
collectBoundedResponseBody2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-3v8g72cx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/mcp.ts
|
|
9
|
-
var
|
|
10
|
-
__export(
|
|
11
|
-
MAX_RESPONSE_BYTES: () =>
|
|
12
|
-
WebSearchMcp: () =>
|
|
9
|
+
var exports_mcp2 = {};
|
|
10
|
+
__export(exports_mcp2, {
|
|
11
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
12
|
+
WebSearchMcp: () => exports_mcp2,
|
|
13
13
|
call: () => call2,
|
|
14
14
|
parseResponse: () => parseResponse2
|
|
15
15
|
});
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var MAX_RESPONSE_BYTES2 = 256 * 1024;
|
|
19
19
|
var parseResponse2 = (body, result) => {
|
|
20
20
|
const decode = Schema.decodeUnknownEffect(Schema.fromJsonString(Schema.Struct({ result })));
|
|
21
21
|
const parse = (payload) => {
|
|
@@ -53,7 +53,7 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
53
53
|
}));
|
|
54
54
|
return yield* Effect.gen(function* () {
|
|
55
55
|
const response = yield* HttpClient.withScope(HttpClient.filterStatusOk(http)).execute(request);
|
|
56
|
-
const body = yield* collectBoundedResponseBody2(response,
|
|
56
|
+
const body = yield* collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`${tool} response exceeded ${MAX_RESPONSE_BYTES2} bytes`));
|
|
57
57
|
return yield* parseResponse2(body.toString("utf8"), schema.output);
|
|
58
58
|
}).pipe(Effect.scoped, Effect.timeoutOrElse({
|
|
59
59
|
duration: Duration.seconds(25),
|
|
@@ -61,4 +61,4 @@ var call2 = (http, url, tool, schema, value, headers = {}) => Effect.gen(functio
|
|
|
61
61
|
}));
|
|
62
62
|
});
|
|
63
63
|
|
|
64
|
-
export {
|
|
64
|
+
export { MAX_RESPONSE_BYTES2, parseResponse2, call2, exports_mcp2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
ascending2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-tvtrv512.js";
|
|
7
7
|
import {
|
|
8
8
|
create3
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool-output.ts
|
|
15
15
|
var exports_tool_output2 = {};
|
|
@@ -18,9 +18,9 @@ __export(exports_tool_output2, {
|
|
|
18
18
|
MAX_BYTES: () => MAX_BYTES2,
|
|
19
19
|
MAX_LINES: () => MAX_LINES2,
|
|
20
20
|
RETENTION: () => RETENTION3,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service50,
|
|
22
22
|
ToolOutput: () => exports_tool_output2,
|
|
23
|
-
node: () =>
|
|
23
|
+
node: () => node53
|
|
24
24
|
});
|
|
25
25
|
import path from "path";
|
|
26
26
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var MAX_BYTES2 = 50 * 1024;
|
|
|
32
32
|
var RETENTION3 = Duration.days(7);
|
|
33
33
|
var DIRECTORY3 = "tool-output";
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service50 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service50, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
122
122
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
123
123
|
};
|
|
124
124
|
});
|
|
125
|
-
return
|
|
125
|
+
return Service50.of({
|
|
126
126
|
transform: state.transform,
|
|
127
127
|
reload: state.reload,
|
|
128
128
|
truncate,
|
|
@@ -139,10 +139,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
139
139
|
layer: cleanupLayer,
|
|
140
140
|
deps: [FSUtil.node, Global.node]
|
|
141
141
|
});
|
|
142
|
-
var
|
|
143
|
-
service:
|
|
142
|
+
var node53 = makeLocationNode({
|
|
143
|
+
service: Service50,
|
|
144
144
|
layer,
|
|
145
145
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
146
146
|
});
|
|
147
147
|
|
|
148
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3,
|
|
148
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, Service50, node53, exports_tool_output2 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-vpshg2tm.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-rdw6cm16.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event8,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
|
+
NotFoundError: () => NotFoundError6,
|
|
20
|
+
Service: () => Service43,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node46
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event8 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
|
-
class
|
|
30
|
+
class NotFoundError6 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
32
32
|
message: Schema.String
|
|
33
33
|
}) {
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service43 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer17 = Layer.effect(Service43, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service83;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service43.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,14 +66,14 @@ var layer14 = Layer.effect(Service31, Effect.gen(function* () {
|
|
|
66
66
|
execute: Effect.fn("Command.execute")(function* (input) {
|
|
67
67
|
const definition = state.get().get(input.name);
|
|
68
68
|
if (!definition)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ command: input.name, message: `Command not found: ${input.name}` });
|
|
70
70
|
return yield* definition.execute(input.invocation).pipe(Effect.tapError((error) => Effect.logError("command execution failed", { command: input.name, error })), Effect.mapError((error) => new ExecutionError2({ command: input.name, message: errorMessage(error) })));
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node46 = makeLocationNode({
|
|
75
|
+
service: Service43,
|
|
76
|
+
layer: layer17,
|
|
77
77
|
deps: [node87]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError6, ExecutionError2, Service43, layer17, node46, exports_command4, Event8 };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-cr5b1n6y.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service70,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node74,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service70 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service70, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node74 = LayerNode.unbound(Service70, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service70;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service70, node74, reload2, canonical3, exports_location_service_map };
|
|
@@ -3,34 +3,34 @@ import {
|
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2,
|
|
5
5
|
typeFollowing2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-2a5m3afh.js";
|
|
7
7
|
import {
|
|
8
8
|
execDefaults2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-1dazxqgg.js";
|
|
10
10
|
import {
|
|
11
11
|
makeLocalDriver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-b6gygkdw.js";
|
|
13
13
|
import {
|
|
14
14
|
makeMemoryDriver2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-aaet6srn.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./
|
|
17
|
+
Service79,
|
|
18
|
+
node83
|
|
19
|
+
} from "./persistent-pty-cr5b1n6y.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
21
|
+
Service57,
|
|
22
|
+
node60
|
|
23
|
+
} from "./persistent-pty-qc5ntz1d.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./persistent-pty-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: () => Service56,
|
|
33
|
+
node: () => node59
|
|
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: () => Service56,
|
|
47
47
|
WrongKind: () => WrongKind2,
|
|
48
48
|
execDefaults: () => execDefaults2,
|
|
49
49
|
makeFiles: () => makeFiles2,
|
|
50
50
|
makeLocalDriver: () => makeLocalDriver2,
|
|
51
51
|
makeMemoryDriver: () => makeMemoryDriver2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node59,
|
|
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 Service56 extends Context.Service()("@opencode/Environment") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
63
|
+
var layer = Layer.effect(Service56, Effect.gen(function* () {
|
|
64
64
|
const spawner = yield* ChildProcessSpawner;
|
|
65
|
-
const location = yield*
|
|
66
|
-
const workspace = yield*
|
|
65
|
+
const location = yield* Service79;
|
|
66
|
+
const workspace = yield* Service57;
|
|
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 Service56.of({ files: makeFiles2(driver), spawner: driver.spawner });
|
|
69
69
|
}));
|
|
70
|
-
var
|
|
71
|
-
service:
|
|
70
|
+
var node59 = makeLocationNode({
|
|
71
|
+
service: Service56,
|
|
72
72
|
layer,
|
|
73
|
-
deps: [CrossSpawnSpawner.node,
|
|
73
|
+
deps: [CrossSpawnSpawner.node, node83, node60]
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { Service56, node59, exports_environment2, makeFiles2, exports_environment3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-vpshg2tm.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service29,
|
|
6
|
+
Event7
|
|
7
|
+
} from "./persistent-pty-c3ewdk9q.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/models-dev.ts
|
|
10
10
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
29
29
|
var ModelsDevPlugin2 = define({
|
|
30
30
|
id: "opencode.models.dev",
|
|
31
31
|
effect: Effect.fn(function* (ctx) {
|
|
32
|
-
const modelsDev = yield*
|
|
32
|
+
const modelsDev = yield* Service29;
|
|
33
33
|
const bus = yield* Service83;
|
|
34
34
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
35
35
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ var ModelsDevPlugin2 = define({
|
|
|
63
63
|
loaded.data = snapshots(data);
|
|
64
64
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
65
65
|
};
|
|
66
|
-
yield* bus.subscribe(
|
|
66
|
+
yield* bus.subscribe(Event7.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
67
67
|
const latest = yield* modelsDev.get();
|
|
68
68
|
if (snapshots(latest) !== loaded.data)
|
|
69
69
|
yield* apply(latest);
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Info8,
|
|
6
6
|
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-c5drhkvr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service51
|
|
11
|
+
} from "./persistent-pty-bzw5p0v3.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
17
|
var exports_skill2 = {};
|
|
18
18
|
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin22,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
23
|
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
@@ -425,7 +425,7 @@ var OpencodeContent2 = opencode_default;
|
|
|
425
425
|
var ReportContent2 = report_default;
|
|
426
426
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
427
427
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
428
|
-
var
|
|
428
|
+
var Plugin22 = define({
|
|
429
429
|
id: "opencode.skill",
|
|
430
430
|
effect: Effect.fn(function* (ctx) {
|
|
431
431
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
@@ -466,7 +466,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
466
466
|
`);
|
|
467
467
|
});
|
|
468
468
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
469
|
-
const config = yield*
|
|
469
|
+
const config = yield* Service51;
|
|
470
470
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
471
471
|
});
|
|
472
472
|
function terminal() {
|
|
@@ -480,4 +480,4 @@ function shell() {
|
|
|
480
480
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
481
481
|
}
|
|
482
482
|
|
|
483
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
483
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin22, exports_skill2 };
|