@opencode/core 0.0.0-dev-20966 → 0.0.0-dev-20968
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +81 -81
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +7 -7
- package/dist/bus.js +71 -71
- package/dist/chunks/{worktree-vb3pk5gr.js → location-service-map-04ttag0w.js} +28 -28
- package/dist/chunks/{worktree-hsgza3cm.js → location-service-map-05hkmm44.js} +18 -18
- package/dist/chunks/{worktree-xmsn35g9.js → location-service-map-07w9enf1.js} +14 -14
- package/dist/chunks/{worktree-9a3zed70.js → location-service-map-0a3bg0j5.js} +27 -27
- package/dist/chunks/{worktree-0b5g1ynf.js → location-service-map-0b5g1ynf.js} +4 -4
- package/dist/chunks/{worktree-63xqm307.js → location-service-map-0bztnv55.js} +15 -15
- package/dist/chunks/{worktree-0c8z4cs3.js → location-service-map-0fzbfnq7.js} +2 -2
- package/dist/chunks/{worktree-3dak6s47.js → location-service-map-0hw4dk4w.js} +1 -1
- package/dist/chunks/{worktree-0j77ygfz.js → location-service-map-0j77ygfz.js} +2 -2
- package/dist/chunks/{worktree-q28ks4kq.js → location-service-map-0pj15cwb.js} +34 -34
- package/dist/chunks/{worktree-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{worktree-0a99m7qb.js → location-service-map-0ycdfwp1.js} +14 -14
- package/dist/chunks/{worktree-eb78yqxb.js → location-service-map-112anbc5.js} +8 -8
- package/dist/chunks/{worktree-hex4f5x3.js → location-service-map-17t4d4av.js} +11 -11
- package/dist/chunks/{worktree-c7m8ew2s.js → location-service-map-189fjxnc.js} +20 -20
- package/dist/chunks/{worktree-cj2pe107.js → location-service-map-190mk5vc.js} +10 -10
- package/dist/chunks/{worktree-57676ctm.js → location-service-map-1bz87fsm.js} +13 -13
- package/dist/chunks/location-service-map-1g906he0.js +26 -0
- package/dist/chunks/{worktree-z8ads2fd.js → location-service-map-1hyeesvh.js} +16 -16
- package/dist/chunks/{worktree-rkg4v3e5.js → location-service-map-1j6m29mr.js} +4 -4
- package/dist/chunks/{worktree-9t1h6qm2.js → location-service-map-1krj7acz.js} +40 -40
- package/dist/chunks/{worktree-v9erzek1.js → location-service-map-1xjc3krj.js} +5 -5
- package/dist/chunks/{worktree-8e27w5a6.js → location-service-map-285qnyny.js} +16 -16
- package/dist/chunks/{worktree-15xqyjtq.js → location-service-map-2gw07b48.js} +10 -10
- package/dist/chunks/{worktree-2k8khapm.js → location-service-map-2k8khapm.js} +1 -1
- package/dist/chunks/{worktree-e6p3a57j.js → location-service-map-38x8v0tv.js} +24 -24
- package/dist/chunks/{worktree-k1n0z3hy.js → location-service-map-3b16v5tt.js} +5 -5
- package/dist/chunks/{worktree-xeyk6e5c.js → location-service-map-3dq15cxk.js} +13 -13
- package/dist/chunks/{worktree-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{worktree-2mmjvpe1.js → location-service-map-3fgtv7ze.js} +20 -20
- package/dist/chunks/{worktree-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/{worktree-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{worktree-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{worktree-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{worktree-tk5h2yrb.js → location-service-map-453vx0dg.js} +32 -32
- package/dist/chunks/{worktree-6f79fvzy.js → location-service-map-4c3ndrn6.js} +9 -9
- package/dist/chunks/{worktree-cnnb9061.js → location-service-map-4pn1xf0p.js} +20 -20
- package/dist/chunks/{worktree-f0znm7sz.js → location-service-map-4sqgwhvg.js} +15 -15
- package/dist/chunks/{worktree-x3gqap9d.js → location-service-map-4v7ngy20.js} +4 -4
- package/dist/chunks/{worktree-5dkn69vz.js → location-service-map-4z58m4b4.js} +4 -4
- package/dist/chunks/{worktree-vvccsdf3.js → location-service-map-51f5btjf.js} +6 -6
- package/dist/chunks/{worktree-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{worktree-ewzsx78j.js → location-service-map-5cs9fw4j.js} +17 -17
- package/dist/chunks/{worktree-zjvj18av.js → location-service-map-5e6vztpv.js} +11 -11
- package/dist/chunks/{worktree-9heq1gfm.js → location-service-map-5jvy51wy.js} +1 -1
- package/dist/chunks/{worktree-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-8tbg6stw.js → location-service-map-5pyvwtgy.js} +15 -15
- package/dist/chunks/{worktree-6mgx7xe7.js → location-service-map-605e1jbp.js} +8 -8
- package/dist/chunks/{worktree-e2s224y0.js → location-service-map-61qtfb41.js} +20 -20
- package/dist/chunks/{worktree-a6avbjvq.js → location-service-map-69jqfsnf.js} +11 -11
- package/dist/chunks/{worktree-tp1s2539.js → location-service-map-6bkr64fg.js} +9 -9
- package/dist/chunks/{worktree-cmchd7hs.js → location-service-map-6c5stfwb.js} +3 -3
- package/dist/chunks/{worktree-6g107h22.js → location-service-map-6g107h22.js} +2 -2
- package/dist/chunks/{worktree-s1kvmffy.js → location-service-map-6hjx5zpb.js} +9 -9
- package/dist/chunks/{worktree-28b65eap.js → location-service-map-6kpyj4fb.js} +11 -11
- package/dist/chunks/{worktree-4w8247ap.js → location-service-map-6mdwj01c.js} +7 -7
- package/dist/chunks/{worktree-k368h1bw.js → location-service-map-6npkjnc9.js} +14 -14
- package/dist/chunks/{worktree-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{worktree-cfwkm2sy.js → location-service-map-6xc75jjq.js} +43 -43
- package/dist/chunks/{worktree-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{worktree-xnpybbqa.js → location-service-map-79rgchyy.js} +24 -24
- package/dist/chunks/{worktree-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/location-service-map-7fj5dwt0.js +18 -0
- package/dist/chunks/{worktree-mr8m5p48.js → location-service-map-7hff53af.js} +9 -9
- package/dist/chunks/{worktree-x4yqgpdn.js → location-service-map-7mp49jye.js} +16 -16
- package/dist/chunks/{worktree-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{worktree-k8pbnrry.js → location-service-map-88jjz5re.js} +12 -12
- package/dist/chunks/{worktree-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
- package/dist/chunks/{worktree-s4z024b2.js → location-service-map-8cxvr4t8.js} +36 -36
- package/dist/chunks/{worktree-ck9w7hsc.js → location-service-map-8czxvfjx.js} +29 -29
- package/dist/chunks/{worktree-6r3dthtv.js → location-service-map-8kzy7b3z.js} +23 -23
- package/dist/chunks/{worktree-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{worktree-jdks16ag.js → location-service-map-8sqat94k.js} +19 -19
- package/dist/chunks/{worktree-7fkffz83.js → location-service-map-8sze2n9a.js} +8 -8
- package/dist/chunks/{worktree-dkhangmk.js → location-service-map-8ykp9xbw.js} +31 -31
- package/dist/chunks/{worktree-31v8j1ma.js → location-service-map-95kyz0q3.js} +6 -6
- package/dist/chunks/{worktree-nq09r4dh.js → location-service-map-96kn8jjj.js} +6 -6
- package/dist/chunks/{worktree-zpkap1h9.js → location-service-map-977pwvh6.js} +2 -2
- package/dist/chunks/{worktree-1cz5vd6m.js → location-service-map-9d2vkprr.js} +11 -11
- package/dist/chunks/{worktree-d9bwsjmy.js → location-service-map-9h357zpk.js} +8 -8
- package/dist/chunks/{worktree-cmwkp3r5.js → location-service-map-9hn6k4tm.js} +8 -8
- package/dist/chunks/{worktree-047x8gkn.js → location-service-map-9tr2qfdk.js} +9 -9
- package/dist/chunks/{worktree-qsf3y1ew.js → location-service-map-9vjjhptz.js} +10 -10
- package/dist/chunks/{worktree-xa33bmm9.js → location-service-map-9zdssp4n.js} +9 -9
- package/dist/chunks/{worktree-wgkrc4gf.js → location-service-map-a41h3yhs.js} +29 -29
- package/dist/chunks/{worktree-faaxxfm8.js → location-service-map-a42kkhkg.js} +31 -31
- package/dist/chunks/{worktree-f6qqz66d.js → location-service-map-a4hp8e9p.js} +12 -12
- package/dist/chunks/{worktree-gr62y671.js → location-service-map-a62egxb3.js} +3 -3
- package/dist/chunks/location-service-map-asevcyq5.js +253 -0
- package/dist/chunks/{worktree-vnmj6pqx.js → location-service-map-av8cscef.js} +25 -25
- package/dist/chunks/{worktree-9wqr0z3w.js → location-service-map-ayt5007s.js} +4 -4
- package/dist/chunks/{worktree-4a7gy6vj.js → location-service-map-b1a1n7cj.js} +3 -3
- package/dist/chunks/{worktree-wecqtg5s.js → location-service-map-b3f8fkhc.js} +5 -5
- package/dist/chunks/{worktree-z4tt41b4.js → location-service-map-b7hvd3bh.js} +6 -6
- package/dist/chunks/{worktree-qpzrnwb7.js → location-service-map-b89jdn4q.js} +13 -13
- package/dist/chunks/{worktree-23wx4d1f.js → location-service-map-bh3fdk74.js} +3 -3
- package/dist/chunks/{worktree-7j49d4k9.js → location-service-map-bhhmebad.js} +20 -20
- package/dist/chunks/{worktree-wwj18gnb.js → location-service-map-bjkg2ks4.js} +23 -23
- package/dist/chunks/{worktree-ywt8jp22.js → location-service-map-bjx1sjef.js} +9 -9
- package/dist/chunks/{worktree-ba964zp9.js → location-service-map-bm095xha.js} +3 -3
- package/dist/chunks/{worktree-72f2khbq.js → location-service-map-bpq9gadp.js} +14 -14
- package/dist/chunks/{worktree-w8xr7nv8.js → location-service-map-btec747f.js} +5 -5
- package/dist/chunks/{worktree-c1fqxshp.js → location-service-map-c1fqxshp.js} +3 -3
- package/dist/chunks/{worktree-13qy106w.js → location-service-map-c6nr29zh.js} +10 -10
- package/dist/chunks/{worktree-hzmhka1f.js → location-service-map-c7s5xd0e.js} +45 -45
- package/dist/chunks/{worktree-3mpe3zgf.js → location-service-map-c87q280n.js} +3 -3
- package/dist/chunks/{worktree-5x9t471j.js → location-service-map-cakf0m7d.js} +33 -33
- package/dist/chunks/{worktree-dx0ahrbs.js → location-service-map-d04ep358.js} +11 -11
- package/dist/chunks/{worktree-r8bsfb7y.js → location-service-map-d54g0exn.js} +7 -7
- package/dist/chunks/{worktree-1g6fppr6.js → location-service-map-dacbrmk2.js} +11 -11
- package/dist/chunks/{worktree-m9qsaj22.js → location-service-map-dkpnw212.js} +8 -8
- package/dist/chunks/{worktree-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
- package/dist/chunks/{worktree-wzwj114h.js → location-service-map-dzrvr4nb.js} +44 -44
- package/dist/chunks/{worktree-r7x64v0s.js → location-service-map-e2t7s5t4.js} +40 -40
- package/dist/chunks/{worktree-vmvc3m0d.js → location-service-map-e334ff5n.js} +17 -17
- package/dist/chunks/{worktree-q11w256c.js → location-service-map-eb5nwvjj.js} +18 -18
- package/dist/chunks/{worktree-fc8788t2.js → location-service-map-ebbyhdvc.js} +31 -31
- package/dist/chunks/{worktree-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{worktree-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{worktree-9qyart7b.js → location-service-map-ej81gkeg.js} +8 -8
- package/dist/chunks/{worktree-32npmyat.js → location-service-map-emxdjm72.js} +25 -25
- package/dist/chunks/{worktree-qjnp8kth.js → location-service-map-erts2f6e.js} +13 -13
- package/dist/chunks/{worktree-raem8mh3.js → location-service-map-ewf8j77t.js} +11 -11
- package/dist/chunks/{worktree-rrnkc0yz.js → location-service-map-exs4tskk.js} +21 -21
- package/dist/chunks/{worktree-p2w8rnj5.js → location-service-map-f50nbvzh.js} +38 -38
- package/dist/chunks/{worktree-y73tf1nx.js → location-service-map-fkhvp8gb.js} +12 -12
- package/dist/chunks/{worktree-khmqacep.js → location-service-map-fxaymqdw.js} +4 -4
- package/dist/chunks/{worktree-c6kyp2vd.js → location-service-map-g0xzmjr0.js} +7 -7
- package/dist/chunks/{worktree-efamztt7.js → location-service-map-gabsh7yw.js} +9 -9
- package/dist/chunks/{worktree-jhdf29st.js → location-service-map-gd0tnyjc.js} +1 -1
- package/dist/chunks/{worktree-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{worktree-hxn427s8.js → location-service-map-gk6ab8mf.js} +13 -13
- package/dist/chunks/{worktree-9jyxv9wv.js → location-service-map-gv2dj64n.js} +5 -5
- package/dist/chunks/{worktree-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{worktree-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
- package/dist/chunks/{worktree-wh6zw745.js → location-service-map-h83xjv7f.js} +5 -5
- package/dist/chunks/{worktree-jjv1jct9.js → location-service-map-h8rphgn6.js} +2 -2
- package/dist/chunks/{worktree-39z47dss.js → location-service-map-h9mky73t.js} +13 -13
- package/dist/chunks/{worktree-had4kgfk.js → location-service-map-had4kgfk.js} +1 -1
- package/dist/chunks/{worktree-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/{worktree-00bpreyp.js → location-service-map-hhyv66vq.js} +8 -8
- package/dist/chunks/{worktree-sq2wxdf8.js → location-service-map-hmdrvyfh.js} +71 -71
- package/dist/chunks/{worktree-0y76yggw.js → location-service-map-hsvqr7g3.js} +33 -33
- package/dist/chunks/{worktree-9y8rfr9p.js → location-service-map-hxtckxf3.js} +27 -27
- package/dist/chunks/{worktree-k8y2vxwm.js → location-service-map-hzp768xy.js} +3 -3
- package/dist/chunks/{worktree-91qna3x0.js → location-service-map-j09zfasm.js} +3 -3
- package/dist/chunks/{worktree-bk4fykk5.js → location-service-map-j5chjq9f.js} +10 -10
- package/dist/chunks/{worktree-7ac80gxj.js → location-service-map-j8ssv6es.js} +11 -11
- package/dist/chunks/{worktree-0k9zmgbm.js → location-service-map-j947zhwf.js} +11 -11
- package/dist/chunks/{worktree-0s8710ya.js → location-service-map-jeewe651.js} +4 -4
- package/dist/chunks/{worktree-c1pn2cak.js → location-service-map-jpaf2qm1.js} +37 -37
- package/dist/chunks/{worktree-ysq9cvk3.js → location-service-map-jrzj45fy.js} +10 -10
- package/dist/chunks/{worktree-zvt5dnpc.js → location-service-map-jvf3yq6v.js} +4 -4
- package/dist/chunks/{worktree-qby9dwvd.js → location-service-map-jvnghvnw.js} +8 -8
- package/dist/chunks/{worktree-pd760nvw.js → location-service-map-jxr5ks98.js} +6 -6
- package/dist/chunks/{worktree-gkj5fv17.js → location-service-map-k4xdy46r.js} +23 -23
- package/dist/chunks/{worktree-akwfsdqq.js → location-service-map-k6709ays.js} +11 -11
- package/dist/chunks/{worktree-z0jrkcpk.js → location-service-map-kcdapykd.js} +6 -6
- package/dist/chunks/{worktree-t1bzqew3.js → location-service-map-kdxh9szv.js} +11 -11
- package/dist/chunks/{worktree-7svw2p5b.js → location-service-map-kp5we7ps.js} +15 -15
- package/dist/chunks/{worktree-w0tfgnf2.js → location-service-map-ktgr00t7.js} +2 -2
- package/dist/chunks/{worktree-yypbz2n6.js → location-service-map-kwqk5vnc.js} +20 -20
- package/dist/chunks/{worktree-fj9ny8gn.js → location-service-map-kww7pfa5.js} +7 -7
- package/dist/chunks/{worktree-zvmksf0w.js → location-service-map-kxssyy3x.js} +28 -28
- package/dist/chunks/{worktree-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{worktree-d4qs2yq9.js → location-service-map-mdmc61fe.js} +2 -2
- package/dist/chunks/{worktree-1pc1gjj0.js → location-service-map-mgjjdy5b.js} +13 -13
- package/dist/chunks/{worktree-713nkfes.js → location-service-map-mh8n60fa.js} +45 -45
- package/dist/chunks/{worktree-nvpcjjwg.js → location-service-map-mpw5hxye.js} +14 -14
- package/dist/chunks/{worktree-tbvqj3dg.js → location-service-map-mt6brxxc.js} +4 -4
- package/dist/chunks/{worktree-gvrzmcf4.js → location-service-map-najnejyn.js} +16 -16
- package/dist/chunks/{worktree-wmvxw9n2.js → location-service-map-nc1ev885.js} +82 -82
- package/dist/chunks/{worktree-nwz3xn1w.js → location-service-map-ncp1h5wm.js} +4 -4
- package/dist/chunks/{worktree-ed1g29hy.js → location-service-map-nma959mg.js} +3 -3
- package/dist/chunks/{worktree-a2g5zc1h.js → location-service-map-npgv39fj.js} +2 -2
- package/dist/chunks/{worktree-ndq62nn0.js → location-service-map-nqsv03v6.js} +78 -78
- package/dist/chunks/{worktree-kada6eax.js → location-service-map-pck7vvdx.js} +6 -6
- package/dist/chunks/{worktree-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{worktree-qcfhvs9f.js → location-service-map-pjykpq9n.js} +33 -33
- package/dist/chunks/{worktree-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-phgh38vw.js → location-service-map-q4aap459.js} +23 -23
- package/dist/chunks/{worktree-mj4h5zyy.js → location-service-map-q85n4xbh.js} +9 -9
- package/dist/chunks/{worktree-d784a9zz.js → location-service-map-qavnhd3j.js} +27 -27
- package/dist/chunks/{worktree-2pn6kxez.js → location-service-map-qb7q1f1d.js} +18 -18
- package/dist/chunks/{worktree-3yes92cn.js → location-service-map-qce5rqyv.js} +7 -7
- package/dist/chunks/{worktree-n3g5pdec.js → location-service-map-qe178b41.js} +26 -26
- package/dist/chunks/{worktree-nd3zr4qw.js → location-service-map-qezm2w8e.js} +15 -15
- package/dist/chunks/{worktree-rec41zv7.js → location-service-map-qgw57eb3.js} +8 -8
- package/dist/chunks/{worktree-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{worktree-14mhcz0z.js → location-service-map-qrabmw5q.js} +35 -35
- package/dist/chunks/{worktree-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{worktree-36sqq72v.js → location-service-map-qvcr5dcn.js} +19 -19
- package/dist/chunks/{worktree-w2fd5jxd.js → location-service-map-qwf29bqw.js} +3 -3
- package/dist/chunks/{worktree-sjbmsh99.js → location-service-map-qyvjbqsg.js} +12 -12
- package/dist/chunks/{worktree-d4he2qe1.js → location-service-map-r2m716tb.js} +9 -9
- package/dist/chunks/{worktree-2g49c99y.js → location-service-map-r3yrqnb5.js} +17 -17
- package/dist/chunks/{worktree-nd4tfyg0.js → location-service-map-ra67jj04.js} +9 -9
- package/dist/chunks/{worktree-1g7epwpd.js → location-service-map-ratrq7cm.js} +7 -7
- package/dist/chunks/{worktree-d7zx0zg5.js → location-service-map-raxjnfg2.js} +11 -11
- package/dist/chunks/{worktree-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{worktree-rert0e01.js → location-service-map-rert0e01.js} +2 -2
- package/dist/chunks/{worktree-2csbwcjg.js → location-service-map-rfnwmvtk.js} +9 -9
- package/dist/chunks/{worktree-919ps8m3.js → location-service-map-rht436q7.js} +14 -14
- package/dist/chunks/{worktree-rj3eygr5.js → location-service-map-rj3eygr5.js} +2 -2
- package/dist/chunks/{worktree-svwvq4d5.js → location-service-map-s6a94ykt.js} +50 -50
- package/dist/chunks/{worktree-hzsf6k88.js → location-service-map-s90bytks.js} +15 -15
- package/dist/chunks/{worktree-sa8ekw3f.js → location-service-map-sa8ekw3f.js} +2 -2
- package/dist/chunks/{worktree-m0xm5t79.js → location-service-map-sdk84yjp.js} +1 -1
- package/dist/chunks/{worktree-352md1ar.js → location-service-map-sfz6vzg3.js} +10 -10
- package/dist/chunks/{worktree-f3x7gcm5.js → location-service-map-st6tfvct.js} +30 -30
- package/dist/chunks/{worktree-7gra0nqm.js → location-service-map-svcw9x3w.js} +5 -5
- package/dist/chunks/{worktree-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{worktree-heq1a16y.js → location-service-map-t4jzmwkk.js} +7 -7
- package/dist/chunks/{worktree-t550f9t1.js → location-service-map-t550f9t1.js} +1 -1
- package/dist/chunks/{worktree-0p4seb2j.js → location-service-map-t7n4d1yf.js} +4 -4
- package/dist/chunks/{worktree-2n295dmf.js → location-service-map-t89fqycx.js} +8 -8
- package/dist/chunks/{worktree-qk5v6yqg.js → location-service-map-t9es0ena.js} +16 -16
- package/dist/chunks/{worktree-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{worktree-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{worktree-x7eaanfs.js → location-service-map-thf5141v.js} +3 -3
- package/dist/chunks/{worktree-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{worktree-bpn8wa0j.js → location-service-map-trecwywa.js} +26 -26
- package/dist/chunks/{worktree-547mgkha.js → location-service-map-ttbvdjdw.js} +16 -16
- package/dist/chunks/{worktree-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{worktree-v0es1rhs.js → location-service-map-v0es1rhs.js} +2 -2
- package/dist/chunks/location-service-map-v2exr8cw.js +513 -0
- package/dist/chunks/{worktree-zpt8t96v.js → location-service-map-v2fstvx9.js} +25 -25
- package/dist/chunks/{worktree-wxdrkwee.js → location-service-map-v6tgae3y.js} +145 -145
- package/dist/chunks/{worktree-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{worktree-nhe6bk5v.js → location-service-map-vdcsbfm7.js} +7 -7
- package/dist/chunks/{worktree-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{worktree-273zw8zg.js → location-service-map-vfd5z52g.js} +20 -20
- package/dist/chunks/{worktree-xfw881m1.js → location-service-map-vh4rw25j.js} +10 -10
- package/dist/chunks/{worktree-ht3mx19x.js → location-service-map-vhvv9bf9.js} +13 -13
- package/dist/chunks/{worktree-bf1tsaws.js → location-service-map-vxznmwbn.js} +14 -14
- package/dist/chunks/{worktree-4bm5ja14.js → location-service-map-vycw7md4.js} +4 -4
- package/dist/chunks/{worktree-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{worktree-8dc9ddds.js → location-service-map-w34bt5ev.js} +11 -11
- package/dist/chunks/{worktree-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-dvep9rg9.js → location-service-map-w5rka97k.js} +9 -9
- package/dist/chunks/{worktree-fv1gh5kw.js → location-service-map-w75czvp0.js} +3 -3
- package/dist/chunks/{worktree-z5cvsch1.js → location-service-map-w7th8kft.js} +11 -11
- package/dist/chunks/{worktree-bw54z2dz.js → location-service-map-w85jx7ef.js} +22 -22
- package/dist/chunks/{worktree-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-j8xvyka0.js → location-service-map-whqshyfz.js} +8 -8
- package/dist/chunks/{worktree-xrd6m33g.js → location-service-map-wnsxc07p.js} +19 -19
- package/dist/chunks/{worktree-qrmef7q5.js → location-service-map-wve2b6s5.js} +12 -12
- package/dist/chunks/{worktree-4h91jvx1.js → location-service-map-wvf4y7rr.js} +22 -22
- package/dist/chunks/{worktree-bc8zjgdy.js → location-service-map-x309wg9x.js} +8 -8
- package/dist/chunks/{worktree-w3smsxn0.js → location-service-map-x5wrmng7.js} +8 -8
- package/dist/chunks/{worktree-azwe5p1w.js → location-service-map-x661k3y3.js} +4 -4
- package/dist/chunks/{worktree-1yt7rx9k.js → location-service-map-x852hbsc.js} +4 -4
- package/dist/chunks/{worktree-wyp5t2nv.js → location-service-map-x94bbvss.js} +4 -4
- package/dist/chunks/{worktree-2641fc7s.js → location-service-map-xdfgfet0.js} +34 -34
- package/dist/chunks/{worktree-v2fecqa2.js → location-service-map-xe6vm9p8.js} +20 -20
- package/dist/chunks/{worktree-qqeeq2t9.js → location-service-map-xfkkasph.js} +7 -7
- package/dist/chunks/{worktree-rzj0vt9r.js → location-service-map-xsccak5w.js} +10 -10
- package/dist/chunks/{worktree-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{worktree-5rq05eez.js → location-service-map-y4a0ptp4.js} +3 -3
- package/dist/chunks/{worktree-y71avatq.js → location-service-map-y71avatq.js} +1 -1
- package/dist/chunks/{worktree-5wbbhyy2.js → location-service-map-yhebgegd.js} +22 -22
- package/dist/chunks/{worktree-1g706jtd.js → location-service-map-yjqnk9hn.js} +24 -24
- package/dist/chunks/{worktree-vckqakrf.js → location-service-map-ykdkqy2w.js} +17 -17
- package/dist/chunks/{worktree-wsss038a.js → location-service-map-ykxyh7k6.js} +10 -10
- package/dist/chunks/{worktree-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
- package/dist/chunks/{worktree-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{worktree-tthj469c.js → location-service-map-z1a6nf3f.js} +17 -17
- package/dist/chunks/{worktree-11g55wky.js → location-service-map-z4qs0yhw.js} +32 -32
- package/dist/chunks/{worktree-0ns114n3.js → location-service-map-z5rnbfrr.js} +9 -9
- package/dist/chunks/{worktree-jhyqneq0.js → location-service-map-zcfatamc.js} +10 -10
- package/dist/chunks/{worktree-47jkzegy.js → location-service-map-zmr78fwr.js} +5 -5
- package/dist/chunks/{worktree-j1c4j6vn.js → location-service-map-zpfqjb86.js} +17 -17
- package/dist/chunks/{worktree-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{worktree-yhgqt7b2.js → location-service-map-zt28r1k4.js} +25 -25
- package/dist/chunks/{worktree-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +87 -87
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +120 -120
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +118 -118
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +91 -91
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +72 -72
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +6 -6
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +82 -82
- package/dist/instructions/builtins.js +89 -89
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +109 -109
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +125 -125
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +102 -102
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +78 -78
- package/dist/plugin/command.js +104 -104
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +82 -82
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +101 -101
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +154 -154
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +166 -166
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +105 -105
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +209 -209
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +93 -93
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +121 -121
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +210 -210
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +1 -1
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +74 -74
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/worktree-619r8v3y.js +0 -18
- package/dist/chunks/worktree-gga122km.js +0 -26
- package/dist/chunks/worktree-hfhhdy4d.js +0 -513
- package/dist/chunks/worktree-yvbfxc2q.js +0 -253
- /package/dist/chunks/{worktree-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e3qxr5gk.js → location-service-map-e3qxr5gk.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{worktree-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -2,28 +2,28 @@ import {
|
|
|
2
2
|
Resource2,
|
|
3
3
|
ResourceTemplate2,
|
|
4
4
|
ResourceContent2,
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service32
|
|
6
|
+
} from "./location-service-map-8cxvr4t8.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service55
|
|
9
|
+
} from "./location-service-map-mh8n60fa.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/tool/plugin/mcp-resource.ts
|
|
15
15
|
var exports_mcp_resource = {};
|
|
16
16
|
__export(exports_mcp_resource, {
|
|
17
17
|
McpResourceTools: () => exports_mcp_resource,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin45
|
|
19
19
|
});
|
|
20
20
|
import { ToolFailure } from "@opencode/ai";
|
|
21
21
|
import { Effect, Schema } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin45 = {
|
|
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* Service32;
|
|
26
|
+
const permission = yield* Service55;
|
|
27
27
|
yield* ctx.tool.transform((editor) => {
|
|
28
28
|
editor.add({
|
|
29
29
|
name: "list_mcp_resources",
|
|
@@ -93,4 +93,4 @@ var Plugin9 = {
|
|
|
93
93
|
})
|
|
94
94
|
};
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Plugin45, exports_mcp_resource };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-t7n4d1yf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Event18,
|
|
7
|
+
Service73,
|
|
8
|
+
node76
|
|
9
|
+
} from "./location-service-map-yjqnk9hn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./location-service-map-wvf4y7rr.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service81,
|
|
19
19
|
node85
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-0fzbfnq7.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./location-service-map-6g107h22.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./location-service-map-qb7q1f1d.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
28
|
+
names3,
|
|
29
29
|
stripPreferenceMetadata2,
|
|
30
30
|
discover3
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./location-service-map-x309wg9x.js";
|
|
32
32
|
import {
|
|
33
33
|
plan2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-dqxsqydv.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
} from "./
|
|
36
|
+
Service68,
|
|
37
|
+
Event14,
|
|
38
|
+
node71
|
|
39
|
+
} from "./location-service-map-4pn1xf0p.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/config.ts
|
|
45
45
|
var exports_config = {};
|
|
46
46
|
__export(exports_config, {
|
|
47
47
|
Config: () => exports_config,
|
|
48
|
-
Options: () =>
|
|
49
|
-
Service: () =>
|
|
48
|
+
Options: () => Options7,
|
|
49
|
+
Service: () => Service66,
|
|
50
50
|
Test: () => Test2,
|
|
51
|
-
configured: () =>
|
|
51
|
+
configured: () => configured8,
|
|
52
52
|
latest: () => latest2,
|
|
53
|
-
layer: () =>
|
|
54
|
-
node: () =>
|
|
53
|
+
layer: () => layer24,
|
|
54
|
+
node: () => node69,
|
|
55
55
|
testLayer: () => testLayer2
|
|
56
56
|
});
|
|
57
57
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -67,7 +67,7 @@ import { ChildProcess } from "effect/process";
|
|
|
67
67
|
function latest2(entries, key) {
|
|
68
68
|
return entries.findLast((entry) => entry.type === "document" && entry.info[key] !== undefined)?.info[key];
|
|
69
69
|
}
|
|
70
|
-
var
|
|
70
|
+
var Options7 = Schema.Struct({
|
|
71
71
|
project: Schema.optional(Schema.Boolean),
|
|
72
72
|
global: Schema.optional(Schema.Boolean),
|
|
73
73
|
system: Schema.optional(Schema.Union([Schema.Boolean, Schema.String])),
|
|
@@ -75,7 +75,7 @@ var Options6 = Schema.Struct({
|
|
|
75
75
|
content: Schema.optional(Schema.String)
|
|
76
76
|
});
|
|
77
77
|
|
|
78
|
-
class
|
|
78
|
+
class Service66 extends Context.Service()("@opencode/Config") {
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -93,16 +93,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
93
93
|
setEntries: (next) => Ref.set(entries, next),
|
|
94
94
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
95
95
|
});
|
|
96
|
-
return Context.empty().pipe(Context.add(
|
|
96
|
+
return Context.empty().pipe(Context.add(Service66, service), Context.add(Test2, service));
|
|
97
97
|
}));
|
|
98
|
-
var
|
|
98
|
+
var layer24 = (options) => Layer.effect(Service66, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
100
|
const location = yield* Service81;
|
|
101
|
-
const watcher = yield*
|
|
101
|
+
const watcher = yield* Service67;
|
|
102
102
|
const bus = yield* Service84;
|
|
103
|
-
const credentials = yield*
|
|
103
|
+
const credentials = yield* Service73;
|
|
104
104
|
const globalService = yield* Global.Service;
|
|
105
|
-
const wellknown = yield*
|
|
105
|
+
const wellknown = yield* Service68;
|
|
106
106
|
const processes = yield* AppProcess.Service;
|
|
107
107
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
108
108
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
@@ -185,7 +185,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
185
185
|
});
|
|
186
186
|
const loadDirectory = Effect.fnUntraced(function* (directory) {
|
|
187
187
|
return [
|
|
188
|
-
...yield* Effect.forEach(
|
|
188
|
+
...yield* Effect.forEach(names3, (file) => loadFile(path.join(directory, file))).pipe(Effect.map((configs) => configs.filter((config) => config !== undefined))),
|
|
189
189
|
new Directory({ type: "directory", path: directory })
|
|
190
190
|
];
|
|
191
191
|
});
|
|
@@ -253,8 +253,8 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
253
253
|
}, (effect) => reloadLock.withPermit(effect));
|
|
254
254
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
255
255
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
256
|
-
yield* bus.subscribe(
|
|
257
|
-
yield* bus.subscribe(
|
|
256
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
257
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
258
258
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
259
259
|
if (!wellknown.snapshot().length)
|
|
260
260
|
return Effect.void;
|
|
@@ -267,7 +267,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
267
267
|
yield* reloadLock.withPermit(reconcile(initial));
|
|
268
268
|
const update = Effect.fn("Config.update")(function* (patch) {
|
|
269
269
|
const directory = initial.global ?? AbsolutePath2.make(globalService.config);
|
|
270
|
-
const candidates =
|
|
270
|
+
const candidates = names3.map((name) => path.join(directory, name));
|
|
271
271
|
const filepath = (yield* Effect.filter(candidates, fs.isFile)).at(-1) ?? path.join(directory, "opencode.jsonc");
|
|
272
272
|
const text = (yield* fs.readFileStringSafe(filepath)) ?? `{}
|
|
273
273
|
`;
|
|
@@ -282,7 +282,7 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
282
282
|
`);
|
|
283
283
|
yield* requestReload;
|
|
284
284
|
}, (effect) => updateLock.withPermit(effect));
|
|
285
|
-
return
|
|
285
|
+
return Service66.of({
|
|
286
286
|
entries: Effect.fnUntraced(function* () {
|
|
287
287
|
return configs;
|
|
288
288
|
}),
|
|
@@ -294,22 +294,22 @@ var layer23 = (options) => Layer.effect(Service60, Effect.gen(function* () {
|
|
|
294
294
|
update
|
|
295
295
|
});
|
|
296
296
|
}));
|
|
297
|
-
function
|
|
297
|
+
function configured8(options) {
|
|
298
298
|
return makeLocationNode({
|
|
299
|
-
service:
|
|
300
|
-
layer:
|
|
299
|
+
service: Service66,
|
|
300
|
+
layer: layer24(options),
|
|
301
301
|
deps: [
|
|
302
|
-
|
|
302
|
+
node70,
|
|
303
303
|
node88,
|
|
304
304
|
FSUtil.node,
|
|
305
305
|
Global.node,
|
|
306
306
|
node85,
|
|
307
|
-
|
|
308
|
-
|
|
307
|
+
node76,
|
|
308
|
+
node71,
|
|
309
309
|
AppProcess.node
|
|
310
310
|
]
|
|
311
311
|
});
|
|
312
312
|
}
|
|
313
|
-
var
|
|
313
|
+
var node69 = configured8();
|
|
314
314
|
|
|
315
|
-
export { latest2,
|
|
315
|
+
export { latest2, Options7, Service66, Test2, testLayer2, layer24, configured8, node69, exports_config };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID11
|
|
3
|
+
} from "./location-service-map-v2fstvx9.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID11.make("gpt-5-chat-latest"), ID11.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Metadata2,
|
|
3
3
|
useragent2,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node64
|
|
5
|
+
} from "./location-service-map-j5chjq9f.js";
|
|
6
6
|
import {
|
|
7
7
|
provenance2,
|
|
8
8
|
compatible2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-4z58m4b4.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service59,
|
|
12
|
+
node61
|
|
13
|
+
} from "./location-service-map-jvnghvnw.js";
|
|
14
14
|
import {
|
|
15
15
|
DeclinedError2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-mh8n60fa.js";
|
|
17
17
|
import {
|
|
18
18
|
CancelledError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-6mdwj01c.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Error2
|
|
22
|
+
} from "./location-service-map-emxdjm72.js";
|
|
23
23
|
import {
|
|
24
24
|
get5
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-54ma36ye.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
27
|
+
Service37,
|
|
28
|
+
node41
|
|
29
|
+
} from "./location-service-map-9d2vkprr.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
} from "./
|
|
31
|
+
make15
|
|
32
|
+
} from "./location-service-map-xfkkasph.js";
|
|
33
33
|
import {
|
|
34
34
|
toLLMMessages2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./location-service-map-gd0tnyjc.js";
|
|
36
36
|
import {
|
|
37
37
|
__export
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
39
39
|
|
|
40
40
|
// src/session/model-request.ts
|
|
41
41
|
var exports_model_request = {};
|
|
42
42
|
__export(exports_model_request, {
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service35,
|
|
44
44
|
SessionModelRequest: () => exports_model_request,
|
|
45
45
|
baseTranscript: () => baseTranscript2,
|
|
46
46
|
boundImages: () => boundImages2,
|
|
47
|
-
layer: () =>
|
|
48
|
-
node: () =>
|
|
47
|
+
layer: () => layer16,
|
|
48
|
+
node: () => node39,
|
|
49
49
|
unsupportedParts: () => unsupportedParts2
|
|
50
50
|
});
|
|
51
51
|
import {
|
|
@@ -82,7 +82,7 @@ var baseTranscript2 = (input) => {
|
|
|
82
82
|
return {
|
|
83
83
|
providerMetadataKey,
|
|
84
84
|
system: [
|
|
85
|
-
input.agent.system ? input.agent.system :
|
|
85
|
+
input.agent.system ? input.agent.system : make15(input.tools.definitions.map((tool) => tool.name)),
|
|
86
86
|
input.initial
|
|
87
87
|
].filter((part) => part.length > 0).map(SystemPart.make),
|
|
88
88
|
messages: toLLMMessages2(input.messages, input.model.ref, providerMetadataKey)
|
|
@@ -155,11 +155,11 @@ var boundImages2 = (messages) => {
|
|
|
155
155
|
});
|
|
156
156
|
};
|
|
157
157
|
|
|
158
|
-
class
|
|
158
|
+
class Service35 extends Context.Service()("@opencode/SessionModelRequest") {
|
|
159
159
|
}
|
|
160
|
-
var
|
|
161
|
-
const hooks = yield*
|
|
162
|
-
const transport = yield*
|
|
160
|
+
var layer16 = Layer.effect(Service35, Effect.gen(function* () {
|
|
161
|
+
const hooks = yield* Service59;
|
|
162
|
+
const transport = yield* Service37;
|
|
163
163
|
const app = yield* Metadata2;
|
|
164
164
|
const prepare = Effect.fn("SessionModelRequest.prepare")(function* (kind, input, shape) {
|
|
165
165
|
const session = input.session;
|
|
@@ -167,7 +167,7 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
167
167
|
const scope = { sessionID: session.id, agent: input.agent, model: model.ref, kind };
|
|
168
168
|
const tools = input.tools ?? {
|
|
169
169
|
definitions: [],
|
|
170
|
-
execute: () => new
|
|
170
|
+
execute: () => new Error2({ message: "Tools are not available for this request" })
|
|
171
171
|
};
|
|
172
172
|
const given = new Map(tools.definitions.map((t) => [{ description: t.description, input: { ...t.inputSchema } }, t]));
|
|
173
173
|
const shaped = yield* shape({
|
|
@@ -264,17 +264,17 @@ var layer14 = Layer.effect(Service33, Effect.gen(function* () {
|
|
|
264
264
|
};
|
|
265
265
|
});
|
|
266
266
|
const agentHook = (name, agent) => (draft, tools) => hooks.trigger("session", name, { ...draft, agent, tools });
|
|
267
|
-
return
|
|
267
|
+
return Service35.of({
|
|
268
268
|
primary: (input) => prepare("primary", input, agentHook("context", input.agent)),
|
|
269
269
|
compaction: (input) => prepare("compaction", input, agentHook("compaction", input.agent)),
|
|
270
270
|
generate: (input) => prepare("generate", input, agentHook("generate", input.agent)),
|
|
271
271
|
title: (input) => prepare("title", input, (draft) => hooks.trigger("session", "title", draft))
|
|
272
272
|
});
|
|
273
273
|
}));
|
|
274
|
-
var
|
|
275
|
-
service:
|
|
276
|
-
layer:
|
|
277
|
-
deps: [
|
|
274
|
+
var node39 = makeLocationNode({
|
|
275
|
+
service: Service35,
|
|
276
|
+
layer: layer16,
|
|
277
|
+
deps: [node61, node41, node64]
|
|
278
278
|
});
|
|
279
279
|
|
|
280
|
-
export { baseTranscript2, unsupportedParts2, boundImages2,
|
|
280
|
+
export { baseTranscript2, unsupportedParts2, boundImages2, Service35, layer16, node39, exports_model_request };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
cleanup3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-gd4qta3r.js";
|
|
4
4
|
import {
|
|
5
5
|
create3
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/tool-output.ts
|
|
12
12
|
var exports_tool_output2 = {};
|
|
@@ -15,10 +15,10 @@ __export(exports_tool_output2, {
|
|
|
15
15
|
MAX_BYTES: () => MAX_BYTES2,
|
|
16
16
|
MAX_LINES: () => MAX_LINES2,
|
|
17
17
|
RETENTION: () => RETENTION3,
|
|
18
|
-
Service: () =>
|
|
18
|
+
Service: () => Service51,
|
|
19
19
|
ToolOutput: () => exports_tool_output2,
|
|
20
20
|
fileName: () => fileName2,
|
|
21
|
-
node: () =>
|
|
21
|
+
node: () => node53
|
|
22
22
|
});
|
|
23
23
|
import path from "path";
|
|
24
24
|
import { Context, Duration, Effect, Layer, Schedule } from "effect";
|
|
@@ -32,13 +32,13 @@ var RETENTION3 = Duration.days(7);
|
|
|
32
32
|
var DIRECTORY3 = "tool-output";
|
|
33
33
|
var fileName2 = (timestamp) => "tool_" + Identifier.create(false, timestamp);
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service51 extends Context.Service()("@opencode/ToolOutput") {
|
|
36
36
|
}
|
|
37
37
|
var cleanup = Effect.fn("ToolOutput.cleanup")(function* (fs, directory) {
|
|
38
38
|
const entries = yield* fs.readDirectory(directory).pipe(Effect.map((entries) => entries.filter((entry) => /^tool_[0-9a-f]{12}/.test(entry))), Effect.orElseSucceed(() => []));
|
|
39
39
|
yield* cleanup3(fs, entries.map((entry) => path.join(directory, entry)), RETENTION3);
|
|
40
40
|
});
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
42
42
|
const fs = yield* FSUtil.Service;
|
|
43
43
|
const global = yield* Global.Service;
|
|
44
44
|
const directory = path.join(global.data, DIRECTORY3);
|
|
@@ -116,7 +116,7 @@ var layer = Layer.effect(Service63, Effect.gen(function* () {
|
|
|
116
116
|
metadata: { ...result.metadata, truncated: true, outputPath: file }
|
|
117
117
|
};
|
|
118
118
|
});
|
|
119
|
-
return
|
|
119
|
+
return Service51.of({
|
|
120
120
|
transform: state.transform,
|
|
121
121
|
reload: state.reload,
|
|
122
122
|
truncate,
|
|
@@ -133,10 +133,10 @@ var cleanupNode = makeGlobalNode({
|
|
|
133
133
|
layer: cleanupLayer,
|
|
134
134
|
deps: [FSUtil.node, Global.node]
|
|
135
135
|
});
|
|
136
|
-
var
|
|
137
|
-
service:
|
|
136
|
+
var node53 = makeLocationNode({
|
|
137
|
+
service: Service51,
|
|
138
138
|
layer,
|
|
139
139
|
deps: [FSUtil.node, Global.node, cleanupNode]
|
|
140
140
|
});
|
|
141
141
|
|
|
142
|
-
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2,
|
|
142
|
+
export { MAX_LINES2, MAX_BYTES2, RETENTION3, DIRECTORY3, fileName2, Service51, node53, exports_tool_output2 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-t7n4d1yf.js";
|
|
4
4
|
import {
|
|
5
5
|
supportsText2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-v2fstvx9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service25,
|
|
9
|
+
Event5
|
|
10
|
+
} from "./location-service-map-453vx0dg.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* Service25;
|
|
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(Event5.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);
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PATCH_CONTEXT_LINES2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-tazgh4e4.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
ID9,
|
|
6
|
+
Service62
|
|
7
|
+
} from "./location-service-map-eb5nwvjj.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-b1a1n7cj.js";
|
|
11
11
|
import {
|
|
12
12
|
MessageNotFoundError2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-96kn8jjj.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/session/diff.ts
|
|
22
22
|
var exports_diff = {};
|
|
@@ -81,14 +81,14 @@ var turn2 = Effect.fn("SessionDiff.turn")(function* (db, locations, input) {
|
|
|
81
81
|
const location = before ? decodeLocation(before) : after ? decodeLocation(after) : input.session.location;
|
|
82
82
|
const recorded = steps.findLast((step) => step.end)?.end;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
|
-
const snapshot = yield*
|
|
84
|
+
const snapshot = yield* Service62;
|
|
85
85
|
const running = input.active && final.completed === null;
|
|
86
86
|
const to = running ? (yield* snapshot.capture()) ?? recorded : recorded;
|
|
87
87
|
if (!to)
|
|
88
88
|
return [];
|
|
89
89
|
return yield* snapshot.diff({
|
|
90
|
-
from:
|
|
91
|
-
to:
|
|
90
|
+
from: ID9.make(from),
|
|
91
|
+
to: ID9.make(to),
|
|
92
92
|
context: input.context ?? PATCH_CONTEXT_LINES2
|
|
93
93
|
});
|
|
94
94
|
}).pipe(Effect.provide(locations.get(location)));
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-j5chjq9f.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/tavily.ts
|
|
9
9
|
var exports_tavily = {};
|
|
10
10
|
__export(exports_tavily, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin2,
|
|
12
12
|
WebSearchTavily: () => exports_tavily,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint2
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Duration, Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint2 = "https://api.tavily.com/search";
|
|
19
19
|
var SearchRequest = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
search_depth: Schema.Literal("basic"),
|
|
@@ -29,7 +29,7 @@ var SearchResponse = Schema.Struct({
|
|
|
29
29
|
content: Schema.String
|
|
30
30
|
}))
|
|
31
31
|
});
|
|
32
|
-
var
|
|
32
|
+
var Plugin2 = define({
|
|
33
33
|
id: "opencode.websearch.tavily",
|
|
34
34
|
effect: Effect.fn("WebSearchTavily.Plugin")(function* (ctx) {
|
|
35
35
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -51,7 +51,7 @@ var Plugin37 = define({
|
|
|
51
51
|
execute: (input) => Effect.gen(function* () {
|
|
52
52
|
const connection = yield* ctx.integration.connection.active("tavily");
|
|
53
53
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
54
|
-
const request = yield* HttpClientRequest.post(
|
|
54
|
+
const request = yield* HttpClientRequest.post(endpoint2).pipe(HttpClientRequest.acceptJson, HttpClientRequest.setHeaders({
|
|
55
55
|
"User-Agent": useragent2(ctx.app),
|
|
56
56
|
"X-Client-Name": "opencode2",
|
|
57
57
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : { "X-Tavily-Access-Mode": "keyless" }
|
|
@@ -77,4 +77,4 @@ var Plugin37 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin2, exports_tavily };
|