@treasuredata/tdx 2026.5.0 → 2026.6.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.
- 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/segment-validator.js.map +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.d.ts +1 -1
- package/dist/sdk/segment/yaml-validator.d.ts.map +1 -1
- package/dist/sdk/segment/yaml-validator.js +1 -1
- package/dist/sdk/segment/yaml-validator.js.map +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_0x27f3f9=a239_0x4e53;(function(_0x10b2c1,_0x12492f){const _0x4d7879=a239_0x4e53,_0x2dc1b6=_0x10b2c1();while(!![]){try{const _0x4a3811=-parseInt(_0x4d7879(0xb1))/0x1*(parseInt(_0x4d7879(0xab))/0x2)+parseInt(_0x4d7879(0x9b))/0x3*(-parseInt(_0x4d7879(0xac))/0x4)+parseInt(_0x4d7879(0xaa))/0x5+-parseInt(_0x4d7879(0xa2))/0x6+parseInt(_0x4d7879(0xbd))/0x7+-parseInt(_0x4d7879(0xad))/0x8*(parseInt(_0x4d7879(0xb6))/0x9)+parseInt(_0x4d7879(0xb0))/0xa*(parseInt(_0x4d7879(0x9c))/0xb);if(_0x4a3811===_0x12492f)break;else _0x2dc1b6['push'](_0x2dc1b6['shift']());}catch(_0x4864b7){_0x2dc1b6['push'](_0x2dc1b6['shift']());}}}(a239_0x52e8,0x4c718));import{get}from'https';import{gt,valid}from'semver';import a239_0x2f4911 from'chalk';import{createGlobalCache}from'./global-cache.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_BASE=a239_0x27f3f9(0x9a),TIMEOUT_MS=0x7d0,stableVersionCache=createGlobalCache('last_version_check',a239_0x27f3f9(0x9f)),nextVersionCache=createGlobalCache('last_version_check_next',a239_0x27f3f9(0xa3));function getCacheForChannel(_0x2c4963){const _0x13318a=a239_0x27f3f9;return _0x2c4963===_0x13318a(0xb3)?nextVersionCache:stableVersionCache;}function readCache(_0x2b3f1d){return getCacheForChannel(_0x2b3f1d)['read']()??null;}function a239_0x52e8(){const _0x1bf388=['gray','dim','now','channel','https://registry.npmjs.org/@treasuredata/tdx','3VwCTit','105138HcyLpL','version','green','utils/version-check','toISOString','statusCode','2803926HxOOIt','utils/version-check-next','latestVersion','parse','HTTP\x20','getTime','destroy','stderr','1698435wbMSUo','10568vZjnva','206048GtpIjh','8bVtWtB','tdx\x20upgrade','currentVersion','980ngthnM','83LlJLUm','background','next','error','lastCheck','4499406kFuvYZ','cyan','\x0aUpdate\x20available:\x20','unref','isTTY','write','Run:','3458560UTqfFP','Invalid\x20version\x20format'];a239_0x52e8=function(){return _0x1bf388;};return a239_0x52e8();}function writeCache(_0x7f2539,_0xa40aaa){const _0x131b43=a239_0x27f3f9;try{getCacheForChannel(_0xa40aaa)[_0x131b43(0xbb)]({'lastCheck':new Date()[_0x131b43(0xa0)](),'latestVersion':_0x7f2539});}catch{}}function isCacheValid(_0x2b634c){const _0x56bb0f=a239_0x27f3f9;if(!_0x2b634c)return![];const _0x16ab19=new Date(_0x2b634c[_0x56bb0f(0xb5)])[_0x56bb0f(0xa7)](),_0x1c4747=Date[_0x56bb0f(0x98)]();return _0x1c4747-_0x16ab19<CACHE_DURATION_MS;}export function fetchLatestVersion(_0x4d0705='stable',_0x4a8496){const _0x46dc70=a239_0x27f3f9,_0x2dc37f=_0x4a8496?.[_0x46dc70(0xb2)]??![],_0xa5ad3c=_0x4d0705==='next'?'next':'latest',_0x276c52=NPM_REGISTRY_BASE+'/'+_0xa5ad3c;return new Promise((_0x1cd8e1,_0x8ff57b)=>{const _0x407063=_0x46dc70,_0x4f4d0c=get(_0x276c52,{'timeout':TIMEOUT_MS},_0x499daa=>{const _0x57f49b=a239_0x4e53;if(_0x499daa[_0x57f49b(0xa1)]!==0xc8){clearTimeout(_0x316995),_0x8ff57b(new Error(_0x57f49b(0xa6)+_0x499daa[_0x57f49b(0xa1)]));return;}let _0x36cf62='';_0x499daa['on']('data',_0x16d3f8=>{_0x36cf62+=_0x16d3f8;}),_0x499daa['on']('end',()=>{const _0x5cfdd1=_0x57f49b;clearTimeout(_0x316995);try{const _0x39b5bc=JSON[_0x5cfdd1(0xa5)](_0x36cf62);if(!valid(_0x39b5bc[_0x5cfdd1(0x9d)])){_0x8ff57b(new Error(_0x5cfdd1(0xbe)));return;}_0x1cd8e1(_0x39b5bc['version']);}catch(_0x18e7ef){_0x8ff57b(_0x18e7ef);}});})['on'](_0x407063(0xb4),_0x380027=>{clearTimeout(_0x316995),_0x8ff57b(_0x380027);}),_0x316995=setTimeout(()=>{const _0x25389b=_0x407063;_0x4f4d0c[_0x25389b(0xa8)](),_0x8ff57b(new Error('Request\x20timeout'));},TIMEOUT_MS);_0x2dc37f&&(_0x4f4d0c['on']('socket',_0x2d53e6=>{const _0x50d1fd=_0x407063;_0x2d53e6[_0x50d1fd(0xb9)]();}),_0x316995[_0x407063(0xb9)]());});}export async function checkForUpdate(_0x24b462,_0x138420='stable'){const _0x415a10=a239_0x27f3f9;try{const _0x55909e=readCache(_0x138420);if(isCacheValid(_0x55909e)){const _0x54e246=gt(_0x55909e[_0x415a10(0xa4)],_0x24b462);return{'updateAvailable':_0x54e246,'currentVersion':_0x24b462,'latestVersion':_0x55909e[_0x415a10(0xa4)],'channel':_0x138420};}const _0x209a78=await fetchLatestVersion(_0x138420,{'background':!![]});writeCache(_0x209a78,_0x138420);const _0x2ef0ff=gt(_0x209a78,_0x24b462);return{'updateAvailable':_0x2ef0ff,'currentVersion':_0x24b462,'latestVersion':_0x209a78,'channel':_0x138420};}catch{return null;}}function a239_0x4e53(_0x34084c,_0x1d5817){_0x34084c=_0x34084c-0x98;const _0x52e8dc=a239_0x52e8();let _0x4e533c=_0x52e8dc[_0x34084c];return _0x4e533c;}export function displayUpdateNotification(_0x28815f){const _0x11dbfc=a239_0x27f3f9;if(!_0x28815f['updateAvailable'])return;const _0x463293=_0x28815f[_0x11dbfc(0x99)]==='next'?'tdx\x20upgrade\x20--next':_0x11dbfc(0xae),_0x493367=process['stderr'][_0x11dbfc(0xba)]&&!process.env.NO_COLOR,_0x1a5565=_0x493367?a239_0x2f4911[_0x11dbfc(0xbf)]('→'):'→',_0x22196f=_0x493367?a239_0x2f4911[_0x11dbfc(0xc0)](_0x28815f[_0x11dbfc(0xaf)]):_0x28815f[_0x11dbfc(0xaf)],_0x37c385=_0x493367?a239_0x2f4911[_0x11dbfc(0x9e)](_0x28815f['latestVersion']):_0x28815f['latestVersion'],_0x5a1837=_0x493367?a239_0x2f4911[_0x11dbfc(0xb7)](_0x463293):_0x463293,_0x5cf9a6=_0x493367?'\x0a'+a239_0x2f4911['yellow']('Update\x20available:')+'\x20'+_0x22196f+'\x20'+_0x1a5565+'\x20'+_0x37c385+'\x0a'+a239_0x2f4911[_0x11dbfc(0xc0)](_0x11dbfc(0xbc))+'\x20'+_0x5a1837+'\x0a':_0x11dbfc(0xb8)+_0x22196f+'\x20'+_0x1a5565+'\x20'+_0x37c385+'\x0aRun:\x20'+_0x5a1837+'\x0a';process[_0x11dbfc(0xa9)][_0x11dbfc(0xbb)](_0x5cf9a6);}
|