@opencode/core 0.0.0-dev-19825 → 0.0.0-dev-19826
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 +80 -80
- package/dist/aisdk-native.js +88 -88
- package/dist/aisdk.js +93 -93
- package/dist/app.js +9 -9
- package/dist/bus.js +72 -72
- package/dist/chunks/{model-resolver-y85jehk6.js → skill-0ct61d8n.js} +22 -22
- package/dist/chunks/{model-resolver-x9ajzjwe.js → skill-0jgt1ea2.js} +23 -23
- package/dist/chunks/{model-resolver-h71w788e.js → skill-0jq9fyba.js} +9 -9
- package/dist/chunks/{model-resolver-epads6cz.js → skill-0ns1cxhp.js} +17 -17
- package/dist/chunks/{model-resolver-0paq2nw3.js → skill-0paq2nw3.js} +1 -1
- package/dist/chunks/{model-resolver-pngaa6th.js → skill-0pmk0822.js} +5 -5
- package/dist/chunks/{model-resolver-0q0f95c6.js → skill-0q0f95c6.js} +1 -1
- package/dist/chunks/{model-resolver-hnr5yq9h.js → skill-0r7yqxbf.js} +5 -5
- package/dist/chunks/{model-resolver-va2p3qdk.js → skill-13g5bxf5.js} +26 -26
- package/dist/chunks/{model-resolver-da534a5t.js → skill-13vrebvg.js} +30 -30
- package/dist/chunks/{model-resolver-9j3dqq3x.js → skill-15vx637f.js} +16 -16
- package/dist/chunks/{model-resolver-93d5c3p8.js → skill-19cn6s2k.js} +3 -3
- package/dist/chunks/{model-resolver-ydd32yv2.js → skill-1bk9mafg.js} +17 -17
- package/dist/chunks/{model-resolver-1dazxqgg.js → skill-1dazxqgg.js} +2 -2
- package/dist/chunks/{model-resolver-c4v1e0kz.js → skill-1j9p5zw8.js} +21 -21
- package/dist/chunks/{model-resolver-3m5m9qrs.js → skill-1r60dkgy.js} +20 -20
- package/dist/chunks/skill-1tm0r3ht.js +4 -0
- package/dist/chunks/{model-resolver-zhxq7wpj.js → skill-1xfydhy4.js} +15 -15
- package/dist/chunks/{model-resolver-21r38tys.js → skill-21r38tys.js} +1 -1
- package/dist/chunks/{model-resolver-had4kgfk.js → skill-22km69g0.js} +8 -8
- package/dist/chunks/{model-resolver-hr6wd4xv.js → skill-24f366z3.js} +30 -30
- package/dist/chunks/{model-resolver-td0y98rs.js → skill-26nxp4r3.js} +35 -35
- package/dist/chunks/{model-resolver-2a5m3afh.js → skill-2a5m3afh.js} +1 -1
- package/dist/chunks/{model-resolver-psz8a7r0.js → skill-2bgmytwa.js} +13 -13
- package/dist/chunks/{model-resolver-8gb3p5gx.js → skill-2hv42m6n.js} +25 -25
- package/dist/chunks/{model-resolver-djszqvmq.js → skill-2sejkfem.js} +9 -9
- package/dist/chunks/{model-resolver-e2hjzebn.js → skill-2vs2nh1n.js} +4 -4
- package/dist/chunks/{model-resolver-ye0sgdwz.js → skill-2we8wjw8.js} +8 -8
- package/dist/chunks/{model-resolver-fbmcmy2w.js → skill-2xcc793f.js} +4 -4
- package/dist/chunks/{model-resolver-gtc37187.js → skill-332xd4ex.js} +42 -42
- package/dist/chunks/{model-resolver-mfqp6xfm.js → skill-33w4ejhs.js} +9 -9
- package/dist/chunks/{model-resolver-t0fxg8b9.js → skill-37s12vcn.js} +5 -5
- package/dist/chunks/{model-resolver-3fc6dm20.js → skill-3fc6dm20.js} +1 -1
- package/dist/chunks/{model-resolver-q4s6dcxk.js → skill-3feep1h6.js} +37 -37
- package/dist/chunks/{model-resolver-3hepkmqq.js → skill-3hepkmqq.js} +1 -1
- package/dist/chunks/{model-resolver-qvreyy9g.js → skill-3qaj82j9.js} +5 -5
- package/dist/chunks/{model-resolver-hynyds1q.js → skill-3qcm8vp7.js} +4 -4
- package/dist/chunks/skill-3rtyfve9.js +252 -0
- 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-c2fpeh16.js → skill-4352ftc4.js} +9 -9
- package/dist/chunks/{model-resolver-vstb6x8b.js → skill-43bw3pmb.js} +20 -20
- package/dist/chunks/{model-resolver-ajmg8w9c.js → skill-57ez7d0k.js} +9 -9
- package/dist/chunks/{model-resolver-m9r6vjpz.js → skill-5bw2hqxq.js} +4 -4
- package/dist/chunks/{model-resolver-5daktx2q.js → skill-5daktx2q.js} +1 -1
- package/dist/chunks/{model-resolver-e1hrzsan.js → skill-5fgfwtwr.js} +12 -12
- package/dist/chunks/{model-resolver-whd5ad1s.js → skill-5h0tj881.js} +21 -21
- package/dist/chunks/{model-resolver-5t3nmthw.js → skill-5t3nmthw.js} +2 -2
- package/dist/chunks/{model-resolver-2g8vnf3k.js → skill-5x112tx2.js} +27 -27
- package/dist/chunks/{model-resolver-mk35kvz7.js → skill-60txstx8.js} +22 -22
- package/dist/chunks/{model-resolver-2sv6c61x.js → skill-6575et5q.js} +11 -11
- package/dist/chunks/{model-resolver-669tq793.js → skill-669tq793.js} +1 -1
- package/dist/chunks/{model-resolver-zcdrxs46.js → skill-693q9g8h.js} +4 -4
- package/dist/chunks/{model-resolver-0ft9cg2j.js → skill-6ersrjne.js} +6 -6
- package/dist/chunks/{model-resolver-v1h3kxjj.js → skill-6h2wjef6.js} +29 -29
- package/dist/chunks/{model-resolver-6h73sxmp.js → skill-6h73sxmp.js} +1 -1
- package/dist/chunks/{model-resolver-6msgmcgs.js → skill-6msgmcgs.js} +1 -1
- package/dist/chunks/{model-resolver-zxbqrrvg.js → skill-6nnke0s4.js} +72 -72
- package/dist/chunks/{model-resolver-tcg29b4q.js → skill-6rybd781.js} +1 -1
- package/dist/chunks/{model-resolver-sdaja34n.js → skill-6vn2mxr0.js} +29 -29
- package/dist/chunks/{model-resolver-8r2zwmfy.js → skill-710pcbc5.js} +4 -4
- package/dist/chunks/{model-resolver-qq8y32fb.js → skill-7227etd0.js} +5 -5
- package/dist/chunks/{model-resolver-69ck6qnd.js → skill-75d7rnaz.js} +14 -14
- package/dist/chunks/{model-resolver-7bmhse3q.js → skill-7bmhse3q.js} +1 -1
- package/dist/chunks/{model-resolver-7dqw4kz8.js → skill-7dqw4kz8.js} +1 -1
- package/dist/chunks/{model-resolver-20abag2s.js → skill-7grppy9w.js} +10 -10
- package/dist/chunks/{model-resolver-c78c395z.js → skill-7kgs3a2w.js} +13 -13
- package/dist/chunks/{model-resolver-yy7y4tn3.js → skill-7nzze9qf.js} +7 -7
- package/dist/chunks/{model-resolver-52fpbh6z.js → skill-8aaqm6qj.js} +7 -7
- package/dist/chunks/{model-resolver-gfdjmmb6.js → skill-8c4dy0bz.js} +16 -16
- package/dist/chunks/{model-resolver-ar4d9jpk.js → skill-8c9z1jpt.js} +57 -57
- package/dist/chunks/{model-resolver-8d7r5vzw.js → skill-8d7r5vzw.js} +1 -1
- package/dist/chunks/{model-resolver-8p4f9s12.js → skill-8p4f9s12.js} +2 -2
- package/dist/chunks/{model-resolver-a2j8gyzs.js → skill-8tg4p4qk.js} +19 -19
- package/dist/chunks/{model-resolver-e80cp3zm.js → skill-8xanb9va.js} +35 -35
- package/dist/chunks/{model-resolver-ass6jfzc.js → skill-94d37m53.js} +19 -19
- package/dist/chunks/{model-resolver-pp5arfp9.js → skill-9957854f.js} +36 -36
- package/dist/chunks/{model-resolver-gtybr0rh.js → skill-9bqcd5ka.js} +27 -27
- package/dist/chunks/{model-resolver-6vybgjkk.js → skill-9f1p0svt.js} +43 -43
- package/dist/chunks/{model-resolver-z5p64esd.js → skill-9stjp39g.js} +20 -20
- package/dist/chunks/{model-resolver-pdv94s4z.js → skill-9wqn4ske.js} +5 -5
- package/dist/chunks/{model-resolver-hxtxrrh5.js → skill-9xsc27xk.js} +86 -86
- package/dist/chunks/{model-resolver-5qt1pv7d.js → skill-9xthkbsm.js} +9 -9
- package/dist/chunks/{model-resolver-a1bz86dw.js → skill-a1bz86dw.js} +3 -3
- package/dist/chunks/{model-resolver-hkagk5ex.js → skill-a3r4dcrj.js} +2 -2
- package/dist/chunks/{model-resolver-388eqbaa.js → skill-a3x7h8t4.js} +37 -37
- package/dist/chunks/{model-resolver-aaet6srn.js → skill-aaet6srn.js} +2 -2
- package/dist/chunks/{model-resolver-30wd4m73.js → skill-aek5japj.js} +13 -13
- package/dist/chunks/{model-resolver-s3zk8xvh.js → skill-af4n97kn.js} +90 -90
- package/dist/chunks/{model-resolver-tders91x.js → skill-afed7ext.js} +12 -12
- package/dist/chunks/{model-resolver-jye6n1dv.js → skill-axtrv3qw.js} +24 -24
- package/dist/chunks/{model-resolver-d8q14kxf.js → skill-axy1ssks.js} +9 -9
- package/dist/chunks/{model-resolver-5gb78qtd.js → skill-aybtnt5q.js} +22 -22
- package/dist/chunks/{model-resolver-99rt69fd.js → skill-b1v2fqtb.js} +24 -24
- package/dist/chunks/{model-resolver-b6gygkdw.js → skill-b6gygkdw.js} +2 -2
- package/dist/chunks/{model-resolver-n8nareh9.js → skill-bpbwzay4.js} +28 -28
- package/dist/chunks/{model-resolver-4a8jsfjg.js → skill-bte6vqfe.js} +26 -26
- package/dist/chunks/{model-resolver-wngr9w9n.js → skill-c3tnck23.js} +15 -15
- package/dist/chunks/{model-resolver-cfpkc3c9.js → skill-cfpkc3c9.js} +2 -2
- package/dist/chunks/{model-resolver-302vsmhn.js → skill-cqk3a7qc.js} +32 -32
- package/dist/chunks/{model-resolver-s8zy8myc.js → skill-cr07tj7n.js} +5 -5
- package/dist/chunks/{model-resolver-xxzhzqzk.js → skill-cz90y38t.js} +2 -2
- package/dist/chunks/{model-resolver-5xtgfte3.js → skill-czfptnv9.js} +8 -8
- package/dist/chunks/{model-resolver-7macgssb.js → skill-d4zx8y89.js} +14 -14
- package/dist/chunks/{model-resolver-g4tydmkk.js → skill-d91paanh.js} +8 -8
- package/dist/chunks/{model-resolver-57b9ws8p.js → skill-drwq78ky.js} +5 -5
- package/dist/chunks/{model-resolver-deajav4h.js → skill-dv6wb25w.js} +3 -3
- package/dist/chunks/skill-dxj72tfx.js +18 -0
- package/dist/chunks/{model-resolver-2gskzpsx.js → skill-e9v70hhz.js} +9 -9
- package/dist/chunks/{model-resolver-qayd3wzs.js → skill-ed0rmeq4.js} +8 -8
- package/dist/chunks/{model-resolver-ef5x83kb.js → skill-ef5x83kb.js} +1 -1
- package/dist/chunks/{model-resolver-yr8whrpt.js → skill-eg3d2nq0.js} +9 -9
- package/dist/chunks/{model-resolver-cn090jyv.js → skill-ek5q6bnv.js} +15 -15
- package/dist/chunks/{model-resolver-1whgvkhb.js → skill-ekps4m07.js} +32 -32
- package/dist/chunks/{model-resolver-d8byxyk8.js → skill-emqb30fy.js} +7 -7
- package/dist/chunks/{model-resolver-rfgcsz1j.js → skill-er04vdyn.js} +35 -35
- package/dist/chunks/{model-resolver-vz2xtr04.js → skill-ergs0mad.js} +5 -5
- package/dist/chunks/{model-resolver-nhgg4y17.js → skill-errrn2c4.js} +19 -16
- package/dist/chunks/{model-resolver-erw5rpbs.js → skill-erw5rpbs.js} +2 -2
- package/dist/chunks/{model-resolver-etq0c3wd.js → skill-etq0c3wd.js} +1 -1
- package/dist/chunks/{model-resolver-r8xr0va3.js → skill-f2n192rq.js} +4 -4
- package/dist/chunks/{model-resolver-afzhdx1e.js → skill-f50zgbjj.js} +24 -24
- package/dist/chunks/{model-resolver-f828m53h.js → skill-f828m53h.js} +2 -2
- package/dist/chunks/{model-resolver-5rnnm2b5.js → skill-faj2svbs.js} +9 -9
- package/dist/chunks/{model-resolver-x2fva0gh.js → skill-fc51ybe2.js} +13 -13
- package/dist/chunks/{model-resolver-jdfvscg1.js → skill-fe47gqbz.js} +10 -10
- package/dist/chunks/{model-resolver-fn7gfzjh.js → skill-fm9r4gr5.js} +14 -14
- package/dist/chunks/{model-resolver-bdrygk5x.js → skill-fnr49rks.js} +15 -15
- package/dist/chunks/{model-resolver-d61582ny.js → skill-fs4bevhs.js} +50 -50
- package/dist/chunks/{model-resolver-61m3qh6y.js → skill-fs991j3e.js} +31 -31
- package/dist/chunks/{model-resolver-94vh82pz.js → skill-fvsgtrpk.js} +32 -32
- package/dist/chunks/{model-resolver-dvgz3dt4.js → skill-fw8s41kz.js} +28 -28
- package/dist/chunks/{model-resolver-fxbjtjnd.js → skill-fxbjtjnd.js} +1 -1
- package/dist/chunks/{model-resolver-67wvcnxv.js → skill-fxs0jsf2.js} +22 -22
- package/dist/chunks/{model-resolver-f3ngv102.js → skill-g190xswt.js} +4 -4
- package/dist/chunks/{model-resolver-n272ptga.js → skill-g76d6w6x.js} +6 -6
- package/dist/chunks/{model-resolver-jp646bv9.js → skill-g99y313h.js} +12 -12
- package/dist/chunks/{model-resolver-aqczg285.js → skill-gb42d2sy.js} +58 -58
- package/dist/chunks/{model-resolver-1xydzxfg.js → skill-gcnh4zrc.js} +3 -3
- package/dist/chunks/{model-resolver-gd4qta3r.js → skill-gd4qta3r.js} +1 -1
- package/dist/chunks/{model-resolver-3axdyzka.js → skill-gf6ghjp7.js} +17 -17
- package/dist/chunks/{model-resolver-xgrb3kvx.js → skill-gjvfdv5x.js} +27 -27
- package/dist/chunks/{model-resolver-d0yqsex8.js → skill-gkf8agct.js} +25 -25
- package/dist/chunks/{model-resolver-6nxs6bmb.js → skill-gqqpkebc.js} +6 -6
- package/dist/chunks/{model-resolver-q6nw98mh.js → skill-gsntwh4a.js} +21 -21
- package/dist/chunks/{model-resolver-gv6a8nnw.js → skill-gv6a8nnw.js} +2 -2
- package/dist/chunks/{model-resolver-se2qvfz1.js → skill-gxx9rffw.js} +3 -3
- package/dist/chunks/{model-resolver-cpj0znwe.js → skill-h6r3nrb9.js} +4 -4
- package/dist/chunks/{model-resolver-h6vf3j39.js → skill-h6vf3j39.js} +1 -1
- package/dist/chunks/{model-resolver-gcavn3wx.js → skill-h9rm1rrn.js} +5 -5
- package/dist/chunks/{model-resolver-r8fpbd5t.js → skill-hawjap9k.js} +44 -44
- package/dist/chunks/{model-resolver-fxqygnfa.js → skill-hfdr1yjj.js} +4 -4
- package/dist/chunks/{model-resolver-70c6s51t.js → skill-hh1560ss.js} +11 -11
- package/dist/chunks/{model-resolver-25bty98p.js → skill-hj1nstbt.js} +5 -5
- package/dist/chunks/{model-resolver-662vgtgv.js → skill-hnqx3ysm.js} +5 -5
- package/dist/chunks/{model-resolver-j56e64zr.js → skill-j56e64zr.js} +1 -1
- package/dist/chunks/{model-resolver-ndmv45hp.js → skill-jexxy024.js} +3 -3
- package/dist/chunks/{model-resolver-wc548a52.js → skill-jfvfep4x.js} +11 -11
- package/dist/chunks/{model-resolver-vggvkcjb.js → skill-jkx0m98y.js} +8 -8
- package/dist/chunks/{model-resolver-j1bvcdkg.js → skill-jnh6c2dp.js} +15 -15
- package/dist/chunks/{model-resolver-2brc3x9h.js → skill-jqwzq460.js} +11 -11
- package/dist/chunks/{model-resolver-x2abejx6.js → skill-jsgk4dsg.js} +8 -8
- package/dist/chunks/{model-resolver-0vtgharz.js → skill-jv44rb5j.js} +17 -17
- package/dist/chunks/{model-resolver-k5kzksx8.js → skill-jx9bscww.js} +12 -12
- package/dist/chunks/{model-resolver-645hz6vd.js → skill-jz1nmafe.js} +17 -17
- package/dist/chunks/{model-resolver-bgv3s5qc.js → skill-k2ypqpb7.js} +41 -41
- package/dist/chunks/{model-resolver-k3c624dm.js → skill-k3c624dm.js} +3 -3
- package/dist/chunks/{model-resolver-dg4f34fa.js → skill-k6t5h8dy.js} +42 -42
- package/dist/chunks/{model-resolver-xgvz8aqb.js → skill-k7kckga6.js} +9 -9
- package/dist/chunks/{model-resolver-9eq5kwq7.js → skill-k8dasee7.js} +6 -6
- package/dist/chunks/{model-resolver-020nhycz.js → skill-k8f7gp6n.js} +5 -5
- package/dist/chunks/{model-resolver-0pvezn32.js → skill-ka9y3nwc.js} +1 -1
- package/dist/chunks/{model-resolver-3f2adkq6.js → skill-kcngxjm1.js} +17 -17
- package/dist/chunks/{model-resolver-y4cxnkp6.js → skill-ketgjabb.js} +27 -27
- package/dist/chunks/{model-resolver-eqfyccyr.js → skill-kgfyje0v.js} +21 -21
- package/dist/chunks/{model-resolver-xfdrc2qg.js → skill-knb7evpn.js} +4 -4
- package/dist/chunks/{model-resolver-hhq4mbvj.js → skill-m00nxamc.js} +15 -15
- package/dist/chunks/{model-resolver-cp0393ap.js → skill-m2qry7n0.js} +11 -11
- 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-7ahjg70a.js → skill-ma9vr4v4.js} +14 -14
- package/dist/chunks/{model-resolver-45anmqk8.js → skill-mbm5b5sx.js} +8 -8
- package/dist/chunks/{model-resolver-hzjt009y.js → skill-mfvk8ryg.js} +11 -11
- package/dist/chunks/{model-resolver-1hav7hz4.js → skill-mgwfxb41.js} +32 -32
- package/dist/chunks/{model-resolver-mvfsc1pv.js → skill-mhkvc446.js} +3 -3
- package/dist/chunks/{model-resolver-t9tmexac.js → skill-mq12z3mn.js} +27 -27
- package/dist/chunks/{model-resolver-5kkq0gjf.js → skill-mxnhc5cz.js} +13 -13
- package/dist/chunks/{model-resolver-mwt452g0.js → skill-my9ryef3.js} +8 -8
- package/dist/chunks/{model-resolver-6yjhzckp.js → skill-n08wvtx7.js} +9 -9
- package/dist/chunks/{model-resolver-f4e894nd.js → skill-n3tggb7c.js} +13 -13
- package/dist/chunks/{model-resolver-5qbvy54r.js → skill-n497svee.js} +6 -6
- package/dist/chunks/{model-resolver-j0aemhh7.js → skill-n514x85b.js} +47 -47
- package/dist/chunks/{model-resolver-84zt2byv.js → skill-nq7qbqzc.js} +9 -9
- package/dist/chunks/{model-resolver-vr2vg3zy.js → skill-nqyhrfcc.js} +4 -4
- package/dist/chunks/{model-resolver-s3hdfs1j.js → skill-p03g75sm.js} +27 -27
- package/dist/chunks/{model-resolver-e0zpv5qc.js → skill-p68qftyb.js} +30 -30
- 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-n0tq777j.js → skill-pnaxc6j9.js} +8 -8
- package/dist/chunks/{model-resolver-d8ewt5hf.js → skill-pt2emjx5.js} +15 -15
- package/dist/chunks/skill-pw351mjn.js +26 -0
- package/dist/chunks/{model-resolver-fytsnjje.js → skill-q220tqwg.js} +1 -1
- package/dist/chunks/{model-resolver-b7359s7r.js → skill-q74cqqsq.js} +41 -41
- package/dist/chunks/{model-resolver-afx6jjxh.js → skill-q820ka14.js} +26 -26
- package/dist/chunks/{model-resolver-mxf3pqwm.js → skill-qdygpa4p.js} +6 -6
- package/dist/chunks/{model-resolver-pt292bv7.js → skill-qfe1xnh9.js} +13 -13
- package/dist/chunks/{model-resolver-azbfhwfn.js → skill-qj9yg2gx.js} +6 -6
- package/dist/chunks/{model-resolver-wrgxtjh4.js → skill-qn2mv273.js} +18 -18
- package/dist/chunks/{model-resolver-zgenf5ev.js → skill-qn3sd5fj.js} +35 -35
- package/dist/chunks/{model-resolver-z1j8fwgr.js → skill-qpgsxs0r.js} +11 -11
- package/dist/chunks/{model-resolver-qsdy395h.js → skill-qsdy395h.js} +1 -1
- package/dist/chunks/{model-resolver-xv7845dj.js → skill-r15xdqzv.js} +23 -23
- package/dist/chunks/{model-resolver-6hh8tjw2.js → skill-ratrq7cm.js} +4 -4
- package/dist/chunks/{model-resolver-rdw6cm16.js → skill-rdw6cm16.js} +1 -1
- package/dist/chunks/skill-rf27x5hb.js +492 -0
- package/dist/chunks/{model-resolver-gqkxh60r.js → skill-rfywrw2r.js} +22 -22
- package/dist/chunks/{model-resolver-prxamd8a.js → skill-rg8p4v5s.js} +10 -10
- package/dist/chunks/{model-resolver-paegk39x.js → skill-rsdf2nvv.js} +4 -4
- package/dist/chunks/{model-resolver-s172k70m.js → skill-s0rz8sn0.js} +21 -21
- package/dist/chunks/{model-resolver-02nrjc1r.js → skill-s8d7rejh.js} +8 -8
- package/dist/chunks/{model-resolver-3pbjq009.js → skill-saaf3fxb.js} +8 -8
- package/dist/chunks/{model-resolver-599cv9mn.js → skill-sbnk9s0v.js} +23 -23
- package/dist/chunks/{model-resolver-vss6mrqc.js → skill-sce6hqsn.js} +30 -30
- package/dist/chunks/{model-resolver-qwbyjwn2.js → skill-seeqbynq.js} +24 -24
- package/dist/chunks/{model-resolver-hzz7dkwv.js → skill-sfbqgmzh.js} +9 -9
- package/dist/chunks/{model-resolver-tzrwg04y.js → skill-styrrha9.js} +7 -7
- package/dist/chunks/{model-resolver-9gea571p.js → skill-sxzvkvgj.js} +6 -6
- package/dist/chunks/{model-resolver-vzv9kxzp.js → skill-t15cd3dx.js} +5 -5
- package/dist/chunks/{model-resolver-vncycja5.js → skill-t9zs3egg.js} +4 -4
- package/dist/chunks/{model-resolver-tazgh4e4.js → skill-tazgh4e4.js} +1 -1
- package/dist/chunks/{model-resolver-p28j5sbe.js → skill-tbz0fdvh.js} +5 -5
- package/dist/chunks/{model-resolver-0xv915x5.js → skill-tcdkx0zz.js} +3 -3
- package/dist/chunks/{model-resolver-tcezcvh9.js → skill-tcezcvh9.js} +1 -1
- package/dist/chunks/{model-resolver-tdstcens.js → skill-tdstcens.js} +1 -1
- package/dist/chunks/{model-resolver-5d7aan1t.js → skill-terh1wnp.js} +33 -33
- package/dist/chunks/{model-resolver-2db12876.js → skill-ts20ka55.js} +8 -8
- package/dist/chunks/{model-resolver-tvtrv512.js → skill-tvtrv512.js} +1 -1
- package/dist/chunks/{model-resolver-p7nsp59h.js → skill-v4jw97dc.js} +4 -4
- package/dist/chunks/{model-resolver-j8zzr2am.js → skill-va5qff5x.js} +6 -6
- package/dist/chunks/{model-resolver-xk5qfe87.js → skill-vebmgh8g.js} +19 -19
- package/dist/chunks/{model-resolver-veqvce7d.js → skill-veqvce7d.js} +1 -1
- package/dist/chunks/{model-resolver-j4206d7h.js → skill-vr8rr6jd.js} +3 -3
- package/dist/chunks/{model-resolver-m6dz94as.js → skill-vth56ars.js} +46 -46
- package/dist/chunks/{model-resolver-61fj4v2j.js → skill-vvcy4fdz.js} +18 -18
- package/dist/chunks/{model-resolver-vzcthcp8.js → skill-vzcthcp8.js} +1 -1
- package/dist/chunks/{model-resolver-phx6da97.js → skill-vzget847.js} +11 -11
- package/dist/chunks/{model-resolver-w3wsvvr9.js → skill-w3wsvvr9.js} +1 -1
- package/dist/chunks/{model-resolver-rctnpmcd.js → skill-wcdjjbrh.js} +33 -33
- package/dist/chunks/{model-resolver-wd87259q.js → skill-wd87259q.js} +1 -1
- package/dist/chunks/{model-resolver-swg14gxk.js → skill-wechm0na.js} +3 -3
- package/dist/chunks/{model-resolver-yxht4gzb.js → skill-wxe1qfek.js} +8 -8
- package/dist/chunks/{model-resolver-t0vv8359.js → skill-wyax8rmk.js} +172 -172
- package/dist/chunks/{model-resolver-3rd3t3my.js → skill-wzz6p339.js} +14 -14
- package/dist/chunks/{model-resolver-x1ezjp6w.js → skill-x1ezjp6w.js} +1 -1
- package/dist/chunks/{model-resolver-peyz0p0p.js → skill-xczs4m09.js} +8 -8
- package/dist/chunks/{model-resolver-z36d3h7g.js → skill-xe66m7hc.js} +13 -13
- package/dist/chunks/{model-resolver-spq00ka2.js → skill-xeav5w26.js} +11 -11
- package/dist/chunks/{model-resolver-0mj02m0m.js → skill-xt6sdy3v.js} +8 -8
- package/dist/chunks/{model-resolver-dqtg3793.js → skill-xt7drvmn.js} +15 -15
- package/dist/chunks/{model-resolver-714t0x07.js → skill-y0qh3t8c.js} +16 -16
- package/dist/chunks/{model-resolver-y1fvbwt7.js → skill-y1fvbwt7.js} +1 -1
- package/dist/chunks/{model-resolver-tsyf12nv.js → skill-y6pc976z.js} +1 -1
- package/dist/chunks/{model-resolver-y71avatq.js → skill-y71avatq.js} +1 -1
- package/dist/chunks/{model-resolver-wv3gb8g4.js → skill-y7jx6qxq.js} +24 -24
- package/dist/chunks/{model-resolver-wrmrmykr.js → skill-ybhbtxjg.js} +6 -6
- package/dist/chunks/{model-resolver-mktnxe3b.js → skill-ydwj5rgn.js} +40 -40
- package/dist/chunks/{model-resolver-k4839s1d.js → skill-yg7jmef6.js} +22 -22
- package/dist/chunks/{model-resolver-bae6x12q.js → skill-ym5bvkez.js} +18 -18
- package/dist/chunks/{model-resolver-qewhjxtc.js → skill-yqr9gdqx.js} +12 -12
- 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-sw7ectjd.js → skill-yzt67cpa.js} +11 -11
- package/dist/chunks/{model-resolver-afrtgck4.js → skill-z0aj456m.js} +4 -4
- package/dist/chunks/{model-resolver-z0bkrqjs.js → skill-z0bkrqjs.js} +1 -1
- package/dist/chunks/{model-resolver-xd87acyy.js → skill-z57gc1k8.js} +28 -28
- package/dist/chunks/{model-resolver-at58p27x.js → skill-z5rjp6ct.js} +30 -30
- package/dist/chunks/{model-resolver-z63w68vq.js → skill-z63w68vq.js} +2 -2
- package/dist/chunks/{model-resolver-g5epyhxx.js → skill-z7v8xqdm.js} +21 -21
- package/dist/chunks/{model-resolver-5gjvpwac.js → skill-zcfvqgr6.js} +4 -4
- package/dist/chunks/{model-resolver-zeh9ct20.js → skill-zeh9ct20.js} +2 -2
- package/dist/chunks/{model-resolver-zr2ceqn5.js → skill-zr2ceqn5.js} +1 -1
- package/dist/chunks/{model-resolver-tm5ahrk2.js → skill-zwdxcx64.js} +5 -5
- package/dist/chunks/{model-resolver-zxq2ej10.js → skill-zxq2ej10.js} +1 -1
- package/dist/codemode/catalog.js +1 -1
- package/dist/codemode/instructions.js +11 -11
- package/dist/codemode/tool.js +3 -3
- package/dist/codemode/web.js +1 -1
- package/dist/command.js +82 -82
- package/dist/config/discovery.js +81 -81
- package/dist/config/markdown.js +1 -1
- package/dist/config/normalize.js +105 -105
- package/dist/config/plugin/agent.js +124 -124
- package/dist/config/plugin/command.js +213 -213
- package/dist/config/plugin/compaction.js +161 -161
- package/dist/config/plugin/compatibility.js +140 -140
- package/dist/config/plugin/entry-observer.js +1 -1
- package/dist/config/plugin/formatter.js +123 -123
- package/dist/config/plugin/image.js +122 -122
- package/dist/config/plugin/instruction.js +89 -89
- package/dist/config/plugin/location-watcher.js +124 -124
- package/dist/config/plugin/mcp.js +131 -131
- package/dist/config/plugin/policy.js +122 -122
- package/dist/config/plugin/provider.js +122 -122
- package/dist/config/plugin/reference.js +124 -124
- package/dist/config/plugin/shell.js +124 -124
- package/dist/config/plugin/skill-file.js +101 -101
- package/dist/config/plugin/skill.js +143 -143
- package/dist/config/plugin/snapshot.js +122 -122
- package/dist/config/plugin/source.js +125 -125
- package/dist/config/plugin/tool-output.js +124 -124
- package/dist/config/plugin/websearch.js +123 -123
- package/dist/config/plugin/worktree.js +124 -124
- package/dist/config/variable.js +3 -3
- package/dist/config/watch.js +1 -1
- package/dist/config.js +127 -127
- package/dist/credential/sql.js +2 -2
- package/dist/credential.js +84 -84
- package/dist/database/database.js +65 -65
- 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.gen.js +48 -48
- package/dist/database/migration.js +50 -50
- 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 +75 -75
- package/dist/database/v1-migration.js +1 -1
- package/dist/effect/app-node-builder.js +368 -368
- 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 +92 -92
- package/dist/environment/exec-defaults.js +2 -2
- package/dist/environment/files.js +1 -1
- package/dist/environment/index.js +94 -94
- 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 +73 -73
- package/dist/file-access.js +103 -103
- package/dist/file-mutation.js +93 -93
- 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 +226 -226
- package/dist/filesystem/protected.js +1 -1
- package/dist/filesystem/search.js +102 -102
- package/dist/filesystem/watcher-binding.js +1 -1
- package/dist/filesystem/watcher.js +15 -15
- package/dist/filesystem.js +99 -99
- package/dist/form.js +83 -83
- package/dist/formatter/builtins.js +4 -4
- package/dist/formatter.js +86 -86
- package/dist/generate.js +102 -102
- 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 +90 -90
- 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 +359 -359
- package/dist/instruction-discovery.js +78 -78
- package/dist/instructions/builtins.js +86 -86
- package/dist/instructions/index.js +5 -5
- package/dist/integration/connection.js +3 -3
- package/dist/integration.js +85 -85
- package/dist/job.js +76 -76
- package/dist/kv/sql.js +2 -2
- package/dist/kv.js +70 -70
- package/dist/location-activity.js +134 -134
- package/dist/location-lifecycle.js +105 -105
- package/dist/location-mutation.js +103 -103
- package/dist/location-service-map.js +85 -85
- package/dist/location-services.js +356 -356
- package/dist/location.js +86 -86
- package/dist/mcp/client.js +90 -90
- package/dist/mcp/index.js +103 -103
- package/dist/mcp/instructions.js +127 -127
- package/dist/mcp/oauth.js +77 -77
- package/dist/mcp/stdio.js +89 -89
- package/dist/mime.js +1 -1
- package/dist/modal/models.js +90 -90
- package/dist/model-resolver.js +97 -97
- package/dist/model.js +97 -97
- package/dist/models-dev.js +106 -106
- package/dist/oauth/page.js +1 -1
- package/dist/permission/saved.js +81 -81
- package/dist/permission/sql.js +5 -5
- package/dist/permission.js +112 -112
- package/dist/persistent-pty/binary.bun.js +1 -1
- package/dist/persistent-pty/daemon.js +1 -1
- package/dist/persistent-pty/index.js +77 -77
- package/dist/persistent-pty/pty-binding.js +1 -1
- package/dist/persistent-pty.js +74 -74
- package/dist/plugin/agent.js +103 -103
- package/dist/plugin/command.js +100 -100
- package/dist/plugin/compaction.js +132 -132
- package/dist/plugin/hooks.js +5 -5
- package/dist/plugin/host.js +217 -217
- package/dist/plugin/identity.js +3 -3
- package/dist/plugin/instance.js +5 -5
- package/dist/plugin/internal.js +330 -330
- package/dist/plugin/mcp-codemode-exclusion.js +3 -3
- package/dist/plugin/models-dev.js +95 -95
- package/dist/plugin/module.js +7 -7
- package/dist/plugin/optimize.js +2 -2
- package/dist/plugin/plan.js +101 -101
- package/dist/plugin/promise.js +1 -1
- package/dist/plugin/provider/amazon-bedrock.js +89 -89
- package/dist/plugin/provider/azure.js +121 -121
- package/dist/plugin/provider/cerebras.js +1 -1
- package/dist/plugin/provider/cloudflare-ai-gateway.js +120 -120
- package/dist/plugin/provider/cloudflare-workers-ai.js +120 -120
- package/dist/plugin/provider/cohere.js +2 -2
- package/dist/plugin/provider/configured.js +118 -118
- package/dist/plugin/provider/digitalocean.js +92 -92
- 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 +92 -92
- package/dist/plugin/provider/gitlab.js +90 -90
- package/dist/plugin/provider/google-vertex.js +89 -89
- package/dist/plugin/provider/kilo.js +1 -1
- package/dist/plugin/provider/llmgateway.js +76 -76
- package/dist/plugin/provider/lmstudio.js +121 -121
- package/dist/plugin/provider/modal.js +91 -91
- package/dist/plugin/provider/nvidia.js +1 -1
- package/dist/plugin/provider/ollama.js +119 -119
- package/dist/plugin/provider/openai.js +91 -91
- package/dist/plugin/provider/opencode.js +92 -92
- package/dist/plugin/provider/openrouter.js +90 -90
- package/dist/plugin/provider/perplexity.js +2 -2
- package/dist/plugin/provider/poe.js +77 -77
- package/dist/plugin/provider/prompt-cache-key.js +89 -89
- package/dist/plugin/provider/sap-ai-core.js +90 -90
- package/dist/plugin/provider/sdk-factory.js +1 -1
- package/dist/plugin/provider/snowflake-cortex.js +121 -121
- package/dist/plugin/provider/venice.js +2 -2
- package/dist/plugin/provider/vercel.js +89 -89
- package/dist/plugin/provider/vllm.js +121 -121
- package/dist/plugin/provider/xai.js +90 -90
- package/dist/plugin/provider/zenmux.js +1 -1
- package/dist/plugin/provider.js +158 -158
- package/dist/plugin/sdk.js +75 -75
- package/dist/plugin/service.js +3 -3
- package/dist/plugin/skill.js +138 -138
- package/dist/plugin/source-directory.js +1 -1
- package/dist/plugin/supervisor.js +349 -349
- package/dist/plugin/tool-input-repair.js +4 -4
- package/dist/plugin/update.js +6 -6
- package/dist/plugin/vcs/git.js +85 -85
- package/dist/plugin/vcs/hg.js +85 -85
- package/dist/plugin/warming.js +120 -120
- package/dist/plugin/websearch/exa.js +5 -5
- package/dist/plugin/websearch/firecrawl.js +8 -8
- package/dist/plugin/websearch/index.js +9 -9
- package/dist/plugin/websearch/mcp.js +6 -6
- package/dist/plugin/websearch/parallel.js +8 -8
- package/dist/plugin/websearch/tavily.js +6 -6
- package/dist/plugin/websearch/tinyfish.js +8 -8
- package/dist/plugin.js +220 -220
- package/dist/project/schema.js +8 -8
- package/dist/project/sql.js +4 -4
- package/dist/project.js +87 -87
- package/dist/provider.js +100 -100
- 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 +97 -97
- package/dist/reference/instructions.js +88 -88
- package/dist/reference.js +88 -88
- package/dist/repository-cache.js +80 -80
- package/dist/repository.js +1 -1
- package/dist/ripgrep/binary.js +2 -2
- package/dist/ripgrep.js +94 -94
- package/dist/rpc.js +85 -85
- package/dist/schema.js +1 -1
- package/dist/session/command.js +73 -73
- package/dist/session/compaction.js +131 -131
- package/dist/session/context.js +151 -151
- package/dist/session/diff.js +87 -87
- package/dist/session/environment.js +3 -3
- package/dist/session/error.js +5 -5
- package/dist/session/event.js +1 -1
- package/dist/session/execution/restart.js +223 -223
- package/dist/session/execution.js +127 -127
- package/dist/session/generate.js +150 -150
- package/dist/session/history.js +13 -13
- package/dist/session/inbox.js +89 -89
- package/dist/session/info.js +3 -3
- package/dist/session/instruction-entry.js +78 -78
- package/dist/session/instruction-state.js +8 -8
- package/dist/session/instructions.js +96 -96
- package/dist/session/message-updater.js +4 -4
- package/dist/session/message.js +1 -1
- package/dist/session/model-request.js +118 -118
- package/dist/session/model-transport.js +9 -9
- package/dist/session/move.js +129 -129
- package/dist/session/projector.js +85 -85
- package/dist/session/prompt.js +104 -104
- package/dist/session/provider-context.js +3 -3
- package/dist/session/revert.js +89 -89
- package/dist/session/run-coordinator.js +3 -3
- package/dist/session/runner/index.js +3 -3
- package/dist/session/runner/llm.js +230 -230
- package/dist/session/runner/max-steps.js +1 -1
- package/dist/session/runner/model.js +97 -97
- package/dist/session/runner/publish-llm-event.js +3 -3
- package/dist/session/runner/retry.js +113 -113
- 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 +169 -169
- package/dist/session/shell.js +137 -137
- package/dist/session/skill.js +102 -102
- package/dist/session/sql.js +5 -5
- package/dist/session/stats.js +72 -72
- package/dist/session/store.js +86 -86
- package/dist/session/subagent-completion.js +1 -1
- package/dist/session/subagent-job.js +209 -209
- package/dist/session/system-prompt.js +3 -3
- package/dist/session/title.js +155 -155
- package/dist/session/to-session-error.js +110 -110
- package/dist/session/transfer.js +219 -219
- package/dist/session/usage.js +1 -1
- package/dist/session.js +215 -215
- 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 +15 -15
- package/dist/shell.js +135 -135
- package/dist/skill/discovery.js +6 -6
- package/dist/skill/instructions.js +104 -104
- package/dist/skill.js +109 -109
- package/dist/snapshot.js +90 -90
- 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 +124 -124
- package/dist/tool/plugin/edit.js +119 -119
- package/dist/tool/plugin/file-diff.js +1 -1
- package/dist/tool/plugin/glob.js +123 -123
- package/dist/tool/plugin/grep.js +123 -123
- package/dist/tool/plugin/opencode.js +3 -3
- package/dist/tool/plugin/patch.js +121 -121
- package/dist/tool/plugin/question.js +100 -100
- package/dist/tool/plugin/read.js +124 -124
- package/dist/tool/plugin/shell.js +212 -212
- package/dist/tool/plugin/skill.js +108 -108
- package/dist/tool/plugin/subagent.js +218 -218
- package/dist/tool/plugin/webfetch.js +111 -111
- package/dist/tool/plugin/websearch.js +113 -113
- package/dist/tool/plugin/write.js +119 -119
- package/dist/tool/read-filesystem.js +99 -99
- package/dist/tool/runtime.js +1 -1
- package/dist/tool-output.js +8 -8
- package/dist/tool.js +14 -14
- package/dist/util/error-summary.js +1 -1
- package/dist/util/error.js +1 -1
- package/dist/util/git-executable.js +2 -2
- package/dist/util/iife.js +1 -1
- package/dist/util/lazy.js +1 -1
- package/dist/util/slug.js +1 -1
- package/dist/util/token.js +1 -1
- package/dist/util/which.js +1 -1
- package/dist/util/wildcard.js +1 -1
- package/dist/v1/config/agent.js +5 -5
- package/dist/v1/config/attachment.js +4 -4
- package/dist/v1/config/command.js +3 -3
- package/dist/v1/config/config.js +16 -16
- package/dist/v1/config/error.js +2 -2
- package/dist/v1/config/formatter.js +5 -5
- package/dist/v1/config/layout.js +1 -1
- package/dist/v1/config/lsp.js +5 -5
- package/dist/v1/config/mcp.js +4 -4
- package/dist/v1/config/migrate.js +91 -91
- package/dist/v1/config/permission.js +3 -3
- package/dist/v1/config/plugin.js +1 -1
- package/dist/v1/config/provider-options.js +1 -1
- package/dist/v1/config/provider.js +4 -4
- package/dist/v1/config/server.js +2 -2
- package/dist/v1/config/skills.js +3 -3
- package/dist/v1/permission.js +1 -1
- package/dist/variant.js +90 -90
- package/dist/vcs/patch.js +1 -1
- package/dist/vcs.js +88 -88
- package/dist/websearch.js +77 -77
- package/dist/wellknown/plugin.js +75 -75
- package/dist/wellknown.js +80 -80
- package/dist/workspace/driver.js +7 -7
- package/dist/workspace/sql.js +1 -1
- package/dist/workspace.js +79 -79
- 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 +88 -88
- package/dist/worktree.js +97 -97
- package/package.json +8 -8
- package/dist/chunks/model-resolver-1zvmacfw.js +0 -492
- package/dist/chunks/model-resolver-6kdq0pjd.js +0 -4
- package/dist/chunks/model-resolver-jqh9b0xq.js +0 -18
- package/dist/chunks/model-resolver-qb6tpq85.js +0 -252
- package/dist/chunks/model-resolver-w53v25xj.js +0 -26
- /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-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-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-twg0f83k.js → skill-twg0f83k.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
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-wechm0na.js";
|
|
5
5
|
import {
|
|
6
6
|
PermissionTable2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-f828m53h.js";
|
|
8
8
|
import {
|
|
9
9
|
__export
|
|
10
|
-
} from "./
|
|
10
|
+
} from "./skill-9rqn6x4v.js";
|
|
11
11
|
|
|
12
12
|
// src/permission/saved.ts
|
|
13
13
|
var exports_saved = {};
|
|
14
14
|
__export(exports_saved, {
|
|
15
15
|
AddInput: () => AddInput2,
|
|
16
|
-
ID: () =>
|
|
17
|
-
Info: () =>
|
|
18
|
-
ListInput: () =>
|
|
16
|
+
ID: () => ID10,
|
|
17
|
+
Info: () => Info23,
|
|
18
|
+
ListInput: () => ListInput4,
|
|
19
19
|
PermissionSaved: () => exports_saved,
|
|
20
|
-
Service: () =>
|
|
21
|
-
node: () =>
|
|
20
|
+
Service: () => Service68,
|
|
21
|
+
node: () => node72
|
|
22
22
|
});
|
|
23
23
|
import { eq } from "drizzle-orm";
|
|
24
24
|
import { Context, DateTime, Effect, Layer, Schema } from "effect";
|
|
25
25
|
import { Project } from "@opencode/schema/project";
|
|
26
26
|
import { makeGlobalNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { PermissionSaved } from "@opencode/schema/permission-saved";
|
|
28
|
-
var
|
|
29
|
-
var
|
|
30
|
-
var
|
|
28
|
+
var ID10 = PermissionSaved.ID;
|
|
29
|
+
var Info23 = PermissionSaved.Info;
|
|
30
|
+
var ListInput4 = Schema.Struct({
|
|
31
31
|
projectID: Project.ID.pipe(Schema.optional)
|
|
32
32
|
}).annotate({ identifier: "PermissionSaved.ListInput" });
|
|
33
33
|
var AddInput2 = Schema.Struct({
|
|
@@ -36,9 +36,9 @@ var AddInput2 = Schema.Struct({
|
|
|
36
36
|
resources: Schema.Array(Schema.String)
|
|
37
37
|
}).annotate({ identifier: "PermissionSaved.AddInput" });
|
|
38
38
|
|
|
39
|
-
class
|
|
39
|
+
class Service68 extends Context.Service()("@opencode/PermissionSaved") {
|
|
40
40
|
}
|
|
41
|
-
var layer = Layer.effect(
|
|
41
|
+
var layer = Layer.effect(Service68, Effect.gen(function* () {
|
|
42
42
|
const db = (yield* Service83).db;
|
|
43
43
|
const list = Effect.fnUntraced(function* (input) {
|
|
44
44
|
const rows = yield* db.select().from(PermissionTable2).where(input?.projectID ? eq(PermissionTable2.project_id, input.projectID) : undefined).all().pipe(Effect.orDie);
|
|
@@ -57,7 +57,7 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
57
57
|
if (!input.resources.length)
|
|
58
58
|
return;
|
|
59
59
|
yield* db.insert(PermissionTable2).values(input.resources.map((resource) => ({
|
|
60
|
-
id:
|
|
60
|
+
id: ID10.create(),
|
|
61
61
|
project_id: input.projectID,
|
|
62
62
|
action: input.action,
|
|
63
63
|
resource
|
|
@@ -66,8 +66,8 @@ var layer = Layer.effect(Service75, Effect.gen(function* () {
|
|
|
66
66
|
const remove = Effect.fn("PermissionSaved.remove")(function* (id) {
|
|
67
67
|
yield* db.delete(PermissionTable2).where(eq(PermissionTable2.id, id)).run().pipe(Effect.orDie);
|
|
68
68
|
});
|
|
69
|
-
return
|
|
69
|
+
return Service68.of({ list, add, remove });
|
|
70
70
|
}));
|
|
71
|
-
var
|
|
71
|
+
var node72 = makeGlobalNode({ service: Service68, layer, deps: [node87] });
|
|
72
72
|
|
|
73
|
-
export {
|
|
73
|
+
export { ID10, Info23, ListInput4, AddInput2, Service68, node72, exports_saved };
|
|
@@ -1,33 +1,33 @@
|
|
|
1
1
|
import {
|
|
2
2
|
key2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-h6r3nrb9.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./skill-g99y313h.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./skill-terh1wnp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-ekps4m07.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
16
|
+
ID13,
|
|
17
17
|
aisdk2,
|
|
18
18
|
mergeOverlay2,
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
Service73
|
|
20
|
+
} from "./skill-er04vdyn.js";
|
|
21
21
|
import {
|
|
22
22
|
ID6
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-sce6hqsn.js";
|
|
24
24
|
import {
|
|
25
25
|
load3,
|
|
26
26
|
derive3
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-d91paanh.js";
|
|
28
28
|
import {
|
|
29
29
|
useragent2
|
|
30
|
-
} from "./
|
|
30
|
+
} from "./skill-xeav5w26.js";
|
|
31
31
|
|
|
32
32
|
// src/plugin/provider/github-copilot.ts
|
|
33
33
|
import { Effect, Option, Schema, Semaphore, Stream } from "effect";
|
|
@@ -59,7 +59,7 @@ var decodeUser = Schema.decodeUnknownOption(User);
|
|
|
59
59
|
var JsonBody = Schema.fromJsonString(Schema.Unknown);
|
|
60
60
|
var decodeBody = Schema.decodeUnknownOption(JsonBody);
|
|
61
61
|
var oauth = (app) => ({
|
|
62
|
-
integrationID:
|
|
62
|
+
integrationID: ID14.make("github-copilot"),
|
|
63
63
|
method: {
|
|
64
64
|
id: methodID,
|
|
65
65
|
type: "oauth",
|
|
@@ -157,8 +157,8 @@ var oauth = (app) => ({
|
|
|
157
157
|
var GithubCopilotPlugin2 = define({
|
|
158
158
|
id: "opencode.provider.github.copilot",
|
|
159
159
|
effect: Effect.fn(function* (ctx) {
|
|
160
|
-
const providers = yield*
|
|
161
|
-
const bus = yield*
|
|
160
|
+
const providers = yield* Service73;
|
|
161
|
+
const bus = yield* Service81;
|
|
162
162
|
const loading = Semaphore.makeUnsafe(1);
|
|
163
163
|
const loaded = {};
|
|
164
164
|
const load = Effect.fn("GithubCopilotPlugin.load")(function* () {
|
|
@@ -173,7 +173,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
173
173
|
return;
|
|
174
174
|
}
|
|
175
175
|
const url = copilotBaseURL2(credential.metadata) ?? baseURL();
|
|
176
|
-
const provider = yield* providers.get(
|
|
176
|
+
const provider = yield* providers.get(ID13.githubCopilot);
|
|
177
177
|
const remote = yield* Effect.tryPromise({
|
|
178
178
|
try: () => load3(url, {
|
|
179
179
|
...provider?.headers,
|
|
@@ -194,7 +194,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
194
194
|
editor.method.update(oauth(ctx.app));
|
|
195
195
|
});
|
|
196
196
|
yield* ctx.provider.transform((evt) => {
|
|
197
|
-
const item = evt.get(
|
|
197
|
+
const item = evt.get(ID13.githubCopilot);
|
|
198
198
|
if (!item)
|
|
199
199
|
return;
|
|
200
200
|
if (loaded.models) {
|
|
@@ -214,17 +214,17 @@ var GithubCopilotPlugin2 = define({
|
|
|
214
214
|
}
|
|
215
215
|
});
|
|
216
216
|
yield* ctx.model.transform((models) => {
|
|
217
|
-
if (models.get(
|
|
218
|
-
models.update(
|
|
217
|
+
if (models.get(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"))) {
|
|
218
|
+
models.update(ID13.githubCopilot, ID6.make("gpt-5-chat-latest"), (model) => {
|
|
219
219
|
model.enabled = false;
|
|
220
220
|
});
|
|
221
221
|
}
|
|
222
222
|
});
|
|
223
223
|
const refresh = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
224
|
-
yield* bus.subscribe(
|
|
224
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("github-copilot")), Stream.runForEach(refresh), Effect.forkScoped({ startImmediately: true }));
|
|
225
225
|
yield* refresh().pipe(Effect.forkScoped);
|
|
226
226
|
yield* ctx.aisdk.hook("sdk", Effect.fn(function* (evt) {
|
|
227
|
-
if (evt.model.providerID !==
|
|
227
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
228
228
|
return;
|
|
229
229
|
if (evt.package !== "@ai-sdk/github-copilot")
|
|
230
230
|
return;
|
|
@@ -233,7 +233,7 @@ var GithubCopilotPlugin2 = define({
|
|
|
233
233
|
evt.sdk = mod.createOpenaiCompatible(evt.options);
|
|
234
234
|
}));
|
|
235
235
|
yield* ctx.session.hook("model.request", (evt) => Effect.gen(function* () {
|
|
236
|
-
if (evt.model.providerID !==
|
|
236
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
237
237
|
return;
|
|
238
238
|
const session = yield* ctx.session.get({ sessionID: evt.sessionID }).pipe(Effect.orElseSucceed(() => {
|
|
239
239
|
return;
|
|
@@ -243,9 +243,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
243
243
|
evt.headers["X-Interaction-Id"] = evt.sessionID;
|
|
244
244
|
if (interaction !== "conversation-agent")
|
|
245
245
|
evt.headers["x-initiator"] = "agent";
|
|
246
|
-
}), { providerID:
|
|
246
|
+
}), { providerID: ID13.githubCopilot });
|
|
247
247
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
248
|
-
if (evt.model.providerID !==
|
|
248
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
249
249
|
return;
|
|
250
250
|
const token = evt.request.headers.get("x-api-key");
|
|
251
251
|
if (!token)
|
|
@@ -253,9 +253,9 @@ var GithubCopilotPlugin2 = define({
|
|
|
253
253
|
const text = yield* Effect.promise(() => evt.request.clone().text());
|
|
254
254
|
const body = Option.getOrUndefined(decodeBody(text));
|
|
255
255
|
applyHeaders(evt.request.headers, token, ctx.app, requestMetadata(evt.request.url, body), true);
|
|
256
|
-
}), { providerID:
|
|
256
|
+
}), { providerID: ID13.githubCopilot });
|
|
257
257
|
yield* ctx.aisdk.hook("language", Effect.fn(function* (evt) {
|
|
258
|
-
if (evt.model.providerID !==
|
|
258
|
+
if (evt.model.providerID !== ID13.githubCopilot)
|
|
259
259
|
return;
|
|
260
260
|
if (evt.sdk.responses === undefined && evt.sdk.chat === undefined) {
|
|
261
261
|
evt.language = evt.sdk.languageModel(evt.model.modelID ?? evt.model.id);
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
useragent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-xeav5w26.js";
|
|
4
4
|
import {
|
|
5
|
-
|
|
6
|
-
} from "./
|
|
5
|
+
Service81
|
|
6
|
+
} from "./skill-g99y313h.js";
|
|
7
7
|
import {
|
|
8
8
|
OAuth3,
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Event19
|
|
10
|
+
} from "./skill-terh1wnp.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
ID14,
|
|
13
13
|
MethodID2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-ekps4m07.js";
|
|
15
15
|
import {
|
|
16
16
|
which2
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-qaymkmh1.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
19
|
+
ID13,
|
|
20
20
|
mergeOverlay2
|
|
21
|
-
} from "./
|
|
21
|
+
} from "./skill-er04vdyn.js";
|
|
22
22
|
import {
|
|
23
23
|
iife2
|
|
24
|
-
} from "./
|
|
24
|
+
} from "./skill-1kg9ymc8.js";
|
|
25
25
|
import {
|
|
26
26
|
configuredSettings2
|
|
27
|
-
} from "./
|
|
27
|
+
} from "./skill-n497svee.js";
|
|
28
28
|
|
|
29
29
|
// src/plugin/provider/azure.ts
|
|
30
30
|
import { Clock, Effect, Schema, Semaphore, Stream } from "effect";
|
|
@@ -44,9 +44,9 @@ var decodeToken = Schema.decodeUnknownEffect(Schema.Struct({
|
|
|
44
44
|
var AzurePlugin2 = define({
|
|
45
45
|
id: "opencode.provider.azure",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const configured = yield* configuredSettings2(
|
|
47
|
+
const configured = yield* configuredSettings2(ID13.azure);
|
|
48
48
|
const processes = yield* AppProcess.Service;
|
|
49
|
-
const bus = yield*
|
|
49
|
+
const bus = yield* Service81;
|
|
50
50
|
const tokens = new Map;
|
|
51
51
|
const loading = Semaphore.makeUnsafe(1);
|
|
52
52
|
const loaded = {};
|
|
@@ -80,13 +80,13 @@ var AzurePlugin2 = define({
|
|
|
80
80
|
});
|
|
81
81
|
yield* ctx.integration.transform((editor) => {
|
|
82
82
|
editor.method.update({
|
|
83
|
-
integrationID:
|
|
83
|
+
integrationID: ID13.azure,
|
|
84
84
|
method: { type: "key", label: "API key", form: form() }
|
|
85
85
|
});
|
|
86
86
|
if (!available)
|
|
87
87
|
return;
|
|
88
88
|
editor.method.update({
|
|
89
|
-
integrationID:
|
|
89
|
+
integrationID: ID13.azure,
|
|
90
90
|
method: {
|
|
91
91
|
id: methodID,
|
|
92
92
|
type: "oauth",
|
|
@@ -118,7 +118,7 @@ var AzurePlugin2 = define({
|
|
|
118
118
|
});
|
|
119
119
|
});
|
|
120
120
|
const load = Effect.fn("AzurePlugin.load")(function* () {
|
|
121
|
-
const connection = yield* ctx.integration.connection.active(
|
|
121
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
122
122
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
123
123
|
return;
|
|
124
124
|
})) : undefined;
|
|
@@ -132,7 +132,7 @@ var AzurePlugin2 = define({
|
|
|
132
132
|
yield* load();
|
|
133
133
|
yield* ctx.provider.transform((evt) => {
|
|
134
134
|
for (const item of evt.list()) {
|
|
135
|
-
if (item.provider.id !==
|
|
135
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
136
136
|
continue;
|
|
137
137
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
138
138
|
if (resourceName)
|
|
@@ -147,7 +147,7 @@ var AzurePlugin2 = define({
|
|
|
147
147
|
});
|
|
148
148
|
yield* ctx.model.transform((models) => {
|
|
149
149
|
for (const item of models.provider.list()) {
|
|
150
|
-
if (item.provider.id !==
|
|
150
|
+
if (item.provider.id !== ID13.azure && !item.provider.package.startsWith("@opencode/ai/providers/azure/"))
|
|
151
151
|
continue;
|
|
152
152
|
const resourceName = resolveResourceName(item.provider.settings, loaded.resource);
|
|
153
153
|
for (const model of models.list(item.provider.id)) {
|
|
@@ -163,9 +163,9 @@ var AzurePlugin2 = define({
|
|
|
163
163
|
}
|
|
164
164
|
});
|
|
165
165
|
const reload = () => loading.withPermit(load().pipe(Effect.andThen(ctx.provider.reload())));
|
|
166
|
-
yield* bus.subscribe(
|
|
166
|
+
yield* bus.subscribe(Event19.Switched).pipe(Stream.filter((event) => event.data.integrationID === ID14.make("azure")), Stream.runForEach(reload), Effect.forkScoped({ startImmediately: true }));
|
|
167
167
|
const bearer = Effect.fn("AzurePlugin.bearer")(function* (url) {
|
|
168
|
-
const connection = yield* ctx.integration.connection.active(
|
|
168
|
+
const connection = yield* ctx.integration.connection.active(ID13.azure);
|
|
169
169
|
const credential = connection ? yield* ctx.integration.connection.resolve(connection).pipe(Effect.orElseSucceed(() => {
|
|
170
170
|
return;
|
|
171
171
|
})) : undefined;
|
|
@@ -177,7 +177,7 @@ var AzurePlugin2 = define({
|
|
|
177
177
|
return `Bearer ${current.access}`;
|
|
178
178
|
});
|
|
179
179
|
yield* ctx.session.hook("http.request", (evt) => Effect.gen(function* () {
|
|
180
|
-
if (evt.model.providerID !==
|
|
180
|
+
if (evt.model.providerID !== ID13.azure)
|
|
181
181
|
return;
|
|
182
182
|
const authorization = yield* bearer(evt.request.url);
|
|
183
183
|
if (!authorization)
|
|
@@ -186,9 +186,9 @@ var AzurePlugin2 = define({
|
|
|
186
186
|
evt.request.headers.delete("x-api-key");
|
|
187
187
|
evt.request.headers.set("authorization", authorization);
|
|
188
188
|
evt.request.headers.set("user-agent", useragent2(ctx.app));
|
|
189
|
-
}), { providerID:
|
|
189
|
+
}), { providerID: ID13.azure });
|
|
190
190
|
yield* ctx.session.hook("experimental.ws.handshake", (evt) => Effect.gen(function* () {
|
|
191
|
-
if (evt.model.providerID !==
|
|
191
|
+
if (evt.model.providerID !== ID13.azure)
|
|
192
192
|
return;
|
|
193
193
|
const authorization = yield* bearer(evt.url);
|
|
194
194
|
if (!authorization)
|
|
@@ -197,7 +197,7 @@ var AzurePlugin2 = define({
|
|
|
197
197
|
delete evt.headers["x-api-key"];
|
|
198
198
|
evt.headers.authorization = authorization;
|
|
199
199
|
evt.headers["user-agent"] = useragent2(ctx.app);
|
|
200
|
-
}), { providerID:
|
|
200
|
+
}), { providerID: ID13.azure });
|
|
201
201
|
})
|
|
202
202
|
});
|
|
203
203
|
function resolveResourceName(settings, fallback) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import {
|
|
2
2
|
convertToOpenAICompatibleChatMessages2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-fxgpk5d8.js";
|
|
4
4
|
import {
|
|
5
5
|
getResponseMetadata2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-g4wezp1m.js";
|
|
7
7
|
import {
|
|
8
8
|
mapOpenAICompatibleFinishReason2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-x61499pn.js";
|
|
10
10
|
import {
|
|
11
11
|
openaiCompatibleProviderOptions2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-af5trqkr.js";
|
|
13
13
|
import {
|
|
14
14
|
defaultOpenAICompatibleErrorStructure2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-afrmfg78.js";
|
|
16
16
|
import {
|
|
17
17
|
prepareTools2
|
|
18
|
-
} from "./
|
|
18
|
+
} from "./skill-x0ckcb58.js";
|
|
19
19
|
|
|
20
20
|
// src/github-copilot/chat/openai-compatible-chat-language-model.ts
|
|
21
21
|
import {
|
|
@@ -1,32 +1,32 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
2
|
+
Key3,
|
|
3
3
|
removed2,
|
|
4
4
|
empty3,
|
|
5
|
-
|
|
5
|
+
make21,
|
|
6
6
|
diffByKey2
|
|
7
|
-
} from "./
|
|
7
|
+
} from "./skill-s8d7rejh.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
9
|
+
ID8,
|
|
10
10
|
Name2,
|
|
11
11
|
available2,
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} from "./
|
|
12
|
+
Service65,
|
|
13
|
+
node69
|
|
14
|
+
} from "./skill-13g5bxf5.js";
|
|
15
15
|
import {
|
|
16
16
|
__export
|
|
17
|
-
} from "./
|
|
17
|
+
} from "./skill-9rqn6x4v.js";
|
|
18
18
|
|
|
19
19
|
// src/skill/instructions.ts
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
Service: () =>
|
|
23
|
-
SkillInstructions: () =>
|
|
20
|
+
var exports_instructions5 = {};
|
|
21
|
+
__export(exports_instructions5, {
|
|
22
|
+
Service: () => Service35,
|
|
23
|
+
SkillInstructions: () => exports_instructions5,
|
|
24
24
|
node: () => node38
|
|
25
25
|
});
|
|
26
26
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
27
27
|
import { Context, Effect, Layer, Schema } from "effect";
|
|
28
28
|
var Summary = Schema.Struct({
|
|
29
|
-
id:
|
|
29
|
+
id: ID8,
|
|
30
30
|
name: Name2,
|
|
31
31
|
description: Schema.String
|
|
32
32
|
});
|
|
@@ -60,18 +60,18 @@ var update = (previous, current) => {
|
|
|
60
60
|
`);
|
|
61
61
|
};
|
|
62
62
|
|
|
63
|
-
class
|
|
63
|
+
class Service35 extends Context.Service()("@opencode/SkillInstructions") {
|
|
64
64
|
}
|
|
65
|
-
var layer = Layer.effect(
|
|
66
|
-
const skills = yield*
|
|
67
|
-
return
|
|
65
|
+
var layer = Layer.effect(Service35, Effect.gen(function* () {
|
|
66
|
+
const skills = yield* Service65;
|
|
67
|
+
return Service35.of({
|
|
68
68
|
load: Effect.fn("SkillInstructions.load")(function* (selection) {
|
|
69
69
|
const agent = selection.info;
|
|
70
70
|
if (!agent)
|
|
71
71
|
return empty3;
|
|
72
72
|
const available = available2(yield* skills.list(), agent).flatMap((skill) => skill.description === undefined || skill.autoinvoke === false ? [] : [{ id: skill.id, name: skill.name, description: skill.description }]).toSorted((a, b) => a.id.localeCompare(b.id));
|
|
73
|
-
return
|
|
74
|
-
key:
|
|
73
|
+
return make21({
|
|
74
|
+
key: Key3.make("core/skill-guidance"),
|
|
75
75
|
codec: Schema.toCodecJson(Schema.Array(Summary)),
|
|
76
76
|
read: Effect.succeed(available.length === 0 ? removed2 : available),
|
|
77
77
|
render: {
|
|
@@ -83,6 +83,6 @@ var layer = Layer.effect(Service34, Effect.gen(function* () {
|
|
|
83
83
|
})
|
|
84
84
|
});
|
|
85
85
|
}));
|
|
86
|
-
var node38 = makeLocationNode({ service:
|
|
86
|
+
var node38 = makeLocationNode({ service: Service35, layer, deps: [node69] });
|
|
87
87
|
|
|
88
|
-
export {
|
|
88
|
+
export { Service35, node38, exports_instructions5 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
migrations2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-n514x85b.js";
|
|
4
4
|
import {
|
|
5
5
|
schema_gen_default
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-twg0f83k.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/database/migration.ts
|
|
12
12
|
var exports_migration = {};
|
|
@@ -1,24 +1,24 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/integration/connection.ts
|
|
6
6
|
var exports_connection = {};
|
|
7
7
|
__export(exports_connection, {
|
|
8
8
|
CredentialInfo: () => CredentialInfo2,
|
|
9
9
|
EnvInfo: () => EnvInfo2,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info28,
|
|
11
11
|
IntegrationConnection: () => exports_connection,
|
|
12
12
|
key: () => key2
|
|
13
13
|
});
|
|
14
14
|
import { Connection } from "@opencode/schema/connection";
|
|
15
15
|
var CredentialInfo2 = Connection.CredentialInfo;
|
|
16
16
|
var EnvInfo2 = Connection.EnvInfo;
|
|
17
|
-
var
|
|
17
|
+
var Info28 = Connection.Info;
|
|
18
18
|
function key2(connection) {
|
|
19
19
|
if (!connection)
|
|
20
20
|
return;
|
|
21
21
|
return connection.type === "credential" ? `credential:${connection.id}` : `env:${connection.name}`;
|
|
22
22
|
}
|
|
23
23
|
|
|
24
|
-
export { CredentialInfo2, EnvInfo2,
|
|
24
|
+
export { CredentialInfo2, EnvInfo2, Info28, key2, exports_connection };
|
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import {
|
|
2
2
|
codeInterpreterArgsSchema2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-eh3zwz77.js";
|
|
4
4
|
import {
|
|
5
5
|
fileSearchArgsSchema2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-e73j6tqm.js";
|
|
7
7
|
import {
|
|
8
8
|
webSearchArgsSchema2
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-3wcehsnq.js";
|
|
10
10
|
import {
|
|
11
11
|
webSearchPreviewArgsSchema2
|
|
12
|
-
} from "./
|
|
12
|
+
} from "./skill-dap0rakb.js";
|
|
13
13
|
import {
|
|
14
14
|
imageGenerationArgsSchema2
|
|
15
|
-
} from "./
|
|
15
|
+
} from "./skill-4y7fprxs.js";
|
|
16
16
|
|
|
17
17
|
// src/github-copilot/responses/openai-responses-prepare-tools.ts
|
|
18
18
|
import {
|