@opencode/core 0.0.0-dev-21771 → 0.0.0-dev-21775
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 +86 -86
- package/dist/aisdk-native.js +93 -93
- package/dist/aisdk.js +99 -99
- package/dist/app.js +7 -7
- package/dist/bus.js +72 -72
- package/dist/chunks/{bus-aj7mw0zk.js → file-retention-034tev2y.js} +2 -2
- package/dist/chunks/{bus-968zb3d9.js → file-retention-043edbps.js} +20 -20
- package/dist/chunks/{bus-sx5jsyfk.js → file-retention-05038jtd.js} +9 -9
- package/dist/chunks/{bus-8xakwjzq.js → file-retention-0c77ab74.js} +25 -25
- package/dist/chunks/{bus-24ensvap.js → file-retention-0dye9s24.js} +4 -4
- package/dist/chunks/{bus-33m7whbm.js → file-retention-0ex69mkq.js} +33 -33
- package/dist/chunks/{bus-r7yy0bbc.js → file-retention-0gqjs8xd.js} +11 -11
- package/dist/chunks/{bus-jep9qv96.js → file-retention-0kpntjxf.js} +3 -3
- package/dist/chunks/{bus-1gbv4egw.js → file-retention-1a3825m9.js} +24 -24
- package/dist/chunks/{bus-pxfpj50j.js → file-retention-1dt1w7eh.js} +54 -54
- package/dist/chunks/{bus-b5xzm5vb.js → file-retention-1e1kb1f8.js} +14 -14
- package/dist/chunks/{bus-27w5k9zf.js → file-retention-1ep2p91f.js} +2 -2
- package/dist/chunks/{bus-w1w1hdpc.js → file-retention-1hg0zxtx.js} +10 -10
- package/dist/chunks/{bus-7a1enj4j.js → file-retention-1htg6rk5.js} +8 -8
- package/dist/chunks/{bus-78n7gqxq.js → file-retention-1v3pmt1f.js} +33 -33
- package/dist/chunks/{bus-1x2knyw4.js → file-retention-1x2knyw4.js} +1 -1
- package/dist/chunks/{bus-say8h466.js → file-retention-1yq6n76y.js} +45 -45
- package/dist/chunks/{bus-0ks2n9jf.js → file-retention-1z6jjy5p.js} +6 -6
- package/dist/chunks/{bus-72w7d34h.js → file-retention-234ntbqc.js} +24 -24
- package/dist/chunks/{bus-c93qyjvh.js → file-retention-23nwgtns.js} +7 -7
- package/dist/chunks/{bus-xpve62cf.js → file-retention-2mbjfaxd.js} +4 -4
- package/dist/chunks/{bus-er3p6day.js → file-retention-2qvs9jak.js} +11 -11
- package/dist/chunks/{bus-tsnmrzyz.js → file-retention-2vejemke.js} +13 -13
- package/dist/chunks/{bus-2z1j29yd.js → file-retention-2z1j29yd.js} +1 -1
- package/dist/chunks/{bus-z0n3s6vg.js → file-retention-30yerwvb.js} +32 -32
- package/dist/chunks/{bus-qk01kt0y.js → file-retention-3164ts83.js} +4 -4
- package/dist/chunks/{bus-6cnc0cpj.js → file-retention-37rj4464.js} +13 -13
- package/dist/chunks/{bus-3hepkmqq.js → file-retention-3hepkmqq.js} +1 -1
- package/dist/chunks/{bus-3nnrz6f6.js → file-retention-3nnrz6f6.js} +1 -1
- package/dist/chunks/{bus-dzk9vq3k.js → file-retention-3r7w24g9.js} +4 -4
- package/dist/chunks/{bus-d3kyakcb.js → file-retention-3wb8nyxx.js} +15 -15
- package/dist/chunks/{bus-4bwthz3m.js → file-retention-3xv5yes5.js} +6 -6
- package/dist/chunks/{bus-w2eysc6j.js → file-retention-40za9wsf.js} +9 -9
- package/dist/chunks/{bus-ae1r208f.js → file-retention-4hh7j8bj.js} +25 -25
- package/dist/chunks/file-retention-4t67gtqn.js +257 -0
- package/dist/chunks/{bus-4v008n1t.js → file-retention-4v008n1t.js} +1 -1
- package/dist/chunks/{bus-tfzjm0y6.js → file-retention-4vc6yp1q.js} +36 -36
- package/dist/chunks/{bus-4xvmh7wp.js → file-retention-4xvmh7wp.js} +3 -3
- package/dist/chunks/{bus-hqkqdfhx.js → file-retention-4y5adm9d.js} +45 -45
- package/dist/chunks/{bus-4rpfmqy2.js → file-retention-562s2c64.js} +32 -32
- package/dist/chunks/{bus-erbrk8mc.js → file-retention-5784b4h2.js} +9 -9
- package/dist/chunks/{bus-y0e8a50k.js → file-retention-5ej6fcjw.js} +6 -6
- package/dist/chunks/{bus-5m9w47nd.js → file-retention-5m9w47nd.js} +1 -1
- package/dist/chunks/{bus-s4xs6np6.js → file-retention-5tw9zmff.js} +87 -87
- package/dist/chunks/{bus-3tf6xkcb.js → file-retention-5yj1svp7.js} +26 -26
- package/dist/chunks/{bus-c8ry187g.js → file-retention-5yvm9gq4.js} +11 -11
- package/dist/chunks/{bus-ks4ftmk2.js → file-retention-5yw85qpw.js} +28 -28
- package/dist/chunks/{bus-kpt65nyb.js → file-retention-62n5agxz.js} +2 -2
- package/dist/chunks/{bus-mq99kydt.js → file-retention-6481hcqs.js} +11 -11
- package/dist/chunks/{bus-sp3s4p78.js → file-retention-66hxanz0.js} +28 -28
- package/dist/chunks/{bus-wx7sngd8.js → file-retention-6a2eq7nz.js} +18 -18
- package/dist/chunks/{bus-w04hajkc.js → file-retention-6cahmqzr.js} +8 -8
- package/dist/chunks/{bus-v4gj965k.js → file-retention-6dw9a62t.js} +81 -81
- package/dist/chunks/{bus-6esdw8yj.js → file-retention-6esdw8yj.js} +1 -1
- package/dist/chunks/{bus-2aht5h8a.js → file-retention-6g7e0vcw.js} +11 -11
- package/dist/chunks/{bus-6pjqjmy2.js → file-retention-6pjqjmy2.js} +1 -1
- package/dist/chunks/{bus-hw277ph8.js → file-retention-6tx8rgr5.js} +12 -12
- package/dist/chunks/{bus-jk0ezzt1.js → file-retention-6z77c2r8.js} +19 -19
- package/dist/chunks/{bus-2a0ycgfa.js → file-retention-74by25sn.js} +22 -22
- package/dist/chunks/{bus-s2v0hf93.js → file-retention-757kxfk5.js} +5 -5
- package/dist/chunks/{bus-76cb1hcw.js → file-retention-76cb1hcw.js} +1 -1
- package/dist/chunks/{bus-j1697kze.js → file-retention-79zrs9sr.js} +11 -11
- package/dist/chunks/{bus-7bmhse3q.js → file-retention-7bmhse3q.js} +1 -1
- package/dist/chunks/{bus-vey96hyd.js → file-retention-7ta0ytq2.js} +36 -36
- package/dist/chunks/{bus-7w2ypzdf.js → file-retention-7w2ypzdf.js} +1 -1
- package/dist/chunks/{bus-ch4b1ejs.js → file-retention-7zkdf223.js} +13 -13
- package/dist/chunks/{bus-5he68tar.js → file-retention-7zkpzyeb.js} +23 -23
- package/dist/chunks/{bus-ezf05rfa.js → file-retention-802q13vp.js} +7 -7
- package/dist/chunks/{bus-qsgw8emv.js → file-retention-86nyzsdp.js} +2 -2
- package/dist/chunks/{bus-h5q1kwcn.js → file-retention-8aaegyc4.js} +4 -4
- package/dist/chunks/{bus-6jh10ydg.js → file-retention-8esf06c6.js} +11 -11
- package/dist/chunks/{bus-76zr8q1f.js → file-retention-8gaq3e8g.js} +9 -9
- package/dist/chunks/{bus-8rxabkwz.js → file-retention-8k7fs4yk.js} +5 -5
- package/dist/chunks/{bus-8r6n0qax.js → file-retention-8r6n0qax.js} +1 -1
- package/dist/chunks/{bus-bc0ymxgg.js → file-retention-8rqkymsz.js} +8 -8
- package/dist/chunks/{bus-j6gqmh3p.js → file-retention-8w0qx81v.js} +18 -18
- package/dist/chunks/{bus-8wtp7s3z.js → file-retention-8wtp7s3z.js} +1 -1
- package/dist/chunks/{bus-91rj84md.js → file-retention-91rj84md.js} +1 -1
- package/dist/chunks/{bus-q8vj82s1.js → file-retention-995kf3fb.js} +25 -25
- package/dist/chunks/{bus-59ptmfz1.js → file-retention-9bz5f2aq.js} +21 -21
- package/dist/chunks/{bus-w98j9286.js → file-retention-9nz28cm2.js} +11 -11
- package/dist/chunks/{bus-n6wcw0qa.js → file-retention-9qp5p8zq.js} +21 -21
- package/dist/chunks/{bus-1cjdy6fr.js → file-retention-9xhfncsk.js} +34 -34
- package/dist/chunks/{bus-cx1nh8ty.js → file-retention-a0vny5h5.js} +17 -17
- package/dist/chunks/{bus-0q2nxdnt.js → file-retention-a1qdfkze.js} +3 -3
- package/dist/chunks/{bus-wxyvwzz4.js → file-retention-a37vbyfx.js} +17 -17
- package/dist/chunks/{bus-nzecmrmw.js → file-retention-a5dtds7w.js} +5 -5
- package/dist/chunks/{bus-j7jdjmdk.js → file-retention-adgmyams.js} +41 -41
- package/dist/chunks/{bus-0cpnneka.js → file-retention-af63jp32.js} +18 -18
- package/dist/chunks/{bus-jdy4sg6x.js → file-retention-ahrm6a4v.js} +30 -30
- package/dist/chunks/{bus-0rkk7fzp.js → file-retention-as38c070.js} +14 -14
- package/dist/chunks/{bus-97eqx2j4.js → file-retention-atnbxq3j.js} +26 -26
- package/dist/chunks/{bus-c6a737e5.js → file-retention-av5ks0e5.js} +9 -9
- package/dist/chunks/{bus-7nf3hwcc.js → file-retention-ay3eg20d.js} +16 -16
- package/dist/chunks/{bus-cc9de14p.js → file-retention-ay8p2qby.js} +65 -65
- package/dist/chunks/{bus-3cbjf1nt.js → file-retention-ayjs7tqn.js} +2 -2
- package/dist/chunks/{bus-b0mv4wxm.js → file-retention-b0mv4wxm.js} +2 -2
- package/dist/chunks/{bus-nkqffhea.js → file-retention-b3zqj1fn.js} +30 -30
- package/dist/chunks/{bus-rwp901jg.js → file-retention-bjhzkqyk.js} +4 -4
- package/dist/chunks/{bus-w22yp63b.js → file-retention-bqwdyg2t.js} +9 -9
- package/dist/chunks/{bus-xd9cc171.js → file-retention-bstexjd6.js} +5 -5
- package/dist/chunks/{bus-pt1ss6jy.js → file-retention-c2sed5cq.js} +3 -3
- package/dist/chunks/{bus-5wfnny7e.js → file-retention-c3cfh5w6.js} +7 -7
- package/dist/chunks/{bus-t9p9v25b.js → file-retention-c7nehh90.js} +6 -6
- package/dist/chunks/{bus-hpjv7jpj.js → file-retention-c9x3pgse.js} +14 -14
- package/dist/chunks/{bus-60bjnz3k.js → file-retention-cf7x3ksa.js} +25 -25
- package/dist/chunks/{bus-eagdatke.js → file-retention-cjy4375a.js} +4 -4
- package/dist/chunks/{bus-5hsa88vd.js → file-retention-cn5vzm85.js} +5 -5
- package/dist/chunks/{bus-6c47gy31.js → file-retention-d0z36nkj.js} +23 -23
- package/dist/chunks/{bus-mtkfycnh.js → file-retention-d2887f8n.js} +4 -4
- package/dist/chunks/{bus-9aqk1dq7.js → file-retention-d356z46s.js} +25 -25
- package/dist/chunks/{bus-bwvzxxjj.js → file-retention-d3k5k72a.js} +13 -13
- package/dist/chunks/{bus-gn8tkhbf.js → file-retention-d4v9tmah.js} +2 -2
- package/dist/chunks/{bus-gm821jjc.js → file-retention-d4yvfdjq.js} +14 -14
- package/dist/chunks/{bus-43ffn9qg.js → file-retention-d5wa0b2s.js} +3 -3
- package/dist/chunks/{bus-ep5cx7bf.js → file-retention-d63vatx9.js} +4 -4
- package/dist/chunks/{bus-hn5fn5cd.js → file-retention-d6n7qg8p.js} +9 -9
- package/dist/chunks/{bus-6mrjjgaf.js → file-retention-d7tcj48j.js} +6 -6
- package/dist/chunks/{bus-hkt99n7n.js → file-retention-dbx6pzfq.js} +6 -6
- package/dist/chunks/{bus-0ss1ygn7.js → file-retention-dh62xe4r.js} +3 -3
- package/dist/chunks/{bus-4zqz1nha.js → file-retention-dk26t417.js} +18 -18
- package/dist/chunks/{bus-agty4mk4.js → file-retention-dqyjxj68.js} +9 -9
- package/dist/chunks/{bus-5qd3pb7m.js → file-retention-e3qxr5gk.js} +2 -2
- package/dist/chunks/{bus-e834z07m.js → file-retention-e834z07m.js} +1 -1
- package/dist/chunks/{bus-4vn2znms.js → file-retention-ehw7gamr.js} +18 -18
- package/dist/chunks/{bus-csz5fs9c.js → file-retention-en82s9xt.js} +21 -21
- package/dist/chunks/{bus-4r64vb6b.js → file-retention-enz9anj1.js} +14 -14
- package/dist/chunks/{bus-ed6wr155.js → file-retention-eqtjzdmt.js} +26 -26
- package/dist/chunks/{bus-qn5jbns3.js → file-retention-exyf3fed.js} +10 -10
- package/dist/chunks/{bus-4jzeqp7g.js → file-retention-ezw660nq.js} +5 -5
- package/dist/chunks/{bus-ajy9q28e.js → file-retention-f0cbaec5.js} +45 -45
- package/dist/chunks/{bus-2qqhn2wv.js → file-retention-fbx1pf6w.js} +40 -40
- package/dist/chunks/{bus-8jbs1e40.js → file-retention-fe3ptvc8.js} +20 -20
- package/dist/chunks/{bus-sqp2yxwq.js → file-retention-feghes5g.js} +18 -18
- package/dist/chunks/{bus-fffv3p7h.js → file-retention-fffv3p7h.js} +1 -1
- package/dist/chunks/{bus-x0g63ege.js → file-retention-ffnxs1x0.js} +7 -7
- package/dist/chunks/{bus-pcz6903h.js → file-retention-fg9nnp40.js} +7 -7
- package/dist/chunks/{bus-vzkb0d1s.js → file-retention-fhj25s52.js} +32 -32
- package/dist/chunks/{bus-fy5bjxgv.js → file-retention-fnrac0zs.js} +3 -3
- package/dist/chunks/{bus-qmgzmwq7.js → file-retention-fpecf9xp.js} +4 -4
- package/dist/chunks/{bus-cwz77rcy.js → file-retention-frt8zmm9.js} +11 -11
- package/dist/chunks/{bus-wr3re1en.js → file-retention-fznmdakp.js} +4 -4
- package/dist/chunks/{bus-83zq5531.js → file-retention-g2cjact9.js} +186 -186
- package/dist/chunks/{bus-g5h9c0rr.js → file-retention-g5h9c0rr.js} +2 -2
- package/dist/chunks/{bus-r4pwrx75.js → file-retention-gcjdgkn2.js} +2 -2
- package/dist/chunks/{bus-kcbfy5w6.js → file-retention-h31vq76g.js} +10 -10
- package/dist/chunks/{bus-aaxef3xy.js → file-retention-h5dyhw6p.js} +32 -32
- package/dist/chunks/{bus-wqscedq8.js → file-retention-h7d4rbrg.js} +9 -9
- package/dist/chunks/{bus-fqka00g9.js → file-retention-he1xcvzj.js} +9 -9
- package/dist/chunks/{bus-7atjxmh0.js → file-retention-hfbj6knv.js} +17 -17
- package/dist/chunks/{bus-c61rs4xp.js → file-retention-hj1ah81s.js} +32 -32
- package/dist/chunks/{bus-w5s0pzs6.js → file-retention-hjznzsdn.js} +11 -11
- package/dist/chunks/{bus-vcpp7fz2.js → file-retention-hz9cscar.js} +3 -3
- package/dist/chunks/{bus-j113cymg.js → file-retention-j113cymg.js} +1 -1
- package/dist/chunks/{bus-65pa9pyf.js → file-retention-ja8b98rf.js} +8 -8
- package/dist/chunks/{bus-jxvzcd99.js → file-retention-jc09y3gx.js} +5 -5
- package/dist/chunks/{bus-9p9xqj3m.js → file-retention-jchrqzf6.js} +8 -8
- package/dist/chunks/{bus-7m44p9k9.js → file-retention-jd8b4czr.js} +16 -16
- package/dist/chunks/{bus-qc77n3ys.js → file-retention-jp659ej9.js} +15 -15
- package/dist/chunks/{bus-qam900re.js → file-retention-jsy02eqp.js} +17 -17
- package/dist/chunks/{bus-ftsre1m1.js → file-retention-jy12te0b.js} +12 -12
- package/dist/chunks/file-retention-jztn5z23.js +18 -0
- package/dist/chunks/{bus-0qsyar0j.js → file-retention-k6rztwfs.js} +25 -25
- package/dist/chunks/{bus-k814nvkf.js → file-retention-k814nvkf.js} +1 -1
- package/dist/chunks/{bus-pqsmd7w5.js → file-retention-kd9fhfv6.js} +14 -14
- package/dist/chunks/{bus-hespfg0s.js → file-retention-kf3903q6.js} +2 -2
- package/dist/chunks/{bus-enkpkfwx.js → file-retention-kmzgegqq.js} +8 -8
- package/dist/chunks/{bus-xwry0ykg.js → file-retention-kp5tvjar.js} +8 -8
- package/dist/chunks/{bus-hprc2jp6.js → file-retention-kqhr5b96.js} +26 -26
- package/dist/chunks/{bus-gsj5n7bj.js → file-retention-ks30mcjv.js} +11 -11
- package/dist/chunks/{bus-1zgmy2za.js → file-retention-ktrds4tk.js} +6 -6
- package/dist/chunks/{bus-afp614kf.js → file-retention-kv52dac4.js} +19 -19
- package/dist/chunks/{bus-xgrhq9q6.js → file-retention-kzcwk5ky.js} +10 -10
- package/dist/chunks/{bus-26waaatn.js → file-retention-m0ef4zea.js} +15 -15
- package/dist/chunks/{bus-m1714858.js → file-retention-m1714858.js} +1 -1
- package/dist/chunks/{bus-5ntbh0q9.js → file-retention-m8f63jhp.js} +28 -28
- package/dist/chunks/{bus-m9w0rfyh.js → file-retention-m9w0rfyh.js} +1 -1
- package/dist/chunks/{bus-330ceefb.js → file-retention-mamyemm0.js} +17 -17
- package/dist/chunks/{bus-maspj1v3.js → file-retention-maspj1v3.js} +1 -1
- package/dist/chunks/{bus-wv6ve6g4.js → file-retention-mc4sw9w4.js} +10 -10
- package/dist/chunks/{bus-1x75wf9g.js → file-retention-mjagy123.js} +5 -5
- package/dist/chunks/{bus-7193gb3b.js → file-retention-mqcadzqw.js} +5 -5
- package/dist/chunks/{bus-7zyd8g83.js → file-retention-mr15razv.js} +16 -16
- package/dist/chunks/{bus-9gfxzbdb.js → file-retention-mv49vzrc.js} +26 -26
- package/dist/chunks/{bus-jkhvynsg.js → file-retention-mv7k79ef.js} +49 -49
- package/dist/chunks/{bus-n0p0277s.js → file-retention-n0p0277s.js} +1 -1
- package/dist/chunks/{bus-mqc5byef.js → file-retention-n0wvcyfn.js} +3 -3
- package/dist/chunks/{bus-w8xgfwn7.js → file-retention-n1s97216.js} +21 -21
- package/dist/chunks/{bus-753238fd.js → file-retention-n9p72mjb.js} +5 -5
- package/dist/chunks/{bus-a90sxeam.js → file-retention-na64j5m8.js} +19 -19
- package/dist/chunks/{bus-770pw0s1.js → file-retention-nah043kf.js} +4 -4
- package/dist/chunks/{bus-fdnyey89.js → file-retention-ndyybwqb.js} +24 -24
- package/dist/chunks/{bus-smspfyzy.js → file-retention-njc35j2b.js} +17 -17
- package/dist/chunks/{bus-yjdt6y29.js → file-retention-nm4377q9.js} +8 -8
- package/dist/chunks/{bus-jke5zf67.js → file-retention-nnsghjk2.js} +29 -29
- package/dist/chunks/{bus-p015t6z3.js → file-retention-p015t6z3.js} +2 -2
- package/dist/chunks/{bus-nbr6spsg.js → file-retention-p22znmy8.js} +9 -9
- package/dist/chunks/{bus-0k92w2vg.js → file-retention-p2mqe0hz.js} +14 -14
- package/dist/chunks/{bus-5zrxpy3q.js → file-retention-p7vhpwh8.js} +5 -5
- package/dist/chunks/{bus-j8yx6s3r.js → file-retention-pdf3vz88.js} +14 -14
- package/dist/chunks/{bus-sb0r4mw8.js → file-retention-pfwczevg.js} +16 -16
- package/dist/chunks/{bus-pknna89w.js → file-retention-pknna89w.js} +1 -1
- package/dist/chunks/{bus-m9h84dt6.js → file-retention-pnx1meeb.js} +51 -51
- package/dist/chunks/{bus-prazahgm.js → file-retention-prazahgm.js} +2 -2
- package/dist/chunks/{bus-qhah07y2.js → file-retention-ps196dw6.js} +22 -22
- package/dist/chunks/{bus-p6s2af65.js → file-retention-pv1g07z8.js} +27 -27
- package/dist/chunks/file-retention-q2x3hw9d.js +26 -0
- package/dist/chunks/{bus-jpxjhzm5.js → file-retention-q404j35s.js} +54 -54
- package/dist/chunks/{bus-7919ce5y.js → file-retention-q83y25yv.js} +13 -13
- package/dist/chunks/file-retention-qegqjw48.js +517 -0
- package/dist/chunks/{bus-qjgzc4b4.js → file-retention-qjgzc4b4.js} +1 -1
- package/dist/chunks/{bus-wmjzvx4b.js → file-retention-qqg9c0kv.js} +4 -4
- package/dist/chunks/{bus-dsayn4h0.js → file-retention-qr4bptwr.js} +35 -35
- package/dist/chunks/{bus-fym5ev8t.js → file-retention-r09k0ff8.js} +16 -16
- package/dist/chunks/{bus-r0yr0wbs.js → file-retention-r0yr0wbs.js} +1 -1
- package/dist/chunks/{bus-e5phs9xh.js → file-retention-r8q5fgtf.js} +33 -33
- package/dist/chunks/{bus-rb9dy4dg.js → file-retention-rb9dy4dg.js} +1 -1
- package/dist/chunks/{bus-jxrma3w6.js → file-retention-re267s79.js} +14 -14
- package/dist/chunks/{bus-f7j8tbf3.js → file-retention-rkvrbxb1.js} +5 -5
- package/dist/chunks/{bus-rt5dr6hb.js → file-retention-rt5dr6hb.js} +1 -1
- package/dist/chunks/{bus-ffwd3vgh.js → file-retention-s27aztda.js} +3 -3
- package/dist/chunks/{bus-cqgfwsy2.js → file-retention-s6rab191.js} +30 -30
- package/dist/chunks/{bus-s7xmnr8t.js → file-retention-s7xmnr8t.js} +2 -2
- package/dist/chunks/{bus-sa3fpqfw.js → file-retention-sa3fpqfw.js} +2 -2
- package/dist/chunks/{bus-a87r820j.js → file-retention-sc8prgdb.js} +7 -7
- package/dist/chunks/{bus-15skxy84.js → file-retention-sfp4tb26.js} +4 -4
- package/dist/chunks/{bus-sqjzf8x2.js → file-retention-sqjzf8x2.js} +1 -1
- package/dist/chunks/{bus-ztdf56rp.js → file-retention-szcgc7h4.js} +5 -5
- package/dist/chunks/{bus-txzeb4ff.js → file-retention-t39e16tb.js} +11 -11
- package/dist/chunks/{bus-th7c3ec5.js → file-retention-t8cetwdg.js} +1 -1
- package/dist/chunks/{bus-3dfnask5.js → file-retention-t9bqp2qp.js} +11 -11
- package/dist/chunks/{bus-tczq8hjw.js → file-retention-tczq8hjw.js} +1 -1
- package/dist/chunks/{bus-8nde4y38.js → file-retention-tp6pqz2g.js} +15 -15
- package/dist/chunks/{bus-tpm1qpxt.js → file-retention-tpm1qpxt.js} +2 -2
- package/dist/chunks/{bus-twv2r8f4.js → file-retention-twv2r8f4.js} +2 -2
- package/dist/chunks/{bus-v2r1d0zg.js → file-retention-v2r1d0zg.js} +1 -1
- package/dist/chunks/{bus-vd3b3yk9.js → file-retention-vd3b3yk9.js} +1 -1
- package/dist/chunks/{bus-veqvce7d.js → file-retention-veqvce7d.js} +1 -1
- package/dist/chunks/{bus-vmfhgzt5.js → file-retention-vmfhgzt5.js} +1 -1
- package/dist/chunks/{bus-fezwa47h.js → file-retention-vx3z2ta8.js} +14 -14
- package/dist/chunks/{bus-v79p29g8.js → file-retention-w0e5cwhb.js} +33 -33
- package/dist/chunks/{bus-as8f7drc.js → file-retention-w29j0fga.js} +8 -8
- package/dist/chunks/{bus-w3wsvvr9.js → file-retention-w3wsvvr9.js} +1 -1
- package/dist/chunks/{bus-szy0njzq.js → file-retention-w4488581.js} +4 -4
- package/dist/chunks/{bus-2kz19h2z.js → file-retention-w46nxhz5.js} +10 -10
- package/dist/chunks/{bus-wakvkjy4.js → file-retention-wakvkjy4.js} +1 -1
- package/dist/chunks/{bus-xjmv95ez.js → file-retention-wb3zghwg.js} +40 -40
- package/dist/chunks/{bus-sab55bm2.js → file-retention-wbmtbw5y.js} +5 -5
- package/dist/chunks/{bus-3rrzk5nj.js → file-retention-wctyzwyk.js} +21 -21
- package/dist/chunks/{bus-wd87259q.js → file-retention-wd87259q.js} +1 -1
- package/dist/chunks/{bus-v6c9h545.js → file-retention-wj8797dk.js} +18 -18
- package/dist/chunks/{bus-2jmy1nx7.js → file-retention-wv1byjhn.js} +47 -47
- package/dist/chunks/{bus-e1tcsqgh.js → file-retention-wwyg2b72.js} +21 -21
- package/dist/chunks/{bus-bzmm45jm.js → file-retention-x6n10bgh.js} +18 -18
- package/dist/chunks/{bus-8s1p2xh4.js → file-retention-x8570257.js} +9 -9
- package/dist/chunks/{bus-q4we793d.js → file-retention-xha7ydwr.js} +15 -15
- package/dist/chunks/{bus-97t9pzww.js → file-retention-xjmvvx28.js} +19 -19
- package/dist/chunks/{bus-4ahddsa8.js → file-retention-xjvykbh7.js} +21 -21
- package/dist/chunks/{bus-cxz2s401.js → file-retention-xk76yr4x.js} +34 -34
- package/dist/chunks/{bus-8f6pdjbs.js → file-retention-xk8af61m.js} +17 -17
- package/dist/chunks/{bus-c0mmkqkw.js → file-retention-xw52kzy1.js} +23 -23
- package/dist/chunks/{bus-mnfg9325.js → file-retention-y755953d.js} +31 -31
- package/dist/chunks/{bus-n4pkp2aa.js → file-retention-y7gf4t9q.js} +20 -20
- package/dist/chunks/{bus-ya7mtdhz.js → file-retention-y8dsb888.js} +18 -18
- package/dist/chunks/{bus-qfg9wb0m.js → file-retention-yar054mm.js} +30 -30
- package/dist/chunks/{bus-yb20nhc3.js → file-retention-yb20nhc3.js} +1 -1
- package/dist/chunks/{bus-prgsdh7d.js → file-retention-ycrb3cr5.js} +15 -15
- package/dist/chunks/{bus-bm9rxtz1.js → file-retention-yhen3jxk.js} +4 -4
- package/dist/chunks/{bus-aavt02ny.js → file-retention-ymh0wyfn.js} +16 -16
- package/dist/chunks/{bus-1xe7y990.js → file-retention-ymzrk7b3.js} +3 -3
- package/dist/chunks/{bus-5jsk8wmh.js → file-retention-ys018t90.js} +34 -34
- package/dist/chunks/{bus-sy9njn3y.js → file-retention-yz0q7a5m.js} +28 -28
- package/dist/chunks/{bus-5x8h87d3.js → file-retention-yzptcycq.js} +1 -1
- package/dist/chunks/{bus-z0bkrqjs.js → file-retention-z0bkrqjs.js} +1 -1
- package/dist/chunks/{bus-z38nccrw.js → file-retention-z38nccrw.js} +1 -1
- package/dist/chunks/{bus-vzdk5r89.js → file-retention-zbkhh3g1.js} +22 -22
- package/dist/chunks/{bus-dds9zz6p.js → file-retention-zfyb5tr4.js} +4 -4
- package/dist/chunks/{bus-8hnxetnk.js → file-retention-zjrarrrn.js} +9 -9
- package/dist/chunks/{bus-zkg84ctx.js → file-retention-zkg84ctx.js} +1 -1
- package/dist/chunks/{bus-zbv5z78y.js → file-retention-zt6m90gj.js} +8 -8
- package/dist/chunks/{bus-r1m4hh4h.js → file-retention-ztpn6ax8.js} +7 -7
- package/dist/chunks/{bus-zx97czfw.js → file-retention-zz0wb7w6.js} +29 -29
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +84 -84
- package/dist/config/discovery.js +86 -86
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +103 -103
- package/dist/config/plugin/agent.js +119 -119
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/compatibility.js +136 -136
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +117 -117
- package/dist/config/plugin/instruction.js +117 -117
- package/dist/config/plugin/location-watcher.js +117 -117
- package/dist/config/plugin/mcp.js +126 -126
- package/dist/config/plugin/policy.js +118 -118
- package/dist/config/plugin/provider.js +117 -117
- package/dist/config/plugin/reference.js +119 -119
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +106 -106
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +139 -139
- package/dist/config/plugin/snapshot.js +117 -117
- package/dist/config/plugin/source.js +120 -120
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +116 -116
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +118 -118
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +88 -88
- package/dist/database/database.js +69 -69
- 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/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration.gen.js +52 -52
- package/dist/database/migration.js +54 -54
- 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 +96 -96
- 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 +97 -97
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +97 -97
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +73 -73
- package/dist/file-access.js +108 -108
- package/dist/file-mutation.js +98 -98
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/location-watcher-policy.js +2 -2
- package/dist/filesystem/location-watcher.js +222 -222
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +7 -7
- package/dist/filesystem.js +104 -104
- package/dist/form.js +89 -89
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +91 -91
- package/dist/generate.js +111 -111
- package/dist/git.js +11 -11
- 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 +103 -103
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +362 -362
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +90 -90
- package/dist/job.js +81 -81
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +76 -76
- package/dist/location-activity.js +157 -157
- package/dist/location-lifecycle.js +111 -111
- package/dist/location-service-map.js +90 -90
- package/dist/location-services.js +359 -359
- package/dist/location.js +89 -89
- package/dist/managed-policy.js +8 -8
- package/dist/mcp/client.js +95 -95
- package/dist/mcp/index.js +111 -111
- package/dist/mcp/instructions.js +142 -142
- package/dist/mcp/oauth.js +81 -81
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +94 -94
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +103 -103
- package/dist/model-resolver.js +103 -103
- package/dist/model-retry.js +1 -1
- package/dist/model.js +106 -106
- package/dist/models-dev.js +111 -111
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +85 -85
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +121 -121
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +93 -93
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +78 -78
- package/dist/plugin/agent.js +79 -79
- package/dist/plugin/command.js +106 -106
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +100 -100
- package/dist/plugin/module.js +118 -118
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +106 -106
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +94 -94
- package/dist/plugin/provider/azure.js +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +117 -117
- package/dist/plugin/provider/cloudflare-ai-gateway.js +114 -114
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +113 -113
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +97 -97
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +99 -99
- package/dist/plugin/provider/gitlab.js +97 -97
- package/dist/plugin/provider/google-vertex.js +114 -114
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +81 -81
- package/dist/plugin/provider/lmstudio.js +126 -126
- package/dist/plugin/provider/local.js +123 -123
- package/dist/plugin/provider/modal.js +96 -96
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +126 -126
- package/dist/plugin/provider/openai-context-caps.js +94 -94
- package/dist/plugin/provider/openai.js +117 -117
- package/dist/plugin/provider/opencode.js +102 -102
- package/dist/plugin/provider/openrouter.js +95 -95
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +82 -82
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +95 -95
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +116 -116
- package/dist/plugin/provider/vercel.js +94 -94
- package/dist/plugin/provider/vllm.js +126 -126
- package/dist/plugin/provider/xai.js +95 -95
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +169 -169
- package/dist/plugin/sdk.js +77 -77
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +135 -135
- 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 +90 -90
- package/dist/plugin/vcs/hg.js +90 -90
- package/dist/plugin/verbosity.js +97 -97
- package/dist/plugin/warming.js +115 -115
- 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 +224 -224
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +90 -90
- package/dist/provider.js +105 -105
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +91 -91
- package/dist/reference.js +95 -95
- package/dist/repository-cache.js +85 -85
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +99 -99
- package/dist/rpc.js +90 -90
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +77 -77
- package/dist/session/compaction.js +134 -134
- package/dist/session/context.js +166 -166
- package/dist/session/diff.js +92 -92
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +222 -222
- package/dist/session/execution.js +130 -130
- package/dist/session/generate.js +168 -168
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +94 -94
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +80 -80
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +101 -101
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +124 -124
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +134 -134
- package/dist/session/projector.js +92 -92
- package/dist/session/prompt.js +109 -109
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +98 -98
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +104 -104
- package/dist/session/runner/publish-llm-event.js +117 -117
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +130 -130
- package/dist/session/runner/to-llm-message.js +14 -14
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +164 -164
- package/dist/session/shell.js +131 -131
- package/dist/session/skill.js +107 -107
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +76 -76
- package/dist/session/store.js +88 -88
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +213 -213
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +170 -170
- package/dist/session/to-session-error.js +116 -116
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +217 -217
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +7 -7
- package/dist/shell.js +133 -133
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +109 -109
- package/dist/skill.js +118 -118
- package/dist/snapshot.js +95 -95
- package/dist/state.js +1 -1
- package/dist/tool/html-markdown.js +1 -1
- package/dist/tool/http-body.js +1 -1
- package/dist/tool/mcp.js +137 -137
- package/dist/tool/plugin/edit.js +124 -124
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +126 -126
- package/dist/tool/plugin/grep.js +120 -120
- package/dist/tool/plugin/mcp-resource.js +128 -128
- package/dist/tool/plugin/opencode.js +113 -113
- package/dist/tool/plugin/patch.js +124 -124
- package/dist/tool/plugin/question.js +109 -109
- package/dist/tool/plugin/read.js +129 -129
- package/dist/tool/plugin/shell.js +216 -216
- package/dist/tool/plugin/skill.js +115 -115
- package/dist/tool/plugin/subagent.js +216 -216
- package/dist/tool/plugin/todo.js +137 -137
- package/dist/tool/plugin/webfetch.js +115 -115
- package/dist/tool/plugin/websearch.js +116 -116
- package/dist/tool/plugin/write.js +126 -126
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +7 -7
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +96 -96
- package/dist/v1/config/permission.js +7 -7
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/variant.js +95 -95
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +93 -93
- package/dist/voice.js +91 -91
- package/dist/websearch.js +87 -87
- package/dist/wellknown/plugin.js +77 -77
- package/dist/wellknown.js +82 -82
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +85 -85
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +93 -93
- package/dist/worktree.js +100 -100
- package/package.json +8 -8
- package/dist/chunks/bus-7vsrn4s9.js +0 -517
- package/dist/chunks/bus-bp37q239.js +0 -257
- package/dist/chunks/bus-gzxfw46q.js +0 -26
- package/dist/chunks/bus-n3r3rt18.js +0 -18
- /package/dist/chunks/{bus-0qkdqm5v.js → file-retention-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{bus-0zkw76rk.js → file-retention-0zkw76rk.js} +0 -0
- /package/dist/chunks/{bus-17cy0kzp.js → file-retention-17cy0kzp.js} +0 -0
- /package/dist/chunks/{bus-1cnp2v09.js → file-retention-1cnp2v09.js} +0 -0
- /package/dist/chunks/{bus-24dcb14g.js → file-retention-24dcb14g.js} +0 -0
- /package/dist/chunks/{bus-2710q6r3.js → file-retention-2710q6r3.js} +0 -0
- /package/dist/chunks/{bus-2bv980vf.js → file-retention-2bv980vf.js} +0 -0
- /package/dist/chunks/{bus-2c3vjs8z.js → file-retention-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{bus-359p4xyc.js → file-retention-359p4xyc.js} +0 -0
- /package/dist/chunks/{bus-3asan66x.js → file-retention-3asan66x.js} +0 -0
- /package/dist/chunks/{bus-3v8g72cx.js → file-retention-3v8g72cx.js} +0 -0
- /package/dist/chunks/{bus-3wcehsnq.js → file-retention-3wcehsnq.js} +0 -0
- /package/dist/chunks/{bus-43n2bw4t.js → file-retention-43n2bw4t.js} +0 -0
- /package/dist/chunks/{bus-4knz6hnm.js → file-retention-4knz6hnm.js} +0 -0
- /package/dist/chunks/{bus-4vcrnpx2.js → file-retention-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{bus-4y7fprxs.js → file-retention-4y7fprxs.js} +0 -0
- /package/dist/chunks/{bus-53557ph1.js → file-retention-53557ph1.js} +0 -0
- /package/dist/chunks/{bus-550bvhaj.js → file-retention-550bvhaj.js} +0 -0
- /package/dist/chunks/{bus-5fjb7ams.js → file-retention-5fjb7ams.js} +0 -0
- /package/dist/chunks/{bus-6prwharc.js → file-retention-6prwharc.js} +0 -0
- /package/dist/chunks/{bus-6q2bdcd1.js → file-retention-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{bus-7akdwqpd.js → file-retention-7akdwqpd.js} +0 -0
- /package/dist/chunks/{bus-7m9af43g.js → file-retention-7m9af43g.js} +0 -0
- /package/dist/chunks/{bus-822emrt2.js → file-retention-822emrt2.js} +0 -0
- /package/dist/chunks/{bus-84wd9syh.js → file-retention-84wd9syh.js} +0 -0
- /package/dist/chunks/{bus-88xbtdfr.js → file-retention-88xbtdfr.js} +0 -0
- /package/dist/chunks/{bus-8n3pysct.js → file-retention-8n3pysct.js} +0 -0
- /package/dist/chunks/{bus-8wj87zfr.js → file-retention-8wj87zfr.js} +0 -0
- /package/dist/chunks/{bus-9a4afbnw.js → file-retention-9a4afbnw.js} +0 -0
- /package/dist/chunks/{bus-9rqn6x4v.js → file-retention-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{bus-a058387c.js → file-retention-a058387c.js} +0 -0
- /package/dist/chunks/{bus-a6k6eb26.js → file-retention-a6k6eb26.js} +0 -0
- /package/dist/chunks/{bus-af5trqkr.js → file-retention-af5trqkr.js} +0 -0
- /package/dist/chunks/{bus-afrmfg78.js → file-retention-afrmfg78.js} +0 -0
- /package/dist/chunks/{bus-aqzs7mqg.js → file-retention-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{bus-atq7p7m5.js → file-retention-atq7p7m5.js} +0 -0
- /package/dist/chunks/{bus-bkyjaxrp.js → file-retention-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{bus-bmr6ed5q.js → file-retention-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{bus-cf4snx6d.js → file-retention-cf4snx6d.js} +0 -0
- /package/dist/chunks/{bus-cqv5kn06.js → file-retention-cqv5kn06.js} +0 -0
- /package/dist/chunks/{bus-cvy3z8tj.js → file-retention-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{bus-d9fn303g.js → file-retention-d9fn303g.js} +0 -0
- /package/dist/chunks/{bus-d9jj8t3e.js → file-retention-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{bus-dajrwvna.js → file-retention-dajrwvna.js} +0 -0
- /package/dist/chunks/{bus-dap0rakb.js → file-retention-dap0rakb.js} +0 -0
- /package/dist/chunks/{bus-dbztejgq.js → file-retention-dbztejgq.js} +0 -0
- /package/dist/chunks/{bus-df08tz66.js → file-retention-df08tz66.js} +0 -0
- /package/dist/chunks/{bus-dy18nga0.js → file-retention-dy18nga0.js} +0 -0
- /package/dist/chunks/{bus-e5kj55wp.js → file-retention-e5kj55wp.js} +0 -0
- /package/dist/chunks/{bus-e73j6tqm.js → file-retention-e73j6tqm.js} +0 -0
- /package/dist/chunks/{bus-ec1grn59.js → file-retention-ec1grn59.js} +0 -0
- /package/dist/chunks/{bus-eh3zwz77.js → file-retention-eh3zwz77.js} +0 -0
- /package/dist/chunks/{bus-emrn6kk6.js → file-retention-emrn6kk6.js} +0 -0
- /package/dist/chunks/{bus-f0mxakyp.js → file-retention-f0mxakyp.js} +0 -0
- /package/dist/chunks/{bus-f6n9ztr4.js → file-retention-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{bus-faypxj3z.js → file-retention-faypxj3z.js} +0 -0
- /package/dist/chunks/{bus-fd410y7t.js → file-retention-fd410y7t.js} +0 -0
- /package/dist/chunks/{bus-g4wezp1m.js → file-retention-g4wezp1m.js} +0 -0
- /package/dist/chunks/{bus-g86h250q.js → file-retention-g86h250q.js} +0 -0
- /package/dist/chunks/{bus-gebd4c9n.js → file-retention-gebd4c9n.js} +0 -0
- /package/dist/chunks/{bus-gftt206x.js → file-retention-gftt206x.js} +0 -0
- /package/dist/chunks/{bus-hcxmzztb.js → file-retention-hcxmzztb.js} +0 -0
- /package/dist/chunks/{bus-hk9envan.js → file-retention-hk9envan.js} +0 -0
- /package/dist/chunks/{bus-j2ntwpah.js → file-retention-j2ntwpah.js} +0 -0
- /package/dist/chunks/{bus-j5zkgpj8.js → file-retention-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{bus-jjkms2e6.js → file-retention-jjkms2e6.js} +0 -0
- /package/dist/chunks/{bus-jr7sbwjy.js → file-retention-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{bus-jwfs4k6c.js → file-retention-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{bus-jze0r7bz.js → file-retention-jze0r7bz.js} +0 -0
- /package/dist/chunks/{bus-jzg6c2d5.js → file-retention-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{bus-m18g726c.js → file-retention-m18g726c.js} +0 -0
- /package/dist/chunks/{bus-mp448xyj.js → file-retention-mp448xyj.js} +0 -0
- /package/dist/chunks/{bus-msx8hqn2.js → file-retention-msx8hqn2.js} +0 -0
- /package/dist/chunks/{bus-n05xt0ee.js → file-retention-n05xt0ee.js} +0 -0
- /package/dist/chunks/{bus-n3j8tn72.js → file-retention-n3j8tn72.js} +0 -0
- /package/dist/chunks/{bus-njntx4h6.js → file-retention-njntx4h6.js} +0 -0
- /package/dist/chunks/{bus-q3sfg36h.js → file-retention-q3sfg36h.js} +0 -0
- /package/dist/chunks/{bus-q74kybfr.js → file-retention-q74kybfr.js} +0 -0
- /package/dist/chunks/{bus-qaymkmh1.js → file-retention-qaymkmh1.js} +0 -0
- /package/dist/chunks/{bus-qb87gjwd.js → file-retention-qb87gjwd.js} +0 -0
- /package/dist/chunks/{bus-qfa1cgps.js → file-retention-qfa1cgps.js} +0 -0
- /package/dist/chunks/{bus-qg3g05ea.js → file-retention-qg3g05ea.js} +0 -0
- /package/dist/chunks/{bus-qrg20bc0.js → file-retention-qrg20bc0.js} +0 -0
- /package/dist/chunks/{bus-rcb2kzg1.js → file-retention-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{bus-sdp7kfr6.js → file-retention-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{bus-ssg3fenm.js → file-retention-ssg3fenm.js} +0 -0
- /package/dist/chunks/{bus-ve7vex1e.js → file-retention-ve7vex1e.js} +0 -0
- /package/dist/chunks/{bus-w803qqfp.js → file-retention-w803qqfp.js} +0 -0
- /package/dist/chunks/{bus-wc3fc9cn.js → file-retention-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{bus-wer8tq1h.js → file-retention-wer8tq1h.js} +0 -0
- /package/dist/chunks/{bus-wjj7prxr.js → file-retention-wjj7prxr.js} +0 -0
- /package/dist/chunks/{bus-wtztk69x.js → file-retention-wtztk69x.js} +0 -0
- /package/dist/chunks/{bus-x0ckcb58.js → file-retention-x0ckcb58.js} +0 -0
- /package/dist/chunks/{bus-x61499pn.js → file-retention-x61499pn.js} +0 -0
- /package/dist/chunks/{bus-y44na4kk.js → file-retention-y44na4kk.js} +0 -0
- /package/dist/chunks/{bus-y8f7s663.js → file-retention-y8f7s663.js} +0 -0
- /package/dist/chunks/{bus-ygaqb7jw.js → file-retention-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{bus-ym463w8f.js → file-retention-ym463w8f.js} +0 -0
- /package/dist/chunks/{bus-z5v4ffb3.js → file-retention-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{bus-z9919s4g.js → file-retention-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service85,
|
|
3
3
|
node89
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-3r7w24g9.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-vd3b3yk9.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/command.ts
|
|
13
13
|
var exports_command4 = {};
|
|
14
14
|
__export(exports_command4, {
|
|
15
15
|
Command: () => exports_command4,
|
|
16
|
-
Event: () =>
|
|
16
|
+
Event: () => Event9,
|
|
17
17
|
ExecutionError: () => ExecutionError2,
|
|
18
|
-
Info: () =>
|
|
18
|
+
Info: () => Info7,
|
|
19
19
|
NotFoundError: () => NotFoundError4,
|
|
20
|
-
Service: () =>
|
|
21
|
-
layer: () =>
|
|
22
|
-
node: () =>
|
|
20
|
+
Service: () => Service42,
|
|
21
|
+
layer: () => layer18,
|
|
22
|
+
node: () => node46
|
|
23
23
|
});
|
|
24
24
|
import { Command } from "@opencode/schema/command";
|
|
25
25
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
26
26
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
27
|
-
import { Event as
|
|
28
|
-
var
|
|
27
|
+
import { Event as Event9 } from "@opencode/schema/command";
|
|
28
|
+
var Info7 = Command.Info;
|
|
29
29
|
|
|
30
30
|
class NotFoundError4 extends Schema.TaggedError()("Command.NotFoundError", {
|
|
31
31
|
command: Schema.String,
|
|
@@ -39,9 +39,9 @@ class ExecutionError2 extends Schema.TaggedError()("Command.ExecutionError", {
|
|
|
39
39
|
}) {
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
class
|
|
42
|
+
class Service42 extends Context.Service()("@opencode/Command") {
|
|
43
43
|
}
|
|
44
|
-
var
|
|
44
|
+
var layer18 = Layer.effect(Service42, Effect.gen(function* () {
|
|
45
45
|
const bus = yield* Service85;
|
|
46
46
|
const state = create3({
|
|
47
47
|
name: "command",
|
|
@@ -51,11 +51,11 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
51
51
|
}),
|
|
52
52
|
notify: () => bus.publish(Command.Event.Updated, {}).pipe(Effect.asVoid)
|
|
53
53
|
});
|
|
54
|
-
const info = (definition) =>
|
|
54
|
+
const info = (definition) => Info7.make({
|
|
55
55
|
name: definition.name,
|
|
56
56
|
description: definition.description
|
|
57
57
|
});
|
|
58
|
-
return
|
|
58
|
+
return Service42.of({
|
|
59
59
|
reload: state.reload,
|
|
60
60
|
transform: state.transform,
|
|
61
61
|
get: Effect.fn("Command.get")((name) => Effect.sync(() => {
|
|
@@ -71,9 +71,9 @@ var layer20 = Layer.effect(Service46, Effect.gen(function* () {
|
|
|
71
71
|
})
|
|
72
72
|
});
|
|
73
73
|
}));
|
|
74
|
-
var
|
|
75
|
-
service:
|
|
76
|
-
layer:
|
|
74
|
+
var node46 = makeLocationNode({
|
|
75
|
+
service: Service42,
|
|
76
|
+
layer: layer18,
|
|
77
77
|
deps: [node89]
|
|
78
78
|
});
|
|
79
79
|
function errorMessage(error) {
|
|
@@ -86,4 +86,4 @@ function errorMessage(error) {
|
|
|
86
86
|
return "Command execution failed";
|
|
87
87
|
}
|
|
88
88
|
|
|
89
|
-
export {
|
|
89
|
+
export { Info7, NotFoundError4, ExecutionError2, Service42, layer18, node46, exports_command4, Event9 };
|
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-kzcwk5ky.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-3r7w24g9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./file-retention-b3zqj1fn.js";
|
|
11
11
|
import {
|
|
12
12
|
key2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-bjhzkqyk.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
MethodID2,
|
|
17
17
|
AuthorizationError2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-retention-ahrm6a4v.js";
|
|
19
19
|
import {
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
20
|
+
Service77
|
|
21
|
+
} from "./file-retention-h31vq76g.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
23
|
+
ID13,
|
|
24
24
|
mergeOverlay2,
|
|
25
25
|
mergeHeaders2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-retention-562s2c64.js";
|
|
27
27
|
import {
|
|
28
28
|
mergeCapabilities2
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-retention-xk76yr4x.js";
|
|
30
30
|
import {
|
|
31
31
|
supports2,
|
|
32
32
|
resolve2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./file-retention-n0wvcyfn.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
35
|
+
ID3,
|
|
36
|
+
Input14,
|
|
37
37
|
Response2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-k6rztwfs.js";
|
|
39
39
|
|
|
40
40
|
// src/plugin/provider/opencode.ts
|
|
41
41
|
import {
|
|
@@ -73,7 +73,7 @@ var RemotePolicies = Schema.Array(Schema.Unknown).pipe(Schema.decodeTo(Schema.Un
|
|
|
73
73
|
var RemoteResponse = Schema.Struct({
|
|
74
74
|
providers: Schema.Record(Schema.String, ConfigProvider.Info),
|
|
75
75
|
websearch: Schema.Struct({
|
|
76
|
-
providerID:
|
|
76
|
+
providerID: ID3
|
|
77
77
|
}).pipe(Schema.optional),
|
|
78
78
|
mcp: Schema.Struct({
|
|
79
79
|
servers: Schema.Record(Schema.String, Schema.Struct({ ...Mcp.RemoteConfig.fields, auth: Schema.Literal("console").pipe(Schema.optional) }))
|
|
@@ -124,7 +124,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
124
124
|
}
|
|
125
125
|
function oauth(http) {
|
|
126
126
|
return {
|
|
127
|
-
integrationID:
|
|
127
|
+
integrationID: ID14.make("opencode"),
|
|
128
128
|
method: {
|
|
129
129
|
id: methodID,
|
|
130
130
|
type: "oauth",
|
|
@@ -192,7 +192,7 @@ var OpencodePlugin2 = define({
|
|
|
192
192
|
const bus = yield* Service85;
|
|
193
193
|
const client = yield* HttpClient.HttpClient;
|
|
194
194
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
195
|
-
const managed = yield*
|
|
195
|
+
const managed = yield* Service77;
|
|
196
196
|
const scope = yield* Scope.Scope;
|
|
197
197
|
const loading = Semaphore.makeUnsafe(1);
|
|
198
198
|
let snapshot = { config: undefined, connection: undefined, organization: undefined, mcp: undefined };
|
|
@@ -246,7 +246,7 @@ var OpencodePlugin2 = define({
|
|
|
246
246
|
providers.update(providerID, (provider) => {
|
|
247
247
|
if (source && source.provider !== provider)
|
|
248
248
|
Object.assign(provider, structuredClone(source.provider), { id: provider.id });
|
|
249
|
-
provider.integrationID =
|
|
249
|
+
provider.integrationID = ID14.make("opencode");
|
|
250
250
|
if (item.canonical !== undefined)
|
|
251
251
|
provider.canonical = item.canonical;
|
|
252
252
|
if (item.name !== undefined)
|
|
@@ -320,7 +320,7 @@ var OpencodePlugin2 = define({
|
|
|
320
320
|
sourceConnection: snapshot.connection
|
|
321
321
|
});
|
|
322
322
|
}
|
|
323
|
-
const item = providers.get(
|
|
323
|
+
const item = providers.get(ID13.opencode);
|
|
324
324
|
if (!item)
|
|
325
325
|
return;
|
|
326
326
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -332,7 +332,7 @@ var OpencodePlugin2 = define({
|
|
|
332
332
|
});
|
|
333
333
|
});
|
|
334
334
|
yield* ctx.model.transform((models) => {
|
|
335
|
-
const item = models.provider.get(
|
|
335
|
+
const item = models.provider.get(ID13.opencode);
|
|
336
336
|
if (!item)
|
|
337
337
|
return;
|
|
338
338
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -366,7 +366,7 @@ var OpencodePlugin2 = define({
|
|
|
366
366
|
const orgID = typeof metadata?.orgID === "string" ? metadata.orgID : undefined;
|
|
367
367
|
const token = credential.type === "oauth" ? credential.access : credential.key;
|
|
368
368
|
const server = yield* normalizeServer(serverUrl(credential));
|
|
369
|
-
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(
|
|
369
|
+
const request = yield* HttpClientRequest.post(`${server}/api/websearch`).pipe(HttpClientRequest.acceptJson, HttpClientRequest.bearerToken(token), HttpClientRequest.setHeaders(orgID ? { "x-org-id": orgID } : {}), HttpClientRequest.schemaBodyJson(Input14)({
|
|
370
370
|
query: input.query,
|
|
371
371
|
providerID: descriptor.providerID
|
|
372
372
|
}));
|
|
@@ -427,7 +427,7 @@ var OpencodePlugin2 = define({
|
|
|
427
427
|
});
|
|
428
428
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
429
429
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
430
|
-
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
430
|
+
explainers = yield* Effect.forEach(next.connection ? new Set([ID13.opencode, ...Object.keys(next.config?.providers ?? {})]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
431
431
|
});
|
|
432
432
|
yield* guard(snapshot);
|
|
433
433
|
const polling = yield* FiberHandle.make();
|
|
@@ -438,7 +438,7 @@ var OpencodePlugin2 = define({
|
|
|
438
438
|
onlyIfMissing: true
|
|
439
439
|
});
|
|
440
440
|
});
|
|
441
|
-
yield* bus.subscribe(
|
|
441
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
442
442
|
yield* poll();
|
|
443
443
|
})
|
|
444
444
|
});
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
3
|
node90
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-retention-a1qdfkze.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-retention-1ep2p91f.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
ConflictError: () => ConflictError2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
NotFoundError: () =>
|
|
16
|
+
ID: () => ID7,
|
|
17
|
+
Info: () => Info9,
|
|
18
|
+
NotFoundError: () => NotFoundError6,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service54,
|
|
21
|
+
node: () => node57
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Cause, Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { isSqlError } from "effect/sql/SqlError";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
28
|
+
var ID7 = PermissionSaved.ID;
|
|
29
|
+
var Info9 = PermissionSaved.Info;
|
|
30
30
|
|
|
31
|
-
class
|
|
32
|
-
id:
|
|
31
|
+
class NotFoundError6 extends Schema.TaggedError()("PermissionSaved.NotFoundError", {
|
|
32
|
+
id: ID7
|
|
33
33
|
}) {
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
class ConflictError2 extends Schema.TaggedError()("PermissionSaved.ConflictError", {
|
|
37
|
-
id:
|
|
37
|
+
id: ID7,
|
|
38
38
|
action: Schema.String,
|
|
39
39
|
resource: Schema.String
|
|
40
40
|
}) {
|
|
41
41
|
}
|
|
42
42
|
|
|
43
|
-
class
|
|
43
|
+
class Service54 extends Context.Service()("@opencode/PermissionSaved") {
|
|
44
44
|
}
|
|
45
|
-
var layer = Layer.effect(
|
|
45
|
+
var layer = Layer.effect(Service54, Effect.gen(function* () {
|
|
46
46
|
const db = (yield* Service86).db;
|
|
47
47
|
const list = Effect.fnUntraced(function* (input) {
|
|
48
48
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -52,7 +52,7 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
52
52
|
if (!input.resources.length)
|
|
53
53
|
return;
|
|
54
54
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
55
|
-
id:
|
|
55
|
+
id: ID7.create(),
|
|
56
56
|
project_id: input.projectID,
|
|
57
57
|
action: input.action,
|
|
58
58
|
resource
|
|
@@ -61,18 +61,18 @@ var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
|
61
61
|
const update = Effect.fn("PermissionSaved.update")(function* (input) {
|
|
62
62
|
const current = yield* db.select().from(PermissionTable2).where(eq(PermissionTable2.id, input.id)).get().pipe(Effect.orDie);
|
|
63
63
|
if (!current)
|
|
64
|
-
return yield* new
|
|
64
|
+
return yield* new NotFoundError6({ id: input.id });
|
|
65
65
|
const action = input.action ?? current.action;
|
|
66
66
|
const resource = input.resource ?? current.resource;
|
|
67
67
|
const updated = yield* db.update(PermissionTable2).set({ action, resource }).where(eq(PermissionTable2.id, input.id)).returning().get().pipe(Effect.catchIf(isUniqueViolation, () => new ConflictError2({ id: input.id, action, resource })), Effect.catchTag("EffectDrizzleQueryError", (error) => Effect.die(error)));
|
|
68
68
|
if (!updated)
|
|
69
|
-
return yield* new
|
|
69
|
+
return yield* new NotFoundError6({ id: input.id });
|
|
70
70
|
return info(updated);
|
|
71
71
|
});
|
|
72
72
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
73
73
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
74
74
|
});
|
|
75
|
-
return
|
|
75
|
+
return Service54.of({ list, add, update, remove });
|
|
76
76
|
}));
|
|
77
77
|
var isUniqueViolation = (error) => {
|
|
78
78
|
const sql = Cause.isCause(error.cause) ? Cause.squash(error.cause) : error.cause;
|
|
@@ -90,6 +90,6 @@ var info = (row) => ({
|
|
|
90
90
|
updated: DateTime.makeUnsafe(row.time_updated)
|
|
91
91
|
}
|
|
92
92
|
});
|
|
93
|
-
var
|
|
93
|
+
var node57 = makeGlobalNode({ service: Service54, layer, deps: [node90] });
|
|
94
94
|
|
|
95
|
-
export {
|
|
95
|
+
export { ID7, Info9, NotFoundError6, ConflictError2, Service54, node57, exports_saved };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service65
|
|
3
|
+
} from "./file-retention-adgmyams.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service43
|
|
6
|
+
} from "./file-retention-av5ks0e5.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-6pjqjmy2.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/image.ts
|
|
15
15
|
var exports_image = {};
|
|
16
16
|
__export(exports_image, {
|
|
17
17
|
ConfigImagePlugin: () => exports_image,
|
|
18
|
-
Plugin: () =>
|
|
18
|
+
Plugin: () => Plugin36
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin36 = define({
|
|
23
23
|
id: "opencode.config.image",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const image = yield*
|
|
25
|
+
const config = yield* Service65;
|
|
26
|
+
const image = yield* Service43;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, image.reload());
|
|
28
28
|
yield* image.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -43,4 +43,4 @@ var Plugin19 = define({
|
|
|
43
43
|
})
|
|
44
44
|
});
|
|
45
45
|
|
|
46
|
-
export {
|
|
46
|
+
export { Plugin36, exports_image };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-kzcwk5ky.js";
|
|
4
4
|
import {
|
|
5
5
|
Service85
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-3r7w24g9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
9
|
+
Event19,
|
|
10
|
+
Service81
|
|
11
|
+
} from "./file-retention-b3zqj1fn.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID14,
|
|
14
14
|
MethodID2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-retention-ahrm6a4v.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
mergeOverlay2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-retention-562s2c64.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
21
|
+
ID12,
|
|
22
22
|
VariantID2,
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
23
|
+
Info21
|
|
24
|
+
} from "./file-retention-xk76yr4x.js";
|
|
25
25
|
import {
|
|
26
26
|
success2,
|
|
27
27
|
error2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./file-retention-yb20nhc3.js";
|
|
29
29
|
import {
|
|
30
30
|
get5
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./file-retention-3nnrz6f6.js";
|
|
32
32
|
import {
|
|
33
33
|
configuredSettings2
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./file-retention-c7nehh90.js";
|
|
35
35
|
|
|
36
36
|
// src/plugin/provider/chatgpt.ts
|
|
37
37
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -43,8 +43,8 @@ var issuer = "https://auth.openai.com";
|
|
|
43
43
|
var tokenURL = `${issuer}/api/accounts/oauth/token`;
|
|
44
44
|
var resource = "https://api.openai.com/v1";
|
|
45
45
|
var tokenSharingScope = "chatgpt.tokens.use.direct";
|
|
46
|
-
var providerID =
|
|
47
|
-
var integrationID =
|
|
46
|
+
var providerID = ID13.openai;
|
|
47
|
+
var integrationID = ID14.make("openai");
|
|
48
48
|
var methodID = MethodID2.make("chatgpt-token-sharing");
|
|
49
49
|
var modelCacheKey = (clientID) => `models:${clientID}`;
|
|
50
50
|
var fallbackModels = new Set([
|
|
@@ -180,7 +180,7 @@ var ChatGPTPlugin2 = define({
|
|
|
180
180
|
id: "opencode.provider.chatgpt",
|
|
181
181
|
effect: Effect.fn(function* (ctx) {
|
|
182
182
|
const bus = yield* Service85;
|
|
183
|
-
const credentials = yield*
|
|
183
|
+
const credentials = yield* Service81;
|
|
184
184
|
const loading = Semaphore.makeUnsafe(1);
|
|
185
185
|
let chatgpt;
|
|
186
186
|
let source;
|
|
@@ -195,7 +195,7 @@ var ChatGPTPlugin2 = define({
|
|
|
195
195
|
yield* ctx.integration.transform((editor) => {
|
|
196
196
|
editor.method.update(signIn(ctx.app, () => Option.getOrUndefined(decodeMetadata(chatgpt?.metadata))?.clientID, ctx.storage));
|
|
197
197
|
});
|
|
198
|
-
yield* Effect.forEach(yield* credentials.list(
|
|
198
|
+
yield* Effect.forEach(yield* credentials.list(ID14.make("openai")), (entry) => {
|
|
199
199
|
const value = entry.value;
|
|
200
200
|
if (value.type !== "oauth" || value.methodID !== MethodID2.make("chatgpt-browser"))
|
|
201
201
|
return Effect.void;
|
|
@@ -268,7 +268,7 @@ var ChatGPTPlugin2 = define({
|
|
|
268
268
|
}
|
|
269
269
|
});
|
|
270
270
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
271
|
-
yield* bus.subscribe(
|
|
271
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
272
272
|
})
|
|
273
273
|
});
|
|
274
274
|
function headers(app) {
|
|
@@ -325,7 +325,7 @@ function deriveModels2(remote, existing) {
|
|
|
325
325
|
const found = byID.get(model.modelID);
|
|
326
326
|
return found ? [deriveModel(found, model)] : [];
|
|
327
327
|
}),
|
|
328
|
-
...remote.filter((model) => !known.has(
|
|
328
|
+
...remote.filter((model) => !known.has(ID12.make(model.slug))).map((model) => deriveModel(model, Info21.default(ID13.openai, ID12.make(model.slug))))
|
|
329
329
|
];
|
|
330
330
|
}
|
|
331
331
|
function deriveModel(remote, previous) {
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-retention-z5v4ffb3.js";
|
|
4
4
|
import {
|
|
5
5
|
WorktreeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-retention-6tx8rgr5.js";
|
|
7
7
|
import {
|
|
8
8
|
Slug2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-retention-gebd4c9n.js";
|
|
10
10
|
import {
|
|
11
11
|
Service86,
|
|
12
12
|
node90
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./file-retention-a1qdfkze.js";
|
|
14
14
|
import {
|
|
15
15
|
Service85,
|
|
16
16
|
node89
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./file-retention-3r7w24g9.js";
|
|
18
18
|
import {
|
|
19
19
|
ProjectTable2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./file-retention-034tev2y.js";
|
|
21
21
|
import {
|
|
22
22
|
WorktreeTable2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-retention-ayjs7tqn.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
25
|
+
ID17,
|
|
26
26
|
NotFoundError12
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./file-retention-fbx1pf6w.js";
|
|
28
28
|
import {
|
|
29
29
|
Ref4
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./file-retention-kd9fhfv6.js";
|
|
31
31
|
import {
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
} from "./
|
|
32
|
+
Service73,
|
|
33
|
+
node77
|
|
34
|
+
} from "./file-retention-x8570257.js";
|
|
35
35
|
import {
|
|
36
36
|
DirectoryUnavailableError2,
|
|
37
37
|
canonical2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./file-retention-d4v9tmah.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
41
|
-
} from "./
|
|
40
|
+
Service59
|
|
41
|
+
} from "./file-retention-en82s9xt.js";
|
|
42
42
|
import {
|
|
43
43
|
__export
|
|
44
|
-
} from "./
|
|
44
|
+
} from "./file-retention-9rqn6x4v.js";
|
|
45
45
|
|
|
46
46
|
// src/worktree.ts
|
|
47
47
|
var exports_worktree2 = {};
|
|
@@ -49,19 +49,19 @@ __export(exports_worktree2, {
|
|
|
49
49
|
CreateInput: () => CreateInput2,
|
|
50
50
|
DestinationExistsError: () => DestinationExistsError2,
|
|
51
51
|
DirectoryUnavailableError: () => DirectoryUnavailableError2,
|
|
52
|
-
Event: () =>
|
|
53
|
-
Info: () =>
|
|
52
|
+
Event: () => Event12,
|
|
53
|
+
Info: () => Info11,
|
|
54
54
|
InvalidDirectoryError: () => InvalidDirectoryError2,
|
|
55
55
|
List: () => List2,
|
|
56
56
|
ListEntry: () => ListEntry3,
|
|
57
57
|
OperationError: () => OperationError2,
|
|
58
58
|
RemoveInput: () => RemoveInput2,
|
|
59
|
-
Service: () =>
|
|
59
|
+
Service: () => Service58,
|
|
60
60
|
SourceDirectoryNotFoundError: () => SourceDirectoryNotFoundError2,
|
|
61
61
|
StrategyID: () => StrategyID2,
|
|
62
62
|
StrategyUnavailableError: () => StrategyUnavailableError2,
|
|
63
63
|
Worktree: () => exports_worktree2,
|
|
64
|
-
node: () =>
|
|
64
|
+
node: () => node61
|
|
65
65
|
});
|
|
66
66
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
67
67
|
import { and, asc, desc, eq, isNull, sql } from "drizzle-orm";
|
|
@@ -75,11 +75,11 @@ import { OperationError as OperationError2 } from "@opencode/schema/worktree";
|
|
|
75
75
|
var StrategyID2 = Worktree.StrategyID;
|
|
76
76
|
var CreateInput2 = Worktree.CreateInput;
|
|
77
77
|
var RemoveInput2 = Worktree.RemoveInput;
|
|
78
|
-
var
|
|
78
|
+
var Info11 = Worktree.Info;
|
|
79
79
|
var List2 = Worktree.List;
|
|
80
80
|
var ListEntry3 = Worktree.ListEntry;
|
|
81
81
|
|
|
82
|
-
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID:
|
|
82
|
+
class SourceDirectoryNotFoundError2 extends Schema.TaggedError()("Worktree.SourceDirectoryNotFoundError", { projectID: ID17, directory: Schema.optional(AbsolutePath2) }) {
|
|
83
83
|
}
|
|
84
84
|
|
|
85
85
|
class DestinationExistsError2 extends Schema.TaggedError()("Worktree.DestinationExistsError", { directory: AbsolutePath2 }) {
|
|
@@ -90,17 +90,17 @@ class InvalidDirectoryError2 extends Schema.TaggedError()("Worktree.InvalidDirec
|
|
|
90
90
|
|
|
91
91
|
class StrategyUnavailableError2 extends Schema.TaggedError()("Worktree.StrategyUnavailableError", { strategy: StrategyID2 }) {
|
|
92
92
|
}
|
|
93
|
-
var
|
|
93
|
+
var Event12 = Worktree.Event;
|
|
94
94
|
|
|
95
|
-
class
|
|
95
|
+
class Service58 extends Context.Service()("@opencode/Worktree") {
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service58, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
99
|
const database = yield* Service86;
|
|
100
100
|
const db = database.db;
|
|
101
101
|
const bus = yield* Service85;
|
|
102
102
|
const processService = yield* AppProcess.Service;
|
|
103
|
-
const locations = yield*
|
|
103
|
+
const locations = yield* Service73;
|
|
104
104
|
const project = Effect.fnUntraced(function* (projectID) {
|
|
105
105
|
const row = yield* db.select().from(ProjectTable2).where(eq(ProjectTable2.id, projectID)).get().pipe(Effect.orDie);
|
|
106
106
|
if (!row)
|
|
@@ -115,11 +115,11 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
115
115
|
const { Plugin } = yield* Effect.promise(() => import("../plugin.js"));
|
|
116
116
|
const context = yield* locations.contextEffect(Ref4.make({ directory }));
|
|
117
117
|
yield* Context.get(context, Plugin.Service).awaitActivation;
|
|
118
|
-
return Context.get(context,
|
|
118
|
+
return Context.get(context, Service59).get();
|
|
119
119
|
});
|
|
120
120
|
const changed = Effect.fnUntraced(function* (projectID, update) {
|
|
121
121
|
if (update)
|
|
122
|
-
yield* bus.publish(
|
|
122
|
+
yield* bus.publish(Event12.Updated, { projectID });
|
|
123
123
|
});
|
|
124
124
|
const ops = {
|
|
125
125
|
list: Effect.fnUntraced(function* (projectID) {
|
|
@@ -246,7 +246,7 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
246
246
|
})).pipe(Effect.orDie);
|
|
247
247
|
yield* changed(input.projectID, changes.updated.length > 0 || changes.removed.length > 0);
|
|
248
248
|
}, Effect.scoped);
|
|
249
|
-
return
|
|
249
|
+
return Service58.of({
|
|
250
250
|
list: Effect.fn("Worktree.list")(function* (input) {
|
|
251
251
|
yield* project(input.projectID);
|
|
252
252
|
return yield* ops.list(input.projectID);
|
|
@@ -256,10 +256,10 @@ var layer = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
256
256
|
refresh
|
|
257
257
|
});
|
|
258
258
|
}));
|
|
259
|
-
var
|
|
260
|
-
service:
|
|
259
|
+
var node61 = Node.makeGlobalNode({
|
|
260
|
+
service: Service58,
|
|
261
261
|
layer,
|
|
262
|
-
deps: [FSUtil.node, node89, node90, AppProcess.node,
|
|
262
|
+
deps: [FSUtil.node, node89, node90, AppProcess.node, node77]
|
|
263
263
|
});
|
|
264
264
|
function operationError(strategy, operation, error) {
|
|
265
265
|
if (error instanceof WorktreeError2 || error instanceof DirectoryUnavailableError2 || error instanceof Worktree.OperationError)
|
|
@@ -269,4 +269,4 @@ function operationError(strategy, operation, error) {
|
|
|
269
269
|
});
|
|
270
270
|
}
|
|
271
271
|
|
|
272
|
-
export { StrategyID2, CreateInput2, RemoveInput2,
|
|
272
|
+
export { StrategyID2, CreateInput2, RemoveInput2, Info11, List2, ListEntry3, SourceDirectoryNotFoundError2, DestinationExistsError2, InvalidDirectoryError2, StrategyUnavailableError2, Event12, Service58, node61, exports_worktree2, OperationError2 };
|