@treasuredata/tdx 0.5.0 → 0.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (102) 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.js +1 -1
  6. package/dist/client/http-client.js +1 -1
  7. package/dist/client/llm-api-client.js +1 -1
  8. package/dist/client/rate-limiter.js +1 -1
  9. package/dist/client/td-api-client.js +1 -1
  10. package/dist/client/trino-api-client.js +1 -1
  11. package/dist/client/workflow-client.js +1 -1
  12. package/dist/commands/activations.js +1 -1
  13. package/dist/commands/api-command.js +1 -1
  14. package/dist/commands/auth-command.js +1 -1
  15. package/dist/commands/chat-command.js +1 -1
  16. package/dist/commands/claude-command.d.ts.map +1 -1
  17. package/dist/commands/claude-command.js +1 -1
  18. package/dist/commands/claude-command.js.map +1 -1
  19. package/dist/commands/claude-statusline-command.js +1 -1
  20. package/dist/commands/claude-usage-command.js +1 -1
  21. package/dist/commands/command.js +1 -1
  22. package/dist/commands/context-command.js +1 -1
  23. package/dist/commands/databases.js +1 -1
  24. package/dist/commands/describe.js +1 -1
  25. package/dist/commands/engage-command.js +1 -1
  26. package/dist/commands/job-command.js +1 -1
  27. package/dist/commands/llm-command.d.ts +9 -0
  28. package/dist/commands/llm-command.d.ts.map +1 -1
  29. package/dist/commands/llm-command.js +1 -1
  30. package/dist/commands/llm-command.js.map +1 -1
  31. package/dist/commands/llm-proxy.js +1 -1
  32. package/dist/commands/parent-segment-command.js +1 -1
  33. package/dist/commands/profiles-command.js +1 -1
  34. package/dist/commands/query-command.js +1 -1
  35. package/dist/commands/segment-command.js +1 -1
  36. package/dist/commands/segment-create-command.js +1 -1
  37. package/dist/commands/segment-fields-command.js +1 -1
  38. package/dist/commands/segment-pwd-command.js +1 -1
  39. package/dist/commands/segment-update-command.js +1 -1
  40. package/dist/commands/segment-use-command.js +1 -1
  41. package/dist/commands/segments.js +1 -1
  42. package/dist/commands/show.js +1 -1
  43. package/dist/commands/tables.js +1 -1
  44. package/dist/commands/use-command.js +1 -1
  45. package/dist/commands/workflow-command.js +1 -1
  46. package/dist/core/auth.js +1 -1
  47. package/dist/core/config.js +1 -1
  48. package/dist/core/credential-cache.js +1 -1
  49. package/dist/core/global-context.js +1 -1
  50. package/dist/core/keychain.js +1 -1
  51. package/dist/core/profile.js +1 -1
  52. package/dist/core/project-config.js +1 -1
  53. package/dist/core/session.js +1 -1
  54. package/dist/index.js +1 -1
  55. package/dist/proxy/anthropic-adapter.js +1 -1
  56. package/dist/proxy/server.d.ts.map +1 -1
  57. package/dist/proxy/server.js +1 -1
  58. package/dist/proxy/server.js.map +1 -1
  59. package/dist/proxy/session-cache.js +1 -1
  60. package/dist/sdk/api.js +1 -1
  61. package/dist/sdk/engage.js +1 -1
  62. package/dist/sdk/errors.js +1 -1
  63. package/dist/sdk/index.js +1 -1
  64. package/dist/sdk/job.js +1 -1
  65. package/dist/sdk/llm.js +1 -1
  66. package/dist/sdk/query.js +1 -1
  67. package/dist/sdk/segment.js +1 -1
  68. package/dist/sdk/workflow.js +1 -1
  69. package/dist/types/endpoints.js +1 -1
  70. package/dist/types/index.js +1 -1
  71. package/dist/utils/agent-ref-parser.js +1 -1
  72. package/dist/utils/chat-cache.js +1 -1
  73. package/dist/utils/claude-usage-tracker.d.ts +1 -0
  74. package/dist/utils/claude-usage-tracker.d.ts.map +1 -1
  75. package/dist/utils/claude-usage-tracker.js +1 -1
  76. package/dist/utils/claude-usage-tracker.js.map +1 -1
  77. package/dist/utils/colors.js +1 -1
  78. package/dist/utils/command-output.js +1 -1
  79. package/dist/utils/constants.js +1 -1
  80. package/dist/utils/file-permissions.js +1 -1
  81. package/dist/utils/format-detector.js +1 -1
  82. package/dist/utils/formatters.js +1 -1
  83. package/dist/utils/json-loader.js +1 -1
  84. package/dist/utils/llm-backup-utils.js +1 -1
  85. package/dist/utils/model-aliases.js +1 -1
  86. package/dist/utils/model-factors.js +1 -1
  87. package/dist/utils/option-validation.js +1 -1
  88. package/dist/utils/port.js +1 -1
  89. package/dist/utils/process.js +1 -1
  90. package/dist/utils/prompt.js +1 -1
  91. package/dist/utils/segment-path-parser.js +1 -1
  92. package/dist/utils/segment-ref-parser.js +1 -1
  93. package/dist/utils/spinner.js +1 -1
  94. package/dist/utils/sql-parser.js +1 -1
  95. package/dist/utils/sse-parser.js +1 -1
  96. package/dist/utils/string-utils.js +1 -1
  97. package/dist/utils/table-ref-parser.js +1 -1
  98. package/dist/utils/tdx-logger.js +1 -1
  99. package/dist/utils/tree-formatter.js +1 -1
  100. package/dist/utils/version-check.js +1 -1
  101. package/dist/utils/workflow-utils.js +1 -1
  102. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x7ec591,_0x192d39){const _0x4696ce=a86_0x10b8,_0x1ac5b6=_0x7ec591();while(!![]){try{const _0x2f43dc=parseInt(_0x4696ce(0x1cf))/0x1+-parseInt(_0x4696ce(0x1df))/0x2*(-parseInt(_0x4696ce(0x1ce))/0x3)+-parseInt(_0x4696ce(0x1dc))/0x4*(parseInt(_0x4696ce(0x1de))/0x5)+-parseInt(_0x4696ce(0x1d0))/0x6+parseInt(_0x4696ce(0x1cb))/0x7+-parseInt(_0x4696ce(0x1d3))/0x8*(-parseInt(_0x4696ce(0x1c6))/0x9)+parseInt(_0x4696ce(0x1d7))/0xa*(-parseInt(_0x4696ce(0x1db))/0xb);if(_0x2f43dc===_0x192d39)break;else _0x1ac5b6['push'](_0x1ac5b6['shift']());}catch(_0x76bb9f){_0x1ac5b6['push'](_0x1ac5b6['shift']());}}}(a86_0x4ea7,0x935c3));function a86_0x10b8(_0x38ea37,_0x45839e){const _0x4ea728=a86_0x4ea7();return a86_0x10b8=function(_0x10b83c,_0x3ebc73){_0x10b83c=_0x10b83c-0x1c3;let _0x2bf352=_0x4ea728[_0x10b83c];return _0x2bf352;},a86_0x10b8(_0x38ea37,_0x45839e);}export function parsePath(_0x1cdf15){const _0x1de452=a86_0x10b8;if(!_0x1cdf15||_0x1cdf15[_0x1de452(0x1c4)]()==='')throw new Error('Path\x20cannot\x20be\x20empty');const _0x66855c=_0x1cdf15['trim']();if(_0x66855c==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x1cdf15};const _0x253108=_0x66855c[_0x1de452(0x1c5)]('/')?_0x66855c[_0x1de452(0x1cd)](0x1):_0x66855c,_0x52fbcd=_0x253108[_0x1de452(0x1c7)]('/')[_0x1de452(0x1d4)](_0x84a9d2=>_0x84a9d2!=='');if(_0x52fbcd[_0x1de452(0x1dd)]===0x0)throw new Error('Path\x20must\x20contain\x20at\x20least\x20one\x20segment');const _0xe3666c=_0x66855c[_0x1de452(0x1c5)]('/')||!isRelativePathSegment(_0x52fbcd[0x0]);for(const _0x6d3106 of _0x52fbcd){validatePathSegment(_0x6d3106);}return{'segments':_0x52fbcd,'isAbsolute':_0xe3666c,'raw':_0x1cdf15};}function isRelativePathSegment(_0x241236){return _0x241236==='.'||_0x241236==='..';}function validatePathSegment(_0x50f0cc){const _0x52708c=a86_0x10b8;if(_0x50f0cc==='')throw new Error(_0x52708c(0x1d9));if(_0x50f0cc==='.'||_0x50f0cc==='..')return;if(/[\x00-\x1F\x7F]/['test'](_0x50f0cc))throw new Error(_0x52708c(0x1c9)+_0x50f0cc);if(_0x50f0cc!==_0x50f0cc[_0x52708c(0x1c4)]()){}}export function validatePath(_0x5de2d7){const _0x3c55f6=a86_0x10b8;if(_0x5de2d7[_0x3c55f6(0x1ca)]['length']===0x0&&!_0x5de2d7[_0x3c55f6(0x1e0)])throw new Error(_0x3c55f6(0x1d6));if(_0x5de2d7['isAbsolute']){if(_0x5de2d7[_0x3c55f6(0x1ca)][0x0]==='..')throw new Error(_0x3c55f6(0x1d2));let _0x55c22c=0x0;for(const _0x31781a of _0x5de2d7['segments']){if(_0x31781a==='..'){if(_0x55c22c===0x0)throw new Error('Path\x20attempts\x20to\x20navigate\x20above\x20root');_0x55c22c--;}else _0x31781a!=='.'&&_0x55c22c++;}}}export function joinPaths(_0x4a7b02,_0x55fac8){const _0x12a38f=a86_0x10b8;if(!_0x4a7b02||_0x4a7b02==='/')return _0x55fac8;if(!_0x55fac8||_0x55fac8==='.')return _0x4a7b02;if(_0x55fac8[_0x12a38f(0x1c5)]('/'))return _0x55fac8;const _0x46031f=parsePath(_0x4a7b02),_0x5a75ed=parsePath(_0x55fac8),_0x510419=[..._0x46031f[_0x12a38f(0x1ca)]];for(const _0x6c0edb of _0x5a75ed[_0x12a38f(0x1ca)]){if(_0x6c0edb==='.')continue;else{if(_0x6c0edb==='..'){if(_0x510419[_0x12a38f(0x1dd)]===0x0)throw new Error(_0x12a38f(0x1d1));_0x510419[_0x12a38f(0x1cc)]();}else _0x510419[_0x12a38f(0x1c3)](_0x6c0edb);}}const _0x42f288=_0x510419[_0x12a38f(0x1d5)]('/');return _0x46031f[_0x12a38f(0x1c8)]['startsWith']('/')?'/'+_0x42f288:_0x42f288;}export function normalizePath(_0x3b970e){const _0x5ecc23=a86_0x10b8,_0x1a4a10=parsePath(_0x3b970e),_0x43ddd9=[];for(const _0x3ad19f of _0x1a4a10['segments']){if(_0x3ad19f==='.')continue;else{if(_0x3ad19f==='..'){if(_0x43ddd9[_0x5ecc23(0x1dd)]===0x0){if(_0x1a4a10[_0x5ecc23(0x1e0)])throw new Error(_0x5ecc23(0x1d1));_0x43ddd9[_0x5ecc23(0x1c3)]('..');}else _0x43ddd9[_0x43ddd9[_0x5ecc23(0x1dd)]-0x1]==='..'?_0x43ddd9['push']('..'):_0x43ddd9['pop']();}else _0x43ddd9[_0x5ecc23(0x1c3)](_0x3ad19f);}}if(_0x43ddd9[_0x5ecc23(0x1dd)]===0x0)return _0x1a4a10[_0x5ecc23(0x1e0)]?'/':'.';const _0x50f041=_0x43ddd9['join']('/');return _0x1a4a10[_0x5ecc23(0x1c8)][_0x5ecc23(0x1c5)]('/')?'/'+_0x50f041:_0x50f041;}export function getParentPath(_0x30e876){const _0xc89dbd=a86_0x10b8,_0x4c9420=parsePath(_0x30e876);if(_0x4c9420[_0xc89dbd(0x1ca)][_0xc89dbd(0x1dd)]<=0x1)return'/';const _0x4d86d3=_0x4c9420['segments']['slice'](0x0,-0x1)['join']('/');return _0x4c9420[_0xc89dbd(0x1c8)][_0xc89dbd(0x1c5)]('/')?'/'+_0x4d86d3:_0x4d86d3;}export function getBaseName(_0x2ed8cd){const _0x3f9680=a86_0x10b8,_0x25148f=parsePath(_0x2ed8cd);return _0x25148f[_0x3f9680(0x1ca)][_0x25148f[_0x3f9680(0x1ca)][_0x3f9680(0x1dd)]-0x1]||'';}function a86_0x4ea7(){const _0x518be3=['slice','2871EiSceH','4oMNgpj','length','3434215KdvBTV','6246SnVJIy','isAbsolute','push','trim','startsWith','7281513kZcQdH','split','raw','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','segments','7035413bBZJcV','pop','substring','525aaPZwy','447496JfHwOQ','4372224GemGDB','Cannot\x20navigate\x20above\x20root','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','8XRONPw','filter','join','Relative\x20path\x20cannot\x20be\x20empty','30230klmdvI','Cannot\x20split\x20empty\x20path','Path\x20segment\x20cannot\x20be\x20empty'];a86_0x4ea7=function(){return _0x518be3;};return a86_0x4ea7();}export function isChildPath(_0x3eb12a,_0xfe6b41){const _0x3623c6=a86_0x10b8,_0x55f8c5=parsePath(_0x3eb12a),_0x1c09bb=parsePath(_0xfe6b41);if(_0x55f8c5[_0x3623c6(0x1ca)][_0x3623c6(0x1dd)]<=_0x1c09bb[_0x3623c6(0x1ca)][_0x3623c6(0x1dd)])return![];for(let _0x3ede83=0x0;_0x3ede83<_0x1c09bb[_0x3623c6(0x1ca)][_0x3623c6(0x1dd)];_0x3ede83++){if(_0x55f8c5[_0x3623c6(0x1ca)][_0x3ede83]!==_0x1c09bb[_0x3623c6(0x1ca)][_0x3ede83])return![];}return!![];}export function splitPath(_0x18a00f){const _0x3f7de1=a86_0x10b8,_0x46f038=parsePath(_0x18a00f);if(_0x46f038[_0x3f7de1(0x1ca)][_0x3f7de1(0x1dd)]===0x0)throw new Error(_0x3f7de1(0x1d8));if(_0x46f038[_0x3f7de1(0x1ca)][_0x3f7de1(0x1dd)]===0x1)return{'parent':_0x46f038[_0x3f7de1(0x1ca)][0x0]};return{'parent':_0x46f038[_0x3f7de1(0x1ca)][0x0],'child':_0x46f038['segments'][_0x3f7de1(0x1da)](0x1)[_0x3f7de1(0x1d5)]('/')};}
