@guanghechen/kit-video 0.5.5 → 0.5.7
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-CjLUYqby.mjs +1 -0
- package/lib/esm/index.mjs +1 -1
- package/package.json +1 -1
- 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(_0xea020a,_0x1f7a52){const _0x3e2913={_0x2da99e:0xf0,_0x529f15:0xec,_0x54d23c:'o#]m',_0x143954:0xa4,_0x94600:0xa6,_0x4de59e:']YfC',_0x5c3222:0xa0,_0x122ce3:0xf6,_0x54553d:0x101,_0x58d528:'HHp9',_0x337152:0xee,_0x545fda:0xcd,_0x4be818:'0T3!',_0xde1e7f:0x7a,_0x6e0cc9:'^&%h',_0xe5e7e6:0xde,_0x362d65:0x8b,_0x54b85e:0x8f,_0x446590:0x92,_0x23e611:0x100,_0x4f503b:0xfb,_0x5730af:0xf7,_0x3e3ffa:'0T3!',_0x4d6d23:0x82,_0x4e9ada:0x92,_0x25f664:0x10a},_0x348689={_0x38a7ed:0x72},_0x3d3153={_0x1ceda:0xd1};function _0x3f6ea7(_0x20f806,_0x154a23,_0x77d492,_0x4df531){return _0x11cf(_0x20f806- -_0x3d3153._0x1ceda,_0x77d492);}function _0x1f6dc9(_0x196a6d,_0x43a97c,_0x3e303a,_0x35adf3){return _0x11cf(_0x3e303a- -_0x348689._0x38a7ed,_0x35adf3);}const _0x12d30e=_0xea020a();while(!![]){try{const _0x2d596d=parseInt(_0x1f6dc9(_0x3e2913._0x2da99e,_0x3e2913._0x529f15,0xeb,_0x3e2913._0x54d23c))/(0x1*-0x114f+-0x13*0x65+-0x57*-0x49)+parseInt(_0x3f6ea7(_0x3e2913._0x143954,_0x3e2913._0x94600,_0x3e2913._0x4de59e,_0x3e2913._0x5c3222))/(-0x15e6+-0x24f1+0x3ad9)+parseInt(_0x1f6dc9(_0x3e2913._0x122ce3,0x112,_0x3e2913._0x54553d,_0x3e2913._0x58d528))/(-0x7aa+0x1f3*0xb+-0x4*0x371)*(-parseInt(_0x1f6dc9(_0x3e2913._0x337152,_0x3e2913._0x545fda,0xdf,_0x3e2913._0x4be818))/(0xfa1+0xad*0x23+0x2*-0x13a2))+-parseInt(_0x3f6ea7(0x8e,_0x3e2913._0xde1e7f,_0x3e2913._0x6e0cc9,0x84))/(-0x26c6+0x2*0x1035+0x661)*(parseInt(_0x1f6dc9(0xf1,_0x3e2913._0x337152,_0x3e2913._0xe5e7e6,'OqPP'))/(0x172f+0x2254+0x1*-0x397d))+-parseInt(_0x3f6ea7(_0x3e2913._0x362d65,_0x3e2913._0x54b85e,'xQrc',_0x3e2913._0x446590))/(-0x67f+0xc4a+-0x5c4)*(parseInt(_0x1f6dc9(_0x3e2913._0x23e611,_0x3e2913._0x4f503b,_0x3e2913._0x5730af,_0x3e2913._0x3e3ffa))/(0x3*0x274+-0xc2d+0x1*0x4d9))+-parseInt(_0x3f6ea7(_0x3e2913._0x4d6d23,_0x3e2913._0x4e9ada,'Sm&L',0x7a))/(-0x2*-0xa7+0x11a0+-0x12e5*0x1)+parseInt(_0x1f6dc9(_0x3e2913._0x25f664,0x10b,0xf5,'99B7'))/(-0xa30*0x1+0x3*0x69+0x8ff);if(_0x2d596d===_0x1f7a52)break;else _0x12d30e['push'](_0x12d30e['shift']());}catch(_0x46cff4){_0x12d30e['push'](_0x12d30e['shift']());}}}(_0x3e55,0x24f56+-0x19*0x1f26+0xb*0x5f22));import{C as _0x2b1649,V as _0x2de3f6}from'./command-CjLUYqby.mjs';function _0x3e55(){const _0x548d18=['WO3dG2vAWRWjqIG','uInaWOtdUGRcKCo4k8oNdSoA','WP3cL8oqgSkdChTAAf4jBG','v8oyzSoWi8k5W4xdG1G0q30','BJCtomooWOPFEW','WOPBnComoG','smomW5ZdIKO','tCkscCkSWP0','W4Lyl8ommW','aSoCWQvom2NcSNmlDSkqWOW','W4NdLd7dSa','W6OBfsBdSq','WP0lBCkmymkFeCoFBZ7cICkfWQ4','zGpdKSohsG','pd/dHadcKGxcV8kB','tCksa8kTWOy','WR5UWP98WRzVi8o4eeRdG3e','WQeFd3G','vCkmWP/dMuK','xrCdWOzk','W5W5WQJcOa','W4xcMMDCWOq','W59JAtVcOG','WQDJW6lcGcG','iJq5W5W8sG5KySkdWOS','fKtdNG','daFcJSonW4erWPRcVXRcJ8kUsa','ECoHW4tcGryzWOW0','s0pdL8kAWP8','WQLBWOXGWQlcUbxcTmoNWPlcTW','iYHyf8oz','v8kcW7Kj','DbFdJSocca','WRXwt3VcR8kRW7jXdmkkmxm','mZxdTaxcGqlcRmkO','WOPTW509qSotoYe','WOFdGImaW4r0DsD/C8kuwa','xHusWO0','W4NdTSoSWRCJ','W6mrWPiCuG','W61aW4rkeeCpDCk7g8kEvG','cqSQpt0','zSo8u8k+Bq','WQbWW6pcH3u'];_0x3e55=function(){return _0x548d18;};return _0x3e55();}import{CompletionCommand}from'@guanghechen/commander/node';import{Reporter}from'@guanghechen/reporter';import'node:fs';import'node:path';function _0x1932e5(_0x19defc,_0x33e247,_0x230891,_0x2bb2e4){const _0x2c2427={_0x2c3037:0x50};return _0x11cf(_0x19defc- -_0x2c2427._0x2c3037,_0x33e247);}function _0x11cf(_0x38ac05,_0x20d37c){_0x38ac05=_0x38ac05-(-0x8a*0x17+-0x30e*-0x5+-0x195);const _0x55790f=_0x3e55();let _0x39fb61=_0x55790f[_0x38ac05];if(_0x11cf['lHqOVJ']===undefined){var _0x1de26f=function(_0x3eee02){const _0x1bd13a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2c2e99='',_0x3de621='';for(let _0x7d5639=-0x21e7+0x2*0xa51+0xd45,_0x23410b,_0x31314d,_0x5eb0ee=-0x1fa5+0x6c*0x1+-0x1f39*-0x1;_0x31314d=_0x3eee02['charAt'](_0x5eb0ee++);~_0x31314d&&(_0x23410b=_0x7d5639%(0x2*-0x1+-0x20b5+0x20bb)?_0x23410b*(-0xd7d*-0x2+-0x254a+0x10*0xa9)+_0x31314d:_0x31314d,_0x7d5639++%(-0x89*0xd+-0x21b3+0x1*0x28ac))?_0x2c2e99+=String['fromCharCode'](0x5c*0x7+-0xa43+0x8be&_0x23410b>>(-(0x3*0xbd3+-0x709*-0x1+0x50*-0x88)*_0x7d5639&-0x20a0+-0x22ec+0x4392)):0x4cd*-0x5+0xee6+-0x103*-0x9){_0x31314d=_0x1bd13a['indexOf'](_0x31314d);}for(let _0x25dffd=-0x14d3+-0x12ca+0x279d,_0x5b3735=_0x2c2e99['length'];_0x25dffd<_0x5b3735;_0x25dffd++){_0x3de621+='%'+('00'+_0x2c2e99['charCodeAt'](_0x25dffd)['toString'](0xb*0x241+-0x1f0d+0x652*0x1))['slice'](-(0x1d45*-0x1+-0x352+0x2099));}return decodeURIComponent(_0x3de621);};const _0x453395=function(_0x359ca0,_0xef904){let _0x401913=[],_0x1a1452=-0x59*0x53+0x1*-0x76f+0x1225*0x2,_0x2591a1,_0x5e49ea='';_0x359ca0=_0x1de26f(_0x359ca0);let _0x22d839;for(_0x22d839=-0x20f5+0x10e4+-0x9*-0x1c9;_0x22d839<-0xa46+-0x203*0x10+0x2b76;_0x22d839++){_0x401913[_0x22d839]=_0x22d839;}for(_0x22d839=0x2553+0x7*-0x36a+-0xd6d;_0x22d839<0x1*-0x704+-0x215*0x9+0x1ac1;_0x22d839++){_0x1a1452=(_0x1a1452+_0x401913[_0x22d839]+_0xef904['charCodeAt'](_0x22d839%_0xef904['length']))%(-0x19f2+-0x1df0+0x38e2),_0x2591a1=_0x401913[_0x22d839],_0x401913[_0x22d839]=_0x401913[_0x1a1452],_0x401913[_0x1a1452]=_0x2591a1;}_0x22d839=0x2256+-0x2340+-0x6*-0x27,_0x1a1452=0x1*-0x114f+-0x13*0x65+-0xfe*-0x19;for(let _0x36637e=-0x15e6+-0x24f1+0x3ad7;_0x36637e<_0x359ca0['length'];_0x36637e++){_0x22d839=(_0x22d839+(-0x7aa+0x1f3*0xb+-0x2b*0x52))%(0xfa1+0xad*0x23+0x8*-0x4c9),_0x1a1452=(_0x1a1452+_0x401913[_0x22d839])%(-0x26c6+0x2*0x1035+0x75c),_0x2591a1=_0x401913[_0x22d839],_0x401913[_0x22d839]=_0x401913[_0x1a1452],_0x401913[_0x1a1452]=_0x2591a1,_0x5e49ea+=String['fromCharCode'](_0x359ca0['charCodeAt'](_0x36637e)^_0x401913[(_0x401913[_0x22d839]+_0x401913[_0x1a1452])%(0x172f+0x2254+0x1*-0x3883)]);}return _0x5e49ea;};_0x11cf['ZcBqPc']=_0x453395,_0x11cf['ypawGM']={},_0x11cf['lHqOVJ']=!![];}const _0x354867=_0x55790f[-0x67f+0xc4a+-0x5cb],_0x36a575=_0x38ac05+_0x354867,_0x314775=_0x11cf['ypawGM'][_0x36a575];return!_0x314775?(_0x11cf['dEffYk']===undefined&&(_0x11cf['dEffYk']=!![]),_0x39fb61=_0x11cf['ZcBqPc'](_0x39fb61,_0x20d37c),_0x11cf['ypawGM'][_0x36a575]=_0x39fb61):_0x39fb61=_0x314775,_0x39fb61;}import'@guanghechen/string';import'node:crypto';import'node:child_process';import'@guanghechen/env';import'node:os';const _0x5afc03={};_0x5afc03[_0x9ff18b(0x33e,0x351,'fMHb',0x350)+'x']=_0x2b1649;const _0x384696=new Reporter(_0x5afc03),_0x40b07b=new _0x2de3f6();_0x40b07b['regis'+'terSu'+_0x9ff18b(0x357,0x34f,'0Q)8',0x35b)+_0x9ff18b(0x33b,0x335,'7a8V',0x336)]();const _0x384ed5={};_0x384ed5[_0x1932e5(0x112,'fMHb',0x105,0x112)+'amNam'+'e']=_0x2b1649,_0x384ed5[_0x1932e5(0x120,'Sm&L',0x125,0x123)]={},_0x384ed5[_0x1932e5(0x120,'Sm&L',0x125,0x123)][_0x1932e5(0x115,'ZE2V',0x10d,0x111)]=_0x9ff18b(0x343,0x358,'zK(S',0x342)+'nfig/'+_0x1932e5(0x122,'uStd',0x12f,0x138)+'compl'+_0x9ff18b(0x35e,0x34d,'OqPP',0x33f)+'s/'+_0x2b1649+_0x1932e5(0x124,']YfC',0x119,0x11b),_0x384ed5[_0x1932e5(0x120,'Sm&L',0x125,0x123)]['fish']=_0x9ff18b(0x329,0x334,'^&%h',0x332)+'nfig/'+_0x9ff18b(0x330,0x33d,'P3rx',0x34c)+_0x1932e5(0x105,'rfJ$',0xf0,0xf2)+'etion'+'s/'+_0x2b1649+_0x1932e5(0x110,'99B7',0x125,0x11c);function _0x9ff18b(_0x29e4aa,_0x313a64,_0x12f649,_0x1f2fb7){return _0x11cf(_0x313a64-0x1e7,_0x12f649);}_0x384ed5[_0x1932e5(0x120,'Sm&L',0x125,0x123)][_0x9ff18b(0x343,0x33b,'7KoW',0x350)]=_0x9ff18b(0x343,0x348,'z)58',0x34c)+'nfig/'+_0x1932e5(0xff,'0Q)8',0x103,0xf5)+'compl'+'etion'+'s/'+_0x2b1649+_0x9ff18b(0x34a,0x353,'OqPP',0x35d),_0x40b07b[_0x1932e5(0x11e,'7KoW',0x11b,0x10c)+_0x1932e5(0x108,'FckW',0x11c,0xf2)](_0x9ff18b(0x34b,0x354,'z)58',0x356)+'etion',new CompletionCommand(_0x40b07b,_0x384ed5));try{await _0x40b07b['run']({'argv':process[_0x1932e5(0x11f,'a%M%',0x10f,0x129)]['slice'](-0x1*0x2f+0xefc+-0x21d*0x7),'envs':process.env,'reporter':_0x384696});}catch(_0x55930f){_0x384696[_0x1932e5(0x10a,'uStd',0x120,0xfa)](_0x55930f instanceof Error?_0x55930f[_0x9ff18b(0x330,0x332,']YfC',0x31e)]??_0x55930f[_0x1932e5(0x113,'99B7',0x112,0x10d)+'ge']:String(_0x55930f)),process['exitC'+'ode']=0x1*-0x144d+0x60+0x9f7*0x2;}
|