@opencode/core 0.0.0-dev-20307 → 0.0.0-dev-20311
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 +81 -81
- package/dist/aisdk-native.js +89 -89
- package/dist/aisdk.js +94 -94
- package/dist/app.js +9 -9
- package/dist/bus.js +73 -73
- package/dist/chunks/{config-arjb37bx.js → generate-0085hr19.js} +33 -33
- package/dist/chunks/{config-bnvytdy7.js → generate-03ykhv53.js} +25 -25
- package/dist/chunks/{config-r3q6pmcz.js → generate-07770t2t.js} +6 -6
- package/dist/chunks/{config-efjjk5dx.js → generate-0dr81x6h.js} +11 -11
- package/dist/chunks/{config-0jq9fyba.js → generate-0jq9fyba.js} +2 -2
- package/dist/chunks/{config-0paq2nw3.js → generate-0paq2nw3.js} +1 -1
- package/dist/chunks/{config-9bmgxnfb.js → generate-1aft4d1r.js} +32 -32
- package/dist/chunks/{config-ghxng14m.js → generate-1d9tbeyw.js} +8 -8
- package/dist/chunks/{config-1dazxqgg.js → generate-1dazxqgg.js} +2 -2
- package/dist/chunks/{config-xvgtn10j.js → generate-1fyhttb2.js} +3 -3
- package/dist/chunks/{config-269darmg.js → generate-1njzkgw4.js} +38 -38
- package/dist/chunks/{config-7xv45gyt.js → generate-1vya40xm.js} +3 -3
- package/dist/chunks/{config-21r38tys.js → generate-21r38tys.js} +1 -1
- package/dist/chunks/{config-n10xprsy.js → generate-22jt7mmp.js} +23 -23
- package/dist/chunks/{config-p67888xt.js → generate-23pgy1bp.js} +18 -18
- package/dist/chunks/{config-nq7qbqzc.js → generate-24dd53tp.js} +9 -9
- package/dist/chunks/{config-2a5m3afh.js → generate-2a5m3afh.js} +1 -1
- package/dist/chunks/{config-gvw0fbgk.js → generate-2c835n2e.js} +5 -5
- package/dist/chunks/{config-fvanntqq.js → generate-2d57kztd.js} +6 -6
- package/dist/chunks/{config-xfcb1x2f.js → generate-2eryzwn5.js} +26 -26
- package/dist/chunks/{config-t0fxg8b9.js → generate-2f0bjgcj.js} +5 -5
- package/dist/chunks/{config-eemsvzwm.js → generate-2f1w8fmd.js} +7 -7
- package/dist/chunks/{config-57ez7d0k.js → generate-2fgn2we9.js} +9 -9
- package/dist/chunks/{config-s8avne91.js → generate-2p5ftwah.js} +17 -17
- package/dist/chunks/{config-2hbvw9vv.js → generate-2yb60grw.js} +13 -13
- package/dist/chunks/{config-z3zp24an.js → generate-32ymn5e1.js} +6 -6
- package/dist/chunks/{config-few7m4w4.js → generate-33qnn5ry.js} +9 -9
- package/dist/chunks/{config-z8pd6906.js → generate-3ckkbjr6.js} +29 -29
- package/dist/chunks/{config-3fc6dm20.js → generate-3fc6dm20.js} +1 -1
- package/dist/chunks/{config-3hepkmqq.js → generate-3hepkmqq.js} +1 -1
- package/dist/chunks/{config-3smtnn6g.js → generate-3smtnn6g.js} +1 -1
- package/dist/chunks/{config-3tvqynh2.js → generate-3tvqynh2.js} +1 -1
- package/dist/chunks/{config-p27bdzt8.js → generate-3vjxyz9p.js} +40 -40
- package/dist/chunks/{config-3zsf4n22.js → generate-3zsf4n22.js} +1 -1
- package/dist/chunks/{config-h8rda941.js → generate-43tk2b99.js} +23 -23
- package/dist/chunks/{config-t9b158gy.js → generate-440wx6xb.js} +13 -13
- package/dist/chunks/{config-yf10kn3d.js → generate-4arb9zza.js} +8 -8
- package/dist/chunks/{config-yvvvp4gn.js → generate-4c2df9zx.js} +8 -8
- package/dist/chunks/{config-5n0kyfxb.js → generate-4e9qa1yk.js} +13 -13
- package/dist/chunks/{config-twx3wtca.js → generate-4g5hndmz.js} +15 -15
- package/dist/chunks/{config-dc965nrq.js → generate-4gyadrbh.js} +33 -33
- package/dist/chunks/{config-p6wxjpka.js → generate-4j4tgtq5.js} +4 -4
- package/dist/chunks/{config-4n7khwcq.js → generate-4r3dk6a2.js} +24 -24
- package/dist/chunks/{config-kcsm1vfq.js → generate-4xkx8k44.js} +7 -7
- package/dist/chunks/{config-qj8eh1ht.js → generate-50mzsvk4.js} +4 -4
- package/dist/chunks/{config-yqsrqvmh.js → generate-52dst9ej.js} +11 -11
- package/dist/chunks/{config-54ma36ye.js → generate-54ma36ye.js} +1 -1
- package/dist/chunks/{config-1ygqh575.js → generate-56gdpj1q.js} +9 -9
- package/dist/chunks/{config-45trpagw.js → generate-584xd2as.js} +19 -19
- package/dist/chunks/{config-5daktx2q.js → generate-5daktx2q.js} +1 -1
- package/dist/chunks/{config-y0mc46pw.js → generate-5e1pzs32.js} +9 -9
- package/dist/chunks/{config-d2kdndyg.js → generate-5hvea60m.js} +20 -20
- package/dist/chunks/{config-422899az.js → generate-5qbm8fhe.js} +33 -33
- package/dist/chunks/{config-5t3nmthw.js → generate-5t3nmthw.js} +2 -2
- package/dist/chunks/{config-p0317zjm.js → generate-6416pc1c.js} +50 -50
- package/dist/chunks/{config-669tq793.js → generate-669tq793.js} +1 -1
- package/dist/chunks/{config-0tny3c9f.js → generate-6bbg9vsb.js} +30 -30
- package/dist/chunks/{config-y9a1hj5c.js → generate-6k3166bs.js} +13 -13
- package/dist/chunks/{config-6msgmcgs.js → generate-6msgmcgs.js} +1 -1
- package/dist/chunks/{config-6pc27hjz.js → generate-6pc27hjz.js} +2 -2
- package/dist/chunks/{config-sk4te5ak.js → generate-6v2dyjqx.js} +25 -25
- package/dist/chunks/{config-6km63wvd.js → generate-732ar3t7.js} +21 -21
- package/dist/chunks/{config-qnv5e02b.js → generate-7ak6y54g.js} +19 -19
- package/dist/chunks/{config-7bmhse3q.js → generate-7bmhse3q.js} +1 -1
- package/dist/chunks/{config-7dqw4kz8.js → generate-7dqw4kz8.js} +1 -1
- package/dist/chunks/{config-ws9abje0.js → generate-7e733kya.js} +5 -5
- package/dist/chunks/{config-q7e6fk49.js → generate-7kcn46rt.js} +23 -23
- package/dist/chunks/{config-8d0exfkm.js → generate-7p7qn9e9.js} +24 -24
- package/dist/chunks/{config-fqtvmpfq.js → generate-7s451enq.js} +8 -8
- package/dist/chunks/{config-9mkjfjeb.js → generate-7v8m1a1x.js} +25 -25
- package/dist/chunks/{config-2f04pwep.js → generate-7w99qc9d.js} +3 -3
- package/dist/chunks/{config-25be0864.js → generate-814v6m4p.js} +15 -15
- package/dist/chunks/{config-2d52yt7h.js → generate-821ermd3.js} +17 -17
- package/dist/chunks/{config-w1eejvng.js → generate-84txncab.js} +5 -5
- package/dist/chunks/{config-q67st9n4.js → generate-85eh4j2g.js} +38 -38
- package/dist/chunks/{config-nzsvss4e.js → generate-85ej85ms.js} +5 -5
- package/dist/chunks/{config-8d7r5vzw.js → generate-8d7r5vzw.js} +1 -1
- package/dist/chunks/{config-95y9ape3.js → generate-8em80h20.js} +45 -45
- package/dist/chunks/{config-jnj9g4r4.js → generate-8f1bvar8.js} +53 -53
- package/dist/chunks/{config-q0mntv84.js → generate-8kd7g5rj.js} +6 -6
- package/dist/chunks/{config-8hj0xwzd.js → generate-8zddydas.js} +30 -30
- package/dist/chunks/{config-89392nta.js → generate-90ny61fc.js} +11 -11
- package/dist/chunks/{config-dmqymbqv.js → generate-91wxwphj.js} +7 -7
- package/dist/chunks/{config-ca9g9rqk.js → generate-938hwyrh.js} +5 -5
- package/dist/chunks/{config-94ek1h2f.js → generate-94ek1h2f.js} +2 -2
- package/dist/chunks/{config-m10m16yg.js → generate-95v4nsjn.js} +8 -8
- package/dist/chunks/{config-4wwqnvbr.js → generate-96ctqc5x.js} +4 -4
- package/dist/chunks/{config-bhemr9wh.js → generate-979a2w4f.js} +11 -11
- package/dist/chunks/{config-yvpx9whs.js → generate-9p1d72pj.js} +28 -28
- package/dist/chunks/{config-7t1gf4xk.js → generate-9pd2f5yz.js} +17 -17
- package/dist/chunks/{config-5cwfczjf.js → generate-9rgc45s8.js} +30 -30
- package/dist/chunks/{config-y8q9ap8c.js → generate-a1wxwke7.js} +19 -19
- package/dist/chunks/{config-b27vhd2z.js → generate-a46v4e4v.js} +4 -4
- package/dist/chunks/{config-3jgxhq06.js → generate-a5s3jpvp.js} +44 -44
- package/dist/chunks/{config-5xvskv7y.js → generate-a5vdvzcn.js} +11 -11
- package/dist/chunks/{config-hnw0gg26.js → generate-a8wkh39j.js} +5 -5
- package/dist/chunks/{config-aaet6srn.js → generate-aaet6srn.js} +2 -2
- package/dist/chunks/{config-2fa7a2cb.js → generate-aam4yepe.js} +22 -22
- package/dist/chunks/{config-sve1nj7a.js → generate-abngy076.js} +32 -32
- package/dist/chunks/{config-8rrryrvw.js → generate-agqxsrzz.js} +11 -11
- package/dist/chunks/{config-32775zb7.js → generate-ahw5tbvq.js} +329 -329
- package/dist/chunks/{config-fj4h7adg.js → generate-amejyd4w.js} +28 -28
- package/dist/chunks/{config-g8z1d8m7.js → generate-as21h9v2.js} +9 -9
- package/dist/chunks/{config-vk0rzmvc.js → generate-awnxdpmt.js} +47 -47
- package/dist/chunks/{config-5fn2wwsq.js → generate-awsejm39.js} +18 -18
- package/dist/chunks/{config-w7qq5tsb.js → generate-azgbrbkh.js} +20 -20
- package/dist/chunks/{config-yp2zyt9e.js → generate-b5v2de1g.js} +23 -23
- package/dist/chunks/{config-b6gygkdw.js → generate-b6gygkdw.js} +2 -2
- package/dist/chunks/{config-qsr9synt.js → generate-b7b4ctej.js} +5 -5
- package/dist/chunks/{config-29t9s0qq.js → generate-bazj3hza.js} +13 -13
- package/dist/chunks/{config-z3xax5j7.js → generate-bbqtwfcr.js} +14 -14
- package/dist/chunks/{config-4dzbwv5q.js → generate-bevq0g19.js} +32 -32
- package/dist/chunks/{config-yhd4mc25.js → generate-bhsjg0n3.js} +22 -22
- package/dist/chunks/{config-z04bxrmy.js → generate-bqjh05b8.js} +8 -8
- package/dist/chunks/{config-0vd4engx.js → generate-bt1jz474.js} +3 -3
- package/dist/chunks/generate-by5v678g.js +18 -0
- package/dist/chunks/{config-g31nq6sa.js → generate-c6pt6dva.js} +8 -8
- package/dist/chunks/{config-ckecvw8r.js → generate-ckecvw8r.js} +2 -2
- package/dist/chunks/{config-4kmetaym.js → generate-cnvngknd.js} +32 -32
- package/dist/chunks/{config-1mddym19.js → generate-cq4a9qth.js} +38 -38
- package/dist/chunks/{config-mxp0vfn9.js → generate-ctx36fda.js} +37 -37
- package/dist/chunks/{config-2sejkfem.js → generate-cwa6csj7.js} +9 -9
- package/dist/chunks/{config-byf60vcv.js → generate-d172wthb.js} +32 -32
- package/dist/chunks/{config-nbbwaq1x.js → generate-dbtagb3j.js} +10 -10
- package/dist/chunks/{config-dzjeaeqz.js → generate-ddvgmnvd.js} +5 -5
- package/dist/chunks/{config-kgw42yf8.js → generate-dgb4ba8k.js} +12 -12
- package/dist/chunks/{config-addxnjmp.js → generate-dnxkq42g.js} +4 -4
- package/dist/chunks/{config-qehv365y.js → generate-drfqr2ek.js} +9 -9
- package/dist/chunks/{config-drwq78ky.js → generate-drwq78ky.js} +1 -1
- package/dist/chunks/{config-qwb4tgp6.js → generate-e5cyx2g4.js} +20 -20
- package/dist/chunks/{config-ecfe7b91.js → generate-ecfe7b91.js} +2 -2
- package/dist/chunks/{config-ef5x83kb.js → generate-ef5x83kb.js} +1 -1
- package/dist/chunks/{config-zz0c306v.js → generate-es45fn35.js} +20 -20
- package/dist/chunks/{config-etq0c3wd.js → generate-etq0c3wd.js} +1 -1
- package/dist/chunks/{config-vwpf3yy2.js → generate-f6cejng9.js} +23 -23
- package/dist/chunks/{config-46119t3w.js → generate-f77a5w0g.js} +13 -13
- package/dist/chunks/{config-sa09mgdh.js → generate-fjqeck8h.js} +16 -16
- package/dist/chunks/{config-292wsk96.js → generate-fjxg64x0.js} +5 -5
- package/dist/chunks/{config-4kd7e6ys.js → generate-fmhg56c5.js} +9 -9
- package/dist/chunks/{config-6tdhfkhk.js → generate-fscpw8f3.js} +5 -5
- package/dist/chunks/{config-9z9ew9nd.js → generate-fwzevyy4.js} +1 -1
- package/dist/chunks/{config-p37cw4rj.js → generate-g0445xdp.js} +8 -8
- package/dist/chunks/{config-3d257yh9.js → generate-g0a45qje.js} +9 -9
- package/dist/chunks/{config-jwhtpyzr.js → generate-gaa1tzxa.js} +16 -16
- package/dist/chunks/{config-77m06x4p.js → generate-gbs6e6v2.js} +11 -11
- package/dist/chunks/{config-gd4qta3r.js → generate-gd4qta3r.js} +1 -1
- package/dist/chunks/{config-a0ex1whv.js → generate-gf4w2vvn.js} +14 -14
- package/dist/chunks/{config-jha2wz63.js → generate-gh484rvf.js} +74 -74
- package/dist/chunks/{config-dr8yj0jr.js → generate-gknmnwsv.js} +9 -9
- package/dist/chunks/{config-gv6a8nnw.js → generate-gv6a8nnw.js} +2 -2
- package/dist/chunks/{config-0t7zfrp0.js → generate-gxr0tf1h.js} +2 -2
- package/dist/chunks/{config-xpkwndmr.js → generate-h0kdtxf8.js} +30 -30
- package/dist/chunks/{config-qexff29z.js → generate-h35vggef.js} +8 -8
- package/dist/chunks/{config-xks95tas.js → generate-h37r8vbk.js} +29 -29
- package/dist/chunks/{config-h6vf3j39.js → generate-h6vf3j39.js} +1 -1
- package/dist/chunks/{config-hekxc47r.js → generate-hd8vw2pw.js} +1 -1
- package/dist/chunks/{config-z349dkze.js → generate-hf41t8pz.js} +20 -20
- package/dist/chunks/{config-510m7gjw.js → generate-hnr5yq9h.js} +5 -5
- package/dist/chunks/{config-e1n7rw9f.js → generate-hr33daew.js} +4 -4
- package/dist/chunks/generate-hwbqwnb3.js +252 -0
- package/dist/chunks/{config-ebp6b9tv.js → generate-hzm7snc9.js} +12 -12
- package/dist/chunks/{config-j56e64zr.js → generate-j56e64zr.js} +1 -1
- package/dist/chunks/{config-pmr4s4kc.js → generate-j83byb14.js} +4 -4
- package/dist/chunks/{config-tk3wdx18.js → generate-jf6ce2dj.js} +180 -180
- package/dist/chunks/{config-y0ghwd9k.js → generate-jk5wpxvf.js} +3 -3
- package/dist/chunks/{config-1sf86jmj.js → generate-jtknk089.js} +12 -12
- package/dist/chunks/{config-2shgxpvs.js → generate-jw2g4gey.js} +6 -6
- package/dist/chunks/{config-wgbxdxnn.js → generate-k2057gb1.js} +26 -26
- package/dist/chunks/{config-k3c624dm.js → generate-k3c624dm.js} +3 -3
- package/dist/chunks/{config-8gxqpgph.js → generate-k76fn4kw.js} +4 -4
- package/dist/chunks/{config-7jtbgzxh.js → generate-kambhmaz.js} +11 -11
- package/dist/chunks/{config-ff2d7thw.js → generate-m35av5wd.js} +23 -23
- package/dist/chunks/{config-m3fdjcah.js → generate-m3fdjcah.js} +1 -1
- package/dist/chunks/{config-v8fkb6at.js → generate-m86ds27b.js} +11 -11
- package/dist/chunks/{config-m9w0rfyh.js → generate-m9w0rfyh.js} +1 -1
- package/dist/chunks/{config-a8qx80kp.js → generate-md55ss1w.js} +16 -16
- package/dist/chunks/{config-jf3khhe6.js → generate-mmnbb39x.js} +6 -6
- package/dist/chunks/{config-eq1pz5kg.js → generate-mvfsc1pv.js} +3 -3
- package/dist/chunks/{config-xwm6bryg.js → generate-mvksx64m.js} +4 -4
- package/dist/chunks/{config-nej22d74.js → generate-n01ekzvg.js} +29 -29
- package/dist/chunks/{config-k0gdq8ga.js → generate-nbzsj80d.js} +8 -8
- package/dist/chunks/{config-mekq1jxg.js → generate-neq7j8hb.js} +31 -31
- package/dist/chunks/{config-cswq075c.js → generate-ngcky491.js} +55 -55
- package/dist/chunks/{config-syj77zjw.js → generate-nh7jf5qt.js} +18 -18
- package/dist/chunks/{config-dah29an0.js → generate-nmfetzj5.js} +4 -4
- package/dist/chunks/{config-yr1ytw2x.js → generate-nmmahyvw.js} +15 -15
- package/dist/chunks/{config-s8610hey.js → generate-nng2ktcm.js} +2 -2
- package/dist/chunks/{config-6jrp8t3j.js → generate-nreym987.js} +11 -11
- package/dist/chunks/{config-eqht9cbe.js → generate-nt6ypc5t.js} +23 -23
- package/dist/chunks/{config-4xh623zh.js → generate-nvefchs6.js} +26 -26
- package/dist/chunks/{config-ead3g9p8.js → generate-nxhqveyz.js} +5 -5
- package/dist/chunks/{config-d7wsq8bv.js → generate-nzsh53q3.js} +14 -14
- package/dist/chunks/{config-2vpry5jy.js → generate-p1cfyvt1.js} +15 -15
- package/dist/chunks/{config-eq9h0d5y.js → generate-pacd6fme.js} +8 -8
- package/dist/chunks/{config-n8zm2rh5.js → generate-pfzrvarp.js} +4 -4
- package/dist/chunks/{config-87m1q7ht.js → generate-pggm8t3g.js} +10 -10
- package/dist/chunks/{config-pjvnvgmy.js → generate-pjvnvgmy.js} +1 -1
- package/dist/chunks/{config-pknna89w.js → generate-pknna89w.js} +1 -1
- package/dist/chunks/{config-h78069mn.js → generate-pr6rswsq.js} +11 -11
- package/dist/chunks/{config-90jdj94b.js → generate-prsj8pfn.js} +22 -22
- package/dist/chunks/{config-92azg307.js → generate-q4fmv0xv.js} +5 -5
- package/dist/chunks/{config-q8n9d2sh.js → generate-q8n9d2sh.js} +3 -3
- package/dist/chunks/{config-ce44v4st.js → generate-qb2tb8w1.js} +25 -25
- package/dist/chunks/{config-bdqrk2vk.js → generate-qq8x5mwt.js} +6 -6
- package/dist/chunks/{config-qsdy395h.js → generate-qsdy395h.js} +1 -1
- package/dist/chunks/{config-aa6e1bxm.js → generate-qtkmjp6n.js} +26 -26
- package/dist/chunks/{config-f1vyadhg.js → generate-qz02d4gv.js} +14 -14
- package/dist/chunks/{config-jhp1ybt8.js → generate-r0tjgr50.js} +16 -16
- package/dist/chunks/{config-d7syg0tc.js → generate-r34cw8yr.js} +12 -12
- package/dist/chunks/{config-75jb4kyn.js → generate-r4xhx5yy.js} +12 -12
- package/dist/chunks/{config-jhser3r8.js → generate-r65s3bqz.js} +15 -15
- package/dist/chunks/{config-ze5v0a14.js → generate-rc1dmyce.js} +8 -8
- package/dist/chunks/{config-rdw6cm16.js → generate-rdw6cm16.js} +1 -1
- package/dist/chunks/{config-yfcxk4hn.js → generate-rfabxrr6.js} +24 -24
- package/dist/chunks/{config-eaj1djv9.js → generate-rhjbct0v.js} +8 -8
- package/dist/chunks/{config-wf79szkf.js → generate-rn2ttdtd.js} +22 -22
- package/dist/chunks/{config-w3c417zp.js → generate-rvqyhd8y.js} +3 -3
- package/dist/chunks/{config-1jz99jwb.js → generate-rw4cg28f.js} +48 -48
- package/dist/chunks/{config-b1gf7dz2.js → generate-rxsnry8w.js} +22 -22
- package/dist/chunks/{config-jq6r9rxs.js → generate-s708rks0.js} +4 -4
- package/dist/chunks/{config-1rzg8cx3.js → generate-sd7dhxs3.js} +32 -32
- package/dist/chunks/{config-pd37k1mn.js → generate-sfjqvhg3.js} +10 -10
- package/dist/chunks/{config-pq8y9jyn.js → generate-sfzrsyap.js} +9 -9
- package/dist/chunks/{config-6jcmgf9k.js → generate-svrzg09g.js} +8 -8
- package/dist/chunks/{config-0w59s7c2.js → generate-t54ngshn.js} +14 -14
- package/dist/chunks/{config-ba9gehx5.js → generate-tadj9bjf.js} +3 -3
- package/dist/chunks/{config-tazgh4e4.js → generate-tazgh4e4.js} +1 -1
- package/dist/chunks/{config-tcezcvh9.js → generate-tcezcvh9.js} +1 -1
- package/dist/chunks/{config-tdstcens.js → generate-tdstcens.js} +1 -1
- package/dist/chunks/{config-hzc9ca78.js → generate-tfn34vp9.js} +10 -10
- package/dist/chunks/{config-wzwsskye.js → generate-tfsskg12.js} +20 -20
- package/dist/chunks/{config-59akn9cc.js → generate-thke6090.js} +8 -8
- package/dist/chunks/{config-tvtrv512.js → generate-tvtrv512.js} +1 -1
- package/dist/chunks/{config-qgdgv7hk.js → generate-v4qgwr45.js} +3 -3
- package/dist/chunks/{config-3xvfcnst.js → generate-v9c8tcpz.js} +7 -7
- package/dist/chunks/{config-vd7rzxqf.js → generate-vd7rzxqf.js} +2 -2
- package/dist/chunks/{config-veqvce7d.js → generate-veqvce7d.js} +1 -1
- package/dist/chunks/{config-mjrszqca.js → generate-vffhp2gv.js} +34 -34
- package/dist/chunks/{config-c6t9gnna.js → generate-vy2q9tj0.js} +11 -11
- package/dist/chunks/{config-vzcthcp8.js → generate-vzcthcp8.js} +1 -1
- package/dist/chunks/{config-vzs5sf6e.js → generate-vzs5sf6e.js} +1 -1
- package/dist/chunks/{config-0x3pdc3s.js → generate-w1jbyrm2.js} +69 -69
- package/dist/chunks/{config-w3wsvvr9.js → generate-w3wsvvr9.js} +1 -1
- package/dist/chunks/{config-wd3x2cqz.js → generate-wd3x2cqz.js} +2 -2
- package/dist/chunks/{config-wd87259q.js → generate-wd87259q.js} +1 -1
- package/dist/chunks/{config-wkvewthv.js → generate-wgj5v4hd.js} +22 -22
- package/dist/chunks/{config-jge473sv.js → generate-wj63x7hs.js} +11 -11
- package/dist/chunks/{config-vbfgae2j.js → generate-wj76ss2k.js} +4 -4
- package/dist/chunks/{config-b9hntxh7.js → generate-wjep8sxw.js} +12 -12
- package/dist/chunks/{config-q3pdm90z.js → generate-wrb2h0pz.js} +21 -21
- package/dist/chunks/{config-5t7tt675.js → generate-x0fjgrm3.js} +14 -14
- package/dist/chunks/{config-x1ezjp6w.js → generate-x1ezjp6w.js} +1 -1
- package/dist/chunks/{config-b164etxs.js → generate-x536ta9q.js} +25 -25
- package/dist/chunks/{config-kwwj852z.js → generate-xa3tz7a2.js} +87 -87
- package/dist/chunks/{config-5mvwrzry.js → generate-xb6c13qf.js} +25 -25
- package/dist/chunks/{config-dmqcgk4z.js → generate-xkntkrq7.js} +5 -5
- package/dist/chunks/{config-asnp7hhc.js → generate-xnvjtjgs.js} +4 -4
- package/dist/chunks/{config-2sz29cz1.js → generate-xp2x8we8.js} +23 -23
- package/dist/chunks/{config-6k72yjme.js → generate-xrtm2pyg.js} +21 -21
- package/dist/chunks/{config-yttf4vyv.js → generate-y153a536.js} +3 -3
- package/dist/chunks/{config-y1fvbwt7.js → generate-y1fvbwt7.js} +1 -1
- package/dist/chunks/{config-y5df08dr.js → generate-y5df08dr.js} +5 -5
- package/dist/chunks/{config-ypxgwkzp.js → generate-y5njdhxq.js} +7 -7
- package/dist/chunks/{config-44ak30pa.js → generate-y5rf7nzv.js} +4 -4
- package/dist/chunks/{config-y71avatq.js → generate-y71avatq.js} +1 -1
- package/dist/chunks/{config-h896pcm5.js → generate-yf4jcbx9.js} +6 -6
- package/dist/chunks/{config-mt9yrtbx.js → generate-ygkdy722.js} +1 -1
- package/dist/chunks/{config-tq32sg09.js → generate-ymftmb4x.js} +24 -24
- package/dist/chunks/{config-yp2x3t23.js → generate-yp2x3t23.js} +1 -1
- package/dist/chunks/{config-q2gm30vq.js → generate-yp5y7gxn.js} +6 -6
- package/dist/chunks/{config-yrhqyw5v.js → generate-yrhqyw5v.js} +1 -1
- package/dist/chunks/{config-12xz87kv.js → generate-yrqbhy7t.js} +3 -3
- package/dist/chunks/{config-yrznvahk.js → generate-yrznvahk.js} +2 -2
- package/dist/chunks/generate-ysdhkd7t.js +26 -0
- package/dist/chunks/{config-z07pqspn.js → generate-z07pqspn.js} +3 -3
- package/dist/chunks/{config-z0bkrqjs.js → generate-z0bkrqjs.js} +1 -1
- package/dist/chunks/{config-0q3s84gs.js → generate-z0hkwef7.js} +32 -32
- package/dist/chunks/{config-s8fxn872.js → generate-z3mwdy1e.js} +13 -13
- package/dist/chunks/{config-z63w68vq.js → generate-z63w68vq.js} +2 -2
- package/dist/chunks/{config-yk4jbxhg.js → generate-z9mfjqhv.js} +10 -10
- package/dist/chunks/{config-zeh9ct20.js → generate-zeh9ct20.js} +2 -2
- package/dist/chunks/{config-s5cnhrvf.js → generate-zhdcmryh.js} +15 -15
- package/dist/chunks/{config-zz3bkaqy.js → generate-zm45vcs9.js} +25 -25
- package/dist/chunks/{config-zr2ceqn5.js → generate-zr2ceqn5.js} +1 -1
- package/dist/chunks/{config-zxq2ej10.js → generate-zxq2ej10.js} +1 -1
- package/dist/chunks/{config-z75a89z7.js → generate-zz5kw0a1.js} +19 -19
- 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 +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +125 -125
- package/dist/config/plugin/command.js +215 -215
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +141 -141
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +124 -124
- package/dist/config/plugin/image.js +123 -123
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +125 -125
- package/dist/config/plugin/mcp.js +132 -132
- package/dist/config/plugin/policy.js +124 -124
- package/dist/config/plugin/provider.js +123 -123
- package/dist/config/plugin/reference.js +125 -125
- package/dist/config/plugin/shell.js +123 -123
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +144 -144
- package/dist/config/plugin/snapshot.js +123 -123
- package/dist/config/plugin/source.js +126 -126
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +122 -122
- package/dist/config/plugin/worktree.js +125 -125
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +124 -124
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +12 -12
- package/dist/database/drizzle/effect-sqlite/index.js +12 -12
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +13 -13
- 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 +14 -14
- 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.gen.js +49 -49
- package/dist/database/migration.js +51 -51
- 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 +76 -76
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +372 -372
- 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 +93 -93
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +95 -95
- package/dist/environment/local.js +2 -2
- package/dist/environment/memory.js +2 -2
- package/dist/environment/unavailable.js +1 -1
- package/dist/event/sql.js +1 -1
- package/dist/event-logger.js +74 -74
- package/dist/file-access.js +104 -104
- package/dist/file-mutation.js +94 -94
- 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/ignore.js +1 -1
- 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 +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +11 -11
- package/dist/filesystem.js +102 -102
- package/dist/form.js +86 -86
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +101 -101
- package/dist/git.js +6 -6
- 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 +99 -99
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/id/id.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +363 -363
- package/dist/instruction-discovery.js +85 -85
- package/dist/instructions/builtins.js +87 -87
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +77 -77
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +135 -135
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +360 -360
- package/dist/location.js +83 -83
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +109 -109
- package/dist/mcp/instructions.js +129 -129
- package/dist/mcp/oauth.js +78 -78
- package/dist/mcp/stdio.js +90 -90
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +99 -99
- package/dist/model-resolver.js +98 -98
- package/dist/model.js +102 -102
- package/dist/models-dev.js +107 -107
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +80 -80
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +113 -113
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +86 -86
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +104 -104
- package/dist/plugin/command.js +102 -102
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +219 -219
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +335 -335
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +5 -5
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +102 -102
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +90 -90
- package/dist/plugin/provider/azure.js +122 -122
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +121 -121
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +119 -119
- package/dist/plugin/provider/digitalocean.js +93 -93
- package/dist/plugin/provider/dynamic.js +2 -2
- package/dist/plugin/provider/factory.js +1 -1
- package/dist/plugin/provider/gateway.js +2 -2
- package/dist/plugin/provider/github-copilot.js +95 -95
- package/dist/plugin/provider/gitlab.js +93 -93
- package/dist/plugin/provider/google-vertex.js +90 -90
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +78 -78
- package/dist/plugin/provider/lmstudio.js +122 -122
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +120 -120
- package/dist/plugin/provider/openai.js +93 -93
- package/dist/plugin/provider/opencode.js +95 -95
- package/dist/plugin/provider/openrouter.js +91 -91
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +79 -79
- package/dist/plugin/provider/prompt-cache-key.js +90 -90
- package/dist/plugin/provider/sap-ai-core.js +91 -91
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +122 -122
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +122 -122
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +163 -163
- package/dist/plugin/sdk.js +76 -76
- 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 +350 -350
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +2 -2
- package/dist/plugin/vcs/git.js +86 -86
- package/dist/plugin/vcs/hg.js +86 -86
- package/dist/plugin/verbosity.js +93 -93
- package/dist/plugin/warming.js +121 -121
- 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 +6 -6
- 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 +224 -224
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +84 -84
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +93 -93
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +89 -89
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +3 -3
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +95 -95
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/affinity.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +129 -129
- package/dist/session/context.js +153 -153
- package/dist/session/diff.js +88 -88
- 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 +225 -225
- package/dist/session/execution.js +126 -126
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +86 -86
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +73 -73
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +120 -120
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +130 -130
- package/dist/session/projector.js +86 -86
- package/dist/session/prompt.js +105 -105
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +90 -90
- package/dist/session/run-coordinator.js +1 -1
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +232 -232
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +98 -98
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +2 -2
- package/dist/session/runner/step.js +126 -126
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +170 -170
- package/dist/session/shell.js +138 -138
- package/dist/session/skill.js +103 -103
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +73 -73
- package/dist/session/store.js +85 -85
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +211 -211
- package/dist/session/system-prompt.js +1 -1
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +218 -218
- package/dist/session/usage.js +1 -1
- package/dist/session.js +219 -219
- 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 +140 -140
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +110 -110
- package/dist/snapshot.js +91 -91
- 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 +126 -126
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +116 -116
- package/dist/tool/plugin/grep.js +124 -124
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +116 -116
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +119 -119
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +220 -220
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +110 -110
- package/dist/tool/plugin/write.js +116 -116
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +14 -14
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +92 -92
- 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 +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +91 -91
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +89 -89
- package/dist/websearch.js +82 -82
- package/dist/wellknown/plugin.js +76 -76
- package/dist/wellknown.js +79 -79
- package/dist/workspace/driver.js +5 -5
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +80 -80
- package/dist/worktree/directory.js +2 -2
- package/dist/worktree/git.js +8 -8
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +92 -92
- package/package.json +8 -8
- package/dist/chunks/config-9sh4wc5j.js +0 -18
- package/dist/chunks/config-k8cz98np.js +0 -252
- package/dist/chunks/config-sv1g477j.js +0 -26
- /package/dist/chunks/{config-0qkdqm5v.js → generate-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{config-0zkw76rk.js → generate-0zkw76rk.js} +0 -0
- /package/dist/chunks/{config-17cy0kzp.js → generate-17cy0kzp.js} +0 -0
- /package/dist/chunks/{config-1cnp2v09.js → generate-1cnp2v09.js} +0 -0
- /package/dist/chunks/{config-1kg9ymc8.js → generate-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{config-24dcb14g.js → generate-24dcb14g.js} +0 -0
- /package/dist/chunks/{config-2710q6r3.js → generate-2710q6r3.js} +0 -0
- /package/dist/chunks/{config-2axfhc9x.js → generate-2axfhc9x.js} +0 -0
- /package/dist/chunks/{config-2c3vjs8z.js → generate-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{config-34c7v6d4.js → generate-34c7v6d4.js} +0 -0
- /package/dist/chunks/{config-359p4xyc.js → generate-359p4xyc.js} +0 -0
- /package/dist/chunks/{config-3asan66x.js → generate-3asan66x.js} +0 -0
- /package/dist/chunks/{config-3v8g72cx.js → generate-3v8g72cx.js} +0 -0
- /package/dist/chunks/{config-3w5fmr99.js → generate-3w5fmr99.js} +0 -0
- /package/dist/chunks/{config-3wcehsnq.js → generate-3wcehsnq.js} +0 -0
- /package/dist/chunks/{config-43n2bw4t.js → generate-43n2bw4t.js} +0 -0
- /package/dist/chunks/{config-4knz6hnm.js → generate-4knz6hnm.js} +0 -0
- /package/dist/chunks/{config-4vcrnpx2.js → generate-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{config-4y7fprxs.js → generate-4y7fprxs.js} +0 -0
- /package/dist/chunks/{config-53557ph1.js → generate-53557ph1.js} +0 -0
- /package/dist/chunks/{config-550bvhaj.js → generate-550bvhaj.js} +0 -0
- /package/dist/chunks/{config-5qd3pb7m.js → generate-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{config-6prwharc.js → generate-6prwharc.js} +0 -0
- /package/dist/chunks/{config-7akdwqpd.js → generate-7akdwqpd.js} +0 -0
- /package/dist/chunks/{config-7m9af43g.js → generate-7m9af43g.js} +0 -0
- /package/dist/chunks/{config-822emrt2.js → generate-822emrt2.js} +0 -0
- /package/dist/chunks/{config-88xbtdfr.js → generate-88xbtdfr.js} +0 -0
- /package/dist/chunks/{config-8n3pysct.js → generate-8n3pysct.js} +0 -0
- /package/dist/chunks/{config-8wj87zfr.js → generate-8wj87zfr.js} +0 -0
- /package/dist/chunks/{config-922hggd3.js → generate-922hggd3.js} +0 -0
- /package/dist/chunks/{config-9a4afbnw.js → generate-9a4afbnw.js} +0 -0
- /package/dist/chunks/{config-9rqn6x4v.js → generate-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{config-a6k6eb26.js → generate-a6k6eb26.js} +0 -0
- /package/dist/chunks/{config-af5trqkr.js → generate-af5trqkr.js} +0 -0
- /package/dist/chunks/{config-afrmfg78.js → generate-afrmfg78.js} +0 -0
- /package/dist/chunks/{config-aqzs7mqg.js → generate-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{config-atq7p7m5.js → generate-atq7p7m5.js} +0 -0
- /package/dist/chunks/{config-bkyjaxrp.js → generate-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{config-bmr6ed5q.js → generate-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{config-cf4snx6d.js → generate-cf4snx6d.js} +0 -0
- /package/dist/chunks/{config-cvy3z8tj.js → generate-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{config-d9fn303g.js → generate-d9fn303g.js} +0 -0
- /package/dist/chunks/{config-d9jj8t3e.js → generate-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{config-dajrwvna.js → generate-dajrwvna.js} +0 -0
- /package/dist/chunks/{config-dap0rakb.js → generate-dap0rakb.js} +0 -0
- /package/dist/chunks/{config-df08tz66.js → generate-df08tz66.js} +0 -0
- /package/dist/chunks/{config-dy18nga0.js → generate-dy18nga0.js} +0 -0
- /package/dist/chunks/{config-e5kj55wp.js → generate-e5kj55wp.js} +0 -0
- /package/dist/chunks/{config-e73j6tqm.js → generate-e73j6tqm.js} +0 -0
- /package/dist/chunks/{config-ec1grn59.js → generate-ec1grn59.js} +0 -0
- /package/dist/chunks/{config-eh3zwz77.js → generate-eh3zwz77.js} +0 -0
- /package/dist/chunks/{config-emrn6kk6.js → generate-emrn6kk6.js} +0 -0
- /package/dist/chunks/{config-f0mxakyp.js → generate-f0mxakyp.js} +0 -0
- /package/dist/chunks/{config-f6n9ztr4.js → generate-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{config-faypxj3z.js → generate-faypxj3z.js} +0 -0
- /package/dist/chunks/{config-fd410y7t.js → generate-fd410y7t.js} +0 -0
- /package/dist/chunks/{config-fxgpk5d8.js → generate-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{config-g4wezp1m.js → generate-g4wezp1m.js} +0 -0
- /package/dist/chunks/{config-g86h250q.js → generate-g86h250q.js} +0 -0
- /package/dist/chunks/{config-gebd4c9n.js → generate-gebd4c9n.js} +0 -0
- /package/dist/chunks/{config-gftt206x.js → generate-gftt206x.js} +0 -0
- /package/dist/chunks/{config-hjbc5kem.js → generate-hjbc5kem.js} +0 -0
- /package/dist/chunks/{config-hk9envan.js → generate-hk9envan.js} +0 -0
- /package/dist/chunks/{config-j2ntwpah.js → generate-j2ntwpah.js} +0 -0
- /package/dist/chunks/{config-j5zkgpj8.js → generate-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{config-jjkms2e6.js → generate-jjkms2e6.js} +0 -0
- /package/dist/chunks/{config-jr7sbwjy.js → generate-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{config-jwfs4k6c.js → generate-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{config-jzg6c2d5.js → generate-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{config-mp448xyj.js → generate-mp448xyj.js} +0 -0
- /package/dist/chunks/{config-msx8hqn2.js → generate-msx8hqn2.js} +0 -0
- /package/dist/chunks/{config-n05xt0ee.js → generate-n05xt0ee.js} +0 -0
- /package/dist/chunks/{config-n3j8tn72.js → generate-n3j8tn72.js} +0 -0
- /package/dist/chunks/{config-njntx4h6.js → generate-njntx4h6.js} +0 -0
- /package/dist/chunks/{config-q3sfg36h.js → generate-q3sfg36h.js} +0 -0
- /package/dist/chunks/{config-q74kybfr.js → generate-q74kybfr.js} +0 -0
- /package/dist/chunks/{config-qaymkmh1.js → generate-qaymkmh1.js} +0 -0
- /package/dist/chunks/{config-qb87gjwd.js → generate-qb87gjwd.js} +0 -0
- /package/dist/chunks/{config-qfa1cgps.js → generate-qfa1cgps.js} +0 -0
- /package/dist/chunks/{config-qg3g05ea.js → generate-qg3g05ea.js} +0 -0
- /package/dist/chunks/{config-qrg20bc0.js → generate-qrg20bc0.js} +0 -0
- /package/dist/chunks/{config-rcb2kzg1.js → generate-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{config-sdp7kfr6.js → generate-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{config-sk3qaz4a.js → generate-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{config-ssg3fenm.js → generate-ssg3fenm.js} +0 -0
- /package/dist/chunks/{config-w803qqfp.js → generate-w803qqfp.js} +0 -0
- /package/dist/chunks/{config-wc3fc9cn.js → generate-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{config-wer8tq1h.js → generate-wer8tq1h.js} +0 -0
- /package/dist/chunks/{config-wtztk69x.js → generate-wtztk69x.js} +0 -0
- /package/dist/chunks/{config-x0ckcb58.js → generate-x0ckcb58.js} +0 -0
- /package/dist/chunks/{config-x61499pn.js → generate-x61499pn.js} +0 -0
- /package/dist/chunks/{config-y44na4kk.js → generate-y44na4kk.js} +0 -0
- /package/dist/chunks/{config-y8cydn3q.js → generate-y8cydn3q.js} +0 -0
- /package/dist/chunks/{config-y8f7s663.js → generate-y8f7s663.js} +0 -0
- /package/dist/chunks/{config-ygaqb7jw.js → generate-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{config-ym463w8f.js → generate-ym463w8f.js} +0 -0
- /package/dist/chunks/{config-z9919s4g.js → generate-z9919s4g.js} +0 -0
|
@@ -1,41 +1,41 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service67
|
|
3
|
+
} from "./generate-ngcky491.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
5
|
+
ID4,
|
|
6
6
|
Name2,
|
|
7
7
|
toModelOutput3,
|
|
8
8
|
prepare3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service40
|
|
10
|
+
} from "./generate-k2057gb1.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./generate-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/skill.ts
|
|
16
|
-
var
|
|
17
|
-
__export(
|
|
18
|
-
Input: () =>
|
|
19
|
-
Output: () =>
|
|
20
|
-
Plugin: () =>
|
|
21
|
-
SkillTool: () =>
|
|
22
|
-
description: () =>
|
|
23
|
-
name: () =>
|
|
16
|
+
var exports_skill = {};
|
|
17
|
+
__export(exports_skill, {
|
|
18
|
+
Input: () => Input5,
|
|
19
|
+
Output: () => Output3,
|
|
20
|
+
Plugin: () => Plugin5,
|
|
21
|
+
SkillTool: () => exports_skill,
|
|
22
|
+
description: () => description3,
|
|
23
|
+
name: () => name5,
|
|
24
24
|
toModelOutput: () => toModelOutput2
|
|
25
25
|
});
|
|
26
26
|
import { ToolFailure } from "@opencode/ai";
|
|
27
27
|
import { Effect, Schema } from "effect";
|
|
28
28
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
29
|
-
var
|
|
30
|
-
var
|
|
31
|
-
id:
|
|
29
|
+
var name5 = "skill";
|
|
30
|
+
var Input5 = Schema.Struct({
|
|
31
|
+
id: ID4.annotate({ description: "The ID of an available skill or a skill explicitly referenced by the user" })
|
|
32
32
|
});
|
|
33
|
-
var
|
|
33
|
+
var Output3 = Schema.Struct({
|
|
34
34
|
name: Name2,
|
|
35
35
|
directory: Schema.String,
|
|
36
36
|
output: Schema.String
|
|
37
37
|
});
|
|
38
|
-
var
|
|
38
|
+
var description3 = [
|
|
39
39
|
"Load a specialized skill's instructions and resources into the current conversation when the task at hand matches its description.",
|
|
40
40
|
"",
|
|
41
41
|
"The skill ID must match an available skill or a skill explicitly referenced by the user."
|
|
@@ -43,25 +43,25 @@ var description5 = [
|
|
|
43
43
|
`);
|
|
44
44
|
var toModelOutput2 = toModelOutput3;
|
|
45
45
|
var unableToLoad = (name, error) => new ToolFailure({ message: `Unable to load skill ${name}`, error });
|
|
46
|
-
var
|
|
46
|
+
var Plugin5 = {
|
|
47
47
|
id: "opencode.tool.skill",
|
|
48
48
|
effect: Effect.fn("SkillTool.Plugin")(function* (ctx) {
|
|
49
49
|
const fs = yield* FSUtil.Service;
|
|
50
|
-
const skills = yield*
|
|
51
|
-
const permission = yield*
|
|
50
|
+
const skills = yield* Service40;
|
|
51
|
+
const permission = yield* Service67;
|
|
52
52
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
53
|
-
name:
|
|
53
|
+
name: name5,
|
|
54
54
|
options: { codemode: false },
|
|
55
|
-
description:
|
|
56
|
-
input:
|
|
57
|
-
output:
|
|
55
|
+
description: description3,
|
|
56
|
+
input: Input5,
|
|
57
|
+
output: Output3,
|
|
58
58
|
execute: (input, context) => Effect.gen(function* () {
|
|
59
59
|
const skill = yield* skills.get(input.id);
|
|
60
60
|
if (!skill)
|
|
61
61
|
return yield* unableToLoad(input.id);
|
|
62
62
|
return yield* Effect.gen(function* () {
|
|
63
63
|
yield* permission.assert({
|
|
64
|
-
action:
|
|
64
|
+
action: name5,
|
|
65
65
|
resources: [skill.id],
|
|
66
66
|
save: [skill.id],
|
|
67
67
|
sessionID: context.sessionID,
|
|
@@ -79,4 +79,4 @@ var Plugin27 = {
|
|
|
79
79
|
})
|
|
80
80
|
};
|
|
81
81
|
|
|
82
|
-
export {
|
|
82
|
+
export { name5, Input5, Output3, description3, toModelOutput2, Plugin5, exports_skill };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-979a2w4f.js";
|
|
4
4
|
import {
|
|
5
5
|
call2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-56gdpj1q.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/plugin/websearch/tinyfish.ts
|
|
12
12
|
var exports_tinyfish = {};
|
|
13
13
|
__export(exports_tinyfish, {
|
|
14
|
-
Plugin: () =>
|
|
14
|
+
Plugin: () => Plugin42,
|
|
15
15
|
WebSearchTinyFish: () => exports_tinyfish,
|
|
16
|
-
endpoint: () =>
|
|
16
|
+
endpoint: () => endpoint6
|
|
17
17
|
});
|
|
18
18
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
19
19
|
import { Effect, Option, Schema } from "effect";
|
|
20
20
|
import { HttpClient } from "effect/unstable/http";
|
|
21
|
-
var
|
|
21
|
+
var endpoint6 = "https://agent.tinyfish.ai/mcp";
|
|
22
22
|
var McpInput = Schema.Struct({
|
|
23
23
|
query: Schema.String
|
|
24
24
|
});
|
|
@@ -33,7 +33,7 @@ var SearchResponse = Schema.fromJsonString(Schema.Struct({
|
|
|
33
33
|
}))
|
|
34
34
|
}));
|
|
35
35
|
var decodeSearchResponse = Schema.decodeUnknownOption(SearchResponse);
|
|
36
|
-
var
|
|
36
|
+
var Plugin42 = define({
|
|
37
37
|
id: "opencode.websearch.tinyfish",
|
|
38
38
|
effect: Effect.fn("WebSearchTinyFish.Plugin")(function* (ctx) {
|
|
39
39
|
const http = yield* HttpClient.HttpClient;
|
|
@@ -55,7 +55,7 @@ var Plugin4 = define({
|
|
|
55
55
|
execute: (input) => Effect.gen(function* () {
|
|
56
56
|
const connection = yield* ctx.integration.connection.active("tinyfish");
|
|
57
57
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection) : undefined;
|
|
58
|
-
const result = yield* call2(http,
|
|
58
|
+
const result = yield* call2(http, endpoint6, "search", { input: McpInput, output: McpOutput }, { query: input.query }, {
|
|
59
59
|
"User-Agent": useragent2(ctx.app),
|
|
60
60
|
...credential?.type === "key" ? { "X-API-Key": credential.key } : { "X-TinyFish-Access-Mode": "keyless" }
|
|
61
61
|
});
|
|
@@ -73,4 +73,4 @@ var Plugin4 = define({
|
|
|
73
73
|
})
|
|
74
74
|
});
|
|
75
75
|
|
|
76
|
-
export {
|
|
76
|
+
export { endpoint6, Plugin42, exports_tinyfish };
|
|
@@ -1,57 +1,57 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./generate-r34cw8yr.js";
|
|
5
5
|
import {
|
|
6
6
|
Service79,
|
|
7
7
|
node83
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-ddvgmnvd.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service48,
|
|
11
|
+
node51
|
|
12
|
+
} from "./generate-732ar3t7.js";
|
|
13
13
|
import {
|
|
14
14
|
cleanup3
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-gd4qta3r.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
Service47,
|
|
18
18
|
args2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
node50
|
|
20
|
+
} from "./generate-r0tjgr50.js";
|
|
21
21
|
import {
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
} from "./
|
|
22
|
+
Service71,
|
|
23
|
+
node74
|
|
24
|
+
} from "./generate-7s451enq.js";
|
|
25
25
|
import {
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
} from "./
|
|
26
|
+
Service46,
|
|
27
|
+
node49
|
|
28
|
+
} from "./generate-4c2df9zx.js";
|
|
29
29
|
import {
|
|
30
30
|
SessionSchema2
|
|
31
|
-
} from "./
|
|
31
|
+
} from "./generate-7w99qc9d.js";
|
|
32
32
|
import {
|
|
33
33
|
latest2,
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
} from "./
|
|
34
|
+
Service59,
|
|
35
|
+
node62
|
|
36
|
+
} from "./generate-cq4a9qth.js";
|
|
37
37
|
import {
|
|
38
38
|
MAX_LINES2,
|
|
39
39
|
MAX_BYTES2
|
|
40
|
-
} from "./
|
|
40
|
+
} from "./generate-r4xhx5yy.js";
|
|
41
41
|
import {
|
|
42
42
|
__export
|
|
43
|
-
} from "./
|
|
43
|
+
} from "./generate-9rqn6x4v.js";
|
|
44
44
|
|
|
45
45
|
// src/shell.ts
|
|
46
46
|
var exports_shell4 = {};
|
|
47
47
|
__export(exports_shell4, {
|
|
48
48
|
DIRECTORY: () => DIRECTORY2,
|
|
49
|
-
NotFoundError: () =>
|
|
49
|
+
NotFoundError: () => NotFoundError6,
|
|
50
50
|
RETENTION: () => RETENTION2,
|
|
51
|
-
Service: () =>
|
|
51
|
+
Service: () => Service45,
|
|
52
52
|
Shell: () => exports_shell4,
|
|
53
53
|
cleanup: () => cleanup2,
|
|
54
|
-
node: () =>
|
|
54
|
+
node: () => node48
|
|
55
55
|
});
|
|
56
56
|
import path from "path";
|
|
57
57
|
import { Context, Deferred, Duration, Effect, Fiber, Latch, Layer, Schema, Schedule, Stream } from "effect";
|
|
@@ -63,7 +63,7 @@ import { CrossSpawnSpawner } from "@opencode/util/cross-spawn-spawner";
|
|
|
63
63
|
import { makeGlobalNode, makeLocationNode } from "@opencode/util/effect/app-node";
|
|
64
64
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
65
65
|
import { Global } from "@opencode/util/global";
|
|
66
|
-
class
|
|
66
|
+
class NotFoundError6 extends Schema.TaggedError()("Shell.NotFoundError", {
|
|
67
67
|
id: Shell.ID
|
|
68
68
|
}) {
|
|
69
69
|
}
|
|
@@ -71,7 +71,7 @@ var EXITED_LIMIT = 25;
|
|
|
71
71
|
var RETENTION2 = Duration.days(7);
|
|
72
72
|
var DIRECTORY2 = "shell";
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service45 extends Context.Service()("@opencode/Shell") {
|
|
75
75
|
}
|
|
76
76
|
var cleanup2 = Effect.fn("Shell.cleanup")(function* () {
|
|
77
77
|
const fs = yield* FSUtil.Service;
|
|
@@ -87,15 +87,15 @@ var cleanupNode = makeGlobalNode({
|
|
|
87
87
|
layer: cleanupLayer,
|
|
88
88
|
deps: [FSUtil.node, Global.node]
|
|
89
89
|
});
|
|
90
|
-
var layer = () => Layer.effect(
|
|
91
|
-
const bus = yield*
|
|
90
|
+
var layer = () => Layer.effect(Service45, Effect.gen(function* () {
|
|
91
|
+
const bus = yield* Service83;
|
|
92
92
|
const location = yield* Service79;
|
|
93
93
|
const global = yield* Global.Service;
|
|
94
|
-
const shell = yield*
|
|
95
|
-
const environment = yield*
|
|
96
|
-
const hooks = yield*
|
|
97
|
-
const environments = yield*
|
|
98
|
-
const config = yield*
|
|
94
|
+
const shell = yield* Service47;
|
|
95
|
+
const environment = yield* Service48;
|
|
96
|
+
const hooks = yield* Service71;
|
|
97
|
+
const environments = yield* Service46;
|
|
98
|
+
const config = yield* Service59;
|
|
99
99
|
const context = yield* Effect.context();
|
|
100
100
|
const runFork = Effect.runForkWith(context);
|
|
101
101
|
const commands = new Map;
|
|
@@ -116,7 +116,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
116
116
|
const require2 = Effect.fnUntraced(function* (id) {
|
|
117
117
|
const command = commands.get(id);
|
|
118
118
|
if (!command)
|
|
119
|
-
return yield* new
|
|
119
|
+
return yield* new NotFoundError6({ id });
|
|
120
120
|
return command;
|
|
121
121
|
});
|
|
122
122
|
const removeCommand = Effect.fnUntraced(function* (id) {
|
|
@@ -129,7 +129,7 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
129
129
|
commands.delete(id);
|
|
130
130
|
if (command.timeoutFiber)
|
|
131
131
|
yield* Fiber.interrupt(command.timeoutFiber);
|
|
132
|
-
yield* Deferred.fail(command.done, new
|
|
132
|
+
yield* Deferred.fail(command.done, new NotFoundError6({ id }));
|
|
133
133
|
yield* Effect.promise(() => unlink(command.file).catch(() => {}));
|
|
134
134
|
yield* bus.publish(Shell.Event.Deleted, { id });
|
|
135
135
|
});
|
|
@@ -323,22 +323,22 @@ var layer = () => Layer.effect(Service42, Effect.gen(function* () {
|
|
|
323
323
|
const command = yield* Deferred.await(ready);
|
|
324
324
|
return command.info;
|
|
325
325
|
});
|
|
326
|
-
return
|
|
326
|
+
return Service45.of({ create, list, get, wait, result, timeout, output, remove });
|
|
327
327
|
}));
|
|
328
|
-
var
|
|
329
|
-
service:
|
|
328
|
+
var node48 = makeLocationNode({
|
|
329
|
+
service: Service45,
|
|
330
330
|
layer: layer(),
|
|
331
331
|
deps: [
|
|
332
|
-
|
|
332
|
+
node87,
|
|
333
333
|
node83,
|
|
334
334
|
Global.node,
|
|
335
|
-
|
|
336
|
-
|
|
337
|
-
|
|
338
|
-
|
|
339
|
-
|
|
335
|
+
node50,
|
|
336
|
+
node51,
|
|
337
|
+
node74,
|
|
338
|
+
node49,
|
|
339
|
+
node62,
|
|
340
340
|
cleanupNode
|
|
341
341
|
]
|
|
342
342
|
});
|
|
343
343
|
|
|
344
|
-
export {
|
|
344
|
+
export { NotFoundError6, RETENTION2, DIRECTORY2, Service45, cleanup2, node48, exports_shell4 };
|
|
@@ -1,27 +1,27 @@
|
|
|
1
|
-
import {
|
|
2
|
-
Service82
|
|
3
|
-
} from "./config-d7syg0tc.js";
|
|
4
1
|
import {
|
|
5
2
|
Service83
|
|
6
|
-
} from "./
|
|
3
|
+
} from "./generate-r34cw8yr.js";
|
|
4
|
+
import {
|
|
5
|
+
Service62
|
|
6
|
+
} from "./generate-tfn34vp9.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service34,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-by5v678g.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./generate-jf6ce2dj.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./generate-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
@@ -30,19 +30,19 @@ __export(exports_plugin2, {
|
|
|
30
30
|
ID: () => ID3,
|
|
31
31
|
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service34,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node24
|
|
38
38
|
});
|
|
39
39
|
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service62;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service32, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service34.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node24 = Node.makeLocationNode({
|
|
226
|
+
service: Service34,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node24, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,50 +1,50 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./generate-nh7jf5qt.js";
|
|
4
4
|
import {
|
|
5
5
|
AbsolutePath2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-922hggd3.js";
|
|
7
7
|
import {
|
|
8
8
|
Service79
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-ddvgmnvd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service59
|
|
12
|
+
} from "./generate-cq4a9qth.js";
|
|
13
13
|
import {
|
|
14
14
|
DirectorySource2,
|
|
15
15
|
UrlSource2,
|
|
16
16
|
Source4
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./generate-k2057gb1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service7
|
|
20
|
+
} from "./generate-24dd53tp.js";
|
|
21
21
|
import {
|
|
22
22
|
parse2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-jw2g4gey.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/skill.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigSkillPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_skill2 = {};
|
|
30
|
+
__export(exports_skill2, {
|
|
31
|
+
ConfigSkillPlugin: () => exports_skill2,
|
|
32
|
+
Plugin: () => Plugin23
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
36
36
|
import { Global } from "@opencode/util/global";
|
|
37
37
|
import path from "path";
|
|
38
38
|
import { Effect, FiberMap, PubSub, Semaphore, Stream } from "effect";
|
|
39
|
-
var
|
|
39
|
+
var Plugin23 = define({
|
|
40
40
|
id: "opencode.config.skill",
|
|
41
41
|
effect: Effect.fn(function* (ctx) {
|
|
42
|
-
const config = yield*
|
|
43
|
-
const discovery = yield*
|
|
42
|
+
const config = yield* Service59;
|
|
43
|
+
const discovery = yield* Service7;
|
|
44
44
|
const fs = yield* FSUtil.Service;
|
|
45
45
|
const global = yield* Global.Service;
|
|
46
46
|
const location = yield* Service79;
|
|
47
|
-
const watcher = yield*
|
|
47
|
+
const watcher = yield* Service60;
|
|
48
48
|
const loaded = {
|
|
49
49
|
entries: yield* config.entries(),
|
|
50
50
|
skills: []
|
|
@@ -176,4 +176,4 @@ var Plugin49 = define({
|
|
|
176
176
|
})
|
|
177
177
|
});
|
|
178
178
|
|
|
179
|
-
export {
|
|
179
|
+
export { Plugin23, exports_skill2 };
|
|
@@ -2,18 +2,18 @@ import {
|
|
|
2
2
|
AbsolutePath2,
|
|
3
3
|
PositiveInt2,
|
|
4
4
|
RelativePath2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-922hggd3.js";
|
|
6
6
|
import {
|
|
7
7
|
Service79,
|
|
8
8
|
node83
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-ddvgmnvd.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service17,
|
|
12
|
+
node19
|
|
13
|
+
} from "./generate-7v8m1a1x.js";
|
|
14
14
|
import {
|
|
15
15
|
__export
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-9rqn6x4v.js";
|
|
17
17
|
|
|
18
18
|
// src/filesystem.ts
|
|
19
19
|
var exports_filesystem = {};
|
|
@@ -22,20 +22,20 @@ __export(exports_filesystem, {
|
|
|
22
22
|
DEFAULT_SEARCH_LIMIT: () => DEFAULT_SEARCH_LIMIT2,
|
|
23
23
|
DEFAULT_SEARCH_TIMEOUT_MS: () => DEFAULT_SEARCH_TIMEOUT_MS2,
|
|
24
24
|
Entry: () => Entry2,
|
|
25
|
-
Event: () =>
|
|
25
|
+
Event: () => Event4,
|
|
26
26
|
FileSystem: () => exports_filesystem,
|
|
27
27
|
FindInput: () => FindInput2,
|
|
28
28
|
GlobInput: () => GlobInput2,
|
|
29
29
|
GrepInput: () => GrepInput2,
|
|
30
30
|
ListInput: () => ListInput2,
|
|
31
31
|
Match: () => Match2,
|
|
32
|
-
NotFoundError: () =>
|
|
32
|
+
NotFoundError: () => NotFoundError3,
|
|
33
33
|
ReadInput: () => ReadInput2,
|
|
34
|
-
Service: () =>
|
|
34
|
+
Service: () => Service16,
|
|
35
35
|
Submatch: () => Submatch2,
|
|
36
36
|
Write: () => Write2,
|
|
37
37
|
WriteInput: () => WriteInput2,
|
|
38
|
-
node: () =>
|
|
38
|
+
node: () => node18
|
|
39
39
|
});
|
|
40
40
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
41
41
|
import path from "path";
|
|
@@ -51,7 +51,7 @@ var WriteInput2 = Schema.Struct({
|
|
|
51
51
|
data: Schema.Uint8Array
|
|
52
52
|
});
|
|
53
53
|
|
|
54
|
-
class
|
|
54
|
+
class NotFoundError3 extends Schema.TaggedError()("FileSystem.NotFoundError", {
|
|
55
55
|
path: RelativePath2
|
|
56
56
|
}) {
|
|
57
57
|
}
|
|
@@ -85,14 +85,14 @@ class GrepInput2 extends Schema.Class("FileSystem.GrepInput")({
|
|
|
85
85
|
limit: Schema.optionalKey(PositiveInt2)
|
|
86
86
|
}) {
|
|
87
87
|
}
|
|
88
|
-
var
|
|
88
|
+
var Event4 = FileSystem.Event;
|
|
89
89
|
|
|
90
|
-
class
|
|
90
|
+
class Service16 extends Context.Service()("@opencode/FileSystem") {
|
|
91
91
|
}
|
|
92
|
-
var baseLayer = Layer.effect(
|
|
92
|
+
var baseLayer = Layer.effect(Service16, Effect.gen(function* () {
|
|
93
93
|
const fs = yield* FSUtil.Service;
|
|
94
94
|
const location = yield* Service79;
|
|
95
|
-
const search = yield*
|
|
95
|
+
const search = yield* Service17;
|
|
96
96
|
const root = location.workspaceID ? location.directory : yield* fs.realPath(location.directory).pipe(Effect.orDie);
|
|
97
97
|
const resolve = Effect.fnUntraced(function* (input) {
|
|
98
98
|
const absolute = path.resolve(location.directory, input ?? ".");
|
|
@@ -103,15 +103,15 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
103
103
|
return yield* Effect.die(new Error("Path escapes the location"));
|
|
104
104
|
return { absolute, real, directory: location.directory };
|
|
105
105
|
});
|
|
106
|
-
return
|
|
106
|
+
return Service16.of({
|
|
107
107
|
find: search.find,
|
|
108
108
|
read: Effect.fn("FileSystem.read")(function* (input) {
|
|
109
|
-
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
110
|
-
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
109
|
+
const target = yield* resolve(input.path).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
110
|
+
const info = yield* fs.stat(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error)));
|
|
111
111
|
if (info.type !== "File")
|
|
112
112
|
return yield* Effect.die(new Error("Path is not a file"));
|
|
113
113
|
return {
|
|
114
|
-
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new
|
|
114
|
+
content: yield* fs.readFile(target.real).pipe(Effect.catchReason("PlatformError", "NotFound", () => Effect.fail(new NotFoundError3({ path: input.path })), (_, error) => Effect.die(error))),
|
|
115
115
|
mime: FSUtil.mimeType(target.real)
|
|
116
116
|
};
|
|
117
117
|
}),
|
|
@@ -140,10 +140,10 @@ var baseLayer = Layer.effect(Service13, Effect.gen(function* () {
|
|
|
140
140
|
})
|
|
141
141
|
});
|
|
142
142
|
}));
|
|
143
|
-
var
|
|
144
|
-
service:
|
|
143
|
+
var node18 = makeLocationNode({
|
|
144
|
+
service: Service16,
|
|
145
145
|
layer: baseLayer,
|
|
146
|
-
deps: [FSUtil.node, node83,
|
|
146
|
+
deps: [FSUtil.node, node83, node19]
|
|
147
147
|
});
|
|
148
148
|
|
|
149
|
-
export { FindInput2, Write2, ReadInput2, WriteInput2,
|
|
149
|
+
export { FindInput2, Write2, ReadInput2, WriteInput2, NotFoundError3, Content2, ListInput2, DEFAULT_SEARCH_LIMIT2, DEFAULT_SEARCH_TIMEOUT_MS2, GlobInput2, GrepInput2, Event4, Service16, node18, exports_filesystem, Entry2, Match2, Submatch2 };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./generate-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/tool-input-repair.ts
|
|
9
9
|
var exports_tool_input_repair = {};
|
|
10
10
|
__export(exports_tool_input_repair, {
|
|
11
|
-
Plugin: () =>
|
|
11
|
+
Plugin: () => Plugin48,
|
|
12
12
|
ToolInputRepairPlugin: () => exports_tool_input_repair
|
|
13
13
|
});
|
|
14
14
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
15
15
|
import { Effect, Option, Predicate, Schema } from "effect";
|
|
16
16
|
var decodeJson = Schema.decodeUnknownOption(Schema.fromJsonString(Schema.Unknown));
|
|
17
17
|
var maxDepth = 6;
|
|
18
|
-
var
|
|
18
|
+
var Plugin48 = define({
|
|
19
19
|
id: "opencode.tool.input.repair",
|
|
20
20
|
effect: (ctx) => ctx.tool.hook("execute.before", (event) => Effect.gen(function* () {
|
|
21
21
|
if (event.tool === "execute")
|
|
@@ -120,4 +120,4 @@ function repairArray(value, schema, root, depth) {
|
|
|
120
120
|
return compatible ? [repaired] : value;
|
|
121
121
|
}
|
|
122
122
|
|
|
123
|
-
export {
|
|
123
|
+
export { Plugin48, exports_tool_input_repair };
|