1
+ (function(_0x28a9db,_0x3a0a09){const _0x29b9ac=a86_0x2156,_0x3ea20c=_0x28a9db();while(!![]){try{const _0x2597b8=-parseInt(_0x29b9ac(0x1c9))/0x1*(-parseInt(_0x29b9ac(0x1cf))/0x2)+parseInt(_0x29b9ac(0x1e0))/0x3+parseInt(_0x29b9ac(0x1c6))/0x4+parseInt(_0x29b9ac(0x1da))/0x5*(-parseInt(_0x29b9ac(0x1ce))/0x6)+-parseInt(_0x29b9ac(0x1e1))/0x7*(-parseInt(_0x29b9ac(0x1d9))/0x8)+-parseInt(_0x29b9ac(0x1d0))/0x9*(parseInt(_0x29b9ac(0x1d4))/0xa)+-parseInt(_0x29b9ac(0x1cd))/0xb;if(_0x2597b8===_0x3a0a09)break;else _0x3ea20c['push'](_0x3ea20c['shift']());}catch(_0x47f942){_0x3ea20c['push'](_0x3ea20c['shift']());}}}(a86_0x19ff,0x2ab38));export function parsePath(_0x38973d){const _0x2af8ae=a86_0x2156;if(!_0x38973d||_0x38973d[_0x2af8ae(0x1c5)]()==='')throw new Error('Path\x20cannot\x20be\x20empty');const _0x7d5c13=_0x38973d[_0x2af8ae(0x1c5)]();if(_0x7d5c13==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x38973d};const _0x576ad0=_0x7d5c13[_0x2af8ae(0x1db)]('/')?_0x7d5c13[_0x2af8ae(0x1dd)](0x1):_0x7d5c13,_0x492edf=_0x576ad0[_0x2af8ae(0x1ca)]('/')[_0x2af8ae(0x1d8)](_0x5aad4f=>_0x5aad4f!=='');if(_0x492edf['length']===0x0)throw new Error(_0x2af8ae(0x1cc));const _0x3d2b88=_0x7d5c13[_0x2af8ae(0x1db)]('/')||!isRelativePathSegment(_0x492edf[0x0]);for(const _0x306484 of _0x492edf){validatePathSegment(_0x306484);}return{'segments':_0x492edf,'isAbsolute':_0x3d2b88,'raw':_0x38973d};}function a86_0x2156(_0x5e350a,_0x59c57f){const _0x19ffe2=a86_0x19ff();return a86_0x2156=function(_0x2156fe,_0x2b9fb1){_0x2156fe=_0x2156fe-0x1c5;let _0x5b85a=_0x19ffe2[_0x2156fe];return _0x5b85a;},a86_0x2156(_0x5e350a,_0x59c57f);}function isRelativePathSegment(_0x5c1271){return _0x5c1271==='.'||_0x5c1271==='..';}function validatePathSegment(_0x40ba26){const _0x4ebdeb=a86_0x2156;if(_0x40ba26==='')throw new Error(_0x4ebdeb(0x1cb));if(_0x40ba26==='.'||_0x40ba26==='..')return;if(/[\x00-\x1F\x7F]/['test'](_0x40ba26))throw new Error('Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20'+_0x40ba26);if(_0x40ba26!==_0x40ba26[_0x4ebdeb(0x1c5)]()){}}export function validatePath(_0x28a8dd){const _0x40a719=a86_0x2156;if(_0x28a8dd[_0x40a719(0x1d1)][_0x40a719(0x1d5)]===0x0&&!_0x28a8dd['isAbsolute'])throw new Error('Relative\x20path\x20cannot\x20be\x20empty');if(_0x28a8dd['isAbsolute']){if(_0x28a8dd['segments'][0x0]==='..')throw new Error(_0x40a719(0x1d3));let _0x157c1f=0x0;for(const _0x95f822 of _0x28a8dd[_0x40a719(0x1d1)]){if(_0x95f822==='..'){if(_0x157c1f===0x0)throw new Error(_0x40a719(0x1de));_0x157c1f--;}else _0x95f822!=='.'&&_0x157c1f++;}}}export function joinPaths(_0x18b141,_0x24456f){const _0xaf31dd=a86_0x2156;if(!_0x18b141||_0x18b141==='/')return _0x24456f;if(!_0x24456f||_0x24456f==='.')return _0x18b141;if(_0x24456f[_0xaf31dd(0x1db)]('/'))return _0x24456f;const _0x11b671=parsePath(_0x18b141),_0x17849e=parsePath(_0x24456f),_0x2b7668=[..._0x11b671[_0xaf31dd(0x1d1)]];for(const _0x12fc28 of _0x17849e[_0xaf31dd(0x1d1)]){if(_0x12fc28==='.')continue;else{if(_0x12fc28==='..'){if(_0x2b7668[_0xaf31dd(0x1d5)]===0x0)throw new Error(_0xaf31dd(0x1e2));_0x2b7668[_0xaf31dd(0x1d6)]();}else _0x2b7668[_0xaf31dd(0x1c7)](_0x12fc28);}}const _0x5ec724=_0x2b7668[_0xaf31dd(0x1d7)]('/');return _0x11b671[_0xaf31dd(0x1dc)][_0xaf31dd(0x1db)]('/')?'/'+_0x5ec724:_0x5ec724;}export function normalizePath(_0x41775f){const _0x469231=a86_0x2156,_0xd45ca9=parsePath(_0x41775f),_0x177752=[];for(const _0x18dc45 of _0xd45ca9['segments']){if(_0x18dc45==='.')continue;else{if(_0x18dc45==='..'){if(_0x177752[_0x469231(0x1d5)]===0x0){if(_0xd45ca9[_0x469231(0x1c8)])throw new Error(_0x469231(0x1e2));_0x177752['push']('..');}else _0x177752[_0x177752[_0x469231(0x1d5)]-0x1]==='..'?_0x177752[_0x469231(0x1c7)]('..'):_0x177752['pop']();}else _0x177752[_0x469231(0x1c7)](_0x18dc45);}}if(_0x177752['length']===0x0)return _0xd45ca9[_0x469231(0x1c8)]?'/':'.';const _0x1cef56=_0x177752[_0x469231(0x1d7)]('/');return _0xd45ca9[_0x469231(0x1dc)][_0x469231(0x1db)]('/')?'/'+_0x1cef56:_0x1cef56;}export function getParentPath(_0x156ae9){const _0xed745a=a86_0x2156,_0x3d36af=parsePath(_0x156ae9);if(_0x3d36af[_0xed745a(0x1d1)][_0xed745a(0x1d5)]<=0x1)return'/';const _0x1aa775=_0x3d36af[_0xed745a(0x1d1)][_0xed745a(0x1d2)](0x0,-0x1)[_0xed745a(0x1d7)]('/');return _0x3d36af[_0xed745a(0x1dc)]['startsWith']('/')?'/'+_0x1aa775:_0x1aa775;}export function getBaseName(_0x2b5fff){const _0x530872=a86_0x2156,_0x35f2ac=parsePath(_0x2b5fff);return _0x35f2ac[_0x530872(0x1d1)][_0x35f2ac[_0x530872(0x1d1)][_0x530872(0x1d5)]-0x1]||'';}export function isChildPath(_0x43745f,_0x2fedc2){const _0x5904ef=a86_0x2156,_0x1cf6be=parsePath(_0x43745f),_0x706f3f=parsePath(_0x2fedc2);if(_0x1cf6be['segments'][_0x5904ef(0x1d5)]<=_0x706f3f[_0x5904ef(0x1d1)]['length'])return![];for(let _0x531389=0x0;_0x531389<_0x706f3f[_0x5904ef(0x1d1)][_0x5904ef(0x1d5)];_0x531389++){if(_0x1cf6be[_0x5904ef(0x1d1)][_0x531389]!==_0x706f3f[_0x5904ef(0x1d1)][_0x531389])return![];}return!![];}function a86_0x19ff(){const _0x2d7d0c=['split','Path\x20segment\x20cannot\x20be\x20empty','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','224147CVlZfs','1319718tGONle','14618FdqhLP','18FcyCCR','segments','slice','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','1233490dqpkSC','length','pop','join','filter','616472ThhVif','5dJUqVK','startsWith','raw','substring','Path\x20attempts\x20to\x20navigate\x20above\x20root','Cannot\x20split\x20empty\x20path','456765ykKblh','28wmGpdy','Cannot\x20navigate\x20above\x20root','trim','513404ykjyne','push','isAbsolute','10EXQcCp'];a86_0x19ff=function(){return _0x2d7d0c;};return a86_0x19ff();}export function splitPath(_0x1820a5){const _0x3137ac=a86_0x2156,_0x3fced9=parsePath(_0x1820a5);if(_0x3fced9['segments']['length']===0x0)throw new Error(_0x3137ac(0x1df));if(_0x3fced9[_0x3137ac(0x1d1)][_0x3137ac(0x1d5)]===0x1)return{'parent':_0x3fced9[_0x3137ac(0x1d1)][0x0]};return{'parent':_0x3fced9['segments'][0x0],'child':_0x3fced9[_0x3137ac(0x1d1)][_0x3137ac(0x1d2)](0x1)[_0x3137ac(0x1d7)]('/')};}
@@ -1 +1 @@
1
- function a87_0x5d7a(){const _0xa8505a=['185VCTVix','3470840oSuiWl','224862nZCvdu','substring','760363DgwxRj','1731699kcXKMK','4172iMdZjW','2HRloCw','Invalid\x20segment\x20reference\x20format:\x20','84858rEoKaT','indexOf','3711420UtXVNG','.\x20Child\x20name\x20cannot\x20be\x20empty','1090HgAdTt','11120lYjjFP'];a87_0x5d7a=function(){return _0xa8505a;};return a87_0x5d7a();}function a87_0x3703(_0x852693,_0x10e2f6){const _0x5d7a75=a87_0x5d7a();return a87_0x3703=function(_0x3703a0,_0x43d15b){_0x3703a0=_0x3703a0-0x1d7;let _0x1c5af0=_0x5d7a75[_0x3703a0];return _0x1c5af0;},a87_0x3703(_0x852693,_0x10e2f6);}(function(_0xc76b03,_0x5780a7){const _0x279e93=a87_0x3703,_0x32f4e1=_0xc76b03();while(!![]){try{const _0x19690f=parseInt(_0x279e93(0x1da))/0x1*(-parseInt(_0x279e93(0x1dd))/0x2)+parseInt(_0x279e93(0x1db))/0x3+-parseInt(_0x279e93(0x1d7))/0x4+parseInt(_0x279e93(0x1e5))/0x5*(parseInt(_0x279e93(0x1df))/0x6)+-parseInt(_0x279e93(0x1dc))/0x7*(parseInt(_0x279e93(0x1e4))/0x8)+-parseInt(_0x279e93(0x1e1))/0x9+parseInt(_0x279e93(0x1e3))/0xa*(parseInt(_0x279e93(0x1d8))/0xb);if(_0x19690f===_0x5780a7)break;else _0x32f4e1['push'](_0x32f4e1['shift']());}catch(_0x3e640e){_0x32f4e1['push'](_0x32f4e1['shift']());}}}(a87_0x5d7a,0x70421));export function parseSegmentRef(_0x5de85d){const _0x9c4e5f=a87_0x3703,_0x31a931=_0x5de85d[_0x9c4e5f(0x1e0)]('/');if(_0x31a931===-0x1)return{'parentId':_0x5de85d};if(_0x31a931===0x0)throw new Error(_0x9c4e5f(0x1de)+_0x5de85d+'.\x20Parent\x20name\x20cannot\x20be\x20empty');const _0x338b16=_0x5de85d['substring'](0x0,_0x31a931),_0x4cf499=_0x5de85d[_0x9c4e5f(0x1d9)](_0x31a931+0x1);if(_0x4cf499==='')throw new Error(_0x9c4e5f(0x1de)+_0x5de85d+_0x9c4e5f(0x1e2));return{'parentId':_0x338b16,'childId':_0x4cf499};}
1
+ function a87_0x49d2(){const _0x96032a=['149468QRQbbD','3697940UhGOac','1025838YRelqz','813035sFxsfK','56BmimpC','1628688UCRxif','232atEVzR','1761tStFPI','Invalid\x20segment\x20reference\x20format:\x20','.\x20Child\x20name\x20cannot\x20be\x20empty','2mVjSpr','96187MbNUbw','indexOf','9ynGhml'];a87_0x49d2=function(){return _0x96032a;};return a87_0x49d2();}function a87_0x2aee(_0x55ede1,_0xcfb276){const _0x49d20f=a87_0x49d2();return a87_0x2aee=function(_0x2aee6c,_0x42fdf3){_0x2aee6c=_0x2aee6c-0xb3;let _0x3465f5=_0x49d20f[_0x2aee6c];return _0x3465f5;},a87_0x2aee(_0x55ede1,_0xcfb276);}(function(_0x354a43,_0x5f0568){const _0x4e9a81=a87_0x2aee,_0x440bad=_0x354a43();while(!![]){try{const _0x218c77=-parseInt(_0x4e9a81(0xb7))/0x1*(-parseInt(_0x4e9a81(0xb3))/0x2)+parseInt(_0x4e9a81(0xbe))/0x3*(-parseInt(_0x4e9a81(0xbd))/0x4)+parseInt(_0x4e9a81(0xba))/0x5+-parseInt(_0x4e9a81(0xbc))/0x6+-parseInt(_0x4e9a81(0xb4))/0x7*(parseInt(_0x4e9a81(0xbb))/0x8)+-parseInt(_0x4e9a81(0xb6))/0x9*(-parseInt(_0x4e9a81(0xb8))/0xa)+-parseInt(_0x4e9a81(0xb9))/0xb;if(_0x218c77===_0x5f0568)break;else _0x440bad['push'](_0x440bad['shift']());}catch(_0xa4895c){_0x440bad['push'](_0x440bad['shift']());}}}(a87_0x49d2,0x2da32));export function parseSegmentRef(_0x45e77a){const _0x6a3a51=a87_0x2aee,_0x335cc7=_0x45e77a[_0x6a3a51(0xb5)]('/');if(_0x335cc7===-0x1)return{'parentId':_0x45e77a};if(_0x335cc7===0x0)throw new Error(_0x6a3a51(0xbf)+_0x45e77a+'.\x20Parent\x20name\x20cannot\x20be\x20empty');const _0x5c26ef=_0x45e77a['substring'](0x0,_0x335cc7),_0x23dda6=_0x45e77a['substring'](_0x335cc7+0x1);if(_0x23dda6==='')throw new Error(_0x6a3a51(0xbf)+_0x45e77a+_0x6a3a51(0xc0));return{'parentId':_0x5c26ef,'childId':_0x23dda6};}
@@ -1 +1 @@
1
- function a88_0x338c(){const _0x2a52a8=['now','intervalFactory','cyan','5997960QOUAKr','text','5409930DTeKtN','replace','1115419FDbvPZ','floor','clock','11986616LpEolq','17006150kedSzh','233133mJUNkN','jobId','8xRRwTk','isTTY','...','phase','stop','start','\x20[Job\x20ID:\x20','extra','7vlOgKm','isSpinning','12pALqAI','2622560yUVlLo'];a88_0x338c=function(){return _0x2a52a8;};return a88_0x338c();}(function(_0x4250ec,_0x466222){const _0xd578e5=a88_0x1191,_0x276fa8=_0x4250ec();while(!![]){try{const _0x284ad0=-parseInt(_0xd578e5(0x176))/0x1+-parseInt(_0xd578e5(0x163))/0x2*(-parseInt(_0xd578e5(0x17b))/0x3)+parseInt(_0xd578e5(0x16d))/0x4*(parseInt(_0xd578e5(0x16e))/0x5)+parseInt(_0xd578e5(0x174))/0x6+-parseInt(_0xd578e5(0x16b))/0x7*(-parseInt(_0xd578e5(0x179))/0x8)+-parseInt(_0xd578e5(0x172))/0x9+-parseInt(_0xd578e5(0x17a))/0xa;if(_0x284ad0===_0x466222)break;else _0x276fa8['push'](_0x276fa8['shift']());}catch(_0x5e9229){_0x276fa8['push'](_0x276fa8['shift']());}}}(a88_0x338c,0xc3c60));import a88_0x5b2164 from'ora';export function createCommandSpinner(_0x37a968,_0x32b65f={}){const _0x450029=a88_0x1191,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x32b65f;return a88_0x5b2164({'text':_0x37a968,'color':_0x450029(0x171),'isEnabled':forceEnabled||process['stdout'][_0x450029(0x164)]&&!verbose});}export async function withSpinner(_0x4d4f1d,_0x553449,_0x5a22e5={}){const _0x34154e=a88_0x1191,_0x5bf509=_0x5a22e5['clock']??(()=>Date[_0x34154e(0x16f)]()),_0x541a43=createCommandSpinner(_0x4d4f1d,_0x5a22e5);_0x541a43['start']();const _0x5e6cac=_0x5bf509();try{const _0x51bfd4=await _0x553449(),_0x46bfd0=_0x5bf509()-_0x5e6cac;return _0x541a43[_0x34154e(0x167)](),{'data':_0x51bfd4,'elapsedMs':_0x46bfd0};}catch(_0x2a0229){_0x541a43[_0x34154e(0x167)]();throw _0x2a0229;}}function a88_0x1191(_0x4a98d0,_0x750b1a){const _0x338cc7=a88_0x338c();return a88_0x1191=function(_0x1191b9,_0x283019){_0x1191b9=_0x1191b9-0x162;let _0x2b6c34=_0x338cc7[_0x1191b9];return _0x2b6c34;},a88_0x1191(_0x4a98d0,_0x750b1a);}export async function withQuerySpinner(_0x5ad74f,_0x2ad2c0,_0x1d267d={}){const _0x536e41=a88_0x1191,_0xe5eddc=_0x1d267d[_0x536e41(0x178)]??(()=>Date[_0x536e41(0x16f)]()),_0x5be196=_0x1d267d[_0x536e41(0x170)]??setInterval,_0x150fc7=createCommandSpinner(_0x5ad74f,_0x1d267d);_0x150fc7[_0x536e41(0x168)]();const _0x4ad4a6=_0xe5eddc(),_0x1f3eb8=_0x5ad74f[_0x536e41(0x175)](_0x536e41(0x165),''),_0x2f80c6={},_0x1b6def=()=>{const _0x5dbbf6=_0x536e41;if(!_0x150fc7[_0x5dbbf6(0x16c)])return;const _0x1b8a51=_0xe5eddc()-_0x4ad4a6,_0x74ed82=formatElapsed(_0x1b8a51),_0x22d545=_0x2f80c6[_0x5dbbf6(0x166)]??_0x1f3eb8,_0x5053d7=_0x2f80c6[_0x5dbbf6(0x162)]?_0x5dbbf6(0x169)+_0x2f80c6[_0x5dbbf6(0x162)]+']':'',_0x2107ad=_0x2f80c6[_0x5dbbf6(0x16a)]?'\x20'+_0x2f80c6[_0x5dbbf6(0x16a)]:'';_0x150fc7[_0x5dbbf6(0x173)]=_0x22d545+'\x20'+_0x74ed82+_0x2107ad+_0x5053d7;},_0x5a9fa4=_0x5be196(()=>{_0x1b6def();},0x3e8),_0x4c1d83={'setPhase':_0x3f3906=>{const _0x55ee63=_0x536e41;_0x2f80c6[_0x55ee63(0x166)]=_0x3f3906,_0x1b6def();},'setJobId':_0x48769b=>{_0x2f80c6['jobId']=_0x48769b,_0x1b6def();},'setExtra':_0x4e45ba=>{const _0x79c6d2=_0x536e41;_0x2f80c6[_0x79c6d2(0x16a)]=_0x4e45ba,_0x1b6def();}};_0x1b6def();try{const _0x108542=await _0x2ad2c0(_0x4c1d83),_0xbade8c=_0xe5eddc()-_0x4ad4a6;return{'data':_0x108542,'elapsedMs':_0xbade8c};}finally{clearInterval(_0x5a9fa4),_0x150fc7[_0x536e41(0x167)]();}}export function formatElapsed(_0x418f4e){const _0x5a5e17=a88_0x1191,_0x507d7c=Math[_0x5a5e17(0x177)](_0x418f4e/0x3e8);if(_0x507d7c<0x3c)return(_0x418f4e/0x3e8)['toFixed'](0x1)+'s';const _0x1083a4=Math[_0x5a5e17(0x177)](_0x507d7c/0x3c),_0x4b6457=_0x507d7c%0x3c;if(_0x1083a4<0x3c)return _0x1083a4+'m\x20'+_0x4b6457+'s';const _0x2a81c3=Math[_0x5a5e17(0x177)](_0x1083a4/0x3c),_0x521393=_0x1083a4%0x3c;return _0x2a81c3+'h\x20'+_0x521393+'m';}
1
+ (function(_0x25ce85,_0x43ba33){const _0x3f88fd=a88_0xda86,_0x38145b=_0x25ce85();while(!![]){try{const _0xc631e1=parseInt(_0x3f88fd(0x1c0))/0x1+parseInt(_0x3f88fd(0x1af))/0x2*(parseInt(_0x3f88fd(0x1c5))/0x3)+parseInt(_0x3f88fd(0x1bc))/0x4+parseInt(_0x3f88fd(0x1ba))/0x5*(-parseInt(_0x3f88fd(0x1c3))/0x6)+parseInt(_0x3f88fd(0x1b1))/0x7+-parseInt(_0x3f88fd(0x1be))/0x8*(-parseInt(_0x3f88fd(0x1b5))/0x9)+-parseInt(_0x3f88fd(0x1b2))/0xa;if(_0xc631e1===_0x43ba33)break;else _0x38145b['push'](_0x38145b['shift']());}catch(_0xe6a654){_0x38145b['push'](_0x38145b['shift']());}}}(a88_0x3739,0x728fb));import a88_0x3ce795 from'ora';export function createCommandSpinner(_0x1a9b08,_0x29ce8f={}){const _0x3998d6=a88_0xda86,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x29ce8f;return a88_0x3ce795({'text':_0x1a9b08,'color':_0x3998d6(0x1c1),'isEnabled':forceEnabled||process[_0x3998d6(0x1b7)][_0x3998d6(0x1b9)]&&!verbose});}function a88_0xda86(_0xd58186,_0x3f0516){const _0x37394f=a88_0x3739();return a88_0xda86=function(_0xda86f6,_0x154611){_0xda86f6=_0xda86f6-0x1ae;let _0x55a882=_0x37394f[_0xda86f6];return _0x55a882;},a88_0xda86(_0xd58186,_0x3f0516);}export async function withSpinner(_0x48c0f0,_0xcf5f78,_0x290656={}){const _0x13c6ad=a88_0xda86,_0x18f148=_0x290656[_0x13c6ad(0x1c2)]??(()=>Date['now']()),_0x931564=createCommandSpinner(_0x48c0f0,_0x290656);_0x931564['start']();const _0x41d47c=_0x18f148();try{const _0xda4d2a=await _0xcf5f78(),_0xa00933=_0x18f148()-_0x41d47c;return _0x931564[_0x13c6ad(0x1ae)](),{'data':_0xda4d2a,'elapsedMs':_0xa00933};}catch(_0x28f8ac){_0x931564[_0x13c6ad(0x1ae)]();throw _0x28f8ac;}}function a88_0x3739(){const _0x36ca38=['stop','82ToOXHt','text','1647268ibmoZv','18345390titxzk','isSpinning','extra','9DFpTpn','floor','stdout','start','isTTY','45jbXJJR','now','1886160IeuSXR','toFixed','3808352DOSTdA','jobId','880870cFsKAq','cyan','clock','444966zTWVHf','\x20[Job\x20ID:\x20','66399CYCtqx'];a88_0x3739=function(){return _0x36ca38;};return a88_0x3739();}export async function withQuerySpinner(_0xde20b7,_0x5c3a61,_0xbeef19={}){const _0x406702=a88_0xda86,_0x4f76c9=_0xbeef19[_0x406702(0x1c2)]??(()=>Date[_0x406702(0x1bb)]()),_0x3ffd98=_0xbeef19['intervalFactory']??setInterval,_0x318101=createCommandSpinner(_0xde20b7,_0xbeef19);_0x318101[_0x406702(0x1b8)]();const _0x4660de=_0x4f76c9(),_0x4e0599=_0xde20b7['replace']('...',''),_0x45bc9d={},_0x4761ef=()=>{const _0x124d58=_0x406702;if(!_0x318101[_0x124d58(0x1b3)])return;const _0x593f99=_0x4f76c9()-_0x4660de,_0x12b6ca=formatElapsed(_0x593f99),_0x425b08=_0x45bc9d['phase']??_0x4e0599,_0x304711=_0x45bc9d[_0x124d58(0x1bf)]?_0x124d58(0x1c4)+_0x45bc9d[_0x124d58(0x1bf)]+']':'',_0x43cb68=_0x45bc9d[_0x124d58(0x1b4)]?'\x20'+_0x45bc9d[_0x124d58(0x1b4)]:'';_0x318101[_0x124d58(0x1b0)]=_0x425b08+'\x20'+_0x12b6ca+_0x43cb68+_0x304711;},_0x32becf=_0x3ffd98(()=>{_0x4761ef();},0x3e8),_0x1e7a7b={'setPhase':_0x47517b=>{_0x45bc9d['phase']=_0x47517b,_0x4761ef();},'setJobId':_0x1f2bdc=>{const _0x2a7bf6=_0x406702;_0x45bc9d[_0x2a7bf6(0x1bf)]=_0x1f2bdc,_0x4761ef();},'setExtra':_0x29c56d=>{const _0xf3ba41=_0x406702;_0x45bc9d[_0xf3ba41(0x1b4)]=_0x29c56d,_0x4761ef();}};_0x4761ef();try{const _0x32b326=await _0x5c3a61(_0x1e7a7b),_0x11b1c8=_0x4f76c9()-_0x4660de;return{'data':_0x32b326,'elapsedMs':_0x11b1c8};}finally{clearInterval(_0x32becf),_0x318101['stop']();}}export function formatElapsed(_0x808243){const _0x462721=a88_0xda86,_0x5ee1aa=Math[_0x462721(0x1b6)](_0x808243/0x3e8);if(_0x5ee1aa<0x3c)return(_0x808243/0x3e8)[_0x462721(0x1bd)](0x1)+'s';const _0x572fa1=Math[_0x462721(0x1b6)](_0x5ee1aa/0x3c),_0x258be9=_0x5ee1aa%0x3c;if(_0x572fa1<0x3c)return _0x572fa1+'m\x20'+_0x258be9+'s';const _0x41bcfa=Math[_0x462721(0x1b6)](_0x572fa1/0x3c),_0x3a74ff=_0x572fa1%0x3c;return _0x41bcfa+'h\x20'+_0x3a74ff+'m';}
@@ -1 +1 @@
1
- (function(_0x359e7e,_0x4dcd87){const _0x5b4705=a89_0x2b00,_0x92e567=_0x359e7e();while(!![]){try{const _0x401ab7=parseInt(_0x5b4705(0x1e3))/0x1+-parseInt(_0x5b4705(0x1e0))/0x2+-parseInt(_0x5b4705(0x1d7))/0x3+-parseInt(_0x5b4705(0x1e4))/0x4*(parseInt(_0x5b4705(0x1ef))/0x5)+-parseInt(_0x5b4705(0x1e6))/0x6*(-parseInt(_0x5b4705(0x1ec))/0x7)+parseInt(_0x5b4705(0x1dd))/0x8*(parseInt(_0x5b4705(0x1db))/0x9)+parseInt(_0x5b4705(0x1d8))/0xa*(parseInt(_0x5b4705(0x1d9))/0xb);if(_0x401ab7===_0x4dcd87)break;else _0x92e567['push'](_0x92e567['shift']());}catch(_0x15502c){_0x92e567['push'](_0x92e567['shift']());}}}(a89_0x2c43,0x37ac7));import{readFileSync}from'fs';function a89_0x2c43(){const _0x4095e7=['trim','code','EACCES','ENOENT','14OqSeWY','replace','Content\x20contains\x20no\x20SQL\x20statements','129430FPXaFa','741258VFOiIH','40RRpMGh','894839ZzMcZY','push','315153bxxTde','toLowerCase','16rpjdOW','Error\x20reading\x20file\x20\x27','utf-8','818870pcIQIz','map','message','422410ggLRDL','48zQOHcB','File\x20\x27','1132056XKlAYT','length'];a89_0x2c43=function(){return _0x4095e7;};return a89_0x2c43();}export function stripSqlComments(_0x1ca975){const _0x34a679=a89_0x2b00;let _0x5b5e42=_0x1ca975[_0x34a679(0x1ed)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x5b5e42=_0x5b5e42[_0x34a679(0x1ed)](/--.*$/gm,''),_0x5b5e42[_0x34a679(0x1e8)]();}function isEscaped(_0x2c693f,_0x477640){let _0x9480e2=0x0;for(let _0x173814=_0x477640-0x1;_0x173814>=0x0&&_0x2c693f[_0x173814]==='\x5c';_0x173814--){_0x9480e2++;}return _0x9480e2%0x2===0x1;}export function splitSqlStatements(_0x3386a2){const _0x2fff64=a89_0x2b00,_0xc15d6e=stripSqlComments(_0x3386a2);if(!_0xc15d6e)throw new Error(_0x2fff64(0x1ee));const _0x2c91b6=[];let _0x2afcc8='',_0x477afc=![],_0x54faab=![],_0xbfec00=![];for(let _0x5178b1=0x0;_0x5178b1<_0x3386a2[_0x2fff64(0x1e7)];_0x5178b1++){const _0x4e933=_0x3386a2[_0x5178b1];if(_0x4e933==='\x27'&&!isEscaped(_0x3386a2,_0x5178b1)&&!_0x54faab&&!_0xbfec00)_0x477afc=!_0x477afc;else{if(_0x4e933==='\x22'&&!isEscaped(_0x3386a2,_0x5178b1)&&!_0x477afc&&!_0xbfec00)_0x54faab=!_0x54faab;else _0x4e933==='`'&&!isEscaped(_0x3386a2,_0x5178b1)&&!_0x477afc&&!_0x54faab&&(_0xbfec00=!_0xbfec00);}if(_0x4e933===';'&&!_0x477afc&&!_0x54faab&&!_0xbfec00){const _0x2643b8=_0x2afcc8[_0x2fff64(0x1e8)]();_0x2643b8&&_0x2c91b6[_0x2fff64(0x1da)](_0x2643b8),_0x2afcc8='';}else _0x2afcc8+=_0x4e933;}const _0x33546c=_0x2afcc8['trim']();_0x33546c&&_0x2c91b6['push'](_0x33546c);const _0x2836e3=_0x2c91b6[_0x2fff64(0x1e1)](_0x5b809b=>_0x5b809b[_0x2fff64(0x1e8)]())['filter'](_0xe72e81=>{const _0x47d46d=_0x2fff64,_0x38b4c1=stripSqlComments(_0xe72e81);return _0x38b4c1[_0x47d46d(0x1e7)]>0x0;});if(_0x2836e3[_0x2fff64(0x1e7)]===0x0)throw new Error(_0x2fff64(0x1ee));return _0x2836e3;}export function readFileContent(_0x4c4c27){const _0x376f6f=a89_0x2b00;try{return readFileSync(_0x4c4c27,_0x376f6f(0x1df));}catch(_0x52f4bb){const _0x5bf30d=_0x52f4bb[_0x376f6f(0x1e9)];if(_0x5bf30d===_0x376f6f(0x1eb))throw new Error(_0x376f6f(0x1e5)+_0x4c4c27+'\x27\x20not\x20found');else{if(_0x5bf30d===_0x376f6f(0x1ea))throw new Error('Permission\x20denied\x20reading\x20file\x20\x27'+_0x4c4c27+'\x27');else throw new Error(_0x376f6f(0x1de)+_0x4c4c27+'\x27:\x20'+_0x52f4bb[_0x376f6f(0x1e2)]);}}}function a89_0x2b00(_0xef94bf,_0x1429c1){const _0x2c43f0=a89_0x2c43();return a89_0x2b00=function(_0x2b00f3,_0x45a0cd){_0x2b00f3=_0x2b00f3-0x1d7;let _0x1b49b4=_0x2c43f0[_0x2b00f3];return _0x1b49b4;},a89_0x2b00(_0xef94bf,_0x1429c1);}export function readSqlStatementsFromFile(_0x444b88){const _0x33c741=a89_0x2b00,_0x244178=readFileContent(_0x444b88);try{return splitSqlStatements(_0x244178);}catch(_0x58d6d1){throw new Error(_0x33c741(0x1e5)+_0x444b88+'\x27\x20'+_0x58d6d1['message'][_0x33c741(0x1dc)]());}}
1
+ (function(_0x281110,_0x26d929){const _0x33ecd7=a89_0x4b54,_0x3a2c38=_0x281110();while(!![]){try{const _0x24c229=-parseInt(_0x33ecd7(0x127))/0x1*(-parseInt(_0x33ecd7(0x11b))/0x2)+-parseInt(_0x33ecd7(0x129))/0x3*(-parseInt(_0x33ecd7(0x119))/0x4)+parseInt(_0x33ecd7(0x12f))/0x5+-parseInt(_0x33ecd7(0x126))/0x6*(parseInt(_0x33ecd7(0x121))/0x7)+-parseInt(_0x33ecd7(0x11d))/0x8+-parseInt(_0x33ecd7(0x128))/0x9+-parseInt(_0x33ecd7(0x12b))/0xa;if(_0x24c229===_0x26d929)break;else _0x3a2c38['push'](_0x3a2c38['shift']());}catch(_0x29c2fd){_0x3a2c38['push'](_0x3a2c38['shift']());}}}(a89_0x5486,0xb1d2a));import{readFileSync}from'fs';export function stripSqlComments(_0x17972b){const _0x26c9c9=a89_0x4b54;let _0xbc584f=_0x17972b[_0x26c9c9(0x11e)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0xbc584f=_0xbc584f[_0x26c9c9(0x11e)](/--.*$/gm,''),_0xbc584f[_0x26c9c9(0x120)]();}function a89_0x4b54(_0x50a6dc,_0x5dc20d){const _0x5486c1=a89_0x5486();return a89_0x4b54=function(_0x4b54ea,_0x25b61a){_0x4b54ea=_0x4b54ea-0x117;let _0x20b2cc=_0x5486c1[_0x4b54ea];return _0x20b2cc;},a89_0x4b54(_0x50a6dc,_0x5dc20d);}function isEscaped(_0x59e596,_0x173d4c){let _0x36c376=0x0;for(let _0x4b0bad=_0x173d4c-0x1;_0x4b0bad>=0x0&&_0x59e596[_0x4b0bad]==='\x5c';_0x4b0bad--){_0x36c376++;}return _0x36c376%0x2===0x1;}export function splitSqlStatements(_0x2bbb70){const _0x406b2b=a89_0x4b54,_0x342652=stripSqlComments(_0x2bbb70);if(!_0x342652)throw new Error(_0x406b2b(0x12d));const _0x48af35=[];let _0x2e8b4b='',_0x17a197=![],_0x1ca4c8=![],_0xa54341=![];for(let _0x4c8bdb=0x0;_0x4c8bdb<_0x2bbb70[_0x406b2b(0x11c)];_0x4c8bdb++){const _0x1008d6=_0x2bbb70[_0x4c8bdb];if(_0x1008d6==='\x27'&&!isEscaped(_0x2bbb70,_0x4c8bdb)&&!_0x1ca4c8&&!_0xa54341)_0x17a197=!_0x17a197;else{if(_0x1008d6==='\x22'&&!isEscaped(_0x2bbb70,_0x4c8bdb)&&!_0x17a197&&!_0xa54341)_0x1ca4c8=!_0x1ca4c8;else _0x1008d6==='`'&&!isEscaped(_0x2bbb70,_0x4c8bdb)&&!_0x17a197&&!_0x1ca4c8&&(_0xa54341=!_0xa54341);}if(_0x1008d6===';'&&!_0x17a197&&!_0x1ca4c8&&!_0xa54341){const _0xd46da4=_0x2e8b4b[_0x406b2b(0x120)]();_0xd46da4&&_0x48af35['push'](_0xd46da4),_0x2e8b4b='';}else _0x2e8b4b+=_0x1008d6;}const _0x2ae7f9=_0x2e8b4b['trim']();_0x2ae7f9&&_0x48af35[_0x406b2b(0x11f)](_0x2ae7f9);const _0x1c8941=_0x48af35['map'](_0x2c8692=>_0x2c8692[_0x406b2b(0x120)]())[_0x406b2b(0x125)](_0x12af99=>{const _0xdf601a=_0x406b2b,_0x5c904e=stripSqlComments(_0x12af99);return _0x5c904e[_0xdf601a(0x11c)]>0x0;});if(_0x1c8941[_0x406b2b(0x11c)]===0x0)throw new Error(_0x406b2b(0x12d));return _0x1c8941;}function a89_0x5486(){const _0x57c072=['3653970ZQzPQL','Error\x20reading\x20file\x20\x27','Content\x20contains\x20no\x20SQL\x20statements','toLowerCase','5068205uTLuUX','File\x20\x27','message','212396kIBVHb','code','2fooucd','length','2189248wFqFzI','replace','push','trim','5967185OZfxEh','utf-8','ENOENT','Permission\x20denied\x20reading\x20file\x20\x27','filter','6epQSzj','731381ofjmAX','4806297tUydLc','57xXztPm','\x27\x20not\x20found'];a89_0x5486=function(){return _0x57c072;};return a89_0x5486();}export function readFileContent(_0x25e891){const _0x5b7e1e=a89_0x4b54;try{return readFileSync(_0x25e891,_0x5b7e1e(0x122));}catch(_0x24ee35){const _0x5755ef=_0x24ee35[_0x5b7e1e(0x11a)];if(_0x5755ef===_0x5b7e1e(0x123))throw new Error(_0x5b7e1e(0x117)+_0x25e891+_0x5b7e1e(0x12a));else{if(_0x5755ef==='EACCES')throw new Error(_0x5b7e1e(0x124)+_0x25e891+'\x27');else throw new Error(_0x5b7e1e(0x12c)+_0x25e891+'\x27:\x20'+_0x24ee35['message']);}}}export function readSqlStatementsFromFile(_0x3ac452){const _0x2b1faf=a89_0x4b54,_0x54fa02=readFileContent(_0x3ac452);try{return splitSqlStatements(_0x54fa02);}catch(_0x1c6543){throw new Error(_0x2b1faf(0x117)+_0x3ac452+'\x27\x20'+_0x1c6543[_0x2b1faf(0x118)][_0x2b1faf(0x12e)]());}}
@@ -1 +1 @@
1
- (function(_0x5d5475,_0x418b11){const _0x3e7252=a90_0x110e,_0x190e4b=_0x5d5475();while(!![]){try{const _0x33701c=-parseInt(_0x3e7252(0x188))/0x1+parseInt(_0x3e7252(0x176))/0x2*(-parseInt(_0x3e7252(0x17a))/0x3)+parseInt(_0x3e7252(0x174))/0x4*(-parseInt(_0x3e7252(0x17b))/0x5)+parseInt(_0x3e7252(0x184))/0x6*(parseInt(_0x3e7252(0x189))/0x7)+parseInt(_0x3e7252(0x187))/0x8*(-parseInt(_0x3e7252(0x179))/0x9)+parseInt(_0x3e7252(0x175))/0xa+parseInt(_0x3e7252(0x183))/0xb;if(_0x33701c===_0x418b11)break;else _0x190e4b['push'](_0x190e4b['shift']());}catch(_0x4cf18){_0x190e4b['push'](_0x190e4b['shift']());}}}(a90_0x1a14,0xe5657));function a90_0x1a14(){const _0x195dea=['712486emFdrj','data','pop','9XWBjpT','15GjTFmY','2690CzcAnR','parse','[LLM\x20API\x20SSE]\x20','slice','read','body','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','startsWith','45519782VWUpCB','694074qXUMmu','trim','decode','13438568rahYSF','178208aMgDkI','42eOHdXs','debug','8604DNhdmk','9038530TyUShD'];a90_0x1a14=function(){return _0x195dea;};return a90_0x1a14();}function a90_0x110e(_0x206405,_0x28a418){const _0x1a1441=a90_0x1a14();return a90_0x110e=function(_0x110ed8,_0xcd7e18){_0x110ed8=_0x110ed8-0x174;let _0x19c72c=_0x1a1441[_0x110ed8];return _0x19c72c;},a90_0x110e(_0x206405,_0x28a418);}export async function*parseSSEStream(_0x31a742,_0xa4325d){const _0x50432f=a90_0x110e;if(!_0x31a742['body'])throw new Error('Response\x20body\x20is\x20null');const _0x529cbf=_0x31a742[_0x50432f(0x180)]['getReader'](),_0x403ec5=new TextDecoder();let _0x1f73aa='',_0x30a4ac={};try{while(!![]){const {done:_0x39049e,value:_0x5d4d88}=await _0x529cbf[_0x50432f(0x17f)]();if(_0x39049e){if(_0x30a4ac[_0x50432f(0x177)]){_0xa4325d?.[_0x50432f(0x18a)](_0x50432f(0x17d)+_0x30a4ac['data']);const _0x1a3d9c=parseSSEData(_0x30a4ac[_0x50432f(0x177)]);yield _0x1a3d9c;}break;}_0x1f73aa+=_0x403ec5[_0x50432f(0x186)](_0x5d4d88,{'stream':!![]});const _0x13cb65=_0x1f73aa['split']('\x0a');_0x1f73aa=_0x13cb65[_0x50432f(0x178)]()||'';for(const _0x5951e2 of _0x13cb65){if(_0x5951e2[_0x50432f(0x185)]()===''){if(_0x30a4ac[_0x50432f(0x177)]){_0xa4325d?.[_0x50432f(0x18a)](_0x50432f(0x17d)+_0x30a4ac[_0x50432f(0x177)]);const _0x55de0d=parseSSEData(_0x30a4ac[_0x50432f(0x177)]);yield _0x55de0d,_0x30a4ac={};}continue;}if(_0x5951e2[_0x50432f(0x182)](':'))continue;const _0x54bdfa=_0x5951e2['indexOf'](':');if(_0x54bdfa===-0x1)continue;const _0x4c12a9=_0x5951e2[_0x50432f(0x17e)](0x0,_0x54bdfa);let _0x1f4c04=_0x5951e2[_0x50432f(0x17e)](_0x54bdfa+0x1);_0x1f4c04[_0x50432f(0x182)]('\x20')&&(_0x1f4c04=_0x1f4c04[_0x50432f(0x17e)](0x1));switch(_0x4c12a9){case'event':_0x30a4ac['event']=_0x1f4c04;break;case _0x50432f(0x177):_0x30a4ac['data']=_0x30a4ac[_0x50432f(0x177)]?_0x30a4ac[_0x50432f(0x177)]+'\x0a'+_0x1f4c04:_0x1f4c04;break;case'id':_0x30a4ac['id']=_0x1f4c04;break;}}}}finally{_0x529cbf['releaseLock']();}}function parseSSEData(_0x54e3ae){const _0x412915=a90_0x110e;try{return JSON[_0x412915(0x17c)](_0x54e3ae);}catch(_0x56527c){throw new Error(_0x412915(0x181)+_0x54e3ae,{'cause':_0x56527c});}}
1
+ (function(_0x3bba16,_0x3111c6){const _0xd7c02c=a90_0x200b,_0xdca58f=_0x3bba16();while(!![]){try{const _0x1f596a=parseInt(_0xd7c02c(0x1ab))/0x1*(parseInt(_0xd7c02c(0x1b4))/0x2)+parseInt(_0xd7c02c(0x1a9))/0x3+-parseInt(_0xd7c02c(0x1b2))/0x4*(parseInt(_0xd7c02c(0x1ba))/0x5)+parseInt(_0xd7c02c(0x1bd))/0x6*(-parseInt(_0xd7c02c(0x1ad))/0x7)+parseInt(_0xd7c02c(0x1a7))/0x8*(-parseInt(_0xd7c02c(0x1b6))/0x9)+-parseInt(_0xd7c02c(0x1bc))/0xa*(parseInt(_0xd7c02c(0x1b3))/0xb)+parseInt(_0xd7c02c(0x1ac))/0xc*(parseInt(_0xd7c02c(0x1bf))/0xd);if(_0x1f596a===_0x3111c6)break;else _0xdca58f['push'](_0xdca58f['shift']());}catch(_0x1bb6a2){_0xdca58f['push'](_0xdca58f['shift']());}}}(a90_0x2a50,0x8060e));function a90_0x200b(_0x5a16b9,_0x3bc5d2){const _0x2a5005=a90_0x2a50();return a90_0x200b=function(_0x200bc4,_0xb0cee4){_0x200bc4=_0x200bc4-0x1a6;let _0x3d0d43=_0x2a5005[_0x200bc4];return _0x3d0d43;},a90_0x200b(_0x5a16b9,_0x3bc5d2);}export async function*parseSSEStream(_0x5a3224,_0x3347dd){const _0x1451f9=a90_0x200b;if(!_0x5a3224['body'])throw new Error(_0x1451f9(0x1bb));const _0x375c98=_0x5a3224[_0x1451f9(0x1b8)][_0x1451f9(0x1af)](),_0x3fd87e=new TextDecoder();let _0x2e2b20='',_0x99c249={};try{while(!![]){const {done:_0x4f33f7,value:_0x5a1db6}=await _0x375c98[_0x1451f9(0x1a6)]();if(_0x4f33f7){if(_0x99c249['data']){_0x3347dd?.[_0x1451f9(0x1aa)](_0x1451f9(0x1b0)+_0x99c249[_0x1451f9(0x1ae)]);const _0x107ab8=parseSSEData(_0x99c249[_0x1451f9(0x1ae)]);yield _0x107ab8;}break;}_0x2e2b20+=_0x3fd87e['decode'](_0x5a1db6,{'stream':!![]});const _0x36c642=_0x2e2b20['split']('\x0a');_0x2e2b20=_0x36c642[_0x1451f9(0x1b9)]()||'';for(const _0x1e3919 of _0x36c642){if(_0x1e3919[_0x1451f9(0x1c1)]()===''){if(_0x99c249[_0x1451f9(0x1ae)]){_0x3347dd?.['debug'](_0x1451f9(0x1b0)+_0x99c249[_0x1451f9(0x1ae)]);const _0x20ce6f=parseSSEData(_0x99c249['data']);yield _0x20ce6f,_0x99c249={};}continue;}if(_0x1e3919['startsWith'](':'))continue;const _0x9a2464=_0x1e3919[_0x1451f9(0x1a8)](':');if(_0x9a2464===-0x1)continue;const _0x3e83c7=_0x1e3919[_0x1451f9(0x1be)](0x0,_0x9a2464);let _0x1fa80b=_0x1e3919[_0x1451f9(0x1be)](_0x9a2464+0x1);_0x1fa80b[_0x1451f9(0x1b1)]('\x20')&&(_0x1fa80b=_0x1fa80b[_0x1451f9(0x1be)](0x1));switch(_0x3e83c7){case _0x1451f9(0x1b5):_0x99c249[_0x1451f9(0x1b5)]=_0x1fa80b;break;case'data':_0x99c249['data']=_0x99c249[_0x1451f9(0x1ae)]?_0x99c249[_0x1451f9(0x1ae)]+'\x0a'+_0x1fa80b:_0x1fa80b;break;case'id':_0x99c249['id']=_0x1fa80b;break;}}}}finally{_0x375c98['releaseLock']();}}function parseSSEData(_0x2cbe08){const _0x346017=a90_0x200b;try{return JSON[_0x346017(0x1c0)](_0x2cbe08);}catch(_0x27e080){throw new Error(_0x346017(0x1b7)+_0x2cbe08,{'cause':_0x27e080});}}function a90_0x2a50(){const _0x272786=['data','getReader','[LLM\x20API\x20SSE]\x20','startsWith','543020gBkNHC','8447131uWUKso','8jXoBkS','event','900225ZQPepE','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','body','pop','15FJAnrZ','Response\x20body\x20is\x20null','10RwrITF','12bhhhKi','slice','26TZCnrq','parse','trim','read','32PSIDeZ','indexOf','2539506qCBZcj','debug','207169xcpLam','6670704dRjdJJ','2400433uykHld'];a90_0x2a50=function(){return _0x272786;};return a90_0x2a50();}
@@ -1 +1 @@
1
- (function(_0x30ef47,_0x576cfe){const _0x567b8a=a91_0x546e,_0x5e5152=_0x30ef47();while(!![]){try{const _0x416266=-parseInt(_0x567b8a(0x150))/0x1*(-parseInt(_0x567b8a(0x14d))/0x2)+parseInt(_0x567b8a(0x147))/0x3*(parseInt(_0x567b8a(0x14f))/0x4)+-parseInt(_0x567b8a(0x142))/0x5+parseInt(_0x567b8a(0x149))/0x6*(parseInt(_0x567b8a(0x151))/0x7)+parseInt(_0x567b8a(0x155))/0x8+-parseInt(_0x567b8a(0x143))/0x9*(-parseInt(_0x567b8a(0x13f))/0xa)+-parseInt(_0x567b8a(0x146))/0xb;if(_0x416266===_0x576cfe)break;else _0x5e5152['push'](_0x5e5152['shift']());}catch(_0x21326c){_0x5e5152['push'](_0x5e5152['shift']());}}}(a91_0x4e29,0x1daaf));import a91_0x4ca5d5 from'string-width';export function stringWidth(_0x25693a){return a91_0x4ca5d5(_0x25693a);}export function padEnd(_0x23ee3b,_0x2cf68c){const _0x420ba0=a91_0x546e,_0x446af9=stringWidth(_0x23ee3b);if(_0x446af9>=_0x2cf68c)return _0x23ee3b;return _0x23ee3b+'\x20'[_0x420ba0(0x145)](_0x2cf68c-_0x446af9);}function a91_0x4e29(){const _0x4acf07=['144008qivvvl','15241YRuuIA','7OfpxVx','padStart','length','random','35472dxKtac','replace','USERNAME','\x5c$&','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','floor','Cannot\x20escape\x20empty\x20string\x20literal','3710JlxQMw','toString','toLowerCase','1135965WBOlRU','2043gbZhkX','unknown','repeat','981915qwuaVP','9eYDKuF','trim','1356474HnsKcN','env','test','USER','2zOBtmH','substring'];a91_0x4e29=function(){return _0x4acf07;};return a91_0x4e29();}export function padStart(_0x36682c,_0x5a2a01){const _0x403973=a91_0x546e,_0x5625de=stringWidth(_0x36682c);if(_0x5625de>=_0x5a2a01)return _0x36682c;return'\x20'[_0x403973(0x145)](_0x5a2a01-_0x5625de)+_0x36682c;}export function centerAlign(_0xbf75a3,_0x3d4c27){const _0x10e0c0=a91_0x546e,_0x5d0259=stringWidth(_0xbf75a3);if(_0x5d0259>_0x3d4c27){if(_0x3d4c27<=0x1)return'…'[_0x10e0c0(0x14e)](0x0,_0x3d4c27);let _0x2ed22b=_0xbf75a3;while(stringWidth(_0x2ed22b+'…')>_0x3d4c27){_0x2ed22b=_0x2ed22b['slice'](0x0,-0x1);}return _0x2ed22b+'…';}if(_0x5d0259===_0x3d4c27)return _0xbf75a3;const _0x319122=_0x3d4c27-_0x5d0259,_0x274f14=Math[_0x10e0c0(0x15a)](_0x319122/0x2),_0x597a5b=_0x319122-_0x274f14;return'\x20'[_0x10e0c0(0x145)](_0x274f14)+_0xbf75a3+'\x20'['repeat'](_0x597a5b);}export function escapeStringLiteral(_0x25adb7){const _0x11dbee=a91_0x546e;if(!_0x25adb7||_0x25adb7[_0x11dbee(0x148)]()[_0x11dbee(0x153)]===0x0)throw new Error(_0x11dbee(0x13e));const _0x537e7e=_0x25adb7['replace'](/'/g,'\x27\x27');return'\x27'+_0x537e7e+'\x27';}export function globToLike(_0x51129b){const _0x2742a7=a91_0x546e;let _0xcf4886=_0x51129b[_0x2742a7(0x156)](/\\/g,'\x5c\x5c')['replace'](/%/g,'\x5c%')[_0x2742a7(0x156)](/_/g,'\x5c_');return _0xcf4886=_0xcf4886[_0x2742a7(0x156)](/\*/g,'%')['replace'](/\?/g,'_'),_0xcf4886;}export function buildLikePattern(_0x2c18e8){const _0x6e965a=a91_0x546e;if(!_0x2c18e8||_0x2c18e8['trim']()[_0x6e965a(0x153)]===0x0)throw new Error(_0x6e965a(0x159));const _0x24a5a9=globToLike(_0x2c18e8),_0x4121b9=_0x24a5a9[_0x6e965a(0x156)](/'/g,'\x27\x27');return'\x27'+_0x4121b9+'\x27';}function a91_0x546e(_0x2d7cfc,_0x839e13){const _0x4e29f9=a91_0x4e29();return a91_0x546e=function(_0x546e32,_0x42b456){_0x546e32=_0x546e32-0x13e;let _0x100a75=_0x4e29f9[_0x546e32];return _0x100a75;},a91_0x546e(_0x2d7cfc,_0x839e13);}export function matchGlobPattern(_0x38e746,_0x45967a){const _0x149668=a91_0x546e,_0x173616=_0x45967a['replace'](/[.+^${}()|[\]\\]/g,_0x149668(0x158))[_0x149668(0x156)](/\*/g,'.*')[_0x149668(0x156)](/\?/g,'.'),_0x59eadd=new RegExp('^'+_0x173616+'$');return _0x59eadd[_0x149668(0x14b)](_0x38e746);}export function getSanitizedUsername(){const _0x25e0d5=a91_0x546e,_0x3d76e0=process['env'][_0x25e0d5(0x14c)]||process[_0x25e0d5(0x14a)][_0x25e0d5(0x157)]||_0x25e0d5(0x144);return _0x3d76e0[_0x25e0d5(0x156)](/[^a-zA-Z0-9]/g,'')[_0x25e0d5(0x141)]();}export function generateRandomHex(){const _0x31b720=a91_0x546e,_0xd8932=Math[_0x31b720(0x15a)](Math[_0x31b720(0x154)]()*0xfffff);return _0xd8932[_0x31b720(0x140)](0x10)[_0x31b720(0x152)](0x5,'0');}
1
+ (function(_0x5620bc,_0x37a0ee){const _0x4cfe79=a91_0x1362,_0x5c9880=_0x5620bc();while(!![]){try{const _0x215490=parseInt(_0x4cfe79(0x1e9))/0x1*(-parseInt(_0x4cfe79(0x1e8))/0x2)+parseInt(_0x4cfe79(0x1dc))/0x3*(parseInt(_0x4cfe79(0x1e6))/0x4)+-parseInt(_0x4cfe79(0x1ed))/0x5*(parseInt(_0x4cfe79(0x1ea))/0x6)+-parseInt(_0x4cfe79(0x1da))/0x7*(-parseInt(_0x4cfe79(0x1f4))/0x8)+-parseInt(_0x4cfe79(0x1e0))/0x9+-parseInt(_0x4cfe79(0x1e3))/0xa*(-parseInt(_0x4cfe79(0x1e4))/0xb)+parseInt(_0x4cfe79(0x1f6))/0xc;if(_0x215490===_0x37a0ee)break;else _0x5c9880['push'](_0x5c9880['shift']());}catch(_0x137972){_0x5c9880['push'](_0x5c9880['shift']());}}}(a91_0x47ac,0xe4ef8));function a91_0x1362(_0x22c7b8,_0x3705ee){const _0x47aca2=a91_0x47ac();return a91_0x1362=function(_0x1362ff,_0x572e78){_0x1362ff=_0x1362ff-0x1da;let _0x30edf3=_0x47aca2[_0x1362ff];return _0x30edf3;},a91_0x1362(_0x22c7b8,_0x3705ee);}import a91_0x37437c from'string-width';export function stringWidth(_0x294c30){return a91_0x37437c(_0x294c30);}export function padEnd(_0x80306b,_0x5a9316){const _0x54e0bc=stringWidth(_0x80306b);if(_0x54e0bc>=_0x5a9316)return _0x80306b;return _0x80306b+'\x20'['repeat'](_0x5a9316-_0x54e0bc);}export function padStart(_0x542fd9,_0x1123ff){const _0x8c2464=stringWidth(_0x542fd9);if(_0x8c2464>=_0x1123ff)return _0x542fd9;return'\x20'['repeat'](_0x1123ff-_0x8c2464)+_0x542fd9;}export function centerAlign(_0x1d4812,_0x2e9e89){const _0x3c03a7=a91_0x1362,_0x1498b5=stringWidth(_0x1d4812);if(_0x1498b5>_0x2e9e89){if(_0x2e9e89<=0x1)return'…'['substring'](0x0,_0x2e9e89);let _0x4c5471=_0x1d4812;while(stringWidth(_0x4c5471+'…')>_0x2e9e89){_0x4c5471=_0x4c5471[_0x3c03a7(0x1f5)](0x0,-0x1);}return _0x4c5471+'…';}if(_0x1498b5===_0x2e9e89)return _0x1d4812;const _0x27c629=_0x2e9e89-_0x1498b5,_0x4a3ab9=Math[_0x3c03a7(0x1e7)](_0x27c629/0x2),_0x27eb99=_0x27c629-_0x4a3ab9;return'\x20'[_0x3c03a7(0x1f1)](_0x4a3ab9)+_0x1d4812+'\x20'[_0x3c03a7(0x1f1)](_0x27eb99);}export function escapeStringLiteral(_0x20c64d){const _0x164aae=a91_0x1362;if(!_0x20c64d||_0x20c64d[_0x164aae(0x1f3)]()['length']===0x0)throw new Error(_0x164aae(0x1f0));const _0x14c6b9=_0x20c64d[_0x164aae(0x1db)](/'/g,'\x27\x27');return'\x27'+_0x14c6b9+'\x27';}function a91_0x47ac(){const _0x1b9469=['287DIjRfq','replace','26205hMTMqC','USER','USERNAME','padStart','15772491iUXHgY','toLowerCase','length','882280wuSasm','22caSajA','\x5c$&','4kWbElK','floor','854tSiuBF','2861NDjkTA','86070xJNtgA','test','toString','335phvTLY','unknown','random','Cannot\x20escape\x20empty\x20string\x20literal','repeat','env','trim','79240sorYQb','slice','51380220qRdQOn'];a91_0x47ac=function(){return _0x1b9469;};return a91_0x47ac();}export function globToLike(_0x256384){const _0x1e389f=a91_0x1362;let _0x45c63a=_0x256384[_0x1e389f(0x1db)](/\\/g,'\x5c\x5c')[_0x1e389f(0x1db)](/%/g,'\x5c%')[_0x1e389f(0x1db)](/_/g,'\x5c_');return _0x45c63a=_0x45c63a[_0x1e389f(0x1db)](/\*/g,'%')[_0x1e389f(0x1db)](/\?/g,'_'),_0x45c63a;}export function buildLikePattern(_0x1b9beb){const _0x74ef4d=a91_0x1362;if(!_0x1b9beb||_0x1b9beb[_0x74ef4d(0x1f3)]()[_0x74ef4d(0x1e2)]===0x0)throw new Error('Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string');const _0x18a98f=globToLike(_0x1b9beb),_0x193fc5=_0x18a98f[_0x74ef4d(0x1db)](/'/g,'\x27\x27');return'\x27'+_0x193fc5+'\x27';}export function matchGlobPattern(_0x55ca3a,_0x5a7e88){const _0x49a1be=a91_0x1362,_0x40cbad=_0x5a7e88['replace'](/[.+^${}()|[\]\\]/g,_0x49a1be(0x1e5))[_0x49a1be(0x1db)](/\*/g,'.*')[_0x49a1be(0x1db)](/\?/g,'.'),_0x483489=new RegExp('^'+_0x40cbad+'$');return _0x483489[_0x49a1be(0x1eb)](_0x55ca3a);}export function getSanitizedUsername(){const _0x537445=a91_0x1362,_0x1f214e=process[_0x537445(0x1f2)][_0x537445(0x1dd)]||process[_0x537445(0x1f2)][_0x537445(0x1de)]||_0x537445(0x1ee);return _0x1f214e[_0x537445(0x1db)](/[^a-zA-Z0-9]/g,'')[_0x537445(0x1e1)]();}export function generateRandomHex(){const _0x17e620=a91_0x1362,_0x47309f=Math[_0x17e620(0x1e7)](Math[_0x17e620(0x1ef)]()*0xfffff);return _0x47309f[_0x17e620(0x1ec)](0x10)[_0x17e620(0x1df)](0x5,'0');}
@@ -1 +1 @@
1
- function a92_0x11c7(){const _0x2e0a0e=['table','trim','split','1675806hXOgxH','1809241TlrRyx','510563wNjUSk','length','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','database','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','includes','332BglxSL','2WufgIr','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','9111QAvzfI','catalog','join','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','3917460MGnlVS','Pattern\x20cannot\x20be\x20just\x20a\x20dot','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','4748841JvAGnZ','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','push','4906432SalkKi'];a92_0x11c7=function(){return _0x2e0a0e;};return a92_0x11c7();}(function(_0x5781b8,_0x50c7ab){const _0x105166=a92_0x28b0,_0x3efe80=_0x5781b8();while(!![]){try{const _0x42ef6f=-parseInt(_0x105166(0x195))/0x1*(-parseInt(_0x105166(0x19c))/0x2)+-parseInt(_0x105166(0x19e))/0x3*(-parseInt(_0x105166(0x19b))/0x4)+parseInt(_0x105166(0x1a2))/0x5+parseInt(_0x105166(0x193))/0x6+-parseInt(_0x105166(0x194))/0x7+-parseInt(_0x105166(0x1a8))/0x8+-parseInt(_0x105166(0x1a5))/0x9;if(_0x42ef6f===_0x50c7ab)break;else _0x3efe80['push'](_0x3efe80['shift']());}catch(_0x42f8ee){_0x3efe80['push'](_0x3efe80['shift']());}}}(a92_0x11c7,0x6801b));function a92_0x28b0(_0x231719,_0x227bb6){const _0x11c7c2=a92_0x11c7();return a92_0x28b0=function(_0x28b0cc,_0x224fc0){_0x28b0cc=_0x28b0cc-0x192;let _0x212e02=_0x11c7c2[_0x28b0cc];return _0x212e02;},a92_0x28b0(_0x231719,_0x227bb6);}function hasWildcard(_0x468228){const _0xa8fc10=a92_0x28b0;return _0x468228['includes']('*')||_0x468228[_0xa8fc10(0x19a)]('?');}export function parseTableReference(_0x248ae5){const _0x45014f=a92_0x28b0;if(!_0x248ae5||_0x248ae5[_0x45014f(0x1aa)]()['length']===0x0)throw new Error(_0x45014f(0x1a6));const _0xaf72e4=_0x248ae5[_0x45014f(0x1aa)](),_0x4a4c30={'original':_0xaf72e4},_0x3d7eea=_0xaf72e4[_0x45014f(0x192)]('.');if(_0x3d7eea[_0x45014f(0x196)]===0x1){const _0x4e39fc=_0x3d7eea[0x0];if(!_0x4e39fc)throw new Error(_0x45014f(0x1a3));_0x4a4c30['table']=_0x4e39fc;}else{if(_0x3d7eea[_0x45014f(0x196)]===0x2){const [_0x138e33,_0x4d3111]=_0x3d7eea;if(!_0x138e33)throw new Error('Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)');if(!_0x4d3111)throw new Error(_0x45014f(0x19d));_0x4a4c30[_0x45014f(0x198)]=_0x138e33,_0x4a4c30[_0x45014f(0x1a9)]=_0x4d3111;}else{if(_0x3d7eea[_0x45014f(0x196)]===0x3){const [_0xfbf62f,_0x2f126e,_0xa21d72]=_0x3d7eea;if(!_0xfbf62f||!_0x2f126e||!_0xa21d72)throw new Error(_0x45014f(0x199));_0x4a4c30[_0x45014f(0x19f)]=_0xfbf62f,_0x4a4c30[_0x45014f(0x198)]=_0x2f126e,_0x4a4c30[_0x45014f(0x1a9)]=_0xa21d72;}else throw new Error(_0x45014f(0x197));}}return _0x4a4c30;}export function formatTableReference(_0x53fa84){const _0x4cb852=a92_0x28b0,_0x390daf=[];return _0x53fa84['catalog']&&_0x390daf[_0x4cb852(0x1a7)](_0x53fa84[_0x4cb852(0x19f)]),_0x53fa84[_0x4cb852(0x198)]&&_0x390daf[_0x4cb852(0x1a7)](_0x53fa84['database']),_0x53fa84[_0x4cb852(0x1a9)]&&_0x390daf[_0x4cb852(0x1a7)](_0x53fa84[_0x4cb852(0x1a9)]),_0x390daf[_0x4cb852(0x1a0)]('.');}export function validateTableListReference(_0x3b3efd){return undefined;}export function validateTableDescribeReference(_0xd764a9){const _0x668c69=a92_0x28b0;if(!_0xd764a9[_0x668c69(0x1a9)])return _0x668c69(0x1a1);if(_0xd764a9[_0x668c69(0x198)]&&hasWildcard(_0xd764a9['database']))return _0x668c69(0x1a4);if(hasWildcard(_0xd764a9[_0x668c69(0x1a9)]))return'Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation';return undefined;}
1
+ function a92_0x173d(_0x3a45f8,_0x36c7ce){const _0x2a9e2e=a92_0x2a9e();return a92_0x173d=function(_0x173d27,_0x553a8c){_0x173d27=_0x173d27-0xb3;let _0x3d709a=_0x2a9e2e[_0x173d27];return _0x3d709a;},a92_0x173d(_0x3a45f8,_0x36c7ce);}(function(_0x1e6752,_0x572249){const _0x529575=a92_0x173d,_0xa3f817=_0x1e6752();while(!![]){try{const _0x1f4b84=parseInt(_0x529575(0xcc))/0x1+parseInt(_0x529575(0xba))/0x2+parseInt(_0x529575(0xc7))/0x3+parseInt(_0x529575(0xc6))/0x4*(parseInt(_0x529575(0xcf))/0x5)+-parseInt(_0x529575(0xb4))/0x6*(-parseInt(_0x529575(0xc9))/0x7)+-parseInt(_0x529575(0xc4))/0x8*(parseInt(_0x529575(0xc3))/0x9)+parseInt(_0x529575(0xca))/0xa*(-parseInt(_0x529575(0xb6))/0xb);if(_0x1f4b84===_0x572249)break;else _0xa3f817['push'](_0xa3f817['shift']());}catch(_0x37337f){_0xa3f817['push'](_0xa3f817['shift']());}}}(a92_0x2a9e,0x9049b));function hasWildcard(_0x456e65){const _0x2d4786=a92_0x173d;return _0x456e65[_0x2d4786(0xcd)]('*')||_0x456e65[_0x2d4786(0xcd)]('?');}export function parseTableReference(_0x5196d6){const _0x2b31e0=a92_0x173d;if(!_0x5196d6||_0x5196d6[_0x2b31e0(0xb9)]()[_0x2b31e0(0xc0)]===0x0)throw new Error(_0x2b31e0(0xb3));const _0x126e3c=_0x5196d6[_0x2b31e0(0xb9)](),_0x42e44d={'original':_0x126e3c},_0x2cc7a3=_0x126e3c[_0x2b31e0(0xbf)]('.');if(_0x2cc7a3[_0x2b31e0(0xc0)]===0x1){const _0x3fc25b=_0x2cc7a3[0x0];if(!_0x3fc25b)throw new Error(_0x2b31e0(0xbe));_0x42e44d['table']=_0x3fc25b;}else{if(_0x2cc7a3[_0x2b31e0(0xc0)]===0x2){const [_0x2dc1ff,_0x101f98]=_0x2cc7a3;if(!_0x2dc1ff)throw new Error(_0x2b31e0(0xbc));if(!_0x101f98)throw new Error(_0x2b31e0(0xbd));_0x42e44d[_0x2b31e0(0xc8)]=_0x2dc1ff,_0x42e44d['table']=_0x101f98;}else{if(_0x2cc7a3['length']===0x3){const [_0x3e3429,_0x3007d2,_0x20b76b]=_0x2cc7a3;if(!_0x3e3429||!_0x3007d2||!_0x20b76b)throw new Error(_0x2b31e0(0xbb));_0x42e44d[_0x2b31e0(0xc2)]=_0x3e3429,_0x42e44d[_0x2b31e0(0xc8)]=_0x3007d2,_0x42e44d['table']=_0x20b76b;}else throw new Error(_0x2b31e0(0xb7));}}return _0x42e44d;}export function formatTableReference(_0x5cfd8d){const _0x3a680c=a92_0x173d,_0x356e4d=[];return _0x5cfd8d['catalog']&&_0x356e4d['push'](_0x5cfd8d['catalog']),_0x5cfd8d[_0x3a680c(0xc8)]&&_0x356e4d[_0x3a680c(0xb5)](_0x5cfd8d[_0x3a680c(0xc8)]),_0x5cfd8d[_0x3a680c(0xcb)]&&_0x356e4d[_0x3a680c(0xb5)](_0x5cfd8d[_0x3a680c(0xcb)]),_0x356e4d[_0x3a680c(0xce)]('.');}function a92_0x2a9e(){const _0x47fe3a=['206974dOxGZT','includes','join','150195ojhdXK','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','411438ZnbiZw','push','143kTTnrN','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','trim','159120qZtZBA','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','Pattern\x20cannot\x20be\x20just\x20a\x20dot','split','length','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','catalog','755496gDWdSC','32wRUgNH','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','20zzDcYo','2794602iHQZQj','database','14mNOkZJ','445100sEssAr','table'];a92_0x2a9e=function(){return _0x47fe3a;};return a92_0x2a9e();}export function validateTableListReference(_0x34803f){return undefined;}export function validateTableDescribeReference(_0x3d996a){const _0xc2aa29=a92_0x173d;if(!_0x3d996a[_0xc2aa29(0xcb)])return _0xc2aa29(0xb8);if(_0x3d996a[_0xc2aa29(0xc8)]&&hasWildcard(_0x3d996a[_0xc2aa29(0xc8)]))return _0xc2aa29(0xc5);if(hasWildcard(_0x3d996a[_0xc2aa29(0xcb)]))return _0xc2aa29(0xc1);return undefined;}
@@ -1 +1 @@
1
- function a93_0x14ef(){const _0x523554=['196155dALHYY','abs','92260qMcdxM','tdx.log','name','getSeconds','toString','Warning:\x20Error\x20writing\x20to\x20tdx.log:','2rkPKBw','118434zlYbmx','getMinutes','7wFwpzz','543291kKJdvl','9385222ieyUvN','tdx-','message','includes','70YycgVy','stringify','logStream','trace','12xKJPOe','padStart','debug','logDir','test','logLevel','.cache','rotateOldLogs','TRACE','cause','16lWgRVX','.gz','write','ERROR','getMilliseconds','getDate','toISOString','log','.log','mtime','1877968NhyJfj','Proxy\x20session\x20ended','warn','split','WARN','end','getMonth','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','error','DEBUG','gray','info','getFullYear','INFO','init','Warning:\x20Failed\x20to\x20compress\x20','getHours','close','stack','filter','fileOnly','140772LjudVW'];a93_0x14ef=function(){return _0x523554;};return a93_0x14ef();}const a93_0x61ac29=a93_0x390b;(function(_0x48205c,_0x5cab8a){const _0x23a62d=a93_0x390b,_0x1c0b17=_0x48205c();while(!![]){try{const _0x72c3ee=-parseInt(_0x23a62d(0xad))/0x1*(parseInt(_0x23a62d(0xae))/0x2)+-parseInt(_0x23a62d(0xb1))/0x3+parseInt(_0x23a62d(0x85))/0x4*(parseInt(_0x23a62d(0xa7))/0x5)+-parseInt(_0x23a62d(0xa4))/0x6*(-parseInt(_0x23a62d(0xb0))/0x7)+-parseInt(_0x23a62d(0x8f))/0x8+-parseInt(_0x23a62d(0xa5))/0x9*(parseInt(_0x23a62d(0x77))/0xa)+-parseInt(_0x23a62d(0xb2))/0xb*(-parseInt(_0x23a62d(0x7b))/0xc);if(_0x72c3ee===_0x5cab8a)break;else _0x1c0b17['push'](_0x1c0b17['shift']());}catch(_0x16345b){_0x1c0b17['push'](_0x1c0b17['shift']());}}}(a93_0x14ef,0x405ce));import{createWriteStream,createReadStream}from'fs';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';function a93_0x390b(_0x5b7caa,_0xda5acf){const _0x14efa0=a93_0x14ef();return a93_0x390b=function(_0x390b07,_0x379caa){_0x390b07=_0x390b07-0x77;let _0x41e224=_0x14efa0[_0x390b07];return _0x41e224;},a93_0x390b(_0x5b7caa,_0xda5acf);}import a93_0x10c693 from'chalk';function safeStringify(_0x4ca7a3){const _0x588df3=a93_0x390b;if(typeof _0x4ca7a3==='string')return _0x4ca7a3;if(_0x4ca7a3 instanceof Error)return _0x4ca7a3['stack']||_0x4ca7a3[_0x588df3(0xa9)]+':\x20'+_0x4ca7a3[_0x588df3(0xb4)];try{return JSON[_0x588df3(0x78)](_0x4ca7a3,(_0x2d0343,_0x3c63d3)=>{const _0x13d881=_0x588df3;if(_0x3c63d3 instanceof Error)return{'name':_0x3c63d3['name'],'message':_0x3c63d3[_0x13d881(0xb4)],'stack':_0x3c63d3[_0x13d881(0xa1)],'cause':_0x3c63d3[_0x13d881(0x84)]};return _0x3c63d3;});}catch{return String(_0x4ca7a3);}}function getTimezoneOffset(){const _0x435afb=a93_0x390b,_0x1d089a=-new Date()['getTimezoneOffset'](),_0x367f8a=Math['floor'](Math['abs'](_0x1d089a)/0x3c),_0x5949c=Math[_0x435afb(0xa6)](_0x1d089a)%0x3c,_0x2783cf=_0x1d089a>=0x0?'+':'-';return''+_0x2783cf+_0x367f8a[_0x435afb(0xab)]()[_0x435afb(0x7c)](0x2,'0')+_0x5949c['toString']()[_0x435afb(0x7c)](0x2,'0');}function formatTimestamp(){const _0x4ac268=a93_0x390b,_0x4967ef=new Date(),_0xcd1375=_0x4967ef[_0x4ac268(0x9b)](),_0x1d2ab3=(_0x4967ef[_0x4ac268(0x95)]()+0x1)[_0x4ac268(0xab)]()['padStart'](0x2,'0'),_0x66a871=_0x4967ef[_0x4ac268(0x8a)]()[_0x4ac268(0xab)]()['padStart'](0x2,'0'),_0x4654f2=_0x4967ef[_0x4ac268(0x9f)]()[_0x4ac268(0xab)]()['padStart'](0x2,'0'),_0x2814e4=_0x4967ef[_0x4ac268(0xaf)]()[_0x4ac268(0xab)]()[_0x4ac268(0x7c)](0x2,'0'),_0x3261e0=_0x4967ef[_0x4ac268(0xaa)]()[_0x4ac268(0xab)]()[_0x4ac268(0x7c)](0x2,'0'),_0x478d4a=_0x4967ef[_0x4ac268(0x89)]()[_0x4ac268(0xab)]()[_0x4ac268(0x7c)](0x3,'0'),_0x56888b=getTimezoneOffset();return _0xcd1375+'-'+_0x1d2ab3+'-'+_0x66a871+'\x20'+_0x4654f2+':'+_0x2814e4+':'+_0x3261e0+'.'+_0x478d4a+_0x56888b;}function formatColoredLogEntry(_0x2b8f5c,_0x3d35ce){const _0x272b36=a93_0x390b,_0x53cf89=formatTimestamp(),_0x2aeae8=_0x3d35ce['map'](safeStringify)['join']('\x20'),_0x14dd8d=a93_0x10c693['gray'](_0x53cf89);let _0x46a789;switch(_0x2b8f5c){case _0x272b36(0x9a):_0x46a789=a93_0x10c693['cyan']('['+_0x2b8f5c+']\x20');break;case _0x272b36(0x91):_0x46a789=a93_0x10c693['yellow']('['+_0x2b8f5c+']\x20');break;case _0x272b36(0x97):_0x46a789=a93_0x10c693['red']('['+_0x2b8f5c+']');break;case _0x272b36(0x7d):_0x46a789=a93_0x10c693[_0x272b36(0x99)]('['+_0x2b8f5c+']');break;default:_0x46a789='['+_0x2b8f5c+']';}return _0x14dd8d+'\x20'+_0x46a789+'\x20'+_0x2aeae8;}export var LogLevel;(function(_0x3e3206){const _0x247eed=a93_0x390b;_0x3e3206[_0x3e3206[_0x247eed(0x83)]=-0x2]=_0x247eed(0x83),_0x3e3206[_0x3e3206['DEBUG']=-0x1]='DEBUG',_0x3e3206[_0x3e3206[_0x247eed(0x9c)]=0x0]=_0x247eed(0x9c),_0x3e3206[_0x3e3206[_0x247eed(0x93)]=0x1]='WARN',_0x3e3206[_0x3e3206[_0x247eed(0x88)]=0x2]=_0x247eed(0x88);}(LogLevel||(LogLevel={})));export class TDXLogger{[a93_0x61ac29(0x79)];['logDir'];[a93_0x61ac29(0x80)];[a93_0x61ac29(0xa3)];constructor(_0x50ecd1=LogLevel['INFO'],_0x3491b5=![]){const _0x437d92=a93_0x61ac29;this[_0x437d92(0x7e)]=join(homedir(),_0x437d92(0x81),'tdx','logs'),this[_0x437d92(0x80)]=_0x50ecd1,this[_0x437d92(0xa3)]=_0x3491b5;}async[a93_0x61ac29(0x9d)](){const _0x188a3b=a93_0x61ac29;try{await mkdir(this[_0x188a3b(0x7e)],{'recursive':!![]}),await this[_0x188a3b(0x82)]();const _0x2474c3=join(this['logDir'],_0x188a3b(0xa8));this[_0x188a3b(0x79)]=createWriteStream(_0x2474c3,{'flags':'a'}),this['logStream']['on']('error',_0x1e2d82=>{const _0x138b79=_0x188a3b;console[_0x138b79(0x97)](_0x138b79(0xac),_0x1e2d82[_0x138b79(0xb4)]);});}catch(_0x491b78){console[_0x188a3b(0x97)](_0x188a3b(0x96),_0x491b78);}}async[a93_0x61ac29(0x82)](){const _0x5f9537=a93_0x61ac29;try{const _0x3896fb=await readdir(this['logDir']),_0x5b28c5=new Date()[_0x5f9537(0x8b)]()['split']('T')[0x0];if(_0x3896fb[_0x5f9537(0xb5)]('tdx.log')){const _0x8b326f=join(this[_0x5f9537(0x7e)],_0x5f9537(0xa8)),_0x239100=await stat(_0x8b326f),_0x253bf4=new Date(_0x239100[_0x5f9537(0x8e)])['toISOString']()[_0x5f9537(0x92)]('T')[0x0];if(_0x253bf4<_0x5b28c5){const _0x1fcc08=join(this[_0x5f9537(0x7e)],_0x5f9537(0xb3)+_0x253bf4+_0x5f9537(0x8d));await rename(_0x8b326f,_0x1fcc08);}}const _0x1eac1c=await readdir(this[_0x5f9537(0x7e)]),_0x4305b3=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0xf13edb=_0x1eac1c[_0x5f9537(0xa2)](_0x29b039=>_0x4305b3[_0x5f9537(0x7f)](_0x29b039));for(const _0x2daebb of _0xf13edb){const _0x344950=join(this[_0x5f9537(0x7e)],_0x2daebb),_0x468f24=join(this[_0x5f9537(0x7e)],_0x2daebb+_0x5f9537(0x86));try{await pipeline(createReadStream(_0x344950),createGzip(),createWriteStream(_0x468f24)),await unlink(_0x344950);}catch(_0x31e974){console['error'](_0x5f9537(0x9e)+_0x2daebb+':',_0x31e974);}}}catch{}}[a93_0x61ac29(0x7d)](..._0x338009){const _0x3c21d3=a93_0x61ac29;if(this['logLevel']>LogLevel[_0x3c21d3(0x98)])return;const _0x1f427a=formatColoredLogEntry('debug',_0x338009);this['logStream']?.[_0x3c21d3(0x87)](_0x1f427a+'\x0a');}['trace'](..._0x4d44ee){const _0x341f43=a93_0x61ac29;if(this[_0x341f43(0x80)]>LogLevel['TRACE'])return;const _0x24ace5=formatColoredLogEntry(_0x341f43(0x7a),_0x4d44ee);this[_0x341f43(0x79)]?.['write'](_0x24ace5+'\x0a');}[a93_0x61ac29(0x9a)](..._0x30ba3e){const _0x4874ea=a93_0x61ac29;if(this[_0x4874ea(0x80)]>LogLevel[_0x4874ea(0x9c)])return;const _0x3b9b3a=formatColoredLogEntry(_0x4874ea(0x9a),_0x30ba3e);!this['fileOnly']&&console[_0x4874ea(0x8c)](_0x3b9b3a),this[_0x4874ea(0x79)]?.[_0x4874ea(0x87)](_0x3b9b3a+'\x0a');}[a93_0x61ac29(0x91)](..._0x24faae){const _0x3d634d=a93_0x61ac29;if(this[_0x3d634d(0x80)]>LogLevel[_0x3d634d(0x93)])return;const _0x5b94b9=formatColoredLogEntry('warn',_0x24faae);!this[_0x3d634d(0xa3)]&&console['error'](_0x5b94b9),this['logStream']?.[_0x3d634d(0x87)](_0x5b94b9+'\x0a');}[a93_0x61ac29(0x97)](..._0x2e86e4){const _0x1e275c=a93_0x61ac29,_0x1b112e=formatColoredLogEntry('error',_0x2e86e4);!this[_0x1e275c(0xa3)]&&console[_0x1e275c(0x97)](_0x1b112e),this[_0x1e275c(0x79)]?.['write'](_0x1b112e+'\x0a');}async[a93_0x61ac29(0xa0)](){const _0x5b896b=a93_0x61ac29;return this[_0x5b896b(0x9a)](_0x5b896b(0x90)),new Promise(_0x3d7329=>{const _0x17e35e=_0x5b896b;this[_0x17e35e(0x79)]?this['logStream'][_0x17e35e(0x94)](()=>{_0x3d7329();}):_0x3d7329();});}['getLogPath'](){const _0x1874fc=a93_0x61ac29;return join(this['logDir'],_0x1874fc(0xa8));}}
1
+ const a93_0x5b3d98=a93_0x57f6;(function(_0x24acc9,_0x4a9c49){const _0xc63dea=a93_0x57f6,_0x10deba=_0x24acc9();while(!![]){try{const _0x298351=-parseInt(_0xc63dea(0x7b))/0x1+parseInt(_0xc63dea(0xa5))/0x2+-parseInt(_0xc63dea(0x95))/0x3+-parseInt(_0xc63dea(0xa6))/0x4*(-parseInt(_0xc63dea(0x9a))/0x5)+parseInt(_0xc63dea(0xad))/0x6+parseInt(_0xc63dea(0xa1))/0x7*(-parseInt(_0xc63dea(0x72))/0x8)+-parseInt(_0xc63dea(0xab))/0x9*(-parseInt(_0xc63dea(0x76))/0xa);if(_0x298351===_0x4a9c49)break;else _0x10deba['push'](_0x10deba['shift']());}catch(_0x1425ba){_0x10deba['push'](_0x10deba['shift']());}}}(a93_0x5de2,0xd97fe));function a93_0x5de2(){const _0x175343=['stack','572210vFTsUF','close','toString','getDate','red','getLogPath','mtime','77qRcXpU','.gz','getMilliseconds','yellow','2202968OjShkH','8OcdjxS','getTimezoneOffset','string','rotateOldLogs','abs','9MStJIc','name','2670612DxTmHe','logDir','log','getHours','652008YEIudp','debug','tdx','Warning:\x20Failed\x20to\x20compress\x20','19793610XieBCj','getSeconds','tdx-','write','WARN','1088824KJrNmw','cyan','gray','filter','test','INFO','tdx.log','info','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','warn','getMinutes','padStart','Warning:\x20Error\x20writing\x20to\x20tdx.log:','error','getFullYear','fileOnly','logLevel','TRACE','DEBUG','logStream','includes','.cache','split','getMonth','floor','message','2635854ZGfyeT','ERROR','trace','join'];a93_0x5de2=function(){return _0x175343;};return a93_0x5de2();}import{createWriteStream,createReadStream}from'fs';import{mkdir,readdir,unlink,stat,rename}from'fs/promises';import{join}from'path';function a93_0x57f6(_0x38d787,_0xea5f6d){const _0x5de2ad=a93_0x5de2();return a93_0x57f6=function(_0x57f693,_0x4e2c2e){_0x57f693=_0x57f693-0x72;let _0x2b3d75=_0x5de2ad[_0x57f693];return _0x2b3d75;},a93_0x57f6(_0x38d787,_0xea5f6d);}import{homedir}from'os';import{createGzip}from'zlib';import{pipeline}from'stream/promises';import a93_0x221a00 from'chalk';function safeStringify(_0x256c74){const _0x46880b=a93_0x57f6;if(typeof _0x256c74===_0x46880b(0xa8))return _0x256c74;if(_0x256c74 instanceof Error)return _0x256c74['stack']||_0x256c74['name']+':\x20'+_0x256c74[_0x46880b(0x94)];try{return JSON['stringify'](_0x256c74,(_0x42b662,_0x36ea62)=>{const _0x245e5c=_0x46880b;if(_0x36ea62 instanceof Error)return{'name':_0x36ea62[_0x245e5c(0xac)],'message':_0x36ea62[_0x245e5c(0x94)],'stack':_0x36ea62[_0x245e5c(0x99)],'cause':_0x36ea62['cause']};return _0x36ea62;});}catch{return String(_0x256c74);}}function getTimezoneOffset(){const _0x2503a9=a93_0x57f6,_0x30ce44=-new Date()[_0x2503a9(0xa7)](),_0x2b6f83=Math[_0x2503a9(0x93)](Math[_0x2503a9(0xaa)](_0x30ce44)/0x3c),_0x2c3caf=Math[_0x2503a9(0xaa)](_0x30ce44)%0x3c,_0x26c65c=_0x30ce44>=0x0?'+':'-';return''+_0x26c65c+_0x2b6f83['toString']()[_0x2503a9(0x86)](0x2,'0')+_0x2c3caf[_0x2503a9(0x9c)]()[_0x2503a9(0x86)](0x2,'0');}function formatTimestamp(){const _0x1bfcd5=a93_0x57f6,_0x414560=new Date(),_0x5ecab2=_0x414560[_0x1bfcd5(0x89)](),_0x4892a3=(_0x414560[_0x1bfcd5(0x92)]()+0x1)['toString']()[_0x1bfcd5(0x86)](0x2,'0'),_0x4813c9=_0x414560[_0x1bfcd5(0x9d)]()[_0x1bfcd5(0x9c)]()[_0x1bfcd5(0x86)](0x2,'0'),_0x3919b7=_0x414560[_0x1bfcd5(0xb0)]()[_0x1bfcd5(0x9c)]()[_0x1bfcd5(0x86)](0x2,'0'),_0x37d1bb=_0x414560[_0x1bfcd5(0x85)]()['toString']()[_0x1bfcd5(0x86)](0x2,'0'),_0x3be6a0=_0x414560[_0x1bfcd5(0x77)]()[_0x1bfcd5(0x9c)]()[_0x1bfcd5(0x86)](0x2,'0'),_0x4a3c94=_0x414560[_0x1bfcd5(0xa3)]()[_0x1bfcd5(0x9c)]()[_0x1bfcd5(0x86)](0x3,'0'),_0x4ab2ee=getTimezoneOffset();return _0x5ecab2+'-'+_0x4892a3+'-'+_0x4813c9+'\x20'+_0x3919b7+':'+_0x37d1bb+':'+_0x3be6a0+'.'+_0x4a3c94+_0x4ab2ee;}function formatColoredLogEntry(_0x5610b9,_0x4f4203){const _0x1f9853=a93_0x57f6,_0x5dfb32=formatTimestamp(),_0x4559d1=_0x4f4203['map'](safeStringify)[_0x1f9853(0x98)]('\x20'),_0x5daa4b=a93_0x221a00['gray'](_0x5dfb32);let _0x4fecb9;switch(_0x5610b9){case'info':_0x4fecb9=a93_0x221a00[_0x1f9853(0x7c)]('['+_0x5610b9+']\x20');break;case _0x1f9853(0x84):_0x4fecb9=a93_0x221a00[_0x1f9853(0xa4)]('['+_0x5610b9+']\x20');break;case'error':_0x4fecb9=a93_0x221a00[_0x1f9853(0x9e)]('['+_0x5610b9+']');break;case _0x1f9853(0x73):_0x4fecb9=a93_0x221a00[_0x1f9853(0x7d)]('['+_0x5610b9+']');break;default:_0x4fecb9='['+_0x5610b9+']';}return _0x5daa4b+'\x20'+_0x4fecb9+'\x20'+_0x4559d1;}export var LogLevel;(function(_0xacd4d9){const _0x3cb308=a93_0x57f6;_0xacd4d9[_0xacd4d9[_0x3cb308(0x8c)]=-0x2]=_0x3cb308(0x8c),_0xacd4d9[_0xacd4d9[_0x3cb308(0x8d)]=-0x1]=_0x3cb308(0x8d),_0xacd4d9[_0xacd4d9['INFO']=0x0]=_0x3cb308(0x80),_0xacd4d9[_0xacd4d9[_0x3cb308(0x7a)]=0x1]=_0x3cb308(0x7a),_0xacd4d9[_0xacd4d9['ERROR']=0x2]=_0x3cb308(0x96);}(LogLevel||(LogLevel={})));export class TDXLogger{[a93_0x5b3d98(0x8e)];[a93_0x5b3d98(0xae)];['logLevel'];[a93_0x5b3d98(0x8a)];constructor(_0x50b7c5=LogLevel[a93_0x5b3d98(0x80)],_0x4438bf=![]){const _0x53ad83=a93_0x5b3d98;this[_0x53ad83(0xae)]=join(homedir(),_0x53ad83(0x90),_0x53ad83(0x74),'logs'),this[_0x53ad83(0x8b)]=_0x50b7c5,this[_0x53ad83(0x8a)]=_0x4438bf;}async['init'](){const _0x13ac88=a93_0x5b3d98;try{await mkdir(this['logDir'],{'recursive':!![]}),await this[_0x13ac88(0xa9)]();const _0xc098c7=join(this[_0x13ac88(0xae)],_0x13ac88(0x81));this['logStream']=createWriteStream(_0xc098c7,{'flags':'a'}),this[_0x13ac88(0x8e)]['on'](_0x13ac88(0x88),_0x1ec359=>{const _0x5cb7f1=_0x13ac88;console[_0x5cb7f1(0x88)](_0x5cb7f1(0x87),_0x1ec359['message']);});}catch(_0x1a99d0){console['error'](_0x13ac88(0x83),_0x1a99d0);}}async['rotateOldLogs'](){const _0x120061=a93_0x5b3d98;try{const _0x156c8b=await readdir(this[_0x120061(0xae)]),_0x3c4268=new Date()['toISOString']()[_0x120061(0x91)]('T')[0x0];if(_0x156c8b[_0x120061(0x8f)](_0x120061(0x81))){const _0x390467=join(this['logDir'],_0x120061(0x81)),_0x106aa4=await stat(_0x390467),_0x432bed=new Date(_0x106aa4[_0x120061(0xa0)])['toISOString']()['split']('T')[0x0];if(_0x432bed<_0x3c4268){const _0x5285ad=join(this[_0x120061(0xae)],_0x120061(0x78)+_0x432bed+'.log');await rename(_0x390467,_0x5285ad);}}const _0xa9800d=await readdir(this[_0x120061(0xae)]),_0x3bde74=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0xd9374b=_0xa9800d[_0x120061(0x7e)](_0x378b31=>_0x3bde74[_0x120061(0x7f)](_0x378b31));for(const _0x34cd18 of _0xd9374b){const _0x1e9742=join(this[_0x120061(0xae)],_0x34cd18),_0x3fd594=join(this[_0x120061(0xae)],_0x34cd18+_0x120061(0xa2));try{await pipeline(createReadStream(_0x1e9742),createGzip(),createWriteStream(_0x3fd594)),await unlink(_0x1e9742);}catch(_0x20f00d){console[_0x120061(0x88)](_0x120061(0x75)+_0x34cd18+':',_0x20f00d);}}}catch{}}[a93_0x5b3d98(0x73)](..._0x644ee6){const _0x2ed964=a93_0x5b3d98;if(this[_0x2ed964(0x8b)]>LogLevel[_0x2ed964(0x8d)])return;const _0x4b184a=formatColoredLogEntry('debug',_0x644ee6);this[_0x2ed964(0x8e)]?.[_0x2ed964(0x79)](_0x4b184a+'\x0a');}[a93_0x5b3d98(0x97)](..._0x1c1840){const _0x1e0fb5=a93_0x5b3d98;if(this['logLevel']>LogLevel[_0x1e0fb5(0x8c)])return;const _0xb79007=formatColoredLogEntry('trace',_0x1c1840);this[_0x1e0fb5(0x8e)]?.['write'](_0xb79007+'\x0a');}[a93_0x5b3d98(0x82)](..._0x369f90){const _0x2075d5=a93_0x5b3d98;if(this[_0x2075d5(0x8b)]>LogLevel[_0x2075d5(0x80)])return;const _0x39b008=formatColoredLogEntry('info',_0x369f90);!this['fileOnly']&&console[_0x2075d5(0xaf)](_0x39b008),this[_0x2075d5(0x8e)]?.[_0x2075d5(0x79)](_0x39b008+'\x0a');}[a93_0x5b3d98(0x84)](..._0x3f84fd){const _0x4d88b9=a93_0x5b3d98;if(this[_0x4d88b9(0x8b)]>LogLevel['WARN'])return;const _0x51171d=formatColoredLogEntry(_0x4d88b9(0x84),_0x3f84fd);!this[_0x4d88b9(0x8a)]&&console[_0x4d88b9(0x88)](_0x51171d),this[_0x4d88b9(0x8e)]?.[_0x4d88b9(0x79)](_0x51171d+'\x0a');}[a93_0x5b3d98(0x88)](..._0x22571b){const _0x28a737=a93_0x5b3d98,_0x27907d=formatColoredLogEntry(_0x28a737(0x88),_0x22571b);!this[_0x28a737(0x8a)]&&console[_0x28a737(0x88)](_0x27907d),this[_0x28a737(0x8e)]?.[_0x28a737(0x79)](_0x27907d+'\x0a');}async[a93_0x5b3d98(0x9b)](){const _0x2dc4d4=a93_0x5b3d98;return this[_0x2dc4d4(0x82)]('Proxy\x20session\x20ended'),new Promise(_0x3b518=>{const _0x122799=_0x2dc4d4;this[_0x122799(0x8e)]?this[_0x122799(0x8e)]['end'](()=>{_0x3b518();}):_0x3b518();});}[a93_0x5b3d98(0x9f)](){const _0x784230=a93_0x5b3d98;return join(this[_0x784230(0xae)],'tdx.log');}}
@@ -1 +1 @@
1
- (function(_0xd139b0,_0x5d1856){const _0xbf0518=a94_0x433c,_0x1dfc95=_0xd139b0();while(!![]){try{const _0xed01db=parseInt(_0xbf0518(0x10c))/0x1*(-parseInt(_0xbf0518(0x127))/0x2)+-parseInt(_0xbf0518(0x10b))/0x3+-parseInt(_0xbf0518(0x117))/0x4*(-parseInt(_0xbf0518(0x105))/0x5)+-parseInt(_0xbf0518(0x124))/0x6+-parseInt(_0xbf0518(0x10d))/0x7+parseInt(_0xbf0518(0x10a))/0x8*(parseInt(_0xbf0518(0x107))/0x9)+parseInt(_0xbf0518(0x116))/0xa;if(_0xed01db===_0x5d1856)break;else _0x1dfc95['push'](_0x1dfc95['shift']());}catch(_0x558c7f){_0x1dfc95['push'](_0x1dfc95['shift']());}}}(a94_0x3609,0xd4e55));import{formatRows}from'./formatters.js';import a94_0x47a098 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x4d62b2,_0xcb8a08={},_0x42679e=0x0,_0x60f273=''){const _0xc73c96=a94_0x433c,_0x3e0f6c={...DEFAULT_OPTIONS,..._0xcb8a08},_0x1b4a02=[],_0x374a82=[..._0x4d62b2][_0xc73c96(0x115)]((_0xd71ca0,_0x3bcfc1)=>_0xd71ca0[_0xc73c96(0x106)][_0xc73c96(0x110)](_0x3bcfc1[_0xc73c96(0x106)]));for(let _0x3c1dfd=0x0;_0x3c1dfd<_0x374a82['length'];_0x3c1dfd++){const _0x502a77=_0x374a82[_0x3c1dfd],_0x5c7260=_0x3c1dfd===_0x374a82['length']-0x1;let _0x5eb3b8='';_0x42679e>0x0&&(_0x5eb3b8+=_0x60f273);_0x3e0f6c['showTreeLines']&&_0x42679e>0x0&&(_0x5eb3b8+=a94_0x47a098[_0xc73c96(0x109)](_0x5c7260?'└──\x20':_0xc73c96(0x108)));_0x3e0f6c[_0xc73c96(0x120)]&&(_0x5eb3b8+=_0x502a77[_0xc73c96(0x118)]===_0xc73c96(0x10f)?_0xc73c96(0x11f):_0xc73c96(0x11e));_0x5eb3b8+=_0x502a77[_0xc73c96(0x106)];if(_0x3e0f6c['showMetadata']){if(_0x502a77['type']===_0xc73c96(0x10f)){const _0x474567=[];_0x502a77[_0xc73c96(0x122)][_0xc73c96(0x11a)]&&_0x474567['push'](_0x502a77['metadata'][_0xc73c96(0x11a)]+_0xc73c96(0x123)+(_0x502a77[_0xc73c96(0x122)]['segmentCount']!==0x1?'s':'')),_0x502a77['metadata']['folderCount']&&_0x474567[_0xc73c96(0x119)](_0x502a77[_0xc73c96(0x122)][_0xc73c96(0x126)]+_0xc73c96(0x125)+(_0x502a77[_0xc73c96(0x122)][_0xc73c96(0x126)]!==0x1?'s':'')),_0x474567[_0xc73c96(0x128)]>0x0&&(_0x5eb3b8+=a94_0x47a098['dim']('\x20('+_0x474567['join'](',\x20')+')'));}else _0x502a77[_0xc73c96(0x118)]===_0xc73c96(0x114)&&_0x502a77[_0xc73c96(0x10e)]!==undefined&&(_0x5eb3b8+=a94_0x47a098[_0xc73c96(0x109)]('\x20('+formatRows(_0x502a77[_0xc73c96(0x10e)])+')'));}_0x1b4a02[_0xc73c96(0x119)](_0x5eb3b8);if(_0x502a77[_0xc73c96(0x111)]&&_0x502a77[_0xc73c96(0x111)][_0xc73c96(0x128)]>0x0){let _0x55e230;if(_0x42679e===0x0)_0x55e230='';else _0x3e0f6c['showTreeLines']?_0x55e230=_0x60f273+(_0x5c7260?_0xc73c96(0x113):a94_0x47a098['dim']('│')+_0xc73c96(0x11b)):_0x55e230=_0x60f273+_0x3e0f6c[_0xc73c96(0x112)];const _0x3212db=formatTree(_0x502a77[_0xc73c96(0x111)],_0x3e0f6c,_0x42679e+0x1,_0x55e230);_0x1b4a02[_0xc73c96(0x119)](_0x3212db);}}return _0x1b4a02['join']('\x0a');}function a94_0x433c(_0x542970,_0x1b49ac){const _0x360959=a94_0x3609();return a94_0x433c=function(_0x433cd9,_0x316f61){_0x433cd9=_0x433cd9-0x105;let _0x3ad1f3=_0x360959[_0x433cd9];return _0x3ad1f3;},a94_0x433c(_0x542970,_0x1b49ac);}function a94_0x3609(){const _0x5e32f2=['\x20segment','2727570TXOWux','\x20folder','folderCount','578nYToNW','length','1219485EqMvPI','name','188532QerQbv','├──\x20','dim','456XYgIWT','5195754Mrcuoz','1349mjonzf','8198008paocAy','population','folder','localeCompare','children','indent','\x20\x20\x20\x20','segment','sort','29377090GrTZKj','8rGrlUz','type','push','segmentCount','\x20\x20\x20','icon','map','🎯\x20','📁\x20','showIcons','join','metadata'];a94_0x3609=function(){return _0x5e32f2;};return a94_0x3609();}export function formatFlatList(_0x1d3f8e,_0x52110d,_0xd1c5e7={}){const _0x10bbf5=a94_0x433c,_0x1b3e17={...DEFAULT_OPTIONS,..._0xd1c5e7},_0x5764aa=[];for(const _0x567138 of _0x1d3f8e){_0x5764aa[_0x10bbf5(0x119)]({'name':_0x567138[_0x10bbf5(0x106)],'icon':_0x1b3e17[_0x10bbf5(0x120)]?'📁':'','metadata':undefined});}for(const _0x5310f4 of _0x52110d){const _0x45910=_0x1b3e17['showMetadata']&&_0x5310f4[_0x10bbf5(0x10e)]!==undefined?a94_0x47a098[_0x10bbf5(0x109)]('\x20('+formatRows(_0x5310f4[_0x10bbf5(0x10e)])+')'):'';_0x5764aa['push']({'name':_0x5310f4['name'],'icon':_0x1b3e17[_0x10bbf5(0x120)]?'🎯':'','metadata':_0x45910});}_0x5764aa['sort']((_0x5a730f,_0x559729)=>_0x5a730f[_0x10bbf5(0x106)][_0x10bbf5(0x110)](_0x559729[_0x10bbf5(0x106)]));if(_0x5764aa['length']===0x0)return'(empty)';const _0x403e7b=_0x5764aa[_0x10bbf5(0x11d)](_0x5fa675=>{const _0x4f6375=_0x10bbf5,_0x127bd2=_0x5fa675[_0x4f6375(0x11c)]?_0x5fa675[_0x4f6375(0x11c)]+'\x20':'',_0x4f825c=_0x5fa675[_0x4f6375(0x122)]||'';return''+_0x127bd2+_0x5fa675[_0x4f6375(0x106)]+_0x4f825c;});return _0x403e7b[_0x10bbf5(0x121)]('\x0a');}
1
+ (function(_0x4338d0,_0x145c60){const _0x738775=a94_0x189e,_0x1dcfde=_0x4338d0();while(!![]){try{const _0x432ce5=parseInt(_0x738775(0xf1))/0x1+-parseInt(_0x738775(0xfb))/0x2+parseInt(_0x738775(0xef))/0x3*(-parseInt(_0x738775(0xe0))/0x4)+parseInt(_0x738775(0xe8))/0x5*(-parseInt(_0x738775(0xee))/0x6)+-parseInt(_0x738775(0xe5))/0x7+-parseInt(_0x738775(0xeb))/0x8*(-parseInt(_0x738775(0xdd))/0x9)+parseInt(_0x738775(0xe4))/0xa;if(_0x432ce5===_0x145c60)break;else _0x1dcfde['push'](_0x1dcfde['shift']());}catch(_0x2b8159){_0x1dcfde['push'](_0x1dcfde['shift']());}}}(a94_0x4fb4,0x44c21));import{formatRows}from'./formatters.js';import a94_0x201da2 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};function a94_0x189e(_0x3e59af,_0x38754a){const _0x4fb4f8=a94_0x4fb4();return a94_0x189e=function(_0x189e04,_0x28b8c6){_0x189e04=_0x189e04-0xd8;let _0x1a7192=_0x4fb4f8[_0x189e04];return _0x1a7192;},a94_0x189e(_0x3e59af,_0x38754a);}function a94_0x4fb4(){const _0x46d33f=['639716crMozD','localeCompare','push','10KBAXWN','dim','type','49288SmarKS','sort','showTreeLines','443166bNoovU','115179zPzxAU','segmentCount','331746apqFEU','└──\x20','folder','children','\x20\x20\x20\x20','indent','join','icon','📁\x20','showMetadata','627118HNWkkC','length','showIcons','(empty)','🎯\x20','folderCount','metadata','351NiASlH','\x20folder','\x20segment','52YmGMFx','\x20\x20\x20','name','population','7613860fPxijt'];a94_0x4fb4=function(){return _0x46d33f;};return a94_0x4fb4();}export function formatTree(_0x1d9383,_0x9aae76={},_0x49209d=0x0,_0x2a14ae=''){const _0x3187a7=a94_0x189e,_0x39dcc2={...DEFAULT_OPTIONS,..._0x9aae76},_0x2ae649=[],_0x3b3e4b=[..._0x1d9383][_0x3187a7(0xec)]((_0x31ad21,_0x25bb18)=>_0x31ad21[_0x3187a7(0xe2)][_0x3187a7(0xe6)](_0x25bb18[_0x3187a7(0xe2)]));for(let _0x3a704b=0x0;_0x3a704b<_0x3b3e4b[_0x3187a7(0xfc)];_0x3a704b++){const _0xe1625e=_0x3b3e4b[_0x3a704b],_0x5c25ff=_0x3a704b===_0x3b3e4b[_0x3187a7(0xfc)]-0x1;let _0x57fa67='';_0x49209d>0x0&&(_0x57fa67+=_0x2a14ae);_0x39dcc2['showTreeLines']&&_0x49209d>0x0&&(_0x57fa67+=a94_0x201da2['dim'](_0x5c25ff?_0x3187a7(0xf2):'├──\x20'));_0x39dcc2[_0x3187a7(0xd8)]&&(_0x57fa67+=_0xe1625e[_0x3187a7(0xea)]===_0x3187a7(0xf3)?_0x3187a7(0xf9):_0x3187a7(0xda));_0x57fa67+=_0xe1625e['name'];if(_0x39dcc2['showMetadata']){if(_0xe1625e['type']==='folder'){const _0x2a9b8a=[];_0xe1625e[_0x3187a7(0xdc)][_0x3187a7(0xf0)]&&_0x2a9b8a['push'](_0xe1625e[_0x3187a7(0xdc)]['segmentCount']+_0x3187a7(0xdf)+(_0xe1625e[_0x3187a7(0xdc)][_0x3187a7(0xf0)]!==0x1?'s':'')),_0xe1625e[_0x3187a7(0xdc)][_0x3187a7(0xdb)]&&_0x2a9b8a[_0x3187a7(0xe7)](_0xe1625e[_0x3187a7(0xdc)][_0x3187a7(0xdb)]+_0x3187a7(0xde)+(_0xe1625e[_0x3187a7(0xdc)]['folderCount']!==0x1?'s':'')),_0x2a9b8a[_0x3187a7(0xfc)]>0x0&&(_0x57fa67+=a94_0x201da2[_0x3187a7(0xe9)]('\x20('+_0x2a9b8a['join'](',\x20')+')'));}else _0xe1625e['type']==='segment'&&_0xe1625e[_0x3187a7(0xe3)]!==undefined&&(_0x57fa67+=a94_0x201da2['dim']('\x20('+formatRows(_0xe1625e['population'])+')'));}_0x2ae649[_0x3187a7(0xe7)](_0x57fa67);if(_0xe1625e['children']&&_0xe1625e[_0x3187a7(0xf4)][_0x3187a7(0xfc)]>0x0){let _0x5e2f86;if(_0x49209d===0x0)_0x5e2f86='';else _0x39dcc2[_0x3187a7(0xed)]?_0x5e2f86=_0x2a14ae+(_0x5c25ff?_0x3187a7(0xf5):a94_0x201da2[_0x3187a7(0xe9)]('│')+_0x3187a7(0xe1)):_0x5e2f86=_0x2a14ae+_0x39dcc2[_0x3187a7(0xf6)];const _0x3aab7e=formatTree(_0xe1625e['children'],_0x39dcc2,_0x49209d+0x1,_0x5e2f86);_0x2ae649[_0x3187a7(0xe7)](_0x3aab7e);}}return _0x2ae649[_0x3187a7(0xf7)]('\x0a');}export function formatFlatList(_0x2d658a,_0x151225,_0x57103d={}){const _0x5ce547=a94_0x189e,_0x3d10af={...DEFAULT_OPTIONS,..._0x57103d},_0x1cdf03=[];for(const _0x533eae of _0x2d658a){_0x1cdf03[_0x5ce547(0xe7)]({'name':_0x533eae['name'],'icon':_0x3d10af['showIcons']?'📁':'','metadata':undefined});}for(const _0x3ac562 of _0x151225){const _0x1f00e5=_0x3d10af[_0x5ce547(0xfa)]&&_0x3ac562[_0x5ce547(0xe3)]!==undefined?a94_0x201da2[_0x5ce547(0xe9)]('\x20('+formatRows(_0x3ac562[_0x5ce547(0xe3)])+')'):'';_0x1cdf03[_0x5ce547(0xe7)]({'name':_0x3ac562[_0x5ce547(0xe2)],'icon':_0x3d10af[_0x5ce547(0xd8)]?'🎯':'','metadata':_0x1f00e5});}_0x1cdf03[_0x5ce547(0xec)]((_0x1ba0d6,_0x527045)=>_0x1ba0d6['name']['localeCompare'](_0x527045[_0x5ce547(0xe2)]));if(_0x1cdf03['length']===0x0)return _0x5ce547(0xd9);const _0x440776=_0x1cdf03['map'](_0x36278e=>{const _0xf9736=_0x5ce547,_0x2cb261=_0x36278e['icon']?_0x36278e[_0xf9736(0xf8)]+'\x20':'',_0x570eec=_0x36278e[_0xf9736(0xdc)]||'';return''+_0x2cb261+_0x36278e[_0xf9736(0xe2)]+_0x570eec;});return _0x440776[_0x5ce547(0xf7)]('\x0a');}
@@ -1 +1 @@
1
- const a95_0xd92826=a95_0x5527;(function(_0x2c767b,_0x590783){const _0x139c73=a95_0x5527,_0x5a2425=_0x2c767b();while(!![]){try{const _0x5afcea=parseInt(_0x139c73(0x1f6))/0x1+-parseInt(_0x139c73(0x203))/0x2*(parseInt(_0x139c73(0x1f1))/0x3)+parseInt(_0x139c73(0x1ff))/0x4+parseInt(_0x139c73(0x1f8))/0x5*(-parseInt(_0x139c73(0x1fe))/0x6)+parseInt(_0x139c73(0x1e8))/0x7*(parseInt(_0x139c73(0x1f5))/0x8)+parseInt(_0x139c73(0x1ea))/0x9*(parseInt(_0x139c73(0x1f0))/0xa)+-parseInt(_0x139c73(0x209))/0xb*(parseInt(_0x139c73(0x1f4))/0xc);if(_0x5afcea===_0x590783)break;else _0x5a2425['push'](_0x5a2425['shift']());}catch(_0x468efc){_0x5a2425['push'](_0x5a2425['shift']());}}}(a95_0xcbe1,0xb14f9));import{get}from'https';function a95_0xcbe1(){const _0x20f091=['36FDQreY','\x0aRun:\x20','lastCheck','cyan','green','npm\x20install\x20-g\x20@treasuredata/tdx@latest','1963810xxoMgx','164652FFNLWx','write','last_version_check','120GAEzCZ','216hrQgtu','1248684sThMKw','env','10UnEVrA','now','toISOString','getTime','statusCode','utf-8','1302738hQyJAH','5507152SQMDnu','data','HTTP\x20','\x0aUpdate\x20available:\x20','34NpqHBN','Request\x20timeout','parse','gray','destroy','version','2037827PFmZKQ','NO_COLOR','end','https://registry.npmjs.org/@treasuredata/tdx/latest','currentVersion','stringify','latestVersion','error','138733UfcNuL','stderr'];a95_0xcbe1=function(){return _0x20f091;};return a95_0xcbe1();}import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a95_0x35d535 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a95_0xd92826(0x20c),TIMEOUT_MS=0x7d0;function a95_0x5527(_0x46ce0a,_0x4abdad){const _0xcbe1a1=a95_0xcbe1();return a95_0x5527=function(_0x552754,_0x19ea65){_0x552754=_0x552754-0x1e8;let _0x4e641c=_0xcbe1a1[_0x552754];return _0x4e641c;},a95_0x5527(_0x46ce0a,_0x4abdad);}function getCacheFilePath(){const _0x44c9ba=a95_0xd92826,_0x161649=getCacheDir();return join(_0x161649,_0x44c9ba(0x1f3));}function readCache(){const _0x14eac8=a95_0xd92826;try{const _0x5c9a6f=getCacheFilePath(),_0x17e9d6=readFileSync(_0x5c9a6f,'utf-8');return JSON[_0x14eac8(0x205)](_0x17e9d6);}catch{return null;}}function writeCache(_0x37deea){const _0x29aa94=a95_0xd92826;try{const _0x35a223=getCacheDir();mkdirSync(_0x35a223,{'recursive':!![]});const _0x504bab={'lastCheck':new Date()[_0x29aa94(0x1fa)](),'latestVersion':_0x37deea},_0xe3be34=getCacheFilePath();writeFileSync(_0xe3be34,JSON[_0x29aa94(0x20e)](_0x504bab,null,0x2),_0x29aa94(0x1fd));}catch{}}function isCacheValid(_0x48587b){const _0x66bd68=a95_0xd92826;if(!_0x48587b)return![];const _0x402cb7=new Date(_0x48587b[_0x66bd68(0x1ec)])[_0x66bd68(0x1fb)](),_0x38667c=Date[_0x66bd68(0x1f9)]();return _0x38667c-_0x402cb7<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x1b8ed7,_0x167077)=>{const _0x1b2d72=a95_0x5527,_0x2fbbf2=get(NPM_REGISTRY_URL,_0x3bdc2b=>{const _0x17dd31=a95_0x5527;if(_0x3bdc2b[_0x17dd31(0x1fc)]!==0xc8){clearTimeout(_0x5645f2),_0x167077(new Error(_0x17dd31(0x201)+_0x3bdc2b[_0x17dd31(0x1fc)]));return;}let _0x22f54c='';_0x3bdc2b['on'](_0x17dd31(0x200),_0x2df034=>{_0x22f54c+=_0x2df034;}),_0x3bdc2b['on'](_0x17dd31(0x20b),()=>{const _0x24c096=_0x17dd31;clearTimeout(_0x5645f2);try{const _0x447b18=JSON[_0x24c096(0x205)](_0x22f54c);if(!valid(_0x447b18['version'])){_0x167077(new Error('Invalid\x20version\x20format'));return;}_0x1b8ed7(_0x447b18[_0x24c096(0x208)]);}catch(_0x274a7f){_0x167077(_0x274a7f);}});})['on'](_0x1b2d72(0x210),_0x1abd18=>{clearTimeout(_0x5645f2),_0x167077(_0x1abd18);}),_0x5645f2=setTimeout(()=>{const _0x4e7cd1=_0x1b2d72;_0x2fbbf2[_0x4e7cd1(0x207)](),_0x167077(new Error(_0x4e7cd1(0x204)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x4908e7){const _0x3a078a=a95_0xd92826;try{const _0x374947=readCache();if(isCacheValid(_0x374947)){const _0x16fca1=gt(_0x374947[_0x3a078a(0x20f)],_0x4908e7);return{'updateAvailable':_0x16fca1,'currentVersion':_0x4908e7,'latestVersion':_0x374947[_0x3a078a(0x20f)]};}const _0x29763a=await fetchLatestVersion();writeCache(_0x29763a);const _0x26d690=gt(_0x29763a,_0x4908e7);return{'updateAvailable':_0x26d690,'currentVersion':_0x4908e7,'latestVersion':_0x29763a};}catch{return null;}}export function displayUpdateNotification(_0x3f9c56){const _0x3ae650=a95_0xd92826;if(!_0x3f9c56['updateAvailable'])return;const _0x2b523e=process[_0x3ae650(0x1e9)]['isTTY']&&!process[_0x3ae650(0x1f7)][_0x3ae650(0x20a)],_0x4f0ed5=_0x2b523e?a95_0x35d535[_0x3ae650(0x206)]('→'):'→',_0x37c993=_0x2b523e?a95_0x35d535['dim'](_0x3f9c56[_0x3ae650(0x20d)]):_0x3f9c56['currentVersion'],_0x456aa5=_0x2b523e?a95_0x35d535[_0x3ae650(0x1ee)](_0x3f9c56[_0x3ae650(0x20f)]):_0x3f9c56[_0x3ae650(0x20f)],_0x191a0e=_0x2b523e?a95_0x35d535[_0x3ae650(0x1ed)](_0x3ae650(0x1ef)):_0x3ae650(0x1ef),_0x371e19=_0x2b523e?'\x0a'+a95_0x35d535['yellow']('Update\x20available:')+'\x20'+_0x37c993+'\x20'+_0x4f0ed5+'\x20'+_0x456aa5+'\x0a'+a95_0x35d535['dim']('Run:')+'\x20'+_0x191a0e+'\x0a':_0x3ae650(0x202)+_0x37c993+'\x20'+_0x4f0ed5+'\x20'+_0x456aa5+_0x3ae650(0x1eb)+_0x191a0e+'\x0a';process[_0x3ae650(0x1e9)][_0x3ae650(0x1f2)](_0x371e19);}
1
+ const a95_0x21c724=a95_0x3fca;(function(_0x592cc,_0x583256){const _0x22e0b5=a95_0x3fca,_0x1fa6ca=_0x592cc();while(!![]){try{const _0x1c3ec6=parseInt(_0x22e0b5(0x16c))/0x1+parseInt(_0x22e0b5(0x174))/0x2*(-parseInt(_0x22e0b5(0x168))/0x3)+-parseInt(_0x22e0b5(0x177))/0x4+-parseInt(_0x22e0b5(0x16b))/0x5*(parseInt(_0x22e0b5(0x183))/0x6)+parseInt(_0x22e0b5(0x184))/0x7*(-parseInt(_0x22e0b5(0x188))/0x8)+-parseInt(_0x22e0b5(0x175))/0x9+parseInt(_0x22e0b5(0x167))/0xa*(parseInt(_0x22e0b5(0x17a))/0xb);if(_0x1c3ec6===_0x583256)break;else _0x1fa6ca['push'](_0x1fa6ca['shift']());}catch(_0x240624){_0x1fa6ca['push'](_0x1fa6ca['shift']());}}}(a95_0x2d21,0x8b8d8));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';function a95_0x3fca(_0x5650e5,_0x56344d){const _0x2d21e9=a95_0x2d21();return a95_0x3fca=function(_0x3fca32,_0x2b78d3){_0x3fca32=_0x3fca32-0x164;let _0x3befa4=_0x2d21e9[_0x3fca32];return _0x3befa4;},a95_0x3fca(_0x5650e5,_0x56344d);}import a95_0x39092f from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a95_0x21c724(0x166),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x336848=a95_0x21c724,_0x3c220e=getCacheDir();return join(_0x3c220e,_0x336848(0x189));}function a95_0x2d21(){const _0x5418bb=['88ZmzGOw','statusCode','error','write','updateAvailable','stringify','getTime','Request\x20timeout','npm\x20install\x20-g\x20@treasuredata/tdx@latest','4253862aVyKdF','3493bmgfMK','toISOString','version','utf-8','17736DMSNVx','last_version_check','stderr','HTTP\x20','latestVersion','https://registry.npmjs.org/@treasuredata/tdx/latest','3255090PUYViy','219QBfqSx','currentVersion','Invalid\x20version\x20format','5RPIwbf','904988PcJNAS','dim','yellow','data','Update\x20available:','env','isTTY','cyan','19466agvHlw','843039cxFXfZ','NO_COLOR','1272048BmJpGx','now','green'];a95_0x2d21=function(){return _0x5418bb;};return a95_0x2d21();}function readCache(){const _0x1169d6=a95_0x21c724;try{const _0x444afd=getCacheFilePath(),_0x30e72e=readFileSync(_0x444afd,_0x1169d6(0x187));return JSON['parse'](_0x30e72e);}catch{return null;}}function writeCache(_0x55846f){const _0x30f05c=a95_0x21c724;try{const _0x531ee3=getCacheDir();mkdirSync(_0x531ee3,{'recursive':!![]});const _0x1f3515={'lastCheck':new Date()[_0x30f05c(0x185)](),'latestVersion':_0x55846f},_0x3ba510=getCacheFilePath();writeFileSync(_0x3ba510,JSON[_0x30f05c(0x17f)](_0x1f3515,null,0x2),_0x30f05c(0x187));}catch{}}function isCacheValid(_0x3e08f3){const _0xd22561=a95_0x21c724;if(!_0x3e08f3)return![];const _0x3c0115=new Date(_0x3e08f3['lastCheck'])[_0xd22561(0x180)](),_0x110811=Date[_0xd22561(0x178)]();return _0x110811-_0x3c0115<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x456d10,_0x1bcf7f)=>{const _0x216181=a95_0x3fca,_0x256579=get(NPM_REGISTRY_URL,_0x176a74=>{const _0x436e96=a95_0x3fca;if(_0x176a74[_0x436e96(0x17b)]!==0xc8){clearTimeout(_0x5b93fe),_0x1bcf7f(new Error(_0x436e96(0x164)+_0x176a74[_0x436e96(0x17b)]));return;}let _0x47cf6f='';_0x176a74['on'](_0x436e96(0x16f),_0x32e7ea=>{_0x47cf6f+=_0x32e7ea;}),_0x176a74['on']('end',()=>{const _0x2e8b8e=_0x436e96;clearTimeout(_0x5b93fe);try{const _0x33f88c=JSON['parse'](_0x47cf6f);if(!valid(_0x33f88c[_0x2e8b8e(0x186)])){_0x1bcf7f(new Error(_0x2e8b8e(0x16a)));return;}_0x456d10(_0x33f88c[_0x2e8b8e(0x186)]);}catch(_0x5efff9){_0x1bcf7f(_0x5efff9);}});})['on'](_0x216181(0x17c),_0x50ab63=>{clearTimeout(_0x5b93fe),_0x1bcf7f(_0x50ab63);}),_0x5b93fe=setTimeout(()=>{const _0x284be0=_0x216181;_0x256579['destroy'](),_0x1bcf7f(new Error(_0x284be0(0x181)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x3bbe55){const _0x417776=a95_0x21c724;try{const _0x439f32=readCache();if(isCacheValid(_0x439f32)){const _0x276310=gt(_0x439f32['latestVersion'],_0x3bbe55);return{'updateAvailable':_0x276310,'currentVersion':_0x3bbe55,'latestVersion':_0x439f32[_0x417776(0x165)]};}const _0x10dcc8=await fetchLatestVersion();writeCache(_0x10dcc8);const _0x385fe9=gt(_0x10dcc8,_0x3bbe55);return{'updateAvailable':_0x385fe9,'currentVersion':_0x3bbe55,'latestVersion':_0x10dcc8};}catch{return null;}}export function displayUpdateNotification(_0x587c27){const _0x13864d=a95_0x21c724;if(!_0x587c27[_0x13864d(0x17e)])return;const _0x383659=process['stderr'][_0x13864d(0x172)]&&!process[_0x13864d(0x171)][_0x13864d(0x176)],_0x25a8e1=_0x383659?a95_0x39092f['gray']('→'):'→',_0x99993e=_0x383659?a95_0x39092f[_0x13864d(0x16d)](_0x587c27[_0x13864d(0x169)]):_0x587c27[_0x13864d(0x169)],_0x5dc98a=_0x383659?a95_0x39092f[_0x13864d(0x179)](_0x587c27[_0x13864d(0x165)]):_0x587c27[_0x13864d(0x165)],_0x21f1c0=_0x383659?a95_0x39092f[_0x13864d(0x173)](_0x13864d(0x182)):'npm\x20install\x20-g\x20@treasuredata/tdx@latest',_0x9995fb=_0x383659?'\x0a'+a95_0x39092f[_0x13864d(0x16e)](_0x13864d(0x170))+'\x20'+_0x99993e+'\x20'+_0x25a8e1+'\x20'+_0x5dc98a+'\x0a'+a95_0x39092f[_0x13864d(0x16d)]('Run:')+'\x20'+_0x21f1c0+'\x0a':'\x0aUpdate\x20available:\x20'+_0x99993e+'\x20'+_0x25a8e1+'\x20'+_0x5dc98a+'\x0aRun:\x20'+_0x21f1c0+'\x0a';process[_0x13864d(0x18a)][_0x13864d(0x17d)](_0x9995fb);}
@@ -1 +1 @@
1
- const a96_0x39bd76=a96_0x3c70;(function(_0x350e5f,_0x81a86){const _0x5998c1=a96_0x3c70,_0x10c1ae=_0x350e5f();while(!![]){try{const _0x141389=parseInt(_0x5998c1(0x1eb))/0x1+parseInt(_0x5998c1(0x1ec))/0x2+parseInt(_0x5998c1(0x1f2))/0x3+parseInt(_0x5998c1(0x1f4))/0x4+-parseInt(_0x5998c1(0x1f3))/0x5*(parseInt(_0x5998c1(0x1f0))/0x6)+parseInt(_0x5998c1(0x1ed))/0x7+-parseInt(_0x5998c1(0x1ef))/0x8;if(_0x141389===_0x81a86)break;else _0x10c1ae['push'](_0x10c1ae['shift']());}catch(_0x4e4529){_0x10c1ae['push'](_0x10c1ae['shift']());}}}(a96_0xba01,0xc7c09));export const WORKFLOW_FILE_EXTENSION=a96_0x39bd76(0x1ee);function a96_0x3c70(_0x12d2f0,_0x5da0de){const _0xba016e=a96_0xba01();return a96_0x3c70=function(_0x3c70a6,_0x7f58ca){_0x3c70a6=_0x3c70a6-0x1eb;let _0x3e3f53=_0xba016e[_0x3c70a6];return _0x3e3f53;},a96_0x3c70(_0x12d2f0,_0x5da0de);}function a96_0xba01(){const _0x461671=['895CuMFIy','2230996siaYFk','10668nytYeS','2533332eYQBGM','10796898rvQhEr','.dig','12753152dGwlPg','53202mrcZZs','startsWith','1866075NHALIK'];a96_0xba01=function(){return _0x461671;};return a96_0xba01();}export function shouldIncludeInArchive(_0x1447c1){const _0x484e7f=a96_0x39bd76;if(_0x1447c1==='.digdag')return!![];if(_0x1447c1[_0x484e7f(0x1f1)]('.'))return![];return!![];}
1
+ function a96_0x53c5(_0x3e03d6,_0x225dd9){const _0x1f1537=a96_0x1f15();return a96_0x53c5=function(_0x53c57e,_0x556a60){_0x53c57e=_0x53c57e-0x130;let _0x39eff2=_0x1f1537[_0x53c57e];return _0x39eff2;},a96_0x53c5(_0x3e03d6,_0x225dd9);}const a96_0x560376=a96_0x53c5;(function(_0x490b99,_0x4ab515){const _0x2f8881=a96_0x53c5,_0x5be1d2=_0x490b99();while(!![]){try{const _0x3959ba=-parseInt(_0x2f8881(0x133))/0x1+parseInt(_0x2f8881(0x138))/0x2*(parseInt(_0x2f8881(0x137))/0x3)+parseInt(_0x2f8881(0x134))/0x4*(-parseInt(_0x2f8881(0x130))/0x5)+parseInt(_0x2f8881(0x13a))/0x6+-parseInt(_0x2f8881(0x139))/0x7*(parseInt(_0x2f8881(0x131))/0x8)+parseInt(_0x2f8881(0x136))/0x9+parseInt(_0x2f8881(0x135))/0xa;if(_0x3959ba===_0x4ab515)break;else _0x5be1d2['push'](_0x5be1d2['shift']());}catch(_0x2cfb13){_0x5be1d2['push'](_0x5be1d2['shift']());}}}(a96_0x1f15,0xcea24));function a96_0x1f15(){const _0x348a03=['52074caRbhF','3264685ZcCkYH','8seNZNF','.dig','235909MsHyOa','4VhbZFM','20115430rhdlnA','3338298rdASvC','190101zmQybZ','14VmqWMT','7696465VYYnDf'];a96_0x1f15=function(){return _0x348a03;};return a96_0x1f15();}export const WORKFLOW_FILE_EXTENSION=a96_0x560376(0x132);export function shouldIncludeInArchive(_0x5285c4){if(_0x5285c4==='.digdag')return!![];if(_0x5285c4['startsWith']('.'))return![];return!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.5.0",
3
+ "version": "0.5.1",
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": {