@treasuredata/tdx 0.3.5 → 0.4.0

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 (105) 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.d.ts +4 -0
  6. package/dist/client/http-client.d.ts.map +1 -1
  7. package/dist/client/http-client.js +1 -1
  8. package/dist/client/http-client.js.map +1 -1
  9. package/dist/client/llm-api-client.js +1 -1
  10. package/dist/client/rate-limiter.js +1 -1
  11. package/dist/client/td-api-client.js +1 -1
  12. package/dist/client/trino-api-client.js +1 -1
  13. package/dist/client/workflow-client.js +1 -1
  14. package/dist/commands/activations.js +1 -1
  15. package/dist/commands/api-command.js +1 -1
  16. package/dist/commands/auth-command.d.ts +9 -0
  17. package/dist/commands/auth-command.d.ts.map +1 -1
  18. package/dist/commands/auth-command.js +1 -1
  19. package/dist/commands/auth-command.js.map +1 -1
  20. package/dist/commands/chat-command.js +1 -1
  21. package/dist/commands/claude-command.js +1 -1
  22. package/dist/commands/command.d.ts +5 -0
  23. package/dist/commands/command.d.ts.map +1 -1
  24. package/dist/commands/command.js +1 -1
  25. package/dist/commands/command.js.map +1 -1
  26. package/dist/commands/context-command.js +1 -1
  27. package/dist/commands/databases.js +1 -1
  28. package/dist/commands/describe.js +1 -1
  29. package/dist/commands/job-command.js +1 -1
  30. package/dist/commands/llm-command.js +1 -1
  31. package/dist/commands/llm-proxy.js +1 -1
  32. package/dist/commands/parent-segment-command.js +1 -1
  33. package/dist/commands/profiles-command.js +1 -1
  34. package/dist/commands/query-command.js +1 -1
  35. package/dist/commands/segment-command.js +1 -1
  36. package/dist/commands/segment-create-command.js +1 -1
  37. package/dist/commands/segment-fields-command.js +1 -1
  38. package/dist/commands/segment-pwd-command.js +1 -1
  39. package/dist/commands/segment-update-command.js +1 -1
  40. package/dist/commands/segment-use-command.js +1 -1
  41. package/dist/commands/segments.js +1 -1
  42. package/dist/commands/show.js +1 -1
  43. package/dist/commands/tables.js +1 -1
  44. package/dist/commands/use-command.js +1 -1
  45. package/dist/commands/workflow-command.js +1 -1
  46. package/dist/core/auth.js +1 -1
  47. package/dist/core/config.d.ts +25 -0
  48. package/dist/core/config.d.ts.map +1 -1
  49. package/dist/core/config.js +1 -1
  50. package/dist/core/config.js.map +1 -1
  51. package/dist/core/credential-cache.d.ts +35 -0
  52. package/dist/core/credential-cache.d.ts.map +1 -0
  53. package/dist/core/credential-cache.js +1 -0
  54. package/dist/core/credential-cache.js.map +1 -0
  55. package/dist/core/global-context.d.ts +19 -0
  56. package/dist/core/global-context.d.ts.map +1 -1
  57. package/dist/core/global-context.js +1 -1
  58. package/dist/core/global-context.js.map +1 -1
  59. package/dist/core/keychain.d.ts +38 -0
  60. package/dist/core/keychain.d.ts.map +1 -0
  61. package/dist/core/keychain.js +1 -0
  62. package/dist/core/keychain.js.map +1 -0
  63. package/dist/core/profile.js +1 -1
  64. package/dist/core/project-config.js +1 -1
  65. package/dist/core/session.js +1 -1
  66. package/dist/index.js +1 -1
  67. package/dist/proxy/anthropic-adapter.js +1 -1
  68. package/dist/proxy/server.js +1 -1
  69. package/dist/proxy/session-cache.js +1 -1
  70. package/dist/sdk/api.js +1 -1
  71. package/dist/sdk/errors.js +1 -1
  72. package/dist/sdk/index.js +1 -1
  73. package/dist/sdk/job.js +1 -1
  74. package/dist/sdk/llm.js +1 -1
  75. package/dist/sdk/query.js +1 -1
  76. package/dist/sdk/segment.js +1 -1
  77. package/dist/sdk/workflow.js +1 -1
  78. package/dist/types/endpoints.js +1 -1
  79. package/dist/types/index.js +1 -1
  80. package/dist/utils/agent-ref-parser.js +1 -1
  81. package/dist/utils/chat-cache.js +1 -1
  82. package/dist/utils/colors.js +1 -1
  83. package/dist/utils/command-output.js +1 -1
  84. package/dist/utils/constants.js +1 -1
  85. package/dist/utils/file-permissions.js +1 -1
  86. package/dist/utils/format-detector.js +1 -1
  87. package/dist/utils/formatters.js +1 -1
  88. package/dist/utils/json-loader.js +1 -1
  89. package/dist/utils/model-aliases.js +1 -1
  90. package/dist/utils/option-validation.js +1 -1
  91. package/dist/utils/port.js +1 -1
  92. package/dist/utils/process.js +1 -1
  93. package/dist/utils/prompt.js +1 -1
  94. package/dist/utils/segment-path-parser.js +1 -1
  95. package/dist/utils/segment-ref-parser.js +1 -1
  96. package/dist/utils/spinner.js +1 -1
  97. package/dist/utils/sql-parser.js +1 -1
  98. package/dist/utils/sse-parser.js +1 -1
  99. package/dist/utils/string-utils.js +1 -1
  100. package/dist/utils/table-ref-parser.js +1 -1
  101. package/dist/utils/tdx-logger.js +1 -1
  102. package/dist/utils/tree-formatter.js +1 -1
  103. package/dist/utils/version-check.js +1 -1
  104. package/dist/utils/workflow-utils.js +1 -1
  105. package/package.json +3 -1
