@treasuredata/tdx 0.7.3 → 0.7.4

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 (108) hide show
  1. package/dist/bin.js +1 -1
  2. package/dist/build-info.json +2 -2
  3. package/dist/cli-categories.js +1 -1
  4. package/dist/cli.js +1 -1
  5. package/dist/client/cdp-api-client.d.ts +20 -1
  6. package/dist/client/cdp-api-client.d.ts.map +1 -1
  7. package/dist/client/cdp-api-client.js +1 -1
  8. package/dist/client/cdp-api-client.js.map +1 -1
  9. package/dist/client/engage-api-client.js +1 -1
  10. package/dist/client/http-client.js +1 -1
  11. package/dist/client/llm-api-client.js +1 -1
  12. package/dist/client/rate-limiter.js +1 -1
  13. package/dist/client/td-api-client.js +1 -1
  14. package/dist/client/trino-api-client.js +1 -1
  15. package/dist/client/workflow-client.js +1 -1
  16. package/dist/commands/activations.js +1 -1
  17. package/dist/commands/api-command.js +1 -1
  18. package/dist/commands/auth-command.js +1 -1
  19. package/dist/commands/chat-command.js +1 -1
  20. package/dist/commands/claude-command.js +1 -1
  21. package/dist/commands/claude-statusline-command.js +1 -1
  22. package/dist/commands/claude-usage-command.js +1 -1
  23. package/dist/commands/command.js +1 -1
  24. package/dist/commands/context-command.js +1 -1
  25. package/dist/commands/databases.js +1 -1
  26. package/dist/commands/describe.js +1 -1
  27. package/dist/commands/engage-command.js +1 -1
  28. package/dist/commands/job-command.js +1 -1
  29. package/dist/commands/llm-command.js +1 -1
  30. package/dist/commands/llm-proxy.js +1 -1
  31. package/dist/commands/parent-segment-command.js +1 -1
  32. package/dist/commands/profiles-command.js +1 -1
  33. package/dist/commands/query-command.js +1 -1
  34. package/dist/commands/segment-command.js +1 -1
  35. package/dist/commands/segment-create-command.js +1 -1
  36. package/dist/commands/segment-fields-command.js +1 -1
  37. package/dist/commands/segment-pwd-command.js +1 -1
  38. package/dist/commands/segment-update-command.js +1 -1
  39. package/dist/commands/segment-use-command.js +1 -1
  40. package/dist/commands/segments.js +1 -1
  41. package/dist/commands/show.js +1 -1
  42. package/dist/commands/tables.js +1 -1
  43. package/dist/commands/use-command.js +1 -1
  44. package/dist/commands/workflow-command.js +1 -1
  45. package/dist/core/auth.js +1 -1
  46. package/dist/core/config.js +1 -1
  47. package/dist/core/credential-cache.js +1 -1
  48. package/dist/core/global-context.js +1 -1
  49. package/dist/core/keychain.js +1 -1
  50. package/dist/core/profile.js +1 -1
  51. package/dist/core/project-config.js +1 -1
  52. package/dist/core/session.js +1 -1
  53. package/dist/index.js +1 -1
  54. package/dist/proxy/anthropic-adapter.js +1 -1
  55. package/dist/proxy/claude-usage-tracker.js +1 -1
  56. package/dist/proxy/context-signature.js +1 -1
  57. package/dist/proxy/conversation-utils.js +1 -1
  58. package/dist/proxy/server.js +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/parent-segment-preview.js +1 -1
  68. package/dist/sdk/segment/parent-segment-yaml.js +1 -1
  69. package/dist/sdk/segment.d.ts.map +1 -1
  70. package/dist/sdk/segment.js +1 -1
  71. package/dist/sdk/segment.js.map +1 -1
  72. package/dist/sdk/workflow.js +1 -1
  73. package/dist/types/cdp.d.ts +58 -0
  74. package/dist/types/cdp.d.ts.map +1 -1
  75. package/dist/types/endpoints.js +1 -1
  76. package/dist/types/index.d.ts +1 -1
  77. package/dist/types/index.d.ts.map +1 -1
  78. package/dist/types/index.js +1 -1
  79. package/dist/utils/agent-ref-parser.js +1 -1
  80. package/dist/utils/chat-cache.js +1 -1
  81. package/dist/utils/colors.js +1 -1
  82. package/dist/utils/command-output.js +1 -1
  83. package/dist/utils/constants.js +1 -1
  84. package/dist/utils/diff.js +1 -1
  85. package/dist/utils/fields-display.js +1 -1
  86. package/dist/utils/file-permissions.js +1 -1
  87. package/dist/utils/format-detector.js +1 -1
  88. package/dist/utils/formatters.js +1 -1
  89. package/dist/utils/json-loader.js +1 -1
  90. package/dist/utils/llm-backup-utils.js +1 -1
  91. package/dist/utils/model-aliases.js +1 -1
  92. package/dist/utils/model-factors.js +1 -1
  93. package/dist/utils/option-validation.js +1 -1
  94. package/dist/utils/port.js +1 -1
  95. package/dist/utils/process.js +1 -1
  96. package/dist/utils/prompt.js +1 -1
  97. package/dist/utils/segment-path-parser.js +1 -1
  98. package/dist/utils/segment-ref-parser.js +1 -1
  99. package/dist/utils/spinner.js +1 -1
  100. package/dist/utils/sql-parser.js +1 -1
  101. package/dist/utils/sse-parser.js +1 -1
  102. package/dist/utils/string-utils.js +1 -1
  103. package/dist/utils/table-ref-parser.js +1 -1
  104. package/dist/utils/tdx-logger.js +1 -1
  105. package/dist/utils/tree-formatter.js +1 -1
  106. package/dist/utils/version-check.js +1 -1
  107. package/dist/utils/workflow-utils.js +1 -1
  108. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x3e2771,_0x13ee0e){const _0x5a4960=a96_0x567d,_0x409245=_0x3e2771();while(!![]){try{const _0x562e7b=parseInt(_0x5a4960(0x71))/0x1+-parseInt(_0x5a4960(0x6d))/0x2*(-parseInt(_0x5a4960(0x7f))/0x3)+parseInt(_0x5a4960(0x77))/0x4+parseInt(_0x5a4960(0x7a))/0x5+parseInt(_0x5a4960(0x6c))/0x6*(parseInt(_0x5a4960(0x79))/0x7)+parseInt(_0x5a4960(0x73))/0x8*(-parseInt(_0x5a4960(0x76))/0x9)+-parseInt(_0x5a4960(0x78))/0xa*(parseInt(_0x5a4960(0x75))/0xb);if(_0x562e7b===_0x13ee0e)break;else _0x409245['push'](_0x409245['shift']());}catch(_0xb3aa76){_0x409245['push'](_0x409245['shift']());}}}(a96_0x4e45,0x75924));function a96_0x4e45(){const _0x61ca58=['1083495KtbJat','clock','stdout','extra','19722fchQLT','2BsoJsI','cyan','jobId','phase','137053EOKpbY','start','2056zpstTw','text','3628999gdxXMf','4689lPafWX','528020GSDlII','20uLQLxC','161fWVUgE','2847315VpCiuC','isTTY','now','\x20[Job\x20ID:\x20','floor'];a96_0x4e45=function(){return _0x61ca58;};return a96_0x4e45();}import a96_0x39447b from'ora';export function createCommandSpinner(_0x5cbc1f,_0x477656={}){const _0x3af7c1=a96_0x567d,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x477656;return a96_0x39447b({'text':_0x5cbc1f,'color':_0x3af7c1(0x6e),'isEnabled':forceEnabled||process[_0x3af7c1(0x6a)][_0x3af7c1(0x7b)]&&!verbose});}export async function withSpinner(_0x37ff64,_0x35ccef,_0x3c8326={}){const _0x58d444=a96_0x567d,_0x1aeb45=_0x3c8326['clock']??(()=>Date['now']()),_0x2d9a35=createCommandSpinner(_0x37ff64,_0x3c8326);_0x2d9a35[_0x58d444(0x72)]();const _0x4bcde5=_0x1aeb45();try{const _0x380d0c=await _0x35ccef(),_0x4904a8=_0x1aeb45()-_0x4bcde5;return _0x2d9a35['stop'](),{'data':_0x380d0c,'elapsedMs':_0x4904a8};}catch(_0x164a7d){_0x2d9a35['stop']();throw _0x164a7d;}}export async function withQuerySpinner(_0x223f66,_0x35cf5d,_0x3567c7={}){const _0x2beca7=a96_0x567d,_0x1bb8c8=_0x3567c7[_0x2beca7(0x80)]??(()=>Date[_0x2beca7(0x7c)]()),_0x2dabb8=_0x3567c7['intervalFactory']??setInterval,_0x306570=createCommandSpinner(_0x223f66,_0x3567c7);_0x306570[_0x2beca7(0x72)]();const _0x7f6f6c=_0x1bb8c8(),_0xa8623d=_0x223f66['replace']('...',''),_0x33c480={},_0x4abbaa=()=>{const _0x3eda72=_0x2beca7;if(!_0x306570['isSpinning'])return;const _0x4bc08b=_0x1bb8c8()-_0x7f6f6c,_0x11f3a1=formatElapsed(_0x4bc08b),_0x3e6a0b=_0x33c480[_0x3eda72(0x70)]??_0xa8623d,_0x2e1c2f=_0x33c480[_0x3eda72(0x6f)]?_0x3eda72(0x7d)+_0x33c480[_0x3eda72(0x6f)]+']':'',_0x429948=_0x33c480[_0x3eda72(0x6b)]?'\x20'+_0x33c480[_0x3eda72(0x6b)]:'';_0x306570[_0x3eda72(0x74)]=_0x3e6a0b+'\x20'+_0x11f3a1+_0x429948+_0x2e1c2f;},_0x5c69f4=_0x2dabb8(()=>{_0x4abbaa();},0x3e8),_0x650d7a={'setPhase':_0x560639=>{const _0x2895cf=_0x2beca7;_0x33c480[_0x2895cf(0x70)]=_0x560639,_0x4abbaa();},'setJobId':_0x8a6aa3=>{const _0x22a9d6=_0x2beca7;_0x33c480[_0x22a9d6(0x6f)]=_0x8a6aa3,_0x4abbaa();},'setExtra':_0x53c48c=>{const _0x1fbad8=_0x2beca7;_0x33c480[_0x1fbad8(0x6b)]=_0x53c48c,_0x4abbaa();}};_0x4abbaa();try{const _0x57d246=await _0x35cf5d(_0x650d7a),_0x2c5f6d=_0x1bb8c8()-_0x7f6f6c;return{'data':_0x57d246,'elapsedMs':_0x2c5f6d};}finally{clearInterval(_0x5c69f4),_0x306570['stop']();}}function a96_0x567d(_0x4b3e7e,_0xc5877e){const _0x4e453e=a96_0x4e45();return a96_0x567d=function(_0x567d27,_0x57402a){_0x567d27=_0x567d27-0x6a;let _0x56c1e3=_0x4e453e[_0x567d27];return _0x56c1e3;},a96_0x567d(_0x4b3e7e,_0xc5877e);}export function formatElapsed(_0x1c133a){const _0x3e081d=a96_0x567d,_0x176584=Math[_0x3e081d(0x7e)](_0x1c133a/0x3e8);if(_0x176584<0x3c)return(_0x1c133a/0x3e8)['toFixed'](0x1)+'s';const _0xf6ce5e=Math[_0x3e081d(0x7e)](_0x176584/0x3c),_0x3e88cd=_0x176584%0x3c;if(_0xf6ce5e<0x3c)return _0xf6ce5e+'m\x20'+_0x3e88cd+'s';const _0x4f692b=Math[_0x3e081d(0x7e)](_0xf6ce5e/0x3c),_0x5d9d3d=_0xf6ce5e%0x3c;return _0x4f692b+'h\x20'+_0x5d9d3d+'m';}
