@treasuredata/tdx 2026.4.19 → 2026.4.20
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 +1 -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/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.d.ts +1 -0
- package/dist/commands/workflow-command.d.ts.map +1 -1
- package/dist/commands/workflow-command.js +1 -1
- package/dist/commands/workflow-command.js.map +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.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.d.ts +7 -0
- package/dist/sdk/client/workflow-client.d.ts.map +1 -1
- package/dist/sdk/client/workflow-client.js +1 -1
- package/dist/sdk/client/workflow-client.js.map +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.js +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.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.d.ts +14 -1
- package/dist/sdk/workflow/index.d.ts.map +1 -1
- package/dist/sdk/workflow/index.js +1 -1
- package/dist/sdk/workflow/index.js.map +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.d.ts +65 -0
- package/dist/sdk/workflow/task-graph.d.ts.map +1 -0
- package/dist/sdk/workflow/task-graph.js +1 -0
- package/dist/sdk/workflow/task-graph.js.map +1 -0
- 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 a236_0xf5ad24=a236_0x5349;(function(_0x3fe7b6,_0x304a99){const _0x3f054d=a236_0x5349,_0x4324ec=_0x3fe7b6();while(!![]){try{const _0x337465=-parseInt(_0x3f054d(0x209))/0x1*(-parseInt(_0x3f054d(0x1fb))/0x2)+-parseInt(_0x3f054d(0x1f1))/0x3+parseInt(_0x3f054d(0x203))/0x4*(-parseInt(_0x3f054d(0x1f6))/0x5)+-parseInt(_0x3f054d(0x1ec))/0x6+-parseInt(_0x3f054d(0x1ff))/0x7+-parseInt(_0x3f054d(0x1e5))/0x8+parseInt(_0x3f054d(0x1f5))/0x9;if(_0x337465===_0x304a99)break;else _0x4324ec['push'](_0x4324ec['shift']());}catch(_0x108ea3){_0x4324ec['push'](_0x4324ec['shift']());}}}(a236_0x3acd,0xd1898));import{get}from'https';function a236_0x3acd(){const _0x2bb3a0=['\x0aRun:\x20','yellow','147756LCojLS','Run:','latest','toISOString','parse','currentVersion','1234579tZaBkS','unref','lastCheck','version','getTime','now','background','gray','\x0aUpdate\x20available:\x20','6871648laBrLa','statusCode','next','tdx\x20upgrade','Request\x20timeout','Invalid\x20version\x20format','HTTP\x20','2324106HGxNAp','last_version_check_next','write','Update\x20available:','isTTY','3531612dOusoe','cyan','stable','tdx\x20upgrade\x20--next','25349409ArEiGA','35pFMYhC','dim','latestVersion','utils/version-check-next','destroy','2wmrZix','data','last_version_check','stderr','3575824BMktvc','green'];a236_0x3acd=function(){return _0x2bb3a0;};return a236_0x3acd();}import{gt,valid}from'semver';import a236_0xa35f9a from'chalk';import{createGlobalCache}from'./global-cache.js';function a236_0x5349(_0xb75b1f,_0x251d7d){_0xb75b1f=_0xb75b1f-0x1e3;const _0x3acd4a=a236_0x3acd();let _0x5349b7=_0x3acd4a[_0xb75b1f];return _0x5349b7;}const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_BASE='https://registry.npmjs.org/@treasuredata/tdx',TIMEOUT_MS=0x7d0,stableVersionCache=createGlobalCache(a236_0xf5ad24(0x1fd),'utils/version-check'),nextVersionCache=createGlobalCache(a236_0xf5ad24(0x1ed),a236_0xf5ad24(0x1f9));function getCacheForChannel(_0x33d27e){const _0x2b98fe=a236_0xf5ad24;return _0x33d27e===_0x2b98fe(0x1e7)?nextVersionCache:stableVersionCache;}function readCache(_0x358dc2){return getCacheForChannel(_0x358dc2)['read']()??null;}function writeCache(_0x3711e0,_0xb22375){const _0xa95c05=a236_0xf5ad24;try{getCacheForChannel(_0xb22375)[_0xa95c05(0x1ee)]({'lastCheck':new Date()[_0xa95c05(0x206)](),'latestVersion':_0x3711e0});}catch{}}function isCacheValid(_0x1ee54a){const _0x38b7d2=a236_0xf5ad24;if(!_0x1ee54a)return![];const _0x3fbcaa=new Date(_0x1ee54a[_0x38b7d2(0x20b)])[_0x38b7d2(0x20d)](),_0x58c985=Date[_0x38b7d2(0x20e)]();return _0x58c985-_0x3fbcaa<CACHE_DURATION_MS;}export function fetchLatestVersion(_0x4b1b21=a236_0xf5ad24(0x1f3),_0xedf093){const _0x5f26ff=a236_0xf5ad24,_0x36d0a3=_0xedf093?.[_0x5f26ff(0x20f)]??![],_0x5637d5=_0x4b1b21===_0x5f26ff(0x1e7)?_0x5f26ff(0x1e7):_0x5f26ff(0x205),_0x2e55e5=NPM_REGISTRY_BASE+'/'+_0x5637d5;return new Promise((_0x3ae9ef,_0x157071)=>{const _0x363293=_0x5f26ff,_0x52d95b=get(_0x2e55e5,{'timeout':TIMEOUT_MS},_0x1cb5a7=>{const _0x549b19=a236_0x5349;if(_0x1cb5a7[_0x549b19(0x1e6)]!==0xc8){clearTimeout(_0x44afc8),_0x157071(new Error(_0x549b19(0x1eb)+_0x1cb5a7[_0x549b19(0x1e6)]));return;}let _0x53b022='';_0x1cb5a7['on'](_0x549b19(0x1fc),_0x236494=>{_0x53b022+=_0x236494;}),_0x1cb5a7['on']('end',()=>{const _0x3e1c4c=_0x549b19;clearTimeout(_0x44afc8);try{const _0x5513e5=JSON[_0x3e1c4c(0x207)](_0x53b022);if(!valid(_0x5513e5[_0x3e1c4c(0x20c)])){_0x157071(new Error(_0x3e1c4c(0x1ea)));return;}_0x3ae9ef(_0x5513e5['version']);}catch(_0x34cfe2){_0x157071(_0x34cfe2);}});})['on']('error',_0x5b8ade=>{clearTimeout(_0x44afc8),_0x157071(_0x5b8ade);}),_0x44afc8=setTimeout(()=>{const _0x41153c=a236_0x5349;_0x52d95b[_0x41153c(0x1fa)](),_0x157071(new Error(_0x41153c(0x1e9)));},TIMEOUT_MS);_0x36d0a3&&(_0x52d95b['on']('socket',_0x59af3a=>{const _0x2707ea=a236_0x5349;_0x59af3a[_0x2707ea(0x20a)]();}),_0x44afc8[_0x363293(0x20a)]());});}export async function checkForUpdate(_0x4276bb,_0x2b09e2=a236_0xf5ad24(0x1f3)){const _0x29a403=a236_0xf5ad24;try{const _0x28f3af=readCache(_0x2b09e2);if(isCacheValid(_0x28f3af)){const _0x5983f6=gt(_0x28f3af[_0x29a403(0x1f8)],_0x4276bb);return{'updateAvailable':_0x5983f6,'currentVersion':_0x4276bb,'latestVersion':_0x28f3af['latestVersion'],'channel':_0x2b09e2};}const _0x3cc2da=await fetchLatestVersion(_0x2b09e2,{'background':!![]});writeCache(_0x3cc2da,_0x2b09e2);const _0x2e9eb5=gt(_0x3cc2da,_0x4276bb);return{'updateAvailable':_0x2e9eb5,'currentVersion':_0x4276bb,'latestVersion':_0x3cc2da,'channel':_0x2b09e2};}catch{return null;}}export function displayUpdateNotification(_0x469364){const _0x431535=a236_0xf5ad24;if(!_0x469364['updateAvailable'])return;const _0x16e282=_0x469364['channel']===_0x431535(0x1e7)?_0x431535(0x1f4):_0x431535(0x1e8),_0x1aa0bc=process['stderr'][_0x431535(0x1f0)]&&!process.env.NO_COLOR,_0x436dbf=_0x1aa0bc?a236_0xa35f9a[_0x431535(0x1e3)]('→'):'→',_0x1d4d7b=_0x1aa0bc?a236_0xa35f9a[_0x431535(0x1f7)](_0x469364[_0x431535(0x208)]):_0x469364[_0x431535(0x208)],_0x4b98c3=_0x1aa0bc?a236_0xa35f9a[_0x431535(0x200)](_0x469364['latestVersion']):_0x469364[_0x431535(0x1f8)],_0x1991b5=_0x1aa0bc?a236_0xa35f9a[_0x431535(0x1f2)](_0x16e282):_0x16e282,_0x27489c=_0x1aa0bc?'\x0a'+a236_0xa35f9a[_0x431535(0x202)](_0x431535(0x1ef))+'\x20'+_0x1d4d7b+'\x20'+_0x436dbf+'\x20'+_0x4b98c3+'\x0a'+a236_0xa35f9a[_0x431535(0x1f7)](_0x431535(0x204))+'\x20'+_0x1991b5+'\x0a':_0x431535(0x1e4)+_0x1d4d7b+'\x20'+_0x436dbf+'\x20'+_0x4b98c3+_0x431535(0x201)+_0x1991b5+'\x0a';process[_0x431535(0x1fe)]['write'](_0x27489c);}
|