@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,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./generate-r34cw8yr.js";
|
|
5
|
+
import {
|
|
6
|
+
Event21,
|
|
2
7
|
Service82,
|
|
3
8
|
node86
|
|
4
|
-
} from "./
|
|
5
|
-
import {
|
|
6
|
-
Event16,
|
|
7
|
-
Service70,
|
|
8
|
-
node73
|
|
9
|
-
} from "./config-arjb37bx.js";
|
|
9
|
+
} from "./generate-0085hr19.js";
|
|
10
10
|
import {
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
} from "./
|
|
11
|
+
Service60,
|
|
12
|
+
node63
|
|
13
|
+
} from "./generate-nh7jf5qt.js";
|
|
14
14
|
import {
|
|
15
15
|
AbsolutePath2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./generate-922hggd3.js";
|
|
17
17
|
import {
|
|
18
18
|
Service79,
|
|
19
19
|
node83
|
|
20
|
-
} from "./
|
|
20
|
+
} from "./generate-ddvgmnvd.js";
|
|
21
21
|
import {
|
|
22
22
|
substitute2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./generate-yrznvahk.js";
|
|
24
24
|
import {
|
|
25
25
|
normalize2
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./generate-rxsnry8w.js";
|
|
27
27
|
import {
|
|
28
28
|
names4,
|
|
29
29
|
discover3
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./generate-bt1jz474.js";
|
|
31
31
|
import {
|
|
32
32
|
plan2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-j56e64zr.js";
|
|
34
34
|
import {
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
} from "./
|
|
35
|
+
Service61,
|
|
36
|
+
Event13,
|
|
37
|
+
node64
|
|
38
|
+
} from "./generate-5hvea60m.js";
|
|
39
39
|
import {
|
|
40
40
|
__export
|
|
41
|
-
} from "./
|
|
41
|
+
} from "./generate-9rqn6x4v.js";
|
|
42
42
|
|
|
43
43
|
// src/config.ts
|
|
44
44
|
var exports_config = {};
|
|
45
45
|
__export(exports_config, {
|
|
46
46
|
Config: () => exports_config,
|
|
47
47
|
Options: () => Options8,
|
|
48
|
-
Service: () =>
|
|
48
|
+
Service: () => Service59,
|
|
49
49
|
Test: () => Test2,
|
|
50
50
|
configured: () => configured9,
|
|
51
51
|
latest: () => latest2,
|
|
52
|
-
layer: () =>
|
|
53
|
-
node: () =>
|
|
52
|
+
layer: () => layer21,
|
|
53
|
+
node: () => node62,
|
|
54
54
|
testLayer: () => testLayer2
|
|
55
55
|
});
|
|
56
56
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
@@ -71,7 +71,7 @@ var Options8 = Schema.Struct({
|
|
|
71
71
|
content: Schema.optional(Schema.String)
|
|
72
72
|
});
|
|
73
73
|
|
|
74
|
-
class
|
|
74
|
+
class Service59 extends Context.Service()("@opencode/Config") {
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
class Test2 extends Context.Service()("@opencode/Config/Test") {
|
|
@@ -89,16 +89,16 @@ var testLayer2 = (initial = [], compatibility = {
|
|
|
89
89
|
setEntries: (next) => Ref.set(entries, next),
|
|
90
90
|
emitChange: (update) => PubSub.publish(updates, update).pipe(Effect.asVoid)
|
|
91
91
|
});
|
|
92
|
-
return Context.empty().pipe(Context.add(
|
|
92
|
+
return Context.empty().pipe(Context.add(Service59, service), Context.add(Test2, service));
|
|
93
93
|
}));
|
|
94
|
-
var
|
|
94
|
+
var layer21 = (options) => Layer.effect(Service59, Effect.gen(function* () {
|
|
95
95
|
const fs = yield* FSUtil.Service;
|
|
96
96
|
const location = yield* Service79;
|
|
97
|
-
const watcher = yield*
|
|
98
|
-
const bus = yield*
|
|
99
|
-
const credentials = yield*
|
|
97
|
+
const watcher = yield* Service60;
|
|
98
|
+
const bus = yield* Service83;
|
|
99
|
+
const credentials = yield* Service82;
|
|
100
100
|
const globalService = yield* Global.Service;
|
|
101
|
-
const wellknown = yield*
|
|
101
|
+
const wellknown = yield* Service61;
|
|
102
102
|
const reloadLock = Semaphore.makeUnsafe(1);
|
|
103
103
|
const updateLock = Semaphore.makeUnsafe(1);
|
|
104
104
|
const decodeOptions = { errors: "all", onExcessProperty: "ignore", propertyOrder: "original" };
|
|
@@ -221,8 +221,8 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
221
221
|
}, (effect) => reloadLock.withPermit(effect));
|
|
222
222
|
const pendingReloads = yield* PubSub.subscribe(reloads);
|
|
223
223
|
yield* Stream.fromSubscription(pendingReloads).pipe(Stream.debounce("100 millis"), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
224
|
-
yield* bus.subscribe(
|
|
225
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event21.Switched).pipe(Stream.filterEffect((event) => wellknown.entries().pipe(Effect.map((entries) => entries.some((entry) => entry.integrationID === event.data.integrationID)), Effect.orElseSucceed(() => false))), Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown config", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
225
|
+
yield* bus.subscribe(Event13.Updated).pipe(Stream.runForEach(() => reload().pipe(Effect.catchCause((cause) => Effect.logError("failed to reload wellknown sources", { cause })))), Effect.forkScoped({ startImmediately: true }));
|
|
226
226
|
yield* Effect.sleep("10 minutes").pipe(Effect.andThen(Effect.suspend(() => {
|
|
227
227
|
if (!wellknown.snapshot().length)
|
|
228
228
|
return Effect.void;
|
|
@@ -250,7 +250,7 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
250
250
|
`);
|
|
251
251
|
yield* requestReload;
|
|
252
252
|
}, (effect) => updateLock.withPermit(effect));
|
|
253
|
-
return
|
|
253
|
+
return Service59.of({
|
|
254
254
|
entries: Effect.fnUntraced(function* () {
|
|
255
255
|
return configs;
|
|
256
256
|
}),
|
|
@@ -264,11 +264,11 @@ var layer22 = (options) => Layer.effect(Service64, Effect.gen(function* () {
|
|
|
264
264
|
}));
|
|
265
265
|
function configured9(options) {
|
|
266
266
|
return makeLocationNode({
|
|
267
|
-
service:
|
|
268
|
-
layer:
|
|
269
|
-
deps: [
|
|
267
|
+
service: Service59,
|
|
268
|
+
layer: layer21(options),
|
|
269
|
+
deps: [node63, node87, FSUtil.node, Global.node, node83, node86, node64]
|
|
270
270
|
});
|
|
271
271
|
}
|
|
272
|
-
var
|
|
272
|
+
var node62 = configured9();
|
|
273
273
|
|
|
274
|
-
export { latest2, Options8,
|
|
274
|
+
export { latest2, Options8, Service59, Test2, testLayer2, layer21, configured9, node62, exports_config };
|
|
@@ -1,56 +1,56 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service84,
|
|
3
3
|
node88
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-yrqbhy7t.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./generate-r34cw8yr.js";
|
|
9
9
|
import {
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
10
|
+
Service57,
|
|
11
|
+
node59
|
|
12
|
+
} from "./generate-zhdcmryh.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
14
|
+
Service54,
|
|
15
|
+
node56
|
|
16
|
+
} from "./generate-yf4jcbx9.js";
|
|
17
17
|
import {
|
|
18
18
|
SessionEvent2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./generate-ec1grn59.js";
|
|
20
20
|
import {
|
|
21
21
|
make16
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./generate-yp2x3t23.js";
|
|
23
23
|
import {
|
|
24
24
|
DrainResult2,
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
25
|
+
Service51
|
|
26
|
+
} from "./generate-k76fn4kw.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
} from "./
|
|
28
|
+
Service69,
|
|
29
|
+
node72
|
|
30
|
+
} from "./generate-wjep8sxw.js";
|
|
31
31
|
import {
|
|
32
32
|
toSessionError2
|
|
33
|
-
} from "./
|
|
33
|
+
} from "./generate-yp5y7gxn.js";
|
|
34
34
|
import {
|
|
35
35
|
nextPromotable2
|
|
36
|
-
} from "./
|
|
36
|
+
} from "./generate-aam4yepe.js";
|
|
37
37
|
import {
|
|
38
38
|
__export
|
|
39
|
-
} from "./
|
|
39
|
+
} from "./generate-9rqn6x4v.js";
|
|
40
40
|
|
|
41
41
|
// src/session/execution.ts
|
|
42
42
|
var exports_execution = {};
|
|
43
43
|
__export(exports_execution, {
|
|
44
|
-
Service: () =>
|
|
44
|
+
Service: () => Service50,
|
|
45
45
|
SessionExecution: () => exports_execution,
|
|
46
|
-
layer: () =>
|
|
47
|
-
node: () =>
|
|
46
|
+
layer: () => layer17,
|
|
47
|
+
node: () => node53,
|
|
48
48
|
noopLayer: () => noopLayer3,
|
|
49
49
|
terminal: () => terminal2
|
|
50
50
|
});
|
|
51
51
|
import { Cause, Context, Effect, Exit, Layer } from "effect";
|
|
52
52
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
53
|
-
class
|
|
53
|
+
class Service50 extends Context.Service()("@opencode/SessionExecution") {
|
|
54
54
|
}
|
|
55
55
|
function terminal2(exit, reason) {
|
|
56
56
|
if (Exit.isSuccess(exit))
|
|
@@ -59,11 +59,11 @@ function terminal2(exit, reason) {
|
|
|
59
59
|
return { type: "interrupted", reason: reason ?? "shutdown" };
|
|
60
60
|
return { type: "failed", error: toSessionError2(Cause.squash(exit.cause)) };
|
|
61
61
|
}
|
|
62
|
-
var
|
|
63
|
-
const store = yield*
|
|
64
|
-
const instances = yield*
|
|
65
|
-
const bus = yield*
|
|
66
|
-
const jobs = yield*
|
|
62
|
+
var layer17 = Layer.effect(Service50, Effect.gen(function* () {
|
|
63
|
+
const store = yield* Service69;
|
|
64
|
+
const instances = yield* Service54;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
|
+
const jobs = yield* Service57;
|
|
67
67
|
const db = (yield* Service84).db;
|
|
68
68
|
const reportLifecycle = (sessionID, effect) => effect.pipe(Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to publish Session execution lifecycle", cause).pipe(Effect.annotateLogs({ sessionID }))), Effect.asVoid);
|
|
69
69
|
const claimOnCommit = (sessionID) => ({
|
|
@@ -76,7 +76,7 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
76
76
|
const session = yield* store.get(sessionID);
|
|
77
77
|
if (!session)
|
|
78
78
|
return yield* Effect.die(new Error(`Session not found: ${sessionID}`));
|
|
79
|
-
const result = yield*
|
|
79
|
+
const result = yield* Service51.use((runner) => runner.drain({ sessionID, force, continuation, promotable })).pipe(instances.provide(session), Effect.tapCause((cause) => Cause.hasInterruptsOnly(cause) ? Effect.void : Effect.logError("Failed to drain Session", cause).pipe(Effect.annotateLogs({ sessionID }))));
|
|
80
80
|
return yield* DrainResult2.$match(result, {
|
|
81
81
|
Complete: () => Effect.void,
|
|
82
82
|
Moved: (result) => drain(sessionID, false, result.continuation, promotable),
|
|
@@ -104,7 +104,7 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
104
104
|
}, releaseOnCommit(sessionID));
|
|
105
105
|
}))
|
|
106
106
|
});
|
|
107
|
-
return
|
|
107
|
+
return Service50.of({
|
|
108
108
|
active: coordinator.active,
|
|
109
109
|
isActive: coordinator.isActive,
|
|
110
110
|
interrupt: (sessionID, options) => Effect.gen(function* () {
|
|
@@ -123,12 +123,12 @@ var layer18 = Layer.effect(Service48, Effect.gen(function* () {
|
|
|
123
123
|
awaitIdle: coordinator.awaitIdle
|
|
124
124
|
});
|
|
125
125
|
}));
|
|
126
|
-
var
|
|
127
|
-
service:
|
|
128
|
-
layer:
|
|
129
|
-
deps: [
|
|
126
|
+
var node53 = makeGlobalNode({
|
|
127
|
+
service: Service50,
|
|
128
|
+
layer: layer17,
|
|
129
|
+
deps: [node72, node56, node87, node88, node59]
|
|
130
130
|
});
|
|
131
|
-
var noopLayer3 = Layer.succeed(
|
|
131
|
+
var noopLayer3 = Layer.succeed(Service50, Service50.of({
|
|
132
132
|
active: Effect.succeed(new Set),
|
|
133
133
|
isActive: () => Effect.succeed(false),
|
|
134
134
|
resume: () => Effect.void,
|
|
@@ -137,4 +137,4 @@ var noopLayer3 = Layer.succeed(Service48, Service48.of({
|
|
|
137
137
|
awaitIdle: () => Effect.void
|
|
138
138
|
}));
|
|
139
139
|
|
|
140
|
-
export {
|
|
140
|
+
export { Service50, terminal2, layer17, node53, noopLayer3, exports_execution };
|
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
import {
|
|
2
2
|
create3
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-rdw6cm16.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./generate-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/filesystem/location-watcher-policy.ts
|
|
9
9
|
var exports_location_watcher_policy = {};
|
|
10
10
|
__export(exports_location_watcher_policy, {
|
|
11
11
|
LocationWatcherPolicy: () => exports_location_watcher_policy,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service12,
|
|
13
|
+
node: () => node14
|
|
14
14
|
});
|
|
15
15
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
16
16
|
import { Context, Effect, Layer, Scope } from "effect";
|
|
17
|
-
class
|
|
17
|
+
class Service12 extends Context.Service()("@opencode/LocationWatcherPolicy") {
|
|
18
18
|
}
|
|
19
|
-
var layer = Layer.effect(
|
|
19
|
+
var layer = Layer.effect(Service12, Effect.gen(function* () {
|
|
20
20
|
const listeners = new Set;
|
|
21
21
|
const state = create3({
|
|
22
22
|
name: "location-watcher-policy",
|
|
@@ -41,13 +41,13 @@ var layer = Layer.effect(Service11, Effect.gen(function* () {
|
|
|
41
41
|
yield* Scope.addFinalizer(scope, dispose);
|
|
42
42
|
return { dispose };
|
|
43
43
|
});
|
|
44
|
-
return
|
|
44
|
+
return Service12.of({
|
|
45
45
|
transform: state.transform,
|
|
46
46
|
reload: state.reload,
|
|
47
47
|
current,
|
|
48
48
|
observe
|
|
49
49
|
});
|
|
50
50
|
}));
|
|
51
|
-
var
|
|
51
|
+
var node14 = makeLocationNode({ service: Service12, layer, deps: [] });
|
|
52
52
|
|
|
53
|
-
export {
|
|
53
|
+
export { Service12, node14, exports_location_watcher_policy };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service83,
|
|
3
|
+
node87
|
|
4
|
+
} from "./generate-r34cw8yr.js";
|
|
5
5
|
import {
|
|
6
6
|
shutdown2,
|
|
7
7
|
create3
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./generate-rdw6cm16.js";
|
|
9
9
|
import {
|
|
10
10
|
Service79,
|
|
11
11
|
node83
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-ddvgmnvd.js";
|
|
13
13
|
import {
|
|
14
14
|
rewrite2,
|
|
15
|
-
|
|
15
|
+
ID13,
|
|
16
16
|
modelSettings2,
|
|
17
17
|
mergeOverlay2,
|
|
18
18
|
mergeHeaders2,
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
19
|
+
Service76,
|
|
20
|
+
node80,
|
|
21
|
+
Event17
|
|
22
|
+
} from "./generate-z0hkwef7.js";
|
|
23
23
|
import {
|
|
24
24
|
__export
|
|
25
|
-
} from "./
|
|
25
|
+
} from "./generate-9rqn6x4v.js";
|
|
26
26
|
|
|
27
27
|
// src/model.ts
|
|
28
28
|
var exports_model2 = {};
|
|
@@ -30,25 +30,25 @@ __export(exports_model2, {
|
|
|
30
30
|
Capabilities: () => Capabilities2,
|
|
31
31
|
Compatibility: () => Compatibility2,
|
|
32
32
|
Cost: () => Cost2,
|
|
33
|
-
Event: () =>
|
|
33
|
+
Event: () => Event16,
|
|
34
34
|
Family: () => Family2,
|
|
35
|
-
ID: () =>
|
|
36
|
-
Info: () =>
|
|
35
|
+
ID: () => ID12,
|
|
36
|
+
Info: () => Info26,
|
|
37
37
|
Model: () => exports_model2,
|
|
38
38
|
ReasoningField: () => ReasoningField2,
|
|
39
39
|
Ref: () => Ref2,
|
|
40
|
-
Service: () =>
|
|
40
|
+
Service: () => Service75,
|
|
41
41
|
VariantID: () => VariantID2,
|
|
42
42
|
compatibility: () => compatibility2,
|
|
43
|
-
node: () =>
|
|
44
|
-
parse: () =>
|
|
43
|
+
node: () => node79,
|
|
44
|
+
parse: () => parse5
|
|
45
45
|
});
|
|
46
46
|
import { Model } from "@opencode/schema/model";
|
|
47
47
|
import { Context, Effect, Layer, Stream } from "effect";
|
|
48
48
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
49
49
|
import { freeze } from "immer";
|
|
50
|
-
import { Event as
|
|
51
|
-
var
|
|
50
|
+
import { Event as Event16 } from "@opencode/schema/model";
|
|
51
|
+
var ID12 = Model.ID;
|
|
52
52
|
var VariantID2 = Model.VariantID;
|
|
53
53
|
var Family2 = Model.Family;
|
|
54
54
|
var ReasoningField2 = Model.ReasoningField;
|
|
@@ -56,13 +56,13 @@ var Compatibility2 = Model.Compatibility;
|
|
|
56
56
|
var Capabilities2 = Model.Capabilities;
|
|
57
57
|
var Cost2 = Model.Cost;
|
|
58
58
|
var Ref2 = Model.Ref;
|
|
59
|
-
var
|
|
59
|
+
var Info26 = Model.Info;
|
|
60
60
|
|
|
61
|
-
class
|
|
61
|
+
class Service75 extends Context.Service()("@opencode/Model") {
|
|
62
62
|
}
|
|
63
|
-
var layer = Layer.effect(
|
|
64
|
-
const providers = yield*
|
|
65
|
-
const bus = yield*
|
|
63
|
+
var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
64
|
+
const providers = yield* Service76;
|
|
65
|
+
const bus = yield* Service83;
|
|
66
66
|
const location = yield* Service79;
|
|
67
67
|
let input;
|
|
68
68
|
const state = create3({
|
|
@@ -108,7 +108,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
108
108
|
const models = writable(providerID);
|
|
109
109
|
if (!models)
|
|
110
110
|
return;
|
|
111
|
-
const model = draft(providerID, modelID) ??
|
|
111
|
+
const model = draft(providerID, modelID) ?? Info26.default(providerID, modelID);
|
|
112
112
|
update(model);
|
|
113
113
|
model.id = modelID;
|
|
114
114
|
model.providerID = providerID;
|
|
@@ -197,8 +197,8 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
197
197
|
location: { directory: location.directory, workspaceID: location.workspaceID }
|
|
198
198
|
});
|
|
199
199
|
});
|
|
200
|
-
yield* bus.subscribe(
|
|
201
|
-
return
|
|
200
|
+
yield* bus.subscribe(Event17.Updated).pipe(Stream.runForEach(() => notify), Effect.forkScoped({ startImmediately: true }));
|
|
201
|
+
return Service75.of({
|
|
202
202
|
transform: (update) => prepare.pipe(Effect.andThen(state.transform(update))),
|
|
203
203
|
reload,
|
|
204
204
|
get: Effect.fn("Model.get")((providerID, modelID) => read().pipe(Effect.map((value) => value.byProvider.get(providerID)?.get(modelID)))),
|
|
@@ -217,7 +217,7 @@ var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
|
217
217
|
})
|
|
218
218
|
});
|
|
219
219
|
}));
|
|
220
|
-
var
|
|
220
|
+
var node79 = makeLocationNode({ service: Service75, layer, deps: [node80, node87, node83] });
|
|
221
221
|
function compatibility2(input) {
|
|
222
222
|
if (typeof input === "string")
|
|
223
223
|
return { reasoningField: input };
|
|
@@ -225,12 +225,12 @@ function compatibility2(input) {
|
|
|
225
225
|
return;
|
|
226
226
|
return typeof input.field === "string" ? { reasoningField: input.field } : undefined;
|
|
227
227
|
}
|
|
228
|
-
function
|
|
228
|
+
function parse5(input) {
|
|
229
229
|
const index = input.indexOf("/");
|
|
230
230
|
return {
|
|
231
|
-
providerID:
|
|
232
|
-
modelID:
|
|
231
|
+
providerID: ID13.make(index === -1 ? input : input.slice(0, index)),
|
|
232
|
+
modelID: ID12.make(index === -1 ? "" : input.slice(index + 1))
|
|
233
233
|
};
|
|
234
234
|
}
|
|
235
235
|
|
|
236
|
-
export {
|
|
236
|
+
export { ID12, VariantID2, Family2, ReasoningField2, Compatibility2, Capabilities2, Cost2, Ref2, Info26, Service75, node79, compatibility2, parse5, exports_model2, Event16 };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
ID12,
|
|
3
3
|
Family2
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-d172wthb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service59
|
|
7
|
+
} from "./generate-cq4a9qth.js";
|
|
8
8
|
import {
|
|
9
9
|
foldSettings2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./generate-8kd7g5rj.js";
|
|
11
11
|
|
|
12
12
|
// src/plugin/provider/lmstudio.ts
|
|
13
13
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
@@ -31,12 +31,12 @@ var RemoteModel = Schema.Struct({
|
|
|
31
31
|
var Response = Schema.Struct({ models: Schema.Array(RemoteModel) });
|
|
32
32
|
var discovery = new Map;
|
|
33
33
|
var discoveryLock = Semaphore.makeUnsafe(1);
|
|
34
|
-
function
|
|
34
|
+
function make7(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
35
35
|
return define({
|
|
36
36
|
id: "opencode.provider.lmstudio",
|
|
37
37
|
effect: Effect.fn(function* (ctx) {
|
|
38
38
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
39
|
-
const config = yield*
|
|
39
|
+
const config = yield* Service59;
|
|
40
40
|
const source = { current: configured(yield* config.entries(), origin) };
|
|
41
41
|
const loaded = { models: [], hash: "[]" };
|
|
42
42
|
yield* ctx.integration.transform((integrations) => {
|
|
@@ -63,7 +63,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
63
63
|
});
|
|
64
64
|
for (const item of loaded.models) {
|
|
65
65
|
providers.models.update(providerID, item.key, (model) => {
|
|
66
|
-
model.modelID =
|
|
66
|
+
model.modelID = ID12.make(item.key);
|
|
67
67
|
model.name = item.display_name || item.key;
|
|
68
68
|
model.family = item.architecture ? Family2.make(item.architecture) : undefined;
|
|
69
69
|
model.capabilities = {
|
|
@@ -125,7 +125,7 @@ function make6(origin = "http://127.0.0.1:1234", interval = "30 seconds") {
|
|
|
125
125
|
})
|
|
126
126
|
});
|
|
127
127
|
}
|
|
128
|
-
var LMStudioPlugin2 =
|
|
128
|
+
var LMStudioPlugin2 = make7();
|
|
129
129
|
function configured(entries, origin) {
|
|
130
130
|
const settings = foldSettings2(entries, providerID, undefined);
|
|
131
131
|
const baseURL = (typeof settings?.baseURL === "string" ? settings.baseURL : `${origin.replace(/\/+$/, "")}/v1`).replace(/\/+$/, "");
|
|
@@ -142,4 +142,4 @@ function configured(entries, origin) {
|
|
|
142
142
|
return { baseURL, apiKey, endpoint: url.toString() };
|
|
143
143
|
}
|
|
144
144
|
|
|
145
|
-
export {
|
|
145
|
+
export { make7, LMStudioPlugin2 };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./generate-1aft4d1r.js";
|
|
5
5
|
import {
|
|
6
6
|
__export
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./generate-9rqn6x4v.js";
|
|
8
8
|
|
|
9
9
|
// src/location.ts
|
|
10
10
|
var exports_location = {};
|
|
11
11
|
__export(exports_location, {
|
|
12
|
-
Info: () =>
|
|
12
|
+
Info: () => Info31,
|
|
13
13
|
Location: () => exports_location,
|
|
14
14
|
Ref: () => Ref4,
|
|
15
15
|
Service: () => Service79,
|
|
@@ -18,7 +18,7 @@ __export(exports_location, {
|
|
|
18
18
|
response: () => response2
|
|
19
19
|
});
|
|
20
20
|
import { Context, Effect, Layer } from "effect";
|
|
21
|
-
import { Info as
|
|
21
|
+
import { Info as Info31, Ref as Ref4, response as response2 } from "@opencode/schema/location";
|
|
22
22
|
import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
23
23
|
import { makeLocationNode, tags } from "@opencode/util/effect/app-node";
|
|
24
24
|
class Service79 extends Context.Service()("@opencode/Location") {
|
|
@@ -40,4 +40,4 @@ var boundNode2 = (ref) => makeLocationNode({
|
|
|
40
40
|
deps: [node84]
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
export {
|
|
43
|
+
export { Info31, Ref4, response2, Service79, node83, boundNode2, exports_location };
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service59
|
|
3
|
+
} from "./generate-cq4a9qth.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service19
|
|
6
|
+
} from "./generate-4arb9zza.js";
|
|
7
7
|
import {
|
|
8
8
|
match2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./generate-y1fvbwt7.js";
|
|
10
10
|
import {
|
|
11
11
|
observe2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./generate-qsdy395h.js";
|
|
13
13
|
import {
|
|
14
14
|
__export
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./generate-9rqn6x4v.js";
|
|
16
16
|
|
|
17
17
|
// src/config/plugin/policy.ts
|
|
18
18
|
var exports_policy = {};
|
|
19
19
|
__export(exports_policy, {
|
|
20
20
|
ConfigPolicyPlugin: () => exports_policy,
|
|
21
|
-
Plugin: () =>
|
|
21
|
+
Plugin: () => Plugin17
|
|
22
22
|
});
|
|
23
23
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
24
24
|
import { Effect } from "effect";
|
|
25
|
-
var
|
|
25
|
+
var Plugin17 = define({
|
|
26
26
|
id: "opencode.config.policy",
|
|
27
27
|
effect: Effect.fn(function* (ctx) {
|
|
28
|
-
const config = yield*
|
|
29
|
-
const managed = yield*
|
|
28
|
+
const config = yield* Service59;
|
|
29
|
+
const managed = yield* Service19;
|
|
30
30
|
const loaded = yield* observe2(config, ctx.event, ctx.provider.reload());
|
|
31
31
|
const policies = () => {
|
|
32
32
|
const organization = managed.current();
|
|
@@ -57,4 +57,4 @@ var Plugin38 = define({
|
|
|
57
57
|
})
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
export {
|
|
60
|
+
export { Plugin17, exports_policy };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./generate-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info29,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
Status: () => Status3,
|
|
13
13
|
key: () => key2
|
|
@@ -15,7 +15,7 @@ __export(exports_connection, {
|
|
|
15
15
|
import { Connection } from "@opencode/schema/connection";
|
|
16
16
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
17
17
|
var EnvInfo2 = Connection.EnvInfo;
|
|
18
|
-
var
|
|
18
|
+
var Info29 = Connection.Info;
|
|
19
19
|
var Status3 = Connection.Status;
|
|
20
20
|
function key2(connection) {
|
|
21
21
|
if (!connection)
|
|
@@ -23,4 +23,4 @@ function key2(connection) {
|
|
|
23
23
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
24
24
|
}
|
|
25
25
|
|
|
26
|
-
export { CredentialInfo2, EnvInfo2,
|
|
26
|
+
export { CredentialInfo2, EnvInfo2, Info29, Status3, key2, exports_connection };
|