@guanghechen/kit-video 0.4.0 → 0.5.1

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.
@@ -1,6 +1,7 @@
1
- import { Command } from '@guanghechen/commander';
1
+ import { Command } from '@guanghechen/commander/node';
2
2
 
3
3
  declare class VideoCommand extends Command {
4
+ static ensurePresetRoot(): void;
4
5
  constructor();
5
6
  /** Register all subcommands */
6
7
  registerSubcommands(): this;
package/lib/esm/index.mjs CHANGED
@@ -1 +1 @@
1
- (function(_0xd900f0,_0x3e1b7f){var _0x5800b4={_0x3d07ee:'Z*Nl',_0xc34419:0x221,_0x3499e5:0x22a,_0x2569ec:0x229,_0x28404d:0x21f,_0xfa0681:0x226,_0x2ee4c1:0x227,_0x561a85:'Jy1C',_0x1f30fd:0x237,_0x30def9:'*qjF',_0x11396a:'68KQ',_0x1f6d32:0x3e8,_0x3b0146:'mSYQ',_0x3b8da5:0x223,_0x4390f9:0x3d5,_0x3cbaea:0x3de,_0x218b9f:0x3dc,_0xdb3805:'!RSV',_0x11ab25:0x3ea,_0x2bf2d5:0x3e2,_0x14f412:'!ah[',_0xc8902d:0x22c,_0x149791:0x222,_0x5d9e3b:0x224,_0x1e91f3:'W!4t',_0x5c4b0d:0x3dd,_0x1f1fe6:0x3e5,_0x145e70:'SVu*',_0x2f8dfe:0x21e},_0x36dca7={_0x50f305:0x315},_0x111e13={_0x2e163f:0x2fa};function _0x9e7427(_0x3c41e7,_0x759541,_0x3f1dd5,_0x2b0160){return _0x2d7d(_0x3f1dd5-_0x111e13._0x2e163f,_0x3c41e7);}function _0x5445f8(_0x32c701,_0x3819f2,_0x672e9c,_0x47aca5){return _0x2d7d(_0x47aca5- -_0x36dca7._0x50f305,_0x32c701);}var _0x587984=_0xd900f0();while(!![]){try{var _0x2ae644=-parseInt(_0x5445f8(_0x5800b4._0x3d07ee,-_0x5800b4._0xc34419,-_0x5800b4._0x3499e5,-_0x5800b4._0x2569ec))/(0x26e8+0x50*0x52+-0x4087)+-parseInt(_0x5445f8('Jy1C',-_0x5800b4._0x28404d,-_0x5800b4._0xfa0681,-_0x5800b4._0x2ee4c1))/(-0x65*0x1f+-0x1d9*-0x3+-0x2*-0x359)*(parseInt(_0x5445f8(_0x5800b4._0x561a85,-_0x5800b4._0x1f30fd,-_0x5800b4._0x2ee4c1,-0x230))/(-0x1a85+0xf93*-0x1+-0x1*-0x2a1b))+parseInt(_0x5445f8(_0x5800b4._0x30def9,-_0x5800b4._0xc34419,-_0x5800b4._0xc34419,-0x226))/(0xf7f+0x8cf+-0x184a)*(parseInt(_0x9e7427(_0x5800b4._0x11396a,_0x5800b4._0x1f6d32,0x3e7,0x3dd))/(0xd2+0x1714+0x17e1*-0x1))+-parseInt(_0x5445f8(_0x5800b4._0x3b0146,-_0x5800b4._0x28404d,-0x224,-_0x5800b4._0x3b8da5))/(0x1ce+-0x51b*0x5+0x1*0x17bf)*(parseInt(_0x9e7427('#CK!',_0x5800b4._0x4390f9,_0x5800b4._0x3cbaea,_0x5800b4._0x218b9f))/(-0x25b8+-0x1*-0xe8f+0x1730))+parseInt(_0x9e7427(_0x5800b4._0xdb3805,0x3f4,_0x5800b4._0x11ab25,_0x5800b4._0x2bf2d5))/(-0x9*0x3e5+-0x4af+-0x9f1*-0x4)+parseInt(_0x5445f8(_0x5800b4._0x14f412,-_0x5800b4._0xc8902d,-_0x5800b4._0x149791,-_0x5800b4._0x5d9e3b))/(-0x1df0*-0x1+0x2b*0xb5+-0x1f2*0x1f)+parseInt(_0x9e7427(_0x5800b4._0x1e91f3,_0x5800b4._0x5c4b0d,_0x5800b4._0x1f1fe6,0x3e0))/(0x25da+0x23*-0x7f+0x5*-0x417)*(-parseInt(_0x5445f8(_0x5800b4._0x145e70,-0x221,-_0x5800b4._0x2f8dfe,-_0x5800b4._0x149791))/(0x204b+-0x1c7c+0x1e2*-0x2));if(_0x2ae644===_0x3e1b7f)break;else _0x587984['push'](_0x587984['shift']());}catch(_0x4fb76c){_0x587984['push'](_0x587984['shift']());}}}(_0x54f8,-0x5*0x41176+-0x13c56a+0x34f27b));export{V as default}from'./command-BBJNCMLk.mjs';import'@guanghechen/commander';import'node:module';import'@guanghechen/string';import'node:fs';import'node:path';import'@guanghechen/env';import'node:os';import'node:crypto';function _0x2d7d(_0xd900f0,_0x3e1b7f){_0xd900f0=_0xd900f0-(-0x1*0x12cd+-0x11*-0x46+-0xf09*-0x1);var _0x587984=_0x54f8();var _0x2ae644=_0x587984[_0xd900f0];if(_0x2d7d['ejLeiv']===undefined){var _0x4fb76c=function(_0x47f1a2){var _0xd561a8='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x2e5f40='',_0x4ffb81='';for(var _0x4d203a=-0x4cd*-0x8+0x1e65+-0x135*0x39,_0x51803d,_0x14a0d2,_0x27e3a8=0x1ca8+-0x376*-0xa+0x1fa2*-0x2;_0x14a0d2=_0x47f1a2['charAt'](_0x27e3a8++);~_0x14a0d2&&(_0x51803d=_0x4d203a%(0x1d93+-0x1166+0xb*-0x11b)?_0x51803d*(0x1ac6+-0xff2+-0xa94)+_0x14a0d2:_0x14a0d2,_0x4d203a++%(-0x26b*-0x7+-0x68c*0x1+-0xa5d))?_0x2e5f40+=String['fromCharCode'](-0x11a5+-0xcd3*0x2+0x2c4a&_0x51803d>>(-(-0xd06*0x2+-0xb82*0x1+0x2590)*_0x4d203a&0x693*0x3+0x133d+-0x70*0x59)):-0x1de8+0x1*-0x22a8+0x4090){_0x14a0d2=_0xd561a8['indexOf'](_0x14a0d2);}for(var _0x5e4427=0x1d27+-0x2565+0x83e,_0x18228b=_0x2e5f40['length'];_0x5e4427<_0x18228b;_0x5e4427++){_0x4ffb81+='%'+('00'+_0x2e5f40['charCodeAt'](_0x5e4427)['toString'](-0x20d*0x7+-0x181f+0x268a))['slice'](-(-0xed8+-0x1d41+-0x1*-0x2c1b));}return decodeURIComponent(_0x4ffb81);};var _0x1a8e83=function(_0x40cdd6,_0x57226b){var _0x3875da=[],_0x8efd34=0xbc5+-0x11bd+0x5f8,_0x49ebcd,_0x1e4831='';_0x40cdd6=_0x4fb76c(_0x40cdd6);var _0x553836;for(_0x553836=-0xc88+-0x530+-0x48*-0x3f;_0x553836<0x26e8+0x50*0x52+-0x3f88;_0x553836++){_0x3875da[_0x553836]=_0x553836;}for(_0x553836=-0x65*0x1f+-0x1d9*-0x3+-0x4*-0x1ac;_0x553836<-0x1a85+0xf93*-0x1+-0x7*-0x628;_0x553836++){_0x8efd34=(_0x8efd34+_0x3875da[_0x553836]+_0x57226b['charCodeAt'](_0x553836%_0x57226b['length']))%(0xf7f+0x8cf+-0x174e),_0x49ebcd=_0x3875da[_0x553836],_0x3875da[_0x553836]=_0x3875da[_0x8efd34],_0x3875da[_0x8efd34]=_0x49ebcd;}_0x553836=0xd2+0x1714+0x85*-0x2e,_0x8efd34=0x1ce+-0x51b*0x5+0x1*0x17b9;for(var _0x1be328=-0x25b8+-0x1*-0xe8f+0x1729;_0x1be328<_0x40cdd6['length'];_0x1be328++){_0x553836=(_0x553836+(-0x9*0x3e5+-0x4af+-0x27bd*-0x1))%(-0x1df0*-0x1+0x2b*0xb5+-0x565*0xb),_0x8efd34=(_0x8efd34+_0x3875da[_0x553836])%(0x25da+0x23*-0x7f+0x3*-0x67f),_0x49ebcd=_0x3875da[_0x553836],_0x3875da[_0x553836]=_0x3875da[_0x8efd34],_0x3875da[_0x8efd34]=_0x49ebcd,_0x1e4831+=String['fromCharCode'](_0x40cdd6['charCodeAt'](_0x1be328)^_0x3875da[(_0x3875da[_0x553836]+_0x3875da[_0x8efd34])%(0x204b+-0x1c7c+0x2cf*-0x1)]);}return _0x1e4831;};_0x2d7d['AnKEUY']=_0x1a8e83,_0x2d7d['zomMqR']={},_0x2d7d['ejLeiv']=!![];}var _0x21788a=_0x587984[-0x2*0xf7a+-0x1e16+0x3d0a],_0x2210bc=_0xd900f0+_0x21788a,_0x222f97=_0x2d7d['zomMqR'][_0x2210bc];return!_0x222f97?(_0x2d7d['fJZQJG']===undefined&&(_0x2d7d['fJZQJG']=!![]),_0x2ae644=_0x2d7d['AnKEUY'](_0x2ae644,_0x3e1b7f),_0x2d7d['zomMqR'][_0x2210bc]=_0x2ae644):_0x2ae644=_0x222f97,_0x2ae644;}import'node:child_process';import'@guanghechen/reporter';function _0x54f8(){var _0x42fcb1=['z8otwSkIW6/cPrFdG8k4WRhcH8kk','W7SjW5rvWR3cS8kGWOtdJmo/W6jiWPVdOW','sYThiG0Uuwu3xSocW7i','WP9nW685qGXHW5GpW4pdHq','lLC5dtTjWPP6h8kZ','l8kRdf7cJSoGxfJdLq7dTJC','jmkBW6yCwM54jSkD','A2XwE8oIeCotW6DRWRaDW48','brZdNZpcUmoKWPldVmk+W7a2WQq','W4yoW5zmWPddQ8o6WPpdU8o+W5WOna','W5qXq8kxWPxdLCoGCsiesCknW5ldLa','W4NdL8ofWQeIW6tdSI9eya','W75dF8klWPxcQbP5Emocgq','jCkJdGxdTSkyxhddNG','WPb8wZdcOmk0na','WOBcS0VcHmkgimkHxvXrW6jzWQm','WOGoW5uSWR/cQZzLW6/dKmo1','BJmhpCkvq8oj','WQpcOCkqWOtcGCoihmohW6fn'];_0x54f8=function(){return _0x42fcb1;};return _0x54f8();}
1
+ (function(_0x5370d3,_0x454cd5){var _0x25e1d9={_0x4d85af:0x29f,_0x371285:0x2a7,_0x10abe8:0x2a4,_0x5357db:0x29c,_0x2b4da5:0x299,_0x2f1486:'j4SZ',_0x4d9534:0x2a8,_0x292ebd:0x2a0,_0x4dde12:0x2a2,_0x1e1d7b:'#%J[',_0x849fa5:0x194,_0x71e85f:0x18c,_0x4c02a6:0x2a2,_0x5342d0:0x2a4,_0x4d3ab4:'0]WT',_0x46e694:0x184,_0x29f647:0x17f,_0xdf6f74:0x297,_0xcd1e91:'q#xk',_0x3a801e:0x17c,_0x2027f2:0x184,_0x45073a:'!e!i',_0x39d1d9:0x198,_0xd67bc5:0x193,_0x5765ff:0x2af,_0x52241d:0x2ae},_0x53ddc7={_0x47934b:0x107},_0x3f5dc1={_0x275396:0x10};function _0x10f6a4(_0x5924aa,_0x330be0,_0x332f6c,_0x13514a){return _0x3297(_0x13514a- -_0x3f5dc1._0x275396,_0x330be0);}function _0x46fd87(_0x2892f8,_0x2e1385,_0x530966,_0x233740){return _0x3297(_0x2892f8-_0x53ddc7._0x47934b,_0x233740);}var _0x33363e=_0x5370d3();while(!![]){try{var _0x38d5f4=parseInt(_0x46fd87(_0x25e1d9._0x4d85af,_0x25e1d9._0x371285,_0x25e1d9._0x10abe8,'6HAv'))/(-0x1*-0x1ab1+-0xa6*-0x3+-0x1ca2)+parseInt(_0x46fd87(_0x25e1d9._0x5357db,_0x25e1d9._0x2b4da5,0x2a1,_0x25e1d9._0x2f1486))/(-0x21a7+-0x24ec+0x4695)*(parseInt(_0x46fd87(_0x25e1d9._0x4d9534,_0x25e1d9._0x292ebd,_0x25e1d9._0x4dde12,'R]PM'))/(0x499*0x8+-0x1855+-0xc7*0x10))+parseInt(_0x10f6a4(0x193,_0x25e1d9._0x1e1d7b,_0x25e1d9._0x849fa5,_0x25e1d9._0x71e85f))/(0x6ec+0xb46+-0x1a*0xb3)+-parseInt(_0x46fd87(_0x25e1d9._0x4c02a6,_0x25e1d9._0x5342d0,0x29b,_0x25e1d9._0x4d3ab4))/(-0x255a+0x223*-0x8+0x3677)*(parseInt(_0x10f6a4(_0x25e1d9._0x46e694,'&jjU',_0x25e1d9._0x29f647,0x187))/(-0x178d*-0x1+-0x33*0x1+-0x1754))+-parseInt(_0x46fd87(0x29d,_0x25e1d9._0xdf6f74,0x2a2,_0x25e1d9._0xcd1e91))/(-0x4*0x8d7+-0x239d+-0x11c0*-0x4)*(parseInt(_0x10f6a4(0x17f,'cgQr',_0x25e1d9._0x3a801e,_0x25e1d9._0x2027f2))/(-0x54a+0x1425+0x4f1*-0x3))+parseInt(_0x10f6a4(0x197,_0x25e1d9._0x45073a,_0x25e1d9._0x39d1d9,_0x25e1d9._0xd67bc5))/(-0x1b7*0x2+0x5be+0x35*-0xb)+-parseInt(_0x46fd87(0x2a7,_0x25e1d9._0x5765ff,_0x25e1d9._0x52241d,']&YL'))/(-0x1b98*0x1+-0x42b*-0x6+0xc*0x38);if(_0x38d5f4===_0x454cd5)break;else _0x33363e['push'](_0x33363e['shift']());}catch(_0x5c02f0){_0x33363e['push'](_0x33363e['shift']());}}}(_0x2cbb,0x1f96c+0xc8467+0x5*-0x114e7));export{V as default}from'./command-DEMuYjQ6.mjs';import'@guanghechen/commander/node';import'node:fs';import'node:path';import'@guanghechen/string';import'@guanghechen/env';function _0x3297(_0x3232d4,_0x19b6db){_0x3232d4=_0x3232d4-(-0x167d+-0x296*-0xe+0xef*-0xd);var _0x49d2d1=_0x2cbb();var _0x581893=_0x49d2d1[_0x3232d4];if(_0x3297['jWMEOy']===undefined){var _0x576aa4=function(_0x5e9022){var _0x38d6cd='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';var _0x1d76fe='',_0x2fdf35='';for(var _0x5801d5=0x1*-0x1f3f+0x32a*-0x2+-0x1*-0x2593,_0x46daaf,_0x5d6f15,_0x5a8d12=-0x86a+0xe*0xe5+-0x41c;_0x5d6f15=_0x5e9022['charAt'](_0x5a8d12++);~_0x5d6f15&&(_0x46daaf=_0x5801d5%(-0x8*-0x3a6+-0x150d+-0x81f)?_0x46daaf*(0xbbf+0x1*0x542+-0x10c1)+_0x5d6f15:_0x5d6f15,_0x5801d5++%(-0xe75*-0x1+-0x161f*-0x1+-0x2490))?_0x1d76fe+=String['fromCharCode'](0x1523*-0x1+-0x1321+-0x7*-0x5e5&_0x46daaf>>(-(0x411+-0x1*-0x14d8+-0x18e7)*_0x5801d5&0x178c+0x1*-0x1e89+-0x5*-0x167)):-0x782+-0x241*-0x4+-0x2*0xc1){_0x5d6f15=_0x38d6cd['indexOf'](_0x5d6f15);}for(var _0x4fcdb4=0x1d*0x6d+0x2a*-0xe2+0x18bb,_0x1f2ee3=_0x1d76fe['length'];_0x4fcdb4<_0x1f2ee3;_0x4fcdb4++){_0x2fdf35+='%'+('00'+_0x1d76fe['charCodeAt'](_0x4fcdb4)['toString'](0x777+-0x164b+0xee4))['slice'](-(0x199f+0x1*-0x178d+-0x210));}return decodeURIComponent(_0x2fdf35);};var _0x2b83b8=function(_0x238fec,_0x4d43ba){var _0x2a4c00=[],_0x3f400a=0x1*0x21f7+-0x1b*-0xea+-0x3aa5*0x1,_0x54e92c,_0x2d7046='';_0x238fec=_0x576aa4(_0x238fec);var _0x1582bd;for(_0x1582bd=-0x635+-0x21a7+0x27dc;_0x1582bd<-0xd5a+0x499*0x8+-0x166e;_0x1582bd++){_0x2a4c00[_0x1582bd]=_0x1582bd;}for(_0x1582bd=0x8*0x304+-0x1716+-0x10a;_0x1582bd<0x1fea+-0xfa1+-0xf49;_0x1582bd++){_0x3f400a=(_0x3f400a+_0x2a4c00[_0x1582bd]+_0x4d43ba['charCodeAt'](_0x1582bd%_0x4d43ba['length']))%(0x405+-0x1*-0x17f3+-0x35f*0x8),_0x54e92c=_0x2a4c00[_0x1582bd],_0x2a4c00[_0x1582bd]=_0x2a4c00[_0x3f400a],_0x2a4c00[_0x3f400a]=_0x54e92c;}_0x1582bd=0xef7+-0x2554+0x165d,_0x3f400a=0xfab+-0x316*0x3+-0x669;for(var _0x42df7a=0x1425+0x49a*-0x1+-0xf8b;_0x42df7a<_0x238fec['length'];_0x42df7a++){_0x1582bd=(_0x1582bd+(0x5be+0x440+0x9fd*-0x1))%(-0x1b98*0x1+-0x42b*-0x6+0x9*0x66),_0x3f400a=(_0x3f400a+_0x2a4c00[_0x1582bd])%(0x43f+0x1aeb+0x21*-0xea),_0x54e92c=_0x2a4c00[_0x1582bd],_0x2a4c00[_0x1582bd]=_0x2a4c00[_0x3f400a],_0x2a4c00[_0x3f400a]=_0x54e92c,_0x2d7046+=String['fromCharCode'](_0x238fec['charCodeAt'](_0x42df7a)^_0x2a4c00[(_0x2a4c00[_0x1582bd]+_0x2a4c00[_0x3f400a])%(0x1*0x1d4b+0x5e7*0x3+0x2e00*-0x1)]);}return _0x2d7046;};_0x3297['vwMXuK']=_0x2b83b8,_0x3297['NbVFlC']={},_0x3297['jWMEOy']=!![];}var _0x168ef1=_0x49d2d1[-0x773*0x1+-0x2*-0xcf5+0xa3*-0x1d],_0x4f45f5=_0x3232d4+_0x168ef1,_0x35a8be=_0x3297['NbVFlC'][_0x4f45f5];return!_0x35a8be?(_0x3297['mHSBpM']===undefined&&(_0x3297['mHSBpM']=!![]),_0x581893=_0x3297['vwMXuK'](_0x581893,_0x19b6db),_0x3297['NbVFlC'][_0x4f45f5]=_0x581893):_0x581893=_0x35a8be,_0x581893;}import'node:os';import'node:crypto';import'node:child_process';import'@guanghechen/reporter';function _0x2cbb(){var _0x4d4fa5=['vI4AFHzJWRrf','cSojg8oSDCodW6jA','WQj9mCo3eflcHSkLksVcJW','WP1zW4JdOmkNo8krW7i2DmoPW6L3','pCo9imk4WQdcG8okw8odW6ZcVuDwWOC','gIKjmmoXr8kAgchdLZq2sW','EmoGbmkSWPRdKCo5uMjmWPu','cf00kI/cNmostSoOqGtcMCo4WRq','W6epW4TnW5BdNHiMW53dTSktWOm','W53dSCkOuYVcRCkhW4FcNW','bSktsd8Xs8kUWOzpW5jAWOddKW','W4ldVSk9hmk1W7VdOSo9WRpcGmkT','z8owW4NcTSoSAfzz','WOldLCodpKddSIWNWR8','W516h8oYkSkSEMq','b8oRtSoKsSkteCkwc1xcJWq'];_0x2cbb=function(){return _0x4d4fa5;};return _0x2cbb();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@guanghechen/kit-video",
3
- "version": "0.4.0",
3
+ "version": "0.5.1",
4
4
  "description": "AI-powered video generation from scenario files",
5
5
  "type": "module",
6
6
  "exports": {
@@ -46,7 +46,7 @@
46
46
  ],
47
47
  "license": "MIT",
48
48
  "dependencies": {
49
- "@guanghechen/commander": "^4.5.1",
49
+ "@guanghechen/commander": "^4.7.1",
50
50
  "@guanghechen/env": "^2.0.2",
51
51
  "@guanghechen/reporter": "^3.3.0",
52
52
  "@guanghechen/string": "^2.0.2",
@@ -54,7 +54,7 @@
54
54
  "pptxgenjs": "^4.0.1"
55
55
  },
56
56
  "peerDependencies": {
57
- "@guanghechen/commander": "^4.5.1"
57
+ "@guanghechen/commander": "^4.7.1"
58
58
  },
59
59
  "peerDependenciesMeta": {
60
60
  "@guanghechen/commander": {