@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,46 +1,46 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-6rqmms3d.js";
|
|
4
4
|
import {
|
|
5
5
|
Service86
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./snapshot-a7hv09h9.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
8
|
+
ID17,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-80dydmy6.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./snapshot-95sp4hdf.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID15,
|
|
17
17
|
MethodID2,
|
|
18
18
|
AuthorizationError2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./snapshot-y9j1a3y8.js";
|
|
20
20
|
import {
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
ID14
|
|
22
|
+
} from "./snapshot-jx7g0qr7.js";
|
|
23
23
|
import {
|
|
24
24
|
Remote3,
|
|
25
25
|
Document3,
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
26
|
+
make21
|
|
27
|
+
} from "./snapshot-r2s7w9p5.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
29
|
+
Service70
|
|
30
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
31
31
|
import {
|
|
32
32
|
integrate2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./snapshot-yda73aff.js";
|
|
34
34
|
import {
|
|
35
35
|
defaultServer2,
|
|
36
36
|
server2,
|
|
37
37
|
headers2
|
|
38
|
-
} from "./
|
|
38
|
+
} from "./snapshot-kt3bjfbg.js";
|
|
39
39
|
import {
|
|
40
|
-
|
|
40
|
+
ID10,
|
|
41
41
|
Input16,
|
|
42
42
|
Response2
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./snapshot-8ktw2vv7.js";
|
|
44
44
|
|
|
45
45
|
// src/plugin/provider/opencode.ts
|
|
46
46
|
import { Clock, Duration, Effect, Equal, FiberHandle, Option, Schema, Scope, Semaphore, Stream } from "effect";
|
|
@@ -91,7 +91,7 @@ class SignedOutError extends Schema.TaggedError()("OpencodeConsole.SignedOut", {
|
|
|
91
91
|
}
|
|
92
92
|
function oauth(http) {
|
|
93
93
|
return {
|
|
94
|
-
integrationID:
|
|
94
|
+
integrationID: ID15.make("opencode"),
|
|
95
95
|
method: {
|
|
96
96
|
id: methodID,
|
|
97
97
|
type: "oauth",
|
|
@@ -159,7 +159,7 @@ var OpencodePlugin2 = define({
|
|
|
159
159
|
const bus = yield* Service86;
|
|
160
160
|
const client = yield* HttpClient.HttpClient;
|
|
161
161
|
const http = HttpClient.mapRequest(client, HttpClientRequest.setHeader("User-Agent", useragent2(ctx.app)));
|
|
162
|
-
const config = yield*
|
|
162
|
+
const config = yield* Service70;
|
|
163
163
|
const scope = yield* Scope.Scope;
|
|
164
164
|
const loading = Semaphore.makeUnsafe(1);
|
|
165
165
|
let snapshot = { remote: undefined, connection: undefined, organization: undefined };
|
|
@@ -195,13 +195,13 @@ var OpencodePlugin2 = define({
|
|
|
195
195
|
});
|
|
196
196
|
let integrated;
|
|
197
197
|
const integrate = Effect.fnUntraced(function* (document) {
|
|
198
|
-
yield* config.integration?.(
|
|
199
|
-
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID ===
|
|
198
|
+
yield* config.integration?.(ID15.make("opencode"), document) ?? Effect.void;
|
|
199
|
+
integrated = (yield* config.entries()).find((entry) => entry instanceof Document3 && entry.integrationID === ID15.make("opencode"));
|
|
200
200
|
});
|
|
201
201
|
const publish = Effect.fnUntraced(function* (next) {
|
|
202
|
-
yield* integrate(next.remote && next.connection &&
|
|
203
|
-
integrationID:
|
|
204
|
-
connection: next.connection.type === "credential" ? { ...next.connection, id:
|
|
202
|
+
yield* integrate(next.remote && next.connection && make21({
|
|
203
|
+
integrationID: ID15.make("opencode"),
|
|
204
|
+
connection: next.connection.type === "credential" ? { ...next.connection, id: ID17.make(next.connection.id) } : next.connection,
|
|
205
205
|
organization: next.organization,
|
|
206
206
|
info: next.remote
|
|
207
207
|
}));
|
|
@@ -249,7 +249,7 @@ var OpencodePlugin2 = define({
|
|
|
249
249
|
integrate2(providers, integrated);
|
|
250
250
|
});
|
|
251
251
|
yield* ctx.provider.transform((providers) => {
|
|
252
|
-
const item = providers.get(
|
|
252
|
+
const item = providers.get(ID14.opencode);
|
|
253
253
|
if (!item)
|
|
254
254
|
return;
|
|
255
255
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey);
|
|
@@ -261,7 +261,7 @@ var OpencodePlugin2 = define({
|
|
|
261
261
|
});
|
|
262
262
|
});
|
|
263
263
|
yield* ctx.model.transform((models) => {
|
|
264
|
-
const item = models.provider.get(
|
|
264
|
+
const item = models.provider.get(ID14.opencode);
|
|
265
265
|
if (!item)
|
|
266
266
|
return;
|
|
267
267
|
const hasKey = Boolean(process.env.OPENCODE_API_KEY || snapshot.connection || item.provider.settings?.apiKey && item.provider.settings.apiKey !== "public");
|
|
@@ -276,7 +276,7 @@ var OpencodePlugin2 = define({
|
|
|
276
276
|
}
|
|
277
277
|
});
|
|
278
278
|
yield* ctx.websearch.transform((editor) => {
|
|
279
|
-
const provider =
|
|
279
|
+
const provider = ID10.make("opencode");
|
|
280
280
|
if (snapshot.remote?.websearch && snapshot.remote.websearch.provider === provider && snapshot.connection)
|
|
281
281
|
editor.add(search(provider, snapshot.connection));
|
|
282
282
|
});
|
|
@@ -315,7 +315,7 @@ var OpencodePlugin2 = define({
|
|
|
315
315
|
const guard = Effect.fn("OpencodePlugin.guard")(function* (next) {
|
|
316
316
|
yield* Effect.forEach(explainers, (registration) => registration.dispose, { discard: true });
|
|
317
317
|
explainers = yield* Effect.forEach(next.connection ? new Set([
|
|
318
|
-
|
|
318
|
+
ID14.opencode,
|
|
319
319
|
...Object.keys(next.remote?.providers ?? {})
|
|
320
320
|
]) : [], (providerID) => ctx.session.hook("http.response", explain, { providerID }).pipe(Scope.provide(scope)));
|
|
321
321
|
});
|
|
@@ -328,7 +328,7 @@ var OpencodePlugin2 = define({
|
|
|
328
328
|
onlyIfMissing: true
|
|
329
329
|
});
|
|
330
330
|
});
|
|
331
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
331
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID15.make("opencode")), Stream.runForEach(() => refresh().pipe(Effect.andThen(poll()))), Effect.forkScoped({ startImmediately: true }));
|
|
332
332
|
yield* poll();
|
|
333
333
|
})
|
|
334
334
|
});
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./snapshot-a7hv09h9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-204s3925.js";
|
|
9
9
|
import {
|
|
10
10
|
key2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./snapshot-95sp4hdf.js";
|
|
12
12
|
import {
|
|
13
|
-
|
|
13
|
+
ID15,
|
|
14
14
|
Service78,
|
|
15
|
-
|
|
15
|
+
node82,
|
|
16
16
|
Event17
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./snapshot-y9j1a3y8.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
} from "./
|
|
19
|
+
Service81,
|
|
20
|
+
node85
|
|
21
|
+
} from "./snapshot-grg4dqxx.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/provider.ts
|
|
27
27
|
var exports_provider3 = {};
|
|
@@ -32,8 +32,8 @@ __export(exports_provider3, {
|
|
|
32
32
|
DEFAULT_CHUNK_TIMEOUT_MS: () => DEFAULT_CHUNK_TIMEOUT_MS2,
|
|
33
33
|
DEFAULT_TIMEOUT_MS: () => DEFAULT_TIMEOUT_MS3,
|
|
34
34
|
Event: () => Event16,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID14,
|
|
36
|
+
Info: () => Info24,
|
|
37
37
|
LoadError: () => LoadError3,
|
|
38
38
|
Provider: () => exports_provider3,
|
|
39
39
|
Request: () => Request4,
|
|
@@ -49,7 +49,7 @@ __export(exports_provider3, {
|
|
|
49
49
|
mergeOverlay: () => mergeOverlay2,
|
|
50
50
|
modelSettings: () => modelSettings2,
|
|
51
51
|
nativeSettings: () => nativeSettings2,
|
|
52
|
-
node: () =>
|
|
52
|
+
node: () => node81,
|
|
53
53
|
packageName: () => packageName2,
|
|
54
54
|
timeout: () => timeout2,
|
|
55
55
|
timeouts: () => timeouts2
|
|
@@ -333,7 +333,7 @@ var decode = Schema.decodeUnknownSync(Legacy);
|
|
|
333
333
|
|
|
334
334
|
// src/provider.ts
|
|
335
335
|
import { Event as Event16 } from "@opencode/schema/provider";
|
|
336
|
-
var
|
|
336
|
+
var ID14 = Provider.ID;
|
|
337
337
|
var AISDK_PREFIX2 = "aisdk:";
|
|
338
338
|
var isAISDK2 = (value) => value?.startsWith(AISDK_PREFIX2) ?? false;
|
|
339
339
|
var aisdk2 = (value) => isAISDK2(value) ? value : `${AISDK_PREFIX2}${value}`;
|
|
@@ -577,7 +577,7 @@ var Compaction3 = Provider.Compaction;
|
|
|
577
577
|
var Cache2 = Provider.Cache;
|
|
578
578
|
var Transport2 = Provider.Transport;
|
|
579
579
|
var Settings2 = Provider.Settings;
|
|
580
|
-
var
|
|
580
|
+
var Info24 = Provider.Info;
|
|
581
581
|
|
|
582
582
|
class Service77 extends Context.Service()("@opencode/Provider") {
|
|
583
583
|
}
|
|
@@ -595,7 +595,7 @@ function index(providerID, models) {
|
|
|
595
595
|
var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
596
596
|
const bus = yield* Service86;
|
|
597
597
|
const integrations = yield* Service78;
|
|
598
|
-
const location = yield*
|
|
598
|
+
const location = yield* Service81;
|
|
599
599
|
const state = create3({
|
|
600
600
|
name: "provider",
|
|
601
601
|
initial: () => new Map,
|
|
@@ -606,7 +606,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
606
606
|
const current = records.get(id);
|
|
607
607
|
if (current)
|
|
608
608
|
return current;
|
|
609
|
-
const added = { provider:
|
|
609
|
+
const added = { provider: Info24.empty(id), models: new Map };
|
|
610
610
|
records.set(id, added);
|
|
611
611
|
maps.add(added.models);
|
|
612
612
|
return added;
|
|
@@ -687,7 +687,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
687
687
|
const available = Array.from(records.values()).filter((record) => {
|
|
688
688
|
if (record.provider.activation === "disabled")
|
|
689
689
|
return false;
|
|
690
|
-
const integration = byID.get(record.provider.integrationID ??
|
|
690
|
+
const integration = byID.get(record.provider.integrationID ?? ID15.make(record.provider.id));
|
|
691
691
|
if (record.sourceConnection && key2(record.sourceConnection) !== key2(integration?.connections[0]))
|
|
692
692
|
return false;
|
|
693
693
|
if (record.provider.activation === "enabled")
|
|
@@ -723,7 +723,7 @@ var layer = Layer.effect(Service77, Effect2.gen(function* () {
|
|
|
723
723
|
snapshot
|
|
724
724
|
});
|
|
725
725
|
}));
|
|
726
|
-
var
|
|
726
|
+
var node81 = makeLocationNode({ service: Service77, layer, deps: [node90, node82, node85] });
|
|
727
727
|
var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, entrypoint, load = () => importModule(entrypoint)) {
|
|
728
728
|
const module = yield* Effect2.tryPromise({
|
|
729
729
|
try: () => {
|
|
@@ -745,4 +745,4 @@ var importPackage = Effect2.fn("Provider.importPackage")(function* (specifier, e
|
|
|
745
745
|
return module;
|
|
746
746
|
});
|
|
747
747
|
|
|
748
|
-
export { rewrite2, native2, exports_aisdk_native,
|
|
748
|
+
export { rewrite2, native2, exports_aisdk_native, ID14, AISDK_PREFIX2, isAISDK2, aisdk2, packageName2, LoadError3, builtinPackages2, loadPackage2, nativeSettings2, modelSettings2, DEFAULT_TIMEOUT_MS3, DEFAULT_CHUNK_TIMEOUT_MS2, timeout2, timeouts2, encoding2, mergeOverlay2, mergeHeaders2, Request4, Compaction3, Cache2, Transport2, Settings2, Info24, Service77, node81, exports_provider3, Event16 };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
fromPromise2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./snapshot-4v008n1t.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service71
|
|
6
|
+
} from "./snapshot-w68dkr85.js";
|
|
7
7
|
import {
|
|
8
8
|
statements2,
|
|
9
9
|
decision2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./snapshot-sqrwb7ek.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
12
|
+
Service70
|
|
13
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/plugin/module.ts
|
|
19
19
|
var exports_module = {};
|
|
20
20
|
__export(exports_module, {
|
|
21
21
|
LoadError: () => LoadError2,
|
|
22
22
|
PluginModule: () => exports_module,
|
|
23
|
-
make: () =>
|
|
23
|
+
make: () => make3
|
|
24
24
|
});
|
|
25
25
|
import { Host } from "@opencode/plugin/host";
|
|
26
26
|
import { GuiBundle } from "@opencode/schema/plugin";
|
|
@@ -31,9 +31,9 @@ import { Deferred, Effect, FiberSet, PubSub, Schema, Stream } from "effect";
|
|
|
31
31
|
import path from "path";
|
|
32
32
|
import { readFile, stat } from "node:fs/promises";
|
|
33
33
|
import { fileURLToPath, pathToFileURL } from "url";
|
|
34
|
-
var
|
|
35
|
-
const config = yield*
|
|
36
|
-
const watcher = yield*
|
|
34
|
+
var make3 = Effect.fn("PluginModule.make")(function* () {
|
|
35
|
+
const config = yield* Service70;
|
|
36
|
+
const watcher = yield* Service71;
|
|
37
37
|
const scope = yield* Effect.scope;
|
|
38
38
|
const runPromise = yield* FiberSet.makeRuntimePromise();
|
|
39
39
|
const changes = yield* PubSub.unbounded();
|
|
@@ -136,4 +136,4 @@ var loadServer = Effect.fn("PluginModule.loadServer")(function* (entrypoint, sou
|
|
|
136
136
|
return { plugin: "effect" in value ? value : fromPromise2(value), version: loaded.version };
|
|
137
137
|
});
|
|
138
138
|
|
|
139
|
-
export {
|
|
139
|
+
export { make3, LoadError2, exports_module };
|
|
@@ -1,26 +1,26 @@
|
|
|
1
1
|
import {
|
|
2
2
|
latest2,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
Service70
|
|
4
|
+
} from "./snapshot-vpeh2c4h.js";
|
|
5
5
|
import {
|
|
6
6
|
observe2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./snapshot-hpg1pkwy.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service59
|
|
10
|
+
} from "./snapshot-xv2swx2p.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/todo.ts
|
|
16
16
|
var exports_todo = {};
|
|
17
17
|
__export(exports_todo, {
|
|
18
18
|
Info: () => Info2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
Output: () =>
|
|
21
|
-
Plugin: () =>
|
|
19
|
+
Input: () => Input11,
|
|
20
|
+
Output: () => Output8,
|
|
21
|
+
Plugin: () => Plugin12,
|
|
22
22
|
TodoTool: () => exports_todo,
|
|
23
|
-
name: () =>
|
|
23
|
+
name: () => name11,
|
|
24
24
|
summarize: () => summarize2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
@@ -37,17 +37,17 @@ Use it proactively when a task has 3 or more distinct steps, or when the user gi
|
|
|
37
37
|
`;
|
|
38
38
|
|
|
39
39
|
// src/tool/plugin/todo.ts
|
|
40
|
-
var
|
|
40
|
+
var name11 = "todowrite";
|
|
41
41
|
var Info2 = Schema.Struct({
|
|
42
42
|
content: Schema.String.annotate({ description: "Brief description of the task" }),
|
|
43
43
|
status: Schema.Literals(["pending", "in_progress", "completed", "cancelled"]).annotate({
|
|
44
44
|
description: "Current status of the task: pending, in_progress, completed, cancelled"
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
|
-
var
|
|
47
|
+
var Input11 = Schema.Struct({
|
|
48
48
|
todos: Schema.Array(Info2).annotate({ description: "The updated todo list" })
|
|
49
49
|
});
|
|
50
|
-
var
|
|
50
|
+
var Output8 = Schema.Struct({
|
|
51
51
|
todos: Schema.Array(Info2)
|
|
52
52
|
});
|
|
53
53
|
var summarize2 = (todos) => {
|
|
@@ -61,24 +61,24 @@ var summarize2 = (todos) => {
|
|
|
61
61
|
const active = todos.filter((todo) => todo.status === "in_progress").map((todo) => JSON.stringify(todo.content));
|
|
62
62
|
return `Todos updated: ${counts}${active.length ? `. In progress: ${active.join(", ")}` : ""}`;
|
|
63
63
|
};
|
|
64
|
-
var
|
|
64
|
+
var Plugin12 = {
|
|
65
65
|
id: "opencode.tool.todo",
|
|
66
66
|
effect: Effect.fn("TodoTool.Plugin")(function* (ctx) {
|
|
67
|
-
const config = yield*
|
|
68
|
-
const permission = yield*
|
|
67
|
+
const config = yield* Service70;
|
|
68
|
+
const permission = yield* Service59;
|
|
69
69
|
const loaded = yield* observe2(config, ctx.event, ctx.tool.reload());
|
|
70
70
|
const enabled = () => latest2(loaded.entries, "experimental")?.todo === true;
|
|
71
71
|
yield* ctx.tool.transform((editor) => {
|
|
72
72
|
if (!enabled())
|
|
73
73
|
return;
|
|
74
74
|
editor.add({
|
|
75
|
-
name:
|
|
75
|
+
name: name11,
|
|
76
76
|
options: { codemode: false },
|
|
77
77
|
description: todowrite_default,
|
|
78
|
-
input:
|
|
79
|
-
output:
|
|
78
|
+
input: Input11,
|
|
79
|
+
output: Output8,
|
|
80
80
|
execute: (input, context) => permission.assert({
|
|
81
|
-
action:
|
|
81
|
+
action: name11,
|
|
82
82
|
resources: ["*"],
|
|
83
83
|
save: ["*"],
|
|
84
84
|
sessionID: context.sessionID,
|
|
@@ -94,4 +94,4 @@ var Plugin28 = {
|
|
|
94
94
|
})
|
|
95
95
|
};
|
|
96
96
|
|
|
97
|
-
export {
|
|
97
|
+
export { name11, Info2, Input11, Output8, summarize2, Plugin12, exports_todo };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service86,
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
3
|
+
node90
|
|
4
|
+
} from "./snapshot-a7hv09h9.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./snapshot-204s3925.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service81,
|
|
11
|
+
node85
|
|
12
|
+
} from "./snapshot-grg4dqxx.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID14,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
19
|
Service77,
|
|
20
|
-
|
|
20
|
+
node81,
|
|
21
21
|
Event16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./snapshot-jx7g0qr7.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./snapshot-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -32,17 +32,17 @@ __export(exports_model2, {
|
|
|
32
32
|
Cost: () => Cost2,
|
|
33
33
|
Event: () => Event15,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID13,
|
|
36
|
+
Info: () => Info23,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref3,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service76,
|
|
41
41
|
Type: () => Type2,
|
|
42
42
|
VariantID: () => VariantID2,
|
|
43
43
|
compatibility: () => compatibility2,
|
|
44
44
|
mergeCapabilities: () => mergeCapabilities2,
|
|
45
|
-
node: () =>
|
|
45
|
+
node: () => node80,
|
|
46
46
|
parse: () => parse5,
|
|
47
47
|
supportsText: () => supportsText2
|
|
48
48
|
});
|
|
@@ -51,7 +51,7 @@ import { Context, Effect, Layer, Stream } from "effect";
|
|
|
51
51
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
52
52
|
import { freeze } from "immer";
|
|
53
53
|
import { Event as Event15 } from "@opencode/schema/model";
|
|
54
|
-
var
|
|
54
|
+
var ID13 = Model.ID;
|
|
55
55
|
var VariantID2 = Model.VariantID;
|
|
56
56
|
var Family2 = Model.Family;
|
|
57
57
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -69,14 +69,14 @@ var mergeCapabilities2 = (config, base) => {
|
|
|
69
69
|
var Cost2 = Model.Cost;
|
|
70
70
|
var Type2 = Model.Type;
|
|
71
71
|
var Ref3 = Model.Ref;
|
|
72
|
-
var
|
|
72
|
+
var Info23 = Model.Info;
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service76 extends Context.Service()("@opencode/Model") {
|
|
75
75
|
}
|
|
76
|
-
var layer = Layer.effect(
|
|
76
|
+
var layer = Layer.effect(Service76, Effect.gen(function* () {
|
|
77
77
|
const providers = yield* Service77;
|
|
78
78
|
const bus = yield* Service86;
|
|
79
|
-
const location = yield*
|
|
79
|
+
const location = yield* Service81;
|
|
80
80
|
const disableFree = ["1", "true"].includes(process.env.OPENCODE_DISABLE_FREE_MODELS?.toLowerCase() ?? "");
|
|
81
81
|
let input;
|
|
82
82
|
const state = create3({
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
122
122
|
const models = writable(providerID);
|
|
123
123
|
if (!models)
|
|
124
124
|
return;
|
|
125
|
-
const model = draft(providerID, modelID) ??
|
|
125
|
+
const model = draft(providerID, modelID) ?? Info23.default(providerID, modelID);
|
|
126
126
|
update(model);
|
|
127
127
|
model.id = modelID;
|
|
128
128
|
model.providerID = providerID;
|
|
@@ -191,7 +191,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
191
191
|
];
|
|
192
192
|
}));
|
|
193
193
|
if (disableFree)
|
|
194
|
-
for (const providerID of [
|
|
194
|
+
for (const providerID of [ID14.opencode, ID14.make("opencode-go")])
|
|
195
195
|
byProvider.get(providerID)?.forEach((model, id, models) => {
|
|
196
196
|
if (!model.cost.some((cost) => cost.input > 0))
|
|
197
197
|
models.delete(id);
|
|
@@ -228,7 +228,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
228
228
|
});
|
|
229
229
|
});
|
|
230
230
|
yield* bus.subscribe(Event16.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
231
|
-
return
|
|
231
|
+
return Service76.of({
|
|
232
232
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
233
233
|
reload,
|
|
234
234
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -247,7 +247,7 @@ var layer = Layer.effect(Service74, Effect.gen(function* () {
|
|
|
247
247
|
})
|
|
248
248
|
});
|
|
249
249
|
}));
|
|
250
|
-
var
|
|
250
|
+
var node80 = makeLocationNode({ service: Service76, layer, deps: [node81, node90, node85] });
|
|
251
251
|
var PREFERRED_FREE = [
|
|
252
252
|
"big-pickle",
|
|
253
253
|
"deepseek-v4.1-flash-free",
|
|
@@ -255,7 +255,7 @@ var PREFERRED_FREE = [
|
|
|
255
255
|
"muse-spark-1.3-contributor-free"
|
|
256
256
|
];
|
|
257
257
|
function preferFree(models) {
|
|
258
|
-
const freeOnly = models.every((model) => model.providerID ===
|
|
258
|
+
const freeOnly = models.every((model) => model.providerID === ID14.opencode && !model.cost.some((cost) => cost.input > 0));
|
|
259
259
|
if (!freeOnly)
|
|
260
260
|
return models;
|
|
261
261
|
const picks = PREFERRED_FREE.flatMap((id) => models.find((model) => model.id === id) ?? []);
|
|
@@ -274,9 +274,9 @@ function compatibility2(input) {
|
|
|
274
274
|
function parse5(input) {
|
|
275
275
|
const index = input.indexOf("/");
|
|
276
276
|
return {
|
|
277
|
-
providerID:
|
|
278
|
-
modelID:
|
|
277
|
+
providerID: ID14.make(index === -1 ? input : input.slice(0, index)),
|
|
278
|
+
modelID: ID13.make(index === -1 ? "" : input.slice(index + 1))
|
|
279
279
|
};
|
|
280
280
|
}
|
|
281
281
|
|
|
282
|
-
export {
|
|
282
|
+
export { ID13, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, mergeCapabilities2, Cost2, Type2, Ref3, Info23, Service76, node80, supportsText2, compatibility2, parse5, exports_model2, Event15 };
|