@opencode/core 0.0.0-dev-19613 → 0.0.0-dev-19615
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +93 -93
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{location-service-map-7cdr5gb1.js → persistent-pty-00ddz8r8.js} +3 -3
- package/dist/chunks/{location-service-map-jxgp7g53.js → persistent-pty-0416qr2w.js} +1 -1
- package/dist/chunks/{location-service-map-1hc11dc4.js → persistent-pty-06dxphr1.js} +4 -4
- package/dist/chunks/{location-service-map-xpzqjy6f.js → persistent-pty-0ewnzcv7.js} +35 -35
- package/dist/chunks/{location-service-map-2fgn2we9.js → persistent-pty-0ke265bw.js} +7 -7
- package/dist/chunks/{location-service-map-bxcs3vgc.js → persistent-pty-0n0nsrah.js} +22 -22
- package/dist/chunks/{location-service-map-9xc6rpr7.js → persistent-pty-0nnbvqte.js} +23 -23
- package/dist/chunks/{location-service-map-fqmd4s1j.js → persistent-pty-0p9gaksb.js} +30 -30
- package/dist/chunks/{location-service-map-0paq2nw3.js → persistent-pty-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-service-map-0q0f95c6.js → persistent-pty-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-service-map-px76j0pk.js → persistent-pty-0tmgye68.js} +9 -9
- package/dist/chunks/{location-service-map-44kr7xc2.js → persistent-pty-0w7p6pc4.js} +10 -10
- package/dist/chunks/{location-service-map-jva4mgym.js → persistent-pty-1080qp6z.js} +4 -4
- package/dist/chunks/{location-service-map-6nxsvtkx.js → persistent-pty-128k6fv0.js} +27 -27
- package/dist/chunks/{location-service-map-kmzmb758.js → persistent-pty-159vhs70.js} +6 -6
- package/dist/chunks/{location-service-map-8vph1emt.js → persistent-pty-15njw289.js} +13 -13
- package/dist/chunks/{location-service-map-n16mkrvf.js → persistent-pty-1665kmjf.js} +8 -8
- package/dist/chunks/{location-service-map-xap1vr3y.js → persistent-pty-168cxzkt.js} +10 -10
- package/dist/chunks/persistent-pty-16c3xx7h.js +472 -0
- package/dist/chunks/{location-service-map-zqyzccv6.js → persistent-pty-17yz0dpg.js} +11 -11
- package/dist/chunks/{location-service-map-1dazxqgg.js → persistent-pty-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-service-map-t7183y40.js → persistent-pty-1jg83eh2.js} +26 -26
- package/dist/chunks/{location-service-map-dsbehk3j.js → persistent-pty-1rcrwsx6.js} +45 -45
- package/dist/chunks/{location-service-map-4gbrk6eh.js → persistent-pty-1v3qmhpx.js} +9 -9
- package/dist/chunks/{location-service-map-bx4ntnz9.js → persistent-pty-1xmfxxn8.js} +11 -11
- package/dist/chunks/{location-service-map-75fve0te.js → persistent-pty-1z4441q1.js} +26 -26
- package/dist/chunks/{location-service-map-21r38tys.js → persistent-pty-21r38tys.js} +1 -1
- package/dist/chunks/{location-service-map-6h73sxmp.js → persistent-pty-2402vzrj.js} +5 -5
- package/dist/chunks/{location-service-map-46kds8gk.js → persistent-pty-29eh7px0.js} +8 -8
- package/dist/chunks/{location-service-map-dx23rp9b.js → persistent-pty-2a2cqssq.js} +23 -23
- package/dist/chunks/{location-service-map-2a5m3afh.js → persistent-pty-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-service-map-wr994sqv.js → persistent-pty-2ewtncz9.js} +8 -8
- package/dist/chunks/{location-service-map-qeqdnheg.js → persistent-pty-2gs48sxz.js} +18 -18
- package/dist/chunks/{location-service-map-phew4xhx.js → persistent-pty-2h9bx89r.js} +1 -1
- package/dist/chunks/{location-service-map-t67987gv.js → persistent-pty-2n22gnr4.js} +25 -25
- package/dist/chunks/{location-service-map-yv948d01.js → persistent-pty-2npcnmz2.js} +15 -15
- package/dist/chunks/{location-service-map-ae83exes.js → persistent-pty-2nqnw7p6.js} +3 -3
- package/dist/chunks/{location-service-map-hzmtefn0.js → persistent-pty-2xm786hw.js} +11 -11
- package/dist/chunks/{location-service-map-c464yk7e.js → persistent-pty-3945624f.js} +41 -41
- package/dist/chunks/{location-service-map-3fc6dm20.js → persistent-pty-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-service-map-pw9ddc5h.js → persistent-pty-3g8pxf29.js} +24 -24
- package/dist/chunks/{location-service-map-3hepkmqq.js → persistent-pty-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-service-map-3smtnn6g.js → persistent-pty-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-service-map-d1r5081s.js → persistent-pty-3tt1qkhr.js} +5 -5
- package/dist/chunks/{location-service-map-3tvqynh2.js → persistent-pty-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-service-map-h6nte9nw.js → persistent-pty-3ybepafv.js} +35 -35
- package/dist/chunks/{location-service-map-e82z9tr0.js → persistent-pty-47gsdddb.js} +4 -4
- package/dist/chunks/{location-service-map-481njsdn.js → persistent-pty-4c8bw516.js} +8 -8
- package/dist/chunks/{location-service-map-kd9s22ns.js → persistent-pty-4kynjgmh.js} +6 -6
- package/dist/chunks/{location-service-map-qfzde7bh.js → persistent-pty-4m2pmvxz.js} +6 -6
- package/dist/chunks/{location-service-map-h6pyjjh7.js → persistent-pty-58qggt1v.js} +6 -6
- package/dist/chunks/{location-service-map-a1bz86dw.js → persistent-pty-5c4hm403.js} +3 -3
- package/dist/chunks/{location-service-map-5daktx2q.js → persistent-pty-5daktx2q.js} +1 -1
- package/dist/chunks/{location-service-map-93dbjmah.js → persistent-pty-5t1r04e6.js} +20 -20
- package/dist/chunks/{location-service-map-5t3nmthw.js → persistent-pty-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-service-map-87n3nhds.js → persistent-pty-606maf0m.js} +12 -12
- package/dist/chunks/persistent-pty-619r8v3y.js +18 -0
- package/dist/chunks/{location-service-map-czrth2gj.js → persistent-pty-63trw53e.js} +30 -30
- package/dist/chunks/{location-service-map-669tq793.js → persistent-pty-669tq793.js} +1 -1
- package/dist/chunks/{location-service-map-cn96cn60.js → persistent-pty-676hzarg.js} +4 -4
- package/dist/chunks/{location-service-map-k6y8t4k1.js → persistent-pty-6bnhsggd.js} +56 -56
- package/dist/chunks/{location-service-map-dz573yjp.js → persistent-pty-6c4ajerj.js} +25 -25
- package/dist/chunks/{location-service-map-9hnn71yg.js → persistent-pty-6g5dp8bv.js} +23 -23
- package/dist/chunks/{location-service-map-6msgmcgs.js → persistent-pty-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-service-map-h7jb3q20.js → persistent-pty-6psyn72r.js} +4 -4
- package/dist/chunks/{location-service-map-ds2mmwsg.js → persistent-pty-6qr3rp4k.js} +6 -6
- package/dist/chunks/{location-service-map-3g1feh6n.js → persistent-pty-6scr59yh.js} +7 -7
- package/dist/chunks/{location-service-map-71q4at8m.js → persistent-pty-71q4at8m.js} +1 -1
- package/dist/chunks/{location-service-map-2kmeykc3.js → persistent-pty-78k4hpgd.js} +10 -10
- package/dist/chunks/{location-service-map-cxcx5ffv.js → persistent-pty-793b0gca.js} +29 -29
- package/dist/chunks/{location-service-map-xp03h3xb.js → persistent-pty-7a3bvnr0.js} +15 -15
- package/dist/chunks/{location-service-map-7bmhse3q.js → persistent-pty-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-service-map-efhqt4af.js → persistent-pty-7cghnzfc.js} +20 -20
- package/dist/chunks/{location-service-map-fxmgaxj3.js → persistent-pty-7m2tq7cp.js} +12 -12
- package/dist/chunks/{location-service-map-henk663z.js → persistent-pty-7t7cf13d.js} +8 -8
- package/dist/chunks/{location-service-map-14ca214m.js → persistent-pty-7wp0300p.js} +17 -17
- package/dist/chunks/{location-service-map-gqqd7yp5.js → persistent-pty-7zqgez5c.js} +60 -60
- package/dist/chunks/{location-service-map-wzgf8172.js → persistent-pty-82yprfhz.js} +20 -20
- package/dist/chunks/{location-service-map-ykf3ptpw.js → persistent-pty-836tdgwv.js} +33 -33
- package/dist/chunks/{location-service-map-8d7r5vzw.js → persistent-pty-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-service-map-e5vq6wef.js → persistent-pty-8tpwn33w.js} +4 -4
- package/dist/chunks/{location-service-map-jgnxw11k.js → persistent-pty-8vvpb9k6.js} +10 -10
- package/dist/chunks/{location-service-map-hsj2h3cb.js → persistent-pty-93354nf3.js} +16 -16
- package/dist/chunks/{location-service-map-cxbs0x8p.js → persistent-pty-9avjsh34.js} +20 -20
- package/dist/chunks/{location-service-map-n77bm98b.js → persistent-pty-9ccb5f3v.js} +43 -43
- package/dist/chunks/{location-service-map-4xk2t4nb.js → persistent-pty-9h7ckpab.js} +23 -23
- package/dist/chunks/{location-service-map-7j0w7kx5.js → persistent-pty-9hdj3naw.js} +41 -41
- package/dist/chunks/{location-service-map-5mvsn0n4.js → persistent-pty-9pfgr6qx.js} +28 -28
- package/dist/chunks/{location-service-map-e09qeq0x.js → persistent-pty-9ttc7nk4.js} +6 -6
- package/dist/chunks/{location-service-map-dqc529nz.js → persistent-pty-a09p09ba.js} +19 -19
- package/dist/chunks/{location-service-map-z2mtc428.js → persistent-pty-a3r4dcrj.js} +2 -2
- package/dist/chunks/{location-service-map-nxmk8ws5.js → persistent-pty-a7gjz33w.js} +38 -38
- package/dist/chunks/{location-service-map-md8mx0w8.js → persistent-pty-a7s8hxm1.js} +23 -23
- package/dist/chunks/{location-service-map-aaet6srn.js → persistent-pty-aaet6srn.js} +2 -2
- package/dist/chunks/{location-service-map-mr09x0kn.js → persistent-pty-akxe4e1m.js} +34 -34
- package/dist/chunks/{location-service-map-zr7h07xm.js → persistent-pty-am406eak.js} +23 -23
- package/dist/chunks/{location-service-map-ec3p188n.js → persistent-pty-amtcdxb0.js} +6 -6
- package/dist/chunks/{location-service-map-9cwb0bqx.js → persistent-pty-aqnkc8vq.js} +28 -28
- package/dist/chunks/{location-service-map-cxv3b682.js → persistent-pty-asmz7wyz.js} +8 -8
- package/dist/chunks/{location-service-map-xgn7tabx.js → persistent-pty-awwjsxkk.js} +26 -26
- package/dist/chunks/{location-service-map-7qqnjw5d.js → persistent-pty-b5xe1e3z.js} +8 -8
- package/dist/chunks/{location-service-map-b6gygkdw.js → persistent-pty-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-service-map-nf9hvehr.js → persistent-pty-b7wd86f2.js} +5 -5
- package/dist/chunks/{location-service-map-hbtnxrex.js → persistent-pty-b8hbvna6.js} +4 -4
- package/dist/chunks/{location-service-map-0g02wqjc.js → persistent-pty-bmdpbe9w.js} +15 -15
- package/dist/chunks/{location-service-map-z0a4xc00.js → persistent-pty-bnn7b9a6.js} +6 -6
- package/dist/chunks/{location-service-map-2jz473v5.js → persistent-pty-bz85s9hh.js} +1 -1
- package/dist/chunks/{location-service-map-3qdx31v0.js → persistent-pty-ccwg80eh.js} +35 -35
- package/dist/chunks/{location-service-map-ws4etjf1.js → persistent-pty-cftjh0pp.js} +12 -12
- package/dist/chunks/{location-service-map-q32k0fs9.js → persistent-pty-cj23dd3r.js} +1 -1
- package/dist/chunks/{location-service-map-22pe83z9.js → persistent-pty-cng9f4dx.js} +19 -19
- package/dist/chunks/{location-service-map-1mkrhngc.js → persistent-pty-cqf2xh9s.js} +8 -8
- package/dist/chunks/{location-service-map-dmg9z6p5.js → persistent-pty-cqvrk7k3.js} +6 -6
- package/dist/chunks/{location-service-map-h7ygw6q4.js → persistent-pty-crptryd9.js} +9 -9
- package/dist/chunks/{location-service-map-s8zy8myc.js → persistent-pty-d2aac7k2.js} +5 -5
- package/dist/chunks/{location-service-map-9ff31bqh.js → persistent-pty-d3tz2ej1.js} +9 -9
- package/dist/chunks/{location-service-map-fgbd9a1c.js → persistent-pty-d9gs8gt2.js} +9 -9
- package/dist/chunks/{location-service-map-kaq1kxkp.js → persistent-pty-da8nh50n.js} +1 -1
- package/dist/chunks/{location-service-map-4r0h6etc.js → persistent-pty-dc3gn177.js} +25 -25
- package/dist/chunks/{location-service-map-8p4f9s12.js → persistent-pty-dj2t23y0.js} +2 -2
- package/dist/chunks/{location-service-map-3zrb79sp.js → persistent-pty-dmyqzcf7.js} +22 -22
- package/dist/chunks/{location-service-map-y71avatq.js → persistent-pty-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-service-map-ebj3yfyc.js → persistent-pty-e058e3s9.js} +11 -11
- package/dist/chunks/{location-service-map-c4rw650c.js → persistent-pty-e2516hzg.js} +19 -19
- package/dist/chunks/{location-service-map-v7hep15h.js → persistent-pty-e30th1gq.js} +20 -20
- package/dist/chunks/{location-service-map-e5nv3ght.js → persistent-pty-e5nv3ght.js} +2 -2
- package/dist/chunks/{location-service-map-dyfjpvav.js → persistent-pty-ea0wf7ef.js} +38 -38
- package/dist/chunks/{location-service-map-02nrjc1r.js → persistent-pty-eaj1djv9.js} +4 -4
- package/dist/chunks/{location-service-map-wj2f1e6q.js → persistent-pty-ecvt32vq.js} +46 -46
- package/dist/chunks/{location-service-map-ef5x83kb.js → persistent-pty-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-service-map-vav2c2cr.js → persistent-pty-ems0kgp9.js} +32 -32
- package/dist/chunks/{location-service-map-hz4565jb.js → persistent-pty-emwdkzex.js} +2 -2
- package/dist/chunks/{location-service-map-eet9vec2.js → persistent-pty-etagmg0f.js} +3 -3
- package/dist/chunks/{location-service-map-etq0c3wd.js → persistent-pty-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-service-map-rcax84ya.js → persistent-pty-eyx2h93p.js} +4 -4
- package/dist/chunks/{location-service-map-n4geea0h.js → persistent-pty-f729kafc.js} +10 -10
- package/dist/chunks/{location-service-map-gst7axd9.js → persistent-pty-f73rjn58.js} +4 -4
- package/dist/chunks/{location-service-map-xhmq8qgk.js → persistent-pty-f7ehr2sm.js} +9 -9
- package/dist/chunks/{location-service-map-8drea2pm.js → persistent-pty-f8x48a86.js} +50 -50
- package/dist/chunks/{location-service-map-f389d7gj.js → persistent-pty-fjr2n3hs.js} +28 -28
- package/dist/chunks/{location-service-map-yx2y7hvv.js → persistent-pty-fp01c4dv.js} +9 -9
- package/dist/chunks/{location-service-map-1vbvjjmc.js → persistent-pty-fq80gekt.js} +8 -8
- package/dist/chunks/{location-service-map-z0064rbb.js → persistent-pty-fv78erfy.js} +16 -16
- package/dist/chunks/{location-service-map-fxbjtjnd.js → persistent-pty-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-service-map-c7437d7y.js → persistent-pty-g14qqa5m.js} +18 -18
- package/dist/chunks/{location-service-map-d81aexdy.js → persistent-pty-g6vw9x20.js} +2 -2
- package/dist/chunks/{location-service-map-p0a47g0h.js → persistent-pty-gcsw9js5.js} +4 -4
- package/dist/chunks/{location-service-map-gd4qta3r.js → persistent-pty-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-service-map-296t09yc.js → persistent-pty-gf6drbgy.js} +15 -15
- package/dist/chunks/{location-service-map-qbgx7nv3.js → persistent-pty-gg33va22.js} +26 -26
- package/dist/chunks/{location-service-map-fxqygnfa.js → persistent-pty-gnx4ytbv.js} +4 -4
- package/dist/chunks/{location-service-map-gv6a8nnw.js → persistent-pty-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-service-map-vb997v53.js → persistent-pty-gzyg5frm.js} +28 -28
- package/dist/chunks/{location-service-map-h03wrkyp.js → persistent-pty-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-service-map-r55vasa2.js → persistent-pty-h6r3nrb9.js} +4 -4
- package/dist/chunks/{location-service-map-h6vf3j39.js → persistent-pty-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-service-map-5nkww2gb.js → persistent-pty-h7jbsx2h.js} +15 -15
- package/dist/chunks/{location-service-map-f828m53h.js → persistent-pty-hdnk95c8.js} +2 -2
- package/dist/chunks/{location-service-map-xt3w6yk5.js → persistent-pty-hdw8tt72.js} +20 -20
- package/dist/chunks/{location-service-map-9n3wxq1j.js → persistent-pty-he5sq67e.js} +28 -28
- package/dist/chunks/{location-service-map-73rz0h41.js → persistent-pty-hsvhxp1c.js} +9 -9
- package/dist/chunks/{location-service-map-j56e64zr.js → persistent-pty-j56e64zr.js} +1 -1
- package/dist/chunks/{location-service-map-xehevt9d.js → persistent-pty-j5sy72my.js} +12 -12
- package/dist/chunks/{location-service-map-ve4pfa0n.js → persistent-pty-j83byb14.js} +4 -4
- package/dist/chunks/{location-service-map-f0k0k52x.js → persistent-pty-j956qkgw.js} +38 -38
- package/dist/chunks/{location-service-map-256nx13v.js → persistent-pty-jexxy024.js} +3 -3
- package/dist/chunks/persistent-pty-jh3x0mgs.js +251 -0
- package/dist/chunks/{location-service-map-scjvjzrv.js → persistent-pty-jqw55cbk.js} +36 -36
- package/dist/chunks/{location-service-map-vwc7evev.js → persistent-pty-jz7vjy1b.js} +17 -17
- package/dist/chunks/{location-service-map-nhf4zmre.js → persistent-pty-k7nyhs2p.js} +10 -10
- package/dist/chunks/{location-service-map-fnq3w2rd.js → persistent-pty-kayctt86.js} +8 -8
- package/dist/chunks/{location-service-map-fhg6wqx7.js → persistent-pty-kgv25dq2.js} +15 -15
- package/dist/chunks/{location-service-map-bwytfvjm.js → persistent-pty-kr15r9j0.js} +6 -6
- package/dist/chunks/{location-service-map-hhn9sqhg.js → persistent-pty-ks9mcypz.js} +7 -7
- package/dist/chunks/{location-service-map-r33ff4dw.js → persistent-pty-kxpygcw9.js} +6 -6
- package/dist/chunks/{location-service-map-7y6s2xgk.js → persistent-pty-m01mrk84.js} +11 -11
- package/dist/chunks/{location-service-map-cfpkc3c9.js → persistent-pty-m0jqrx5p.js} +2 -2
- package/dist/chunks/{location-service-map-9vq0hs4s.js → persistent-pty-m7n2arr4.js} +22 -22
- package/dist/chunks/{location-service-map-m9w0rfyh.js → persistent-pty-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-service-map-cavr175a.js → persistent-pty-magykp64.js} +4 -4
- package/dist/chunks/{location-service-map-06f8gtew.js → persistent-pty-mawyg7zm.js} +11 -11
- package/dist/chunks/{location-service-map-56gdpj1q.js → persistent-pty-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-service-map-ce6s4nt1.js → persistent-pty-mk55h7rv.js} +18 -18
- package/dist/chunks/{location-service-map-r5x6zcsm.js → persistent-pty-mvfsc1pv.js} +3 -3
- package/dist/chunks/{location-service-map-6cr3es9y.js → persistent-pty-mzm91676.js} +28 -28
- package/dist/chunks/{location-service-map-gya96k67.js → persistent-pty-n6j2na38.js} +22 -22
- package/dist/chunks/{location-service-map-xafs9hxs.js → persistent-pty-n9vsahr8.js} +6 -6
- package/dist/chunks/{location-service-map-5mjvfe5y.js → persistent-pty-napk2q6z.js} +6 -6
- package/dist/chunks/{location-service-map-j5208yae.js → persistent-pty-ndqtf2h8.js} +5 -5
- package/dist/chunks/{location-service-map-5nd6hqg1.js → persistent-pty-ngtvz82x.js} +8 -8
- package/dist/chunks/{location-service-map-bgp3z89z.js → persistent-pty-nnxcy4dv.js} +31 -31
- package/dist/chunks/{location-service-map-0v3mhfgm.js → persistent-pty-nwkxvrjh.js} +16 -16
- package/dist/chunks/{location-service-map-g8jasmdt.js → persistent-pty-pb1eahw5.js} +8 -8
- package/dist/chunks/{location-service-map-pjvnvgmy.js → persistent-pty-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-service-map-3vw407vt.js → persistent-pty-pk7e3h3q.js} +36 -36
- package/dist/chunks/{location-service-map-pknna89w.js → persistent-pty-pknna89w.js} +1 -1
- package/dist/chunks/{location-service-map-6p10pdhr.js → persistent-pty-pnb9ns89.js} +86 -86
- package/dist/chunks/{location-service-map-zfnp7b6b.js → persistent-pty-py1dnmkf.js} +19 -19
- package/dist/chunks/{location-service-map-b56xca68.js → persistent-pty-q0w303rt.js} +35 -35
- package/dist/chunks/{location-service-map-5y4txvzj.js → persistent-pty-q163eq15.js} +32 -32
- package/dist/chunks/{location-service-map-8prvq2df.js → persistent-pty-q4mq6gzb.js} +5 -5
- package/dist/chunks/{location-service-map-ht6c2863.js → persistent-pty-qcvkt5ys.js} +12 -12
- package/dist/chunks/{location-service-map-ypg67s3v.js → persistent-pty-qd7g4580.js} +17 -17
- package/dist/chunks/{location-service-map-7dqw4kz8.js → persistent-pty-qgn6gcr1.js} +5 -5
- package/dist/chunks/{location-service-map-8dh90zjj.js → persistent-pty-qqkyq49c.js} +26 -26
- package/dist/chunks/{location-service-map-eb0bx2e4.js → persistent-pty-qqr71d1k.js} +4 -4
- package/dist/chunks/{location-service-map-qsdy395h.js → persistent-pty-qsdy395h.js} +1 -1
- package/dist/chunks/{location-service-map-2m5fqp7n.js → persistent-pty-qsnd21jp.js} +1 -1
- package/dist/chunks/{location-service-map-r0t15azg.js → persistent-pty-qyaww9ez.js} +8 -8
- package/dist/chunks/{location-service-map-sp86gy6a.js → persistent-pty-r37qap0f.js} +19 -19
- package/dist/chunks/{location-service-map-bsa98fqx.js → persistent-pty-r3hedab7.js} +12 -12
- package/dist/chunks/{location-service-map-7wrt80ma.js → persistent-pty-r5fm14bv.js} +5 -5
- package/dist/chunks/{location-service-map-x62a4d48.js → persistent-pty-r8jacvma.js} +11 -11
- package/dist/chunks/{location-service-map-r9mregkx.js → persistent-pty-r9mregkx.js} +2 -2
- package/dist/chunks/{location-service-map-6zqpf67v.js → persistent-pty-rb223waz.js} +11 -11
- package/dist/chunks/{location-service-map-rdw6cm16.js → persistent-pty-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-service-map-yfxwqvqs.js → persistent-pty-rgpm5swf.js} +25 -25
- package/dist/chunks/{location-service-map-f2n192rq.js → persistent-pty-rhraev7y.js} +4 -4
- package/dist/chunks/persistent-pty-rjc8hf95.js +26 -0
- package/dist/chunks/{location-service-map-drdg73e4.js → persistent-pty-rweh3sg7.js} +41 -41
- package/dist/chunks/{location-service-map-2n8zc6am.js → persistent-pty-rwyftrqw.js} +17 -17
- package/dist/chunks/{location-service-map-pqsm2j1s.js → persistent-pty-ryphtns4.js} +48 -48
- package/dist/chunks/{location-service-map-vyz1nvqm.js → persistent-pty-s4xyb5fw.js} +11 -11
- package/dist/chunks/{location-service-map-hmjjxanq.js → persistent-pty-s9gf5sr7.js} +13 -13
- package/dist/chunks/{location-service-map-qm7jrdpz.js → persistent-pty-sgwh5nyn.js} +8 -8
- package/dist/chunks/{location-service-map-29074q1n.js → persistent-pty-shcrswgg.js} +9 -9
- package/dist/chunks/{location-service-map-x9m2j9ps.js → persistent-pty-skmkmxp0.js} +5 -5
- package/dist/chunks/{location-service-map-375f5jdk.js → persistent-pty-smhn81zh.js} +14 -14
- package/dist/chunks/{location-service-map-5pjjts7m.js → persistent-pty-sv9chvdr.js} +21 -21
- package/dist/chunks/{location-service-map-fdv30zvt.js → persistent-pty-t2fc4mz5.js} +7 -7
- package/dist/chunks/{location-service-map-cvh2qfn1.js → persistent-pty-t2pnbfzy.js} +13 -13
- package/dist/chunks/{location-service-map-2n5p0fxg.js → persistent-pty-t3sbk6vh.js} +5 -5
- package/dist/chunks/{location-service-map-xhh1n5fz.js → persistent-pty-t6sne0kb.js} +8 -8
- package/dist/chunks/{location-service-map-tazgh4e4.js → persistent-pty-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-service-map-tcezcvh9.js → persistent-pty-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-service-map-4pmy1264.js → persistent-pty-tdgh5t2p.js} +16 -16
- package/dist/chunks/{location-service-map-tdstcens.js → persistent-pty-tdstcens.js} +1 -1
- package/dist/chunks/{location-service-map-cpevarj8.js → persistent-pty-tejhb5zm.js} +17 -17
- package/dist/chunks/{location-service-map-37s12vcn.js → persistent-pty-tn0aqsam.js} +5 -5
- package/dist/chunks/{location-service-map-jst8vt3d.js → persistent-pty-tvq811ks.js} +5 -5
- package/dist/chunks/{location-service-map-tvtrv512.js → persistent-pty-tvtrv512.js} +1 -1
- package/dist/chunks/{location-service-map-wjhm61d9.js → persistent-pty-v623y87q.js} +14 -14
- package/dist/chunks/{location-service-map-vx3t9wvk.js → persistent-pty-v6jj17d0.js} +14 -14
- package/dist/chunks/{location-service-map-veqvce7d.js → persistent-pty-veqvce7d.js} +1 -1
- package/dist/chunks/{location-service-map-41camxag.js → persistent-pty-vewj4445.js} +8 -8
- package/dist/chunks/{location-service-map-zf7grqb8.js → persistent-pty-vj9rsbtx.js} +174 -174
- package/dist/chunks/{location-service-map-3h3e4z98.js → persistent-pty-vrgp73wa.js} +28 -28
- package/dist/chunks/{location-service-map-nqqf9675.js → persistent-pty-vsw1grft.js} +12 -12
- package/dist/chunks/{location-service-map-z27700qy.js → persistent-pty-vsx7z4qv.js} +18 -18
- package/dist/chunks/{location-service-map-vzcthcp8.js → persistent-pty-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-service-map-62va5rb3.js → persistent-pty-w38nqpbs.js} +24 -24
- package/dist/chunks/{location-service-map-w3wsvvr9.js → persistent-pty-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-service-map-0exk3n2e.js → persistent-pty-wbfsxz0q.js} +19 -19
- package/dist/chunks/{location-service-map-wd87259q.js → persistent-pty-wd87259q.js} +1 -1
- package/dist/chunks/{location-service-map-fr4993az.js → persistent-pty-wjh3v1jb.js} +47 -47
- package/dist/chunks/{location-service-map-dmmbqwqg.js → persistent-pty-wpfxdaf4.js} +1 -1
- package/dist/chunks/{location-service-map-x1ezjp6w.js → persistent-pty-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-service-map-aez1es5f.js → persistent-pty-x45er773.js} +28 -28
- package/dist/chunks/{location-service-map-6ejkwac2.js → persistent-pty-x5w67hdr.js} +5 -5
- package/dist/chunks/{location-service-map-fgz39w39.js → persistent-pty-xcj7mwvd.js} +90 -90
- package/dist/chunks/{location-service-map-sktczvrt.js → persistent-pty-xk66p9py.js} +8 -8
- package/dist/chunks/{location-service-map-drbtznh8.js → persistent-pty-xvk71cdz.js} +4 -4
- package/dist/chunks/{location-service-map-qhxjjwxg.js → persistent-pty-xxwh85ck.js} +22 -22
- package/dist/chunks/{location-service-map-09dv4b35.js → persistent-pty-xznwr7ns.js} +11 -11
- package/dist/chunks/{location-service-map-y1fvbwt7.js → persistent-pty-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-service-map-bktmsznq.js → persistent-pty-ya92ykk0.js} +24 -24
- package/dist/chunks/{location-service-map-f35htakt.js → persistent-pty-ybhbtxjg.js} +3 -3
- package/dist/chunks/{location-service-map-mbnh2t2h.js → persistent-pty-yhj4pxny.js} +6 -6
- package/dist/chunks/{location-service-map-wbkyxrgf.js → persistent-pty-yjptyezs.js} +5 -5
- package/dist/chunks/{location-service-map-ybxvfqcx.js → persistent-pty-yk4whm8q.js} +7 -7
- package/dist/chunks/{location-service-map-yrhqyw5v.js → persistent-pty-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-service-map-yrznvahk.js → persistent-pty-yrznvahk.js} +2 -2
- package/dist/chunks/{location-service-map-vywfytpn.js → persistent-pty-yxfwmy22.js} +19 -19
- package/dist/chunks/{location-service-map-r7mtf7va.js → persistent-pty-yyw42t83.js} +13 -13
- package/dist/chunks/{location-service-map-z0bkrqjs.js → persistent-pty-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-service-map-z63w68vq.js → persistent-pty-z63w68vq.js} +2 -2
- package/dist/chunks/{location-service-map-zeh9ct20.js → persistent-pty-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-service-map-2y91kqbg.js → persistent-pty-zngsg18x.js} +54 -54
- package/dist/chunks/{location-service-map-zr2ceqn5.js → persistent-pty-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-service-map-w2kh4c12.js → persistent-pty-zs6fhvxe.js} +15 -15
- package/dist/chunks/{location-service-map-zxq2ej10.js → persistent-pty-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-service-map-sfmx7ja1.js → persistent-pty-zyz1zm3y.js} +9 -9
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +122 -122
- package/dist/config/plugin/command.js +211 -211
- package/dist/config/plugin/compaction.js +159 -159
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +120 -120
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +129 -129
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +121 -121
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +141 -141
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +123 -123
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +121 -121
- package/dist/config/plugin/worktree.js +125 -125
- 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 +365 -365
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +89 -89
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +101 -101
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +98 -98
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +356 -356
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +135 -135
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +353 -353
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +124 -124
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +98 -98
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +101 -101
- package/dist/models-dev.js +105 -105
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +79 -79
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +110 -110
- 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 +101 -101
- package/dist/plugin/command.js +98 -98
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +216 -216
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +327 -327
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +94 -94
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +89 -89
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- 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 +89 -89
- package/dist/plugin/provider/llmgateway.js +89 -89
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +89 -89
- package/dist/plugin/provider/ollama.js +121 -121
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/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 +89 -89
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +140 -140
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +91 -91
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- 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 +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +117 -117
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- 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 +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +114 -114
- package/dist/session/runner/step.js +123 -123
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +84 -84
- 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 +149 -149
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +219 -219
- 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 +104 -104
- package/dist/skill.js +109 -109
- 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 +125 -125
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +214 -214
- package/dist/tool/plugin/skill.js +112 -112
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +111 -111
- package/dist/tool/plugin/write.js +115 -115
- 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 +11 -11
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +79 -79
- 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 +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/refresh.js +345 -345
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +93 -93
- package/package.json +8 -8
- package/dist/chunks/location-service-map-9sh4wc5j.js +0 -18
- package/dist/chunks/location-service-map-jgy3c5f9.js +0 -472
- package/dist/chunks/location-service-map-v76s5b0s.js +0 -251
- package/dist/chunks/location-service-map-x7bazcqt.js +0 -26
- /package/dist/chunks/{location-service-map-0mesazry.js → persistent-pty-0mesazry.js} +0 -0
- /package/dist/chunks/{location-service-map-0qkdqm5v.js → persistent-pty-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-service-map-0zkw76rk.js → persistent-pty-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-service-map-17cy0kzp.js → persistent-pty-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-service-map-1cnp2v09.js → persistent-pty-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-service-map-1kg9ymc8.js → persistent-pty-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-service-map-2710q6r3.js → persistent-pty-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-service-map-2axfhc9x.js → persistent-pty-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-service-map-2c3vjs8z.js → persistent-pty-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-service-map-359p4xyc.js → persistent-pty-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-service-map-3asan66x.js → persistent-pty-3asan66x.js} +0 -0
- /package/dist/chunks/{location-service-map-3v8g72cx.js → persistent-pty-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-service-map-3w5fmr99.js → persistent-pty-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-service-map-3wcehsnq.js → persistent-pty-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-service-map-43n2bw4t.js → persistent-pty-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-service-map-4knz6hnm.js → persistent-pty-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-service-map-4vcrnpx2.js → persistent-pty-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-service-map-4y7fprxs.js → persistent-pty-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-service-map-53557ph1.js → persistent-pty-53557ph1.js} +0 -0
- /package/dist/chunks/{location-service-map-550bvhaj.js → persistent-pty-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-service-map-5qd3pb7m.js → persistent-pty-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-service-map-6prwharc.js → persistent-pty-6prwharc.js} +0 -0
- /package/dist/chunks/{location-service-map-7akdwqpd.js → persistent-pty-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-service-map-7m9af43g.js → persistent-pty-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-service-map-822emrt2.js → persistent-pty-822emrt2.js} +0 -0
- /package/dist/chunks/{location-service-map-88xbtdfr.js → persistent-pty-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-service-map-8n3pysct.js → persistent-pty-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-service-map-922hggd3.js → persistent-pty-922hggd3.js} +0 -0
- /package/dist/chunks/{location-service-map-9a4afbnw.js → persistent-pty-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-service-map-9rqn6x4v.js → persistent-pty-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-service-map-a6k6eb26.js → persistent-pty-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-service-map-af5trqkr.js → persistent-pty-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-service-map-afrmfg78.js → persistent-pty-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-service-map-aqzs7mqg.js → persistent-pty-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-service-map-atq7p7m5.js → persistent-pty-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-service-map-bkyjaxrp.js → persistent-pty-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-service-map-bmr6ed5q.js → persistent-pty-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-service-map-cf4snx6d.js → persistent-pty-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-service-map-cvy3z8tj.js → persistent-pty-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-service-map-d9fn303g.js → persistent-pty-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-service-map-d9jj8t3e.js → persistent-pty-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-service-map-dajrwvna.js → persistent-pty-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-service-map-dap0rakb.js → persistent-pty-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-service-map-df08tz66.js → persistent-pty-df08tz66.js} +0 -0
- /package/dist/chunks/{location-service-map-dy18nga0.js → persistent-pty-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-service-map-e5kj55wp.js → persistent-pty-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-service-map-e73j6tqm.js → persistent-pty-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-service-map-ec1grn59.js → persistent-pty-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-service-map-eh3zwz77.js → persistent-pty-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-service-map-emrn6kk6.js → persistent-pty-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-service-map-f0mxakyp.js → persistent-pty-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-service-map-f6n9ztr4.js → persistent-pty-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-service-map-faypxj3z.js → persistent-pty-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-service-map-fd410y7t.js → persistent-pty-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-service-map-fxgpk5d8.js → persistent-pty-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-service-map-g4wezp1m.js → persistent-pty-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-service-map-g86h250q.js → persistent-pty-g86h250q.js} +0 -0
- /package/dist/chunks/{location-service-map-gebd4c9n.js → persistent-pty-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-service-map-gftt206x.js → persistent-pty-gftt206x.js} +0 -0
- /package/dist/chunks/{location-service-map-hjbc5kem.js → persistent-pty-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-service-map-hk9envan.js → persistent-pty-hk9envan.js} +0 -0
- /package/dist/chunks/{location-service-map-hrnqkpcd.js → persistent-pty-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-service-map-j2ntwpah.js → persistent-pty-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-service-map-j5zkgpj8.js → persistent-pty-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-service-map-jr7sbwjy.js → persistent-pty-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-service-map-jwfs4k6c.js → persistent-pty-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-service-map-jzg6c2d5.js → persistent-pty-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-service-map-mp448xyj.js → persistent-pty-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-service-map-msx8hqn2.js → persistent-pty-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-service-map-n05xt0ee.js → persistent-pty-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-service-map-n3j8tn72.js → persistent-pty-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-service-map-njntx4h6.js → persistent-pty-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-service-map-q3sfg36h.js → persistent-pty-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-service-map-q74kybfr.js → persistent-pty-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-service-map-qaymkmh1.js → persistent-pty-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-service-map-qb87gjwd.js → persistent-pty-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-service-map-qfa1cgps.js → persistent-pty-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-service-map-qrg20bc0.js → persistent-pty-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-service-map-rcb2kzg1.js → persistent-pty-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-service-map-sdp7kfr6.js → persistent-pty-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-service-map-sk3qaz4a.js → persistent-pty-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-service-map-ssg3fenm.js → persistent-pty-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-service-map-twg0f83k.js → persistent-pty-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-service-map-w803qqfp.js → persistent-pty-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-service-map-wer8tq1h.js → persistent-pty-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-service-map-wtztk69x.js → persistent-pty-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-service-map-x0ckcb58.js → persistent-pty-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-service-map-x61499pn.js → persistent-pty-x61499pn.js} +0 -0
- /package/dist/chunks/{location-service-map-y44na4kk.js → persistent-pty-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-service-map-y8cydn3q.js → persistent-pty-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-service-map-y8f7s663.js → persistent-pty-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-service-map-ygaqb7jw.js → persistent-pty-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-service-map-ym463w8f.js → persistent-pty-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-service-map-z9919s4g.js → persistent-pty-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service62
|
|
3
|
+
} from "./persistent-pty-f8x48a86.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID5,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service41
|
|
10
|
+
} from "./persistent-pty-gg33va22.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill3 = {};
|
|
17
|
+
__export(exports_skill3, {
|
|
18
|
+
Input: () => Input5,
|
|
19
|
+
Output: () => Output4,
|
|
20
|
+
Plugin: () => Plugin39,
|
|
21
|
+
SkillTool: () => exports_skill3,
|
|
22
|
+
description: () => description2,
|
|
23
|
+
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name5 = "skill";
|
|
30
|
+
var Input5 = Schema.Struct({
|
|
31
|
+
id: ID5.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output4 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description2 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin39 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service41;
|
|
51
|
+
const permission = yield* Service62;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description2,
|
|
56
|
+
input: Input5,
|
|
57
|
+
output: Output4,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin30 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output4, description2, toModelOutput2, Plugin39, exports_skill3 };
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-wpfxdaf4.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make22,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-159vhs70.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make22,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID11,
|
|
3
|
+
Info25,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-jexxy024.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node86
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-00ddz8r8.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
15
|
+
Service80,
|
|
16
|
+
node85
|
|
17
|
+
} from "./persistent-pty-606maf0m.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service77,
|
|
20
|
+
node82
|
|
21
|
+
} from "./persistent-pty-j956qkgw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service60,
|
|
24
|
+
node65
|
|
25
|
+
} from "./persistent-pty-4m2pmvxz.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./persistent-pty-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./persistent-pty-5c4hm403.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node63
|
|
34
|
+
} from "./persistent-pty-128k6fv0.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./persistent-pty-gnx4ytbv.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./persistent-pty-bmdpbe9w.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./persistent-pty-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node34
|
|
47
|
+
} from "./persistent-pty-py1dnmkf.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node61
|
|
51
|
+
} from "./persistent-pty-2ewtncz9.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError9,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -61,58 +61,58 @@ import {
|
|
|
61
61
|
BusyError2,
|
|
62
62
|
InboxConflictError2,
|
|
63
63
|
SkillNotFoundError2
|
|
64
|
-
} from "./
|
|
64
|
+
} from "./persistent-pty-ybhbtxjg.js";
|
|
65
65
|
import {
|
|
66
66
|
ListInput4,
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
} from "./
|
|
67
|
+
Service63,
|
|
68
|
+
node68
|
|
69
|
+
} from "./persistent-pty-j5sy72my.js";
|
|
70
70
|
import {
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
} from "./
|
|
71
|
+
Service61,
|
|
72
|
+
node66
|
|
73
|
+
} from "./persistent-pty-rwyftrqw.js";
|
|
74
74
|
import {
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
} from "./
|
|
75
|
+
Service56,
|
|
76
|
+
node62
|
|
77
|
+
} from "./persistent-pty-9hdj3naw.js";
|
|
78
78
|
import {
|
|
79
79
|
llmClient2
|
|
80
|
-
} from "./
|
|
80
|
+
} from "./persistent-pty-5t3nmthw.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
} from "./
|
|
82
|
+
Service33,
|
|
83
|
+
node38
|
|
84
|
+
} from "./persistent-pty-xznwr7ns.js";
|
|
85
85
|
import {
|
|
86
86
|
generate3
|
|
87
|
-
} from "./
|
|
87
|
+
} from "./persistent-pty-nwkxvrjh.js";
|
|
88
88
|
import {
|
|
89
89
|
execute2
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./persistent-pty-qyaww9ez.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
} from "./
|
|
92
|
+
Service67,
|
|
93
|
+
node72
|
|
94
|
+
} from "./persistent-pty-t6sne0kb.js";
|
|
95
95
|
import {
|
|
96
96
|
DestinationNotFoundError2,
|
|
97
97
|
DestinationNotDirectoryError2,
|
|
98
98
|
DestinationUnavailableError2,
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
} from "./
|
|
99
|
+
Service29,
|
|
100
|
+
node33
|
|
101
|
+
} from "./persistent-pty-6bnhsggd.js";
|
|
102
102
|
import {
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
} from "./
|
|
103
|
+
Service43,
|
|
104
|
+
node47
|
|
105
|
+
} from "./persistent-pty-4c8bw516.js";
|
|
106
106
|
import {
|
|
107
|
-
|
|
108
|
-
} from "./
|
|
107
|
+
make13
|
|
108
|
+
} from "./persistent-pty-836tdgwv.js";
|
|
109
109
|
import {
|
|
110
110
|
TurnRangeError2,
|
|
111
111
|
turn2
|
|
112
|
-
} from "./
|
|
112
|
+
} from "./persistent-pty-17yz0dpg.js";
|
|
113
113
|
import {
|
|
114
114
|
__export
|
|
115
|
-
} from "./
|
|
115
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
116
116
|
|
|
117
117
|
// src/session.ts
|
|
118
118
|
var exports_session = {};
|
|
@@ -123,22 +123,22 @@ __export(exports_session, {
|
|
|
123
123
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
124
124
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
125
125
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
126
|
-
ID: () =>
|
|
126
|
+
ID: () => ID11,
|
|
127
127
|
InboxConflictError: () => InboxConflictError2,
|
|
128
|
-
Info: () =>
|
|
128
|
+
Info: () => Info25,
|
|
129
129
|
ListAnchor: () => ListAnchor2,
|
|
130
130
|
ListInput: () => ListInput3,
|
|
131
131
|
MessageDecodeError: () => MessageDecodeError2,
|
|
132
132
|
MessageNotFoundError: () => MessageNotFoundError2,
|
|
133
133
|
NotFoundError: () => NotFoundError9,
|
|
134
134
|
PromptConflictError: () => PromptConflictError2,
|
|
135
|
-
Service: () =>
|
|
135
|
+
Service: () => Service27,
|
|
136
136
|
Session: () => exports_session,
|
|
137
137
|
SessionSchema: () => SessionSchema2,
|
|
138
138
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
139
139
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
140
140
|
TurnRangeError: () => TurnRangeError2,
|
|
141
|
-
node: () =>
|
|
141
|
+
node: () => node31
|
|
142
142
|
});
|
|
143
143
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
144
144
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -149,26 +149,26 @@ import path from "path";
|
|
|
149
149
|
import { Node } from "@opencode/util/effect/app-node";
|
|
150
150
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
151
151
|
var ListInput3 = ListInput4;
|
|
152
|
-
class
|
|
152
|
+
class Service27 extends Context.Service()("@opencode/Session") {
|
|
153
153
|
}
|
|
154
|
-
var layer = Layer.effect(
|
|
154
|
+
var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
155
155
|
const app = yield* Metadata2;
|
|
156
156
|
const database = yield* Service81;
|
|
157
157
|
const db = database.db;
|
|
158
|
-
const bus = yield*
|
|
159
|
-
const projects = yield*
|
|
160
|
-
const execution = yield*
|
|
158
|
+
const bus = yield* Service80;
|
|
159
|
+
const projects = yield* Service77;
|
|
160
|
+
const execution = yield* Service56;
|
|
161
161
|
const llm = yield* LLMClient.Service;
|
|
162
|
-
const transport = yield*
|
|
163
|
-
const store = yield*
|
|
164
|
-
const instances = yield*
|
|
165
|
-
const moves = yield*
|
|
166
|
-
const jobs = yield*
|
|
167
|
-
const environments = yield*
|
|
168
|
-
const locations = yield*
|
|
169
|
-
const sessions = yield*
|
|
162
|
+
const transport = yield* Service33;
|
|
163
|
+
const store = yield* Service63;
|
|
164
|
+
const instances = yield* Service60;
|
|
165
|
+
const moves = yield* Service29;
|
|
166
|
+
const jobs = yield* Service61;
|
|
167
|
+
const environments = yield* Service43;
|
|
168
|
+
const locations = yield* Service67;
|
|
169
|
+
const sessions = yield* make13();
|
|
170
170
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
171
|
-
const result =
|
|
171
|
+
const result = Service27.of({
|
|
172
172
|
create: Effect.fn("Session.create")(function* (input) {
|
|
173
173
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
174
174
|
const recorded = yield* store.get(sessionID);
|
|
@@ -281,11 +281,11 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
281
281
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
282
282
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
283
283
|
const session = yield* result.get(input.sessionID);
|
|
284
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
284
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service60, instances), Effect.provideService(Service81, database), Effect.provideService(LLMClient.Service, llm));
|
|
285
285
|
}),
|
|
286
286
|
command: Effect.fn("Session.command")(function* (input) {
|
|
287
287
|
const session = yield* result.get(input.sessionID);
|
|
288
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
288
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service60, instances));
|
|
289
289
|
}),
|
|
290
290
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
291
291
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -326,27 +326,27 @@ var layer = Layer.effect(Service23, Effect.gen(function* () {
|
|
|
326
326
|
});
|
|
327
327
|
return result;
|
|
328
328
|
}));
|
|
329
|
-
var
|
|
330
|
-
service:
|
|
329
|
+
var node31 = Node.makeGlobalNode({
|
|
330
|
+
service: Service27,
|
|
331
331
|
layer,
|
|
332
332
|
deps: [
|
|
333
|
-
|
|
334
|
-
|
|
333
|
+
node66,
|
|
334
|
+
node47,
|
|
335
335
|
node86,
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
336
|
+
node85,
|
|
337
|
+
node82,
|
|
338
|
+
node62,
|
|
339
|
+
node38,
|
|
340
340
|
llmClient2,
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
341
|
+
node68,
|
|
342
|
+
node65,
|
|
343
|
+
node63,
|
|
344
|
+
node33,
|
|
345
|
+
node34,
|
|
346
|
+
node72,
|
|
347
347
|
FSUtil.node,
|
|
348
|
-
|
|
348
|
+
node61
|
|
349
349
|
]
|
|
350
350
|
});
|
|
351
351
|
|
|
352
|
-
export { ListAnchor2, ListInput3,
|
|
352
|
+
export { ListAnchor2, ListInput3, Service27, node31, exports_session };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service48
|
|
4
|
+
} from "./persistent-pty-ecvt32vq.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service55
|
|
7
|
+
} from "./persistent-pty-dmyqzcf7.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-qsdy395h.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
16
|
var exports_shell = {};
|
|
@@ -23,8 +23,8 @@ import { Effect } from "effect";
|
|
|
23
23
|
var Plugin15 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service48;
|
|
27
|
+
const shell = yield* Service55;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2ewtncz9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
ID13
|
|
6
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/provider/gitlab.ts
|
|
9
9
|
import os from "os";
|
|
@@ -33,7 +33,7 @@ var GitLabPlugin2 = define({
|
|
|
33
33
|
});
|
|
34
34
|
}));
|
|
35
35
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
36
|
-
if (evt.model.providerID !==
|
|
36
|
+
if (evt.model.providerID !== ID13.gitlab)
|
|
37
37
|
return;
|
|
38
38
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
39
39
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Action2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-magykp64.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info14
|
|
9
|
+
} from "./persistent-pty-pb1eahw5.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Info17
|
|
12
|
+
} from "./persistent-pty-tn0aqsam.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Info10
|
|
15
|
+
} from "./persistent-pty-t2fc4mz5.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Info18
|
|
18
|
+
} from "./persistent-pty-d2aac7k2.js";
|
|
19
19
|
import {
|
|
20
20
|
Spec2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./persistent-pty-qgn6gcr1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info11
|
|
24
|
+
} from "./persistent-pty-yjptyezs.js";
|
|
25
25
|
import {
|
|
26
26
|
Info9
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./persistent-pty-a7gjz33w.js";
|
|
28
28
|
import {
|
|
29
29
|
migrate2,
|
|
30
30
|
normalizeAction2,
|
|
@@ -33,10 +33,10 @@ import {
|
|
|
33
33
|
migrateMcp2,
|
|
34
34
|
migrateProvider2,
|
|
35
35
|
providerID2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./persistent-pty-b8hbvna6.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/config/normalize.ts
|
|
42
42
|
var exports_normalize = {};
|
|
@@ -87,7 +87,7 @@ function normalize2(input) {
|
|
|
87
87
|
const legacyUpdate = own(input, "autoupdate") ? decodeValue(Info9.fields.autoupdate, input.autoupdate, ["autoupdate"], diagnostics) : undefined;
|
|
88
88
|
const nativeUpdate = own(input, "update") ? decodeEncoded(Info.fields.update, input.update, ["update"], diagnostics) : undefined;
|
|
89
89
|
const legacyShare = own(input, "autoshare") ? decodeValue(Schema.Boolean, input.autoshare, ["autoshare"], diagnostics) === true ? "auto" : undefined : undefined;
|
|
90
|
-
const legacyMedia = own(input, "attachment") ? decodeValue(
|
|
90
|
+
const legacyMedia = own(input, "attachment") ? decodeValue(Info17, input.attachment, ["attachment"], diagnostics) : undefined;
|
|
91
91
|
if (legacyMedia !== undefined) {
|
|
92
92
|
const migrated = migrate2({ attachment: legacyMedia }).media;
|
|
93
93
|
if (migrated !== undefined)
|
|
@@ -104,7 +104,7 @@ function normalize2(input) {
|
|
|
104
104
|
const legacyReferences = decodeMap(input.reference, ConfigReference.Entry, ["reference"], diagnostics, decodeEncoded);
|
|
105
105
|
const nativeReferences = decodeMap(input.references, ConfigReference.Entry, ["references"], diagnostics, decodeEncoded);
|
|
106
106
|
mergeMap(encoded, "references", legacyReferences, nativeReferences, isRecord(input.reference) || isRecord(input.references), diagnostics);
|
|
107
|
-
const legacyCommands = decodeMap(input.command,
|
|
107
|
+
const legacyCommands = decodeMap(input.command, Info10, ["command"], diagnostics, decodeValue);
|
|
108
108
|
diagnoseSelectionMap(input.command, ["command"], diagnostics);
|
|
109
109
|
const migratedCommands = mapValues(legacyCommands, (value) => {
|
|
110
110
|
const migrated = commands2({ value })?.value;
|
|
@@ -112,7 +112,7 @@ function normalize2(input) {
|
|
|
112
112
|
});
|
|
113
113
|
const nativeCommands = decodeMap(input.commands, ConfigCommand.Info, ["commands"], diagnostics, decodeEncoded);
|
|
114
114
|
mergeMap(encoded, "commands", migratedCommands, nativeCommands, isRecord(input.command) || isRecord(input.commands), diagnostics);
|
|
115
|
-
const legacyAgents = mapValues(decodeMap(input.agent,
|
|
115
|
+
const legacyAgents = mapValues(decodeMap(input.agent, Info14, ["agent"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2(value)));
|
|
116
116
|
const legacySmallModel = own(input, "small_model") ? decodeValue(Schema.String, input.small_model, ["small_model"], diagnostics) : undefined;
|
|
117
117
|
const migratedSmallModel = legacySmallModel ? migrate2({ small_model: legacySmallModel }).agents?.title?.model : undefined;
|
|
118
118
|
if (legacySmallModel && !migratedSmallModel)
|
|
@@ -126,7 +126,7 @@ function normalize2(input) {
|
|
|
126
126
|
model: migratedSmallModel,
|
|
127
127
|
...legacyAgents.title
|
|
128
128
|
};
|
|
129
|
-
const modeAgents = mapValues(decodeMap(input.mode,
|
|
129
|
+
const modeAgents = mapValues(decodeMap(input.mode, Info14, ["mode"], diagnostics, decodeValue), (value) => canonical(ConfigAgent.Info, migrateAgent2({ ...value, mode: "primary" })));
|
|
130
130
|
const migratedAgents = mergeMaps(legacyAgents, modeAgents, ["agents"], diagnostics);
|
|
131
131
|
const nativeAgents = decodeMap(input.agents, ConfigAgent.Info, ["agents"], diagnostics, decodeEncoded);
|
|
132
132
|
diagnoseAgentUnsupported(input.agent, ["agent"], diagnostics);
|
|
@@ -225,7 +225,7 @@ function normalizeMcp(input, encoded, diagnostics) {
|
|
|
225
225
|
normalizeMcpTimeout(value, timeout, path, diagnostics);
|
|
226
226
|
return;
|
|
227
227
|
}
|
|
228
|
-
const server = decodeValue(
|
|
228
|
+
const server = decodeValue(Info18, value, path, diagnostics);
|
|
229
229
|
if (server !== undefined)
|
|
230
230
|
setOwn(legacyServers, name, canonical(ConfigMCP.Server, migrateMcp2(server)));
|
|
231
231
|
});
|
|
@@ -421,7 +421,7 @@ function migrateProviders(value, diagnostics) {
|
|
|
421
421
|
diagnoseProviderUnsupported(raw, path, diagnostics);
|
|
422
422
|
if (invalidProviderOverlays(raw, path, diagnostics))
|
|
423
423
|
return [];
|
|
424
|
-
const provider = decodeValue(
|
|
424
|
+
const provider = decodeValue(Info11, raw, path, diagnostics);
|
|
425
425
|
if (provider === undefined)
|
|
426
426
|
return [];
|
|
427
427
|
const destination = providerID2(name);
|
|
@@ -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: () => Service33,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer14,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node38
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -32,7 +32,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
32
32
|
});
|
|
33
33
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service33 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
36
36
|
}
|
|
37
37
|
var transportError = (message, input) => new AIError({
|
|
38
38
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -56,7 +56,7 @@ var observationFrame = (observation) => {
|
|
|
56
56
|
return Effect.fail(observation.error);
|
|
57
57
|
};
|
|
58
58
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
59
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
59
|
+
var makeLayer2 = (connector) => Layer.effect(Service33, Effect.gen(function* () {
|
|
60
60
|
const scope = yield* Scope.Scope;
|
|
61
61
|
const states = new Map;
|
|
62
62
|
const state = (sessionID) => {
|
|
@@ -356,11 +356,11 @@ var makeLayer2 = (connector) => Layer.effect(Service29, Effect.gen(function* ()
|
|
|
356
356
|
}, { discard: true });
|
|
357
357
|
});
|
|
358
358
|
yield* Effect.addFinalizer(() => closeAll);
|
|
359
|
-
return
|
|
359
|
+
return Service33.of({ bind, close, closeAll });
|
|
360
360
|
}));
|
|
361
|
-
var
|
|
361
|
+
var layer14 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
362
362
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
363
363
|
})));
|
|
364
|
-
var
|
|
364
|
+
var node38 = makeGlobalNode({ service: Service33, layer: layer14, deps: [webSocketConstructor2] });
|
|
365
365
|
|
|
366
|
-
export {
|
|
366
|
+
export { Service33, makeLayer2, layer14, node38, exports_model_transport };
|