@treasuredata/tdx 0.9.6 → 0.9.7
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.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +2 -2
- package/dist/cli-categories.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/client/cdp-api-client.js +1 -1
- package/dist/client/engage-api-client.js +1 -1
- package/dist/client/http-client.js +1 -1
- package/dist/client/llm-api-client.js +1 -1
- package/dist/client/rate-limiter.js +1 -1
- package/dist/client/td-api-client.js +1 -1
- package/dist/client/trino-api-client.js +1 -1
- package/dist/client/workflow-client.js +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/chat-command.js +1 -1
- package/dist/commands/claude-command.js +1 -1
- package/dist/commands/claude-statusline-command.js +1 -1
- package/dist/commands/claude-usage-command.js +1 -1
- package/dist/commands/command.js +1 -1
- package/dist/commands/connection-command.js +1 -1
- package/dist/commands/context-command.js +1 -1
- package/dist/commands/databases.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/llm-proxy.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/segment-command.js +1 -1
- package/dist/commands/segment-create-command.js +1 -1
- package/dist/commands/segment-fields-command.js +1 -1
- package/dist/commands/segment-pull-command.js +1 -1
- package/dist/commands/segment-push-command.js +1 -1
- package/dist/commands/segment-update-command.js +1 -1
- package/dist/commands/segment-use-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/credential-cache.js +1 -1
- package/dist/core/global-context.js +1 -1
- package/dist/core/keychain.js +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/session.js +1 -1
- package/dist/core/user-cache.js +1 -1
- package/dist/index.js +1 -1
- package/dist/proxy/anthropic-adapter.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/context-signature.js +1 -1
- package/dist/proxy/conversation-utils.js +1 -1
- package/dist/proxy/server.js +1 -1
- package/dist/proxy/session-cache.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/errors.js +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/llm.js +1 -1
- package/dist/sdk/query.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/journey-yaml.d.ts +17 -11
- package/dist/sdk/segment/journey-yaml.d.ts.map +1 -1
- package/dist/sdk/segment/journey-yaml.js +1 -1
- package/dist/sdk/segment/journey-yaml.js.map +1 -1
- package/dist/sdk/segment/parent-segment-preview.js +1 -1
- package/dist/sdk/segment/parent-segment-yaml.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/workflow.js +1 -1
- package/dist/types/endpoints.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/agent-config.js +1 -1
- package/dist/utils/agent-ref-parser.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/chat-cache.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/command-output.js +1 -1
- package/dist/utils/constants.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/fields-display.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/format-detector.js +1 -1
- package/dist/utils/formatters.js +1 -1
- package/dist/utils/journey-utils.d.ts +30 -0
- package/dist/utils/journey-utils.d.ts.map +1 -1
- package/dist/utils/journey-utils.js +1 -1
- package/dist/utils/journey-utils.js.map +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/llm-backup-utils.js +1 -1
- package/dist/utils/model-aliases.js +1 -1
- package/dist/utils/model-factors.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/port.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/segment-path-parser.js +1 -1
- package/dist/utils/segment-ref-parser.js +1 -1
- package/dist/utils/spinner.js +1 -1
- package/dist/utils/sql-parser.js +1 -1
- package/dist/utils/sse-parser.js +1 -1
- package/dist/utils/string-utils.js +1 -1
- package/dist/utils/table-ref-parser.js +1 -1
- package/dist/utils/tdx-config.js +1 -1
- package/dist/utils/tdx-logger.js +1 -1
- package/dist/utils/tree-formatter.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/dist/utils/workflow-utils.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123_0x54d368=a123_0xc6bb;(function(_0x3ff13d,_0x28b348){const _0x216221=a123_0xc6bb,_0x317ec0=_0x3ff13d();while(!![]){try{const _0x425c4f=-parseInt(_0x216221(0xd5))/0x1*(parseInt(_0x216221(0xea))/0x2)+-parseInt(_0x216221(0xdf))/0x3*(parseInt(_0x216221(0xd3))/0x4)+parseInt(_0x216221(0xd7))/0x5*(-parseInt(_0x216221(0xd8))/0x6)+-parseInt(_0x216221(0xeb))/0x7+-parseInt(_0x216221(0xce))/0x8+-parseInt(_0x216221(0xec))/0x9+parseInt(_0x216221(0xd4))/0xa;if(_0x425c4f===_0x28b348)break;else _0x317ec0['push'](_0x317ec0['shift']());}catch(_0x31c4ff){_0x317ec0['push'](_0x317ec0['shift']());}}}(a123_0x4dd8,0x92783));import{get}from'https';import{readFileSync,writeFileSync,mkdirSync}from'fs';import{join}from'path';import{gt,valid}from'semver';import a123_0x2649a1 from'chalk';import{getCacheDir}from'../core/config.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_URL=a123_0x54d368(0xe9),TIMEOUT_MS=0x7d0;function getCacheFilePath(){const _0x1fcb3a=a123_0x54d368,_0x3f311d=getCacheDir();return join(_0x3f311d,_0x1fcb3a(0xe4));}function readCache(){const _0x2b2931=a123_0x54d368;try{const _0x421c04=getCacheFilePath(),_0x26f898=readFileSync(_0x421c04,_0x2b2931(0xe3));return JSON['parse'](_0x26f898);}catch{return null;}}function a123_0xc6bb(_0x118211,_0x50ff15){_0x118211=_0x118211-0xc5;const _0x4dd84c=a123_0x4dd8();let _0xc6bb85=_0x4dd84c[_0x118211];return _0xc6bb85;}function writeCache(_0x3d6da4){const _0x3b01d1=a123_0x54d368;try{const _0x31b60b=getCacheDir();mkdirSync(_0x31b60b,{'recursive':!![]});const _0x4cd489={'lastCheck':new Date()[_0x3b01d1(0xc5)](),'latestVersion':_0x3d6da4},_0x281710=getCacheFilePath();writeFileSync(_0x281710,JSON[_0x3b01d1(0xe8)](_0x4cd489,null,0x2),_0x3b01d1(0xe3));}catch{}}function isCacheValid(_0x38a601){const _0x5939d6=a123_0x54d368;if(!_0x38a601)return![];const _0x522941=new Date(_0x38a601[_0x5939d6(0xe1)])[_0x5939d6(0xe5)](),_0x4a5dc4=Date[_0x5939d6(0xdd)]();return _0x4a5dc4-_0x522941<CACHE_DURATION_MS;}function a123_0x4dd8(){const _0x3d2581=['version','now','NO_COLOR','84531QhbjkS','dim','lastCheck','write','utf-8','last_version_check','getTime','stderr','npm\x20install\x20-g\x20@treasuredata/tdx@latest','stringify','https://registry.npmjs.org/@treasuredata/tdx/latest','20IiDjhQ','2311064RytXqc','7624044HECAoI','destroy','toISOString','currentVersion','data','latestVersion','gray','isTTY','\x0aUpdate\x20available:\x20','\x0aRun:\x20','cyan','2536312zutXKD','Update\x20available:','end','statusCode','updateAvailable','116nRLMcV','38147880cLgpvY','30708bQVavB','green','13135NCAPlc','1362Ijfcmz','yellow','Request\x20timeout','Invalid\x20version\x20format'];a123_0x4dd8=function(){return _0x3d2581;};return a123_0x4dd8();}function fetchLatestVersion(){return new Promise((_0x4741ef,_0x335989)=>{const _0xc3c2=get(NPM_REGISTRY_URL,_0x5fe06e=>{const _0x15ac8b=a123_0xc6bb;if(_0x5fe06e[_0x15ac8b(0xd1)]!==0xc8){clearTimeout(_0x59c587),_0x335989(new Error('HTTP\x20'+_0x5fe06e['statusCode']));return;}let _0x23ea27='';_0x5fe06e['on'](_0x15ac8b(0xc7),_0x3e2c33=>{_0x23ea27+=_0x3e2c33;}),_0x5fe06e['on'](_0x15ac8b(0xd0),()=>{const _0x26ba62=_0x15ac8b;clearTimeout(_0x59c587);try{const _0x11a3d0=JSON['parse'](_0x23ea27);if(!valid(_0x11a3d0[_0x26ba62(0xdc)])){_0x335989(new Error(_0x26ba62(0xdb)));return;}_0x4741ef(_0x11a3d0[_0x26ba62(0xdc)]);}catch(_0x279277){_0x335989(_0x279277);}});})['on']('error',_0x5587eb=>{clearTimeout(_0x59c587),_0x335989(_0x5587eb);}),_0x59c587=setTimeout(()=>{const _0x54ef78=a123_0xc6bb;_0xc3c2[_0x54ef78(0xed)](),_0x335989(new Error(_0x54ef78(0xda)));},TIMEOUT_MS);});}export async function checkForUpdate(_0x1b0e6e){try{const _0x3d2d43=readCache();if(isCacheValid(_0x3d2d43)){const _0x2cc171=gt(_0x3d2d43['latestVersion'],_0x1b0e6e);return{'updateAvailable':_0x2cc171,'currentVersion':_0x1b0e6e,'latestVersion':_0x3d2d43['latestVersion']};}const _0x4fab9d=await fetchLatestVersion();writeCache(_0x4fab9d);const _0x40ce50=gt(_0x4fab9d,_0x1b0e6e);return{'updateAvailable':_0x40ce50,'currentVersion':_0x1b0e6e,'latestVersion':_0x4fab9d};}catch{return null;}}export function displayUpdateNotification(_0x546bcd){const _0x1730e3=a123_0x54d368;if(!_0x546bcd[_0x1730e3(0xd2)])return;const _0x2a51e6=process[_0x1730e3(0xe6)][_0x1730e3(0xca)]&&!process['env'][_0x1730e3(0xde)],_0x1e41cf=_0x2a51e6?a123_0x2649a1[_0x1730e3(0xc9)]('→'):'→',_0x43252a=_0x2a51e6?a123_0x2649a1[_0x1730e3(0xe0)](_0x546bcd[_0x1730e3(0xc6)]):_0x546bcd[_0x1730e3(0xc6)],_0xc71c6e=_0x2a51e6?a123_0x2649a1[_0x1730e3(0xd6)](_0x546bcd[_0x1730e3(0xc8)]):_0x546bcd[_0x1730e3(0xc8)],_0x437b8a=_0x2a51e6?a123_0x2649a1[_0x1730e3(0xcd)](_0x1730e3(0xe7)):'npm\x20install\x20-g\x20@treasuredata/tdx@latest',_0x167c16=_0x2a51e6?'\x0a'+a123_0x2649a1[_0x1730e3(0xd9)](_0x1730e3(0xcf))+'\x20'+_0x43252a+'\x20'+_0x1e41cf+'\x20'+_0xc71c6e+'\x0a'+a123_0x2649a1[_0x1730e3(0xe0)]('Run:')+'\x20'+_0x437b8a+'\x0a':_0x1730e3(0xcb)+_0x43252a+'\x20'+_0x1e41cf+'\x20'+_0xc71c6e+_0x1730e3(0xcc)+_0x437b8a+'\x0a';process[_0x1730e3(0xe6)][_0x1730e3(0xe2)](_0x167c16);}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a124_0x4ea9ac=a124_0x34e0;function a124_0x1a55(){const _0x29c501=['.dig','1070IyUQOz','8dGFiey','1UGoUju','4037576ElWrsT','39041838hnRxcg','.digdag','2642517sPwXfX','3976275TLEOyg','2569912vUoRbR','6UjIWdd','96804qgggDU','10149146eYnMKe'];a124_0x1a55=function(){return _0x29c501;};return a124_0x1a55();}function a124_0x34e0(_0x329842,_0x5a25ff){_0x329842=_0x329842-0x192;const _0x1a5541=a124_0x1a55();let _0x34e05b=_0x1a5541[_0x329842];return _0x34e05b;}(function(_0x7e5e3e,_0x390543){const _0x2546c2=a124_0x34e0,_0x42108d=_0x7e5e3e();while(!![]){try{const _0x4a9585=-parseInt(_0x2546c2(0x19e))/0x1*(parseInt(_0x2546c2(0x197))/0x2)+parseInt(_0x2546c2(0x195))/0x3+parseInt(_0x2546c2(0x192))/0x4+-parseInt(_0x2546c2(0x196))/0x5*(parseInt(_0x2546c2(0x198))/0x6)+-parseInt(_0x2546c2(0x19a))/0x7*(parseInt(_0x2546c2(0x19d))/0x8)+parseInt(_0x2546c2(0x199))/0x9*(-parseInt(_0x2546c2(0x19c))/0xa)+parseInt(_0x2546c2(0x193))/0xb;if(_0x4a9585===_0x390543)break;else _0x42108d['push'](_0x42108d['shift']());}catch(_0x2aab88){_0x42108d['push'](_0x42108d['shift']());}}}(a124_0x1a55,0xb92ee));export const WORKFLOW_FILE_EXTENSION=a124_0x4ea9ac(0x19b);export function shouldIncludeInArchive(_0x41ca2a){const _0x316a2b=a124_0x4ea9ac;if(_0x41ca2a===_0x316a2b(0x194))return!![];if(_0x41ca2a['startsWith']('.'))return![];return!![];}
|