@treasuredata/tdx 2026.5.0 → 2026.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bin.js +1 -1
- package/dist/build-info.json +3 -3
- package/dist/cli-categories.js +1 -1
- package/dist/cli.d.ts.map +1 -1
- package/dist/cli.js +1 -1
- package/dist/cli.js.map +1 -1
- package/dist/commands/activations.js +1 -1
- package/dist/commands/agent-command.js +1 -1
- package/dist/commands/agent-test-command.js +1 -1
- package/dist/commands/api-command.js +1 -1
- package/dist/commands/auth-command.js +1 -1
- package/dist/commands/cas-command.js +1 -1
- package/dist/commands/cas-segment-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/databases.js +1 -1
- package/dist/commands/delivery-command.js +1 -1
- package/dist/commands/describe.js +1 -1
- package/dist/commands/engage-campaign-pull-command.js +1 -1
- package/dist/commands/engage-campaign-push-command.js +1 -1
- package/dist/commands/engage-campaign-validate-command.js +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-template-pull-command.js +1 -1
- package/dist/commands/engage-template-push-command.js +1 -1
- package/dist/commands/engage-template-validate-command.js +1 -1
- package/dist/commands/job-command.js +1 -1
- package/dist/commands/journey-command.d.ts +9 -0
- package/dist/commands/journey-command.d.ts.map +1 -1
- package/dist/commands/journey-command.js +1 -1
- package/dist/commands/journey-command.js.map +1 -1
- package/dist/commands/journey-validate-command.js +1 -1
- package/dist/commands/llm-command.js +1 -1
- package/dist/commands/mcp-command.js +1 -1
- package/dist/commands/parent-segment-command.js +1 -1
- package/dist/commands/policy-command.js +1 -1
- package/dist/commands/profile-command.js +1 -1
- package/dist/commands/profiles-command.js +1 -1
- package/dist/commands/query-command.js +1 -1
- package/dist/commands/schedule-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/segment-validate-command.js +1 -1
- package/dist/commands/segments.js +1 -1
- package/dist/commands/show.js +1 -1
- package/dist/commands/status-command.js +1 -1
- package/dist/commands/table-deleted.js +1 -1
- package/dist/commands/tables.js +1 -1
- package/dist/commands/unset-command.js +1 -1
- package/dist/commands/upgrade-command.js +1 -1
- package/dist/commands/use-command.js +1 -1
- package/dist/commands/user-command.js +1 -1
- package/dist/commands/work-command.js +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/core/auth.js +1 -1
- package/dist/core/command-output.js +1 -1
- package/dist/core/config.js +1 -1
- package/dist/core/connection-cache.js +1 -1
- package/dist/core/constants.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/oauth-keychain.js +1 -1
- package/dist/core/oauth.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/core/version.js +1 -1
- package/dist/index.js +1 -1
- package/dist/mcp/server.js +1 -1
- package/dist/mcp/tools/index.js +1 -1
- package/dist/mcp/tools/tdx-run.js +1 -1
- package/dist/mcp/tools/tdx-search.js +1 -1
- package/dist/mcp/tools/work-create-item.js +1 -1
- package/dist/mcp/utils.js +1 -1
- package/dist/proxy/claude-usage-tracker.js +1 -1
- package/dist/proxy/passthrough-server.js +1 -1
- package/dist/proxy/sse-usage-parser.js +1 -1
- package/dist/sdk/agent/agent-config.js +1 -1
- package/dist/sdk/agent/agent-ref-parser.js +1 -1
- package/dist/sdk/agent/agent-yaml.js +1 -1
- package/dist/sdk/agent/test/evaluator.js +1 -1
- package/dist/sdk/agent/test/executor.js +1 -1
- package/dist/sdk/agent/test/index.js +1 -1
- package/dist/sdk/agent/test/output.js +1 -1
- package/dist/sdk/agent/test/parser.js +1 -1
- package/dist/sdk/agent/tool-target-registry.js +1 -1
- package/dist/sdk/api.js +1 -1
- package/dist/sdk/cas/cas-api-client.js +1 -1
- package/dist/sdk/cas/cas-audience-yaml.js +1 -1
- package/dist/sdk/cas/cas-segment-yaml.js +1 -1
- package/dist/sdk/cas/index.js +1 -1
- package/dist/sdk/cas/pull-workflow.js +1 -1
- package/dist/sdk/cas/push-workflow.js +1 -1
- package/dist/sdk/client/cdp-api-client.d.ts +8 -1
- package/dist/sdk/client/cdp-api-client.d.ts.map +1 -1
- package/dist/sdk/client/cdp-api-client.js +1 -1
- package/dist/sdk/client/cdp-api-client.js.map +1 -1
- package/dist/sdk/client/delivery-api-client.js +1 -1
- package/dist/sdk/client/endpoints.js +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/http-client.js +1 -1
- package/dist/sdk/client/llm-api-client.js +1 -1
- package/dist/sdk/client/oauth-refresh.js +1 -1
- package/dist/sdk/client/rate-limiter.js +1 -1
- package/dist/sdk/client/td-api-client.js +1 -1
- package/dist/sdk/client/trino-api-client.js +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/connection-validator.js +1 -1
- package/dist/sdk/connection.js +1 -1
- package/dist/sdk/delivery.js +1 -1
- package/dist/sdk/engage/campaign-pull.js +1 -1
- package/dist/sdk/engage/campaign-push.js +1 -1
- package/dist/sdk/engage/campaign-validator.js +1 -1
- package/dist/sdk/engage/campaign-yaml.js +1 -1
- package/dist/sdk/engage/template-pull.js +1 -1
- package/dist/sdk/engage/template-push.js +1 -1
- package/dist/sdk/engage/template-validator.js +1 -1
- package/dist/sdk/engage/template-yaml.js +1 -1
- package/dist/sdk/engage/types/campaign-def.js +1 -1
- package/dist/sdk/engage/types/campaign-schema.js +1 -1
- package/dist/sdk/engage/types/template-schema.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/io/index.js +1 -1
- package/dist/sdk/io/node-filesystem.js +1 -1
- package/dist/sdk/job.js +1 -1
- package/dist/sdk/journey.d.ts +8 -1
- package/dist/sdk/journey.d.ts.map +1 -1
- package/dist/sdk/journey.js +1 -1
- package/dist/sdk/journey.js.map +1 -1
- package/dist/sdk/llm/chat-cache.js +1 -1
- package/dist/sdk/llm/index.js +1 -1
- package/dist/sdk/llm/llm-backup-utils.js +1 -1
- package/dist/sdk/llm/model-factors.js +1 -1
- package/dist/sdk/llm/user-settings.js +1 -1
- package/dist/sdk/personalization.js +1 -1
- package/dist/sdk/policy.js +1 -1
- package/dist/sdk/query/deleted-table-validation.js +1 -1
- package/dist/sdk/query/index.js +1 -1
- package/dist/sdk/query/sql-parser.js +1 -1
- package/dist/sdk/realtime.js +1 -1
- package/dist/sdk/schedule.js +1 -1
- package/dist/sdk/segment/child-segment-yaml.js +1 -1
- package/dist/sdk/segment/fields-display.js +1 -1
- package/dist/sdk/segment/file-discovery.js +1 -1
- package/dist/sdk/segment/journey-utils.js +1 -1
- package/dist/sdk/segment/journey-validator.js +1 -1
- package/dist/sdk/segment/journey-yaml.js +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/pull-workflow.js +1 -1
- package/dist/sdk/segment/push-recovery.js +1 -1
- package/dist/sdk/segment/push-workflow.js +1 -1
- package/dist/sdk/segment/resolution-context.js +1 -1
- package/dist/sdk/segment/segment-path-parser.js +1 -1
- package/dist/sdk/segment/segment-ref-parser.js +1 -1
- package/dist/sdk/segment/segment-validator.js +1 -1
- package/dist/sdk/segment/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.js +1 -1
- package/dist/sdk/segment/types/activation-schema.js +1 -1
- package/dist/sdk/segment/types/journey-def.js +1 -1
- package/dist/sdk/segment/types/journey-schema.js +1 -1
- package/dist/sdk/segment/types/segment-def.js +1 -1
- package/dist/sdk/segment/types/segment-schema.js +1 -1
- package/dist/sdk/segment/validate-files.js +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment.js +1 -1
- package/dist/sdk/types/cdp.d.ts +19 -0
- package/dist/sdk/types/cdp.d.ts.map +1 -1
- package/dist/sdk/types/index.d.ts +1 -1
- package/dist/sdk/types/index.d.ts.map +1 -1
- package/dist/sdk/types/index.js +1 -1
- package/dist/sdk/types/index.js.map +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/types/workspace.js +1 -1
- package/dist/sdk/user.js +1 -1
- package/dist/sdk/util/format-detector.js +1 -1
- package/dist/sdk/util/formatters.js +1 -1
- package/dist/sdk/util/index.js +1 -1
- package/dist/sdk/util/paginate.js +1 -1
- package/dist/sdk/util/tree-formatter.js +1 -1
- package/dist/sdk/workflow/archive-validation.js +1 -1
- package/dist/sdk/workflow/clone-workflow.js +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/pull-workflow.js +1 -1
- package/dist/sdk/workflow/push-workflow.js +1 -1
- package/dist/sdk/workflow/task-graph.js +1 -1
- package/dist/sdk/workflow/tdx-config.js +1 -1
- package/dist/sdk/workflow/workflow-utils.js +1 -1
- package/dist/sdk/workspace/access-tracker.js +1 -1
- package/dist/sdk/workspace/frontmatter.js +1 -1
- package/dist/sdk/workspace/git.js +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/weekly.js +1 -1
- package/dist/sdk/workspace/wikilinks.js +1 -1
- package/dist/test-utils/command-runner.js +1 -1
- package/dist/test-utils/factories.js +1 -1
- package/dist/test-utils/fixtures.js +1 -1
- package/dist/test-utils/http-mock.js +1 -1
- package/dist/test-utils/index.js +1 -1
- package/dist/utils/async.js +1 -1
- package/dist/utils/colors.js +1 -1
- package/dist/utils/diff.js +1 -1
- package/dist/utils/file-permissions.js +1 -1
- package/dist/utils/file-reader.js +1 -1
- package/dist/utils/github-releases.js +1 -1
- package/dist/utils/global-cache.js +1 -1
- package/dist/utils/json-loader.js +1 -1
- package/dist/utils/local-cache.js +1 -1
- package/dist/utils/logger/formatters/default-formatter.js +1 -1
- package/dist/utils/logger/formatters/index.js +1 -1
- package/dist/utils/logger/handlers/console-handler.js +1 -1
- package/dist/utils/logger/handlers/file-handler.js +1 -1
- package/dist/utils/logger/handlers/index.js +1 -1
- package/dist/utils/logger/handlers/null-handler.js +1 -1
- package/dist/utils/logger/index.js +1 -1
- package/dist/utils/logger/logger.js +1 -1
- package/dist/utils/logger/types.js +1 -1
- package/dist/utils/option-validation.js +1 -1
- package/dist/utils/process.js +1 -1
- package/dist/utils/prompt.js +1 -1
- package/dist/utils/spinner.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-logger.js +1 -1
- package/dist/utils/version-check.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a239_0x13a315=a239_0x32d2;function a239_0x4f1f(){const _0x3d9290=['866346iiAesz','statusCode','end','\x0aRun:\x20','4059377HbpAgV','green','data','destroy','read','cyan','currentVersion','updateAvailable','toISOString','930740EnoDIO','Request\x20timeout','1168014bnwoOL','gray','unref','utils/version-check','latestVersion','558614PynYCO','https://registry.npmjs.org/@treasuredata/tdx','socket','302520dvfDcB','parse','version','Run:','tdx\x20upgrade\x20--next','tdx\x20upgrade','stable','last_version_check_next','yellow','next','Update\x20available:','getTime','23823wAszTb','channel','\x0aUpdate\x20available:\x20','write','error','stderr','4JobJMI','lastCheck','dim','Invalid\x20version\x20format','latest','2224rGQOmC','utils/version-check-next'];a239_0x4f1f=function(){return _0x3d9290;};return a239_0x4f1f();}(function(_0x23afcf,_0x140f9b){const _0x5cf459=a239_0x32d2,_0x236af5=_0x23afcf();while(!![]){try{const _0x2d802c=-parseInt(_0x5cf459(0x1cc))/0x1+parseInt(_0x5cf459(0x1c7))/0x2+parseInt(_0x5cf459(0x1e8))/0x3*(parseInt(_0x5cf459(0x1e1))/0x4)+parseInt(_0x5cf459(0x1c5))/0x5+-parseInt(_0x5cf459(0x1cf))/0x6+-parseInt(_0x5cf459(0x1ec))/0x7+-parseInt(_0x5cf459(0x1e6))/0x8*(-parseInt(_0x5cf459(0x1db))/0x9);if(_0x2d802c===_0x140f9b)break;else _0x236af5['push'](_0x236af5['shift']());}catch(_0x14e4e5){_0x236af5['push'](_0x236af5['shift']());}}}(a239_0x4f1f,0x93ea2));import{get}from'https';import{gt,valid}from'semver';import a239_0x2ad51f from'chalk';import{createGlobalCache}from'./global-cache.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_BASE=a239_0x13a315(0x1cd),TIMEOUT_MS=0x7d0,stableVersionCache=createGlobalCache('last_version_check',a239_0x13a315(0x1ca)),nextVersionCache=createGlobalCache(a239_0x13a315(0x1d6),a239_0x13a315(0x1e7));function getCacheForChannel(_0x31c5c0){const _0x2f9e09=a239_0x13a315;return _0x31c5c0===_0x2f9e09(0x1d8)?nextVersionCache:stableVersionCache;}function readCache(_0x4b69e7){const _0x44483f=a239_0x13a315;return getCacheForChannel(_0x4b69e7)[_0x44483f(0x1f0)]()??null;}function writeCache(_0x2ae9af,_0x2de077){const _0x50ea5a=a239_0x13a315;try{getCacheForChannel(_0x2de077)[_0x50ea5a(0x1de)]({'lastCheck':new Date()[_0x50ea5a(0x1c4)](),'latestVersion':_0x2ae9af});}catch{}}function isCacheValid(_0x5d80f2){const _0x2be379=a239_0x13a315;if(!_0x5d80f2)return![];const _0x40ab89=new Date(_0x5d80f2[_0x2be379(0x1e2)])[_0x2be379(0x1da)](),_0x412ff4=Date['now']();return _0x412ff4-_0x40ab89<CACHE_DURATION_MS;}function a239_0x32d2(_0x431f60,_0x28899b){_0x431f60=_0x431f60-0x1c1;const _0x4f1fa6=a239_0x4f1f();let _0x32d269=_0x4f1fa6[_0x431f60];return _0x32d269;}export function fetchLatestVersion(_0x205e20=a239_0x13a315(0x1d5),_0xe2e2ef){const _0x3c7ed4=a239_0x13a315,_0x5ad471=_0xe2e2ef?.['background']??![],_0x1fcf89=_0x205e20==='next'?_0x3c7ed4(0x1d8):_0x3c7ed4(0x1e5),_0x559984=NPM_REGISTRY_BASE+'/'+_0x1fcf89;return new Promise((_0x107f39,_0x59d832)=>{const _0x33dfc3=_0x3c7ed4,_0x30998d=get(_0x559984,{'timeout':TIMEOUT_MS},_0x2ef234=>{const _0xeebfe0=a239_0x32d2;if(_0x2ef234[_0xeebfe0(0x1e9)]!==0xc8){clearTimeout(_0xdd8be6),_0x59d832(new Error('HTTP\x20'+_0x2ef234['statusCode']));return;}let _0x289be3='';_0x2ef234['on'](_0xeebfe0(0x1ee),_0x45ba53=>{_0x289be3+=_0x45ba53;}),_0x2ef234['on'](_0xeebfe0(0x1ea),()=>{const _0xbf43fb=_0xeebfe0;clearTimeout(_0xdd8be6);try{const _0x5d22de=JSON[_0xbf43fb(0x1d0)](_0x289be3);if(!valid(_0x5d22de[_0xbf43fb(0x1d1)])){_0x59d832(new Error(_0xbf43fb(0x1e4)));return;}_0x107f39(_0x5d22de[_0xbf43fb(0x1d1)]);}catch(_0x82b3c8){_0x59d832(_0x82b3c8);}});})['on'](_0x33dfc3(0x1df),_0x3d26f0=>{clearTimeout(_0xdd8be6),_0x59d832(_0x3d26f0);}),_0xdd8be6=setTimeout(()=>{const _0x49f528=_0x33dfc3;_0x30998d[_0x49f528(0x1ef)](),_0x59d832(new Error(_0x49f528(0x1c6)));},TIMEOUT_MS);_0x5ad471&&(_0x30998d['on'](_0x33dfc3(0x1ce),_0x249db4=>{const _0x12d869=_0x33dfc3;_0x249db4[_0x12d869(0x1c9)]();}),_0xdd8be6[_0x33dfc3(0x1c9)]());});}export async function checkForUpdate(_0xfde733,_0x12b1c3='stable'){const _0x44f167=a239_0x13a315;try{const _0x1fc927=readCache(_0x12b1c3);if(isCacheValid(_0x1fc927)){const _0x37e73a=gt(_0x1fc927[_0x44f167(0x1cb)],_0xfde733);return{'updateAvailable':_0x37e73a,'currentVersion':_0xfde733,'latestVersion':_0x1fc927[_0x44f167(0x1cb)],'channel':_0x12b1c3};}const _0x402bdb=await fetchLatestVersion(_0x12b1c3,{'background':!![]});writeCache(_0x402bdb,_0x12b1c3);const _0x4151a3=gt(_0x402bdb,_0xfde733);return{'updateAvailable':_0x4151a3,'currentVersion':_0xfde733,'latestVersion':_0x402bdb,'channel':_0x12b1c3};}catch{return null;}}export function displayUpdateNotification(_0x29c904){const _0x13ea6e=a239_0x13a315;if(!_0x29c904[_0x13ea6e(0x1c3)])return;const _0x3e403a=_0x29c904[_0x13ea6e(0x1dc)]===_0x13ea6e(0x1d8)?_0x13ea6e(0x1d3):_0x13ea6e(0x1d4),_0x28ceec=process[_0x13ea6e(0x1e0)]['isTTY']&&!process.env.NO_COLOR,_0x4fe825=_0x28ceec?a239_0x2ad51f[_0x13ea6e(0x1c8)]('→'):'→',_0x14c2a7=_0x28ceec?a239_0x2ad51f[_0x13ea6e(0x1e3)](_0x29c904[_0x13ea6e(0x1c2)]):_0x29c904[_0x13ea6e(0x1c2)],_0x8854e7=_0x28ceec?a239_0x2ad51f[_0x13ea6e(0x1ed)](_0x29c904['latestVersion']):_0x29c904['latestVersion'],_0x48b8bb=_0x28ceec?a239_0x2ad51f[_0x13ea6e(0x1c1)](_0x3e403a):_0x3e403a,_0x163738=_0x28ceec?'\x0a'+a239_0x2ad51f[_0x13ea6e(0x1d7)](_0x13ea6e(0x1d9))+'\x20'+_0x14c2a7+'\x20'+_0x4fe825+'\x20'+_0x8854e7+'\x0a'+a239_0x2ad51f[_0x13ea6e(0x1e3)](_0x13ea6e(0x1d2))+'\x20'+_0x48b8bb+'\x0a':_0x13ea6e(0x1dd)+_0x14c2a7+'\x20'+_0x4fe825+'\x20'+_0x8854e7+_0x13ea6e(0x1eb)+_0x48b8bb+'\x0a';process[_0x13ea6e(0x1e0)][_0x13ea6e(0x1de)](_0x163738);}
|