@treasuredata/tdx 2026.3.31 → 2026.3.33
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.d.ts +1 -1
- package/dist/cli-categories.js +1 -1
- package/dist/cli-categories.js.map +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/auth-login-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.d.ts +34 -0
- package/dist/commands/work-command.d.ts.map +1 -0
- package/dist/commands/work-command.js +1 -0
- package/dist/commands/work-command.js.map +1 -0
- 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.d.ts +2 -0
- package/dist/core/project-config.d.ts.map +1 -1
- package/dist/core/project-config.js +1 -1
- package/dist/core/project-config.js.map +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/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.d.ts +1 -0
- package/dist/sdk/index.d.ts.map +1 -1
- package/dist/sdk/index.js +1 -1
- package/dist/sdk/index.js.map +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.d.ts +2 -0
- 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.d.ts +169 -0
- package/dist/sdk/types/workspace.d.ts.map +1 -0
- package/dist/sdk/types/workspace.js +1 -0
- package/dist/sdk/types/workspace.js.map +1 -0
- 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/frontmatter.d.ts +28 -0
- package/dist/sdk/workspace/frontmatter.d.ts.map +1 -0
- package/dist/sdk/workspace/frontmatter.js +1 -0
- package/dist/sdk/workspace/frontmatter.js.map +1 -0
- package/dist/sdk/workspace/git.d.ts +70 -0
- package/dist/sdk/workspace/git.d.ts.map +1 -0
- package/dist/sdk/workspace/git.js +1 -0
- package/dist/sdk/workspace/git.js.map +1 -0
- package/dist/sdk/workspace/index.d.ts +166 -0
- package/dist/sdk/workspace/index.d.ts.map +1 -0
- package/dist/sdk/workspace/index.js +1 -0
- package/dist/sdk/workspace/index.js.map +1 -0
- package/dist/sdk/workspace/templates.d.ts +17 -0
- package/dist/sdk/workspace/templates.d.ts.map +1 -0
- package/dist/sdk/workspace/templates.js +1 -0
- package/dist/sdk/workspace/templates.js.map +1 -0
- package/dist/sdk/workspace/weekly.d.ts +49 -0
- package/dist/sdk/workspace/weekly.d.ts.map +1 -0
- package/dist/sdk/workspace/weekly.js +1 -0
- package/dist/sdk/workspace/weekly.js.map +1 -0
- package/dist/sdk/workspace/wikilinks.d.ts +49 -0
- package/dist/sdk/workspace/wikilinks.d.ts.map +1 -0
- package/dist/sdk/workspace/wikilinks.js +1 -0
- package/dist/sdk/workspace/wikilinks.js.map +1 -0
- 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 a234_0x1ae60d=a234_0x34d7;(function(_0x491ade,_0x3e5b4b){const _0x2f7ea6=a234_0x34d7,_0x3be25e=_0x491ade();while(!![]){try{const _0xd5b6be=parseInt(_0x2f7ea6(0x1f9))/0x1+parseInt(_0x2f7ea6(0x1f4))/0x2+parseInt(_0x2f7ea6(0x210))/0x3*(-parseInt(_0x2f7ea6(0x203))/0x4)+-parseInt(_0x2f7ea6(0x220))/0x5*(-parseInt(_0x2f7ea6(0x1fb))/0x6)+parseInt(_0x2f7ea6(0x1f1))/0x7+-parseInt(_0x2f7ea6(0x221))/0x8+-parseInt(_0x2f7ea6(0x1fc))/0x9*(parseInt(_0x2f7ea6(0x1f2))/0xa);if(_0xd5b6be===_0x3e5b4b)break;else _0x3be25e['push'](_0x3be25e['shift']());}catch(_0x300597){_0x3be25e['push'](_0x3be25e['shift']());}}}(a234_0x10e7,0x87237));import{get}from'https';function a234_0x34d7(_0x4250bf,_0x44e944){_0x4250bf=_0x4250bf-0x1f1;const _0x10e784=a234_0x10e7();let _0x34d783=_0x10e784[_0x4250bf];return _0x34d783;}function a234_0x10e7(){const _0x5096d1=['tdx\x20upgrade\x20--next','latestVersion','96OwifRE','parse','getTime','last_version_check','socket','data','HTTP\x20','Invalid\x20version\x20format','stable','lastCheck','dim','cyan','updateAvailable','55164LjOzWu','utils/version-check-next','latest','error','destroy','stderr','toISOString','https://registry.npmjs.org/@treasuredata/tdx','next','read','version','green','isTTY','statusCode','unref','write','5qdSTka','4442632BUiLhn','3439611WbwbUz','4210wVqNXa','\x0aRun:\x20','1499642bHKFkP','Update\x20available:','end','last_version_check_next','channel','463452JduPmO','utils/version-check','182046ASrWkf','3951KOxbzj','tdx\x20upgrade','yellow','currentVersion','now'];a234_0x10e7=function(){return _0x5096d1;};return a234_0x10e7();}import{gt,valid}from'semver';import a234_0x246509 from'chalk';import{createGlobalCache}from'./global-cache.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_BASE=a234_0x1ae60d(0x217),TIMEOUT_MS=0x7d0,stableVersionCache=createGlobalCache(a234_0x1ae60d(0x206),a234_0x1ae60d(0x1fa)),nextVersionCache=createGlobalCache(a234_0x1ae60d(0x1f7),a234_0x1ae60d(0x211));function getCacheForChannel(_0x3e7d03){return _0x3e7d03==='next'?nextVersionCache:stableVersionCache;}function readCache(_0x1cdbcd){const _0x186b41=a234_0x1ae60d;return getCacheForChannel(_0x1cdbcd)[_0x186b41(0x219)]()??null;}function writeCache(_0xa91382,_0x38cca8){const _0x3d9bf3=a234_0x1ae60d;try{getCacheForChannel(_0x38cca8)[_0x3d9bf3(0x21f)]({'lastCheck':new Date()[_0x3d9bf3(0x216)](),'latestVersion':_0xa91382});}catch{}}function isCacheValid(_0x4c220b){const _0x1970e0=a234_0x1ae60d;if(!_0x4c220b)return![];const _0x1c2e0c=new Date(_0x4c220b[_0x1970e0(0x20c)])[_0x1970e0(0x205)](),_0x38cf6a=Date[_0x1970e0(0x200)]();return _0x38cf6a-_0x1c2e0c<CACHE_DURATION_MS;}export function fetchLatestVersion(_0x2c8dc0=a234_0x1ae60d(0x20b)){const _0x5c269a=a234_0x1ae60d,_0x2b5d9c=_0x2c8dc0===_0x5c269a(0x218)?_0x5c269a(0x218):_0x5c269a(0x212),_0x7bae77=NPM_REGISTRY_BASE+'/'+_0x2b5d9c;return new Promise((_0x12a112,_0x1d2dfa)=>{const _0x497603=_0x5c269a,_0x417cab=get(_0x7bae77,{'timeout':TIMEOUT_MS},_0x11ba25=>{const _0xbb8171=a234_0x34d7;if(_0x11ba25['statusCode']!==0xc8){clearTimeout(_0x116461),_0x1d2dfa(new Error(_0xbb8171(0x209)+_0x11ba25[_0xbb8171(0x21d)]));return;}let _0x1d5491='';_0x11ba25['on'](_0xbb8171(0x208),_0x96966c=>{_0x1d5491+=_0x96966c;}),_0x11ba25['on'](_0xbb8171(0x1f6),()=>{const _0x180e04=_0xbb8171;clearTimeout(_0x116461);try{const _0xa1971f=JSON[_0x180e04(0x204)](_0x1d5491);if(!valid(_0xa1971f[_0x180e04(0x21a)])){_0x1d2dfa(new Error(_0x180e04(0x20a)));return;}_0x12a112(_0xa1971f['version']);}catch(_0x11986b){_0x1d2dfa(_0x11986b);}});})['on'](_0x497603(0x213),_0x1ed032=>{clearTimeout(_0x116461),_0x1d2dfa(_0x1ed032);});_0x417cab['on'](_0x497603(0x207),_0x186296=>{const _0x1b2785=_0x497603;_0x186296[_0x1b2785(0x21e)]();});const _0x116461=setTimeout(()=>{const _0x1f8b6d=_0x497603;_0x417cab[_0x1f8b6d(0x214)](),_0x1d2dfa(new Error('Request\x20timeout'));},TIMEOUT_MS);_0x116461[_0x497603(0x21e)]();});}export async function checkForUpdate(_0x1d4c78,_0x166fed=a234_0x1ae60d(0x20b)){const _0x5cdb48=a234_0x1ae60d;try{const _0x3b2b3c=readCache(_0x166fed);if(isCacheValid(_0x3b2b3c)){const _0x50d752=gt(_0x3b2b3c['latestVersion'],_0x1d4c78);return{'updateAvailable':_0x50d752,'currentVersion':_0x1d4c78,'latestVersion':_0x3b2b3c[_0x5cdb48(0x202)],'channel':_0x166fed};}const _0x3d3afa=await fetchLatestVersion(_0x166fed);writeCache(_0x3d3afa,_0x166fed);const _0x47b451=gt(_0x3d3afa,_0x1d4c78);return{'updateAvailable':_0x47b451,'currentVersion':_0x1d4c78,'latestVersion':_0x3d3afa,'channel':_0x166fed};}catch{return null;}}export function displayUpdateNotification(_0x1088a5){const _0x3867ee=a234_0x1ae60d;if(!_0x1088a5[_0x3867ee(0x20f)])return;const _0x105e92=_0x1088a5[_0x3867ee(0x1f8)]==='next'?_0x3867ee(0x201):_0x3867ee(0x1fd),_0x1e4be7=process[_0x3867ee(0x215)][_0x3867ee(0x21c)]&&!process.env.NO_COLOR,_0x579e9c=_0x1e4be7?a234_0x246509['gray']('→'):'→',_0x6276e7=_0x1e4be7?a234_0x246509[_0x3867ee(0x20d)](_0x1088a5['currentVersion']):_0x1088a5[_0x3867ee(0x1ff)],_0x47829a=_0x1e4be7?a234_0x246509[_0x3867ee(0x21b)](_0x1088a5[_0x3867ee(0x202)]):_0x1088a5['latestVersion'],_0x52ad4d=_0x1e4be7?a234_0x246509[_0x3867ee(0x20e)](_0x105e92):_0x105e92,_0x2a72ce=_0x1e4be7?'\x0a'+a234_0x246509[_0x3867ee(0x1fe)](_0x3867ee(0x1f5))+'\x20'+_0x6276e7+'\x20'+_0x579e9c+'\x20'+_0x47829a+'\x0a'+a234_0x246509['dim']('Run:')+'\x20'+_0x52ad4d+'\x0a':'\x0aUpdate\x20available:\x20'+_0x6276e7+'\x20'+_0x579e9c+'\x20'+_0x47829a+_0x3867ee(0x1f3)+_0x52ad4d+'\x0a';process['stderr'][_0x3867ee(0x21f)](_0x2a72ce);}
|