univer-cli 0.1.15 → 0.1.16

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 _0x315c3d=_0xc363;(function(_0x366a21,_0x52c77a){const _0xa99702=_0xc363,_0x476f09=_0x366a21();while(!![]){try{const _0x1ef5ca=-parseInt(_0xa99702(0x1d7))/0x1+parseInt(_0xa99702(0x1d4))/0x2*(-parseInt(_0xa99702(0x1d9))/0x3)+-parseInt(_0xa99702(0x1c3))/0x4*(-parseInt(_0xa99702(0x1e0))/0x5)+-parseInt(_0xa99702(0x1b2))/0x6*(-parseInt(_0xa99702(0x1ed))/0x7)+parseInt(_0xa99702(0x1c2))/0x8*(parseInt(_0xa99702(0x1dc))/0x9)+parseInt(_0xa99702(0x1d6))/0xa*(parseInt(_0xa99702(0x1e5))/0xb)+-parseInt(_0xa99702(0x1b3))/0xc;if(_0x1ef5ca===_0x52c77a)break;else _0x476f09['push'](_0x476f09['shift']());}catch(_0x23595e){_0x476f09['push'](_0x476f09['shift']());}}}(_0x3e85,0x53d70));import{randomBytes as _0x2dc496}from'node:crypto';import{AsyncLocalStorage as _0x572dac}from'node:async_hooks';const n={'Cli':_0x315c3d(0x1eb),'Daemon':_0x315c3d(0x1ba),'Runtime':_0x315c3d(0x1c7),'ViewHost':'view-host'},r={'Cli':'cli','Daemon':'daemon','RuntimeSession':'runtime-session','RuntimeRunner':_0x315c3d(0x1c8),'ViewHost':_0x315c3d(0x1b4),'Cloud':_0x315c3d(0x1e4),'Doctor':_0x315c3d(0x1d3),'Observability':_0x315c3d(0x1ea)},i={'CliCommandStart':_0x315c3d(0x1cd),'CliCommandFinish':_0x315c3d(0x1b8),'CliCommandError':_0x315c3d(0x1dd),'CliCommandCancel':_0x315c3d(0x1ef),'DaemonStart':_0x315c3d(0x1b5),'DaemonStop':'daemon.stop','DaemonRpcStart':_0x315c3d(0x1d0),'DaemonRpcFinish':_0x315c3d(0x1ec),'DaemonRpcError':'daemon.rpc.error','RuntimeSessionCreated':_0x315c3d(0x1cc),'RuntimeSessionDisposed':_0x315c3d(0x1d1),'RuntimeRunnerExit':_0x315c3d(0x1b7),'RuntimeRpcError':_0x315c3d(0x1e8),'ViewHostStart':_0x315c3d(0x1c4),'ViewHostRequestError':_0x315c3d(0x1c5),'ViewHostUncaughtException':_0x315c3d(0x1ce),'ViewHostUnhandledRejection':_0x315c3d(0x1c9),'ViewHostBrowserError':'view-host.browser.error','ViewHostBrowserUnhandledRejection':'view-host.browser.unhandled-rejection','ViewHostBrowserResourceError':_0x315c3d(0x1e7),'ViewHostBrowserFetchError':_0x315c3d(0x1e1),'CloudHttpStart':'cloud.http.start','CloudHttpFinish':_0x315c3d(0x1b1),'CloudHttpError':'cloud.http.error','TraceContextMissing':_0x315c3d(0x1e2),'TraceContextInvalid':_0x315c3d(0x1bd),'DoctorCollectStart':_0x315c3d(0x1cf),'DoctorCollectFinish':_0x315c3d(0x1e3)},a={'CliCommand':_0x315c3d(0x1db),'DaemonRpcClient':_0x315c3d(0x1ee),'DaemonRpcServer':'daemon.rpc.server','DaemonRpcOrphan':_0x315c3d(0x1c6),'RuntimeRpcClient':_0x315c3d(0x1e6),'RuntimeEval':_0x315c3d(0x1b6),'ViewHostHttpRequest':_0x315c3d(0x1bc),'CloudHttpRequest':_0x315c3d(0x1d5),'DoctorCollect':_0x315c3d(0x1bf)};var o='00',s='01',c=/^[0-9a-f]{32}$/,l=/^[0-9a-f]{16}$/,u=/^[0-9a-f]{2}$/,d=_0x315c3d(0x1d8),f=_0x315c3d(0x1e9);function p(){return b(0x10,d);}function m(){return b(0x8,f);}function _0x3e85(){const _0x19ea11=['withSpan','2618552MEXGJS','12TXsujG','view-host.start','view-host.request.error','daemon.rpc.orphan','runtime','runtime-runner','view-host.unhandled-rejection','storage','length','runtime.session.created','cli.command.start','view-host.uncaught-exception','doctor.collect.start','daemon.rpc.start','runtime.session.disposed','spanId','doctor','34dGcHPP','cloud.http.request','30KqcVRr','174095fUIbAI','00000000000000000000000000000000','30903pVoGkL','hex','cli.command','9WVJZPm','cli.command.error','split','traceId','740135lnWHLG','view-host.browser.fetch-error','trace.context.missing','doctor.collect.finish','cloud','1341219AogJBB','runtime.rpc.client','view-host.browser.resource-error','runtime.rpc.error','0000000000000000','observability','cli','daemon.rpc.finish','603547XnrYuC','daemon.rpc.client','cli.command.cancel','active','cloud.http.finish','18IPVgtw','8438760YBsEbd','view-host','daemon.start','runtime.eval','runtime.runner.exit','cli.command.finish','getStore','daemon','traceFlags','view-host.http.request','trace.context.invalid','toString','doctor.collect','test'];_0x3e85=function(){return _0x19ea11;};return _0x3e85();}function h(){return{'traceId':p(),'spanId':m(),'traceFlags':s};}function _0xc363(_0x474e1e,_0xfbd945){_0x474e1e=_0x474e1e-0x1b1;const _0x3e8542=_0x3e85();let _0xc36363=_0x3e8542[_0x474e1e];return _0xc36363;}function g(_0x2c9553){const _0x45a8e9=_0x315c3d;return{'traceId':_0x2c9553[_0x45a8e9(0x1df)],'parentSpanId':_0x2c9553[_0x45a8e9(0x1d2)],'spanId':m(),'traceFlags':_0x2c9553[_0x45a8e9(0x1bb)]};}function _(_0x195c19){const _0x24ddf2=_0x315c3d;if(_0x195c19===void 0x0)return;let _0x2e6e8d=_0x195c19['trim']()[_0x24ddf2(0x1de)]('-');if(_0x2e6e8d[_0x24ddf2(0x1cb)]!==0x4)return;let [_0x34eefa,_0x133e21,_0x2abcfb,_0xa13e0]=_0x2e6e8d;if(!(_0x34eefa!==o||!c[_0x24ddf2(0x1c0)](_0x133e21)||_0x133e21===d||!l[_0x24ddf2(0x1c0)](_0x2abcfb)||_0x2abcfb===f||!u[_0x24ddf2(0x1c0)](_0xa13e0)))return{'traceId':_0x133e21,'spanId':_0x2abcfb,'traceFlags':_0xa13e0};}function v(_0x104eee){const _0x5b5e2f=_0x315c3d;return o+'-'+_0x104eee['traceId']+'-'+_0x104eee[_0x5b5e2f(0x1d2)]+'-'+_0x104eee[_0x5b5e2f(0x1bb)];}const y=new class{['storage']=new _0x572dac();[_0x315c3d(0x1f0)](){const _0x3b5304=_0x315c3d;return this[_0x3b5304(0x1ca)][_0x3b5304(0x1b9)]();}['withContext'](_0x4b5d1e,_0x4f67d9){const _0x1ba1b2=_0x315c3d;return this[_0x1ba1b2(0x1ca)]['run'](_0x4b5d1e,_0x4f67d9);}['withRootSpan'](_0x51fe3b,_0x2e3635){return this['withContext'](h(),_0x2e3635);}[_0x315c3d(0x1c1)](_0x4d748e,_0x32dfbe){const _0x55a5d3=_0x315c3d;let _0x2e1e77=this[_0x55a5d3(0x1f0)]();return this['withContext'](_0x2e1e77===void 0x0?h():g(_0x2e1e77),_0x32dfbe);}['injectMeta'](_0x31ee60){const _0x198751=_0x315c3d;let _0x362f03=this[_0x198751(0x1f0)]()??h();return{..._0x31ee60??{},'traceparent':v(_0x362f03)};}['injectHeaders'](_0x112820){const _0x5ac422=_0x315c3d;let _0x2e1cb9=this[_0x5ac422(0x1f0)]()??h();return{..._0x112820??{},'traceparent':v(_0x2e1cb9)};}}();function b(_0x32fa9b,_0x2e6245){const _0x3a8039=_0x315c3d;let _0x1199a7='';do _0x1199a7=_0x2dc496(_0x32fa9b)[_0x3a8039(0x1be)](_0x3a8039(0x1da));while(_0x1199a7===_0x2e6245);return _0x1199a7;}export{n as a,i,y as n,a as o,r,_ as t};
1
+ const _0x5366d3=_0x272f;(function(_0x3504ce,_0x1da760){const _0x251b9a=_0x272f,_0x522b7e=_0x3504ce();while(!![]){try{const _0x242245=-parseInt(_0x251b9a(0x125))/0x1+parseInt(_0x251b9a(0x12a))/0x2+-parseInt(_0x251b9a(0x14e))/0x3*(parseInt(_0x251b9a(0x142))/0x4)+parseInt(_0x251b9a(0x152))/0x5*(parseInt(_0x251b9a(0x11a))/0x6)+-parseInt(_0x251b9a(0x13e))/0x7*(parseInt(_0x251b9a(0x132))/0x8)+-parseInt(_0x251b9a(0x140))/0x9*(parseInt(_0x251b9a(0x137))/0xa)+parseInt(_0x251b9a(0x128))/0xb*(parseInt(_0x251b9a(0x135))/0xc);if(_0x242245===_0x1da760)break;else _0x522b7e['push'](_0x522b7e['shift']());}catch(_0x3af54b){_0x522b7e['push'](_0x522b7e['shift']());}}}(_0xd513,0x32fd1));import{randomBytes as _0x474ca5}from'node:crypto';import{AsyncLocalStorage as _0x4a2c13}from'node:async_hooks';function _0xd513(){const _0x2219a1=['runtime.session.created','run','daemon.rpc.server','353501kRbVfi','view-host.browser.fetch-error','daemon.stop','121bgkSEh','cloud.http.start','77524HUELni','daemon','view-host.request.error','test','hex','daemon.rpc.start','getStore','injectMeta','76312CFXQGi','daemon.start','view-host.browser.error','990228LeKxCr','cloud.http.request','350seIsMJ','active','view-host.unhandled-rejection','traceId','cloud','cli','view-host.start','7YFkkiD','cloud.http.finish','74484Egvart','doctor.collect.finish','212UXJhYU','00000000000000000000000000000000','withRootSpan','traceFlags','runtime.eval','cli.command','storage','daemon.rpc.orphan','toString','spanId','view-host','runtime.rpc.client','14049xNYWEz','daemon.rpc.client','cloud.http.error','doctor.collect','3565PmjfoU','cli.command.error','1374qbelMl','cli.command.cancel','withContext','runtime','split','injectHeaders','doctor.collect.start','view-host.browser.unhandled-rejection'];_0xd513=function(){return _0x2219a1;};return _0xd513();}const n={'Cli':_0x5366d3(0x13c),'Daemon':_0x5366d3(0x12b),'Runtime':_0x5366d3(0x11d),'ViewHost':_0x5366d3(0x14c)},r={'Cli':_0x5366d3(0x13c),'Daemon':_0x5366d3(0x12b),'RuntimeSession':'runtime-session','RuntimeRunner':'runtime-runner','ViewHost':_0x5366d3(0x14c),'Cloud':_0x5366d3(0x13b),'Doctor':'doctor','Observability':'observability'},i={'CliCommandStart':'cli.command.start','CliCommandFinish':'cli.command.finish','CliCommandError':_0x5366d3(0x119),'CliCommandCancel':_0x5366d3(0x11b),'DaemonStart':_0x5366d3(0x133),'DaemonStop':_0x5366d3(0x127),'DaemonRpcStart':_0x5366d3(0x12f),'DaemonRpcFinish':'daemon.rpc.finish','DaemonRpcError':'daemon.rpc.error','RuntimeSessionCreated':_0x5366d3(0x122),'RuntimeSessionDisposed':'runtime.session.disposed','RuntimeRunnerExit':'runtime.runner.exit','RuntimeRpcError':'runtime.rpc.error','ViewHostStart':_0x5366d3(0x13d),'ViewHostRequestError':_0x5366d3(0x12c),'ViewHostUncaughtException':'view-host.uncaught-exception','ViewHostUnhandledRejection':_0x5366d3(0x139),'ViewHostBrowserError':_0x5366d3(0x134),'ViewHostBrowserUnhandledRejection':_0x5366d3(0x121),'ViewHostBrowserResourceError':'view-host.browser.resource-error','ViewHostBrowserFetchError':_0x5366d3(0x126),'CloudHttpStart':_0x5366d3(0x129),'CloudHttpFinish':_0x5366d3(0x13f),'CloudHttpError':_0x5366d3(0x150),'TraceContextMissing':'trace.context.missing','TraceContextInvalid':'trace.context.invalid','DoctorCollectStart':_0x5366d3(0x120),'DoctorCollectFinish':_0x5366d3(0x141)},a={'CliCommand':_0x5366d3(0x147),'DaemonRpcClient':_0x5366d3(0x14f),'DaemonRpcServer':_0x5366d3(0x124),'DaemonRpcOrphan':_0x5366d3(0x149),'RuntimeRpcClient':_0x5366d3(0x14d),'RuntimeEval':_0x5366d3(0x146),'ViewHostHttpRequest':'view-host.http.request','CloudHttpRequest':_0x5366d3(0x136),'DoctorCollect':_0x5366d3(0x151)};var o='00',s='01',c=/^[0-9a-f]{32}$/,l=/^[0-9a-f]{16}$/,u=/^[0-9a-f]{2}$/,d=_0x5366d3(0x143),f='0000000000000000';function p(){return b(0x10,d);}function _0x272f(_0x4db001,_0x5ca4e6){_0x4db001=_0x4db001-0x119;const _0xd513e0=_0xd513();let _0x272f38=_0xd513e0[_0x4db001];return _0x272f38;}function m(){return b(0x8,f);}function h(){return{'traceId':p(),'spanId':m(),'traceFlags':s};}function g(_0x3d2e4b){const _0x3d247a=_0x5366d3;return{'traceId':_0x3d2e4b[_0x3d247a(0x13a)],'parentSpanId':_0x3d2e4b[_0x3d247a(0x14b)],'spanId':m(),'traceFlags':_0x3d2e4b[_0x3d247a(0x145)]};}function _(_0x50bb6e){const _0x1e59a9=_0x5366d3;if(_0x50bb6e===void 0x0)return;let _0x51c8e4=_0x50bb6e['trim']()[_0x1e59a9(0x11e)]('-');if(_0x51c8e4['length']!==0x4)return;let [_0x150341,_0x3b710a,_0x4c32be,_0x40ff60]=_0x51c8e4;if(!(_0x150341!==o||!c[_0x1e59a9(0x12d)](_0x3b710a)||_0x3b710a===d||!l[_0x1e59a9(0x12d)](_0x4c32be)||_0x4c32be===f||!u['test'](_0x40ff60)))return{'traceId':_0x3b710a,'spanId':_0x4c32be,'traceFlags':_0x40ff60};}function v(_0x45c6c1){const _0x2a6a7d=_0x5366d3;return o+'-'+_0x45c6c1[_0x2a6a7d(0x13a)]+'-'+_0x45c6c1[_0x2a6a7d(0x14b)]+'-'+_0x45c6c1[_0x2a6a7d(0x145)];}const y=new class{[_0x5366d3(0x148)]=new _0x4a2c13();[_0x5366d3(0x138)](){const _0x290063=_0x5366d3;return this[_0x290063(0x148)][_0x290063(0x130)]();}[_0x5366d3(0x11c)](_0x2c4c03,_0x2df87a){const _0x3048a0=_0x5366d3;return this[_0x3048a0(0x148)][_0x3048a0(0x123)](_0x2c4c03,_0x2df87a);}[_0x5366d3(0x144)](_0x2ebc5e,_0x110073){const _0x1baa05=_0x5366d3;return this[_0x1baa05(0x11c)](h(),_0x110073);}['withSpan'](_0x366a75,_0x5dd188){const _0x44ac48=_0x5366d3;let _0x3cc034=this['active']();return this[_0x44ac48(0x11c)](_0x3cc034===void 0x0?h():g(_0x3cc034),_0x5dd188);}[_0x5366d3(0x131)](_0x391542){let _0x15843c=this['active']()??h();return{..._0x391542??{},'traceparent':v(_0x15843c)};}[_0x5366d3(0x11f)](_0x326573){const _0x4fbc89=_0x5366d3;let _0x3c9f7f=this[_0x4fbc89(0x138)]()??h();return{..._0x326573??{},'traceparent':v(_0x3c9f7f)};}}();function b(_0x3a9b61,_0x2667bc){const _0x523f88=_0x5366d3;let _0x3a9bee='';do _0x3a9bee=_0x474ca5(_0x3a9b61)[_0x523f88(0x14a)](_0x523f88(0x12e));while(_0x3a9bee===_0x2667bc);return _0x3a9bee;}export{n as a,i,y as n,a as o,r,_ as t};