@opencode/core 0.0.0-dev-88 → 0.0.0-dev-91
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 +87 -87
- package/dist/aisdk-native.js +97 -97
- package/dist/aisdk.js +103 -103
- package/dist/app.js +9 -9
- package/dist/bus.js +79 -79
- package/dist/chunks/tool-00ve6mdn.js +18 -0
- package/dist/chunks/{reference-2azy8kv6.js → tool-0ahs07zn.js} +4 -4
- package/dist/chunks/{reference-kmyndpj7.js → tool-0c8f71n7.js} +25 -25
- package/dist/chunks/{reference-41xwyab1.js → tool-0fwfag3t.js} +9 -9
- package/dist/chunks/{reference-tycat656.js → tool-0j4991a9.js} +23 -23
- package/dist/chunks/{reference-5w1743bk.js → tool-0j8sypb1.js} +33 -33
- package/dist/chunks/{reference-7cd00c8r.js → tool-0qbg5y1h.js} +85 -85
- package/dist/chunks/{reference-4c8wr4ge.js → tool-0ryed6y5.js} +17 -17
- package/dist/chunks/{reference-11hfp36g.js → tool-11hfp36g.js} +1 -1
- package/dist/chunks/{reference-4rrtbqfj.js → tool-14g07qkw.js} +25 -25
- package/dist/chunks/{reference-0cdqj2ev.js → tool-1cp227ey.js} +17 -17
- package/dist/chunks/{reference-kcfhzf92.js → tool-1ftdw7h3.js} +22 -22
- package/dist/chunks/{reference-v8qn6gca.js → tool-1gbxvym9.js} +8 -8
- package/dist/chunks/{reference-ydr0r0c4.js → tool-1ggxchhs.js} +16 -16
- package/dist/chunks/{reference-1kn6jdkn.js → tool-1kn6jdkn.js} +1 -1
- package/dist/chunks/{reference-96t7hsnc.js → tool-1pnwdb4n.js} +32 -32
- package/dist/chunks/{reference-05xp378r.js → tool-1q93rhva.js} +13 -13
- package/dist/chunks/{reference-hm5jv486.js → tool-1svbn1jm.js} +4 -4
- package/dist/chunks/{reference-w8n31mpc.js → tool-1t618e4c.js} +53 -53
- package/dist/chunks/{reference-1x2knyw4.js → tool-1x2knyw4.js} +1 -1
- package/dist/chunks/{reference-5zrxpy3q.js → tool-1yq9hg58.js} +5 -5
- package/dist/chunks/{reference-vh1bcmy7.js → tool-1zfa644b.js} +35 -35
- package/dist/chunks/{reference-204s3925.js → tool-204s3925.js} +1 -1
- package/dist/chunks/{reference-yj7wwm3n.js → tool-230veacn.js} +12 -12
- package/dist/chunks/{reference-1ep2p91f.js → tool-27w5k9zf.js} +2 -2
- package/dist/chunks/{reference-d0t22gk3.js → tool-28v09jk4.js} +9 -9
- package/dist/chunks/{reference-s7kyse9r.js → tool-2kg89srt.js} +4 -4
- package/dist/chunks/{reference-5mw9p4pk.js → tool-2kxyfk53.js} +1 -1
- package/dist/chunks/{reference-6h4mdy29.js → tool-2rvkjrha.js} +12 -12
- package/dist/chunks/{reference-wq6y9see.js → tool-2x2ke6ta.js} +47 -47
- package/dist/chunks/{reference-qkqjbc48.js → tool-2zp5a6yg.js} +3 -3
- package/dist/chunks/{reference-x6r4fegy.js → tool-305xqwqt.js} +40 -45
- package/dist/chunks/{reference-x6pyv2yz.js → tool-38adaqc0.js} +5 -5
- package/dist/chunks/{reference-bz017ehz.js → tool-3a164vj7.js} +22 -22
- package/dist/chunks/{reference-ayjs7tqn.js → tool-3cbjf1nt.js} +2 -2
- package/dist/chunks/{reference-5jbj61xt.js → tool-3dqda9j1.js} +60 -60
- package/dist/chunks/{reference-9q3jr3b2.js → tool-3e3jqjep.js} +7 -7
- package/dist/chunks/{reference-3hepkmqq.js → tool-3hepkmqq.js} +1 -1
- package/dist/chunks/{reference-3nnrz6f6.js → tool-3nnrz6f6.js} +1 -1
- package/dist/chunks/{reference-9y92s6fj.js → tool-3ran0gcz.js} +4 -4
- package/dist/chunks/{reference-nk9edasy.js → tool-3vschx9t.js} +4 -4
- package/dist/chunks/{reference-3dx6tc7y.js → tool-3xf4gmea.js} +34 -34
- package/dist/chunks/{reference-5enarcya.js → tool-40za9wsf.js} +6 -6
- package/dist/chunks/{reference-tvj9sf3a.js → tool-46hcmk88.js} +93 -93
- package/dist/chunks/{reference-9g9k5824.js → tool-4h4e17dv.js} +48 -48
- package/dist/chunks/{reference-jedme4q7.js → tool-4jxvx69e.js} +3 -3
- package/dist/chunks/{reference-zhhya0q8.js → tool-4mfe4fpk.js} +5 -5
- package/dist/chunks/{reference-4pyp9zr9.js → tool-4pyp9zr9.js} +1 -1
- package/dist/chunks/{reference-4v008n1t.js → tool-4v008n1t.js} +1 -1
- package/dist/chunks/{reference-thjzaypf.js → tool-4xer52tg.js} +11 -11
- package/dist/chunks/{reference-mm6f8m5x.js → tool-517jtzaa.js} +8 -8
- package/dist/chunks/{reference-a7mpn1ry.js → tool-52b9nvdb.js} +7 -7
- package/dist/chunks/{reference-hpcmzhc5.js → tool-5571esjp.js} +23 -23
- package/dist/chunks/{reference-xtcsqkmk.js → tool-5849hgw0.js} +15 -15
- package/dist/chunks/{reference-xz2wk1pj.js → tool-5fn6dbwx.js} +5 -5
- package/dist/chunks/{reference-94sxpgen.js → tool-5k73ne16.js} +21 -21
- package/dist/chunks/{reference-5m9w47nd.js → tool-5m9w47nd.js} +1 -1
- package/dist/chunks/{reference-qqn6ezee.js → tool-5phnv3yb.js} +6 -6
- package/dist/chunks/{reference-fm1b0qwr.js → tool-5wj60p4s.js} +11 -11
- package/dist/chunks/{reference-h77hjnzn.js → tool-5y20gt8q.js} +5 -5
- package/dist/chunks/{reference-d1v2vbzt.js → tool-61ennm6n.js} +4 -4
- package/dist/chunks/{reference-fwpsw9b8.js → tool-61q2c8gp.js} +4 -4
- package/dist/chunks/{reference-xzaxbh4c.js → tool-68x0q3w1.js} +25 -25
- package/dist/chunks/{reference-ppmjhmdn.js → tool-698qh926.js} +11 -11
- package/dist/chunks/{reference-03048zfc.js → tool-69xqjxg7.js} +6 -6
- package/dist/chunks/{reference-454hz5tr.js → tool-6b8745b8.js} +13 -13
- package/dist/chunks/{reference-6esdw8yj.js → tool-6esdw8yj.js} +1 -1
- package/dist/chunks/{reference-2ymt8bs9.js → tool-6fx7ap1b.js} +11 -11
- package/dist/chunks/{reference-399x40kv.js → tool-6g0tafez.js} +21 -21
- package/dist/chunks/{reference-krp6jf0c.js → tool-6khygjy4.js} +22 -22
- package/dist/chunks/{reference-2gm5wmn4.js → tool-6wkw62dq.js} +18 -18
- package/dist/chunks/{reference-zstkhq2e.js → tool-72nd48f3.js} +19 -19
- package/dist/chunks/{reference-57jkej76.js → tool-74zhyzb7.js} +6 -6
- package/dist/chunks/{reference-3excn5ca.js → tool-75c6t5n2.js} +48 -48
- package/dist/chunks/{reference-76cb1hcw.js → tool-76cb1hcw.js} +1 -1
- package/dist/chunks/{reference-nah043kf.js → tool-770pw0s1.js} +4 -4
- package/dist/chunks/{reference-g5g1wfe2.js → tool-7aawz9ta.js} +17 -17
- package/dist/chunks/{reference-s333tm96.js → tool-7aerd0dr.js} +9 -9
- package/dist/chunks/{reference-49qz2gqd.js → tool-7aq6rx75.js} +48 -48
- package/dist/chunks/{reference-7bmhse3q.js → tool-7bmhse3q.js} +1 -1
- package/dist/chunks/{reference-8r8vc63z.js → tool-7ddp8ank.js} +38 -38
- package/dist/chunks/{reference-p22kkxvy.js → tool-7enbyk8v.js} +15 -15
- package/dist/chunks/{reference-tnxzd87a.js → tool-7ez3gjeb.js} +15 -15
- package/dist/chunks/{reference-4h5tdd52.js → tool-7heva7vf.js} +15 -15
- package/dist/chunks/{reference-ewvsv6ts.js → tool-7jz89kf0.js} +5 -5
- package/dist/chunks/{reference-tg363vyk.js → tool-7mjr8a8n.js} +50 -50
- package/dist/chunks/{reference-3fehs55v.js → tool-7nbypc4n.js} +20 -20
- package/dist/chunks/{reference-6hta33qf.js → tool-7spmdhhv.js} +14 -14
- package/dist/chunks/{reference-zrvtj653.js → tool-7t6vbzys.js} +31 -31
- package/dist/chunks/{reference-p1htsza4.js → tool-7w0d3x1p.js} +35 -35
- package/dist/chunks/{reference-7w2ypzdf.js → tool-7w2ypzdf.js} +1 -1
- package/dist/chunks/{reference-g8xxsv15.js → tool-852b9zb5.js} +26 -26
- package/dist/chunks/{reference-7kvr92hx.js → tool-860bwv8p.js} +11 -11
- package/dist/chunks/{reference-p6extme0.js → tool-8vdz7xys.js} +11 -11
- package/dist/chunks/{reference-w4p85zmz.js → tool-8wdz4h3x.js} +26 -26
- package/dist/chunks/{reference-8wtp7s3z.js → tool-8wtp7s3z.js} +1 -1
- package/dist/chunks/{reference-90zstvax.js → tool-90zstvax.js} +1 -1
- package/dist/chunks/{reference-wjfea556.js → tool-91gn8tjy.js} +14 -14
- package/dist/chunks/{reference-pjqb08kt.js → tool-9ctmy678.js} +35 -35
- package/dist/chunks/{reference-n6fd0dvw.js → tool-9pneywy4.js} +11 -11
- package/dist/chunks/{reference-0eq01nmm.js → tool-9qcg53ez.js} +9 -9
- package/dist/chunks/{reference-nbw9vdm7.js → tool-9w4n3zkz.js} +3 -3
- package/dist/chunks/{reference-mqz3a5pm.js → tool-9yr7e8hg.js} +23 -23
- package/dist/chunks/{reference-034tev2y.js → tool-aj7mw0zk.js} +2 -2
- package/dist/chunks/{reference-fkdqsftc.js → tool-av2yj9c6.js} +11 -11
- package/dist/chunks/{reference-r6dv60ab.js → tool-awnpzmr9.js} +13 -13
- package/dist/chunks/tool-axtqa2m2.js +26 -0
- package/dist/chunks/{reference-shq9ftks.js → tool-axy5ptv8.js} +14 -17
- package/dist/chunks/{reference-b6vsg801.js → tool-b6vsg801.js} +2 -2
- package/dist/chunks/{reference-ga7vshj9.js → tool-ba26w197.js} +5 -5
- package/dist/chunks/{reference-h44kb9zp.js → tool-beyjcx72.js} +4 -4
- package/dist/chunks/{reference-1r8vjw6b.js → tool-bq6jjxqp.js} +27 -27
- package/dist/chunks/{reference-xd9cc171.js → tool-bstexjd6.js} +5 -5
- package/dist/chunks/{reference-tpcm2fp0.js → tool-bw4r357a.js} +9 -9
- package/dist/chunks/{reference-r6ae345h.js → tool-by8ezbee.js} +27 -27
- package/dist/chunks/{reference-5s3xscdw.js → tool-c4x8pk91.js} +3 -3
- package/dist/chunks/{reference-1zjscayb.js → tool-c50m1jnq.js} +21 -21
- package/dist/chunks/{reference-g7kcex0y.js → tool-c9c3vcvh.js} +6 -6
- package/dist/chunks/{reference-8ykqf5wm.js → tool-cmwydw43.js} +5 -5
- package/dist/chunks/{reference-bhxpw5jc.js → tool-cqw9ekvn.js} +9 -9
- package/dist/chunks/{reference-9setpf3m.js → tool-cs175ng9.js} +30 -30
- package/dist/chunks/{reference-aj4pq43j.js → tool-ct12tdge.js} +72 -72
- package/dist/chunks/{reference-cwrgdav8.js → tool-cwrgdav8.js} +2 -2
- package/dist/chunks/{reference-gssxfh3t.js → tool-d05zg70t.js} +24 -24
- package/dist/chunks/{reference-acp3br9k.js → tool-d24g109n.js} +4 -4
- package/dist/chunks/{reference-d4v9tmah.js → tool-d4v9tmah.js} +2 -2
- package/dist/chunks/{reference-n7j2vc45.js → tool-dcanc5rs.js} +11 -11
- package/dist/chunks/{reference-m8ekf0nj.js → tool-dp2cvfdy.js} +31 -31
- package/dist/chunks/{reference-cv45xqq7.js → tool-draeheqz.js} +12 -12
- package/dist/chunks/{reference-5vzhy7nz.js → tool-drvbhkez.js} +8 -8
- package/dist/chunks/{reference-f01y088k.js → tool-ds7r37yp.js} +5 -5
- package/dist/chunks/{reference-dt77769w.js → tool-dt77769w.js} +1 -1
- package/dist/chunks/{reference-jmfq5y88.js → tool-e1mb4rnk.js} +6 -6
- package/dist/chunks/{reference-e834z07m.js → tool-e834z07m.js} +1 -1
- package/dist/chunks/{reference-gxhmg8t6.js → tool-ee45cksz.js} +17 -17
- package/dist/chunks/{reference-ag7cwqnf.js → tool-emmmyxzw.js} +22 -22
- package/dist/chunks/{reference-gg8p9cgs.js → tool-ep59zg61.js} +3 -3
- package/dist/chunks/{reference-y7pnb98a.js → tool-ep9ghbrk.js} +11 -11
- package/dist/chunks/{reference-v5vb5nzm.js → tool-ex547tfp.js} +21 -21
- package/dist/chunks/{reference-d1vrh39f.js → tool-f3yfea70.js} +3 -3
- package/dist/chunks/{reference-xhmnf1d5.js → tool-f97eyc81.js} +5 -5
- package/dist/chunks/{reference-zd8w5hws.js → tool-fcdhbwna.js} +14 -16
- package/dist/chunks/{reference-fffv3p7h.js → tool-fffv3p7h.js} +1 -1
- package/dist/chunks/{reference-fg9p65nk.js → tool-fg9p65nk.js} +2 -2
- package/dist/chunks/{reference-358mwgz7.js → tool-fhq3mczf.js} +17 -17
- package/dist/chunks/{reference-wr3re1en.js → tool-fznmdakp.js} +4 -4
- package/dist/chunks/{reference-1zx9skwy.js → tool-gbzp4egg.js} +18 -18
- package/dist/chunks/{reference-yawad64g.js → tool-gcmr6tz2.js} +25 -25
- package/dist/chunks/{reference-s5r0ksct.js → tool-gk277ckk.js} +2 -2
- package/dist/chunks/{reference-hrz74jgp.js → tool-gn34jygc.js} +19 -19
- package/dist/chunks/{reference-7rnxwetx.js → tool-gp067yzn.js} +11 -11
- package/dist/chunks/{reference-3hs7pcyj.js → tool-gr5kqd9r.js} +25 -25
- package/dist/chunks/{reference-5w1mdqt7.js → tool-h3b857xk.js} +4 -4
- package/dist/chunks/{reference-4hgd96pp.js → tool-h57pbter.js} +13 -13
- package/dist/chunks/{reference-hdfrs5mg.js → tool-hdfrs5mg.js} +2 -2
- package/dist/chunks/{reference-d879sp0e.js → tool-hed2thzz.js} +7 -7
- package/dist/chunks/{reference-06w9ffrv.js → tool-hfgk9wzg.js} +5 -5
- package/dist/chunks/{reference-82ajznqh.js → tool-hghxj8gh.js} +18 -18
- package/dist/chunks/{reference-5x26af84.js → tool-hj8dv2fv.js} +4 -4
- package/dist/chunks/tool-hknrdqqs.js +257 -0
- package/dist/chunks/{reference-br866c65.js → tool-hn0gtwg2.js} +5 -5
- package/dist/chunks/{reference-hpg1pkwy.js → tool-hpg1pkwy.js} +1 -1
- package/dist/chunks/{reference-z0px8f9y.js → tool-hq4hw89f.js} +20 -20
- package/dist/chunks/{reference-8wnreytb.js → tool-hqz3v7ac.js} +11 -11
- package/dist/chunks/{reference-480x63m0.js → tool-hvb7rpxf.js} +19 -19
- package/dist/chunks/{reference-cw4hf64h.js → tool-hwp1rwn1.js} +14 -14
- package/dist/chunks/{reference-xfeq68e7.js → tool-j1568g2c.js} +9 -9
- package/dist/chunks/{reference-j44b1axw.js → tool-j5cqker3.js} +7 -7
- package/dist/chunks/{reference-38xn8s1k.js → tool-j8rqras6.js} +9 -9
- package/dist/chunks/{reference-mmjdt0jh.js → tool-j9z4bav5.js} +39 -39
- package/dist/chunks/{reference-ja63h2sr.js → tool-ja63h2sr.js} +2 -2
- package/dist/chunks/{reference-bbs40sma.js → tool-jem635sa.js} +7 -7
- package/dist/chunks/{reference-jfaecv01.js → tool-jfaecv01.js} +1 -1
- package/dist/chunks/{reference-73nkqsrq.js → tool-jh6e5x5q.js} +21 -21
- package/dist/chunks/{reference-3b67h89r.js → tool-jtj22pb2.js} +15 -15
- package/dist/chunks/{reference-jtnps1zs.js → tool-jtnps1zs.js} +2 -2
- package/dist/chunks/{reference-m805datt.js → tool-jx64hzqx.js} +22 -22
- package/dist/chunks/{reference-egwex341.js → tool-k65b2vst.js} +27 -27
- package/dist/chunks/{reference-k814nvkf.js → tool-k814nvkf.js} +1 -1
- package/dist/chunks/{reference-25ez0182.js → tool-k86ss76b.js} +14 -14
- package/dist/chunks/{reference-x7ps9kt0.js → tool-k8dvdjfn.js} +4 -4
- package/dist/chunks/{reference-arcv912a.js → tool-k91y97gc.js} +23 -23
- package/dist/chunks/{reference-pcty9z1k.js → tool-k9zkdd2y.js} +4 -4
- package/dist/chunks/{reference-mt7kez29.js → tool-kfjnvpza.js} +2 -2
- package/dist/chunks/{reference-3pn96c4m.js → tool-kpm58pge.js} +22 -22
- package/dist/chunks/{reference-2c8v61wj.js → tool-krv0p5sn.js} +14 -14
- package/dist/chunks/{reference-3j92816q.js → tool-ks317rcp.js} +2 -2
- package/dist/chunks/{reference-kt3bjfbg.js → tool-kt3bjfbg.js} +1 -1
- package/dist/chunks/{reference-bzabcrfb.js → tool-kx5zbgb5.js} +18 -18
- package/dist/chunks/{reference-fbep93ra.js → tool-m0jwy07f.js} +35 -35
- package/dist/chunks/{reference-m1714858.js → tool-m1714858.js} +1 -1
- package/dist/chunks/{reference-my6kf17f.js → tool-m6s8mxr7.js} +12 -12
- package/dist/chunks/{reference-m9w0rfyh.js → tool-m9w0rfyh.js} +1 -1
- package/dist/chunks/{reference-gfctfrej.js → tool-ma572n1c.js} +5 -5
- package/dist/chunks/{reference-kyxjnc3p.js → tool-mfvvktb5.js} +45 -80
- package/dist/chunks/{reference-gqs0x7cg.js → tool-mkxa71wh.js} +23 -23
- package/dist/chunks/{reference-c5m2a8vb.js → tool-mpe6qr53.js} +8 -8
- package/dist/chunks/{reference-g8x414b0.js → tool-mwg5k7zj.js} +33 -33
- package/dist/chunks/{reference-c3q67jfs.js → tool-n3bkb5q1.js} +8 -8
- package/dist/chunks/{reference-25z5brn1.js → tool-n3eppyw3.js} +45 -45
- package/dist/chunks/{reference-6ydy7p7m.js → tool-nad4mkqt.js} +8 -8
- package/dist/chunks/{reference-myczyk40.js → tool-ndtrv5vn.js} +30 -30
- package/dist/chunks/{reference-kksz5w6c.js → tool-ngbav3vd.js} +37 -37
- package/dist/chunks/{reference-5w98pc00.js → tool-njyr3yz2.js} +198 -198
- package/dist/chunks/{reference-czpz1tck.js → tool-nk68y23q.js} +5 -5
- package/dist/chunks/{reference-p015t6z3.js → tool-p015t6z3.js} +2 -2
- package/dist/chunks/{reference-jz7hkp52.js → tool-pg5ky8fn.js} +6 -6
- package/dist/chunks/{reference-9t00hjd8.js → tool-pjzajrbc.js} +54 -54
- package/dist/chunks/{reference-pknna89w.js → tool-pknna89w.js} +1 -1
- package/dist/chunks/{reference-x0y5mag1.js → tool-pqyr85nv.js} +30 -30
- package/dist/chunks/{reference-y73szgh5.js → tool-pvjefvaz.js} +19 -19
- package/dist/chunks/{reference-z052854x.js → tool-py366xq1.js} +10 -10
- package/dist/chunks/{reference-ct3g4wzq.js → tool-q2j9e0vw.js} +33 -33
- package/dist/chunks/{reference-506jcwr5.js → tool-q3v7sg8t.js} +16 -16
- package/dist/chunks/{reference-s5qs7yse.js → tool-q3xtnt1c.js} +11 -11
- package/dist/chunks/{reference-yekehd0c.js → tool-q4vfmnms.js} +26 -26
- package/dist/chunks/{reference-89pbwxpj.js → tool-q8fk1046.js} +32 -32
- package/dist/chunks/{reference-82ryrchv.js → tool-q9z0p7gh.js} +16 -16
- package/dist/chunks/{reference-h3t1epsy.js → tool-qb7a72fd.js} +13 -13
- package/dist/chunks/{reference-d7fvpgyy.js → tool-qg14jn6v.js} +32 -32
- package/dist/chunks/{reference-jqgvqsjx.js → tool-qgtqwdmb.js} +14 -14
- package/dist/chunks/{reference-yara3q77.js → tool-qkw2jr9b.js} +2 -2
- package/dist/chunks/{reference-qp7r0hxv.js → tool-qp7r0hxv.js} +1 -1
- package/dist/chunks/{reference-r0yr0wbs.js → tool-r0yr0wbs.js} +1 -1
- package/dist/chunks/{reference-r542h3bh.js → tool-r542h3bh.js} +1 -1
- package/dist/chunks/{reference-pen16d07.js → tool-ra34yqmw.js} +6 -6
- package/dist/chunks/{reference-rb9dy4dg.js → tool-rb9dy4dg.js} +1 -1
- package/dist/chunks/{reference-6emssh1w.js → tool-rj977cyr.js} +23 -23
- package/dist/chunks/{reference-rt5dr6hb.js → tool-rt5dr6hb.js} +1 -1
- package/dist/chunks/{reference-an5ndxtp.js → tool-s36045k5.js} +29 -29
- package/dist/chunks/{reference-bad15fx6.js → tool-s4g3e7mz.js} +34 -34
- package/dist/chunks/{reference-tjajrbfk.js → tool-s631gf5j.js} +24 -24
- package/dist/chunks/{reference-bk0ke8b9.js → tool-s8gnseh8.js} +326 -332
- package/dist/chunks/{reference-sa3fpqfw.js → tool-sa3fpqfw.js} +2 -2
- package/dist/chunks/{reference-1txfxaze.js → tool-sar0kh51.js} +16 -16
- package/dist/chunks/{reference-k792040k.js → tool-scjxmssc.js} +11 -11
- package/dist/chunks/{reference-sqjzf8x2.js → tool-sqjzf8x2.js} +1 -1
- package/dist/chunks/{reference-kkqethq7.js → tool-ssfehs1z.js} +4 -4
- package/dist/chunks/{reference-svcy3p9a.js → tool-svcy3p9a.js} +1 -1
- package/dist/chunks/{reference-b42d0mkb.js → tool-sweqe2a6.js} +13 -13
- package/dist/chunks/{reference-tczq8hjw.js → tool-tczq8hjw.js} +1 -1
- package/dist/chunks/{reference-zxxmr6sq.js → tool-tn29j0fz.js} +5 -5
- package/dist/chunks/{reference-twssxy5n.js → tool-twssxy5n.js} +2 -2
- package/dist/chunks/{reference-crc01wwg.js → tool-tzr3pa0w.js} +13 -13
- package/dist/chunks/{reference-v2r1d0zg.js → tool-v2r1d0zg.js} +1 -1
- package/dist/chunks/{reference-51hjt79c.js → tool-v8t9vyt9.js} +35 -35
- package/dist/chunks/{reference-sqrd2s2y.js → tool-v9m2ypfg.js} +17 -17
- package/dist/chunks/{reference-vsqvcqta.js → tool-vaq1yek0.js} +6 -6
- package/dist/chunks/{reference-veqvce7d.js → tool-veqvce7d.js} +1 -1
- package/dist/chunks/{reference-ze844e89.js → tool-vkd92t59.js} +38 -38
- package/dist/chunks/{reference-ybqgjkz7.js → tool-vnxqy2jq.js} +30 -30
- package/dist/chunks/{reference-vrcsa8qx.js → tool-vrcsa8qx.js} +2 -2
- package/dist/chunks/{reference-axe3mf62.js → tool-vtgxp655.js} +3 -3
- package/dist/chunks/{reference-5t6ge795.js → tool-vz02t2s9.js} +38 -38
- package/dist/chunks/{reference-w3wsvvr9.js → tool-w3wsvvr9.js} +1 -1
- package/dist/chunks/{reference-pqced4qh.js → tool-w5w2ye0s.js} +3 -3
- package/dist/chunks/{reference-wakvkjy4.js → tool-wakvkjy4.js} +1 -1
- package/dist/chunks/{reference-wd87259q.js → tool-wd87259q.js} +1 -1
- package/dist/chunks/{reference-2dhjdcyg.js → tool-wm8ps0kb.js} +24 -24
- package/dist/chunks/{reference-wnhgecwx.js → tool-wnhgecwx.js} +1 -1
- package/dist/chunks/{reference-03efvwc7.js → tool-wtjwwyta.js} +12 -12
- package/dist/chunks/{reference-69yxas2c.js → tool-wxf92x0x.js} +1 -1
- package/dist/chunks/{reference-fcve0v7r.js → tool-wzcyht23.js} +47 -47
- package/dist/chunks/{reference-3n0qbat0.js → tool-wzdbde40.js} +28 -28
- package/dist/chunks/{reference-84rb59ph.js → tool-x0fjpjwd.js} +24 -24
- package/dist/chunks/{reference-tgb8sy1m.js → tool-x1a7cwfg.js} +9 -9
- package/dist/chunks/{reference-d2j5hydn.js → tool-x1wax2tm.js} +5 -5
- package/dist/chunks/{reference-xq2971wf.js → tool-x5xx62h0.js} +12 -12
- package/dist/chunks/{reference-m4tvegh7.js → tool-xrzs0xn3.js} +8 -8
- package/dist/chunks/{reference-680s3wrb.js → tool-xstj61st.js} +18 -18
- package/dist/chunks/{reference-yb20nhc3.js → tool-yb20nhc3.js} +1 -1
- package/dist/chunks/{reference-eg9rhaxe.js → tool-yc35554n.js} +4 -4
- package/dist/chunks/{reference-jsfpnsxq.js → tool-yc9w3422.js} +13 -13
- package/dist/chunks/{reference-160yv0cs.js → tool-ydsespw1.js} +4 -4
- package/dist/chunks/tool-ymz7p2c9.js +31 -0
- package/dist/chunks/{reference-rgd55ngc.js → tool-yqdh10qg.js} +10 -10
- package/dist/chunks/{reference-efgcrvx2.js → tool-ysxqaady.js} +23 -23
- package/dist/chunks/{reference-z0bkrqjs.js → tool-z0bkrqjs.js} +1 -1
- package/dist/chunks/{reference-2yjjj4kt.js → tool-z2e75qjb.js} +18 -18
- package/dist/chunks/{reference-z38nccrw.js → tool-z38nccrw.js} +1 -1
- package/dist/chunks/{reference-pcrvzspp.js → tool-z56aywt7.js} +14 -14
- package/dist/chunks/{reference-ytt91gsd.js → tool-zbqcyxaa.js} +11 -11
- package/dist/chunks/{reference-1708cjpw.js → tool-zg3zhf3v.js} +28 -28
- package/dist/chunks/{reference-hvy79q2t.js → tool-zgd8t41s.js} +9 -9
- package/dist/chunks/{reference-zgkm4kzm.js → tool-zgkm4kzm.js} +3 -3
- package/dist/chunks/{reference-tp9rrjmz.js → tool-zkmce7rg.js} +11 -11
- package/dist/chunks/{reference-30bgehjn.js → tool-zpdhy3rs.js} +23 -23
- package/dist/chunks/{reference-rcbjwvze.js → tool-ztf6n3de.js} +4 -4
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +7 -7
- 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 +90 -90
- package/dist/config/integration.js +3 -3
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +107 -107
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +221 -221
- package/dist/config/plugin/compaction.js +162 -162
- package/dist/config/plugin/compatibility.js +142 -142
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +122 -122
- package/dist/config/plugin/image.js +121 -121
- package/dist/config/plugin/instruction.js +121 -121
- package/dist/config/plugin/location-watcher.js +121 -121
- package/dist/config/plugin/mcp.js +130 -130
- package/dist/config/plugin/policy.js +123 -123
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +123 -123
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +138 -138
- package/dist/config/plugin/skill-scan.js +3 -3
- package/dist/config/plugin/skill.js +145 -145
- package/dist/config/plugin/snapshot.js +121 -121
- package/dist/config/plugin/source.js +124 -124
- package/dist/config/plugin/tool-output.js +122 -122
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +123 -123
- package/dist/config/variable.js +1 -1
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- 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 +78 -78
- 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.gen.js +55 -55
- package/dist/database/migration.js +57 -57
- 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 +98 -98
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +381 -382
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +1 -1
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +101 -101
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +103 -103
- 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 +80 -80
- package/dist/file-access.js +148 -148
- package/dist/file-mutation.js +98 -98
- package/dist/file-retention.js +1 -1
- package/dist/filesystem/fff.bun.js +2 -2
- package/dist/filesystem/fff.js +1 -1
- package/dist/filesystem/fff.node.js +2 -2
- package/dist/filesystem/fff.workerd.js +2 -2
- package/dist/filesystem/file-watch.js +86 -86
- package/dist/filesystem/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +228 -228
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +105 -105
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +9 -9
- package/dist/filesystem.js +112 -112
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +95 -95
- 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 +107 -107
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon-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 +372 -373
- package/dist/instruction-discovery.js +88 -88
- package/dist/instructions/builtins.js +91 -91
- package/dist/instructions/index.js +1 -1
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +93 -93
- package/dist/job.js +84 -84
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +79 -79
- package/dist/location-activity.js +166 -166
- package/dist/location-lifecycle.js +138 -138
- package/dist/location-service-map.js +94 -94
- package/dist/location-services.js +369 -370
- package/dist/location.js +97 -97
- package/dist/managed-policy.js +5 -11
- package/dist/mcp/client.js +99 -99
- package/dist/mcp/index.js +117 -117
- package/dist/mcp/instructions.js +166 -166
- package/dist/mcp/oauth.js +84 -84
- package/dist/mcp/socket-client.js +1 -1
- package/dist/mcp/stdio.js +98 -98
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +107 -107
- package/dist/model-resolver.js +107 -107
- 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 +112 -112
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +88 -88
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +147 -147
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +96 -96
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +81 -81
- package/dist/plugin/agent.js +82 -82
- package/dist/plugin/command.js +110 -110
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +225 -225
- package/dist/plugin/identity.js +5 -5
- package/dist/plugin/instance.js +3 -3
- package/dist/plugin/internal.js +342 -343
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +105 -105
- package/dist/plugin/module.js +123 -123
- package/dist/plugin/optimize.js +4 -4
- package/dist/plugin/plan.js +138 -138
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +98 -98
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +121 -121
- package/dist/plugin/provider/cloudflare-ai-gateway.js +118 -118
- package/dist/plugin/provider/cloudflare-workers-ai.js +118 -118
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +117 -117
- package/dist/plugin/provider/databricks.js +1 -1
- package/dist/plugin/provider/digitalocean.js +101 -101
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/github-copilot.js +103 -103
- package/dist/plugin/provider/gitlab.js +101 -101
- package/dist/plugin/provider/google-vertex.js +118 -118
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +84 -84
- package/dist/plugin/provider/lmstudio.js +130 -130
- package/dist/plugin/provider/local.js +127 -127
- package/dist/plugin/provider/modal.js +100 -100
- package/dist/plugin/provider/neon.js +1 -1
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +130 -130
- package/dist/plugin/provider/openai-context-caps.js +98 -98
- package/dist/plugin/provider/openai.js +123 -123
- package/dist/plugin/provider/opencode.js +124 -127
- package/dist/plugin/provider/openrouter.js +99 -99
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +85 -85
- package/dist/plugin/provider/prompt-cache-key.js +1 -1
- package/dist/plugin/provider/sap-ai-core.js +99 -99
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +120 -120
- package/dist/plugin/provider/vercel.js +98 -98
- package/dist/plugin/provider/vllm.js +130 -130
- package/dist/plugin/provider/xai.js +99 -99
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +175 -178
- package/dist/plugin/sdk.js +82 -82
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +141 -141
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +361 -362
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +94 -94
- package/dist/plugin/vcs/hg.js +94 -94
- package/dist/plugin/verbosity.js +101 -101
- package/dist/plugin/warming.js +119 -119
- 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 +8 -8
- package/dist/plugin.js +232 -232
- 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 +92 -92
- package/dist/provider.js +103 -103
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +92 -92
- package/dist/reference/instructions.js +94 -94
- package/dist/reference.js +98 -98
- package/dist/repository-cache.js +88 -88
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +105 -105
- package/dist/rpc.js +94 -94
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/blob.js +120 -120
- package/dist/session/command.js +80 -80
- package/dist/session/compaction.js +164 -164
- package/dist/session/context.js +188 -188
- package/dist/session/diff.js +96 -96
- package/dist/session/environment.js +5 -5
- package/dist/session/error.js +3 -3
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +231 -231
- package/dist/session/execution.js +152 -152
- package/dist/session/generate.js +188 -188
- package/dist/session/history.js +127 -127
- package/dist/session/inbox.js +138 -138
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +83 -83
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +132 -132
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +155 -155
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +156 -156
- package/dist/session/projector.js +134 -134
- package/dist/session/prompt.js +140 -140
- package/dist/session/recent-text.js +1 -1
- package/dist/session/revert.js +130 -130
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +238 -238
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +108 -108
- package/dist/session/runner/publish-llm-event.js +141 -141
- package/dist/session/runner/retry.js +5 -5
- package/dist/session/runner/step.js +154 -154
- package/dist/session/runner/to-llm-message.js +128 -128
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- package/dist/session/shell.js +135 -135
- package/dist/session/skill.js +139 -139
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +81 -81
- package/dist/session/store.js +133 -133
- package/dist/session/stored.js +2 -2
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +215 -215
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +192 -192
- package/dist/session/to-session-error.js +140 -140
- package/dist/session/transfer.js +230 -230
- package/dist/session/usage.js +1 -1
- package/dist/session.js +223 -223
- package/dist/shell/parse.js +8 -8
- package/dist/shell/result.js +1 -1
- package/dist/shell/scan.js +1 -1
- package/dist/shell/select.js +13 -13
- package/dist/shell.js +137 -137
- package/dist/skill/discovery.js +2 -2
- package/dist/skill/instructions.js +141 -141
- package/dist/skill.js +148 -148
- package/dist/snapshot.js +99 -99
- 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 +167 -167
- package/dist/tool/plugin/edit.js +156 -156
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +160 -160
- package/dist/tool/plugin/grep.js +160 -160
- package/dist/tool/plugin/mcp-resource.js +154 -154
- package/dist/tool/plugin/opencode.js +153 -153
- package/dist/tool/plugin/patch.js +158 -158
- package/dist/tool/plugin/question.js +140 -140
- package/dist/tool/plugin/read.js +159 -159
- package/dist/tool/plugin/shell.js +224 -224
- package/dist/tool/plugin/skill.js +149 -149
- package/dist/tool/plugin/subagent.js +224 -224
- package/dist/tool/plugin/todo.js +145 -145
- package/dist/tool/plugin/webfetch.js +147 -147
- package/dist/tool/plugin/websearch.js +141 -141
- package/dist/tool/plugin/write.js +158 -158
- package/dist/tool/read-filesystem.js +104 -104
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +16 -16
- package/dist/types/config/plugin/policy.d.ts +1 -2
- package/dist/types/managed-policy.d.ts +2 -20
- package/dist/types/plugin/internal.d.ts +2 -3
- package/dist/types/plugin/module.d.ts +1 -2
- package/dist/types/plugin/provider/opencode.d.ts +1 -2
- package/dist/usage-limits.js +93 -93
- 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 +3 -3
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +100 -100
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +2 -2
- package/dist/variant.js +99 -99
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +95 -95
- package/dist/voice.js +96 -96
- package/dist/websearch.js +92 -92
- package/dist/wellknown/plugin.js +82 -82
- package/dist/wellknown.js +87 -87
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +86 -86
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +9 -9
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +97 -97
- package/dist/worktree.js +102 -102
- package/package.json +8 -8
- package/dist/chunks/reference-gc4j5hc4.js +0 -59
- package/dist/chunks/reference-htat58eq.js +0 -26
- package/dist/chunks/reference-j75v3e7j.js +0 -257
- package/dist/chunks/reference-w2szm6a4.js +0 -171
- package/dist/chunks/reference-z7bdqmx5.js +0 -18
- package/dist/plugin/provider/opencode-legacy.js +0 -119
- package/dist/types/plugin/provider/opencode-legacy.d.ts +0 -69
- /package/dist/chunks/{reference-0qkdqm5v.js → tool-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{reference-0zkw76rk.js → tool-0zkw76rk.js} +0 -0
- /package/dist/chunks/{reference-17cy0kzp.js → tool-17cy0kzp.js} +0 -0
- /package/dist/chunks/{reference-1cnp2v09.js → tool-1cnp2v09.js} +0 -0
- /package/dist/chunks/{reference-1jakw16s.js → tool-1jakw16s.js} +0 -0
- /package/dist/chunks/{reference-24dcb14g.js → tool-24dcb14g.js} +0 -0
- /package/dist/chunks/{reference-2710q6r3.js → tool-2710q6r3.js} +0 -0
- /package/dist/chunks/{reference-2bv980vf.js → tool-2bv980vf.js} +0 -0
- /package/dist/chunks/{reference-2c3vjs8z.js → tool-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{reference-359p4xyc.js → tool-359p4xyc.js} +0 -0
- /package/dist/chunks/{reference-3asan66x.js → tool-3asan66x.js} +0 -0
- /package/dist/chunks/{reference-3v8g72cx.js → tool-3v8g72cx.js} +0 -0
- /package/dist/chunks/{reference-3wcehsnq.js → tool-3wcehsnq.js} +0 -0
- /package/dist/chunks/{reference-43n2bw4t.js → tool-43n2bw4t.js} +0 -0
- /package/dist/chunks/{reference-4knz6hnm.js → tool-4knz6hnm.js} +0 -0
- /package/dist/chunks/{reference-4m86bj6y.js → tool-4m86bj6y.js} +0 -0
- /package/dist/chunks/{reference-4vcrnpx2.js → tool-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{reference-4y7fprxs.js → tool-4y7fprxs.js} +0 -0
- /package/dist/chunks/{reference-53557ph1.js → tool-53557ph1.js} +0 -0
- /package/dist/chunks/{reference-550bvhaj.js → tool-550bvhaj.js} +0 -0
- /package/dist/chunks/{reference-5w3e23ze.js → tool-5w3e23ze.js} +0 -0
- /package/dist/chunks/{reference-6prwharc.js → tool-6prwharc.js} +0 -0
- /package/dist/chunks/{reference-6q2bdcd1.js → tool-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{reference-7akdwqpd.js → tool-7akdwqpd.js} +0 -0
- /package/dist/chunks/{reference-7m9af43g.js → tool-7m9af43g.js} +0 -0
- /package/dist/chunks/{reference-822emrt2.js → tool-822emrt2.js} +0 -0
- /package/dist/chunks/{reference-84wd9syh.js → tool-84wd9syh.js} +0 -0
- /package/dist/chunks/{reference-88xbtdfr.js → tool-88xbtdfr.js} +0 -0
- /package/dist/chunks/{reference-8n3pysct.js → tool-8n3pysct.js} +0 -0
- /package/dist/chunks/{reference-8wj87zfr.js → tool-8wj87zfr.js} +0 -0
- /package/dist/chunks/{reference-9a4afbnw.js → tool-9a4afbnw.js} +0 -0
- /package/dist/chunks/{reference-9rqn6x4v.js → tool-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{reference-a058387c.js → tool-a058387c.js} +0 -0
- /package/dist/chunks/{reference-a6k6eb26.js → tool-a6k6eb26.js} +0 -0
- /package/dist/chunks/{reference-af5trqkr.js → tool-af5trqkr.js} +0 -0
- /package/dist/chunks/{reference-afrmfg78.js → tool-afrmfg78.js} +0 -0
- /package/dist/chunks/{reference-aqzs7mqg.js → tool-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{reference-atq7p7m5.js → tool-atq7p7m5.js} +0 -0
- /package/dist/chunks/{reference-beh6qq61.js → tool-beh6qq61.js} +0 -0
- /package/dist/chunks/{reference-bkyjaxrp.js → tool-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{reference-bmr6ed5q.js → tool-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{reference-cf4snx6d.js → tool-cf4snx6d.js} +0 -0
- /package/dist/chunks/{reference-cqv5kn06.js → tool-cqv5kn06.js} +0 -0
- /package/dist/chunks/{reference-cvy3z8tj.js → tool-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{reference-d9fn303g.js → tool-d9fn303g.js} +0 -0
- /package/dist/chunks/{reference-d9jj8t3e.js → tool-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{reference-dajrwvna.js → tool-dajrwvna.js} +0 -0
- /package/dist/chunks/{reference-dap0rakb.js → tool-dap0rakb.js} +0 -0
- /package/dist/chunks/{reference-df08tz66.js → tool-df08tz66.js} +0 -0
- /package/dist/chunks/{reference-dy18nga0.js → tool-dy18nga0.js} +0 -0
- /package/dist/chunks/{reference-e5kj55wp.js → tool-e5kj55wp.js} +0 -0
- /package/dist/chunks/{reference-e73j6tqm.js → tool-e73j6tqm.js} +0 -0
- /package/dist/chunks/{reference-ec1grn59.js → tool-ec1grn59.js} +0 -0
- /package/dist/chunks/{reference-eh3zwz77.js → tool-eh3zwz77.js} +0 -0
- /package/dist/chunks/{reference-emrn6kk6.js → tool-emrn6kk6.js} +0 -0
- /package/dist/chunks/{reference-f0mxakyp.js → tool-f0mxakyp.js} +0 -0
- /package/dist/chunks/{reference-f6n9ztr4.js → tool-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{reference-faypxj3z.js → tool-faypxj3z.js} +0 -0
- /package/dist/chunks/{reference-fd410y7t.js → tool-fd410y7t.js} +0 -0
- /package/dist/chunks/{reference-fkpq3x5p.js → tool-fkpq3x5p.js} +0 -0
- /package/dist/chunks/{reference-g4wezp1m.js → tool-g4wezp1m.js} +0 -0
- /package/dist/chunks/{reference-g86h250q.js → tool-g86h250q.js} +0 -0
- /package/dist/chunks/{reference-gebd4c9n.js → tool-gebd4c9n.js} +0 -0
- /package/dist/chunks/{reference-gftt206x.js → tool-gftt206x.js} +0 -0
- /package/dist/chunks/{reference-hcxmzztb.js → tool-hcxmzztb.js} +0 -0
- /package/dist/chunks/{reference-hk9envan.js → tool-hk9envan.js} +0 -0
- /package/dist/chunks/{reference-j2ntwpah.js → tool-j2ntwpah.js} +0 -0
- /package/dist/chunks/{reference-j5zkgpj8.js → tool-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{reference-jjkms2e6.js → tool-jjkms2e6.js} +0 -0
- /package/dist/chunks/{reference-jr7sbwjy.js → tool-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{reference-jwfs4k6c.js → tool-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{reference-jwr30sdr.js → tool-jwr30sdr.js} +0 -0
- /package/dist/chunks/{reference-jze0r7bz.js → tool-jze0r7bz.js} +0 -0
- /package/dist/chunks/{reference-jzg6c2d5.js → tool-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{reference-m18g726c.js → tool-m18g726c.js} +0 -0
- /package/dist/chunks/{reference-mp448xyj.js → tool-mp448xyj.js} +0 -0
- /package/dist/chunks/{reference-msx8hqn2.js → tool-msx8hqn2.js} +0 -0
- /package/dist/chunks/{reference-n05xt0ee.js → tool-n05xt0ee.js} +0 -0
- /package/dist/chunks/{reference-n3j8tn72.js → tool-n3j8tn72.js} +0 -0
- /package/dist/chunks/{reference-ncqqe42p.js → tool-ncqqe42p.js} +0 -0
- /package/dist/chunks/{reference-njntx4h6.js → tool-njntx4h6.js} +0 -0
- /package/dist/chunks/{reference-p71gwv9c.js → tool-p71gwv9c.js} +0 -0
- /package/dist/chunks/{reference-q3sfg36h.js → tool-q3sfg36h.js} +0 -0
- /package/dist/chunks/{reference-q74kybfr.js → tool-q74kybfr.js} +0 -0
- /package/dist/chunks/{reference-qaymkmh1.js → tool-qaymkmh1.js} +0 -0
- /package/dist/chunks/{reference-qb87gjwd.js → tool-qb87gjwd.js} +0 -0
- /package/dist/chunks/{reference-qfa1cgps.js → tool-qfa1cgps.js} +0 -0
- /package/dist/chunks/{reference-qg3g05ea.js → tool-qg3g05ea.js} +0 -0
- /package/dist/chunks/{reference-qrg20bc0.js → tool-qrg20bc0.js} +0 -0
- /package/dist/chunks/{reference-rcb2kzg1.js → tool-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{reference-sdp7kfr6.js → tool-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{reference-ssg3fenm.js → tool-ssg3fenm.js} +0 -0
- /package/dist/chunks/{reference-ve7vex1e.js → tool-ve7vex1e.js} +0 -0
- /package/dist/chunks/{reference-w803qqfp.js → tool-w803qqfp.js} +0 -0
- /package/dist/chunks/{reference-wc3fc9cn.js → tool-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{reference-wer8tq1h.js → tool-wer8tq1h.js} +0 -0
- /package/dist/chunks/{reference-wtztk69x.js → tool-wtztk69x.js} +0 -0
- /package/dist/chunks/{reference-x0ckcb58.js → tool-x0ckcb58.js} +0 -0
- /package/dist/chunks/{reference-x61499pn.js → tool-x61499pn.js} +0 -0
- /package/dist/chunks/{reference-y44na4kk.js → tool-y44na4kk.js} +0 -0
- /package/dist/chunks/{reference-y8f7s663.js → tool-y8f7s663.js} +0 -0
- /package/dist/chunks/{reference-ygaqb7jw.js → tool-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{reference-ym463w8f.js → tool-ym463w8f.js} +0 -0
- /package/dist/chunks/{reference-z5v4ffb3.js → tool-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{reference-z9919s4g.js → tool-z9919s4g.js} +0 -0
|
@@ -1,51 +1,51 @@
|
|
|
1
1
|
import {
|
|
2
2
|
typeFollowing2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-svcy3p9a.js";
|
|
4
4
|
import {
|
|
5
5
|
RelativePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-z5v4ffb3.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
} from "./
|
|
8
|
+
Service82
|
|
9
|
+
} from "./tool-v9m2ypfg.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service69
|
|
12
|
+
} from "./tool-s631gf5j.js";
|
|
13
13
|
import {
|
|
14
14
|
InvalidPatternError2,
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
Service51
|
|
16
|
+
} from "./tool-xstj61st.js";
|
|
17
17
|
import {
|
|
18
18
|
DEFAULT_SEARCH_LIMIT2,
|
|
19
19
|
DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
20
20
|
GrepInput2,
|
|
21
21
|
Entry2,
|
|
22
22
|
Match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./tool-qg14jn6v.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service61
|
|
26
|
+
} from "./tool-4h4e17dv.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
Service25
|
|
29
|
+
} from "./tool-gcmr6tz2.js";
|
|
30
30
|
import {
|
|
31
31
|
__export
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./tool-9rqn6x4v.js";
|
|
33
33
|
|
|
34
34
|
// src/tool/plugin/grep.ts
|
|
35
35
|
var exports_grep = {};
|
|
36
36
|
__export(exports_grep, {
|
|
37
37
|
GrepTool: () => exports_grep,
|
|
38
|
-
Input: () =>
|
|
39
|
-
Output: () =>
|
|
40
|
-
Plugin: () =>
|
|
41
|
-
name: () =>
|
|
42
|
-
toModelContent: () =>
|
|
38
|
+
Input: () => Input2,
|
|
39
|
+
Output: () => Output2,
|
|
40
|
+
Plugin: () => Plugin19,
|
|
41
|
+
name: () => name2,
|
|
42
|
+
toModelContent: () => toModelContent2
|
|
43
43
|
});
|
|
44
44
|
import { ToolFailure } from "@opencode/ai/effect";
|
|
45
45
|
import { Effect, Schema } from "effect";
|
|
46
46
|
import path from "path";
|
|
47
|
-
var
|
|
48
|
-
var
|
|
47
|
+
var name2 = "grep";
|
|
48
|
+
var Input2 = Schema.Struct({
|
|
49
49
|
pattern: GrepInput2.fields.pattern.check(Schema.isMinLength(1, { message: "Pattern must not be empty" })).annotate({
|
|
50
50
|
description: "Regular expression or literal text to match in file contents."
|
|
51
51
|
}),
|
|
@@ -65,8 +65,8 @@ var Input7 = Schema.Struct({
|
|
|
65
65
|
description: `Maximum number of matching lines to return (default: ${DEFAULT_SEARCH_LIMIT2})`
|
|
66
66
|
})
|
|
67
67
|
});
|
|
68
|
-
var
|
|
69
|
-
var
|
|
68
|
+
var Output2 = Schema.Array(Match2);
|
|
69
|
+
var toModelContent2 = (matches, truncated = false) => {
|
|
70
70
|
const lines = matches.length === 0 ? ["No matches found"] : [`Found ${matches.length} matches`];
|
|
71
71
|
let current = "";
|
|
72
72
|
for (const match of matches) {
|
|
@@ -83,26 +83,26 @@ var toModelContent4 = (matches, truncated = false) => {
|
|
|
83
83
|
return lines.join(`
|
|
84
84
|
`);
|
|
85
85
|
};
|
|
86
|
-
var
|
|
86
|
+
var Plugin19 = {
|
|
87
87
|
id: "opencode.tool.grep",
|
|
88
88
|
effect: Effect.fn("GrepTool.Plugin")(function* (ctx) {
|
|
89
|
-
const environment = yield*
|
|
90
|
-
const ripgrep = yield*
|
|
91
|
-
const location = yield*
|
|
92
|
-
const access = yield*
|
|
93
|
-
const permission = yield*
|
|
89
|
+
const environment = yield* Service69;
|
|
90
|
+
const ripgrep = yield* Service51;
|
|
91
|
+
const location = yield* Service82;
|
|
92
|
+
const access = yield* Service25;
|
|
93
|
+
const permission = yield* Service61;
|
|
94
94
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
95
|
-
name:
|
|
95
|
+
name: name2,
|
|
96
96
|
options: { codemode: false },
|
|
97
97
|
description: "Search file contents using ripgrep's regular expression syntax or literal text matching. Use it to locate specific code, symbols, or text patterns, and narrow searches with `path` or `include`. Returns matching file paths, line numbers, and line previews.",
|
|
98
|
-
input:
|
|
99
|
-
output:
|
|
98
|
+
input: Input2,
|
|
99
|
+
output: Output2,
|
|
100
100
|
execute: (input, context) => Effect.gen(function* () {
|
|
101
101
|
const source = { type: "tool", messageID: context.messageID, id: context.id };
|
|
102
102
|
const target = yield* access.resolve({ path: input.path ?? "." });
|
|
103
103
|
yield* access.authorizeExternal([target], context);
|
|
104
104
|
yield* permission.assert({
|
|
105
|
-
action:
|
|
105
|
+
action: name2,
|
|
106
106
|
resources: [input.pattern],
|
|
107
107
|
save: ["*"],
|
|
108
108
|
metadata: {
|
|
@@ -144,7 +144,7 @@ var Plugin43 = {
|
|
|
144
144
|
return { matches: matches.slice(0, limit), truncated: matches.length > limit };
|
|
145
145
|
}).pipe(Effect.map((result) => ({
|
|
146
146
|
output: result.matches,
|
|
147
|
-
content:
|
|
147
|
+
content: toModelContent2(result.matches.map((match) => ({
|
|
148
148
|
...match,
|
|
149
149
|
entry: { ...match.entry, path: path.resolve(location.directory, match.entry.path) }
|
|
150
150
|
})), result.truncated),
|
|
@@ -154,4 +154,4 @@ var Plugin43 = {
|
|
|
154
154
|
})
|
|
155
155
|
};
|
|
156
156
|
|
|
157
|
-
export {
|
|
157
|
+
export { name2, Input2, Output2, toModelContent2, Plugin19, exports_grep };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./tool-sar0kh51.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
5
|
+
Service74,
|
|
6
|
+
Event14
|
|
7
|
+
} from "./tool-rj977cyr.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/wellknown/plugin.ts
|
|
13
13
|
var exports_plugin = {};
|
|
14
14
|
__export(exports_plugin, {
|
|
15
|
-
Plugin: () =>
|
|
15
|
+
Plugin: () => Plugin18,
|
|
16
16
|
WellKnownPlugin: () => exports_plugin
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Stream } from "effect";
|
|
20
|
-
var
|
|
20
|
+
var Plugin18 = define({
|
|
21
21
|
id: "opencode.wellknown",
|
|
22
22
|
effect: Effect.fn(function* (ctx) {
|
|
23
|
-
const bus = yield*
|
|
24
|
-
const wellknown = yield*
|
|
23
|
+
const bus = yield* Service85;
|
|
24
|
+
const wellknown = yield* Service74;
|
|
25
25
|
yield* wellknown.entries().pipe(Effect.orDie);
|
|
26
26
|
yield* ctx.integration.transform((editor) => {
|
|
27
27
|
wellknown.snapshot().forEach((entry) => {
|
|
@@ -41,8 +41,8 @@ var Plugin36 = define({
|
|
|
41
41
|
});
|
|
42
42
|
});
|
|
43
43
|
});
|
|
44
|
-
yield* bus.subscribe(
|
|
44
|
+
yield* bus.subscribe(Event14.Updated).pipe(Stream.runForEach(() => ctx.integration.reload()), Effect.forkScoped({ startImmediately: true }));
|
|
45
45
|
})
|
|
46
46
|
});
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Plugin18, exports_plugin };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Timestamps2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qfa1cgps.js";
|
|
4
4
|
import {
|
|
5
5
|
ProjectTable2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-aj7mw0zk.js";
|
|
7
7
|
|
|
8
8
|
// src/permission/sql.ts
|
|
9
9
|
import { sqliteTable, text, uniqueIndex } from "drizzle-orm/sqlite-core";
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionMessage2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-gftt206x.js";
|
|
4
4
|
import {
|
|
5
5
|
MessageDecodeError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./tool-9w4n3zkz.js";
|
|
7
7
|
import {
|
|
8
8
|
InitializationBlocked2,
|
|
9
9
|
read4
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./tool-1kn6jdkn.js";
|
|
11
11
|
import {
|
|
12
12
|
SessionMessageTable2
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./tool-ep59zg61.js";
|
|
14
14
|
import {
|
|
15
15
|
initial2,
|
|
16
16
|
preview3
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./tool-hj8dv2fv.js";
|
|
18
18
|
import {
|
|
19
19
|
User3
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./tool-fg9p65nk.js";
|
|
21
21
|
import {
|
|
22
22
|
hydrate2,
|
|
23
23
|
keepRefs2,
|
|
24
24
|
describe2
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./tool-74zhyzb7.js";
|
|
26
26
|
import {
|
|
27
27
|
messageToText2
|
|
28
|
-
} from "./
|
|
28
|
+
} from "./tool-v2r1d0zg.js";
|
|
29
29
|
import {
|
|
30
30
|
__export
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-9rqn6x4v.js";
|
|
32
32
|
|
|
33
33
|
// src/session/history.ts
|
|
34
34
|
var exports_history = {};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission2 = {};
|
|
@@ -8,7 +8,7 @@ __export(exports_permission2, {
|
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission2,
|
|
10
10
|
Entries: () => Entries2,
|
|
11
|
-
Info: () =>
|
|
11
|
+
Info: () => Info21,
|
|
12
12
|
Object: () => Object2,
|
|
13
13
|
Rule: () => Rule3
|
|
14
14
|
});
|
|
@@ -21,11 +21,11 @@ var Entries2 = (value) => Schema.ObjectKeyword.check(Schema.makeFilter((input) =
|
|
|
21
21
|
var Object2 = Entries2(Action2).annotate({ identifier: "PermissionObjectConfig" });
|
|
22
22
|
var Rule3 = Schema.Union([Action2, Object2]).annotate({ identifier: "PermissionRuleConfig" });
|
|
23
23
|
var actionOnly = new Set(["question", "websearch", "doom_loop"]);
|
|
24
|
-
var
|
|
24
|
+
var Info21 = Schema.Union([Action2, Schema.ObjectKeyword]).pipe(Schema.decodeTo(Entries2(Rule3), {
|
|
25
25
|
decode: SchemaGetter.transform((input) => typeof input === "string" ? { "*": input } : input),
|
|
26
26
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
27
27
|
})).check(Schema.makeFilter((rules) => rules.every(([key, rule]) => !actionOnly.has(key) || typeof rule === "string"), {
|
|
28
28
|
expected: "question, websearch, and doom_loop to be ask, allow, or deny"
|
|
29
29
|
})).annotate({ identifier: "PermissionConfig" });
|
|
30
30
|
|
|
31
|
-
export { Action2, Entries2, Object2, Rule3,
|
|
31
|
+
export { Action2, Entries2, Object2, Rule3, Info21, exports_permission2 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service85
|
|
3
|
+
} from "./tool-sar0kh51.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
7
|
-
import {
|
|
8
|
-
ID14
|
|
9
|
-
} from "./reference-an5ndxtp.js";
|
|
5
|
+
Event18
|
|
6
|
+
} from "./tool-0j8sypb1.js";
|
|
10
7
|
import {
|
|
11
8
|
ID13
|
|
12
|
-
} from "./
|
|
9
|
+
} from "./tool-s36045k5.js";
|
|
10
|
+
import {
|
|
11
|
+
ID12
|
|
12
|
+
} from "./tool-q4vfmnms.js";
|
|
13
13
|
|
|
14
14
|
// src/plugin/provider/openai-context-caps.ts
|
|
15
15
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
16
16
|
import { Effect, Stream } from "effect";
|
|
17
|
-
var integrationID =
|
|
17
|
+
var integrationID = ID13.make("openai");
|
|
18
18
|
var methodIDs = new Set(["chatgpt-browser", "chatgpt-headless", "chatgpt-token-sharing"]);
|
|
19
19
|
var legacyInput = 272000;
|
|
20
20
|
var currentInput = 500000;
|
|
21
21
|
var OpenAIContextCapsPlugin2 = define({
|
|
22
22
|
id: "opencode.provider.openai-context-caps",
|
|
23
23
|
effect: Effect.fn(function* (ctx) {
|
|
24
|
-
const bus = yield*
|
|
24
|
+
const bus = yield* Service85;
|
|
25
25
|
let signedIn = false;
|
|
26
26
|
const load = Effect.fn("OpenAIContextCapsPlugin.load")(function* () {
|
|
27
27
|
const connection = yield* ctx.integration.connection.active(integrationID);
|
|
@@ -34,7 +34,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
34
34
|
yield* ctx.model.transform((models) => {
|
|
35
35
|
if (!signedIn)
|
|
36
36
|
return;
|
|
37
|
-
for (const model of models.list(
|
|
37
|
+
for (const model of models.list(ID12.openai)) {
|
|
38
38
|
models.update(model.providerID, model.id, (draft) => {
|
|
39
39
|
const input = cap(draft.modelID ?? draft.id);
|
|
40
40
|
if ((draft.limit.input || draft.limit.context) <= input)
|
|
@@ -43,7 +43,7 @@ var OpenAIContextCapsPlugin2 = define({
|
|
|
43
43
|
});
|
|
44
44
|
}
|
|
45
45
|
});
|
|
46
|
-
yield* bus.subscribe(
|
|
46
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(() => load().pipe(Effect.andThen(ctx.provider.reload()))), Effect.forkScoped({ startImmediately: true }));
|
|
47
47
|
})
|
|
48
48
|
});
|
|
49
49
|
function cap(apiID) {
|
|
@@ -1,34 +1,34 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-scjxmssc.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service85
|
|
6
|
+
} from "./tool-sar0kh51.js";
|
|
7
7
|
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} from "./
|
|
8
|
+
ID14,
|
|
9
|
+
Event18,
|
|
10
|
+
Service79
|
|
11
|
+
} from "./tool-0j8sypb1.js";
|
|
12
12
|
import {
|
|
13
13
|
key2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./tool-61ennm6n.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
MethodID2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./tool-s36045k5.js";
|
|
19
19
|
import {
|
|
20
20
|
which2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./tool-qaymkmh1.js";
|
|
22
22
|
import {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} from "./
|
|
23
|
+
ID12,
|
|
24
|
+
Service77
|
|
25
|
+
} from "./tool-q4vfmnms.js";
|
|
26
26
|
import {
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
27
|
+
ID11
|
|
28
|
+
} from "./tool-v8t9vyt9.js";
|
|
29
29
|
import {
|
|
30
30
|
configuredSettings2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./tool-5phnv3yb.js";
|
|
32
32
|
|
|
33
33
|
// src/plugin/provider/azure.ts
|
|
34
34
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -63,18 +63,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
63
63
|
}));
|
|
64
64
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
65
65
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
66
|
-
function
|
|
66
|
+
function make6(endpoints = {
|
|
67
67
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
68
68
|
management: "https://management.azure.com"
|
|
69
69
|
}) {
|
|
70
70
|
return define({
|
|
71
71
|
id: "opencode.provider.azure",
|
|
72
72
|
effect: Effect.fn(function* (ctx) {
|
|
73
|
-
const configured = yield* configuredSettings2(
|
|
73
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
74
74
|
const processes = yield* AppProcess.Service;
|
|
75
|
-
const bus = yield*
|
|
76
|
-
const credentials = yield*
|
|
77
|
-
const providers = yield*
|
|
75
|
+
const bus = yield* Service85;
|
|
76
|
+
const credentials = yield* Service79;
|
|
77
|
+
const providers = yield* Service77;
|
|
78
78
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
79
79
|
const tokens = new Map;
|
|
80
80
|
const resourceIDs = new Map;
|
|
@@ -100,11 +100,11 @@ function make8(endpoints = {
|
|
|
100
100
|
const configuredResource = Boolean(resolveResourceName(configured) || typeof configured?.baseURL === "string");
|
|
101
101
|
yield* ctx.integration.transform((editor) => {
|
|
102
102
|
editor.method.update({
|
|
103
|
-
integrationID:
|
|
103
|
+
integrationID: ID12.azure,
|
|
104
104
|
method: { type: "env", names: ["AZURE_API_KEY", "AZURE_COGNITIVE_SERVICES_API_KEY"] }
|
|
105
105
|
});
|
|
106
106
|
editor.method.update({
|
|
107
|
-
integrationID:
|
|
107
|
+
integrationID: ID12.azure,
|
|
108
108
|
method: {
|
|
109
109
|
type: "key",
|
|
110
110
|
label: "API key",
|
|
@@ -122,7 +122,7 @@ function make8(endpoints = {
|
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "external",
|
|
@@ -142,8 +142,8 @@ function make8(endpoints = {
|
|
|
142
142
|
});
|
|
143
143
|
});
|
|
144
144
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
145
|
-
const connection = yield* ctx.integration.connection.active(
|
|
146
|
-
const stored = connection?.type === "credential" ? yield* credentials.get(
|
|
145
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
146
|
+
const stored = connection?.type === "credential" ? yield* credentials.get(ID14.make(connection.id)) : undefined;
|
|
147
147
|
return { connection, resource: credentialResource(stored?.value) };
|
|
148
148
|
});
|
|
149
149
|
const findResource = Effect.fn("AzurePlugin.findResource")(function* (resource) {
|
|
@@ -182,7 +182,7 @@ function make8(endpoints = {
|
|
|
182
182
|
}));
|
|
183
183
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
184
184
|
const connection = loaded.connection;
|
|
185
|
-
const settings = (yield* providers.get(
|
|
185
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
186
186
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
187
187
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
188
188
|
if (loaded.connection !== connection)
|
|
@@ -204,11 +204,11 @@ function make8(endpoints = {
|
|
|
204
204
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
205
205
|
if (!found)
|
|
206
206
|
return;
|
|
207
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
207
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
208
208
|
return;
|
|
209
209
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
210
210
|
return;
|
|
211
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
211
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
212
212
|
id.toLowerCase(),
|
|
213
213
|
id
|
|
214
214
|
]));
|
|
@@ -221,11 +221,11 @@ function make8(endpoints = {
|
|
|
221
221
|
yield* ctx.model.reload();
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
224
|
-
const resourceFor = (provider) => provider.id ===
|
|
224
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
225
225
|
Object.assign(loaded, yield* load());
|
|
226
226
|
yield* ctx.provider.transform((evt) => {
|
|
227
227
|
for (const item of evt.list()) {
|
|
228
|
-
if (item.provider.id !==
|
|
228
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
229
229
|
continue;
|
|
230
230
|
const resourceName = resourceFor(item.provider);
|
|
231
231
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -240,7 +240,7 @@ function make8(endpoints = {
|
|
|
240
240
|
};
|
|
241
241
|
});
|
|
242
242
|
}
|
|
243
|
-
const item = evt.get(
|
|
243
|
+
const item = evt.get(ID12.azure);
|
|
244
244
|
if (!item)
|
|
245
245
|
return;
|
|
246
246
|
evt.add({
|
|
@@ -251,7 +251,7 @@ function make8(endpoints = {
|
|
|
251
251
|
});
|
|
252
252
|
yield* ctx.model.transform((models) => {
|
|
253
253
|
for (const item of models.provider.list()) {
|
|
254
|
-
if (item.provider.id !==
|
|
254
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
255
255
|
continue;
|
|
256
256
|
const resourceName = resourceFor(item.provider);
|
|
257
257
|
if (!resourceName)
|
|
@@ -270,20 +270,20 @@ function make8(endpoints = {
|
|
|
270
270
|
}
|
|
271
271
|
if (!loaded.deployments)
|
|
272
272
|
return;
|
|
273
|
-
const catalog = models.list(
|
|
273
|
+
const catalog = models.list(ID12.azure);
|
|
274
274
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
275
275
|
for (const model of catalog) {
|
|
276
276
|
if (!deployed.has(model.id))
|
|
277
|
-
models.remove(
|
|
277
|
+
models.remove(ID12.azure, model.id);
|
|
278
278
|
}
|
|
279
279
|
for (const [id, model] of deployed) {
|
|
280
|
-
models.update(
|
|
280
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
281
281
|
}
|
|
282
282
|
});
|
|
283
|
-
yield* bus.subscribe(
|
|
283
|
+
yield* bus.subscribe(Event18.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
284
284
|
yield* refresh().pipe(Effect.forkScoped);
|
|
285
285
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
286
|
-
const connection = yield* ctx.integration.connection.active(
|
|
286
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
287
287
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
288
288
|
return;
|
|
289
289
|
})) : undefined;
|
|
@@ -295,7 +295,7 @@ function make8(endpoints = {
|
|
|
295
295
|
return `Bearer ${current.access}`;
|
|
296
296
|
});
|
|
297
297
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
298
|
-
if (evt.model.providerID !==
|
|
298
|
+
if (evt.model.providerID !== ID12.azure)
|
|
299
299
|
return;
|
|
300
300
|
const authorization = yield* bearer(evt.request.url);
|
|
301
301
|
if (!authorization)
|
|
@@ -304,9 +304,9 @@ function make8(endpoints = {
|
|
|
304
304
|
evt.request.headers.delete("x-api-key");
|
|
305
305
|
evt.request.headers.set("authorization", authorization);
|
|
306
306
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
307
|
-
}), { providerID:
|
|
307
|
+
}), { providerID: ID12.azure });
|
|
308
308
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
309
|
-
if (evt.model.providerID !==
|
|
309
|
+
if (evt.model.providerID !== ID12.azure)
|
|
310
310
|
return;
|
|
311
311
|
const authorization = yield* bearer(evt.url);
|
|
312
312
|
if (!authorization)
|
|
@@ -315,11 +315,11 @@ function make8(endpoints = {
|
|
|
315
315
|
delete evt.headers["x-api-key"];
|
|
316
316
|
evt.headers.authorization = authorization;
|
|
317
317
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
318
|
-
}), { providerID:
|
|
318
|
+
}), { providerID: ID12.azure });
|
|
319
319
|
})
|
|
320
320
|
});
|
|
321
321
|
}
|
|
322
|
-
var AzurePlugin2 =
|
|
322
|
+
var AzurePlugin2 = make6();
|
|
323
323
|
function resolveResourceName(settings, fallback) {
|
|
324
324
|
const configured = settings?.resourceName;
|
|
325
325
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -349,11 +349,11 @@ function deployedModels(deployments, catalog) {
|
|
|
349
349
|
const model = catalogModel(models, deployment);
|
|
350
350
|
if (!model)
|
|
351
351
|
return [];
|
|
352
|
-
const id =
|
|
352
|
+
const id = ID11.make(deployment.name.toLowerCase());
|
|
353
353
|
const info = {
|
|
354
354
|
...structuredClone(model),
|
|
355
355
|
id,
|
|
356
|
-
modelID:
|
|
356
|
+
modelID: ID11.make(deployment.name),
|
|
357
357
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
358
358
|
};
|
|
359
359
|
return [[id, info]];
|
|
@@ -375,4 +375,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
375
375
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
376
376
|
}
|
|
377
377
|
|
|
378
|
-
export {
|
|
378
|
+
export { make6, AzurePlugin2 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
which2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./tool-qaymkmh1.js";
|
|
4
4
|
|
|
5
5
|
// src/formatter/builtins.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
7
7
|
import { ChildProcess } from "effect/process";
|
|
8
8
|
import { isRecord } from "@opencode/util/record";
|
|
9
|
-
function
|
|
9
|
+
function make10(input) {
|
|
10
10
|
const disabled = false;
|
|
11
11
|
const findExecutable = (name) => which2(name, undefined, input.bin);
|
|
12
12
|
const findUp = (target) => input.fs.findUp(target, input.directory, input.worktree);
|
|
@@ -259,4 +259,4 @@ function hasRecordKey(input, field, key) {
|
|
|
259
259
|
return isRecord(input[field]) && key in input[field];
|
|
260
260
|
}
|
|
261
261
|
|
|
262
|
-
export {
|
|
262
|
+
export { make10 };
|