@opencode/core 0.0.0-dev-19461 → 0.0.0-dev-19462
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/account/sql.js +1 -1
- package/dist/agent.js +80 -80
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +68 -68
- package/dist/catalog.js +84 -84
- package/dist/chunks/{location-e02shwjk.js → repository-06fb0e13.js} +43 -43
- package/dist/chunks/{location-0ajdgxne.js → repository-0ajdgxne.js} +2 -2
- package/dist/chunks/{location-g0m9gjz9.js → repository-0df5qb80.js} +52 -52
- package/dist/chunks/{location-4nkvv82w.js → repository-0e6dpvm0.js} +9 -9
- package/dist/chunks/{location-0paq2nw3.js → repository-0paq2nw3.js} +1 -1
- package/dist/chunks/{location-tgcnfkqc.js → repository-0psa96yy.js} +25 -25
- package/dist/chunks/{location-0q0f95c6.js → repository-0q0f95c6.js} +1 -1
- package/dist/chunks/{location-b4phpgjh.js → repository-0q56t1d9.js} +10 -10
- package/dist/chunks/{location-jhetwysa.js → repository-18cztcj7.js} +3 -3
- package/dist/chunks/{location-qq11w61w.js → repository-1a6p2twq.js} +4 -4
- package/dist/chunks/{location-en74w496.js → repository-1ah30sey.js} +5 -5
- package/dist/chunks/{location-eq1pz5kg.js → repository-1bbkgx8g.js} +3 -3
- package/dist/chunks/{location-1dazxqgg.js → repository-1dazxqgg.js} +2 -2
- package/dist/chunks/{location-z8y5r8b4.js → repository-1h7x1mz2.js} +20 -20
- package/dist/chunks/{location-e37jza6a.js → repository-1jp9w2wz.js} +3 -3
- package/dist/chunks/{location-29cddch4.js → repository-1mv714b0.js} +38 -38
- package/dist/chunks/{location-awbtvej0.js → repository-1q3whged.js} +8 -8
- package/dist/chunks/{location-742mfkhf.js → repository-1ynvz20k.js} +19 -19
- package/dist/chunks/{location-21r38tys.js → repository-21r38tys.js} +1 -1
- package/dist/chunks/{location-64kphnzf.js → repository-22m95qs7.js} +4 -4
- package/dist/chunks/{location-2402vzrj.js → repository-2402vzrj.js} +1 -1
- package/dist/chunks/{location-29x78va6.js → repository-29x78va6.js} +2 -2
- package/dist/chunks/{location-2a5m3afh.js → repository-2a5m3afh.js} +1 -1
- package/dist/chunks/{location-c7ecgrk6.js → repository-2d6j2h4j.js} +6 -6
- package/dist/chunks/{location-ra3vsbfe.js → repository-2ddb8vnf.js} +9 -9
- package/dist/chunks/{location-3pgnpxjv.js → repository-2f140qw9.js} +10 -10
- package/dist/chunks/{location-3vq2j3j3.js → repository-2ghmk56m.js} +41 -41
- package/dist/chunks/{location-5wxnan0q.js → repository-2rykfwh7.js} +4 -4
- package/dist/chunks/{location-tkgdp0re.js → repository-2shxgy61.js} +13 -13
- package/dist/chunks/{location-cwjhdd4w.js → repository-2tvtcs34.js} +25 -25
- package/dist/chunks/{location-1wxb385z.js → repository-31dz7cp4.js} +1 -1
- package/dist/chunks/{location-j5bzq3k2.js → repository-3302fwks.js} +18 -18
- package/dist/chunks/{location-2naaymgq.js → repository-34yfzwwr.js} +24 -24
- package/dist/chunks/{location-9gbkhhyb.js → repository-3821feyt.js} +13 -13
- package/dist/chunks/{location-mb2t11pg.js → repository-3akyt0ax.js} +6 -6
- package/dist/chunks/{location-1e3xc6ve.js → repository-3f6etdc1.js} +26 -26
- package/dist/chunks/{location-gdvy8fx6.js → repository-3fc6dm20.js} +4 -4
- package/dist/chunks/{location-61gb32ev.js → repository-3h2aaj0a.js} +32 -32
- package/dist/chunks/{location-3hepkmqq.js → repository-3hepkmqq.js} +1 -1
- package/dist/chunks/{location-3smtnn6g.js → repository-3smtnn6g.js} +1 -1
- package/dist/chunks/{location-3tvqynh2.js → repository-3tvqynh2.js} +1 -1
- package/dist/chunks/{location-0ge7vg41.js → repository-3zbcr0s0.js} +21 -21
- package/dist/chunks/{location-6711snrz.js → repository-439dx3w9.js} +11 -11
- package/dist/chunks/{location-vjq66stf.js → repository-498fxtd6.js} +9 -9
- package/dist/chunks/{location-nvnjvff3.js → repository-4h9e19ph.js} +24 -24
- package/dist/chunks/{location-v54nzcw9.js → repository-4qr204ms.js} +21 -21
- package/dist/chunks/{location-88skwtww.js → repository-4sk0y4xd.js} +26 -26
- package/dist/chunks/repository-4v7qdvcn.js +18 -0
- package/dist/chunks/{location-ecwj8few.js → repository-4vj8kpqd.js} +8 -8
- package/dist/chunks/{location-xya91wz4.js → repository-4yg7xpeb.js} +2 -2
- package/dist/chunks/{location-4pdm3gpn.js → repository-585pw9ae.js} +20 -20
- package/dist/chunks/{location-5daktx2q.js → repository-5daktx2q.js} +1 -1
- package/dist/chunks/{location-pjxwef55.js → repository-5ezjrh81.js} +30 -30
- package/dist/chunks/{location-p05b7svp.js → repository-5he1xn5b.js} +12 -12
- package/dist/chunks/{location-zxwpk2nb.js → repository-5jtdmvnp.js} +1 -1
- package/dist/chunks/{location-5t3nmthw.js → repository-5t3nmthw.js} +2 -2
- package/dist/chunks/{location-7b15y959.js → repository-5xtgfte3.js} +8 -8
- package/dist/chunks/{location-6ttajnb0.js → repository-62zv3r2w.js} +4 -4
- package/dist/chunks/{location-zyyf3ne3.js → repository-65vrzz3w.js} +18 -18
- package/dist/chunks/{location-669tq793.js → repository-669tq793.js} +1 -1
- package/dist/chunks/{location-xfrbke8t.js → repository-67qaz902.js} +47 -47
- package/dist/chunks/{location-5kptn8c0.js → repository-6ck2t1rv.js} +9 -9
- package/dist/chunks/{location-4yz38106.js → repository-6h0p2839.js} +23 -23
- package/dist/chunks/{location-n38wpmpz.js → repository-6jtzn1qx.js} +16 -16
- package/dist/chunks/{location-6msgmcgs.js → repository-6msgmcgs.js} +1 -1
- package/dist/chunks/{location-x27ytnxh.js → repository-6t6y07ce.js} +9 -9
- package/dist/chunks/{location-71q4at8m.js → repository-71q4at8m.js} +1 -1
- package/dist/chunks/{location-thkpvahy.js → repository-73x54sz1.js} +22 -22
- package/dist/chunks/{location-nnejmx3z.js → repository-757ayx98.js} +26 -26
- package/dist/chunks/{location-n46wdk6t.js → repository-7b7gh2z5.js} +15 -15
- package/dist/chunks/{location-nhnfdq9p.js → repository-7b86q5ey.js} +11 -11
- package/dist/chunks/{location-7bmhse3q.js → repository-7bmhse3q.js} +1 -1
- package/dist/chunks/{location-qgn6gcr1.js → repository-7dqw4kz8.js} +5 -5
- package/dist/chunks/{location-711d7g3x.js → repository-7ht1e3b7.js} +18 -18
- package/dist/chunks/{location-j9g8tyqb.js → repository-7m5f9412.js} +8 -8
- package/dist/chunks/{location-jgffvrzd.js → repository-7qhfbrat.js} +9 -9
- package/dist/chunks/{location-p9pbejt8.js → repository-7sezzb4e.js} +23 -23
- package/dist/chunks/{location-dg7qpz4p.js → repository-7tvdhtw8.js} +20 -20
- package/dist/chunks/{location-yvmq8qxx.js → repository-80e0yyk8.js} +12 -12
- package/dist/chunks/{location-qg6emqy4.js → repository-81swgkk7.js} +9 -9
- package/dist/chunks/{location-cmbqfntm.js → repository-8a737tnd.js} +4 -4
- package/dist/chunks/{location-689rwdfb.js → repository-8ayndkwh.js} +9 -9
- package/dist/chunks/{location-8d7r5vzw.js → repository-8d7r5vzw.js} +1 -1
- package/dist/chunks/{location-tc7ec7w9.js → repository-8nw6zpr4.js} +34 -34
- package/dist/chunks/{location-8p4f9s12.js → repository-8p4f9s12.js} +2 -2
- package/dist/chunks/{location-gx1zhcta.js → repository-8ypn74s0.js} +1 -1
- package/dist/chunks/{location-8z17e00v.js → repository-8z17e00v.js} +2 -2
- package/dist/chunks/{location-3dn8y05b.js → repository-915t83ht.js} +5 -5
- package/dist/chunks/{location-qte5z7bc.js → repository-92a4ap4w.js} +5 -5
- package/dist/chunks/{location-srpeewqc.js → repository-9b5bbgrx.js} +9 -9
- package/dist/chunks/{location-cv28m94p.js → repository-9er5p002.js} +30 -30
- package/dist/chunks/{location-hjsevywp.js → repository-9ggdqdtw.js} +11 -11
- package/dist/chunks/{location-a1bz86dw.js → repository-a1bz86dw.js} +3 -3
- package/dist/chunks/{location-7tepnm88.js → repository-a2fztt6w.js} +20 -20
- package/dist/chunks/{location-0n9gyfew.js → repository-a4exdnt3.js} +4 -4
- package/dist/chunks/{location-b3frasm9.js → repository-a7qvktew.js} +11 -11
- package/dist/chunks/{location-gbxx1qdc.js → repository-a7v51dbc.js} +26 -26
- package/dist/chunks/{location-aaet6srn.js → repository-aaet6srn.js} +2 -2
- package/dist/chunks/{location-qqtwvk4z.js → repository-ahgcj67e.js} +4 -4
- package/dist/chunks/{location-wwa04tag.js → repository-aj2fadgq.js} +22 -22
- package/dist/chunks/{location-swegyzdq.js → repository-anty3ns2.js} +11 -11
- package/dist/chunks/{location-vkkzdp2q.js → repository-aty0eeer.js} +6 -6
- package/dist/chunks/{location-2nqpnpx3.js → repository-b0ysmz6y.js} +28 -28
- package/dist/chunks/{location-vccwxyms.js → repository-b1fx07ep.js} +12 -12
- package/dist/chunks/{location-b6gygkdw.js → repository-b6gygkdw.js} +2 -2
- package/dist/chunks/{location-9mx1cntf.js → repository-b9ank1ts.js} +14 -14
- package/dist/chunks/{location-deq2xmw7.js → repository-b9jb5emj.js} +3 -3
- package/dist/chunks/{location-chnmz1hg.js → repository-bpqahvg7.js} +8 -8
- package/dist/chunks/{location-2nfqgr27.js → repository-bw1aan46.js} +7 -7
- package/dist/chunks/{location-0q1bg550.js → repository-c33k41yq.js} +7 -7
- package/dist/chunks/{location-grg0ht9d.js → repository-c742vz2c.js} +37 -37
- package/dist/chunks/{location-e4dde0bf.js → repository-c9e2w61w.js} +8 -8
- package/dist/chunks/{location-4gjq1w3h.js → repository-cep4v9kk.js} +41 -41
- package/dist/chunks/{location-cfpkc3c9.js → repository-cfpkc3c9.js} +2 -2
- package/dist/chunks/{location-2rwqw19q.js → repository-cr0em44r.js} +22 -22
- package/dist/chunks/{location-hkqcgn21.js → repository-cva88qnv.js} +9 -9
- package/dist/chunks/{location-vjqy2pak.js → repository-d230r5q8.js} +6 -6
- package/dist/chunks/{location-rabb6kfb.js → repository-d8z6v07t.js} +7 -7
- package/dist/chunks/{location-pxq7pqqx.js → repository-d98chebz.js} +20 -20
- package/dist/chunks/{location-t9kz6j3c.js → repository-dmv09vgm.js} +24 -24
- package/dist/chunks/{location-y71avatq.js → repository-dpkg50ah.js} +4 -4
- package/dist/chunks/{location-fpmq6gma.js → repository-dqmwfghx.js} +5 -5
- package/dist/chunks/{location-f6pdpkc8.js → repository-dvjn987s.js} +55 -55
- package/dist/chunks/{location-yfhpaps7.js → repository-dxmjzr1r.js} +17 -17
- package/dist/chunks/{location-6p2j0xaj.js → repository-e4t9qac1.js} +11 -11
- package/dist/chunks/{location-fffsb91j.js → repository-ebd9479t.js} +4 -4
- package/dist/chunks/{location-szyk33kk.js → repository-edpf80fc.js} +6 -6
- package/dist/chunks/{location-gwm9h4t4.js → repository-efj7rby6.js} +11 -11
- package/dist/chunks/{location-wj7cshxw.js → repository-ehgmx3s2.js} +31 -31
- package/dist/chunks/{location-hpf6vjwp.js → repository-ek5z2msw.js} +24 -24
- package/dist/chunks/{location-vpsgd2jw.js → repository-ekzy4a15.js} +9 -9
- package/dist/chunks/{location-2dpa94xe.js → repository-epjkq198.js} +13 -13
- package/dist/chunks/{location-6arvyfpk.js → repository-es1pjgb0.js} +5 -5
- package/dist/chunks/{location-etq0c3wd.js → repository-etq0c3wd.js} +1 -1
- package/dist/chunks/{location-9nyx0xzb.js → repository-ewbp23zb.js} +25 -25
- package/dist/chunks/{location-hhbxt1mp.js → repository-f6ytka93.js} +8 -8
- package/dist/chunks/{location-f828m53h.js → repository-f828m53h.js} +2 -2
- package/dist/chunks/{location-fj5qtafa.js → repository-f8hx9dgc.js} +35 -35
- package/dist/chunks/{location-7k2b160c.js → repository-f8pdk657.js} +5 -5
- package/dist/chunks/{location-t8mcaem5.js → repository-f9bavhm2.js} +1 -1
- package/dist/chunks/{location-k2ez8jpr.js → repository-fa0hz4rj.js} +25 -25
- package/dist/chunks/{location-fm2g78m8.js → repository-faq7vhys.js} +11 -11
- package/dist/chunks/{location-1t7mpxg8.js → repository-fh173wkb.js} +5 -5
- package/dist/chunks/{location-gsx0ryk4.js → repository-fhs97t90.js} +5 -5
- package/dist/chunks/{location-s2dhjhqs.js → repository-fm1pn3h6.js} +28 -28
- package/dist/chunks/{location-wmq45nfe.js → repository-fnm2rd37.js} +84 -84
- package/dist/chunks/{location-fxbjtjnd.js → repository-fxbjtjnd.js} +1 -1
- package/dist/chunks/{location-h5z8kjx1.js → repository-fxy4734q.js} +4 -4
- package/dist/chunks/{location-y3ex4pz8.js → repository-fzceatkk.js} +15 -15
- package/dist/chunks/{location-jfk1xeys.js → repository-g47hgwy1.js} +17 -17
- package/dist/chunks/{location-djamvv4a.js → repository-g8bfx21a.js} +26 -26
- package/dist/chunks/{location-gd4qta3r.js → repository-gd4qta3r.js} +1 -1
- package/dist/chunks/{location-4d6zvh3y.js → repository-gh7jcff5.js} +17 -17
- package/dist/chunks/{location-gxx6jc0s.js → repository-gs48f12t.js} +5 -5
- package/dist/chunks/{location-gv6a8nnw.js → repository-gv6a8nnw.js} +2 -2
- package/dist/chunks/{location-1pqsyb9r.js → repository-gvjwy1ww.js} +8 -8
- package/dist/chunks/{location-h03wrkyp.js → repository-h03wrkyp.js} +2 -2
- package/dist/chunks/{location-y4424x0p.js → repository-h31ehzq9.js} +4 -4
- package/dist/chunks/{location-3r86hrp4.js → repository-h4e9v6cf.js} +16 -16
- package/dist/chunks/{location-fg7rbsd2.js → repository-h53fs6we.js} +6 -6
- package/dist/chunks/{location-h6vf3j39.js → repository-h6vf3j39.js} +1 -1
- package/dist/chunks/{location-bajakh74.js → repository-hfdr1yjj.js} +4 -4
- package/dist/chunks/{location-a3fmdkp8.js → repository-hhbh3w1t.js} +1 -1
- package/dist/chunks/{location-hjt4xg1x.js → repository-hjt4xg1x.js} +1 -1
- package/dist/chunks/{location-s0tc2krz.js → repository-hwzvcses.js} +15 -15
- package/dist/chunks/{location-bysfyz6c.js → repository-hx3323mz.js} +37 -37
- package/dist/chunks/{location-4vm55rjt.js → repository-j3gkf22j.js} +13 -13
- package/dist/chunks/{location-443jp2h5.js → repository-j4yfb19a.js} +11 -11
- package/dist/chunks/{location-j56e64zr.js → repository-j56e64zr.js} +1 -1
- package/dist/chunks/{location-2s8c9txd.js → repository-j8jb84gn.js} +16 -16
- package/dist/chunks/{location-19vf66h0.js → repository-jfqtm2ew.js} +4 -4
- package/dist/chunks/{location-f8jykge8.js → repository-jks25yqs.js} +18 -18
- package/dist/chunks/{location-ejn237hk.js → repository-jnt9jbpr.js} +37 -37
- package/dist/chunks/{location-5bcts36j.js → repository-js2yt1nz.js} +80 -80
- package/dist/chunks/{location-qkh2avww.js → repository-jxxmrcps.js} +6 -6
- package/dist/chunks/{location-83x6p9kd.js → repository-jy16bfac.js} +1 -1
- package/dist/chunks/{location-1fzcnh6v.js → repository-k7w803fk.js} +20 -20
- package/dist/chunks/{location-wc4t234n.js → repository-kc7gkhnn.js} +15 -15
- package/dist/chunks/{location-zghxhb3h.js → repository-kd9v8sax.js} +6 -6
- package/dist/chunks/{location-kg06axw8.js → repository-kg06axw8.js} +1 -1
- package/dist/chunks/{location-rme5v0wm.js → repository-kt5w8vxh.js} +10 -10
- package/dist/chunks/{location-k881w53b.js → repository-kx6qnvmq.js} +46 -46
- package/dist/chunks/{location-cncarfnr.js → repository-ky6ecvvs.js} +6 -6
- package/dist/chunks/{location-padgxnv1.js → repository-kz381zv4.js} +5 -5
- package/dist/chunks/{location-yrrczd0w.js → repository-m8bbpje0.js} +8 -8
- package/dist/chunks/{location-m9w0rfyh.js → repository-m9w0rfyh.js} +1 -1
- package/dist/chunks/{location-qe9wkc6t.js → repository-me7cqgqr.js} +8 -8
- package/dist/chunks/{location-1ygqh575.js → repository-mfqp6xfm.js} +6 -6
- package/dist/chunks/{location-mkcjrzeh.js → repository-mkcjrzeh.js} +1 -1
- package/dist/chunks/{location-gbxr56d2.js → repository-n2nfwst7.js} +18 -18
- package/dist/chunks/{location-5emdt044.js → repository-n5aza2pa.js} +10 -10
- package/dist/chunks/{location-8kvx5c4t.js → repository-n5bzxk2f.js} +10 -10
- package/dist/chunks/{location-6ry05z8r.js → repository-n94hx6h0.js} +22 -22
- package/dist/chunks/{location-pcg8y0q6.js → repository-ne7s8sw8.js} +10 -10
- package/dist/chunks/{location-cz5ya5dx.js → repository-nezgc4ey.js} +6 -6
- package/dist/chunks/{location-jm1m0h68.js → repository-nywkrfb7.js} +33 -33
- package/dist/chunks/{location-3ncmaxct.js → repository-pcmc1zwr.js} +30 -30
- package/dist/chunks/{location-cabjg3g0.js → repository-pcsmqseq.js} +16 -16
- package/dist/chunks/{location-5k5btewg.js → repository-pe9eppf5.js} +15 -15
- package/dist/chunks/{location-t78ymf7t.js → repository-pg7njcxf.js} +16 -16
- package/dist/chunks/{location-pjvnvgmy.js → repository-pjvnvgmy.js} +1 -1
- package/dist/chunks/{location-pknna89w.js → repository-pknna89w.js} +1 -1
- package/dist/chunks/{location-p7g16bt6.js → repository-psywnqq9.js} +9 -9
- package/dist/chunks/{location-4vp014ph.js → repository-pwv7z67e.js} +14 -14
- package/dist/chunks/{location-7ra4c6gm.js → repository-q3n10r91.js} +17 -17
- package/dist/chunks/{location-zav06jzw.js → repository-q5asdkn4.js} +4 -4
- package/dist/chunks/{location-q5j1bp2v.js → repository-q5j1bp2v.js} +1 -1
- package/dist/chunks/{location-ymm454xd.js → repository-q5zafh14.js} +6 -6
- package/dist/chunks/{location-tqzea4nr.js → repository-qfapmvwx.js} +33 -33
- package/dist/chunks/{location-e0paksqa.js → repository-qhc60h7n.js} +18 -18
- package/dist/chunks/{location-gt0cxfk7.js → repository-qmr73083.js} +1 -1
- package/dist/chunks/{location-zd6k41k9.js → repository-qnvtssqj.js} +11 -11
- package/dist/chunks/{location-sgfkh1bp.js → repository-qr27hz8v.js} +4 -4
- package/dist/chunks/{location-qsdy395h.js → repository-qsdy395h.js} +1 -1
- package/dist/chunks/{location-g5d9kagx.js → repository-qybb80ke.js} +163 -163
- package/dist/chunks/{location-1acjjqhc.js → repository-r8xr0va3.js} +4 -4
- package/dist/chunks/{location-r9mregkx.js → repository-r9mregkx.js} +2 -2
- package/dist/chunks/{location-4yzhf524.js → repository-r9s20qyb.js} +13 -13
- package/dist/chunks/{location-z24k1rmt.js → repository-rqx8c1bj.js} +20 -20
- package/dist/chunks/{location-bdyczj2g.js → repository-rrfg73gn.js} +16 -16
- package/dist/chunks/{location-0q77j2hf.js → repository-rsvg5qe3.js} +30 -30
- package/dist/chunks/{location-0gr7cw0d.js → repository-s0hza5ac.js} +4 -4
- package/dist/chunks/{location-crg35gqk.js → repository-s301d4t7.js} +2 -2
- package/dist/chunks/{location-s4enseaf.js → repository-s4enseaf.js} +2 -2
- package/dist/chunks/{location-1ja8qtne.js → repository-s4kjwg47.js} +22 -22
- package/dist/chunks/{location-vtnam11j.js → repository-s54pw8rz.js} +17 -17
- package/dist/chunks/{location-t550f9t1.js → repository-s8d7rejh.js} +4 -4
- package/dist/chunks/{location-0bps82y7.js → repository-sabycmh3.js} +6 -6
- package/dist/chunks/{location-hj81pfz7.js → repository-sg3ay6jr.js} +9 -9
- package/dist/chunks/{location-g2y161wv.js → repository-sgwh5nyn.js} +8 -8
- package/dist/chunks/{location-r4tq48pt.js → repository-sq8adhhz.js} +11 -11
- package/dist/chunks/{location-3gfxcggk.js → repository-sqnjsewz.js} +14 -14
- package/dist/chunks/{location-avm8jn6n.js → repository-sra9araw.js} +5 -5
- package/dist/chunks/{location-4mkcvr19.js → repository-sv9bpgvh.js} +5 -5
- package/dist/chunks/{location-a3kgfrx0.js → repository-t45hg38h.js} +11 -11
- package/dist/chunks/{location-q6r6ry4n.js → repository-t7dkn34m.js} +18 -18
- package/dist/chunks/{location-q5nc2w3s.js → repository-t7qd3f94.js} +18 -18
- package/dist/chunks/{location-1an81ev3.js → repository-t9c3e8bq.js} +7 -7
- package/dist/chunks/{location-tazgh4e4.js → repository-tazgh4e4.js} +1 -1
- package/dist/chunks/{location-tcezcvh9.js → repository-tcezcvh9.js} +1 -1
- package/dist/chunks/{location-38grcwtr.js → repository-tcsyqj73.js} +11 -11
- package/dist/chunks/{location-9vhx2d4h.js → repository-tds63m58.js} +11 -11
- package/dist/chunks/{location-tdstcens.js → repository-tdstcens.js} +1 -1
- package/dist/chunks/repository-thkcmnfe.js +22 -0
- package/dist/chunks/{location-tvtrv512.js → repository-tvtrv512.js} +1 -1
- package/dist/chunks/{location-mset8fj1.js → repository-v3qpsh98.js} +41 -41
- package/dist/chunks/{location-5nsrms9d.js → repository-v8ch97zc.js} +1 -1
- package/dist/chunks/{location-f06x8t7g.js → repository-veeq5evv.js} +21 -21
- package/dist/chunks/{location-veqvce7d.js → repository-veqvce7d.js} +1 -1
- package/dist/chunks/{location-hgxcmmev.js → repository-vrx4yh84.js} +25 -25
- package/dist/chunks/{location-dtqg9ce1.js → repository-vxp3kcg3.js} +5 -5
- package/dist/chunks/{location-vzcthcp8.js → repository-vzcthcp8.js} +1 -1
- package/dist/chunks/{location-ctysr86j.js → repository-w0a2h48p.js} +16 -16
- package/dist/chunks/{location-w3wsvvr9.js → repository-w3wsvvr9.js} +1 -1
- package/dist/chunks/{location-t41sh3fy.js → repository-w6jjpet8.js} +18 -18
- package/dist/chunks/{location-wd87259q.js → repository-wd87259q.js} +1 -1
- package/dist/chunks/repository-wpdhr89c.js +247 -0
- package/dist/chunks/{location-n94hfmyp.js → repository-wsxzptys.js} +4 -4
- package/dist/chunks/{location-x1ezjp6w.js → repository-x1ezjp6w.js} +1 -1
- package/dist/chunks/{location-jg27de1v.js → repository-x359c73n.js} +15 -15
- package/dist/chunks/{location-vzcbq1w3.js → repository-xdmp4stv.js} +47 -47
- package/dist/chunks/{location-y1fvbwt7.js → repository-y1fvbwt7.js} +1 -1
- package/dist/chunks/{location-d0rxe8vc.js → repository-y4za65ce.js} +15 -15
- package/dist/chunks/{location-xhmq8qgk.js → repository-y56ehv6b.js} +5 -5
- package/dist/chunks/{location-0xv9r4rc.js → repository-y5qrxrza.js} +34 -34
- package/dist/chunks/{location-yrhqyw5v.js → repository-yrhqyw5v.js} +1 -1
- package/dist/chunks/{location-0tn02ksk.js → repository-yvm9rc9x.js} +65 -65
- package/dist/chunks/{location-z0bkrqjs.js → repository-z0bkrqjs.js} +1 -1
- package/dist/chunks/{location-yzn2jey8.js → repository-z1ycjdcc.js} +11 -11
- package/dist/chunks/{location-w34f8myg.js → repository-z7dhvtda.js} +24 -24
- package/dist/chunks/{location-zeh9ct20.js → repository-zeh9ct20.js} +2 -2
- package/dist/chunks/{location-zepncfka.js → repository-zepncfka.js} +1 -1
- package/dist/chunks/{location-7zezh56x.js → repository-zf9sx82p.js} +17 -17
- package/dist/chunks/{location-vbk940s3.js → repository-zpchy40n.js} +24 -24
- package/dist/chunks/{location-zpd6x7fe.js → repository-zpd6x7fe.js} +2 -2
- package/dist/chunks/{location-zr2ceqn5.js → repository-zr2ceqn5.js} +1 -1
- package/dist/chunks/{location-0zf2whzq.js → repository-ztncjpjx.js} +30 -30
- package/dist/chunks/{location-tj2vbr09.js → repository-zvrsfabp.js} +287 -287
- package/dist/chunks/{location-zxq2ej10.js → repository-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +3 -3
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +80 -80
- package/dist/config/discovery.js +78 -78
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +19 -19
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +210 -210
- package/dist/config/plugin/compaction.js +156 -156
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +118 -118
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +86 -86
- package/dist/config/plugin/location-watcher.js +116 -116
- package/dist/config/plugin/mcp.js +127 -127
- package/dist/config/plugin/policy.js +115 -115
- package/dist/config/plugin/provider.js +114 -114
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +117 -117
- package/dist/config/plugin/skill-file.js +98 -98
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +118 -118
- package/dist/config/plugin/tool-output.js +118 -118
- package/dist/config/plugin/websearch.js +114 -114
- package/dist/config/plugin/worktree.js +119 -119
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +120 -120
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +82 -82
- package/dist/database/database.js +65 -65
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- package/dist/database/path.js +2 -2
- package/dist/database/schema.gen.js +1 -1
- package/dist/database/schema.sql.js +1 -1
- package/dist/database/sqlite.bun.js +1 -1
- package/dist/database/sqlite.js +1 -1
- package/dist/database/sqlite.node.js +1 -1
- package/dist/database/sqlite.workerd.js +1 -1
- package/dist/database/v1-migration.bun.js +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +89 -89
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +91 -91
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +69 -69
- package/dist/file-access.js +100 -100
- package/dist/file-mutation.js +86 -86
- 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 +217 -217
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +95 -95
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +83 -83
- package/dist/generate.js +92 -92
- package/dist/git.js +7 -7
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +7 -7
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +129 -129
- package/dist/location-mutation.js +100 -100
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +351 -351
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +100 -100
- package/dist/mcp/instructions.js +123 -123
- package/dist/mcp/oauth.js +3 -3
- package/dist/mcp/stdio.js +86 -86
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +7 -7
- package/dist/model-resolver.js +85 -85
- package/dist/model.js +8 -8
- package/dist/models-dev.js +87 -87
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +107 -107
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +85 -85
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +100 -100
- package/dist/plugin/command.js +97 -97
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +214 -214
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +325 -325
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +98 -98
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/alibaba.js +2 -2
- package/dist/plugin/provider/amazon-bedrock.js +2 -2
- package/dist/plugin/provider/anthropic.js +2 -2
- package/dist/plugin/provider/azure.js +119 -119
- package/dist/plugin/provider/cerebras.js +2 -2
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +115 -115
- package/dist/plugin/provider/digitalocean.js +80 -80
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +81 -81
- package/dist/plugin/provider/gitlab.js +3 -3
- package/dist/plugin/provider/google-vertex.js +2 -2
- package/dist/plugin/provider/kilo.js +2 -2
- package/dist/plugin/provider/llmgateway.js +77 -77
- package/dist/plugin/provider/lmstudio.js +118 -118
- package/dist/plugin/provider/mistral.js +2 -2
- package/dist/plugin/provider/modal.js +80 -80
- package/dist/plugin/provider/nvidia.js +2 -2
- package/dist/plugin/provider/ollama.js +118 -118
- package/dist/plugin/provider/openai-compatible.js +1 -1
- package/dist/plugin/provider/openai.js +79 -79
- package/dist/plugin/provider/opencode.js +80 -80
- package/dist/plugin/provider/openrouter.js +3 -3
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/sap-ai-core.js +3 -3
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +118 -118
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +2 -2
- package/dist/plugin/provider/vllm.js +118 -118
- package/dist/plugin/provider/xai.js +78 -78
- package/dist/plugin/provider/zenmux.js +2 -2
- package/dist/plugin/provider.js +159 -159
- package/dist/plugin/sdk.js +73 -73
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +344 -344
- package/dist/plugin/update.js +4 -4
- package/dist/plugin/variant.js +4 -4
- package/dist/plugin/vcs/git.js +83 -83
- package/dist/plugin/vcs/hg.js +83 -83
- package/dist/plugin/warming.js +113 -113
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin.js +219 -219
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +5 -5
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +89 -89
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +85 -85
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +82 -82
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +128 -128
- package/dist/session/context.js +148 -148
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +217 -217
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +149 -149
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +76 -76
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +89 -89
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +114 -114
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +127 -127
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +101 -101
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +86 -86
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +226 -226
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +87 -87
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +111 -111
- package/dist/session/runner/step.js +122 -122
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +1 -1
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +132 -132
- package/dist/session/skill.js +99 -99
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +206 -206
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +152 -152
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +211 -211
- package/dist/session/usage.js +1 -1
- package/dist/session.js +208 -208
- 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 +15 -15
- package/dist/shell.js +134 -134
- package/dist/skill/discovery.js +4 -4
- package/dist/skill/instructions.js +97 -97
- package/dist/skill.js +108 -108
- package/dist/snapshot.js +87 -87
- 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 +120 -120
- package/dist/tool/plugin/edit.js +116 -116
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +121 -121
- package/dist/tool/plugin/grep.js +115 -115
- package/dist/tool/plugin/opencode.js +1 -1
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +99 -99
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +101 -101
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +104 -104
- package/dist/tool/plugin/websearch.js +108 -108
- package/dist/tool/plugin/write.js +118 -118
- package/dist/tool/read-filesystem.js +97 -97
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +13 -13
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- package/dist/v1/config/permission.js +1 -1
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +80 -80
- package/dist/websearch.js +83 -83
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +78 -78
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +5 -5
- package/dist/worktree/refresh.js +343 -343
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +88 -88
- package/package.json +8 -8
- package/dist/chunks/location-51teaz73.js +0 -247
- package/dist/chunks/location-7wbnq2vq.js +0 -22
- package/dist/chunks/location-dxj72tfx.js +0 -18
- /package/dist/chunks/{location-0mesazry.js → repository-0mesazry.js} +0 -0
- /package/dist/chunks/{location-0qkdqm5v.js → repository-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{location-0zkw76rk.js → repository-0zkw76rk.js} +0 -0
- /package/dist/chunks/{location-17cy0kzp.js → repository-17cy0kzp.js} +0 -0
- /package/dist/chunks/{location-1cnp2v09.js → repository-1cnp2v09.js} +0 -0
- /package/dist/chunks/{location-1kg9ymc8.js → repository-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{location-2710q6r3.js → repository-2710q6r3.js} +0 -0
- /package/dist/chunks/{location-2axfhc9x.js → repository-2axfhc9x.js} +0 -0
- /package/dist/chunks/{location-2c3vjs8z.js → repository-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{location-359p4xyc.js → repository-359p4xyc.js} +0 -0
- /package/dist/chunks/{location-3asan66x.js → repository-3asan66x.js} +0 -0
- /package/dist/chunks/{location-3v8g72cx.js → repository-3v8g72cx.js} +0 -0
- /package/dist/chunks/{location-3w5fmr99.js → repository-3w5fmr99.js} +0 -0
- /package/dist/chunks/{location-3wcehsnq.js → repository-3wcehsnq.js} +0 -0
- /package/dist/chunks/{location-43n2bw4t.js → repository-43n2bw4t.js} +0 -0
- /package/dist/chunks/{location-4knz6hnm.js → repository-4knz6hnm.js} +0 -0
- /package/dist/chunks/{location-4vcrnpx2.js → repository-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{location-4y7fprxs.js → repository-4y7fprxs.js} +0 -0
- /package/dist/chunks/{location-53557ph1.js → repository-53557ph1.js} +0 -0
- /package/dist/chunks/{location-550bvhaj.js → repository-550bvhaj.js} +0 -0
- /package/dist/chunks/{location-6prwharc.js → repository-6prwharc.js} +0 -0
- /package/dist/chunks/{location-7akdwqpd.js → repository-7akdwqpd.js} +0 -0
- /package/dist/chunks/{location-7m9af43g.js → repository-7m9af43g.js} +0 -0
- /package/dist/chunks/{location-822emrt2.js → repository-822emrt2.js} +0 -0
- /package/dist/chunks/{location-88xbtdfr.js → repository-88xbtdfr.js} +0 -0
- /package/dist/chunks/{location-8n3pysct.js → repository-8n3pysct.js} +0 -0
- /package/dist/chunks/{location-922hggd3.js → repository-922hggd3.js} +0 -0
- /package/dist/chunks/{location-9a4afbnw.js → repository-9a4afbnw.js} +0 -0
- /package/dist/chunks/{location-9rqn6x4v.js → repository-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{location-a6k6eb26.js → repository-a6k6eb26.js} +0 -0
- /package/dist/chunks/{location-af5trqkr.js → repository-af5trqkr.js} +0 -0
- /package/dist/chunks/{location-afrmfg78.js → repository-afrmfg78.js} +0 -0
- /package/dist/chunks/{location-aqzs7mqg.js → repository-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{location-atq7p7m5.js → repository-atq7p7m5.js} +0 -0
- /package/dist/chunks/{location-bkyjaxrp.js → repository-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{location-bmr6ed5q.js → repository-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{location-cf4snx6d.js → repository-cf4snx6d.js} +0 -0
- /package/dist/chunks/{location-cvy3z8tj.js → repository-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{location-d9fn303g.js → repository-d9fn303g.js} +0 -0
- /package/dist/chunks/{location-d9jj8t3e.js → repository-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{location-dajrwvna.js → repository-dajrwvna.js} +0 -0
- /package/dist/chunks/{location-dap0rakb.js → repository-dap0rakb.js} +0 -0
- /package/dist/chunks/{location-df08tz66.js → repository-df08tz66.js} +0 -0
- /package/dist/chunks/{location-dv250zvr.js → repository-dv250zvr.js} +0 -0
- /package/dist/chunks/{location-dy18nga0.js → repository-dy18nga0.js} +0 -0
- /package/dist/chunks/{location-e5kj55wp.js → repository-e5kj55wp.js} +0 -0
- /package/dist/chunks/{location-e73j6tqm.js → repository-e73j6tqm.js} +0 -0
- /package/dist/chunks/{location-ec1grn59.js → repository-ec1grn59.js} +0 -0
- /package/dist/chunks/{location-eh3zwz77.js → repository-eh3zwz77.js} +0 -0
- /package/dist/chunks/{location-emrn6kk6.js → repository-emrn6kk6.js} +0 -0
- /package/dist/chunks/{location-f0mxakyp.js → repository-f0mxakyp.js} +0 -0
- /package/dist/chunks/{location-f6n9ztr4.js → repository-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{location-faypxj3z.js → repository-faypxj3z.js} +0 -0
- /package/dist/chunks/{location-fd410y7t.js → repository-fd410y7t.js} +0 -0
- /package/dist/chunks/{location-fxgpk5d8.js → repository-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{location-g4wezp1m.js → repository-g4wezp1m.js} +0 -0
- /package/dist/chunks/{location-g86h250q.js → repository-g86h250q.js} +0 -0
- /package/dist/chunks/{location-gebd4c9n.js → repository-gebd4c9n.js} +0 -0
- /package/dist/chunks/{location-gftt206x.js → repository-gftt206x.js} +0 -0
- /package/dist/chunks/{location-hjbc5kem.js → repository-hjbc5kem.js} +0 -0
- /package/dist/chunks/{location-hk9envan.js → repository-hk9envan.js} +0 -0
- /package/dist/chunks/{location-hrnqkpcd.js → repository-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{location-j2ntwpah.js → repository-j2ntwpah.js} +0 -0
- /package/dist/chunks/{location-j5zkgpj8.js → repository-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{location-j935v87r.js → repository-j935v87r.js} +0 -0
- /package/dist/chunks/{location-jr7sbwjy.js → repository-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{location-jwfs4k6c.js → repository-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{location-jzg6c2d5.js → repository-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{location-mp448xyj.js → repository-mp448xyj.js} +0 -0
- /package/dist/chunks/{location-msx8hqn2.js → repository-msx8hqn2.js} +0 -0
- /package/dist/chunks/{location-n05xt0ee.js → repository-n05xt0ee.js} +0 -0
- /package/dist/chunks/{location-n3j8tn72.js → repository-n3j8tn72.js} +0 -0
- /package/dist/chunks/{location-njntx4h6.js → repository-njntx4h6.js} +0 -0
- /package/dist/chunks/{location-q3sfg36h.js → repository-q3sfg36h.js} +0 -0
- /package/dist/chunks/{location-q74kybfr.js → repository-q74kybfr.js} +0 -0
- /package/dist/chunks/{location-qaymkmh1.js → repository-qaymkmh1.js} +0 -0
- /package/dist/chunks/{location-qb87gjwd.js → repository-qb87gjwd.js} +0 -0
- /package/dist/chunks/{location-qfa1cgps.js → repository-qfa1cgps.js} +0 -0
- /package/dist/chunks/{location-qrg20bc0.js → repository-qrg20bc0.js} +0 -0
- /package/dist/chunks/{location-rcb2kzg1.js → repository-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{location-sdp7kfr6.js → repository-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{location-sk3qaz4a.js → repository-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{location-ssg3fenm.js → repository-ssg3fenm.js} +0 -0
- /package/dist/chunks/{location-twg0f83k.js → repository-twg0f83k.js} +0 -0
- /package/dist/chunks/{location-w803qqfp.js → repository-w803qqfp.js} +0 -0
- /package/dist/chunks/{location-wer8tq1h.js → repository-wer8tq1h.js} +0 -0
- /package/dist/chunks/{location-wtztk69x.js → repository-wtztk69x.js} +0 -0
- /package/dist/chunks/{location-x0ckcb58.js → repository-x0ckcb58.js} +0 -0
- /package/dist/chunks/{location-x61499pn.js → repository-x61499pn.js} +0 -0
- /package/dist/chunks/{location-y44na4kk.js → repository-y44na4kk.js} +0 -0
- /package/dist/chunks/{location-y8cydn3q.js → repository-y8cydn3q.js} +0 -0
- /package/dist/chunks/{location-y8f7s663.js → repository-y8f7s663.js} +0 -0
- /package/dist/chunks/{location-ygaqb7jw.js → repository-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{location-ym463w8f.js → repository-ym463w8f.js} +0 -0
- /package/dist/chunks/{location-z9919s4g.js → repository-z9919s4g.js} +0 -0
|
@@ -1,49 +1,49 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
5
|
Service80,
|
|
6
6
|
node85
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-b9jb5emj.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-h31ehzq9.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
} from "./
|
|
13
|
+
Service78,
|
|
14
|
+
node83
|
|
15
|
+
} from "./repository-kt5w8vxh.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID18,
|
|
18
18
|
Current3,
|
|
19
|
-
|
|
19
|
+
Info33,
|
|
20
20
|
UpdateInput4,
|
|
21
|
-
|
|
21
|
+
Event20,
|
|
22
22
|
Vcs3
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-81swgkk7.js";
|
|
24
24
|
import {
|
|
25
25
|
ProjectTable2,
|
|
26
26
|
upsertProject2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-8p4f9s12.js";
|
|
28
28
|
import {
|
|
29
29
|
WorktreeTable2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./repository-cfpkc3c9.js";
|
|
31
31
|
import {
|
|
32
32
|
__export
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./repository-9rqn6x4v.js";
|
|
34
34
|
|
|
35
35
|
// src/project.ts
|
|
36
36
|
var exports_project = {};
|
|
37
37
|
__export(exports_project, {
|
|
38
38
|
Current: () => Current2,
|
|
39
|
-
ID: () =>
|
|
40
|
-
Info: () =>
|
|
41
|
-
NotFoundError: () =>
|
|
39
|
+
ID: () => ID17,
|
|
40
|
+
Info: () => Info32,
|
|
41
|
+
NotFoundError: () => NotFoundError10,
|
|
42
42
|
Project: () => exports_project,
|
|
43
|
-
Service: () =>
|
|
43
|
+
Service: () => Service77,
|
|
44
44
|
UpdateInput: () => UpdateInput3,
|
|
45
45
|
Vcs: () => Vcs2,
|
|
46
|
-
node: () =>
|
|
46
|
+
node: () => node82,
|
|
47
47
|
root: () => root2
|
|
48
48
|
});
|
|
49
49
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
@@ -55,14 +55,14 @@ import { FSUtil } from "@opencode/util/fs-util";
|
|
|
55
55
|
import { AppProcess } from "@opencode/util/process";
|
|
56
56
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
57
57
|
import { Hash } from "@opencode/util/hash";
|
|
58
|
-
var
|
|
58
|
+
var ID17 = ID18;
|
|
59
59
|
var Vcs2 = Vcs3;
|
|
60
60
|
var Current2 = Current3;
|
|
61
|
-
var
|
|
61
|
+
var Info32 = Info33;
|
|
62
62
|
var UpdateInput3 = UpdateInput4;
|
|
63
63
|
|
|
64
|
-
class
|
|
65
|
-
projectID:
|
|
64
|
+
class NotFoundError10 extends Schema.TaggedError()("Project.NotFoundError", {
|
|
65
|
+
projectID: ID17
|
|
66
66
|
}) {
|
|
67
67
|
}
|
|
68
68
|
var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", ".hg"]) {
|
|
@@ -71,7 +71,7 @@ var root2 = Effect.fn("Project.root")(function* (fs, input, markers = [".git", "
|
|
|
71
71
|
}));
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service77 extends Context.Service()("@opencode/Project") {
|
|
75
75
|
}
|
|
76
76
|
function fromRow(row) {
|
|
77
77
|
const icon = row.icon_url || row.icon_url_override || row.icon_color ? {
|
|
@@ -94,9 +94,9 @@ function fromRow(row) {
|
|
|
94
94
|
sandboxes: row.sandboxes
|
|
95
95
|
};
|
|
96
96
|
}
|
|
97
|
-
var layer = Layer.effect(
|
|
97
|
+
var layer = Layer.effect(Service77, Effect.gen(function* () {
|
|
98
98
|
const fs = yield* FSUtil.Service;
|
|
99
|
-
const git = yield*
|
|
99
|
+
const git = yield* Service78;
|
|
100
100
|
const proc = yield* AppProcess.Service;
|
|
101
101
|
const bus = yield* Service79;
|
|
102
102
|
const db = (yield* Service80).db;
|
|
@@ -107,7 +107,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
107
107
|
if (previous && previous.canonical !== project.canonical && !(yield* fs.exists(previous.canonical).pipe(Effect.orElseSucceed(() => true)))) {
|
|
108
108
|
const row = yield* db.update(ProjectTable2).set({ worktree: project.canonical }).where(eq(ProjectTable2.id, project.id)).returning().get().pipe(Effect.orDie);
|
|
109
109
|
if (row)
|
|
110
|
-
yield* bus.publish(
|
|
110
|
+
yield* bus.publish(Event20.Updated, fromRow(row));
|
|
111
111
|
}
|
|
112
112
|
if (!project.vcs)
|
|
113
113
|
return project;
|
|
@@ -144,7 +144,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
144
144
|
yield* bus.publish(Worktree.Event.Resolved, {
|
|
145
145
|
projectID: item.projectID,
|
|
146
146
|
directory: item.directory,
|
|
147
|
-
previous: project.previous ??
|
|
147
|
+
previous: project.previous ?? ID17.global,
|
|
148
148
|
...adopted.length ? { adopted: adopted.map((candidate) => candidate.id) } : {}
|
|
149
149
|
}, {
|
|
150
150
|
commit: () => db.insert(WorktreeTable2).values({ project_id: item.projectID, directory: item.directory, strategy: item.strategy }).onConflictDoNothing().run().pipe(Effect.orDie, Effect.asVoid)
|
|
@@ -167,13 +167,13 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
167
167
|
time_updated: Date.now()
|
|
168
168
|
}).where(eq(ProjectTable2.id, input.projectID)).returning().get().pipe(Effect.orDie);
|
|
169
169
|
if (!row)
|
|
170
|
-
return yield* new
|
|
170
|
+
return yield* new NotFoundError10({ projectID: input.projectID });
|
|
171
171
|
const project = fromRow(row);
|
|
172
|
-
yield* bus.publish(
|
|
172
|
+
yield* bus.publish(Event20.Updated, project);
|
|
173
173
|
return project;
|
|
174
174
|
});
|
|
175
175
|
const cached = Effect.fnUntraced(function* (dir) {
|
|
176
|
-
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ?
|
|
176
|
+
return yield* fs.readFileString(path.join(dir, "opencode")).pipe(Effect.map((value) => value.trim()), Effect.map((value) => value ? ID17.make(value) : undefined), Effect.orElseSucceed(() => {
|
|
177
177
|
return;
|
|
178
178
|
}));
|
|
179
179
|
});
|
|
@@ -184,7 +184,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
184
184
|
const normalized = url(origin);
|
|
185
185
|
if (!normalized)
|
|
186
186
|
return;
|
|
187
|
-
return
|
|
187
|
+
return ID17.make(Hash.fast(`git-remote:${normalized}`));
|
|
188
188
|
});
|
|
189
189
|
function url(input) {
|
|
190
190
|
const value = input.trim();
|
|
@@ -209,7 +209,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
209
209
|
}
|
|
210
210
|
const rootCommit = Effect.fnUntraced(function* (repo) {
|
|
211
211
|
const root = (yield* git.history.rootCommits(repo))[0];
|
|
212
|
-
return root ?
|
|
212
|
+
return root ? ID17.make(root) : undefined;
|
|
213
213
|
});
|
|
214
214
|
const hgRoot = Effect.fnUntraced(function* (worktree) {
|
|
215
215
|
const result = yield* proc.run(ChildProcess.make("hg", ["log", "-r", "roots(all())", "-T", `{node}
|
|
@@ -225,7 +225,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
225
225
|
return;
|
|
226
226
|
const node = result.stdout.toString("utf8").split(`
|
|
227
227
|
`).map((item) => item.trim()).filter(Boolean).toSorted()[0];
|
|
228
|
-
return node ?
|
|
228
|
+
return node ? ID17.make(node) : undefined;
|
|
229
229
|
});
|
|
230
230
|
const hgDiscover = Effect.fnUntraced(function* (dotHg) {
|
|
231
231
|
const worktree = AbsolutePath2.make(path.dirname(dotHg));
|
|
@@ -234,7 +234,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
234
234
|
const id = previous ?? (yield* hgRoot(worktree));
|
|
235
235
|
return {
|
|
236
236
|
previous,
|
|
237
|
-
id: id ??
|
|
237
|
+
id: id ?? ID17.global,
|
|
238
238
|
directory: worktree,
|
|
239
239
|
vcs: { type: "hg", store }
|
|
240
240
|
};
|
|
@@ -251,7 +251,7 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
251
251
|
const canonical = repo.gitDirectory === repo.commonDirectory ? repo.worktree : yield* git.worktree.list(repo).pipe(Effect.map((items) => items.find((item) => item.kind === "main")?.directory ?? repo.worktree), Effect.orElseSucceed(() => repo.worktree));
|
|
252
252
|
return yield* persist({
|
|
253
253
|
previous,
|
|
254
|
-
id: id ??
|
|
254
|
+
id: id ?? ID17.global,
|
|
255
255
|
directory: repo.worktree,
|
|
256
256
|
canonical,
|
|
257
257
|
vcs: { type: "git", store: repo.commonDirectory }
|
|
@@ -265,18 +265,18 @@ var layer = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
265
265
|
});
|
|
266
266
|
}
|
|
267
267
|
return yield* persist({
|
|
268
|
-
id:
|
|
268
|
+
id: ID17.make(Hash.fast(`directory:${directory}`)),
|
|
269
269
|
directory,
|
|
270
270
|
canonical: directory,
|
|
271
271
|
vcs: undefined
|
|
272
272
|
});
|
|
273
273
|
});
|
|
274
|
-
return
|
|
274
|
+
return Service77.of({ list, update, resolve });
|
|
275
275
|
}));
|
|
276
|
-
var
|
|
277
|
-
service:
|
|
276
|
+
var node82 = makeGlobalNode({
|
|
277
|
+
service: Service77,
|
|
278
278
|
layer,
|
|
279
|
-
deps: [node84, node85, FSUtil.node,
|
|
279
|
+
deps: [node84, node85, FSUtil.node, node83, AppProcess.node]
|
|
280
280
|
});
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID17, Vcs2, Current2, Info32, UpdateInput3, NotFoundError10, root2, Service77, node82, exports_project };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service43
|
|
3
|
+
} from "./repository-4h9e19ph.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/mcp/stdio.ts
|
|
9
9
|
var exports_stdio = {};
|
|
@@ -19,7 +19,7 @@ var FORCE_KILL_AFTER = Duration.seconds(2);
|
|
|
19
19
|
var OUTGOING_CAPACITY = 64;
|
|
20
20
|
var MAX_FRAME_BYTES = 16 * 1024 * 1024;
|
|
21
21
|
var make2 = Effect.fnUntraced(function* (options) {
|
|
22
|
-
const environment = yield*
|
|
22
|
+
const environment = yield* Service43;
|
|
23
23
|
const scope = yield* Effect.scope;
|
|
24
24
|
const outgoing = yield* Queue.bounded(OUTGOING_CAPACITY);
|
|
25
25
|
const buffer = new ReadBuffer;
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-a7qvktew.js";
|
|
4
4
|
import {
|
|
5
5
|
Service79
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./repository-h31ehzq9.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./repository-fm1pn3h6.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID7,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-z7dhvtda.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
ID15
|
|
17
|
+
} from "./repository-2d6j2h4j.js";
|
|
18
18
|
import {
|
|
19
19
|
Family2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-80e0yyk8.js";
|
|
21
21
|
import {
|
|
22
22
|
bootstrap2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./repository-pjvnvgmy.js";
|
|
24
24
|
|
|
25
25
|
// src/plugin/provider/digitalocean.ts
|
|
26
26
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
27
27
|
import { Clock, Deferred, Effect, Option, Schedule, Schema, Semaphore, Stream } from "effect";
|
|
28
28
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
29
|
-
var providerID =
|
|
30
|
-
var integrationID =
|
|
29
|
+
var providerID = ID15.make("digitalocean");
|
|
30
|
+
var integrationID = ID7.make("digitalocean");
|
|
31
31
|
var methodID = MethodID2.make("browser");
|
|
32
32
|
var clientID = "b1a6c5158156caac821fd1b30253ca8acb52454a48fa744420e41889cb589f82";
|
|
33
33
|
var authorizeEndpoint = "https://cloud.digitalocean.com/v1/oauth/authorize";
|
|
@@ -158,7 +158,7 @@ var DigitalOceanPlugin2 = define({
|
|
|
158
158
|
}
|
|
159
159
|
});
|
|
160
160
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.catalog.reload())));
|
|
161
|
-
yield* bus.subscribe(
|
|
161
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
162
162
|
yield* refresh().pipe(Effect.repeat(Schedule.spaced("5 minutes")), Effect.forkScoped);
|
|
163
163
|
})
|
|
164
164
|
});
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service79,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-h31ehzq9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service75,
|
|
7
|
+
node80
|
|
8
|
+
} from "./repository-2f140qw9.js";
|
|
9
9
|
import {
|
|
10
10
|
create3
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-kg06axw8.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/websearch.ts
|
|
17
17
|
var exports_websearch3 = {};
|
|
18
18
|
__export(exports_websearch3, {
|
|
19
19
|
DisabledError: () => DisabledError2,
|
|
20
|
-
Event: () =>
|
|
21
|
-
ID: () =>
|
|
22
|
-
Input: () =>
|
|
20
|
+
Event: () => Event14,
|
|
21
|
+
ID: () => ID9,
|
|
22
|
+
Input: () => Input14,
|
|
23
23
|
Provider: () => Provider2,
|
|
24
24
|
ProviderKey: () => ProviderKey2,
|
|
25
25
|
ProviderNotFoundError: () => ProviderNotFoundError2,
|
|
@@ -28,29 +28,29 @@ __export(exports_websearch3, {
|
|
|
28
28
|
Response: () => Response2,
|
|
29
29
|
Result: () => Result2,
|
|
30
30
|
Selection: () => Selection2,
|
|
31
|
-
Service: () =>
|
|
31
|
+
Service: () => Service65,
|
|
32
32
|
WebSearch: () => exports_websearch3,
|
|
33
|
-
node: () =>
|
|
33
|
+
node: () => node70
|
|
34
34
|
});
|
|
35
35
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
36
36
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
37
37
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
38
38
|
import { HttpClientError } from "effect/unstable/http";
|
|
39
39
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
40
|
-
import { Event as
|
|
41
|
-
var
|
|
40
|
+
import { Event as Event14 } from "@opencode/schema/websearch";
|
|
41
|
+
var ID9 = WebSearch.ID;
|
|
42
42
|
var Provider2 = WebSearch.Provider;
|
|
43
|
-
var
|
|
43
|
+
var Input14 = WebSearch.Input;
|
|
44
44
|
var Result2 = WebSearch.Result;
|
|
45
45
|
var Response2 = WebSearch.Response;
|
|
46
46
|
var ProviderKey2 = "websearch:provider";
|
|
47
|
-
var Selection2 = Schema.Union([
|
|
47
|
+
var Selection2 = Schema.Union([ID9, Schema.Literal("random"), Schema.Literal(false)]);
|
|
48
48
|
|
|
49
49
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
50
50
|
}
|
|
51
51
|
|
|
52
52
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
53
|
-
providerID:
|
|
53
|
+
providerID: ID9
|
|
54
54
|
}) {
|
|
55
55
|
}
|
|
56
56
|
|
|
@@ -58,16 +58,16 @@ class DisabledError2 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
58
58
|
}
|
|
59
59
|
|
|
60
60
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
61
|
-
providerID:
|
|
61
|
+
providerID: ID9,
|
|
62
62
|
cause: Schema.Defect()
|
|
63
63
|
}) {
|
|
64
64
|
}
|
|
65
65
|
|
|
66
|
-
class
|
|
66
|
+
class Service65 extends Context.Service()("@opencode/WebSearch") {
|
|
67
67
|
}
|
|
68
|
-
var layer = Layer.effect(
|
|
68
|
+
var layer = Layer.effect(Service65, Effect.gen(function* () {
|
|
69
69
|
const bus = yield* Service79;
|
|
70
|
-
const kv = yield*
|
|
70
|
+
const kv = yield* Service75;
|
|
71
71
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
72
72
|
const cooldowns = new Map;
|
|
73
73
|
const preferred = new Map;
|
|
@@ -124,7 +124,7 @@ var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
|
124
124
|
}
|
|
125
125
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
126
126
|
});
|
|
127
|
-
return
|
|
127
|
+
return Service65.of({
|
|
128
128
|
transform: state.transform,
|
|
129
129
|
reload: state.reload,
|
|
130
130
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -184,10 +184,10 @@ function cooldownMillis(value, now) {
|
|
|
184
184
|
const date = Date.parse(value);
|
|
185
185
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
186
186
|
}
|
|
187
|
-
var
|
|
188
|
-
service:
|
|
187
|
+
var node70 = makeLocationNode({
|
|
188
|
+
service: Service65,
|
|
189
189
|
layer,
|
|
190
|
-
deps: [node84,
|
|
190
|
+
deps: [node84, node80]
|
|
191
191
|
});
|
|
192
192
|
|
|
193
|
-
export {
|
|
193
|
+
export { ID9, Provider2, Input14, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError2, RequestError2, Service65, node70, exports_websearch3, Event14 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./repository-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
5
|
+
Info8,
|
|
6
|
+
ID5,
|
|
7
7
|
Name2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./repository-zpchy40n.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
10
|
+
Service71
|
|
11
|
+
} from "./repository-v3qpsh98.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/plugin/skill.ts
|
|
17
|
-
var
|
|
18
|
-
__export(
|
|
17
|
+
var exports_skill2 = {};
|
|
18
|
+
__export(exports_skill2, {
|
|
19
19
|
OpencodeContent: () => OpencodeContent2,
|
|
20
20
|
OpencodeDescription: () => OpencodeDescription2,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin29,
|
|
22
22
|
ReportContent: () => ReportContent2,
|
|
23
|
-
SkillPlugin: () =>
|
|
23
|
+
SkillPlugin: () => exports_skill2
|
|
24
24
|
});
|
|
25
25
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
26
26
|
import { Effect } from "effect";
|
|
@@ -422,20 +422,20 @@ var OpencodeContent2 = opencode_default;
|
|
|
422
422
|
var ReportContent2 = report_default;
|
|
423
423
|
var OpencodeDescription2 = "Use this skill for any question about OpenCode itself, including how OpenCode works, using or configuring it, migrating from V1 to V2, troubleshooting it, developing plugins or integrations, using the OpenCode SDK, clients, server, or API, and contributing to the OpenCode codebase. Also use it for OpenCode agents, commands, skills, tools, permissions, MCP servers, providers, models, themes, keybinds, formatters, the CLI, TUI, desktop app, and web app.";
|
|
424
424
|
var REPORT_DESCRIPTION = "Use when the user wants to report an opencode issue or bug. Collect standard diagnostics, add user-specific reproduction context, and publish the issue with GitHub CLI.";
|
|
425
|
-
var
|
|
425
|
+
var Plugin29 = define({
|
|
426
426
|
id: "opencode.skill",
|
|
427
427
|
effect: Effect.fn(function* (ctx) {
|
|
428
428
|
const reportContent = yield* reportContentWithDiagnostics(ctx.app);
|
|
429
429
|
yield* ctx.skill.transform((editor) => {
|
|
430
|
-
editor.add(
|
|
431
|
-
id:
|
|
430
|
+
editor.add(Info8.make({
|
|
431
|
+
id: ID5.make("opencode"),
|
|
432
432
|
name: Name2.make("OpenCode"),
|
|
433
433
|
description: OpencodeDescription2,
|
|
434
434
|
location: AbsolutePath2.make("/builtin/opencode.md"),
|
|
435
435
|
content: OpencodeContent2
|
|
436
436
|
}));
|
|
437
|
-
editor.add(
|
|
438
|
-
id:
|
|
437
|
+
editor.add(Info8.make({
|
|
438
|
+
id: ID5.make("report"),
|
|
439
439
|
name: Name2.make("Report"),
|
|
440
440
|
description: REPORT_DESCRIPTION,
|
|
441
441
|
slash: true,
|
|
@@ -464,7 +464,7 @@ var reportContentWithDiagnostics = Effect.fn("SkillPlugin.reportContentWithDiagn
|
|
|
464
464
|
`);
|
|
465
465
|
});
|
|
466
466
|
var configuredPlugins = Effect.fn("SkillPlugin.configuredPlugins")(function* () {
|
|
467
|
-
const config = yield*
|
|
467
|
+
const config = yield* Service71;
|
|
468
468
|
return (yield* config.entries()).filter((entry) => entry.type === "document").flatMap((entry) => entry.info.plugins ?? []).map((entry) => typeof entry === "string" ? entry : entry.package).toSorted();
|
|
469
469
|
});
|
|
470
470
|
function terminal() {
|
|
@@ -478,4 +478,4 @@ function shell() {
|
|
|
478
478
|
return process.env.SHELL ?? process.env.ComSpec ?? process.env.COMSPEC ?? "Unavailable: shell environment variable is not set";
|
|
479
479
|
}
|
|
480
480
|
|
|
481
|
-
export { OpencodeContent2, ReportContent2, OpencodeDescription2,
|
|
481
|
+
export { OpencodeContent2, ReportContent2, OpencodeDescription2, Plugin29, exports_skill2 };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node85
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./repository-b9jb5emj.js";
|
|
5
5
|
import {
|
|
6
6
|
makeUnsafe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./repository-dpkg50ah.js";
|
|
8
8
|
import {
|
|
9
9
|
Service79,
|
|
10
10
|
node84
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./repository-h31ehzq9.js";
|
|
12
12
|
import {
|
|
13
13
|
SessionEvent2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./repository-ec1grn59.js";
|
|
15
15
|
import {
|
|
16
16
|
SessionMessage2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./repository-gftt206x.js";
|
|
18
18
|
import {
|
|
19
19
|
SessionSchema2
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./repository-dv250zvr.js";
|
|
21
21
|
import {
|
|
22
22
|
SessionMessageTable2,
|
|
23
23
|
SessionInboxTable2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./repository-a1bz86dw.js";
|
|
25
25
|
import {
|
|
26
26
|
__export
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./repository-9rqn6x4v.js";
|
|
28
28
|
|
|
29
29
|
// src/session/inbox.ts
|
|
30
30
|
var exports_inbox = {};
|
|
@@ -32,12 +32,12 @@ __export(exports_inbox, {
|
|
|
32
32
|
Compaction: () => Compaction2,
|
|
33
33
|
CompactionPayload: () => CompactionPayload2,
|
|
34
34
|
Delivery: () => Delivery2,
|
|
35
|
-
Info: () =>
|
|
35
|
+
Info: () => Info11,
|
|
36
36
|
Item: () => Item2,
|
|
37
37
|
LifecycleConflict: () => LifecycleConflict2,
|
|
38
38
|
Move: () => Move2,
|
|
39
39
|
MovePayload: () => MovePayload2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service57,
|
|
41
41
|
SessionInbox: () => exports_inbox,
|
|
42
42
|
Synthetic: () => Synthetic2,
|
|
43
43
|
SyntheticPayload: () => SyntheticPayload2,
|
|
@@ -45,12 +45,12 @@ __export(exports_inbox, {
|
|
|
45
45
|
UserPayload: () => UserPayload2,
|
|
46
46
|
find: () => find2,
|
|
47
47
|
has: () => has2,
|
|
48
|
-
layer: () =>
|
|
49
|
-
list: () =>
|
|
50
|
-
make: () =>
|
|
48
|
+
layer: () => layer21,
|
|
49
|
+
list: () => list4,
|
|
50
|
+
make: () => make19,
|
|
51
51
|
moveIDs: () => moveIDs2,
|
|
52
52
|
nextPromotable: () => nextPromotable2,
|
|
53
|
-
node: () =>
|
|
53
|
+
node: () => node62,
|
|
54
54
|
projectAdmitted: () => projectAdmitted2,
|
|
55
55
|
projectCancelled: () => projectCancelled2,
|
|
56
56
|
projectDelivered: () => projectDelivered2,
|
|
@@ -65,7 +65,7 @@ import {
|
|
|
65
65
|
Compaction as Compaction2,
|
|
66
66
|
CompactionPayload as CompactionPayload2,
|
|
67
67
|
Delivery as Delivery2,
|
|
68
|
-
Info as
|
|
68
|
+
Info as Info11,
|
|
69
69
|
Item as Item2,
|
|
70
70
|
Move as Move2,
|
|
71
71
|
MovePayload as MovePayload2,
|
|
@@ -151,9 +151,9 @@ var promotedFromMessage = Effect.fn("SessionInbox.promotedFromMessage")(function
|
|
|
151
151
|
return yield* new LifecycleConflict2({ id });
|
|
152
152
|
});
|
|
153
153
|
|
|
154
|
-
class
|
|
154
|
+
class Service57 extends Context.Service()("@opencode/SessionInbox") {
|
|
155
155
|
}
|
|
156
|
-
var
|
|
156
|
+
var make19 = Effect.fn("SessionInbox.make")(function* () {
|
|
157
157
|
const database = yield* Service80;
|
|
158
158
|
const db = database.db;
|
|
159
159
|
const bus = yield* Service79;
|
|
@@ -173,7 +173,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
173
173
|
inboxID: request.id,
|
|
174
174
|
sessionID: request.sessionID,
|
|
175
175
|
item: request.item
|
|
176
|
-
}).pipe(Effect.map((event) =>
|
|
176
|
+
}).pipe(Effect.map((event) => Info11.make({
|
|
177
177
|
id: request.id,
|
|
178
178
|
sessionID: request.sessionID,
|
|
179
179
|
timeCreated: DateTime.makeUnsafe(event.created),
|
|
@@ -193,7 +193,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
193
193
|
}
|
|
194
194
|
if (yield* promotedFromMessage(db, input.sessionID, input.id, input.delivery))
|
|
195
195
|
return yield* new LifecycleConflict2({ id: input.id });
|
|
196
|
-
const pending = (yield*
|
|
196
|
+
const pending = (yield* list4(db, input.sessionID)).find((item) => item.type === "compaction");
|
|
197
197
|
if (pending)
|
|
198
198
|
return pending;
|
|
199
199
|
return yield* admit({
|
|
@@ -218,7 +218,7 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
218
218
|
delivery: "queue"
|
|
219
219
|
})));
|
|
220
220
|
return {
|
|
221
|
-
list: (sessionID) =>
|
|
221
|
+
list: (sessionID) => list4(db, sessionID),
|
|
222
222
|
reconcile,
|
|
223
223
|
admit,
|
|
224
224
|
admitCompaction,
|
|
@@ -227,8 +227,8 @@ var make18 = Effect.fn("SessionInbox.make")(function* () {
|
|
|
227
227
|
queue
|
|
228
228
|
};
|
|
229
229
|
});
|
|
230
|
-
var
|
|
231
|
-
var
|
|
230
|
+
var layer21 = Layer.effect(Service57, make19());
|
|
231
|
+
var node62 = makeGlobalNode({ service: Service57, layer: layer21, deps: [node85, node84] });
|
|
232
232
|
var projectAdmitted2 = Effect.fn("SessionInbox.projectAdmitted")(function* (db, request) {
|
|
233
233
|
const message = yield* db.select({ id: SessionMessageTable2.id }).from(SessionMessageTable2).where(eq(SessionMessageTable2.id, request.id)).get().pipe(Effect.orDie);
|
|
234
234
|
if (message !== undefined)
|
|
@@ -266,7 +266,7 @@ var projectDeliveryChanged2 = Effect.fn("SessionInbox.projectDeliveryChanged")((
|
|
|
266
266
|
from: input.delivery === "steer" ? "queue" : "steer",
|
|
267
267
|
to: input.delivery
|
|
268
268
|
}));
|
|
269
|
-
var
|
|
269
|
+
var list4 = Effect.fn("SessionInbox.list")(function* (db, sessionID) {
|
|
270
270
|
const rows = yield* db.select().from(SessionInboxTable2).where(eq(SessionInboxTable2.session_id, sessionID)).orderBy(asc(SessionInboxTable2.enqueued_seq)).all().pipe(Effect.orDie);
|
|
271
271
|
return rows.map(fromRow);
|
|
272
272
|
});
|
|
@@ -326,4 +326,4 @@ var pendingSteers = (db, sessionID) => db.select().from(SessionInboxTable2).wher
|
|
|
326
326
|
return rows;
|
|
327
327
|
}));
|
|
328
328
|
|
|
329
|
-
export { Compaction2, CompactionPayload2, Delivery2,
|
|
329
|
+
export { Compaction2, CompactionPayload2, Delivery2, Info11, Item2, Move2, MovePayload2, Synthetic2, SyntheticPayload2, User2, UserPayload2, serialized2, LifecycleConflict2, find2, Service57, make19, layer21, node62, projectAdmitted2, projectDelivered2, projectCancelled2, projectDeliveryChanged2, list4, moveIDs2, nextPromotable2, has2, promote2, exports_inbox };
|