@opencode/core 0.0.0-dev-19345 → 0.0.0-dev-19346
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 +79 -79
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +5 -5
- package/dist/bus.js +71 -71
- package/dist/catalog.js +83 -83
- package/dist/chunks/{mime-b08twemt.js → app-09sr60yf.js} +16 -16
- package/dist/chunks/{mime-f4d9fb2p.js → app-0a65vbt0.js} +5 -5
- package/dist/chunks/{mime-hvtrc2sr.js → app-0ge7vg41.js} +13 -13
- package/dist/chunks/{mime-s22vqpmb.js → app-0h6ds6h2.js} +10 -10
- package/dist/chunks/{mime-qf9x3e4y.js → app-0jwv6t6h.js} +46 -46
- package/dist/chunks/{mime-0paq2nw3.js → app-0paq2nw3.js} +1 -1
- package/dist/chunks/{mime-0q0f95c6.js → app-0q0f95c6.js} +1 -1
- package/dist/chunks/{mime-4szvz0dy.js → app-17nkb8jb.js} +24 -24
- package/dist/chunks/{mime-yp2x3t23.js → app-1acjjqhc.js} +4 -4
- package/dist/chunks/{mime-1dazxqgg.js → app-1dazxqgg.js} +2 -2
- package/dist/chunks/{mime-1dfhrqqs.js → app-1dfhrqqs.js} +2 -2
- package/dist/chunks/{mime-vtb9d41w.js → app-1kaxk7dt.js} +14 -14
- package/dist/chunks/{mime-bez6jkeq.js → app-1rr79kmz.js} +12 -12
- package/dist/chunks/{mime-d88yrek2.js → app-1s0d9f9g.js} +32 -32
- package/dist/chunks/{mime-56gdpj1q.js → app-1ygqh575.js} +9 -9
- package/dist/chunks/{mime-21r38tys.js → app-21r38tys.js} +1 -1
- package/dist/chunks/{mime-was7srj9.js → app-2336b01z.js} +8 -8
- package/dist/chunks/{mime-9mwfxnzp.js → app-27rw9vzj.js} +3 -3
- package/dist/chunks/{mime-2a5m3afh.js → app-2a5m3afh.js} +1 -1
- package/dist/chunks/{mime-es1gkq3r.js → app-2bt6bea8.js} +9 -9
- package/dist/chunks/{mime-j5k41gmt.js → app-2d0sc79q.js} +10 -10
- package/dist/chunks/{mime-cpy6gm2a.js → app-2d57kztd.js} +6 -6
- package/dist/chunks/{mime-svjx41xm.js → app-2ee5rppv.js} +23 -23
- package/dist/chunks/{mime-8q7cq0y1.js → app-2f04pwep.js} +3 -3
- package/dist/chunks/{mime-2g95xqej.js → app-2hmv1bzq.js} +4 -4
- package/dist/chunks/{mime-qgn6gcr1.js → app-2k8khapm.js} +5 -5
- package/dist/chunks/{mime-rmc6y74k.js → app-2p6pftky.js} +42 -42
- package/dist/chunks/{mime-dvsy9eq6.js → app-2t68cqyy.js} +6 -6
- package/dist/chunks/{mime-a0t51jnz.js → app-2x4qd1xw.js} +16 -16
- package/dist/chunks/{mime-vfnexndp.js → app-35jzzref.js} +6 -6
- package/dist/chunks/{mime-3fc6dm20.js → app-3fc6dm20.js} +1 -1
- package/dist/chunks/{mime-3hepkmqq.js → app-3hepkmqq.js} +1 -1
- package/dist/chunks/{mime-vr7gxye5.js → app-3n3mkc0a.js} +7 -7
- package/dist/chunks/{mime-3smtnn6g.js → app-3smtnn6g.js} +1 -1
- package/dist/chunks/{mime-3tvqynh2.js → app-3tvqynh2.js} +1 -1
- package/dist/chunks/{mime-37s12vcn.js → app-3w0fmcng.js} +5 -5
- package/dist/chunks/{mime-s08ate44.js → app-42kdnm7d.js} +23 -23
- package/dist/chunks/{mime-fjfzy0ft.js → app-43zrvxpc.js} +11 -11
- package/dist/chunks/{mime-r60jfj5j.js → app-4780s8zr.js} +9 -9
- package/dist/chunks/{mime-zdcf82tg.js → app-48gcqyvg.js} +53 -53
- package/dist/chunks/{mime-zds8cgrm.js → app-4c96ywbw.js} +13 -13
- package/dist/chunks/{mime-dh23jx6d.js → app-4cc7n46c.js} +11 -11
- package/dist/chunks/{mime-anhgbzpg.js → app-4dn6zthd.js} +37 -37
- package/dist/chunks/{mime-e5s1yzpb.js → app-4kf284a7.js} +30 -30
- package/dist/chunks/{mime-c22rd54z.js → app-4tbcec2e.js} +8 -8
- package/dist/chunks/{mime-t0tjasbx.js → app-4w8bkcbc.js} +5 -5
- package/dist/chunks/{mime-47wgbh1b.js → app-51fr0269.js} +5 -5
- package/dist/chunks/{mime-1ct58dhd.js → app-5bwht4jk.js} +71 -71
- package/dist/chunks/{mime-5daktx2q.js → app-5daktx2q.js} +1 -1
- package/dist/chunks/{mime-ryea99zr.js → app-5ez3bzvb.js} +14 -14
- package/dist/chunks/{mime-kkf18jfd.js → app-5fgxrtk2.js} +31 -31
- package/dist/chunks/{mime-56wgdq5b.js → app-5hkzjqtx.js} +41 -41
- package/dist/chunks/{mime-trnjn3sg.js → app-5knb1gak.js} +18 -18
- package/dist/chunks/{mime-5t3nmthw.js → app-5t3nmthw.js} +2 -2
- package/dist/chunks/{mime-sm5xrj98.js → app-5wfnjyr5.js} +30 -30
- package/dist/chunks/{mime-57fqtxcw.js → app-5yzdr05p.js} +9 -9
- package/dist/chunks/{mime-xbmh9apa.js → app-5z0pm3qf.js} +19 -19
- package/dist/chunks/{mime-4yvhae7v.js → app-65t0cekt.js} +22 -22
- package/dist/chunks/{mime-669tq793.js → app-669tq793.js} +1 -1
- package/dist/chunks/{mime-csa3t7pa.js → app-6h5qj7gd.js} +9 -9
- package/dist/chunks/{mime-2402vzrj.js → app-6h73sxmp.js} +5 -5
- package/dist/chunks/{mime-7sgansy8.js → app-6j6s7zvs.js} +2 -2
- package/dist/chunks/{mime-6msgmcgs.js → app-6msgmcgs.js} +1 -1
- package/dist/chunks/{mime-d89wb828.js → app-6r540pcs.js} +4 -4
- package/dist/chunks/{mime-9g4m8n77.js → app-6w8af2k5.js} +17 -17
- package/dist/chunks/{mime-s326psv9.js → app-6xkfsm7b.js} +11 -11
- package/dist/chunks/{mime-3hestq8p.js → app-710w2ech.js} +1 -1
- package/dist/chunks/{mime-71q4at8m.js → app-71q4at8m.js} +1 -1
- package/dist/chunks/{mime-55bk8pm9.js → app-7500bbe6.js} +11 -11
- package/dist/chunks/{mime-1ar9tdzh.js → app-78y0k101.js} +22 -22
- package/dist/chunks/{mime-7bmhse3q.js → app-7bmhse3q.js} +1 -1
- package/dist/chunks/{mime-xbar29gt.js → app-7q67896j.js} +13 -13
- package/dist/chunks/{mime-5kvnsejc.js → app-80sf1axt.js} +20 -20
- package/dist/chunks/{mime-jv7gg9s4.js → app-813w40n4.js} +87 -87
- package/dist/chunks/{mime-81swgkk7.js → app-81swgkk7.js} +2 -2
- package/dist/chunks/{mime-dykcbgv3.js → app-85ngaffe.js} +90 -90
- package/dist/chunks/{mime-4pxh79v4.js → app-89ey782f.js} +4 -4
- package/dist/chunks/{mime-8d7r5vzw.js → app-8d7r5vzw.js} +1 -1
- package/dist/chunks/{mime-168791n0.js → app-8j7gtpby.js} +1 -1
- package/dist/chunks/{mime-sqxedksp.js → app-8nxecek8.js} +14 -14
- package/dist/chunks/{mime-8p4f9s12.js → app-8p4f9s12.js} +2 -2
- package/dist/chunks/{mime-cejv791v.js → app-8psdzq5d.js} +36 -36
- package/dist/chunks/{mime-tye6f8h2.js → app-8qk9tw02.js} +1 -1
- package/dist/chunks/{mime-7jxaeb6r.js → app-8xn61e7a.js} +2 -2
- package/dist/chunks/{mime-a5e04ee8.js → app-94qkxzny.js} +4 -4
- package/dist/chunks/{mime-x0c1a7xp.js → app-99m6at3m.js} +6 -6
- package/dist/chunks/{mime-3qzfbvdy.js → app-9gz2peze.js} +10 -10
- package/dist/chunks/{mime-gtkzr06a.js → app-9k7d7sqa.js} +7 -7
- package/dist/chunks/{mime-3af28565.js → app-9pcza0f3.js} +10 -10
- package/dist/chunks/{mime-djwmzzhk.js → app-9qn3qky1.js} +4 -4
- package/dist/chunks/{mime-npy0pcv6.js → app-9shj9c1g.js} +32 -32
- package/dist/chunks/{mime-agxarav8.js → app-9t2pzca1.js} +18 -18
- package/dist/chunks/{mime-bc9737rz.js → app-9v7a85mc.js} +4 -4
- package/dist/chunks/{mime-02tds00a.js → app-a0z9avay.js} +13 -13
- package/dist/chunks/{mime-a1bz86dw.js → app-a1bz86dw.js} +3 -3
- package/dist/chunks/{mime-ffgb433v.js → app-a1h69kzv.js} +14 -14
- package/dist/chunks/{mime-1d81kemj.js → app-a1pjw3e1.js} +20 -20
- package/dist/chunks/{mime-s1wede50.js → app-a402vz1p.js} +31 -31
- package/dist/chunks/{mime-5txbv38z.js → app-a4bvw9dz.js} +5 -5
- package/dist/chunks/{mime-9cpary1r.js → app-a91wscfd.js} +9 -9
- package/dist/chunks/{mime-yp11bte6.js → app-a9ab9jmj.js} +1 -1
- package/dist/chunks/{mime-aaet6srn.js → app-aaet6srn.js} +2 -2
- package/dist/chunks/{mime-fxm6czzg.js → app-ahxexsmd.js} +25 -25
- package/dist/chunks/{mime-grkb1es6.js → app-aswh65bz.js} +32 -32
- package/dist/chunks/{mime-t8h1d4xm.js → app-b2g5v7p2.js} +9 -9
- package/dist/chunks/{mime-hpajbe9q.js → app-b4f5v53j.js} +29 -29
- package/dist/chunks/{mime-b6gygkdw.js → app-b6gygkdw.js} +2 -2
- package/dist/chunks/{mime-ve6nm2s5.js → app-b99w0g26.js} +6 -6
- package/dist/chunks/{mime-htjbf50c.js → app-baxrspjs.js} +26 -26
- package/dist/chunks/{mime-m6ssgqy9.js → app-bbhatyce.js} +30 -30
- package/dist/chunks/{mime-pmr4s4kc.js → app-bct739vz.js} +4 -4
- package/dist/chunks/{mime-bajakh74.js → app-bha4atvq.js} +4 -4
- package/dist/chunks/{mime-93xhsgw0.js → app-bjqqhdfh.js} +20 -20
- package/dist/chunks/{mime-1f66m63a.js → app-bm2nqsn9.js} +10 -10
- package/dist/chunks/{mime-qxk2r6jc.js → app-bmb0s36t.js} +23 -23
- package/dist/chunks/{mime-zerdtc7d.js → app-bv56xrks.js} +6 -6
- package/dist/chunks/{mime-daa3vrdn.js → app-bwd5s895.js} +10 -10
- package/dist/chunks/{mime-7gp47pj0.js → app-bznq0221.js} +163 -163
- package/dist/chunks/{mime-vjcjk6v2.js → app-c0m0qq75.js} +14 -14
- package/dist/chunks/{mime-ep6z9mt6.js → app-c1495ybz.js} +8 -8
- package/dist/chunks/{mime-16x2etdg.js → app-c9sbvd2s.js} +9 -9
- package/dist/chunks/{mime-cfpkc3c9.js → app-cfpkc3c9.js} +2 -2
- package/dist/chunks/{mime-vjm50dby.js → app-cm2fs4jy.js} +16 -16
- package/dist/chunks/{mime-y8p3zjbc.js → app-cn43q6qa.js} +8 -8
- package/dist/chunks/{mime-zcrspsvn.js → app-ctmr8zqa.js} +4 -4
- package/dist/chunks/{mime-zspysg16.js → app-cxwzzg52.js} +17 -17
- package/dist/chunks/{mime-semqf2xs.js → app-d9xjrm20.js} +16 -16
- package/dist/chunks/{mime-xngzz0fa.js → app-dc5wh9st.js} +17 -17
- package/dist/chunks/{mime-y71avatq.js → app-dpkg50ah.js} +4 -4
- package/dist/chunks/{mime-te7pedy9.js → app-drqds5np.js} +36 -36
- package/dist/chunks/{mime-c8b5nr3q.js → app-dv02zjab.js} +15 -15
- package/dist/chunks/{mime-v4nx8rhf.js → app-dvwg6a7w.js} +8 -8
- package/dist/chunks/app-e3dbktjq.js +22 -0
- package/dist/chunks/{mime-rksemafj.js → app-e8163x7b.js} +11 -11
- package/dist/chunks/{mime-t550f9t1.js → app-eaj1djv9.js} +8 -8
- package/dist/chunks/{mime-bscb95cy.js → app-edme2h3e.js} +9 -9
- package/dist/chunks/{mime-33ca5pxe.js → app-encrv3jm.js} +20 -20
- package/dist/chunks/{mime-ah8nfyxn.js → app-esqr7hwz.js} +15 -15
- package/dist/chunks/{mime-etq0c3wd.js → app-etq0c3wd.js} +1 -1
- package/dist/chunks/{mime-s6dsm5hz.js → app-ett1kwgn.js} +13 -13
- package/dist/chunks/{mime-z6gx8zfr.js → app-etx20tfd.js} +34 -34
- package/dist/chunks/{mime-a4xkxa28.js → app-eyvdh9jh.js} +4 -4
- package/dist/chunks/{mime-6aswj5x9.js → app-f1qhv5yx.js} +25 -25
- package/dist/chunks/{mime-64z8dyvg.js → app-f2rv3mpp.js} +29 -29
- package/dist/chunks/{mime-magykp64.js → app-f3ngv102.js} +4 -4
- package/dist/chunks/{mime-f828m53h.js → app-f828m53h.js} +2 -2
- package/dist/chunks/{mime-m2j1zwfr.js → app-fa0cr6zp.js} +1 -1
- package/dist/chunks/{mime-qfpdxyz6.js → app-fb0jezgx.js} +13 -13
- package/dist/chunks/{mime-w3hg1by5.js → app-ffx4mq6v.js} +1 -1
- package/dist/chunks/{mime-c6k6mpeh.js → app-fhwp9j6e.js} +7 -7
- package/dist/chunks/{mime-133g6x3j.js → app-fkc946qs.js} +13 -13
- package/dist/chunks/{mime-c82tz0n6.js → app-fs5fhd3k.js} +28 -28
- package/dist/chunks/{mime-fxbjtjnd.js → app-fxbjtjnd.js} +1 -1
- package/dist/chunks/{mime-11hdm724.js → app-fzdjvg09.js} +22 -22
- package/dist/chunks/{mime-xeejjgkv.js → app-g4t6kbgy.js} +11 -11
- package/dist/chunks/{mime-mxcdw21b.js → app-gc25hdrq.js} +20 -20
- package/dist/chunks/{mime-gd4qta3r.js → app-gd4qta3r.js} +1 -1
- package/dist/chunks/{mime-ezj79k2w.js → app-gfsay0az.js} +15 -15
- package/dist/chunks/{mime-rp2k1chf.js → app-gkxj5maj.js} +17 -17
- package/dist/chunks/{mime-gv6a8nnw.js → app-gv6a8nnw.js} +2 -2
- package/dist/chunks/{mime-e575995y.js → app-gvmmzmye.js} +20 -20
- package/dist/chunks/{mime-h03wrkyp.js → app-h03wrkyp.js} +2 -2
- package/dist/chunks/{mime-zc93s7ce.js → app-h158amkk.js} +8 -8
- package/dist/chunks/{mime-0rqbdkvg.js → app-h3kjspbj.js} +23 -23
- package/dist/chunks/{mime-69pxdd4k.js → app-h4rgb3bg.js} +8 -8
- package/dist/chunks/{mime-ck2hnzkb.js → app-h6ffn5hc.js} +9 -9
- package/dist/chunks/{mime-h6vf3j39.js → app-h6vf3j39.js} +1 -1
- package/dist/chunks/{mime-jxhkeq1z.js → app-h7sfp9jq.js} +7 -7
- package/dist/chunks/{mime-p5ttnzxg.js → app-hbq44aga.js} +18 -18
- package/dist/chunks/app-hgd4btym.js +18 -0
- package/dist/chunks/{mime-hjt4xg1x.js → app-hjt4xg1x.js} +1 -1
- package/dist/chunks/{mime-j56e64zr.js → app-j56e64zr.js} +1 -1
- package/dist/chunks/{mime-t0d6gkvd.js → app-jdh6s7jq.js} +8 -8
- package/dist/chunks/{mime-9ftth5vm.js → app-jemrr7f4.js} +25 -25
- package/dist/chunks/{mime-5080dy1a.js → app-jezcp19q.js} +8 -8
- package/dist/chunks/{mime-ck2vragq.js → app-jn4c8fdh.js} +8 -8
- package/dist/chunks/{mime-v98pcphq.js → app-jsfcx0sm.js} +9 -9
- package/dist/chunks/{mime-11tcp5y8.js → app-jygyrd66.js} +4 -4
- package/dist/chunks/{mime-mh6gcjg5.js → app-kaxfk2j5.js} +6 -6
- package/dist/chunks/{mime-kg06axw8.js → app-kg06axw8.js} +1 -1
- package/dist/chunks/{mime-8t2b84nn.js → app-kjq4p8hx.js} +14 -14
- package/dist/chunks/{mime-rwcemz8c.js → app-knwk0fn4.js} +2 -2
- package/dist/chunks/{mime-438cv0y9.js → app-ktcgqmkw.js} +6 -6
- package/dist/chunks/{mime-4ccjrj4w.js → app-ktgea0e0.js} +4 -4
- package/dist/chunks/{mime-cwhjh763.js → app-kvgamsrw.js} +30 -30
- package/dist/chunks/{mime-j1nc1ypa.js → app-m9t3cpvg.js} +32 -32
- package/dist/chunks/{mime-m9w0rfyh.js → app-m9w0rfyh.js} +1 -1
- package/dist/chunks/{mime-mvfsc1pv.js → app-mhkvc446.js} +3 -3
- package/dist/chunks/{mime-n8ncag7m.js → app-mjjddmmn.js} +15 -15
- package/dist/chunks/{mime-mkcjrzeh.js → app-mkcjrzeh.js} +1 -1
- package/dist/chunks/{mime-gqv90n74.js → app-mygm96m8.js} +13 -13
- package/dist/chunks/{mime-n53003ns.js → app-n4a0kzxz.js} +59 -59
- package/dist/chunks/{mime-yr7ny2fv.js → app-n5k8tdrn.js} +26 -26
- package/dist/chunks/{mime-yf4ks7mc.js → app-n7mnjzkb.js} +5 -5
- package/dist/chunks/{mime-j068kma8.js → app-nd5nzycz.js} +11 -11
- package/dist/chunks/{mime-85z7b11m.js → app-nka8n5hw.js} +27 -27
- package/dist/chunks/{mime-jyag7kpd.js → app-nw3bhhr3.js} +22 -22
- package/dist/chunks/{mime-y400rwxv.js → app-nyhxp1gd.js} +34 -34
- package/dist/chunks/{mime-3kwvdx6y.js → app-p0cja4mf.js} +2 -2
- package/dist/chunks/{mime-t0x5rdq8.js → app-p1wf2k30.js} +9 -9
- package/dist/chunks/{mime-v52wsnkd.js → app-p72z5xx6.js} +2 -2
- package/dist/chunks/{mime-9c26h465.js → app-p7ek7nyz.js} +18 -18
- package/dist/chunks/{mime-dc7knmg2.js → app-p7w6t1ry.js} +9 -9
- package/dist/chunks/{mime-88xad3v8.js → app-p7zfmd1x.js} +9 -9
- package/dist/chunks/{mime-msq0jde0.js → app-paegk39x.js} +4 -4
- package/dist/chunks/{mime-pjvnvgmy.js → app-pjvnvgmy.js} +1 -1
- package/dist/chunks/{mime-pknna89w.js → app-pknna89w.js} +1 -1
- package/dist/chunks/{mime-sqnwhwkn.js → app-pp2b87e8.js} +24 -24
- package/dist/chunks/{mime-6w0bcxbh.js → app-prbcj3gk.js} +32 -32
- package/dist/chunks/{mime-5hxsjejd.js → app-q17fbf64.js} +18 -18
- package/dist/chunks/{mime-ck0ctze1.js → app-q21acaj2.js} +54 -54
- package/dist/chunks/{mime-bmkkgyyb.js → app-q7h3k2fz.js} +19 -19
- package/dist/chunks/app-qapv375x.js +4 -0
- package/dist/chunks/{mime-243y984z.js → app-qbz333be.js} +15 -15
- package/dist/chunks/{mime-jv01nqvq.js → app-qn4ba14w.js} +5 -5
- package/dist/chunks/{mime-qsdy395h.js → app-qsdy395h.js} +1 -1
- package/dist/chunks/{mime-e4kseffw.js → app-qvb0z7t1.js} +9 -9
- package/dist/chunks/{mime-x8gz1y8e.js → app-qvb3nf84.js} +8 -8
- package/dist/chunks/{mime-z01wqcwa.js → app-r6a9556n.js} +11 -11
- package/dist/chunks/{mime-smx0h7mz.js → app-rxfq5agb.js} +16 -16
- package/dist/chunks/{mime-j0avgrhm.js → app-s1qtxqw8.js} +22 -22
- package/dist/chunks/{mime-dw9etqnp.js → app-s1zp1szz.js} +36 -36
- package/dist/chunks/{mime-rdhh766h.js → app-s442qdb8.js} +4 -4
- package/dist/chunks/{mime-5gyfktnb.js → app-s5qhvm9t.js} +3 -3
- package/dist/chunks/{mime-q6k0ydck.js → app-s7xtjryh.js} +1 -1
- package/dist/chunks/{mime-yt0fqk68.js → app-s8zy8myc.js} +5 -5
- package/dist/chunks/{mime-2m09jy5t.js → app-sd81gef5.js} +43 -43
- package/dist/chunks/{mime-c5gn303e.js → app-shh6fz4q.js} +4 -4
- package/dist/chunks/{mime-2hyh68ab.js → app-skwbfvjy.js} +8 -8
- package/dist/chunks/{mime-1mj9jbws.js → app-sqcc4mye.js} +6 -6
- package/dist/chunks/{mime-ct2c37mg.js → app-ssw3spj3.js} +24 -24
- package/dist/chunks/{mime-p6cv4jkm.js → app-sxamkkn3.js} +13 -13
- package/dist/chunks/{mime-qa3qhgw8.js → app-sxz6gkc3.js} +7 -7
- package/dist/chunks/{mime-rmk2c50f.js → app-sykc9y4a.js} +5 -5
- package/dist/chunks/{mime-ww3j1jeh.js → app-t9e6e84n.js} +1 -1
- package/dist/chunks/{mime-tazgh4e4.js → app-tazgh4e4.js} +1 -1
- package/dist/chunks/{mime-tcezcvh9.js → app-tcezcvh9.js} +1 -1
- package/dist/chunks/{mime-tdstcens.js → app-tdstcens.js} +1 -1
- package/dist/chunks/{mime-zpsd46jx.js → app-tjznhfde.js} +24 -24
- package/dist/chunks/app-tvke6c6x.js +247 -0
- package/dist/chunks/{mime-tvtrv512.js → app-tvtrv512.js} +1 -1
- package/dist/chunks/{mime-82eqrsw3.js → app-v4924766.js} +16 -16
- package/dist/chunks/{mime-zf35384k.js → app-vazqxjkf.js} +29 -29
- package/dist/chunks/{mime-z2p70en7.js → app-vdshzfmb.js} +28 -28
- package/dist/chunks/{mime-veqvce7d.js → app-veqvce7d.js} +1 -1
- package/dist/chunks/{mime-3h1dh17g.js → app-vwng0m0h.js} +28 -28
- package/dist/chunks/{mime-vzcthcp8.js → app-vzcthcp8.js} +1 -1
- package/dist/chunks/{mime-w3wsvvr9.js → app-w3wsvvr9.js} +1 -1
- package/dist/chunks/{mime-fstm3t6m.js → app-w5tc36wx.js} +32 -32
- package/dist/chunks/{mime-p33ejz0k.js → app-w79zsp0s.js} +1 -1
- package/dist/chunks/{mime-c4thz8m2.js → app-wcy61h1j.js} +29 -29
- package/dist/chunks/{mime-wd87259q.js → app-wd87259q.js} +1 -1
- package/dist/chunks/{mime-peq2m4zd.js → app-wjxh5jm8.js} +20 -20
- package/dist/chunks/{mime-7zzvg2d9.js → app-wmqqfp92.js} +25 -25
- package/dist/chunks/{mime-088n5vnd.js → app-wpmwtbt6.js} +51 -51
- package/dist/chunks/{mime-456rmk1m.js → app-wqny05z1.js} +18 -18
- package/dist/chunks/{mime-43np8af1.js → app-wqvbafvh.js} +10 -10
- package/dist/chunks/{mime-x1ezjp6w.js → app-x1ezjp6w.js} +1 -1
- package/dist/chunks/{mime-x43y2vfs.js → app-x43y2vfs.js} +2 -2
- package/dist/chunks/{mime-v7jve9ab.js → app-x8jze1wy.js} +43 -43
- package/dist/chunks/{mime-jdv50zsr.js → app-xrqdjzmv.js} +23 -23
- package/dist/chunks/{mime-w7zdnn3n.js → app-y18m38x5.js} +15 -15
- package/dist/chunks/{mime-y1fvbwt7.js → app-y1fvbwt7.js} +1 -1
- package/dist/chunks/{mime-jwx4y25k.js → app-y243eewg.js} +9 -9
- package/dist/chunks/{mime-qnf2z1wn.js → app-y40yxsg3.js} +36 -36
- package/dist/chunks/{mime-ts2eqmrv.js → app-y70rvmaz.js} +25 -25
- package/dist/chunks/{mime-dc9gsvve.js → app-ycga8mfj.js} +5 -5
- package/dist/chunks/{mime-8pccszvy.js → app-yn3zm7tz.js} +10 -10
- package/dist/chunks/{mime-ec32znm2.js → app-yn7as3j3.js} +299 -299
- package/dist/chunks/{mime-yrhqyw5v.js → app-yrhqyw5v.js} +1 -1
- package/dist/chunks/{mime-yrznvahk.js → app-yrznvahk.js} +2 -2
- package/dist/chunks/{mime-z0bkrqjs.js → app-z0bkrqjs.js} +1 -1
- package/dist/chunks/{mime-z63w68vq.js → app-z63w68vq.js} +2 -2
- package/dist/chunks/{mime-zvk2568b.js → app-z8spactq.js} +27 -27
- package/dist/chunks/{mime-cx8y2bn6.js → app-zc7dc76e.js} +35 -35
- package/dist/chunks/{mime-zejhr07q.js → app-zcpy7hb5.js} +39 -39
- package/dist/chunks/{mime-zeh9ct20.js → app-zeh9ct20.js} +2 -2
- package/dist/chunks/{mime-zr2ceqn5.js → app-zr2ceqn5.js} +1 -1
- package/dist/chunks/{mime-rn61w89f.js → app-zrt558wv.js} +9 -9
- package/dist/chunks/{mime-8489kzp1.js → app-zxgnc9zk.js} +1 -1
- package/dist/chunks/{mime-zxq2ej10.js → app-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +3 -3
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +81 -81
- package/dist/config/discovery.js +77 -77
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +117 -117
- package/dist/config/plugin/command.js +209 -209
- package/dist/config/plugin/compaction.js +155 -155
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +115 -115
- package/dist/config/plugin/instruction.js +85 -85
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +114 -114
- package/dist/config/plugin/provider.js +113 -113
- package/dist/config/plugin/reference.js +117 -117
- package/dist/config/plugin/shell.js +118 -118
- package/dist/config/plugin/skill-file.js +97 -97
- package/dist/config/plugin/skill.js +136 -136
- package/dist/config/plugin/snapshot.js +115 -115
- package/dist/config/plugin/source.js +117 -117
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +115 -115
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +83 -83
- 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.gen.js +47 -47
- package/dist/database/migration.js +49 -49
- 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 +77 -77
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +362 -362
- 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 +88 -88
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +90 -90
- 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 +72 -72
- package/dist/file-access.js +99 -99
- package/dist/file-mutation.js +89 -89
- 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 +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +99 -99
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +98 -98
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +84 -84
- package/dist/generate.js +89 -89
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +3 -3
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +353 -353
- package/dist/instruction-discovery.js +83 -83
- package/dist/instructions/builtins.js +82 -82
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +84 -84
- package/dist/job.js +75 -75
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +71 -71
- package/dist/location-activity.js +131 -131
- package/dist/location-mutation.js +99 -99
- package/dist/location-service-map.js +81 -81
- package/dist/location-services.js +350 -350
- package/dist/location.js +80 -80
- package/dist/mcp/client.js +86 -86
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +120 -120
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +85 -85
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +3 -3
- package/dist/model-resolver.js +86 -86
- package/dist/model.js +8 -8
- package/dist/models-dev.js +86 -86
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +108 -108
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +84 -84
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +73 -73
- package/dist/plugin/agent.js +99 -99
- package/dist/plugin/command.js +96 -96
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +213 -213
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +324 -324
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +75 -75
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +97 -97
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +118 -118
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +117 -117
- package/dist/plugin/provider/cloudflare-workers-ai.js +117 -117
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +114 -114
- package/dist/plugin/provider/digitalocean.js +79 -79
- 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 +80 -80
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +117 -117
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +79 -79
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +117 -117
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +80 -80
- package/dist/plugin/provider/opencode.js +79 -79
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +76 -76
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +117 -117
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +117 -117
- package/dist/plugin/provider/xai.js +77 -77
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +74 -74
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +133 -133
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +343 -343
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +82 -82
- package/dist/plugin/vcs/hg.js +82 -82
- package/dist/plugin/warming.js +112 -112
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- 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.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +81 -81
- package/dist/provider.js +3 -3
- 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 +88 -88
- package/dist/reference/instructions.js +84 -84
- package/dist/reference.js +86 -86
- package/dist/repository-cache.js +76 -76
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +91 -91
- package/dist/rpc.js +81 -81
- package/dist/schema.js +1 -1
- package/dist/session/command.js +72 -72
- package/dist/session/compaction.js +127 -127
- package/dist/session/context.js +147 -147
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +219 -219
- package/dist/session/execution.js +122 -122
- package/dist/session/generate.js +146 -146
- 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 +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +92 -92
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +113 -113
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +126 -126
- package/dist/session/projector.js +84 -84
- package/dist/session/prompt.js +100 -100
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +85 -85
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +225 -225
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +86 -86
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +110 -110
- package/dist/session/runner/step.js +119 -119
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +167 -167
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +98 -98
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +205 -205
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +151 -151
- package/dist/session/to-session-error.js +107 -107
- package/dist/session/transfer.js +218 -218
- 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 +9 -9
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +102 -102
- package/dist/skill.js +107 -107
- package/dist/snapshot.js +86 -86
- 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 +121 -121
- package/dist/tool/plugin/edit.js +115 -115
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +112 -112
- package/dist/tool/plugin/grep.js +118 -118
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +117 -117
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +106 -106
- package/dist/tool/plugin/subagent.js +214 -214
- package/dist/tool/plugin/webfetch.js +107 -107
- package/dist/tool/plugin/websearch.js +103 -103
- package/dist/tool/plugin/write.js +111 -111
- package/dist/tool/read-filesystem.js +96 -96
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- 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 +4 -4
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +85 -85
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +74 -74
- package/dist/wellknown.js +75 -75
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +78 -78
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +342 -342
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +87 -87
- package/package.json +8 -8
- package/dist/chunks/mime-6kdq0pjd.js +0 -4
- package/dist/chunks/mime-n95b3jav.js +0 -18
- package/dist/chunks/mime-qj9sgvpq.js +0 -22
- package/dist/chunks/mime-sth3c461.js +0 -247
- /package/dist/chunks/{mime-0qkdqm5v.js → app-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{mime-0zkw76rk.js → app-0zkw76rk.js} +0 -0
- /package/dist/chunks/{mime-17cy0kzp.js → app-17cy0kzp.js} +0 -0
- /package/dist/chunks/{mime-1cnp2v09.js → app-1cnp2v09.js} +0 -0
- /package/dist/chunks/{mime-1kg9ymc8.js → app-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{mime-2710q6r3.js → app-2710q6r3.js} +0 -0
- /package/dist/chunks/{mime-2axfhc9x.js → app-2axfhc9x.js} +0 -0
- /package/dist/chunks/{mime-2c3vjs8z.js → app-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{mime-359p4xyc.js → app-359p4xyc.js} +0 -0
- /package/dist/chunks/{mime-3asan66x.js → app-3asan66x.js} +0 -0
- /package/dist/chunks/{mime-3v8g72cx.js → app-3v8g72cx.js} +0 -0
- /package/dist/chunks/{mime-3w5fmr99.js → app-3w5fmr99.js} +0 -0
- /package/dist/chunks/{mime-3wcehsnq.js → app-3wcehsnq.js} +0 -0
- /package/dist/chunks/{mime-43n2bw4t.js → app-43n2bw4t.js} +0 -0
- /package/dist/chunks/{mime-4knz6hnm.js → app-4knz6hnm.js} +0 -0
- /package/dist/chunks/{mime-4y7fprxs.js → app-4y7fprxs.js} +0 -0
- /package/dist/chunks/{mime-53557ph1.js → app-53557ph1.js} +0 -0
- /package/dist/chunks/{mime-550bvhaj.js → app-550bvhaj.js} +0 -0
- /package/dist/chunks/{mime-6prwharc.js → app-6prwharc.js} +0 -0
- /package/dist/chunks/{mime-7akdwqpd.js → app-7akdwqpd.js} +0 -0
- /package/dist/chunks/{mime-7m9af43g.js → app-7m9af43g.js} +0 -0
- /package/dist/chunks/{mime-822emrt2.js → app-822emrt2.js} +0 -0
- /package/dist/chunks/{mime-88xbtdfr.js → app-88xbtdfr.js} +0 -0
- /package/dist/chunks/{mime-8n3pysct.js → app-8n3pysct.js} +0 -0
- /package/dist/chunks/{mime-922hggd3.js → app-922hggd3.js} +0 -0
- /package/dist/chunks/{mime-9a4afbnw.js → app-9a4afbnw.js} +0 -0
- /package/dist/chunks/{mime-9rqn6x4v.js → app-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{mime-a1tpkmh4.js → app-a1tpkmh4.js} +0 -0
- /package/dist/chunks/{mime-a6k6eb26.js → app-a6k6eb26.js} +0 -0
- /package/dist/chunks/{mime-af5trqkr.js → app-af5trqkr.js} +0 -0
- /package/dist/chunks/{mime-afrmfg78.js → app-afrmfg78.js} +0 -0
- /package/dist/chunks/{mime-aqzs7mqg.js → app-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{mime-atq7p7m5.js → app-atq7p7m5.js} +0 -0
- /package/dist/chunks/{mime-bkyjaxrp.js → app-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{mime-bmr6ed5q.js → app-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{mime-cf4snx6d.js → app-cf4snx6d.js} +0 -0
- /package/dist/chunks/{mime-cvy3z8tj.js → app-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{mime-d9fn303g.js → app-d9fn303g.js} +0 -0
- /package/dist/chunks/{mime-d9jj8t3e.js → app-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{mime-dajrwvna.js → app-dajrwvna.js} +0 -0
- /package/dist/chunks/{mime-dap0rakb.js → app-dap0rakb.js} +0 -0
- /package/dist/chunks/{mime-df08tz66.js → app-df08tz66.js} +0 -0
- /package/dist/chunks/{mime-dy18nga0.js → app-dy18nga0.js} +0 -0
- /package/dist/chunks/{mime-e5kj55wp.js → app-e5kj55wp.js} +0 -0
- /package/dist/chunks/{mime-e73j6tqm.js → app-e73j6tqm.js} +0 -0
- /package/dist/chunks/{mime-ec1grn59.js → app-ec1grn59.js} +0 -0
- /package/dist/chunks/{mime-eh3zwz77.js → app-eh3zwz77.js} +0 -0
- /package/dist/chunks/{mime-emrn6kk6.js → app-emrn6kk6.js} +0 -0
- /package/dist/chunks/{mime-f0mxakyp.js → app-f0mxakyp.js} +0 -0
- /package/dist/chunks/{mime-f6n9ztr4.js → app-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{mime-faypxj3z.js → app-faypxj3z.js} +0 -0
- /package/dist/chunks/{mime-fd410y7t.js → app-fd410y7t.js} +0 -0
- /package/dist/chunks/{mime-fxgpk5d8.js → app-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{mime-g4wezp1m.js → app-g4wezp1m.js} +0 -0
- /package/dist/chunks/{mime-g86h250q.js → app-g86h250q.js} +0 -0
- /package/dist/chunks/{mime-gebd4c9n.js → app-gebd4c9n.js} +0 -0
- /package/dist/chunks/{mime-gftt206x.js → app-gftt206x.js} +0 -0
- /package/dist/chunks/{mime-hjbc5kem.js → app-hjbc5kem.js} +0 -0
- /package/dist/chunks/{mime-hk9envan.js → app-hk9envan.js} +0 -0
- /package/dist/chunks/{mime-hrnqkpcd.js → app-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{mime-j2ntwpah.js → app-j2ntwpah.js} +0 -0
- /package/dist/chunks/{mime-j5zkgpj8.js → app-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{mime-jr7sbwjy.js → app-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{mime-jwfs4k6c.js → app-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{mime-jzg6c2d5.js → app-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{mime-mp448xyj.js → app-mp448xyj.js} +0 -0
- /package/dist/chunks/{mime-msx8hqn2.js → app-msx8hqn2.js} +0 -0
- /package/dist/chunks/{mime-n05xt0ee.js → app-n05xt0ee.js} +0 -0
- /package/dist/chunks/{mime-n3j8tn72.js → app-n3j8tn72.js} +0 -0
- /package/dist/chunks/{mime-njntx4h6.js → app-njntx4h6.js} +0 -0
- /package/dist/chunks/{mime-paphc93g.js → app-paphc93g.js} +0 -0
- /package/dist/chunks/{mime-q3sfg36h.js → app-q3sfg36h.js} +0 -0
- /package/dist/chunks/{mime-q74kybfr.js → app-q74kybfr.js} +0 -0
- /package/dist/chunks/{mime-qaymkmh1.js → app-qaymkmh1.js} +0 -0
- /package/dist/chunks/{mime-qb87gjwd.js → app-qb87gjwd.js} +0 -0
- /package/dist/chunks/{mime-qfa1cgps.js → app-qfa1cgps.js} +0 -0
- /package/dist/chunks/{mime-qrg20bc0.js → app-qrg20bc0.js} +0 -0
- /package/dist/chunks/{mime-rcb2kzg1.js → app-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{mime-sdp7kfr6.js → app-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{mime-sk3qaz4a.js → app-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{mime-ssg3fenm.js → app-ssg3fenm.js} +0 -0
- /package/dist/chunks/{mime-twg0f83k.js → app-twg0f83k.js} +0 -0
- /package/dist/chunks/{mime-w803qqfp.js → app-w803qqfp.js} +0 -0
- /package/dist/chunks/{mime-wer8tq1h.js → app-wer8tq1h.js} +0 -0
- /package/dist/chunks/{mime-wtztk69x.js → app-wtztk69x.js} +0 -0
- /package/dist/chunks/{mime-x0ckcb58.js → app-x0ckcb58.js} +0 -0
- /package/dist/chunks/{mime-x61499pn.js → app-x61499pn.js} +0 -0
- /package/dist/chunks/{mime-y44na4kk.js → app-y44na4kk.js} +0 -0
- /package/dist/chunks/{mime-y8cydn3q.js → app-y8cydn3q.js} +0 -0
- /package/dist/chunks/{mime-ygaqb7jw.js → app-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{mime-ym463w8f.js → app-ym463w8f.js} +0 -0
- /package/dist/chunks/{mime-z9919s4g.js → app-z9919s4g.js} +0 -0
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./app-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./app-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service27,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer13,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node31
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -31,7 +31,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
31
31
|
});
|
|
32
32
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
33
33
|
|
|
34
|
-
class
|
|
34
|
+
class Service27 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
35
35
|
}
|
|
36
36
|
var transportError = (message, input) => new AIError({
|
|
37
37
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -55,7 +55,7 @@ var observationFrame = (observation) => {
|
|
|
55
55
|
return Effect.fail(observation.error);
|
|
56
56
|
};
|
|
57
57
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
58
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
58
|
+
var makeLayer2 = (connector) => Layer.effect(Service27, Effect.gen(function* () {
|
|
59
59
|
const scope = yield* Scope.Scope;
|
|
60
60
|
const states = new Map;
|
|
61
61
|
const state = (sessionID) => {
|
|
@@ -331,11 +331,11 @@ var makeLayer2 = (connector) => Layer.effect(Service36, Effect.gen(function* ()
|
|
|
331
331
|
}, { discard: true });
|
|
332
332
|
});
|
|
333
333
|
yield* Effect.addFinalizer(() => closeAll);
|
|
334
|
-
return
|
|
334
|
+
return Service27.of({ bind, close, closeAll });
|
|
335
335
|
}));
|
|
336
|
-
var
|
|
336
|
+
var layer13 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
337
337
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
338
338
|
})));
|
|
339
|
-
var
|
|
339
|
+
var node31 = makeGlobalNode({ service: Service27, layer: layer13, deps: [webSocketConstructor2] });
|
|
340
340
|
|
|
341
|
-
export {
|
|
341
|
+
export { Service27, makeLayer2, layer13, node31, exports_model_transport };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service35
|
|
3
|
+
} from "./app-gfsay0az.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service15
|
|
6
|
+
} from "./app-813w40n4.js";
|
|
7
7
|
import {
|
|
8
8
|
text2,
|
|
9
9
|
deliver2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-x1ezjp6w.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./app-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/session/subagent-job.ts
|
|
16
16
|
var exports_subagent_job = {};
|
|
17
17
|
__export(exports_subagent_job, {
|
|
18
18
|
SubagentJob: () => exports_subagent_job,
|
|
19
|
-
make: () =>
|
|
19
|
+
make: () => make10
|
|
20
20
|
});
|
|
21
21
|
import { Effect, Scope } from "effect";
|
|
22
|
-
var
|
|
23
|
-
const sessions = yield*
|
|
24
|
-
const jobs = yield*
|
|
22
|
+
var make10 = Effect.gen(function* () {
|
|
23
|
+
const sessions = yield* Service15;
|
|
24
|
+
const jobs = yield* Service35;
|
|
25
25
|
const scope = yield* Scope.Scope;
|
|
26
26
|
const notifications = new Set;
|
|
27
27
|
const notify = Effect.fn("SubagentJob.notify")(function* (recovery, startedAt) {
|
|
@@ -58,4 +58,4 @@ var make6 = Effect.gen(function* () {
|
|
|
58
58
|
};
|
|
59
59
|
});
|
|
60
60
|
|
|
61
|
-
export {
|
|
61
|
+
export { make10, exports_subagent_job };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node81
|
|
4
|
+
} from "./app-d9xjrm20.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service71,
|
|
7
|
+
node76
|
|
8
|
+
} from "./app-kjq4p8hx.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./app-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service68,
|
|
14
|
+
node73
|
|
15
|
+
} from "./app-cxwzzg52.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./app-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instructions.ts
|
|
21
21
|
var exports_instructions = {};
|
|
22
22
|
__export(exports_instructions, {
|
|
23
|
-
Service: () =>
|
|
23
|
+
Service: () => Service6,
|
|
24
24
|
SessionInstructions: () => exports_instructions,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node9
|
|
26
26
|
});
|
|
27
27
|
import { relative } from "path";
|
|
28
28
|
import { Context, Effect, Layer, Option, Ref, Schema } from "effect";
|
|
@@ -32,13 +32,13 @@ var InjectedMetadata = Schema.Struct({
|
|
|
32
32
|
instruction: Schema.Struct({ paths: Schema.Array(Schema.String) })
|
|
33
33
|
});
|
|
34
34
|
|
|
35
|
-
class
|
|
35
|
+
class Service6 extends Context.Service()("@opencode/SessionInstructions") {
|
|
36
36
|
}
|
|
37
|
-
var layer = Layer.effect(
|
|
38
|
-
const bus = yield*
|
|
37
|
+
var layer = Layer.effect(Service6, Effect.gen(function* () {
|
|
38
|
+
const bus = yield* Service76;
|
|
39
39
|
const fs = yield* FSUtil.Service;
|
|
40
|
-
const store = yield*
|
|
41
|
-
const location = yield*
|
|
40
|
+
const store = yield* Service68;
|
|
41
|
+
const location = yield* Service71;
|
|
42
42
|
const root = yield* fs.resolve(location.project.directory);
|
|
43
43
|
const inFlight = yield* Ref.make(new Map);
|
|
44
44
|
const load = Effect.fn("SessionInstructions.load")(function* (input) {
|
|
@@ -84,7 +84,7 @@ ${file.content}`).join(`
|
|
|
84
84
|
return next;
|
|
85
85
|
})));
|
|
86
86
|
});
|
|
87
|
-
return
|
|
87
|
+
return Service6.of({ load });
|
|
88
88
|
}));
|
|
89
89
|
function previouslyInjected(store, sessionID) {
|
|
90
90
|
return Effect.gen(function* () {
|
|
@@ -95,10 +95,10 @@ function previouslyInjected(store, sessionID) {
|
|
|
95
95
|
function describePath(root, path) {
|
|
96
96
|
return FSUtil.contains(root, path) ? relative(root, path) : path;
|
|
97
97
|
}
|
|
98
|
-
var
|
|
98
|
+
var node9 = makeLocationNode({
|
|
99
99
|
name: "session-instructions",
|
|
100
100
|
layer,
|
|
101
|
-
deps: [
|
|
101
|
+
deps: [node81, FSUtil.node, node76, node73]
|
|
102
102
|
});
|
|
103
103
|
|
|
104
|
-
export {
|
|
104
|
+
export { Service6, node9, exports_instructions };
|
|
@@ -2,7 +2,7 @@ import {
|
|
|
2
2
|
getTableColumnsRuntime2,
|
|
3
3
|
orderSelectedFields2,
|
|
4
4
|
mapUpdateSet2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-emrn6kk6.js";
|
|
6
6
|
|
|
7
7
|
// src/database/drizzle/sqlite-core/effect/insert.ts
|
|
8
8
|
import { applyEffectWrapper } from "drizzle-orm/effect-core/query-effect";
|
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
3
|
+
Service76,
|
|
4
|
+
node81
|
|
5
|
+
} from "./app-d9xjrm20.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/plugin/sdk.ts
|
|
11
11
|
var exports_sdk = {};
|
|
12
12
|
__export(exports_sdk, {
|
|
13
13
|
SdkPlugins: () => exports_sdk,
|
|
14
|
-
Service: () =>
|
|
14
|
+
Service: () => Service4,
|
|
15
15
|
Updated: () => Updated2,
|
|
16
|
-
layer: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
layer: () => layer4,
|
|
17
|
+
node: () => node7
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
21
21
|
var Updated2 = ephemeral2({ type: "sdk.plugin.updated", schema: {} });
|
|
22
22
|
|
|
23
|
-
class
|
|
23
|
+
class Service4 extends Context.Service()("@opencode/SdkPlugins") {
|
|
24
24
|
}
|
|
25
|
-
var
|
|
26
|
-
const bus = yield*
|
|
25
|
+
var layer4 = Layer.effect(Service4, Effect.gen(function* () {
|
|
26
|
+
const bus = yield* Service76;
|
|
27
27
|
const plugins = new Map;
|
|
28
28
|
let revision = 0;
|
|
29
|
-
return
|
|
29
|
+
return Service4.of({
|
|
30
30
|
register: (plugin) => Effect.sync(() => {
|
|
31
31
|
plugins.set(plugin.id, { ...plugin, revision: String(++revision), source: { type: "sdk" } });
|
|
32
32
|
}).pipe(Effect.andThen(bus.publish(Updated2, {})), Effect.asVoid),
|
|
33
33
|
all: () => [...plugins.values()]
|
|
34
34
|
});
|
|
35
35
|
}));
|
|
36
|
-
var
|
|
36
|
+
var node7 = makeGlobalNode({ service: Service4, layer: layer4, deps: [node81] });
|
|
37
37
|
|
|
38
|
-
export { Updated2,
|
|
38
|
+
export { Updated2, Service4, layer4, node7, exports_sdk };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service77,
|
|
3
|
+
node82
|
|
4
|
+
} from "./app-r6a9556n.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./app-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./app-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID14,
|
|
17
|
+
Info: () => Info28,
|
|
18
|
+
ListInput: () => ListInput5,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service69,
|
|
21
|
+
node: () => node74
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID14 = PermissionSaved.ID;
|
|
29
|
+
var Info28 = PermissionSaved.Info;
|
|
30
|
+
var ListInput5 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,10 +36,10 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service69 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
42
|
-
const db = (yield*
|
|
41
|
+
var layer = Layer.effect(Service69, Effect.gen(function* () {
|
|
42
|
+
const db = (yield* Service77).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
45
45
|
return rows.map((row) => ({
|
|
@@ -53,7 +53,7 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
53
53
|
if (!input.resources.length)
|
|
54
54
|
return;
|
|
55
55
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
56
|
-
id:
|
|
56
|
+
id: ID14.create(),
|
|
57
57
|
project_id: input.projectID,
|
|
58
58
|
action: input.action,
|
|
59
59
|
resource
|
|
@@ -62,8 +62,8 @@ var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
|
62
62
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
63
63
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
64
64
|
});
|
|
65
|
-
return
|
|
65
|
+
return Service69.of({ list, add, remove });
|
|
66
66
|
}));
|
|
67
|
-
var
|
|
67
|
+
var node74 = makeGlobalNode({ service: Service69, layer, deps: [node82] });
|
|
68
68
|
|
|
69
|
-
export {
|
|
69
|
+
export { ID14, Info28, ListInput5, AddInput2, Service69, node74, exports_saved };
|
|
@@ -1,54 +1,54 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
2
|
+
ID16,
|
|
3
|
+
Info30,
|
|
4
4
|
SessionSchema2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./app-2f04pwep.js";
|
|
6
6
|
import {
|
|
7
7
|
RelativePath2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./app-922hggd3.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service77,
|
|
11
|
+
node82
|
|
12
|
+
} from "./app-r6a9556n.js";
|
|
13
13
|
import {
|
|
14
14
|
isSynced2,
|
|
15
|
-
Service78,
|
|
16
|
-
node83
|
|
17
|
-
} from "./mime-semqf2xs.js";
|
|
18
|
-
import {
|
|
19
15
|
Service76,
|
|
20
16
|
node81
|
|
21
|
-
} from "./
|
|
17
|
+
} from "./app-d9xjrm20.js";
|
|
18
|
+
import {
|
|
19
|
+
Service72,
|
|
20
|
+
node77
|
|
21
|
+
} from "./app-f2rv3mpp.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
Service33,
|
|
24
|
+
node36
|
|
25
|
+
} from "./app-b99w0g26.js";
|
|
26
26
|
import {
|
|
27
27
|
SessionEvent2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./app-ec1grn59.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionMessageTable2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./app-a1bz86dw.js";
|
|
32
32
|
import {
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
33
|
+
node35
|
|
34
|
+
} from "./app-n5k8tdrn.js";
|
|
35
35
|
import {
|
|
36
36
|
current2
|
|
37
|
-
} from "./
|
|
37
|
+
} from "./app-bha4atvq.js";
|
|
38
38
|
import {
|
|
39
39
|
snapshot2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./app-gc25hdrq.js";
|
|
41
41
|
import {
|
|
42
42
|
Slug2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./app-gebd4c9n.js";
|
|
44
44
|
import {
|
|
45
45
|
SessionAlreadyProjected2,
|
|
46
|
-
|
|
47
|
-
} from "./
|
|
46
|
+
node21
|
|
47
|
+
} from "./app-nw3bhhr3.js";
|
|
48
48
|
import {
|
|
49
49
|
Metadata2,
|
|
50
|
-
|
|
51
|
-
} from "./
|
|
50
|
+
node68
|
|
51
|
+
} from "./app-99m6at3m.js";
|
|
52
52
|
import {
|
|
53
53
|
NotFoundError8,
|
|
54
54
|
MessageNotFoundError2,
|
|
@@ -64,50 +64,50 @@ import {
|
|
|
64
64
|
BusyError2,
|
|
65
65
|
InboxConflictError2,
|
|
66
66
|
SkillNotFoundError2
|
|
67
|
-
} from "./
|
|
67
|
+
} from "./app-27rw9vzj.js";
|
|
68
68
|
import {
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
} from "./
|
|
69
|
+
ListInput4,
|
|
70
|
+
Service68,
|
|
71
|
+
node73
|
|
72
|
+
} from "./app-cxwzzg52.js";
|
|
73
73
|
import {
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
} from "./
|
|
74
|
+
Service35,
|
|
75
|
+
node38
|
|
76
|
+
} from "./app-gfsay0az.js";
|
|
77
77
|
import {
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
} from "./
|
|
78
|
+
Service30,
|
|
79
|
+
node34
|
|
80
|
+
} from "./app-x8jze1wy.js";
|
|
81
81
|
import {
|
|
82
82
|
llmClient2
|
|
83
|
-
} from "./
|
|
83
|
+
} from "./app-5t3nmthw.js";
|
|
84
84
|
import {
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
} from "./
|
|
85
|
+
Service27,
|
|
86
|
+
node31
|
|
87
|
+
} from "./app-6xkfsm7b.js";
|
|
88
88
|
import {
|
|
89
89
|
generate3
|
|
90
|
-
} from "./
|
|
90
|
+
} from "./app-c0m0qq75.js";
|
|
91
91
|
import {
|
|
92
92
|
execute2
|
|
93
|
-
} from "./
|
|
93
|
+
} from "./app-jn4c8fdh.js";
|
|
94
94
|
import {
|
|
95
95
|
DestinationNotFoundError2,
|
|
96
96
|
DestinationNotDirectoryError2,
|
|
97
97
|
DestinationUnavailableError2,
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
} from "./
|
|
98
|
+
Service17,
|
|
99
|
+
node20
|
|
100
|
+
} from "./app-n4a0kzxz.js";
|
|
101
101
|
import {
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
} from "./
|
|
102
|
+
Service41,
|
|
103
|
+
node44
|
|
104
|
+
} from "./app-qvb3nf84.js";
|
|
105
105
|
import {
|
|
106
106
|
make13
|
|
107
|
-
} from "./
|
|
107
|
+
} from "./app-1s0d9f9g.js";
|
|
108
108
|
import {
|
|
109
109
|
__export
|
|
110
|
-
} from "./
|
|
110
|
+
} from "./app-9rqn6x4v.js";
|
|
111
111
|
|
|
112
112
|
// src/session.ts
|
|
113
113
|
var exports_session = {};
|
|
@@ -118,11 +118,11 @@ __export(exports_session, {
|
|
|
118
118
|
DestinationNotDirectoryError: () => DestinationNotDirectoryError2,
|
|
119
119
|
DestinationNotFoundError: () => DestinationNotFoundError2,
|
|
120
120
|
DestinationUnavailableError: () => DestinationUnavailableError2,
|
|
121
|
-
ID: () =>
|
|
121
|
+
ID: () => ID16,
|
|
122
122
|
InboxConflictError: () => InboxConflictError2,
|
|
123
|
-
Info: () =>
|
|
123
|
+
Info: () => Info30,
|
|
124
124
|
ListAnchor: () => ListAnchor2,
|
|
125
|
-
ListInput: () =>
|
|
125
|
+
ListInput: () => ListInput2,
|
|
126
126
|
MessageDecodeError: () => MessageDecodeError2,
|
|
127
127
|
MessageIncompleteError: () => MessageIncompleteError2,
|
|
128
128
|
MessageNotAssistantError: () => MessageNotAssistantError2,
|
|
@@ -130,12 +130,12 @@ __export(exports_session, {
|
|
|
130
130
|
MessageToolIncompleteError: () => MessageToolIncompleteError2,
|
|
131
131
|
NotFoundError: () => NotFoundError8,
|
|
132
132
|
PromptConflictError: () => PromptConflictError2,
|
|
133
|
-
Service: () =>
|
|
133
|
+
Service: () => Service15,
|
|
134
134
|
Session: () => exports_session,
|
|
135
135
|
SessionSchema: () => SessionSchema2,
|
|
136
136
|
SkillNotFoundError: () => SkillNotFoundError2,
|
|
137
137
|
SyntheticConflictError: () => SyntheticConflictError2,
|
|
138
|
-
node: () =>
|
|
138
|
+
node: () => node19
|
|
139
139
|
});
|
|
140
140
|
import { Effect, Layer, Schema, Context, Stream } from "effect";
|
|
141
141
|
import { LLMClient } from "@opencode/ai";
|
|
@@ -145,26 +145,26 @@ import { Model } from "@opencode/schema/model";
|
|
|
145
145
|
import path from "path";
|
|
146
146
|
import { Node } from "@opencode/util/effect/app-node";
|
|
147
147
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
148
|
-
var
|
|
149
|
-
class
|
|
148
|
+
var ListInput2 = ListInput4;
|
|
149
|
+
class Service15 extends Context.Service()("@opencode/Session") {
|
|
150
150
|
}
|
|
151
|
-
var layer = Layer.effect(
|
|
151
|
+
var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
152
152
|
const app = yield* Metadata2;
|
|
153
|
-
const database = yield*
|
|
153
|
+
const database = yield* Service77;
|
|
154
154
|
const db = database.db;
|
|
155
|
-
const bus = yield*
|
|
156
|
-
const projects = yield*
|
|
157
|
-
const execution = yield*
|
|
155
|
+
const bus = yield* Service76;
|
|
156
|
+
const projects = yield* Service72;
|
|
157
|
+
const execution = yield* Service30;
|
|
158
158
|
const llm = yield* LLMClient.Service;
|
|
159
|
-
const transport = yield*
|
|
160
|
-
const store = yield*
|
|
161
|
-
const instances = yield*
|
|
162
|
-
const moves = yield*
|
|
163
|
-
const jobs = yield*
|
|
164
|
-
const environments = yield*
|
|
159
|
+
const transport = yield* Service27;
|
|
160
|
+
const store = yield* Service68;
|
|
161
|
+
const instances = yield* Service33;
|
|
162
|
+
const moves = yield* Service17;
|
|
163
|
+
const jobs = yield* Service35;
|
|
164
|
+
const environments = yield* Service41;
|
|
165
165
|
const sessions = yield* make13();
|
|
166
166
|
const isDurableSessionEvent = Schema.is(SessionEvent2.Durable);
|
|
167
|
-
const result =
|
|
167
|
+
const result = Service15.of({
|
|
168
168
|
create: Effect.fn("Session.create")(function* (input) {
|
|
169
169
|
const sessionID = input.id ?? SessionSchema2.ID.create();
|
|
170
170
|
const recorded = yield* store.get(sessionID);
|
|
@@ -266,11 +266,11 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
266
266
|
prompt: (input) => sessions.forSession(input.sessionID).prompt(input),
|
|
267
267
|
generate: Effect.fn("Session.generate")(function* (input) {
|
|
268
268
|
const session = yield* result.get(input.sessionID);
|
|
269
|
-
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(
|
|
269
|
+
return yield* generate3({ session, prompt: input.prompt }).pipe(Effect.provideService(Service33, instances), Effect.provideService(Service77, database), Effect.provideService(LLMClient.Service, llm));
|
|
270
270
|
}),
|
|
271
271
|
command: Effect.fn("Session.command")(function* (input) {
|
|
272
272
|
const session = yield* result.get(input.sessionID);
|
|
273
|
-
return yield* execute2({ ...input, session }).pipe(Effect.provideService(
|
|
273
|
+
return yield* execute2({ ...input, session }).pipe(Effect.provideService(Service33, instances));
|
|
274
274
|
}),
|
|
275
275
|
shell: (input) => sessions.forSession(input.sessionID).shell(input),
|
|
276
276
|
skill: (input) => sessions.forSession(input.sessionID).skill(input),
|
|
@@ -310,26 +310,26 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
310
310
|
});
|
|
311
311
|
return result;
|
|
312
312
|
}));
|
|
313
|
-
var
|
|
314
|
-
service:
|
|
313
|
+
var node19 = Node.makeGlobalNode({
|
|
314
|
+
service: Service15,
|
|
315
315
|
layer,
|
|
316
316
|
deps: [
|
|
317
|
-
|
|
318
|
-
node54,
|
|
319
|
-
node85,
|
|
320
|
-
node83,
|
|
321
|
-
node81,
|
|
317
|
+
node38,
|
|
322
318
|
node44,
|
|
323
|
-
|
|
319
|
+
node82,
|
|
320
|
+
node81,
|
|
321
|
+
node77,
|
|
322
|
+
node34,
|
|
323
|
+
node31,
|
|
324
324
|
llmClient2,
|
|
325
|
-
|
|
326
|
-
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
325
|
+
node73,
|
|
326
|
+
node36,
|
|
327
|
+
node35,
|
|
328
|
+
node20,
|
|
329
|
+
node21,
|
|
330
330
|
FSUtil.node,
|
|
331
|
-
|
|
331
|
+
node68
|
|
332
332
|
]
|
|
333
333
|
});
|
|
334
334
|
|
|
335
|
-
export { ListAnchor2,
|
|
335
|
+
export { ListAnchor2, ListInput2, Service15, node19, exports_session };
|