@treasuredata/tdx 0.4.0 → 0.4.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 (94) 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/http-client.js +1 -1
  6. package/dist/client/llm-api-client.js +1 -1
  7. package/dist/client/rate-limiter.js +1 -1
  8. package/dist/client/td-api-client.js +1 -1
  9. package/dist/client/trino-api-client.js +1 -1
  10. package/dist/client/workflow-client.js +1 -1
  11. package/dist/commands/activations.js +1 -1
  12. package/dist/commands/api-command.js +1 -1
  13. package/dist/commands/auth-command.js +1 -1
  14. package/dist/commands/chat-command.js +1 -1
  15. package/dist/commands/claude-command.js +1 -1
  16. package/dist/commands/command.js +1 -1
  17. package/dist/commands/context-command.js +1 -1
  18. package/dist/commands/databases.js +1 -1
  19. package/dist/commands/describe.js +1 -1
  20. package/dist/commands/job-command.js +1 -1
  21. package/dist/commands/llm-command.js +1 -1
  22. package/dist/commands/llm-proxy.js +1 -1
  23. package/dist/commands/parent-segment-command.js +1 -1
  24. package/dist/commands/profiles-command.js +1 -1
  25. package/dist/commands/query-command.js +1 -1
  26. package/dist/commands/segment-command.d.ts +9 -6
  27. package/dist/commands/segment-command.d.ts.map +1 -1
  28. package/dist/commands/segment-command.js +1 -1
  29. package/dist/commands/segment-command.js.map +1 -1
  30. package/dist/commands/segment-create-command.js +1 -1
  31. package/dist/commands/segment-fields-command.d.ts +3 -1
  32. package/dist/commands/segment-fields-command.d.ts.map +1 -1
  33. package/dist/commands/segment-fields-command.js +1 -1
  34. package/dist/commands/segment-fields-command.js.map +1 -1
  35. package/dist/commands/segment-pwd-command.js +1 -1
  36. package/dist/commands/segment-update-command.js +1 -1
  37. package/dist/commands/segment-use-command.js +1 -1
  38. package/dist/commands/segments.js +1 -1
  39. package/dist/commands/show.js +1 -1
  40. package/dist/commands/tables.js +1 -1
  41. package/dist/commands/use-command.js +1 -1
  42. package/dist/commands/workflow-command.js +1 -1
  43. package/dist/core/auth.js +1 -1
  44. package/dist/core/config.js +1 -1
  45. package/dist/core/credential-cache.js +1 -1
  46. package/dist/core/global-context.js +1 -1
  47. package/dist/core/keychain.d.ts.map +1 -1
  48. package/dist/core/keychain.js +1 -1
  49. package/dist/core/keychain.js.map +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/server.js +1 -1
  56. package/dist/proxy/session-cache.js +1 -1
  57. package/dist/sdk/api.js +1 -1
  58. package/dist/sdk/errors.js +1 -1
  59. package/dist/sdk/index.js +1 -1
  60. package/dist/sdk/job.js +1 -1
  61. package/dist/sdk/llm.js +1 -1
  62. package/dist/sdk/query.js +1 -1
  63. package/dist/sdk/segment.js +1 -1
  64. package/dist/sdk/workflow.js +1 -1
  65. package/dist/types/endpoints.js +1 -1
  66. package/dist/types/index.js +1 -1
  67. package/dist/utils/agent-ref-parser.js +1 -1
  68. package/dist/utils/chat-cache.js +1 -1
  69. package/dist/utils/colors.js +1 -1
  70. package/dist/utils/command-output.d.ts.map +1 -1
  71. package/dist/utils/command-output.js +1 -1
  72. package/dist/utils/command-output.js.map +1 -1
  73. package/dist/utils/constants.js +1 -1
  74. package/dist/utils/file-permissions.js +1 -1
  75. package/dist/utils/format-detector.js +1 -1
  76. package/dist/utils/formatters.js +1 -1
  77. package/dist/utils/json-loader.js +1 -1
  78. package/dist/utils/model-aliases.js +1 -1
  79. package/dist/utils/option-validation.js +1 -1
  80. package/dist/utils/port.js +1 -1
  81. package/dist/utils/process.js +1 -1
  82. package/dist/utils/prompt.js +1 -1
  83. package/dist/utils/segment-path-parser.js +1 -1
  84. package/dist/utils/segment-ref-parser.js +1 -1
  85. package/dist/utils/spinner.js +1 -1
  86. package/dist/utils/sql-parser.js +1 -1
  87. package/dist/utils/sse-parser.js +1 -1
  88. package/dist/utils/string-utils.js +1 -1
  89. package/dist/utils/table-ref-parser.js +1 -1
  90. package/dist/utils/tdx-logger.js +1 -1
  91. package/dist/utils/tree-formatter.js +1 -1
  92. package/dist/utils/version-check.js +1 -1
  93. package/dist/utils/workflow-utils.js +1 -1
  94. package/package.json +1 -1