1
+ function a96_0x54f0(_0x14425b,_0x4bc441){const _0x435416=a96_0x4354();return a96_0x54f0=function(_0x54f079,_0x12e670){_0x54f079=_0x54f079-0x164;let _0x451ddc=_0x435416[_0x54f079];return _0x451ddc;},a96_0x54f0(_0x14425b,_0x4bc441);}(function(_0x175b90,_0x44ad83){const _0x5e0ea8=a96_0x54f0,_0x947ea4=_0x175b90();while(!![]){try{const _0x48a91a=parseInt(_0x5e0ea8(0x175))/0x1+-parseInt(_0x5e0ea8(0x16d))/0x2+parseInt(_0x5e0ea8(0x166))/0x3*(-parseInt(_0x5e0ea8(0x164))/0x4)+parseInt(_0x5e0ea8(0x17b))/0x5+parseInt(_0x5e0ea8(0x174))/0x6*(-parseInt(_0x5e0ea8(0x178))/0x7)+parseInt(_0x5e0ea8(0x17a))/0x8*(parseInt(_0x5e0ea8(0x165))/0x9)+-parseInt(_0x5e0ea8(0x171))/0xa*(-parseInt(_0x5e0ea8(0x16e))/0xb);if(_0x48a91a===_0x44ad83)break;else _0x947ea4['push'](_0x947ea4['shift']());}catch(_0x3dffcf){_0x947ea4['push'](_0x947ea4['shift']());}}}(a96_0x4354,0xe3aac));import a96_0x118915 from'ora';export function createCommandSpinner(_0x37a66e,_0x306f5d={}){const _0x45ef96=a96_0x54f0,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x306f5d;return a96_0x118915({'text':_0x37a66e,'color':_0x45ef96(0x168),'isEnabled':forceEnabled||process['stdout'][_0x45ef96(0x169)]&&!verbose});}function a96_0x4354(){const _0x3f7c71=['jobId','8IqJutq','4373540CPlUvx','start','4ENyNyP','343773swTRzg','4345431sDdwzz','stop','cyan','isTTY','extra','replace','now','2582950smmBoW','33869OzIuNl','isSpinning','intervalFactory','10420rgNwAB','clock','floor','66PrsWbs','1233835RcFCUw','...','phase','1070734cvzpuB'];a96_0x4354=function(){return _0x3f7c71;};return a96_0x4354();}export async function withSpinner(_0x12121b,_0x4f6f1b,_0xdf725b={}){const _0x4dbe5d=a96_0x54f0,_0x30bdc9=_0xdf725b[_0x4dbe5d(0x172)]??(()=>Date[_0x4dbe5d(0x16c)]()),_0x3bca6d=createCommandSpinner(_0x12121b,_0xdf725b);_0x3bca6d['start']();const _0x43178f=_0x30bdc9();try{const _0x46ce7b=await _0x4f6f1b(),_0x4868ce=_0x30bdc9()-_0x43178f;return _0x3bca6d['stop'](),{'data':_0x46ce7b,'elapsedMs':_0x4868ce};}catch(_0x25df4b){_0x3bca6d[_0x4dbe5d(0x167)]();throw _0x25df4b;}}export async function withQuerySpinner(_0x75068a,_0x4e23b7,_0x23cbed={}){const _0x43dd55=a96_0x54f0,_0x1c99ac=_0x23cbed[_0x43dd55(0x172)]??(()=>Date[_0x43dd55(0x16c)]()),_0x12e385=_0x23cbed[_0x43dd55(0x170)]??setInterval,_0x579b65=createCommandSpinner(_0x75068a,_0x23cbed);_0x579b65[_0x43dd55(0x17c)]();const _0x1944eb=_0x1c99ac(),_0x35bac5=_0x75068a[_0x43dd55(0x16b)](_0x43dd55(0x176),''),_0x1f451f={},_0x98feae=()=>{const _0x557c6c=_0x43dd55;if(!_0x579b65[_0x557c6c(0x16f)])return;const _0x59674f=_0x1c99ac()-_0x1944eb,_0x2b8085=formatElapsed(_0x59674f),_0x41df6f=_0x1f451f[_0x557c6c(0x177)]??_0x35bac5,_0x461025=_0x1f451f[_0x557c6c(0x179)]?'\x20[Job\x20ID:\x20'+_0x1f451f[_0x557c6c(0x179)]+']':'',_0x2358cf=_0x1f451f[_0x557c6c(0x16a)]?'\x20'+_0x1f451f[_0x557c6c(0x16a)]:'';_0x579b65['text']=_0x41df6f+'\x20'+_0x2b8085+_0x2358cf+_0x461025;},_0x38e715=_0x12e385(()=>{_0x98feae();},0x3e8),_0x2fba80={'setPhase':_0x24fa38=>{_0x1f451f['phase']=_0x24fa38,_0x98feae();},'setJobId':_0x282174=>{_0x1f451f['jobId']=_0x282174,_0x98feae();},'setExtra':_0x4251aa=>{_0x1f451f['extra']=_0x4251aa,_0x98feae();}};_0x98feae();try{const _0x5e22fe=await _0x4e23b7(_0x2fba80),_0x277784=_0x1c99ac()-_0x1944eb;return{'data':_0x5e22fe,'elapsedMs':_0x277784};}finally{clearInterval(_0x38e715),_0x579b65['stop']();}}export function formatElapsed(_0x9d3cbe){const _0x564d42=a96_0x54f0,_0x5d7c8a=Math[_0x564d42(0x173)](_0x9d3cbe/0x3e8);if(_0x5d7c8a<0x3c)return(_0x9d3cbe/0x3e8)['toFixed'](0x1)+'s';const _0x33d538=Math[_0x564d42(0x173)](_0x5d7c8a/0x3c),_0xd82031=_0x5d7c8a%0x3c;if(_0x33d538<0x3c)return _0x33d538+'m\x20'+_0xd82031+'s';const _0x2665af=Math[_0x564d42(0x173)](_0x33d538/0x3c),_0x1d8fe7=_0x33d538%0x3c;return _0x2665af+'h\x20'+_0x1d8fe7+'m';}
@@ -1 +1 @@
1
- (function(_0x5ef2e6,_0x160d1c){const _0x4f891a=a97_0x5905,_0x137335=_0x5ef2e6();while(!![]){try{const _0x53976c=-parseInt(_0x4f891a(0x1ce))/0x1*(parseInt(_0x4f891a(0x1cf))/0x2)+parseInt(_0x4f891a(0x1d6))/0x3*(parseInt(_0x4f891a(0x1d1))/0x4)+parseInt(_0x4f891a(0x1d3))/0x5+parseInt(_0x4f891a(0x1dc))/0x6*(-parseInt(_0x4f891a(0x1c6))/0x7)+-parseInt(_0x4f891a(0x1d5))/0x8+parseInt(_0x4f891a(0x1c8))/0x9+-parseInt(_0x4f891a(0x1d0))/0xa;if(_0x53976c===_0x160d1c)break;else _0x137335['push'](_0x137335['shift']());}catch(_0x188b11){_0x137335['push'](_0x137335['shift']());}}}(a97_0x5377,0x23139));import{readFileSync}from'fs';export function stripSqlComments(_0x543547){const _0x5a6d9e=a97_0x5905;let _0x5c5c5a=_0x543547[_0x5a6d9e(0x1d8)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x5c5c5a=_0x5c5c5a[_0x5a6d9e(0x1d8)](/--.*$/gm,''),_0x5c5c5a['trim']();}function a97_0x5905(_0x58b80c,_0x499510){const _0x53775a=a97_0x5377();return a97_0x5905=function(_0x59055d,_0x305b51){_0x59055d=_0x59055d-0x1c4;let _0x2ed650=_0x53775a[_0x59055d];return _0x2ed650;},a97_0x5905(_0x58b80c,_0x499510);}function a97_0x5377(){const _0x3577e5=['trim','31003fgnasu','Error\x20reading\x20file\x20\x27','1601721cZXSCX','Content\x20contains\x20no\x20SQL\x20statements','toLowerCase','\x27\x20not\x20found','ENOENT','Permission\x20denied\x20reading\x20file\x20\x27','293vQBACK','514hEQTwx','1069120zPYmRt','10832AgfaMz','message','1206250FwdMFQ','filter','542968pohKup','276PTdkgJ','push','replace','code','File\x20\x27','EACCES','372bsdbCS','length'];a97_0x5377=function(){return _0x3577e5;};return a97_0x5377();}function isEscaped(_0x123b67,_0x3945d3){let _0x3678a3=0x0;for(let _0x4379a3=_0x3945d3-0x1;_0x4379a3>=0x0&&_0x123b67[_0x4379a3]==='\x5c';_0x4379a3--){_0x3678a3++;}return _0x3678a3%0x2===0x1;}export function splitSqlStatements(_0x594a9f){const _0x4ea164=a97_0x5905,_0xfdad1d=stripSqlComments(_0x594a9f);if(!_0xfdad1d)throw new Error(_0x4ea164(0x1c9));const _0x4af88a=[];let _0x246b0e='',_0x8b5d7a=![],_0x51eecb=![],_0x55c4d0=![];for(let _0x2cfd6c=0x0;_0x2cfd6c<_0x594a9f[_0x4ea164(0x1c4)];_0x2cfd6c++){const _0x15f33d=_0x594a9f[_0x2cfd6c];if(_0x15f33d==='\x27'&&!isEscaped(_0x594a9f,_0x2cfd6c)&&!_0x51eecb&&!_0x55c4d0)_0x8b5d7a=!_0x8b5d7a;else{if(_0x15f33d==='\x22'&&!isEscaped(_0x594a9f,_0x2cfd6c)&&!_0x8b5d7a&&!_0x55c4d0)_0x51eecb=!_0x51eecb;else _0x15f33d==='`'&&!isEscaped(_0x594a9f,_0x2cfd6c)&&!_0x8b5d7a&&!_0x51eecb&&(_0x55c4d0=!_0x55c4d0);}if(_0x15f33d===';'&&!_0x8b5d7a&&!_0x51eecb&&!_0x55c4d0){const _0x4d30c4=_0x246b0e[_0x4ea164(0x1c5)]();_0x4d30c4&&_0x4af88a[_0x4ea164(0x1d7)](_0x4d30c4),_0x246b0e='';}else _0x246b0e+=_0x15f33d;}const _0x1d6817=_0x246b0e['trim']();_0x1d6817&&_0x4af88a[_0x4ea164(0x1d7)](_0x1d6817);const _0x2fce47=_0x4af88a['map'](_0x267cd8=>_0x267cd8[_0x4ea164(0x1c5)]())[_0x4ea164(0x1d4)](_0x45b906=>{const _0x41b776=_0x4ea164,_0x1d69ee=stripSqlComments(_0x45b906);return _0x1d69ee[_0x41b776(0x1c4)]>0x0;});if(_0x2fce47[_0x4ea164(0x1c4)]===0x0)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');return _0x2fce47;}export function readFileContent(_0x1fbb53){const _0xeda6b4=a97_0x5905;try{return readFileSync(_0x1fbb53,'utf-8');}catch(_0x55c512){const _0x464a46=_0x55c512[_0xeda6b4(0x1d9)];if(_0x464a46===_0xeda6b4(0x1cc))throw new Error('File\x20\x27'+_0x1fbb53+_0xeda6b4(0x1cb));else{if(_0x464a46===_0xeda6b4(0x1db))throw new Error(_0xeda6b4(0x1cd)+_0x1fbb53+'\x27');else throw new Error(_0xeda6b4(0x1c7)+_0x1fbb53+'\x27:\x20'+_0x55c512[_0xeda6b4(0x1d2)]);}}}export function readSqlStatementsFromFile(_0x439190){const _0x5af490=a97_0x5905,_0x46f784=readFileContent(_0x439190);try{return splitSqlStatements(_0x46f784);}catch(_0x55a576){throw new Error(_0x5af490(0x1da)+_0x439190+'\x27\x20'+_0x55a576['message'][_0x5af490(0x1ca)]());}}
1
+ (function(_0x266b52,_0x48c22a){const _0x4e5ac7=a97_0x388c,_0x29342e=_0x266b52();while(!![]){try{const _0x1a2728=parseInt(_0x4e5ac7(0x133))/0x1+-parseInt(_0x4e5ac7(0x128))/0x2+-parseInt(_0x4e5ac7(0x126))/0x3+parseInt(_0x4e5ac7(0x134))/0x4+-parseInt(_0x4e5ac7(0x135))/0x5*(parseInt(_0x4e5ac7(0x131))/0x6)+parseInt(_0x4e5ac7(0x132))/0x7+-parseInt(_0x4e5ac7(0x12f))/0x8;if(_0x1a2728===_0x48c22a)break;else _0x29342e['push'](_0x29342e['shift']());}catch(_0x24fdd1){_0x29342e['push'](_0x29342e['shift']());}}}(a97_0x1f8e,0xa7f08));import{readFileSync}from'fs';export function stripSqlComments(_0x3b1c7f){const _0x13394b=a97_0x388c;let _0x4469ed=_0x3b1c7f['replace'](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x4469ed=_0x4469ed[_0x13394b(0x125)](/--.*$/gm,''),_0x4469ed[_0x13394b(0x12e)]();}function isEscaped(_0x46a056,_0x52df98){let _0x1baa68=0x0;for(let _0x1c95cf=_0x52df98-0x1;_0x1c95cf>=0x0&&_0x46a056[_0x1c95cf]==='\x5c';_0x1c95cf--){_0x1baa68++;}return _0x1baa68%0x2===0x1;}export function splitSqlStatements(_0xcb2b5e){const _0x52d4ad=a97_0x388c,_0x36a877=stripSqlComments(_0xcb2b5e);if(!_0x36a877)throw new Error(_0x52d4ad(0x127));const _0x17fd25=[];let _0x3db25a='',_0x1d05bb=![],_0x3d84c8=![],_0x359b77=![];for(let _0x7045d5=0x0;_0x7045d5<_0xcb2b5e[_0x52d4ad(0x130)];_0x7045d5++){const _0x49e0f1=_0xcb2b5e[_0x7045d5];if(_0x49e0f1==='\x27'&&!isEscaped(_0xcb2b5e,_0x7045d5)&&!_0x3d84c8&&!_0x359b77)_0x1d05bb=!_0x1d05bb;else{if(_0x49e0f1==='\x22'&&!isEscaped(_0xcb2b5e,_0x7045d5)&&!_0x1d05bb&&!_0x359b77)_0x3d84c8=!_0x3d84c8;else _0x49e0f1==='`'&&!isEscaped(_0xcb2b5e,_0x7045d5)&&!_0x1d05bb&&!_0x3d84c8&&(_0x359b77=!_0x359b77);}if(_0x49e0f1===';'&&!_0x1d05bb&&!_0x3d84c8&&!_0x359b77){const _0xb4b692=_0x3db25a[_0x52d4ad(0x12e)]();_0xb4b692&&_0x17fd25[_0x52d4ad(0x137)](_0xb4b692),_0x3db25a='';}else _0x3db25a+=_0x49e0f1;}const _0x562d1a=_0x3db25a[_0x52d4ad(0x12e)]();_0x562d1a&&_0x17fd25[_0x52d4ad(0x137)](_0x562d1a);const _0x49bd54=_0x17fd25[_0x52d4ad(0x123)](_0x305e90=>_0x305e90[_0x52d4ad(0x12e)]())[_0x52d4ad(0x129)](_0x8dc9a2=>{const _0x457911=_0x52d4ad,_0x7ceb39=stripSqlComments(_0x8dc9a2);return _0x7ceb39[_0x457911(0x130)]>0x0;});if(_0x49bd54[_0x52d4ad(0x130)]===0x0)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');return _0x49bd54;}function a97_0x388c(_0x503f54,_0x1b4171){const _0x1f8e6f=a97_0x1f8e();return a97_0x388c=function(_0x388c94,_0x1f92db){_0x388c94=_0x388c94-0x123;let _0x1603d8=_0x1f8e6f[_0x388c94];return _0x1603d8;},a97_0x388c(_0x503f54,_0x1b4171);}export function readFileContent(_0x2f5fd4){const _0x10156c=a97_0x388c;try{return readFileSync(_0x2f5fd4,_0x10156c(0x12c));}catch(_0x56622c){const _0x436562=_0x56622c['code'];if(_0x436562===_0x10156c(0x138))throw new Error(_0x10156c(0x124)+_0x2f5fd4+'\x27\x20not\x20found');else{if(_0x436562==='EACCES')throw new Error('Permission\x20denied\x20reading\x20file\x20\x27'+_0x2f5fd4+'\x27');else throw new Error(_0x10156c(0x12d)+_0x2f5fd4+_0x10156c(0x12a)+_0x56622c['message']);}}}function a97_0x1f8e(){const _0x5b53c7=['message','push','ENOENT','map','File\x20\x27','replace','176427zhejJv','Content\x20contains\x20no\x20SQL\x20statements','718572DkWGLu','filter','\x27:\x20','toLowerCase','utf-8','Error\x20reading\x20file\x20\x27','trim','935600Wewxta','length','67362dkFoke','5001192tATcLJ','501492IkOuoO','2587664UdfIGi','285NZprIY'];a97_0x1f8e=function(){return _0x5b53c7;};return a97_0x1f8e();}export function readSqlStatementsFromFile(_0x43fa74){const _0x45fd85=a97_0x388c,_0x5bbd5a=readFileContent(_0x43fa74);try{return splitSqlStatements(_0x5bbd5a);}catch(_0x5bcd3e){throw new Error(_0x45fd85(0x124)+_0x43fa74+'\x27\x20'+_0x5bcd3e[_0x45fd85(0x136)][_0x45fd85(0x12b)]());}}
@@ -1 +1 @@
1
- function a98_0x3003(_0x34a5f9,_0x5d9240){const _0x4ed599=a98_0x4ed5();return a98_0x3003=function(_0x3003c1,_0xba0fc1){_0x3003c1=_0x3003c1-0x199;let _0x380f3c=_0x4ed599[_0x3003c1];return _0x380f3c;},a98_0x3003(_0x34a5f9,_0x5d9240);}(function(_0x4904cf,_0x513473){const _0x5760a7=a98_0x3003,_0x50b951=_0x4904cf();while(!![]){try{const _0x30a1a6=parseInt(_0x5760a7(0x1ac))/0x1+parseInt(_0x5760a7(0x1a2))/0x2*(-parseInt(_0x5760a7(0x1a4))/0x3)+-parseInt(_0x5760a7(0x1aa))/0x4+parseInt(_0x5760a7(0x199))/0x5*(parseInt(_0x5760a7(0x19b))/0x6)+-parseInt(_0x5760a7(0x1a7))/0x7+-parseInt(_0x5760a7(0x1b0))/0x8*(-parseInt(_0x5760a7(0x1ad))/0x9)+parseInt(_0x5760a7(0x1a0))/0xa;if(_0x30a1a6===_0x513473)break;else _0x50b951['push'](_0x50b951['shift']());}catch(_0x523dec){_0x50b951['push'](_0x50b951['shift']());}}}(a98_0x4ed5,0xd4c0a));export async function*parseSSEStream(_0x4597d5,_0x326ba6){const _0x3c6cf5=a98_0x3003;if(!_0x4597d5[_0x3c6cf5(0x1ae)])throw new Error(_0x3c6cf5(0x19a));const _0x5b65cc=_0x4597d5[_0x3c6cf5(0x1ae)]['getReader'](),_0x4f7df6=new TextDecoder();let _0x41657f='',_0x509835={};try{while(!![]){const {done:_0x41d071,value:_0xde1204}=await _0x5b65cc[_0x3c6cf5(0x1b1)]();if(_0x41d071){if(_0x509835['data']){_0x326ba6?.[_0x3c6cf5(0x1a6)](_0x3c6cf5(0x1a9)+_0x509835[_0x3c6cf5(0x1a1)]);const _0xf2bf11=parseSSEData(_0x509835[_0x3c6cf5(0x1a1)]);yield _0xf2bf11;}break;}_0x41657f+=_0x4f7df6[_0x3c6cf5(0x1a3)](_0xde1204,{'stream':!![]});const _0x54ae1f=_0x41657f[_0x3c6cf5(0x1af)]('\x0a');_0x41657f=_0x54ae1f[_0x3c6cf5(0x1ab)]()||'';for(const _0x5b88b5 of _0x54ae1f){if(_0x5b88b5['trim']()===''){if(_0x509835['data']){_0x326ba6?.['debug'](_0x3c6cf5(0x1a9)+_0x509835[_0x3c6cf5(0x1a1)]);const _0x5257c8=parseSSEData(_0x509835['data']);yield _0x5257c8,_0x509835={};}continue;}if(_0x5b88b5[_0x3c6cf5(0x19c)](':'))continue;const _0x523da5=_0x5b88b5[_0x3c6cf5(0x19d)](':');if(_0x523da5===-0x1)continue;const _0x254521=_0x5b88b5[_0x3c6cf5(0x1a8)](0x0,_0x523da5);let _0x36781b=_0x5b88b5['slice'](_0x523da5+0x1);_0x36781b[_0x3c6cf5(0x19c)]('\x20')&&(_0x36781b=_0x36781b[_0x3c6cf5(0x1a8)](0x1));switch(_0x254521){case _0x3c6cf5(0x19e):_0x509835[_0x3c6cf5(0x19e)]=_0x36781b;break;case _0x3c6cf5(0x1a1):_0x509835[_0x3c6cf5(0x1a1)]=_0x509835[_0x3c6cf5(0x1a1)]?_0x509835[_0x3c6cf5(0x1a1)]+'\x0a'+_0x36781b:_0x36781b;break;case'id':_0x509835['id']=_0x36781b;break;}}}}finally{_0x5b65cc[_0x3c6cf5(0x1a5)]();}}function parseSSEData(_0x18be30){const _0x13e8cb=a98_0x3003;try{return JSON[_0x13e8cb(0x19f)](_0x18be30);}catch(_0x4b5ff3){throw new Error('Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'+_0x18be30,{'cause':_0x4b5ff3});}}function a98_0x4ed5(){const _0x57fa8b=['event','parse','16410970ONoUqs','data','1284742PaEXAl','decode','3OFWvok','releaseLock','debug','10743691OHOBgG','slice','[LLM\x20API\x20SSE]\x20','4334508NJdndQ','pop','1055124eFYJLO','4000113qKJsWE','body','split','16SumdVO','read','2735550oIaPgY','Response\x20body\x20is\x20null','6oxHVmb','startsWith','indexOf'];a98_0x4ed5=function(){return _0x57fa8b;};return a98_0x4ed5();}
1
+ function a98_0x3fa4(){const _0x376abf=['body','releaseLock','parse','418425QUVcoC','Response\x20body\x20is\x20null','2167026pxKACu','split','15PCuNeS','5837685YhSBrz','slice','indexOf','500yHvHiH','[LLM\x20API\x20SSE]\x20','12715eLYzvo','1244fcknXT','event','decode','startsWith','pop','7394824TJXIhq','trim','data','debug','getReader','30206277ASZnIj'];a98_0x3fa4=function(){return _0x376abf;};return a98_0x3fa4();}function a98_0x19f3(_0x2db417,_0x5e6710){const _0x3fa44b=a98_0x3fa4();return a98_0x19f3=function(_0x19f33b,_0x4249bf){_0x19f33b=_0x19f33b-0x1b1;let _0xce937f=_0x3fa44b[_0x19f33b];return _0xce937f;},a98_0x19f3(_0x2db417,_0x5e6710);}(function(_0x49e07b,_0x5192c4){const _0x2e931b=a98_0x19f3,_0x4664e6=_0x49e07b();while(!![]){try{const _0x3d41a7=parseInt(_0x2e931b(0x1c6))/0x1*(-parseInt(_0x2e931b(0x1b1))/0x2)+parseInt(_0x2e931b(0x1c2))/0x3+parseInt(_0x2e931b(0x1b4))/0x4*(-parseInt(_0x2e931b(0x1b3))/0x5)+-parseInt(_0x2e931b(0x1c4))/0x6+-parseInt(_0x2e931b(0x1c7))/0x7+-parseInt(_0x2e931b(0x1b9))/0x8+parseInt(_0x2e931b(0x1be))/0x9;if(_0x3d41a7===_0x5192c4)break;else _0x4664e6['push'](_0x4664e6['shift']());}catch(_0x54aebd){_0x4664e6['push'](_0x4664e6['shift']());}}}(a98_0x3fa4,0x8dffa));export async function*parseSSEStream(_0x775a50,_0x181462){const _0x460624=a98_0x19f3;if(!_0x775a50[_0x460624(0x1bf)])throw new Error(_0x460624(0x1c3));const _0x18238a=_0x775a50['body'][_0x460624(0x1bd)](),_0x40951d=new TextDecoder();let _0x2a687b='',_0x1f7fe2={};try{while(!![]){const {done:_0x1485b4,value:_0x1f8bac}=await _0x18238a['read']();if(_0x1485b4){if(_0x1f7fe2['data']){_0x181462?.[_0x460624(0x1bc)]('[LLM\x20API\x20SSE]\x20'+_0x1f7fe2[_0x460624(0x1bb)]);const _0x321c60=parseSSEData(_0x1f7fe2[_0x460624(0x1bb)]);yield _0x321c60;}break;}_0x2a687b+=_0x40951d[_0x460624(0x1b6)](_0x1f8bac,{'stream':!![]});const _0x1db4df=_0x2a687b[_0x460624(0x1c5)]('\x0a');_0x2a687b=_0x1db4df[_0x460624(0x1b8)]()||'';for(const _0x5ba1a9 of _0x1db4df){if(_0x5ba1a9[_0x460624(0x1ba)]()===''){if(_0x1f7fe2['data']){_0x181462?.[_0x460624(0x1bc)](_0x460624(0x1b2)+_0x1f7fe2[_0x460624(0x1bb)]);const _0x32ad82=parseSSEData(_0x1f7fe2[_0x460624(0x1bb)]);yield _0x32ad82,_0x1f7fe2={};}continue;}if(_0x5ba1a9[_0x460624(0x1b7)](':'))continue;const _0x38d4e3=_0x5ba1a9[_0x460624(0x1c9)](':');if(_0x38d4e3===-0x1)continue;const _0x20f388=_0x5ba1a9[_0x460624(0x1c8)](0x0,_0x38d4e3);let _0x1573d9=_0x5ba1a9['slice'](_0x38d4e3+0x1);_0x1573d9[_0x460624(0x1b7)]('\x20')&&(_0x1573d9=_0x1573d9[_0x460624(0x1c8)](0x1));switch(_0x20f388){case _0x460624(0x1b5):_0x1f7fe2[_0x460624(0x1b5)]=_0x1573d9;break;case _0x460624(0x1bb):_0x1f7fe2[_0x460624(0x1bb)]=_0x1f7fe2[_0x460624(0x1bb)]?_0x1f7fe2[_0x460624(0x1bb)]+'\x0a'+_0x1573d9:_0x1573d9;break;case'id':_0x1f7fe2['id']=_0x1573d9;break;}}}}finally{_0x18238a[_0x460624(0x1c0)]();}}function parseSSEData(_0x5988ea){const _0x50a9a8=a98_0x19f3;try{return JSON[_0x50a9a8(0x1c1)](_0x5988ea);}catch(_0x170e8b){throw new Error('Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'+_0x5988ea,{'cause':_0x170e8b});}}
@@ -1 +1 @@
1
- (function(_0xcfdcee,_0x1f69ca){const _0x4d255e=a99_0x52da,_0x103f6a=_0xcfdcee();while(!![]){try{const _0x2d2874=-parseInt(_0x4d255e(0x97))/0x1*(parseInt(_0x4d255e(0x98))/0x2)+-parseInt(_0x4d255e(0x8c))/0x3*(-parseInt(_0x4d255e(0x84))/0x4)+parseInt(_0x4d255e(0x81))/0x5+-parseInt(_0x4d255e(0x8b))/0x6+parseInt(_0x4d255e(0x95))/0x7+parseInt(_0x4d255e(0x8d))/0x8+-parseInt(_0x4d255e(0x83))/0x9*(parseInt(_0x4d255e(0x8f))/0xa);if(_0x2d2874===_0x1f69ca)break;else _0x103f6a['push'](_0x103f6a['shift']());}catch(_0x13fd6d){_0x103f6a['push'](_0x103f6a['shift']());}}}(a99_0x473b,0xbfa6d));import a99_0x3662bf from'string-width';export function stringWidth(_0x11476a){return a99_0x3662bf(_0x11476a);}export function padEnd(_0xf75dda,_0x43397b){const _0x30a77a=a99_0x52da,_0x37e262=stringWidth(_0xf75dda);if(_0x37e262>=_0x43397b)return _0xf75dda;return _0xf75dda+'\x20'[_0x30a77a(0x8e)](_0x43397b-_0x37e262);}export function padStart(_0x56abf3,_0x230972){const _0x19a31f=stringWidth(_0x56abf3);if(_0x19a31f>=_0x230972)return _0x56abf3;return'\x20'['repeat'](_0x230972-_0x19a31f)+_0x56abf3;}function a99_0x52da(_0x4d7044,_0x326247){const _0x473b09=a99_0x473b();return a99_0x52da=function(_0x52dab5,_0x388e7a){_0x52dab5=_0x52dab5-0x80;let _0x384e4c=_0x473b09[_0x52dab5];return _0x384e4c;},a99_0x52da(_0x4d7044,_0x326247);}export function centerAlign(_0x52814e,_0x5675d0){const _0x82ca3b=a99_0x52da,_0x5795a7=stringWidth(_0x52814e);if(_0x5795a7>_0x5675d0){if(_0x5675d0<=0x1)return'…'[_0x82ca3b(0x87)](0x0,_0x5675d0);let _0x48d7de=_0x52814e;while(stringWidth(_0x48d7de+'…')>_0x5675d0){_0x48d7de=_0x48d7de[_0x82ca3b(0x92)](0x0,-0x1);}return _0x48d7de+'…';}if(_0x5795a7===_0x5675d0)return _0x52814e;const _0x128e4e=_0x5675d0-_0x5795a7,_0x16857f=Math[_0x82ca3b(0x94)](_0x128e4e/0x2),_0x585f68=_0x128e4e-_0x16857f;return'\x20'[_0x82ca3b(0x8e)](_0x16857f)+_0x52814e+'\x20'[_0x82ca3b(0x8e)](_0x585f68);}export function escapeStringLiteral(_0xd8dbc6){const _0x177929=a99_0x52da;if(!_0xd8dbc6||_0xd8dbc6[_0x177929(0x89)]()[_0x177929(0x85)]===0x0)throw new Error(_0x177929(0x82));const _0xa898c1=_0xd8dbc6['replace'](/'/g,'\x27\x27');return'\x27'+_0xa898c1+'\x27';}export function globToLike(_0x5511c5){const _0x3f38cc=a99_0x52da;let _0x8fc3b7=_0x5511c5[_0x3f38cc(0x88)](/\\/g,'\x5c\x5c')[_0x3f38cc(0x88)](/%/g,'\x5c%')[_0x3f38cc(0x88)](/_/g,'\x5c_');return _0x8fc3b7=_0x8fc3b7['replace'](/\*/g,'%')[_0x3f38cc(0x88)](/\?/g,'_'),_0x8fc3b7;}export function buildLikePattern(_0x9bf705){const _0x302fd9=a99_0x52da;if(!_0x9bf705||_0x9bf705['trim']()[_0x302fd9(0x85)]===0x0)throw new Error(_0x302fd9(0x96));const _0x25352c=globToLike(_0x9bf705),_0x243d34=_0x25352c[_0x302fd9(0x88)](/'/g,'\x27\x27');return'\x27'+_0x243d34+'\x27';}export function matchGlobPattern(_0x5d20c1,_0x1d8934){const _0x4b0403=a99_0x52da,_0x3435d8=_0x1d8934[_0x4b0403(0x88)](/[.+^${}()|[\]\\]/g,_0x4b0403(0x91))[_0x4b0403(0x88)](/\*/g,'.*')[_0x4b0403(0x88)](/\?/g,'.'),_0x513fbf=new RegExp('^'+_0x3435d8+'$');return _0x513fbf[_0x4b0403(0x8a)](_0x5d20c1);}export function getSanitizedUsername(){const _0x31d77d=a99_0x52da,_0x5546f0=process[_0x31d77d(0x80)][_0x31d77d(0x93)]||process[_0x31d77d(0x80)][_0x31d77d(0x86)]||'unknown';return _0x5546f0[_0x31d77d(0x88)](/[^a-zA-Z0-9]/g,'')[_0x31d77d(0x90)]();}function a99_0x473b(){const _0x13b795=['env','1842285cQQbsf','Cannot\x20escape\x20empty\x20string\x20literal','983907YTQyNb','76OtNntM','length','USERNAME','substring','replace','trim','test','5122386voJrZr','131259QTVkgK','2913976nxMfny','repeat','70UnRuWC','toLowerCase','\x5c$&','slice','USER','floor','6185984FdfkyY','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','21863vFoIOB','4DwjAno'];a99_0x473b=function(){return _0x13b795;};return a99_0x473b();}export function generateRandomHex(){const _0x3a0864=a99_0x52da,_0x266c44=Math[_0x3a0864(0x94)](Math['random']()*0xfffff);return _0x266c44['toString'](0x10)['padStart'](0x5,'0');}
1
+ (function(_0x541117,_0x5e019b){const _0x168ab8=a99_0x74e0,_0x16e037=_0x541117();while(!![]){try{const _0x55ca95=parseInt(_0x168ab8(0xb2))/0x1+-parseInt(_0x168ab8(0xc0))/0x2*(-parseInt(_0x168ab8(0xbf))/0x3)+parseInt(_0x168ab8(0xbd))/0x4+-parseInt(_0x168ab8(0xbe))/0x5+-parseInt(_0x168ab8(0xb0))/0x6+-parseInt(_0x168ab8(0xa9))/0x7*(-parseInt(_0x168ab8(0xae))/0x8)+-parseInt(_0x168ab8(0xaf))/0x9;if(_0x55ca95===_0x5e019b)break;else _0x16e037['push'](_0x16e037['shift']());}catch(_0x264b58){_0x16e037['push'](_0x16e037['shift']());}}}(a99_0x4f7b,0x69370));import a99_0x248ea7 from'string-width';function a99_0x74e0(_0x4c2184,_0x271d7b){const _0x4f7b05=a99_0x4f7b();return a99_0x74e0=function(_0x74e067,_0x1e7e51){_0x74e067=_0x74e067-0xa9;let _0x56e3da=_0x4f7b05[_0x74e067];return _0x56e3da;},a99_0x74e0(_0x4c2184,_0x271d7b);}export function stringWidth(_0x114d88){return a99_0x248ea7(_0x114d88);}export function padEnd(_0x4e5314,_0x26766f){const _0x58141b=a99_0x74e0,_0x2f05c0=stringWidth(_0x4e5314);if(_0x2f05c0>=_0x26766f)return _0x4e5314;return _0x4e5314+'\x20'[_0x58141b(0xaa)](_0x26766f-_0x2f05c0);}export function padStart(_0x4ee1ee,_0x55cfba){const _0x554fe5=stringWidth(_0x4ee1ee);if(_0x554fe5>=_0x55cfba)return _0x4ee1ee;return'\x20'['repeat'](_0x55cfba-_0x554fe5)+_0x4ee1ee;}export function centerAlign(_0x3738d3,_0x2107f3){const _0x3e2723=a99_0x74e0,_0x3ab61c=stringWidth(_0x3738d3);if(_0x3ab61c>_0x2107f3){if(_0x2107f3<=0x1)return'…'['substring'](0x0,_0x2107f3);let _0x362be9=_0x3738d3;while(stringWidth(_0x362be9+'…')>_0x2107f3){_0x362be9=_0x362be9[_0x3e2723(0xb6)](0x0,-0x1);}return _0x362be9+'…';}if(_0x3ab61c===_0x2107f3)return _0x3738d3;const _0x251bdc=_0x2107f3-_0x3ab61c,_0x5c29a2=Math[_0x3e2723(0xb3)](_0x251bdc/0x2),_0x3b0ad4=_0x251bdc-_0x5c29a2;return'\x20'[_0x3e2723(0xaa)](_0x5c29a2)+_0x3738d3+'\x20'['repeat'](_0x3b0ad4);}function a99_0x4f7b(){const _0x10e8c7=['2360277BQdWcE','170220ImOTjv','env','17128nNkTux','floor','toLowerCase','length','slice','\x5c$&','trim','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','USER','padStart','toString','810276syexjb','1282405DgFZyn','93feGtPa','15436aHIMdb','45997ziNKqm','repeat','random','replace','Cannot\x20escape\x20empty\x20string\x20literal','632bfiSZI'];a99_0x4f7b=function(){return _0x10e8c7;};return a99_0x4f7b();}export function escapeStringLiteral(_0x24404c){const _0x13bda7=a99_0x74e0;if(!_0x24404c||_0x24404c[_0x13bda7(0xb8)]()[_0x13bda7(0xb5)]===0x0)throw new Error(_0x13bda7(0xad));const _0x1f3816=_0x24404c[_0x13bda7(0xac)](/'/g,'\x27\x27');return'\x27'+_0x1f3816+'\x27';}export function globToLike(_0x4de94e){const _0x569bf4=a99_0x74e0;let _0x3741f0=_0x4de94e[_0x569bf4(0xac)](/\\/g,'\x5c\x5c')[_0x569bf4(0xac)](/%/g,'\x5c%')['replace'](/_/g,'\x5c_');return _0x3741f0=_0x3741f0['replace'](/\*/g,'%')[_0x569bf4(0xac)](/\?/g,'_'),_0x3741f0;}export function buildLikePattern(_0x44284f){const _0x24e619=a99_0x74e0;if(!_0x44284f||_0x44284f['trim']()[_0x24e619(0xb5)]===0x0)throw new Error(_0x24e619(0xb9));const _0x305abd=globToLike(_0x44284f),_0x4de0cd=_0x305abd[_0x24e619(0xac)](/'/g,'\x27\x27');return'\x27'+_0x4de0cd+'\x27';}export function matchGlobPattern(_0x4be083,_0x4df6cf){const _0x576cdd=a99_0x74e0,_0x40dd8c=_0x4df6cf[_0x576cdd(0xac)](/[.+^${}()|[\]\\]/g,_0x576cdd(0xb7))[_0x576cdd(0xac)](/\*/g,'.*')[_0x576cdd(0xac)](/\?/g,'.'),_0x2af753=new RegExp('^'+_0x40dd8c+'$');return _0x2af753['test'](_0x4be083);}export function getSanitizedUsername(){const _0x2cb8dd=a99_0x74e0,_0x444701=process[_0x2cb8dd(0xb1)][_0x2cb8dd(0xba)]||process[_0x2cb8dd(0xb1)]['USERNAME']||'unknown';return _0x444701[_0x2cb8dd(0xac)](/[^a-zA-Z0-9]/g,'')[_0x2cb8dd(0xb4)]();}export function generateRandomHex(){const _0x17f098=a99_0x74e0,_0x38beea=Math['floor'](Math[_0x17f098(0xab)]()*0xfffff);return _0x38beea[_0x17f098(0xbc)](0x10)[_0x17f098(0xbb)](0x5,'0');}
@@ -1 +1 @@
1
- (function(_0x360d96,_0x321b34){const _0x3dc742=a100_0x46b1,_0x3c3a38=_0x360d96();while(!![]){try{const _0x5e405c=-parseInt(_0x3dc742(0x1f5))/0x1*(-parseInt(_0x3dc742(0x1f2))/0x2)+-parseInt(_0x3dc742(0x1e8))/0x3*(parseInt(_0x3dc742(0x1e7))/0x4)+-parseInt(_0x3dc742(0x1f7))/0x5+parseInt(_0x3dc742(0x1e9))/0x6+parseInt(_0x3dc742(0x1f9))/0x7*(-parseInt(_0x3dc742(0x1ea))/0x8)+-parseInt(_0x3dc742(0x1f3))/0x9+-parseInt(_0x3dc742(0x1fd))/0xa*(-parseInt(_0x3dc742(0x1f4))/0xb);if(_0x5e405c===_0x321b34)break;else _0x3c3a38['push'](_0x3c3a38['shift']());}catch(_0x4986a5){_0x3c3a38['push'](_0x3c3a38['shift']());}}}(a100_0xef45,0x8995e));function hasWildcard(_0x193a4f){return _0x193a4f['includes']('*')||_0x193a4f['includes']('?');}function a100_0x46b1(_0x26f56f,_0xa864fd){const _0xef4551=a100_0xef45();return a100_0x46b1=function(_0x46b13f,_0x536411){_0x46b13f=_0x46b13f-0x1e3;let _0x3ed92c=_0xef4551[_0x46b13f];return _0x3ed92c;},a100_0x46b1(_0x26f56f,_0xa864fd);}export function parseTableReference(_0x47ff5d){const _0x4c7b84=a100_0x46b1;if(!_0x47ff5d||_0x47ff5d['trim']()['length']===0x0)throw new Error(_0x4c7b84(0x1f1));const _0x36604b=_0x47ff5d[_0x4c7b84(0x1ed)](),_0x443d8f={'original':_0x36604b},_0x281bdc=_0x36604b[_0x4c7b84(0x1e6)]('.');if(_0x281bdc[_0x4c7b84(0x1f8)]===0x1){const _0x211ec2=_0x281bdc[0x0];if(!_0x211ec2)throw new Error(_0x4c7b84(0x1fa));_0x443d8f[_0x4c7b84(0x1fc)]=_0x211ec2;}else{if(_0x281bdc['length']===0x2){const [_0x4de7b4,_0x28dd28]=_0x281bdc;if(!_0x4de7b4)throw new Error(_0x4c7b84(0x1e5));if(!_0x28dd28)throw new Error(_0x4c7b84(0x1ef));_0x443d8f['database']=_0x4de7b4,_0x443d8f['table']=_0x28dd28;}else{if(_0x281bdc[_0x4c7b84(0x1f8)]===0x3){const [_0x11e57d,_0x598bd3,_0x4e2863]=_0x281bdc;if(!_0x11e57d||!_0x598bd3||!_0x4e2863)throw new Error(_0x4c7b84(0x1f6));_0x443d8f[_0x4c7b84(0x1f0)]=_0x11e57d,_0x443d8f[_0x4c7b84(0x1fb)]=_0x598bd3,_0x443d8f[_0x4c7b84(0x1fc)]=_0x4e2863;}else throw new Error('Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)');}}return _0x443d8f;}function a100_0xef45(){const _0x1574d0=['20120HHZoPq','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','split','684932qqjSvA','3dVTCDm','1935582WTPOwW','34288hhWFzu','push','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','trim','join','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','catalog','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','5844XZNIbZ','10095282OlFggY','13453LtyYXZ','101qFgUvZ','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','4266590yQcRMt','length','602oWAeRE','Pattern\x20cannot\x20be\x20just\x20a\x20dot','database','table'];a100_0xef45=function(){return _0x1574d0;};return a100_0xef45();}export function formatTableReference(_0xf3377c){const _0x513d1a=a100_0x46b1,_0x5e78f8=[];return _0xf3377c[_0x513d1a(0x1f0)]&&_0x5e78f8['push'](_0xf3377c[_0x513d1a(0x1f0)]),_0xf3377c[_0x513d1a(0x1fb)]&&_0x5e78f8[_0x513d1a(0x1eb)](_0xf3377c[_0x513d1a(0x1fb)]),_0xf3377c[_0x513d1a(0x1fc)]&&_0x5e78f8[_0x513d1a(0x1eb)](_0xf3377c[_0x513d1a(0x1fc)]),_0x5e78f8[_0x513d1a(0x1ee)]('.');}export function validateTableListReference(_0x68ac96){return undefined;}export function validateTableDescribeReference(_0xd57969){const _0x1a9181=a100_0x46b1;if(!_0xd57969['table'])return _0x1a9181(0x1e4);if(_0xd57969[_0x1a9181(0x1fb)]&&hasWildcard(_0xd57969[_0x1a9181(0x1fb)]))return _0x1a9181(0x1e3);if(hasWildcard(_0xd57969[_0x1a9181(0x1fc)]))return _0x1a9181(0x1ec);return undefined;}
1
+ (function(_0x3d8445,_0x58c880){const _0x4c9ccb=a100_0x24f5,_0x5e1ce2=_0x3d8445();while(!![]){try{const _0x3187ab=parseInt(_0x4c9ccb(0x96))/0x1+parseInt(_0x4c9ccb(0x89))/0x2*(parseInt(_0x4c9ccb(0x8b))/0x3)+-parseInt(_0x4c9ccb(0x90))/0x4+parseInt(_0x4c9ccb(0x8a))/0x5+parseInt(_0x4c9ccb(0x99))/0x6*(parseInt(_0x4c9ccb(0x81))/0x7)+-parseInt(_0x4c9ccb(0x8c))/0x8*(-parseInt(_0x4c9ccb(0x84))/0x9)+parseInt(_0x4c9ccb(0x8f))/0xa*(-parseInt(_0x4c9ccb(0x91))/0xb);if(_0x3187ab===_0x58c880)break;else _0x5e1ce2['push'](_0x5e1ce2['shift']());}catch(_0x3c61ea){_0x5e1ce2['push'](_0x5e1ce2['shift']());}}}(a100_0x390b,0x4248a));function hasWildcard(_0x152beb){const _0x50df65=a100_0x24f5;return _0x152beb[_0x50df65(0x9a)]('*')||_0x152beb[_0x50df65(0x9a)]('?');}function a100_0x24f5(_0x10ab90,_0x247ed1){const _0x390b45=a100_0x390b();return a100_0x24f5=function(_0x24f518,_0x135296){_0x24f518=_0x24f518-0x80;let _0x203197=_0x390b45[_0x24f518];return _0x203197;},a100_0x24f5(_0x10ab90,_0x247ed1);}export function parseTableReference(_0x3e4cc8){const _0x226bad=a100_0x24f5;if(!_0x3e4cc8||_0x3e4cc8['trim']()[_0x226bad(0x97)]===0x0)throw new Error(_0x226bad(0x85));const _0x4ab306=_0x3e4cc8['trim'](),_0x4c1a5d={'original':_0x4ab306},_0x1d5a7d=_0x4ab306['split']('.');if(_0x1d5a7d[_0x226bad(0x97)]===0x1){const _0x597c40=_0x1d5a7d[0x0];if(!_0x597c40)throw new Error(_0x226bad(0x86));_0x4c1a5d[_0x226bad(0x88)]=_0x597c40;}else{if(_0x1d5a7d[_0x226bad(0x97)]===0x2){const [_0x5537d9,_0x1e2517]=_0x1d5a7d;if(!_0x5537d9)throw new Error(_0x226bad(0x94));if(!_0x1e2517)throw new Error(_0x226bad(0x8d));_0x4c1a5d['database']=_0x5537d9,_0x4c1a5d[_0x226bad(0x88)]=_0x1e2517;}else{if(_0x1d5a7d[_0x226bad(0x97)]===0x3){const [_0x4966c0,_0x4a79f7,_0x5ae7da]=_0x1d5a7d;if(!_0x4966c0||!_0x4a79f7||!_0x5ae7da)throw new Error(_0x226bad(0x93));_0x4c1a5d['catalog']=_0x4966c0,_0x4c1a5d[_0x226bad(0x82)]=_0x4a79f7,_0x4c1a5d[_0x226bad(0x88)]=_0x5ae7da;}else throw new Error(_0x226bad(0x95));}}return _0x4c1a5d;}export function formatTableReference(_0x3865c0){const _0x4832f1=a100_0x24f5,_0x3c966f=[];return _0x3865c0[_0x4832f1(0x8e)]&&_0x3c966f[_0x4832f1(0x98)](_0x3865c0[_0x4832f1(0x8e)]),_0x3865c0[_0x4832f1(0x82)]&&_0x3c966f[_0x4832f1(0x98)](_0x3865c0[_0x4832f1(0x82)]),_0x3865c0[_0x4832f1(0x88)]&&_0x3c966f['push'](_0x3865c0[_0x4832f1(0x88)]),_0x3c966f[_0x4832f1(0x87)]('.');}export function validateTableListReference(_0x41d2c9){return undefined;}export function validateTableDescribeReference(_0x1e3b38){const _0x81f528=a100_0x24f5;if(!_0x1e3b38['table'])return _0x81f528(0x92);if(_0x1e3b38[_0x81f528(0x82)]&&hasWildcard(_0x1e3b38[_0x81f528(0x82)]))return _0x81f528(0x80);if(hasWildcard(_0x1e3b38['table']))return _0x81f528(0x83);return undefined;}function a100_0x390b(){const _0x2b31cb=['252132ertAau','includes','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','77sRaIXv','database','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','1415961upEEUT','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','Pattern\x20cannot\x20be\x20just\x20a\x20dot','join','table','8702qImvpP','2504245EgBYqT','129vPucpH','24vvntGj','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','catalog','23860lCClsY','320792tSntaJ','6875oqZGRc','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','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)','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','220775cTcmWK','length','push'];a100_0x390b=function(){return _0x2b31cb;};return a100_0x390b();}
@@ -1 +1 @@
1
- const a101_0x31439c=a101_0x3c37;(function(_0x810e2d,_0x46e560){const _0x29adac=a101_0x3c37,_0x163732=_0x810e2d();while(!![]){try{const _0x5e9f0d=parseInt(_0x29adac(0x100))/0x1*(-parseInt(_0x29adac(0xf1))/0x2)+-parseInt(_0x29adac(0xd6))/0x3*(parseInt(_0x29adac(0xe4))/0x4)+parseInt(_0x29adac(0xf4))/0x5*(parseInt(_0x29adac(0x106))/0x6)+-parseInt(_0x29adac(0xee))/0x7*(parseInt(_0x29adac(0xed))/0x8)+parseInt(_0x29adac(0xe7))/0x9*(-parseInt(_0x29adac(0x108))/0xa)+-parseInt(_0x29adac(0xdb))/0xb+parseInt(_0x29adac(0xdd))/0xc;if(_0x5e9f0d===_0x46e560)break;else _0x163732['push'](_0x163732['shift']());}catch(_0x5e1784){_0x163732['push'](_0x163732['shift']());}}}(a101_0x3805,0x466d7));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 a101_0x3c37(_0x5a1c4e,_0x4a6be3){const _0x380500=a101_0x3805();return a101_0x3c37=function(_0x3c372f,_0x59459c){_0x3c372f=_0x3c372f-0xd3;let _0x22edb3=_0x380500[_0x3c372f];return _0x22edb3;},a101_0x3c37(_0x5a1c4e,_0x4a6be3);}import a101_0x321ac8 from'chalk';function safeStringify(_0x44d157){const _0x233f64=a101_0x3c37;if(typeof _0x44d157===_0x233f64(0x10e))return _0x44d157;if(_0x44d157 instanceof Error)return _0x44d157['stack']||_0x44d157['name']+':\x20'+_0x44d157['message'];try{return JSON[_0x233f64(0x10b)](_0x44d157,(_0x3229cf,_0x39114c)=>{const _0x10dcdd=_0x233f64;if(_0x39114c instanceof Error)return{'name':_0x39114c['name'],'message':_0x39114c[_0x10dcdd(0xd4)],'stack':_0x39114c[_0x10dcdd(0xfe)],'cause':_0x39114c[_0x10dcdd(0xde)]};return _0x39114c;});}catch{return String(_0x44d157);}}function getTimezoneOffset(){const _0x533350=a101_0x3c37,_0x186b95=-new Date()[_0x533350(0x105)](),_0x5065e0=Math[_0x533350(0x10a)](Math[_0x533350(0xe1)](_0x186b95)/0x3c),_0x3e1d90=Math[_0x533350(0xe1)](_0x186b95)%0x3c,_0x2deafd=_0x186b95>=0x0?'+':'-';return''+_0x2deafd+_0x5065e0['toString']()[_0x533350(0xef)](0x2,'0')+_0x3e1d90[_0x533350(0xeb)]()[_0x533350(0xef)](0x2,'0');}function formatTimestamp(){const _0xd2968=a101_0x3c37,_0x2fe4ea=new Date(),_0x986997=_0x2fe4ea['getFullYear'](),_0x1a7327=(_0x2fe4ea[_0xd2968(0xd9)]()+0x1)[_0xd2968(0xeb)]()[_0xd2968(0xef)](0x2,'0'),_0x246e52=_0x2fe4ea['getDate']()[_0xd2968(0xeb)]()[_0xd2968(0xef)](0x2,'0'),_0x52a0ef=_0x2fe4ea[_0xd2968(0xd3)]()[_0xd2968(0xeb)]()[_0xd2968(0xef)](0x2,'0'),_0xfc454a=_0x2fe4ea[_0xd2968(0x10c)]()[_0xd2968(0xeb)]()[_0xd2968(0xef)](0x2,'0'),_0x1b367d=_0x2fe4ea['getSeconds']()[_0xd2968(0xeb)]()[_0xd2968(0xef)](0x2,'0'),_0x35f7ae=_0x2fe4ea['getMilliseconds']()[_0xd2968(0xeb)]()[_0xd2968(0xef)](0x3,'0'),_0x203061=getTimezoneOffset();return _0x986997+'-'+_0x1a7327+'-'+_0x246e52+'\x20'+_0x52a0ef+':'+_0xfc454a+':'+_0x1b367d+'.'+_0x35f7ae+_0x203061;}function formatColoredLogEntry(_0xb271d9,_0x46056a){const _0x373be5=a101_0x3c37,_0xe73353=formatTimestamp(),_0x1da8af=_0x46056a[_0x373be5(0x109)](safeStringify)[_0x373be5(0x107)]('\x20'),_0x48477c=a101_0x321ac8[_0x373be5(0x10f)](_0xe73353);let _0x37b1fb;switch(_0xb271d9){case _0x373be5(0x10d):_0x37b1fb=a101_0x321ac8['cyan']('['+_0xb271d9+']\x20');break;case _0x373be5(0xe8):_0x37b1fb=a101_0x321ac8['yellow']('['+_0xb271d9+']\x20');break;case'error':_0x37b1fb=a101_0x321ac8['red']('['+_0xb271d9+']');break;case _0x373be5(0xd8):_0x37b1fb=a101_0x321ac8[_0x373be5(0x10f)]('['+_0xb271d9+']');break;default:_0x37b1fb='['+_0xb271d9+']';}return _0x48477c+'\x20'+_0x37b1fb+'\x20'+_0x1da8af;}function a101_0x3805(){const _0xf42d93=['TRACE','1206634ksbymw','trace','17306772MoYNgW','cause','fileOnly','DEBUG','abs','Warning:\x20Error\x20writing\x20to\x20tdx.log:','log','48KfDJdQ','.log','.cache','1653417EqwIaC','warn','split','toISOString','toString','ERROR','8QYeUtL','3133410EDzKiU','padStart','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','50skHnir','logLevel','logStream','4685xTlPhD','tdx','tdx.log','INFO','write','includes','WARN','tdx-','getLogPath','init','stack','Warning:\x20Failed\x20to\x20compress\x20','20669JOiqhl','error','mtime','test','close','getTimezoneOffset','3012HGhpcC','join','10DgGYaS','map','floor','stringify','getMinutes','info','string','gray','filter','rotateOldLogs','getHours','message','Proxy\x20session\x20ended','91593qPOVyD','logDir','debug','getMonth'];a101_0x3805=function(){return _0xf42d93;};return a101_0x3805();}export var LogLevel;(function(_0x3b1ee8){const _0x277fd2=a101_0x3c37;_0x3b1ee8[_0x3b1ee8[_0x277fd2(0xda)]=-0x2]=_0x277fd2(0xda),_0x3b1ee8[_0x3b1ee8['DEBUG']=-0x1]='DEBUG',_0x3b1ee8[_0x3b1ee8[_0x277fd2(0xf7)]=0x0]=_0x277fd2(0xf7),_0x3b1ee8[_0x3b1ee8[_0x277fd2(0xfa)]=0x1]='WARN',_0x3b1ee8[_0x3b1ee8['ERROR']=0x2]=_0x277fd2(0xec);}(LogLevel||(LogLevel={})));export class TDXLogger{[a101_0x31439c(0xf3)];[a101_0x31439c(0xd7)];[a101_0x31439c(0xf2)];[a101_0x31439c(0xdf)];constructor(_0x51b504=LogLevel[a101_0x31439c(0xf7)],_0x2baad1=![]){const _0x5c87ef=a101_0x31439c;this[_0x5c87ef(0xd7)]=join(homedir(),_0x5c87ef(0xe6),_0x5c87ef(0xf5),'logs'),this[_0x5c87ef(0xf2)]=_0x51b504,this[_0x5c87ef(0xdf)]=_0x2baad1;}async[a101_0x31439c(0xfd)](){const _0x580404=a101_0x31439c;try{await mkdir(this['logDir'],{'recursive':!![]}),await this[_0x580404(0x111)]();const _0x332c86=join(this[_0x580404(0xd7)],_0x580404(0xf6));this[_0x580404(0xf3)]=createWriteStream(_0x332c86,{'flags':'a'}),this[_0x580404(0xf3)]['on']('error',_0x5c5e03=>{const _0x1aa194=_0x580404;console[_0x1aa194(0x101)](_0x1aa194(0xe2),_0x5c5e03[_0x1aa194(0xd4)]);});}catch(_0x551ee1){console['error'](_0x580404(0xf0),_0x551ee1);}}async[a101_0x31439c(0x111)](){const _0x374362=a101_0x31439c;try{const _0x299015=await readdir(this[_0x374362(0xd7)]),_0x525f25=new Date()[_0x374362(0xea)]()['split']('T')[0x0];if(_0x299015[_0x374362(0xf9)](_0x374362(0xf6))){const _0x1a1d22=join(this[_0x374362(0xd7)],'tdx.log'),_0x562b4f=await stat(_0x1a1d22),_0x550f36=new Date(_0x562b4f[_0x374362(0x102)])[_0x374362(0xea)]()[_0x374362(0xe9)]('T')[0x0];if(_0x550f36<_0x525f25){const _0x1d5072=join(this['logDir'],_0x374362(0xfb)+_0x550f36+_0x374362(0xe5));await rename(_0x1a1d22,_0x1d5072);}}const _0x5e3f88=await readdir(this[_0x374362(0xd7)]),_0x2e34d3=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x9e8e3a=_0x5e3f88[_0x374362(0x110)](_0x12774a=>_0x2e34d3[_0x374362(0x103)](_0x12774a));for(const _0x487ddd of _0x9e8e3a){const _0x5b7812=join(this[_0x374362(0xd7)],_0x487ddd),_0x225d75=join(this[_0x374362(0xd7)],_0x487ddd+'.gz');try{await pipeline(createReadStream(_0x5b7812),createGzip(),createWriteStream(_0x225d75)),await unlink(_0x5b7812);}catch(_0x1a01af){console[_0x374362(0x101)](_0x374362(0xff)+_0x487ddd+':',_0x1a01af);}}}catch{}}[a101_0x31439c(0xd8)](..._0x35c7bd){const _0x5d9948=a101_0x31439c;if(this[_0x5d9948(0xf2)]>LogLevel[_0x5d9948(0xe0)])return;const _0x4b0473=formatColoredLogEntry('debug',_0x35c7bd);this[_0x5d9948(0xf3)]?.[_0x5d9948(0xf8)](_0x4b0473+'\x0a');}[a101_0x31439c(0xdc)](..._0x54020b){const _0x560759=a101_0x31439c;if(this[_0x560759(0xf2)]>LogLevel['TRACE'])return;const _0x26e005=formatColoredLogEntry(_0x560759(0xdc),_0x54020b);this['logStream']?.[_0x560759(0xf8)](_0x26e005+'\x0a');}[a101_0x31439c(0x10d)](..._0xf9c5e7){const _0xa7b7ff=a101_0x31439c;if(this[_0xa7b7ff(0xf2)]>LogLevel['INFO'])return;const _0x111dfd=formatColoredLogEntry('info',_0xf9c5e7);!this[_0xa7b7ff(0xdf)]&&console[_0xa7b7ff(0xe3)](_0x111dfd),this[_0xa7b7ff(0xf3)]?.[_0xa7b7ff(0xf8)](_0x111dfd+'\x0a');}['warn'](..._0x12958d){const _0x51b54a=a101_0x31439c;if(this[_0x51b54a(0xf2)]>LogLevel[_0x51b54a(0xfa)])return;const _0x37053a=formatColoredLogEntry(_0x51b54a(0xe8),_0x12958d);!this[_0x51b54a(0xdf)]&&console['error'](_0x37053a),this[_0x51b54a(0xf3)]?.[_0x51b54a(0xf8)](_0x37053a+'\x0a');}[a101_0x31439c(0x101)](..._0x5589fe){const _0xff6d0e=a101_0x31439c,_0x3f6cad=formatColoredLogEntry(_0xff6d0e(0x101),_0x5589fe);!this[_0xff6d0e(0xdf)]&&console[_0xff6d0e(0x101)](_0x3f6cad),this[_0xff6d0e(0xf3)]?.[_0xff6d0e(0xf8)](_0x3f6cad+'\x0a');}async[a101_0x31439c(0x104)](){const _0x320d03=a101_0x31439c;return this[_0x320d03(0x10d)](_0x320d03(0xd5)),new Promise(_0x195f49=>{const _0x58dfe2=_0x320d03;this[_0x58dfe2(0xf3)]?this[_0x58dfe2(0xf3)]['end'](()=>{_0x195f49();}):_0x195f49();});}[a101_0x31439c(0xfc)](){const _0x828b00=a101_0x31439c;return join(this[_0x828b00(0xd7)],_0x828b00(0xf6));}}
1
+ const a101_0x5a3576=a101_0x1af7;(function(_0x3562de,_0x2b2815){const _0x15c3ec=a101_0x1af7,_0x5e724c=_0x3562de();while(!![]){try{const _0x2e0d78=-parseInt(_0x15c3ec(0x11c))/0x1+parseInt(_0x15c3ec(0x122))/0x2+parseInt(_0x15c3ec(0x141))/0x3+parseInt(_0x15c3ec(0x118))/0x4+parseInt(_0x15c3ec(0x127))/0x5+-parseInt(_0x15c3ec(0x14e))/0x6*(parseInt(_0x15c3ec(0x134))/0x7)+-parseInt(_0x15c3ec(0x130))/0x8*(parseInt(_0x15c3ec(0x146))/0x9);if(_0x2e0d78===_0x2b2815)break;else _0x5e724c['push'](_0x5e724c['shift']());}catch(_0x270859){_0x5e724c['push'](_0x5e724c['shift']());}}}(a101_0x4b50,0x40582));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';import a101_0x1d97c3 from'chalk';function a101_0x1af7(_0x24c00f,_0x56bd76){const _0x4b5089=a101_0x4b50();return a101_0x1af7=function(_0x1af7a2,_0x29200a){_0x1af7a2=_0x1af7a2-0x118;let _0x50c3c1=_0x4b5089[_0x1af7a2];return _0x50c3c1;},a101_0x1af7(_0x24c00f,_0x56bd76);}function safeStringify(_0x17d2c9){const _0x5850ae=a101_0x1af7;if(typeof _0x17d2c9===_0x5850ae(0x120))return _0x17d2c9;if(_0x17d2c9 instanceof Error)return _0x17d2c9[_0x5850ae(0x153)]||_0x17d2c9[_0x5850ae(0x12d)]+':\x20'+_0x17d2c9[_0x5850ae(0x136)];try{return JSON[_0x5850ae(0x13b)](_0x17d2c9,(_0x20f318,_0x1e4470)=>{const _0x5cf428=_0x5850ae;if(_0x1e4470 instanceof Error)return{'name':_0x1e4470['name'],'message':_0x1e4470['message'],'stack':_0x1e4470['stack'],'cause':_0x1e4470[_0x5cf428(0x154)]};return _0x1e4470;});}catch{return String(_0x17d2c9);}}function getTimezoneOffset(){const _0x2aebf0=a101_0x1af7,_0x404169=-new Date()['getTimezoneOffset'](),_0x299c59=Math[_0x2aebf0(0x129)](Math[_0x2aebf0(0x132)](_0x404169)/0x3c),_0x1abec1=Math[_0x2aebf0(0x132)](_0x404169)%0x3c,_0x299369=_0x404169>=0x0?'+':'-';return''+_0x299369+_0x299c59['toString']()[_0x2aebf0(0x14c)](0x2,'0')+_0x1abec1[_0x2aebf0(0x12f)]()[_0x2aebf0(0x14c)](0x2,'0');}function formatTimestamp(){const _0x157c5c=a101_0x1af7,_0x23a351=new Date(),_0xca2188=_0x23a351[_0x157c5c(0x140)](),_0x339ccf=(_0x23a351[_0x157c5c(0x144)]()+0x1)['toString']()['padStart'](0x2,'0'),_0x4b5531=_0x23a351[_0x157c5c(0x150)]()[_0x157c5c(0x12f)]()['padStart'](0x2,'0'),_0x522948=_0x23a351[_0x157c5c(0x151)]()[_0x157c5c(0x12f)]()[_0x157c5c(0x14c)](0x2,'0'),_0x66deff=_0x23a351[_0x157c5c(0x14b)]()[_0x157c5c(0x12f)]()[_0x157c5c(0x14c)](0x2,'0'),_0x415af6=_0x23a351[_0x157c5c(0x14a)]()[_0x157c5c(0x12f)]()[_0x157c5c(0x14c)](0x2,'0'),_0x51c25a=_0x23a351['getMilliseconds']()[_0x157c5c(0x12f)]()[_0x157c5c(0x14c)](0x3,'0'),_0x38a9ad=getTimezoneOffset();return _0xca2188+'-'+_0x339ccf+'-'+_0x4b5531+'\x20'+_0x522948+':'+_0x66deff+':'+_0x415af6+'.'+_0x51c25a+_0x38a9ad;}function formatColoredLogEntry(_0x2190ca,_0x2f9bf8){const _0x430fd7=a101_0x1af7,_0x4839f3=formatTimestamp(),_0x12a5b1=_0x2f9bf8[_0x430fd7(0x12a)](safeStringify)[_0x430fd7(0x123)]('\x20'),_0x3c8da0=a101_0x1d97c3['gray'](_0x4839f3);let _0x3d012f;switch(_0x2190ca){case _0x430fd7(0x137):_0x3d012f=a101_0x1d97c3['cyan']('['+_0x2190ca+']\x20');break;case _0x430fd7(0x119):_0x3d012f=a101_0x1d97c3[_0x430fd7(0x13f)]('['+_0x2190ca+']\x20');break;case _0x430fd7(0x135):_0x3d012f=a101_0x1d97c3[_0x430fd7(0x12e)]('['+_0x2190ca+']');break;case _0x430fd7(0x13d):_0x3d012f=a101_0x1d97c3[_0x430fd7(0x143)]('['+_0x2190ca+']');break;default:_0x3d012f='['+_0x2190ca+']';}return _0x3c8da0+'\x20'+_0x3d012f+'\x20'+_0x12a5b1;}function a101_0x4b50(){const _0x249634=['end','WARN','TRACE','1477010IHhSdD','rotateOldLogs','floor','map','test','logLevel','name','red','toString','3457048sxeqCl','includes','abs','split','1897prIoZB','error','message','info','filter','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','logDir','stringify','Proxy\x20session\x20ended','debug','logStream','yellow','getFullYear','1326486JcSwwv','INFO','gray','getMonth','.gz','9joWcCX','write','trace','DEBUG','getSeconds','getMinutes','padStart','tdx.log','8226mMPWix','toISOString','getDate','getHours','tdx','stack','cause','init','743472gRCNZJ','warn','fileOnly','logs','111536PUsuOt','close','Warning:\x20Failed\x20to\x20compress\x20','ERROR','string','log','510660eOpJre','join'];a101_0x4b50=function(){return _0x249634;};return a101_0x4b50();}export var LogLevel;(function(_0x81b383){const _0x1be5b4=a101_0x1af7;_0x81b383[_0x81b383[_0x1be5b4(0x126)]=-0x2]=_0x1be5b4(0x126),_0x81b383[_0x81b383[_0x1be5b4(0x149)]=-0x1]=_0x1be5b4(0x149),_0x81b383[_0x81b383[_0x1be5b4(0x142)]=0x0]=_0x1be5b4(0x142),_0x81b383[_0x81b383[_0x1be5b4(0x125)]=0x1]=_0x1be5b4(0x125),_0x81b383[_0x81b383[_0x1be5b4(0x11f)]=0x2]=_0x1be5b4(0x11f);}(LogLevel||(LogLevel={})));export class TDXLogger{[a101_0x5a3576(0x13e)];['logDir'];[a101_0x5a3576(0x12c)];[a101_0x5a3576(0x11a)];constructor(_0x3dc6bd=LogLevel['INFO'],_0x4c7eb8=![]){const _0x19a514=a101_0x5a3576;this['logDir']=join(homedir(),'.cache',_0x19a514(0x152),_0x19a514(0x11b)),this['logLevel']=_0x3dc6bd,this[_0x19a514(0x11a)]=_0x4c7eb8;}async[a101_0x5a3576(0x155)](){const _0xef8e80=a101_0x5a3576;try{await mkdir(this['logDir'],{'recursive':!![]}),await this['rotateOldLogs']();const _0xed46ac=join(this['logDir'],_0xef8e80(0x14d));this[_0xef8e80(0x13e)]=createWriteStream(_0xed46ac,{'flags':'a'}),this[_0xef8e80(0x13e)]['on'](_0xef8e80(0x135),_0x2cef84=>{const _0x2c3d15=_0xef8e80;console['error']('Warning:\x20Error\x20writing\x20to\x20tdx.log:',_0x2cef84[_0x2c3d15(0x136)]);});}catch(_0x2a6d8c){console[_0xef8e80(0x135)](_0xef8e80(0x139),_0x2a6d8c);}}async[a101_0x5a3576(0x128)](){const _0xc47db=a101_0x5a3576;try{const _0x5681f5=await readdir(this[_0xc47db(0x13a)]),_0x28dbff=new Date()[_0xc47db(0x14f)]()['split']('T')[0x0];if(_0x5681f5[_0xc47db(0x131)](_0xc47db(0x14d))){const _0x149b17=join(this[_0xc47db(0x13a)],_0xc47db(0x14d)),_0x34167c=await stat(_0x149b17),_0xf65de1=new Date(_0x34167c['mtime'])[_0xc47db(0x14f)]()[_0xc47db(0x133)]('T')[0x0];if(_0xf65de1<_0x28dbff){const _0x43fdf1=join(this[_0xc47db(0x13a)],'tdx-'+_0xf65de1+'.log');await rename(_0x149b17,_0x43fdf1);}}const _0x3768b1=await readdir(this[_0xc47db(0x13a)]),_0x1ea005=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x532752=_0x3768b1[_0xc47db(0x138)](_0x423431=>_0x1ea005[_0xc47db(0x12b)](_0x423431));for(const _0x37bb55 of _0x532752){const _0x40445f=join(this[_0xc47db(0x13a)],_0x37bb55),_0x18df64=join(this[_0xc47db(0x13a)],_0x37bb55+_0xc47db(0x145));try{await pipeline(createReadStream(_0x40445f),createGzip(),createWriteStream(_0x18df64)),await unlink(_0x40445f);}catch(_0x856a54){console[_0xc47db(0x135)](_0xc47db(0x11e)+_0x37bb55+':',_0x856a54);}}}catch{}}['debug'](..._0x1d28d4){const _0x306fff=a101_0x5a3576;if(this[_0x306fff(0x12c)]>LogLevel['DEBUG'])return;const _0x26bec8=formatColoredLogEntry(_0x306fff(0x13d),_0x1d28d4);this[_0x306fff(0x13e)]?.[_0x306fff(0x147)](_0x26bec8+'\x0a');}[a101_0x5a3576(0x148)](..._0x5aa85c){const _0x7f6089=a101_0x5a3576;if(this[_0x7f6089(0x12c)]>LogLevel[_0x7f6089(0x126)])return;const _0x273d68=formatColoredLogEntry('trace',_0x5aa85c);this[_0x7f6089(0x13e)]?.['write'](_0x273d68+'\x0a');}[a101_0x5a3576(0x137)](..._0x34e98e){const _0x4babe6=a101_0x5a3576;if(this['logLevel']>LogLevel[_0x4babe6(0x142)])return;const _0x519021=formatColoredLogEntry(_0x4babe6(0x137),_0x34e98e);!this[_0x4babe6(0x11a)]&&console[_0x4babe6(0x121)](_0x519021),this[_0x4babe6(0x13e)]?.['write'](_0x519021+'\x0a');}[a101_0x5a3576(0x119)](..._0x49200f){const _0x54e328=a101_0x5a3576;if(this[_0x54e328(0x12c)]>LogLevel[_0x54e328(0x125)])return;const _0x4760f1=formatColoredLogEntry('warn',_0x49200f);!this[_0x54e328(0x11a)]&&console['error'](_0x4760f1),this[_0x54e328(0x13e)]?.[_0x54e328(0x147)](_0x4760f1+'\x0a');}[a101_0x5a3576(0x135)](..._0x87d99d){const _0x394777=a101_0x5a3576,_0x37fe34=formatColoredLogEntry('error',_0x87d99d);!this[_0x394777(0x11a)]&&console[_0x394777(0x135)](_0x37fe34),this[_0x394777(0x13e)]?.['write'](_0x37fe34+'\x0a');}async[a101_0x5a3576(0x11d)](){const _0x5a10ee=a101_0x5a3576;return this[_0x5a10ee(0x137)](_0x5a10ee(0x13c)),new Promise(_0x3ab1b1=>{const _0x4722db=_0x5a10ee;this['logStream']?this[_0x4722db(0x13e)][_0x4722db(0x124)](()=>{_0x3ab1b1();}):_0x3ab1b1();});}['getLogPath'](){const _0x1dda45=a101_0x5a3576;return join(this[_0x1dda45(0x13a)],'tdx.log');}}
@@ -1 +1 @@
1
- (function(_0x421478,_0x47d8cb){const _0x510939=a102_0x4c62,_0x4e981c=_0x421478();while(!![]){try{const _0x8f81ea=parseInt(_0x510939(0xa4))/0x1+parseInt(_0x510939(0xb0))/0x2*(parseInt(_0x510939(0xa5))/0x3)+-parseInt(_0x510939(0xae))/0x4*(parseInt(_0x510939(0xad))/0x5)+parseInt(_0x510939(0xa6))/0x6*(parseInt(_0x510939(0xb9))/0x7)+parseInt(_0x510939(0xaa))/0x8+-parseInt(_0x510939(0xa9))/0x9+parseInt(_0x510939(0xb5))/0xa*(-parseInt(_0x510939(0xc2))/0xb);if(_0x8f81ea===_0x47d8cb)break;else _0x4e981c['push'](_0x4e981c['shift']());}catch(_0x1633f6){_0x4e981c['push'](_0x4e981c['shift']());}}}(a102_0x2836,0x42532));import{formatRows}from'./formatters.js';import a102_0x253ca1 from'chalk';function a102_0x2836(){const _0x422917=['folder','population','🎯\x20','sort','81710qLDoay','857733pJrsFb','36VaePtl','length','\x20\x20\x20\x20','1266597deXkvl','3636568fqpKIC','└──\x20','type','616895UCXvkL','4jOtgxM','dim','2YenZFY','name','\x20segment','icon','segmentCount','4610260ZDJmpj','showMetadata','map','folderCount','203714XIXUef','push','\x20\x20\x20','metadata','children','showIcons','├──\x20','showTreeLines','join','11Sjbpmk','segment','localeCompare'];a102_0x2836=function(){return _0x422917;};return a102_0x2836();}const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};function a102_0x4c62(_0x5a1eb5,_0x35f0bd){const _0x28363d=a102_0x2836();return a102_0x4c62=function(_0x4c621f,_0x15352c){_0x4c621f=_0x4c621f-0x9e;let _0x28ed15=_0x28363d[_0x4c621f];return _0x28ed15;},a102_0x4c62(_0x5a1eb5,_0x35f0bd);}export function formatTree(_0x220046,_0x3ea8a1={},_0x3e3555=0x0,_0x278352=''){const _0x2b22b6=a102_0x4c62,_0x178cea={...DEFAULT_OPTIONS,..._0x3ea8a1},_0x4b1aa6=[],_0x56cacc=[..._0x220046][_0x2b22b6(0xa3)]((_0x10b1f6,_0x28d4c6)=>_0x10b1f6[_0x2b22b6(0xb1)][_0x2b22b6(0x9f)](_0x28d4c6['name']));for(let _0x7e7ea2=0x0;_0x7e7ea2<_0x56cacc[_0x2b22b6(0xa7)];_0x7e7ea2++){const _0x5593c6=_0x56cacc[_0x7e7ea2],_0x4536f3=_0x7e7ea2===_0x56cacc[_0x2b22b6(0xa7)]-0x1;let _0x35e886='';_0x3e3555>0x0&&(_0x35e886+=_0x278352);_0x178cea[_0x2b22b6(0xc0)]&&_0x3e3555>0x0&&(_0x35e886+=a102_0x253ca1[_0x2b22b6(0xaf)](_0x4536f3?_0x2b22b6(0xab):_0x2b22b6(0xbf)));_0x178cea[_0x2b22b6(0xbe)]&&(_0x35e886+=_0x5593c6['type']===_0x2b22b6(0xa0)?'📁\x20':_0x2b22b6(0xa2));_0x35e886+=_0x5593c6[_0x2b22b6(0xb1)];if(_0x178cea[_0x2b22b6(0xb6)]){if(_0x5593c6['type']===_0x2b22b6(0xa0)){const _0x12c43b=[];_0x5593c6[_0x2b22b6(0xbc)]['segmentCount']&&_0x12c43b[_0x2b22b6(0xba)](_0x5593c6['metadata'][_0x2b22b6(0xb4)]+_0x2b22b6(0xb2)+(_0x5593c6[_0x2b22b6(0xbc)][_0x2b22b6(0xb4)]!==0x1?'s':'')),_0x5593c6[_0x2b22b6(0xbc)][_0x2b22b6(0xb8)]&&_0x12c43b['push'](_0x5593c6[_0x2b22b6(0xbc)][_0x2b22b6(0xb8)]+'\x20folder'+(_0x5593c6['metadata'][_0x2b22b6(0xb8)]!==0x1?'s':'')),_0x12c43b[_0x2b22b6(0xa7)]>0x0&&(_0x35e886+=a102_0x253ca1[_0x2b22b6(0xaf)]('\x20('+_0x12c43b[_0x2b22b6(0xc1)](',\x20')+')'));}else _0x5593c6[_0x2b22b6(0xac)]===_0x2b22b6(0x9e)&&_0x5593c6['population']!==undefined&&(_0x35e886+=a102_0x253ca1[_0x2b22b6(0xaf)]('\x20('+formatRows(_0x5593c6[_0x2b22b6(0xa1)])+')'));}_0x4b1aa6['push'](_0x35e886);if(_0x5593c6[_0x2b22b6(0xbd)]&&_0x5593c6[_0x2b22b6(0xbd)][_0x2b22b6(0xa7)]>0x0){let _0x35ce16;if(_0x3e3555===0x0)_0x35ce16='';else _0x178cea[_0x2b22b6(0xc0)]?_0x35ce16=_0x278352+(_0x4536f3?_0x2b22b6(0xa8):a102_0x253ca1[_0x2b22b6(0xaf)]('│')+_0x2b22b6(0xbb)):_0x35ce16=_0x278352+_0x178cea['indent'];const _0x49d989=formatTree(_0x5593c6[_0x2b22b6(0xbd)],_0x178cea,_0x3e3555+0x1,_0x35ce16);_0x4b1aa6[_0x2b22b6(0xba)](_0x49d989);}}return _0x4b1aa6[_0x2b22b6(0xc1)]('\x0a');}export function formatFlatList(_0x17ccfe,_0xfcf4d9,_0x440daa={}){const _0x534cfa=a102_0x4c62,_0x5d198a={...DEFAULT_OPTIONS,..._0x440daa},_0x68f16e=[];for(const _0xf56bed of _0x17ccfe){_0x68f16e[_0x534cfa(0xba)]({'name':_0xf56bed[_0x534cfa(0xb1)],'icon':_0x5d198a['showIcons']?'📁':'','metadata':undefined});}for(const _0x3e717f of _0xfcf4d9){const _0x4f23b5=_0x5d198a['showMetadata']&&_0x3e717f[_0x534cfa(0xa1)]!==undefined?a102_0x253ca1[_0x534cfa(0xaf)]('\x20('+formatRows(_0x3e717f['population'])+')'):'';_0x68f16e[_0x534cfa(0xba)]({'name':_0x3e717f[_0x534cfa(0xb1)],'icon':_0x5d198a[_0x534cfa(0xbe)]?'🎯':'','metadata':_0x4f23b5});}_0x68f16e[_0x534cfa(0xa3)]((_0x2ed61f,_0x48a857)=>_0x2ed61f[_0x534cfa(0xb1)][_0x534cfa(0x9f)](_0x48a857[_0x534cfa(0xb1)]));if(_0x68f16e['length']===0x0)return'(empty)';const _0x492978=_0x68f16e[_0x534cfa(0xb7)](_0x57391c=>{const _0x3d757c=_0x534cfa,_0x7100fd=_0x57391c[_0x3d757c(0xb3)]?_0x57391c[_0x3d757c(0xb3)]+'\x20':'',_0x2a4de9=_0x57391c[_0x3d757c(0xbc)]||'';return''+_0x7100fd+_0x57391c[_0x3d757c(0xb1)]+_0x2a4de9;});return _0x492978[_0x534cfa(0xc1)]('\x0a');}
1
+ function a102_0x1c23(_0x2d0b63,_0x585539){const _0x5e047d=a102_0x5e04();return a102_0x1c23=function(_0x1c23a1,_0x3dc4f5){_0x1c23a1=_0x1c23a1-0x116;let _0x5b71df=_0x5e047d[_0x1c23a1];return _0x5b71df;},a102_0x1c23(_0x2d0b63,_0x585539);}(function(_0x45e54d,_0x474303){const _0x2d4fcf=a102_0x1c23,_0x611f97=_0x45e54d();while(!![]){try{const _0x3f83df=parseInt(_0x2d4fcf(0x11b))/0x1+-parseInt(_0x2d4fcf(0x12e))/0x2+-parseInt(_0x2d4fcf(0x11a))/0x3+-parseInt(_0x2d4fcf(0x11d))/0x4+-parseInt(_0x2d4fcf(0x11e))/0x5+-parseInt(_0x2d4fcf(0x132))/0x6+parseInt(_0x2d4fcf(0x122))/0x7;if(_0x3f83df===_0x474303)break;else _0x611f97['push'](_0x611f97['shift']());}catch(_0x1621eb){_0x611f97['push'](_0x611f97['shift']());}}}(a102_0x5e04,0x1a3da));import{formatRows}from'./formatters.js';import a102_0xa1aa18 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};function a102_0x5e04(){const _0x3312fb=['435840KOoSfW','185247NHThAq','segmentCount','628780RNfvGQ','1003485xeIWSS','\x20folder','indent','└──\x20','4068078RQDflC','push','dim','name','segment','\x20\x20\x20\x20','metadata','showIcons','children','length','folderCount','type','297018KTDGpW','sort','icon','├──\x20','43428toKkvU','join','(empty)','folder','localeCompare','🎯\x20','population','map','showTreeLines','showMetadata'];a102_0x5e04=function(){return _0x3312fb;};return a102_0x5e04();}export function formatTree(_0x2d6498,_0x29f766={},_0x580e79=0x0,_0x49b972=''){const _0x336d00=a102_0x1c23,_0x39137a={...DEFAULT_OPTIONS,..._0x29f766},_0x34760b=[],_0x98072f=[..._0x2d6498]['sort']((_0x36ee5a,_0x2e6292)=>_0x36ee5a[_0x336d00(0x125)][_0x336d00(0x136)](_0x2e6292[_0x336d00(0x125)]));for(let _0x514e4a=0x0;_0x514e4a<_0x98072f[_0x336d00(0x12b)];_0x514e4a++){const _0x1baeed=_0x98072f[_0x514e4a],_0x5c5885=_0x514e4a===_0x98072f[_0x336d00(0x12b)]-0x1;let _0x548c0b='';_0x580e79>0x0&&(_0x548c0b+=_0x49b972);_0x39137a['showTreeLines']&&_0x580e79>0x0&&(_0x548c0b+=a102_0xa1aa18[_0x336d00(0x124)](_0x5c5885?_0x336d00(0x121):_0x336d00(0x131)));_0x39137a['showIcons']&&(_0x548c0b+=_0x1baeed[_0x336d00(0x12d)]===_0x336d00(0x135)?'📁\x20':_0x336d00(0x137));_0x548c0b+=_0x1baeed[_0x336d00(0x125)];if(_0x39137a[_0x336d00(0x119)]){if(_0x1baeed[_0x336d00(0x12d)]==='folder'){const _0x5a212b=[];_0x1baeed[_0x336d00(0x128)][_0x336d00(0x11c)]&&_0x5a212b[_0x336d00(0x123)](_0x1baeed[_0x336d00(0x128)]['segmentCount']+'\x20segment'+(_0x1baeed[_0x336d00(0x128)][_0x336d00(0x11c)]!==0x1?'s':'')),_0x1baeed['metadata'][_0x336d00(0x12c)]&&_0x5a212b[_0x336d00(0x123)](_0x1baeed['metadata'][_0x336d00(0x12c)]+_0x336d00(0x11f)+(_0x1baeed[_0x336d00(0x128)][_0x336d00(0x12c)]!==0x1?'s':'')),_0x5a212b[_0x336d00(0x12b)]>0x0&&(_0x548c0b+=a102_0xa1aa18[_0x336d00(0x124)]('\x20('+_0x5a212b['join'](',\x20')+')'));}else _0x1baeed[_0x336d00(0x12d)]===_0x336d00(0x126)&&_0x1baeed[_0x336d00(0x116)]!==undefined&&(_0x548c0b+=a102_0xa1aa18['dim']('\x20('+formatRows(_0x1baeed['population'])+')'));}_0x34760b['push'](_0x548c0b);if(_0x1baeed[_0x336d00(0x12a)]&&_0x1baeed[_0x336d00(0x12a)][_0x336d00(0x12b)]>0x0){let _0x3889e0;if(_0x580e79===0x0)_0x3889e0='';else _0x39137a[_0x336d00(0x118)]?_0x3889e0=_0x49b972+(_0x5c5885?_0x336d00(0x127):a102_0xa1aa18['dim']('│')+'\x20\x20\x20'):_0x3889e0=_0x49b972+_0x39137a[_0x336d00(0x120)];const _0x2d08e9=formatTree(_0x1baeed[_0x336d00(0x12a)],_0x39137a,_0x580e79+0x1,_0x3889e0);_0x34760b[_0x336d00(0x123)](_0x2d08e9);}}return _0x34760b[_0x336d00(0x133)]('\x0a');}export function formatFlatList(_0x174d6a,_0xad433a,_0x489f10={}){const _0x50ec29=a102_0x1c23,_0x39ba08={...DEFAULT_OPTIONS,..._0x489f10},_0x39289b=[];for(const _0x566a71 of _0x174d6a){_0x39289b[_0x50ec29(0x123)]({'name':_0x566a71[_0x50ec29(0x125)],'icon':_0x39ba08[_0x50ec29(0x129)]?'📁':'','metadata':undefined});}for(const _0x4f1645 of _0xad433a){const _0x1a326=_0x39ba08[_0x50ec29(0x119)]&&_0x4f1645[_0x50ec29(0x116)]!==undefined?a102_0xa1aa18[_0x50ec29(0x124)]('\x20('+formatRows(_0x4f1645['population'])+')'):'';_0x39289b[_0x50ec29(0x123)]({'name':_0x4f1645[_0x50ec29(0x125)],'icon':_0x39ba08[_0x50ec29(0x129)]?'🎯':'','metadata':_0x1a326});}_0x39289b[_0x50ec29(0x12f)]((_0x3df56e,_0xd98669)=>_0x3df56e[_0x50ec29(0x125)]['localeCompare'](_0xd98669[_0x50ec29(0x125)]));if(_0x39289b[_0x50ec29(0x12b)]===0x0)return _0x50ec29(0x134);const _0x15c656=_0x39289b[_0x50ec29(0x117)](_0x122ad2=>{const _0x12f73e=_0x50ec29,_0x5edeba=_0x122ad2[_0x12f73e(0x130)]?_0x122ad2['icon']+'\x20':'',_0x432670=_0x122ad2[_0x12f73e(0x128)]||'';return''+_0x5edeba+_0x122ad2[_0x12f73e(0x125)]+_0x432670;});return _0x15c656[_0x50ec29(0x133)]('\x0a');}
@@ -1 +1 @@
1
- const a103_0x101c0a=a103_0x17a0;(function(_0x2f5069,_0x8ba91c){const _0x4e839f=a103_0x17a0,_0x3df482=_0x2f5069();while(!![]){try{const _0x31229c=-parseInt(_0x4e839f(0x195))/0x1+-parseInt(_0x4e839f(0x192))/0x2*(-parseInt(_0x4e839f(0x182))/0x3)+parseInt(_0x4e839f(0x177))/0x4*(parseInt(_0x4e839f(0x174))/0x5)+-parseInt(_0x4e839f(0x18a))/0x6+-parseInt(_0x4e839f(0x196))/0x7*(parseInt(_0x4e839f(0x181))/0x8)+-parseInt(_0x4e839f(0x183))/0x9+parseInt(_0x4e839f(0x172))/0xa*(parseInt(_0x4e839f(0x176))/0xb);if(_0x31229c===_0x8ba91c)break;else _0x3df482['push'](_0x3df482['shift']());}catch(_0x55943d){_0x3df482['push'](_0x3df482['shift']());}}}(a103_0x5269,0x2bd88));function a103_0x5269(){const _0x3fd891=['565686jsXIyA','gray','currentVersion','Update\x20available:','updateAvailable','cyan','Invalid\x20version\x20format','778722QvzWef','green','statusCode','end','latestVersion','utf-8','write','parse','7202JLBiPd','error','NO_COLOR','168448PVgPXi','1197EPMiqU','isTTY','\x0aRun:\x20','last_version_check','dim','version','20TzvRLD','https://registry.npmjs.org/@treasuredata/tdx/latest','4280aEOhYi','stderr','2637569mUFqmy','708QlFuyt','\x0aUpdate\x20available:\x20','yellow','HTTP\x20','now','env','stringify','Run:','destroy','npm\x20install\x20-g\x20@treasuredata/tdx@latest','5408PIzRln','21MmKoEj'];a103_0x5269=function(){return _0x3fd891;};return a103_0x5269();}import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';function a103_0x17a0(_0x12e146,_0xe49d6d){const _0x5269bd=a103_0x5269();return a103_0x17a0=function(_0x17a0db,_0x5a22f7){_0x17a0db=_0x17a0db-0x16f;let _0x1f8b51=_0x5269bd[_0x17a0db];return _0x1f8b51;},a103_0x17a0(_0x12e146,_0xe49d6d);}import{join}from'path';import{gt,valid}from'semver';import a103_0x1ee38d from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a103_0x101c0a(0x173),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x567b5d=a103_0x101c0a,_0x19053c=getCacheDir();return join(_0x19053c,_0x567b5d(0x16f));}function readCache(){const _0x3e1dd1=a103_0x101c0a;try{const _0x57ebe6=getCacheFilePath(),_0x37fdd5=readFileSync(_0x57ebe6,_0x3e1dd1(0x18f));return JSON[_0x3e1dd1(0x191)](_0x37fdd5);}catch{return null;}}function writeCache(_0x5cb188){const _0x31d507=a103_0x101c0a;try{const _0x889f=getCacheDir();mkdirSync(_0x889f,{'recursive':!![]});const _0x34d08d={'lastCheck':new Date()['toISOString'](),'latestVersion':_0x5cb188},_0x4a856e=getCacheFilePath();writeFileSync(_0x4a856e,JSON[_0x31d507(0x17d)](_0x34d08d,null,0x2),_0x31d507(0x18f));}catch{}}function isCacheValid(_0x1d1ed7){const _0x78331=a103_0x101c0a;if(!_0x1d1ed7)return![];const _0x530310=new Date(_0x1d1ed7['lastCheck'])['getTime'](),_0x1c6e2e=Date[_0x78331(0x17b)]();return _0x1c6e2e-_0x530310<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x292583,_0x514202)=>{const _0x50617e=a103_0x17a0,_0xbcfc3=get(NPM_REGISTRY_URL,_0x10f8a7=>{const _0x5c3773=a103_0x17a0;if(_0x10f8a7[_0x5c3773(0x18c)]!==0xc8){clearTimeout(_0x3c4265),_0x514202(new Error(_0x5c3773(0x17a)+_0x10f8a7['statusCode']));return;}let _0x2a69d3='';_0x10f8a7['on']('data',_0x5ce4f0=>{_0x2a69d3+=_0x5ce4f0;}),_0x10f8a7['on'](_0x5c3773(0x18d),()=>{const _0x2da138=_0x5c3773;clearTimeout(_0x3c4265);try{const _0x1eb488=JSON[_0x2da138(0x191)](_0x2a69d3);if(!valid(_0x1eb488['version'])){_0x514202(new Error(_0x2da138(0x189)));return;}_0x292583(_0x1eb488[_0x2da138(0x171)]);}catch(_0x2e6dff){_0x514202(_0x2e6dff);}});})['on'](_0x50617e(0x193),_0x194392=>{clearTimeout(_0x3c4265),_0x514202(_0x194392);}),_0x3c4265=setTimeout(()=>{const _0x5efff9=_0x50617e;_0xbcfc3[_0x5efff9(0x17f)](),_0x514202(new Error('Request\x20timeout'));},TIMEOUT_MS);});}export async function checkForUpdate(_0x3e9caa){const _0x4c1cfd=a103_0x101c0a;try{const _0x16277c=readCache();if(isCacheValid(_0x16277c)){const _0x3d00f9=gt(_0x16277c['latestVersion'],_0x3e9caa);return{'updateAvailable':_0x3d00f9,'currentVersion':_0x3e9caa,'latestVersion':_0x16277c[_0x4c1cfd(0x18e)]};}const _0x21ed75=await fetchLatestVersion();writeCache(_0x21ed75);const _0x7881b=gt(_0x21ed75,_0x3e9caa);return{'updateAvailable':_0x7881b,'currentVersion':_0x3e9caa,'latestVersion':_0x21ed75};}catch{return null;}}export function displayUpdateNotification(_0x56be79){const _0xdb72f5=a103_0x101c0a;if(!_0x56be79[_0xdb72f5(0x187)])return;const _0x457b54=process[_0xdb72f5(0x175)][_0xdb72f5(0x197)]&&!process[_0xdb72f5(0x17c)][_0xdb72f5(0x194)],_0x19775e=_0x457b54?a103_0x1ee38d[_0xdb72f5(0x184)]('→'):'→',_0x561697=_0x457b54?a103_0x1ee38d[_0xdb72f5(0x170)](_0x56be79['currentVersion']):_0x56be79[_0xdb72f5(0x185)],_0x5c585e=_0x457b54?a103_0x1ee38d[_0xdb72f5(0x18b)](_0x56be79[_0xdb72f5(0x18e)]):_0x56be79[_0xdb72f5(0x18e)],_0x58485f=_0x457b54?a103_0x1ee38d[_0xdb72f5(0x188)](_0xdb72f5(0x180)):_0xdb72f5(0x180),_0x360a98=_0x457b54?'\x0a'+a103_0x1ee38d[_0xdb72f5(0x179)](_0xdb72f5(0x186))+'\x20'+_0x561697+'\x20'+_0x19775e+'\x20'+_0x5c585e+'\x0a'+a103_0x1ee38d[_0xdb72f5(0x170)](_0xdb72f5(0x17e))+'\x20'+_0x58485f+'\x0a':_0xdb72f5(0x178)+_0x561697+'\x20'+_0x19775e+'\x20'+_0x5c585e+_0xdb72f5(0x198)+_0x58485f+'\x0a';process[_0xdb72f5(0x175)][_0xdb72f5(0x190)](_0x360a98);}
1
+ (function(_0x358a24,_0x24c711){const _0x31625f=a103_0x4178,_0x4f0556=_0x358a24();while(!![]){try{const _0x3b6e02=-parseInt(_0x31625f(0x176))/0x1*(parseInt(_0x31625f(0x16d))/0x2)+parseInt(_0x31625f(0x169))/0x3+parseInt(_0x31625f(0x15c))/0x4*(parseInt(_0x31625f(0x173))/0x5)+-parseInt(_0x31625f(0x160))/0x6*(-parseInt(_0x31625f(0x164))/0x7)+-parseInt(_0x31625f(0x14e))/0x8*(parseInt(_0x31625f(0x174))/0x9)+-parseInt(_0x31625f(0x158))/0xa*(-parseInt(_0x31625f(0x172))/0xb)+-parseInt(_0x31625f(0x175))/0xc;if(_0x3b6e02===_0x24c711)break;else _0x4f0556['push'](_0x4f0556['shift']());}catch(_0xbae9e6){_0x4f0556['push'](_0x4f0556['shift']());}}}(a103_0x3dc5,0x9e5b3));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a103_0x40e824 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL='https://registry.npmjs.org/@treasuredata/tdx/latest',TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x4d5348=a103_0x4178,_0x4240ba=getCacheDir();return join(_0x4240ba,_0x4d5348(0x161));}function readCache(){const _0x457285=a103_0x4178;try{const _0x4baa93=getCacheFilePath(),_0x50f2e0=readFileSync(_0x4baa93,_0x457285(0x153));return JSON[_0x457285(0x15f)](_0x50f2e0);}catch{return null;}}function writeCache(_0x2239cc){const _0x520417=a103_0x4178;try{const _0x22ef4c=getCacheDir();mkdirSync(_0x22ef4c,{'recursive':!![]});const _0x52a22b={'lastCheck':new Date()[_0x520417(0x150)](),'latestVersion':_0x2239cc},_0x2e0156=getCacheFilePath();writeFileSync(_0x2e0156,JSON['stringify'](_0x52a22b,null,0x2),_0x520417(0x153));}catch{}}function a103_0x3dc5(){const _0xdc77b7=['data','toISOString','dim','npm\x20install\x20-g\x20@treasuredata/tdx@latest','utf-8','latestVersion','write','NO_COLOR','green','30Icuhqn','cyan','gray','HTTP\x20','1502864fEImnw','currentVersion','version','parse','438AQtyNp','last_version_check','end','\x0aUpdate\x20available:\x20','64967NvGoat','env','lastCheck','statusCode','error','1437075gbQZUT','stderr','destroy','Update\x20available:','80806eistwh','Invalid\x20version\x20format','\x0aRun:\x20','Request\x20timeout','isTTY','2856227eAfsRe','5cvlmMS','54AblCvA','3956460EPuwaM','13sRvrDd','getTime','1076872KngGty'];a103_0x3dc5=function(){return _0xdc77b7;};return a103_0x3dc5();}function isCacheValid(_0x1405b0){const _0x45f487=a103_0x4178;if(!_0x1405b0)return![];const _0x32c590=new Date(_0x1405b0[_0x45f487(0x166)])[_0x45f487(0x177)](),_0x19ae68=Date['now']();return _0x19ae68-_0x32c590<CACHE_DURATION_MS;}function a103_0x4178(_0x151332,_0x1fd900){const _0x3dc508=a103_0x3dc5();return a103_0x4178=function(_0x4178e2,_0x2e4be6){_0x4178e2=_0x4178e2-0x14e;let _0x549070=_0x3dc508[_0x4178e2];return _0x549070;},a103_0x4178(_0x151332,_0x1fd900);}function fetchLatestVersion(){return new Promise((_0xb24f8c,_0x5d84f2)=>{const _0xf87388=a103_0x4178,_0x19cc9f=get(NPM_REGISTRY_URL,_0x429ff3=>{const _0x3e8a7a=a103_0x4178;if(_0x429ff3['statusCode']!==0xc8){clearTimeout(_0x27d7e4),_0x5d84f2(new Error(_0x3e8a7a(0x15b)+_0x429ff3[_0x3e8a7a(0x167)]));return;}let _0x5a0940='';_0x429ff3['on'](_0x3e8a7a(0x14f),_0x1014f7=>{_0x5a0940+=_0x1014f7;}),_0x429ff3['on'](_0x3e8a7a(0x162),()=>{const _0x421d2b=_0x3e8a7a;clearTimeout(_0x27d7e4);try{const _0xc8f76b=JSON[_0x421d2b(0x15f)](_0x5a0940);if(!valid(_0xc8f76b['version'])){_0x5d84f2(new Error(_0x421d2b(0x16e)));return;}_0xb24f8c(_0xc8f76b[_0x421d2b(0x15e)]);}catch(_0x186621){_0x5d84f2(_0x186621);}});})['on'](_0xf87388(0x168),_0x5d0706=>{clearTimeout(_0x27d7e4),_0x5d84f2(_0x5d0706);}),_0x27d7e4=setTimeout(()=>{const _0x50b4d0=_0xf87388;_0x19cc9f[_0x50b4d0(0x16b)](),_0x5d84f2(new Error(_0x50b4d0(0x170)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x2c2279){const _0x1596b5=a103_0x4178;try{const _0x55f2cb=readCache();if(isCacheValid(_0x55f2cb)){const _0x44c618=gt(_0x55f2cb[_0x1596b5(0x154)],_0x2c2279);return{'updateAvailable':_0x44c618,'currentVersion':_0x2c2279,'latestVersion':_0x55f2cb[_0x1596b5(0x154)]};}const _0x4c5225=await fetchLatestVersion();writeCache(_0x4c5225);const _0x1c0b0b=gt(_0x4c5225,_0x2c2279);return{'updateAvailable':_0x1c0b0b,'currentVersion':_0x2c2279,'latestVersion':_0x4c5225};}catch{return null;}}export function displayUpdateNotification(_0x1a122e){const _0x2c45a4=a103_0x4178;if(!_0x1a122e['updateAvailable'])return;const _0x56b1ab=process[_0x2c45a4(0x16a)][_0x2c45a4(0x171)]&&!process[_0x2c45a4(0x165)][_0x2c45a4(0x156)],_0x3ce346=_0x56b1ab?a103_0x40e824[_0x2c45a4(0x15a)]('→'):'→',_0x542e19=_0x56b1ab?a103_0x40e824[_0x2c45a4(0x151)](_0x1a122e[_0x2c45a4(0x15d)]):_0x1a122e[_0x2c45a4(0x15d)],_0x5ddef2=_0x56b1ab?a103_0x40e824[_0x2c45a4(0x157)](_0x1a122e[_0x2c45a4(0x154)]):_0x1a122e[_0x2c45a4(0x154)],_0x110a4b=_0x56b1ab?a103_0x40e824[_0x2c45a4(0x159)](_0x2c45a4(0x152)):'npm\x20install\x20-g\x20@treasuredata/tdx@latest',_0x2df966=_0x56b1ab?'\x0a'+a103_0x40e824['yellow'](_0x2c45a4(0x16c))+'\x20'+_0x542e19+'\x20'+_0x3ce346+'\x20'+_0x5ddef2+'\x0a'+a103_0x40e824[_0x2c45a4(0x151)]('Run:')+'\x20'+_0x110a4b+'\x0a':_0x2c45a4(0x163)+_0x542e19+'\x20'+_0x3ce346+'\x20'+_0x5ddef2+_0x2c45a4(0x16f)+_0x110a4b+'\x0a';process[_0x2c45a4(0x16a)][_0x2c45a4(0x155)](_0x2df966);}
@@ -1 +1 @@
1
- const a104_0x4972fd=a104_0x294e;function a104_0x294e(_0x574b7c,_0x4f39be){const _0xd5d4a1=a104_0xd5d4();return a104_0x294e=function(_0x294e68,_0x53c22b){_0x294e68=_0x294e68-0xc4;let _0x548ec4=_0xd5d4a1[_0x294e68];return _0x548ec4;},a104_0x294e(_0x574b7c,_0x4f39be);}(function(_0x30b48f,_0x34bc7d){const _0x5d4525=a104_0x294e,_0x165955=_0x30b48f();while(!![]){try{const _0x34280b=parseInt(_0x5d4525(0xcc))/0x1+-parseInt(_0x5d4525(0xc5))/0x2+-parseInt(_0x5d4525(0xc8))/0x3+-parseInt(_0x5d4525(0xce))/0x4*(-parseInt(_0x5d4525(0xcf))/0x5)+-parseInt(_0x5d4525(0xc4))/0x6*(parseInt(_0x5d4525(0xc6))/0x7)+-parseInt(_0x5d4525(0xc9))/0x8+-parseInt(_0x5d4525(0xcd))/0x9*(-parseInt(_0x5d4525(0xca))/0xa);if(_0x34280b===_0x34bc7d)break;else _0x165955['push'](_0x165955['shift']());}catch(_0x16951b){_0x165955['push'](_0x165955['shift']());}}}(a104_0xd5d4,0xc2390));function a104_0xd5d4(){const _0x510ef0=['startsWith','816626jrzbDf','189yDBndc','620072sbhstz','50yKQEZm','.dig','12jXfUbs','574216CubvMs','649005rVyeYg','.digdag','2882280RPDpQt','3258712wddnQt','128270khHRUa'];a104_0xd5d4=function(){return _0x510ef0;};return a104_0xd5d4();}export const WORKFLOW_FILE_EXTENSION=a104_0x4972fd(0xd0);export function shouldIncludeInArchive(_0x3e6647){const _0x4ca556=a104_0x4972fd;if(_0x3e6647===_0x4ca556(0xc7))return!![];if(_0x3e6647[_0x4ca556(0xcb)]('.'))return![];return!![];}
1
+ function a104_0x1efc(){const _0x14e9e2=['5515200fHBBYH','374932CsVopq','.dig','410yvPeqX','204965kfYMfU','142VnDhDF','.digdag','startsWith','66EMrifM','90JcoGxj','1772868frRyfs','19863NuZsoe','12lOKxmi','3587542EjbQnm','2613MdKVLl'];a104_0x1efc=function(){return _0x14e9e2;};return a104_0x1efc();}const a104_0x338571=a104_0x326f;(function(_0x27fb34,_0x30ace1){const _0xac178b=a104_0x326f,_0x504524=_0x27fb34();while(!![]){try{const _0x2a6fa2=parseInt(_0xac178b(0x1c6))/0x1*(parseInt(_0xac178b(0x1bd))/0x2)+-parseInt(_0xac178b(0x1c4))/0x3*(-parseInt(_0xac178b(0x1c8))/0x4)+-parseInt(_0xac178b(0x1bc))/0x5*(parseInt(_0xac178b(0x1c1))/0x6)+parseInt(_0xac178b(0x1c5))/0x7+parseInt(_0xac178b(0x1c7))/0x8+parseInt(_0xac178b(0x1c3))/0x9*(parseInt(_0xac178b(0x1bb))/0xa)+-parseInt(_0xac178b(0x1c0))/0xb*(parseInt(_0xac178b(0x1c2))/0xc);if(_0x2a6fa2===_0x30ace1)break;else _0x504524['push'](_0x504524['shift']());}catch(_0x2c511c){_0x504524['push'](_0x504524['shift']());}}}(a104_0x1efc,0x55d1f));export const WORKFLOW_FILE_EXTENSION=a104_0x338571(0x1ba);function a104_0x326f(_0x532aad,_0x347b23){const _0x1efcfc=a104_0x1efc();return a104_0x326f=function(_0x326fe3,_0x1d4be2){_0x326fe3=_0x326fe3-0x1ba;let _0x7be906=_0x1efcfc[_0x326fe3];return _0x7be906;},a104_0x326f(_0x532aad,_0x347b23);}export function shouldIncludeInArchive(_0x1db5c7){const _0x257c03=a104_0x338571;if(_0x1db5c7===_0x257c03(0x1be))return!![];if(_0x1db5c7[_0x257c03(0x1bf)]('.'))return![];return!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.7.3",
3
+ "version": "0.7.4",
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": {