@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,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-606maf0m.js";
|
|
5
5
|
import {
|
|
6
6
|
optional2,
|
|
7
7
|
statics2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./persistent-pty-922hggd3.js";
|
|
9
9
|
import {
|
|
10
10
|
Ref4,
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service76,
|
|
12
|
+
node81
|
|
13
|
+
} from "./persistent-pty-93354nf3.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/rpc.ts
|
|
19
19
|
var exports_rpc = {};
|
|
20
20
|
__export(exports_rpc, {
|
|
21
21
|
Rpc: () => exports_rpc,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service16,
|
|
23
23
|
define: () => define2,
|
|
24
|
-
node: () =>
|
|
24
|
+
node: () => node20
|
|
25
25
|
});
|
|
26
26
|
import { define as define2 } from "@opencode/schema/rpc";
|
|
27
27
|
import { Event } from "@opencode/schema/event";
|
|
28
28
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
29
29
|
import { Context, Deferred, Effect, JsonSchema, Layer, Schema, SchemaRepresentation, Stream } from "effect";
|
|
30
|
-
class
|
|
30
|
+
class Service16 extends Context.Service()("@opencode/Rpc") {
|
|
31
31
|
}
|
|
32
32
|
|
|
33
33
|
class DeclaredError extends Error {
|
|
@@ -39,9 +39,9 @@ class DeclaredError extends Error {
|
|
|
39
39
|
this.data = data;
|
|
40
40
|
}
|
|
41
41
|
}
|
|
42
|
-
var layer = Layer.effect(
|
|
43
|
-
const bus = yield*
|
|
44
|
-
const location = yield*
|
|
42
|
+
var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
43
|
+
const bus = yield* Service80;
|
|
44
|
+
const location = yield* Service76;
|
|
45
45
|
const ref = Ref4.make({ directory: location.directory, workspaceID: location.workspaceID });
|
|
46
46
|
const closed = yield* Deferred.make();
|
|
47
47
|
const callContext = {
|
|
@@ -118,14 +118,14 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
118
118
|
const registered = events.get(name);
|
|
119
119
|
if (!registered)
|
|
120
120
|
return Stream.fail(new Error(`Unknown RPC event: ${definition.id}.${name}`));
|
|
121
|
-
return bus.subscribe(registered.definition).pipe(Stream.provideService(
|
|
121
|
+
return bus.subscribe(registered.definition).pipe(Stream.provideService(Service76, location), Stream.mapEffect((payload) => logicalEvent(definition, name, payload, ref)));
|
|
122
122
|
}
|
|
123
123
|
}
|
|
124
124
|
};
|
|
125
125
|
};
|
|
126
|
-
return
|
|
126
|
+
return Service16.of({ register, call, client, close: Deferred.succeed(closed, undefined).pipe(Effect.asVoid) });
|
|
127
127
|
}));
|
|
128
|
-
var
|
|
128
|
+
var node20 = makeLocationNode({ service: Service16, layer, deps: [node85, node81] });
|
|
129
129
|
var fields = {
|
|
130
130
|
id: Event.ID,
|
|
131
131
|
created: Schema.Finite,
|
|
@@ -210,4 +210,4 @@ var logicalEvent = Effect.fn("Rpc.logicalEvent")(function* (definition, name, pa
|
|
|
210
210
|
};
|
|
211
211
|
});
|
|
212
212
|
|
|
213
|
-
export {
|
|
213
|
+
export { Service16, node20, exports_rpc, define2 };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make4(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make4 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service80,
|
|
3
|
+
node85
|
|
4
|
+
} from "./persistent-pty-606maf0m.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
|
-
var
|
|
14
|
-
__export(
|
|
15
|
-
Command: () =>
|
|
16
|
-
Event: () =>
|
|
13
|
+
var exports_command4 = {};
|
|
14
|
+
__export(exports_command4, {
|
|
15
|
+
Command: () => exports_command4,
|
|
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: () => Service40,
|
|
21
|
+
layer: () => layer17,
|
|
22
|
+
node: () => node44
|
|
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,10 +39,10 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service40 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
45
|
-
const bus = yield*
|
|
44
|
+
var layer17 = Layer.effect(Service40, Effect.gen(function* () {
|
|
45
|
+
const bus = yield* Service80;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
48
48
|
initial: () => new Map,
|
|
@@ -51,11 +51,11 @@ var layer25 = Layer.effect(Service71, 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 Service40.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -66,15 +66,15 @@ var layer25 = Layer.effect(Service71, 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:
|
|
77
|
-
deps: [
|
|
74
|
+
var node44 = makeLocationNode({
|
|
75
|
+
service: Service40,
|
|
76
|
+
layer: layer17,
|
|
77
|
+
deps: [node85]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
80
80
|
if (error instanceof 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, Service40, layer17, node44, exports_command4, Event8 };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID13,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID12,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info26
|
|
11
|
+
} from "./persistent-pty-3ybepafv.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models2 = {};
|
|
18
|
+
__export(exports_models2, {
|
|
19
|
+
CopilotModels: () => exports_models2,
|
|
20
|
+
derive: () => derive3,
|
|
21
|
+
get: () => get3,
|
|
22
|
+
load: () => load3
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get3(baseURL, headers, existing) {
|
|
72
|
+
return derive3(baseURL, await load3(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load3(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load2(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive3(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive2(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID12.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info26.make({
|
|
122
|
+
...Info26.default(ID13.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID12.make(remote.id),
|
|
125
|
+
providerID: ID13.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: aisdk2(messages ? "@ai-sdk/anthropic" : "@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get3, load3, derive3, exports_models2 };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2ewtncz9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID13,
|
|
6
6
|
isAISDK2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./persistent-pty-0ewnzcv7.js";
|
|
8
8
|
import {
|
|
9
9
|
iife2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./persistent-pty-1kg9ymc8.js";
|
|
11
11
|
import {
|
|
12
12
|
configuredSettings2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./persistent-pty-4kynjgmh.js";
|
|
14
14
|
|
|
15
15
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
16
16
|
import os from "os";
|
|
17
17
|
import { Effect } from "effect";
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Form } from "@opencode/schema/form";
|
|
20
|
-
var providerID =
|
|
20
|
+
var providerID = ID13.make("cloudflare-workers-ai");
|
|
21
21
|
var CloudflareWorkersAIPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.cloudflare.workers.ai",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,22 +1,22 @@
|
|
|
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
|
import {
|
|
8
8
|
iife2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-1kg9ymc8.js";
|
|
10
10
|
import {
|
|
11
11
|
configuredSettings2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-4kynjgmh.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/cloudflare-ai-gateway.ts
|
|
15
15
|
import os from "os";
|
|
16
16
|
import { Effect, Option, Schema } from "effect";
|
|
17
17
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
18
18
|
import { Form } from "@opencode/schema/form";
|
|
19
|
-
var providerID =
|
|
19
|
+
var providerID = ID13.make("cloudflare-ai-gateway");
|
|
20
20
|
var CloudflareAIGatewayPlugin2 = define({
|
|
21
21
|
id: "opencode.provider.cloudflare.ai.gateway",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/formatter.ts
|
|
6
6
|
var exports_formatter3 = {};
|
|
7
7
|
__export(exports_formatter3, {
|
|
8
8
|
ConfigFormatterV1: () => exports_formatter3,
|
|
9
|
-
Entry: () =>
|
|
9
|
+
Entry: () => Entry4,
|
|
10
10
|
Info: () => Info16
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
13
|
+
var Entry4 = Schema.Struct({
|
|
14
14
|
disabled: Schema.optional(Schema.Boolean),
|
|
15
15
|
command: Schema.optional(Schema.mutable(Schema.Array(Schema.String))),
|
|
16
16
|
environment: Schema.optional(Schema.Record(Schema.String, Schema.String)),
|
|
17
17
|
extensions: Schema.optional(Schema.mutable(Schema.Array(Schema.String)))
|
|
18
18
|
});
|
|
19
|
-
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String,
|
|
19
|
+
var Info16 = Schema.Union([Schema.Boolean, Schema.Record(Schema.String, Entry4)]);
|
|
20
20
|
|
|
21
|
-
export {
|
|
21
|
+
export { Entry4, Info16, exports_formatter3 };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-2ewtncz9.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin22,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint3
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint3 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin22 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin38 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint3).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin38 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint3, Plugin22, exports_tavily };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81,
|
|
3
3
|
node86
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./persistent-pty-00ddz8r8.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service80,
|
|
7
|
+
node85
|
|
8
|
+
} from "./persistent-pty-606maf0m.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./persistent-pty-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./persistent-pty-0q0f95c6.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
23
|
+
Event: () => Event19,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
26
|
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service75,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node80
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
39
|
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event19 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service75 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
53
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
54
54
|
const db = (yield* Service81).db;
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service80;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service75.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event19.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event19.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event19.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event19.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node80 = makeGlobalNode({ service: Service75, layer, deps: [node86, node85] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key3, Value2, Event19, Info31, Service75, node80, exports_credential };
|
|
@@ -1,43 +1,43 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./persistent-pty-00ddz8r8.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service60
|
|
6
|
+
} from "./persistent-pty-4m2pmvxz.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./persistent-pty-619r8v3y.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./persistent-pty-06dxphr1.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./persistent-pty-1665kmjf.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./persistent-pty-0p9gaksb.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./persistent-pty-pnb9ns89.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./persistent-pty-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
|
-
var
|
|
28
|
-
__export(
|
|
29
|
-
SessionGenerate: () =>
|
|
27
|
+
var exports_generate2 = {};
|
|
28
|
+
__export(exports_generate2, {
|
|
29
|
+
SessionGenerate: () => exports_generate2,
|
|
30
30
|
generate: () => generate3
|
|
31
31
|
});
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service60;
|
|
36
36
|
const database = yield* Service81;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -71,4 +71,4 @@ var generate3 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
|
71
71
|
}).pipe(instances.provide(input.session));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
export { generate3,
|
|
74
|
+
export { generate3, exports_generate2 };
|