@opencode/core 0.0.0-dev-286 → 0.0.0-dev-287
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 +91 -91
- package/dist/aisdk-native.js +101 -101
- package/dist/aisdk.js +107 -107
- package/dist/app.js +9 -9
- package/dist/bus.js +83 -83
- package/dist/chunks/{worktree-q2nqdedq.js → snapshot-01x5qw2q.js} +9 -9
- package/dist/chunks/{worktree-034tev2y.js → snapshot-034tev2y.js} +2 -2
- package/dist/chunks/{worktree-t4zc915k.js → snapshot-04hfgynr.js} +17 -17
- package/dist/chunks/{worktree-gnm090bx.js → snapshot-054thd3h.js} +11 -11
- package/dist/chunks/{worktree-zay1k5wv.js → snapshot-070e0tpn.js} +17 -17
- package/dist/chunks/{worktree-hyns4byn.js → snapshot-07xh8nyv.js} +28 -28
- package/dist/chunks/{worktree-tx8ht019.js → snapshot-0fdchs18.js} +15 -15
- package/dist/chunks/{worktree-sqjzf8x2.js → snapshot-0j7gp832.js} +4 -4
- package/dist/chunks/{worktree-360wd41x.js → snapshot-0kgdmrak.js} +27 -27
- package/dist/chunks/{worktree-bda28c86.js → snapshot-0qe29vfs.js} +17 -17
- package/dist/chunks/{worktree-3wq0w81j.js → snapshot-0shtyb57.js} +22 -22
- package/dist/chunks/{worktree-80kgc7k1.js → snapshot-18856ak1.js} +32 -32
- package/dist/chunks/{worktree-1aqsckx4.js → snapshot-1aqsckx4.js} +1 -1
- package/dist/chunks/{worktree-1ep2p91f.js → snapshot-1ep2p91f.js} +2 -2
- package/dist/chunks/{worktree-9t9nbwt3.js → snapshot-1hsgd8ch.js} +32 -32
- package/dist/chunks/{worktree-1x2knyw4.js → snapshot-1x2knyw4.js} +1 -1
- package/dist/chunks/{worktree-m7zsfgfm.js → snapshot-1ygds395.js} +21 -21
- package/dist/chunks/{worktree-1yq9hg58.js → snapshot-1yq9hg58.js} +1 -1
- package/dist/chunks/{worktree-gfhpa9gk.js → snapshot-1zwvgbbx.js} +43 -43
- package/dist/chunks/{worktree-204s3925.js → snapshot-204s3925.js} +1 -1
- package/dist/chunks/{worktree-b85szd7h.js → snapshot-216cdjjz.js} +12 -12
- package/dist/chunks/{worktree-9t20sdzg.js → snapshot-225e7873.js} +6 -6
- package/dist/chunks/{worktree-w2g8c1h4.js → snapshot-231nxj68.js} +40 -40
- package/dist/chunks/{worktree-qnqasnye.js → snapshot-26x8chrq.js} +6 -6
- package/dist/chunks/{worktree-6sayp01d.js → snapshot-2941zkdf.js} +27 -27
- package/dist/chunks/{worktree-0yrht1zy.js → snapshot-29z1cymp.js} +27 -27
- package/dist/chunks/{worktree-5w72mvse.js → snapshot-2hz06pja.js} +5 -5
- package/dist/chunks/{worktree-w66j29kr.js → snapshot-2qxh2eh1.js} +13 -13
- package/dist/chunks/{worktree-kgh589a5.js → snapshot-2r0v86d9.js} +13 -13
- package/dist/chunks/{worktree-b9bzekrm.js → snapshot-2xtzk7mm.js} +28 -28
- package/dist/chunks/{worktree-7w11hwx0.js → snapshot-38cqfa6z.js} +17 -17
- package/dist/chunks/{worktree-cgqrqfdd.js → snapshot-3a7nzvas.js} +11 -11
- package/dist/chunks/{worktree-ezgss49s.js → snapshot-3fycf4n6.js} +26 -26
- package/dist/chunks/{worktree-3hepkmqq.js → snapshot-3hepkmqq.js} +1 -1
- package/dist/chunks/{worktree-3nnrz6f6.js → snapshot-3nnrz6f6.js} +1 -1
- package/dist/chunks/{worktree-8yazd8jn.js → snapshot-3pazngbb.js} +35 -35
- package/dist/chunks/{worktree-xmx7xj34.js → snapshot-3ryz99p0.js} +4 -4
- package/dist/chunks/{worktree-n73q7gnv.js → snapshot-3y7ph4ge.js} +23 -23
- package/dist/chunks/{worktree-mj3htrn7.js → snapshot-46c8y99h.js} +11 -11
- package/dist/chunks/{worktree-w8ps3wcc.js → snapshot-4a5xzjmk.js} +20 -20
- package/dist/chunks/{worktree-4dx1dgte.js → snapshot-4dx1dgte.js} +1 -1
- package/dist/chunks/{worktree-4gwbv0ae.js → snapshot-4h4vqn4t.js} +4 -4
- package/dist/chunks/{worktree-45hyrqvj.js → snapshot-4msmfn5s.js} +8 -8
- package/dist/chunks/{worktree-4pyp9zr9.js → snapshot-4pyp9zr9.js} +1 -1
- package/dist/chunks/{worktree-4v008n1t.js → snapshot-4v008n1t.js} +1 -1
- package/dist/chunks/{worktree-spf8w817.js → snapshot-4zzembfn.js} +5 -5
- package/dist/chunks/{worktree-7a1k840q.js → snapshot-51gvghxj.js} +14 -14
- package/dist/chunks/{worktree-m7fyhed3.js → snapshot-51rnpyxb.js} +20 -20
- package/dist/chunks/{worktree-k0jpvv7x.js → snapshot-5hb443sc.js} +16 -16
- package/dist/chunks/{worktree-5m9w47nd.js → snapshot-5m9w47nd.js} +1 -1
- package/dist/chunks/{worktree-qr9qsn55.js → snapshot-60waktgz.js} +30 -30
- package/dist/chunks/{worktree-7fz6tcfs.js → snapshot-611gy84y.js} +20 -20
- package/dist/chunks/{worktree-6esdw8yj.js → snapshot-6esdw8yj.js} +1 -1
- package/dist/chunks/{worktree-9k2mwdeg.js → snapshot-6k6232hn.js} +4 -4
- package/dist/chunks/{worktree-3776k8q5.js → snapshot-6rqmms3d.js} +11 -11
- package/dist/chunks/{worktree-4pw98qd4.js → snapshot-6ss6ngz0.js} +4 -4
- package/dist/chunks/{worktree-18g90bpv.js → snapshot-6twykydk.js} +9 -9
- package/dist/chunks/{worktree-76cb1hcw.js → snapshot-76cb1hcw.js} +1 -1
- package/dist/chunks/{worktree-qk8rxpda.js → snapshot-79j6qarh.js} +8 -8
- package/dist/chunks/{worktree-7bmhse3q.js → snapshot-7bmhse3q.js} +1 -1
- package/dist/chunks/{worktree-jedcwhf5.js → snapshot-7dyq9a8a.js} +22 -22
- package/dist/chunks/{worktree-djd49kbm.js → snapshot-7j6as1n5.js} +2 -2
- package/dist/chunks/{worktree-7q0y7xkk.js → snapshot-7kaqz624.js} +11 -11
- package/dist/chunks/{worktree-7kr66rt3.js → snapshot-7kr66rt3.js} +1 -1
- package/dist/chunks/{worktree-7w2ypzdf.js → snapshot-7w2ypzdf.js} +1 -1
- package/dist/chunks/{worktree-82h3a1kw.js → snapshot-7xmajcag.js} +22 -22
- package/dist/chunks/{worktree-860029p8.js → snapshot-7xymf1gv.js} +11 -11
- package/dist/chunks/{worktree-p65b0w7p.js → snapshot-7ys5edjy.js} +20 -20
- package/dist/chunks/{worktree-8jne4ghb.js → snapshot-80dydmy6.js} +18 -18
- package/dist/chunks/{worktree-k1xjwggj.js → snapshot-84anx1c1.js} +15 -15
- package/dist/chunks/{worktree-xr8j28en.js → snapshot-84mcn12y.js} +41 -41
- package/dist/chunks/{worktree-sfmvmqfk.js → snapshot-87pmwd6e.js} +3 -3
- package/dist/chunks/{worktree-25h84942.js → snapshot-8b3vzgkx.js} +4 -4
- package/dist/chunks/{worktree-wyeqency.js → snapshot-8fcbd70c.js} +7 -7
- package/dist/chunks/{worktree-qjgzc4b4.js → snapshot-8jztxfpf.js} +4 -4
- package/dist/chunks/{worktree-pqv6jrxt.js → snapshot-8ktw2vv7.js} +24 -24
- package/dist/chunks/{worktree-0v2kj0w9.js → snapshot-8s98z94r.js} +25 -25
- package/dist/chunks/{worktree-rbndg51d.js → snapshot-8shc1k29.js} +6 -6
- package/dist/chunks/{worktree-8wtp7s3z.js → snapshot-8wtp7s3z.js} +1 -1
- package/dist/chunks/{worktree-mf3y8h86.js → snapshot-8y3xkh6a.js} +58 -58
- package/dist/chunks/{worktree-90zstvax.js → snapshot-90zstvax.js} +1 -1
- package/dist/chunks/{worktree-2db5r0en.js → snapshot-93q5pt8n.js} +5 -5
- package/dist/chunks/{worktree-95sp4hdf.js → snapshot-95sp4hdf.js} +1 -1
- package/dist/chunks/{worktree-hndjt1e9.js → snapshot-9a2mpknv.js} +11 -11
- package/dist/chunks/{worktree-3m85peyv.js → snapshot-9j10ey4x.js} +29 -29
- package/dist/chunks/{worktree-xrpfz6f8.js → snapshot-9r0x1bva.js} +9 -9
- package/dist/chunks/{worktree-07fp8s5y.js → snapshot-9s7aj0t8.js} +29 -29
- package/dist/chunks/{worktree-nxw21s73.js → snapshot-9vy8j3x2.js} +14 -14
- package/dist/chunks/{worktree-eyq3zjg1.js → snapshot-9ye5q05h.js} +1 -1
- package/dist/chunks/{worktree-rjdkgttt.js → snapshot-a46j35vk.js} +16 -16
- package/dist/chunks/{worktree-abbaypxx.js → snapshot-a4j6n3kj.js} +20 -20
- package/dist/chunks/{worktree-9yke2vdy.js → snapshot-a7hv09h9.js} +11 -11
- package/dist/chunks/{worktree-gg4yr8n1.js → snapshot-a8hyghjg.js} +21 -21
- package/dist/chunks/{worktree-pgkwnhrk.js → snapshot-aasdty3y.js} +30 -30
- package/dist/chunks/{worktree-97p996b3.js → snapshot-absbpnym.js} +11 -11
- package/dist/chunks/{worktree-x8mt7ajg.js → snapshot-ad7r7r6z.js} +32 -32
- package/dist/chunks/{worktree-71ygcs51.js → snapshot-amch935v.js} +19 -19
- package/dist/chunks/{worktree-w59ytyqq.js → snapshot-askp26bb.js} +9 -9
- package/dist/chunks/{worktree-ayjs7tqn.js → snapshot-ayjs7tqn.js} +2 -2
- package/dist/chunks/{worktree-hc4wny2n.js → snapshot-b69aeg09.js} +11 -11
- package/dist/chunks/{worktree-b6vsg801.js → snapshot-b6vsg801.js} +2 -2
- package/dist/chunks/{worktree-nnx8h4m9.js → snapshot-bf7v9sm1.js} +13 -13
- package/dist/chunks/{worktree-bstexjd6.js → snapshot-bstexjd6.js} +1 -1
- package/dist/chunks/{worktree-5w6mnkbc.js → snapshot-bvbryd13.js} +11 -11
- package/dist/chunks/{worktree-2rar789x.js → snapshot-c42zap2t.js} +11 -11
- package/dist/chunks/{worktree-cnj75yzs.js → snapshot-c5kjsz6q.js} +4 -4
- package/dist/chunks/{worktree-33e1kph9.js → snapshot-cczg5y8j.js} +13 -13
- package/dist/chunks/{worktree-d1r5081s.js → snapshot-ce5fknq2.js} +5 -5
- package/dist/chunks/{worktree-ts8fcpse.js → snapshot-cefjp1wr.js} +15 -15
- package/dist/chunks/{worktree-bgg6fpfq.js → snapshot-cs87y13h.js} +8 -8
- package/dist/chunks/{worktree-cwrgdav8.js → snapshot-cwrgdav8.js} +2 -2
- package/dist/chunks/{worktree-d4v9tmah.js → snapshot-d4v9tmah.js} +2 -2
- package/dist/chunks/{worktree-thj7mhbr.js → snapshot-da06fgys.js} +15 -15
- package/dist/chunks/{worktree-cb1dvkmt.js → snapshot-dg3cm5hs.js} +14 -14
- package/dist/chunks/{worktree-dt77769w.js → snapshot-dt77769w.js} +1 -1
- package/dist/chunks/{worktree-sqx6yyec.js → snapshot-e4c2h7rv.js} +5 -5
- package/dist/chunks/{worktree-e834z07m.js → snapshot-e834z07m.js} +1 -1
- package/dist/chunks/{worktree-0b8vrwjw.js → snapshot-e92xqcgs.js} +35 -35
- package/dist/chunks/{worktree-gcye4jv7.js → snapshot-eahpwh8e.js} +4 -4
- package/dist/chunks/{worktree-qq6sz745.js → snapshot-efpt9zqt.js} +18 -18
- package/dist/chunks/{worktree-6nyhrb0p.js → snapshot-eft2x21j.js} +18 -18
- package/dist/chunks/{worktree-0q1r2kjj.js → snapshot-emcmxg9g.js} +22 -22
- package/dist/chunks/{worktree-xj8tbvnx.js → snapshot-eqbc6p9m.js} +43 -43
- package/dist/chunks/{worktree-vmfhgzt5.js → snapshot-eqmd2tfz.js} +7 -7
- package/dist/chunks/{worktree-neary136.js → snapshot-esezyxfc.js} +8 -8
- package/dist/chunks/{worktree-1y6cskgh.js → snapshot-ev8k392h.js} +39 -39
- package/dist/chunks/{worktree-81db11mx.js → snapshot-f62swmga.js} +15 -15
- package/dist/chunks/{worktree-2mh92g0w.js → snapshot-f94ey9xe.js} +11 -11
- package/dist/chunks/{worktree-fffv3p7h.js → snapshot-fffv3p7h.js} +1 -1
- package/dist/chunks/{worktree-fg9p65nk.js → snapshot-fg9p65nk.js} +2 -2
- package/dist/chunks/{worktree-4m8q87vh.js → snapshot-fka08q05.js} +12 -12
- package/dist/chunks/{worktree-wp5xvy6f.js → snapshot-fkzmbmqm.js} +34 -34
- package/dist/chunks/{worktree-f7n1ssex.js → snapshot-fp83eet1.js} +9 -9
- package/dist/chunks/{worktree-0h8y3ex8.js → snapshot-fznmdakp.js} +4 -4
- package/dist/chunks/{worktree-mnsxfp09.js → snapshot-g6b7f38h.js} +14 -14
- package/dist/chunks/{worktree-rjtdrb56.js → snapshot-g85dk614.js} +14 -14
- package/dist/chunks/{worktree-d08zvrj3.js → snapshot-gct456j9.js} +9 -9
- package/dist/chunks/{worktree-9gmxhkaz.js → snapshot-gd69t8px.js} +12 -12
- package/dist/chunks/{worktree-7dtjcr74.js → snapshot-geabss8y.js} +21 -21
- package/dist/chunks/{worktree-xyg4a4db.js → snapshot-gfapne39.js} +5 -5
- package/dist/chunks/{worktree-df3kbw4d.js → snapshot-gmbafqg8.js} +16 -16
- package/dist/chunks/{worktree-pjb3r7bt.js → snapshot-grg4dqxx.js} +14 -14
- package/dist/chunks/{worktree-hgfegmhz.js → snapshot-hgfegmhz.js} +3 -3
- package/dist/chunks/{worktree-hh7kjqtw.js → snapshot-hh7kjqtw.js} +1 -1
- package/dist/chunks/{worktree-hpg1pkwy.js → snapshot-hpg1pkwy.js} +1 -1
- package/dist/chunks/{worktree-cbcbsb56.js → snapshot-hvvf9qw8.js} +6 -6
- package/dist/chunks/{worktree-z4ex9h9e.js → snapshot-hzmw3vrs.js} +11 -11
- package/dist/chunks/{worktree-jxvtabbt.js → snapshot-j1jds77h.js} +28 -28
- package/dist/chunks/{worktree-wacb14vy.js → snapshot-j3y2s533.js} +8 -8
- package/dist/chunks/{worktree-ag4vvxdv.js → snapshot-j5awqcra.js} +5 -5
- package/dist/chunks/{worktree-6xk3x19f.js → snapshot-j5fp2wkk.js} +85 -85
- package/dist/chunks/{worktree-ja63h2sr.js → snapshot-ja63h2sr.js} +2 -2
- package/dist/chunks/{worktree-yegyxjwk.js → snapshot-jedhzf2w.js} +48 -48
- package/dist/chunks/{worktree-jfaecv01.js → snapshot-jfaecv01.js} +1 -1
- package/dist/chunks/{worktree-2zp5a6yg.js → snapshot-jh74jycr.js} +3 -3
- package/dist/chunks/{worktree-2a9pjh68.js → snapshot-jk56naz6.js} +4 -4
- package/dist/chunks/{worktree-jpnvh877.js → snapshot-jk66j3kg.js} +10 -10
- package/dist/chunks/{worktree-4pzvwjr2.js → snapshot-jm2mtdfm.js} +4 -4
- package/dist/chunks/{worktree-ynq9889m.js → snapshot-jpcc61dj.js} +35 -35
- package/dist/chunks/{worktree-v8vd993n.js → snapshot-jphwvgs8.js} +8 -8
- package/dist/chunks/{worktree-0ex9mpwx.js → snapshot-jshrc2cw.js} +90 -90
- package/dist/chunks/{worktree-jtnps1zs.js → snapshot-jtnps1zs.js} +2 -2
- package/dist/chunks/{worktree-c1nvaaxv.js → snapshot-jv2ad532.js} +4 -4
- package/dist/chunks/{worktree-scmk72rv.js → snapshot-jv5ccajn.js} +5 -5
- package/dist/chunks/{worktree-d5k5mzsn.js → snapshot-jw6dp1eq.js} +29 -29
- package/dist/chunks/{worktree-zy2d75w1.js → snapshot-jx7g0qr7.js} +21 -21
- package/dist/chunks/{worktree-7dvsg837.js → snapshot-jyjv6vrg.js} +12 -12
- package/dist/chunks/{worktree-45dn5ykg.js → snapshot-k725emr3.js} +21 -21
- package/dist/chunks/{worktree-k814nvkf.js → snapshot-k814nvkf.js} +1 -1
- package/dist/chunks/{worktree-211v3ywx.js → snapshot-k96bjchk.js} +27 -27
- package/dist/chunks/{worktree-kcg78dnn.js → snapshot-kcg78dnn.js} +2 -2
- package/dist/chunks/{worktree-hk7hszd6.js → snapshot-kgyfb6et.js} +33 -33
- package/dist/chunks/{worktree-2j819t2x.js → snapshot-kryfa369.js} +25 -25
- package/dist/chunks/{worktree-2xfesqhp.js → snapshot-ksez4t81.js} +26 -26
- package/dist/chunks/{worktree-kt3bjfbg.js → snapshot-kt3bjfbg.js} +1 -1
- package/dist/chunks/{worktree-m1714858.js → snapshot-m1714858.js} +1 -1
- package/dist/chunks/{worktree-97jk9fzp.js → snapshot-m2858arc.js} +50 -50
- package/dist/chunks/{worktree-c9n14t9e.js → snapshot-m3nys68e.js} +9 -9
- package/dist/chunks/{worktree-fmvebq1c.js → snapshot-m5ggasza.js} +9 -9
- package/dist/chunks/{worktree-c1sj1bpn.js → snapshot-m827h4cm.js} +3 -3
- package/dist/chunks/{worktree-zn3yprmb.js → snapshot-m89vktg3.js} +13 -13
- package/dist/chunks/{worktree-m9w0rfyh.js → snapshot-m9w0rfyh.js} +1 -1
- package/dist/chunks/{worktree-mb7mbhnz.js → snapshot-mb7mbhnz.js} +3 -3
- package/dist/chunks/snapshot-me0dhgxs.js +18 -0
- package/dist/chunks/{worktree-erny1hp5.js → snapshot-mjszy0h5.js} +30 -30
- package/dist/chunks/{worktree-ssfehs1z.js → snapshot-mtkfycnh.js} +4 -4
- package/dist/chunks/{worktree-1wvf0ff0.js → snapshot-mxbmnhdw.js} +7 -7
- package/dist/chunks/{worktree-c325tjb6.js → snapshot-mycyzwd6.js} +16 -16
- package/dist/chunks/{worktree-7dwprhna.js → snapshot-n9xk0tfj.js} +43 -43
- package/dist/chunks/{worktree-nah043kf.js → snapshot-nah043kf.js} +1 -1
- package/dist/chunks/{worktree-fkc1f79k.js → snapshot-ndsa049r.js} +32 -32
- package/dist/chunks/{worktree-4pn94wwk.js → snapshot-ndyztvmw.js} +44 -44
- package/dist/chunks/{worktree-e1s0q7va.js → snapshot-nhgkvrhz.js} +5 -5
- package/dist/chunks/{worktree-nn94syh7.js → snapshot-njef46zj.js} +39 -39
- package/dist/chunks/{worktree-dgjy22zw.js → snapshot-npnecasp.js} +8 -8
- package/dist/chunks/{worktree-x46kzsvj.js → snapshot-nx42e9qw.js} +22 -22
- package/dist/chunks/{worktree-8d99dfzw.js → snapshot-nzeth2v7.js} +16 -16
- package/dist/chunks/{worktree-p015t6z3.js → snapshot-p015t6z3.js} +2 -2
- package/dist/chunks/{worktree-yx3jcsf5.js → snapshot-p7gcr6xd.js} +22 -22
- package/dist/chunks/{worktree-7n4tbjx2.js → snapshot-pe6ebwtq.js} +17 -17
- package/dist/chunks/{worktree-pknna89w.js → snapshot-pknna89w.js} +1 -1
- package/dist/chunks/{worktree-gvnfypps.js → snapshot-pqm0gw65.js} +16 -16
- package/dist/chunks/{worktree-0b2ad458.js → snapshot-pqq5ej44.js} +12 -12
- package/dist/chunks/{worktree-5knxw5zw.js → snapshot-ps4ybpaz.js} +341 -341
- package/dist/chunks/{worktree-2sctd9r8.js → snapshot-pt1qytmh.js} +17 -17
- package/dist/chunks/{worktree-09fe5ez7.js → snapshot-px317zgp.js} +9 -9
- package/dist/chunks/{worktree-y7rptanb.js → snapshot-q4gm1j6y.js} +8 -8
- package/dist/chunks/{worktree-chw17fk3.js → snapshot-qe0c135p.js} +16 -16
- package/dist/chunks/{worktree-qp7r0hxv.js → snapshot-qp7r0hxv.js} +1 -1
- package/dist/chunks/{worktree-d6cs52tr.js → snapshot-qpxsar3x.js} +24 -24
- package/dist/chunks/{worktree-qqvy8y24.js → snapshot-qqvy8y24.js} +1 -1
- package/dist/chunks/{worktree-2japvek7.js → snapshot-qs2r9sye.js} +2 -2
- package/dist/chunks/{worktree-qzm6q9ch.js → snapshot-qzm6q9ch.js} +6 -6
- package/dist/chunks/{worktree-dq4stdtd.js → snapshot-r2s7w9p5.js} +4 -4
- package/dist/chunks/{worktree-w2eysc6j.js → snapshot-r41sfy63.js} +6 -6
- package/dist/chunks/{worktree-r542h3bh.js → snapshot-r542h3bh.js} +1 -1
- package/dist/chunks/{worktree-rb9dy4dg.js → snapshot-rb9dy4dg.js} +1 -1
- package/dist/chunks/snapshot-rdgpdk3a.js +26 -0
- package/dist/chunks/{worktree-rt5dr6hb.js → snapshot-rt5dr6hb.js} +1 -1
- package/dist/chunks/{worktree-v0t96s7a.js → snapshot-s7kyse9r.js} +4 -4
- package/dist/chunks/{worktree-e324kbrg.js → snapshot-s9cz50wa.js} +8 -8
- package/dist/chunks/{worktree-sa3fpqfw.js → snapshot-sa3fpqfw.js} +2 -2
- package/dist/chunks/{worktree-hf8dhk55.js → snapshot-sanxznym.js} +16 -16
- package/dist/chunks/{worktree-532k8p5d.js → snapshot-skw3nab4.js} +5 -5
- package/dist/chunks/{worktree-mqcm7x31.js → snapshot-smrcs1yt.js} +17 -17
- package/dist/chunks/{worktree-650ewqdt.js → snapshot-sqrwb7ek.js} +3 -3
- package/dist/chunks/{worktree-svcy3p9a.js → snapshot-svcy3p9a.js} +1 -1
- package/dist/chunks/{worktree-923ftqyh.js → snapshot-t2hws329.js} +6 -6
- package/dist/chunks/{worktree-n6jcsk88.js → snapshot-tcsn7fpc.js} +9 -9
- package/dist/chunks/{worktree-tczq8hjw.js → snapshot-tczq8hjw.js} +1 -1
- package/dist/chunks/{worktree-tm1e699v.js → snapshot-tnvq3v78.js} +9 -9
- package/dist/chunks/{worktree-m89858wj.js → snapshot-ts7mkfs9.js} +3 -3
- package/dist/chunks/{worktree-twssxy5n.js → snapshot-twssxy5n.js} +2 -2
- package/dist/chunks/{worktree-v2r1d0zg.js → snapshot-v2r1d0zg.js} +1 -1
- package/dist/chunks/{worktree-b3mzhchz.js → snapshot-v4wzacvx.js} +32 -32
- package/dist/chunks/{worktree-zgntrsrs.js → snapshot-v6jepjqd.js} +14 -14
- package/dist/chunks/{worktree-sy53apyv.js → snapshot-vad1g313.js} +31 -31
- package/dist/chunks/{worktree-ec3b2sgd.js → snapshot-vaer57cf.js} +8 -8
- package/dist/chunks/{worktree-excj9cfq.js → snapshot-vgz459d4.js} +35 -35
- package/dist/chunks/{worktree-33e37e6x.js → snapshot-vh4h0yrs.js} +11 -11
- package/dist/chunks/{worktree-wa49e47f.js → snapshot-vkkn64ap.js} +7 -7
- package/dist/chunks/{worktree-f9201ej8.js → snapshot-vn855jk2.js} +27 -27
- package/dist/chunks/{worktree-3ndyf3yw.js → snapshot-vpeh2c4h.js} +43 -43
- package/dist/chunks/{worktree-rj9j3as3.js → snapshot-vrrm71xh.js} +56 -56
- package/dist/chunks/{worktree-8nt2cb5r.js → snapshot-vv6btxxh.js} +15 -15
- package/dist/chunks/snapshot-vw3fqt8n.js +257 -0
- package/dist/chunks/{worktree-chfqv0dp.js → snapshot-vz8fyt0a.js} +4 -4
- package/dist/chunks/{worktree-2mnk3cpz.js → snapshot-w3h37n3b.js} +4 -4
- package/dist/chunks/{worktree-w3wsvvr9.js → snapshot-w3wsvvr9.js} +1 -1
- package/dist/chunks/{worktree-wh471sqx.js → snapshot-w5qeaqdt.js} +3 -3
- package/dist/chunks/{worktree-s7xmnr8t.js → snapshot-w67s4ywc.js} +4 -4
- package/dist/chunks/{worktree-zwrzbpfr.js → snapshot-w68dkr85.js} +16 -16
- package/dist/chunks/{worktree-dr3d1mr5.js → snapshot-w6be7tfp.js} +18 -18
- package/dist/chunks/{worktree-e239qjg7.js → snapshot-w73wdpwy.js} +9 -9
- package/dist/chunks/{worktree-k536nnb8.js → snapshot-w89sbzn0.js} +3 -3
- package/dist/chunks/{worktree-wakvkjy4.js → snapshot-wakvkjy4.js} +1 -1
- package/dist/chunks/{worktree-wd87259q.js → snapshot-wd87259q.js} +1 -1
- package/dist/chunks/{worktree-wegkxhrn.js → snapshot-wegkxhrn.js} +2 -2
- package/dist/chunks/{worktree-tf0tk0fq.js → snapshot-wmpfavpb.js} +25 -25
- package/dist/chunks/{worktree-s88qfkmz.js → snapshot-wmzygan7.js} +4 -4
- package/dist/chunks/{worktree-wnhgecwx.js → snapshot-wnhgecwx.js} +1 -1
- package/dist/chunks/{worktree-dyk9s1ne.js → snapshot-x7sfjysx.js} +4 -4
- package/dist/chunks/{worktree-b7wjnj3v.js → snapshot-xb87w9ea.js} +17 -17
- package/dist/chunks/{worktree-qqpbcr2p.js → snapshot-xt0z8zst.js} +4 -4
- package/dist/chunks/{worktree-tc90wnbk.js → snapshot-xv2swx2p.js} +46 -46
- package/dist/chunks/{worktree-1ktbs3mv.js → snapshot-xwc7yx52.js} +85 -85
- package/dist/chunks/{worktree-rg0cxenw.js → snapshot-y0er5eng.js} +2 -2
- package/dist/chunks/{worktree-7c9g9s0q.js → snapshot-y4tqh6rd.js} +7 -7
- package/dist/chunks/{worktree-hp6wkjcv.js → snapshot-y81dtq8s.js} +30 -30
- package/dist/chunks/{worktree-yxcs01xt.js → snapshot-y9j1a3y8.js} +18 -18
- package/dist/chunks/{worktree-yara3q77.js → snapshot-yara3q77.js} +2 -2
- package/dist/chunks/{worktree-yb20nhc3.js → snapshot-yb20nhc3.js} +1 -1
- package/dist/chunks/{worktree-wm1vm6w0.js → snapshot-ybp67y4f.js} +11 -11
- package/dist/chunks/{worktree-666ta36x.js → snapshot-yda73aff.js} +13 -13
- package/dist/chunks/{worktree-160yv0cs.js → snapshot-ydsespw1.js} +4 -4
- package/dist/chunks/{worktree-rp6wgn9y.js → snapshot-ydsk09n6.js} +25 -25
- package/dist/chunks/{worktree-d4qb2rc3.js → snapshot-yh1frphp.js} +4 -4
- package/dist/chunks/{worktree-6h85yzk8.js → snapshot-yh2xa03z.js} +5 -5
- package/dist/chunks/{worktree-x5xpvpef.js → snapshot-yk05r3rx.js} +25 -25
- package/dist/chunks/{worktree-vqqftvvv.js → snapshot-yk34mwqb.js} +13 -13
- package/dist/chunks/{worktree-jr92mdzz.js → snapshot-ykxwe7zp.js} +11 -11
- package/dist/chunks/{worktree-1yhff8da.js → snapshot-yp9gc5tz.js} +14 -14
- package/dist/chunks/{worktree-n6jhfx9n.js → snapshot-ypmwhxqj.js} +28 -28
- package/dist/chunks/{worktree-h4yv4fhz.js → snapshot-ysadhm59.js} +184 -184
- package/dist/chunks/{worktree-bq56hyj9.js → snapshot-ytftszmd.js} +8 -8
- package/dist/chunks/{worktree-t2cdwvq5.js → snapshot-yz6b78je.js} +19 -19
- package/dist/chunks/{worktree-ava6h5x1.js → snapshot-z0bdh4f5.js} +6 -6
- package/dist/chunks/{worktree-kfkfrd1x.js → snapshot-zatamnbq.js} +16 -16
- package/dist/chunks/{worktree-37kqz87b.js → snapshot-ze6grkbw.js} +3 -3
- package/dist/chunks/{worktree-g0zebgfm.js → snapshot-zefbt337.js} +24 -24
- package/dist/chunks/{worktree-2f5kzt4v.js → snapshot-zeryz54m.js} +7 -7
- package/dist/chunks/{worktree-4bzxpxbh.js → snapshot-zgbwm5kp.js} +5 -5
- package/dist/chunks/{worktree-vjmsebym.js → snapshot-zh7bbm8x.js} +9 -9
- package/dist/chunks/{worktree-tmt7mk16.js → snapshot-zn9wbc5r.js} +33 -33
- package/dist/chunks/{worktree-s4d4pvet.js → snapshot-zr8ag1ct.js} +4 -4
- package/dist/chunks/{worktree-gf7njwar.js → snapshot-zwwwwdhn.js} +23 -23
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +89 -89
- package/dist/config/discovery.js +94 -94
- package/dist/config/integration.js +3 -3
- package/dist/config/managed.js +1 -1
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +111 -111
- package/dist/config/plugin/agent.js +131 -131
- package/dist/config/plugin/command.js +228 -228
- package/dist/config/plugin/compaction.js +169 -169
- package/dist/config/plugin/compatibility.js +149 -149
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +130 -130
- package/dist/config/plugin/image.js +129 -129
- package/dist/config/plugin/instruction.js +129 -129
- package/dist/config/plugin/location-watcher.js +129 -129
- package/dist/config/plugin/mcp.js +138 -138
- package/dist/config/plugin/policy.js +129 -129
- package/dist/config/plugin/provider.js +129 -129
- package/dist/config/plugin/reference.js +131 -131
- package/dist/config/plugin/shell.js +131 -131
- package/dist/config/plugin/skill-file.js +145 -145
- package/dist/config/plugin/skill-scan.js +1 -1
- package/dist/config/plugin/skill.js +152 -152
- package/dist/config/plugin/snapshot.js +129 -129
- package/dist/config/plugin/source.js +132 -132
- package/dist/config/plugin/tool-output.js +130 -130
- package/dist/config/plugin/websearch.js +130 -130
- package/dist/config/plugin/worktree.js +131 -131
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +130 -130
- package/dist/console-access.js +1 -1
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +89 -89
- package/dist/database/database.js +82 -82
- 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/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration/20261007190000_azure_cli_external_credential.js +1 -1
- package/dist/database/migration/20261010180456_project_time_archived.js +1 -1
- package/dist/database/migration/20261024002554_session_allowance.js +1 -1
- package/dist/database/migration/20261024175301_drop_session_allowance.js +1 -1
- package/dist/database/migration/20261025123711_blob.js +1 -1
- package/dist/database/migration/20261025154125_drop_session_pending.js +1 -1
- package/dist/database/migration/20261026223005_schedule.js +1 -1
- package/dist/database/migration/20261029002625_session_part.js +1 -1
- package/dist/database/migration/20261029073502_session_time_busy.js +1 -1
- package/dist/database/migration/20261029165540_schedule_checks.js +1 -1
- package/dist/database/migration.gen.js +59 -59
- package/dist/database/migration.js +61 -61
- 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 +99 -99
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +392 -392
- 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 +105 -105
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +107 -107
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +3 -3
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +82 -82
- package/dist/file-access.js +155 -155
- package/dist/file-mutation.js +102 -102
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +88 -88
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +239 -239
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +111 -111
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +114 -114
- package/dist/form.js +88 -88
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +99 -99
- package/dist/generate.js +115 -115
- package/dist/git.js +11 -11
- package/dist/github-copilot/chat/convert-to-openai-compatible-chat-messages.js +1 -1
- package/dist/github-copilot/chat/get-response-metadata.js +1 -1
- package/dist/github-copilot/chat/map-openai-compatible-finish-reason.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-chat-language-model.js +7 -7
- package/dist/github-copilot/chat/openai-compatible-chat-options.js +1 -1
- package/dist/github-copilot/chat/openai-compatible-prepare-tools.js +1 -1
- package/dist/github-copilot/copilot-provider.js +17 -17
- package/dist/github-copilot/models.js +111 -111
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/notice.js +3 -3
- package/dist/image/photon-normalize.js +1 -1
- package/dist/image/photon-worker.js +1 -1
- package/dist/image/photon.js +4 -4
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +383 -383
- package/dist/instruction-discovery.js +94 -94
- package/dist/instructions/builtins.js +99 -99
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +1 -1
- package/dist/integration.js +93 -93
- package/dist/job.js +88 -88
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +83 -83
- package/dist/location-activity.js +171 -171
- package/dist/location-lifecycle.js +149 -149
- package/dist/location-service-map.js +98 -98
- package/dist/location-services.js +380 -380
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +103 -103
- package/dist/mcp/index.js +121 -121
- package/dist/mcp/instructions.js +175 -175
- package/dist/mcp/oauth.js +85 -85
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +102 -102
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +111 -111
- package/dist/model-resolver.js +111 -111
- package/dist/model-retry.js +1 -1
- package/dist/model.js +110 -110
- package/dist/models-dev/v1.js +1 -1
- package/dist/models-dev.js +116 -116
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +92 -92
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +152 -152
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +98 -98
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +85 -85
- package/dist/plugin/agent.js +86 -86
- package/dist/plugin/command.js +114 -114
- package/dist/plugin/goal.js +3 -3
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +232 -232
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +359 -359
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +109 -109
- package/dist/plugin/module.js +128 -128
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +145 -145
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +103 -103
- package/dist/plugin/provider/azure.js +129 -129
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +129 -129
- package/dist/plugin/provider/cloudflare-ai-gateway.js +127 -127
- package/dist/plugin/provider/cloudflare-workers-ai.js +127 -127
- package/dist/plugin/provider/configured.js +125 -125
- package/dist/plugin/provider/credential-settings.js +84 -84
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +105 -105
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/github-copilot.js +107 -107
- package/dist/plugin/provider/gitlab.js +106 -106
- package/dist/plugin/provider/google-vertex.js +126 -126
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +88 -88
- package/dist/plugin/provider/lmstudio.js +138 -138
- package/dist/plugin/provider/local.js +135 -135
- package/dist/plugin/provider/modal.js +104 -104
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +138 -138
- package/dist/plugin/provider/openai-context-caps.js +102 -102
- package/dist/plugin/provider/openai.js +129 -129
- package/dist/plugin/provider/opencode.js +131 -131
- package/dist/plugin/provider/openrouter.js +103 -103
- package/dist/plugin/provider/poe.js +89 -89
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +103 -103
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +128 -128
- package/dist/plugin/provider/vllm.js +138 -138
- package/dist/plugin/provider/xai.js +103 -103
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +179 -179
- package/dist/plugin/sdk.js +86 -86
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +148 -148
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +371 -371
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +98 -98
- package/dist/plugin/vcs/hg.js +98 -98
- package/dist/plugin/verbosity.js +105 -105
- package/dist/plugin/warming.js +127 -127
- package/dist/plugin/websearch/exa.js +7 -7
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +4 -4
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +237 -237
- package/dist/project/icon.js +5 -5
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +96 -96
- package/dist/provider.js +107 -107
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +100 -100
- package/dist/reference/instructions.js +98 -98
- package/dist/reference.js +102 -102
- package/dist/repository-cache.js +92 -92
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +109 -109
- package/dist/rpc.js +98 -98
- package/dist/schedule/check.js +237 -237
- package/dist/schedule/sql.js +6 -6
- package/dist/schedule.js +243 -243
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/background.js +1 -1
- package/dist/session/blob.js +128 -128
- package/dist/session/command.js +84 -84
- package/dist/session/compaction.js +171 -171
- package/dist/session/context.js +195 -195
- package/dist/session/diff.js +100 -100
- 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 +241 -241
- package/dist/session/execution.js +161 -161
- package/dist/session/generate.js +195 -195
- package/dist/session/history.js +135 -135
- package/dist/session/inbox.js +148 -148
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +89 -89
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +140 -140
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +162 -162
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +163 -163
- package/dist/session/projector.js +142 -142
- package/dist/session/prompt.js +147 -147
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +138 -138
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +246 -246
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +112 -112
- package/dist/session/runner/publish-llm-event.js +148 -148
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +161 -161
- package/dist/session/runner/to-llm-message.js +136 -136
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +177 -177
- package/dist/session/shell.js +143 -143
- package/dist/session/skill.js +146 -146
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +83 -83
- package/dist/session/store.js +141 -141
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +3 -3
- package/dist/session/subagent-job.js +226 -226
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +199 -199
- package/dist/session/to-session-error.js +147 -147
- package/dist/session/transfer.js +236 -236
- package/dist/session/usage.js +1 -1
- package/dist/session.js +230 -230
- package/dist/shell/parse.js +6 -6
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +11 -11
- package/dist/shell.js +145 -145
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +150 -150
- package/dist/skill.js +155 -155
- package/dist/snapshot.js +105 -105
- 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 +174 -174
- package/dist/tool/plugin/edit.js +163 -163
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +167 -167
- package/dist/tool/plugin/grep.js +167 -167
- package/dist/tool/plugin/image-generate.js +236 -236
- package/dist/tool/plugin/mcp-resource.js +161 -161
- package/dist/tool/plugin/opencode.js +160 -160
- package/dist/tool/plugin/patch.js +165 -165
- package/dist/tool/plugin/question.js +145 -145
- package/dist/tool/plugin/read.js +168 -168
- package/dist/tool/plugin/schedule.js +243 -243
- package/dist/tool/plugin/shell.js +232 -232
- package/dist/tool/plugin/skill.js +156 -156
- package/dist/tool/plugin/subagent.js +233 -233
- package/dist/tool/plugin/todo.js +152 -152
- package/dist/tool/plugin/webfetch.js +152 -152
- package/dist/tool/plugin/websearch.js +154 -154
- package/dist/tool/plugin/write.js +165 -165
- package/dist/tool/read-filesystem.js +112 -112
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +14 -14
- package/dist/usage-limits.js +99 -99
- package/dist/util/error-summary.js +1 -1
- package/dist/util/git-executable.js +3 -3
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +104 -104
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +103 -103
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +101 -101
- package/dist/voice.js +98 -98
- package/dist/websearch.js +92 -92
- package/dist/wellknown/plugin.js +86 -86
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +92 -92
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +11 -11
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +101 -101
- package/dist/worktree.js +106 -106
- package/package.json +8 -8
- package/dist/chunks/worktree-f8ma18fn.js +0 -18
- package/dist/chunks/worktree-vnp0me3e.js +0 -257
- package/dist/chunks/worktree-z14rfht5.js +0 -26
- /package/dist/chunks/{worktree-0qkdqm5v.js → snapshot-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{worktree-0zkw76rk.js → snapshot-0zkw76rk.js} +0 -0
- /package/dist/chunks/{worktree-17cy0kzp.js → snapshot-17cy0kzp.js} +0 -0
- /package/dist/chunks/{worktree-1cnp2v09.js → snapshot-1cnp2v09.js} +0 -0
- /package/dist/chunks/{worktree-1kah00gy.js → snapshot-1kah00gy.js} +0 -0
- /package/dist/chunks/{worktree-24dcb14g.js → snapshot-24dcb14g.js} +0 -0
- /package/dist/chunks/{worktree-2710q6r3.js → snapshot-2710q6r3.js} +0 -0
- /package/dist/chunks/{worktree-2bv980vf.js → snapshot-2bv980vf.js} +0 -0
- /package/dist/chunks/{worktree-2c3vjs8z.js → snapshot-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{worktree-359p4xyc.js → snapshot-359p4xyc.js} +0 -0
- /package/dist/chunks/{worktree-3asan66x.js → snapshot-3asan66x.js} +0 -0
- /package/dist/chunks/{worktree-3v8g72cx.js → snapshot-3v8g72cx.js} +0 -0
- /package/dist/chunks/{worktree-3wcehsnq.js → snapshot-3wcehsnq.js} +0 -0
- /package/dist/chunks/{worktree-43n2bw4t.js → snapshot-43n2bw4t.js} +0 -0
- /package/dist/chunks/{worktree-4knz6hnm.js → snapshot-4knz6hnm.js} +0 -0
- /package/dist/chunks/{worktree-4vcrnpx2.js → snapshot-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{worktree-4y7fprxs.js → snapshot-4y7fprxs.js} +0 -0
- /package/dist/chunks/{worktree-53557ph1.js → snapshot-53557ph1.js} +0 -0
- /package/dist/chunks/{worktree-550bvhaj.js → snapshot-550bvhaj.js} +0 -0
- /package/dist/chunks/{worktree-5w3e23ze.js → snapshot-5w3e23ze.js} +0 -0
- /package/dist/chunks/{worktree-6prwharc.js → snapshot-6prwharc.js} +0 -0
- /package/dist/chunks/{worktree-6q2bdcd1.js → snapshot-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{worktree-7akdwqpd.js → snapshot-7akdwqpd.js} +0 -0
- /package/dist/chunks/{worktree-7m9af43g.js → snapshot-7m9af43g.js} +0 -0
- /package/dist/chunks/{worktree-7stb81gk.js → snapshot-7stb81gk.js} +0 -0
- /package/dist/chunks/{worktree-822emrt2.js → snapshot-822emrt2.js} +0 -0
- /package/dist/chunks/{worktree-84wd9syh.js → snapshot-84wd9syh.js} +0 -0
- /package/dist/chunks/{worktree-88xbtdfr.js → snapshot-88xbtdfr.js} +0 -0
- /package/dist/chunks/{worktree-8n3pysct.js → snapshot-8n3pysct.js} +0 -0
- /package/dist/chunks/{worktree-8wj87zfr.js → snapshot-8wj87zfr.js} +0 -0
- /package/dist/chunks/{worktree-9a4afbnw.js → snapshot-9a4afbnw.js} +0 -0
- /package/dist/chunks/{worktree-9rqn6x4v.js → snapshot-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{worktree-a058387c.js → snapshot-a058387c.js} +0 -0
- /package/dist/chunks/{worktree-a6k6eb26.js → snapshot-a6k6eb26.js} +0 -0
- /package/dist/chunks/{worktree-af5trqkr.js → snapshot-af5trqkr.js} +0 -0
- /package/dist/chunks/{worktree-afrmfg78.js → snapshot-afrmfg78.js} +0 -0
- /package/dist/chunks/{worktree-aqzs7mqg.js → snapshot-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{worktree-atq7p7m5.js → snapshot-atq7p7m5.js} +0 -0
- /package/dist/chunks/{worktree-beh6qq61.js → snapshot-beh6qq61.js} +0 -0
- /package/dist/chunks/{worktree-bkyjaxrp.js → snapshot-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{worktree-bmr6ed5q.js → snapshot-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{worktree-cf4snx6d.js → snapshot-cf4snx6d.js} +0 -0
- /package/dist/chunks/{worktree-cqv5kn06.js → snapshot-cqv5kn06.js} +0 -0
- /package/dist/chunks/{worktree-cvy3z8tj.js → snapshot-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{worktree-d9fn303g.js → snapshot-d9fn303g.js} +0 -0
- /package/dist/chunks/{worktree-d9jj8t3e.js → snapshot-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{worktree-dap0rakb.js → snapshot-dap0rakb.js} +0 -0
- /package/dist/chunks/{worktree-df08tz66.js → snapshot-df08tz66.js} +0 -0
- /package/dist/chunks/{worktree-dy18nga0.js → snapshot-dy18nga0.js} +0 -0
- /package/dist/chunks/{worktree-e5kj55wp.js → snapshot-e5kj55wp.js} +0 -0
- /package/dist/chunks/{worktree-e73j6tqm.js → snapshot-e73j6tqm.js} +0 -0
- /package/dist/chunks/{worktree-ean2d8b5.js → snapshot-ean2d8b5.js} +0 -0
- /package/dist/chunks/{worktree-ec1grn59.js → snapshot-ec1grn59.js} +0 -0
- /package/dist/chunks/{worktree-eh3zwz77.js → snapshot-eh3zwz77.js} +0 -0
- /package/dist/chunks/{worktree-emrn6kk6.js → snapshot-emrn6kk6.js} +0 -0
- /package/dist/chunks/{worktree-f0mxakyp.js → snapshot-f0mxakyp.js} +0 -0
- /package/dist/chunks/{worktree-f6n9ztr4.js → snapshot-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{worktree-faypxj3z.js → snapshot-faypxj3z.js} +0 -0
- /package/dist/chunks/{worktree-fd410y7t.js → snapshot-fd410y7t.js} +0 -0
- /package/dist/chunks/{worktree-fkpq3x5p.js → snapshot-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{worktree-g4wezp1m.js → snapshot-g4wezp1m.js} +0 -0
- /package/dist/chunks/{worktree-g86h250q.js → snapshot-g86h250q.js} +0 -0
- /package/dist/chunks/{worktree-gebd4c9n.js → snapshot-gebd4c9n.js} +0 -0
- /package/dist/chunks/{worktree-gftt206x.js → snapshot-gftt206x.js} +0 -0
- /package/dist/chunks/{worktree-hcxmzztb.js → snapshot-hcxmzztb.js} +0 -0
- /package/dist/chunks/{worktree-hk9envan.js → snapshot-hk9envan.js} +0 -0
- /package/dist/chunks/{worktree-j2ntwpah.js → snapshot-j2ntwpah.js} +0 -0
- /package/dist/chunks/{worktree-j5zkgpj8.js → snapshot-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{worktree-jjkms2e6.js → snapshot-jjkms2e6.js} +0 -0
- /package/dist/chunks/{worktree-jr7sbwjy.js → snapshot-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{worktree-jwfs4k6c.js → snapshot-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{worktree-jwr30sdr.js → snapshot-jwr30sdr.js} +0 -0
- /package/dist/chunks/{worktree-jze0r7bz.js → snapshot-jze0r7bz.js} +0 -0
- /package/dist/chunks/{worktree-jzg6c2d5.js → snapshot-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{worktree-m18g726c.js → snapshot-m18g726c.js} +0 -0
- /package/dist/chunks/{worktree-mp448xyj.js → snapshot-mp448xyj.js} +0 -0
- /package/dist/chunks/{worktree-msx8hqn2.js → snapshot-msx8hqn2.js} +0 -0
- /package/dist/chunks/{worktree-n05xt0ee.js → snapshot-n05xt0ee.js} +0 -0
- /package/dist/chunks/{worktree-n3j8tn72.js → snapshot-n3j8tn72.js} +0 -0
- /package/dist/chunks/{worktree-ncqqe42p.js → snapshot-ncqqe42p.js} +0 -0
- /package/dist/chunks/{worktree-nh4v3znn.js → snapshot-nh4v3znn.js} +0 -0
- /package/dist/chunks/{worktree-njntx4h6.js → snapshot-njntx4h6.js} +0 -0
- /package/dist/chunks/{worktree-p71gwv9c.js → snapshot-p71gwv9c.js} +0 -0
- /package/dist/chunks/{worktree-q3sfg36h.js → snapshot-q3sfg36h.js} +0 -0
- /package/dist/chunks/{worktree-q74kybfr.js → snapshot-q74kybfr.js} +0 -0
- /package/dist/chunks/{worktree-qaymkmh1.js → snapshot-qaymkmh1.js} +0 -0
- /package/dist/chunks/{worktree-qb87gjwd.js → snapshot-qb87gjwd.js} +0 -0
- /package/dist/chunks/{worktree-qfa1cgps.js → snapshot-qfa1cgps.js} +0 -0
- /package/dist/chunks/{worktree-qg3g05ea.js → snapshot-qg3g05ea.js} +0 -0
- /package/dist/chunks/{worktree-qrg20bc0.js → snapshot-qrg20bc0.js} +0 -0
- /package/dist/chunks/{worktree-rcb2kzg1.js → snapshot-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{worktree-sdp7kfr6.js → snapshot-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{worktree-ssg3fenm.js → snapshot-ssg3fenm.js} +0 -0
- /package/dist/chunks/{worktree-stkk57rt.js → snapshot-stkk57rt.js} +0 -0
- /package/dist/chunks/{worktree-t03h4f5z.js → snapshot-t03h4f5z.js} +0 -0
- /package/dist/chunks/{worktree-ty7weeps.js → snapshot-ty7weeps.js} +0 -0
- /package/dist/chunks/{worktree-ve7vex1e.js → snapshot-ve7vex1e.js} +0 -0
- /package/dist/chunks/{worktree-w803qqfp.js → snapshot-w803qqfp.js} +0 -0
- /package/dist/chunks/{worktree-wc3fc9cn.js → snapshot-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{worktree-wer8tq1h.js → snapshot-wer8tq1h.js} +0 -0
- /package/dist/chunks/{worktree-wtztk69x.js → snapshot-wtztk69x.js} +0 -0
- /package/dist/chunks/{worktree-x0ckcb58.js → snapshot-x0ckcb58.js} +0 -0
- /package/dist/chunks/{worktree-x61499pn.js → snapshot-x61499pn.js} +0 -0
- /package/dist/chunks/{worktree-y44na4kk.js → snapshot-y44na4kk.js} +0 -0
- /package/dist/chunks/{worktree-y8f7s663.js → snapshot-y8f7s663.js} +0 -0
- /package/dist/chunks/{worktree-ygaqb7jw.js → snapshot-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{worktree-z5v4ffb3.js → snapshot-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{worktree-z9919s4g.js → snapshot-z9919s4g.js} +0 -0
|
@@ -1,31 +1,31 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID8
|
|
3
|
+
} from "./snapshot-51rnpyxb.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Info16
|
|
9
|
+
} from "./snapshot-esezyxfc.js";
|
|
10
10
|
import {
|
|
11
11
|
migrateAgent2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-jm2mtdfm.js";
|
|
13
13
|
import {
|
|
14
14
|
latest2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service70
|
|
16
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
17
17
|
import {
|
|
18
18
|
parseOption2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-e834z07m.js";
|
|
20
20
|
import {
|
|
21
21
|
__export
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
23
23
|
|
|
24
24
|
// src/config/plugin/agent.ts
|
|
25
|
-
var
|
|
26
|
-
__export(
|
|
27
|
-
ConfigAgentPlugin: () =>
|
|
28
|
-
Plugin: () =>
|
|
25
|
+
var exports_agent2 = {};
|
|
26
|
+
__export(exports_agent2, {
|
|
27
|
+
ConfigAgentPlugin: () => exports_agent2,
|
|
28
|
+
Plugin: () => Plugin39
|
|
29
29
|
});
|
|
30
30
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
31
31
|
import { Document, Info } from "@opencode/schema/config";
|
|
@@ -40,14 +40,14 @@ var legacySources = [
|
|
|
40
40
|
];
|
|
41
41
|
var sourceDirectories = ["agent", "agents", "mode", "modes"];
|
|
42
42
|
var decodeAgent = Schema.decodeUnknownOption(ConfigAgent.Info);
|
|
43
|
-
var decodeLegacyAgent = Schema.decodeUnknownOption(
|
|
43
|
+
var decodeLegacyAgent = Schema.decodeUnknownOption(Info16);
|
|
44
44
|
var pathActions = ["external_directory", "read", "edit"];
|
|
45
45
|
var agentKeys = new Set(["variant", ...Object.keys(ConfigAgent.Info.fields)]);
|
|
46
46
|
var nativeKeys = ["permissions", "request", "system", "disabled"];
|
|
47
|
-
var
|
|
47
|
+
var Plugin39 = define({
|
|
48
48
|
id: "opencode.config.agent",
|
|
49
49
|
effect: Effect.fn(function* (ctx) {
|
|
50
|
-
const config = yield*
|
|
50
|
+
const config = yield* Service70;
|
|
51
51
|
const fs = yield* FSUtil.Service;
|
|
52
52
|
const global = yield* Global.Service;
|
|
53
53
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
@@ -76,13 +76,13 @@ var Plugin8 = define({
|
|
|
76
76
|
const permissions = expandPermissions(loaded.documents.flatMap((document) => document.info.permissions ?? []), global.home);
|
|
77
77
|
const configuredDefault = latest2(loaded.documents, "default_agent");
|
|
78
78
|
if (configuredDefault !== undefined)
|
|
79
|
-
editor.default(
|
|
79
|
+
editor.default(ID8.make(configuredDefault));
|
|
80
80
|
for (const current of editor.list()) {
|
|
81
81
|
editor.update(current.id, (agent) => agent.permissions.push(...permissions));
|
|
82
82
|
}
|
|
83
83
|
for (const document of loaded.documents) {
|
|
84
84
|
for (const [id, item] of Object.entries(document.info.agents ?? {})) {
|
|
85
|
-
const agentID =
|
|
85
|
+
const agentID = ID8.make(id);
|
|
86
86
|
if (item.disabled) {
|
|
87
87
|
editor.remove(agentID);
|
|
88
88
|
continue;
|
|
@@ -163,4 +163,4 @@ var decode = Effect.fnUntraced(function* (file, content) {
|
|
|
163
163
|
return new Document({ type: "document", path: AbsolutePath2.make(file.filepath), info });
|
|
164
164
|
});
|
|
165
165
|
|
|
166
|
-
export {
|
|
166
|
+
export { Plugin39, exports_agent2 };
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service87,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node91
|
|
4
|
+
} from "./snapshot-9a2mpknv.js";
|
|
5
5
|
import {
|
|
6
6
|
Service86,
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
7
|
+
node90
|
|
8
|
+
} from "./snapshot-a7hv09h9.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-m1714858.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
@@ -22,13 +22,13 @@ __export(exports_credential, {
|
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
23
|
Event: () => Event19,
|
|
24
24
|
External: () => External2,
|
|
25
|
-
ID: () =>
|
|
26
|
-
Info: () =>
|
|
25
|
+
ID: () => ID17,
|
|
26
|
+
Info: () => Info28,
|
|
27
27
|
Key: () => Key4,
|
|
28
28
|
OAuth: () => OAuth3,
|
|
29
29
|
Service: () => Service80,
|
|
30
30
|
Value: () => Value2,
|
|
31
|
-
node: () =>
|
|
31
|
+
node: () => node84
|
|
32
32
|
});
|
|
33
33
|
import { asc, desc, eq } from "drizzle-orm";
|
|
34
34
|
import { Cause, Context, Effect, Fiber, Layer, Schema } from "effect";
|
|
@@ -37,15 +37,15 @@ import { CredentialLegacy } from "@opencode/schema/credential-legacy";
|
|
|
37
37
|
import { Integration } from "@opencode/schema/integration";
|
|
38
38
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
39
39
|
import { EffectFlock } from "@opencode/util/effect-flock";
|
|
40
|
-
var
|
|
40
|
+
var ID17 = Credential.ID;
|
|
41
41
|
var OAuth3 = Credential.OAuth;
|
|
42
42
|
var Key4 = Credential.Key;
|
|
43
43
|
var External2 = Credential.External;
|
|
44
44
|
var Value2 = Credential.Value;
|
|
45
45
|
var Event19 = Credential.Event;
|
|
46
46
|
|
|
47
|
-
class
|
|
48
|
-
id:
|
|
47
|
+
class Info28 extends Schema.Class("Credential.Info")({
|
|
48
|
+
id: ID17,
|
|
49
49
|
integrationID: Integration.ID,
|
|
50
50
|
label: Schema.String,
|
|
51
51
|
value: Value2
|
|
@@ -64,7 +64,7 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
64
64
|
const stored = (row) => {
|
|
65
65
|
if (!row.integration_id)
|
|
66
66
|
return;
|
|
67
|
-
return new
|
|
67
|
+
return new Info28({
|
|
68
68
|
id: row.id,
|
|
69
69
|
integrationID: row.integration_id,
|
|
70
70
|
label: row.label,
|
|
@@ -91,8 +91,8 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
91
91
|
return row ? stored(row) : undefined;
|
|
92
92
|
}),
|
|
93
93
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
94
|
-
const credential = new
|
|
95
|
-
id: input.id ??
|
|
94
|
+
const credential = new Info28({
|
|
95
|
+
id: input.id ?? ID17.create(),
|
|
96
96
|
integrationID: input.integrationID,
|
|
97
97
|
label: input.label ?? "default",
|
|
98
98
|
value: input.value
|
|
@@ -216,6 +216,6 @@ var layer = Layer.effect(Service80, Effect.gen(function* () {
|
|
|
216
216
|
})
|
|
217
217
|
});
|
|
218
218
|
}));
|
|
219
|
-
var
|
|
219
|
+
var node84 = makeGlobalNode({ service: Service80, layer, deps: [node91, node90, EffectFlock.node] });
|
|
220
220
|
|
|
221
|
-
export {
|
|
221
|
+
export { ID17, OAuth3, Key4, External2, Value2, Event19, Info28, Service80, node84, exports_credential };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service81,
|
|
3
|
+
node85
|
|
4
|
+
} from "./snapshot-grg4dqxx.js";
|
|
5
5
|
import {
|
|
6
6
|
create3
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-204s3925.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/formatter.ts
|
|
13
13
|
var exports_formatter2 = {};
|
|
14
14
|
__export(exports_formatter2, {
|
|
15
15
|
Formatter: () => exports_formatter2,
|
|
16
|
-
Service: () =>
|
|
17
|
-
node: () =>
|
|
16
|
+
Service: () => Service19,
|
|
17
|
+
node: () => node21
|
|
18
18
|
});
|
|
19
19
|
import { Context, Effect, Layer } from "effect";
|
|
20
20
|
import { ChildProcess } from "effect/process";
|
|
21
21
|
import path from "path";
|
|
22
22
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
23
23
|
import { AppProcess } from "@opencode/util/process";
|
|
24
|
-
class
|
|
24
|
+
class Service19 extends Context.Service()("@opencode/v2/Formatter") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
27
|
-
const location = yield*
|
|
26
|
+
var layer = Layer.effect(Service19, Effect.gen(function* () {
|
|
27
|
+
const location = yield* Service81;
|
|
28
28
|
const processes = yield* AppProcess.Service;
|
|
29
29
|
const commands = new WeakMap;
|
|
30
30
|
const state = create3({
|
|
@@ -85,12 +85,12 @@ var layer = Layer.effect(Service15, Effect.gen(function* () {
|
|
|
85
85
|
}
|
|
86
86
|
return false;
|
|
87
87
|
});
|
|
88
|
-
return
|
|
88
|
+
return Service19.of({ transform: state.transform, reload: state.reload, file });
|
|
89
89
|
}));
|
|
90
|
-
var
|
|
91
|
-
service:
|
|
90
|
+
var node21 = makeLocationNode({
|
|
91
|
+
service: Service19,
|
|
92
92
|
layer,
|
|
93
|
-
deps: [
|
|
93
|
+
deps: [node85, AppProcess.node]
|
|
94
94
|
});
|
|
95
95
|
|
|
96
|
-
export {
|
|
96
|
+
export { Service19, node21, exports_formatter2 };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID15,
|
|
3
3
|
Service78,
|
|
4
|
-
|
|
5
|
-
} from "./
|
|
4
|
+
node82
|
|
5
|
+
} from "./snapshot-y9j1a3y8.js";
|
|
6
6
|
import {
|
|
7
|
-
|
|
7
|
+
ID14,
|
|
8
8
|
isAISDK2,
|
|
9
9
|
packageName2,
|
|
10
10
|
loadPackage2,
|
|
@@ -16,23 +16,23 @@ import {
|
|
|
16
16
|
mergeOverlay2,
|
|
17
17
|
mergeHeaders2,
|
|
18
18
|
Service77,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node81
|
|
20
|
+
} from "./snapshot-jx7g0qr7.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service65,
|
|
23
|
+
node68
|
|
24
|
+
} from "./snapshot-pqq5ej44.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
26
|
+
ID13,
|
|
27
27
|
VariantID2,
|
|
28
28
|
Ref3,
|
|
29
|
-
|
|
30
|
-
|
|
29
|
+
Service76,
|
|
30
|
+
node80,
|
|
31
31
|
supportsText2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./snapshot-k96bjchk.js";
|
|
33
33
|
import {
|
|
34
34
|
__export
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
36
36
|
|
|
37
37
|
// src/model-resolver.ts
|
|
38
38
|
var exports_model_resolver = {};
|
|
@@ -41,15 +41,15 @@ __export(exports_model_resolver, {
|
|
|
41
41
|
ModelConfigurationError: () => ModelConfigurationError2,
|
|
42
42
|
ModelInitializationError: () => ModelInitializationError2,
|
|
43
43
|
ModelResolver: () => exports_model_resolver,
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service54,
|
|
45
45
|
UnresolvedProviderVariablesError: () => UnresolvedProviderVariablesError2,
|
|
46
46
|
UnsupportedCompactionError: () => UnsupportedCompactionError2,
|
|
47
47
|
UnsupportedPackageError: () => UnsupportedPackageError2,
|
|
48
48
|
VariantUnavailableError: () => VariantUnavailableError2,
|
|
49
49
|
fromCatalogModel: () => fromCatalogModel2,
|
|
50
50
|
hasPackage: () => hasPackage2,
|
|
51
|
-
layer: () =>
|
|
52
|
-
node: () =>
|
|
51
|
+
layer: () => layer24,
|
|
52
|
+
node: () => node57,
|
|
53
53
|
resolveModel: () => resolveModel3,
|
|
54
54
|
withVariant: () => withVariant2
|
|
55
55
|
});
|
|
@@ -67,8 +67,8 @@ import { Auth, mergeHttpOptions } from "@opencode/ai/route";
|
|
|
67
67
|
import { Context, Effect, Layer, Schema, Struct } from "effect";
|
|
68
68
|
import { Npm } from "@opencode/util/npm";
|
|
69
69
|
class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.VariantUnavailableError", {
|
|
70
|
-
providerID:
|
|
71
|
-
modelID:
|
|
70
|
+
providerID: ID14,
|
|
71
|
+
modelID: ID13,
|
|
72
72
|
variant: VariantID2
|
|
73
73
|
}) {
|
|
74
74
|
get message() {
|
|
@@ -77,8 +77,8 @@ class VariantUnavailableError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
77
77
|
}
|
|
78
78
|
|
|
79
79
|
class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedPackageError", {
|
|
80
|
-
providerID:
|
|
81
|
-
modelID:
|
|
80
|
+
providerID: ID14,
|
|
81
|
+
modelID: ID13,
|
|
82
82
|
package: Schema.String
|
|
83
83
|
}) {
|
|
84
84
|
get message() {
|
|
@@ -88,8 +88,8 @@ class UnsupportedPackageError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
88
88
|
var InitializationPhase2 = Schema.Literals(["load", "init", "construct"]);
|
|
89
89
|
|
|
90
90
|
class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelConfigurationError", {
|
|
91
|
-
providerID:
|
|
92
|
-
modelID:
|
|
91
|
+
providerID: ID14,
|
|
92
|
+
modelID: ID13,
|
|
93
93
|
package: Schema.String,
|
|
94
94
|
detail: Schema.String
|
|
95
95
|
}) {
|
|
@@ -99,8 +99,8 @@ class ModelConfigurationError2 extends Schema.TaggedError()("SessionRunnerModel.
|
|
|
99
99
|
}
|
|
100
100
|
|
|
101
101
|
class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel.ModelInitializationError", {
|
|
102
|
-
providerID:
|
|
103
|
-
modelID:
|
|
102
|
+
providerID: ID14,
|
|
103
|
+
modelID: ID13,
|
|
104
104
|
package: Schema.String,
|
|
105
105
|
phase: InitializationPhase2,
|
|
106
106
|
detail: Schema.String
|
|
@@ -111,8 +111,8 @@ class ModelInitializationError2 extends Schema.TaggedError()("SessionRunnerModel
|
|
|
111
111
|
}
|
|
112
112
|
|
|
113
113
|
class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRunnerModel.UnresolvedProviderVariablesError", {
|
|
114
|
-
providerID:
|
|
115
|
-
modelID:
|
|
114
|
+
providerID: ID14,
|
|
115
|
+
modelID: ID13,
|
|
116
116
|
variables: Schema.Array(Schema.String)
|
|
117
117
|
}) {
|
|
118
118
|
get message() {
|
|
@@ -121,8 +121,8 @@ class UnresolvedProviderVariablesError2 extends Schema.TaggedError()("SessionRun
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerModel.UnsupportedCompactionError", {
|
|
124
|
-
providerID:
|
|
125
|
-
modelID:
|
|
124
|
+
providerID: ID14,
|
|
125
|
+
modelID: ID13,
|
|
126
126
|
route: Schema.String
|
|
127
127
|
}) {
|
|
128
128
|
get message() {
|
|
@@ -130,7 +130,7 @@ class UnsupportedCompactionError2 extends Schema.TaggedError()("SessionRunnerMod
|
|
|
130
130
|
}
|
|
131
131
|
}
|
|
132
132
|
|
|
133
|
-
class
|
|
133
|
+
class Service54 extends Context.Service()("@opencode/ModelResolver") {
|
|
134
134
|
}
|
|
135
135
|
var withVariant2 = (model, variantID) => {
|
|
136
136
|
const id = variantID === "default" ? undefined : variantID;
|
|
@@ -262,7 +262,7 @@ var nativeCredentialSettings = (model, specifier, credential) => {
|
|
|
262
262
|
return tokenSettings(specifier, credential.access);
|
|
263
263
|
if (specifier.startsWith("@opencode/ai/providers/amazon-bedrock"))
|
|
264
264
|
return { auth: "sigv4" };
|
|
265
|
-
if (model.providerID ===
|
|
265
|
+
if (model.providerID === ID14.azure)
|
|
266
266
|
return tokenSettings(specifier, "azure-cli");
|
|
267
267
|
return {};
|
|
268
268
|
};
|
|
@@ -297,19 +297,19 @@ var causeMessage = (cause) => {
|
|
|
297
297
|
};
|
|
298
298
|
var resolveModel3 = (model, variant, credential, dependencies) => withVariant2(model, variant).pipe(Effect.flatMap((model) => fromCatalogModel2(model, credential, dependencies)));
|
|
299
299
|
var hasPackage2 = (model) => Boolean(model.package);
|
|
300
|
-
var
|
|
300
|
+
var layer24 = Layer.effect(Service54, Effect.gen(function* () {
|
|
301
301
|
const providers = yield* Service77;
|
|
302
|
-
const models = yield*
|
|
302
|
+
const models = yield* Service76;
|
|
303
303
|
const integrations = yield* Service78;
|
|
304
304
|
const npm = yield* Npm.Service;
|
|
305
|
-
const aisdk = yield*
|
|
305
|
+
const aisdk = yield* Service65;
|
|
306
306
|
const dependencies = {
|
|
307
307
|
loadPackage: (specifier) => loadPackage2(specifier, npm),
|
|
308
308
|
loadAISDK: (model) => aisdk.model(model)
|
|
309
309
|
};
|
|
310
310
|
const prepare = Effect.fn("ModelResolver.prepare")(function* (selected, variant) {
|
|
311
311
|
const provider = yield* providers.get(selected.providerID);
|
|
312
|
-
const connection = yield* integrations.connection.active(provider?.integrationID ??
|
|
312
|
+
const connection = yield* integrations.connection.active(provider?.integrationID ?? ID15.make(selected.providerID));
|
|
313
313
|
const credential = connection ? yield* integrations.connection.resolve(connection) : undefined;
|
|
314
314
|
const selectedVariant = yield* withVariant2(selected, variant);
|
|
315
315
|
const runtimeInfo = {
|
|
@@ -345,7 +345,7 @@ var layer25 = Layer.effect(Service72, Effect.gen(function* () {
|
|
|
345
345
|
const { credential, runtimeInfo } = yield* prepare(info, ref.variant);
|
|
346
346
|
return yield* fromCatalogMedia(runtimeInfo, is, credential, dependencies);
|
|
347
347
|
});
|
|
348
|
-
return
|
|
348
|
+
return Service54.of({
|
|
349
349
|
resolve: Effect.fn("ModelResolver.resolve")(function* (requested) {
|
|
350
350
|
const selected = requested ? yield* models.get(requested.providerID, requested.id) : yield* models.default().pipe(Effect.flatMap((model) => model && hasPackage2(model) ? Effect.succeed(model) : Effect.map(models.available(), (models) => models.find((model) => hasPackage2(model) && supportsText2(model)))));
|
|
351
351
|
if (!selected)
|
|
@@ -368,10 +368,10 @@ function usesAPIKeyAuth(packageName) {
|
|
|
368
368
|
const name = packageName2(packageName);
|
|
369
369
|
return name === "@ai-sdk/openai" || name === "@ai-sdk/anthropic" || name === "@ai-sdk/cerebras" || name === "@ai-sdk/deepinfra" || name === "@ai-sdk/openai-compatible" || name === "@ai-sdk/google" || name === "@ai-sdk/groq" || name === "@ai-sdk/mistral" || name === "@ai-sdk/togetherai" || name === "@ai-sdk/xai" || name === "@openrouter/ai-sdk-provider" || name === "@ai-sdk/azure" || name === "@opencode/ai/providers/openai" || name?.startsWith("@opencode/ai/providers/openai/") === true || name === "@opencode/ai/providers/anthropic" || name === "@opencode/ai/providers/anthropic-compatible" || name === "@opencode/ai/providers/baseten" || name === "@opencode/ai/providers/cerebras" || name === "@opencode/ai/providers/cloudflare-ai-gateway" || name === "@opencode/ai/providers/cloudflare-workers-ai" || name === "@opencode/ai/providers/deepinfra" || name === "@opencode/ai/providers/deepseek" || name === "@opencode/ai/providers/fireworks" || name === "@opencode/ai/providers/openai-compatible" || name === "@opencode/ai/providers/google" || name === "@opencode/ai/providers/google/interactions" || name === "@opencode/ai/providers/groq" || name === "@opencode/ai/providers/mistral" || name === "@opencode/ai/providers/togetherai" || name === "@opencode/ai/providers/vercel-ai-gateway" || name === "@opencode/ai/providers/xai" || name === "@opencode/ai/providers/openrouter" || name === "@opencode/ai/providers/azure" || name?.startsWith("@opencode/ai/providers/azure/") === true;
|
|
370
370
|
}
|
|
371
|
-
var
|
|
372
|
-
service:
|
|
373
|
-
layer:
|
|
374
|
-
deps: [
|
|
371
|
+
var node57 = makeLocationNode({
|
|
372
|
+
service: Service54,
|
|
373
|
+
layer: layer24,
|
|
374
|
+
deps: [node81, node80, node82, Npm.node, node68]
|
|
375
375
|
});
|
|
376
376
|
|
|
377
|
-
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2,
|
|
377
|
+
export { VariantUnavailableError2, UnsupportedPackageError2, InitializationPhase2, ModelConfigurationError2, ModelInitializationError2, UnresolvedProviderVariablesError2, UnsupportedCompactionError2, Service54, withVariant2, fromCatalogModel2, resolveModel3, hasPackage2, layer24, node57, exports_model_resolver };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID13
|
|
3
|
+
} from "./snapshot-k96bjchk.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/openrouter.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -21,7 +21,7 @@ var OpenRouterPlugin2 = define({
|
|
|
21
21
|
for (const item of models.provider.list()) {
|
|
22
22
|
if (item.provider.package !== "@opencode/ai/providers/openrouter")
|
|
23
23
|
continue;
|
|
24
|
-
for (const modelID of [
|
|
24
|
+
for (const modelID of [ID13.make("gpt-5-chat-latest"), ID13.make("openai/gpt-5-chat")]) {
|
|
25
25
|
if (!models.get(item.provider.id, modelID))
|
|
26
26
|
continue;
|
|
27
27
|
models.update(item.provider.id, modelID, (model) => {
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/image/notice.ts
|
|
6
6
|
var exports_notice = {};
|
|
7
7
|
__export(exports_notice, {
|
|
8
8
|
ImageNotice: () => exports_notice,
|
|
9
|
-
text: () =>
|
|
9
|
+
text: () => text2
|
|
10
10
|
});
|
|
11
|
-
function
|
|
11
|
+
function text2(input) {
|
|
12
12
|
return `<image id="${input.id}" state="${input.state}">
|
|
13
13
|
${input.body}
|
|
14
14
|
</image>`;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
|
-
export {
|
|
17
|
+
export { text2, exports_notice };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/plugin/warming.ts
|
|
10
10
|
var exports_warming = {};
|
|
11
11
|
__export(exports_warming, {
|
|
12
|
-
Plugin: () =>
|
|
12
|
+
Plugin: () => Plugin31,
|
|
13
13
|
WarmingPlugin: () => exports_warming
|
|
14
14
|
});
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -19,10 +19,10 @@ var defaults = {
|
|
|
19
19
|
interval: Duration.minutes(4),
|
|
20
20
|
duration: Duration.minutes(30)
|
|
21
21
|
};
|
|
22
|
-
var
|
|
22
|
+
var Plugin31 = define({
|
|
23
23
|
id: "opencode.warming",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
25
|
+
const config = yield* Service70;
|
|
26
26
|
const loadSettings = Effect.fn("WarmingPlugin.loadSettings")(function* () {
|
|
27
27
|
const warming = latest2(yield* config.entries(), "warming");
|
|
28
28
|
if (!warming)
|
|
@@ -115,4 +115,4 @@ var Plugin44 = define({
|
|
|
115
115
|
})
|
|
116
116
|
});
|
|
117
117
|
|
|
118
|
-
export {
|
|
118
|
+
export { Plugin31, exports_warming };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/effect/keyed-mutex.ts
|
|
6
6
|
var exports_keyed_mutex = {};
|
|
7
7
|
__export(exports_keyed_mutex, {
|
|
8
8
|
KeyedMutex: () => exports_keyed_mutex,
|
|
9
|
-
make: () =>
|
|
9
|
+
make: () => make23,
|
|
10
10
|
makeUnsafe: () => makeUnsafe2
|
|
11
11
|
});
|
|
12
12
|
import { Effect, Semaphore } from "effect";
|
|
@@ -26,6 +26,6 @@ var makeUnsafe2 = () => {
|
|
|
26
26
|
});
|
|
27
27
|
return { size: Effect.sync(() => locks.size), withLock };
|
|
28
28
|
};
|
|
29
|
-
var
|
|
29
|
+
var make23 = () => Effect.sync(makeUnsafe2);
|
|
30
30
|
|
|
31
|
-
export { makeUnsafe2,
|
|
31
|
+
export { makeUnsafe2, make23, exports_keyed_mutex };
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./snapshot-a7hv09h9.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service85,
|
|
7
|
+
node89
|
|
8
|
+
} from "./snapshot-7kaqz624.js";
|
|
9
9
|
import {
|
|
10
10
|
changes2,
|
|
11
11
|
create3
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./snapshot-204s3925.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/websearch.ts
|
|
18
18
|
var exports_websearch3 = {};
|
|
19
19
|
__export(exports_websearch3, {
|
|
20
20
|
DisabledError: () => DisabledError3,
|
|
21
|
-
Event: () =>
|
|
22
|
-
ID: () =>
|
|
21
|
+
Event: () => Event13,
|
|
22
|
+
ID: () => ID10,
|
|
23
23
|
Input: () => Input16,
|
|
24
24
|
Provider: () => Provider2,
|
|
25
25
|
ProviderKey: () => ProviderKey2,
|
|
@@ -29,29 +29,29 @@ __export(exports_websearch3, {
|
|
|
29
29
|
Response: () => Response2,
|
|
30
30
|
Result: () => Result2,
|
|
31
31
|
Selection: () => Selection2,
|
|
32
|
-
Service: () =>
|
|
32
|
+
Service: () => Service66,
|
|
33
33
|
WebSearch: () => exports_websearch3,
|
|
34
|
-
node: () =>
|
|
34
|
+
node: () => node69
|
|
35
35
|
});
|
|
36
36
|
import { WebSearch } from "@opencode/schema/websearch";
|
|
37
37
|
import { SessionEvent } from "@opencode/schema/session-event";
|
|
38
38
|
import { Clock, Context, Effect, Layer, Option, Schema, Stream } from "effect";
|
|
39
39
|
import { HttpClientError } from "effect/http";
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
|
-
import { Event as
|
|
42
|
-
var
|
|
41
|
+
import { Event as Event13 } from "@opencode/schema/websearch";
|
|
42
|
+
var ID10 = WebSearch.ID;
|
|
43
43
|
var Provider2 = WebSearch.Provider;
|
|
44
44
|
var Input16 = WebSearch.Input;
|
|
45
45
|
var Result2 = WebSearch.Result;
|
|
46
46
|
var Response2 = WebSearch.Response;
|
|
47
47
|
var ProviderKey2 = "websearch:provider";
|
|
48
|
-
var Selection2 = Schema.Union([
|
|
48
|
+
var Selection2 = Schema.Union([ID10, Schema.Literal("random"), Schema.Literal(false)]);
|
|
49
49
|
|
|
50
50
|
class ProviderRequiredError2 extends Schema.TaggedError()("WebSearch.ProviderRequired", {}) {
|
|
51
51
|
}
|
|
52
52
|
|
|
53
53
|
class ProviderNotFoundError2 extends Schema.TaggedError()("WebSearch.ProviderNotFound", {
|
|
54
|
-
providerID:
|
|
54
|
+
providerID: ID10
|
|
55
55
|
}) {
|
|
56
56
|
}
|
|
57
57
|
|
|
@@ -59,16 +59,16 @@ class DisabledError3 extends Schema.TaggedError()("WebSearch.Disabled", {}) {
|
|
|
59
59
|
}
|
|
60
60
|
|
|
61
61
|
class RequestError2 extends Schema.TaggedError()("WebSearch.Request", {
|
|
62
|
-
providerID:
|
|
62
|
+
providerID: ID10,
|
|
63
63
|
cause: Schema.Defect()
|
|
64
64
|
}) {
|
|
65
65
|
}
|
|
66
66
|
|
|
67
|
-
class
|
|
67
|
+
class Service66 extends Context.Service()("@opencode/WebSearch") {
|
|
68
68
|
}
|
|
69
|
-
var layer = Layer.effect(
|
|
69
|
+
var layer = Layer.effect(Service66, Effect.gen(function* () {
|
|
70
70
|
const bus = yield* Service86;
|
|
71
|
-
const kv = yield*
|
|
71
|
+
const kv = yield* Service85;
|
|
72
72
|
const decodeResults = Schema.decodeUnknownEffect(Schema.Array(Result2));
|
|
73
73
|
const cooldowns = new Map;
|
|
74
74
|
const preferred = new Map;
|
|
@@ -131,7 +131,7 @@ var layer = Layer.effect(Service39, Effect.gen(function* () {
|
|
|
131
131
|
}
|
|
132
132
|
return choice ? state.get().providers.get(choice) : undefined;
|
|
133
133
|
});
|
|
134
|
-
return
|
|
134
|
+
return Service66.of({
|
|
135
135
|
transform: state.transform,
|
|
136
136
|
reload: state.reload,
|
|
137
137
|
providers: Effect.fn("WebSearch.providers")(function* () {
|
|
@@ -188,10 +188,10 @@ function cooldownMillis(value, now) {
|
|
|
188
188
|
const date = Date.parse(value);
|
|
189
189
|
return Number.isFinite(date) ? Math.max(0, date - now) : 60000;
|
|
190
190
|
}
|
|
191
|
-
var
|
|
192
|
-
service:
|
|
191
|
+
var node69 = makeLocationNode({
|
|
192
|
+
service: Service66,
|
|
193
193
|
layer,
|
|
194
|
-
deps: [
|
|
194
|
+
deps: [node90, node89]
|
|
195
195
|
});
|
|
196
196
|
|
|
197
|
-
export {
|
|
197
|
+
export { ID10, Provider2, Input16, Result2, Response2, ProviderKey2, Selection2, ProviderRequiredError2, ProviderNotFoundError2, DisabledError3, RequestError2, Service66, node69, exports_websearch3, Event13 };
|