@opencode/core 0.0.0-dev-20521 → 0.0.0-dev-20522
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/agent.js +56 -56
- package/dist/aisdk-native.js +63 -63
- package/dist/aisdk.js +68 -68
- package/dist/app.js +9 -9
- package/dist/bus.js +56 -56
- package/dist/chunks/{location-activity-89rvcjqs.js → location-activity-03xyy9gs.js} +6 -6
- package/dist/chunks/{location-activity-df2wbre9.js → location-activity-051rvy53.js} +65 -65
- package/dist/chunks/{location-activity-rmfgnaan.js → location-activity-0gfhevnz.js} +45 -45
- package/dist/chunks/{location-activity-40wf16dd.js → location-activity-0n82bpqs.js} +33 -33
- package/dist/chunks/{location-activity-6kzp9tjq.js → location-activity-0r3c1bmw.js} +3 -3
- package/dist/chunks/{location-activity-fp5441vb.js → location-activity-0tv3788e.js} +12 -12
- package/dist/chunks/{location-activity-f1k3hqn9.js → location-activity-0ym7r8mw.js} +1 -1
- package/dist/chunks/{location-activity-5n6f22tt.js → location-activity-1bvbmmvc.js} +2 -2
- package/dist/chunks/{location-activity-py5e2b36.js → location-activity-1kdzyrgh.js} +19 -19
- package/dist/chunks/{location-activity-n76pv0kn.js → location-activity-1wg7ekty.js} +13 -13
- package/dist/chunks/{location-activity-m2g6eass.js → location-activity-1ywctte3.js} +5 -5
- package/dist/chunks/{location-activity-rdmbyq3e.js → location-activity-1zpn74ap.js} +2 -2
- package/dist/chunks/{location-activity-hd3y20fa.js → location-activity-21j09tbr.js} +35 -35
- package/dist/chunks/{location-activity-tvvjd900.js → location-activity-21w5p5ea.js} +5 -5
- package/dist/chunks/{location-activity-ewyax98d.js → location-activity-2254y0xw.js} +5 -5
- package/dist/chunks/{location-activity-3dyrv95m.js → location-activity-22ajkdrs.js} +14 -14
- package/dist/chunks/{location-activity-rvg7fvdb.js → location-activity-25mvv2sj.js} +8 -8
- package/dist/chunks/{location-activity-q3hpcm59.js → location-activity-2phr5t4g.js} +12 -12
- package/dist/chunks/{location-activity-evv3dzvs.js → location-activity-2y184v0h.js} +23 -23
- package/dist/chunks/{location-activity-58qd9brx.js → location-activity-36yn6w2w.js} +13 -13
- package/dist/chunks/{location-activity-e2tmtcte.js → location-activity-3c002fa5.js} +22 -22
- package/dist/chunks/{location-activity-4zaxszxh.js → location-activity-3sp6t7s4.js} +11 -11
- package/dist/chunks/{location-activity-hr3asgbz.js → location-activity-40mqjk0w.js} +10 -10
- package/dist/chunks/{location-activity-mvkj911g.js → location-activity-418bx8zc.js} +28 -28
- package/dist/chunks/{location-activity-a7hcjh87.js → location-activity-45xkc9f1.js} +8 -8
- package/dist/chunks/{location-activity-rj252jhe.js → location-activity-468ehe8a.js} +71 -71
- package/dist/chunks/{location-activity-zrq8kphx.js → location-activity-4a0nv7mx.js} +7 -7
- package/dist/chunks/{location-activity-fe9yc616.js → location-activity-4c8hafs5.js} +34 -34
- package/dist/chunks/{location-activity-jmh888fr.js → location-activity-4cvdhpp6.js} +16 -16
- package/dist/chunks/{location-activity-xq3dk71y.js → location-activity-4d9g26n8.js} +8 -8
- package/dist/chunks/{location-activity-c4gwav79.js → location-activity-4g07jad7.js} +9 -9
- package/dist/chunks/{location-activity-t5ykwrj9.js → location-activity-4rjwr4eq.js} +27 -27
- package/dist/chunks/{location-activity-f1n1je73.js → location-activity-4sf4b4a1.js} +20 -20
- package/dist/chunks/{location-activity-9anxccrj.js → location-activity-50n9sz5p.js} +42 -42
- package/dist/chunks/{location-activity-txn989v4.js → location-activity-51mtghs0.js} +7 -7
- package/dist/chunks/{location-activity-jy6n4x97.js → location-activity-52qcnbw8.js} +7 -7
- package/dist/chunks/{location-activity-b0tb73q3.js → location-activity-5bc52nhv.js} +31 -31
- package/dist/chunks/{location-activity-h1dds5vx.js → location-activity-5e25xdga.js} +5 -5
- package/dist/chunks/{location-activity-a3ynkskz.js → location-activity-5ewsbr1h.js} +15 -15
- package/dist/chunks/{location-activity-r2bszs7a.js → location-activity-5v5gbwv4.js} +9 -9
- package/dist/chunks/{location-activity-160scmv2.js → location-activity-5vej8e4s.js} +31 -31
- package/dist/chunks/{location-activity-twsfbymt.js → location-activity-66mt488d.js} +18 -18
- package/dist/chunks/{location-activity-m4afetfz.js → location-activity-68b41rp7.js} +15 -15
- package/dist/chunks/{location-activity-fbqjtz0c.js → location-activity-68hckj5e.js} +12 -12
- package/dist/chunks/location-activity-6acre9fv.js +253 -0
- package/dist/chunks/{location-activity-atpkxcjq.js → location-activity-6dj2pvc2.js} +33 -33
- package/dist/chunks/{location-activity-v0fcw5g9.js → location-activity-6mxq6vmh.js} +4 -4
- package/dist/chunks/{location-activity-7v81x33d.js → location-activity-6n4b0dsb.js} +7 -7
- package/dist/chunks/{location-activity-x5w19dj0.js → location-activity-6xx2thcq.js} +6 -6
- package/dist/chunks/{location-activity-1dkcmh1t.js → location-activity-70z78qrv.js} +6 -6
- package/dist/chunks/{location-activity-qbv95z2b.js → location-activity-73nbr5nh.js} +15 -15
- package/dist/chunks/{location-activity-pvbzzedf.js → location-activity-74j61hac.js} +21 -21
- package/dist/chunks/{location-activity-x327rsa8.js → location-activity-7d822byb.js} +5 -5
- package/dist/chunks/{location-activity-pcqce75p.js → location-activity-7dy85ahw.js} +1 -1
- package/dist/chunks/{location-activity-zzh1kv67.js → location-activity-7pd44fd0.js} +9 -9
- package/dist/chunks/{location-activity-zctryyn5.js → location-activity-7xgtyd0c.js} +7 -7
- package/dist/chunks/{location-activity-w1eejvng.js → location-activity-84txncab.js} +4 -4
- package/dist/chunks/{location-activity-ep3pq24z.js → location-activity-8546h873.js} +8 -8
- package/dist/chunks/{location-activity-zgnngwqk.js → location-activity-89zvgz62.js} +9 -9
- package/dist/chunks/{location-activity-fq0k09qp.js → location-activity-8a1aw2sq.js} +12 -12
- package/dist/chunks/{location-activity-0j9anxys.js → location-activity-8gn6bx6q.js} +3 -3
- package/dist/chunks/{location-activity-3vtc4pgb.js → location-activity-8hzx03zf.js} +10 -10
- package/dist/chunks/{location-activity-3wp60njz.js → location-activity-8k57ph5q.js} +1 -1
- package/dist/chunks/{location-activity-691xqr4y.js → location-activity-8kjnhfq5.js} +5 -5
- package/dist/chunks/{location-activity-m32k1dn8.js → location-activity-8r3ezcdp.js} +16 -16
- package/dist/chunks/{location-activity-c2w9nh9f.js → location-activity-8zmkrsrs.js} +11 -11
- package/dist/chunks/{location-activity-9gea571p.js → location-activity-93ygb5af.js} +5 -5
- package/dist/chunks/{location-activity-77m0p7r2.js → location-activity-95qzmsxv.js} +28 -28
- package/dist/chunks/{location-activity-68hbh74y.js → location-activity-98xtp2tr.js} +20 -20
- package/dist/chunks/{location-activity-rgre93k7.js → location-activity-99fevm3r.js} +31 -31
- package/dist/chunks/{location-activity-s4nntvmh.js → location-activity-9afc0m5f.js} +28 -28
- package/dist/chunks/{location-activity-n27a7nb2.js → location-activity-9c3np669.js} +7 -7
- package/dist/chunks/{location-activity-q58p899m.js → location-activity-9hj49pra.js} +7 -7
- package/dist/chunks/{location-activity-bxjbhrgj.js → location-activity-9qfaj48x.js} +4 -4
- package/dist/chunks/{location-activity-kzxncgwt.js → location-activity-9qyq87xn.js} +17 -17
- package/dist/chunks/{location-activity-vd1y1hms.js → location-activity-9xw7cs1j.js} +9 -9
- package/dist/chunks/{location-activity-e6y7vv2n.js → location-activity-acs0mjra.js} +15 -15
- package/dist/chunks/{location-activity-r5k95fb4.js → location-activity-aexez079.js} +11 -11
- package/dist/chunks/{location-activity-f73rjn58.js → location-activity-afdssyjb.js} +3 -3
- package/dist/chunks/{location-activity-w1v59pe1.js → location-activity-afy8swxe.js} +30 -30
- package/dist/chunks/{location-activity-adbzb285.js → location-activity-antpa588.js} +9 -9
- package/dist/chunks/{location-activity-en6vk7kh.js → location-activity-ap09pqdy.js} +26 -26
- package/dist/chunks/{location-activity-yep97pyq.js → location-activity-aq4sdar7.js} +12 -12
- package/dist/chunks/{location-activity-7ksze7ve.js → location-activity-axezsv51.js} +19 -19
- package/dist/chunks/{location-activity-n2thn3nx.js → location-activity-b69jv39p.js} +1 -1
- package/dist/chunks/{location-activity-k8h7fr5j.js → location-activity-b8tjczfr.js} +42 -42
- package/dist/chunks/{location-activity-s5w3pd96.js → location-activity-bbqry935.js} +16 -16
- package/dist/chunks/{location-activity-93wx4btr.js → location-activity-bm71xt6b.js} +12 -12
- package/dist/chunks/{location-activity-8gj5hy41.js → location-activity-bp17tqv6.js} +9 -9
- package/dist/chunks/{location-activity-1j3dgyx5.js → location-activity-bpvkws8n.js} +16 -16
- package/dist/chunks/{location-activity-ht5y0zrb.js → location-activity-by5v678g.js} +4 -4
- package/dist/chunks/{location-activity-r9w3djhf.js → location-activity-bydnjh3t.js} +7 -7
- package/dist/chunks/{location-activity-92pkkjkx.js → location-activity-c8cj4gj9.js} +12 -12
- package/dist/chunks/{location-activity-1saa9w2b.js → location-activity-ccg33wfc.js} +25 -25
- package/dist/chunks/location-activity-ch4bgybv.js +26 -0
- package/dist/chunks/{location-activity-nandancc.js → location-activity-chg82f90.js} +9 -9
- package/dist/chunks/{location-activity-5yzzbxa7.js → location-activity-cmwkp3r5.js} +7 -7
- package/dist/chunks/{location-activity-qsaz8ezt.js → location-activity-cv2eqrse.js} +29 -29
- package/dist/chunks/{location-activity-999aqn6p.js → location-activity-d1zf30g2.js} +8 -8
- package/dist/chunks/{location-activity-r2m716tb.js → location-activity-d4he2qe1.js} +7 -7
- package/dist/chunks/{location-activity-k1vbp5vp.js → location-activity-dgg25580.js} +25 -25
- package/dist/chunks/{location-activity-k0dn768s.js → location-activity-drnf6xwf.js} +1 -1
- package/dist/chunks/{location-activity-dmbmpn6h.js → location-activity-dwe4pxwy.js} +50 -50
- package/dist/chunks/{location-activity-jyq4wy3w.js → location-activity-dwkbn076.js} +19 -19
- package/dist/chunks/{location-activity-74cdqdj4.js → location-activity-e7rfq5qk.js} +5 -5
- package/dist/chunks/{location-activity-t5zdfcg6.js → location-activity-ea5q4p4y.js} +7 -7
- package/dist/chunks/{location-activity-98c1vh8m.js → location-activity-eh032nwn.js} +10 -10
- package/dist/chunks/{location-activity-xa33e9e0.js → location-activity-es45hdqm.js} +10 -10
- package/dist/chunks/{location-activity-raf959tk.js → location-activity-evgw80pf.js} +9 -9
- package/dist/chunks/{location-activity-4nve2rnj.js → location-activity-ewkxbvxb.js} +3 -3
- package/dist/chunks/{location-activity-7sc99g37.js → location-activity-fn21qp3n.js} +30 -30
- package/dist/chunks/{location-activity-axw8psg0.js → location-activity-ga3wt1wb.js} +4 -4
- package/dist/chunks/{location-activity-4551vydq.js → location-activity-gdb2mabm.js} +21 -21
- package/dist/chunks/{location-activity-c01nkytp.js → location-activity-gh5z95q3.js} +7 -7
- package/dist/chunks/{location-activity-wp1ncj2v.js → location-activity-gvgk8c7e.js} +26 -26
- package/dist/chunks/{location-activity-s3qvcq0a.js → location-activity-gvh84zx5.js} +29 -29
- package/dist/chunks/{location-activity-kwmtrvkt.js → location-activity-gwfkrg1w.js} +9 -9
- package/dist/chunks/{location-activity-28svkdeb.js → location-activity-gzbnsqd9.js} +7 -7
- package/dist/chunks/{location-activity-nthpf047.js → location-activity-h3rnfpnk.js} +15 -15
- package/dist/chunks/{location-activity-tjedn1bk.js → location-activity-h90v2x9d.js} +3 -3
- package/dist/chunks/{location-activity-01tx8f53.js → location-activity-h9aj4q11.js} +31 -31
- package/dist/chunks/{location-activity-qygbw77c.js → location-activity-hdkng2sj.js} +3 -3
- package/dist/chunks/{location-activity-1c9fxvqt.js → location-activity-hh9g5y67.js} +29 -29
- package/dist/chunks/{location-activity-xdnz35gs.js → location-activity-hm01m7g7.js} +3 -3
- package/dist/chunks/{location-activity-9szwjyee.js → location-activity-htjw9qza.js} +5 -5
- package/dist/chunks/{location-activity-1z0xnmzn.js → location-activity-hve73jz4.js} +27 -27
- package/dist/chunks/{location-activity-fcdty1ra.js → location-activity-hw84rczb.js} +18 -18
- package/dist/chunks/{location-activity-9t0ctetm.js → location-activity-jgsyvnsr.js} +14 -14
- package/dist/chunks/{location-activity-pd12hwc5.js → location-activity-jhx55dda.js} +11 -11
- package/dist/chunks/{location-activity-sfepvqeg.js → location-activity-jtystvs1.js} +36 -36
- package/dist/chunks/{location-activity-r57psfea.js → location-activity-k5qa7074.js} +23 -23
- package/dist/chunks/{location-activity-qespzq9h.js → location-activity-k8acefyd.js} +33 -33
- package/dist/chunks/{location-activity-98vraqt9.js → location-activity-kcqsx82s.js} +12 -12
- package/dist/chunks/{location-activity-4f62khv0.js → location-activity-kfxyjhp2.js} +2 -2
- package/dist/chunks/{location-activity-6ysrkrkr.js → location-activity-m6f3t844.js} +7 -7
- package/dist/chunks/{location-activity-w0kqh2my.js → location-activity-mcrs9awc.js} +2 -2
- package/dist/chunks/{location-activity-7pv3en3p.js → location-activity-mf0fq1rn.js} +19 -19
- package/dist/chunks/{location-activity-1ygqh575.js → location-activity-mfqp6xfm.js} +4 -4
- package/dist/chunks/{location-activity-kvvk39gs.js → location-activity-mjymc32g.js} +3 -3
- package/dist/chunks/{location-activity-ezkf672b.js → location-activity-mkr9wt4g.js} +38 -38
- package/dist/chunks/{location-activity-xdjjd8je.js → location-activity-mvk5sdk3.js} +19 -19
- package/dist/chunks/{location-activity-m89858wj.js → location-activity-my4zabxr.js} +3 -3
- package/dist/chunks/{location-activity-1pkjp48q.js → location-activity-my5mqtqa.js} +4 -4
- package/dist/chunks/{location-activity-15cj8qrs.js → location-activity-n26b8tgx.js} +23 -23
- package/dist/chunks/{location-activity-wv95tysd.js → location-activity-n88x4h2h.js} +1 -1
- package/dist/chunks/{location-activity-9yswjp79.js → location-activity-n9jt44w2.js} +23 -23
- package/dist/chunks/{location-activity-rt043p7b.js → location-activity-n9vn1n74.js} +1 -1
- package/dist/chunks/{location-activity-yar1mcnj.js → location-activity-naemj1ng.js} +25 -25
- package/dist/chunks/{location-activity-k0hp4vmt.js → location-activity-ndgpmpdy.js} +166 -166
- package/dist/chunks/{location-activity-30tes4bs.js → location-activity-nm81pwyf.js} +13 -13
- package/dist/chunks/location-activity-ntdxhb5b.js +507 -0
- package/dist/chunks/{location-activity-aw6ckkaw.js → location-activity-p5kec882.js} +10 -10
- package/dist/chunks/{location-activity-h1jr262y.js → location-activity-p5phergm.js} +12 -12
- package/dist/chunks/{location-activity-afjydgk3.js → location-activity-pc4b88sv.js} +3 -3
- package/dist/chunks/{location-activity-8awxj94f.js → location-activity-pdk76dby.js} +11 -11
- package/dist/chunks/{location-activity-mnyyh52c.js → location-activity-pfyxntht.js} +8 -8
- package/dist/chunks/{location-activity-ww0jdshn.js → location-activity-px2g2hh5.js} +10 -10
- package/dist/chunks/{location-activity-wyv8bs3b.js → location-activity-qdwc8vjd.js} +3 -3
- package/dist/chunks/{location-activity-3zyhkej9.js → location-activity-qe22njxj.js} +37 -37
- package/dist/chunks/{location-activity-hqa377zx.js → location-activity-qwk0c288.js} +9 -9
- package/dist/chunks/{location-activity-1hgyh5xj.js → location-activity-r16s11gq.js} +22 -22
- package/dist/chunks/{location-activity-eq1pz5kg.js → location-activity-r5x6zcsm.js} +2 -2
- package/dist/chunks/{location-activity-pfpzmfy3.js → location-activity-r785z29n.js} +10 -10
- package/dist/chunks/{location-activity-9mhdh3s2.js → location-activity-r8pwahr2.js} +19 -19
- package/dist/chunks/{location-activity-tp1cmem0.js → location-activity-rbrpr0tf.js} +8 -8
- package/dist/chunks/{location-activity-4n607a2z.js → location-activity-reg6q42h.js} +3 -3
- package/dist/chunks/{location-activity-y202wsz6.js → location-activity-rt6atwe1.js} +6 -6
- package/dist/chunks/{location-activity-e75k7gt1.js → location-activity-rzp9svrs.js} +24 -24
- package/dist/chunks/{location-activity-1ae0fb0f.js → location-activity-s1nnv2jb.js} +33 -33
- package/dist/chunks/{location-activity-4864cdyv.js → location-activity-s7zwke6p.js} +7 -7
- package/dist/chunks/{location-activity-rhjbct0v.js → location-activity-s8d7rejh.js} +3 -3
- package/dist/chunks/{location-activity-d9shzvfq.js → location-activity-sc8ekjdv.js} +3 -3
- package/dist/chunks/{location-activity-gs3arnfd.js → location-activity-scb56zj4.js} +15 -15
- package/dist/chunks/{location-activity-3v7fz22j.js → location-activity-sfezx90q.js} +22 -22
- package/dist/chunks/{location-activity-ywhkxfss.js → location-activity-snj9fk4t.js} +1 -1
- package/dist/chunks/{location-activity-x8snrdqj.js → location-activity-spexwv49.js} +15 -15
- package/dist/chunks/{location-activity-evg9512y.js → location-activity-t01ewf6t.js} +9 -9
- package/dist/chunks/{location-activity-kmbm8s16.js → location-activity-t9ss9ncx.js} +12 -12
- package/dist/chunks/{location-activity-xcp1w62v.js → location-activity-ta90yy0m.js} +16 -16
- package/dist/chunks/{location-activity-19jk5r44.js → location-activity-tchy2as6.js} +4 -4
- package/dist/chunks/{location-activity-edrmdtr5.js → location-activity-tkmwgdpd.js} +3 -3
- package/dist/chunks/{location-activity-6bnezdwd.js → location-activity-tppswmz8.js} +48 -48
- package/dist/chunks/{location-activity-8sze2n9a.js → location-activity-ts23464c.js} +7 -7
- package/dist/chunks/{location-activity-zqy94ts4.js → location-activity-tspry12c.js} +85 -85
- package/dist/chunks/{location-activity-rag26639.js → location-activity-twbhs20w.js} +31 -31
- package/dist/chunks/{location-activity-v3mm3c9w.js → location-activity-v14bmgrr.js} +27 -27
- package/dist/chunks/{location-activity-azz24fzd.js → location-activity-v1ztxmmr.js} +28 -28
- package/dist/chunks/{location-activity-zxqvfsh3.js → location-activity-v60p8033.js} +19 -19
- package/dist/chunks/{location-activity-jyh3tc31.js → location-activity-vbgjz5a1.js} +18 -18
- package/dist/chunks/{location-activity-g2y161wv.js → location-activity-vevatqc6.js} +7 -7
- package/dist/chunks/{location-activity-s8ne19c9.js → location-activity-vppqr6rw.js} +10 -10
- package/dist/chunks/{location-activity-rrfqxz7e.js → location-activity-vyq9csrv.js} +6 -6
- package/dist/chunks/{location-activity-wkm1v3rg.js → location-activity-w16b05e8.js} +15 -15
- package/dist/chunks/{location-activity-xfkkasph.js → location-activity-w19d8598.js} +4 -4
- package/dist/chunks/{location-activity-g6yfr6ja.js → location-activity-w39jehkq.js} +3 -3
- package/dist/chunks/{location-activity-4pg6v30t.js → location-activity-w3h6nx8g.js} +11 -11
- package/dist/chunks/{location-activity-rw34hyyf.js → location-activity-w9h8gxsn.js} +12 -12
- package/dist/chunks/{location-activity-a3c7ahw6.js → location-activity-wa9g86nq.js} +3 -3
- package/dist/chunks/{location-activity-aqz60ka6.js → location-activity-wgn1zfzh.js} +1 -1
- package/dist/chunks/{location-activity-2nhms0n3.js → location-activity-wn7nbw01.js} +33 -33
- package/dist/chunks/{location-activity-db2wf4at.js → location-activity-x661k3y3.js} +3 -3
- package/dist/chunks/{location-activity-1y7mca2y.js → location-activity-xg14kqgb.js} +27 -27
- package/dist/chunks/{location-activity-dmqcgk4z.js → location-activity-xkntkrq7.js} +3 -3
- package/dist/chunks/{location-activity-vzdd8svv.js → location-activity-xmme1gw6.js} +23 -23
- package/dist/chunks/{location-activity-0rvxctrv.js → location-activity-xqtnfxs2.js} +10 -10
- package/dist/chunks/{location-activity-nj5d45w8.js → location-activity-xs433dsw.js} +21 -21
- package/dist/chunks/{location-activity-n3m3k3m8.js → location-activity-y1bj3ch0.js} +43 -43
- package/dist/chunks/{location-activity-w7srsw53.js → location-activity-yg042q6e.js} +3 -3
- package/dist/chunks/{location-activity-s9jw59ev.js → location-activity-yjdcspkt.js} +16 -16
- package/dist/chunks/{location-activity-yhysz8aj.js → location-activity-yn77b1tp.js} +14 -14
- package/dist/chunks/{location-activity-pb9wnr0k.js → location-activity-yn8chsfy.js} +28 -28
- package/dist/chunks/{location-activity-3gd3w2pg.js → location-activity-ynpd00ff.js} +19 -19
- package/dist/chunks/{location-activity-3sj8yt8v.js → location-activity-yrcj3v3g.js} +3 -3
- package/dist/chunks/{location-activity-sfwtkxz8.js → location-activity-yxkyp4ge.js} +10 -10
- package/dist/chunks/{location-activity-0nh6kzyg.js → location-activity-yxxv8mf9.js} +4 -4
- package/dist/chunks/{location-activity-22dwcya1.js → location-activity-yztx57rc.js} +1 -1
- package/dist/chunks/{location-activity-cs30bwkd.js → location-activity-z58fbe9d.js} +14 -14
- package/dist/chunks/{location-activity-as7cf5zz.js → location-activity-zfs8ae4p.js} +1 -1
- package/dist/chunks/{location-activity-fmdv976f.js → location-activity-zkwghzym.js} +8 -8
- package/dist/chunks/{location-activity-wkp4k51m.js → location-activity-zmkf53nt.js} +11 -11
- package/dist/chunks/{location-activity-4k26tt2c.js → location-activity-zw7rn1n2.js} +17 -17
- package/dist/codemode/instructions.js +10 -10
- package/dist/command.js +62 -62
- package/dist/config/discovery.js +56 -56
- package/dist/config/normalize.js +71 -71
- package/dist/config/plugin/agent.js +83 -83
- package/dist/config/plugin/command.js +163 -163
- package/dist/config/plugin/compaction.js +112 -112
- package/dist/config/plugin/compatibility.js +96 -96
- package/dist/config/plugin/formatter.js +82 -82
- package/dist/config/plugin/image.js +81 -81
- package/dist/config/plugin/instruction.js +62 -62
- package/dist/config/plugin/location-watcher.js +81 -81
- package/dist/config/plugin/mcp.js +91 -91
- package/dist/config/plugin/policy.js +81 -81
- package/dist/config/plugin/provider.js +81 -81
- package/dist/config/plugin/reference.js +83 -83
- package/dist/config/plugin/shell.js +83 -83
- package/dist/config/plugin/skill-file.js +72 -72
- package/dist/config/plugin/skill.js +99 -99
- package/dist/config/plugin/snapshot.js +81 -81
- package/dist/config/plugin/source.js +82 -82
- package/dist/config/plugin/tool-output.js +82 -82
- package/dist/config/plugin/websearch.js +82 -82
- package/dist/config/plugin/worktree.js +82 -82
- package/dist/config.js +85 -85
- package/dist/credential.js +62 -62
- package/dist/database/database.js +49 -49
- package/dist/database/drizzle/effect-sqlite/driver.js +8 -8
- package/dist/database/drizzle/effect-sqlite/index.js +4 -4
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/db.js +5 -5
- package/dist/database/drizzle/sqlite-core/effect/index.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +6 -6
- package/dist/database/drizzle.js +9 -9
- package/dist/database/migration.gen.js +37 -37
- package/dist/database/migration.js +39 -39
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +232 -232
- package/dist/environment/environment.js +63 -63
- package/dist/environment/index.js +63 -63
- package/dist/event-logger.js +13 -13
- package/dist/file-access.js +71 -71
- package/dist/file-mutation.js +64 -64
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +174 -174
- package/dist/filesystem/search.js +71 -71
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +68 -68
- package/dist/form.js +65 -65
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +61 -61
- package/dist/generate.js +75 -75
- package/dist/git.js +5 -5
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +3 -3
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +65 -65
- package/dist/github-copilot/responses/openai-responses-language-model.js +6 -6
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +4 -4
- package/dist/image/photon.js +1 -1
- package/dist/image.js +5 -5
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +300 -300
- package/dist/instruction-discovery.js +56 -56
- package/dist/instructions/builtins.js +61 -61
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +66 -66
- package/dist/job.js +58 -58
- package/dist/kv.js +52 -52
- package/dist/location-activity.js +55 -55
- package/dist/location-lifecycle.js +78 -78
- package/dist/location-service-map.js +60 -60
- package/dist/location-services.js +299 -299
- package/dist/location.js +61 -61
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +17 -17
- package/dist/mcp/index.js +73 -73
- package/dist/mcp/instructions.js +91 -91
- package/dist/mcp/oauth.js +13 -13
- package/dist/mcp/stdio.js +60 -60
- package/dist/modal/models.js +65 -65
- package/dist/model-resolver.js +72 -72
- package/dist/model.js +76 -76
- package/dist/models-dev.js +80 -80
- package/dist/permission/saved.js +58 -58
- package/dist/permission.js +76 -76
- package/dist/persistent-pty/index.js +64 -64
- package/dist/persistent-pty.js +54 -54
- package/dist/plugin/agent.js +75 -75
- package/dist/plugin/command.js +72 -72
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +167 -167
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +274 -274
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +69 -69
- package/dist/plugin/module.js +4 -4
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +73 -73
- package/dist/plugin/provider/amazon-bedrock.js +64 -64
- package/dist/plugin/provider/azure.js +82 -82
- package/dist/plugin/provider/chatgpt.js +66 -66
- package/dist/plugin/provider/cloudflare-ai-gateway.js +79 -79
- package/dist/plugin/provider/cloudflare-workers-ai.js +79 -79
- package/dist/plugin/provider/configured.js +78 -78
- package/dist/plugin/provider/digitalocean.js +66 -66
- package/dist/plugin/provider/github-copilot.js +68 -68
- package/dist/plugin/provider/gitlab.js +66 -66
- package/dist/plugin/provider/google-vertex.js +64 -64
- package/dist/plugin/provider/llmgateway.js +57 -57
- package/dist/plugin/provider/lmstudio.js +81 -81
- package/dist/plugin/provider/modal.js +66 -66
- package/dist/plugin/provider/ollama.js +81 -81
- package/dist/plugin/provider/openai.js +67 -67
- package/dist/plugin/provider/opencode.js +69 -69
- package/dist/plugin/provider/openrouter.js +65 -65
- package/dist/plugin/provider/poe.js +57 -57
- package/dist/plugin/provider/prompt-cache-key.js +64 -64
- package/dist/plugin/provider/sap-ai-core.js +64 -64
- package/dist/plugin/provider/snowflake-cortex.js +80 -80
- package/dist/plugin/provider/vercel.js +64 -64
- package/dist/plugin/provider/vllm.js +81 -81
- package/dist/plugin/provider/xai.js +65 -65
- package/dist/plugin/provider.js +113 -113
- package/dist/plugin/sdk.js +57 -57
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +97 -97
- package/dist/plugin/supervisor.js +291 -291
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +5 -5
- package/dist/plugin/vcs/git.js +60 -60
- package/dist/plugin/vcs/hg.js +60 -60
- package/dist/plugin/verbosity.js +67 -67
- package/dist/plugin/warming.js +80 -80
- package/dist/plugin/websearch/exa.js +6 -6
- package/dist/plugin/websearch/firecrawl.js +7 -7
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +3 -3
- package/dist/plugin/websearch/parallel.js +5 -5
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +176 -176
- package/dist/project/schema.js +5 -5
- package/dist/project.js +62 -62
- package/dist/provider.js +73 -73
- package/dist/pty.js +72 -72
- package/dist/reference/instructions.js +63 -63
- package/dist/reference.js +67 -67
- package/dist/repository-cache.js +57 -57
- package/dist/repository.js +3 -3
- package/dist/ripgrep.js +66 -66
- package/dist/rpc.js +60 -60
- package/dist/session/command.js +55 -55
- package/dist/session/compaction.js +97 -97
- package/dist/session/context.js +111 -111
- package/dist/session/diff.js +61 -61
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +113 -113
- package/dist/session/execution.js +94 -94
- package/dist/session/generate.js +112 -112
- package/dist/session/history.js +7 -7
- package/dist/session/inbox.js +62 -62
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +57 -57
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +69 -69
- package/dist/session/message-updater.js +3 -3
- package/dist/session/model-request.js +85 -85
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +97 -97
- package/dist/session/projector.js +61 -61
- package/dist/session/prompt.js +75 -75
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +62 -62
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +178 -178
- package/dist/session/runner/model.js +72 -72
- package/dist/session/runner/publish-llm-event.js +83 -83
- package/dist/session/runner/retry.js +3 -3
- package/dist/session/runner/step.js +92 -92
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +124 -124
- package/dist/session/shell.js +95 -95
- package/dist/session/skill.js +74 -74
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +64 -64
- package/dist/session/subagent-job.js +160 -160
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +116 -116
- package/dist/session/to-session-error.js +82 -82
- package/dist/session/transfer.js +110 -110
- package/dist/session.js +168 -168
- package/dist/shell/parse.js +3 -3
- package/dist/shell/select.js +10 -10
- package/dist/shell.js +98 -98
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +78 -78
- package/dist/skill.js +83 -83
- package/dist/snapshot.js +65 -65
- package/dist/tool/mcp.js +92 -92
- package/dist/tool/plugin/edit.js +86 -86
- package/dist/tool/plugin/glob.js +89 -89
- package/dist/tool/plugin/grep.js +87 -87
- package/dist/tool/plugin/mcp-resource.js +84 -84
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +88 -88
- package/dist/tool/plugin/question.js +74 -74
- package/dist/tool/plugin/read.js +90 -90
- package/dist/tool/plugin/shell.js +164 -164
- package/dist/tool/plugin/skill.js +84 -84
- package/dist/tool/plugin/subagent.js +167 -167
- package/dist/tool/plugin/webfetch.js +80 -80
- package/dist/tool/plugin/websearch.js +84 -84
- package/dist/tool/plugin/write.js +88 -88
- package/dist/tool/read-filesystem.js +68 -68
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +9 -9
- package/dist/v1/config/agent.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +65 -65
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +67 -67
- package/dist/vcs.js +63 -63
- package/dist/websearch.js +62 -62
- package/dist/wellknown/plugin.js +56 -56
- package/dist/wellknown.js +59 -59
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace.js +61 -61
- package/dist/worktree/git.js +4 -4
- package/dist/worktree/strategies.js +62 -62
- package/dist/worktree.js +70 -70
- package/package.json +8 -8
- package/dist/chunks/location-activity-g1p6fzp9.js +0 -26
- package/dist/chunks/location-activity-kpht16y1.js +0 -507
- package/dist/chunks/location-activity-ygxrzp7v.js +0 -253
- /package/dist/chunks/{location-activity-yq8dak3p.js → location-activity-0p53prm6.js} +0 -0
- /package/dist/chunks/{location-activity-5wzag2z6.js → location-activity-5jrbfcyk.js} +0 -0
- /package/dist/chunks/{location-activity-as4zy6vm.js → location-activity-gnhsmmqn.js} +0 -0
- /package/dist/chunks/{location-activity-fwfdmgk0.js → location-activity-jgttmm4a.js} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-activity-
|
|
2
|
+
Service49
|
|
3
|
+
} from "./location-activity-mkr9wt4g.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-activity-
|
|
5
|
+
Service53
|
|
6
|
+
} from "./location-activity-6n4b0dsb.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./location-activity-qsdy395h.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin9
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin9 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
|
+
const image = yield* Service53;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin49 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin9, exports_image };
|
|
@@ -2,14 +2,14 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-activity-
|
|
5
|
+
Service76
|
|
6
|
+
} from "./location-activity-acs0mjra.js";
|
|
7
7
|
import {
|
|
8
8
|
Service14
|
|
9
|
-
} from "./location-activity-
|
|
9
|
+
} from "./location-activity-yxkyp4ge.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-activity-
|
|
11
|
+
Service11
|
|
12
|
+
} from "./location-activity-4sf4b4a1.js";
|
|
13
13
|
import {
|
|
14
14
|
NotFound2
|
|
15
15
|
} from "./location-activity-2a5m3afh.js";
|
|
@@ -23,8 +23,8 @@ import {
|
|
|
23
23
|
FileContent2,
|
|
24
24
|
TextPage2,
|
|
25
25
|
ListPage2,
|
|
26
|
-
|
|
27
|
-
} from "./location-activity-
|
|
26
|
+
Service12
|
|
27
|
+
} from "./location-activity-aq4sdar7.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
30
|
} from "./location-activity-9rqn6x4v.js";
|
|
@@ -32,17 +32,17 @@ import {
|
|
|
32
32
|
// src/tool/plugin/read.ts
|
|
33
33
|
var exports_read = {};
|
|
34
34
|
__export(exports_read, {
|
|
35
|
-
Input: () =>
|
|
36
|
-
Plugin: () =>
|
|
35
|
+
Input: () => Input12,
|
|
36
|
+
Plugin: () => Plugin48,
|
|
37
37
|
ReadTool: () => exports_read,
|
|
38
|
-
name: () =>
|
|
39
|
-
toModelContent: () =>
|
|
38
|
+
name: () => name12,
|
|
39
|
+
toModelContent: () => toModelContent6
|
|
40
40
|
});
|
|
41
41
|
import { basename, dirname, join } from "path";
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
45
|
-
var
|
|
45
|
+
var name12 = "read";
|
|
46
46
|
var FILENAME = "AGENTS.md";
|
|
47
47
|
var LocationInput = Schema.Struct({
|
|
48
48
|
path: Schema.String.annotate({ description: "File or directory to read" }),
|
|
@@ -53,21 +53,21 @@ var LocationInput = Schema.Struct({
|
|
|
53
53
|
description: "The maximum number of lines or directory entries to read (defaults to and capped at 2000)"
|
|
54
54
|
})
|
|
55
55
|
});
|
|
56
|
-
var
|
|
56
|
+
var Input12 = LocationInput;
|
|
57
57
|
var Output = Schema.Union([FileContent2, TextPage2, ListPage2]);
|
|
58
|
-
var
|
|
58
|
+
var Plugin48 = {
|
|
59
59
|
id: "opencode.tool.read",
|
|
60
60
|
effect: Effect.fn("ReadTool.Plugin")(function* (ctx) {
|
|
61
|
-
const reader = yield*
|
|
61
|
+
const reader = yield* Service12;
|
|
62
62
|
const access = yield* Service14;
|
|
63
|
-
const sessionInstructions = yield*
|
|
63
|
+
const sessionInstructions = yield* Service11;
|
|
64
64
|
const fs = yield* FSUtil.Service;
|
|
65
|
-
const location = yield*
|
|
65
|
+
const location = yield* Service76;
|
|
66
66
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
67
|
-
name:
|
|
67
|
+
name: name12,
|
|
68
68
|
options: { codemode: false },
|
|
69
69
|
description: "Read the contents of a file or directory. Supports text files, images, and PDFs. Images and PDFs are presented directly to the model. Each text line is prefixed by its 1-based line number as <line>: <content>. The prefix is for reference and is not part of the file content. Directory entries are returned one per line. Use offset and limit to read large files or directories in sections. Prefer one larger read over many small slices, and use grep to find specific content in large files.",
|
|
70
|
-
input:
|
|
70
|
+
input: Input12,
|
|
71
71
|
output: Output,
|
|
72
72
|
execute: (input, context) => {
|
|
73
73
|
return Effect.gen(function* () {
|
|
@@ -113,7 +113,7 @@ var Plugin30 = {
|
|
|
113
113
|
return { output: result.content, path: result.path };
|
|
114
114
|
}).pipe(Effect.map((result) => ({
|
|
115
115
|
output: result.output,
|
|
116
|
-
content:
|
|
116
|
+
content: toModelContent6(result.path, input.offset, result.output),
|
|
117
117
|
metadata: { truncated: result.output.type === "file" ? false : result.output.truncated }
|
|
118
118
|
})), Effect.mapError((error) => {
|
|
119
119
|
if (error instanceof ToolFailure)
|
|
@@ -146,7 +146,7 @@ ${suggestions.join(`
|
|
|
146
146
|
});
|
|
147
147
|
})
|
|
148
148
|
};
|
|
149
|
-
var
|
|
149
|
+
var toModelContent6 = (path, offset, output) => {
|
|
150
150
|
if (output.type === "file" && output.encoding === "base64")
|
|
151
151
|
return [
|
|
152
152
|
{ type: "text", text: output.mime === "application/pdf" ? "PDF read successfully" : "Image read successfully" },
|
|
@@ -182,4 +182,4 @@ var toModelContent5 = (path, offset, output) => {
|
|
|
182
182
|
`);
|
|
183
183
|
};
|
|
184
184
|
|
|
185
|
-
export {
|
|
185
|
+
export { name12, Input12, Plugin48, toModelContent6, exports_read };
|
|
@@ -5,7 +5,7 @@ import {
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/unstable/process";
|
|
8
|
-
function
|
|
8
|
+
function make5(input) {
|
|
9
9
|
const disabled = false;
|
|
10
10
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
11
11
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -261,4 +261,4 @@ function isRecord(input) {
|
|
|
261
261
|
return Boolean(input && typeof input === "object" && !Array.isArray(input));
|
|
262
262
|
}
|
|
263
263
|
|
|
264
|
-
export {
|
|
264
|
+
export { make5 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID11,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./location-activity-
|
|
4
|
+
} from "./location-activity-k8acefyd.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./location-activity-
|
|
6
|
+
Service49
|
|
7
|
+
} from "./location-activity-mkr9wt4g.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./location-activity-
|
|
10
|
+
} from "./location-activity-6xx2thcq.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/ollama.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -45,12 +45,12 @@ var ShowResponse = Schema.Struct({
|
|
|
45
45
|
});
|
|
46
46
|
var discovery = new Map;
|
|
47
47
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
48
|
-
function
|
|
48
|
+
function make8(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
49
49
|
return define({
|
|
50
50
|
id: "opencode.provider.ollama",
|
|
51
51
|
effect: Effect.fn(function* (ctx) {
|
|
52
52
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
53
|
-
const config = yield*
|
|
53
|
+
const config = yield* Service49;
|
|
54
54
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
55
55
|
const loaded = { models: [], hash: "[]" };
|
|
56
56
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -77,7 +77,7 @@ function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
77
77
|
});
|
|
78
78
|
for (const item of loaded.models) {
|
|
79
79
|
providers.models.update(providerID, item.model, (model) => {
|
|
80
|
-
model.modelID =
|
|
80
|
+
model.modelID = ID11.make(item.model);
|
|
81
81
|
model.name = item.name || item.model;
|
|
82
82
|
model.family = item.show.details?.family ? Family2.make(item.show.details.family) : item.details.family ? Family2.make(item.details.family) : undefined;
|
|
83
83
|
model.capabilities = {
|
|
@@ -151,7 +151,7 @@ function make3(origin = "http://127.0.0.1:11434", interval = "30 seconds") {
|
|
|
151
151
|
})
|
|
152
152
|
});
|
|
153
153
|
}
|
|
154
|
-
var OllamaPlugin2 =
|
|
154
|
+
var OllamaPlugin2 = make8();
|
|
155
155
|
function configured(entries, origin) {
|
|
156
156
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
157
157
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -170,4 +170,4 @@ function configured(entries, origin) {
|
|
|
170
170
|
return { baseURL, apiKey, tagsEndpoint, showEndpoint: url.toString() };
|
|
171
171
|
}
|
|
172
172
|
|
|
173
|
-
export {
|
|
173
|
+
export { make8, OllamaPlugin2 };
|
|
@@ -2,19 +2,19 @@ import {
|
|
|
2
2
|
AbsolutePath2
|
|
3
3
|
} from "./location-activity-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./location-activity-
|
|
5
|
+
Service78,
|
|
6
|
+
node81
|
|
7
|
+
} from "./location-activity-52qcnbw8.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
parse4,
|
|
10
10
|
validateBranch3,
|
|
11
11
|
cachePath2,
|
|
12
12
|
same2
|
|
13
|
-
} from "./location-activity-
|
|
13
|
+
} from "./location-activity-84txncab.js";
|
|
14
14
|
import {
|
|
15
15
|
Service82,
|
|
16
|
-
|
|
17
|
-
} from "./location-activity-
|
|
16
|
+
node86
|
|
17
|
+
} from "./location-activity-tchy2as6.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./location-activity-9rqn6x4v.js";
|
|
@@ -30,9 +30,9 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service46,
|
|
34
34
|
isError: () => isError2,
|
|
35
|
-
node: () =>
|
|
35
|
+
node: () => node49,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
37
37
|
});
|
|
38
38
|
import path from "path";
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service46 extends Context.Service()("@opencode/RepositoryCache") {
|
|
94
94
|
}
|
|
95
95
|
function isError2(error) {
|
|
96
96
|
return error instanceof InvalidBranchError2 || error instanceof CloneFailedError2 || error instanceof FetchFailedError2 || error instanceof CheckoutFailedError2 || error instanceof ResetFailedError2 || error instanceof LockFailedError2 || error instanceof CacheOperationError2;
|
|
@@ -101,25 +101,25 @@ var validateBranch2 = Effect.fn("RepositoryCache.validateBranch")(function* (bra
|
|
|
101
101
|
catch: (error) => new InvalidBranchError2({ branch, message: errorMessage(error) })
|
|
102
102
|
});
|
|
103
103
|
});
|
|
104
|
-
var layer = Layer.effect(
|
|
104
|
+
var layer = Layer.effect(Service46, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
|
-
const git = yield*
|
|
106
|
+
const git = yield* Service78;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
109
|
const kv = yield* Service82;
|
|
110
|
-
return
|
|
110
|
+
return Service46.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
114
114
|
const repository = input.reference.label;
|
|
115
115
|
const localPath = cachePath2(global.repos, input.reference, input.branch);
|
|
116
116
|
const key = `repository-cache:${localPath}`;
|
|
117
|
-
const cloneTarget =
|
|
117
|
+
const cloneTarget = parse4(input.reference.remote) ?? input.reference;
|
|
118
118
|
return yield* flock.withLock(Effect.gen(function* () {
|
|
119
119
|
yield* cacheOperation(fs.ensureDir(path.dirname(localPath)), "ensure cache directory", localPath);
|
|
120
120
|
const existing = yield* git.repo.discover(AbsolutePath2.make(localPath));
|
|
121
121
|
const origin = existing ? yield* git.remote.get(existing) : undefined;
|
|
122
|
-
const originReference = origin ?
|
|
122
|
+
const originReference = origin ? parse4(origin) : undefined;
|
|
123
123
|
const worktree = existing ? yield* fs.resolve(localPath) : undefined;
|
|
124
124
|
const reuse = Boolean(existing && existing.worktree === worktree && originReference && same2(originReference, cloneTarget));
|
|
125
125
|
if (!reuse && (yield* fs.existsSafe(localPath))) {
|
|
@@ -167,10 +167,10 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
167
167
|
})
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
|
-
var
|
|
171
|
-
service:
|
|
170
|
+
var node49 = makeGlobalNode({
|
|
171
|
+
service: Service46,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node81, Global.node, node86]
|
|
174
174
|
});
|
|
175
175
|
function errorMessage(error) {
|
|
176
176
|
return error instanceof globalThis.Error ? error.message : String(error);
|
|
@@ -179,4 +179,4 @@ function cacheOperation(effect, operation, target) {
|
|
|
179
179
|
return effect.pipe(Effect.mapError((error) => new CacheOperationError2({ operation, path: target, message: errorMessage(error) })));
|
|
180
180
|
}
|
|
181
181
|
|
|
182
|
-
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2,
|
|
182
|
+
export { InvalidBranchError2, CloneFailedError2, FetchFailedError2, CheckoutFailedError2, ResetFailedError2, LockFailedError2, CacheOperationError2, Service46, isError2, validateBranch2, node49, exports_repository_cache };
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service79,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node82
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service79 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service40, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service79.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node82 = makeLocationNode({
|
|
137
|
+
service: Service79,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service79, node82, exports_tool_output2 };
|
|
@@ -8,14 +8,14 @@ import {
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin31,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin31 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin31, exports_tool_input_repair };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./location-activity-
|
|
3
|
+
Service49
|
|
4
|
+
} from "./location-activity-mkr9wt4g.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
7
|
} from "./location-activity-9rqn6x4v.js";
|
|
@@ -9,7 +9,7 @@ import {
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin34,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin34 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service49;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin16 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin34, exports_warming };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./location-activity-
|
|
3
|
+
} from "./location-activity-8hzx03zf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-activity-
|
|
5
|
+
Service83
|
|
6
|
+
} from "./location-activity-3sp6t7s4.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./location-activity-
|
|
9
|
+
Event17
|
|
10
|
+
} from "./location-activity-418bx8zc.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./location-activity-
|
|
13
|
+
} from "./location-activity-x661k3y3.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./location-activity-
|
|
18
|
+
} from "./location-activity-4rjwr4eq.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./location-activity-
|
|
20
|
+
Service18
|
|
21
|
+
} from "./location-activity-m6f3t844.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID12,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./location-activity-
|
|
26
|
+
} from "./location-activity-99fevm3r.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./location-activity-
|
|
29
|
+
} from "./location-activity-k8acefyd.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
ID18,
|
|
32
32
|
Input14,
|
|
33
33
|
Response2
|
|
34
|
-
} from "./location-activity-
|
|
34
|
+
} from "./location-activity-3c002fa5.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/opencode.ts
|
|
37
37
|
import { Duration, Effect, Equal, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -47,7 +47,7 @@ var methodID = MethodID2.make("device");
|
|
|
47
47
|
var RemoteResponse = Schema.Struct({
|
|
48
48
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
49
49
|
websearch: Schema.Struct({
|
|
50
|
-
providerID:
|
|
50
|
+
providerID: ID18
|
|
51
51
|
}).pipe(Schema.optional),
|
|
52
52
|
mcp: Schema.Struct({
|
|
53
53
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -99,7 +99,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
99
99
|
}
|
|
100
100
|
function oauth(http) {
|
|
101
101
|
return {
|
|
102
|
-
integrationID:
|
|
102
|
+
integrationID: ID13.make("opencode"),
|
|
103
103
|
method: {
|
|
104
104
|
id: methodID,
|
|
105
105
|
type: "oauth",
|
|
@@ -163,10 +163,10 @@ function oauth(http) {
|
|
|
163
163
|
var OpencodePlugin2 = define({
|
|
164
164
|
id: "opencode.provider.opencode",
|
|
165
165
|
effect: Effect.fn(function* (ctx) {
|
|
166
|
-
const bus = yield*
|
|
166
|
+
const bus = yield* Service83;
|
|
167
167
|
const client = yield* HttpClient.HttpClient;
|
|
168
168
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
169
|
-
const managed = yield*
|
|
169
|
+
const managed = yield* Service18;
|
|
170
170
|
const scope = yield* Scope.Scope;
|
|
171
171
|
const loading = Semaphore.makeUnsafe(1);
|
|
172
172
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -215,7 +215,7 @@ var OpencodePlugin2 = define({
|
|
|
215
215
|
providers.update(providerID, (provider) => {
|
|
216
216
|
if (source && source.provider !== provider)
|
|
217
217
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
218
|
-
provider.integrationID =
|
|
218
|
+
provider.integrationID = ID13.make("opencode");
|
|
219
219
|
if (item.canonical !== undefined)
|
|
220
220
|
provider.canonical = item.canonical;
|
|
221
221
|
if (item.name !== undefined)
|
|
@@ -281,7 +281,7 @@ var OpencodePlugin2 = define({
|
|
|
281
281
|
sourceConnection: snapshot.connection
|
|
282
282
|
});
|
|
283
283
|
}
|
|
284
|
-
const item = providers.get(
|
|
284
|
+
const item = providers.get(ID12.opencode);
|
|
285
285
|
if (!item)
|
|
286
286
|
return;
|
|
287
287
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -293,7 +293,7 @@ var OpencodePlugin2 = define({
|
|
|
293
293
|
});
|
|
294
294
|
});
|
|
295
295
|
yield* ctx.model.transform((models) => {
|
|
296
|
-
const item = models.provider.get(
|
|
296
|
+
const item = models.provider.get(ID12.opencode);
|
|
297
297
|
if (!item)
|
|
298
298
|
return;
|
|
299
299
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -382,10 +382,10 @@ var OpencodePlugin2 = define({
|
|
|
382
382
|
});
|
|
383
383
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
384
384
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
385
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
385
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID12.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
386
386
|
});
|
|
387
387
|
yield* guard(snapshot);
|
|
388
|
-
yield* bus.subscribe(
|
|
388
|
+
yield* bus.subscribe(Event17.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("opencode")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
389
389
|
yield* Effect.sleep(Duration.minutes(1)).pipe(Effect.andThen(check()), Effect.forever, Effect.forkScoped);
|
|
390
390
|
})
|
|
391
391
|
});
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./location-activity-
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node80
|
|
8
|
-
} from "./location-activity-en6vk7kh.js";
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./location-activity-3sp6t7s4.js";
|
|
9
5
|
import {
|
|
10
6
|
Service75,
|
|
11
7
|
node78
|
|
12
|
-
} from "./location-activity-
|
|
8
|
+
} from "./location-activity-ap09pqdy.js";
|
|
9
|
+
import {
|
|
10
|
+
Service77,
|
|
11
|
+
node80
|
|
12
|
+
} from "./location-activity-0n82bpqs.js";
|
|
13
13
|
import {
|
|
14
14
|
Ref4,
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./location-activity-
|
|
15
|
+
Service76,
|
|
16
|
+
node79
|
|
17
|
+
} from "./location-activity-acs0mjra.js";
|
|
18
18
|
import {
|
|
19
19
|
canonical3
|
|
20
|
-
} from "./location-activity-
|
|
20
|
+
} from "./location-activity-zkwghzym.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionEvent2
|
|
23
23
|
} from "./location-activity-ec1grn59.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./location-activity-
|
|
25
|
+
Service64,
|
|
26
|
+
node67
|
|
27
|
+
} from "./location-activity-wn7nbw01.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./location-activity-
|
|
29
|
+
Service27,
|
|
30
|
+
node30
|
|
31
|
+
} from "./location-activity-ta90yy0m.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
34
|
} from "./location-activity-9rqn6x4v.js";
|
|
@@ -37,23 +37,23 @@ import {
|
|
|
37
37
|
var exports_location_lifecycle = {};
|
|
38
38
|
__export(exports_location_lifecycle, {
|
|
39
39
|
LocationLifecycle: () => exports_location_lifecycle,
|
|
40
|
-
Service: () =>
|
|
41
|
-
node: () =>
|
|
40
|
+
Service: () => Service20,
|
|
41
|
+
node: () => node22
|
|
42
42
|
});
|
|
43
43
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
44
44
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
45
45
|
import { LocationEvent } from "@opencode/schema/location-event";
|
|
46
46
|
var isSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
47
47
|
|
|
48
|
-
class
|
|
48
|
+
class Service20 extends Context.Service()("@opencode/LocationLifecycle") {
|
|
49
49
|
}
|
|
50
|
-
var layer = Layer.effect(
|
|
51
|
-
const bus = yield*
|
|
52
|
-
const location = yield*
|
|
53
|
-
const permission = yield*
|
|
54
|
-
const forms = yield*
|
|
55
|
-
const rpc = yield*
|
|
56
|
-
const project = yield*
|
|
50
|
+
var layer = Layer.effect(Service20, Effect.gen(function* () {
|
|
51
|
+
const bus = yield* Service83;
|
|
52
|
+
const location = yield* Service76;
|
|
53
|
+
const permission = yield* Service64;
|
|
54
|
+
const forms = yield* Service75;
|
|
55
|
+
const rpc = yield* Service27;
|
|
56
|
+
const project = yield* Service77;
|
|
57
57
|
const scope = yield* Effect.scope;
|
|
58
58
|
yield* project.activate(location.project.id);
|
|
59
59
|
const unsubscribe = yield* bus.listen((event) => {
|
|
@@ -75,15 +75,15 @@ var layer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
75
75
|
location: Ref4.make({ directory: location.directory, workspaceID: location.workspaceID })
|
|
76
76
|
});
|
|
77
77
|
}).pipe(Effect.uninterruptible));
|
|
78
|
-
return
|
|
78
|
+
return Service20.of({
|
|
79
79
|
isClosed: () => closed,
|
|
80
80
|
shutdown
|
|
81
81
|
});
|
|
82
82
|
}));
|
|
83
|
-
var
|
|
84
|
-
service:
|
|
83
|
+
var node22 = makeLocationNode({
|
|
84
|
+
service: Service20,
|
|
85
85
|
layer,
|
|
86
|
-
deps: [
|
|
86
|
+
deps: [node87, node79, node67, node80, node78, node30]
|
|
87
87
|
});
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Service20, node22, exports_location_lifecycle };
|