@opencode/core 0.0.0-dev-19482 → 0.0.0-dev-19483
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 +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{shell-jvcjtfdj.js → websearch-01z5yxwd.js} +5 -5
- package/dist/chunks/{shell-9cp1yb9s.js → websearch-057kyg8r.js} +4 -4
- package/dist/chunks/{shell-w1k39n5e.js → websearch-06dxphr1.js} +4 -4
- package/dist/chunks/{shell-fzmz3zsx.js → websearch-0e8daqst.js} +4 -4
- package/dist/chunks/{shell-h6mds1av.js → websearch-0ewyyc7b.js} +38 -38
- package/dist/chunks/{shell-757464b7.js → websearch-0h54jqbs.js} +8 -8
- package/dist/chunks/{shell-2k8khapm.js → websearch-0jwsre1p.js} +5 -5
- package/dist/chunks/{shell-0paq2nw3.js → websearch-0paq2nw3.js} +1 -1
- package/dist/chunks/{shell-0q0f95c6.js → websearch-0q0f95c6.js} +1 -1
- package/dist/chunks/{shell-qm9qwyxs.js → websearch-0vnyxh58.js} +37 -37
- package/dist/chunks/{shell-cxq7hy6v.js → websearch-106gw7zm.js} +24 -24
- package/dist/chunks/{shell-d8nc1xcx.js → websearch-18e56dsp.js} +4 -4
- package/dist/chunks/{shell-ak72jphr.js → websearch-1awm1f41.js} +12 -12
- package/dist/chunks/{shell-1dazxqgg.js → websearch-1dazxqgg.js} +2 -2
- package/dist/chunks/{shell-mvvn0xpn.js → websearch-1drfwyv5.js} +39 -39
- package/dist/chunks/{shell-yxdv66k0.js → websearch-1p30vngg.js} +15 -15
- package/dist/chunks/{shell-jmm61hn9.js → websearch-1qqjkbbm.js} +35 -35
- package/dist/chunks/{shell-h5mtjt0m.js → websearch-1zh4pghf.js} +37 -37
- package/dist/chunks/{shell-21r38tys.js → websearch-21r38tys.js} +1 -1
- package/dist/chunks/{shell-2402vzrj.js → websearch-2402vzrj.js} +1 -1
- package/dist/chunks/{shell-jyf8w563.js → websearch-25ajstgf.js} +28 -28
- package/dist/chunks/{shell-2a5m3afh.js → websearch-2a5m3afh.js} +1 -1
- package/dist/chunks/{shell-2bt6bea8.js → websearch-2bt6bea8.js} +2 -2
- package/dist/chunks/{shell-qwkytnft.js → websearch-2e96adxv.js} +6 -6
- package/dist/chunks/{shell-fe9854a7.js → websearch-2ehqxkpw.js} +12 -12
- package/dist/chunks/{shell-qyxzwjwr.js → websearch-2fcywxny.js} +11 -11
- package/dist/chunks/{shell-42xebk03.js → websearch-2m8k3bqq.js} +20 -20
- package/dist/chunks/{shell-0w0gm0da.js → websearch-2ts122me.js} +13 -13
- package/dist/chunks/{shell-bx61q0p6.js → websearch-36qa6tx5.js} +27 -27
- package/dist/chunks/{shell-g0jbyvt7.js → websearch-38btsem5.js} +2 -2
- package/dist/chunks/{shell-3fc6dm20.js → websearch-3fc6dm20.js} +1 -1
- package/dist/chunks/{shell-3hepkmqq.js → websearch-3hepkmqq.js} +1 -1
- package/dist/chunks/{shell-3smtnn6g.js → websearch-3smtnn6g.js} +1 -1
- package/dist/chunks/{shell-3tvqynh2.js → websearch-3tvqynh2.js} +1 -1
- package/dist/chunks/{shell-yb9t9wk7.js → websearch-3zd3rmvv.js} +15 -15
- package/dist/chunks/{shell-d52p5a3y.js → websearch-41ken85s.js} +17 -17
- package/dist/chunks/{shell-c3w8sn3d.js → websearch-43k15f45.js} +4 -4
- package/dist/chunks/{shell-715pgvxv.js → websearch-4ejw2jqq.js} +13 -13
- package/dist/chunks/{shell-7y5sgbz2.js → websearch-4ve9z8c1.js} +16 -16
- package/dist/chunks/{shell-9fgx6pd5.js → websearch-4wcq7dqs.js} +16 -16
- package/dist/chunks/{shell-0cy5jdh3.js → websearch-4wrhrxm7.js} +13 -13
- package/dist/chunks/{shell-csveq9pc.js → websearch-4xxmr89x.js} +25 -25
- package/dist/chunks/{shell-4y66k410.js → websearch-4y66k410.js} +2 -2
- package/dist/chunks/{shell-qse8x9va.js → websearch-53705tx4.js} +43 -43
- package/dist/chunks/{shell-1vqdrp7h.js → websearch-550p2257.js} +36 -36
- package/dist/chunks/{shell-nsnmc6vq.js → websearch-553wj9b8.js} +4 -4
- package/dist/chunks/{shell-56gdpj1q.js → websearch-56gdpj1q.js} +2 -2
- package/dist/chunks/{shell-5daktx2q.js → websearch-5daktx2q.js} +1 -1
- package/dist/chunks/{shell-v7sgzh50.js → websearch-5drs3kxz.js} +17 -17
- package/dist/chunks/{shell-191q2am9.js → websearch-5h6cs5y5.js} +20 -20
- package/dist/chunks/{shell-q0jfp978.js → websearch-5n168jes.js} +15 -15
- package/dist/chunks/{shell-5t3nmthw.js → websearch-5t3nmthw.js} +2 -2
- package/dist/chunks/{shell-mme1bqhm.js → websearch-5z2m8pyj.js} +27 -27
- package/dist/chunks/{shell-669tq793.js → websearch-669tq793.js} +1 -1
- package/dist/chunks/{shell-j2x4pfpm.js → websearch-6azrrpy8.js} +8 -8
- package/dist/chunks/{shell-f3rhz1g8.js → websearch-6ba91h8c.js} +84 -84
- package/dist/chunks/{shell-6msgmcgs.js → websearch-6msgmcgs.js} +1 -1
- package/dist/chunks/{shell-75fbrjyy.js → websearch-6w60nb5g.js} +295 -295
- package/dist/chunks/{shell-71q4at8m.js → websearch-71q4at8m.js} +1 -1
- package/dist/chunks/{shell-asmz7wyz.js → websearch-7b15y959.js} +8 -8
- package/dist/chunks/{shell-7bmhse3q.js → websearch-7bmhse3q.js} +1 -1
- package/dist/chunks/{shell-t89hfesc.js → websearch-7cedjrs4.js} +9 -9
- package/dist/chunks/{shell-gqcgtd7m.js → websearch-7jv6pypr.js} +12 -12
- package/dist/chunks/{shell-0fn5g1dw.js → websearch-7s1ycvxr.js} +25 -25
- package/dist/chunks/{shell-j7wq2tw5.js → websearch-7w99qc9d.js} +3 -3
- package/dist/chunks/{shell-73tb2d7t.js → websearch-7yh4e7ss.js} +3 -3
- package/dist/chunks/{shell-n47h4z4n.js → websearch-836wjbr2.js} +15 -15
- package/dist/chunks/{shell-n9bzgvrq.js → websearch-84xsc2j4.js} +15 -15
- package/dist/chunks/{shell-x3vadacb.js → websearch-86eyv63b.js} +13 -13
- package/dist/chunks/{shell-b19dgzvs.js → websearch-87v2xzqa.js} +1 -1
- package/dist/chunks/{shell-tcezcvh9.js → websearch-89znhe33.js} +4 -4
- package/dist/chunks/{shell-8d7r5vzw.js → websearch-8d7r5vzw.js} +1 -1
- package/dist/chunks/{shell-a4nqgkt6.js → websearch-8jvzjvtx.js} +2 -2
- package/dist/chunks/{shell-gnp2cdh9.js → websearch-8mwczstk.js} +11 -11
- package/dist/chunks/{shell-8p4f9s12.js → websearch-8p4f9s12.js} +2 -2
- package/dist/chunks/{shell-vjvqmxr3.js → websearch-8vgxngcq.js} +28 -28
- package/dist/chunks/{shell-vs31b0rs.js → websearch-9536ja0w.js} +26 -26
- package/dist/chunks/{shell-nc3fjawf.js → websearch-96yt6zt0.js} +1 -1
- package/dist/chunks/{shell-1jbxxpzt.js → websearch-99580sk5.js} +8 -8
- package/dist/chunks/{shell-gjmwt3yh.js → websearch-9aax44nh.js} +18 -18
- package/dist/chunks/{shell-1b9za8k8.js → websearch-9c6xrpvf.js} +4 -4
- package/dist/chunks/{shell-6djc8d4v.js → websearch-9encvwzm.js} +59 -59
- package/dist/chunks/{shell-qfzde7bh.js → websearch-9mkyvs4w.js} +6 -6
- package/dist/chunks/{shell-tyxx41mz.js → websearch-9q922tde.js} +22 -22
- package/dist/chunks/{shell-7gtrf76q.js → websearch-9s2tak1g.js} +20 -20
- package/dist/chunks/{shell-6w2332aj.js → websearch-9w319rvq.js} +7 -7
- package/dist/chunks/{shell-3f7mbqst.js → websearch-a1anr5m0.js} +12 -12
- package/dist/chunks/{shell-a1bz86dw.js → websearch-a1bz86dw.js} +3 -3
- package/dist/chunks/{shell-4vxtq0ga.js → websearch-a4q6373d.js} +19 -19
- package/dist/chunks/{shell-aaet6srn.js → websearch-aaet6srn.js} +2 -2
- package/dist/chunks/{shell-wpvxq4mk.js → websearch-abtdxr9t.js} +5 -5
- package/dist/chunks/{shell-cjmk82ph.js → websearch-adb54h9z.js} +47 -47
- package/dist/chunks/{shell-hvgm9eqs.js → websearch-adm0hv5w.js} +38 -38
- package/dist/chunks/websearch-ajhpbj2b.js +247 -0
- package/dist/chunks/{shell-23xgc4jt.js → websearch-aqjsmqrn.js} +45 -45
- package/dist/chunks/{shell-a4x50hwg.js → websearch-at2bvhe9.js} +25 -25
- package/dist/chunks/{shell-yj9j0m2y.js → websearch-avqvzm75.js} +167 -167
- package/dist/chunks/{shell-y2d29fce.js → websearch-az8wpmk5.js} +24 -24
- package/dist/chunks/{shell-b6gygkdw.js → websearch-b6gygkdw.js} +2 -2
- package/dist/chunks/{shell-ve4pfa0n.js → websearch-bct739vz.js} +4 -4
- package/dist/chunks/{shell-654qzmht.js → websearch-bvbz56nf.js} +11 -11
- package/dist/chunks/{shell-4861qdfa.js → websearch-c22yrd1g.js} +11 -11
- package/dist/chunks/{shell-gst7axd9.js → websearch-ca7w653e.js} +4 -4
- package/dist/chunks/{shell-cfpkc3c9.js → websearch-cfpkc3c9.js} +2 -2
- package/dist/chunks/{shell-bha4atvq.js → websearch-cq37gk0t.js} +4 -4
- package/dist/chunks/{shell-see2wqs9.js → websearch-czg833eg.js} +6 -6
- package/dist/chunks/{shell-rfnzy394.js → websearch-d50f2zf5.js} +1 -1
- package/dist/chunks/{shell-qfehbndj.js → websearch-dc1rab6v.js} +22 -22
- package/dist/chunks/{shell-cntxze1n.js → websearch-desf89vc.js} +9 -9
- package/dist/chunks/{shell-evbgk2k8.js → websearch-dj9sq318.js} +5 -5
- package/dist/chunks/{shell-61jgdnn9.js → websearch-dq4j0srv.js} +4 -4
- package/dist/chunks/{shell-dad7qjyt.js → websearch-dw9248gk.js} +9 -9
- package/dist/chunks/websearch-dxj72tfx.js +18 -0
- package/dist/chunks/{shell-jq0xap4z.js → websearch-e7dhzmy6.js} +6 -6
- package/dist/chunks/{shell-b1sq7v9m.js → websearch-e8zvhgb7.js} +30 -30
- package/dist/chunks/{shell-rfwb5caz.js → websearch-ek5dpqxb.js} +11 -11
- package/dist/chunks/{shell-srhw5zxk.js → websearch-ep6z9mt6.js} +8 -8
- package/dist/chunks/{shell-etq0c3wd.js → websearch-etq0c3wd.js} +1 -1
- package/dist/chunks/{shell-gdbnz73m.js → websearch-ez2hf904.js} +11 -11
- package/dist/chunks/{shell-6ec7m0j6.js → websearch-f13dxr77.js} +25 -25
- package/dist/chunks/{shell-rgzjdtpz.js → websearch-f43ddyem.js} +8 -8
- package/dist/chunks/{shell-f40x834m.js → websearch-f58e595r.js} +16 -16
- package/dist/chunks/{shell-f828m53h.js → websearch-f828m53h.js} +2 -2
- package/dist/chunks/{shell-cek2cznd.js → websearch-f8q7mv7a.js} +1 -1
- package/dist/chunks/{shell-7a14zr6p.js → websearch-fcywhjc2.js} +11 -11
- package/dist/chunks/{shell-9h3amn4q.js → websearch-fgh0kbhd.js} +1 -1
- package/dist/chunks/{shell-nbegex03.js → websearch-fncgf4tb.js} +18 -18
- package/dist/chunks/{shell-j4xvd28z.js → websearch-frf89m5p.js} +24 -24
- package/dist/chunks/{shell-fxbjtjnd.js → websearch-fxbjtjnd.js} +1 -1
- package/dist/chunks/{shell-w79gqzfd.js → websearch-fy3n071p.js} +25 -25
- package/dist/chunks/{shell-3rx2nwvc.js → websearch-fygdb7h7.js} +3 -3
- package/dist/chunks/{shell-epxwh5rt.js → websearch-fypyt9ax.js} +28 -28
- package/dist/chunks/{shell-c255b86t.js → websearch-g2bhzb9e.js} +16 -16
- package/dist/chunks/{shell-fzgk925k.js → websearch-g9ahqbpr.js} +11 -11
- package/dist/chunks/{shell-q95phfw2.js → websearch-gbks0crs.js} +6 -6
- package/dist/chunks/{shell-gd4qta3r.js → websearch-gd4qta3r.js} +1 -1
- package/dist/chunks/{shell-pfq1ksym.js → websearch-gebtr55s.js} +5 -5
- package/dist/chunks/{shell-hnr5yq9h.js → websearch-gg7pg1rj.js} +5 -5
- package/dist/chunks/{shell-4aebnyy9.js → websearch-ggfxehqz.js} +11 -11
- package/dist/chunks/{shell-xpky65xt.js → websearch-gq38ebmh.js} +6 -6
- package/dist/chunks/{shell-h03wrkyp.js → websearch-h03wrkyp.js} +2 -2
- package/dist/chunks/{shell-h6vf3j39.js → websearch-h6vf3j39.js} +1 -1
- package/dist/chunks/{shell-672zjrs9.js → websearch-h6xcakft.js} +11 -11
- package/dist/chunks/{shell-mypwhdkk.js → websearch-hd569af0.js} +6 -6
- package/dist/chunks/{shell-v9dy98q8.js → websearch-hq22f3sc.js} +15 -15
- package/dist/chunks/{shell-0dyc37yz.js → websearch-htyym6ck.js} +38 -38
- package/dist/chunks/{shell-8377ydh1.js → websearch-hvhqgby5.js} +10 -10
- package/dist/chunks/{shell-2x9qsqkq.js → websearch-j028maxm.js} +9 -9
- package/dist/chunks/{shell-ymem0t2p.js → websearch-j4yy9w4e.js} +27 -27
- package/dist/chunks/{shell-j56e64zr.js → websearch-j56e64zr.js} +1 -1
- package/dist/chunks/{shell-ppkgn7jr.js → websearch-j6tz9wj2.js} +7 -7
- package/dist/chunks/{shell-rs9gpnz9.js → websearch-j9y9fcvd.js} +9 -9
- package/dist/chunks/{shell-yjqv8qmq.js → websearch-jefma2gq.js} +10 -10
- package/dist/chunks/{shell-04n8fpsx.js → websearch-jfzav2gc.js} +4 -4
- package/dist/chunks/{shell-3anxtp47.js → websearch-jhsettgg.js} +53 -53
- package/dist/chunks/{shell-sykm9ny3.js → websearch-jrbyd3we.js} +14 -14
- package/dist/chunks/{shell-259cm5a5.js → websearch-jtbqkmrk.js} +7 -7
- package/dist/chunks/{shell-3m27cd08.js → websearch-jwe4x1j4.js} +29 -29
- package/dist/chunks/{shell-m43qeqsy.js → websearch-k16ay38w.js} +1 -1
- package/dist/chunks/{shell-9ejs86te.js → websearch-k308y3cd.js} +29 -29
- package/dist/chunks/{shell-xtwh079d.js → websearch-k4w51n94.js} +9 -9
- package/dist/chunks/{shell-nv5vn7qx.js → websearch-k5tg8ptt.js} +8 -8
- package/dist/chunks/{shell-29wksdc9.js → websearch-kek212n2.js} +18 -18
- package/dist/chunks/{shell-kg06axw8.js → websearch-kg06axw8.js} +1 -1
- package/dist/chunks/{shell-b8b3f19r.js → websearch-kpvyk30t.js} +9 -9
- package/dist/chunks/{shell-pck3w1ab.js → websearch-kqd2wwpf.js} +4 -4
- package/dist/chunks/{shell-29mdqam5.js → websearch-ksz0h0wp.js} +3 -3
- package/dist/chunks/{shell-23pqda6t.js → websearch-kxpygcw9.js} +4 -4
- package/dist/chunks/{shell-7ny3kv6n.js → websearch-m27pyyd3.js} +8 -8
- package/dist/chunks/{shell-9wc1evxj.js → websearch-m2n4ambj.js} +22 -22
- package/dist/chunks/{shell-wf190fkx.js → websearch-m3gqme58.js} +17 -17
- package/dist/chunks/{shell-3kq47whm.js → websearch-m56995h7.js} +20 -20
- package/dist/chunks/{shell-qfcxkg9x.js → websearch-m5g5cn1a.js} +3 -3
- package/dist/chunks/{shell-m9w0rfyh.js → websearch-m9w0rfyh.js} +1 -1
- package/dist/chunks/{shell-3t8eac1t.js → websearch-magykp64.js} +4 -4
- package/dist/chunks/{shell-t7m3zm2g.js → websearch-mdb85k7s.js} +46 -46
- package/dist/chunks/{shell-hxqw5f62.js → websearch-meahntpx.js} +5 -5
- package/dist/chunks/{shell-ka2k270b.js → websearch-mgx963cj.js} +8 -8
- package/dist/chunks/{shell-bjke5af1.js → websearch-mk1f96az.js} +14 -14
- package/dist/chunks/{shell-f0fgzphd.js → websearch-mk8vf581.js} +9 -9
- package/dist/chunks/{shell-mkcjrzeh.js → websearch-mkcjrzeh.js} +1 -1
- package/dist/chunks/{shell-x56sq1v7.js → websearch-mvj7zzrq.js} +26 -26
- package/dist/chunks/{shell-adhzpfb7.js → websearch-n35w23dd.js} +29 -29
- package/dist/chunks/{shell-7x5zvdqa.js → websearch-n40qqmec.js} +21 -21
- package/dist/chunks/{shell-71b9e1h9.js → websearch-n5a16gh2.js} +17 -17
- package/dist/chunks/{shell-fmxbrafm.js → websearch-n76fdqym.js} +5 -5
- package/dist/chunks/{shell-4q01a3y3.js → websearch-n89z7bxk.js} +16 -16
- package/dist/chunks/{shell-1v0k12rn.js → websearch-naqparvc.js} +16 -16
- package/dist/chunks/{shell-nhy5jxhy.js → websearch-nhy5jxhy.js} +1 -1
- package/dist/chunks/{shell-xg9t41r3.js → websearch-nng2ktcm.js} +2 -2
- package/dist/chunks/{shell-t2js6s8h.js → websearch-ntgpnhzh.js} +7 -7
- package/dist/chunks/{shell-t0x5rdq8.js → websearch-p1wf2k30.js} +9 -9
- package/dist/chunks/{shell-dhtqz3j8.js → websearch-p369s7er.js} +21 -21
- package/dist/chunks/{shell-t4mdcchx.js → websearch-pe3tsevc.js} +3 -3
- package/dist/chunks/{shell-7gvwkz6m.js → websearch-pecb0brz.js} +5 -5
- package/dist/chunks/{shell-8xy1g1m8.js → websearch-pesskt16.js} +15 -15
- package/dist/chunks/{shell-3hktcy2m.js → websearch-pgm1fsvb.js} +17 -17
- package/dist/chunks/{shell-v76skvps.js → websearch-pgmmxc65.js} +17 -17
- package/dist/chunks/{shell-pjvnvgmy.js → websearch-pjvnvgmy.js} +1 -1
- package/dist/chunks/{shell-pknna89w.js → websearch-pknna89w.js} +1 -1
- package/dist/chunks/{shell-ydpamykn.js → websearch-py3b413y.js} +6 -6
- package/dist/chunks/{shell-yxq5295s.js → websearch-q0dvjevw.js} +29 -29
- package/dist/chunks/{shell-31y3jm9t.js → websearch-q0nz172n.js} +15 -15
- package/dist/chunks/{shell-fm2qvscf.js → websearch-qa3qhgw8.js} +4 -4
- package/dist/chunks/{shell-enq4mbeq.js → websearch-qbdb5rpj.js} +15 -15
- package/dist/chunks/{shell-0nmk1nfg.js → websearch-qce9we07.js} +12 -12
- package/dist/chunks/{shell-4w1d5wb3.js → websearch-qcmf15bf.js} +14 -14
- package/dist/chunks/{shell-8wmav03j.js → websearch-qfxgvynf.js} +10 -10
- package/dist/chunks/{shell-ss07yt36.js → websearch-qm5hq1wk.js} +9 -9
- package/dist/chunks/{shell-j3gzjeh1.js → websearch-qqvxqkma.js} +20 -20
- package/dist/chunks/{shell-ycbn6r48.js → websearch-qs8fd5yv.js} +45 -45
- package/dist/chunks/{shell-qsdy395h.js → websearch-qsdy395h.js} +1 -1
- package/dist/chunks/{shell-j8zzr2am.js → websearch-qsxf26yz.js} +6 -6
- package/dist/chunks/{shell-dghm81pm.js → websearch-qy2frasb.js} +55 -55
- package/dist/chunks/{shell-r4gvnsqg.js → websearch-r2kye7qh.js} +18 -18
- package/dist/chunks/{shell-5vn45h4e.js → websearch-r6802cbt.js} +24 -24
- package/dist/chunks/{shell-wyam1r5m.js → websearch-r9babyk8.js} +1 -1
- package/dist/chunks/{shell-r9mregkx.js → websearch-r9mregkx.js} +2 -2
- package/dist/chunks/{shell-t97t2t7r.js → websearch-reqevd7p.js} +11 -11
- package/dist/chunks/{shell-h8aw6exk.js → websearch-rh8145c8.js} +27 -27
- package/dist/chunks/{shell-eaj1djv9.js → websearch-rhjbct0v.js} +8 -8
- package/dist/chunks/{shell-ryq1d4nq.js → websearch-rrshzaw6.js} +5 -5
- package/dist/chunks/{shell-gvmwhjkb.js → websearch-rv0djftn.js} +46 -46
- package/dist/chunks/{shell-bw668rws.js → websearch-rxtwa657.js} +26 -26
- package/dist/chunks/{shell-p688tfyr.js → websearch-s3c5a9z9.js} +17 -17
- package/dist/chunks/{shell-0gm9s4gg.js → websearch-saf13jzc.js} +17 -17
- package/dist/chunks/{shell-amj36hnk.js → websearch-sj7r2nre.js} +12 -12
- package/dist/chunks/{shell-6j93tkf6.js → websearch-sk718qf1.js} +21 -21
- package/dist/chunks/{shell-gb75dd12.js → websearch-sw4zbbw7.js} +9 -9
- package/dist/chunks/{shell-938d64v3.js → websearch-szwnxe8b.js} +6 -6
- package/dist/chunks/{shell-jte6my49.js → websearch-t0tjpkgm.js} +8 -8
- package/dist/chunks/{shell-512rfa6p.js → websearch-t7z3zppm.js} +2 -2
- package/dist/chunks/{shell-tazgh4e4.js → websearch-tazgh4e4.js} +1 -1
- package/dist/chunks/{shell-s3p732vg.js → websearch-tbt4776d.js} +22 -22
- package/dist/chunks/{shell-v0rxpvp8.js → websearch-tcp3renx.js} +37 -37
- package/dist/chunks/{shell-tdstcens.js → websearch-tdstcens.js} +1 -1
- package/dist/chunks/{shell-knd1qvh0.js → websearch-tfngb0ww.js} +4 -4
- package/dist/chunks/{shell-gv6a8nnw.js → websearch-th5km1p3.js} +5 -5
- package/dist/chunks/{shell-fdeq67q0.js → websearch-trnt4t8c.js} +7 -7
- package/dist/chunks/{shell-tvtrv512.js → websearch-tvtrv512.js} +1 -1
- package/dist/chunks/{shell-dya1x8f2.js → websearch-typd6ee7.js} +8 -8
- package/dist/chunks/{shell-jx9pvz9q.js → websearch-vcpxd4bv.js} +22 -22
- package/dist/chunks/{shell-veqvce7d.js → websearch-veqvce7d.js} +1 -1
- package/dist/chunks/{shell-c156ep7e.js → websearch-vvxf2beg.js} +11 -11
- package/dist/chunks/{shell-nx3vg62n.js → websearch-vxpws250.js} +10 -10
- package/dist/chunks/{shell-vzcthcp8.js → websearch-vzcthcp8.js} +1 -1
- package/dist/chunks/{shell-e119c6wb.js → websearch-w04kpkjq.js} +4 -4
- package/dist/chunks/{shell-w3wsvvr9.js → websearch-w3wsvvr9.js} +1 -1
- package/dist/chunks/{shell-wd87259q.js → websearch-wd87259q.js} +1 -1
- package/dist/chunks/{shell-332whr7y.js → websearch-whcyep9v.js} +29 -29
- package/dist/chunks/{shell-m9j2dexz.js → websearch-wj0j7rwq.js} +6 -6
- package/dist/chunks/{shell-5ffkwt1e.js → websearch-wjaxxs0m.js} +22 -22
- package/dist/chunks/{shell-p5zja7w3.js → websearch-wnwaph4q.js} +20 -20
- package/dist/chunks/{shell-6ea2fwcg.js → websearch-wpm2rk0p.js} +6 -6
- package/dist/chunks/{shell-7bsq4hvy.js → websearch-wvg2fke4.js} +82 -82
- package/dist/chunks/{shell-x1ezjp6w.js → websearch-x1ezjp6w.js} +1 -1
- package/dist/chunks/{shell-389yrpaj.js → websearch-x3jmp06z.js} +18 -18
- package/dist/chunks/{shell-2rkdvd01.js → websearch-x77tg81k.js} +9 -9
- package/dist/chunks/{shell-rkgfyfhg.js → websearch-xrye2hw7.js} +26 -26
- package/dist/chunks/{shell-y1fvbwt7.js → websearch-y1fvbwt7.js} +1 -1
- package/dist/chunks/{shell-dpkg50ah.js → websearch-y71avatq.js} +4 -4
- package/dist/chunks/{shell-73n9zkes.js → websearch-y8n5tbft.js} +11 -11
- package/dist/chunks/{shell-pe83jqzf.js → websearch-yfvrypcb.js} +11 -11
- package/dist/chunks/{shell-6paxgs6k.js → websearch-yncfs3hz.js} +9 -9
- package/dist/chunks/{shell-f2n192rq.js → websearch-yp2x3t23.js} +4 -4
- package/dist/chunks/{shell-yrhqyw5v.js → websearch-yrhqyw5v.js} +1 -1
- package/dist/chunks/{shell-yrznvahk.js → websearch-yrznvahk.js} +2 -2
- package/dist/chunks/{shell-gm14zrge.js → websearch-yvwtzbz5.js} +3 -3
- package/dist/chunks/{shell-z0bkrqjs.js → websearch-z0bkrqjs.js} +1 -1
- package/dist/chunks/{shell-hr0by3dc.js → websearch-z3a9s106.js} +24 -24
- package/dist/chunks/{shell-z63w68vq.js → websearch-z63w68vq.js} +2 -2
- package/dist/chunks/{shell-xvs1sa11.js → websearch-z69s9t6b.js} +5 -5
- package/dist/chunks/{shell-hz0670sp.js → websearch-z76px7dr.js} +32 -32
- package/dist/chunks/{shell-xkpcsvae.js → websearch-z7ygv8dn.js} +17 -17
- package/dist/chunks/{shell-zeh9ct20.js → websearch-zeh9ct20.js} +2 -2
- package/dist/chunks/{shell-97h7kfy1.js → websearch-zex37ywk.js} +5 -5
- package/dist/chunks/{shell-zr2ceqn5.js → websearch-zr2ceqn5.js} +1 -1
- package/dist/chunks/{shell-zxq2ej10.js → websearch-zxq2ej10.js} +1 -1
- package/dist/chunks/{shell-ekj7r0kp.js → websearch-zyyr8j6k.js} +10 -10
- package/dist/chunks/{shell-36cew03x.js → websearch-zz5hkvbq.js} +30 -30
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +80 -80
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +116 -116
- package/dist/config/plugin/command.js +208 -208
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +119 -119
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +112 -112
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- 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 +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +90 -90
- 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 +6 -6
- package/dist/filesystem/location-watcher.js +221 -221
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- package/dist/form.js +85 -85
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- 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 +3 -3
- 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 +354 -354
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +81 -81
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +84 -84
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +96 -96
- package/dist/mcp/instructions.js +121 -121
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +87 -87
- package/dist/model.js +8 -8
- package/dist/models-dev.js +79 -79
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +109 -109
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +87 -87
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +98 -98
- package/dist/plugin/command.js +95 -95
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +6 -6
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +4 -4
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- 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 +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +81 -81
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +69 -69
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +132 -132
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +340 -340
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +7 -7
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +87 -87
- package/dist/reference/instructions.js +83 -83
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- 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 +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +87 -87
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- 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 +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +109 -109
- package/dist/session/runner/step.js +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +150 -150
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- 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 +134 -134
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +85 -85
- 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 +122 -122
- package/dist/tool/plugin/edit.js +114 -114
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +213 -213
- package/dist/tool/plugin/webfetch.js +106 -106
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +3 -3
- 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/vcs/patch.js +1 -1
- package/dist/vcs.js +86 -86
- package/dist/websearch.js +79 -79
- package/dist/wellknown/plugin.js +73 -73
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +4 -4
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/shell-4v7qdvcn.js +0 -18
- package/dist/chunks/shell-nbtt6k6e.js +0 -247
- /package/dist/chunks/{shell-0mesazry.js → websearch-0mesazry.js} +0 -0
- /package/dist/chunks/{shell-0qkdqm5v.js → websearch-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{shell-0zkw76rk.js → websearch-0zkw76rk.js} +0 -0
- /package/dist/chunks/{shell-17cy0kzp.js → websearch-17cy0kzp.js} +0 -0
- /package/dist/chunks/{shell-1cnp2v09.js → websearch-1cnp2v09.js} +0 -0
- /package/dist/chunks/{shell-1kg9ymc8.js → websearch-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{shell-2710q6r3.js → websearch-2710q6r3.js} +0 -0
- /package/dist/chunks/{shell-2axfhc9x.js → websearch-2axfhc9x.js} +0 -0
- /package/dist/chunks/{shell-2c3vjs8z.js → websearch-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{shell-359p4xyc.js → websearch-359p4xyc.js} +0 -0
- /package/dist/chunks/{shell-3asan66x.js → websearch-3asan66x.js} +0 -0
- /package/dist/chunks/{shell-3v8g72cx.js → websearch-3v8g72cx.js} +0 -0
- /package/dist/chunks/{shell-3w5fmr99.js → websearch-3w5fmr99.js} +0 -0
- /package/dist/chunks/{shell-3wcehsnq.js → websearch-3wcehsnq.js} +0 -0
- /package/dist/chunks/{shell-43n2bw4t.js → websearch-43n2bw4t.js} +0 -0
- /package/dist/chunks/{shell-4knz6hnm.js → websearch-4knz6hnm.js} +0 -0
- /package/dist/chunks/{shell-4vcrnpx2.js → websearch-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{shell-4y7fprxs.js → websearch-4y7fprxs.js} +0 -0
- /package/dist/chunks/{shell-53557ph1.js → websearch-53557ph1.js} +0 -0
- /package/dist/chunks/{shell-550bvhaj.js → websearch-550bvhaj.js} +0 -0
- /package/dist/chunks/{shell-6prwharc.js → websearch-6prwharc.js} +0 -0
- /package/dist/chunks/{shell-7akdwqpd.js → websearch-7akdwqpd.js} +0 -0
- /package/dist/chunks/{shell-7m9af43g.js → websearch-7m9af43g.js} +0 -0
- /package/dist/chunks/{shell-822emrt2.js → websearch-822emrt2.js} +0 -0
- /package/dist/chunks/{shell-88xbtdfr.js → websearch-88xbtdfr.js} +0 -0
- /package/dist/chunks/{shell-8n3pysct.js → websearch-8n3pysct.js} +0 -0
- /package/dist/chunks/{shell-922hggd3.js → websearch-922hggd3.js} +0 -0
- /package/dist/chunks/{shell-9a4afbnw.js → websearch-9a4afbnw.js} +0 -0
- /package/dist/chunks/{shell-9rqn6x4v.js → websearch-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{shell-a6k6eb26.js → websearch-a6k6eb26.js} +0 -0
- /package/dist/chunks/{shell-af5trqkr.js → websearch-af5trqkr.js} +0 -0
- /package/dist/chunks/{shell-afrmfg78.js → websearch-afrmfg78.js} +0 -0
- /package/dist/chunks/{shell-aqzs7mqg.js → websearch-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{shell-atq7p7m5.js → websearch-atq7p7m5.js} +0 -0
- /package/dist/chunks/{shell-bkyjaxrp.js → websearch-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{shell-bmr6ed5q.js → websearch-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{shell-cf4snx6d.js → websearch-cf4snx6d.js} +0 -0
- /package/dist/chunks/{shell-cvy3z8tj.js → websearch-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{shell-d9fn303g.js → websearch-d9fn303g.js} +0 -0
- /package/dist/chunks/{shell-d9jj8t3e.js → websearch-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{shell-dajrwvna.js → websearch-dajrwvna.js} +0 -0
- /package/dist/chunks/{shell-dap0rakb.js → websearch-dap0rakb.js} +0 -0
- /package/dist/chunks/{shell-df08tz66.js → websearch-df08tz66.js} +0 -0
- /package/dist/chunks/{shell-dy18nga0.js → websearch-dy18nga0.js} +0 -0
- /package/dist/chunks/{shell-e5kj55wp.js → websearch-e5kj55wp.js} +0 -0
- /package/dist/chunks/{shell-e73j6tqm.js → websearch-e73j6tqm.js} +0 -0
- /package/dist/chunks/{shell-ec1grn59.js → websearch-ec1grn59.js} +0 -0
- /package/dist/chunks/{shell-eh3zwz77.js → websearch-eh3zwz77.js} +0 -0
- /package/dist/chunks/{shell-emrn6kk6.js → websearch-emrn6kk6.js} +0 -0
- /package/dist/chunks/{shell-f0mxakyp.js → websearch-f0mxakyp.js} +0 -0
- /package/dist/chunks/{shell-f6n9ztr4.js → websearch-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{shell-faypxj3z.js → websearch-faypxj3z.js} +0 -0
- /package/dist/chunks/{shell-fd410y7t.js → websearch-fd410y7t.js} +0 -0
- /package/dist/chunks/{shell-fxgpk5d8.js → websearch-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{shell-g4wezp1m.js → websearch-g4wezp1m.js} +0 -0
- /package/dist/chunks/{shell-g86h250q.js → websearch-g86h250q.js} +0 -0
- /package/dist/chunks/{shell-gebd4c9n.js → websearch-gebd4c9n.js} +0 -0
- /package/dist/chunks/{shell-gftt206x.js → websearch-gftt206x.js} +0 -0
- /package/dist/chunks/{shell-hjbc5kem.js → websearch-hjbc5kem.js} +0 -0
- /package/dist/chunks/{shell-hk9envan.js → websearch-hk9envan.js} +0 -0
- /package/dist/chunks/{shell-hrnqkpcd.js → websearch-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{shell-j2ntwpah.js → websearch-j2ntwpah.js} +0 -0
- /package/dist/chunks/{shell-j5zkgpj8.js → websearch-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{shell-jr7sbwjy.js → websearch-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{shell-jwfs4k6c.js → websearch-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{shell-jzg6c2d5.js → websearch-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{shell-mp448xyj.js → websearch-mp448xyj.js} +0 -0
- /package/dist/chunks/{shell-msx8hqn2.js → websearch-msx8hqn2.js} +0 -0
- /package/dist/chunks/{shell-n05xt0ee.js → websearch-n05xt0ee.js} +0 -0
- /package/dist/chunks/{shell-n3j8tn72.js → websearch-n3j8tn72.js} +0 -0
- /package/dist/chunks/{shell-njntx4h6.js → websearch-njntx4h6.js} +0 -0
- /package/dist/chunks/{shell-paphc93g.js → websearch-paphc93g.js} +0 -0
- /package/dist/chunks/{shell-q3sfg36h.js → websearch-q3sfg36h.js} +0 -0
- /package/dist/chunks/{shell-q74kybfr.js → websearch-q74kybfr.js} +0 -0
- /package/dist/chunks/{shell-qaymkmh1.js → websearch-qaymkmh1.js} +0 -0
- /package/dist/chunks/{shell-qb87gjwd.js → websearch-qb87gjwd.js} +0 -0
- /package/dist/chunks/{shell-qfa1cgps.js → websearch-qfa1cgps.js} +0 -0
- /package/dist/chunks/{shell-qrg20bc0.js → websearch-qrg20bc0.js} +0 -0
- /package/dist/chunks/{shell-rcb2kzg1.js → websearch-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{shell-sdp7kfr6.js → websearch-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{shell-sk3qaz4a.js → websearch-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{shell-ssg3fenm.js → websearch-ssg3fenm.js} +0 -0
- /package/dist/chunks/{shell-twg0f83k.js → websearch-twg0f83k.js} +0 -0
- /package/dist/chunks/{shell-w803qqfp.js → websearch-w803qqfp.js} +0 -0
- /package/dist/chunks/{shell-wer8tq1h.js → websearch-wer8tq1h.js} +0 -0
- /package/dist/chunks/{shell-wtztk69x.js → websearch-wtztk69x.js} +0 -0
- /package/dist/chunks/{shell-x0ckcb58.js → websearch-x0ckcb58.js} +0 -0
- /package/dist/chunks/{shell-x61499pn.js → websearch-x61499pn.js} +0 -0
- /package/dist/chunks/{shell-y44na4kk.js → websearch-y44na4kk.js} +0 -0
- /package/dist/chunks/{shell-y8cydn3q.js → websearch-y8cydn3q.js} +0 -0
- /package/dist/chunks/{shell-y8f7s663.js → websearch-y8f7s663.js} +0 -0
- /package/dist/chunks/{shell-ygaqb7jw.js → websearch-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{shell-ym463w8f.js → websearch-ym463w8f.js} +0 -0
- /package/dist/chunks/{shell-z9919s4g.js → websearch-z9919s4g.js} +0 -0
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/provider-context.ts
|
|
6
6
|
var exports_provider_context = {};
|
|
7
7
|
__export(exports_provider_context, {
|
|
8
|
-
Info: () =>
|
|
8
|
+
Info: () => Info22,
|
|
9
9
|
SessionProviderContext: () => exports_provider_context,
|
|
10
10
|
compatible: () => compatible2,
|
|
11
11
|
decode: () => decode2,
|
|
@@ -19,7 +19,7 @@ import { SessionProviderContext } from "@opencode/schema/session-provider-contex
|
|
|
19
19
|
import { Schema } from "effect";
|
|
20
20
|
import { isDeepStrictEqual } from "node:util";
|
|
21
21
|
import { Hash } from "@opencode/util/hash";
|
|
22
|
-
var
|
|
22
|
+
var Info22 = SessionProviderContext.Info;
|
|
23
23
|
var messages = Schema.toCodecJson(Schema.Array(Message));
|
|
24
24
|
function provenance2(resolved) {
|
|
25
25
|
const model = resolved.model;
|
|
@@ -52,4 +52,4 @@ var encode2 = (provenance, replacement) => ({
|
|
|
52
52
|
var decode2 = (context) => Schema.decodeUnknownSync(messages)(context.messages);
|
|
53
53
|
var validate2 = (context) => Schema.decodeUnknownEffect(messages)(context.messages);
|
|
54
54
|
|
|
55
|
-
export {
|
|
55
|
+
export { Info22, provenance2, compatible2, isCheckpoint2, encode2, decode2, validate2, exports_provider_context };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
openaiFailedResponseHandler2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-550bvhaj.js";
|
|
4
4
|
import {
|
|
5
5
|
convertToOpenAIResponsesInput2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-j5zkgpj8.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAIResponseFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-3asan66x.js";
|
|
10
10
|
import {
|
|
11
11
|
prepareResponsesTools2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-gebtr55s.js";
|
|
13
13
|
|
|
14
14
|
// src/github-copilot/responses/openai-responses-language-model.ts
|
|
15
15
|
import {
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./websearch-yvwtzbz5.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./websearch-553wj9b8.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./websearch-jefma2gq.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID16,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info31,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./websearch-desf89vc.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./websearch-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
39
|
+
ID: () => ID15,
|
|
40
|
+
Info: () => Info30,
|
|
41
41
|
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID15 = ID16;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info30 = Info31;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
64
|
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
-
projectID:
|
|
65
|
+
projectID: ID15
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID15.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -169,11 +169,11 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
169
169
|
if (!row)
|
|
170
170
|
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID15.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID15.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID15.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID15.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID15.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID15.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID15.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service77.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node82 = makeGlobalNode({
|
|
277
|
+
service: Service77,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID15, Vcs2, Current2, Info30, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/session/environment.ts
|
|
6
6
|
var exports_environment = {};
|
|
7
7
|
__export(exports_environment, {
|
|
8
|
-
Service: () =>
|
|
8
|
+
Service: () => Service40,
|
|
9
9
|
SessionEnvironment: () => exports_environment,
|
|
10
|
-
node: () =>
|
|
10
|
+
node: () => node44
|
|
11
11
|
});
|
|
12
12
|
import { Context, Effect, Layer } from "effect";
|
|
13
13
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
14
14
|
|
|
15
|
-
class
|
|
15
|
+
class Service40 extends Context.Service()("@opencode/SessionEnvironment") {
|
|
16
16
|
}
|
|
17
|
-
var layer = Layer.sync(
|
|
17
|
+
var layer = Layer.sync(Service40, () => {
|
|
18
18
|
const environments = new Map;
|
|
19
|
-
return
|
|
19
|
+
return Service40.of({
|
|
20
20
|
get: (sessionID) => Effect.sync(() => environments.get(sessionID)),
|
|
21
21
|
set: (sessionID, variables) => Effect.sync(() => {
|
|
22
22
|
environments.set(sessionID, { ...variables });
|
|
@@ -26,6 +26,6 @@ var layer = Layer.sync(Service60, () => {
|
|
|
26
26
|
})
|
|
27
27
|
});
|
|
28
28
|
});
|
|
29
|
-
var
|
|
29
|
+
var node44 = makeGlobalNode({ service: Service40, layer, deps: [] });
|
|
30
30
|
|
|
31
|
-
export {
|
|
31
|
+
export { Service40, node44, exports_environment };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/plugin.ts
|
|
6
6
|
var exports_plugin3 = {};
|
|
7
7
|
__export(exports_plugin3, {
|
|
8
8
|
ConfigPluginV1: () => exports_plugin3,
|
|
9
|
-
Options: () =>
|
|
9
|
+
Options: () => Options6,
|
|
10
10
|
Spec: () => Spec2
|
|
11
11
|
});
|
|
12
12
|
import { Schema } from "effect";
|
|
13
|
-
var
|
|
14
|
-
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String,
|
|
13
|
+
var Options6 = Schema.Record(Schema.String, Schema.Unknown);
|
|
14
|
+
var Spec2 = Schema.Union([Schema.String, Schema.mutable(Schema.Tuple([Schema.String, Options6]))]);
|
|
15
15
|
|
|
16
|
-
export {
|
|
16
|
+
export { Options6, Spec2, exports_plugin3 };
|
|
@@ -1,59 +1,59 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-yvwtzbz5.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node84
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./websearch-553wj9b8.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service52,
|
|
11
|
+
node56
|
|
12
|
+
} from "./websearch-s3c5a9z9.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service36,
|
|
15
|
+
node40
|
|
16
|
+
} from "./websearch-9mkyvs4w.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./websearch-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
make16
|
|
22
|
+
} from "./websearch-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service33
|
|
26
|
+
} from "./websearch-ca7w653e.js";
|
|
27
27
|
import {
|
|
28
28
|
UserInterruptedError2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./websearch-2e96adxv.js";
|
|
30
30
|
import {
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
} from "./
|
|
31
|
+
Service61,
|
|
32
|
+
node65
|
|
33
|
+
} from "./websearch-qcmf15bf.js";
|
|
34
34
|
import {
|
|
35
35
|
toSessionError2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./websearch-w04kpkjq.js";
|
|
37
37
|
import {
|
|
38
38
|
nextPromotable2
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./websearch-9s2tak1g.js";
|
|
40
40
|
import {
|
|
41
41
|
__export
|
|
42
|
-
} from "./
|
|
42
|
+
} from "./websearch-9rqn6x4v.js";
|
|
43
43
|
|
|
44
44
|
// src/session/execution.ts
|
|
45
45
|
var exports_execution = {};
|
|
46
46
|
__export(exports_execution, {
|
|
47
|
-
Service: () =>
|
|
47
|
+
Service: () => Service32,
|
|
48
48
|
SessionExecution: () => exports_execution,
|
|
49
|
-
layer: () =>
|
|
50
|
-
node: () =>
|
|
49
|
+
layer: () => layer16,
|
|
50
|
+
node: () => node37,
|
|
51
51
|
noopLayer: () => noopLayer2,
|
|
52
52
|
terminal: () => terminal2
|
|
53
53
|
});
|
|
54
54
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
55
55
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
56
|
-
class
|
|
56
|
+
class Service32 extends Context.Service()("@opencode/SessionExecution") {
|
|
57
57
|
}
|
|
58
58
|
function terminal2(exit, reason) {
|
|
59
59
|
if (Exit.isSuccess(exit))
|
|
@@ -65,11 +65,11 @@ function terminal2(exit, reason) {
|
|
|
65
65
|
return { type: "interrupted", reason: "user" };
|
|
66
66
|
return { type: "failed", error: toSessionError2(failure) };
|
|
67
67
|
}
|
|
68
|
-
var
|
|
69
|
-
const store = yield*
|
|
70
|
-
const instances = yield*
|
|
68
|
+
var layer16 = Layer.effect(Service32, Effect.gen(function* () {
|
|
69
|
+
const store = yield* Service61;
|
|
70
|
+
const instances = yield* Service36;
|
|
71
71
|
const bus = yield* Service79;
|
|
72
|
-
const jobs = yield*
|
|
72
|
+
const jobs = yield* Service52;
|
|
73
73
|
const db = (yield* Service80).db;
|
|
74
74
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
75
75
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -82,13 +82,13 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
82
82
|
const session = yield* store.get(sessionID);
|
|
83
83
|
if (!session)
|
|
84
84
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
85
|
-
const result = yield*
|
|
85
|
+
const result = yield* Service33.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
86
86
|
return yield* DrainResult2.$match(result, {
|
|
87
87
|
Complete: () => Effect.void,
|
|
88
88
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable)
|
|
89
89
|
});
|
|
90
90
|
});
|
|
91
|
-
const coordinator = yield*
|
|
91
|
+
const coordinator = yield* make16({
|
|
92
92
|
started: (sessionID) => reportLifecycle(sessionID, bus.publish(SessionEvent2.Execution.Started, { sessionID }, claimOnCommit(sessionID))),
|
|
93
93
|
drain: (sessionID, force, promotable) => drain(sessionID, force, undefined, promotable),
|
|
94
94
|
settled: (sessionID, exit, reason) => reportLifecycle(sessionID, Effect.gen(function* () {
|
|
@@ -109,7 +109,7 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
109
109
|
}, releaseOnCommit(sessionID));
|
|
110
110
|
}))
|
|
111
111
|
});
|
|
112
|
-
return
|
|
112
|
+
return Service32.of({
|
|
113
113
|
active: coordinator.active,
|
|
114
114
|
isActive: coordinator.isActive,
|
|
115
115
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -128,12 +128,12 @@ var layer17 = Layer.effect(Service36, Effect.gen(function* () {
|
|
|
128
128
|
awaitIdle: coordinator.awaitIdle
|
|
129
129
|
});
|
|
130
130
|
}));
|
|
131
|
-
var
|
|
132
|
-
service:
|
|
133
|
-
layer:
|
|
134
|
-
deps: [
|
|
131
|
+
var node37 = makeGlobalNode({
|
|
132
|
+
service: Service32,
|
|
133
|
+
layer: layer16,
|
|
134
|
+
deps: [node65, node40, node84, node85, node56]
|
|
135
135
|
});
|
|
136
|
-
var noopLayer2 = Layer.succeed(
|
|
136
|
+
var noopLayer2 = Layer.succeed(Service32, Service32.of({
|
|
137
137
|
active: Effect.succeed(new Set),
|
|
138
138
|
isActive: () => Effect.succeed(false),
|
|
139
139
|
resume: () => Effect.void,
|
|
@@ -142,4 +142,4 @@ var noopLayer2 = Layer.succeed(Service36, Service36.of({
|
|
|
142
142
|
awaitIdle: () => Effect.void
|
|
143
143
|
}));
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { Service32, terminal2, layer16, node37, noopLayer2, exports_execution };
|
|
@@ -1,45 +1,45 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./websearch-yvwtzbz5.js";
|
|
5
5
|
import {
|
|
6
6
|
latestSequence2,
|
|
7
7
|
Service79,
|
|
8
8
|
node84
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./websearch-553wj9b8.js";
|
|
10
10
|
import {
|
|
11
11
|
llmClient2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./websearch-5t3nmthw.js";
|
|
13
13
|
import {
|
|
14
14
|
SessionEvent2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./websearch-ec1grn59.js";
|
|
16
16
|
import {
|
|
17
17
|
firstUserMessage2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./websearch-t0tjpkgm.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
20
|
+
Service61,
|
|
21
|
+
node65
|
|
22
|
+
} from "./websearch-qcmf15bf.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
Service21,
|
|
25
|
+
node26
|
|
26
|
+
} from "./websearch-wvg2fke4.js";
|
|
27
27
|
import {
|
|
28
28
|
record2,
|
|
29
29
|
add2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./websearch-tdstcens.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./websearch-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/session/title.ts
|
|
36
36
|
var exports_title = {};
|
|
37
37
|
__export(exports_title, {
|
|
38
|
-
Service: () =>
|
|
38
|
+
Service: () => Service3,
|
|
39
39
|
SessionTitle: () => exports_title,
|
|
40
40
|
isUntitled: () => isUntitled2,
|
|
41
41
|
layer: () => layer3,
|
|
42
|
-
node: () =>
|
|
42
|
+
node: () => node5
|
|
43
43
|
});
|
|
44
44
|
import { isDeepStrictEqual } from "node:util";
|
|
45
45
|
import { LLMClient, LLMEvent, Message, SystemPart } from "@opencode/ai";
|
|
@@ -51,18 +51,18 @@ var MAX_CONTEXT_LENGTH = 8000;
|
|
|
51
51
|
var MAX_FIRST_MESSAGE_LENGTH = 2000;
|
|
52
52
|
var titleChanged = Symbol("Session title changed");
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class Service3 extends Context.Service()("@opencode/SessionTitle") {
|
|
55
55
|
}
|
|
56
56
|
var truncate = (value) => value.length <= MAX_LENGTH ? value : `${value.slice(0, MAX_LENGTH - 3)}...`;
|
|
57
57
|
var isUntitled2 = (session) => isExactRootFallback({
|
|
58
58
|
title: session.title,
|
|
59
59
|
time: { created: DateTime.toEpochMillis(session.time.created) }
|
|
60
60
|
});
|
|
61
|
-
var layer3 = Layer.effect(
|
|
61
|
+
var layer3 = Layer.effect(Service3, Effect.gen(function* () {
|
|
62
62
|
const bus = yield* Service79;
|
|
63
63
|
const llm = yield* LLMClient.Service;
|
|
64
|
-
const context = yield*
|
|
65
|
-
const store = yield*
|
|
64
|
+
const context = yield* Service21;
|
|
65
|
+
const store = yield* Service61;
|
|
66
66
|
const db = (yield* Service80).db;
|
|
67
67
|
const attempt = Effect.fn("SessionTitle.attempt")(function* (input) {
|
|
68
68
|
const chunks = [];
|
|
@@ -145,12 +145,12 @@ Recent conversation:
|
|
|
145
145
|
title: truncate(title)
|
|
146
146
|
}, { commit: (sequence) => sequence === expectedSequence ? Effect.void : Effect.die(titleChanged) }).pipe(Effect.catchDefect((defect) => defect === titleChanged ? Effect.void : Effect.die(defect)));
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return Service3.of({ generate });
|
|
149
149
|
}));
|
|
150
|
-
var
|
|
151
|
-
service:
|
|
150
|
+
var node5 = makeLocationNode({
|
|
151
|
+
service: Service3,
|
|
152
152
|
layer: layer3,
|
|
153
|
-
deps: [node84, llmClient2,
|
|
153
|
+
deps: [node84, llmClient2, node26, node65, node85]
|
|
154
154
|
});
|
|
155
155
|
|
|
156
|
-
export {
|
|
156
|
+
export { Service3, isUntitled2, layer3, node5, exports_title };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./websearch-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/mcp-codemode-exclusion.ts
|
|
6
6
|
var exports_mcp_codemode_exclusion = {};
|
|
7
7
|
__export(exports_mcp_codemode_exclusion, {
|
|
8
8
|
McpCodeModeExclusionPlugin: () => exports_mcp_codemode_exclusion,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin42
|
|
10
10
|
});
|
|
11
11
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
12
12
|
import { Effect } from "effect";
|
|
13
13
|
var urls = [/^https:\/\/executor\.sh\/[^/]+\/mcp$/];
|
|
14
|
-
var
|
|
14
|
+
var Plugin42 = define({
|
|
15
15
|
id: "opencode.mcp.codemode.exclusion",
|
|
16
16
|
effect: Effect.fn(function* (ctx) {
|
|
17
17
|
yield* ctx.mcp.transform((editor) => {
|
|
@@ -34,4 +34,4 @@ var Plugin39 = define({
|
|
|
34
34
|
})
|
|
35
35
|
});
|
|
36
36
|
|
|
37
|
-
export {
|
|
37
|
+
export { Plugin42, exports_mcp_codemode_exclusion };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID18
|
|
3
|
+
} from "./websearch-m27pyyd3.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./websearch-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/model.ts
|
|
9
9
|
var exports_model2 = {};
|
|
@@ -12,25 +12,25 @@ __export(exports_model2, {
|
|
|
12
12
|
Compatibility: () => Compatibility2,
|
|
13
13
|
Cost: () => Cost2,
|
|
14
14
|
Family: () => Family2,
|
|
15
|
-
ID: () =>
|
|
16
|
-
Info: () =>
|
|
15
|
+
ID: () => ID17,
|
|
16
|
+
Info: () => Info32,
|
|
17
17
|
Model: () => exports_model2,
|
|
18
18
|
ReasoningField: () => ReasoningField2,
|
|
19
|
-
Ref: () =>
|
|
19
|
+
Ref: () => Ref4,
|
|
20
20
|
VariantID: () => VariantID2,
|
|
21
21
|
compatibility: () => compatibility2,
|
|
22
22
|
parse: () => parse5
|
|
23
23
|
});
|
|
24
24
|
import { Model } from "@opencode/schema/model";
|
|
25
|
-
var
|
|
25
|
+
var ID17 = Model.ID;
|
|
26
26
|
var VariantID2 = Model.VariantID;
|
|
27
27
|
var Family2 = Model.Family;
|
|
28
28
|
var ReasoningField2 = Model.ReasoningField;
|
|
29
29
|
var Compatibility2 = Model.Compatibility;
|
|
30
30
|
var Capabilities2 = Model.Capabilities;
|
|
31
31
|
var Cost2 = Model.Cost;
|
|
32
|
-
var
|
|
33
|
-
var
|
|
32
|
+
var Ref4 = Model.Ref;
|
|
33
|
+
var Info32 = Model.Info;
|
|
34
34
|
function compatibility2(input) {
|
|
35
35
|
if (typeof input === "string")
|
|
36
36
|
return { reasoningField: input };
|
|
@@ -41,9 +41,9 @@ function compatibility2(input) {
|
|
|
41
41
|
function parse5(input) {
|
|
42
42
|
const index = input.indexOf("/");
|
|
43
43
|
return {
|
|
44
|
-
providerID:
|
|
45
|
-
modelID:
|
|
44
|
+
providerID: ID18.make(index === -1 ? input : input.slice(0, index)),
|
|
45
|
+
modelID: ID17.make(index === -1 ? "" : input.slice(index + 1))
|
|
46
46
|
};
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
export {
|
|
49
|
+
export { ID17, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref4, Info32, compatibility2, parse5, exports_model2 };
|