@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
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-j5chjq9f.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-bjx1sjef.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/parallel.ts
|
|
12
12
|
var exports_parallel = {};
|
|
13
13
|
__export(exports_parallel, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin3,
|
|
15
15
|
WebSearchParallel: () => exports_parallel,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint3
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint3 = "https://search.parallel.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
objective: Schema.String,
|
|
24
24
|
search_queries: Schema.Array(Schema.String),
|
|
@@ -47,7 +47,7 @@ var McpOutput = Schema.Struct({
|
|
|
47
47
|
content: Schema.Array(Schema.Struct({ type: Schema.Literal("text"), text: Schema.String })),
|
|
48
48
|
structuredContent: SearchResponse
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Plugin3 = define({
|
|
51
51
|
id: "opencode.websearch.parallel",
|
|
52
52
|
effect: Effect.fn("WebSearchParallel.Plugin")(function* (ctx) {
|
|
53
53
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -69,7 +69,7 @@ var Plugin36 = define({
|
|
|
69
69
|
execute: (input) => Effect.gen(function* () {
|
|
70
70
|
const connection = yield* ctx.integration.connection.active("parallel");
|
|
71
71
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
72
|
-
const result = yield* call2(http,
|
|
72
|
+
const result = yield* call2(http, endpoint3, "web_search", { input: McpInput, output: McpOutput }, {
|
|
73
73
|
objective: input.query,
|
|
74
74
|
search_queries: [input.query]
|
|
75
75
|
}, {
|
|
@@ -93,4 +93,4 @@ var Plugin36 = define({
|
|
|
93
93
|
})
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { endpoint3, Plugin3, exports_parallel };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-t7n4d1yf.js";
|
|
5
5
|
import {
|
|
6
6
|
environment2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-qvcr5dcn.js";
|
|
8
8
|
import {
|
|
9
9
|
makeDaemonTransport2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-3t0ybcrp.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/persistent-pty/index.ts
|
|
16
16
|
var exports_persistent_pty = {};
|
|
17
17
|
__export(exports_persistent_pty, {
|
|
18
18
|
Handoff: () => Handoff2,
|
|
19
|
-
NotFoundError: () =>
|
|
20
|
-
Options: () =>
|
|
19
|
+
NotFoundError: () => NotFoundError2,
|
|
20
|
+
Options: () => Options2,
|
|
21
21
|
PersistentPty: () => exports_persistent_pty,
|
|
22
|
-
Service: () =>
|
|
23
|
-
UnavailableError: () =>
|
|
24
|
-
available: () =>
|
|
25
|
-
configured: () =>
|
|
26
|
-
layer: () =>
|
|
27
|
-
node: () =>
|
|
22
|
+
Service: () => Service21,
|
|
23
|
+
UnavailableError: () => UnavailableError2,
|
|
24
|
+
available: () => available2,
|
|
25
|
+
configured: () => configured2,
|
|
26
|
+
layer: () => layer10,
|
|
27
|
+
node: () => node24
|
|
28
28
|
});
|
|
29
29
|
import path from "node:path";
|
|
30
30
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -35,25 +35,25 @@ import { Pty } from "@opencode/schema/pty";
|
|
|
35
35
|
import { Global } from "@opencode/util/global";
|
|
36
36
|
import { resolveBinary } from "#persistent-pty-binary";
|
|
37
37
|
import { Handoff as Handoff2 } from "@opencode/schema/persistent-pty";
|
|
38
|
-
import { available as
|
|
39
|
-
var
|
|
38
|
+
import { available as available2 } from "#persistent-pty-binary";
|
|
39
|
+
var Options2 = Schema.Struct({
|
|
40
40
|
handoff: Schema.optional(Handoff),
|
|
41
41
|
root: Schema.optional(Schema.String)
|
|
42
42
|
});
|
|
43
43
|
|
|
44
|
-
class
|
|
44
|
+
class UnavailableError2 extends Schema.TaggedError()("PersistentPty.UnavailableError", {
|
|
45
45
|
message: Schema.String
|
|
46
46
|
}) {
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class NotFoundError2 extends Schema.TaggedError()("PersistentPty.NotFoundError", {
|
|
50
50
|
ptyID: Pty.ID
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service21 extends Context.Service()("@opencode/PersistentPty") {
|
|
55
55
|
}
|
|
56
|
-
var makeLayer = (options = {}) => Layer.effect(
|
|
56
|
+
var makeLayer = (options = {}) => Layer.effect(Service21, Effect.gen(function* () {
|
|
57
57
|
const bus = yield* Service84;
|
|
58
58
|
const global = yield* Global.Service;
|
|
59
59
|
const context = yield* Effect.context();
|
|
@@ -76,7 +76,7 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
76
76
|
const get = Effect.fn("PersistentPty.get")(function* (id) {
|
|
77
77
|
const found = (yield* list()).find((terminal) => terminal.id === id);
|
|
78
78
|
if (!found)
|
|
79
|
-
return yield* new
|
|
79
|
+
return yield* new NotFoundError2({ ptyID: id });
|
|
80
80
|
return found;
|
|
81
81
|
});
|
|
82
82
|
const create = Effect.fn("PersistentPty.create")(function* (sessionID, input) {
|
|
@@ -166,7 +166,7 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
166
166
|
});
|
|
167
167
|
const read = Effect.fn("PersistentPty.read")(function* (sessionID, lines) {
|
|
168
168
|
if (lines !== undefined && !Schema.is(ReadLines)(lines))
|
|
169
|
-
return yield* new
|
|
169
|
+
return yield* new UnavailableError2({ message: "lines must be an integer between 1 and 65535" });
|
|
170
170
|
const id = current.get(sessionID);
|
|
171
171
|
if (!id)
|
|
172
172
|
return null;
|
|
@@ -243,7 +243,7 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
243
243
|
detach: attachment.detach
|
|
244
244
|
};
|
|
245
245
|
});
|
|
246
|
-
return
|
|
246
|
+
return Service21.of({
|
|
247
247
|
list,
|
|
248
248
|
get,
|
|
249
249
|
create,
|
|
@@ -259,17 +259,17 @@ var makeLayer = (options = {}) => Layer.effect(Service76, Effect.gen(function* (
|
|
|
259
259
|
attach
|
|
260
260
|
});
|
|
261
261
|
}));
|
|
262
|
-
var
|
|
263
|
-
var
|
|
264
|
-
service:
|
|
265
|
-
layer: options === undefined ?
|
|
262
|
+
var layer10 = makeLayer();
|
|
263
|
+
var configured2 = (options) => makeGlobalNode({
|
|
264
|
+
service: Service21,
|
|
265
|
+
layer: options === undefined ? layer10 : makeLayer(options),
|
|
266
266
|
deps: [node88, Global.node]
|
|
267
267
|
});
|
|
268
|
-
var
|
|
268
|
+
var node24 = configured2();
|
|
269
269
|
var request = (daemon, value, start = false) => daemon.request(value, start).pipe(Effect.mapError(unavailable));
|
|
270
270
|
var optionalRequest = (daemon, value) => daemon.requestIfRunning(value).pipe(Effect.mapError(unavailable));
|
|
271
|
-
var unexpected = (response) => Effect.fail(new
|
|
272
|
-
var unavailable = (error) => new
|
|
271
|
+
var unexpected = (response) => Effect.fail(new UnavailableError2({ message: `unexpected opencode-pty response: ${response.type}` }));
|
|
272
|
+
var unavailable = (error) => new UnavailableError2({ message: error instanceof Error ? error.message : String(error) });
|
|
273
273
|
function toInfo(value) {
|
|
274
274
|
const status = value.lifecycle.status;
|
|
275
275
|
return {
|
|
@@ -301,4 +301,4 @@ function fromID(value) {
|
|
|
301
301
|
return parsed;
|
|
302
302
|
}
|
|
303
303
|
|
|
304
|
-
export {
|
|
304
|
+
export { Options2, UnavailableError2, NotFoundError2, Service21, layer10, configured2, node24, exports_persistent_pty, Handoff2, available2 };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-hgz4x7wa.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service81
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-0fzbfnq7.js";
|
|
10
10
|
import {
|
|
11
11
|
Service79
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-g0xzmjr0.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
14
|
+
Service78
|
|
15
|
+
} from "./location-service-map-0bztnv55.js";
|
|
16
16
|
import {
|
|
17
17
|
DEFAULT_SEARCH_LIMIT2,
|
|
18
18
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
19
19
|
GlobInput2,
|
|
20
20
|
Entry2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./location-service-map-8ykp9xbw.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Service55
|
|
24
|
+
} from "./location-service-map-mh8n60fa.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
Service16
|
|
27
|
+
} from "./location-service-map-5pyvwtgy.js";
|
|
28
28
|
import {
|
|
29
29
|
__export
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
31
31
|
|
|
32
32
|
// src/tool/plugin/glob.ts
|
|
33
33
|
var exports_glob = {};
|
|
34
34
|
__export(exports_glob, {
|
|
35
35
|
GlobTool: () => exports_glob,
|
|
36
|
-
Input: () =>
|
|
37
|
-
Output: () =>
|
|
38
|
-
Plugin: () =>
|
|
39
|
-
name: () =>
|
|
40
|
-
toModelContent: () =>
|
|
36
|
+
Input: () => Input10,
|
|
37
|
+
Output: () => Output6,
|
|
38
|
+
Plugin: () => Plugin47,
|
|
39
|
+
name: () => name10,
|
|
40
|
+
toModelContent: () => toModelContent5
|
|
41
41
|
});
|
|
42
42
|
import { ToolFailure } from "@opencode/ai";
|
|
43
43
|
import { Effect, Schema } from "effect";
|
|
44
44
|
import path from "path";
|
|
45
|
-
var
|
|
46
|
-
var
|
|
45
|
+
var name10 = "glob";
|
|
46
|
+
var Input10 = Schema.Struct({
|
|
47
47
|
pattern: GlobInput2.fields.pattern.annotate({ description: "Glob pattern to match files against" }),
|
|
48
48
|
path: Schema.optionalKey(RelativePath2).annotate({
|
|
49
49
|
description: "Directory to search. Defaults to the current working directory."
|
|
@@ -55,35 +55,35 @@ var Input12 = Schema.Struct({
|
|
|
55
55
|
description: `Maximum number of matching files to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
56
56
|
})
|
|
57
57
|
});
|
|
58
|
-
var
|
|
59
|
-
var
|
|
58
|
+
var Output6 = Schema.Array(Entry2);
|
|
59
|
+
var toModelContent5 = (entries, truncated = false) => {
|
|
60
60
|
const lines = entries.length === 0 ? ["No files found"] : entries.map((item) => item.path);
|
|
61
61
|
if (truncated)
|
|
62
62
|
lines.push("", `(Results are truncated: showing first ${entries.length} results. Consider using a more specific path or pattern.)`);
|
|
63
63
|
return lines.join(`
|
|
64
64
|
`);
|
|
65
65
|
};
|
|
66
|
-
var
|
|
66
|
+
var Plugin47 = {
|
|
67
67
|
id: "opencode.tool.glob",
|
|
68
68
|
effect: Effect.fn("GlobTool.Plugin")(function* (ctx) {
|
|
69
69
|
const environment = yield* Service79;
|
|
70
|
-
const ripgrep = yield*
|
|
70
|
+
const ripgrep = yield* Service78;
|
|
71
71
|
const location = yield* Service81;
|
|
72
|
-
const access = yield*
|
|
73
|
-
const permission = yield*
|
|
72
|
+
const access = yield* Service16;
|
|
73
|
+
const permission = yield* Service55;
|
|
74
74
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name10,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: 'Search file paths using a glob pattern (examples: "**/*.ts", "src/**/*.tsx").',
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input10,
|
|
79
|
+
output: Output6,
|
|
80
80
|
execute: (input, context) => Effect.gen(function* () {
|
|
81
81
|
const searchPath = input.path === "undefined" || input.path === "null" ? undefined : input.path;
|
|
82
82
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
83
83
|
const target = yield* access.resolve({ path: searchPath ?? ".", kind: "directory" });
|
|
84
84
|
yield* access.authorizeExternal([target], context);
|
|
85
85
|
yield* permission.assert({
|
|
86
|
-
action:
|
|
86
|
+
action: name10,
|
|
87
87
|
resources: [input.pattern],
|
|
88
88
|
save: ["*"],
|
|
89
89
|
metadata: {
|
|
@@ -118,11 +118,11 @@ var Plugin14 = {
|
|
|
118
118
|
return { entries: entries.slice(0, limit), truncated: entries.length > limit };
|
|
119
119
|
}).pipe(Effect.map((result) => ({
|
|
120
120
|
output: result.entries,
|
|
121
|
-
content:
|
|
121
|
+
content: toModelContent5(result.entries.map((entry) => ({ ...entry, path: path.resolve(location.directory, entry.path) })), result.truncated),
|
|
122
122
|
metadata: { count: result.entries.length, truncated: result.truncated }
|
|
123
123
|
})), Effect.mapError((error) => error instanceof ToolFailure ? error : new ToolFailure({ message: `Unable to find files matching ${input.pattern}`, error })))
|
|
124
124
|
})).pipe(Effect.orDie);
|
|
125
125
|
})
|
|
126
126
|
};
|
|
127
127
|
|
|
128
|
-
export {
|
|
128
|
+
export { name10, Input10, Output6, toModelContent5, Plugin47, exports_glob };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-bm095xha.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service44
|
|
6
|
+
} from "./location-service-map-51f5btjf.js";
|
|
7
7
|
import {
|
|
8
8
|
awaitActivation2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-7fj5dwt0.js";
|
|
10
10
|
import {
|
|
11
11
|
provenance2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-4z58m4b4.js";
|
|
13
13
|
import {
|
|
14
14
|
preview2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-ej81gkeg.js";
|
|
16
16
|
import {
|
|
17
17
|
baseTranscript2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-cakf0m7d.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service28
|
|
21
|
+
} from "./location-service-map-nqsv03v6.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/session/generate.ts
|
|
27
27
|
var exports_generate2 = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_generate2, {
|
|
|
32
32
|
import { LLMClient, Message } from "@opencode/ai";
|
|
33
33
|
import { Effect } from "effect";
|
|
34
34
|
var generate2 = Effect.fn("SessionGenerate.generate")(function* (input) {
|
|
35
|
-
const instances = yield*
|
|
35
|
+
const instances = yield* Service44;
|
|
36
36
|
const database = yield* Service85;
|
|
37
37
|
const llm = yield* LLMClient.Service;
|
|
38
38
|
return yield* Effect.gen(function* () {
|
|
39
39
|
yield* awaitActivation2;
|
|
40
|
-
const context = yield*
|
|
40
|
+
const context = yield* Service28;
|
|
41
41
|
const selection = yield* context.select(input.session.id);
|
|
42
42
|
const model = yield* context.resolveModel(selection.session);
|
|
43
43
|
const history = yield* preview2(database.db, selection.session.id, selection.instructions, provenance2(model) ?? "local");
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ID12
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-k4xdy46r.js";
|
|
4
4
|
import {
|
|
5
5
|
iife2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-1kg9ymc8.js";
|
|
7
7
|
import {
|
|
8
8
|
configuredSettings2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-kcdapykd.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/provider/cloudflare-workers-ai.ts
|
|
12
12
|
import { Effect } from "effect";
|
|
@@ -0,0 +1,253 @@
|
|
|
1
|
+
import {
|
|
2
|
+
node60
|
|
3
|
+
} from "./location-service-map-wnsxc07p.js";
|
|
4
|
+
import {
|
|
5
|
+
node78
|
|
6
|
+
} from "./location-service-map-z1a6nf3f.js";
|
|
7
|
+
import {
|
|
8
|
+
node75
|
|
9
|
+
} from "./location-service-map-bjkg2ks4.js";
|
|
10
|
+
import {
|
|
11
|
+
node85,
|
|
12
|
+
boundNode2
|
|
13
|
+
} from "./location-service-map-0fzbfnq7.js";
|
|
14
|
+
import {
|
|
15
|
+
node74
|
|
16
|
+
} from "./location-service-map-k4xdy46r.js";
|
|
17
|
+
import {
|
|
18
|
+
node62
|
|
19
|
+
} from "./location-service-map-rfnwmvtk.js";
|
|
20
|
+
import {
|
|
21
|
+
node73
|
|
22
|
+
} from "./location-service-map-v2fstvx9.js";
|
|
23
|
+
import {
|
|
24
|
+
node49
|
|
25
|
+
} from "./location-service-map-38x8v0tv.js";
|
|
26
|
+
import {
|
|
27
|
+
configured8,
|
|
28
|
+
node69
|
|
29
|
+
} from "./location-service-map-c7s5xd0e.js";
|
|
30
|
+
import {
|
|
31
|
+
node82
|
|
32
|
+
} from "./location-service-map-g0xzmjr0.js";
|
|
33
|
+
import {
|
|
34
|
+
node77
|
|
35
|
+
} from "./location-service-map-190mk5vc.js";
|
|
36
|
+
import {
|
|
37
|
+
node17
|
|
38
|
+
} from "./location-service-map-w34bt5ev.js";
|
|
39
|
+
import {
|
|
40
|
+
node80
|
|
41
|
+
} from "./location-service-map-0a3bg0j5.js";
|
|
42
|
+
import {
|
|
43
|
+
DirectoryNotFoundError2,
|
|
44
|
+
node79
|
|
45
|
+
} from "./location-service-map-8ykp9xbw.js";
|
|
46
|
+
import {
|
|
47
|
+
node56
|
|
48
|
+
} from "./location-service-map-qrabmw5q.js";
|
|
49
|
+
import {
|
|
50
|
+
node25
|
|
51
|
+
} from "./location-service-map-189fjxnc.js";
|
|
52
|
+
import {
|
|
53
|
+
node55
|
|
54
|
+
} from "./location-service-map-w5rka97k.js";
|
|
55
|
+
import {
|
|
56
|
+
node36
|
|
57
|
+
} from "./location-service-map-8cxvr4t8.js";
|
|
58
|
+
import {
|
|
59
|
+
Service44,
|
|
60
|
+
node46
|
|
61
|
+
} from "./location-service-map-51f5btjf.js";
|
|
62
|
+
import {
|
|
63
|
+
node40
|
|
64
|
+
} from "./location-service-map-3dq15cxk.js";
|
|
65
|
+
import {
|
|
66
|
+
node61
|
|
67
|
+
} from "./location-service-map-jvnghvnw.js";
|
|
68
|
+
import {
|
|
69
|
+
node57
|
|
70
|
+
} from "./location-service-map-mh8n60fa.js";
|
|
71
|
+
import {
|
|
72
|
+
node48
|
|
73
|
+
} from "./location-service-map-gabsh7yw.js";
|
|
74
|
+
import {
|
|
75
|
+
configured5,
|
|
76
|
+
node42
|
|
77
|
+
} from "./location-service-map-e334ff5n.js";
|
|
78
|
+
import {
|
|
79
|
+
node37
|
|
80
|
+
} from "./location-service-map-ykxyh7k6.js";
|
|
81
|
+
import {
|
|
82
|
+
node54
|
|
83
|
+
} from "./location-service-map-emxdjm72.js";
|
|
84
|
+
import {
|
|
85
|
+
node35
|
|
86
|
+
} from "./location-service-map-av8cscef.js";
|
|
87
|
+
import {
|
|
88
|
+
node43
|
|
89
|
+
} from "./location-service-map-w85jx7ef.js";
|
|
90
|
+
import {
|
|
91
|
+
node38
|
|
92
|
+
} from "./location-service-map-t9es0ena.js";
|
|
93
|
+
import {
|
|
94
|
+
node50
|
|
95
|
+
} from "./location-service-map-trecwywa.js";
|
|
96
|
+
import {
|
|
97
|
+
node34
|
|
98
|
+
} from "./location-service-map-61qtfb41.js";
|
|
99
|
+
import {
|
|
100
|
+
node32
|
|
101
|
+
} from "./location-service-map-nqsv03v6.js";
|
|
102
|
+
import {
|
|
103
|
+
node65
|
|
104
|
+
} from "./location-service-map-eb5nwvjj.js";
|
|
105
|
+
import {
|
|
106
|
+
node68
|
|
107
|
+
} from "./location-service-map-qvcr5dcn.js";
|
|
108
|
+
import {
|
|
109
|
+
node53
|
|
110
|
+
} from "./location-service-map-d04ep358.js";
|
|
111
|
+
import {
|
|
112
|
+
node51
|
|
113
|
+
} from "./location-service-map-f50nbvzh.js";
|
|
114
|
+
import {
|
|
115
|
+
node27
|
|
116
|
+
} from "./location-service-map-5e6vztpv.js";
|
|
117
|
+
import {
|
|
118
|
+
node18
|
|
119
|
+
} from "./location-service-map-ykdkqy2w.js";
|
|
120
|
+
import {
|
|
121
|
+
node23
|
|
122
|
+
} from "./location-service-map-q4aap459.js";
|
|
123
|
+
import {
|
|
124
|
+
node21
|
|
125
|
+
} from "./location-service-map-najnejyn.js";
|
|
126
|
+
import {
|
|
127
|
+
node16
|
|
128
|
+
} from "./location-service-map-3fgtv7ze.js";
|
|
129
|
+
import {
|
|
130
|
+
node7
|
|
131
|
+
} from "./location-service-map-qavnhd3j.js";
|
|
132
|
+
import {
|
|
133
|
+
Service23,
|
|
134
|
+
node26
|
|
135
|
+
} from "./location-service-map-hxtckxf3.js";
|
|
136
|
+
import {
|
|
137
|
+
node19
|
|
138
|
+
} from "./location-service-map-5pyvwtgy.js";
|
|
139
|
+
import {
|
|
140
|
+
node4,
|
|
141
|
+
bound2
|
|
142
|
+
} from "./location-service-map-9hn6k4tm.js";
|
|
143
|
+
import {
|
|
144
|
+
node13
|
|
145
|
+
} from "./location-service-map-1krj7acz.js";
|
|
146
|
+
import {
|
|
147
|
+
node14
|
|
148
|
+
} from "./location-service-map-ttbvdjdw.js";
|
|
149
|
+
import {
|
|
150
|
+
node10
|
|
151
|
+
} from "./location-service-map-rht436q7.js";
|
|
152
|
+
import {
|
|
153
|
+
node2
|
|
154
|
+
} from "./location-service-map-6xc75jjq.js";
|
|
155
|
+
import {
|
|
156
|
+
node67
|
|
157
|
+
} from "./location-service-map-ebbyhdvc.js";
|
|
158
|
+
import {
|
|
159
|
+
node15
|
|
160
|
+
} from "./location-service-map-qe178b41.js";
|
|
161
|
+
import {
|
|
162
|
+
node11
|
|
163
|
+
} from "./location-service-map-hmdrvyfh.js";
|
|
164
|
+
import {
|
|
165
|
+
__export
|
|
166
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
167
|
+
|
|
168
|
+
// src/instance.ts
|
|
169
|
+
var exports_instance = {};
|
|
170
|
+
__export(exports_instance, {
|
|
171
|
+
Instance: () => exports_instance,
|
|
172
|
+
Service: () => Service44,
|
|
173
|
+
graph: () => graph2,
|
|
174
|
+
layer: () => layer2,
|
|
175
|
+
node: () => node46
|
|
176
|
+
});
|
|
177
|
+
import { Context, Effect, Layer } from "effect";
|
|
178
|
+
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
179
|
+
import { Node } from "@opencode/util/effect/app-node";
|
|
180
|
+
var nodes = [
|
|
181
|
+
node85,
|
|
182
|
+
node26,
|
|
183
|
+
node82,
|
|
184
|
+
node69,
|
|
185
|
+
node60,
|
|
186
|
+
node49,
|
|
187
|
+
node43,
|
|
188
|
+
node27,
|
|
189
|
+
node23,
|
|
190
|
+
node75,
|
|
191
|
+
node74,
|
|
192
|
+
node73,
|
|
193
|
+
node56,
|
|
194
|
+
node62,
|
|
195
|
+
node16,
|
|
196
|
+
node61,
|
|
197
|
+
node4,
|
|
198
|
+
node2,
|
|
199
|
+
node21,
|
|
200
|
+
node80,
|
|
201
|
+
node79,
|
|
202
|
+
node68,
|
|
203
|
+
node67,
|
|
204
|
+
node51,
|
|
205
|
+
node50,
|
|
206
|
+
node37,
|
|
207
|
+
node42,
|
|
208
|
+
node19,
|
|
209
|
+
node77,
|
|
210
|
+
node17,
|
|
211
|
+
node36,
|
|
212
|
+
node57,
|
|
213
|
+
node54,
|
|
214
|
+
node53,
|
|
215
|
+
node55,
|
|
216
|
+
node34,
|
|
217
|
+
node38,
|
|
218
|
+
node40,
|
|
219
|
+
node78,
|
|
220
|
+
node25,
|
|
221
|
+
node10,
|
|
222
|
+
node35,
|
|
223
|
+
node14,
|
|
224
|
+
node48,
|
|
225
|
+
node13,
|
|
226
|
+
node15,
|
|
227
|
+
node32,
|
|
228
|
+
node65,
|
|
229
|
+
node11,
|
|
230
|
+
node18,
|
|
231
|
+
node7
|
|
232
|
+
];
|
|
233
|
+
var graph2 = LayerNode.group(nodes);
|
|
234
|
+
var vanillaReplacements = [
|
|
235
|
+
node69.replace(configured8({ project: false, global: false })),
|
|
236
|
+
node42.replace(configured5({ project: false, global: false }))
|
|
237
|
+
];
|
|
238
|
+
function layer2(ref, options = {}) {
|
|
239
|
+
const startedAt = performance.now();
|
|
240
|
+
const replacements = [
|
|
241
|
+
...options.discovery === false ? vanillaReplacements : [],
|
|
242
|
+
...options.replacements ?? [],
|
|
243
|
+
node85.replace(boundNode2(ref)),
|
|
244
|
+
node4.replace(bound2(options.plugins ?? []))
|
|
245
|
+
];
|
|
246
|
+
return LayerNode.compile(graph2, { replacements, shared: Node.tags.values.global }).pipe(Layer.catchCause((cause) => Layer.unwrap(Effect.failCause(cause).pipe(Effect.catch((error) => error instanceof DirectoryNotFoundError2 ? Effect.fail(error) : Effect.die(error))))), Layer.tap((context) => Effect.addFinalizer(() => Context.get(context, Service23).shutdown)), Layer.tap(() => Effect.logInfo("location services booted", {
|
|
247
|
+
directory: ref.directory,
|
|
248
|
+
workspaceID: ref.workspaceID,
|
|
249
|
+
durationMs: Math.round(performance.now() - startedAt)
|
|
250
|
+
})));
|
|
251
|
+
}
|
|
252
|
+
|
|
253
|
+
export { graph2, layer2, exports_instance };
|