@@ -1 +1 @@
1
- function a81_0x30b2(_0x5bf7e3,_0x4078fc){const _0x3e3d4f=a81_0x3e3d();return a81_0x30b2=function(_0x30b2ec,_0x33fec0){_0x30b2ec=_0x30b2ec-0x10d;let _0x3c31ae=_0x3e3d4f[_0x30b2ec];return _0x3c31ae;},a81_0x30b2(_0x5bf7e3,_0x4078fc);}(function(_0x2c4df7,_0x315835){const _0x3df361=a81_0x30b2,_0x36096f=_0x2c4df7();while(!![]){try{const _0x513d77=parseInt(_0x3df361(0x120))/0x1*(-parseInt(_0x3df361(0x111))/0x2)+parseInt(_0x3df361(0x11f))/0x3+parseInt(_0x3df361(0x115))/0x4+-parseInt(_0x3df361(0x112))/0x5+-parseInt(_0x3df361(0x113))/0x6+-parseInt(_0x3df361(0x110))/0x7*(-parseInt(_0x3df361(0x10e))/0x8)+parseInt(_0x3df361(0x11c))/0x9;if(_0x513d77===_0x315835)break;else _0x36096f['push'](_0x36096f['shift']());}catch(_0xfa3f3f){_0x36096f['push'](_0x36096f['shift']());}}}(a81_0x3e3d,0x9507b));export async function*parseSSEStream(_0x67694,_0x31d2db){const _0x144d8b=a81_0x30b2;if(!_0x67694[_0x144d8b(0x11a)])throw new Error(_0x144d8b(0x10d));const _0x2f05fe=_0x67694[_0x144d8b(0x11a)]['getReader'](),_0x3e118d=new TextDecoder();let _0x2053c2='',_0x5a2ed9={};try{while(!![]){const {done:_0x17a5e7,value:_0x2b1fcb}=await _0x2f05fe[_0x144d8b(0x11e)]();if(_0x17a5e7){if(_0x5a2ed9[_0x144d8b(0x11b)]){_0x31d2db?.[_0x144d8b(0x11d)](_0x144d8b(0x117)+_0x5a2ed9['data']);const _0x4a2094=parseSSEData(_0x5a2ed9[_0x144d8b(0x11b)]);yield _0x4a2094;}break;}_0x2053c2+=_0x3e118d[_0x144d8b(0x123)](_0x2b1fcb,{'stream':!![]});const _0xb16024=_0x2053c2[_0x144d8b(0x116)]('\x0a');_0x2053c2=_0xb16024['pop']()||'';for(const _0x75bd97 of _0xb16024){if(_0x75bd97[_0x144d8b(0x118)]()===''){if(_0x5a2ed9[_0x144d8b(0x11b)]){_0x31d2db?.[_0x144d8b(0x11d)](_0x144d8b(0x117)+_0x5a2ed9[_0x144d8b(0x11b)]);const _0x115f45=parseSSEData(_0x5a2ed9['data']);yield _0x115f45,_0x5a2ed9={};}continue;}if(_0x75bd97['startsWith'](':'))continue;const _0x388ba3=_0x75bd97['indexOf'](':');if(_0x388ba3===-0x1)continue;const _0x26b89e=_0x75bd97[_0x144d8b(0x10f)](0x0,_0x388ba3);let _0x4c9996=_0x75bd97[_0x144d8b(0x10f)](_0x388ba3+0x1);_0x4c9996[_0x144d8b(0x122)]('\x20')&&(_0x4c9996=_0x4c9996[_0x144d8b(0x10f)](0x1));switch(_0x26b89e){case _0x144d8b(0x121):_0x5a2ed9[_0x144d8b(0x121)]=_0x4c9996;break;case _0x144d8b(0x11b):_0x5a2ed9['data']=_0x5a2ed9[_0x144d8b(0x11b)]?_0x5a2ed9[_0x144d8b(0x11b)]+'\x0a'+_0x4c9996:_0x4c9996;break;case'id':_0x5a2ed9['id']=_0x4c9996;break;}}}}finally{_0x2f05fe[_0x144d8b(0x119)]();}}function parseSSEData(_0x1ac211){const _0x51e71e=a81_0x30b2;try{return JSON[_0x51e71e(0x114)](_0x1ac211);}catch(_0x3194a2){throw new Error('Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'+_0x1ac211,{'cause':_0x3194a2});}}function a81_0x3e3d(){const _0x373569=['split','[LLM\x20API\x20SSE]\x20','trim','releaseLock','body','data','2298483UuhoZM','debug','read','2443938mvHdDl','777817haEoTc','event','startsWith','decode','Response\x20body\x20is\x20null','168ykjXVi','slice','375263XGstiU','2TwsWxo','5069030CvARCi','989202DgJcVs','parse','1484380ZACfIN'];a81_0x3e3d=function(){return _0x373569;};return a81_0x3e3d();}
1
+ function a81_0x4fed(_0x2d7a87,_0xee2dac){const _0x1b028e=a81_0x1b02();return a81_0x4fed=function(_0x4fedd3,_0x22ee6c){_0x4fedd3=_0x4fedd3-0x1ee;let _0x211240=_0x1b028e[_0x4fedd3];return _0x211240;},a81_0x4fed(_0x2d7a87,_0xee2dac);}(function(_0x521a71,_0x167013){const _0x572eef=a81_0x4fed,_0x378dd9=_0x521a71();while(!![]){try{const _0x2074b8=parseInt(_0x572eef(0x1f5))/0x1+parseInt(_0x572eef(0x1fd))/0x2+-parseInt(_0x572eef(0x204))/0x3*(-parseInt(_0x572eef(0x200))/0x4)+-parseInt(_0x572eef(0x1ee))/0x5*(-parseInt(_0x572eef(0x1f1))/0x6)+parseInt(_0x572eef(0x1f6))/0x7*(-parseInt(_0x572eef(0x1fb))/0x8)+-parseInt(_0x572eef(0x1f0))/0x9+parseInt(_0x572eef(0x1fa))/0xa;if(_0x2074b8===_0x167013)break;else _0x378dd9['push'](_0x378dd9['shift']());}catch(_0x352ec9){_0x378dd9['push'](_0x378dd9['shift']());}}}(a81_0x1b02,0x4e4cc));function a81_0x1b02(){const _0x50d7a7=['6PIJJEL','getReader','body','startsWith','566328YraOHD','6433YpBgWv','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','split','read','1919540RxuRmA','5528jZSJpr','decode','220116pwAIzK','data','trim','5800WpBKpz','[LLM\x20API\x20SSE]\x20','slice','parse','246ZNRCPQ','1859510xcNLyX','debug','3630573xGSerB'];a81_0x1b02=function(){return _0x50d7a7;};return a81_0x1b02();}export async function*parseSSEStream(_0x1bef55,_0x5be334){const _0x5ae430=a81_0x4fed;if(!_0x1bef55['body'])throw new Error('Response\x20body\x20is\x20null');const _0x2490fa=_0x1bef55[_0x5ae430(0x1f3)][_0x5ae430(0x1f2)](),_0x3f6055=new TextDecoder();let _0x11f0a2='',_0x8da4f={};try{while(!![]){const {done:_0x289fb7,value:_0x3739ad}=await _0x2490fa[_0x5ae430(0x1f9)]();if(_0x289fb7){if(_0x8da4f[_0x5ae430(0x1fe)]){_0x5be334?.[_0x5ae430(0x1ef)](_0x5ae430(0x201)+_0x8da4f[_0x5ae430(0x1fe)]);const _0x56328f=parseSSEData(_0x8da4f['data']);yield _0x56328f;}break;}_0x11f0a2+=_0x3f6055[_0x5ae430(0x1fc)](_0x3739ad,{'stream':!![]});const _0x343890=_0x11f0a2[_0x5ae430(0x1f8)]('\x0a');_0x11f0a2=_0x343890['pop']()||'';for(const _0x2d0caf of _0x343890){if(_0x2d0caf[_0x5ae430(0x1ff)]()===''){if(_0x8da4f[_0x5ae430(0x1fe)]){_0x5be334?.[_0x5ae430(0x1ef)](_0x5ae430(0x201)+_0x8da4f[_0x5ae430(0x1fe)]);const _0x4fa985=parseSSEData(_0x8da4f['data']);yield _0x4fa985,_0x8da4f={};}continue;}if(_0x2d0caf[_0x5ae430(0x1f4)](':'))continue;const _0x5bb837=_0x2d0caf['indexOf'](':');if(_0x5bb837===-0x1)continue;const _0x12e0d7=_0x2d0caf[_0x5ae430(0x202)](0x0,_0x5bb837);let _0x438766=_0x2d0caf[_0x5ae430(0x202)](_0x5bb837+0x1);_0x438766[_0x5ae430(0x1f4)]('\x20')&&(_0x438766=_0x438766[_0x5ae430(0x202)](0x1));switch(_0x12e0d7){case'event':_0x8da4f['event']=_0x438766;break;case _0x5ae430(0x1fe):_0x8da4f[_0x5ae430(0x1fe)]=_0x8da4f['data']?_0x8da4f['data']+'\x0a'+_0x438766:_0x438766;break;case'id':_0x8da4f['id']=_0x438766;break;}}}}finally{_0x2490fa['releaseLock']();}}function parseSSEData(_0x3a2b14){const _0x5004f9=a81_0x4fed;try{return JSON[_0x5004f9(0x203)](_0x3a2b14);}catch(_0x2a9c74){throw new Error(_0x5004f9(0x1f7)+_0x3a2b14,{'cause':_0x2a9c74});}}
@@ -1 +1 @@
1
- (function(_0x2ea8cb,_0x1d4876){const _0x5e38ec=a82_0x2b99,_0x15c814=_0x2ea8cb();while(!![]){try{const _0x525ceb=parseInt(_0x5e38ec(0x106))/0x1*(parseInt(_0x5e38ec(0x104))/0x2)+-parseInt(_0x5e38ec(0x107))/0x3*(parseInt(_0x5e38ec(0x101))/0x4)+parseInt(_0x5e38ec(0xfe))/0x5+-parseInt(_0x5e38ec(0x10e))/0x6*(parseInt(_0x5e38ec(0x10a))/0x7)+parseInt(_0x5e38ec(0x102))/0x8+-parseInt(_0x5e38ec(0x10f))/0x9+parseInt(_0x5e38ec(0x10b))/0xa*(-parseInt(_0x5e38ec(0x105))/0xb);if(_0x525ceb===_0x1d4876)break;else _0x15c814['push'](_0x15c814['shift']());}catch(_0x4a2b08){_0x15c814['push'](_0x15c814['shift']());}}}(a82_0x1928,0x41ea0));import a82_0x6c8c16 from'string-width';export function stringWidth(_0x50e1d6){return a82_0x6c8c16(_0x50e1d6);}export function padEnd(_0x7227b3,_0x3a4ca8){const _0x1cf31d=a82_0x2b99,_0x2b4a66=stringWidth(_0x7227b3);if(_0x2b4a66>=_0x3a4ca8)return _0x7227b3;return _0x7227b3+'\x20'[_0x1cf31d(0x108)](_0x3a4ca8-_0x2b4a66);}export function padStart(_0x198c59,_0x4f5bad){const _0x3e92a6=a82_0x2b99,_0x57f653=stringWidth(_0x198c59);if(_0x57f653>=_0x4f5bad)return _0x198c59;return'\x20'[_0x3e92a6(0x108)](_0x4f5bad-_0x57f653)+_0x198c59;}export function centerAlign(_0x5a92c1,_0x329e0f){const _0x4a56bc=a82_0x2b99,_0x3de1c8=stringWidth(_0x5a92c1);if(_0x3de1c8>_0x329e0f){if(_0x329e0f<=0x1)return'…'[_0x4a56bc(0xfd)](0x0,_0x329e0f);let _0x44f884=_0x5a92c1;while(stringWidth(_0x44f884+'…')>_0x329e0f){_0x44f884=_0x44f884['slice'](0x0,-0x1);}return _0x44f884+'…';}if(_0x3de1c8===_0x329e0f)return _0x5a92c1;const _0x23960a=_0x329e0f-_0x3de1c8,_0x16d9d3=Math[_0x4a56bc(0x110)](_0x23960a/0x2),_0x2ed19a=_0x23960a-_0x16d9d3;return'\x20'[_0x4a56bc(0x108)](_0x16d9d3)+_0x5a92c1+'\x20'[_0x4a56bc(0x108)](_0x2ed19a);}export function escapeStringLiteral(_0x1acc94){const _0x520f0b=a82_0x2b99;if(!_0x1acc94||_0x1acc94['trim']()[_0x520f0b(0x10d)]===0x0)throw new Error('Cannot\x20escape\x20empty\x20string\x20literal');const _0x1d2c17=_0x1acc94[_0x520f0b(0xfb)](/'/g,'\x27\x27');return'\x27'+_0x1d2c17+'\x27';}export function globToLike(_0x5b903f){const _0x57dc96=a82_0x2b99;let _0x571fbb=_0x5b903f[_0x57dc96(0xfb)](/\\/g,'\x5c\x5c')[_0x57dc96(0xfb)](/%/g,'\x5c%')[_0x57dc96(0xfb)](/_/g,'\x5c_');return _0x571fbb=_0x571fbb[_0x57dc96(0xfb)](/\*/g,'%')[_0x57dc96(0xfb)](/\?/g,'_'),_0x571fbb;}function a82_0x1928(){const _0x4eba4d=['17977uMzdVs','31461ohRRPA','repeat','trim','5201mtWqFd','10MEDEbw','\x5c$&','length','2358dRrQQm','2540115yustlI','floor','replace','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','substring','1956190mCnJpI','toString','USER','4ThuyQo','3505544ZJslsW','test','14rUPvhV','1106215GGIefV'];a82_0x1928=function(){return _0x4eba4d;};return a82_0x1928();}export function buildLikePattern(_0x1ffa2e){const _0x4746ce=a82_0x2b99;if(!_0x1ffa2e||_0x1ffa2e[_0x4746ce(0x109)]()[_0x4746ce(0x10d)]===0x0)throw new Error(_0x4746ce(0xfc));const _0x2656e5=globToLike(_0x1ffa2e),_0x31803d=_0x2656e5[_0x4746ce(0xfb)](/'/g,'\x27\x27');return'\x27'+_0x31803d+'\x27';}export function matchGlobPattern(_0x21fcb5,_0x55094c){const _0x57c9c6=a82_0x2b99,_0x40e2ac=_0x55094c[_0x57c9c6(0xfb)](/[.+^${}()|[\]\\]/g,_0x57c9c6(0x10c))[_0x57c9c6(0xfb)](/\*/g,'.*')['replace'](/\?/g,'.'),_0x53d787=new RegExp('^'+_0x40e2ac+'$');return _0x53d787[_0x57c9c6(0x103)](_0x21fcb5);}export function getSanitizedUsername(){const _0x2eb599=a82_0x2b99,_0x466597=process['env'][_0x2eb599(0x100)]||process['env']['USERNAME']||'unknown';return _0x466597[_0x2eb599(0xfb)](/[^a-zA-Z0-9]/g,'')['toLowerCase']();}function a82_0x2b99(_0x45d962,_0x1312a7){const _0x1928b4=a82_0x1928();return a82_0x2b99=function(_0x2b99f7,_0x1d8e7e){_0x2b99f7=_0x2b99f7-0xfb;let _0x299fe7=_0x1928b4[_0x2b99f7];return _0x299fe7;},a82_0x2b99(_0x45d962,_0x1312a7);}export function generateRandomHex(){const _0x7f91f2=a82_0x2b99,_0x3f12ca=Math[_0x7f91f2(0x110)](Math['random']()*0xfffff);return _0x3f12ca[_0x7f91f2(0xff)](0x10)['padStart'](0x5,'0');}
1
+ function a82_0x3a3b(_0x1fe070,_0x1e2ffc){const _0x201e76=a82_0x201e();return a82_0x3a3b=function(_0x3a3ba1,_0x9fef5){_0x3a3ba1=_0x3a3ba1-0x99;let _0x255342=_0x201e76[_0x3a3ba1];return _0x255342;},a82_0x3a3b(_0x1fe070,_0x1e2ffc);}(function(_0x5ca52b,_0xd5e13a){const _0x2fc89f=a82_0x3a3b,_0x2ab23c=_0x5ca52b();while(!![]){try{const _0x15086d=-parseInt(_0x2fc89f(0xaa))/0x1*(-parseInt(_0x2fc89f(0xa5))/0x2)+-parseInt(_0x2fc89f(0x9e))/0x3*(parseInt(_0x2fc89f(0xb0))/0x4)+parseInt(_0x2fc89f(0xad))/0x5+parseInt(_0x2fc89f(0xae))/0x6+parseInt(_0x2fc89f(0x9f))/0x7+parseInt(_0x2fc89f(0xac))/0x8+-parseInt(_0x2fc89f(0xa6))/0x9;if(_0x15086d===_0xd5e13a)break;else _0x2ab23c['push'](_0x2ab23c['shift']());}catch(_0xacbd74){_0x2ab23c['push'](_0x2ab23c['shift']());}}}(a82_0x201e,0xd889d));import a82_0x38cae6 from'string-width';export function stringWidth(_0x12215d){return a82_0x38cae6(_0x12215d);}export function padEnd(_0x3dcae3,_0xed1859){const _0x400a29=a82_0x3a3b,_0x8faf9f=stringWidth(_0x3dcae3);if(_0x8faf9f>=_0xed1859)return _0x3dcae3;return _0x3dcae3+'\x20'[_0x400a29(0x9b)](_0xed1859-_0x8faf9f);}export function padStart(_0x5d3e97,_0x2f0334){const _0xe80910=a82_0x3a3b,_0x17fdcb=stringWidth(_0x5d3e97);if(_0x17fdcb>=_0x2f0334)return _0x5d3e97;return'\x20'[_0xe80910(0x9b)](_0x2f0334-_0x17fdcb)+_0x5d3e97;}export function centerAlign(_0x34183f,_0xe819f7){const _0x404fab=a82_0x3a3b,_0x4a0d10=stringWidth(_0x34183f);if(_0x4a0d10>_0xe819f7){if(_0xe819f7<=0x1)return'…'['substring'](0x0,_0xe819f7);let _0x165f5a=_0x34183f;while(stringWidth(_0x165f5a+'…')>_0xe819f7){_0x165f5a=_0x165f5a[_0x404fab(0xa1)](0x0,-0x1);}return _0x165f5a+'…';}if(_0x4a0d10===_0xe819f7)return _0x34183f;const _0x5d1509=_0xe819f7-_0x4a0d10,_0x2da912=Math[_0x404fab(0xaf)](_0x5d1509/0x2),_0x3f38c8=_0x5d1509-_0x2da912;return'\x20'[_0x404fab(0x9b)](_0x2da912)+_0x34183f+'\x20'[_0x404fab(0x9b)](_0x3f38c8);}export function escapeStringLiteral(_0x1c97d4){const _0x22e145=a82_0x3a3b;if(!_0x1c97d4||_0x1c97d4[_0x22e145(0xa2)]()[_0x22e145(0x9d)]===0x0)throw new Error(_0x22e145(0x9a));const _0x5b0042=_0x1c97d4[_0x22e145(0x9c)](/'/g,'\x27\x27');return'\x27'+_0x5b0042+'\x27';}export function globToLike(_0x57b40b){const _0x30010c=a82_0x3a3b;let _0xfb72ac=_0x57b40b[_0x30010c(0x9c)](/\\/g,'\x5c\x5c')[_0x30010c(0x9c)](/%/g,'\x5c%')[_0x30010c(0x9c)](/_/g,'\x5c_');return _0xfb72ac=_0xfb72ac['replace'](/\*/g,'%')[_0x30010c(0x9c)](/\?/g,'_'),_0xfb72ac;}export function buildLikePattern(_0x57c12f){const _0x1a388f=a82_0x3a3b;if(!_0x57c12f||_0x57c12f[_0x1a388f(0xa2)]()[_0x1a388f(0x9d)]===0x0)throw new Error('Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string');const _0x168383=globToLike(_0x57c12f),_0x4b059c=_0x168383[_0x1a388f(0x9c)](/'/g,'\x27\x27');return'\x27'+_0x4b059c+'\x27';}export function matchGlobPattern(_0x2f09c4,_0x1468b1){const _0x5bc1dd=a82_0x3a3b,_0x3c8e02=_0x1468b1['replace'](/[.+^${}()|[\]\\]/g,_0x5bc1dd(0xa8))['replace'](/\*/g,'.*')['replace'](/\?/g,'.'),_0x58b96b=new RegExp('^'+_0x3c8e02+'$');return _0x58b96b['test'](_0x2f09c4);}export function getSanitizedUsername(){const _0x2c7385=a82_0x3a3b,_0x32dc5e=process[_0x2c7385(0xab)]['USER']||process[_0x2c7385(0xab)][_0x2c7385(0xa3)]||_0x2c7385(0xa7);return _0x32dc5e['replace'](/[^a-zA-Z0-9]/g,'')[_0x2c7385(0xa0)]();}function a82_0x201e(){const _0x46e2ac=['random','Cannot\x20escape\x20empty\x20string\x20literal','repeat','replace','length','201lfJrQh','7329924BXzaWX','toLowerCase','slice','trim','USERNAME','padStart','190202gjOBcP','1150974IptXJL','unknown','\x5c$&','toString','2bTZQYl','env','6649024TQQeYR','1210065MjBywh','2795094wthSvJ','floor','105164OdXAVg'];a82_0x201e=function(){return _0x46e2ac;};return a82_0x201e();}export function generateRandomHex(){const _0x4a0ebd=a82_0x3a3b,_0x561b44=Math[_0x4a0ebd(0xaf)](Math[_0x4a0ebd(0x99)]()*0xfffff);return _0x561b44[_0x4a0ebd(0xa9)](0x10)[_0x4a0ebd(0xa4)](0x5,'0');}
@@ -1 +1 @@
1
- function a83_0xe3c1(){const _0x386482=['Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','split','catalog','database','2ICundt','18246ydPKfy','join','10735FplZcH','3794076dttvPe','6911980aTpbSS','push','includes','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','28yCWdNY','14GIeQag','512418ypvkXu','trim','2887848TDdZIg','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only','table','length','541495Mcplrg'];a83_0xe3c1=function(){return _0x386482;};return a83_0xe3c1();}function a83_0x43d4(_0x18a1d1,_0xd1f005){const _0xe3c13=a83_0xe3c1();return a83_0x43d4=function(_0x43d45c,_0x490fa8){_0x43d45c=_0x43d45c-0x1d5;let _0x1dab97=_0xe3c13[_0x43d45c];return _0x1dab97;},a83_0x43d4(_0x18a1d1,_0xd1f005);}(function(_0x1b4dce,_0xa4f252){const _0x6afa6e=a83_0x43d4,_0x4cd250=_0x1b4dce();while(!![]){try{const _0x48d140=parseInt(_0x6afa6e(0x1ec))/0x1*(parseInt(_0x6afa6e(0x1e9))/0x2)+parseInt(_0x6afa6e(0x1ea))/0x3*(-parseInt(_0x6afa6e(0x1d8))/0x4)+-parseInt(_0x6afa6e(0x1e3))/0x5+-parseInt(_0x6afa6e(0x1da))/0x6*(parseInt(_0x6afa6e(0x1d9))/0x7)+-parseInt(_0x6afa6e(0x1dc))/0x8+parseInt(_0x6afa6e(0x1ed))/0x9+parseInt(_0x6afa6e(0x1ee))/0xa;if(_0x48d140===_0xa4f252)break;else _0x4cd250['push'](_0x4cd250['shift']());}catch(_0x5c96a0){_0x4cd250['push'](_0x4cd250['shift']());}}}(a83_0xe3c1,0x6ba05));function hasWildcard(_0x20105b){const _0x446dfa=a83_0x43d4;return _0x20105b[_0x446dfa(0x1d6)]('*')||_0x20105b[_0x446dfa(0x1d6)]('?');}export function parseTableReference(_0x2c3632){const _0x5a4d6e=a83_0x43d4;if(!_0x2c3632||_0x2c3632[_0x5a4d6e(0x1db)]()[_0x5a4d6e(0x1e2)]===0x0)throw new Error(_0x5a4d6e(0x1e0));const _0x27cabd=_0x2c3632[_0x5a4d6e(0x1db)](),_0x1d3898={'original':_0x27cabd},_0x50a91f=_0x27cabd[_0x5a4d6e(0x1e6)]('.');if(_0x50a91f[_0x5a4d6e(0x1e2)]===0x1){const _0x2d881d=_0x50a91f[0x0];if(!_0x2d881d)throw new Error('Pattern\x20cannot\x20be\x20just\x20a\x20dot');_0x1d3898[_0x5a4d6e(0x1e1)]=_0x2d881d;}else{if(_0x50a91f['length']===0x2){const [_0x153b44,_0x4d3b9e]=_0x50a91f;if(!_0x153b44)throw new Error(_0x5a4d6e(0x1e5));if(!_0x4d3b9e)throw new Error(_0x5a4d6e(0x1df));_0x1d3898[_0x5a4d6e(0x1e8)]=_0x153b44,_0x1d3898[_0x5a4d6e(0x1e1)]=_0x4d3b9e;}else{if(_0x50a91f[_0x5a4d6e(0x1e2)]===0x3){const [_0x18c498,_0x20e029,_0x390ca9]=_0x50a91f;if(!_0x18c498||!_0x20e029||!_0x390ca9)throw new Error(_0x5a4d6e(0x1de));_0x1d3898[_0x5a4d6e(0x1e7)]=_0x18c498,_0x1d3898['database']=_0x20e029,_0x1d3898[_0x5a4d6e(0x1e1)]=_0x390ca9;}else throw new Error(_0x5a4d6e(0x1dd));}}return _0x1d3898;}export function formatTableReference(_0x66518d){const _0x20a641=a83_0x43d4,_0x411b52=[];return _0x66518d[_0x20a641(0x1e7)]&&_0x411b52['push'](_0x66518d['catalog']),_0x66518d[_0x20a641(0x1e8)]&&_0x411b52[_0x20a641(0x1d5)](_0x66518d[_0x20a641(0x1e8)]),_0x66518d[_0x20a641(0x1e1)]&&_0x411b52['push'](_0x66518d[_0x20a641(0x1e1)]),_0x411b52[_0x20a641(0x1eb)]('.');}export function validateTableListReference(_0x40c407){return undefined;}export function validateTableDescribeReference(_0x1c70e0){const _0x29e6d3=a83_0x43d4;if(!_0x1c70e0[_0x29e6d3(0x1e1)])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x1c70e0['database']&&hasWildcard(_0x1c70e0['database']))return _0x29e6d3(0x1e4);if(hasWildcard(_0x1c70e0[_0x29e6d3(0x1e1)]))return _0x29e6d3(0x1d7);return undefined;}
1
+ function a83_0x5294(){const _0x39f2d1=['includes','trim','14391553mJaOuF','length','6156040QWrrmU','join','catalog','Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)','25PcCxih','database','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','push','table','434498BmryTZ','278706BuieEg','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','112844ggpuLn','4200030QIPVMu','7969717KqHuJZ','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','6RkXtRv','12uVtSil','39gYhprU','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','30XTTSvE'];a83_0x5294=function(){return _0x39f2d1;};return a83_0x5294();}(function(_0x35a4c2,_0xf8b652){const _0x5704b0=a83_0x1624,_0x353822=_0x35a4c2();while(!![]){try{const _0x240a4e=-parseInt(_0x5704b0(0xde))/0x1*(-parseInt(_0x5704b0(0xe6))/0x2)+parseInt(_0x5704b0(0xe8))/0x3*(-parseInt(_0x5704b0(0xe2))/0x4)+-parseInt(_0x5704b0(0xd9))/0x5*(-parseInt(_0x5704b0(0xdf))/0x6)+-parseInt(_0x5704b0(0xe4))/0x7+parseInt(_0x5704b0(0xd5))/0x8+parseInt(_0x5704b0(0xe3))/0x9*(parseInt(_0x5704b0(0xeb))/0xa)+-parseInt(_0x5704b0(0xee))/0xb*(parseInt(_0x5704b0(0xe7))/0xc);if(_0x240a4e===_0xf8b652)break;else _0x353822['push'](_0x353822['shift']());}catch(_0x3bfa3c){_0x353822['push'](_0x353822['shift']());}}}(a83_0x5294,0xd9b13));function hasWildcard(_0x3fd8ab){const _0xb8961d=a83_0x1624;return _0x3fd8ab[_0xb8961d(0xec)]('*')||_0x3fd8ab['includes']('?');}export function parseTableReference(_0xaf4b8c){const _0x3ae4f6=a83_0x1624;if(!_0xaf4b8c||_0xaf4b8c[_0x3ae4f6(0xed)]()[_0x3ae4f6(0xd4)]===0x0)throw new Error('Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only');const _0x427cf6=_0xaf4b8c[_0x3ae4f6(0xed)](),_0x4e4548={'original':_0x427cf6},_0x4ef20b=_0x427cf6['split']('.');if(_0x4ef20b[_0x3ae4f6(0xd4)]===0x1){const _0x173f6d=_0x4ef20b[0x0];if(!_0x173f6d)throw new Error('Pattern\x20cannot\x20be\x20just\x20a\x20dot');_0x4e4548['table']=_0x173f6d;}else{if(_0x4ef20b[_0x3ae4f6(0xd4)]===0x2){const [_0x265897,_0x3ad5e5]=_0x4ef20b;if(!_0x265897)throw new Error(_0x3ae4f6(0xd8));if(!_0x3ad5e5)throw new Error(_0x3ae4f6(0xe5));_0x4e4548[_0x3ae4f6(0xda)]=_0x265897,_0x4e4548[_0x3ae4f6(0xdd)]=_0x3ad5e5;}else{if(_0x4ef20b[_0x3ae4f6(0xd4)]===0x3){const [_0x4cdf13,_0x30d684,_0x3a47ca]=_0x4ef20b;if(!_0x4cdf13||!_0x30d684||!_0x3a47ca)throw new Error(_0x3ae4f6(0xe1));_0x4e4548[_0x3ae4f6(0xd7)]=_0x4cdf13,_0x4e4548[_0x3ae4f6(0xda)]=_0x30d684,_0x4e4548[_0x3ae4f6(0xdd)]=_0x3a47ca;}else throw new Error(_0x3ae4f6(0xdb));}}return _0x4e4548;}export function formatTableReference(_0x4013a7){const _0x99fd9d=a83_0x1624,_0x1f1b13=[];return _0x4013a7['catalog']&&_0x1f1b13[_0x99fd9d(0xdc)](_0x4013a7['catalog']),_0x4013a7[_0x99fd9d(0xda)]&&_0x1f1b13[_0x99fd9d(0xdc)](_0x4013a7[_0x99fd9d(0xda)]),_0x4013a7[_0x99fd9d(0xdd)]&&_0x1f1b13[_0x99fd9d(0xdc)](_0x4013a7[_0x99fd9d(0xdd)]),_0x1f1b13[_0x99fd9d(0xd6)]('.');}export function validateTableListReference(_0x51dff4){return undefined;}function a83_0x1624(_0xf35618,_0x3c9f51){const _0x529453=a83_0x5294();return a83_0x1624=function(_0x162494,_0x4d13ec){_0x162494=_0x162494-0xd4;let _0x3e37b4=_0x529453[_0x162494];return _0x3e37b4;},a83_0x1624(_0xf35618,_0x3c9f51);}export function validateTableDescribeReference(_0x350de6){const _0x337438=a83_0x1624;if(!_0x350de6['table'])return _0x337438(0xe9);if(_0x350de6[_0x337438(0xda)]&&hasWildcard(_0x350de6['database']))return _0x337438(0xea);if(hasWildcard(_0x350de6[_0x337438(0xdd)]))return _0x337438(0xe0);return undefined;}
@@ -1 +1 @@
1
- const a84_0x3322e1=a84_0x3418;function a84_0x153e(){const _0x5bef48=['INFO','.gz','abs','warn','error','cyan','padStart','740628ZjfimP','tdx','logs','209306Fplhyk','tdx.log','write','46660SyKmKu','test','getDate','getHours','3294PNRBDH','getMonth','.cache','floor','string','getMilliseconds','toString','split','DEBUG','info','getMinutes','logStream','stack','3566778ABsdnA','3101aRSlPp','fileOnly','ERROR','name','red','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','363994tmUWrE','TRACE','logLevel','logDir','getLogPath','12Zgovqi','WARN','774715lSugGc','filter','rotateOldLogs','cause','join','includes','12440xLwRTQ','trace','message','getTimezoneOffset','Warning:\x20Failed\x20to\x20compress\x20','.log','debug','toISOString','map'];a84_0x153e=function(){return _0x5bef48;};return a84_0x153e();}(function(_0x55ef4a,_0xd3591f){const _0x1126cf=a84_0x3418,_0x33eb9e=_0x55ef4a();while(!![]){try{const _0x36ae5c=-parseInt(_0x1126cf(0x141))/0x1+-parseInt(_0x1126cf(0x161))/0x2+-parseInt(_0x1126cf(0x15e))/0x3+parseInt(_0x1126cf(0x146))/0x4*(-parseInt(_0x1126cf(0x148))/0x5)+parseInt(_0x1126cf(0x13a))/0x6+parseInt(_0x1126cf(0x13b))/0x7*(-parseInt(_0x1126cf(0x14e))/0x8)+parseInt(_0x1126cf(0x168))/0x9*(parseInt(_0x1126cf(0x164))/0xa);if(_0x36ae5c===_0xd3591f)break;else _0x33eb9e['push'](_0x33eb9e['shift']());}catch(_0x3ddc8b){_0x33eb9e['push'](_0x33eb9e['shift']());}}}(a84_0x153e,0x69b6a));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';function a84_0x3418(_0x610ef1,_0x1d1a3b){const _0x153e67=a84_0x153e();return a84_0x3418=function(_0x34184a,_0x169953){_0x34184a=_0x34184a-0x130;let _0x54e6d4=_0x153e67[_0x34184a];return _0x54e6d4;},a84_0x3418(_0x610ef1,_0x1d1a3b);}import{pipeline}from'stream/promises';import a84_0x20f525 from'chalk';function safeStringify(_0x21b79c){const _0x329294=a84_0x3418;if(typeof _0x21b79c===_0x329294(0x131))return _0x21b79c;if(_0x21b79c instanceof Error)return _0x21b79c[_0x329294(0x139)]||_0x21b79c[_0x329294(0x13e)]+':\x20'+_0x21b79c[_0x329294(0x150)];try{return JSON['stringify'](_0x21b79c,(_0x4b5ddc,_0x1fb5a1)=>{const _0x2363d6=_0x329294;if(_0x1fb5a1 instanceof Error)return{'name':_0x1fb5a1['name'],'message':_0x1fb5a1[_0x2363d6(0x150)],'stack':_0x1fb5a1[_0x2363d6(0x139)],'cause':_0x1fb5a1[_0x2363d6(0x14b)]};return _0x1fb5a1;});}catch{return String(_0x21b79c);}}function getTimezoneOffset(){const _0x39d6e1=a84_0x3418,_0x5796ad=-new Date()[_0x39d6e1(0x151)](),_0x5a676b=Math[_0x39d6e1(0x130)](Math[_0x39d6e1(0x159)](_0x5796ad)/0x3c),_0x4b3dce=Math[_0x39d6e1(0x159)](_0x5796ad)%0x3c,_0x2bd091=_0x5796ad>=0x0?'+':'-';return''+_0x2bd091+_0x5a676b[_0x39d6e1(0x133)]()[_0x39d6e1(0x15d)](0x2,'0')+_0x4b3dce[_0x39d6e1(0x133)]()[_0x39d6e1(0x15d)](0x2,'0');}function formatTimestamp(){const _0x2b1097=a84_0x3418,_0x5248e8=new Date(),_0x9b4498=_0x5248e8['getFullYear'](),_0x2b63c7=(_0x5248e8[_0x2b1097(0x169)]()+0x1)[_0x2b1097(0x133)]()[_0x2b1097(0x15d)](0x2,'0'),_0x6cfa70=_0x5248e8[_0x2b1097(0x166)]()['toString']()['padStart'](0x2,'0'),_0x4216ee=_0x5248e8[_0x2b1097(0x167)]()[_0x2b1097(0x133)]()[_0x2b1097(0x15d)](0x2,'0'),_0x5db25a=_0x5248e8[_0x2b1097(0x137)]()[_0x2b1097(0x133)]()[_0x2b1097(0x15d)](0x2,'0'),_0x43be5a=_0x5248e8['getSeconds']()[_0x2b1097(0x133)]()['padStart'](0x2,'0'),_0x6a6faa=_0x5248e8[_0x2b1097(0x132)]()[_0x2b1097(0x133)]()[_0x2b1097(0x15d)](0x3,'0'),_0x22b7c5=getTimezoneOffset();return _0x9b4498+'-'+_0x2b63c7+'-'+_0x6cfa70+'\x20'+_0x4216ee+':'+_0x5db25a+':'+_0x43be5a+'.'+_0x6a6faa+_0x22b7c5;}function formatColoredLogEntry(_0x320968,_0x24db6d){const _0x1c579b=a84_0x3418,_0x4455f9=formatTimestamp(),_0x4263fb=_0x24db6d[_0x1c579b(0x156)](safeStringify)[_0x1c579b(0x14c)]('\x20'),_0x390b44=a84_0x20f525['gray'](_0x4455f9);let _0x5e9212;switch(_0x320968){case _0x1c579b(0x136):_0x5e9212=a84_0x20f525[_0x1c579b(0x15c)]('['+_0x320968+']\x20');break;case'warn':_0x5e9212=a84_0x20f525['yellow']('['+_0x320968+']\x20');break;case _0x1c579b(0x15b):_0x5e9212=a84_0x20f525[_0x1c579b(0x13f)]('['+_0x320968+']');break;case _0x1c579b(0x154):_0x5e9212=a84_0x20f525['gray']('['+_0x320968+']');break;default:_0x5e9212='['+_0x320968+']';}return _0x390b44+'\x20'+_0x5e9212+'\x20'+_0x4263fb;}export var LogLevel;(function(_0x49261b){const _0x23c85e=a84_0x3418;_0x49261b[_0x49261b[_0x23c85e(0x142)]=-0x2]=_0x23c85e(0x142),_0x49261b[_0x49261b['DEBUG']=-0x1]=_0x23c85e(0x135),_0x49261b[_0x49261b[_0x23c85e(0x157)]=0x0]=_0x23c85e(0x157),_0x49261b[_0x49261b[_0x23c85e(0x147)]=0x1]=_0x23c85e(0x147),_0x49261b[_0x49261b[_0x23c85e(0x13d)]=0x2]=_0x23c85e(0x13d);}(LogLevel||(LogLevel={})));export class TDXLogger{[a84_0x3322e1(0x138)];[a84_0x3322e1(0x144)];[a84_0x3322e1(0x143)];[a84_0x3322e1(0x13c)];constructor(_0xb48ae8=LogLevel['INFO'],_0x4f27c9=![]){const _0x4a2a90=a84_0x3322e1;this[_0x4a2a90(0x144)]=join(homedir(),_0x4a2a90(0x16a),_0x4a2a90(0x15f),_0x4a2a90(0x160)),this[_0x4a2a90(0x143)]=_0xb48ae8,this[_0x4a2a90(0x13c)]=_0x4f27c9;}async['init'](){const _0x8eb0eb=a84_0x3322e1;try{await mkdir(this['logDir'],{'recursive':!![]}),await this[_0x8eb0eb(0x14a)]();const _0x60b636=join(this[_0x8eb0eb(0x144)],_0x8eb0eb(0x162));this[_0x8eb0eb(0x138)]=createWriteStream(_0x60b636,{'flags':'a'}),this[_0x8eb0eb(0x138)]['on']('error',_0x5f2983=>{const _0x5d4560=_0x8eb0eb;console[_0x5d4560(0x15b)]('Warning:\x20Error\x20writing\x20to\x20tdx.log:',_0x5f2983[_0x5d4560(0x150)]);});}catch(_0x21f657){console[_0x8eb0eb(0x15b)](_0x8eb0eb(0x140),_0x21f657);}}async[a84_0x3322e1(0x14a)](){const _0x32fcb6=a84_0x3322e1;try{const _0x28730a=await readdir(this['logDir']),_0x48f398=new Date()[_0x32fcb6(0x155)]()[_0x32fcb6(0x134)]('T')[0x0];if(_0x28730a[_0x32fcb6(0x14d)](_0x32fcb6(0x162))){const _0x23c7c9=join(this[_0x32fcb6(0x144)],_0x32fcb6(0x162)),_0x26bb03=await stat(_0x23c7c9),_0x8878b1=new Date(_0x26bb03['mtime'])[_0x32fcb6(0x155)]()[_0x32fcb6(0x134)]('T')[0x0];if(_0x8878b1<_0x48f398){const _0x62a0f0=join(this[_0x32fcb6(0x144)],'tdx-'+_0x8878b1+_0x32fcb6(0x153));await rename(_0x23c7c9,_0x62a0f0);}}const _0x3d90c8=await readdir(this[_0x32fcb6(0x144)]),_0x48f824=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x5b8521=_0x3d90c8[_0x32fcb6(0x149)](_0x58f59c=>_0x48f824[_0x32fcb6(0x165)](_0x58f59c));for(const _0x1517d9 of _0x5b8521){const _0x167c2a=join(this[_0x32fcb6(0x144)],_0x1517d9),_0x54addb=join(this['logDir'],_0x1517d9+_0x32fcb6(0x158));try{await pipeline(createReadStream(_0x167c2a),createGzip(),createWriteStream(_0x54addb)),await unlink(_0x167c2a);}catch(_0x440c2b){console[_0x32fcb6(0x15b)](_0x32fcb6(0x152)+_0x1517d9+':',_0x440c2b);}}}catch{}}[a84_0x3322e1(0x154)](..._0x48878d){const _0x5ac085=a84_0x3322e1;if(this[_0x5ac085(0x143)]>LogLevel[_0x5ac085(0x135)])return;const _0xdb3825=formatColoredLogEntry(_0x5ac085(0x154),_0x48878d);this[_0x5ac085(0x138)]?.['write'](_0xdb3825+'\x0a');}[a84_0x3322e1(0x14f)](..._0x5ebd45){const _0x34f332=a84_0x3322e1;if(this[_0x34f332(0x143)]>LogLevel[_0x34f332(0x142)])return;const _0x33ebe3=formatColoredLogEntry(_0x34f332(0x14f),_0x5ebd45);this['logStream']?.[_0x34f332(0x163)](_0x33ebe3+'\x0a');}[a84_0x3322e1(0x136)](..._0x30a2c5){const _0x2b04d5=a84_0x3322e1;if(this[_0x2b04d5(0x143)]>LogLevel[_0x2b04d5(0x157)])return;const _0x9a98bc=formatColoredLogEntry(_0x2b04d5(0x136),_0x30a2c5);!this[_0x2b04d5(0x13c)]&&console['log'](_0x9a98bc),this['logStream']?.[_0x2b04d5(0x163)](_0x9a98bc+'\x0a');}[a84_0x3322e1(0x15a)](..._0x38a320){const _0x3826f8=a84_0x3322e1;if(this[_0x3826f8(0x143)]>LogLevel[_0x3826f8(0x147)])return;const _0x4e0b45=formatColoredLogEntry(_0x3826f8(0x15a),_0x38a320);!this[_0x3826f8(0x13c)]&&console[_0x3826f8(0x15b)](_0x4e0b45),this['logStream']?.['write'](_0x4e0b45+'\x0a');}['error'](..._0x3939a5){const _0x45eb0d=a84_0x3322e1,_0x2e8b0d=formatColoredLogEntry(_0x45eb0d(0x15b),_0x3939a5);!this['fileOnly']&&console[_0x45eb0d(0x15b)](_0x2e8b0d),this[_0x45eb0d(0x138)]?.[_0x45eb0d(0x163)](_0x2e8b0d+'\x0a');}async['close'](){const _0x338b84=a84_0x3322e1;return this[_0x338b84(0x136)]('Proxy\x20session\x20ended'),new Promise(_0x1292bd=>{const _0x74c8f2=_0x338b84;this[_0x74c8f2(0x138)]?this[_0x74c8f2(0x138)]['end'](()=>{_0x1292bd();}):_0x1292bd();});}[a84_0x3322e1(0x145)](){const _0x42b0c3=a84_0x3322e1;return join(this[_0x42b0c3(0x144)],_0x42b0c3(0x162));}}
1
+ const a84_0x40811a=a84_0x5ce8;function a84_0x3a97(){const _0xe05470=['log','DEBUG','.cache','abs','getFullYear','getSeconds','message','INFO','test','150065eTILOp','tdx','80ticZBV','logDir','trace','logLevel','cause','end','1075698cZCuMP','fileOnly','padStart','10249386IindNa','toISOString','ERROR','stringify','split','22gVbepH','getDate','3YTROsu','rotateOldLogs','warn','name','getMilliseconds','204tQVRgm','logs','yellow','toString','21920YBDOgW','write','init','879209yMsTun','gray','34066dFwede','red','getHours','TRACE','debug','stack','error','.gz','string','info','4261070OiQmPi','filter','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','mtime','close','tdx.log','WARN','join','Warning:\x20Failed\x20to\x20compress\x20','logStream','.log'];a84_0x3a97=function(){return _0xe05470;};return a84_0x3a97();}(function(_0x32a49c,_0x2499db){const _0x248599=a84_0x5ce8,_0x3c3147=_0x32a49c();while(!![]){try{const _0x66535d=-parseInt(_0x248599(0xfc))/0x1+parseInt(_0x248599(0xfe))/0x2*(parseInt(_0x248599(0x12e))/0x3)+parseInt(_0x248599(0xf9))/0x4+parseInt(_0x248599(0x11c))/0x5*(parseInt(_0x248599(0xf5))/0x6)+-parseInt(_0x248599(0x127))/0x7+parseInt(_0x248599(0x11e))/0x8*(parseInt(_0x248599(0x124))/0x9)+parseInt(_0x248599(0x108))/0xa*(parseInt(_0x248599(0x12c))/0xb);if(_0x66535d===_0x2499db)break;else _0x3c3147['push'](_0x3c3147['shift']());}catch(_0x51cac1){_0x3c3147['push'](_0x3c3147['shift']());}}}(a84_0x3a97,0xb65e6));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 a84_0x5ce8(_0x449ed9,_0x47ffcc){const _0x3a978b=a84_0x3a97();return a84_0x5ce8=function(_0x5ce8f0,_0x1cbfa4){_0x5ce8f0=_0x5ce8f0-0xf5;let _0x5c7ae0=_0x3a978b[_0x5ce8f0];return _0x5c7ae0;},a84_0x5ce8(_0x449ed9,_0x47ffcc);}import a84_0x4b722a from'chalk';function safeStringify(_0x4c0b8c){const _0x5d7823=a84_0x5ce8;if(typeof _0x4c0b8c===_0x5d7823(0x106))return _0x4c0b8c;if(_0x4c0b8c instanceof Error)return _0x4c0b8c[_0x5d7823(0x103)]||_0x4c0b8c['name']+':\x20'+_0x4c0b8c[_0x5d7823(0x119)];try{return JSON[_0x5d7823(0x12a)](_0x4c0b8c,(_0x13180d,_0x4b62dc)=>{const _0x29de87=_0x5d7823;if(_0x4b62dc instanceof Error)return{'name':_0x4b62dc[_0x29de87(0x131)],'message':_0x4b62dc[_0x29de87(0x119)],'stack':_0x4b62dc[_0x29de87(0x103)],'cause':_0x4b62dc[_0x29de87(0x122)]};return _0x4b62dc;});}catch{return String(_0x4c0b8c);}}function getTimezoneOffset(){const _0x1b6e44=a84_0x5ce8,_0x999a48=-new Date()['getTimezoneOffset'](),_0x4cddd9=Math['floor'](Math[_0x1b6e44(0x116)](_0x999a48)/0x3c),_0x39eb16=Math[_0x1b6e44(0x116)](_0x999a48)%0x3c,_0x2bb182=_0x999a48>=0x0?'+':'-';return''+_0x2bb182+_0x4cddd9['toString']()[_0x1b6e44(0x126)](0x2,'0')+_0x39eb16['toString']()[_0x1b6e44(0x126)](0x2,'0');}function formatTimestamp(){const _0x3f2113=a84_0x5ce8,_0x17b9c0=new Date(),_0x1eb215=_0x17b9c0[_0x3f2113(0x117)](),_0x2a000e=(_0x17b9c0['getMonth']()+0x1)['toString']()[_0x3f2113(0x126)](0x2,'0'),_0xb792d3=_0x17b9c0[_0x3f2113(0x12d)]()[_0x3f2113(0xf8)]()[_0x3f2113(0x126)](0x2,'0'),_0x169d20=_0x17b9c0[_0x3f2113(0x100)]()[_0x3f2113(0xf8)]()[_0x3f2113(0x126)](0x2,'0'),_0xfa6c6e=_0x17b9c0['getMinutes']()['toString']()[_0x3f2113(0x126)](0x2,'0'),_0x4df684=_0x17b9c0[_0x3f2113(0x118)]()[_0x3f2113(0xf8)]()[_0x3f2113(0x126)](0x2,'0'),_0x402c56=_0x17b9c0[_0x3f2113(0x132)]()[_0x3f2113(0xf8)]()[_0x3f2113(0x126)](0x3,'0'),_0x266690=getTimezoneOffset();return _0x1eb215+'-'+_0x2a000e+'-'+_0xb792d3+'\x20'+_0x169d20+':'+_0xfa6c6e+':'+_0x4df684+'.'+_0x402c56+_0x266690;}function formatColoredLogEntry(_0x29eeb1,_0x3991a2){const _0x5526b4=a84_0x5ce8,_0x4c411d=formatTimestamp(),_0x25fcf3=_0x3991a2['map'](safeStringify)[_0x5526b4(0x10f)]('\x20'),_0xd782f1=a84_0x4b722a[_0x5526b4(0xfd)](_0x4c411d);let _0x4cf35f;switch(_0x29eeb1){case'info':_0x4cf35f=a84_0x4b722a['cyan']('['+_0x29eeb1+']\x20');break;case _0x5526b4(0x130):_0x4cf35f=a84_0x4b722a[_0x5526b4(0xf7)]('['+_0x29eeb1+']\x20');break;case'error':_0x4cf35f=a84_0x4b722a[_0x5526b4(0xff)]('['+_0x29eeb1+']');break;case'debug':_0x4cf35f=a84_0x4b722a[_0x5526b4(0xfd)]('['+_0x29eeb1+']');break;default:_0x4cf35f='['+_0x29eeb1+']';}return _0xd782f1+'\x20'+_0x4cf35f+'\x20'+_0x25fcf3;}export var LogLevel;(function(_0x187dfe){const _0x54a831=a84_0x5ce8;_0x187dfe[_0x187dfe[_0x54a831(0x101)]=-0x2]='TRACE',_0x187dfe[_0x187dfe['DEBUG']=-0x1]=_0x54a831(0x114),_0x187dfe[_0x187dfe['INFO']=0x0]=_0x54a831(0x11a),_0x187dfe[_0x187dfe[_0x54a831(0x10e)]=0x1]=_0x54a831(0x10e),_0x187dfe[_0x187dfe[_0x54a831(0x129)]=0x2]=_0x54a831(0x129);}(LogLevel||(LogLevel={})));export class TDXLogger{[a84_0x40811a(0x111)];[a84_0x40811a(0x11f)];['logLevel'];[a84_0x40811a(0x125)];constructor(_0x4fb5e1=LogLevel['INFO'],_0x23087e=![]){const _0x5d5c2c=a84_0x40811a;this[_0x5d5c2c(0x11f)]=join(homedir(),_0x5d5c2c(0x115),_0x5d5c2c(0x11d),_0x5d5c2c(0xf6)),this['logLevel']=_0x4fb5e1,this[_0x5d5c2c(0x125)]=_0x23087e;}async[a84_0x40811a(0xfb)](){const _0x240e71=a84_0x40811a;try{await mkdir(this['logDir'],{'recursive':!![]}),await this[_0x240e71(0x12f)]();const _0x4c9a20=join(this['logDir'],_0x240e71(0x10d));this['logStream']=createWriteStream(_0x4c9a20,{'flags':'a'}),this[_0x240e71(0x111)]['on'](_0x240e71(0x104),_0x275895=>{const _0x4762d2=_0x240e71;console[_0x4762d2(0x104)]('Warning:\x20Error\x20writing\x20to\x20tdx.log:',_0x275895[_0x4762d2(0x119)]);});}catch(_0x5a01e9){console['error'](_0x240e71(0x10a),_0x5a01e9);}}async[a84_0x40811a(0x12f)](){const _0x1a8f8f=a84_0x40811a;try{const _0x17a748=await readdir(this[_0x1a8f8f(0x11f)]),_0x4b6198=new Date()[_0x1a8f8f(0x128)]()[_0x1a8f8f(0x12b)]('T')[0x0];if(_0x17a748['includes'](_0x1a8f8f(0x10d))){const _0x77b7af=join(this['logDir'],'tdx.log'),_0x5b044a=await stat(_0x77b7af),_0x1d0576=new Date(_0x5b044a[_0x1a8f8f(0x10b)])[_0x1a8f8f(0x128)]()[_0x1a8f8f(0x12b)]('T')[0x0];if(_0x1d0576<_0x4b6198){const _0x4ce5ee=join(this[_0x1a8f8f(0x11f)],'tdx-'+_0x1d0576+_0x1a8f8f(0x112));await rename(_0x77b7af,_0x4ce5ee);}}const _0x33b3b8=await readdir(this[_0x1a8f8f(0x11f)]),_0x43e39c=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x315231=_0x33b3b8[_0x1a8f8f(0x109)](_0x1b1f02=>_0x43e39c[_0x1a8f8f(0x11b)](_0x1b1f02));for(const _0x23836c of _0x315231){const _0x4a4b9a=join(this[_0x1a8f8f(0x11f)],_0x23836c),_0x2458e0=join(this[_0x1a8f8f(0x11f)],_0x23836c+_0x1a8f8f(0x105));try{await pipeline(createReadStream(_0x4a4b9a),createGzip(),createWriteStream(_0x2458e0)),await unlink(_0x4a4b9a);}catch(_0x7e6fe1){console['error'](_0x1a8f8f(0x110)+_0x23836c+':',_0x7e6fe1);}}}catch{}}['debug'](..._0x162774){const _0x57345b=a84_0x40811a;if(this[_0x57345b(0x121)]>LogLevel[_0x57345b(0x114)])return;const _0x156ef5=formatColoredLogEntry(_0x57345b(0x102),_0x162774);this[_0x57345b(0x111)]?.[_0x57345b(0xfa)](_0x156ef5+'\x0a');}[a84_0x40811a(0x120)](..._0x165b2f){const _0x24fd41=a84_0x40811a;if(this[_0x24fd41(0x121)]>LogLevel[_0x24fd41(0x101)])return;const _0x483090=formatColoredLogEntry(_0x24fd41(0x120),_0x165b2f);this['logStream']?.['write'](_0x483090+'\x0a');}[a84_0x40811a(0x107)](..._0x1dbbac){const _0x4af285=a84_0x40811a;if(this[_0x4af285(0x121)]>LogLevel['INFO'])return;const _0x22e918=formatColoredLogEntry(_0x4af285(0x107),_0x1dbbac);!this['fileOnly']&&console[_0x4af285(0x113)](_0x22e918),this[_0x4af285(0x111)]?.[_0x4af285(0xfa)](_0x22e918+'\x0a');}['warn'](..._0x2d2145){const _0x38008a=a84_0x40811a;if(this['logLevel']>LogLevel[_0x38008a(0x10e)])return;const _0x104950=formatColoredLogEntry('warn',_0x2d2145);!this[_0x38008a(0x125)]&&console[_0x38008a(0x104)](_0x104950),this[_0x38008a(0x111)]?.[_0x38008a(0xfa)](_0x104950+'\x0a');}[a84_0x40811a(0x104)](..._0x30b2a3){const _0x275457=a84_0x40811a,_0x4721c9=formatColoredLogEntry('error',_0x30b2a3);!this[_0x275457(0x125)]&&console[_0x275457(0x104)](_0x4721c9),this[_0x275457(0x111)]?.[_0x275457(0xfa)](_0x4721c9+'\x0a');}async[a84_0x40811a(0x10c)](){return this['info']('Proxy\x20session\x20ended'),new Promise(_0x169cef=>{const _0x347b94=a84_0x5ce8;this[_0x347b94(0x111)]?this['logStream'][_0x347b94(0x123)](()=>{_0x169cef();}):_0x169cef();});}['getLogPath'](){return join(this['logDir'],'tdx.log');}}
@@ -1 +1 @@
1
- function a85_0xb169(_0x15e739,_0x5e7e83){const _0x217639=a85_0x2176();return a85_0xb169=function(_0xb169a9,_0x599505){_0xb169a9=_0xb169a9-0x79;let _0x5933fa=_0x217639[_0xb169a9];return _0x5933fa;},a85_0xb169(_0x15e739,_0x5e7e83);}function a85_0x2176(){const _0x45eccf=['indent','segment','643776wnRhKa','\x20folder','716934LEaelp','463534onKMXI','map','\x20segment','📁\x20','type','showTreeLines','metadata','3RQbRLa','13392rwNHiH','icon','push','3735389ivbvMK','showIcons','└──\x20','showMetadata','length','9176ziLnwM','folderCount','3363415dlyYMi','name','localeCompare','├──\x20','dim','join','segmentCount','children','\x20\x20\x20\x20','folder','\x20\x20\x20','population','2110784YHrlHj'];a85_0x2176=function(){return _0x45eccf;};return a85_0x2176();}(function(_0x128217,_0x37f9f7){const _0x8c98af=a85_0xb169,_0x286e2f=_0x128217();while(!![]){try{const _0x307bc6=-parseInt(_0x8c98af(0x92))/0x1*(-parseInt(_0x8c98af(0x8b))/0x2)+-parseInt(_0x8c98af(0x88))/0x3+parseInt(_0x8c98af(0x85))/0x4+parseInt(_0x8c98af(0x79))/0x5+-parseInt(_0x8c98af(0x8a))/0x6+parseInt(_0x8c98af(0x96))/0x7+parseInt(_0x8c98af(0x9b))/0x8*(-parseInt(_0x8c98af(0x93))/0x9);if(_0x307bc6===_0x37f9f7)break;else _0x286e2f['push'](_0x286e2f['shift']());}catch(_0x36f7e9){_0x286e2f['push'](_0x286e2f['shift']());}}}(a85_0x2176,0x5ed8a));import{formatRows}from'./formatters.js';import a85_0x5e8c68 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x23f199,_0x434956={},_0x4fa96f=0x0,_0x23953e=''){const _0x3305b2=a85_0xb169,_0x2e8828={...DEFAULT_OPTIONS,..._0x434956},_0x526e3b=[],_0x53a61e=[..._0x23f199]['sort']((_0xd92a19,_0x13da43)=>_0xd92a19[_0x3305b2(0x7a)][_0x3305b2(0x7b)](_0x13da43[_0x3305b2(0x7a)]));for(let _0x15dab8=0x0;_0x15dab8<_0x53a61e[_0x3305b2(0x9a)];_0x15dab8++){const _0x399309=_0x53a61e[_0x15dab8],_0x49b534=_0x15dab8===_0x53a61e[_0x3305b2(0x9a)]-0x1;let _0x9b8af8='';_0x4fa96f>0x0&&(_0x9b8af8+=_0x23953e);_0x2e8828[_0x3305b2(0x90)]&&_0x4fa96f>0x0&&(_0x9b8af8+=a85_0x5e8c68[_0x3305b2(0x7d)](_0x49b534?_0x3305b2(0x98):_0x3305b2(0x7c)));_0x2e8828[_0x3305b2(0x97)]&&(_0x9b8af8+=_0x399309['type']===_0x3305b2(0x82)?_0x3305b2(0x8e):'🎯\x20');_0x9b8af8+=_0x399309[_0x3305b2(0x7a)];if(_0x2e8828[_0x3305b2(0x99)]){if(_0x399309[_0x3305b2(0x8f)]===_0x3305b2(0x82)){const _0x56f83b=[];_0x399309[_0x3305b2(0x91)][_0x3305b2(0x7f)]&&_0x56f83b[_0x3305b2(0x95)](_0x399309[_0x3305b2(0x91)][_0x3305b2(0x7f)]+_0x3305b2(0x8d)+(_0x399309[_0x3305b2(0x91)][_0x3305b2(0x7f)]!==0x1?'s':'')),_0x399309['metadata'][_0x3305b2(0x9c)]&&_0x56f83b[_0x3305b2(0x95)](_0x399309[_0x3305b2(0x91)][_0x3305b2(0x9c)]+_0x3305b2(0x89)+(_0x399309[_0x3305b2(0x91)]['folderCount']!==0x1?'s':'')),_0x56f83b[_0x3305b2(0x9a)]>0x0&&(_0x9b8af8+=a85_0x5e8c68[_0x3305b2(0x7d)]('\x20('+_0x56f83b[_0x3305b2(0x7e)](',\x20')+')'));}else _0x399309[_0x3305b2(0x8f)]===_0x3305b2(0x87)&&_0x399309[_0x3305b2(0x84)]!==undefined&&(_0x9b8af8+=a85_0x5e8c68[_0x3305b2(0x7d)]('\x20('+formatRows(_0x399309[_0x3305b2(0x84)])+')'));}_0x526e3b['push'](_0x9b8af8);if(_0x399309[_0x3305b2(0x80)]&&_0x399309['children'][_0x3305b2(0x9a)]>0x0){let _0x4acffb;if(_0x4fa96f===0x0)_0x4acffb='';else _0x2e8828[_0x3305b2(0x90)]?_0x4acffb=_0x23953e+(_0x49b534?_0x3305b2(0x81):a85_0x5e8c68[_0x3305b2(0x7d)]('│')+_0x3305b2(0x83)):_0x4acffb=_0x23953e+_0x2e8828[_0x3305b2(0x86)];const _0x3bcce8=formatTree(_0x399309['children'],_0x2e8828,_0x4fa96f+0x1,_0x4acffb);_0x526e3b[_0x3305b2(0x95)](_0x3bcce8);}}return _0x526e3b[_0x3305b2(0x7e)]('\x0a');}export function formatFlatList(_0x345a9c,_0x5dcc66,_0x2be16e={}){const _0x5db8d9=a85_0xb169,_0x12fd5f={...DEFAULT_OPTIONS,..._0x2be16e},_0x2eda31=[];for(const _0x5c39ab of _0x345a9c){_0x2eda31[_0x5db8d9(0x95)]({'name':_0x5c39ab[_0x5db8d9(0x7a)],'icon':_0x12fd5f[_0x5db8d9(0x97)]?'📁':'','metadata':undefined});}for(const _0x5aea6a of _0x5dcc66){const _0x1e033c=_0x12fd5f[_0x5db8d9(0x99)]&&_0x5aea6a[_0x5db8d9(0x84)]!==undefined?a85_0x5e8c68[_0x5db8d9(0x7d)]('\x20('+formatRows(_0x5aea6a['population'])+')'):'';_0x2eda31[_0x5db8d9(0x95)]({'name':_0x5aea6a[_0x5db8d9(0x7a)],'icon':_0x12fd5f[_0x5db8d9(0x97)]?'🎯':'','metadata':_0x1e033c});}_0x2eda31['sort']((_0x2e1c1c,_0x2e66d1)=>_0x2e1c1c['name'][_0x5db8d9(0x7b)](_0x2e66d1[_0x5db8d9(0x7a)]));if(_0x2eda31[_0x5db8d9(0x9a)]===0x0)return'(empty)';const _0x52f829=_0x2eda31[_0x5db8d9(0x8c)](_0x287bb0=>{const _0x4cf30b=_0x5db8d9,_0x6a57a6=_0x287bb0[_0x4cf30b(0x94)]?_0x287bb0[_0x4cf30b(0x94)]+'\x20':'',_0x5f3265=_0x287bb0[_0x4cf30b(0x91)]||'';return''+_0x6a57a6+_0x287bb0[_0x4cf30b(0x7a)]+_0x5f3265;});return _0x52f829[_0x5db8d9(0x7e)]('\x0a');}
1
+ (function(_0x1a1565,_0x432bda){const _0x182371=a85_0x1764,_0x5c34f6=_0x1a1565();while(!![]){try{const _0x76f490=-parseInt(_0x182371(0x191))/0x1+parseInt(_0x182371(0x19a))/0x2*(parseInt(_0x182371(0x17a))/0x3)+-parseInt(_0x182371(0x195))/0x4+parseInt(_0x182371(0x188))/0x5+-parseInt(_0x182371(0x18a))/0x6*(parseInt(_0x182371(0x197))/0x7)+parseInt(_0x182371(0x18d))/0x8+parseInt(_0x182371(0x182))/0x9;if(_0x76f490===_0x432bda)break;else _0x5c34f6['push'](_0x5c34f6['shift']());}catch(_0x18c17f){_0x5c34f6['push'](_0x5c34f6['shift']());}}}(a85_0x55fd,0x99859));import{formatRows}from'./formatters.js';import a85_0x4d5f86 from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x747616,_0xd39985={},_0x4c6894=0x0,_0x3942f9=''){const _0x29596b=a85_0x1764,_0x4121f4={...DEFAULT_OPTIONS,..._0xd39985},_0x5589ed=[],_0x19a052=[..._0x747616]['sort']((_0x2f4f9d,_0x10b761)=>_0x2f4f9d[_0x29596b(0x17e)][_0x29596b(0x183)](_0x10b761[_0x29596b(0x17e)]));for(let _0x52dc97=0x0;_0x52dc97<_0x19a052[_0x29596b(0x17f)];_0x52dc97++){const _0x489fcb=_0x19a052[_0x52dc97],_0x223aac=_0x52dc97===_0x19a052['length']-0x1;let _0x5eca16='';_0x4c6894>0x0&&(_0x5eca16+=_0x3942f9);_0x4121f4[_0x29596b(0x196)]&&_0x4c6894>0x0&&(_0x5eca16+=a85_0x4d5f86[_0x29596b(0x193)](_0x223aac?_0x29596b(0x17b):_0x29596b(0x187)));_0x4121f4[_0x29596b(0x190)]&&(_0x5eca16+=_0x489fcb['type']===_0x29596b(0x192)?'📁\x20':_0x29596b(0x198));_0x5eca16+=_0x489fcb[_0x29596b(0x17e)];if(_0x4121f4[_0x29596b(0x181)]){if(_0x489fcb[_0x29596b(0x18e)]===_0x29596b(0x192)){const _0x520eae=[];_0x489fcb[_0x29596b(0x189)][_0x29596b(0x186)]&&_0x520eae[_0x29596b(0x17d)](_0x489fcb[_0x29596b(0x189)][_0x29596b(0x186)]+_0x29596b(0x199)+(_0x489fcb[_0x29596b(0x189)][_0x29596b(0x186)]!==0x1?'s':'')),_0x489fcb['metadata'][_0x29596b(0x18b)]&&_0x520eae[_0x29596b(0x17d)](_0x489fcb[_0x29596b(0x189)][_0x29596b(0x18b)]+'\x20folder'+(_0x489fcb['metadata'][_0x29596b(0x18b)]!==0x1?'s':'')),_0x520eae[_0x29596b(0x17f)]>0x0&&(_0x5eca16+=a85_0x4d5f86['dim']('\x20('+_0x520eae[_0x29596b(0x18c)](',\x20')+')'));}else _0x489fcb[_0x29596b(0x18e)]===_0x29596b(0x18f)&&_0x489fcb['population']!==undefined&&(_0x5eca16+=a85_0x4d5f86['dim']('\x20('+formatRows(_0x489fcb[_0x29596b(0x17c)])+')'));}_0x5589ed[_0x29596b(0x17d)](_0x5eca16);if(_0x489fcb['children']&&_0x489fcb[_0x29596b(0x184)][_0x29596b(0x17f)]>0x0){let _0x476a2b;if(_0x4c6894===0x0)_0x476a2b='';else _0x4121f4['showTreeLines']?_0x476a2b=_0x3942f9+(_0x223aac?_0x29596b(0x185):a85_0x4d5f86[_0x29596b(0x193)]('│')+'\x20\x20\x20'):_0x476a2b=_0x3942f9+_0x4121f4[_0x29596b(0x180)];const _0x459424=formatTree(_0x489fcb[_0x29596b(0x184)],_0x4121f4,_0x4c6894+0x1,_0x476a2b);_0x5589ed[_0x29596b(0x17d)](_0x459424);}}return _0x5589ed[_0x29596b(0x18c)]('\x0a');}function a85_0x1764(_0xc2a6f4,_0x5adbd5){const _0x55fdb3=a85_0x55fd();return a85_0x1764=function(_0x1764e2,_0x5dda46){_0x1764e2=_0x1764e2-0x17a;let _0x1b633d=_0x55fdb3[_0x1764e2];return _0x1b633d;},a85_0x1764(_0xc2a6f4,_0x5adbd5);}export function formatFlatList(_0x2e24a1,_0x63dd31,_0x12074e={}){const _0x54454b=a85_0x1764,_0x4c5b4d={...DEFAULT_OPTIONS,..._0x12074e},_0x239f1c=[];for(const _0x20d12e of _0x2e24a1){_0x239f1c[_0x54454b(0x17d)]({'name':_0x20d12e[_0x54454b(0x17e)],'icon':_0x4c5b4d[_0x54454b(0x190)]?'📁':'','metadata':undefined});}for(const _0x3dd127 of _0x63dd31){const _0x476e4a=_0x4c5b4d[_0x54454b(0x181)]&&_0x3dd127['population']!==undefined?a85_0x4d5f86['dim']('\x20('+formatRows(_0x3dd127[_0x54454b(0x17c)])+')'):'';_0x239f1c[_0x54454b(0x17d)]({'name':_0x3dd127['name'],'icon':_0x4c5b4d['showIcons']?'🎯':'','metadata':_0x476e4a});}_0x239f1c['sort']((_0x13387f,_0x301250)=>_0x13387f[_0x54454b(0x17e)][_0x54454b(0x183)](_0x301250[_0x54454b(0x17e)]));if(_0x239f1c[_0x54454b(0x17f)]===0x0)return _0x54454b(0x194);const _0x6bb1c1=_0x239f1c['map'](_0x3b01b9=>{const _0x262b1f=_0x54454b,_0x55fed4=_0x3b01b9[_0x262b1f(0x19b)]?_0x3b01b9['icon']+'\x20':'',_0x4c222f=_0x3b01b9['metadata']||'';return''+_0x55fed4+_0x3b01b9[_0x262b1f(0x17e)]+_0x4c222f;});return _0x6bb1c1[_0x54454b(0x18c)]('\x0a');}function a85_0x55fd(){const _0x28e66d=['🎯\x20','\x20segment','30oTQINz','icon','136644BiimXi','└──\x20','population','push','name','length','indent','showMetadata','6085845AmrSQi','localeCompare','children','\x20\x20\x20\x20','segmentCount','├──\x20','444675UhxNfL','metadata','12GmiVoE','folderCount','join','9373584CbPBkg','type','segment','showIcons','630110LgPMDB','folder','dim','(empty)','4905620nospTT','showTreeLines','471513gNLUFY'];a85_0x55fd=function(){return _0x28e66d;};return a85_0x55fd();}
@@ -1 +1 @@
1
- (function(_0x48c5f1,_0x3b36cd){const _0x236482=a86_0x5da7,_0x566e04=_0x48c5f1();while(!![]){try{const _0x5b9c1a=-parseInt(_0x236482(0x154))/0x1*(parseInt(_0x236482(0x137))/0x2)+parseInt(_0x236482(0x15a))/0x3+-parseInt(_0x236482(0x14d))/0x4+-parseInt(_0x236482(0x144))/0x5*(parseInt(_0x236482(0x155))/0x6)+-parseInt(_0x236482(0x158))/0x7+-parseInt(_0x236482(0x153))/0x8*(-parseInt(_0x236482(0x13f))/0x9)+parseInt(_0x236482(0x13a))/0xa*(parseInt(_0x236482(0x14f))/0xb);if(_0x5b9c1a===_0x3b36cd)break;else _0x566e04['push'](_0x566e04['shift']());}catch(_0x4af8bf){_0x566e04['push'](_0x566e04['shift']());}}}(a86_0x4608,0xa16bb));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a86_0x45da0f 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 _0x12c85e=getCacheDir();return join(_0x12c85e,'last_version_check');}function a86_0x4608(){const _0x28a2b9=['parse','utf-8','npm\x20install\x20-g\x20@treasuredata/tdx@latest','data','currentVersion','statusCode','3859928eLBeGx','toISOString','23201761GmMLif','version','\x0aRun:\x20','destroy','3287072KRHkzV','12869WeZEMp','2835918ZVKghW','latestVersion','Request\x20timeout','4638683XpHEsD','green','2499966qkhgNs','Update\x20available:','gray','dim','92XEbAaz','cyan','end','10UwYNjA','\x0aUpdate\x20available:\x20','error','write','stringify','9NcQvGR','stderr','yellow','env','isTTY','5BGQgTg','now','HTTP\x20'];a86_0x4608=function(){return _0x28a2b9;};return a86_0x4608();}function a86_0x5da7(_0x56538,_0x1a097e){const _0x460815=a86_0x4608();return a86_0x5da7=function(_0x5da773,_0xd0a749){_0x5da773=_0x5da773-0x134;let _0xc2cc70=_0x460815[_0x5da773];return _0xc2cc70;},a86_0x5da7(_0x56538,_0x1a097e);}function readCache(){try{const _0x2e3437=getCacheFilePath(),_0x285fc3=readFileSync(_0x2e3437,'utf-8');return JSON['parse'](_0x285fc3);}catch{return null;}}function writeCache(_0x20abde){const _0x3a3801=a86_0x5da7;try{const _0x12ef1=getCacheDir();mkdirSync(_0x12ef1,{'recursive':!![]});const _0xaa919d={'lastCheck':new Date()[_0x3a3801(0x14e)](),'latestVersion':_0x20abde},_0x4029ff=getCacheFilePath();writeFileSync(_0x4029ff,JSON[_0x3a3801(0x13e)](_0xaa919d,null,0x2),_0x3a3801(0x148));}catch{}}function isCacheValid(_0x160b63){const _0x5ca0cc=a86_0x5da7;if(!_0x160b63)return![];const _0x5031bd=new Date(_0x160b63['lastCheck'])['getTime'](),_0x3609c8=Date[_0x5ca0cc(0x145)]();return _0x3609c8-_0x5031bd<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x5ace73,_0x81a069)=>{const _0x372401=a86_0x5da7,_0x5e4e0d=get(NPM_REGISTRY_URL,_0x17038a=>{const _0x337828=a86_0x5da7;if(_0x17038a[_0x337828(0x14c)]!==0xc8){clearTimeout(_0x2c78a6),_0x81a069(new Error(_0x337828(0x146)+_0x17038a[_0x337828(0x14c)]));return;}let _0x48e138='';_0x17038a['on'](_0x337828(0x14a),_0x2f27b0=>{_0x48e138+=_0x2f27b0;}),_0x17038a['on'](_0x337828(0x139),()=>{const _0x3e704c=_0x337828;clearTimeout(_0x2c78a6);try{const _0x1f7ff8=JSON[_0x3e704c(0x147)](_0x48e138);if(!valid(_0x1f7ff8[_0x3e704c(0x150)])){_0x81a069(new Error('Invalid\x20version\x20format'));return;}_0x5ace73(_0x1f7ff8[_0x3e704c(0x150)]);}catch(_0x5861e9){_0x81a069(_0x5861e9);}});})['on'](_0x372401(0x13c),_0x1b9d0f=>{clearTimeout(_0x2c78a6),_0x81a069(_0x1b9d0f);}),_0x2c78a6=setTimeout(()=>{const _0xdaf9c=_0x372401;_0x5e4e0d[_0xdaf9c(0x152)](),_0x81a069(new Error(_0xdaf9c(0x157)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x560823){const _0x3f7fe4=a86_0x5da7;try{const _0x5ecf41=readCache();if(isCacheValid(_0x5ecf41)){const _0x354e99=gt(_0x5ecf41[_0x3f7fe4(0x156)],_0x560823);return{'updateAvailable':_0x354e99,'currentVersion':_0x560823,'latestVersion':_0x5ecf41[_0x3f7fe4(0x156)]};}const _0x211c56=await fetchLatestVersion();writeCache(_0x211c56);const _0x4d78c6=gt(_0x211c56,_0x560823);return{'updateAvailable':_0x4d78c6,'currentVersion':_0x560823,'latestVersion':_0x211c56};}catch{return null;}}export function displayUpdateNotification(_0xef4ec6){const _0xd5cda1=a86_0x5da7;if(!_0xef4ec6['updateAvailable'])return;const _0x531298=process[_0xd5cda1(0x140)][_0xd5cda1(0x143)]&&!process[_0xd5cda1(0x142)]['NO_COLOR'],_0x375148=_0x531298?a86_0x45da0f[_0xd5cda1(0x135)]('→'):'→',_0x364a0a=_0x531298?a86_0x45da0f[_0xd5cda1(0x136)](_0xef4ec6[_0xd5cda1(0x14b)]):_0xef4ec6[_0xd5cda1(0x14b)],_0x2e959d=_0x531298?a86_0x45da0f[_0xd5cda1(0x159)](_0xef4ec6[_0xd5cda1(0x156)]):_0xef4ec6[_0xd5cda1(0x156)],_0x4b44c8=_0x531298?a86_0x45da0f[_0xd5cda1(0x138)](_0xd5cda1(0x149)):_0xd5cda1(0x149),_0x23ca6a=_0x531298?'\x0a'+a86_0x45da0f[_0xd5cda1(0x141)](_0xd5cda1(0x134))+'\x20'+_0x364a0a+'\x20'+_0x375148+'\x20'+_0x2e959d+'\x0a'+a86_0x45da0f[_0xd5cda1(0x136)]('Run:')+'\x20'+_0x4b44c8+'\x0a':_0xd5cda1(0x13b)+_0x364a0a+'\x20'+_0x375148+'\x20'+_0x2e959d+_0xd5cda1(0x151)+_0x4b44c8+'\x0a';process['stderr'][_0xd5cda1(0x13d)](_0x23ca6a);}
1
+ (function(_0x2bb175,_0x5bf314){const _0x133386=a86_0x54a3,_0x5000ed=_0x2bb175();while(!![]){try{const _0x24384e=-parseInt(_0x133386(0xf3))/0x1+parseInt(_0x133386(0x108))/0x2+-parseInt(_0x133386(0x106))/0x3+parseInt(_0x133386(0x100))/0x4+-parseInt(_0x133386(0x104))/0x5+parseInt(_0x133386(0xec))/0x6*(-parseInt(_0x133386(0xf8))/0x7)+parseInt(_0x133386(0xfc))/0x8*(parseInt(_0x133386(0xf2))/0x9);if(_0x24384e===_0x5bf314)break;else _0x5000ed['push'](_0x5000ed['shift']());}catch(_0x1a3874){_0x5000ed['push'](_0x5000ed['shift']());}}}(a86_0x12bb,0x57aab));import{get}from'https';function a86_0x54a3(_0x28efa0,_0x23e1f1){const _0x12bb5=a86_0x12bb();return a86_0x54a3=function(_0x54a3ed,_0x2c43e7){_0x54a3ed=_0x54a3ed-0xe6;let _0x4236d6=_0x12bb5[_0x54a3ed];return _0x4236d6;},a86_0x54a3(_0x28efa0,_0x23e1f1);}import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a86_0x194a1d 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 _0x535974=a86_0x54a3,_0x5d7ca7=getCacheDir();return join(_0x5d7ca7,_0x535974(0x107));}function readCache(){const _0x35f155=a86_0x54a3;try{const _0x5b3fd8=getCacheFilePath(),_0x43df9b=readFileSync(_0x5b3fd8,_0x35f155(0xeb));return JSON[_0x35f155(0xf6)](_0x43df9b);}catch{return null;}}function writeCache(_0x18dc60){const _0x22d807=a86_0x54a3;try{const _0x3ff9a4=getCacheDir();mkdirSync(_0x3ff9a4,{'recursive':!![]});const _0x27c88e={'lastCheck':new Date()[_0x22d807(0xe8)](),'latestVersion':_0x18dc60},_0x7d277=getCacheFilePath();writeFileSync(_0x7d277,JSON[_0x22d807(0xe9)](_0x27c88e,null,0x2),_0x22d807(0xeb));}catch{}}function isCacheValid(_0x4a645a){const _0x6741f8=a86_0x54a3;if(!_0x4a645a)return![];const _0x330315=new Date(_0x4a645a[_0x6741f8(0xf7)])['getTime'](),_0x5855d7=Date[_0x6741f8(0xf0)]();return _0x5855d7-_0x330315<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x91f72c,_0x4b047f)=>{const _0x4874d2=a86_0x54a3,_0x56ec16=get(NPM_REGISTRY_URL,_0x21ad02=>{const _0x5df245=a86_0x54a3;if(_0x21ad02['statusCode']!==0xc8){clearTimeout(_0x1135a6),_0x4b047f(new Error('HTTP\x20'+_0x21ad02[_0x5df245(0x101)]));return;}let _0x83b812='';_0x21ad02['on']('data',_0x2886b1=>{_0x83b812+=_0x2886b1;}),_0x21ad02['on'](_0x5df245(0xfb),()=>{const _0x17e45c=_0x5df245;clearTimeout(_0x1135a6);try{const _0x394293=JSON[_0x17e45c(0xf6)](_0x83b812);if(!valid(_0x394293['version'])){_0x4b047f(new Error(_0x17e45c(0xfa)));return;}_0x91f72c(_0x394293['version']);}catch(_0x27975e){_0x4b047f(_0x27975e);}});})['on'](_0x4874d2(0xf4),_0x40c920=>{clearTimeout(_0x1135a6),_0x4b047f(_0x40c920);}),_0x1135a6=setTimeout(()=>{const _0x28192c=_0x4874d2;_0x56ec16[_0x28192c(0xfd)](),_0x4b047f(new Error(_0x28192c(0xf9)));},TIMEOUT_MS);});}export async function checkForUpdate(_0xfd1b80){const _0x1a478e=a86_0x54a3;try{const _0xc7e262=readCache();if(isCacheValid(_0xc7e262)){const _0x551ad7=gt(_0xc7e262[_0x1a478e(0x102)],_0xfd1b80);return{'updateAvailable':_0x551ad7,'currentVersion':_0xfd1b80,'latestVersion':_0xc7e262[_0x1a478e(0x102)]};}const _0x3dfd12=await fetchLatestVersion();writeCache(_0x3dfd12);const _0x26f187=gt(_0x3dfd12,_0xfd1b80);return{'updateAvailable':_0x26f187,'currentVersion':_0xfd1b80,'latestVersion':_0x3dfd12};}catch{return null;}}function a86_0x12bb(){const _0xe50597=['Request\x20timeout','Invalid\x20version\x20format','end','4152vtBScR','destroy','isTTY','Run:','575640oNwwav','statusCode','latestVersion','currentVersion','2976285pluNXu','Update\x20available:','1480983WGYORC','last_version_check','440954Ylpdfk','stderr','yellow','\x0aRun:\x20','toISOString','stringify','npm\x20install\x20-g\x20@treasuredata/tdx@latest','utf-8','12mxpnQM','\x0aUpdate\x20available:\x20','dim','env','now','updateAvailable','34011WMYGcn','291073jexjbc','error','cyan','parse','lastCheck','2053149kPsPDq'];a86_0x12bb=function(){return _0xe50597;};return a86_0x12bb();}export function displayUpdateNotification(_0x3e641e){const _0x289f8a=a86_0x54a3;if(!_0x3e641e[_0x289f8a(0xf1)])return;const _0x2a832f=process['stderr'][_0x289f8a(0xfe)]&&!process[_0x289f8a(0xef)]['NO_COLOR'],_0x1a4554=_0x2a832f?a86_0x194a1d['gray']('→'):'→',_0xb6cdb0=_0x2a832f?a86_0x194a1d[_0x289f8a(0xee)](_0x3e641e[_0x289f8a(0x103)]):_0x3e641e[_0x289f8a(0x103)],_0x41e30a=_0x2a832f?a86_0x194a1d['green'](_0x3e641e[_0x289f8a(0x102)]):_0x3e641e['latestVersion'],_0x2a3cfa=_0x2a832f?a86_0x194a1d[_0x289f8a(0xf5)]('npm\x20install\x20-g\x20@treasuredata/tdx@latest'):_0x289f8a(0xea),_0x369d84=_0x2a832f?'\x0a'+a86_0x194a1d[_0x289f8a(0xe6)](_0x289f8a(0x105))+'\x20'+_0xb6cdb0+'\x20'+_0x1a4554+'\x20'+_0x41e30a+'\x0a'+a86_0x194a1d[_0x289f8a(0xee)](_0x289f8a(0xff))+'\x20'+_0x2a3cfa+'\x0a':_0x289f8a(0xed)+_0xb6cdb0+'\x20'+_0x1a4554+'\x20'+_0x41e30a+_0x289f8a(0xe7)+_0x2a3cfa+'\x0a';process[_0x289f8a(0x109)]['write'](_0x369d84);}
@@ -1 +1 @@
1
- (function(_0x2acfe0,_0x96f27c){const _0x348373=a87_0x189f,_0x3eeb25=_0x2acfe0();while(!![]){try{const _0x9d88c7=-parseInt(_0x348373(0x84))/0x1*(parseInt(_0x348373(0x7d))/0x2)+parseInt(_0x348373(0x7f))/0x3+-parseInt(_0x348373(0x7a))/0x4*(-parseInt(_0x348373(0x81))/0x5)+-parseInt(_0x348373(0x82))/0x6*(-parseInt(_0x348373(0x80))/0x7)+parseInt(_0x348373(0x79))/0x8*(-parseInt(_0x348373(0x7e))/0x9)+-parseInt(_0x348373(0x7c))/0xa+parseInt(_0x348373(0x7b))/0xb;if(_0x9d88c7===_0x96f27c)break;else _0x3eeb25['push'](_0x3eeb25['shift']());}catch(_0x3487c1){_0x3eeb25['push'](_0x3eeb25['shift']());}}}(a87_0x3fe3,0x6c391));function a87_0x189f(_0x5e080b,_0x40846c){const _0x3fe36e=a87_0x3fe3();return a87_0x189f=function(_0x189f29,_0x23b634){_0x189f29=_0x189f29-0x79;let _0x178c68=_0x3fe36e[_0x189f29];return _0x178c68;},a87_0x189f(_0x5e080b,_0x40846c);}function a87_0x3fe3(){const _0x38d2f0=['711bwPDgI','406035emwzfg','3716881CDhOGC','30GpqTLP','6Bqctmg','.digdag','198NosZCf','5944ctslnF','109948UlpebR','6707470ZyTNDg','4903740WJyejl','4532HuMiQF'];a87_0x3fe3=function(){return _0x38d2f0;};return a87_0x3fe3();}export const WORKFLOW_FILE_EXTENSION='.dig';export function shouldIncludeInArchive(_0x1036cf){const _0x3f911f=a87_0x189f;if(_0x1036cf===_0x3f911f(0x83))return!![];if(_0x1036cf['startsWith']('.'))return![];return!![];}
1
+ const a87_0x571943=a87_0x35b3;(function(_0x18a09c,_0x1537e8){const _0x5ead0d=a87_0x35b3,_0x5b017a=_0x18a09c();while(!![]){try{const _0x6c2fe2=-parseInt(_0x5ead0d(0xca))/0x1*(-parseInt(_0x5ead0d(0xd1))/0x2)+parseInt(_0x5ead0d(0xd5))/0x3*(parseInt(_0x5ead0d(0xcf))/0x4)+-parseInt(_0x5ead0d(0xd2))/0x5*(-parseInt(_0x5ead0d(0xd3))/0x6)+-parseInt(_0x5ead0d(0xcb))/0x7+parseInt(_0x5ead0d(0xd4))/0x8+parseInt(_0x5ead0d(0xcc))/0x9+parseInt(_0x5ead0d(0xd0))/0xa*(-parseInt(_0x5ead0d(0xce))/0xb);if(_0x6c2fe2===_0x1537e8)break;else _0x5b017a['push'](_0x5b017a['shift']());}catch(_0x4905b3){_0x5b017a['push'](_0x5b017a['shift']());}}}(a87_0x3ad9,0x6a3fa));export const WORKFLOW_FILE_EXTENSION=a87_0x571943(0xcd);function a87_0x3ad9(){const _0x218f61=['2644468DFTEpe','100570pZDlaC','2QJcWhK','655qLtcjU','10986BBpBwa','1391520EEwrph','3WDJZrm','.digdag','409177qemtIT','3298806KMVzwx','7744572fNVwub','.dig','1573MlSsQv'];a87_0x3ad9=function(){return _0x218f61;};return a87_0x3ad9();}function a87_0x35b3(_0x9cb664,_0x54ae73){const _0x3ad973=a87_0x3ad9();return a87_0x35b3=function(_0x35b3de,_0x12266d){_0x35b3de=_0x35b3de-0xc9;let _0x313398=_0x3ad973[_0x35b3de];return _0x313398;},a87_0x35b3(_0x9cb664,_0x54ae73);}export function shouldIncludeInArchive(_0x3e9973){const _0x405d5c=a87_0x571943;if(_0x3e9973===_0x405d5c(0xc9))return!![];if(_0x3e9973['startsWith']('.'))return![];return!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.4.0",
3
+ "version": "0.4.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": {