@opencode/core 0.0.0-dev-20800 → 0.0.0-dev-20802
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +82 -82
- package/dist/aisdk-native.js +90 -90
- package/dist/aisdk.js +95 -95
- package/dist/app.js +9 -9
- package/dist/bus.js +70 -70
- package/dist/chunks/{location-lifecycle-jjyth7tc.js → generate-040e300p.js} +15 -15
- package/dist/chunks/{location-lifecycle-tkse8f3q.js → generate-0a2k6nt6.js} +11 -11
- package/dist/chunks/{location-lifecycle-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-lifecycle-12xmqm01.js → generate-0rhrd1mx.js} +8 -8
- package/dist/chunks/{location-lifecycle-0vbcp93d.js → generate-0vbcp93d.js} +2 -2
- package/dist/chunks/{location-lifecycle-pk512a6z.js → generate-0vf0d06q.js} +20 -20
- package/dist/chunks/{location-lifecycle-26e4w4z1.js → generate-10k4sbeq.js} +18 -18
- package/dist/chunks/generate-14316e4k.js +26 -0
- package/dist/chunks/{location-lifecycle-xzkqskad.js → generate-15jngqt8.js} +17 -17
- package/dist/chunks/{location-lifecycle-4a73s5eb.js → generate-15qqjdee.js} +4 -4
- package/dist/chunks/{location-lifecycle-jppfyca3.js → generate-17r4ge8p.js} +5 -5
- package/dist/chunks/{location-lifecycle-5q2fg78k.js → generate-19e0e7kb.js} +11 -11
- package/dist/chunks/{location-lifecycle-1acjjqhc.js → generate-1acjjqhc.js} +1 -1
- package/dist/chunks/{location-lifecycle-yddjqpq0.js → generate-1dddtqd5.js} +16 -16
- package/dist/chunks/{location-lifecycle-1dvck2a7.js → generate-1dvck2a7.js} +2 -2
- package/dist/chunks/{location-lifecycle-pyz8nqny.js → generate-1ktrwf6z.js} +27 -27
- package/dist/chunks/generate-1wbfy9nd.js +94 -0
- package/dist/chunks/{location-lifecycle-synr9wb7.js → generate-26587ab8.js} +20 -20
- package/dist/chunks/{location-lifecycle-r6pyp04c.js → generate-27kcfysw.js} +3 -3
- package/dist/chunks/{location-lifecycle-8dqzgcf3.js → generate-2bsqqbxy.js} +2 -2
- package/dist/chunks/{location-lifecycle-rfgc4mvb.js → generate-2gmwdz7g.js} +11 -11
- package/dist/chunks/{location-lifecycle-qgn6gcr1.js → generate-2k8khapm.js} +5 -5
- package/dist/chunks/{location-lifecycle-as7cf5zz.js → generate-2m8jawch.js} +4 -4
- package/dist/chunks/{location-lifecycle-ktvh4vva.js → generate-2mxs6sby.js} +3 -3
- package/dist/chunks/{location-lifecycle-400cmxrg.js → generate-2q5xcbmg.js} +9 -9
- package/dist/chunks/{location-lifecycle-2vvh33eb.js → generate-2vvh33eb.js} +2 -2
- package/dist/chunks/{location-lifecycle-hj91fj8d.js → generate-2xmqvr3q.js} +61 -61
- package/dist/chunks/{location-lifecycle-awm6xws1.js → generate-301myjse.js} +13 -13
- package/dist/chunks/{location-lifecycle-1xbhkz81.js → generate-31ps3q9w.js} +28 -28
- package/dist/chunks/{location-lifecycle-045vy74a.js → generate-322rzpbc.js} +42 -42
- package/dist/chunks/generate-333bp4jv.js +513 -0
- package/dist/chunks/{location-lifecycle-kk0zprtm.js → generate-35p1319m.js} +20 -20
- package/dist/chunks/{location-lifecycle-m4jtpfdy.js → generate-39yv08j4.js} +32 -32
- package/dist/chunks/{location-lifecycle-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{location-lifecycle-075nkgpd.js → generate-3g8j9he4.js} +1 -1
- package/dist/chunks/{location-lifecycle-yzty5ajg.js → generate-3gf64ef1.js} +9 -9
- package/dist/chunks/{location-lifecycle-nqmd0j0t.js → generate-3h20cfpd.js} +15 -15
- package/dist/chunks/{location-lifecycle-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-lifecycle-3hwn7j4h.js → generate-3hwn7j4h.js} +2 -2
- package/dist/chunks/{location-lifecycle-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-lifecycle-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-lifecycle-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{location-lifecycle-337zht14.js → generate-40948mfj.js} +6 -6
- package/dist/chunks/{location-lifecycle-s7zs5tdv.js → generate-48ph987b.js} +3 -3
- package/dist/chunks/{location-lifecycle-99xay3p1.js → generate-4c2df9zx.js} +8 -8
- package/dist/chunks/{location-lifecycle-vmsnvh9e.js → generate-4casdgny.js} +13 -13
- package/dist/chunks/{location-lifecycle-8pcxgb42.js → generate-4fmhce0x.js} +8 -8
- package/dist/chunks/{location-lifecycle-e5jnjg26.js → generate-4j3ft02p.js} +14 -14
- package/dist/chunks/{location-lifecycle-4ts7tf6z.js → generate-4ts7tf6z.js} +2 -2
- package/dist/chunks/{location-lifecycle-nhfw7na3.js → generate-4wyasqq7.js} +16 -16
- package/dist/chunks/{location-lifecycle-prq2eemm.js → generate-4x4w4sp7.js} +22 -22
- package/dist/chunks/{location-lifecycle-9txckjzy.js → generate-53vb5svr.js} +18 -18
- package/dist/chunks/{location-lifecycle-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{location-lifecycle-5m9w47nd.js → generate-5m9w47nd.js} +1 -1
- package/dist/chunks/{location-lifecycle-bczf9gfc.js → generate-5mmsq6kg.js} +11 -11
- package/dist/chunks/{location-lifecycle-mmtzy2cx.js → generate-5sc16h8r.js} +1 -1
- package/dist/chunks/{location-lifecycle-2dc13q1w.js → generate-64xnz7ka.js} +26 -26
- package/dist/chunks/{location-lifecycle-x9nb0wwg.js → generate-693hse5b.js} +21 -21
- package/dist/chunks/{location-lifecycle-dkjctcjv.js → generate-6bxyve5m.js} +5 -5
- package/dist/chunks/{location-lifecycle-qjsx6qhd.js → generate-6c4htm7n.js} +35 -35
- package/dist/chunks/{location-lifecycle-259nj1gt.js → generate-6k9bjkax.js} +5 -5
- package/dist/chunks/{location-lifecycle-3d73cf36.js → generate-6mscxrv1.js} +6 -6
- package/dist/chunks/{location-lifecycle-fw181sc9.js → generate-6n4b0dsb.js} +9 -9
- package/dist/chunks/{location-lifecycle-ankng2g7.js → generate-6vw57f10.js} +13 -13
- package/dist/chunks/{location-lifecycle-enf3ypdq.js → generate-6wahjjvf.js} +28 -28
- package/dist/chunks/{location-lifecycle-6xb47vfp.js → generate-6xb47vfp.js} +1 -1
- package/dist/chunks/{location-lifecycle-15mwjx8s.js → generate-6yd3w0ys.js} +49 -49
- package/dist/chunks/{location-lifecycle-71az546q.js → generate-71az546q.js} +2 -2
- package/dist/chunks/{location-lifecycle-m74xkqjf.js → generate-7202g8q2.js} +11 -11
- package/dist/chunks/{location-lifecycle-nztb4xd2.js → generate-738x26ds.js} +17 -17
- package/dist/chunks/{location-lifecycle-h290cgcd.js → generate-77ec2k6j.js} +47 -47
- package/dist/chunks/{location-lifecycle-zq1qz60d.js → generate-79n8fvy3.js} +15 -15
- package/dist/chunks/{location-lifecycle-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-lifecycle-j010kfyx.js → generate-7eta88nt.js} +9 -9
- package/dist/chunks/{location-lifecycle-dnzhhpdj.js → generate-7f6317t0.js} +15 -15
- package/dist/chunks/{location-lifecycle-5w6gjyv2.js → generate-7gwye6wj.js} +87 -87
- package/dist/chunks/{location-lifecycle-c0n5dz8t.js → generate-7n6g46wz.js} +11 -11
- package/dist/chunks/{location-lifecycle-82v73sw7.js → generate-82v73sw7.js} +3 -3
- package/dist/chunks/{location-lifecycle-w1eejvng.js → generate-84txncab.js} +5 -5
- package/dist/chunks/{location-lifecycle-6qfhrnaw.js → generate-879bespx.js} +46 -46
- package/dist/chunks/{location-lifecycle-36v4zd3f.js → generate-8dze8v7x.js} +10 -10
- package/dist/chunks/{location-lifecycle-q7xes5kb.js → generate-8hf6kcjf.js} +7 -7
- package/dist/chunks/{location-lifecycle-8m6m0r52.js → generate-8m6m0r52.js} +1 -1
- package/dist/chunks/{location-lifecycle-8sze2n9a.js → generate-8sze2n9a.js} +2 -2
- package/dist/chunks/{location-lifecycle-a89e0tac.js → generate-8tsdq50x.js} +4 -4
- package/dist/chunks/{location-lifecycle-dgma0v0g.js → generate-8whp40kv.js} +3 -3
- package/dist/chunks/{location-lifecycle-v8cx281b.js → generate-93487tfc.js} +3 -3
- package/dist/chunks/{location-lifecycle-9e5bzkjp.js → generate-9e5bzkjp.js} +3 -3
- package/dist/chunks/{location-lifecycle-rw12205r.js → generate-9x0fhj46.js} +22 -22
- package/dist/chunks/{location-lifecycle-73kdj4zj.js → generate-9y0w708y.js} +8 -8
- package/dist/chunks/{location-lifecycle-73r8b3px.js → generate-9y1vnk5a.js} +17 -17
- package/dist/chunks/{location-lifecycle-d0mb62r9.js → generate-9ywfjm2b.js} +11 -11
- package/dist/chunks/{location-lifecycle-z72fkbe2.js → generate-a09syp6w.js} +4 -4
- package/dist/chunks/{location-lifecycle-bpgwsx0k.js → generate-a0ev9wka.js} +9 -9
- package/dist/chunks/{location-lifecycle-0yz4q5yq.js → generate-a6vqmxzv.js} +19 -19
- package/dist/chunks/{location-lifecycle-5rvnepm0.js → generate-acbhb36m.js} +11 -11
- package/dist/chunks/{location-lifecycle-3ppptnan.js → generate-acd4vkpt.js} +6 -6
- package/dist/chunks/{location-lifecycle-7at5ntqt.js → generate-avrb5a8f.js} +24 -24
- package/dist/chunks/{location-lifecycle-fjkjs814.js → generate-axbdymsv.js} +5 -5
- package/dist/chunks/{location-lifecycle-2ar9hqe3.js → generate-az8074cz.js} +35 -35
- package/dist/chunks/{location-lifecycle-dfzq3svr.js → generate-b344f494.js} +20 -20
- package/dist/chunks/{location-lifecycle-0wghf1s6.js → generate-b5g2j3tj.js} +34 -34
- package/dist/chunks/{location-lifecycle-x09008jr.js → generate-b823c9yx.js} +10 -10
- package/dist/chunks/{location-lifecycle-yhmq983h.js → generate-b8njymce.js} +11 -11
- package/dist/chunks/{location-lifecycle-vp0pgx0e.js → generate-bd1g5m32.js} +15 -15
- package/dist/chunks/{location-lifecycle-bfegkxfd.js → generate-bfegkxfd.js} +3 -3
- package/dist/chunks/{location-lifecycle-56esav7y.js → generate-bjys04xw.js} +5 -5
- package/dist/chunks/{location-lifecycle-bmr56wjg.js → generate-bmr56wjg.js} +1 -1
- package/dist/chunks/{location-lifecycle-0x5zk5gc.js → generate-br4sv010.js} +32 -32
- package/dist/chunks/{location-lifecycle-bretrc70.js → generate-bt7cwyy0.js} +33 -33
- package/dist/chunks/{location-lifecycle-z3561p2k.js → generate-bxr6w0mz.js} +14 -14
- package/dist/chunks/{location-lifecycle-pbryxttk.js → generate-bzbna6mv.js} +32 -32
- package/dist/chunks/{location-lifecycle-g6q9qykm.js → generate-c765mh8b.js} +9 -9
- package/dist/chunks/{location-lifecycle-3axmb7q8.js → generate-c9pqxe3v.js} +10 -10
- package/dist/chunks/{location-lifecycle-y6zyvach.js → generate-ccefhs0k.js} +16 -16
- package/dist/chunks/{location-lifecycle-0qbedfkp.js → generate-cdgzgd7n.js} +16 -16
- package/dist/chunks/{location-lifecycle-gst7axd9.js → generate-ckf8nxjz.js} +4 -4
- package/dist/chunks/generate-ctefx7dc.js +18 -0
- package/dist/chunks/{location-lifecycle-2gt4dhts.js → generate-d1rc2nk5.js} +32 -32
- package/dist/chunks/{location-lifecycle-hzc8r87k.js → generate-d2bht23z.js} +25 -25
- package/dist/chunks/{location-lifecycle-5hx7d1d6.js → generate-d9wzmzc3.js} +5 -5
- package/dist/chunks/{location-lifecycle-wtdm701p.js → generate-dddma69r.js} +11 -11
- package/dist/chunks/{location-lifecycle-j8vnw4hc.js → generate-ddw8adtm.js} +15 -15
- package/dist/chunks/{location-lifecycle-7z9kfqn6.js → generate-dhrjbyf3.js} +22 -22
- package/dist/chunks/{location-lifecycle-gyqy5ynx.js → generate-dktjxkrs.js} +12 -12
- package/dist/chunks/{location-lifecycle-9tcq91xd.js → generate-dph8383f.js} +1 -1
- package/dist/chunks/{location-lifecycle-yyk8anzp.js → generate-dtg8b4t8.js} +15 -15
- package/dist/chunks/{location-lifecycle-ntz9hpdy.js → generate-e24bfe0t.js} +22 -22
- package/dist/chunks/{location-lifecycle-ht137azs.js → generate-e5me55ct.js} +5 -5
- package/dist/chunks/{location-lifecycle-e80seqcp.js → generate-ed1g29hy.js} +3 -3
- package/dist/chunks/{location-lifecycle-vr60ps1k.js → generate-ee5neqfh.js} +43 -43
- package/dist/chunks/{location-lifecycle-eej6y6fw.js → generate-eej6y6fw.js} +2 -2
- package/dist/chunks/{location-lifecycle-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{location-lifecycle-vh716j4k.js → generate-eka1fpr9.js} +8 -8
- package/dist/chunks/{location-lifecycle-sf0wxd2e.js → generate-eswdjwz9.js} +9 -9
- package/dist/chunks/{location-lifecycle-38tt4tys.js → generate-exn49f6t.js} +31 -31
- package/dist/chunks/{location-lifecycle-xp2nrj1h.js → generate-f78h0asq.js} +25 -25
- package/dist/chunks/{location-lifecycle-sseqw9as.js → generate-f918t7qj.js} +184 -184
- package/dist/chunks/{location-lifecycle-ym8grxmf.js → generate-fa8r0rz5.js} +4 -4
- package/dist/chunks/{location-lifecycle-wc9200r7.js → generate-ffavjqnh.js} +35 -35
- package/dist/chunks/{location-lifecycle-shgfe6g3.js → generate-fx7ts4ez.js} +23 -23
- package/dist/chunks/{location-lifecycle-e6jvr8wr.js → generate-g0bjxtbg.js} +25 -25
- package/dist/chunks/{location-lifecycle-vycvk4jw.js → generate-g761bshh.js} +4 -4
- package/dist/chunks/{location-lifecycle-nvpbekwd.js → generate-g8jhqdkc.js} +52 -52
- package/dist/chunks/{location-lifecycle-vzbxwz1d.js → generate-g8ytx0e6.js} +11 -11
- package/dist/chunks/{location-lifecycle-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-lifecycle-tck3xmbd.js → generate-ggz0m51f.js} +20 -20
- package/dist/chunks/{location-lifecycle-d8ntj3k9.js → generate-gjan9s6w.js} +13 -13
- package/dist/chunks/{location-lifecycle-gk8qb678.js → generate-gk8qb678.js} +1 -1
- package/dist/chunks/{location-lifecycle-h2b79v29.js → generate-h2b79v29.js} +2 -2
- package/dist/chunks/{location-lifecycle-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-lifecycle-y56ehv6b.js → generate-h71w788e.js} +9 -9
- package/dist/chunks/{location-lifecycle-31xfzrxg.js → generate-h7s7r6s9.js} +5 -5
- package/dist/chunks/{location-lifecycle-sk3ayc2y.js → generate-h8rj5qwg.js} +44 -44
- package/dist/chunks/{location-lifecycle-zyk1yjk8.js → generate-hdkng2sj.js} +5 -5
- package/dist/chunks/{location-lifecycle-hgz4x7wa.js → generate-hgz4x7wa.js} +1 -1
- package/dist/chunks/{location-lifecycle-ex7zhkfb.js → generate-hske5dj9.js} +7 -7
- package/dist/chunks/{location-lifecycle-4fxygk9h.js → generate-ht8444m6.js} +32 -32
- package/dist/chunks/{location-lifecycle-77rza4t5.js → generate-hxewdwg8.js} +20 -20
- package/dist/chunks/{location-lifecycle-xpyd5rmy.js → generate-hxv1t72c.js} +9 -9
- package/dist/chunks/{location-lifecycle-8hs91g9e.js → generate-j0rgmbg7.js} +13 -13
- package/dist/chunks/{location-lifecycle-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{location-lifecycle-cybryb63.js → generate-j5gt8vhk.js} +23 -23
- package/dist/chunks/{location-lifecycle-fk16e5dv.js → generate-j9h5cm9j.js} +33 -33
- package/dist/chunks/{location-lifecycle-mmn3699t.js → generate-j9jrzkwn.js} +7 -7
- package/dist/chunks/{location-lifecycle-9sff2b9k.js → generate-j9jwzdws.js} +11 -11
- package/dist/chunks/{location-lifecycle-bmk01nrw.js → generate-jmy78ssg.js} +8 -8
- package/dist/chunks/{location-lifecycle-t1ab29nx.js → generate-jqj7zyty.js} +17 -17
- package/dist/chunks/{location-lifecycle-faz2yk73.js → generate-jvmnqq03.js} +8 -8
- package/dist/chunks/{location-lifecycle-3n40wvxh.js → generate-k1n0z3hy.js} +5 -5
- package/dist/chunks/{location-lifecycle-a39dn30j.js → generate-k6aqg0zs.js} +13 -13
- package/dist/chunks/{location-lifecycle-333ghavv.js → generate-k7x7nhss.js} +19 -19
- package/dist/chunks/{location-lifecycle-8660p8hs.js → generate-kd1kqg9s.js} +19 -19
- package/dist/chunks/{location-lifecycle-q4ngerjd.js → generate-kev5c8bq.js} +34 -34
- package/dist/chunks/{location-lifecycle-1w2wqhfv.js → generate-khmqacep.js} +4 -4
- package/dist/chunks/{location-lifecycle-41b8dfm6.js → generate-kq8dkyzh.js} +4 -4
- package/dist/chunks/{location-lifecycle-5a9n1zp1.js → generate-kqwemc59.js} +32 -32
- package/dist/chunks/{location-lifecycle-g3ca96wf.js → generate-kr4k7vnq.js} +14 -14
- package/dist/chunks/{location-lifecycle-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{location-lifecycle-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-lifecycle-9w4pp784.js → generate-mh7gztz7.js} +36 -36
- package/dist/chunks/{location-lifecycle-bvz0h0jv.js → generate-mmfkfzad.js} +5 -5
- package/dist/chunks/{location-lifecycle-br4y6v19.js → generate-mr30ete2.js} +10 -10
- package/dist/chunks/{location-lifecycle-c35597j6.js → generate-n1n192bv.js} +4 -4
- package/dist/chunks/{location-lifecycle-b6tr2n1v.js → generate-ne3x5nt0.js} +5 -5
- package/dist/chunks/{location-lifecycle-f0xaqz27.js → generate-nedy3yz4.js} +13 -13
- package/dist/chunks/{location-lifecycle-nph4g4ra.js → generate-nrgzng8j.js} +29 -29
- package/dist/chunks/{location-lifecycle-1ajx6rf5.js → generate-p4mj4rdp.js} +8 -8
- package/dist/chunks/{location-lifecycle-brk5xemp.js → generate-p5p5kne1.js} +2 -2
- package/dist/chunks/{location-lifecycle-60dxs931.js → generate-pb6a046z.js} +92 -92
- package/dist/chunks/{location-lifecycle-80n0dwgx.js → generate-pe54yqh1.js} +21 -21
- package/dist/chunks/{location-lifecycle-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-lifecycle-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{location-lifecycle-72r8wm95.js → generate-pnv261zh.js} +26 -26
- package/dist/chunks/{location-lifecycle-we8j0ayp.js → generate-pseda3cm.js} +15 -15
- package/dist/chunks/{location-lifecycle-q0xm7vwc.js → generate-q0xm7vwc.js} +2 -2
- package/dist/chunks/{location-lifecycle-8wya5fxk.js → generate-q4td9s0w.js} +32 -32
- package/dist/chunks/{location-lifecycle-m7te41gg.js → generate-q67wf555.js} +17 -17
- package/dist/chunks/{location-lifecycle-2pnv5snq.js → generate-qkw4ez0w.js} +7 -7
- package/dist/chunks/{location-lifecycle-qnc92qwc.js → generate-qnc92qwc.js} +1 -1
- package/dist/chunks/{location-lifecycle-n5vcy3c1.js → generate-qrr9gjr3.js} +16 -16
- package/dist/chunks/{location-lifecycle-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{location-lifecycle-g3kcmsgy.js → generate-qw22mnpd.js} +8 -8
- package/dist/chunks/{location-lifecycle-fg9jmrsf.js → generate-qzns6vt9.js} +23 -23
- package/dist/chunks/{location-lifecycle-2qzz5yns.js → generate-r6qqhb6g.js} +10 -10
- package/dist/chunks/{location-lifecycle-y7nndgyc.js → generate-r70na3yp.js} +9 -9
- package/dist/chunks/{location-lifecycle-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{location-lifecycle-jhy9tyy9.js → generate-rfnwqbfv.js} +18 -18
- package/dist/chunks/{location-lifecycle-ydzbs37e.js → generate-rhfcyxnv.js} +54 -54
- package/dist/chunks/{location-lifecycle-54f5pnj4.js → generate-rm3zrwxy.js} +3 -3
- package/dist/chunks/{location-lifecycle-ydgy0jv4.js → generate-rqcbxq1a.js} +8 -8
- package/dist/chunks/{location-lifecycle-c1ewvtms.js → generate-s9k62k39.js} +10 -10
- package/dist/chunks/{location-lifecycle-96fwpah0.js → generate-saxf499t.js} +3 -3
- package/dist/chunks/{location-lifecycle-p7zssj4a.js → generate-sb991zfj.js} +11 -11
- package/dist/chunks/{location-lifecycle-0xdxmx8p.js → generate-sdvaebnw.js} +1 -1
- package/dist/chunks/{location-lifecycle-f7k9gky1.js → generate-sn7hzvv7.js} +5 -5
- package/dist/chunks/{location-lifecycle-sxz6gkc3.js → generate-sxz6gkc3.js} +1 -1
- package/dist/chunks/{location-lifecycle-rhjbct0v.js → generate-t550f9t1.js} +4 -4
- package/dist/chunks/{location-lifecycle-60jf5vcr.js → generate-t7f2k8tj.js} +4 -4
- package/dist/chunks/{location-lifecycle-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-lifecycle-89znhe33.js → generate-tcezcvh9.js} +4 -4
- package/dist/chunks/{location-lifecycle-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{location-lifecycle-qavqf70c.js → generate-tnt8nry7.js} +39 -39
- package/dist/chunks/{location-lifecycle-d2epgy70.js → generate-tsm7hcv0.js} +11 -11
- package/dist/chunks/{location-lifecycle-k8m3kgt8.js → generate-tvvfzefx.js} +18 -18
- package/dist/chunks/{location-lifecycle-tyytaxap.js → generate-tyytaxap.js} +1 -1
- package/dist/chunks/{location-lifecycle-fpecnkgp.js → generate-v0es1rhs.js} +9 -9
- package/dist/chunks/{location-lifecycle-v7p4zvkq.js → generate-v7p4zvkq.js} +2 -2
- package/dist/chunks/{location-lifecycle-rfc8gvaq.js → generate-v92qdyrs.js} +21 -21
- package/dist/chunks/{location-lifecycle-tkqsbga7.js → generate-vd2f6n4d.js} +18 -18
- package/dist/chunks/{location-lifecycle-vnzs1hka.js → generate-ve5n98md.js} +4 -4
- package/dist/chunks/{location-lifecycle-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/generate-vf4z5rkp.js +253 -0
- package/dist/chunks/{location-lifecycle-nchaj1wx.js → generate-vhdmqtqh.js} +6 -6
- package/dist/chunks/{location-lifecycle-h1ngtam5.js → generate-vpskenec.js} +11 -11
- package/dist/chunks/{location-lifecycle-1gg1b1dj.js → generate-vq6jpek4.js} +23 -23
- package/dist/chunks/{location-lifecycle-9mwre42r.js → generate-vvvwe9ad.js} +7 -7
- package/dist/chunks/{location-lifecycle-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{location-lifecycle-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-lifecycle-cgp2bpq4.js → generate-w7sz1ggq.js} +18 -18
- package/dist/chunks/{location-lifecycle-129p42hr.js → generate-wadsfb69.js} +24 -24
- package/dist/chunks/{location-lifecycle-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{location-lifecycle-p1gf5j06.js → generate-wh6pa4pr.js} +10 -10
- package/dist/chunks/{location-lifecycle-wh6zw745.js → generate-wh6zw745.js} +2 -2
- package/dist/chunks/{location-lifecycle-9mank9gn.js → generate-wj65xewz.js} +4 -4
- package/dist/chunks/{location-lifecycle-pn9cwgsz.js → generate-x3rbkyt7.js} +26 -26
- package/dist/chunks/{location-lifecycle-zw2hpfmh.js → generate-x661k3y3.js} +4 -4
- package/dist/chunks/{location-lifecycle-dnzsqzmy.js → generate-xf6aj12n.js} +24 -24
- package/dist/chunks/{location-lifecycle-xfkkasph.js → generate-xfkkasph.js} +1 -1
- package/dist/chunks/{location-lifecycle-5ds6wb62.js → generate-xknnwx45.js} +15 -15
- package/dist/chunks/{location-lifecycle-nhtgb8qy.js → generate-xmm8saee.js} +14 -14
- package/dist/chunks/{location-lifecycle-ja73gbxf.js → generate-xp6q4xkk.js} +12 -12
- package/dist/chunks/{location-lifecycle-93qbwarb.js → generate-xrees0gn.js} +51 -51
- package/dist/chunks/{location-lifecycle-vsk1vr1s.js → generate-xx3sz52v.js} +45 -45
- package/dist/chunks/{location-lifecycle-jmh888fr.js → generate-xz8qpa4w.js} +14 -14
- package/dist/chunks/{location-lifecycle-xvqm8ed5.js → generate-xzn4drzt.js} +11 -11
- package/dist/chunks/{location-lifecycle-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-lifecycle-q3jzrnd4.js → generate-y3n5sn10.js} +24 -24
- package/dist/chunks/{location-lifecycle-vfjhn2wd.js → generate-y5rf7nzv.js} +4 -4
- package/dist/chunks/{location-lifecycle-dpkg50ah.js → generate-y71avatq.js} +4 -4
- package/dist/chunks/{location-lifecycle-47jkzegy.js → generate-ygdna4kr.js} +5 -5
- package/dist/chunks/{location-lifecycle-z0n7pwk3.js → generate-yjc008f4.js} +18 -18
- package/dist/chunks/{location-lifecycle-cg1qze84.js → generate-ymhyrcjp.js} +17 -17
- package/dist/chunks/{location-lifecycle-gecw61yc.js → generate-yn8wqzsv.js} +4 -4
- package/dist/chunks/{location-lifecycle-rnbwzmbx.js → generate-yvdzrz44.js} +33 -33
- package/dist/chunks/{location-lifecycle-wjr9rjd7.js → generate-ywt8jp22.js} +6 -6
- package/dist/chunks/{location-lifecycle-k5ybpq3f.js → generate-ywyadd6g.js} +6 -6
- package/dist/chunks/{location-lifecycle-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-lifecycle-vbj8nrvj.js → generate-z19r9xh1.js} +17 -17
- package/dist/chunks/{location-lifecycle-rj6p3jqm.js → generate-zm8pnepa.js} +17 -17
- package/dist/chunks/{location-lifecycle-1n4bmafa.js → generate-zn71smsj.js} +11 -11
- package/dist/chunks/{location-lifecycle-fw4js8pb.js → generate-zqmy6ekg.js} +24 -24
- package/dist/chunks/{location-lifecycle-dmr116d1.js → generate-zqva63ms.js} +42 -42
- package/dist/chunks/{location-lifecycle-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-lifecycle-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{location-lifecycle-t5s3gdq7.js → generate-zy2kf3ba.js} +11 -11
- package/dist/chunks/{location-lifecycle-36vvr5kv.js → generate-zy2s649b.js} +10 -10
- package/dist/chunks/{location-lifecycle-denv26z8.js → generate-zz5gkwhc.js} +11 -11
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +85 -85
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +100 -100
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +206 -206
- 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 +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +91 -91
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +124 -124
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +103 -103
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +114 -114
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +67 -67
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration.gen.js +50 -50
- package/dist/database/migration.js +52 -52
- 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 +77 -77
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +94 -94
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +96 -96
- 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 +71 -71
- package/dist/file-access.js +105 -105
- package/dist/file-mutation.js +95 -95
- 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 +215 -215
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +104 -104
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +107 -107
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +88 -88
- package/dist/generate.js +102 -102
- 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 +100 -100
- 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 +358 -358
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +88 -88
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +88 -88
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +74 -74
- package/dist/location-activity.js +132 -132
- package/dist/location-lifecycle.js +108 -108
- package/dist/location-service-map.js +87 -87
- package/dist/location-services.js +355 -355
- package/dist/location.js +88 -88
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +92 -92
- package/dist/mcp/index.js +110 -110
- package/dist/mcp/instructions.js +130 -130
- package/dist/mcp/oauth.js +79 -79
- package/dist/mcp/stdio.js +91 -91
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +100 -100
- package/dist/model-resolver.js +99 -99
- package/dist/model.js +103 -103
- package/dist/models-dev.js +108 -108
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +83 -83
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +76 -76
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +212 -212
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +97 -97
- package/dist/plugin/module.js +116 -116
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +103 -103
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +91 -91
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +95 -95
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +115 -115
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +94 -94
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +96 -96
- package/dist/plugin/provider/gitlab.js +94 -94
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +79 -79
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +93 -93
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai.js +94 -94
- package/dist/plugin/provider/opencode.js +98 -98
- package/dist/plugin/provider/openrouter.js +92 -92
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +80 -80
- package/dist/plugin/provider/prompt-cache-key.js +91 -91
- package/dist/plugin/provider/sap-ai-core.js +92 -92
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +91 -91
- package/dist/plugin/provider/vllm.js +124 -124
- package/dist/plugin/provider/xai.js +92 -92
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +168 -168
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +87 -87
- package/dist/plugin/vcs/hg.js +87 -87
- package/dist/plugin/verbosity.js +94 -94
- package/dist/plugin/warming.js +115 -115
- 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 +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 +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +89 -89
- package/dist/provider.js +102 -102
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +90 -90
- package/dist/repository-cache.js +82 -82
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +98 -98
- package/dist/rpc.js +87 -87
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +75 -75
- package/dist/session/compaction.js +136 -136
- package/dist/session/context.js +154 -154
- package/dist/session/diff.js +89 -89
- 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 +215 -215
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- 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 +98 -98
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +121 -121
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +87 -87
- package/dist/session/prompt.js +106 -106
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +91 -91
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +223 -223
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +99 -99
- package/dist/session/runner/publish-llm-event.js +114 -114
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +165 -165
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +104 -104
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +74 -74
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +112 -112
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +108 -108
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +92 -92
- 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 +127 -127
- package/dist/tool/plugin/edit.js +117 -117
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +125 -125
- package/dist/tool/plugin/grep.js +125 -125
- package/dist/tool/plugin/mcp-resource.js +118 -118
- package/dist/tool/plugin/opencode.js +110 -110
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +102 -102
- package/dist/tool/plugin/read.js +126 -126
- package/dist/tool/plugin/shell.js +209 -209
- package/dist/tool/plugin/skill.js +114 -114
- package/dist/tool/plugin/subagent.js +211 -211
- package/dist/tool/plugin/webfetch.js +113 -113
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +123 -123
- package/dist/tool/read-filesystem.js +101 -101
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +93 -93
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +92 -92
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +90 -90
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +83 -83
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +90 -90
- package/dist/worktree.js +93 -93
- package/package.json +11 -11
- package/dist/chunks/location-lifecycle-5mhnnxqb.js +0 -26
- package/dist/chunks/location-lifecycle-cccfebp7.js +0 -513
- package/dist/chunks/location-lifecycle-dxj72tfx.js +0 -18
- package/dist/chunks/location-lifecycle-nnnr58vb.js +0 -89
- package/dist/chunks/location-lifecycle-tx5140a1.js +0 -253
- /package/dist/chunks/{location-lifecycle-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-lifecycle-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2bv980vf.js → generate-2bv980vf.js} +0 -0
- /package/dist/chunks/{location-lifecycle-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3t0ybcrp.js → generate-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-lifecycle-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-lifecycle-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-lifecycle-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{location-lifecycle-6q2bdcd1.js → generate-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-84wd9syh.js → generate-84wd9syh.js} +0 -0
- /package/dist/chunks/{location-lifecycle-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-lifecycle-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-lifecycle-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-lifecycle-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-lifecycle-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-lifecycle-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-bw78ga2c.js → generate-bw78ga2c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-lifecycle-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-lifecycle-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-lifecycle-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{location-lifecycle-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-lifecycle-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-lifecycle-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-lifecycle-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-lifecycle-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-lifecycle-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-lifecycle-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-lifecycle-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jze0r7bz.js → generate-jze0r7bz.js} +0 -0
- /package/dist/chunks/{location-lifecycle-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-lifecycle-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-lifecycle-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-lifecycle-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-lifecycle-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-pyv0edze.js → generate-pyv0edze.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{location-lifecycle-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-lifecycle-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-lifecycle-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ve7vex1e.js → generate-ve7vex1e.js} +0 -0
- /package/dist/chunks/{location-lifecycle-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-lifecycle-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-lifecycle-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-lifecycle-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-lifecycle-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z5v4ffb3.js → generate-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{location-lifecycle-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service53
|
|
3
|
+
} from "./generate-6n4b0dsb.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service57
|
|
6
|
+
} from "./generate-acd4vkpt.js";
|
|
7
7
|
import {
|
|
8
8
|
detect2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-3smtnn6g.js";
|
|
10
10
|
import {
|
|
11
11
|
awaitActivation2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-ctefx7dc.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service65
|
|
15
|
+
} from "./generate-9y0w708y.js";
|
|
16
16
|
import {
|
|
17
17
|
AttachmentError2,
|
|
18
18
|
SkillNotFoundError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-40948mfj.js";
|
|
20
20
|
import {
|
|
21
21
|
prepare3,
|
|
22
22
|
Service43
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-j9jwzdws.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/session/prompt.ts
|
|
29
29
|
var exports_prompt = {};
|
|
@@ -39,10 +39,10 @@ import path from "path";
|
|
|
39
39
|
import { fileURLToPath } from "url";
|
|
40
40
|
var prepare2 = Effect.fn("SessionPrompt.prepare")(function* (request) {
|
|
41
41
|
const fs = yield* FSUtil.Service;
|
|
42
|
-
const instances = yield*
|
|
42
|
+
const instances = yield* Service57;
|
|
43
43
|
return yield* Effect.gen(function* () {
|
|
44
44
|
yield* awaitActivation2;
|
|
45
|
-
const hooks = yield*
|
|
45
|
+
const hooks = yield* Service65;
|
|
46
46
|
const event = yield* hooks.trigger("session", "prompt", {
|
|
47
47
|
sessionID: request.session.id,
|
|
48
48
|
messageID: request.messageID,
|
|
@@ -126,7 +126,7 @@ var materializeAttachment = Effect.fn("SessionPrompt.materializeAttachment")(fun
|
|
|
126
126
|
var normalizeImageAttachment = Effect.fn("SessionPrompt.normalizeImageAttachment")(function* (input, data, mime) {
|
|
127
127
|
if (!mime.startsWith("image/"))
|
|
128
128
|
return { data: Base64.make(data), mime };
|
|
129
|
-
const image = yield*
|
|
129
|
+
const image = yield* Service53;
|
|
130
130
|
const label = attachmentLabel(input);
|
|
131
131
|
const content = { uri: label, content: data, encoding: "base64", mime };
|
|
132
132
|
const normalized = yield* image.normalize(label, content).pipe(Effect.catchTag("Image.ResizerUnavailableError", () => Effect.succeed(content)), Effect.mapError((error) => new AttachmentError2({ uri: label, message: error.message })));
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
orderSelectedFields2,
|
|
5
5
|
mapUpdateSet2,
|
|
6
6
|
getTableLikeName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-emrn6kk6.js";
|
|
8
8
|
|
|
9
9
|
// src/database/drizzle/sqlite-core/effect/update.ts
|
|
10
10
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-x661k3y3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service84
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-g761bshh.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./generate-31ps3q9w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID12,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-pnv261zh.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID11,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service72
|
|
20
|
+
} from "./generate-br4sv010.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
} from "./
|
|
22
|
+
ID10
|
|
23
|
+
} from "./generate-kqwemc59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
load2,
|
|
26
|
+
derive2
|
|
27
|
+
} from "./generate-e24bfe0t.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-19e0e7kb.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
32
|
+
ID9
|
|
33
|
+
} from "./generate-v92qdyrs.js";
|
|
34
34
|
import {
|
|
35
35
|
get5
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-54ma36ye.js";
|
|
37
37
|
|
|
38
38
|
// src/plugin/provider/github-copilot.ts
|
|
39
39
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -65,7 +65,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
65
65
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
66
66
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
67
67
|
var oauth = (app) => ({
|
|
68
|
-
integrationID:
|
|
68
|
+
integrationID: ID12.make("github-copilot"),
|
|
69
69
|
method: {
|
|
70
70
|
id: methodID,
|
|
71
71
|
type: "oauth",
|
|
@@ -163,7 +163,7 @@ var oauth = (app) => ({
|
|
|
163
163
|
var GithubCopilotPlugin2 = define({
|
|
164
164
|
id: "opencode.provider.github.copilot",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const providers = yield*
|
|
166
|
+
const providers = yield* Service72;
|
|
167
167
|
const bus = yield* Service84;
|
|
168
168
|
const loading = Semaphore.makeUnsafe(1);
|
|
169
169
|
const loaded = {};
|
|
@@ -180,9 +180,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
180
180
|
return;
|
|
181
181
|
}
|
|
182
182
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
183
|
-
const provider = yield* providers.get(
|
|
183
|
+
const provider = yield* providers.get(ID11.githubCopilot);
|
|
184
184
|
const remote = yield* Effect.tryPromise({
|
|
185
|
-
try: () =>
|
|
185
|
+
try: () => load2(url, {
|
|
186
186
|
...provider?.headers,
|
|
187
187
|
Authorization: `Bearer ${credential.refresh}`,
|
|
188
188
|
"User-Agent": useragent2(ctx.app),
|
|
@@ -202,13 +202,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
202
202
|
editor.method.update(oauth(ctx.app));
|
|
203
203
|
});
|
|
204
204
|
yield* ctx.provider.transform((evt) => {
|
|
205
|
-
const item = evt.get(
|
|
205
|
+
const item = evt.get(ID11.githubCopilot);
|
|
206
206
|
if (!item)
|
|
207
207
|
return;
|
|
208
208
|
if (loaded.models) {
|
|
209
209
|
evt.add({
|
|
210
210
|
info: item.provider,
|
|
211
|
-
models: Array.from(
|
|
211
|
+
models: Array.from(derive2(loaded.baseURL ?? baseURL(), loaded.models, Array.from(item.models.values())).values()),
|
|
212
212
|
sourceConnection: loaded.connection
|
|
213
213
|
});
|
|
214
214
|
return;
|
|
@@ -222,17 +222,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
222
222
|
}
|
|
223
223
|
});
|
|
224
224
|
yield* ctx.model.transform((models) => {
|
|
225
|
-
if (models.get(
|
|
226
|
-
models.update(
|
|
225
|
+
if (models.get(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"))) {
|
|
226
|
+
models.update(ID11.githubCopilot, ID10.make("gpt-5-chat-latest"), (model) => {
|
|
227
227
|
model.enabled = false;
|
|
228
228
|
});
|
|
229
229
|
}
|
|
230
230
|
});
|
|
231
231
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
232
|
-
yield* bus.subscribe(
|
|
232
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID12.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
233
233
|
yield* refresh().pipe(Effect.forkScoped);
|
|
234
234
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
235
|
-
if (evt.model.providerID !==
|
|
235
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
236
236
|
return;
|
|
237
237
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
238
238
|
return;
|
|
@@ -241,7 +241,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
241
241
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
242
242
|
}));
|
|
243
243
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
244
|
-
if (evt.model.providerID !==
|
|
244
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
245
245
|
return;
|
|
246
246
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
247
247
|
return;
|
|
@@ -251,13 +251,13 @@ var GithubCopilotPlugin2 = define({
|
|
|
251
251
|
evt.headers["X-Interaction-Id"] = session ? get5(session) : evt.sessionID;
|
|
252
252
|
if (interaction !== "conversation-agent")
|
|
253
253
|
evt.headers["x-initiator"] = "agent";
|
|
254
|
-
}), { providerID:
|
|
254
|
+
}), { providerID: ID11.githubCopilot });
|
|
255
255
|
yield* ctx.session.hook("title", (evt) => Effect.gen(function* () {
|
|
256
|
-
if (evt.model.providerID !==
|
|
256
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
257
257
|
return;
|
|
258
258
|
if (!loaded.baseURL || !loaded.token || !loaded.models)
|
|
259
259
|
return;
|
|
260
|
-
const agent = yield* ctx.agent.get({ agentID:
|
|
260
|
+
const agent = yield* ctx.agent.get({ agentID: ID9.make("title") }).pipe(Effect.orElseSucceed(() => {
|
|
261
261
|
return;
|
|
262
262
|
}));
|
|
263
263
|
if (agent?.data.model)
|
|
@@ -268,9 +268,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
268
268
|
evt.result = yield* utilityTitle2({ baseURL: loaded.baseURL, token: loaded.token, model, app: ctx.app }, evt).pipe(Effect.tapError((cause) => Effect.logDebug("Copilot utility title failed", { model, cause })), Effect.orElseSucceed(() => {
|
|
269
269
|
return;
|
|
270
270
|
}));
|
|
271
|
-
}), { providerID:
|
|
271
|
+
}), { providerID: ID11.githubCopilot });
|
|
272
272
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
273
|
-
if (evt.model.providerID !==
|
|
273
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
274
274
|
return;
|
|
275
275
|
const token = evt.request.headers.get("x-api-key");
|
|
276
276
|
if (!token)
|
|
@@ -278,9 +278,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
278
278
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
279
279
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
280
280
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
281
|
-
}), { providerID:
|
|
281
|
+
}), { providerID: ID11.githubCopilot });
|
|
282
282
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
283
|
-
if (evt.model.providerID !==
|
|
283
|
+
if (evt.model.providerID !== ID11.githubCopilot)
|
|
284
284
|
return;
|
|
285
285
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
286
286
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -2,16 +2,16 @@ import {
|
|
|
2
2
|
managesTransactionsNatively2,
|
|
3
3
|
EffectSQLiteSession2,
|
|
4
4
|
EffectSQLiteTransaction2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-5sc16h8r.js";
|
|
6
6
|
import {
|
|
7
7
|
EffectSQLiteDatabase2,
|
|
8
8
|
DefaultServices2,
|
|
9
|
-
|
|
9
|
+
make23,
|
|
10
10
|
makeWithDefaults2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./generate-vhdmqtqh.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./generate-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/database/drizzle/index.ts
|
|
17
17
|
var exports_drizzle = {};
|
|
@@ -22,7 +22,7 @@ __export(exports_drizzle, {
|
|
|
22
22
|
EffectSQLiteDatabase: () => EffectSQLiteDatabase2,
|
|
23
23
|
EffectSQLiteSession: () => EffectSQLiteSession2,
|
|
24
24
|
EffectSQLiteTransaction: () => EffectSQLiteTransaction2,
|
|
25
|
-
make: () =>
|
|
25
|
+
make: () => make23,
|
|
26
26
|
makeWithDefaults: () => makeWithDefaults2,
|
|
27
27
|
managesTransactionsNatively: () => managesTransactionsNatively2
|
|
28
28
|
});
|
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service42
|
|
6
|
+
} from "./generate-xrees0gn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service61
|
|
9
|
+
} from "./generate-g8jhqdkc.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin33
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin33 = {
|
|
23
23
|
id: "opencode.tools.mcp-resources",
|
|
24
24
|
effect: Effect.fn("McpResourceTools.Plugin")(function* (ctx) {
|
|
25
|
-
const mcp = yield*
|
|
26
|
-
const permission = yield*
|
|
25
|
+
const mcp = yield* Service42;
|
|
26
|
+
const permission = yield* Service61;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin45 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin33, exports_mcp_resource };
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info17,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Predicate, Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info17 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -66,4 +66,4 @@ function upgradeLegacyMedia(input) {
|
|
|
66
66
|
});
|
|
67
67
|
}
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { Info17, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
BlockedError2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-g8jhqdkc.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/plan.ts
|
|
9
9
|
var exports_plan = {};
|
|
10
10
|
__export(exports_plan, {
|
|
11
11
|
PlanPlugin: () => exports_plan,
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin48
|
|
13
13
|
});
|
|
14
14
|
import { Message, ToolFailure } from "@opencode/ai";
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -29,7 +29,7 @@ You remain in Plan mode until the user switches agents. If the user asks you to
|
|
|
29
29
|
var leave = `<system-reminder>
|
|
30
30
|
You are NO LONGER in Plan mode. The previous Plan restrictions no longer apply. Any Plan mode instructions from earlier in this conversation are no longer active.
|
|
31
31
|
</system-reminder>`;
|
|
32
|
-
var
|
|
32
|
+
var Plugin48 = define({
|
|
33
33
|
id: "opencode.plan",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
35
|
const global = yield* Global.Service;
|
|
@@ -105,4 +105,4 @@ function lastReminder(messages, enterReminder) {
|
|
|
105
105
|
}, undefined);
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
export {
|
|
108
|
+
export { Plugin48, exports_plan };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service69,
|
|
3
|
+
node72
|
|
4
|
+
} from "./generate-xx3sz52v.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-8whp40kv.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/session/runner/model.ts
|
|
13
13
|
var exports_model = {};
|
|
14
14
|
__export(exports_model, {
|
|
15
15
|
ModelNotSelectedError: () => ModelNotSelectedError2,
|
|
16
16
|
ModelUnavailableError: () => ModelUnavailableError2,
|
|
17
|
-
Service: () =>
|
|
17
|
+
Service: () => Service58,
|
|
18
18
|
SessionRunnerModel: () => exports_model,
|
|
19
|
-
node: () =>
|
|
19
|
+
node: () => node60,
|
|
20
20
|
resolved: () => resolved2
|
|
21
21
|
});
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -39,7 +39,7 @@ class ModelUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.Mo
|
|
|
39
39
|
}
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service58 extends Context.Service()("@opencode/SessionRunnerModel") {
|
|
43
43
|
}
|
|
44
44
|
var resolved2 = (model, options) => ({
|
|
45
45
|
model,
|
|
@@ -54,9 +54,9 @@ var resolved2 = (model, options) => ({
|
|
|
54
54
|
compaction: options.compaction,
|
|
55
55
|
transport: options.transport
|
|
56
56
|
});
|
|
57
|
-
var layer = Layer.effect(
|
|
58
|
-
const resolver = yield*
|
|
59
|
-
return
|
|
57
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
58
|
+
const resolver = yield* Service69;
|
|
59
|
+
return Service58.of({
|
|
60
60
|
resolve: Effect.fn("SessionRunnerModel.resolve")(function* (session, available) {
|
|
61
61
|
if (!session.model) {
|
|
62
62
|
const resolved = yield* resolver.resolve();
|
|
@@ -74,6 +74,6 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
74
74
|
})
|
|
75
75
|
});
|
|
76
76
|
}));
|
|
77
|
-
var
|
|
77
|
+
var node60 = makeLocationNode({ service: Service58, layer, deps: [node72] });
|
|
78
78
|
|
|
79
|
-
export { ModelNotSelectedError2, ModelUnavailableError2,
|
|
79
|
+
export { ModelNotSelectedError2, ModelUnavailableError2, Service58, resolved2, node60, exports_model };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-dktjxkrs.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service85,
|
|
12
12
|
node89
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-27kcfysw.js";
|
|
14
14
|
import {
|
|
15
15
|
Service84,
|
|
16
16
|
node88
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-g761bshh.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-h2b79v29.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-1dvck2a7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID17,
|
|
26
26
|
NotFoundError11
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./generate-tnt8nry7.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-ccefhs0k.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service66,
|
|
33
|
+
node69
|
|
34
|
+
} from "./generate-hxv1t72c.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./generate-0vbcp93d.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service26
|
|
41
|
+
} from "./generate-kd1kqg9s.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./generate-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -56,12 +56,12 @@ __export(exports_worktree2, {
|
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service25,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node28
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -79,7 +79,7 @@ var Info5 = Worktree.Info;
|
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -92,15 +92,15 @@ class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyU
|
|
|
92
92
|
}
|
|
93
93
|
var Event6 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service25 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service25, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service85;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service84;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service66;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,7 +115,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service26).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service25.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service21, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node28 = Node.makeGlobalNode({
|
|
260
|
+
service: Service25,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node88, node89, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node88, node89, AppProcess.node, node69]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6,
|
|
272
|
+
export { StrategyID2, CreateInput3, RemoveInput2, Info5, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event6, Service25, node28, exports_worktree2, OperationError2 };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/instance.ts
|
|
6
6
|
var exports_instance2 = {};
|
|
7
7
|
__export(exports_instance2, {
|
|
8
8
|
InstancePlugins: () => exports_instance2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service13,
|
|
10
10
|
bound: () => bound2,
|
|
11
|
-
node: () =>
|
|
11
|
+
node: () => node15
|
|
12
12
|
});
|
|
13
13
|
import { Context, Layer } from "effect";
|
|
14
14
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
15
15
|
|
|
16
|
-
class
|
|
16
|
+
class Service13 extends Context.Service()("@opencode/InstancePlugins") {
|
|
17
17
|
}
|
|
18
|
-
var
|
|
19
|
-
service:
|
|
18
|
+
var node15 = makeLocationNode({
|
|
19
|
+
service: Service13,
|
|
20
20
|
layer: bound2([]),
|
|
21
21
|
deps: []
|
|
22
22
|
});
|
|
@@ -26,7 +26,7 @@ function bound2(plugins) {
|
|
|
26
26
|
throw new Error(`duplicate instance plugin ids: ${duplicates.map((plugin) => plugin.id).join(", ")}`);
|
|
27
27
|
}
|
|
28
28
|
const stamped = plugins.map((plugin) => ({ ...plugin, revision: "instance", source: { type: "sdk" } }));
|
|
29
|
-
return Layer.succeed(
|
|
29
|
+
return Layer.succeed(Service13, Service13.of({ all: () => stamped }));
|
|
30
30
|
}
|
|
31
31
|
|
|
32
|
-
export {
|
|
32
|
+
export { Service13, node15, bound2, exports_instance2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-8whp40kv.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|