@opencode/core 0.0.0-dev-20119 → 0.0.0-dev-20120
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +5 -5
- package/dist/bus.js +73 -73
- package/dist/chunks/{permission-wtz46evs.js → bus-0aphxhy3.js} +6 -6
- package/dist/chunks/{permission-0paq2nw3.js → bus-0paq2nw3.js} +1 -1
- package/dist/chunks/{permission-vke85nbr.js → bus-0pwtbm8d.js} +42 -42
- package/dist/chunks/{permission-bckw6fxp.js → bus-0tk2ys0w.js} +14 -14
- package/dist/chunks/{permission-0v53mg2y.js → bus-0v53mg2y.js} +1 -1
- package/dist/chunks/{permission-2y34zzjz.js → bus-10jtetaj.js} +4 -4
- package/dist/chunks/{permission-n12p0aed.js → bus-164s88qm.js} +3 -3
- package/dist/chunks/{permission-f2n192rq.js → bus-1acjjqhc.js} +4 -4
- package/dist/chunks/{permission-bd8v2mxq.js → bus-1aff68qb.js} +22 -22
- package/dist/chunks/{permission-1dazxqgg.js → bus-1dazxqgg.js} +2 -2
- package/dist/chunks/{permission-1g7epwpd.js → bus-1g7epwpd.js} +1 -1
- package/dist/chunks/{permission-21r38tys.js → bus-21r38tys.js} +1 -1
- package/dist/chunks/{permission-carp2623.js → bus-23p96v1r.js} +5 -5
- package/dist/chunks/{permission-2402vzrj.js → bus-2402vzrj.js} +1 -1
- package/dist/chunks/{permission-p5q0qccq.js → bus-289e86vh.js} +7 -7
- package/dist/chunks/{permission-2a5m3afh.js → bus-2a5m3afh.js} +1 -1
- package/dist/chunks/{permission-vmwh049b.js → bus-2e96adxv.js} +6 -6
- package/dist/chunks/{permission-vc7rc5cq.js → bus-2eh44jhm.js} +29 -29
- package/dist/chunks/{permission-rx2tnj8d.js → bus-2hf4ykx9.js} +5 -5
- package/dist/chunks/{permission-2cmv458r.js → bus-2hg7qvzt.js} +5 -5
- package/dist/chunks/{permission-qgn6gcr1.js → bus-2k8khapm.js} +5 -5
- package/dist/chunks/{permission-ggfrbsvd.js → bus-2p8k3371.js} +8 -8
- package/dist/chunks/{permission-xtf11xng.js → bus-2rs5yfkz.js} +12 -12
- package/dist/chunks/{permission-b1gxpad1.js → bus-2vxnta51.js} +27 -27
- package/dist/chunks/{permission-2w3nn2sd.js → bus-2z8310yg.js} +23 -23
- package/dist/chunks/{permission-mfqp6xfm.js → bus-33w4ejhs.js} +9 -9
- package/dist/chunks/{permission-t0fxg8b9.js → bus-37s12vcn.js} +5 -5
- package/dist/chunks/{permission-7694dw28.js → bus-3dynr17n.js} +3 -3
- package/dist/chunks/{permission-3fc6dm20.js → bus-3fc6dm20.js} +1 -1
- package/dist/chunks/{permission-3hepkmqq.js → bus-3hepkmqq.js} +1 -1
- package/dist/chunks/{permission-c73zsg6z.js → bus-3kg98aef.js} +36 -36
- package/dist/chunks/{permission-5ne5kbwj.js → bus-3mvfcwmn.js} +15 -15
- package/dist/chunks/{permission-3smtnn6g.js → bus-3smtnn6g.js} +1 -1
- package/dist/chunks/{permission-3tvqynh2.js → bus-3tvqynh2.js} +1 -1
- package/dist/chunks/{permission-9mpknem2.js → bus-3ykcbj89.js} +17 -17
- package/dist/chunks/{permission-3zsf4n22.js → bus-3zsf4n22.js} +1 -1
- package/dist/chunks/{permission-9xrq1hr0.js → bus-4473wfhr.js} +24 -24
- package/dist/chunks/{permission-hbyc8em0.js → bus-46443g93.js} +27 -27
- package/dist/chunks/{permission-2p623br6.js → bus-4a6jpjer.js} +5 -5
- package/dist/chunks/{permission-hczfswh2.js → bus-4dwjvpsb.js} +37 -37
- package/dist/chunks/{permission-7rrn560x.js → bus-4k0xqdp1.js} +6 -6
- package/dist/chunks/{permission-vxzatawb.js → bus-4y5r2s8b.js} +41 -41
- package/dist/chunks/{permission-3c4dqjmx.js → bus-4zt7vk3e.js} +8 -8
- package/dist/chunks/{permission-50mzsvk4.js → bus-50mzsvk4.js} +1 -1
- package/dist/chunks/{permission-bgxcxs0p.js → bus-510m7gjw.js} +5 -5
- package/dist/chunks/{permission-vpzcv88j.js → bus-532wn72m.js} +20 -20
- package/dist/chunks/{permission-j4sn1ecc.js → bus-53he4jtf.js} +16 -16
- package/dist/chunks/{permission-ve49xb5v.js → bus-558q8f18.js} +6 -6
- package/dist/chunks/{permission-qqeeq2t9.js → bus-57b9ws8p.js} +4 -4
- package/dist/chunks/{permission-57ez7d0k.js → bus-57ez7d0k.js} +2 -2
- package/dist/chunks/{permission-nagffze5.js → bus-591hfs6w.js} +12 -12
- package/dist/chunks/{permission-5daktx2q.js → bus-5daktx2q.js} +1 -1
- package/dist/chunks/{permission-2pft9xwb.js → bus-5e23jtee.js} +4 -4
- package/dist/chunks/{permission-5ekn9679.js → bus-5ekn9679.js} +1 -1
- package/dist/chunks/{permission-zvjv1m78.js → bus-5hsmzm6x.js} +24 -24
- package/dist/chunks/{permission-9qc7wazq.js → bus-5hw9wg1w.js} +13 -13
- package/dist/chunks/{permission-04t4qrc0.js → bus-5mhk3hnh.js} +8 -8
- package/dist/chunks/{permission-5t3nmthw.js → bus-5t3nmthw.js} +2 -2
- package/dist/chunks/{permission-wq4mmp7m.js → bus-5xpznt2d.js} +4 -4
- package/dist/chunks/{permission-113m8np5.js → bus-5y16yxhf.js} +38 -38
- package/dist/chunks/{permission-4xhhjths.js → bus-64s65d1n.js} +8 -8
- package/dist/chunks/{permission-669tq793.js → bus-669tq793.js} +1 -1
- package/dist/chunks/{permission-j0cm5373.js → bus-6790c4gc.js} +22 -22
- package/dist/chunks/{permission-g3xxm8dx.js → bus-6869j5x3.js} +24 -24
- package/dist/chunks/{permission-gg5r1fmx.js → bus-68t91stz.js} +26 -26
- package/dist/chunks/{permission-4x6a2nc2.js → bus-69fyavwc.js} +23 -23
- package/dist/chunks/{permission-t9qawdje.js → bus-6e7ra9xr.js} +43 -43
- package/dist/chunks/{permission-nnxdhk5c.js → bus-6ersrjne.js} +6 -6
- package/dist/chunks/{permission-3729hm93.js → bus-6g6czt8k.js} +28 -28
- package/dist/chunks/bus-6kdq0pjd.js +4 -0
- package/dist/chunks/{permission-b5ghb0em.js → bus-6kf7h7pm.js} +4 -4
- package/dist/chunks/{permission-6msgmcgs.js → bus-6msgmcgs.js} +1 -1
- package/dist/chunks/{permission-q6354v6v.js → bus-6nj7wcw4.js} +18 -18
- package/dist/chunks/{permission-1wxdd9bp.js → bus-6v5a3sjt.js} +36 -36
- package/dist/chunks/{permission-g8qbx9yb.js → bus-6vjn8bs4.js} +2 -2
- package/dist/chunks/{permission-1g07kwny.js → bus-7667x3dh.js} +8 -8
- package/dist/chunks/{permission-7bmhse3q.js → bus-7bmhse3q.js} +1 -1
- package/dist/chunks/{permission-fyjcya9r.js → bus-7hxcrbpt.js} +16 -16
- package/dist/chunks/{permission-9z7rvmdz.js → bus-7n4snhe6.js} +32 -32
- package/dist/chunks/{permission-w68gvhaz.js → bus-7qyhf897.js} +60 -60
- package/dist/chunks/{permission-5cmxdwv8.js → bus-7w99qc9d.js} +3 -3
- package/dist/chunks/{permission-n2srvep7.js → bus-80scg3y3.js} +4 -4
- package/dist/chunks/{permission-z1axspxz.js → bus-82f2n6pz.js} +30 -30
- package/dist/chunks/{permission-njhqdk9p.js → bus-82rhge12.js} +9 -9
- package/dist/chunks/{permission-8d7r5vzw.js → bus-8d7r5vzw.js} +1 -1
- package/dist/chunks/{permission-ndwep2rn.js → bus-8jgdc00b.js} +42 -42
- package/dist/chunks/{permission-61arc71x.js → bus-8ntpctcn.js} +3 -3
- package/dist/chunks/{permission-63w0j7wf.js → bus-8x3489c6.js} +10 -10
- package/dist/chunks/{permission-94ek1h2f.js → bus-94ek1h2f.js} +2 -2
- package/dist/chunks/{permission-e2zbxa1f.js → bus-98hraz26.js} +32 -32
- package/dist/chunks/{permission-s1ees2yq.js → bus-9a0tea98.js} +15 -15
- package/dist/chunks/{permission-twhc8j6t.js → bus-9a9tb9b7.js} +175 -175
- package/dist/chunks/{permission-rndtc434.js → bus-9e4j78a5.js} +11 -11
- package/dist/chunks/{permission-aw0qan0x.js → bus-9ra3hjx5.js} +19 -19
- package/dist/chunks/{permission-9yf7r90v.js → bus-9tsa03a7.js} +18 -18
- package/dist/chunks/{permission-y3paj102.js → bus-9wzzv3d4.js} +10 -10
- package/dist/chunks/{permission-4et1xenj.js → bus-a4w2tty6.js} +22 -22
- package/dist/chunks/{permission-1dfcvs2e.js → bus-a7q78ykb.js} +35 -35
- package/dist/chunks/{permission-aaet6srn.js → bus-aaet6srn.js} +2 -2
- package/dist/chunks/{permission-xn1qvbwd.js → bus-ag9dg5tv.js} +4 -4
- package/dist/chunks/{permission-2epmtwtd.js → bus-ajvebkcv.js} +7 -7
- package/dist/chunks/{permission-dzv299pc.js → bus-an2m8jxp.js} +5 -5
- package/dist/chunks/{permission-shy231ea.js → bus-b1k96n1k.js} +8 -8
- package/dist/chunks/{permission-b3x37y50.js → bus-b3mnbz4x.js} +42 -42
- package/dist/chunks/{permission-rxxsve6v.js → bus-b5pmzzwt.js} +16 -16
- package/dist/chunks/{permission-b6gygkdw.js → bus-b6gygkdw.js} +2 -2
- package/dist/chunks/{permission-hn57h045.js → bus-baaqp4zd.js} +4 -4
- package/dist/chunks/bus-bb4pz6c3.js +252 -0
- package/dist/chunks/{permission-69fxs3yh.js → bus-bcc00dfx.js} +25 -25
- package/dist/chunks/{permission-swnc7zb1.js → bus-bjkbzs1n.js} +9 -9
- package/dist/chunks/{permission-7ca3fsrw.js → bus-bn9g0ay3.js} +9 -9
- package/dist/chunks/{permission-8pg06mrd.js → bus-bpa4sr12.js} +9 -9
- package/dist/chunks/{permission-zy43x3f1.js → bus-btbmdjwj.js} +4 -4
- package/dist/chunks/{permission-7xhxk32r.js → bus-bx8k04fv.js} +32 -32
- package/dist/chunks/{permission-bjmex0pb.js → bus-c0tew9h0.js} +90 -90
- package/dist/chunks/{permission-bn2x0fwm.js → bus-c2d6efkk.js} +18 -18
- package/dist/chunks/{permission-h4pt5600.js → bus-cg1zn3em.js} +24 -24
- package/dist/chunks/{permission-ckecvw8r.js → bus-ckecvw8r.js} +2 -2
- package/dist/chunks/{permission-ydq8kqe2.js → bus-cnwavjs9.js} +10 -10
- package/dist/chunks/{permission-2sejkfem.js → bus-cwa6csj7.js} +9 -9
- package/dist/chunks/{permission-v8d2538b.js → bus-d0dpxhdy.js} +13 -13
- package/dist/chunks/{permission-btw1fp9y.js → bus-d1ybfbkk.js} +11 -11
- package/dist/chunks/{permission-2xnc269x.js → bus-d1ywvx9d.js} +20 -20
- package/dist/chunks/{permission-t69a2jzb.js → bus-d27fb3rp.js} +15 -15
- package/dist/chunks/{permission-resa534e.js → bus-d63sn1es.js} +25 -25
- package/dist/chunks/{permission-15c6mc19.js → bus-dce2hbks.js} +14 -14
- package/dist/chunks/{permission-53fyba40.js → bus-dg2cj1yd.js} +4 -4
- package/dist/chunks/{permission-29eybrv2.js → bus-dm5wnt06.js} +11 -11
- package/dist/chunks/{permission-df8ehadt.js → bus-dr9114b3.js} +19 -19
- package/dist/chunks/{permission-9hn6k4tm.js → bus-dv1qgsyq.js} +4 -4
- package/dist/chunks/{permission-sq3wxzej.js → bus-dvjwc1jd.js} +26 -26
- package/dist/chunks/{permission-ff7vxqds.js → bus-e1hrzsan.js} +12 -12
- package/dist/chunks/{permission-ecfe7b91.js → bus-ecfe7b91.js} +2 -2
- package/dist/chunks/{permission-ef5x83kb.js → bus-ef5x83kb.js} +1 -1
- package/dist/chunks/{permission-yy8mbgft.js → bus-eh6v2xt8.js} +5 -5
- package/dist/chunks/{permission-5sbkef6x.js → bus-ej2v6pb4.js} +26 -26
- package/dist/chunks/{permission-3g4qjr57.js → bus-en6pdrmj.js} +33 -33
- package/dist/chunks/{permission-yzjzvpx0.js → bus-en855e9q.js} +15 -15
- package/dist/chunks/{permission-66728888.js → bus-er6eqcq4.js} +17 -17
- package/dist/chunks/{permission-etq0c3wd.js → bus-etq0c3wd.js} +1 -1
- package/dist/chunks/{permission-e9qrpmap.js → bus-f7srz8vp.js} +31 -31
- package/dist/chunks/{permission-308erpwc.js → bus-ffyxsvc8.js} +37 -37
- package/dist/chunks/{permission-smf8s82w.js → bus-frttmpwd.js} +14 -14
- package/dist/chunks/{permission-cjbktpgm.js → bus-g2vg20pk.js} +13 -13
- package/dist/chunks/{permission-hrjj7k7w.js → bus-g3zs80zy.js} +13 -13
- package/dist/chunks/{permission-xg6d6gb2.js → bus-g8yrnpej.js} +32 -32
- package/dist/chunks/{permission-8me9vsnm.js → bus-gbnpsc00.js} +35 -35
- package/dist/chunks/{permission-gd4qta3r.js → bus-gd4qta3r.js} +1 -1
- package/dist/chunks/{permission-r91gwwk6.js → bus-gepv4h39.js} +13 -13
- package/dist/chunks/{permission-gv6a8nnw.js → bus-gv6a8nnw.js} +2 -2
- package/dist/chunks/{permission-daaj9csy.js → bus-gxqmhm25.js} +1 -1
- package/dist/chunks/{permission-nzyhnfxz.js → bus-h6r3nrb9.js} +4 -4
- package/dist/chunks/{permission-h6vf3j39.js → bus-h6vf3j39.js} +1 -1
- package/dist/chunks/{permission-86c1psec.js → bus-hk3ctm5n.js} +23 -23
- package/dist/chunks/{permission-s8zy8myc.js → bus-hkfg6fzm.js} +5 -5
- package/dist/chunks/{permission-9kq1wtd8.js → bus-htr6fmqq.js} +21 -21
- package/dist/chunks/{permission-1zf14f37.js → bus-j09v5y8k.js} +17 -17
- package/dist/chunks/{permission-qcq07nqx.js → bus-j4mkemyr.js} +26 -26
- package/dist/chunks/{permission-j56e64zr.js → bus-j56e64zr.js} +1 -1
- package/dist/chunks/{permission-s9pph64z.js → bus-j6cs17n6.js} +31 -31
- package/dist/chunks/{permission-c3xwdzde.js → bus-javke9pj.js} +24 -24
- package/dist/chunks/{permission-ch8wkw76.js → bus-jh3gssky.js} +6 -6
- package/dist/chunks/{permission-2xjg99vg.js → bus-jh5fsdvg.js} +75 -75
- package/dist/chunks/{permission-t73e6et9.js → bus-jh76kevn.js} +11 -11
- package/dist/chunks/{permission-dqc33aa7.js → bus-jhdkfdqd.js} +30 -30
- package/dist/chunks/{permission-vwqfcj84.js → bus-jmc0v9mm.js} +9 -9
- package/dist/chunks/{permission-3ryq3ta5.js → bus-jnnfack4.js} +23 -23
- package/dist/chunks/bus-jqh9b0xq.js +18 -0
- package/dist/chunks/bus-k3fvns7c.js +507 -0
- package/dist/chunks/{permission-gc4fb455.js → bus-k3yea1v9.js} +4 -4
- package/dist/chunks/{permission-r3c4069c.js → bus-k53npxr2.js} +1 -1
- package/dist/chunks/{permission-e1mq448c.js → bus-k9p607fy.js} +7 -7
- package/dist/chunks/{permission-rbygrj0c.js → bus-kb3wdknj.js} +6 -6
- package/dist/chunks/{permission-aneyr7g2.js → bus-kgnf550j.js} +24 -24
- package/dist/chunks/{permission-dk94y6ts.js → bus-kq7cxy5p.js} +18 -18
- package/dist/chunks/{permission-pxwjnjef.js → bus-kwg24pm2.js} +23 -23
- package/dist/chunks/{permission-m3fdjcah.js → bus-m3fdjcah.js} +1 -1
- package/dist/chunks/{permission-m9w0rfyh.js → bus-m9w0rfyh.js} +1 -1
- package/dist/chunks/{permission-wvhnf3q7.js → bus-mestvbzy.js} +30 -30
- package/dist/chunks/{permission-mhkvc446.js → bus-mhkvc446.js} +1 -1
- package/dist/chunks/{permission-2zk1jpk4.js → bus-mhm4sgj3.js} +41 -41
- package/dist/chunks/{permission-13f0rtqg.js → bus-mj2a8ndt.js} +5 -5
- package/dist/chunks/bus-mt8qwt01.js +26 -0
- package/dist/chunks/{permission-6597wevy.js → bus-mxd8xx25.js} +7 -7
- package/dist/chunks/{permission-kw0x4zv0.js → bus-my28n560.js} +11 -11
- package/dist/chunks/{permission-ncve3449.js → bus-mz78b8aw.js} +53 -53
- package/dist/chunks/{permission-vmgq4x8b.js → bus-nng2ktcm.js} +2 -2
- package/dist/chunks/{permission-93s3r6ze.js → bus-ntvje2wv.js} +10 -10
- package/dist/chunks/{permission-fnx7dc71.js → bus-nz226qv2.js} +42 -42
- package/dist/chunks/{permission-k3c624dm.js → bus-nzks3jc8.js} +3 -3
- package/dist/chunks/{permission-n1t5s24y.js → bus-p26h8rmj.js} +20 -20
- package/dist/chunks/{permission-wmvwqzxt.js → bus-p2ghveb7.js} +10 -10
- package/dist/chunks/{permission-bhtxa2ab.js → bus-p4h2ee3k.js} +37 -37
- package/dist/chunks/{permission-kqhbbeev.js → bus-pfvrqk7c.js} +5 -5
- package/dist/chunks/{permission-pjvnvgmy.js → bus-pjvnvgmy.js} +1 -1
- package/dist/chunks/{permission-pknna89w.js → bus-pknna89w.js} +1 -1
- package/dist/chunks/{permission-hv6ry3a8.js → bus-pmnz6x88.js} +32 -32
- package/dist/chunks/{permission-vq40g84k.js → bus-pxnn0hzj.js} +5 -5
- package/dist/chunks/{permission-t52dvsat.js → bus-q0kn3svj.js} +11 -11
- package/dist/chunks/{permission-f9sk94pt.js → bus-q4rrewpj.js} +9 -9
- package/dist/chunks/{permission-f8rs397p.js → bus-qd7njmhj.js} +18 -18
- package/dist/chunks/{permission-5syk7be4.js → bus-qejegbf7.js} +9 -9
- package/dist/chunks/{permission-nq7qbqzc.js → bus-qg0jgkcp.js} +9 -9
- package/dist/chunks/{permission-am94z2sr.js → bus-qjmyffbz.js} +22 -22
- package/dist/chunks/{permission-jb5n3819.js → bus-qkzt4n85.js} +32 -32
- package/dist/chunks/{permission-ys6brrpt.js → bus-qp0qcvc3.js} +4 -4
- package/dist/chunks/{permission-qsdy395h.js → bus-qsdy395h.js} +1 -1
- package/dist/chunks/{permission-765ny0k6.js → bus-qysagv28.js} +5 -5
- package/dist/chunks/{permission-x9pr068f.js → bus-r5zp2xvk.js} +16 -16
- package/dist/chunks/{permission-rdw6cm16.js → bus-rdw6cm16.js} +1 -1
- package/dist/chunks/{permission-h4637n2w.js → bus-rn4807fq.js} +10 -10
- package/dist/chunks/{permission-1fg2v749.js → bus-s2r1nmf5.js} +22 -22
- package/dist/chunks/{permission-10essmcm.js → bus-s4y91pv1.js} +1 -1
- package/dist/chunks/{permission-bnmr3cva.js → bus-s5met55r.js} +8 -8
- package/dist/chunks/{permission-eaj1djv9.js → bus-s8d7rejh.js} +6 -6
- package/dist/chunks/{permission-647mpkz7.js → bus-sc0dy51e.js} +28 -28
- package/dist/chunks/{permission-ymsfrre1.js → bus-set96w9c.js} +25 -25
- package/dist/chunks/{permission-km54khth.js → bus-sq03nw7q.js} +5 -5
- package/dist/chunks/{permission-trczvf7r.js → bus-ssxxqz2z.js} +48 -48
- package/dist/chunks/{permission-24cw7476.js → bus-svwvgw0p.js} +5 -5
- package/dist/chunks/{permission-w8djw5a7.js → bus-t6qketva.js} +9 -9
- package/dist/chunks/{permission-2q4t92h6.js → bus-t9nxfj60.js} +15 -15
- package/dist/chunks/{permission-tazgh4e4.js → bus-tazgh4e4.js} +1 -1
- package/dist/chunks/{permission-89znhe33.js → bus-tcezcvh9.js} +4 -4
- package/dist/chunks/{permission-tdstcens.js → bus-tdstcens.js} +1 -1
- package/dist/chunks/{permission-f1hxsvn9.js → bus-tkxy3zey.js} +3 -3
- package/dist/chunks/{permission-mk8ce6h1.js → bus-tmw8r5ax.js} +18 -18
- package/dist/chunks/{permission-tvtrv512.js → bus-tvtrv512.js} +1 -1
- package/dist/chunks/{permission-ckm4tpe3.js → bus-v9cj5dav.js} +7 -7
- package/dist/chunks/{permission-4e0rwsh6.js → bus-v9ttbc11.js} +9 -9
- package/dist/chunks/{permission-veqvce7d.js → bus-veqvce7d.js} +1 -1
- package/dist/chunks/{permission-y5df08dr.js → bus-vy4zg7qh.js} +12 -12
- package/dist/chunks/{permission-vzcthcp8.js → bus-vzcthcp8.js} +1 -1
- package/dist/chunks/{permission-3gd27br4.js → bus-w3qytxyt.js} +20 -20
- package/dist/chunks/{permission-w3wsvvr9.js → bus-w3wsvvr9.js} +1 -1
- package/dist/chunks/{permission-jrbfgch9.js → bus-w4j00t45.js} +15 -15
- package/dist/chunks/{permission-wdf9qch3.js → bus-w7k6j2a3.js} +58 -58
- package/dist/chunks/{permission-jws6fkes.js → bus-w92k2e0p.js} +2 -2
- package/dist/chunks/{permission-tzqw0ecz.js → bus-wad8yrrs.js} +9 -9
- package/dist/chunks/{permission-gb1a8et5.js → bus-wam6zj6d.js} +32 -32
- package/dist/chunks/{permission-wd3x2cqz.js → bus-wd3x2cqz.js} +2 -2
- package/dist/chunks/{permission-wd87259q.js → bus-wd87259q.js} +1 -1
- package/dist/chunks/{permission-y0ed41ky.js → bus-wgxdx5hm.js} +13 -13
- package/dist/chunks/{permission-c8mwjc3e.js → bus-wn1pdx1c.js} +4 -4
- package/dist/chunks/{permission-j4jmf9mg.js → bus-wpkwc4jm.js} +3 -3
- package/dist/chunks/{permission-8qpk3zmp.js → bus-wrtwksw2.js} +23 -23
- package/dist/chunks/{permission-xvf478q1.js → bus-wswstrrw.js} +29 -29
- package/dist/chunks/{permission-nrs9j53j.js → bus-x17jm467.js} +95 -95
- package/dist/chunks/{permission-x1ezjp6w.js → bus-x1ezjp6w.js} +1 -1
- package/dist/chunks/{permission-mfqk18t8.js → bus-x1fhfwhd.js} +3 -3
- package/dist/chunks/{permission-6ysrkrkr.js → bus-x2qdxhwm.js} +8 -8
- package/dist/chunks/{permission-fadt7qz2.js → bus-x4w3r6cj.js} +7 -7
- package/dist/chunks/{permission-d864sp7p.js → bus-x5yxy9ce.js} +14 -14
- package/dist/chunks/{permission-2mg2c90e.js → bus-x88sd9vg.js} +8 -8
- package/dist/chunks/{permission-3ppptnan.js → bus-xcd0eash.js} +6 -6
- package/dist/chunks/{permission-kak6mpy1.js → bus-xfkng03w.js} +9 -9
- package/dist/chunks/{permission-xkntkrq7.js → bus-xkntkrq7.js} +2 -2
- package/dist/chunks/{permission-t76bg29x.js → bus-xr3vnqvw.js} +11 -11
- package/dist/chunks/{permission-ebqtxa3d.js → bus-xsq35xtq.js} +14 -14
- package/dist/chunks/{permission-y1fvbwt7.js → bus-y1fvbwt7.js} +1 -1
- package/dist/chunks/{permission-y71avatq.js → bus-y71avatq.js} +1 -1
- package/dist/chunks/{permission-fzh8x5rh.js → bus-y7zpcszc.js} +8 -8
- package/dist/chunks/{permission-wprevzch.js → bus-y9wajj3h.js} +9 -9
- package/dist/chunks/{permission-paksbeb0.js → bus-ybcjevba.js} +13 -13
- package/dist/chunks/{permission-h55f8ekh.js → bus-ygm7vbzh.js} +13 -13
- package/dist/chunks/{permission-bs9gq3kg.js → bus-yr3b1252.js} +9 -9
- package/dist/chunks/{permission-yrhqyw5v.js → bus-yrhqyw5v.js} +1 -1
- package/dist/chunks/{permission-yrznvahk.js → bus-yrznvahk.js} +2 -2
- package/dist/chunks/{permission-dfjjnqjz.js → bus-yt4p079e.js} +22 -22
- package/dist/chunks/{permission-8n69n882.js → bus-yvvvp4gn.js} +4 -4
- package/dist/chunks/{permission-6zcrwpkc.js → bus-yytqf23a.js} +25 -25
- package/dist/chunks/{permission-qrdkkm3g.js → bus-yyvycyd9.js} +11 -11
- package/dist/chunks/{permission-z07pqspn.js → bus-z07pqspn.js} +3 -3
- package/dist/chunks/{permission-z0bkrqjs.js → bus-z0bkrqjs.js} +1 -1
- package/dist/chunks/{permission-5zpzs5d8.js → bus-z2ydsh5b.js} +18 -18
- package/dist/chunks/{permission-z63w68vq.js → bus-z63w68vq.js} +2 -2
- package/dist/chunks/{permission-w3bvxqb3.js → bus-z84vp5bs.js} +4 -4
- package/dist/chunks/{permission-jcqyfzsp.js → bus-zd4x75bk.js} +36 -36
- package/dist/chunks/{permission-zeh9ct20.js → bus-zeh9ct20.js} +2 -2
- package/dist/chunks/{permission-6ysjh389.js → bus-zfbsw1e6.js} +3 -3
- package/dist/chunks/{permission-zr2ceqn5.js → bus-zr2ceqn5.js} +1 -1
- package/dist/chunks/{permission-ek20zwdz.js → bus-zr2g05xs.js} +8 -8
- package/dist/chunks/{permission-dvj3ypxf.js → bus-zt8acy92.js} +12 -12
- package/dist/chunks/{permission-24rqwmmy.js → bus-zw0kpawm.js} +20 -20
- package/dist/chunks/{permission-zxq2ej10.js → bus-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +214 -214
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +123 -123
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +125 -125
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +122 -122
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +14 -14
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +371 -371
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- package/dist/file-retention.js +1 -1
- package/dist/file.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/ignore.js +1 -1
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +225 -225
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +2 -2
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- package/dist/git.js +10 -10
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +86 -86
- package/dist/job.js +79 -79
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +69 -69
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +85 -85
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +101 -101
- package/dist/plugin/compaction.js +133 -133
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +121 -121
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +93 -93
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +92 -92
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +78 -78
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +120 -120
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +160 -160
- package/dist/plugin/sdk.js +72 -72
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +352 -352
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/warming.js +121 -121
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +79 -79
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +152 -152
- package/dist/session/diff.js +88 -88
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +224 -224
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +119 -119
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +112 -112
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +208 -208
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +156 -156
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +222 -222
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +138 -138
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +127 -127
- package/dist/tool/plugin/edit.js +118 -118
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +120 -120
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +105 -105
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +217 -217
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +219 -219
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- 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 +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +1 -1
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- package/dist/v1/config/permission.js +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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +1 -1
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +93 -93
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +84 -84
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +81 -81
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/permission-0mesazry.js +0 -4
- package/dist/chunks/permission-9s62myhf.js +0 -507
- package/dist/chunks/permission-c3bcdhax.js +0 -26
- package/dist/chunks/permission-jpgw2gw7.js +0 -252
- package/dist/chunks/permission-v1faaxn9.js +0 -18
- /package/dist/chunks/{permission-0qkdqm5v.js → bus-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{permission-0zkw76rk.js → bus-0zkw76rk.js} +0 -0
- /package/dist/chunks/{permission-17cy0kzp.js → bus-17cy0kzp.js} +0 -0
- /package/dist/chunks/{permission-1cnp2v09.js → bus-1cnp2v09.js} +0 -0
- /package/dist/chunks/{permission-1kg9ymc8.js → bus-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{permission-24dcb14g.js → bus-24dcb14g.js} +0 -0
- /package/dist/chunks/{permission-2710q6r3.js → bus-2710q6r3.js} +0 -0
- /package/dist/chunks/{permission-2axfhc9x.js → bus-2axfhc9x.js} +0 -0
- /package/dist/chunks/{permission-2c3vjs8z.js → bus-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{permission-34c7v6d4.js → bus-34c7v6d4.js} +0 -0
- /package/dist/chunks/{permission-359p4xyc.js → bus-359p4xyc.js} +0 -0
- /package/dist/chunks/{permission-3asan66x.js → bus-3asan66x.js} +0 -0
- /package/dist/chunks/{permission-3v8g72cx.js → bus-3v8g72cx.js} +0 -0
- /package/dist/chunks/{permission-3w5fmr99.js → bus-3w5fmr99.js} +0 -0
- /package/dist/chunks/{permission-3wcehsnq.js → bus-3wcehsnq.js} +0 -0
- /package/dist/chunks/{permission-43n2bw4t.js → bus-43n2bw4t.js} +0 -0
- /package/dist/chunks/{permission-4knz6hnm.js → bus-4knz6hnm.js} +0 -0
- /package/dist/chunks/{permission-4vcrnpx2.js → bus-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{permission-4y7fprxs.js → bus-4y7fprxs.js} +0 -0
- /package/dist/chunks/{permission-53557ph1.js → bus-53557ph1.js} +0 -0
- /package/dist/chunks/{permission-550bvhaj.js → bus-550bvhaj.js} +0 -0
- /package/dist/chunks/{permission-5qd3pb7m.js → bus-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{permission-6prwharc.js → bus-6prwharc.js} +0 -0
- /package/dist/chunks/{permission-7akdwqpd.js → bus-7akdwqpd.js} +0 -0
- /package/dist/chunks/{permission-7m9af43g.js → bus-7m9af43g.js} +0 -0
- /package/dist/chunks/{permission-822emrt2.js → bus-822emrt2.js} +0 -0
- /package/dist/chunks/{permission-88xbtdfr.js → bus-88xbtdfr.js} +0 -0
- /package/dist/chunks/{permission-8n3pysct.js → bus-8n3pysct.js} +0 -0
- /package/dist/chunks/{permission-8wj87zfr.js → bus-8wj87zfr.js} +0 -0
- /package/dist/chunks/{permission-922hggd3.js → bus-922hggd3.js} +0 -0
- /package/dist/chunks/{permission-9a4afbnw.js → bus-9a4afbnw.js} +0 -0
- /package/dist/chunks/{permission-9rqn6x4v.js → bus-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{permission-a6k6eb26.js → bus-a6k6eb26.js} +0 -0
- /package/dist/chunks/{permission-af5trqkr.js → bus-af5trqkr.js} +0 -0
- /package/dist/chunks/{permission-afrmfg78.js → bus-afrmfg78.js} +0 -0
- /package/dist/chunks/{permission-aqzs7mqg.js → bus-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{permission-atq7p7m5.js → bus-atq7p7m5.js} +0 -0
- /package/dist/chunks/{permission-bkyjaxrp.js → bus-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{permission-bmr6ed5q.js → bus-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{permission-cf4snx6d.js → bus-cf4snx6d.js} +0 -0
- /package/dist/chunks/{permission-cvy3z8tj.js → bus-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{permission-d9fn303g.js → bus-d9fn303g.js} +0 -0
- /package/dist/chunks/{permission-d9jj8t3e.js → bus-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{permission-dajrwvna.js → bus-dajrwvna.js} +0 -0
- /package/dist/chunks/{permission-dap0rakb.js → bus-dap0rakb.js} +0 -0
- /package/dist/chunks/{permission-df08tz66.js → bus-df08tz66.js} +0 -0
- /package/dist/chunks/{permission-dy18nga0.js → bus-dy18nga0.js} +0 -0
- /package/dist/chunks/{permission-e5kj55wp.js → bus-e5kj55wp.js} +0 -0
- /package/dist/chunks/{permission-e73j6tqm.js → bus-e73j6tqm.js} +0 -0
- /package/dist/chunks/{permission-ec1grn59.js → bus-ec1grn59.js} +0 -0
- /package/dist/chunks/{permission-eh3zwz77.js → bus-eh3zwz77.js} +0 -0
- /package/dist/chunks/{permission-emrn6kk6.js → bus-emrn6kk6.js} +0 -0
- /package/dist/chunks/{permission-f0mxakyp.js → bus-f0mxakyp.js} +0 -0
- /package/dist/chunks/{permission-f6n9ztr4.js → bus-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{permission-faypxj3z.js → bus-faypxj3z.js} +0 -0
- /package/dist/chunks/{permission-fd410y7t.js → bus-fd410y7t.js} +0 -0
- /package/dist/chunks/{permission-fxgpk5d8.js → bus-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{permission-g4wezp1m.js → bus-g4wezp1m.js} +0 -0
- /package/dist/chunks/{permission-g86h250q.js → bus-g86h250q.js} +0 -0
- /package/dist/chunks/{permission-gebd4c9n.js → bus-gebd4c9n.js} +0 -0
- /package/dist/chunks/{permission-gftt206x.js → bus-gftt206x.js} +0 -0
- /package/dist/chunks/{permission-hjbc5kem.js → bus-hjbc5kem.js} +0 -0
- /package/dist/chunks/{permission-hk9envan.js → bus-hk9envan.js} +0 -0
- /package/dist/chunks/{permission-j2ntwpah.js → bus-j2ntwpah.js} +0 -0
- /package/dist/chunks/{permission-j5zkgpj8.js → bus-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{permission-jjkms2e6.js → bus-jjkms2e6.js} +0 -0
- /package/dist/chunks/{permission-jr7sbwjy.js → bus-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{permission-jwfs4k6c.js → bus-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{permission-jzg6c2d5.js → bus-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{permission-mp448xyj.js → bus-mp448xyj.js} +0 -0
- /package/dist/chunks/{permission-msx8hqn2.js → bus-msx8hqn2.js} +0 -0
- /package/dist/chunks/{permission-n05xt0ee.js → bus-n05xt0ee.js} +0 -0
- /package/dist/chunks/{permission-n3j8tn72.js → bus-n3j8tn72.js} +0 -0
- /package/dist/chunks/{permission-njntx4h6.js → bus-njntx4h6.js} +0 -0
- /package/dist/chunks/{permission-q3sfg36h.js → bus-q3sfg36h.js} +0 -0
- /package/dist/chunks/{permission-q74kybfr.js → bus-q74kybfr.js} +0 -0
- /package/dist/chunks/{permission-qaymkmh1.js → bus-qaymkmh1.js} +0 -0
- /package/dist/chunks/{permission-qb87gjwd.js → bus-qb87gjwd.js} +0 -0
- /package/dist/chunks/{permission-qfa1cgps.js → bus-qfa1cgps.js} +0 -0
- /package/dist/chunks/{permission-qg3g05ea.js → bus-qg3g05ea.js} +0 -0
- /package/dist/chunks/{permission-qrg20bc0.js → bus-qrg20bc0.js} +0 -0
- /package/dist/chunks/{permission-rcb2kzg1.js → bus-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{permission-sdp7kfr6.js → bus-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{permission-sk3qaz4a.js → bus-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{permission-ssg3fenm.js → bus-ssg3fenm.js} +0 -0
- /package/dist/chunks/{permission-w803qqfp.js → bus-w803qqfp.js} +0 -0
- /package/dist/chunks/{permission-wc3fc9cn.js → bus-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{permission-wer8tq1h.js → bus-wer8tq1h.js} +0 -0
- /package/dist/chunks/{permission-wtztk69x.js → bus-wtztk69x.js} +0 -0
- /package/dist/chunks/{permission-x0ckcb58.js → bus-x0ckcb58.js} +0 -0
- /package/dist/chunks/{permission-x61499pn.js → bus-x61499pn.js} +0 -0
- /package/dist/chunks/{permission-y44na4kk.js → bus-y44na4kk.js} +0 -0
- /package/dist/chunks/{permission-y8cydn3q.js → bus-y8cydn3q.js} +0 -0
- /package/dist/chunks/{permission-y8f7s663.js → bus-y8f7s663.js} +0 -0
- /package/dist/chunks/{permission-ygaqb7jw.js → bus-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{permission-ym463w8f.js → bus-ym463w8f.js} +0 -0
- /package/dist/chunks/{permission-z9919s4g.js → bus-z9919s4g.js} +0 -0
|
@@ -1,39 +1,39 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service80
|
|
6
|
+
} from "./bus-0tk2ys0w.js";
|
|
7
7
|
import {
|
|
8
8
|
Service45
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./bus-5y16yxhf.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service25
|
|
12
|
+
} from "./bus-htr6fmqq.js";
|
|
13
13
|
import {
|
|
14
14
|
observe2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-qsdy395h.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./bus-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/config/plugin/worktree.ts
|
|
21
21
|
var exports_worktree = {};
|
|
22
22
|
__export(exports_worktree, {
|
|
23
23
|
ConfigWorktreePlugin: () => exports_worktree,
|
|
24
|
-
Plugin: () =>
|
|
24
|
+
Plugin: () => Plugin48
|
|
25
25
|
});
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Effect } from "effect";
|
|
28
28
|
import path from "path";
|
|
29
29
|
import { Global } from "@opencode/util/global";
|
|
30
|
-
var
|
|
30
|
+
var Plugin48 = define({
|
|
31
31
|
id: "opencode.config.worktree",
|
|
32
32
|
effect: Effect.fn(function* (ctx) {
|
|
33
33
|
const config = yield* Service45;
|
|
34
|
-
const location = yield*
|
|
34
|
+
const location = yield* Service80;
|
|
35
35
|
const global = yield* Global.Service;
|
|
36
|
-
const worktrees = yield*
|
|
36
|
+
const worktrees = yield* Service25;
|
|
37
37
|
const loaded = yield* observe2(config, ctx.event, worktrees.reload());
|
|
38
38
|
yield* worktrees.transform((editor) => {
|
|
39
39
|
for (const entry of loaded.entries) {
|
|
@@ -48,4 +48,4 @@ var Plugin19 = define({
|
|
|
48
48
|
})
|
|
49
49
|
});
|
|
50
50
|
|
|
51
|
-
export {
|
|
51
|
+
export { Plugin48, exports_worktree };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-y71avatq.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service54,
|
|
6
|
+
node56
|
|
7
|
+
} from "./bus-4473wfhr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./bus-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: () => Service19,
|
|
17
|
+
node: () => node22,
|
|
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 Service19 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(Service19, Effect.gen(function* () {
|
|
38
|
+
const environment = yield* Service54;
|
|
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(Service17, 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 Service19.of({ withLock, write, writeTextPreservingBom });
|
|
60
60
|
}));
|
|
61
|
-
var
|
|
61
|
+
var node22 = makeLocationNode({ service: Service19, layer, deps: [node56] });
|
|
62
62
|
|
|
63
|
-
export {
|
|
63
|
+
export { Service19, readText2, syncTextBom2, node22, exports_file_mutation };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./bus-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
Repository2,
|
|
7
7
|
TreeID2,
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
8
|
+
Service82,
|
|
9
|
+
node86
|
|
10
|
+
} from "./bus-vy4zg7qh.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service80,
|
|
13
|
+
node84
|
|
14
|
+
} from "./bus-0tk2ys0w.js";
|
|
15
15
|
import {
|
|
16
16
|
create3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-rdw6cm16.js";
|
|
18
18
|
import {
|
|
19
19
|
__export
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./bus-9rqn6x4v.js";
|
|
21
21
|
|
|
22
22
|
// src/snapshot.ts
|
|
23
23
|
var exports_snapshot2 = {};
|
|
24
24
|
__export(exports_snapshot2, {
|
|
25
|
-
Error: () =>
|
|
26
|
-
ID: () =>
|
|
27
|
-
Service: () =>
|
|
25
|
+
Error: () => Error5,
|
|
26
|
+
ID: () => ID11,
|
|
27
|
+
Service: () => Service67,
|
|
28
28
|
Snapshot: () => exports_snapshot2,
|
|
29
|
-
node: () =>
|
|
29
|
+
node: () => node71,
|
|
30
30
|
noopLayer: () => noopLayer3
|
|
31
31
|
});
|
|
32
32
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -34,22 +34,22 @@ import path from "path";
|
|
|
34
34
|
import { Context, Effect, Fiber, Layer, Schema, Scope } from "effect";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
|
-
import { ID as
|
|
37
|
+
import { ID as ID11 } from "@opencode/schema/snapshot";
|
|
38
38
|
import { Hash } from "@opencode/util/hash";
|
|
39
|
-
class
|
|
39
|
+
class Error5 extends Schema.TaggedError()("Snapshot.Error", {
|
|
40
40
|
operation: Schema.Literals(["capture", "files", "diff", "restore"]),
|
|
41
41
|
message: Schema.String,
|
|
42
42
|
cause: Schema.optional(Schema.Defect())
|
|
43
43
|
}) {
|
|
44
44
|
}
|
|
45
45
|
|
|
46
|
-
class
|
|
46
|
+
class Service67 extends Context.Service()("@opencode/Snapshot") {
|
|
47
47
|
}
|
|
48
|
-
var layer = Layer.effect(
|
|
48
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const git = yield*
|
|
50
|
+
const git = yield* Service82;
|
|
51
51
|
const global = yield* Global.Service;
|
|
52
|
-
const location = yield*
|
|
52
|
+
const location = yield* Service80;
|
|
53
53
|
const lifetime = yield* Scope.Scope;
|
|
54
54
|
const state = create3({
|
|
55
55
|
name: "snapshot",
|
|
@@ -63,7 +63,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
63
63
|
const repositoryFiber = yield* Effect.cached(Effect.gen(function* () {
|
|
64
64
|
const source = yield* git.repo.discover(location.project.directory);
|
|
65
65
|
if (!source)
|
|
66
|
-
return yield* new
|
|
66
|
+
return yield* new Error5({ operation: "capture", message: "Project is not a Git repository" });
|
|
67
67
|
const worktree = AbsolutePath2.make(yield* fs.realPath(source.worktree).pipe(Effect.orDie));
|
|
68
68
|
const gitDirectory = AbsolutePath2.make(path.join(global.data, "snapshot", location.project.id, Hash.fast(worktree)));
|
|
69
69
|
const snapshotRepository = (yield* fs.existsSafe(path.join(gitDirectory, "HEAD"))) ? new Repository2({ worktree, gitDirectory, commonDirectory: gitDirectory }) : yield* git.repo.create({ worktree, gitDirectory, seed: source }).pipe(Effect.mapError((cause) => failure("capture", cause)));
|
|
@@ -73,7 +73,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
73
73
|
const scope = Effect.fnUntraced(function* (worktree) {
|
|
74
74
|
const relative = path.relative(worktree, location.directory);
|
|
75
75
|
if (relative.startsWith("..") || path.isAbsolute(relative))
|
|
76
|
-
return yield* new
|
|
76
|
+
return yield* new Error5({ operation: "capture", message: "Location is outside the project" });
|
|
77
77
|
return RelativePath2.make(relative.replaceAll("\\", "/") || ".");
|
|
78
78
|
});
|
|
79
79
|
const enabled = () => location.vcs?.type === "git" && state.get().enabled;
|
|
@@ -82,7 +82,7 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
82
82
|
return;
|
|
83
83
|
return yield* Effect.gen(function* () {
|
|
84
84
|
const repo = yield* repository;
|
|
85
|
-
return
|
|
85
|
+
return ID11.make(yield* git.tree.capture({
|
|
86
86
|
repository: repo.snapshotRepository,
|
|
87
87
|
scopes: [yield* scope(repo.worktree)],
|
|
88
88
|
ignores: repo.source,
|
|
@@ -127,25 +127,25 @@ var layer = Layer.effect(Service51, Effect.gen(function* () {
|
|
|
127
127
|
for (const [file, snapshot] of input.files) {
|
|
128
128
|
const absolute = path.resolve(worktree, file);
|
|
129
129
|
if (!FSUtil.contains(worktree, absolute))
|
|
130
|
-
return yield* new
|
|
130
|
+
return yield* new Error5({ operation: "restore", message: `Path escapes the project: ${file}` });
|
|
131
131
|
files.set(file, TreeID2.make(snapshot));
|
|
132
132
|
}
|
|
133
133
|
return files;
|
|
134
134
|
});
|
|
135
135
|
const restore = Effect.fn("Snapshot.restore")(function* (input) {
|
|
136
136
|
if (!enabled())
|
|
137
|
-
return yield* new
|
|
137
|
+
return yield* new Error5({ operation: "restore", message: "Snapshots are disabled" });
|
|
138
138
|
const repo = yield* repository.pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
139
139
|
yield* git.tree.restore({ repository: repo.snapshotRepository, files: yield* plan(repo.worktree, input) }).pipe(Effect.mapError((cause) => failure("restore", cause)));
|
|
140
140
|
});
|
|
141
|
-
return
|
|
141
|
+
return Service67.of({ transform: state.transform, reload: state.reload, capture, files, diff, restore });
|
|
142
142
|
}).pipe(Effect.withSpan("Snapshot.boot")));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node71 = makeLocationNode({
|
|
144
|
+
service: Service67,
|
|
145
145
|
layer,
|
|
146
|
-
deps: [FSUtil.node,
|
|
146
|
+
deps: [FSUtil.node, node86, Global.node, node84]
|
|
147
147
|
});
|
|
148
|
-
var noopLayer3 = Layer.succeed(
|
|
148
|
+
var noopLayer3 = Layer.succeed(Service67, Service67.of({
|
|
149
149
|
transform: () => Effect.succeed({ dispose: Effect.void }),
|
|
150
150
|
reload: () => Effect.void,
|
|
151
151
|
capture: () => Effect.undefined,
|
|
@@ -154,13 +154,13 @@ var noopLayer3 = Layer.succeed(Service51, Service51.of({
|
|
|
154
154
|
restore: () => Effect.void
|
|
155
155
|
}));
|
|
156
156
|
function failure(operation, cause) {
|
|
157
|
-
if (cause instanceof
|
|
157
|
+
if (cause instanceof Error5 && cause.operation === operation)
|
|
158
158
|
return cause;
|
|
159
|
-
return new
|
|
159
|
+
return new Error5({
|
|
160
160
|
operation,
|
|
161
161
|
message: cause instanceof globalThis.Error ? cause.message : String(cause),
|
|
162
162
|
cause
|
|
163
163
|
});
|
|
164
164
|
}
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { ID11, Error5, Service67, node71, noopLayer3, exports_snapshot2 };
|
|
@@ -1,63 +1,63 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./bus-xr3vnqvw.js";
|
|
1
5
|
import {
|
|
2
6
|
Service83,
|
|
3
7
|
node87
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Service82,
|
|
7
|
-
node86
|
|
8
|
-
} from "./permission-x9pr068f.js";
|
|
8
|
+
} from "./bus-r5zp2xvk.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./bus-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./bus-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./bus-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event20,
|
|
24
|
+
ID: () => ID16,
|
|
25
|
+
Info: () => Info31,
|
|
26
|
+
Key: () => Key4,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service79,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node83
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID16 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key4 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event20 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info31 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID16,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service79 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service79, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service84).db;
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info31({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service79.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info31({
|
|
80
|
+
id: ID16.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event20.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event20.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event20.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event20.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node83 = makeGlobalNode({ service: Service79, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID16, OAuth3, Key4, Value2, Event20, Info31, Service79, node83, exports_credential };
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
Service57,
|
|
3
|
+
node60,
|
|
4
4
|
canonical3
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./bus-v9ttbc11.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service52,
|
|
8
|
+
node54
|
|
9
|
+
} from "./bus-xcd0eash.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service14
|
|
12
|
+
} from "./bus-3kg98aef.js";
|
|
13
13
|
import {
|
|
14
14
|
layer2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./bus-bb4pz6c3.js";
|
|
16
16
|
|
|
17
17
|
// src/location-services.ts
|
|
18
18
|
import { Context, Duration, Effect, Exit, Layer, LayerMap, MutableHashMap, Option } from "effect";
|
|
19
19
|
function buildLocationServiceMap2(replacements = []) {
|
|
20
|
-
return Layer.effect(
|
|
20
|
+
return Layer.effect(Service57, Effect.gen(function* () {
|
|
21
21
|
const owner = yield* Effect.scope;
|
|
22
22
|
const builds = MutableHashMap.empty();
|
|
23
23
|
const inner = yield* LayerMap.make((ref) => {
|
|
@@ -27,7 +27,7 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
27
27
|
const finish = Effect.suspend(() => {
|
|
28
28
|
if (Exit.isSuccess(exit)) {
|
|
29
29
|
return Effect.gen(function* () {
|
|
30
|
-
const lifecycle = Context.get(exit.value,
|
|
30
|
+
const lifecycle = Context.get(exit.value, Service14);
|
|
31
31
|
if (Option.getOrUndefined(MutableHashMap.get(builds, ref)) !== build)
|
|
32
32
|
return yield* lifecycle.shutdown;
|
|
33
33
|
build.close = lifecycle.shutdown;
|
|
@@ -54,11 +54,11 @@ function buildLocationServiceMap2(replacements = []) {
|
|
|
54
54
|
}).pipe(Effect.uninterruptible)
|
|
55
55
|
};
|
|
56
56
|
const bindings = [
|
|
57
|
-
|
|
57
|
+
node54.replace(Layer.succeed(Service52, {
|
|
58
58
|
provide: (session) => Effect.provide(map.get(session.location))
|
|
59
59
|
})),
|
|
60
60
|
...replacements,
|
|
61
|
-
|
|
61
|
+
node60.replace(Layer.succeed(Service57, map))
|
|
62
62
|
];
|
|
63
63
|
return map;
|
|
64
64
|
}));
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./bus-922hggd3.js";
|
|
4
|
+
import {
|
|
5
|
+
Service84,
|
|
6
|
+
node88
|
|
7
|
+
} from "./bus-xr3vnqvw.js";
|
|
4
8
|
import {
|
|
5
9
|
Service83,
|
|
6
10
|
node87
|
|
7
|
-
} from "./
|
|
11
|
+
} from "./bus-r5zp2xvk.js";
|
|
8
12
|
import {
|
|
9
13
|
Service82,
|
|
10
14
|
node86
|
|
11
|
-
} from "./
|
|
12
|
-
import {
|
|
13
|
-
Service81,
|
|
14
|
-
node85
|
|
15
|
-
} from "./permission-y5df08dr.js";
|
|
15
|
+
} from "./bus-vy4zg7qh.js";
|
|
16
16
|
import {
|
|
17
17
|
ID18,
|
|
18
18
|
Current3,
|
|
@@ -20,17 +20,17 @@ import {
|
|
|
20
20
|
UpdateInput4,
|
|
21
21
|
Event21,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./bus-57ez7d0k.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./bus-wd3x2cqz.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./bus-94ek1h2f.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./bus-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
@@ -40,10 +40,10 @@ __export(exports_project, {
|
|
|
40
40
|
Info: () => Info33,
|
|
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: () => node85,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -72,7 +72,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
72
72
|
});
|
|
73
73
|
var ACTIVATE_INTERVAL = 60000;
|
|
74
74
|
|
|
75
|
-
class
|
|
75
|
+
class Service81 extends Context.Service()("@opencode/Project") {
|
|
76
76
|
}
|
|
77
77
|
function fromRow(row) {
|
|
78
78
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -95,12 +95,12 @@ function fromRow(row) {
|
|
|
95
95
|
sandboxes: row.sandboxes
|
|
96
96
|
};
|
|
97
97
|
}
|
|
98
|
-
var layer = Layer.effect(
|
|
98
|
+
var layer = Layer.effect(Service81, Effect.gen(function* () {
|
|
99
99
|
const fs = yield* FSUtil.Service;
|
|
100
|
-
const git = yield*
|
|
100
|
+
const git = yield* Service82;
|
|
101
101
|
const proc = yield* AppProcess.Service;
|
|
102
|
-
const bus = yield*
|
|
103
|
-
const db = (yield*
|
|
102
|
+
const bus = yield* Service83;
|
|
103
|
+
const db = (yield* Service84).db;
|
|
104
104
|
const announcing = new Set;
|
|
105
105
|
const persist = Effect.fnUntraced(function* (project) {
|
|
106
106
|
const previous = yield* db.select({ canonical: ProjectTable2.worktree }).from(ProjectTable2).where(eq(ProjectTable2.id, project.id)).get().pipe(Effect.orDie);
|
|
@@ -282,12 +282,12 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
282
282
|
vcs: undefined
|
|
283
283
|
});
|
|
284
284
|
});
|
|
285
|
-
return
|
|
285
|
+
return Service81.of({ list, update, activate, resolve });
|
|
286
286
|
}));
|
|
287
|
-
var
|
|
288
|
-
service:
|
|
287
|
+
var node85 = makeGlobalNode({
|
|
288
|
+
service: Service81,
|
|
289
289
|
layer,
|
|
290
|
-
deps: [
|
|
290
|
+
deps: [node87, node88, FSUtil.node, node86, AppProcess.node]
|
|
291
291
|
});
|
|
292
292
|
|
|
293
|
-
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2,
|
|
293
|
+
export { ID17, Vcs2, Current2, Info33, UpdateInput3, NotFoundError11, root2, Service81, node85, exports_project };
|