@opencode/core 0.0.0-dev-19501 → 0.0.0-dev-19503
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 +78 -78
- package/dist/aisdk-native.js +2 -2
- package/dist/aisdk.js +6 -6
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/catalog.js +84 -84
- package/dist/chunks/{job-r863235s.js → file-0gjrpm4q.js} +12 -12
- package/dist/chunks/{job-2j14t725.js → file-0gw11f53.js} +21 -21
- package/dist/chunks/{job-qk5tp4kc.js → file-0p2zh9q8.js} +34 -34
- package/dist/chunks/{job-jwx4y25k.js → file-0p4j4cv0.js} +9 -9
- package/dist/chunks/{job-0paq2nw3.js → file-0paq2nw3.js} +1 -1
- package/dist/chunks/{job-8tq8zswb.js → file-0pnmq97r.js} +30 -30
- package/dist/chunks/{job-0q0f95c6.js → file-0q0f95c6.js} +1 -1
- package/dist/chunks/{job-223d1qz3.js → file-0x6jhfyd.js} +32 -32
- package/dist/chunks/{job-eza9v3bf.js → file-14vdq9mv.js} +18 -18
- package/dist/chunks/{job-50bdtw13.js → file-1ac4bme3.js} +10 -10
- package/dist/chunks/{job-1dazxqgg.js → file-1dazxqgg.js} +2 -2
- package/dist/chunks/{job-wh2dv1v9.js → file-1j7qs22q.js} +32 -32
- package/dist/chunks/{job-05znt9a9.js → file-1r0yq1wn.js} +15 -15
- package/dist/chunks/{job-fegsmc0t.js → file-1sxt24ag.js} +22 -22
- package/dist/chunks/{job-21r38tys.js → file-21r38tys.js} +1 -1
- package/dist/chunks/{job-89yh578v.js → file-24a117tm.js} +9 -9
- package/dist/chunks/{job-z63w68vq.js → file-29x78va6.js} +6 -6
- package/dist/chunks/{job-2a5m3afh.js → file-2a5m3afh.js} +1 -1
- package/dist/chunks/{job-4hc1kxpa.js → file-2hpfm54d.js} +10 -10
- package/dist/chunks/{job-jc02vnth.js → file-2kpnaqjr.js} +21 -21
- package/dist/chunks/{job-p69wsv11.js → file-2n6t0d3f.js} +11 -11
- package/dist/chunks/{job-6ksr27c4.js → file-2nv7jv6x.js} +15 -15
- package/dist/chunks/{job-wvdszsq1.js → file-2rnktxfb.js} +36 -36
- package/dist/chunks/{job-njffw8q5.js → file-2t17ewj5.js} +12 -12
- package/dist/chunks/{job-z8pb3dnf.js → file-2ve45fd6.js} +5 -5
- package/dist/chunks/{job-g5bqepvr.js → file-2zpcf09p.js} +9 -9
- package/dist/chunks/{job-3fc6dm20.js → file-3fc6dm20.js} +1 -1
- package/dist/chunks/{job-gx6t3jfd.js → file-3fj0ehej.js} +43 -43
- package/dist/chunks/{job-3hepkmqq.js → file-3hepkmqq.js} +1 -1
- package/dist/chunks/{job-8xr8aj9a.js → file-3kff94q5.js} +3 -3
- package/dist/chunks/{job-w5rgr3ed.js → file-3ra6k2ma.js} +9 -9
- package/dist/chunks/{job-3smtnn6g.js → file-3smtnn6g.js} +1 -1
- package/dist/chunks/{job-9mrxmr8h.js → file-3tc3fw1n.js} +13 -13
- package/dist/chunks/{job-3tvqynh2.js → file-3tvqynh2.js} +1 -1
- package/dist/chunks/{job-tz2bjj40.js → file-3w2b2yj4.js} +5 -5
- package/dist/chunks/{job-377tdzm5.js → file-3yjg5mh2.js} +3 -3
- package/dist/chunks/{job-t7wpzaak.js → file-3yknbgq7.js} +21 -21
- package/dist/chunks/{job-62kn995j.js → file-3yycxr83.js} +13 -13
- package/dist/chunks/{job-mth96381.js → file-4786se8r.js} +1 -1
- package/dist/chunks/{job-nmbjd050.js → file-4d8pxj8c.js} +29 -29
- package/dist/chunks/{job-8awsthtr.js → file-4j7j5868.js} +5 -5
- package/dist/chunks/{job-qcqr6c42.js → file-4nwkg5vr.js} +4 -4
- package/dist/chunks/{job-efs7hy0y.js → file-4p8799rk.js} +11 -11
- package/dist/chunks/{job-e99y237x.js → file-4sv526vh.js} +11 -11
- package/dist/chunks/{job-39s66enp.js → file-4t8p017q.js} +13 -13
- package/dist/chunks/{job-0ajdgxne.js → file-4y66k410.js} +5 -5
- package/dist/chunks/{job-eg1ta683.js → file-4zj9va87.js} +21 -21
- package/dist/chunks/{job-1ygqh575.js → file-56gdpj1q.js} +9 -9
- package/dist/chunks/{job-5daktx2q.js → file-5daktx2q.js} +1 -1
- package/dist/chunks/{job-va3rkdfa.js → file-5dmv5s4a.js} +28 -28
- package/dist/chunks/{job-a28srp6z.js → file-5f2tz19k.js} +20 -20
- package/dist/chunks/{job-4yqpz7cw.js → file-5m8ed8y5.js} +22 -22
- package/dist/chunks/{job-5t3nmthw.js → file-5t3nmthw.js} +2 -2
- package/dist/chunks/{job-v5w9803s.js → file-5trk58xb.js} +8 -8
- package/dist/chunks/{job-4w1yen7k.js → file-631z4xzt.js} +33 -33
- package/dist/chunks/{job-669tq793.js → file-669tq793.js} +1 -1
- package/dist/chunks/{job-j9eftr55.js → file-6djd1gzm.js} +6 -6
- package/dist/chunks/{job-arjbbgf8.js → file-6fex6vem.js} +6 -6
- package/dist/chunks/{job-6h73sxmp.js → file-6h73sxmp.js} +1 -1
- package/dist/chunks/{job-gsx0ryk4.js → file-6jnybvqn.js} +9 -9
- package/dist/chunks/{job-qjgw82pv.js → file-6jyhw6dt.js} +21 -21
- package/dist/chunks/{job-6msgmcgs.js → file-6msgmcgs.js} +1 -1
- package/dist/chunks/{job-71q4at8m.js → file-71q4at8m.js} +1 -1
- package/dist/chunks/{job-2wyjv582.js → file-737983wq.js} +4 -4
- package/dist/chunks/{job-cfx5nnhv.js → file-79xwf2jn.js} +15 -15
- package/dist/chunks/{job-7bmhse3q.js → file-7bmhse3q.js} +1 -1
- package/dist/chunks/{job-0jwsre1p.js → file-7dqw4kz8.js} +5 -5
- package/dist/chunks/{job-rhx683sy.js → file-7ebn0nc0.js} +6 -6
- package/dist/chunks/{job-5fesm737.js → file-7ek6x336.js} +165 -165
- package/dist/chunks/{job-n5pt8tbc.js → file-7hkvzewv.js} +13 -13
- package/dist/chunks/{job-zsh8a2sh.js → file-7j62yvdk.js} +21 -21
- package/dist/chunks/{job-483bcsj8.js → file-7r53ar6y.js} +9 -9
- package/dist/chunks/{job-ek00w5t7.js → file-7s83vr9a.js} +27 -27
- package/dist/chunks/{job-73tb2d7t.js → file-7yh4e7ss.js} +3 -3
- package/dist/chunks/{job-t3g6f9dq.js → file-7yzymgne.js} +17 -17
- package/dist/chunks/{job-81swgkk7.js → file-81swgkk7.js} +2 -2
- package/dist/chunks/{job-844ef7ks.js → file-844ef7ks.js} +1 -1
- package/dist/chunks/{job-ajchncqw.js → file-865r9qcv.js} +8 -8
- package/dist/chunks/{job-y8p3zjbc.js → file-87deq66t.js} +6 -6
- package/dist/chunks/{job-msq0jde0.js → file-88sz8qcd.js} +4 -4
- package/dist/chunks/{job-byn59v6m.js → file-8cbmhaq5.js} +1 -1
- package/dist/chunks/{job-e9gb6pdy.js → file-8cypfrbh.js} +6 -6
- package/dist/chunks/{job-8d7r5vzw.js → file-8d7r5vzw.js} +1 -1
- package/dist/chunks/{job-s673h22a.js → file-8n54f2ta.js} +18 -18
- package/dist/chunks/{job-dj2t23y0.js → file-8p4f9s12.js} +2 -2
- package/dist/chunks/{job-vm7fznsz.js → file-8trdseqr.js} +28 -28
- package/dist/chunks/{job-fdv30zvt.js → file-8x96bj0m.js} +4 -4
- package/dist/chunks/{job-xdw78xdg.js → file-91p1v22t.js} +8 -8
- package/dist/chunks/{job-jgd9689z.js → file-9524tstc.js} +6 -6
- package/dist/chunks/{job-ws5qfxv9.js → file-9bj2cvf7.js} +9 -9
- package/dist/chunks/{job-xs8d25ev.js → file-9fvpfb58.js} +11 -11
- package/dist/chunks/{job-vbj8td05.js → file-9gy04t1n.js} +52 -52
- package/dist/chunks/{job-09wpk6vq.js → file-9m3d1h1h.js} +4 -4
- package/dist/chunks/{job-4z62xtfw.js → file-9p11ca5c.js} +17 -17
- package/dist/chunks/{job-z9mc2c5r.js → file-9pgc3c9f.js} +17 -17
- package/dist/chunks/{job-5c4hm403.js → file-a1bz86dw.js} +3 -3
- package/dist/chunks/{job-aaet6srn.js → file-aaet6srn.js} +2 -2
- package/dist/chunks/{job-kb49dwdy.js → file-ah6b56rd.js} +9 -9
- package/dist/chunks/{job-ckw6gep2.js → file-akadabsh.js} +17 -17
- package/dist/chunks/{job-a8hcp5ng.js → file-aksfce1s.js} +14 -14
- package/dist/chunks/{job-0rkcyjmh.js → file-amkbtr58.js} +15 -15
- package/dist/chunks/{job-q2b1ymqp.js → file-an7cqtb7.js} +4 -4
- package/dist/chunks/{job-x09ggfgh.js → file-aq71ck84.js} +13 -13
- package/dist/chunks/{job-tm3xrft6.js → file-ax4359t5.js} +17 -17
- package/dist/chunks/{job-fe1tayzh.js → file-axvk3tbf.js} +20 -20
- package/dist/chunks/{job-p33ejz0k.js → file-b3wkxfg9.js} +1 -1
- package/dist/chunks/{job-jzy4mkh2.js → file-b4ssmz4r.js} +9 -9
- package/dist/chunks/{job-b6gygkdw.js → file-b6gygkdw.js} +2 -2
- package/dist/chunks/{job-6dpf0sr6.js → file-bd7brtc3.js} +11 -11
- package/dist/chunks/{job-w1ad28wa.js → file-bw0vgseb.js} +5 -5
- package/dist/chunks/{job-61mnds12.js → file-c4a2d4g2.js} +5 -5
- package/dist/chunks/{job-26x13ny0.js → file-c9n252bm.js} +5 -5
- package/dist/chunks/{job-qzb9gbxh.js → file-cf9snega.js} +30 -30
- package/dist/chunks/{job-m0jqrx5p.js → file-cfpkc3c9.js} +2 -2
- package/dist/chunks/{job-4jegdd7h.js → file-cn0yhb7k.js} +11 -11
- package/dist/chunks/{job-2ye9hrzq.js → file-cvfevwhc.js} +11 -11
- package/dist/chunks/{job-rs9dtcm6.js → file-cwq9bbm8.js} +25 -25
- package/dist/chunks/{job-jce26jfm.js → file-cyf7cx3n.js} +13 -13
- package/dist/chunks/{job-53d4v5pk.js → file-cza9j1er.js} +1 -1
- package/dist/chunks/{job-pe5bkq7z.js → file-d4jn0akt.js} +28 -28
- package/dist/chunks/{job-yxjbx3ws.js → file-d678zc2k.js} +18 -18
- package/dist/chunks/{job-s8afmmt2.js → file-da2mbxce.js} +17 -17
- package/dist/chunks/{job-9edb9jbp.js → file-dc8d22k9.js} +13 -13
- package/dist/chunks/{job-7msm4rwz.js → file-dcbb9xhy.js} +14 -14
- package/dist/chunks/{job-tpj9kemf.js → file-drjkjrg9.js} +6 -6
- package/dist/chunks/{job-xwdfg3dx.js → file-dw1fjyb0.js} +5 -5
- package/dist/chunks/{job-k070sa49.js → file-dxpt5v4a.js} +284 -284
- package/dist/chunks/{job-990ev2kv.js → file-e17bkqjz.js} +1 -1
- package/dist/chunks/{job-fqtw9snj.js → file-e3z6xmzm.js} +9 -9
- package/dist/chunks/{job-85wb28z4.js → file-ea0j55ct.js} +4 -4
- package/dist/chunks/{job-q1wsye3c.js → file-ea8nv0r7.js} +2 -2
- package/dist/chunks/{job-2evyaa68.js → file-ec8389mk.js} +4 -4
- package/dist/chunks/{job-wpqm8tgx.js → file-egqavg4q.js} +15 -15
- package/dist/chunks/{job-e23dc7d8.js → file-egqspz5t.js} +14 -14
- package/dist/chunks/{job-dhmh7aw6.js → file-embw8kgh.js} +4 -4
- package/dist/chunks/{job-6m8cgtnn.js → file-epq9ds0r.js} +41 -41
- package/dist/chunks/{job-etq0c3wd.js → file-etq0c3wd.js} +1 -1
- package/dist/chunks/{job-x3nm3630.js → file-f4d4r4a6.js} +16 -16
- package/dist/chunks/{job-hdnk95c8.js → file-f828m53h.js} +2 -2
- package/dist/chunks/{job-dw9ftjz0.js → file-f8vm562w.js} +5 -5
- package/dist/chunks/{job-39s00pmn.js → file-fbm4qtpf.js} +20 -20
- package/dist/chunks/{job-89wjbkgr.js → file-fcnjngqh.js} +27 -27
- package/dist/chunks/{job-57spzpgt.js → file-fepbzpny.js} +23 -23
- package/dist/chunks/{job-ebrpajgw.js → file-fschw3aw.js} +7 -7
- package/dist/chunks/{job-fxbjtjnd.js → file-fxbjtjnd.js} +1 -1
- package/dist/chunks/{job-dwv6k166.js → file-fxtthhfd.js} +26 -26
- package/dist/chunks/{job-4dmhzvqh.js → file-fzsrmebp.js} +24 -24
- package/dist/chunks/{job-vtzwx9w7.js → file-fzxbqhyn.js} +37 -37
- package/dist/chunks/{job-8ctqdr62.js → file-g0m6rrr1.js} +21 -21
- package/dist/chunks/{job-rasx6tva.js → file-g14zqp48.js} +6 -6
- package/dist/chunks/{job-fjmrr6sh.js → file-g3n6es57.js} +9 -9
- package/dist/chunks/{job-d4dr9rb7.js → file-g4adkwgc.js} +4 -4
- package/dist/chunks/{job-qjqwssjd.js → file-g6nh8byg.js} +7 -7
- package/dist/chunks/{job-0b3ppf0m.js → file-gbe8bvty.js} +6 -6
- package/dist/chunks/{job-gd4qta3r.js → file-gd4qta3r.js} +1 -1
- package/dist/chunks/{job-t0wy8e3x.js → file-gptjq5xf.js} +22 -22
- package/dist/chunks/{job-bra6p34v.js → file-gt8btckc.js} +32 -32
- package/dist/chunks/{job-gv6a8nnw.js → file-gv6a8nnw.js} +2 -2
- package/dist/chunks/{job-bscb95cy.js → file-gzbkpp9m.js} +4 -4
- package/dist/chunks/{job-h03wrkyp.js → file-h03wrkyp.js} +2 -2
- package/dist/chunks/{job-2d79k4yp.js → file-h591h6nq.js} +135 -135
- package/dist/chunks/{job-t96gcqea.js → file-h60zwq4m.js} +4 -4
- package/dist/chunks/{job-h6vf3j39.js → file-h6vf3j39.js} +1 -1
- package/dist/chunks/{job-a80mwyht.js → file-hbakxq5y.js} +17 -17
- package/dist/chunks/{job-ykw20yhg.js → file-hnjcq03z.js} +21 -21
- package/dist/chunks/{job-nep8tjkt.js → file-hp075dpy.js} +12 -12
- package/dist/chunks/{job-fgzdzk1h.js → file-hp277x20.js} +27 -27
- package/dist/chunks/{job-v8jfbz3g.js → file-hq8zt1th.js} +6 -6
- package/dist/chunks/file-ht5y0zrb.js +18 -0
- package/dist/chunks/{job-dfdvek0b.js → file-j3ktvrzf.js} +26 -26
- package/dist/chunks/{job-j56e64zr.js → file-j56e64zr.js} +1 -1
- package/dist/chunks/{job-bxw8ngxp.js → file-j6frhm8p.js} +5 -5
- package/dist/chunks/{job-c649dwfa.js → file-j7w4f3hr.js} +27 -27
- package/dist/chunks/{job-paphc93g.js → file-j935v87r.js} +2 -2
- package/dist/chunks/{job-61k5jphj.js → file-j9n5fxav.js} +9 -9
- package/dist/chunks/{job-w4dt659t.js → file-jeanpfns.js} +1 -1
- package/dist/chunks/{job-5cyrhyve.js → file-jfqp9qt8.js} +9 -9
- package/dist/chunks/{job-zc07dx4z.js → file-jjcqt8zt.js} +7 -7
- package/dist/chunks/{job-k5nz7jxc.js → file-jtq2znwy.js} +24 -24
- package/dist/chunks/{job-y71avatq.js → file-jwcy2c2z.js} +4 -4
- package/dist/chunks/{job-kg06axw8.js → file-kg06axw8.js} +1 -1
- package/dist/chunks/{job-gd7fndfc.js → file-km5917gx.js} +48 -48
- package/dist/chunks/{job-j1ydb14k.js → file-ktw3pdy7.js} +15 -15
- package/dist/chunks/{job-m9w0rfyh.js → file-m9w0rfyh.js} +1 -1
- package/dist/chunks/{job-b7v4cx43.js → file-ma15yhyh.js} +5 -5
- package/dist/chunks/{job-fteascj8.js → file-map7vc9e.js} +4 -4
- package/dist/chunks/{job-tqjwy6mf.js → file-n3ehebhz.js} +4 -4
- package/dist/chunks/{job-h1frrkv0.js → file-nd9hg1xj.js} +24 -24
- package/dist/chunks/{job-qjnctwjf.js → file-neb913ap.js} +5 -5
- package/dist/chunks/{job-nhy5jxhy.js → file-nhy5jxhy.js} +1 -1
- package/dist/chunks/{job-nv5vn7qx.js → file-nv5vn7qx.js} +2 -2
- package/dist/chunks/{job-9ywjwkc3.js → file-nze65y9n.js} +15 -15
- package/dist/chunks/{job-e6hmchc5.js → file-p1nm93x7.js} +5 -5
- package/dist/chunks/{job-4vda8ndh.js → file-pfjv880m.js} +46 -46
- package/dist/chunks/{job-x2xn2ag0.js → file-pg0dvyvk.js} +10 -10
- package/dist/chunks/{job-pjvnvgmy.js → file-pjvnvgmy.js} +1 -1
- package/dist/chunks/{job-pknna89w.js → file-pknna89w.js} +1 -1
- package/dist/chunks/{job-6z4emzs5.js → file-pndtw5qe.js} +39 -39
- package/dist/chunks/{job-rnp9kzat.js → file-pnfpsavj.js} +5 -5
- package/dist/chunks/{job-bcxexh6n.js → file-pp59n8pp.js} +20 -20
- package/dist/chunks/{job-e2535fdq.js → file-q043d12m.js} +11 -11
- package/dist/chunks/{job-a880hm1k.js → file-q4jqhhxd.js} +78 -78
- package/dist/chunks/{job-gjjtys5r.js → file-qbejwr8p.js} +28 -28
- package/dist/chunks/{job-wycsdkc3.js → file-qefhz522.js} +11 -11
- package/dist/chunks/{job-htveh2m9.js → file-qmy7xtej.js} +1 -1
- package/dist/chunks/{job-y0j58446.js → file-qp9w0mn5.js} +11 -11
- package/dist/chunks/{job-vgd8tbfn.js → file-qpcnk2ce.js} +52 -52
- package/dist/chunks/{job-kwn7s3xs.js → file-qrdc2j4b.js} +26 -26
- package/dist/chunks/{job-s3287qar.js → file-qryaexwa.js} +33 -33
- package/dist/chunks/{job-qsdy395h.js → file-qsdy395h.js} +1 -1
- package/dist/chunks/{job-xgte56ee.js → file-r12ptjs8.js} +20 -20
- package/dist/chunks/{job-jf27y05g.js → file-r1m6q3fm.js} +16 -16
- package/dist/chunks/{job-470v6bvq.js → file-r6x8jqph.js} +24 -24
- package/dist/chunks/{job-pe61x464.js → file-r9030hxj.js} +9 -9
- package/dist/chunks/{job-r9mregkx.js → file-r9mregkx.js} +2 -2
- package/dist/chunks/{job-v8s8zax1.js → file-rq9x2xtg.js} +23 -23
- package/dist/chunks/{job-2hbyh6nn.js → file-rry1cpvn.js} +13 -13
- package/dist/chunks/{job-sbvbgwj3.js → file-rxe92ft5.js} +25 -25
- package/dist/chunks/{job-b5hzpkv8.js → file-s3h59be2.js} +25 -25
- package/dist/chunks/{job-yrznvahk.js → file-s4enseaf.js} +2 -2
- package/dist/chunks/{job-af0peg3t.js → file-sp0cj90t.js} +21 -21
- package/dist/chunks/{job-d16qd7aj.js → file-svxygcjw.js} +2 -2
- package/dist/chunks/{job-53f31axm.js → file-szbdehq3.js} +29 -29
- package/dist/chunks/{job-nvn8ehym.js → file-szgy4byf.js} +4 -4
- package/dist/chunks/{job-athype10.js → file-t550f9t1.js} +8 -8
- package/dist/chunks/{job-42c662mh.js → file-t6xdqw2p.js} +9 -9
- package/dist/chunks/file-t83d2b0d.js +22 -0
- package/dist/chunks/{job-r7yyze0b.js → file-t8eheybj.js} +33 -33
- package/dist/chunks/{job-tazgh4e4.js → file-tazgh4e4.js} +1 -1
- package/dist/chunks/{job-89znhe33.js → file-tcezcvh9.js} +4 -4
- package/dist/chunks/{job-tdstcens.js → file-tdstcens.js} +1 -1
- package/dist/chunks/{job-z5tggqpm.js → file-tgqjfyja.js} +3 -3
- package/dist/chunks/{job-tvtrv512.js → file-tvtrv512.js} +1 -1
- package/dist/chunks/{job-2jf2j74m.js → file-tw0jne9w.js} +19 -19
- package/dist/chunks/{job-qbds1c0x.js → file-v32yr9d8.js} +3 -3
- package/dist/chunks/{job-agy1jr6g.js → file-v4cav7rx.js} +32 -32
- package/dist/chunks/{job-fwr4kp6g.js → file-v65drjb8.js} +11 -11
- package/dist/chunks/{job-k9h3bn14.js → file-vczh7xgt.js} +20 -20
- package/dist/chunks/{job-veqvce7d.js → file-veqvce7d.js} +1 -1
- package/dist/chunks/{job-z75d3rsp.js → file-verq85zk.js} +4 -4
- package/dist/chunks/{job-h3376zec.js → file-vj15hgm9.js} +10 -10
- package/dist/chunks/{job-w63wt874.js → file-vmtte7pc.js} +45 -45
- package/dist/chunks/{job-wbe59x29.js → file-vsctkjm2.js} +11 -11
- package/dist/chunks/{job-g190xswt.js → file-vsp1fds9.js} +21 -21
- package/dist/chunks/{job-vzcthcp8.js → file-vzcthcp8.js} +1 -1
- package/dist/chunks/{job-w3wsvvr9.js → file-w3wsvvr9.js} +1 -1
- package/dist/chunks/{job-hwbs7xck.js → file-w727stb0.js} +45 -45
- package/dist/chunks/{job-wd87259q.js → file-wd87259q.js} +1 -1
- package/dist/chunks/{job-r56v5vzb.js → file-wgpg5g3d.js} +18 -18
- package/dist/chunks/{job-4v6fnmv6.js → file-wjtjjmd0.js} +9 -9
- package/dist/chunks/{job-rbr1ba9y.js → file-wpmxaqyc.js} +6 -6
- package/dist/chunks/{job-ejsrqr7m.js → file-wpqth83p.js} +4 -4
- package/dist/chunks/{job-bbqjtvjt.js → file-x060fdep.js} +79 -79
- package/dist/chunks/{job-x1ezjp6w.js → file-x1ezjp6w.js} +1 -1
- package/dist/chunks/{job-77ry477k.js → file-x9vpcgg3.js} +30 -30
- package/dist/chunks/{job-zecnhp4y.js → file-xv4b1b4q.js} +47 -47
- package/dist/chunks/{job-y1fvbwt7.js → file-y1fvbwt7.js} +1 -1
- package/dist/chunks/{job-8pccszvy.js → file-y2vrj84a.js} +6 -6
- package/dist/chunks/{job-hezdnza5.js → file-y4x12v72.js} +10 -10
- package/dist/chunks/{job-9rw2238w.js → file-y67y16g8.js} +20 -20
- package/dist/chunks/{job-t2k8w6x7.js → file-y9n3sh8b.js} +8 -8
- package/dist/chunks/{job-mty3s5k3.js → file-ydn3gg3r.js} +10 -10
- package/dist/chunks/{job-1acjjqhc.js → file-yp2x3t23.js} +4 -4
- package/dist/chunks/{job-1fjxzwkh.js → file-yq0x5dd5.js} +27 -27
- package/dist/chunks/{job-rs5tj728.js → file-yqfy31rq.js} +14 -14
- package/dist/chunks/{job-yrhqyw5v.js → file-yrhqyw5v.js} +1 -1
- package/dist/chunks/{job-hkfg6fzm.js → file-yt0fqk68.js} +5 -5
- package/dist/chunks/{job-7w0m1cr7.js → file-yz3h3ntp.js} +11 -11
- package/dist/chunks/{job-z0bkrqjs.js → file-z0bkrqjs.js} +1 -1
- package/dist/chunks/{job-2vtsxqdn.js → file-z51k40g3.js} +2 -2
- package/dist/chunks/{job-nsnkpgmw.js → file-z91f3yc5.js} +27 -27
- package/dist/chunks/{job-9f8x733p.js → file-z9qams9d.js} +11 -11
- package/dist/chunks/{job-zmwpq63m.js → file-zbqyvn6w.js} +14 -14
- package/dist/chunks/{job-zeh9ct20.js → file-zeh9ct20.js} +2 -2
- package/dist/chunks/{job-2yhcctmw.js → file-zjsxw8xc.js} +18 -18
- package/dist/chunks/{job-dgvf7yhf.js → file-zpjvc3ac.js} +15 -15
- package/dist/chunks/{job-zr2ceqn5.js → file-zr2ceqn5.js} +1 -1
- package/dist/chunks/{job-818pfwc9.js → file-zts5fb25.js} +11 -11
- package/dist/chunks/{job-zxq2ej10.js → file-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- package/dist/codemode/tool.js +2 -2
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +80 -80
- 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 +84 -84
- package/dist/database/database.js +71 -71
- 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 +361 -361
- 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 +71 -71
- package/dist/file-access.js +96 -96
- package/dist/file-mutation.js +90 -90
- 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 +3 -3
- package/dist/filesystem/search.js +100 -100
- package/dist/filesystem/watcher-binding.js +3 -3
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +103 -103
- 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 +5 -5
- 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 +352 -352
- package/dist/instruction-discovery.js +84 -84
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +85 -85
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +72 -72
- package/dist/location-activity.js +127 -127
- package/dist/location-mutation.js +96 -96
- package/dist/location-service-map.js +82 -82
- package/dist/location-services.js +349 -349
- package/dist/location.js +85 -85
- package/dist/mcp/client.js +87 -87
- package/dist/mcp/index.js +98 -98
- 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 +87 -87
- 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 +77 -77
- 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 +87 -87
- 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 +1 -1
- package/dist/plugin/internal.js +323 -323
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +76 -76
- package/dist/plugin/module.js +5 -5
- 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/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/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 +157 -157
- package/dist/plugin/sdk.js +75 -75
- 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 +338 -338
- package/dist/plugin/update.js +6 -6
- 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 +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +8 -8
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin.js +221 -221
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +78 -78
- 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 +87 -87
- package/dist/reference/instructions.js +85 -85
- package/dist/reference.js +87 -87
- package/dist/repository-cache.js +77 -77
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +92 -92
- 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 +7 -7
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +215 -215
- package/dist/session/execution.js +123 -123
- package/dist/session/generate.js +147 -147
- package/dist/session/history.js +15 -15
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +93 -93
- package/dist/session/message-updater.js +4 -4
- 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 +224 -224
- 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 +120 -120
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +168 -168
- 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 +82 -82
- 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 +146 -146
- package/dist/session/to-session-error.js +108 -108
- package/dist/session/transfer.js +213 -213
- package/dist/session/usage.js +1 -1
- package/dist/session.js +212 -212
- 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 +6 -6
- package/dist/skill/instructions.js +103 -103
- package/dist/skill.js +106 -106
- package/dist/snapshot.js +83 -83
- 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 +118 -118
- 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 +121 -121
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +118 -118
- package/dist/tool/plugin/question.js +97 -97
- package/dist/tool/plugin/read.js +122 -122
- package/dist/tool/plugin/shell.js +211 -211
- package/dist/tool/plugin/skill.js +107 -107
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +108 -108
- package/dist/tool/plugin/websearch.js +106 -106
- 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 +4 -4
- package/dist/tool.js +15 -15
- 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 +7 -7
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +4 -4
- package/dist/v1/config/formatter.js +3 -3
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +4 -4
- 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/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 +86 -86
- package/dist/websearch.js +81 -81
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +5 -5
- 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 +339 -339
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree.js +90 -90
- package/package.json +8 -8
- package/dist/chunks/job-45th5jwr.js +0 -18
- package/dist/chunks/job-pa9n1am2.js +0 -22
- /package/dist/chunks/{job-0mesazry.js → file-0mesazry.js} +0 -0
- /package/dist/chunks/{job-0qkdqm5v.js → file-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{job-0zkw76rk.js → file-0zkw76rk.js} +0 -0
- /package/dist/chunks/{job-17cy0kzp.js → file-17cy0kzp.js} +0 -0
- /package/dist/chunks/{job-1cnp2v09.js → file-1cnp2v09.js} +0 -0
- /package/dist/chunks/{job-1kg9ymc8.js → file-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{job-2710q6r3.js → file-2710q6r3.js} +0 -0
- /package/dist/chunks/{job-2axfhc9x.js → file-2axfhc9x.js} +0 -0
- /package/dist/chunks/{job-2c3vjs8z.js → file-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{job-359p4xyc.js → file-359p4xyc.js} +0 -0
- /package/dist/chunks/{job-3asan66x.js → file-3asan66x.js} +0 -0
- /package/dist/chunks/{job-3v8g72cx.js → file-3v8g72cx.js} +0 -0
- /package/dist/chunks/{job-3w5fmr99.js → file-3w5fmr99.js} +0 -0
- /package/dist/chunks/{job-3wcehsnq.js → file-3wcehsnq.js} +0 -0
- /package/dist/chunks/{job-43n2bw4t.js → file-43n2bw4t.js} +0 -0
- /package/dist/chunks/{job-4knz6hnm.js → file-4knz6hnm.js} +0 -0
- /package/dist/chunks/{job-4vcrnpx2.js → file-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{job-4y7fprxs.js → file-4y7fprxs.js} +0 -0
- /package/dist/chunks/{job-53557ph1.js → file-53557ph1.js} +0 -0
- /package/dist/chunks/{job-550bvhaj.js → file-550bvhaj.js} +0 -0
- /package/dist/chunks/{job-6prwharc.js → file-6prwharc.js} +0 -0
- /package/dist/chunks/{job-7akdwqpd.js → file-7akdwqpd.js} +0 -0
- /package/dist/chunks/{job-7m9af43g.js → file-7m9af43g.js} +0 -0
- /package/dist/chunks/{job-822emrt2.js → file-822emrt2.js} +0 -0
- /package/dist/chunks/{job-88xbtdfr.js → file-88xbtdfr.js} +0 -0
- /package/dist/chunks/{job-8n3pysct.js → file-8n3pysct.js} +0 -0
- /package/dist/chunks/{job-922hggd3.js → file-922hggd3.js} +0 -0
- /package/dist/chunks/{job-9a4afbnw.js → file-9a4afbnw.js} +0 -0
- /package/dist/chunks/{job-9rqn6x4v.js → file-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{job-a6k6eb26.js → file-a6k6eb26.js} +0 -0
- /package/dist/chunks/{job-af5trqkr.js → file-af5trqkr.js} +0 -0
- /package/dist/chunks/{job-afrmfg78.js → file-afrmfg78.js} +0 -0
- /package/dist/chunks/{job-aqzs7mqg.js → file-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{job-atq7p7m5.js → file-atq7p7m5.js} +0 -0
- /package/dist/chunks/{job-bkyjaxrp.js → file-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{job-bmr6ed5q.js → file-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{job-cf4snx6d.js → file-cf4snx6d.js} +0 -0
- /package/dist/chunks/{job-cvy3z8tj.js → file-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{job-d9fn303g.js → file-d9fn303g.js} +0 -0
- /package/dist/chunks/{job-d9jj8t3e.js → file-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{job-dajrwvna.js → file-dajrwvna.js} +0 -0
- /package/dist/chunks/{job-dap0rakb.js → file-dap0rakb.js} +0 -0
- /package/dist/chunks/{job-df08tz66.js → file-df08tz66.js} +0 -0
- /package/dist/chunks/{job-dy18nga0.js → file-dy18nga0.js} +0 -0
- /package/dist/chunks/{job-e5kj55wp.js → file-e5kj55wp.js} +0 -0
- /package/dist/chunks/{job-e73j6tqm.js → file-e73j6tqm.js} +0 -0
- /package/dist/chunks/{job-ec1grn59.js → file-ec1grn59.js} +0 -0
- /package/dist/chunks/{job-eh3zwz77.js → file-eh3zwz77.js} +0 -0
- /package/dist/chunks/{job-emrn6kk6.js → file-emrn6kk6.js} +0 -0
- /package/dist/chunks/{job-f0mxakyp.js → file-f0mxakyp.js} +0 -0
- /package/dist/chunks/{job-f6n9ztr4.js → file-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{job-faypxj3z.js → file-faypxj3z.js} +0 -0
- /package/dist/chunks/{job-fd410y7t.js → file-fd410y7t.js} +0 -0
- /package/dist/chunks/{job-fxgpk5d8.js → file-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{job-g4wezp1m.js → file-g4wezp1m.js} +0 -0
- /package/dist/chunks/{job-g86h250q.js → file-g86h250q.js} +0 -0
- /package/dist/chunks/{job-gebd4c9n.js → file-gebd4c9n.js} +0 -0
- /package/dist/chunks/{job-gftt206x.js → file-gftt206x.js} +0 -0
- /package/dist/chunks/{job-hjbc5kem.js → file-hjbc5kem.js} +0 -0
- /package/dist/chunks/{job-hk9envan.js → file-hk9envan.js} +0 -0
- /package/dist/chunks/{job-hrnqkpcd.js → file-hrnqkpcd.js} +0 -0
- /package/dist/chunks/{job-j2ntwpah.js → file-j2ntwpah.js} +0 -0
- /package/dist/chunks/{job-j5zkgpj8.js → file-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{job-jr7sbwjy.js → file-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{job-jwfs4k6c.js → file-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{job-jzg6c2d5.js → file-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{job-mp448xyj.js → file-mp448xyj.js} +0 -0
- /package/dist/chunks/{job-msx8hqn2.js → file-msx8hqn2.js} +0 -0
- /package/dist/chunks/{job-n05xt0ee.js → file-n05xt0ee.js} +0 -0
- /package/dist/chunks/{job-n3j8tn72.js → file-n3j8tn72.js} +0 -0
- /package/dist/chunks/{job-njntx4h6.js → file-njntx4h6.js} +0 -0
- /package/dist/chunks/{job-q3sfg36h.js → file-q3sfg36h.js} +0 -0
- /package/dist/chunks/{job-q74kybfr.js → file-q74kybfr.js} +0 -0
- /package/dist/chunks/{job-qaymkmh1.js → file-qaymkmh1.js} +0 -0
- /package/dist/chunks/{job-qb87gjwd.js → file-qb87gjwd.js} +0 -0
- /package/dist/chunks/{job-qfa1cgps.js → file-qfa1cgps.js} +0 -0
- /package/dist/chunks/{job-qrg20bc0.js → file-qrg20bc0.js} +0 -0
- /package/dist/chunks/{job-rcb2kzg1.js → file-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{job-sdp7kfr6.js → file-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{job-sk3qaz4a.js → file-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{job-ssg3fenm.js → file-ssg3fenm.js} +0 -0
- /package/dist/chunks/{job-twg0f83k.js → file-twg0f83k.js} +0 -0
- /package/dist/chunks/{job-w803qqfp.js → file-w803qqfp.js} +0 -0
- /package/dist/chunks/{job-wer8tq1h.js → file-wer8tq1h.js} +0 -0
- /package/dist/chunks/{job-wtztk69x.js → file-wtztk69x.js} +0 -0
- /package/dist/chunks/{job-x0ckcb58.js → file-x0ckcb58.js} +0 -0
- /package/dist/chunks/{job-x61499pn.js → file-x61499pn.js} +0 -0
- /package/dist/chunks/{job-y44na4kk.js → file-y44na4kk.js} +0 -0
- /package/dist/chunks/{job-y8cydn3q.js → file-y8cydn3q.js} +0 -0
- /package/dist/chunks/{job-y8f7s663.js → file-y8f7s663.js} +0 -0
- /package/dist/chunks/{job-ygaqb7jw.js → file-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{job-ym463w8f.js → file-ym463w8f.js} +0 -0
- /package/dist/chunks/{job-z9919s4g.js → file-z9919s4g.js} +0 -0
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
2
|
ephemeral2,
|
|
3
3
|
Service78,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node82
|
|
5
|
+
} from "./file-vsctkjm2.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
7
|
+
Service73,
|
|
8
|
+
node77
|
|
9
|
+
} from "./file-qp9w0mn5.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/wellknown.ts
|
|
15
15
|
var exports_wellknown = {};
|
|
16
16
|
__export(exports_wellknown, {
|
|
17
17
|
Auth: () => Auth2,
|
|
18
18
|
Config: () => Config2,
|
|
19
|
-
Event: () =>
|
|
19
|
+
Event: () => Event17,
|
|
20
20
|
Manifest: () => Manifest2,
|
|
21
21
|
RemoteConfig: () => RemoteConfig2,
|
|
22
|
-
Service: () =>
|
|
22
|
+
Service: () => Service67,
|
|
23
23
|
WellKnown: () => exports_wellknown,
|
|
24
24
|
inspect: () => inspect2,
|
|
25
|
-
node: () =>
|
|
26
|
-
resolve: () =>
|
|
25
|
+
node: () => node70,
|
|
26
|
+
resolve: () => resolve2
|
|
27
27
|
});
|
|
28
28
|
import { Integration } from "@opencode/schema/integration";
|
|
29
29
|
import { Context, Effect, Layer, Ref, Schema, Semaphore } from "effect";
|
|
@@ -46,9 +46,9 @@ var Manifest2 = Schema.Struct({
|
|
|
46
46
|
remote_config: Schema.optional(RemoteConfig2)
|
|
47
47
|
}).annotate({ identifier: "WellKnown.Manifest" });
|
|
48
48
|
|
|
49
|
-
class
|
|
49
|
+
class Service67 extends Context.Service()("@opencode/WellKnown") {
|
|
50
50
|
}
|
|
51
|
-
var
|
|
51
|
+
var Event17 = {
|
|
52
52
|
Updated: ephemeral2({ type: "wellknown.updated", schema: {} })
|
|
53
53
|
};
|
|
54
54
|
var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
@@ -56,7 +56,7 @@ var inspect2 = Effect.fn("WellKnown.inspect")(function* (origin) {
|
|
|
56
56
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
57
57
|
return yield* http.execute(HttpClientRequest.get(url).pipe(HttpClientRequest.acceptJson)).pipe(Effect.flatMap(HttpClientResponse.schemaBodyJson(Manifest2)), Effect.mapError((cause) => new Error(`Failed to load wellknown manifest from ${url}`, { cause })));
|
|
58
58
|
});
|
|
59
|
-
var
|
|
59
|
+
var resolve2 = Effect.fn("WellKnown.resolve")(function* (input) {
|
|
60
60
|
const manifest = yield* inspect2(input.origin);
|
|
61
61
|
return yield* resolveEntry({ origin: input.origin, integrationID: Integration.ID.make(input.origin.replace(/\/+$/, "")), manifest }, input.variables ?? {});
|
|
62
62
|
});
|
|
@@ -75,9 +75,9 @@ var resolveEntry = Effect.fnUntraced(function* (entry, variables) {
|
|
|
75
75
|
});
|
|
76
76
|
var sourcesKey = "wellknown:sources";
|
|
77
77
|
var Sources = Schema.Array(Schema.String);
|
|
78
|
-
var layer = Layer.effect(
|
|
78
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
79
79
|
const http = yield* HttpClient.HttpClient;
|
|
80
|
-
const kv = yield*
|
|
80
|
+
const kv = yield* Service73;
|
|
81
81
|
const bus = yield* Service78;
|
|
82
82
|
const cache = yield* Ref.make(new Map);
|
|
83
83
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -109,10 +109,10 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
109
109
|
if (!changed)
|
|
110
110
|
return false;
|
|
111
111
|
yield* Ref.set(cache, next);
|
|
112
|
-
yield* bus.publish(
|
|
112
|
+
yield* bus.publish(Event17.Updated, {});
|
|
113
113
|
return true;
|
|
114
114
|
}, (effect) => lock.withPermit(effect));
|
|
115
|
-
return
|
|
115
|
+
return Service67.of({
|
|
116
116
|
entries: load,
|
|
117
117
|
snapshot: () => Array.from(Ref.getUnsafe(cache).values()),
|
|
118
118
|
refresh,
|
|
@@ -125,7 +125,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
125
125
|
const origins = Schema.is(Sources)(sources) ? sources : [];
|
|
126
126
|
yield* kv.set(sourcesKey, Array.from(new Set([...origins, origin])));
|
|
127
127
|
yield* Ref.update(cache, (current) => new Map(current).set(origin, entry));
|
|
128
|
-
yield* bus.publish(
|
|
128
|
+
yield* bus.publish(Event17.Updated, {});
|
|
129
129
|
return entry;
|
|
130
130
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
131
131
|
remove: Effect.fn("WellKnown.remove")(function* (value) {
|
|
@@ -138,11 +138,11 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
138
138
|
next.delete(origin);
|
|
139
139
|
return next;
|
|
140
140
|
});
|
|
141
|
-
yield* bus.publish(
|
|
141
|
+
yield* bus.publish(Event17.Updated, {});
|
|
142
142
|
}, (effect, _value) => lock.withPermit(effect)),
|
|
143
143
|
resolve: Effect.fn("WellKnown.resolveEntry")((entry, variables) => resolveEntry(entry, variables).pipe(Effect.provideService(HttpClient.HttpClient, http)))
|
|
144
144
|
});
|
|
145
145
|
}));
|
|
146
|
-
var
|
|
146
|
+
var node70 = makeGlobalNode({ service: Service67, layer, deps: [httpClient, node77, node82] });
|
|
147
147
|
|
|
148
|
-
export { Auth2, RemoteConfig2, Config2, Manifest2,
|
|
148
|
+
export { Auth2, RemoteConfig2, Config2, Manifest2, Service67, Event17, inspect2, resolve2, node70, exports_wellknown };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
RelativePath2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-922hggd3.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionSchema2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./file-3yjg5mh2.js";
|
|
8
8
|
|
|
9
9
|
// src/session/info.ts
|
|
10
10
|
import { DateTime, Schema } from "effect";
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service78,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node82
|
|
4
|
+
} from "./file-vsctkjm2.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
6
|
+
Key4,
|
|
7
|
+
Service74,
|
|
8
|
+
node78
|
|
9
|
+
} from "./file-1j7qs22q.js";
|
|
10
10
|
import {
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./file-kg06axw8.js";
|
|
13
13
|
import {
|
|
14
14
|
validateAnswer2,
|
|
15
15
|
validateFields2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./file-rxe92ft5.js";
|
|
17
17
|
import {
|
|
18
18
|
__export
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./file-9rqn6x4v.js";
|
|
20
20
|
|
|
21
21
|
// src/integration.ts
|
|
22
22
|
var exports_integration = {};
|
|
@@ -30,17 +30,17 @@ __export(exports_integration, {
|
|
|
30
30
|
CommandAttemptStatus: () => CommandAttemptStatus2,
|
|
31
31
|
CommandMethod: () => CommandMethod2,
|
|
32
32
|
EnvMethod: () => EnvMethod2,
|
|
33
|
-
Event: () =>
|
|
34
|
-
ID: () =>
|
|
35
|
-
Info: () =>
|
|
33
|
+
Event: () => Event14,
|
|
34
|
+
ID: () => ID10,
|
|
35
|
+
Info: () => Info13,
|
|
36
36
|
Integration: () => exports_integration,
|
|
37
37
|
KeyMethod: () => KeyMethod2,
|
|
38
38
|
Method: () => Method2,
|
|
39
39
|
MethodID: () => MethodID2,
|
|
40
40
|
OAuthMethod: () => OAuthMethod2,
|
|
41
41
|
Ref: () => Ref2,
|
|
42
|
-
Service: () =>
|
|
43
|
-
node: () =>
|
|
42
|
+
Service: () => Service60,
|
|
43
|
+
node: () => node63
|
|
44
44
|
});
|
|
45
45
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
46
46
|
import {
|
|
@@ -61,8 +61,8 @@ import {
|
|
|
61
61
|
import { Integration } from "@opencode/schema/integration";
|
|
62
62
|
import { AppProcess } from "@opencode/util/process";
|
|
63
63
|
import { ChildProcess } from "effect/unstable/process";
|
|
64
|
-
import { Event as
|
|
65
|
-
var
|
|
64
|
+
import { Event as Event14 } from "@opencode/schema/integration";
|
|
65
|
+
var ID10 = Integration.ID;
|
|
66
66
|
var MethodID2 = Integration.MethodID;
|
|
67
67
|
var AttemptID2 = Integration.AttemptID;
|
|
68
68
|
var OAuthMethod2 = Integration.OAuthMethod;
|
|
@@ -70,7 +70,7 @@ var CommandMethod2 = Integration.CommandMethod;
|
|
|
70
70
|
var KeyMethod2 = Integration.KeyMethod;
|
|
71
71
|
var EnvMethod2 = Integration.EnvMethod;
|
|
72
72
|
var Method2 = Integration.Method;
|
|
73
|
-
var
|
|
73
|
+
var Info13 = Integration.Info;
|
|
74
74
|
var Attempt2 = Integration.Attempt;
|
|
75
75
|
var AttemptStatus2 = Integration.AttemptStatus;
|
|
76
76
|
var CommandAttempt2 = Integration.CommandAttempt;
|
|
@@ -87,13 +87,13 @@ class AuthorizationError2 extends Schema.TaggedError()("Integration.Authorizatio
|
|
|
87
87
|
}
|
|
88
88
|
var Ref2 = Integration.Ref;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service60 extends Context.Service()("@opencode/Integration") {
|
|
91
91
|
}
|
|
92
92
|
var attemptLifetime = Duration.toMillis(Duration.minutes(10));
|
|
93
93
|
var terminalRetention = Duration.toMillis(Duration.minutes(1));
|
|
94
94
|
var scrubInterval = Duration.seconds(30);
|
|
95
|
-
var layer = Layer.effect(
|
|
96
|
-
const credentials = yield*
|
|
95
|
+
var layer = Layer.effect(Service60, Effect.gen(function* () {
|
|
96
|
+
const credentials = yield* Service74;
|
|
97
97
|
const bus = yield* Service78;
|
|
98
98
|
const processes = yield* AppProcess.Service;
|
|
99
99
|
const scope = yield* Scope.Scope;
|
|
@@ -187,7 +187,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
187
187
|
const env = (entry?.methods ?? []).filter((method) => method.type === "env").flatMap((method) => method.names.filter((name) => process.env[name])).map((name) => ({ type: "env", name }));
|
|
188
188
|
return [...credentials, ...env];
|
|
189
189
|
};
|
|
190
|
-
const project = (entry, connections) =>
|
|
190
|
+
const project = (entry, connections) => Info13.make({
|
|
191
191
|
id: entry.ref.id,
|
|
192
192
|
name: entry.ref.name,
|
|
193
193
|
...entry.ref.metadata === undefined ? {} : { metadata: entry.ref.metadata },
|
|
@@ -271,7 +271,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
271
271
|
const persistence = yield* createCredential({
|
|
272
272
|
integrationID: attempt.integrationID,
|
|
273
273
|
label: attempt.label,
|
|
274
|
-
value:
|
|
274
|
+
value: Key4.make({ type: "key", key: exit.value })
|
|
275
275
|
}).pipe(Effect.asVoid, Effect.exit);
|
|
276
276
|
const settledAt = yield* Clock.currentTimeMillis;
|
|
277
277
|
const terminal = Exit.isSuccess(persistence) ? {
|
|
@@ -417,7 +417,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
417
417
|
}).pipe(Scope.provide(attemptScope), Effect.exit, Effect.flatMap((exit) => settleCommand(attemptID, exit)), Effect.forkIn(attemptScope, { startImmediately: true }));
|
|
418
418
|
return CommandAttempt2.make({ attemptID, time });
|
|
419
419
|
});
|
|
420
|
-
return
|
|
420
|
+
return Service60.of({
|
|
421
421
|
transform: state.transform,
|
|
422
422
|
reload: state.reload,
|
|
423
423
|
get: Effect.fn("Integration.get")(function* (id) {
|
|
@@ -438,7 +438,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
438
438
|
resolve: Effect.fn("Integration.connection.resolve")(function* (connection) {
|
|
439
439
|
if (connection.type === "env") {
|
|
440
440
|
const key = process.env[connection.name];
|
|
441
|
-
return key ?
|
|
441
|
+
return key ? Key4.make({ type: "key", key }) : undefined;
|
|
442
442
|
}
|
|
443
443
|
const credential = yield* credentials.get(connection.id);
|
|
444
444
|
if (!credential)
|
|
@@ -471,7 +471,7 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
471
471
|
yield* createCredential({
|
|
472
472
|
integrationID: input.integrationID,
|
|
473
473
|
label: input.label,
|
|
474
|
-
value:
|
|
474
|
+
value: Key4.make({
|
|
475
475
|
type: "key",
|
|
476
476
|
key: input.key,
|
|
477
477
|
...Object.keys(answer).length > 0 ? { configuration: answer } : {}
|
|
@@ -565,10 +565,10 @@ var layer = Layer.effect(Service53, Effect.gen(function* () {
|
|
|
565
565
|
}
|
|
566
566
|
});
|
|
567
567
|
}));
|
|
568
|
-
var
|
|
569
|
-
service:
|
|
568
|
+
var node63 = makeLocationNode({
|
|
569
|
+
service: Service60,
|
|
570
570
|
layer,
|
|
571
|
-
deps: [
|
|
571
|
+
deps: [node78, node82, AppProcess.node]
|
|
572
572
|
});
|
|
573
573
|
|
|
574
|
-
export {
|
|
574
|
+
export { ID10, MethodID2, AttemptID2, OAuthMethod2, CommandMethod2, KeyMethod2, EnvMethod2, Method2, Info13, Attempt2, AttemptStatus2, CommandAttempt2, CommandAttemptStatus2, CodeRequiredError2, AuthorizationError2, Ref2, Service60, node63, exports_integration, Event14 };
|
|
@@ -5,17 +5,17 @@ import {
|
|
|
5
5
|
renderInitial2,
|
|
6
6
|
renderUpdate2,
|
|
7
7
|
applyHashDelta2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./file-t550f9t1.js";
|
|
9
9
|
import {
|
|
10
10
|
SessionEvent2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./file-ec1grn59.js";
|
|
12
12
|
import {
|
|
13
13
|
InstructionBlobTable2,
|
|
14
14
|
InstructionStateTable2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./file-a1bz86dw.js";
|
|
16
16
|
import {
|
|
17
17
|
__export
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./file-9rqn6x4v.js";
|
|
19
19
|
|
|
20
20
|
// src/session/instruction-state.ts
|
|
21
21
|
var exports_instruction_state = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/instructions/index.ts
|
|
6
6
|
var exports_instructions6 = {};
|
|
@@ -10,7 +10,7 @@ __export(exports_instructions6, {
|
|
|
10
10
|
Hash: () => Hash2,
|
|
11
11
|
InitializationBlocked: () => InitializationBlocked2,
|
|
12
12
|
Instructions: () => exports_instructions6,
|
|
13
|
-
Key: () =>
|
|
13
|
+
Key: () => Key3,
|
|
14
14
|
Values: () => Values2,
|
|
15
15
|
applyHashDelta: () => applyHashDelta2,
|
|
16
16
|
combine: () => combine2,
|
|
@@ -18,7 +18,7 @@ __export(exports_instructions6, {
|
|
|
18
18
|
diffByKey: () => diffByKey2,
|
|
19
19
|
empty: () => empty3,
|
|
20
20
|
hash: () => hash2,
|
|
21
|
-
make: () =>
|
|
21
|
+
make: () => make19,
|
|
22
22
|
read: () => read3,
|
|
23
23
|
removed: () => removed2,
|
|
24
24
|
renderInitial: () => renderInitial2,
|
|
@@ -28,7 +28,7 @@ __export(exports_instructions6, {
|
|
|
28
28
|
import { createHash } from "crypto";
|
|
29
29
|
import { Instruction } from "@opencode/schema/instruction";
|
|
30
30
|
import { Data, Effect, Option, Schema } from "effect";
|
|
31
|
-
var
|
|
31
|
+
var Key3 = Instruction.Key;
|
|
32
32
|
var Hash2 = Instruction.Hash;
|
|
33
33
|
var Values2 = Instruction.Values;
|
|
34
34
|
var Delta2 = Instruction.Delta;
|
|
@@ -36,21 +36,21 @@ var NonValue = Data.taggedEnum();
|
|
|
36
36
|
var unavailable3 = NonValue.Unavailable();
|
|
37
37
|
var removed2 = NonValue.Removed();
|
|
38
38
|
|
|
39
|
-
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(
|
|
39
|
+
class InitializationBlocked2 extends Schema.TaggedError()("Instructions.InitializationBlocked", { keys: Schema.Array(Key3) }) {
|
|
40
40
|
get message() {
|
|
41
41
|
return `Instruction initialization blocked by unavailable sources: ${this.keys.join(", ")}`;
|
|
42
42
|
}
|
|
43
43
|
}
|
|
44
44
|
|
|
45
45
|
class DuplicateKeyError2 extends Schema.TaggedError()("Instructions.DuplicateKeyError", {
|
|
46
|
-
key:
|
|
46
|
+
key: Key3
|
|
47
47
|
}) {
|
|
48
48
|
get message() {
|
|
49
49
|
return `Duplicate instruction key: ${this.key}`;
|
|
50
50
|
}
|
|
51
51
|
}
|
|
52
52
|
var empty3 = [];
|
|
53
|
-
function
|
|
53
|
+
function make19(source) {
|
|
54
54
|
const decode = Schema.decodeUnknownOption(source.codec);
|
|
55
55
|
const encode = Schema.encodeSync(source.codec);
|
|
56
56
|
const initial = (value) => requireText(source.key, "initial", source.render.initial(value));
|
|
@@ -193,4 +193,4 @@ function requireText(key, kind, text) {
|
|
|
193
193
|
return text;
|
|
194
194
|
}
|
|
195
195
|
|
|
196
|
-
export {
|
|
196
|
+
export { Key3, Hash2, Values2, Delta2, unavailable3, removed2, InitializationBlocked2, DuplicateKeyError2, empty3, make19, combine2, read3, diff2, renderInitial2, renderUpdate2, hash2, applyHashDelta2, diffByKey2, exports_instructions6 };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-q043d12m.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./file-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/firecrawl.ts
|
|
12
12
|
var exports_firecrawl = {};
|
|
13
13
|
__export(exports_firecrawl, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin32,
|
|
15
15
|
WebSearchFirecrawl: () => exports_firecrawl,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint2
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint2 = "https://mcp.firecrawl.dev/v2/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String,
|
|
24
24
|
limit: Schema.Number.pipe(Schema.optional)
|
|
@@ -37,7 +37,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
37
37
|
})
|
|
38
38
|
}));
|
|
39
39
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
40
|
-
var
|
|
40
|
+
var Plugin32 = define({
|
|
41
41
|
id: "opencode.websearch.firecrawl",
|
|
42
42
|
effect: Effect.fn("WebSearchFirecrawl.Plugin")(function* (ctx) {
|
|
43
43
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -59,7 +59,7 @@ var Plugin5 = define({
|
|
|
59
59
|
execute: (input) => Effect.gen(function* () {
|
|
60
60
|
const connection = yield* ctx.integration.connection.active("firecrawl");
|
|
61
61
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
62
|
-
const result = yield* call2(http,
|
|
62
|
+
const result = yield* call2(http, endpoint2, "firecrawl_search", { input: McpInput, output: McpOutput }, { query: input.query, limit: 8 }, {
|
|
63
63
|
"User-Agent": useragent2(ctx.app),
|
|
64
64
|
...credential?.type === "key" ? { Authorization: `Bearer ${credential.key}` } : {}
|
|
65
65
|
});
|
|
@@ -77,4 +77,4 @@ var Plugin5 = define({
|
|
|
77
77
|
})
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
export {
|
|
80
|
+
export { endpoint2, Plugin32, exports_firecrawl };
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import {
|
|
2
|
+
Plugin33
|
|
3
|
+
} from "./file-bw0vgseb.js";
|
|
4
|
+
import {
|
|
5
|
+
Plugin32
|
|
6
|
+
} from "./file-t6xdqw2p.js";
|
|
7
|
+
import {
|
|
8
|
+
Plugin35
|
|
9
|
+
} from "./file-jfqp9qt8.js";
|
|
10
|
+
import {
|
|
11
|
+
Plugin34
|
|
12
|
+
} from "./file-neb913ap.js";
|
|
13
|
+
|
|
14
|
+
// src/plugin/websearch/index.ts
|
|
15
|
+
var WebSearchPlugins2 = [
|
|
16
|
+
Plugin33,
|
|
17
|
+
Plugin32,
|
|
18
|
+
Plugin35,
|
|
19
|
+
Plugin34
|
|
20
|
+
];
|
|
21
|
+
|
|
22
|
+
export { WebSearchPlugins2 };
|
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-2a5m3afh.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./file-922hggd3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service72
|
|
9
|
+
} from "./file-1r0yq1wn.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./file-jtq2znwy.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service44
|
|
16
|
+
} from "./file-zbqyvn6w.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
|
-
|
|
21
|
+
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./file-7s83vr9a.js";
|
|
24
24
|
import {
|
|
25
25
|
Service55
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./file-epq9ds0r.js";
|
|
27
27
|
import {
|
|
28
28
|
Service41
|
|
29
|
-
} from "./
|
|
29
|
+
} from "./file-j9n5fxav.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./file-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input5,
|
|
39
|
+
Output: () => Output4,
|
|
40
|
+
Plugin: () => Plugin23,
|
|
41
|
+
name: () => name5,
|
|
42
|
+
toModelContent: () => toModelContent3
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name5 = "grep";
|
|
48
|
+
var Input5 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input11 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output4 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent3 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent6 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin23 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
89
|
+
const environment = yield* Service69;
|
|
90
|
+
const ripgrep = yield* Service44;
|
|
91
|
+
const location = yield* Service72;
|
|
92
92
|
const access = yield* Service41;
|
|
93
93
|
const permission = yield* Service55;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name5,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input5,
|
|
99
|
+
output: Output4,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name5,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -136,7 +136,7 @@ var Plugin43 = {
|
|
|
136
136
|
}))
|
|
137
137
|
}), Effect.map((result) => result.map((match) => Match2.make({
|
|
138
138
|
...match,
|
|
139
|
-
entry:
|
|
139
|
+
entry: Entry2.make({
|
|
140
140
|
...match.entry,
|
|
141
141
|
path: RelativePath2.make(path.relative(location.directory, path.resolve(cwd, match.entry.path)))
|
|
142
142
|
})
|
|
@@ -144,7 +144,7 @@ var Plugin43 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent3(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin43 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name5, Input5, Output4, toModelContent3, Plugin23, exports_grep };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./file-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/filesystem/protected.ts
|
|
6
6
|
var exports_protected = {};
|
|
7
7
|
__export(exports_protected, {
|
|
8
8
|
Protected: () => exports_protected,
|
|
9
9
|
isHome: () => isHome2,
|
|
10
|
-
names: () =>
|
|
10
|
+
names: () => names3,
|
|
11
11
|
paths: () => paths2
|
|
12
12
|
});
|
|
13
13
|
import os from "os";
|
|
@@ -41,7 +41,7 @@ var DARWIN_LIBRARY = [
|
|
|
41
41
|
];
|
|
42
42
|
var DARWIN_ROOT = ["/.DocumentRevisions-V100", "/.Spotlight-V100", "/.Trashes", "/.fseventsd"];
|
|
43
43
|
var WIN32_HOME = ["AppData", "Downloads", "Desktop", "Documents", "Pictures", "Music", "Videos", "OneDrive"];
|
|
44
|
-
function
|
|
44
|
+
function names3() {
|
|
45
45
|
if (process.platform === "darwin")
|
|
46
46
|
return new Set(DARWIN_HOME);
|
|
47
47
|
if (process.platform === "win32")
|
|
@@ -60,4 +60,4 @@ function paths2() {
|
|
|
60
60
|
return [];
|
|
61
61
|
}
|
|
62
62
|
|
|
63
|
-
export { isHome2,
|
|
63
|
+
export { isHome2, names3, paths2, exports_protected };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID16,
|
|
3
3
|
packageName2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./file-g14zqp48.js";
|
|
5
5
|
|
|
6
6
|
// src/plugin/provider/amazon-bedrock.ts
|
|
7
7
|
import { Effect } from "effect";
|
|
@@ -22,7 +22,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
23
|
yield* ctx.integration.transform((editor) => {
|
|
24
24
|
editor.method.update({
|
|
25
|
-
integrationID:
|
|
25
|
+
integrationID: ID16.amazonBedrock,
|
|
26
26
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
27
27
|
});
|
|
28
28
|
});
|