@treasuredata/tdx 2026.4.11 → 2026.4.13
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.js +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.js +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/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.d.ts +1 -0
- package/dist/core/profile.d.ts.map +1 -1
- package/dist/core/profile.js +1 -1
- package/dist/core/profile.js.map +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.js +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 +6 -0
- 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/personalization.js +1 -1
- package/dist/sdk/policy.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/index.js +1 -1
- package/dist/sdk/types/progress.js +1 -1
- package/dist/sdk/types/workspace.d.ts +2 -0
- package/dist/sdk/types/workspace.d.ts.map +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/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.d.ts.map +1 -1
- package/dist/sdk/workspace/index.js +1 -1
- package/dist/sdk/workspace/index.js.map +1 -1
- package/dist/sdk/workspace/templates.d.ts.map +1 -1
- package/dist/sdk/workspace/templates.js +1 -1
- package/dist/sdk/workspace/templates.js.map +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 a235_0x39716d=a235_0x54ed;(function(_0x5dd0a1,_0x3f3e94){const _0x130b02=a235_0x54ed,_0x4a0313=_0x5dd0a1();while(!![]){try{const _0x4fc398=-parseInt(_0x130b02(0xe3))/0x1+-parseInt(_0x130b02(0x10b))/0x2+-parseInt(_0x130b02(0x10c))/0x3+-parseInt(_0x130b02(0xee))/0x4+parseInt(_0x130b02(0x10f))/0x5+parseInt(_0x130b02(0x104))/0x6+parseInt(_0x130b02(0xf5))/0x7;if(_0x4fc398===_0x3f3e94)break;else _0x4a0313['push'](_0x4a0313['shift']());}catch(_0x252c1c){_0x4a0313['push'](_0x4a0313['shift']());}}}(a235_0x8488,0x3e255));function a235_0x54ed(_0x599388,_0x5de2f6){_0x599388=_0x599388-0xe3;const _0x848825=a235_0x8488();let _0x54edde=_0x848825[_0x599388];return _0x54edde;}import{get}from'https';import{gt,valid}from'semver';import a235_0x47fb09 from'chalk';import{createGlobalCache}from'./global-cache.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_BASE=a235_0x39716d(0xf4),TIMEOUT_MS=0x7d0,stableVersionCache=createGlobalCache('last_version_check',a235_0x39716d(0x10a)),nextVersionCache=createGlobalCache(a235_0x39716d(0x101),a235_0x39716d(0xe7));function getCacheForChannel(_0x2242b4){const _0x299a47=a235_0x39716d;return _0x2242b4===_0x299a47(0xfa)?nextVersionCache:stableVersionCache;}function readCache(_0x287ca3){return getCacheForChannel(_0x287ca3)['read']()??null;}function writeCache(_0x1a2140,_0x15e279){const _0x111d4d=a235_0x39716d;try{getCacheForChannel(_0x15e279)['write']({'lastCheck':new Date()[_0x111d4d(0xfc)](),'latestVersion':_0x1a2140});}catch{}}function isCacheValid(_0x442160){const _0x1e636b=a235_0x39716d;if(!_0x442160)return![];const _0x1f2ac0=new Date(_0x442160[_0x1e636b(0x108)])[_0x1e636b(0xed)](),_0x43684b=Date[_0x1e636b(0xec)]();return _0x43684b-_0x1f2ac0<CACHE_DURATION_MS;}function a235_0x8488(){const _0x6fd033=['Invalid\x20version\x20format','error','latestVersion','latest','next','channel','toISOString','isTTY','stable','\x0aRun:\x20','dim','last_version_check_next','destroy','tdx\x20upgrade','326112HiYszw','green','Request\x20timeout','write','lastCheck','\x0aUpdate\x20available:\x20','utils/version-check','866414dHwGhJ','858972GpvZlt','unref','updateAvailable','38085vJSsaY','97776sjaJCe','statusCode','parse','stderr','utils/version-check-next','end','background','data','cyan','now','getTime','44104pFHXsv','currentVersion','tdx\x20upgrade\x20--next','Run:','version','Update\x20available:','https://registry.npmjs.org/@treasuredata/tdx','7146391CPpNKq'];a235_0x8488=function(){return _0x6fd033;};return a235_0x8488();}export function fetchLatestVersion(_0x205470='stable',_0x4bbc11){const _0x38ca97=a235_0x39716d,_0x2cf155=_0x4bbc11?.[_0x38ca97(0xe9)]??![],_0xb244df=_0x205470===_0x38ca97(0xfa)?'next':_0x38ca97(0xf9),_0x329802=NPM_REGISTRY_BASE+'/'+_0xb244df;return new Promise((_0x57d670,_0x2f72d3)=>{const _0x19fd2f=_0x38ca97,_0x3cc7ec=get(_0x329802,{'timeout':TIMEOUT_MS},_0x4b402c=>{const _0x136fe6=a235_0x54ed;if(_0x4b402c[_0x136fe6(0xe4)]!==0xc8){clearTimeout(_0x225a6d),_0x2f72d3(new Error('HTTP\x20'+_0x4b402c[_0x136fe6(0xe4)]));return;}let _0x1b2fc9='';_0x4b402c['on'](_0x136fe6(0xea),_0x1ee93e=>{_0x1b2fc9+=_0x1ee93e;}),_0x4b402c['on'](_0x136fe6(0xe8),()=>{const _0x508d0c=_0x136fe6;clearTimeout(_0x225a6d);try{const _0x2c3d12=JSON[_0x508d0c(0xe5)](_0x1b2fc9);if(!valid(_0x2c3d12[_0x508d0c(0xf2)])){_0x2f72d3(new Error(_0x508d0c(0xf6)));return;}_0x57d670(_0x2c3d12[_0x508d0c(0xf2)]);}catch(_0xe1dc10){_0x2f72d3(_0xe1dc10);}});})['on'](_0x19fd2f(0xf7),_0x4a7f81=>{clearTimeout(_0x225a6d),_0x2f72d3(_0x4a7f81);}),_0x225a6d=setTimeout(()=>{const _0x4f4957=_0x19fd2f;_0x3cc7ec[_0x4f4957(0x102)](),_0x2f72d3(new Error(_0x4f4957(0x106)));},TIMEOUT_MS);_0x2cf155&&(_0x3cc7ec['on']('socket',_0x5f431c=>{const _0x5f56ca=_0x19fd2f;_0x5f431c[_0x5f56ca(0x10d)]();}),_0x225a6d['unref']());});}export async function checkForUpdate(_0x1a55d4,_0xa5932=a235_0x39716d(0xfe)){const _0x3bbb50=a235_0x39716d;try{const _0x170a3b=readCache(_0xa5932);if(isCacheValid(_0x170a3b)){const _0x4f1843=gt(_0x170a3b[_0x3bbb50(0xf8)],_0x1a55d4);return{'updateAvailable':_0x4f1843,'currentVersion':_0x1a55d4,'latestVersion':_0x170a3b[_0x3bbb50(0xf8)],'channel':_0xa5932};}const _0x336320=await fetchLatestVersion(_0xa5932,{'background':!![]});writeCache(_0x336320,_0xa5932);const _0xbe71eb=gt(_0x336320,_0x1a55d4);return{'updateAvailable':_0xbe71eb,'currentVersion':_0x1a55d4,'latestVersion':_0x336320,'channel':_0xa5932};}catch{return null;}}export function displayUpdateNotification(_0x350bf4){const _0x1f88bd=a235_0x39716d;if(!_0x350bf4[_0x1f88bd(0x10e)])return;const _0x2e2bde=_0x350bf4[_0x1f88bd(0xfb)]===_0x1f88bd(0xfa)?_0x1f88bd(0xf0):_0x1f88bd(0x103),_0x4980f9=process[_0x1f88bd(0xe6)][_0x1f88bd(0xfd)]&&!process.env.NO_COLOR,_0x4b284a=_0x4980f9?a235_0x47fb09['gray']('→'):'→',_0x3914e2=_0x4980f9?a235_0x47fb09[_0x1f88bd(0x100)](_0x350bf4[_0x1f88bd(0xef)]):_0x350bf4[_0x1f88bd(0xef)],_0x422b9e=_0x4980f9?a235_0x47fb09[_0x1f88bd(0x105)](_0x350bf4[_0x1f88bd(0xf8)]):_0x350bf4[_0x1f88bd(0xf8)],_0x4174e1=_0x4980f9?a235_0x47fb09[_0x1f88bd(0xeb)](_0x2e2bde):_0x2e2bde,_0xf63205=_0x4980f9?'\x0a'+a235_0x47fb09['yellow'](_0x1f88bd(0xf3))+'\x20'+_0x3914e2+'\x20'+_0x4b284a+'\x20'+_0x422b9e+'\x0a'+a235_0x47fb09[_0x1f88bd(0x100)](_0x1f88bd(0xf1))+'\x20'+_0x4174e1+'\x0a':_0x1f88bd(0x109)+_0x3914e2+'\x20'+_0x4b284a+'\x20'+_0x422b9e+_0x1f88bd(0xff)+_0x4174e1+'\x0a';process[_0x1f88bd(0xe6)][_0x1f88bd(0x107)](_0xf63205);}
|