@treasuredata/tdx 2026.4.20 → 2026.4.21
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.d.ts +47 -0
- package/dist/commands/engage-command.d.ts.map +1 -1
- package/dist/commands/engage-command.js +1 -1
- package/dist/commands/engage-command.js.map +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.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.d.ts +50 -1
- package/dist/sdk/client/engage-api-client.d.ts.map +1 -1
- package/dist/sdk/client/engage-api-client.js +1 -1
- package/dist/sdk/client/engage-api-client.js.map +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.d.ts +35 -1
- package/dist/sdk/engage.d.ts.map +1 -1
- package/dist/sdk/engage.js +1 -1
- package/dist/sdk/engage.js.map +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/engage.d.ts +53 -0
- package/dist/sdk/types/engage.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 a236_0x18b3cc=a236_0x4abc;(function(_0x56a3bf,_0x330c8e){const _0x203ddb=a236_0x4abc,_0xf6407d=_0x56a3bf();while(!![]){try{const _0x1a2111=parseInt(_0x203ddb(0x1fb))/0x1*(-parseInt(_0x203ddb(0x210))/0x2)+parseInt(_0x203ddb(0x1ec))/0x3*(parseInt(_0x203ddb(0x1e7))/0x4)+-parseInt(_0x203ddb(0x20e))/0x5+-parseInt(_0x203ddb(0x1f7))/0x6+-parseInt(_0x203ddb(0x209))/0x7+parseInt(_0x203ddb(0x200))/0x8+-parseInt(_0x203ddb(0x202))/0x9*(-parseInt(_0x203ddb(0x1e8))/0xa);if(_0x1a2111===_0x330c8e)break;else _0xf6407d['push'](_0xf6407d['shift']());}catch(_0x252f4f){_0xf6407d['push'](_0xf6407d['shift']());}}}(a236_0x52ec,0x98fa3));import{get}from'https';import{gt,valid}from'semver';import a236_0x31a7d4 from'chalk';import{createGlobalCache}from'./global-cache.js';const CACHE_DURATION_MS=0x18*0x3c*0x3c*0x3e8,NPM_REGISTRY_BASE=a236_0x18b3cc(0x1f9),TIMEOUT_MS=0x7d0,stableVersionCache=createGlobalCache(a236_0x18b3cc(0x20a),a236_0x18b3cc(0x204)),nextVersionCache=createGlobalCache(a236_0x18b3cc(0x1f5),a236_0x18b3cc(0x1f0));function getCacheForChannel(_0x50b6d9){return _0x50b6d9==='next'?nextVersionCache:stableVersionCache;}function readCache(_0x3030e9){const _0x441b7a=a236_0x18b3cc;return getCacheForChannel(_0x3030e9)[_0x441b7a(0x20b)]()??null;}function a236_0x52ec(){const _0x349ebb=['utils/version-check','background','channel','dim','\x0aRun:\x20','2741445FtjFMu','last_version_check','read','now','isTTY','1852860PCPHGh','updateAvailable','5186VsHlkt','Update\x20available:','latest','gray','788MDzzSo','30dDpiag','Request\x20timeout','Run:','tdx\x20upgrade\x20--next','13533RtGqVJ','getTime','stderr','Invalid\x20version\x20format','utils/version-check-next','tdx\x20upgrade','data','unref','HTTP\x20','last_version_check_next','latestVersion','6681336wXgyJG','stable','https://registry.npmjs.org/@treasuredata/tdx','lastCheck','178LlDmXA','socket','yellow','green','statusCode','4689824VAdtsv','next','4467051rCjjXz','currentVersion'];a236_0x52ec=function(){return _0x349ebb;};return a236_0x52ec();}function writeCache(_0x11d1c9,_0x5bbca3){try{getCacheForChannel(_0x5bbca3)['write']({'lastCheck':new Date()['toISOString'](),'latestVersion':_0x11d1c9});}catch{}}function a236_0x4abc(_0x3e9d6f,_0x762fc4){_0x3e9d6f=_0x3e9d6f-0x1e4;const _0x52ecea=a236_0x52ec();let _0x4abc8c=_0x52ecea[_0x3e9d6f];return _0x4abc8c;}function isCacheValid(_0x484851){const _0x13d96d=a236_0x18b3cc;if(!_0x484851)return![];const _0x10092d=new Date(_0x484851[_0x13d96d(0x1fa)])[_0x13d96d(0x1ed)](),_0x4ffe30=Date[_0x13d96d(0x20c)]();return _0x4ffe30-_0x10092d<CACHE_DURATION_MS;}export function fetchLatestVersion(_0x39a503='stable',_0x560d7a){const _0x54a8fa=a236_0x18b3cc,_0xe21beb=_0x560d7a?.[_0x54a8fa(0x205)]??![],_0x3198ae=_0x39a503===_0x54a8fa(0x201)?'next':_0x54a8fa(0x1e5),_0x373a1a=NPM_REGISTRY_BASE+'/'+_0x3198ae;return new Promise((_0x140619,_0x224fd5)=>{const _0x23cfea=_0x54a8fa,_0xc70d1c=get(_0x373a1a,{'timeout':TIMEOUT_MS},_0x1ccf8a=>{const _0x1f95e0=a236_0x4abc;if(_0x1ccf8a[_0x1f95e0(0x1ff)]!==0xc8){clearTimeout(_0x5777e5),_0x224fd5(new Error(_0x1f95e0(0x1f4)+_0x1ccf8a[_0x1f95e0(0x1ff)]));return;}let _0x1abdd9='';_0x1ccf8a['on'](_0x1f95e0(0x1f2),_0xe396b7=>{_0x1abdd9+=_0xe396b7;}),_0x1ccf8a['on']('end',()=>{const _0xcf2cd2=_0x1f95e0;clearTimeout(_0x5777e5);try{const _0x39b724=JSON['parse'](_0x1abdd9);if(!valid(_0x39b724['version'])){_0x224fd5(new Error(_0xcf2cd2(0x1ef)));return;}_0x140619(_0x39b724['version']);}catch(_0xa84e0b){_0x224fd5(_0xa84e0b);}});})['on']('error',_0x132955=>{clearTimeout(_0x5777e5),_0x224fd5(_0x132955);}),_0x5777e5=setTimeout(()=>{const _0x2e743b=a236_0x4abc;_0xc70d1c['destroy'](),_0x224fd5(new Error(_0x2e743b(0x1e9)));},TIMEOUT_MS);_0xe21beb&&(_0xc70d1c['on'](_0x23cfea(0x1fc),_0x37b4b2=>{_0x37b4b2['unref']();}),_0x5777e5[_0x23cfea(0x1f3)]());});}export async function checkForUpdate(_0x25c659,_0x45ebbf=a236_0x18b3cc(0x1f8)){const _0x5e67bb=a236_0x18b3cc;try{const _0x521a44=readCache(_0x45ebbf);if(isCacheValid(_0x521a44)){const _0x36b11d=gt(_0x521a44[_0x5e67bb(0x1f6)],_0x25c659);return{'updateAvailable':_0x36b11d,'currentVersion':_0x25c659,'latestVersion':_0x521a44[_0x5e67bb(0x1f6)],'channel':_0x45ebbf};}const _0x33f44f=await fetchLatestVersion(_0x45ebbf,{'background':!![]});writeCache(_0x33f44f,_0x45ebbf);const _0x175e43=gt(_0x33f44f,_0x25c659);return{'updateAvailable':_0x175e43,'currentVersion':_0x25c659,'latestVersion':_0x33f44f,'channel':_0x45ebbf};}catch{return null;}}export function displayUpdateNotification(_0x17cdd1){const _0x25ff6b=a236_0x18b3cc;if(!_0x17cdd1[_0x25ff6b(0x20f)])return;const _0x2ac0e8=_0x17cdd1[_0x25ff6b(0x206)]===_0x25ff6b(0x201)?_0x25ff6b(0x1eb):_0x25ff6b(0x1f1),_0x45a040=process['stderr'][_0x25ff6b(0x20d)]&&!process.env.NO_COLOR,_0xb1a49a=_0x45a040?a236_0x31a7d4[_0x25ff6b(0x1e6)]('→'):'→',_0x137165=_0x45a040?a236_0x31a7d4[_0x25ff6b(0x207)](_0x17cdd1[_0x25ff6b(0x203)]):_0x17cdd1[_0x25ff6b(0x203)],_0x4b18db=_0x45a040?a236_0x31a7d4[_0x25ff6b(0x1fe)](_0x17cdd1['latestVersion']):_0x17cdd1[_0x25ff6b(0x1f6)],_0x48e25d=_0x45a040?a236_0x31a7d4['cyan'](_0x2ac0e8):_0x2ac0e8,_0x57b9eb=_0x45a040?'\x0a'+a236_0x31a7d4[_0x25ff6b(0x1fd)](_0x25ff6b(0x1e4))+'\x20'+_0x137165+'\x20'+_0xb1a49a+'\x20'+_0x4b18db+'\x0a'+a236_0x31a7d4[_0x25ff6b(0x207)](_0x25ff6b(0x1ea))+'\x20'+_0x48e25d+'\x0a':'\x0aUpdate\x20available:\x20'+_0x137165+'\x20'+_0xb1a49a+'\x20'+_0x4b18db+_0x25ff6b(0x208)+_0x48e25d+'\x0a';process[_0x25ff6b(0x1ee)]['write'](_0x57b9eb);}
|