@opencode/core 0.0.0-dev-20070 → 0.0.0-dev-20073
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 +83 -83
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +7 -7
- package/dist/bus.js +73 -73
- package/dist/chunks/{persistent-pty-adcjy0yy.js → session-082mf624.js} +24 -24
- package/dist/chunks/{persistent-pty-xhbkmk74.js → session-09q98ahy.js} +25 -25
- package/dist/chunks/{persistent-pty-ycndb7t3.js → session-0et63zm2.js} +16 -16
- package/dist/chunks/{persistent-pty-d2aac7k2.js → session-0f9afca0.js} +5 -5
- package/dist/chunks/{persistent-pty-0paq2nw3.js → session-0paq2nw3.js} +1 -1
- package/dist/chunks/{persistent-pty-r83whyrf.js → session-0pk8cwnc.js} +23 -23
- package/dist/chunks/{persistent-pty-ec8389mk.js → session-18e56dsp.js} +4 -4
- package/dist/chunks/{persistent-pty-yp2x3t23.js → session-1acjjqhc.js} +4 -4
- package/dist/chunks/{persistent-pty-wafpmbfs.js → session-1cy1yc7t.js} +20 -20
- package/dist/chunks/{persistent-pty-ncjresk4.js → session-1dangqhw.js} +8 -8
- package/dist/chunks/{persistent-pty-1dazxqgg.js → session-1dazxqgg.js} +2 -2
- package/dist/chunks/{persistent-pty-5xpznt2d.js → session-1ed2t66p.js} +4 -4
- package/dist/chunks/{persistent-pty-fm2qvscf.js → session-1g7epwpd.js} +7 -7
- package/dist/chunks/{persistent-pty-cpa9evey.js → session-1m4dbgn5.js} +3 -3
- package/dist/chunks/{persistent-pty-n38w816c.js → session-1pp65zvy.js} +19 -19
- package/dist/chunks/{persistent-pty-kd4v9k4j.js → session-1qc33g3f.js} +18 -18
- package/dist/chunks/{persistent-pty-14tdt6pq.js → session-1qd6zwxj.js} +3 -3
- package/dist/chunks/{persistent-pty-3b699t4b.js → session-1vrp706b.js} +10 -10
- package/dist/chunks/{persistent-pty-vj8zb72s.js → session-1x9a1gz7.js} +6 -6
- package/dist/chunks/{persistent-pty-21r38tys.js → session-21r38tys.js} +1 -1
- package/dist/chunks/{persistent-pty-03drz298.js → session-224bnkwn.js} +22 -22
- package/dist/chunks/{persistent-pty-2402vzrj.js → session-2402vzrj.js} +1 -1
- package/dist/chunks/{persistent-pty-p06qdrkc.js → session-28tmsh5x.js} +5 -5
- package/dist/chunks/{persistent-pty-0wv36b6c.js → session-29ft4m47.js} +41 -41
- package/dist/chunks/{persistent-pty-2a5m3afh.js → session-2a5m3afh.js} +1 -1
- package/dist/chunks/{persistent-pty-qb9vhbtw.js → session-2fy0z0n6.js} +15 -15
- package/dist/chunks/{persistent-pty-cyxwnd9c.js → session-2h8yhswq.js} +31 -31
- package/dist/chunks/{persistent-pty-7dqw4kz8.js → session-2k8khapm.js} +5 -5
- package/dist/chunks/{persistent-pty-a0sbrj5q.js → session-2kyz4xeg.js} +25 -25
- package/dist/chunks/{persistent-pty-rxdxrnem.js → session-2m6j0f52.js} +7 -7
- package/dist/chunks/{persistent-pty-m70sbz6t.js → session-2vs2nh1n.js} +4 -4
- package/dist/chunks/{persistent-pty-1myjhcv5.js → session-2xdpq94x.js} +22 -22
- package/dist/chunks/{persistent-pty-8pccpkv9.js → session-34nv4jvf.js} +12 -12
- package/dist/chunks/{persistent-pty-wd09zjr8.js → session-37gcj9j5.js} +16 -16
- package/dist/chunks/{persistent-pty-cxc2wn7k.js → session-3bj9cxk1.js} +8 -8
- package/dist/chunks/{persistent-pty-r7jpdgae.js → session-3c2x13s4.js} +28 -28
- package/dist/chunks/{persistent-pty-sxqherdn.js → session-3ds7w9ed.js} +3 -3
- package/dist/chunks/{persistent-pty-3fc6dm20.js → session-3fc6dm20.js} +1 -1
- package/dist/chunks/{persistent-pty-3hepkmqq.js → session-3hepkmqq.js} +1 -1
- package/dist/chunks/session-3ke3thr6.js +26 -0
- package/dist/chunks/{persistent-pty-5gw2z3et.js → session-3sk23fa1.js} +5 -5
- package/dist/chunks/{persistent-pty-3smtnn6g.js → session-3smtnn6g.js} +1 -1
- package/dist/chunks/{persistent-pty-3tvqynh2.js → session-3tvqynh2.js} +1 -1
- package/dist/chunks/{persistent-pty-a0j9ghhw.js → session-3ynb5crc.js} +19 -19
- package/dist/chunks/{persistent-pty-3zsf4n22.js → session-3zsf4n22.js} +1 -1
- package/dist/chunks/{persistent-pty-ajj1dwjw.js → session-4254mex4.js} +43 -43
- package/dist/chunks/{persistent-pty-44ke2mar.js → session-44ke2mar.js} +2 -2
- package/dist/chunks/{persistent-pty-qje2a4n2.js → session-4cws6bdd.js} +10 -10
- package/dist/chunks/{persistent-pty-cbqy5dr9.js → session-4gqw2btn.js} +17 -17
- package/dist/chunks/{persistent-pty-kg93zbfw.js → session-4n5s23d0.js} +11 -11
- package/dist/chunks/{persistent-pty-pgmm1a8m.js → session-4r2b4trr.js} +58 -58
- package/dist/chunks/{persistent-pty-ckecvw8r.js → session-54tcyq79.js} +2 -2
- package/dist/chunks/{persistent-pty-56gdpj1q.js → session-56gdpj1q.js} +2 -2
- package/dist/chunks/{persistent-pty-57ez7d0k.js → session-57ez7d0k.js} +2 -2
- package/dist/chunks/{persistent-pty-hh05mkd2.js → session-58gk62s0.js} +11 -11
- package/dist/chunks/{persistent-pty-xdzxe0wf.js → session-5bd5rwjf.js} +8 -8
- package/dist/chunks/{persistent-pty-5daktx2q.js → session-5daktx2q.js} +1 -1
- package/dist/chunks/{persistent-pty-5ekn9679.js → session-5ekn9679.js} +1 -1
- package/dist/chunks/{persistent-pty-e3qxr5gk.js → session-5qd3pb7m.js} +2 -2
- package/dist/chunks/{persistent-pty-fay784kk.js → session-5s2s3s9g.js} +38 -38
- package/dist/chunks/{persistent-pty-5t3nmthw.js → session-5t3nmthw.js} +2 -2
- package/dist/chunks/{persistent-pty-mqt5419d.js → session-607q5haz.js} +12 -12
- package/dist/chunks/{persistent-pty-t0hvt5ga.js → session-62jhn0qh.js} +8 -8
- package/dist/chunks/{persistent-pty-669tq793.js → session-669tq793.js} +1 -1
- package/dist/chunks/{persistent-pty-e07xevgn.js → session-6j27hweg.js} +24 -24
- package/dist/chunks/session-6kdq0pjd.js +4 -0
- package/dist/chunks/{persistent-pty-ncq08a4j.js → session-6m4px3sx.js} +11 -11
- package/dist/chunks/{persistent-pty-6msgmcgs.js → session-6msgmcgs.js} +1 -1
- package/dist/chunks/{persistent-pty-6744wpjg.js → session-6ss97yeq.js} +14 -14
- package/dist/chunks/{persistent-pty-mvfsc1pv.js → session-73tb2d7t.js} +3 -3
- package/dist/chunks/{persistent-pty-52a9n96b.js → session-77ry6d7j.js} +9 -9
- package/dist/chunks/{persistent-pty-qs9wfy73.js → session-78j00qgw.js} +16 -16
- package/dist/chunks/{persistent-pty-7bmhse3q.js → session-7bmhse3q.js} +1 -1
- package/dist/chunks/{persistent-pty-v5vn9b7d.js → session-7eemwt38.js} +4 -4
- package/dist/chunks/{persistent-pty-39af71ak.js → session-7eygmad2.js} +22 -22
- package/dist/chunks/{persistent-pty-exhkk0g4.js → session-7kadqazm.js} +24 -24
- package/dist/chunks/{persistent-pty-a4kfnjq6.js → session-7kjtkbs4.js} +9 -9
- package/dist/chunks/{persistent-pty-9c3np669.js → session-7m5f9412.js} +8 -8
- package/dist/chunks/{persistent-pty-jhf3jymm.js → session-81rrwt6s.js} +6 -6
- package/dist/chunks/{persistent-pty-k0nnq3t9.js → session-87deq66t.js} +4 -4
- package/dist/chunks/{persistent-pty-tcezcvh9.js → session-89znhe33.js} +4 -4
- package/dist/chunks/{persistent-pty-517pqn2m.js → session-8b88e4ff.js} +66 -66
- package/dist/chunks/{persistent-pty-8d7r5vzw.js → session-8d7r5vzw.js} +1 -1
- package/dist/chunks/{persistent-pty-6z9mwsmt.js → session-8enafyav.js} +24 -24
- package/dist/chunks/{persistent-pty-br0tr5aq.js → session-8v6pyhej.js} +8 -8
- package/dist/chunks/{persistent-pty-cgy10bdv.js → session-8vb99h00.js} +3 -3
- package/dist/chunks/{persistent-pty-sgnpw8wt.js → session-8wpv99tc.js} +18 -18
- package/dist/chunks/{persistent-pty-qwww5vg0.js → session-8yvmqsdb.js} +24 -24
- package/dist/chunks/{persistent-pty-e7844e1q.js → session-948arcw8.js} +28 -28
- package/dist/chunks/{persistent-pty-2qb4gyb1.js → session-94t6wmwn.js} +12 -12
- package/dist/chunks/{persistent-pty-hm8n4zs5.js → session-99jt8c73.js} +6 -6
- package/dist/chunks/{persistent-pty-9cyfspf3.js → session-9cyfspf3.js} +2 -2
- package/dist/chunks/{persistent-pty-bqddxaek.js → session-9f8cp9a6.js} +9 -9
- package/dist/chunks/{persistent-pty-z7ck20cm.js → session-9vksxc2m.js} +15 -15
- package/dist/chunks/{persistent-pty-b7mafceh.js → session-a2rq9fn5.js} +6 -6
- package/dist/chunks/{persistent-pty-02fxdhk5.js → session-a4f19cwx.js} +13 -13
- package/dist/chunks/{persistent-pty-kk00bynn.js → session-a8bn8zg0.js} +21 -21
- package/dist/chunks/{persistent-pty-vyrd71eq.js → session-a8zr1srk.js} +11 -11
- package/dist/chunks/{persistent-pty-sb4h1tjm.js → session-a98pzf8v.js} +12 -12
- package/dist/chunks/{persistent-pty-aaet6srn.js → session-aaet6srn.js} +2 -2
- package/dist/chunks/{persistent-pty-24bj6dbd.js → session-acbm67v8.js} +32 -32
- package/dist/chunks/{persistent-pty-9ejw23zs.js → session-agbf4bzm.js} +9 -9
- package/dist/chunks/{persistent-pty-z2ahs8tt.js → session-agm5p4ms.js} +31 -31
- package/dist/chunks/{persistent-pty-w4fc9vh6.js → session-aj32hggj.js} +55 -43
- package/dist/chunks/{persistent-pty-avnvkndt.js → session-ay31fkzd.js} +5 -5
- package/dist/chunks/{persistent-pty-rwx3cxcp.js → session-az8x1n2p.js} +11 -11
- package/dist/chunks/{persistent-pty-pgegyfjk.js → session-azdeb39r.js} +13 -13
- package/dist/chunks/{persistent-pty-93z9rjx5.js → session-b0kbnke2.js} +10 -10
- package/dist/chunks/{persistent-pty-pwrm1vhs.js → session-b1pqrfyz.js} +27 -27
- package/dist/chunks/{persistent-pty-32ebpc2k.js → session-b5h46dbj.js} +37 -37
- package/dist/chunks/{persistent-pty-b6gygkdw.js → session-b6gygkdw.js} +2 -2
- package/dist/chunks/{persistent-pty-nca7p386.js → session-bdqrk2vk.js} +4 -4
- package/dist/chunks/{persistent-pty-fvsyg6qk.js → session-bgxcxs0p.js} +5 -5
- package/dist/chunks/{persistent-pty-80gs2nd1.js → session-bh2wddm2.js} +21 -21
- package/dist/chunks/{persistent-pty-z07pqspn.js → session-bjtzbw4r.js} +3 -3
- package/dist/chunks/{persistent-pty-jdz7ay1h.js → session-bkactd14.js} +10 -10
- package/dist/chunks/{persistent-pty-jcete9c4.js → session-bqjdgtzh.js} +11 -11
- package/dist/chunks/{persistent-pty-8gszphq4.js → session-bx5edcj9.js} +11 -11
- package/dist/chunks/{persistent-pty-ag9w8cw1.js → session-c78bbtc9.js} +5 -5
- package/dist/chunks/{persistent-pty-xx6wjz2h.js → session-ce6x8qpb.js} +24 -24
- package/dist/chunks/{persistent-pty-bka19sx3.js → session-cmagdxmr.js} +4 -4
- package/dist/chunks/{persistent-pty-0fhvsrpq.js → session-cmgejxv1.js} +28 -28
- package/dist/chunks/{persistent-pty-6jttejjp.js → session-cn6p3z1j.js} +13 -13
- package/dist/chunks/{persistent-pty-tktartgp.js → session-cx05c19p.js} +17 -17
- package/dist/chunks/{persistent-pty-y56x7az9.js → session-czrjb6hc.js} +25 -25
- package/dist/chunks/{persistent-pty-enm918mk.js → session-dax01gbs.js} +30 -30
- package/dist/chunks/{persistent-pty-r98e92ep.js → session-dfe8djrf.js} +4 -4
- package/dist/chunks/{persistent-pty-xndc7n30.js → session-dh54236j.js} +4 -4
- package/dist/chunks/{persistent-pty-dpkg50ah.js → session-dpkg50ah.js} +1 -1
- package/dist/chunks/{persistent-pty-hb0akz4x.js → session-dsve0ah2.js} +11 -11
- package/dist/chunks/{persistent-pty-79jt7wa4.js → session-dt4ympsh.js} +4 -4
- package/dist/chunks/{persistent-pty-s8d7rejh.js → session-eaj1djv9.js} +6 -6
- package/dist/chunks/{persistent-pty-7nwh0z4r.js → session-echm9f9f.js} +49 -49
- package/dist/chunks/{persistent-pty-ef5x83kb.js → session-ef5x83kb.js} +1 -1
- package/dist/chunks/{persistent-pty-vrev4g7d.js → session-ehbxnbkr.js} +15 -15
- package/dist/chunks/{persistent-pty-by2v34hv.js → session-enmnh623.js} +4 -4
- package/dist/chunks/{persistent-pty-erw5rpbs.js → session-erw5rpbs.js} +2 -2
- package/dist/chunks/{persistent-pty-etq0c3wd.js → session-etq0c3wd.js} +1 -1
- package/dist/chunks/{persistent-pty-6he05v0p.js → session-f08vtgad.js} +23 -23
- package/dist/chunks/{persistent-pty-chrxq3ex.js → session-f1vyadhg.js} +8 -8
- package/dist/chunks/{persistent-pty-3me5k2fr.js → session-f45037ze.js} +3 -3
- package/dist/chunks/{persistent-pty-3279mwmz.js → session-fadsgc1a.js} +5 -5
- package/dist/chunks/{persistent-pty-09dw9xvn.js → session-fcd8h1vk.js} +13 -13
- package/dist/chunks/{persistent-pty-45yze870.js → session-fjrr4fyp.js} +18 -18
- package/dist/chunks/{persistent-pty-g6q9qykm.js → session-g6q9qykm.js} +2 -2
- package/dist/chunks/{persistent-pty-0wsqztt0.js → session-g76g02ta.js} +3 -3
- package/dist/chunks/{persistent-pty-gd4qta3r.js → session-gd4qta3r.js} +1 -1
- package/dist/chunks/{persistent-pty-dqcz30tg.js → session-gfrda9jf.js} +23 -23
- package/dist/chunks/{persistent-pty-94ek1h2f.js → session-gfvb90ym.js} +2 -2
- package/dist/chunks/{persistent-pty-vansc7n9.js → session-ggqyxype.js} +21 -21
- package/dist/chunks/{persistent-pty-qfzh5nde.js → session-gjsxdwp2.js} +28 -28
- package/dist/chunks/{persistent-pty-97j4gngf.js → session-gmjjhz4f.js} +7 -7
- package/dist/chunks/{persistent-pty-em4dwj0d.js → session-gmxecerg.js} +11 -11
- package/dist/chunks/{persistent-pty-gv6a8nnw.js → session-gv6a8nnw.js} +2 -2
- package/dist/chunks/{persistent-pty-a2mdmpbv.js → session-h1c35kxc.js} +7 -7
- package/dist/chunks/{persistent-pty-h6vf3j39.js → session-h6vf3j39.js} +1 -1
- package/dist/chunks/{persistent-pty-639ckm2d.js → session-h7ranyr5.js} +28 -28
- package/dist/chunks/{persistent-pty-kmx0na6r.js → session-hehaxqkv.js} +4 -4
- package/dist/chunks/{persistent-pty-sh0ksnmg.js → session-hjxs9k8f.js} +3 -3
- package/dist/chunks/{persistent-pty-sz5744vg.js → session-hp4vdjnh.js} +7 -7
- package/dist/chunks/{persistent-pty-540xm2z9.js → session-hz1zw6bt.js} +22 -22
- package/dist/chunks/{persistent-pty-2demy4mp.js → session-j1yw51g5.js} +34 -34
- package/dist/chunks/{persistent-pty-947f7b8n.js → session-j2ks9cnd.js} +35 -35
- package/dist/chunks/{persistent-pty-j56e64zr.js → session-j56e64zr.js} +1 -1
- package/dist/chunks/{persistent-pty-besw6zsr.js → session-j6228c50.js} +17 -17
- package/dist/chunks/{persistent-pty-pnrj6x89.js → session-jb136r9z.js} +22 -22
- package/dist/chunks/{persistent-pty-tk2xb498.js → session-jb9hn1a8.js} +11 -11
- package/dist/chunks/session-jbd845z3.js +252 -0
- package/dist/chunks/{persistent-pty-de11ys5j.js → session-jbkz1fyp.js} +21 -21
- package/dist/chunks/{persistent-pty-kbegyq1c.js → session-jca4demv.js} +2 -2
- package/dist/chunks/{persistent-pty-zbatyxhg.js → session-jg5r7qrs.js} +23 -23
- package/dist/chunks/{persistent-pty-4aeq6eye.js → session-jgtxmawc.js} +10 -10
- package/dist/chunks/{persistent-pty-05kc7n4p.js → session-jwbhs3js.js} +24 -24
- package/dist/chunks/{persistent-pty-hqd5ggsz.js → session-jy6qfwr6.js} +14 -14
- package/dist/chunks/{persistent-pty-8m7vqh9t.js → session-k0ms5k0m.js} +10 -10
- package/dist/chunks/{persistent-pty-65tw7ne2.js → session-k0q32neb.js} +23 -23
- package/dist/chunks/{persistent-pty-k3c624dm.js → session-k3c624dm.js} +3 -3
- package/dist/chunks/{persistent-pty-x56fq0r3.js → session-k9avwfq5.js} +1 -1
- package/dist/chunks/{persistent-pty-agbhy58v.js → session-kagsdyfe.js} +8 -8
- package/dist/chunks/{persistent-pty-aeb4sny1.js → session-kerhshr9.js} +5 -5
- package/dist/chunks/{persistent-pty-kdt9c9ze.js → session-kermd5w6.js} +17 -17
- package/dist/chunks/{persistent-pty-f7mpxfp8.js → session-kf74p3bx.js} +33 -33
- package/dist/chunks/{persistent-pty-ftg911na.js → session-kpket22x.js} +15 -15
- package/dist/chunks/{persistent-pty-9b18mb3y.js → session-kq8c07et.js} +22 -22
- package/dist/chunks/{persistent-pty-18s9r5gn.js → session-kwrf6mrp.js} +4 -4
- package/dist/chunks/{persistent-pty-pr5f4b24.js → session-kyfgctc0.js} +33 -33
- package/dist/chunks/{persistent-pty-y6r8qnm9.js → session-m0d2935c.js} +25 -25
- package/dist/chunks/{persistent-pty-m3fdjcah.js → session-m3fdjcah.js} +1 -1
- package/dist/chunks/{persistent-pty-ete5a4rz.js → session-m3s5hhj2.js} +94 -94
- package/dist/chunks/{persistent-pty-3z0zch1n.js → session-m42z0ebz.js} +32 -32
- package/dist/chunks/{persistent-pty-6q4z0wrt.js → session-m6pk4krr.js} +1 -1
- package/dist/chunks/{persistent-pty-140js8cv.js → session-m8gyrdxb.js} +46 -46
- package/dist/chunks/{persistent-pty-m9w0rfyh.js → session-m9w0rfyh.js} +1 -1
- package/dist/chunks/{persistent-pty-qcwj8qyp.js → session-md7tbqzp.js} +5 -5
- package/dist/chunks/{persistent-pty-bj7qwv03.js → session-mdyw9496.js} +11 -11
- package/dist/chunks/{persistent-pty-nsjkyrtc.js → session-mksgfzgs.js} +5 -5
- package/dist/chunks/{persistent-pty-2a4f6v5q.js → session-mm5kxf07.js} +8 -8
- package/dist/chunks/{persistent-pty-vw47vkvc.js → session-mqqrcsjk.js} +16 -16
- package/dist/chunks/{persistent-pty-2z6npzcs.js → session-mxgvry90.js} +10 -10
- package/dist/chunks/{persistent-pty-4c9v79sp.js → session-n00hzpwr.js} +17 -17
- package/dist/chunks/{persistent-pty-b27q0a9n.js → session-nh7fre4k.js} +10 -10
- package/dist/chunks/{persistent-pty-tvqmbf2y.js → session-nk1anpaj.js} +7 -7
- package/dist/chunks/{persistent-pty-0gaj4617.js → session-nnxdhk5c.js} +6 -6
- package/dist/chunks/{persistent-pty-a6r5j9ve.js → session-npvvfhg5.js} +4 -4
- package/dist/chunks/{persistent-pty-m2d0j7c0.js → session-nq7qbqzc.js} +9 -9
- package/dist/chunks/{persistent-pty-aez9gwcb.js → session-pepmwvmk.js} +20 -20
- package/dist/chunks/{persistent-pty-pjvnvgmy.js → session-pjvnvgmy.js} +1 -1
- package/dist/chunks/{persistent-pty-ywyxz1rh.js → session-pk0r7mgm.js} +21 -21
- package/dist/chunks/{persistent-pty-pknna89w.js → session-pknna89w.js} +1 -1
- package/dist/chunks/{persistent-pty-11txpkat.js → session-prxsqbpb.js} +23 -23
- package/dist/chunks/{persistent-pty-wd3x2cqz.js → session-psazpmmj.js} +2 -2
- package/dist/chunks/{persistent-pty-h1rv4yj5.js → session-pw1fxcyc.js} +8 -8
- package/dist/chunks/{persistent-pty-f7fhy96a.js → session-pyxf7vnb.js} +5 -5
- package/dist/chunks/{persistent-pty-n7d88tpn.js → session-q3t37ft6.js} +3 -3
- package/dist/chunks/{persistent-pty-wdm18wae.js → session-q4ec5mdp.js} +4 -4
- package/dist/chunks/{persistent-pty-ham917sc.js → session-qaykhsrc.js} +48 -48
- package/dist/chunks/{persistent-pty-wj76ss2k.js → session-qbqbaz6q.js} +4 -4
- package/dist/chunks/{persistent-pty-v17mnf28.js → session-qfx1k094.js} +32 -32
- package/dist/chunks/{persistent-pty-4zfaky6j.js → session-qm5dj1k8.js} +13 -13
- package/dist/chunks/{persistent-pty-6dee4bn2.js → session-qr52cvd5.js} +11 -11
- package/dist/chunks/{persistent-pty-qsdy395h.js → session-qsdy395h.js} +1 -1
- package/dist/chunks/{persistent-pty-v37e6ssw.js → session-qy4v0j2t.js} +92 -92
- package/dist/chunks/{persistent-pty-h6r3nrb9.js → session-r55vasa2.js} +4 -4
- package/dist/chunks/session-rap9a73h.js +18 -0
- package/dist/chunks/{persistent-pty-rdw6cm16.js → session-rdw6cm16.js} +1 -1
- package/dist/chunks/{persistent-pty-jykm5qrb.js → session-rhqbq44a.js} +35 -35
- package/dist/chunks/{persistent-pty-5mhxbhna.js → session-rv1nt4dx.js} +9 -9
- package/dist/chunks/{persistent-pty-tk1eb0jd.js → session-s199q059.js} +23 -23
- package/dist/chunks/{persistent-pty-h1znna23.js → session-s40m7wem.js} +11 -11
- package/dist/chunks/{persistent-pty-nexc1gw3.js → session-sbsbaqgb.js} +177 -177
- package/dist/chunks/{persistent-pty-ehye99pz.js → session-t46xbjk1.js} +18 -18
- package/dist/chunks/{persistent-pty-g640k70z.js → session-t9pnexmg.js} +6 -6
- package/dist/chunks/{persistent-pty-qkz21msg.js → session-tawnwg9x.js} +44 -44
- package/dist/chunks/{persistent-pty-tazgh4e4.js → session-tazgh4e4.js} +1 -1
- package/dist/chunks/{persistent-pty-tdstcens.js → session-tdstcens.js} +1 -1
- package/dist/chunks/{persistent-pty-yjw00k6r.js → session-tdze28ss.js} +13 -13
- package/dist/chunks/{persistent-pty-tvtrv512.js → session-tvtrv512.js} +1 -1
- package/dist/chunks/{persistent-pty-prd2qjch.js → session-tw7zb9dd.js} +35 -35
- package/dist/chunks/{persistent-pty-k1gkpfdk.js → session-tx9w5tca.js} +8 -8
- package/dist/chunks/{persistent-pty-d79paw8k.js → session-v53pp9ze.js} +55 -55
- package/dist/chunks/{persistent-pty-veqvce7d.js → session-veqvce7d.js} +1 -1
- package/dist/chunks/{persistent-pty-84ayszt9.js → session-vgmbyh4q.js} +29 -29
- package/dist/chunks/{persistent-pty-dagkn99r.js → session-vtpkq4qf.js} +1 -1
- package/dist/chunks/{persistent-pty-vzcthcp8.js → session-vzcthcp8.js} +1 -1
- package/dist/chunks/{persistent-pty-7fha70gh.js → session-w1aa0sha.js} +29 -29
- package/dist/chunks/{persistent-pty-w3wsvvr9.js → session-w3wsvvr9.js} +1 -1
- package/dist/chunks/{persistent-pty-12arvj6n.js → session-w5d72rt0.js} +2 -2
- package/dist/chunks/{persistent-pty-n07s4dfy.js → session-w84h3481.js} +5 -5
- package/dist/chunks/{persistent-pty-wd87259q.js → session-wd87259q.js} +1 -1
- package/dist/chunks/{persistent-pty-7hrmjf05.js → session-wnd5vpb2.js} +42 -42
- package/dist/chunks/{persistent-pty-72pe5pp7.js → session-wphdxe94.js} +6 -6
- package/dist/chunks/{persistent-pty-84g0xtqq.js → session-wqjd83zn.js} +9 -9
- package/dist/chunks/{persistent-pty-eew2zdws.js → session-wxmykcya.js} +15 -15
- package/dist/chunks/{persistent-pty-x1ezjp6w.js → session-x1ezjp6w.js} +1 -1
- package/dist/chunks/{persistent-pty-hcr91a9c.js → session-x2fy9jbe.js} +33 -33
- package/dist/chunks/{persistent-pty-wdy4dbbj.js → session-xer9fjax.js} +52 -52
- package/dist/chunks/{persistent-pty-prtjzanf.js → session-xez13snj.js} +26 -26
- package/dist/chunks/{persistent-pty-j58c5xyq.js → session-xf8yqmad.js} +9 -9
- package/dist/chunks/{persistent-pty-xfkkasph.js → session-xfkkasph.js} +1 -1
- package/dist/chunks/{persistent-pty-aewf7fv0.js → session-xqn0wq6t.js} +12 -12
- package/dist/chunks/{persistent-pty-y1fvbwt7.js → session-y1fvbwt7.js} +1 -1
- package/dist/chunks/{persistent-pty-7f8zt51t.js → session-y1pnfhzk.js} +11 -11
- package/dist/chunks/{persistent-pty-3scm17sd.js → session-y4ztdhfe.js} +32 -32
- package/dist/chunks/{persistent-pty-7qhp50hp.js → session-y65ny0jc.js} +3 -3
- package/dist/chunks/{persistent-pty-2stzsw3h.js → session-y8t2hg21.js} +8 -8
- package/dist/chunks/{persistent-pty-jkdgk110.js → session-yc7zgn7t.js} +36 -36
- package/dist/chunks/{persistent-pty-yrhqyw5v.js → session-yrhqyw5v.js} +1 -1
- package/dist/chunks/{persistent-pty-s4enseaf.js → session-yrznvahk.js} +2 -2
- package/dist/chunks/{persistent-pty-b7b4ctej.js → session-yt3hy1g9.js} +5 -5
- package/dist/chunks/{persistent-pty-88fhh6r1.js → session-ytz98xyd.js} +12 -12
- package/dist/chunks/{persistent-pty-r68fq1x1.js → session-yvzbrbsb.js} +37 -37
- package/dist/chunks/{persistent-pty-ach3jvdq.js → session-yyc6hzvy.js} +15 -15
- package/dist/chunks/session-yzjjab3k.js +507 -0
- package/dist/chunks/{persistent-pty-z0bkrqjs.js → session-z0bkrqjs.js} +1 -1
- package/dist/chunks/{persistent-pty-2kewd2va.js → session-z3nay82g.js} +9 -9
- package/dist/chunks/{persistent-pty-29x78va6.js → session-z63w68vq.js} +6 -6
- package/dist/chunks/{persistent-pty-jexe30zh.js → session-zcp5s6g4.js} +18 -18
- package/dist/chunks/{persistent-pty-zeh9ct20.js → session-zeh9ct20.js} +2 -2
- package/dist/chunks/{persistent-pty-wdmcp318.js → session-zhdvw921.js} +12 -12
- package/dist/chunks/{persistent-pty-xd3hz90e.js → session-zjx6mc8r.js} +10 -10
- package/dist/chunks/{persistent-pty-zr2ceqn5.js → session-zr2ceqn5.js} +1 -1
- package/dist/chunks/{persistent-pty-xyh6nkpv.js → session-ztwtxy0r.js} +19 -19
- package/dist/chunks/{persistent-pty-tj1zj3en.js → session-zvq4a4ap.js} +17 -17
- package/dist/chunks/{persistent-pty-z35hf7r1.js → session-zxm8ey7q.js} +19 -19
- package/dist/chunks/{persistent-pty-xm1fqpw5.js → session-zxnnemhf.js} +32 -32
- package/dist/chunks/{persistent-pty-zxq2ej10.js → session-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 +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +142 -142
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.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/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +104 -104
- package/dist/form.js +74 -74
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +105 -105
- 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 +99 -99
- 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/id/id.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 +362 -362
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +128 -128
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +100 -100
- package/dist/models-dev.js +101 -101
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/compaction.js +131 -131
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +91 -91
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +122 -122
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +70 -70
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +348 -348
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +227 -227
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +132 -132
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- 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 +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +153 -153
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +229 -229
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +214 -214
- 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 +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +89 -89
- 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 +125 -125
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +120 -120
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +215 -215
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +12 -12
- 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/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +3 -3
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/persistent-pty-0mesazry.js +0 -4
- package/dist/chunks/persistent-pty-15eeh29d.js +0 -507
- package/dist/chunks/persistent-pty-3ys7avz6.js +0 -26
- package/dist/chunks/persistent-pty-9zdhvgqs.js +0 -18
- package/dist/chunks/persistent-pty-kzm3n6dm.js +0 -252
- /package/dist/chunks/{persistent-pty-0qkdqm5v.js → session-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{persistent-pty-0zkw76rk.js → session-0zkw76rk.js} +0 -0
- /package/dist/chunks/{persistent-pty-17cy0kzp.js → session-17cy0kzp.js} +0 -0
- /package/dist/chunks/{persistent-pty-1cnp2v09.js → session-1cnp2v09.js} +0 -0
- /package/dist/chunks/{persistent-pty-1kg9ymc8.js → session-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{persistent-pty-24dcb14g.js → session-24dcb14g.js} +0 -0
- /package/dist/chunks/{persistent-pty-2710q6r3.js → session-2710q6r3.js} +0 -0
- /package/dist/chunks/{persistent-pty-2axfhc9x.js → session-2axfhc9x.js} +0 -0
- /package/dist/chunks/{persistent-pty-2c3vjs8z.js → session-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{persistent-pty-34c7v6d4.js → session-34c7v6d4.js} +0 -0
- /package/dist/chunks/{persistent-pty-359p4xyc.js → session-359p4xyc.js} +0 -0
- /package/dist/chunks/{persistent-pty-3asan66x.js → session-3asan66x.js} +0 -0
- /package/dist/chunks/{persistent-pty-3v8g72cx.js → session-3v8g72cx.js} +0 -0
- /package/dist/chunks/{persistent-pty-3w5fmr99.js → session-3w5fmr99.js} +0 -0
- /package/dist/chunks/{persistent-pty-3wcehsnq.js → session-3wcehsnq.js} +0 -0
- /package/dist/chunks/{persistent-pty-43n2bw4t.js → session-43n2bw4t.js} +0 -0
- /package/dist/chunks/{persistent-pty-4knz6hnm.js → session-4knz6hnm.js} +0 -0
- /package/dist/chunks/{persistent-pty-4vcrnpx2.js → session-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{persistent-pty-4y7fprxs.js → session-4y7fprxs.js} +0 -0
- /package/dist/chunks/{persistent-pty-53557ph1.js → session-53557ph1.js} +0 -0
- /package/dist/chunks/{persistent-pty-550bvhaj.js → session-550bvhaj.js} +0 -0
- /package/dist/chunks/{persistent-pty-6prwharc.js → session-6prwharc.js} +0 -0
- /package/dist/chunks/{persistent-pty-7akdwqpd.js → session-7akdwqpd.js} +0 -0
- /package/dist/chunks/{persistent-pty-7m9af43g.js → session-7m9af43g.js} +0 -0
- /package/dist/chunks/{persistent-pty-822emrt2.js → session-822emrt2.js} +0 -0
- /package/dist/chunks/{persistent-pty-88xbtdfr.js → session-88xbtdfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-8n3pysct.js → session-8n3pysct.js} +0 -0
- /package/dist/chunks/{persistent-pty-8wj87zfr.js → session-8wj87zfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-922hggd3.js → session-922hggd3.js} +0 -0
- /package/dist/chunks/{persistent-pty-9a4afbnw.js → session-9a4afbnw.js} +0 -0
- /package/dist/chunks/{persistent-pty-9rqn6x4v.js → session-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{persistent-pty-a6k6eb26.js → session-a6k6eb26.js} +0 -0
- /package/dist/chunks/{persistent-pty-af5trqkr.js → session-af5trqkr.js} +0 -0
- /package/dist/chunks/{persistent-pty-afrmfg78.js → session-afrmfg78.js} +0 -0
- /package/dist/chunks/{persistent-pty-aqzs7mqg.js → session-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{persistent-pty-atq7p7m5.js → session-atq7p7m5.js} +0 -0
- /package/dist/chunks/{persistent-pty-bkyjaxrp.js → session-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{persistent-pty-bmr6ed5q.js → session-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{persistent-pty-cf4snx6d.js → session-cf4snx6d.js} +0 -0
- /package/dist/chunks/{persistent-pty-cvy3z8tj.js → session-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9fn303g.js → session-d9fn303g.js} +0 -0
- /package/dist/chunks/{persistent-pty-d9jj8t3e.js → session-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{persistent-pty-dajrwvna.js → session-dajrwvna.js} +0 -0
- /package/dist/chunks/{persistent-pty-dap0rakb.js → session-dap0rakb.js} +0 -0
- /package/dist/chunks/{persistent-pty-df08tz66.js → session-df08tz66.js} +0 -0
- /package/dist/chunks/{persistent-pty-dy18nga0.js → session-dy18nga0.js} +0 -0
- /package/dist/chunks/{persistent-pty-e5kj55wp.js → session-e5kj55wp.js} +0 -0
- /package/dist/chunks/{persistent-pty-e73j6tqm.js → session-e73j6tqm.js} +0 -0
- /package/dist/chunks/{persistent-pty-ec1grn59.js → session-ec1grn59.js} +0 -0
- /package/dist/chunks/{persistent-pty-eh3zwz77.js → session-eh3zwz77.js} +0 -0
- /package/dist/chunks/{persistent-pty-emrn6kk6.js → session-emrn6kk6.js} +0 -0
- /package/dist/chunks/{persistent-pty-f0mxakyp.js → session-f0mxakyp.js} +0 -0
- /package/dist/chunks/{persistent-pty-f6n9ztr4.js → session-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{persistent-pty-faypxj3z.js → session-faypxj3z.js} +0 -0
- /package/dist/chunks/{persistent-pty-fd410y7t.js → session-fd410y7t.js} +0 -0
- /package/dist/chunks/{persistent-pty-fxgpk5d8.js → session-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{persistent-pty-g4wezp1m.js → session-g4wezp1m.js} +0 -0
- /package/dist/chunks/{persistent-pty-g86h250q.js → session-g86h250q.js} +0 -0
- /package/dist/chunks/{persistent-pty-gebd4c9n.js → session-gebd4c9n.js} +0 -0
- /package/dist/chunks/{persistent-pty-gftt206x.js → session-gftt206x.js} +0 -0
- /package/dist/chunks/{persistent-pty-hjbc5kem.js → session-hjbc5kem.js} +0 -0
- /package/dist/chunks/{persistent-pty-hk9envan.js → session-hk9envan.js} +0 -0
- /package/dist/chunks/{persistent-pty-j2ntwpah.js → session-j2ntwpah.js} +0 -0
- /package/dist/chunks/{persistent-pty-j5zkgpj8.js → session-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{persistent-pty-jjkms2e6.js → session-jjkms2e6.js} +0 -0
- /package/dist/chunks/{persistent-pty-jr7sbwjy.js → session-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{persistent-pty-jwfs4k6c.js → session-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{persistent-pty-jzg6c2d5.js → session-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{persistent-pty-mp448xyj.js → session-mp448xyj.js} +0 -0
- /package/dist/chunks/{persistent-pty-msx8hqn2.js → session-msx8hqn2.js} +0 -0
- /package/dist/chunks/{persistent-pty-n05xt0ee.js → session-n05xt0ee.js} +0 -0
- /package/dist/chunks/{persistent-pty-n3j8tn72.js → session-n3j8tn72.js} +0 -0
- /package/dist/chunks/{persistent-pty-njntx4h6.js → session-njntx4h6.js} +0 -0
- /package/dist/chunks/{persistent-pty-q3sfg36h.js → session-q3sfg36h.js} +0 -0
- /package/dist/chunks/{persistent-pty-q74kybfr.js → session-q74kybfr.js} +0 -0
- /package/dist/chunks/{persistent-pty-qaymkmh1.js → session-qaymkmh1.js} +0 -0
- /package/dist/chunks/{persistent-pty-qb87gjwd.js → session-qb87gjwd.js} +0 -0
- /package/dist/chunks/{persistent-pty-qfa1cgps.js → session-qfa1cgps.js} +0 -0
- /package/dist/chunks/{persistent-pty-qg3g05ea.js → session-qg3g05ea.js} +0 -0
- /package/dist/chunks/{persistent-pty-qrg20bc0.js → session-qrg20bc0.js} +0 -0
- /package/dist/chunks/{persistent-pty-rcb2kzg1.js → session-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{persistent-pty-sdp7kfr6.js → session-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{persistent-pty-sk3qaz4a.js → session-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{persistent-pty-ssg3fenm.js → session-ssg3fenm.js} +0 -0
- /package/dist/chunks/{persistent-pty-w803qqfp.js → session-w803qqfp.js} +0 -0
- /package/dist/chunks/{persistent-pty-wc3fc9cn.js → session-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{persistent-pty-wer8tq1h.js → session-wer8tq1h.js} +0 -0
- /package/dist/chunks/{persistent-pty-wtztk69x.js → session-wtztk69x.js} +0 -0
- /package/dist/chunks/{persistent-pty-x0ckcb58.js → session-x0ckcb58.js} +0 -0
- /package/dist/chunks/{persistent-pty-x61499pn.js → session-x61499pn.js} +0 -0
- /package/dist/chunks/{persistent-pty-y44na4kk.js → session-y44na4kk.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8cydn3q.js → session-y8cydn3q.js} +0 -0
- /package/dist/chunks/{persistent-pty-y8f7s663.js → session-y8f7s663.js} +0 -0
- /package/dist/chunks/{persistent-pty-ygaqb7jw.js → session-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{persistent-pty-ym463w8f.js → session-ym463w8f.js} +0 -0
- /package/dist/chunks/{persistent-pty-z9919s4g.js → session-z9919s4g.js} +0 -0
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-922hggd3.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service80,
|
|
8
|
+
node84
|
|
9
|
+
} from "./session-6ss97yeq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service67,
|
|
12
|
+
node70
|
|
13
|
+
} from "./session-y4ztdhfe.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./session-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -21,28 +21,28 @@ __export(exports_filesystem, {
|
|
|
21
21
|
Content: () => Content3,
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
|
-
Entry: () =>
|
|
25
|
-
Event: () =>
|
|
24
|
+
Entry: () => Entry4,
|
|
25
|
+
Event: () => Event17,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput3,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError7,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service66,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node69
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
42
42
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
43
43
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
44
44
|
import { Entry, FileSystem, FindInput as FindInput2, Write as Write2 } from "@opencode/schema/filesystem";
|
|
45
|
-
import { Entry as
|
|
45
|
+
import { Entry as Entry4, Match as Match2, Submatch as Submatch2 } from "@opencode/schema/filesystem";
|
|
46
46
|
var ReadInput2 = Schema.Struct({
|
|
47
47
|
path: RelativePath2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError7 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event17 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service66 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service66, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
|
-
const location = yield*
|
|
95
|
-
const search = yield*
|
|
94
|
+
const location = yield* Service80;
|
|
95
|
+
const search = yield* Service67;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service66.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError7({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node69 = makeLocationNode({
|
|
144
|
+
service: Service66,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node84, node70]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError7, Content3, ListInput3, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event17, Service66, node69, exports_filesystem, Entry4, Match2, Submatch2 };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/tool/plugin/opencode.ts
|
|
6
6
|
var exports_opencode = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_opencode, {
|
|
|
8
8
|
ModelsInput: () => ModelsInput2,
|
|
9
9
|
MoveInput: () => MoveInput2,
|
|
10
10
|
OpenCodeTools: () => exports_opencode,
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin12,
|
|
12
12
|
RenameInput: () => RenameInput2
|
|
13
13
|
});
|
|
14
14
|
import { SystemPart, ToolFailure } from "@opencode/ai";
|
|
@@ -64,7 +64,7 @@ var ModelsOutput = Schema.Struct({
|
|
|
64
64
|
total: Schema.Int.annotate({ description: "Number of matching models across all pages." }),
|
|
65
65
|
next: Schema.NullOr(Schema.Int).annotate({ description: "Offset of the next page, or null on the last page." })
|
|
66
66
|
});
|
|
67
|
-
var
|
|
67
|
+
var Plugin12 = {
|
|
68
68
|
id: "opencode.tools",
|
|
69
69
|
effect: Effect.fn("OpenCodeTools.Plugin")(function* (ctx) {
|
|
70
70
|
const hook = (event) => Effect.sync(() => {
|
|
@@ -161,4 +161,4 @@ var Plugin13 = {
|
|
|
161
161
|
})
|
|
162
162
|
};
|
|
163
163
|
|
|
164
|
-
export { RenameInput2, MoveInput2, ModelsInput2,
|
|
164
|
+
export { RenameInput2, MoveInput2, ModelsInput2, Plugin12, exports_opencode };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-tw7zb9dd.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-kyfgctc0.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service47
|
|
4
|
+
} from "./session-echm9f9f.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./session-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin44,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin44 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service47;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -96,4 +96,4 @@ var Plugin45 = define({
|
|
|
96
96
|
})
|
|
97
97
|
});
|
|
98
98
|
|
|
99
|
-
export {
|
|
99
|
+
export { Plugin44, exports_warming };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID8,
|
|
3
3
|
aisdk2,
|
|
4
4
|
mergeOverlay2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./session-tw7zb9dd.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID7,
|
|
8
8
|
VariantID2,
|
|
9
9
|
Family2,
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Info19
|
|
11
|
+
} from "./session-kyfgctc0.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./session-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/github-copilot/models.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
19
|
-
CopilotModels: () =>
|
|
20
|
-
derive: () =>
|
|
21
|
-
get: () =>
|
|
22
|
-
load: () =>
|
|
17
|
+
var exports_models = {};
|
|
18
|
+
__export(exports_models, {
|
|
19
|
+
CopilotModels: () => exports_models,
|
|
20
|
+
derive: () => derive2,
|
|
21
|
+
get: () => get2,
|
|
22
|
+
load: () => load2
|
|
23
23
|
});
|
|
24
24
|
import { Money } from "@opencode/schema/money";
|
|
25
25
|
import { Option, Schema } from "effect";
|
|
@@ -68,10 +68,10 @@ var RemoteModel = Schema.Struct({
|
|
|
68
68
|
var Response = Schema.Struct({ data: Schema.Array(Schema.Unknown) });
|
|
69
69
|
var decodeResponse = Schema.decodeUnknownSync(Response);
|
|
70
70
|
var decodeModel = Schema.decodeUnknownOption(RemoteModel);
|
|
71
|
-
async function
|
|
72
|
-
return
|
|
71
|
+
async function get2(baseURL, headers, existing) {
|
|
72
|
+
return derive2(baseURL, await load2(baseURL, headers), existing);
|
|
73
73
|
}
|
|
74
|
-
async function
|
|
74
|
+
async function load2(baseURL, headers) {
|
|
75
75
|
const response = await fetch(`${baseURL}/models`, {
|
|
76
76
|
headers,
|
|
77
77
|
signal: AbortSignal.timeout(5000)
|
|
@@ -83,7 +83,7 @@ async function load3(baseURL, headers) {
|
|
|
83
83
|
return model && usable(model) ? [[model.id, model]] : [];
|
|
84
84
|
}));
|
|
85
85
|
}
|
|
86
|
-
function
|
|
86
|
+
function derive2(baseURL, remote, existing) {
|
|
87
87
|
const result = new Map(existing.map((model) => [model.id, model]));
|
|
88
88
|
for (const [id, model] of result) {
|
|
89
89
|
const current = remote.get(model.modelID);
|
|
@@ -94,7 +94,7 @@ function derive3(baseURL, remote, existing) {
|
|
|
94
94
|
result.set(id, build(id, current, baseURL, model));
|
|
95
95
|
}
|
|
96
96
|
for (const [id, model] of remote) {
|
|
97
|
-
const key =
|
|
97
|
+
const key = ID7.make(id);
|
|
98
98
|
if (result.has(key))
|
|
99
99
|
continue;
|
|
100
100
|
result.set(key, build(key, model, baseURL));
|
|
@@ -118,11 +118,11 @@ function build(id, remote, baseURL, previous) {
|
|
|
118
118
|
const usdPerMillion = prices && prices.batch_size > 0 ? 1e4 / prices.batch_size : 0;
|
|
119
119
|
const version = remote.version.startsWith(`${remote.id}-`) ? remote.version.slice(remote.id.length + 1) : remote.version;
|
|
120
120
|
const released = previous?.time.released || Date.parse(version);
|
|
121
|
-
return
|
|
122
|
-
...
|
|
121
|
+
return Info19.make({
|
|
122
|
+
...Info19.default(ID8.githubCopilot, id),
|
|
123
123
|
id,
|
|
124
|
-
modelID:
|
|
125
|
-
providerID:
|
|
124
|
+
modelID: ID7.make(remote.id),
|
|
125
|
+
providerID: ID8.githubCopilot,
|
|
126
126
|
family: previous?.family ?? Family2.make(remote.capabilities.family),
|
|
127
127
|
name: previous?.name ?? remote.name,
|
|
128
128
|
package: messages ? "@opencode/ai/providers/anthropic" : aisdk2("@ai-sdk/github-copilot"),
|
|
@@ -197,4 +197,4 @@ function variants(remote, messages) {
|
|
|
197
197
|
];
|
|
198
198
|
}
|
|
199
199
|
|
|
200
|
-
export {
|
|
200
|
+
export { get2, load2, derive2, exports_models };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./session-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./session-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service80
|
|
9
|
+
} from "./session-6ss97yeq.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./session-8yvmqsdb.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service68
|
|
16
|
+
} from "./session-jy6qfwr6.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry4,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-h7ranyr5.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service74
|
|
26
|
+
} from "./session-v53pp9ze.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service19
|
|
29
|
+
} from "./session-t46xbjk1.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./session-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin6,
|
|
41
|
+
name: () => name5,
|
|
42
42
|
toModelContent: () => toModelContent4
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name5 = "grep";
|
|
48
|
+
var Input5 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,7 +65,7 @@ var Input4 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
69
|
var toModelContent4 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin6 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service69;
|
|
90
|
+
const ripgrep = yield* Service68;
|
|
91
|
+
const location = yield* Service80;
|
|
92
|
+
const access = yield* Service19;
|
|
93
|
+
const permission = yield* Service74;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name5,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input5,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name5,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin4 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry4.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -154,4 +154,4 @@ var Plugin4 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name5, Input5, Output4, toModelContent4, Plugin6, exports_grep };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service84
|
|
3
|
+
} from "./session-az8x1n2p.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./session-78j00qgw.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service42
|
|
9
|
+
} from "./session-81rrwt6s.js";
|
|
10
10
|
import {
|
|
11
11
|
userNotification2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./session-5ekn9679.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionMessage2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-gftt206x.js";
|
|
16
16
|
import {
|
|
17
17
|
NotFoundError9,
|
|
18
18
|
PromptConflictError2,
|
|
@@ -20,55 +20,55 @@ import {
|
|
|
20
20
|
CompactionConflictError2,
|
|
21
21
|
BusyError2,
|
|
22
22
|
InboxConflictError2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./session-gmjjhz4f.js";
|
|
24
24
|
import {
|
|
25
25
|
SessionEvent2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./session-ec1grn59.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service75
|
|
29
|
+
} from "./session-1pp65zvy.js";
|
|
30
30
|
import {
|
|
31
31
|
Delivery2,
|
|
32
32
|
SyntheticPayload2,
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
Service41
|
|
34
|
+
} from "./session-prxsqbpb.js";
|
|
35
35
|
import {
|
|
36
|
-
|
|
37
|
-
} from "./
|
|
36
|
+
Service39
|
|
37
|
+
} from "./session-wnd5vpb2.js";
|
|
38
38
|
import {
|
|
39
39
|
prepare2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./session-37gcj9j5.js";
|
|
41
41
|
import {
|
|
42
42
|
stage2,
|
|
43
43
|
clear2,
|
|
44
44
|
commit2
|
|
45
|
-
} from "./
|
|
45
|
+
} from "./session-czrjb6hc.js";
|
|
46
46
|
import {
|
|
47
47
|
start2
|
|
48
|
-
} from "./
|
|
48
|
+
} from "./session-wqjd83zn.js";
|
|
49
49
|
import {
|
|
50
50
|
get4
|
|
51
|
-
} from "./
|
|
51
|
+
} from "./session-9f8cp9a6.js";
|
|
52
52
|
import {
|
|
53
53
|
__export
|
|
54
|
-
} from "./
|
|
54
|
+
} from "./session-9rqn6x4v.js";
|
|
55
55
|
|
|
56
56
|
// src/session/session.ts
|
|
57
57
|
var exports_session2 = {};
|
|
58
58
|
__export(exports_session2, {
|
|
59
59
|
Session: () => exports_session2,
|
|
60
|
-
make: () =>
|
|
60
|
+
make: () => make14
|
|
61
61
|
});
|
|
62
62
|
import { DateTime, Effect, Fiber, Scope } from "effect";
|
|
63
63
|
import { Event } from "@opencode/schema/event";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
|
-
var
|
|
66
|
-
const bus = yield*
|
|
67
|
-
const database = yield*
|
|
68
|
-
const store = yield*
|
|
69
|
-
const instances = yield*
|
|
70
|
-
const execution = yield*
|
|
71
|
-
const admission = yield*
|
|
65
|
+
var make14 = Effect.fn("Session.make")(function* () {
|
|
66
|
+
const bus = yield* Service83;
|
|
67
|
+
const database = yield* Service84;
|
|
68
|
+
const store = yield* Service75;
|
|
69
|
+
const instances = yield* Service42;
|
|
70
|
+
const execution = yield* Service39;
|
|
71
|
+
const admission = yield* Service41;
|
|
72
72
|
const fs = yield* FSUtil.Service;
|
|
73
73
|
const scope = yield* Scope.Scope;
|
|
74
74
|
const get = Effect.fn("Session.get")(function* (sessionID) {
|
|
@@ -135,7 +135,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
135
135
|
});
|
|
136
136
|
if (existing)
|
|
137
137
|
return existing;
|
|
138
|
-
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(
|
|
138
|
+
const item = yield* restore(prepare2({ session, messageID, input }).pipe(Effect.provideService(Service42, instances), Effect.provideService(FSUtil.Service, fs)));
|
|
139
139
|
if (session.revert)
|
|
140
140
|
yield* commit2(bus, session);
|
|
141
141
|
return yield* admission.admit({
|
|
@@ -151,7 +151,7 @@ var make13 = Effect.fn("Session.make")(function* () {
|
|
|
151
151
|
const shell = Effect.fn("Session.shell")(function* (sessionID, input) {
|
|
152
152
|
const session = yield* get(sessionID);
|
|
153
153
|
const running = yield* Effect.gen(function* () {
|
|
154
|
-
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(
|
|
154
|
+
const started = yield* start2({ session, command: input.command }).pipe(Effect.provideService(Service42, instances), Effect.tapError((error) => synthetic(sessionID, {
|
|
155
155
|
text: `User shell command failed to start:
|
|
156
156
|
${input.command}
|
|
157
157
|
|
|
@@ -180,7 +180,7 @@ ${error.message}`,
|
|
|
180
180
|
});
|
|
181
181
|
const skill = Effect.fn("Session.skill")(function* (sessionID, input) {
|
|
182
182
|
const session = yield* get(sessionID);
|
|
183
|
-
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(
|
|
183
|
+
const skill = yield* get4({ session, skill: input.skill }).pipe(Effect.provideService(Service42, instances));
|
|
184
184
|
yield* bus.publish(SessionEvent2.Skill.Activated, {
|
|
185
185
|
sessionID,
|
|
186
186
|
id: skill.id,
|
|
@@ -237,13 +237,13 @@ ${error.message}`,
|
|
|
237
237
|
const session = yield* get(sessionID);
|
|
238
238
|
if (yield* execution.isActive(sessionID))
|
|
239
239
|
return yield* new BusyError2({ sessionID });
|
|
240
|
-
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(
|
|
240
|
+
return yield* stage2({ session, messageID: input.messageID, files: input.files }).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service84, database), Effect.provideService(Service83, bus));
|
|
241
241
|
});
|
|
242
242
|
const clear = Effect.fn("Session.revert.clear")(function* (sessionID) {
|
|
243
243
|
const session = yield* get(sessionID);
|
|
244
244
|
if (yield* execution.isActive(sessionID))
|
|
245
245
|
return yield* new BusyError2({ sessionID });
|
|
246
|
-
yield* clear2(session).pipe(Effect.provideService(
|
|
246
|
+
yield* clear2(session).pipe(Effect.provideService(Service42, instances), Effect.provideService(Service83, bus));
|
|
247
247
|
return yield* execution.wake(sessionID);
|
|
248
248
|
});
|
|
249
249
|
const commit = Effect.fn("Session.revert.commit")(function* (sessionID) {
|
|
@@ -329,4 +329,4 @@ ${error.message}`,
|
|
|
329
329
|
return { forSession };
|
|
330
330
|
});
|
|
331
331
|
|
|
332
|
-
export {
|
|
332
|
+
export { make14, exports_session2 };
|
|
@@ -1,36 +1,36 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./session-78j00qgw.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service56
|
|
6
|
+
} from "./session-6j27hweg.js";
|
|
7
7
|
import {
|
|
8
8
|
Error2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./session-jb136r9z.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service50
|
|
12
|
+
} from "./session-34nv4jvf.js";
|
|
13
13
|
import {
|
|
14
14
|
StepFailedError2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./session-gmjjhz4f.js";
|
|
16
16
|
import {
|
|
17
17
|
SessionEvent2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./session-ec1grn59.js";
|
|
19
19
|
import {
|
|
20
20
|
toSessionError2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./session-dt4ympsh.js";
|
|
22
22
|
import {
|
|
23
23
|
calculateCost2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./session-tdstcens.js";
|
|
25
25
|
import {
|
|
26
26
|
createLLMEventPublisher2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./session-erw5rpbs.js";
|
|
28
28
|
import {
|
|
29
29
|
isRetryable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./session-f45037ze.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./session-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/runner/step.ts
|
|
36
36
|
var exports_step = {};
|
|
@@ -52,10 +52,10 @@ var TOOLS_INTERRUPTED = { type: "aborted", message: "Tool execution interrupted"
|
|
|
52
52
|
var STEP_INTERRUPTED = { type: "aborted", message: "Step interrupted" };
|
|
53
53
|
var RESULT_MISSING = { type: "tool.result-missing", message: "Provider did not return a tool result" };
|
|
54
54
|
var make3 = Effect.gen(function* () {
|
|
55
|
-
const bus = yield*
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const llm = yield* LLMClient.Service;
|
|
57
|
-
const snapshots = yield*
|
|
58
|
-
const toolOutput = yield*
|
|
57
|
+
const snapshots = yield* Service56;
|
|
58
|
+
const toolOutput = yield* Service50;
|
|
59
59
|
const attempt = Effect.fn("SessionStep.attempt")(function* (input) {
|
|
60
60
|
const startSnapshot = yield* snapshots.capture();
|
|
61
61
|
const publisher = createLLMEventPublisher2(bus, {
|