@guanghechen/kit-video 0.5.5 → 0.5.8
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/README.md +1 -0
- package/lib/esm/cli.mjs +1 -1
- package/lib/esm/command-rAABScWO.mjs +1 -0
- package/lib/esm/index.mjs +1 -1
- package/package.json +8 -8
- package/lib/esm/command-0LxY1fbJ.mjs +0 -1
package/README.md
CHANGED
|
@@ -180,6 +180,7 @@ Supported transition types:
|
|
|
180
180
|
2. CLI entry passes `process.env` into `command.run({ envs })`.
|
|
181
181
|
3. commander merges user env with preset env (`<preset-root>/.env.local`).
|
|
182
182
|
4. CLI actions (including `checkhealth`) consume effective `ctx.envs`.
|
|
183
|
+
5. For provider calls, `ctx.envs` is passed explicitly along `command -> handle -> core` (no global runtime env binding, no `process.env` fallback in runtime).
|
|
183
184
|
|
|
184
185
|
For duplicated keys, preset env overrides user env.
|
|
185
186
|
|
package/lib/esm/cli.mjs
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
#!/usr/bin/env node
|
|
2
|
-
function
|
|
2
|
+
(function(_0xe16f59,_0x5d52f6){const _0x4d578b={_0x2114a9:0xf8,_0x44d4f6:0x10e,_0x5696d0:0xef,_0x109848:'(M#9',_0x1ace49:0x282,_0x18bb78:0x27d,_0x23a298:0x276,_0x26d5dd:'^HQx',_0x426052:0x28b,_0x27b3ca:0x276,_0x4c2ba2:0x283,_0x3913f6:0x263,_0xc76801:0x268,_0xb8c8ba:0x275,_0xe39bf:'eb48',_0x4b5f66:0xe6,_0x28b1e5:0xdb,_0x34c337:0xfc,_0x16e667:'%*G]',_0x2f8356:0x102,_0x13a8d4:0x247,_0x5a5958:0x257,_0x518448:'kYQd',_0x1ab50e:0x267,_0x322f6a:0x25c,_0x529c32:0x260,_0x1f6925:0x279,_0x11107d:'Kblw',_0x24ddb0:0x281,_0xd8043f:0x27e,_0x711aac:0x26d,_0x4d77e7:0x26c,_0x32376d:0x261,_0x40759d:'ULso',_0x2b7b9a:0x295,_0x38caaa:0x286,_0x1f92c4:'fpY$'},_0x3072e7={_0x3b45fc:0xad},_0x44672a={_0x75bfba:0xc9};function _0x1ed51f(_0x33a8b3,_0x296a15,_0x3bbcc7,_0x573533){return _0x2215(_0x3bbcc7-_0x44672a._0x75bfba,_0x573533);}function _0x4296a4(_0x5d1bdb,_0x1da829,_0x5442fd,_0x1eabe1){return _0x2215(_0x5d1bdb- -_0x3072e7._0x3b45fc,_0x1eabe1);}const _0x4f7ff5=_0xe16f59();while(!![]){try{const _0x4d4aa=-parseInt(_0x4296a4(_0x4d578b._0x2114a9,_0x4d578b._0x44d4f6,_0x4d578b._0x5696d0,_0x4d578b._0x109848))/(0x1b2f+0x1f28+-0x1d2b*0x2)*(-parseInt(_0x1ed51f(_0x4d578b._0x1ace49,_0x4d578b._0x18bb78,_0x4d578b._0x23a298,_0x4d578b._0x26d5dd))/(0x63b*-0x6+-0x9d9+0xfbf*0x3))+parseInt(_0x1ed51f(_0x4d578b._0x426052,_0x4d578b._0x27b3ca,_0x4d578b._0x4c2ba2,'f6YM'))/(0x1d6b+0x1756+-0x34be)+parseInt(_0x1ed51f(_0x4d578b._0x3913f6,_0x4d578b._0xc76801,_0x4d578b._0xb8c8ba,_0x4d578b._0xe39bf))/(-0x56d*0x1+-0x248*-0x10+-0x1f0f*0x1)*(-parseInt(_0x4296a4(_0x4d578b._0x4b5f66,_0x4d578b._0x28b1e5,_0x4d578b._0x34c337,_0x4d578b._0x16e667))/(0xa36*-0x1+0x1e93+-0x1458))+parseInt(_0x4296a4(0x10e,_0x4d578b._0x2f8356,_0x4d578b._0x2f8356,'0rs['))/(-0x1ac*-0xd+-0x1889+0x2d3)*(parseInt(_0x1ed51f(_0x4d578b._0x13a8d4,0x261,_0x4d578b._0x5a5958,_0x4d578b._0x518448))/(0x1e3f+0x2b*-0xac+-0x154))+-parseInt(_0x1ed51f(_0x4d578b._0x1ab50e,_0x4d578b._0x322f6a,_0x4d578b._0x529c32,'aVK7'))/(0x17*-0x1b1+0x100a+0x1*0x16e5)*(-parseInt(_0x1ed51f(0x28b,0x282,_0x4d578b._0x1f6925,_0x4d578b._0x11107d))/(-0xfb6*-0x1+0x6d*-0x1b+-0x42e))+parseInt(_0x1ed51f(_0x4d578b._0x24ddb0,_0x4d578b._0xd8043f,_0x4d578b._0x711aac,'f6YM'))/(-0x2042+0x14e*-0x1d+0x4622)+-parseInt(_0x1ed51f(_0x4d578b._0x4d77e7,0x278,_0x4d578b._0x32376d,_0x4d578b._0x40759d))/(0x2*-0xe42+-0x1eae+0x3b3d)*(parseInt(_0x1ed51f(0x28a,_0x4d578b._0x2b7b9a,_0x4d578b._0x38caaa,_0x4d578b._0x1f92c4))/(-0x19a4+-0x1*0x1d47+0x36f7));if(_0x4d4aa===_0x5d52f6)break;else _0x4f7ff5['push'](_0x4f7ff5['shift']());}catch(_0xfa866d){_0x4f7ff5['push'](_0x4f7ff5['shift']());}}}(_0x5c93,-0x1*-0x3666d+0x1*0x12881+-0x1475e));import{C as _0x422264,V as _0x156818}from'./command-rAABScWO.mjs';function _0x576803(_0x30a3b1,_0x44f591,_0x6fbf2,_0x16c7de){const _0x1d7af0={_0x50a7fe:0x1c1};return _0x2215(_0x44f591-_0x1d7af0._0x50a7fe,_0x30a3b1);}import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import'node:fs';function _0x2215(_0x4a3798,_0x11be8f){_0x4a3798=_0x4a3798-(-0x3*0x9a5+-0x3*-0x17b+0x1f*0xd7);const _0x3415ab=_0x5c93();let _0xf0f2a5=_0x3415ab[_0x4a3798];if(_0x2215['MIgfMG']===undefined){var _0xd269a4=function(_0x325774){const _0x449816='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x13c43b='',_0x3551b='';for(let _0x43444f=0x94c+0x1*-0xa5d+-0xd*-0x15,_0x3c2f29,_0x474248,_0xd278d5=0x2*0xf1c+-0x4*0x648+-0x2*0x28c;_0x474248=_0x325774['charAt'](_0xd278d5++);~_0x474248&&(_0x3c2f29=_0x43444f%(0x25*0x59+0x1a71+-0x274a)?_0x3c2f29*(-0xbf8+0x1043+-0x40b)+_0x474248:_0x474248,_0x43444f++%(0x6ad+0x1dcf*0x1+-0x2478))?_0x13c43b+=String['fromCharCode'](-0x16d+-0x2b3*-0xc+-0x1df8&_0x3c2f29>>(-(-0x2*-0x13e+-0xab6+0x83c*0x1)*_0x43444f&0x2*-0xae3+-0xb*-0x193+0x47b)):0x4d3*0x4+-0x5*-0x635+-0x3255){_0x474248=_0x449816['indexOf'](_0x474248);}for(let _0x3ed3b4=0xbfd+-0x155d*0x1+0xa*0xf0,_0x345fcc=_0x13c43b['length'];_0x3ed3b4<_0x345fcc;_0x3ed3b4++){_0x3551b+='%'+('00'+_0x13c43b['charCodeAt'](_0x3ed3b4)['toString'](0x1d0+0x1996+0x2*-0xdab))['slice'](-(-0x1041+0x1efc+-0xeb9));}return decodeURIComponent(_0x3551b);};const _0x2593f7=function(_0x42dd99,_0x21a80c){let _0x512d72=[],_0x942434=0x75*-0x35+0xae5*0x2+0x26f,_0x4c3c34,_0x478f66='';_0x42dd99=_0xd269a4(_0x42dd99);let _0x953d8b;for(_0x953d8b=0x1276+-0x2*0x935+-0xc;_0x953d8b<-0x1*0x59+-0xf2a+0x1083;_0x953d8b++){_0x512d72[_0x953d8b]=_0x953d8b;}for(_0x953d8b=-0x121d+0x1cd*0x13+-0x101a;_0x953d8b<0x12ad+0x1*0x959+-0x1b06;_0x953d8b++){_0x942434=(_0x942434+_0x512d72[_0x953d8b]+_0x21a80c['charCodeAt'](_0x953d8b%_0x21a80c['length']))%(-0x2567+0x2262+0x405),_0x4c3c34=_0x512d72[_0x953d8b],_0x512d72[_0x953d8b]=_0x512d72[_0x942434],_0x512d72[_0x942434]=_0x4c3c34;}_0x953d8b=-0x15c8+-0x18cc+0x174a*0x2,_0x942434=-0x7f*0x4a+-0x1*-0x47f+0x2037;for(let _0x850e6f=-0xef*0x23+0x6*0x1e2+0x1561;_0x850e6f<_0x42dd99['length'];_0x850e6f++){_0x953d8b=(_0x953d8b+(0x1b2f+0x1f28+-0x1d2b*0x2))%(0x63b*-0x6+-0x9d9+0x303b*0x1),_0x942434=(_0x942434+_0x512d72[_0x953d8b])%(0x1d6b+0x1756+-0x33c1),_0x4c3c34=_0x512d72[_0x953d8b],_0x512d72[_0x953d8b]=_0x512d72[_0x942434],_0x512d72[_0x942434]=_0x4c3c34,_0x478f66+=String['fromCharCode'](_0x42dd99['charCodeAt'](_0x850e6f)^_0x512d72[(_0x512d72[_0x953d8b]+_0x512d72[_0x942434])%(-0x56d*0x1+-0x248*-0x10+-0x1e13*0x1)]);}return _0x478f66;};_0x2215['bJNaYe']=_0x2593f7,_0x2215['OuQzQa']={},_0x2215['MIgfMG']=!![];}const _0x2e6ad3=_0x3415ab[0xa36*-0x1+0x1e93+-0x145d],_0x549a6c=_0x4a3798+_0x2e6ad3,_0xc6d8de=_0x2215['OuQzQa'][_0x549a6c];return!_0xc6d8de?(_0x2215['dvUCru']===undefined&&(_0x2215['dvUCru']=!![]),_0xf0f2a5=_0x2215['bJNaYe'](_0xf0f2a5,_0x11be8f),_0x2215['OuQzQa'][_0x549a6c]=_0xf0f2a5):_0xf0f2a5=_0xc6d8de,_0xf0f2a5;}import'node:path';import'@guanghechen/string';import'node:crypto';import'node:child_process';import'@guanghechen/env';import'node:os';const _0x4dc2bf={};_0x4dc2bf[_0x58c450(0x45c,0x448,'CXOe',0x442)+'x']=_0x422264;function _0x5c93(){const _0x22b272=['hY3cKmoL','WQVcO8kgW6FdPCkSnstdL1bGW7S','mGOXA2q','W79lWRi','W4RdOmkD','cHuXmeS','pSo9jG','WP7dPKPsBq','dt7cHSoRgW','u8kzWOmu','WPHgcmksW60','W7u5eSoIWQ/dI8kBWRK6WORcLtldUq','W7PxW4JcTKPNw8oJWPG5nXu','nLaJW5r7','b8ocW4G0WRtcJ8oMrfq','emo+dNNdTG','Fmo4WOxcHsu','W4VdOSkrW63dGq','iSkYWPRcG1K','hSkbrmkydIiXfG','W4hcRKRdHta','gG3cL0HPWRFcMLS','W7ddJ8k6Bq5LW4SXFW','WQOCWP/dTq','W7jqWP0tWQm2WPem','WOfcWQldO8oltZm','amk0dSkpWOS','W4yEb8kfW43dO0am','W44lt1npDSk6WQy','mabUW5ZcVmopDZDJWRpdMSoQ','s8oDD8kB','W4xdMLaAvG','WRr8v8k4','W6KmW6TTdgHDWQlcIdlcVmow','lCo7W6yuWRu','CSkLW4tcGtG','W7iBW7ClW4C','WR44ouj0W6a9Bq','hbu5pe4','W5rvyvHJ','bmogW4DlW4ddLSo3yK3dQmoXWRi','W7W/fCoKWQpdJSonWPKAWRhcJXS','W7hcMmoaqW9oW4O','y8k6W6xcHYC','W6akW6XRag0lWOlcQaNcPSo/W58','WQ8xW7q6wW','W5ldKe85tW','iCk/WOFcIe8','qtS4W5RcJa','eMTHWO7dKvfZwfOsWRtdNW','jSkrDf5SW6b2DCkuW5RcKmo6','wLnHzHpdQ2n3WRzqW77cLa'];_0x5c93=function(){return _0x22b272;};return _0x5c93();}const _0x32b872=new Reporter(_0x4dc2bf),_0x229e00=new _0x156818();_0x229e00['regis'+_0x576803('l!O8',0x35b,0x34b,0x365)+_0x58c450(0x439,0x43c,'eb48',0x438)+_0x576803('kYQd',0x35a,0x357,0x354)]();const _0x35c3a8={};_0x35c3a8[_0x58c450(0x41d,0x42f,'ioeV',0x436)+_0x58c450(0x44f,0x437,'ioeV',0x436)+'e']=_0x422264,_0x35c3a8[_0x58c450(0x451,0x43b,'tZLf',0x44a)]={},_0x35c3a8[_0x58c450(0x451,0x43b,'tZLf',0x44a)][_0x58c450(0x441,0x440,'CXOe',0x42c)]=_0x576803('ioeV',0x34c,0x359,0x351)+'nfig/'+'bash/'+_0x576803('o(Gg',0x35e,0x364,0x346)+'etion'+'s/'+_0x422264+_0x58c450(0x432,0x443,'(efk',0x43e),_0x35c3a8[_0x58c450(0x451,0x43b,'tZLf',0x44a)][_0x58c450(0x448,0x449,'fpY$',0x43a)]=_0x576803('(efk',0x369,0x355,0x383)+_0x576803('BJM*',0x350,0x368,0x34a)+_0x58c450(0x444,0x44f,'fTbO',0x44e)+_0x576803('VOm3',0x356,0x36c,0x33e)+_0x58c450(0x439,0x44d,'bppU',0x434)+'s/'+_0x422264+_0x58c450(0x44a,0x433,'aVK7',0x42d),_0x35c3a8[_0x58c450(0x451,0x43b,'tZLf',0x44a)][_0x576803('f6YM',0x35c,0x353,0x34d)]=_0x58c450(0x418,0x41c,'ioeV',0x407)+_0x576803('J5rd',0x34d,0x364,0x358)+'pwsh/'+_0x58c450(0x433,0x43a,'l!O8',0x42c)+'etion'+'s/'+_0x422264+'.ps1';function _0x58c450(_0x36ac04,_0xe19b49,_0xb8fcc,_0x4ef2f7){const _0x38427a={_0x593d5d:0x291};return _0x2215(_0xe19b49-_0x38427a._0x593d5d,_0xb8fcc);}_0x229e00[_0x576803('NWeG',0x372,0x383,0x37c)+_0x58c450(0x44a,0x44a,'$D)0',0x443)]('compl'+_0x576803(']TMX',0x375,0x38d,0x388),new CompletionCommand(_0x229e00,_0x35c3a8));try{await _0x229e00[_0x576803('l)(9',0x376,0x36f,0x360)]({'argv':process[_0x576803('0rs[',0x353,0x361,0x357)][_0x576803('tZLf',0x34e,0x33f,0x349)](0x1043+-0x1e4e+0x4af*0x3),'envs':process.env,'reporter':_0x32b872});}catch(_0x2b597b){_0x32b872['error'](_0x2b597b instanceof Error?_0x2b597b[_0x58c450(0x434,0x432,']TMX',0x42e)]??_0x2b597b[_0x58c450(0x425,0x430,'Ytr^',0x41a)+'ge']:String(_0x2b597b)),process['exitC'+_0x58c450(0x44f,0x444,'J5rd',0x435)]=-0x1*0x1b7d+0x20cc+-0x54e*0x1;}
|