@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,9 +1,9 @@
|
|
|
1
1
|
// src/filesystem/watcher-binding.ts
|
|
2
2
|
import { createRequire } from "node:module";
|
|
3
|
-
function
|
|
3
|
+
function load5() {
|
|
4
4
|
const require2 = createRequire(import.meta.url);
|
|
5
5
|
const libc = typeof OPENCODE_LIBC === "undefined" ? undefined : OPENCODE_LIBC;
|
|
6
6
|
return require2(process.env.OPENCODE_PARCEL_WATCHER_PATH ?? `@parcel/watcher-${process.platform}-${process.arch}${process.platform === "linux" ? `-${libc || "glibc"}` : ""}`);
|
|
7
7
|
}
|
|
8
8
|
|
|
9
|
-
export {
|
|
9
|
+
export { load5 };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./location-service-map-z5v4ffb3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service83,
|
|
9
|
+
node87
|
|
10
|
+
} from "./location-service-map-svcw9x3w.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service81,
|
|
13
|
+
node85
|
|
14
|
+
} from "./location-service-map-0fzbfnq7.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error3,
|
|
26
|
+
ID: () => ID9,
|
|
27
|
+
Service: () => Service62,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node65,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Clock, Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID9 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error3 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service62 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service62, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service83;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service81;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error3({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -72,7 +72,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
72
72
|
const repository = repositoryFiber.pipe(Effect.uninterruptible, Effect.flatMap(Fiber.join));
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
if (!FSUtil.contains(worktree, location.directory))
|
|
75
|
-
return yield* new
|
|
75
|
+
return yield* new Error3({ operation: "capture", message: "Location is outside the project" });
|
|
76
76
|
return RelativePath2.make(path.relative(worktree, location.directory).replaceAll("\\", "/") || ".");
|
|
77
77
|
});
|
|
78
78
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
96
96
|
maximumUntrackedFileBytes: 2 * 1024 * 1024
|
|
97
97
|
});
|
|
98
98
|
yield* packWhenDue(repo.snapshotRepository);
|
|
99
|
-
return
|
|
99
|
+
return ID9.make(tree);
|
|
100
100
|
}).pipe(Effect.catch((cause) => Effect.logWarning("failed to capture snapshot", { cause }).pipe(Effect.as(undefined))));
|
|
101
101
|
});
|
|
102
102
|
const comparison = Effect.fnUntraced(function* (operation, input) {
|
|
@@ -136,25 +136,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
136
136
|
for (const [file, snapshot] of input.files) {
|
|
137
137
|
const absolute = path.resolve(worktree, file);
|
|
138
138
|
if (!FSUtil.contains(worktree, absolute))
|
|
139
|
-
return yield* new
|
|
139
|
+
return yield* new Error3({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
140
140
|
files.set(file, TreeID2.make(snapshot));
|
|
141
141
|
}
|
|
142
142
|
return files;
|
|
143
143
|
});
|
|
144
144
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
145
145
|
if (!enabled())
|
|
146
|
-
return yield* new
|
|
146
|
+
return yield* new Error3({ operation: "restore", message: "Snapshots are disabled" });
|
|
147
147
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
148
148
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
149
149
|
});
|
|
150
|
-
return
|
|
150
|
+
return Service62.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
151
151
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
152
|
-
var
|
|
153
|
-
service:
|
|
152
|
+
var node65 = makeLocationNode({
|
|
153
|
+
service: Service62,
|
|
154
154
|
layer,
|
|
155
|
-
deps: [FSUtil.node,
|
|
155
|
+
deps: [FSUtil.node, node87, Global.node, node85]
|
|
156
156
|
});
|
|
157
|
-
var noopLayer3 = Layer.succeed(
|
|
157
|
+
var noopLayer3 = Layer.succeed(Service62, Service62.of({
|
|
158
158
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
159
159
|
reload: () => Effect.void,
|
|
160
160
|
capture: () => Effect.undefined,
|
|
@@ -163,13 +163,13 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
|
|
|
163
163
|
restore: () => Effect.void
|
|
164
164
|
}));
|
|
165
165
|
function failure(operation, cause) {
|
|
166
|
-
if (cause instanceof
|
|
166
|
+
if (cause instanceof Error3 && cause.operation === operation)
|
|
167
167
|
return cause;
|
|
168
|
-
return new
|
|
168
|
+
return new Error3({
|
|
169
169
|
operation,
|
|
170
170
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
171
171
|
cause
|
|
172
172
|
});
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export {
|
|
175
|
+
export { ID9, Error3, Service62, node65, noopLayer3, exports_snapshot2 };
|
|
@@ -1,65 +1,65 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./location-service-map-t7n4d1yf.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service81,
|
|
7
|
+
node85
|
|
8
|
+
} from "./location-service-map-0fzbfnq7.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
10
|
+
Service65,
|
|
11
11
|
login2,
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
node68
|
|
13
|
+
} from "./location-service-map-qvcr5dcn.js";
|
|
14
14
|
import {
|
|
15
15
|
lazy2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-88xbtdfr.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/pty.ts
|
|
22
22
|
var exports_pty = {};
|
|
23
23
|
__export(exports_pty, {
|
|
24
|
-
CreateInput: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
CreateInput: () => CreateInput3,
|
|
25
|
+
Event: () => Event12,
|
|
26
26
|
ExitedError: () => ExitedError2,
|
|
27
|
-
ID: () =>
|
|
28
|
-
Info: () =>
|
|
29
|
-
NotFoundError: () =>
|
|
27
|
+
ID: () => ID10,
|
|
28
|
+
Info: () => Info14,
|
|
29
|
+
NotFoundError: () => NotFoundError8,
|
|
30
30
|
Pty: () => exports_pty,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service64,
|
|
32
32
|
UpdateInput: () => UpdateInput2,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node67
|
|
34
34
|
});
|
|
35
35
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
36
36
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
37
37
|
import { Pty } from "@opencode/schema/pty";
|
|
38
|
-
import { Event as
|
|
38
|
+
import { Event as Event12 } from "@opencode/schema/pty";
|
|
39
39
|
var BUFFER_LIMIT = 1024 * 1024 * 2;
|
|
40
40
|
var EXITED_LIMIT = 25;
|
|
41
41
|
var pty = lazy2(() => import("#pty"));
|
|
42
|
-
var
|
|
43
|
-
var
|
|
44
|
-
var
|
|
42
|
+
var ID10 = Pty.ID;
|
|
43
|
+
var Info14 = Pty.Info;
|
|
44
|
+
var CreateInput3 = Pty.CreateInput;
|
|
45
45
|
var UpdateInput2 = Pty.UpdateInput;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
ptyID:
|
|
47
|
+
class NotFoundError8 extends Schema.TaggedError()("Pty.NotFoundError", {
|
|
48
|
+
ptyID: ID10
|
|
49
49
|
}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ExitedError2 extends Schema.TaggedError()("Pty.ExitedError", {
|
|
53
|
-
ptyID:
|
|
53
|
+
ptyID: ID10
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
57
|
-
class
|
|
57
|
+
class Service64 extends Context.Service()("@opencode/Pty") {
|
|
58
58
|
}
|
|
59
|
-
var layer = Layer.effect(
|
|
60
|
-
const bus = yield*
|
|
61
|
-
const location = yield*
|
|
62
|
-
const shell = yield*
|
|
59
|
+
var layer = Layer.effect(Service64, Effect.gen(function* () {
|
|
60
|
+
const bus = yield* Service84;
|
|
61
|
+
const location = yield* Service81;
|
|
62
|
+
const shell = yield* Service65;
|
|
63
63
|
const context = yield* Effect.context();
|
|
64
64
|
const runFork = Effect.runForkWith(context);
|
|
65
65
|
const sessions = new Map;
|
|
@@ -96,7 +96,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
96
96
|
const requireSession = Effect.fn("Pty.requireSession")(function* (id) {
|
|
97
97
|
const session = sessions.get(id);
|
|
98
98
|
if (!session)
|
|
99
|
-
return yield* new
|
|
99
|
+
return yield* new NotFoundError8({ ptyID: id });
|
|
100
100
|
return session;
|
|
101
101
|
});
|
|
102
102
|
const removeSession = Effect.fnUntraced(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
122
122
|
return (yield* requireSession(id)).info;
|
|
123
123
|
});
|
|
124
124
|
const create = Effect.fn("Pty.create")(function* (input) {
|
|
125
|
-
const id =
|
|
125
|
+
const id = ID10.ascending();
|
|
126
126
|
const command = input.command || (yield* shell.resolve({ priority: "config" }));
|
|
127
127
|
const args = login2(command) ? [...input.args ?? [], "-l"] : [...input.args ?? []];
|
|
128
128
|
const cwd = input.cwd || location.directory;
|
|
@@ -267,12 +267,12 @@ var layer = Layer.effect(Service16, Effect.gen(function* () {
|
|
|
267
267
|
}
|
|
268
268
|
};
|
|
269
269
|
});
|
|
270
|
-
return
|
|
270
|
+
return Service64.of({ list, get, create, update, remove, write, attach });
|
|
271
271
|
}));
|
|
272
|
-
var
|
|
273
|
-
service:
|
|
272
|
+
var node67 = makeLocationNode({
|
|
273
|
+
service: Service64,
|
|
274
274
|
layer,
|
|
275
|
-
deps: [
|
|
275
|
+
deps: [node88, node85, node68]
|
|
276
276
|
});
|
|
277
277
|
|
|
278
|
-
export {
|
|
278
|
+
export { ID10, Info14, CreateInput3, UpdateInput2, NotFoundError8, ExitedError2, Service64, node67, exports_pty, Event12 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound3,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./location-service-map-hgz4x7wa.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/exec-defaults.ts
|
|
11
11
|
var exports_exec_defaults = {};
|
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
SessionSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./location-service-map-b1a1n7cj.js";
|
|
7
7
|
import {
|
|
8
8
|
MessageDecodeError2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-96kn8jjj.js";
|
|
10
10
|
import {
|
|
11
11
|
InitializationBlocked2,
|
|
12
12
|
read3
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./location-service-map-t550f9t1.js";
|
|
14
14
|
import {
|
|
15
15
|
SessionMessageTable2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./location-service-map-c1fqxshp.js";
|
|
17
17
|
import {
|
|
18
18
|
initial2,
|
|
19
19
|
preview3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./location-service-map-0b5g1ynf.js";
|
|
21
21
|
import {
|
|
22
22
|
compatible2,
|
|
23
23
|
isCheckpoint2,
|
|
24
24
|
validate2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-4z58m4b4.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/session/history.ts
|
|
31
31
|
var exports_history = {};
|
|
@@ -35,7 +35,7 @@ __export(exports_history, {
|
|
|
35
35
|
entriesForRunner: () => entriesForRunner2,
|
|
36
36
|
firstUserMessage: () => firstUserMessage2,
|
|
37
37
|
latestCompaction: () => latestCompaction2,
|
|
38
|
-
load: () =>
|
|
38
|
+
load: () => load4,
|
|
39
39
|
preview: () => preview2
|
|
40
40
|
});
|
|
41
41
|
import { and, asc, desc, eq, gte, or, sql } from "drizzle-orm";
|
|
@@ -56,7 +56,7 @@ var messageEntries = Effect.fnUntraced(function* (db, sessionID, boundary) {
|
|
|
56
56
|
const native = entries.findLast((entry) => isCheckpoint2(entry.message));
|
|
57
57
|
return entries.filter((entry) => !(entry.message.type === "system" && native && entry.seq < native.seq) && replayable(entry.message, boundary));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var load4 = Effect.fn("SessionHistory.load")(function* (db, sessionID, boundary) {
|
|
60
60
|
return (yield* messageEntries(db, sessionID, boundary)).map((entry) => entry.message);
|
|
61
61
|
});
|
|
62
62
|
var entriesForRunner2 = Effect.fn("SessionHistory.entriesForRunner")(function* (db, sessionID, instructions, boundary) {
|
|
@@ -92,4 +92,4 @@ var firstUserMessage2 = Effect.fn("SessionHistory.firstUserMessage")(function* (
|
|
|
92
92
|
return message?.type === "user" ? message : undefined;
|
|
93
93
|
});
|
|
94
94
|
|
|
95
|
-
export { latestCompaction2, decodeMessageRow2,
|
|
95
|
+
export { latestCompaction2, decodeMessageRow2, load4, entriesForRunner2, preview2, firstUserMessage2, exports_history };
|
|
@@ -4,43 +4,43 @@ import {
|
|
|
4
4
|
normalizeContent2,
|
|
5
5
|
normalizedName2,
|
|
6
6
|
effectiveName2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./location-service-map-pyv0edze.js";
|
|
8
8
|
import {
|
|
9
9
|
create2,
|
|
10
10
|
catalog2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./location-service-map-j09zfasm.js";
|
|
12
12
|
import {
|
|
13
13
|
create3
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} from "./
|
|
16
|
+
Service53,
|
|
17
|
+
node55
|
|
18
|
+
} from "./location-service-map-w5rka97k.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service59,
|
|
21
|
+
node61
|
|
22
|
+
} from "./location-service-map-jvnghvnw.js";
|
|
23
23
|
import {
|
|
24
24
|
match2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
26
26
|
import {
|
|
27
27
|
__export
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
29
29
|
|
|
30
30
|
// src/tool.ts
|
|
31
31
|
var exports_tool = {};
|
|
32
32
|
__export(exports_tool, {
|
|
33
33
|
CallID: () => CallID2,
|
|
34
|
-
Content: () =>
|
|
35
|
-
Error: () =>
|
|
34
|
+
Content: () => Content2,
|
|
35
|
+
Error: () => Error2,
|
|
36
36
|
FileContent: () => FileContent3,
|
|
37
37
|
RegistrationError: () => RegistrationError2,
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service52,
|
|
39
39
|
TextContent: () => TextContent2,
|
|
40
40
|
Tool: () => exports_tool,
|
|
41
|
-
node: () =>
|
|
41
|
+
node: () => node54
|
|
42
42
|
});
|
|
43
|
-
import { CallID as CallID2, Content as
|
|
43
|
+
import { CallID as CallID2, Content as Content2, Error as Error2, FileContent as FileContent3, TextContent as TextContent2 } from "@opencode/schema/tool";
|
|
44
44
|
import { ToolDefinition } from "@opencode/ai";
|
|
45
45
|
import { Tool } from "@opencode/schema/tool";
|
|
46
46
|
import { Context, Effect, Layer, Result, Schema, SchemaIssue } from "effect";
|
|
@@ -51,11 +51,11 @@ class RegistrationError2 extends Schema.TaggedError()("Tool.RegistrationError",
|
|
|
51
51
|
}) {
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service52 extends Context.Service()("@opencode/Tool") {
|
|
55
55
|
}
|
|
56
|
-
var layer = Layer.effect(
|
|
57
|
-
const hooks = yield*
|
|
58
|
-
const image = yield*
|
|
56
|
+
var layer = Layer.effect(Service52, Effect.gen(function* () {
|
|
57
|
+
const hooks = yield* Service59;
|
|
58
|
+
const image = yield* Service53;
|
|
59
59
|
const normalizeImages = Effect.fnUntraced(function* (content) {
|
|
60
60
|
const normalized = yield* Effect.forEach(content, (item) => {
|
|
61
61
|
if (item.type !== "file" || !item.mime.startsWith("image/"))
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service47, Effect.gen(function* () {
|
|
|
184
184
|
}), { discard: true });
|
|
185
185
|
}
|
|
186
186
|
});
|
|
187
|
-
return
|
|
187
|
+
return Service52.of({
|
|
188
188
|
transform: state.transform,
|
|
189
189
|
reload: state.reload,
|
|
190
190
|
list: () => Effect.sync(() => Array.from(state.get().tools.values())),
|
|
@@ -273,10 +273,10 @@ function namespaceError(name) {
|
|
|
273
273
|
return;
|
|
274
274
|
return new RegistrationError2({ name, message: `Invalid tool namespace: ${JSON.stringify(name)}` });
|
|
275
275
|
}
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node54 = makeLocationNode({
|
|
277
|
+
service: Service52,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [
|
|
279
|
+
deps: [node61, node55]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export { RegistrationError2,
|
|
282
|
+
export { RegistrationError2, Service52, node54, exports_tool, CallID2, Content2, Error2, FileContent3, TextContent2 };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
batch2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./location-service-map-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service66
|
|
6
|
+
} from "./location-service-map-c7s5xd0e.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
11
|
+
Service19,
|
|
12
12
|
statements2,
|
|
13
13
|
decision2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./location-service-map-9vjjhptz.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/policy.ts
|
|
23
23
|
var exports_policy = {};
|
|
24
24
|
__export(exports_policy, {
|
|
25
25
|
ConfigPolicyPlugin: () => exports_policy,
|
|
26
|
-
Plugin: () =>
|
|
26
|
+
Plugin: () => Plugin21
|
|
27
27
|
});
|
|
28
28
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
29
29
|
import { Effect, Stream } from "effect";
|
|
30
|
-
var
|
|
30
|
+
var Plugin21 = define({
|
|
31
31
|
id: "opencode.config.policy",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
|
-
const config = yield*
|
|
34
|
-
const managed = yield*
|
|
33
|
+
const config = yield* Service66;
|
|
34
|
+
const managed = yield* Service19;
|
|
35
35
|
const reload = batch2(Effect.all([ctx.provider.reload(), ctx.mcp.reload(), ctx.skill.reload()], { discard: true }));
|
|
36
36
|
const loaded = yield* observe2(config, ctx.event, reload);
|
|
37
37
|
yield* managed.changes().pipe(Stream.runForEach(() => reload), Effect.forkScoped({ startImmediately: true }));
|
|
@@ -69,4 +69,4 @@ var Plugin32 = define({
|
|
|
69
69
|
})
|
|
70
70
|
});
|
|
71
71
|
|
|
72
|
-
export {
|
|
72
|
+
export { Plugin21, exports_policy };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service66
|
|
3
|
+
} from "./location-service-map-c7s5xd0e.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service53
|
|
6
|
+
} from "./location-service-map-w5rka97k.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./location-service-map-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./location-service-map-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin32
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin32 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service66;
|
|
26
|
+
const image = yield* Service53;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin47 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin32, exports_image };
|