@treasuredata/tdx 0.4.4 → 0.4.5

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.
Files changed (107) hide show
  1. package/dist/build-info.json +2 -2
  2. package/dist/cli.js +1 -1
  3. package/dist/cli.js.map +1 -1
  4. package/dist/client/cdp-api-client.js +1 -1
  5. package/dist/client/engage-api-client.d.ts +79 -1
  6. package/dist/client/engage-api-client.d.ts.map +1 -1
  7. package/dist/client/engage-api-client.js +1 -1
  8. package/dist/client/engage-api-client.js.map +1 -1
  9. package/dist/client/http-client.js +1 -1
  10. package/dist/client/llm-api-client.js +1 -1
  11. package/dist/client/rate-limiter.js +1 -1
  12. package/dist/client/td-api-client.js +1 -1
  13. package/dist/client/trino-api-client.js +1 -1
  14. package/dist/client/workflow-client.js +1 -1
  15. package/dist/commands/activations.js +1 -1
  16. package/dist/commands/api-command.js +1 -1
  17. package/dist/commands/auth-command.js +1 -1
  18. package/dist/commands/chat-command.js +1 -1
  19. package/dist/commands/claude-command.js +1 -1
  20. package/dist/commands/command.d.ts.map +1 -1
  21. package/dist/commands/command.js +1 -1
  22. package/dist/commands/command.js.map +1 -1
  23. package/dist/commands/context-command.js +1 -1
  24. package/dist/commands/databases.js +1 -1
  25. package/dist/commands/describe.js +1 -1
  26. package/dist/commands/engage-command.d.ts +128 -0
  27. package/dist/commands/engage-command.d.ts.map +1 -1
  28. package/dist/commands/engage-command.js +1 -1
  29. package/dist/commands/engage-command.js.map +1 -1
  30. package/dist/commands/job-command.js +1 -1
  31. package/dist/commands/llm-command.js +1 -1
  32. package/dist/commands/llm-proxy.js +1 -1
  33. package/dist/commands/parent-segment-command.js +1 -1
  34. package/dist/commands/profiles-command.js +1 -1
  35. package/dist/commands/query-command.js +1 -1
  36. package/dist/commands/segment-command.js +1 -1
  37. package/dist/commands/segment-create-command.js +1 -1
  38. package/dist/commands/segment-fields-command.js +1 -1
  39. package/dist/commands/segment-pwd-command.js +1 -1
  40. package/dist/commands/segment-update-command.js +1 -1
  41. package/dist/commands/segment-use-command.js +1 -1
  42. package/dist/commands/segments.js +1 -1
  43. package/dist/commands/show.js +1 -1
  44. package/dist/commands/tables.js +1 -1
  45. package/dist/commands/use-command.d.ts +1 -0
  46. package/dist/commands/use-command.d.ts.map +1 -1
  47. package/dist/commands/use-command.js +1 -1
  48. package/dist/commands/use-command.js.map +1 -1
  49. package/dist/commands/workflow-command.js +1 -1
  50. package/dist/core/auth.js +1 -1
  51. package/dist/core/config.js +1 -1
  52. package/dist/core/credential-cache.js +1 -1
  53. package/dist/core/global-context.js +1 -1
  54. package/dist/core/keychain.js +1 -1
  55. package/dist/core/profile.js +1 -1
  56. package/dist/core/project-config.js +1 -1
  57. package/dist/core/session.d.ts +1 -0
  58. package/dist/core/session.d.ts.map +1 -1
  59. package/dist/core/session.js +1 -1
  60. package/dist/core/session.js.map +1 -1
  61. package/dist/index.js +1 -1
  62. package/dist/proxy/anthropic-adapter.js +1 -1
  63. package/dist/proxy/server.js +1 -1
  64. package/dist/proxy/session-cache.js +1 -1
  65. package/dist/sdk/api.js +1 -1
  66. package/dist/sdk/engage.d.ts +105 -1
  67. package/dist/sdk/engage.d.ts.map +1 -1
  68. package/dist/sdk/engage.js +1 -1
  69. package/dist/sdk/engage.js.map +1 -1
  70. package/dist/sdk/errors.js +1 -1
  71. package/dist/sdk/index.js +1 -1
  72. package/dist/sdk/job.js +1 -1
  73. package/dist/sdk/llm.js +1 -1
  74. package/dist/sdk/query.js +1 -1
  75. package/dist/sdk/segment.js +1 -1
  76. package/dist/sdk/workflow.js +1 -1
  77. package/dist/types/endpoints.js +1 -1
  78. package/dist/types/engage.d.ts +102 -0
  79. package/dist/types/engage.d.ts.map +1 -1
  80. package/dist/types/index.js +1 -1
  81. package/dist/utils/agent-ref-parser.js +1 -1
  82. package/dist/utils/chat-cache.js +1 -1
  83. package/dist/utils/colors.js +1 -1
  84. package/dist/utils/command-output.js +1 -1
  85. package/dist/utils/constants.js +1 -1
  86. package/dist/utils/file-permissions.js +1 -1
  87. package/dist/utils/format-detector.js +1 -1
  88. package/dist/utils/formatters.js +1 -1
  89. package/dist/utils/json-loader.js +1 -1
  90. package/dist/utils/llm-backup-utils.js +1 -1
  91. package/dist/utils/model-aliases.js +1 -1
  92. package/dist/utils/option-validation.js +1 -1
  93. package/dist/utils/port.js +1 -1
  94. package/dist/utils/process.js +1 -1
  95. package/dist/utils/prompt.js +1 -1
  96. package/dist/utils/segment-path-parser.js +1 -1
  97. package/dist/utils/segment-ref-parser.js +1 -1
  98. package/dist/utils/spinner.js +1 -1
  99. package/dist/utils/sql-parser.js +1 -1
  100. package/dist/utils/sse-parser.js +1 -1
  101. package/dist/utils/string-utils.js +1 -1
  102. package/dist/utils/table-ref-parser.js +1 -1
  103. package/dist/utils/tdx-logger.js +1 -1
  104. package/dist/utils/tree-formatter.js +1 -1
  105. package/dist/utils/version-check.js +1 -1
  106. package/dist/utils/workflow-utils.js +1 -1
  107. package/package.json +1 -1
