univer-cli 0.1.14 → 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 _0x1c2d10=_0x59df;(function(_0x159c3a,_0x22ca4b){const _0x40ab0e=_0x59df,_0x4e19a6=_0x159c3a();while(!![]){try{const _0x3d42af=parseInt(_0x40ab0e(0x18a))/0x1*(-parseInt(_0x40ab0e(0x161))/0x2)+parseInt(_0x40ab0e(0x18d))/0x3*(-parseInt(_0x40ab0e(0x17e))/0x4)+-parseInt(_0x40ab0e(0x178))/0x5+-parseInt(_0x40ab0e(0x185))/0x6+-parseInt(_0x40ab0e(0x164))/0x7+parseInt(_0x40ab0e(0x172))/0x8*(parseInt(_0x40ab0e(0x15a))/0x9)+-parseInt(_0x40ab0e(0x168))/0xa*(-parseInt(_0x40ab0e(0x15e))/0xb);if(_0x3d42af===_0x22ca4b)break;else _0x4e19a6['push'](_0x4e19a6['shift']());}catch(_0x338590){_0x4e19a6['push'](_0x4e19a6['shift']());}}}(_0x3237,0x626f4));import{randomBytes as _0x53c4e7}from'node:crypto';import{AsyncLocalStorage as _0x1a6703}from'node:async_hooks';const n={'Cli':_0x1c2d10(0x160),'Daemon':_0x1c2d10(0x182),'Runtime':_0x1c2d10(0x169),'ViewHost':_0x1c2d10(0x17c)},r={'Cli':_0x1c2d10(0x160),'Daemon':'daemon','RuntimeSession':_0x1c2d10(0x191),'RuntimeRunner':_0x1c2d10(0x195),'ViewHost':'view-host','Cloud':'cloud','Doctor':_0x1c2d10(0x18e),'Observability':_0x1c2d10(0x184)},i={'CliCommandStart':_0x1c2d10(0x180),'CliCommandFinish':'cli.command.finish','CliCommandError':_0x1c2d10(0x18f),'CliCommandCancel':'cli.command.cancel','DaemonStart':_0x1c2d10(0x16b),'DaemonStop':_0x1c2d10(0x15f),'DaemonRpcStart':'daemon.rpc.start','DaemonRpcFinish':_0x1c2d10(0x15b),'DaemonRpcError':_0x1c2d10(0x183),'RuntimeSessionCreated':_0x1c2d10(0x17f),'RuntimeSessionDisposed':_0x1c2d10(0x159),'RuntimeRunnerExit':'runtime.runner.exit','RuntimeRpcError':_0x1c2d10(0x189),'ViewHostStart':_0x1c2d10(0x188),'ViewHostRequestError':_0x1c2d10(0x18b),'ViewHostUncaughtException':_0x1c2d10(0x174),'ViewHostUnhandledRejection':_0x1c2d10(0x194),'ViewHostBrowserError':_0x1c2d10(0x197),'ViewHostBrowserUnhandledRejection':_0x1c2d10(0x199),'ViewHostBrowserResourceError':_0x1c2d10(0x16f),'ViewHostBrowserFetchError':_0x1c2d10(0x166),'CloudHttpStart':_0x1c2d10(0x17d),'CloudHttpFinish':_0x1c2d10(0x16d),'CloudHttpError':'cloud.http.error','TraceContextMissing':_0x1c2d10(0x18c),'TraceContextInvalid':_0x1c2d10(0x187),'DoctorCollectStart':_0x1c2d10(0x186),'DoctorCollectFinish':_0x1c2d10(0x162)},a={'CliCommand':_0x1c2d10(0x16c),'DaemonRpcClient':_0x1c2d10(0x15d),'DaemonRpcServer':'daemon.rpc.server','DaemonRpcOrphan':'daemon.rpc.orphan','RuntimeRpcClient':'runtime.rpc.client','RuntimeEval':_0x1c2d10(0x198),'ViewHostHttpRequest':_0x1c2d10(0x176),'CloudHttpRequest':_0x1c2d10(0x193),'DoctorCollect':_0x1c2d10(0x165)};var o='00',s='01',c=/^[0-9a-f]{32}$/,l=/^[0-9a-f]{16}$/,u=/^[0-9a-f]{2}$/,d=_0x1c2d10(0x175),f=_0x1c2d10(0x181);function _0x3237(){const _0x14a2a6=['view-host.uncaught-exception','00000000000000000000000000000000','view-host.http.request','test','1157225YsTzJZ','run','split','active','view-host','cloud.http.start','268SxzEdF','runtime.session.created','cli.command.start','0000000000000000','daemon','daemon.rpc.error','observability','2382474bMxRjQ','doctor.collect.start','trace.context.invalid','view-host.start','runtime.rpc.error','176831pLWvlL','view-host.request.error','trace.context.missing','29523FffOnv','doctor','cli.command.error','withContext','runtime-session','toString','cloud.http.request','view-host.unhandled-rejection','runtime-runner','withSpan','view-host.browser.error','runtime.eval','view-host.browser.unhandled-rejection','traceId','runtime.session.disposed','9VKcAjG','daemon.rpc.finish','withRootSpan','daemon.rpc.client','4018366DQXbOp','daemon.stop','cli','2guXidI','doctor.collect.finish','getStore','959693HgdySi','doctor.collect','view-host.browser.fetch-error','injectHeaders','50umXJVj','runtime','traceFlags','daemon.start','cli.command','cloud.http.finish','hex','view-host.browser.resource-error','length','storage','1427672WjrzIW','spanId'];_0x3237=function(){return _0x14a2a6;};return _0x3237();}function p(){return b(0x10,d);}function m(){return b(0x8,f);}function h(){return{'traceId':p(),'spanId':m(),'traceFlags':s};}function g(_0x2e1251){const _0x50e908=_0x1c2d10;return{'traceId':_0x2e1251[_0x50e908(0x158)],'parentSpanId':_0x2e1251['spanId'],'spanId':m(),'traceFlags':_0x2e1251[_0x50e908(0x16a)]};}function _(_0x3339d3){const _0x4848af=_0x1c2d10;if(_0x3339d3===void 0x0)return;let _0x122b8f=_0x3339d3['trim']()[_0x4848af(0x17a)]('-');if(_0x122b8f[_0x4848af(0x170)]!==0x4)return;let [_0x3a21d4,_0x273b03,_0x424fe8,_0x46af87]=_0x122b8f;if(!(_0x3a21d4!==o||!c['test'](_0x273b03)||_0x273b03===d||!l[_0x4848af(0x177)](_0x424fe8)||_0x424fe8===f||!u['test'](_0x46af87)))return{'traceId':_0x273b03,'spanId':_0x424fe8,'traceFlags':_0x46af87};}function v(_0x403fe2){const _0x4371ac=_0x1c2d10;return o+'-'+_0x403fe2[_0x4371ac(0x158)]+'-'+_0x403fe2[_0x4371ac(0x173)]+'-'+_0x403fe2[_0x4371ac(0x16a)];}function _0x59df(_0x3ffa94,_0x453183){_0x3ffa94=_0x3ffa94-0x158;const _0x3237fb=_0x3237();let _0x59df97=_0x3237fb[_0x3ffa94];return _0x59df97;}const y=new class{[_0x1c2d10(0x171)]=new _0x1a6703();[_0x1c2d10(0x17b)](){const _0x5319ba=_0x1c2d10;return this[_0x5319ba(0x171)][_0x5319ba(0x163)]();}[_0x1c2d10(0x190)](_0x8a81ca,_0x3d5ff7){const _0x2c1f03=_0x1c2d10;return this[_0x2c1f03(0x171)][_0x2c1f03(0x179)](_0x8a81ca,_0x3d5ff7);}[_0x1c2d10(0x15c)](_0x4ddb42,_0xfd0d20){const _0x8d6dfd=_0x1c2d10;return this[_0x8d6dfd(0x190)](h(),_0xfd0d20);}[_0x1c2d10(0x196)](_0x16c4ab,_0x51c6d6){let _0x59a6bc=this['active']();return this['withContext'](_0x59a6bc===void 0x0?h():g(_0x59a6bc),_0x51c6d6);}['injectMeta'](_0x316693){const _0x38b68a=_0x1c2d10;let _0x345c47=this[_0x38b68a(0x17b)]()??h();return{..._0x316693??{},'traceparent':v(_0x345c47)};}[_0x1c2d10(0x167)](_0x3dc2e6){const _0x151a4e=_0x1c2d10;let _0x5814be=this[_0x151a4e(0x17b)]()??h();return{..._0x3dc2e6??{},'traceparent':v(_0x5814be)};}}();function b(_0x15d149,_0x4f0dbe){const _0xc780ca=_0x1c2d10;let _0x40ea28='';do _0x40ea28=_0x53c4e7(_0x15d149)[_0xc780ca(0x192)](_0xc780ca(0x16e));while(_0x40ea28===_0x4f0dbe);return _0x40ea28;}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};