@opencode/core 0.0.0-dev-20621 → 0.0.0-dev-20625
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 +69 -69
- package/dist/chunks/{tool-3sdb20zb.js → workspace-04792bgd.js} +11 -11
- package/dist/chunks/{tool-nkxtzyv4.js → workspace-077cgkzg.js} +23 -23
- package/dist/chunks/{tool-mx9vqzsb.js → workspace-07w59vex.js} +6 -6
- package/dist/chunks/{tool-4c8s8kge.js → workspace-08t9thee.js} +5 -5
- package/dist/chunks/{tool-zr70bgmb.js → workspace-0cnpbvek.js} +15 -15
- package/dist/chunks/{tool-dd40s8jk.js → workspace-0dygnakk.js} +4 -4
- package/dist/chunks/{tool-6qzp8a5z.js → workspace-0gh43fvp.js} +9 -9
- package/dist/chunks/{tool-qgn6gcr1.js → workspace-0jwsre1p.js} +5 -5
- package/dist/chunks/{tool-hmb6jn2z.js → workspace-0k0tdk4v.js} +20 -20
- package/dist/chunks/{tool-0paq2nw3.js → workspace-0paq2nw3.js} +1 -1
- package/dist/chunks/{tool-0emb60td.js → workspace-0vbcp93d.js} +2 -2
- package/dist/chunks/{tool-rjep82nj.js → workspace-0zm4vsbv.js} +17 -17
- package/dist/chunks/{tool-h65drem0.js → workspace-16m64twp.js} +16 -16
- package/dist/chunks/{tool-bcr0ksmf.js → workspace-1acz6075.js} +11 -11
- package/dist/chunks/{tool-4mpv5s2v.js → workspace-1d4zkfab.js} +40 -40
- package/dist/chunks/{tool-1dazxqgg.js → workspace-1dazxqgg.js} +2 -2
- package/dist/chunks/{tool-wk2zpc1v.js → workspace-1e10y0rh.js} +11 -11
- package/dist/chunks/{tool-j1ba0jw9.js → workspace-1fhw6qp6.js} +32 -32
- package/dist/chunks/{tool-40gsab6q.js → workspace-1v8896a1.js} +8 -8
- package/dist/chunks/{tool-r1z1z81h.js → workspace-24738xn5.js} +14 -14
- package/dist/chunks/{tool-2a5m3afh.js → workspace-2a5m3afh.js} +1 -1
- package/dist/chunks/{tool-rxn8twjw.js → workspace-2cabk1b6.js} +2 -2
- package/dist/chunks/{tool-vpfpr37q.js → workspace-2d4jh34x.js} +11 -11
- package/dist/chunks/{tool-350pbqn9.js → workspace-2eaaba8k.js} +26 -26
- package/dist/chunks/{tool-z26t8xx0.js → workspace-2g06r5p1.js} +15 -15
- package/dist/chunks/{tool-yxe8956e.js → workspace-2jygvae8.js} +11 -11
- package/dist/chunks/{tool-d0m8bny5.js → workspace-2kapx5s0.js} +21 -21
- package/dist/chunks/workspace-2qxg5hny.js +253 -0
- package/dist/chunks/{tool-7crx08a4.js → workspace-30ak4e5k.js} +8 -8
- package/dist/chunks/{tool-9thxh3x6.js → workspace-35vpxd0z.js} +7 -7
- package/dist/chunks/{tool-h43cy6bd.js → workspace-37gg4rjc.js} +8 -8
- package/dist/chunks/{tool-3cegwx68.js → workspace-3cegwx68.js} +2 -2
- package/dist/chunks/{tool-51r1g0v9.js → workspace-3d5pf0rw.js} +11 -11
- package/dist/chunks/{tool-3fc6dm20.js → workspace-3fc6dm20.js} +1 -1
- package/dist/chunks/{tool-3hepkmqq.js → workspace-3hepkmqq.js} +1 -1
- package/dist/chunks/{tool-tcyk0gcq.js → workspace-3qny4s1r.js} +13 -13
- package/dist/chunks/{tool-zsr4wwhv.js → workspace-3sj8yt8v.js} +4 -4
- package/dist/chunks/{tool-3smtnn6g.js → workspace-3smtnn6g.js} +1 -1
- package/dist/chunks/{tool-3tvqynh2.js → workspace-3tvqynh2.js} +1 -1
- package/dist/chunks/{tool-dcgfqf6n.js → workspace-3wfp78gc.js} +6 -6
- package/dist/chunks/{tool-3zsf4n22.js → workspace-3zsf4n22.js} +1 -1
- package/dist/chunks/{tool-16pwk8my.js → workspace-49494kth.js} +18 -18
- package/dist/chunks/{tool-n3kz9j5v.js → workspace-4bf12bpw.js} +5 -5
- package/dist/chunks/{tool-j6rvrjb2.js → workspace-4ctbs581.js} +15 -15
- package/dist/chunks/{tool-9xafsdbn.js → workspace-4jcpse7m.js} +15 -15
- package/dist/chunks/{tool-4ts7tf6z.js → workspace-4ts7tf6z.js} +2 -2
- package/dist/chunks/{tool-54ma36ye.js → workspace-54ma36ye.js} +1 -1
- package/dist/chunks/{tool-1ygqh575.js → workspace-56gdpj1q.js} +9 -9
- package/dist/chunks/{tool-tytd2jm0.js → workspace-56hrvcw3.js} +50 -50
- package/dist/chunks/{tool-p2y4rtdg.js → workspace-57nggxpn.js} +37 -37
- package/dist/chunks/{tool-a7bsh1ec.js → workspace-58twkbn2.js} +11 -11
- package/dist/chunks/{tool-23mntapz.js → workspace-5ct8ze0w.js} +11 -11
- package/dist/chunks/{tool-5daktx2q.js → workspace-5daktx2q.js} +1 -1
- package/dist/chunks/{tool-eaxx2kzt.js → workspace-5gjk7y31.js} +4 -4
- package/dist/chunks/{tool-5m9w47nd.js → workspace-5m9w47nd.js} +1 -1
- package/dist/chunks/{tool-wyyj98bv.js → workspace-5t0mhk5g.js} +3 -3
- package/dist/chunks/{tool-5t3nmthw.js → workspace-5t3nmthw.js} +2 -2
- package/dist/chunks/{tool-5yzzbxa7.js → workspace-5xtgfte3.js} +8 -8
- package/dist/chunks/{tool-8h9kzq6c.js → workspace-5xvy2j9s.js} +13 -13
- package/dist/chunks/workspace-619r8v3y.js +18 -0
- package/dist/chunks/{tool-zbt4vqdm.js → workspace-6b43n2qe.js} +23 -23
- package/dist/chunks/{tool-2n6fa56a.js → workspace-6j68t7ds.js} +1 -1
- package/dist/chunks/{tool-c1ant5c1.js → workspace-6kkym95p.js} +165 -165
- package/dist/chunks/{tool-e4gfb4rf.js → workspace-6n6n0wbe.js} +22 -22
- package/dist/chunks/{tool-w7jnj522.js → workspace-6qpyh92k.js} +18 -18
- package/dist/chunks/{tool-6xb47vfp.js → workspace-6xb47vfp.js} +1 -1
- package/dist/chunks/{tool-5jxm9yfz.js → workspace-6ygyve09.js} +26 -26
- package/dist/chunks/{tool-qt17f4h7.js → workspace-71tv947p.js} +15 -15
- package/dist/chunks/{tool-zcdqtjtf.js → workspace-74f6ffmn.js} +47 -47
- package/dist/chunks/{tool-ng6f7xag.js → workspace-7504msxf.js} +25 -25
- package/dist/chunks/{tool-7bmhse3q.js → workspace-7bmhse3q.js} +1 -1
- package/dist/chunks/{tool-x2jd95r3.js → workspace-7e820gef.js} +32 -32
- package/dist/chunks/{tool-yxnaqxdh.js → workspace-7naznwf1.js} +6 -6
- package/dist/chunks/{tool-ckag18vk.js → workspace-7w38sh68.js} +21 -21
- package/dist/chunks/{tool-84h8c373.js → workspace-84h8c373.js} +2 -2
- package/dist/chunks/{tool-84txncab.js → workspace-84txncab.js} +1 -1
- package/dist/chunks/{tool-6w4tq3mb.js → workspace-86km67cx.js} +9 -9
- package/dist/chunks/{tool-egspt8cm.js → workspace-86mjrc9q.js} +63 -63
- package/dist/chunks/{tool-w36j0bmk.js → workspace-8a6ws7jr.js} +9 -9
- package/dist/chunks/{tool-8d7r5vzw.js → workspace-8d7r5vzw.js} +1 -1
- package/dist/chunks/{tool-7q4nzkb9.js → workspace-8fkq3ra9.js} +16 -16
- package/dist/chunks/{tool-6m1hjez2.js → workspace-8gm8r8mn.js} +15 -15
- package/dist/chunks/{tool-qx8vbekt.js → workspace-8p3g3wy0.js} +11 -11
- package/dist/chunks/{tool-9swdtjav.js → workspace-8t5jjh5c.js} +5 -5
- package/dist/chunks/{tool-h9pcb0g7.js → workspace-8z7vm853.js} +5 -5
- package/dist/chunks/{tool-6zhvkmk5.js → workspace-94yy4jsn.js} +4 -4
- package/dist/chunks/{tool-g357tzjd.js → workspace-9jq6257y.js} +25 -25
- package/dist/chunks/{tool-b750x627.js → workspace-9rebvyz3.js} +4 -4
- package/dist/chunks/{tool-1x69mj4q.js → workspace-9vprb1nh.js} +12 -12
- package/dist/chunks/{tool-sxt8reb7.js → workspace-a3zzg5mb.js} +27 -27
- package/dist/chunks/{tool-kvvk39gs.js → workspace-a8bn8zg0.js} +4 -4
- package/dist/chunks/{tool-aaet6srn.js → workspace-aaet6srn.js} +2 -2
- package/dist/chunks/{tool-qtq3p0wt.js → workspace-aaqcndx2.js} +42 -42
- package/dist/chunks/{tool-g4ezwve1.js → workspace-ap1jses2.js} +23 -23
- package/dist/chunks/{tool-r9w3djhf.js → workspace-atytsmf1.js} +9 -9
- package/dist/chunks/{tool-c7f2cwkk.js → workspace-aw1g0m68.js} +3 -3
- package/dist/chunks/{tool-3j9bgvtg.js → workspace-axs6pdy0.js} +5 -5
- package/dist/chunks/{tool-9f2nvjyq.js → workspace-b3vk0wha.js} +3 -3
- package/dist/chunks/{tool-kzgmjn1f.js → workspace-b61vcdbg.js} +9 -9
- package/dist/chunks/{tool-b6gygkdw.js → workspace-b6gygkdw.js} +2 -2
- package/dist/chunks/{tool-2k71kv7p.js → workspace-bacyadyn.js} +4 -4
- package/dist/chunks/{tool-pz19f1h4.js → workspace-bf3ep3zf.js} +16 -16
- package/dist/chunks/{tool-scqzf1nw.js → workspace-bgnv3g07.js} +6 -6
- package/dist/chunks/{tool-mzrc21xj.js → workspace-bj5ap212.js} +40 -40
- package/dist/chunks/{tool-fe6bz30b.js → workspace-bjz294g4.js} +18 -18
- package/dist/chunks/{tool-yptech69.js → workspace-bq7qaacb.js} +38 -38
- package/dist/chunks/{tool-tdtgstz8.js → workspace-bt43sfkk.js} +18 -18
- package/dist/chunks/{tool-mktzjf14.js → workspace-bv2qvk3v.js} +48 -48
- package/dist/chunks/{tool-ydty4xqc.js → workspace-bvvmdrd3.js} +17 -17
- package/dist/chunks/{tool-s7nv2rwz.js → workspace-bx0gyb4h.js} +5 -5
- package/dist/chunks/{tool-42ayv7pm.js → workspace-bx4w3v62.js} +42 -42
- package/dist/chunks/{tool-3x1fhjfk.js → workspace-c1ka28h1.js} +5 -5
- package/dist/chunks/{tool-4xtwzbwp.js → workspace-ca6v8khj.js} +323 -323
- package/dist/chunks/{tool-vk9cvn9d.js → workspace-caf87exy.js} +27 -27
- package/dist/chunks/{tool-0xccjjzw.js → workspace-cg7s6gpq.js} +30 -30
- package/dist/chunks/{tool-kne8f3cn.js → workspace-ckf8nxjz.js} +4 -4
- package/dist/chunks/{tool-wpgamtwv.js → workspace-ckn890ey.js} +26 -26
- package/dist/chunks/{tool-4jjk64j7.js → workspace-cqqer672.js} +13 -13
- package/dist/chunks/{tool-2zv0bcyv.js → workspace-cscmnd2v.js} +8 -8
- package/dist/chunks/{tool-k1pmzggn.js → workspace-cvgbrmvq.js} +30 -30
- package/dist/chunks/{tool-2sejkfem.js → workspace-cwa6csj7.js} +9 -9
- package/dist/chunks/{tool-p10vm95c.js → workspace-d2ffjrg3.js} +7 -7
- package/dist/chunks/{tool-ynky3s72.js → workspace-desgj5fn.js} +26 -26
- package/dist/chunks/{tool-pdssdm3r.js → workspace-dwnnjgz6.js} +45 -45
- package/dist/chunks/{tool-rx871m47.js → workspace-e107jb5k.js} +2 -2
- package/dist/chunks/{tool-z5n58sqq.js → workspace-e2h0q4a9.js} +8 -8
- package/dist/chunks/{tool-1ewxhx38.js → workspace-e3gcztwa.js} +30 -30
- package/dist/chunks/{tool-pjsqfx9m.js → workspace-easapccs.js} +6 -6
- package/dist/chunks/{tool-ef5x83kb.js → workspace-ef5x83kb.js} +1 -1
- package/dist/chunks/{tool-9tqp4rjd.js → workspace-efbajcyc.js} +34 -34
- package/dist/chunks/{tool-853r27ye.js → workspace-ejgp49jg.js} +20 -20
- package/dist/chunks/{tool-txw06jcg.js → workspace-emx6shzs.js} +24 -24
- package/dist/chunks/{tool-etq0c3wd.js → workspace-etq0c3wd.js} +1 -1
- package/dist/chunks/{tool-mzraw8ha.js → workspace-ewx9y0me.js} +7 -7
- package/dist/chunks/{tool-bx021530.js → workspace-f6626pn0.js} +12 -12
- package/dist/chunks/{tool-f75zav2x.js → workspace-f75zav2x.js} +2 -2
- package/dist/chunks/{tool-qk33d3eb.js → workspace-f7gr38pv.js} +5 -5
- package/dist/chunks/{tool-f4tfcf42.js → workspace-fte4edzz.js} +10 -10
- package/dist/chunks/{tool-81bpzke5.js → workspace-g38n4cbf.js} +11 -11
- package/dist/chunks/{tool-1cz6w5aa.js → workspace-g6cj2pz3.js} +5 -5
- package/dist/chunks/{tool-zab19jja.js → workspace-g762atc6.js} +9 -9
- package/dist/chunks/{tool-wfdj1abq.js → workspace-g79x7y0t.js} +11 -11
- package/dist/chunks/{tool-cz3qxt32.js → workspace-gamkna2f.js} +32 -32
- package/dist/chunks/{tool-gd4qta3r.js → workspace-gd4qta3r.js} +1 -1
- package/dist/chunks/{tool-cjdpndr5.js → workspace-gr68n6sk.js} +7 -7
- package/dist/chunks/{tool-bbpgpzrp.js → workspace-grtn0enx.js} +4 -4
- package/dist/chunks/{tool-6ysrkrkr.js → workspace-h275bwc7.js} +8 -8
- package/dist/chunks/{tool-sgd5yhbj.js → workspace-h2txwa5e.js} +9 -9
- package/dist/chunks/{tool-3w57jhwt.js → workspace-h4ckqw4f.js} +8 -8
- package/dist/chunks/{tool-h6vf3j39.js → workspace-h6vf3j39.js} +1 -1
- package/dist/chunks/{tool-w0jh0ny2.js → workspace-hd75z5fa.js} +10 -10
- package/dist/chunks/{tool-a65exzz3.js → workspace-heymn33v.js} +13 -13
- package/dist/chunks/{tool-303t2pvh.js → workspace-hfr420wr.js} +26 -26
- package/dist/chunks/{tool-393z7mah.js → workspace-hgnewnvf.js} +3 -3
- package/dist/chunks/{tool-qbd5ma0n.js → workspace-hns92ys1.js} +10 -10
- package/dist/chunks/{tool-6az9vrde.js → workspace-hp2fw5k6.js} +24 -24
- package/dist/chunks/{tool-gx34rq0y.js → workspace-hqf62ytx.js} +3 -3
- package/dist/chunks/{tool-r9t00hsy.js → workspace-hr5bc81f.js} +8 -8
- package/dist/chunks/workspace-j49cp3s0.js +26 -0
- package/dist/chunks/{tool-j56e64zr.js → workspace-j56e64zr.js} +1 -1
- package/dist/chunks/{tool-pvnmdee5.js → workspace-jdzksevj.js} +10 -10
- package/dist/chunks/{tool-cfsekr6v.js → workspace-jktqzjpa.js} +8 -8
- package/dist/chunks/{tool-75v4x8jp.js → workspace-jvddzxac.js} +14 -14
- package/dist/chunks/{tool-krzbbgtd.js → workspace-k2vb740h.js} +9 -9
- package/dist/chunks/{tool-66t34m9w.js → workspace-k30vhdc4.js} +12 -12
- package/dist/chunks/{tool-mwwxnxty.js → workspace-k3sn4jay.js} +4 -4
- package/dist/chunks/{tool-zqrhdrkc.js → workspace-k471ddga.js} +43 -43
- package/dist/chunks/{tool-cjxvfp5z.js → workspace-k569he40.js} +7 -7
- package/dist/chunks/{tool-tnjsmpmj.js → workspace-kaq877jq.js} +11 -11
- package/dist/chunks/{tool-kb9j3d72.js → workspace-kb9j3d72.js} +3 -3
- package/dist/chunks/{tool-p6hyfmfc.js → workspace-kgzx153c.js} +3 -3
- package/dist/chunks/{tool-kfdtc9qy.js → workspace-km0c42ps.js} +11 -11
- package/dist/chunks/{tool-pnzjke2r.js → workspace-kn0kwb9r.js} +22 -22
- package/dist/chunks/{tool-fhm77ccb.js → workspace-kprvgbka.js} +3 -3
- package/dist/chunks/{tool-qc3y4bn0.js → workspace-kpv8xpp3.js} +4 -4
- package/dist/chunks/{tool-4set99t9.js → workspace-kt4j6m51.js} +3 -3
- package/dist/chunks/{tool-vdg7jmx3.js → workspace-kzykqk6j.js} +12 -12
- package/dist/chunks/{tool-m3fdjcah.js → workspace-m3fdjcah.js} +1 -1
- package/dist/chunks/{tool-n7c1m45s.js → workspace-m6f5ap24.js} +15 -15
- package/dist/chunks/{tool-m9w0rfyh.js → workspace-m9w0rfyh.js} +1 -1
- package/dist/chunks/{tool-9y9sk2j9.js → workspace-mbnxefga.js} +2 -2
- package/dist/chunks/{tool-czkrkmgx.js → workspace-mh5wyt4r.js} +11 -11
- package/dist/chunks/{tool-xcmk6yw7.js → workspace-mhnyy3p3.js} +11 -11
- package/dist/chunks/{tool-xqq6j46d.js → workspace-mq716n2q.js} +18 -18
- package/dist/chunks/{tool-adfa1w2n.js → workspace-msr7hntd.js} +4 -4
- package/dist/chunks/{tool-a1gpj94z.js → workspace-mvfsc1pv.js} +3 -3
- package/dist/chunks/{tool-ncnm8wen.js → workspace-n2thn3nx.js} +1 -1
- package/dist/chunks/{tool-2xcf8v2e.js → workspace-nex76z7d.js} +15 -15
- package/dist/chunks/{tool-cwxwnzw8.js → workspace-nfj32nd6.js} +6 -6
- package/dist/chunks/{tool-8sq1nazw.js → workspace-nqsd8asp.js} +43 -43
- package/dist/chunks/{tool-61m1wdtq.js → workspace-nvdeaskg.js} +15 -15
- package/dist/chunks/{tool-dpkg50ah.js → workspace-nxm207yx.js} +4 -4
- package/dist/chunks/{tool-c3227a7e.js → workspace-p1f7zze4.js} +17 -17
- package/dist/chunks/{tool-b8yxdv3q.js → workspace-p2wa0wpq.js} +22 -22
- package/dist/chunks/{tool-na90p5sz.js → workspace-pbp90nbc.js} +27 -27
- package/dist/chunks/{tool-tpypbtav.js → workspace-pghsmdqn.js} +4 -4
- package/dist/chunks/{tool-pjvnvgmy.js → workspace-pjvnvgmy.js} +1 -1
- package/dist/chunks/{tool-pknna89w.js → workspace-pknna89w.js} +1 -1
- package/dist/chunks/{tool-m9kfb99s.js → workspace-pqnryrb4.js} +9 -9
- package/dist/chunks/{tool-q0xm7vwc.js → workspace-q0xm7vwc.js} +2 -2
- package/dist/chunks/{tool-mrtp8nr7.js → workspace-q1v6wmhm.js} +10 -10
- package/dist/chunks/{tool-56avvebe.js → workspace-qagmmt9n.js} +33 -33
- package/dist/chunks/{tool-7vp466hh.js → workspace-qc4y4x1d.js} +18 -18
- package/dist/chunks/{tool-690bn0hf.js → workspace-qhjkx6qf.js} +21 -21
- package/dist/chunks/{tool-npt101jb.js → workspace-qj3j2ed4.js} +26 -26
- package/dist/chunks/{tool-qnc92qwc.js → workspace-qnc92qwc.js} +1 -1
- package/dist/chunks/{tool-qsdy395h.js → workspace-qsdy395h.js} +1 -1
- package/dist/chunks/{tool-sm965ndy.js → workspace-qvb3nf84.js} +8 -8
- package/dist/chunks/{tool-gkwkvfez.js → workspace-qx4ps3zc.js} +20 -20
- package/dist/chunks/{tool-mdmbfqgq.js → workspace-r01t9b5y.js} +8 -8
- package/dist/chunks/{tool-swk0q7s9.js → workspace-r3p59fwg.js} +4 -4
- package/dist/chunks/{tool-1acjjqhc.js → workspace-r8xr0va3.js} +4 -4
- package/dist/chunks/{tool-a2zv89qz.js → workspace-r9htttdr.js} +13 -13
- package/dist/chunks/{tool-see9wd13.js → workspace-rd8yy9nb.js} +66 -66
- package/dist/chunks/{tool-rdw6cm16.js → workspace-rdw6cm16.js} +1 -1
- package/dist/chunks/{tool-qdm0xvfe.js → workspace-rfmnp9jb.js} +4 -4
- package/dist/chunks/{tool-9t7a50xb.js → workspace-rhjbct0v.js} +4 -4
- package/dist/chunks/{tool-nesyhtff.js → workspace-rksdhb0n.js} +18 -18
- package/dist/chunks/{tool-semz41dm.js → workspace-rrn10n85.js} +8 -8
- package/dist/chunks/{tool-axe3mf62.js → workspace-rrt0a0ha.js} +3 -3
- package/dist/chunks/{tool-at1kfnmk.js → workspace-rvf0m9x6.js} +8 -8
- package/dist/chunks/{tool-dbqekdzp.js → workspace-s6rbynpa.js} +5 -5
- package/dist/chunks/{tool-y6wve3t3.js → workspace-s76r9yk2.js} +13 -13
- package/dist/chunks/{tool-gfygj460.js → workspace-sb1pzkvh.js} +16 -16
- package/dist/chunks/{tool-ct5kn7sm.js → workspace-se3n8wcd.js} +18 -18
- package/dist/chunks/{tool-g0vvyb83.js → workspace-sfvft427.js} +11 -11
- package/dist/chunks/{tool-bvjdq5yq.js → workspace-sgcq822w.js} +5 -5
- package/dist/chunks/{tool-fgvy1g99.js → workspace-smq3dd2v.js} +31 -31
- package/dist/chunks/{tool-wdeky1ys.js → workspace-t13mbkgb.js} +22 -22
- package/dist/chunks/{tool-h6tdr0wz.js → workspace-t1fjxj08.js} +13 -13
- package/dist/chunks/{tool-8rqycdgd.js → workspace-t2fc4mz5.js} +7 -7
- package/dist/chunks/{tool-wkqs3fc0.js → workspace-t3039at6.js} +26 -26
- package/dist/chunks/{tool-tazgh4e4.js → workspace-tazgh4e4.js} +1 -1
- package/dist/chunks/{tool-tcezcvh9.js → workspace-tcezcvh9.js} +1 -1
- package/dist/chunks/{tool-hv8s3tg2.js → workspace-tdj9jt6q.js} +11 -11
- package/dist/chunks/{tool-tdstcens.js → workspace-tdstcens.js} +1 -1
- package/dist/chunks/{tool-pzcaekwn.js → workspace-tdx4y9zn.js} +11 -11
- package/dist/chunks/{tool-0y2egbcr.js → workspace-tqrjxmaf.js} +8 -8
- package/dist/chunks/{tool-gxds6sjc.js → workspace-ty9zft9p.js} +15 -15
- package/dist/chunks/{tool-xecxzrdp.js → workspace-v0es1rhs.js} +2 -2
- package/dist/chunks/{tool-3936tkf8.js → workspace-v2fwckm2.js} +13 -13
- package/dist/chunks/{tool-apme4279.js → workspace-v9t2f4tw.js} +22 -22
- package/dist/chunks/{tool-ck2jvgzg.js → workspace-vaxgn10g.js} +25 -25
- package/dist/chunks/{tool-08ed4zmw.js → workspace-vbrdpthe.js} +6 -6
- package/dist/chunks/{tool-veqvce7d.js → workspace-veqvce7d.js} +1 -1
- package/dist/chunks/{tool-g6tpgah0.js → workspace-vgfxpara.js} +81 -81
- package/dist/chunks/{tool-kc6hkr7d.js → workspace-vhvtqta5.js} +6 -6
- package/dist/chunks/{tool-a1jynv3g.js → workspace-vjthrvv1.js} +12 -12
- package/dist/chunks/{tool-5d17xbav.js → workspace-vrpz8t5t.js} +5 -5
- package/dist/chunks/{tool-vzs5sf6e.js → workspace-vzs5sf6e.js} +1 -1
- package/dist/chunks/{tool-g5w8qwbj.js → workspace-w19d8598.js} +7 -7
- package/dist/chunks/{tool-g24rjnnt.js → workspace-w39jehkq.js} +5 -5
- package/dist/chunks/{tool-w3wsvvr9.js → workspace-w3wsvvr9.js} +1 -1
- package/dist/chunks/{tool-vcccfxhw.js → workspace-w8jg2tm8.js} +34 -34
- package/dist/chunks/{tool-wd87259q.js → workspace-wd87259q.js} +1 -1
- package/dist/chunks/{tool-jy0x8hkf.js → workspace-wqzz8241.js} +8 -8
- package/dist/chunks/{tool-hqwyy3bj.js → workspace-x07w92bc.js} +3 -3
- package/dist/chunks/{tool-125pv97z.js → workspace-x2bhny64.js} +7 -7
- package/dist/chunks/{tool-a3c7ahw6.js → workspace-x3gqap9d.js} +4 -4
- package/dist/chunks/{tool-addxnjmp.js → workspace-x661k3y3.js} +4 -4
- package/dist/chunks/{tool-entbm7rc.js → workspace-xa1y625z.js} +20 -20
- package/dist/chunks/{tool-a2gqrh8v.js → workspace-xcjenepd.js} +31 -31
- package/dist/chunks/{tool-cy8n646y.js → workspace-xh51jhwy.js} +26 -26
- package/dist/chunks/{tool-xkntkrq7.js → workspace-xkntkrq7.js} +2 -2
- package/dist/chunks/{tool-xyafkbt0.js → workspace-xyafkbt0.js} +3 -3
- package/dist/chunks/{tool-y1fvbwt7.js → workspace-y1fvbwt7.js} +1 -1
- package/dist/chunks/{tool-e4q1gg2w.js → workspace-y2bx8ks4.js} +16 -16
- package/dist/chunks/{tool-m8tjqkzb.js → workspace-y2tx55zg.js} +5 -5
- package/dist/chunks/{tool-ymj5q7t9.js → workspace-yvmkmgn5.js} +12 -12
- package/dist/chunks/{tool-dwktjsma.js → workspace-ywd8qmyg.js} +1 -1
- package/dist/chunks/{tool-z0bkrqjs.js → workspace-z0bkrqjs.js} +1 -1
- package/dist/chunks/{tool-csdqyeex.js → workspace-z0cec5bd.js} +14 -14
- package/dist/chunks/{tool-b1axcb5r.js → workspace-z28g1vpv.js} +31 -31
- package/dist/chunks/{tool-zr2ceqn5.js → workspace-zr2ceqn5.js} +1 -1
- package/dist/chunks/{tool-7rm45jzf.js → workspace-zrbek4sy.js} +4 -4
- package/dist/chunks/{tool-zxq2ej10.js → workspace-zxq2ej10.js} +1 -1
- package/dist/chunks/{tool-scgrse2b.js → workspace-zyk1yjk8.js} +5 -5
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +9 -9
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +83 -83
- package/dist/config/discovery.js +82 -82
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +99 -99
- package/dist/config/plugin/agent.js +118 -118
- package/dist/config/plugin/command.js +207 -207
- package/dist/config/plugin/compaction.js +154 -154
- package/dist/config/plugin/compatibility.js +134 -134
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +117 -117
- package/dist/config/plugin/image.js +116 -116
- package/dist/config/plugin/instruction.js +90 -90
- package/dist/config/plugin/location-watcher.js +118 -118
- package/dist/config/plugin/mcp.js +125 -125
- package/dist/config/plugin/policy.js +117 -117
- package/dist/config/plugin/provider.js +116 -116
- package/dist/config/plugin/reference.js +118 -118
- package/dist/config/plugin/shell.js +116 -116
- package/dist/config/plugin/skill-file.js +102 -102
- package/dist/config/plugin/skill.js +137 -137
- package/dist/config/plugin/snapshot.js +116 -116
- package/dist/config/plugin/source.js +119 -119
- package/dist/config/plugin/tool-output.js +117 -117
- package/dist/config/plugin/websearch.js +115 -115
- package/dist/config/plugin/worktree.js +118 -118
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +117 -117
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +77 -77
- package/dist/database/database.js +66 -66
- package/dist/database/drizzle/effect-sqlite/driver.js +14 -14
- package/dist/database/drizzle/effect-sqlite/index.js +14 -14
- package/dist/database/drizzle/effect-sqlite/session.js +11 -11
- package/dist/database/drizzle/index.js +15 -15
- package/dist/database/drizzle/internal/drizzle-utils.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/count.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/db.js +9 -9
- package/dist/database/drizzle/sqlite-core/effect/delete.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/index.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/insert.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/query.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/raw.js +1 -1
- package/dist/database/drizzle/sqlite-core/effect/select.js +2 -2
- package/dist/database/drizzle/sqlite-core/effect/session.js +10 -10
- package/dist/database/drizzle/sqlite-core/effect/update.js +2 -2
- package/dist/database/drizzle.js +16 -16
- package/dist/database/migration/20260127222353_familiar_lady_ursula.js +1 -1
- package/dist/database/migration/20260211171708_add_project_commands.js +1 -1
- package/dist/database/migration/20260213144116_wakeful_the_professor.js +1 -1
- package/dist/database/migration/20260225215848_workspace.js +1 -1
- package/dist/database/migration/20260227213759_add_session_workspace_id.js +1 -1
- package/dist/database/migration/20260228203230_blue_harpoon.js +1 -1
- package/dist/database/migration/20260303231226_add_workspace_fields.js +1 -1
- package/dist/database/migration/20260309230000_move_org_to_state.js +1 -1
- package/dist/database/migration/20260312043431_session_message_cursor.js +1 -1
- package/dist/database/migration/20260323234822_events.js +1 -1
- package/dist/database/migration/20260410174513_workspace-name.js +1 -1
- package/dist/database/migration/20260413175956_chief_energizer.js +1 -1
- package/dist/database/migration/20260423070820_add_icon_url_override.js +1 -1
- package/dist/database/migration/20260427172553_slow_nightmare.js +1 -1
- package/dist/database/migration/20260428004200_add_session_path.js +1 -1
- package/dist/database/migration/20260501142318_next_venus.js +1 -1
- package/dist/database/migration/20260504145000_add_sync_owner.js +1 -1
- package/dist/database/migration/20260507164347_add_workspace_time.js +1 -1
- package/dist/database/migration/20260510033149_session_usage.js +1 -1
- package/dist/database/migration/20260511000411_data_migration_state.js +1 -1
- package/dist/database/migration/20260511173437_session-metadata.js +1 -1
- package/dist/database/migration/20260601010001_normalize_storage_paths.js +1 -1
- package/dist/database/migration/20260601202201_amazing_prowler.js +1 -1
- package/dist/database/migration/20260602002951_lowly_union_jack.js +1 -1
- package/dist/database/migration/20260602182828_add_project_directories.js +1 -1
- package/dist/database/migration/20260603001617_session_message_projection_indexes.js +1 -1
- package/dist/database/migration/20260603040000_session_message_projection_order.js +1 -1
- package/dist/database/migration/20260603141458_session_input_inbox.js +1 -1
- package/dist/database/migration/20260603160727_jittery_ezekiel_stane.js +1 -1
- package/dist/database/migration/20260604172448_event_sourced_session_input.js +1 -1
- package/dist/database/migration/20260605003541_add_session_context_snapshot.js +1 -1
- package/dist/database/migration/20260605042240_add_context_epoch_agent.js +1 -1
- package/dist/database/migration/20260611035744_credential.js +1 -1
- package/dist/database/migration/20260611192811_lush_chimera.js +1 -1
- package/dist/database/migration/20260612174303_project_dir_strategy.js +1 -1
- package/dist/database/migration/20260622142730_simplify_session_context_epoch.js +1 -1
- package/dist/database/migration/20260622170816_reset_v2_session_state.js +1 -1
- package/dist/database/migration/20260622202450_simplify_session_input.js +1 -1
- package/dist/database/migration/20260804233008_loose_psylocke.js +1 -1
- package/dist/database/migration/20260805200742_import_legacy_credentials.js +1 -1
- package/dist/database/migration/20260808023530_workspace_domain.js +1 -1
- package/dist/database/migration/20260811161259_execution_claim_attempts.js +1 -1
- package/dist/database/migration/20260812181746_session_inbox.js +1 -1
- package/dist/database/migration/20260812213948_worktree.js +1 -1
- package/dist/database/migration/20260819222447_session_viewed_state.js +1 -1
- package/dist/database/migration/20260823191254_nullable_workspace_binding.js +1 -1
- package/dist/database/migration/20260910120000_clear_v1_session_permission.js +1 -1
- package/dist/database/migration/20260923013825_project_time_active.js +1 -1
- package/dist/database/migration.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 +363 -363
- package/dist/effect/app-node-platform.js +2 -2
- package/dist/effect/keyed-mutex.js +3 -3
- package/dist/effect/websocket-constructor.js +1 -1
- package/dist/environment/driver.js +1 -1
- package/dist/environment/environment.js +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 +70 -70
- 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/location-watcher-policy.js +6 -6
- package/dist/filesystem/location-watcher.js +220 -220
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +93 -93
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +94 -94
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +87 -87
- package/dist/generate.js +99 -99
- 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 +91 -91
- package/dist/github-copilot/openai-compatible-error.js +1 -1
- package/dist/github-copilot/responses/convert-to-openai-responses-input.js +1 -1
- package/dist/github-copilot/responses/map-openai-responses-finish-reason.js +1 -1
- package/dist/github-copilot/responses/openai-error.js +1 -1
- package/dist/github-copilot/responses/openai-responses-language-model.js +10 -10
- package/dist/github-copilot/responses/openai-responses-prepare-tools.js +6 -6
- package/dist/github-copilot/responses/tool/code-interpreter.js +1 -1
- package/dist/github-copilot/responses/tool/file-search.js +1 -1
- package/dist/github-copilot/responses/tool/image-generation.js +1 -1
- package/dist/github-copilot/responses/tool/web-search-preview.js +1 -1
- package/dist/github-copilot/responses/tool/web-search.js +1 -1
- package/dist/image/photon.js +2 -2
- package/dist/image.js +6 -6
- package/dist/instance/service.js +5 -5
- package/dist/instance.js +354 -354
- package/dist/instruction-discovery.js +77 -77
- package/dist/instructions/builtins.js +83 -83
- package/dist/instructions/index.js +3 -3
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +87 -87
- package/dist/job.js +78 -78
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +73 -73
- package/dist/location-activity.js +131 -131
- package/dist/location-lifecycle.js +107 -107
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +351 -351
- package/dist/location.js +81 -81
- package/dist/managed-policy.js +5 -5
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +125 -125
- 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 +91 -91
- package/dist/model-resolver.js +96 -96
- package/dist/model.js +100 -100
- package/dist/models-dev.js +103 -103
- 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 +109 -109
- 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 +211 -211
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +326 -326
- package/dist/plugin/mcp-codemode-defaults.js +3 -3
- package/dist/plugin/models-dev.js +96 -96
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +4 -4
- 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 +117 -117
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/chatgpt.js +93 -93
- package/dist/plugin/provider/cloudflare-ai-gateway.js +113 -113
- package/dist/plugin/provider/cloudflare-workers-ai.js +114 -114
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +112 -112
- 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/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 +116 -116
- package/dist/plugin/provider/local.js +113 -113
- package/dist/plugin/provider/modal.js +92 -92
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +116 -116
- package/dist/plugin/provider/openai.js +95 -95
- package/dist/plugin/provider/opencode.js +96 -96
- 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 +115 -115
- package/dist/plugin/provider/vercel.js +90 -90
- package/dist/plugin/provider/vllm.js +116 -116
- package/dist/plugin/provider/xai.js +91 -91
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +155 -155
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +134 -134
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +345 -345
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- 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 +114 -114
- 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 +6 -6
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +2 -2
- package/dist/project/sql.js +4 -4
- package/dist/project.js +80 -80
- package/dist/provider.js +99 -99
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +99 -99
- package/dist/reference/instructions.js +87 -87
- package/dist/reference.js +91 -91
- package/dist/repository-cache.js +81 -81
- package/dist/repository.js +1 -1
- 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 +135 -135
- package/dist/session/context.js +149 -149
- 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 +214 -214
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +152 -152
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +88 -88
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +77 -77
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +97 -97
- package/dist/session/message-updater.js +2 -2
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +116 -116
- package/dist/session/model-transport.js +5 -5
- package/dist/session/move.js +129 -129
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +224 -224
- 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 +113 -113
- package/dist/session/runner/retry.js +4 -4
- package/dist/session/runner/step.js +125 -125
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +162 -162
- package/dist/session/shell.js +130 -130
- 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 +203 -203
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +157 -157
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +207 -207
- package/dist/session/usage.js +1 -1
- package/dist/session.js +211 -211
- 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 +7 -7
- package/dist/shell.js +132 -132
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +107 -107
- package/dist/skill.js +114 -114
- package/dist/snapshot.js +93 -93
- 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 +122 -122
- package/dist/tool/plugin/edit.js +120 -120
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +124 -124
- package/dist/tool/plugin/grep.js +122 -122
- package/dist/tool/plugin/mcp-resource.js +117 -117
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +101 -101
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +208 -208
- package/dist/tool/plugin/skill.js +111 -111
- package/dist/tool/plugin/subagent.js +212 -212
- package/dist/tool/plugin/webfetch.js +112 -112
- package/dist/tool/plugin/websearch.js +112 -112
- package/dist/tool/plugin/write.js +122 -122
- package/dist/tool/read-filesystem.js +100 -100
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +7 -7
- package/dist/tool.js +12 -12
- 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/command.js +5 -5
- package/dist/v1/config/error.js +2 -2
- 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 +3 -3
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- 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 +7 -7
- 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 +96 -96
- package/package.json +8 -8
- package/dist/chunks/tool-39v3zkdd.js +0 -26
- package/dist/chunks/tool-gdn38z0d.js +0 -253
- package/dist/chunks/tool-q509s3k3.js +0 -18
- /package/dist/chunks/{tool-0qkdqm5v.js → workspace-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{tool-0zkw76rk.js → workspace-0zkw76rk.js} +0 -0
- /package/dist/chunks/{tool-17cy0kzp.js → workspace-17cy0kzp.js} +0 -0
- /package/dist/chunks/{tool-1cnp2v09.js → workspace-1cnp2v09.js} +0 -0
- /package/dist/chunks/{tool-1kg9ymc8.js → workspace-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{tool-24dcb14g.js → workspace-24dcb14g.js} +0 -0
- /package/dist/chunks/{tool-2710q6r3.js → workspace-2710q6r3.js} +0 -0
- /package/dist/chunks/{tool-2axfhc9x.js → workspace-2axfhc9x.js} +0 -0
- /package/dist/chunks/{tool-2c3vjs8z.js → workspace-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{tool-34c7v6d4.js → workspace-34c7v6d4.js} +0 -0
- /package/dist/chunks/{tool-359p4xyc.js → workspace-359p4xyc.js} +0 -0
- /package/dist/chunks/{tool-3asan66x.js → workspace-3asan66x.js} +0 -0
- /package/dist/chunks/{tool-3t0ybcrp.js → workspace-3t0ybcrp.js} +0 -0
- /package/dist/chunks/{tool-3v8g72cx.js → workspace-3v8g72cx.js} +0 -0
- /package/dist/chunks/{tool-3w5fmr99.js → workspace-3w5fmr99.js} +0 -0
- /package/dist/chunks/{tool-3wcehsnq.js → workspace-3wcehsnq.js} +0 -0
- /package/dist/chunks/{tool-43n2bw4t.js → workspace-43n2bw4t.js} +0 -0
- /package/dist/chunks/{tool-4knz6hnm.js → workspace-4knz6hnm.js} +0 -0
- /package/dist/chunks/{tool-4vcrnpx2.js → workspace-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{tool-4y7fprxs.js → workspace-4y7fprxs.js} +0 -0
- /package/dist/chunks/{tool-53557ph1.js → workspace-53557ph1.js} +0 -0
- /package/dist/chunks/{tool-550bvhaj.js → workspace-550bvhaj.js} +0 -0
- /package/dist/chunks/{tool-5qd3pb7m.js → workspace-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{tool-6prwharc.js → workspace-6prwharc.js} +0 -0
- /package/dist/chunks/{tool-6q2bdcd1.js → workspace-6q2bdcd1.js} +0 -0
- /package/dist/chunks/{tool-7akdwqpd.js → workspace-7akdwqpd.js} +0 -0
- /package/dist/chunks/{tool-7m9af43g.js → workspace-7m9af43g.js} +0 -0
- /package/dist/chunks/{tool-822emrt2.js → workspace-822emrt2.js} +0 -0
- /package/dist/chunks/{tool-88xbtdfr.js → workspace-88xbtdfr.js} +0 -0
- /package/dist/chunks/{tool-8n3pysct.js → workspace-8n3pysct.js} +0 -0
- /package/dist/chunks/{tool-8wj87zfr.js → workspace-8wj87zfr.js} +0 -0
- /package/dist/chunks/{tool-9a4afbnw.js → workspace-9a4afbnw.js} +0 -0
- /package/dist/chunks/{tool-9rqn6x4v.js → workspace-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{tool-a6k6eb26.js → workspace-a6k6eb26.js} +0 -0
- /package/dist/chunks/{tool-af5trqkr.js → workspace-af5trqkr.js} +0 -0
- /package/dist/chunks/{tool-afrmfg78.js → workspace-afrmfg78.js} +0 -0
- /package/dist/chunks/{tool-aqzs7mqg.js → workspace-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{tool-atq7p7m5.js → workspace-atq7p7m5.js} +0 -0
- /package/dist/chunks/{tool-bkyjaxrp.js → workspace-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{tool-bmr6ed5q.js → workspace-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{tool-cf4snx6d.js → workspace-cf4snx6d.js} +0 -0
- /package/dist/chunks/{tool-cvy3z8tj.js → workspace-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{tool-d9fn303g.js → workspace-d9fn303g.js} +0 -0
- /package/dist/chunks/{tool-d9jj8t3e.js → workspace-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{tool-dajrwvna.js → workspace-dajrwvna.js} +0 -0
- /package/dist/chunks/{tool-dap0rakb.js → workspace-dap0rakb.js} +0 -0
- /package/dist/chunks/{tool-df08tz66.js → workspace-df08tz66.js} +0 -0
- /package/dist/chunks/{tool-dy18nga0.js → workspace-dy18nga0.js} +0 -0
- /package/dist/chunks/{tool-e5kj55wp.js → workspace-e5kj55wp.js} +0 -0
- /package/dist/chunks/{tool-e73j6tqm.js → workspace-e73j6tqm.js} +0 -0
- /package/dist/chunks/{tool-ec1grn59.js → workspace-ec1grn59.js} +0 -0
- /package/dist/chunks/{tool-eh3zwz77.js → workspace-eh3zwz77.js} +0 -0
- /package/dist/chunks/{tool-emrn6kk6.js → workspace-emrn6kk6.js} +0 -0
- /package/dist/chunks/{tool-f0mxakyp.js → workspace-f0mxakyp.js} +0 -0
- /package/dist/chunks/{tool-f6n9ztr4.js → workspace-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{tool-faypxj3z.js → workspace-faypxj3z.js} +0 -0
- /package/dist/chunks/{tool-fd410y7t.js → workspace-fd410y7t.js} +0 -0
- /package/dist/chunks/{tool-fxgpk5d8.js → workspace-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{tool-g4wezp1m.js → workspace-g4wezp1m.js} +0 -0
- /package/dist/chunks/{tool-g86h250q.js → workspace-g86h250q.js} +0 -0
- /package/dist/chunks/{tool-gebd4c9n.js → workspace-gebd4c9n.js} +0 -0
- /package/dist/chunks/{tool-gftt206x.js → workspace-gftt206x.js} +0 -0
- /package/dist/chunks/{tool-hk9envan.js → workspace-hk9envan.js} +0 -0
- /package/dist/chunks/{tool-j2ntwpah.js → workspace-j2ntwpah.js} +0 -0
- /package/dist/chunks/{tool-j5zkgpj8.js → workspace-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{tool-jjkms2e6.js → workspace-jjkms2e6.js} +0 -0
- /package/dist/chunks/{tool-jr7sbwjy.js → workspace-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{tool-jwfs4k6c.js → workspace-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{tool-jzg6c2d5.js → workspace-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{tool-mp448xyj.js → workspace-mp448xyj.js} +0 -0
- /package/dist/chunks/{tool-msx8hqn2.js → workspace-msx8hqn2.js} +0 -0
- /package/dist/chunks/{tool-n05xt0ee.js → workspace-n05xt0ee.js} +0 -0
- /package/dist/chunks/{tool-n3j8tn72.js → workspace-n3j8tn72.js} +0 -0
- /package/dist/chunks/{tool-njntx4h6.js → workspace-njntx4h6.js} +0 -0
- /package/dist/chunks/{tool-q3sfg36h.js → workspace-q3sfg36h.js} +0 -0
- /package/dist/chunks/{tool-q74kybfr.js → workspace-q74kybfr.js} +0 -0
- /package/dist/chunks/{tool-qaymkmh1.js → workspace-qaymkmh1.js} +0 -0
- /package/dist/chunks/{tool-qb87gjwd.js → workspace-qb87gjwd.js} +0 -0
- /package/dist/chunks/{tool-qfa1cgps.js → workspace-qfa1cgps.js} +0 -0
- /package/dist/chunks/{tool-qg3g05ea.js → workspace-qg3g05ea.js} +0 -0
- /package/dist/chunks/{tool-qrg20bc0.js → workspace-qrg20bc0.js} +0 -0
- /package/dist/chunks/{tool-rcb2kzg1.js → workspace-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{tool-sdp7kfr6.js → workspace-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{tool-ssg3fenm.js → workspace-ssg3fenm.js} +0 -0
- /package/dist/chunks/{tool-w803qqfp.js → workspace-w803qqfp.js} +0 -0
- /package/dist/chunks/{tool-wc3fc9cn.js → workspace-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{tool-wer8tq1h.js → workspace-wer8tq1h.js} +0 -0
- /package/dist/chunks/{tool-wtztk69x.js → workspace-wtztk69x.js} +0 -0
- /package/dist/chunks/{tool-x0ckcb58.js → workspace-x0ckcb58.js} +0 -0
- /package/dist/chunks/{tool-x61499pn.js → workspace-x61499pn.js} +0 -0
- /package/dist/chunks/{tool-y44na4kk.js → workspace-y44na4kk.js} +0 -0
- /package/dist/chunks/{tool-y8cydn3q.js → workspace-y8cydn3q.js} +0 -0
- /package/dist/chunks/{tool-y8f7s663.js → workspace-y8f7s663.js} +0 -0
- /package/dist/chunks/{tool-ygaqb7jw.js → workspace-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{tool-ym463w8f.js → workspace-ym463w8f.js} +0 -0
- /package/dist/chunks/{tool-z5v4ffb3.js → workspace-z5v4ffb3.js} +0 -0
- /package/dist/chunks/{tool-z9919s4g.js → workspace-z9919s4g.js} +0 -0
|
@@ -1,38 +1,38 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2jygvae8.js";
|
|
4
4
|
import {
|
|
5
5
|
Service83
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-rfmnp9jb.js";
|
|
7
7
|
import {
|
|
8
8
|
ID15,
|
|
9
9
|
OAuth3,
|
|
10
10
|
Event19,
|
|
11
|
-
|
|
12
|
-
} from "./
|
|
11
|
+
Service75
|
|
12
|
+
} from "./workspace-k30vhdc4.js";
|
|
13
13
|
import {
|
|
14
14
|
key2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./workspace-x661k3y3.js";
|
|
16
16
|
import {
|
|
17
|
-
|
|
17
|
+
ID13,
|
|
18
18
|
MethodID2
|
|
19
|
-
} from "./
|
|
19
|
+
} from "./workspace-hfr420wr.js";
|
|
20
20
|
import {
|
|
21
21
|
which2
|
|
22
|
-
} from "./
|
|
22
|
+
} from "./workspace-qaymkmh1.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID12,
|
|
25
|
+
Service72
|
|
26
|
+
} from "./workspace-caf87exy.js";
|
|
27
27
|
import {
|
|
28
|
-
|
|
29
|
-
} from "./
|
|
28
|
+
ID10
|
|
29
|
+
} from "./workspace-pbp90nbc.js";
|
|
30
30
|
import {
|
|
31
31
|
iife2
|
|
32
|
-
} from "./
|
|
32
|
+
} from "./workspace-1kg9ymc8.js";
|
|
33
33
|
import {
|
|
34
34
|
configuredSettings2
|
|
35
|
-
} from "./
|
|
35
|
+
} from "./workspace-vhvtqta5.js";
|
|
36
36
|
|
|
37
37
|
// src/plugin/provider/azure.ts
|
|
38
38
|
import { Clock, Effect, FiberHandle, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -67,18 +67,18 @@ var decodeManagementDeployment = Schema.decodeUnknownOption(Schema.Struct({
|
|
|
67
67
|
}));
|
|
68
68
|
var ResourceQuery = Schema.Struct({ query: Schema.String });
|
|
69
69
|
var Resources = Schema.Struct({ data: Schema.Array(Schema.Struct({ id: Schema.NonEmptyString })) });
|
|
70
|
-
function
|
|
70
|
+
function make8(endpoints = {
|
|
71
71
|
resource: (name) => `https://${name}.openai.azure.com/openai`,
|
|
72
72
|
management: "https://management.azure.com"
|
|
73
73
|
}) {
|
|
74
74
|
return define({
|
|
75
75
|
id: "opencode.provider.azure",
|
|
76
76
|
effect: Effect.fn(function* (ctx) {
|
|
77
|
-
const configured = yield* configuredSettings2(
|
|
77
|
+
const configured = yield* configuredSettings2(ID12.azure);
|
|
78
78
|
const processes = yield* AppProcess.Service;
|
|
79
79
|
const bus = yield* Service83;
|
|
80
|
-
const credentials = yield*
|
|
81
|
-
const providers = yield*
|
|
80
|
+
const credentials = yield* Service75;
|
|
81
|
+
const providers = yield* Service72;
|
|
82
82
|
const http = HttpClient.filterStatusOk(yield* HttpClient.HttpClient);
|
|
83
83
|
const tokens = new Map;
|
|
84
84
|
const resourceIDs = new Map;
|
|
@@ -116,13 +116,13 @@ function make5(endpoints = {
|
|
|
116
116
|
});
|
|
117
117
|
yield* ctx.integration.transform((editor) => {
|
|
118
118
|
editor.method.update({
|
|
119
|
-
integrationID:
|
|
119
|
+
integrationID: ID12.azure,
|
|
120
120
|
method: { type: "key", label: "API key", form: form() }
|
|
121
121
|
});
|
|
122
122
|
if (!available)
|
|
123
123
|
return;
|
|
124
124
|
editor.method.update({
|
|
125
|
-
integrationID:
|
|
125
|
+
integrationID: ID12.azure,
|
|
126
126
|
method: {
|
|
127
127
|
id: methodID,
|
|
128
128
|
type: "oauth",
|
|
@@ -152,7 +152,7 @@ function make5(endpoints = {
|
|
|
152
152
|
});
|
|
153
153
|
});
|
|
154
154
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
155
|
-
const connection = yield* ctx.integration.connection.active(
|
|
155
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
156
156
|
const stored = connection?.type === "credential" ? yield* credentials.get(ID15.make(connection.id)) : undefined;
|
|
157
157
|
return { connection, resource: credentialResource(stored?.value) };
|
|
158
158
|
});
|
|
@@ -192,7 +192,7 @@ function make5(endpoints = {
|
|
|
192
192
|
}));
|
|
193
193
|
const discover = Effect.fn("AzurePlugin.discover")(function* () {
|
|
194
194
|
const connection = loaded.connection;
|
|
195
|
-
const settings = (yield* providers.get(
|
|
195
|
+
const settings = (yield* providers.get(ID12.azure))?.settings;
|
|
196
196
|
const name = loaded.resource ?? resolveResourceName(settings);
|
|
197
197
|
const url = connection && name !== undefined && resourcePattern.test(name) && typeof settings?.baseURL !== "string" ? `${endpoints.resource(name)}/deployments?api-version=2022-12-01` : undefined;
|
|
198
198
|
if (loaded.connection !== connection)
|
|
@@ -214,11 +214,11 @@ function make5(endpoints = {
|
|
|
214
214
|
const found = yield* deployments(url, name, credential).pipe(Effect.map((list) => list.toSorted((a, b) => a.name.localeCompare(b.name))), Effect.catch((cause) => Effect.logWarning("failed to sync Azure deployments", { cause }).pipe(Effect.as(undefined))));
|
|
215
215
|
if (!found)
|
|
216
216
|
return;
|
|
217
|
-
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(
|
|
217
|
+
if (loaded.connection !== connection || key2(connection) !== key2(yield* ctx.integration.connection.active(ID12.azure)))
|
|
218
218
|
return;
|
|
219
219
|
if (JSON.stringify(found) === JSON.stringify(loaded.deployments))
|
|
220
220
|
return;
|
|
221
|
-
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(
|
|
221
|
+
const catalog = new Map(Array.from((yield* providers.snapshot()).records.get(ID12.azure)?.models.keys() ?? [], (id) => [
|
|
222
222
|
id.toLowerCase(),
|
|
223
223
|
id
|
|
224
224
|
]));
|
|
@@ -231,11 +231,11 @@ function make5(endpoints = {
|
|
|
231
231
|
yield* ctx.model.reload();
|
|
232
232
|
});
|
|
233
233
|
const refresh = () => rebind().pipe(Effect.andThen(FiberHandle.run(discovery, discover())));
|
|
234
|
-
const resourceFor = (provider) => provider.id ===
|
|
234
|
+
const resourceFor = (provider) => provider.id === ID12.azure ? loaded.resource ?? resolveResourceName(provider.settings) : resolveResourceName(provider.settings, loaded.resource);
|
|
235
235
|
Object.assign(loaded, yield* load());
|
|
236
236
|
yield* ctx.provider.transform((evt) => {
|
|
237
237
|
for (const item of evt.list()) {
|
|
238
|
-
if (item.provider.id !==
|
|
238
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
239
239
|
continue;
|
|
240
240
|
const resourceName = resourceFor(item.provider);
|
|
241
241
|
const websocket = responsesWebSocketCapable(item.provider);
|
|
@@ -250,7 +250,7 @@ function make5(endpoints = {
|
|
|
250
250
|
};
|
|
251
251
|
});
|
|
252
252
|
}
|
|
253
|
-
const item = evt.get(
|
|
253
|
+
const item = evt.get(ID12.azure);
|
|
254
254
|
if (!item)
|
|
255
255
|
return;
|
|
256
256
|
evt.add({
|
|
@@ -261,7 +261,7 @@ function make5(endpoints = {
|
|
|
261
261
|
});
|
|
262
262
|
yield* ctx.model.transform((models) => {
|
|
263
263
|
for (const item of models.provider.list()) {
|
|
264
|
-
if (item.provider.id !==
|
|
264
|
+
if (item.provider.id !== ID12.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
265
265
|
continue;
|
|
266
266
|
const resourceName = resourceFor(item.provider);
|
|
267
267
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -273,20 +273,20 @@ function make5(endpoints = {
|
|
|
273
273
|
}
|
|
274
274
|
if (!loaded.deployments)
|
|
275
275
|
return;
|
|
276
|
-
const catalog = models.list(
|
|
276
|
+
const catalog = models.list(ID12.azure);
|
|
277
277
|
const deployed = deployedModels(loaded.deployments, catalog);
|
|
278
278
|
for (const model of catalog) {
|
|
279
279
|
if (!deployed.has(model.id))
|
|
280
|
-
models.remove(
|
|
280
|
+
models.remove(ID12.azure, model.id);
|
|
281
281
|
}
|
|
282
282
|
for (const [id, model] of deployed) {
|
|
283
|
-
models.update(
|
|
283
|
+
models.update(ID12.azure, id, (draft) => Object.assign(draft, model));
|
|
284
284
|
}
|
|
285
285
|
});
|
|
286
|
-
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID ===
|
|
286
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID13.make("azure")), Stream.runForEach(() => refresh()), Effect.forkScoped({ startImmediately: true }));
|
|
287
287
|
yield* refresh().pipe(Effect.forkScoped);
|
|
288
288
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
289
|
-
const connection = yield* ctx.integration.connection.active(
|
|
289
|
+
const connection = yield* ctx.integration.connection.active(ID12.azure);
|
|
290
290
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
291
291
|
return;
|
|
292
292
|
})) : undefined;
|
|
@@ -298,7 +298,7 @@ function make5(endpoints = {
|
|
|
298
298
|
return `Bearer ${current.access}`;
|
|
299
299
|
});
|
|
300
300
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
301
|
-
if (evt.model.providerID !==
|
|
301
|
+
if (evt.model.providerID !== ID12.azure)
|
|
302
302
|
return;
|
|
303
303
|
const authorization = yield* bearer(evt.request.url);
|
|
304
304
|
if (!authorization)
|
|
@@ -307,9 +307,9 @@ function make5(endpoints = {
|
|
|
307
307
|
evt.request.headers.delete("x-api-key");
|
|
308
308
|
evt.request.headers.set("authorization", authorization);
|
|
309
309
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
310
|
-
}), { providerID:
|
|
310
|
+
}), { providerID: ID12.azure });
|
|
311
311
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
312
|
-
if (evt.model.providerID !==
|
|
312
|
+
if (evt.model.providerID !== ID12.azure)
|
|
313
313
|
return;
|
|
314
314
|
const authorization = yield* bearer(evt.url);
|
|
315
315
|
if (!authorization)
|
|
@@ -318,11 +318,11 @@ function make5(endpoints = {
|
|
|
318
318
|
delete evt.headers["x-api-key"];
|
|
319
319
|
evt.headers.authorization = authorization;
|
|
320
320
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
321
|
-
}), { providerID:
|
|
321
|
+
}), { providerID: ID12.azure });
|
|
322
322
|
})
|
|
323
323
|
});
|
|
324
324
|
}
|
|
325
|
-
var AzurePlugin2 =
|
|
325
|
+
var AzurePlugin2 = make8();
|
|
326
326
|
function resolveResourceName(settings, fallback) {
|
|
327
327
|
const configured = settings?.resourceName;
|
|
328
328
|
if (typeof configured === "string" && configured.trim() !== "")
|
|
@@ -352,11 +352,11 @@ function deployedModels(deployments, catalog) {
|
|
|
352
352
|
const model = catalogModel(models, deployment);
|
|
353
353
|
if (!model)
|
|
354
354
|
return [];
|
|
355
|
-
const id =
|
|
355
|
+
const id = ID10.make(deployment.name.toLowerCase());
|
|
356
356
|
const info = {
|
|
357
357
|
...structuredClone(model),
|
|
358
358
|
id,
|
|
359
|
-
modelID:
|
|
359
|
+
modelID: ID10.make(deployment.name),
|
|
360
360
|
name: id === model.id.toLowerCase() ? model.name : `${model.name} (${deployment.name})`
|
|
361
361
|
};
|
|
362
362
|
return [[id, info]];
|
|
@@ -378,4 +378,4 @@ function responsesWebSocketCapable(provider) {
|
|
|
378
378
|
return /^https:\/\/[^/]+\.openai\.azure\.com(?:\/|$)/i.test(settings.baseURL);
|
|
379
379
|
}
|
|
380
380
|
|
|
381
|
-
export {
|
|
381
|
+
export { make8, AzurePlugin2 };
|
|
@@ -1,44 +1,44 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service60
|
|
3
|
+
} from "./workspace-74f6ffmn.js";
|
|
4
4
|
import {
|
|
5
5
|
MAX_MARKDOWN_BYTES2,
|
|
6
6
|
convertHTMLToMarkdown2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-4vcrnpx2.js";
|
|
8
8
|
import {
|
|
9
9
|
collectBoundedResponseBody2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-3v8g72cx.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/tool/plugin/webfetch.ts
|
|
16
16
|
var exports_webfetch = {};
|
|
17
17
|
__export(exports_webfetch, {
|
|
18
18
|
DEFAULT_TIMEOUT_SECONDS: () => DEFAULT_TIMEOUT_SECONDS2,
|
|
19
|
-
Input: () =>
|
|
20
|
-
MAX_RESPONSE_BYTES: () =>
|
|
19
|
+
Input: () => Input6,
|
|
20
|
+
MAX_RESPONSE_BYTES: () => MAX_RESPONSE_BYTES2,
|
|
21
21
|
MAX_TIMEOUT_SECONDS: () => MAX_TIMEOUT_SECONDS2,
|
|
22
|
-
Plugin: () =>
|
|
22
|
+
Plugin: () => Plugin7,
|
|
23
23
|
WebFetchTool: () => exports_webfetch,
|
|
24
24
|
convertHTMLToMarkdown: () => convertHTMLToMarkdown2,
|
|
25
|
-
description: () =>
|
|
25
|
+
description: () => description3,
|
|
26
26
|
extractTextFromHTML: () => extractTextFromHTML2,
|
|
27
|
-
name: () =>
|
|
27
|
+
name: () => name6
|
|
28
28
|
});
|
|
29
29
|
import { ToolFailure } from "@opencode/ai";
|
|
30
30
|
import { Duration, Effect, Schema } from "effect";
|
|
31
31
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
32
32
|
import { Parser } from "htmlparser2";
|
|
33
|
-
var
|
|
34
|
-
var
|
|
33
|
+
var name6 = "webfetch";
|
|
34
|
+
var MAX_RESPONSE_BYTES2 = MAX_MARKDOWN_BYTES2;
|
|
35
35
|
var DEFAULT_TIMEOUT_SECONDS2 = 30;
|
|
36
36
|
var MAX_TIMEOUT_SECONDS2 = 120;
|
|
37
|
-
var
|
|
37
|
+
var description3 = `Fetch content from an HTTP or HTTPS URL and return it as text, markdown, or HTML. Markdown is the default.
|
|
38
38
|
|
|
39
39
|
Use a more targeted tool when one is available. This tool is read-only. Large text results may be replaced with a preview while the complete output is retained in managed storage.`;
|
|
40
40
|
var Timeout = Schema.Finite.check(Schema.isGreaterThan(0), Schema.isLessThanOrEqualTo(MAX_TIMEOUT_SECONDS2));
|
|
41
|
-
var
|
|
41
|
+
var Input6 = Schema.Struct({
|
|
42
42
|
url: Schema.String.annotate({ description: "The HTTP or HTTPS URL to fetch content from" }),
|
|
43
43
|
format: Schema.Literals(["text", "markdown", "html"]).annotate({ description: "The format to return the content in. Defaults to markdown." }).pipe(Schema.withDecodingDefaultKey(Effect.succeed("markdown"))),
|
|
44
44
|
timeout: Schema.optionalKey(Timeout).annotate({
|
|
@@ -48,7 +48,7 @@ var Input11 = Schema.Struct({
|
|
|
48
48
|
var Output = Schema.Struct({
|
|
49
49
|
url: Schema.String,
|
|
50
50
|
contentType: Schema.String,
|
|
51
|
-
format:
|
|
51
|
+
format: Input6.fields.format,
|
|
52
52
|
output: Schema.String
|
|
53
53
|
});
|
|
54
54
|
var acceptHeader = (format) => {
|
|
@@ -79,7 +79,7 @@ var assertHttpUrl = (url) => {
|
|
|
79
79
|
throw new Error("URL must use http:// or https://");
|
|
80
80
|
};
|
|
81
81
|
var execute = (http, url, format, userAgent = openCodeUserAgent) => http.execute(request(url, format, userAgent)).pipe(Effect.flatMap(HttpClientResponse.filterStatusOk));
|
|
82
|
-
var collectBody = (response) => collectBoundedResponseBody2(response,
|
|
82
|
+
var collectBody = (response) => collectBoundedResponseBody2(response, MAX_RESPONSE_BYTES2, () => new Error(`Response too large (exceeds ${MAX_RESPONSE_BYTES2} byte limit)`));
|
|
83
83
|
var mimeFrom = (contentType) => contentType.split(";", 1)[0]?.trim().toLowerCase() ?? "";
|
|
84
84
|
var isImageAttachment = (mime) => mime.startsWith("image/") && mime !== "image/svg+xml" && mime !== "image/vnd.fastbidsheet";
|
|
85
85
|
var isTextualMime = (mime) => !mime || mime.startsWith("text/") || mime === "application/json" || mime.endsWith("+json") || mime === "application/xml" || mime.endsWith("+xml") || mime === "application/javascript" || mime === "application/x-javascript";
|
|
@@ -92,16 +92,16 @@ var convert = (content, contentType, format) => {
|
|
|
92
92
|
return extractTextFromHTML2(content);
|
|
93
93
|
return content;
|
|
94
94
|
};
|
|
95
|
-
var
|
|
95
|
+
var Plugin7 = {
|
|
96
96
|
id: "opencode.tool.webfetch",
|
|
97
97
|
effect: Effect.fn("WebFetchTool.Plugin")(function* (ctx) {
|
|
98
98
|
const http = yield* HttpClient.HttpClient;
|
|
99
|
-
const permission = yield*
|
|
99
|
+
const permission = yield* Service60;
|
|
100
100
|
yield* ctx.tool.transform((editor) => editor.add({
|
|
101
|
-
name:
|
|
101
|
+
name: name6,
|
|
102
102
|
options: { codemode: false },
|
|
103
|
-
description:
|
|
104
|
-
input:
|
|
103
|
+
description: description3,
|
|
104
|
+
input: Input6,
|
|
105
105
|
output: Output,
|
|
106
106
|
execute: (input, context) => Effect.gen(function* () {
|
|
107
107
|
yield* Effect.try({
|
|
@@ -109,7 +109,7 @@ var Plugin29 = {
|
|
|
109
109
|
catch: (error) => error
|
|
110
110
|
});
|
|
111
111
|
yield* permission.assert({
|
|
112
|
-
action:
|
|
112
|
+
action: name6,
|
|
113
113
|
resources: [input.url],
|
|
114
114
|
save: ["*"],
|
|
115
115
|
metadata: input,
|
|
@@ -167,4 +167,4 @@ function extractTextFromHTML2(html) {
|
|
|
167
167
|
parser.end();
|
|
168
168
|
return text.trim();
|
|
169
169
|
}
|
|
170
|
-
export {
|
|
170
|
+
export { name6, MAX_RESPONSE_BYTES2, DEFAULT_TIMEOUT_SECONDS2, MAX_TIMEOUT_SECONDS2, description3, Input6, Plugin7, extractTextFromHTML2, exports_webfetch };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
makeUnsafe2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-nxm207yx.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/plugin/update.ts
|
|
9
9
|
var exports_update = {};
|
|
10
10
|
__export(exports_update, {
|
|
11
11
|
PluginUpdate: () => exports_update,
|
|
12
|
-
Service: () =>
|
|
13
|
-
node: () =>
|
|
12
|
+
Service: () => Service8,
|
|
13
|
+
node: () => node10
|
|
14
14
|
});
|
|
15
15
|
import { Clock, Context, Effect, Exit, Layer, Option, PubSub, Stream } from "effect";
|
|
16
16
|
import { Npm } from "@opencode/util/npm";
|
|
17
17
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
18
18
|
var interval = 24 * 60 * 60 * 1000;
|
|
19
19
|
|
|
20
|
-
class
|
|
20
|
+
class Service8 extends Context.Service()("@opencode/PluginUpdate") {
|
|
21
21
|
}
|
|
22
|
-
var layer = Layer.effect(
|
|
22
|
+
var layer = Layer.effect(Service8, Effect.gen(function* () {
|
|
23
23
|
const npm = yield* Npm.Service;
|
|
24
24
|
const locks = makeUnsafe2();
|
|
25
25
|
const status = new Map;
|
|
26
26
|
const changes = yield* PubSub.unbounded();
|
|
27
|
-
return
|
|
27
|
+
return Service8.of({
|
|
28
28
|
check: (target, options) => locks.withLock(target)(Effect.gen(function* () {
|
|
29
29
|
const checkedAt = yield* Clock.currentTimeMillis;
|
|
30
30
|
const current = status.get(target);
|
|
@@ -49,6 +49,6 @@ var layer = Layer.effect(Service4, Effect.gen(function* () {
|
|
|
49
49
|
changes: () => Stream.fromPubSub(changes)
|
|
50
50
|
});
|
|
51
51
|
}));
|
|
52
|
-
var
|
|
52
|
+
var node10 = makeGlobalNode({ service: Service8, layer, deps: [Npm.node] });
|
|
53
53
|
|
|
54
|
-
export {
|
|
54
|
+
export { Service8, node10, exports_update };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
ID12
|
|
3
|
+
} from "./workspace-caf87exy.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/provider/amazon-bedrock.ts
|
|
6
6
|
import { Effect } from "effect";
|
|
@@ -18,7 +18,7 @@ var AmazonBedrockPlugin2 = define({
|
|
|
18
18
|
effect: Effect.fn(function* (ctx) {
|
|
19
19
|
yield* ctx.integration.transform((editor) => {
|
|
20
20
|
editor.method.update({
|
|
21
|
-
integrationID:
|
|
21
|
+
integrationID: ID12.amazonBedrock,
|
|
22
22
|
method: { type: "env", names: ["AWS_BEARER_TOKEN_BEDROCK"] }
|
|
23
23
|
});
|
|
24
24
|
});
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
definition2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-3w5fmr99.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-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: () => Plugin43,
|
|
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 Plugin43 = 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 { Plugin43, exports_tool_input_repair };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-bv2qvk3v.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-34c7v6d4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Ref4
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-2cabk1b6.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./workspace-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/location-service-map.ts
|
|
9
9
|
var exports_location_service_map = {};
|
|
10
10
|
__export(exports_location_service_map, {
|
|
11
11
|
LocationServiceMap: () => exports_location_service_map,
|
|
12
|
-
Service: () =>
|
|
12
|
+
Service: () => Service79,
|
|
13
13
|
canonical: () => canonical3,
|
|
14
|
-
node: () =>
|
|
14
|
+
node: () => node83,
|
|
15
15
|
reload: () => reload2
|
|
16
16
|
});
|
|
17
17
|
import { Context, Effect, Exit, Layer, RcMap } from "effect";
|
|
@@ -19,14 +19,14 @@ import { LayerNode } from "@opencode/util/effect/layer-node";
|
|
|
19
19
|
import { Node } from "@opencode/util/effect/app-node";
|
|
20
20
|
import { AbsolutePath } from "@opencode/schema/schema";
|
|
21
21
|
import path from "path";
|
|
22
|
-
class
|
|
22
|
+
class Service79 extends Context.Service()("@opencode/example/LocationServiceMap") {
|
|
23
23
|
static get(ref) {
|
|
24
|
-
return Layer.unwrap(Effect.map(
|
|
24
|
+
return Layer.unwrap(Effect.map(Service79, (locations) => locations.get(ref)));
|
|
25
25
|
}
|
|
26
26
|
}
|
|
27
|
-
var
|
|
27
|
+
var node83 = LayerNode.unbound(Service79, Node.tags.values.global);
|
|
28
28
|
var reload2 = Effect.fn("LocationServiceMap.reload")(function* () {
|
|
29
|
-
const locations = yield*
|
|
29
|
+
const locations = yield* Service79;
|
|
30
30
|
const refs = Array.from(yield* RcMap.keys(locations.rcMap));
|
|
31
31
|
yield* Effect.forEach(refs, (ref) => locations.invalidate(ref), {
|
|
32
32
|
discard: true,
|
|
@@ -45,4 +45,4 @@ function canonical3(ref) {
|
|
|
45
45
|
});
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
export {
|
|
48
|
+
export { Service79, node83, reload2, canonical3, exports_location_service_map };
|
|
@@ -2,10 +2,10 @@ import {
|
|
|
2
2
|
NotFound2,
|
|
3
3
|
WrongKind2,
|
|
4
4
|
Failed2
|
|
5
|
-
} from "./
|
|
5
|
+
} from "./workspace-2a5m3afh.js";
|
|
6
6
|
import {
|
|
7
7
|
__export
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./workspace-9rqn6x4v.js";
|
|
9
9
|
|
|
10
10
|
// src/environment/local.ts
|
|
11
11
|
var exports_local = {};
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./workspace-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/plugin/identity.ts
|
|
6
6
|
var exports_identity = {};
|
|
7
7
|
__export(exports_identity, {
|
|
8
8
|
IdentityPlugin: () => exports_identity,
|
|
9
|
-
Plugin: () =>
|
|
9
|
+
Plugin: () => Plugin40,
|
|
10
10
|
identity: () => identity2
|
|
11
11
|
});
|
|
12
12
|
import { SystemPart } from "@opencode/ai";
|
|
@@ -22,7 +22,7 @@ function identity2(model) {
|
|
|
22
22
|
].join(`
|
|
23
23
|
`);
|
|
24
24
|
}
|
|
25
|
-
var
|
|
25
|
+
var Plugin40 = define({
|
|
26
26
|
id: "opencode.prompt.identity",
|
|
27
27
|
effect: Effect.fn("IdentityPlugin")(function* (ctx) {
|
|
28
28
|
const hook = (event) => Effect.gen(function* () {
|
|
@@ -35,4 +35,4 @@ var Plugin16 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export { identity2,
|
|
38
|
+
export { identity2, Plugin40, exports_identity };
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service68,
|
|
3
|
+
node70
|
|
4
|
+
} from "./workspace-hns92ys1.js";
|
|
5
5
|
import {
|
|
6
6
|
SessionMessage2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./workspace-gftt206x.js";
|
|
8
8
|
import {
|
|
9
9
|
SessionSchema2
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./workspace-rrt0a0ha.js";
|
|
11
11
|
import {
|
|
12
12
|
__export
|
|
13
|
-
} from "./
|
|
13
|
+
} from "./workspace-9rqn6x4v.js";
|
|
14
14
|
|
|
15
15
|
// src/job.ts
|
|
16
16
|
var exports_job = {};
|
|
17
17
|
__export(exports_job, {
|
|
18
18
|
Job: () => exports_job,
|
|
19
|
-
Service: () =>
|
|
20
|
-
make: () =>
|
|
21
|
-
node: () =>
|
|
19
|
+
Service: () => Service59,
|
|
20
|
+
make: () => make19,
|
|
21
|
+
node: () => node61
|
|
22
22
|
});
|
|
23
23
|
import { Array, Cause, Clock, Context, Deferred, Effect, Exit, Layer, Schema, Scope, SynchronizedRef } from "effect";
|
|
24
24
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
@@ -48,7 +48,7 @@ var decodeBackground = Schema.decodeUnknownResult(Background);
|
|
|
48
48
|
var backgroundPrefix = "job.background/";
|
|
49
49
|
var COMPLETED_LIMIT = 25;
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service59 extends Context.Service()("@opencode/Job") {
|
|
52
52
|
}
|
|
53
53
|
function snapshot(job) {
|
|
54
54
|
return {
|
|
@@ -83,8 +83,8 @@ function decrementSession(input, sessionID) {
|
|
|
83
83
|
next.set(sessionID, count - 1);
|
|
84
84
|
return next;
|
|
85
85
|
}
|
|
86
|
-
var
|
|
87
|
-
const kv = yield*
|
|
86
|
+
var make19 = Effect.gen(function* () {
|
|
87
|
+
const kv = yield* Service68;
|
|
88
88
|
const state = {
|
|
89
89
|
jobs: yield* SynchronizedRef.make(new Map),
|
|
90
90
|
scope: yield* Scope.Scope
|
|
@@ -342,7 +342,7 @@ var make20 = Effect.gen(function* () {
|
|
|
342
342
|
next.delete(entry[0]);
|
|
343
343
|
return next;
|
|
344
344
|
})));
|
|
345
|
-
return
|
|
345
|
+
return Service59.of({
|
|
346
346
|
get,
|
|
347
347
|
start,
|
|
348
348
|
wait,
|
|
@@ -354,7 +354,7 @@ var make20 = Effect.gen(function* () {
|
|
|
354
354
|
completeBackground
|
|
355
355
|
});
|
|
356
356
|
});
|
|
357
|
-
var layer = Layer.effect(
|
|
358
|
-
var
|
|
357
|
+
var layer = Layer.effect(Service59, make19);
|
|
358
|
+
var node61 = makeGlobalNode({ service: Service59, layer, deps: [node70] });
|
|
359
359
|
|
|
360
|
-
export {
|
|
360
|
+
export { Service59, make19, node61, exports_job };
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service80,
|
|
3
3
|
node84
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./workspace-2cabk1b6.js";
|
|
5
5
|
import {
|
|
6
6
|
Key3,
|
|
7
|
-
|
|
7
|
+
make20,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./workspace-rhjbct0v.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./workspace-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
@@ -28,7 +28,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
28
28
|
const location = yield* Service80;
|
|
29
29
|
return Service27.of({
|
|
30
30
|
load: () => Effect.succeed(combine2([
|
|
31
|
-
|
|
31
|
+
make20({
|
|
32
32
|
key: Key3.make("core/date"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
@@ -37,7 +37,7 @@ var layer = Layer.effect(Service27, Effect.gen(function* () {
|
|
|
37
37
|
changed: (_previous, date) => `Today's date is now: ${date}`
|
|
38
38
|
}
|
|
39
39
|
}),
|
|
40
|
-
|
|
40
|
+
make20({
|
|
41
41
|
key: Key3.make("core/environment"),
|
|
42
42
|
codec: Schema.toCodecJson(Schema.String),
|
|
43
43
|
read: Effect.sync(() => [
|