@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,35 +1,35 @@
|
|
|
1
1
|
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
} from "./
|
|
2
|
+
ID12,
|
|
3
|
+
Service71
|
|
4
|
+
} from "./skill-b1v2fqtb.js";
|
|
5
5
|
import {
|
|
6
|
-
|
|
7
|
-
} from "./
|
|
6
|
+
Service79
|
|
7
|
+
} from "./skill-y0qh3t8c.js";
|
|
8
8
|
import {
|
|
9
|
-
|
|
10
|
-
} from "./
|
|
9
|
+
Service49
|
|
10
|
+
} from "./skill-vth56ars.js";
|
|
11
11
|
import {
|
|
12
|
-
|
|
12
|
+
Service64,
|
|
13
13
|
args2
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-60txstx8.js";
|
|
15
15
|
import {
|
|
16
|
-
|
|
17
|
-
} from "./
|
|
16
|
+
Service23
|
|
17
|
+
} from "./skill-af4n97kn.js";
|
|
18
18
|
import {
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
19
|
+
make8
|
|
20
|
+
} from "./skill-mfvk8ryg.js";
|
|
21
21
|
import {
|
|
22
22
|
parseOption2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-5daktx2q.js";
|
|
24
24
|
import {
|
|
25
25
|
__export
|
|
26
|
-
} from "./
|
|
26
|
+
} from "./skill-9rqn6x4v.js";
|
|
27
27
|
|
|
28
28
|
// src/config/plugin/command.ts
|
|
29
|
-
var
|
|
30
|
-
__export(
|
|
31
|
-
ConfigCommandPlugin: () =>
|
|
32
|
-
Plugin: () =>
|
|
29
|
+
var exports_command2 = {};
|
|
30
|
+
__export(exports_command2, {
|
|
31
|
+
ConfigCommandPlugin: () => exports_command2,
|
|
32
|
+
Plugin: () => Plugin31
|
|
33
33
|
});
|
|
34
34
|
import { define } from "@opencode/plugin/effect/plugin";
|
|
35
35
|
import { ConfigCommand } from "@opencode/schema/config/command";
|
|
@@ -41,10 +41,10 @@ import { Effect, Option, PubSub, Schema, Stream } from "effect";
|
|
|
41
41
|
import { ChildProcess } from "effect/unstable/process";
|
|
42
42
|
import { FSUtil } from "@opencode/util/fs-util";
|
|
43
43
|
var decodeCommand = Schema.decodeUnknownOption(ConfigCommand.Info);
|
|
44
|
-
var
|
|
44
|
+
var Plugin31 = define({
|
|
45
45
|
id: "opencode.config.command",
|
|
46
46
|
effect: Effect.fn(function* (ctx) {
|
|
47
|
-
const config = yield*
|
|
47
|
+
const config = yield* Service49;
|
|
48
48
|
const fs = yield* FSUtil.Service;
|
|
49
49
|
const loadEntry = Effect.fnUntraced(function* (entry) {
|
|
50
50
|
if (entry.type === "document")
|
|
@@ -54,12 +54,12 @@ var Plugin19 = define({
|
|
|
54
54
|
const commands = yield* loadDirectory(fs, entry.path);
|
|
55
55
|
return [{ commands: Object.fromEntries(commands.map((command) => [command.name, command.info])) }];
|
|
56
56
|
});
|
|
57
|
-
const location = yield*
|
|
57
|
+
const location = yield* Service79;
|
|
58
58
|
const processes = yield* AppProcess.Service;
|
|
59
|
-
const shell = yield*
|
|
60
|
-
const sessions = yield*
|
|
61
|
-
const agents = yield*
|
|
62
|
-
const subagents = yield*
|
|
59
|
+
const shell = yield* Service64;
|
|
60
|
+
const sessions = yield* Service23;
|
|
61
|
+
const agents = yield* Service71;
|
|
62
|
+
const subagents = yield* make8;
|
|
63
63
|
const load = Effect.fn("ConfigCommandPlugin.load")(function* () {
|
|
64
64
|
return yield* Effect.forEach(yield* config.entries(), loadEntry).pipe(Effect.map((documents) => documents.flat()));
|
|
65
65
|
});
|
|
@@ -80,7 +80,7 @@ var Plugin19 = define({
|
|
|
80
80
|
name,
|
|
81
81
|
description: command.description,
|
|
82
82
|
execute: (input) => Effect.gen(function* () {
|
|
83
|
-
const agent = command.agent === undefined ? undefined :
|
|
83
|
+
const agent = command.agent === undefined ? undefined : ID12.make(command.agent);
|
|
84
84
|
const commandAgent = agent === undefined ? undefined : (yield* ctx.agent.get({ agentID: agent })).data;
|
|
85
85
|
const model = command.model === undefined ? commandAgent?.model : {
|
|
86
86
|
id: Model.ID.make(command.model.model),
|
|
@@ -204,4 +204,4 @@ var placeholderRegex = /\$(\d+)/g;
|
|
|
204
204
|
var quoteTrimRegex = /^["']|["']$/g;
|
|
205
205
|
var shellRegex = /!`([^`]+)`/g;
|
|
206
206
|
|
|
207
|
-
export {
|
|
207
|
+
export { Plugin31, exports_command2 };
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import {
|
|
2
2
|
lazy2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-88xbtdfr.js";
|
|
4
4
|
import {
|
|
5
5
|
load4
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-5qd3pb7m.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/filesystem/watcher.ts
|
|
12
12
|
var exports_watcher = {};
|
|
13
13
|
__export(exports_watcher, {
|
|
14
|
-
Event: () =>
|
|
14
|
+
Event: () => Event9,
|
|
15
15
|
Native: () => Native3,
|
|
16
|
-
Options: () =>
|
|
17
|
-
Service: () =>
|
|
16
|
+
Options: () => Options8,
|
|
17
|
+
Service: () => Service50,
|
|
18
18
|
Test: () => Test3,
|
|
19
19
|
Watcher: () => exports_watcher,
|
|
20
|
-
configured: () =>
|
|
20
|
+
configured: () => configured8,
|
|
21
21
|
hasNativeBinding: () => hasNativeBinding2,
|
|
22
|
-
layer: () =>
|
|
22
|
+
layer: () => layer23,
|
|
23
23
|
nativeLayer: () => nativeLayer2,
|
|
24
24
|
nativeNode: () => nativeNode2,
|
|
25
|
-
node: () =>
|
|
25
|
+
node: () => node52,
|
|
26
26
|
testLayer: () => testLayer3
|
|
27
27
|
});
|
|
28
28
|
import { createWrapper } from "@parcel/watcher/wrapper.js";
|
|
@@ -33,7 +33,7 @@ import { Cause, Context, Effect, Layer, PubSub, RcMap, Schema, Stream } from "ef
|
|
|
33
33
|
import { watch } from "node:fs";
|
|
34
34
|
import path from "path";
|
|
35
35
|
var SUBSCRIBE_TIMEOUT_MS = 1e4;
|
|
36
|
-
var
|
|
36
|
+
var Event9 = { Updated: FileSystem.Event.Changed };
|
|
37
37
|
var watcher = lazy2(() => {
|
|
38
38
|
try {
|
|
39
39
|
return createWrapper(load4());
|
|
@@ -53,18 +53,18 @@ var hasNativeBinding2 = () => !!watcher();
|
|
|
53
53
|
|
|
54
54
|
class Native3 extends Context.Service()("@opencode/Watcher/Native") {
|
|
55
55
|
}
|
|
56
|
-
var
|
|
56
|
+
var Options8 = Schema.Struct({
|
|
57
57
|
enabled: Schema.optional(Schema.Boolean)
|
|
58
58
|
});
|
|
59
59
|
|
|
60
|
-
class
|
|
60
|
+
class Service50 extends Context.Service()("@opencode/Watcher") {
|
|
61
61
|
}
|
|
62
62
|
|
|
63
63
|
class Test3 extends Context.Service()("@opencode/Watcher/Test") {
|
|
64
64
|
}
|
|
65
|
-
var
|
|
65
|
+
var layer23 = (options) => Layer.effect(Service50, Effect.gen(function* () {
|
|
66
66
|
if (options?.enabled === false) {
|
|
67
|
-
return
|
|
67
|
+
return Service50.of({ subscribe: () => Effect.succeed(Stream.empty) });
|
|
68
68
|
}
|
|
69
69
|
const native = yield* Native3;
|
|
70
70
|
const watchers = yield* RcMap.make({
|
|
@@ -105,7 +105,7 @@ var layer21 = (options) => Layer.effect(Service54, Effect.gen(function* () {
|
|
|
105
105
|
return Stream.fromSubscription(subscription);
|
|
106
106
|
}));
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return Service50.of({ subscribe });
|
|
109
109
|
}));
|
|
110
110
|
var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
111
111
|
const subscriptions = [];
|
|
@@ -129,9 +129,9 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
129
129
|
};
|
|
130
130
|
})
|
|
131
131
|
});
|
|
132
|
-
const context = yield* Layer.build(
|
|
132
|
+
const context = yield* Layer.build(layer23().pipe(Layer.provide(Layer.succeed(Native3, native))));
|
|
133
133
|
const test = Test3.of({
|
|
134
|
-
subscribe: Context.get(context,
|
|
134
|
+
subscribe: Context.get(context, Service50).subscribe,
|
|
135
135
|
emit: (update) => Effect.sync(() => {
|
|
136
136
|
const target = path.resolve(update.path);
|
|
137
137
|
active.forEach((matches, publish) => {
|
|
@@ -141,7 +141,7 @@ var testLayer3 = Layer.effectContext(Effect.gen(function* () {
|
|
|
141
141
|
}),
|
|
142
142
|
subscriptions: () => Effect.sync(() => [...subscriptions])
|
|
143
143
|
});
|
|
144
|
-
return Context.empty().pipe(Context.add(
|
|
144
|
+
return Context.empty().pipe(Context.add(Service50, test), Context.add(Test3, test));
|
|
145
145
|
}));
|
|
146
146
|
var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
147
147
|
subscribe: (input) => {
|
|
@@ -164,10 +164,10 @@ var nativeLayer2 = Layer.succeed(Native3, Native3.of({
|
|
|
164
164
|
}
|
|
165
165
|
}));
|
|
166
166
|
var nativeNode2 = makeGlobalNode({ service: Native3, layer: nativeLayer2, deps: [] });
|
|
167
|
-
function
|
|
168
|
-
return makeGlobalNode({ service:
|
|
167
|
+
function configured8(options) {
|
|
168
|
+
return makeGlobalNode({ service: Service50, layer: layer23(options), deps: [nativeNode2] });
|
|
169
169
|
}
|
|
170
|
-
var
|
|
170
|
+
var node52 = configured8();
|
|
171
171
|
function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
172
172
|
if (!native || !backend) {
|
|
173
173
|
return Effect.logError("watcher backend not supported", { directory, platform: process.platform }).pipe(Effect.as(undefined));
|
|
@@ -187,4 +187,4 @@ function subscribeDirectory(native, backend, directory, ignore, publish) {
|
|
|
187
187
|
}).pipe(Effect.as(undefined))));
|
|
188
188
|
}
|
|
189
189
|
|
|
190
|
-
export {
|
|
190
|
+
export { Event9, hasNativeBinding2, Native3, Options8, Service50, Test3, layer23, testLayer3, nativeLayer2, nativeNode2, configured8, node52, exports_watcher };
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import {
|
|
2
2
|
__export
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-9rqn6x4v.js";
|
|
4
4
|
|
|
5
5
|
// src/v1/config/permission.ts
|
|
6
6
|
var exports_permission = {};
|
|
7
7
|
__export(exports_permission, {
|
|
8
8
|
Action: () => Action2,
|
|
9
9
|
ConfigPermissionV1: () => exports_permission,
|
|
10
|
-
Info: () =>
|
|
10
|
+
Info: () => Info16,
|
|
11
11
|
Object: () => Object2,
|
|
12
12
|
Rule: () => Rule2
|
|
13
13
|
});
|
|
@@ -33,9 +33,9 @@ var InputObject = Schema.StructWithRest(Schema.Struct({
|
|
|
33
33
|
}), [Schema.Record(Schema.String, Rule2)]);
|
|
34
34
|
var InputSchema = Schema.Union([Action2, InputObject]);
|
|
35
35
|
var normalizeInput = (input) => typeof input === "string" ? { "*": input } : input;
|
|
36
|
-
var
|
|
36
|
+
var Info16 = InputSchema.pipe(Schema.decodeTo(InputObject, {
|
|
37
37
|
decode: SchemaGetter.transform(normalizeInput),
|
|
38
38
|
encode: SchemaGetter.passthrough({ strict: false })
|
|
39
39
|
})).annotate({ identifier: "PermissionConfig" });
|
|
40
40
|
|
|
41
|
-
export { Action2, Object2, Rule2,
|
|
41
|
+
export { Action2, Object2, Rule2, Info16, exports_permission };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import {
|
|
2
2
|
SessionEvent2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-ec1grn59.js";
|
|
4
4
|
import {
|
|
5
5
|
toSessionError2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-693q9g8h.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/session/runner/retry.ts
|
|
12
12
|
var exports_retry = {};
|
|
13
13
|
__export(exports_retry, {
|
|
14
14
|
SessionRunnerRetry: () => exports_retry,
|
|
15
15
|
isRetryable: () => isRetryable2,
|
|
16
|
-
make: () =>
|
|
16
|
+
make: () => make10,
|
|
17
17
|
policy: () => policy2,
|
|
18
18
|
transient: () => transient2
|
|
19
19
|
});
|
|
@@ -99,7 +99,7 @@ var transient2 = (decide, input) => (effect) => Effect.retry(effect, {
|
|
|
99
99
|
return true;
|
|
100
100
|
})
|
|
101
101
|
});
|
|
102
|
-
var
|
|
102
|
+
var make10 = (bus, sessionID) => Effect.gen(function* () {
|
|
103
103
|
const decide = yield* policy2(sessionID);
|
|
104
104
|
const wait = (input) => Effect.gen(function* () {
|
|
105
105
|
const scheduled = yield* Clock.currentTimeMillis;
|
|
@@ -116,4 +116,4 @@ var make8 = (bus, sessionID) => Effect.gen(function* () {
|
|
|
116
116
|
return { decide, wait };
|
|
117
117
|
});
|
|
118
118
|
|
|
119
|
-
export { isRetryable2, policy2, transient2,
|
|
119
|
+
export { isRetryable2, policy2, transient2, make10, exports_retry };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import {
|
|
2
2
|
Service83,
|
|
3
3
|
node87
|
|
4
|
-
} from "./
|
|
4
|
+
} from "./skill-wechm0na.js";
|
|
5
5
|
import {
|
|
6
6
|
EventSequenceTable2,
|
|
7
7
|
EventTable2
|
|
8
|
-
} from "./
|
|
8
|
+
} from "./skill-2710q6r3.js";
|
|
9
9
|
import {
|
|
10
10
|
makeUnsafe2
|
|
11
|
-
} from "./
|
|
11
|
+
} from "./skill-y71avatq.js";
|
|
12
12
|
import {
|
|
13
13
|
__export
|
|
14
|
-
} from "./
|
|
14
|
+
} from "./skill-9rqn6x4v.js";
|
|
15
15
|
|
|
16
16
|
// src/bus.ts
|
|
17
17
|
var exports_bus = {};
|
|
18
18
|
__export(exports_bus, {
|
|
19
19
|
Bus: () => exports_bus,
|
|
20
20
|
InvalidDurableEventError: () => InvalidDurableEventError2,
|
|
21
|
-
Service: () =>
|
|
21
|
+
Service: () => Service81,
|
|
22
22
|
configured: () => configured12,
|
|
23
23
|
durable: () => durable2,
|
|
24
24
|
ephemeral: () => ephemeral2,
|
|
25
25
|
isSynced: () => isSynced2,
|
|
26
26
|
latestSequence: () => latestSequence2,
|
|
27
|
-
node: () =>
|
|
27
|
+
node: () => node85,
|
|
28
28
|
reserveSequence: () => reserveSequence2,
|
|
29
29
|
versionedType: () => versionedType2
|
|
30
30
|
});
|
|
@@ -76,13 +76,13 @@ var ephemeral2 = Event.ephemeral;
|
|
|
76
76
|
var isSynced2 = (item) => item.type === "log.synced";
|
|
77
77
|
var isDefinition = (input) => !Array.isArray(input);
|
|
78
78
|
|
|
79
|
-
class
|
|
79
|
+
class Service81 extends Context.Service()("@opencode/Bus") {
|
|
80
80
|
}
|
|
81
81
|
function configured12(options) {
|
|
82
82
|
return makeGlobalNode({
|
|
83
|
-
service:
|
|
83
|
+
service: Service81,
|
|
84
84
|
deps: [node87],
|
|
85
|
-
layer: Layer.effect(
|
|
85
|
+
layer: Layer.effect(Service81, Effect.gen(function* () {
|
|
86
86
|
const { Location } = yield* Effect.promise(() => import("../location.js"));
|
|
87
87
|
const { SessionTable } = yield* Effect.promise(() => import("../session/sql.js"));
|
|
88
88
|
const pubsub = {
|
|
@@ -525,7 +525,7 @@ function configured12(options) {
|
|
|
525
525
|
list.push((event) => projector(event));
|
|
526
526
|
projectors.set(key, list);
|
|
527
527
|
});
|
|
528
|
-
return
|
|
528
|
+
return Service81.of({
|
|
529
529
|
publish,
|
|
530
530
|
publishAll,
|
|
531
531
|
subscribe,
|
|
@@ -539,6 +539,6 @@ function configured12(options) {
|
|
|
539
539
|
}))
|
|
540
540
|
});
|
|
541
541
|
}
|
|
542
|
-
var
|
|
542
|
+
var node85 = configured12();
|
|
543
543
|
|
|
544
|
-
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2,
|
|
544
|
+
export { latestSequence2, reserveSequence2, InvalidDurableEventError2, versionedType2, durable2, ephemeral2, isSynced2, Service81, configured12, node85, exports_bus };
|
|
@@ -1,37 +1,37 @@
|
|
|
1
1
|
import {
|
|
2
|
-
Service82,
|
|
3
|
-
node86
|
|
4
|
-
} from "./model-resolver-jp646bv9.js";
|
|
5
|
-
import {
|
|
6
|
-
Service77,
|
|
7
|
-
node80
|
|
8
|
-
} from "./model-resolver-714t0x07.js";
|
|
9
|
-
import {
|
|
10
|
-
ID18,
|
|
11
2
|
Service81,
|
|
12
3
|
node85
|
|
13
|
-
} from "./
|
|
4
|
+
} from "./skill-g99y313h.js";
|
|
5
|
+
import {
|
|
6
|
+
Service79,
|
|
7
|
+
node83
|
|
8
|
+
} from "./skill-y0qh3t8c.js";
|
|
9
|
+
import {
|
|
10
|
+
ID12,
|
|
11
|
+
Service71,
|
|
12
|
+
node75
|
|
13
|
+
} from "./skill-b1v2fqtb.js";
|
|
14
14
|
import {
|
|
15
|
-
|
|
16
|
-
} from "./
|
|
15
|
+
NotFoundError9
|
|
16
|
+
} from "./skill-ybhbtxjg.js";
|
|
17
17
|
import {
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
} from "./
|
|
18
|
+
Service69,
|
|
19
|
+
node73
|
|
20
|
+
} from "./skill-ma9vr4v4.js";
|
|
21
21
|
import {
|
|
22
22
|
match2
|
|
23
|
-
} from "./
|
|
23
|
+
} from "./skill-y1fvbwt7.js";
|
|
24
24
|
import {
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
} from "./
|
|
25
|
+
Service68,
|
|
26
|
+
node72
|
|
27
|
+
} from "./skill-gf6ghjp7.js";
|
|
28
28
|
import {
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
} from "./
|
|
29
|
+
Service70,
|
|
30
|
+
node74
|
|
31
|
+
} from "./skill-pnaxc6j9.js";
|
|
32
32
|
import {
|
|
33
33
|
__export
|
|
34
|
-
} from "./
|
|
34
|
+
} from "./skill-9rqn6x4v.js";
|
|
35
35
|
|
|
36
36
|
// src/permission.ts
|
|
37
37
|
var exports_permission2 = {};
|
|
@@ -42,29 +42,29 @@ __export(exports_permission2, {
|
|
|
42
42
|
CorrectedError: () => CorrectedError2,
|
|
43
43
|
DeclinedError: () => DeclinedError2,
|
|
44
44
|
Effect: () => PermissionEffect,
|
|
45
|
-
Event: () =>
|
|
46
|
-
ID: () =>
|
|
47
|
-
NotFoundError: () =>
|
|
45
|
+
Event: () => Event15,
|
|
46
|
+
ID: () => ID9,
|
|
47
|
+
NotFoundError: () => NotFoundError8,
|
|
48
48
|
Permission: () => exports_permission2,
|
|
49
|
-
Reply: () =>
|
|
49
|
+
Reply: () => Reply2,
|
|
50
50
|
ReplyInput: () => ReplyInput2,
|
|
51
|
-
Request: () =>
|
|
51
|
+
Request: () => Request2,
|
|
52
52
|
Rule: () => Rule3,
|
|
53
53
|
Ruleset: () => Ruleset2,
|
|
54
|
-
Service: () =>
|
|
54
|
+
Service: () => Service67,
|
|
55
55
|
Source: () => Source5,
|
|
56
56
|
evaluate: () => evaluate2,
|
|
57
57
|
merge: () => merge2,
|
|
58
|
-
node: () =>
|
|
58
|
+
node: () => node71
|
|
59
59
|
});
|
|
60
60
|
import { makeLocationNode } from "@opencode/util/effect/app-node";
|
|
61
61
|
import { Context, Deferred, Effect, Layer, Schema } from "effect";
|
|
62
62
|
import { Permission } from "@opencode/schema/permission";
|
|
63
63
|
import { Rule as Rule3, Ruleset as Ruleset2 } from "@opencode/schema/permission";
|
|
64
|
-
import { Event as
|
|
64
|
+
import { Event as Event15 } from "@opencode/schema/permission";
|
|
65
65
|
var PermissionEffect = Permission.Effect;
|
|
66
66
|
var missingAgentPermissions = [{ action: "*", resource: "*", effect: "deny" }];
|
|
67
|
-
var
|
|
67
|
+
var ID9 = Permission.ID;
|
|
68
68
|
var Source5 = Permission.Source;
|
|
69
69
|
var RequestFields = {
|
|
70
70
|
sessionID: Permission.Request.fields.sessionID,
|
|
@@ -74,20 +74,20 @@ var RequestFields = {
|
|
|
74
74
|
metadata: Permission.Request.fields.metadata,
|
|
75
75
|
source: Permission.Request.fields.source
|
|
76
76
|
};
|
|
77
|
-
var
|
|
78
|
-
var
|
|
77
|
+
var Request2 = Permission.Request;
|
|
78
|
+
var Reply2 = Permission.Reply;
|
|
79
79
|
var AssertInput2 = Schema.Struct({
|
|
80
|
-
id:
|
|
80
|
+
id: ID9.pipe(Schema.optional),
|
|
81
81
|
...RequestFields,
|
|
82
|
-
agent:
|
|
82
|
+
agent: ID12.pipe(Schema.optional)
|
|
83
83
|
}).annotate({ identifier: "Permission.AssertInput" });
|
|
84
84
|
var ReplyInput2 = Schema.Struct({
|
|
85
|
-
requestID:
|
|
86
|
-
reply:
|
|
85
|
+
requestID: ID9,
|
|
86
|
+
reply: Reply2,
|
|
87
87
|
message: Schema.String.pipe(Schema.optional)
|
|
88
88
|
}).annotate({ identifier: "Permission.ReplyInput" });
|
|
89
89
|
var AskResult2 = Schema.Struct({
|
|
90
|
-
id:
|
|
90
|
+
id: ID9,
|
|
91
91
|
effect: Permission.Effect
|
|
92
92
|
}).annotate({ identifier: "Permission.AskResult" });
|
|
93
93
|
|
|
@@ -110,8 +110,8 @@ class BlockedError2 extends Schema.TaggedError()("Permission.BlockedError", {
|
|
|
110
110
|
}
|
|
111
111
|
}
|
|
112
112
|
|
|
113
|
-
class
|
|
114
|
-
requestID:
|
|
113
|
+
class NotFoundError8 extends Schema.TaggedError()("Permission.NotFoundError", {
|
|
114
|
+
requestID: ID9
|
|
115
115
|
}) {
|
|
116
116
|
}
|
|
117
117
|
function evaluate2(action, resource, ...rulesets) {
|
|
@@ -125,15 +125,15 @@ function merge2(...rulesets) {
|
|
|
125
125
|
return rulesets.flat();
|
|
126
126
|
}
|
|
127
127
|
|
|
128
|
-
class
|
|
128
|
+
class Service67 extends Context.Service()("@opencode/Permission") {
|
|
129
129
|
}
|
|
130
|
-
var layer = Layer.effect(
|
|
131
|
-
const bus = yield*
|
|
132
|
-
const location = yield*
|
|
133
|
-
const agents = yield*
|
|
134
|
-
const sessions = yield*
|
|
135
|
-
const saved = yield*
|
|
136
|
-
const hooks = yield*
|
|
130
|
+
var layer = Layer.effect(Service67, Effect.gen(function* () {
|
|
131
|
+
const bus = yield* Service81;
|
|
132
|
+
const location = yield* Service79;
|
|
133
|
+
const agents = yield* Service71;
|
|
134
|
+
const sessions = yield* Service69;
|
|
135
|
+
const saved = yield* Service68;
|
|
136
|
+
const hooks = yield* Service70;
|
|
137
137
|
const pending = new Map;
|
|
138
138
|
let closed = false;
|
|
139
139
|
const close = Effect.gen(function* () {
|
|
@@ -156,7 +156,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
156
156
|
const configured = Effect.fnUntraced(function* (sessionID, agentID) {
|
|
157
157
|
const session = yield* sessions.get(sessionID);
|
|
158
158
|
if (!session)
|
|
159
|
-
return yield* new
|
|
159
|
+
return yield* new NotFoundError9({ sessionID });
|
|
160
160
|
const agent = yield* agents.resolve(agentID ?? session.agent);
|
|
161
161
|
return merge2(agent?.permissions ?? missingAgentPermissions, session.permissions ?? []);
|
|
162
162
|
});
|
|
@@ -186,7 +186,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
186
186
|
});
|
|
187
187
|
function request(input, message) {
|
|
188
188
|
return {
|
|
189
|
-
id: input.id ??
|
|
189
|
+
id: input.id ?? ID9.create(),
|
|
190
190
|
sessionID: input.sessionID,
|
|
191
191
|
action: input.action,
|
|
192
192
|
resources: input.resources,
|
|
@@ -211,7 +211,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
211
211
|
}));
|
|
212
212
|
const ask = Effect.fn("Permission.ask")(function* (input) {
|
|
213
213
|
if (closed)
|
|
214
|
-
return { id: input.id ??
|
|
214
|
+
return { id: input.id ?? ID9.create(), effect: "deny" };
|
|
215
215
|
const result = yield* evaluateInput(input);
|
|
216
216
|
const value = request(input, result.message);
|
|
217
217
|
if (result.effect === "ask")
|
|
@@ -242,7 +242,7 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
242
242
|
const reply = Effect.fn("Permission.reply")((input) => Effect.uninterruptible(Effect.gen(function* () {
|
|
243
243
|
const existing = pending.get(input.requestID);
|
|
244
244
|
if (!existing)
|
|
245
|
-
return yield* new
|
|
245
|
+
return yield* new NotFoundError8({ requestID: input.requestID });
|
|
246
246
|
yield* bus.publish(Permission.Event.Replied, {
|
|
247
247
|
sessionID: existing.request.sessionID,
|
|
248
248
|
requestID: existing.request.id,
|
|
@@ -297,12 +297,12 @@ var layer = Layer.effect(Service73, Effect.gen(function* () {
|
|
|
297
297
|
const forSession = Effect.fn("Permission.forSession")(function* (sessionID) {
|
|
298
298
|
return Array.from(pending.values(), (item) => item.request).filter((request) => request.sessionID === sessionID);
|
|
299
299
|
});
|
|
300
|
-
return
|
|
300
|
+
return Service67.of({ ask, assert, reply, get, forSession, list, close });
|
|
301
301
|
}));
|
|
302
|
-
var
|
|
303
|
-
service:
|
|
302
|
+
var node71 = makeLocationNode({
|
|
303
|
+
service: Service67,
|
|
304
304
|
layer,
|
|
305
|
-
deps: [
|
|
305
|
+
deps: [node85, node83, node75, node73, node72, node74]
|
|
306
306
|
});
|
|
307
307
|
|
|
308
|
-
export { PermissionEffect,
|
|
308
|
+
export { PermissionEffect, ID9, Source5, Request2, Reply2, AssertInput2, ReplyInput2, AskResult2, DeclinedError2, CorrectedError2, BlockedError2, NotFoundError8, evaluate2, merge2, Service67, node71, exports_permission2, Rule3, Ruleset2, Event15 };
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import {
|
|
2
2
|
aisdk2
|
|
3
|
-
} from "./
|
|
3
|
+
} from "./skill-er04vdyn.js";
|
|
4
4
|
import {
|
|
5
5
|
VariantID2
|
|
6
|
-
} from "./
|
|
6
|
+
} from "./skill-sce6hqsn.js";
|
|
7
7
|
import {
|
|
8
8
|
__export
|
|
9
|
-
} from "./
|
|
9
|
+
} from "./skill-9rqn6x4v.js";
|
|
10
10
|
|
|
11
11
|
// src/variant.ts
|
|
12
12
|
var exports_variant = {};
|