@treasuredata/tdx 0.26.5 → 0.26.6
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/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/describe.js +1 -1
- package/dist/commands/engage-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/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/use-command.js +1 -1
- package/dist/commands/user-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/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/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/api.js +1 -1
- package/dist/sdk/client/cdp-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/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/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/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/target-resolution.js +1 -1
- package/dist/sdk/segment/tdx-config.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/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/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/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/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/port.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
package/dist/cli.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a2_0x26ecb0=a2_0x30f1;(function(_0x3c371e,_0x1a6335){const _0x565f42=a2_0x30f1,_0xcb34cd=_0x3c371e();while(!![]){try{const _0xc1d49f=parseInt(_0x565f42(0x418))/0x1+-parseInt(_0x565f42(0x420))/0x2+-parseInt(_0x565f42(0x250))/0x3*(parseInt(_0x565f42(0x21b))/0x4)+-parseInt(_0x565f42(0x31b))/0x5*(parseInt(_0x565f42(0x2cf))/0x6)+-parseInt(_0x565f42(0x361))/0x7+parseInt(_0x565f42(0x224))/0x8+parseInt(_0x565f42(0x41f))/0x9;if(_0xc1d49f===_0x1a6335)break;else _0xcb34cd['push'](_0xcb34cd['shift']());}catch(_0x244b10){_0xcb34cd['push'](_0xcb34cd['shift']());}}}(a2_0x1f8c,0xba6fe));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x26ecb0(0x445)][a2_0x26ecb0(0x271)](a2_0x26ecb0(0x35a))){let versionOutput=a2_0x26ecb0(0x2f8)+currentVersion;buildInfo[a2_0x26ecb0(0x25b)]&&!currentVersion[a2_0x26ecb0(0x271)](buildInfo['gitRevision'])&&(versionOutput+='\x20('+buildInfo[a2_0x26ecb0(0x25b)]+')'),buildInfo[a2_0x26ecb0(0x3a3)]&&(versionOutput+=a2_0x26ecb0(0x2ae)+buildInfo['buildTime']),console[a2_0x26ecb0(0x316)](versionOutput),process[a2_0x26ecb0(0x2db)](0x0);}function a2_0x30f1(_0x637863,_0x1adc07){_0x637863=_0x637863-0x1e3;const _0x1f8c25=a2_0x1f8c();let _0x30f17c=_0x1f8c25[_0x637863];return _0x30f17c;}const program=new Command();let showBriefHelp=![],description=a2_0x26ecb0(0x414);buildInfo['gitRevision']&&!currentVersion['includes'](buildInfo[a2_0x26ecb0(0x25b)])?description+=a2_0x26ecb0(0x22d)+currentVersion+'\x20('+buildInfo['gitRevision']+')':description+=a2_0x26ecb0(0x22d)+currentVersion;program[a2_0x26ecb0(0x469)](a2_0x26ecb0(0x21a))[a2_0x26ecb0(0x26f)](description),program['option'](a2_0x26ecb0(0x2ca),'Change\x20to\x20directory\x20before\x20executing\x20command')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x203),'Profile\x20to\x20use\x20(overrides\x20active\x20profile)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3c1),'TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','us01')['option']('--format\x20<format>','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)')['option'](a2_0x26ecb0(0x39a),'Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x36f),a2_0x26ecb0(0x33f))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x277),a2_0x26ecb0(0x25a))['option'](a2_0x26ecb0(0x2ad),a2_0x26ecb0(0x2d2))['option']('--output\x20<file>','Save\x20output\x20to\x20file')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2bb),a2_0x26ecb0(0x39c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x286),a2_0x26ecb0(0x466),![])[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2af),a2_0x26ecb0(0x1fb),![])[a2_0x26ecb0(0x302)]('-v,\x20--verbose',a2_0x26ecb0(0x441),![])[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x37c),'Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3bd),a2_0x26ecb0(0x317))[a2_0x26ecb0(0x302)]('--timeout\x20<seconds>','Set\x20operation\x20timeout\x20in\x20seconds','30')[a2_0x26ecb0(0x302)]('--dry-run',a2_0x26ecb0(0x3a0),![])[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x1f0),![])['option'](a2_0x26ecb0(0x406),a2_0x26ecb0(0x305))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x23f),'Database\x20to\x20use\x20(overrides\x20context)')['option'](a2_0x26ecb0(0x38b),a2_0x26ecb0(0x2c0))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f0),'Parent\x20segment\x20to\x20use\x20(overrides\x20context)')[a2_0x26ecb0(0x302)]('--llm-project\x20<name>',a2_0x26ecb0(0x256)),program[a2_0x26ecb0(0x35b)]({'formatHelp':(_0x50e3b5,_0x40c169)=>{const _0x2c690a=a2_0x26ecb0,_0x7fb278=_0x40c169['padWidth'](_0x50e3b5,_0x40c169),_0x3f42a3=0x2,_0x55a696=0x2;function _0x5e2eb1(_0x280864){const _0x5726b1=a2_0x30f1,_0x1bf0fa=_0x280864;return!!(_0x1bf0fa['_hidden']||_0x1bf0fa[_0x5726b1(0x255)]);}function _0x3e1e7d(_0x4d7950,_0x225a0e){const _0x554965=a2_0x30f1;if(_0x225a0e){const _0x43d22e=''+_0x4d7950[_0x554965(0x1f8)](_0x7fb278+_0x55a696)+_0x225a0e;return _0x43d22e;}return _0x4d7950;}function _0x2dea2b(_0x5edcae){const _0x4a57a5=a2_0x30f1;return _0x5edcae[_0x4a57a5(0x26a)]('\x0a')['replace'](/^/gm,'\x20'[_0x4a57a5(0x326)](_0x3f42a3));}const _0x2a5fc7=[];_0x2a5fc7[_0x2c690a(0x210)](_0x2c690a(0x3da)+_0x40c169[_0x2c690a(0x41d)](_0x50e3b5));const _0x57b088=_0x40c169[_0x2c690a(0x205)](_0x50e3b5);_0x57b088&&(_0x2a5fc7['push'](''),_0x2a5fc7[_0x2c690a(0x210)](_0x57b088));const _0x448cf3=_0x50e3b5[_0x2c690a(0x348)][_0x2c690a(0x45c)](_0x57037a=>!_0x5e2eb1(_0x57037a));if(_0x448cf3[_0x2c690a(0x26b)]>0x0){if(_0x50e3b5['name']()===_0x2c690a(0x21a)){const _0x30acf4=_0x50e3b5[_0x2c690a(0x2f6)](),_0x30644c=!_0x30acf4[_0x2c690a(0x358)]&&process[_0x2c690a(0x2f2)][_0x2c690a(0x338)],_0x253f32=COMMAND_CATEGORIES,_0x1714be=(_0x16600f,_0x408c98)=>_0x30644c?_0x408c98(_0x16600f):_0x16600f,_0x35cf99=new Map();_0x448cf3[_0x2c690a(0x290)](_0x1c7ff9=>{const _0x2d08e5=_0x2c690a;_0x35cf99[_0x2d08e5(0x38d)](_0x1c7ff9[_0x2d08e5(0x469)](),_0x1c7ff9);}),_0x253f32[_0x2c690a(0x290)](_0x5674fb=>{const _0x4a8570=_0x2c690a,_0x3cb064=_0x5674fb['commands'][_0x4a8570(0x1f4)](_0x250a84=>_0x35cf99[_0x4a8570(0x2f4)](_0x250a84)??[]);if(_0x3cb064[_0x4a8570(0x26b)]>0x0){_0x2a5fc7[_0x4a8570(0x210)](''),_0x2a5fc7[_0x4a8570(0x210)](_0x1714be(_0x5674fb[_0x4a8570(0x469)]+':',_0x5674fb['colorFn']));const _0x394699=_0x3cb064[_0x4a8570(0x315)](_0x1efe4e=>{const _0x2c2a3f=_0x4a8570,_0x396a57=_0x40c169[_0x2c2a3f(0x24c)](_0x1efe4e),_0x4a4bf1=_0x40c169[_0x2c2a3f(0x204)](_0x1efe4e);return _0x3e1e7d(_0x396a57,_0x4a4bf1);});_0x2a5fc7['push'](_0x2dea2b(_0x394699));}}),_0x2a5fc7[_0x2c690a(0x210)](''),_0x2a5fc7[_0x2c690a(0x210)](_0x2c690a(0x1ee));}else{const _0x162bea=_0x448cf3[_0x2c690a(0x315)](_0x39a11f=>{const _0x4cfa5b=_0x2c690a,_0x348320=_0x40c169[_0x4cfa5b(0x24c)](_0x39a11f),_0x57c9e1=_0x40c169['subcommandDescription'](_0x39a11f);return _0x3e1e7d(_0x348320,_0x57c9e1);});_0x2a5fc7[_0x2c690a(0x210)](''),_0x2a5fc7['push'](_0x2c690a(0x397)),_0x2a5fc7[_0x2c690a(0x210)](_0x2dea2b(_0x162bea));}}if(showBriefHelp&&_0x50e3b5['name']()===_0x2c690a(0x21a))_0x2a5fc7[_0x2c690a(0x210)](''),_0x2a5fc7[_0x2c690a(0x210)]('Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version');else{const _0x37c278=_0x50e3b5[_0x2c690a(0x42b)][_0x2c690a(0x45c)](_0x40e65f=>!_0x5e2eb1(_0x40e65f));if(_0x37c278[_0x2c690a(0x26b)]>0x0){const _0x402122=_0x37c278[_0x2c690a(0x315)](_0xd06b4=>{const _0x4bba67=_0x2c690a,_0x50629f=_0x40c169['optionTerm'](_0xd06b4),_0x2944b8=_0x40c169[_0x4bba67(0x2d4)](_0xd06b4);return _0x3e1e7d(_0x50629f,_0x2944b8);});_0x2a5fc7[_0x2c690a(0x210)](''),_0x2a5fc7[_0x2c690a(0x210)](_0x2c690a(0x460)),_0x2a5fc7['push'](_0x2dea2b(_0x402122));}}const _0x42d8a0=(_0x50e3b5[_0x2c690a(0x314)]||[])['filter'](_0x250a6d=>!_0x5e2eb1(_0x250a6d));if(_0x42d8a0['length']>0x0){const _0x57411e=_0x42d8a0[_0x2c690a(0x315)](_0x8ce076=>{const _0x1c51a2=_0x2c690a,_0x4beeeb=_0x40c169[_0x1c51a2(0x270)](_0x8ce076),_0x14b9da=_0x40c169[_0x1c51a2(0x1fc)](_0x8ce076);return _0x3e1e7d(_0x4beeeb,_0x14b9da);});_0x2a5fc7[_0x2c690a(0x210)](''),_0x2a5fc7[_0x2c690a(0x210)]('Arguments:'),_0x2a5fc7[_0x2c690a(0x210)](_0x2dea2b(_0x57411e));}return _0x2a5fc7['join']('\x0a')+'\x0a';},'subcommandTerm':_0x23f87c=>{const _0x49a41d=a2_0x26ecb0,_0x3fab19=(_0x23f87c[_0x49a41d(0x314)]||[])[_0x49a41d(0x315)](_0x20450c=>_0x20450c[_0x49a41d(0x416)]?'<'+_0x20450c[_0x49a41d(0x469)]()+'>':'['+_0x20450c[_0x49a41d(0x469)]()+']')[_0x49a41d(0x26a)]('\x20'),_0x53b3d8=_0x23f87c['aliases'](),_0x63afe=_0x53b3d8[_0x49a41d(0x26b)]>0x0?_0x23f87c[_0x49a41d(0x469)]()+',\x20'+_0x53b3d8[_0x49a41d(0x26a)](',\x20'):_0x23f87c['name']();return _0x3fab19?_0x63afe+'\x20'+_0x3fab19:_0x63afe;}}),program[a2_0x26ecb0(0x20e)](a2_0x26ecb0(0x2d7),_0x5186e3=>{const _0x2e554d=a2_0x26ecb0,_0x6ce5e5=_0x5186e3[_0x2e554d(0x2f6)]();if(_0x6ce5e5[_0x2e554d(0x45a)]){const _0x1d40ed=resolve(_0x6ce5e5[_0x2e554d(0x45a)]),_0x11f5da=_0x1d40ed!==_0x6ce5e5[_0x2e554d(0x45a)]?_0x2e554d(0x2c4)+_0x1d40ed+')':'';if(!existsSync(_0x1d40ed))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x2e554d(0x3c3)+_0x6ce5e5[_0x2e554d(0x45a)]+_0x11f5da,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x5f0503=statSync(_0x1d40ed);if(!_0x5f0503[_0x2e554d(0x331)]())throw new SDKError(ErrorCode[_0x2e554d(0x3c4)],_0x2e554d(0x321)+_0x6ce5e5[_0x2e554d(0x45a)]+_0x11f5da,undefined,{'helpText':_0x2e554d(0x1f7)});process[_0x2e554d(0x259)](_0x1d40ed);}if(!_0x6ce5e5['format']){if(_0x6ce5e5[_0x2e554d(0x36a)])_0x6ce5e5[_0x2e554d(0x2c3)]=_0x2e554d(0x36a);else{if(_0x6ce5e5['json'])_0x6ce5e5[_0x2e554d(0x2c3)]='json';else{if(_0x6ce5e5[_0x2e554d(0x381)])_0x6ce5e5[_0x2e554d(0x2c3)]=_0x2e554d(0x381);else _0x6ce5e5['tsv']&&(_0x6ce5e5[_0x2e554d(0x2c3)]=_0x2e554d(0x24b));}}}_0x6ce5e5['in']&&!_0x6ce5e5[_0x2e554d(0x325)]&&(_0x6ce5e5[_0x2e554d(0x325)]=_0x6ce5e5['in']);if(_0x6ce5e5[_0x2e554d(0x230)])_0x6ce5e5[_0x2e554d(0x463)]=LogLevel[_0x2e554d(0x342)];else{if(_0x6ce5e5[_0x2e554d(0x244)])_0x6ce5e5['logLevel']=LogLevel[_0x2e554d(0x356)];else _0x6ce5e5[_0x2e554d(0x463)]===undefined&&(_0x6ce5e5[_0x2e554d(0x463)]=LogLevel[_0x2e554d(0x44b)]);}});async function createTDXInstance(_0x1afcfc){const _0x4bfaf1=a2_0x26ecb0,_0x31278a=await GlobalContext[_0x4bfaf1(0x35f)](_0x1afcfc);return _0x31278a[_0x4bfaf1(0x3ec)](_0x1afcfc),TDX[_0x4bfaf1(0x308)]({'site':_0x31278a[_0x4bfaf1(0x301)],'apiKey':_0x31278a[_0x4bfaf1(0x399)],'logLevel':_0x31278a[_0x4bfaf1(0x463)],'profile':_0x31278a['profile']});}const databaseCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x325))['alias']('db')[a2_0x26ecb0(0x26f)]('Database\x20management\x20commands'),databaseListAction=async(_0x519aa3,_0x3e7c5c)=>{const _0xdb705d=new DatabasesCommand(),_0x1af148=program['opts'](),_0x41d192=await createTDXInstance(_0x1af148),_0x93c82e=await _0xdb705d['run']({'options':{..._0x1af148,..._0x3e7c5c},'args':_0x519aa3?[_0x519aa3]:[],'tdx':_0x41d192});gracefulExit(_0x93c82e);};databaseCmd['command']('list\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x343))[a2_0x26ecb0(0x40e)](databaseListAction),program[a2_0x26ecb0(0x3bc)]('databases\x20[pattern]',{'hidden':!![]})['description'](a2_0x26ecb0(0x221))[a2_0x26ecb0(0x40e)](databaseListAction),program['command'](a2_0x26ecb0(0x2aa))['description'](a2_0x26ecb0(0x44d))[a2_0x26ecb0(0x302)]('--agent\x20<ref>',a2_0x26ecb0(0x347))[a2_0x26ecb0(0x302)]('--new','Start\x20a\x20new\x20chat\x20session')['option'](a2_0x26ecb0(0x324),a2_0x26ecb0(0x368))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x364),a2_0x26ecb0(0x267))[a2_0x26ecb0(0x40e)](async(_0x121ac1,_0x340b4e)=>{const _0x4e4206=a2_0x26ecb0,_0x137762=program['opts'](),_0x111a5=await createTDXInstance(_0x137762);if(_0x121ac1[0x0]===_0x4e4206(0x308)){const _0x920d0=new ChatCreateCommand();gracefulExit(await _0x920d0[_0x4e4206(0x3ea)]({'options':{..._0x137762,..._0x340b4e},'args':_0x121ac1['slice'](0x1),'tdx':_0x111a5}));return;}const _0xf4b218=new ChatCommand(),_0x2e6387=await _0xf4b218['run']({'options':{..._0x137762,..._0x340b4e},'args':_0x121ac1,'tdx':_0x111a5});gracefulExit(_0x2e6387);});const apiCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2a9))[a2_0x26ecb0(0x307)](a2_0x26ecb0(0x2e0))[a2_0x26ecb0(0x39d)](a2_0x26ecb0(0x3d8),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x239),'HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)',a2_0x26ecb0(0x23a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x394),a2_0x26ecb0(0x407))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x231),a2_0x26ecb0(0x20f))[a2_0x26ecb0(0x302)]('-H,\x20--header\x20<header>',a2_0x26ecb0(0x274),(_0x170fcc,_0x33a11e)=>{return _0x33a11e?[..._0x33a11e,_0x170fcc]:[_0x170fcc];})['option'](a2_0x26ecb0(0x1ff),'API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','td')[a2_0x26ecb0(0x40e)](async(_0x2e77bb,_0x248ce5)=>{const _0x41db8c=a2_0x26ecb0;if(!_0x2e77bb){apiCmd[_0x41db8c(0x46d)]();return;}const _0x39e54a=new ApiCommand(),_0xe81b73=program['opts'](),_0x482e10=await createTDXInstance(_0xe81b73),_0x465b73=await _0x39e54a['run']({'options':{..._0xe81b73,..._0x248ce5},'args':[_0x2e77bb],'tdx':_0x482e10});gracefulExit(_0x465b73);});program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x389))[a2_0x26ecb0(0x26f)]('Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration')[a2_0x26ecb0(0x39d)](a2_0x26ecb0(0x3d8),a2_0x26ecb0(0x35d))[a2_0x26ecb0(0x40e)](async _0x1bab42=>{const _0x1b03e1=a2_0x26ecb0,_0x554002=new MCPCommand(),_0x3a6eec=program['opts'](),_0x47cf14=await createTDXInstance(_0x3a6eec),_0x4de2ad=await _0x554002[_0x1b03e1(0x3ea)]({'options':{..._0x3a6eec,..._0x1bab42},'args':[],'tdx':_0x47cf14});gracefulExit(_0x4de2ad);});const tableCmd=program['command'](a2_0x26ecb0(0x36a))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x450)),tableListAction=async(_0x25040d,_0x37988b)=>{const _0xc04ad5=a2_0x26ecb0,_0x3a10b3=new TablesCommand(),_0x514a85=program[_0xc04ad5(0x2f6)](),_0x27997e=await createTDXInstance(_0x514a85);_0x37988b['in']&&(_0x37988b[_0xc04ad5(0x325)]=_0x37988b['in']);const _0x3a2fa6=await _0x3a10b3[_0xc04ad5(0x3ea)]({'options':{..._0x514a85,..._0x37988b},'args':_0x25040d?[_0x25040d]:[],'tdx':_0x27997e});gracefulExit(_0x3a2fa6);};tableCmd[a2_0x26ecb0(0x3bc)]('list\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x432))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x454),a2_0x26ecb0(0x39b))[a2_0x26ecb0(0x302)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x26ecb0(0x40e)](tableListAction),program[a2_0x26ecb0(0x3bc)]('tables\x20[pattern]',{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x220))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x454),'Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)')[a2_0x26ecb0(0x302)]('--in\x20<database>',a2_0x26ecb0(0x2c0))[a2_0x26ecb0(0x40e)](tableListAction),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x287))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x38a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x454),a2_0x26ecb0(0x385))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x233),a2_0x26ecb0(0x2c0))[a2_0x26ecb0(0x40e)](async(_0xddfeb,_0x2d6a74)=>{const _0x58a6cf=a2_0x26ecb0,_0xb9935e=new ShowCommand(),_0x4c4a37=program[_0x58a6cf(0x2f6)](),_0x575873=await createTDXInstance(_0x4c4a37);_0x2d6a74['in']&&(_0x2d6a74[_0x58a6cf(0x325)]=_0x2d6a74['in']);const _0x3f4b79=await _0xb9935e[_0x58a6cf(0x3ea)]({'options':{..._0x4c4a37,..._0x2d6a74},'args':_0xddfeb?[_0xddfeb]:[],'tdx':_0x575873});gracefulExit(_0x3f4b79);}),program['command']('describe\x20[table]')['alias'](a2_0x26ecb0(0x345))['description']('Describe\x20table\x20schema')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x454),a2_0x26ecb0(0x385))['option']('--in\x20<database>',a2_0x26ecb0(0x2c0))[a2_0x26ecb0(0x40e)](async(_0x95cff4,_0x5b39e9)=>{const _0x543039=new DescribeCommand(),_0x4de8e7=program['opts'](),_0x3fa20f=await createTDXInstance(_0x4de8e7);_0x5b39e9['in']&&(_0x5b39e9['database']=_0x5b39e9['in']);const _0x28dea3=await _0x543039['run']({'options':{..._0x4de8e7,..._0x5b39e9},'args':_0x95cff4?[_0x95cff4]:[],'tdx':_0x3fa20f});gracefulExit(_0x28dea3);}),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x29b))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x464))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x454),a2_0x26ecb0(0x440))['option'](a2_0x26ecb0(0x233),a2_0x26ecb0(0x2c0))[a2_0x26ecb0(0x302)]('--catalog\x20<catalog>',a2_0x26ecb0(0x44a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x231),'Read\x20SQL\x20query\x20from\x20file')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x40c),'Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','40')[a2_0x26ecb0(0x40e)](async(_0x2f0f9a,_0x1db30c)=>{const _0x4c48c3=a2_0x26ecb0,_0x5ae440=new QueryCommand(),_0xea6a7c=program[_0x4c48c3(0x2f6)](),_0x4c572b=await createTDXInstance(_0xea6a7c);_0x1db30c['in']&&(_0x1db30c[_0x4c48c3(0x325)]=_0x1db30c['in']);const _0x1a3932=await _0x5ae440[_0x4c48c3(0x3ea)]({'options':{..._0xea6a7c,..._0x1db30c},'args':_0x2f0f9a?[_0x2f0f9a]:[],'tdx':_0x4c572b});gracefulExit(_0x1a3932);});const segmentCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x219))[a2_0x26ecb0(0x34e)]('sg')[a2_0x26ecb0(0x26f)]('CDP\x20segment\x20management\x20commands'),segmentListAction=async(_0x52908b,_0x2ee5b1)=>{const _0x386f21=a2_0x26ecb0,_0x4705c1=new SegmentsCommand(),_0xaa2d45=program[_0x386f21(0x2f6)](),_0x392ac6=await createTDXInstance(_0xaa2d45),_0x46d9db=await _0x4705c1[_0x386f21(0x3ea)]({'options':{..._0xaa2d45,..._0x2ee5b1},'args':_0x52908b?[_0x52908b]:[],'tdx':_0x392ac6});gracefulExit(_0x46d9db);};segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2fc))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2f5))[a2_0x26ecb0(0x302)]('-r,\x20--recursive',a2_0x26ecb0(0x2b0))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x468),a2_0x26ecb0(0x318),'10')[a2_0x26ecb0(0x40e)](segmentListAction),program['command'](a2_0x26ecb0(0x2dd),{'hidden':!![]})['description'](a2_0x26ecb0(0x395))[a2_0x26ecb0(0x302)]('-r,\x20--recursive',a2_0x26ecb0(0x2b0))['option']('--max-depth\x20<depth>',a2_0x26ecb0(0x318),'10')[a2_0x26ecb0(0x40e)](segmentListAction),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3eb),{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2ef))[a2_0x26ecb0(0x40e)](async(_0x5f444c,_0x23ac21)=>{const _0x5dea11=a2_0x26ecb0,_0x5a2665=new SegmentUseCommand(),_0x900d6d=program[_0x5dea11(0x2f6)](),_0x2636eb=await createTDXInstance(_0x900d6d),_0x539a22=await _0x5a2665[_0x5dea11(0x3ea)]({'options':{..._0x900d6d,..._0x23ac21},'args':[_0x5f444c],'tdx':_0x2636eb});gracefulExit(_0x539a22);});const segmentViewAction=async(_0x5b68b7,_0x4d2b04)=>{const _0x5e2ac9=a2_0x26ecb0,_0x54575b=new SegmentViewCommand(),_0x1e4128=program[_0x5e2ac9(0x2f6)](),_0x44128f=await createTDXInstance(_0x1e4128),_0x1e1798=await _0x54575b[_0x5e2ac9(0x3ea)]({'options':{..._0x1e4128,..._0x4d2b04},'args':_0x5b68b7?[_0x5b68b7]:[],'tdx':_0x44128f});gracefulExit(_0x1e1798);};segmentCmd[a2_0x26ecb0(0x3bc)]('view\x20[segment_name]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x23c))['option'](a2_0x26ecb0(0x3fd),a2_0x26ecb0(0x241))['action'](segmentViewAction),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x340),{'hidden':!![]})[a2_0x26ecb0(0x34e)]('describe')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3fd),a2_0x26ecb0(0x241))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1f2))[a2_0x26ecb0(0x40e)](segmentViewAction),segmentCmd['command'](a2_0x26ecb0(0x234))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x299))[a2_0x26ecb0(0x40e)](async(_0x4bc63d,_0x147e2b)=>{const _0x2b31c4=a2_0x26ecb0,_0x43a4ce=new SegmentDescCommand(),_0x3acdae=program[_0x2b31c4(0x2f6)](),_0x3eda6d=await createTDXInstance(_0x3acdae),_0x320679=await _0x43a4ce['run']({'options':{..._0x3acdae,..._0x147e2b},'args':_0x4bc63d?[_0x4bc63d]:[],'tdx':_0x3eda6d});gracefulExit(_0x320679);}),segmentCmd[a2_0x26ecb0(0x3bc)]('show\x20[segment_name]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x249))[a2_0x26ecb0(0x40e)](async(_0x82610e,_0x409e8b)=>{const _0x1e506c=a2_0x26ecb0,_0x134fe2=new SegmentShowCommand(),_0x537cb2=program[_0x1e506c(0x2f6)](),_0x55574e=await createTDXInstance(_0x537cb2),_0x187f05=await _0x134fe2['run']({'options':{..._0x537cb2,..._0x409e8b},'args':_0x82610e?[_0x82610e]:[],'tdx':_0x55574e});gracefulExit(_0x187f05);}),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x386),{'hidden':!![]})[a2_0x26ecb0(0x26f)]('[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)')[a2_0x26ecb0(0x40e)](async(_0x3f7f45,_0x3ed8a0)=>{const _0x3141c2=a2_0x26ecb0,_0x2acf47=new SegmentFolderListCommand(),_0x407816=program['opts'](),_0x470657=await createTDXInstance(_0x407816),_0x39af94=await _0x2acf47[_0x3141c2(0x3ea)]({'options':{..._0x407816,..._0x3ed8a0},'args':[_0x3f7f45],'tdx':_0x470657});gracefulExit(_0x39af94);});const folderCmd=segmentCmd['command'](a2_0x26ecb0(0x403),{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x292));folderCmd[a2_0x26ecb0(0x3bc)]('show\x20<folder_ref>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x226))['action'](async(_0x468baf,_0xf76ffc)=>{const _0x55c650=a2_0x26ecb0,_0x8655fa=new SegmentFolderShowCommand(),_0x4dfaec=program[_0x55c650(0x2f6)](),_0x4f9447=await createTDXInstance(_0x4dfaec),_0xab468b=await _0x8655fa[_0x55c650(0x3ea)]({'options':{..._0x4dfaec,..._0xf76ffc},'args':[_0x468baf],'tdx':_0x4f9447});gracefulExit(_0xab468b);}),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x355))['description'](a2_0x26ecb0(0x2ea))[a2_0x26ecb0(0x40e)](async(_0x11c5b3,_0x24a62e)=>{const _0x42760e=a2_0x26ecb0,_0x121644=new SegmentSQLCommand(),_0x4a8733=program[_0x42760e(0x2f6)](),_0x760510=await createTDXInstance(_0x4a8733),_0x2d182e=await _0x121644['run']({'options':{..._0x4a8733,..._0x24a62e},'args':_0x11c5b3?[_0x11c5b3]:[],'tdx':_0x760510});gracefulExit(_0x2d182e);}),segmentCmd[a2_0x26ecb0(0x3bc)]('fields\x20[parent_name]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x28d))[a2_0x26ecb0(0x40e)](async(_0x323a48,_0x2cc2fe)=>{const _0x107d3b=a2_0x26ecb0,_0x3fa607=new SegmentFieldsCommand(),_0x59879b=program[_0x107d3b(0x2f6)](),_0x578977=await createTDXInstance(_0x59879b),_0x635938=await _0x3fa607[_0x107d3b(0x3ea)]({'options':{..._0x59879b,..._0x2cc2fe},'args':_0x323a48?[_0x323a48]:[],'tdx':_0x578977});gracefulExit(_0x635938);}),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x341))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3fc))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x1f0))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x3df))[a2_0x26ecb0(0x40e)](async(_0x430a94,_0x412667)=>{const _0x25fb17=a2_0x26ecb0,_0x26a01a=new SegmentPullCommand(),_0x209c1f=program[_0x25fb17(0x2f6)](),_0x396d48=await createTDXInstance(_0x209c1f),_0x4518ff=await _0x26a01a[_0x25fb17(0x3ea)]({'options':{..._0x209c1f,..._0x412667},'args':_0x430a94?[_0x430a94]:[],'tdx':_0x396d48});gracefulExit(_0x4518ff);}),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x377))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1e3))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),'Skip\x20confirmation\x20prompts')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x3df))['option']('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x26ecb0(0x40e)](async(_0x136fe2,_0x1a7e01)=>{const _0x4b6d0c=a2_0x26ecb0,_0x4fc3a9=new SegmentPushCommand(),_0x142240=program[_0x4b6d0c(0x2f6)](),_0x5a37ff=await createTDXInstance(_0x142240),_0x29d361=await _0x4fc3a9['run']({'options':{..._0x142240,..._0x1a7e01},'args':_0x136fe2?[_0x136fe2]:[],'tdx':_0x5a37ff});gracefulExit(_0x29d361);}),segmentCmd[a2_0x26ecb0(0x3bc)]('validate\x20[target]')['description']('Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally')[a2_0x26ecb0(0x40e)](async(_0x2267f2,_0xc70a77)=>{const _0x471ced=a2_0x26ecb0,_0x20de10=new SegmentValidateCommand(),_0x30e809=program[_0x471ced(0x2f6)](),_0xe9fd93=await createTDXInstance(_0x30e809),_0x43d2eb=await _0x20de10[_0x471ced(0x3ea)]({'options':{..._0x30e809,..._0xc70a77},'args':_0x2267f2?[_0x2267f2]:[],'tdx':_0xe9fd93});gracefulExit(_0x43d2eb);}),segmentCmd[a2_0x26ecb0(0x3bc)]('create\x20<segment_name>',{'hidden':!![]})[a2_0x26ecb0(0x26f)]('[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)')[a2_0x26ecb0(0x302)]('--description\x20<text>',a2_0x26ecb0(0x27a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2be),'Filtering\x20rule\x20as\x20JSON\x20string')[a2_0x26ecb0(0x302)]('--rule-file\x20<file>','Filtering\x20rule\x20from\x20JSON\x20file')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3c2),a2_0x26ecb0(0x3b6))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x38e),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x435),'Make\x20segment\x20invisible\x20(default:\x20visible)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x295),a2_0x26ecb0(0x2fa))[a2_0x26ecb0(0x40e)](async(_0x453c20,_0x12c950)=>{const _0x34d0b6=a2_0x26ecb0,_0x400d42=new SegmentCreateCommand(),_0x4acd2e=program[_0x34d0b6(0x2f6)](),_0x227629=await createTDXInstance(_0x4acd2e),_0x3fffcc=await _0x400d42[_0x34d0b6(0x3ea)]({'options':{..._0x4acd2e,..._0x12c950},'args':[_0x453c20],'tdx':_0x227629});gracefulExit(_0x3fffcc);}),segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2ff),{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x45e))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x327),a2_0x26ecb0(0x34c))[a2_0x26ecb0(0x302)]('--description\x20<text>',a2_0x26ecb0(0x3e6))['option'](a2_0x26ecb0(0x2be),a2_0x26ecb0(0x434))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x401),'Updated\x20filtering\x20rule\x20from\x20JSON\x20file')['option'](a2_0x26ecb0(0x3c2),a2_0x26ecb0(0x24a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x38e),a2_0x26ecb0(0x3c5))[a2_0x26ecb0(0x40e)](async(_0x33e680,_0x4fc823)=>{const _0xcfca81=a2_0x26ecb0,_0x59b10e=new SegmentUpdateCommand(),_0x2b0f24=program[_0xcfca81(0x2f6)](),_0x1389d6=await createTDXInstance(_0x2b0f24),_0x30a37e=await _0x59b10e[_0xcfca81(0x3ea)]({'options':{..._0x2b0f24,..._0x4fc823},'args':[_0x33e680],'tdx':_0x1389d6});gracefulExit(_0x30a37e);});const parentCmd=segmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x272),{'hidden':!![]})[a2_0x26ecb0(0x26f)]('[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead'),parentListAction=async(_0x25738a,_0x53cc6a)=>{const _0x161a99=a2_0x26ecb0,_0x37a5ea=new ParentSegmentListCommand(),_0x2d531b=program[_0x161a99(0x2f6)](),_0x3287ca=await createTDXInstance(_0x2d531b),_0x2027d2=await _0x37a5ea[_0x161a99(0x3ea)]({'options':{..._0x2d531b,..._0x53cc6a},'args':_0x25738a?[_0x25738a]:[],'tdx':_0x3287ca});gracefulExit(_0x2027d2);};parentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2a0))[a2_0x26ecb0(0x40e)](parentListAction),segmentCmd[a2_0x26ecb0(0x3bc)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x443))[a2_0x26ecb0(0x40e)](parentListAction),parentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x291))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x405))['option'](a2_0x26ecb0(0x2ec),a2_0x26ecb0(0x3d3))['option'](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0x562228,_0xc98f9f)=>{const _0x3b25fb=a2_0x26ecb0,_0x37b32b=new ParentSegmentPullCommand(),_0x479f16=program['opts'](),_0x3a38f4=await createTDXInstance(_0x479f16),_0x82b5f9=await _0x37b32b[_0x3b25fb(0x3ea)]({'options':{..._0x479f16,..._0xc98f9f},'args':_0x562228?[_0x562228]:[],'tdx':_0x3a38f4});gracefulExit(_0x82b5f9);}),parentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x311))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2c1))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0x2121f3,_0x1a109a)=>{const _0x399963=a2_0x26ecb0,_0x23c076=new ParentSegmentPushCommand(),_0xa21af5=program[_0x399963(0x2f6)](),_0xb69c87=await createTDXInstance(_0xa21af5),_0x40eaaa=await _0x23c076[_0x399963(0x3ea)]({'options':{..._0xa21af5,..._0x1a109a},'args':_0x2121f3?[_0x2121f3]:[],'tdx':_0xb69c87});gracefulExit(_0x40eaaa);}),parentCmd['command'](a2_0x26ecb0(0x23d))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1e5))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x236),a2_0x26ecb0(0x3cf))[a2_0x26ecb0(0x302)]('--attribute\x20[name]',a2_0x26ecb0(0x2f1))[a2_0x26ecb0(0x302)]('--behavior\x20[name]',a2_0x26ecb0(0x442))['option'](a2_0x26ecb0(0x276),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x34d),a2_0x26ecb0(0x382),a2_0x26ecb0(0x1ec))[a2_0x26ecb0(0x40e)](async(_0x1cd529,_0x451387)=>{const _0x279aa1=a2_0x26ecb0,_0xbd0eb5=new ParentSegmentValidateCommand(),_0x3cff1d=program[_0x279aa1(0x2f6)](),_0x1644f3=await createTDXInstance(_0x3cff1d),_0x5542d0=await _0xbd0eb5[_0x279aa1(0x3ea)]({'options':{..._0x3cff1d,..._0x451387},'args':_0x1cd529?[_0x1cd529]:[],'tdx':_0x1644f3});gracefulExit(_0x5542d0);}),parentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x257))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3c9))['option'](a2_0x26ecb0(0x236),a2_0x26ecb0(0x353))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x30d),a2_0x26ecb0(0x24f))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x25d),a2_0x26ecb0(0x2d1))[a2_0x26ecb0(0x302)]('--enriched',a2_0x26ecb0(0x3b1))['option']('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x26ecb0(0x40e)](async(_0x22cced,_0x277cd5)=>{const _0x28edf1=a2_0x26ecb0,_0x35fe58=new ParentSegmentPreviewCommand(),_0x953756=program[_0x28edf1(0x2f6)](),_0x3e31e9=await createTDXInstance(_0x953756),_0xdaf569=await _0x35fe58['run']({'options':{..._0x953756,..._0x277cd5},'args':_0x22cced?[_0x22cced]:[],'tdx':_0x3e31e9});gracefulExit(_0xdaf569);}),parentCmd['command'](a2_0x26ecb0(0x2ed))[a2_0x26ecb0(0x26f)]('Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)')[a2_0x26ecb0(0x302)]('-y,\x20--yes',a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0x1f110a,_0x3d4b80)=>{const _0x1d3479=a2_0x26ecb0,_0x3585a2=new ParentSegmentRunCommand(),_0x5d7d50=program[_0x1d3479(0x2f6)](),_0x4c1c81=await createTDXInstance(_0x5d7d50),_0x5e21d4=await _0x3585a2[_0x1d3479(0x3ea)]({'options':{..._0x5d7d50,..._0x3d4b80},'args':_0x1f110a?[_0x1f110a]:[],'tdx':_0x4c1c81});gracefulExit(_0x5e21d4);});const parentSegmentCmd=program['command'](a2_0x26ecb0(0x3b8))['alias']('ps')[a2_0x26ecb0(0x26f)]('Parent\x20segment\x20management');parentSegmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2a0))[a2_0x26ecb0(0x40e)](parentListAction),parentSegmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x291))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x275))['option'](a2_0x26ecb0(0x2ec),a2_0x26ecb0(0x32c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x302)]('-u,\x20--use',a2_0x26ecb0(0x207))[a2_0x26ecb0(0x40e)](async(_0x43c0cd,_0xe9274)=>{const _0x38382d=a2_0x26ecb0,_0x47e6fd=new ParentSegmentPullCommand(),_0x4bcda6=program['opts'](),_0x2dc994=await createTDXInstance(_0x4bcda6),_0xffc2c4=await _0x47e6fd[_0x38382d(0x3ea)]({'options':{..._0x4bcda6,..._0xe9274},'args':_0x43c0cd?[_0x43c0cd]:[],'tdx':_0x2dc994});gracefulExit(_0xffc2c4);}),parentSegmentCmd[a2_0x26ecb0(0x3bc)]('push\x20[name]')[a2_0x26ecb0(0x26f)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0xb6b37a,_0x20a687)=>{const _0x5474a6=a2_0x26ecb0,_0x5e33ce=new ParentSegmentPushCommand(),_0x58555d=program[_0x5474a6(0x2f6)](),_0xb5eda4=await createTDXInstance(_0x58555d),_0x34870e=await _0x5e33ce[_0x5474a6(0x3ea)]({'options':{..._0x58555d,..._0x20a687},'args':_0xb6b37a?[_0xb6b37a]:[],'tdx':_0xb5eda4});gracefulExit(_0x34870e);}),parentSegmentCmd['command'](a2_0x26ecb0(0x3e2))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1e5))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x236),'Show\x20only\x20master\x20table\x20validation')['option']('--attribute\x20[name]','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x25d),a2_0x26ecb0(0x442))['option'](a2_0x26ecb0(0x276),'Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)')[a2_0x26ecb0(0x302)]('--interval\x20<range>','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)',a2_0x26ecb0(0x1ec))['action'](async(_0x68d4db,_0x23936d)=>{const _0x1c6d23=a2_0x26ecb0,_0x41af07=new ParentSegmentValidateCommand(),_0x527cdb=program[_0x1c6d23(0x2f6)](),_0x5ccbb6=await createTDXInstance(_0x527cdb),_0x4650df=await _0x41af07[_0x1c6d23(0x3ea)]({'options':{..._0x527cdb,..._0x23936d},'args':_0x68d4db?[_0x68d4db]:[],'tdx':_0x5ccbb6});gracefulExit(_0x4650df);}),parentSegmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x25c))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3c9))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x236),'Show\x20master\x20table\x20sample\x20data')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x30d),a2_0x26ecb0(0x24f))[a2_0x26ecb0(0x302)]('--behavior\x20[name]','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x276),a2_0x26ecb0(0x3b1))[a2_0x26ecb0(0x302)]('--interval\x20<range>',a2_0x26ecb0(0x382),'-1d')[a2_0x26ecb0(0x40e)](async(_0x400937,_0x15b954)=>{const _0x2b4615=a2_0x26ecb0,_0x3c28ba=new ParentSegmentPreviewCommand(),_0x46da68=program[_0x2b4615(0x2f6)](),_0x509106=await createTDXInstance(_0x46da68),_0x248f1a=await _0x3c28ba[_0x2b4615(0x3ea)]({'options':{..._0x46da68,..._0x15b954},'args':_0x400937?[_0x400937]:[],'tdx':_0x509106});gracefulExit(_0x248f1a);}),parentSegmentCmd['command'](a2_0x26ecb0(0x2ed))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x38c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0x5d3869,_0x47c76f)=>{const _0x532557=a2_0x26ecb0,_0x1f37a0=new ParentSegmentRunCommand(),_0x41b5f8=program[_0x532557(0x2f6)](),_0x14556f=await createTDXInstance(_0x41b5f8),_0x19c892=await _0x1f37a0['run']({'options':{..._0x41b5f8,..._0x47c76f},'args':_0x5d3869?[_0x5d3869]:[],'tdx':_0x14556f});gracefulExit(_0x19c892);}),parentSegmentCmd['command'](a2_0x26ecb0(0x415))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3e4))['option'](a2_0x26ecb0(0x36f),a2_0x26ecb0(0x213))['option']('--jsonl',a2_0x26ecb0(0x402))['action'](async(_0x73a4b,_0x18c9d1)=>{const _0x20b45f=a2_0x26ecb0,_0x4ae74a=new ParentSegmentFieldsCommand(),_0x4c7484=program[_0x20b45f(0x2f6)](),_0xf88a90=await createTDXInstance(_0x4c7484),_0x427aa2=await _0x4ae74a[_0x20b45f(0x3ea)]({'options':{..._0x4c7484,..._0x18c9d1},'args':_0x73a4b?[_0x73a4b]:[],'tdx':_0xf88a90});gracefulExit(_0x427aa2);}),parentSegmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x202))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1f9))[a2_0x26ecb0(0x302)]('-w,\x20--web',a2_0x26ecb0(0x413))[a2_0x26ecb0(0x302)]('--json',a2_0x26ecb0(0x213))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x277),'Output\x20as\x20JSON\x20Lines')[a2_0x26ecb0(0x40e)](async(_0x371781,_0x129d08)=>{const _0xf6901e=a2_0x26ecb0,_0x111937=new ParentSegmentViewCommand(),_0x416ace=program[_0xf6901e(0x2f6)](),_0x1dbebd=await createTDXInstance(_0x416ace),_0xc7576d=await _0x111937[_0xf6901e(0x3ea)]({'options':{..._0x416ace,..._0x129d08},'args':_0x371781?[_0x371781]:[],'tdx':_0x1dbebd});gracefulExit(_0xc7576d);}),parentSegmentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3fe))[a2_0x26ecb0(0x26f)]('Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2ec),a2_0x26ecb0(0x32c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x36f),'Output\x20as\x20JSON')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x277),'Output\x20as\x20JSON\x20Lines')[a2_0x26ecb0(0x40e)](async(_0x373480,_0x17aa9a)=>{const _0x115fca=a2_0x26ecb0,_0x2fbf54=new ParentSegmentDescCommand(),_0xafda55=program[_0x115fca(0x2f6)](),_0x4382a8=await createTDXInstance(_0xafda55),_0x46f318=await _0x2fbf54[_0x115fca(0x3ea)]({'options':{..._0xafda55,..._0x17aa9a},'args':_0x373480?[_0x373480]:[],'tdx':_0x4382a8});gracefulExit(_0x46f318);}),parentSegmentCmd[a2_0x26ecb0(0x3bc)]('sql\x20[name]')[a2_0x26ecb0(0x26f)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x36f),a2_0x26ecb0(0x213))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x277),a2_0x26ecb0(0x402))[a2_0x26ecb0(0x40e)](async(_0x3993b6,_0xe07f97)=>{const _0x23d740=a2_0x26ecb0,_0x23d67a=new ParentSegmentSQLCommand(),_0x1410f9=program[_0x23d740(0x2f6)](),_0x44f790=await createTDXInstance(_0x1410f9),_0x223d53=await _0x23d67a[_0x23d740(0x3ea)]({'options':{..._0x1410f9,..._0xe07f97},'args':_0x3993b6?[_0x3993b6]:[],'tdx':_0x44f790});gracefulExit(_0x223d53);}),parentSegmentCmd['command']('show\x20[name]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x408))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x29d),'Limit\x20number\x20of\x20rows')[a2_0x26ecb0(0x302)]('--json',a2_0x26ecb0(0x213))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x277),a2_0x26ecb0(0x402))[a2_0x26ecb0(0x40e)](async(_0x51ac3d,_0x4db77e)=>{const _0x49b23a=a2_0x26ecb0,_0x14cb9a=new ParentSegmentShowCommand(),_0x138d60=program[_0x49b23a(0x2f6)](),_0xdb24e=await createTDXInstance(_0x138d60),_0x551c38=await _0x14cb9a[_0x49b23a(0x3ea)]({'options':{..._0x138d60,..._0x4db77e},'args':_0x51ac3d?[_0x51ac3d]:[],'tdx':_0xdb24e});gracefulExit(_0x551c38);}),parentSegmentCmd[a2_0x26ecb0(0x3bc)]('use\x20[name]')['description'](a2_0x26ecb0(0x34a))[a2_0x26ecb0(0x40e)](async(_0x2e9778,_0x3a19ee)=>{const _0x159a1d=a2_0x26ecb0,_0x45e7b6=new UseCommand(),_0xef35f4=program[_0x159a1d(0x2f6)](),_0x422368=_0x2e9778?['parent_segment',_0x2e9778]:[],_0x39b69b=await _0x45e7b6[_0x159a1d(0x3ea)]({'options':{..._0xef35f4,..._0x3a19ee},'args':_0x422368,'tdx':null});gracefulExit(_0x39b69b);});const psRtCmd=parentSegmentCmd[a2_0x26ecb0(0x3bc)]('rt')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x328));psRtCmd['command'](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x344))[a2_0x26ecb0(0x40e)](async(_0x519bf6,_0x279c8e)=>{const _0xfe9aac=a2_0x26ecb0,_0x3ba13a=new PSRtListCommand(),_0x2f0f7d=program[_0xfe9aac(0x2f6)](),_0x3d8ae0=await createTDXInstance(_0x2f0f7d),_0x46d0d5=await _0x3ba13a['run']({'options':{..._0x2f0f7d,..._0x279c8e},'args':_0x519bf6?[_0x519bf6]:[],'tdx':_0x3d8ae0});gracefulExit(_0x46d0d5);}),psRtCmd['command'](a2_0x26ecb0(0x3e2))['description']('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x26ecb0(0x40e)](async(_0x12319b,_0x242ee9)=>{const _0x4b72ef=a2_0x26ecb0,_0x2e5a2b=new PSRtValidateCommand(),_0x6316a1=program[_0x4b72ef(0x2f6)](),_0x2b2bbc=await createTDXInstance(_0x6316a1),_0x7bb309=await _0x2e5a2b[_0x4b72ef(0x3ea)]({'options':{..._0x6316a1,..._0x242ee9},'args':_0x12319b?[_0x12319b]:[],'tdx':_0x2b2bbc});gracefulExit(_0x7bb309);});const parentRtCmd=parentCmd[a2_0x26ecb0(0x3bc)]('rt',{'hidden':!![]})[a2_0x26ecb0(0x26f)]('RT\x202.0\x20configuration\x20management');parentRtCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x344))['action'](async(_0x175bd6,_0x53772f)=>{const _0x493c09=a2_0x26ecb0,_0x26e346=new PSRtListCommand(),_0x18fd00=program[_0x493c09(0x2f6)](),_0x23c8a0=await createTDXInstance(_0x18fd00),_0x178a99=await _0x26e346['run']({'options':{..._0x18fd00,..._0x53772f},'args':_0x175bd6?[_0x175bd6]:[],'tdx':_0x23c8a0});gracefulExit(_0x178a99);}),parentRtCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3e2))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x46e))[a2_0x26ecb0(0x40e)](async(_0x4ea160,_0x3e9d70)=>{const _0x5aebb1=a2_0x26ecb0,_0x43b333=new PSRtValidateCommand(),_0x12696a=program[_0x5aebb1(0x2f6)](),_0x320470=await createTDXInstance(_0x12696a),_0x5dcf23=await _0x43b333[_0x5aebb1(0x3ea)]({'options':{..._0x12696a,..._0x3e9d70},'args':_0x4ea160?[_0x4ea160]:[],'tdx':_0x320470});gracefulExit(_0x5dcf23);});const psPzCmd=parentSegmentCmd[a2_0x26ecb0(0x3bc)]('pz')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x215));psPzCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x350))[a2_0x26ecb0(0x26f)]('List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x26ecb0(0x40e)](async(_0x1f34e4,_0x573686)=>{const _0x3e8d9a=a2_0x26ecb0,_0x5561ec=new PSPzListCommand(),_0x49078a=program[_0x3e8d9a(0x2f6)](),_0x5e65ec=await createTDXInstance(_0x49078a),_0x575c3b=await _0x5561ec['run']({'options':{..._0x49078a,..._0x573686},'args':_0x1f34e4?[_0x1f34e4]:[],'tdx':_0x5e65ec});gracefulExit(_0x575c3b);}),psPzCmd[a2_0x26ecb0(0x3bc)]('init\x20[name]')['description'](a2_0x26ecb0(0x426))[a2_0x26ecb0(0x40e)](async(_0x502d8a,_0x411a4e)=>{const _0x573577=a2_0x26ecb0,_0x21e52d=new PSPzInitCommand(),_0x2eff66=program[_0x573577(0x2f6)](),_0x5e2381=await createTDXInstance(_0x2eff66),_0x4a3664=await _0x21e52d[_0x573577(0x3ea)]({'options':{..._0x2eff66,..._0x411a4e},'args':_0x502d8a?[_0x502d8a]:[],'tdx':_0x5e2381});gracefulExit(_0x4a3664);});const parentPzCmd=parentCmd[a2_0x26ecb0(0x3bc)]('pz',{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x215));parentPzCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x350))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x298))[a2_0x26ecb0(0x40e)](async(_0x2d33f3,_0x4e2856)=>{const _0xd07014=a2_0x26ecb0,_0x1d08bd=new PSPzListCommand(),_0x4befe6=program[_0xd07014(0x2f6)](),_0xe3ad8c=await createTDXInstance(_0x4befe6),_0x3fda73=await _0x1d08bd[_0xd07014(0x3ea)]({'options':{..._0x4befe6,..._0x4e2856},'args':_0x2d33f3?[_0x2d33f3]:[],'tdx':_0xe3ad8c});gracefulExit(_0x3fda73);}),parentPzCmd['command'](a2_0x26ecb0(0x3e7))['description'](a2_0x26ecb0(0x426))[a2_0x26ecb0(0x40e)](async(_0x46baeb,_0x4e6a7c)=>{const _0x40d1a2=a2_0x26ecb0,_0x5c555b=new PSPzInitCommand(),_0x3ac4fe=program[_0x40d1a2(0x2f6)](),_0x4b806d=await createTDXInstance(_0x3ac4fe),_0x3def66=await _0x5c555b['run']({'options':{..._0x3ac4fe,..._0x4e6a7c},'args':_0x46baeb?[_0x46baeb]:[],'tdx':_0x4b806d});gracefulExit(_0x3def66);}),parentCmd[a2_0x26ecb0(0x3bc)]('create\x20<name>')[a2_0x26ecb0(0x26f)]('[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead')[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x232),a2_0x26ecb0(0x3cb))[a2_0x26ecb0(0x43c)]('--table\x20<table>','Master\x20table\x20name')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43e),a2_0x26ecb0(0x3ce))['option']('--schedule-type\x20<type>',a2_0x26ecb0(0x3d0))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x279),'Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f5),'Timezone\x20(e.g.,\x20America/Los_Angeles)')['option'](a2_0x26ecb0(0x337),'Attributes\x20as\x20JSON\x20string')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x44e),a2_0x26ecb0(0x409))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2a8),a2_0x26ecb0(0x451))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x1e7),a2_0x26ecb0(0x2dc))[a2_0x26ecb0(0x302)]('--customer-group\x20<json>',a2_0x26ecb0(0x2b2))['option'](a2_0x26ecb0(0x43f),'Customer\x20group\x20from\x20JSON\x20file')[a2_0x26ecb0(0x40e)](async(_0x39c5a6,_0x51718d)=>{const _0x211ae7=a2_0x26ecb0,_0x5d9c10=new ParentSegmentCreateCommand(),_0x4e6d54=program[_0x211ae7(0x2f6)](),_0x5a6ea7=await createTDXInstance(_0x4e6d54),_0x68ccb8=await _0x5d9c10[_0x211ae7(0x3ea)]({'options':{..._0x4e6d54,..._0x51718d},'args':[_0x39c5a6],'tdx':_0x5a6ea7});gracefulExit(_0x68ccb8);}),parentCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3ef))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2f7))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43e),a2_0x26ecb0(0x3e6))[a2_0x26ecb0(0x302)]('--schedule-type\x20<type>',a2_0x26ecb0(0x26e))['option']('--schedule-option\x20<value>',a2_0x26ecb0(0x43b))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f5),a2_0x26ecb0(0x29c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x30c),a2_0x26ecb0(0x40a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3ba),a2_0x26ecb0(0x246))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3ca),'Add\x20behaviors\x20as\x20JSON\x20string')['option'](a2_0x26ecb0(0x371),a2_0x26ecb0(0x457))['action'](async(_0x1a677b,_0x3af6ae)=>{const _0x3a9ea6=a2_0x26ecb0,_0x58b5e1=new ParentSegmentUpdateCommand(),_0x2f6270=program['opts'](),_0x342964=await createTDXInstance(_0x2f6270),_0x45a25e=await _0x58b5e1[_0x3a9ea6(0x3ea)]({'options':{..._0x2f6270,..._0x3af6ae},'args':[_0x1a677b],'tdx':_0x342964});gracefulExit(_0x45a25e);}),folderCmd[a2_0x26ecb0(0x3bc)]('create\x20<parent_name>\x20<folder_name>')['description']('Create\x20segment\x20folder')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43e),a2_0x26ecb0(0x40d))[a2_0x26ecb0(0x302)]('--parent-folder\x20<name>','Parent\x20folder\x20name\x20for\x20nested\x20folders')[a2_0x26ecb0(0x40e)](async(_0xc56cb1,_0x1ffa06,_0x290db6)=>{const _0x3f126f=a2_0x26ecb0,_0x25e797=new SegmentFolderCreateCommand(),_0x283c12=program[_0x3f126f(0x2f6)](),_0x20b483=await createTDXInstance(_0x283c12),_0x30f8f7=await _0x25e797['run']({'options':{..._0x283c12,..._0x290db6},'args':[_0xc56cb1,_0x1ffa06],'tdx':_0x20b483});gracefulExit(_0x30f8f7);}),program[a2_0x26ecb0(0x3bc)]('activations\x20<segment_name>')['description']('List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)')[a2_0x26ecb0(0x40e)](async(_0x11bf8c,_0x2278e5)=>{const _0x47fab0=a2_0x26ecb0,_0x319e7f=new ActivationsCommand(),_0x3d79b4=program[_0x47fab0(0x2f6)](),_0x1130a0=await createTDXInstance(_0x3d79b4),_0x137e73=await _0x319e7f[_0x47fab0(0x3ea)]({'options':{..._0x3d79b4,..._0x2278e5},'args':[_0x11bf8c],'tdx':_0x1130a0});gracefulExit(_0x137e73);});const workflowCmd=program['command'](a2_0x26ecb0(0x447))[a2_0x26ecb0(0x34e)]('wf')[a2_0x26ecb0(0x26f)]('Workflow\x20(Digdag)\x20management\x20commands'),wfProjectCmd=workflowCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x32d))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x429)),wfProjectListAction=async(_0x5a44df,_0x1e7859)=>{const _0x861024=a2_0x26ecb0,_0x431d6f=new WorkflowProjectsCommand(),_0x153b91=program[_0x861024(0x2f6)](),_0x22689e=await createTDXInstance(_0x153b91),_0x42e3cf=await _0x431d6f[_0x861024(0x3ea)]({'options':{..._0x153b91,..._0x1e7859},'args':_0x5a44df?[_0x5a44df]:[],'tdx':_0x22689e});gracefulExit(_0x42e3cf);};wfProjectCmd['command'](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x45f))['action'](wfProjectListAction),workflowCmd[a2_0x26ecb0(0x3bc)]('projects\x20[pattern]')['description']('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')[a2_0x26ecb0(0x40e)](wfProjectListAction);const wfWorkflowListAction=async(_0x37844b,_0x1acfbf)=>{const _0xdd89a2=a2_0x26ecb0,_0x43a945=new WorkflowWorkflowsCommand(),_0x13183a=program['opts'](),_0x101eb1=await createTDXInstance(_0x13183a),_0x1ba07c=await _0x43a945[_0xdd89a2(0x3ea)]({'options':{..._0x13183a,..._0x1acfbf},'args':_0x37844b?[_0x37844b]:[],'tdx':_0x101eb1});gracefulExit(_0x1ba07c);};workflowCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x37f))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3e1))[a2_0x26ecb0(0x40e)](wfWorkflowListAction);const wfSessionCmd=workflowCmd['command'](a2_0x26ecb0(0x25e))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3dc)),wfSessionListAction=async(_0x35d07c,_0x32aaa1)=>{const _0x2208e5=a2_0x26ecb0,_0x476fc5=new WorkflowSessionsCommand(),_0x28f37b=program[_0x2208e5(0x2f6)](),_0xb183a5=await createTDXInstance(_0x28f37b),_0x553363=await _0x476fc5[_0x2208e5(0x3ea)]({'options':{..._0x28f37b,..._0x32aaa1},'args':_0x35d07c?[_0x35d07c]:[],'tdx':_0xb183a5});gracefulExit(_0x553363);};wfSessionCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x310))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x26c))['option'](a2_0x26ecb0(0x2b5),a2_0x26ecb0(0x1e6))['option'](a2_0x26ecb0(0x35c),'Start\x20time\x20filter\x20(ISO\x208601\x20format)')['option']('--to\x20<timestamp>',a2_0x26ecb0(0x3f4))['action'](wfSessionListAction),workflowCmd[a2_0x26ecb0(0x3bc)]('sessions\x20[project]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3ae))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2b5),a2_0x26ecb0(0x1e6))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x35c),a2_0x26ecb0(0x225))[a2_0x26ecb0(0x302)]('--to\x20<timestamp>',a2_0x26ecb0(0x3f4))[a2_0x26ecb0(0x40e)](wfSessionListAction);const wfAttemptListAction=async(_0x4f340d,_0x3f773f)=>{const _0x5dbd46=a2_0x26ecb0,_0x2bdb3e=new WorkflowAttemptsCommand(),_0x5a68c3=program[_0x5dbd46(0x2f6)](),_0xc3416=await createTDXInstance(_0x5a68c3),_0x33e2d1=await _0x2bdb3e[_0x5dbd46(0x3ea)]({'options':{..._0x5a68c3,..._0x3f773f},'args':_0x4f340d?[_0x4f340d]:[],'tdx':_0xc3416});gracefulExit(_0x33e2d1);},attemptCmd=workflowCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x36c))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x31d))['argument'](a2_0x26ecb0(0x437),a2_0x26ecb0(0x33c))[a2_0x26ecb0(0x263)](a2_0x26ecb0(0x209),a2_0x26ecb0(0x3e0))[a2_0x26ecb0(0x263)](a2_0x26ecb0(0x359),a2_0x26ecb0(0x281))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2ba),a2_0x26ecb0(0x2a6))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x360),'Reason\x20for\x20killing\x20the\x20attempt')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x444),a2_0x26ecb0(0x3be))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3cd),a2_0x26ecb0(0x46a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x24e),a2_0x26ecb0(0x306))['option'](a2_0x26ecb0(0x20d),a2_0x26ecb0(0x42e))['action'](async(_0x222285,_0x14827d,_0x3aec48,_0x57b360)=>{const _0x2e66c6=a2_0x26ecb0;if(_0x222285===_0x2e66c6(0x260)){await wfAttemptListAction(_0x14827d,_0x57b360);return;}if(!_0x222285){attemptCmd[_0x2e66c6(0x46d)]();return;}const _0x2b7849=program['opts'](),_0x3f68cc=await createTDXInstance(_0x2b7849);let _0x501b9c=0x0;if(!_0x14827d){const _0x263d17=new WorkflowAttemptCommand();_0x501b9c=await _0x263d17['run']({'options':{..._0x2b7849,..._0x57b360},'args':[_0x222285],'tdx':_0x3f68cc});}else{if(_0x14827d==='logs'){const _0x262462=new WorkflowLogsCommand();_0x501b9c=await _0x262462[_0x2e66c6(0x3ea)]({'options':{..._0x2b7849,..._0x57b360},'args':_0x3aec48?[_0x222285,_0x3aec48]:[_0x222285],'tdx':_0x3f68cc});}else{if(_0x14827d==='tasks'){const _0x37135f=new WorkflowTasksCommand();_0x501b9c=await _0x37135f[_0x2e66c6(0x3ea)]({'options':{..._0x2b7849,..._0x57b360},'args':[_0x222285],'tdx':_0x3f68cc});}else{if(_0x14827d===_0x2e66c6(0x247)){const _0x1ba228=new WorkflowKillCommand();_0x501b9c=await _0x1ba228[_0x2e66c6(0x3ea)]({'options':{..._0x2b7849,..._0x57b360},'args':[_0x222285],'tdx':_0x3f68cc});}else{if(_0x14827d===_0x2e66c6(0x27b)){const _0x512d1a=new WorkflowRetryCommand();_0x501b9c=await _0x512d1a[_0x2e66c6(0x3ea)]({'options':{..._0x2b7849,..._0x57b360},'args':[_0x2e66c6(0x3f9)+_0x222285],'tdx':_0x3f68cc});}else console[_0x2e66c6(0x30b)](_0x2e66c6(0x31a)+_0x14827d),console[_0x2e66c6(0x30b)]('Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry'),_0x501b9c=0x1;}}}}gracefulExit(_0x501b9c);});attemptCmd['command']('list\x20[project]')['description'](a2_0x26ecb0(0x31e))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x20d),'Include\x20retried\x20attempts')[a2_0x26ecb0(0x40e)](wfAttemptListAction),workflowCmd['command'](a2_0x26ecb0(0x398))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x273))[a2_0x26ecb0(0x302)]('--include-retried',a2_0x26ecb0(0x375))[a2_0x26ecb0(0x40e)](wfAttemptListAction),workflowCmd['command'](a2_0x26ecb0(0x39e))['description']('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option'](a2_0x26ecb0(0x24d),a2_0x26ecb0(0x3d1))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x392),a2_0x26ecb0(0x357))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x39f),'Show\x20timeline\x20for\x20specific\x20attempt')[a2_0x26ecb0(0x40e)](async(_0x151266,_0x4ca997)=>{const _0x4ca0bf=new WorkflowTimelineCommand(),_0x436499=program['opts'](),_0x3f4583=await createTDXInstance(_0x436499),_0x21aa28=await _0x4ca0bf['run']({'options':{..._0x436499,..._0x4ca997},'args':_0x151266?[_0x151266]:[],'tdx':_0x3f4583});gracefulExit(_0x21aa28);}),workflowCmd['command']('retry\x20<session-id>')['description'](a2_0x26ecb0(0x3b5))['option'](a2_0x26ecb0(0x3f3),a2_0x26ecb0(0x320))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3cd),a2_0x26ecb0(0x3af))[a2_0x26ecb0(0x40e)](async(_0x1d8dbb,_0x47c39a)=>{const _0x1060aa=a2_0x26ecb0,_0x5a0b24=new WorkflowRetryCommand(),_0x3915dd=program[_0x1060aa(0x2f6)](),_0xf672f8=await createTDXInstance(_0x3915dd),_0x233c14=await _0x5a0b24[_0x1060aa(0x3ea)]({'options':{..._0x3915dd,..._0x47c39a},'args':[_0x1d8dbb],'tdx':_0xf672f8});gracefulExit(_0x233c14);}),workflowCmd[a2_0x26ecb0(0x3bc)]('run\x20[workflow]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x45d))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x222),a2_0x26ecb0(0x289),(_0x374324,_0x3cc70e=[])=>[..._0x3cc70e,_0x374324],[])[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x411),a2_0x26ecb0(0x391))[a2_0x26ecb0(0x40e)](async(_0x157eaa,_0x3b5264)=>{const _0x483d18=a2_0x26ecb0,_0x51525a=new WorkflowRunCommand(),_0x56971d=program[_0x483d18(0x2f6)](),_0x93896c=await createTDXInstance(_0x56971d),_0x145c97=await _0x51525a[_0x483d18(0x3ea)]({'options':{..._0x56971d,..._0x3b5264},'args':_0x157eaa?[_0x157eaa]:[],'tdx':_0x93896c});gracefulExit(_0x145c97);}),workflowCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3a4))['description'](a2_0x26ecb0(0x383))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x283),a2_0x26ecb0(0x3a6))[a2_0x26ecb0(0x40e)](async(_0x370b1f,_0x3bd79c,_0x5dabc3)=>{const _0x478fb2=a2_0x26ecb0,_0x211153=new WorkflowDownloadCommand(),_0x28830f=program['opts'](),_0x5c210d=await createTDXInstance(_0x28830f),_0x5b8a78=await _0x211153[_0x478fb2(0x3ea)]({'options':{..._0x28830f,..._0x5dabc3},'args':[_0x370b1f,_0x3bd79c||'.'],'tdx':_0x5c210d});gracefulExit(_0x5b8a78);}),workflowCmd['command'](a2_0x26ecb0(0x1f3))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x41c))['option'](a2_0x26ecb0(0x283),a2_0x26ecb0(0x21d))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x41b))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0x2fef35,_0xd8219,_0x4b7bd0)=>{const _0x584aad=a2_0x26ecb0,_0x875036=new WorkflowPullCommand(),_0x2182e8=program['opts'](),_0x5f128b=await createTDXInstance(_0x2182e8),_0x587341=await _0x875036[_0x584aad(0x3ea)]({'options':{..._0x2182e8,..._0x4b7bd0},'args':_0xd8219?[_0x2fef35,_0xd8219]:[_0x2fef35],'tdx':_0x5f128b});gracefulExit(_0x587341);}),workflowCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x446))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2d5))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x283),a2_0x26ecb0(0x393))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x1ea))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3aa),a2_0x26ecb0(0x211))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0xc7c28a,_0x536a0a)=>{const _0x5183f1=a2_0x26ecb0,_0x2134f5=new WorkflowPushCommand(),_0x1677dd=program[_0x5183f1(0x2f6)](),_0x50aad4=await createTDXInstance(_0x1677dd),_0x32bdde=await _0x2134f5[_0x5183f1(0x3ea)]({'options':{..._0x1677dd,..._0x536a0a},'args':_0xc7c28a?[_0xc7c28a]:[],'tdx':_0x50aad4});gracefulExit(_0x32bdde);}),workflowCmd['command'](a2_0x26ecb0(0x44f))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3a8))['option'](a2_0x26ecb0(0x32f),a2_0x26ecb0(0x3ff))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x283),a2_0x26ecb0(0x436))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3aa),a2_0x26ecb0(0x211))['action'](async(_0x1cd278,_0x2e7628)=>{const _0x2f35ea=a2_0x26ecb0,_0x490c38=new WorkflowUploadCommand(),_0x1a69f5=program[_0x2f35ea(0x2f6)](),_0x41abba=await createTDXInstance(_0x1a69f5),_0x3b31b4=await _0x490c38[_0x2f35ea(0x3ea)]({'options':{..._0x1a69f5,..._0x2e7628},'args':_0x1cd278?[_0x1cd278]:[],'tdx':_0x41abba});gracefulExit(_0x3b31b4);}),workflowCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x410))['description'](a2_0x26ecb0(0x282))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x32f),a2_0x26ecb0(0x3ad))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x283),a2_0x26ecb0(0x393))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x390))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3aa),'Skip\x20validation\x20of\x20.dig\x20files')[a2_0x26ecb0(0x302)]('-y,\x20--yes',a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](async(_0xa4c253,_0xa63e85)=>{const _0x45eb1b=a2_0x26ecb0,_0x13467d=new WorkflowCloneCommand(),_0x37d153=program[_0x45eb1b(0x2f6)](),_0x4f4dc0=await createTDXInstance(_0x37d153),_0x387620=await _0x13467d[_0x45eb1b(0x3ea)]({'options':{..._0x37d153,..._0xa63e85},'args':_0xa4c253?[_0xa4c253]:[],'tdx':_0x4f4dc0});gracefulExit(_0x387620);}),workflowCmd['command'](a2_0x26ecb0(0x2cb))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2c2))['action'](async(_0xc3d94f,_0x29483f)=>{const _0x371100=a2_0x26ecb0,_0x457d69=new WorkflowDeleteCommand(),_0x16359c=program['opts'](),_0x4d1ccc=await createTDXInstance(_0x16359c),_0xf8cea0=await _0x457d69[_0x371100(0x3ea)]({'options':{..._0x16359c,..._0x29483f},'args':[_0xc3d94f],'tdx':_0x4d1ccc});gracefulExit(_0xf8cea0);}),workflowCmd['command']('use\x20[project]')['description'](a2_0x26ecb0(0x330))[a2_0x26ecb0(0x302)]('--clear','Clear\x20workflow\x20project\x20context')[a2_0x26ecb0(0x40e)](async(_0x4d317b,_0x155f8b)=>{const _0x36fe59=a2_0x26ecb0,_0x3d00a9=new WorkflowUseCommand(),_0x2a9733=program['opts'](),_0xa93086=await createTDXInstance(_0x2a9733),_0x542e63=await _0x3d00a9[_0x36fe59(0x3ea)]({'options':{..._0x2a9733,..._0x155f8b},'args':_0x4d317b?[_0x4d317b]:[],'tdx':_0xa93086});gracefulExit(_0x542e63);});const wfSecretsCmd=workflowCmd[a2_0x26ecb0(0x3bc)]('secrets')['description'](a2_0x26ecb0(0x2c9));wfSecretsCmd[a2_0x26ecb0(0x3bc)]('list\x20[project]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x206))[a2_0x26ecb0(0x40e)](async(_0x41e59b,_0x564049)=>{const _0x32edd1=a2_0x26ecb0,_0x3e4ae9=new WorkflowSecretsListCommand(),_0x19f31e=program['opts'](),_0x5f2687=await createTDXInstance(_0x19f31e),_0xbb1480=await _0x3e4ae9[_0x32edd1(0x3ea)]({'options':{..._0x19f31e,..._0x564049},'args':_0x41e59b?[_0x41e59b]:[],'tdx':_0x5f2687});gracefulExit(_0xbb1480);}),wfSecretsCmd['command'](a2_0x26ecb0(0x2b3))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3bf))[a2_0x26ecb0(0x40e)](async(_0x7fb978,_0x36eb26)=>{const _0x4f3a69=a2_0x26ecb0,_0x1d5a9d=new WorkflowSecretsSetCommand(),_0x28e368=program['opts'](),_0x3e5755=await createTDXInstance(_0x28e368),_0x410bcc=await _0x1d5a9d[_0x4f3a69(0x3ea)]({'options':{..._0x28e368,..._0x36eb26},'args':_0x7fb978,'tdx':_0x3e5755});gracefulExit(_0x410bcc);}),wfSecretsCmd['command'](a2_0x26ecb0(0x349))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x45b))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3d5),'Skip\x20confirmation\x20prompt')[a2_0x26ecb0(0x40e)](async(_0x390cdb,_0x5165b0)=>{const _0x3b8e40=a2_0x26ecb0,_0x3ab580=new WorkflowSecretsDeleteCommand(),_0x1f6784=program[_0x3b8e40(0x2f6)](),_0x5b99f5=await createTDXInstance(_0x1f6784),_0x4ed886=await _0x3ab580['run']({'options':{..._0x1f6784,..._0x5165b0},'args':_0x390cdb,'tdx':_0x5b99f5});gracefulExit(_0x4ed886);});const jobCmd=program[a2_0x26ecb0(0x3bc)]('job')['description']('Job\x20management\x20commands'),jobListAction=async _0x1217fe=>{const _0x2dd00f=a2_0x26ecb0,_0x4fb022=new JobListCommand(),_0x52c1d0=program[_0x2dd00f(0x2f6)](),_0x32dcfe=await createTDXInstance(_0x52c1d0),_0x1b00e6=await _0x4fb022[_0x2dd00f(0x3ea)]({'options':{..._0x52c1d0,..._0x1217fe},'args':[],'tdx':_0x32dcfe});gracefulExit(_0x1b00e6);};jobCmd['command']('list')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x362))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2b5),'Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)')[a2_0x26ecb0(0x40e)](jobListAction),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2d9),{'hidden':!![]})['description'](a2_0x26ecb0(0x216))[a2_0x26ecb0(0x302)]('--status\x20<status>',a2_0x26ecb0(0x384))[a2_0x26ecb0(0x40e)](jobListAction),jobCmd['command'](a2_0x26ecb0(0x370))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x242))[a2_0x26ecb0(0x40e)](async(_0x34ed7d,_0x273935)=>{const _0xf0ac62=a2_0x26ecb0,_0x2fa341=new JobShowCommand(),_0x88426a=program[_0xf0ac62(0x2f6)](),_0x5415f4=await createTDXInstance(_0x88426a),_0x3b4ef0=await _0x2fa341[_0xf0ac62(0x3ea)]({'options':{..._0x88426a,..._0x273935},'args':[_0x34ed7d],'tdx':_0x5415f4});gracefulExit(_0x3b4ef0);}),jobCmd['command']('kill\x20<job-id>')['description'](a2_0x26ecb0(0x2de))[a2_0x26ecb0(0x40e)](async(_0x58e929,_0x349435)=>{const _0x34432f=a2_0x26ecb0,_0x1f9d25=new JobKillCommand(),_0x3d324d=program[_0x34432f(0x2f6)](),_0x35bed4=await createTDXInstance(_0x3d324d),_0xb5a2d0=await _0x1f9d25[_0x34432f(0x3ea)]({'options':{..._0x3d324d,..._0x349435},'args':[_0x58e929],'tdx':_0x35bed4});gracefulExit(_0xb5a2d0);}),jobCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x431))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3ee))[a2_0x26ecb0(0x302)]('--job-type\x20<type>',a2_0x26ecb0(0x363),a2_0x26ecb0(0x1e8))['option']('-f,\x20--file\x20<path>','Read\x20query\x20from\x20file')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f1),a2_0x26ecb0(0x2fb),a2_0x26ecb0(0x42f))[a2_0x26ecb0(0x40e)](async(_0x311d77,_0x4cfe4b)=>{const _0xf46083=a2_0x26ecb0,_0x58e860=new JobSubmitCommand(),_0xbd430c=program[_0xf46083(0x2f6)](),_0x11a34d=await createTDXInstance(_0xbd430c),_0x95f0f0=await _0x58e860['run']({'options':{..._0xbd430c,..._0x4cfe4b},'args':_0x311d77?[_0x311d77]:[],'tdx':_0x11a34d});gracefulExit(_0x95f0f0);}),jobCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x438))[a2_0x26ecb0(0x26f)]('Get\x20job\x20results')[a2_0x26ecb0(0x40e)](async(_0x492022,_0x21e1bf)=>{const _0x466caa=a2_0x26ecb0,_0x29fde3=new JobResultCommand(),_0x57e682=program[_0x466caa(0x2f6)](),_0x487150=await createTDXInstance(_0x57e682),_0x1ff27b=await _0x29fde3['run']({'options':{..._0x57e682,..._0x21e1bf},'args':[_0x492022],'tdx':_0x487150});gracefulExit(_0x1ff27b);});const scheduleCmd=jobCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x374))[a2_0x26ecb0(0x26f)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x26ecb0(0x3bc)]('list\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2ac))[a2_0x26ecb0(0x40e)](async(_0x3a0a1b,_0x4f077a)=>{const _0x3b7ba2=a2_0x26ecb0,_0x3edb19=new ScheduleListCommand(),_0xc85b52=program[_0x3b7ba2(0x2f6)](),_0x223e93=await createTDXInstance(_0xc85b52),_0x513182=await _0x3edb19['run']({'options':{..._0xc85b52,..._0x4f077a},'args':_0x3a0a1b?[_0x3a0a1b]:[],'tdx':_0x223e93});gracefulExit(_0x513182);}),scheduleCmd[a2_0x26ecb0(0x3bc)]('show\x20<name>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x27d))[a2_0x26ecb0(0x40e)](async(_0x4da781,_0x5393c0)=>{const _0x544df0=a2_0x26ecb0,_0x5b7916=new ScheduleShowCommand(),_0x5c3b62=program['opts'](),_0x3ad592=await createTDXInstance(_0x5c3b62),_0x4ff20c=await _0x5b7916[_0x544df0(0x3ea)]({'options':{..._0x5c3b62,..._0x5393c0},'args':[_0x4da781],'tdx':_0x3ad592});gracefulExit(_0x4ff20c);}),scheduleCmd[a2_0x26ecb0(0x3bc)]('create\x20<name>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2eb))[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x3a5),'Database\x20name')[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x231),'Read\x20query\x20from\x20file')['option'](a2_0x26ecb0(0x218),a2_0x26ecb0(0x2f3),a2_0x26ecb0(0x1e8))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x288),'Cron\x20expression\x20for\x20scheduling')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f5),a2_0x26ecb0(0x376))['option'](a2_0x26ecb0(0x27e),a2_0x26ecb0(0x3dd))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x238),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x300),a2_0x26ecb0(0x2cd))['option'](a2_0x26ecb0(0x30e),a2_0x26ecb0(0x309))['option']('--result\x20<url>','Result\x20output\x20destination\x20URL')[a2_0x26ecb0(0x40e)](async(_0x3021bd,_0x3b1430)=>{const _0x4c4268=a2_0x26ecb0,_0xa72b99=new ScheduleCreateCommand(),_0x590f78=program['opts'](),_0x3b37d5=await createTDXInstance(_0x590f78),_0x2eb54a=await _0xa72b99[_0x4c4268(0x3ea)]({'options':{..._0x590f78,..._0x3b1430},'args':[_0x3021bd],'tdx':_0x3b37d5});gracefulExit(_0x2eb54a);}),scheduleCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3ef))[a2_0x26ecb0(0x26f)]('Update\x20a\x20scheduled\x20query')['option'](a2_0x26ecb0(0x3a5),a2_0x26ecb0(0x1ef))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x231),a2_0x26ecb0(0x20a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x218),'Query\x20type:\x20trino\x20or\x20hive')[a2_0x26ecb0(0x302)]('--cron\x20<expression>',a2_0x26ecb0(0x44c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f5),a2_0x26ecb0(0x312))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x27e),a2_0x26ecb0(0x3dd))[a2_0x26ecb0(0x302)]('--priority\x20<-2~2>','Job\x20priority\x20(-2\x20to\x202)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x300),a2_0x26ecb0(0x2cd))['option'](a2_0x26ecb0(0x30e),'Query\x20engine\x20version')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x33e),a2_0x26ecb0(0x425))['action'](async(_0x2684ad,_0x5c2956)=>{const _0x3a83a1=a2_0x26ecb0,_0x1ec3c6=new ScheduleUpdateCommand(),_0x1819df=program[_0x3a83a1(0x2f6)](),_0x39d25b=await createTDXInstance(_0x1819df),_0x409562=await _0x1ec3c6[_0x3a83a1(0x3ea)]({'options':{..._0x1819df,..._0x5c2956},'args':[_0x2684ad],'tdx':_0x39d25b});gracefulExit(_0x409562);}),scheduleCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x1fd))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x378))[a2_0x26ecb0(0x40e)](async(_0x280ab5,_0x4d7a6e)=>{const _0x419039=a2_0x26ecb0,_0x5afb81=new ScheduleDeleteCommand(),_0x5b7ae1=program[_0x419039(0x2f6)](),_0x187d58=await createTDXInstance(_0x5b7ae1),_0x45e8bf=await _0x5afb81[_0x419039(0x3ea)]({'options':{..._0x5b7ae1,..._0x4d7a6e},'args':[_0x280ab5],'tdx':_0x187d58});gracefulExit(_0x45e8bf);}),scheduleCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x25f))['description']('Run\x20a\x20scheduled\x20query\x20immediately')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x35e),'Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x449),a2_0x26ecb0(0x367))[a2_0x26ecb0(0x40e)](async(_0x31c3b2,_0x5a7380)=>{const _0xdaa28a=a2_0x26ecb0,_0x558e6b=new ScheduleRunCommand(),_0x548d2f=program['opts'](),_0x398bce=await createTDXInstance(_0x548d2f),_0x4c1e70=await _0x558e6b[_0xdaa28a(0x3ea)]({'options':{..._0x548d2f,..._0x5a7380},'args':[_0x31c3b2],'tdx':_0x398bce});gracefulExit(_0x4c1e70);}),scheduleCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x34b))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x380))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3e5),a2_0x26ecb0(0x32e))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3a7),a2_0x26ecb0(0x2da))[a2_0x26ecb0(0x40e)](async(_0xe7b2c5,_0x1e5085)=>{const _0x4df8fb=a2_0x26ecb0,_0x29300d=new ScheduleHistoryCommand(),_0x4e12ab=program['opts'](),_0x1fd37a=await createTDXInstance(_0x4e12ab),_0xbcd06b=await _0x29300d[_0x4df8fb(0x3ea)]({'options':{..._0x4e12ab,..._0x1e5085},'args':[_0xe7b2c5],'tdx':_0x1fd37a});gracefulExit(_0xbcd06b);});const llmCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x29e))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2d6));llmCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x37a))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3d6))['action'](async(_0x5f3946,_0x54df28)=>{const _0x28e97c=a2_0x26ecb0,_0x27f29f=new LLMUseCommand(),_0x25ac93=program[_0x28e97c(0x2f6)](),_0x4ab97a=await createTDXInstance(_0x25ac93),_0x13f179=await _0x27f29f[_0x28e97c(0x3ea)]({'options':{..._0x25ac93,..._0x54df28},'args':[_0x5f3946],'tdx':_0x4ab97a});gracefulExit(_0x13f179);}),llmCmd[a2_0x26ecb0(0x3bc)]('models')['description']('List\x20available\x20LLM\x20models')['action'](async _0x14db99=>{const _0x5316e4=a2_0x26ecb0,_0xe3d77e=new LLMModelsCommand(),_0x268629=program[_0x5316e4(0x2f6)](),_0x48097c=await createTDXInstance(_0x268629),_0x14c1a9=await _0xe3d77e[_0x5316e4(0x3ea)]({'options':{..._0x268629,..._0x14db99},'args':[],'tdx':_0x48097c});gracefulExit(_0x14c1a9);});const projectCmd=llmCmd['command'](a2_0x26ecb0(0x32d))['description'](a2_0x26ecb0(0x335)),llmProjectListAction=async(_0x43faa8,_0x22ce36)=>{const _0x6bf4cc=a2_0x26ecb0,_0x231498=new LLMProjectsCommand(),_0xfa36cc=program['opts'](),_0x9dce02=await createTDXInstance(_0xfa36cc),_0x2687b2=await _0x231498[_0x6bf4cc(0x3ea)]({'options':{..._0xfa36cc,..._0x22ce36},'args':_0x43faa8?[_0x43faa8]:[],'tdx':_0x9dce02});gracefulExit(_0x2687b2);};projectCmd[a2_0x26ecb0(0x3bc)]('list\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x346))['action'](llmProjectListAction),llmCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x28b))['description'](a2_0x26ecb0(0x248))[a2_0x26ecb0(0x40e)](llmProjectListAction),projectCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x37d))['description'](a2_0x26ecb0(0x28f))['option'](a2_0x26ecb0(0x43e),a2_0x26ecb0(0x3cc))[a2_0x26ecb0(0x40e)](async(_0x478cfc,_0x3b5e6b)=>{const _0x1c6982=a2_0x26ecb0,_0x4dd8c1=new LLMProjectCreateCommand(),_0x3006ae=program[_0x1c6982(0x2f6)](),_0x5f341f=await createTDXInstance(_0x3006ae),_0x22c502=await _0x4dd8c1[_0x1c6982(0x3ea)]({'options':{..._0x3006ae,..._0x3b5e6b},'args':[_0x478cfc],'tdx':_0x5f341f});gracefulExit(_0x22c502);}),projectCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x1fd))['description'](a2_0x26ecb0(0x3bb))[a2_0x26ecb0(0x40e)](async(_0x2b35f1,_0x83cdbb)=>{const _0x36ba84=a2_0x26ecb0,_0xb2a680=new LLMProjectDeleteCommand(),_0x5e25b8=program[_0x36ba84(0x2f6)](),_0x1642f6=await createTDXInstance(_0x5e25b8),_0x34ca2f=await _0xb2a680[_0x36ba84(0x3ea)]({'options':{..._0x5e25b8,..._0x83cdbb},'args':[_0x2b35f1],'tdx':_0x1642f6});gracefulExit(_0x34ca2f);}),projectCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2f0))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2a4))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2b1),'Output\x20folder\x20(default:\x20{project_name}.llm)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x3b4))[a2_0x26ecb0(0x40e)](async(_0x418615,_0x1c33fa)=>{const _0x554aee=a2_0x26ecb0,_0x52dee9=new LLMProjectBackupCommand(),_0x53e043=program[_0x554aee(0x2f6)](),_0x5dd446=await createTDXInstance(_0x53e043),_0xf657b7=await _0x52dee9[_0x554aee(0x3ea)]({'options':{..._0x53e043,..._0x1c33fa},'args':[_0x418615],'tdx':_0x5dd446});gracefulExit(_0xf657b7);}),projectCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2e6))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x22f))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x20c),a2_0x26ecb0(0x303))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x336))['action'](async(_0x327f98,_0x3f380c)=>{const _0x53d408=a2_0x26ecb0,_0x937810=new LLMProjectRestoreCommand(),_0x5899b9=program[_0x53d408(0x2f6)](),_0x4a9f72=await createTDXInstance(_0x5899b9),_0x2c81f4=await _0x937810[_0x53d408(0x3ea)]({'options':{..._0x5899b9,..._0x3f380c},'args':[_0x327f98],'tdx':_0x4a9f72});gracefulExit(_0x2c81f4);});const llmAgentListAction=async(_0x7a0986,_0xe8c2e8)=>{const _0x15497a=a2_0x26ecb0,_0x4b6468=new LLMAgentsCommand(),_0x2053a6=program[_0x15497a(0x2f6)](),_0x11b29e=await createTDXInstance(_0x2053a6),_0x4508d1=await _0x4b6468[_0x15497a(0x3ea)]({'options':{..._0x2053a6,..._0xe8c2e8},'args':_0x7a0986?[_0x7a0986]:[],'tdx':_0x11b29e});gracefulExit(_0x4508d1);};llmCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3ab))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3f7))['action'](llmAgentListAction),program['command']('agents\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3f7))['action'](llmAgentListAction),llmCmd['command'](a2_0x26ecb0(0x3ed))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3d2))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x366),a2_0x26ecb0(0x3fa))[a2_0x26ecb0(0x40e)](async(_0x191f4b,_0xfce87)=>{const _0x5a6e40=a2_0x26ecb0,_0x1586ae=new LLMHistoryCommand(),_0x4a7c5b=program[_0x5a6e40(0x2f6)](),_0x180ec6=await createTDXInstance(_0x4a7c5b),_0x205070=await _0x1586ae[_0x5a6e40(0x3ea)]({'options':{..._0x4a7c5b,..._0xfce87},'args':_0x191f4b?[_0x191f4b]:[],'tdx':_0x180ec6});gracefulExit(_0x205070);});isExperimentalAvailable()&&llmCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x41e))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x332))[a2_0x26ecb0(0x40e)](async(_0x3aa069,_0x491aae)=>{const _0x23ba7e=a2_0x26ecb0,_0x44bbc2=new LLMLogCommand(),_0x11fd7b=program[_0x23ba7e(0x2f6)](),_0x466f77=await createTDXInstance(_0x11fd7b),_0x519a04=await _0x44bbc2[_0x23ba7e(0x3ea)]({'options':{..._0x11fd7b,..._0x491aae},'args':[_0x3aa069],'tdx':_0x466f77});gracefulExit(_0x519a04);});program[a2_0x26ecb0(0x3bc)]('claude\x20[args...]')[a2_0x26ecb0(0x29f)](a2_0x26ecb0(0x30a))['description']('Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy')[a2_0x26ecb0(0x302)]('-c,\x20--continue','Continue\x20most\x20recent\x20conversation')['option'](a2_0x26ecb0(0x27f),a2_0x26ecb0(0x254))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x227),a2_0x26ecb0(0x2c5))[a2_0x26ecb0(0x3de)]()[a2_0x26ecb0(0x33d)](!![])[a2_0x26ecb0(0x39d)]('after',a2_0x26ecb0(0x3ac))[a2_0x26ecb0(0x40e)](async(_0x45360f,_0x102539)=>{const _0x2195fd=a2_0x26ecb0,_0x39952b=program[_0x2195fd(0x2f6)](),_0x2df416=Array[_0x2195fd(0x265)](_0x45360f)?_0x45360f:[];if(_0x2df416[0x0]===_0x2195fd(0x201)){const _0x405757=new ClaudeStatuslineCommand(),_0x4430be=await _0x405757[_0x2195fd(0x3ea)]({'options':{..._0x39952b,..._0x102539},'args':_0x2df416[_0x2195fd(0x3c0)](0x1),'tdx':null});gracefulExit(_0x4430be);}if(_0x2df416[0x0]===_0x2195fd(0x29f)){const _0x7ecbd2=new ClaudeUsageCommand(),_0x3eefdf=await _0x7ecbd2[_0x2195fd(0x3ea)]({'options':{..._0x39952b,..._0x102539},'args':_0x2df416[_0x2195fd(0x3c0)](0x1),'tdx':null});gracefulExit(_0x3eefdf);}const _0xa86cf8=new ClaudeCommand(),_0x3704ba=await createTDXInstance(_0x39952b),_0x189e58=await _0xa86cf8[_0x2195fd(0x3ea)]({'options':{..._0x39952b,..._0x102539},'args':_0x2df416,'tdx':_0x3704ba});gracefulExit(_0x189e58);}),program['command'](a2_0x26ecb0(0x465))[a2_0x26ecb0(0x26f)]('Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x266),a2_0x26ecb0(0x214))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x284),a2_0x26ecb0(0x29a))[a2_0x26ecb0(0x40e)](async(_0x4bc0c1,_0x5b6dfd,_0x2f8cc5)=>{const _0x2925bb=a2_0x26ecb0,_0x20b167=new UseCommand(),_0x4290c6=program[_0x2925bb(0x2f6)](),_0x37e65b=[];if(_0x4bc0c1)_0x37e65b[_0x2925bb(0x210)](_0x4bc0c1);if(_0x5b6dfd)_0x37e65b['push'](_0x5b6dfd);const _0x1d739=await _0x20b167[_0x2925bb(0x3ea)]({'options':{..._0x4290c6,..._0x2f8cc5},'args':_0x37e65b,'tdx':null});gracefulExit(_0x1d739);}),program[a2_0x26ecb0(0x3bc)]('status')['description']('Show\x20authentication\x20status\x20and\x20current\x20context')[a2_0x26ecb0(0x40e)](async _0x1cb48d=>{const _0x171365=a2_0x26ecb0,_0x5477a7=new StatusCommand(),_0x4b0409=program[_0x171365(0x2f6)](),_0x227a68=await createTDXInstance(_0x4b0409),_0xb0a790=await _0x5477a7['run']({'options':{..._0x4b0409,..._0x1cb48d},'args':[],'tdx':_0x227a68});gracefulExit(_0xb0a790);}),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x243))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x421))['option']('--default',a2_0x26ecb0(0x423))[a2_0x26ecb0(0x40e)](async(_0x385a08,_0x45f79d)=>{const _0x3d4e21=a2_0x26ecb0,_0x32fc53=new UnsetCommand(),_0x41e783=program[_0x3d4e21(0x2f6)](),_0x1eebee=await _0x32fc53[_0x3d4e21(0x3ea)]({'options':{..._0x41e783,..._0x45f79d},'args':[_0x385a08],'tdx':null});gracefulExit(_0x1eebee);}),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x245))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x37b))['option'](a2_0x26ecb0(0x366),a2_0x26ecb0(0x296))[a2_0x26ecb0(0x40e)](async _0x5408e2=>{const _0x228297=a2_0x26ecb0,_0x1b001e=new ChatsCommand(),_0x592d57=program[_0x228297(0x2f6)](),_0xf2fb42=await createTDXInstance(_0x592d57),_0x25ad5e=await _0x1b001e['run']({'options':{..._0x592d57,..._0x5408e2},'args':[],'tdx':_0xf2fb42});gracefulExit(_0x25ad5e);});const authCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x23e))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x285));async function runAuthStatusCommand(_0x50f1d2){const _0x7e7ec6=a2_0x26ecb0,_0xd44393=new AuthStatusCommand(),_0x73babc=program['opts'](),_0x5db399=await createTDXInstance(_0x73babc),_0x2640fe=await _0xd44393[_0x7e7ec6(0x3ea)]({'options':{..._0x73babc,..._0x50f1d2},'args':[],'tdx':_0x5db399});gracefulExit(_0x2640fe);}authCmd['action'](runAuthStatusCommand),authCmd['command']('status')['description'](a2_0x26ecb0(0x269))[a2_0x26ecb0(0x40e)](runAuthStatusCommand),authCmd[a2_0x26ecb0(0x3bc)]('setup')[a2_0x26ecb0(0x26f)]('Setup\x20API\x20key\x20authentication\x20interactively')[a2_0x26ecb0(0x39d)]('after',a2_0x26ecb0(0x46c))[a2_0x26ecb0(0x40e)](async _0x33b36f=>{const _0x10f2ca=a2_0x26ecb0,_0x179707=new AuthSetupCommand(),_0x2a242a=program[_0x10f2ca(0x2f6)](),_0x2c0445=await createTDXInstance(_0x2a242a),_0x3995e2=await _0x179707[_0x10f2ca(0x3ea)]({'options':{..._0x2a242a,..._0x33b36f},'args':[],'tdx':_0x2c0445});gracefulExit(_0x3995e2);}),authCmd['command'](a2_0x26ecb0(0x365))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3b2))[a2_0x26ecb0(0x39d)](a2_0x26ecb0(0x3d8),'\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a')['action'](async _0x252ec6=>{const _0x47792b=a2_0x26ecb0,_0x194c50=new AuthClearCommand(),_0x3af11f=program['opts'](),_0x2b3863=await _0x194c50[_0x47792b(0x3ea)]({'options':{..._0x3af11f,..._0x252ec6},'args':[],'tdx':null});gracefulExit(_0x2b3863);});const userCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3a2))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x372)),userListAction=async _0x419688=>{const _0x53b58a=a2_0x26ecb0,_0xaaa825=new UserListCommand(),_0x485f22=program[_0x53b58a(0x2f6)](),_0xdbf93=await createTDXInstance(_0x485f22),_0x54ff4d=await _0xaaa825[_0x53b58a(0x3ea)]({'options':{..._0x485f22,..._0x419688},'args':[],'tdx':_0xdbf93});gracefulExit(_0x54ff4d);};userCmd[a2_0x26ecb0(0x40e)](async _0x1e63da=>{const _0x37c94b=a2_0x26ecb0,_0x1daf0d=new UserCommand(),_0x544733=program[_0x37c94b(0x2f6)](),_0x3753c5=await createTDXInstance(_0x544733),_0x487e77=await _0x1daf0d[_0x37c94b(0x3ea)]({'options':{..._0x544733,..._0x1e63da},'args':[],'tdx':_0x3753c5});gracefulExit(_0x487e77);}),userCmd[a2_0x26ecb0(0x3bc)]('list')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1ed))['action'](userListAction),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x34f))[a2_0x26ecb0(0x26f)]('List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)')[a2_0x26ecb0(0x40e)](userListAction),program['command']('profiles')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2b8))['action'](async _0x476bdd=>{const _0x382f48=a2_0x26ecb0,_0x29f4f2=new ProfilesCommand(),_0x5e8fc4=program[_0x382f48(0x2f6)](),_0x599c8e=await _0x29f4f2[_0x382f48(0x3ea)]({'options':{..._0x5e8fc4,..._0x476bdd},'args':[],'tdx':null});gracefulExit(_0x599c8e);});const profileCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x369))[a2_0x26ecb0(0x26f)]('Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)');profileCmd[a2_0x26ecb0(0x40e)](()=>{const _0x2b559c=a2_0x26ecb0;profileCmd[_0x2b559c(0x251)]();});const profileListAction=async _0x4ae5cb=>{const _0x10ecd9=a2_0x26ecb0,_0x5d276a=new ProfilesCommand(),_0x36ddba=program[_0x10ecd9(0x2f6)](),_0x53c3f1=await _0x5d276a[_0x10ecd9(0x3ea)]({'options':{..._0x36ddba,..._0x4ae5cb},'args':[],'tdx':null});gracefulExit(_0x53c3f1);};profileCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x260))[a2_0x26ecb0(0x26f)]('List\x20all\x20available\x20profiles')[a2_0x26ecb0(0x40e)](profileListAction),profileCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x41a))[a2_0x26ecb0(0x26f)]('Create\x20a\x20new\x20profile')['addHelpText'](a2_0x26ecb0(0x3d8),a2_0x26ecb0(0x36b))['action'](async(_0x5681eb,_0x5359f1)=>{const _0x4ce94c=a2_0x26ecb0,_0x1a7f09=new ProfileCreateCommand(),_0x1619db=program['opts'](),_0x5e4417=await _0x1a7f09[_0x4ce94c(0x3ea)]({'options':{..._0x1619db,..._0x5359f1},'args':_0x5681eb?[_0x5681eb]:[],'tdx':null});gracefulExit(_0x5e4417);}),profileCmd[a2_0x26ecb0(0x3bc)]('remove\x20<name>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x46b))[a2_0x26ecb0(0x39d)]('after',a2_0x26ecb0(0x323))[a2_0x26ecb0(0x40e)](async(_0x478323,_0x437814)=>{const _0x34bbdf=a2_0x26ecb0,_0x7011ee=new ProfileRemoveCommand(),_0x19da16=program['opts'](),_0x52be6d=await _0x7011ee[_0x34bbdf(0x3ea)]({'options':{..._0x19da16,..._0x437814},'args':[_0x478323],'tdx':null});gracefulExit(_0x52be6d);}),profileCmd['command'](a2_0x26ecb0(0x419))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x1fa))[a2_0x26ecb0(0x39d)](a2_0x26ecb0(0x3d8),a2_0x26ecb0(0x20b))[a2_0x26ecb0(0x40e)](async(_0x2efe89,_0x1982eb)=>{const _0x5328e2=a2_0x26ecb0,_0x149ed6=new ProfileSetCommand(),_0xa7db84=program['opts'](),_0x33d300=await _0x149ed6[_0x5328e2(0x3ea)]({'options':{..._0xa7db84,..._0x1982eb},'args':[_0x2efe89],'tdx':null});gracefulExit(_0x33d300);}),profileCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x253))['description'](a2_0x26ecb0(0x3e8))['option']('--default',a2_0x26ecb0(0x29a))[a2_0x26ecb0(0x39d)](a2_0x26ecb0(0x3d8),a2_0x26ecb0(0x3b7))[a2_0x26ecb0(0x40e)](async(_0x2f5d40,_0x3913c6)=>{const _0x44a436=a2_0x26ecb0,_0x1c62b4=new ProfileUseCommand(),_0x428449=program[_0x44a436(0x2f6)](),_0x5000e2=await _0x1c62b4[_0x44a436(0x3ea)]({'options':{..._0x428449,..._0x3913c6},'args':[_0x2f5d40],'tdx':null});gracefulExit(_0x5000e2);});const engageCmd=program['command']('engage')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x388)),createEngageAction=_0x408dd1=>{return async(_0x5efaff,_0x19d2de)=>{const _0xfd5fb2=a2_0x30f1,_0x4ff70d=new _0x408dd1(),_0x1f4db4=program['opts'](),_0x1bb7ce=await createTDXInstance(_0x1f4db4),_0x3e175b=await _0x4ff70d[_0xfd5fb2(0x3ea)]({'options':{..._0x1f4db4,..._0x19d2de},'args':[_0x5efaff],'tdx':_0x1bb7ce});gracefulExit(_0x3e175b);};},createEngageNoArgAction=_0x1eb8d7=>{return async _0x296dd3=>{const _0x56d96e=a2_0x30f1,_0x2ea59a=new _0x1eb8d7(),_0x26148f=program[_0x56d96e(0x2f6)](),_0x10e32c=await createTDXInstance(_0x26148f),_0x305487=await _0x2ea59a[_0x56d96e(0x3ea)]({'options':{..._0x26148f,..._0x296dd3},'args':[],'tdx':_0x10e32c});gracefulExit(_0x305487);};},campaignCmd=engageCmd['command'](a2_0x26ecb0(0x448))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x228)),campaignListAction=async(_0x369284,_0x375f35)=>{const _0x22e7c0=a2_0x26ecb0,_0x43ed88=new EngageCampaignsCommand(),_0x31caa1=program['opts'](),_0x14d04d=await createTDXInstance(_0x31caa1),_0x5e8ba2=await _0x43ed88[_0x22e7c0(0x3ea)]({'options':{..._0x31caa1,..._0x375f35},'args':_0x369284?[_0x369284]:[],'tdx':_0x14d04d});gracefulExit(_0x5e8ba2);};campaignCmd['command'](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x218),a2_0x26ecb0(0x2e2))['option'](a2_0x26ecb0(0x2b5),a2_0x26ecb0(0x21f))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),'Workspace\x20name')['action'](campaignListAction),engageCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x373))['description'](a2_0x26ecb0(0x261))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x218),'Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x26ecb0(0x302)]('--status\x20<status>',a2_0x26ecb0(0x21f))[a2_0x26ecb0(0x302)]('--workspace\x20<name>',a2_0x26ecb0(0x351))[a2_0x26ecb0(0x40e)](campaignListAction),campaignCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x1f5))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x339))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),a2_0x26ecb0(0x351))[a2_0x26ecb0(0x302)]('--full',a2_0x26ecb0(0x2bf))[a2_0x26ecb0(0x40e)](createEngageAction(EngageCampaignShowCommand)),campaignCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x308))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x240))['requiredOption'](a2_0x26ecb0(0x32f),a2_0x26ecb0(0x294))[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x218),a2_0x26ecb0(0x33a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),a2_0x26ecb0(0x304))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x31f),'Campaign\x20description')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x22e),a2_0x26ecb0(0x2a3))[a2_0x26ecb0(0x302)]('--email-sender-id\x20<id>',a2_0x26ecb0(0x439))[a2_0x26ecb0(0x302)]('--json-columns\x20<cols>',a2_0x26ecb0(0x2e1))['option']('--start-at\x20<datetime>','Delivery\x20start\x20time\x20(ISO\x208601\x20format)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f5),'Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')['action'](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x26ecb0(0x3bc)]('update\x20<name-or-id>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2fe))[a2_0x26ecb0(0x302)]('--workspace\x20<name>',a2_0x26ecb0(0x351))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x32f),'New\x20campaign\x20name')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x31f),a2_0x26ecb0(0x456))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x22e),a2_0x26ecb0(0x2a3))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3c7),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x455),a2_0x26ecb0(0x2e1))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2bc),a2_0x26ecb0(0x333))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3f5),a2_0x26ecb0(0x2d3))[a2_0x26ecb0(0x40e)](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd['command']('delete\x20<name-or-id>')['description'](a2_0x26ecb0(0x40b))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),a2_0x26ecb0(0x351))['option'](a2_0x26ecb0(0x3a9),a2_0x26ecb0(0x33b))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd['command'](a2_0x26ecb0(0x422))['description']('Launch\x20a\x20campaign')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),'Workspace\x20name')['action'](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x2e4))[a2_0x26ecb0(0x26f)]('Pause\x20a\x20campaign')[a2_0x26ecb0(0x302)]('--workspace\x20<name>',a2_0x26ecb0(0x351))['action'](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x297))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2fd))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),a2_0x26ecb0(0x351))[a2_0x26ecb0(0x40e)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd['command'](a2_0x26ecb0(0x319))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x22b))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),'Workspace\x20name')['action'](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x412))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2b7)),templateListAction=async(_0x1a151c,_0x551c74)=>{const _0x520dee=a2_0x26ecb0,_0xf2ec1b=new EngageTemplatesCommand(),_0x252e24=program[_0x520dee(0x2f6)](),_0x4f3547=await createTDXInstance(_0x252e24),_0x2eca08=await _0xf2ec1b[_0x520dee(0x3ea)]({'options':{..._0x252e24,..._0x551c74},'args':_0x1a151c?[_0x1a151c]:[],'tdx':_0x4f3547});gracefulExit(_0x2eca08);};templateCmd[a2_0x26ecb0(0x3bc)]('list\x20[pattern]')['description'](a2_0x26ecb0(0x42a))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),'Workspace\x20name')['action'](templateListAction),engageCmd['command'](a2_0x26ecb0(0x334))[a2_0x26ecb0(0x26f)]('List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),a2_0x26ecb0(0x351))[a2_0x26ecb0(0x40e)](templateListAction),templateCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x1f5))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x208))[a2_0x26ecb0(0x302)]('--workspace\x20<name>','Workspace\x20name')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2ce),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')['action'](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x308))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x32a))[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x32f),a2_0x26ecb0(0x3d9))['requiredOption'](a2_0x26ecb0(0x252),a2_0x26ecb0(0x3f2))[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x2a2),a2_0x26ecb0(0x2d8))['option'](a2_0x26ecb0(0x43a),'Workspace\x20name\x20(required)')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x1f6),a2_0x26ecb0(0x26d))[a2_0x26ecb0(0x302)]('--editor-type\x20<type>','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)',_0x37901d=>{const _0x70793c=a2_0x26ecb0;if(![_0x70793c(0x2a5),_0x70793c(0x2c7)]['includes'](_0x37901d))throw new SDKError(ErrorCode[_0x70793c(0x3c4)],'Invalid\x20editor\x20type:\x20'+_0x37901d+_0x70793c(0x424));return _0x37901d;})['action'](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3a1))['description'](a2_0x26ecb0(0x3fb))[a2_0x26ecb0(0x302)]('--workspace\x20<name>',a2_0x26ecb0(0x351))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x32f),'New\x20template\x20name')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x252),a2_0x26ecb0(0x3f2))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2a2),'HTML\x20template\x20content')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x1f6),'Plaintext\x20template\x20content')[a2_0x26ecb0(0x40e)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd['command'](a2_0x26ecb0(0x2f9))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x458))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43a),a2_0x26ecb0(0x351))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3a9),a2_0x26ecb0(0x33b))['action'](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd[a2_0x26ecb0(0x3bc)]('workspace')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x31c)),workspaceListAction=async(_0x3c0c36,_0x35e211)=>{const _0x4f1408=a2_0x26ecb0,_0x1ca793=new EngageWorkspacesCommand(),_0x140217=program[_0x4f1408(0x2f6)](),_0x2cb1cd=await createTDXInstance(_0x140217),_0x3ab928=await _0x1ca793[_0x4f1408(0x3ea)]({'options':{..._0x140217,..._0x35e211},'args':_0x3c0c36?[_0x3c0c36]:[],'tdx':_0x2cb1cd});gracefulExit(_0x3ab928);};workspaceCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x258))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2e9))[a2_0x26ecb0(0x40e)](workspaceListAction),engageCmd['command'](a2_0x26ecb0(0x278))['description'](a2_0x26ecb0(0x2b9))['action'](workspaceListAction),workspaceCmd[a2_0x26ecb0(0x3bc)]('show\x20<name-or-id>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3c8))[a2_0x26ecb0(0x302)]('--full',a2_0x26ecb0(0x2bf))[a2_0x26ecb0(0x40e)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd['command'](a2_0x26ecb0(0x308))['description'](a2_0x26ecb0(0x2b6))[a2_0x26ecb0(0x43c)](a2_0x26ecb0(0x32f),'Workspace\x20name')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x31f),a2_0x26ecb0(0x1fe))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3a1))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x462))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x32f),a2_0x26ecb0(0x42d))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x31f),a2_0x26ecb0(0x1fe))[a2_0x26ecb0(0x40e)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd['command'](a2_0x26ecb0(0x2f9))['description'](a2_0x26ecb0(0x2ab))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3a9),a2_0x26ecb0(0x33b))[a2_0x26ecb0(0x40e)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x26ecb0(0x3bc)]('use\x20<name>')['description'](a2_0x26ecb0(0x28a))[a2_0x26ecb0(0x40e)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program['command'](a2_0x26ecb0(0x1eb))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x27c)),connectionListAction=async _0x20aa47=>{const _0x3600f2=a2_0x26ecb0,_0x1ad92d=new ConnectionListCommand(),_0x278b34=program['opts'](),_0x3691f2=await createTDXInstance(_0x278b34),_0x65537c=await _0x1ad92d[_0x3600f2(0x3ea)]({'options':{..._0x278b34,..._0x20aa47},'args':[],'tdx':_0x3691f2});gracefulExit(_0x65537c);};connectionCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x260))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x200))[a2_0x26ecb0(0x40e)](connectionListAction),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x400),{'hidden':!![]})[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x453))[a2_0x26ecb0(0x40e)](connectionListAction),connectionCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x1e4))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x433))[a2_0x26ecb0(0x40e)](async(_0x585d65,_0x2388c9)=>{const _0x4f915f=a2_0x26ecb0,_0x1012a7=new ConnectionShowCommand(),_0x258f13=program[_0x4f915f(0x2f6)](),_0x3f1ba2=await createTDXInstance(_0x258f13),_0x4885a8=await _0x1012a7[_0x4f915f(0x3ea)]({'options':{..._0x258f13,..._0x2388c9},'args':[_0x585d65],'tdx':_0x3f1ba2});gracefulExit(_0x4885a8);}),connectionCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3d7))[a2_0x26ecb0(0x26f)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x26ecb0(0x40e)](async(_0x313091,_0x3d9c2a)=>{const _0x4a5b39=a2_0x26ecb0,_0x55fb0f=new ConnectionSchemaCommand(),_0x4e2f40=program[_0x4a5b39(0x2f6)](),_0x5ac267=await createTDXInstance(_0x4e2f40),_0x5ec7e1=await _0x55fb0f[_0x4a5b39(0x3ea)]({'options':{..._0x4e2f40,..._0x3d9c2a},'args':[_0x313091],'tdx':_0x5ac267});gracefulExit(_0x5ec7e1);}),connectionCmd['command']('types')['description'](a2_0x26ecb0(0x235))[a2_0x26ecb0(0x40e)](async _0xa68d12=>{const _0x4b488e=a2_0x26ecb0,_0x8a1960=new ConnectionTypesCommand(),_0x5dd69d=program[_0x4b488e(0x2f6)](),_0x4325d8=await createTDXInstance(_0x5dd69d),_0x4891c1=await _0x8a1960['run']({'options':{..._0x5dd69d,..._0xa68d12},'args':[],'tdx':_0x4325d8});gracefulExit(_0x4891c1);}),connectionCmd[a2_0x26ecb0(0x3bc)]('settings\x20<type>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x427))['action'](async(_0x580fdf,_0x45aff8)=>{const _0x369d52=new ConnectionSettingsCommand(),_0x85114e=program['opts'](),_0x44838c=await createTDXInstance(_0x85114e),_0x40bd37=await _0x369d52['run']({'options':{..._0x85114e,..._0x45aff8},'args':[_0x580fdf],'tdx':_0x44838c});gracefulExit(_0x40bd37);});const journeyCmd=program[a2_0x26ecb0(0x3bc)]('journey')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x237)),journeyListAction=async(_0x1a395d,_0xb45386)=>{const _0x5189c7=a2_0x26ecb0,_0x56cf29=new JourneyListCommand(),_0x2b80b4=program[_0x5189c7(0x2f6)](),_0xeca398=await createTDXInstance(_0x2b80b4),_0x4c1b82=await _0x56cf29[_0x5189c7(0x3ea)]({'options':{..._0x2b80b4,..._0xb45386},'args':_0x1a395d?[_0x1a395d]:[],'tdx':_0xeca398});gracefulExit(_0x4c1b82);};function a2_0x1f8c(){const _0xdd4e63=['Maximum\x20recursion\x20depth\x20(default:\x2010)','duplicate\x20<name-or-id>','Unknown\x20action:\x20','1952395KCLDhy','Workspace\x20management','Workflow\x20attempt\x20management','List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)','--description\x20<desc>','Resume\x20from\x20specific\x20task','Path\x20is\x20not\x20a\x20directory:\x20','journeys\x20[pattern]','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','--chat-id\x20<id>','database','repeat','--name\x20<new_name>','RT\x202.0\x20configuration\x20management','--include-stats','Create\x20an\x20email\x20template','--max-tool-iterations\x20<n>','Output\x20file\x20path','project','Starting\x20offset\x20(default:\x200)','--name\x20<name>','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','isDirectory','[EXPERIMENTAL]\x20Show\x20chat\x20log','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','templates\x20[pattern]','LLM\x20project\x20management','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','--attributes\x20<json>','isTTY','Show\x20campaign\x20details','Campaign\x20type\x20(email\x20or\x20push)','Skip\x20confirmation\x20prompt','Attempt\x20ID','allowExcessArguments','--result\x20<url>','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','info\x20[segment_name]','pull\x20[parent_or_file]','TRACE','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','desc','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','commands','delete\x20<args...>','Set\x20or\x20show\x20parent\x20segment\x20context','history\x20<name>','New\x20segment\x20name','--interval\x20<range>','alias','users','list\x20[name]','Workspace\x20name','flags','Show\x20master\x20table\x20sample\x20data','Export\x20journey(s)\x20as\x20YAML\x20files','sql\x20[segment_name]','DEBUG','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','noColor','[task-name]','--version','configureHelp','--from\x20<timestamp>','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','--time\x20<iso8601>','createAsync','--reason\x20<text>','6906340gQabCB','List\x20jobs','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','--stream','clear','--last','Number\x20of\x20executions\x20(1-10,\x20default:\x201)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','profile','table','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','attempt','--name\x20<names>','--tags\x20<tags>','--json','show\x20<job-id>','--add-behaviors-file\x20<file>','User\x20management\x20commands','campaigns\x20[pattern]','schedule','Include\x20retried\x20attempts','Timezone\x20for\x20cron\x20(default:\x20UTC)','push\x20[parent_or_file]','Delete\x20a\x20scheduled\x20query','Validate\x20journey\x20YAML\x20files\x20locally','use\x20<project-name>','Interactive\x20chat\x20selector','--debug','create\x20<name>','-o,\x20--output\x20<dir>','workflows\x20[project]','Show\x20schedule\x20execution\x20history','jsonl','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','folders\x20<parent_name>','--reeval','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','mcp','Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)','--in\x20<name>','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','set','--kind\x20<type>','delete\x20<agent-name>','Preview\x20without\x20creating\x20the\x20project','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','--session-id\x20<id>','Custom\x20revision\x20name\x20(default:\x20timestamp)','--data\x20<data>','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','Commands:','attempts\x20[project]','apiKey','--table','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','addHelpText','timeline\x20[project.workflow]','--attempt-id\x20<id>','Preview\x20operation\x20without\x20executing','update\x20<name-or-id>','user','buildTime','download\x20<project-name>\x20[output-dir]','-d,\x20--database\x20<db>','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','--to\x20<n>','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','--yes','--skip-validation','agents\x20[pattern]','\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','LLM\x20agent\x20management','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','Remove\x20API\x20key\x20from\x20system\x20keychain','show\x20<agent-name>','Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','Folder\x20name\x20for\x20organization','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','parent-segment','Run\x20specific\x20tests\x20(comma-separated)','--add-attributes-file\x20<file>','Delete\x20an\x20LLM\x20project','command','--trace','Resume\x20from\x20specific\x20task\x20(retry)','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','slice','--site\x20<site>','--folder\x20<name>','Directory\x20does\x20not\x20exist:\x20','INVALID_ARGUMENT','Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage','Overwrite\x20local\x20changes\x20without\x20confirmation','--email-sender-id\x20<id>','Show\x20workspace\x20details','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','--add-behaviors\x20<json>','Master\x20database\x20name','Project\x20description','--params\x20<json>','Parent\x20segment\x20description','Show\x20only\x20master\x20table\x20validation','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Follow/watch\x20timeline\x20for\x20running\x20attempts','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','Output\x20file\x20path\x20(default:\x20<name>.yml)','Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria','-y,\x20--yes','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','schema\x20<type>','after','Template\x20name','Usage:\x20','--system-prompt\x20<text>','Workflow\x20session\x20management','Delay\x20in\x20seconds\x20before\x20execution','allowUnknownOption','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Action:\x20logs,\x20tasks,\x20kill,\x20retry','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','validate\x20[name]','parse','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)','--from\x20<n>','Updated\x20description','init\x20[name]','Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','run','use\x20<path>','injectIntoOptions','history\x20[chat-id]','Submit\x20a\x20job','update\x20<name>','--parent-segment\x20<name>','--database\x20<name>','Email\x20subject\x20template','--from-task\x20<task>','End\x20time\x20filter\x20(ISO\x208601\x20format)','--timezone\x20<tz>','Open\x20journey\x20in\x20web\x20browser','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','agent','attempt:','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Update\x20an\x20email\x20template','Pull\x20child\x20segments\x20to\x20YAML\x20files','-w,\x20--web','desc\x20[name]','Override\x20project\x20name','connections','--rule-file\x20<file>','Output\x20as\x20JSON\x20Lines','folder','--name\x20<text>','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file','--session\x20<id>','Request\x20body\x20as\x20JSON\x20string','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','Attributes\x20from\x20JSON\x20file','Add\x20attributes\x20as\x20JSON\x20string','Delete\x20a\x20campaign','--limit\x20<rows>','Folder\x20description','action','0.7','clone\x20[source-dir]','--session-time\x20<time>','template','Open\x20parent\x20segment\x20in\x20web\x20browser','AI-native\x20CLI\x20for\x20Treasure\x20Data','fields\x20[name]','required','Output\x20directory','492298TfBqup','set\x20<key=value>','create\x20[name]','Preview\x20changes\x20without\x20writing\x20files','Pull\x20workflow\x20project\x20to\x20local\x20folder','commandUsage','log\x20<chat-id>','12922632rShnsZ','1104032biyjmz','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','launch\x20<name-or-id>','Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','Result\x20output\x20destination\x20URL','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','Workflow\x20project\x20management','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','options','Agent\x20name','New\x20workspace\x20name','Include\x20retried\x20attempts\x20(for\x20list)','information_schema','Show\x20journey\x20statistics','submit\x20[query]','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','Show\x20connection\x20details\x20by\x20name','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','--invisible','Revision\x20name\x20(default:\x20timestamp)','[attempt-id]','result\x20<job-id>','Email\x20sender\x20ID\x20for\x20delivery','--workspace\x20<name>','Updated\x20schedule\x20option','requiredOption','Pause\x20a\x20running\x20journey','--description\x20<text>','--customer-group-file\x20<file>','Database\x20to\x20query\x20(default:\x20information_schema)','Enable\x20verbose\x20logging','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','--resume-from\x20<task>','argv','push\x20[source-dir]','workflow','campaign','--num\x20<1-10>','Trino\x20catalog\x20(default:\x20td)','INFO','Cron\x20expression\x20for\x20scheduling','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','--attributes-file\x20<file>','upload\x20[project-name-or-dir]','Table\x20management\x20commands','Behaviors\x20as\x20JSON\x20string','catch','List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)','-d,\x20--database\x20<database>','--json-columns\x20<cols>','Campaign\x20description','Add\x20behaviors\x20from\x20JSON\x20file','Delete\x20an\x20email\x20template','_list-commands','directory','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','filter','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Options:','validate\x20[target]','Update\x20a\x20workspace','logLevel','Run\x20Trino\x20query\x20with\x20streaming\x20results','use\x20[resource]\x20[value]','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','clone\x20[source]','--max-depth\x20<depth>','name','Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)','Remove\x20a\x20profile','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','help','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','show\x20<name>','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--behaviors-file\x20<file>','trino','Temperature\x20(0.0-2.0,\x20default:\x200.7)','Preview\x20changes\x20without\x20pushing','connection','-1d','List\x20all\x20users\x20in\x20the\x20account','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','Database\x20name','Skip\x20confirmation\x20prompts','--no-eval','Show\x20segment\x20details\x20(alias\x20for\x20view)','pull\x20<project>\x20[target-dir]','flatMap','show\x20<name-or-id>','--plaintext\x20<text>','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','padEnd','Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)','Set\x20a\x20profile\x20configuration\x20value','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','argumentDescription','delete\x20<name>','Workspace\x20description','--type\x20<api_type>','List\x20all\x20data\x20connections','statusline','view\x20[name]','-p,\x20--profile\x20<name>','subcommandDescription','commandDescription','List\x20secret\x20keys\x20for\x20a\x20project','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Show\x20email\x20template\x20details','[action]','Read\x20query\x20from\x20file','\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a','--name\x20<new-name>','--include-retried','hook','Read\x20request\x20body\x20from\x20file','push','Skip\x20validation\x20of\x20.dig\x20files','--starter-message\x20<text>','Output\x20as\x20JSON','Clear\x20session\x20context','Personalization\x20service\x20management','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','split','--type\x20<type>','segment','tdx','22064ntOoPz','Push\x20without\x20confirmation','Pull\x20specific\x20revision\x20(default:\x20latest)','List\x20journeys\x20in\x20current\x20context','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)','--param\x20<key=value>','Update\x20an\x20existing\x20agent','6690584IzRlJd','Start\x20time\x20filter\x20(ISO\x208601\x20format)','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--no-proxy','Campaign\x20management','--help','push\x20[path]','Duplicate\x20a\x20campaign','long',',\x20version\x20','--segment\x20<path>','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','trace','-f,\x20--file\x20<path>','--database\x20<db>','--in\x20<database>','desc\x20[segment_name]','List\x20available\x20connector\x20types','--master','CDP\x20Journey\x20Orchestration\x20commands','--priority\x20<-2~2>','-X,\x20--method\x20<method>','GET','List\x20agents\x20in\x20current\x20project','Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)','validate\x20[file]','auth','-d,\x20--database\x20<name>','Create\x20a\x20new\x20campaign','Open\x20segment\x20in\x20web\x20browser','Show\x20job\x20details','unset\x20<resource>','debug','chats','Add\x20attributes\x20from\x20JSON\x20file','kill','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Move\x20to\x20folder','tsv','subcommandTerm','--follow','--force','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','39eGsTIk','outputHelp','--subject\x20<subject>','use\x20<name>','Resume\x20a\x20conversation\x20(shows\x20selector)','hidden','LLM\x20project\x20to\x20use\x20(overrides\x20context)','preview\x20[file]','list\x20[pattern]','chdir','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','gitRevision','preview\x20[name]','--behavior\x20[name]','session','run\x20<name>','list','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','pull\x20[project]\x20[agent-name]','argument','--temperature\x20<n>','isArray','--clear','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Show\x20stats\x20for\x20specific\x20stage','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','join','length','List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)','Plaintext\x20template\x20content','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','description','argumentTerm','includes','parent','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','--enriched','--jsonl','workspaces\x20[pattern]','--schedule-option\x20<value>','Segment\x20description','retry','Data\x20connection\x20management\x20(for\x20activations/exports)','Show\x20schedule\x20details','--delay\x20<seconds>','-r,\x20--resume','Agent\x20description','Task\x20name\x20for\x20logs\x20action','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','--revision\x20<revision>','--default','Authentication\x20management','--color','show\x20[table]','--cron\x20<expression>','Workflow\x20parameter\x20(repeatable)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','projects\x20[pattern]','...','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','-f,\x20--force','Create\x20a\x20new\x20LLM\x20project','forEach','pull\x20[name]','[DEPRECATED]\x20Segment\x20folder\x20management','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','Campaign\x20name','--no-count-population','Show\x20the\x20most\x20recent\x20chat','resume\x20<name-or-id>','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','Show\x20segment\x20schema\x20(column\x20types)','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','query\x20[sql]','Updated\x20timezone','--limit\x20<n>','llm','usage','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','then','--html\x20<html>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)','beefree','Include\x20subtasks\x20in\x20tasks\x20output','Show\x20journey\x20details','--behaviors\x20<json>','api\x20[endpoint]','chat\x20[message...]','Delete\x20a\x20workspace','List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)','--tsv','\x20-\x20built\x20','--no-color','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','-o,\x20--output\x20<folder>','Customer\x20group\x20as\x20JSON\x20string','set\x20<args...>','Starter\x20message','--status\x20<status>','Create\x20a\x20workspace','Email\x20template\x20management','List\x20all\x20available\x20profiles','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--include-subtasks','--limit\x20<number>','--start-at\x20<datetime>','variadic','--rule\x20<json>','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','Alias\x20for\x20--database\x20(natural\x20language\x20style)','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file','Delete\x20workflow\x20project\x20from\x20Treasure\x20Data','format','\x20(resolved\x20to\x20','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','claude-4.5-sonnet','grapesjs','Run\x20tests\x20for\x20an\x20LLM\x20agent','Manage\x20workflow\x20project\x20secrets','-C,\x20--directory\x20<path>','delete\x20<project-name-or-id>','Resume\x20a\x20paused\x20journey','Retry\x20limit\x20(0\x20to\x2032)','--full','6MicfMH','Generate\x20test\x20conversations\x20without\x20evaluation','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','optionDescription','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','preAction','HTML\x20template\x20content','jobs','Ending\x20offset\x20(default:\x2020)','exit','Behaviors\x20from\x20JSON\x20file','segments\x20[path]','Kill\x20a\x20job','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--prompt\x20<text>','pause\x20<name-or-id>','--dry-run','restore\x20<folder>','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','--model\x20<name>','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','Create\x20a\x20scheduled\x20query','-o,\x20--output\x20<file>','run\x20[name]','Include\x20execution\x20statistics','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','backup\x20<name>','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','stdout','Query\x20type:\x20trino\x20or\x20hive','get','List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context','opts','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','tdx\x20','delete\x20<name-or-id>','Skip\x20population\x20counting','Database\x20name\x20(default:\x20information_schema)','list\x20[path]','Resume\x20a\x20paused\x20campaign','Update\x20a\x20campaign','update\x20<segment_name>','--retry-limit\x20<0~32>','site','option','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Workspace\x20name\x20(required)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','Force\x20retry\x20even\x20if\x20not\x20failed','summary','create','Query\x20engine\x20version','[options]\x20--\x20[claude-code-args...]','error','--add-attributes\x20<json>','--attribute\x20[name]','--engine-version\x20<version>','find','list\x20[project]','push\x20[file]','Timezone\x20for\x20cron','--stage\x20<name>','registeredArguments','map','log','Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)'];a2_0x1f8c=function(){return _0xdd4e63;};return a2_0x1f8c();}journeyCmd[a2_0x26ecb0(0x3bc)]('list\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x21e))[a2_0x26ecb0(0x40e)](journeyListAction),journeyCmd[a2_0x26ecb0(0x3bc)]('view\x20<name-or-path>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2a7))['option'](a2_0x26ecb0(0x3fd),a2_0x26ecb0(0x3f6))['option'](a2_0x26ecb0(0x329),a2_0x26ecb0(0x2ee))[a2_0x26ecb0(0x40e)](async(_0x3a6360,_0x50ab55)=>{const _0x4d666a=a2_0x26ecb0,_0x3e16dd=new JourneyViewCommand(),_0x334fcc=program[_0x4d666a(0x2f6)](),_0xc935a9=await createTDXInstance(_0x334fcc),_0x147c75=await _0x3e16dd[_0x4d666a(0x3ea)]({'options':{..._0x334fcc,..._0x50ab55},'args':[_0x3a6360],'tdx':_0xc935a9});gracefulExit(_0x147c75);}),journeyCmd[a2_0x26ecb0(0x3bc)]('stats\x20<name-or-path>')['description'](a2_0x26ecb0(0x430))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x313),a2_0x26ecb0(0x268))[a2_0x26ecb0(0x40e)](async(_0x2443d6,_0x1fe6e7)=>{const _0x3810c7=a2_0x26ecb0,_0x19cb35=new JourneyStatsCommand(),_0x25f2cc=program[_0x3810c7(0x2f6)](),_0x5d94a0=await createTDXInstance(_0x25f2cc),_0xef866e=await _0x19cb35[_0x3810c7(0x3ea)]({'options':{..._0x25f2cc,..._0x1fe6e7},'args':[_0x2443d6],'tdx':_0x5d94a0});gracefulExit(_0xef866e);}),journeyCmd[a2_0x26ecb0(0x3bc)]('pause\x20<name-or-path>')['description'](a2_0x26ecb0(0x43d))[a2_0x26ecb0(0x40e)](async(_0x4836c7,_0x21281b)=>{const _0x22edc4=a2_0x26ecb0,_0x39b07c=new JourneyPauseCommand(),_0x3d51b8=program[_0x22edc4(0x2f6)](),_0x425976=await createTDXInstance(_0x3d51b8),_0x89bdb=await _0x39b07c[_0x22edc4(0x3ea)]({'options':{..._0x3d51b8,..._0x21281b},'args':[_0x4836c7],'tdx':_0x425976});gracefulExit(_0x89bdb);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2cc))[a2_0x26ecb0(0x40e)](async(_0x1c9d26,_0x3635e8)=>{const _0x4d2b49=a2_0x26ecb0,_0x3cdc5b=new JourneyResumeCommand(),_0x54dd98=program[_0x4d2b49(0x2f6)](),_0x4fd3e4=await createTDXInstance(_0x54dd98),_0x2b2d8a=await _0x3cdc5b[_0x4d2b49(0x3ea)]({'options':{..._0x54dd98,..._0x3635e8},'args':[_0x1c9d26],'tdx':_0x4fd3e4});gracefulExit(_0x2b2d8a);}),journeyCmd['command'](a2_0x26ecb0(0x291))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x354))[a2_0x26ecb0(0x302)]('-y,\x20--yes','Skip\x20confirmation\x20prompt')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e5),a2_0x26ecb0(0x2e7))[a2_0x26ecb0(0x40e)](async(_0x55cf43,_0x25b603)=>{const _0xd8df6a=a2_0x26ecb0,_0x27d9dd=new JourneyPullCommand(),_0x2f0071=program[_0xd8df6a(0x2f6)](),_0x33216f=await createTDXInstance(_0x2f0071),_0x3327d6=await _0x27d9dd[_0xd8df6a(0x3ea)]({'options':{..._0x2f0071,..._0x25b603},'args':_0x55cf43?[_0x55cf43]:[],'tdx':_0x33216f});gracefulExit(_0x3327d6);}),journeyCmd[a2_0x26ecb0(0x3bc)]('push\x20[target]')[a2_0x26ecb0(0x26f)]('Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data')[a2_0x26ecb0(0x40e)](async(_0x1a6469,_0x4e11f7)=>{const _0x2ee6f6=new JourneyPushCommand(),_0x402d0b=program['opts'](),_0x57b9b9=await createTDXInstance(_0x402d0b),_0x2952fe=await _0x2ee6f6['run']({'options':{..._0x402d0b,..._0x4e11f7},'args':_0x1a6469?[_0x1a6469]:[],'tdx':_0x57b9b9});gracefulExit(_0x2952fe);}),journeyCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x461))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x379))['action'](async(_0x46eb16,_0x42c8ac)=>{const _0x174537=a2_0x26ecb0,_0xcaa0a9=new JourneyValidateCommand(),_0xe7cb2b=program[_0x174537(0x2f6)](),_0x53c3e6=await createTDXInstance(_0xe7cb2b),_0x54f429=await _0xcaa0a9[_0x174537(0x3ea)]({'options':{..._0xe7cb2b,..._0x42c8ac},'args':_0x46eb16?[_0x46eb16]:[],'tdx':_0x53c3e6});gracefulExit(_0x54f429);}),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x322))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x396))[a2_0x26ecb0(0x40e)](journeyListAction);const agentSyncCmd=program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3f8))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x3b0));agentSyncCmd['command'](a2_0x26ecb0(0x262))['description'](a2_0x26ecb0(0x3e9))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x37e),a2_0x26ecb0(0x417))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x28e),a2_0x26ecb0(0x3c6))[a2_0x26ecb0(0x40e)](async(_0x30a27b,_0x5a58fa,_0x5713fa)=>{const _0x37b3e9=a2_0x26ecb0,_0x2eb673=new AgentPullCommand(),_0x5afa03=program[_0x37b3e9(0x2f6)](),_0x2a28dd=await createTDXInstance(_0x5afa03),_0x59b693=[];if(_0x30a27b)_0x59b693[_0x37b3e9(0x210)](_0x30a27b);if(_0x5a58fa)_0x59b693['push'](_0x5a58fa);const _0x349635=await _0x2eb673[_0x37b3e9(0x3ea)]({'options':{..._0x5afa03,..._0x5713fa},'args':_0x59b693,'tdx':_0x2a28dd});gracefulExit(_0x349635);}),agentSyncCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x22a))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x428))[a2_0x26ecb0(0x302)]('-f,\x20--force',a2_0x26ecb0(0x21c))[a2_0x26ecb0(0x40e)](async(_0x110d1d,_0x44f983)=>{const _0x132c30=a2_0x26ecb0,_0x3de791=new AgentPushCommand(),_0x293216=program[_0x132c30(0x2f6)](),_0x2c8975=await createTDXInstance(_0x293216),_0x42ae83=await _0x3de791[_0x132c30(0x3ea)]({'options':{..._0x293216,..._0x44f983},'args':_0x110d1d?[_0x110d1d]:[],'tdx':_0x2c8975});gracefulExit(_0x42ae83);}),agentSyncCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x467))[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x293))['option']('-n,\x20--name\x20<name>',a2_0x26ecb0(0x3ad))[a2_0x26ecb0(0x40e)](async(_0x31a74a,_0x4ed718)=>{const _0x3df659=a2_0x26ecb0,_0xdc740a=new AgentCloneCommand(),_0x14b7f2=program[_0x3df659(0x2f6)](),_0x4d19a8=await createTDXInstance(_0x14b7f2),_0x2e8a7a=await _0xdc740a[_0x3df659(0x3ea)]({'options':{..._0x14b7f2,..._0x4ed718},'args':_0x31a74a?[_0x31a74a]:[],'tdx':_0x4d19a8});gracefulExit(_0x2e8a7a);}),agentSyncCmd[a2_0x26ecb0(0x3bc)]('test\x20[path]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x2c8))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x36d),a2_0x26ecb0(0x3b9))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x36e),a2_0x26ecb0(0x2df))[a2_0x26ecb0(0x302)]('--dry-run','Parse\x20and\x20validate\x20without\x20executing')['option'](a2_0x26ecb0(0x1f1),a2_0x26ecb0(0x2d0))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x387),a2_0x26ecb0(0x3d4))[a2_0x26ecb0(0x40e)](async(_0x5d0620,_0x5f87e7)=>{const _0x12ec2f=a2_0x26ecb0,_0x1ae788=new AgentTestCommand(),_0x5b2cca=program[_0x12ec2f(0x2f6)](),_0x5c8b78=await createTDXInstance(_0x5b2cca),_0x210dfe=await _0x1ae788['run']({'options':{..._0x5b2cca,..._0x5f87e7},'args':_0x5d0620?[_0x5d0620]:[],'tdx':_0x5c8b78});gracefulExit(_0x210dfe);}),agentSyncCmd['command']('list\x20[pattern]')[a2_0x26ecb0(0x26f)](a2_0x26ecb0(0x23b))[a2_0x26ecb0(0x40e)](llmAgentListAction),agentSyncCmd[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x3b3))[a2_0x26ecb0(0x26f)]('Show\x20agent\x20details')['action'](async(_0x328872,_0x33f2a3)=>{const _0x583feb=a2_0x26ecb0,_0x3c19ab=new LLMAgentShowCommand(),_0x2a20a7=program['opts'](),_0xc6d2bd=await createTDXInstance(_0x2a20a7),_0x4f0f2f=await _0x3c19ab[_0x583feb(0x3ea)]({'options':{..._0x2a20a7,..._0x33f2a3},'args':[_0x328872],'tdx':_0xc6d2bd});gracefulExit(_0x4f0f2f);}),agentSyncCmd['command'](a2_0x26ecb0(0x37d))[a2_0x26ecb0(0x26f)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x3db),'System\x20prompt/instructions\x20(default:\x20empty)')['option'](a2_0x26ecb0(0x2e8),'Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x26ecb0(0x2c6))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x212),a2_0x26ecb0(0x2b4))['option'](a2_0x26ecb0(0x32b),'Maximum\x20tool\x20iterations\x20(default:\x204)','4')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x264),a2_0x26ecb0(0x1e9),a2_0x26ecb0(0x40f))['action'](async(_0x1277f7,_0x73582f)=>{const _0x296e9f=a2_0x26ecb0,_0x4bf434=new LLMAgentCreateCommand(),_0x37ed4f=program['opts'](),_0x1600fd=await createTDXInstance(_0x37ed4f),_0x15843b=await _0x4bf434[_0x296e9f(0x3ea)]({'options':{..._0x37ed4f,..._0x73582f},'args':[_0x1277f7],'tdx':_0x1600fd});gracefulExit(_0x15843b);}),agentSyncCmd['command']('update\x20<agent-name>')['description'](a2_0x26ecb0(0x223))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x404),a2_0x26ecb0(0x42c))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x2e3),'Agent\x20prompt/instructions')[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x43e),a2_0x26ecb0(0x280))[a2_0x26ecb0(0x302)](a2_0x26ecb0(0x212),a2_0x26ecb0(0x2b4))[a2_0x26ecb0(0x40e)](async(_0x46d673,_0x275fc9)=>{const _0x22ac05=a2_0x26ecb0,_0x45da53=new LLMAgentUpdateCommand(),_0x28560c=program[_0x22ac05(0x2f6)](),_0x1dda55=await createTDXInstance(_0x28560c),_0x14278c=await _0x45da53[_0x22ac05(0x3ea)]({'options':{..._0x28560c,..._0x275fc9},'args':[_0x46d673],'tdx':_0x1dda55});gracefulExit(_0x14278c);}),agentSyncCmd['command'](a2_0x26ecb0(0x38f))[a2_0x26ecb0(0x26f)]('Delete\x20an\x20agent')[a2_0x26ecb0(0x40e)](async(_0x492154,_0x2cdcb9)=>{const _0x1894b2=a2_0x26ecb0,_0x446d87=new LLMAgentDeleteCommand(),_0xee86bf=program['opts'](),_0x4ac5db=await createTDXInstance(_0xee86bf),_0x40e1cf=await _0x446d87[_0x1894b2(0x3ea)]({'options':{..._0xee86bf,..._0x2cdcb9},'args':[_0x492154],'tdx':_0x4ac5db});gracefulExit(_0x40e1cf);}),program[a2_0x26ecb0(0x3bc)](a2_0x26ecb0(0x459),{'hidden':!![]})[a2_0x26ecb0(0x40e)](()=>{const _0xd23b44=a2_0x26ecb0;function _0x1188fe(_0x303529,_0x181d3a){const _0x1b8eff=a2_0x30f1,_0x2b3305=[];for(const _0x255164 of _0x303529[_0x1b8eff(0x348)]){if(_0x255164['_hidden'])continue;const _0x2efeb1=_0x181d3a?_0x181d3a+'\x20'+_0x255164[_0x1b8eff(0x469)]():_0x255164[_0x1b8eff(0x469)](),_0x57bbe6=_0x2efeb1[_0x1b8eff(0x217)]('\x20')[0x0],_0x3bf82c=COMMAND_CATEGORIES[_0x1b8eff(0x30f)](_0x46524d=>_0x46524d['commands']['includes'](_0x57bbe6)),_0x45ef7e=_0x3bf82c?.[_0x1b8eff(0x469)]??'';if(_0x255164[_0x1b8eff(0x348)][_0x1b8eff(0x26b)]>0x0)_0x2b3305[_0x1b8eff(0x210)](..._0x1188fe(_0x255164,_0x2efeb1));else{const _0x94702e=(_0x255164[_0x1b8eff(0x314)]||[])[_0x1b8eff(0x315)](_0x5e8fb5=>{const _0x3a3c46=_0x1b8eff,_0x69d401=_0x5e8fb5[_0x3a3c46(0x2bd)]?_0x5e8fb5[_0x3a3c46(0x469)]()+_0x3a3c46(0x28c):_0x5e8fb5[_0x3a3c46(0x469)]();return _0x5e8fb5[_0x3a3c46(0x416)]?'<'+_0x69d401+'>':'['+_0x69d401+']';})['join']('\x20'),_0x40f7f2=_0x255164[_0x1b8eff(0x42b)][_0x1b8eff(0x45c)](_0x91b4=>!_0x91b4['hidden']&&_0x91b4[_0x1b8eff(0x22c)]!==_0x1b8eff(0x229))[_0x1b8eff(0x315)](_0x2f6d87=>({'flags':_0x2f6d87[_0x1b8eff(0x352)],'description':_0x2f6d87[_0x1b8eff(0x26f)]}));_0x2b3305['push']({'name':_0x2efeb1,'description':_0x255164['description'](),'group':_0x45ef7e,'usage':_0x94702e,'options':_0x40f7f2});}}return _0x2b3305;}console[_0xd23b44(0x316)](JSON['stringify'](_0x1188fe(program,''))),process['exit'](0x0);});export{program};export function runCLI(){const _0x715c59=a2_0x26ecb0,_0x221f28=!process[_0x715c59(0x445)]['slice'](0x2)['length'];showBriefHelp=_0x221f28,program[_0x715c59(0x3e3)](process[_0x715c59(0x445)]);_0x221f28&&program[_0x715c59(0x251)]();if(process['stderr'][_0x715c59(0x338)]&&process[_0x715c59(0x445)][_0x715c59(0x26b)]>0x2&&!isDevVersion()){const _0x349e73=loadReleaseChannel();checkForUpdate(currentVersion,_0x349e73)[_0x715c59(0x2a1)](_0x40d0e1=>{_0x40d0e1&&displayUpdateNotification(_0x40d0e1);})[_0x715c59(0x452)](()=>{});}}
|
|
1
|
+
const a2_0x47b95f=a2_0x26e5;(function(_0x499af7,_0x5bbf77){const _0x2c1979=a2_0x26e5,_0x5054ab=_0x499af7();while(!![]){try{const _0x3460cf=parseInt(_0x2c1979(0x1e5))/0x1+parseInt(_0x2c1979(0x29f))/0x2*(parseInt(_0x2c1979(0x275))/0x3)+-parseInt(_0x2c1979(0x279))/0x4*(-parseInt(_0x2c1979(0x424))/0x5)+parseInt(_0x2c1979(0x1f1))/0x6*(parseInt(_0x2c1979(0x3a1))/0x7)+-parseInt(_0x2c1979(0x28c))/0x8*(parseInt(_0x2c1979(0x22d))/0x9)+parseInt(_0x2c1979(0x2e8))/0xa*(-parseInt(_0x2c1979(0x27a))/0xb)+-parseInt(_0x2c1979(0x2f8))/0xc*(parseInt(_0x2c1979(0x390))/0xd);if(_0x3460cf===_0x5bbf77)break;else _0x5054ab['push'](_0x5054ab['shift']());}catch(_0x2a3486){_0x5054ab['push'](_0x5054ab['shift']());}}}(a2_0x2e94,0x2df60));import{Command}from'commander';import{existsSync,statSync}from'fs';import{resolve}from'path';import{TDX,SDKError,ErrorCode}from'./sdk/index.js';import{COMMAND_CATEGORIES}from'./cli-categories.js';import{GlobalContext}from'./core/global-context.js';import{getBuildInfo,getVersion,isDevVersion}from'./core/auth.js';import{LogLevel}from'./utils/logger/index.js';import{QueryCommand}from'./commands/query-command.js';import{ChatCommand,ChatCreateCommand}from'./commands/chat-command.js';import{ApiCommand}from'./commands/api-command.js';import{DatabasesCommand}from'./commands/databases.js';import{TablesCommand}from'./commands/tables.js';import{SegmentsCommand}from'./commands/segments.js';import{ActivationsCommand}from'./commands/activations.js';import{ShowCommand}from'./commands/show.js';import{DescribeCommand}from'./commands/describe.js';import{SegmentShowCommand,SegmentFolderListCommand,SegmentFolderShowCommand,SegmentSQLCommand,SegmentFolderCreateCommand,SegmentViewCommand,SegmentDescCommand}from'./commands/segment-command.js';import{SegmentFieldsCommand}from'./commands/segment-fields-command.js';import{ParentSegmentListCommand,ParentSegmentCreateCommand,ParentSegmentUpdateCommand,ParentSegmentPullCommand,ParentSegmentPushCommand,ParentSegmentPreviewCommand,ParentSegmentValidateCommand,ParentSegmentRunCommand,ParentSegmentFieldsCommand,ParentSegmentViewCommand,ParentSegmentDescCommand,ParentSegmentSQLCommand,ParentSegmentShowCommand,PSRtListCommand,PSRtValidateCommand,PSPzListCommand,PSPzInitCommand}from'./commands/parent-segment-command.js';import{SegmentCreateCommand}from'./commands/segment-create-command.js';import{SegmentUpdateCommand}from'./commands/segment-update-command.js';import{SegmentPullCommand}from'./commands/segment-pull-command.js';import{SegmentPushCommand}from'./commands/segment-push-command.js';function a2_0x26e5(_0x57194c,_0x27b71b){_0x57194c=_0x57194c-0x1aa;const _0x2e9497=a2_0x2e94();let _0x26e580=_0x2e9497[_0x57194c];return _0x26e580;}import{SegmentValidateCommand}from'./commands/segment-validate-command.js';import{SegmentUseCommand}from'./commands/segment-use-command.js';import{WorkflowProjectsCommand,WorkflowWorkflowsCommand,WorkflowSessionsCommand,WorkflowAttemptsCommand,WorkflowAttemptCommand,WorkflowTasksCommand,WorkflowLogsCommand,WorkflowTimelineCommand,WorkflowKillCommand,WorkflowRetryCommand,WorkflowRunCommand,WorkflowDownloadCommand,WorkflowUploadCommand,WorkflowPullCommand,WorkflowPushCommand,WorkflowCloneCommand,WorkflowDeleteCommand,WorkflowUseCommand,WorkflowSecretsListCommand,WorkflowSecretsSetCommand,WorkflowSecretsDeleteCommand}from'./commands/workflow-command.js';import{JourneyListCommand,JourneyViewCommand,JourneyStatsCommand,JourneyPauseCommand,JourneyResumeCommand,JourneyPullCommand,JourneyPushCommand}from'./commands/journey-command.js';import{JourneyValidateCommand}from'./commands/journey-validate-command.js';import{JobListCommand,JobShowCommand,JobKillCommand,JobSubmitCommand,JobResultCommand}from'./commands/job-command.js';import{ScheduleListCommand,ScheduleShowCommand,ScheduleCreateCommand,ScheduleUpdateCommand,ScheduleDeleteCommand,ScheduleRunCommand,ScheduleHistoryCommand}from'./commands/schedule-command.js';import{LLMModelsCommand,LLMProjectsCommand,LLMAgentsCommand,LLMAgentShowCommand,LLMAgentCreateCommand,LLMAgentUpdateCommand,LLMAgentDeleteCommand,LLMHistoryCommand,LLMLogCommand,LLMUseCommand,LLMProjectCreateCommand,LLMProjectDeleteCommand,LLMProjectBackupCommand,LLMProjectRestoreCommand,ChatsCommand}from'./commands/llm-command.js';import{EngageCampaignsCommand,EngageCampaignShowCommand,EngageCampaignCreateCommand,EngageCampaignUpdateCommand,EngageCampaignDeleteCommand,EngageCampaignLaunchCommand,EngageCampaignPauseCommand,EngageCampaignResumeCommand,EngageCampaignDuplicateCommand,EngageTemplatesCommand,EngageTemplateShowCommand,EngageTemplateCreateCommand,EngageTemplateUpdateCommand,EngageTemplateDeleteCommand,EngageWorkspacesCommand,EngageWorkspaceShowCommand,EngageWorkspaceCreateCommand,EngageWorkspaceUpdateCommand,EngageWorkspaceDeleteCommand,EngageWorkspaceUseCommand}from'./commands/engage-command.js';function a2_0x2e94(){const _0x20d22e=['use\x20[project]','--timezone\x20<tz>','Interactive\x20chat\x20selector','List\x20activations\x20for\x20a\x20segment\x20(use\x20parent_name/child_name)','tdx','activations\x20<segment_name>','List\x20all\x20LLM\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)','List\x20jobs\x20(alias\x20for\x20\x22job\x20list\x22)','update\x20<name>','List\x20workflow\x20attempts\x20(alias\x20for\x20\x22attempt\x20list\x22)','list','--table','Show\x20campaign\x20details','--temperature\x20<n>','Show\x20schedule\x20execution\x20history','create','agent','--retry-limit\x20<0~32>','--jsonl','--invisible','[DEPRECATED]\x20Set\x20current\x20segment/folder\x20context\x20(use\x20\x22tdx\x20use\x20parent_segment\x22\x20instead)','createAsync','Specific\x20revision\x20to\x20download\x20(default:\x20latest)','statusline','Name\x20for\x20the\x20new\x20project\x20(required)','List\x20agents\x20in\x20current\x20project\x20(alias\x20for\x20\x22agent\x20list\x22)','log','-w,\x20--web','Create\x20a\x20workspace','Delivery\x20start\x20time\x20(ISO\x208601\x20format)','New\x20segment\x20name','Output\x20as\x20JSON','Show\x20segment\x20details\x20(alias\x20for\x20view)','claude-4.5-sonnet','--to\x20<n>','retry\x20<session-id>','delete\x20<args...>','...','--rule-file\x20<file>','logs','campaign','use\x20[resource]\x20[value]','profile','Customer\x20group\x20as\x20JSON\x20string','Database\x20name','LLM\x20project\x20management','us01','join','\x20(resolved\x20to\x20','databases\x20[pattern]','LLM\x20operations\x20(models,\x20projects,\x20agents,\x20chat)','List\x20parent\x20segments\x20(alias\x20for\x20\x22segment\x20parent\x20list\x22)','Delay\x20in\x20seconds\x20before\x20execution','Engage\x20operations\x20(campaigns,\x20templates,\x20workspaces)','Show\x20connection-level\x20settings\x20(credentials,\x20authentication)','AI-native\x20CLI\x20for\x20Treasure\x20Data','--attribute\x20[name]','view\x20[name]','preview\x20[name]','Show\x20email\x20template\x20details','Preview\x20changes\x20without\x20pushing','attempts\x20[project]','Update\x20an\x20existing\x20agent','--name\x20<names>','Resume\x20a\x20paused\x20journey','-n,\x20--name\x20<name>','--add-attributes-file\x20<file>','outputHelp','Preview\x20sample\x20data\x20from\x20parent\x20segment\x20YAML\x20configuration','Set\x20or\x20show\x20parent\x20segment\x20context','--table\x20<table>','commandDescription','models','TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','show\x20[name]','List\x20folders\x20and\x20segments\x20(alias\x20for\x20\x22segment\x20list\x22)','List\x20journeys\x20(alias\x20for\x20journey\x20list)','profiles','--num\x20<1-10>','Open\x20parent\x20segment\x20in\x20web\x20browser','[DEPRECATED]\x20List\x20segment\x20folders\x20(use\x20\x22tdx\x20sg\x20list\x22\x20instead)','Database\x20to\x20use\x20(overrides\x20context)','addHelpText','--limit\x20<number>','slice','TD\x20site/region\x20(us01,\x20jp01,\x20eu01,\x20ap02;\x20aliases:\x20us,\x20jp,\x20aws)','Parent\x20segment\x20description','types','--html\x20<html>','Scheduled\x20time\x20(ISO\x208601\x20format,\x20defaults\x20to\x20now)','[action]','Push\x20without\x20confirmation','delete\x20<name>','\x0aGlobal\x20Options:\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20clear\x20(clears\x20default\x20profile\x20if\x20not\x20specified)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Clear\x20API\x20key\x20for\x20default\x20profile\x0a\x20\x20$\x20tdx\x20auth\x20clear\x20--profile\x20prod\x20\x20#\x20Clear\x20API\x20key\x20for\x20\x27prod\x27\x20profile\x0a','help','--catalog\x20<catalog>','sql\x20[segment_name]','--folder\x20<name>','Clear\x20session\x20context','List\x20all\x20databases\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','Set\x20workspace\x20context\x20for\x20Engage\x20commands\x20(alias\x20for\x20\x22tdx\x20use\x20engage_workspace\x22)','Continue\x20a\x20specific\x20chat\x20session\x20by\x20ID','stdout','Options:','parent_segment','Output\x20in\x20JSON\x20format\x20(shorthand\x20for\x20--format\x20json)','--add-behaviors\x20<json>','workflow','--format\x20<format>','Show\x20agent\x20details','Force\x20retry\x20even\x20if\x20not\x20failed','Parent\x20segment\x20management','Move\x20to\x20folder','claude\x20[args...]','Campaign\x20name','init\x20[name]','Profile\x20to\x20use\x20(overrides\x20active\x20profile)','--reeval','buildTime','Run\x20tests\x20for\x20an\x20LLM\x20agent','--force','stderr','[DEPRECATED]\x20Update\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','Directory\x20does\x20not\x20exist:\x20','The\x20-C\x20option\x20requires\x20a\x20directory\x20path,\x20not\x20a\x20file.','Pull\x20agents\x20from\x20LLM\x20project\x20to\x20local\x20files','Push\x20local\x20workflow\x20changes\x20to\x20Treasure\x20Data','apiKey','setup','show\x20[table]','commands','Arguments:','Add\x20behaviors\x20as\x20JSON\x20string','Schedule\x20option\x20(time\x20for\x20daily,\x20day\x20for\x20weekly/monthly)','attempt','validate\x20[name]','--include-retried','Show\x20schedule\x20details','94887ypKfSB','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20remove\x20staging\x20\x20\x20\x20\x20\x20#\x20Remove\x20the\x20\x27staging\x27\x20profile\x0a','run\x20[workflow]','Maximum\x20rows\x20to\x20display\x20in\x20table\x20format\x20(default:\x2040)','Add\x20behaviors\x20from\x20JSON\x20file','System\x20prompt/instructions\x20(default:\x20empty)','engage','kill','Timezone\x20for\x20cron','llm','Clone\x20an\x20LLM\x20project\x20to\x20a\x20new\x20project','--delay\x20<seconds>','Timezone\x20(e.g.,\x20America/Los_Angeles)','List\x20tables\x20(e.g.,\x20mydb,\x20mydb.*,\x20*.user*,\x20mydb.user*)','--name\x20<text>','Agent\x20reference\x20(project/agent\x20or\x20just\x20agent\x20if\x20llm_project\x20is\x20set)','create\x20<name>','671048PiJPDq','-p,\x20--profile\x20<name>','Output\x20in\x20JSON\x20Lines\x20format\x20(shorthand\x20for\x20--format\x20jsonl)','Show\x20attributes\x20only,\x20or\x20a\x20specific\x20attribute','Maximum\x20recursion\x20depth\x20(default:\x2010)','isTTY','--tsv','Set\x20operation\x20timeout\x20in\x20seconds','[DEPRECATED]\x20Create\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','Attempt\x20ID','unset\x20<resource>','Include\x20retried\x20attempts','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20create\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Create\x20a\x20new\x20profile\x20interactively\x0a\x20\x20$\x20tdx\x20profile\x20create\x20production\x20\x20\x20#\x20Create\x20profile\x20named\x20\x27production\x27\x0a','submit\x20[query]','workflows\x20[project]','LLM\x20project\x20to\x20use\x20(overrides\x20context)','--enriched','set\x20<args...>','api\x20[endpoint]','--prompt\x20<text>','--priority\x20<-2~2>','action','Master\x20table\x20name','fields\x20[name]','Maximum\x20tool\x20iterations\x20(default:\x204)','Cron\x20expression\x20for\x20scheduling','Clone\x20a\x20workflow\x20project\x20to\x20a\x20new\x20project\x20name','delete\x20<agent-name>','Request\x20body\x20as\x20JSON\x20string','--json','Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields','--from\x20<timestamp>','table','Parent\x20segment\x20to\x20use\x20(overrides\x20context)','--skip-validation','Plaintext\x20template\x20content','--behaviors\x20<json>','push\x20[target]','agents\x20[pattern]','--master','Pause\x20a\x20campaign','test\x20[path]','tsv','Custom\x20revision\x20name\x20(default:\x20timestamp)','Agent\x20name','Export\x20journey(s)\x20as\x20YAML\x20files','Show\x20what\x20would\x20be\x20done\x20without\x20making\x20changes','Show\x20sample\x20data\x20for\x20a\x20specific\x20behavior','preview\x20[file]','journey','clone\x20[source-dir]','tdx\x20','optionDescription','list\x20[project]','--description\x20<text>','Starting\x20offset\x20(default:\x200)','Push\x20journey\x20YAML\x20files\x20to\x20Treasure\x20Data','Delete\x20a\x20workspace','description','End\x20time\x20filter\x20(ISO\x208601\x20format)','Validate\x20segment\x20and\x20journey\x20YAML\x20files\x20locally','Run\x20tests\x20with\x20specific\x20tags\x20(comma-separated)','List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20parent_name\x20not\x20provided)','view\x20<name-or-path>','List\x20jobs','--type\x20<api_type>','Skip\x20validation\x20of\x20.dig\x20files','allowExcessArguments','log\x20<chat-id>','requiredOption','List\x20agents\x20in\x20current\x20project','hidden','--param\x20<key=value>','Updated\x20filtering\x20rule\x20from\x20JSON\x20file','List\x20all\x20available\x20profiles','Show\x20master\x20table\x20sample\x20data','-c,\x20--continue','--output\x20<file>','Clear\x20workflow\x20project\x20context','kill\x20<job-id>','secrets','Push\x20local\x20agent\x20files\x20to\x20LLM\x20project','--help','Custom\x20header\x20(format:\x20\x22Key:\x20Value\x22,\x20repeatable)','Get\x20job\x20results','--parent-folder\x20<name>','exit','Duplicate\x20a\x20campaign','segment','--new','List\x20available\x20connector\x20types','set','Read\x20query\x20from\x20file','Show\x20workspace\x20details','New\x20workspace\x20name','grapesjs','Workflow\x20project\x20management','Updated\x20description','Output\x20in\x20TSV\x20format\x20(shorthand\x20for\x20--format\x20tsv)','padWidth','--llm-project\x20<name>','pull\x20[parent_or_file]','Database\x20name\x20(default:\x20information_schema)','Task\x20name\x20for\x20logs\x20action','Delete\x20a\x20secret\x20from\x20a\x20project\x20(format:\x20[project]\x20<key>)','-d,\x20--database\x20<name>','-d,\x20--database\x20<db>','update\x20<segment_name>','Resume\x20a\x20paused\x20campaign','forEach','Delete\x20an\x20email\x20template','List\x20available\x20LLM\x20models','List\x20all\x20workflow\x20projects\x20(optionally\x20filtered\x20by\x20glob\x20pattern)','history\x20<name>','parent','-y,\x20--yes','Also\x20set\x20context\x20to\x20this\x20parent\x20segment\x20after\x20pull','Run\x20a\x20scheduled\x20query\x20immediately','show\x20<folder_ref>','Filter\x20by\x20status\x20(DRAFT,\x20ACTIVE,\x20PAUSED,\x20COMPLETED)','Updated\x20schedule\x20option','--from\x20<n>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)','--start-at\x20<datetime>','Set\x20a\x20profile\x20configuration\x20value','run','Launch\x20a\x20campaign','0.7','pause\x20<name-or-id>','list\x20[path]','--workspace\x20<name>','5BEUSUR','required','Workspace\x20name','\x20-\x20built\x20','List\x20all\x20users\x20(alias\x20for\x20\x22user\x20list\x22)','Agent\x20prompt/instructions','mcp','--stage\x20<name>','\x0aEnables\x20AI\x20coding\x20assistants\x20to\x20interact\x20with\x20Treasure\x20Data\x20via\x20MCP\x20(Model\x20Context\x20Protocol).\x0aWorks\x20with\x20Cursor,\x20Windsurf,\x20VS\x20Code,\x20Claude\x20Desktop,\x20and\x20other\x20MCP-compatible\x20AI\x20tools.\x0aUses\x20existing\x20tdx\x20authentication\x20-\x20no\x20additional\x20setup\x20needed\x20if\x20already\x20logged\x20in.\x0a\x0aSetup\x20(add\x20to\x20your\x20AI\x20tool\x27s\x20MCP\x20config):\x0a\x20\x20{\x20\x22mcpServers\x22:\x20{\x20\x22tdx\x22:\x20{\x20\x22command\x22:\x20\x22tdx\x22,\x20\x22args\x22:\x20[\x22mcp\x22]\x20}\x20}\x20}\x0a\x0aAvailable\x20Tools:\x0a\x20\x20tdx_run\x20\x20\x20\x20\x20-\x20Execute\x20any\x20tdx\x20CLI\x20command\x0a\x20\x20tdx_search\x20\x20-\x20Search\x20for\x20relevant\x20tdx\x20commands\x0a\x0aEnvironment\x20Variables\x20(optional):\x0a\x20\x20TDX_PROFILE\x20\x20\x20-\x20Use\x20a\x20specific\x20profile\x0a\x20\x20TDX_API_KEY\x20\x20\x20-\x20Direct\x20API\x20key\x0a\x20\x20TDX_SITE\x20\x20\x20\x20\x20\x20-\x20Site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x0aSee:\x20https://tdx.treasuredata.com/commands/mcp\x0a','--reason\x20<text>','Tip:\x20Use\x20plural\x20forms\x20(tdx\x20databases,\x20tables,\x20segments,\x20jobs)\x20as\x20aliases\x20for\x20\x22tdx\x20xxx\x20list\x22','update\x20<name-or-id>','Resume\x20a\x20conversation\x20(shows\x20selector)','--in\x20<database>','Skip\x20confirmation\x20prompts','-H,\x20--header\x20<header>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)','--debug','Preview\x20without\x20creating\x20the\x20project','--revision\x20<revision>','after','opts','-r,\x20--resume','long','--starter-message\x20<text>','templates\x20[pattern]','--from-task\x20<task>','--behaviors-file\x20<file>','--chat-id\x20<id>','Attributes\x20as\x20JSON\x20string','Remove\x20a\x20profile','Skip\x20population\x20counting','hook','--dry-run','Invalid\x20editor\x20type:\x20','Use\x20--help\x20to\x20see\x20all\x20options,\x20--version\x20to\x20show\x20version','Show\x20journey\x20statistics','Campaign\x20management','-f,\x20--file\x20<path>','Show\x20history\x20of\x20the\x20most\x20recent\x20chat\x20session','Starter\x20message','Override\x20project\x20name','Launch\x20Claude\x20Code\x20with\x20integrated\x20LLM\x20proxy','Change\x20to\x20directory\x20before\x20executing\x20command','_list-commands','subcommandDescription','[DEPRECATED]\x20Restore\x20project\x20(use\x20`tdx\x20agent\x20push/clone`\x20instead)','Show\x20sample\x20data\x20for\x20a\x20specific\x20attribute','[DEPRECATED]\x20Use\x20\x22tdx\x20ps\x22\x20or\x20\x22tdx\x20parent-segment\x22\x20instead','Folder\x20description','\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27prod\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20staging\x20\x20\x20\x20\x20\x20\x20#\x20Set\x20session\x20profile\x20to\x20\x27staging\x27\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20--default\x20#\x20Set\x20default\x20profile\x20permanently\x0a','List\x20workspaces\x20(optionally\x20filtered\x20by\x20pattern)','--status\x20<status>','use\x20[name]','Setup\x20API\x20key\x20authentication\x20interactively','Show\x20what\x20would\x20be\x20done\x20without\x20writing\x20files','API\x20type\x20(td,\x20cdp,\x20workflow,\x20trino,\x20llm)','List\x20workflows\x20(optionally\x20filtered\x20by\x20project)','INVALID_ARGUMENT','list\x20[name]','describe','Output\x20folder\x20(default:\x20{project_name}.llm)','-v,\x20--verbose','info\x20[segment_name]','-d,\x20--database\x20<database>','split','Pull\x20child\x20segments\x20to\x20YAML\x20files','desc\x20[segment_name]','--name\x20<new-name>','Unknown\x20action:\x20','usage','Validate\x20journey\x20YAML\x20files\x20locally','Show\x20job\x20details','map','Use\x20your\x20own\x20Claude\x20Code\x20account\x20(Anthropic/AWS\x20Bedrock/Vertex\x20AI,\x20etc.)','summary','chdir','Email\x20sender\x20ID\x20for\x20delivery','--system-prompt\x20<text>','--email-sender-id\x20<id>','[attempt-id]','--params\x20<json>','repeat','push\x20[name]','--editor-type\x20<type>','JSON\x20columns\x20for\x20connector\x20(comma-separated)','Editor\x20type:\x20beefree\x20(Visual\x20Editor,\x20default)\x20or\x20grapesjs\x20(HTML\x20Editor)','template','Show\x20enriched\x20master\x20sample\x20data\x20(master\x20+\x20all\x20attributes\x20joined)','\x0aGlobal\x20Options:\x0a\x20\x20--site\x20<site>\x20\x20\x20\x20\x20\x20Target\x20site\x20(us01,\x20jp01,\x20eu01,\x20ap02)\x0a\x20\x20--profile\x20<name>\x20\x20\x20Profile\x20to\x20use\x20(saves\x20API\x20key\x20to\x20profile-specific\x20config)\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20#\x20Interactive\x20setup\x20for\x20default\x20site\x20(us01)\x0a\x20\x20$\x20tdx\x20auth\x20setup\x20--site\x20jp01\x20\x20#\x20Setup\x20for\x20Japan\x20site\x0a','flatMap','Update\x20a\x20workspace','52114VfOvmv','Get\x20SQL\x20query\x20for\x20segment\x20(uses\x20context\x20if\x20not\x20provided)','get','Job\x20type:\x20trino\x20or\x20hive\x20(default:\x20trino)','trino','Output\x20in\x20table\x20format\x20(horizontal\x20layout,\x20shorthand\x20for\x20--format\x20table)','List\x20tables\x20(alias\x20for\x20\x22table\x20list\x22)','Force\x20ANSI\x20color\x20output\x20(overrides\x20TTY\x20detection)','--plaintext\x20<text>','List\x20campaigns\x20(alias\x20for\x20\x22campaign\x20list\x22)','parse','Delete\x20a\x20campaign','18PyfWYx','Kill\x20a\x20job','Updated\x20schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','Add\x20attributes\x20as\x20JSON\x20string','push\x20[file]','[task-name]','--clear','Read\x20SQL\x20query\x20from\x20file','Disable\x20ANSI\x20color\x20output\x20(also\x20respects\x20NO_COLOR\x20env\x20var)','Show\x20what\x20would\x20be\x20restored\x20without\x20making\x20changes','Show\x20timeline\x20for\x20specific\x20session\x20(uses\x20last\x20attempt)','Database\x20management\x20commands','List\x20workspaces\x20(alias\x20for\x20\x22workspace\x20list\x22)','--session\x20<id>','history\x20[chat-id]','Output\x20directory','Master\x20database\x20name','Show\x20parent\x20segment\x20output\x20schema\x20(uses\x20context\x20if\x20name\x20omitted)','--parent-segment\x20<name>','Show\x20connection\x20details\x20by\x20name','Run\x20specific\x20tests\x20(comma-separated)','Save\x20output\x20to\x20file','List\x20all\x20LLM\x20projects\x20(optionally\x20filtered\x20by\x20pattern)','run\x20[name]','Workflow\x20(Digdag)\x20management\x20commands','--description\x20<desc>','Enable\x20debug\x20logging\x20(shows\x20HTTP\x20requests/responses)','Override\x20parameters\x20(JSON\x20string\x20or\x20@file.json)','List\x20secret\x20keys\x20for\x20a\x20project','List\x20workflow\x20execution\x20sessions\x20(alias\x20for\x20\x22session\x20list\x22)','push\x20[path]','Create\x20a\x20new\x20LLM\x20project','Clear\x20session-level\x20or\x20default\x20context\x20values\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','argv','Show\x20authentication\x20status\x20and\x20validate\x20API\x20key','Run\x20parent\x20segment\x20workflow\x20(pushes\x20YAML\x20if\x20exists)','Make\x20raw\x20HTTP\x20requests\x20to\x20TD\x20APIs','List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)','gitRevision','fields\x20[parent_name]','-o,\x20--output\x20<file>','Start\x20MCP\x20server\x20for\x20AI\x20tool\x20integration','set\x20<key=value>','auth','Pause\x20a\x20running\x20journey','User\x20management\x20commands','--attributes\x20<json>','HTTP\x20method\x20(GET,\x20POST,\x20PUT,\x20DELETE,\x20PATCH)','schema\x20<type>','delete\x20<project-name-or-id>','--add-attributes\x20<json>','Run\x20Trino\x20query\x20with\x20streaming\x20results','information_schema','--data\x20<data>','registeredArguments','Workflow\x20parameter\x20(repeatable)','Delete\x20an\x20LLM\x20project','Push\x20YAML\x20files\x20to\x20Treasure\x20Data\x20as\x20child\x20segments','Download\x20workflow\x20project\x20from\x20Treasure\x20Data','Output\x20format\x20(table,\x20json,\x20jsonl,\x20tsv)','72AffciV','Manage\x20workflow\x20project\x20secrets','-f,\x20--force','List\x20personalization\x20services\x20(uses\x20context\x20if\x20name\x20omitted)','user','Show\x20timeline\x20for\x20specific\x20attempt','Reason\x20for\x20killing\x20the\x20attempt','[DEPRECATED]\x20Update\x20child\x20segment\x20(use\x20pull/push\x20workflow\x20instead)','RT\x202.0\x20configuration\x20management','includes','Include\x20retried\x20attempts\x20(for\x20list)','Revision\x20name\x20(default:\x20timestamp)','--customer-group\x20<json>','session','--name\x20<name>','--subject\x20<subject>','Timezone\x20for\x20cron\x20(default:\x20UTC)','--color','-r,\x20--recursive','length','--version','New\x20project\x20name\x20(default:\x20original\x20name\x20from\x20backup)','Show\x20chat\x20history\x20(or\x20list\x20all\x20sessions\x20if\x20no\x20ID\x20provided)','create\x20<segment_name>','Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)','Schedule\x20type:\x20none,\x20daily,\x20weekly,\x20monthly','filter','then','-u,\x20--use','workspaces\x20[pattern]','isArray','flags','Preview\x20changes\x20without\x20writing\x20files','--cron\x20<expression>','subcommandTerm','Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML','[options]\x20--\x20[claude-code-args...]','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20pattern)','error','Folder\x20name\x20for\x20organization','Output\x20file\x20path','-C,\x20--directory\x20<path>',',\x20version\x20','Enable\x20verbose\x20logging','Show\x20folder\x20details\x20(use\x20parent_name/folder_name)','--engine-version\x20<version>','Execute\x20parent\x20segment\x20SQL\x20and\x20show\x20results\x20(uses\x20context\x20if\x20name\x20omitted)','option','Make\x20segment\x20invisible\x20(default:\x20visible)','List\x20parent\x20segments\x20(supports\x20wildcards:\x20*,\x20?)','Session\x20ID\x20to\x20use\x20(defaults\x20to\x20TDX_SESSION\x20env\x20var\x20or\x20parent\x20PID)','result\x20<job-id>','Start\x20time\x20filter\x20(ISO\x208601\x20format)','remove\x20<name>','run\x20<name>','Project\x20description','projects\x20[pattern]','Action:\x20logs,\x20tasks,\x20kill,\x20retry','Execute\x20segment\x20SQL\x20query\x20and\x20show\x20results\x20(uses\x20context\x20if\x20not\x20provided)','Update\x20a\x20scheduled\x20query','jobs','Profile\x20management\x20(create,\x20list,\x20remove,\x20configure)','Show\x20segment\x20schema\x20(column\x20types)','Start\x20a\x20new\x20chat\x20session','Trino\x20catalog\x20(default:\x20td)','show\x20[segment_name]','Customer\x20group\x20from\x20JSON\x20file','--to\x20<timestamp>','launch\x20<name-or-id>','list\x20[pattern]','name','Remove\x20API\x20key\x20from\x20system\x20keychain','5259kUPqyt','show\x20<agent-name>','Behaviors\x20as\x20JSON\x20string','create\x20<parent_name>\x20<folder_name>','1297884GLLedr','137885ePELPo','configureHelp','Upload\x20workflow\x20project\x20to\x20Treasure\x20Data\x20(digdag-style)','Query\x20type:\x20trino\x20or\x20hive','validate\x20[file]','List\x20all\x20data\x20connections','Show\x20only\x20master\x20table\x20validation','--segment\x20<path>','Start\x20a\x20workflow\x20run\x20(format:\x20project.workflow,\x20or\x20select\x20interactively)','[DEPRECATED]\x20Create\x20parent\x20segment\x20-\x20use\x20`push`\x20instead','alias','Add\x20attributes\x20from\x20JSON\x20file','CDP\x20segment\x20management\x20commands','validate\x20[target]','find','Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)','Update\x20an\x20email\x20template','Chat\x20with\x20an\x20LLM\x20agent\x20(simplified\x20interface)','165040CIxnMB','List\x20email\x20templates\x20(alias\x20for\x20\x22template\x20list\x22)','push','Filter\x20by\x20status\x20(running,\x20success,\x20error,\x20blocked,\x20all)','--trace','Set\x20a\x20secret\x20for\x20a\x20project\x20(format:\x20[project]\x20KEY=VALUE)','Campaign\x20description','--max-tool-iterations\x20<n>','Open\x20segment\x20in\x20web\x20browser','Database\x20name\x20(used\x20when\x20not\x20specified\x20in\x20table\x20pattern)','schedule','New\x20template\x20name','-o,\x20--output\x20<folder>','Overwrite\x20local\x20changes\x20without\x20confirmation','Add\x20template\x20personalization\x20section\x20to\x20YAML\x20(uses\x20context\x20if\x20name\x20omitted)','Alias\x20for\x20--database\x20(natural\x20language\x20style)','show\x20<name-or-id>','Include\x20subtasks\x20in\x20tasks\x20output','List\x20parent\x20segments\x20with\x20RT\x202.0\x20status','282tQqMCp','Table\x20management\x20commands','Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)','Maximum\x20number\x20of\x20items\x20to\x20return\x20(default\x20varies\x20by\x20command)','Show\x20authentication\x20status\x20and\x20current\x20context','Updated\x20timezone','use\x20<name>','--tags\x20<tags>','database','--json-columns\x20<cols>','--behavior\x20[name]','Parse\x20and\x20validate\x20without\x20executing','Filter\x20by\x20job\x20status\x20(queued,\x20running,\x20success,\x20error)','--site\x20<site>','catch','Job\x20priority\x20(-2\x20to\x202)','Set\x20current\x20project\x20context\x20for\x20agent\x20operations','format','Session\x20time\x20(ISO\x208601,\x20defaults\x20to\x20now)','Output\x20events\x20as\x20JSONL\x20stream\x20(one\x20JSON\x20object\x20per\x20line)','Pull\x20specific\x20revision\x20(default:\x20latest)','--type\x20<type>','--rule\x20<json>','Create\x20a\x20new\x20campaign','Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics','directory','Show\x20or\x20set\x20session-level\x20context\x20(resources:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20agent,\x20profile,\x20engage_workspace)','Create\x20a\x20new\x20profile','--default','--schedule-type\x20<type>','.\x20Must\x20be\x20beefree\x20or\x20grapesjs','download\x20<project-name>\x20[output-dir]','Show\x20the\x20most\x20recent\x20chat','Updated\x20filtering\x20rule\x20as\x20JSON\x20string','Output\x20as\x20JSON\x20Lines','Set\x20default\x20workflow\x20project\x20for\x20this\x20session','duplicate\x20<name-or-id>','New\x20campaign\x20name','argumentTerm','--schedule-option\x20<value>','Retry\x20a\x20session\x20(prefix\x20with\x20session:)','-1d','command','HTML\x20template\x20content','Validate\x20enriched\x20master\x20(master\x20+\x20all\x20attributes)','attempt:','debug','[DEPRECATED]\x20Segment\x20folder\x20management','LLM\x20agent\x20management','variadic','delete\x20<name-or-id>','upload\x20[project-name-or-dir]','show\x20<job-id>','--agent\x20<ref>','Skip\x20confirmation\x20prompt','desc','Result\x20output\x20destination\x20URL','clone\x20[source]','--no-count-population','Filtering\x20rule\x20as\x20JSON\x20string','--include-stats','--full','tables\x20[pattern]','Email\x20subject\x20template','injectIntoOptions','--time\x20<iso8601>','--yes','argument','logLevel','pull\x20<project>\x20[target-dir]','-X,\x20--method\x20<method>','Filtering\x20rule\x20from\x20JSON\x20file','Preview\x20operation\x20without\x20executing','90XtgZSe','Personalization\x20service\x20management','push\x20[source-dir]','commandUsage','Workspace\x20description','Show\x20behaviors\x20only,\x20or\x20a\x20specific\x20behavior','--name\x20<new_name>','Database\x20to\x20query\x20(default:\x20information_schema)','Behaviors\x20from\x20JSON\x20file','--interval\x20<range>','List\x20journeys\x20in\x20current\x20context','Query\x20engine\x20version','parent-segment','pull\x20[name]','--last','--kind\x20<type>','732OLmnPC','allowUnknownOption','options','Available\x20actions:\x20logs,\x20tasks,\x20kill,\x20retry','json','Create\x20a\x20scheduled\x20query','segments\x20[path]','List\x20email\x20templates\x20(optionally\x20filtered\x20by\x20pattern)','--max-depth\x20<depth>','Workspace\x20name\x20(required)','--result\x20<url>','Output\x20file\x20path\x20(default:\x20<name>.yml)','Data\x20connection\x20management\x20(for\x20activations/exports)','_hidden'];a2_0x2e94=function(){return _0x20d22e;};return a2_0x2e94();}import{ClaudeCommand}from'./commands/claude-command.js';import{ClaudeStatuslineCommand}from'./commands/claude-statusline-command.js';import{ClaudeUsageCommand}from'./commands/claude-usage-command.js';import{AgentPullCommand,AgentPushCommand,AgentCloneCommand}from'./commands/agent-command.js';import{AgentTestCommand}from'./commands/agent-test-command.js';import{UseCommand}from'./commands/use-command.js';import{UnsetCommand}from'./commands/unset-command.js';import{StatusCommand}from'./commands/status-command.js';import{ProfilesCommand}from'./commands/profiles-command.js';import{ProfileCreateCommand,ProfileRemoveCommand,ProfileSetCommand,ProfileUseCommand}from'./commands/profile-command.js';import{AuthSetupCommand,AuthStatusCommand,AuthClearCommand}from'./commands/auth-command.js';import{UserCommand,UserListCommand}from'./commands/user-command.js';import{ConnectionListCommand,ConnectionShowCommand,ConnectionSchemaCommand,ConnectionTypesCommand,ConnectionSettingsCommand}from'./commands/connection-command.js';import{MCPCommand}from'./commands/mcp-command.js';import{checkForUpdate,displayUpdateNotification}from'./utils/version-check.js';import{gracefulExit}from'./utils/process.js';import{isExperimentalAvailable,loadReleaseChannel}from'./core/config.js';const buildInfo=getBuildInfo(),currentVersion=getVersion();if(process[a2_0x47b95f(0x212)]['includes'](a2_0x47b95f(0x241))){let versionOutput=a2_0x47b95f(0x3d4)+currentVersion;buildInfo[a2_0x47b95f(0x217)]&&!currentVersion[a2_0x47b95f(0x236)](buildInfo[a2_0x47b95f(0x217)])&&(versionOutput+='\x20('+buildInfo['gitRevision']+')'),buildInfo['buildTime']&&(versionOutput+=a2_0x47b95f(0x427)+buildInfo[a2_0x47b95f(0x37c)]),console[a2_0x47b95f(0x320)](versionOutput),process[a2_0x47b95f(0x3f7)](0x0);}const program=new Command();let showBriefHelp=![],description=a2_0x47b95f(0x33d);buildInfo[a2_0x47b95f(0x217)]&&!currentVersion[a2_0x47b95f(0x236)](buildInfo['gitRevision'])?description+=a2_0x47b95f(0x257)+currentVersion+'\x20('+buildInfo[a2_0x47b95f(0x217)]+')':description+=a2_0x47b95f(0x257)+currentVersion;program[a2_0x47b95f(0x273)](a2_0x47b95f(0x30a))['description'](description),program[a2_0x47b95f(0x25c)](a2_0x47b95f(0x256),a2_0x47b95f(0x1b4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3a2),a2_0x47b95f(0x37a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2ac),a2_0x47b95f(0x35b),a2_0x47b95f(0x334))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x372),a2_0x47b95f(0x22c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x311),a2_0x47b95f(0x1ea))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),a2_0x47b95f(0x36f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),a2_0x47b95f(0x3a3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3a7),a2_0x47b95f(0x403))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3ee),a2_0x47b95f(0x206))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x359),a2_0x47b95f(0x2a2))['option'](a2_0x47b95f(0x23e),a2_0x47b95f(0x1ec),![])[a2_0x47b95f(0x25c)]('--no-color',a2_0x47b95f(0x1f9),![])[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c7),a2_0x47b95f(0x258),![])[a2_0x47b95f(0x25c)](a2_0x47b95f(0x435),a2_0x47b95f(0x20b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x290),'Enable\x20trace\x20logging\x20(ultra-verbose,\x20all\x20internal\x20operations)')['option']('--timeout\x20<seconds>',a2_0x47b95f(0x3a8),'30')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x2e7),![])['option']('-y,\x20--yes',a2_0x47b95f(0x432),![])[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1fe),a2_0x47b95f(0x25f))['option'](a2_0x47b95f(0x40a),a2_0x47b95f(0x357))[a2_0x47b95f(0x25c)]('--in\x20<name>',a2_0x47b95f(0x29b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x203),a2_0x47b95f(0x3c2))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x405),a2_0x47b95f(0x3b0)),program[a2_0x47b95f(0x27b)]({'formatHelp':(_0x2ab882,_0x3d28db)=>{const _0xeadc1e=a2_0x47b95f,_0x282fe7=_0x3d28db[_0xeadc1e(0x404)](_0x2ab882,_0x3d28db),_0x4d4e86=0x2,_0x5ef52b=0x2;function _0x211627(_0x219162){const _0x34b25f=_0xeadc1e,_0x552cb2=_0x219162;return!!(_0x552cb2[_0x34b25f(0x305)]||_0x552cb2[_0x34b25f(0x3e8)]);}function _0x42d9ca(_0x12c24b,_0x44ab54){if(_0x44ab54){const _0x3f0bf5=''+_0x12c24b['padEnd'](_0x282fe7+_0x5ef52b)+_0x44ab54;return _0x3f0bf5;}return _0x12c24b;}function _0x280703(_0x1716fd){const _0x81780e=_0xeadc1e;return _0x1716fd[_0x81780e(0x335)]('\x0a')['replace'](/^/gm,'\x20'[_0x81780e(0x1db)](_0x4d4e86));}const _0x1ad5c6=[];_0x1ad5c6['push']('Usage:\x20'+_0x3d28db[_0xeadc1e(0x2eb)](_0x2ab882));const _0x532c7f=_0x3d28db[_0xeadc1e(0x34d)](_0x2ab882);_0x532c7f&&(_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0x532c7f));const _0x3344f6=_0x2ab882['commands']['filter'](_0x331a5c=>!_0x211627(_0x331a5c));if(_0x3344f6[_0xeadc1e(0x240)]>0x0){if(_0x2ab882[_0xeadc1e(0x273)]()===_0xeadc1e(0x30a)){const _0x19fb91=_0x2ab882[_0xeadc1e(0x439)](),_0x45c698=!_0x19fb91['noColor']&&process[_0xeadc1e(0x36c)]['isTTY'],_0x134800=COMMAND_CATEGORIES,_0x952385=(_0xd5df99,_0x437fdf)=>_0x45c698?_0x437fdf(_0xd5df99):_0xd5df99,_0x961698=new Map();_0x3344f6[_0xeadc1e(0x40e)](_0x32e4f0=>{const _0x2c8558=_0xeadc1e;_0x961698[_0x2c8558(0x3fc)](_0x32e4f0[_0x2c8558(0x273)](),_0x32e4f0);}),_0x134800[_0xeadc1e(0x40e)](_0x148c71=>{const _0x218a7d=_0xeadc1e,_0x2cf049=_0x148c71[_0x218a7d(0x388)][_0x218a7d(0x1e3)](_0x2809ff=>_0x961698[_0x218a7d(0x1e7)](_0x2809ff)??[]);if(_0x2cf049[_0x218a7d(0x240)]>0x0){_0x1ad5c6[_0x218a7d(0x28e)](''),_0x1ad5c6[_0x218a7d(0x28e)](_0x952385(_0x148c71['name']+':',_0x148c71['colorFn']));const _0x2fba21=_0x2cf049[_0x218a7d(0x1d2)](_0x8947b1=>{const _0x1ca7cb=_0x218a7d,_0x5729d0=_0x3d28db[_0x1ca7cb(0x24f)](_0x8947b1),_0xadb236=_0x3d28db[_0x1ca7cb(0x1b6)](_0x8947b1);return _0x42d9ca(_0x5729d0,_0xadb236);});_0x1ad5c6['push'](_0x280703(_0x2fba21));}}),_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6['push'](_0xeadc1e(0x42e));}else{const _0x2165e0=_0x3344f6[_0xeadc1e(0x1d2)](_0x2888ac=>{const _0x45be06=_0xeadc1e,_0x47b0c9=_0x3d28db['subcommandTerm'](_0x2888ac),_0x107c69=_0x3d28db[_0x45be06(0x1b6)](_0x2888ac);return _0x42d9ca(_0x47b0c9,_0x107c69);});_0x1ad5c6['push'](''),_0x1ad5c6[_0xeadc1e(0x28e)]('Commands:'),_0x1ad5c6['push'](_0x280703(_0x2165e0));}}if(showBriefHelp&&_0x2ab882[_0xeadc1e(0x273)]()===_0xeadc1e(0x30a))_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0xeadc1e(0x1ac));else{const _0x3c1d1f=_0x2ab882[_0xeadc1e(0x2fa)][_0xeadc1e(0x247)](_0x26c5e9=>!_0x211627(_0x26c5e9));if(_0x3c1d1f[_0xeadc1e(0x240)]>0x0){const _0x53747c=_0x3c1d1f[_0xeadc1e(0x1d2)](_0x3509aa=>{const _0x4327d3=_0xeadc1e,_0x37cbb2=_0x3d28db['optionTerm'](_0x3509aa),_0x34ea1b=_0x3d28db[_0x4327d3(0x3d5)](_0x3509aa);return _0x42d9ca(_0x37cbb2,_0x34ea1b);});_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0xeadc1e(0x36d)),_0x1ad5c6[_0xeadc1e(0x28e)](_0x280703(_0x53747c));}}const _0x6e77be=(_0x2ab882['registeredArguments']||[])[_0xeadc1e(0x247)](_0x3b89e5=>!_0x211627(_0x3b89e5));if(_0x6e77be[_0xeadc1e(0x240)]>0x0){const _0x4b3354=_0x6e77be[_0xeadc1e(0x1d2)](_0x265554=>{const _0x31095d=_0xeadc1e,_0x464939=_0x3d28db[_0x31095d(0x2c5)](_0x265554),_0x1ee732=_0x3d28db['argumentDescription'](_0x265554);return _0x42d9ca(_0x464939,_0x1ee732);});_0x1ad5c6[_0xeadc1e(0x28e)](''),_0x1ad5c6[_0xeadc1e(0x28e)](_0xeadc1e(0x389)),_0x1ad5c6[_0xeadc1e(0x28e)](_0x280703(_0x4b3354));}return _0x1ad5c6[_0xeadc1e(0x335)]('\x0a')+'\x0a';},'subcommandTerm':_0x29e031=>{const _0x23af58=a2_0x47b95f,_0x47f358=(_0x29e031[_0x23af58(0x227)]||[])[_0x23af58(0x1d2)](_0x25b0a4=>_0x25b0a4[_0x23af58(0x425)]?'<'+_0x25b0a4['name']()+'>':'['+_0x25b0a4[_0x23af58(0x273)]()+']')[_0x23af58(0x335)]('\x20'),_0x1914c9=_0x29e031['aliases'](),_0x45434b=_0x1914c9['length']>0x0?_0x29e031[_0x23af58(0x273)]()+',\x20'+_0x1914c9['join'](',\x20'):_0x29e031[_0x23af58(0x273)]();return _0x47f358?_0x45434b+'\x20'+_0x47f358:_0x45434b;}}),program[a2_0x47b95f(0x444)]('preAction',_0x364139=>{const _0x49a7f5=a2_0x47b95f,_0x2a74ca=_0x364139['opts']();if(_0x2a74ca[_0x49a7f5(0x2b8)]){const _0x1b2c11=resolve(_0x2a74ca[_0x49a7f5(0x2b8)]),_0x14f7ec=_0x1b2c11!==_0x2a74ca['directory']?_0x49a7f5(0x336)+_0x1b2c11+')':'';if(!existsSync(_0x1b2c11))throw new SDKError(ErrorCode[_0x49a7f5(0x1c3)],_0x49a7f5(0x381)+_0x2a74ca[_0x49a7f5(0x2b8)]+_0x14f7ec,undefined,{'helpText':'Provide\x20a\x20valid\x20directory\x20path\x20with\x20-C\x20option.'});const _0x4f773e=statSync(_0x1b2c11);if(!_0x4f773e['isDirectory']())throw new SDKError(ErrorCode[_0x49a7f5(0x1c3)],'Path\x20is\x20not\x20a\x20directory:\x20'+_0x2a74ca['directory']+_0x14f7ec,undefined,{'helpText':_0x49a7f5(0x382)});process[_0x49a7f5(0x1d5)](_0x1b2c11);}if(!_0x2a74ca[_0x49a7f5(0x2b0)]){if(_0x2a74ca['table'])_0x2a74ca[_0x49a7f5(0x2b0)]=_0x49a7f5(0x3c1);else{if(_0x2a74ca[_0x49a7f5(0x2fc)])_0x2a74ca[_0x49a7f5(0x2b0)]=_0x49a7f5(0x2fc);else{if(_0x2a74ca['jsonl'])_0x2a74ca[_0x49a7f5(0x2b0)]='jsonl';else _0x2a74ca['tsv']&&(_0x2a74ca[_0x49a7f5(0x2b0)]=_0x49a7f5(0x3cb));}}}_0x2a74ca['in']&&!_0x2a74ca['database']&&(_0x2a74ca[_0x49a7f5(0x2a7)]=_0x2a74ca['in']);if(_0x2a74ca['trace'])_0x2a74ca[_0x49a7f5(0x2e3)]=LogLevel['TRACE'];else{if(_0x2a74ca[_0x49a7f5(0x2cd)])_0x2a74ca[_0x49a7f5(0x2e3)]=LogLevel['DEBUG'];else _0x2a74ca[_0x49a7f5(0x2e3)]===undefined&&(_0x2a74ca[_0x49a7f5(0x2e3)]=LogLevel['INFO']);}});async function createTDXInstance(_0x5b892a){const _0xe35462=a2_0x47b95f,_0x4cc56c=await GlobalContext[_0xe35462(0x31b)](_0x5b892a);return _0x4cc56c[_0xe35462(0x2df)](_0x5b892a),TDX[_0xe35462(0x315)]({'site':_0x4cc56c['site'],'apiKey':_0x4cc56c[_0xe35462(0x385)],'logLevel':_0x4cc56c[_0xe35462(0x2e3)],'profile':_0x4cc56c[_0xe35462(0x330)]});}const databaseCmd=program['command'](a2_0x47b95f(0x2a7))[a2_0x47b95f(0x284)]('db')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1fc)),databaseListAction=async(_0x12a05b,_0x256fff)=>{const _0x23370a=a2_0x47b95f,_0x309ae1=new DatabasesCommand(),_0x354ea8=program[_0x23370a(0x439)](),_0x4a0693=await createTDXInstance(_0x354ea8),_0x19f41d=await _0x309ae1[_0x23370a(0x41e)]({'options':{..._0x354ea8,..._0x256fff},'args':_0x12a05b?[_0x12a05b]:[],'tdx':_0x4a0693});gracefulExit(_0x19f41d);};databaseCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x369))[a2_0x47b95f(0x3b6)](databaseListAction),program['command'](a2_0x47b95f(0x337),{'hidden':!![]})['description']('List\x20all\x20databases\x20(alias\x20for\x20\x22database\x20list\x22)')[a2_0x47b95f(0x3b6)](databaseListAction),program[a2_0x47b95f(0x2c9)]('chat\x20[message...]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x28b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2d4),a2_0x47b95f(0x39f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3fa),a2_0x47b95f(0x26c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x440),a2_0x47b95f(0x36b))[a2_0x47b95f(0x25c)]('--stream',a2_0x47b95f(0x2b2))[a2_0x47b95f(0x3b6)](async(_0x3fa53e,_0x1e73cc)=>{const _0xdc6da2=a2_0x47b95f,_0x28d706=program[_0xdc6da2(0x439)](),_0x490da5=await createTDXInstance(_0x28d706);if(_0x3fa53e[0x0]==='create'){const _0x13978f=new ChatCreateCommand();gracefulExit(await _0x13978f[_0xdc6da2(0x41e)]({'options':{..._0x28d706,..._0x1e73cc},'args':_0x3fa53e[_0xdc6da2(0x35a)](0x1),'tdx':_0x490da5}));return;}const _0x31756a=new ChatCommand(),_0x57552e=await _0x31756a[_0xdc6da2(0x41e)]({'options':{..._0x28d706,..._0x1e73cc},'args':_0x3fa53e,'tdx':_0x490da5});gracefulExit(_0x57552e);});const apiCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3b3))[a2_0x47b95f(0x1d4)](a2_0x47b95f(0x215))['addHelpText'](a2_0x47b95f(0x438),'\x0aExamples:\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/list\x0a\x20\x20$\x20tdx\x20api\x20/v3/database/show/mydb\x0a\x20\x20$\x20tdx\x20api\x20-X\x20POST\x20--data\x20\x27{\x22query\x22:\x22SELECT\x201\x22}\x27\x20/v3/job/issue/hive/mydb\x0a\x20\x20$\x20tdx\x20api\x20/entities/parent_segments\x20--type\x20cdp\x0a\x20\x20$\x20tdx\x20api\x20/api/workflows\x20--type\x20workflow\x0a')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e5),a2_0x47b95f(0x220),'GET')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x226),a2_0x47b95f(0x3bd))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1af),'Read\x20request\x20body\x20from\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x433),a2_0x47b95f(0x3f4),(_0x584dad,_0x1e0eb2)=>{return _0x1e0eb2?[..._0x1e0eb2,_0x584dad]:[_0x584dad];})[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3e2),a2_0x47b95f(0x1c1),'td')[a2_0x47b95f(0x3b6)](async(_0x20cc21,_0x3f3233)=>{const _0x388d33=a2_0x47b95f;if(!_0x20cc21){apiCmd[_0x388d33(0x364)]();return;}const _0x4765bb=new ApiCommand(),_0x298e17=program[_0x388d33(0x439)](),_0x146a1b=await createTDXInstance(_0x298e17),_0x2e7705=await _0x4765bb[_0x388d33(0x41e)]({'options':{..._0x298e17,..._0x3f3233},'args':[_0x20cc21],'tdx':_0x146a1b});gracefulExit(_0x2e7705);});program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x42a))['description'](a2_0x47b95f(0x21a))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),a2_0x47b95f(0x42c))[a2_0x47b95f(0x3b6)](async _0x568016=>{const _0x1eeff9=a2_0x47b95f,_0x3c4181=new MCPCommand(),_0x1d7aba=program[_0x1eeff9(0x439)](),_0x40f1d2=await createTDXInstance(_0x1d7aba),_0x4c6327=await _0x3c4181[_0x1eeff9(0x41e)]({'options':{..._0x1d7aba,..._0x568016},'args':[],'tdx':_0x40f1d2});gracefulExit(_0x4c6327);});const tableCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3c1))['description'](a2_0x47b95f(0x2a0)),tableListAction=async(_0x5860ca,_0x5d047a)=>{const _0x47769a=a2_0x47b95f,_0x1633f9=new TablesCommand(),_0x3e03b4=program[_0x47769a(0x439)](),_0x561cd0=await createTDXInstance(_0x3e03b4);_0x5d047a['in']&&(_0x5d047a[_0x47769a(0x2a7)]=_0x5d047a['in']);const _0x48c2c9=await _0x1633f9[_0x47769a(0x41e)]({'options':{..._0x3e03b4,..._0x5d047a},'args':_0x5860ca?[_0x5860ca]:[],'tdx':_0x561cd0});gracefulExit(_0x48c2c9);};tableCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x39d))[a2_0x47b95f(0x25c)]('-d,\x20--database\x20<database>',a2_0x47b95f(0x252))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x431),a2_0x47b95f(0x29b))['action'](tableListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2dd),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1eb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c9),a2_0x47b95f(0x252))[a2_0x47b95f(0x25c)]('--in\x20<database>',a2_0x47b95f(0x29b))['action'](tableListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x387))['description']('Show\x20table\x20contents\x20(SELECT\x20*\x20with\x20limit)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c9),a2_0x47b95f(0x295))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x431),a2_0x47b95f(0x29b))['action'](async(_0x16ba82,_0x581a99)=>{const _0x57483b=a2_0x47b95f,_0x391eed=new ShowCommand(),_0x1a80cd=program['opts'](),_0x2be6a1=await createTDXInstance(_0x1a80cd);_0x581a99['in']&&(_0x581a99[_0x57483b(0x2a7)]=_0x581a99['in']);const _0x437272=await _0x391eed[_0x57483b(0x41e)]({'options':{..._0x1a80cd,..._0x581a99},'args':_0x16ba82?[_0x16ba82]:[],'tdx':_0x2be6a1});gracefulExit(_0x437272);}),program[a2_0x47b95f(0x2c9)]('describe\x20[table]')[a2_0x47b95f(0x284)](a2_0x47b95f(0x2d6))[a2_0x47b95f(0x3db)]('Describe\x20table\x20schema')[a2_0x47b95f(0x25c)]('-d,\x20--database\x20<database>',a2_0x47b95f(0x295))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x431),'Alias\x20for\x20--database\x20(natural\x20language\x20style)')['action'](async(_0x18934f,_0x2747a0)=>{const _0x32d656=a2_0x47b95f,_0x1cb881=new DescribeCommand(),_0x47d67e=program[_0x32d656(0x439)](),_0x505a8f=await createTDXInstance(_0x47d67e);_0x2747a0['in']&&(_0x2747a0['database']=_0x2747a0['in']);const _0x15672e=await _0x1cb881['run']({'options':{..._0x47d67e,..._0x2747a0},'args':_0x18934f?[_0x18934f]:[],'tdx':_0x505a8f});gracefulExit(_0x15672e);}),program[a2_0x47b95f(0x2c9)]('query\x20[sql]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x224))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1c9),a2_0x47b95f(0x2ef))[a2_0x47b95f(0x25c)]('--in\x20<database>','Alias\x20for\x20--database\x20(natural\x20language\x20style)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x365),a2_0x47b95f(0x26d))[a2_0x47b95f(0x25c)]('-f,\x20--file\x20<path>',a2_0x47b95f(0x1f8))[a2_0x47b95f(0x25c)]('--limit\x20<rows>',a2_0x47b95f(0x393),'40')[a2_0x47b95f(0x3b6)](async(_0x59e5ca,_0x32c9cd)=>{const _0x390fb0=a2_0x47b95f,_0x8fe72b=new QueryCommand(),_0x179eb8=program[_0x390fb0(0x439)](),_0x2b5da3=await createTDXInstance(_0x179eb8);_0x32c9cd['in']&&(_0x32c9cd['database']=_0x32c9cd['in']);const _0x1e0ccf=await _0x8fe72b[_0x390fb0(0x41e)]({'options':{..._0x179eb8,..._0x32c9cd},'args':_0x59e5ca?[_0x59e5ca]:[],'tdx':_0x2b5da3});gracefulExit(_0x1e0ccf);});const segmentCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3f9))[a2_0x47b95f(0x284)]('sg')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x286)),segmentListAction=async(_0x2478b2,_0x35280b)=>{const _0x23dcd9=a2_0x47b95f,_0x2bef39=new SegmentsCommand(),_0x49633e=program[_0x23dcd9(0x439)](),_0x45deea=await createTDXInstance(_0x49633e),_0x9b0efe=await _0x2bef39[_0x23dcd9(0x41e)]({'options':{..._0x49633e,..._0x35280b},'args':_0x2478b2?[_0x2478b2]:[],'tdx':_0x45deea});gracefulExit(_0x9b0efe);};segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x422))[a2_0x47b95f(0x3db)]('List\x20folders\x20and\x20segments\x20at\x20path\x20or\x20in\x20current\x20context')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23f),a2_0x47b95f(0x216))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x300),a2_0x47b95f(0x3a5),'10')[a2_0x47b95f(0x3b6)](segmentListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2fe),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x351))['option'](a2_0x47b95f(0x23f),'List\x20recursively\x20(show\x20full\x20hierarchy\x20tree)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x300),a2_0x47b95f(0x3a5),'10')[a2_0x47b95f(0x3b6)](segmentListAction),segmentCmd[a2_0x47b95f(0x2c9)]('use\x20<path>',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x31a))[a2_0x47b95f(0x3b6)](async(_0x2cae3e,_0xac77f7)=>{const _0x3d9b0e=a2_0x47b95f,_0x3ff85c=new SegmentUseCommand(),_0x253df7=program[_0x3d9b0e(0x439)](),_0x3ab634=await createTDXInstance(_0x253df7),_0x101cfd=await _0x3ff85c[_0x3d9b0e(0x41e)]({'options':{..._0x253df7,..._0xac77f7},'args':[_0x2cae3e],'tdx':_0x3ab634});gracefulExit(_0x101cfd);});const segmentViewAction=async(_0x5d8233,_0x3d174e)=>{const _0x2a1687=a2_0x47b95f,_0x35952c=new SegmentViewCommand(),_0x4c809d=program[_0x2a1687(0x439)](),_0x82f160=await createTDXInstance(_0x4c809d),_0x2e7bc7=await _0x35952c[_0x2a1687(0x41e)]({'options':{..._0x4c809d,..._0x3d174e},'args':_0x5d8233?[_0x5d8233]:[],'tdx':_0x82f160});gracefulExit(_0x2e7bc7);};segmentCmd[a2_0x47b95f(0x2c9)]('view\x20[segment_name]')[a2_0x47b95f(0x3db)]('Show\x20segment\x20details\x20(uses\x20context\x20if\x20not\x20provided)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x321),a2_0x47b95f(0x294))[a2_0x47b95f(0x3b6)](segmentViewAction),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1c8),{'hidden':!![]})[a2_0x47b95f(0x284)](a2_0x47b95f(0x1c5))[a2_0x47b95f(0x25c)]('-w,\x20--web','Open\x20segment\x20in\x20web\x20browser')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x326))['action'](segmentViewAction),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1cc))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x26b))[a2_0x47b95f(0x3b6)](async(_0x22024c,_0x51f86a)=>{const _0x25c960=a2_0x47b95f,_0x5f11b7=new SegmentDescCommand(),_0x57998f=program[_0x25c960(0x439)](),_0x209f23=await createTDXInstance(_0x57998f),_0x3aef32=await _0x5f11b7[_0x25c960(0x41e)]({'options':{..._0x57998f,..._0x51f86a},'args':_0x22024c?[_0x22024c]:[],'tdx':_0x209f23});gracefulExit(_0x3aef32);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x26e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x267))[a2_0x47b95f(0x3b6)](async(_0x2aa70d,_0x2c8c5f)=>{const _0x201639=a2_0x47b95f,_0x9ebfa9=new SegmentShowCommand(),_0x13d8b1=program['opts'](),_0x4367bb=await createTDXInstance(_0x13d8b1),_0x51257f=await _0x9ebfa9[_0x201639(0x41e)]({'options':{..._0x13d8b1,..._0x2c8c5f},'args':_0x2aa70d?[_0x2aa70d]:[],'tdx':_0x4367bb});gracefulExit(_0x51257f);}),segmentCmd['command']('folders\x20<parent_name>',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x356))['action'](async(_0x15d090,_0x16a644)=>{const _0x2d77c8=a2_0x47b95f,_0x3de060=new SegmentFolderListCommand(),_0x1a0909=program[_0x2d77c8(0x439)](),_0x58f94d=await createTDXInstance(_0x1a0909),_0x5a93f3=await _0x3de060['run']({'options':{..._0x1a0909,..._0x16a644},'args':[_0x15d090],'tdx':_0x58f94d});gracefulExit(_0x5a93f3);});const folderCmd=segmentCmd['command']('folder',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2ce));folderCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x417))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x259))[a2_0x47b95f(0x3b6)](async(_0x571848,_0xe6ab22)=>{const _0x3b538a=a2_0x47b95f,_0x1132d3=new SegmentFolderShowCommand(),_0x25000c=program['opts'](),_0x2368eb=await createTDXInstance(_0x25000c),_0x35730a=await _0x1132d3[_0x3b538a(0x41e)]({'options':{..._0x25000c,..._0xe6ab22},'args':[_0x571848],'tdx':_0x2368eb});gracefulExit(_0x35730a);}),segmentCmd['command'](a2_0x47b95f(0x366))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1e6))[a2_0x47b95f(0x3b6)](async(_0x19cafb,_0x3eb234)=>{const _0x3f3ec9=a2_0x47b95f,_0x2db60d=new SegmentSQLCommand(),_0x30935d=program[_0x3f3ec9(0x439)](),_0x580ffd=await createTDXInstance(_0x30935d),_0x540598=await _0x2db60d[_0x3f3ec9(0x41e)]({'options':{..._0x30935d,..._0x3eb234},'args':_0x19cafb?[_0x19cafb]:[],'tdx':_0x580ffd});gracefulExit(_0x540598);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x218))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3df))[a2_0x47b95f(0x3b6)](async(_0x555876,_0x448ade)=>{const _0x339d13=a2_0x47b95f,_0x4ab0be=new SegmentFieldsCommand(),_0x19b2c4=program[_0x339d13(0x439)](),_0x4c1887=await createTDXInstance(_0x19b2c4),_0x217583=await _0x4ab0be[_0x339d13(0x41e)]({'options':{..._0x19b2c4,..._0x448ade},'args':_0x555876?[_0x555876]:[],'tdx':_0x4c1887});gracefulExit(_0x217583);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x406))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1cb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x432))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x3cf))['action'](async(_0x36845b,_0x53ceef)=>{const _0x3168a5=a2_0x47b95f,_0x108d9e=new SegmentPullCommand(),_0x13cc8e=program[_0x3168a5(0x439)](),_0x14399a=await createTDXInstance(_0x13cc8e),_0x4dc036=await _0x108d9e[_0x3168a5(0x41e)]({'options':{..._0x13cc8e,..._0x53ceef},'args':_0x36845b?[_0x36845b]:[],'tdx':_0x14399a});gracefulExit(_0x4dc036);}),segmentCmd[a2_0x47b95f(0x2c9)]('push\x20[parent_or_file]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x22a))['option'](a2_0x47b95f(0x414),a2_0x47b95f(0x432))['option']('--dry-run',a2_0x47b95f(0x3cf))[a2_0x47b95f(0x25c)]('--delete','Delete\x20segments\x20not\x20in\x20local\x20YAML\x20files\x20(disabled\x20by\x20default)')[a2_0x47b95f(0x3b6)](async(_0x5a4f27,_0x4e9186)=>{const _0x445f43=a2_0x47b95f,_0x519657=new SegmentPushCommand(),_0xdc7222=program[_0x445f43(0x439)](),_0x503bd2=await createTDXInstance(_0xdc7222),_0x63578=await _0x519657[_0x445f43(0x41e)]({'options':{..._0xdc7222,..._0x4e9186},'args':_0x5a4f27?[_0x5a4f27]:[],'tdx':_0x503bd2});gracefulExit(_0x63578);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x287))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3dd))[a2_0x47b95f(0x3b6)](async(_0xc7a890,_0x9e4104)=>{const _0x5401c8=a2_0x47b95f,_0x52c744=new SegmentValidateCommand(),_0x1d1b54=program[_0x5401c8(0x439)](),_0xe63b09=await createTDXInstance(_0x1d1b54),_0x304fe0=await _0x52c744[_0x5401c8(0x41e)]({'options':{..._0x1d1b54,..._0x9e4104},'args':_0xc7a890?[_0xc7a890]:[],'tdx':_0xe63b09});gracefulExit(_0x304fe0);}),segmentCmd['command'](a2_0x47b95f(0x244),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3a9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),'Segment\x20description')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b5),a2_0x47b95f(0x2da))['option'](a2_0x47b95f(0x32c),a2_0x47b95f(0x2e6))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x367),a2_0x47b95f(0x254))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f7),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x319),a2_0x47b95f(0x25d))['option'](a2_0x47b95f(0x2d9),a2_0x47b95f(0x443))[a2_0x47b95f(0x3b6)](async(_0x3df68c,_0x2577a6)=>{const _0x3faf49=a2_0x47b95f,_0x49b98d=new SegmentCreateCommand(),_0x56d9ae=program[_0x3faf49(0x439)](),_0x211ee1=await createTDXInstance(_0x56d9ae),_0x3de03f=await _0x49b98d[_0x3faf49(0x41e)]({'options':{..._0x56d9ae,..._0x2577a6},'args':[_0x3df68c],'tdx':_0x211ee1});gracefulExit(_0x3de03f);}),segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x40c),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x234))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2ee),a2_0x47b95f(0x324))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),'Updated\x20description')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b5),a2_0x47b95f(0x2c0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x32c),a2_0x47b95f(0x3ea))[a2_0x47b95f(0x25c)]('--folder\x20<name>',a2_0x47b95f(0x376))['option'](a2_0x47b95f(0x2f7),'Segment\x20kind:\x200=batch,\x201=realtime,\x202=funnel_stage')[a2_0x47b95f(0x3b6)](async(_0x1fe197,_0x934300)=>{const _0x4215f0=a2_0x47b95f,_0x8c4e01=new SegmentUpdateCommand(),_0x2ee978=program[_0x4215f0(0x439)](),_0x45415b=await createTDXInstance(_0x2ee978),_0x424e5c=await _0x8c4e01[_0x4215f0(0x41e)]({'options':{..._0x2ee978,..._0x934300},'args':[_0x1fe197],'tdx':_0x45415b});gracefulExit(_0x424e5c);});const parentCmd=segmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x413),{'hidden':!![]})['description'](a2_0x47b95f(0x1b9)),parentListAction=async(_0x5c7af4,_0x31ddc5)=>{const _0x5e5ded=a2_0x47b95f,_0x517b81=new ParentSegmentListCommand(),_0x4e5c8d=program[_0x5e5ded(0x439)](),_0x945436=await createTDXInstance(_0x4e5c8d),_0x334dba=await _0x517b81[_0x5e5ded(0x41e)]({'options':{..._0x4e5c8d,..._0x31ddc5},'args':_0x5c7af4?[_0x5c7af4]:[],'tdx':_0x945436});gracefulExit(_0x334dba);};parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x25e))[a2_0x47b95f(0x3b6)](parentListAction),segmentCmd[a2_0x47b95f(0x2c9)]('parents\x20[pattern]',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x339))[a2_0x47b95f(0x3b6)](parentListAction),parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2f5))[a2_0x47b95f(0x3db)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x219),a2_0x47b95f(0x303))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x5ed956,_0x101715)=>{const _0x389c12=a2_0x47b95f,_0x3283a8=new ParentSegmentPullCommand(),_0x58ceca=program['opts'](),_0x5db850=await createTDXInstance(_0x58ceca),_0x372a54=await _0x3283a8[_0x389c12(0x41e)]({'options':{..._0x58ceca,..._0x101715},'args':_0x5ed956?[_0x5ed956]:[],'tdx':_0x5db850});gracefulExit(_0x372a54);}),parentCmd['command'](a2_0x47b95f(0x1f5))[a2_0x47b95f(0x3db)]('Push\x20parent\x20segment\x20configuration\x20from\x20YAML\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x8aa6dc,_0x53b2b7)=>{const _0x1d4f83=a2_0x47b95f,_0x5336a7=new ParentSegmentPushCommand(),_0x55cba0=program[_0x1d4f83(0x439)](),_0x5adb2b=await createTDXInstance(_0x55cba0),_0x558bb6=await _0x5336a7['run']({'options':{..._0x55cba0,..._0x53b2b7},'args':_0x8aa6dc?[_0x8aa6dc]:[],'tdx':_0x5adb2b});gracefulExit(_0x558bb6);}),parentCmd['command'](a2_0x47b95f(0x27e))['description'](a2_0x47b95f(0x2b7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c8),'Show\x20only\x20master\x20table\x20validation')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x33e),a2_0x47b95f(0x3a4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a9),a2_0x47b95f(0x2ed))['option']('--enriched',a2_0x47b95f(0x2cb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f1),a2_0x47b95f(0x34f),'-1d')[a2_0x47b95f(0x3b6)](async(_0x27780c,_0x7b4506)=>{const _0x5ac614=a2_0x47b95f,_0x33f307=new ParentSegmentValidateCommand(),_0x450eb4=program[_0x5ac614(0x439)](),_0x11debb=await createTDXInstance(_0x450eb4),_0x2db1e1=await _0x33f307['run']({'options':{..._0x450eb4,..._0x7b4506},'args':_0x27780c?[_0x27780c]:[],'tdx':_0x11debb});gracefulExit(_0x2db1e1);}),parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d1))['description'](a2_0x47b95f(0x34a))[a2_0x47b95f(0x25c)]('--master','Show\x20master\x20table\x20sample\x20data')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x33e),a2_0x47b95f(0x1b8))['option'](a2_0x47b95f(0x2a9),a2_0x47b95f(0x3d0))[a2_0x47b95f(0x25c)]('--enriched',a2_0x47b95f(0x1e1))['option'](a2_0x47b95f(0x2f1),'TD_INTERVAL\x20time\x20range\x20for\x20behavior\x20queries\x20(e.g.,\x20-1d,\x20-7d,\x20-30d)','-1d')[a2_0x47b95f(0x3b6)](async(_0x196bfa,_0x5804ce)=>{const _0x363eed=a2_0x47b95f,_0x20a671=new ParentSegmentPreviewCommand(),_0x4bfd22=program[_0x363eed(0x439)](),_0x5268b4=await createTDXInstance(_0x4bfd22),_0x11c412=await _0x20a671[_0x363eed(0x41e)]({'options':{..._0x4bfd22,..._0x5804ce},'args':_0x196bfa?[_0x196bfa]:[],'tdx':_0x5268b4});gracefulExit(_0x11c412);}),parentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x208))['description'](a2_0x47b95f(0x214))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x338f5e,_0x62c8c8)=>{const _0xfd7079=a2_0x47b95f,_0x3f69ea=new ParentSegmentRunCommand(),_0x192107=program[_0xfd7079(0x439)](),_0xbbe058=await createTDXInstance(_0x192107),_0x4bba00=await _0x3f69ea['run']({'options':{..._0x192107,..._0x62c8c8},'args':_0x338f5e?[_0x338f5e]:[],'tdx':_0xbbe058});gracefulExit(_0x4bba00);});const parentSegmentCmd=program['command'](a2_0x47b95f(0x2f4))[a2_0x47b95f(0x284)]('ps')['description'](a2_0x47b95f(0x375));parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x25e))['action'](parentListAction),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2f5))[a2_0x47b95f(0x3db)]('Pull\x20parent\x20segment\x20configuration\x20to\x20YAML\x20file\x20(uses\x20context\x20if\x20name\x20omitted)')['option']('-o,\x20--output\x20<file>','Output\x20file\x20path')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['option'](a2_0x47b95f(0x249),a2_0x47b95f(0x415))[a2_0x47b95f(0x3b6)](async(_0x5f0fc9,_0x27de08)=>{const _0x105975=a2_0x47b95f,_0x2cdc39=new ParentSegmentPullCommand(),_0x5d4adc=program[_0x105975(0x439)](),_0x37996f=await createTDXInstance(_0x5d4adc),_0x22cfec=await _0x2cdc39['run']({'options':{..._0x5d4adc,..._0x27de08},'args':_0x5f0fc9?[_0x5f0fc9]:[],'tdx':_0x37996f});gracefulExit(_0x22cfec);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1dc))['description'](a2_0x47b95f(0x289))['option'](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x9e822a,_0x38e9c3)=>{const _0x2d86d8=a2_0x47b95f,_0x4503e8=new ParentSegmentPushCommand(),_0x5c802b=program[_0x2d86d8(0x439)](),_0x508a37=await createTDXInstance(_0x5c802b),_0x12b1dc=await _0x4503e8['run']({'options':{..._0x5c802b,..._0x38e9c3},'args':_0x9e822a?[_0x9e822a]:[],'tdx':_0x508a37});gracefulExit(_0x12b1dc);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x38d))[a2_0x47b95f(0x3db)]('Validate\x20parent\x20segment\x20YAML\x20configuration\x20and\x20show\x20statistics')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c8),a2_0x47b95f(0x280))['option'](a2_0x47b95f(0x33e),a2_0x47b95f(0x3a4))[a2_0x47b95f(0x25c)]('--behavior\x20[name]',a2_0x47b95f(0x2ed))['option'](a2_0x47b95f(0x3b1),a2_0x47b95f(0x2cb))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f1),a2_0x47b95f(0x34f),'-1d')[a2_0x47b95f(0x3b6)](async(_0x2fa84b,_0x4a4f5)=>{const _0x532e42=a2_0x47b95f,_0x3460b5=new ParentSegmentValidateCommand(),_0x14d4ce=program[_0x532e42(0x439)](),_0x47265a=await createTDXInstance(_0x14d4ce),_0x4c2d4e=await _0x3460b5['run']({'options':{..._0x14d4ce,..._0x4a4f5},'args':_0x2fa84b?[_0x2fa84b]:[],'tdx':_0x47265a});gracefulExit(_0x4c2d4e);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x340))['description'](a2_0x47b95f(0x34a))[a2_0x47b95f(0x25c)]('--master',a2_0x47b95f(0x3ec))['option'](a2_0x47b95f(0x33e),a2_0x47b95f(0x1b8))[a2_0x47b95f(0x25c)]('--behavior\x20[name]',a2_0x47b95f(0x3d0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3b1),a2_0x47b95f(0x1e1))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f1),a2_0x47b95f(0x34f),a2_0x47b95f(0x2c8))['action'](async(_0x443e6d,_0x1e1c74)=>{const _0x40e382=new ParentSegmentPreviewCommand(),_0x1e2554=program['opts'](),_0x36e8ce=await createTDXInstance(_0x1e2554),_0x4fd145=await _0x40e382['run']({'options':{..._0x1e2554,..._0x1e1c74},'args':_0x443e6d?[_0x443e6d]:[],'tdx':_0x36e8ce});gracefulExit(_0x4fd145);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x208))['description'](a2_0x47b95f(0x214))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x4991ac,_0x1ef68b)=>{const _0x52f06e=a2_0x47b95f,_0x4bef0d=new ParentSegmentRunCommand(),_0x1e94c5=program['opts'](),_0x1ccb96=await createTDXInstance(_0x1e94c5),_0x1ef130=await _0x4bef0d[_0x52f06e(0x41e)]({'options':{..._0x1e94c5,..._0x1ef68b},'args':_0x4991ac?[_0x4991ac]:[],'tdx':_0x1ccb96});gracefulExit(_0x1ef130);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3b8))['description']('List\x20available\x20fields\x20for\x20segmentation\x20(uses\x20context\x20if\x20name\x20omitted)')['option'](a2_0x47b95f(0x3be),'Output\x20as\x20JSON')['option'](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))['action'](async(_0x2fe1ae,_0x503e15)=>{const _0x3d9f8e=a2_0x47b95f,_0x555dad=new ParentSegmentFieldsCommand(),_0x374dc6=program[_0x3d9f8e(0x439)](),_0x17fc1a=await createTDXInstance(_0x374dc6),_0x365d64=await _0x555dad[_0x3d9f8e(0x41e)]({'options':{..._0x374dc6,..._0x503e15},'args':_0x2fe1ae?[_0x2fe1ae]:[],'tdx':_0x17fc1a});gracefulExit(_0x365d64);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x33f))[a2_0x47b95f(0x3db)]('Show\x20parent\x20segment\x20details\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x321),a2_0x47b95f(0x355))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),a2_0x47b95f(0x325))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))[a2_0x47b95f(0x3b6)](async(_0x5da242,_0x5366e5)=>{const _0x14579b=a2_0x47b95f,_0x55a68a=new ParentSegmentViewCommand(),_0x31b18a=program[_0x14579b(0x439)](),_0xf79f1c=await createTDXInstance(_0x31b18a),_0xb5dd9b=await _0x55a68a[_0x14579b(0x41e)]({'options':{..._0x31b18a,..._0x5366e5},'args':_0x5da242?[_0x5da242]:[],'tdx':_0xf79f1c});gracefulExit(_0xb5dd9b);}),parentSegmentCmd['command']('desc\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x202))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x219),a2_0x47b95f(0x255))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),'Output\x20as\x20JSON')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),'Output\x20as\x20JSON\x20Lines')[a2_0x47b95f(0x3b6)](async(_0x2d107a,_0x313750)=>{const _0xe4a31b=a2_0x47b95f,_0xddd264=new ParentSegmentDescCommand(),_0x26ef60=program[_0xe4a31b(0x439)](),_0x232e7f=await createTDXInstance(_0x26ef60),_0x4f403a=await _0xddd264[_0xe4a31b(0x41e)]({'options':{..._0x26ef60,..._0x313750},'args':_0x2d107a?[_0x2d107a]:[],'tdx':_0x232e7f});gracefulExit(_0x4f403a);}),parentSegmentCmd[a2_0x47b95f(0x2c9)]('sql\x20[name]')[a2_0x47b95f(0x3db)]('Get\x20SQL\x20query\x20for\x20parent\x20segment\x20(uses\x20context\x20if\x20name\x20omitted)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3be),a2_0x47b95f(0x325))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))[a2_0x47b95f(0x3b6)](async(_0x410a32,_0x2280a7)=>{const _0x6370fc=a2_0x47b95f,_0x33d21a=new ParentSegmentSQLCommand(),_0x197430=program[_0x6370fc(0x439)](),_0x397186=await createTDXInstance(_0x197430),_0x235241=await _0x33d21a[_0x6370fc(0x41e)]({'options':{..._0x197430,..._0x2280a7},'args':_0x410a32?[_0x410a32]:[],'tdx':_0x397186});gracefulExit(_0x235241);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x350))['description'](a2_0x47b95f(0x25b))[a2_0x47b95f(0x25c)]('--limit\x20<n>','Limit\x20number\x20of\x20rows')['option'](a2_0x47b95f(0x3be),a2_0x47b95f(0x325))['option'](a2_0x47b95f(0x318),a2_0x47b95f(0x2c1))[a2_0x47b95f(0x3b6)](async(_0x37f995,_0x3ea454)=>{const _0x466bfb=a2_0x47b95f,_0x36e5a8=new ParentSegmentShowCommand(),_0x579967=program[_0x466bfb(0x439)](),_0xfd1670=await createTDXInstance(_0x579967),_0x42c89d=await _0x36e5a8[_0x466bfb(0x41e)]({'options':{..._0x579967,..._0x3ea454},'args':_0x37f995?[_0x37f995]:[],'tdx':_0xfd1670});gracefulExit(_0x42c89d);}),parentSegmentCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1be))['description'](a2_0x47b95f(0x34b))[a2_0x47b95f(0x3b6)](async(_0x1707ce,_0x335ba4)=>{const _0x446e1a=a2_0x47b95f,_0x7fdf4d=new UseCommand(),_0xd9f18=program[_0x446e1a(0x439)](),_0x1a0452=_0x1707ce?[_0x446e1a(0x36e),_0x1707ce]:[],_0x241b2e=await _0x7fdf4d[_0x446e1a(0x41e)]({'options':{..._0xd9f18,..._0x335ba4},'args':_0x1a0452,'tdx':null});gracefulExit(_0x241b2e);});const psRtCmd=parentSegmentCmd[a2_0x47b95f(0x2c9)]('rt')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x235));psRtCmd['command'](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x29e))[a2_0x47b95f(0x3b6)](async(_0x218089,_0x2041a2)=>{const _0x357b36=a2_0x47b95f,_0x430b4c=new PSRtListCommand(),_0x5f1e96=program['opts'](),_0xc0393e=await createTDXInstance(_0x5f1e96),_0x15cf26=await _0x430b4c[_0x357b36(0x41e)]({'options':{..._0x5f1e96,..._0x2041a2},'args':_0x218089?[_0x218089]:[],'tdx':_0xc0393e});gracefulExit(_0x15cf26);}),psRtCmd['command']('validate\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x250))[a2_0x47b95f(0x3b6)](async(_0x1f123c,_0x37fa9f)=>{const _0x594270=a2_0x47b95f,_0x8340ff=new PSRtValidateCommand(),_0x12756c=program[_0x594270(0x439)](),_0x303bea=await createTDXInstance(_0x12756c),_0x76b5ab=await _0x8340ff[_0x594270(0x41e)]({'options':{..._0x12756c,..._0x37fa9f},'args':_0x1f123c?[_0x1f123c]:[],'tdx':_0x303bea});gracefulExit(_0x76b5ab);});const parentRtCmd=parentCmd[a2_0x47b95f(0x2c9)]('rt',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x235));parentRtCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))['description']('List\x20parent\x20segments\x20with\x20RT\x202.0\x20status')['action'](async(_0x5b0151,_0x1e7437)=>{const _0x2e4f71=a2_0x47b95f,_0x572371=new PSRtListCommand(),_0x36e40e=program['opts'](),_0x547841=await createTDXInstance(_0x36e40e),_0x3b7c22=await _0x572371[_0x2e4f71(0x41e)]({'options':{..._0x36e40e,..._0x1e7437},'args':_0x5b0151?[_0x5b0151]:[],'tdx':_0x547841});gracefulExit(_0x3b7c22);}),parentRtCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x38d))[a2_0x47b95f(0x3db)]('Validate\x20RT\x202.0\x20configuration\x20from\x20parent\x20segment\x20YAML')[a2_0x47b95f(0x3b6)](async(_0x4ab107,_0x185fee)=>{const _0x284996=a2_0x47b95f,_0x4d90fd=new PSRtValidateCommand(),_0x2276a4=program[_0x284996(0x439)](),_0x541d49=await createTDXInstance(_0x2276a4),_0x2b8701=await _0x4d90fd[_0x284996(0x41e)]({'options':{..._0x2276a4,..._0x185fee},'args':_0x4ab107?[_0x4ab107]:[],'tdx':_0x541d49});gracefulExit(_0x2b8701);});const psPzCmd=parentSegmentCmd[a2_0x47b95f(0x2c9)]('pz')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2e9));psPzCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1c4))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x230))[a2_0x47b95f(0x3b6)](async(_0x1ac305,_0x984fe2)=>{const _0x206b9b=a2_0x47b95f,_0x241a26=new PSPzListCommand(),_0x5e42df=program[_0x206b9b(0x439)](),_0x17ce4f=await createTDXInstance(_0x5e42df),_0x13ebac=await _0x241a26['run']({'options':{..._0x5e42df,..._0x984fe2},'args':_0x1ac305?[_0x1ac305]:[],'tdx':_0x17ce4f});gracefulExit(_0x13ebac);}),psPzCmd[a2_0x47b95f(0x2c9)]('init\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x29a))[a2_0x47b95f(0x3b6)](async(_0xd170b0,_0x5686bd)=>{const _0x5d62fb=a2_0x47b95f,_0x4bdbe6=new PSPzInitCommand(),_0x42eb93=program[_0x5d62fb(0x439)](),_0x12b877=await createTDXInstance(_0x42eb93),_0x1af7da=await _0x4bdbe6['run']({'options':{..._0x42eb93,..._0x5686bd},'args':_0xd170b0?[_0xd170b0]:[],'tdx':_0x12b877});gracefulExit(_0x1af7da);});const parentPzCmd=parentCmd['command']('pz',{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2e9));parentPzCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1c4))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x230))['action'](async(_0x5d41fc,_0x5bcd2c)=>{const _0xd193ba=a2_0x47b95f,_0x238e21=new PSPzListCommand(),_0x2e88ca=program[_0xd193ba(0x439)](),_0x22fbb4=await createTDXInstance(_0x2e88ca),_0x4e957d=await _0x238e21[_0xd193ba(0x41e)]({'options':{..._0x2e88ca,..._0x5bcd2c},'args':_0x5d41fc?[_0x5d41fc]:[],'tdx':_0x22fbb4});gracefulExit(_0x4e957d);}),parentPzCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x379))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x29a))[a2_0x47b95f(0x3b6)](async(_0x4fe526,_0x244044)=>{const _0x590f0c=a2_0x47b95f,_0x14f694=new PSPzInitCommand(),_0x21b396=program[_0x590f0c(0x439)](),_0x4108d5=await createTDXInstance(_0x21b396),_0x4da040=await _0x14f694[_0x590f0c(0x41e)]({'options':{..._0x21b396,..._0x244044},'args':_0x4fe526?[_0x4fe526]:[],'tdx':_0x4108d5});gracefulExit(_0x4da040);}),parentCmd[a2_0x47b95f(0x2c9)]('create\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x283))[a2_0x47b95f(0x3e6)]('--database\x20<db>',a2_0x47b95f(0x201))['requiredOption'](a2_0x47b95f(0x34c),a2_0x47b95f(0x3b7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),a2_0x47b95f(0x35c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2bc),a2_0x47b95f(0x246))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2c6),a2_0x47b95f(0x38b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x307),a2_0x47b95f(0x39c))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x21f),a2_0x47b95f(0x441))[a2_0x47b95f(0x25c)]('--attributes-file\x20<file>','Attributes\x20from\x20JSON\x20file')['option'](a2_0x47b95f(0x3c5),a2_0x47b95f(0x277))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43f),a2_0x47b95f(0x2f0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x239),a2_0x47b95f(0x331))['option']('--customer-group-file\x20<file>',a2_0x47b95f(0x26f))[a2_0x47b95f(0x3b6)](async(_0x910109,_0x4f9f51)=>{const _0x2f206c=a2_0x47b95f,_0x2688ff=new ParentSegmentCreateCommand(),_0x181427=program[_0x2f206c(0x439)](),_0x1ff530=await createTDXInstance(_0x181427),_0x30ee7c=await _0x2688ff[_0x2f206c(0x41e)]({'options':{..._0x181427,..._0x4f9f51},'args':[_0x910109],'tdx':_0x1ff530});gracefulExit(_0x30ee7c);}),parentCmd['command'](a2_0x47b95f(0x30e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x380))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),a2_0x47b95f(0x402))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2bc),a2_0x47b95f(0x1f3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2c6),a2_0x47b95f(0x419))['option'](a2_0x47b95f(0x307),a2_0x47b95f(0x2a4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x223),a2_0x47b95f(0x1f4))['option'](a2_0x47b95f(0x348),a2_0x47b95f(0x285))['option'](a2_0x47b95f(0x370),a2_0x47b95f(0x38a))['option']('--add-behaviors-file\x20<file>',a2_0x47b95f(0x394))['action'](async(_0x2f0b6f,_0x1a2254)=>{const _0x134479=a2_0x47b95f,_0x2b664d=new ParentSegmentUpdateCommand(),_0x20be6c=program[_0x134479(0x439)](),_0x433d30=await createTDXInstance(_0x20be6c),_0x5d1d38=await _0x2b664d[_0x134479(0x41e)]({'options':{..._0x20be6c,..._0x1a2254},'args':[_0x2f0b6f],'tdx':_0x433d30});gracefulExit(_0x5d1d38);}),folderCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x278))[a2_0x47b95f(0x3db)]('Create\x20segment\x20folder')[a2_0x47b95f(0x25c)]('--description\x20<text>',a2_0x47b95f(0x1ba))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3f6),'Parent\x20folder\x20name\x20for\x20nested\x20folders')['action'](async(_0x41c300,_0xa71cfa,_0xb95730)=>{const _0x352861=new SegmentFolderCreateCommand(),_0x50c3f1=program['opts'](),_0x4eb9b3=await createTDXInstance(_0x50c3f1),_0x19d595=await _0x352861['run']({'options':{..._0x50c3f1,..._0xb95730},'args':[_0x41c300,_0xa71cfa],'tdx':_0x4eb9b3});gracefulExit(_0x19d595);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x30b))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x309))[a2_0x47b95f(0x3b6)](async(_0x26e163,_0x13ced1)=>{const _0x3d9d2f=a2_0x47b95f,_0x2b7342=new ActivationsCommand(),_0x2bb83a=program[_0x3d9d2f(0x439)](),_0x52aad6=await createTDXInstance(_0x2bb83a),_0x324e91=await _0x2b7342[_0x3d9d2f(0x41e)]({'options':{..._0x2bb83a,..._0x13ced1},'args':[_0x26e163],'tdx':_0x52aad6});gracefulExit(_0x324e91);});const workflowCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x371))[a2_0x47b95f(0x284)]('wf')['description'](a2_0x47b95f(0x209)),wfProjectCmd=workflowCmd[a2_0x47b95f(0x2c9)]('project')['description'](a2_0x47b95f(0x401)),wfProjectListAction=async(_0x369596,_0x1c4887)=>{const _0xff3df4=a2_0x47b95f,_0x17e0f8=new WorkflowProjectsCommand(),_0x1c3c6f=program['opts'](),_0x35250b=await createTDXInstance(_0x1c3c6f),_0x2bae9c=await _0x17e0f8[_0xff3df4(0x41e)]({'options':{..._0x1c3c6f,..._0x1c4887},'args':_0x369596?[_0x369596]:[],'tdx':_0x35250b});gracefulExit(_0x2bae9c);};wfProjectCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x411))[a2_0x47b95f(0x3b6)](wfProjectListAction),workflowCmd[a2_0x47b95f(0x2c9)]('projects\x20[pattern]')[a2_0x47b95f(0x3db)]('List\x20all\x20workflow\x20projects\x20(alias\x20for\x20\x22project\x20list\x22)')['action'](wfProjectListAction);const wfWorkflowListAction=async(_0x400b8e,_0x51e7ac)=>{const _0x4b2b5b=a2_0x47b95f,_0x5ef9d4=new WorkflowWorkflowsCommand(),_0xa74570=program[_0x4b2b5b(0x439)](),_0x5a256b=await createTDXInstance(_0xa74570),_0x370b67=await _0x5ef9d4['run']({'options':{..._0xa74570,..._0x51e7ac},'args':_0x400b8e?[_0x400b8e]:[],'tdx':_0x5a256b});gracefulExit(_0x370b67);};workflowCmd['command'](a2_0x47b95f(0x3af))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1c2))[a2_0x47b95f(0x3b6)](wfWorkflowListAction);const wfSessionCmd=workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x23a))[a2_0x47b95f(0x3db)]('Workflow\x20session\x20management'),wfSessionListAction=async(_0x190097,_0x4ef17f)=>{const _0x18898a=a2_0x47b95f,_0xc63ac6=new WorkflowSessionsCommand(),_0x186218=program[_0x18898a(0x439)](),_0x51766e=await createTDXInstance(_0x186218),_0x15d8a3=await _0xc63ac6['run']({'options':{..._0x186218,..._0x4ef17f},'args':_0x190097?[_0x190097]:[],'tdx':_0x51766e});gracefulExit(_0x15d8a3);};wfSessionCmd[a2_0x47b95f(0x2c9)]('list\x20[project]')['description']('List\x20workflow\x20execution\x20sessions\x20(filter\x20by\x20project\x20or\x20project.workflow)')['option'](a2_0x47b95f(0x1bd),a2_0x47b95f(0x28f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c0),a2_0x47b95f(0x261))['option'](a2_0x47b95f(0x270),a2_0x47b95f(0x3dc))[a2_0x47b95f(0x3b6)](wfSessionListAction),workflowCmd[a2_0x47b95f(0x2c9)]('sessions\x20[project]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x20e))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1bd),a2_0x47b95f(0x28f))[a2_0x47b95f(0x25c)]('--from\x20<timestamp>',a2_0x47b95f(0x261))[a2_0x47b95f(0x25c)]('--to\x20<timestamp>','End\x20time\x20filter\x20(ISO\x208601\x20format)')[a2_0x47b95f(0x3b6)](wfSessionListAction);const wfAttemptListAction=async(_0x6d1f29,_0x5078b2)=>{const _0x371a79=a2_0x47b95f,_0x8202df=new WorkflowAttemptsCommand(),_0x13ab69=program[_0x371a79(0x439)](),_0x21b8fd=await createTDXInstance(_0x13ab69),_0x3e9d0e=await _0x8202df[_0x371a79(0x41e)]({'options':{..._0x13ab69,..._0x5078b2},'args':_0x6d1f29?[_0x6d1f29]:[],'tdx':_0x21b8fd});gracefulExit(_0x3e9d0e);},attemptCmd=workflowCmd['command'](a2_0x47b95f(0x38c))[a2_0x47b95f(0x3db)]('Workflow\x20attempt\x20management')[a2_0x47b95f(0x2e2)](a2_0x47b95f(0x1d9),a2_0x47b95f(0x3aa))['argument'](a2_0x47b95f(0x360),a2_0x47b95f(0x266))[a2_0x47b95f(0x2e2)](a2_0x47b95f(0x1f6),a2_0x47b95f(0x408))[a2_0x47b95f(0x25c)]('--include-subtasks',a2_0x47b95f(0x29d))['option'](a2_0x47b95f(0x42d),a2_0x47b95f(0x233))[a2_0x47b95f(0x25c)]('--resume-from\x20<task>','Resume\x20from\x20specific\x20task\x20(retry)')['option'](a2_0x47b95f(0x1da),'Override\x20parameters\x20for\x20retry\x20(JSON\x20string\x20or\x20@file.json)')['option'](a2_0x47b95f(0x37e),a2_0x47b95f(0x374))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x38e),a2_0x47b95f(0x237))[a2_0x47b95f(0x3b6)](async(_0x31b24d,_0x199ab6,_0x1b8385,_0x2e25d1)=>{const _0xcd14e5=a2_0x47b95f;if(_0x31b24d===_0xcd14e5(0x310)){await wfAttemptListAction(_0x199ab6,_0x2e25d1);return;}if(!_0x31b24d){attemptCmd[_0xcd14e5(0x364)]();return;}const _0x3bb129=program['opts'](),_0x552722=await createTDXInstance(_0x3bb129);let _0x946c90=0x0;if(!_0x199ab6){const _0x4a2bda=new WorkflowAttemptCommand();_0x946c90=await _0x4a2bda[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6===_0xcd14e5(0x32d)){const _0x545a45=new WorkflowLogsCommand();_0x946c90=await _0x545a45[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':_0x1b8385?[_0x31b24d,_0x1b8385]:[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6==='tasks'){const _0x24a307=new WorkflowTasksCommand();_0x946c90=await _0x24a307[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6===_0xcd14e5(0x397)){const _0x49e856=new WorkflowKillCommand();_0x946c90=await _0x49e856[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0x31b24d],'tdx':_0x552722});}else{if(_0x199ab6==='retry'){const _0x558301=new WorkflowRetryCommand();_0x946c90=await _0x558301[_0xcd14e5(0x41e)]({'options':{..._0x3bb129,..._0x2e25d1},'args':[_0xcd14e5(0x2cc)+_0x31b24d],'tdx':_0x552722});}else console[_0xcd14e5(0x253)](_0xcd14e5(0x1ce)+_0x199ab6),console[_0xcd14e5(0x253)](_0xcd14e5(0x2fb)),_0x946c90=0x1;}}}}gracefulExit(_0x946c90);});attemptCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d6))[a2_0x47b95f(0x3db)]('List\x20workflow\x20attempts\x20(filter\x20by\x20project\x20or\x20project.workflow)')[a2_0x47b95f(0x25c)]('--include-retried',a2_0x47b95f(0x3ac))[a2_0x47b95f(0x3b6)](wfAttemptListAction),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x343))['description'](a2_0x47b95f(0x30f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x38e),'Include\x20retried\x20attempts')['action'](wfAttemptListAction),workflowCmd['command']('timeline\x20[project.workflow]')['description']('Show\x20task\x20execution\x20timeline\x20for\x20a\x20workflow\x20attempt')['option']('--follow','Follow/watch\x20timeline\x20for\x20running\x20attempts')[a2_0x47b95f(0x25c)]('--session-id\x20<id>',a2_0x47b95f(0x1fb))['option']('--attempt-id\x20<id>',a2_0x47b95f(0x232))[a2_0x47b95f(0x3b6)](async(_0x48cc20,_0x7675d)=>{const _0x2d981c=a2_0x47b95f,_0x158e4d=new WorkflowTimelineCommand(),_0x3f6507=program[_0x2d981c(0x439)](),_0x328f51=await createTDXInstance(_0x3f6507),_0x1d4e84=await _0x158e4d[_0x2d981c(0x41e)]({'options':{..._0x3f6507,..._0x7675d},'args':_0x48cc20?[_0x48cc20]:[],'tdx':_0x328f51});gracefulExit(_0x1d4e84);}),workflowCmd['command'](a2_0x47b95f(0x329))['description'](a2_0x47b95f(0x2c7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43e),'Resume\x20from\x20specific\x20task')[a2_0x47b95f(0x25c)]('--params\x20<json>',a2_0x47b95f(0x20c))['action'](async(_0x470d21,_0x17a20f)=>{const _0x214cfc=a2_0x47b95f,_0x22010e=new WorkflowRetryCommand(),_0xf06579=program[_0x214cfc(0x439)](),_0x342aa9=await createTDXInstance(_0xf06579),_0x428ff2=await _0x22010e[_0x214cfc(0x41e)]({'options':{..._0xf06579,..._0x17a20f},'args':[_0x470d21],'tdx':_0x342aa9});gracefulExit(_0x428ff2);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x392))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x282))['option'](a2_0x47b95f(0x3e9),a2_0x47b95f(0x228),(_0x50ea94,_0x495968=[])=>[..._0x495968,_0x50ea94],[])[a2_0x47b95f(0x25c)]('--session-time\x20<time>',a2_0x47b95f(0x2b1))[a2_0x47b95f(0x3b6)](async(_0x18e919,_0x18a4c9)=>{const _0x242431=a2_0x47b95f,_0x1a113d=new WorkflowRunCommand(),_0x3d569c=program['opts'](),_0x32204e=await createTDXInstance(_0x3d569c),_0x142b13=await _0x1a113d[_0x242431(0x41e)]({'options':{..._0x3d569c,..._0x18a4c9},'args':_0x18e919?[_0x18e919]:[],'tdx':_0x32204e});gracefulExit(_0x142b13);}),workflowCmd['command'](a2_0x47b95f(0x2be))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x22b))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x31c))[a2_0x47b95f(0x3b6)](async(_0x51d1f7,_0x327962,_0x319cc8)=>{const _0x1f0192=a2_0x47b95f,_0x219110=new WorkflowDownloadCommand(),_0x164370=program[_0x1f0192(0x439)](),_0x25f146=await createTDXInstance(_0x164370),_0x54e642=await _0x219110['run']({'options':{..._0x164370,..._0x319cc8},'args':[_0x51d1f7,_0x327962||'.'],'tdx':_0x25f146});gracefulExit(_0x54e642);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2e4))[a2_0x47b95f(0x3db)]('Pull\x20workflow\x20project\x20to\x20local\x20folder')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x2b3))['option'](a2_0x47b95f(0x1aa),a2_0x47b95f(0x24d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x310f33,_0x38ee67,_0x52b1a7)=>{const _0x4534b1=a2_0x47b95f,_0x25fb2e=new WorkflowPullCommand(),_0x574353=program[_0x4534b1(0x439)](),_0x11c703=await createTDXInstance(_0x574353),_0x161a08=await _0x25fb2e['run']({'options':{..._0x574353,..._0x52b1a7},'args':_0x38ee67?[_0x310f33,_0x38ee67]:[_0x310f33],'tdx':_0x11c703});gracefulExit(_0x161a08);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2ea))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x384))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x3cc))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x342))['option']('--skip-validation','Skip\x20validation\x20of\x20.dig\x20files')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x3ed62b,_0x20300a)=>{const _0x48bd54=a2_0x47b95f,_0xecbb0=new WorkflowPushCommand(),_0x5972cd=program[_0x48bd54(0x439)](),_0x4cb4eb=await createTDXInstance(_0x5972cd),_0x1bebca=await _0xecbb0[_0x48bd54(0x41e)]({'options':{..._0x5972cd,..._0x20300a},'args':_0x3ed62b?[_0x3ed62b]:[],'tdx':_0x4cb4eb});gracefulExit(_0x1bebca);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d2))['description'](a2_0x47b95f(0x27c))[a2_0x47b95f(0x25c)]('--name\x20<name>',a2_0x47b95f(0x1b2))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x437),a2_0x47b95f(0x238))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c3),a2_0x47b95f(0x3e3))[a2_0x47b95f(0x3b6)](async(_0x897a75,_0x553e06)=>{const _0x20770f=a2_0x47b95f,_0x4043ac=new WorkflowUploadCommand(),_0x5994d5=program['opts'](),_0x498f5b=await createTDXInstance(_0x5994d5),_0x55a349=await _0x4043ac[_0x20770f(0x41e)]({'options':{..._0x5994d5,..._0x553e06},'args':_0x897a75?[_0x897a75]:[],'tdx':_0x498f5b});gracefulExit(_0x55a349);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d3))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3bb))[a2_0x47b95f(0x25c)]('--name\x20<name>',a2_0x47b95f(0x31e))[a2_0x47b95f(0x25c)]('--revision\x20<revision>',a2_0x47b95f(0x3cc))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x436))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3c3),a2_0x47b95f(0x3e3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))['action'](async(_0x523d45,_0x47f81f)=>{const _0x1549ce=a2_0x47b95f,_0x30b908=new WorkflowCloneCommand(),_0x2c33e9=program[_0x1549ce(0x439)](),_0x772ff6=await createTDXInstance(_0x2c33e9),_0x43cd37=await _0x30b908[_0x1549ce(0x41e)]({'options':{..._0x2c33e9,..._0x47f81f},'args':_0x523d45?[_0x523d45]:[],'tdx':_0x772ff6});gracefulExit(_0x43cd37);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x222))['description']('Delete\x20workflow\x20project\x20from\x20Treasure\x20Data')[a2_0x47b95f(0x3b6)](async(_0x15ec6c,_0x2954a5)=>{const _0x5a88a8=a2_0x47b95f,_0x3789cf=new WorkflowDeleteCommand(),_0x109b59=program[_0x5a88a8(0x439)](),_0x5549f9=await createTDXInstance(_0x109b59),_0x474868=await _0x3789cf[_0x5a88a8(0x41e)]({'options':{..._0x109b59,..._0x2954a5},'args':[_0x15ec6c],'tdx':_0x5549f9});gracefulExit(_0x474868);}),workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x306))['description'](a2_0x47b95f(0x2c2))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1f7),a2_0x47b95f(0x3ef))['action'](async(_0x13da0b,_0x188b20)=>{const _0x5d3cb3=new WorkflowUseCommand(),_0x22466a=program['opts'](),_0x33e7f0=await createTDXInstance(_0x22466a),_0x4b62f9=await _0x5d3cb3['run']({'options':{..._0x22466a,..._0x188b20},'args':_0x13da0b?[_0x13da0b]:[],'tdx':_0x33e7f0});gracefulExit(_0x4b62f9);});const wfSecretsCmd=workflowCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3f1))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x22e));wfSecretsCmd['command']('list\x20[project]')['description'](a2_0x47b95f(0x20d))[a2_0x47b95f(0x3b6)](async(_0x4808ce,_0x17370a)=>{const _0x2d842d=a2_0x47b95f,_0x2da045=new WorkflowSecretsListCommand(),_0x1dd8e4=program[_0x2d842d(0x439)](),_0x137487=await createTDXInstance(_0x1dd8e4),_0x3dbcbf=await _0x2da045[_0x2d842d(0x41e)]({'options':{..._0x1dd8e4,..._0x17370a},'args':_0x4808ce?[_0x4808ce]:[],'tdx':_0x137487});gracefulExit(_0x3dbcbf);}),wfSecretsCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3b2))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x291))['action'](async(_0x1fb17c,_0x42b9be)=>{const _0xdb0795=a2_0x47b95f,_0x3e145d=new WorkflowSecretsSetCommand(),_0x4a4b9e=program['opts'](),_0x2f6bbf=await createTDXInstance(_0x4a4b9e),_0x5d986f=await _0x3e145d[_0xdb0795(0x41e)]({'options':{..._0x4a4b9e,..._0x42b9be},'args':_0x1fb17c,'tdx':_0x2f6bbf});gracefulExit(_0x5d986f);}),wfSecretsCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x32a))['description'](a2_0x47b95f(0x409))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](async(_0x10b5ec,_0x84ae75)=>{const _0x593c7c=a2_0x47b95f,_0x5ce612=new WorkflowSecretsDeleteCommand(),_0x537c7b=program[_0x593c7c(0x439)](),_0x168b0c=await createTDXInstance(_0x537c7b),_0x4c26f4=await _0x5ce612[_0x593c7c(0x41e)]({'options':{..._0x537c7b,..._0x84ae75},'args':_0x10b5ec,'tdx':_0x168b0c});gracefulExit(_0x4c26f4);});const jobCmd=program['command']('job')[a2_0x47b95f(0x3db)]('Job\x20management\x20commands'),jobListAction=async _0x1ea08a=>{const _0x595fd5=a2_0x47b95f,_0x5b9fbf=new JobListCommand(),_0x154315=program[_0x595fd5(0x439)](),_0x49b1a1=await createTDXInstance(_0x154315),_0x5f4e96=await _0x5b9fbf['run']({'options':{..._0x154315,..._0x1ea08a},'args':[],'tdx':_0x49b1a1});gracefulExit(_0x5f4e96);};jobCmd[a2_0x47b95f(0x2c9)]('list')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3e1))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1bd),a2_0x47b95f(0x2ab))[a2_0x47b95f(0x3b6)](jobListAction),program['command'](a2_0x47b95f(0x269),{'hidden':!![]})[a2_0x47b95f(0x3db)](a2_0x47b95f(0x30d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1bd),a2_0x47b95f(0x2ab))[a2_0x47b95f(0x3b6)](jobListAction),jobCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d3))['description'](a2_0x47b95f(0x1d1))[a2_0x47b95f(0x3b6)](async(_0x106b93,_0x3f73f6)=>{const _0x577c29=a2_0x47b95f,_0x207c56=new JobShowCommand(),_0x36b562=program[_0x577c29(0x439)](),_0x1c675d=await createTDXInstance(_0x36b562),_0x336a83=await _0x207c56[_0x577c29(0x41e)]({'options':{..._0x36b562,..._0x3f73f6},'args':[_0x106b93],'tdx':_0x1c675d});gracefulExit(_0x336a83);}),jobCmd['command'](a2_0x47b95f(0x3f0))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1f2))[a2_0x47b95f(0x3b6)](async(_0x566980,_0x23879c)=>{const _0x409c4c=a2_0x47b95f,_0x3bf32d=new JobKillCommand(),_0x51744e=program[_0x409c4c(0x439)](),_0x43a1f7=await createTDXInstance(_0x51744e),_0x3ad2f6=await _0x3bf32d[_0x409c4c(0x41e)]({'options':{..._0x51744e,..._0x23879c},'args':[_0x566980],'tdx':_0x43a1f7});gracefulExit(_0x3ad2f6);}),jobCmd['command'](a2_0x47b95f(0x3ae))['description']('Submit\x20a\x20job')[a2_0x47b95f(0x25c)]('--job-type\x20<type>',a2_0x47b95f(0x1e8),a2_0x47b95f(0x1e9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1af),a2_0x47b95f(0x3fd))['option']('--database\x20<name>',a2_0x47b95f(0x407),a2_0x47b95f(0x225))[a2_0x47b95f(0x3b6)](async(_0x57e74c,_0xe0e84a)=>{const _0x43ee09=a2_0x47b95f,_0x1f4673=new JobSubmitCommand(),_0x10584c=program['opts'](),_0x3b651c=await createTDXInstance(_0x10584c),_0x19fe6d=await _0x1f4673[_0x43ee09(0x41e)]({'options':{..._0x10584c,..._0xe0e84a},'args':_0x57e74c?[_0x57e74c]:[],'tdx':_0x3b651c});gracefulExit(_0x19fe6d);}),jobCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x260))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3f5))[a2_0x47b95f(0x3b6)](async(_0x20c836,_0x477d42)=>{const _0x1fa0d3=a2_0x47b95f,_0xbff727=new JobResultCommand(),_0x328d1d=program[_0x1fa0d3(0x439)](),_0x3c28da=await createTDXInstance(_0x328d1d),_0x4396ef=await _0xbff727[_0x1fa0d3(0x41e)]({'options':{..._0x328d1d,..._0x477d42},'args':[_0x20c836],'tdx':_0x3c28da});gracefulExit(_0x4396ef);});const scheduleCmd=jobCmd['command'](a2_0x47b95f(0x296))[a2_0x47b95f(0x3db)]('Scheduled\x20query\x20management\x20commands');scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)]('List\x20scheduled\x20queries\x20(optional\x20regex\x20pattern\x20filter)')['action'](async(_0x4771a3,_0x1342d1)=>{const _0x3f1ed7=a2_0x47b95f,_0x4f9e50=new ScheduleListCommand(),_0x4b68e2=program[_0x3f1ed7(0x439)](),_0x1b0991=await createTDXInstance(_0x4b68e2),_0x2f5c9c=await _0x4f9e50[_0x3f1ed7(0x41e)]({'options':{..._0x4b68e2,..._0x1342d1},'args':_0x4771a3?[_0x4771a3]:[],'tdx':_0x1b0991});gracefulExit(_0x2f5c9c);}),scheduleCmd[a2_0x47b95f(0x2c9)]('show\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x38f))[a2_0x47b95f(0x3b6)](async(_0x529441,_0x31797c)=>{const _0x326992=a2_0x47b95f,_0x5129e7=new ScheduleShowCommand(),_0x511d43=program[_0x326992(0x439)](),_0x6a8fcd=await createTDXInstance(_0x511d43),_0x4d9859=await _0x5129e7[_0x326992(0x41e)]({'options':{..._0x511d43,..._0x31797c},'args':[_0x529441],'tdx':_0x6a8fcd});gracefulExit(_0x4d9859);}),scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3a0))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2fd))[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x40b),a2_0x47b95f(0x332))['requiredOption'](a2_0x47b95f(0x1af),'Read\x20query\x20from\x20file')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b4),'Query\x20type:\x20trino\x20or\x20hive',a2_0x47b95f(0x1e9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x24e),a2_0x47b95f(0x3ba))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x307),a2_0x47b95f(0x23d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x39b),'Delay\x20in\x20seconds\x20before\x20execution')[a2_0x47b95f(0x25c)]('--priority\x20<-2~2>',a2_0x47b95f(0x2ae))['option']('--retry-limit\x20<0~32>','Retry\x20limit\x20(0\x20to\x2032)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x25a),a2_0x47b95f(0x2f3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x302),'Result\x20output\x20destination\x20URL')[a2_0x47b95f(0x3b6)](async(_0x5a6be8,_0x2095d8)=>{const _0x5e77ac=a2_0x47b95f,_0x47c586=new ScheduleCreateCommand(),_0x1619b5=program[_0x5e77ac(0x439)](),_0x2bdce9=await createTDXInstance(_0x1619b5),_0x3b8aea=await _0x47c586[_0x5e77ac(0x41e)]({'options':{..._0x1619b5,..._0x2095d8},'args':[_0x5a6be8],'tdx':_0x2bdce9});gracefulExit(_0x3b8aea);}),scheduleCmd['command'](a2_0x47b95f(0x30e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x268))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x40b),'Database\x20name')['option']('-f,\x20--file\x20<path>',a2_0x47b95f(0x3fd))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2b4),a2_0x47b95f(0x27d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x24e),a2_0x47b95f(0x3ba))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x307),a2_0x47b95f(0x398))['option'](a2_0x47b95f(0x39b),a2_0x47b95f(0x33a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3b5),'Job\x20priority\x20(-2\x20to\x202)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x317),'Retry\x20limit\x20(0\x20to\x2032)')['option']('--engine-version\x20<version>',a2_0x47b95f(0x2f3))[a2_0x47b95f(0x25c)]('--result\x20<url>',a2_0x47b95f(0x2d7))[a2_0x47b95f(0x3b6)](async(_0x2b3d43,_0x59a925)=>{const _0x1eab21=a2_0x47b95f,_0x39bf65=new ScheduleUpdateCommand(),_0x46957c=program[_0x1eab21(0x439)](),_0x30112c=await createTDXInstance(_0x46957c),_0x133d91=await _0x39bf65[_0x1eab21(0x41e)]({'options':{..._0x46957c,..._0x59a925},'args':[_0x2b3d43],'tdx':_0x30112c});gracefulExit(_0x133d91);}),scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x362))[a2_0x47b95f(0x3db)]('Delete\x20a\x20scheduled\x20query')[a2_0x47b95f(0x3b6)](async(_0x50d9d2,_0x1a4c33)=>{const _0x5cfef4=a2_0x47b95f,_0x3bea47=new ScheduleDeleteCommand(),_0x3818bc=program[_0x5cfef4(0x439)](),_0x562feb=await createTDXInstance(_0x3818bc),_0x13ce57=await _0x3bea47[_0x5cfef4(0x41e)]({'options':{..._0x3818bc,..._0x1a4c33},'args':[_0x50d9d2],'tdx':_0x562feb});gracefulExit(_0x13ce57);}),scheduleCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x263))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x416))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e0),a2_0x47b95f(0x35f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x354),'Number\x20of\x20executions\x20(1-10,\x20default:\x201)')[a2_0x47b95f(0x3b6)](async(_0x19bac9,_0xf23fb8)=>{const _0x411647=a2_0x47b95f,_0x1ae94a=new ScheduleRunCommand(),_0x4fb8e6=program[_0x411647(0x439)](),_0x5adb7b=await createTDXInstance(_0x4fb8e6),_0x13a5a5=await _0x1ae94a['run']({'options':{..._0x4fb8e6,..._0xf23fb8},'args':[_0x19bac9],'tdx':_0x5adb7b});gracefulExit(_0x13a5a5);}),scheduleCmd['command'](a2_0x47b95f(0x412))['description'](a2_0x47b95f(0x314))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x41a),a2_0x47b95f(0x3d8))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x328),'Ending\x20offset\x20(default:\x2020)')[a2_0x47b95f(0x3b6)](async(_0x5c9482,_0x2f8b07)=>{const _0x21e621=a2_0x47b95f,_0x409499=new ScheduleHistoryCommand(),_0x38ae57=program[_0x21e621(0x439)](),_0x47cbf0=await createTDXInstance(_0x38ae57),_0x5076ba=await _0x409499[_0x21e621(0x41e)]({'options':{..._0x38ae57,..._0x2f8b07},'args':[_0x5c9482],'tdx':_0x47cbf0});gracefulExit(_0x5076ba);});const llmCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x399))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x338));llmCmd['command']('use\x20<project-name>')['description'](a2_0x47b95f(0x2af))[a2_0x47b95f(0x3b6)](async(_0x2067bf,_0x3284d7)=>{const _0x21df0b=a2_0x47b95f,_0x4220ca=new LLMUseCommand(),_0xbdf1e=program[_0x21df0b(0x439)](),_0x119634=await createTDXInstance(_0xbdf1e),_0x2b1000=await _0x4220ca[_0x21df0b(0x41e)]({'options':{..._0xbdf1e,..._0x3284d7},'args':[_0x2067bf],'tdx':_0x119634});gracefulExit(_0x2b1000);}),llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x34e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x410))[a2_0x47b95f(0x3b6)](async _0x217ec0=>{const _0x5f535e=new LLMModelsCommand(),_0x47a4b5=program['opts'](),_0x3ebeb5=await createTDXInstance(_0x47a4b5),_0x4e6996=await _0x5f535e['run']({'options':{..._0x47a4b5,..._0x217ec0},'args':[],'tdx':_0x3ebeb5});gracefulExit(_0x4e6996);});const projectCmd=llmCmd[a2_0x47b95f(0x2c9)]('project')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x333)),llmProjectListAction=async(_0x57287c,_0x40f727)=>{const _0x4669da=a2_0x47b95f,_0x46ed56=new LLMProjectsCommand(),_0x21824f=program[_0x4669da(0x439)](),_0x3c422f=await createTDXInstance(_0x21824f),_0x792e95=await _0x46ed56[_0x4669da(0x41e)]({'options':{..._0x21824f,..._0x40f727},'args':_0x57287c?[_0x57287c]:[],'tdx':_0x3c422f});gracefulExit(_0x792e95);};projectCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x207))[a2_0x47b95f(0x3b6)](llmProjectListAction),llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x265))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x30c))[a2_0x47b95f(0x3b6)](llmProjectListAction),projectCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3a0))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x210))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),a2_0x47b95f(0x264))[a2_0x47b95f(0x3b6)](async(_0x177f05,_0x53da29)=>{const _0xb6b221=a2_0x47b95f,_0x31fed6=new LLMProjectCreateCommand(),_0x28b17e=program[_0xb6b221(0x439)](),_0x435c79=await createTDXInstance(_0x28b17e),_0x451763=await _0x31fed6['run']({'options':{..._0x28b17e,..._0x53da29},'args':[_0x177f05],'tdx':_0x435c79});gracefulExit(_0x451763);}),projectCmd['command']('delete\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x229))[a2_0x47b95f(0x3b6)](async(_0x4c4b84,_0x55e4a6)=>{const _0x503c16=a2_0x47b95f,_0x34606c=new LLMProjectDeleteCommand(),_0x12c77f=program[_0x503c16(0x439)](),_0x11f62c=await createTDXInstance(_0x12c77f),_0x451b7b=await _0x34606c['run']({'options':{..._0x12c77f,..._0x55e4a6},'args':[_0x4c4b84],'tdx':_0x11f62c});gracefulExit(_0x451b7b);}),projectCmd[a2_0x47b95f(0x2c9)]('backup\x20<name>')['description']('[DEPRECATED]\x20Backup\x20project\x20(use\x20`tdx\x20agent\x20pull`\x20instead)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x298),a2_0x47b95f(0x1c6))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),'Show\x20what\x20would\x20be\x20backed\x20up\x20without\x20creating\x20files')[a2_0x47b95f(0x3b6)](async(_0x4feb87,_0x2ca9cc)=>{const _0x580358=new LLMProjectBackupCommand(),_0x5cbdfb=program['opts'](),_0x280385=await createTDXInstance(_0x5cbdfb),_0x28f192=await _0x580358['run']({'options':{..._0x5cbdfb,..._0x2ca9cc},'args':[_0x4feb87],'tdx':_0x280385});gracefulExit(_0x28f192);}),projectCmd[a2_0x47b95f(0x2c9)]('restore\x20<folder>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1b7))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1cd),a2_0x47b95f(0x242))[a2_0x47b95f(0x25c)]('--dry-run',a2_0x47b95f(0x1fa))['action'](async(_0x16089d,_0x51f414)=>{const _0x3aa3cf=a2_0x47b95f,_0x41e64e=new LLMProjectRestoreCommand(),_0x19e7c7=program['opts'](),_0x16cca2=await createTDXInstance(_0x19e7c7),_0x16e6a8=await _0x41e64e[_0x3aa3cf(0x41e)]({'options':{..._0x19e7c7,..._0x51f414},'args':[_0x16089d],'tdx':_0x16cca2});gracefulExit(_0x16e6a8);});const llmAgentListAction=async(_0xfca9a3,_0x3931b5)=>{const _0x5a9375=a2_0x47b95f,_0x294608=new LLMAgentsCommand(),_0x5dbe00=program[_0x5a9375(0x439)](),_0x4a2d3b=await createTDXInstance(_0x5dbe00),_0x4dfe5f=await _0x294608[_0x5a9375(0x41e)]({'options':{..._0x5dbe00,..._0x3931b5},'args':_0xfca9a3?[_0xfca9a3]:[],'tdx':_0x4a2d3b});gracefulExit(_0x4dfe5f);};llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3c7))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x31f))[a2_0x47b95f(0x3b6)](llmAgentListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3c7))['description'](a2_0x47b95f(0x31f))[a2_0x47b95f(0x3b6)](llmAgentListAction),llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1ff))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x243))[a2_0x47b95f(0x25c)]('--last',a2_0x47b95f(0x1b0))['action'](async(_0x239354,_0x3ccd75)=>{const _0x72058f=a2_0x47b95f,_0x13e2c8=new LLMHistoryCommand(),_0x3a4e26=program[_0x72058f(0x439)](),_0x1dab35=await createTDXInstance(_0x3a4e26),_0x16ba1e=await _0x13e2c8[_0x72058f(0x41e)]({'options':{..._0x3a4e26,..._0x3ccd75},'args':_0x239354?[_0x239354]:[],'tdx':_0x1dab35});gracefulExit(_0x16ba1e);});isExperimentalAvailable()&&llmCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3e5))[a2_0x47b95f(0x3db)]('[EXPERIMENTAL]\x20Show\x20chat\x20log')[a2_0x47b95f(0x3b6)](async(_0x5bfa38,_0x4deba8)=>{const _0x1d0233=a2_0x47b95f,_0x43dd7=new LLMLogCommand(),_0x37073d=program[_0x1d0233(0x439)](),_0x134507=await createTDXInstance(_0x37073d),_0x5bd939=await _0x43dd7[_0x1d0233(0x41e)]({'options':{..._0x37073d,..._0x4deba8},'args':[_0x5bfa38],'tdx':_0x134507});gracefulExit(_0x5bd939);});program['command'](a2_0x47b95f(0x377))[a2_0x47b95f(0x1cf)](a2_0x47b95f(0x251))['description'](a2_0x47b95f(0x1b3))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3ed),'Continue\x20most\x20recent\x20conversation')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43a),a2_0x47b95f(0x430))[a2_0x47b95f(0x25c)]('--no-proxy',a2_0x47b95f(0x1d3))[a2_0x47b95f(0x2f9)]()[a2_0x47b95f(0x3e4)](!![])[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),'\x0aSubcommands:\x0a\x20\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20AI\x20Suite\x20credit\x20usage\x20by\x20profile\x0a\x20\x20statusline\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20statusline\x20for\x20Claude\x20Code\x20(reads\x20JSON\x20from\x20stdin)\x0a\x0aExamples:\x0a\x20\x20tdx\x20claude\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Launch\x20Claude\x20Code\x20with\x20TD\x20LLM\x20proxy\x0a\x20\x20tdx\x20claude\x20-c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Continue\x20most\x20recent\x20conversation\x0a\x20\x20tdx\x20claude\x20-r\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Resume\x20a\x20conversation\x20(shows\x20selector)\x0a\x20\x20tdx\x20claude\x20--\x20\x22your\x20prompt\x20here\x22\x20\x20\x20\x20Start\x20with\x20an\x20initial\x20prompt\x0a\x20\x20tdx\x20claude\x20usage\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Show\x20credit\x20usage\x20statistics\x0a\x20\x20tdx\x20claude\x20usage\x20--json\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Output\x20usage\x20as\x20JSON')[a2_0x47b95f(0x3b6)](async(_0xba5dee,_0x37e6ef)=>{const _0x3b1b27=a2_0x47b95f,_0x52575e=program[_0x3b1b27(0x439)](),_0x20daa8=Array[_0x3b1b27(0x24b)](_0xba5dee)?_0xba5dee:[];if(_0x20daa8[0x0]===_0x3b1b27(0x31d)){const _0x2294ca=new ClaudeStatuslineCommand(),_0xc42fe2=await _0x2294ca[_0x3b1b27(0x41e)]({'options':{..._0x52575e,..._0x37e6ef},'args':_0x20daa8[_0x3b1b27(0x35a)](0x1),'tdx':null});gracefulExit(_0xc42fe2);}if(_0x20daa8[0x0]===_0x3b1b27(0x1cf)){const _0x40b862=new ClaudeUsageCommand(),_0x9ae7c7=await _0x40b862[_0x3b1b27(0x41e)]({'options':{..._0x52575e,..._0x37e6ef},'args':_0x20daa8[_0x3b1b27(0x35a)](0x1),'tdx':null});gracefulExit(_0x9ae7c7);}const _0x6ab805=new ClaudeCommand(),_0x1283c0=await createTDXInstance(_0x52575e),_0x46c10e=await _0x6ab805[_0x3b1b27(0x41e)]({'options':{..._0x52575e,..._0x37e6ef},'args':_0x20daa8,'tdx':_0x1283c0});gracefulExit(_0x46c10e);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x32f))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2b9))[a2_0x47b95f(0x25c)]('--clear',a2_0x47b95f(0x368))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2bb),'Save\x20as\x20default\x20in\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x47b95f(0x3b6)](async(_0x46df05,_0x16c1df,_0x40dec7)=>{const _0x32bf75=a2_0x47b95f,_0x42edb7=new UseCommand(),_0x3e27e2=program[_0x32bf75(0x439)](),_0x6d90f8=[];if(_0x46df05)_0x6d90f8['push'](_0x46df05);if(_0x16c1df)_0x6d90f8[_0x32bf75(0x28e)](_0x16c1df);const _0x4f89cf=await _0x42edb7[_0x32bf75(0x41e)]({'options':{..._0x3e27e2,..._0x40dec7},'args':_0x6d90f8,'tdx':null});gracefulExit(_0x4f89cf);}),program['command']('status')['description'](a2_0x47b95f(0x2a3))[a2_0x47b95f(0x3b6)](async _0x57fe40=>{const _0x14b795=a2_0x47b95f,_0x508579=new StatusCommand(),_0x460fc1=program[_0x14b795(0x439)](),_0x274fac=await createTDXInstance(_0x460fc1),_0x168e54=await _0x508579[_0x14b795(0x41e)]({'options':{..._0x460fc1,..._0x57fe40},'args':[],'tdx':_0x274fac});gracefulExit(_0x168e54);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3ab))['description'](a2_0x47b95f(0x211))['option'](a2_0x47b95f(0x2bb),'Clear\x20default\x20from\x20config\x20(~/.config/tdx/tdx.json)')[a2_0x47b95f(0x3b6)](async(_0x37d575,_0x1bb90a)=>{const _0x37d79b=new UnsetCommand(),_0x5d06ca=program['opts'](),_0x1bc1ea=await _0x37d79b['run']({'options':{..._0x5d06ca,..._0x1bb90a},'args':[_0x37d575],'tdx':null});gracefulExit(_0x1bc1ea);}),program['command']('chats')['description'](a2_0x47b95f(0x308))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2f6),a2_0x47b95f(0x2bf))[a2_0x47b95f(0x3b6)](async _0x1d0772=>{const _0x1004fe=a2_0x47b95f,_0x46a9ab=new ChatsCommand(),_0xa92a2e=program[_0x1004fe(0x439)](),_0x2308bf=await createTDXInstance(_0xa92a2e),_0xdde2e1=await _0x46a9ab[_0x1004fe(0x41e)]({'options':{..._0xa92a2e,..._0x1d0772},'args':[],'tdx':_0x2308bf});gracefulExit(_0xdde2e1);});const authCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x21c))[a2_0x47b95f(0x3db)]('Authentication\x20management');async function runAuthStatusCommand(_0x11ec48){const _0x38723e=a2_0x47b95f,_0x4d4b27=new AuthStatusCommand(),_0x173470=program[_0x38723e(0x439)](),_0xc3b34d=await createTDXInstance(_0x173470),_0xc51c54=await _0x4d4b27['run']({'options':{..._0x173470,..._0x11ec48},'args':[],'tdx':_0xc3b34d});gracefulExit(_0xc51c54);}authCmd[a2_0x47b95f(0x3b6)](runAuthStatusCommand),authCmd['command']('status')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x213))['action'](runAuthStatusCommand),authCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x386))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1bf))['addHelpText'](a2_0x47b95f(0x438),a2_0x47b95f(0x1e2))[a2_0x47b95f(0x3b6)](async _0x7635ce=>{const _0x3f5c98=a2_0x47b95f,_0x4b96d5=new AuthSetupCommand(),_0x20a7b6=program[_0x3f5c98(0x439)](),_0x3d1c2e=await createTDXInstance(_0x20a7b6),_0x78589b=await _0x4b96d5[_0x3f5c98(0x41e)]({'options':{..._0x20a7b6,..._0x7635ce},'args':[],'tdx':_0x3d1c2e});gracefulExit(_0x78589b);}),authCmd[a2_0x47b95f(0x2c9)]('clear')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x274))['addHelpText'](a2_0x47b95f(0x438),a2_0x47b95f(0x363))[a2_0x47b95f(0x3b6)](async _0x1e5d6f=>{const _0x2b5a4b=a2_0x47b95f,_0x2e3e9e=new AuthClearCommand(),_0x522e2=program[_0x2b5a4b(0x439)](),_0x4cb767=await _0x2e3e9e['run']({'options':{..._0x522e2,..._0x1e5d6f},'args':[],'tdx':null});gracefulExit(_0x4cb767);});const userCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x231))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x21e)),userListAction=async _0x406b1f=>{const _0x36d829=a2_0x47b95f,_0x519a01=new UserListCommand(),_0x416c3a=program[_0x36d829(0x439)](),_0x3bb056=await createTDXInstance(_0x416c3a),_0x334c5d=await _0x519a01['run']({'options':{..._0x416c3a,..._0x406b1f},'args':[],'tdx':_0x3bb056});gracefulExit(_0x334c5d);};userCmd['action'](async _0x252420=>{const _0x2c9582=a2_0x47b95f,_0x52880f=new UserCommand(),_0x311655=program[_0x2c9582(0x439)](),_0x37568b=await createTDXInstance(_0x311655),_0x115e6e=await _0x52880f[_0x2c9582(0x41e)]({'options':{..._0x311655,..._0x252420},'args':[],'tdx':_0x37568b});gracefulExit(_0x115e6e);}),userCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x310))[a2_0x47b95f(0x3db)]('List\x20all\x20users\x20in\x20the\x20account')[a2_0x47b95f(0x3b6)](userListAction),program['command']('users')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x428))[a2_0x47b95f(0x3b6)](userListAction),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x353))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3eb))[a2_0x47b95f(0x3b6)](async _0x2ce42c=>{const _0x3f23be=a2_0x47b95f,_0x443680=new ProfilesCommand(),_0x1aba16=program[_0x3f23be(0x439)](),_0x3244f2=await _0x443680['run']({'options':{..._0x1aba16,..._0x2ce42c},'args':[],'tdx':null});gracefulExit(_0x3244f2);});const profileCmd=program['command'](a2_0x47b95f(0x330))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x26a));profileCmd[a2_0x47b95f(0x3b6)](()=>{const _0x5b7a03=a2_0x47b95f;profileCmd[_0x5b7a03(0x349)]();});const profileListAction=async _0x10ec0a=>{const _0x4ca8ba=a2_0x47b95f,_0x345e31=new ProfilesCommand(),_0x30c448=program[_0x4ca8ba(0x439)](),_0x3ac3e6=await _0x345e31[_0x4ca8ba(0x41e)]({'options':{..._0x30c448,..._0x10ec0a},'args':[],'tdx':null});gracefulExit(_0x3ac3e6);};profileCmd[a2_0x47b95f(0x2c9)]('list')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3eb))[a2_0x47b95f(0x3b6)](profileListAction),profileCmd[a2_0x47b95f(0x2c9)]('create\x20[name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2ba))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),a2_0x47b95f(0x3ad))[a2_0x47b95f(0x3b6)](async(_0xa2ff87,_0x27103a)=>{const _0x18a135=a2_0x47b95f,_0x4d1405=new ProfileCreateCommand(),_0x4d2707=program[_0x18a135(0x439)](),_0x19eec8=await _0x4d1405['run']({'options':{..._0x4d2707,..._0x27103a},'args':_0xa2ff87?[_0xa2ff87]:[],'tdx':null});gracefulExit(_0x19eec8);}),profileCmd['command'](a2_0x47b95f(0x262))['description'](a2_0x47b95f(0x442))['addHelpText'](a2_0x47b95f(0x438),a2_0x47b95f(0x391))[a2_0x47b95f(0x3b6)](async(_0xde76cc,_0x575aa3)=>{const _0x372193=a2_0x47b95f,_0x31a8a1=new ProfileRemoveCommand(),_0x17fe92=program[_0x372193(0x439)](),_0x2370d5=await _0x31a8a1[_0x372193(0x41e)]({'options':{..._0x17fe92,..._0x575aa3},'args':[_0xde76cc],'tdx':null});gracefulExit(_0x2370d5);}),profileCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x21b))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x41d))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),'\x0aValid\x20keys:\x20site,\x20database,\x20parent_segment,\x20llm_project,\x20llm_agent,\x20description\x0a\x0aUses\x20session\x20profile\x20if\x20set\x20(via\x20\x27tdx\x20profile\x20use\x27),\x20or\x20specify\x20with\x20--profile.\x0aNote:\x20Setting\x20\x27site\x27\x20requires\x20API\x20key\x20validation.\x0a\x0aExamples:\x0a\x20\x20$\x20tdx\x20profile\x20use\x20prod\x20&&\x20tdx\x20profile\x20set\x20database=my_db\x0a\x20\x20$\x20tdx\x20profile\x20set\x20--profile\x20staging\x20site=jp01\x20\x20\x20#\x20Will\x20prompt\x20for\x20API\x20key\x0a\x20\x20$\x20tdx\x20profile\x20set\x20description=\x22Development\x20environment\x22\x0a')['action'](async(_0x45c2f1,_0x5e5171)=>{const _0x317d30=a2_0x47b95f,_0x1d51dd=new ProfileSetCommand(),_0x2557e3=program[_0x317d30(0x439)](),_0x250348=await _0x1d51dd[_0x317d30(0x41e)]({'options':{..._0x2557e3,..._0x5e5171},'args':[_0x45c2f1],'tdx':null});gracefulExit(_0x250348);}),profileCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2a5))[a2_0x47b95f(0x3db)]('Set\x20session\x20profile\x20(use\x20--default\x20to\x20save\x20permanently)')['option'](a2_0x47b95f(0x2bb),a2_0x47b95f(0x2a1))[a2_0x47b95f(0x358)](a2_0x47b95f(0x438),a2_0x47b95f(0x1bb))[a2_0x47b95f(0x3b6)](async(_0x3f010a,_0x356a39)=>{const _0x3400ff=a2_0x47b95f,_0x37a032=new ProfileUseCommand(),_0x33e118=program['opts'](),_0x28c04d=await _0x37a032[_0x3400ff(0x41e)]({'options':{..._0x33e118,..._0x356a39},'args':[_0x3f010a],'tdx':null});gracefulExit(_0x28c04d);});const engageCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x396))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x33b)),createEngageAction=_0x28585d=>{return async(_0x4a55af,_0x56a80c)=>{const _0x5d362b=a2_0x26e5,_0x40076d=new _0x28585d(),_0x4d42e8=program['opts'](),_0x1fb421=await createTDXInstance(_0x4d42e8),_0x16904c=await _0x40076d[_0x5d362b(0x41e)]({'options':{..._0x4d42e8,..._0x56a80c},'args':[_0x4a55af],'tdx':_0x1fb421});gracefulExit(_0x16904c);};},createEngageNoArgAction=_0x4fd753=>{return async _0x1925de=>{const _0x43e553=a2_0x26e5,_0x269c79=new _0x4fd753(),_0x233e8a=program[_0x43e553(0x439)](),_0x3226a7=await createTDXInstance(_0x233e8a),_0x530b92=await _0x269c79[_0x43e553(0x41e)]({'options':{..._0x233e8a,..._0x1925de},'args':[],'tdx':_0x3226a7});gracefulExit(_0x530b92);};},campaignCmd=engageCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x32e))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1ae)),campaignListAction=async(_0x59f46a,_0x285748)=>{const _0x41acb2=a2_0x47b95f,_0xb03d44=new EngageCampaignsCommand(),_0x235bbe=program[_0x41acb2(0x439)](),_0x1fdb9b=await createTDXInstance(_0x235bbe),_0x2f75b5=await _0xb03d44[_0x41acb2(0x41e)]({'options':{..._0x235bbe,..._0x285748},'args':_0x59f46a?[_0x59f46a]:[],'tdx':_0x1fdb9b});gracefulExit(_0x2f75b5);};campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)]('List\x20campaigns\x20(optionally\x20filtered\x20by\x20pattern)')[a2_0x47b95f(0x25c)]('--type\x20<type>','Filter\x20by\x20campaign\x20type\x20(email,\x20push)')[a2_0x47b95f(0x25c)]('--status\x20<status>',a2_0x47b95f(0x418))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x3b6)](campaignListAction),engageCmd['command']('campaigns\x20[pattern]')['description'](a2_0x47b95f(0x1ee))['option'](a2_0x47b95f(0x2b4),a2_0x47b95f(0x434))['option']('--status\x20<status>',a2_0x47b95f(0x418))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')['action'](campaignListAction),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x29c))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x312))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2dc),'Show\x20full\x20JSON:API\x20response\x20with\x20all\x20fields')[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignShowCommand)),campaignCmd['command'](a2_0x47b95f(0x315))['description'](a2_0x47b95f(0x2b6))[a2_0x47b95f(0x3e6)]('--name\x20<name>',a2_0x47b95f(0x378))[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x2b4),'Campaign\x20type\x20(email\x20or\x20push)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x301))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x20a),a2_0x47b95f(0x292))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x281),'Segment\x20path\x20(e.g.,\x20\x22Audience/Segment\x22\x20or\x20just\x20\x22Segment\x22)')[a2_0x47b95f(0x25c)]('--email-sender-id\x20<id>',a2_0x47b95f(0x1d6))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a8),a2_0x47b95f(0x1de))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x41c),a2_0x47b95f(0x323))[a2_0x47b95f(0x25c)]('--timezone\x20<tz>','Timezone\x20for\x20delivery\x20(e.g.,\x20\x22UTC\x22,\x20\x22Asia/Tokyo\x22)')[a2_0x47b95f(0x3b6)](createEngageNoArgAction(EngageCampaignCreateCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x42f))[a2_0x47b95f(0x3db)]('Update\x20a\x20campaign')[a2_0x47b95f(0x25c)]('--workspace\x20<name>',a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)]('--name\x20<name>',a2_0x47b95f(0x2c4))['option'](a2_0x47b95f(0x20a),a2_0x47b95f(0x292))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x281),a2_0x47b95f(0x245))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1d8),'Email\x20sender\x20ID\x20for\x20delivery')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a8),'JSON\x20columns\x20for\x20connector\x20(comma-separated)')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x41c),a2_0x47b95f(0x323))['option'](a2_0x47b95f(0x307),a2_0x47b95f(0x41b))['action'](createEngageAction(EngageCampaignUpdateCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d1))['description'](a2_0x47b95f(0x1f0))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e1),a2_0x47b95f(0x2d5))['action'](createEngageAction(EngageCampaignDeleteCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x271))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x41f))[a2_0x47b95f(0x25c)]('--workspace\x20<name>',a2_0x47b95f(0x426))[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignLaunchCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x421))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3c9))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignPauseCommand)),campaignCmd[a2_0x47b95f(0x2c9)]('resume\x20<name-or-id>')['description'](a2_0x47b95f(0x40d))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignResumeCommand)),campaignCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2c3))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3f8))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')[a2_0x47b95f(0x3b6)](createEngageAction(EngageCampaignDuplicateCommand));const templateCmd=engageCmd['command'](a2_0x47b95f(0x1e0))[a2_0x47b95f(0x3db)]('Email\x20template\x20management'),templateListAction=async(_0x35ab8f,_0x3fce6a)=>{const _0x5b14f5=a2_0x47b95f,_0x4d1440=new EngageTemplatesCommand(),_0x3b2cd4=program[_0x5b14f5(0x439)](),_0x1fe125=await createTDXInstance(_0x3b2cd4),_0x4907df=await _0x4d1440[_0x5b14f5(0x41e)]({'options':{..._0x3b2cd4,..._0x3fce6a},'args':_0x35ab8f?[_0x35ab8f]:[],'tdx':_0x1fe125});gracefulExit(_0x4907df);};templateCmd['command']('list\x20[pattern]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2ff))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')['action'](templateListAction),engageCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x43d))['description'](a2_0x47b95f(0x28d))['option'](a2_0x47b95f(0x423),'Workspace\x20name')['action'](templateListAction),templateCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x29c))['description'](a2_0x47b95f(0x341))['option'](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2dc),a2_0x47b95f(0x3bf))[a2_0x47b95f(0x3b6)](createEngageAction(EngageTemplateShowCommand)),templateCmd[a2_0x47b95f(0x2c9)]('create')['description']('Create\x20an\x20email\x20template')['requiredOption'](a2_0x47b95f(0x23b),'Template\x20name')[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x23c),a2_0x47b95f(0x2de))[a2_0x47b95f(0x3e6)]('--html\x20<html>',a2_0x47b95f(0x2ca))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x301))['option']('--plaintext\x20<text>',a2_0x47b95f(0x3c4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1dd),a2_0x47b95f(0x1df),_0x6a0e9a=>{const _0x392c8d=a2_0x47b95f;if(!['beefree',_0x392c8d(0x400)][_0x392c8d(0x236)](_0x6a0e9a))throw new SDKError(ErrorCode['INVALID_ARGUMENT'],_0x392c8d(0x1ab)+_0x6a0e9a+_0x392c8d(0x2bd));return _0x6a0e9a;})[a2_0x47b95f(0x3b6)](createEngageNoArgAction(EngageTemplateCreateCommand)),templateCmd[a2_0x47b95f(0x2c9)]('update\x20<name-or-id>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x28a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),'Workspace\x20name')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23b),a2_0x47b95f(0x297))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23c),a2_0x47b95f(0x2de))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x35e),a2_0x47b95f(0x2ca))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1ed),a2_0x47b95f(0x3c4))[a2_0x47b95f(0x3b6)](createEngageAction(EngageTemplateUpdateCommand)),templateCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2d1))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x40f))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x423),a2_0x47b95f(0x426))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2e1),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x3b6)](createEngageAction(EngageTemplateDeleteCommand));const workspaceCmd=engageCmd['command']('workspace')[a2_0x47b95f(0x3db)]('Workspace\x20management'),workspaceListAction=async(_0x327eaa,_0xd6bec6)=>{const _0x3af0c2=a2_0x47b95f,_0x15ff0b=new EngageWorkspacesCommand(),_0x542190=program['opts'](),_0x45cb9b=await createTDXInstance(_0x542190),_0x5d0f22=await _0x15ff0b[_0x3af0c2(0x41e)]({'options':{..._0x542190,..._0xd6bec6},'args':_0x327eaa?[_0x327eaa]:[],'tdx':_0x45cb9b});gracefulExit(_0x5d0f22);};workspaceCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1bc))[a2_0x47b95f(0x3b6)](workspaceListAction),engageCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x24a))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1fd))['action'](workspaceListAction),workspaceCmd['command']('show\x20<name-or-id>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3fe))[a2_0x47b95f(0x25c)]('--full',a2_0x47b95f(0x3bf))[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceShowCommand)),workspaceCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x315))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x322))[a2_0x47b95f(0x3e6)](a2_0x47b95f(0x23b),a2_0x47b95f(0x426))['option'](a2_0x47b95f(0x20a),a2_0x47b95f(0x2ec))['action'](createEngageNoArgAction(EngageWorkspaceCreateCommand)),workspaceCmd['command'](a2_0x47b95f(0x42f))['description'](a2_0x47b95f(0x1e4))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x23b),a2_0x47b95f(0x3ff))[a2_0x47b95f(0x25c)]('--description\x20<desc>',a2_0x47b95f(0x2ec))[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceUpdateCommand)),workspaceCmd[a2_0x47b95f(0x2c9)]('delete\x20<name-or-id>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3da))['option'](a2_0x47b95f(0x2e1),'Skip\x20confirmation\x20prompt')[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceDeleteCommand)),workspaceCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2a5))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x36a))[a2_0x47b95f(0x3b6)](createEngageAction(EngageWorkspaceUseCommand));const connectionCmd=program[a2_0x47b95f(0x2c9)]('connection')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x304)),connectionListAction=async _0x123852=>{const _0x1e7839=a2_0x47b95f,_0x4d6088=new ConnectionListCommand(),_0x17917b=program[_0x1e7839(0x439)](),_0x469860=await createTDXInstance(_0x17917b),_0x12f03d=await _0x4d6088[_0x1e7839(0x41e)]({'options':{..._0x17917b,..._0x123852},'args':[],'tdx':_0x469860});gracefulExit(_0x12f03d);};connectionCmd['command']('list')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x27f))[a2_0x47b95f(0x3b6)](connectionListAction),program[a2_0x47b95f(0x2c9)]('connections',{'hidden':!![]})[a2_0x47b95f(0x3db)]('List\x20all\x20data\x20connections\x20(alias\x20for\x20\x22connection\x20list\x22)')[a2_0x47b95f(0x3b6)](connectionListAction),connectionCmd['command']('show\x20<name>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x204))[a2_0x47b95f(0x3b6)](async(_0x2677a5,_0x464ba5)=>{const _0x211a07=a2_0x47b95f,_0x250dec=new ConnectionShowCommand(),_0x2cb5b6=program[_0x211a07(0x439)](),_0x5b8dd1=await createTDXInstance(_0x2cb5b6),_0x45e18b=await _0x250dec[_0x211a07(0x41e)]({'options':{..._0x2cb5b6,..._0x464ba5},'args':[_0x2677a5],'tdx':_0x5b8dd1});gracefulExit(_0x45e18b);}),connectionCmd['command'](a2_0x47b95f(0x221))[a2_0x47b95f(0x3db)]('Show\x20connector\x20output\x20schema\x20for\x20connector_config\x20validation')[a2_0x47b95f(0x3b6)](async(_0x23ba5e,_0x1f1b7f)=>{const _0x21d03d=a2_0x47b95f,_0x1c01cf=new ConnectionSchemaCommand(),_0x563ba8=program['opts'](),_0x18345a=await createTDXInstance(_0x563ba8),_0x1b6673=await _0x1c01cf[_0x21d03d(0x41e)]({'options':{..._0x563ba8,..._0x1f1b7f},'args':[_0x23ba5e],'tdx':_0x18345a});gracefulExit(_0x1b6673);}),connectionCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x35d))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3fb))[a2_0x47b95f(0x3b6)](async _0x1f50ef=>{const _0x58518f=new ConnectionTypesCommand(),_0x46ca90=program['opts'](),_0x52ec32=await createTDXInstance(_0x46ca90),_0x283e97=await _0x58518f['run']({'options':{..._0x46ca90,..._0x1f50ef},'args':[],'tdx':_0x52ec32});gracefulExit(_0x283e97);}),connectionCmd[a2_0x47b95f(0x2c9)]('settings\x20<type>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x33c))['action'](async(_0x34cae2,_0x1e64cb)=>{const _0x4bafcc=a2_0x47b95f,_0x3b7a12=new ConnectionSettingsCommand(),_0x251f31=program[_0x4bafcc(0x439)](),_0x3e9663=await createTDXInstance(_0x251f31),_0x19549c=await _0x3b7a12['run']({'options':{..._0x251f31,..._0x1e64cb},'args':[_0x34cae2],'tdx':_0x3e9663});gracefulExit(_0x19549c);});const journeyCmd=program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3d2))[a2_0x47b95f(0x3db)]('CDP\x20Journey\x20Orchestration\x20commands'),journeyListAction=async(_0x412b9c,_0x1160fe)=>{const _0x3bc2e6=a2_0x47b95f,_0x197ea6=new JourneyListCommand(),_0x42f719=program[_0x3bc2e6(0x439)](),_0x5b2ef6=await createTDXInstance(_0x42f719),_0x160d94=await _0x197ea6['run']({'options':{..._0x42f719,..._0x1160fe},'args':_0x412b9c?[_0x412b9c]:[],'tdx':_0x5b2ef6});gracefulExit(_0x160d94);};journeyCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2f2))[a2_0x47b95f(0x3b6)](journeyListAction),journeyCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3e0))[a2_0x47b95f(0x3db)]('Show\x20journey\x20details')['option'](a2_0x47b95f(0x321),'Open\x20journey\x20in\x20web\x20browser')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2db),'Include\x20execution\x20statistics')[a2_0x47b95f(0x3b6)](async(_0x1295cb,_0x26e38b)=>{const _0x2a1610=a2_0x47b95f,_0x3e91d1=new JourneyViewCommand(),_0x41b505=program[_0x2a1610(0x439)](),_0x592bad=await createTDXInstance(_0x41b505),_0xe0cec8=await _0x3e91d1[_0x2a1610(0x41e)]({'options':{..._0x41b505,..._0x26e38b},'args':[_0x1295cb],'tdx':_0x592bad});gracefulExit(_0xe0cec8);}),journeyCmd['command']('stats\x20<name-or-path>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x1ad))['option'](a2_0x47b95f(0x42b),'Show\x20stats\x20for\x20specific\x20stage')[a2_0x47b95f(0x3b6)](async(_0x1e319f,_0x1e7388)=>{const _0x33a0fc=a2_0x47b95f,_0x441062=new JourneyStatsCommand(),_0x49aab5=program[_0x33a0fc(0x439)](),_0x51c3a5=await createTDXInstance(_0x49aab5),_0x20de3d=await _0x441062[_0x33a0fc(0x41e)]({'options':{..._0x49aab5,..._0x1e7388},'args':[_0x1e319f],'tdx':_0x51c3a5});gracefulExit(_0x20de3d);}),journeyCmd['command']('pause\x20<name-or-path>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x21d))[a2_0x47b95f(0x3b6)](async(_0x39fceb,_0x415c7d)=>{const _0x5c0a29=a2_0x47b95f,_0x151209=new JourneyPauseCommand(),_0x4f78ef=program[_0x5c0a29(0x439)](),_0x3c36eb=await createTDXInstance(_0x4f78ef),_0x2989b9=await _0x151209['run']({'options':{..._0x4f78ef,..._0x415c7d},'args':[_0x39fceb],'tdx':_0x3c36eb});gracefulExit(_0x2989b9);}),journeyCmd['command']('resume\x20<name-or-path>')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x346))[a2_0x47b95f(0x3b6)](async(_0x1cff8a,_0x4d3d02)=>{const _0x2599cc=new JourneyResumeCommand(),_0x423e0f=program['opts'](),_0x142081=await createTDXInstance(_0x423e0f),_0x3f1e38=await _0x2599cc['run']({'options':{..._0x423e0f,..._0x4d3d02},'args':[_0x1cff8a],'tdx':_0x142081});gracefulExit(_0x3f1e38);}),journeyCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x2f5))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3ce))['option'](a2_0x47b95f(0x414),a2_0x47b95f(0x2d5))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x1c0))[a2_0x47b95f(0x3b6)](async(_0x2e7365,_0x2e8737)=>{const _0x24e516=a2_0x47b95f,_0x1462ca=new JourneyPullCommand(),_0x63b15=program['opts'](),_0x10b088=await createTDXInstance(_0x63b15),_0x410363=await _0x1462ca[_0x24e516(0x41e)]({'options':{..._0x63b15,..._0x2e8737},'args':_0x2e7365?[_0x2e7365]:[],'tdx':_0x10b088});gracefulExit(_0x410363);}),journeyCmd['command'](a2_0x47b95f(0x3c6))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3d9))[a2_0x47b95f(0x3b6)](async(_0x452a3d,_0x23b6df)=>{const _0x84e890=a2_0x47b95f,_0x26b1dd=new JourneyPushCommand(),_0x45f198=program[_0x84e890(0x439)](),_0xa8503a=await createTDXInstance(_0x45f198),_0x53b82a=await _0x26b1dd[_0x84e890(0x41e)]({'options':{..._0x45f198,..._0x23b6df},'args':_0x452a3d?[_0x452a3d]:[],'tdx':_0xa8503a});gracefulExit(_0x53b82a);}),journeyCmd[a2_0x47b95f(0x2c9)]('validate\x20[target]')['description'](a2_0x47b95f(0x1d0))[a2_0x47b95f(0x3b6)](async(_0x877713,_0x2f1e2b)=>{const _0x3c6e84=a2_0x47b95f,_0x166033=new JourneyValidateCommand(),_0x1c858f=program['opts'](),_0x4b2967=await createTDXInstance(_0x1c858f),_0x387d53=await _0x166033[_0x3c6e84(0x41e)]({'options':{..._0x1c858f,..._0x2f1e2b},'args':_0x877713?[_0x877713]:[],'tdx':_0x4b2967});gracefulExit(_0x387d53);}),program[a2_0x47b95f(0x2c9)]('journeys\x20[pattern]')['description'](a2_0x47b95f(0x352))[a2_0x47b95f(0x3b6)](journeyListAction);const agentSyncCmd=program['command'](a2_0x47b95f(0x316))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x2cf));agentSyncCmd[a2_0x47b95f(0x2c9)]('pull\x20[project]\x20[agent-name]')[a2_0x47b95f(0x3db)](a2_0x47b95f(0x383))[a2_0x47b95f(0x25c)]('-o,\x20--output\x20<dir>',a2_0x47b95f(0x200))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x22f),a2_0x47b95f(0x299))[a2_0x47b95f(0x3b6)](async(_0x5df2eb,_0x4f9d01,_0x52aa2b)=>{const _0x55ae1f=a2_0x47b95f,_0x11498b=new AgentPullCommand(),_0x4d1b9a=program[_0x55ae1f(0x439)](),_0x428aec=await createTDXInstance(_0x4d1b9a),_0x37c802=[];if(_0x5df2eb)_0x37c802[_0x55ae1f(0x28e)](_0x5df2eb);if(_0x4f9d01)_0x37c802[_0x55ae1f(0x28e)](_0x4f9d01);const _0x320185=await _0x11498b[_0x55ae1f(0x41e)]({'options':{..._0x4d1b9a,..._0x52aa2b},'args':_0x37c802,'tdx':_0x428aec});gracefulExit(_0x320185);}),agentSyncCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x20f))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3f2))[a2_0x47b95f(0x25c)]('-f,\x20--force',a2_0x47b95f(0x361))[a2_0x47b95f(0x3b6)](async(_0x3f85b6,_0x11bc3e)=>{const _0x3b62d9=a2_0x47b95f,_0x3962ae=new AgentPushCommand(),_0x31fea1=program[_0x3b62d9(0x439)](),_0x180e06=await createTDXInstance(_0x31fea1),_0x46a1ca=await _0x3962ae[_0x3b62d9(0x41e)]({'options':{..._0x31fea1,..._0x11bc3e},'args':_0x3f85b6?[_0x3f85b6]:[],'tdx':_0x180e06});gracefulExit(_0x46a1ca);}),agentSyncCmd['command'](a2_0x47b95f(0x2d8))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x39a))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x347),a2_0x47b95f(0x31e))[a2_0x47b95f(0x3b6)](async(_0x48e356,_0x3fe2ce)=>{const _0x52fd64=a2_0x47b95f,_0xb1d1e2=new AgentCloneCommand(),_0x199f89=program[_0x52fd64(0x439)](),_0x3ceca7=await createTDXInstance(_0x199f89),_0x550f87=await _0xb1d1e2['run']({'options':{..._0x199f89,..._0x3fe2ce},'args':_0x48e356?[_0x48e356]:[],'tdx':_0x3ceca7});gracefulExit(_0x550f87);}),agentSyncCmd['command'](a2_0x47b95f(0x3ca))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x37d))['option'](a2_0x47b95f(0x345),a2_0x47b95f(0x205))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x2a6),a2_0x47b95f(0x3de))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1aa),a2_0x47b95f(0x2aa))[a2_0x47b95f(0x25c)]('--no-eval','Generate\x20test\x20conversations\x20without\x20evaluation')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x37b),'Re-evaluate\x20last\x20test\x20run\x20with\x20updated\x20criteria')['action'](async(_0x3bd032,_0x2b08e4)=>{const _0x5984b2=a2_0x47b95f,_0x2da9dc=new AgentTestCommand(),_0x2bfcc5=program[_0x5984b2(0x439)](),_0x33bc5f=await createTDXInstance(_0x2bfcc5),_0x503bc0=await _0x2da9dc[_0x5984b2(0x41e)]({'options':{..._0x2bfcc5,..._0x2b08e4},'args':_0x3bd032?[_0x3bd032]:[],'tdx':_0x33bc5f});gracefulExit(_0x503bc0);}),agentSyncCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x272))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x3e7))[a2_0x47b95f(0x3b6)](llmAgentListAction),agentSyncCmd['command'](a2_0x47b95f(0x276))[a2_0x47b95f(0x3db)](a2_0x47b95f(0x373))[a2_0x47b95f(0x3b6)](async(_0x154c7f,_0x3f88d6)=>{const _0x495303=a2_0x47b95f,_0x5e0eb2=new LLMAgentShowCommand(),_0x1038a8=program[_0x495303(0x439)](),_0x2ef77b=await createTDXInstance(_0x1038a8),_0x373b9a=await _0x5e0eb2[_0x495303(0x41e)]({'options':{..._0x1038a8,..._0x3f88d6},'args':[_0x154c7f],'tdx':_0x2ef77b});gracefulExit(_0x373b9a);}),agentSyncCmd[a2_0x47b95f(0x2c9)]('create\x20<name>')[a2_0x47b95f(0x3db)]('Create\x20a\x20new\x20agent\x20in\x20current\x20project')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x1d7),a2_0x47b95f(0x395))[a2_0x47b95f(0x25c)]('--model\x20<name>','Model\x20type\x20(default:\x20claude-4.5-sonnet)',a2_0x47b95f(0x327))[a2_0x47b95f(0x25c)]('--starter-message\x20<text>',a2_0x47b95f(0x1b1))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x293),a2_0x47b95f(0x3b9),'4')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x313),'Temperature\x20(0.0-2.0,\x20default:\x200.7)',a2_0x47b95f(0x420))[a2_0x47b95f(0x3b6)](async(_0x1417b9,_0x4a681b)=>{const _0x2bd54a=new LLMAgentCreateCommand(),_0x2510f8=program['opts'](),_0x38be52=await createTDXInstance(_0x2510f8),_0x1bd47e=await _0x2bd54a['run']({'options':{..._0x2510f8,..._0x4a681b},'args':[_0x1417b9],'tdx':_0x38be52});gracefulExit(_0x1bd47e);}),agentSyncCmd[a2_0x47b95f(0x2c9)]('update\x20<agent-name>')['description'](a2_0x47b95f(0x344))['option'](a2_0x47b95f(0x39e),a2_0x47b95f(0x3cd))['option'](a2_0x47b95f(0x3b4),a2_0x47b95f(0x429))[a2_0x47b95f(0x25c)](a2_0x47b95f(0x3d7),'Agent\x20description')[a2_0x47b95f(0x25c)](a2_0x47b95f(0x43c),'Starter\x20message')[a2_0x47b95f(0x3b6)](async(_0x374f91,_0x345a18)=>{const _0x577283=a2_0x47b95f,_0x41a068=new LLMAgentUpdateCommand(),_0x171e36=program[_0x577283(0x439)](),_0x39ce63=await createTDXInstance(_0x171e36),_0x9093d7=await _0x41a068[_0x577283(0x41e)]({'options':{..._0x171e36,..._0x345a18},'args':[_0x374f91],'tdx':_0x39ce63});gracefulExit(_0x9093d7);}),agentSyncCmd[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x3bc))[a2_0x47b95f(0x3db)]('Delete\x20an\x20agent')['action'](async(_0x4dd089,_0xdd7d)=>{const _0x2947f1=a2_0x47b95f,_0x220cb1=new LLMAgentDeleteCommand(),_0x3a2d02=program[_0x2947f1(0x439)](),_0x247ebd=await createTDXInstance(_0x3a2d02),_0x417847=await _0x220cb1[_0x2947f1(0x41e)]({'options':{..._0x3a2d02,..._0xdd7d},'args':[_0x4dd089],'tdx':_0x247ebd});gracefulExit(_0x417847);}),program[a2_0x47b95f(0x2c9)](a2_0x47b95f(0x1b5),{'hidden':!![]})[a2_0x47b95f(0x3b6)](()=>{const _0x496e18=a2_0x47b95f;function _0x19d903(_0x3efc8b,_0x5ce788){const _0x3fddbb=a2_0x26e5,_0x4ba3a6=[];for(const _0x53dea0 of _0x3efc8b[_0x3fddbb(0x388)]){if(_0x53dea0['_hidden'])continue;const _0x5dec32=_0x5ce788?_0x5ce788+'\x20'+_0x53dea0[_0x3fddbb(0x273)]():_0x53dea0[_0x3fddbb(0x273)](),_0x530b82=_0x5dec32[_0x3fddbb(0x1ca)]('\x20')[0x0],_0x44808d=COMMAND_CATEGORIES[_0x3fddbb(0x288)](_0x1d68f5=>_0x1d68f5[_0x3fddbb(0x388)][_0x3fddbb(0x236)](_0x530b82)),_0x52e17c=_0x44808d?.[_0x3fddbb(0x273)]??'';if(_0x53dea0[_0x3fddbb(0x388)][_0x3fddbb(0x240)]>0x0)_0x4ba3a6['push'](..._0x19d903(_0x53dea0,_0x5dec32));else{const _0x5b3db6=(_0x53dea0[_0x3fddbb(0x227)]||[])[_0x3fddbb(0x1d2)](_0xd0c3f9=>{const _0xd77fa3=_0x3fddbb,_0x342cb4=_0xd0c3f9[_0xd77fa3(0x2d0)]?_0xd0c3f9[_0xd77fa3(0x273)]()+_0xd77fa3(0x32b):_0xd0c3f9['name']();return _0xd0c3f9[_0xd77fa3(0x425)]?'<'+_0x342cb4+'>':'['+_0x342cb4+']';})[_0x3fddbb(0x335)]('\x20'),_0x4bf2b2=_0x53dea0[_0x3fddbb(0x2fa)]['filter'](_0x135e35=>!_0x135e35[_0x3fddbb(0x3e8)]&&_0x135e35[_0x3fddbb(0x43b)]!==_0x3fddbb(0x3f3))[_0x3fddbb(0x1d2)](_0x4095a4=>({'flags':_0x4095a4[_0x3fddbb(0x24c)],'description':_0x4095a4[_0x3fddbb(0x3db)]}));_0x4ba3a6[_0x3fddbb(0x28e)]({'name':_0x5dec32,'description':_0x53dea0['description'](),'group':_0x52e17c,'usage':_0x5b3db6,'options':_0x4bf2b2});}}return _0x4ba3a6;}console[_0x496e18(0x320)](JSON['stringify'](_0x19d903(program,''))),process[_0x496e18(0x3f7)](0x0);});export{program};export function runCLI(){const _0x18d728=a2_0x47b95f,_0x3a72a3=!process[_0x18d728(0x212)]['slice'](0x2)[_0x18d728(0x240)];showBriefHelp=_0x3a72a3,program[_0x18d728(0x1ef)](process[_0x18d728(0x212)]);_0x3a72a3&&program['outputHelp']();if(process[_0x18d728(0x37f)][_0x18d728(0x3a6)]&&process[_0x18d728(0x212)][_0x18d728(0x240)]>0x2&&!isDevVersion()){const _0xbe7189=loadReleaseChannel();checkForUpdate(currentVersion,_0xbe7189)[_0x18d728(0x248)](_0x129b73=>{_0x129b73&&displayUpdateNotification(_0x129b73);})[_0x18d728(0x2ad)](()=>{});}}
|