@opencode/core 0.0.0-dev-20206 → 0.0.0-dev-20207
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/{model-resolver-6w2apkvv.js → skill-017yk54a.js} +25 -25
- package/dist/chunks/{model-resolver-5kgz3sjj.js → skill-01z3gtar.js} +15 -15
- package/dist/chunks/{model-resolver-q5q8f7qb.js → skill-0269zm6b.js} +35 -35
- package/dist/chunks/{model-resolver-5nb4515h.js → skill-02chabd3.js} +33 -33
- package/dist/chunks/{model-resolver-9h236asx.js → skill-05cj7vxy.js} +32 -32
- package/dist/chunks/{model-resolver-j9gbxbd4.js → skill-06at7z01.js} +3 -3
- package/dist/chunks/{model-resolver-d3mkwwpa.js → skill-06gm914g.js} +42 -42
- package/dist/chunks/{model-resolver-nxhqveyz.js → skill-0f9afca0.js} +5 -5
- package/dist/chunks/{model-resolver-xvbsysbp.js → skill-0fab615q.js} +35 -35
- package/dist/chunks/{model-resolver-40jcz8ad.js → skill-0fexsbzd.js} +8 -8
- package/dist/chunks/{model-resolver-d9ayxges.js → skill-0mc464d2.js} +49 -49
- package/dist/chunks/skill-0mesazry.js +4 -0
- package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-k50stbs9.js → skill-0vxz8yyr.js} +10 -10
- package/dist/chunks/{model-resolver-a0s8413t.js → skill-0ws3f0ex.js} +5 -5
- package/dist/chunks/{model-resolver-bnmr3cva.js → skill-166kng33.js} +8 -8
- package/dist/chunks/{model-resolver-8tpjzhs1.js → skill-17jhsav0.js} +3 -3
- package/dist/chunks/{model-resolver-0mm9aq32.js → skill-1813d5zh.js} +12 -12
- package/dist/chunks/{model-resolver-yp2x3t23.js → skill-1acjjqhc.js} +4 -4
- package/dist/chunks/{model-resolver-1h9atmhq.js → skill-1ccd6b10.js} +22 -22
- package/dist/chunks/{model-resolver-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-7pnt7zw0.js → skill-1f0c6jnf.js} +10 -10
- package/dist/chunks/{model-resolver-acnx8j53.js → skill-1hx0cpq7.js} +9 -9
- package/dist/chunks/{model-resolver-yfkyvkx0.js → skill-1qdsjxzy.js} +18 -18
- package/dist/chunks/{model-resolver-rznw7p1c.js → skill-1tx4fn90.js} +30 -30
- package/dist/chunks/{model-resolver-dzrsrzty.js → skill-1vy1vbr0.js} +5 -5
- package/dist/chunks/{model-resolver-bpm0h9ra.js → skill-1xh3c5c6.js} +24 -24
- package/dist/chunks/{model-resolver-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-kcrma5rg.js → skill-29etqs2x.js} +16 -16
- package/dist/chunks/{model-resolver-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-pk2244jm.js → skill-2f04pwep.js} +3 -3
- package/dist/chunks/{model-resolver-0jwsre1p.js → skill-2k8khapm.js} +5 -5
- package/dist/chunks/{model-resolver-j3pfw49f.js → skill-2yza5ybg.js} +15 -15
- package/dist/chunks/{model-resolver-wqk93c07.js → skill-31a1n326.js} +13 -13
- package/dist/chunks/{model-resolver-3hdgzgjd.js → skill-3409w901.js} +22 -22
- package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-bg8arhpn.js → skill-3q06wn7v.js} +36 -36
- package/dist/chunks/{model-resolver-3smtnn6g.js → skill-3smtnn6g.js} +1 -1
- package/dist/chunks/{model-resolver-3tvqynh2.js → skill-3tvqynh2.js} +1 -1
- package/dist/chunks/{model-resolver-3zsf4n22.js → skill-3zsf4n22.js} +1 -1
- package/dist/chunks/{model-resolver-s5defpr9.js → skill-426gc0d9.js} +14 -14
- package/dist/chunks/{model-resolver-c5885s0q.js → skill-4d3460jv.js} +11 -11
- package/dist/chunks/{model-resolver-tm1heg02.js → skill-4k0xqdp1.js} +5 -5
- package/dist/chunks/{model-resolver-7f9xvnkr.js → skill-4qxv2j2v.js} +22 -22
- package/dist/chunks/{model-resolver-3ghz8s00.js → skill-4sg7xgp3.js} +19 -19
- package/dist/chunks/{model-resolver-vspyk4wa.js → skill-4stjezst.js} +29 -29
- package/dist/chunks/{model-resolver-f3ngv102.js → skill-50mzsvk4.js} +4 -4
- package/dist/chunks/{model-resolver-r6zp23ak.js → skill-51hvrym2.js} +19 -19
- package/dist/chunks/{model-resolver-56gdpj1q.js → skill-56gdpj1q.js} +2 -2
- package/dist/chunks/{model-resolver-8emzq1v9.js → skill-59m5ry2k.js} +11 -11
- package/dist/chunks/{model-resolver-xfpvjh8w.js → skill-59zk85bq.js} +37 -37
- package/dist/chunks/{model-resolver-hez0a82b.js → skill-5b3a1c7c.js} +35 -35
- package/dist/chunks/{model-resolver-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-8ttzzsr1.js → skill-5mca9tyb.js} +44 -44
- package/dist/chunks/{model-resolver-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-bb326kwh.js → skill-5y2jknye.js} +17 -17
- package/dist/chunks/{model-resolver-m11tzp6r.js → skill-61xtdpx5.js} +5 -5
- package/dist/chunks/{model-resolver-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-gyswrdsk.js → skill-682qh0zd.js} +1 -1
- package/dist/chunks/{model-resolver-hnr8f6ws.js → skill-697fm79x.js} +4 -4
- package/dist/chunks/{model-resolver-55kqbvq6.js → skill-6c7knq90.js} +6 -6
- package/dist/chunks/{model-resolver-jnt43jm9.js → skill-6fchhapm.js} +99 -99
- package/dist/chunks/{model-resolver-2402vzrj.js → skill-6h73sxmp.js} +5 -5
- package/dist/chunks/{model-resolver-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-31879egc.js → skill-6tb6gx4y.js} +17 -17
- package/dist/chunks/{model-resolver-bds46r3z.js → skill-6typ8tap.js} +54 -54
- package/dist/chunks/{model-resolver-bmcwmng9.js → skill-6way0tbt.js} +8 -8
- package/dist/chunks/{model-resolver-zx0yy5px.js → skill-6yvz6ne1.js} +22 -22
- package/dist/chunks/{model-resolver-06x0cg99.js → skill-7457xe47.js} +10 -10
- package/dist/chunks/{model-resolver-4kngcreg.js → skill-77djfn49.js} +37 -37
- package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-w9j9c9r7.js → skill-7radtp4w.js} +12 -12
- package/dist/chunks/{model-resolver-yryk7av5.js → skill-7rx9zbjq.js} +7 -7
- package/dist/chunks/{model-resolver-jwz36s33.js → skill-7tyk29va.js} +185 -185
- package/dist/chunks/{model-resolver-w90vmgx1.js → skill-7vegjyzg.js} +33 -33
- package/dist/chunks/{model-resolver-y473g9cd.js → skill-7w1x3s5v.js} +18 -18
- package/dist/chunks/{model-resolver-q1aqvm29.js → skill-7y51vbvs.js} +32 -32
- package/dist/chunks/{model-resolver-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-exarhmpa.js → skill-8ehyresh.js} +15 -15
- package/dist/chunks/{model-resolver-tftgz9xd.js → skill-8g3f09g0.js} +3 -3
- package/dist/chunks/{model-resolver-tt3q36pf.js → skill-8w9z9ekh.js} +9 -9
- package/dist/chunks/{model-resolver-3dx22m0j.js → skill-8x14mnk0.js} +12 -12
- package/dist/chunks/{model-resolver-94ek1h2f.js → skill-94ek1h2f.js} +2 -2
- package/dist/chunks/{model-resolver-93smetpw.js → skill-9etfnzw3.js} +3 -3
- package/dist/chunks/{model-resolver-j5w2yx54.js → skill-9gea571p.js} +6 -6
- package/dist/chunks/{model-resolver-6ytc35nj.js → skill-9j6qf2nz.js} +26 -26
- package/dist/chunks/{model-resolver-dfbbfk99.js → skill-9kv9xk3y.js} +12 -12
- package/dist/chunks/{model-resolver-f3rwh7he.js → skill-9pwrs4hy.js} +26 -26
- package/dist/chunks/{model-resolver-s0thh5dw.js → skill-9rqa1z1z.js} +10 -10
- package/dist/chunks/{model-resolver-beg0vm9f.js → skill-9swwndym.js} +22 -22
- package/dist/chunks/{model-resolver-0ad39zh4.js → skill-9vm3jkw2.js} +23 -23
- package/dist/chunks/{model-resolver-a3ftg8j6.js → skill-a3ftg8j6.js} +2 -2
- package/dist/chunks/{model-resolver-rzmcp3en.js → skill-a519c5k9.js} +16 -16
- package/dist/chunks/{model-resolver-cbx2ya3s.js → skill-a6s71k6e.js} +30 -30
- package/dist/chunks/{model-resolver-c35597j6.js → skill-a81kfqvn.js} +4 -4
- package/dist/chunks/{model-resolver-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-5ctg7cef.js → skill-abmzmmfq.js} +32 -32
- package/dist/chunks/{model-resolver-b7b4ctej.js → skill-axs6pdy0.js} +5 -5
- package/dist/chunks/{model-resolver-93gypvht.js → skill-azfsw3sd.js} +37 -37
- package/dist/chunks/{model-resolver-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-bmv2wk1h.js → skill-b6vqt057.js} +28 -28
- package/dist/chunks/{model-resolver-wq13kg2q.js → skill-b6xv7ymq.js} +36 -36
- package/dist/chunks/{model-resolver-yajf6e80.js → skill-b7camypd.js} +28 -28
- package/dist/chunks/{model-resolver-pmr4s4kc.js → skill-bct739vz.js} +4 -4
- package/dist/chunks/{model-resolver-m0t981be.js → skill-bqe2w88k.js} +29 -29
- package/dist/chunks/{model-resolver-jc9nhtt9.js → skill-c9z0jmrs.js} +13 -13
- package/dist/chunks/{model-resolver-84gx0bmj.js → skill-caxwz85h.js} +1 -1
- package/dist/chunks/{model-resolver-ms5024b2.js → skill-cjft4ft8.js} +6 -6
- package/dist/chunks/{model-resolver-gse5gt66.js → skill-ck69dtv7.js} +4 -4
- package/dist/chunks/{model-resolver-ckecvw8r.js → skill-ckecvw8r.js} +2 -2
- package/dist/chunks/{model-resolver-br0tr5aq.js → skill-cmwkp3r5.js} +8 -8
- package/dist/chunks/{model-resolver-naj50rvz.js → skill-cr9wy6w1.js} +8 -8
- package/dist/chunks/skill-ctefx7dc.js +18 -0
- package/dist/chunks/{model-resolver-d4he2qe1.js → skill-cwa6csj7.js} +9 -9
- package/dist/chunks/{model-resolver-cgmaehw3.js → skill-d0k4a5wc.js} +4 -4
- package/dist/chunks/{model-resolver-nk4qtf6b.js → skill-dc99c8rr.js} +31 -31
- package/dist/chunks/{model-resolver-35ng7dkh.js → skill-dfzjqex4.js} +5 -5
- package/dist/chunks/{model-resolver-9y9w4qw6.js → skill-dytb7912.js} +6 -6
- package/dist/chunks/{model-resolver-ca7w653e.js → skill-e2hjzebn.js} +4 -4
- package/dist/chunks/{model-resolver-rsh5se6h.js → skill-e82fcy7k.js} +9 -9
- package/dist/chunks/{model-resolver-rhjbct0v.js → skill-eaj1djv9.js} +8 -8
- package/dist/chunks/{model-resolver-ecfe7b91.js → skill-ecfe7b91.js} +2 -2
- package/dist/chunks/{model-resolver-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-8q7htp70.js → skill-eppx78dg.js} +21 -21
- package/dist/chunks/{model-resolver-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-3c98vr6c.js → skill-ewts7vfk.js} +10 -10
- package/dist/chunks/{model-resolver-4rhbtwdt.js → skill-ezs5xvvw.js} +9 -9
- package/dist/chunks/{model-resolver-fmcqyzhx.js → skill-f0ftzx98.js} +9 -9
- package/dist/chunks/{model-resolver-k7fv6ppr.js → skill-f0q3zgp7.js} +11 -11
- package/dist/chunks/{model-resolver-hgf5wkwr.js → skill-f3yz1pkd.js} +11 -11
- package/dist/chunks/{model-resolver-n0eb95ej.js → skill-fjpgqswp.js} +11 -11
- package/dist/chunks/{model-resolver-kd7vez3r.js → skill-fk3mqgzt.js} +4 -4
- package/dist/chunks/{model-resolver-zckyz7ek.js → skill-fkd5x55y.js} +8 -8
- package/dist/chunks/{model-resolver-2d57kztd.js → skill-fng9e0je.js} +4 -4
- package/dist/chunks/{model-resolver-6ncjhc5z.js → skill-fnrzj9xf.js} +31 -31
- package/dist/chunks/{model-resolver-zmg0hy4v.js → skill-g0ez42gr.js} +11 -11
- package/dist/chunks/{model-resolver-0mtkqq6e.js → skill-g16crsyf.js} +6 -6
- package/dist/chunks/{model-resolver-zvnydg09.js → skill-g7ec6ga3.js} +18 -18
- package/dist/chunks/{model-resolver-qa3qhgw8.js → skill-g8d3gcyj.js} +7 -7
- package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-j7d6ser5.js → skill-gek21znr.js} +25 -25
- package/dist/chunks/{model-resolver-fp2xarvc.js → skill-gg3hnhsj.js} +1 -1
- package/dist/chunks/{model-resolver-xtcf9r2h.js → skill-gh9bh3wc.js} +14 -14
- package/dist/chunks/{model-resolver-6xec00j9.js → skill-ghdz8829.js} +32 -32
- package/dist/chunks/{model-resolver-fp8b183e.js → skill-gm7y8p7g.js} +7 -7
- package/dist/chunks/{model-resolver-xchhwgmm.js → skill-gqqc8zrm.js} +13 -13
- package/dist/chunks/{model-resolver-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-b37fysv1.js → skill-h5c0n38e.js} +13 -13
- package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-90zwzkn8.js → skill-h7k36nvq.js} +20 -20
- package/dist/chunks/{model-resolver-2fvr2s65.js → skill-h7mdrc48.js} +30 -30
- package/dist/chunks/{model-resolver-ak9g7d9n.js → skill-hgtvnj1q.js} +30 -30
- package/dist/chunks/{model-resolver-kw6cevd8.js → skill-hmmnbmcs.js} +36 -36
- package/dist/chunks/{model-resolver-tr8rwgax.js → skill-hpq22ygf.js} +10 -10
- package/dist/chunks/{model-resolver-662kcsnq.js → skill-hwpx9scr.js} +17 -17
- package/dist/chunks/{model-resolver-e8n3qg4t.js → skill-hyax2rhp.js} +37 -37
- package/dist/chunks/{model-resolver-dfbyaknh.js → skill-j17kqcvt.js} +5 -5
- package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-4gtvk39h.js → skill-j63yb23q.js} +4 -4
- package/dist/chunks/{model-resolver-8qa1wps4.js → skill-jcjbvb4p.js} +3 -3
- package/dist/chunks/{model-resolver-8tsdq50x.js → skill-jewzahs7.js} +4 -4
- package/dist/chunks/{model-resolver-0xyjb436.js → skill-jn0q4s4g.js} +13 -13
- package/dist/chunks/{model-resolver-cnvnzs5z.js → skill-jsvb6vsn.js} +12 -12
- package/dist/chunks/{model-resolver-zxrxjv84.js → skill-jz5sxy2v.js} +9 -9
- package/dist/chunks/{model-resolver-6nf8xs8b.js → skill-k1m56zwf.js} +28 -28
- package/dist/chunks/{model-resolver-nzks3jc8.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-a8vp4ryg.js → skill-kbs8t6dd.js} +5 -5
- package/dist/chunks/{model-resolver-8h1zszsv.js → skill-kpr1h2gp.js} +17 -17
- package/dist/chunks/{model-resolver-ha2jz5gs.js → skill-kxh1rwc9.js} +11 -11
- package/dist/chunks/{model-resolver-m2d0j7c0.js → skill-m2d0j7c0.js} +2 -2
- package/dist/chunks/{model-resolver-m3fdjcah.js → skill-m3fdjcah.js} +1 -1
- package/dist/chunks/{model-resolver-m9w0rfyh.js → skill-m9w0rfyh.js} +1 -1
- package/dist/chunks/{model-resolver-y0gws88p.js → skill-mbkr92z7.js} +11 -11
- package/dist/chunks/{model-resolver-1r2atdqm.js → skill-mcqskrh7.js} +24 -24
- package/dist/chunks/{model-resolver-1aq54yaq.js → skill-mmwjtbs1.js} +24 -24
- package/dist/chunks/{model-resolver-7yh4e7ss.js → skill-mvfsc1pv.js} +3 -3
- package/dist/chunks/{model-resolver-jqseed9b.js → skill-nsp0n9r4.js} +27 -20
- package/dist/chunks/{model-resolver-c1q35zrn.js → skill-nvm1k45k.js} +20 -20
- package/dist/chunks/{model-resolver-zfa6q2z4.js → skill-nzeq2kax.js} +33 -33
- package/dist/chunks/{model-resolver-7y88vt3g.js → skill-p7n5kfv3.js} +11 -11
- package/dist/chunks/{model-resolver-0yw898m4.js → skill-pbpayjvj.js} +37 -37
- package/dist/chunks/{model-resolver-6kkcd6qd.js → skill-pc537r84.js} +11 -11
- package/dist/chunks/{model-resolver-6bwfswtt.js → skill-pc9bj7n8.js} +27 -27
- package/dist/chunks/{model-resolver-57ez7d0k.js → skill-pjmw00w1.js} +7 -7
- package/dist/chunks/{model-resolver-8x7avsgx.js → skill-pjtj674s.js} +5 -5
- package/dist/chunks/{model-resolver-pjvnvgmy.js → skill-pjvnvgmy.js} +1 -1
- package/dist/chunks/{model-resolver-pknna89w.js → skill-pknna89w.js} +1 -1
- package/dist/chunks/{model-resolver-1nv7ymr6.js → skill-pmpj9d72.js} +25 -25
- package/dist/chunks/{model-resolver-5qyz8na8.js → skill-ps9w8v57.js} +321 -321
- package/dist/chunks/{model-resolver-x5vcyvvk.js → skill-ptjakhga.js} +90 -90
- package/dist/chunks/{model-resolver-tyfabpdn.js → skill-pw2348z2.js} +6 -6
- package/dist/chunks/{model-resolver-7fkffz83.js → skill-py3kkmfq.js} +4 -4
- package/dist/chunks/{model-resolver-3k23bpvr.js → skill-q4q6dg6e.js} +9 -9
- package/dist/chunks/{model-resolver-ms93yq6r.js → skill-qe26s0zb.js} +8 -8
- package/dist/chunks/{model-resolver-kt0b5dy1.js → skill-qf1yvww3.js} +21 -21
- package/dist/chunks/{model-resolver-qn4ba14w.js → skill-qjnxxf51.js} +5 -5
- package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-yzyw4hev.js → skill-qsmm5je1.js} +14 -14
- package/dist/chunks/{model-resolver-gce79w0q.js → skill-qtzk0ftm.js} +20 -20
- package/dist/chunks/{model-resolver-d3ndzfne.js → skill-qv31cf21.js} +36 -36
- package/dist/chunks/{model-resolver-1wjepk3t.js → skill-qw2ypprn.js} +36 -36
- package/dist/chunks/{model-resolver-z2c7c2d6.js → skill-r2stchgs.js} +18 -18
- package/dist/chunks/{model-resolver-6st2m2tt.js → skill-r4xhx5yy.js} +12 -12
- package/dist/chunks/{model-resolver-4dgbcxzg.js → skill-r55vasa2.js} +4 -4
- package/dist/chunks/{model-resolver-31j6fr5m.js → skill-r64yrxvz.js} +20 -20
- package/dist/chunks/{model-resolver-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/{model-resolver-eq6d70b7.js → skill-rec3tk6b.js} +44 -44
- package/dist/chunks/{model-resolver-5jmkacqm.js → skill-rkred95m.js} +2 -2
- package/dist/chunks/{model-resolver-72syy6q7.js → skill-rp28jgm9.js} +4 -4
- package/dist/chunks/{model-resolver-nhqjn2vx.js → skill-rtathh62.js} +8 -8
- package/dist/chunks/skill-s4kxdk1d.js +252 -0
- package/dist/chunks/{model-resolver-j699j8bt.js → skill-s8610hey.js} +2 -2
- package/dist/chunks/{model-resolver-t058hrzj.js → skill-s89t6pqr.js} +22 -22
- package/dist/chunks/{model-resolver-w6ns9rpk.js → skill-sfrtav9q.js} +20 -20
- package/dist/chunks/{model-resolver-y20bgrwx.js → skill-szgrrejf.js} +15 -15
- package/dist/chunks/{model-resolver-37s12vcn.js → skill-t0fxg8b9.js} +5 -5
- package/dist/chunks/{model-resolver-3h8pbnga.js → skill-t407ycn8.js} +18 -18
- package/dist/chunks/{model-resolver-267sahkc.js → skill-t538pfqr.js} +48 -48
- package/dist/chunks/skill-t5tbcprn.js +26 -0
- package/dist/chunks/{model-resolver-8q8smbff.js → skill-tas7yqhd.js} +11 -11
- package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-89znhe33.js → skill-tcezcvh9.js} +4 -4
- package/dist/chunks/{model-resolver-w00ed993.js → skill-tdp00414.js} +5 -5
- package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-35xajyyx.js → skill-tdyr00jb.js} +13 -13
- package/dist/chunks/{model-resolver-5jqe332k.js → skill-tgak7z6d.js} +8 -8
- package/dist/chunks/{model-resolver-k7h4drr1.js → skill-tr58fzqp.js} +29 -29
- package/dist/chunks/{model-resolver-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-s6xd6wvt.js → skill-v3sc2vvt.js} +7 -7
- package/dist/chunks/{model-resolver-weww5mga.js → skill-ve9yaw7k.js} +15 -15
- package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-tq6twe20.js → skill-vzr7dzny.js} +30 -30
- package/dist/chunks/{model-resolver-vzs5sf6e.js → skill-vzs5sf6e.js} +1 -1
- package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-r8v59qyv.js → skill-w4ja1ymy.js} +16 -16
- package/dist/chunks/{model-resolver-xmh38ey0.js → skill-w8dzjegp.js} +13 -13
- package/dist/chunks/{model-resolver-2zdc6rg7.js → skill-w8gags2f.js} +11 -11
- package/dist/chunks/{model-resolver-gja2jk4r.js → skill-wa0ghts3.js} +58 -58
- package/dist/chunks/{model-resolver-70pv625h.js → skill-wbgaq1vm.js} +23 -23
- package/dist/chunks/{model-resolver-wd3x2cqz.js → skill-wd3x2cqz.js} +2 -2
- package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-z97dy45p.js → skill-wkxc7kdk.js} +12 -12
- package/dist/chunks/{model-resolver-mvksx64m.js → skill-wq4mmp7m.js} +4 -4
- package/dist/chunks/{model-resolver-3f15rfkp.js → skill-wqkncbjv.js} +6 -6
- package/dist/chunks/{model-resolver-m3qnxpr9.js → skill-wvnar42z.js} +11 -11
- package/dist/chunks/{model-resolver-4w4q249n.js → skill-wxwmqvdm.js} +5 -5
- package/dist/chunks/{model-resolver-pvz5x29g.js → skill-wywb33ch.js} +5 -5
- package/dist/chunks/{model-resolver-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-tj8qce5x.js → skill-x5n7t7vp.js} +32 -32
- package/dist/chunks/{model-resolver-s3pj7kac.js → skill-x9q73j05.js} +15 -15
- package/dist/chunks/{model-resolver-qqeeq2t9.js → skill-xfkkasph.js} +7 -7
- package/dist/chunks/{model-resolver-bhgmygfr.js → skill-xg7n0ckm.js} +7 -7
- package/dist/chunks/{model-resolver-1qghahg6.js → skill-xjvzjxjz.js} +23 -23
- package/dist/chunks/{model-resolver-xkntkrq7.js → skill-xkntkrq7.js} +2 -2
- package/dist/chunks/{model-resolver-mbekgbbb.js → skill-xskayf5f.js} +3 -3
- package/dist/chunks/{model-resolver-mnbtwaby.js → skill-xt5r5489.js} +8 -8
- package/dist/chunks/{model-resolver-b03gjzb4.js → skill-xywcat6j.js} +30 -30
- package/dist/chunks/{model-resolver-zfy63nf8.js → skill-xz871bm8.js} +20 -20
- package/dist/chunks/{model-resolver-hagmrwq3.js → skill-y0mdfkf3.js} +61 -61
- package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-bgc5ggmx.js → skill-y5rf7nzv.js} +4 -4
- package/dist/chunks/{model-resolver-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-x2qdxhwm.js → skill-yf10kn3d.js} +4 -4
- package/dist/chunks/{model-resolver-yrhqyw5v.js → skill-yrhqyw5v.js} +1 -1
- package/dist/chunks/{model-resolver-yrznvahk.js → skill-yrznvahk.js} +2 -2
- package/dist/chunks/{model-resolver-jehhjn5p.js → skill-ysnnm9th.js} +9 -9
- package/dist/chunks/{model-resolver-v4gwmykp.js → skill-yywpcc9t.js} +28 -28
- package/dist/chunks/{model-resolver-z07pqspn.js → skill-z07pqspn.js} +3 -3
- package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-48zhkjc5.js → skill-z1800bf7.js} +71 -71
- package/dist/chunks/{model-resolver-mj3g57tw.js → skill-z3zacvm2.js} +20 -20
- package/dist/chunks/{model-resolver-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-1ey1z90k.js → skill-zbgbht68.js} +24 -24
- package/dist/chunks/{model-resolver-6ntqtawn.js → skill-zega380a.js} +37 -37
- package/dist/chunks/{model-resolver-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-dr1fjqgk.js → skill-zjmf0026.js} +8 -8
- package/dist/chunks/{model-resolver-tahc25fw.js → skill-zk702gbg.js} +3 -3
- package/dist/chunks/{model-resolver-tzs7fj4j.js → skill-zmjya9fy.js} +50 -50
- package/dist/chunks/{model-resolver-d2m9pb5z.js → skill-znp52nq7.js} +20 -20
- package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/chunks/{model-resolver-4111r571.js → skill-zyq8xwgz.js} +21 -21
- package/dist/chunks/{model-resolver-h6pajdtw.js → skill-zzdsfqst.js} +10 -10
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +5 -5
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +85 -85
- package/dist/config/discovery.js +84 -84
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +106 -106
- package/dist/config/plugin/agent.js +123 -123
- package/dist/config/plugin/command.js +212 -212
- package/dist/config/plugin/compaction.js +160 -160
- 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 +130 -130
- 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 +125 -125
- 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 +124 -124
- package/dist/config/plugin/tool-output.js +125 -125
- package/dist/config/plugin/websearch.js +124 -124
- 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 +128 -128
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +85 -85
- package/dist/database/database.js +70 -70
- 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 +79 -79
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +370 -370
- 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/file.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 +227 -227
- package/dist/filesystem/protected.js +3 -3
- package/dist/filesystem/search.js +103 -103
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +13 -13
- package/dist/filesystem.js +106 -106
- package/dist/form.js +84 -84
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +89 -89
- package/dist/generate.js +103 -103
- package/dist/git.js +10 -10
- 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/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 +362 -362
- 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 +86 -86
- package/dist/job.js +79 -79
- 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-mutation.js +104 -104
- package/dist/location-service-map.js +86 -86
- package/dist/location-services.js +359 -359
- package/dist/location.js +87 -87
- package/dist/managed-policy.js +3 -3
- package/dist/mcp/client.js +91 -91
- package/dist/mcp/index.js +108 -108
- package/dist/mcp/instructions.js +126 -126
- 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 +102 -102
- package/dist/models-dev.js +103 -103
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +82 -82
- 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 +88 -88
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +75 -75
- package/dist/plugin/agent.js +102 -102
- package/dist/plugin/command.js +99 -99
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +218 -218
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +333 -333
- 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/cloudflare-ai-gateway.js +121 -121
- 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 +94 -94
- 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 +77 -77
- 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 +92 -92
- 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 +78 -78
- 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 +161 -161
- package/dist/plugin/sdk.js +76 -76
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +139 -139
- 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 +6 -6
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +2 -2
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +4 -4
- package/dist/plugin/websearch/tinyfish.js +6 -6
- package/dist/plugin.js +229 -229
- package/dist/project/schema.js +6 -6
- package/dist/project/sql.js +4 -4
- package/dist/project.js +86 -86
- package/dist/provider.js +101 -101
- package/dist/pty/protocol.js +1 -1
- package/dist/pty/schema.js +3 -3
- package/dist/pty/ticket.js +1 -1
- package/dist/pty.js +98 -98
- package/dist/reference/instructions.js +89 -89
- 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 +97 -97
- package/dist/rpc.js +86 -86
- package/dist/schema.js +1 -1
- package/dist/session/command.js +74 -74
- package/dist/session/compaction.js +130 -130
- package/dist/session/context.js +152 -152
- 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 +224 -224
- package/dist/session/execution.js +128 -128
- package/dist/session/generate.js +151 -151
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +90 -90
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +79 -79
- 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 +119 -119
- 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 +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +231 -231
- 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 +112 -112
- package/dist/session/runner/step.js +124 -124
- package/dist/session/runner/to-llm-message.js +2 -2
- package/dist/session/schema.js +5 -5
- package/dist/session/session.js +172 -172
- 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 +75 -75
- package/dist/session/store.js +87 -87
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +210 -210
- package/dist/session/system-prompt.js +5 -5
- package/dist/session/title.js +154 -154
- package/dist/session/to-session-error.js +111 -111
- package/dist/session/transfer.js +223 -223
- package/dist/session/usage.js +1 -1
- package/dist/session.js +220 -220
- 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 +13 -13
- package/dist/shell.js +140 -140
- package/dist/skill/discovery.js +2 -2
- 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 +125 -125
- 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 +124 -124
- package/dist/tool/plugin/mcp-resource.js +116 -116
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +122 -122
- package/dist/tool/plugin/question.js +103 -103
- package/dist/tool/plugin/read.js +125 -125
- package/dist/tool/plugin/shell.js +213 -213
- package/dist/tool/plugin/skill.js +113 -113
- package/dist/tool/plugin/subagent.js +215 -215
- package/dist/tool/plugin/webfetch.js +110 -110
- package/dist/tool/plugin/websearch.js +114 -114
- 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 +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 +3 -3
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +5 -5
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +7 -7
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +3 -3
- 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/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 +93 -93
- 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 +81 -81
- 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 +10 -10
- package/dist/worktree/sql.js +5 -5
- package/dist/worktree/strategies.js +89 -89
- package/dist/worktree.js +98 -98
- package/package.json +8 -8
- package/dist/chunks/model-resolver-4v7qdvcn.js +0 -18
- package/dist/chunks/model-resolver-n4x6w9v1.js +0 -26
- package/dist/chunks/model-resolver-pg8etanv.js +0 -252
- package/dist/chunks/model-resolver-xrsqh21y.js +0 -4
- /package/dist/chunks/{model-resolver-0qkdqm5v.js → skill-0qkdqm5v.js} +0 -0
- /package/dist/chunks/{model-resolver-0zkw76rk.js → skill-0zkw76rk.js} +0 -0
- /package/dist/chunks/{model-resolver-17cy0kzp.js → skill-17cy0kzp.js} +0 -0
- /package/dist/chunks/{model-resolver-1cnp2v09.js → skill-1cnp2v09.js} +0 -0
- /package/dist/chunks/{model-resolver-1kg9ymc8.js → skill-1kg9ymc8.js} +0 -0
- /package/dist/chunks/{model-resolver-24dcb14g.js → skill-24dcb14g.js} +0 -0
- /package/dist/chunks/{model-resolver-2710q6r3.js → skill-2710q6r3.js} +0 -0
- /package/dist/chunks/{model-resolver-2axfhc9x.js → skill-2axfhc9x.js} +0 -0
- /package/dist/chunks/{model-resolver-2c3vjs8z.js → skill-2c3vjs8z.js} +0 -0
- /package/dist/chunks/{model-resolver-34c7v6d4.js → skill-34c7v6d4.js} +0 -0
- /package/dist/chunks/{model-resolver-359p4xyc.js → skill-359p4xyc.js} +0 -0
- /package/dist/chunks/{model-resolver-3asan66x.js → skill-3asan66x.js} +0 -0
- /package/dist/chunks/{model-resolver-3v8g72cx.js → skill-3v8g72cx.js} +0 -0
- /package/dist/chunks/{model-resolver-3w5fmr99.js → skill-3w5fmr99.js} +0 -0
- /package/dist/chunks/{model-resolver-3wcehsnq.js → skill-3wcehsnq.js} +0 -0
- /package/dist/chunks/{model-resolver-43n2bw4t.js → skill-43n2bw4t.js} +0 -0
- /package/dist/chunks/{model-resolver-4knz6hnm.js → skill-4knz6hnm.js} +0 -0
- /package/dist/chunks/{model-resolver-4vcrnpx2.js → skill-4vcrnpx2.js} +0 -0
- /package/dist/chunks/{model-resolver-4y7fprxs.js → skill-4y7fprxs.js} +0 -0
- /package/dist/chunks/{model-resolver-53557ph1.js → skill-53557ph1.js} +0 -0
- /package/dist/chunks/{model-resolver-550bvhaj.js → skill-550bvhaj.js} +0 -0
- /package/dist/chunks/{model-resolver-5qd3pb7m.js → skill-5qd3pb7m.js} +0 -0
- /package/dist/chunks/{model-resolver-6prwharc.js → skill-6prwharc.js} +0 -0
- /package/dist/chunks/{model-resolver-7akdwqpd.js → skill-7akdwqpd.js} +0 -0
- /package/dist/chunks/{model-resolver-7m9af43g.js → skill-7m9af43g.js} +0 -0
- /package/dist/chunks/{model-resolver-822emrt2.js → skill-822emrt2.js} +0 -0
- /package/dist/chunks/{model-resolver-88xbtdfr.js → skill-88xbtdfr.js} +0 -0
- /package/dist/chunks/{model-resolver-8n3pysct.js → skill-8n3pysct.js} +0 -0
- /package/dist/chunks/{model-resolver-8wj87zfr.js → skill-8wj87zfr.js} +0 -0
- /package/dist/chunks/{model-resolver-922hggd3.js → skill-922hggd3.js} +0 -0
- /package/dist/chunks/{model-resolver-9a4afbnw.js → skill-9a4afbnw.js} +0 -0
- /package/dist/chunks/{model-resolver-9rqn6x4v.js → skill-9rqn6x4v.js} +0 -0
- /package/dist/chunks/{model-resolver-a6k6eb26.js → skill-a6k6eb26.js} +0 -0
- /package/dist/chunks/{model-resolver-af5trqkr.js → skill-af5trqkr.js} +0 -0
- /package/dist/chunks/{model-resolver-afrmfg78.js → skill-afrmfg78.js} +0 -0
- /package/dist/chunks/{model-resolver-aqzs7mqg.js → skill-aqzs7mqg.js} +0 -0
- /package/dist/chunks/{model-resolver-atq7p7m5.js → skill-atq7p7m5.js} +0 -0
- /package/dist/chunks/{model-resolver-bkyjaxrp.js → skill-bkyjaxrp.js} +0 -0
- /package/dist/chunks/{model-resolver-bmr6ed5q.js → skill-bmr6ed5q.js} +0 -0
- /package/dist/chunks/{model-resolver-cf4snx6d.js → skill-cf4snx6d.js} +0 -0
- /package/dist/chunks/{model-resolver-cvy3z8tj.js → skill-cvy3z8tj.js} +0 -0
- /package/dist/chunks/{model-resolver-d9fn303g.js → skill-d9fn303g.js} +0 -0
- /package/dist/chunks/{model-resolver-d9jj8t3e.js → skill-d9jj8t3e.js} +0 -0
- /package/dist/chunks/{model-resolver-dajrwvna.js → skill-dajrwvna.js} +0 -0
- /package/dist/chunks/{model-resolver-dap0rakb.js → skill-dap0rakb.js} +0 -0
- /package/dist/chunks/{model-resolver-df08tz66.js → skill-df08tz66.js} +0 -0
- /package/dist/chunks/{model-resolver-dy18nga0.js → skill-dy18nga0.js} +0 -0
- /package/dist/chunks/{model-resolver-e5kj55wp.js → skill-e5kj55wp.js} +0 -0
- /package/dist/chunks/{model-resolver-e73j6tqm.js → skill-e73j6tqm.js} +0 -0
- /package/dist/chunks/{model-resolver-ec1grn59.js → skill-ec1grn59.js} +0 -0
- /package/dist/chunks/{model-resolver-eh3zwz77.js → skill-eh3zwz77.js} +0 -0
- /package/dist/chunks/{model-resolver-emrn6kk6.js → skill-emrn6kk6.js} +0 -0
- /package/dist/chunks/{model-resolver-f0mxakyp.js → skill-f0mxakyp.js} +0 -0
- /package/dist/chunks/{model-resolver-f6n9ztr4.js → skill-f6n9ztr4.js} +0 -0
- /package/dist/chunks/{model-resolver-faypxj3z.js → skill-faypxj3z.js} +0 -0
- /package/dist/chunks/{model-resolver-fd410y7t.js → skill-fd410y7t.js} +0 -0
- /package/dist/chunks/{model-resolver-fxgpk5d8.js → skill-fxgpk5d8.js} +0 -0
- /package/dist/chunks/{model-resolver-g4wezp1m.js → skill-g4wezp1m.js} +0 -0
- /package/dist/chunks/{model-resolver-g86h250q.js → skill-g86h250q.js} +0 -0
- /package/dist/chunks/{model-resolver-gebd4c9n.js → skill-gebd4c9n.js} +0 -0
- /package/dist/chunks/{model-resolver-gftt206x.js → skill-gftt206x.js} +0 -0
- /package/dist/chunks/{model-resolver-hjbc5kem.js → skill-hjbc5kem.js} +0 -0
- /package/dist/chunks/{model-resolver-hk9envan.js → skill-hk9envan.js} +0 -0
- /package/dist/chunks/{model-resolver-j2ntwpah.js → skill-j2ntwpah.js} +0 -0
- /package/dist/chunks/{model-resolver-j5zkgpj8.js → skill-j5zkgpj8.js} +0 -0
- /package/dist/chunks/{model-resolver-jjkms2e6.js → skill-jjkms2e6.js} +0 -0
- /package/dist/chunks/{model-resolver-jr7sbwjy.js → skill-jr7sbwjy.js} +0 -0
- /package/dist/chunks/{model-resolver-jwfs4k6c.js → skill-jwfs4k6c.js} +0 -0
- /package/dist/chunks/{model-resolver-jzg6c2d5.js → skill-jzg6c2d5.js} +0 -0
- /package/dist/chunks/{model-resolver-mp448xyj.js → skill-mp448xyj.js} +0 -0
- /package/dist/chunks/{model-resolver-msx8hqn2.js → skill-msx8hqn2.js} +0 -0
- /package/dist/chunks/{model-resolver-n05xt0ee.js → skill-n05xt0ee.js} +0 -0
- /package/dist/chunks/{model-resolver-n3j8tn72.js → skill-n3j8tn72.js} +0 -0
- /package/dist/chunks/{model-resolver-njntx4h6.js → skill-njntx4h6.js} +0 -0
- /package/dist/chunks/{model-resolver-q3sfg36h.js → skill-q3sfg36h.js} +0 -0
- /package/dist/chunks/{model-resolver-q74kybfr.js → skill-q74kybfr.js} +0 -0
- /package/dist/chunks/{model-resolver-qaymkmh1.js → skill-qaymkmh1.js} +0 -0
- /package/dist/chunks/{model-resolver-qb87gjwd.js → skill-qb87gjwd.js} +0 -0
- /package/dist/chunks/{model-resolver-qfa1cgps.js → skill-qfa1cgps.js} +0 -0
- /package/dist/chunks/{model-resolver-qg3g05ea.js → skill-qg3g05ea.js} +0 -0
- /package/dist/chunks/{model-resolver-qrg20bc0.js → skill-qrg20bc0.js} +0 -0
- /package/dist/chunks/{model-resolver-rcb2kzg1.js → skill-rcb2kzg1.js} +0 -0
- /package/dist/chunks/{model-resolver-sdp7kfr6.js → skill-sdp7kfr6.js} +0 -0
- /package/dist/chunks/{model-resolver-sk3qaz4a.js → skill-sk3qaz4a.js} +0 -0
- /package/dist/chunks/{model-resolver-ssg3fenm.js → skill-ssg3fenm.js} +0 -0
- /package/dist/chunks/{model-resolver-w803qqfp.js → skill-w803qqfp.js} +0 -0
- /package/dist/chunks/{model-resolver-wc3fc9cn.js → skill-wc3fc9cn.js} +0 -0
- /package/dist/chunks/{model-resolver-wer8tq1h.js → skill-wer8tq1h.js} +0 -0
- /package/dist/chunks/{model-resolver-wtztk69x.js → skill-wtztk69x.js} +0 -0
- /package/dist/chunks/{model-resolver-x0ckcb58.js → skill-x0ckcb58.js} +0 -0
- /package/dist/chunks/{model-resolver-x61499pn.js → skill-x61499pn.js} +0 -0
- /package/dist/chunks/{model-resolver-y44na4kk.js → skill-y44na4kk.js} +0 -0
- /package/dist/chunks/{model-resolver-y8cydn3q.js → skill-y8cydn3q.js} +0 -0
- /package/dist/chunks/{model-resolver-y8f7s663.js → skill-y8f7s663.js} +0 -0
- /package/dist/chunks/{model-resolver-ygaqb7jw.js → skill-ygaqb7jw.js} +0 -0
- /package/dist/chunks/{model-resolver-ym463w8f.js → skill-ym463w8f.js} +0 -0
- /package/dist/chunks/{model-resolver-z9919s4g.js → skill-z9919s4g.js} +0 -0
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-kxh1rwc9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service83
|
|
6
|
+
} from "./skill-w4ja1ymy.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event14
|
|
10
|
+
} from "./skill-3q06wn7v.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID9,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-7y51vbvs.js";
|
|
15
15
|
import {
|
|
16
16
|
key2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-r55vasa2.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID8,
|
|
20
20
|
aisdk2,
|
|
21
|
-
|
|
22
|
-
} from "./
|
|
21
|
+
Service65
|
|
22
|
+
} from "./skill-5b3a1c7c.js";
|
|
23
23
|
import {
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
} from "./
|
|
24
|
+
ID7,
|
|
25
|
+
Info19
|
|
26
|
+
} from "./skill-0269zm6b.js";
|
|
27
27
|
import {
|
|
28
28
|
success2,
|
|
29
29
|
error2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-pjvnvgmy.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/gitlab.ts
|
|
33
33
|
import os from "os";
|
|
@@ -35,8 +35,8 @@ import { Clock, Deferred, Effect, Exit, Option, Schema, Semaphore, Stream } from
|
|
|
35
35
|
import { HttpClient, HttpClientRequest, HttpClientResponse } from "effect/unstable/http";
|
|
36
36
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
37
37
|
import { Form } from "@opencode/schema/form";
|
|
38
|
-
var providerID =
|
|
39
|
-
var integrationID =
|
|
38
|
+
var providerID = ID8.gitlab;
|
|
39
|
+
var integrationID = ID9.make("gitlab");
|
|
40
40
|
var methodID = MethodID2.make("pkce");
|
|
41
41
|
var bundledClientID = "fd180700a8f9c5d5557aca231632dd0611a1135a3bb510a741d5a988a3394fa7";
|
|
42
42
|
var legacyClientID = "1d89f9fdb23ee96d4e603201f6861dab6e143c5c3c00469a018a2d94bdc03d4e";
|
|
@@ -57,8 +57,8 @@ var refreshRetention = 60000;
|
|
|
57
57
|
var GitLabPlugin2 = define({
|
|
58
58
|
id: "opencode.provider.gitlab",
|
|
59
59
|
effect: Effect.fn(function* (ctx) {
|
|
60
|
-
const providers = yield*
|
|
61
|
-
const bus = yield*
|
|
60
|
+
const providers = yield* Service65;
|
|
61
|
+
const bus = yield* Service83;
|
|
62
62
|
const http = yield* HttpClient.HttpClient;
|
|
63
63
|
const loading = Semaphore.makeUnsafe(1);
|
|
64
64
|
const loaded = {};
|
|
@@ -185,7 +185,7 @@ var GitLabPlugin2 = define({
|
|
|
185
185
|
models: [
|
|
186
186
|
...item.models.values(),
|
|
187
187
|
...loaded.models.filter((model) => !item.models.has(model.id)).map((model) => ({
|
|
188
|
-
...
|
|
188
|
+
...Info19.default(providerID, ID7.make(model.id)),
|
|
189
189
|
name: `Agent Platform (${model.name})`,
|
|
190
190
|
package: aisdk2("gitlab-ai-provider"),
|
|
191
191
|
settings: { workflowRef: model.ref },
|
|
@@ -196,7 +196,7 @@ var GitLabPlugin2 = define({
|
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
198
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
199
|
-
yield* bus.subscribe(
|
|
199
|
+
yield* bus.subscribe(Event14.Switched).pipe(Stream.filter((event) => event.data.integrationID === integrationID), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
200
200
|
yield* refresh().pipe(Effect.forkScoped);
|
|
201
201
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
202
202
|
if (evt.package !== "gitlab-ai-provider")
|
|
@@ -219,7 +219,7 @@ var GitLabPlugin2 = define({
|
|
|
219
219
|
});
|
|
220
220
|
}));
|
|
221
221
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
222
|
-
if (evt.model.providerID !==
|
|
222
|
+
if (evt.model.providerID !== ID8.gitlab)
|
|
223
223
|
return;
|
|
224
224
|
const featureFlags = typeof evt.options.featureFlags === "object" && evt.options.featureFlags ? evt.options.featureFlags : {};
|
|
225
225
|
const id = evt.model.modelID ?? evt.model.id;
|
|
@@ -1,63 +1,63 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service84,
|
|
3
|
+
node88
|
|
4
|
+
} from "./skill-f0q3zgp7.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
} from "./
|
|
6
|
+
Service83,
|
|
7
|
+
node87
|
|
8
|
+
} from "./skill-w4ja1ymy.js";
|
|
9
9
|
import {
|
|
10
10
|
CredentialTable2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-pknna89w.js";
|
|
12
12
|
import {
|
|
13
13
|
from2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-3zsf4n22.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/credential.ts
|
|
20
20
|
var exports_credential = {};
|
|
21
21
|
__export(exports_credential, {
|
|
22
22
|
Credential: () => exports_credential,
|
|
23
|
-
Event: () =>
|
|
24
|
-
ID: () =>
|
|
25
|
-
Info: () =>
|
|
26
|
-
Key: () =>
|
|
23
|
+
Event: () => Event14,
|
|
24
|
+
ID: () => ID11,
|
|
25
|
+
Info: () => Info24,
|
|
26
|
+
Key: () => Key3,
|
|
27
27
|
OAuth: () => OAuth3,
|
|
28
|
-
Service: () =>
|
|
28
|
+
Service: () => Service68,
|
|
29
29
|
Value: () => Value2,
|
|
30
|
-
node: () =>
|
|
30
|
+
node: () => node72
|
|
31
31
|
});
|
|
32
32
|
import { asc, desc, eq } from "drizzle-orm";
|
|
33
33
|
import { Cause, Context, Effect, Layer, Schema } from "effect";
|
|
34
34
|
import { Credential } from "@opencode/schema/credential";
|
|
35
35
|
import { Integration } from "@opencode/schema/integration";
|
|
36
36
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
37
|
-
var
|
|
37
|
+
var ID11 = Credential.ID;
|
|
38
38
|
var OAuth3 = Credential.OAuth;
|
|
39
|
-
var
|
|
39
|
+
var Key3 = Credential.Key;
|
|
40
40
|
var Value2 = Credential.Value;
|
|
41
|
-
var
|
|
41
|
+
var Event14 = Credential.Event;
|
|
42
42
|
|
|
43
|
-
class
|
|
44
|
-
id:
|
|
43
|
+
class Info24 extends Schema.Class("Credential.Info")({
|
|
44
|
+
id: ID11,
|
|
45
45
|
integrationID: Integration.ID,
|
|
46
46
|
label: Schema.String,
|
|
47
47
|
value: Value2
|
|
48
48
|
}) {
|
|
49
49
|
}
|
|
50
50
|
|
|
51
|
-
class
|
|
51
|
+
class Service68 extends Context.Service()("@opencode/Credential") {
|
|
52
52
|
}
|
|
53
|
-
var layer = Layer.effect(
|
|
54
|
-
const db = (yield*
|
|
55
|
-
const bus = yield*
|
|
53
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
54
|
+
const db = (yield* Service84).db;
|
|
55
|
+
const bus = yield* Service83;
|
|
56
56
|
const decode = Schema.decodeUnknownSync(Value2);
|
|
57
57
|
const stored = (row) => {
|
|
58
58
|
if (!row.integration_id)
|
|
59
59
|
return;
|
|
60
|
-
return new
|
|
60
|
+
return new Info24({
|
|
61
61
|
id: row.id,
|
|
62
62
|
integrationID: row.integration_id,
|
|
63
63
|
label: row.label,
|
|
@@ -68,7 +68,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
68
68
|
const credential = stored(row);
|
|
69
69
|
return credential ? [credential] : [];
|
|
70
70
|
});
|
|
71
|
-
return
|
|
71
|
+
return Service68.of({
|
|
72
72
|
all: Effect.fn("Credential.all")(() => db.select().from(CredentialTable2).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
73
73
|
list: Effect.fn("Credential.list")((integrationID) => db.select().from(CredentialTable2).where(eq(CredentialTable2.integration_id, integrationID)).orderBy(asc(CredentialTable2.active), asc(CredentialTable2.time_created), asc(CredentialTable2.id)).all().pipe(Effect.orDie, Effect.map(storedRows))),
|
|
74
74
|
get: Effect.fn("Credential.get")(function* (id) {
|
|
@@ -76,8 +76,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
76
76
|
return row ? stored(row) : undefined;
|
|
77
77
|
}),
|
|
78
78
|
create: Effect.fn("Credential.create")(function* (input) {
|
|
79
|
-
const credential = new
|
|
80
|
-
id:
|
|
79
|
+
const credential = new Info24({
|
|
80
|
+
id: ID11.create(),
|
|
81
81
|
integrationID: input.integrationID,
|
|
82
82
|
label: input.label ?? "default",
|
|
83
83
|
value: input.value
|
|
@@ -101,8 +101,8 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
101
101
|
integrationID: credential.integrationID,
|
|
102
102
|
type: credential.value.type
|
|
103
103
|
});
|
|
104
|
-
yield* bus.publish(
|
|
105
|
-
yield* bus.publish(
|
|
104
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
105
|
+
yield* bus.publish(Event14.Switched, { integrationID: credential.integrationID, credentialID: credential.id }, { global: true });
|
|
106
106
|
return credential;
|
|
107
107
|
}),
|
|
108
108
|
activate: Effect.fn("Credential.activate")(function* (id) {
|
|
@@ -122,7 +122,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
122
122
|
})), Effect.orDie);
|
|
123
123
|
if (integrationID) {
|
|
124
124
|
yield* Effect.logInfo("credential activated", { integrationID, credentialID: id });
|
|
125
|
-
yield* bus.publish(
|
|
125
|
+
yield* bus.publish(Event14.Switched, { integrationID, credentialID: id }, { global: true });
|
|
126
126
|
}
|
|
127
127
|
}),
|
|
128
128
|
update: Effect.fn("Credential.update")(function* (id, updates) {
|
|
@@ -154,7 +154,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
154
154
|
labelChanged: updates.label !== undefined && updates.label !== credential.label
|
|
155
155
|
});
|
|
156
156
|
if (updates.label !== undefined && updates.label !== credential.label)
|
|
157
|
-
yield* bus.publish(
|
|
157
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
158
158
|
}),
|
|
159
159
|
remove: Effect.fn("Credential.remove")(function* (id) {
|
|
160
160
|
const removed = yield* db.transaction((tx) => Effect.gen(function* () {
|
|
@@ -187,12 +187,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
187
187
|
active: removed.switched,
|
|
188
188
|
...removed.switched ? { replacementID: removed.credentialID } : {}
|
|
189
189
|
});
|
|
190
|
-
yield* bus.publish(
|
|
190
|
+
yield* bus.publish(Event14.Updated, {}, { global: true });
|
|
191
191
|
if (removed.switched)
|
|
192
|
-
yield* bus.publish(
|
|
192
|
+
yield* bus.publish(Event14.Switched, { integrationID: removed.integrationID, credentialID: removed.credentialID }, { global: true });
|
|
193
193
|
})
|
|
194
194
|
});
|
|
195
195
|
}));
|
|
196
|
-
var
|
|
196
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node88, node87] });
|
|
197
197
|
|
|
198
|
-
export {
|
|
198
|
+
export { ID11, OAuth3, Key3, Value2, Event14, Info24, Service68, node72, exports_credential };
|
|
@@ -1,29 +1,29 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service50
|
|
3
|
+
} from "./skill-0mc464d2.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service12
|
|
6
|
+
} from "./skill-cwa6csj7.js";
|
|
7
7
|
import {
|
|
8
8
|
observe2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-qsdy395h.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/config/plugin/location-watcher.ts
|
|
15
|
-
var
|
|
16
|
-
__export(
|
|
17
|
-
ConfigLocationWatcherPlugin: () =>
|
|
18
|
-
Plugin: () =>
|
|
15
|
+
var exports_location_watcher = {};
|
|
16
|
+
__export(exports_location_watcher, {
|
|
17
|
+
ConfigLocationWatcherPlugin: () => exports_location_watcher,
|
|
18
|
+
Plugin: () => Plugin10
|
|
19
19
|
});
|
|
20
20
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
21
21
|
import { Effect } from "effect";
|
|
22
|
-
var
|
|
22
|
+
var Plugin10 = define({
|
|
23
23
|
id: "opencode.config.location-watcher",
|
|
24
24
|
effect: Effect.fn(function* (ctx) {
|
|
25
|
-
const config = yield*
|
|
26
|
-
const policy = yield*
|
|
25
|
+
const config = yield* Service50;
|
|
26
|
+
const policy = yield* Service12;
|
|
27
27
|
const loaded = yield* observe2(config, ctx.event, policy.reload());
|
|
28
28
|
yield* policy.transform((editor) => {
|
|
29
29
|
for (const entry of loaded.entries) {
|
|
@@ -35,4 +35,4 @@ var Plugin19 = define({
|
|
|
35
35
|
})
|
|
36
36
|
});
|
|
37
37
|
|
|
38
|
-
export {
|
|
38
|
+
export { Plugin10, exports_location_watcher };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
webSocketConstructor2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-5t3nmthw.js";
|
|
4
4
|
import {
|
|
5
5
|
__export
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-9rqn6x4v.js";
|
|
7
7
|
|
|
8
8
|
// src/session/model-transport.ts
|
|
9
9
|
var exports_model_transport = {};
|
|
10
10
|
__export(exports_model_transport, {
|
|
11
|
-
Service: () =>
|
|
11
|
+
Service: () => Service40,
|
|
12
12
|
SessionModelTransport: () => exports_model_transport,
|
|
13
|
-
layer: () =>
|
|
13
|
+
layer: () => layer15,
|
|
14
14
|
makeLayer: () => makeLayer2,
|
|
15
|
-
node: () =>
|
|
15
|
+
node: () => node44
|
|
16
16
|
});
|
|
17
17
|
import {
|
|
18
18
|
WebSocketTransport
|
|
@@ -33,7 +33,7 @@ var events = Metric.counter("opencode_session_websocket_events_total", {
|
|
|
33
33
|
});
|
|
34
34
|
var metric = (event, attributes = {}) => Metric.update(events.pipe(Metric.withAttributes({ event, ...attributes })), 1);
|
|
35
35
|
|
|
36
|
-
class
|
|
36
|
+
class Service40 extends Context.Service()("@opencode/SessionModelTransport") {
|
|
37
37
|
}
|
|
38
38
|
var transportError = (message, input) => new AIError({
|
|
39
39
|
reason: new TransportError({ message, transport: "websocket", ...input })
|
|
@@ -57,7 +57,7 @@ var observationFrame = (observation) => {
|
|
|
57
57
|
return Effect.fail(observation.error);
|
|
58
58
|
};
|
|
59
59
|
var observationTerminal = (observation) => observation.type !== "frame";
|
|
60
|
-
var makeLayer2 = (connector) => Layer.effect(
|
|
60
|
+
var makeLayer2 = (connector) => Layer.effect(Service40, Effect.gen(function* () {
|
|
61
61
|
const scope = yield* Scope.Scope;
|
|
62
62
|
const states = new Map;
|
|
63
63
|
const state = (sessionID) => {
|
|
@@ -367,11 +367,11 @@ var makeLayer2 = (connector) => Layer.effect(Service25, Effect.gen(function* ()
|
|
|
367
367
|
}, { discard: true });
|
|
368
368
|
});
|
|
369
369
|
yield* Effect.addFinalizer(() => closeAll);
|
|
370
|
-
return
|
|
370
|
+
return Service40.of({ bind, close, closeAll });
|
|
371
371
|
}));
|
|
372
|
-
var
|
|
372
|
+
var layer15 = Layer.unwrap(Effect.map(Socket.WebSocketConstructor, (constructor) => makeLayer2({
|
|
373
373
|
open: (input) => WebSocketTransport.open(input).pipe(Effect.provideService(Socket.WebSocketConstructor, constructor))
|
|
374
374
|
})));
|
|
375
|
-
var
|
|
375
|
+
var node44 = makeGlobalNode({ service: Service40, layer: layer15, deps: [webSocketConstructor2] });
|
|
376
376
|
|
|
377
|
-
export {
|
|
377
|
+
export { Service40, makeLayer2, layer15, node44, exports_model_transport };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
PositiveInt2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-922hggd3.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Info14
|
|
6
|
+
} from "./skill-50mzsvk4.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/v1/config/agent.ts
|
|
12
12
|
var exports_agent3 = {};
|
|
@@ -44,7 +44,7 @@ var AgentSchema = Schema.StructWithRest(Schema.Struct({
|
|
|
44
44
|
description: "Maximum number of agentic iterations before forcing text-only response"
|
|
45
45
|
}),
|
|
46
46
|
maxSteps: Schema.optional(PositiveInt2).annotate({ description: "@deprecated Use 'steps' field instead." }),
|
|
47
|
-
permission: Schema.optional(
|
|
47
|
+
permission: Schema.optional(Info14)
|
|
48
48
|
}), [Schema.Record(Schema.String, Schema.Any)]);
|
|
49
49
|
var KNOWN_KEYS = new Set(["name", ...Object.keys(AgentSchema.schema.fields)]);
|
|
50
50
|
var normalize = (agent) => {
|
|
@@ -1,48 +1,48 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
} from "./
|
|
2
|
+
Service83
|
|
3
|
+
} from "./skill-w4ja1ymy.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./skill-h5c0n38e.js";
|
|
7
7
|
import {
|
|
8
8
|
group2,
|
|
9
9
|
batch2,
|
|
10
10
|
shutdown2,
|
|
11
11
|
inherit2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-rdw6cm16.js";
|
|
13
13
|
import {
|
|
14
|
-
|
|
14
|
+
Service41,
|
|
15
15
|
awaitActivation2
|
|
16
|
-
} from "./
|
|
16
|
+
} from "./skill-ctefx7dc.js";
|
|
17
17
|
import {
|
|
18
18
|
make11,
|
|
19
19
|
requirements3,
|
|
20
20
|
storage2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-7tyk29va.js";
|
|
22
22
|
import {
|
|
23
23
|
__export
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-9rqn6x4v.js";
|
|
25
25
|
|
|
26
26
|
// src/plugin.ts
|
|
27
27
|
var exports_plugin2 = {};
|
|
28
28
|
__export(exports_plugin2, {
|
|
29
|
-
Event: () =>
|
|
30
|
-
ID: () =>
|
|
31
|
-
Info: () =>
|
|
29
|
+
Event: () => Event5,
|
|
30
|
+
ID: () => ID3,
|
|
31
|
+
Info: () => Info3,
|
|
32
32
|
Plugin: () => exports_plugin2,
|
|
33
|
-
Service: () =>
|
|
33
|
+
Service: () => Service41,
|
|
34
34
|
Source: () => Source2,
|
|
35
35
|
State: () => State2,
|
|
36
36
|
awaitActivation: () => awaitActivation2,
|
|
37
|
-
node: () =>
|
|
37
|
+
node: () => node25
|
|
38
38
|
});
|
|
39
|
-
import { Event as
|
|
39
|
+
import { Event as Event5, ID as ID3, Info as Info3, Source as Source2, State as State2 } from "@opencode/schema/plugin";
|
|
40
40
|
import { Plugin } from "@opencode/schema/plugin";
|
|
41
41
|
import { Node } from "@opencode/util/effect/app-node";
|
|
42
42
|
import { Cause, Context, Effect, Exit, Latch, Layer, Logger, Queue, References, Scope, Semaphore } from "effect";
|
|
43
|
-
var layer = Layer.effect(
|
|
44
|
-
const bus = yield*
|
|
45
|
-
const kv = yield*
|
|
43
|
+
var layer = Layer.effect(Service41, Effect.gen(function* () {
|
|
44
|
+
const bus = yield* Service83;
|
|
45
|
+
const kv = yield* Service81;
|
|
46
46
|
const scope = yield* Scope.make();
|
|
47
47
|
const active = new Map;
|
|
48
48
|
const lock = Semaphore.makeUnsafe(1);
|
|
@@ -205,7 +205,7 @@ var layer = Layer.effect(Service29, Effect.gen(function* () {
|
|
|
205
205
|
yield* shutdown2(Scope.close(scope, exit));
|
|
206
206
|
}));
|
|
207
207
|
yield* Effect.addFinalizer(close);
|
|
208
|
-
return
|
|
208
|
+
return Service41.of({
|
|
209
209
|
activate,
|
|
210
210
|
close,
|
|
211
211
|
awaitActivation: ready.await,
|
|
@@ -222,10 +222,10 @@ function slotInfo(slot) {
|
|
|
222
222
|
features: { server: true, ...slot.plugin.features }
|
|
223
223
|
};
|
|
224
224
|
}
|
|
225
|
-
var
|
|
226
|
-
service:
|
|
225
|
+
var node25 = Node.makeLocationNode({
|
|
226
|
+
service: Service41,
|
|
227
227
|
layer,
|
|
228
228
|
deps: [requirements3]
|
|
229
229
|
});
|
|
230
230
|
|
|
231
|
-
export {
|
|
231
|
+
export { node25, exports_plugin2, Event5, ID3, Info3, Source2, State2 };
|
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
Service76,
|
|
3
|
+
node80
|
|
4
|
+
} from "./skill-29etqs2x.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
|
|
6
|
+
Key4,
|
|
7
|
+
make21,
|
|
8
8
|
combine2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-eaj1djv9.js";
|
|
10
10
|
import {
|
|
11
11
|
__export
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-9rqn6x4v.js";
|
|
13
13
|
|
|
14
14
|
// src/instructions/builtins.ts
|
|
15
15
|
var exports_builtins = {};
|
|
16
16
|
__export(exports_builtins, {
|
|
17
17
|
InstructionBuiltIns: () => exports_builtins,
|
|
18
|
-
Service: () =>
|
|
19
|
-
node: () =>
|
|
18
|
+
Service: () => Service36,
|
|
19
|
+
node: () => node39
|
|
20
20
|
});
|
|
21
21
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
22
22
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
23
23
|
import { Global } from "@opencode/util/global";
|
|
24
|
-
class
|
|
24
|
+
class Service36 extends Context.Service()("@opencode/InstructionBuiltIns") {
|
|
25
25
|
}
|
|
26
|
-
var layer = Layer.effect(
|
|
26
|
+
var layer = Layer.effect(Service36, Effect.gen(function* () {
|
|
27
27
|
const global = yield* Global.Service;
|
|
28
|
-
const location = yield*
|
|
29
|
-
return
|
|
28
|
+
const location = yield* Service76;
|
|
29
|
+
return Service36.of({
|
|
30
30
|
load: (sessionID) => Effect.succeed(combine2([
|
|
31
|
-
|
|
32
|
-
key:
|
|
31
|
+
make21({
|
|
32
|
+
key: Key4.make("core/environment"),
|
|
33
33
|
codec: Schema.toCodecJson(Schema.String),
|
|
34
34
|
read: Effect.sync(() => [
|
|
35
35
|
"<env>",
|
|
@@ -49,8 +49,8 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
49
49
|
`)
|
|
50
50
|
}
|
|
51
51
|
}),
|
|
52
|
-
|
|
53
|
-
key:
|
|
52
|
+
make21({
|
|
53
|
+
key: Key4.make("core/date"),
|
|
54
54
|
codec: Schema.toCodecJson(Schema.String),
|
|
55
55
|
read: DateTime.nowAsDate.pipe(Effect.map((date) => date.toDateString())),
|
|
56
56
|
render: {
|
|
@@ -61,6 +61,6 @@ var layer = Layer.effect(Service26, Effect.gen(function* () {
|
|
|
61
61
|
]))
|
|
62
62
|
});
|
|
63
63
|
}));
|
|
64
|
-
var
|
|
64
|
+
var node39 = makeLocationNode({ service: Service36, layer, deps: [Global.node, node80] });
|
|
65
65
|
|
|
66
|
-
export {
|
|
66
|
+
export { Service36, node39, exports_builtins };
|