@opencode/core 0.0.0-dev-21578 → 0.0.0-dev-21581
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +97 -97
- package/dist/app.js +9 -9
- package/dist/bus.js +71 -71
- package/dist/chunks/{model-retry-vgk61ywp.js → permission-0421tmwc.js} +9 -9
- package/dist/chunks/{model-retry-wv3qawbk.js → permission-07f35y3n.js} +11 -11
- package/dist/chunks/{model-retry-zbt54ewe.js → permission-0jkw94xn.js} +15 -15
- package/dist/chunks/{model-retry-2d67wzxw.js → permission-0yd0jjng.js} +19 -19
- package/dist/chunks/{model-retry-bqkj7jx5.js → permission-12a87htm.js} +8 -8
- package/dist/chunks/{model-retry-vwkq0df4.js → permission-13xbgjmy.js} +13 -13
- package/dist/chunks/{model-retry-vgt89nsn.js → permission-144mr5sh.js} +21 -21
- package/dist/chunks/{model-retry-bez4y6k8.js → permission-14nr1we3.js} +16 -16
- package/dist/chunks/{model-retry-q9dphv85.js → permission-15fbvae3.js} +41 -41
- package/dist/chunks/{model-retry-1x2knyw4.js → permission-1x2knyw4.js} +1 -1
- package/dist/chunks/{model-retry-vwpgtjfe.js → permission-1xw4e6g2.js} +17 -17
- package/dist/chunks/{model-retry-1yq9hg58.js → permission-1yq9hg58.js} +1 -1
- package/dist/chunks/{model-retry-40m9e2d0.js → permission-1zyab2nj.js} +11 -11
- package/dist/chunks/{model-retry-1aerx206.js → permission-20nwq5j7.js} +10 -10
- package/dist/chunks/{model-retry-mm9j1s8c.js → permission-2136jsky.js} +32 -32
- package/dist/chunks/{model-retry-cx4pt2gs.js → permission-21xfcten.js} +41 -41
- package/dist/chunks/{model-retry-52zykg91.js → permission-23gxv6e2.js} +14 -14
- package/dist/chunks/{model-retry-rsbjq8mx.js → permission-25r9qvx8.js} +11 -11
- package/dist/chunks/{model-retry-t5nnby66.js → permission-27r72dsh.js} +35 -35
- package/dist/chunks/{model-retry-1ep2p91f.js → permission-27w5k9zf.js} +2 -2
- package/dist/chunks/{model-retry-y2nch1ns.js → permission-27zgj432.js} +17 -17
- package/dist/chunks/permission-2dkjcnxp.js +18 -0
- package/dist/chunks/{model-retry-knx0jzac.js → permission-2j5ravmp.js} +13 -13
- package/dist/chunks/{model-retry-2z1j29yd.js → permission-2z1j29yd.js} +1 -1
- package/dist/chunks/{model-retry-hv6nf1gc.js → permission-33dgmqaq.js} +25 -25
- package/dist/chunks/{model-retry-cae67mny.js → permission-3a259crh.js} +45 -45
- package/dist/chunks/{model-retry-ayjs7tqn.js → permission-3cbjf1nt.js} +2 -2
- package/dist/chunks/{model-retry-3hepkmqq.js → permission-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-retry-3nnrz6f6.js → permission-3nnrz6f6.js} +1 -1
- package/dist/chunks/{model-retry-5gqydat8.js → permission-3s5c481d.js} +27 -27
- package/dist/chunks/{model-retry-n74gyp3a.js → permission-3sqvdk5h.js} +18 -18
- package/dist/chunks/{model-retry-zyr4n90f.js → permission-3svhqqn3.js} +11 -11
- package/dist/chunks/{model-retry-k2e8739q.js → permission-3tfrx4d0.js} +6 -6
- package/dist/chunks/{model-retry-w2bqz3ce.js → permission-3trrtfr5.js} +16 -16
- package/dist/chunks/{model-retry-zv1vb29g.js → permission-3z6avc2r.js} +18 -18
- package/dist/chunks/{model-retry-h0ppebc3.js → permission-45t4pvv9.js} +8 -8
- package/dist/chunks/{model-retry-hqnmqx0e.js → permission-4faanzap.js} +47 -47
- package/dist/chunks/{model-retry-kg4c4gfk.js → permission-4hd9y2z5.js} +30 -30
- package/dist/chunks/{model-retry-637q83rh.js → permission-4sg2svrr.js} +15 -15
- package/dist/chunks/{model-retry-4v008n1t.js → permission-4v008n1t.js} +1 -1
- package/dist/chunks/{model-retry-4xvmh7wp.js → permission-4xvmh7wp.js} +3 -3
- package/dist/chunks/{model-retry-r4q3d25z.js → permission-50m87fqe.js} +12 -12
- package/dist/chunks/{model-retry-6ms03s6h.js → permission-53vkgfgv.js} +12 -12
- package/dist/chunks/{model-retry-j7t09cbk.js → permission-5b80fy0k.js} +26 -26
- package/dist/chunks/{model-retry-8q7mv1dj.js → permission-5frx1wsy.js} +4 -4
- package/dist/chunks/{model-retry-5m9w47nd.js → permission-5m9w47nd.js} +1 -1
- package/dist/chunks/{model-retry-e3qxr5gk.js → permission-5qd3pb7m.js} +2 -2
- package/dist/chunks/{model-retry-jezcxpfe.js → permission-5w047whv.js} +18 -18
- package/dist/chunks/{model-retry-eg39tzjz.js → permission-5ww7y468.js} +8 -8
- package/dist/chunks/{model-retry-n6v2b7cw.js → permission-626zy64k.js} +5 -5
- package/dist/chunks/{model-retry-xadckn2x.js → permission-628smf0x.js} +43 -43
- package/dist/chunks/{model-retry-mhsz3gf2.js → permission-653zj6cf.js} +10 -10
- package/dist/chunks/{model-retry-rctnnajd.js → permission-65re2tkt.js} +5 -5
- package/dist/chunks/{model-retry-pf6hjb5j.js → permission-67bm21qs.js} +21 -21
- package/dist/chunks/{model-retry-w4b3j6j4.js → permission-697qrpec.js} +28 -28
- package/dist/chunks/{model-retry-6esdw8yj.js → permission-6esdw8yj.js} +1 -1
- package/dist/chunks/{model-retry-wa1bzbm8.js → permission-6n33f6xj.js} +1 -1
- package/dist/chunks/{model-retry-6pjqjmy2.js → permission-6pjqjmy2.js} +1 -1
- package/dist/chunks/{model-retry-v46zwfxe.js → permission-6vmxzzcs.js} +4 -4
- package/dist/chunks/{model-retry-fgshpn0g.js → permission-70mwbg0d.js} +16 -16
- package/dist/chunks/{model-retry-770pw0s1.js → permission-770pw0s1.js} +1 -1
- package/dist/chunks/{model-retry-7bmhse3q.js → permission-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-retry-3wqf40ez.js → permission-7h9y8t2j.js} +7 -7
- package/dist/chunks/{model-retry-kh0bkhb3.js → permission-7phtqfsn.js} +15 -15
- package/dist/chunks/{model-retry-7w2ypzdf.js → permission-7w2ypzdf.js} +1 -1
- package/dist/chunks/{model-retry-98bxk4dy.js → permission-7x2dfwkf.js} +15 -15
- package/dist/chunks/{model-retry-z6w6mvsb.js → permission-7xa1pfa8.js} +20 -20
- package/dist/chunks/{model-retry-3jpry3mm.js → permission-81b2fawr.js} +11 -11
- package/dist/chunks/{model-retry-0mt5amvr.js → permission-849jt09p.js} +30 -30
- package/dist/chunks/{model-retry-v95bjsh5.js → permission-8heddbx0.js} +11 -11
- package/dist/chunks/{model-retry-nbne29zv.js → permission-8j3gc1sz.js} +21 -21
- package/dist/chunks/{model-retry-8wtp7s3z.js → permission-8wtp7s3z.js} +1 -1
- package/dist/chunks/{model-retry-hzpyh7h9.js → permission-8y6zr0np.js} +4 -4
- package/dist/chunks/{model-retry-k2k3qgkf.js → permission-90r332b3.js} +11 -11
- package/dist/chunks/{model-retry-91rj84md.js → permission-91rj84md.js} +1 -1
- package/dist/chunks/{model-retry-3yfh5vy1.js → permission-92yxqdmx.js} +11 -11
- package/dist/chunks/{model-retry-q0gsxww0.js → permission-963c1wye.js} +15 -15
- package/dist/chunks/{model-retry-z2wzaj4z.js → permission-9cma5nkd.js} +23 -23
- package/dist/chunks/{model-retry-yk0esd9v.js → permission-9q94f8wx.js} +4 -4
- package/dist/chunks/{model-retry-nv23re93.js → permission-9z5ep6ev.js} +25 -25
- package/dist/chunks/{model-retry-yvf9xe26.js → permission-a2yjd7st.js} +15 -15
- package/dist/chunks/{model-retry-typ2bf99.js → permission-a54f5a5a.js} +14 -14
- package/dist/chunks/{model-retry-xwjmbdzc.js → permission-a5zjyd5j.js} +11 -11
- package/dist/chunks/{model-retry-k60vgq4n.js → permission-abat3gv0.js} +1 -1
- package/dist/chunks/{model-retry-4xbwwm4q.js → permission-ae7hb8c5.js} +9 -9
- package/dist/chunks/{model-retry-zq471nd1.js → permission-ahxg8avp.js} +3 -3
- package/dist/chunks/{model-retry-034tev2y.js → permission-aj7mw0zk.js} +2 -2
- package/dist/chunks/{model-retry-4dy0rzf7.js → permission-as54z6k2.js} +15 -15
- package/dist/chunks/{model-retry-5kggx843.js → permission-avkertw7.js} +326 -326
- package/dist/chunks/{model-retry-z8ef33hm.js → permission-avq466zp.js} +9 -9
- package/dist/chunks/{model-retry-b0mv4wxm.js → permission-b0mv4wxm.js} +2 -2
- package/dist/chunks/{model-retry-cpfftq47.js → permission-b18e9sf1.js} +84 -84
- package/dist/chunks/{model-retry-q9fk87c8.js → permission-b432cxr7.js} +2 -2
- package/dist/chunks/{model-retry-b6vsg801.js → permission-b6vsg801.js} +2 -2
- package/dist/chunks/{model-retry-wpfwh9md.js → permission-bfffb4j8.js} +30 -30
- package/dist/chunks/{model-retry-1g7gxgxj.js → permission-bfjb4f0c.js} +33 -33
- package/dist/chunks/{model-retry-4naewhem.js → permission-bgjcmezg.js} +7 -7
- package/dist/chunks/{model-retry-7chdqnqr.js → permission-bjhj37k2.js} +18 -18
- package/dist/chunks/{model-retry-9m15hg5h.js → permission-bkgcdz7f.js} +81 -81
- package/dist/chunks/{model-retry-csbt6w95.js → permission-bng780ce.js} +21 -21
- package/dist/chunks/{model-retry-bstexjd6.js → permission-bstexjd6.js} +1 -1
- package/dist/chunks/{model-retry-y45pr2fb.js → permission-bx5h5atg.js} +4 -4
- package/dist/chunks/{model-retry-k3jmrcrs.js → permission-by6d5qep.js} +20 -20
- package/dist/chunks/{model-retry-156av61h.js → permission-c4s71v40.js} +47 -47
- package/dist/chunks/{model-retry-erxntyyz.js → permission-c5s13xac.js} +26 -26
- package/dist/chunks/{model-retry-9b28cy4d.js → permission-c61rvgrh.js} +5 -5
- package/dist/chunks/{model-retry-8sxdqgb0.js → permission-c8666r4c.js} +6 -6
- package/dist/chunks/{model-retry-d2887f8n.js → permission-c9t2ty9q.js} +4 -4
- package/dist/chunks/{model-retry-23g4abx1.js → permission-cgx4p3vw.js} +23 -23
- package/dist/chunks/{model-retry-s57gj4s6.js → permission-cm6s1jfq.js} +69 -69
- package/dist/chunks/{model-retry-1b4vpzzn.js → permission-cnecfwnw.js} +28 -28
- package/dist/chunks/{model-retry-sszzn3zb.js → permission-cqxf2v2j.js} +5 -5
- package/dist/chunks/{model-retry-t5swzbnr.js → permission-cv8eeb1d.js} +51 -51
- package/dist/chunks/{model-retry-ww1j827y.js → permission-dk1gke3c.js} +8 -8
- package/dist/chunks/{model-retry-61crdd5b.js → permission-dskex2pk.js} +32 -32
- package/dist/chunks/{model-retry-4dg124c5.js → permission-dtqg9ce1.js} +5 -5
- package/dist/chunks/{model-retry-998yhzzq.js → permission-dvj9ct8m.js} +3 -3
- package/dist/chunks/{model-retry-3z93btg0.js → permission-dwh5rme7.js} +28 -28
- package/dist/chunks/{model-retry-y2zwb71e.js → permission-dz9s092h.js} +20 -20
- package/dist/chunks/{model-retry-47853hma.js → permission-e03hwt6h.js} +14 -14
- package/dist/chunks/{model-retry-rnwbpqts.js → permission-e2d0fny2.js} +11 -11
- package/dist/chunks/{model-retry-masd7ga8.js → permission-e5dqjz6v.js} +4 -4
- package/dist/chunks/{model-retry-e834z07m.js → permission-e834z07m.js} +1 -1
- package/dist/chunks/{model-retry-1fg7mrfs.js → permission-e97en3k4.js} +16 -16
- package/dist/chunks/{model-retry-qr8gbtan.js → permission-ebb7q5gd.js} +15 -15
- package/dist/chunks/{model-retry-tryvgcx0.js → permission-ed7xpzhj.js} +4 -4
- package/dist/chunks/{model-retry-ef5x83kb.js → permission-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-retry-4s75dghy.js → permission-epwczgcb.js} +5 -5
- package/dist/chunks/{model-retry-vmfhgzt5.js → permission-eqmd2tfz.js} +7 -7
- package/dist/chunks/{model-retry-ph4tm34a.js → permission-et5s2pck.js} +21 -21
- package/dist/chunks/{model-retry-wzxanmw9.js → permission-ew9t1cqw.js} +22 -22
- package/dist/chunks/{model-retry-r7g76k7m.js → permission-f4pw3tp7.js} +22 -22
- package/dist/chunks/{model-retry-ecdzwr7h.js → permission-fc8p38t6.js} +20 -20
- package/dist/chunks/{model-retry-d7s86mhq.js → permission-fdb0zvwg.js} +10 -10
- package/dist/chunks/permission-fevykam8.js +257 -0
- package/dist/chunks/{model-retry-fffv3p7h.js → permission-fffv3p7h.js} +1 -1
- package/dist/chunks/{model-retry-we70t4t4.js → permission-fyzm4447.js} +24 -24
- package/dist/chunks/{model-retry-9t2khtsw.js → permission-g463wkqn.js} +11 -11
- package/dist/chunks/{model-retry-g5h9c0rr.js → permission-g5h9c0rr.js} +2 -2
- package/dist/chunks/{model-retry-n02etsdv.js → permission-gh8271rt.js} +9 -9
- package/dist/chunks/{model-retry-esgzgmhw.js → permission-gmsg8eqm.js} +47 -47
- package/dist/chunks/{model-retry-d4v9tmah.js → permission-gn8tkhbf.js} +2 -2
- package/dist/chunks/{model-retry-3zfnvm0t.js → permission-gzm4qrd3.js} +3 -3
- package/dist/chunks/{model-retry-35ssvayj.js → permission-h0xvb9c9.js} +29 -29
- package/dist/chunks/{model-retry-z8n0gtf2.js → permission-hcjcnhpb.js} +5 -5
- package/dist/chunks/{model-retry-1k9s1gkt.js → permission-hk0aetvg.js} +11 -11
- package/dist/chunks/{model-retry-15pq58mc.js → permission-hqmjc9w6.js} +24 -24
- package/dist/chunks/{model-retry-j3gdx3ts.js → permission-httjfkej.js} +20 -20
- package/dist/chunks/{model-retry-ts7mkfs9.js → permission-hzrfc1p4.js} +3 -3
- package/dist/chunks/{model-retry-ws6f2re4.js → permission-j02gp9xr.js} +2 -2
- package/dist/chunks/{model-retry-j113cymg.js → permission-j113cymg.js} +1 -1
- package/dist/chunks/{model-retry-yfvv7qb3.js → permission-j4xf6en1.js} +7 -7
- package/dist/chunks/{model-retry-2v2pdhf7.js → permission-j7c3dc9z.js} +9 -9
- package/dist/chunks/{model-retry-24ag2nfj.js → permission-jfw7mew9.js} +4 -4
- package/dist/chunks/{model-retry-vfjd9fmw.js → permission-jvc2kz28.js} +35 -35
- package/dist/chunks/{model-retry-3pfffbn2.js → permission-jw3wx0eq.js} +12 -12
- package/dist/chunks/{model-retry-5afnvqtn.js → permission-k5d1etkm.js} +19 -19
- package/dist/chunks/{model-retry-k814nvkf.js → permission-k814nvkf.js} +1 -1
- package/dist/chunks/{model-retry-pen16d07.js → permission-kgq6c069.js} +6 -6
- package/dist/chunks/{model-retry-0vh00qd5.js → permission-khk9cezz.js} +17 -17
- package/dist/chunks/{model-retry-160yv0cs.js → permission-kmzgegqq.js} +8 -8
- package/dist/chunks/{model-retry-hkav5kft.js → permission-kwfnkjs0.js} +23 -23
- package/dist/chunks/{model-retry-w76xjer3.js → permission-ky596kc3.js} +4 -4
- package/dist/chunks/{model-retry-xp50hhgm.js → permission-m0rac248.js} +8 -8
- package/dist/chunks/{model-retry-m1714858.js → permission-m1714858.js} +1 -1
- package/dist/chunks/{model-retry-eq10afbe.js → permission-m3m8z7xq.js} +36 -36
- package/dist/chunks/{model-retry-m9w0rfyh.js → permission-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-retry-maspj1v3.js → permission-maspj1v3.js} +1 -1
- package/dist/chunks/{model-retry-059af6b1.js → permission-mda55v02.js} +36 -36
- package/dist/chunks/{model-retry-me5bcav6.js → permission-me5bcav6.js} +1 -1
- package/dist/chunks/{model-retry-4bxv2e09.js → permission-mhw8pa4s.js} +16 -16
- package/dist/chunks/{model-retry-498wt34r.js → permission-mry6eq9x.js} +20 -20
- package/dist/chunks/{model-retry-wf5b31gc.js → permission-mt7t3679.js} +26 -26
- package/dist/chunks/{model-retry-8mjcdb5t.js → permission-mv6anmnf.js} +15 -15
- package/dist/chunks/{model-retry-mx6gwe9b.js → permission-mveydcg4.js} +5 -5
- package/dist/chunks/{model-retry-n0p0277s.js → permission-n0p0277s.js} +1 -1
- package/dist/chunks/{model-retry-r2j375b4.js → permission-n9b9a8z3.js} +13 -13
- package/dist/chunks/{model-retry-j21bkcez.js → permission-nap8qs22.js} +25 -19
- package/dist/chunks/{model-retry-74ptejxy.js → permission-nnmc9ed9.js} +8 -8
- package/dist/chunks/{model-retry-2ah2hb02.js → permission-ns0sec0c.js} +4 -4
- package/dist/chunks/{model-retry-34j3c5g8.js → permission-nwvarf2y.js} +28 -28
- package/dist/chunks/{model-retry-yk3mq3qx.js → permission-nx1jxsn9.js} +4 -4
- package/dist/chunks/{model-retry-wyat3pb7.js → permission-nyhsm72m.js} +45 -45
- package/dist/chunks/{model-retry-68rqd4da.js → permission-nzxfskdc.js} +17 -17
- package/dist/chunks/{model-retry-p015t6z3.js → permission-p015t6z3.js} +2 -2
- package/dist/chunks/{model-retry-xg13h545.js → permission-p5teea9m.js} +33 -33
- package/dist/chunks/{model-retry-94vx47d3.js → permission-p8sbff2p.js} +18 -18
- package/dist/chunks/{model-retry-sfva37g4.js → permission-pa9sgc09.js} +20 -20
- package/dist/chunks/{model-retry-pc1v25hk.js → permission-pc1v25hk.js} +1 -1
- package/dist/chunks/{model-retry-86c107cp.js → permission-pc4dn92c.js} +14 -14
- package/dist/chunks/{model-retry-egmw08v6.js → permission-pdwvva8b.js} +5 -5
- package/dist/chunks/{model-retry-xza2c9y7.js → permission-phgp918k.js} +14 -14
- package/dist/chunks/{model-retry-pknna89w.js → permission-pknna89w.js} +1 -1
- package/dist/chunks/{model-retry-kqpfexpa.js → permission-pkq14bb3.js} +16 -16
- package/dist/chunks/{model-retry-8cqc0595.js → permission-pmeg9mq3.js} +14 -14
- package/dist/chunks/{model-retry-s35xth4d.js → permission-ppd8r3bw.js} +11 -11
- package/dist/chunks/{model-retry-r2z6t62p.js → permission-pwtpbgxe.js} +23 -23
- package/dist/chunks/{model-retry-8cnpnqcj.js → permission-q1vg9cw7.js} +20 -20
- package/dist/chunks/{model-retry-nszthedh.js → permission-q5ksxkha.js} +6 -6
- package/dist/chunks/{model-retry-2j4z7awa.js → permission-q71xwdgh.js} +3 -3
- package/dist/chunks/{model-retry-awk29ysz.js → permission-qahvr734.js} +50 -50
- package/dist/chunks/{model-retry-cxzgb9c8.js → permission-qdmrbv3w.js} +5 -5
- package/dist/chunks/{model-retry-qjgzc4b4.js → permission-qjgzc4b4.js} +1 -1
- package/dist/chunks/{model-retry-j3dvs0xp.js → permission-qjnmhe6f.js} +4 -4
- package/dist/chunks/{model-retry-ft03bety.js → permission-qmfyrqgm.js} +7 -7
- package/dist/chunks/{model-retry-g1mbn82r.js → permission-qp7684c1.js} +36 -36
- package/dist/chunks/{model-retry-88ygbdnp.js → permission-qqegaxm6.js} +3 -3
- package/dist/chunks/{model-retry-w35wzz9x.js → permission-qv7y9773.js} +9 -9
- package/dist/chunks/{model-retry-756ss4w1.js → permission-qy0xx1fg.js} +5 -5
- package/dist/chunks/{model-retry-hdpt19v3.js → permission-r09nw2rs.js} +18 -18
- package/dist/chunks/{model-retry-r0yr0wbs.js → permission-r0yr0wbs.js} +1 -1
- package/dist/chunks/{model-retry-x1p8bhbj.js → permission-r2y1gcsf.js} +12 -12
- package/dist/chunks/{model-retry-w2eysc6j.js → permission-r41sfy63.js} +6 -6
- package/dist/chunks/{model-retry-rb9dy4dg.js → permission-rb9dy4dg.js} +1 -1
- package/dist/chunks/{model-retry-7h34a4m7.js → permission-rc7ek8zj.js} +24 -24
- package/dist/chunks/{model-retry-rt5dr6hb.js → permission-rt5dr6hb.js} +1 -1
- package/dist/chunks/{model-retry-37psetzb.js → permission-rxj45xh7.js} +180 -180
- package/dist/chunks/{model-retry-3t73xeyv.js → permission-rxrz6b15.js} +2 -2
- package/dist/chunks/{model-retry-e29sndgb.js → permission-s4f8ct6t.js} +4 -4
- package/dist/chunks/{model-retry-vwn6zxzb.js → permission-s4rcfet1.js} +12 -12
- package/dist/chunks/{model-retry-zx3jzspp.js → permission-s5d2vmct.js} +12 -12
- package/dist/chunks/{model-retry-ze854dys.js → permission-s9nw9eye.js} +18 -18
- package/dist/chunks/{model-retry-0sjdd7gq.js → permission-sa14a5nv.js} +3 -3
- package/dist/chunks/{model-retry-zae8bdqe.js → permission-sajjfzhw.js} +23 -23
- package/dist/chunks/{model-retry-sqjzf8x2.js → permission-sqjzf8x2.js} +1 -1
- package/dist/chunks/{model-retry-th85ze8z.js → permission-t0ew9z5w.js} +18 -18
- package/dist/chunks/{model-retry-cpvd08na.js → permission-t211gxpv.js} +4 -4
- package/dist/chunks/{model-retry-9c2rytg1.js → permission-t587ae1z.js} +13 -13
- package/dist/chunks/{model-retry-gcjdgkn2.js → permission-takvccra.js} +9 -9
- package/dist/chunks/{model-retry-tczq8hjw.js → permission-tczq8hjw.js} +1 -1
- package/dist/chunks/{model-retry-vrc2patz.js → permission-teqpm1vg.js} +13 -13
- package/dist/chunks/{model-retry-wdmx20pv.js → permission-thzfrsxj.js} +5 -5
- package/dist/chunks/{model-retry-0gka690g.js → permission-tnqzh63d.js} +4 -4
- package/dist/chunks/{model-retry-2qyq8kt6.js → permission-tq1s9fze.js} +14 -14
- package/dist/chunks/{model-retry-t19n7z8d.js → permission-tsrsrn1g.js} +6 -6
- package/dist/chunks/{model-retry-tw8zr1ps.js → permission-tw8zr1ps.js} +1 -1
- package/dist/chunks/{model-retry-twv2r8f4.js → permission-twv2r8f4.js} +2 -2
- package/dist/chunks/{model-retry-df4avf2z.js → permission-v3m02923.js} +4 -4
- package/dist/chunks/{model-retry-nsggxdvf.js → permission-vb1k1ws1.js} +21 -21
- package/dist/chunks/{model-retry-vd3b3yk9.js → permission-vd3b3yk9.js} +1 -1
- package/dist/chunks/{model-retry-veqvce7d.js → permission-veqvce7d.js} +1 -1
- package/dist/chunks/{model-retry-00qqvw2m.js → permission-vhspgydr.js} +21 -21
- package/dist/chunks/{model-retry-5mhdx2nw.js → permission-vmn23kmk.js} +10 -10
- package/dist/chunks/{model-retry-zra4y4ja.js → permission-vqwfsp1y.js} +9 -9
- package/dist/chunks/{model-retry-5e3jct5k.js → permission-vt1p8g5r.js} +5 -5
- package/dist/chunks/{model-retry-15tgtsbh.js → permission-vy0q671d.js} +24 -24
- package/dist/chunks/{model-retry-1602d4m9.js → permission-vzmjdaw1.js} +9 -9
- package/dist/chunks/{model-retry-w3wsvvr9.js → permission-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-retry-0h8y3ex8.js → permission-w687dnns.js} +4 -4
- package/dist/chunks/{model-retry-76cb1hcw.js → permission-w8qtt4th.js} +4 -4
- package/dist/chunks/{model-retry-wakvkjy4.js → permission-wakvkjy4.js} +1 -1
- package/dist/chunks/{model-retry-yy97rbk0.js → permission-wcr9qjwb.js} +5 -5
- package/dist/chunks/{model-retry-wd87259q.js → permission-wd87259q.js} +1 -1
- package/dist/chunks/{model-retry-k0te6n7r.js → permission-whpzb130.js} +11 -11
- package/dist/chunks/{model-retry-sp1qw1fb.js → permission-wmdbma0r.js} +10 -10
- package/dist/chunks/{model-retry-45yg3mqn.js → permission-wmztd2wj.js} +9 -9
- package/dist/chunks/{model-retry-t98mxax0.js → permission-wrk90yr8.js} +49 -49
- package/dist/chunks/{model-retry-1v7r97e1.js → permission-wvt10j39.js} +13 -13
- package/dist/chunks/{model-retry-q1356wgr.js → permission-wxtdwwr7.js} +8 -8
- package/dist/chunks/{model-retry-8b8xytn3.js → permission-wzdcdf7r.js} +29 -29
- package/dist/chunks/{model-retry-t3qqpd1a.js → permission-x03g62wm.js} +22 -22
- package/dist/chunks/{model-retry-qnqj5gyz.js → permission-xh6ezr0k.js} +10 -10
- package/dist/chunks/{model-retry-xp0rgq9p.js → permission-xk8xgfn0.js} +26 -26
- package/dist/chunks/{model-retry-9p4ckb4p.js → permission-xpeshqab.js} +6 -6
- package/dist/chunks/{model-retry-60qt7jm7.js → permission-xyfdysdk.js} +22 -22
- package/dist/chunks/{model-retry-yb20nhc3.js → permission-yb20nhc3.js} +1 -1
- package/dist/chunks/{model-retry-jkg2pe84.js → permission-yc6j1cm5.js} +4 -4
- package/dist/chunks/{model-retry-cgc2w6x5.js → permission-yqghpsmf.js} +9 -9
- package/dist/chunks/{model-retry-1h8v3mbs.js → permission-yqqmszk1.js} +11 -11
- package/dist/chunks/{model-retry-j4tgmvzd.js → permission-yvvgvppe.js} +44 -44
- package/dist/chunks/{model-retry-z0bkrqjs.js → permission-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-retry-yy1f6ksd.js → permission-z0htsaj2.js} +18 -18
- package/dist/chunks/{model-retry-z38nccrw.js → permission-z38nccrw.js} +1 -1
- package/dist/chunks/{model-retry-zba5tm1j.js → permission-zba5tm1j.js} +1 -1
- package/dist/chunks/{model-retry-h48zeanh.js → permission-zecnjrg9.js} +3 -3
- package/dist/chunks/{model-retry-w2jghfqb.js → permission-zjfvjab9.js} +4 -4
- package/dist/chunks/{model-retry-zkg84ctx.js → permission-zkg84ctx.js} +1 -1
- package/dist/chunks/{model-retry-9y7tqj94.js → permission-zmfbct8y.js} +23 -23
- package/dist/chunks/{model-retry-yj9zbm9v.js → permission-zp6zn6an.js} +15 -15
- package/dist/chunks/permission-zqbek9dz.js +26 -0
- package/dist/chunks/{model-retry-362tp65q.js → permission-zvwzcwk0.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/compatibility.js +135 -135
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +116 -116
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +138 -138
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +115 -115
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +119 -119
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +367 -367
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +104 -104
- package/dist/form.js +82 -82
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +89 -89
- package/dist/generate.js +105 -105
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +101 -101
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +360 -360
- package/dist/instruction-discovery.js +86 -86
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +154 -154
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +357 -357
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +138 -138
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +101 -101
- package/dist/model-resolver.js +101 -101
- package/dist/model-retry.js +1 -1
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +332 -332
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +117 -117
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +116 -116
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +116 -116
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +113 -113
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +113 -113
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +125 -125
- package/dist/plugin/provider/local.js +122 -122
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +125 -125
- package/dist/plugin/provider/openai.js +116 -116
- package/dist/plugin/provider/opencode.js +103 -103
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +115 -115
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +125 -125
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +170 -170
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +351 -351
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +114 -114
- package/dist/plugin/websearch/exa.js +5 -5
- 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 +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +223 -223
- package/dist/project/schema.js +4 -4
- package/dist/project/sql.js +4 -4
- package/dist/project.js +88 -88
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +138 -138
- package/dist/session/context.js +164 -164
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +221 -221
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +164 -164
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +97 -97
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +95 -95
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +132 -132
- package/dist/session/projector.js +91 -91
- package/dist/session/prompt.js +107 -107
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +96 -96
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +101 -101
- package/dist/session/runner/publish-llm-event.js +116 -116
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +128 -128
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +163 -163
- package/dist/session/shell.js +130 -130
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +168 -168
- package/dist/session/to-session-error.js +114 -114
- package/dist/session/transfer.js +217 -217
- package/dist/session/usage.js +1 -1
- package/dist/session.js +218 -218
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +105 -105
- package/dist/skill.js +112 -112
- package/dist/snapshot.js +91 -91
- 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 +135 -135
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +126 -126
- package/dist/tool/plugin/mcp-resource.js +126 -126
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/todo.js +138 -138
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/voice.js +88 -88
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-retry-6zjm2phc.js +0 -18
- package/dist/chunks/model-retry-mnd7st07.js +0 -26
- package/dist/chunks/model-retry-mxyxrzn2.js +0 -257
- /package/dist/chunks/{model-retry-0qkdqm5v.js → permission-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-retry-0zkw76rk.js → permission-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-retry-17cy0kzp.js → permission-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-retry-1cnp2v09.js → permission-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-retry-24dcb14g.js → permission-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-retry-2710q6r3.js → permission-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-retry-2bv980vf.js → permission-2bv980vf.js} +0 -0
- /package/dist/chunks/{model-retry-2c3vjs8z.js → permission-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-retry-359p4xyc.js → permission-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-retry-3asan66x.js → permission-3asan66x.js} +0 -0
- /package/dist/chunks/{model-retry-3v8g72cx.js → permission-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-retry-3wcehsnq.js → permission-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-retry-43n2bw4t.js → permission-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-retry-4knz6hnm.js → permission-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-retry-4vcrnpx2.js → permission-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-retry-4y7fprxs.js → permission-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-retry-53557ph1.js → permission-53557ph1.js} +0 -0
- /package/dist/chunks/{model-retry-550bvhaj.js → permission-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-retry-5fjb7ams.js → permission-5fjb7ams.js} +0 -0
- /package/dist/chunks/{model-retry-6prwharc.js → permission-6prwharc.js} +0 -0
- /package/dist/chunks/{model-retry-6q2bdcd1.js → permission-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{model-retry-7akdwqpd.js → permission-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-retry-7m9af43g.js → permission-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-retry-822emrt2.js → permission-822emrt2.js} +0 -0
- /package/dist/chunks/{model-retry-84wd9syh.js → permission-84wd9syh.js} +0 -0
- /package/dist/chunks/{model-retry-88xbtdfr.js → permission-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-retry-8n3pysct.js → permission-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-retry-8wj87zfr.js → permission-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-retry-9a4afbnw.js → permission-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-retry-9rqn6x4v.js → permission-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-retry-a058387c.js → permission-a058387c.js} +0 -0
- /package/dist/chunks/{model-retry-a6k6eb26.js → permission-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-retry-af5trqkr.js → permission-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-retry-afrmfg78.js → permission-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-retry-aqzs7mqg.js → permission-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-retry-atq7p7m5.js → permission-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-retry-bkyjaxrp.js → permission-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-retry-bmr6ed5q.js → permission-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-retry-cf4snx6d.js → permission-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-retry-cvy3z8tj.js → permission-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-retry-d9fn303g.js → permission-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-retry-d9jj8t3e.js → permission-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-retry-dajrwvna.js → permission-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-retry-dap0rakb.js → permission-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-retry-df08tz66.js → permission-df08tz66.js} +0 -0
- /package/dist/chunks/{model-retry-dy18nga0.js → permission-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-retry-e5kj55wp.js → permission-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-retry-e73j6tqm.js → permission-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-retry-ec1grn59.js → permission-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-retry-eh3zwz77.js → permission-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-retry-emrn6kk6.js → permission-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-retry-f0mxakyp.js → permission-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-retry-f6n9ztr4.js → permission-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-retry-faypxj3z.js → permission-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-retry-fd410y7t.js → permission-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-retry-g4wezp1m.js → permission-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-retry-g86h250q.js → permission-g86h250q.js} +0 -0
- /package/dist/chunks/{model-retry-gebd4c9n.js → permission-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-retry-gftt206x.js → permission-gftt206x.js} +0 -0
- /package/dist/chunks/{model-retry-hcxmzztb.js → permission-hcxmzztb.js} +0 -0
- /package/dist/chunks/{model-retry-hk9envan.js → permission-hk9envan.js} +0 -0
- /package/dist/chunks/{model-retry-j2ntwpah.js → permission-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-retry-j5zkgpj8.js → permission-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-retry-jjkms2e6.js → permission-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-retry-jr7sbwjy.js → permission-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-retry-jwfs4k6c.js → permission-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-retry-jze0r7bz.js → permission-jze0r7bz.js} +0 -0
- /package/dist/chunks/{model-retry-jzg6c2d5.js → permission-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-retry-m18g726c.js → permission-m18g726c.js} +0 -0
- /package/dist/chunks/{model-retry-mp448xyj.js → permission-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-retry-msx8hqn2.js → permission-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-retry-n05xt0ee.js → permission-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-retry-n3j8tn72.js → permission-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-retry-njntx4h6.js → permission-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-retry-pkyv6v7h.js → permission-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{model-retry-q3sfg36h.js → permission-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-retry-q74kybfr.js → permission-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-retry-qaymkmh1.js → permission-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-retry-qb87gjwd.js → permission-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-retry-qfa1cgps.js → permission-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-retry-qg3g05ea.js → permission-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-retry-qrg20bc0.js → permission-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-retry-rcb2kzg1.js → permission-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-retry-sdp7kfr6.js → permission-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-retry-ssg3fenm.js → permission-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-retry-ve7vex1e.js → permission-ve7vex1e.js} +0 -0
- /package/dist/chunks/{model-retry-w803qqfp.js → permission-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-retry-wc3fc9cn.js → permission-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-retry-wer8tq1h.js → permission-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-retry-wjj7prxr.js → permission-wjj7prxr.js} +0 -0
- /package/dist/chunks/{model-retry-wtztk69x.js → permission-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-retry-x0ckcb58.js → permission-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-retry-x61499pn.js → permission-x61499pn.js} +0 -0
- /package/dist/chunks/{model-retry-y44na4kk.js → permission-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-retry-y8f7s663.js → permission-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-retry-ygaqb7jw.js → permission-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-retry-ym463w8f.js → permission-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-retry-z5v4ffb3.js → permission-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{model-retry-z9919s4g.js → permission-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86,
|
|
6
6
|
node90
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./permission-zecnjrg9.js";
|
|
8
8
|
import {
|
|
9
9
|
Service85,
|
|
10
10
|
node89
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-nx1jxsn9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service83,
|
|
14
|
+
node87
|
|
15
|
+
} from "./permission-jw3wx0eq.js";
|
|
16
16
|
import {
|
|
17
17
|
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event19,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./permission-thzfrsxj.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-aj7mw0zk.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./permission-3cbjf1nt.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./permission-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
39
|
ID: () => ID16,
|
|
40
|
-
Info: () =>
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError12,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service82,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node86,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -59,7 +59,7 @@ import { Hash } from "@opencode/util/hash";
|
|
|
59
59
|
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError12 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service82 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,9 +98,9 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service83;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
105
|
const bus = yield* Service85;
|
|
106
106
|
const db = (yield* Service86).db;
|
|
@@ -303,20 +303,20 @@ var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
|
303
303
|
yield* bus.publish(Event19.Updated, fromRow(row));
|
|
304
304
|
}), { concurrency: 8, discard: true });
|
|
305
305
|
});
|
|
306
|
-
return
|
|
306
|
+
return Service82.of({ list, update, activate, resolve, sweep });
|
|
307
307
|
}));
|
|
308
|
-
var
|
|
309
|
-
service:
|
|
308
|
+
var node86 = makeGlobalNode({
|
|
309
|
+
service: Service82,
|
|
310
310
|
layer,
|
|
311
|
-
deps: [node89, node90, FSUtil.node,
|
|
311
|
+
deps: [node89, node90, FSUtil.node, node87, AppProcess.node]
|
|
312
312
|
});
|
|
313
313
|
var sweepNode2 = makeGlobalNode({
|
|
314
314
|
name: "project-archive-sweep",
|
|
315
315
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
316
|
-
const project = yield*
|
|
316
|
+
const project = yield* Service82;
|
|
317
317
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
318
318
|
})),
|
|
319
|
-
deps: [
|
|
319
|
+
deps: [node86]
|
|
320
320
|
});
|
|
321
321
|
|
|
322
|
-
export { ID16, Vcs2, Current2,
|
|
322
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError12, root2, Service82, node86, sweepNode2, exports_project };
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-8heddbx0.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-nx1jxsn9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID18,
|
|
9
|
+
Event20,
|
|
10
|
+
Service84
|
|
11
|
+
} from "./permission-697qrpec.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-zba5tm1j.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./permission-bng780ce.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service73
|
|
25
|
+
} from "./permission-5b80fy0k.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./permission-dwh5rme7.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./permission-tsrsrn1g.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make4(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
75
|
const bus = yield* Service85;
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
76
|
+
const credentials = yield* Service84;
|
|
77
|
+
const providers = yield* Service73;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make9(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make9(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make9(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make9(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make9(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make9(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make9(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make9(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -263,20 +263,20 @@ function make9(endpoints = {
|
|
|
263
263
|
}
|
|
264
264
|
if (!loaded.deployments)
|
|
265
265
|
return;
|
|
266
|
-
const catalog = models.list(
|
|
266
|
+
const catalog = models.list(ID12.azure);
|
|
267
267
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
268
268
|
for (const model of catalog) {
|
|
269
269
|
if (!deployed.has(model.id))
|
|
270
|
-
models.remove(
|
|
270
|
+
models.remove(ID12.azure, model.id);
|
|
271
271
|
}
|
|
272
272
|
for (const [id, model] of deployed) {
|
|
273
|
-
models.update(
|
|
273
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
274
274
|
}
|
|
275
275
|
});
|
|
276
|
-
yield* bus.subscribe(
|
|
276
|
+
yield* bus.subscribe(Event20.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
277
277
|
yield* refresh().pipe(Effect.forkScoped);
|
|
278
278
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
279
|
-
const connection = yield* ctx.integration.connection.active(
|
|
279
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
280
280
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
281
281
|
return;
|
|
282
282
|
})) : undefined;
|
|
@@ -288,7 +288,7 @@ function make9(endpoints = {
|
|
|
288
288
|
return `Bearer ${current.access}`;
|
|
289
289
|
});
|
|
290
290
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
291
|
-
if (evt.model.providerID !==
|
|
291
|
+
if (evt.model.providerID !== ID12.azure)
|
|
292
292
|
return;
|
|
293
293
|
const authorization = yield* bearer(evt.request.url);
|
|
294
294
|
if (!authorization)
|
|
@@ -297,9 +297,9 @@ function make9(endpoints = {
|
|
|
297
297
|
evt.request.headers.delete("x-api-key");
|
|
298
298
|
evt.request.headers.set("authorization", authorization);
|
|
299
299
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
300
|
-
}), { providerID:
|
|
300
|
+
}), { providerID: ID12.azure });
|
|
301
301
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
302
|
-
if (evt.model.providerID !==
|
|
302
|
+
if (evt.model.providerID !== ID12.azure)
|
|
303
303
|
return;
|
|
304
304
|
const authorization = yield* bearer(evt.url);
|
|
305
305
|
if (!authorization)
|
|
@@ -308,11 +308,11 @@ function make9(endpoints = {
|
|
|
308
308
|
delete evt.headers["x-api-key"];
|
|
309
309
|
evt.headers.authorization = authorization;
|
|
310
310
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
311
|
-
}), { providerID:
|
|
311
|
+
}), { providerID: ID12.azure });
|
|
312
312
|
})
|
|
313
313
|
});
|
|
314
314
|
}
|
|
315
|
-
var AzurePlugin2 =
|
|
315
|
+
var AzurePlugin2 = make4();
|
|
316
316
|
function resolveResourceName(settings, fallback) {
|
|
317
317
|
const configured = settings?.resourceName;
|
|
318
318
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -342,11 +342,11 @@ function deployedModels(deployments, catalog) {
|
|
|
342
342
|
const model = catalogModel(models, deployment);
|
|
343
343
|
if (!model)
|
|
344
344
|
return [];
|
|
345
|
-
const id =
|
|
345
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
346
346
|
const info = {
|
|
347
347
|
...structuredClone(model),
|
|
348
348
|
id,
|
|
349
|
-
modelID:
|
|
349
|
+
modelID: ID11.make(deployment.name),
|
|
350
350
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
351
351
|
};
|
|
352
352
|
return [[id, info]];
|
|
@@ -368,4 +368,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
368
368
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
369
369
|
}
|
|
370
370
|
|
|
371
|
-
export {
|
|
371
|
+
export { make4, AzurePlugin2 };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
absoluteColumn2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-wakvkjy4.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./permission-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/worktree/sql.ts
|
|
9
9
|
import { integer, primaryKey, sqliteTable, text } from "drizzle-orm/sqlite-core";
|
|
@@ -1,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service81
|
|
3
|
+
} from "./permission-e97en3k4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service79
|
|
6
|
+
} from "./permission-hqmjc9w6.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
Service15,
|
|
9
9
|
readText2,
|
|
10
10
|
syncTextBom2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./permission-13xbgjmy.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
13
|
+
Service20
|
|
14
|
+
} from "./permission-7phtqfsn.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service65
|
|
17
|
+
} from "./permission-4faanzap.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
Service14,
|
|
20
20
|
resolvePath2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./permission-z0htsaj2.js";
|
|
22
22
|
import {
|
|
23
23
|
fileDiff2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./permission-6prwharc.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./permission-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/tool/plugin/edit.ts
|
|
30
30
|
var exports_edit = {};
|
|
31
31
|
__export(exports_edit, {
|
|
32
32
|
EditTool: () => exports_edit,
|
|
33
|
-
Input: () =>
|
|
33
|
+
Input: () => Input2,
|
|
34
34
|
Output: () => Output2,
|
|
35
35
|
Plugin: () => Plugin3,
|
|
36
|
-
name: () =>
|
|
36
|
+
name: () => name2
|
|
37
37
|
});
|
|
38
38
|
import { ToolFailure } from "@opencode/ai";
|
|
39
39
|
import { FileDiff } from "@opencode/schema/file-diff";
|
|
40
40
|
import { Bom } from "@opencode/util/bom";
|
|
41
41
|
import { Effect, Schema } from "effect";
|
|
42
|
-
var
|
|
43
|
-
var
|
|
42
|
+
var name2 = "edit";
|
|
43
|
+
var Input2 = Schema.Struct({
|
|
44
44
|
path: Schema.String.annotate({
|
|
45
45
|
description: "File to edit"
|
|
46
46
|
}),
|
|
@@ -193,17 +193,17 @@ var countBefore = (positions, offset) => {
|
|
|
193
193
|
var Plugin3 = {
|
|
194
194
|
id: "opencode.tool.edit",
|
|
195
195
|
effect: Effect.fn("EditTool.Plugin")(function* (ctx) {
|
|
196
|
-
const access = yield*
|
|
197
|
-
const fileMutation = yield*
|
|
198
|
-
const environment = yield*
|
|
199
|
-
const formatter = yield*
|
|
200
|
-
const location = yield*
|
|
201
|
-
const permission = yield*
|
|
196
|
+
const access = yield* Service14;
|
|
197
|
+
const fileMutation = yield* Service15;
|
|
198
|
+
const environment = yield* Service79;
|
|
199
|
+
const formatter = yield* Service20;
|
|
200
|
+
const location = yield* Service81;
|
|
201
|
+
const permission = yield* Service65;
|
|
202
202
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
203
|
-
name:
|
|
203
|
+
name: name2,
|
|
204
204
|
options: { codemode: false, permission: "edit" },
|
|
205
205
|
description: "Edit the contents of a file by finding and replacing exact text. When editing text from Read output, preserve the exact indentation (tabs or spaces) and omit the line-number prefix, such as `1: `. Never include the prefix in oldString or newString. Write line breaks as \\n; the file's existing CRLF or LF line endings are matched and preserved. To change line endings themselves, make oldString and newString differ only in \\r; that edit applies to the exact bytes. If there is no exact match, the edit retries while ignoring typographic quote, dash, and space variants, then trailing whitespace on each line. The edit fails if oldString is not found. By default, oldString must identify a UNIQUE location. Multiple matches FAIL unless replaceAll is true. Add more surrounding context to disambiguate, or set replaceAll to true to replace every occurrence. Use replaceAll when the change should apply to every occurrence, such as renaming a variable.",
|
|
206
|
-
input:
|
|
206
|
+
input: Input2,
|
|
207
207
|
output: Output2,
|
|
208
208
|
execute: (input, context) => {
|
|
209
209
|
return Effect.gen(function* () {
|
|
@@ -276,4 +276,4 @@ var Plugin3 = {
|
|
|
276
276
|
})
|
|
277
277
|
};
|
|
278
278
|
|
|
279
|
-
export {
|
|
279
|
+
export { name2, Input2, Output2, Plugin3, exports_edit };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./permission-nx1jxsn9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
5
|
+
ID18,
|
|
6
|
+
Event20,
|
|
7
|
+
Service84
|
|
8
|
+
} from "./permission-697qrpec.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
ID12
|
|
11
|
+
} from "./permission-5b80fy0k.js";
|
|
12
12
|
import {
|
|
13
13
|
configuredSettings2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./permission-tsrsrn1g.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/provider/google-vertex.ts
|
|
17
17
|
import { Effect, Option, Schema, Stream } from "effect";
|
|
@@ -41,7 +41,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
41
41
|
id: "opencode.provider.google.vertex",
|
|
42
42
|
effect: Effect.fn(function* (ctx) {
|
|
43
43
|
const fs = yield* FSUtil.Service;
|
|
44
|
-
const credentials = yield*
|
|
44
|
+
const credentials = yield* Service84;
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const read = (file) => fs.readFileStringSafe(file).pipe(Effect.orElseSucceed(() => {
|
|
47
47
|
return;
|
|
@@ -51,7 +51,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
51
51
|
const configs = (yield* fs.readDirectory(path.join(gcloud, "configurations")).pipe(Effect.orElseSucceed(() => []))).filter((name) => name.startsWith("config_")).toSorted((a, b) => Number(b === active) - Number(a === active) || a.localeCompare(b));
|
|
52
52
|
const contents = yield* Effect.forEach(configs, (name) => read(path.join(gcloud, "configurations", name)));
|
|
53
53
|
const adcFile = yield* read(path.join(gcloud, "application_default_credentials.json"));
|
|
54
|
-
const configured = (yield* configuredSettings2(
|
|
54
|
+
const configured = (yield* configuredSettings2(ID12.googleVertex)) ?? {};
|
|
55
55
|
const projects = Array.from(new Set([
|
|
56
56
|
resolveProject(configured),
|
|
57
57
|
...contents.map((content) => content?.match(/^project\s*=\s*(\S+)/m)?.[1]),
|
|
@@ -65,8 +65,8 @@ var GoogleVertexPlugin2 = define({
|
|
|
65
65
|
...contents.flatMap((content) => Array.from((content ?? "").matchAll(/^region\s*=\s*(\S+)/gm), (match) => match[1]))
|
|
66
66
|
]));
|
|
67
67
|
const load = Effect.fn("GoogleVertexPlugin.load")(function* () {
|
|
68
|
-
const connection = yield* ctx.integration.connection.active(
|
|
69
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
68
|
+
const connection = yield* ctx.integration.connection.active(ID12.googleVertex);
|
|
69
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID18.make(connection.id)) : undefined;
|
|
70
70
|
if (stored?.value.type !== "external" || stored.value.methodID !== ADC_METHOD)
|
|
71
71
|
return {};
|
|
72
72
|
return { project: stored.value.metadata?.project, location: stored.value.metadata?.location };
|
|
@@ -74,15 +74,15 @@ var GoogleVertexPlugin2 = define({
|
|
|
74
74
|
const selected = { settings: yield* load() };
|
|
75
75
|
const settingsFor = (provider) => ({
|
|
76
76
|
...provider.settings,
|
|
77
|
-
...(provider.integrationID ?? provider.id) ===
|
|
77
|
+
...(provider.integrationID ?? provider.id) === ID12.googleVertex ? selected.settings : {}
|
|
78
78
|
});
|
|
79
79
|
yield* ctx.integration.transform((editor) => {
|
|
80
80
|
editor.method.update({
|
|
81
|
-
integrationID:
|
|
81
|
+
integrationID: ID12.googleVertex,
|
|
82
82
|
method: { type: "env", names: ["GOOGLE_VERTEX_API_KEY"] }
|
|
83
83
|
});
|
|
84
84
|
editor.method.update({
|
|
85
|
-
integrationID:
|
|
85
|
+
integrationID: ID12.googleVertex,
|
|
86
86
|
method: {
|
|
87
87
|
id: ADC_METHOD,
|
|
88
88
|
type: "external",
|
|
@@ -120,7 +120,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
120
120
|
});
|
|
121
121
|
yield* ctx.provider.transform((evt) => {
|
|
122
122
|
for (const item of evt.list()) {
|
|
123
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
123
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
124
124
|
continue;
|
|
125
125
|
const settings = settingsFor(item.provider);
|
|
126
126
|
const project = resolveProject(settings);
|
|
@@ -139,7 +139,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
139
139
|
});
|
|
140
140
|
yield* ctx.model.transform((models) => {
|
|
141
141
|
for (const item of models.provider.list()) {
|
|
142
|
-
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id ===
|
|
142
|
+
if (!item.provider.package.startsWith("@opencode/ai/providers/google-vertex") && !(item.provider.id === ID12.googleVertex && item.provider.package === "@opencode/ai/providers/openai-compatible"))
|
|
143
143
|
continue;
|
|
144
144
|
const settings = settingsFor(item.provider);
|
|
145
145
|
const project = resolveProject(settings);
|
|
@@ -156,7 +156,7 @@ var GoogleVertexPlugin2 = define({
|
|
|
156
156
|
}
|
|
157
157
|
}
|
|
158
158
|
});
|
|
159
|
-
yield* bus.subscribe([
|
|
159
|
+
yield* bus.subscribe([Event20.Updated, Event20.Switched]).pipe(Stream.runForEach(() => Effect.gen(function* () {
|
|
160
160
|
const next = yield* load();
|
|
161
161
|
if (JSON.stringify(next) === JSON.stringify(selected.settings))
|
|
162
162
|
return;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service57
|
|
4
|
+
} from "./permission-gmsg8eqm.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service45
|
|
7
|
+
} from "./permission-fyzm4447.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./permission-6pjqjmy2.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./permission-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/snapshot.ts
|
|
16
16
|
var exports_snapshot = {};
|
|
17
17
|
__export(exports_snapshot, {
|
|
18
18
|
ConfigSnapshotPlugin: () => exports_snapshot,
|
|
19
|
-
Plugin: () =>
|
|
19
|
+
Plugin: () => Plugin37
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin37 = define({
|
|
24
24
|
id: "opencode.config.snapshot",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const snapshot = yield*
|
|
26
|
+
const config = yield* Service57;
|
|
27
|
+
const snapshot = yield* Service45;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, snapshot.reload());
|
|
29
29
|
yield* snapshot.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "snapshots");
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin37, exports_snapshot };
|