@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
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service64,
|
|
3
|
+
node67,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./location-service-map-
|
|
5
|
+
} from "./location-service-map-m47hdp86.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./location-service-map-
|
|
7
|
+
Service45,
|
|
8
|
+
node47
|
|
9
|
+
} from "./location-service-map-mx9vqzsb.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
11
|
+
Service15
|
|
12
|
+
} from "./location-service-map-2sxk7h72.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./location-service-map-
|
|
15
|
+
} from "./location-service-map-kf3mbpd3.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service64, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service15);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node47.replace(Layer.succeed(Service45, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node67.replace(Layer.succeed(Service64, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service81
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./location-service-map-
|
|
5
|
+
Service68
|
|
6
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
7
7
|
import {
|
|
8
8
|
Service14
|
|
9
|
-
} from "./location-service-map-
|
|
9
|
+
} from "./location-service-map-8v3872mr.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./location-service-map-
|
|
11
|
+
make9
|
|
12
|
+
} from "./location-service-map-r2z489rp.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
15
|
} from "./location-service-map-qsdy395h.js";
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
var exports_formatter = {};
|
|
22
22
|
__export(exports_formatter, {
|
|
23
23
|
ConfigFormatterPlugin: () => exports_formatter,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin35
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
@@ -29,10 +29,10 @@ import { Global } from "@opencode/util/global";
|
|
|
29
29
|
import { Npm } from "@opencode/util/npm";
|
|
30
30
|
import { AppProcess } from "@opencode/util/process";
|
|
31
31
|
import { Effect } from "effect";
|
|
32
|
-
var
|
|
32
|
+
var Plugin35 = define({
|
|
33
33
|
id: "opencode.config.formatter",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const config = yield*
|
|
35
|
+
const config = yield* Service68;
|
|
36
36
|
const formatter = yield* Service14;
|
|
37
37
|
const fs = yield* FSUtil.Service;
|
|
38
38
|
const global = yield* Global.Service;
|
|
@@ -44,7 +44,7 @@ var Plugin27 = define({
|
|
|
44
44
|
const configured = resolve(loaded.entries);
|
|
45
45
|
if (!configured)
|
|
46
46
|
return;
|
|
47
|
-
const builtIns =
|
|
47
|
+
const builtIns = make9({
|
|
48
48
|
directory: location.directory,
|
|
49
49
|
worktree: location.project.directory,
|
|
50
50
|
fs,
|
|
@@ -85,4 +85,4 @@ function resolve(entries) {
|
|
|
85
85
|
}, undefined);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Plugin35, exports_formatter };
|
|
@@ -1,54 +1,54 @@
|
|
|
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
|
Service83,
|
|
7
7
|
node87
|
|
8
|
-
} from "./location-service-map-
|
|
8
|
+
} from "./location-service-map-m329mjby.js";
|
|
9
9
|
import {
|
|
10
10
|
Service81,
|
|
11
11
|
node85
|
|
12
|
-
} from "./location-service-map-
|
|
12
|
+
} from "./location-service-map-8z12w5mn.js";
|
|
13
13
|
import {
|
|
14
14
|
awaitActivation2
|
|
15
|
-
} from "./location-service-map-
|
|
15
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} from "./location-service-map-
|
|
17
|
+
Service69,
|
|
18
|
+
node72
|
|
19
|
+
} from "./location-service-map-1cwtqt4r.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./location-service-map-
|
|
21
|
+
node26
|
|
22
|
+
} from "./location-service-map-15gp8gwp.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./location-service-map-
|
|
24
|
+
Service12,
|
|
25
|
+
node14
|
|
26
|
+
} from "./location-service-map-cwa6csj7.js";
|
|
27
27
|
import {
|
|
28
28
|
__export
|
|
29
29
|
} from "./location-service-map-9rqn6x4v.js";
|
|
30
30
|
|
|
31
31
|
// src/filesystem/location-watcher.ts
|
|
32
|
-
var
|
|
33
|
-
__export(
|
|
34
|
-
LocationWatcher: () =>
|
|
35
|
-
Service: () =>
|
|
36
|
-
node: () =>
|
|
32
|
+
var exports_location_watcher = {};
|
|
33
|
+
__export(exports_location_watcher, {
|
|
34
|
+
LocationWatcher: () => exports_location_watcher,
|
|
35
|
+
Service: () => Service2,
|
|
36
|
+
node: () => node3
|
|
37
37
|
});
|
|
38
38
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { Cause, Context, Effect, Exit, Layer, Scope, Semaphore, Stream } from "effect";
|
|
40
40
|
import { FileSystem } from "@opencode/schema/filesystem";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
|
-
class
|
|
43
|
+
class Service2 extends Context.Service()("@opencode/LocationWatcher") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service2, Effect.gen(function* () {
|
|
46
46
|
const location = yield* Service81;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service69;
|
|
48
48
|
const bus = yield* Service84;
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
50
|
const git = yield* Service83;
|
|
51
|
-
const policy = yield*
|
|
51
|
+
const policy = yield* Service12;
|
|
52
52
|
const publish = (update) => bus.publish(FileSystem.Event.Changed, {
|
|
53
53
|
file: update.path,
|
|
54
54
|
event: update.type === "create" ? "add" : update.type === "update" ? "change" : "unlink"
|
|
@@ -100,12 +100,12 @@ var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
|
100
100
|
yield* awaitActivation2;
|
|
101
101
|
yield* reconcile();
|
|
102
102
|
}).pipe(Effect.catchCauseIf((cause) => !Cause.hasInterrupts(cause), (cause) => Effect.logError("failed to start location watcher", { cause })), Effect.forkScoped({ startImmediately: true }));
|
|
103
|
-
return
|
|
103
|
+
return Service2.of({});
|
|
104
104
|
}));
|
|
105
|
-
var
|
|
106
|
-
service:
|
|
105
|
+
var node3 = makeLocationNode({
|
|
106
|
+
service: Service2,
|
|
107
107
|
layer,
|
|
108
|
-
deps: [
|
|
108
|
+
deps: [node72, FSUtil.node, node85, node87, node88, node26, node14]
|
|
109
109
|
});
|
|
110
110
|
|
|
111
|
-
export {
|
|
111
|
+
export { Service2, node3, exports_location_watcher };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./location-service-map-
|
|
4
|
+
} from "./location-service-map-hse9bmtq.js";
|
|
5
5
|
import {
|
|
6
6
|
Service84,
|
|
7
7
|
node88
|
|
8
|
-
} from "./location-service-map-
|
|
8
|
+
} from "./location-service-map-s2t00s75.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionMessage2
|
|
11
11
|
} from "./location-service-map-gftt206x.js";
|
|
12
12
|
import {
|
|
13
13
|
StepFailedError2
|
|
14
|
-
} from "./location-service-map-
|
|
14
|
+
} from "./location-service-map-ry082wg0.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionEvent2
|
|
17
17
|
} from "./location-service-map-ec1grn59.js";
|
|
@@ -20,77 +20,77 @@ import {
|
|
|
20
20
|
} from "./location-service-map-c1fqxshp.js";
|
|
21
21
|
import {
|
|
22
22
|
prepare4
|
|
23
|
-
} from "./location-service-map-
|
|
23
|
+
} from "./location-service-map-gbh65n66.js";
|
|
24
24
|
import {
|
|
25
25
|
provenance2
|
|
26
|
-
} from "./location-service-map-
|
|
26
|
+
} from "./location-service-map-1rn5pcm9.js";
|
|
27
27
|
import {
|
|
28
28
|
decodeMessageRow2,
|
|
29
29
|
preview2
|
|
30
|
-
} from "./location-service-map-
|
|
30
|
+
} from "./location-service-map-7k1rdhbp.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./location-service-map-
|
|
32
|
+
Service50,
|
|
33
|
+
node52
|
|
34
|
+
} from "./location-service-map-qn90mm7z.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./location-service-map-
|
|
36
|
+
Service15,
|
|
37
|
+
node17
|
|
38
|
+
} from "./location-service-map-2sxk7h72.js";
|
|
39
39
|
import {
|
|
40
40
|
llmClient2
|
|
41
41
|
} from "./location-service-map-775gj3j1.js";
|
|
42
42
|
import {
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
} from "./location-service-map-
|
|
43
|
+
Service35,
|
|
44
|
+
node38
|
|
45
|
+
} from "./location-service-map-4ybf7fnk.js";
|
|
46
46
|
import {
|
|
47
47
|
baseTranscript2
|
|
48
|
-
} from "./location-service-map-
|
|
48
|
+
} from "./location-service-map-ykw935pc.js";
|
|
49
49
|
import {
|
|
50
50
|
make10
|
|
51
51
|
} from "./location-service-map-b3f8fkhc.js";
|
|
52
52
|
import {
|
|
53
53
|
toSessionError2
|
|
54
|
-
} from "./location-service-map-
|
|
54
|
+
} from "./location-service-map-h36qpgyc.js";
|
|
55
55
|
import {
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
Service13,
|
|
57
|
+
node15,
|
|
58
58
|
estimatePrompt2
|
|
59
|
-
} from "./location-service-map-
|
|
59
|
+
} from "./location-service-map-qv519ymt.js";
|
|
60
60
|
import {
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
} from "./location-service-map-
|
|
61
|
+
Service27,
|
|
62
|
+
node30
|
|
63
|
+
} from "./location-service-map-ydah9gdn.js";
|
|
64
64
|
import {
|
|
65
65
|
serialized2,
|
|
66
66
|
nextPromotable2,
|
|
67
67
|
promote2
|
|
68
|
-
} from "./location-service-map-
|
|
68
|
+
} from "./location-service-map-txqtqxhq.js";
|
|
69
69
|
import {
|
|
70
|
-
|
|
70
|
+
Service3,
|
|
71
71
|
isUntitled2,
|
|
72
|
-
|
|
73
|
-
} from "./location-service-map-
|
|
72
|
+
node4
|
|
73
|
+
} from "./location-service-map-9byyftbt.js";
|
|
74
74
|
import {
|
|
75
75
|
DrainResult2,
|
|
76
|
-
|
|
77
|
-
} from "./location-service-map-
|
|
76
|
+
Service43
|
|
77
|
+
} from "./location-service-map-kne8f3cn.js";
|
|
78
78
|
import {
|
|
79
|
-
|
|
80
|
-
} from "./location-service-map-
|
|
79
|
+
node56
|
|
80
|
+
} from "./location-service-map-gybmckzj.js";
|
|
81
81
|
import {
|
|
82
|
-
|
|
83
|
-
} from "./location-service-map-
|
|
82
|
+
node70
|
|
83
|
+
} from "./location-service-map-z3507kbh.js";
|
|
84
84
|
import {
|
|
85
85
|
Outcome2,
|
|
86
|
-
|
|
87
|
-
} from "./location-service-map-
|
|
86
|
+
make3
|
|
87
|
+
} from "./location-service-map-w0cr6kn3.js";
|
|
88
88
|
import {
|
|
89
|
-
|
|
90
|
-
} from "./location-service-map-
|
|
89
|
+
Service32
|
|
90
|
+
} from "./location-service-map-9sh4wc5j.js";
|
|
91
91
|
import {
|
|
92
|
-
|
|
93
|
-
} from "./location-service-map-
|
|
92
|
+
node26
|
|
93
|
+
} from "./location-service-map-15gp8gwp.js";
|
|
94
94
|
import {
|
|
95
95
|
MAX_STEPS_PROMPT2
|
|
96
96
|
} from "./location-service-map-y44na4kk.js";
|
|
@@ -102,7 +102,7 @@ import {
|
|
|
102
102
|
var exports_llm = {};
|
|
103
103
|
__export(exports_llm, {
|
|
104
104
|
SessionRunnerLLM: () => exports_llm,
|
|
105
|
-
node: () =>
|
|
105
|
+
node: () => node2
|
|
106
106
|
});
|
|
107
107
|
import { Message } from "@opencode/ai";
|
|
108
108
|
import { and, desc, eq, inArray, sql } from "drizzle-orm";
|
|
@@ -110,17 +110,17 @@ import { Cause, Effect, Exit, FiberMap, Layer } from "effect";
|
|
|
110
110
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
111
111
|
var CONTINUE_AFTER_INCOMPLETE_STREAM = "The previous response was interrupted. Continue from where you left off without repeating completed content.";
|
|
112
112
|
var CONTINUE_AFTER_OUTPUT_LIMIT = "Your last response hit the output token limit (stop reason: length). Do not apologize, recap, or repeat yourself. Break the remaining work into smaller pieces.";
|
|
113
|
-
var layer = Layer.effect(
|
|
113
|
+
var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
114
114
|
const bus = yield* Service84;
|
|
115
|
-
const lifecycle = yield*
|
|
116
|
-
const store = yield*
|
|
117
|
-
const context = yield*
|
|
118
|
-
const modelTransport = yield*
|
|
115
|
+
const lifecycle = yield* Service15;
|
|
116
|
+
const store = yield* Service50;
|
|
117
|
+
const context = yield* Service27;
|
|
118
|
+
const modelTransport = yield* Service35;
|
|
119
119
|
const db = (yield* Service85).db;
|
|
120
|
-
const compaction = yield*
|
|
121
|
-
const plugins = yield*
|
|
122
|
-
const title = yield*
|
|
123
|
-
const steps = yield*
|
|
120
|
+
const compaction = yield* Service13;
|
|
121
|
+
const plugins = yield* Service32;
|
|
122
|
+
const title = yield* Service3;
|
|
123
|
+
const steps = yield* make3;
|
|
124
124
|
const titles = yield* FiberMap.make();
|
|
125
125
|
const drain = Effect.fn("SessionRunner.drain")(function* (input) {
|
|
126
126
|
const sessionID = input.sessionID;
|
|
@@ -373,25 +373,25 @@ var layer = Layer.effect(Service42, Effect.gen(function* () {
|
|
|
373
373
|
}
|
|
374
374
|
}
|
|
375
375
|
});
|
|
376
|
-
return
|
|
376
|
+
return Service43.of({ drain });
|
|
377
377
|
}));
|
|
378
|
-
var
|
|
379
|
-
service:
|
|
378
|
+
var node2 = makeLocationNode({
|
|
379
|
+
service: Service43,
|
|
380
380
|
layer,
|
|
381
381
|
deps: [
|
|
382
382
|
node88,
|
|
383
|
-
|
|
383
|
+
node17,
|
|
384
384
|
llmClient2,
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
node13,
|
|
389
|
-
node16,
|
|
385
|
+
node30,
|
|
386
|
+
node38,
|
|
387
|
+
node52,
|
|
390
388
|
node15,
|
|
391
|
-
|
|
392
|
-
|
|
389
|
+
node26,
|
|
390
|
+
node4,
|
|
391
|
+
node56,
|
|
392
|
+
node70,
|
|
393
393
|
node89
|
|
394
394
|
]
|
|
395
395
|
});
|
|
396
396
|
|
|
397
|
-
export {
|
|
397
|
+
export { node2, exports_llm };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./location-service-map-
|
|
3
|
+
} from "./location-service-map-s2t00s75.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./location-service-map-
|
|
6
|
+
} from "./location-service-map-rdb1svpf.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./location-service-map-
|
|
8
|
+
Service18,
|
|
9
|
+
Event2
|
|
10
|
+
} from "./location-service-map-j26e8f99.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/models-dev.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -32,7 +32,7 @@ var BEDROCK_PROFILE_ONLY_IDS = [
|
|
|
32
32
|
var ModelsDevPlugin2 = define({
|
|
33
33
|
id: "opencode.models.dev",
|
|
34
34
|
effect: Effect.fn(function* (ctx) {
|
|
35
|
-
const modelsDev = yield*
|
|
35
|
+
const modelsDev = yield* Service18;
|
|
36
36
|
const bus = yield* Service84;
|
|
37
37
|
const loaded = { data: snapshots(yield* modelsDev.get()) };
|
|
38
38
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -66,7 +66,7 @@ var ModelsDevPlugin2 = define({
|
|
|
66
66
|
loaded.data = snapshots(data);
|
|
67
67
|
return ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload()));
|
|
68
68
|
};
|
|
69
|
-
yield* bus.subscribe(
|
|
69
|
+
yield* bus.subscribe(Event2.Refreshed).pipe(Stream.runForEach(() => modelsDev.get().pipe(Effect.flatMap(apply))), Effect.forkScoped({ startImmediately: true }));
|
|
70
70
|
const latest = yield* modelsDev.get();
|
|
71
71
|
if (snapshots(latest) !== loaded.data)
|
|
72
72
|
yield* apply(latest);
|
|
@@ -3,24 +3,24 @@ import {
|
|
|
3
3
|
} from "./location-service-map-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
latest2,
|
|
6
|
-
|
|
7
|
-
} from "./location-service-map-
|
|
6
|
+
Service68
|
|
7
|
+
} from "./location-service-map-z1zdzsfj.js";
|
|
8
8
|
import {
|
|
9
9
|
typeFollowing2
|
|
10
10
|
} from "./location-service-map-hgz4x7wa.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./location-service-map-
|
|
14
|
-
import {
|
|
15
|
-
Service45
|
|
16
|
-
} from "./location-service-map-6npkjnc9.js";
|
|
12
|
+
Service72
|
|
13
|
+
} from "./location-service-map-6jpm8ex2.js";
|
|
17
14
|
import {
|
|
18
15
|
Service55
|
|
19
|
-
} from "./location-service-map-
|
|
16
|
+
} from "./location-service-map-krpype3t.js";
|
|
17
|
+
import {
|
|
18
|
+
Service49
|
|
19
|
+
} from "./location-service-map-4h8beb84.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
Service17,
|
|
22
22
|
resolvePath2
|
|
23
|
-
} from "./location-service-map-
|
|
23
|
+
} from "./location-service-map-3sw2dssw.js";
|
|
24
24
|
import {
|
|
25
25
|
output2,
|
|
26
26
|
notice2,
|
|
@@ -28,36 +28,36 @@ import {
|
|
|
28
28
|
notification2
|
|
29
29
|
} from "./location-service-map-vzs5sf6e.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
31
|
+
Service75,
|
|
32
32
|
name15
|
|
33
|
-
} from "./location-service-map-
|
|
33
|
+
} from "./location-service-map-ra8aazcz.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
} from "./location-service-map-
|
|
35
|
+
NotFoundError9,
|
|
36
|
+
Service65
|
|
37
|
+
} from "./location-service-map-h5ctynge.js";
|
|
38
38
|
import {
|
|
39
39
|
Service26
|
|
40
|
-
} from "./location-service-map-
|
|
40
|
+
} from "./location-service-map-av4ka64b.js";
|
|
41
41
|
import {
|
|
42
42
|
scan2
|
|
43
|
-
} from "./location-service-map-
|
|
43
|
+
} from "./location-service-map-brzr8pgk.js";
|
|
44
44
|
import {
|
|
45
45
|
__export
|
|
46
46
|
} from "./location-service-map-9rqn6x4v.js";
|
|
47
47
|
|
|
48
48
|
// src/tool/plugin/shell.ts
|
|
49
|
-
var
|
|
50
|
-
__export(
|
|
49
|
+
var exports_shell = {};
|
|
50
|
+
__export(exports_shell, {
|
|
51
51
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS2,
|
|
52
|
-
Input: () =>
|
|
53
|
-
Plugin: () =>
|
|
54
|
-
ShellTool: () =>
|
|
55
|
-
name: () =>
|
|
52
|
+
Input: () => Input10,
|
|
53
|
+
Plugin: () => Plugin12,
|
|
54
|
+
ShellTool: () => exports_shell,
|
|
55
|
+
name: () => name10
|
|
56
56
|
});
|
|
57
57
|
import { ToolFailure } from "@opencode/ai";
|
|
58
58
|
import { Deferred, Effect, Schema, Scope } from "effect";
|
|
59
59
|
import { shellParserWasm } from "#shell-parser-wasm";
|
|
60
|
-
var
|
|
60
|
+
var name10 = "shell";
|
|
61
61
|
var DEFAULT_TIMEOUT_MS2 = 2 * 60 * 1000;
|
|
62
62
|
var BACKGROUND_INSTRUCTION = "You will be notified automatically when the command finishes. The notification will include the command's output. Unless the user explicitly asks otherwise, DO NOT poll for completion, even if you need the final result to continue. Repeatedly sleeping and reading or searching the output file is polling, not useful work. You may read the current output if it lets you do useful work now, but do not repeatedly check it while waiting for the command to finish. Keep working on anything that does not depend on the result. If you have nothing else to do, end your response; you will be resumed automatically when the command finishes.";
|
|
63
63
|
var OS = process.platform === "darwin" ? "macOS" : process.platform === "win32" ? "Windows" : process.platform === "linux" ? "Linux" : process.platform;
|
|
@@ -71,7 +71,7 @@ var description = (shell) => [
|
|
|
71
71
|
"Commands accept an optional timeout, background commands have no timeout by default.",
|
|
72
72
|
"Background commands return immediately, and you will be notified when they complete."
|
|
73
73
|
].join(" ");
|
|
74
|
-
var
|
|
74
|
+
var Input10 = Schema.Struct({
|
|
75
75
|
command: Schema.String.annotate({ description: "Shell command string to execute" }),
|
|
76
76
|
workdir: Schema.optionalKey(Schema.String).annotate({
|
|
77
77
|
description: "Working directory to execute the command in. Defaults to the current working directory. When possible, avoid changing directories in the command and set the working directory here instead."
|
|
@@ -117,19 +117,19 @@ Output is streaming to: ${file}`,
|
|
|
117
117
|
truncated: false,
|
|
118
118
|
status: "running"
|
|
119
119
|
});
|
|
120
|
-
var
|
|
120
|
+
var Plugin12 = {
|
|
121
121
|
id: "opencode.tool.shell",
|
|
122
122
|
effect: Effect.fn("ShellTool.Plugin")(function* (ctx) {
|
|
123
123
|
const sessions = yield* Service26;
|
|
124
|
-
const jobs = yield*
|
|
124
|
+
const jobs = yield* Service55;
|
|
125
125
|
const scope = yield* Scope.Scope;
|
|
126
|
-
const environment = yield*
|
|
127
|
-
const access = yield*
|
|
128
|
-
const shell = yield*
|
|
129
|
-
const shellSelect = yield*
|
|
126
|
+
const environment = yield* Service72;
|
|
127
|
+
const access = yield* Service17;
|
|
128
|
+
const shell = yield* Service65;
|
|
129
|
+
const shellSelect = yield* Service75;
|
|
130
130
|
const compatibleShell = shellSelect.resolve({ priority: "compat" });
|
|
131
|
-
const permission = yield*
|
|
132
|
-
const config = yield*
|
|
131
|
+
const permission = yield* Service49;
|
|
132
|
+
const config = yield* Service68;
|
|
133
133
|
const prepare = Effect.fn("ShellTool.prepare")(function* (invocation, context) {
|
|
134
134
|
const source = {
|
|
135
135
|
type: "tool",
|
|
@@ -148,7 +148,7 @@ var Plugin37 = {
|
|
|
148
148
|
yield* access.authorizeExternal([target, ...directories], context);
|
|
149
149
|
if (parsed.commands.length > 0)
|
|
150
150
|
yield* permission.assert({
|
|
151
|
-
action:
|
|
151
|
+
action: name10,
|
|
152
152
|
resources: parsed.commands.map((command) => command.resource),
|
|
153
153
|
save: parsed.commands.map((command) => command.save),
|
|
154
154
|
sessionID: context.sessionID,
|
|
@@ -185,10 +185,10 @@ var Plugin37 = {
|
|
|
185
185
|
yield* jobs.completeBackground(info.notificationID);
|
|
186
186
|
}, Effect.forkIn(scope, { startImmediately: true }));
|
|
187
187
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
188
|
-
name:
|
|
188
|
+
name: name10,
|
|
189
189
|
options: { codemode: false },
|
|
190
190
|
description: description(),
|
|
191
|
-
input:
|
|
191
|
+
input: Input10,
|
|
192
192
|
output: Output,
|
|
193
193
|
execute: (input, context) => Effect.gen(function* () {
|
|
194
194
|
const timeout = input.background === true ? input.timeout ?? 0 : input.timeout ?? DEFAULT_TIMEOUT_MS2;
|
|
@@ -211,7 +211,7 @@ var Plugin37 = {
|
|
|
211
211
|
const run = Effect.gen(function* () {
|
|
212
212
|
const result = yield* shell.result(info);
|
|
213
213
|
if (!result.capture)
|
|
214
|
-
return yield* new
|
|
214
|
+
return yield* new NotFoundError9({ id: info.id });
|
|
215
215
|
const output = output2(result);
|
|
216
216
|
return {
|
|
217
217
|
...output,
|
|
@@ -225,7 +225,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
225
225
|
`)), Effect.onInterrupt(() => shell.remove(info.id).pipe(Effect.ignore)));
|
|
226
226
|
const job = yield* jobs.start({
|
|
227
227
|
id: info.id,
|
|
228
|
-
type:
|
|
228
|
+
type: name10,
|
|
229
229
|
title: info.command,
|
|
230
230
|
metadata: { sessionID: context.sessionID, shellID: info.id },
|
|
231
231
|
recovery: {
|
|
@@ -255,7 +255,7 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
255
255
|
}).pipe(Effect.map(toolResult), Effect.mapError((error) => new ToolFailure({ message: `Unable to execute command: ${input.command}`, error })))
|
|
256
256
|
})).pipe(Effect.orDie);
|
|
257
257
|
const hook = (event) => Effect.gen(function* () {
|
|
258
|
-
const tool = event.tools[
|
|
258
|
+
const tool = event.tools[name10];
|
|
259
259
|
if (!tool)
|
|
260
260
|
return;
|
|
261
261
|
tool.description = description(name15(yield* compatibleShell));
|
|
@@ -266,4 +266,4 @@ Command exceeded timeout of ${finalTimeout} ms. Retry with a larger timeout if t
|
|
|
266
266
|
})
|
|
267
267
|
};
|
|
268
268
|
|
|
269
|
-
export {
|
|
269
|
+
export { name10, DEFAULT_TIMEOUT_MS2, Input10, Plugin12, exports_shell };
|