@opencode/core 0.0.0-dev-20967 → 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 +85 -85
- package/dist/aisdk-native.js +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +75 -75
- package/dist/chunks/{agent-ndzpxf5d.js → location-service-map-04ttag0w.js} +32 -32
- package/dist/chunks/{agent-a57r0kz2.js → location-service-map-05hkmm44.js} +12 -12
- package/dist/chunks/{agent-fedffhe2.js → location-service-map-07w9enf1.js} +14 -14
- package/dist/chunks/{agent-ejzsq301.js → location-service-map-0a3bg0j5.js} +32 -32
- package/dist/chunks/{agent-hqhp0zxs.js → location-service-map-0b5g1ynf.js} +4 -4
- package/dist/chunks/{agent-n47fwd3f.js → location-service-map-0bztnv55.js} +18 -18
- package/dist/chunks/{agent-agsg9aqy.js → location-service-map-0fzbfnq7.js} +16 -16
- package/dist/chunks/{agent-xztn33cf.js → location-service-map-0hw4dk4w.js} +1 -1
- package/dist/chunks/{agent-q0xm7vwc.js → location-service-map-0j77ygfz.js} +6 -6
- package/dist/chunks/{agent-2mnwjzbq.js → location-service-map-0pj15cwb.js} +42 -42
- package/dist/chunks/{agent-0vbcp93d.js → location-service-map-0vbcp93d.js} +2 -2
- package/dist/chunks/{agent-z841tj5z.js → location-service-map-0ycdfwp1.js} +11 -11
- package/dist/chunks/{agent-kdm1wyhj.js → location-service-map-112anbc5.js} +20 -20
- package/dist/chunks/{agent-w8htg8v3.js → location-service-map-17t4d4av.js} +17 -17
- package/dist/chunks/{agent-796e0hcr.js → location-service-map-189fjxnc.js} +25 -25
- package/dist/chunks/{agent-z3jjyfsa.js → location-service-map-190mk5vc.js} +13 -13
- package/dist/chunks/{agent-ap35jyd0.js → location-service-map-1bz87fsm.js} +13 -13
- package/dist/chunks/location-service-map-1g906he0.js +26 -0
- package/dist/chunks/{agent-dx0v7867.js → location-service-map-1hyeesvh.js} +22 -22
- package/dist/chunks/{agent-txm3e8qz.js → location-service-map-1j6m29mr.js} +9 -9
- package/dist/chunks/{agent-vjsjzb07.js → location-service-map-1krj7acz.js} +49 -49
- package/dist/chunks/{agent-0tx2rcqt.js → location-service-map-1xjc3krj.js} +5 -5
- package/dist/chunks/{agent-fg3zfvg2.js → location-service-map-285qnyny.js} +16 -16
- package/dist/chunks/{agent-hb3xq6qf.js → location-service-map-2gw07b48.js} +9 -9
- package/dist/chunks/{agent-2k8khapm.js → location-service-map-2k8khapm.js} +1 -1
- package/dist/chunks/{agent-en47egvd.js → location-service-map-38x8v0tv.js} +28 -28
- package/dist/chunks/{agent-kecqjjhm.js → location-service-map-3b16v5tt.js} +5 -5
- package/dist/chunks/{agent-85zx94yt.js → location-service-map-3dq15cxk.js} +14 -14
- package/dist/chunks/{agent-3fc6dm20.js → location-service-map-3fc6dm20.js} +1 -1
- package/dist/chunks/{agent-s9xxcfn6.js → location-service-map-3fgtv7ze.js} +22 -22
- package/dist/chunks/{agent-3hepkmqq.js → location-service-map-3hepkmqq.js} +1 -1
- package/dist/chunks/{agent-3hwn7j4h.js → location-service-map-3hwn7j4h.js} +2 -2
- package/dist/chunks/{agent-3smtnn6g.js → location-service-map-3smtnn6g.js} +1 -1
- package/dist/chunks/{agent-3tvqynh2.js → location-service-map-3tvqynh2.js} +1 -1
- package/dist/chunks/{agent-3zsf4n22.js → location-service-map-3zsf4n22.js} +1 -1
- package/dist/chunks/{agent-180ns14n.js → location-service-map-453vx0dg.js} +34 -34
- package/dist/chunks/{agent-f32g4658.js → location-service-map-4c3ndrn6.js} +3 -3
- package/dist/chunks/{agent-txnezeta.js → location-service-map-4pn1xf0p.js} +23 -23
- package/dist/chunks/{agent-gbsmeqc4.js → location-service-map-4sqgwhvg.js} +17 -17
- package/dist/chunks/{agent-8wbxkt1z.js → location-service-map-4v7ngy20.js} +4 -4
- package/dist/chunks/{agent-yrcj3v3g.js → location-service-map-4z58m4b4.js} +4 -4
- package/dist/chunks/{agent-sxzvkvgj.js → location-service-map-51f5btjf.js} +6 -6
- package/dist/chunks/{agent-54ma36ye.js → location-service-map-54ma36ye.js} +1 -1
- package/dist/chunks/{agent-hpf5e1pv.js → location-service-map-5cs9fw4j.js} +20 -20
- package/dist/chunks/{agent-gh8hfe7d.js → location-service-map-5e6vztpv.js} +18 -18
- package/dist/chunks/{agent-jt5tbdk1.js → location-service-map-5jvy51wy.js} +1 -1
- package/dist/chunks/{agent-5m9w47nd.js → location-service-map-5m9w47nd.js} +1 -1
- package/dist/chunks/{agent-23w5gghw.js → location-service-map-5pyvwtgy.js} +18 -18
- package/dist/chunks/{agent-9rer32p9.js → location-service-map-605e1jbp.js} +8 -8
- package/dist/chunks/{agent-m1ej6awc.js → location-service-map-61qtfb41.js} +17 -17
- package/dist/chunks/{agent-swhagcwe.js → location-service-map-69jqfsnf.js} +13 -13
- package/dist/chunks/{agent-n98t1xmn.js → location-service-map-6bkr64fg.js} +6 -6
- package/dist/chunks/{agent-6dkb2293.js → location-service-map-6c5stfwb.js} +3 -3
- package/dist/chunks/{agent-jk540des.js → location-service-map-6g107h22.js} +2 -2
- package/dist/chunks/{agent-r9w3djhf.js → location-service-map-6hjx5zpb.js} +2 -2
- package/dist/chunks/{agent-j5s6pzyj.js → location-service-map-6kpyj4fb.js} +11 -11
- package/dist/chunks/{agent-8dpt1mes.js → location-service-map-6mdwj01c.js} +11 -11
- package/dist/chunks/{agent-p3gs223r.js → location-service-map-6npkjnc9.js} +16 -16
- package/dist/chunks/{agent-6xb47vfp.js → location-service-map-6xb47vfp.js} +1 -1
- package/dist/chunks/{agent-s1y6cy45.js → location-service-map-6xc75jjq.js} +37 -37
- package/dist/chunks/{agent-775gj3j1.js → location-service-map-775gj3j1.js} +2 -2
- package/dist/chunks/{agent-maq6rst1.js → location-service-map-79rgchyy.js} +25 -25
- package/dist/chunks/{agent-7bmhse3q.js → location-service-map-7bmhse3q.js} +1 -1
- package/dist/chunks/location-service-map-7fj5dwt0.js +18 -0
- package/dist/chunks/{agent-79rtasgx.js → location-service-map-7hff53af.js} +9 -9
- package/dist/chunks/{agent-bckd7sn2.js → location-service-map-7mp49jye.js} +27 -27
- package/dist/chunks/{agent-84txncab.js → location-service-map-84txncab.js} +1 -1
- package/dist/chunks/{agent-b2awc4se.js → location-service-map-88jjz5re.js} +17 -17
- package/dist/chunks/{agent-tcezcvh9.js → location-service-map-89znhe33.js} +4 -4
- package/dist/chunks/{agent-mqrg35xz.js → location-service-map-8cxvr4t8.js} +48 -48
- package/dist/chunks/{agent-4vfrwfxm.js → location-service-map-8czxvfjx.js} +29 -29
- package/dist/chunks/{agent-s0xj90rb.js → location-service-map-8kzy7b3z.js} +12 -12
- package/dist/chunks/{agent-8m6m0r52.js → location-service-map-8m6m0r52.js} +1 -1
- package/dist/chunks/{agent-8j1pwav1.js → location-service-map-8sqat94k.js} +34 -34
- package/dist/chunks/{agent-rkprpv83.js → location-service-map-8sze2n9a.js} +6 -6
- package/dist/chunks/{agent-nas6s75n.js → location-service-map-8ykp9xbw.js} +34 -34
- package/dist/chunks/{agent-rshzb64a.js → location-service-map-95kyz0q3.js} +4 -4
- package/dist/chunks/{agent-kx705y8y.js → location-service-map-96kn8jjj.js} +7 -7
- package/dist/chunks/{agent-930se4a2.js → location-service-map-977pwvh6.js} +5 -5
- package/dist/chunks/{agent-g57505q5.js → location-service-map-9d2vkprr.js} +7 -7
- package/dist/chunks/{agent-vgsgsp1h.js → location-service-map-9h357zpk.js} +39 -39
- package/dist/chunks/{agent-5yzzbxa7.js → location-service-map-9hn6k4tm.js} +8 -8
- package/dist/chunks/{agent-e26ynm9z.js → location-service-map-9tr2qfdk.js} +9 -9
- package/dist/chunks/{agent-4fnxzqcp.js → location-service-map-9vjjhptz.js} +9 -9
- package/dist/chunks/{agent-zk163zkt.js → location-service-map-9zdssp4n.js} +9 -9
- package/dist/chunks/{agent-qx3j1ntd.js → location-service-map-a41h3yhs.js} +33 -33
- package/dist/chunks/{agent-d4z6p2e9.js → location-service-map-a42kkhkg.js} +35 -35
- package/dist/chunks/{agent-1wsef6eh.js → location-service-map-a4hp8e9p.js} +16 -16
- package/dist/chunks/{agent-7yns2gfh.js → location-service-map-a62egxb3.js} +5 -5
- package/dist/chunks/location-service-map-asevcyq5.js +253 -0
- package/dist/chunks/{agent-wynzsb0k.js → location-service-map-av8cscef.js} +28 -28
- package/dist/chunks/{agent-1h53t7jj.js → location-service-map-ayt5007s.js} +1 -1
- package/dist/chunks/{agent-m5jcjszt.js → location-service-map-b1a1n7cj.js} +3 -3
- package/dist/chunks/{agent-b3f8fkhc.js → location-service-map-b3f8fkhc.js} +2 -2
- package/dist/chunks/{agent-zvdqdbwe.js → location-service-map-b7hvd3bh.js} +11 -11
- package/dist/chunks/{agent-x9af4wsh.js → location-service-map-b89jdn4q.js} +19 -19
- package/dist/chunks/{agent-5nwmaxse.js → location-service-map-bh3fdk74.js} +3 -3
- package/dist/chunks/{agent-mmsn9nmm.js → location-service-map-bhhmebad.js} +25 -25
- package/dist/chunks/{agent-80nxcd2h.js → location-service-map-bjkg2ks4.js} +24 -24
- package/dist/chunks/{agent-bjx1sjef.js → location-service-map-bjx1sjef.js} +2 -2
- package/dist/chunks/{agent-pvv3kt52.js → location-service-map-bm095xha.js} +11 -11
- package/dist/chunks/{agent-bv2h4xww.js → location-service-map-bpq9gadp.js} +14 -14
- package/dist/chunks/{agent-bgs9y14h.js → location-service-map-btec747f.js} +5 -5
- package/dist/chunks/{agent-es1vcfrp.js → location-service-map-c1fqxshp.js} +3 -3
- package/dist/chunks/{agent-fgmp5hy9.js → location-service-map-c6nr29zh.js} +10 -10
- package/dist/chunks/{agent-6458qwm7.js → location-service-map-c7s5xd0e.js} +53 -53
- package/dist/chunks/{agent-pvshdx0y.js → location-service-map-c87q280n.js} +3 -3
- package/dist/chunks/{agent-ky65x1wg.js → location-service-map-cakf0m7d.js} +29 -29
- package/dist/chunks/{agent-gn31e51v.js → location-service-map-d04ep358.js} +11 -11
- package/dist/chunks/{agent-fs1nt83f.js → location-service-map-d54g0exn.js} +9 -9
- package/dist/chunks/{agent-n9vqf08a.js → location-service-map-dacbrmk2.js} +11 -11
- package/dist/chunks/{agent-5p5k132e.js → location-service-map-dkpnw212.js} +5 -5
- package/dist/chunks/{agent-dqxsqydv.js → location-service-map-dqxsqydv.js} +1 -1
- package/dist/chunks/{agent-2gvqmv1x.js → location-service-map-dzrvr4nb.js} +44 -44
- package/dist/chunks/{agent-b2kwkbq4.js → location-service-map-e2t7s5t4.js} +59 -59
- package/dist/chunks/{agent-7zgrsrws.js → location-service-map-e334ff5n.js} +21 -21
- package/dist/chunks/{agent-5qd3pb7m.js → location-service-map-e3qxr5gk.js} +2 -2
- package/dist/chunks/{agent-nqc6nt79.js → location-service-map-eb5nwvjj.js} +32 -32
- package/dist/chunks/{agent-ygmj74e5.js → location-service-map-ebbyhdvc.js} +37 -37
- package/dist/chunks/{agent-eej6y6fw.js → location-service-map-eej6y6fw.js} +2 -2
- package/dist/chunks/{agent-ef5x83kb.js → location-service-map-ef5x83kb.js} +1 -1
- package/dist/chunks/{agent-fkdm2qkv.js → location-service-map-ej81gkeg.js} +11 -11
- package/dist/chunks/{agent-qm6xtvat.js → location-service-map-emxdjm72.js} +25 -25
- package/dist/chunks/{agent-je8b1457.js → location-service-map-erts2f6e.js} +13 -13
- package/dist/chunks/{agent-j7tg2zvf.js → location-service-map-ewf8j77t.js} +11 -11
- package/dist/chunks/{agent-fekzr37r.js → location-service-map-exs4tskk.js} +44 -44
- package/dist/chunks/{agent-xy5artkv.js → location-service-map-f50nbvzh.js} +47 -47
- package/dist/chunks/{agent-2x91x8py.js → location-service-map-fkhvp8gb.js} +23 -23
- package/dist/chunks/{agent-hq3c8me3.js → location-service-map-fxaymqdw.js} +4 -4
- package/dist/chunks/{agent-je2tex47.js → location-service-map-g0xzmjr0.js} +24 -24
- package/dist/chunks/{agent-ftqg6eaw.js → location-service-map-gabsh7yw.js} +13 -13
- package/dist/chunks/{agent-pnzf6mjf.js → location-service-map-gd0tnyjc.js} +1 -1
- package/dist/chunks/{agent-gd4qta3r.js → location-service-map-gd4qta3r.js} +1 -1
- package/dist/chunks/{agent-x4z7rv0g.js → location-service-map-gk6ab8mf.js} +15 -15
- package/dist/chunks/{agent-w6jg7vpf.js → location-service-map-gv2dj64n.js} +5 -5
- package/dist/chunks/{agent-h6vf3j39.js → location-service-map-h6vf3j39.js} +1 -1
- package/dist/chunks/{agent-h7s7r6s9.js → location-service-map-h7s7r6s9.js} +2 -2
- package/dist/chunks/{agent-1pxz8ven.js → location-service-map-h83xjv7f.js} +5 -5
- package/dist/chunks/{agent-jdvv509r.js → location-service-map-h8rphgn6.js} +4 -4
- package/dist/chunks/{agent-x5h44zm2.js → location-service-map-h9mky73t.js} +7 -7
- package/dist/chunks/{agent-0w62qmxp.js → location-service-map-had4kgfk.js} +6 -6
- package/dist/chunks/{agent-hgz4x7wa.js → location-service-map-hgz4x7wa.js} +1 -1
- package/dist/chunks/{agent-ng3918dk.js → location-service-map-hhyv66vq.js} +8 -8
- package/dist/chunks/{agent-6q2cgkqa.js → location-service-map-hmdrvyfh.js} +72 -72
- package/dist/chunks/{agent-d1g60r3j.js → location-service-map-hsvqr7g3.js} +35 -35
- package/dist/chunks/{agent-p9ygtxzj.js → location-service-map-hxtckxf3.js} +36 -36
- package/dist/chunks/{agent-tv87x6sc.js → location-service-map-hzp768xy.js} +6 -6
- package/dist/chunks/{agent-91qna3x0.js → location-service-map-j09zfasm.js} +3 -3
- package/dist/chunks/{agent-s7m34cvg.js → location-service-map-j5chjq9f.js} +11 -11
- package/dist/chunks/{agent-k9vctcmz.js → location-service-map-j8ssv6es.js} +11 -11
- package/dist/chunks/{agent-8zsb3mb5.js → location-service-map-j947zhwf.js} +11 -11
- package/dist/chunks/{agent-ajgp1yf6.js → location-service-map-jeewe651.js} +4 -4
- package/dist/chunks/{agent-4yzy4pya.js → location-service-map-jpaf2qm1.js} +45 -45
- package/dist/chunks/{agent-6w81mfcv.js → location-service-map-jrzj45fy.js} +12 -12
- package/dist/chunks/{agent-06x8he3q.js → location-service-map-jvf3yq6v.js} +4 -4
- package/dist/chunks/{agent-22sd1qqc.js → location-service-map-jvnghvnw.js} +8 -8
- package/dist/chunks/{agent-gbc8mqyx.js → location-service-map-jxr5ks98.js} +6 -6
- package/dist/chunks/{agent-m7n954ym.js → location-service-map-k4xdy46r.js} +26 -26
- package/dist/chunks/{agent-762tx1s9.js → location-service-map-k6709ays.js} +19 -19
- package/dist/chunks/{agent-h9d1fc2y.js → location-service-map-kcdapykd.js} +6 -6
- package/dist/chunks/{agent-d4eaz24s.js → location-service-map-kdxh9szv.js} +11 -11
- package/dist/chunks/{agent-g0g0hspt.js → location-service-map-kp5we7ps.js} +26 -26
- package/dist/chunks/{agent-v0xmac3n.js → location-service-map-ktgr00t7.js} +2 -2
- package/dist/chunks/{agent-n8y364wa.js → location-service-map-kwqk5vnc.js} +22 -22
- package/dist/chunks/{agent-98xjsagk.js → location-service-map-kww7pfa5.js} +9 -9
- package/dist/chunks/{agent-2xnadmta.js → location-service-map-kxssyy3x.js} +32 -32
- package/dist/chunks/{agent-m9w0rfyh.js → location-service-map-m9w0rfyh.js} +1 -1
- package/dist/chunks/{agent-maspj1v3.js → location-service-map-maspj1v3.js} +1 -1
- package/dist/chunks/{agent-6ps2rfac.js → location-service-map-mdmc61fe.js} +4 -4
- package/dist/chunks/{agent-fqp62crg.js → location-service-map-mgjjdy5b.js} +10 -10
- package/dist/chunks/{agent-qbcjqvkm.js → location-service-map-mh8n60fa.js} +53 -53
- package/dist/chunks/{agent-5fc1p0g9.js → location-service-map-mpw5hxye.js} +19 -19
- package/dist/chunks/{agent-k00hq61p.js → location-service-map-mt6brxxc.js} +4 -4
- package/dist/chunks/{agent-7312p45z.js → location-service-map-najnejyn.js} +21 -21
- package/dist/chunks/{agent-pv49kqqp.js → location-service-map-nc1ev885.js} +91 -91
- package/dist/chunks/{agent-dz30mbn2.js → location-service-map-ncp1h5wm.js} +4 -4
- package/dist/chunks/{agent-r2z489rp.js → location-service-map-nma959mg.js} +3 -3
- package/dist/chunks/{agent-8pp8jf47.js → location-service-map-npgv39fj.js} +2 -2
- package/dist/chunks/{agent-hjd09z3h.js → location-service-map-nqsv03v6.js} +80 -80
- package/dist/chunks/{agent-d4fz9c6m.js → location-service-map-pck7vvdx.js} +8 -8
- package/dist/chunks/{agent-pjvnvgmy.js → location-service-map-pjvnvgmy.js} +1 -1
- package/dist/chunks/{agent-1s48y8yj.js → location-service-map-pjykpq9n.js} +40 -40
- package/dist/chunks/{agent-pknna89w.js → location-service-map-pknna89w.js} +1 -1
- package/dist/chunks/{agent-sdnsagax.js → location-service-map-q4aap459.js} +28 -28
- package/dist/chunks/{agent-1yrss14f.js → location-service-map-q85n4xbh.js} +9 -9
- package/dist/chunks/{agent-sxz7zm75.js → location-service-map-qavnhd3j.js} +36 -36
- package/dist/chunks/{agent-fx8q68yx.js → location-service-map-qb7q1f1d.js} +18 -18
- package/dist/chunks/{agent-vqpsfxv1.js → location-service-map-qce5rqyv.js} +31 -31
- package/dist/chunks/{agent-p5sfywmf.js → location-service-map-qe178b41.js} +30 -30
- package/dist/chunks/{agent-hwqt3mf0.js → location-service-map-qezm2w8e.js} +21 -21
- package/dist/chunks/{agent-1z2272r9.js → location-service-map-qgw57eb3.js} +10 -10
- package/dist/chunks/{agent-qnc92qwc.js → location-service-map-qnc92qwc.js} +1 -1
- package/dist/chunks/{agent-9tr386xz.js → location-service-map-qrabmw5q.js} +45 -45
- package/dist/chunks/{agent-qsdy395h.js → location-service-map-qsdy395h.js} +1 -1
- package/dist/chunks/{agent-pfvt33xv.js → location-service-map-qvcr5dcn.js} +19 -19
- package/dist/chunks/{agent-wwk1k3yf.js → location-service-map-qwf29bqw.js} +3 -3
- package/dist/chunks/{agent-n0r990cb.js → location-service-map-qyvjbqsg.js} +18 -18
- package/dist/chunks/{agent-2sejkfem.js → location-service-map-r2m716tb.js} +9 -9
- package/dist/chunks/{agent-b46260rf.js → location-service-map-r3yrqnb5.js} +26 -26
- package/dist/chunks/{agent-r70na3yp.js → location-service-map-ra67jj04.js} +5 -5
- package/dist/chunks/{agent-sxz6gkc3.js → location-service-map-ratrq7cm.js} +7 -7
- package/dist/chunks/{agent-b95g883h.js → location-service-map-raxjnfg2.js} +11 -11
- package/dist/chunks/{agent-rdw6cm16.js → location-service-map-rdw6cm16.js} +1 -1
- package/dist/chunks/{agent-tkb22qbm.js → location-service-map-rert0e01.js} +2 -2
- package/dist/chunks/{agent-tnc73fh6.js → location-service-map-rfnwmvtk.js} +11 -11
- package/dist/chunks/{agent-kshzeqx8.js → location-service-map-rht436q7.js} +17 -17
- package/dist/chunks/{agent-c41wscbt.js → location-service-map-rj3eygr5.js} +2 -2
- package/dist/chunks/{agent-et8f4tj8.js → location-service-map-s6a94ykt.js} +50 -50
- package/dist/chunks/{agent-5den7fts.js → location-service-map-s90bytks.js} +15 -15
- package/dist/chunks/{agent-c8ax2afj.js → location-service-map-sa8ekw3f.js} +2 -2
- package/dist/chunks/{agent-92bt4rsk.js → location-service-map-sdk84yjp.js} +5 -5
- package/dist/chunks/{agent-4ts0d71h.js → location-service-map-sfz6vzg3.js} +12 -12
- package/dist/chunks/{agent-gyt3gf5g.js → location-service-map-st6tfvct.js} +32 -32
- package/dist/chunks/{agent-bkb67qdq.js → location-service-map-svcw9x3w.js} +12 -12
- package/dist/chunks/{agent-syv4x271.js → location-service-map-syv4x271.js} +1 -1
- package/dist/chunks/{agent-9xk8zs32.js → location-service-map-t4jzmwkk.js} +7 -7
- package/dist/chunks/{agent-t550f9t1.js → location-service-map-t550f9t1.js} +1 -1
- package/dist/chunks/{agent-102ecrqc.js → location-service-map-t7n4d1yf.js} +16 -16
- package/dist/chunks/{agent-be7qvw84.js → location-service-map-t89fqycx.js} +8 -8
- package/dist/chunks/{agent-xqhm0etf.js → location-service-map-t9es0ena.js} +16 -16
- package/dist/chunks/{agent-tazgh4e4.js → location-service-map-tazgh4e4.js} +1 -1
- package/dist/chunks/{agent-tdstcens.js → location-service-map-tdstcens.js} +1 -1
- package/dist/chunks/{agent-214q8xwt.js → location-service-map-thf5141v.js} +5 -5
- package/dist/chunks/{agent-tm0kqsz3.js → location-service-map-tm0kqsz3.js} +1 -1
- package/dist/chunks/{agent-q3ysppy7.js → location-service-map-trecwywa.js} +24 -24
- package/dist/chunks/{agent-fey4ey3t.js → location-service-map-ttbvdjdw.js} +22 -22
- package/dist/chunks/{agent-tyytaxap.js → location-service-map-tyytaxap.js} +1 -1
- package/dist/chunks/{agent-tg7bkhef.js → location-service-map-v0es1rhs.js} +7 -7
- package/dist/chunks/location-service-map-v2exr8cw.js +513 -0
- package/dist/chunks/{agent-gaxmf6kv.js → location-service-map-v2fstvx9.js} +26 -26
- package/dist/chunks/{agent-d6b4z57v.js → location-service-map-v6tgae3y.js} +191 -191
- package/dist/chunks/{agent-v7p4zvkq.js → location-service-map-v7p4zvkq.js} +2 -2
- package/dist/chunks/{agent-dmxxwj5k.js → location-service-map-vdcsbfm7.js} +4 -4
- package/dist/chunks/{agent-veqvce7d.js → location-service-map-veqvce7d.js} +1 -1
- package/dist/chunks/{agent-yy6p74h0.js → location-service-map-vfd5z52g.js} +27 -27
- package/dist/chunks/{agent-15c4ebpx.js → location-service-map-vh4rw25j.js} +13 -13
- package/dist/chunks/{agent-nrync45e.js → location-service-map-vhvv9bf9.js} +22 -22
- package/dist/chunks/{agent-jt820sv4.js → location-service-map-vxznmwbn.js} +11 -11
- package/dist/chunks/{agent-d858xzj7.js → location-service-map-vycw7md4.js} +4 -4
- package/dist/chunks/{agent-vzs5sf6e.js → location-service-map-vzs5sf6e.js} +1 -1
- package/dist/chunks/{agent-n7yaz7xh.js → location-service-map-w34bt5ev.js} +13 -13
- package/dist/chunks/{agent-w3wsvvr9.js → location-service-map-w3wsvvr9.js} +1 -1
- package/dist/chunks/{agent-a7bcxdzj.js → location-service-map-w5rka97k.js} +9 -9
- package/dist/chunks/{agent-9sypp5q9.js → location-service-map-w75czvp0.js} +5 -5
- package/dist/chunks/{agent-6hmrvhhd.js → location-service-map-w7th8kft.js} +11 -11
- package/dist/chunks/{agent-ggd3cdse.js → location-service-map-w85jx7ef.js} +29 -29
- package/dist/chunks/{agent-wd87259q.js → location-service-map-wd87259q.js} +1 -1
- package/dist/chunks/{agent-58k5txrt.js → location-service-map-whqshyfz.js} +8 -8
- package/dist/chunks/{agent-2ppj7n2d.js → location-service-map-wnsxc07p.js} +27 -27
- package/dist/chunks/{agent-t9bew3r6.js → location-service-map-wve2b6s5.js} +13 -13
- package/dist/chunks/{agent-003zf483.js → location-service-map-wvf4y7rr.js} +24 -24
- package/dist/chunks/{agent-3bsp9417.js → location-service-map-x309wg9x.js} +10 -10
- package/dist/chunks/{agent-hcv80w8f.js → location-service-map-x5wrmng7.js} +11 -11
- package/dist/chunks/{agent-x661k3y3.js → location-service-map-x661k3y3.js} +1 -1
- package/dist/chunks/{agent-wtmn7q1g.js → location-service-map-x852hbsc.js} +4 -4
- package/dist/chunks/{agent-8x632nv7.js → location-service-map-x94bbvss.js} +4 -4
- package/dist/chunks/{agent-7p6vy070.js → location-service-map-xdfgfet0.js} +34 -34
- package/dist/chunks/{agent-zk0pt4kf.js → location-service-map-xe6vm9p8.js} +17 -17
- package/dist/chunks/{agent-drwq78ky.js → location-service-map-xfkkasph.js} +4 -4
- package/dist/chunks/{agent-38885ps5.js → location-service-map-xsccak5w.js} +15 -15
- package/dist/chunks/{agent-y1fvbwt7.js → location-service-map-y1fvbwt7.js} +1 -1
- package/dist/chunks/{agent-ey2qp6v7.js → location-service-map-y4a0ptp4.js} +5 -5
- package/dist/chunks/{agent-dpkg50ah.js → location-service-map-y71avatq.js} +4 -4
- package/dist/chunks/{agent-68yndbk8.js → location-service-map-yhebgegd.js} +25 -25
- package/dist/chunks/{agent-j9ph6mae.js → location-service-map-yjqnk9hn.js} +34 -34
- package/dist/chunks/{agent-sxge8dhz.js → location-service-map-ykdkqy2w.js} +24 -24
- package/dist/chunks/{agent-hjsbj7af.js → location-service-map-ykxyh7k6.js} +13 -13
- package/dist/chunks/{agent-yp2x3t23.js → location-service-map-yp2x3t23.js} +1 -1
- package/dist/chunks/{agent-z0bkrqjs.js → location-service-map-z0bkrqjs.js} +1 -1
- package/dist/chunks/{agent-th3ytxdg.js → location-service-map-z1a6nf3f.js} +16 -16
- package/dist/chunks/{agent-4jnevpyt.js → location-service-map-z4qs0yhw.js} +33 -33
- package/dist/chunks/{agent-2m5mp251.js → location-service-map-z5rnbfrr.js} +9 -9
- package/dist/chunks/{agent-k3bqjcjm.js → location-service-map-zcfatamc.js} +14 -14
- package/dist/chunks/{agent-47jkzegy.js → location-service-map-zmr78fwr.js} +5 -5
- package/dist/chunks/{agent-bhdhebx5.js → location-service-map-zpfqjb86.js} +20 -20
- package/dist/chunks/{agent-zr2ceqn5.js → location-service-map-zr2ceqn5.js} +1 -1
- package/dist/chunks/{agent-10j0zpwz.js → location-service-map-zt28r1k4.js} +26 -26
- package/dist/chunks/{agent-zxq2ej10.js → location-service-map-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- 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 +118 -118
- package/dist/config/plugin/command.js +207 -207
- 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 +119 -119
- 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 +125 -125
- 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 +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- 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 +85 -85
- package/dist/database/database.js +72 -72
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- 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 +16 -16
- 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 +81 -81
- 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 +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- 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 +76 -76
- 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 +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +108 -108
- package/dist/form.js +80 -80
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- 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 +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +80 -80
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +136 -136
- 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 +89 -89
- package/dist/managed-policy.js +6 -6
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +107 -107
- package/dist/mcp/instructions.js +129 -129
- 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 +98 -98
- package/dist/models-dev.js +105 -105
- 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 +113 -113
- 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 +76 -76
- package/dist/plugin/command.js +102 -102
- 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 +117 -117
- 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 +116 -116
- 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 +125 -125
- 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 +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +346 -346
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- 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 +114 -114
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +4 -4
- package/dist/plugin.js +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +97 -97
- 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 +93 -93
- 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 +153 -153
- 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 +219 -219
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +120 -120
- package/dist/session/model-transport.js +7 -7
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- 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 +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +2 -2
- 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 +77 -77
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +213 -213
- 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 +132 -132
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- 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 +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +108 -108
- 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 +7 -7
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +7 -7
- 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 +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- 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/agent-1x11rq2a.js +0 -18
- package/dist/chunks/agent-3e0v5z2a.js +0 -253
- package/dist/chunks/agent-99m0tgr4.js +0 -513
- package/dist/chunks/agent-a1xb6f6n.js +0 -26
- /package/dist/chunks/{agent-0qkdqm5v.js → location-service-map-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{agent-0zkw76rk.js → location-service-map-0zkw76rk.js} +0 -0
- /package/dist/chunks/{agent-17cy0kzp.js → location-service-map-17cy0kzp.js} +0 -0
- /package/dist/chunks/{agent-1cnp2v09.js → location-service-map-1cnp2v09.js} +0 -0
- /package/dist/chunks/{agent-1kg9ymc8.js → location-service-map-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{agent-24dcb14g.js → location-service-map-24dcb14g.js} +0 -0
- /package/dist/chunks/{agent-2710q6r3.js → location-service-map-2710q6r3.js} +0 -0
- /package/dist/chunks/{agent-2axfhc9x.js → location-service-map-2axfhc9x.js} +0 -0
- /package/dist/chunks/{agent-2bv980vf.js → location-service-map-2bv980vf.js} +0 -0
- /package/dist/chunks/{agent-2c3vjs8z.js → location-service-map-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{agent-359p4xyc.js → location-service-map-359p4xyc.js} +0 -0
- /package/dist/chunks/{agent-3asan66x.js → location-service-map-3asan66x.js} +0 -0
- /package/dist/chunks/{agent-3t0ybcrp.js → location-service-map-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{agent-3v8g72cx.js → location-service-map-3v8g72cx.js} +0 -0
- /package/dist/chunks/{agent-3wcehsnq.js → location-service-map-3wcehsnq.js} +0 -0
- /package/dist/chunks/{agent-43n2bw4t.js → location-service-map-43n2bw4t.js} +0 -0
- /package/dist/chunks/{agent-4knz6hnm.js → location-service-map-4knz6hnm.js} +0 -0
- /package/dist/chunks/{agent-4vcrnpx2.js → location-service-map-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{agent-4y7fprxs.js → location-service-map-4y7fprxs.js} +0 -0
- /package/dist/chunks/{agent-53557ph1.js → location-service-map-53557ph1.js} +0 -0
- /package/dist/chunks/{agent-550bvhaj.js → location-service-map-550bvhaj.js} +0 -0
- /package/dist/chunks/{agent-6prwharc.js → location-service-map-6prwharc.js} +0 -0
- /package/dist/chunks/{agent-6q2bdcd1.js → location-service-map-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{agent-7akdwqpd.js → location-service-map-7akdwqpd.js} +0 -0
- /package/dist/chunks/{agent-7m9af43g.js → location-service-map-7m9af43g.js} +0 -0
- /package/dist/chunks/{agent-822emrt2.js → location-service-map-822emrt2.js} +0 -0
- /package/dist/chunks/{agent-84wd9syh.js → location-service-map-84wd9syh.js} +0 -0
- /package/dist/chunks/{agent-88xbtdfr.js → location-service-map-88xbtdfr.js} +0 -0
- /package/dist/chunks/{agent-8n3pysct.js → location-service-map-8n3pysct.js} +0 -0
- /package/dist/chunks/{agent-8wj87zfr.js → location-service-map-8wj87zfr.js} +0 -0
- /package/dist/chunks/{agent-9a4afbnw.js → location-service-map-9a4afbnw.js} +0 -0
- /package/dist/chunks/{agent-9rqn6x4v.js → location-service-map-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{agent-a6k6eb26.js → location-service-map-a6k6eb26.js} +0 -0
- /package/dist/chunks/{agent-af5trqkr.js → location-service-map-af5trqkr.js} +0 -0
- /package/dist/chunks/{agent-afrmfg78.js → location-service-map-afrmfg78.js} +0 -0
- /package/dist/chunks/{agent-aqzs7mqg.js → location-service-map-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{agent-atq7p7m5.js → location-service-map-atq7p7m5.js} +0 -0
- /package/dist/chunks/{agent-bkyjaxrp.js → location-service-map-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{agent-bmr6ed5q.js → location-service-map-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{agent-cf4snx6d.js → location-service-map-cf4snx6d.js} +0 -0
- /package/dist/chunks/{agent-cvy3z8tj.js → location-service-map-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{agent-d9fn303g.js → location-service-map-d9fn303g.js} +0 -0
- /package/dist/chunks/{agent-d9jj8t3e.js → location-service-map-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{agent-dajrwvna.js → location-service-map-dajrwvna.js} +0 -0
- /package/dist/chunks/{agent-dap0rakb.js → location-service-map-dap0rakb.js} +0 -0
- /package/dist/chunks/{agent-df08tz66.js → location-service-map-df08tz66.js} +0 -0
- /package/dist/chunks/{agent-dy18nga0.js → location-service-map-dy18nga0.js} +0 -0
- /package/dist/chunks/{agent-e5kj55wp.js → location-service-map-e5kj55wp.js} +0 -0
- /package/dist/chunks/{agent-e73j6tqm.js → location-service-map-e73j6tqm.js} +0 -0
- /package/dist/chunks/{agent-ec1grn59.js → location-service-map-ec1grn59.js} +0 -0
- /package/dist/chunks/{agent-eh3zwz77.js → location-service-map-eh3zwz77.js} +0 -0
- /package/dist/chunks/{agent-emrn6kk6.js → location-service-map-emrn6kk6.js} +0 -0
- /package/dist/chunks/{agent-f0mxakyp.js → location-service-map-f0mxakyp.js} +0 -0
- /package/dist/chunks/{agent-f6n9ztr4.js → location-service-map-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{agent-faypxj3z.js → location-service-map-faypxj3z.js} +0 -0
- /package/dist/chunks/{agent-fd410y7t.js → location-service-map-fd410y7t.js} +0 -0
- /package/dist/chunks/{agent-g4wezp1m.js → location-service-map-g4wezp1m.js} +0 -0
- /package/dist/chunks/{agent-g86h250q.js → location-service-map-g86h250q.js} +0 -0
- /package/dist/chunks/{agent-gebd4c9n.js → location-service-map-gebd4c9n.js} +0 -0
- /package/dist/chunks/{agent-gftt206x.js → location-service-map-gftt206x.js} +0 -0
- /package/dist/chunks/{agent-hcxmzztb.js → location-service-map-hcxmzztb.js} +0 -0
- /package/dist/chunks/{agent-hk9envan.js → location-service-map-hk9envan.js} +0 -0
- /package/dist/chunks/{agent-j2ntwpah.js → location-service-map-j2ntwpah.js} +0 -0
- /package/dist/chunks/{agent-j5zkgpj8.js → location-service-map-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{agent-jjkms2e6.js → location-service-map-jjkms2e6.js} +0 -0
- /package/dist/chunks/{agent-jr7sbwjy.js → location-service-map-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{agent-jwfs4k6c.js → location-service-map-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{agent-jze0r7bz.js → location-service-map-jze0r7bz.js} +0 -0
- /package/dist/chunks/{agent-jzg6c2d5.js → location-service-map-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{agent-m18g726c.js → location-service-map-m18g726c.js} +0 -0
- /package/dist/chunks/{agent-mp448xyj.js → location-service-map-mp448xyj.js} +0 -0
- /package/dist/chunks/{agent-msx8hqn2.js → location-service-map-msx8hqn2.js} +0 -0
- /package/dist/chunks/{agent-n05xt0ee.js → location-service-map-n05xt0ee.js} +0 -0
- /package/dist/chunks/{agent-n3j8tn72.js → location-service-map-n3j8tn72.js} +0 -0
- /package/dist/chunks/{agent-njntx4h6.js → location-service-map-njntx4h6.js} +0 -0
- /package/dist/chunks/{agent-pkyv6v7h.js → location-service-map-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{agent-pyv0edze.js → location-service-map-pyv0edze.js} +0 -0
- /package/dist/chunks/{agent-q3sfg36h.js → location-service-map-q3sfg36h.js} +0 -0
- /package/dist/chunks/{agent-q74kybfr.js → location-service-map-q74kybfr.js} +0 -0
- /package/dist/chunks/{agent-qaymkmh1.js → location-service-map-qaymkmh1.js} +0 -0
- /package/dist/chunks/{agent-qb87gjwd.js → location-service-map-qb87gjwd.js} +0 -0
- /package/dist/chunks/{agent-qfa1cgps.js → location-service-map-qfa1cgps.js} +0 -0
- /package/dist/chunks/{agent-qg3g05ea.js → location-service-map-qg3g05ea.js} +0 -0
- /package/dist/chunks/{agent-qrg20bc0.js → location-service-map-qrg20bc0.js} +0 -0
- /package/dist/chunks/{agent-rcb2kzg1.js → location-service-map-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{agent-sdp7kfr6.js → location-service-map-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{agent-ssg3fenm.js → location-service-map-ssg3fenm.js} +0 -0
- /package/dist/chunks/{agent-ve7vex1e.js → location-service-map-ve7vex1e.js} +0 -0
- /package/dist/chunks/{agent-w803qqfp.js → location-service-map-w803qqfp.js} +0 -0
- /package/dist/chunks/{agent-wc3fc9cn.js → location-service-map-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{agent-wer8tq1h.js → location-service-map-wer8tq1h.js} +0 -0
- /package/dist/chunks/{agent-wjj7prxr.js → location-service-map-wjj7prxr.js} +0 -0
- /package/dist/chunks/{agent-wtztk69x.js → location-service-map-wtztk69x.js} +0 -0
- /package/dist/chunks/{agent-x0ckcb58.js → location-service-map-x0ckcb58.js} +0 -0
- /package/dist/chunks/{agent-x61499pn.js → location-service-map-x61499pn.js} +0 -0
- /package/dist/chunks/{agent-y44na4kk.js → location-service-map-y44na4kk.js} +0 -0
- /package/dist/chunks/{agent-y8f7s663.js → location-service-map-y8f7s663.js} +0 -0
- /package/dist/chunks/{agent-ygaqb7jw.js → location-service-map-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{agent-ym463w8f.js → location-service-map-ym463w8f.js} +0 -0
- /package/dist/chunks/{agent-z5v4ffb3.js → location-service-map-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{agent-z9919s4g.js → location-service-map-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID7,
|
|
3
|
+
Service58
|
|
4
|
+
} from "./location-service-map-wnsxc07p.js";
|
|
5
5
|
import {
|
|
6
6
|
Ref2,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
Service70
|
|
8
|
+
} from "./location-service-map-v2fstvx9.js";
|
|
9
9
|
import {
|
|
10
10
|
latest2,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service66
|
|
12
|
+
} from "./location-service-map-c7s5xd0e.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-b1a1n7cj.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
17
|
+
Service45
|
|
18
|
+
} from "./location-service-map-6npkjnc9.js";
|
|
19
19
|
import {
|
|
20
20
|
evaluate2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service55
|
|
22
|
+
} from "./location-service-map-mh8n60fa.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
24
|
+
Service26
|
|
25
|
+
} from "./location-service-map-nc1ev885.js";
|
|
26
26
|
import {
|
|
27
27
|
NO_TEXT2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-6xb47vfp.js";
|
|
29
29
|
import {
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
30
|
+
Service10
|
|
31
|
+
} from "./location-service-map-k6709ays.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/tool/plugin/subagent.ts
|
|
37
37
|
var exports_subagent = {};
|
|
38
38
|
__export(exports_subagent, {
|
|
39
|
-
Input: () =>
|
|
40
|
-
Output: () =>
|
|
41
|
-
Plugin: () =>
|
|
39
|
+
Input: () => Input3,
|
|
40
|
+
Output: () => Output2,
|
|
41
|
+
Plugin: () => Plugin38,
|
|
42
42
|
SubagentTool: () => exports_subagent,
|
|
43
|
-
description: () =>
|
|
44
|
-
name: () =>
|
|
43
|
+
description: () => description2,
|
|
44
|
+
name: () => name3
|
|
45
45
|
});
|
|
46
46
|
import { ToolFailure } from "@opencode/ai";
|
|
47
47
|
import { Effect, Predicate, Schema } from "effect";
|
|
48
|
-
var
|
|
48
|
+
var name3 = "subagent";
|
|
49
49
|
var backgroundResult = (sessionID) => ({
|
|
50
50
|
sessionID,
|
|
51
51
|
status: "running",
|
|
@@ -56,7 +56,7 @@ var backgroundResult = (sessionID) => ({
|
|
|
56
56
|
].join(`
|
|
57
57
|
`)
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var Input3 = Schema.Struct({
|
|
60
60
|
agent: Schema.String.annotate({
|
|
61
61
|
description: "The type of specialized agent to use for this task. If the user asks for a subagent by a name that is not one of the available subagents, they most likely mean a model: pick a suitable agent and pass the name through the model parameter instead."
|
|
62
62
|
}),
|
|
@@ -72,12 +72,12 @@ var Input6 = Schema.Struct({
|
|
|
72
72
|
description: "Run the subagent in the background and return immediately. You will be notified when it completes. DO NOT sleep, poll, or proactively check on its progress."
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
|
-
var
|
|
75
|
+
var Output2 = Schema.Struct({
|
|
76
76
|
sessionID: SessionSchema2.ID,
|
|
77
77
|
status: Schema.Literals(["completed", "running"]),
|
|
78
78
|
output: Schema.String
|
|
79
79
|
});
|
|
80
|
-
var
|
|
80
|
+
var description2 = [
|
|
81
81
|
"Spawns an agent in a child session to work on the specified task.",
|
|
82
82
|
"The output includes a sessionID you can pass back later to continue that specific conversation with the subagent.",
|
|
83
83
|
"New child sessions start with fresh context, so include all relevant context and instructions when you don't pass a sessionID.",
|
|
@@ -86,16 +86,16 @@ var description4 = [
|
|
|
86
86
|
"Use background only for independent work that can run while you continue elsewhere."
|
|
87
87
|
].join(`
|
|
88
88
|
`);
|
|
89
|
-
var
|
|
89
|
+
var Plugin38 = {
|
|
90
90
|
id: "opencode.tool.subagent",
|
|
91
91
|
effect: Effect.fn("SubagentTool.Plugin")(function* (ctx) {
|
|
92
|
-
const sessions = yield*
|
|
93
|
-
const jobs = yield*
|
|
94
|
-
const agents = yield*
|
|
95
|
-
const config = yield*
|
|
96
|
-
const permission = yield*
|
|
97
|
-
const models = yield*
|
|
98
|
-
const subagents = yield*
|
|
92
|
+
const sessions = yield* Service26;
|
|
93
|
+
const jobs = yield* Service45;
|
|
94
|
+
const agents = yield* Service58;
|
|
95
|
+
const config = yield* Service66;
|
|
96
|
+
const permission = yield* Service55;
|
|
97
|
+
const models = yield* Service70;
|
|
98
|
+
const subagents = yield* Service10;
|
|
99
99
|
const resolveModel = Effect.fn("SubagentTool.resolveModel")(function* (input) {
|
|
100
100
|
const ref = yield* Effect.try({
|
|
101
101
|
try: () => Ref2.parse(input),
|
|
@@ -115,11 +115,11 @@ var Plugin24 = {
|
|
|
115
115
|
return ref;
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
118
|
-
name:
|
|
118
|
+
name: name3,
|
|
119
119
|
options: { codemode: false },
|
|
120
|
-
description:
|
|
121
|
-
input:
|
|
122
|
-
output:
|
|
120
|
+
description: description2,
|
|
121
|
+
input: Input3,
|
|
122
|
+
output: Output2,
|
|
123
123
|
execute: (input, context) => Effect.gen(function* () {
|
|
124
124
|
const parent = yield* sessions.get(context.sessionID).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error })));
|
|
125
125
|
let current = parent;
|
|
@@ -139,7 +139,7 @@ var Plugin24 = {
|
|
|
139
139
|
if (agent.mode === "primary")
|
|
140
140
|
return yield* new ToolFailure({ message: `Agent ${input.agent} cannot run as a subagent` });
|
|
141
141
|
yield* permission.assert({
|
|
142
|
-
action:
|
|
142
|
+
action: name3,
|
|
143
143
|
resources: [agent.id],
|
|
144
144
|
save: [agent.id],
|
|
145
145
|
sessionID: context.sessionID,
|
|
@@ -168,7 +168,7 @@ var Plugin24 = {
|
|
|
168
168
|
const child = existing ?? (yield* sessions.create({
|
|
169
169
|
parentID: context.sessionID,
|
|
170
170
|
title: input.description,
|
|
171
|
-
agent:
|
|
171
|
+
agent: ID7.make(input.agent),
|
|
172
172
|
model
|
|
173
173
|
}).pipe(Effect.mapError((error) => new ToolFailure({ message: `Parent session not found: ${context.sessionID}`, error }))));
|
|
174
174
|
const background = input.background === true;
|
|
@@ -218,7 +218,7 @@ ${output.output}
|
|
|
218
218
|
})))
|
|
219
219
|
})).pipe(Effect.orDie);
|
|
220
220
|
yield* ctx.tool.hook("execute.before", (event) => Effect.sync(() => {
|
|
221
|
-
if (event.tool !==
|
|
221
|
+
if (event.tool !== name3 || !Predicate.isObject(event.input))
|
|
222
222
|
return;
|
|
223
223
|
if (event.input.model !== "" && event.input.sessionID !== "")
|
|
224
224
|
return;
|
|
@@ -230,13 +230,13 @@ ${output.output}
|
|
|
230
230
|
event.input = input;
|
|
231
231
|
}));
|
|
232
232
|
const hook = (event) => Effect.gen(function* () {
|
|
233
|
-
const tool = event.tools[
|
|
233
|
+
const tool = event.tools[name3];
|
|
234
234
|
if (!tool)
|
|
235
235
|
return;
|
|
236
236
|
const selected = yield* agents.resolve(event.agent);
|
|
237
237
|
if (!selected)
|
|
238
238
|
return;
|
|
239
|
-
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(
|
|
239
|
+
const available = (yield* agents.list()).filter((agent) => agent.mode !== "primary" && !agent.hidden && evaluate2(name3, agent.id, selected.permissions).effect !== "deny").toSorted((a, b) => a.id.localeCompare(b.id));
|
|
240
240
|
if (available.length === 0)
|
|
241
241
|
return;
|
|
242
242
|
tool.description = [
|
|
@@ -253,4 +253,4 @@ ${output.output}
|
|
|
253
253
|
})
|
|
254
254
|
};
|
|
255
255
|
|
|
256
|
-
export {
|
|
256
|
+
export { name3, Input3, Output2, description2, Plugin38, exports_subagent };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./location-service-map-t7n4d1yf.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service68,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./location-service-map-4pn1xf0p.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin36,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin36 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service84;
|
|
24
|
+
const wellknown = yield* Service68;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin18 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin36, exports_plugin };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/runner/index.ts
|
|
6
6
|
var exports_runner = {};
|
|
7
7
|
__export(exports_runner, {
|
|
8
8
|
DrainResult: () => DrainResult2,
|
|
9
|
-
Service: () =>
|
|
9
|
+
Service: () => Service42,
|
|
10
10
|
SessionRunner: () => exports_runner
|
|
11
11
|
});
|
|
12
12
|
import { Context, Data } from "effect";
|
|
13
13
|
var DrainResult2 = Data.taggedEnum();
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service42 extends Context.Service()("@opencode/SessionRunner") {
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
export { DrainResult2,
|
|
18
|
+
export { DrainResult2, Service42, exports_runner };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/hooks.ts
|
|
6
6
|
var exports_hooks = {};
|
|
7
7
|
__export(exports_hooks, {
|
|
8
8
|
PluginHooks: () => exports_hooks,
|
|
9
|
-
Service: () =>
|
|
10
|
-
node: () =>
|
|
9
|
+
Service: () => Service59,
|
|
10
|
+
node: () => node61
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
13
13
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -20,9 +20,9 @@ var eventProviderID = (event) => {
|
|
|
20
20
|
return typeof model.providerID === "string" ? model.providerID : undefined;
|
|
21
21
|
};
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service59 extends Context.Service()("@opencode/PluginHooks") {
|
|
24
24
|
}
|
|
25
|
-
var layer = Layer.effect(
|
|
25
|
+
var layer = Layer.effect(Service59, Effect.gen(function* () {
|
|
26
26
|
const callbacks = new Map;
|
|
27
27
|
const key = (domain, name) => `${domain}.${String(name)}`;
|
|
28
28
|
const register = Effect.fn("PluginHooks.register")(function* (domain, name, callback, options) {
|
|
@@ -54,8 +54,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
54
54
|
return event;
|
|
55
55
|
});
|
|
56
56
|
const has = (domain, name, providerID) => Effect.sync(() => (callbacks.get(key(domain, name)) ?? []).some((entry) => entry.options?.providerID === undefined || entry.options.providerID === providerID));
|
|
57
|
-
return
|
|
57
|
+
return Service59.of({ has, register, trigger });
|
|
58
58
|
}));
|
|
59
|
-
var
|
|
59
|
+
var node61 = makeLocationNode({ service: Service59, layer, deps: [] });
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { Service59, node61, exports_hooks };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-2bv980vf.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./location-service-map-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-t7n4d1yf.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-x661k3y3.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
13
|
+
ID13,
|
|
14
|
+
Service72,
|
|
15
|
+
node75,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-bjkg2ks4.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./location-service-map-0fzbfnq7.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/aisdk-native.ts
|
|
27
27
|
var exports_aisdk_native = {};
|
|
@@ -40,12 +40,12 @@ __export(exports_provider3, {
|
|
|
40
40
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
41
41
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
42
42
|
Event: () => Event16,
|
|
43
|
-
ID: () =>
|
|
43
|
+
ID: () => ID12,
|
|
44
44
|
Info: () => Info21,
|
|
45
45
|
LoadError: () => LoadError3,
|
|
46
46
|
Provider: () => exports_provider3,
|
|
47
47
|
Request: () => Request3,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service71,
|
|
49
49
|
Settings: () => Settings2,
|
|
50
50
|
Transport: () => Transport2,
|
|
51
51
|
aisdk: () => aisdk2,
|
|
@@ -56,7 +56,7 @@ __export(exports_provider3, {
|
|
|
56
56
|
mergeOverlay: () => mergeOverlay2,
|
|
57
57
|
modelSettings: () => modelSettings2,
|
|
58
58
|
nativeSettings: () => nativeSettings2,
|
|
59
|
-
node: () =>
|
|
59
|
+
node: () => node74,
|
|
60
60
|
packageName: () => packageName2,
|
|
61
61
|
timeout: () => timeout2,
|
|
62
62
|
timeouts: () => timeouts2
|
|
@@ -71,7 +71,7 @@ import { importModule, resolveModule } from "@opencode/util/runtime-import";
|
|
|
71
71
|
import { Credential } from "@opencode/schema/credential";
|
|
72
72
|
import { freeze } from "immer";
|
|
73
73
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
74
|
-
var
|
|
74
|
+
var ID12 = Provider.ID;
|
|
75
75
|
var AISDK_PREFIX2 = "aisdk:";
|
|
76
76
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
77
77
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -255,7 +255,7 @@ var Transport2 = Provider.Transport;
|
|
|
255
255
|
var Settings2 = Provider.Settings;
|
|
256
256
|
var Info21 = Provider.Info;
|
|
257
257
|
|
|
258
|
-
class
|
|
258
|
+
class Service71 extends Context.Service()("@opencode/Provider") {
|
|
259
259
|
}
|
|
260
260
|
var definitions = new WeakMap;
|
|
261
261
|
function index(providerID, models) {
|
|
@@ -268,10 +268,10 @@ function index(providerID, models) {
|
|
|
268
268
|
definitions.set(models, indexes);
|
|
269
269
|
return result;
|
|
270
270
|
}
|
|
271
|
-
var layer = Layer.effect(
|
|
272
|
-
const bus = yield*
|
|
273
|
-
const integrations = yield*
|
|
274
|
-
const location = yield*
|
|
271
|
+
var layer = Layer.effect(Service71, Effect.gen(function* () {
|
|
272
|
+
const bus = yield* Service84;
|
|
273
|
+
const integrations = yield* Service72;
|
|
274
|
+
const location = yield* Service81;
|
|
275
275
|
const state = create3({
|
|
276
276
|
name: "provider",
|
|
277
277
|
initial: () => new Map,
|
|
@@ -363,7 +363,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
363
363
|
const available = Array.from(records.values()).filter((record) => {
|
|
364
364
|
if (record.provider.activation === "disabled")
|
|
365
365
|
return false;
|
|
366
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
366
|
+
const integration = byID.get(record.provider.integrationID ?? ID13.make(record.provider.id));
|
|
367
367
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
368
368
|
return false;
|
|
369
369
|
if (record.provider.activation === "enabled")
|
|
@@ -390,7 +390,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
390
390
|
});
|
|
391
391
|
});
|
|
392
392
|
yield* bus.subscribe([Event17.Updated, Credential.Event.Updated, Credential.Event.Switched]).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
393
|
-
return
|
|
393
|
+
return Service71.of({
|
|
394
394
|
transform: state.transform,
|
|
395
395
|
reload: state.reload,
|
|
396
396
|
get: Effect.fn("Provider.get")((id) => Effect.sync(() => freeze(state.get().get(id)?.provider, true))),
|
|
@@ -399,7 +399,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
399
399
|
snapshot
|
|
400
400
|
});
|
|
401
401
|
}));
|
|
402
|
-
var
|
|
402
|
+
var node74 = makeLocationNode({ service: Service71, layer, deps: [node88, node75, node85] });
|
|
403
403
|
var importPackage = Effect.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
404
404
|
const module = yield* Effect.tryPromise({
|
|
405
405
|
try: () => {
|
|
@@ -677,4 +677,4 @@ var Legacy = Schema2.StructWithRest(Schema2.Struct({
|
|
|
677
677
|
}), [Schema2.Record(Schema2.String, Schema2.Unknown)]);
|
|
678
678
|
var decode = Schema2.decodeUnknownSync(Legacy);
|
|
679
679
|
|
|
680
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
680
|
+
export { rewrite2, native2, exports_aisdk_native, ID12, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request3, Compaction3, Transport2, Settings2, Info21, Service71, node74, exports_provider3, Event16 };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service45,
|
|
3
|
+
node47
|
|
4
|
+
} from "./location-service-map-6npkjnc9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service26,
|
|
7
|
+
node29
|
|
8
|
+
} from "./location-service-map-nc1ev885.js";
|
|
9
9
|
import {
|
|
10
10
|
text2,
|
|
11
11
|
deliver2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-6xb47vfp.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/session/subagent-job.ts
|
|
18
18
|
var exports_subagent_job = {};
|
|
19
19
|
__export(exports_subagent_job, {
|
|
20
|
-
Service: () =>
|
|
20
|
+
Service: () => Service10,
|
|
21
21
|
SubagentJob: () => exports_subagent_job,
|
|
22
|
-
node: () =>
|
|
22
|
+
node: () => node12
|
|
23
23
|
});
|
|
24
24
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
25
25
|
import { Node } from "@opencode/util/effect/app-node";
|
|
26
|
-
class
|
|
26
|
+
class Service10 extends Context.Service()("@opencode/SubagentJob") {
|
|
27
27
|
}
|
|
28
28
|
var make = Effect.gen(function* () {
|
|
29
|
-
const sessions = yield*
|
|
30
|
-
const jobs = yield*
|
|
29
|
+
const sessions = yield* Service26;
|
|
30
|
+
const jobs = yield* Service45;
|
|
31
31
|
const scope = yield* Scope.Scope;
|
|
32
32
|
const context = yield* Effect.context();
|
|
33
33
|
const notifications = new Set;
|
|
@@ -42,7 +42,7 @@ var make = Effect.gen(function* () {
|
|
|
42
42
|
yield* deliver2(sessions, jobs, { ...info, recovery });
|
|
43
43
|
}).pipe(Effect.ensuring(Effect.sync(() => notifications.delete(key))), Effect.forkIn(scope, { startImmediately: true }), Effect.setContext(context));
|
|
44
44
|
});
|
|
45
|
-
return
|
|
45
|
+
return Service10.of({
|
|
46
46
|
start: (recovery) => jobs.start({
|
|
47
47
|
id: recovery.childSessionID,
|
|
48
48
|
type: "subagent",
|
|
@@ -64,10 +64,10 @@ var make = Effect.gen(function* () {
|
|
|
64
64
|
notify
|
|
65
65
|
});
|
|
66
66
|
});
|
|
67
|
-
var
|
|
68
|
-
service:
|
|
69
|
-
layer: Layer.effect(
|
|
70
|
-
deps: [
|
|
67
|
+
var node12 = Node.makeGlobalNode({
|
|
68
|
+
service: Service10,
|
|
69
|
+
layer: Layer.effect(Service10, make),
|
|
70
|
+
deps: [node29, node47]
|
|
71
71
|
});
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { Service10, node12, exports_subagent_job };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service71
|
|
4
|
+
} from "./location-service-map-k4xdy46r.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service66
|
|
7
|
+
} from "./location-service-map-c7s5xd0e.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/provider/configured.ts
|
|
10
10
|
import { Effect, Option } from "effect";
|
|
11
11
|
var configuredSettings2 = Effect.fn("ProviderPlugin.configuredSettings")(function* (id) {
|
|
12
|
-
const providers = yield*
|
|
12
|
+
const providers = yield* Service71;
|
|
13
13
|
const current = (yield* providers.get(id))?.settings;
|
|
14
|
-
const service = yield* Effect.serviceOption(
|
|
14
|
+
const service = yield* Effect.serviceOption(Service66);
|
|
15
15
|
const entries = Option.isSome(service) ? yield* service.value.entries() : [];
|
|
16
16
|
return foldSettings2(entries, id, current);
|
|
17
17
|
});
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
mergeOverlay2,
|
|
3
3
|
mergeHeaders2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-k4xdy46r.js";
|
|
5
5
|
import {
|
|
6
6
|
mergeCapabilities2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-v2fstvx9.js";
|
|
8
8
|
import {
|
|
9
9
|
latest2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service66
|
|
11
|
+
} from "./location-service-map-c7s5xd0e.js";
|
|
12
12
|
import {
|
|
13
13
|
resolve2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-bh3fdk74.js";
|
|
15
15
|
import {
|
|
16
16
|
observe2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-qsdy395h.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/config/plugin/provider.ts
|
|
23
23
|
var exports_provider = {};
|
|
24
24
|
__export(exports_provider, {
|
|
25
25
|
ConfigProviderPlugin: () => exports_provider,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin30
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Money } from "@opencode/schema/money";
|
|
30
30
|
import { Effect } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Plugin30 = define({
|
|
32
32
|
id: "opencode.config.provider",
|
|
33
33
|
effect: Effect.fn(function* (ctx) {
|
|
34
|
-
const config = yield*
|
|
34
|
+
const config = yield* Service66;
|
|
35
35
|
const loaded = yield* observe2(config, ctx.event, ctx.integration.reload().pipe(Effect.andThen(ctx.provider.reload())));
|
|
36
36
|
yield* ctx.integration.transform((integrations) => {
|
|
37
37
|
for (const [id, provider] of configuredProviders(loaded.entries)) {
|
|
@@ -192,4 +192,4 @@ function configuredProviders(entries) {
|
|
|
192
192
|
return entries.filter((entry) => entry.type === "document").flatMap((file) => Object.entries(file.info.providers ?? {}));
|
|
193
193
|
}
|
|
194
194
|
|
|
195
|
-
export {
|
|
195
|
+
export { Plugin30, exports_provider };
|