univer-cli 0.1.8 → 0.1.9

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 +1 @@
1
- const _0xaba6c7=_0x30f1;(function(_0xd13f85,_0x5e5666){const _0x400c69=_0x30f1,_0x3d6c95=_0xd13f85();while(!![]){try{const _0x47996b=parseInt(_0x400c69(0x20c))/0x1+-parseInt(_0x400c69(0x226))/0x2*(parseInt(_0x400c69(0x22c))/0x3)+-parseInt(_0x400c69(0x214))/0x4+-parseInt(_0x400c69(0x1ee))/0x5*(parseInt(_0x400c69(0x211))/0x6)+-parseInt(_0x400c69(0x224))/0x7+-parseInt(_0x400c69(0x216))/0x8+parseInt(_0x400c69(0x202))/0x9;if(_0x47996b===_0x5e5666)break;else _0x3d6c95['push'](_0x3d6c95['shift']());}catch(_0x2ae03){_0x3d6c95['push'](_0x3d6c95['shift']());}}}(_0x57de,0x3783d));import{randomBytes as _0x348d6b}from'node:crypto';import{AsyncLocalStorage as _0x5b4605}from'node:async_hooks';const n={'Cli':_0xaba6c7(0x1fd),'Daemon':_0xaba6c7(0x219),'Runtime':_0xaba6c7(0x1f4),'ViewHost':'view-host'},r={'Cli':'cli','Daemon':'daemon','RuntimeSession':_0xaba6c7(0x210),'RuntimeRunner':'runtime-runner','ViewHost':_0xaba6c7(0x20a),'Cloud':'cloud','Doctor':_0xaba6c7(0x225),'Observability':_0xaba6c7(0x21f)},i={'CliCommandStart':'cli.command.start','CliCommandFinish':_0xaba6c7(0x1fb),'CliCommandError':'cli.command.error','CliCommandCancel':_0xaba6c7(0x221),'DaemonStart':_0xaba6c7(0x20b),'DaemonStop':_0xaba6c7(0x20e),'DaemonRpcStart':_0xaba6c7(0x200),'DaemonRpcFinish':_0xaba6c7(0x1f6),'DaemonRpcError':'daemon.rpc.error','RuntimeSessionCreated':_0xaba6c7(0x204),'RuntimeSessionDisposed':_0xaba6c7(0x1fe),'RuntimeRunnerExit':_0xaba6c7(0x217),'RuntimeRpcError':_0xaba6c7(0x228),'ViewHostStart':_0xaba6c7(0x1ff),'ViewHostRequestError':_0xaba6c7(0x22d),'ViewHostUncaughtException':'view-host.uncaught-exception','ViewHostUnhandledRejection':_0xaba6c7(0x21b),'ViewHostBrowserError':_0xaba6c7(0x209),'ViewHostBrowserUnhandledRejection':_0xaba6c7(0x1f7),'ViewHostBrowserResourceError':_0xaba6c7(0x208),'ViewHostBrowserFetchError':_0xaba6c7(0x1f3),'CloudHttpStart':_0xaba6c7(0x21d),'CloudHttpFinish':_0xaba6c7(0x1f9),'CloudHttpError':_0xaba6c7(0x1fa),'TraceContextMissing':'trace.context.missing','TraceContextInvalid':_0xaba6c7(0x220),'DoctorCollectStart':_0xaba6c7(0x201),'DoctorCollectFinish':_0xaba6c7(0x215)},a={'CliCommand':_0xaba6c7(0x227),'DaemonRpcClient':_0xaba6c7(0x21a),'DaemonRpcServer':_0xaba6c7(0x206),'DaemonRpcOrphan':_0xaba6c7(0x229),'RuntimeRpcClient':_0xaba6c7(0x207),'RuntimeEval':_0xaba6c7(0x1ef),'ViewHostHttpRequest':'view-host.http.request','CloudHttpRequest':_0xaba6c7(0x223),'DoctorCollect':_0xaba6c7(0x22b)};var o='00',s='01',c=/^[0-9a-f]{32}$/,l=/^[0-9a-f]{16}$/,u=/^[0-9a-f]{2}$/,d='00000000000000000000000000000000',f=_0xaba6c7(0x22a);function _0x57de(){const _0xd03e9a=['7747371eSDQLW','active','runtime.session.created','traceId','daemon.rpc.server','runtime.rpc.client','view-host.browser.resource-error','view-host.browser.error','view-host','daemon.start','197916PWmCIo','injectHeaders','daemon.stop','getStore','runtime-session','6fykYTF','withSpan','withContext','83528zKbiqK','doctor.collect.finish','1391040KtOUTv','runtime.runner.exit','trim','daemon','daemon.rpc.client','view-host.unhandled-rejection','storage','cloud.http.start','split','observability','trace.context.invalid','cli.command.cancel','length','cloud.http.request','965440mvwIzn','doctor','357874fZAPKK','cli.command','runtime.rpc.error','daemon.rpc.orphan','0000000000000000','doctor.collect','3hFirQG','view-host.request.error','1598635hUhrwn','runtime.eval','test','toString','spanId','view-host.browser.fetch-error','runtime','run','daemon.rpc.finish','view-host.browser.unhandled-rejection','traceFlags','cloud.http.finish','cloud.http.error','cli.command.finish','withRootSpan','cli','runtime.session.disposed','view-host.start','daemon.rpc.start','doctor.collect.start'];_0x57de=function(){return _0xd03e9a;};return _0x57de();}function p(){return b(0x10,d);}function m(){return b(0x8,f);}function h(){return{'traceId':p(),'spanId':m(),'traceFlags':s};}function g(_0x1f7444){const _0x100a7c=_0xaba6c7;return{'traceId':_0x1f7444['traceId'],'parentSpanId':_0x1f7444[_0x100a7c(0x1f2)],'spanId':m(),'traceFlags':_0x1f7444[_0x100a7c(0x1f8)]};}function _0x30f1(_0x40d7d6,_0x565abc){_0x40d7d6=_0x40d7d6-0x1ee;const _0x57de86=_0x57de();let _0x30f1c8=_0x57de86[_0x40d7d6];return _0x30f1c8;}function _(_0x466992){const _0x4c94ca=_0xaba6c7;if(_0x466992===void 0x0)return;let _0x17bd32=_0x466992[_0x4c94ca(0x218)]()[_0x4c94ca(0x21e)]('-');if(_0x17bd32[_0x4c94ca(0x222)]!==0x4)return;let [_0x7b4c65,_0x21965b,_0x37710f,_0x33811e]=_0x17bd32;if(!(_0x7b4c65!==o||!c[_0x4c94ca(0x1f0)](_0x21965b)||_0x21965b===d||!l[_0x4c94ca(0x1f0)](_0x37710f)||_0x37710f===f||!u[_0x4c94ca(0x1f0)](_0x33811e)))return{'traceId':_0x21965b,'spanId':_0x37710f,'traceFlags':_0x33811e};}function v(_0x57aafe){const _0x11a275=_0xaba6c7;return o+'-'+_0x57aafe[_0x11a275(0x205)]+'-'+_0x57aafe['spanId']+'-'+_0x57aafe['traceFlags'];}const y=new class{['storage']=new _0x5b4605();[_0xaba6c7(0x203)](){const _0x4dbce8=_0xaba6c7;return this[_0x4dbce8(0x21c)][_0x4dbce8(0x20f)]();}[_0xaba6c7(0x213)](_0x44851c,_0x3acfe1){const _0x1ce49c=_0xaba6c7;return this[_0x1ce49c(0x21c)][_0x1ce49c(0x1f5)](_0x44851c,_0x3acfe1);}[_0xaba6c7(0x1fc)](_0x4625d6,_0x11e810){const _0x3a15ba=_0xaba6c7;return this[_0x3a15ba(0x213)](h(),_0x11e810);}[_0xaba6c7(0x212)](_0x223056,_0x5333b9){const _0x159def=_0xaba6c7;let _0x39874c=this[_0x159def(0x203)]();return this[_0x159def(0x213)](_0x39874c===void 0x0?h():g(_0x39874c),_0x5333b9);}['injectMeta'](_0x858296){let _0x203bb7=this['active']()??h();return{..._0x858296??{},'traceparent':v(_0x203bb7)};}[_0xaba6c7(0x20d)](_0x57033a){const _0x5576cb=_0xaba6c7;let _0xc6f40e=this[_0x5576cb(0x203)]()??h();return{..._0x57033a??{},'traceparent':v(_0xc6f40e)};}}();function b(_0x33a26f,_0x2eeb91){const _0xf71259=_0xaba6c7;let _0x343ada='';do _0x343ada=_0x348d6b(_0x33a26f)[_0xf71259(0x1f1)]('hex');while(_0x343ada===_0x2eeb91);return _0x343ada;}export{n as a,i,y as n,a as o,r,_ as t};
1
+ const _0x54e10c=_0x40df;(function(_0x28c34c,_0xedbbff){const _0x288491=_0x40df,_0x4844ca=_0x28c34c();while(!![]){try{const _0x25e7ed=parseInt(_0x288491(0x149))/0x1+-parseInt(_0x288491(0x12b))/0x2+-parseInt(_0x288491(0x135))/0x3*(-parseInt(_0x288491(0x129))/0x4)+parseInt(_0x288491(0x11e))/0x5+-parseInt(_0x288491(0x14b))/0x6+-parseInt(_0x288491(0x123))/0x7+-parseInt(_0x288491(0x12c))/0x8;if(_0x25e7ed===_0xedbbff)break;else _0x4844ca['push'](_0x4844ca['shift']());}catch(_0x3aa302){_0x4844ca['push'](_0x4844ca['shift']());}}}(_0x26fb,0xa40cc));function _0x26fb(){const _0x13f036=['injectMeta','view-host.unhandled-rejection','test','toString','trace.context.invalid','2643152LnKNVG','withContext','1144288HNgPFp','6223240isQaDW','runtime.rpc.client','getStore','view-host.start','trim','runtime.session.created','daemon.stop','cli.command.start','run','3ocTZxW','runtime.runner.exit','cloud.http.finish','cloud','daemon.rpc.orphan','storage','length','active','runtime-runner','trace.context.missing','daemon','view-host','hex','spanId','daemon.rpc.start','doctor.collect.start','cli.command.cancel','view-host.uncaught-exception','traceFlags','withSpan','972128HoxAMS','daemon.start','243810YhokJc','view-host.request.error','observability','doctor','doctor.collect','withRootSpan','view-host.browser.error','daemon.rpc.server','daemon.rpc.error','cli.command.error','2639810qxLVNf','view-host.browser.unhandled-rejection','cli.command.finish','cloud.http.request','0000000000000000','687722sEhxoz'];_0x26fb=function(){return _0x13f036;};return _0x26fb();}import{randomBytes as _0x3990bb}from'node:crypto';function _0x40df(_0x402eb6,_0x2a5127){_0x402eb6=_0x402eb6-0x116;const _0x26fbec=_0x26fb();let _0x40df1a=_0x26fbec[_0x402eb6];return _0x40df1a;}import{AsyncLocalStorage as _0x477f8b}from'node:async_hooks';const n={'Cli':'cli','Daemon':'daemon','Runtime':'runtime','ViewHost':_0x54e10c(0x140)},r={'Cli':'cli','Daemon':_0x54e10c(0x13f),'RuntimeSession':'runtime-session','RuntimeRunner':_0x54e10c(0x13d),'ViewHost':_0x54e10c(0x140),'Cloud':_0x54e10c(0x138),'Doctor':_0x54e10c(0x117),'Observability':_0x54e10c(0x116)},i={'CliCommandStart':_0x54e10c(0x133),'CliCommandFinish':_0x54e10c(0x120),'CliCommandError':_0x54e10c(0x11d),'CliCommandCancel':_0x54e10c(0x145),'DaemonStart':_0x54e10c(0x14a),'DaemonStop':_0x54e10c(0x132),'DaemonRpcStart':_0x54e10c(0x143),'DaemonRpcFinish':'daemon.rpc.finish','DaemonRpcError':_0x54e10c(0x11c),'RuntimeSessionCreated':_0x54e10c(0x131),'RuntimeSessionDisposed':'runtime.session.disposed','RuntimeRunnerExit':_0x54e10c(0x136),'RuntimeRpcError':'runtime.rpc.error','ViewHostStart':_0x54e10c(0x12f),'ViewHostRequestError':_0x54e10c(0x14c),'ViewHostUncaughtException':_0x54e10c(0x146),'ViewHostUnhandledRejection':_0x54e10c(0x125),'ViewHostBrowserError':_0x54e10c(0x11a),'ViewHostBrowserUnhandledRejection':_0x54e10c(0x11f),'ViewHostBrowserResourceError':'view-host.browser.resource-error','ViewHostBrowserFetchError':'view-host.browser.fetch-error','CloudHttpStart':'cloud.http.start','CloudHttpFinish':_0x54e10c(0x137),'CloudHttpError':'cloud.http.error','TraceContextMissing':_0x54e10c(0x13e),'TraceContextInvalid':_0x54e10c(0x128),'DoctorCollectStart':_0x54e10c(0x144),'DoctorCollectFinish':'doctor.collect.finish'},a={'CliCommand':'cli.command','DaemonRpcClient':'daemon.rpc.client','DaemonRpcServer':_0x54e10c(0x11b),'DaemonRpcOrphan':_0x54e10c(0x139),'RuntimeRpcClient':_0x54e10c(0x12d),'RuntimeEval':'runtime.eval','ViewHostHttpRequest':'view-host.http.request','CloudHttpRequest':_0x54e10c(0x121),'DoctorCollect':_0x54e10c(0x118)};var o='00',s='01',c=/^[0-9a-f]{32}$/,l=/^[0-9a-f]{16}$/,u=/^[0-9a-f]{2}$/,d='00000000000000000000000000000000',f=_0x54e10c(0x122);function p(){return b(0x10,d);}function m(){return b(0x8,f);}function h(){return{'traceId':p(),'spanId':m(),'traceFlags':s};}function g(_0xbb6f4c){const _0x21c0d8=_0x54e10c;return{'traceId':_0xbb6f4c['traceId'],'parentSpanId':_0xbb6f4c['spanId'],'spanId':m(),'traceFlags':_0xbb6f4c[_0x21c0d8(0x147)]};}function _(_0x426537){const _0x473da1=_0x54e10c;if(_0x426537===void 0x0)return;let _0x1ef2ce=_0x426537[_0x473da1(0x130)]()['split']('-');if(_0x1ef2ce[_0x473da1(0x13b)]!==0x4)return;let [_0x57cb90,_0x36c22e,_0xc4ca5f,_0x96178f]=_0x1ef2ce;if(!(_0x57cb90!==o||!c[_0x473da1(0x126)](_0x36c22e)||_0x36c22e===d||!l['test'](_0xc4ca5f)||_0xc4ca5f===f||!u[_0x473da1(0x126)](_0x96178f)))return{'traceId':_0x36c22e,'spanId':_0xc4ca5f,'traceFlags':_0x96178f};}function v(_0x329784){const _0x20931e=_0x54e10c;return o+'-'+_0x329784['traceId']+'-'+_0x329784[_0x20931e(0x142)]+'-'+_0x329784[_0x20931e(0x147)];}const y=new class{['storage']=new _0x477f8b();[_0x54e10c(0x13c)](){const _0x4552e0=_0x54e10c;return this[_0x4552e0(0x13a)][_0x4552e0(0x12e)]();}[_0x54e10c(0x12a)](_0x471cf6,_0x253c71){const _0x39e148=_0x54e10c;return this[_0x39e148(0x13a)][_0x39e148(0x134)](_0x471cf6,_0x253c71);}[_0x54e10c(0x119)](_0x4b6fed,_0xfb6132){return this['withContext'](h(),_0xfb6132);}[_0x54e10c(0x148)](_0x3b70b2,_0x2d6e54){const _0x363275=_0x54e10c;let _0x448010=this[_0x363275(0x13c)]();return this[_0x363275(0x12a)](_0x448010===void 0x0?h():g(_0x448010),_0x2d6e54);}[_0x54e10c(0x124)](_0x409525){const _0xa359b=_0x54e10c;let _0x3f254a=this[_0xa359b(0x13c)]()??h();return{..._0x409525??{},'traceparent':v(_0x3f254a)};}['injectHeaders'](_0x50c67c){const _0x578f2b=_0x54e10c;let _0x271297=this[_0x578f2b(0x13c)]()??h();return{..._0x50c67c??{},'traceparent':v(_0x271297)};}}();function b(_0xb9588f,_0x294c61){const _0x2d93e4=_0x54e10c;let _0x5c8b16='';do _0x5c8b16=_0x3990bb(_0xb9588f)[_0x2d93e4(0x127)](_0x2d93e4(0x141));while(_0x5c8b16===_0x294c61);return _0x5c8b16;}export{n as a,i,y as n,a as o,r,_ as t};