@opencode/core 0.0.0-dev-20946 → 0.0.0-dev-20948
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 +91 -91
- package/dist/aisdk.js +96 -96
- package/dist/app.js +9 -9
- package/dist/bus.js +77 -77
- package/dist/chunks/{app-d9qsbthk.js → git-01eenfpa.js} +15 -15
- package/dist/chunks/{app-s8d7rejh.js → git-02nrjc1r.js} +8 -8
- package/dist/chunks/{app-6vjddmya.js → git-04jwapqe.js} +5 -5
- package/dist/chunks/{app-s22myfpf.js → git-09v7d9nf.js} +28 -28
- package/dist/chunks/{app-g7r05m0t.js → git-0hvtwp3s.js} +21 -21
- package/dist/chunks/{app-3wvhzntx.js → git-0p6m29n3.js} +26 -26
- package/dist/chunks/{app-0vbcp93d.js → git-0vbcp93d.js} +2 -2
- package/dist/chunks/{app-6ty0s07x.js → git-10ny1wjp.js} +5 -5
- package/dist/chunks/{app-2hgpde4y.js → git-142mvydr.js} +20 -20
- package/dist/chunks/{app-qedfkepq.js → git-1n4q1qt6.js} +11 -11
- package/dist/chunks/{app-1pxz8ven.js → git-1pxz8ven.js} +2 -2
- package/dist/chunks/{app-542drrgz.js → git-1vjyb0v5.js} +22 -22
- package/dist/chunks/{app-c92333aj.js → git-1xqxdv1f.js} +8 -8
- package/dist/chunks/{app-wxrwc1j1.js → git-2nykj5zt.js} +5 -5
- package/dist/chunks/{app-b4x6fegv.js → git-2vrdh7d5.js} +13 -13
- package/dist/chunks/{app-3327h2ys.js → git-2xveab5k.js} +30 -30
- package/dist/chunks/{app-h7s7r6s9.js → git-31xfzrxg.js} +5 -5
- package/dist/chunks/{app-8s5akys9.js → git-3ck1y37x.js} +19 -19
- package/dist/chunks/{app-feehq8ew.js → git-3dyta72r.js} +12 -12
- package/dist/chunks/{app-3fc6dm20.js → git-3fc6dm20.js} +1 -1
- package/dist/chunks/{app-xnpq4jzf.js → git-3fv9tas6.js} +11 -11
- package/dist/chunks/{app-vsk55egg.js → git-3gt2qbz4.js} +3 -3
- package/dist/chunks/{app-3hepkmqq.js → git-3hepkmqq.js} +1 -1
- package/dist/chunks/{app-crtpqv5v.js → git-3hhbryxg.js} +23 -23
- package/dist/chunks/{app-3hwn7j4h.js → git-3hwn7j4h.js} +2 -2
- package/dist/chunks/{app-adpxmy0j.js → git-3mfe6nk2.js} +23 -23
- package/dist/chunks/{app-3smtnn6g.js → git-3smtnn6g.js} +1 -1
- package/dist/chunks/{app-3tvqynh2.js → git-3tvqynh2.js} +1 -1
- package/dist/chunks/{app-yvjjpzaz.js → git-3v34x0nx.js} +37 -37
- package/dist/chunks/{app-6tpe50yt.js → git-3wvs8749.js} +9 -9
- package/dist/chunks/{app-3zsf4n22.js → git-3zsf4n22.js} +1 -1
- package/dist/chunks/{app-xf10b3wk.js → git-45a6yaqd.js} +66 -66
- package/dist/chunks/{app-16zy7w8p.js → git-479tyfef.js} +22 -22
- package/dist/chunks/{app-my4zabxr.js → git-48kw51zw.js} +3 -3
- package/dist/chunks/{app-28x8vdnj.js → git-4gbfhf8t.js} +9 -9
- package/dist/chunks/{app-qrqxf29m.js → git-4gkcbsf6.js} +85 -85
- package/dist/chunks/{app-n1n192bv.js → git-4j4tgtq5.js} +4 -4
- package/dist/chunks/{app-rxn3v13r.js → git-4nyw54n1.js} +5 -5
- package/dist/chunks/{app-8mq176vx.js → git-4pznzvvb.js} +18 -18
- package/dist/chunks/{app-5br69nst.js → git-515nex7v.js} +5 -5
- package/dist/chunks/{app-s61bmbn6.js → git-5a633k63.js} +11 -11
- package/dist/chunks/{app-5m9w47nd.js → git-5m9w47nd.js} +1 -1
- package/dist/chunks/{app-ymg6w8bb.js → git-5mvg709s.js} +12 -12
- package/dist/chunks/{app-ry3jh94e.js → git-5p3dx02w.js} +7 -7
- package/dist/chunks/{app-196xn7x4.js → git-5v5s25bq.js} +10 -10
- package/dist/chunks/{app-h9mkjjee.js → git-600a0prn.js} +26 -26
- package/dist/chunks/git-619r8v3y.js +18 -0
- package/dist/chunks/{app-a32crvp7.js → git-64np693v.js} +11 -11
- package/dist/chunks/{app-rfgx9zrx.js → git-6525tgc4.js} +15 -15
- package/dist/chunks/{app-v0es1rhs.js → git-6g7e4dd5.js} +7 -7
- package/dist/chunks/{app-fvzra212.js → git-6tzebk0j.js} +30 -30
- package/dist/chunks/{app-6xb47vfp.js → git-6xb47vfp.js} +1 -1
- package/dist/chunks/{app-775gj3j1.js → git-775gj3j1.js} +2 -2
- package/dist/chunks/{app-89vw0rs0.js → git-78er6hm2.js} +33 -33
- package/dist/chunks/{app-7bmhse3q.js → git-7bmhse3q.js} +1 -1
- package/dist/chunks/{app-15nepkqg.js → git-7dbmnfn4.js} +8 -8
- package/dist/chunks/{app-0jwsre1p.js → git-7dqw4kz8.js} +5 -5
- package/dist/chunks/{app-pngg7yyw.js → git-7epp4vs3.js} +5 -5
- package/dist/chunks/{app-yegmnrcf.js → git-7hhqs9ev.js} +11 -11
- package/dist/chunks/{app-2s2wz7x5.js → git-7yjsdw3n.js} +33 -33
- package/dist/chunks/{app-q8dtmx9e.js → git-84k1wv33.js} +30 -30
- package/dist/chunks/{app-kj2z49gg.js → git-8h8303va.js} +10 -10
- package/dist/chunks/{app-8m6m0r52.js → git-8m6m0r52.js} +1 -1
- package/dist/chunks/{app-20t1w752.js → git-8n04q4wy.js} +23 -23
- package/dist/chunks/{app-2zrmqjts.js → git-8rz8ve1a.js} +16 -16
- package/dist/chunks/{app-zpxjj8k6.js → git-8s0h3786.js} +19 -19
- package/dist/chunks/{app-py3kkmfq.js → git-8sze2n9a.js} +6 -6
- package/dist/chunks/{app-qk43rgfm.js → git-93f4czyq.js} +11 -11
- package/dist/chunks/{app-1ajx6rf5.js → git-9hn6k4tm.js} +8 -8
- package/dist/chunks/{app-9hwaqfsw.js → git-9hwaqfsw.js} +2 -2
- package/dist/chunks/{app-zr5anjw8.js → git-9jsjce8g.js} +36 -36
- package/dist/chunks/{app-vtv4hxdx.js → git-9kza9pnb.js} +45 -45
- package/dist/chunks/{app-4pj98x0t.js → git-9qnraezg.js} +22 -22
- package/dist/chunks/{app-4jbcdpb2.js → git-9vx4ezry.js} +54 -54
- package/dist/chunks/{app-bmh3p8t4.js → git-a3tzcvfn.js} +19 -19
- package/dist/chunks/{app-en5nf1b1.js → git-a797vkbp.js} +30 -30
- package/dist/chunks/{app-n8yd9965.js → git-aaz2ppa0.js} +18 -18
- package/dist/chunks/{app-sknt8t4q.js → git-az1da0xs.js} +10 -10
- package/dist/chunks/{app-170y99p7.js → git-azc6s5tn.js} +11 -11
- package/dist/chunks/{app-hpkzf79d.js → git-b2sh5862.js} +12 -12
- package/dist/chunks/{app-3b3nwhmq.js → git-b4pb0qj1.js} +16 -16
- package/dist/chunks/{app-s7f5v1nq.js → git-b5mayez8.js} +14 -14
- package/dist/chunks/{app-z0aj456m.js → git-bacyadyn.js} +4 -4
- package/dist/chunks/{app-jgp6qq1x.js → git-bbafnyd0.js} +11 -11
- package/dist/chunks/{app-782vv6a8.js → git-bbmabm9f.js} +9 -9
- package/dist/chunks/{app-9cscaqzk.js → git-btn9ak2p.js} +51 -51
- package/dist/chunks/{app-evz68pyd.js → git-bwp9jw94.js} +15 -15
- package/dist/chunks/{app-6grk5ya5.js → git-bxesqzry.js} +24 -24
- package/dist/chunks/{app-tpgc1taq.js → git-bz5sg4q4.js} +15 -15
- package/dist/chunks/{app-b6h74r5j.js → git-bzbkpqhk.js} +11 -11
- package/dist/chunks/{app-1cy9s1jf.js → git-c07qxs3a.js} +20 -20
- package/dist/chunks/{app-es1vcfrp.js → git-c1fqxshp.js} +3 -3
- package/dist/chunks/{app-6smerm25.js → git-c89c07k3.js} +191 -191
- package/dist/chunks/{app-hgewwwat.js → git-c9wbyant.js} +4 -4
- package/dist/chunks/{app-j5a4ycd2.js → git-cj3e383x.js} +11 -11
- package/dist/chunks/{app-9bznbx9p.js → git-cp9q7vf4.js} +28 -28
- package/dist/chunks/{app-c765mh8b.js → git-cwa6csj7.js} +9 -9
- package/dist/chunks/{app-06t828fj.js → git-d6bawxmv.js} +22 -22
- package/dist/chunks/{app-cmvvpezr.js → git-dn734jx6.js} +45 -45
- package/dist/chunks/{app-e3c527sk.js → git-dpdj1ayc.js} +6 -6
- package/dist/chunks/{app-y71avatq.js → git-dpkg50ah.js} +4 -4
- package/dist/chunks/{app-dqxsqydv.js → git-dqxsqydv.js} +1 -1
- package/dist/chunks/{app-x5v554af.js → git-drzpnrep.js} +46 -46
- package/dist/chunks/{app-916bs121.js → git-dvdnw3cp.js} +87 -87
- package/dist/chunks/{app-psafn5xp.js → git-dxvcp820.js} +19 -19
- package/dist/chunks/{app-dys7k0s0.js → git-dys7k0s0.js} +3 -3
- package/dist/chunks/{app-pgfswtfx.js → git-e1yb93hp.js} +27 -27
- package/dist/chunks/{app-bpq9gf8h.js → git-e6snzbr7.js} +45 -45
- package/dist/chunks/{app-ed1g29hy.js → git-e80seqcp.js} +3 -3
- package/dist/chunks/{app-v3c9f0f7.js → git-eecv355n.js} +25 -25
- package/dist/chunks/{app-eej6y6fw.js → git-eej6y6fw.js} +2 -2
- package/dist/chunks/{app-ef5x83kb.js → git-ef5x83kb.js} +1 -1
- package/dist/chunks/{app-1gzf88x5.js → git-efybvz04.js} +33 -33
- package/dist/chunks/{app-9cwy8t8r.js → git-ept267pb.js} +25 -25
- package/dist/chunks/{app-mgp2kq6f.js → git-eqrd195g.js} +11 -11
- package/dist/chunks/{app-eyfmytd9.js → git-es6qv9qs.js} +13 -13
- package/dist/chunks/{app-jpqeh2wc.js → git-espax8zg.js} +4 -4
- package/dist/chunks/{app-1t49eyyj.js → git-ew4cvqfm.js} +6 -6
- package/dist/chunks/{app-gm5mmwcc.js → git-f43tv5dk.js} +27 -27
- package/dist/chunks/{app-ksfkyhkm.js → git-f5gqx7z5.js} +4 -4
- package/dist/chunks/{app-fc6gyb3t.js → git-fap5gkce.js} +4 -4
- package/dist/chunks/{app-h852mk1x.js → git-frkqgfsy.js} +11 -11
- package/dist/chunks/{app-260wd4am.js → git-fvra4tzc.js} +14 -14
- package/dist/chunks/{app-jaef8hyh.js → git-fww2ha2b.js} +10 -10
- package/dist/chunks/{app-gvfe2t7v.js → git-g506rfke.js} +150 -150
- package/dist/chunks/{app-80z0vyq9.js → git-g686f6pq.js} +9 -9
- package/dist/chunks/{app-p0vfc8dd.js → git-ga2wxmhq.js} +27 -27
- package/dist/chunks/{app-gd4qta3r.js → git-gd4qta3r.js} +1 -1
- package/dist/chunks/{app-rjq8wmvv.js → git-ggk4p413.js} +11 -11
- package/dist/chunks/{app-ykpgtrqv.js → git-ghcndwhm.js} +12 -12
- package/dist/chunks/{app-bemaxe75.js → git-gmmxkbmv.js} +28 -28
- package/dist/chunks/{app-b85f6r47.js → git-gnnz5nnv.js} +11 -11
- package/dist/chunks/{app-z0x2f369.js → git-gy3ewsg1.js} +19 -19
- package/dist/chunks/{app-p5bpnpy6.js → git-h12cqrs8.js} +18 -18
- package/dist/chunks/{app-dkapkpbe.js → git-h2ps0vhb.js} +5 -5
- package/dist/chunks/{app-h6vf3j39.js → git-h6vf3j39.js} +1 -1
- package/dist/chunks/{app-cfxzwgcc.js → git-hafwy6wt.js} +35 -35
- package/dist/chunks/{app-hgz4x7wa.js → git-hgz4x7wa.js} +1 -1
- package/dist/chunks/{app-0nf63gy6.js → git-hh35cv3q.js} +24 -24
- package/dist/chunks/{app-91qna3x0.js → git-j09zfasm.js} +3 -3
- package/dist/chunks/{app-cdt3ykbk.js → git-j6ne1s41.js} +35 -35
- package/dist/chunks/{app-np4knan4.js → git-j840x00t.js} +14 -14
- package/dist/chunks/{app-bvg47z8v.js → git-j9vfexns.js} +13 -13
- package/dist/chunks/{app-g46g1hem.js → git-jbbhbnm9.js} +14 -14
- package/dist/chunks/{app-jk540des.js → git-jk540des.js} +2 -2
- package/dist/chunks/{app-cw2swvqy.js → git-jp8kazyb.js} +24 -24
- package/dist/chunks/{app-09wd1rbk.js → git-kar1yzx3.js} +14 -14
- package/dist/chunks/{app-khmqacep.js → git-khmqacep.js} +1 -1
- package/dist/chunks/{app-bbhwrmx1.js → git-kpe031v2.js} +29 -29
- package/dist/chunks/{app-tg0e4cz9.js → git-ky1kqrqq.js} +6 -6
- package/dist/chunks/{app-skmmm8kt.js → git-m4eh47d0.js} +21 -21
- package/dist/chunks/{app-9evvjhra.js → git-m87300ey.js} +3 -3
- package/dist/chunks/{app-m9w0rfyh.js → git-m9w0rfyh.js} +1 -1
- package/dist/chunks/{app-maspj1v3.js → git-maspj1v3.js} +1 -1
- package/dist/chunks/{app-319t5ksg.js → git-mdrf9c6b.js} +31 -31
- package/dist/chunks/{app-9ns9jhwv.js → git-mvftxahx.js} +25 -25
- package/dist/chunks/{app-8bn1rtwe.js → git-mz5a208t.js} +6 -6
- package/dist/chunks/{app-6tqtsggn.js → git-n1ttjt0m.js} +24 -24
- package/dist/chunks/{app-xw7ewcp2.js → git-n6z2stbm.js} +3 -3
- package/dist/chunks/{app-8tk4v8s3.js → git-n93jbp0k.js} +11 -11
- package/dist/chunks/{app-4y95vxma.js → git-ngrent29.js} +33 -33
- package/dist/chunks/{app-y5keskgd.js → git-nmcvttpa.js} +4 -4
- package/dist/chunks/{app-6784zbzv.js → git-nn3cvats.js} +31 -31
- package/dist/chunks/{app-76prbrrs.js → git-np7435h2.js} +16 -16
- package/dist/chunks/{app-axqx7bw5.js → git-npa0ynms.js} +9 -9
- package/dist/chunks/{app-0vgqwwja.js → git-nvtnmch9.js} +5 -5
- package/dist/chunks/{app-2bpg8ntc.js → git-p42rbx7w.js} +5 -5
- package/dist/chunks/{app-0bb6jrx2.js → git-pb9dx0b6.js} +20 -20
- package/dist/chunks/{app-8nvxm245.js → git-pep7hara.js} +4 -4
- package/dist/chunks/{app-ghrzdqqx.js → git-pfq1ksym.js} +5 -5
- package/dist/chunks/{app-na61gp44.js → git-ph8hns1v.js} +4 -4
- package/dist/chunks/{app-9v7y43ay.js → git-phtdqv75.js} +13 -13
- package/dist/chunks/{app-pjvnvgmy.js → git-pjvnvgmy.js} +1 -1
- package/dist/chunks/{app-pknna89w.js → git-pknna89w.js} +1 -1
- package/dist/chunks/{app-pvszq1dq.js → git-pqmybdq4.js} +29 -29
- package/dist/chunks/{app-te77hyfc.js → git-prjwzds1.js} +4 -4
- package/dist/chunks/{app-ahy4kjj6.js → git-pv0qkrbb.js} +1 -1
- package/dist/chunks/{app-q0xm7vwc.js → git-q0xm7vwc.js} +2 -2
- package/dist/chunks/{app-2mn93cq6.js → git-q6avzzpv.js} +24 -24
- package/dist/chunks/{app-edtfta7v.js → git-q6rjgs81.js} +50 -50
- package/dist/chunks/{app-3b32rkfc.js → git-q9y8w0zk.js} +29 -29
- package/dist/chunks/{app-ac3e21by.js → git-qbttvzdy.js} +35 -35
- package/dist/chunks/git-qdnsp6kg.js +26 -0
- package/dist/chunks/{app-4ekscj25.js → git-qjx1ax0j.js} +5 -5
- package/dist/chunks/{app-qnc92qwc.js → git-qnc92qwc.js} +1 -1
- package/dist/chunks/{app-qsdy395h.js → git-qsdy395h.js} +1 -1
- package/dist/chunks/{app-9mh0tda3.js → git-qytsfeh6.js} +5 -5
- package/dist/chunks/{app-54ma36ye.js → git-r94pvvab.js} +4 -4
- package/dist/chunks/{app-9jzp6rtr.js → git-r9w3djhf.js} +9 -9
- package/dist/chunks/{app-361tcs8k.js → git-raz7r69d.js} +10 -10
- package/dist/chunks/{app-jp4d7tph.js → git-rc1szs54.js} +6 -6
- package/dist/chunks/{app-rdw6cm16.js → git-rdw6cm16.js} +1 -1
- package/dist/chunks/{app-tkb22qbm.js → git-rert0e01.js} +2 -2
- package/dist/chunks/{app-c41wscbt.js → git-rj3eygr5.js} +2 -2
- package/dist/chunks/{app-aed644s6.js → git-rjdbxett.js} +17 -17
- package/dist/chunks/{app-7gyk8ay3.js → git-rke3dw8p.js} +47 -47
- package/dist/chunks/{app-drnf6xwf.js → git-rqa1jxse.js} +2 -2
- package/dist/chunks/{app-r1zbt1g3.js → git-rrszzvxe.js} +58 -58
- package/dist/chunks/{app-5tgayn10.js → git-rsy9ddve.js} +332 -332
- package/dist/chunks/{app-03b98a4n.js → git-s6a0m454.js} +6 -6
- package/dist/chunks/{app-c8ax2afj.js → git-sa8ekw3f.js} +2 -2
- package/dist/chunks/{app-wecqtg5s.js → git-scgrse2b.js} +5 -5
- package/dist/chunks/{app-p3zcgmhy.js → git-se2hztq6.js} +33 -33
- package/dist/chunks/{app-5m4vswv5.js → git-skg7yay7.js} +17 -17
- package/dist/chunks/{app-9rtsm8wb.js → git-snaedj36.js} +29 -29
- package/dist/chunks/{app-a3071mfk.js → git-sreec1n3.js} +25 -25
- package/dist/chunks/{app-syv4x271.js → git-syv4x271.js} +1 -1
- package/dist/chunks/{app-vpa0c4dh.js → git-t1d5g21r.js} +1 -1
- package/dist/chunks/{app-t7n9q6bq.js → git-t7n9q6bq.js} +1 -1
- package/dist/chunks/{app-tazgh4e4.js → git-tazgh4e4.js} +1 -1
- package/dist/chunks/{app-tsk0kz6z.js → git-tbwjy4jx.js} +15 -15
- package/dist/chunks/{app-2a6rn6yr.js → git-tcay1cqt.js} +6 -6
- package/dist/chunks/{app-tcezcvh9.js → git-tcezcvh9.js} +1 -1
- package/dist/chunks/{app-tdstcens.js → git-tdstcens.js} +1 -1
- package/dist/chunks/{app-sdmwbghz.js → git-tgyfqjhv.js} +51 -51
- package/dist/chunks/{app-j30ysc37.js → git-thz8mtkz.js} +13 -13
- package/dist/chunks/{app-tm0kqsz3.js → git-tm0kqsz3.js} +1 -1
- package/dist/chunks/{app-p8nf8sh4.js → git-trr6sjah.js} +34 -34
- package/dist/chunks/{app-1gpb38yh.js → git-twwzjqdf.js} +6 -6
- package/dist/chunks/{app-fvfcy14t.js → git-tywzg4e5.js} +8 -8
- package/dist/chunks/{app-tyytaxap.js → git-tyytaxap.js} +1 -1
- package/dist/chunks/{app-gwsckt0s.js → git-tz8jdh8q.js} +25 -25
- package/dist/chunks/{app-3m5ksgrq.js → git-v0p1yc4r.js} +9 -9
- package/dist/chunks/{app-gtc6swsd.js → git-v2qjv84n.js} +7 -7
- package/dist/chunks/{app-54asd8b8.js → git-v4h4tcaj.js} +18 -18
- package/dist/chunks/{app-v5dkyp31.js → git-v5dkyp31.js} +1 -1
- package/dist/chunks/{app-v7p4zvkq.js → git-v7p4zvkq.js} +2 -2
- package/dist/chunks/{app-p00jp77p.js → git-vc4tj14c.js} +19 -19
- package/dist/chunks/{app-7wfwn23e.js → git-vcjvn6yt.js} +8 -8
- package/dist/chunks/{app-veqvce7d.js → git-veqvce7d.js} +1 -1
- package/dist/chunks/{app-v9vnwqd2.js → git-vpsek98y.js} +20 -20
- package/dist/chunks/{app-78077b7a.js → git-vq1kmzy0.js} +11 -11
- package/dist/chunks/{app-a1996ns9.js → git-vxssbp9k.js} +13 -13
- package/dist/chunks/{app-vzs5sf6e.js → git-vzs5sf6e.js} +1 -1
- package/dist/chunks/{app-fnyfgzgj.js → git-w0xh3rjx.js} +35 -35
- package/dist/chunks/{app-84txncab.js → git-w1eejvng.js} +5 -5
- package/dist/chunks/{app-w3wsvvr9.js → git-w3wsvvr9.js} +1 -1
- package/dist/chunks/{app-9kg3t6s1.js → git-w53aabxs.js} +13 -13
- package/dist/chunks/{app-zkwkf0sq.js → git-w919w76e.js} +8 -8
- package/dist/chunks/{app-waskdk5r.js → git-waskdk5r.js} +1 -1
- package/dist/chunks/{app-wd87259q.js → git-wd87259q.js} +1 -1
- package/dist/chunks/{app-wdwph0vc.js → git-wgahhr0x.js} +8 -8
- package/dist/chunks/{app-8xxag4f9.js → git-xbrfyfsb.js} +41 -41
- package/dist/chunks/{app-7v81x33d.js → git-xdx7acry.js} +9 -9
- package/dist/chunks/{app-xfkkasph.js → git-xfkkasph.js} +1 -1
- package/dist/chunks/{app-r27ddyp0.js → git-xn3jjke7.js} +40 -40
- package/dist/chunks/{app-zdza5xk7.js → git-xstpf91t.js} +7 -7
- package/dist/chunks/{app-3g8j9he4.js → git-xt4njr3s.js} +1 -1
- package/dist/chunks/{app-39qydm0a.js → git-xv09z32e.js} +4 -4
- package/dist/chunks/{app-8jd84qw6.js → git-y19c8s10.js} +8 -8
- package/dist/chunks/{app-y1fvbwt7.js → git-y1fvbwt7.js} +1 -1
- package/dist/chunks/{app-cg2yd66s.js → git-y3b7wprm.js} +50 -50
- package/dist/chunks/{app-6khpt284.js → git-y3nxpthn.js} +14 -14
- package/dist/chunks/{app-e3d6qz8j.js → git-y7y09twx.js} +35 -35
- package/dist/chunks/{app-e816szsf.js → git-ydxn63dc.js} +14 -14
- package/dist/chunks/{app-86v6307a.js → git-ydykb0bb.js} +14 -14
- package/dist/chunks/{app-d1z6w054.js → git-ygt24qhf.js} +13 -13
- package/dist/chunks/{app-qhs3ryx7.js → git-yhsvpzag.js} +25 -25
- package/dist/chunks/{app-vb5sxp8t.js → git-yhw8c8y5.js} +28 -28
- package/dist/chunks/{app-ts9bwsfn.js → git-yjzpsqha.js} +17 -17
- package/dist/chunks/{app-janc01r5.js → git-yn2jyqqj.js} +6 -6
- package/dist/chunks/{app-yp2x3t23.js → git-yp2x3t23.js} +1 -1
- package/dist/chunks/{app-e4yhmw14.js → git-ytjkwh0b.js} +2 -2
- package/dist/chunks/{app-wjr9rjd7.js → git-ywt8jp22.js} +6 -6
- package/dist/chunks/{app-r0eaaxj4.js → git-yy2qn57n.js} +9 -9
- package/dist/chunks/{app-qtx60t2g.js → git-z00brpdj.js} +15 -15
- package/dist/chunks/{app-z0bkrqjs.js → git-z0bkrqjs.js} +1 -1
- package/dist/chunks/{app-6yncwwc2.js → git-z1fqagv4.js} +4 -4
- package/dist/chunks/{app-ev7v41wr.js → git-z7b3fry8.js} +34 -34
- package/dist/chunks/{app-bgrds95v.js → git-z86bsf9w.js} +5 -5
- package/dist/chunks/{app-ze9qfdpr.js → git-zcxtw1zj.js} +23 -23
- package/dist/chunks/{app-k1gkpfdk.js → git-ze75yzft.js} +8 -8
- package/dist/chunks/{app-p48qet1w.js → git-zkxb83dh.js} +3 -3
- package/dist/chunks/{app-zr2ceqn5.js → git-zr2ceqn5.js} +1 -1
- package/dist/chunks/{app-addxnjmp.js → git-zw2hpfmh.js} +4 -4
- package/dist/chunks/{app-xwst6ah5.js → git-zxk4qck4.js} +23 -23
- package/dist/chunks/{app-zxq2ej10.js → git-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 +81 -81
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +101 -101
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +119 -119
- package/dist/config/plugin/image.js +118 -118
- package/dist/config/plugin/instruction.js +92 -92
- package/dist/config/plugin/location-watcher.js +120 -120
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +119 -119
- package/dist/config/plugin/provider.js +118 -118
- package/dist/config/plugin/reference.js +120 -120
- package/dist/config/plugin/shell.js +120 -120
- package/dist/config/plugin/skill-file.js +104 -104
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +118 -118
- package/dist/config/plugin/source.js +121 -121
- package/dist/config/plugin/tool-output.js +119 -119
- package/dist/config/plugin/websearch.js +119 -119
- package/dist/config/plugin/worktree.js +120 -120
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +123 -123
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +87 -87
- package/dist/database/database.js +68 -68
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration.gen.js +51 -51
- package/dist/database/migration.js +53 -53
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +78 -78
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +95 -95
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +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 +76 -76
- package/dist/file-access.js +106 -106
- package/dist/file-mutation.js +96 -96
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +101 -101
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +100 -100
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +85 -85
- package/dist/generate.js +107 -107
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +93 -93
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +359 -359
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +89 -89
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +75 -75
- package/dist/location-activity.js +133 -133
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-service-map.js +88 -88
- package/dist/location-services.js +356 -356
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +93 -93
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +80 -80
- package/dist/mcp/stdio.js +92 -92
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +93 -93
- package/dist/model-resolver.js +100 -100
- package/dist/model.js +104 -104
- package/dist/models-dev.js +109 -109
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +84 -84
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +115 -115
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +92 -92
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +77 -77
- package/dist/plugin/agent.js +76 -76
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +331 -331
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +98 -98
- package/dist/plugin/module.js +119 -119
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +104 -104
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +92 -92
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +118 -118
- package/dist/plugin/provider/cloudflare-ai-gateway.js +115 -115
- package/dist/plugin/provider/cloudflare-workers-ai.js +116 -116
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +95 -95
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +97 -97
- package/dist/plugin/provider/gitlab.js +95 -95
- package/dist/plugin/provider/google-vertex.js +115 -115
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +80 -80
- package/dist/plugin/provider/lmstudio.js +127 -127
- package/dist/plugin/provider/local.js +124 -124
- package/dist/plugin/provider/modal.js +94 -94
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +127 -127
- package/dist/plugin/provider/openai.js +120 -120
- package/dist/plugin/provider/opencode.js +99 -99
- package/dist/plugin/provider/openrouter.js +93 -93
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +81 -81
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +93 -93
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/vercel.js +92 -92
- package/dist/plugin/provider/vllm.js +127 -127
- package/dist/plugin/provider/xai.js +93 -93
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +78 -78
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +136 -136
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +88 -88
- package/dist/plugin/vcs/hg.js +88 -88
- package/dist/plugin/verbosity.js +95 -95
- package/dist/plugin/warming.js +116 -116
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +6 -6
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +91 -91
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +93 -93
- package/dist/repository-cache.js +83 -83
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +88 -88
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +3 -3
- package/dist/session/command.js +76 -76
- package/dist/session/compaction.js +137 -137
- package/dist/session/context.js +155 -155
- package/dist/session/diff.js +90 -90
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +216 -216
- package/dist/session/execution.js +125 -125
- package/dist/session/generate.js +156 -156
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +81 -81
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +99 -99
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +122 -122
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +131 -131
- package/dist/session/projector.js +88 -88
- package/dist/session/prompt.js +107 -107
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +92 -92
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +1 -1
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +100 -100
- package/dist/session/runner/publish-llm-event.js +115 -115
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +127 -127
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +89 -89
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +207 -207
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +159 -159
- package/dist/session/to-session-error.js +113 -113
- package/dist/session/transfer.js +215 -215
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +116 -116
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +128 -128
- package/dist/tool/plugin/edit.js +122 -122
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +119 -119
- package/dist/tool/plugin/opencode.js +111 -111
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +127 -127
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +114 -114
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +124 -124
- package/dist/tool/read-filesystem.js +102 -102
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- 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 +3 -3
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/mcp.js +2 -2
- package/dist/v1/config/migrate.js +94 -94
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +91 -91
- package/dist/websearch.js +86 -86
- package/dist/wellknown/plugin.js +78 -78
- package/dist/wellknown.js +83 -83
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +84 -84
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +91 -91
- package/dist/worktree.js +96 -96
- package/package.json +8 -8
- package/dist/chunks/app-1899y1cs.js +0 -26
- package/dist/chunks/app-rap9a73h.js +0 -18
- /package/dist/chunks/{app-0qkdqm5v.js → git-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{app-0zkw76rk.js → git-0zkw76rk.js} +0 -0
- /package/dist/chunks/{app-17cy0kzp.js → git-17cy0kzp.js} +0 -0
- /package/dist/chunks/{app-1cnp2v09.js → git-1cnp2v09.js} +0 -0
- /package/dist/chunks/{app-1kg9ymc8.js → git-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{app-24dcb14g.js → git-24dcb14g.js} +0 -0
- /package/dist/chunks/{app-2710q6r3.js → git-2710q6r3.js} +0 -0
- /package/dist/chunks/{app-2axfhc9x.js → git-2axfhc9x.js} +0 -0
- /package/dist/chunks/{app-2bv980vf.js → git-2bv980vf.js} +0 -0
- /package/dist/chunks/{app-2c3vjs8z.js → git-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{app-359p4xyc.js → git-359p4xyc.js} +0 -0
- /package/dist/chunks/{app-3asan66x.js → git-3asan66x.js} +0 -0
- /package/dist/chunks/{app-3t0ybcrp.js → git-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{app-3v8g72cx.js → git-3v8g72cx.js} +0 -0
- /package/dist/chunks/{app-3wcehsnq.js → git-3wcehsnq.js} +0 -0
- /package/dist/chunks/{app-43n2bw4t.js → git-43n2bw4t.js} +0 -0
- /package/dist/chunks/{app-4knz6hnm.js → git-4knz6hnm.js} +0 -0
- /package/dist/chunks/{app-4vcrnpx2.js → git-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{app-4y7fprxs.js → git-4y7fprxs.js} +0 -0
- /package/dist/chunks/{app-53557ph1.js → git-53557ph1.js} +0 -0
- /package/dist/chunks/{app-550bvhaj.js → git-550bvhaj.js} +0 -0
- /package/dist/chunks/{app-5qd3pb7m.js → git-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{app-6prwharc.js → git-6prwharc.js} +0 -0
- /package/dist/chunks/{app-6q2bdcd1.js → git-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{app-7akdwqpd.js → git-7akdwqpd.js} +0 -0
- /package/dist/chunks/{app-7m9af43g.js → git-7m9af43g.js} +0 -0
- /package/dist/chunks/{app-822emrt2.js → git-822emrt2.js} +0 -0
- /package/dist/chunks/{app-84wd9syh.js → git-84wd9syh.js} +0 -0
- /package/dist/chunks/{app-88xbtdfr.js → git-88xbtdfr.js} +0 -0
- /package/dist/chunks/{app-8n3pysct.js → git-8n3pysct.js} +0 -0
- /package/dist/chunks/{app-8wj87zfr.js → git-8wj87zfr.js} +0 -0
- /package/dist/chunks/{app-9a4afbnw.js → git-9a4afbnw.js} +0 -0
- /package/dist/chunks/{app-9rqn6x4v.js → git-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{app-a6k6eb26.js → git-a6k6eb26.js} +0 -0
- /package/dist/chunks/{app-af5trqkr.js → git-af5trqkr.js} +0 -0
- /package/dist/chunks/{app-afrmfg78.js → git-afrmfg78.js} +0 -0
- /package/dist/chunks/{app-aqzs7mqg.js → git-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{app-atq7p7m5.js → git-atq7p7m5.js} +0 -0
- /package/dist/chunks/{app-bkyjaxrp.js → git-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{app-bmr6ed5q.js → git-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{app-cf4snx6d.js → git-cf4snx6d.js} +0 -0
- /package/dist/chunks/{app-cvy3z8tj.js → git-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{app-d9fn303g.js → git-d9fn303g.js} +0 -0
- /package/dist/chunks/{app-d9jj8t3e.js → git-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{app-dajrwvna.js → git-dajrwvna.js} +0 -0
- /package/dist/chunks/{app-dap0rakb.js → git-dap0rakb.js} +0 -0
- /package/dist/chunks/{app-df08tz66.js → git-df08tz66.js} +0 -0
- /package/dist/chunks/{app-dy18nga0.js → git-dy18nga0.js} +0 -0
- /package/dist/chunks/{app-e5kj55wp.js → git-e5kj55wp.js} +0 -0
- /package/dist/chunks/{app-e73j6tqm.js → git-e73j6tqm.js} +0 -0
- /package/dist/chunks/{app-ec1grn59.js → git-ec1grn59.js} +0 -0
- /package/dist/chunks/{app-eh3zwz77.js → git-eh3zwz77.js} +0 -0
- /package/dist/chunks/{app-emrn6kk6.js → git-emrn6kk6.js} +0 -0
- /package/dist/chunks/{app-f0mxakyp.js → git-f0mxakyp.js} +0 -0
- /package/dist/chunks/{app-f6n9ztr4.js → git-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{app-faypxj3z.js → git-faypxj3z.js} +0 -0
- /package/dist/chunks/{app-fd410y7t.js → git-fd410y7t.js} +0 -0
- /package/dist/chunks/{app-g4wezp1m.js → git-g4wezp1m.js} +0 -0
- /package/dist/chunks/{app-g86h250q.js → git-g86h250q.js} +0 -0
- /package/dist/chunks/{app-gebd4c9n.js → git-gebd4c9n.js} +0 -0
- /package/dist/chunks/{app-gftt206x.js → git-gftt206x.js} +0 -0
- /package/dist/chunks/{app-hcxmzztb.js → git-hcxmzztb.js} +0 -0
- /package/dist/chunks/{app-hk9envan.js → git-hk9envan.js} +0 -0
- /package/dist/chunks/{app-j2ntwpah.js → git-j2ntwpah.js} +0 -0
- /package/dist/chunks/{app-j5zkgpj8.js → git-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{app-jjkms2e6.js → git-jjkms2e6.js} +0 -0
- /package/dist/chunks/{app-jr7sbwjy.js → git-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{app-jwfs4k6c.js → git-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{app-jze0r7bz.js → git-jze0r7bz.js} +0 -0
- /package/dist/chunks/{app-jzg6c2d5.js → git-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{app-m18g726c.js → git-m18g726c.js} +0 -0
- /package/dist/chunks/{app-mp448xyj.js → git-mp448xyj.js} +0 -0
- /package/dist/chunks/{app-msx8hqn2.js → git-msx8hqn2.js} +0 -0
- /package/dist/chunks/{app-n05xt0ee.js → git-n05xt0ee.js} +0 -0
- /package/dist/chunks/{app-n3j8tn72.js → git-n3j8tn72.js} +0 -0
- /package/dist/chunks/{app-njntx4h6.js → git-njntx4h6.js} +0 -0
- /package/dist/chunks/{app-pkyv6v7h.js → git-pkyv6v7h.js} +0 -0
- /package/dist/chunks/{app-pyv0edze.js → git-pyv0edze.js} +0 -0
- /package/dist/chunks/{app-q3sfg36h.js → git-q3sfg36h.js} +0 -0
- /package/dist/chunks/{app-q74kybfr.js → git-q74kybfr.js} +0 -0
- /package/dist/chunks/{app-qaymkmh1.js → git-qaymkmh1.js} +0 -0
- /package/dist/chunks/{app-qb87gjwd.js → git-qb87gjwd.js} +0 -0
- /package/dist/chunks/{app-qfa1cgps.js → git-qfa1cgps.js} +0 -0
- /package/dist/chunks/{app-qg3g05ea.js → git-qg3g05ea.js} +0 -0
- /package/dist/chunks/{app-qrg20bc0.js → git-qrg20bc0.js} +0 -0
- /package/dist/chunks/{app-rcb2kzg1.js → git-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{app-sdp7kfr6.js → git-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{app-ssg3fenm.js → git-ssg3fenm.js} +0 -0
- /package/dist/chunks/{app-ve7vex1e.js → git-ve7vex1e.js} +0 -0
- /package/dist/chunks/{app-w803qqfp.js → git-w803qqfp.js} +0 -0
- /package/dist/chunks/{app-wc3fc9cn.js → git-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{app-wer8tq1h.js → git-wer8tq1h.js} +0 -0
- /package/dist/chunks/{app-wjj7prxr.js → git-wjj7prxr.js} +0 -0
- /package/dist/chunks/{app-wtztk69x.js → git-wtztk69x.js} +0 -0
- /package/dist/chunks/{app-x0ckcb58.js → git-x0ckcb58.js} +0 -0
- /package/dist/chunks/{app-x61499pn.js → git-x61499pn.js} +0 -0
- /package/dist/chunks/{app-y44na4kk.js → git-y44na4kk.js} +0 -0
- /package/dist/chunks/{app-y8f7s663.js → git-y8f7s663.js} +0 -0
- /package/dist/chunks/{app-ygaqb7jw.js → git-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{app-ym463w8f.js → git-ym463w8f.js} +0 -0
- /package/dist/chunks/{app-z5v4ffb3.js → git-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{app-z9919s4g.js → git-z9919s4g.js} +0 -0
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/repository.ts
|
|
6
6
|
var exports_repository = {};
|
|
@@ -13,7 +13,7 @@ __export(exports_repository, {
|
|
|
13
13
|
cachePath: () => cachePath2,
|
|
14
14
|
isFile: () => isFile2,
|
|
15
15
|
isRemote: () => isRemote2,
|
|
16
|
-
parse: () =>
|
|
16
|
+
parse: () => parse5,
|
|
17
17
|
parseRemote: () => parseRemote2,
|
|
18
18
|
same: () => same2,
|
|
19
19
|
validateBranch: () => validateBranch3
|
|
@@ -39,7 +39,7 @@ class InvalidBranchError3 extends Schema.TaggedError()("RepositoryInvalidBranchE
|
|
|
39
39
|
message: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
|
-
function
|
|
42
|
+
function parse5(input) {
|
|
43
43
|
const cleaned = normalizeInput(input);
|
|
44
44
|
if (!cleaned)
|
|
45
45
|
return;
|
|
@@ -72,7 +72,7 @@ function parse4(input) {
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
function parseRemote2(input) {
|
|
75
|
-
const reference =
|
|
75
|
+
const reference = parse5(input);
|
|
76
76
|
if (!reference) {
|
|
77
77
|
throw new InvalidReferenceError2({
|
|
78
78
|
repository: input,
|
|
@@ -172,4 +172,4 @@ function buildFile(input) {
|
|
|
172
172
|
};
|
|
173
173
|
}
|
|
174
174
|
|
|
175
|
-
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3,
|
|
175
|
+
export { InvalidReferenceError2, UnsupportedLocalRepositoryError2, InvalidBranchError3, parse5, parseRemote2, validateBranch3, isFile2, isRemote2, cachePath2, cacheIdentity2, same2, exports_repository };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-dpkg50ah.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service79,
|
|
6
|
+
node82
|
|
7
|
+
} from "./git-n1ttjt0m.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./git-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/file-mutation.ts
|
|
13
13
|
var exports_file_mutation = {};
|
|
14
14
|
__export(exports_file_mutation, {
|
|
15
15
|
FileMutation: () => exports_file_mutation,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service78,
|
|
17
|
+
node: () => node81,
|
|
18
18
|
readText: () => readText2,
|
|
19
19
|
syncTextBom: () => syncTextBom2
|
|
20
20
|
});
|
|
@@ -22,7 +22,7 @@ import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
|
22
22
|
import { Context, Effect, Layer } from "effect";
|
|
23
23
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
24
24
|
import { Bom } from "@opencode/util/bom";
|
|
25
|
-
class
|
|
25
|
+
class Service78 extends Context.Service()("@opencode/FileMutation") {
|
|
26
26
|
}
|
|
27
27
|
var readText2 = Effect.fn("FileMutation.readText")(function* (files, target) {
|
|
28
28
|
return Bom.decodeBytes((yield* files.read(target)).bytes);
|
|
@@ -34,8 +34,8 @@ var syncTextBom2 = Effect.fn("FileMutation.syncTextBom")(function* (files, targe
|
|
|
34
34
|
return synced.text;
|
|
35
35
|
});
|
|
36
36
|
var transactionLocks = makeUnsafe2();
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const environment = yield*
|
|
37
|
+
var layer = Layer.effect(Service78, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service79;
|
|
39
39
|
const locks = makeUnsafe2();
|
|
40
40
|
const withLock = (targets) => (effect) => [...new Set(targets.map(FSUtil.resolve))].sort().reduceRight((result, target) => transactionLocks.withLock(target)(result), effect);
|
|
41
41
|
const withTargetLock = (target) => (effect) => locks.withLock(target.absolute)(Effect.uninterruptible(effect));
|
|
@@ -56,8 +56,8 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
56
56
|
yield* environment.files.write(input.target.absolute, new TextEncoder().encode(Bom.join(next.text, Boolean(current && Bom.has(current)) || next.bom)));
|
|
57
57
|
return writeResult(input.target, current !== undefined);
|
|
58
58
|
})));
|
|
59
|
-
return
|
|
59
|
+
return Service78.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node81 = makeLocationNode({ service: Service78, layer, deps: [node82] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service78, readText2, syncTextBom2, node81, exports_file_mutation };
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
call2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-ywt8jp22.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/websearch/exa.ts
|
|
9
9
|
var exports_exa = {};
|
|
10
10
|
__export(exports_exa, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin37,
|
|
12
12
|
WebSearchExa: () => exports_exa,
|
|
13
|
-
endpoint: () =>
|
|
13
|
+
endpoint: () => endpoint4
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Schema } from "effect";
|
|
17
17
|
import { HttpClient } from "effect/http";
|
|
18
|
-
var
|
|
18
|
+
var endpoint4 = "https://mcp.exa.ai/mcp";
|
|
19
19
|
var McpInput = Schema.Struct({
|
|
20
20
|
query: Schema.String,
|
|
21
21
|
numResults: Schema.Number.pipe(Schema.optional)
|
|
@@ -27,7 +27,7 @@ var McpOutput = Schema.Struct({
|
|
|
27
27
|
_meta: Schema.Struct({ searchTime: Schema.Number }).pipe(Schema.optional)
|
|
28
28
|
}))
|
|
29
29
|
});
|
|
30
|
-
var
|
|
30
|
+
var Plugin37 = define({
|
|
31
31
|
id: "opencode.websearch.exa",
|
|
32
32
|
effect: Effect.fn("WebSearchExa.Plugin")(function* (ctx) {
|
|
33
33
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -49,7 +49,7 @@ var Plugin27 = define({
|
|
|
49
49
|
execute: (input) => Effect.gen(function* () {
|
|
50
50
|
const connection = yield* ctx.integration.connection.active("exa");
|
|
51
51
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
52
|
-
const url = new URL(
|
|
52
|
+
const url = new URL(endpoint4);
|
|
53
53
|
if (credential?.type === "key")
|
|
54
54
|
url.searchParams.set("exaApiKey", credential.key);
|
|
55
55
|
const result = yield* call2(http, url.toString(), "web_search_exa", { input: McpInput, output: McpOutput }, { query: input.query, numResults: 8 });
|
|
@@ -80,4 +80,4 @@ function parseResults(text) {
|
|
|
80
80
|
});
|
|
81
81
|
}
|
|
82
82
|
|
|
83
|
-
export {
|
|
83
|
+
export { endpoint4, Plugin37, exports_exa };
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/workspace/driver.ts
|
|
6
6
|
var exports_driver = {};
|
|
7
7
|
__export(exports_driver, {
|
|
8
8
|
Binding: () => Binding2,
|
|
9
|
-
Error: () =>
|
|
9
|
+
Error: () => Error5,
|
|
10
10
|
ProviderNotFound: () => ProviderNotFound2,
|
|
11
11
|
RegistryService: () => RegistryService2,
|
|
12
12
|
WorkspaceDriver: () => exports_driver,
|
|
13
|
-
make: () =>
|
|
14
|
-
node: () =>
|
|
13
|
+
make: () => make21,
|
|
14
|
+
node: () => node88,
|
|
15
15
|
registry: () => registry2,
|
|
16
16
|
registryNode: () => registryNode2
|
|
17
17
|
});
|
|
@@ -19,7 +19,7 @@ import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
20
20
|
var Binding2 = Schema.Record(Schema.String, Schema.Json);
|
|
21
21
|
|
|
22
|
-
class
|
|
22
|
+
class Error5 extends Schema.TaggedError()("WorkspaceDriver.Error", {
|
|
23
23
|
message: Schema.optional(Schema.String),
|
|
24
24
|
cause: Schema.optional(Schema.Defect())
|
|
25
25
|
}) {
|
|
@@ -29,7 +29,7 @@ class ProviderNotFound2 extends Schema.TaggedError()("WorkspaceDriver.ProviderNo
|
|
|
29
29
|
provider: Schema.String
|
|
30
30
|
}) {
|
|
31
31
|
}
|
|
32
|
-
var
|
|
32
|
+
var make21 = (driver) => driver;
|
|
33
33
|
|
|
34
34
|
class RegistryService2 extends Context.Service()("@opencode/WorkspaceDriverRegistry") {
|
|
35
35
|
}
|
|
@@ -44,6 +44,6 @@ var registryNode2 = (drivers) => makeGlobalNode({
|
|
|
44
44
|
layer: Layer.succeed(RegistryService2, RegistryService2.of(registry2(drivers))),
|
|
45
45
|
deps: []
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var node88 = registryNode2({});
|
|
48
48
|
|
|
49
|
-
export { Binding2,
|
|
49
|
+
export { Binding2, Error5, ProviderNotFound2, make21, RegistryService2, registry2, registryNode2, node88, exports_driver };
|
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85,
|
|
6
6
|
node89
|
|
7
|
-
} from "./
|
|
8
|
-
import {
|
|
9
|
-
Service84,
|
|
10
|
-
node88
|
|
11
|
-
} from "./app-np4knan4.js";
|
|
7
|
+
} from "./git-3gt2qbz4.js";
|
|
12
8
|
import {
|
|
13
9
|
Service83,
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
10
|
+
node86
|
|
11
|
+
} from "./git-j840x00t.js";
|
|
12
|
+
import {
|
|
13
|
+
Service82,
|
|
14
|
+
node85
|
|
15
|
+
} from "./git-5mvg709s.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID17,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info28,
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./git-6g7e4dd5.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./git-rj3eygr5.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./git-sa8ekw3f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./git-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: () => ID16,
|
|
40
|
+
Info: () => Info27,
|
|
41
41
|
NotFoundError: () => NotFoundError11,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service81,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node84,
|
|
47
47
|
root: () => root2,
|
|
48
48
|
sweepNode: () => sweepNode2
|
|
49
49
|
});
|
|
@@ -56,14 +56,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
56
56
|
import { AppProcess } from "@opencode/util/process";
|
|
57
57
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
58
58
|
import { Hash } from "@opencode/util/hash";
|
|
59
|
-
var
|
|
59
|
+
var ID16 = ID17;
|
|
60
60
|
var Vcs2 = Vcs3;
|
|
61
61
|
var Current2 = Current3;
|
|
62
|
-
var
|
|
62
|
+
var Info27 = Info28;
|
|
63
63
|
var UpdateInput3 = UpdateInput4;
|
|
64
64
|
|
|
65
65
|
class NotFoundError11 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
66
|
-
projectID:
|
|
66
|
+
projectID: ID16
|
|
67
67
|
}) {
|
|
68
68
|
}
|
|
69
69
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -74,7 +74,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
74
74
|
var ACTIVATE_INTERVAL = 60000;
|
|
75
75
|
var SWEEP_INTERVAL = Duration.hours(1);
|
|
76
76
|
|
|
77
|
-
class
|
|
77
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
78
78
|
}
|
|
79
79
|
function fromRow(row) {
|
|
80
80
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -98,11 +98,11 @@ function fromRow(row) {
|
|
|
98
98
|
sandboxes: row.sandboxes
|
|
99
99
|
};
|
|
100
100
|
}
|
|
101
|
-
var layer = Layer.effect(
|
|
101
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
102
102
|
const fs = yield* FSUtil.Service;
|
|
103
|
-
const git = yield*
|
|
103
|
+
const git = yield* Service82;
|
|
104
104
|
const proc = yield* AppProcess.Service;
|
|
105
|
-
const bus = yield*
|
|
105
|
+
const bus = yield* Service83;
|
|
106
106
|
const db = (yield* Service85).db;
|
|
107
107
|
const announcing = new Set;
|
|
108
108
|
const persist = Effect.fnUntraced(function* (project) {
|
|
@@ -148,7 +148,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
148
148
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
149
149
|
projectID: item.projectID,
|
|
150
150
|
directory: item.directory,
|
|
151
|
-
previous: project.previous ??
|
|
151
|
+
previous: project.previous ?? ID16.global,
|
|
152
152
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
153
153
|
}, {
|
|
154
154
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
187
187
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
188
188
|
});
|
|
189
189
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
190
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
190
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID16.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
191
191
|
return;
|
|
192
192
|
}));
|
|
193
193
|
});
|
|
@@ -198,7 +198,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
198
198
|
const normalized = url(origin);
|
|
199
199
|
if (!normalized)
|
|
200
200
|
return;
|
|
201
|
-
return
|
|
201
|
+
return ID16.make(Hash.fast(`git-remote:${normalized}`));
|
|
202
202
|
});
|
|
203
203
|
function url(input) {
|
|
204
204
|
const value = input.trim();
|
|
@@ -223,7 +223,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
223
223
|
}
|
|
224
224
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
225
225
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
226
|
-
return root ?
|
|
226
|
+
return root ? ID16.make(root) : undefined;
|
|
227
227
|
});
|
|
228
228
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
229
229
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -239,7 +239,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
239
239
|
return;
|
|
240
240
|
const node = result.stdout.toString("utf8").split(`
|
|
241
241
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
242
|
-
return node ?
|
|
242
|
+
return node ? ID16.make(node) : undefined;
|
|
243
243
|
});
|
|
244
244
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
245
245
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -248,7 +248,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
248
248
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
249
249
|
return {
|
|
250
250
|
previous,
|
|
251
|
-
id: id ??
|
|
251
|
+
id: id ?? ID16.global,
|
|
252
252
|
directory: worktree,
|
|
253
253
|
vcs: { type: "hg", store }
|
|
254
254
|
};
|
|
@@ -265,7 +265,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
265
265
|
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));
|
|
266
266
|
return yield* persist({
|
|
267
267
|
previous,
|
|
268
|
-
id: id ??
|
|
268
|
+
id: id ?? ID16.global,
|
|
269
269
|
directory: repo.worktree,
|
|
270
270
|
canonical,
|
|
271
271
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -279,7 +279,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
279
279
|
});
|
|
280
280
|
}
|
|
281
281
|
return yield* persist({
|
|
282
|
-
id:
|
|
282
|
+
id: ID16.make(Hash.fast(`directory:${directory}`)),
|
|
283
283
|
directory,
|
|
284
284
|
canonical: directory,
|
|
285
285
|
vcs: undefined
|
|
@@ -288,7 +288,7 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
288
288
|
const sweep = Effect.fn("Project.sweep")(function* () {
|
|
289
289
|
const cutoff = Date.now() - Duration.toMillis(SWEEP_INTERVAL);
|
|
290
290
|
const idle = and(isNull(ProjectTable2.time_archived), lt(ProjectTable2.time_updated, cutoff), lt(ProjectTable2.time_active, cutoff));
|
|
291
|
-
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id,
|
|
291
|
+
const projects = yield* db.select({ id: ProjectTable2.id, canonical: ProjectTable2.worktree }).from(ProjectTable2).where(and(idle, ne(ProjectTable2.id, ID16.global))).all().pipe(Effect.orDie);
|
|
292
292
|
const worktrees = yield* db.select().from(WorktreeTable2).all().pipe(Effect.orDie);
|
|
293
293
|
const exists = (directory) => fs.exists(directory).pipe(Effect.orElseSucceed(() => true));
|
|
294
294
|
yield* Effect.forEach(projects, Effect.fnUntraced(function* (project) {
|
|
@@ -304,20 +304,20 @@ var layer = Layer.effect(Service82, Effect.gen(function* () {
|
|
|
304
304
|
yield* bus.publish(Event21.Updated, fromRow(row));
|
|
305
305
|
}), { concurrency: 8, discard: true });
|
|
306
306
|
});
|
|
307
|
-
return
|
|
307
|
+
return Service81.of({ list, update, activate, resolve, sweep });
|
|
308
308
|
}));
|
|
309
|
-
var
|
|
310
|
-
service:
|
|
309
|
+
var node84 = makeGlobalNode({
|
|
310
|
+
service: Service81,
|
|
311
311
|
layer,
|
|
312
|
-
deps: [
|
|
312
|
+
deps: [node86, node89, FSUtil.node, node85, AppProcess.node]
|
|
313
313
|
});
|
|
314
314
|
var sweepNode2 = makeGlobalNode({
|
|
315
315
|
name: "project-archive-sweep",
|
|
316
316
|
layer: Layer.effectDiscard(Effect.gen(function* () {
|
|
317
|
-
const project = yield*
|
|
317
|
+
const project = yield* Service81;
|
|
318
318
|
yield* project.sweep().pipe(Effect.ignoreCause({ log: "Error", message: "Project archive sweep failed" }), Effect.repeat(Schedule.spaced(SWEEP_INTERVAL)), Effect.forkScoped);
|
|
319
319
|
})),
|
|
320
|
-
deps: [
|
|
320
|
+
deps: [node84]
|
|
321
321
|
});
|
|
322
322
|
|
|
323
|
-
export {
|
|
323
|
+
export { ID16, Vcs2, Current2, Info27, UpdateInput3, NotFoundError11, root2, Service81, node84, sweepNode2, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./git-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./git-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/image.ts
|
|
9
9
|
var exports_image2 = {};
|
|
@@ -11,9 +11,9 @@ __export(exports_image2, {
|
|
|
11
11
|
DecodeError: () => DecodeError2,
|
|
12
12
|
Image: () => exports_image2,
|
|
13
13
|
ResizerUnavailableError: () => ResizerUnavailableError2,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service54,
|
|
15
15
|
SizeError: () => SizeError2,
|
|
16
|
-
node: () =>
|
|
16
|
+
node: () => node56
|
|
17
17
|
});
|
|
18
18
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
19
19
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -42,9 +42,9 @@ class SizeError2 extends Schema.TaggedError()("Image.SizeError", {
|
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
-
class
|
|
45
|
+
class Service54 extends Context.Service()("@opencode/Image") {
|
|
46
46
|
}
|
|
47
|
-
var layer = Layer.effect(
|
|
47
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
48
48
|
const state = create3({
|
|
49
49
|
name: "image",
|
|
50
50
|
initial: () => ({
|
|
@@ -74,8 +74,8 @@ var layer = Layer.effect(Service43, Effect.gen(function* () {
|
|
|
74
74
|
const normalize = yield* loadAdapter;
|
|
75
75
|
return yield* normalize(resource, content, state.get());
|
|
76
76
|
});
|
|
77
|
-
return
|
|
77
|
+
return Service54.of({ transform: state.transform, reload: state.reload, normalize });
|
|
78
78
|
}));
|
|
79
|
-
var
|
|
79
|
+
var node56 = makeLocationNode({ service: Service54, layer, deps: [] });
|
|
80
80
|
|
|
81
|
-
export { ResizerUnavailableError2, DecodeError2, SizeError2,
|
|
81
|
+
export { ResizerUnavailableError2, DecodeError2, SizeError2, Service54, node56, exports_image2 };
|