@@ -1 +1 @@
1
- function a82_0x18a1(){const _0x52b42e=['test','935468MbnrSf','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','isAbsolute','1110950VwcYXz','701559BmPlnf','42dLpxDC','18iWNjRS','substring','96258ksqbIH','split','85434CYzkEW','132230xhEzan','push','Cannot\x20split\x20empty\x20path','2292424uYDJLi','segments','filter','length','join','Path\x20attempts\x20to\x20navigate\x20above\x20root','Cannot\x20navigate\x20above\x20root','30lslMRX','slice','Path\x20segment\x20cannot\x20be\x20empty','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','startsWith','trim','raw','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','pop','Relative\x20path\x20cannot\x20be\x20empty'];a82_0x18a1=function(){return _0x52b42e;};return a82_0x18a1();}(function(_0x2d3d2b,_0x1ba7b0){const _0x1a59b2=a82_0x3bf5,_0x17ca94=_0x2d3d2b();while(!![]){try{const _0x291af6=-parseInt(_0x1a59b2(0x17b))/0x1+-parseInt(_0x1a59b2(0x176))/0x2*(-parseInt(_0x1a59b2(0x17a))/0x3)+-parseInt(_0x1a59b2(0x190))/0x4+parseInt(_0x1a59b2(0x193))/0x5+parseInt(_0x1a59b2(0x178))/0x6*(parseInt(_0x1a59b2(0x175))/0x7)+-parseInt(_0x1a59b2(0x17e))/0x8+parseInt(_0x1a59b2(0x194))/0x9*(parseInt(_0x1a59b2(0x185))/0xa);if(_0x291af6===_0x1ba7b0)break;else _0x17ca94['push'](_0x17ca94['shift']());}catch(_0x5e97ed){_0x17ca94['push'](_0x17ca94['shift']());}}}(a82_0x18a1,0x26131));export function parsePath(_0x5c13b9){const _0x260b97=a82_0x3bf5;if(!_0x5c13b9||_0x5c13b9['trim']()==='')throw new Error('Path\x20cannot\x20be\x20empty');const _0x5a81b5=_0x5c13b9['trim']();if(_0x5a81b5==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x5c13b9};const _0x26f7a7=_0x5a81b5[_0x260b97(0x189)]('/')?_0x5a81b5[_0x260b97(0x177)](0x1):_0x5a81b5,_0x38a1ea=_0x26f7a7[_0x260b97(0x179)]('/')[_0x260b97(0x180)](_0x1dcd19=>_0x1dcd19!=='');if(_0x38a1ea[_0x260b97(0x181)]===0x0)throw new Error(_0x260b97(0x188));const _0xa84140=_0x5a81b5['startsWith']('/')||!isRelativePathSegment(_0x38a1ea[0x0]);for(const _0x543d5a of _0x38a1ea){validatePathSegment(_0x543d5a);}return{'segments':_0x38a1ea,'isAbsolute':_0xa84140,'raw':_0x5c13b9};}function isRelativePathSegment(_0x2c225a){return _0x2c225a==='.'||_0x2c225a==='..';}function validatePathSegment(_0x3bce0e){const _0x173205=a82_0x3bf5;if(_0x3bce0e==='')throw new Error(_0x173205(0x187));if(_0x3bce0e==='.'||_0x3bce0e==='..')return;if(/[\x00-\x1F\x7F]/[_0x173205(0x18f)](_0x3bce0e))throw new Error(_0x173205(0x18c)+_0x3bce0e);if(_0x3bce0e!==_0x3bce0e[_0x173205(0x18a)]()){}}export function validatePath(_0x3d97b0){const _0x510b6f=a82_0x3bf5;if(_0x3d97b0['segments'][_0x510b6f(0x181)]===0x0&&!_0x3d97b0[_0x510b6f(0x192)])throw new Error(_0x510b6f(0x18e));if(_0x3d97b0[_0x510b6f(0x192)]){if(_0x3d97b0[_0x510b6f(0x17f)][0x0]==='..')throw new Error(_0x510b6f(0x191));let _0x157b59=0x0;for(const _0x1728ca of _0x3d97b0[_0x510b6f(0x17f)]){if(_0x1728ca==='..'){if(_0x157b59===0x0)throw new Error(_0x510b6f(0x183));_0x157b59--;}else _0x1728ca!=='.'&&_0x157b59++;}}}export function joinPaths(_0xfd0d4f,_0x3ae1f2){const _0xe1891=a82_0x3bf5;if(!_0xfd0d4f||_0xfd0d4f==='/')return _0x3ae1f2;if(!_0x3ae1f2||_0x3ae1f2==='.')return _0xfd0d4f;if(_0x3ae1f2[_0xe1891(0x189)]('/'))return _0x3ae1f2;const _0x446814=parsePath(_0xfd0d4f),_0x190622=parsePath(_0x3ae1f2),_0x383390=[..._0x446814[_0xe1891(0x17f)]];for(const _0x2d7aa6 of _0x190622['segments']){if(_0x2d7aa6==='.')continue;else{if(_0x2d7aa6==='..'){if(_0x383390['length']===0x0)throw new Error(_0xe1891(0x184));_0x383390[_0xe1891(0x18d)]();}else _0x383390[_0xe1891(0x17c)](_0x2d7aa6);}}const _0x5dd5f2=_0x383390[_0xe1891(0x182)]('/');return _0x446814[_0xe1891(0x18b)][_0xe1891(0x189)]('/')?'/'+_0x5dd5f2:_0x5dd5f2;}export function normalizePath(_0x1de675){const _0x13090d=a82_0x3bf5,_0x5d2673=parsePath(_0x1de675),_0x1ab946=[];for(const _0x38efb2 of _0x5d2673[_0x13090d(0x17f)]){if(_0x38efb2==='.')continue;else{if(_0x38efb2==='..'){if(_0x1ab946[_0x13090d(0x181)]===0x0){if(_0x5d2673[_0x13090d(0x192)])throw new Error(_0x13090d(0x184));_0x1ab946[_0x13090d(0x17c)]('..');}else _0x1ab946[_0x1ab946['length']-0x1]==='..'?_0x1ab946[_0x13090d(0x17c)]('..'):_0x1ab946[_0x13090d(0x18d)]();}else _0x1ab946['push'](_0x38efb2);}}if(_0x1ab946[_0x13090d(0x181)]===0x0)return _0x5d2673[_0x13090d(0x192)]?'/':'.';const _0x2355f6=_0x1ab946[_0x13090d(0x182)]('/');return _0x5d2673['raw'][_0x13090d(0x189)]('/')?'/'+_0x2355f6:_0x2355f6;}export function getParentPath(_0x527e46){const _0x6dfa96=a82_0x3bf5,_0x38a543=parsePath(_0x527e46);if(_0x38a543[_0x6dfa96(0x17f)][_0x6dfa96(0x181)]<=0x1)return'/';const _0x1b1128=_0x38a543[_0x6dfa96(0x17f)][_0x6dfa96(0x186)](0x0,-0x1)[_0x6dfa96(0x182)]('/');return _0x38a543[_0x6dfa96(0x18b)][_0x6dfa96(0x189)]('/')?'/'+_0x1b1128:_0x1b1128;}export function getBaseName(_0x549858){const _0x3d23b2=a82_0x3bf5,_0x22328c=parsePath(_0x549858);return _0x22328c[_0x3d23b2(0x17f)][_0x22328c['segments'][_0x3d23b2(0x181)]-0x1]||'';}export function isChildPath(_0x3907bf,_0x3acfbd){const _0x2b555b=a82_0x3bf5,_0xa470f9=parsePath(_0x3907bf),_0x4a2a6e=parsePath(_0x3acfbd);if(_0xa470f9[_0x2b555b(0x17f)][_0x2b555b(0x181)]<=_0x4a2a6e[_0x2b555b(0x17f)]['length'])return![];for(let _0x4c65fb=0x0;_0x4c65fb<_0x4a2a6e[_0x2b555b(0x17f)][_0x2b555b(0x181)];_0x4c65fb++){if(_0xa470f9[_0x2b555b(0x17f)][_0x4c65fb]!==_0x4a2a6e[_0x2b555b(0x17f)][_0x4c65fb])return![];}return!![];}function a82_0x3bf5(_0x490441,_0x2b74d1){const _0x18a1ad=a82_0x18a1();return a82_0x3bf5=function(_0x3bf58a,_0x4f15e2){_0x3bf58a=_0x3bf58a-0x175;let _0x4ced39=_0x18a1ad[_0x3bf58a];return _0x4ced39;},a82_0x3bf5(_0x490441,_0x2b74d1);}export function splitPath(_0xb2df7a){const _0x49e3c0=a82_0x3bf5,_0xa41ae1=parsePath(_0xb2df7a);if(_0xa41ae1[_0x49e3c0(0x17f)][_0x49e3c0(0x181)]===0x0)throw new Error(_0x49e3c0(0x17d));if(_0xa41ae1[_0x49e3c0(0x17f)][_0x49e3c0(0x181)]===0x1)return{'parent':_0xa41ae1[_0x49e3c0(0x17f)][0x0]};return{'parent':_0xa41ae1[_0x49e3c0(0x17f)][0x0],'child':_0xa41ae1[_0x49e3c0(0x17f)][_0x49e3c0(0x186)](0x1)[_0x49e3c0(0x182)]('/')};}
1
+ function a82_0x29f0(){const _0x47546a=['Cannot\x20navigate\x20above\x20root','Path\x20cannot\x20be\x20empty','filter','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','slice','Path\x20attempts\x20to\x20navigate\x20above\x20root','trim','segments','Path\x20segment\x20cannot\x20be\x20empty','255290VYposT','push','split','join','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','7340uIEYaT','1068371LNpOUu','Cannot\x20split\x20empty\x20path','raw','12897696QlXmEY','525rsRsxD','pop','2977010OjpmWa','test','substring','startsWith','isAbsolute','6838765ynwcaB','2592168FwrVFe','length'];a82_0x29f0=function(){return _0x47546a;};return a82_0x29f0();}(function(_0x117389,_0x5eed11){const _0x5c7ebc=a82_0x2a52,_0x2fe972=_0x117389();while(!![]){try{const _0xb0d57e=-parseInt(_0x5c7ebc(0xc0))/0x1+parseInt(_0x5c7ebc(0xc6))/0x2+-parseInt(_0x5c7ebc(0xc4))/0x3*(-parseInt(_0x5c7ebc(0xbf))/0x4)+parseInt(_0x5c7ebc(0xcb))/0x5+parseInt(_0x5c7ebc(0xaf))/0x6+-parseInt(_0x5c7ebc(0xba))/0x7+-parseInt(_0x5c7ebc(0xc3))/0x8;if(_0xb0d57e===_0x5eed11)break;else _0x2fe972['push'](_0x2fe972['shift']());}catch(_0x42a9d1){_0x2fe972['push'](_0x2fe972['shift']());}}}(a82_0x29f0,0xd9dc6));export function parsePath(_0x2766ec){const _0x5d1e53=a82_0x2a52;if(!_0x2766ec||_0x2766ec['trim']()==='')throw new Error(_0x5d1e53(0xb2));const _0x59814d=_0x2766ec['trim']();if(_0x59814d==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x2766ec};const _0xd5a121=_0x59814d[_0x5d1e53(0xc9)]('/')?_0x59814d[_0x5d1e53(0xc8)](0x1):_0x59814d,_0x12d6fb=_0xd5a121[_0x5d1e53(0xbc)]('/')[_0x5d1e53(0xb3)](_0x225292=>_0x225292!=='');if(_0x12d6fb[_0x5d1e53(0xb0)]===0x0)throw new Error(_0x5d1e53(0xbe));const _0x43c8a7=_0x59814d[_0x5d1e53(0xc9)]('/')||!isRelativePathSegment(_0x12d6fb[0x0]);for(const _0x378502 of _0x12d6fb){validatePathSegment(_0x378502);}return{'segments':_0x12d6fb,'isAbsolute':_0x43c8a7,'raw':_0x2766ec};}function isRelativePathSegment(_0x30c1b1){return _0x30c1b1==='.'||_0x30c1b1==='..';}function validatePathSegment(_0x2fd725){const _0x38b7d3=a82_0x2a52;if(_0x2fd725==='')throw new Error(_0x38b7d3(0xb9));if(_0x2fd725==='.'||_0x2fd725==='..')return;if(/[\x00-\x1F\x7F]/[_0x38b7d3(0xc7)](_0x2fd725))throw new Error(_0x38b7d3(0xb4)+_0x2fd725);if(_0x2fd725!==_0x2fd725[_0x38b7d3(0xb7)]()){}}export function validatePath(_0x31f673){const _0x568ec1=a82_0x2a52;if(_0x31f673['segments'][_0x568ec1(0xb0)]===0x0&&!_0x31f673[_0x568ec1(0xca)])throw new Error('Relative\x20path\x20cannot\x20be\x20empty');if(_0x31f673['isAbsolute']){if(_0x31f673[_0x568ec1(0xb8)][0x0]==='..')throw new Error('Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22');let _0x597e54=0x0;for(const _0x3e7e85 of _0x31f673[_0x568ec1(0xb8)]){if(_0x3e7e85==='..'){if(_0x597e54===0x0)throw new Error(_0x568ec1(0xb6));_0x597e54--;}else _0x3e7e85!=='.'&&_0x597e54++;}}}export function joinPaths(_0x379375,_0x288497){const _0x1bc10a=a82_0x2a52;if(!_0x379375||_0x379375==='/')return _0x288497;if(!_0x288497||_0x288497==='.')return _0x379375;if(_0x288497[_0x1bc10a(0xc9)]('/'))return _0x288497;const _0x5a0f5e=parsePath(_0x379375),_0x120447=parsePath(_0x288497),_0x27c64c=[..._0x5a0f5e[_0x1bc10a(0xb8)]];for(const _0x2ce41f of _0x120447[_0x1bc10a(0xb8)]){if(_0x2ce41f==='.')continue;else{if(_0x2ce41f==='..'){if(_0x27c64c[_0x1bc10a(0xb0)]===0x0)throw new Error(_0x1bc10a(0xb1));_0x27c64c[_0x1bc10a(0xc5)]();}else _0x27c64c[_0x1bc10a(0xbb)](_0x2ce41f);}}const _0xdd457=_0x27c64c['join']('/');return _0x5a0f5e[_0x1bc10a(0xc2)][_0x1bc10a(0xc9)]('/')?'/'+_0xdd457:_0xdd457;}export function normalizePath(_0x207a28){const _0x225cae=a82_0x2a52,_0x702a9b=parsePath(_0x207a28),_0x264fc1=[];for(const _0x27b0f0 of _0x702a9b['segments']){if(_0x27b0f0==='.')continue;else{if(_0x27b0f0==='..'){if(_0x264fc1[_0x225cae(0xb0)]===0x0){if(_0x702a9b['isAbsolute'])throw new Error(_0x225cae(0xb1));_0x264fc1[_0x225cae(0xbb)]('..');}else _0x264fc1[_0x264fc1[_0x225cae(0xb0)]-0x1]==='..'?_0x264fc1[_0x225cae(0xbb)]('..'):_0x264fc1[_0x225cae(0xc5)]();}else _0x264fc1[_0x225cae(0xbb)](_0x27b0f0);}}if(_0x264fc1[_0x225cae(0xb0)]===0x0)return _0x702a9b[_0x225cae(0xca)]?'/':'.';const _0x40a7b3=_0x264fc1[_0x225cae(0xbd)]('/');return _0x702a9b[_0x225cae(0xc2)][_0x225cae(0xc9)]('/')?'/'+_0x40a7b3:_0x40a7b3;}function a82_0x2a52(_0x243b86,_0x8b9c8){const _0x29f06a=a82_0x29f0();return a82_0x2a52=function(_0x2a521d,_0x265ac6){_0x2a521d=_0x2a521d-0xaf;let _0x5589e2=_0x29f06a[_0x2a521d];return _0x5589e2;},a82_0x2a52(_0x243b86,_0x8b9c8);}export function getParentPath(_0xab95d2){const _0x1ea7d6=a82_0x2a52,_0x365f20=parsePath(_0xab95d2);if(_0x365f20[_0x1ea7d6(0xb8)][_0x1ea7d6(0xb0)]<=0x1)return'/';const _0x5edd76=_0x365f20[_0x1ea7d6(0xb8)][_0x1ea7d6(0xb5)](0x0,-0x1)[_0x1ea7d6(0xbd)]('/');return _0x365f20[_0x1ea7d6(0xc2)]['startsWith']('/')?'/'+_0x5edd76:_0x5edd76;}export function getBaseName(_0x481817){const _0x3de6af=a82_0x2a52,_0x19c027=parsePath(_0x481817);return _0x19c027['segments'][_0x19c027[_0x3de6af(0xb8)][_0x3de6af(0xb0)]-0x1]||'';}export function isChildPath(_0x583e19,_0x2953a5){const _0x1705ae=a82_0x2a52,_0x425c53=parsePath(_0x583e19),_0x1545ef=parsePath(_0x2953a5);if(_0x425c53[_0x1705ae(0xb8)][_0x1705ae(0xb0)]<=_0x1545ef[_0x1705ae(0xb8)]['length'])return![];for(let _0x468fdc=0x0;_0x468fdc<_0x1545ef[_0x1705ae(0xb8)]['length'];_0x468fdc++){if(_0x425c53[_0x1705ae(0xb8)][_0x468fdc]!==_0x1545ef[_0x1705ae(0xb8)][_0x468fdc])return![];}return!![];}export function splitPath(_0x252b8d){const _0x200191=a82_0x2a52,_0x4751c7=parsePath(_0x252b8d);if(_0x4751c7[_0x200191(0xb8)][_0x200191(0xb0)]===0x0)throw new Error(_0x200191(0xc1));if(_0x4751c7[_0x200191(0xb8)]['length']===0x1)return{'parent':_0x4751c7[_0x200191(0xb8)][0x0]};return{'parent':_0x4751c7[_0x200191(0xb8)][0x0],'child':_0x4751c7[_0x200191(0xb8)][_0x200191(0xb5)](0x1)[_0x200191(0xbd)]('/')};}
@@ -1 +1 @@
1
- function a83_0x14e7(_0x31bdc1,_0x795824){const _0x10b814=a83_0x10b8();return a83_0x14e7=function(_0x14e7e5,_0x32e040){_0x14e7e5=_0x14e7e5-0x1af;let _0x9d7031=_0x10b814[_0x14e7e5];return _0x9d7031;},a83_0x14e7(_0x31bdc1,_0x795824);}(function(_0x48af3c,_0x11a5ff){const _0x543d87=a83_0x14e7,_0x47903b=_0x48af3c();while(!![]){try{const _0x1c2c7d=-parseInt(_0x543d87(0x1b1))/0x1*(parseInt(_0x543d87(0x1b0))/0x2)+-parseInt(_0x543d87(0x1af))/0x3*(-parseInt(_0x543d87(0x1b2))/0x4)+-parseInt(_0x543d87(0x1bc))/0x5*(-parseInt(_0x543d87(0x1b7))/0x6)+-parseInt(_0x543d87(0x1bb))/0x7+-parseInt(_0x543d87(0x1b6))/0x8+parseInt(_0x543d87(0x1b5))/0x9*(-parseInt(_0x543d87(0x1b9))/0xa)+parseInt(_0x543d87(0x1bd))/0xb;if(_0x1c2c7d===_0x11a5ff)break;else _0x47903b['push'](_0x47903b['shift']());}catch(_0x2c2a40){_0x47903b['push'](_0x47903b['shift']());}}}(a83_0x10b8,0x7ccb0));export function parseSegmentRef(_0x4651e5){const _0x55914c=a83_0x14e7,_0x26fab5=_0x4651e5['indexOf']('/');if(_0x26fab5===-0x1)return{'parentId':_0x4651e5};if(_0x26fab5===0x0)throw new Error('Invalid\x20segment\x20reference\x20format:\x20'+_0x4651e5+_0x55914c(0x1b3));const _0x153587=_0x4651e5['substring'](0x0,_0x26fab5),_0x341c2e=_0x4651e5[_0x55914c(0x1b4)](_0x26fab5+0x1);if(_0x341c2e==='')throw new Error(_0x55914c(0x1b8)+_0x4651e5+_0x55914c(0x1ba));return{'parentId':_0x153587,'childId':_0x341c2e};}function a83_0x10b8(){const _0x549816=['774VwuxPn','Invalid\x20segment\x20reference\x20format:\x20','1420bTKfXT','.\x20Child\x20name\x20cannot\x20be\x20empty','1388975qzCyZF','13655qaeQcX','13416689FbmDIY','270FwqvKr','74nOQhda','12049WFGYTb','17012rScIas','.\x20Parent\x20name\x20cannot\x20be\x20empty','substring','48681xDeNad','250400vtgThO'];a83_0x10b8=function(){return _0x549816;};return a83_0x10b8();}
1
+ function a83_0x1f10(_0x2b66cc,_0x4c0bf5){const _0x1c0455=a83_0x1c04();return a83_0x1f10=function(_0x1f1003,_0x5ff69){_0x1f1003=_0x1f1003-0x9c;let _0x5c76d8=_0x1c0455[_0x1f1003];return _0x5c76d8;},a83_0x1f10(_0x2b66cc,_0x4c0bf5);}function a83_0x1c04(){const _0xcfec1b=['75cHBdea','59128vNiqxs','Invalid\x20segment\x20reference\x20format:\x20','11KMjweH','14vvGwmD','8iqDTjV','402870TuJfUg','.\x20Parent\x20name\x20cannot\x20be\x20empty','178209rMCrrn','70anAbfy','substring','295839qSYnfU','36OdDHob','8087688xcnXTA','770jccVkl','307532BdZKWr','7039877tNYkNt'];a83_0x1c04=function(){return _0xcfec1b;};return a83_0x1c04();}(function(_0x2ca0a2,_0x1adf5f){const _0x54ed4a=a83_0x1f10,_0x123555=_0x2ca0a2();while(!![]){try{const _0x5c4872=parseInt(_0x54ed4a(0xa7))/0x1*(-parseInt(_0x54ed4a(0x9d))/0x2)+parseInt(_0x54ed4a(0xa3))/0x3*(parseInt(_0x54ed4a(0xa4))/0x4)+-parseInt(_0x54ed4a(0xa9))/0x5*(parseInt(_0x54ed4a(0x9e))/0x6)+parseInt(_0x54ed4a(0xa6))/0x7*(parseInt(_0x54ed4a(0xaa))/0x8)+-parseInt(_0x54ed4a(0xa0))/0x9*(-parseInt(_0x54ed4a(0xa1))/0xa)+-parseInt(_0x54ed4a(0xac))/0xb*(-parseInt(_0x54ed4a(0xa5))/0xc)+parseInt(_0x54ed4a(0xa8))/0xd*(parseInt(_0x54ed4a(0x9c))/0xe);if(_0x5c4872===_0x1adf5f)break;else _0x123555['push'](_0x123555['shift']());}catch(_0x518826){_0x123555['push'](_0x123555['shift']());}}}(a83_0x1c04,0xc78b6));export function parseSegmentRef(_0x4fbd1b){const _0x599e02=a83_0x1f10,_0x210927=_0x4fbd1b['indexOf']('/');if(_0x210927===-0x1)return{'parentId':_0x4fbd1b};if(_0x210927===0x0)throw new Error(_0x599e02(0xab)+_0x4fbd1b+_0x599e02(0x9f));const _0x57c8c0=_0x4fbd1b[_0x599e02(0xa2)](0x0,_0x210927),_0x28ed64=_0x4fbd1b[_0x599e02(0xa2)](_0x210927+0x1);if(_0x28ed64==='')throw new Error('Invalid\x20segment\x20reference\x20format:\x20'+_0x4fbd1b+'.\x20Child\x20name\x20cannot\x20be\x20empty');return{'parentId':_0x57c8c0,'childId':_0x28ed64};}
@@ -1 +1 @@
1
- (function(_0x58d097,_0x36e280){const _0x20f0a9=a84_0x2131,_0x42bf14=_0x58d097();while(!![]){try{const _0x2121e1=parseInt(_0x20f0a9(0x1ee))/0x1+parseInt(_0x20f0a9(0x1e8))/0x2*(-parseInt(_0x20f0a9(0x1e7))/0x3)+parseInt(_0x20f0a9(0x1ea))/0x4*(-parseInt(_0x20f0a9(0x1e2))/0x5)+parseInt(_0x20f0a9(0x1e5))/0x6+parseInt(_0x20f0a9(0x1dd))/0x7*(-parseInt(_0x20f0a9(0x1e6))/0x8)+-parseInt(_0x20f0a9(0x1e4))/0x9*(-parseInt(_0x20f0a9(0x1f1))/0xa)+parseInt(_0x20f0a9(0x1e0))/0xb;if(_0x2121e1===_0x36e280)break;else _0x42bf14['push'](_0x42bf14['shift']());}catch(_0x31a741){_0x42bf14['push'](_0x42bf14['shift']());}}}(a84_0x1729,0x34ddb));import a84_0x1ba55b from'ora';export function createCommandSpinner(_0x5f478b,_0x115a9f={}){const _0x55b2a3=a84_0x2131,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x115a9f;return a84_0x1ba55b({'text':_0x5f478b,'color':_0x55b2a3(0x1ef),'isEnabled':forceEnabled||process[_0x55b2a3(0x1e9)][_0x55b2a3(0x1ec)]&&!verbose});}export async function withSpinner(_0x5efd42,_0x5b15f0,_0x4349d7={}){const _0x548e91=a84_0x2131,_0x7485c8=_0x4349d7[_0x548e91(0x1f2)]??(()=>Date['now']()),_0x492843=createCommandSpinner(_0x5efd42,_0x4349d7);_0x492843['start']();const _0x4ed00a=_0x7485c8();try{const _0x58664b=await _0x5b15f0(),_0x5a187b=_0x7485c8()-_0x4ed00a;return _0x492843[_0x548e91(0x1dc)](),{'data':_0x58664b,'elapsedMs':_0x5a187b};}catch(_0x477d0d){_0x492843[_0x548e91(0x1dc)]();throw _0x477d0d;}}function a84_0x2131(_0x104e10,_0x5b2f1d){const _0x1729b9=a84_0x1729();return a84_0x2131=function(_0x2131da,_0x2382f3){_0x2131da=_0x2131da-0x1db;let _0x5b593e=_0x1729b9[_0x2131da];return _0x5b593e;},a84_0x2131(_0x104e10,_0x5b2f1d);}export async function withQuerySpinner(_0x59f152,_0x3c2aa6,_0x1ec183={}){const _0x2c304f=a84_0x2131,_0x44de00=_0x1ec183[_0x2c304f(0x1f2)]??(()=>Date[_0x2c304f(0x1eb)]()),_0x2016a2=_0x1ec183[_0x2c304f(0x1e3)]??setInterval,_0x3a783e=createCommandSpinner(_0x59f152,_0x1ec183);_0x3a783e[_0x2c304f(0x1e1)]();const _0x355034=_0x44de00(),_0x5483e5=_0x59f152['replace']('...',''),_0x262151={},_0x334b92=()=>{const _0x6c56ef=_0x2c304f;if(!_0x3a783e['isSpinning'])return;const _0x5c0430=_0x44de00()-_0x355034,_0x591891=formatElapsed(_0x5c0430),_0xa72e86=_0x262151[_0x6c56ef(0x1f4)]??_0x5483e5,_0x381a3f=_0x262151['jobId']?_0x6c56ef(0x1f0)+_0x262151[_0x6c56ef(0x1de)]+']':'',_0x1c9a2b=_0x262151['extra']?'\x20'+_0x262151[_0x6c56ef(0x1ed)]:'';_0x3a783e[_0x6c56ef(0x1db)]=_0xa72e86+'\x20'+_0x591891+_0x1c9a2b+_0x381a3f;},_0x377c9b=_0x2016a2(()=>{_0x334b92();},0x3e8),_0x319076={'setPhase':_0x5510a8=>{_0x262151['phase']=_0x5510a8,_0x334b92();},'setJobId':_0x18dcb6=>{const _0x5d1472=_0x2c304f;_0x262151[_0x5d1472(0x1de)]=_0x18dcb6,_0x334b92();},'setExtra':_0x50d3a9=>{const _0x140394=_0x2c304f;_0x262151[_0x140394(0x1ed)]=_0x50d3a9,_0x334b92();}};_0x334b92();try{const _0x6e8585=await _0x3c2aa6(_0x319076),_0x2e0194=_0x44de00()-_0x355034;return{'data':_0x6e8585,'elapsedMs':_0x2e0194};}finally{clearInterval(_0x377c9b),_0x3a783e[_0x2c304f(0x1dc)]();}}export function formatElapsed(_0x2958e6){const _0x3d039=a84_0x2131,_0x371a7a=Math['floor'](_0x2958e6/0x3e8);if(_0x371a7a<0x3c)return(_0x2958e6/0x3e8)[_0x3d039(0x1f3)](0x1)+'s';const _0x260c8b=Math[_0x3d039(0x1df)](_0x371a7a/0x3c),_0x5909d3=_0x371a7a%0x3c;if(_0x260c8b<0x3c)return _0x260c8b+'m\x20'+_0x5909d3+'s';const _0x52192c=Math[_0x3d039(0x1df)](_0x260c8b/0x3c),_0x405935=_0x260c8b%0x3c;return _0x52192c+'h\x20'+_0x405935+'m';}function a84_0x1729(){const _0x5f0408=['301534roHPBr','cyan','\x20[Job\x20ID:\x20','421510LwuYiX','clock','toFixed','phase','text','stop','308735QnltUo','jobId','floor','609444adwzdC','start','5205tewKam','intervalFactory','54FiWiCm','1233150QZoAEU','56dGHOyy','291FQREPK','4994lDaqgj','stdout','184BmuimA','now','isTTY','extra'];a84_0x1729=function(){return _0x5f0408;};return a84_0x1729();}
1
+ function a84_0x2e5b(_0x334998,_0x474908){const _0x4c24d3=a84_0x4c24();return a84_0x2e5b=function(_0x2e5be0,_0x4032e9){_0x2e5be0=_0x2e5be0-0x114;let _0x5b7a30=_0x4c24d3[_0x2e5be0];return _0x5b7a30;},a84_0x2e5b(_0x334998,_0x474908);}(function(_0x53941f,_0xc1f5f9){const _0x3fbc5c=a84_0x2e5b,_0x5ad4b8=_0x53941f();while(!![]){try{const _0x314ffe=-parseInt(_0x3fbc5c(0x12b))/0x1+parseInt(_0x3fbc5c(0x117))/0x2*(-parseInt(_0x3fbc5c(0x11e))/0x3)+parseInt(_0x3fbc5c(0x11a))/0x4+-parseInt(_0x3fbc5c(0x11f))/0x5+-parseInt(_0x3fbc5c(0x11d))/0x6*(parseInt(_0x3fbc5c(0x114))/0x7)+-parseInt(_0x3fbc5c(0x120))/0x8+parseInt(_0x3fbc5c(0x12d))/0x9*(parseInt(_0x3fbc5c(0x124))/0xa);if(_0x314ffe===_0xc1f5f9)break;else _0x5ad4b8['push'](_0x5ad4b8['shift']());}catch(_0x2320f1){_0x5ad4b8['push'](_0x5ad4b8['shift']());}}}(a84_0x4c24,0x3da57));import a84_0xd4cde6 from'ora';export function createCommandSpinner(_0x4d0921,_0x3d68d7={}){const _0x3f864f=a84_0x2e5b,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x3d68d7;return a84_0xd4cde6({'text':_0x4d0921,'color':'cyan','isEnabled':forceEnabled||process[_0x3f864f(0x128)][_0x3f864f(0x125)]&&!verbose});}function a84_0x4c24(){const _0x467589=['458345XlLrGl','toFixed','15659874TDTQpz','819119JGbEBe','intervalFactory','isSpinning','866rcBvTG','now','\x20[Job\x20ID:\x20','1771036thnmFI','phase','replace','18pveAxi','1581HOkISA','2173725xPOigC','3663280qECDyq','stop','floor','clock','10caQcnd','isTTY','...','extra','stdout','jobId','start'];a84_0x4c24=function(){return _0x467589;};return a84_0x4c24();}export async function withSpinner(_0x51c59c,_0x547d90,_0x3ac460={}){const _0x366e7d=a84_0x2e5b,_0x11650c=_0x3ac460[_0x366e7d(0x123)]??(()=>Date[_0x366e7d(0x118)]()),_0x5bc7b7=createCommandSpinner(_0x51c59c,_0x3ac460);_0x5bc7b7[_0x366e7d(0x12a)]();const _0x16ee0d=_0x11650c();try{const _0x1134d9=await _0x547d90(),_0x5e24fc=_0x11650c()-_0x16ee0d;return _0x5bc7b7[_0x366e7d(0x121)](),{'data':_0x1134d9,'elapsedMs':_0x5e24fc};}catch(_0xc437ce){_0x5bc7b7['stop']();throw _0xc437ce;}}export async function withQuerySpinner(_0x21a9f7,_0x346276,_0x2b9ccb={}){const _0x5f10f8=a84_0x2e5b,_0x5dccdd=_0x2b9ccb[_0x5f10f8(0x123)]??(()=>Date[_0x5f10f8(0x118)]()),_0x25e714=_0x2b9ccb[_0x5f10f8(0x115)]??setInterval,_0x53eef2=createCommandSpinner(_0x21a9f7,_0x2b9ccb);_0x53eef2['start']();const _0x1f125a=_0x5dccdd(),_0x51f564=_0x21a9f7[_0x5f10f8(0x11c)](_0x5f10f8(0x126),''),_0x24962b={},_0x950946=()=>{const _0x488d05=_0x5f10f8;if(!_0x53eef2[_0x488d05(0x116)])return;const _0x36d100=_0x5dccdd()-_0x1f125a,_0x3e5bab=formatElapsed(_0x36d100),_0x26eaed=_0x24962b[_0x488d05(0x11b)]??_0x51f564,_0x3a0f42=_0x24962b[_0x488d05(0x129)]?_0x488d05(0x119)+_0x24962b[_0x488d05(0x129)]+']':'',_0x5da927=_0x24962b[_0x488d05(0x127)]?'\x20'+_0x24962b['extra']:'';_0x53eef2['text']=_0x26eaed+'\x20'+_0x3e5bab+_0x5da927+_0x3a0f42;},_0x7c2cdf=_0x25e714(()=>{_0x950946();},0x3e8),_0x58b592={'setPhase':_0x18c514=>{const _0x395fac=_0x5f10f8;_0x24962b[_0x395fac(0x11b)]=_0x18c514,_0x950946();},'setJobId':_0x5fa162=>{const _0x5d3fb7=_0x5f10f8;_0x24962b[_0x5d3fb7(0x129)]=_0x5fa162,_0x950946();},'setExtra':_0x1e574f=>{const _0x467c45=_0x5f10f8;_0x24962b[_0x467c45(0x127)]=_0x1e574f,_0x950946();}};_0x950946();try{const _0x39f2b4=await _0x346276(_0x58b592),_0x59635e=_0x5dccdd()-_0x1f125a;return{'data':_0x39f2b4,'elapsedMs':_0x59635e};}finally{clearInterval(_0x7c2cdf),_0x53eef2[_0x5f10f8(0x121)]();}}export function formatElapsed(_0x2d5f40){const _0xc01cfc=a84_0x2e5b,_0x1e96c4=Math[_0xc01cfc(0x122)](_0x2d5f40/0x3e8);if(_0x1e96c4<0x3c)return(_0x2d5f40/0x3e8)[_0xc01cfc(0x12c)](0x1)+'s';const _0x272f05=Math['floor'](_0x1e96c4/0x3c),_0x199d3e=_0x1e96c4%0x3c;if(_0x272f05<0x3c)return _0x272f05+'m\x20'+_0x199d3e+'s';const _0x45716b=Math[_0xc01cfc(0x122)](_0x272f05/0x3c),_0x398ead=_0x272f05%0x3c;return _0x45716b+'h\x20'+_0x398ead+'m';}
@@ -1 +1 @@
1
- (function(_0x5a91db,_0x270f49){const _0x20ffe8=a85_0x3f17,_0x5b9066=_0x5a91db();while(!![]){try{const _0x1814d7=-parseInt(_0x20ffe8(0xf4))/0x1+-parseInt(_0x20ffe8(0x105))/0x2*(-parseInt(_0x20ffe8(0xfc))/0x3)+parseInt(_0x20ffe8(0xeb))/0x4*(-parseInt(_0x20ffe8(0x106))/0x5)+-parseInt(_0x20ffe8(0xf1))/0x6*(parseInt(_0x20ffe8(0x103))/0x7)+parseInt(_0x20ffe8(0x102))/0x8+-parseInt(_0x20ffe8(0xfd))/0x9*(-parseInt(_0x20ffe8(0xed))/0xa)+parseInt(_0x20ffe8(0x107))/0xb*(parseInt(_0x20ffe8(0xfb))/0xc);if(_0x1814d7===_0x270f49)break;else _0x5b9066['push'](_0x5b9066['shift']());}catch(_0x26a77a){_0x5b9066['push'](_0x5b9066['shift']());}}}(a85_0x530b,0xea431));import{readFileSync}from'fs';function a85_0x530b(){const _0x3d33b5=['File\x20\x27','20sifcfM','filter','Permission\x20denied\x20reading\x20file\x20\x27','utf-8','6AGgnzU','code','EACCES','1257460yAdoXA','message','push','trim','length','\x27\x20not\x20found','Content\x20contains\x20no\x20SQL\x20statements','348qZVOui','1797717VRgGHO','7616277BZcgex','ENOENT','\x27:\x20','replace','map','7080088gaLXWt','9522443bkHCJJ','toLowerCase','4CSlTAw','5ZusUej','169191OgvtCg','2578792qfHnod'];a85_0x530b=function(){return _0x3d33b5;};return a85_0x530b();}export function stripSqlComments(_0xf20fda){const _0x39315a=a85_0x3f17;let _0x4ea505=_0xf20fda[_0x39315a(0x100)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x4ea505=_0x4ea505[_0x39315a(0x100)](/--.*$/gm,''),_0x4ea505[_0x39315a(0xf7)]();}function isEscaped(_0x5b3cd4,_0x10f8e7){let _0x5efa29=0x0;for(let _0x4eb7a6=_0x10f8e7-0x1;_0x4eb7a6>=0x0&&_0x5b3cd4[_0x4eb7a6]==='\x5c';_0x4eb7a6--){_0x5efa29++;}return _0x5efa29%0x2===0x1;}function a85_0x3f17(_0x377d75,_0x11b4d7){const _0x530b16=a85_0x530b();return a85_0x3f17=function(_0x3f170a,_0x245db4){_0x3f170a=_0x3f170a-0xeb;let _0x35ec36=_0x530b16[_0x3f170a];return _0x35ec36;},a85_0x3f17(_0x377d75,_0x11b4d7);}export function splitSqlStatements(_0x178848){const _0x29e095=a85_0x3f17,_0x5aa0b7=stripSqlComments(_0x178848);if(!_0x5aa0b7)throw new Error(_0x29e095(0xfa));const _0x5babf5=[];let _0x1a739a='',_0x9f046f=![],_0x4c886d=![],_0x487247=![];for(let _0x23e35b=0x0;_0x23e35b<_0x178848[_0x29e095(0xf8)];_0x23e35b++){const _0x187a99=_0x178848[_0x23e35b];if(_0x187a99==='\x27'&&!isEscaped(_0x178848,_0x23e35b)&&!_0x4c886d&&!_0x487247)_0x9f046f=!_0x9f046f;else{if(_0x187a99==='\x22'&&!isEscaped(_0x178848,_0x23e35b)&&!_0x9f046f&&!_0x487247)_0x4c886d=!_0x4c886d;else _0x187a99==='`'&&!isEscaped(_0x178848,_0x23e35b)&&!_0x9f046f&&!_0x4c886d&&(_0x487247=!_0x487247);}if(_0x187a99===';'&&!_0x9f046f&&!_0x4c886d&&!_0x487247){const _0x4fac84=_0x1a739a[_0x29e095(0xf7)]();_0x4fac84&&_0x5babf5[_0x29e095(0xf6)](_0x4fac84),_0x1a739a='';}else _0x1a739a+=_0x187a99;}const _0x270732=_0x1a739a[_0x29e095(0xf7)]();_0x270732&&_0x5babf5[_0x29e095(0xf6)](_0x270732);const _0x33bb2e=_0x5babf5[_0x29e095(0x101)](_0x154111=>_0x154111[_0x29e095(0xf7)]())[_0x29e095(0xee)](_0x1b469a=>{const _0x4bca5c=_0x29e095,_0x50dc10=stripSqlComments(_0x1b469a);return _0x50dc10[_0x4bca5c(0xf8)]>0x0;});if(_0x33bb2e[_0x29e095(0xf8)]===0x0)throw new Error(_0x29e095(0xfa));return _0x33bb2e;}export function readFileContent(_0x208ff8){const _0x41ccf9=a85_0x3f17;try{return readFileSync(_0x208ff8,_0x41ccf9(0xf0));}catch(_0x459fe0){const _0x44a80b=_0x459fe0[_0x41ccf9(0xf2)];if(_0x44a80b===_0x41ccf9(0xfe))throw new Error(_0x41ccf9(0xec)+_0x208ff8+_0x41ccf9(0xf9));else{if(_0x44a80b===_0x41ccf9(0xf3))throw new Error(_0x41ccf9(0xef)+_0x208ff8+'\x27');else throw new Error('Error\x20reading\x20file\x20\x27'+_0x208ff8+_0x41ccf9(0xff)+_0x459fe0[_0x41ccf9(0xf5)]);}}}export function readSqlStatementsFromFile(_0x3f947d){const _0x71cdb7=a85_0x3f17,_0x3eb9e4=readFileContent(_0x3f947d);try{return splitSqlStatements(_0x3eb9e4);}catch(_0x5a29a9){throw new Error(_0x71cdb7(0xec)+_0x3f947d+'\x27\x20'+_0x5a29a9[_0x71cdb7(0xf5)][_0x71cdb7(0x104)]());}}
1
+ (function(_0x8e15c2,_0x50a052){const _0x30cc14=a85_0x1617,_0x3cff2e=_0x8e15c2();while(!![]){try{const _0x1b0933=-parseInt(_0x30cc14(0x135))/0x1*(parseInt(_0x30cc14(0x12e))/0x2)+-parseInt(_0x30cc14(0x127))/0x3+-parseInt(_0x30cc14(0x137))/0x4*(-parseInt(_0x30cc14(0x13d))/0x5)+parseInt(_0x30cc14(0x129))/0x6*(parseInt(_0x30cc14(0x12a))/0x7)+-parseInt(_0x30cc14(0x132))/0x8*(-parseInt(_0x30cc14(0x13f))/0x9)+-parseInt(_0x30cc14(0x13e))/0xa+-parseInt(_0x30cc14(0x136))/0xb*(-parseInt(_0x30cc14(0x13c))/0xc);if(_0x1b0933===_0x50a052)break;else _0x3cff2e['push'](_0x3cff2e['shift']());}catch(_0x464fe9){_0x3cff2e['push'](_0x3cff2e['shift']());}}}(a85_0x11c0,0x39a73));function a85_0x1617(_0x359ec9,_0x4aed4c){const _0x11c001=a85_0x11c0();return a85_0x1617=function(_0x16177b,_0x3cb597){_0x16177b=_0x16177b-0x126;let _0x52362d=_0x11c001[_0x16177b];return _0x52362d;},a85_0x1617(_0x359ec9,_0x4aed4c);}function a85_0x11c0(){const _0x975fdc=['ENOENT','EACCES','File\x20\x27','22kdWiSD','\x27\x20not\x20found','trim','message','792944qHbObO','toLowerCase','utf-8','35114skAdAK','55gDrieS','299812NequZm','length','map','filter','Content\x20contains\x20no\x20SQL\x20statements','1720884UbonoA','30JAGneH','2288460yiiewl','9ezFhnE','push','replace','1278357ckkAQh','Error\x20reading\x20file\x20\x27','726HThoSa','665YRFKQw'];a85_0x11c0=function(){return _0x975fdc;};return a85_0x11c0();}import{readFileSync}from'fs';export function stripSqlComments(_0x6c59cc){const _0x14fe2d=a85_0x1617;let _0x51a385=_0x6c59cc[_0x14fe2d(0x126)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x51a385=_0x51a385[_0x14fe2d(0x126)](/--.*$/gm,''),_0x51a385[_0x14fe2d(0x130)]();}function isEscaped(_0x5dea71,_0x4dbba1){let _0x5f02c7=0x0;for(let _0x4718b2=_0x4dbba1-0x1;_0x4718b2>=0x0&&_0x5dea71[_0x4718b2]==='\x5c';_0x4718b2--){_0x5f02c7++;}return _0x5f02c7%0x2===0x1;}export function splitSqlStatements(_0x23b2be){const _0x4d5fe5=a85_0x1617,_0x5e234b=stripSqlComments(_0x23b2be);if(!_0x5e234b)throw new Error(_0x4d5fe5(0x13b));const _0x5b81dc=[];let _0x2a5f21='',_0x248da8=![],_0x2084ee=![],_0x57a277=![];for(let _0x5c7710=0x0;_0x5c7710<_0x23b2be[_0x4d5fe5(0x138)];_0x5c7710++){const _0x17f230=_0x23b2be[_0x5c7710];if(_0x17f230==='\x27'&&!isEscaped(_0x23b2be,_0x5c7710)&&!_0x2084ee&&!_0x57a277)_0x248da8=!_0x248da8;else{if(_0x17f230==='\x22'&&!isEscaped(_0x23b2be,_0x5c7710)&&!_0x248da8&&!_0x57a277)_0x2084ee=!_0x2084ee;else _0x17f230==='`'&&!isEscaped(_0x23b2be,_0x5c7710)&&!_0x248da8&&!_0x2084ee&&(_0x57a277=!_0x57a277);}if(_0x17f230===';'&&!_0x248da8&&!_0x2084ee&&!_0x57a277){const _0x36deb9=_0x2a5f21[_0x4d5fe5(0x130)]();_0x36deb9&&_0x5b81dc['push'](_0x36deb9),_0x2a5f21='';}else _0x2a5f21+=_0x17f230;}const _0x1ee2d8=_0x2a5f21[_0x4d5fe5(0x130)]();_0x1ee2d8&&_0x5b81dc[_0x4d5fe5(0x140)](_0x1ee2d8);const _0x6da61b=_0x5b81dc[_0x4d5fe5(0x139)](_0x2b6b4d=>_0x2b6b4d[_0x4d5fe5(0x130)]())[_0x4d5fe5(0x13a)](_0x1fef21=>{const _0x423937=_0x4d5fe5,_0x109797=stripSqlComments(_0x1fef21);return _0x109797[_0x423937(0x138)]>0x0;});if(_0x6da61b[_0x4d5fe5(0x138)]===0x0)throw new Error(_0x4d5fe5(0x13b));return _0x6da61b;}export function readFileContent(_0xd3cd9c){const _0x13dab7=a85_0x1617;try{return readFileSync(_0xd3cd9c,_0x13dab7(0x134));}catch(_0x3582bf){const _0x3be32e=_0x3582bf['code'];if(_0x3be32e===_0x13dab7(0x12b))throw new Error('File\x20\x27'+_0xd3cd9c+_0x13dab7(0x12f));else{if(_0x3be32e===_0x13dab7(0x12c))throw new Error('Permission\x20denied\x20reading\x20file\x20\x27'+_0xd3cd9c+'\x27');else throw new Error(_0x13dab7(0x128)+_0xd3cd9c+'\x27:\x20'+_0x3582bf[_0x13dab7(0x131)]);}}}export function readSqlStatementsFromFile(_0x3a3aaa){const _0x69b9ac=a85_0x1617,_0x26b118=readFileContent(_0x3a3aaa);try{return splitSqlStatements(_0x26b118);}catch(_0x1987c4){throw new Error(_0x69b9ac(0x12d)+_0x3a3aaa+'\x27\x20'+_0x1987c4[_0x69b9ac(0x131)][_0x69b9ac(0x133)]());}}
@@ -1 +1 @@
1
- function a86_0x3003(){const _0x1b3fcb=['decode','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','646563KVfCib','20MZhFbn','Response\x20body\x20is\x20null','3925494WQBLWE','read','6376LhlCXP','5589925wisigd','[LLM\x20API\x20SSE]\x20','2639rlrlVt','event','pop','1473252oGkhQR','93734AtUNyo','split','body','slice','trim','2238jnuFMR','getReader','startsWith','12CvLZZU','debug','7415jJEAaR','data','indexOf','17ViAwom'];a86_0x3003=function(){return _0x1b3fcb;};return a86_0x3003();}function a86_0x19a7(_0x131456,_0x158611){const _0x3003aa=a86_0x3003();return a86_0x19a7=function(_0x19a7fb,_0x5e5642){_0x19a7fb=_0x19a7fb-0x176;let _0x545777=_0x3003aa[_0x19a7fb];return _0x545777;},a86_0x19a7(_0x131456,_0x158611);}(function(_0x39d70b,_0x5519fc){const _0x15c134=a86_0x19a7,_0x5c1b9e=_0x39d70b();while(!![]){try{const _0x89756e=-parseInt(_0x15c134(0x181))/0x1*(parseInt(_0x15c134(0x190))/0x2)+-parseInt(_0x15c134(0x184))/0x3+parseInt(_0x15c134(0x18f))/0x4+parseInt(_0x15c134(0x17e))/0x5*(-parseInt(_0x15c134(0x179))/0x6)+-parseInt(_0x15c134(0x18c))/0x7*(-parseInt(_0x15c134(0x189))/0x8)+parseInt(_0x15c134(0x187))/0x9*(parseInt(_0x15c134(0x185))/0xa)+parseInt(_0x15c134(0x18a))/0xb*(parseInt(_0x15c134(0x17c))/0xc);if(_0x89756e===_0x5519fc)break;else _0x5c1b9e['push'](_0x5c1b9e['shift']());}catch(_0x38e8e4){_0x5c1b9e['push'](_0x5c1b9e['shift']());}}}(a86_0x3003,0x7621e));export async function*parseSSEStream(_0x1e6756,_0x5670da){const _0x4d080f=a86_0x19a7;if(!_0x1e6756[_0x4d080f(0x176)])throw new Error(_0x4d080f(0x186));const _0x3139b9=_0x1e6756[_0x4d080f(0x176)][_0x4d080f(0x17a)](),_0x4f6943=new TextDecoder();let _0x5e2301='',_0x548eda={};try{while(!![]){const {done:_0x2140cf,value:_0xa3b8ec}=await _0x3139b9[_0x4d080f(0x188)]();if(_0x2140cf){if(_0x548eda[_0x4d080f(0x17f)]){_0x5670da?.[_0x4d080f(0x17d)](_0x4d080f(0x18b)+_0x548eda['data']);const _0x323751=parseSSEData(_0x548eda[_0x4d080f(0x17f)]);yield _0x323751;}break;}_0x5e2301+=_0x4f6943[_0x4d080f(0x182)](_0xa3b8ec,{'stream':!![]});const _0xa28365=_0x5e2301[_0x4d080f(0x191)]('\x0a');_0x5e2301=_0xa28365[_0x4d080f(0x18e)]()||'';for(const _0x14a02e of _0xa28365){if(_0x14a02e[_0x4d080f(0x178)]()===''){if(_0x548eda[_0x4d080f(0x17f)]){_0x5670da?.[_0x4d080f(0x17d)]('[LLM\x20API\x20SSE]\x20'+_0x548eda[_0x4d080f(0x17f)]);const _0x31ff10=parseSSEData(_0x548eda[_0x4d080f(0x17f)]);yield _0x31ff10,_0x548eda={};}continue;}if(_0x14a02e[_0x4d080f(0x17b)](':'))continue;const _0xce9d56=_0x14a02e[_0x4d080f(0x180)](':');if(_0xce9d56===-0x1)continue;const _0x3f2c3d=_0x14a02e[_0x4d080f(0x177)](0x0,_0xce9d56);let _0x385c17=_0x14a02e[_0x4d080f(0x177)](_0xce9d56+0x1);_0x385c17[_0x4d080f(0x17b)]('\x20')&&(_0x385c17=_0x385c17[_0x4d080f(0x177)](0x1));switch(_0x3f2c3d){case'event':_0x548eda[_0x4d080f(0x18d)]=_0x385c17;break;case _0x4d080f(0x17f):_0x548eda[_0x4d080f(0x17f)]=_0x548eda[_0x4d080f(0x17f)]?_0x548eda['data']+'\x0a'+_0x385c17:_0x385c17;break;case'id':_0x548eda['id']=_0x385c17;break;}}}}finally{_0x3139b9['releaseLock']();}}function parseSSEData(_0x466199){const _0xd13902=a86_0x19a7;try{return JSON['parse'](_0x466199);}catch(_0x2d187a){throw new Error(_0xd13902(0x183)+_0x466199,{'cause':_0x2d187a});}}
1
+ (function(_0x154dc8,_0x1aa624){const _0x25bdff=a86_0x32fb,_0x4a2ffc=_0x154dc8();while(!![]){try{const _0x2bffb7=-parseInt(_0x25bdff(0xea))/0x1+parseInt(_0x25bdff(0xde))/0x2*(parseInt(_0x25bdff(0xe0))/0x3)+parseInt(_0x25bdff(0xed))/0x4+parseInt(_0x25bdff(0xe9))/0x5+parseInt(_0x25bdff(0xe5))/0x6*(-parseInt(_0x25bdff(0xe4))/0x7)+-parseInt(_0x25bdff(0xe3))/0x8+-parseInt(_0x25bdff(0xe6))/0x9*(-parseInt(_0x25bdff(0xdc))/0xa);if(_0x2bffb7===_0x1aa624)break;else _0x4a2ffc['push'](_0x4a2ffc['shift']());}catch(_0xd61e){_0x4a2ffc['push'](_0x4a2ffc['shift']());}}}(a86_0x99d8,0x3175a));function a86_0x32fb(_0x192d1c,_0x49db1e){const _0x99d839=a86_0x99d8();return a86_0x32fb=function(_0x32fb8d,_0x2c3876){_0x32fb8d=_0x32fb8d-0xdb;let _0x5deec2=_0x99d839[_0x32fb8d];return _0x5deec2;},a86_0x32fb(_0x192d1c,_0x49db1e);}export async function*parseSSEStream(_0x180953,_0x3e44ab){const _0x33b5bf=a86_0x32fb;if(!_0x180953[_0x33b5bf(0xe8)])throw new Error('Response\x20body\x20is\x20null');const _0x4c810e=_0x180953[_0x33b5bf(0xe8)]['getReader'](),_0x5eb4cc=new TextDecoder();let _0x1f13b3='',_0x24631b={};try{while(!![]){const {done:_0x94beaf,value:_0x1d814e}=await _0x4c810e[_0x33b5bf(0xeb)]();if(_0x94beaf){if(_0x24631b[_0x33b5bf(0xef)]){_0x3e44ab?.['debug'](_0x33b5bf(0xdf)+_0x24631b[_0x33b5bf(0xef)]);const _0x28ccc4=parseSSEData(_0x24631b[_0x33b5bf(0xef)]);yield _0x28ccc4;}break;}_0x1f13b3+=_0x5eb4cc['decode'](_0x1d814e,{'stream':!![]});const _0x18e531=_0x1f13b3[_0x33b5bf(0xe2)]('\x0a');_0x1f13b3=_0x18e531[_0x33b5bf(0xf1)]()||'';for(const _0x484c18 of _0x18e531){if(_0x484c18[_0x33b5bf(0xdb)]()===''){if(_0x24631b['data']){_0x3e44ab?.[_0x33b5bf(0xf0)](_0x33b5bf(0xdf)+_0x24631b[_0x33b5bf(0xef)]);const _0x42061b=parseSSEData(_0x24631b[_0x33b5bf(0xef)]);yield _0x42061b,_0x24631b={};}continue;}if(_0x484c18[_0x33b5bf(0xee)](':'))continue;const _0x1b864e=_0x484c18[_0x33b5bf(0xf2)](':');if(_0x1b864e===-0x1)continue;const _0x2d54cb=_0x484c18['slice'](0x0,_0x1b864e);let _0x1ba377=_0x484c18['slice'](_0x1b864e+0x1);_0x1ba377[_0x33b5bf(0xee)]('\x20')&&(_0x1ba377=_0x1ba377['slice'](0x1));switch(_0x2d54cb){case _0x33b5bf(0xe7):_0x24631b['event']=_0x1ba377;break;case _0x33b5bf(0xef):_0x24631b[_0x33b5bf(0xef)]=_0x24631b[_0x33b5bf(0xef)]?_0x24631b[_0x33b5bf(0xef)]+'\x0a'+_0x1ba377:_0x1ba377;break;case'id':_0x24631b['id']=_0x1ba377;break;}}}}finally{_0x4c810e[_0x33b5bf(0xe1)]();}}function a86_0x99d8(){const _0x4be500=['parse','2FvcZgY','[LLM\x20API\x20SSE]\x20','621597cMfQim','releaseLock','split','1786552opUsTd','14mLDHli','1007778xrDtwD','9108nsCrpI','event','body','322175LPMpos','152007ZhpWuc','read','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','1006288XmfiUB','startsWith','data','debug','pop','indexOf','trim','3860TutUhK'];a86_0x99d8=function(){return _0x4be500;};return a86_0x99d8();}function parseSSEData(_0x396d4e){const _0x496247=a86_0x32fb;try{return JSON[_0x496247(0xdd)](_0x396d4e);}catch(_0x47d1fd){throw new Error(_0x496247(0xec)+_0x396d4e,{'cause':_0x47d1fd});}}
@@ -1 +1 @@
1
- (function(_0x46af0a,_0x266d0a){const _0x47977d=a87_0x10f0,_0xf147f1=_0x46af0a();while(!![]){try{const _0x461b70=parseInt(_0x47977d(0x194))/0x1*(parseInt(_0x47977d(0x195))/0x2)+parseInt(_0x47977d(0x18e))/0x3+-parseInt(_0x47977d(0x19f))/0x4*(-parseInt(_0x47977d(0x18f))/0x5)+parseInt(_0x47977d(0x18d))/0x6+parseInt(_0x47977d(0x196))/0x7+-parseInt(_0x47977d(0x19c))/0x8*(parseInt(_0x47977d(0x192))/0x9)+-parseInt(_0x47977d(0x190))/0xa;if(_0x461b70===_0x266d0a)break;else _0xf147f1['push'](_0xf147f1['shift']());}catch(_0x49222d){_0xf147f1['push'](_0xf147f1['shift']());}}}(a87_0x5384,0xcdb9d));import a87_0x38ecb4 from'string-width';export function stringWidth(_0x1c1023){return a87_0x38ecb4(_0x1c1023);}export function padEnd(_0x502658,_0x4d76cb){const _0x1deedf=a87_0x10f0,_0x4383ea=stringWidth(_0x502658);if(_0x4383ea>=_0x4d76cb)return _0x502658;return _0x502658+'\x20'[_0x1deedf(0x19d)](_0x4d76cb-_0x4383ea);}export function padStart(_0x3a0d9a,_0x56cfc4){const _0xab549e=stringWidth(_0x3a0d9a);if(_0xab549e>=_0x56cfc4)return _0x3a0d9a;return'\x20'['repeat'](_0x56cfc4-_0xab549e)+_0x3a0d9a;}export function centerAlign(_0x2b38d1,_0x4bc1b4){const _0x4763c4=a87_0x10f0,_0x293cfc=stringWidth(_0x2b38d1);if(_0x293cfc>_0x4bc1b4){if(_0x4bc1b4<=0x1)return'…'[_0x4763c4(0x1a7)](0x0,_0x4bc1b4);let _0x3ba1b9=_0x2b38d1;while(stringWidth(_0x3ba1b9+'…')>_0x4bc1b4){_0x3ba1b9=_0x3ba1b9[_0x4763c4(0x18c)](0x0,-0x1);}return _0x3ba1b9+'…';}if(_0x293cfc===_0x4bc1b4)return _0x2b38d1;const _0x39da28=_0x4bc1b4-_0x293cfc,_0x1528a4=Math[_0x4763c4(0x19a)](_0x39da28/0x2),_0x3e6c52=_0x39da28-_0x1528a4;return'\x20'[_0x4763c4(0x19d)](_0x1528a4)+_0x2b38d1+'\x20'['repeat'](_0x3e6c52);}export function escapeStringLiteral(_0x1cdbb4){const _0x1a118a=a87_0x10f0;if(!_0x1cdbb4||_0x1cdbb4[_0x1a118a(0x199)]()[_0x1a118a(0x1a0)]===0x0)throw new Error(_0x1a118a(0x19b));const _0x1140d4=_0x1cdbb4[_0x1a118a(0x1a3)](/'/g,'\x27\x27');return'\x27'+_0x1140d4+'\x27';}export function globToLike(_0x56c896){const _0x2a5bf2=a87_0x10f0;let _0x95b854=_0x56c896[_0x2a5bf2(0x1a3)](/\\/g,'\x5c\x5c')[_0x2a5bf2(0x1a3)](/%/g,'\x5c%')['replace'](/_/g,'\x5c_');return _0x95b854=_0x95b854[_0x2a5bf2(0x1a3)](/\*/g,'%')[_0x2a5bf2(0x1a3)](/\?/g,'_'),_0x95b854;}export function buildLikePattern(_0x115a60){const _0x11f509=a87_0x10f0;if(!_0x115a60||_0x115a60[_0x11f509(0x199)]()['length']===0x0)throw new Error('Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string');const _0x432a4d=globToLike(_0x115a60),_0x34baf0=_0x432a4d[_0x11f509(0x1a3)](/'/g,'\x27\x27');return'\x27'+_0x34baf0+'\x27';}function a87_0x5384(){const _0x487a47=['6960730ALgZAW','env','USERNAME','trim','floor','Cannot\x20escape\x20empty\x20string\x20literal','482872FlaoGq','repeat','toString','46524IDfXjD','length','USER','\x5c$&','replace','toLowerCase','random','test','substring','slice','4531794fUBRpD','2217360QWbEGh','515kmvAKU','32991150LwNjLV','padStart','90IcslEv','unknown','352852MJENcd','6TGcwNi'];a87_0x5384=function(){return _0x487a47;};return a87_0x5384();}export function matchGlobPattern(_0x24a9f0,_0x57c544){const _0x2ad945=a87_0x10f0,_0x55cae0=_0x57c544['replace'](/[.+^${}()|[\]\\]/g,_0x2ad945(0x1a2))[_0x2ad945(0x1a3)](/\*/g,'.*')[_0x2ad945(0x1a3)](/\?/g,'.'),_0x120d72=new RegExp('^'+_0x55cae0+'$');return _0x120d72[_0x2ad945(0x1a6)](_0x24a9f0);}export function getSanitizedUsername(){const _0x1a8e96=a87_0x10f0,_0x289b01=process[_0x1a8e96(0x197)][_0x1a8e96(0x1a1)]||process['env'][_0x1a8e96(0x198)]||_0x1a8e96(0x193);return _0x289b01[_0x1a8e96(0x1a3)](/[^a-zA-Z0-9]/g,'')[_0x1a8e96(0x1a4)]();}function a87_0x10f0(_0x112553,_0x2ff5ef){const _0x5384ba=a87_0x5384();return a87_0x10f0=function(_0x10f018,_0x15d810){_0x10f018=_0x10f018-0x18c;let _0x4150b9=_0x5384ba[_0x10f018];return _0x4150b9;},a87_0x10f0(_0x112553,_0x2ff5ef);}export function generateRandomHex(){const _0x52f14d=a87_0x10f0,_0x468548=Math[_0x52f14d(0x19a)](Math[_0x52f14d(0x1a5)]()*0xfffff);return _0x468548[_0x52f14d(0x19e)](0x10)[_0x52f14d(0x191)](0x5,'0');}
1
+ (function(_0x5aaebd,_0x18bed8){const _0x48f261=a87_0x552e,_0x11b723=_0x5aaebd();while(!![]){try{const _0x3d8f34=-parseInt(_0x48f261(0x16a))/0x1*(-parseInt(_0x48f261(0x163))/0x2)+-parseInt(_0x48f261(0x165))/0x3+-parseInt(_0x48f261(0x172))/0x4*(parseInt(_0x48f261(0x164))/0x5)+-parseInt(_0x48f261(0x16f))/0x6*(-parseInt(_0x48f261(0x15e))/0x7)+parseInt(_0x48f261(0x16c))/0x8+parseInt(_0x48f261(0x166))/0x9+-parseInt(_0x48f261(0x15c))/0xa;if(_0x3d8f34===_0x18bed8)break;else _0x11b723['push'](_0x11b723['shift']());}catch(_0x4eb3b8){_0x11b723['push'](_0x11b723['shift']());}}}(a87_0x494d,0xc2f42));function a87_0x494d(){const _0x11a294=['substring','unknown','15786Rovhlk','1187600VMNecW','630759IlkyTU','11455272WoWFZC','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','toLowerCase','replace','178tAjMpL','slice','8026544sAtXCu','repeat','Cannot\x20escape\x20empty\x20string\x20literal','7740FJGtCh','trim','length','8uYNKOG','test','env','26100570zInBYw','\x5c$&','2240UFCNDu','floor','random'];a87_0x494d=function(){return _0x11a294;};return a87_0x494d();}import a87_0x1179d2 from'string-width';export function stringWidth(_0x41adda){return a87_0x1179d2(_0x41adda);}export function padEnd(_0x5897c9,_0x1efcf3){const _0x34a3d0=a87_0x552e,_0x383f65=stringWidth(_0x5897c9);if(_0x383f65>=_0x1efcf3)return _0x5897c9;return _0x5897c9+'\x20'[_0x34a3d0(0x16d)](_0x1efcf3-_0x383f65);}export function padStart(_0x21580c,_0x57e525){const _0x112694=a87_0x552e,_0x9e8776=stringWidth(_0x21580c);if(_0x9e8776>=_0x57e525)return _0x21580c;return'\x20'[_0x112694(0x16d)](_0x57e525-_0x9e8776)+_0x21580c;}export function centerAlign(_0x40db9c,_0x3ed30d){const _0x51ba11=a87_0x552e,_0x35be80=stringWidth(_0x40db9c);if(_0x35be80>_0x3ed30d){if(_0x3ed30d<=0x1)return'…'[_0x51ba11(0x161)](0x0,_0x3ed30d);let _0x18b42a=_0x40db9c;while(stringWidth(_0x18b42a+'…')>_0x3ed30d){_0x18b42a=_0x18b42a[_0x51ba11(0x16b)](0x0,-0x1);}return _0x18b42a+'…';}if(_0x35be80===_0x3ed30d)return _0x40db9c;const _0x3deb90=_0x3ed30d-_0x35be80,_0x1d156a=Math[_0x51ba11(0x15f)](_0x3deb90/0x2),_0xae42f4=_0x3deb90-_0x1d156a;return'\x20'['repeat'](_0x1d156a)+_0x40db9c+'\x20'['repeat'](_0xae42f4);}export function escapeStringLiteral(_0x22a508){const _0x581ec3=a87_0x552e;if(!_0x22a508||_0x22a508[_0x581ec3(0x170)]()[_0x581ec3(0x171)]===0x0)throw new Error(_0x581ec3(0x16e));const _0x4c1adb=_0x22a508[_0x581ec3(0x169)](/'/g,'\x27\x27');return'\x27'+_0x4c1adb+'\x27';}export function globToLike(_0x314a1f){const _0x2dbe93=a87_0x552e;let _0x2b99ee=_0x314a1f['replace'](/\\/g,'\x5c\x5c')[_0x2dbe93(0x169)](/%/g,'\x5c%')['replace'](/_/g,'\x5c_');return _0x2b99ee=_0x2b99ee[_0x2dbe93(0x169)](/\*/g,'%')[_0x2dbe93(0x169)](/\?/g,'_'),_0x2b99ee;}export function buildLikePattern(_0x4a9999){const _0x2cc41c=a87_0x552e;if(!_0x4a9999||_0x4a9999['trim']()[_0x2cc41c(0x171)]===0x0)throw new Error(_0x2cc41c(0x167));const _0x568761=globToLike(_0x4a9999),_0x2bd2ed=_0x568761[_0x2cc41c(0x169)](/'/g,'\x27\x27');return'\x27'+_0x2bd2ed+'\x27';}export function matchGlobPattern(_0x2ae877,_0x209f0b){const _0x17d89e=a87_0x552e,_0x366f8d=_0x209f0b[_0x17d89e(0x169)](/[.+^${}()|[\]\\]/g,_0x17d89e(0x15d))['replace'](/\*/g,'.*')[_0x17d89e(0x169)](/\?/g,'.'),_0x398a15=new RegExp('^'+_0x366f8d+'$');return _0x398a15[_0x17d89e(0x15a)](_0x2ae877);}export function getSanitizedUsername(){const _0x44f6ef=a87_0x552e,_0x27a299=process[_0x44f6ef(0x15b)]['USER']||process[_0x44f6ef(0x15b)]['USERNAME']||_0x44f6ef(0x162);return _0x27a299[_0x44f6ef(0x169)](/[^a-zA-Z0-9]/g,'')[_0x44f6ef(0x168)]();}function a87_0x552e(_0x5eb5df,_0x11463a){const _0x494d00=a87_0x494d();return a87_0x552e=function(_0x552e48,_0x4b585c){_0x552e48=_0x552e48-0x15a;let _0x4ae455=_0x494d00[_0x552e48];return _0x4ae455;},a87_0x552e(_0x5eb5df,_0x11463a);}export function generateRandomHex(){const _0x26674f=a87_0x552e,_0x48d34d=Math['floor'](Math[_0x26674f(0x160)]()*0xfffff);return _0x48d34d['toString'](0x10)['padStart'](0x5,'0');}
@@ -1 +1 @@
1
- (function(_0x4fa1b3,_0x4ddd50){const _0x42e776=a88_0x49f3,_0x401c1d=_0x4fa1b3();while(!![]){try{const _0x22070d=-parseInt(_0x42e776(0x13b))/0x1*(parseInt(_0x42e776(0x12d))/0x2)+parseInt(_0x42e776(0x135))/0x3*(-parseInt(_0x42e776(0x134))/0x4)+parseInt(_0x42e776(0x141))/0x5+-parseInt(_0x42e776(0x13d))/0x6+-parseInt(_0x42e776(0x138))/0x7+parseInt(_0x42e776(0x139))/0x8+parseInt(_0x42e776(0x13a))/0x9;if(_0x22070d===_0x4ddd50)break;else _0x401c1d['push'](_0x401c1d['shift']());}catch(_0x3ba8d4){_0x401c1d['push'](_0x401c1d['shift']());}}}(a88_0x27e4,0x8e067));function a88_0x49f3(_0x2bb85d,_0x2552d1){const _0x27e433=a88_0x27e4();return a88_0x49f3=function(_0x49f3ff,_0x974ff7){_0x49f3ff=_0x49f3ff-0x12b;let _0xc8125b=_0x27e433[_0x49f3ff];return _0xc8125b;},a88_0x49f3(_0x2bb85d,_0x2552d1);}function hasWildcard(_0x2c8dbc){const _0x592d7d=a88_0x49f3;return _0x2c8dbc['includes']('*')||_0x2c8dbc[_0x592d7d(0x140)]('?');}export function parseTableReference(_0x3fc36f){const _0x1e8ea7=a88_0x49f3;if(!_0x3fc36f||_0x3fc36f[_0x1e8ea7(0x13f)]()['length']===0x0)throw new Error(_0x1e8ea7(0x143));const _0x2a6561=_0x3fc36f[_0x1e8ea7(0x13f)](),_0x36f868={'original':_0x2a6561},_0x1b1590=_0x2a6561['split']('.');if(_0x1b1590[_0x1e8ea7(0x12e)]===0x1){const _0x223921=_0x1b1590[0x0];if(!_0x223921)throw new Error(_0x1e8ea7(0x132));_0x36f868[_0x1e8ea7(0x13c)]=_0x223921;}else{if(_0x1b1590[_0x1e8ea7(0x12e)]===0x2){const [_0xe2e6b7,_0x22bf22]=_0x1b1590;if(!_0xe2e6b7)throw new Error(_0x1e8ea7(0x12c));if(!_0x22bf22)throw new Error(_0x1e8ea7(0x142));_0x36f868['database']=_0xe2e6b7,_0x36f868['table']=_0x22bf22;}else{if(_0x1b1590['length']===0x3){const [_0x138da0,_0x4d01ec,_0x4cd02e]=_0x1b1590;if(!_0x138da0||!_0x4d01ec||!_0x4cd02e)throw new Error(_0x1e8ea7(0x13e));_0x36f868['catalog']=_0x138da0,_0x36f868[_0x1e8ea7(0x12f)]=_0x4d01ec,_0x36f868[_0x1e8ea7(0x13c)]=_0x4cd02e;}else throw new Error(_0x1e8ea7(0x133));}}return _0x36f868;}export function formatTableReference(_0x479920){const _0x10cacc=a88_0x49f3,_0x77222b=[];return _0x479920['catalog']&&_0x77222b[_0x10cacc(0x131)](_0x479920[_0x10cacc(0x12b)]),_0x479920[_0x10cacc(0x12f)]&&_0x77222b[_0x10cacc(0x131)](_0x479920[_0x10cacc(0x12f)]),_0x479920[_0x10cacc(0x13c)]&&_0x77222b[_0x10cacc(0x131)](_0x479920[_0x10cacc(0x13c)]),_0x77222b[_0x10cacc(0x137)]('.');}function a88_0x27e4(){const _0x1c73e1=['Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','1940780WhenSQ','3LSDlIy','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','join','5874680kDIJBj','8698680CVDlfW','7250481WQIXXZ','2443aGIvye','table','5381310RlVrCs','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','trim','includes','5417820KWoUfX','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','catalog','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','142upZboG','length','database','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','push','Pattern\x20cannot\x20be\x20just\x20a\x20dot'];a88_0x27e4=function(){return _0x1c73e1;};return a88_0x27e4();}export function validateTableListReference(_0x2da4bf){return undefined;}export function validateTableDescribeReference(_0x599209){const _0x396741=a88_0x49f3;if(!_0x599209['table'])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x599209[_0x396741(0x12f)]&&hasWildcard(_0x599209[_0x396741(0x12f)]))return _0x396741(0x130);if(hasWildcard(_0x599209[_0x396741(0x13c)]))return _0x396741(0x136);return undefined;}
1
+ function a88_0x11c9(_0x305dd6,_0x38fc06){const _0x321b83=a88_0x321b();return a88_0x11c9=function(_0x11c96d,_0x4d7cfd){_0x11c96d=_0x11c96d-0xd1;let _0x198363=_0x321b83[_0x11c96d];return _0x198363;},a88_0x11c9(_0x305dd6,_0x38fc06);}(function(_0xe4dfd5,_0x56074d){const _0x4c71ad=a88_0x11c9,_0x53dacd=_0xe4dfd5();while(!![]){try{const _0x30081a=-parseInt(_0x4c71ad(0xe0))/0x1*(parseInt(_0x4c71ad(0xd4))/0x2)+-parseInt(_0x4c71ad(0xe2))/0x3*(-parseInt(_0x4c71ad(0xd5))/0x4)+parseInt(_0x4c71ad(0xe4))/0x5+-parseInt(_0x4c71ad(0xd3))/0x6+parseInt(_0x4c71ad(0xe3))/0x7+-parseInt(_0x4c71ad(0xe6))/0x8*(-parseInt(_0x4c71ad(0xd2))/0x9)+-parseInt(_0x4c71ad(0xd7))/0xa;if(_0x30081a===_0x56074d)break;else _0x53dacd['push'](_0x53dacd['shift']());}catch(_0x92f8fb){_0x53dacd['push'](_0x53dacd['shift']());}}}(a88_0x321b,0x7358c));function hasWildcard(_0x4b1d20){const _0x4ba14d=a88_0x11c9;return _0x4b1d20[_0x4ba14d(0xda)]('*')||_0x4b1d20[_0x4ba14d(0xda)]('?');}export function parseTableReference(_0x34d055){const _0x3f30da=a88_0x11c9;if(!_0x34d055||_0x34d055['trim']()[_0x3f30da(0xdf)]===0x0)throw new Error(_0x3f30da(0xdd));const _0x5b515c=_0x34d055[_0x3f30da(0xe7)](),_0x5e8395={'original':_0x5b515c},_0x267f43=_0x5b515c['split']('.');if(_0x267f43[_0x3f30da(0xdf)]===0x1){const _0x5086ae=_0x267f43[0x0];if(!_0x5086ae)throw new Error(_0x3f30da(0xe8));_0x5e8395[_0x3f30da(0xd6)]=_0x5086ae;}else{if(_0x267f43[_0x3f30da(0xdf)]===0x2){const [_0x27d89f,_0x21f936]=_0x267f43;if(!_0x27d89f)throw new Error(_0x3f30da(0xde));if(!_0x21f936)throw new Error(_0x3f30da(0xd1));_0x5e8395['database']=_0x27d89f,_0x5e8395['table']=_0x21f936;}else{if(_0x267f43[_0x3f30da(0xdf)]===0x3){const [_0x67e80,_0xe45c46,_0x3629ec]=_0x267f43;if(!_0x67e80||!_0xe45c46||!_0x3629ec)throw new Error(_0x3f30da(0xe1));_0x5e8395[_0x3f30da(0xe9)]=_0x67e80,_0x5e8395[_0x3f30da(0xdb)]=_0xe45c46,_0x5e8395['table']=_0x3629ec;}else throw new Error(_0x3f30da(0xd8));}}return _0x5e8395;}function a88_0x321b(){const _0x558eb6=['3832423WdpnAF','1658745sxPetw','join','1890256xvfJUu','trim','Pattern\x20cannot\x20be\x20just\x20a\x20dot','catalog','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','9YqOsws','1930494PwSrjq','674qVcgss','1480egBEhB','table','5889200eoLsMp','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','includes','database','push','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','length','373ShXQoN','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','3189CTicjS'];a88_0x321b=function(){return _0x558eb6;};return a88_0x321b();}export function formatTableReference(_0x2165ca){const _0x4cc569=a88_0x11c9,_0x1d996e=[];return _0x2165ca[_0x4cc569(0xe9)]&&_0x1d996e[_0x4cc569(0xdc)](_0x2165ca[_0x4cc569(0xe9)]),_0x2165ca[_0x4cc569(0xdb)]&&_0x1d996e[_0x4cc569(0xdc)](_0x2165ca[_0x4cc569(0xdb)]),_0x2165ca[_0x4cc569(0xd6)]&&_0x1d996e[_0x4cc569(0xdc)](_0x2165ca[_0x4cc569(0xd6)]),_0x1d996e[_0x4cc569(0xe5)]('.');}export function validateTableListReference(_0x518837){return undefined;}export function validateTableDescribeReference(_0x2f2797){const _0x532204=a88_0x11c9;if(!_0x2f2797[_0x532204(0xd6)])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x2f2797[_0x532204(0xdb)]&&hasWildcard(_0x2f2797[_0x532204(0xdb)]))return _0x532204(0xd9);if(hasWildcard(_0x2f2797['table']))return'Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation';return undefined;}
@@ -1 +1 @@
1
- const a89_0x3389d3=a89_0x500b;(function(_0x5b12ea,_0x12c474){const _0xa7f887=a89_0x500b,_0xe36d2a=_0x5b12ea();while(!![]){try{const _0x390530=parseInt(_0xa7f887(0x1da))/0x1+parseInt(_0xa7f887(0x1cb))/0x2+-parseInt(_0xa7f887(0x1f0))/0x3*(parseInt(_0xa7f887(0x1f6))/0x4)+parseInt(_0xa7f887(0x1e4))/0x5*(parseInt(_0xa7f887(0x1d4))/0x6)+-parseInt(_0xa7f887(0x1d3))/0x7*(parseInt(_0xa7f887(0x1e8))/0x8)+parseInt(_0xa7f887(0x1d5))/0x9*(parseInt(_0xa7f887(0x200))/0xa)+-parseInt(_0xa7f887(0x1e0))/0xb;if(_0x390530===_0x12c474)break;else _0xe36d2a['push'](_0xe36d2a['shift']());}catch(_0x29e72e){_0xe36d2a['push'](_0xe36d2a['shift']());}}}(a89_0x5309,0x742bb));import{createWriteStream,createReadStream}from'fs';function a89_0x5309(){const _0x270d6d=['rotateOldLogs','768568RQenOl','abs','getHours','cyan','getTimezoneOffset','cause','13649119PdJyyC','close','message','error','260WyDAcF','Warning:\x20Error\x20writing\x20to\x20tdx.log:','split','floor','112huqcAN','.cache','init','join','WARN','padStart','filter','tdx.log','42dyqNbk','gray','getLogPath','DEBUG','getMilliseconds','toISOString','47684QVJXJe','fileOnly','getMonth','getSeconds','logDir','getFullYear','INFO','logLevel','trace','logStream','10QWZWcp','write','.gz','logs','info','.log','name','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','Proxy\x20session\x20ended','TRACE','stringify','yellow','979704uJVGNq','red','debug','test','tdx-','warn','toString','ERROR','269325VThIBb','39546tRkQuZ','7389504XhoUiX','Warning:\x20Failed\x20to\x20compress\x20','includes','mtime'];a89_0x5309=function(){return _0x270d6d;};return a89_0x5309();}import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join}from'path';import{homedir}from'os';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import a89_0x25af63 from'chalk';function safeStringify(_0x2ae290){const _0x5e00ba=a89_0x500b;if(typeof _0x2ae290==='string')return _0x2ae290;if(_0x2ae290 instanceof Error)return _0x2ae290['stack']||_0x2ae290[_0x5e00ba(0x1c5)]+':\x20'+_0x2ae290[_0x5e00ba(0x1e2)];try{return JSON[_0x5e00ba(0x1c9)](_0x2ae290,(_0x168297,_0x2a7730)=>{const _0x4a0371=_0x5e00ba;if(_0x2a7730 instanceof Error)return{'name':_0x2a7730['name'],'message':_0x2a7730[_0x4a0371(0x1e2)],'stack':_0x2a7730['stack'],'cause':_0x2a7730[_0x4a0371(0x1df)]};return _0x2a7730;});}catch{return String(_0x2ae290);}}function getTimezoneOffset(){const _0x1002f3=a89_0x500b,_0x1a28bd=-new Date()[_0x1002f3(0x1de)](),_0xee3076=Math[_0x1002f3(0x1e7)](Math[_0x1002f3(0x1db)](_0x1a28bd)/0x3c),_0x3621bf=Math[_0x1002f3(0x1db)](_0x1a28bd)%0x3c,_0x364bad=_0x1a28bd>=0x0?'+':'-';return''+_0x364bad+_0xee3076['toString']()[_0x1002f3(0x1ed)](0x2,'0')+_0x3621bf[_0x1002f3(0x1d1)]()[_0x1002f3(0x1ed)](0x2,'0');}function formatTimestamp(){const _0x26ead1=a89_0x500b,_0x4f0c11=new Date(),_0x11056d=_0x4f0c11[_0x26ead1(0x1fb)](),_0x4f3607=(_0x4f0c11[_0x26ead1(0x1f8)]()+0x1)[_0x26ead1(0x1d1)]()[_0x26ead1(0x1ed)](0x2,'0'),_0x338330=_0x4f0c11['getDate']()[_0x26ead1(0x1d1)]()[_0x26ead1(0x1ed)](0x2,'0'),_0x3f10ff=_0x4f0c11[_0x26ead1(0x1dc)]()[_0x26ead1(0x1d1)]()[_0x26ead1(0x1ed)](0x2,'0'),_0xd44361=_0x4f0c11['getMinutes']()[_0x26ead1(0x1d1)]()[_0x26ead1(0x1ed)](0x2,'0'),_0x41a994=_0x4f0c11[_0x26ead1(0x1f9)]()['toString']()[_0x26ead1(0x1ed)](0x2,'0'),_0x39992a=_0x4f0c11[_0x26ead1(0x1f4)]()[_0x26ead1(0x1d1)]()[_0x26ead1(0x1ed)](0x3,'0'),_0x2d6894=getTimezoneOffset();return _0x11056d+'-'+_0x4f3607+'-'+_0x338330+'\x20'+_0x3f10ff+':'+_0xd44361+':'+_0x41a994+'.'+_0x39992a+_0x2d6894;}function a89_0x500b(_0x51f1ad,_0x4a966a){const _0x53090d=a89_0x5309();return a89_0x500b=function(_0x500b41,_0x22d55b){_0x500b41=_0x500b41-0x1c5;let _0xea2159=_0x53090d[_0x500b41];return _0xea2159;},a89_0x500b(_0x51f1ad,_0x4a966a);}function formatColoredLogEntry(_0x491521,_0x221c15){const _0x2ab4c2=a89_0x500b,_0x17bd77=formatTimestamp(),_0x4909e8=_0x221c15['map'](safeStringify)[_0x2ab4c2(0x1eb)]('\x20'),_0x4e8801=a89_0x25af63['gray'](_0x17bd77);let _0x5657b0;switch(_0x491521){case _0x2ab4c2(0x204):_0x5657b0=a89_0x25af63[_0x2ab4c2(0x1dd)]('['+_0x491521+']\x20');break;case'warn':_0x5657b0=a89_0x25af63[_0x2ab4c2(0x1ca)]('['+_0x491521+']\x20');break;case _0x2ab4c2(0x1e3):_0x5657b0=a89_0x25af63[_0x2ab4c2(0x1cc)]('['+_0x491521+']');break;case _0x2ab4c2(0x1cd):_0x5657b0=a89_0x25af63[_0x2ab4c2(0x1f1)]('['+_0x491521+']');break;default:_0x5657b0='['+_0x491521+']';}return _0x4e8801+'\x20'+_0x5657b0+'\x20'+_0x4909e8;}export var LogLevel;(function(_0x19ab41){const _0x30d174=a89_0x500b;_0x19ab41[_0x19ab41[_0x30d174(0x1c8)]=-0x2]='TRACE',_0x19ab41[_0x19ab41[_0x30d174(0x1f3)]=-0x1]=_0x30d174(0x1f3),_0x19ab41[_0x19ab41[_0x30d174(0x1fc)]=0x0]='INFO',_0x19ab41[_0x19ab41['WARN']=0x1]=_0x30d174(0x1ec),_0x19ab41[_0x19ab41[_0x30d174(0x1d2)]=0x2]=_0x30d174(0x1d2);}(LogLevel||(LogLevel={})));export class TDXLogger{[a89_0x3389d3(0x1ff)];[a89_0x3389d3(0x1fa)];[a89_0x3389d3(0x1fd)];[a89_0x3389d3(0x1f7)];constructor(_0x179e1a=LogLevel[a89_0x3389d3(0x1fc)],_0x6799f9=![]){const _0x4d545a=a89_0x3389d3;this['logDir']=join(homedir(),_0x4d545a(0x1e9),'tdx',_0x4d545a(0x203)),this[_0x4d545a(0x1fd)]=_0x179e1a,this[_0x4d545a(0x1f7)]=_0x6799f9;}async[a89_0x3389d3(0x1ea)](){const _0x580ab0=a89_0x3389d3;try{await mkdir(this['logDir'],{'recursive':!![]}),await this[_0x580ab0(0x1d9)]();const _0xba39c4=join(this[_0x580ab0(0x1fa)],'tdx.log');this[_0x580ab0(0x1ff)]=createWriteStream(_0xba39c4,{'flags':'a'}),this[_0x580ab0(0x1ff)]['on'](_0x580ab0(0x1e3),_0x4eb037=>{const _0x5ce2c7=_0x580ab0;console['error'](_0x5ce2c7(0x1e5),_0x4eb037[_0x5ce2c7(0x1e2)]);});}catch(_0x6bb978){console['error'](_0x580ab0(0x1c6),_0x6bb978);}}async[a89_0x3389d3(0x1d9)](){const _0x41389d=a89_0x3389d3;try{const _0x589a72=await readdir(this['logDir']),_0x5373cb=new Date()[_0x41389d(0x1f5)]()[_0x41389d(0x1e6)]('T')[0x0];if(_0x589a72[_0x41389d(0x1d7)](_0x41389d(0x1ef))){const _0x52c84b=join(this[_0x41389d(0x1fa)],'tdx.log'),_0x2f1110=await stat(_0x52c84b),_0x3e4f0b=new Date(_0x2f1110[_0x41389d(0x1d8)])[_0x41389d(0x1f5)]()[_0x41389d(0x1e6)]('T')[0x0];if(_0x3e4f0b<_0x5373cb){const _0x4e3c91=join(this[_0x41389d(0x1fa)],_0x41389d(0x1cf)+_0x3e4f0b+_0x41389d(0x205));await rename(_0x52c84b,_0x4e3c91);}}const _0x35680a=await readdir(this['logDir']),_0x43485a=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x4eb510=_0x35680a[_0x41389d(0x1ee)](_0x21a7a6=>_0x43485a[_0x41389d(0x1ce)](_0x21a7a6));for(const _0x20e3d1 of _0x4eb510){const _0x1cb767=join(this['logDir'],_0x20e3d1),_0x27d17c=join(this[_0x41389d(0x1fa)],_0x20e3d1+_0x41389d(0x202));try{await pipeline(createReadStream(_0x1cb767),createGzip(),createWriteStream(_0x27d17c)),await unlink(_0x1cb767);}catch(_0xb956f7){console[_0x41389d(0x1e3)](_0x41389d(0x1d6)+_0x20e3d1+':',_0xb956f7);}}}catch{}}[a89_0x3389d3(0x1cd)](..._0x1590d0){const _0x506fb1=a89_0x3389d3;if(this[_0x506fb1(0x1fd)]>LogLevel['DEBUG'])return;const _0x3a34b8=formatColoredLogEntry('debug',_0x1590d0);this[_0x506fb1(0x1ff)]?.[_0x506fb1(0x201)](_0x3a34b8+'\x0a');}[a89_0x3389d3(0x1fe)](..._0x2c3df3){const _0x2aad03=a89_0x3389d3;if(this[_0x2aad03(0x1fd)]>LogLevel['TRACE'])return;const _0x403162=formatColoredLogEntry(_0x2aad03(0x1fe),_0x2c3df3);this[_0x2aad03(0x1ff)]?.[_0x2aad03(0x201)](_0x403162+'\x0a');}[a89_0x3389d3(0x204)](..._0x383492){const _0x5571e3=a89_0x3389d3;if(this[_0x5571e3(0x1fd)]>LogLevel[_0x5571e3(0x1fc)])return;const _0x4b3cf2=formatColoredLogEntry(_0x5571e3(0x204),_0x383492);!this['fileOnly']&&console['log'](_0x4b3cf2),this[_0x5571e3(0x1ff)]?.[_0x5571e3(0x201)](_0x4b3cf2+'\x0a');}[a89_0x3389d3(0x1d0)](..._0x3ee287){const _0x466242=a89_0x3389d3;if(this[_0x466242(0x1fd)]>LogLevel[_0x466242(0x1ec)])return;const _0x3dc8a1=formatColoredLogEntry('warn',_0x3ee287);!this[_0x466242(0x1f7)]&&console['error'](_0x3dc8a1),this[_0x466242(0x1ff)]?.[_0x466242(0x201)](_0x3dc8a1+'\x0a');}['error'](..._0xca9b19){const _0x4d6fa7=a89_0x3389d3,_0x17478d=formatColoredLogEntry('error',_0xca9b19);!this[_0x4d6fa7(0x1f7)]&&console['error'](_0x17478d),this[_0x4d6fa7(0x1ff)]?.['write'](_0x17478d+'\x0a');}async[a89_0x3389d3(0x1e1)](){const _0x1c1fe1=a89_0x3389d3;return this[_0x1c1fe1(0x204)](_0x1c1fe1(0x1c7)),new Promise(_0x5c12eb=>{this['logStream']?this['logStream']['end'](()=>{_0x5c12eb();}):_0x5c12eb();});}[a89_0x3389d3(0x1f2)](){const _0x25ddd3=a89_0x3389d3;return join(this[_0x25ddd3(0x1fa)],_0x25ddd3(0x1ef));}}
1
+ const a89_0x223ee1=a89_0x53bb;(function(_0x3ef3bd,_0x3ca7d6){const _0xafd225=a89_0x53bb,_0x4bbcef=_0x3ef3bd();while(!![]){try{const _0x1889bf=-parseInt(_0xafd225(0xae))/0x1*(parseInt(_0xafd225(0x98))/0x2)+-parseInt(_0xafd225(0x85))/0x3*(-parseInt(_0xafd225(0xa9))/0x4)+parseInt(_0xafd225(0x80))/0x5*(parseInt(_0xafd225(0xb0))/0x6)+-parseInt(_0xafd225(0x87))/0x7*(-parseInt(_0xafd225(0x83))/0x8)+parseInt(_0xafd225(0xa8))/0x9*(parseInt(_0xafd225(0x9a))/0xa)+-parseInt(_0xafd225(0x90))/0xb*(parseInt(_0xafd225(0x8b))/0xc)+parseInt(_0xafd225(0x9c))/0xd;if(_0x1889bf===_0x3ca7d6)break;else _0x4bbcef['push'](_0x4bbcef['shift']());}catch(_0x192ce8){_0x4bbcef['push'](_0x4bbcef['shift']());}}}(a89_0xe76f,0x7d028));import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join}from'path';function a89_0x53bb(_0x41aa45,_0x40e602){const _0xe76f9c=a89_0xe76f();return a89_0x53bb=function(_0x53bb3d,_0x580a7e){_0x53bb3d=_0x53bb3d-0x79;let _0x1ca552=_0xe76f9c[_0x53bb3d];return _0x1ca552;},a89_0x53bb(_0x41aa45,_0x40e602);}import{homedir}from'os';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import a89_0x2c1e29 from'chalk';function safeStringify(_0x5829b3){const _0x1a6d1c=a89_0x53bb;if(typeof _0x5829b3===_0x1a6d1c(0x8f))return _0x5829b3;if(_0x5829b3 instanceof Error)return _0x5829b3[_0x1a6d1c(0x9f)]||_0x5829b3[_0x1a6d1c(0xa3)]+':\x20'+_0x5829b3['message'];try{return JSON[_0x1a6d1c(0x86)](_0x5829b3,(_0x26d07e,_0x2fbdea)=>{const _0x576348=_0x1a6d1c;if(_0x2fbdea instanceof Error)return{'name':_0x2fbdea[_0x576348(0xa3)],'message':_0x2fbdea['message'],'stack':_0x2fbdea['stack'],'cause':_0x2fbdea[_0x576348(0xb4)]};return _0x2fbdea;});}catch{return String(_0x5829b3);}}function getTimezoneOffset(){const _0x1cd23f=a89_0x53bb,_0x383ef9=-new Date()['getTimezoneOffset'](),_0x4d4b47=Math[_0x1cd23f(0x7f)](Math[_0x1cd23f(0xa7)](_0x383ef9)/0x3c),_0x25501c=Math[_0x1cd23f(0xa7)](_0x383ef9)%0x3c,_0x5b428c=_0x383ef9>=0x0?'+':'-';return''+_0x5b428c+_0x4d4b47[_0x1cd23f(0xb7)]()[_0x1cd23f(0xa0)](0x2,'0')+_0x25501c[_0x1cd23f(0xb7)]()[_0x1cd23f(0xa0)](0x2,'0');}function formatTimestamp(){const _0x3143b6=a89_0x53bb,_0x5a43d3=new Date(),_0xb32b3f=_0x5a43d3['getFullYear'](),_0x347104=(_0x5a43d3[_0x3143b6(0xb6)]()+0x1)[_0x3143b6(0xb7)]()['padStart'](0x2,'0'),_0x24403c=_0x5a43d3['getDate']()[_0x3143b6(0xb7)]()['padStart'](0x2,'0'),_0x307895=_0x5a43d3[_0x3143b6(0x7a)]()['toString']()[_0x3143b6(0xa0)](0x2,'0'),_0x52a84f=_0x5a43d3[_0x3143b6(0xa5)]()['toString']()[_0x3143b6(0xa0)](0x2,'0'),_0x35bb3e=_0x5a43d3['getSeconds']()[_0x3143b6(0xb7)]()[_0x3143b6(0xa0)](0x2,'0'),_0x3fc23f=_0x5a43d3['getMilliseconds']()['toString']()['padStart'](0x3,'0'),_0x251bef=getTimezoneOffset();return _0xb32b3f+'-'+_0x347104+'-'+_0x24403c+'\x20'+_0x307895+':'+_0x52a84f+':'+_0x35bb3e+'.'+_0x3fc23f+_0x251bef;}function a89_0xe76f(){const _0xa9dd76=['floor','5ulDeiB','init','rotateOldLogs','8bndoBa','tdx','27561jMdrKD','stringify','2531949TNEDzn','tdx-','.log','gray','8376mLmZAD','includes','INFO','.gz','string','11561PKWdrw','logStream','ERROR','message','yellow','error','log','red','167278lHUWgn','trace','45970UgJWJV','Warning:\x20Error\x20writing\x20to\x20tdx.log:','241904nlLSgo','DEBUG','fileOnly','stack','padStart','Warning:\x20Failed\x20to\x20compress\x20','write','name','tdx.log','getMinutes','toISOString','abs','531QkuIOt','256kdbtph','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','map','cyan','filter','3CAcTVf','warn','1542294DKIFJi','WARN','logLevel','debug','cause','TRACE','getMonth','toString','split','join','getHours','getLogPath','test','logDir','info'];a89_0xe76f=function(){return _0xa9dd76;};return a89_0xe76f();}function formatColoredLogEntry(_0x2c3be5,_0x1ce452){const _0x41a74a=a89_0x53bb,_0x34c506=formatTimestamp(),_0x278000=_0x1ce452[_0x41a74a(0xab)](safeStringify)[_0x41a74a(0x79)]('\x20'),_0xd4af6d=a89_0x2c1e29[_0x41a74a(0x8a)](_0x34c506);let _0x547a8e;switch(_0x2c3be5){case _0x41a74a(0x7e):_0x547a8e=a89_0x2c1e29[_0x41a74a(0xac)]('['+_0x2c3be5+']\x20');break;case _0x41a74a(0xaf):_0x547a8e=a89_0x2c1e29[_0x41a74a(0x94)]('['+_0x2c3be5+']\x20');break;case _0x41a74a(0x95):_0x547a8e=a89_0x2c1e29[_0x41a74a(0x97)]('['+_0x2c3be5+']');break;case _0x41a74a(0xb3):_0x547a8e=a89_0x2c1e29['gray']('['+_0x2c3be5+']');break;default:_0x547a8e='['+_0x2c3be5+']';}return _0xd4af6d+'\x20'+_0x547a8e+'\x20'+_0x278000;}export var LogLevel;(function(_0x1f1a12){const _0x40956b=a89_0x53bb;_0x1f1a12[_0x1f1a12[_0x40956b(0xb5)]=-0x2]=_0x40956b(0xb5),_0x1f1a12[_0x1f1a12['DEBUG']=-0x1]='DEBUG',_0x1f1a12[_0x1f1a12[_0x40956b(0x8d)]=0x0]='INFO',_0x1f1a12[_0x1f1a12[_0x40956b(0xb1)]=0x1]=_0x40956b(0xb1),_0x1f1a12[_0x1f1a12['ERROR']=0x2]=_0x40956b(0x92);}(LogLevel||(LogLevel={})));export class TDXLogger{[a89_0x223ee1(0x91)];['logDir'];[a89_0x223ee1(0xb2)];['fileOnly'];constructor(_0x46f91=LogLevel[a89_0x223ee1(0x8d)],_0x212c6c=![]){const _0x46174a=a89_0x223ee1;this[_0x46174a(0x7d)]=join(homedir(),'.cache',_0x46174a(0x84),'logs'),this[_0x46174a(0xb2)]=_0x46f91,this[_0x46174a(0x9e)]=_0x212c6c;}async[a89_0x223ee1(0x81)](){const _0x2fc760=a89_0x223ee1;try{await mkdir(this[_0x2fc760(0x7d)],{'recursive':!![]}),await this[_0x2fc760(0x82)]();const _0x17f3d0=join(this['logDir'],_0x2fc760(0xa4));this[_0x2fc760(0x91)]=createWriteStream(_0x17f3d0,{'flags':'a'}),this[_0x2fc760(0x91)]['on'](_0x2fc760(0x95),_0x2b366b=>{const _0x2921ad=_0x2fc760;console[_0x2921ad(0x95)](_0x2921ad(0x9b),_0x2b366b[_0x2921ad(0x93)]);});}catch(_0x36590f){console[_0x2fc760(0x95)](_0x2fc760(0xaa),_0x36590f);}}async[a89_0x223ee1(0x82)](){const _0x2da5cc=a89_0x223ee1;try{const _0x2666ad=await readdir(this['logDir']),_0x39bb8c=new Date()[_0x2da5cc(0xa6)]()[_0x2da5cc(0xb8)]('T')[0x0];if(_0x2666ad[_0x2da5cc(0x8c)](_0x2da5cc(0xa4))){const _0x7cb1cd=join(this[_0x2da5cc(0x7d)],'tdx.log'),_0x4e81b1=await stat(_0x7cb1cd),_0x4ca7f1=new Date(_0x4e81b1['mtime'])['toISOString']()[_0x2da5cc(0xb8)]('T')[0x0];if(_0x4ca7f1<_0x39bb8c){const _0x574ea6=join(this['logDir'],_0x2da5cc(0x88)+_0x4ca7f1+_0x2da5cc(0x89));await rename(_0x7cb1cd,_0x574ea6);}}const _0x38a7ff=await readdir(this['logDir']),_0x484c0a=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x56b935=_0x38a7ff[_0x2da5cc(0xad)](_0x564de3=>_0x484c0a[_0x2da5cc(0x7c)](_0x564de3));for(const _0x126509 of _0x56b935){const _0x19c745=join(this[_0x2da5cc(0x7d)],_0x126509),_0xf923e9=join(this['logDir'],_0x126509+_0x2da5cc(0x8e));try{await pipeline(createReadStream(_0x19c745),createGzip(),createWriteStream(_0xf923e9)),await unlink(_0x19c745);}catch(_0x40695d){console[_0x2da5cc(0x95)](_0x2da5cc(0xa1)+_0x126509+':',_0x40695d);}}}catch{}}[a89_0x223ee1(0xb3)](..._0x15263d){const _0x522e57=a89_0x223ee1;if(this[_0x522e57(0xb2)]>LogLevel[_0x522e57(0x9d)])return;const _0x512f76=formatColoredLogEntry(_0x522e57(0xb3),_0x15263d);this[_0x522e57(0x91)]?.[_0x522e57(0xa2)](_0x512f76+'\x0a');}['trace'](..._0x5032bd){const _0x2de92a=a89_0x223ee1;if(this['logLevel']>LogLevel[_0x2de92a(0xb5)])return;const _0x21342b=formatColoredLogEntry(_0x2de92a(0x99),_0x5032bd);this['logStream']?.[_0x2de92a(0xa2)](_0x21342b+'\x0a');}[a89_0x223ee1(0x7e)](..._0x11fcdc){const _0x3ddf32=a89_0x223ee1;if(this[_0x3ddf32(0xb2)]>LogLevel[_0x3ddf32(0x8d)])return;const _0x5e8940=formatColoredLogEntry(_0x3ddf32(0x7e),_0x11fcdc);!this[_0x3ddf32(0x9e)]&&console[_0x3ddf32(0x96)](_0x5e8940),this[_0x3ddf32(0x91)]?.[_0x3ddf32(0xa2)](_0x5e8940+'\x0a');}[a89_0x223ee1(0xaf)](..._0x2723f0){const _0x126770=a89_0x223ee1;if(this[_0x126770(0xb2)]>LogLevel[_0x126770(0xb1)])return;const _0x599403=formatColoredLogEntry(_0x126770(0xaf),_0x2723f0);!this['fileOnly']&&console['error'](_0x599403),this['logStream']?.[_0x126770(0xa2)](_0x599403+'\x0a');}[a89_0x223ee1(0x95)](..._0x188640){const _0x299cef=a89_0x223ee1,_0x5b5b66=formatColoredLogEntry(_0x299cef(0x95),_0x188640);!this[_0x299cef(0x9e)]&&console[_0x299cef(0x95)](_0x5b5b66),this[_0x299cef(0x91)]?.[_0x299cef(0xa2)](_0x5b5b66+'\x0a');}async['close'](){const _0xba2d7=a89_0x223ee1;return this[_0xba2d7(0x7e)]('Proxy\x20session\x20ended'),new Promise(_0x34d64f=>{const _0x326a3c=_0xba2d7;this[_0x326a3c(0x91)]?this[_0x326a3c(0x91)]['end'](()=>{_0x34d64f();}):_0x34d64f();});}[a89_0x223ee1(0x7b)](){const _0xc9bb0e=a89_0x223ee1;return join(this[_0xc9bb0e(0x7d)],_0xc9bb0e(0xa4));}}
@@ -1 +1 @@
1
- (function(_0x572acd,_0x1b2576){const _0x59eaf5=a90_0x487a,_0x27c5da=_0x572acd();while(!![]){try{const _0x358886=-parseInt(_0x59eaf5(0x92))/0x1+-parseInt(_0x59eaf5(0x86))/0x2+parseInt(_0x59eaf5(0x8b))/0x3+parseInt(_0x59eaf5(0x8d))/0x4+-parseInt(_0x59eaf5(0x83))/0x5*(parseInt(_0x59eaf5(0x95))/0x6)+-parseInt(_0x59eaf5(0xa4))/0x7+parseInt(_0x59eaf5(0xa3))/0x8;if(_0x358886===_0x1b2576)break;else _0x27c5da['push'](_0x27c5da['shift']());}catch(_0x5df8d1){_0x27c5da['push'](_0x27c5da['shift']());}}}(a90_0x5985,0x2c2be));import{formatRows}from'./formatters.js';function a90_0x5985(){const _0xeb0b99=['(empty)','length','type','showTreeLines','map','push','children','dim','1989544ipePhJ','704326eOlyxU','folderCount','5vIcKuK','├──\x20','join','232398HHYzit','\x20\x20\x20\x20','segment','showMetadata','folder','709443VXUrVN','sort','466640kJBBeK','metadata','population','icon','\x20segment','88344IotpfE','showIcons','localeCompare','694482EEGDrq','segmentCount','name','indent','\x20folder','🎯\x20'];a90_0x5985=function(){return _0xeb0b99;};return a90_0x5985();}import a90_0x562759 from'chalk';function a90_0x487a(_0x474887,_0x909061){const _0x59854e=a90_0x5985();return a90_0x487a=function(_0x487adc,_0x246962){_0x487adc=_0x487adc-0x82;let _0xa1bcf6=_0x59854e[_0x487adc];return _0xa1bcf6;},a90_0x487a(_0x474887,_0x909061);}const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x115812,_0x35cbfe={},_0x41ffe4=0x0,_0x4b2292=''){const _0x17e6d2=a90_0x487a,_0x46cd0c={...DEFAULT_OPTIONS,..._0x35cbfe},_0xf60c0f=[],_0x2ca39c=[..._0x115812][_0x17e6d2(0x8c)]((_0x4bcd64,_0x304bff)=>_0x4bcd64[_0x17e6d2(0x97)][_0x17e6d2(0x94)](_0x304bff[_0x17e6d2(0x97)]));for(let _0x4ee597=0x0;_0x4ee597<_0x2ca39c[_0x17e6d2(0x9c)];_0x4ee597++){const _0x47f017=_0x2ca39c[_0x4ee597],_0x41c8ea=_0x4ee597===_0x2ca39c[_0x17e6d2(0x9c)]-0x1;let _0x303938='';_0x41ffe4>0x0&&(_0x303938+=_0x4b2292);_0x46cd0c[_0x17e6d2(0x9e)]&&_0x41ffe4>0x0&&(_0x303938+=a90_0x562759[_0x17e6d2(0xa2)](_0x41c8ea?'└──\x20':_0x17e6d2(0x84)));_0x46cd0c[_0x17e6d2(0x93)]&&(_0x303938+=_0x47f017[_0x17e6d2(0x9d)]===_0x17e6d2(0x8a)?'📁\x20':_0x17e6d2(0x9a));_0x303938+=_0x47f017[_0x17e6d2(0x97)];if(_0x46cd0c['showMetadata']){if(_0x47f017[_0x17e6d2(0x9d)]===_0x17e6d2(0x8a)){const _0x41f777=[];_0x47f017[_0x17e6d2(0x8e)][_0x17e6d2(0x96)]&&_0x41f777['push'](_0x47f017['metadata'][_0x17e6d2(0x96)]+_0x17e6d2(0x91)+(_0x47f017[_0x17e6d2(0x8e)][_0x17e6d2(0x96)]!==0x1?'s':'')),_0x47f017[_0x17e6d2(0x8e)][_0x17e6d2(0x82)]&&_0x41f777[_0x17e6d2(0xa0)](_0x47f017[_0x17e6d2(0x8e)][_0x17e6d2(0x82)]+_0x17e6d2(0x99)+(_0x47f017[_0x17e6d2(0x8e)][_0x17e6d2(0x82)]!==0x1?'s':'')),_0x41f777[_0x17e6d2(0x9c)]>0x0&&(_0x303938+=a90_0x562759['dim']('\x20('+_0x41f777[_0x17e6d2(0x85)](',\x20')+')'));}else _0x47f017[_0x17e6d2(0x9d)]===_0x17e6d2(0x88)&&_0x47f017[_0x17e6d2(0x8f)]!==undefined&&(_0x303938+=a90_0x562759['dim']('\x20('+formatRows(_0x47f017[_0x17e6d2(0x8f)])+')'));}_0xf60c0f[_0x17e6d2(0xa0)](_0x303938);if(_0x47f017['children']&&_0x47f017[_0x17e6d2(0xa1)][_0x17e6d2(0x9c)]>0x0){let _0x5aa88b;if(_0x41ffe4===0x0)_0x5aa88b='';else _0x46cd0c['showTreeLines']?_0x5aa88b=_0x4b2292+(_0x41c8ea?_0x17e6d2(0x87):a90_0x562759[_0x17e6d2(0xa2)]('│')+'\x20\x20\x20'):_0x5aa88b=_0x4b2292+_0x46cd0c[_0x17e6d2(0x98)];const _0x51bedd=formatTree(_0x47f017[_0x17e6d2(0xa1)],_0x46cd0c,_0x41ffe4+0x1,_0x5aa88b);_0xf60c0f[_0x17e6d2(0xa0)](_0x51bedd);}}return _0xf60c0f[_0x17e6d2(0x85)]('\x0a');}export function formatFlatList(_0x5bce60,_0x3538ef,_0x58019b={}){const _0x3665df=a90_0x487a,_0x4c4012={...DEFAULT_OPTIONS,..._0x58019b},_0xee3645=[];for(const _0x195e30 of _0x5bce60){_0xee3645[_0x3665df(0xa0)]({'name':_0x195e30[_0x3665df(0x97)],'icon':_0x4c4012[_0x3665df(0x93)]?'📁':'','metadata':undefined});}for(const _0x2bd396 of _0x3538ef){const _0x400d56=_0x4c4012[_0x3665df(0x89)]&&_0x2bd396['population']!==undefined?a90_0x562759['dim']('\x20('+formatRows(_0x2bd396[_0x3665df(0x8f)])+')'):'';_0xee3645[_0x3665df(0xa0)]({'name':_0x2bd396['name'],'icon':_0x4c4012[_0x3665df(0x93)]?'🎯':'','metadata':_0x400d56});}_0xee3645['sort']((_0x188993,_0x2a9e66)=>_0x188993[_0x3665df(0x97)]['localeCompare'](_0x2a9e66[_0x3665df(0x97)]));if(_0xee3645[_0x3665df(0x9c)]===0x0)return _0x3665df(0x9b);const _0x36e7f3=_0xee3645[_0x3665df(0x9f)](_0x577119=>{const _0x3dcd40=_0x3665df,_0x4db981=_0x577119[_0x3dcd40(0x90)]?_0x577119[_0x3dcd40(0x90)]+'\x20':'',_0x32bd89=_0x577119[_0x3dcd40(0x8e)]||'';return''+_0x4db981+_0x577119[_0x3dcd40(0x97)]+_0x32bd89;});return _0x36e7f3[_0x3665df(0x85)]('\x0a');}
1
+ (function(_0x458195,_0x15e912){const _0x425da3=a90_0x8851,_0x330e3d=_0x458195();while(!![]){try{const _0x16fc0e=parseInt(_0x425da3(0xd6))/0x1*(-parseInt(_0x425da3(0xe7))/0x2)+-parseInt(_0x425da3(0xdb))/0x3*(parseInt(_0x425da3(0xde))/0x4)+-parseInt(_0x425da3(0xea))/0x5+parseInt(_0x425da3(0xe1))/0x6+parseInt(_0x425da3(0xd7))/0x7*(-parseInt(_0x425da3(0xd1))/0x8)+-parseInt(_0x425da3(0xdd))/0x9*(-parseInt(_0x425da3(0xd9))/0xa)+parseInt(_0x425da3(0xe2))/0xb;if(_0x16fc0e===_0x15e912)break;else _0x330e3d['push'](_0x330e3d['shift']());}catch(_0x3bdada){_0x330e3d['push'](_0x330e3d['shift']());}}}(a90_0x3363,0x95937));import{formatRows}from'./formatters.js';import a90_0x26b6f7 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};function a90_0x8851(_0x1f63f1,_0x1784b5){const _0x336337=a90_0x3363();return a90_0x8851=function(_0x885114,_0x5e8bb2){_0x885114=_0x885114-0xc9;let _0x4c1744=_0x336337[_0x885114];return _0x4c1744;},a90_0x8851(_0x1f63f1,_0x1784b5);}function a90_0x3363(){const _0x29a46d=['\x20segment','localeCompare','type','children','🎯\x20','segment','📁\x20','8zFUdGv','folderCount','join','sort','\x20\x20\x20','7Szuuvx','3856461puRNLc','showMetadata','15790uwBNSW','showIcons','1293pWmLhq','\x20\x20\x20\x20','6822vyReAa','2512FEgznp','segmentCount','(empty)','6143568NpywiQ','9363948bkgDZp','map','dim','\x20folder','metadata','336154LYFXFF','population','icon','2306425ptLaNR','showTreeLines','name','push','folder'];a90_0x3363=function(){return _0x29a46d;};return a90_0x3363();}export function formatTree(_0x2b3874,_0x98d38c={},_0x391e95=0x0,_0x175a87=''){const _0x120a22=a90_0x8851,_0x4b558c={...DEFAULT_OPTIONS,..._0x98d38c},_0x2060b3=[],_0x295b2a=[..._0x2b3874]['sort']((_0x32eb20,_0x2ce3bb)=>_0x32eb20[_0x120a22(0xec)][_0x120a22(0xcb)](_0x2ce3bb[_0x120a22(0xec)]));for(let _0x359eab=0x0;_0x359eab<_0x295b2a['length'];_0x359eab++){const _0x4a2056=_0x295b2a[_0x359eab],_0x2999d8=_0x359eab===_0x295b2a['length']-0x1;let _0x23a063='';_0x391e95>0x0&&(_0x23a063+=_0x175a87);_0x4b558c[_0x120a22(0xeb)]&&_0x391e95>0x0&&(_0x23a063+=a90_0x26b6f7['dim'](_0x2999d8?'└──\x20':'├──\x20'));_0x4b558c[_0x120a22(0xda)]&&(_0x23a063+=_0x4a2056['type']===_0x120a22(0xc9)?_0x120a22(0xd0):_0x120a22(0xce));_0x23a063+=_0x4a2056[_0x120a22(0xec)];if(_0x4b558c[_0x120a22(0xd8)]){if(_0x4a2056[_0x120a22(0xcc)]===_0x120a22(0xc9)){const _0x133efd=[];_0x4a2056[_0x120a22(0xe6)][_0x120a22(0xdf)]&&_0x133efd[_0x120a22(0xed)](_0x4a2056[_0x120a22(0xe6)][_0x120a22(0xdf)]+_0x120a22(0xca)+(_0x4a2056[_0x120a22(0xe6)]['segmentCount']!==0x1?'s':'')),_0x4a2056['metadata'][_0x120a22(0xd2)]&&_0x133efd[_0x120a22(0xed)](_0x4a2056[_0x120a22(0xe6)][_0x120a22(0xd2)]+_0x120a22(0xe5)+(_0x4a2056[_0x120a22(0xe6)][_0x120a22(0xd2)]!==0x1?'s':'')),_0x133efd['length']>0x0&&(_0x23a063+=a90_0x26b6f7[_0x120a22(0xe4)]('\x20('+_0x133efd['join'](',\x20')+')'));}else _0x4a2056[_0x120a22(0xcc)]===_0x120a22(0xcf)&&_0x4a2056[_0x120a22(0xe8)]!==undefined&&(_0x23a063+=a90_0x26b6f7[_0x120a22(0xe4)]('\x20('+formatRows(_0x4a2056[_0x120a22(0xe8)])+')'));}_0x2060b3[_0x120a22(0xed)](_0x23a063);if(_0x4a2056[_0x120a22(0xcd)]&&_0x4a2056['children']['length']>0x0){let _0x5d0a58;if(_0x391e95===0x0)_0x5d0a58='';else _0x4b558c[_0x120a22(0xeb)]?_0x5d0a58=_0x175a87+(_0x2999d8?_0x120a22(0xdc):a90_0x26b6f7['dim']('│')+_0x120a22(0xd5)):_0x5d0a58=_0x175a87+_0x4b558c['indent'];const _0x4f60ca=formatTree(_0x4a2056[_0x120a22(0xcd)],_0x4b558c,_0x391e95+0x1,_0x5d0a58);_0x2060b3[_0x120a22(0xed)](_0x4f60ca);}}return _0x2060b3[_0x120a22(0xd3)]('\x0a');}export function formatFlatList(_0xec4f9e,_0x52b83c,_0x41e33f={}){const _0x32f593=a90_0x8851,_0x3d5c4e={...DEFAULT_OPTIONS,..._0x41e33f},_0x57e5eb=[];for(const _0x56cb3c of _0xec4f9e){_0x57e5eb[_0x32f593(0xed)]({'name':_0x56cb3c[_0x32f593(0xec)],'icon':_0x3d5c4e['showIcons']?'📁':'','metadata':undefined});}for(const _0x36e914 of _0x52b83c){const _0x49a77f=_0x3d5c4e[_0x32f593(0xd8)]&&_0x36e914[_0x32f593(0xe8)]!==undefined?a90_0x26b6f7[_0x32f593(0xe4)]('\x20('+formatRows(_0x36e914['population'])+')'):'';_0x57e5eb[_0x32f593(0xed)]({'name':_0x36e914['name'],'icon':_0x3d5c4e[_0x32f593(0xda)]?'🎯':'','metadata':_0x49a77f});}_0x57e5eb[_0x32f593(0xd4)]((_0xc0b93f,_0x5b893a)=>_0xc0b93f[_0x32f593(0xec)][_0x32f593(0xcb)](_0x5b893a['name']));if(_0x57e5eb['length']===0x0)return _0x32f593(0xe0);const _0x4c7b4a=_0x57e5eb[_0x32f593(0xe3)](_0xdcdc52=>{const _0x4d807f=_0x32f593,_0x5e4559=_0xdcdc52[_0x4d807f(0xe9)]?_0xdcdc52[_0x4d807f(0xe9)]+'\x20':'',_0x591f73=_0xdcdc52[_0x4d807f(0xe6)]||'';return''+_0x5e4559+_0xdcdc52[_0x4d807f(0xec)]+_0x591f73;});return _0x4c7b4a[_0x32f593(0xd3)]('\x0a');}
@@ -1 +1 @@
1
- const a91_0x36d9dd=a91_0x5b9f;(function(_0x5c71fc,_0x525074){const _0x23688e=a91_0x5b9f,_0x3caf89=_0x5c71fc();while(!![]){try{const _0x39b0e8=-parseInt(_0x23688e(0x1d6))/0x1+-parseInt(_0x23688e(0x1d3))/0x2+-parseInt(_0x23688e(0x1d5))/0x3*(parseInt(_0x23688e(0x1ce))/0x4)+-parseInt(_0x23688e(0x1cf))/0x5*(parseInt(_0x23688e(0x1c5))/0x6)+parseInt(_0x23688e(0x1d0))/0x7*(parseInt(_0x23688e(0x1d7))/0x8)+-parseInt(_0x23688e(0x1da))/0x9*(parseInt(_0x23688e(0x1bf))/0xa)+parseInt(_0x23688e(0x1c2))/0xb;if(_0x39b0e8===_0x525074)break;else _0x3caf89['push'](_0x3caf89['shift']());}catch(_0x1a6ae0){_0x3caf89['push'](_0x3caf89['shift']());}}}(a91_0x14cc,0xb479d));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';function a91_0x14cc(){const _0xfb0972=['error','dim','47357409deJidJ','utf-8','end','942tvZixe','write','green','currentVersion','Run:','HTTP\x20','latestVersion','stderr','updateAvailable','4itnsGL','37475lXmELj','277067DotiUk','yellow','statusCode','1891678IhVLVC','parse','2062689YGXTHX','89428VHMKqv','104VFbjJq','Request\x20timeout','now','54fHfueq','Invalid\x20version\x20format','lastCheck','gray','\x0aUpdate\x20available:\x20','isTTY','npm\x20install\x20-g\x20@treasuredata/tdx@latest','destroy','env','data','https://registry.npmjs.org/@treasuredata/tdx/latest','Update\x20available:','version','last_version_check','NO_COLOR','1968330QMeHGT'];a91_0x14cc=function(){return _0xfb0972;};return a91_0x14cc();}import{join}from'path';import{gt,valid}from'semver';function a91_0x5b9f(_0x120cd8,_0xb75b2f){const _0x14cc8e=a91_0x14cc();return a91_0x5b9f=function(_0x5b9f14,_0x57bc73){_0x5b9f14=_0x5b9f14-0x1bf;let _0x387fd8=_0x14cc8e[_0x5b9f14];return _0x387fd8;},a91_0x5b9f(_0x120cd8,_0xb75b2f);}import a91_0x9a4b0 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a91_0x36d9dd(0x1e4),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x319c18=a91_0x36d9dd,_0x478d40=getCacheDir();return join(_0x478d40,_0x319c18(0x1e7));}function readCache(){const _0x242917=a91_0x36d9dd;try{const _0x80b0b5=getCacheFilePath(),_0x4fc870=readFileSync(_0x80b0b5,_0x242917(0x1c3));return JSON[_0x242917(0x1d4)](_0x4fc870);}catch{return null;}}function writeCache(_0x4ff8cb){const _0x76a0d8=a91_0x36d9dd;try{const _0x6900b4=getCacheDir();mkdirSync(_0x6900b4,{'recursive':!![]});const _0x57141f={'lastCheck':new Date()['toISOString'](),'latestVersion':_0x4ff8cb},_0x34d5e0=getCacheFilePath();writeFileSync(_0x34d5e0,JSON['stringify'](_0x57141f,null,0x2),_0x76a0d8(0x1c3));}catch{}}function isCacheValid(_0x1f7a5d){const _0x4ee28a=a91_0x36d9dd;if(!_0x1f7a5d)return![];const _0x1fa572=new Date(_0x1f7a5d[_0x4ee28a(0x1dc)])['getTime'](),_0x536a53=Date[_0x4ee28a(0x1d9)]();return _0x536a53-_0x1fa572<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x4c5800,_0x227884)=>{const _0x5b3358=a91_0x5b9f,_0x287f8a=get(NPM_REGISTRY_URL,_0x3806ce=>{const _0x24487a=a91_0x5b9f;if(_0x3806ce[_0x24487a(0x1d2)]!==0xc8){clearTimeout(_0x3335e1),_0x227884(new Error(_0x24487a(0x1ca)+_0x3806ce[_0x24487a(0x1d2)]));return;}let _0x9e8ba9='';_0x3806ce['on'](_0x24487a(0x1e3),_0x2a4313=>{_0x9e8ba9+=_0x2a4313;}),_0x3806ce['on'](_0x24487a(0x1c4),()=>{const _0x215669=_0x24487a;clearTimeout(_0x3335e1);try{const _0x49b186=JSON[_0x215669(0x1d4)](_0x9e8ba9);if(!valid(_0x49b186[_0x215669(0x1e6)])){_0x227884(new Error(_0x215669(0x1db)));return;}_0x4c5800(_0x49b186[_0x215669(0x1e6)]);}catch(_0x5c94d9){_0x227884(_0x5c94d9);}});})['on'](_0x5b3358(0x1c0),_0x2de1e6=>{clearTimeout(_0x3335e1),_0x227884(_0x2de1e6);}),_0x3335e1=setTimeout(()=>{const _0x4bacb1=_0x5b3358;_0x287f8a[_0x4bacb1(0x1e1)](),_0x227884(new Error(_0x4bacb1(0x1d8)));},TIMEOUT_MS);});}export async function checkForUpdate(_0xa57bf5){const _0x430aa5=a91_0x36d9dd;try{const _0x165ab7=readCache();if(isCacheValid(_0x165ab7)){const _0x36914f=gt(_0x165ab7[_0x430aa5(0x1cb)],_0xa57bf5);return{'updateAvailable':_0x36914f,'currentVersion':_0xa57bf5,'latestVersion':_0x165ab7[_0x430aa5(0x1cb)]};}const _0x293854=await fetchLatestVersion();writeCache(_0x293854);const _0x424e9f=gt(_0x293854,_0xa57bf5);return{'updateAvailable':_0x424e9f,'currentVersion':_0xa57bf5,'latestVersion':_0x293854};}catch{return null;}}export function displayUpdateNotification(_0x26a243){const _0x57c776=a91_0x36d9dd;if(!_0x26a243[_0x57c776(0x1cd)])return;const _0x2139ff=process[_0x57c776(0x1cc)][_0x57c776(0x1df)]&&!process[_0x57c776(0x1e2)][_0x57c776(0x1e8)],_0xda1858=_0x2139ff?a91_0x9a4b0[_0x57c776(0x1dd)]('→'):'→',_0x300a5c=_0x2139ff?a91_0x9a4b0[_0x57c776(0x1c1)](_0x26a243['currentVersion']):_0x26a243[_0x57c776(0x1c8)],_0x1ee5bc=_0x2139ff?a91_0x9a4b0[_0x57c776(0x1c7)](_0x26a243[_0x57c776(0x1cb)]):_0x26a243[_0x57c776(0x1cb)],_0x438149=_0x2139ff?a91_0x9a4b0['cyan'](_0x57c776(0x1e0)):_0x57c776(0x1e0),_0x10d69d=_0x2139ff?'\x0a'+a91_0x9a4b0[_0x57c776(0x1d1)](_0x57c776(0x1e5))+'\x20'+_0x300a5c+'\x20'+_0xda1858+'\x20'+_0x1ee5bc+'\x0a'+a91_0x9a4b0[_0x57c776(0x1c1)](_0x57c776(0x1c9))+'\x20'+_0x438149+'\x0a':_0x57c776(0x1de)+_0x300a5c+'\x20'+_0xda1858+'\x20'+_0x1ee5bc+'\x0aRun:\x20'+_0x438149+'\x0a';process[_0x57c776(0x1cc)][_0x57c776(0x1c6)](_0x10d69d);}
1
+ const a91_0x312912=a91_0x3333;(function(_0x327196,_0x2b39ea){const _0x368424=a91_0x3333,_0x31a6ef=_0x327196();while(!![]){try{const _0x3ce5f7=parseInt(_0x368424(0x1a0))/0x1*(-parseInt(_0x368424(0x1b4))/0x2)+parseInt(_0x368424(0x1bc))/0x3*(-parseInt(_0x368424(0x1b6))/0x4)+-parseInt(_0x368424(0x1c4))/0x5*(parseInt(_0x368424(0x1b0))/0x6)+parseInt(_0x368424(0x1a6))/0x7*(-parseInt(_0x368424(0x1ac))/0x8)+-parseInt(_0x368424(0x1ca))/0x9*(-parseInt(_0x368424(0x1af))/0xa)+parseInt(_0x368424(0x1b3))/0xb*(parseInt(_0x368424(0x1c1))/0xc)+parseInt(_0x368424(0x1b8))/0xd*(parseInt(_0x368424(0x1aa))/0xe);if(_0x3ce5f7===_0x2b39ea)break;else _0x31a6ef['push'](_0x31a6ef['shift']());}catch(_0x27a246){_0x31a6ef['push'](_0x31a6ef['shift']());}}}(a91_0x50be,0xac82d));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';function a91_0x3333(_0x1a5e6d,_0xfc8b14){const _0x50be49=a91_0x50be();return a91_0x3333=function(_0x333380,_0xb85a89){_0x333380=_0x333380-0x1a0;let _0x733650=_0x50be49[_0x333380];return _0x733650;},a91_0x3333(_0x1a5e6d,_0xfc8b14);}import a91_0x4f5551 from'chalk';function a91_0x50be(){const _0x55d63a=['destroy','data','\x0aUpdate\x20available:\x20','NO_COLOR','10109940nIFXGI','cyan','error','597205dwcYMM','latestVersion','env','getTime','updateAvailable','end','5661027wIfWzq','toISOString','yellow','1142349EyreAi','\x0aRun:\x20','stderr','isTTY','gray','statusCode','413LLpDqO','green','lastCheck','Update\x20available:','10880002bTePZH','write','45928uhDlkN','Request\x20timeout','npm\x20install\x20-g\x20@treasuredata/tdx@latest','10MOCmVP','12jKBKTN','parse','https://registry.npmjs.org/@treasuredata/tdx/latest','11RLcKeR','2lUDoac','version','266324CnMfdb','now','26ulmNZg','utf-8','dim','Invalid\x20version\x20format','27FYJbUI'];a91_0x50be=function(){return _0x55d63a;};return a91_0x50be();}import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a91_0x312912(0x1b2),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x110000=getCacheDir();return join(_0x110000,'last_version_check');}function readCache(){const _0x59017d=a91_0x312912;try{const _0x22677b=getCacheFilePath(),_0x20f339=readFileSync(_0x22677b,_0x59017d(0x1b9));return JSON['parse'](_0x20f339);}catch{return null;}}function writeCache(_0x52e2ec){const _0x57ec32=a91_0x312912;try{const _0x581317=getCacheDir();mkdirSync(_0x581317,{'recursive':!![]});const _0x1e3edf={'lastCheck':new Date()[_0x57ec32(0x1cb)](),'latestVersion':_0x52e2ec},_0xdb9800=getCacheFilePath();writeFileSync(_0xdb9800,JSON['stringify'](_0x1e3edf,null,0x2),'utf-8');}catch{}}function isCacheValid(_0x8d09ee){const _0x1dd459=a91_0x312912;if(!_0x8d09ee)return![];const _0x883e00=new Date(_0x8d09ee[_0x1dd459(0x1a8)])[_0x1dd459(0x1c7)](),_0x46ab27=Date[_0x1dd459(0x1b7)]();return _0x46ab27-_0x883e00<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x133d4e,_0x316aed)=>{const _0x116810=a91_0x3333,_0x4f5dce=get(NPM_REGISTRY_URL,_0x4370ef=>{const _0x48f317=a91_0x3333;if(_0x4370ef[_0x48f317(0x1a5)]!==0xc8){clearTimeout(_0x1cf090),_0x316aed(new Error('HTTP\x20'+_0x4370ef[_0x48f317(0x1a5)]));return;}let _0x5cc0e9='';_0x4370ef['on'](_0x48f317(0x1be),_0x79b742=>{_0x5cc0e9+=_0x79b742;}),_0x4370ef['on'](_0x48f317(0x1c9),()=>{const _0x3787d5=_0x48f317;clearTimeout(_0x1cf090);try{const _0x5beedf=JSON[_0x3787d5(0x1b1)](_0x5cc0e9);if(!valid(_0x5beedf['version'])){_0x316aed(new Error(_0x3787d5(0x1bb)));return;}_0x133d4e(_0x5beedf[_0x3787d5(0x1b5)]);}catch(_0x33dd04){_0x316aed(_0x33dd04);}});})['on'](_0x116810(0x1c3),_0x2c28d1=>{clearTimeout(_0x1cf090),_0x316aed(_0x2c28d1);}),_0x1cf090=setTimeout(()=>{const _0xcdd008=_0x116810;_0x4f5dce[_0xcdd008(0x1bd)](),_0x316aed(new Error(_0xcdd008(0x1ad)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x33aa70){const _0x5fa27a=a91_0x312912;try{const _0x2c6bf8=readCache();if(isCacheValid(_0x2c6bf8)){const _0x68334a=gt(_0x2c6bf8[_0x5fa27a(0x1c5)],_0x33aa70);return{'updateAvailable':_0x68334a,'currentVersion':_0x33aa70,'latestVersion':_0x2c6bf8[_0x5fa27a(0x1c5)]};}const _0x11323d=await fetchLatestVersion();writeCache(_0x11323d);const _0x5480ac=gt(_0x11323d,_0x33aa70);return{'updateAvailable':_0x5480ac,'currentVersion':_0x33aa70,'latestVersion':_0x11323d};}catch{return null;}}export function displayUpdateNotification(_0x4a3af9){const _0x23b624=a91_0x312912;if(!_0x4a3af9[_0x23b624(0x1c8)])return;const _0x50bc38=process[_0x23b624(0x1a2)][_0x23b624(0x1a3)]&&!process[_0x23b624(0x1c6)][_0x23b624(0x1c0)],_0x2e08c8=_0x50bc38?a91_0x4f5551[_0x23b624(0x1a4)]('→'):'→',_0x228f24=_0x50bc38?a91_0x4f5551[_0x23b624(0x1ba)](_0x4a3af9['currentVersion']):_0x4a3af9['currentVersion'],_0x99fa4c=_0x50bc38?a91_0x4f5551[_0x23b624(0x1a7)](_0x4a3af9[_0x23b624(0x1c5)]):_0x4a3af9[_0x23b624(0x1c5)],_0x1becb5=_0x50bc38?a91_0x4f5551[_0x23b624(0x1c2)]('npm\x20install\x20-g\x20@treasuredata/tdx@latest'):_0x23b624(0x1ae),_0x34e74d=_0x50bc38?'\x0a'+a91_0x4f5551[_0x23b624(0x1cc)](_0x23b624(0x1a9))+'\x20'+_0x228f24+'\x20'+_0x2e08c8+'\x20'+_0x99fa4c+'\x0a'+a91_0x4f5551[_0x23b624(0x1ba)]('Run:')+'\x20'+_0x1becb5+'\x0a':_0x23b624(0x1bf)+_0x228f24+'\x20'+_0x2e08c8+'\x20'+_0x99fa4c+_0x23b624(0x1a1)+_0x1becb5+'\x0a';process[_0x23b624(0x1a2)][_0x23b624(0x1ab)](_0x34e74d);}
@@ -1 +1 @@
1
- const a92_0x5cb778=a92_0x46da;(function(_0x89fdce,_0x26c0b6){const _0x1fdaf8=a92_0x46da,_0x1fc0c=_0x89fdce();while(!![]){try{const _0x35827e=-parseInt(_0x1fdaf8(0xae))/0x1*(parseInt(_0x1fdaf8(0xaf))/0x2)+parseInt(_0x1fdaf8(0xb5))/0x3+parseInt(_0x1fdaf8(0xad))/0x4+parseInt(_0x1fdaf8(0xb6))/0x5*(parseInt(_0x1fdaf8(0xb4))/0x6)+parseInt(_0x1fdaf8(0xab))/0x7+-parseInt(_0x1fdaf8(0xb3))/0x8*(parseInt(_0x1fdaf8(0xb0))/0x9)+-parseInt(_0x1fdaf8(0xac))/0xa;if(_0x35827e===_0x26c0b6)break;else _0x1fc0c['push'](_0x1fc0c['shift']());}catch(_0x3bd1eb){_0x1fc0c['push'](_0x1fc0c['shift']());}}}(a92_0x316f,0x98f10));function a92_0x46da(_0xbf9964,_0x5f4abd){const _0x316f7f=a92_0x316f();return a92_0x46da=function(_0x46dab7,_0x165d8f){_0x46dab7=_0x46dab7-0xab;let _0x250fdc=_0x316f7f[_0x46dab7];return _0x250fdc;},a92_0x46da(_0xbf9964,_0x5f4abd);}export const WORKFLOW_FILE_EXTENSION=a92_0x5cb778(0xb1);export function shouldIncludeInArchive(_0x2d8f6d){const _0xa71e76=a92_0x5cb778;if(_0x2d8f6d===_0xa71e76(0xb2))return!![];if(_0x2d8f6d['startsWith']('.'))return![];return!![];}function a92_0x316f(){const _0x9aebb7=['7884zfDrRt','.dig','.digdag','1968meOLDB','18SuUssf','1721880PLyYGd','312955LjAbEA','6212472TfrOwp','6756930olKsGo','2794624iczELj','830248qLRaXM','2uQRfCS'];a92_0x316f=function(){return _0x9aebb7;};return a92_0x316f();}
1
+ const a92_0x3c0f96=a92_0xe5e5;(function(_0x110481,_0x2a5a7c){const _0x4c1004=a92_0xe5e5,_0xda8ef7=_0x110481();while(!![]){try{const _0xfe57de=-parseInt(_0x4c1004(0x1e1))/0x1*(parseInt(_0x4c1004(0x1df))/0x2)+parseInt(_0x4c1004(0x1da))/0x3+parseInt(_0x4c1004(0x1dd))/0x4*(parseInt(_0x4c1004(0x1d9))/0x5)+-parseInt(_0x4c1004(0x1de))/0x6*(-parseInt(_0x4c1004(0x1dc))/0x7)+parseInt(_0x4c1004(0x1e2))/0x8*(parseInt(_0x4c1004(0x1d5))/0x9)+parseInt(_0x4c1004(0x1d7))/0xa+-parseInt(_0x4c1004(0x1d6))/0xb;if(_0xfe57de===_0x2a5a7c)break;else _0xda8ef7['push'](_0xda8ef7['shift']());}catch(_0x4254e7){_0xda8ef7['push'](_0xda8ef7['shift']());}}}(a92_0x21b1,0x88a70));function a92_0xe5e5(_0x1b1882,_0x15ab79){const _0x21b182=a92_0x21b1();return a92_0xe5e5=function(_0xe5e5c4,_0x3dca67){_0xe5e5c4=_0xe5e5c4-0x1d5;let _0x47fe35=_0x21b182[_0xe5e5c4];return _0x47fe35;},a92_0xe5e5(_0x1b1882,_0x15ab79);}export const WORKFLOW_FILE_EXTENSION=a92_0x3c0f96(0x1db);function a92_0x21b1(){const _0x1072a5=['1775gRHgkx','2042514WkfLzV','.dig','2896852hERAZz','584jCTYqb','6IZteii','36fVHmBU','.digdag','19461cmxUte','6093704WdLgcH','9yzePCu','16347738MmXTMz','4879670Tjbvjp','startsWith'];a92_0x21b1=function(){return _0x1072a5;};return a92_0x21b1();}export function shouldIncludeInArchive(_0x4f5e8e){const _0x308223=a92_0x3c0f96;if(_0x4f5e8e===_0x308223(0x1e0))return!![];if(_0x4f5e8e[_0x308223(0x1d8)]('.'))return![];return!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.4.4",
3
+ "version": "0.4.5",
4
4
  "description": "AI-native CLI for Treasure Data - optimized for both human engineers and AI coding assistants",
5
5
  "type": "module",
6
6
  "bin": {