@opencode/core 0.0.0-dev-20968 → 0.0.0-dev-20970
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 +70 -70
- package/dist/aisdk-native.js +68 -68
- package/dist/aisdk.js +73 -73
- package/dist/app.js +7 -7
- package/dist/bus.js +59 -59
- package/dist/chunks/{location-service-map-vfd5z52g.js → location-service-map-0e0z4xs4.js} +22 -22
- package/dist/chunks/{location-service-map-t550f9t1.js → location-service-map-0gdmqesm.js} +3 -3
- package/dist/chunks/{location-service-map-2gw07b48.js → location-service-map-0hws4rz6.js} +22 -22
- package/dist/chunks/{location-service-map-4v7ngy20.js → location-service-map-0xqyf95c.js} +3 -3
- package/dist/chunks/{location-service-map-3fgtv7ze.js → location-service-map-15gp8gwp.js} +18 -18
- package/dist/chunks/{location-service-map-wvf4y7rr.js → location-service-map-1cwtqt4r.js} +17 -17
- package/dist/chunks/{location-service-map-bjx1sjef.js → location-service-map-1ffvrpkg.js} +4 -4
- package/dist/chunks/{location-service-map-emxdjm72.js → location-service-map-1g7cdmxb.js} +20 -20
- package/dist/chunks/{location-service-map-a62egxb3.js → location-service-map-1j6f3fcz.js} +4 -4
- package/dist/chunks/{location-service-map-kp5we7ps.js → location-service-map-1nswxt31.js} +24 -24
- package/dist/chunks/{location-service-map-4z58m4b4.js → location-service-map-1rn5pcm9.js} +3 -3
- package/dist/chunks/{location-service-map-mgjjdy5b.js → location-service-map-2f8xmtvs.js} +9 -9
- package/dist/chunks/{location-service-map-a42kkhkg.js → location-service-map-2gbtb9ex.js} +27 -27
- package/dist/chunks/{location-service-map-e334ff5n.js → location-service-map-2kgr186q.js} +17 -17
- package/dist/chunks/{location-service-map-hxtckxf3.js → location-service-map-2sxk7h72.js} +25 -25
- package/dist/chunks/{location-service-map-bpq9gadp.js → location-service-map-2wdjt9g8.js} +12 -12
- package/dist/chunks/{location-service-map-5jvy51wy.js → location-service-map-333jpv82.js} +1 -1
- package/dist/chunks/{location-service-map-vxznmwbn.js → location-service-map-3a7h0qtw.js} +12 -12
- package/dist/chunks/{location-service-map-yjqnk9hn.js → location-service-map-3p5gpzs5.js} +25 -25
- package/dist/chunks/{location-service-map-5pyvwtgy.js → location-service-map-3sw2dssw.js} +12 -12
- package/dist/chunks/{location-service-map-trecwywa.js → location-service-map-3z3xn5yy.js} +18 -18
- package/dist/chunks/{location-service-map-qrabmw5q.js → location-service-map-40jkzs91.js} +44 -44
- package/dist/chunks/{location-service-map-st6tfvct.js → location-service-map-47yqzcwx.js} +28 -28
- package/dist/chunks/{location-service-map-qb7q1f1d.js → location-service-map-4f3wm1ac.js} +12 -12
- package/dist/chunks/{location-service-map-mh8n60fa.js → location-service-map-4h8beb84.js} +42 -42
- package/dist/chunks/{location-service-map-had4kgfk.js → location-service-map-4ns3h2re.js} +3 -3
- package/dist/chunks/{location-service-map-9d2vkprr.js → location-service-map-4ybf7fnk.js} +9 -9
- package/dist/chunks/{location-service-map-exs4tskk.js → location-service-map-50n7yzyq.js} +44 -44
- package/dist/chunks/{location-service-map-4sqgwhvg.js → location-service-map-58sy987p.js} +14 -14
- package/dist/chunks/{location-service-map-8czxvfjx.js → location-service-map-5jz5gmkx.js} +28 -28
- package/dist/chunks/{location-service-map-5cs9fw4j.js → location-service-map-5mq28h2t.js} +13 -13
- package/dist/chunks/{location-service-map-a4hp8e9p.js → location-service-map-5tjn6tpp.js} +15 -15
- package/dist/chunks/{location-service-map-gabsh7yw.js → location-service-map-5wbv3d1w.js} +6 -6
- package/dist/chunks/{location-service-map-9hn6k4tm.js → location-service-map-5xtgfte3.js} +7 -7
- package/dist/chunks/{location-service-map-gd0tnyjc.js → location-service-map-68wqtz75.js} +1 -1
- package/dist/chunks/{location-service-map-x5wrmng7.js → location-service-map-6bjhz71w.js} +3 -3
- package/dist/chunks/{location-service-map-g0xzmjr0.js → location-service-map-6jpm8ex2.js} +16 -16
- package/dist/chunks/{location-service-map-8ykp9xbw.js → location-service-map-79nhj7b6.js} +29 -29
- package/dist/chunks/{location-service-map-2k8khapm.js → location-service-map-7dqw4kz8.js} +4 -4
- package/dist/chunks/{location-service-map-ej81gkeg.js → location-service-map-7k1rdhbp.js} +5 -5
- package/dist/chunks/{location-service-map-hhyv66vq.js → location-service-map-7ph0vnsv.js} +7 -7
- package/dist/chunks/{location-service-map-kdxh9szv.js → location-service-map-7zdn2k09.js} +9 -9
- package/dist/chunks/{location-service-map-k4xdy46r.js → location-service-map-80m1sdbk.js} +314 -314
- package/dist/chunks/{location-service-map-vycw7md4.js → location-service-map-80scg3y3.js} +3 -3
- package/dist/chunks/{location-service-map-dacbrmk2.js → location-service-map-89x5zc49.js} +5 -5
- package/dist/chunks/{location-service-map-najnejyn.js → location-service-map-8acdjqfv.js} +11 -11
- package/dist/chunks/{location-service-map-mt6brxxc.js → location-service-map-8fe0d2sh.js} +1 -1
- package/dist/chunks/{location-service-map-w34bt5ev.js → location-service-map-8v3872mr.js} +4 -4
- package/dist/chunks/{location-service-map-0fzbfnq7.js → location-service-map-8z12w5mn.js} +1 -1
- package/dist/chunks/{location-service-map-6mdwj01c.js → location-service-map-9a1mrhyh.js} +13 -13
- package/dist/chunks/{location-service-map-qe178b41.js → location-service-map-9byyftbt.js} +22 -22
- package/dist/chunks/{location-service-map-kww7pfa5.js → location-service-map-9m4mwgwd.js} +5 -5
- package/dist/chunks/{location-service-map-7fj5dwt0.js → location-service-map-9sh4wc5j.js} +4 -4
- package/dist/chunks/{location-service-map-w75czvp0.js → location-service-map-9t8w0vez.js} +4 -4
- package/dist/chunks/{location-service-map-6xc75jjq.js → location-service-map-a22dk6g9.js} +43 -43
- package/dist/chunks/{location-service-map-jeewe651.js → location-service-map-a5e101j6.js} +4 -4
- package/dist/chunks/{location-service-map-0hw4dk4w.js → location-service-map-a7z0fe8c.js} +1 -1
- package/dist/chunks/{location-service-map-69jqfsnf.js → location-service-map-a8hvaj9p.js} +8 -8
- package/dist/chunks/{location-service-map-x661k3y3.js → location-service-map-addxnjmp.js} +3 -3
- package/dist/chunks/{location-service-map-j5chjq9f.js → location-service-map-agg557zn.js} +9 -9
- package/dist/chunks/{location-service-map-jrzj45fy.js → location-service-map-ah1t51zw.js} +9 -9
- package/dist/chunks/{location-service-map-1xjc3krj.js → location-service-map-ah9s4888.js} +4 -4
- package/dist/chunks/{location-service-map-05hkmm44.js → location-service-map-apbyd0y0.js} +13 -13
- package/dist/chunks/{location-service-map-jvnghvnw.js → location-service-map-at1kfnmk.js} +7 -7
- package/dist/chunks/{location-service-map-nc1ev885.js → location-service-map-av4ka64b.js} +70 -70
- package/dist/chunks/{location-service-map-bh3fdk74.js → location-service-map-avdzqnth.js} +2 -2
- package/dist/chunks/{location-service-map-jpaf2qm1.js → location-service-map-b5ab48k5.js} +41 -41
- package/dist/chunks/{location-service-map-thf5141v.js → location-service-map-bg0scr0s.js} +4 -4
- package/dist/chunks/{location-service-map-t9es0ena.js → location-service-map-bpqmbvp8.js} +17 -17
- package/dist/chunks/{location-service-map-ncp1h5wm.js → location-service-map-brzr8pgk.js} +1 -1
- package/dist/chunks/{location-service-map-xdfgfet0.js → location-service-map-bz1ch3a7.js} +24 -24
- package/dist/chunks/{location-service-map-kcdapykd.js → location-service-map-c67afrq3.js} +6 -6
- package/dist/chunks/{location-service-map-rfnwmvtk.js → location-service-map-c9y76qr3.js} +10 -10
- package/dist/chunks/{location-service-map-r2m716tb.js → location-service-map-cwa6csj7.js} +7 -7
- package/dist/chunks/{location-service-map-mdmc61fe.js → location-service-map-d2s7sfgk.js} +3 -3
- package/dist/chunks/{location-service-map-bjkg2ks4.js → location-service-map-dbd4bcxh.js} +24 -24
- package/dist/chunks/{location-service-map-6bkr64fg.js → location-service-map-ddnd35kk.js} +8 -8
- package/dist/chunks/{location-service-map-9h357zpk.js → location-service-map-djvdn7j4.js} +3 -3
- package/dist/chunks/{location-service-map-z1a6nf3f.js → location-service-map-dn85cbp5.js} +12 -12
- package/dist/chunks/{location-service-map-k6709ays.js → location-service-map-dn8fxr7e.js} +14 -14
- package/dist/chunks/{location-service-map-38x8v0tv.js → location-service-map-dnxwqgza.js} +16 -16
- package/dist/chunks/{location-service-map-y71avatq.js → location-service-map-dpkg50ah.js} +3 -3
- package/dist/chunks/{location-service-map-1hyeesvh.js → location-service-map-dprgbttx.js} +19 -19
- package/dist/chunks/{location-service-map-189fjxnc.js → location-service-map-dqss8s9h.js} +18 -18
- package/dist/chunks/{location-service-map-pck7vvdx.js → location-service-map-drmqggy3.js} +1 -1
- package/dist/chunks/{location-service-map-ktgr00t7.js → location-service-map-drnf6xwf.js} +1 -1
- package/dist/chunks/{location-service-map-h9mky73t.js → location-service-map-dvzj1xmf.js} +9 -9
- package/dist/chunks/{location-service-map-ewf8j77t.js → location-service-map-dwwb2yn6.js} +9 -9
- package/dist/chunks/{location-service-map-sdk84yjp.js → location-service-map-dzj3pesk.js} +5 -5
- package/dist/chunks/{location-service-map-wve2b6s5.js → location-service-map-e59gya24.js} +8 -8
- package/dist/chunks/{location-service-map-h8rphgn6.js → location-service-map-eegn9671.js} +4 -4
- package/dist/chunks/{location-service-map-95kyz0q3.js → location-service-map-ek79twyn.js} +1 -1
- package/dist/chunks/{location-service-map-8cxvr4t8.js → location-service-map-f6vptca4.js} +40 -40
- package/dist/chunks/{location-service-map-whqshyfz.js → location-service-map-fahd1t22.js} +7 -7
- package/dist/chunks/{location-service-map-v6tgae3y.js → location-service-map-fdn2kncn.js} +175 -175
- package/dist/chunks/{location-service-map-7hff53af.js → location-service-map-fjmme1zd.js} +21 -21
- package/dist/chunks/{location-service-map-vh4rw25j.js → location-service-map-fkrwggfj.js} +8 -8
- package/dist/chunks/{location-service-map-7mp49jye.js → location-service-map-ftxqeyfp.js} +22 -22
- package/dist/chunks/{location-service-map-hsvqr7g3.js → location-service-map-fwh25w6r.js} +27 -27
- package/dist/chunks/{location-service-map-ebbyhdvc.js → location-service-map-g16zfax1.js} +29 -29
- package/dist/chunks/{location-service-map-0b5g1ynf.js → location-service-map-gbh65n66.js} +1 -1
- package/dist/chunks/{location-service-map-fkhvp8gb.js → location-service-map-gc30vjt8.js} +19 -19
- package/dist/chunks/{location-service-map-6kpyj4fb.js → location-service-map-gfvfhfth.js} +9 -9
- package/dist/chunks/{location-service-map-9zdssp4n.js → location-service-map-gh8rs6tp.js} +8 -8
- package/dist/chunks/{location-service-map-q4aap459.js → location-service-map-gq9mz0q5.js} +23 -23
- package/dist/chunks/{location-service-map-977pwvh6.js → location-service-map-gvmyet0t.js} +4 -4
- package/dist/chunks/{location-service-map-9vjjhptz.js → location-service-map-gwaf4cyv.js} +7 -7
- package/dist/chunks/{location-service-map-eb5nwvjj.js → location-service-map-gybmckzj.js} +11 -11
- package/dist/chunks/{location-service-map-gv2dj64n.js → location-service-map-h36qpgyc.js} +5 -5
- package/dist/chunks/{location-service-map-61qtfb41.js → location-service-map-h3damvf7.js} +19 -19
- package/dist/chunks/{location-service-map-f50nbvzh.js → location-service-map-h5ctynge.js} +40 -40
- package/dist/chunks/{location-service-map-bhhmebad.js → location-service-map-h796dgtk.js} +11 -11
- package/dist/chunks/{location-service-map-ttbvdjdw.js → location-service-map-hbhk3w7g.js} +14 -14
- package/dist/chunks/{location-service-map-bm095xha.js → location-service-map-hse9bmtq.js} +2 -2
- package/dist/chunks/{location-service-map-hzp768xy.js → location-service-map-htr2xv6b.js} +5 -5
- package/dist/chunks/{location-service-map-vdcsbfm7.js → location-service-map-hw1z087j.js} +6 -6
- package/dist/chunks/{location-service-map-xsccak5w.js → location-service-map-hw81jkqg.js} +17 -17
- package/dist/chunks/{location-service-map-ykdkqy2w.js → location-service-map-hxxxkake.js} +14 -14
- package/dist/chunks/{location-service-map-sfz6vzg3.js → location-service-map-hy35aq5e.js} +9 -9
- package/dist/chunks/{location-service-map-0ycdfwp1.js → location-service-map-j0z1hbm7.js} +10 -10
- package/dist/chunks/{location-service-map-453vx0dg.js → location-service-map-j26e8f99.js} +36 -36
- package/dist/chunks/{location-service-map-zpfqjb86.js → location-service-map-j4xtsjbj.js} +12 -12
- package/dist/chunks/{location-service-map-c6nr29zh.js → location-service-map-jgrj7vpb.js} +9 -9
- package/dist/chunks/{location-service-map-w5rka97k.js → location-service-map-jvvc3tfq.js} +7 -7
- package/dist/chunks/{location-service-map-a41h3yhs.js → location-service-map-jxntzgs7.js} +22 -22
- package/dist/chunks/{location-service-map-07w9enf1.js → location-service-map-jz647r1p.js} +12 -12
- package/dist/chunks/{location-service-map-4pn1xf0p.js → location-service-map-k73fr1k7.js} +19 -19
- package/dist/chunks/{location-service-map-j947zhwf.js → location-service-map-k7wxww75.js} +9 -9
- package/dist/chunks/{location-service-map-gk6ab8mf.js → location-service-map-kc16ztxm.js} +10 -10
- package/dist/chunks/location-service-map-kf3mbpd3.js +253 -0
- package/dist/chunks/{location-service-map-8kzy7b3z.js → location-service-map-kfj9hn6k.js} +20 -20
- package/dist/chunks/{location-service-map-0pj15cwb.js → location-service-map-kg0ryrs1.js} +26 -26
- package/dist/chunks/{location-service-map-qce5rqyv.js → location-service-map-kjttyt96.js} +24 -24
- package/dist/chunks/{location-service-map-jvf3yq6v.js → location-service-map-kne8f3cn.js} +3 -3
- package/dist/chunks/{location-service-map-6npkjnc9.js → location-service-map-krpype3t.js} +14 -14
- package/dist/chunks/{location-service-map-av8cscef.js → location-service-map-kt13rzk4.js} +28 -28
- package/dist/chunks/{location-service-map-qwf29bqw.js → location-service-map-kvh9ex0n.js} +1 -1
- package/dist/chunks/{location-service-map-qezm2w8e.js → location-service-map-kvsv9rq3.js} +19 -19
- package/dist/chunks/{location-service-map-285qnyny.js → location-service-map-kxqng4z4.js} +14 -14
- package/dist/chunks/{location-service-map-y4a0ptp4.js → location-service-map-kz8sfr61.js} +5 -5
- package/dist/chunks/{location-service-map-svcw9x3w.js → location-service-map-m329mjby.js} +1 -1
- package/dist/chunks/{location-service-map-z5rnbfrr.js → location-service-map-m47hdp86.js} +8 -8
- package/dist/chunks/{location-service-map-4c3ndrn6.js → location-service-map-mcwdvdbx.js} +8 -8
- package/dist/chunks/{location-service-map-190mk5vc.js → location-service-map-ms1sgmgt.js} +12 -12
- package/dist/chunks/{location-service-map-51f5btjf.js → location-service-map-mx9vqzsb.js} +5 -5
- package/dist/chunks/{location-service-map-b1a1n7cj.js → location-service-map-my4zabxr.js} +3 -3
- package/dist/chunks/{location-service-map-x852hbsc.js → location-service-map-n3gkh2k8.js} +1 -1
- package/dist/chunks/{location-service-map-wnsxc07p.js → location-service-map-n7chbqxk.js} +19 -19
- package/dist/chunks/{location-service-map-zmr78fwr.js → location-service-map-n8vdnqrc.js} +3 -3
- package/dist/chunks/{location-service-map-3dq15cxk.js → location-service-map-ns04df5e.js} +11 -11
- package/dist/chunks/{location-service-map-zt28r1k4.js → location-service-map-nszkg83g.js} +22 -22
- package/dist/chunks/location-service-map-pc3mwg2h.js +513 -0
- package/dist/chunks/{location-service-map-ra67jj04.js → location-service-map-phz50fbd.js} +7 -7
- package/dist/chunks/{location-service-map-qyvjbqsg.js → location-service-map-pj97maf1.js} +22 -22
- package/dist/chunks/{location-service-map-qgw57eb3.js → location-service-map-pp6tmt8p.js} +5 -5
- package/dist/chunks/{location-service-map-pjykpq9n.js → location-service-map-pp7c1v3z.js} +30 -30
- package/dist/chunks/{location-service-map-e2t7s5t4.js → location-service-map-pxpx7y6c.js} +43 -43
- package/dist/chunks/{location-service-map-8sze2n9a.js → location-service-map-py3kkmfq.js} +4 -4
- package/dist/chunks/{location-service-map-b7hvd3bh.js → location-service-map-pynx3rzn.js} +11 -11
- package/dist/chunks/{location-service-map-s90bytks.js → location-service-map-q15xqe5w.js} +11 -11
- package/dist/chunks/{location-service-map-mpw5hxye.js → location-service-map-qn90mm7z.js} +10 -10
- package/dist/chunks/{location-service-map-1krj7acz.js → location-service-map-qv519ymt.js} +32 -32
- package/dist/chunks/{location-service-map-605e1jbp.js → location-service-map-qwqqzdxk.js} +7 -7
- package/dist/chunks/{location-service-map-nma959mg.js → location-service-map-r2z489rp.js} +2 -2
- package/dist/chunks/{location-service-map-erts2f6e.js → location-service-map-r37wb9bh.js} +9 -9
- package/dist/chunks/{location-service-map-x309wg9x.js → location-service-map-r5p8p72t.js} +6 -6
- package/dist/chunks/{location-service-map-t89fqycx.js → location-service-map-r61qxybf.js} +7 -7
- package/dist/chunks/{location-service-map-q85n4xbh.js → location-service-map-r80kwpvr.js} +8 -8
- package/dist/chunks/{location-service-map-0a3bg0j5.js → location-service-map-r8bwyjs3.js} +25 -25
- package/dist/chunks/{location-service-map-qvcr5dcn.js → location-service-map-ra8aazcz.js} +16 -16
- package/dist/chunks/{location-service-map-v2fstvx9.js → location-service-map-rdb1svpf.js} +26 -26
- package/dist/chunks/{location-service-map-b89jdn4q.js → location-service-map-rwme0grx.js} +16 -16
- package/dist/chunks/{location-service-map-96kn8jjj.js → location-service-map-ry082wg0.js} +1 -1
- package/dist/chunks/{location-service-map-79rgchyy.js → location-service-map-s0gydmaw.js} +19 -19
- package/dist/chunks/{location-service-map-t7n4d1yf.js → location-service-map-s2t00s75.js} +2 -2
- package/dist/chunks/location-service-map-s315gvtx.js +26 -0
- package/dist/chunks/{location-service-map-17t4d4av.js → location-service-map-s68q802c.js} +14 -14
- package/dist/chunks/{location-service-map-5e6vztpv.js → location-service-map-sb86xevf.js} +9 -9
- package/dist/chunks/{location-service-map-zcfatamc.js → location-service-map-shm9gt2y.js} +11 -11
- package/dist/chunks/{location-service-map-w85jx7ef.js → location-service-map-sx3pjf9c.js} +20 -20
- package/dist/chunks/{location-service-map-w7th8kft.js → location-service-map-t58ss6va.js} +9 -9
- package/dist/chunks/{location-service-map-112anbc5.js → location-service-map-t8ne3r2q.js} +18 -18
- package/dist/chunks/{location-service-map-ykxyh7k6.js → location-service-map-tbt5dvb1.js} +12 -12
- package/dist/chunks/{location-service-map-89znhe33.js → location-service-map-tcezcvh9.js} +3 -3
- package/dist/chunks/{location-service-map-8sqat94k.js → location-service-map-tgnnk969.js} +35 -35
- package/dist/chunks/{location-service-map-h83xjv7f.js → location-service-map-tk14y25j.js} +3 -3
- package/dist/chunks/{location-service-map-x94bbvss.js → location-service-map-txd8c2hd.js} +2 -2
- package/dist/chunks/{location-service-map-r3yrqnb5.js → location-service-map-txqtqxhq.js} +11 -11
- package/dist/chunks/{location-service-map-raxjnfg2.js → location-service-map-vb8wgay5.js} +9 -9
- package/dist/chunks/{location-service-map-6c5stfwb.js → location-service-map-vcc1d1p0.js} +1 -1
- package/dist/chunks/{location-service-map-z4qs0yhw.js → location-service-map-vjwphg0n.js} +29 -29
- package/dist/chunks/{location-service-map-kwqk5vnc.js → location-service-map-w0cr6kn3.js} +16 -16
- package/dist/chunks/{location-service-map-vhvv9bf9.js → location-service-map-w76n4hge.js} +8 -8
- package/dist/chunks/{location-service-map-04ttag0w.js → location-service-map-wqptjszz.js} +17 -17
- package/dist/chunks/{location-service-map-1bz87fsm.js → location-service-map-wyazz7bw.js} +13 -13
- package/dist/chunks/{location-service-map-88jjz5re.js → location-service-map-x5hsf6rj.js} +11 -11
- package/dist/chunks/{location-service-map-qavnhd3j.js → location-service-map-xe9ktzb9.js} +26 -26
- package/dist/chunks/{location-service-map-hmdrvyfh.js → location-service-map-xh49hxk7.js} +61 -61
- package/dist/chunks/{location-service-map-d54g0exn.js → location-service-map-xmpwqgz4.js} +7 -7
- package/dist/chunks/{location-service-map-dzrvr4nb.js → location-service-map-xsgpdrvd.js} +40 -40
- package/dist/chunks/{location-service-map-xe6vm9p8.js → location-service-map-y1em8rf3.js} +14 -14
- package/dist/chunks/{location-service-map-6hjx5zpb.js → location-service-map-y56ehv6b.js} +8 -8
- package/dist/chunks/{location-service-map-nqsv03v6.js → location-service-map-ydah9gdn.js} +81 -81
- package/dist/chunks/{location-service-map-yhebgegd.js → location-service-map-yfv96e1b.js} +23 -23
- package/dist/chunks/{location-service-map-cakf0m7d.js → location-service-map-ykw935pc.js} +28 -28
- package/dist/chunks/{location-service-map-0bztnv55.js → location-service-map-yytnj0xn.js} +15 -15
- package/dist/chunks/{location-service-map-dkpnw212.js → location-service-map-z029qf89.js} +7 -7
- package/dist/chunks/{location-service-map-npgv39fj.js → location-service-map-z186befd.js} +1 -1
- package/dist/chunks/{location-service-map-c7s5xd0e.js → location-service-map-z1zdzsfj.js} +37 -37
- package/dist/chunks/{location-service-map-kxssyy3x.js → location-service-map-z2dcak32.js} +30 -30
- package/dist/chunks/{location-service-map-d04ep358.js → location-service-map-z3507kbh.js} +8 -8
- package/dist/chunks/{location-service-map-ayt5007s.js → location-service-map-z37zr1de.js} +4 -4
- package/dist/chunks/{location-service-map-rht436q7.js → location-service-map-z5s28eht.js} +14 -14
- package/dist/chunks/{location-service-map-9tr2qfdk.js → location-service-map-zcf38hqe.js} +7 -7
- package/dist/chunks/{location-service-map-j8ssv6es.js → location-service-map-zh94prq5.js} +10 -10
- package/dist/chunks/{location-service-map-3b16v5tt.js → location-service-map-zjtrsxny.js} +3 -3
- package/dist/chunks/{location-service-map-c87q280n.js → location-service-map-zx2dwjq0.js} +3 -3
- package/dist/codemode/instructions.js +6 -6
- package/dist/command.js +70 -70
- package/dist/config/discovery.js +66 -66
- package/dist/config/normalize.js +75 -75
- package/dist/config/plugin/agent.js +88 -88
- package/dist/config/plugin/command.js +166 -166
- package/dist/config/plugin/compaction.js +120 -120
- package/dist/config/plugin/compatibility.js +102 -102
- package/dist/config/plugin/formatter.js +89 -89
- package/dist/config/plugin/image.js +88 -88
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +90 -90
- package/dist/config/plugin/mcp.js +95 -95
- package/dist/config/plugin/policy.js +88 -88
- package/dist/config/plugin/provider.js +88 -88
- package/dist/config/plugin/reference.js +89 -89
- package/dist/config/plugin/shell.js +90 -90
- package/dist/config/plugin/skill-file.js +78 -78
- package/dist/config/plugin/skill.js +105 -105
- package/dist/config/plugin/snapshot.js +88 -88
- package/dist/config/plugin/source.js +91 -91
- package/dist/config/plugin/tool-output.js +88 -88
- package/dist/config/plugin/websearch.js +89 -89
- package/dist/config/plugin/worktree.js +89 -89
- package/dist/config.js +90 -90
- package/dist/credential.js +71 -71
- package/dist/database/database.js +57 -57
- package/dist/database/drizzle/effect-sqlite/driver.js +10 -10
- package/dist/database/drizzle/effect-sqlite/index.js +6 -6
- package/dist/database/drizzle/effect-sqlite/session.js +7 -7
- package/dist/database/drizzle/index.js +11 -11
- 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 +11 -11
- package/dist/database/migration.gen.js +40 -40
- package/dist/database/migration.js +42 -42
- package/dist/database/v1-migration.bun.js +9 -9
- package/dist/effect/app-node-builder.js +228 -228
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/environment/environment.js +70 -70
- package/dist/environment/index.js +70 -70
- package/dist/event-logger.js +10 -10
- package/dist/file-access.js +79 -79
- package/dist/file-mutation.js +71 -71
- package/dist/filesystem/location-watcher-policy.js +5 -5
- package/dist/filesystem/location-watcher.js +181 -181
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +79 -79
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +82 -82
- package/dist/form.js +68 -68
- package/dist/formatter/builtins.js +3 -3
- package/dist/formatter.js +66 -66
- package/dist/generate.js +80 -80
- package/dist/git.js +2 -2
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +4 -4
- package/dist/github-copilot/copilot-provider.js +3 -3
- package/dist/github-copilot/models.js +78 -78
- package/dist/github-copilot/responses/openai-responses-language-model.js +7 -7
- 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 +308 -308
- package/dist/instruction-discovery.js +69 -69
- package/dist/instructions/builtins.js +69 -69
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +74 -74
- package/dist/job.js +66 -66
- package/dist/kv.js +62 -62
- package/dist/location-activity.js +52 -52
- package/dist/location-lifecycle.js +84 -84
- package/dist/location-service-map.js +68 -68
- package/dist/location-services.js +305 -305
- package/dist/location.js +63 -63
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +25 -18
- package/dist/mcp/index.js +82 -82
- package/dist/mcp/instructions.js +102 -102
- package/dist/mcp/oauth.js +14 -14
- package/dist/mcp/stdio.js +67 -67
- package/dist/modal/models.js +78 -78
- package/dist/model-resolver.js +77 -77
- package/dist/model.js +79 -79
- package/dist/models-dev.js +85 -85
- package/dist/permission/saved.js +66 -66
- package/dist/permission.js +86 -86
- package/dist/persistent-pty/index.js +75 -75
- package/dist/persistent-pty.js +61 -61
- package/dist/plugin/agent.js +63 -63
- package/dist/plugin/command.js +77 -77
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +172 -172
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +281 -281
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +74 -74
- package/dist/plugin/module.js +88 -88
- package/dist/plugin/optimize.js +3 -3
- package/dist/plugin/plan.js +79 -79
- package/dist/plugin/provider/amazon-bedrock.js +69 -69
- package/dist/plugin/provider/azure.js +89 -89
- package/dist/plugin/provider/chatgpt.js +87 -87
- package/dist/plugin/provider/cloudflare-ai-gateway.js +86 -86
- package/dist/plugin/provider/cloudflare-workers-ai.js +86 -86
- package/dist/plugin/provider/configured.js +85 -85
- package/dist/plugin/provider/digitalocean.js +71 -71
- package/dist/plugin/provider/github-copilot.js +73 -73
- package/dist/plugin/provider/gitlab.js +71 -71
- package/dist/plugin/provider/google-vertex.js +86 -86
- package/dist/plugin/provider/llmgateway.js +65 -65
- package/dist/plugin/provider/lmstudio.js +96 -96
- package/dist/plugin/provider/local.js +93 -93
- package/dist/plugin/provider/modal.js +71 -71
- package/dist/plugin/provider/ollama.js +94 -94
- package/dist/plugin/provider/openai.js +89 -89
- package/dist/plugin/provider/opencode.js +74 -74
- package/dist/plugin/provider/openrouter.js +70 -70
- package/dist/plugin/provider/poe.js +65 -65
- package/dist/plugin/provider/sap-ai-core.js +69 -69
- package/dist/plugin/provider/snowflake-cortex.js +87 -87
- package/dist/plugin/provider/vercel.js +69 -69
- package/dist/plugin/provider/vllm.js +96 -96
- package/dist/plugin/provider/xai.js +70 -70
- package/dist/plugin/provider.js +130 -130
- package/dist/plugin/sdk.js +66 -66
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +103 -103
- package/dist/plugin/supervisor.js +299 -299
- package/dist/plugin/tool-input-repair.js +3 -3
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +67 -67
- package/dist/plugin/vcs/hg.js +67 -67
- package/dist/plugin/verbosity.js +72 -72
- package/dist/plugin/warming.js +87 -87
- 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 +7 -7
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +7 -7
- package/dist/plugin.js +185 -185
- package/dist/project.js +62 -62
- package/dist/provider.js +78 -78
- package/dist/pty.js +79 -79
- package/dist/reference/instructions.js +72 -72
- package/dist/reference.js +74 -74
- package/dist/repository-cache.js +63 -63
- package/dist/ripgrep.js +73 -73
- package/dist/rpc.js +68 -68
- package/dist/session/command.js +63 -63
- package/dist/session/compaction.js +107 -107
- package/dist/session/context.js +123 -123
- package/dist/session/diff.js +67 -67
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +2 -2
- package/dist/session/execution/restart.js +103 -103
- package/dist/session/execution.js +98 -98
- package/dist/session/generate.js +124 -124
- package/dist/session/history.js +6 -6
- package/dist/session/inbox.js +68 -68
- package/dist/session/info.js +2 -2
- package/dist/session/instruction-entry.js +63 -63
- package/dist/session/instruction-state.js +2 -2
- package/dist/session/instructions.js +76 -76
- package/dist/session/model-request.js +96 -96
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +100 -100
- package/dist/session/projector.js +68 -68
- package/dist/session/prompt.js +82 -82
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +68 -68
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +182 -182
- package/dist/session/runner/model.js +73 -73
- package/dist/session/runner/publish-llm-event.js +87 -87
- package/dist/session/runner/step.js +98 -98
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +130 -130
- package/dist/session/shell.js +100 -100
- package/dist/session/skill.js +80 -80
- package/dist/session/stats.js +8 -8
- package/dist/session/store.js +69 -69
- package/dist/session/subagent-job.js +166 -166
- package/dist/session/title.js +126 -126
- package/dist/session/to-session-error.js +86 -86
- package/dist/session/transfer.js +97 -97
- package/dist/session.js +171 -171
- package/dist/shell/parse.js +2 -2
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +103 -103
- package/dist/skill/discovery.js +5 -5
- package/dist/skill/instructions.js +84 -84
- package/dist/skill.js +89 -89
- package/dist/snapshot.js +68 -68
- package/dist/tool/mcp.js +101 -101
- package/dist/tool/plugin/edit.js +86 -86
- package/dist/tool/plugin/glob.js +95 -95
- package/dist/tool/plugin/grep.js +97 -97
- package/dist/tool/plugin/mcp-resource.js +90 -90
- package/dist/tool/plugin/opencode.js +84 -84
- package/dist/tool/plugin/patch.js +94 -94
- package/dist/tool/plugin/question.js +82 -82
- package/dist/tool/plugin/read.js +98 -98
- package/dist/tool/plugin/shell.js +172 -172
- package/dist/tool/plugin/skill.js +88 -88
- package/dist/tool/plugin/subagent.js +173 -173
- package/dist/tool/plugin/webfetch.js +87 -87
- package/dist/tool/plugin/websearch.js +90 -90
- package/dist/tool/plugin/write.js +94 -94
- package/dist/tool/read-filesystem.js +76 -76
- package/dist/tool-output.js +5 -5
- package/dist/tool.js +11 -11
- package/dist/v1/config/agent.js +3 -3
- package/dist/v1/config/mcp.js +3 -3
- package/dist/v1/config/migrate.js +70 -70
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider.js +3 -3
- package/dist/variant.js +70 -70
- package/dist/vcs.js +70 -70
- package/dist/websearch.js +72 -72
- package/dist/wellknown/plugin.js +65 -65
- package/dist/wellknown.js +70 -70
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace.js +70 -70
- package/dist/worktree/git.js +3 -3
- package/dist/worktree/strategies.js +69 -69
- package/dist/worktree.js +75 -75
- package/package.json +8 -8
- package/dist/chunks/location-service-map-1g906he0.js +0 -26
- package/dist/chunks/location-service-map-asevcyq5.js +0 -253
- package/dist/chunks/location-service-map-v2exr8cw.js +0 -513
- /package/dist/chunks/{location-service-map-t4jzmwkk.js → location-service-map-3z39tkdq.js} +0 -0
- /package/dist/chunks/{location-service-map-s6a94ykt.js → location-service-map-44asg7d3.js} +0 -0
- /package/dist/chunks/{location-service-map-btec747f.js → location-service-map-b7v4cx43.js} +0 -0
- /package/dist/chunks/{location-service-map-jxr5ks98.js → location-service-map-pd14fbdd.js} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
import {
|
|
5
5
|
Service83,
|
|
6
6
|
node87
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-m329mjby.js";
|
|
8
8
|
import {
|
|
9
9
|
parse4,
|
|
10
10
|
validateBranch3,
|
|
@@ -12,9 +12,9 @@ import {
|
|
|
12
12
|
same2
|
|
13
13
|
} from "./location-service-map-84txncab.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
} from "./location-service-map-
|
|
15
|
+
Service71,
|
|
16
|
+
node74
|
|
17
|
+
} from "./location-service-map-fkrwggfj.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
20
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -30,7 +30,7 @@ __export(exports_repository_cache, {
|
|
|
30
30
|
LockFailedError: () => LockFailedError2,
|
|
31
31
|
RepositoryCache: () => exports_repository_cache,
|
|
32
32
|
ResetFailedError: () => ResetFailedError2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service60,
|
|
34
34
|
isError: () => isError2,
|
|
35
35
|
node: () => node63,
|
|
36
36
|
validateBranch: () => validateBranch2
|
|
@@ -90,7 +90,7 @@ class CacheOperationError2 extends Schema.TaggedError()("RepositoryCacheOperatio
|
|
|
90
90
|
}) {
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
class
|
|
93
|
+
class Service60 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,13 +101,13 @@ 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(Service60, Effect.gen(function* () {
|
|
105
105
|
const fs = yield* FSUtil.Service;
|
|
106
106
|
const git = yield* Service83;
|
|
107
107
|
const flock = yield* EffectFlock.Service;
|
|
108
108
|
const global = yield* Global.Service;
|
|
109
|
-
const kv = yield*
|
|
110
|
-
return
|
|
109
|
+
const kv = yield* Service71;
|
|
110
|
+
return Service60.of({
|
|
111
111
|
ensure: Effect.fn("RepositoryCache.ensure")(function* (input) {
|
|
112
112
|
if (input.branch)
|
|
113
113
|
yield* validateBranch2(input.branch);
|
|
@@ -168,9 +168,9 @@ var layer = Layer.effect(Service61, Effect.gen(function* () {
|
|
|
168
168
|
});
|
|
169
169
|
}));
|
|
170
170
|
var node63 = makeGlobalNode({
|
|
171
|
-
service:
|
|
171
|
+
service: Service60,
|
|
172
172
|
layer,
|
|
173
|
-
deps: [EffectFlock.node, FSUtil.node, node87, Global.node,
|
|
173
|
+
deps: [EffectFlock.node, FSUtil.node, node87, Global.node, node74]
|
|
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, Service60, isError2, validateBranch2, node63, exports_repository_cache };
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service38
|
|
6
|
+
} from "./location-service-map-f6vptca4.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./location-service-map-
|
|
8
|
+
Service49
|
|
9
|
+
} from "./location-service-map-4h8beb84.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin3
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin3 = {
|
|
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* Service38;
|
|
26
|
+
const permission = yield* Service49;
|
|
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 { Plugin3, exports_mcp_resource };
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service63,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node66
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service63 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service63.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node66 = makeLocationNode({ service: Service63, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service63, node66, exports_image2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-s2t00s75.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./location-service-map-
|
|
7
|
+
} from "./location-service-map-ra8aazcz.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
10
|
} from "./location-service-map-3t0ybcrp.js";
|
|
@@ -16,15 +16,15 @@ import {
|
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError8,
|
|
20
|
+
Options: () => Options6,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service54,
|
|
23
23
|
UnavailableError: () => UnavailableError2,
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
24
|
+
available: () => available3,
|
|
25
|
+
configured: () => configured7,
|
|
26
|
+
layer: () => layer22,
|
|
27
|
+
node: () => node57
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,8 +35,8 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available3 } from "#persistent-pty-binary";
|
|
39
|
+
var Options6 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
@@ -46,14 +46,14 @@ class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableE
|
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError8 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service54 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service54, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service54.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,13 +259,13 @@ var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer22 = makeLayer();
|
|
263
|
+
var configured7 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service54,
|
|
265
|
+
layer: options === undefined ? layer22 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node57 = configured7();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
271
|
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options6, UnavailableError2, NotFoundError8, Service54, layer22, configured7, node57, exports_persistent_pty, Handoff2, available3 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./location-service-map-
|
|
3
|
+
Service68
|
|
4
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
6
|
+
Service75
|
|
7
|
+
} from "./location-service-map-ra8aazcz.js";
|
|
8
8
|
import {
|
|
9
9
|
observe2
|
|
10
10
|
} from "./location-service-map-qsdy395h.js";
|
|
@@ -13,18 +13,18 @@ import {
|
|
|
13
13
|
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/config/plugin/shell.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
ConfigShellPlugin: () =>
|
|
19
|
-
Plugin: () =>
|
|
16
|
+
var exports_shell2 = {};
|
|
17
|
+
__export(exports_shell2, {
|
|
18
|
+
ConfigShellPlugin: () => exports_shell2,
|
|
19
|
+
Plugin: () => Plugin45
|
|
20
20
|
});
|
|
21
21
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
22
22
|
import { Effect } from "effect";
|
|
23
|
-
var
|
|
23
|
+
var Plugin45 = define({
|
|
24
24
|
id: "opencode.config.shell",
|
|
25
25
|
effect: Effect.fn(function* (ctx) {
|
|
26
|
-
const config = yield*
|
|
27
|
-
const shell = yield*
|
|
26
|
+
const config = yield* Service68;
|
|
27
|
+
const shell = yield* Service75;
|
|
28
28
|
const loaded = yield* observe2(config, ctx.event, shell.reload());
|
|
29
29
|
yield* shell.transform((editor) => {
|
|
30
30
|
const configured = latest2(loaded.entries, "shell");
|
|
@@ -34,4 +34,4 @@ var Plugin28 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin45, exports_shell2 };
|
|
@@ -2,11 +2,11 @@ import {
|
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service84,
|
|
4
4
|
node88
|
|
5
|
-
} from "./location-service-map-
|
|
5
|
+
} from "./location-service-map-s2t00s75.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./location-service-map-
|
|
7
|
+
Service71,
|
|
8
|
+
node74
|
|
9
|
+
} from "./location-service-map-fkrwggfj.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
12
|
} from "./location-service-map-9rqn6x4v.js";
|
|
@@ -16,14 +16,14 @@ var exports_wellknown = {};
|
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event15,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service70,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node73,
|
|
26
|
+
resolve: () => resolve3
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service70 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event15 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var requestTimeout = "15 seconds";
|
|
@@ -57,7 +57,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
57
57
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
58
58
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.timeout(requestTimeout), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
59
59
|
});
|
|
60
|
-
var
|
|
60
|
+
var resolve3 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
61
61
|
const manifest = yield* inspect2(input.origin);
|
|
62
62
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
63
63
|
});
|
|
@@ -79,9 +79,9 @@ var Sources = Schema.Array(Schema.String);
|
|
|
79
79
|
var manifestKey = (origin) => `wellknown:manifest:${origin}`;
|
|
80
80
|
var configKey = (origin) => `wellknown:config:${origin}`;
|
|
81
81
|
var Configs = Schema.Array(Config2);
|
|
82
|
-
var layer = Layer.effect(
|
|
82
|
+
var layer = Layer.effect(Service70, Effect.gen(function* () {
|
|
83
83
|
const http = yield* HttpClient.HttpClient;
|
|
84
|
-
const kv = yield*
|
|
84
|
+
const kv = yield* Service71;
|
|
85
85
|
const bus = yield* Service84;
|
|
86
86
|
const cache = yield* Ref.make(new Map);
|
|
87
87
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -113,10 +113,10 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
113
113
|
if (!changed)
|
|
114
114
|
return false;
|
|
115
115
|
yield* Ref.set(cache, next);
|
|
116
|
-
yield* bus.publish(
|
|
116
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
117
117
|
return true;
|
|
118
118
|
}, (effect) => lock.withPermit(effect));
|
|
119
|
-
return
|
|
119
|
+
return Service70.of({
|
|
120
120
|
entries: load,
|
|
121
121
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
122
122
|
refresh,
|
|
@@ -129,7 +129,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
129
129
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
130
130
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
131
131
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
132
|
-
yield* bus.publish(
|
|
132
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
133
133
|
return entry;
|
|
134
134
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
135
135
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
144
144
|
next.delete(origin);
|
|
145
145
|
return next;
|
|
146
146
|
});
|
|
147
|
-
yield* bus.publish(
|
|
147
|
+
yield* bus.publish(Event15.Updated, {}, { global: true });
|
|
148
148
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
149
149
|
resolve: Effect.fn("WellKnown.resolveEntry")(function* (entry, variables) {
|
|
150
150
|
const configs = yield* resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http));
|
|
@@ -157,6 +157,6 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
157
157
|
})
|
|
158
158
|
});
|
|
159
159
|
}));
|
|
160
|
-
var
|
|
160
|
+
var node73 = makeGlobalNode({ service: Service70, layer, deps: [httpClient, node74, node88] });
|
|
161
161
|
|
|
162
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
162
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service70, Event15, inspect2, resolve3, node73, exports_wellknown };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./location-service-map-
|
|
2
|
+
Service68
|
|
3
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service13
|
|
6
|
+
} from "./location-service-map-qv519ymt.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
9
|
} from "./location-service-map-qsdy395h.js";
|
|
@@ -15,15 +15,15 @@ import {
|
|
|
15
15
|
var exports_compaction = {};
|
|
16
16
|
__export(exports_compaction, {
|
|
17
17
|
ConfigCompactionPlugin: () => exports_compaction,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin44
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin44 = define({
|
|
23
23
|
id: "opencode.config.compaction",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const compaction = yield*
|
|
25
|
+
const config = yield* Service68;
|
|
26
|
+
const compaction = yield* Service13;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, compaction.reload());
|
|
28
28
|
yield* compaction.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -39,4 +39,4 @@ var Plugin31 = define({
|
|
|
39
39
|
})
|
|
40
40
|
});
|
|
41
41
|
|
|
42
|
-
export {
|
|
42
|
+
export { Plugin44, exports_compaction };
|
|
@@ -3,13 +3,13 @@ import {
|
|
|
3
3
|
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service81
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./location-service-map-
|
|
8
|
+
Service68
|
|
9
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
11
|
+
Service25
|
|
12
|
+
} from "./location-service-map-8acdjqfv.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./location-service-map-qsdy395h.js";
|
|
@@ -21,19 +21,19 @@ import {
|
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin36
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin36 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
33
|
+
const config = yield* Service68;
|
|
34
34
|
const location = yield* Service81;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin25 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin36, exports_worktree };
|