@treasuredata/tdx 0.1.11 → 0.1.12

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 (68) hide show
  1. package/dist/cli.js +1 -1
  2. package/dist/client/cdp-client.js +1 -1
  3. package/dist/client/http-client.js +1 -1
  4. package/dist/client/llm-client.js +1 -1
  5. package/dist/client/rate-limiter.js +1 -1
  6. package/dist/client/td-client.js +1 -1
  7. package/dist/client/trino-client.js +1 -1
  8. package/dist/client/workflow-client.js +1 -1
  9. package/dist/commands/activations.js +1 -1
  10. package/dist/commands/api-command.js +1 -1
  11. package/dist/commands/chat-command.js +1 -1
  12. package/dist/commands/claude-command.js +1 -1
  13. package/dist/commands/command.js +1 -1
  14. package/dist/commands/context-command.js +1 -1
  15. package/dist/commands/databases.js +1 -1
  16. package/dist/commands/describe.js +1 -1
  17. package/dist/commands/llm-command.js +1 -1
  18. package/dist/commands/llm-proxy.js +1 -1
  19. package/dist/commands/profiles-command.js +1 -1
  20. package/dist/commands/query-command.js +1 -1
  21. package/dist/commands/segment-command.js +1 -1
  22. package/dist/commands/segments.js +1 -1
  23. package/dist/commands/show.js +1 -1
  24. package/dist/commands/tables.js +1 -1
  25. package/dist/commands/use-command.js +1 -1
  26. package/dist/commands/workflow-command.js +1 -1
  27. package/dist/core/auth.d.ts +0 -6
  28. package/dist/core/auth.d.ts.map +1 -1
  29. package/dist/core/auth.js +1 -1
  30. package/dist/core/auth.js.map +1 -1
  31. package/dist/core/config.js +1 -1
  32. package/dist/core/global-context.js +1 -1
  33. package/dist/core/profile.js +1 -1
  34. package/dist/core/project-config.js +1 -1
  35. package/dist/core/session.js +1 -1
  36. package/dist/index.js +1 -1
  37. package/dist/proxy/anthropic-adapter.js +1 -1
  38. package/dist/proxy/server.js +1 -1
  39. package/dist/sdk/api.js +1 -1
  40. package/dist/sdk/database.js +1 -1
  41. package/dist/sdk/errors.js +1 -1
  42. package/dist/sdk/index.js +1 -1
  43. package/dist/sdk/llm.js +1 -1
  44. package/dist/sdk/query.js +1 -1
  45. package/dist/sdk/segment.js +1 -1
  46. package/dist/sdk/table.js +1 -1
  47. package/dist/sdk/workflow.js +1 -1
  48. package/dist/types/endpoints.js +1 -1
  49. package/dist/types/index.js +1 -1
  50. package/dist/utils/agent-ref-parser.js +1 -1
  51. package/dist/utils/chat-cache.js +1 -1
  52. package/dist/utils/colors.js +1 -1
  53. package/dist/utils/command-output.js +1 -1
  54. package/dist/utils/file-permissions.js +1 -1
  55. package/dist/utils/format-detector.js +1 -1
  56. package/dist/utils/formatters.js +1 -1
  57. package/dist/utils/model-aliases.js +1 -1
  58. package/dist/utils/option-validation.js +1 -1
  59. package/dist/utils/port.js +1 -1
  60. package/dist/utils/process.js +1 -1
  61. package/dist/utils/segment-ref-parser.js +1 -1
  62. package/dist/utils/spinner.js +1 -1
  63. package/dist/utils/sql-parser.js +1 -1
  64. package/dist/utils/sse-parser.js +1 -1
  65. package/dist/utils/string-utils.js +1 -1
  66. package/dist/utils/table-ref-parser.js +1 -1
  67. package/dist/utils/workflow-utils.js +1 -1
  68. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(_0x4c9736,_0x2cacb1){const _0x524a11=a57_0x5287,_0xe53b07=_0x4c9736();while(!![]){try{const _0x338728=-parseInt(_0x524a11(0x1c2))/0x1+parseInt(_0x524a11(0x1c8))/0x2+parseInt(_0x524a11(0x1cf))/0x3+-parseInt(_0x524a11(0x1cc))/0x4+parseInt(_0x524a11(0x1cb))/0x5*(parseInt(_0x524a11(0x1ca))/0x6)+-parseInt(_0x524a11(0x1c5))/0x7+-parseInt(_0x524a11(0x1c4))/0x8*(parseInt(_0x524a11(0x1c7))/0x9);if(_0x338728===_0x2cacb1)break;else _0xe53b07['push'](_0xe53b07['shift']());}catch(_0x5aa9fa){_0xe53b07['push'](_0xe53b07['shift']());}}}(a57_0x208a,0x2d5ce));function a57_0x208a(){const _0xed8fd4=['647455aFIZTZ','1040288bWobHv','number','.\x20Must\x20be\x20a\x20positive\x20number.','892245eIEqIr','.\x20Must\x20be\x20a\x20number.','125616Oljeuz','Invalid\x20timeout\x20value:\x20','8BruNiz','1175650JVMKKM','isInteger','252603lLDIXC','422228NwcUcT','.\x20Must\x20be\x20an\x20integer.','12oqWcYh'];a57_0x208a=function(){return _0xed8fd4;};return a57_0x208a();}function a57_0x5287(_0x1ee3c5,_0x51a089){const _0x208acb=a57_0x208a();return a57_0x5287=function(_0x528779,_0x4b7c87){_0x528779=_0x528779-0x1c2;let _0xaade7e=_0x208acb[_0x528779];return _0xaade7e;},a57_0x5287(_0x1ee3c5,_0x51a089);}export function validateLimitOption(_0x2776ba){const _0x47d996=a57_0x5287;if(!Number[_0x47d996(0x1c6)](_0x2776ba))return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x2776ba+_0x47d996(0x1c9)};if(_0x2776ba<=0x0)return{'isValid':![],'error':'Invalid\x20limit\x20value:\x20'+_0x2776ba+'.\x20Must\x20be\x20a\x20positive\x20integer.'};return{'isValid':!![],'value':_0x2776ba};}export function validateTimeoutOption(_0x2a8247,_0x48e0d9=0x1e){const _0x4afc41=a57_0x5287;if(_0x2a8247===undefined)return{'isValid':!![],'value':_0x48e0d9};const _0x4886b6=typeof _0x2a8247===_0x4afc41(0x1cd)?_0x2a8247:parseFloat(_0x2a8247);if(isNaN(_0x4886b6))return{'isValid':![],'error':_0x4afc41(0x1c3)+_0x2a8247+_0x4afc41(0x1d0)};if(_0x4886b6<=0x0)return{'isValid':![],'error':_0x4afc41(0x1c3)+_0x4886b6+_0x4afc41(0x1ce)};return{'isValid':!![],'value':_0x4886b6};}