@@ -1 +1 @@
1
- (function(_0x3a8ee5,_0x2e5002){const _0x4d3dd4=a69_0x260e,_0x2279fa=_0x3a8ee5();while(!![]){try{const _0x12f5ce=-parseInt(_0x4d3dd4(0x12f))/0x1*(parseInt(_0x4d3dd4(0x130))/0x2)+-parseInt(_0x4d3dd4(0x125))/0x3+parseInt(_0x4d3dd4(0x131))/0x4+-parseInt(_0x4d3dd4(0x122))/0x5+parseInt(_0x4d3dd4(0x132))/0x6*(parseInt(_0x4d3dd4(0x11d))/0x7)+-parseInt(_0x4d3dd4(0x121))/0x8*(parseInt(_0x4d3dd4(0x123))/0x9)+-parseInt(_0x4d3dd4(0x12c))/0xa*(-parseInt(_0x4d3dd4(0x12d))/0xb);if(_0x12f5ce===_0x2e5002)break;else _0x2279fa['push'](_0x2279fa['shift']());}catch(_0x54dbe4){_0x2279fa['push'](_0x2279fa['shift']());}}}(a69_0x4516,0xe267d));import{readFile}from'fs/promises';function a69_0x260e(_0x100417,_0x2e6af7){const _0x451666=a69_0x4516();return a69_0x260e=function(_0x260ef2,_0x1614d8){_0x260ef2=_0x260ef2-0x11d;let _0x328a8e=_0x451666[_0x260ef2];return _0x328a8e;},a69_0x260e(_0x100417,_0x2e6af7);}import{SDKError,ErrorCode}from'../sdk/errors.js';function a69_0x4516(){const _0x4e99ed=['30KOMVxH','7320356rUJzSZ','6ipRyRk','1311919Lvedaa','NOT_FOUND','message','code','24gekpcP','7188680uVHQNh','3692331isoErA','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','4967301wyYmSS','INTERNAL','ENOENT','INVALID_ARGUMENT','PERMISSION_DENIED','parse','Invalid\x20JSON\x20in\x20file\x20\x27','10gniGTj','47673571JLVTet','Invalid\x20JSON\x20string:\x20','73322xUJzSg'];a69_0x4516=function(){return _0x4e99ed;};return a69_0x4516();}export async function loadJSON(_0x197824,_0x11e7e){const _0x4beb98=a69_0x260e;try{if(_0x11e7e){const _0x12046d=await readFile(_0x197824,'utf-8');try{return JSON[_0x4beb98(0x12a)](_0x12046d);}catch(_0x93fa7c){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4beb98(0x12b)+_0x197824+'\x27:\x20'+(_0x93fa7c instanceof Error?_0x93fa7c[_0x4beb98(0x11f)]:String(_0x93fa7c)));}}else try{return JSON['parse'](_0x197824);}catch(_0x13754f){throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x4beb98(0x12e)+(_0x13754f instanceof Error?_0x13754f['message']:String(_0x13754f)));}}catch(_0x17de15){if(_0x17de15 instanceof SDKError)throw _0x17de15;if(_0x17de15 instanceof Error&&_0x4beb98(0x120)in _0x17de15){const _0x19d4f7=_0x17de15;if(_0x19d4f7[_0x4beb98(0x120)]===_0x4beb98(0x127))throw new SDKError(ErrorCode[_0x4beb98(0x11e)],'File\x20not\x20found:\x20'+_0x197824);else{if(_0x19d4f7['code']==='EACCES')throw new SDKError(ErrorCode[_0x4beb98(0x129)],'Permission\x20denied\x20reading\x20file:\x20'+_0x197824);}}throw new SDKError(ErrorCode[_0x4beb98(0x126)],'Failed\x20to\x20load\x20JSON:\x20'+(_0x17de15 instanceof Error?_0x17de15[_0x4beb98(0x11f)]:String(_0x17de15)));}}export async function loadJSONFromOptions(_0x5a2fbd,_0x2aaeea){const _0x54ca0c=a69_0x260e;if(_0x5a2fbd&&_0x2aaeea)throw new SDKError(ErrorCode[_0x54ca0c(0x128)],_0x54ca0c(0x124));if(_0x5a2fbd)return await loadJSON(_0x5a2fbd,![]);if(_0x2aaeea)return await loadJSON(_0x2aaeea,!![]);return undefined;}
1
+ function a71_0x128d(){const _0x1557d6=['5351cQhdNd','28gYLIKT','code','Failed\x20to\x20load\x20JSON:\x20','Permission\x20denied\x20reading\x20file:\x20','File\x20not\x20found:\x20','52AcqsIn','2479990HmOwVK','5283084eSfCam','INTERNAL','1206608agTSYJ','2254359AmFOFP','INVALID_ARGUMENT','Cannot\x20specify\x20both\x20inline\x20JSON\x20and\x20file\x20path.\x20Use\x20one\x20or\x20the\x20other.','message','\x27:\x20','88945QnDBQH','ENOENT','Invalid\x20JSON\x20string:\x20','1955940xoIXTc','63FeNgtb','parse','utf-8'];a71_0x128d=function(){return _0x1557d6;};return a71_0x128d();}(function(_0x21c3cf,_0x43907c){const _0x561278=a71_0x32c3,_0x6d629d=_0x21c3cf();while(!![]){try{const _0x1fdf23=-parseInt(_0x561278(0x1bd))/0x1*(-parseInt(_0x561278(0x1c3))/0x2)+-parseInt(_0x561278(0x1c8))/0x3+parseInt(_0x561278(0x1be))/0x4*(parseInt(_0x561278(0x1cd))/0x5)+-parseInt(_0x561278(0x1c5))/0x6+parseInt(_0x561278(0x1b9))/0x7+-parseInt(_0x561278(0x1c7))/0x8+-parseInt(_0x561278(0x1ba))/0x9*(-parseInt(_0x561278(0x1c4))/0xa);if(_0x1fdf23===_0x43907c)break;else _0x6d629d['push'](_0x6d629d['shift']());}catch(_0x24a990){_0x6d629d['push'](_0x6d629d['shift']());}}}(a71_0x128d,0x7928d));function a71_0x32c3(_0x3d0be7,_0x12ac29){const _0x128dd0=a71_0x128d();return a71_0x32c3=function(_0x32c396,_0x451755){_0x32c396=_0x32c396-0x1b8;let _0x1db680=_0x128dd0[_0x32c396];return _0x1db680;},a71_0x32c3(_0x3d0be7,_0x12ac29);}import{readFile}from'fs/promises';import{SDKError,ErrorCode}from'../sdk/errors.js';export async function loadJSON(_0x111a55,_0x6fb591){const _0x4285e1=a71_0x32c3;try{if(_0x6fb591){const _0x544569=await readFile(_0x111a55,_0x4285e1(0x1bc));try{return JSON[_0x4285e1(0x1bb)](_0x544569);}catch(_0x44ba84){throw new SDKError(ErrorCode[_0x4285e1(0x1c9)],'Invalid\x20JSON\x20in\x20file\x20\x27'+_0x111a55+_0x4285e1(0x1cc)+(_0x44ba84 instanceof Error?_0x44ba84[_0x4285e1(0x1cb)]:String(_0x44ba84)));}}else try{return JSON['parse'](_0x111a55);}catch(_0x5ce7af){throw new SDKError(ErrorCode[_0x4285e1(0x1c9)],_0x4285e1(0x1b8)+(_0x5ce7af instanceof Error?_0x5ce7af[_0x4285e1(0x1cb)]:String(_0x5ce7af)));}}catch(_0x2e1562){if(_0x2e1562 instanceof SDKError)throw _0x2e1562;if(_0x2e1562 instanceof Error&&_0x4285e1(0x1bf)in _0x2e1562){const _0x4d735d=_0x2e1562;if(_0x4d735d['code']===_0x4285e1(0x1ce))throw new SDKError(ErrorCode['NOT_FOUND'],_0x4285e1(0x1c2)+_0x111a55);else{if(_0x4d735d[_0x4285e1(0x1bf)]==='EACCES')throw new SDKError(ErrorCode['PERMISSION_DENIED'],_0x4285e1(0x1c1)+_0x111a55);}}throw new SDKError(ErrorCode[_0x4285e1(0x1c6)],_0x4285e1(0x1c0)+(_0x2e1562 instanceof Error?_0x2e1562[_0x4285e1(0x1cb)]:String(_0x2e1562)));}}export async function loadJSONFromOptions(_0x5d6c07,_0x3176d9){const _0x73ca0b=a71_0x32c3;if(_0x5d6c07&&_0x3176d9)throw new SDKError(ErrorCode[_0x73ca0b(0x1c9)],_0x73ca0b(0x1ca));if(_0x5d6c07)return await loadJSON(_0x5d6c07,![]);if(_0x3176d9)return await loadJSON(_0x3176d9,!![]);return undefined;}
@@ -1 +1 @@
1
- const a70_0x34f235=a70_0x70fd;(function(_0x22cf04,_0x34a545){const _0x18fef8=a70_0x70fd,_0x54e411=_0x22cf04();while(!![]){try{const _0x150164=-parseInt(_0x18fef8(0x171))/0x1*(-parseInt(_0x18fef8(0x173))/0x2)+parseInt(_0x18fef8(0x175))/0x3+-parseInt(_0x18fef8(0x170))/0x4*(parseInt(_0x18fef8(0x177))/0x5)+parseInt(_0x18fef8(0x174))/0x6+-parseInt(_0x18fef8(0x17a))/0x7+-parseInt(_0x18fef8(0x176))/0x8+parseInt(_0x18fef8(0x16f))/0x9;if(_0x150164===_0x34a545)break;else _0x54e411['push'](_0x54e411['shift']());}catch(_0x2d7f52){_0x54e411['push'](_0x54e411['shift']());}}}(a70_0x220b,0x89cd3));const MODEL_ALIASES={'haiku':a70_0x34f235(0x178),'sonnet':a70_0x34f235(0x179)};function a70_0x70fd(_0x271868,_0x106714){const _0x220b5=a70_0x220b();return a70_0x70fd=function(_0x70fdae,_0x44dc26){_0x70fdae=_0x70fdae-0x16f;let _0x547765=_0x220b5[_0x70fdae];return _0x547765;},a70_0x70fd(_0x271868,_0x106714);}function a70_0x220b(){const _0x26c882=['44JOcsIr','21UKRZGt','toLowerCase','5854qjRdQd','6679890yQYyKk','2510913fxErNw','3890832beCIAK','422650tBPtyQ','claude-4.5-haiku','claude-4.5-sonnet','3078502EyodxD','3677868VzCaWr'];a70_0x220b=function(){return _0x26c882;};return a70_0x220b();}export function extractModelAlias(_0xdd89f2){const _0x6c99f=a70_0x34f235,_0x19b493=_0xdd89f2['match'](/^claude-(?:\d+-)?(?:\d+-?)?(sonnet|haiku|opus)/i);if(_0x19b493)return _0x19b493[0x1][_0x6c99f(0x172)]();return _0xdd89f2;}export function resolveModelAlias(_0x3af86c){const _0x30a0af=a70_0x34f235;return MODEL_ALIASES[_0x3af86c[_0x30a0af(0x172)]()]||_0x3af86c;}export function getModelAliases(){return{...MODEL_ALIASES};}
1
+ function a72_0x11f1(_0x45ad67,_0x516407){const _0x23d7f6=a72_0x23d7();return a72_0x11f1=function(_0x11f182,_0x3fe8a6){_0x11f182=_0x11f182-0x139;let _0xcd3c03=_0x23d7f6[_0x11f182];return _0xcd3c03;},a72_0x11f1(_0x45ad67,_0x516407);}(function(_0xef8956,_0x45f600){const _0x52ce10=a72_0x11f1,_0x2be8a8=_0xef8956();while(!![]){try{const _0x448aab=parseInt(_0x52ce10(0x13f))/0x1+-parseInt(_0x52ce10(0x141))/0x2*(-parseInt(_0x52ce10(0x13c))/0x3)+-parseInt(_0x52ce10(0x142))/0x4+-parseInt(_0x52ce10(0x140))/0x5+-parseInt(_0x52ce10(0x13e))/0x6+parseInt(_0x52ce10(0x13b))/0x7+-parseInt(_0x52ce10(0x13a))/0x8*(-parseInt(_0x52ce10(0x139))/0x9);if(_0x448aab===_0x45f600)break;else _0x2be8a8['push'](_0x2be8a8['shift']());}catch(_0x28f0df){_0x2be8a8['push'](_0x2be8a8['shift']());}}}(a72_0x23d7,0x91a4d));const MODEL_ALIASES={'haiku':'claude-4.5-haiku','sonnet':'claude-4.5-sonnet'};function a72_0x23d7(){const _0x4ab580=['1246833MVPzdb','32KfdLyQ','4107131TJjqso','3rIEwNx','match','5684322QdQiYQ','1113280KRNvVy','2056255tjdpxG','1269638lljiHM','3735140kpwOOa'];a72_0x23d7=function(){return _0x4ab580;};return a72_0x23d7();}export function extractModelAlias(_0x4ebe9f){const _0x8e7ae1=a72_0x11f1,_0x5bad19=_0x4ebe9f[_0x8e7ae1(0x13d)](/^claude-(?:\d+-)?(?:\d+-?)?(sonnet|haiku|opus)/i);if(_0x5bad19)return _0x5bad19[0x1]['toLowerCase']();return _0x4ebe9f;}export function resolveModelAlias(_0x4d7649){return MODEL_ALIASES[_0x4d7649['toLowerCase']()]||_0x4d7649;}export function getModelAliases(){return{...MODEL_ALIASES};}
@@ -1 +1 @@
1
- (function(_0x24323f,_0x512ec9){const _0x49f10a=a71_0x486c,_0x156374=_0x24323f();while(!![]){try{const _0x19ea52=parseInt(_0x49f10a(0xa4))/0x1*(-parseInt(_0x49f10a(0xa8))/0x2)+parseInt(_0x49f10a(0xad))/0x3+-parseInt(_0x49f10a(0xa3))/0x4+parseInt(_0x49f10a(0xb1))/0x5+parseInt(_0x49f10a(0xa9))/0x6+-parseInt(_0x49f10a(0xb3))/0x7*(-parseInt(_0x49f10a(0xb0))/0x8)+-parseInt(_0x49f10a(0xaa))/0x9*(parseInt(_0x49f10a(0xa6))/0xa);if(_0x19ea52===_0x512ec9)break;else _0x156374['push'](_0x156374['shift']());}catch(_0x56adfb){_0x156374['push'](_0x156374['shift']());}}}(a71_0x1e2e,0x67d33));function a71_0x486c(_0x2b696c,_0x3fad02){const _0x1e2e61=a71_0x1e2e();return a71_0x486c=function(_0x486cd4,_0x5c0148){_0x486cd4=_0x486cd4-0xa3;let _0x5ba173=_0x1e2e61[_0x486cd4];return _0x5ba173;},a71_0x486c(_0x2b696c,_0x3fad02);}function a71_0x1e2e(){const _0x14ef79=['number','.\x20Must\x20be\x20a\x20number.','5936QiARNs','789510UYBYPc','Invalid\x20timeout\x20value:\x20','399WjSkyK','1854544NnXWNf','97yiTphX','isInteger','370JNORYx','.\x20Must\x20be\x20a\x20positive\x20number.','8040giVFPB','3579300ZnBbSx','306OYbBVe','Invalid\x20limit\x20value:\x20','.\x20Must\x20be\x20an\x20integer.','1450065udDhzW'];a71_0x1e2e=function(){return _0x14ef79;};return a71_0x1e2e();}export function validateLimitOption(_0x4c49b4){const _0x2c5c26=a71_0x486c;if(!Number[_0x2c5c26(0xa5)](_0x4c49b4))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x4c49b4+_0x2c5c26(0xac)};if(_0x4c49b4<=0x0)return{'isValid':![],'error':_0x2c5c26(0xab)+_0x4c49b4+'.\x20Must\x20be\x20a\x20positive\x20integer.'};return{'isValid':!![],'value':_0x4c49b4};}export function validateTimeoutOption(_0x15ee46,_0x4debba=0x1e){const _0x5490c7=a71_0x486c;if(_0x15ee46===undefined)return{'isValid':!![],'value':_0x4debba};const _0x553f46=typeof _0x15ee46===_0x5490c7(0xae)?_0x15ee46:parseFloat(_0x15ee46);if(isNaN(_0x553f46))return{'isValid':![],'error':_0x5490c7(0xb2)+_0x15ee46+_0x5490c7(0xaf)};if(_0x553f46<=0x0)return{'isValid':![],'error':_0x5490c7(0xb2)+_0x553f46+_0x5490c7(0xa7)};return{'isValid':!![],'value':_0x553f46};}
1
+ function a73_0xc3f9(){const _0x4af8f1=['Invalid\x20limit\x20value:\x20','2007408jITWXE','.\x20Must\x20be\x20an\x20integer.','2591343zYlNxH','30oVQWYD','1550312RNorgq','Invalid\x20timeout\x20value:\x20','41555yZlmFA','14ldVnvC','354588peXsaH','.\x20Must\x20be\x20a\x20positive\x20number.','.\x20Must\x20be\x20a\x20number.','20046356uzCbDL','isInteger','number','18sOZnsh','398847PuwukF','14vvcGLn'];a73_0xc3f9=function(){return _0x4af8f1;};return a73_0xc3f9();}function a73_0xa5c6(_0x5614a9,_0x5d1014){const _0xc3f9cd=a73_0xc3f9();return a73_0xa5c6=function(_0xa5c6ae,_0x4b84b2){_0xa5c6ae=_0xa5c6ae-0xf4;let _0x5c031c=_0xc3f9cd[_0xa5c6ae];return _0x5c031c;},a73_0xa5c6(_0x5614a9,_0x5d1014);}(function(_0x328626,_0x30d2e0){const _0x5a067b=a73_0xa5c6,_0x1e2bd9=_0x328626();while(!![]){try{const _0x306254=-parseInt(_0x5a067b(0xf9))/0x1+-parseInt(_0x5a067b(0x101))/0x2*(parseInt(_0x5a067b(0x100))/0x3)+-parseInt(_0x5a067b(0x103))/0x4+parseInt(_0x5a067b(0xf7))/0x5*(parseInt(_0x5a067b(0xff))/0x6)+parseInt(_0x5a067b(0xf8))/0x7*(-parseInt(_0x5a067b(0xf5))/0x8)+-parseInt(_0x5a067b(0x105))/0x9*(-parseInt(_0x5a067b(0xf4))/0xa)+parseInt(_0x5a067b(0xfc))/0xb;if(_0x306254===_0x30d2e0)break;else _0x1e2bd9['push'](_0x1e2bd9['shift']());}catch(_0x20f16b){_0x1e2bd9['push'](_0x1e2bd9['shift']());}}}(a73_0xc3f9,0x82f81));export function validateLimitOption(_0x353988){const _0x3ae0b6=a73_0xa5c6;if(!Number[_0x3ae0b6(0xfd)](_0x353988))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x353988+_0x3ae0b6(0x104)};if(_0x353988<=0x0)return{'isValid':![],'error':_0x3ae0b6(0x102)+_0x353988+'.\x20Must\x20be\x20a\x20positive\x20integer.'};return{'isValid':!![],'value':_0x353988};}export function validateTimeoutOption(_0x582d7d,_0x2df502=0x1e){const _0x19ba25=a73_0xa5c6;if(_0x582d7d===undefined)return{'isValid':!![],'value':_0x2df502};const _0x414672=typeof _0x582d7d===_0x19ba25(0xfe)?_0x582d7d:parseFloat(_0x582d7d);if(isNaN(_0x414672))return{'isValid':![],'error':_0x19ba25(0xf6)+_0x582d7d+_0x19ba25(0xfb)};if(_0x414672<=0x0)return{'isValid':![],'error':'Invalid\x20timeout\x20value:\x20'+_0x414672+_0x19ba25(0xfa)};return{'isValid':!![],'value':_0x414672};}
@@ -1 +1 @@
1
- (function(_0x475e86,_0x5634c9){const _0x2996bc=a72_0x41e4,_0x46548a=_0x475e86();while(!![]){try{const _0xe6e302=parseInt(_0x2996bc(0x1e6))/0x1*(-parseInt(_0x2996bc(0x1e0))/0x2)+-parseInt(_0x2996bc(0x1ed))/0x3+-parseInt(_0x2996bc(0x1e8))/0x4+-parseInt(_0x2996bc(0x1eb))/0x5+parseInt(_0x2996bc(0x1ea))/0x6*(-parseInt(_0x2996bc(0x1e1))/0x7)+-parseInt(_0x2996bc(0x1ec))/0x8+parseInt(_0x2996bc(0x1e5))/0x9;if(_0xe6e302===_0x5634c9)break;else _0x46548a['push'](_0x46548a['shift']());}catch(_0x33c86d){_0x46548a['push'](_0x46548a['shift']());}}}(a72_0x229c,0x2109a));import{createServer}from'node:net';export async function isPortAvailable(_0x59a02e){return new Promise(_0x95eb5c=>{const _0xe83181=a72_0x41e4,_0xcb4049=createServer();_0xcb4049['once'](_0xe83181(0x1e9),_0x37c73d=>{const _0x576252=_0xe83181;_0x37c73d[_0x576252(0x1dc)]===_0x576252(0x1e7)?_0x95eb5c(![]):_0x95eb5c(![]);}),_0xcb4049[_0xe83181(0x1dd)]('listening',()=>{const _0x46f265=_0xe83181;_0xcb4049[_0x46f265(0x1e2)](),_0x95eb5c(!![]);}),_0xcb4049[_0xe83181(0x1df)](_0x59a02e,_0xe83181(0x1e4));});}function a72_0x229c(){const _0x9a5734=['listen','8HubPZi','322qEtWAK','close','\x20and\x20','0.0.0.0','7679646rGsdWp','64809UdKidQ','EADDRINUSE','472272WGHdEk','error','9618AqHIct','215355ciCQpb','1580480ORFcXl','78897FuURTO','code','once','No\x20available\x20port\x20found\x20between\x20'];a72_0x229c=function(){return _0x9a5734;};return a72_0x229c();}function a72_0x41e4(_0x11e1fd,_0x3103ca){const _0x229c61=a72_0x229c();return a72_0x41e4=function(_0x41e4a5,_0x13dc09){_0x41e4a5=_0x41e4a5-0x1dc;let _0x5d5045=_0x229c61[_0x41e4a5];return _0x5d5045;},a72_0x41e4(_0x11e1fd,_0x3103ca);}export async function findAvailablePort(_0x166260=0xfa0,_0x5d23e4=0x64){const _0x4b635f=a72_0x41e4;for(let _0x39364e=0x0;_0x39364e<_0x5d23e4;_0x39364e++){const _0xd0ab64=_0x166260+_0x39364e;if(await isPortAvailable(_0xd0ab64))return _0xd0ab64;}throw new Error(_0x4b635f(0x1de)+_0x166260+_0x4b635f(0x1e3)+(_0x166260+_0x5d23e4-0x1));}
1
+ function a74_0x1eb8(){const _0x50eba9=['133680zXNams','listening','\x20and\x20','close','17TxWdMN','20205126LLmYDc','999425AhTgBM','56EphNSc','listen','13374FSCAgs','No\x20available\x20port\x20found\x20between\x20','4616688gOPVhr','error','2113220XwmNDL','4276974tEkmnt','code','0.0.0.0'];a74_0x1eb8=function(){return _0x50eba9;};return a74_0x1eb8();}(function(_0xfc830b,_0x17821e){const _0x21d28f=a74_0x56b5,_0x5ebdee=_0xfc830b();while(!![]){try{const _0x41b939=-parseInt(_0x21d28f(0xba))/0x1*(parseInt(_0x21d28f(0xae))/0x2)+parseInt(_0x21d28f(0xb6))/0x3*(-parseInt(_0x21d28f(0xbd))/0x4)+parseInt(_0x21d28f(0xb2))/0x5+-parseInt(_0x21d28f(0xb3))/0x6+-parseInt(_0x21d28f(0xbc))/0x7+-parseInt(_0x21d28f(0xb0))/0x8+parseInt(_0x21d28f(0xbb))/0x9;if(_0x41b939===_0x17821e)break;else _0x5ebdee['push'](_0x5ebdee['shift']());}catch(_0x55cbb9){_0x5ebdee['push'](_0x5ebdee['shift']());}}}(a74_0x1eb8,0x79729));import{createServer}from'node:net';export async function isPortAvailable(_0x16df79){return new Promise(_0x564e37=>{const _0x48369a=a74_0x56b5,_0x3ac8c5=createServer();_0x3ac8c5['once'](_0x48369a(0xb1),_0x117348=>{const _0x2f6a0f=_0x48369a;_0x117348[_0x2f6a0f(0xb4)]==='EADDRINUSE'?_0x564e37(![]):_0x564e37(![]);}),_0x3ac8c5['once'](_0x48369a(0xb7),()=>{const _0x1c7c2f=_0x48369a;_0x3ac8c5[_0x1c7c2f(0xb9)](),_0x564e37(!![]);}),_0x3ac8c5[_0x48369a(0xbe)](_0x16df79,_0x48369a(0xb5));});}function a74_0x56b5(_0x303313,_0x1ba6b2){const _0x1eb8c1=a74_0x1eb8();return a74_0x56b5=function(_0x56b51d,_0x1693be){_0x56b51d=_0x56b51d-0xae;let _0x5090d3=_0x1eb8c1[_0x56b51d];return _0x5090d3;},a74_0x56b5(_0x303313,_0x1ba6b2);}export async function findAvailablePort(_0x1b91a5=0xfa0,_0x3d3c39=0x64){const _0x4f01d1=a74_0x56b5;for(let _0x3d1b17=0x0;_0x3d1b17<_0x3d3c39;_0x3d1b17++){const _0x58d753=_0x1b91a5+_0x3d1b17;if(await isPortAvailable(_0x58d753))return _0x58d753;}throw new Error(_0x4f01d1(0xaf)+_0x1b91a5+_0x4f01d1(0xb8)+(_0x1b91a5+_0x3d3c39-0x1));}
@@ -1 +1 @@
1
- const a73_0x5c6cf0=a73_0x2f68;(function(_0x516ae2,_0xdc9851){const _0x528dcc=a73_0x2f68,_0x2541e9=_0x516ae2();while(!![]){try{const _0x19bd05=parseInt(_0x528dcc(0x1d6))/0x1+-parseInt(_0x528dcc(0x1eb))/0x2*(-parseInt(_0x528dcc(0x1e7))/0x3)+-parseInt(_0x528dcc(0x1cf))/0x4*(-parseInt(_0x528dcc(0x1be))/0x5)+parseInt(_0x528dcc(0x1d2))/0x6+-parseInt(_0x528dcc(0x1ec))/0x7*(-parseInt(_0x528dcc(0x1c8))/0x8)+-parseInt(_0x528dcc(0x1d7))/0x9*(parseInt(_0x528dcc(0x1bd))/0xa)+-parseInt(_0x528dcc(0x1e2))/0xb;if(_0x19bd05===_0xdc9851)break;else _0x2541e9['push'](_0x2541e9['shift']());}catch(_0x28dc50){_0x2541e9['push'](_0x2541e9['shift']());}}}(a73_0x3afa,0x98327));import{execSync}from'node:child_process';function a73_0x3afa(){const _0x4d9a70=['No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid','tcsh','trim','243370CsiRLe','71175XBccGK','cursor','fish','pwsh','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','split','csh','Found\x20ephemeral\x20shell\x20','elvish','claude','8AIUorr','length','powershell','wmic\x20process\x20where\x20ProcessId=','pop','toLowerCase','utf-8','104gRLpsr','env',')\x20spawned\x20by\x20','1987470bMjleh','DEBUG','pid','\x20on\x20Windows:','1154234sYzyoX','27YqTeaX','zsh','code','ksh','filter','join','replace','ppid','bash','comm','dash','26502608OWkNYU','\x20on\x20POSIX:','win32',',\x20continuing\x20up','ion','9avLZOT','platform','\x20get\x20ParentProcessId,Name\x20/format:csv','error','347128EhGRqe','5106199eFsbRn'];a73_0x3afa=function(){return _0x4d9a70;};return a73_0x3afa();}const SHELL_NAMES=new Set([a73_0x5c6cf0(0x1df),a73_0x5c6cf0(0x1d8),'sh',a73_0x5c6cf0(0x1c0),a73_0x5c6cf0(0x1da),a73_0x5c6cf0(0x1ee),a73_0x5c6cf0(0x1c4),a73_0x5c6cf0(0x1e1),a73_0x5c6cf0(0x1c1),a73_0x5c6cf0(0x1ca),'nu',a73_0x5c6cf0(0x1e6),a73_0x5c6cf0(0x1c6),'xonsh']),EPHEMERAL_SHELL_SPAWNERS=new Set([a73_0x5c6cf0(0x1c7),a73_0x5c6cf0(0x1d9),a73_0x5c6cf0(0x1bf)]);function a73_0x2f68(_0x433334,_0x29e374){const _0x3afa01=a73_0x3afa();return a73_0x2f68=function(_0x2f68ca,_0x5ebd11){_0x2f68ca=_0x2f68ca-0x1bc;let _0x2db93a=_0x3afa01[_0x2f68ca];return _0x2db93a;},a73_0x2f68(_0x433334,_0x29e374);}function getProcessInfoWindows(_0x414657){const _0x43b42f=a73_0x5c6cf0;try{const _0x4b53a8=execSync(_0x43b42f(0x1cb)+_0x414657+_0x43b42f(0x1e9),{'encoding':_0x43b42f(0x1ce),'windowsHide':!![]})[_0x43b42f(0x1bc)](),_0x3fe033=_0x4b53a8[_0x43b42f(0x1c3)]('\x0a')[_0x43b42f(0x1db)](_0x2bc6ba=>_0x2bc6ba[_0x43b42f(0x1bc)]());if(_0x3fe033[_0x43b42f(0x1c9)]<0x2)return null;const _0x16ed89=_0x3fe033[_0x3fe033[_0x43b42f(0x1c9)]-0x1][_0x43b42f(0x1c3)](',');if(_0x16ed89[_0x43b42f(0x1c9)]<0x3)return null;const _0x2e2ad9=_0x16ed89[0x1]?.[_0x43b42f(0x1bc)]()||'',_0x515cf9=parseInt(_0x16ed89[0x2]?.[_0x43b42f(0x1bc)]()||'0',0xa);if(isNaN(_0x515cf9)||!_0x2e2ad9)return null;return{'pid':_0x414657,'ppid':_0x515cf9,'comm':_0x2e2ad9[_0x43b42f(0x1dd)](/\.exe$/i,'')};}catch(_0x1b9fed){return process[_0x43b42f(0x1d0)][_0x43b42f(0x1d3)]&&console[_0x43b42f(0x1ea)](_0x43b42f(0x1c2)+_0x414657+_0x43b42f(0x1d5),_0x1b9fed),null;}}function getProcessInfoPosix(_0x47665c){const _0x4ad02f=a73_0x5c6cf0;try{const _0x479be5=execSync('ps\x20-p\x20'+_0x47665c+'\x20-o\x20ppid=,comm=',{'encoding':_0x4ad02f(0x1ce)})['trim'](),[_0x3e7a9d,..._0x5c1cef]=_0x479be5['split'](/\s+/),_0x71df1f=parseInt(_0x3e7a9d,0xa),_0xb75737=_0x5c1cef[_0x4ad02f(0x1dc)]('\x20');if(isNaN(_0x71df1f))return null;return{'pid':_0x47665c,'ppid':_0x71df1f,'comm':_0xb75737};}catch(_0x33c183){return process['env']['DEBUG']&&console[_0x4ad02f(0x1ea)](_0x4ad02f(0x1c2)+_0x47665c+_0x4ad02f(0x1e3),_0x33c183),null;}}function getProcessInfo(_0x408b23){const _0x324936=a73_0x5c6cf0;if(process[_0x324936(0x1e8)]===_0x324936(0x1e4))return getProcessInfoWindows(_0x408b23);return getProcessInfoPosix(_0x408b23);}function getBasename(_0x188e4a){const _0x8dc62d=a73_0x5c6cf0;return _0x188e4a['replace'](/^-/,'')[_0x8dc62d(0x1c3)]('/')[_0x8dc62d(0x1cc)]()?.[_0x8dc62d(0x1cd)]()||'';}function isShell(_0x1f6222){return SHELL_NAMES['has'](getBasename(_0x1f6222));}function isEphemeralShellSpawner(_0x16041f){return EPHEMERAL_SHELL_SPAWNERS['has'](getBasename(_0x16041f));}let cachedShellPID;function findShellPID(){const _0xb067ac=a73_0x5c6cf0;let _0x473e42=process[_0xb067ac(0x1de)];const _0x166bcf=0xa;let _0x1f1fea=0x0;while(_0x1f1fea<_0x166bcf){const _0x278bc9=getProcessInfo(_0x473e42);if(!_0x278bc9){process['env'][_0xb067ac(0x1d3)]&&console[_0xb067ac(0x1ea)]('Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20'+_0x473e42+',\x20using\x20fallback');break;}if(isShell(_0x278bc9[_0xb067ac(0x1e0)])){const _0x48a66c=getProcessInfo(_0x278bc9[_0xb067ac(0x1de)]);if(_0x48a66c&&isEphemeralShellSpawner(_0x48a66c[_0xb067ac(0x1e0)])){process['env'][_0xb067ac(0x1d3)]&&console[_0xb067ac(0x1ea)](_0xb067ac(0x1c5)+_0x278bc9['pid']+'\x20('+_0x278bc9['comm']+_0xb067ac(0x1d1)+_0x48a66c[_0xb067ac(0x1e0)]+_0xb067ac(0x1e5));_0x473e42=_0x278bc9[_0xb067ac(0x1de)],_0x1f1fea++;continue;}return _0x278bc9[_0xb067ac(0x1d4)];}if(_0x278bc9[_0xb067ac(0x1de)]===0x0||_0x278bc9[_0xb067ac(0x1de)]===0x1){if(isShell(_0x278bc9[_0xb067ac(0x1e0)]))return _0x278bc9[_0xb067ac(0x1d4)];break;}_0x473e42=_0x278bc9[_0xb067ac(0x1de)],_0x1f1fea++;}return process['env'][_0xb067ac(0x1d3)]&&console[_0xb067ac(0x1ea)](_0xb067ac(0x1ed)),process[_0xb067ac(0x1de)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}export function isProcessRunning(_0x211d03){try{return process['kill'](_0x211d03,0x0),!![];}catch{return![];}}
1
+ const a75_0x599233=a75_0xff67;(function(_0x49d7bf,_0x362a5a){const _0x21469e=a75_0xff67,_0x4e26e6=_0x49d7bf();while(!![]){try{const _0x29c916=parseInt(_0x21469e(0x148))/0x1*(-parseInt(_0x21469e(0x149))/0x2)+-parseInt(_0x21469e(0x153))/0x3*(parseInt(_0x21469e(0x151))/0x4)+parseInt(_0x21469e(0x147))/0x5+-parseInt(_0x21469e(0x133))/0x6+parseInt(_0x21469e(0x128))/0x7+parseInt(_0x21469e(0x12b))/0x8*(-parseInt(_0x21469e(0x155))/0x9)+-parseInt(_0x21469e(0x12e))/0xa*(-parseInt(_0x21469e(0x138))/0xb);if(_0x29c916===_0x362a5a)break;else _0x4e26e6['push'](_0x4e26e6['shift']());}catch(_0x3366b9){_0x4e26e6['push'](_0x4e26e6['shift']());}}}(a75_0x361a,0x6c212));function a75_0x361a(){const _0x317b82=['3359320wkWnoF','comm','utf-8','kill','ppid','3796860wJzYPb','Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20','error','fish','tcsh','44vCkPzb','has','env','win32','trim','platform','\x20on\x20Windows:','elvish','zsh','powershell','DEBUG','code','pid','bash',')\x20spawned\x20by\x20','1450380qRNrFZ','1PpwbdX','715982AZroSI',',\x20continuing\x20up','Found\x20ephemeral\x20shell\x20','pop','xonsh','replace','split','ps\x20-p\x20','36inEHCA','cursor','45219vUUonq','length','112977wZATCJ',',\x20using\x20fallback','1306284cEEAse','pwsh','ksh','160IKOvxZ','\x20on\x20POSIX:','join'];a75_0x361a=function(){return _0x317b82;};return a75_0x361a();}import{execSync}from'node:child_process';const SHELL_NAMES=new Set([a75_0x599233(0x145),a75_0x599233(0x140),'sh',a75_0x599233(0x136),a75_0x599233(0x12a),a75_0x599233(0x137),'csh','dash',a75_0x599233(0x129),a75_0x599233(0x141),'nu','ion',a75_0x599233(0x13f),a75_0x599233(0x14d)]),EPHEMERAL_SHELL_SPAWNERS=new Set(['claude',a75_0x599233(0x143),a75_0x599233(0x152)]);function getProcessInfoWindows(_0x4a8014){const _0x44500d=a75_0x599233;try{const _0x245f6e=execSync('wmic\x20process\x20where\x20ProcessId='+_0x4a8014+'\x20get\x20ParentProcessId,Name\x20/format:csv',{'encoding':'utf-8','windowsHide':!![]})[_0x44500d(0x13c)](),_0x4e6bbf=_0x245f6e['split']('\x0a')['filter'](_0xb3275c=>_0xb3275c['trim']());if(_0x4e6bbf[_0x44500d(0x154)]<0x2)return null;const _0x2afd98=_0x4e6bbf[_0x4e6bbf[_0x44500d(0x154)]-0x1][_0x44500d(0x14f)](',');if(_0x2afd98[_0x44500d(0x154)]<0x3)return null;const _0x494ee4=_0x2afd98[0x1]?.[_0x44500d(0x13c)]()||'',_0x1bb0c8=parseInt(_0x2afd98[0x2]?.[_0x44500d(0x13c)]()||'0',0xa);if(isNaN(_0x1bb0c8)||!_0x494ee4)return null;return{'pid':_0x4a8014,'ppid':_0x1bb0c8,'comm':_0x494ee4[_0x44500d(0x14e)](/\.exe$/i,'')};}catch(_0xcd0dd6){return process[_0x44500d(0x13a)]['DEBUG']&&console[_0x44500d(0x135)](_0x44500d(0x134)+_0x4a8014+_0x44500d(0x13e),_0xcd0dd6),null;}}function getProcessInfoPosix(_0x1578fb){const _0x469369=a75_0x599233;try{const _0x6697db=execSync(_0x469369(0x150)+_0x1578fb+'\x20-o\x20ppid=,comm=',{'encoding':_0x469369(0x130)})[_0x469369(0x13c)](),[_0x2a3716,..._0x204db6]=_0x6697db[_0x469369(0x14f)](/\s+/),_0x3025c0=parseInt(_0x2a3716,0xa),_0x13ce51=_0x204db6[_0x469369(0x12d)]('\x20');if(isNaN(_0x3025c0))return null;return{'pid':_0x1578fb,'ppid':_0x3025c0,'comm':_0x13ce51};}catch(_0x19e870){return process[_0x469369(0x13a)][_0x469369(0x142)]&&console['error']('Failed\x20to\x20get\x20process\x20info\x20for\x20PID\x20'+_0x1578fb+_0x469369(0x12c),_0x19e870),null;}}function getProcessInfo(_0x19574c){const _0x584229=a75_0x599233;if(process[_0x584229(0x13d)]===_0x584229(0x13b))return getProcessInfoWindows(_0x19574c);return getProcessInfoPosix(_0x19574c);}function getBasename(_0x55a9b0){const _0x5bc7a2=a75_0x599233;return _0x55a9b0[_0x5bc7a2(0x14e)](/^-/,'')[_0x5bc7a2(0x14f)]('/')[_0x5bc7a2(0x14c)]()?.['toLowerCase']()||'';}function isShell(_0x4c1434){return SHELL_NAMES['has'](getBasename(_0x4c1434));}function isEphemeralShellSpawner(_0xaacc9c){const _0x300b82=a75_0x599233;return EPHEMERAL_SHELL_SPAWNERS[_0x300b82(0x139)](getBasename(_0xaacc9c));}let cachedShellPID;function findShellPID(){const _0xa3e372=a75_0x599233;let _0x45d936=process['ppid'];const _0x42975b=0xa;let _0x1856d4=0x0;while(_0x1856d4<_0x42975b){const _0x38a0cf=getProcessInfo(_0x45d936);if(!_0x38a0cf){process[_0xa3e372(0x13a)][_0xa3e372(0x142)]&&console[_0xa3e372(0x135)]('Could\x20not\x20get\x20process\x20info\x20for\x20PID\x20'+_0x45d936+_0xa3e372(0x156));break;}if(isShell(_0x38a0cf[_0xa3e372(0x12f)])){const _0x5bb637=getProcessInfo(_0x38a0cf[_0xa3e372(0x132)]);if(_0x5bb637&&isEphemeralShellSpawner(_0x5bb637[_0xa3e372(0x12f)])){process[_0xa3e372(0x13a)]['DEBUG']&&console['error'](_0xa3e372(0x14b)+_0x38a0cf[_0xa3e372(0x144)]+'\x20('+_0x38a0cf[_0xa3e372(0x12f)]+_0xa3e372(0x146)+_0x5bb637['comm']+_0xa3e372(0x14a));_0x45d936=_0x38a0cf[_0xa3e372(0x132)],_0x1856d4++;continue;}return _0x38a0cf['pid'];}if(_0x38a0cf[_0xa3e372(0x132)]===0x0||_0x38a0cf[_0xa3e372(0x132)]===0x1){if(isShell(_0x38a0cf[_0xa3e372(0x12f)]))return _0x38a0cf['pid'];break;}_0x45d936=_0x38a0cf[_0xa3e372(0x132)],_0x1856d4++;}return process[_0xa3e372(0x13a)][_0xa3e372(0x142)]&&console[_0xa3e372(0x135)]('No\x20shell\x20found\x20in\x20process\x20tree,\x20falling\x20back\x20to\x20process.ppid'),process[_0xa3e372(0x132)];}export function getPPID(){return cachedShellPID===undefined&&(cachedShellPID=findShellPID()),cachedShellPID;}export function clearPPIDCache(){cachedShellPID=undefined;}function a75_0xff67(_0x28b8dd,_0x2bd4d5){const _0x361aa6=a75_0x361a();return a75_0xff67=function(_0xff675b,_0x2b89dd){_0xff675b=_0xff675b-0x128;let _0x486ba5=_0x361aa6[_0xff675b];return _0x486ba5;},a75_0xff67(_0x28b8dd,_0x2bd4d5);}export function isProcessRunning(_0x277aa9){const _0x4141df=a75_0x599233;try{return process[_0x4141df(0x131)](_0x277aa9,0x0),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x2576a2,_0x217621){const _0x3e948e=a74_0x3ba1,_0x31f8ab=_0x2576a2();while(!![]){try{const _0x31ee36=parseInt(_0x3e948e(0x19d))/0x1*(parseInt(_0x3e948e(0x1a4))/0x2)+parseInt(_0x3e948e(0x1a8))/0x3*(parseInt(_0x3e948e(0x19c))/0x4)+-parseInt(_0x3e948e(0x1a3))/0x5*(parseInt(_0x3e948e(0x199))/0x6)+parseInt(_0x3e948e(0x1a2))/0x7*(parseInt(_0x3e948e(0x196))/0x8)+parseInt(_0x3e948e(0x1a1))/0x9*(parseInt(_0x3e948e(0x1aa))/0xa)+-parseInt(_0x3e948e(0x19f))/0xb*(-parseInt(_0x3e948e(0x1ab))/0xc)+-parseInt(_0x3e948e(0x1a5))/0xd*(-parseInt(_0x3e948e(0x1a7))/0xe);if(_0x31ee36===_0x217621)break;else _0x31f8ab['push'](_0x31f8ab['shift']());}catch(_0x9552f0){_0x31f8ab['push'](_0x31f8ab['shift']());}}}(a74_0x592c,0xc25bd));function a74_0x592c(){const _0x24cd70=['513blruqe','7nxaJpU','45NgHniW','5246nBjymI','13DYWQBQ','question','5425042ndVQQG','27LhRaEr','close','34530sUikrj','106332UxuMgh','2900104WrQcbX','toLowerCase','\x20(y/N):\x20','734190RKQglb','yes','stdout','144388vHNtEE','73cFOfBz','createInterface','539nfHjvF','stdin'];a74_0x592c=function(){return _0x24cd70;};return a74_0x592c();}import*as a74_0x3b7391 from'readline';function a74_0x3ba1(_0x1792a1,_0xf6d843){const _0x592c8b=a74_0x592c();return a74_0x3ba1=function(_0x3ba136,_0x26e957){_0x3ba136=_0x3ba136-0x196;let _0x308672=_0x592c8b[_0x3ba136];return _0x308672;},a74_0x3ba1(_0x1792a1,_0xf6d843);}export async function confirm(_0x4ac891){const _0x4f04de=a74_0x3ba1,_0x44485c=a74_0x3b7391[_0x4f04de(0x19e)]({'input':process[_0x4f04de(0x1a0)],'output':process[_0x4f04de(0x19b)]});return new Promise(_0x2af943=>{const _0x4fb1ae=_0x4f04de;_0x44485c[_0x4fb1ae(0x1a6)](_0x4ac891+_0x4fb1ae(0x198),_0x2d18f2=>{const _0x1ba87f=_0x4fb1ae;_0x44485c[_0x1ba87f(0x1a9)](),_0x2af943(_0x2d18f2[_0x1ba87f(0x197)]()==='y'||_0x2d18f2[_0x1ba87f(0x197)]()===_0x1ba87f(0x19a));});});}
1
+ (function(_0x31c625,_0x93475b){const _0x5564bf=a76_0x2dc7,_0x1f2285=_0x31c625();while(!![]){try{const _0x3470c8=-parseInt(_0x5564bf(0x1a8))/0x1+parseInt(_0x5564bf(0x1b0))/0x2*(parseInt(_0x5564bf(0x1b6))/0x3)+-parseInt(_0x5564bf(0x1b1))/0x4+parseInt(_0x5564bf(0x1ab))/0x5+parseInt(_0x5564bf(0x1b4))/0x6+parseInt(_0x5564bf(0x1ac))/0x7+-parseInt(_0x5564bf(0x1b2))/0x8;if(_0x3470c8===_0x93475b)break;else _0x1f2285['push'](_0x1f2285['shift']());}catch(_0x5dcee1){_0x1f2285['push'](_0x1f2285['shift']());}}}(a76_0x3d88,0xa3dce));import*as a76_0x24719b from'readline';function a76_0x3d88(){const _0x50f941=['toLowerCase','stdin','1435618FcEIQL','3337044EJqbMK','9022600nSbnSN','stdout','454632FOzrRo','createInterface','3wyakwz','255938mZWIqv','close','question','4869115nxGziL','7852614UHVXas','\x20(y/N):\x20'];a76_0x3d88=function(){return _0x50f941;};return a76_0x3d88();}function a76_0x2dc7(_0x3bdd53,_0x502a4a){const _0x3d883f=a76_0x3d88();return a76_0x2dc7=function(_0x2dc78e,_0x48cd42){_0x2dc78e=_0x2dc78e-0x1a8;let _0x9b5a9=_0x3d883f[_0x2dc78e];return _0x9b5a9;},a76_0x2dc7(_0x3bdd53,_0x502a4a);}export async function confirm(_0x4c196d){const _0x3319ba=a76_0x2dc7,_0x37dddc=a76_0x24719b[_0x3319ba(0x1b5)]({'input':process[_0x3319ba(0x1af)],'output':process[_0x3319ba(0x1b3)]});return new Promise(_0x165366=>{const _0x586d5a=_0x3319ba;_0x37dddc[_0x586d5a(0x1aa)](_0x4c196d+_0x586d5a(0x1ad),_0x46a626=>{const _0x3a76ae=_0x586d5a;_0x37dddc[_0x3a76ae(0x1a9)](),_0x165366(_0x46a626[_0x3a76ae(0x1ae)]()==='y'||_0x46a626[_0x3a76ae(0x1ae)]()==='yes');});});}
@@ -1 +1 @@
1
- (function(_0x2fff64,_0x397de0){const _0x737db=a75_0xd234,_0x59b99a=_0x2fff64();while(!![]){try{const _0x4755b8=parseInt(_0x737db(0x160))/0x1+-parseInt(_0x737db(0x151))/0x2*(parseInt(_0x737db(0x15f))/0x3)+-parseInt(_0x737db(0x146))/0x4+parseInt(_0x737db(0x152))/0x5+parseInt(_0x737db(0x147))/0x6+parseInt(_0x737db(0x153))/0x7*(parseInt(_0x737db(0x150))/0x8)+-parseInt(_0x737db(0x148))/0x9;if(_0x4755b8===_0x397de0)break;else _0x59b99a['push'](_0x59b99a['shift']());}catch(_0x5d3785){_0x59b99a['push'](_0x59b99a['shift']());}}}(a75_0x5951,0xb0140));export function parsePath(_0x3ff77c){const _0x55581a=a75_0xd234;if(!_0x3ff77c||_0x3ff77c['trim']()==='')throw new Error(_0x55581a(0x143));const _0x1290d9=_0x3ff77c[_0x55581a(0x156)]();if(_0x1290d9==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x3ff77c};const _0x2415cd=_0x1290d9['startsWith']('/')?_0x1290d9[_0x55581a(0x157)](0x1):_0x1290d9,_0x5858ea=_0x2415cd['split']('/')[_0x55581a(0x159)](_0x2997d2=>_0x2997d2!=='');if(_0x5858ea[_0x55581a(0x149)]===0x0)throw new Error(_0x55581a(0x15b));const _0x2e60d1=_0x1290d9['startsWith']('/')||!isRelativePathSegment(_0x5858ea[0x0]);for(const _0x53fbff of _0x5858ea){validatePathSegment(_0x53fbff);}return{'segments':_0x5858ea,'isAbsolute':_0x2e60d1,'raw':_0x3ff77c};}function isRelativePathSegment(_0x308546){return _0x308546==='.'||_0x308546==='..';}function validatePathSegment(_0x46f418){const _0x1f5f92=a75_0xd234;if(_0x46f418==='')throw new Error(_0x1f5f92(0x14c));if(_0x46f418==='.'||_0x46f418==='..')return;if(/[\x00-\x1F\x7F]/[_0x1f5f92(0x14a)](_0x46f418))throw new Error(_0x1f5f92(0x158)+_0x46f418);if(_0x46f418!==_0x46f418[_0x1f5f92(0x156)]()){}}export function validatePath(_0x15f69e){const _0x24ce19=a75_0xd234;if(_0x15f69e['segments'][_0x24ce19(0x149)]===0x0&&!_0x15f69e['isAbsolute'])throw new Error(_0x24ce19(0x154));if(_0x15f69e[_0x24ce19(0x14d)]){if(_0x15f69e['segments'][0x0]==='..')throw new Error(_0x24ce19(0x15a));let _0x3b2d4b=0x0;for(const _0x335b6d of _0x15f69e['segments']){if(_0x335b6d==='..'){if(_0x3b2d4b===0x0)throw new Error(_0x24ce19(0x15c));_0x3b2d4b--;}else _0x335b6d!=='.'&&_0x3b2d4b++;}}}export function joinPaths(_0x1fea9c,_0x283ee9){const _0x3d458a=a75_0xd234;if(!_0x1fea9c||_0x1fea9c==='/')return _0x283ee9;if(!_0x283ee9||_0x283ee9==='.')return _0x1fea9c;if(_0x283ee9['startsWith']('/'))return _0x283ee9;const _0x9e11b4=parsePath(_0x1fea9c),_0x517eea=parsePath(_0x283ee9),_0x586cb2=[..._0x9e11b4[_0x3d458a(0x14e)]];for(const _0x464774 of _0x517eea['segments']){if(_0x464774==='.')continue;else{if(_0x464774==='..'){if(_0x586cb2['length']===0x0)throw new Error(_0x3d458a(0x14f));_0x586cb2[_0x3d458a(0x155)]();}else _0x586cb2[_0x3d458a(0x145)](_0x464774);}}const _0x5e09aa=_0x586cb2[_0x3d458a(0x15d)]('/');return _0x9e11b4[_0x3d458a(0x142)]['startsWith']('/')?'/'+_0x5e09aa:_0x5e09aa;}export function normalizePath(_0x3c64a2){const _0x34285e=a75_0xd234,_0x53e16f=parsePath(_0x3c64a2),_0x389fe9=[];for(const _0xfd881 of _0x53e16f[_0x34285e(0x14e)]){if(_0xfd881==='.')continue;else{if(_0xfd881==='..'){if(_0x389fe9[_0x34285e(0x149)]===0x0){if(_0x53e16f[_0x34285e(0x14d)])throw new Error('Cannot\x20navigate\x20above\x20root');_0x389fe9[_0x34285e(0x145)]('..');}else _0x389fe9[_0x389fe9[_0x34285e(0x149)]-0x1]==='..'?_0x389fe9[_0x34285e(0x145)]('..'):_0x389fe9[_0x34285e(0x155)]();}else _0x389fe9['push'](_0xfd881);}}if(_0x389fe9[_0x34285e(0x149)]===0x0)return _0x53e16f[_0x34285e(0x14d)]?'/':'.';const _0x50c41f=_0x389fe9[_0x34285e(0x15d)]('/');return _0x53e16f[_0x34285e(0x142)][_0x34285e(0x15e)]('/')?'/'+_0x50c41f:_0x50c41f;}function a75_0xd234(_0x5a94f4,_0x2c1477){const _0x59518d=a75_0x5951();return a75_0xd234=function(_0xd234b9,_0x33e739){_0xd234b9=_0xd234b9-0x142;let _0x2b9c61=_0x59518d[_0xd234b9];return _0x2b9c61;},a75_0xd234(_0x5a94f4,_0x2c1477);}export function getParentPath(_0x42eba2){const _0x7610bd=a75_0xd234,_0x41613f=parsePath(_0x42eba2);if(_0x41613f['segments'][_0x7610bd(0x149)]<=0x1)return'/';const _0xc29923=_0x41613f[_0x7610bd(0x14e)][_0x7610bd(0x144)](0x0,-0x1)[_0x7610bd(0x15d)]('/');return _0x41613f[_0x7610bd(0x142)]['startsWith']('/')?'/'+_0xc29923:_0xc29923;}export function getBaseName(_0x3848f9){const _0x3f78d3=a75_0xd234,_0x5c8d49=parsePath(_0x3848f9);return _0x5c8d49[_0x3f78d3(0x14e)][_0x5c8d49[_0x3f78d3(0x14e)][_0x3f78d3(0x149)]-0x1]||'';}export function isChildPath(_0x4bfa54,_0x225ee5){const _0x1a7629=a75_0xd234,_0x5702c5=parsePath(_0x4bfa54),_0x273be7=parsePath(_0x225ee5);if(_0x5702c5[_0x1a7629(0x14e)]['length']<=_0x273be7['segments'][_0x1a7629(0x149)])return![];for(let _0x120a9d=0x0;_0x120a9d<_0x273be7['segments'][_0x1a7629(0x149)];_0x120a9d++){if(_0x5702c5[_0x1a7629(0x14e)][_0x120a9d]!==_0x273be7['segments'][_0x120a9d])return![];}return!![];}export function splitPath(_0x51bbdf){const _0xbbd3e3=a75_0xd234,_0x3eeed5=parsePath(_0x51bbdf);if(_0x3eeed5['segments'][_0xbbd3e3(0x149)]===0x0)throw new Error(_0xbbd3e3(0x14b));if(_0x3eeed5['segments'][_0xbbd3e3(0x149)]===0x1)return{'parent':_0x3eeed5['segments'][0x0]};return{'parent':_0x3eeed5[_0xbbd3e3(0x14e)][0x0],'child':_0x3eeed5[_0xbbd3e3(0x14e)][_0xbbd3e3(0x144)](0x1)[_0xbbd3e3(0x15d)]('/')};}function a75_0x5951(){const _0x47d415=['Relative\x20path\x20cannot\x20be\x20empty','pop','trim','substring','Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20','filter','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','Path\x20attempts\x20to\x20navigate\x20above\x20root','join','startsWith','12315CGqxLt','655242JfRpsz','raw','Path\x20cannot\x20be\x20empty','slice','push','3219020onxtdC','8150004dYANzT','4760451sJRcnD','length','test','Cannot\x20split\x20empty\x20path','Path\x20segment\x20cannot\x20be\x20empty','isAbsolute','segments','Cannot\x20navigate\x20above\x20root','3662104NovozF','236xyXUkT','339805LEXylT','7imjCRA'];a75_0x5951=function(){return _0x47d415;};return a75_0x5951();}
1
+ function a77_0x2c0a(){const _0x5172a7=['227112FwIYbc','826284rBBRCH','Path\x20attempts\x20to\x20navigate\x20above\x20root','9woVkkv','2836248FuVLaY','trim','Relative\x20path\x20cannot\x20be\x20empty','pop','2075535LKWoXG','Path\x20must\x20contain\x20at\x20least\x20one\x20segment','isAbsolute','join','Cannot\x20navigate\x20above\x20root','2994817rkddYE','11900330jVxEEi','split','Cannot\x20split\x20empty\x20path','1NuhvGH','test','Absolute\x20path\x20cannot\x20start\x20with\x20\x22..\x22','push','startsWith','slice','Path\x20cannot\x20be\x20empty','80gvyeZX','length','filter','segments','raw','substring','3600984WyfpSd'];a77_0x2c0a=function(){return _0x5172a7;};return a77_0x2c0a();}(function(_0x751553,_0x363025){const _0x52df50=a77_0x4dfe,_0x54b4d4=_0x751553();while(!![]){try{const _0x259991=parseInt(_0x52df50(0x84))/0x1*(parseInt(_0x52df50(0x74))/0x2)+parseInt(_0x52df50(0x73))/0x3*(parseInt(_0x52df50(0x8b))/0x4)+-parseInt(_0x52df50(0x7b))/0x5+parseInt(_0x52df50(0x72))/0x6+-parseInt(_0x52df50(0x80))/0x7+-parseInt(_0x52df50(0x77))/0x8*(-parseInt(_0x52df50(0x76))/0x9)+-parseInt(_0x52df50(0x81))/0xa;if(_0x259991===_0x363025)break;else _0x54b4d4['push'](_0x54b4d4['shift']());}catch(_0x3b605c){_0x54b4d4['push'](_0x54b4d4['shift']());}}}(a77_0x2c0a,0xcf432));export function parsePath(_0x5265a1){const _0x51977c=a77_0x4dfe;if(!_0x5265a1||_0x5265a1[_0x51977c(0x78)]()==='')throw new Error(_0x51977c(0x8a));const _0x6a33a3=_0x5265a1['trim']();if(_0x6a33a3==='/')return{'segments':[],'isAbsolute':!![],'raw':_0x5265a1};const _0x591f1c=_0x6a33a3[_0x51977c(0x88)]('/')?_0x6a33a3[_0x51977c(0x71)](0x1):_0x6a33a3,_0x3a408e=_0x591f1c[_0x51977c(0x82)]('/')[_0x51977c(0x6e)](_0x4338ae=>_0x4338ae!=='');if(_0x3a408e[_0x51977c(0x6d)]===0x0)throw new Error(_0x51977c(0x7c));const _0x36358f=_0x6a33a3[_0x51977c(0x88)]('/')||!isRelativePathSegment(_0x3a408e[0x0]);for(const _0x1c889b of _0x3a408e){validatePathSegment(_0x1c889b);}return{'segments':_0x3a408e,'isAbsolute':_0x36358f,'raw':_0x5265a1};}function isRelativePathSegment(_0x296757){return _0x296757==='.'||_0x296757==='..';}function validatePathSegment(_0x283454){const _0x50b9aa=a77_0x4dfe;if(_0x283454==='')throw new Error('Path\x20segment\x20cannot\x20be\x20empty');if(_0x283454==='.'||_0x283454==='..')return;if(/[\x00-\x1F\x7F]/[_0x50b9aa(0x85)](_0x283454))throw new Error('Path\x20segment\x20contains\x20invalid\x20control\x20characters:\x20'+_0x283454);if(_0x283454!==_0x283454[_0x50b9aa(0x78)]()){}}export function validatePath(_0x4777f4){const _0x4fb3ed=a77_0x4dfe;if(_0x4777f4['segments'][_0x4fb3ed(0x6d)]===0x0&&!_0x4777f4[_0x4fb3ed(0x7d)])throw new Error(_0x4fb3ed(0x79));if(_0x4777f4[_0x4fb3ed(0x7d)]){if(_0x4777f4[_0x4fb3ed(0x6f)][0x0]==='..')throw new Error(_0x4fb3ed(0x86));let _0x314e4b=0x0;for(const _0x42126c of _0x4777f4[_0x4fb3ed(0x6f)]){if(_0x42126c==='..'){if(_0x314e4b===0x0)throw new Error(_0x4fb3ed(0x75));_0x314e4b--;}else _0x42126c!=='.'&&_0x314e4b++;}}}export function joinPaths(_0x28b407,_0x18f9f4){const _0x3918d4=a77_0x4dfe;if(!_0x28b407||_0x28b407==='/')return _0x18f9f4;if(!_0x18f9f4||_0x18f9f4==='.')return _0x28b407;if(_0x18f9f4[_0x3918d4(0x88)]('/'))return _0x18f9f4;const _0x160e67=parsePath(_0x28b407),_0x526fc0=parsePath(_0x18f9f4),_0x4826a4=[..._0x160e67[_0x3918d4(0x6f)]];for(const _0x18ac88 of _0x526fc0[_0x3918d4(0x6f)]){if(_0x18ac88==='.')continue;else{if(_0x18ac88==='..'){if(_0x4826a4[_0x3918d4(0x6d)]===0x0)throw new Error(_0x3918d4(0x7f));_0x4826a4[_0x3918d4(0x7a)]();}else _0x4826a4['push'](_0x18ac88);}}const _0x116d05=_0x4826a4[_0x3918d4(0x7e)]('/');return _0x160e67[_0x3918d4(0x70)]['startsWith']('/')?'/'+_0x116d05:_0x116d05;}export function normalizePath(_0xb7f52){const _0x1e96b2=a77_0x4dfe,_0x5238d7=parsePath(_0xb7f52),_0x186905=[];for(const _0x36b9c6 of _0x5238d7[_0x1e96b2(0x6f)]){if(_0x36b9c6==='.')continue;else{if(_0x36b9c6==='..'){if(_0x186905['length']===0x0){if(_0x5238d7['isAbsolute'])throw new Error(_0x1e96b2(0x7f));_0x186905['push']('..');}else _0x186905[_0x186905[_0x1e96b2(0x6d)]-0x1]==='..'?_0x186905[_0x1e96b2(0x87)]('..'):_0x186905[_0x1e96b2(0x7a)]();}else _0x186905['push'](_0x36b9c6);}}if(_0x186905['length']===0x0)return _0x5238d7[_0x1e96b2(0x7d)]?'/':'.';const _0x138fc0=_0x186905[_0x1e96b2(0x7e)]('/');return _0x5238d7[_0x1e96b2(0x70)]['startsWith']('/')?'/'+_0x138fc0:_0x138fc0;}function a77_0x4dfe(_0x2ba0c2,_0x23928e){const _0x2c0a9a=a77_0x2c0a();return a77_0x4dfe=function(_0x4dfe17,_0x2aa530){_0x4dfe17=_0x4dfe17-0x6d;let _0x64e30e=_0x2c0a9a[_0x4dfe17];return _0x64e30e;},a77_0x4dfe(_0x2ba0c2,_0x23928e);}export function getParentPath(_0xfff121){const _0x167c8d=a77_0x4dfe,_0x4dc168=parsePath(_0xfff121);if(_0x4dc168[_0x167c8d(0x6f)]['length']<=0x1)return'/';const _0x364e32=_0x4dc168[_0x167c8d(0x6f)][_0x167c8d(0x89)](0x0,-0x1)[_0x167c8d(0x7e)]('/');return _0x4dc168[_0x167c8d(0x70)]['startsWith']('/')?'/'+_0x364e32:_0x364e32;}export function getBaseName(_0x330f16){const _0x5d1f13=a77_0x4dfe,_0x3d6bc5=parsePath(_0x330f16);return _0x3d6bc5[_0x5d1f13(0x6f)][_0x3d6bc5['segments'][_0x5d1f13(0x6d)]-0x1]||'';}export function isChildPath(_0x1a3ac6,_0x12d5eb){const _0x512b43=a77_0x4dfe,_0x1cbbe4=parsePath(_0x1a3ac6),_0xa5ea05=parsePath(_0x12d5eb);if(_0x1cbbe4['segments'][_0x512b43(0x6d)]<=_0xa5ea05[_0x512b43(0x6f)][_0x512b43(0x6d)])return![];for(let _0x1af36e=0x0;_0x1af36e<_0xa5ea05[_0x512b43(0x6f)]['length'];_0x1af36e++){if(_0x1cbbe4[_0x512b43(0x6f)][_0x1af36e]!==_0xa5ea05[_0x512b43(0x6f)][_0x1af36e])return![];}return!![];}export function splitPath(_0x53dff0){const _0x3facbb=a77_0x4dfe,_0x490a59=parsePath(_0x53dff0);if(_0x490a59[_0x3facbb(0x6f)][_0x3facbb(0x6d)]===0x0)throw new Error(_0x3facbb(0x83));if(_0x490a59[_0x3facbb(0x6f)][_0x3facbb(0x6d)]===0x1)return{'parent':_0x490a59[_0x3facbb(0x6f)][0x0]};return{'parent':_0x490a59[_0x3facbb(0x6f)][0x0],'child':_0x490a59[_0x3facbb(0x6f)][_0x3facbb(0x89)](0x1)[_0x3facbb(0x7e)]('/')};}
@@ -1 +1 @@
1
- function a76_0x5ba0(_0x334494,_0x2ee0cf){const _0x4db278=a76_0x4db2();return a76_0x5ba0=function(_0x5ba086,_0x2ab586){_0x5ba086=_0x5ba086-0x1a5;let _0x306e10=_0x4db278[_0x5ba086];return _0x306e10;},a76_0x5ba0(_0x334494,_0x2ee0cf);}(function(_0x5b7c3c,_0x4e3873){const _0x3dd267=a76_0x5ba0,_0x2a6703=_0x5b7c3c();while(!![]){try{const _0x5b840b=-parseInt(_0x3dd267(0x1a7))/0x1+parseInt(_0x3dd267(0x1a8))/0x2*(-parseInt(_0x3dd267(0x1a6))/0x3)+-parseInt(_0x3dd267(0x1b1))/0x4*(parseInt(_0x3dd267(0x1b0))/0x5)+-parseInt(_0x3dd267(0x1b2))/0x6*(parseInt(_0x3dd267(0x1b4))/0x7)+-parseInt(_0x3dd267(0x1b3))/0x8*(-parseInt(_0x3dd267(0x1ab))/0x9)+-parseInt(_0x3dd267(0x1af))/0xa*(parseInt(_0x3dd267(0x1aa))/0xb)+parseInt(_0x3dd267(0x1ae))/0xc;if(_0x5b840b===_0x4e3873)break;else _0x2a6703['push'](_0x2a6703['shift']());}catch(_0x55cd56){_0x2a6703['push'](_0x2a6703['shift']());}}}(a76_0x4db2,0x387d6));export function parseSegmentRef(_0x55d534){const _0x311be0=a76_0x5ba0,_0x135498=_0x55d534['indexOf']('/');if(_0x135498===-0x1)return{'parentId':_0x55d534};if(_0x135498===0x0)throw new Error(_0x311be0(0x1a5)+_0x55d534+_0x311be0(0x1a9));const _0xde7073=_0x55d534['substring'](0x0,_0x135498),_0x11d638=_0x55d534[_0x311be0(0x1ac)](_0x135498+0x1);if(_0x11d638==='')throw new Error(_0x311be0(0x1a5)+_0x55d534+_0x311be0(0x1ad));return{'parentId':_0xde7073,'childId':_0x11d638};}function a76_0x4db2(){const _0x102cb9=['.\x20Parent\x20name\x20cannot\x20be\x20empty','11XpRnrE','9LxhBZJ','substring','.\x20Child\x20name\x20cannot\x20be\x20empty','11938980dMhfVD','1402240RdOjTd','25mhoQRq','90844UibVtg','44994vtvtwd','1714904XkDCBq','35naiKID','Invalid\x20segment\x20reference\x20format:\x20','27sRostC','395517UUsZDv','64690mjRftG'];a76_0x4db2=function(){return _0x102cb9;};return a76_0x4db2();}
1
+ (function(_0x3ac379,_0x34f17a){const _0x52ec91=a78_0x1163,_0x39a9ba=_0x3ac379();while(!![]){try{const _0x10f07f=parseInt(_0x52ec91(0x125))/0x1*(-parseInt(_0x52ec91(0x124))/0x2)+parseInt(_0x52ec91(0x11c))/0x3+-parseInt(_0x52ec91(0x11b))/0x4*(-parseInt(_0x52ec91(0x120))/0x5)+-parseInt(_0x52ec91(0x11e))/0x6*(-parseInt(_0x52ec91(0x11d))/0x7)+parseInt(_0x52ec91(0x123))/0x8+-parseInt(_0x52ec91(0x11f))/0x9+-parseInt(_0x52ec91(0x128))/0xa;if(_0x10f07f===_0x34f17a)break;else _0x39a9ba['push'](_0x39a9ba['shift']());}catch(_0x5a8760){_0x39a9ba['push'](_0x39a9ba['shift']());}}}(a78_0x3820,0x8a918));export function parseSegmentRef(_0x316c69){const _0x2903e9=a78_0x1163,_0x5149c1=_0x316c69[_0x2903e9(0x122)]('/');if(_0x5149c1===-0x1)return{'parentId':_0x316c69};if(_0x5149c1===0x0)throw new Error(_0x2903e9(0x127)+_0x316c69+_0x2903e9(0x121));const _0x312d68=_0x316c69[_0x2903e9(0x126)](0x0,_0x5149c1),_0x20a895=_0x316c69[_0x2903e9(0x126)](_0x5149c1+0x1);if(_0x20a895==='')throw new Error(_0x2903e9(0x127)+_0x316c69+_0x2903e9(0x129));return{'parentId':_0x312d68,'childId':_0x20a895};}function a78_0x1163(_0x3f7a5a,_0xb7f83d){const _0x3820b1=a78_0x3820();return a78_0x1163=function(_0x1163a4,_0x49d804){_0x1163a4=_0x1163a4-0x11b;let _0x2e560e=_0x3820b1[_0x1163a4];return _0x2e560e;},a78_0x1163(_0x3f7a5a,_0xb7f83d);}function a78_0x3820(){const _0x2fc36e=['93591cvyfDF','substring','Invalid\x20segment\x20reference\x20format:\x20','21574520aswcuD','.\x20Child\x20name\x20cannot\x20be\x20empty','1628sTPqGN','3387573OAQjFK','13811ZzCRvT','1572rximXC','199863SPPFQS','11225LsXpRB','.\x20Parent\x20name\x20cannot\x20be\x20empty','indexOf','8237776WKgCKo','18nUsJLa'];a78_0x3820=function(){return _0x2fc36e;};return a78_0x3820();}
@@ -1 +1 @@
1
- function a77_0x2aaf(_0x18f8f2,_0x399d22){const _0xf05a25=a77_0xf05a();return a77_0x2aaf=function(_0x2aafa7,_0x331c3a){_0x2aafa7=_0x2aafa7-0x193;let _0x3f4fa7=_0xf05a25[_0x2aafa7];return _0x3f4fa7;},a77_0x2aaf(_0x18f8f2,_0x399d22);}(function(_0x40de19,_0x50275e){const _0x312b20=a77_0x2aaf,_0x47503f=_0x40de19();while(!![]){try{const _0x252f6b=-parseInt(_0x312b20(0x19b))/0x1*(parseInt(_0x312b20(0x197))/0x2)+-parseInt(_0x312b20(0x1aa))/0x3*(-parseInt(_0x312b20(0x1ae))/0x4)+-parseInt(_0x312b20(0x19e))/0x5*(-parseInt(_0x312b20(0x195))/0x6)+parseInt(_0x312b20(0x1a8))/0x7+parseInt(_0x312b20(0x19a))/0x8*(parseInt(_0x312b20(0x1ac))/0x9)+-parseInt(_0x312b20(0x193))/0xa*(-parseInt(_0x312b20(0x1a5))/0xb)+-parseInt(_0x312b20(0x1a1))/0xc*(parseInt(_0x312b20(0x1a4))/0xd);if(_0x252f6b===_0x50275e)break;else _0x47503f['push'](_0x47503f['shift']());}catch(_0xe2b8e6){_0x47503f['push'](_0x47503f['shift']());}}}(a77_0xf05a,0x3131a));import a77_0x10b97c from'ora';function a77_0xf05a(){const _0x27ad0a=['floor','clock','2717323hAWrlQ','start','69aUUhTD','isSpinning','18iHgOTr','toFixed','12404TIwigW','640dQdpue','stop','1353762SgpTVl','now','6002LNNoWP','cyan','text','376952ZtNkZF','18YPreOq','jobId','phase','5XDVnYL','extra','replace','897564xXesFs','intervalFactory','...','117ytgLlr','25663RpiEPM'];a77_0xf05a=function(){return _0x27ad0a;};return a77_0xf05a();}export function createCommandSpinner(_0x92b20a,_0x1d734e={}){const _0x2918a3=a77_0x2aaf,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x1d734e;return a77_0x10b97c({'text':_0x92b20a,'color':_0x2918a3(0x198),'isEnabled':forceEnabled||process['stdout']['isTTY']&&!verbose});}export async function withSpinner(_0x9c947d,_0x5cbdfa,_0x3ca3d4={}){const _0x3833f9=a77_0x2aaf,_0x34a859=_0x3ca3d4['clock']??(()=>Date['now']()),_0x26219b=createCommandSpinner(_0x9c947d,_0x3ca3d4);_0x26219b[_0x3833f9(0x1a9)]();const _0x36efd7=_0x34a859();try{const _0x15db84=await _0x5cbdfa(),_0x50d55f=_0x34a859()-_0x36efd7;return _0x26219b[_0x3833f9(0x194)](),{'data':_0x15db84,'elapsedMs':_0x50d55f};}catch(_0x11e91d){_0x26219b[_0x3833f9(0x194)]();throw _0x11e91d;}}export async function withQuerySpinner(_0x5a0ce6,_0x5c0ff2,_0x43e43f={}){const _0x4903c4=a77_0x2aaf,_0xc29f40=_0x43e43f[_0x4903c4(0x1a7)]??(()=>Date[_0x4903c4(0x196)]()),_0x448b0e=_0x43e43f[_0x4903c4(0x1a2)]??setInterval,_0xeb18c1=createCommandSpinner(_0x5a0ce6,_0x43e43f);_0xeb18c1['start']();const _0x56e3b2=_0xc29f40(),_0x35d445=_0x5a0ce6[_0x4903c4(0x1a0)](_0x4903c4(0x1a3),''),_0x512d12={},_0x58975c=()=>{const _0xed2a85=_0x4903c4;if(!_0xeb18c1[_0xed2a85(0x1ab)])return;const _0x2c3353=_0xc29f40()-_0x56e3b2,_0x41979a=formatElapsed(_0x2c3353),_0x2b3f10=_0x512d12['phase']??_0x35d445,_0x242dee=_0x512d12[_0xed2a85(0x19c)]?'\x20[Job\x20ID:\x20'+_0x512d12[_0xed2a85(0x19c)]+']':'',_0x5c03d2=_0x512d12[_0xed2a85(0x19f)]?'\x20'+_0x512d12[_0xed2a85(0x19f)]:'';_0xeb18c1[_0xed2a85(0x199)]=_0x2b3f10+'\x20'+_0x41979a+_0x5c03d2+_0x242dee;},_0x2c1f45=_0x448b0e(()=>{_0x58975c();},0x3e8),_0x41fe02={'setPhase':_0x32333e=>{const _0x30819a=_0x4903c4;_0x512d12[_0x30819a(0x19d)]=_0x32333e,_0x58975c();},'setJobId':_0x4759d1=>{_0x512d12['jobId']=_0x4759d1,_0x58975c();},'setExtra':_0x53c323=>{_0x512d12['extra']=_0x53c323,_0x58975c();}};_0x58975c();try{const _0x2f66ce=await _0x5c0ff2(_0x41fe02),_0x5002bf=_0xc29f40()-_0x56e3b2;return{'data':_0x2f66ce,'elapsedMs':_0x5002bf};}finally{clearInterval(_0x2c1f45),_0xeb18c1['stop']();}}export function formatElapsed(_0x3de369){const _0x4455c9=a77_0x2aaf,_0xef6c9b=Math[_0x4455c9(0x1a6)](_0x3de369/0x3e8);if(_0xef6c9b<0x3c)return(_0x3de369/0x3e8)[_0x4455c9(0x1ad)](0x1)+'s';const _0x5f431b=Math[_0x4455c9(0x1a6)](_0xef6c9b/0x3c),_0x5811e5=_0xef6c9b%0x3c;if(_0x5f431b<0x3c)return _0x5f431b+'m\x20'+_0x5811e5+'s';const _0x26cdff=Math['floor'](_0x5f431b/0x3c),_0x224e37=_0x5f431b%0x3c;return _0x26cdff+'h\x20'+_0x224e37+'m';}
1
+ (function(_0x1ffad5,_0x6591e0){const _0x3acef7=a79_0x1386,_0x2f0d40=_0x1ffad5();while(!![]){try{const _0x520179=parseInt(_0x3acef7(0x9f))/0x1*(parseInt(_0x3acef7(0x9e))/0x2)+parseInt(_0x3acef7(0xb2))/0x3*(-parseInt(_0x3acef7(0xa5))/0x4)+-parseInt(_0x3acef7(0xaf))/0x5+parseInt(_0x3acef7(0xa3))/0x6+-parseInt(_0x3acef7(0xa1))/0x7+parseInt(_0x3acef7(0x9c))/0x8*(parseInt(_0x3acef7(0xa9))/0x9)+parseInt(_0x3acef7(0xa7))/0xa;if(_0x520179===_0x6591e0)break;else _0x2f0d40['push'](_0x2f0d40['shift']());}catch(_0x2b9188){_0x2f0d40['push'](_0x2f0d40['shift']());}}}(a79_0x13e3,0x3c959));import a79_0x3d57da from'ora';function a79_0x1386(_0x42e5c9,_0x2f57c0){const _0x13e3c6=a79_0x13e3();return a79_0x1386=function(_0x1386cf,_0xc9619a){_0x1386cf=_0x1386cf-0x9c;let _0x3083d8=_0x13e3c6[_0x1386cf];return _0x3083d8;},a79_0x1386(_0x42e5c9,_0x2f57c0);}export function createCommandSpinner(_0x5a3a54,_0x13c681={}){const _0xdf4a7c=a79_0x1386,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x13c681;return a79_0x3d57da({'text':_0x5a3a54,'color':'cyan','isEnabled':forceEnabled||process['stdout'][_0xdf4a7c(0xaa)]&&!verbose});}export async function withSpinner(_0x17a428,_0x4bf6ec,_0x4cd296={}){const _0x2ac5b7=a79_0x1386,_0x3774ca=_0x4cd296[_0x2ac5b7(0x9d)]??(()=>Date[_0x2ac5b7(0xac)]()),_0x3cf5b9=createCommandSpinner(_0x17a428,_0x4cd296);_0x3cf5b9[_0x2ac5b7(0xa2)]();const _0x482456=_0x3774ca();try{const _0x910a09=await _0x4bf6ec(),_0x444ff8=_0x3774ca()-_0x482456;return _0x3cf5b9['stop'](),{'data':_0x910a09,'elapsedMs':_0x444ff8};}catch(_0x1f24b9){_0x3cf5b9['stop']();throw _0x1f24b9;}}export async function withQuerySpinner(_0x20b570,_0x2ddfdd,_0x5dbd3a={}){const _0x5e1164=a79_0x1386,_0x559779=_0x5dbd3a[_0x5e1164(0x9d)]??(()=>Date[_0x5e1164(0xac)]()),_0x3f62cb=_0x5dbd3a['intervalFactory']??setInterval,_0x2700a5=createCommandSpinner(_0x20b570,_0x5dbd3a);_0x2700a5[_0x5e1164(0xa2)]();const _0x4f0b1f=_0x559779(),_0xc65755=_0x20b570[_0x5e1164(0xb0)](_0x5e1164(0xa0),''),_0xabaa90={},_0x103830=()=>{const _0xaa1ddc=_0x5e1164;if(!_0x2700a5['isSpinning'])return;const _0x51eb01=_0x559779()-_0x4f0b1f,_0x49aee2=formatElapsed(_0x51eb01),_0x55186e=_0xabaa90[_0xaa1ddc(0xab)]??_0xc65755,_0x127573=_0xabaa90['jobId']?_0xaa1ddc(0xa6)+_0xabaa90[_0xaa1ddc(0xa8)]+']':'',_0x5cf510=_0xabaa90[_0xaa1ddc(0xad)]?'\x20'+_0xabaa90[_0xaa1ddc(0xad)]:'';_0x2700a5[_0xaa1ddc(0xa4)]=_0x55186e+'\x20'+_0x49aee2+_0x5cf510+_0x127573;},_0x51ac53=_0x3f62cb(()=>{_0x103830();},0x3e8),_0x3f9e42={'setPhase':_0x4539d3=>{_0xabaa90['phase']=_0x4539d3,_0x103830();},'setJobId':_0x1f1fb2=>{const _0x9d5cac=_0x5e1164;_0xabaa90[_0x9d5cac(0xa8)]=_0x1f1fb2,_0x103830();},'setExtra':_0x9f580e=>{_0xabaa90['extra']=_0x9f580e,_0x103830();}};_0x103830();try{const _0x19235f=await _0x2ddfdd(_0x3f9e42),_0xc91cc=_0x559779()-_0x4f0b1f;return{'data':_0x19235f,'elapsedMs':_0xc91cc};}finally{clearInterval(_0x51ac53),_0x2700a5[_0x5e1164(0xae)]();}}function a79_0x13e3(){const _0x1dbd2c=['...','2971388hoGdUw','start','555354LIlWCC','text','70676LArSSO','\x20[Job\x20ID:\x20','4334740jZJswc','jobId','1989lOrKKS','isTTY','phase','now','extra','stop','151205ZJmRZQ','replace','toFixed','51uqJNgN','floor','15992WAWqty','clock','70878cUlHbk','1pPsAln'];a79_0x13e3=function(){return _0x1dbd2c;};return a79_0x13e3();}export function formatElapsed(_0x37295e){const _0x599e17=a79_0x1386,_0x3ddc97=Math[_0x599e17(0xb3)](_0x37295e/0x3e8);if(_0x3ddc97<0x3c)return(_0x37295e/0x3e8)[_0x599e17(0xb1)](0x1)+'s';const _0x390bf3=Math[_0x599e17(0xb3)](_0x3ddc97/0x3c),_0x112182=_0x3ddc97%0x3c;if(_0x390bf3<0x3c)return _0x390bf3+'m\x20'+_0x112182+'s';const _0x227a87=Math[_0x599e17(0xb3)](_0x390bf3/0x3c),_0x362446=_0x390bf3%0x3c;return _0x227a87+'h\x20'+_0x362446+'m';}
@@ -1 +1 @@
1
- function a78_0x5122(){const _0x2223c3=['Error\x20reading\x20file\x20\x27','Permission\x20denied\x20reading\x20file\x20\x27','Content\x20contains\x20no\x20SQL\x20statements','4128600iBGuGu','883581AUMNtn','length','\x27\x20not\x20found','trim','542dypAqF','EACCES','map','358164HRdmlC','message','94105alYLbB','577ybAJKf','replace','push','9295650Wmuwgk','File\x20\x27','336YTxRZp','utf-8','code','8181858FkdVFI','filter'];a78_0x5122=function(){return _0x2223c3;};return a78_0x5122();}(function(_0x513121,_0x17a7c7){const _0x420504=a78_0x1b31,_0x2ab981=_0x513121();while(!![]){try{const _0x6e714a=parseInt(_0x420504(0x107))/0x1*(-parseInt(_0x420504(0x119))/0x2)+parseInt(_0x420504(0x115))/0x3+-parseInt(_0x420504(0x114))/0x4+parseInt(_0x420504(0x106))/0x5+-parseInt(_0x420504(0x10f))/0x6+parseInt(_0x420504(0x10a))/0x7+parseInt(_0x420504(0x10c))/0x8*(parseInt(_0x420504(0x104))/0x9);if(_0x6e714a===_0x17a7c7)break;else _0x2ab981['push'](_0x2ab981['shift']());}catch(_0x3316ff){_0x2ab981['push'](_0x2ab981['shift']());}}}(a78_0x5122,0xb9afa));import{readFileSync}from'fs';export function stripSqlComments(_0x3858d5){const _0x19e50f=a78_0x1b31;let _0x1a726c=_0x3858d5[_0x19e50f(0x108)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x1a726c=_0x1a726c['replace'](/--.*$/gm,''),_0x1a726c[_0x19e50f(0x118)]();}function a78_0x1b31(_0x9c7eda,_0x5ebbc6){const _0x5122bd=a78_0x5122();return a78_0x1b31=function(_0x1b3177,_0x562183){_0x1b3177=_0x1b3177-0x104;let _0x3229cc=_0x5122bd[_0x1b3177];return _0x3229cc;},a78_0x1b31(_0x9c7eda,_0x5ebbc6);}function isEscaped(_0xa428b1,_0x5ea1a0){let _0x44c2fb=0x0;for(let _0x4bfd9c=_0x5ea1a0-0x1;_0x4bfd9c>=0x0&&_0xa428b1[_0x4bfd9c]==='\x5c';_0x4bfd9c--){_0x44c2fb++;}return _0x44c2fb%0x2===0x1;}export function splitSqlStatements(_0x50abdb){const _0x5013ce=a78_0x1b31,_0xb09b09=stripSqlComments(_0x50abdb);if(!_0xb09b09)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');const _0x17e672=[];let _0x5eba18='',_0x23837b=![],_0x12eb2f=![],_0x2aacc5=![];for(let _0x2de503=0x0;_0x2de503<_0x50abdb[_0x5013ce(0x116)];_0x2de503++){const _0x32f3cc=_0x50abdb[_0x2de503];if(_0x32f3cc==='\x27'&&!isEscaped(_0x50abdb,_0x2de503)&&!_0x12eb2f&&!_0x2aacc5)_0x23837b=!_0x23837b;else{if(_0x32f3cc==='\x22'&&!isEscaped(_0x50abdb,_0x2de503)&&!_0x23837b&&!_0x2aacc5)_0x12eb2f=!_0x12eb2f;else _0x32f3cc==='`'&&!isEscaped(_0x50abdb,_0x2de503)&&!_0x23837b&&!_0x12eb2f&&(_0x2aacc5=!_0x2aacc5);}if(_0x32f3cc===';'&&!_0x23837b&&!_0x12eb2f&&!_0x2aacc5){const _0xa5ee94=_0x5eba18[_0x5013ce(0x118)]();_0xa5ee94&&_0x17e672[_0x5013ce(0x109)](_0xa5ee94),_0x5eba18='';}else _0x5eba18+=_0x32f3cc;}const _0x3485f9=_0x5eba18[_0x5013ce(0x118)]();_0x3485f9&&_0x17e672[_0x5013ce(0x109)](_0x3485f9);const _0x373c1c=_0x17e672[_0x5013ce(0x11b)](_0x37ada6=>_0x37ada6[_0x5013ce(0x118)]())[_0x5013ce(0x110)](_0x4de49f=>{const _0x9fbfe9=_0x5013ce,_0x21a56f=stripSqlComments(_0x4de49f);return _0x21a56f[_0x9fbfe9(0x116)]>0x0;});if(_0x373c1c[_0x5013ce(0x116)]===0x0)throw new Error(_0x5013ce(0x113));return _0x373c1c;}export function readFileContent(_0xe6422d){const _0x4af173=a78_0x1b31;try{return readFileSync(_0xe6422d,_0x4af173(0x10d));}catch(_0x382dbc){const _0x2c6a0e=_0x382dbc[_0x4af173(0x10e)];if(_0x2c6a0e==='ENOENT')throw new Error(_0x4af173(0x10b)+_0xe6422d+_0x4af173(0x117));else{if(_0x2c6a0e===_0x4af173(0x11a))throw new Error(_0x4af173(0x112)+_0xe6422d+'\x27');else throw new Error(_0x4af173(0x111)+_0xe6422d+'\x27:\x20'+_0x382dbc[_0x4af173(0x105)]);}}}export function readSqlStatementsFromFile(_0x4ca7f9){const _0x1679ab=a78_0x1b31,_0x85098d=readFileContent(_0x4ca7f9);try{return splitSqlStatements(_0x85098d);}catch(_0x271a2d){throw new Error(_0x1679ab(0x10b)+_0x4ca7f9+'\x27\x20'+_0x271a2d[_0x1679ab(0x105)]['toLowerCase']());}}
1
+ (function(_0x381bac,_0x2928ff){const _0xa26083=a80_0x24ba,_0x1394a6=_0x381bac();while(!![]){try{const _0x5117bd=-parseInt(_0xa26083(0xd0))/0x1*(-parseInt(_0xa26083(0xd9))/0x2)+parseInt(_0xa26083(0xd2))/0x3+parseInt(_0xa26083(0xdc))/0x4*(parseInt(_0xa26083(0xe0))/0x5)+-parseInt(_0xa26083(0xdf))/0x6*(parseInt(_0xa26083(0xc8))/0x7)+-parseInt(_0xa26083(0xdd))/0x8*(parseInt(_0xa26083(0xd5))/0x9)+parseInt(_0xa26083(0xc7))/0xa+-parseInt(_0xa26083(0xd7))/0xb*(parseInt(_0xa26083(0xdb))/0xc);if(_0x5117bd===_0x2928ff)break;else _0x1394a6['push'](_0x1394a6['shift']());}catch(_0x4a1858){_0x1394a6['push'](_0x1394a6['shift']());}}}(a80_0x8f10,0xe60c9));import{readFileSync}from'fs';export function stripSqlComments(_0x4e0eb0){const _0x338c1e=a80_0x24ba;let _0x32ef4a=_0x4e0eb0[_0x338c1e(0xd6)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x32ef4a=_0x32ef4a['replace'](/--.*$/gm,''),_0x32ef4a[_0x338c1e(0xde)]();}function isEscaped(_0x255acf,_0x5f0c83){let _0x23ab27=0x0;for(let _0xa2a2c3=_0x5f0c83-0x1;_0xa2a2c3>=0x0&&_0x255acf[_0xa2a2c3]==='\x5c';_0xa2a2c3--){_0x23ab27++;}return _0x23ab27%0x2===0x1;}export function splitSqlStatements(_0x1b2aad){const _0x4b0c48=a80_0x24ba,_0x2bac13=stripSqlComments(_0x1b2aad);if(!_0x2bac13)throw new Error(_0x4b0c48(0xd8));const _0x2018e8=[];let _0x52acd8='',_0x5d2583=![],_0xbab4de=![],_0x16be62=![];for(let _0x1f6c05=0x0;_0x1f6c05<_0x1b2aad['length'];_0x1f6c05++){const _0x1400e4=_0x1b2aad[_0x1f6c05];if(_0x1400e4==='\x27'&&!isEscaped(_0x1b2aad,_0x1f6c05)&&!_0xbab4de&&!_0x16be62)_0x5d2583=!_0x5d2583;else{if(_0x1400e4==='\x22'&&!isEscaped(_0x1b2aad,_0x1f6c05)&&!_0x5d2583&&!_0x16be62)_0xbab4de=!_0xbab4de;else _0x1400e4==='`'&&!isEscaped(_0x1b2aad,_0x1f6c05)&&!_0x5d2583&&!_0xbab4de&&(_0x16be62=!_0x16be62);}if(_0x1400e4===';'&&!_0x5d2583&&!_0xbab4de&&!_0x16be62){const _0x313403=_0x52acd8['trim']();_0x313403&&_0x2018e8[_0x4b0c48(0xcb)](_0x313403),_0x52acd8='';}else _0x52acd8+=_0x1400e4;}const _0x290f68=_0x52acd8[_0x4b0c48(0xde)]();_0x290f68&&_0x2018e8[_0x4b0c48(0xcb)](_0x290f68);const _0x122cfa=_0x2018e8[_0x4b0c48(0xcf)](_0x6414f2=>_0x6414f2['trim']())['filter'](_0x352c45=>{const _0x55e11f=stripSqlComments(_0x352c45);return _0x55e11f['length']>0x0;});if(_0x122cfa[_0x4b0c48(0xd3)]===0x0)throw new Error(_0x4b0c48(0xd8));return _0x122cfa;}export function readFileContent(_0x58e23d){const _0x1e797d=a80_0x24ba;try{return readFileSync(_0x58e23d,_0x1e797d(0xca));}catch(_0x6e40be){const _0x8c14d7=_0x6e40be[_0x1e797d(0xda)];if(_0x8c14d7==='ENOENT')throw new Error(_0x1e797d(0xc9)+_0x58e23d+_0x1e797d(0xd1));else{if(_0x8c14d7===_0x1e797d(0xc6))throw new Error(_0x1e797d(0xce)+_0x58e23d+'\x27');else throw new Error(_0x1e797d(0xcc)+_0x58e23d+_0x1e797d(0xd4)+_0x6e40be['message']);}}}export function readSqlStatementsFromFile(_0x580d9c){const _0x1ab7b9=a80_0x24ba,_0x468105=readFileContent(_0x580d9c);try{return splitSqlStatements(_0x468105);}catch(_0x223ca5){throw new Error(_0x1ab7b9(0xc9)+_0x580d9c+'\x27\x20'+_0x223ca5['message'][_0x1ab7b9(0xcd)]());}}function a80_0x24ba(_0x2967f1,_0x186741){const _0x8f10f6=a80_0x8f10();return a80_0x24ba=function(_0x24ba71,_0x5b8ada){_0x24ba71=_0x24ba71-0xc6;let _0x38ebf0=_0x8f10f6[_0x24ba71];return _0x38ebf0;},a80_0x24ba(_0x2967f1,_0x186741);}function a80_0x8f10(){const _0x121cad=['8lOrYzw','trim','7164feNXxX','2881665sZfHTZ','EACCES','18202610XXdCsK','7567ProFTw','File\x20\x27','utf-8','push','Error\x20reading\x20file\x20\x27','toLowerCase','Permission\x20denied\x20reading\x20file\x20\x27','map','1049QwYCPK','\x27\x20not\x20found','89118WttjQr','length','\x27:\x20','5242122nkqGcF','replace','55WukJez','Content\x20contains\x20no\x20SQL\x20statements','1756nvthHh','code','4042884kUxxoY','12pwsHSc'];a80_0x8f10=function(){return _0x121cad;};return a80_0x8f10();}
@@ -1 +1 @@
1
- (function(_0x1f5077,_0x11489b){const _0x5b2233=a79_0x27c6,_0x13b1dc=_0x1f5077();while(!![]){try{const _0x3c8194=-parseInt(_0x5b2233(0x172))/0x1*(parseInt(_0x5b2233(0x18a))/0x2)+parseInt(_0x5b2233(0x17a))/0x3+parseInt(_0x5b2233(0x183))/0x4*(-parseInt(_0x5b2233(0x180))/0x5)+parseInt(_0x5b2233(0x188))/0x6+parseInt(_0x5b2233(0x18c))/0x7+-parseInt(_0x5b2233(0x177))/0x8*(-parseInt(_0x5b2233(0x17b))/0x9)+-parseInt(_0x5b2233(0x174))/0xa;if(_0x3c8194===_0x11489b)break;else _0x13b1dc['push'](_0x13b1dc['shift']());}catch(_0x2441d0){_0x13b1dc['push'](_0x13b1dc['shift']());}}}(a79_0xa912,0x38b97));function a79_0x27c6(_0x585387,_0x38dae1){const _0xa912d6=a79_0xa912();return a79_0x27c6=function(_0x27c69c,_0x459c65){_0x27c69c=_0x27c69c-0x172;let _0x1a4fdf=_0xa912d6[_0x27c69c];return _0x1a4fdf;},a79_0x27c6(_0x585387,_0x38dae1);}function a79_0xa912(){const _0x171052=['parse','event','[LLM\x20API\x20SSE]\x20','startsWith','33310PtJInF','decode','body','44IZznSz','trim','data','pop','releaseLock','939336hTzuDh','split','738260WTQWeH','Response\x20body\x20is\x20null','2062718OHFWPh','1DNliqA','read','6060010zhDjIJ','debug','slice','1432JDJqcG','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','indexOf','1200315hzRKRT','21591ciVsvc'];a79_0xa912=function(){return _0x171052;};return a79_0xa912();}export async function*parseSSEStream(_0xb68c2e,_0x1fabee){const _0x3cdcc4=a79_0x27c6;if(!_0xb68c2e['body'])throw new Error(_0x3cdcc4(0x18b));const _0x3e5e0b=_0xb68c2e[_0x3cdcc4(0x182)]['getReader'](),_0x5c87e5=new TextDecoder();let _0x2e4e2d='',_0xe19a57={};try{while(!![]){const {done:_0x2c8a29,value:_0x5c1567}=await _0x3e5e0b[_0x3cdcc4(0x173)]();if(_0x2c8a29){if(_0xe19a57[_0x3cdcc4(0x185)]){_0x1fabee?.[_0x3cdcc4(0x175)](_0x3cdcc4(0x17e)+_0xe19a57['data']);const _0x145255=parseSSEData(_0xe19a57['data']);yield _0x145255;}break;}_0x2e4e2d+=_0x5c87e5[_0x3cdcc4(0x181)](_0x5c1567,{'stream':!![]});const _0x1e1338=_0x2e4e2d[_0x3cdcc4(0x189)]('\x0a');_0x2e4e2d=_0x1e1338[_0x3cdcc4(0x186)]()||'';for(const _0x4606b3 of _0x1e1338){if(_0x4606b3[_0x3cdcc4(0x184)]()===''){if(_0xe19a57['data']){_0x1fabee?.[_0x3cdcc4(0x175)]('[LLM\x20API\x20SSE]\x20'+_0xe19a57[_0x3cdcc4(0x185)]);const _0x22874c=parseSSEData(_0xe19a57['data']);yield _0x22874c,_0xe19a57={};}continue;}if(_0x4606b3[_0x3cdcc4(0x17f)](':'))continue;const _0x25b364=_0x4606b3[_0x3cdcc4(0x179)](':');if(_0x25b364===-0x1)continue;const _0x1ad6ff=_0x4606b3['slice'](0x0,_0x25b364);let _0x17853d=_0x4606b3[_0x3cdcc4(0x176)](_0x25b364+0x1);_0x17853d[_0x3cdcc4(0x17f)]('\x20')&&(_0x17853d=_0x17853d[_0x3cdcc4(0x176)](0x1));switch(_0x1ad6ff){case _0x3cdcc4(0x17d):_0xe19a57[_0x3cdcc4(0x17d)]=_0x17853d;break;case _0x3cdcc4(0x185):_0xe19a57[_0x3cdcc4(0x185)]=_0xe19a57[_0x3cdcc4(0x185)]?_0xe19a57[_0x3cdcc4(0x185)]+'\x0a'+_0x17853d:_0x17853d;break;case'id':_0xe19a57['id']=_0x17853d;break;}}}}finally{_0x3e5e0b[_0x3cdcc4(0x187)]();}}function parseSSEData(_0x4bfb87){const _0x5d9b44=a79_0x27c6;try{return JSON[_0x5d9b44(0x17c)](_0x4bfb87);}catch(_0x4e0641){throw new Error(_0x5d9b44(0x178)+_0x4bfb87,{'cause':_0x4e0641});}}
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 +1 @@
1
- (function(_0x238f7a,_0x2ac0f0){const _0x173886=a80_0x375f,_0x596b0d=_0x238f7a();while(!![]){try{const _0x339311=-parseInt(_0x173886(0x1a9))/0x1*(parseInt(_0x173886(0x1af))/0x2)+parseInt(_0x173886(0x198))/0x3+-parseInt(_0x173886(0x1aa))/0x4+parseInt(_0x173886(0x1ab))/0x5*(parseInt(_0x173886(0x1a5))/0x6)+-parseInt(_0x173886(0x1a8))/0x7*(-parseInt(_0x173886(0x1a6))/0x8)+-parseInt(_0x173886(0x1a3))/0x9+parseInt(_0x173886(0x1b1))/0xa*(-parseInt(_0x173886(0x1a7))/0xb);if(_0x339311===_0x2ac0f0)break;else _0x596b0d['push'](_0x596b0d['shift']());}catch(_0x94c342){_0x596b0d['push'](_0x596b0d['shift']());}}}(a80_0x1592,0x73d92));import a80_0x292691 from'string-width';export function stringWidth(_0x580532){return a80_0x292691(_0x580532);}export function padEnd(_0x5e8e30,_0x2347b8){const _0x5d26ac=a80_0x375f,_0x12ed6a=stringWidth(_0x5e8e30);if(_0x12ed6a>=_0x2347b8)return _0x5e8e30;return _0x5e8e30+'\x20'[_0x5d26ac(0x1ae)](_0x2347b8-_0x12ed6a);}export function padStart(_0x3e709c,_0x36970c){const _0x24927a=a80_0x375f,_0x2e167f=stringWidth(_0x3e709c);if(_0x2e167f>=_0x36970c)return _0x3e709c;return'\x20'[_0x24927a(0x1ae)](_0x36970c-_0x2e167f)+_0x3e709c;}function a80_0x1592(){const _0x581556=['202DBTvxi','random','270VahjKW','2120598DbHxPs','toString','Cannot\x20escape\x20empty\x20string\x20literal','USERNAME','unknown','\x5c$&','USER','substring','test','trim','floor','6228675OrwGqF','env','1018050pCzNYk','2385112QfGaVo','66957dYZenI','7EuWuCz','458OJvCHe','547336QzjdkW','15kBunqB','replace','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','repeat'];a80_0x1592=function(){return _0x581556;};return a80_0x1592();}export function centerAlign(_0x5057ce,_0x2f0e92){const _0x22cb5a=a80_0x375f,_0x54e00c=stringWidth(_0x5057ce);if(_0x54e00c>_0x2f0e92){if(_0x2f0e92<=0x1)return'…'[_0x22cb5a(0x19f)](0x0,_0x2f0e92);let _0x4faf61=_0x5057ce;while(stringWidth(_0x4faf61+'…')>_0x2f0e92){_0x4faf61=_0x4faf61['slice'](0x0,-0x1);}return _0x4faf61+'…';}if(_0x54e00c===_0x2f0e92)return _0x5057ce;const _0x412ad2=_0x2f0e92-_0x54e00c,_0x8e7acc=Math[_0x22cb5a(0x1a2)](_0x412ad2/0x2),_0x2f38e3=_0x412ad2-_0x8e7acc;return'\x20'[_0x22cb5a(0x1ae)](_0x8e7acc)+_0x5057ce+'\x20'[_0x22cb5a(0x1ae)](_0x2f38e3);}export function escapeStringLiteral(_0x4f4022){const _0x4900e7=a80_0x375f;if(!_0x4f4022||_0x4f4022[_0x4900e7(0x1a1)]()['length']===0x0)throw new Error(_0x4900e7(0x19a));const _0x3f5f2d=_0x4f4022['replace'](/'/g,'\x27\x27');return'\x27'+_0x3f5f2d+'\x27';}export function globToLike(_0x4433c0){const _0x1a328b=a80_0x375f;let _0xfcafc3=_0x4433c0[_0x1a328b(0x1ac)](/\\/g,'\x5c\x5c')[_0x1a328b(0x1ac)](/%/g,'\x5c%')[_0x1a328b(0x1ac)](/_/g,'\x5c_');return _0xfcafc3=_0xfcafc3[_0x1a328b(0x1ac)](/\*/g,'%')[_0x1a328b(0x1ac)](/\?/g,'_'),_0xfcafc3;}export function buildLikePattern(_0x4e0a39){const _0xacf560=a80_0x375f;if(!_0x4e0a39||_0x4e0a39[_0xacf560(0x1a1)]()['length']===0x0)throw new Error(_0xacf560(0x1ad));const _0x568823=globToLike(_0x4e0a39),_0x22a533=_0x568823['replace'](/'/g,'\x27\x27');return'\x27'+_0x22a533+'\x27';}export function matchGlobPattern(_0x551252,_0x3d1ee6){const _0x56a456=a80_0x375f,_0x2e6457=_0x3d1ee6[_0x56a456(0x1ac)](/[.+^${}()|[\]\\]/g,_0x56a456(0x19d))['replace'](/\*/g,'.*')['replace'](/\?/g,'.'),_0x35dbd8=new RegExp('^'+_0x2e6457+'$');return _0x35dbd8[_0x56a456(0x1a0)](_0x551252);}function a80_0x375f(_0x1d65a1,_0x131e50){const _0x15923d=a80_0x1592();return a80_0x375f=function(_0x375f87,_0x581bef){_0x375f87=_0x375f87-0x198;let _0x12f12f=_0x15923d[_0x375f87];return _0x12f12f;},a80_0x375f(_0x1d65a1,_0x131e50);}export function getSanitizedUsername(){const _0x1ea773=a80_0x375f,_0x4a2b28=process[_0x1ea773(0x1a4)][_0x1ea773(0x19e)]||process[_0x1ea773(0x1a4)][_0x1ea773(0x19b)]||_0x1ea773(0x19c);return _0x4a2b28['replace'](/[^a-zA-Z0-9]/g,'')['toLowerCase']();}export function generateRandomHex(){const _0xf9a6f6=a80_0x375f,_0xa451a4=Math[_0xf9a6f6(0x1a2)](Math[_0xf9a6f6(0x1b0)]()*0xfffff);return _0xa451a4[_0xf9a6f6(0x199)](0x10)['padStart'](0x5,'0');}
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 +1 @@
1
- (function(_0x7e4d3c,_0x170ba3){const _0x48effd=a81_0x11e8,_0xdf6357=_0x7e4d3c();while(!![]){try{const _0x7b4000=-parseInt(_0x48effd(0xac))/0x1*(-parseInt(_0x48effd(0xa5))/0x2)+-parseInt(_0x48effd(0xb2))/0x3+parseInt(_0x48effd(0xb4))/0x4*(parseInt(_0x48effd(0xbb))/0x5)+parseInt(_0x48effd(0xa8))/0x6*(-parseInt(_0x48effd(0xad))/0x7)+-parseInt(_0x48effd(0xab))/0x8*(parseInt(_0x48effd(0xb5))/0x9)+parseInt(_0x48effd(0xa9))/0xa*(parseInt(_0x48effd(0xb0))/0xb)+-parseInt(_0x48effd(0xa3))/0xc*(-parseInt(_0x48effd(0xa4))/0xd);if(_0x7b4000===_0x170ba3)break;else _0xdf6357['push'](_0xdf6357['shift']());}catch(_0xa28a90){_0xdf6357['push'](_0xdf6357['shift']());}}}(a81_0x3518,0x49982));function hasWildcard(_0xe0b12e){const _0x1bac8b=a81_0x11e8;return _0xe0b12e[_0x1bac8b(0xaa)]('*')||_0xe0b12e['includes']('?');}function a81_0x3518(){const _0x4e5b75=['649581Gjsmtg','join','4rSkeAC','47997SwClnB','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','database','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','length','push','661205lHdqCD','6832824VzGbBR','13UcXzpj','26iePcBc','Pattern\x20cannot\x20be\x20just\x20a\x20dot','catalog','6nBkESl','212630HUCbOp','includes','632fbFnSc','7121NUWMst','621831wzbigE','trim','table','121AbzCDw','Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only'];a81_0x3518=function(){return _0x4e5b75;};return a81_0x3518();}export function parseTableReference(_0x49dd1e){const _0x3d346c=a81_0x11e8;if(!_0x49dd1e||_0x49dd1e[_0x3d346c(0xae)]()['length']===0x0)throw new Error(_0x3d346c(0xb1));const _0x35b79b=_0x49dd1e['trim'](),_0x58290f={'original':_0x35b79b},_0x15a8cc=_0x35b79b['split']('.');if(_0x15a8cc[_0x3d346c(0xb9)]===0x1){const _0x47d536=_0x15a8cc[0x0];if(!_0x47d536)throw new Error(_0x3d346c(0xa6));_0x58290f[_0x3d346c(0xaf)]=_0x47d536;}else{if(_0x15a8cc[_0x3d346c(0xb9)]===0x2){const [_0x1e85b2,_0x4e4514]=_0x15a8cc;if(!_0x1e85b2)throw new Error('Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)');if(!_0x4e4514)throw new Error('Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)');_0x58290f['database']=_0x1e85b2,_0x58290f[_0x3d346c(0xaf)]=_0x4e4514;}else{if(_0x15a8cc[_0x3d346c(0xb9)]===0x3){const [_0x58b440,_0x2a8fa3,_0x348618]=_0x15a8cc;if(!_0x58b440||!_0x2a8fa3||!_0x348618)throw new Error('Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty');_0x58290f['catalog']=_0x58b440,_0x58290f[_0x3d346c(0xb7)]=_0x2a8fa3,_0x58290f['table']=_0x348618;}else throw new Error('Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)');}}return _0x58290f;}function a81_0x11e8(_0x1958f1,_0x434eba){const _0x3518a6=a81_0x3518();return a81_0x11e8=function(_0x11e840,_0x3356bc){_0x11e840=_0x11e840-0xa3;let _0x5f0734=_0x3518a6[_0x11e840];return _0x5f0734;},a81_0x11e8(_0x1958f1,_0x434eba);}export function formatTableReference(_0x7e46aa){const _0x2ebbd6=a81_0x11e8,_0x29e174=[];return _0x7e46aa[_0x2ebbd6(0xa7)]&&_0x29e174[_0x2ebbd6(0xba)](_0x7e46aa[_0x2ebbd6(0xa7)]),_0x7e46aa[_0x2ebbd6(0xb7)]&&_0x29e174['push'](_0x7e46aa[_0x2ebbd6(0xb7)]),_0x7e46aa[_0x2ebbd6(0xaf)]&&_0x29e174[_0x2ebbd6(0xba)](_0x7e46aa[_0x2ebbd6(0xaf)]),_0x29e174[_0x2ebbd6(0xb3)]('.');}export function validateTableListReference(_0x1780fd){return undefined;}export function validateTableDescribeReference(_0x260cf4){const _0x11c066=a81_0x11e8;if(!_0x260cf4[_0x11c066(0xaf)])return'Table\x20name\x20is\x20required\x20for\x20describe\x20operation';if(_0x260cf4[_0x11c066(0xb7)]&&hasWildcard(_0x260cf4[_0x11c066(0xb7)]))return _0x11c066(0xb6);if(hasWildcard(_0x260cf4[_0x11c066(0xaf)]))return _0x11c066(0xb8);return undefined;}
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 +1 @@
1
- const a82_0x3c0694=a82_0x2ad7;(function(_0x4fe12c,_0x5a9730){const _0x180a23=a82_0x2ad7,_0x174b8d=_0x4fe12c();while(!![]){try{const _0x4b15e8=-parseInt(_0x180a23(0x171))/0x1*(parseInt(_0x180a23(0x165))/0x2)+-parseInt(_0x180a23(0x146))/0x3*(parseInt(_0x180a23(0x136))/0x4)+parseInt(_0x180a23(0x138))/0x5*(parseInt(_0x180a23(0x145))/0x6)+-parseInt(_0x180a23(0x162))/0x7+-parseInt(_0x180a23(0x164))/0x8+-parseInt(_0x180a23(0x153))/0x9+-parseInt(_0x180a23(0x150))/0xa*(-parseInt(_0x180a23(0x151))/0xb);if(_0x4b15e8===_0x5a9730)break;else _0x174b8d['push'](_0x174b8d['shift']());}catch(_0x31e664){_0x174b8d['push'](_0x174b8d['shift']());}}}(a82_0x5f08,0x26abb));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 a82_0x2ad7(_0x12111b,_0x1d9b9c){const _0x5f0853=a82_0x5f08();return a82_0x2ad7=function(_0x2ad7ac,_0x55808e){_0x2ad7ac=_0x2ad7ac-0x135;let _0x323dc8=_0x5f0853[_0x2ad7ac];return _0x323dc8;},a82_0x2ad7(_0x12111b,_0x1d9b9c);}import a82_0x43b324 from'chalk';function safeStringify(_0x5e43ec){const _0x1cf916=a82_0x2ad7;if(typeof _0x5e43ec===_0x1cf916(0x142))return _0x5e43ec;if(_0x5e43ec instanceof Error)return _0x5e43ec[_0x1cf916(0x15d)]||_0x5e43ec['name']+':\x20'+_0x5e43ec['message'];try{return JSON[_0x1cf916(0x143)](_0x5e43ec,(_0x5797c6,_0x4afb5f)=>{const _0x6f44c3=_0x1cf916;if(_0x4afb5f instanceof Error)return{'name':_0x4afb5f[_0x6f44c3(0x160)],'message':_0x4afb5f[_0x6f44c3(0x14d)],'stack':_0x4afb5f[_0x6f44c3(0x15d)],'cause':_0x4afb5f[_0x6f44c3(0x13f)]};return _0x4afb5f;});}catch{return String(_0x5e43ec);}}function getTimezoneOffset(){const _0x2750c3=a82_0x2ad7,_0x38ac6d=-new Date()[_0x2750c3(0x13e)](),_0x46c0bf=Math[_0x2750c3(0x15e)](Math[_0x2750c3(0x135)](_0x38ac6d)/0x3c),_0x10876b=Math[_0x2750c3(0x135)](_0x38ac6d)%0x3c,_0x215227=_0x38ac6d>=0x0?'+':'-';return''+_0x215227+_0x46c0bf['toString']()[_0x2750c3(0x14f)](0x2,'0')+_0x10876b['toString']()['padStart'](0x2,'0');}function formatTimestamp(){const _0x417dd5=a82_0x2ad7,_0x571d26=new Date(),_0x3a81f3=_0x571d26['getFullYear'](),_0x2f479a=(_0x571d26[_0x417dd5(0x149)]()+0x1)[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x488501=_0x571d26[_0x417dd5(0x152)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0xc015cd=_0x571d26[_0x417dd5(0x14a)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x1d903c=_0x571d26[_0x417dd5(0x13b)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x133702=_0x571d26['getSeconds']()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x2,'0'),_0x17a787=_0x571d26[_0x417dd5(0x158)]()[_0x417dd5(0x14c)]()[_0x417dd5(0x14f)](0x3,'0'),_0x152202=getTimezoneOffset();return _0x3a81f3+'-'+_0x2f479a+'-'+_0x488501+'\x20'+_0xc015cd+':'+_0x1d903c+':'+_0x133702+'.'+_0x17a787+_0x152202;}function formatColoredLogEntry(_0x350084,_0x3bd797){const _0x5b67db=a82_0x2ad7,_0xc82add=formatTimestamp(),_0x1d6ff5=_0x3bd797['map'](safeStringify)[_0x5b67db(0x159)]('\x20'),_0x50f828=a82_0x43b324[_0x5b67db(0x15a)](_0xc82add);let _0x329b36;switch(_0x350084){case _0x5b67db(0x154):_0x329b36=a82_0x43b324[_0x5b67db(0x167)]('['+_0x350084+']\x20');break;case _0x5b67db(0x16d):_0x329b36=a82_0x43b324[_0x5b67db(0x16c)]('['+_0x350084+']\x20');break;case'error':_0x329b36=a82_0x43b324['red']('['+_0x350084+']');break;case _0x5b67db(0x157):_0x329b36=a82_0x43b324[_0x5b67db(0x15a)]('['+_0x350084+']');break;default:_0x329b36='['+_0x350084+']';}return _0x50f828+'\x20'+_0x329b36+'\x20'+_0x1d6ff5;}function a82_0x5f08(){const _0x492800=['30009KrLyaO','log','write','getMonth','getHours','DEBUG','toString','message','INFO','padStart','21980YVyfoB','2596MpdUBa','getDate','806265cSBshb','info','TRACE','Warning:\x20Failed\x20to\x20compress\x20','debug','getMilliseconds','join','gray','Warning:\x20Failed\x20to\x20initialize\x20log\x20files:','WARN','stack','floor','Warning:\x20Error\x20writing\x20to\x20tdx.log:','name','trace','1072792cRIwAs','fileOnly','1693296jQxsKX','4uwfYMf','split','cyan','tdx-','rotateOldLogs','ERROR','end','yellow','warn','tdx.log','.gz','logDir','25753HAQZaK','includes','abs','4roBScR','error','778395OshchU','Proxy\x20session\x20ended','logs','getMinutes','init','toISOString','getTimezoneOffset','cause','logLevel','mtime','string','stringify','logStream','6mzDMXz'];a82_0x5f08=function(){return _0x492800;};return a82_0x5f08();}export var LogLevel;(function(_0x14f841){const _0x9902f2=a82_0x2ad7;_0x14f841[_0x14f841[_0x9902f2(0x155)]=-0x2]=_0x9902f2(0x155),_0x14f841[_0x14f841[_0x9902f2(0x14b)]=-0x1]=_0x9902f2(0x14b),_0x14f841[_0x14f841[_0x9902f2(0x14e)]=0x0]='INFO',_0x14f841[_0x14f841['WARN']=0x1]='WARN',_0x14f841[_0x14f841[_0x9902f2(0x16a)]=0x2]='ERROR';}(LogLevel||(LogLevel={})));export class TDXLogger{[a82_0x3c0694(0x144)];[a82_0x3c0694(0x170)];[a82_0x3c0694(0x140)];[a82_0x3c0694(0x163)];constructor(_0x53a2ff=LogLevel[a82_0x3c0694(0x14e)],_0x258e0d=![]){const _0x59a407=a82_0x3c0694;this[_0x59a407(0x170)]=join(homedir(),'.cache','tdx',_0x59a407(0x13a)),this[_0x59a407(0x140)]=_0x53a2ff,this[_0x59a407(0x163)]=_0x258e0d;}async[a82_0x3c0694(0x13c)](){const _0x247081=a82_0x3c0694;try{await mkdir(this[_0x247081(0x170)],{'recursive':!![]}),await this[_0x247081(0x169)]();const _0x49afa4=join(this[_0x247081(0x170)],_0x247081(0x16e));this[_0x247081(0x144)]=createWriteStream(_0x49afa4,{'flags':'a'}),this[_0x247081(0x144)]['on'](_0x247081(0x137),_0x1ffe75=>{const _0x930e0a=_0x247081;console[_0x930e0a(0x137)](_0x930e0a(0x15f),_0x1ffe75[_0x930e0a(0x14d)]);});}catch(_0x4d1d79){console[_0x247081(0x137)](_0x247081(0x15b),_0x4d1d79);}}async[a82_0x3c0694(0x169)](){const _0x4ba610=a82_0x3c0694;try{const _0x35576e=await readdir(this[_0x4ba610(0x170)]),_0x3e4862=new Date()[_0x4ba610(0x13d)]()[_0x4ba610(0x166)]('T')[0x0];if(_0x35576e[_0x4ba610(0x172)]('tdx.log')){const _0x3b9bc2=join(this['logDir'],_0x4ba610(0x16e)),_0x194071=await stat(_0x3b9bc2),_0x45d69c=new Date(_0x194071[_0x4ba610(0x141)])[_0x4ba610(0x13d)]()[_0x4ba610(0x166)]('T')[0x0];if(_0x45d69c<_0x3e4862){const _0x1be9ff=join(this[_0x4ba610(0x170)],_0x4ba610(0x168)+_0x45d69c+'.log');await rename(_0x3b9bc2,_0x1be9ff);}}const _0x4b2ca5=await readdir(this[_0x4ba610(0x170)]),_0x44543f=/^tdx-(\d{4}-\d{2}-\d{2})\.log$/,_0x3453e5=_0x4b2ca5['filter'](_0x5758cd=>_0x44543f['test'](_0x5758cd));for(const _0x3f404e of _0x3453e5){const _0xa84c0c=join(this[_0x4ba610(0x170)],_0x3f404e),_0x4475bd=join(this['logDir'],_0x3f404e+_0x4ba610(0x16f));try{await pipeline(createReadStream(_0xa84c0c),createGzip(),createWriteStream(_0x4475bd)),await unlink(_0xa84c0c);}catch(_0x3e0613){console[_0x4ba610(0x137)](_0x4ba610(0x156)+_0x3f404e+':',_0x3e0613);}}}catch{}}[a82_0x3c0694(0x157)](..._0x555bca){const _0x4e9b15=a82_0x3c0694;if(this[_0x4e9b15(0x140)]>LogLevel[_0x4e9b15(0x14b)])return;const _0x8b477=formatColoredLogEntry(_0x4e9b15(0x157),_0x555bca);this[_0x4e9b15(0x144)]?.[_0x4e9b15(0x148)](_0x8b477+'\x0a');}[a82_0x3c0694(0x161)](..._0x1b02ba){const _0xd87353=a82_0x3c0694;if(this[_0xd87353(0x140)]>LogLevel[_0xd87353(0x155)])return;const _0x3bcdb6=formatColoredLogEntry('trace',_0x1b02ba);this[_0xd87353(0x144)]?.[_0xd87353(0x148)](_0x3bcdb6+'\x0a');}[a82_0x3c0694(0x154)](..._0x460902){const _0x2e1d4e=a82_0x3c0694;if(this['logLevel']>LogLevel[_0x2e1d4e(0x14e)])return;const _0x3c0afe=formatColoredLogEntry(_0x2e1d4e(0x154),_0x460902);!this['fileOnly']&&console[_0x2e1d4e(0x147)](_0x3c0afe),this['logStream']?.[_0x2e1d4e(0x148)](_0x3c0afe+'\x0a');}[a82_0x3c0694(0x16d)](..._0x4ed9af){const _0x56ca06=a82_0x3c0694;if(this[_0x56ca06(0x140)]>LogLevel[_0x56ca06(0x15c)])return;const _0x5496cc=formatColoredLogEntry(_0x56ca06(0x16d),_0x4ed9af);!this[_0x56ca06(0x163)]&&console[_0x56ca06(0x137)](_0x5496cc),this[_0x56ca06(0x144)]?.['write'](_0x5496cc+'\x0a');}[a82_0x3c0694(0x137)](..._0x225029){const _0x3fa27d=a82_0x3c0694,_0x52e249=formatColoredLogEntry(_0x3fa27d(0x137),_0x225029);!this['fileOnly']&&console[_0x3fa27d(0x137)](_0x52e249),this[_0x3fa27d(0x144)]?.[_0x3fa27d(0x148)](_0x52e249+'\x0a');}async['close'](){const _0x5ac509=a82_0x3c0694;return this['info'](_0x5ac509(0x139)),new Promise(_0x1e3309=>{const _0x45fd95=_0x5ac509;this['logStream']?this[_0x45fd95(0x144)][_0x45fd95(0x16b)](()=>{_0x1e3309();}):_0x1e3309();});}['getLogPath'](){const _0x3acb1f=a82_0x3c0694;return join(this[_0x3acb1f(0x170)],'tdx.log');}}
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 +1 @@
1
- function a83_0x1c26(){const _0x3966f5=['push','showTreeLines','showIcons','dim','population','\x20segment','32guvOhU','name','join','folderCount','181736qyidkv','type','folder','showMetadata','7662130MkraZf','map','\x20folder','🎯\x20','888652lRUCbt','4554627zUOzzM','icon','├──\x20','length','8fnlGrV','segmentCount','298755enCnla','localeCompare','1114017mWPsqo','(empty)','sort','children','\x20\x20\x20\x20','102PlPnqE','233005IJdAOj','📁\x20','metadata','indent'];a83_0x1c26=function(){return _0x3966f5;};return a83_0x1c26();}function a83_0x4dfb(_0x5677bf,_0x10e696){const _0x1c2698=a83_0x1c26();return a83_0x4dfb=function(_0x4dfbfa,_0x582c5a){_0x4dfbfa=_0x4dfbfa-0xe5;let _0xb2c8bf=_0x1c2698[_0x4dfbfa];return _0xb2c8bf;},a83_0x4dfb(_0x5677bf,_0x10e696);}(function(_0x28e452,_0x4549ad){const _0x119abc=a83_0x4dfb,_0x2bdc2a=_0x28e452();while(!![]){try{const _0x4018bb=parseInt(_0x119abc(0xeb))/0x1+-parseInt(_0x119abc(0x108))/0x2+parseInt(_0x119abc(0xf4))/0x3*(parseInt(_0x119abc(0xf0))/0x4)+-parseInt(_0x119abc(0xfa))/0x5*(parseInt(_0x119abc(0xf9))/0x6)+parseInt(_0x119abc(0xec))/0x7+parseInt(_0x119abc(0x104))/0x8*(-parseInt(_0x119abc(0xf2))/0x9)+-parseInt(_0x119abc(0xe7))/0xa;if(_0x4018bb===_0x4549ad)break;else _0x2bdc2a['push'](_0x2bdc2a['shift']());}catch(_0x4f81c3){_0x2bdc2a['push'](_0x2bdc2a['shift']());}}}(a83_0x1c26,0x7a0c9));import{formatRows}from'./formatters.js';import a83_0x3a1b4f from'chalk';const DEFAULT_OPTIONS={'showTreeLines':!![],'showIcons':!![],'showMetadata':!![],'indent':'\x20\x20'};export function formatTree(_0x44cde9,_0x2e9f1f={},_0x32455d=0x0,_0x61c44b=''){const _0x3fb930=a83_0x4dfb,_0x35a329={...DEFAULT_OPTIONS,..._0x2e9f1f},_0x590071=[],_0x31ca32=[..._0x44cde9][_0x3fb930(0xf6)]((_0x3c5b6a,_0x26b1a1)=>_0x3c5b6a[_0x3fb930(0x105)][_0x3fb930(0xf3)](_0x26b1a1[_0x3fb930(0x105)]));for(let _0x45a1c4=0x0;_0x45a1c4<_0x31ca32[_0x3fb930(0xef)];_0x45a1c4++){const _0x3c2f2e=_0x31ca32[_0x45a1c4],_0x544c64=_0x45a1c4===_0x31ca32['length']-0x1;let _0x288757='';_0x32455d>0x0&&(_0x288757+=_0x61c44b);_0x35a329['showTreeLines']&&_0x32455d>0x0&&(_0x288757+=a83_0x3a1b4f['dim'](_0x544c64?'└──\x20':_0x3fb930(0xee)));_0x35a329[_0x3fb930(0x100)]&&(_0x288757+=_0x3c2f2e['type']===_0x3fb930(0xe5)?_0x3fb930(0xfb):_0x3fb930(0xea));_0x288757+=_0x3c2f2e['name'];if(_0x35a329['showMetadata']){if(_0x3c2f2e[_0x3fb930(0x109)]===_0x3fb930(0xe5)){const _0x3da859=[];_0x3c2f2e['metadata']['segmentCount']&&_0x3da859['push'](_0x3c2f2e[_0x3fb930(0xfc)][_0x3fb930(0xf1)]+_0x3fb930(0x103)+(_0x3c2f2e['metadata']['segmentCount']!==0x1?'s':'')),_0x3c2f2e[_0x3fb930(0xfc)]['folderCount']&&_0x3da859[_0x3fb930(0xfe)](_0x3c2f2e['metadata'][_0x3fb930(0x107)]+_0x3fb930(0xe9)+(_0x3c2f2e[_0x3fb930(0xfc)][_0x3fb930(0x107)]!==0x1?'s':'')),_0x3da859[_0x3fb930(0xef)]>0x0&&(_0x288757+=a83_0x3a1b4f[_0x3fb930(0x101)]('\x20('+_0x3da859[_0x3fb930(0x106)](',\x20')+')'));}else _0x3c2f2e[_0x3fb930(0x109)]==='segment'&&_0x3c2f2e[_0x3fb930(0x102)]!==undefined&&(_0x288757+=a83_0x3a1b4f[_0x3fb930(0x101)]('\x20('+formatRows(_0x3c2f2e[_0x3fb930(0x102)])+')'));}_0x590071[_0x3fb930(0xfe)](_0x288757);if(_0x3c2f2e[_0x3fb930(0xf7)]&&_0x3c2f2e['children'][_0x3fb930(0xef)]>0x0){let _0x5401d7;if(_0x32455d===0x0)_0x5401d7='';else _0x35a329[_0x3fb930(0xff)]?_0x5401d7=_0x61c44b+(_0x544c64?_0x3fb930(0xf8):a83_0x3a1b4f['dim']('│')+'\x20\x20\x20'):_0x5401d7=_0x61c44b+_0x35a329[_0x3fb930(0xfd)];const _0x40b4cd=formatTree(_0x3c2f2e[_0x3fb930(0xf7)],_0x35a329,_0x32455d+0x1,_0x5401d7);_0x590071['push'](_0x40b4cd);}}return _0x590071['join']('\x0a');}export function formatFlatList(_0x31e845,_0x1f0fad,_0x2a60d8={}){const _0x39d941=a83_0x4dfb,_0x28a34d={...DEFAULT_OPTIONS,..._0x2a60d8},_0x5a4785=[];for(const _0x2d7e4c of _0x31e845){_0x5a4785[_0x39d941(0xfe)]({'name':_0x2d7e4c['name'],'icon':_0x28a34d[_0x39d941(0x100)]?'📁':'','metadata':undefined});}for(const _0x5a1cf0 of _0x1f0fad){const _0x2b1ac5=_0x28a34d[_0x39d941(0xe6)]&&_0x5a1cf0[_0x39d941(0x102)]!==undefined?a83_0x3a1b4f[_0x39d941(0x101)]('\x20('+formatRows(_0x5a1cf0[_0x39d941(0x102)])+')'):'';_0x5a4785[_0x39d941(0xfe)]({'name':_0x5a1cf0[_0x39d941(0x105)],'icon':_0x28a34d['showIcons']?'🎯':'','metadata':_0x2b1ac5});}_0x5a4785['sort']((_0x5ac615,_0x5d2175)=>_0x5ac615[_0x39d941(0x105)]['localeCompare'](_0x5d2175[_0x39d941(0x105)]));if(_0x5a4785['length']===0x0)return _0x39d941(0xf5);const _0x543aa6=_0x5a4785[_0x39d941(0xe8)](_0x33a674=>{const _0x46cd7a=_0x39d941,_0x496cac=_0x33a674[_0x46cd7a(0xed)]?_0x33a674[_0x46cd7a(0xed)]+'\x20':'',_0x3388dc=_0x33a674['metadata']||'';return''+_0x496cac+_0x33a674[_0x46cd7a(0x105)]+_0x3388dc;});return _0x543aa6[_0x39d941(0x106)]('\x0a');}
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 +1 @@
1
- function a84_0x4a32(_0x33c093,_0x4599a5){const _0x214f8c=a84_0x214f();return a84_0x4a32=function(_0x4a32fb,_0x5c172b){_0x4a32fb=_0x4a32fb-0x7c;let _0x4433e3=_0x214f8c[_0x4a32fb];return _0x4433e3;},a84_0x4a32(_0x33c093,_0x4599a5);}function a84_0x214f(){const _0x3e7aed=['dim','6cQBOzi','Run:','version','7842528YGfKOI','npm\x20install\x20-g\x20@treasuredata/tdx@latest','Invalid\x20version\x20format','parse','last_version_check','end','isTTY','https://registry.npmjs.org/@treasuredata/tdx/latest','HTTP\x20','green','174JFQzKR','4094870MxwgAx','error','yellow','toISOString','gray','stderr','\x0aUpdate\x20available:\x20','216jnAGcQ','lastCheck','cyan','env','data','currentVersion','NO_COLOR','Request\x20timeout','1908PYcgJH','165739tyLxNy','utf-8','5484265VrmJbR','\x0aRun:\x20','4289992sRDZgC','getTime','destroy','statusCode','Update\x20available:','1679166NNwqlA'];a84_0x214f=function(){return _0x3e7aed;};return a84_0x214f();}const a84_0x1dea99=a84_0x4a32;(function(_0x1b597f,_0x2d1b55){const _0x54ad52=a84_0x4a32,_0x4c27ae=_0x1b597f();while(!![]){try{const _0x3d4054=-parseInt(_0x54ad52(0x99))/0x1*(parseInt(_0x54ad52(0x89))/0x2)+parseInt(_0x54ad52(0xa3))/0x3+parseInt(_0x54ad52(0x9e))/0x4+-parseInt(_0x54ad52(0x9c))/0x5*(-parseInt(_0x54ad52(0x7c))/0x6)+-parseInt(_0x54ad52(0x9a))/0x7*(parseInt(_0x54ad52(0x91))/0x8)+-parseInt(_0x54ad52(0x7f))/0x9+-parseInt(_0x54ad52(0x8a))/0xa;if(_0x3d4054===_0x2d1b55)break;else _0x4c27ae['push'](_0x4c27ae['shift']());}catch(_0x1c8b29){_0x4c27ae['push'](_0x4c27ae['shift']());}}}(a84_0x214f,0x9cf67));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a84_0x3dfd05 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a84_0x1dea99(0x86),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0xdf25a5=a84_0x1dea99,_0x37be6c=getCacheDir();return join(_0x37be6c,_0xdf25a5(0x83));}function readCache(){const _0x3e2def=a84_0x1dea99;try{const _0x5c9a56=getCacheFilePath(),_0x413f62=readFileSync(_0x5c9a56,_0x3e2def(0x9b));return JSON[_0x3e2def(0x82)](_0x413f62);}catch{return null;}}function writeCache(_0x455c00){const _0x366a6c=a84_0x1dea99;try{const _0x7b94d2=getCacheDir();mkdirSync(_0x7b94d2,{'recursive':!![]});const _0x599ece={'lastCheck':new Date()[_0x366a6c(0x8d)](),'latestVersion':_0x455c00},_0x388052=getCacheFilePath();writeFileSync(_0x388052,JSON['stringify'](_0x599ece,null,0x2),'utf-8');}catch{}}function isCacheValid(_0x30e547){const _0x9105eb=a84_0x1dea99;if(!_0x30e547)return![];const _0x41f346=new Date(_0x30e547[_0x9105eb(0x92)])[_0x9105eb(0x9f)](),_0xe364f1=Date['now']();return _0xe364f1-_0x41f346<CACHE_DURATION_MS;}function fetchLatestVersion(){return new Promise((_0x371b8c,_0x44d421)=>{const _0x44d959=a84_0x4a32,_0x5cf979=get(NPM_REGISTRY_URL,_0xa9e73b=>{const _0x2eaab8=a84_0x4a32;if(_0xa9e73b[_0x2eaab8(0xa1)]!==0xc8){clearTimeout(_0x205945),_0x44d421(new Error(_0x2eaab8(0x87)+_0xa9e73b[_0x2eaab8(0xa1)]));return;}let _0xd817e9='';_0xa9e73b['on'](_0x2eaab8(0x95),_0x12f2c2=>{_0xd817e9+=_0x12f2c2;}),_0xa9e73b['on'](_0x2eaab8(0x84),()=>{const _0x4315b2=_0x2eaab8;clearTimeout(_0x205945);try{const _0x2a132f=JSON[_0x4315b2(0x82)](_0xd817e9);if(!valid(_0x2a132f[_0x4315b2(0x7e)])){_0x44d421(new Error(_0x4315b2(0x81)));return;}_0x371b8c(_0x2a132f[_0x4315b2(0x7e)]);}catch(_0xf9e7d5){_0x44d421(_0xf9e7d5);}});})['on'](_0x44d959(0x8b),_0x2a1352=>{clearTimeout(_0x205945),_0x44d421(_0x2a1352);}),_0x205945=setTimeout(()=>{const _0x31766d=_0x44d959;_0x5cf979[_0x31766d(0xa0)](),_0x44d421(new Error(_0x31766d(0x98)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x315a24){try{const _0x2e9825=readCache();if(isCacheValid(_0x2e9825)){const _0x3f5a91=gt(_0x2e9825['latestVersion'],_0x315a24);return{'updateAvailable':_0x3f5a91,'currentVersion':_0x315a24,'latestVersion':_0x2e9825['latestVersion']};}const _0x501bfa=await fetchLatestVersion();writeCache(_0x501bfa);const _0x22f570=gt(_0x501bfa,_0x315a24);return{'updateAvailable':_0x22f570,'currentVersion':_0x315a24,'latestVersion':_0x501bfa};}catch{return null;}}export function displayUpdateNotification(_0x13db70){const _0x382f08=a84_0x1dea99;if(!_0x13db70['updateAvailable'])return;const _0x5cad7c=process[_0x382f08(0x8f)][_0x382f08(0x85)]&&!process[_0x382f08(0x94)][_0x382f08(0x97)],_0x41c9e1=_0x5cad7c?a84_0x3dfd05[_0x382f08(0x8e)]('→'):'→',_0x483cfa=_0x5cad7c?a84_0x3dfd05[_0x382f08(0xa4)](_0x13db70['currentVersion']):_0x13db70[_0x382f08(0x96)],_0x37b147=_0x5cad7c?a84_0x3dfd05[_0x382f08(0x88)](_0x13db70['latestVersion']):_0x13db70['latestVersion'],_0x2323dc=_0x5cad7c?a84_0x3dfd05[_0x382f08(0x93)](_0x382f08(0x80)):_0x382f08(0x80),_0x39929d=_0x5cad7c?'\x0a'+a84_0x3dfd05[_0x382f08(0x8c)](_0x382f08(0xa2))+'\x20'+_0x483cfa+'\x20'+_0x41c9e1+'\x20'+_0x37b147+'\x0a'+a84_0x3dfd05['dim'](_0x382f08(0x7d))+'\x20'+_0x2323dc+'\x0a':_0x382f08(0x90)+_0x483cfa+'\x20'+_0x41c9e1+'\x20'+_0x37b147+_0x382f08(0x9d)+_0x2323dc+'\x0a';process[_0x382f08(0x8f)]['write'](_0x39929d);}
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 +1 @@
1
- function a85_0x2891(){const _0x52e102=['1858374aYEOLw','5533350ZTgQhV','3976959vNylDw','startsWith','464777phnGbT','4vAgYUY','20BVZeap','8ZuvVOB','19692TIkRIb','.digdag','7193456bCCZKo','8908821agBKdL'];a85_0x2891=function(){return _0x52e102;};return a85_0x2891();}(function(_0x302033,_0x13cb30){const _0x3c5001=a85_0x47bf,_0x1980e4=_0x302033();while(!![]){try{const _0x27d358=parseInt(_0x3c5001(0x117))/0x1*(-parseInt(_0x3c5001(0x10e))/0x2)+-parseInt(_0x3c5001(0x115))/0x3*(-parseInt(_0x3c5001(0x10c))/0x4)+-parseInt(_0x3c5001(0x114))/0x5+-parseInt(_0x3c5001(0x10f))/0x6+-parseInt(_0x3c5001(0x113))/0x7+parseInt(_0x3c5001(0x111))/0x8+-parseInt(_0x3c5001(0x112))/0x9*(-parseInt(_0x3c5001(0x10d))/0xa);if(_0x27d358===_0x13cb30)break;else _0x1980e4['push'](_0x1980e4['shift']());}catch(_0x344b77){_0x1980e4['push'](_0x1980e4['shift']());}}}(a85_0x2891,0xecd2f));export const WORKFLOW_FILE_EXTENSION='.dig';function a85_0x47bf(_0x357cf4,_0x1b8401){const _0x2891cb=a85_0x2891();return a85_0x47bf=function(_0x47bfce,_0x27637f){_0x47bfce=_0x47bfce-0x10c;let _0x4d1d05=_0x2891cb[_0x47bfce];return _0x4d1d05;},a85_0x47bf(_0x357cf4,_0x1b8401);}export function shouldIncludeInArchive(_0x34f96c){const _0x2f7b22=a85_0x47bf;if(_0x34f96c===_0x2f7b22(0x110))return!![];if(_0x34f96c[_0x2f7b22(0x116)]('.'))return![];return!![];}
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!![];}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.3.5",
3
+ "version": "0.4.0",
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": {
@@ -29,6 +29,7 @@
29
29
  "scripts": {
30
30
  "build:info": "bash scripts/generate-build-info.sh",
31
31
  "build:ts": "tsc && chmod +x dist/cli.js && cp src/build-info.json dist/build-info.json",
32
+ "build:install": "npm run build:ts && npm install -g",
32
33
  "build:obfuscate": "javascript-obfuscator ./dist --output ./dist",
33
34
  "build": "npm run build:info && npm run build:ts && npm run build:obfuscate",
34
35
  "prepublishOnly": "npm run build",
@@ -67,6 +68,7 @@
67
68
  "dependencies": {
68
69
  "@fastify/cors": "^11.1.0",
69
70
  "@types/json-bigint": "^1.0.4",
71
+ "@zowe/secrets-for-zowe-sdk": "^8.29.4",
70
72
  "chalk": "^5.3.0",
71
73
  "cli-table3": "^0.6.5",
72
74
  "commander": "^14.0.2",