1
+ function a57_0x2535(_0x240820,_0x281bd6){const _0x3e42e9=a57_0x3e42();return a57_0x2535=function(_0x253544,_0x5ca305){_0x253544=_0x253544-0x64;let _0x2227ff=_0x3e42e9[_0x253544];return _0x2227ff;},a57_0x2535(_0x240820,_0x281bd6);}(function(_0x493c03,_0x3c1578){const _0x3fa243=a57_0x2535,_0x1c7ddc=_0x493c03();while(!![]){try{const _0x265f57=parseInt(_0x3fa243(0x69))/0x1+-parseInt(_0x3fa243(0x6f))/0x2*(parseInt(_0x3fa243(0x6e))/0x3)+-parseInt(_0x3fa243(0x6c))/0x4+parseInt(_0x3fa243(0x64))/0x5+parseInt(_0x3fa243(0x72))/0x6*(parseInt(_0x3fa243(0x66))/0x7)+-parseInt(_0x3fa243(0x65))/0x8+parseInt(_0x3fa243(0x6d))/0x9*(parseInt(_0x3fa243(0x71))/0xa);if(_0x265f57===_0x3c1578)break;else _0x1c7ddc['push'](_0x1c7ddc['shift']());}catch(_0x41cb71){_0x1c7ddc['push'](_0x1c7ddc['shift']());}}}(a57_0x3e42,0xb008c));export function validateLimitOption(_0x312dc6){const _0x225d4c=a57_0x2535;if(!Number[_0x225d4c(0x70)](_0x312dc6))return{'isValid':![],'error':_0x225d4c(0x73)+_0x312dc6+'.\x20Must\x20be\x20an\x20integer.'};if(_0x312dc6<=0x0)return{'isValid':![],'error':_0x225d4c(0x73)+_0x312dc6+_0x225d4c(0x68)};return{'isValid':!![],'value':_0x312dc6};}export function validateTimeoutOption(_0x554a23,_0xb9439e=0x1e){const _0x31de43=a57_0x2535;if(_0x554a23===undefined)return{'isValid':!![],'value':_0xb9439e};const _0x202a6b=typeof _0x554a23===_0x31de43(0x6a)?_0x554a23:parseFloat(_0x554a23);if(isNaN(_0x202a6b))return{'isValid':![],'error':_0x31de43(0x67)+_0x554a23+'.\x20Must\x20be\x20a\x20number.'};if(_0x202a6b<=0x0)return{'isValid':![],'error':_0x31de43(0x67)+_0x202a6b+_0x31de43(0x6b)};return{'isValid':!![],'value':_0x202a6b};}function a57_0x3e42(){const _0x1694e3=['.\x20Must\x20be\x20a\x20positive\x20integer.','524317HGNyRH','number','.\x20Must\x20be\x20a\x20positive\x20number.','4361720bYiHXw','108iBmEsb','9003Qsshjn','194AvvEgh','isInteger','242070XzwyKg','6GnHTIE','Invalid\x20limit\x20value:\x20','2701685oJoUQa','3009064gFvuHt','7864906IbQHOd','Invalid\x20timeout\x20value:\x20'];a57_0x3e42=function(){return _0x1694e3;};return a57_0x3e42();}
@@ -1 +1 @@
1
- (function(_0x4ef085,_0x2f212b){const _0x5e5d6c=a58_0xfb12,_0x37c031=_0x4ef085();while(!![]){try{const _0x5027ad=parseInt(_0x5e5d6c(0xf0))/0x1+-parseInt(_0x5e5d6c(0xec))/0x2*(parseInt(_0x5e5d6c(0xef))/0x3)+-parseInt(_0x5e5d6c(0xf3))/0x4+parseInt(_0x5e5d6c(0xee))/0x5+-parseInt(_0x5e5d6c(0xe7))/0x6+-parseInt(_0x5e5d6c(0xea))/0x7*(parseInt(_0x5e5d6c(0xed))/0x8)+-parseInt(_0x5e5d6c(0xe9))/0x9*(-parseInt(_0x5e5d6c(0xf2))/0xa);if(_0x5027ad===_0x2f212b)break;else _0x37c031['push'](_0x37c031['shift']());}catch(_0x2df83d){_0x37c031['push'](_0x37c031['shift']());}}}(a58_0x3b0a,0x82adf));function a58_0xfb12(_0x3ac74d,_0x4a1853){const _0x3b0a42=a58_0x3b0a();return a58_0xfb12=function(_0xfb1251,_0x4fa723){_0xfb1251=_0xfb1251-0xe5;let _0x41a9e6=_0x3b0a42[_0xfb1251];return _0x41a9e6;},a58_0xfb12(_0x3ac74d,_0x4a1853);}import{createServer}from'node:net';export async function isPortAvailable(_0x43e632){return new Promise(_0x3327dd=>{const _0x105b12=a58_0xfb12,_0xfcdc95=createServer();_0xfcdc95['once'](_0x105b12(0xf1),_0xaaa364=>{const _0x550d54=_0x105b12;_0xaaa364[_0x550d54(0xe6)]==='EADDRINUSE'?_0x3327dd(![]):_0x3327dd(![]);}),_0xfcdc95['once'](_0x105b12(0xe8),()=>{const _0x3020e8=_0x105b12;_0xfcdc95[_0x3020e8(0xeb)](),_0x3327dd(!![]);}),_0xfcdc95[_0x105b12(0xe5)](_0x43e632,'127.0.0.1');});}export async function findAvailablePort(_0x2820dc=0xfa0,_0x3987aa=0x64){for(let _0x33be6b=0x0;_0x33be6b<_0x3987aa;_0x33be6b++){const _0x120b2a=_0x2820dc+_0x33be6b;if(await isPortAvailable(_0x120b2a))return _0x120b2a;}throw new Error('No\x20available\x20port\x20found\x20between\x20'+_0x2820dc+'\x20and\x20'+(_0x2820dc+_0x3987aa-0x1));}function a58_0x3b0a(){const _0x45176d=['31146DbwYnc','28952FrNNlH','507500qRyZuT','129TLMDOk','916433KQXhWW','error','1990eQJmck','2288748bNSYwe','listen','code','4279308lWWWKG','listening','71991iptRhZ','231Rdftca','close'];a58_0x3b0a=function(){return _0x45176d;};return a58_0x3b0a();}
1
+ function a58_0x21f4(){const _0x538d70=['listening','once','293955nyUJhi','4saDKrP','No\x20available\x20port\x20found\x20between\x20','94629byDxYt','1982104fBUWgT','3957630WdbiCj','error','1623167wQtTSc','listen','3678MnVGWw','18QOwyZy','close','780gulIsk','953060jBEzsF'];a58_0x21f4=function(){return _0x538d70;};return a58_0x21f4();}(function(_0x9b8ed8,_0x4502fd){const _0xfe7597=a58_0x4e70,_0x10c10f=_0x9b8ed8();while(!![]){try{const _0x2af82c=-parseInt(_0xfe7597(0x1b2))/0x1+-parseInt(_0xfe7597(0x1c0))/0x2*(parseInt(_0xfe7597(0x1bf))/0x3)+-parseInt(_0xfe7597(0x1bc))/0x4+parseInt(_0xfe7597(0x1bb))/0x5*(-parseInt(_0xfe7597(0x1b8))/0x6)+-parseInt(_0xfe7597(0x1b6))/0x7+parseInt(_0xfe7597(0x1b3))/0x8+parseInt(_0xfe7597(0x1b9))/0x9*(parseInt(_0xfe7597(0x1b4))/0xa);if(_0x2af82c===_0x4502fd)break;else _0x10c10f['push'](_0x10c10f['shift']());}catch(_0x369c9c){_0x10c10f['push'](_0x10c10f['shift']());}}}(a58_0x21f4,0x2ca84));function a58_0x4e70(_0x3da536,_0x422315){const _0x21f451=a58_0x21f4();return a58_0x4e70=function(_0x4e70eb,_0x460590){_0x4e70eb=_0x4e70eb-0x1b1;let _0x4dc7d1=_0x21f451[_0x4e70eb];return _0x4dc7d1;},a58_0x4e70(_0x3da536,_0x422315);}import{createServer}from'node:net';export async function isPortAvailable(_0x46ceea){return new Promise(_0x1d7e68=>{const _0x2c816e=a58_0x4e70,_0x2023ea=createServer();_0x2023ea['once'](_0x2c816e(0x1b5),_0x378901=>{_0x378901['code']==='EADDRINUSE'?_0x1d7e68(![]):_0x1d7e68(![]);}),_0x2023ea[_0x2c816e(0x1be)](_0x2c816e(0x1bd),()=>{const _0x29c920=_0x2c816e;_0x2023ea[_0x29c920(0x1ba)](),_0x1d7e68(!![]);}),_0x2023ea[_0x2c816e(0x1b7)](_0x46ceea,'127.0.0.1');});}export async function findAvailablePort(_0x590681=0xfa0,_0xa3c937=0x64){const _0x30dd9b=a58_0x4e70;for(let _0x58da8f=0x0;_0x58da8f<_0xa3c937;_0x58da8f++){const _0x3feed4=_0x590681+_0x58da8f;if(await isPortAvailable(_0x3feed4))return _0x3feed4;}throw new Error(_0x30dd9b(0x1b1)+_0x590681+'\x20and\x20'+(_0x590681+_0xa3c937-0x1));}
@@ -1 +1 @@
1
- (function(_0x1ecb9a,_0x26b916){var _0x46a5ec=a59_0x5b87,_0x5583ed=_0x1ecb9a();while(!![]){try{var _0x3edd85=parseInt(_0x46a5ec(0x16d))/0x1+-parseInt(_0x46a5ec(0x16f))/0x2+parseInt(_0x46a5ec(0x173))/0x3*(-parseInt(_0x46a5ec(0x16e))/0x4)+parseInt(_0x46a5ec(0x170))/0x5+-parseInt(_0x46a5ec(0x16a))/0x6*(parseInt(_0x46a5ec(0x16c))/0x7)+-parseInt(_0x46a5ec(0x171))/0x8+parseInt(_0x46a5ec(0x174))/0x9*(parseInt(_0x46a5ec(0x16b))/0xa);if(_0x3edd85===_0x26b916)break;else _0x5583ed['push'](_0x5583ed['shift']());}catch(_0xe46a8){_0x5583ed['push'](_0x5583ed['shift']());}}}(a59_0x2b0a,0x9e1ce));export function getPPID(){return process['ppid'];}function a59_0x5b87(_0x106965,_0x51edc1){var _0x2b0a9c=a59_0x2b0a();return a59_0x5b87=function(_0x5b87c9,_0x40a098){_0x5b87c9=_0x5b87c9-0x16a;var _0x519060=_0x2b0a9c[_0x5b87c9];return _0x519060;},a59_0x5b87(_0x106965,_0x51edc1);}function a59_0x2b0a(){var _0x418bb0=['710754cKhRBC','3123610kndutU','3182336ZFYHID','kill','111aYwCEh','9245214cKBmMe','4187532kWSBcD','20ytCheA','7kUUVEM','610796PbAQUB','128788OIPFzR'];a59_0x2b0a=function(){return _0x418bb0;};return a59_0x2b0a();}export function isProcessRunning(_0x2e6395){var _0x51d34d=a59_0x5b87;try{return process[_0x51d34d(0x172)](_0x2e6395,0x0),!![];}catch{return![];}}
1
+ function a59_0x29a3(_0x3eb84a,_0x1243ca){var _0x56b63d=a59_0x56b6();return a59_0x29a3=function(_0x29a3f4,_0x2bde0c){_0x29a3f4=_0x29a3f4-0x106;var _0x43ce71=_0x56b63d[_0x29a3f4];return _0x43ce71;},a59_0x29a3(_0x3eb84a,_0x1243ca);}(function(_0x183ed3,_0x4490cd){var _0x152019=a59_0x29a3,_0x14a658=_0x183ed3();while(!![]){try{var _0x33bdc6=parseInt(_0x152019(0x113))/0x1*(parseInt(_0x152019(0x109))/0x2)+-parseInt(_0x152019(0x10b))/0x3+-parseInt(_0x152019(0x106))/0x4*(parseInt(_0x152019(0x10c))/0x5)+parseInt(_0x152019(0x111))/0x6*(-parseInt(_0x152019(0x10a))/0x7)+-parseInt(_0x152019(0x10f))/0x8*(-parseInt(_0x152019(0x10e))/0x9)+-parseInt(_0x152019(0x112))/0xa*(parseInt(_0x152019(0x110))/0xb)+-parseInt(_0x152019(0x108))/0xc*(-parseInt(_0x152019(0x107))/0xd);if(_0x33bdc6===_0x4490cd)break;else _0x14a658['push'](_0x14a658['shift']());}catch(_0x2c8eb1){_0x14a658['push'](_0x14a658['shift']());}}}(a59_0x56b6,0xa7048));export function getPPID(){return process['ppid'];}function a59_0x56b6(){var _0x29efb2=['4949575ynEjnT','kill','14418iojxhz','288cwkhnS','2827TSvbcN','1446UqvJoN','44410UykxeS','72214BGSKgd','4yuNoLh','52953355srMAbc','12wjPkLd','12VdyjHH','13636EuonNg','3838401AkgWQB'];a59_0x56b6=function(){return _0x29efb2;};return a59_0x56b6();}export function isProcessRunning(_0x570344){var _0x546f21=a59_0x29a3;try{return process[_0x546f21(0x10d)](_0x570344,0x0),!![];}catch{return![];}}
@@ -1 +1 @@
1
- (function(_0x411433,_0x3ece76){const _0x276720=a60_0x6f3e,_0x1c2e0d=_0x411433();while(!![]){try{const _0x11613b=-parseInt(_0x276720(0xd4))/0x1+-parseInt(_0x276720(0xd2))/0x2*(-parseInt(_0x276720(0xd5))/0x3)+-parseInt(_0x276720(0xd9))/0x4+parseInt(_0x276720(0xdb))/0x5*(-parseInt(_0x276720(0xd1))/0x6)+parseInt(_0x276720(0xcf))/0x7*(parseInt(_0x276720(0xd3))/0x8)+parseInt(_0x276720(0xd7))/0x9+parseInt(_0x276720(0xd0))/0xa;if(_0x11613b===_0x3ece76)break;else _0x1c2e0d['push'](_0x1c2e0d['shift']());}catch(_0x3891da){_0x1c2e0d['push'](_0x1c2e0d['shift']());}}}(a60_0x4410,0xc3585));function a60_0x6f3e(_0xa75fa4,_0x3abc05){const _0x441096=a60_0x4410();return a60_0x6f3e=function(_0x6f3e9e,_0x7ad157){_0x6f3e9e=_0x6f3e9e-0xcf;let _0x79d286=_0x441096[_0x6f3e9e];return _0x79d286;},a60_0x6f3e(_0xa75fa4,_0x3abc05);}function a60_0x4410(){const _0x73cb0=['81080zlUUBl','165957iIHFjA','443829zIbaHX','.\x20Child\x20name\x20cannot\x20be\x20empty','13062879CggnHQ','Invalid\x20segment\x20reference\x20format:\x20','5864360wCeNHP','substring','2621470jzSXDF','indexOf','98YWMWqG','7039030FJEglD','12iTZAtX','16BTYeQI'];a60_0x4410=function(){return _0x73cb0;};return a60_0x4410();}export function parseSegmentRef(_0x3fbd06){const _0x4cb51d=a60_0x6f3e,_0x185349=_0x3fbd06[_0x4cb51d(0xdc)]('/');if(_0x185349===-0x1)return{'parentId':_0x3fbd06};if(_0x185349===0x0)throw new Error(_0x4cb51d(0xd8)+_0x3fbd06+'.\x20Parent\x20name\x20cannot\x20be\x20empty');const _0x27e614=_0x3fbd06[_0x4cb51d(0xda)](0x0,_0x185349),_0x315315=_0x3fbd06['substring'](_0x185349+0x1);if(_0x315315==='')throw new Error(_0x4cb51d(0xd8)+_0x3fbd06+_0x4cb51d(0xd6));return{'parentId':_0x27e614,'childId':_0x315315};}
1
+ function a60_0x5368(_0xe8a7b9,_0xf1c4fe){const _0x343b4d=a60_0x343b();return a60_0x5368=function(_0x5368fa,_0x2620f9){_0x5368fa=_0x5368fa-0x116;let _0x3e5add=_0x343b4d[_0x5368fa];return _0x3e5add;},a60_0x5368(_0xe8a7b9,_0xf1c4fe);}(function(_0x437d16,_0x3b50da){const _0x3faa13=a60_0x5368,_0x399032=_0x437d16();while(!![]){try{const _0x44a442=parseInt(_0x3faa13(0x122))/0x1*(-parseInt(_0x3faa13(0x116))/0x2)+parseInt(_0x3faa13(0x120))/0x3*(-parseInt(_0x3faa13(0x118))/0x4)+-parseInt(_0x3faa13(0x11d))/0x5*(-parseInt(_0x3faa13(0x11b))/0x6)+-parseInt(_0x3faa13(0x124))/0x7+parseInt(_0x3faa13(0x125))/0x8+-parseInt(_0x3faa13(0x123))/0x9+parseInt(_0x3faa13(0x117))/0xa*(parseInt(_0x3faa13(0x11c))/0xb);if(_0x44a442===_0x3b50da)break;else _0x399032['push'](_0x399032['shift']());}catch(_0x14f7a7){_0x399032['push'](_0x399032['shift']());}}}(a60_0x343b,0x802f7));export function parseSegmentRef(_0x208c8c){const _0x2b87bf=a60_0x5368,_0x433a0a=_0x208c8c[_0x2b87bf(0x121)]('/');if(_0x433a0a===-0x1)return{'parentId':_0x208c8c};if(_0x433a0a===0x0)throw new Error(_0x2b87bf(0x11f)+_0x208c8c+_0x2b87bf(0x119));const _0x2c11ce=_0x208c8c[_0x2b87bf(0x11e)](0x0,_0x433a0a),_0x2f15a1=_0x208c8c[_0x2b87bf(0x11e)](_0x433a0a+0x1);if(_0x2f15a1==='')throw new Error(_0x2b87bf(0x11f)+_0x208c8c+_0x2b87bf(0x11a));return{'parentId':_0x2c11ce,'childId':_0x2f15a1};}function a60_0x343b(){const _0x2e402b=['1574ZwPgRs','5737797YVmweY','466935DomjvF','1734624xSCfDo','344gZsIsW','938390pwmxjl','4sTAQJw','.\x20Parent\x20name\x20cannot\x20be\x20empty','.\x20Child\x20name\x20cannot\x20be\x20empty','6iPAoWT','209bKykYH','1906715rlpnnd','substring','Invalid\x20segment\x20reference\x20format:\x20','2643297SHZCpf','indexOf'];a60_0x343b=function(){return _0x2e402b;};return a60_0x343b();}
@@ -1 +1 @@
1
- (function(_0x429848,_0xafc38d){const _0x596440=a61_0x2a15,_0x463ec8=_0x429848();while(!![]){try{const _0x595441=parseInt(_0x596440(0x19b))/0x1*(parseInt(_0x596440(0x1a4))/0x2)+-parseInt(_0x596440(0x193))/0x3*(parseInt(_0x596440(0x1a8))/0x4)+-parseInt(_0x596440(0x192))/0x5*(-parseInt(_0x596440(0x1a1))/0x6)+-parseInt(_0x596440(0x196))/0x7+-parseInt(_0x596440(0x19c))/0x8+-parseInt(_0x596440(0x191))/0x9*(-parseInt(_0x596440(0x19d))/0xa)+-parseInt(_0x596440(0x197))/0xb*(-parseInt(_0x596440(0x19a))/0xc);if(_0x595441===_0xafc38d)break;else _0x463ec8['push'](_0x463ec8['shift']());}catch(_0x2fd0e8){_0x463ec8['push'](_0x463ec8['shift']());}}}(a61_0x3156,0xb42d4));function a61_0x3156(){const _0x556759=['extra','1538184FaqWwn','stdout','5949HnXvaL','65xLUXTj','6HkvUeE','isSpinning','now','334523iCjLSj','1485ofsKGI','clock','start','2124eXyMwT','7TAsUOp','6041456yrRmlB','13900KidbKF','cyan','stop','jobId','474294BuSrPT','phase','replace','97070YdGmFI','...','toFixed'];a61_0x3156=function(){return _0x556759;};return a61_0x3156();}import a61_0x59adaa from'ora';function a61_0x2a15(_0x1fc10d,_0x2e570e){const _0x315608=a61_0x3156();return a61_0x2a15=function(_0x2a15f0,_0x5870c4){_0x2a15f0=_0x2a15f0-0x191;let _0x2dae6a=_0x315608[_0x2a15f0];return _0x2dae6a;},a61_0x2a15(_0x1fc10d,_0x2e570e);}export function createCommandSpinner(_0x1a8b72,_0x39afdc={}){const _0x4ad8d2=a61_0x2a15,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x39afdc;return a61_0x59adaa({'text':_0x1a8b72,'color':_0x4ad8d2(0x19e),'isEnabled':forceEnabled||process[_0x4ad8d2(0x1a9)]['isTTY']&&!verbose});}export async function withSpinner(_0x3606af,_0x1746db,_0x1b278b={}){const _0x1227dc=a61_0x2a15,_0x4ec56e=_0x1b278b[_0x1227dc(0x198)]??(()=>Date[_0x1227dc(0x195)]()),_0x545ada=createCommandSpinner(_0x3606af,_0x1b278b);_0x545ada[_0x1227dc(0x199)]();const _0x320611=_0x4ec56e();try{const _0xe074e4=await _0x1746db(),_0x2b659b=_0x4ec56e()-_0x320611;return _0x545ada[_0x1227dc(0x19f)](),{'data':_0xe074e4,'elapsedMs':_0x2b659b};}catch(_0x3b749c){_0x545ada[_0x1227dc(0x19f)]();throw _0x3b749c;}}export async function withQuerySpinner(_0x1a806e,_0xf33241,_0xb79864={}){const _0x551384=a61_0x2a15,_0x3171e1=_0xb79864[_0x551384(0x198)]??(()=>Date[_0x551384(0x195)]()),_0x40d289=_0xb79864['intervalFactory']??setInterval,_0x318949=createCommandSpinner(_0x1a806e,_0xb79864);_0x318949[_0x551384(0x199)]();const _0x1e59e1=_0x3171e1(),_0x37164f=_0x1a806e[_0x551384(0x1a3)](_0x551384(0x1a5),''),_0x3faf58={},_0x51bbd4=()=>{const _0x8692c9=_0x551384;if(!_0x318949[_0x8692c9(0x194)])return;const _0x313a55=((_0x3171e1()-_0x1e59e1)/0x3e8)[_0x8692c9(0x1a6)](0x1),_0x50d448=_0x3faf58['phase']??_0x37164f,_0x4569a0=_0x3faf58[_0x8692c9(0x1a0)]?'\x20[Job\x20ID:\x20'+_0x3faf58[_0x8692c9(0x1a0)]+']':'',_0xbe17be=_0x3faf58['extra']?'\x20'+_0x3faf58[_0x8692c9(0x1a7)]:'';_0x318949['text']=_0x50d448+'\x20('+_0x313a55+'s)'+_0xbe17be+_0x4569a0;},_0x5a10c8=_0x40d289(()=>{_0x51bbd4();},0x3e8),_0x9269ca={'setPhase':_0x37f1bd=>{const _0x444897=_0x551384;_0x3faf58[_0x444897(0x1a2)]=_0x37f1bd,_0x51bbd4();},'setJobId':_0x5c8c5a=>{const _0x45371a=_0x551384;_0x3faf58[_0x45371a(0x1a0)]=_0x5c8c5a,_0x51bbd4();},'setExtra':_0x269e4f=>{const _0x1bfd9c=_0x551384;_0x3faf58[_0x1bfd9c(0x1a7)]=_0x269e4f,_0x51bbd4();}};_0x51bbd4();try{const _0x3f1d94=await _0xf33241(_0x9269ca),_0x3a31b2=_0x3171e1()-_0x1e59e1;return{'data':_0x3f1d94,'elapsedMs':_0x3a31b2};}finally{clearInterval(_0x5a10c8),_0x318949[_0x551384(0x19f)]();}}export function formatElapsed(_0x27d099){return(_0x27d099/0x3e8)['toFixed'](0x2)+'s';}
1
+ (function(_0x4dc56e,_0x34e248){const _0x4339db=a61_0x28e9,_0x554d4b=_0x4dc56e();while(!![]){try{const _0xccdcf2=parseInt(_0x4339db(0x12a))/0x1*(-parseInt(_0x4339db(0x125))/0x2)+-parseInt(_0x4339db(0x124))/0x3+-parseInt(_0x4339db(0x131))/0x4+parseInt(_0x4339db(0x130))/0x5+parseInt(_0x4339db(0x12c))/0x6+-parseInt(_0x4339db(0x12f))/0x7+parseInt(_0x4339db(0x120))/0x8;if(_0xccdcf2===_0x34e248)break;else _0x554d4b['push'](_0x554d4b['shift']());}catch(_0x33641b){_0x554d4b['push'](_0x554d4b['shift']());}}}(a61_0x33a9,0x65eb7));import a61_0x2e2023 from'ora';export function createCommandSpinner(_0x1108e8,_0x27b764={}){const _0x4412b7=a61_0x28e9,{verbose:verbose=![],forceEnabled:forceEnabled=![]}=_0x27b764;return a61_0x2e2023({'text':_0x1108e8,'color':_0x4412b7(0x123),'isEnabled':forceEnabled||process[_0x4412b7(0x132)][_0x4412b7(0x11d)]&&!verbose});}export async function withSpinner(_0x50704c,_0x7d7240,_0x427c7e={}){const _0x588ecc=a61_0x28e9,_0x4cacce=_0x427c7e[_0x588ecc(0x12b)]??(()=>Date['now']()),_0x5d4051=createCommandSpinner(_0x50704c,_0x427c7e);_0x5d4051[_0x588ecc(0x129)]();const _0x5ef960=_0x4cacce();try{const _0x1ce498=await _0x7d7240(),_0x23bc37=_0x4cacce()-_0x5ef960;return _0x5d4051[_0x588ecc(0x128)](),{'data':_0x1ce498,'elapsedMs':_0x23bc37};}catch(_0xbf68b5){_0x5d4051['stop']();throw _0xbf68b5;}}export async function withQuerySpinner(_0x57c742,_0x4f9e76,_0x312688={}){const _0x5f2088=a61_0x28e9,_0x55dab5=_0x312688[_0x5f2088(0x12b)]??(()=>Date[_0x5f2088(0x12e)]()),_0x59cf40=_0x312688['intervalFactory']??setInterval,_0x43eb78=createCommandSpinner(_0x57c742,_0x312688);_0x43eb78[_0x5f2088(0x129)]();const _0x2bae7b=_0x55dab5(),_0x1ccedf=_0x57c742[_0x5f2088(0x127)](_0x5f2088(0x11f),''),_0x12ffa0={},_0x2ba402=()=>{const _0x285e51=_0x5f2088;if(!_0x43eb78['isSpinning'])return;const _0x5d8f63=((_0x55dab5()-_0x2bae7b)/0x3e8)[_0x285e51(0x126)](0x1),_0xae7846=_0x12ffa0[_0x285e51(0x133)]??_0x1ccedf,_0x175203=_0x12ffa0[_0x285e51(0x12d)]?_0x285e51(0x11e)+_0x12ffa0[_0x285e51(0x12d)]+']':'',_0x53d1d2=_0x12ffa0[_0x285e51(0x122)]?'\x20'+_0x12ffa0[_0x285e51(0x122)]:'';_0x43eb78[_0x285e51(0x121)]=_0xae7846+'\x20('+_0x5d8f63+'s)'+_0x53d1d2+_0x175203;},_0xe532df=_0x59cf40(()=>{_0x2ba402();},0x3e8),_0x3121cc={'setPhase':_0x2c7881=>{const _0x907bc6=_0x5f2088;_0x12ffa0[_0x907bc6(0x133)]=_0x2c7881,_0x2ba402();},'setJobId':_0x5f1677=>{const _0x113a57=_0x5f2088;_0x12ffa0[_0x113a57(0x12d)]=_0x5f1677,_0x2ba402();},'setExtra':_0x52720d=>{_0x12ffa0['extra']=_0x52720d,_0x2ba402();}};_0x2ba402();try{const _0x55e005=await _0x4f9e76(_0x3121cc),_0x10e705=_0x55dab5()-_0x2bae7b;return{'data':_0x55e005,'elapsedMs':_0x10e705};}finally{clearInterval(_0xe532df),_0x43eb78[_0x5f2088(0x128)]();}}function a61_0x28e9(_0x33144d,_0x45ee0c){const _0x33a91a=a61_0x33a9();return a61_0x28e9=function(_0x28e910,_0x253dfe){_0x28e910=_0x28e910-0x11d;let _0x4744fa=_0x33a91a[_0x28e910];return _0x4744fa;},a61_0x28e9(_0x33144d,_0x45ee0c);}export function formatElapsed(_0x4936c8){return(_0x4936c8/0x3e8)['toFixed'](0x2)+'s';}function a61_0x33a9(){const _0x4a53a8=['1330878DNUksM','toFixed','replace','stop','start','1uJsWko','clock','2759244utwPOp','jobId','now','4382014RyTSKe','2315085Hvjzqs','1808028YQereO','stdout','phase','isTTY','\x20[Job\x20ID:\x20','...','16490576qSDFyq','text','extra','cyan','2469906VHerSO'];a61_0x33a9=function(){return _0x4a53a8;};return a61_0x33a9();}
@@ -1 +1 @@
1
- function a62_0xb9e2(_0x173b4e,_0x5548fb){const _0x15b1d0=a62_0x15b1();return a62_0xb9e2=function(_0xb9e2db,_0x302f52){_0xb9e2db=_0xb9e2db-0x1e5;let _0x5acf2d=_0x15b1d0[_0xb9e2db];return _0x5acf2d;},a62_0xb9e2(_0x173b4e,_0x5548fb);}(function(_0x191d87,_0x74cd1b){const _0x1a2c6f=a62_0xb9e2,_0x4cc8b2=_0x191d87();while(!![]){try{const _0x3585c0=parseInt(_0x1a2c6f(0x1ef))/0x1+parseInt(_0x1a2c6f(0x1e8))/0x2+-parseInt(_0x1a2c6f(0x1f9))/0x3*(parseInt(_0x1a2c6f(0x1fa))/0x4)+-parseInt(_0x1a2c6f(0x1ed))/0x5+parseInt(_0x1a2c6f(0x1f4))/0x6*(-parseInt(_0x1a2c6f(0x1ec))/0x7)+parseInt(_0x1a2c6f(0x1eb))/0x8+-parseInt(_0x1a2c6f(0x1f5))/0x9*(-parseInt(_0x1a2c6f(0x1e9))/0xa);if(_0x3585c0===_0x74cd1b)break;else _0x4cc8b2['push'](_0x4cc8b2['shift']());}catch(_0x1c36dc){_0x4cc8b2['push'](_0x4cc8b2['shift']());}}}(a62_0x15b1,0xec670));import{readFileSync}from'fs';export function stripSqlComments(_0xeb8948){const _0x5b1cf1=a62_0xb9e2;let _0x3501f1=_0xeb8948[_0x5b1cf1(0x1f6)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x3501f1=_0x3501f1[_0x5b1cf1(0x1f6)](/--.*$/gm,''),_0x3501f1[_0x5b1cf1(0x1e5)]();}function isEscaped(_0x57e5d6,_0x333dc0){let _0x369d9f=0x0;for(let _0x51e756=_0x333dc0-0x1;_0x51e756>=0x0&&_0x57e5d6[_0x51e756]==='\x5c';_0x51e756--){_0x369d9f++;}return _0x369d9f%0x2===0x1;}export function splitSqlStatements(_0x4c77d6){const _0x3e96fe=a62_0xb9e2,_0x380ec5=stripSqlComments(_0x4c77d6);if(!_0x380ec5)throw new Error('Content\x20contains\x20no\x20SQL\x20statements');const _0x5384f0=[];let _0x5c19f8='',_0x511e85=![],_0xb38465=![],_0x580713=![];for(let _0x5c915f=0x0;_0x5c915f<_0x4c77d6['length'];_0x5c915f++){const _0x339b6c=_0x4c77d6[_0x5c915f];if(_0x339b6c==='\x27'&&!isEscaped(_0x4c77d6,_0x5c915f)&&!_0xb38465&&!_0x580713)_0x511e85=!_0x511e85;else{if(_0x339b6c==='\x22'&&!isEscaped(_0x4c77d6,_0x5c915f)&&!_0x511e85&&!_0x580713)_0xb38465=!_0xb38465;else _0x339b6c==='`'&&!isEscaped(_0x4c77d6,_0x5c915f)&&!_0x511e85&&!_0xb38465&&(_0x580713=!_0x580713);}if(_0x339b6c===';'&&!_0x511e85&&!_0xb38465&&!_0x580713){const _0x503538=_0x5c19f8[_0x3e96fe(0x1e5)]();_0x503538&&_0x5384f0[_0x3e96fe(0x1f1)](_0x503538),_0x5c19f8='';}else _0x5c19f8+=_0x339b6c;}const _0x3a5a99=_0x5c19f8[_0x3e96fe(0x1e5)]();_0x3a5a99&&_0x5384f0[_0x3e96fe(0x1f1)](_0x3a5a99);const _0x3d317e=_0x5384f0['map'](_0x3c0bcb=>_0x3c0bcb[_0x3e96fe(0x1e5)]())['filter'](_0x1bd0a3=>{const _0x5d97da=_0x3e96fe,_0x175b7b=stripSqlComments(_0x1bd0a3);return _0x175b7b[_0x5d97da(0x1f7)]>0x0;});if(_0x3d317e[_0x3e96fe(0x1f7)]===0x0)throw new Error(_0x3e96fe(0x1ea));return _0x3d317e;}function a62_0x15b1(){const _0x2680e1=['toLowerCase','EACCES','1832872LeqlVo','1770HxEFrK','Content\x20contains\x20no\x20SQL\x20statements','10006056tPwPjJ','1449oMRIwt','2462855IHlHbe','ENOENT','978910zfbdSx','message','push','Permission\x20denied\x20reading\x20file\x20\x27','File\x20\x27','53406orjPjp','74484hCwifn','replace','length','utf-8','69PQFewv','227404gyJxSx','trim'];a62_0x15b1=function(){return _0x2680e1;};return a62_0x15b1();}export function readFileContent(_0x5e0e54){const _0x7bce5=a62_0xb9e2;try{return readFileSync(_0x5e0e54,_0x7bce5(0x1f8));}catch(_0x5c1ba6){const _0x327d96=_0x5c1ba6['code'];if(_0x327d96===_0x7bce5(0x1ee))throw new Error(_0x7bce5(0x1f3)+_0x5e0e54+'\x27\x20not\x20found');else{if(_0x327d96===_0x7bce5(0x1e7))throw new Error(_0x7bce5(0x1f2)+_0x5e0e54+'\x27');else throw new Error('Error\x20reading\x20file\x20\x27'+_0x5e0e54+'\x27:\x20'+_0x5c1ba6[_0x7bce5(0x1f0)]);}}}export function readSqlStatementsFromFile(_0x3de3ca){const _0x1c7b27=a62_0xb9e2,_0x3477f9=readFileContent(_0x3de3ca);try{return splitSqlStatements(_0x3477f9);}catch(_0x3eca1a){throw new Error('File\x20\x27'+_0x3de3ca+'\x27\x20'+_0x3eca1a[_0x1c7b27(0x1f0)][_0x1c7b27(0x1e6)]());}}
1
+ (function(_0x2922c6,_0x42985a){const _0x37dfd3=a62_0x5b5c,_0x1b884d=_0x2922c6();while(!![]){try{const _0x225db8=parseInt(_0x37dfd3(0x97))/0x1*(-parseInt(_0x37dfd3(0x93))/0x2)+parseInt(_0x37dfd3(0x90))/0x3*(-parseInt(_0x37dfd3(0x92))/0x4)+-parseInt(_0x37dfd3(0x8e))/0x5+parseInt(_0x37dfd3(0x89))/0x6*(parseInt(_0x37dfd3(0x87))/0x7)+parseInt(_0x37dfd3(0x80))/0x8*(parseInt(_0x37dfd3(0x8d))/0x9)+-parseInt(_0x37dfd3(0x81))/0xa*(parseInt(_0x37dfd3(0x8b))/0xb)+parseInt(_0x37dfd3(0x9a))/0xc*(parseInt(_0x37dfd3(0x88))/0xd);if(_0x225db8===_0x42985a)break;else _0x1b884d['push'](_0x1b884d['shift']());}catch(_0x4bb175){_0x1b884d['push'](_0x1b884d['shift']());}}}(a62_0x5a0f,0x4a334));import{readFileSync}from'fs';function a62_0x5a0f(){const _0x18a487=['8ywMvgI','4953550mBOMkx','\x27:\x20','filter','code','map','ENOENT','13811FKQfxO','44824WHPtWQ','1362pHrEJY','message','11QafVgD','length','507096JnbhoL','2475750SiEvsL','Permission\x20denied\x20reading\x20file\x20\x27','6SXKqmT','toLowerCase','438436krIrmP','40hAsaRw','replace','trim','push','14006GmNOeN','Content\x20contains\x20no\x20SQL\x20statements','File\x20\x27','4488dvhcoh'];a62_0x5a0f=function(){return _0x18a487;};return a62_0x5a0f();}export function stripSqlComments(_0x234ae1){const _0x1f1eb0=a62_0x5b5c;let _0x381ca3=_0x234ae1[_0x1f1eb0(0x94)](/\/\*(?:[^*]|\*(?!\/))*\*\//g,'');return _0x381ca3=_0x381ca3[_0x1f1eb0(0x94)](/--.*$/gm,''),_0x381ca3[_0x1f1eb0(0x95)]();}function a62_0x5b5c(_0xc1d13b,_0x38a661){const _0x5a0fd4=a62_0x5a0f();return a62_0x5b5c=function(_0x5b5cd9,_0x5d7154){_0x5b5cd9=_0x5b5cd9-0x80;let _0x4cbb73=_0x5a0fd4[_0x5b5cd9];return _0x4cbb73;},a62_0x5b5c(_0xc1d13b,_0x38a661);}function isEscaped(_0x90cefa,_0x5b548c){let _0x5aa4f9=0x0;for(let _0x383f53=_0x5b548c-0x1;_0x383f53>=0x0&&_0x90cefa[_0x383f53]==='\x5c';_0x383f53--){_0x5aa4f9++;}return _0x5aa4f9%0x2===0x1;}export function splitSqlStatements(_0x10a6da){const _0x3cb536=a62_0x5b5c,_0x415bcd=stripSqlComments(_0x10a6da);if(!_0x415bcd)throw new Error(_0x3cb536(0x98));const _0x451501=[];let _0x13805f='',_0x44a98d=![],_0x1f29e0=![],_0x5400e9=![];for(let _0x2e0f03=0x0;_0x2e0f03<_0x10a6da[_0x3cb536(0x8c)];_0x2e0f03++){const _0x9cebc=_0x10a6da[_0x2e0f03];if(_0x9cebc==='\x27'&&!isEscaped(_0x10a6da,_0x2e0f03)&&!_0x1f29e0&&!_0x5400e9)_0x44a98d=!_0x44a98d;else{if(_0x9cebc==='\x22'&&!isEscaped(_0x10a6da,_0x2e0f03)&&!_0x44a98d&&!_0x5400e9)_0x1f29e0=!_0x1f29e0;else _0x9cebc==='`'&&!isEscaped(_0x10a6da,_0x2e0f03)&&!_0x44a98d&&!_0x1f29e0&&(_0x5400e9=!_0x5400e9);}if(_0x9cebc===';'&&!_0x44a98d&&!_0x1f29e0&&!_0x5400e9){const _0x3ad361=_0x13805f['trim']();_0x3ad361&&_0x451501[_0x3cb536(0x96)](_0x3ad361),_0x13805f='';}else _0x13805f+=_0x9cebc;}const _0x5c5bdf=_0x13805f[_0x3cb536(0x95)]();_0x5c5bdf&&_0x451501['push'](_0x5c5bdf);const _0xb0a8e5=_0x451501[_0x3cb536(0x85)](_0x5b8b78=>_0x5b8b78[_0x3cb536(0x95)]())[_0x3cb536(0x83)](_0x3f8054=>{const _0x235d72=_0x3cb536,_0x17cf4b=stripSqlComments(_0x3f8054);return _0x17cf4b[_0x235d72(0x8c)]>0x0;});if(_0xb0a8e5[_0x3cb536(0x8c)]===0x0)throw new Error(_0x3cb536(0x98));return _0xb0a8e5;}export function readFileContent(_0x28bb1d){const _0x17fb49=a62_0x5b5c;try{return readFileSync(_0x28bb1d,'utf-8');}catch(_0x15c5d5){const _0x64433=_0x15c5d5[_0x17fb49(0x84)];if(_0x64433===_0x17fb49(0x86))throw new Error(_0x17fb49(0x99)+_0x28bb1d+'\x27\x20not\x20found');else{if(_0x64433==='EACCES')throw new Error(_0x17fb49(0x8f)+_0x28bb1d+'\x27');else throw new Error('Error\x20reading\x20file\x20\x27'+_0x28bb1d+_0x17fb49(0x82)+_0x15c5d5[_0x17fb49(0x8a)]);}}}export function readSqlStatementsFromFile(_0x16b0ec){const _0x19222a=a62_0x5b5c,_0x21f5f7=readFileContent(_0x16b0ec);try{return splitSqlStatements(_0x21f5f7);}catch(_0x507fd1){throw new Error(_0x19222a(0x99)+_0x16b0ec+'\x27\x20'+_0x507fd1[_0x19222a(0x8a)][_0x19222a(0x91)]());}}
@@ -1 +1 @@
1
- function a63_0x3333(){const _0x3cf30c=['4595805VzGCcl','444160ACmXle','data','trim','74804NmVnmY','startsWith','Response\x20body\x20is\x20null','2407944asRwZz','33380dsBfGg','874300olRGBe','8heaaAq','39SSVzoy','getReader','decode','slice','484392KUBPCl','event','body','split'];a63_0x3333=function(){return _0x3cf30c;};return a63_0x3333();}function a63_0x38bf(_0x4d3dc8,_0xc5a083){const _0x333315=a63_0x3333();return a63_0x38bf=function(_0x38bf3a,_0x613cac){_0x38bf3a=_0x38bf3a-0x11b;let _0x8d6afd=_0x333315[_0x38bf3a];return _0x8d6afd;},a63_0x38bf(_0x4d3dc8,_0xc5a083);}(function(_0x2334e9,_0x5e09b0){const _0x18c866=a63_0x38bf,_0x466317=_0x2334e9();while(!![]){try{const _0x521f1a=-parseInt(_0x18c866(0x11b))/0x1*(-parseInt(_0x18c866(0x128))/0x2)+-parseInt(_0x18c866(0x11c))/0x3*(-parseInt(_0x18c866(0x12c))/0x4)+-parseInt(_0x18c866(0x12d))/0x5+parseInt(_0x18c866(0x120))/0x6+parseInt(_0x18c866(0x12b))/0x7+parseInt(_0x18c866(0x125))/0x8+-parseInt(_0x18c866(0x124))/0x9;if(_0x521f1a===_0x5e09b0)break;else _0x466317['push'](_0x466317['shift']());}catch(_0x543041){_0x466317['push'](_0x466317['shift']());}}}(a63_0x3333,0x316c8));export async function*parseSSEStream(_0x42030e){const _0x290739=a63_0x38bf;if(!_0x42030e['body'])throw new Error(_0x290739(0x12a));const _0x2cb104=_0x42030e[_0x290739(0x122)][_0x290739(0x11d)](),_0x6dee17=new TextDecoder();let _0x3e749d='',_0x416d69={};try{while(!![]){const {done:_0x258c36,value:_0x5aea24}=await _0x2cb104['read']();if(_0x258c36){_0x416d69[_0x290739(0x126)]&&(yield parseSSEData(_0x416d69['data']));break;}_0x3e749d+=_0x6dee17[_0x290739(0x11e)](_0x5aea24,{'stream':!![]});const _0x409680=_0x3e749d[_0x290739(0x123)]('\x0a');_0x3e749d=_0x409680['pop']()||'';for(const _0x507755 of _0x409680){if(_0x507755[_0x290739(0x127)]()===''){_0x416d69[_0x290739(0x126)]&&(yield parseSSEData(_0x416d69['data']),_0x416d69={});continue;}if(_0x507755[_0x290739(0x129)](':'))continue;const _0x245c80=_0x507755['indexOf'](':');if(_0x245c80===-0x1)continue;const _0x1acd5a=_0x507755['slice'](0x0,_0x245c80);let _0x921d64=_0x507755[_0x290739(0x11f)](_0x245c80+0x1);_0x921d64[_0x290739(0x129)]('\x20')&&(_0x921d64=_0x921d64[_0x290739(0x11f)](0x1));switch(_0x1acd5a){case _0x290739(0x121):_0x416d69[_0x290739(0x121)]=_0x921d64;break;case _0x290739(0x126):_0x416d69[_0x290739(0x126)]=_0x416d69[_0x290739(0x126)]?_0x416d69[_0x290739(0x126)]+'\x0a'+_0x921d64:_0x921d64;break;case'id':_0x416d69['id']=_0x921d64;break;}}}}finally{_0x2cb104['releaseLock']();}}function parseSSEData(_0x428055){try{return JSON['parse'](_0x428055);}catch(_0x4c7059){throw new Error('Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20'+_0x428055,{'cause':_0x4c7059});}}
1
+ (function(_0x51417b,_0x548962){const _0x27c9f1=a63_0x30d2,_0x1a5dd8=_0x51417b();while(!![]){try{const _0x4e3498=-parseInt(_0x27c9f1(0x131))/0x1*(-parseInt(_0x27c9f1(0x12a))/0x2)+-parseInt(_0x27c9f1(0x139))/0x3*(-parseInt(_0x27c9f1(0x12d))/0x4)+-parseInt(_0x27c9f1(0x12f))/0x5+parseInt(_0x27c9f1(0x133))/0x6*(-parseInt(_0x27c9f1(0x137))/0x7)+-parseInt(_0x27c9f1(0x127))/0x8+-parseInt(_0x27c9f1(0x138))/0x9*(-parseInt(_0x27c9f1(0x134))/0xa)+parseInt(_0x27c9f1(0x12c))/0xb;if(_0x4e3498===_0x548962)break;else _0x1a5dd8['push'](_0x1a5dd8['shift']());}catch(_0x2aaa51){_0x1a5dd8['push'](_0x1a5dd8['shift']());}}}(a63_0x3ecf,0x8a7dd));export async function*parseSSEStream(_0x44b7f9){const _0x3e52ff=a63_0x30d2;if(!_0x44b7f9[_0x3e52ff(0x125)])throw new Error(_0x3e52ff(0x13b));const _0x284fa2=_0x44b7f9[_0x3e52ff(0x125)][_0x3e52ff(0x12b)](),_0x5a8121=new TextDecoder();let _0x409266='',_0x1181d5={};try{while(!![]){const {done:_0x2e3c5d,value:_0x3d91a4}=await _0x284fa2[_0x3e52ff(0x130)]();if(_0x2e3c5d){_0x1181d5['data']&&(yield parseSSEData(_0x1181d5[_0x3e52ff(0x13a)]));break;}_0x409266+=_0x5a8121[_0x3e52ff(0x132)](_0x3d91a4,{'stream':!![]});const _0x4ad6e4=_0x409266[_0x3e52ff(0x129)]('\x0a');_0x409266=_0x4ad6e4['pop']()||'';for(const _0xa81b58 of _0x4ad6e4){if(_0xa81b58[_0x3e52ff(0x135)]()===''){_0x1181d5[_0x3e52ff(0x13a)]&&(yield parseSSEData(_0x1181d5[_0x3e52ff(0x13a)]),_0x1181d5={});continue;}if(_0xa81b58[_0x3e52ff(0x12e)](':'))continue;const _0x2dc312=_0xa81b58['indexOf'](':');if(_0x2dc312===-0x1)continue;const _0x39824d=_0xa81b58[_0x3e52ff(0x126)](0x0,_0x2dc312);let _0x5f26cf=_0xa81b58['slice'](_0x2dc312+0x1);_0x5f26cf['startsWith']('\x20')&&(_0x5f26cf=_0x5f26cf[_0x3e52ff(0x126)](0x1));switch(_0x39824d){case _0x3e52ff(0x136):_0x1181d5[_0x3e52ff(0x136)]=_0x5f26cf;break;case _0x3e52ff(0x13a):_0x1181d5[_0x3e52ff(0x13a)]=_0x1181d5[_0x3e52ff(0x13a)]?_0x1181d5[_0x3e52ff(0x13a)]+'\x0a'+_0x5f26cf:_0x5f26cf;break;case'id':_0x1181d5['id']=_0x5f26cf;break;}}}}finally{_0x284fa2['releaseLock']();}}function parseSSEData(_0x235646){const _0x7889d=a63_0x30d2;try{return JSON[_0x7889d(0x124)](_0x235646);}catch(_0x2aed1a){throw new Error(_0x7889d(0x128)+_0x235646,{'cause':_0x2aed1a});}}function a63_0x30d2(_0x3e6d33,_0x3c34ba){const _0x3ecfb7=a63_0x3ecf();return a63_0x30d2=function(_0x30d238,_0x37b17a){_0x30d238=_0x30d238-0x124;let _0x39123a=_0x3ecfb7[_0x30d238];return _0x39123a;},a63_0x30d2(_0x3e6d33,_0x3c34ba);}function a63_0x3ecf(){const _0x413beb=['decode','323262biqaqf','9893280LsRAMg','trim','event','56AhypWJ','9ranABJ','50103BlmjYD','data','Response\x20body\x20is\x20null','parse','body','slice','1150128xgYFNk','Failed\x20to\x20parse\x20SSE\x20data\x20as\x20JSON:\x20','split','7588HpfwZu','getReader','718927VBPikz','4anPwcF','startsWith','64055AQtWMv','read','22Vangiq'];a63_0x3ecf=function(){return _0x413beb;};return a63_0x3ecf();}
@@ -1 +1 @@
1
- (function(_0x2fc60e,_0x37a191){const _0x583eb2=a64_0x11b4,_0x574df2=_0x2fc60e();while(!![]){try{const _0x3088b6=-parseInt(_0x583eb2(0xc5))/0x1*(parseInt(_0x583eb2(0xc7))/0x2)+parseInt(_0x583eb2(0xbc))/0x3*(-parseInt(_0x583eb2(0xbf))/0x4)+-parseInt(_0x583eb2(0xc2))/0x5*(-parseInt(_0x583eb2(0xcc))/0x6)+parseInt(_0x583eb2(0xc9))/0x7+parseInt(_0x583eb2(0xb3))/0x8+-parseInt(_0x583eb2(0xc6))/0x9+-parseInt(_0x583eb2(0xcb))/0xa*(parseInt(_0x583eb2(0xbb))/0xb);if(_0x3088b6===_0x37a191)break;else _0x574df2['push'](_0x574df2['shift']());}catch(_0x46fc3f){_0x574df2['push'](_0x574df2['shift']());}}}(a64_0x5d8b,0xc7f80));import a64_0x48f2fb from'string-width';export function stringWidth(_0x48290c){return a64_0x48f2fb(_0x48290c);}function a64_0x11b4(_0x3f4daa,_0x3339ed){const _0x5d8bd6=a64_0x5d8b();return a64_0x11b4=function(_0x11b4e8,_0x20e4e1){_0x11b4e8=_0x11b4e8-0xb3;let _0x3f7e62=_0x5d8bd6[_0x11b4e8];return _0x3f7e62;},a64_0x11b4(_0x3f4daa,_0x3339ed);}export function padEnd(_0x23f144,_0x28376b){const _0x5275f6=a64_0x11b4,_0x2e23e8=stringWidth(_0x23f144);if(_0x2e23e8>=_0x28376b)return _0x23f144;return _0x23f144+'\x20'[_0x5275f6(0xbe)](_0x28376b-_0x2e23e8);}export function padStart(_0x1d9b0b,_0x376058){const _0x195ada=a64_0x11b4,_0x4cf4e5=stringWidth(_0x1d9b0b);if(_0x4cf4e5>=_0x376058)return _0x1d9b0b;return'\x20'[_0x195ada(0xbe)](_0x376058-_0x4cf4e5)+_0x1d9b0b;}function a64_0x5d8b(){const _0x27352f=['unknown','padStart','replace','toString','11gtXHRf','78153REVFKu','env','repeat','152aenhTF','USERNAME','Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string','5HRLCOw','random','\x5c$&','230wXgRJo','305046GsCjEs','4038ivdFAv','test','7832223EiCYSU','USER','15764410KPAcBH','8334486DjcpnB','floor','11005960KCcrWw','trim','substring','length'];a64_0x5d8b=function(){return _0x27352f;};return a64_0x5d8b();}export function centerAlign(_0x4b6c45,_0xe3a707){const _0x44e86a=a64_0x11b4,_0x4d0fb0=stringWidth(_0x4b6c45);if(_0x4d0fb0>_0xe3a707){if(_0xe3a707<=0x1)return'…'[_0x44e86a(0xb5)](0x0,_0xe3a707);let _0x15e8f7=_0x4b6c45;while(stringWidth(_0x15e8f7+'…')>_0xe3a707){_0x15e8f7=_0x15e8f7['slice'](0x0,-0x1);}return _0x15e8f7+'…';}if(_0x4d0fb0===_0xe3a707)return _0x4b6c45;const _0x2aa90d=_0xe3a707-_0x4d0fb0,_0x160df3=Math[_0x44e86a(0xcd)](_0x2aa90d/0x2),_0x2fe523=_0x2aa90d-_0x160df3;return'\x20'[_0x44e86a(0xbe)](_0x160df3)+_0x4b6c45+'\x20'[_0x44e86a(0xbe)](_0x2fe523);}export function escapeStringLiteral(_0x4fded5){const _0xd1201e=a64_0x11b4;if(!_0x4fded5||_0x4fded5[_0xd1201e(0xb4)]()['length']===0x0)throw new Error('Cannot\x20escape\x20empty\x20string\x20literal');const _0x12b8be=_0x4fded5[_0xd1201e(0xb9)](/'/g,'\x27\x27');return'\x27'+_0x12b8be+'\x27';}export function globToLike(_0x18658f){const _0x20afd0=a64_0x11b4;let _0x4eb844=_0x18658f[_0x20afd0(0xb9)](/\\/g,'\x5c\x5c')[_0x20afd0(0xb9)](/%/g,'\x5c%')[_0x20afd0(0xb9)](/_/g,'\x5c_');return _0x4eb844=_0x4eb844[_0x20afd0(0xb9)](/\*/g,'%')['replace'](/\?/g,'_'),_0x4eb844;}export function buildLikePattern(_0x9379ee){const _0x46bfe9=a64_0x11b4;if(!_0x9379ee||_0x9379ee[_0x46bfe9(0xb4)]()[_0x46bfe9(0xb6)]===0x0)throw new Error(_0x46bfe9(0xc1));const _0x570403=globToLike(_0x9379ee),_0x3f9c1a=_0x570403[_0x46bfe9(0xb9)](/'/g,'\x27\x27');return'\x27'+_0x3f9c1a+'\x27';}export function matchGlobPattern(_0x2af1ee,_0x3b9d62){const _0x5a5a03=a64_0x11b4,_0x244b00=_0x3b9d62[_0x5a5a03(0xb9)](/[.+^${}()|[\]\\]/g,_0x5a5a03(0xc4))['replace'](/\*/g,'.*')['replace'](/\?/g,'.'),_0x429acc=new RegExp('^'+_0x244b00+'$');return _0x429acc[_0x5a5a03(0xc8)](_0x2af1ee);}export function getSanitizedUsername(){const _0x4327e7=a64_0x11b4,_0x5c1f0f=process['env'][_0x4327e7(0xca)]||process[_0x4327e7(0xbd)][_0x4327e7(0xc0)]||_0x4327e7(0xb7);return _0x5c1f0f[_0x4327e7(0xb9)](/[^a-zA-Z0-9]/g,'')['toLowerCase']();}export function generateRandomHex(){const _0x4c66a6=a64_0x11b4,_0x15e601=Math[_0x4c66a6(0xcd)](Math[_0x4c66a6(0xc3)]()*0xfffff);return _0x15e601[_0x4c66a6(0xba)](0x10)[_0x4c66a6(0xb8)](0x5,'0');}
1
+ (function(_0x1a0791,_0x5be21d){const _0x4b1acf=a64_0x2ec1,_0x3b9652=_0x1a0791();while(!![]){try{const _0x49d887=parseInt(_0x4b1acf(0x1ea))/0x1*(parseInt(_0x4b1acf(0x1ed))/0x2)+-parseInt(_0x4b1acf(0x1e9))/0x3*(parseInt(_0x4b1acf(0x1e2))/0x4)+parseInt(_0x4b1acf(0x1f5))/0x5*(parseInt(_0x4b1acf(0x1f4))/0x6)+parseInt(_0x4b1acf(0x1f6))/0x7+parseInt(_0x4b1acf(0x1ee))/0x8+parseInt(_0x4b1acf(0x1e0))/0x9+-parseInt(_0x4b1acf(0x1f7))/0xa*(parseInt(_0x4b1acf(0x1f0))/0xb);if(_0x49d887===_0x5be21d)break;else _0x3b9652['push'](_0x3b9652['shift']());}catch(_0x5b325e){_0x3b9652['push'](_0x3b9652['shift']());}}}(a64_0x1f01,0x845bd));function a64_0x2ec1(_0x3ac0fe,_0x56249d){const _0x1f0123=a64_0x1f01();return a64_0x2ec1=function(_0x2ec1a8,_0x21b260){_0x2ec1a8=_0x2ec1a8-0x1e0;let _0x52ce04=_0x1f0123[_0x2ec1a8];return _0x52ce04;},a64_0x2ec1(_0x3ac0fe,_0x56249d);}import a64_0x4e3aa3 from'string-width';export function stringWidth(_0x2ad99c){return a64_0x4e3aa3(_0x2ad99c);}export function padEnd(_0x1c84cd,_0x237d25){const _0x65f159=stringWidth(_0x1c84cd);if(_0x65f159>=_0x237d25)return _0x1c84cd;return _0x1c84cd+'\x20'['repeat'](_0x237d25-_0x65f159);}export function padStart(_0x1b564d,_0x52a67f){const _0x28b750=a64_0x2ec1,_0x36a71c=stringWidth(_0x1b564d);if(_0x36a71c>=_0x52a67f)return _0x1b564d;return'\x20'[_0x28b750(0x1ef)](_0x52a67f-_0x36a71c)+_0x1b564d;}export function centerAlign(_0x1f1db9,_0x2d6516){const _0x3e40fe=a64_0x2ec1,_0x5830d0=stringWidth(_0x1f1db9);if(_0x5830d0>_0x2d6516){if(_0x2d6516<=0x1)return'…'[_0x3e40fe(0x1f8)](0x0,_0x2d6516);let _0x577cf0=_0x1f1db9;while(stringWidth(_0x577cf0+'…')>_0x2d6516){_0x577cf0=_0x577cf0['slice'](0x0,-0x1);}return _0x577cf0+'…';}if(_0x5830d0===_0x2d6516)return _0x1f1db9;const _0x5c93a7=_0x2d6516-_0x5830d0,_0xd15580=Math[_0x3e40fe(0x1e1)](_0x5c93a7/0x2),_0x54ea06=_0x5c93a7-_0xd15580;return'\x20'['repeat'](_0xd15580)+_0x1f1db9+'\x20'[_0x3e40fe(0x1ef)](_0x54ea06);}export function escapeStringLiteral(_0x245a8b){const _0x4e2cec=a64_0x2ec1;if(!_0x245a8b||_0x245a8b[_0x4e2cec(0x1e5)]()[_0x4e2cec(0x1ec)]===0x0)throw new Error(_0x4e2cec(0x1e7));const _0x41e0a3=_0x245a8b[_0x4e2cec(0x1eb)](/'/g,'\x27\x27');return'\x27'+_0x41e0a3+'\x27';}export function globToLike(_0x2f0047){const _0x374a32=a64_0x2ec1;let _0x496eaa=_0x2f0047['replace'](/\\/g,'\x5c\x5c')[_0x374a32(0x1eb)](/%/g,'\x5c%')[_0x374a32(0x1eb)](/_/g,'\x5c_');return _0x496eaa=_0x496eaa[_0x374a32(0x1eb)](/\*/g,'%')['replace'](/\?/g,'_'),_0x496eaa;}export function buildLikePattern(_0x530e9e){const _0x446b89=a64_0x2ec1;if(!_0x530e9e||_0x530e9e[_0x446b89(0x1e5)]()[_0x446b89(0x1ec)]===0x0)throw new Error('Cannot\x20build\x20LIKE\x20pattern\x20from\x20empty\x20string');const _0x198ab7=globToLike(_0x530e9e),_0x622f33=_0x198ab7[_0x446b89(0x1eb)](/'/g,'\x27\x27');return'\x27'+_0x622f33+'\x27';}export function matchGlobPattern(_0x1dd65e,_0x392703){const _0x30fb45=a64_0x2ec1,_0x38589f=_0x392703[_0x30fb45(0x1eb)](/[.+^${}()|[\]\\]/g,'\x5c$&')['replace'](/\*/g,'.*')[_0x30fb45(0x1eb)](/\?/g,'.'),_0x30ec9b=new RegExp('^'+_0x38589f+'$');return _0x30ec9b[_0x30fb45(0x1e8)](_0x1dd65e);}function a64_0x1f01(){const _0x4ccac5=['Cannot\x20escape\x20empty\x20string\x20literal','test','51JWwyob','128437SDKwVB','replace','length','16ZSjyqS','7478312nxwQYm','repeat','44fBBxiO','unknown','padStart','random','729012wEwzFD','10UbHlAc','3727465PnmRoQ','7476310pFABEj','substring','8850087pzfYjS','floor','44344jrkvhr','toLowerCase','env','trim','USERNAME'];a64_0x1f01=function(){return _0x4ccac5;};return a64_0x1f01();}export function getSanitizedUsername(){const _0x381dfe=a64_0x2ec1,_0x22389f=process[_0x381dfe(0x1e4)]['USER']||process['env'][_0x381dfe(0x1e6)]||_0x381dfe(0x1f1);return _0x22389f['replace'](/[^a-zA-Z0-9]/g,'')[_0x381dfe(0x1e3)]();}export function generateRandomHex(){const _0x2b218c=a64_0x2ec1,_0x97cd8f=Math[_0x2b218c(0x1e1)](Math[_0x2b218c(0x1f3)]()*0xfffff);return _0x97cd8f['toString'](0x10)[_0x2b218c(0x1f2)](0x5,'0');}
@@ -1 +1 @@
1
- function a65_0x23ad(){const _0x3a9b32=['Table\x20name\x20is\x20required\x20for\x20describe\x20operation','419811Avwpvj','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','table','includes','414fEHRpd','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','1276448ePfMlO','1660582lndsiH','47830owaZDt','5ogMDhL','length','split','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','6035232GohmXy','catalog','126cpfAja','769CHQlHX','48zWLkyQ','trim','66WlvJvx','613104mTGmeQ','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty','push','database','join'];a65_0x23ad=function(){return _0x3a9b32;};return a65_0x23ad();}(function(_0x8f4e9a,_0x2021eb){const _0xfaa035=a65_0x432e,_0x5a7cc8=_0x8f4e9a();while(!![]){try{const _0x16e0de=parseInt(_0xfaa035(0xfd))/0x1*(-parseInt(_0xfaa035(0xfc))/0x2)+-parseInt(_0xfaa035(0x101))/0x3+parseInt(_0xfaa035(0x10d))/0x4*(-parseInt(_0xfaa035(0xf6))/0x5)+parseInt(_0xfaa035(0x100))/0x6*(parseInt(_0xfaa035(0x107))/0x7)+parseInt(_0xfaa035(0xfa))/0x8+parseInt(_0xfaa035(0x10b))/0x9*(parseInt(_0xfaa035(0xf5))/0xa)+parseInt(_0xfaa035(0xf4))/0xb*(-parseInt(_0xfaa035(0xfe))/0xc);if(_0x16e0de===_0x2021eb)break;else _0x5a7cc8['push'](_0x5a7cc8['shift']());}catch(_0x8a7513){_0x5a7cc8['push'](_0x5a7cc8['shift']());}}}(a65_0x23ad,0x6fe6e));function hasWildcard(_0x2a9992){const _0x40b651=a65_0x432e;return _0x2a9992[_0x40b651(0x10a)]('*')||_0x2a9992[_0x40b651(0x10a)]('?');}export function parseTableReference(_0x5856b8){const _0x46918d=a65_0x432e;if(!_0x5856b8||_0x5856b8[_0x46918d(0xff)]()[_0x46918d(0xf7)]===0x0)throw new Error('Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only');const _0x538c8b=_0x5856b8[_0x46918d(0xff)](),_0x1b096a={'original':_0x538c8b},_0x20f669=_0x538c8b[_0x46918d(0xf8)]('.');if(_0x20f669[_0x46918d(0xf7)]===0x1){const _0x21e9e3=_0x20f669[0x0];if(!_0x21e9e3)throw new Error('Pattern\x20cannot\x20be\x20just\x20a\x20dot');_0x1b096a['table']=_0x21e9e3;}else{if(_0x20f669[_0x46918d(0xf7)]===0x2){const [_0x5e1220,_0x1573d7]=_0x20f669;if(!_0x5e1220)throw new Error('Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)');if(!_0x1573d7)throw new Error(_0x46918d(0xf9));_0x1b096a['database']=_0x5e1220,_0x1b096a[_0x46918d(0x109)]=_0x1573d7;}else{if(_0x20f669[_0x46918d(0xf7)]===0x3){const [_0x4da1de,_0x5a672c,_0x27df9d]=_0x20f669;if(!_0x4da1de||!_0x5a672c||!_0x27df9d)throw new Error(_0x46918d(0x102));_0x1b096a[_0x46918d(0xfb)]=_0x4da1de,_0x1b096a[_0x46918d(0x104)]=_0x5a672c,_0x1b096a[_0x46918d(0x109)]=_0x27df9d;}else throw new Error(_0x46918d(0x10c));}}return _0x1b096a;}export function formatTableReference(_0x20687a){const _0x3b749b=a65_0x432e,_0x83ecd9=[];return _0x20687a[_0x3b749b(0xfb)]&&_0x83ecd9['push'](_0x20687a['catalog']),_0x20687a[_0x3b749b(0x104)]&&_0x83ecd9[_0x3b749b(0x103)](_0x20687a[_0x3b749b(0x104)]),_0x20687a['table']&&_0x83ecd9[_0x3b749b(0x103)](_0x20687a[_0x3b749b(0x109)]),_0x83ecd9[_0x3b749b(0x105)]('.');}function a65_0x432e(_0x2e7e2c,_0x5693e6){const _0x23ad27=a65_0x23ad();return a65_0x432e=function(_0x432ea6,_0x51e944){_0x432ea6=_0x432ea6-0xf4;let _0x5ea0f0=_0x23ad27[_0x432ea6];return _0x5ea0f0;},a65_0x432e(_0x2e7e2c,_0x5693e6);}export function validateTableListReference(_0x373e4d){return undefined;}export function validateTableDescribeReference(_0x9df721){const _0x5953da=a65_0x432e;if(!_0x9df721[_0x5953da(0x109)])return _0x5953da(0x106);if(_0x9df721[_0x5953da(0x104)]&&hasWildcard(_0x9df721[_0x5953da(0x104)]))return _0x5953da(0x108);if(hasWildcard(_0x9df721['table']))return'Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation';return undefined;}
1
+ function a65_0x3c56(){const _0x3b025c=['trim','Table\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20tables\x20(e.g.,\x20\x22mydb.*\x22)','13045MObVNa','table','3WsUmcf','117332NwTUrP','length','Invalid\x20pattern\x20format\x20-\x20too\x20many\x20dots\x20(max:\x20catalog.database.table)','split','push','11nCYTUD','652939azNHHI','Wildcards\x20are\x20not\x20allowed\x20in\x20table\x20name\x20for\x20describe\x20operation','includes','join','Table\x20name\x20is\x20required\x20for\x20describe\x20operation','16ApyYnj','309146SaHXtM','Wildcards\x20are\x20not\x20allowed\x20in\x20database\x20name\x20for\x20describe\x20operation','Pattern\x20cannot\x20be\x20just\x20a\x20dot','10wqcgwG','catalog','745479KOLgXy','53420plZkPx','6fjvjTR','database','1557576llASRa','Invalid\x20catalog.database.table\x20format\x20-\x20all\x20parts\x20must\x20be\x20non-empty'];a65_0x3c56=function(){return _0x3b025c;};return a65_0x3c56();}(function(_0x30417c,_0x539ae2){const _0x5b9d47=a65_0x234c,_0x51932f=_0x30417c();while(!![]){try{const _0x1e4e24=parseInt(_0x5b9d47(0x160))/0x1+-parseInt(_0x5b9d47(0x15a))/0x2+-parseInt(_0x5b9d47(0x169))/0x3*(parseInt(_0x5b9d47(0x16a))/0x4)+-parseInt(_0x5b9d47(0x167))/0x5*(parseInt(_0x5b9d47(0x161))/0x6)+-parseInt(_0x5b9d47(0x170))/0x7*(-parseInt(_0x5b9d47(0x159))/0x8)+-parseInt(_0x5b9d47(0x15f))/0x9*(parseInt(_0x5b9d47(0x15d))/0xa)+parseInt(_0x5b9d47(0x16f))/0xb*(parseInt(_0x5b9d47(0x163))/0xc);if(_0x1e4e24===_0x539ae2)break;else _0x51932f['push'](_0x51932f['shift']());}catch(_0x556c1d){_0x51932f['push'](_0x51932f['shift']());}}}(a65_0x3c56,0x1884a));function hasWildcard(_0x27960d){const _0x11ba08=a65_0x234c;return _0x27960d[_0x11ba08(0x172)]('*')||_0x27960d['includes']('?');}export function parseTableReference(_0x417d09){const _0x3a6f8a=a65_0x234c;if(!_0x417d09||_0x417d09[_0x3a6f8a(0x165)]()[_0x3a6f8a(0x16b)]===0x0)throw new Error('Pattern\x20cannot\x20be\x20empty\x20or\x20whitespace-only');const _0x2cb38c=_0x417d09['trim'](),_0x19975f={'original':_0x2cb38c},_0xf3cac4=_0x2cb38c[_0x3a6f8a(0x16d)]('.');if(_0xf3cac4[_0x3a6f8a(0x16b)]===0x1){const _0x1e1d53=_0xf3cac4[0x0];if(!_0x1e1d53)throw new Error(_0x3a6f8a(0x15c));_0x19975f[_0x3a6f8a(0x168)]=_0x1e1d53;}else{if(_0xf3cac4[_0x3a6f8a(0x16b)]===0x2){const [_0x5ae8a4,_0x2fde0d]=_0xf3cac4;if(!_0x5ae8a4)throw new Error('Database\x20part\x20cannot\x20be\x20empty\x20-\x20use\x20\x22*\x22\x20for\x20all\x20databases\x20(e.g.,\x20\x22*.mytable\x22)');if(!_0x2fde0d)throw new Error(_0x3a6f8a(0x166));_0x19975f[_0x3a6f8a(0x162)]=_0x5ae8a4,_0x19975f[_0x3a6f8a(0x168)]=_0x2fde0d;}else{if(_0xf3cac4[_0x3a6f8a(0x16b)]===0x3){const [_0x50c2d4,_0x395df4,_0x1a3ea6]=_0xf3cac4;if(!_0x50c2d4||!_0x395df4||!_0x1a3ea6)throw new Error(_0x3a6f8a(0x164));_0x19975f['catalog']=_0x50c2d4,_0x19975f[_0x3a6f8a(0x162)]=_0x395df4,_0x19975f[_0x3a6f8a(0x168)]=_0x1a3ea6;}else throw new Error(_0x3a6f8a(0x16c));}}return _0x19975f;}function a65_0x234c(_0x4a20ab,_0x2048c8){const _0x3c561d=a65_0x3c56();return a65_0x234c=function(_0x234c6b,_0x2cf878){_0x234c6b=_0x234c6b-0x157;let _0x2d033e=_0x3c561d[_0x234c6b];return _0x2d033e;},a65_0x234c(_0x4a20ab,_0x2048c8);}export function formatTableReference(_0x20e178){const _0x471e3a=a65_0x234c,_0x4bdf7f=[];return _0x20e178[_0x471e3a(0x15e)]&&_0x4bdf7f[_0x471e3a(0x16e)](_0x20e178[_0x471e3a(0x15e)]),_0x20e178[_0x471e3a(0x162)]&&_0x4bdf7f[_0x471e3a(0x16e)](_0x20e178[_0x471e3a(0x162)]),_0x20e178[_0x471e3a(0x168)]&&_0x4bdf7f[_0x471e3a(0x16e)](_0x20e178[_0x471e3a(0x168)]),_0x4bdf7f[_0x471e3a(0x157)]('.');}export function validateTableListReference(_0x2c0bc6){return undefined;}export function validateTableDescribeReference(_0x4d0470){const _0x339e5d=a65_0x234c;if(!_0x4d0470[_0x339e5d(0x168)])return _0x339e5d(0x158);if(_0x4d0470[_0x339e5d(0x162)]&&hasWildcard(_0x4d0470[_0x339e5d(0x162)]))return _0x339e5d(0x15b);if(hasWildcard(_0x4d0470[_0x339e5d(0x168)]))return _0x339e5d(0x171);return undefined;}
@@ -1 +1 @@
1
- function a66_0x1df1(_0x1b0384,_0x2868e2){const _0x1253e0=a66_0x1253();return a66_0x1df1=function(_0x1df12e,_0xd381ac){_0x1df12e=_0x1df12e-0xd0;let _0x2e5f21=_0x1253e0[_0x1df12e];return _0x2e5f21;},a66_0x1df1(_0x1b0384,_0x2868e2);}function a66_0x1253(){const _0x4e4577=['8ZYwkcB','startsWith','50RtYmlS','24686DGGMCJ','8808821SOdZfK','2174368NkkFQY','2184876yeGtrn','78oAIsOv','.digdag','3414771rZWbZT','2449320Yvnubn','1302282kQkIId'];a66_0x1253=function(){return _0x4e4577;};return a66_0x1253();}(function(_0x91c9c5,_0x2907e1){const _0xcb2b8=a66_0x1df1,_0x223c3c=_0x91c9c5();while(!![]){try{const _0x5d1fe1=parseInt(_0xcb2b8(0xd5))/0x1+-parseInt(_0xcb2b8(0xd9))/0x2*(-parseInt(_0xcb2b8(0xd1))/0x3)+-parseInt(_0xcb2b8(0xdb))/0x4+-parseInt(_0xcb2b8(0xd4))/0x5+-parseInt(_0xcb2b8(0xd0))/0x6+parseInt(_0xcb2b8(0xda))/0x7*(-parseInt(_0xcb2b8(0xd6))/0x8)+-parseInt(_0xcb2b8(0xd3))/0x9*(-parseInt(_0xcb2b8(0xd8))/0xa);if(_0x5d1fe1===_0x2907e1)break;else _0x223c3c['push'](_0x223c3c['shift']());}catch(_0x196f36){_0x223c3c['push'](_0x223c3c['shift']());}}}(a66_0x1253,0xd3022));export const WORKFLOW_FILE_EXTENSION='.dig';export function shouldIncludeInArchive(_0x1fdba1){const _0x40ebc2=a66_0x1df1;if(_0x1fdba1===_0x40ebc2(0xd2))return!![];if(_0x1fdba1[_0x40ebc2(0xd7)]('.'))return![];return!![];}
1
+ const a66_0x4599f6=a66_0x1fc8;function a66_0x1fc8(_0x405edc,_0x29c125){const _0x4096c9=a66_0x4096();return a66_0x1fc8=function(_0x1fc8eb,_0x38c6dd){_0x1fc8eb=_0x1fc8eb-0x1c5;let _0x566e20=_0x4096c9[_0x1fc8eb];return _0x566e20;},a66_0x1fc8(_0x405edc,_0x29c125);}(function(_0x36778d,_0x450890){const _0x4106bd=a66_0x1fc8,_0x40384b=_0x36778d();while(!![]){try{const _0xf5c9fb=-parseInt(_0x4106bd(0x1c9))/0x1*(-parseInt(_0x4106bd(0x1d2))/0x2)+-parseInt(_0x4106bd(0x1cb))/0x3*(parseInt(_0x4106bd(0x1c5))/0x4)+parseInt(_0x4106bd(0x1d3))/0x5*(-parseInt(_0x4106bd(0x1cc))/0x6)+-parseInt(_0x4106bd(0x1d1))/0x7+-parseInt(_0x4106bd(0x1c8))/0x8*(parseInt(_0x4106bd(0x1c6))/0x9)+-parseInt(_0x4106bd(0x1ce))/0xa+-parseInt(_0x4106bd(0x1d0))/0xb*(-parseInt(_0x4106bd(0x1ca))/0xc);if(_0xf5c9fb===_0x450890)break;else _0x40384b['push'](_0x40384b['shift']());}catch(_0x1d6af3){_0x40384b['push'](_0x40384b['shift']());}}}(a66_0x4096,0x923e8));export const WORKFLOW_FILE_EXTENSION=a66_0x4599f6(0x1c7);export function shouldIncludeInArchive(_0x54d62c){const _0x239cbf=a66_0x4599f6;if(_0x54d62c===_0x239cbf(0x1cd))return!![];if(_0x54d62c[_0x239cbf(0x1cf)]('.'))return![];return!![];}function a66_0x4096(){const _0x3185a4=['8rTohQS','7688727CnYpDx','.dig','8TDbWtb','74449VmXFEa','12rHmWbo','215763lHntPl','342YCUuFf','.digdag','7823830gtICOq','startsWith','37396953BoOPtH','4466350YcViqN','16sbKkkr','85765foRbqP'];a66_0x4096=function(){return _0x3185a4;};return a66_0x4096();}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@treasuredata/tdx",
3
- "version": "0.1.11",
3
+ "version": "0.1.12",
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": {